Added modules location to be returned.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Aug 2005 08:58:18 +0000 (08:58 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 9 Aug 2005 08:58:18 +0000 (08:58 +0000)
idzebra-config.in

index 1fbdbb5..d4c0ce3 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: idzebra-config.in,v 1.5 2005-05-03 12:31:28 adam Exp $
+# $Id: idzebra-config.in,v 1.6 2005-08-09 08:58:18 adam Exp $
 prefix=@prefix@
 idzebra_echo_cflags=no
 idzebra_echo_libs=no
@@ -25,6 +25,7 @@ Options:
        [--lalibs]
        [--cflags]
        [--tab]
+       [--modules]
 EOF
     exit $1
 }
@@ -61,6 +62,9 @@ while test $# -gt 0; do
        --tab)
            idzebra_echo_tab=yes
            ;;
+       --modules)
+           idzebra_echo_modules=yes
+           ;;
        --lalibs)
            idzebra_echo_lalibs=yes
            ;;
@@ -125,3 +129,6 @@ fi
 if test "$idzebra_echo_tab" = "yes"; then
     echo $IDZEBRATAB
 fi
+if test "$idzebra_echo_modules" = "yes"; then
+    echo "${prefix}/lib/idzebra"
+fi