X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=configure.in;h=be7d112177541775b244c7ac7013497b34eadf0b;hb=d5be8ecca466601bda9b81c28a79077fbda6ccde;hp=8f1c301159047dada95b6f0379c2b1ea53e6e322;hpb=d408dec0bd31acf56db87336a3e62929bf628288;p=wget diff --git a/configure.in b/configure.in index 8f1c3011..be7d1121 100644 --- a/configure.in +++ b/configure.in @@ -172,11 +172,19 @@ dnl Checks for library functions. dnl AC_FUNC_ALLOCA AC_FUNC_MMAP -AC_CHECK_FUNCS(strdup strstr strcasecmp strncasecmp) +AC_CHECK_FUNCS(strdup strstr strcasecmp strncasecmp strpbrk) AC_CHECK_FUNCS(gettimeofday mktime strptime) AC_CHECK_FUNCS(strerror snprintf vsnprintf select signal symlink access isatty) AC_CHECK_FUNCS(uname gethostname) +dnl +dnl Check if we need to compile in getopt.c. +dnl +AC_CHECK_FUNC(getopt_long, [], [ + GETOPT_OBJ='getopt$o' +]) +AC_SUBST(GETOPT_OBJ) + dnl dnl Checks for libraries. dnl