diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in index ae45d083..e98a70e3 100644 --- a/configure.in +++ b/configure.in @@ -40,6 +40,10 @@ AC_CHECK_LIB(nsl,inet_addr) # library. So don't add -lresolv to the link list unless it's necessary AC_CHECK_FUNC(res_search,, AC_CHECK_LIB(resolv,res_search)) +AC_CHECK_FUNC(strstr, AC_DEFINE(HAVE_STRSTR), + [EXTRASRC="$EXTRASRC \$(srcdir)/strstr.c" + EXTRAOBJ="$EXTRAOBJ strstr.o"]) + AC_CHECK_FUNC(strcasecmp, AC_DEFINE(HAVE_STRCASECMP), [EXTRASRC="$EXTRASRC \$(srcdir)/strcasecmp.c" EXTRAOBJ="$EXTRAOBJ strcasecmp.o"]) |