diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-01-25 14:54:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2003-01-25 14:54:13 +0000 |
commit | d790ca34065a85f606fda37238417577d6534390 (patch) | |
tree | f844f0ddbfe974ef636e01adda2e8c9a8a1a0c52 | |
parent | 2003-01-24 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-d790ca34065a85f606fda37238417577d6534390.tar.bz2 |
2002-01-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix tests for GCC.
-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]) ]) |