summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2003-03-22 04:58:34 +0000
committerSteve Huston <shuston@riverace.com>2003-03-22 04:58:34 +0000
commit73dec3aec52cf93215989657ba8813dfcd3fdf97 (patch)
treebe2866fddd54982102c31b5949dd839a7e4e7871
parent0c8d1e4a2e5d5d4782632e29942d6888ad9955ee (diff)
downloadATCD-73dec3aec52cf93215989657ba8813dfcd3fdf97.tar.gz
ChangeLogTag:Fri Mar 21 23:17:26 2003 Steve Huston <shuston@riverace.com>
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e815becb5b3..3fe2f0d3c2e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Mar 21 23:17:26 2003 Steve Huston <shuston@riverace.com>
+
+ * configure.ac: Changed <test -n "$GXX"> to <test "$GXX" = yes> to
+ work when GXX is set to no, not nul.
+
Wed Mar 19 11:29:25 2003 Ossama Othman <ossama@uci.edu>
* configure.ac (ACE_HAS_POSIX_GETPWNAM_R):
diff --git a/configure.ac b/configure.ac
index db5df92bee7..17b3cf1fd46 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1649,7 +1649,7 @@ ACE_CONVERT_WARNINGS_TO_ERRORS([
dnl If we are using GNU C++, see if it accepts the -pipe compiler flag.
dnl "-pipe" on cygwin32 doesn't seem to work, for example.
-if test -n "$GXX"; then
+if test "$GXX" = yes; then
PREPIPECXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -pipe"
PREPIPECFLAGS="$CFLAGS"
@@ -6337,7 +6337,7 @@ ACE_CACHE_CHECK([if running on an Alpha],
*linux*)
dnl We only define ACE_HAS_ALPHA_TIMER if we are running Linux
dnl on an Alpha and are using GNU C++!
- if test -n "$GXX"; then
+ if test "$GXX" = yes; then
AC_DEFINE([ACE_HAS_ALPHA_TIMER])
fi
;;
@@ -6363,7 +6363,7 @@ ACE_CACHE_CHECK([if running on a Power PC],
;;
*)
dnl Only define ACE_HAS_POWERPC_TIMER when using GNU C++!
- if test -n "$GXX"; then
+ if test "$GXX" = yes; then
AC_DEFINE([ACE_HAS_POWERPC_TIMER])
fi
;;
@@ -6377,7 +6377,7 @@ ACE_CACHE_CHECK([if running on a Pentium(tm) processor],
dnl If we do have a pentium, than define ACE_HAS_PENTIUM and add
dnl gethrtime.cpp to the source list, but only if we're using GNU C++
dnl since gethrtime.cpp uses assembler code specific to that compiler.
- if test -n "$GXX"; then
+ if test "$GXX" = yes; then
ace_cv_feature_pentium=yes
else
ace_cv_feature_pentium=no