AC_DEFUN(AM_PROG_CC_STDC,
[AC_REQUIRE([AC_PROG_CC])
-AC_MSG_CHECKING(for ${CC-cc} option to accept ANSI C)
+AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C])
AC_CACHE_VAL(am_cv_prog_cc_stdc,
[am_cv_prog_cc_stdc=no
ac_save_CC="$CC"
])
AC_DEFUN(WGET_STRUCT_UTIMBUF,
-[AC_MSG_CHECKING(for struct utimbuf)
+[AC_MSG_CHECKING([for struct utimbuf])
if test x"$ac_cv_header_utime_h" = xyes; then
AC_EGREP_CPP([struct[ ]+utimbuf],
[#include <utime.h>],
dnl last moment.
if test x"$HAVE_NLS" = xyes; then
- AC_MSG_RESULT("language catalogs: $ALL_LINGUAS")
+ AC_MSG_RESULT([language catalogs: $ALL_LINGUAS])
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
[test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], msgfmt)
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
dnl within `config.status' rather than from within configure. This
dnl is why special rules must be applied for it.
AC_DEFUN(WGET_PROCESS_PO,
- [srcdir=$ac_given_srcdir # Advanced autoconf hackery
+ [
dnl I wonder what the following several lines do...
if test "x$srcdir" != "x."; then
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
LDFLAGS="-L$ssl_root/lib -R$ssl_root/lib $wget_save_LDFLAGS"
fi
- AC_MSG_RESULT(["Looking for SSL libraries in $ssl_root"])
+ AC_MSG_RESULT([Looking for SSL libraries in $ssl_root])
dnl Check whether the compiler can find the include files. On
dnl some systems Gcc finds libraries in /usr/local/lib, but fails
ssl_found_includes=no
CPPFLAGS="$SSL_INCLUDES $wget_save_CPPFLAGS"
- AC_MSG_CHECKING(["for includes"])
+ AC_MSG_CHECKING([for includes])
AC_TRY_CPP([#include <openssl/ssl.h>
#include <openssl/rsa.h>
],
- AC_MSG_RESULT("found"); ssl_found_includes=yes,
- AC_MSG_RESULT("not found")
+ AC_MSG_RESULT(found); ssl_found_includes=yes,
+ AC_MSG_RESULT([not found])
)
if test x"$ssl_found_includes" = xno; then
ssl_run_failure=no
- AC_MSG_CHECKING("whether SSL libs are resolved at runtime")
+ AC_MSG_CHECKING([whether SSL libs are resolved at runtime])
AC_TRY_RUN([
int RSA_new();
int SSL_new();
if test x"$ssl_success" = xyes; then
dnl AC_MSG_RESULT doesn't look right here, but I'm not sure what
dnl to use instead.
- AC_MSG_RESULT("Compiling in support for SSL in $ssl_root")
+ AC_MSG_RESULT([Compiling in support for SSL in $ssl_root])
AC_DEFINE(HAVE_SSL)
AC_SUBST(SSL_INCLUDES)
SSL_OBJ='gen_sslfunc$o'
dnl
dnl Set of available languages.
dnl
-ALL_LINGUAS=`(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//')`
+ALL_LINGUAS=`(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//' | tr '\012' ' ')`
dnl Originally this used to be static, looking like this:
dnl ALL_LINGUAS="cs de hr it ..."