diff options
author | DJ Delorie <dj@redhat.com> | 2001-08-22 02:12:15 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-08-22 02:12:15 +0000 |
commit | f01b59ed06353e2b0254f6fb6493d7407f8d166f (patch) | |
tree | 409b7710b15799062e076d47241a9520e8bdfca6 /libiberty/configure.in | |
parent | 2bf63d02834d0770fbf46b2375d23eb4dc6f668a (diff) | |
download | gdb-f01b59ed06353e2b0254f6fb6493d7407f8d166f.zip gdb-f01b59ed06353e2b0254f6fb6493d7407f8d166f.tar.gz gdb-f01b59ed06353e2b0254f6fb6493d7407f8d166f.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index 499e467..c3c25a5 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -177,12 +177,6 @@ if test -n "${with_target_subdir}"; then # Of the functions in $checkfuncs, newlib only has strerror. AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR) - case "${host}" in - *-*-cygwin*) - AC_DEFINE(HAVE_SYS_ERRLIST) - ;; - esac - setobjs=yes fi @@ -196,6 +190,13 @@ fi AC_SUBST(CHECK) +case "${host}" in + *-*-cygwin*) + AC_DEFINE(HAVE_SYS_ERRLIST) + AC_DEFINE(HAVE_SYS_NERR) + ;; +esac + if test -z "${setobjs}"; then case "${host}" in |