File timidity-quote_m4_macros.patch of Package timidity
Index: autoconf/vorbis.m4
===================================================================
--- autoconf/vorbis.m4.orig 2002-07-06 16:38:06.000000000 +0200
+++ autoconf/vorbis.m4 2011-01-17 13:28:36.584073865 +0100
@@ -5,7 +5,7 @@
dnl AM_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS
dnl
-AC_DEFUN(AM_PATH_VORBIS,
+AC_DEFUN([AM_PATH_VORBIS],
[dnl
dnl Get the cflags and libraries
dnl
Index: autoconf/utils.m4
===================================================================
--- autoconf/utils.m4.orig 2002-07-06 16:49:10.000000000 +0200
+++ autoconf/utils.m4 2011-01-17 13:24:32.653068315 +0100
@@ -17,7 +17,7 @@ dnl along with this program; if not, wri
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl MY_DEFINE(VARIABLE)
-AC_DEFUN(MY_DEFINE,
+AC_DEFUN([MY_DEFINE],
[cat >> confdefs.h <<EOF
[#define] $1 1
EOF
@@ -29,7 +29,7 @@ dnl action-if-yes-or-dy
dnl $5
dnl action-if-yes,action-if-dynamic,action-if-no)
dnl $6 $7 $8
-AC_DEFUN(CONFIG_INTERFACE,
+AC_DEFUN([CONFIG_INTERFACE],
[AC_ARG_ENABLE($1,[$4],
[case "x$enable_$1" in xyes|xdynamic) $5 ;; esac])
case "x$enable_$1" in
@@ -53,9 +53,9 @@ dnl CHECK_DLSYM_UNDERSCORE([ACTION-IF-NE
dnl variable input:
dnl CC CFLAGS CPPFLAGS LDFLAGS LIBS SHCFLAGS SHLD SHLDFLAGS
dnl ac_cv_header_dlfcn_h lib_dl_opt so
-AC_DEFUN(CHECK_DLSYM_UNDERSCORE,
+AC_DEFUN([CHECK_DLSYM_UNDERSCORE],
[dnl Check if dlsym need a leading underscore
-AC_MSG_CHECKING(whether your dlsym() needs a leading underscore)
+AC_MSG_CHECKING([whether your dlsym() needs a leading underscore])
AC_CACHE_VAL(timidity_cv_func_dlsym_underscore,
[case "$ac_cv_header_dlfcn_h" in
yes) i_dlfcn=define;;
@@ -144,9 +144,9 @@ esac
dnl contains program from perl5
dnl CONTAINS_INIT()
-AC_DEFUN(CONTAINS_INIT,
+AC_DEFUN([CONTAINS_INIT],
[dnl Some greps do not return status, grrr.
-AC_MSG_CHECKING(whether grep returns status)
+AC_MSG_CHECKING([whether grep returns status])
echo "grimblepritz" >grimble
if grep blurfldyick grimble >/dev/null 2>&1 ; then
contains="./contains"
@@ -171,7 +171,7 @@ esac
])
dnl CONTAINS(word,filename,action-if-found,action-if-not-found)
-AC_DEFUN(CONTAINS,
+AC_DEFUN([CONTAINS],
[if $contains "^[$1]"'[$]' $2 >/dev/null 2>&1; then
[$3]
else
@@ -180,7 +180,7 @@ fi
])
dnl SET_UNIQ_WORDS(shell-variable,words...)
-AC_DEFUN(SET_UNIQ_WORDS,
+AC_DEFUN([SET_UNIQ_WORDS],
[rm -f wordtmp >/dev/null 2>&1
val=''
for f in $2; do
@@ -193,7 +193,7 @@ rm -f wordtmp >/dev/null 2>&1
dnl WAPI_CHECK_FUNC(FUNCTION, INCLUDES, TEST-BODY,
[ACTION-FI-FOUND [, ACTION-IF-NOT-FOUND]])
-AC_DEFUN(WAPI_CHECK_FUNC,
+AC_DEFUN([WAPI_CHECK_FUNC],
[AC_MSG_CHECKING(for $1)
AC_CACHE_VAL(wapi_cv_func_$1,
[AC_TRY_LINK([#include <windows.h>
@@ -214,7 +214,7 @@ dnl WAPI_CHECK_LIB(LIBRARY, FUNCTION,
dnl INCLUDES, TEST-BODY
dnl [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND
dnl [, OTHER-LIBRARIES]]])
-AC_DEFUN(WAPI_CHECK_LIB,
+AC_DEFUN([WAPI_CHECK_LIB],
[AC_MSG_CHECKING([for $2 in -l$1])
ac_lib_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
AC_CACHE_VAL(wapi_cv_lib_$ac_lib_var,
@@ -238,7 +238,7 @@ fi
])
dnl EXTRACT_CPPFLAGS(CPPFLAGS-to-append,others-to-append,FLAGS)
-AC_DEFUN(EXTRACT_CPPFLAGS,
+AC_DEFUN([EXTRACT_CPPFLAGS],
[for f in $3; do
case ".$f" in
.-I?*|.-D?*) $1="[$]$1 $f" ;;
@@ -249,7 +249,7 @@ done
dnl CHECK_COMPILER_OPTION(OPTIONS [, ACTION-IF-SUCCEED [, ACTION-IF-FAILED]])
-AC_DEFUN(CHECK_COMPILER_OPTION,
+AC_DEFUN([CHECK_COMPILER_OPTION],
[AC_MSG_CHECKING([whether -$1 option is recognized])
ac_ccoption=`echo $1 | sed 'y%./+-%__p_%'`
AC_CACHE_VAL(timidity_cv_ccoption_$ac_ccoption,
@@ -282,7 +282,7 @@ dnl MY_SEARCH_LIBS(FUNCTION, LIBRARIES [
dnl [, ACTION-IF-NOT-FOUND [, OTHER-LIBRARIES]]])
dnl Search for a library defining FUNC, if it's not already available.
-AC_DEFUN(MY_SEARCH_LIBS,
+AC_DEFUN([MY_SEARCH_LIBS],
[AC_CACHE_CHECK([for library containing $1], [timidity_cv_search_$1],
[ac_func_search_save_LIBS="$LIBS"
timidity_cv_search_$1="no"
Index: autoconf/ogg.m4
===================================================================
--- autoconf/ogg.m4.orig 2002-07-18 19:51:27.000000000 +0200
+++ autoconf/ogg.m4 2011-01-17 13:29:03.148836861 +0100
@@ -5,7 +5,7 @@
dnl AM_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS
dnl
-AC_DEFUN(AM_PATH_OGG,
+AC_DEFUN([AM_PATH_OGG],
[dnl
dnl Get the cflags and libraries
dnl
Index: autoconf/alsa.m4
===================================================================
--- autoconf/alsa.m4.orig 2002-10-09 01:23:52.000000000 +0200
+++ autoconf/alsa.m4 2011-01-17 13:32:41.212100636 +0100
@@ -14,7 +14,7 @@ dnl
dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified,
dnl and the alsa libraries are not found, a fatal AC_MSG_ERROR() will result.
dnl
-AC_DEFUN(AM_PATH_ALSA,
+AC_DEFUN([AM_PATH_ALSA],
[dnl Save the original CFLAGS, LDFLAGS, and LIBS
alsa_save_CFLAGS="$CFLAGS"
alsa_save_LDFLAGS="$LDFLAGS"
Index: autoconf/ao.m4
===================================================================
--- autoconf/ao.m4.orig 2004-04-12 19:44:00.000000000 +0200
+++ autoconf/ao.m4 2011-01-17 13:32:51.114385097 +0100
@@ -6,7 +6,7 @@
dnl XIPH_PATH_AO([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libao, and define AO_CFLAGS and AO_LIBS
dnl
-AC_DEFUN(XIPH_PATH_AO,
+AC_DEFUN([XIPH_PATH_AO],
[dnl
dnl Get the cflags and libraries
dnl
Index: autoconf/arts.m4
===================================================================
--- autoconf/arts.m4.orig 2002-10-05 05:16:37.000000000 +0200
+++ autoconf/arts.m4 2011-01-17 13:33:01.824692772 +0100
@@ -9,7 +9,7 @@ dnl Snarfed from the ESD code below - bu
dnl AM_PATH_ARTS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for aRts, and define ARTS_CFLAGS and ARTS_LIBS
dnl
-AC_DEFUN(AM_PATH_ARTS,
+AC_DEFUN([AM_PATH_ARTS],
[dnl
dnl Get the cflags and libraries from the arts-config script
dnl
Index: autoconf/esd.m4
===================================================================
--- autoconf/esd.m4.orig 2002-07-06 16:38:47.000000000 +0200
+++ autoconf/esd.m4 2011-01-17 13:33:16.488114010 +0100
@@ -7,7 +7,7 @@
dnl AM_PATH_ESD([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for ESD, and define ESD_CFLAGS and ESD_LIBS
dnl
-AC_DEFUN(AM_PATH_ESD,
+AC_DEFUN([AM_PATH_ESD],
[dnl
dnl Get the cflags and libraries from the esd-config script
dnl
@@ -172,7 +172,7 @@ int main ()
dnl AM_ESD_SUPPORTS_MULTIPLE_RECORD([ACTION-IF-SUPPORTS [, ACTION-IF-NOT-SUPPORTS]])
dnl Test, whether esd supports multiple recording clients (version >=0.2.21)
dnl
-AC_DEFUN(AM_ESD_SUPPORTS_MULTIPLE_RECORD,
+AC_DEFUN([AM_ESD_SUPPORTS_MULTIPLE_RECORD],
[dnl
AC_MSG_NOTICE([whether installed esd version supports multiple recording clients])
ac_save_ESD_CFLAGS="$ESD_CFLAGS"
Index: autoconf/gtk-2.0.m4
===================================================================
--- autoconf/gtk-2.0.m4.orig 2004-05-30 10:02:23.000000000 +0200
+++ autoconf/gtk-2.0.m4 2011-01-17 13:33:28.526459841 +0100
@@ -5,7 +5,7 @@ dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [A
dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
dnl pass to pkg-config
dnl
-AC_DEFUN(AM_PATH_GTK_2_0,
+AC_DEFUN([AM_PATH_GTK_2_0],
[dnl
dnl Get the cflags and libraries from pkg-config
dnl
Index: autoconf/gtk.m4
===================================================================
--- autoconf/gtk.m4.orig 2002-07-06 16:37:59.000000000 +0200
+++ autoconf/gtk.m4 2011-01-17 13:33:41.940845205 +0100
@@ -4,7 +4,7 @@
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
-AC_DEFUN(AM_PATH_GTK,
+AC_DEFUN([AM_PATH_GTK],
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
Index: autoconf/libFLAC.m4
===================================================================
--- autoconf/libFLAC.m4.orig 2004-04-17 17:51:36.000000000 +0200
+++ autoconf/libFLAC.m4 2011-01-17 13:33:49.692067882 +0100
@@ -4,7 +4,7 @@
dnl AM_PATH_LIBFLAC([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libFLAC, and define LIBFLAC_CFLAGS and LIBFLAC_LIBS
dnl
-AC_DEFUN(AM_PATH_LIBFLAC,
+AC_DEFUN([AM_PATH_LIBFLAC],
[dnl
dnl Get the cflags and libraries
dnl
Index: autoconf/libOggFLAC.m4
===================================================================
--- autoconf/libOggFLAC.m4.orig 2004-04-17 17:51:36.000000000 +0200
+++ autoconf/libOggFLAC.m4 2011-01-17 13:29:46.665086773 +0100
@@ -4,7 +4,7 @@
dnl AM_PATH_LIBOGGFLAC([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl Test for libOggFLAC, and define LIBOGGFLAC_CFLAGS and LIBOGGFLAC_LIBS
dnl
-AC_DEFUN(AM_PATH_LIBOGGFLAC,
+AC_DEFUN([AM_PATH_LIBOGGFLAC],
[dnl
dnl Get the cflags and libraries
dnl