* gettext-tools/examples/hello-*/configure.ac: Improve quoting.
dnl Here, in gettext-tools/examples, we do the checks manually for
dnl simplicity.
-AC_PATH_PROG(GLIB_COMPILE_RESOURCES, [glib-compile-resources])
+AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources])
AS_IF([test -z "$GLIB_COMPILE_RESOURCES"], [
AC_MSG_ERROR([can't find glib-compile-resources])
])
-AC_PATH_PROG(GLIB_COMPILE_SCHEMAS, [glib-compile-schemas])
+AC_PATH_PROG([GLIB_COMPILE_SCHEMAS], [glib-compile-schemas])
AS_IF([test -z "$GLIB_COMPILE_SCHEMAS"], [
AC_MSG_ERROR([can't find glib-compile-schemas])
])
])
GTK_CFLAGS=`"$PKG_CONFIG" --cflags "$GTK"`
-AC_SUBST(GTK_CFLAGS)
+AC_SUBST([GTK_CFLAGS])
GTK_LIBS=`"$PKG_CONFIG" --libs "$GTK"`
-AC_SUBST(GTK_LIBS)
+AC_SUBST([GTK_LIBS])
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([m4/Makefile])
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the Lisp system.
-AC_PATH_PROG(CLISP, clisp)
+AC_PATH_PROG([CLISP], [clisp])
if test -z "$CLISP"; then
echo "*** Essential program clisp not found" 1>&2
exit 1
fi
-AC_SUBST(CLISP)
+AC_SUBST([CLISP])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
else
BUILDCSHARP=no
fi
-AC_SUBST(BUILDCSHARP)
+AC_SUBST([BUILDCSHARP])
dnl Check whether we can execute C# programs.
gt_CSHARPEXEC([csharpexec-test.exe], [$srcdir/m4])
else
TESTCSHARP=no
fi
-AC_SUBST(TESTCSHARP)
+AC_SUBST([TESTCSHARP])
dnl Checks for needed libraries.
AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_GNU_GETTEXT_DLL], [gettext],
else
BUILDCSHARP=no
fi
-AC_SUBST(BUILDCSHARP)
+AC_SUBST([BUILDCSHARP])
dnl Check whether we can execute C# programs.
gt_CSHARPEXEC([csharpexec-test.exe], [$srcdir/m4])
else
TESTCSHARP=no
fi
-AC_SUBST(TESTCSHARP)
+AC_SUBST([TESTCSHARP])
dnl Checks for needed libraries.
AM_PATH_PROG_WITH_TEST([GETTEXT_WITH_GNU_GETTEXT_DLL], [gettext],
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of GNU awk.
-AC_PATH_PROG(GAWK, gawk)
+AC_PATH_PROG([GAWK], [gawk])
if test -z "$GAWK"; then
echo "*** Essential program gawk not found" 1>&2
exit 1
fi
-AC_SUBST(GAWK)
+AC_SUBST([GAWK])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the guile interpreter.
-AC_PATH_PROG(GUILE, guile)
+AC_PATH_PROG([GUILE], [guile])
if test -z "$GUILE"; then
echo "*** Essential program guile not found" 1>&2
exit 1
fi
-AC_SUBST(GUILE)
+AC_SUBST([GUILE])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
gt_JAVAEXEC([TestAWT], [$srcdir/m4])
dnl Check whether we can build Java programs.
gt_JAVACOMP([1.5])
-AC_CHECK_PROG(JAR, jar, jar)
+AC_CHECK_PROG([JAR], [jar], [jar])
if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
BUILDJAVA=yes
else
BUILDJAVA=no
fi
-AC_SUBST(BUILDJAVA)
+AC_SUBST([BUILDJAVA])
if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
TESTJAVA=yes
else
TESTJAVA=no
fi
-AC_SUBST(TESTJAVA)
+AC_SUBST([TESTJAVA])
dnl Checks for compiler output filename suffixes.
AC_OBJEXT
gt_JAVAEXEC([Test15], [$srcdir/m4])
dnl Check whether we can build Java programs.
gt_JAVACOMP([1.5], [1.6])
-AC_CHECK_PROG(JAR, jar, jar)
+AC_CHECK_PROG([JAR], [jar], [jar])
if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
BUILDJAVA=yes
else
BUILDJAVA=no
fi
-AC_SUBST(BUILDJAVA)
+AC_SUBST([BUILDJAVA])
if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
TESTJAVA=yes
else
TESTJAVA=no
fi
-AC_SUBST(TESTJAVA)
+AC_SUBST([TESTJAVA])
dnl Checks for compiler output filename suffixes.
AC_OBJEXT
gt_JAVAEXEC([TestAWT], [$srcdir/m4])
dnl Check whether we can build Java programs.
gt_JAVACOMP([1.5])
-AC_CHECK_PROG(JAR, jar, jar)
+AC_CHECK_PROG([JAR], [jar], [jar])
if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
BUILDJAVA=yes
else
BUILDJAVA=no
fi
-AC_SUBST(BUILDJAVA)
+AC_SUBST([BUILDJAVA])
if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
TESTJAVA=yes
else
TESTJAVA=no
fi
-AC_SUBST(TESTJAVA)
+AC_SUBST([TESTJAVA])
dnl Checks for compiler output filename suffixes.
AC_OBJEXT
gt_JAVAEXEC
dnl Check whether we can build Java programs.
gt_JAVACOMP([1.5])
-AC_CHECK_PROG(JAR, jar, jar)
+AC_CHECK_PROG([JAR], [jar], [jar])
if test -n "$HAVE_JAVACOMP" && test -n "$JAR"; then
BUILDJAVA=yes
else
BUILDJAVA=no
fi
-AC_SUBST(BUILDJAVA)
+AC_SUBST([BUILDJAVA])
if test -n "$HAVE_JAVAEXEC" && test "$BUILDJAVA" = yes; then
TESTJAVA=yes
else
TESTJAVA=no
fi
-AC_SUBST(TESTJAVA)
+AC_SUBST([TESTJAVA])
dnl Checks for compiler output filename suffixes.
AC_OBJEXT
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the librep interpreter.
-AC_PATH_PROG(REP, rep)
+AC_PATH_PROG([REP], [rep])
if test -z "$REP"; then
echo "*** Essential program rep not found" 1>&2
exit 1
fi
-AC_SUBST(REP)
+AC_SUBST([REP])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AM_INIT_AUTOMAKE([1.11])
AC_PROG_CC
-AC_SUBST(OBJC,["$CC"])
+AC_SUBST([OBJC], ["$CC"])
AC_CHECK_HEADERS([unistd.h])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.20.2])
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the Free Pascal Compiler.
-AC_PATH_PROGS(PPC, ppc386 ppcx64)
+AC_PATH_PROGS([PPC], [ppc386 ppcx64])
if test -z "$PPC"; then
echo "*** Essential program ppc386 or ppcx64 not found" 1>&2
exit 1
fi
-AC_SUBST(PPC)
+AC_SUBST([PPC])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the Perl interpreter.
-AC_PATH_PROG(PERL, perl)
+AC_PATH_PROG([PERL], [perl])
if test -z "$PERL"; then
echo "*** Essential program perl not found" 1>&2
exit 1
fi
-AC_SUBST(PERL)
+AC_SUBST([PERL])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the PHP system.
-AC_PATH_PROG(PHP, php)
+AC_PATH_PROG([PHP], [php])
if test -z "$PHP"; then
echo "*** Essential program php not found" 1>&2
exit 1
fi
-AC_SUBST(PHP)
+AC_SUBST([PHP])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of GNU Smalltalk.
-AC_PATH_PROG(GST, gst)
+AC_PATH_PROG([GST], [gst])
if test -z "$GST"; then
echo "*** Essential program gst not found" 1>&2
exit 1
fi
-AC_SUBST(GST)
+AC_SUBST([GST])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
eval "datarootdir=\"${datarootdir}\""
eval "localedir=\"${datadir}/locale\""
prefix="$save_prefix"
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the Tcl/Tk interpreter.
-AC_PATH_PROG(WISH, wish)
+AC_PATH_PROG([WISH], [wish])
if test -z "$WISH"; then
echo "*** Essential program wish not found" 1>&2
exit 1
fi
-AC_SUBST(WISH)
+AC_SUBST([WISH])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
datadir="$save_datadir"
datarootdir="$save_datarootdir"
prefix="$save_prefix"
-AC_SUBST(pkgdatadir)
+AC_SUBST([pkgdatadir])
dnl Support for the po directory.
AM_PO_SUBDIRS
AM_INIT_AUTOMAKE([1.11])
dnl Check for availability of the Tcl interpreter.
-AC_PATH_PROG(TCLSH, tclsh)
+AC_PATH_PROG([TCLSH], [tclsh])
if test -z "$TCLSH"; then
echo "*** Essential program tclsh not found" 1>&2
exit 1
fi
-AC_SUBST(TCLSH)
+AC_SUBST([TCLSH])
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, prefix gets only finally determined at the end of configure.
datadir="$save_datadir"
datarootdir="$save_datarootdir"
prefix="$save_prefix"
-AC_SUBST(pkgdatadir)
+AC_SUBST([pkgdatadir])
dnl Support for the po directory.
AM_PO_SUBDIRS
dnl The installed program must know where to find its message catalogs.
dnl Unfortunately, YaST hard codes the message catalog directory.
localedir=/usr/share/YaST2/locale
-AC_SUBST(localedir)
+AC_SUBST([localedir])
dnl Support for the po directory.
AM_PO_SUBDIRS