From: Akim Demaille Date: Fri, 4 Feb 2000 13:20:19 +0000 (+0000) Subject: * acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): No use X-Git-Tag: autoconf-2.50~1249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ef18f1d044148ddafb11eb1342a28cfffc7f1a8;p=thirdparty%2Fautoconf.git * acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): No use to hide, you are DEFUNCT. --- diff --git a/ChangeLog b/ChangeLog index 59be8f70b..96b2e73ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-02-04 Akim Demaille + + * acspecific.m4 (AC_RSH, AC_ARG_ARRAY, AC_HAVE_POUNDBANG): No use + to hide, you are DEFUNCT. + 1999-11-14 Akim Demaille * autoconf.texi (Invoking ifnames): ifnames no longer supports diff --git a/acspecific.m4 b/acspecific.m4 index 6fbb3eb3b..2aa3fe5b4 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -716,12 +716,12 @@ AC_DEFUN(AC_PROG_CXXCPP, [AC_MSG_CHECKING(how to run the C++ preprocessor) if test -z "$CXXCPP"; then AC_CACHE_VAL(ac_cv_prog_CXXCPP, -[AC_LANG_SAVE[]dnl -AC_LANG_CPLUSPLUS[]dnl +[AC_LANG_SAVE()dnl +AC_LANG_CPLUSPLUS()dnl CXXCPP="${CXX-g++} -E" AC_TRY_CPP([#include ], , CXXCPP=/lib/cpp) ac_cv_prog_CXXCPP="$CXXCPP" -AC_LANG_RESTORE[]dnl +AC_LANG_RESTORE()dnl ])dnl CXXCPP="$ac_cv_prog_CXXCPP" fi @@ -894,8 +894,7 @@ AC_SUBST(LN_S)dnl ])dnl AC_PROG_LN_S -define(AC_RSH, -[AC_FATAL([$0 has been removed; replace it with equivalent code], 4)]) +AC_DEFUNCT(AC_RSH, [; replace it with equivalent code]) dnl ### Checks for header files @@ -1079,7 +1078,7 @@ AC_DEFUN(AC_DECL_SYS_SIGLIST, #include /* NetBSD declares sys_siglist in unistd.h. */ #ifdef HAVE_UNISTD_H -#include +# include #endif ], [char *msg = *(sys_siglist + 1);], ac_cv_decl_sys_siglist=yes, ac_cv_decl_sys_siglist=no)]) @@ -2637,8 +2636,7 @@ fi ])dnl AC_C_PROTOTYPES -define(AC_ARG_ARRAY, -[AC_FATAL([$0 has been removed; don't do non-portable things with arguments], 4)]) +AC_DEFUNCT(AC_ARG_ARRAY, [; don't do unportable things with arguments]) dnl Check the object extension used by the compiler: typically .o or dnl .obj. If this is called, some other behaviour will change, @@ -3029,8 +3027,7 @@ rm -f conftest]) interpval="$ac_cv_sys_interpreter" ]) -define(AC_HAVE_POUNDBANG, -[AC_FATAL([$0 has been replaced by AC_SYS_INTERPRETER, taking no arguments], 4)]) +AC_DEFUNCT(AC_HAVE_POUNDBANG, [;use AC_SYS_INTERPRETER, taking no arguments]) AC_DEFUN(AC_SYS_LONG_FILE_NAMES, [AC_CACHE_CHECK(for long file names, ac_cv_sys_long_file_names, diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 6fbb3eb3b..2aa3fe5b4 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -716,12 +716,12 @@ AC_DEFUN(AC_PROG_CXXCPP, [AC_MSG_CHECKING(how to run the C++ preprocessor) if test -z "$CXXCPP"; then AC_CACHE_VAL(ac_cv_prog_CXXCPP, -[AC_LANG_SAVE[]dnl -AC_LANG_CPLUSPLUS[]dnl +[AC_LANG_SAVE()dnl +AC_LANG_CPLUSPLUS()dnl CXXCPP="${CXX-g++} -E" AC_TRY_CPP([#include ], , CXXCPP=/lib/cpp) ac_cv_prog_CXXCPP="$CXXCPP" -AC_LANG_RESTORE[]dnl +AC_LANG_RESTORE()dnl ])dnl CXXCPP="$ac_cv_prog_CXXCPP" fi @@ -894,8 +894,7 @@ AC_SUBST(LN_S)dnl ])dnl AC_PROG_LN_S -define(AC_RSH, -[AC_FATAL([$0 has been removed; replace it with equivalent code], 4)]) +AC_DEFUNCT(AC_RSH, [; replace it with equivalent code]) dnl ### Checks for header files @@ -1079,7 +1078,7 @@ AC_DEFUN(AC_DECL_SYS_SIGLIST, #include /* NetBSD declares sys_siglist in unistd.h. */ #ifdef HAVE_UNISTD_H -#include +# include #endif ], [char *msg = *(sys_siglist + 1);], ac_cv_decl_sys_siglist=yes, ac_cv_decl_sys_siglist=no)]) @@ -2637,8 +2636,7 @@ fi ])dnl AC_C_PROTOTYPES -define(AC_ARG_ARRAY, -[AC_FATAL([$0 has been removed; don't do non-portable things with arguments], 4)]) +AC_DEFUNCT(AC_ARG_ARRAY, [; don't do unportable things with arguments]) dnl Check the object extension used by the compiler: typically .o or dnl .obj. If this is called, some other behaviour will change, @@ -3029,8 +3027,7 @@ rm -f conftest]) interpval="$ac_cv_sys_interpreter" ]) -define(AC_HAVE_POUNDBANG, -[AC_FATAL([$0 has been replaced by AC_SYS_INTERPRETER, taking no arguments], 4)]) +AC_DEFUNCT(AC_HAVE_POUNDBANG, [;use AC_SYS_INTERPRETER, taking no arguments]) AC_DEFUN(AC_SYS_LONG_FILE_NAMES, [AC_CACHE_CHECK(for long file names, ac_cv_sys_long_file_names,