diff options
-rw-r--r-- | cpukit/libmisc/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libmisc/configure.ac | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/cpukit/libmisc/ChangeLog b/cpukit/libmisc/ChangeLog index 6e1cd9c48d..97b5e902a7 100644 --- a/cpukit/libmisc/ChangeLog +++ b/cpukit/libmisc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * configure.ac: Fix tests for GCC. + 2002-01-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * configure.ac: Add check for weak function attribute. diff --git a/cpukit/libmisc/configure.ac b/cpukit/libmisc/configure.ac index 72c63de255..e188971ce7 100644 --- a/cpukit/libmisc/configure.ac +++ b/cpukit/libmisc/configure.ac @@ -39,7 +39,7 @@ AC_MSG_RESULT([$HAVE_ASSIGNABLE_STDIO]) # serdbg exploits weak symbols AC_CACHE_CHECK([whether $CC supports function __attribute__((weak))], [rtems_cv_cc_attribute_weak],[ - AS_IF([test $GCC = yes],[ + AS_IF([test x"$GCC" = xyes],[ save_CFLAGS=$CFLAGS CFLAGS=-Werror]) @@ -51,7 +51,7 @@ AC_CACHE_CHECK([whether $CC supports function __attribute__((weak))], [rtems_cv_cc_attribute_weak=yes], [rtems_cv_cc_attribute_weak=no]) - AS_IF([test $GCC = yes],[ + AS_IF([test x"$GCC" = xyes],[ CFLAGS=$save_CFLAGS]) ]) |