Debian Codegraph @

src/util/ecl-config

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # @configure_input@
3
4 usagescip-shell shell ecl 24.5.10.20250914.git294da20+dfsg-3 usage().()
5 {
6 catscip-shell system . . cat. <<EOF
7 Usage: $0 [OPTIONS] [LIBS]
8 Options:
9 [--cflags]
10 [--libs|--ldflags]
11 Libs:
12 cmp
13 EOF
14 }
15
16 LDFLAGS="-lecl"
17 for i in $*; do
18 case $i in
19 --cflags|-c)
20 echo_cflags=yes
21 ;;
22 --libs|--ldflags|-l)
23 echo_ldflags=yes
24 ;;
25 cmp)
26 LDFLAGS="$LDFLAGS -lcmp"
27 ;;
28 *)
29 usagescip-shell shell ecl 24.5.10.20250914.git294da20+dfsg-3 usage(). 1 >&2
30 ;;
31 esac;
32 done
33
34 if testscip-shell system . . test. "$echo_cflags" = "yes"; then
35 echoscip-shell system . . echo. "@ECL_CFLAGS@ @GMP_CPPFLAGS@ @DEBUG_CFLAGS@ -I@includedir\@"
36 fi
37
38 if testscip-shell system . . test. "$echo_ldflags" = "yes"; then
39 echoscip-shell system . . echo. "@ECL_LDRPATH@ -L@libdir\@ $LDFLAGS @LDFLAGS@ @GMP_LDFLAGS@ @LIBS@"
40 fi