made it work again

git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3432 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
Hans Ulrich Niedermann
2001-12-07 16:07:36 +00:00
parent bb5af4c1c6
commit 79fb3aba45
2 changed files with 16 additions and 7 deletions

View File

@@ -1,5 +1,8 @@
#! /bin/sh
# leave these definitions here
# they are required for correct interpolation of
# @libdir@ and @includedir@ later on
prefix="@prefix@"
exec_prefix="@exec_prefix@"
@@ -39,7 +42,7 @@ while test $# -gt 0; do
;;
--prefix)
echo "${prefix}"
echo "@prefix@"
;;
--version)

View File

@@ -1,5 +1,11 @@
#! /bin/sh
# leave these definitions here
# they are required for correct interpolation of
# @libdir@ and @includedir@ later on
prefix="@prefix@"
exec_prefix="@exec_prefix@"
usage()
{
cat <<EOF
@@ -7,7 +13,7 @@ Usage: gphoto2-port-config [OPTION]
Known values for OPTION are:
--prefix=DIR change libgphoto2-port prefix [default @prefix@]
--prefix=DIR change libgphoto2-port prefix [default ${prefix}]
--libs print library linking information
--cflags print pre-processor and compiler flags
--help display this help and exit
@@ -32,15 +38,15 @@ while test $# -gt 0; do
case "$1" in
--prefix=*)
prefix=$optarg
prefix="$optarg"
;;
--prefix)
echo @prefix@
echo "@prefix@"
;;
--version)
echo @PACKAGE@ @VERSION@
echo "@PACKAGE@" "@VERSION@"
exit 0
;;
@@ -49,11 +55,11 @@ while test $# -gt 0; do
;;
--cflags)
echo -I@includedir@/gphoto2 -I@includedir@
echo "-I@includedir@/gphoto2" "-I@includedir@"
;;
--libs)
echo -L@libdir@
echo "-L@libdir@"
;;
*)