summaryrefslogtreecommitdiffstats
path: root/libquadmath/acinclude.m4
diff options
context:
space:
mode:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-30 06:07:54 +0000
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-30 06:07:54 +0000
commitc90972fc7b22305cd29bd6d5ee5ca32600b89438 (patch)
treee23da3fce7f657e2be175e63cf1fa4094f2bcb3a /libquadmath/acinclude.m4
parent00881f33e939f70ace98eaf6e9a65735dd378ba3 (diff)
downloadppe42-gcc-c90972fc7b22305cd29bd6d5ee5ca32600b89438.tar.gz
ppe42-gcc-c90972fc7b22305cd29bd6d5ee5ca32600b89438.zip
2010-11-30 Tobias Burnus <burnus@net-b.de>
* acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS, LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY, LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167289 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libquadmath/acinclude.m4')
-rw-r--r--libquadmath/acinclude.m441
1 files changed, 0 insertions, 41 deletions
diff --git a/libquadmath/acinclude.m4 b/libquadmath/acinclude.m4
index 3bbd0550a4f..38e0808ad93 100644
--- a/libquadmath/acinclude.m4
+++ b/libquadmath/acinclude.m4
@@ -1,47 +1,6 @@
dnl ----------------------------------------------------------------------
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],
- libgomp_cv_have_sync_builtins, [
- AC_TRY_LINK([], [int foo; __sync_val_compare_and_swap(&foo, 0, 1);],
- 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])
-
-dnl Check whether the target supports hidden visibility.
-AC_DEFUN([LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY], [
- AC_CACHE_CHECK([whether the target supports hidden visibility],
- libgomp_cv_have_attribute_visibility, [
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Werror"
- AC_TRY_COMPILE([void __attribute__((visibility("hidden"))) foo(void) { }],
- [], libgomp_cv_have_attribute_visibility=yes,
- libgomp_cv_have_attribute_visibility=no)
- CFLAGS="$save_CFLAGS"])
- 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])
-
-dnl Check whether the target supports dllexport
-AC_DEFUN([LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT], [
- AC_CACHE_CHECK([whether the target supports dllexport],
- libgomp_cv_have_attribute_dllexport, [
- save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Werror"
- AC_TRY_COMPILE([void __attribute__((dllexport)) foo(void) { }],
- [], libgomp_cv_have_attribute_dllexport=yes,
- libgomp_cv_have_attribute_dllexport=no)
- CFLAGS="$save_CFLAGS"])
- 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])
-
sinclude(../libtool.m4)
dnl The lines below arrange for aclocal not to bring an installed
dnl libtool.m4 into aclocal.m4, while still arranging for automake to
OpenPOWER on IntegriCloud