From 0e8262cf2496862a17267f3c3aa0a0922bf86443 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 26 Nov 2003 06:21:00 +0000 Subject: 2003-11-26 Ralf Corsepius * aclocal/canonical-target-name.m4, aclocal/canonicalize-tools.m4, aclocal/check-custom-bsp.m4, aclocal/check-cxx.m4, aclocal/check-itron.m4, aclocal/check-multiprocessing.m4, aclocal/check-networking.m4, aclocal/check-posix.m4, aclocal/check-tool.m4, aclocal/config-subdirs.m4, aclocal/enable-bare.m4, aclocal/enable-cxx.m4, aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4, aclocal/enable-posix.m4, aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4, aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, aclocal/multilib.m4, aclocal/path-ksh.m4, aclocal/prog-cc.m4, aclocal/prog-cxx.m4, aclocal/project-root.m4, aclocal/rtems-test-no-pause.m4, aclocal/rtems-top.m4, aclocal/target.m4, aclocal/tool-paths.m4: Fix underquoting to silence automake-1.8. --- testsuites/ChangeLog | 20 ++++++++++++++++++++ testsuites/aclocal/canonical-target-name.m4 | 2 +- testsuites/aclocal/canonicalize-tools.m4 | 2 +- testsuites/aclocal/check-custom-bsp.m4 | 2 +- testsuites/aclocal/check-cxx.m4 | 2 +- testsuites/aclocal/check-itron.m4 | 4 ++-- testsuites/aclocal/check-multiprocessing.m4 | 2 +- testsuites/aclocal/check-networking.m4 | 2 +- testsuites/aclocal/check-posix.m4 | 4 ++-- testsuites/aclocal/check-tool.m4 | 2 +- testsuites/aclocal/config-subdirs.m4 | 4 ++-- testsuites/aclocal/enable-bare.m4 | 2 +- testsuites/aclocal/enable-cxx.m4 | 2 +- testsuites/aclocal/enable-itron.m4 | 2 +- testsuites/aclocal/enable-multiprocessing.m4 | 2 +- testsuites/aclocal/enable-networking.m4 | 2 +- testsuites/aclocal/enable-posix.m4 | 2 +- testsuites/aclocal/enable-rtemsbsp.m4 | 2 +- testsuites/aclocal/enable-tests.m4 | 2 +- testsuites/aclocal/env-rtemsbsp.m4 | 2 +- testsuites/aclocal/gcc-isystem.m4 | 2 +- testsuites/aclocal/gcc-pipe.m4 | 2 +- testsuites/aclocal/gcc-specs.m4 | 2 +- testsuites/aclocal/multilib.m4 | 2 +- testsuites/aclocal/path-ksh.m4 | 2 +- testsuites/aclocal/prog-cc.m4 | 4 ++-- testsuites/aclocal/prog-cxx.m4 | 2 +- testsuites/aclocal/project-root.m4 | 2 +- testsuites/aclocal/rtems-test-no-pause.m4 | 4 ++-- testsuites/aclocal/rtems-top.m4 | 2 +- testsuites/aclocal/target.m4 | 10 +++++----- testsuites/aclocal/tool-paths.m4 | 2 +- 32 files changed, 60 insertions(+), 40 deletions(-) diff --git a/testsuites/ChangeLog b/testsuites/ChangeLog index 01bf1f9c36..a66eba66cf 100644 --- a/testsuites/ChangeLog +++ b/testsuites/ChangeLog @@ -1,3 +1,23 @@ +2003-11-26 Ralf Corsepius + + * aclocal/canonical-target-name.m4, aclocal/canonicalize-tools.m4, + aclocal/check-custom-bsp.m4, aclocal/check-cxx.m4, + aclocal/check-itron.m4, aclocal/check-multiprocessing.m4, + aclocal/check-networking.m4, aclocal/check-posix.m4, + aclocal/check-tool.m4, aclocal/config-subdirs.m4, + aclocal/enable-bare.m4, aclocal/enable-cxx.m4, + aclocal/enable-itron.m4, aclocal/enable-multiprocessing.m4, + aclocal/enable-networking.m4, aclocal/enable-posix.m4, + aclocal/enable-rtemsbsp.m4, aclocal/enable-tests.m4, + aclocal/env-rtemsbsp.m4, aclocal/gcc-isystem.m4, + aclocal/gcc-pipe.m4, aclocal/gcc-specs.m4, + aclocal/multilib.m4, aclocal/path-ksh.m4, + aclocal/prog-cc.m4, aclocal/prog-cxx.m4, + aclocal/project-root.m4, aclocal/rtems-test-no-pause.m4, + aclocal/rtems-top.m4, aclocal/target.m4, + aclocal/tool-paths.m4: + Fix underquoting to silence automake-1.8. + 2003-11-10 Ralf Corsepius * configure.ac: Reflect having moved to testsuites/. diff --git a/testsuites/aclocal/canonical-target-name.m4 b/testsuites/aclocal/canonical-target-name.m4 index 34126b0483..8d0efa13c9 100644 --- a/testsuites/aclocal/canonical-target-name.m4 +++ b/testsuites/aclocal/canonical-target-name.m4 @@ -8,7 +8,7 @@ dnl target naming conventions "processor-vendor-os" dnl Therefore autoconf's AC_CANONICAL_TARGET will fail for them dnl and we have to fix it for rtems ourselves -AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU, +AC_DEFUN([RTEMS_CANONICAL_TARGET_CPU], [ AC_CANONICAL_HOST AC_MSG_CHECKING(rtems target cpu) diff --git a/testsuites/aclocal/canonicalize-tools.m4 b/testsuites/aclocal/canonicalize-tools.m4 index 4d37fa9c69..190afca09a 100644 --- a/testsuites/aclocal/canonicalize-tools.m4 +++ b/testsuites/aclocal/canonicalize-tools.m4 @@ -4,7 +4,7 @@ dnl dnl Set target tools dnl -AC_DEFUN(RTEMS_CANONICALIZE_TOOLS, +AC_DEFUN([RTEMS_CANONICALIZE_TOOLS], [AC_REQUIRE([RTEMS_PROG_CC])dnl dnl FIXME: What shall be done if these tools are not available? diff --git a/testsuites/aclocal/check-custom-bsp.m4 b/testsuites/aclocal/check-custom-bsp.m4 index de9d61b79e..8128906111 100644 --- a/testsuites/aclocal/check-custom-bsp.m4 +++ b/testsuites/aclocal/check-custom-bsp.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_CHECK_CUSTOM_BSP,[ +AC_DEFUN([RTEMS_CHECK_CUSTOM_BSP],[ AC_REQUIRE([RTEMS_TOP]) AC_MSG_CHECKING([for make/custom/[$]$1.cfg]) diff --git a/testsuites/aclocal/check-cxx.m4 b/testsuites/aclocal/check-cxx.m4 index 1234672b0e..ca3ccf3a3f 100644 --- a/testsuites/aclocal/check-cxx.m4 +++ b/testsuites/aclocal/check-cxx.m4 @@ -1,6 +1,6 @@ dnl $Id$ dnl -AC_DEFUN(RTEMS_CHECK_CXX, +AC_DEFUN([RTEMS_CHECK_CXX], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl diff --git a/testsuites/aclocal/check-itron.m4 b/testsuites/aclocal/check-itron.m4 index 514daf4cc2..75e2134276 100644 --- a/testsuites/aclocal/check-itron.m4 +++ b/testsuites/aclocal/check-itron.m4 @@ -1,6 +1,6 @@ dnl $Id$ dnl -AC_DEFUN(RTEMS_CHECK_ITRON_API, +AC_DEFUN([RTEMS_CHECK_ITRON_API], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl AC_REQUIRE([RTEMS_ENABLE_ITRON])dnl @@ -28,7 +28,7 @@ fi AC_SUBST(HAS_ITRON_API)dnl ]) -AC_DEFUN(RTEMS_DEFINE_ITRON_API, +AC_DEFUN([RTEMS_DEFINE_ITRON_API], [AC_REQUIRE([RTEMS_CHECK_ITRON_API])dnl if test x"${HAS_ITRON_API}" = x"yes"; then diff --git a/testsuites/aclocal/check-multiprocessing.m4 b/testsuites/aclocal/check-multiprocessing.m4 index 017eabe585..db96cc5476 100644 --- a/testsuites/aclocal/check-multiprocessing.m4 +++ b/testsuites/aclocal/check-multiprocessing.m4 @@ -2,7 +2,7 @@ dnl dnl $Id$ dnl -AC_DEFUN(RTEMS_CHECK_MULTIPROCESSING, +AC_DEFUN([RTEMS_CHECK_MULTIPROCESSING], [dnl AC_REQUIRE([RTEMS_ENABLE_MULTILIB])dnl AC_REQUIRE([RTEMS_ENV_RTEMSBSP])dnl diff --git a/testsuites/aclocal/check-networking.m4 b/testsuites/aclocal/check-networking.m4 index db5d8f2e07..c9d54f893b 100644 --- a/testsuites/aclocal/check-networking.m4 +++ b/testsuites/aclocal/check-networking.m4 @@ -1,6 +1,6 @@ dnl $Id$ dnl -AC_DEFUN(RTEMS_CHECK_NETWORKING, +AC_DEFUN([RTEMS_CHECK_NETWORKING], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl AC_REQUIRE([RTEMS_ENABLE_NETWORKING])dnl diff --git a/testsuites/aclocal/check-posix.m4 b/testsuites/aclocal/check-posix.m4 index bcb7f3c728..9c66a78118 100644 --- a/testsuites/aclocal/check-posix.m4 +++ b/testsuites/aclocal/check-posix.m4 @@ -1,6 +1,6 @@ dnl $Id$ dnl -AC_DEFUN(RTEMS_CHECK_POSIX_API, +AC_DEFUN([RTEMS_CHECK_POSIX_API], [dnl AC_REQUIRE([RTEMS_CANONICAL_TARGET_CPU])dnl AC_REQUIRE([RTEMS_ENABLE_POSIX])dnl @@ -28,7 +28,7 @@ fi AC_SUBST(HAS_POSIX_API)dnl ]) -AC_DEFUN(RTEMS_DEFINE_POSIX_API, +AC_DEFUN([RTEMS_DEFINE_POSIX_API], [AC_REQUIRE([RTEMS_CHECK_POSIX_API])dnl AS_IF( [test x"${HAS_POSIX_API}" = x"yes"], diff --git a/testsuites/aclocal/check-tool.m4 b/testsuites/aclocal/check-tool.m4 index 5a91490e74..4c412c074a 100644 --- a/testsuites/aclocal/check-tool.m4 +++ b/testsuites/aclocal/check-tool.m4 @@ -3,7 +3,7 @@ dnl $Id$ ## Check for a cross tool, similar to AC_CHECK_TOOL, but do not fall back to ## the un-prefixed version of PROG-TO-CHECK-FOR. dnl RTEMS_CHECK_TOOL(VARIABLE, PROG-TO-CHECK-FOR[, VALUE-IF-NOT-FOUND [, PATH]]) -AC_DEFUN(RTEMS_CHECK_TOOL, +AC_DEFUN([RTEMS_CHECK_TOOL], [ AS_IF([test "x$build_alias" != "x$host_alias"], [rtems_tool_prefix=${ac_tool_prefix}]) diff --git a/testsuites/aclocal/config-subdirs.m4 b/testsuites/aclocal/config-subdirs.m4 index 6f9360bc80..38e059d9e6 100644 --- a/testsuites/aclocal/config-subdirs.m4 +++ b/testsuites/aclocal/config-subdirs.m4 @@ -11,7 +11,7 @@ dnl dnl dnl _AC_DOTS(PATH) dnl -AC_DEFUN(_AC_DOTS,[ +AC_DEFUN([_AC_DOTS],[ # A "../" for each directory in $1. ac_dots=`echo $1 | \ sed -e 's%^\./%%' -e 's%[[^/]]$%&/%' -e 's%[[^/]]*/%../%g'` @@ -20,7 +20,7 @@ AC_DEFUN(_AC_DOTS,[ dnl dnl _RTEMS_ADJUST_SRCDIR(REVAR,CONFIG_DIR[,TARGET_SUBDIR]) dnl -AC_DEFUN(_RTEMS_ADJUST_SRCDIR,[ +AC_DEFUN([_RTEMS_ADJUST_SRCDIR],[ _AC_DOTS(ifelse([$3], ,[$2],[$3/$2])) case "$srcdir" in diff --git a/testsuites/aclocal/enable-bare.m4 b/testsuites/aclocal/enable-bare.m4 index 43219461f8..a52a927d1c 100644 --- a/testsuites/aclocal/enable-bare.m4 +++ b/testsuites/aclocal/enable-bare.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(RTEMS_ENABLE_BARE, +AC_DEFUN([RTEMS_ENABLE_BARE], [ AC_ARG_ENABLE(bare-cpu-cflags, [AC_HELP_STRING([--enable-bare-cpu-cflags], diff --git a/testsuites/aclocal/enable-cxx.m4 b/testsuites/aclocal/enable-cxx.m4 index cde862d39f..eb46663381 100644 --- a/testsuites/aclocal/enable-cxx.m4 +++ b/testsuites/aclocal/enable-cxx.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_CXX, +AC_DEFUN([RTEMS_ENABLE_CXX], [ AC_ARG_ENABLE(cxx, [AC_HELP_STRING([--enable-cxx], diff --git a/testsuites/aclocal/enable-itron.m4 b/testsuites/aclocal/enable-itron.m4 index 3157ce0641..d2911ad29d 100644 --- a/testsuites/aclocal/enable-itron.m4 +++ b/testsuites/aclocal/enable-itron.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_ITRON, +AC_DEFUN([RTEMS_ENABLE_ITRON], [ ## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl diff --git a/testsuites/aclocal/enable-multiprocessing.m4 b/testsuites/aclocal/enable-multiprocessing.m4 index 129de0a735..3d5c8f81b7 100644 --- a/testsuites/aclocal/enable-multiprocessing.m4 +++ b/testsuites/aclocal/enable-multiprocessing.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_MULTIPROCESSING, +AC_DEFUN([RTEMS_ENABLE_MULTIPROCESSING], [ AC_ARG_ENABLE(multiprocessing, [AC_HELP_STRING([--enable-multiprocessing], diff --git a/testsuites/aclocal/enable-networking.m4 b/testsuites/aclocal/enable-networking.m4 index 9aa3643b5a..94d919e58a 100644 --- a/testsuites/aclocal/enable-networking.m4 +++ b/testsuites/aclocal/enable-networking.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_NETWORKING, +AC_DEFUN([RTEMS_ENABLE_NETWORKING], [ AC_ARG_ENABLE(networking, [AC_HELP_STRING([--enable-networking],[enable TCP/IP stack])], diff --git a/testsuites/aclocal/enable-posix.m4 b/testsuites/aclocal/enable-posix.m4 index 13be1417dd..63d5e4db93 100644 --- a/testsuites/aclocal/enable-posix.m4 +++ b/testsuites/aclocal/enable-posix.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_POSIX, +AC_DEFUN([RTEMS_ENABLE_POSIX], [ ## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl diff --git a/testsuites/aclocal/enable-rtemsbsp.m4 b/testsuites/aclocal/enable-rtemsbsp.m4 index 10ffcf6827..2bf0310ade 100644 --- a/testsuites/aclocal/enable-rtemsbsp.m4 +++ b/testsuites/aclocal/enable-rtemsbsp.m4 @@ -3,7 +3,7 @@ dnl $Id$ dnl Override the set of BSPs to be built. dnl used by the toplevel configure script dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp_list) -AC_DEFUN(RTEMS_ENABLE_RTEMSBSP, +AC_DEFUN([RTEMS_ENABLE_RTEMSBSP], [ AC_BEFORE([$0], [RTEMS_ENV_RTEMSBSP]) AC_ARG_ENABLE(rtemsbsp, diff --git a/testsuites/aclocal/enable-tests.m4 b/testsuites/aclocal/enable-tests.m4 index a535f8214b..449185e1ad 100644 --- a/testsuites/aclocal/enable-tests.m4 +++ b/testsuites/aclocal/enable-tests.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_ENABLE_TESTS, +AC_DEFUN([RTEMS_ENABLE_TESTS], [ AC_ARG_ENABLE(tests, [AC_HELP_STRING([--enable-tests],[enable tests (default:samples)])], diff --git a/testsuites/aclocal/env-rtemsbsp.m4 b/testsuites/aclocal/env-rtemsbsp.m4 index 705df4d4dc..6f188f813d 100644 --- a/testsuites/aclocal/env-rtemsbsp.m4 +++ b/testsuites/aclocal/env-rtemsbsp.m4 @@ -2,7 +2,7 @@ dnl $Id$ dnl Pass a single BSP via an environment variable dnl used by per BSP configure scripts -AC_DEFUN(RTEMS_ENV_RTEMSBSP, +AC_DEFUN([RTEMS_ENV_RTEMSBSP], [dnl AC_BEFORE([$0], [RTEMS_ENABLE_RTEMSBSP])dnl AC_BEFORE([$0], [RTEMS_PROJECT_ROOT])dnl diff --git a/testsuites/aclocal/gcc-isystem.m4 b/testsuites/aclocal/gcc-isystem.m4 index c230508208..94098cf33c 100644 --- a/testsuites/aclocal/gcc-isystem.m4 +++ b/testsuites/aclocal/gcc-isystem.m4 @@ -4,7 +4,7 @@ dnl dnl Check whether the gcc accepts -isystem dnl -AC_DEFUN(RTEMS_GCC_ISYSTEM, +AC_DEFUN([RTEMS_GCC_ISYSTEM], [AC_REQUIRE([RTEMS_PROG_CC]) AC_CACHE_CHECK(whether $CC accepts -isystem,rtems_cv_gcc_isystem, [ diff --git a/testsuites/aclocal/gcc-pipe.m4 b/testsuites/aclocal/gcc-pipe.m4 index 093ea2edf4..2a04629bb2 100644 --- a/testsuites/aclocal/gcc-pipe.m4 +++ b/testsuites/aclocal/gcc-pipe.m4 @@ -4,7 +4,7 @@ dnl dnl Check whether the target compiler accepts -pipe dnl -AC_DEFUN(RTEMS_GCC_PIPE, +AC_DEFUN([RTEMS_GCC_PIPE], [AC_REQUIRE([RTEMS_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_CACHE_CHECK(whether $CC accepts --pipe,rtems_cv_gcc_pipe, diff --git a/testsuites/aclocal/gcc-specs.m4 b/testsuites/aclocal/gcc-specs.m4 index ca0271424f..dd49bb95d4 100644 --- a/testsuites/aclocal/gcc-specs.m4 +++ b/testsuites/aclocal/gcc-specs.m4 @@ -4,7 +4,7 @@ dnl dnl Check whether the target compiler accepts -specs dnl -AC_DEFUN(RTEMS_GCC_SPECS, +AC_DEFUN([RTEMS_GCC_SPECS], [AC_REQUIRE([RTEMS_PROG_CC]) AC_CACHE_CHECK(whether $CC accepts -specs,rtems_cv_gcc_specs, [ diff --git a/testsuites/aclocal/multilib.m4 b/testsuites/aclocal/multilib.m4 index 66896f9ce5..d76c71d26f 100644 --- a/testsuites/aclocal/multilib.m4 +++ b/testsuites/aclocal/multilib.m4 @@ -2,7 +2,7 @@ dnl This provides configure definitions used for multilib support dnl parts of these macros are derived from newlib-1.8.2's multilib support -AC_DEFUN(RTEMS_ENABLE_MULTILIB, +AC_DEFUN([RTEMS_ENABLE_MULTILIB], [ AC_ARG_ENABLE(multilib, AC_HELP_STRING([--enable-multilib], diff --git a/testsuites/aclocal/path-ksh.m4 b/testsuites/aclocal/path-ksh.m4 index 881dd0c9ec..306c4ca2e7 100644 --- a/testsuites/aclocal/path-ksh.m4 +++ b/testsuites/aclocal/path-ksh.m4 @@ -1,6 +1,6 @@ dnl $Id$ -AC_DEFUN(RTEMS_PATH_KSH, +AC_DEFUN([RTEMS_PATH_KSH], [ dnl NOTE: prefer bash over ksh over sh AC_PATH_PROGS(KSH,bash ksh sh) diff --git a/testsuites/aclocal/prog-cc.m4 b/testsuites/aclocal/prog-cc.m4 index 24a9d842a1..7b4335ca17 100644 --- a/testsuites/aclocal/prog-cc.m4 +++ b/testsuites/aclocal/prog-cc.m4 @@ -4,7 +4,7 @@ dnl dnl Check for target gcc dnl -AC_DEFUN(RTEMS_PROG_CC, +AC_DEFUN([RTEMS_PROG_CC], [ AC_BEFORE([$0], [AC_PROG_CPP])dnl AC_BEFORE([$0], [AC_PROG_CC])dnl @@ -22,7 +22,7 @@ AC_PROG_CPP AM_CONDITIONAL(RTEMS_USE_GCC,test x"$GCC" = x"yes") ]) -AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET, +AC_DEFUN([RTEMS_PROG_CC_FOR_TARGET], [ dnl check target cc RTEMS_PROG_CC diff --git a/testsuites/aclocal/prog-cxx.m4 b/testsuites/aclocal/prog-cxx.m4 index 8db69bf804..8991489814 100644 --- a/testsuites/aclocal/prog-cxx.m4 +++ b/testsuites/aclocal/prog-cxx.m4 @@ -4,7 +4,7 @@ dnl dnl Check for target g++ dnl -AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET, +AC_DEFUN([RTEMS_PROG_CXX_FOR_TARGET], [ AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl AC_REQUIRE([RTEMS_ENABLE_CXX]) diff --git a/testsuites/aclocal/project-root.m4 b/testsuites/aclocal/project-root.m4 index b520b94b5a..2f27bfe55b 100644 --- a/testsuites/aclocal/project-root.m4 +++ b/testsuites/aclocal/project-root.m4 @@ -12,7 +12,7 @@ dnl RTEMS_ROOT .. path to the top of a bsp's build directory dnl [Applied by custom/*.cfg, depredicated otherwise] dnl -AC_DEFUN(RTEMS_PROJECT_ROOT, +AC_DEFUN([RTEMS_PROJECT_ROOT], [dnl AC_REQUIRE([RTEMS_TOP]) diff --git a/testsuites/aclocal/rtems-test-no-pause.m4 b/testsuites/aclocal/rtems-test-no-pause.m4 index 17d92e9a12..2223c4fa63 100644 --- a/testsuites/aclocal/rtems-test-no-pause.m4 +++ b/testsuites/aclocal/rtems-test-no-pause.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(RTEMS_ENABLE_RTEMS_TEST_NO_PAUSE, +AC_DEFUN([RTEMS_ENABLE_RTEMS_TEST_NO_PAUSE], [AC_ARG_ENABLE(test-no-pause, AC_HELP_STRING([--disable-test-no-pause],[disable RTEMS_TEST_NO_PAUSE]), [case "${enableval}" in @@ -8,7 +8,7 @@ AC_HELP_STRING([--disable-test-no-pause],[disable RTEMS_TEST_NO_PAUSE]), esac],[RTEMS_TEST_NO_PAUSE=yes]) ]) -AC_DEFUN(RTEMS_CHECK_RTEMS_TEST_NO_PAUSE, +AC_DEFUN([RTEMS_CHECK_RTEMS_TEST_NO_PAUSE], [AC_REQUIRE([RTEMS_ENABLE_RTEMS_TEST_NO_PAUSE]) if test x"${RTEMS_TEST_NO_PAUSE}" = x"yes"; then diff --git a/testsuites/aclocal/rtems-top.m4 b/testsuites/aclocal/rtems-top.m4 index f00e640902..9dbcbbdb00 100644 --- a/testsuites/aclocal/rtems-top.m4 +++ b/testsuites/aclocal/rtems-top.m4 @@ -7,7 +7,7 @@ dnl RTEMS_TOP($1) dnl dnl $1 .. relative path from this configure.in to the toplevel configure.in dnl -AC_DEFUN(RTEMS_TOP, +AC_DEFUN([RTEMS_TOP], [dnl AC_REQUIRE([RTEMS_VERSIONING]) AC_CONFIG_AUX_DIR([$1]) diff --git a/testsuites/aclocal/target.m4 b/testsuites/aclocal/target.m4 index d6c2de9fd2..5783146f87 100644 --- a/testsuites/aclocal/target.m4 +++ b/testsuites/aclocal/target.m4 @@ -2,7 +2,7 @@ dnl $Id$ ## HACK: Work-around to structural issue with RTEMS ## The macros below violate most autoconf and canonicalization standards -AC_DEFUN(RTEMS_CONFIG_BUILD_SUBDIRS, +AC_DEFUN([RTEMS_CONFIG_BUILD_SUBDIRS], [AC_REQUIRE([_RTEMS_OUTPUT_BUILD_SUBDIRS]) RTEMS_BUILD_SUBDIRS="$RTEMS_BUILD_SUBDIRS [$1]" ]) @@ -86,7 +86,7 @@ dnl dnl dnl _RTEMS_PUSH_BUILDDIR(SUBDIR) dnl -AC_DEFUN(_RTEMS_PUSH_BUILDDIR, +AC_DEFUN([_RTEMS_PUSH_BUILDDIR], [ # _RTEMS_PUSH_BUILDDIR echo configuring in $1 @@ -103,7 +103,7 @@ AC_DEFUN(_RTEMS_PUSH_BUILDDIR, dnl dnl _RTEMS_POP_BUILDDIR dnl -AC_DEFUN(_RTEMS_POP_BUILDDIR, +AC_DEFUN([_RTEMS_POP_BUILDDIR], [ cd $ac_popdir ]) @@ -111,7 +111,7 @@ AC_DEFUN(_RTEMS_POP_BUILDDIR, dnl dnl _RTEMS_GIVEN_INSTALL dnl -AC_DEFUN(_RTEMS_GIVEN_INSTALL, +AC_DEFUN([_RTEMS_GIVEN_INSTALL], [ ifdef([AC_PROVIDE_AC_PROG_INSTALL],[ case "$ac_given_INSTALL" in @@ -124,7 +124,7 @@ ifdef([AC_PROVIDE_AC_PROG_INSTALL],[ dnl dnl _RTEMS_SUB_SRCDIR(AC_CONFIG_DIR[,TARGET_SUBDIR]) dnl -AC_DEFUN(_RTEMS_SUB_SRCDIR,[ +AC_DEFUN([_RTEMS_SUB_SRCDIR],[ # _RTEMS_SUB_SRCDIR _RTEMS_ADJUST_SRCDIR(ac_sub_srcdir,$1,$2) diff --git a/testsuites/aclocal/tool-paths.m4 b/testsuites/aclocal/tool-paths.m4 index cb61747afd..ff6e5f830e 100644 --- a/testsuites/aclocal/tool-paths.m4 +++ b/testsuites/aclocal/tool-paths.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(RTEMS_TOOLPATHS, +AC_DEFUN([RTEMS_TOOLPATHS], [ # tooldir='$(exec_prefix)/'$target_alias # Temporary work-around until building in source tree is supported -- cgit v1.2.3