Hello,

Using Linux Debian 3.1 Sarge, with autoconf 2.59 and automake 1.9.5 with libgdbm-dev installed.

I have a configure.in rule set that looks like:

ndbm=no
AC_CHECK_HEADERS(ndbm.h, ndbm=ndbm)
if test $ndbm = no; then
AC_CHECK_HEADERS(gdbm/ndbm.h, ndbm=gdbm)
fi
if test $ndbm = no; then
AC_CHECK_HEADERS(db1/ndbm.h, ndbm=gdbm)
fi
if test $ndbm = no; then
AC_CHECK_HEADERS(gdbm-ndbm.h, ndbm=gdbm-ndbm)
fi

The last check will always fail because configure believes
the result from the gdbm/ndbm.h is a cached result for
the check on gdbm-ndbm.h (gdbm-ndbm.h comes from
libgdbm-dev).

Is there some mode I can through autoconf info that will
cause it to not interpret the the '-' correctly in this case?

- Colby



Reply via email to