Changeset 10864


Ignore:
Timestamp:
2005-11-08T09:45:28+13:00 (18 years ago)
Author:
kjdon
Message:

something went wrong with last autoconf, so redid it (in gs2build directory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gs2build-extra/configure

    r10854 r10864  
    311311
    312312ac_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'
     313ac_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'
    314314ac_subst_files=''
    315315
     
    856856  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    857857  --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
    858861
    859862Some influential environment variables:
     
    38143817fi
    38153818
    3816 fp_C_PROTOTYPES
     3819echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
     3820echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
     3821if test "${ac_cv_prog_cc_stdc+set}" = set; then
     3822  echo $ECHO_N "(cached) $ECHO_C" >&6
     3823else
     3824  ac_cv_prog_cc_stdc=no
     3825ac_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
     3832for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
     3833do
     3834  CFLAGS="$ac_save_CFLAGS $ac_arg"
     3835  cat >conftest.$ac_ext <<_ACEOF
     3836/* confdefs.h.  */
     3837_ACEOF
     3838cat confdefs.h >>conftest.$ac_ext
     3839cat >>conftest.$ac_ext <<_ACEOF
     3840/* end confdefs.h.  */
     3841#if !defined(__STDC__) || __STDC__ != 1
     3842choke me
     3843#endif
     3844
     3845int
     3846main ()
     3847{
     3848int test (int i, double x);
     3849struct s1 {int (*f) (int a);};
     3850struct s2 {int (*f) (double a);};
     3851  ;
     3852  return 0;
     3853}
     3854_ACEOF
     3855rm -f conftest.$ac_objext
     3856if { (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
     3878else
     3879  echo "$as_me: failed program was:" >&5
     3880sed 's/^/| /' conftest.$ac_ext >&5
     3881
     3882fi
     3883rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3884done
     3885CFLAGS="$ac_save_CFLAGS"
     3886
     3887fi
     3888
     3889echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     3890echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     3891case "x$ac_cv_prog_cc_stdc" in
     3892  x|xno) ;;
     3893  *) CC="$CC $ac_cv_prog_cc_stdc" ;;
     3894esac
     3895
     3896
     3897echo "$as_me:$LINENO: checking for function prototypes" >&5
     3898echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     3899if test "$ac_cv_prog_cc_stdc" != no; then
     3900  echo "$as_me:$LINENO: result: yes" >&5
     3901echo "${ECHO_T}yes" >&6
     3902  cat >>confdefs.h <<\_ACEOF
     3903#define PROTOTYPES 1
     3904_ACEOF
     3905
     3906  U= ANSI2KNR=
     3907else
     3908  echo "$as_me:$LINENO: result: no" >&5
     3909echo "${ECHO_T}no" >&6
     3910  U=_ ANSI2KNR=ansi2knr
     3911fi
     3912
    38173913echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    38183914echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
     
    62936389
    62946390
    6295 fp_WITH_DMALLOC
    6296 fp_WITH_REGEX
     6391echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
     6392echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
     6393
     6394# Check whether --with-dmalloc or --without-dmalloc was given.
     6395if test "${with_dmalloc+set}" = set; then
     6396  withval="$with_dmalloc"
     6397  if test "$withval" = yes; then
     6398  echo "$as_me:$LINENO: result: yes" >&5
     6399echo "${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"
     6406else
     6407  echo "$as_me:$LINENO: result: no" >&5
     6408echo "${ECHO_T}no" >&6
     6409fi
     6410else
     6411  echo "$as_me:$LINENO: result: no" >&5
     6412echo "${ECHO_T}no" >&6
     6413fi;
     6414
     6415echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
     6416echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
     6417
     6418# Check whether --with-regex or --without-regex was given.
     6419if 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
     6424echo "${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" ;;
     6435esac
     6436
     6437fi
     6438fi;
     6439if test -z "$ac_with_regex"; then
     6440  echo "$as_me:$LINENO: result: rx" >&5
     6441echo "${ECHO_T}rx" >&6
     6442  echo "$as_me:$LINENO: checking for re_rx_search" >&5
     6443echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
     6444if test "${ac_cv_func_re_rx_search+set}" = set; then
     6445  echo $ECHO_N "(cached) $ECHO_C" >&6
     6446else
     6447  cat >conftest.$ac_ext <<_ACEOF
     6448/* confdefs.h.  */
     6449_ACEOF
     6450cat confdefs.h >>conftest.$ac_ext
     6451cat >>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
     6472extern "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.  */
     6477char 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)
     6482choke me
     6483#else
     6484char (*f) () = re_rx_search;
     6485#endif
     6486#ifdef __cplusplus
     6487}
     6488#endif
     6489
     6490int
     6491main ()
     6492{
     6493return f != re_rx_search;
     6494  ;
     6495  return 0;
     6496}
     6497_ACEOF
     6498rm -f conftest.$ac_objext conftest$ac_exeext
     6499if { (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
     6521else
     6522  echo "$as_me: failed program was:" >&5
     6523sed 's/^/| /' conftest.$ac_ext >&5
     6524
     6525ac_cv_func_re_rx_search=no
     6526fi
     6527rm -f conftest.err conftest.$ac_objext \
     6528      conftest$ac_exeext conftest.$ac_ext
     6529fi
     6530echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
     6531echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
     6532if test $ac_cv_func_re_rx_search = yes; then
     6533  :
     6534else
     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" ;;
     6541esac
     6542
     6543fi
     6544
     6545fi
     6546
    62976547
    62986548# ---------------------------------------------------------------------------
     
    76157865s,@CPP@,$CPP,;t t
    76167866s,@EGREP@,$EGREP,;t t
     7867s,@U@,$U,;t t
     7868s,@ANSI2KNR@,$ANSI2KNR,;t t
    76177869s,@ALLOCA@,$ALLOCA,;t t
    76187870s,@LIBOBJS@,$LIBOBJS,;t t
Note: See TracChangeset for help on using the changeset viewer.