diff options
author | DJ Delorie <dj@redhat.com> | 2001-11-28 02:11:49 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-11-28 02:11:49 +0000 |
commit | 24acd898d2937c3316d4c72543cfee29cee667c6 (patch) | |
tree | d875f01a46d53d63be46f7c607d7bdc9f22bc8d8 /libiberty/configure.in | |
parent | c0851fd2d26243ca2b63f1fbb0744aae3804b312 (diff) | |
download | gdb-24acd898d2937c3316d4c72543cfee29cee667c6.zip gdb-24acd898d2937c3316d4c72543cfee29cee667c6.tar.gz gdb-24acd898d2937c3316d4c72543cfee29cee667c6.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index d34f836..8b67396 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -132,7 +132,7 @@ AC_EGREP_HEADER(uintptr_t, sys/types.h, if test $libiberty_cv_uintptr_t = yes then - AC_DEFINE(HAVE_UINTPTR_T) + AC_DEFINE(HAVE_UINTPTR_T, 1, [Define if you have the \`uintptr_t' type.]) AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) @@ -254,9 +254,9 @@ fi AC_SUBST(CHECK) case "${host}" in - *-*-cygwin*) - AC_DEFINE(HAVE_SYS_ERRLIST) - AC_DEFINE(HAVE_SYS_NERR) + *-*-cygwin*) + AC_DEFINE_NOAUTOHEADER(HAVE_SYS_ERRLIST) + AC_DEFINE_NOAUTOHEADER(HAVE_SYS_NERR) ;; esac @@ -351,6 +351,13 @@ if test -z "${setobjs}"; then if test $ac_cv_func_vfork_works = no; then LIBOBJS="$LIBOBJS vfork.o" fi + # We only need _doprnt if we might use it to implement v*printf. + if test $ac_cv_func_vprintf != yes \ + || test $ac_cv_func_vfprintf != yes \ + || test $ac_cv_func_vsprintf != yes; then + AC_REPLACE_FUNCS(_doprnt) + fi + for v in $vars; do AC_MSG_CHECKING([for $v]) AC_CACHE_VAL(libiberty_cv_var_$v, |