aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index c7c119a3..d98bebe6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,11 +103,11 @@ AC_CHECK_LIB(intl, gettext,
AC_REPLACE_FUNCS([strstr strcasecmp memmove stpcpy])
-AC_CHECK_FUNC(MD5Init, AC_DEFINE(HAVE_MD5,1,Define if you have md5 in libc),
+AC_CHECK_FUNC(MD5Init, [],
[AC_LIBSOURCE(md5c.c)
EXTRAOBJ="$EXTRAOBJ md5c.\$(OBJEXT)"])
-AC_CHECK_FUNC(getopt_long, AC_DEFINE(HAVE_GETOPT_LONG),
+AC_CHECK_FUNC(getopt_long, [],
[AC_LIBSOURCES([getopt.c, getopt1.c])
EXTRAOBJ="$EXTRAOBJ getopt.\$(OBJEXT) getopt1.\$(OBJEXT)"])