diff options
Diffstat (limited to 'source4/lib/popt/libpopt.m4')
-rw-r--r-- | source4/lib/popt/libpopt.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/lib/popt/libpopt.m4 b/source4/lib/popt/libpopt.m4 new file mode 100644 index 0000000000..19b99f2bd0 --- /dev/null +++ b/source4/lib/popt/libpopt.m4 @@ -0,0 +1,14 @@ +dnl find the popt sources. This is meant to work both for +dnl popt standalone builds, and builds of packages using popt +poptdir="" +for d in "$srcdir" "$srcdir/lib/popt" "$srcdir/popt" "$srcdir/../popt"; do + if test -f "$d/popt.c"; then + poptdir="$d" + AC_SUBST(poptdir) + break; + fi +done +POPTOBJ="popt.o findme.o poptconfig.o popthelp.o poptparse.o" +AC_SUBST(POPTOBJ) + +AC_CHECK_HEADERS([float.h alloca.h]) |