From patchwork Tue Nov 30 06:09:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 73559 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id F09DF1007D7 for ; Tue, 30 Nov 2010 17:09:24 +1100 (EST) Received: (qmail 14847 invoked by alias); 30 Nov 2010 06:09:19 -0000 Received: (qmail 14826 invoked by uid 22791); 30 Nov 2010 06:09:18 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mx01.qsc.de (HELO mx01.qsc.de) (213.148.129.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Nov 2010 06:09:12 +0000 Received: from [192.168.178.22] (port-92-204-29-144.dynamic.qsc.de [92.204.29.144]) by mx01.qsc.de (Postfix) with ESMTP id E39583D2F3; Tue, 30 Nov 2010 07:09:09 +0100 (CET) Message-ID: <4CF49505.9070605@net-b.de> Date: Tue, 30 Nov 2010 07:09:09 +0100 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.12) Gecko/20101026 SUSE/3.1.6 Thunderbird/3.1.6 MIME-Version: 1.0 To: gcc patches , gfortran Subject: [Patch,quad,committed] Remove unused macros from acinclude.m4 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Committed the patch. I think it is obvious - but it has also been approved by Ralf at http://gcc.gnu.org/ml/fortran/2010-11/msg00385.html Tobias Index: libquadmath/ChangeLog =================================================================== --- libquadmath/ChangeLog (Revision 167288) +++ libquadmath/ChangeLog (Arbeitskopie) @@ -1,3 +1,9 @@ +2010-11-30 Tobias Burnus + + * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS, + LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY, + LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove. + 2010-11-29 Kai Tietz * configure: Regenerated. Index: libquadmath/acinclude.m4 =================================================================== --- libquadmath/acinclude.m4 (Revision 167288) +++ libquadmath/acinclude.m4 (Arbeitskopie) @@ -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