dnl
AC_INIT([wget],
- [m4_normalize(esyscmd([sed -e 's/^.*"\(.*\)";$/\1/' src/version.c]))],
+ [1.12-devel],
[bug-wget@gnu.org])
AC_PREREQ(2.61)
-# Make configure depend on the VERSION file, since it's used in AC_INIT
-AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/src/version.c'])
-
dnl
dnl What version of Wget are we building?
dnl
AC_PROG_CC
AM_PROG_CC_C_O
AC_AIX
+gl_EARLY
AC_PROG_RANLIB
#include <signal.h>
])
+# gnulib
+gl_INIT
+
dnl
dnl Checks for library functions.
dnl
WGET_POSIX_CLOCK
WGET_NSL_SOCKET
-dnl
-dnl Check if we need to compile in getopt.c.
-dnl
-AC_CHECK_FUNC(getopt_long, [], [
- AC_LIBOBJ([getopt])
-])
-
dnl
dnl Checks for libraries.
dnl
dnl If none of the above worked, use the one we ship with Wget.
if test x"$found_md5" = xno; then
AC_DEFINE([HAVE_BUILTIN_MD5], 1, [Define when using built-in MD5.])
- AC_LIBOBJ([gnu-md5])
found_md5=yes
AC_MSG_NOTICE([using the built-in (GNU) MD5 implementation])
AC_C_BIGENDIAN
dnl The downside was that configure needed to be rebuilt whenever a
dnl new language was added.
dnl
-ALL_LINGUAS=`(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//' | tr '\012' ' ')`
+ALL_LINGUAS="en@quot en@boldquot $(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//' | tr '\012' ' ')"
dnl
dnl Find makeinfo. We used to provide support for Emacs processing
dnl
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile util/Makefile
po/Makefile.in tests/Makefile tests/WgetTest.pm
- windows/Makefile])
+ lib/Makefile windows/Makefile])
AC_CONFIG_HEADERS([src/config.h])
-AH_BOTTOM([
-#include "config-post.h"
-])
AC_OUTPUT