* Removed autogenerated files from the CVS archive
+ * removed the included getopt.c as it failed to build under some
+ systems.
+
Thu Dec 11 00:12:19 2003 Ben Pfaff <blp@gnu.org>
* Update build system to Autoconf 2.58, Automake 1.7, gettext
AC_CHECK_LIB(gmp, mpf_get_str, [LIBS="-lgmp $LIBS"],
[AC_CHECK_LIB(gmp, __gmpf_get_str, [LIBS="-lgmp $LIBS"])],
AC_MSG_ERROR(`You must install libgmp'))
+
+AC_CHECK_FUNC(getopt_long,,
+ AC_MSG_ERROR(`This application depends upon getopt_long'))
+
AC_CHECK_LIB(ncurses, tgetent, LIBS="-lncurses $LIBS" termcap=yes,
AC_CHECK_LIB(termcap, tgetent, LIBS="-ltermcap $LIBS" termcap=yes,
INCLUDES = -I$(srcdir) -I$(top_srcdir)/src -I$(top_srcdir) \
-I$(top_srcdir)/intl
-libmisc_a_SOURCES = qsort.c getopt.c getopt1.c
+libmisc_a_SOURCES = qsort.c
libmisc_a_LIBADD = @ALLOCA@ @LIBOBJS@
libmisc_a_DEPENDENCIES = @ALLOCA@ @LIBOBJS@