From: Ralf Wildenhues Date: Sun, 13 Sep 2009 19:14:27 +0000 (+0200) Subject: DJGPP fix: Do not redirect standard input in configure scripts. X-Git-Tag: v2.65~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ac64cd53d5491f095192c3bdeeb45a80bfcdd0;p=thirdparty%2Fautoconf.git DJGPP fix: Do not redirect standard input in configure scripts. * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): If $DJGPP is nonempty, do not dup fd 0 to AS_ORIGINAL_STDIN_FD, do not close fd 0. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index d128e2ad..9e9c3755 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-09-15 Ralf Wildenhues + + DJGPP fix: Do not redirect standard input in configure scripts. + * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): If $DJGPP is + nonempty, do not dup fd 0 to AS_ORIGINAL_STDIN_FD, do not close + fd 0. + 2009-09-14 Eric Blake Quote result of m4_toupper and m4_tolower. diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 43b5e235..b850c8a9 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -385,7 +385,8 @@ AU_ALIAS([AC_FD_MSG], [AS_MESSAGE_FD]) m4_define([_AC_INIT_DEFAULTS], [m4_divert_push([DEFAULTS])dnl -exec AS_ORIGINAL_STDIN_FD<&0 &1 +test -n "$DJDIR" || exec AS_ORIGINAL_STDIN_FD<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,