Debian Codegraph @

build/mingw/libusb-win32/libusb-config

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 prefix=/mingwscip-shell filesystem . . `/mingw`.
4 exec_prefix=${prefix}
5 exec_prefix_set=no
6
7 usagescip-shell shell shell-project 0.0.0 usage().()
8 {
9 catscip-shell system . . cat. <<EOF
10 Usage: libusb-config [OPTIONS] [LIBRARIES]
11 Options:
12 [--prefix[=DIR]]
13 [--exec-prefix[=DIR]]
14 [--version]
15 [--libs]
16 [--cflags]
17 EOF
18 exit $1
19 }
20
21 if testscip-shell system . . test. $# -eq 0; then
22 usagescip-shell shell shell-project 0.0.0 usage(). 1 1>&2
23 fi
24
25 while testscip-shell system . . test. $# -gt 0; do
26 case "$1" in
27 -*=*) optarg=`echoscip-shell system . . echo. "$1" | sedscip-shell system . . sed. 's/[-_a-zA-Z0-9]*=//'` ;;
28 *) optarg= ;;
29 esac
30
31 case $1 in
32 --prefix=*)
33 prefix=$optarg
34 if testscip-shell system . . test. $exec_prefix_set = no ; then
35 exec_prefix=$optarg
36 fi
37 ;;
38 --prefix)
39 echo_prefix=yes
40 ;;
41 --exec-prefix=*)
42 exec_prefix=$optarg
43 exec_prefix_set=yes
44 ;;
45 --exec-prefix)
46 echo_exec_prefix=yes
47 ;;
48 --version)
49 echoscip-shell system . . echo. 0.1.12
50 exit 0
51 ;;
52 --cflags)
53 if testscip-shell system . . test. "${prefix}/include" != /usr/includescip-shell filesystem . . `/usr/include`. ; then
54 includes="-I${prefix}/include"
55 fi
56 echo_cflags=yes
57 ;;
58 --libs)
59 echo_libs=yes
60 ;;
61 *)
62 usagescip-shell shell shell-project 0.0.0 usage(). 1 1>&2
63 ;;
64 esac
65 shift
66 done
67
68 if testscip-shell system . . test. "$echo_prefix" = "yes"; then
69 echoscip-shell system . . echo. $prefix
70 fi
71 if testscip-shell system . . test. "$echo_exec_prefix" = "yes"; then
72 echoscip-shell system . . echo. $exec_prefix
73 fi
74 if testscip-shell system . . test. "$echo_cflags" = "yes"; then
75 echoscip-shell system . . echo. $includes
76 fi
77 if testscip-shell system . . test. "$echo_libs" = "yes"; then
78 echoscip-shell system . . echo. -L${exec_prefix}/lib -lusb
79 fi