Commit 52d86d39 authored by Niels Möller's avatar Niels Möller

* src/argp/configure.in: Check for getopt_long. Substitute

LIBOBJS. Add -I$srcdir to CPPFLAGS.

Rev: src/argp/configure.in:1.2
parent f9a76264
......@@ -40,6 +40,8 @@ AC_CHECK_FUNCS(fputs_unlocked fwrite_unlocked)
AC_CHECK_FUNCS(asprintf)
AC_CHECK_FUNCS(getopt_long,,[LIBOBJS="getopt.o getopt1.o $LIBOBJS"])
dnl AC_CHECK_VAR(VAR, INCLUDES)
AC_DEFUN(AC_CHECK_VAR,
[ AC_CACHE_CHECK(
......@@ -63,4 +65,8 @@ if test x$GCC = xyes ; then
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
fi
CPPFLAGS="$CPPFLAGS -I$srcdir"
AC_SUBST(LIBOBJS)
AC_OUTPUT(Makefile)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment