]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/png/scripts/libpng-config-body.in
extending calculation of visible region
[wxWidgets.git] / src / png / scripts / libpng-config-body.in
... / ...
CommitLineData
1
2usage()
3{
4 cat <<EOF
5Usage: libpng-config [OPTION] ...
6
7Known values for OPTION are:
8
9 --prefix print libpng prefix
10 --libs print library linking information
11 --cflags print compiler flags
12 --cppflags print pre-processor flags
13 --ldflags print loader flags
14 --rpath print path to shared library
15 --help display this help and exit
16 --version output version information
17EOF
18
19 exit $1
20}
21
22if test $# -eq 0; then
23 usage 1
24fi
25
26while test $# -gt 0; do
27 case "$1" in
28
29 --prefix)
30 echo ${prefix}
31 ;;
32
33 --version)
34 echo ${version}
35 exit 0
36 ;;
37
38 --help)
39 usage 0
40 ;;
41
42 --cflags)
43 echo ${cflags}
44 ;;
45
46 --cppflags)
47 echo ${cppflags}
48 ;;
49
50 --libs)
51 echo ${libs}
52 ;;
53
54 --rpath)
55 echo ${rpath}
56 ;;
57
58 --ldflags)
59 echo ${ldflags}
60 ;;
61
62 *)
63 usage
64 exit 1
65 ;;
66 esac
67 shift
68done
69
70exit 0