[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hp cc +O3 and AC_CHECK_FUNCS
From: |
Kevin Ryde |
Subject: |
hp cc +O3 and AC_CHECK_FUNCS |
Date: |
Sat, 09 Nov 2002 08:43:43 +1000 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu) |
With a recent HP cc +O3 on ia64 (at testdrive.compaq.com), all
AC_CHECK_FUNCS claim their function exists, irrespective of whether it
does or not. I'd like to propose this change to fix that.
The name "conftest_$1" for the second function tries to avoid
conflicting with $1 or any standard function. Perhaps some fixed
unlikely name would be enough.
* lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Put f=$1 in another
function, not main, to avoid HP cc +O3 optimizing it away.
c.m4.hp+O3.diff
Description: Text document
- hp cc +O3 and AC_CHECK_FUNCS,
Kevin Ryde <=