Changeset 10864
- Timestamp:
- 2005-11-08T09:45:28+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gs2build-extra/configure
r10854 r10864 311 311 312 312 ac_subdirs_all="$ac_subdirs_all packages" 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 CFLAGS CC LDFLAGS 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 CPP EGREP ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDE gsdlos 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 CFLAGS CC LDFLAGS 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 CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC GDBM_LIBPATH GDBM_INCLUDE gsdlos MODULEDIRS subdirs LTLIBOBJS' 314 314 ac_subst_files='' 315 315 … … 856 856 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 857 857 --with-gdbm=dir Use local gdbm library and headers 858 --with-dmalloc use dmalloc, as in 859 ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz 860 --with-regex use older regex in lieu of GNU rx for matching 858 861 859 862 Some influential environment variables: … … 3814 3817 fi 3815 3818 3816 fp_C_PROTOTYPES 3819 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 3820 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 3821 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3822 echo $ECHO_N "(cached) $ECHO_C" >&6 3823 else 3824 ac_cv_prog_cc_stdc=no 3825 ac_save_CFLAGS="$CFLAGS" 3826 # Don't try gcc -ansi; that turns off useful extensions and 3827 # breaks some systems' header files. 3828 # AIX -qlanglvl=ansi 3829 # Ultrix and OSF/1 -std1 3830 # HP-UX -Aa -D_HPUX_SOURCE 3831 # SVR4 -Xc 3832 for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc 3833 do 3834 CFLAGS="$ac_save_CFLAGS $ac_arg" 3835 cat >conftest.$ac_ext <<_ACEOF 3836 /* confdefs.h. */ 3837 _ACEOF 3838 cat confdefs.h >>conftest.$ac_ext 3839 cat >>conftest.$ac_ext <<_ACEOF 3840 /* end confdefs.h. */ 3841 #if !defined(__STDC__) || __STDC__ != 1 3842 choke me 3843 #endif 3844 3845 int 3846 main () 3847 { 3848 int test (int i, double x); 3849 struct s1 {int (*f) (int a);}; 3850 struct s2 {int (*f) (double a);}; 3851 ; 3852 return 0; 3853 } 3854 _ACEOF 3855 rm -f conftest.$ac_objext 3856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3857 (eval $ac_compile) 2>conftest.er1 3858 ac_status=$? 3859 grep -v '^ *+' conftest.er1 >conftest.err 3860 rm -f conftest.er1 3861 cat conftest.err >&5 3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3863 (exit $ac_status); } && 3864 { ac_try='test -z "$ac_c_werror_flag" 3865 || test ! -s conftest.err' 3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3867 (eval $ac_try) 2>&5 3868 ac_status=$? 3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3870 (exit $ac_status); }; } && 3871 { ac_try='test -s conftest.$ac_objext' 3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3873 (eval $ac_try) 2>&5 3874 ac_status=$? 3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3876 (exit $ac_status); }; }; then 3877 ac_cv_prog_cc_stdc="$ac_arg"; break 3878 else 3879 echo "$as_me: failed program was:" >&5 3880 sed 's/^/| /' conftest.$ac_ext >&5 3881 3882 fi 3883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3884 done 3885 CFLAGS="$ac_save_CFLAGS" 3886 3887 fi 3888 3889 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 3890 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3891 case "x$ac_cv_prog_cc_stdc" in 3892 x|xno) ;; 3893 *) CC="$CC $ac_cv_prog_cc_stdc" ;; 3894 esac 3895 3896 3897 echo "$as_me:$LINENO: checking for function prototypes" >&5 3898 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 3899 if test "$ac_cv_prog_cc_stdc" != no; then 3900 echo "$as_me:$LINENO: result: yes" >&5 3901 echo "${ECHO_T}yes" >&6 3902 cat >>confdefs.h <<\_ACEOF 3903 #define PROTOTYPES 1 3904 _ACEOF 3905 3906 U= ANSI2KNR= 3907 else 3908 echo "$as_me:$LINENO: result: no" >&5 3909 echo "${ECHO_T}no" >&6 3910 U=_ ANSI2KNR=ansi2knr 3911 fi 3912 3817 3913 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3818 3914 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 … … 6293 6389 6294 6390 6295 fp_WITH_DMALLOC 6296 fp_WITH_REGEX 6391 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6392 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6393 6394 # Check whether --with-dmalloc or --without-dmalloc was given. 6395 if test "${with_dmalloc+set}" = set; then 6396 withval="$with_dmalloc" 6397 if test "$withval" = yes; then 6398 echo "$as_me:$LINENO: result: yes" >&5 6399 echo "${ECHO_T}yes" >&6 6400 cat >>confdefs.h <<\_ACEOF 6401 #define WITH_DMALLOC 1 6402 _ACEOF 6403 6404 LIBS="$LIBS -ldmalloc" 6405 LDFLAGS="$LDFLAGS -g" 6406 else 6407 echo "$as_me:$LINENO: result: no" >&5 6408 echo "${ECHO_T}no" >&6 6409 fi 6410 else 6411 echo "$as_me:$LINENO: result: no" >&5 6412 echo "${ECHO_T}no" >&6 6413 fi; 6414 6415 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6416 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6417 6418 # Check whether --with-regex or --without-regex was given. 6419 if test "${with_regex+set}" = set; then 6420 withval="$with_regex" 6421 if test "$withval" = yes; then 6422 ac_with_regex=1 6423 echo "$as_me:$LINENO: result: regex" >&5 6424 echo "${ECHO_T}regex" >&6 6425 cat >>confdefs.h <<\_ACEOF 6426 #define WITH_REGEX 1 6427 _ACEOF 6428 6429 case $LIBOBJS in 6430 "regex.$ac_objext" | \ 6431 *" regex.$ac_objext" | \ 6432 "regex.$ac_objext "* | \ 6433 *" regex.$ac_objext "* ) ;; 6434 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6435 esac 6436 6437 fi 6438 fi; 6439 if test -z "$ac_with_regex"; then 6440 echo "$as_me:$LINENO: result: rx" >&5 6441 echo "${ECHO_T}rx" >&6 6442 echo "$as_me:$LINENO: checking for re_rx_search" >&5 6443 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 6444 if test "${ac_cv_func_re_rx_search+set}" = set; then 6445 echo $ECHO_N "(cached) $ECHO_C" >&6 6446 else 6447 cat >conftest.$ac_ext <<_ACEOF 6448 /* confdefs.h. */ 6449 _ACEOF 6450 cat confdefs.h >>conftest.$ac_ext 6451 cat >>conftest.$ac_ext <<_ACEOF 6452 /* end confdefs.h. */ 6453 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search. 6454 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6455 #define re_rx_search innocuous_re_rx_search 6456 6457 /* System header to define __stub macros and hopefully few prototypes, 6458 which can conflict with char re_rx_search (); below. 6459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6460 <limits.h> exists even on freestanding compilers. */ 6461 6462 #ifdef __STDC__ 6463 # include <limits.h> 6464 #else 6465 # include <assert.h> 6466 #endif 6467 6468 #undef re_rx_search 6469 6470 /* Override any gcc2 internal prototype to avoid an error. */ 6471 #ifdef __cplusplus 6472 extern "C" 6473 { 6474 #endif 6475 /* We use char because int might match the return type of a gcc2 6476 builtin and then its argument prototype would still apply. */ 6477 char re_rx_search (); 6478 /* The GNU C library defines this for functions which it implements 6479 to always fail with ENOSYS. Some functions are actually named 6480 something starting with __ and the normal name is an alias. */ 6481 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 6482 choke me 6483 #else 6484 char (*f) () = re_rx_search; 6485 #endif 6486 #ifdef __cplusplus 6487 } 6488 #endif 6489 6490 int 6491 main () 6492 { 6493 return f != re_rx_search; 6494 ; 6495 return 0; 6496 } 6497 _ACEOF 6498 rm -f conftest.$ac_objext conftest$ac_exeext 6499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6500 (eval $ac_link) 2>conftest.er1 6501 ac_status=$? 6502 grep -v '^ *+' conftest.er1 >conftest.err 6503 rm -f conftest.er1 6504 cat conftest.err >&5 6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6506 (exit $ac_status); } && 6507 { ac_try='test -z "$ac_c_werror_flag" 6508 || test ! -s conftest.err' 6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6510 (eval $ac_try) 2>&5 6511 ac_status=$? 6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6513 (exit $ac_status); }; } && 6514 { ac_try='test -s conftest$ac_exeext' 6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6516 (eval $ac_try) 2>&5 6517 ac_status=$? 6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6519 (exit $ac_status); }; }; then 6520 ac_cv_func_re_rx_search=yes 6521 else 6522 echo "$as_me: failed program was:" >&5 6523 sed 's/^/| /' conftest.$ac_ext >&5 6524 6525 ac_cv_func_re_rx_search=no 6526 fi 6527 rm -f conftest.err conftest.$ac_objext \ 6528 conftest$ac_exeext conftest.$ac_ext 6529 fi 6530 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 6531 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 6532 if test $ac_cv_func_re_rx_search = yes; then 6533 : 6534 else 6535 case $LIBOBJS in 6536 "rx.$ac_objext" | \ 6537 *" rx.$ac_objext" | \ 6538 "rx.$ac_objext "* | \ 6539 *" rx.$ac_objext "* ) ;; 6540 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 6541 esac 6542 6543 fi 6544 6545 fi 6546 6297 6547 6298 6548 # --------------------------------------------------------------------------- … … 7615 7865 s,@CPP@,$CPP,;t t 7616 7866 s,@EGREP@,$EGREP,;t t 7867 s,@U@,$U,;t t 7868 s,@ANSI2KNR@,$ANSI2KNR,;t t 7617 7869 s,@ALLOCA@,$ALLOCA,;t t 7618 7870 s,@LIBOBJS@,$LIBOBJS,;t t
Note:
See TracChangeset
for help on using the changeset viewer.