Changeset 18214 for gsdl/trunk/common-src/configure
- Timestamp:
- 2008-12-16T15:52:32+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/common-src/configure
r16595 r18214 311 311 312 312 ac_subdirs_all="$ac_subdirs_all packages indexers" 313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDEgsdlos MODULEDIRS subdirs LTLIBOBJS'313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 314 314 ac_subst_files='' 315 315 … … 865 865 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 866 866 --with-micodir Use installed MICO directory 867 --with-gdbm=dir Use local gdbm library and headers868 867 --with-dmalloc use dmalloc, as in 869 868 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz … … 1410 1409 1411 1410 1412 1413 # Check whether --with-gdbm or --without-gdbm was given.1414 if test "${with_gdbm+set}" = set; then1415 withval="$with_gdbm"1416 gdbmdir=$withval1417 fi;1418 1419 1411 # Check whether --enable-accentfold or --disable-accentfold was given. 1420 1412 if test "${enable_accentfold+set}" = set; then … … 6816 6808 6817 6809 6818 6819 echo "$as_me:$LINENO: checking that the GDBM library is available" >&56820 echo $ECHO_N "checking that the GDBM library is available... $ECHO_C" >&66821 if test ! -z "$gdbmdir" ; then6822 # look in given directory for header file6823 if test -r $gdbmdir/include/gdbm.h ; then6824 GDBM_INCLUDE="-I$gdbmdir/include" ;6825 elif test -r $gdbmdir/gdbm.h ; then6826 GDBM_INCLUDE="-I$gdbmdir" ;6827 fi6828 6829 # look in given directory for library6830 if test -r $gdbmdir/libgdbm.a ; then6831 GDBM_LIBPATH="-L$gdbmdir" ;6832 elif test -r $gdbmdir/lib/libgdbm.a ; then6833 GDBM_LIBPATH="-L$gdbmdir/lib" ;6834 elif test -r $gdbmdir/.libs/libgdbm.a ; then6835 GDBM_LIBPATH="-L$gdbmdir/.libs" ;6836 fi6837 6838 if test ! -z "$GDBM_LIBPATH" -a ! -z "$GDBM_INCLUDE" ; then6839 echo "$as_me:$LINENO: result: $gdbmdir" >&56840 echo "${ECHO_T}$gdbmdir" >&6 ;6841 else6842 echo "$as_me:$LINENO: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&56843 echo "${ECHO_T}can't find gdbm.h and libgdbm.a in $gdbmdir" >&6;6844 echo "$as_me:$LINENO: checking looking for GDBM library in default locations" >&56845 echo $ECHO_N "checking looking for GDBM library in default locations... $ECHO_C" >&66846 fi6847 fi6848 6849 # look in default path and in /usr/local6850 if test -z "$GDBM_INCLUDE" ; then6851 # try in system directory6852 6853 cat >conftest.$ac_ext <<_ACEOF6854 /* confdefs.h. */6855 _ACEOF6856 cat confdefs.h >>conftest.$ac_ext6857 cat >>conftest.$ac_ext <<_ACEOF6858 /* end confdefs.h. */6859 #include <gdbm.h>6860 6861 int6862 main ()6863 {6864 6865 ;6866 return 0;6867 }6868 _ACEOF6869 rm -f conftest.$ac_objext6870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56871 (eval $ac_compile) 2>conftest.er16872 ac_status=$?6873 grep -v '^ *+' conftest.er1 >conftest.err6874 rm -f conftest.er16875 cat conftest.err >&56876 echo "$as_me:$LINENO: \$? = $ac_status" >&56877 (exit $ac_status); } &&6878 { ac_try='test -z "$ac_cxx_werror_flag"6879 || test ! -s conftest.err'6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56881 (eval $ac_try) 2>&56882 ac_status=$?6883 echo "$as_me:$LINENO: \$? = $ac_status" >&56884 (exit $ac_status); }; } &&6885 { ac_try='test -s conftest.$ac_objext'6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56887 (eval $ac_try) 2>&56888 ac_status=$?6889 echo "$as_me:$LINENO: \$? = $ac_status" >&56890 (exit $ac_status); }; }; then6891 success=yes6892 else6893 echo "$as_me: failed program was:" >&56894 sed 's/^/| /' conftest.$ac_ext >&56895 6896 success=no6897 6898 fi6899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6900 6901 if test $success = "no"; then6902 # last chance - look in /usr/local (eg FreeBSD)6903 GDBM_LIBPATH=-L/usr/local/lib6904 GDBM_INCLUDE=-I/usr/local/include6905 ac_save_CXXFLAGS="$CXXFLAGS"6906 ac_save_LIBS="$LIBS"6907 CXXFLAGS="$CXXFLAGS -I/usr/local/include"6908 LIBS="$LIBS -L/usr/local/lib -lgdbm"6909 cat >conftest.$ac_ext <<_ACEOF6910 /* confdefs.h. */6911 _ACEOF6912 cat confdefs.h >>conftest.$ac_ext6913 cat >>conftest.$ac_ext <<_ACEOF6914 /* end confdefs.h. */6915 #include <gdbm.h>6916 #include <stdio.h>6917 6918 int6919 main ()6920 {6921 printf("%s",gdbm_version);6922 ;6923 return 0;6924 }6925 _ACEOF6926 rm -f conftest.$ac_objext conftest$ac_exeext6927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56928 (eval $ac_link) 2>conftest.er16929 ac_status=$?6930 grep -v '^ *+' conftest.er1 >conftest.err6931 rm -f conftest.er16932 cat conftest.err >&56933 echo "$as_me:$LINENO: \$? = $ac_status" >&56934 (exit $ac_status); } &&6935 { ac_try='test -z "$ac_cxx_werror_flag"6936 || test ! -s conftest.err'6937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56938 (eval $ac_try) 2>&56939 ac_status=$?6940 echo "$as_me:$LINENO: \$? = $ac_status" >&56941 (exit $ac_status); }; } &&6942 { ac_try='test -s conftest$ac_exeext'6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56944 (eval $ac_try) 2>&56945 ac_status=$?6946 echo "$as_me:$LINENO: \$? = $ac_status" >&56947 (exit $ac_status); }; }; then6948 success=/usr/local6949 else6950 echo "$as_me: failed program was:" >&56951 sed 's/^/| /' conftest.$ac_ext >&56952 6953 success=no6954 6955 fi6956 rm -f conftest.err conftest.$ac_objext \6957 conftest$ac_exeext conftest.$ac_ext6958 CXXFLAGS=$ac_save_CXXFLAGS6959 LIBS=$ac_save_LIBS6960 fi6961 6962 echo "$as_me:$LINENO: result: $success" >&56963 echo "${ECHO_T}$success" >&66964 if test $success = "no"; then6965 { { echo "$as_me:$LINENO: error: GDBM Library not available - cannot install" >&56966 echo "$as_me: error: GDBM Library not available - cannot install" >&2;}6967 { (exit 1); exit 1; }; }6968 fi6969 fi6970 cat >>confdefs.h <<\_ACEOF6971 #define HAVE_LIBGDBM 16972 _ACEOF6973 6974 6975 6976 6977 6978 6810 success=no 6979 6811 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 6980 6812 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 6813 6981 6814 6982 6815 cat >conftest.$ac_ext <<_ACEOF … … 8092 7925 s,@LIBOBJS@,$LIBOBJS,;t t 8093 7926 s,@STATIC@,$STATIC,;t t 8094 s,@GDBM_LIBPATH@,$GDBM_LIBPATH,;t t8095 s,@GDBM_INCLUDE@,$GDBM_INCLUDE,;t t8096 7927 s,@gsdlos@,$gsdlos,;t t 8097 7928 s,@MODULEDIRS@,$MODULEDIRS,;t t
Note:
See TracChangeset
for help on using the changeset viewer.