diff options
author | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-21 20:55:19 +0000 |
---|---|---|
committer | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-21 20:55:19 +0000 |
commit | 6992582aa282b8e815f0908cd8660c11faf06351 (patch) | |
tree | a9ebf81cc4fab63cc6f1b4ac86232311a396d3af /libgomp/acinclude.m4 | |
parent | 349621f075f6bdfb362a743f4f4d47e0bb53c7c0 (diff) | |
download | gcc-6992582aa282b8e815f0908cd8660c11faf06351.tar.gz |
libgomp/
* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS)
(LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY)
(LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT)
(LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names.
* configure: Regenerate.
* Makefile.in, testsuite/Makefile.in: Likewise.
libstdc++-v3/
* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT, GLIBCXX_ENABLE_C99)
(GLIBCXX_CHECK_C99_TR1, GLIBCXX_CHECK_RANDOM_TR1)
(GLIBCXX_ENABLE_VISIBILITY): Fix cache variable names.
(GLIBCXX_CHECK_SYSTEM_ERROR): Likewise. Factorize.
* configure: Regenerate.
libgfortran/
* acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY)
(LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT)
(LIBGFOR_CHECK_ATTRIBUTE_ALIAS, LIBGFOR_CHECK_SYNC_FETCH_AND_ADD)
(LIBGFOR_GTHREAD_WEAK, LIBGFOR_CHECK_UNLINK_OPEN_FILE)
(LIBGFOR_CHECK_CRLF, LIBGFOR_CHECK_FOR_BROKEN_ISFINITE)
(LIBGFOR_CHECK_FOR_BROKEN_ISNAN)
(LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY, LIBGFOR_CHECK_WORKING_STAT)
(LIBGFOR_CHECK_FPSETMASK, LIBGFOR_CHECK_MINGW_SNPRINTF):
Fix cache variable names.
* configure, Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134531 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/acinclude.m4')
-rw-r--r-- | libgomp/acinclude.m4 | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libgomp/acinclude.m4 b/libgomp/acinclude.m4 index acf47dfe378..f3cd089e537 100644 --- a/libgomp/acinclude.m4 +++ b/libgomp/acinclude.m4 @@ -4,10 +4,10 @@ dnl This whole bit snagged from libgfortran. dnl Check whether the target supports __sync_*_compare_and_swap. AC_DEFUN([LIBGOMP_CHECK_SYNC_BUILTINS], [ AC_CACHE_CHECK([whether the target supports __sync_*_compare_and_swap], - have_sync_builtins, [ + libgomp_cv_have_sync_builtins, [ AC_TRY_LINK([], [int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);], - have_sync_builtins=yes, have_sync_builtins=no)]) - if test $have_sync_builtins = yes; then + libgomp_cv_have_sync_builtins=yes, libgomp_cv_have_sync_builtins=no)]) + if test $libgomp_cv_have_sync_builtins = yes; then AC_DEFINE(HAVE_SYNC_BUILTINS, 1, [Define to 1 if the target supports __sync_*_compare_and_swap]) fi]) @@ -15,14 +15,14 @@ AC_DEFUN([LIBGOMP_CHECK_SYNC_BUILTINS], [ dnl Check whether the target supports hidden visibility. AC_DEFUN([LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY], [ AC_CACHE_CHECK([whether the target supports hidden visibility], - have_attribute_visibility, [ + libgomp_cv_have_attribute_visibility, [ save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" AC_TRY_COMPILE([void __attribute__((visibility("hidden"))) foo(void) { }], - [], have_attribute_visibility=yes, - have_attribute_visibility=no) + [], libgomp_cv_have_attribute_visibility=yes, + libgomp_cv_have_attribute_visibility=no) CFLAGS="$save_CFLAGS"]) - if test $have_attribute_visibility = yes; then + if test $libgomp_cv_have_attribute_visibility = yes; then AC_DEFINE(HAVE_ATTRIBUTE_VISIBILITY, 1, [Define to 1 if the target supports __attribute__((visibility(...))).]) fi]) @@ -30,14 +30,14 @@ AC_DEFUN([LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY], [ dnl Check whether the target supports dllexport AC_DEFUN([LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT], [ AC_CACHE_CHECK([whether the target supports dllexport], - have_attribute_dllexport, [ + libgomp_cv_have_attribute_dllexport, [ save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -Werror" AC_TRY_COMPILE([void __attribute__((dllexport)) foo(void) { }], - [], have_attribute_dllexport=yes, - have_attribute_dllexport=no) + [], libgomp_cv_have_attribute_dllexport=yes, + libgomp_cv_have_attribute_dllexport=no) CFLAGS="$save_CFLAGS"]) - if test $have_attribute_dllexport = yes; then + if test $libgomp_cv_have_attribute_dllexport = yes; then AC_DEFINE(HAVE_ATTRIBUTE_DLLEXPORT, 1, [Define to 1 if the target supports __attribute__((dllexport)).]) fi]) @@ -45,12 +45,12 @@ AC_DEFUN([LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT], [ dnl Check whether the target supports symbol aliases. AC_DEFUN([LIBGOMP_CHECK_ATTRIBUTE_ALIAS], [ AC_CACHE_CHECK([whether the target supports symbol aliases], - have_attribute_alias, [ + libgomp_cv_have_attribute_alias, [ AC_TRY_LINK([ void foo(void) { } extern void bar(void) __attribute__((alias("foo")));], - [bar();], have_attribute_alias=yes, have_attribute_alias=no)]) - if test $have_attribute_alias = yes; then + [bar();], libgomp_cv_have_attribute_alias=yes, libgomp_cv_have_attribute_alias=no)]) + if test $libgomp_cv_have_attribute_alias = yes; then AC_DEFINE(HAVE_ATTRIBUTE_ALIAS, 1, [Define to 1 if the target supports __attribute__((alias(...))).]) fi]) |