Skip to content

Commit

Permalink
Quoted definitions of macros AM_PATH_PROG_WITH_TEST, AM_LC_MESSAGES,
Browse files Browse the repository at this point in the history
2004-02-09  Alexander Winston  <[email protected]>

	* acinclude.m4: Quoted definitions of macros
	AM_PATH_PROG_WITH_TEST, AM_LC_MESSAGES, AM_WITH_NLS, and
	AM_GNU_GETTEXT. Fixes #133178.
  • Loading branch information
Alexander Winston authored and Alexander Winston committed Feb 9, 2004
1 parent 929a244 commit 92c530e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2004-02-09 Alexander Winston <[email protected]>

* acinclude.m4: Quoted definitions of macros
AM_PATH_PROG_WITH_TEST, AM_LC_MESSAGES, AM_WITH_NLS, and
AM_GNU_GETTEXT. Fixes #133178.

2004-02-06 Mark McLoughlin <[email protected]>

* configure.in: add a --enable-deprecations flag
Expand Down
8 changes: 4 additions & 4 deletions acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
AC_DEFUN(AM_PATH_PROG_WITH_TEST,
AC_DEFUN([AM_PATH_PROG_WITH_TEST],
[# Extract the first word of "$2", so it can be a program name with args.
set dummy $2; ac_word=[$]2
AC_MSG_CHECKING([for $ac_word])
Expand Down Expand Up @@ -64,7 +64,7 @@ AC_SUBST($1)dnl

# serial 1

AC_DEFUN(AM_LC_MESSAGES,
AC_DEFUN([AM_LC_MESSAGES],
[if test $ac_cv_header_locale_h = yes; then
AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
[AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
Expand All @@ -89,7 +89,7 @@ AC_DEFUN(AM_LC_MESSAGES,

# serial 3

AC_DEFUN(AM_WITH_NLS,
AC_DEFUN([AM_WITH_NLS],
[AC_MSG_CHECKING([whether NLS is requested])
dnl Default is enabled NLS
AC_ARG_ENABLE(nls,
Expand Down Expand Up @@ -267,7 +267,7 @@ AC_DEFUN(AM_WITH_NLS,
AC_SUBST(POSUB)
])

AC_DEFUN(AM_GNU_GETTEXT,
AC_DEFUN([AM_GNU_GETTEXT],
[AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_PROG_RANLIB])dnl
Expand Down

0 comments on commit 92c530e

Please sign in to comment.