From f214923cca63228c225294e4c57f54be6e2b610d Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Mon, 1 Mar 2004 19:22:28 +0000 Subject: acinclude.m4: Quote correctly. 2004-03-01 Benjamin Kosnik * acinclude.m4: Quote correctly. * aclocal.m4: Regenerate. * linkage.m4: Same. From-SVN: r78715 --- libstdc++-v3/aclocal.m4 | 74 ++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'libstdc++-v3/aclocal.m4') diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index 5be0355..2705c81 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -21,12 +21,12 @@ dnl conditional will depend on the final state of the variable. For a simple dnl example of why this is needed, see GLIBCXX_ENABLE_HOSTED. dnl m4_define([_m4_divert(glibcxx_diversion)], 8000)dnl -AC_DEFUN(GLIBCXX_CONDITIONAL, [dnl +AC_DEFUN([GLIBCXX_CONDITIONAL], [dnl m4_divert_text([glibcxx_diversion],dnl AM_CONDITIONAL([$1],[$2]) )dnl ])dnl -AC_DEFUN(GLIBCXX_EVALUATE_CONDITIONALS, [m4_undivert([glibcxx_diversion])])dnl +AC_DEFUN([GLIBCXX_EVALUATE_CONDITIONALS], [m4_undivert([glibcxx_diversion])])dnl dnl @@ -34,10 +34,10 @@ dnl Check to see what architecture and operating system we are compiling dnl for. Also, if architecture- or OS-specific flags are required for dnl compilation, pick them up here. dnl -AC_DEFUN(GLIBCXX_CHECK_HOST, [ +AC_DEFUN([GLIBCXX_CHECK_HOST], [ . $glibcxx_srcdir/configure.host - AC_MSG_NOTICE(CPU config directory is $cpu_include_dir) - AC_MSG_NOTICE(OS config directory is $os_include_dir) + AC_MSG_NOTICE([CPU config directory is $cpu_include_dir]) + AC_MSG_NOTICE([OS config directory is $os_include_dir]) ]) @@ -47,7 +47,7 @@ dnl dnl Substs: dnl multi_basedir dnl -AC_DEFUN(GLIBCXX_TOPREL_CONFIGURE, [ +AC_DEFUN([GLIBCXX_TOPREL_CONFIGURE], [ # Sets up multi_basedir, which is srcdir/.. plus the usual # "multi_source_toprel_bottom_adjust" lunacy as needed. AM_ENABLE_MULTILIB(, ..) @@ -91,7 +91,7 @@ dnl - the variables in GLIBCXX_CHECK_HOST / configure.host dnl - default settings for all AM_CONFITIONAL test variables dnl - lots of tools, like CC and CXX dnl -AC_DEFUN(GLIBCXX_CONFIGURE, [ +AC_DEFUN([GLIBCXX_CONFIGURE], [ # Keep these sync'd with the list in Makefile.am. The first provides an # expandable list at autoconf time; the second provides an expandable list # (i.e., shell variable) at configure time. @@ -206,7 +206,7 @@ dnl Leave it out by default and use maint-mode to use it. dnl SECTION_FLAGS='-ffunction-sections -fdata-sections' if dnl compiler supports it and the user has not requested debug mode. dnl -AC_DEFUN(GLIBCXX_CHECK_COMPILER_FEATURES, [ +AC_DEFUN([GLIBCXX_CHECK_COMPILER_FEATURES], [ # All these tests are for C++; save the language and the compiler flags. # The CXXFLAGS thing is suspicious, but based on similar bits previously # found in GLIBCXX_CONFIGURE. @@ -259,7 +259,7 @@ dnl dnl The last will be a single integer, e.g., version 1.23.45.0.67.89 will dnl set glibcxx_gnu_ld_version to 12345. Zeros cause problems. dnl -AC_DEFUN(GLIBCXX_CHECK_LINKER_FEATURES, [ +AC_DEFUN([GLIBCXX_CHECK_LINKER_FEATURES], [ # If we're not using GNU ld, then there's no point in even trying these # tests. Check for that first. We should have already tested for gld # by now (in libtool), but require it now just to be safe... @@ -350,7 +350,7 @@ dnl Defines: dnl HAVE_MBSTATE_T if mbstate_t is not in wchar.h dnl _GLIBCXX_USE_WCHAR_T if all the bits are found. dnl -AC_DEFUN(GLIBCXX_CHECK_WCHAR_T_SUPPORT, [ +AC_DEFUN([GLIBCXX_CHECK_WCHAR_T_SUPPORT], [ # Test wchar.h for mbstate_t, which is needed for char_traits and # others even if wchar_t support is not on. AC_MSG_CHECKING([for mbstate_t]) @@ -467,7 +467,7 @@ dnl Defines: dnl _GLIBCXX_MEM_LIMITS if we can set artificial limits on memory dnl various HAVE_MEMLIMIT_* for individual limit names dnl -AC_DEFUN(GLIBCXX_CHECK_SETRLIMIT_ancilliary, [ +AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT_ancilliary], [ AC_TRY_COMPILE( [#include #include @@ -479,7 +479,7 @@ AC_DEFUN(GLIBCXX_CHECK_SETRLIMIT_ancilliary, [ [Only used in build directory testsuite_hooks.h.]) ]) -AC_DEFUN(GLIBCXX_CHECK_SETRLIMIT, [ +AC_DEFUN([GLIBCXX_CHECK_SETRLIMIT], [ setrlimit_have_headers=yes AC_CHECK_HEADERS(unistd.h sys/time.h sys/resource.h, [], @@ -521,7 +521,7 @@ dnl dnl Check whether S_ISREG (Posix) or S_IFREG is available in . dnl Define HAVE_S_ISREG / HAVE_S_IFREG appropriately. dnl -AC_DEFUN(GLIBCXX_CHECK_S_ISREG_OR_S_IFREG, [ +AC_DEFUN([GLIBCXX_CHECK_S_ISREG_OR_S_IFREG], [ AC_CACHE_VAL(glibcxx_cv_S_ISREG, [ AC_TRY_LINK( [#include ], @@ -551,7 +551,7 @@ AC_DEFUN(GLIBCXX_CHECK_S_ISREG_OR_S_IFREG, [ dnl dnl Check whether poll is available in , and define HAVE_POLL. dnl -AC_DEFUN(GLIBCXX_CHECK_POLL, [ +AC_DEFUN([GLIBCXX_CHECK_POLL], [ AC_CACHE_VAL(glibcxx_cv_POLL, [ AC_TRY_LINK( [#include ], @@ -570,7 +570,7 @@ AC_DEFUN(GLIBCXX_CHECK_POLL, [ dnl dnl Check whether writev is available in , and define HAVE_WRITEV. dnl -AC_DEFUN(GLIBCXX_CHECK_WRITEV, [ +AC_DEFUN([GLIBCXX_CHECK_WRITEV], [ AC_CACHE_VAL(glibcxx_cv_WRITEV, [ AC_TRY_LINK( [#include ], @@ -588,7 +588,7 @@ AC_DEFUN(GLIBCXX_CHECK_WRITEV, [ dnl dnl Check whether int64_t is available in , and define HAVE_INT64_T. dnl -AC_DEFUN(GLIBCXX_CHECK_INT64_T, [ +AC_DEFUN([GLIBCXX_CHECK_INT64_T], [ AC_CACHE_VAL(glibcxx_cv_INT64_T, [ AC_TRY_COMPILE( [#include ], @@ -605,7 +605,7 @@ AC_DEFUN(GLIBCXX_CHECK_INT64_T, [ dnl dnl Check whether LFS support is available. dnl -AC_DEFUN(GLIBCXX_CHECK_LFS, [ +AC_DEFUN([GLIBCXX_CHECK_LFS], [ AC_LANG_SAVE AC_LANG_CPLUSPLUS ac_save_CXXFLAGS="$CXXFLAGS" @@ -642,7 +642,7 @@ dnl enable_abi_check / GLIBCXX_TEST_ABI dnl Substs: dnl baseline_dir dnl -AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [ +AC_DEFUN([GLIBCXX_CONFIGURE_TESTSUITE], [ if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then # Do checks for memory limit functions. GLIBCXX_CHECK_SETRLIMIT @@ -682,7 +682,7 @@ dnl Substs: dnl GLIBCXX_INCLUDES dnl TOPLEVEL_INCLUDES dnl -AC_DEFUN(GLIBCXX_EXPORT_INCLUDES, [ +AC_DEFUN([GLIBCXX_EXPORT_INCLUDES], [ # Used for every C++ compile we perform. GLIBCXX_INCLUDES="\ -I$glibcxx_builddir/include/$host_alias \ @@ -713,7 +713,7 @@ dnl Substs: dnl OPTIMIZE_CXXFLAGS dnl WARN_FLAGS dnl -AC_DEFUN(GLIBCXX_EXPORT_FLAGS, [ +AC_DEFUN([GLIBCXX_EXPORT_FLAGS], [ # Optimization flags that are probably a good idea for thrill-seekers. Just # uncomment the lines below and make, everything else is ready to go... # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc @@ -737,7 +737,7 @@ dnl dnl Assumes cross_compiling bits already done, and with_cross_host in dnl particular. dnl -AC_DEFUN(GLIBCXX_EXPORT_INSTALL_INFO, [ +AC_DEFUN([GLIBCXX_EXPORT_INSTALL_INFO], [ glibcxx_toolexecdir=no glibcxx_toolexeclibdir=no glibcxx_prefixdir=$prefix @@ -857,7 +857,7 @@ dnl + Usage: GLIBCXX_ENABLE_C99[(DEFAULT)] dnl Where DEFAULT is either `yes' or `no'. dnl + If 'C99' stuff is not available, ignores DEFAULT and sets `no'. dnl -AC_DEFUN(GLIBCXX_ENABLE_C99, [ +AC_DEFUN([GLIBCXX_ENABLE_C99], [ GLIBCXX_ENABLE(c99,$1,,[turns on ISO/IEC 9899:1999 support]) AC_LANG_SAVE @@ -984,7 +984,7 @@ dnl --disable-cheaders [does not do anything, really]. dnl + Usage: GLIBCXX_ENABLE_CHEADERS[(DEFAULT)] dnl Where DEFAULT is either `c' or `c_std'. dnl -AC_DEFUN(GLIBCXX_ENABLE_CHEADERS, [ +AC_DEFUN([GLIBCXX_ENABLE_CHEADERS], [ GLIBCXX_ENABLE(cheaders,$1,[=KIND], [construct "C" headers for g++], [permit c|c_std]) AC_MSG_NOTICE("C" header strategy set to $enable_cheaders) @@ -1004,7 +1004,7 @@ dnl a subdirectory of config/locale. dnl dnl Default is generic. dnl -AC_DEFUN(GLIBCXX_ENABLE_CLOCALE, [ +AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [ AC_MSG_CHECKING([for C locale to use]) GLIBCXX_ENABLE(clocale,auto,[@<:@=MODEL@:>@], [use MODEL for target locale package], @@ -1191,7 +1191,7 @@ dnl --disable-concept-checks leaves them off. dnl + Usage: GLIBCXX_ENABLE_CONCEPT_CHECKS[(DEFAULT)] dnl Where DEFAULT is either `yes' or `no'. dnl -AC_DEFUN(GLIBCXX_ENABLE_CONCEPT_CHECKS, [ +AC_DEFUN([GLIBCXX_ENABLE_CONCEPT_CHECKS], [ GLIBCXX_ENABLE(concept-checks,$1,,[use Boost-derived template checks]) if test $enable_concept_checks = yes; then AC_DEFINE(_GLIBCXX_CONCEPT_CHECKS) @@ -1204,7 +1204,7 @@ dnl Check for which I/O library to use: stdio, or something specific. dnl dnl Default is stdio. dnl -AC_DEFUN(GLIBCXX_ENABLE_CSTDIO, [ +AC_DEFUN([GLIBCXX_ENABLE_CSTDIO], [ AC_MSG_CHECKING([for underlying I/O to use]) GLIBCXX_ENABLE(cstdio,stdio,[=PACKAGE], [use target-specific I/O package], [permit stdio]) @@ -1240,7 +1240,7 @@ dnl + Usage: GLIBCXX_ENABLE_CXX_FLAGS(default flags) dnl If "default flags" is an empty string, the effect is the same dnl as --disable or --enable=no. dnl -AC_DEFUN(GLIBCXX_ENABLE_CXX_FLAGS, [dnl +AC_DEFUN([GLIBCXX_ENABLE_CXX_FLAGS], [dnl AC_MSG_CHECKING([for extra compiler flags for building]) GLIBCXX_ENABLE(cxx-flags,$1,[=FLAGS], [pass compiler FLAGS when building library], @@ -1278,7 +1278,7 @@ dnl --disable-c-mbchar doesn't. dnl + Usage: GLIBCXX_ENABLE_C_MBCHAR[(DEFAULT)] dnl Where DEFAULT is either `yes' or `no'. dnl -AC_DEFUN(GLIBCXX_ENABLE_C_MBCHAR, [ +AC_DEFUN([GLIBCXX_ENABLE_C_MBCHAR], [ GLIBCXX_ENABLE(c-mbchar,$1,,[enable multibyte (wide) characters]) # Option parsed, now other scripts can test enable_c_mbchar for yes/no. ]) @@ -1300,7 +1300,7 @@ dnl dnl + Usage: GLIBCXX_ENABLE_DEBUG[(DEFAULT)] dnl Where DEFAULT is either `yes' or `no'. dnl -AC_DEFUN(GLIBCXX_ENABLE_DEBUG, [ +AC_DEFUN([GLIBCXX_ENABLE_DEBUG], [ AC_MSG_CHECKING([for additional debug build]) GLIBCXX_ENABLE(libstdcxx-debug,$1,,[build extra debug library]) AC_MSG_RESULT($enable_libstdcxx_debug) @@ -1320,7 +1320,7 @@ dnl + Usage: GLIBCXX_ENABLE_DEBUG_FLAGS(default flags) dnl If "default flags" is an empty string, the effect is the same dnl as --disable or --enable=no. dnl -AC_DEFUN(GLIBCXX_ENABLE_DEBUG_FLAGS, [ +AC_DEFUN([GLIBCXX_ENABLE_DEBUG_FLAGS], [ GLIBCXX_ENABLE(libstdcxx-debug-flags,[$1],[=FLAGS], [pass compiler FLAGS when building debug library], [case "x$enable_libstdcxx_debug_flags" in @@ -1351,7 +1351,7 @@ dnl dnl Defines: dnl _GLIBCXX_HOSTED (always defined, either to 1 or 0) dnl -AC_DEFUN(GLIBCXX_ENABLE_HOSTED, [ +AC_DEFUN([GLIBCXX_ENABLE_HOSTED], [ AC_ARG_ENABLE([hosted-libstdcxx], AC_HELP_STRING([--disable-hosted-libstdcxx], [only build freestanding C++ runtime support]),, @@ -1383,7 +1383,7 @@ dnl + Usage: GLIBCXX_ENABLE_LONG_LONG[(DEFAULT)] dnl Where DEFAULT is either `yes' or `no'. dnl + If 'long long' stuff is not available, ignores DEFAULT and sets `no'. dnl -AC_DEFUN(GLIBCXX_ENABLE_LONG_LONG, [ +AC_DEFUN([GLIBCXX_ENABLE_LONG_LONG], [ GLIBCXX_ENABLE(long-long,$1,,[enables I/O support for 'long long']) AC_LANG_SAVE @@ -1420,7 +1420,7 @@ dnl dnl Substs: dnl glibcxx_PCHFLAGS dnl -AC_DEFUN(GLIBCXX_ENABLE_PCH, [ +AC_DEFUN([GLIBCXX_ENABLE_PCH], [ AC_MSG_CHECKING([for enabled PCH]) GLIBCXX_ENABLE(libstdcxx-pch,$1,,[build pre-compiled libstdc++ headers]) AC_MSG_RESULT([$enable_libstdcxx_pch]) @@ -1472,7 +1472,7 @@ dnl dnl Defines: dnl _GLIBCXX_SJLJ_EXCEPTIONS if the compiler is configured for it dnl -AC_DEFUN(GLIBCXX_ENABLE_SJLJ_EXCEPTIONS, [ +AC_DEFUN([GLIBCXX_ENABLE_SJLJ_EXCEPTIONS], [ AC_MSG_CHECKING([for exception model to use]) AC_LANG_SAVE AC_LANG_CPLUSPLUS @@ -1542,7 +1542,7 @@ dnl Where DEFAULT is either 'yes' or 'no'. Passing `yes' tries to dnl choose a default style based on linker characteristics. Passing dnl 'no' disables versioning. dnl -AC_DEFUN(GLIBCXX_ENABLE_SYMVERS, [ +AC_DEFUN([GLIBCXX_ENABLE_SYMVERS], [ GLIBCXX_ENABLE(symvers,$1,[=STYLE], [enables symbol versioning of the shared library], @@ -1646,7 +1646,7 @@ dnl Defines: dnl HAVE_GTHR_DEFAULT dnl _GLIBCXX_SUPPORTS_WEAK dnl -AC_DEFUN(GLIBCXX_ENABLE_THREADS, [ +AC_DEFUN([GLIBCXX_ENABLE_THREADS], [ AC_MSG_CHECKING([for thread model used by GCC]) target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'` AC_MSG_RESULT([$target_thread_file]) @@ -1670,7 +1670,7 @@ AC_DEFUN(GLIBCXX_ENABLE_THREADS, [ # Please note that the actual code is *not* freely available. # serial 1 -AC_DEFUN(AC_LC_MESSAGES, [ +AC_DEFUN([AC_LC_MESSAGES], [ AC_CHECK_HEADER(locale.h, [ AC_CACHE_CHECK([for LC_MESSAGES], ac_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], -- cgit v1.1