aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-30 15:05:51 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-30 15:05:51 +0000
commitdc6faf2379170e7cac5005854ce48958115d4896 (patch)
tree673cb7706be777fceaccff3926c047ef6d788945 /configure.in
parent1575d9fbe5c676709a6e27be33c57d820efea2c4 (diff)
downloadfetchmail-dc6faf2379170e7cac5005854ce48958115d4896.tar.gz
fetchmail-dc6faf2379170e7cac5005854ce48958115d4896.tar.bz2
fetchmail-dc6faf2379170e7cac5005854ce48958115d4896.zip
getopt_long is back for Solaris and HP-UX.
svn path=/trunk/; revision=3508
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index de4ddffc..5ffeafe1 100644
--- a/configure.in
+++ b/configure.in
@@ -111,6 +111,10 @@ AC_CHECK_FUNC(MD5Init, AC_DEFINE(HAVE_MD5),
[EXTRASRC="$EXTRASRC \$(srcdir)/md5c.c"
EXTRAOBJ="$EXTRAOBJ md5c.o"])
+AC_CHECK_FUNC(getopt_long, AC_DEFINE(HAVE_GETOPT_LONG),
+ [EXTRASRC="$EXTRASRC \$(srcdir)/getopt.c \$(srcdir)/getopt1.c"
+ EXTRAOBJ="$EXTRAOBJ getopt.o getopt1.o"])
+
AC_FUNC_VPRINTF
AC_FUNC_ALLOCA
if test -n "$ALLOCA"