From dc6faf2379170e7cac5005854ce48958115d4896 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 30 Sep 2001 15:05:51 +0000 Subject: getopt_long is back for Solaris and HP-UX. svn path=/trunk/; revision=3508 --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') 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" -- cgit v1.2.3