preparing release 2.0.0
[idzebra-moved-to-github.git] / idzebra-config.in
index 1fbdbb5..0018cfd 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.8 2006-06-13 15:10:43 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
            ;;
@@ -107,7 +111,7 @@ else
     fi
     IDZEBRALIB="$IDZEBRALIB $extralibs"
     IDZEBRALALIB="$IDZEBRALIB"
-    IDZEBRATAB="@datadir@/idzebra/tab"
+    IDZEBRATAB="@datarootdir@/idzebra/tab"
 fi
 
 if test "$idzebra_echo_help" = "yes"; then
@@ -125,3 +129,11 @@ fi
 if test "$idzebra_echo_tab" = "yes"; then
     echo $IDZEBRATAB
 fi
+if test "$idzebra_echo_modules" = "yes"; then
+    echo "${prefix}/lib/idzebra"
+fi
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End: