]> git.ipfire.org Git - thirdparty/autoconf.git/commit
* aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
authorAkim Demaille <akim@epita.fr>
Wed, 18 Oct 2000 16:18:18 +0000 (16:18 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 18 Oct 2000 16:18:18 +0000 (16:18 +0000)
commite9021957ad91cbe2555d76d71bb4de8f3efcfff7
treece360d612c46ce41d2cd0661590ba97d373fa381
parent1521bce8befa2682a3cc543a4e9046258e02e2c3
* aclang.m4 (_AC_PROG_CC_G): Use the _AC_COMPILE_IFELSE macro
instead of reinventing the wheel. This also takes care of a bug
where the "-g" option was accepted if the compiler silently exits
with status unequal to 0.
(_AC_PROG_CXX_G): Likewise.
(AC_PROG_CC): As _AC_PROG_CC_G depends on $ac_objext and
$ac_exeext, move the expansion of _AC_OBJEXT and _AC_EXEEXT in
front of _AC_PROG_CC_G.
(AC_PROG_CXX, AC_PROG_F77): Likewise.
ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4