File: iconv

package info (click to toggle)
libgnatcoll-python 21.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,088 kB
  • sloc: ada: 14,431; python: 1,493; ansic: 1,378; makefile: 173; sh: 94
file content (26 lines) | stat: -rw-r--r-- 397 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
set -C -e -f -u

cd "$AUTOPKGTEST_TMP"

cat > proc.adb <<EOF
with GNATCOLL.Iconv;
procedure Proc is
begin
   pragma Assert (GNATCOLL.Iconv.Has_Iconv);
end Proc;
EOF

cat > proj.gpr <<EOF
with "gnatcoll_iconv.gpr";
project Proj is
   for Main use ("proc.adb");
   package Compiler is
      for Switches ("Ada") use ("-gnata");
   end Compiler;
end Proj;
EOF

gprbuild -v proj.gpr

./proc