From 0ca482026482b540f00fffcca34c9b1b0df7d637 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Mon, 4 Oct 2004 15:46:46 +0000 Subject: Quote DEFUN names to please recent versions of autoconf. --- conf/m4/plptools/AC_REMOVE_FORBIDDEN.m4 | 2 +- conf/m4/plptools/AC_VALIDIFY_CXXFLAGS.m4 | 2 +- conf/m4/plptools/PLP_CHECK_COMPILERS.m4 | 2 +- conf/m4/plptools/PLP_CHECK_COMPILER_FLAG.m4 | 2 +- conf/m4/plptools/PLP_CHECK_INTL.m4 | 2 +- conf/m4/plptools/PLP_CHECK_READLINE.m4 | 4 ++-- conf/m4/plptools/PLP_FIND_CDEV.m4 | 2 +- conf/m4/plptools/PLP_FIND_FILE.m4 | 2 +- conf/m4/plptools/PLP_HELP_MESSAGE.m4 | 2 +- conf/m4/plptools/PLP_SET_LIBVERSION.m4 | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/conf/m4/plptools/AC_REMOVE_FORBIDDEN.m4 b/conf/m4/plptools/AC_REMOVE_FORBIDDEN.m4 index 77f0dca..87a4b40 100644 --- a/conf/m4/plptools/AC_REMOVE_FORBIDDEN.m4 +++ b/conf/m4/plptools/AC_REMOVE_FORBIDDEN.m4 @@ -1,7 +1,7 @@ dnl AC_REMOVE_FORBIDDEN removes forbidden arguments from variables dnl use: AC_REMOVE_FORBIDDEN(CC, [-forbid -bad-option whatever]) dnl it's all white-space separated -AC_DEFUN(AC_REMOVE_FORBIDDEN, +AC_DEFUN([AC_REMOVE_FORBIDDEN], [ __val=$$1 __forbid=" $2 " if test -n "$__val"; then diff --git a/conf/m4/plptools/AC_VALIDIFY_CXXFLAGS.m4 b/conf/m4/plptools/AC_VALIDIFY_CXXFLAGS.m4 index b2b089a..25cb7ea 100644 --- a/conf/m4/plptools/AC_VALIDIFY_CXXFLAGS.m4 +++ b/conf/m4/plptools/AC_VALIDIFY_CXXFLAGS.m4 @@ -1,5 +1,5 @@ dnl AC_VALIDIFY_CXXFLAGS checks for forbidden flags the user may have given -AC_DEFUN(AC_VALIDIFY_CXXFLAGS, +AC_DEFUN([AC_VALIDIFY_CXXFLAGS], [dnl AC_REMOVE_FORBIDDEN(CXX, [-fno-rtti -rpath]) AC_REMOVE_FORBIDDEN(CXXFLAGS, [-fno-rtti -rpath]) diff --git a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 index bb43645..6797a58 100644 --- a/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 +++ b/conf/m4/plptools/PLP_CHECK_COMPILERS.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(PLP_CHECK_COMPILERS, +AC_DEFUN([PLP_CHECK_COMPILERS], [ AC_ARG_ENABLE(debug,[ --enable-debug enables debug symbols [default=no]], [ diff --git a/conf/m4/plptools/PLP_CHECK_COMPILER_FLAG.m4 b/conf/m4/plptools/PLP_CHECK_COMPILER_FLAG.m4 index 120499e..ce4c9ac 100644 --- a/conf/m4/plptools/PLP_CHECK_COMPILER_FLAG.m4 +++ b/conf/m4/plptools/PLP_CHECK_COMPILER_FLAG.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(PLP_CHECK_COMPILER_FLAG, +AC_DEFUN([PLP_CHECK_COMPILER_FLAG], [ dnl AC_REQUIRE([AC_CHECK_COMPILERS]) <- breaks with autoconf 2.50 AC_MSG_CHECKING(whether $CXX supports -$1) diff --git a/conf/m4/plptools/PLP_CHECK_INTL.m4 b/conf/m4/plptools/PLP_CHECK_INTL.m4 index f57ffdb..4dfdf33 100644 --- a/conf/m4/plptools/PLP_CHECK_INTL.m4 +++ b/conf/m4/plptools/PLP_CHECK_INTL.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(PLP_CHECK_INTL,[ +AC_DEFUN([PLP_CHECK_INTL],[ if test "${USE_NLS}" = "yes" ; then if test "${USE_INCLUDED_LIBINTL}" = "yes" ; then plp_have_bind_textdomain_codeset=no diff --git a/conf/m4/plptools/PLP_CHECK_READLINE.m4 b/conf/m4/plptools/PLP_CHECK_READLINE.m4 index 7f832ac..4762c6a 100644 --- a/conf/m4/plptools/PLP_CHECK_READLINE.m4 +++ b/conf/m4/plptools/PLP_CHECK_READLINE.m4 @@ -7,7 +7,7 @@ dnl On RedHat 7.0 however, libtermcap is broken: It contains no dnl symbols at all. Fortunately, libcurses provides the same dnl and therefore we have to check for that special case.) dnl -AC_DEFUN(PLP_CHECK_READLINE, +AC_DEFUN([PLP_CHECK_READLINE], [ AC_MSG_CHECKING(for readline in -lreadline) ac_cv_readline_libs="" @@ -62,7 +62,7 @@ dnl Check for readline version. dnl Those readline developers change their API too frequently dnl and don't provide a version number in the headers :-( dnl -AC_DEFUN(PLP_READLINE_VERSION, +AC_DEFUN([PLP_READLINE_VERSION], [ AC_MSG_CHECKING(for readline version) saved_libs=$LIBS diff --git a/conf/m4/plptools/PLP_FIND_CDEV.m4 b/conf/m4/plptools/PLP_FIND_CDEV.m4 index 557d7e9..25c3c34 100644 --- a/conf/m4/plptools/PLP_FIND_CDEV.m4 +++ b/conf/m4/plptools/PLP_FIND_CDEV.m4 @@ -6,7 +6,7 @@ dnl dnl On return, variable FOUND is set to one of the devices or to NO, if none dnl was found. dnl -AC_DEFUN(PLP_FIND_CDEV,[ +AC_DEFUN([PLP_FIND_CDEV],[ $2=NO for i in $1; do if test -c "$i" ; then diff --git a/conf/m4/plptools/PLP_FIND_FILE.m4 b/conf/m4/plptools/PLP_FIND_FILE.m4 index 868b2d5..5de64e4 100644 --- a/conf/m4/plptools/PLP_FIND_FILE.m4 +++ b/conf/m4/plptools/PLP_FIND_FILE.m4 @@ -6,7 +6,7 @@ dnl dnl On return, variable FOUND is set to one of fileX or to NO, if none dnl was found. dnl -AC_DEFUN(PLP_FIND_FILE,[ +AC_DEFUN([PLP_FIND_FILE],[ $2=NO for i in $1; do if test -r "$i" ; then diff --git a/conf/m4/plptools/PLP_HELP_MESSAGE.m4 b/conf/m4/plptools/PLP_HELP_MESSAGE.m4 index b58aafd..a042d40 100644 --- a/conf/m4/plptools/PLP_HELP_MESSAGE.m4 +++ b/conf/m4/plptools/PLP_HELP_MESSAGE.m4 @@ -1,7 +1,7 @@ dnl dnl Insert a custom line into the output of configure --help dnl -AC_DEFUN(PLP_HELP_MSG,[ +AC_DEFUN([PLP_HELP_MSG],[ AC_DIVERT_PUSH(NOTICE)dnl ac_help="$ac_help [$1]" diff --git a/conf/m4/plptools/PLP_SET_LIBVERSION.m4 b/conf/m4/plptools/PLP_SET_LIBVERSION.m4 index 8c03f03..3f1e8a4 100644 --- a/conf/m4/plptools/PLP_SET_LIBVERSION.m4 +++ b/conf/m4/plptools/PLP_SET_LIBVERSION.m4 @@ -1,4 +1,4 @@ -AC_DEFUN(PLP_SET_LIBVERSION, +AC_DEFUN([PLP_SET_LIBVERSION], [ AC_REQUIRE([AM_INIT_AUTOMAKE]) maj=$(echo ${VERSION} | cut -d. -f1) -- cgit v1.2.3