summaryrefslogtreecommitdiff
path: root/gphoto2-config.in
diff options
context:
space:
mode:
authorLutz Mueller <lutz@users.sourceforge.net>2001-12-07 08:53:53 +0000
committerLutz Mueller <lutz@users.sourceforge.net>2001-12-07 08:53:53 +0000
commit7f837e4ea1b3cb66d81723cef24a83f9a1d2a0ea (patch)
tree27402a6e72d9db2e21337528af3bec09aae3b3fd /gphoto2-config.in
parent7da8eec3c0488cb4436e574c2c994e87e6ce212e (diff)
downloadlibgphoto2-7f837e4ea1b3cb66d81723cef24a83f9a1d2a0ea.tar.gz
Some autoconf clean-up.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3425 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'gphoto2-config.in')
-rw-r--r--gphoto2-config.in12
1 files changed, 4 insertions, 8 deletions
diff --git a/gphoto2-config.in b/gphoto2-config.in
index 38da5de8c..b35d158b8 100644
--- a/gphoto2-config.in
+++ b/gphoto2-config.in
@@ -1,9 +1,5 @@
#! /bin/sh
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-includedir=@includedir@
-
usage()
{
cat <<EOF
@@ -11,7 +7,7 @@ Usage: gphoto2-config [OPTION]
Known values for OPTION are:
- --prefix=DIR change libgpio prefix [default $prefix]
+ --prefix=DIR change libgpio prefix [default @prefix@]
--libs print library linking information
--cflags print pre-processor and compiler flags
--help display this help and exit
@@ -40,7 +36,7 @@ while test $# -gt 0; do
;;
--prefix)
- echo $prefix
+ echo @prefix@
;;
--version)
@@ -53,11 +49,11 @@ while test $# -gt 0; do
;;
--cflags)
- echo -I@prefix@/include/gphoto2 -I@prefix@/include
+ echo -I@includedir@/gphoto2 -I@includedir@
;;
--libs)
- echo -L@libdir@ -lgphoto2
+ echo -L@libdir@ -lgphoto2 -lm
;;
*)