diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-29 00:04:22 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-03-29 00:04:22 +0000 |
commit | 0db2fea07d68b81162b4fa0b6be1a215de2acbb4 (patch) | |
tree | 9e3b12726d1dd61b4bd74f6fb602f1a1fd755537 /m4/acinclude.m4 | |
parent | 20712aaa286ccffda64855a3275c1941c5d47594 (diff) | |
download | ATCD-0db2fea07d68b81162b4fa0b6be1a215de2acbb4.tar.gz |
* m4/acinclude.m4:
* m4/threads.m4:
Renamed some variables. Namespace pollution was breaking most
of the tests.
Diffstat (limited to 'm4/acinclude.m4')
-rw-r--r-- | m4/acinclude.m4 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4 index a8db6bad648..e1cf34a47b1 100644 --- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -29,17 +29,17 @@ dnl Usage: ACE_TRY_COMPILE(COMPILER-FLAGS, INCLUDES, FUNCTION-BODY, dnl [ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]) AC_DEFUN(ACE_TRY_COMPILE, dnl [ - save_CXXFLAGS="$CXXFLAGS" + ace_pre_try_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $1" - save_CFLAGS="$CFLAGS" + ace_pre_try_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $1" AC_TRY_COMPILE($2, $3, $4, $5) dnl Restore the C++ and C flags - CXXFLAGS="$save_CXXFLAGS" - CFLAGS="$save_CFLAGS" + CXXFLAGS="$ace_pre_try_CXXFLAGS" + CFLAGS="$ace_pre_try_CFLAGS" ]) @@ -79,7 +79,7 @@ dnl fail. Some of the tests pass because the GNU C++ compiler issues dnl warnings instead of errors when errors should occur. dnl Other "treat warnings as errors" flags for other compilers should dnl be added if possible. - save_CXXFLAGS="$CXXFLAGS" + ace_pre_warning_CXXFLAGS="$CXXFLAGS" if test -n "$GXX"; then CXXFLAGS="$CXXFLAGS -Werror" @@ -96,7 +96,7 @@ dnl be added if possible. $1 - CXXFLAGS="$save_CXXFLAGS" + CXXFLAGS="$ace_pre_warning_CXXFLAGS" ]) dnl Wrapper around AC_CACHE_VAL used to ensure "ACTION-IF" commands are run @@ -119,7 +119,7 @@ ifelse([$4], , :, [$4]) else ace_just_a_place_holder=fixme ifelse([$5], , , [$5 -])dnl +]) fi ]) |