[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdbm-ndbm.h header check fails after check for gdbm/ndbm.h
From: |
Colby Gutierrez-Kraybill |
Subject: |
gdbm-ndbm.h header check fails after check for gdbm/ndbm.h |
Date: |
Fri, 1 Sep 2006 19:35:19 -0700 |
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
- gdbm-ndbm.h header check fails after check for gdbm/ndbm.h,
Colby Gutierrez-Kraybill <=