From: Bruno Haible Date: Wed, 7 Jan 2004 10:35:11 +0000 (+0000) Subject: Avoid automake-1.8 warnings. X-Git-Tag: v0.14~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47cb2ab955add583eedf71b3dc1dc828d5c2de96;p=thirdparty%2Fgettext.git Avoid automake-1.8 warnings. --- diff --git a/gettext-tools/examples/ChangeLog b/gettext-tools/examples/ChangeLog index 574b3dae9..86bc05c4d 100644 --- a/gettext-tools/examples/ChangeLog +++ b/gettext-tools/examples/ChangeLog @@ -1,3 +1,8 @@ +2003-12-26 Bruno Haible + + * hello-c++-qt/m4/qt.m4: Quote the first argument of AC_DEFUN. + * hello-c++-gnome/m4/gtk.m4, hello-c++-gnome/m4/gtk--.m4: Likewise. + 2003-12-17 Bruno Haible * gettext-0.13.1 released. diff --git a/gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4 b/gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4 index aad054003..896b64d64 100644 --- a/gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4 +++ b/gettext-tools/examples/hello-c++-gnome/m4/gtk--.m4 @@ -7,7 +7,7 @@ dnl Test for GTKMM, and define GTKMM_CFLAGS and GTKMM_LIBS dnl to be used as follows: dnl AM_PATH_GTKMM([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl -AC_DEFUN(AM_PATH_GTKMM, +AC_DEFUN([AM_PATH_GTKMM], [dnl dnl Get the cflags and libraries from the gtkmm-config script dnl diff --git a/gettext-tools/examples/hello-c++-gnome/m4/gtk.m4 b/gettext-tools/examples/hello-c++-gnome/m4/gtk.m4 index b8cf4024a..f2dd47219 100644 --- a/gettext-tools/examples/hello-c++-gnome/m4/gtk.m4 +++ b/gettext-tools/examples/hello-c++-gnome/m4/gtk.m4 @@ -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 diff --git a/gettext-tools/examples/hello-c++-qt/m4/qt.m4 b/gettext-tools/examples/hello-c++-qt/m4/qt.m4 index d2ba0b974..b734356a1 100644 --- a/gettext-tools/examples/hello-c++-qt/m4/qt.m4 +++ b/gettext-tools/examples/hello-c++-qt/m4/qt.m4 @@ -7,7 +7,7 @@ # check for a built-in bool type # HAVE_BOOL will be defined in the config header -AC_DEFUN(FUN_TYPE_BOOL, +AC_DEFUN([FUN_TYPE_BOOL], [ AC_REQUIRE([AC_PROG_CXX]) @@ -26,7 +26,7 @@ AC_DEFUN(FUN_TYPE_BOOL, # FUN_HEADER_STDCXX # check for standard ISO C++ headers -AC_DEFUN(FUN_HEADER_STDCXX, +AC_DEFUN([FUN_HEADER_STDCXX], [ AC_REQUIRE([AC_PROG_CXX]) @@ -55,7 +55,7 @@ AC_DEFUN(FUN_HEADER_STDCXX, # sets PTHREAD_LIBS and PTHREAD_CFLAGS # sets HAVE_PTHREADS in the configuration header -AC_DEFUN(FUN_CHECK_PTHREAD, +AC_DEFUN([FUN_CHECK_PTHREAD], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_CC]) @@ -137,7 +137,7 @@ AC_DEFUN(FUN_CHECK_PTHREAD, # substs QTVERSION, MOC and UIC # LIBQT, MOC and UIC 'precious' variables -AC_DEFUN(FUN_CHECK_QT, +AC_DEFUN([FUN_CHECK_QT], [ AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([AC_PATH_X]) @@ -232,7 +232,7 @@ AC_DEFUN(FUN_CHECK_QT, # helper function for FUN_CHECK_QT # check for qt headers in standard locations -AC_DEFUN(FUN_QT_HEADERS, +AC_DEFUN([FUN_QT_HEADERS], [ AC_MSG_CHECKING([for Qt headers]) @@ -287,7 +287,7 @@ AC_DEFUN(FUN_QT_HEADERS, # helper function for FUN_CHECK_QT # check for qt libs in standard locations -AC_DEFUN(FUN_QT_LIBRARIES, +AC_DEFUN([FUN_QT_LIBRARIES], [ AC_REQUIRE([FUN_QT_HEADERS]) @@ -342,7 +342,7 @@ AC_DEFUN(FUN_QT_LIBRARIES, # helper function for FUN_CHECK_QT # searches for moc and uic -AC_DEFUN(FUN_QT_PROGRAMS, +AC_DEFUN([FUN_QT_PROGRAMS], [ AC_REQUIRE([FUN_QT_LIBRARIES]) @@ -425,7 +425,7 @@ AC_DEFUN(FUN_QT_PROGRAMS, # helper function for FUN_CHECK_QT # compile a simple qt program -AC_DEFUN(FUN_QT_COMPILE, +AC_DEFUN([FUN_QT_COMPILE], [ AC_REQUIRE([FUN_QT_HEADERS]) AC_REQUIRE([FUN_QT_LIBRARIES])