X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=configure.ac;h=78fd5e143f39f7d29e912a13b96f72c639fb7955;hb=4bbcfc2a1d05c1ad0496c2f8f9e56236e4c76c00;hp=e98e6b328976752ff948e9e12795416ab9822d90;hpb=828af9619f01ec472ae605f6a8c10ac18707b622;p=wget diff --git a/configure.ac b/configure.ac index e98e6b32..78fd5e14 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,8 @@ md5_EARLY AC_PROG_RANLIB +AC_PROG_LEX + dnl Turn on optimization by default. Specifically: dnl dnl if the user hasn't specified CFLAGS, then @@ -159,7 +161,9 @@ dnl AC_HEADER_STDBOOL AC_CHECK_HEADERS(unistd.h sys/time.h) AC_CHECK_HEADERS(termios.h sys/ioctl.h sys/select.h utime.h sys/utime.h) -AC_CHECK_HEADERS(stdint.h inttypes.h pwd.h) +AC_CHECK_HEADERS(stdint.h inttypes.h pwd.h wchar.h) + +AC_CHECK_DECLS(h_errno,,,[#include ]) dnl dnl Check sizes of integer types. These are used to find n-bit @@ -193,11 +197,10 @@ gl_INIT dnl dnl Checks for library functions. dnl -AC_FUNC_ALLOCA AC_FUNC_MMAP AC_FUNC_FSEEKO AC_CHECK_FUNCS(strptime timegm snprintf vsnprintf vasprintf drand48) -AC_CHECK_FUNCS(strtoll usleep ftello sigblock sigsetjmp memrchr) +AC_CHECK_FUNCS(strtoll usleep ftello sigblock sigsetjmp memrchr wcwidth mbtowc) if test x"$ENABLE_OPIE" = xyes; then AC_LIBOBJ([ftp-opie])