From: Ben Elliston Date: Wed, 22 Sep 1999 09:45:20 +0000 (+0000) Subject: 1999-09-22 Ben Elliston X-Git-Tag: trunk-pre-merge-trunk-into-experimental-1999-10-01~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46f9d60d407ab3f800bc99916d51351930a90f6a;p=thirdparty%2Fautoconf.git 1999-09-22 Ben Elliston * config.guess: Clear the CCOPTS environment variable before invoking the C compiler on HP-UX. This is necessary to guarantee that the test program is compiled correctly. Reported by Dietmar P. Schindler . --- diff --git a/ChangeLog b/ChangeLog index 408e93f9..e23d78f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-09-22 Ben Elliston + + * config.guess: Clear the CCOPTS environment variable before + invoking the C compiler on HP-UX. This is necessary to guarantee + that the test program is compiled correctly. Reported by Dietmar + P. Schindler . + 1999-09-22 Linas Vepstas * config.guess: Add OS/390 match pattern. diff --git a/config.guess b/config.guess index 632cce96..81ce0c2c 100755 --- a/config.guess +++ b/config.guess @@ -459,7 +459,7 @@ EOF exit (0); } EOF - ($CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` + (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` rm -f $dummy.c $dummy esac HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`