[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_C_STRINGIZE versus AC_PROG_CC_STDC
From: |
Kevin Ryde |
Subject: |
AC_C_STRINGIZE versus AC_PROG_CC_STDC |
Date: |
30 Apr 2001 11:26:30 +1000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 |
I noticed AC_C_STRINGIZE doesn't force itself to be after
AC_PROG_CC_STDC, and I think this can lead to wrong results when "cc
-E" is used for preprocessing and AC_PROG_CC_STDC mungs $CC into ansi
mode, if something like the following is accidentally written.
AC_PROG_CC
AC_C_STRINGIZE
AC_PROG_CC_STDC
Perhaps AC_PROG_CC_STDC should have an AC_BEFORE([AC_C_STRINGIZE]), at
least until the FIXME there about AC_PROG_CPP is resolved.
Alternately, it might be nice to have an AC_AFTER or some such that
would prepend an AC_BEFORE to its prerequisite. It'd be sort of an
optional AC_REQUIRE. AC_C_INLINE or AC_C_STRINGIZE could then express
that if AC_PROG_CC_STDC is used it must come before, but isn't
required as such.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AC_C_STRINGIZE versus AC_PROG_CC_STDC,
Kevin Ryde <=