diff options
author | DJ Delorie <dj@redhat.com> | 2001-03-06 18:27:14 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-03-06 18:27:14 +0000 |
commit | 30673bf5116aafb5896d9f58010595e6c0e45e47 (patch) | |
tree | b2cc84ad403c354f45353002fab03a39abc583c4 /libiberty/configure.in | |
parent | b6ba6518e9254bc25f88088228e93ac966ebccd1 (diff) | |
download | gdb-30673bf5116aafb5896d9f58010595e6c0e45e47.zip gdb-30673bf5116aafb5896d9f58010595e6c0e45e47.tar.gz gdb-30673bf5116aafb5896d9f58010595e6c0e45e47.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index af80e0d..6adf48e 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -142,8 +142,7 @@ fi # For each of these functions, if the host does not provide the # function we want to put FN.o in LIBOBJS, and if the host does -# provide the function, we want to define HAVE_FN in config.h. Also, -# if the host does not provide alloca, we set ALLOCA to alloca.o +# provide the function, we want to define HAVE_FN in config.h. setobjs= CHECK= @@ -158,7 +157,6 @@ if test -n "${with_target_subdir}"; then # newlib provide and which ones we will be expected to provide. if test "x${with_newlib}" = "xyes"; then - ALLOCA="alloca.o" LIBOBJS="asprintf.o basename.o insque.o random.o strdup.o vasprintf.o" for f in $funcs; do @@ -277,28 +275,7 @@ if test -z "${setobjs}"; then # tests. This will only work if the compiler works. AC_PROG_CC_WORKS AC_REPLACE_FUNCS($funcs) - - case "${host}" in - *-*-interix) - # On Interix, it wrongly concludes that the MSVC compiler supports alloca. - # (MSVC does on Win32, not on Interix.) - # This should be temporary. - - ac_cv_header_alloca_h=no - ac_cv_func_alloca_works=no - ALLOCA=alloca.o - cat >> confdefs.h <<\EOF -#define C_ALLOCA 1 -EOF - cat >> confdefs.h <<EOF -#define STACK_DIRECTION -1 -EOF - ;; - *) - AC_FUNC_ALLOCA - ;; - esac - + libiberty_AC_FUNC_C_ALLOCA AC_FUNC_VFORK if test $ac_cv_func_vfork_works = no; then LIBOBJS="$LIBOBJS vfork.o" |