2 # $Id: idzebra-config.in,v 1.10 2006-06-29 09:10:28 adam Exp $
5 exec_prefix=@exec_prefix@
13 idzebra_src_root=@IDZEBRA_SRC_ROOT@
14 idzebra_build_root=@IDZEBRA_BUILD_ROOT@
15 package_suffix=@PACKAGE_SUFFIX@
17 extralibs="@YAZLIB@ @TCL_LIB@ @EXPAT_LIBS@ @XSLT_LIBS@ @LIBS@ "
18 extralalibs="@YAZLALIB@ @TCL_LIB@ @EXPAT_LIBS@ @XSLT_LIBS@ @LIBS@"
23 Usage: idzebra-config [OPTIONS] [LIBRARIES]
36 if test $# -eq 0; then
41 while test $# -gt 0; do
43 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
51 libdir=${exec_prefix}/lib
90 if test -z "$modules"; then
91 modules="api rset recctrl dict isams isamc isamb data1 bfile dfa util"
96 if test "$m" = "api"; then
99 if test "$echo_source" = "yes"; then
100 IDZEBRALIB="$IDZEBRALIB -L${idzebra_build_root}/$d/.libs -lidzebra-$m"
101 IDZEBRALALIB="$IDZEBRALALIB ${idzebra_build_root}/$d/libidzebra-$m.la"
103 IDZEBRALIB="$IDZEBRALIB -lidzebra-$m"
107 if test "$echo_source" = "yes"; then
108 IDZEBRALIB="$IDZEBRALIB $extralibs"
109 IDZEBRALALIB="$IDZEBRALALIB $extralalibs"
110 IDZEBRAINC="$IDZEBRAINC -I${idzebra_src_root}/include"
111 IDZEBRATAB="${idzebra_src_root}/tab"
112 IDZEBRAMOD="${idzebra_src_root}/recctrl"
114 IDZEBRALIB="-L${libdir}/idzebra${package_suffix} $IDZEBRALIB $extralibs"
115 IDZEBRALALIB="$IDZEBRALIB"
116 IDZEBRAINC="$IDZEBRAINC -I${prefix}/include/idzebra${package_suffix}"
117 IDZEBRATAB="@datarootdir@/idzebra${package_suffix}/tab"
118 IDZEBRAMOD="${libdir}/idzebra${package_suffix}/modules"
121 if test "$echo_help" = "yes"; then
124 if test "$echo_cflags" = "yes"; then
127 if test "$echo_libs" = "yes"; then
130 if test "$echo_lalibs" = "yes"; then
133 if test "$echo_tab" = "yes"; then
136 if test "$echo_modules" = "yes"; then