- Timestamp:
- 2008-07-30T11:23:44+12:00 (15 years ago)
- Location:
- gs2build
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2build/configure
r16589 r16598 310 310 311 311 ac_subdirs_all="$ac_subdirs_all common-src build-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 ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDE gsdlos 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 GDBM_LIBPATH GDBM_INCLUDE gsdlos MODULEDIRS subdirs LTLIBOBJS' 313 313 ac_subst_files='' 314 314 … … 865 865 --with-micodir Use installed MICO directory 866 866 --with-gdbm=dir Use local gdbm library and headers 867 --with-dmalloc use dmalloc, as in 868 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz 869 --with-regex use older regex in lieu of GNU rx for matching 867 870 868 871 Some influential environment variables: … … 3979 3982 fi 3980 3983 3981 fp_C_PROTOTYPES 3984 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 3985 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 3986 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3987 echo $ECHO_N "(cached) $ECHO_C" >&6 3988 else 3989 ac_cv_prog_cc_stdc=no 3990 ac_save_CFLAGS="$CFLAGS" 3991 # Don't try gcc -ansi; that turns off useful extensions and 3992 # breaks some systems' header files. 3993 # AIX -qlanglvl=ansi 3994 # Ultrix and OSF/1 -std1 3995 # HP-UX -Aa -D_HPUX_SOURCE 3996 # SVR4 -Xc 3997 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc 3998 do 3999 CFLAGS="$ac_save_CFLAGS $ac_arg" 4000 cat >conftest.$ac_ext <<_ACEOF 4001 /* confdefs.h. */ 4002 _ACEOF 4003 cat confdefs.h >>conftest.$ac_ext 4004 cat >>conftest.$ac_ext <<_ACEOF 4005 /* end confdefs.h. */ 4006 #if !defined(__STDC__) || __STDC__ != 1 4007 choke me 4008 #endif 4009 4010 int 4011 main () 4012 { 4013 int test (int i, double x); 4014 struct s1 {int (*f) (int a);}; 4015 struct s2 {int (*f) (double a);}; 4016 ; 4017 return 0; 4018 } 4019 _ACEOF 4020 rm -f conftest.$ac_objext 4021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4022 (eval $ac_compile) 2>conftest.er1 4023 ac_status=$? 4024 grep -v '^ *+' conftest.er1 >conftest.err 4025 rm -f conftest.er1 4026 cat conftest.err >&5 4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4028 (exit $ac_status); } && 4029 { ac_try='test -z "$ac_c_werror_flag" 4030 || test ! -s conftest.err' 4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4032 (eval $ac_try) 2>&5 4033 ac_status=$? 4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4035 (exit $ac_status); }; } && 4036 { ac_try='test -s conftest.$ac_objext' 4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4038 (eval $ac_try) 2>&5 4039 ac_status=$? 4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4041 (exit $ac_status); }; }; then 4042 ac_cv_prog_cc_stdc="$ac_arg"; break 4043 else 4044 echo "$as_me: failed program was:" >&5 4045 sed 's/^/| /' conftest.$ac_ext >&5 4046 4047 fi 4048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4049 done 4050 CFLAGS="$ac_save_CFLAGS" 4051 4052 fi 4053 4054 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4055 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4056 case "x$ac_cv_prog_cc_stdc" in 4057 x|xno) ;; 4058 *) CC="$CC $ac_cv_prog_cc_stdc" ;; 4059 esac 4060 4061 4062 echo "$as_me:$LINENO: checking for function prototypes" >&5 4063 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4064 if test "$ac_cv_prog_cc_stdc" != no; then 4065 echo "$as_me:$LINENO: result: yes" >&5 4066 echo "${ECHO_T}yes" >&6 4067 cat >>confdefs.h <<\_ACEOF 4068 #define PROTOTYPES 1 4069 _ACEOF 4070 4071 U= ANSI2KNR= 4072 else 4073 echo "$as_me:$LINENO: result: no" >&5 4074 echo "${ECHO_T}no" >&6 4075 U=_ ANSI2KNR=ansi2knr 4076 fi 4077 3982 4078 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3983 4079 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 … … 6529 6625 6530 6626 6531 fp_WITH_DMALLOC 6532 fp_WITH_REGEX 6627 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6628 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6629 6630 # Check whether --with-dmalloc or --without-dmalloc was given. 6631 if test "${with_dmalloc+set}" = set; then 6632 withval="$with_dmalloc" 6633 if test "$withval" = yes; then 6634 echo "$as_me:$LINENO: result: yes" >&5 6635 echo "${ECHO_T}yes" >&6 6636 cat >>confdefs.h <<\_ACEOF 6637 #define WITH_DMALLOC 1 6638 _ACEOF 6639 6640 LIBS="$LIBS -ldmalloc" 6641 LDFLAGS="$LDFLAGS -g" 6642 else 6643 echo "$as_me:$LINENO: result: no" >&5 6644 echo "${ECHO_T}no" >&6 6645 fi 6646 else 6647 echo "$as_me:$LINENO: result: no" >&5 6648 echo "${ECHO_T}no" >&6 6649 fi; 6650 6651 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6652 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6653 6654 # Check whether --with-regex or --without-regex was given. 6655 if test "${with_regex+set}" = set; then 6656 withval="$with_regex" 6657 if test "$withval" = yes; then 6658 ac_with_regex=1 6659 echo "$as_me:$LINENO: result: regex" >&5 6660 echo "${ECHO_T}regex" >&6 6661 cat >>confdefs.h <<\_ACEOF 6662 #define WITH_REGEX 1 6663 _ACEOF 6664 6665 case $LIBOBJS in 6666 "regex.$ac_objext" | \ 6667 *" regex.$ac_objext" | \ 6668 "regex.$ac_objext "* | \ 6669 *" regex.$ac_objext "* ) ;; 6670 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6671 esac 6672 6673 fi 6674 fi; 6675 if test -z "$ac_with_regex"; then 6676 echo "$as_me:$LINENO: result: rx" >&5 6677 echo "${ECHO_T}rx" >&6 6678 echo "$as_me:$LINENO: checking for re_rx_search" >&5 6679 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 6680 if test "${ac_cv_func_re_rx_search+set}" = set; then 6681 echo $ECHO_N "(cached) $ECHO_C" >&6 6682 else 6683 cat >conftest.$ac_ext <<_ACEOF 6684 /* confdefs.h. */ 6685 _ACEOF 6686 cat confdefs.h >>conftest.$ac_ext 6687 cat >>conftest.$ac_ext <<_ACEOF 6688 /* end confdefs.h. */ 6689 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 6690 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6691 #define re_rx_search innocuous_re_rx_search 6692 6693 /* System header to define __stub macros and hopefully few prototypes, 6694 which can conflict with char re_rx_search (); below. 6695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6696 <limits.h> exists even on freestanding compilers. */ 6697 6698 #ifdef __STDC__ 6699 # include <limits.h> 6700 #else 6701 # include <assert.h> 6702 #endif 6703 6704 #undef re_rx_search 6705 6706 /* Override any gcc2 internal prototype to avoid an error. */ 6707 #ifdef __cplusplus 6708 extern "C" 6709 { 6710 #endif 6711 /* We use char because int might match the return type of a gcc2 6712 builtin and then its argument prototype would still apply. */ 6713 char re_rx_search (); 6714 /* The GNU C library defines this for functions which it implements 6715 to always fail with ENOSYS. Some functions are actually named 6716 something starting with __ and the normal name is an alias. */ 6717 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 6718 choke me 6719 #else 6720 char (*f) () = re_rx_search; 6721 #endif 6722 #ifdef __cplusplus 6723 } 6724 #endif 6725 6726 int 6727 main () 6728 { 6729 return f != re_rx_search; 6730 ; 6731 return 0; 6732 } 6733 _ACEOF 6734 rm -f conftest.$ac_objext conftest$ac_exeext 6735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6736 (eval $ac_link) 2>conftest.er1 6737 ac_status=$? 6738 grep -v '^ *+' conftest.er1 >conftest.err 6739 rm -f conftest.er1 6740 cat conftest.err >&5 6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6742 (exit $ac_status); } && 6743 { ac_try='test -z "$ac_c_werror_flag" 6744 || test ! -s conftest.err' 6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6746 (eval $ac_try) 2>&5 6747 ac_status=$? 6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6749 (exit $ac_status); }; } && 6750 { ac_try='test -s conftest$ac_exeext' 6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6752 (eval $ac_try) 2>&5 6753 ac_status=$? 6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6755 (exit $ac_status); }; }; then 6756 ac_cv_func_re_rx_search=yes 6757 else 6758 echo "$as_me: failed program was:" >&5 6759 sed 's/^/| /' conftest.$ac_ext >&5 6760 6761 ac_cv_func_re_rx_search=no 6762 fi 6763 rm -f conftest.err conftest.$ac_objext \ 6764 conftest$ac_exeext conftest.$ac_ext 6765 fi 6766 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 6767 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 6768 if test $ac_cv_func_re_rx_search = yes; then 6769 : 6770 else 6771 case $LIBOBJS in 6772 "rx.$ac_objext" | \ 6773 *" rx.$ac_objext" | \ 6774 "rx.$ac_objext "* | \ 6775 *" rx.$ac_objext "* ) ;; 6776 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 6777 esac 6778 6779 fi 6780 6781 fi 6782 6533 6783 6534 6784 # --------------------------------------------------------------------------- … … 6721 6971 6722 6972 6723 6724 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56725 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&66726 success="no"6727 pl_path="$PATH"6728 IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"6729 for pl_dir in $pl_path; do6730 test -z "$pl_dir" && pl_dir=.6731 if test -x $pl_dir/perl; then6732 success="yes"6733 break6734 fi6735 done6736 IFS="$pl_save_ifs"6737 6738 if test $success = "yes"; then6739 try=`perl configtest.pl` || try="0"6740 try=`expr $try \> 5.000`6741 if test $try = "1"; then6742 echo "$as_me:$LINENO: result: \"yes\"" >&56743 echo "${ECHO_T}\"yes\"" >&66744 else6745 success="no"6746 fi6747 fi6748 6749 if test $success = "no"; then6750 echo "$as_me:$LINENO: result: \"no\"" >&56751 echo "${ECHO_T}\"no\"" >&66752 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&56753 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}6754 { (exit 1); exit 1; }; }6755 fi6756 6973 6757 6974 success=no … … 7175 7392 moduleDirs="" 7176 7393 MODULEDIRS="" 7177 if -d modules; then7394 if test -d modules ; then 7178 7395 for x in `find modules -mindepth 1 -maxdepth 2`; do 7179 7396 if test -d "$x"; then … … 7863 8080 s,@CPP@,$CPP,;t t 7864 8081 s,@EGREP@,$EGREP,;t t 8082 s,@U@,$U,;t t 8083 s,@ANSI2KNR@,$ANSI2KNR,;t t 7865 8084 s,@ALLOCA@,$ALLOCA,;t t 7866 8085 s,@LIBOBJS@,$LIBOBJS,;t t -
gs2build/configure.in
r16589 r16598 323 323 324 324 dnl 325 dnl Now check that Perl is actually around, and can be found326 dnl327 AC_MSG_CHECKING(that Perl 5 is available)328 success="no"329 pl_path="$PATH"330 IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"331 for pl_dir in $pl_path; do332 test -z "$pl_dir" && pl_dir=.333 if test -x $pl_dir/perl; then334 success="yes"335 break336 fi337 done338 IFS="$pl_save_ifs"339 340 dnl341 dnl Perl actually can be run; now we see if it is version 5 by342 dnl running a sample script (which returns a "clean" version number343 dnl and then tests the result using expr. If perl errors in some344 dnl way (eg. broken Perl executable, missing script), we set a failure345 dnl value ("0") and then proceed as best we can346 dnl347 if test $success = "yes"; then348 try=`perl configtest.pl` || try="0"349 try=`expr $try \> 5.000`350 if test $try = "1"; then351 AC_MSG_RESULT("yes")352 else353 success="no"354 fi355 fi356 357 if test $success = "no"; then358 AC_MSG_RESULT("no")359 AC_MSG_ERROR("Perl 5 not available - cannot install")360 fi361 362 dnl363 325 dnl Check if the STL library has any known faults; 364 326 dnl In GCC 2.7.2.x series, some STL library headers are missing … … 430 392 moduleDirs="" 431 393 MODULEDIRS="" 432 if [ -d modules ]; then394 if test -d modules ; then 433 395 for x in `find modules -mindepth 1 -maxdepth 2`; do 434 396 if test -d "$x"; then
Note:
See TracChangeset
for help on using the changeset viewer.