4 # provides configuration info for libpng.
6 # Copyright (C) 2002 Glenn Randers-Pehrson
7 # For conditions of distribution and use, see copyright notice in png.h
9 # Modeled after libxml-config.
22 prefix="/Users/darco/Projects/GTK/output"
23 I_opts="-I/Users/darco/Projects/GTK/output/include/libpng12"
24 L_opts="-L/Users/darco/Projects/GTK/output/lib"
30 Usage: libpng-config [OPTION] ...
32 Known values for OPTION are:
34 --prefix print libpng prefix
35 --libdir print path to directory containing library
36 --libs print library linking information
37 --ccopts print compiler options
38 --cppflags print pre-processor flags
39 --cflags print preprocessor flags, I_opts, and compiler options
40 --I_opts print "-I" include options
41 --L_opts print linker "-L" flags for dynamic linking
42 --R_opts print dynamic linker "-R" or "-rpath" flags
43 --ldopts print linker options
44 --ldflags print linker flags (ldopts, L_opts, R_opts, and libs)
45 --static revise subsequent outputs for static linking
46 --help print this help and exit
47 --version print version information
53 if test $# -eq 0; then
57 while test $# -gt 0; do
82 echo ${I_opts} ${cppflags} ${ccopts}
106 echo ${ldflags} ${L_opts} ${R_opts} ${libs}