3 # leave these definitions here
4 # they are required for correct interpolation of
5 # @libdir@ and @includedir@ later on
7 exec_prefix="@exec_prefix@"
12 Usage: gphoto2-config [OPTION]
14 Known values for OPTION are:
16 --prefix=DIR change libgphoto2 prefix [default ${prefix}]
17 --libs print library linking information
18 --cflags print pre-processor and compiler flags
19 --help display this help and exit
20 --version output version information
26 if test $# -eq 0; then
33 while test $# -gt 0; do
35 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
49 echo "@PACKAGE@" "@VERSION@"
58 echo "-I@includedir@/gphoto2"
62 echo "-L@libdir@" -lgphoto2 -lgphoto2_port -lm