diff options
author | Roger Leigh <rleigh@debian.org> | 2008-10-26 16:17:32 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2008-10-26 16:17:32 +0000 |
commit | cda0fb3b8a7cb56045b24fd0af0ed36591b5d7eb (patch) | |
tree | 31ef197ec5c98ac9ac08714a2440a787c065d8c7 /m4/stp_option.m4 | |
parent | 92b02ddce00dec2787514568fa9d644d4f0350e9 (diff) |
Imported Upstream version 5.0.1
Diffstat (limited to 'm4/stp_option.m4')
-rw-r--r-- | m4/stp_option.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/stp_option.m4 b/m4/stp_option.m4 index 32a4466..0ff5646 100644 --- a/m4/stp_option.m4 +++ b/m4/stp_option.m4 @@ -141,8 +141,9 @@ AC_DEFUN([STP_ADD_COMPILER_ARG],[ CFLAGS="${m4_ifval([$3], [$3], [CFLAGS])} $1" AC_TRY_COMPILE(,, [ AC_MSG_RESULT(yes); - stp_newCFLAGS="${m4_ifval([$3], [$3], [CFLAGS])} $1"], - [ AC_MSG_RESULT(no);]) + stp_newCFLAGS="$CFLAGS"], + [ AC_MSG_RESULT(no); + stp_newCFLAGS="$stp_acOLDCFLAGS"]) CFLAGS="$stp_acOLDCFLAGS" m4_ifval([$3], [$3], [CFLAGS])="${stp_newCFLAGS}" ]) |