]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-09-22 Ben Elliston <bje@cygnus.com>
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Wed, 22 Sep 1999 09:45:20 +0000 (09:45 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Wed, 22 Sep 1999 09:45:20 +0000 (09:45 +0000)
* 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 <schd@mra.man.de>.

ChangeLog
config.guess

index 408e93f9c5129635d28dbb7052a0a35530321485..e23d78f48e1b23211826d73341745809c1b79a4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1999-09-22  Ben Elliston  <bje@cygnus.com>
+
+       * 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 <schd@mra.man.de>.
+
 1999-09-22  Linas Vepstas  <linas@linas.org>
 
        * config.guess: Add OS/390 match pattern.
index 632cce965fbf9b6b2e37713b3c4ad2fed247c720..81ce0c2c89bda2861d6cd19d6ba17d06d70eb0ae 100755 (executable)
@@ -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]*//'`