From 73dec3aec52cf93215989657ba8813dfcd3fdf97 Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Sat, 22 Mar 2003 04:58:34 +0000 Subject: ChangeLogTag:Fri Mar 21 23:17:26 2003 Steve Huston --- ChangeLog | 5 +++++ configure.ac | 8 ++++---- 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 + + * configure.ac: Changed to to + work when GXX is set to no, not nul. + Wed Mar 19 11:29:25 2003 Ossama Othman * 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 -- cgit v1.2.1