Changeset 21445
- Timestamp:
- 2010-01-12T14:01:41+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gs2runtime/configure
r16613 r21445 310 310 311 311 ac_subdirs_all="$ac_subdirs_all common-src runtime-src" 312 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'312 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' 313 313 ac_subst_files='' 314 314 … … 864 864 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 865 865 --with-micodir Use installed MICO directory 866 --with-gdbm=dir Use local gdbm library and headers867 866 --with-dmalloc use dmalloc, as in 868 867 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz … … 1406 1405 1407 1406 1408 1409 # Check whether --with-gdbm or --without-gdbm was given.1410 if test "${with_gdbm+set}" = set; then1411 withval="$with_gdbm"1412 gdbmdir=$withval1413 fi;1414 1415 1407 # Check whether --enable-accentfold or --disable-accentfold was given. 1416 1408 if test "${enable_accentfold+set}" = set; then … … 6812 6804 6813 6805 6814 6815 echo "$as_me:$LINENO: checking that the GDBM library is available" >&56816 echo $ECHO_N "checking that the GDBM library is available... $ECHO_C" >&66817 if test ! -z "$gdbmdir" ; then6818 # look in given directory for header file6819 if test -r $gdbmdir/include/gdbm.h ; then6820 GDBM_INCLUDE="-I$gdbmdir/include" ;6821 elif test -r $gdbmdir/gdbm.h ; then6822 GDBM_INCLUDE="-I$gdbmdir" ;6823 fi6824 6825 # look in given directory for library6826 if test -r $gdbmdir/libgdbm.a ; then6827 GDBM_LIBPATH="-L$gdbmdir" ;6828 elif test -r $gdbmdir/lib/libgdbm.a ; then6829 GDBM_LIBPATH="-L$gdbmdir/lib" ;6830 elif test -r $gdbmdir/.libs/libgdbm.a ; then6831 GDBM_LIBPATH="-L$gdbmdir/.libs" ;6832 fi6833 6834 if test ! -z "$GDBM_LIBPATH" -a ! -z "$GDBM_INCLUDE" ; then6835 echo "$as_me:$LINENO: result: $gdbmdir" >&56836 echo "${ECHO_T}$gdbmdir" >&6 ;6837 else6838 echo "$as_me:$LINENO: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&56839 echo "${ECHO_T}can't find gdbm.h and libgdbm.a in $gdbmdir" >&6;6840 echo "$as_me:$LINENO: checking looking for GDBM library in default locations" >&56841 echo $ECHO_N "checking looking for GDBM library in default locations... $ECHO_C" >&66842 fi6843 fi6844 6845 # look in default path and in /usr/local6846 if test -z "$GDBM_INCLUDE" ; then6847 # try in system directory6848 6849 cat >conftest.$ac_ext <<_ACEOF6850 /* confdefs.h. */6851 _ACEOF6852 cat confdefs.h >>conftest.$ac_ext6853 cat >>conftest.$ac_ext <<_ACEOF6854 /* end confdefs.h. */6855 #include <gdbm.h>6856 6857 int6858 main ()6859 {6860 6861 ;6862 return 0;6863 }6864 _ACEOF6865 rm -f conftest.$ac_objext6866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&56867 (eval $ac_compile) 2>conftest.er16868 ac_status=$?6869 grep -v '^ *+' conftest.er1 >conftest.err6870 rm -f conftest.er16871 cat conftest.err >&56872 echo "$as_me:$LINENO: \$? = $ac_status" >&56873 (exit $ac_status); } &&6874 { ac_try='test -z "$ac_cxx_werror_flag"6875 || test ! -s conftest.err'6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56877 (eval $ac_try) 2>&56878 ac_status=$?6879 echo "$as_me:$LINENO: \$? = $ac_status" >&56880 (exit $ac_status); }; } &&6881 { ac_try='test -s conftest.$ac_objext'6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56883 (eval $ac_try) 2>&56884 ac_status=$?6885 echo "$as_me:$LINENO: \$? = $ac_status" >&56886 (exit $ac_status); }; }; then6887 success=yes6888 else6889 echo "$as_me: failed program was:" >&56890 sed 's/^/| /' conftest.$ac_ext >&56891 6892 success=no6893 6894 fi6895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext6896 6897 if test $success = "no"; then6898 # last chance - look in /usr/local (eg FreeBSD)6899 GDBM_LIBPATH=-L/usr/local/lib6900 GDBM_INCLUDE=-I/usr/local/include6901 ac_save_CXXFLAGS="$CXXFLAGS"6902 ac_save_LIBS="$LIBS"6903 CXXFLAGS="$CXXFLAGS -I/usr/local/include"6904 LIBS="$LIBS -L/usr/local/lib -lgdbm"6905 cat >conftest.$ac_ext <<_ACEOF6906 /* confdefs.h. */6907 _ACEOF6908 cat confdefs.h >>conftest.$ac_ext6909 cat >>conftest.$ac_ext <<_ACEOF6910 /* end confdefs.h. */6911 #include <gdbm.h>6912 #include <stdio.h>6913 6914 int6915 main ()6916 {6917 printf("%s",gdbm_version);6918 ;6919 return 0;6920 }6921 _ACEOF6922 rm -f conftest.$ac_objext conftest$ac_exeext6923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&56924 (eval $ac_link) 2>conftest.er16925 ac_status=$?6926 grep -v '^ *+' conftest.er1 >conftest.err6927 rm -f conftest.er16928 cat conftest.err >&56929 echo "$as_me:$LINENO: \$? = $ac_status" >&56930 (exit $ac_status); } &&6931 { ac_try='test -z "$ac_cxx_werror_flag"6932 || test ! -s conftest.err'6933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56934 (eval $ac_try) 2>&56935 ac_status=$?6936 echo "$as_me:$LINENO: \$? = $ac_status" >&56937 (exit $ac_status); }; } &&6938 { ac_try='test -s conftest$ac_exeext'6939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&56940 (eval $ac_try) 2>&56941 ac_status=$?6942 echo "$as_me:$LINENO: \$? = $ac_status" >&56943 (exit $ac_status); }; }; then6944 success=/usr/local6945 else6946 echo "$as_me: failed program was:" >&56947 sed 's/^/| /' conftest.$ac_ext >&56948 6949 success=no6950 6951 fi6952 rm -f conftest.err conftest.$ac_objext \6953 conftest$ac_exeext conftest.$ac_ext6954 CXXFLAGS=$ac_save_CXXFLAGS6955 LIBS=$ac_save_LIBS6956 fi6957 6958 echo "$as_me:$LINENO: result: $success" >&56959 echo "${ECHO_T}$success" >&66960 if test $success = "no"; then6961 { { echo "$as_me:$LINENO: error: GDBM Library not available - cannot install" >&56962 echo "$as_me: error: GDBM Library not available - cannot install" >&2;}6963 { (exit 1); exit 1; }; }6964 fi6965 fi6966 cat >>confdefs.h <<\_ACEOF6967 #define HAVE_LIBGDBM 16968 _ACEOF6969 6970 6971 6972 6973 6974 6806 success=no 6975 6807 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 6976 6808 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 6809 6977 6810 6978 6811 cat >conftest.$ac_ext <<_ACEOF … … 7392 7225 moduleDirs="" 7393 7226 MODULEDIRS="" 7394 if -d modules; then7227 if test -d modules ; then 7395 7228 for x in `find modules -mindepth 1 -maxdepth 2`; do 7396 7229 if test -d "$x"; then … … 8085 7918 s,@LIBOBJS@,$LIBOBJS,;t t 8086 7919 s,@STATIC@,$STATIC,;t t 8087 s,@GDBM_LIBPATH@,$GDBM_LIBPATH,;t t8088 s,@GDBM_INCLUDE@,$GDBM_INCLUDE,;t t8089 7920 s,@gsdlos@,$gsdlos,;t t 8090 7921 s,@MODULEDIRS@,$MODULEDIRS,;t t
Note:
See TracChangeset
for help on using the changeset viewer.