4 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@ @LIBS@ "
18 extralalibs="@YAZLALIB@ @TCL_LIB@ @EXPAT_LIBS@ @LIBS@"
23 Usage: idzebra-config [OPTIONS] [LIBRARIES]
36 if test $# -eq 0; then
40 while test $# -gt 0; do
42 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
50 libdir=${exec_prefix}/lib
79 echo "$0: unsupported argument"
87 IDZEBRAINC="@ZEBRA_CFLAGS@ @YAZINC@"
89 if test "$echo_source" = "yes"; then
90 IDZEBRALIB="-L${idzebra_build_root}/index/.libs -lidzebra${package_suffix}"
91 IDZEBRALALIB="${idzebra_build_root}/index/libidzebra${package_suffix}.la"
92 IDZEBRALIB="$IDZEBRALIB $extralibs"
93 IDZEBRALALIB="$IDZEBRALALIB $extralalibs"
94 IDZEBRAINC="$IDZEBRAINC -I${idzebra_src_root}/include"
95 IDZEBRATAB="${idzebra_src_root}/tab"
96 IDZEBRAMOD="${idzebra_src_root}/recctrl"
98 IDZEBRALIB="-lidzebra${package_suffix}"
99 if test "$libdir" != "/usr/lib"; then
100 IDZEBRALIB="-L${libdir} $IDZEBRALIB"
102 IDZEBRALIB="$IDZEBRALIB $extralibs"
103 IDZEBRALALIB="$IDZEBRALIB"
104 IDZEBRAINC="$IDZEBRAINC -I${prefix}/include/idzebra${package_suffix}"
105 IDZEBRATAB="@datarootdir@/idzebra${package_suffix}/tab"
106 IDZEBRAMOD="${libdir}/idzebra${package_suffix}/modules"
109 if test "$echo_help" = "yes"; then
112 if test "$echo_cflags" = "yes"; then
115 if test "$echo_libs" = "yes"; then
118 if test "$echo_lalibs" = "yes"; then
121 if test "$echo_tab" = "yes"; then
124 if test "$echo_modules" = "yes"; then