source: trunk/athena/etc/mkcred/configure.in @ 13858

Revision 13858, 224 bytes checked in by tb, 25 years ago (diff)
configure.in: Check for <db.h> and <ndbm.h>. Makefile.in: Include @DEFS@ in the compile commands. mkcred.c: Include the correct db header depending on configure test results.
RevLine 
[12702]1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(mkcred.c)
3
4AC_PROG_CC
5AC_PROG_INSTALL
6
[13858]7AC_CHECK_HEADERS(ndbm.h db.h)
[12702]8AC_CHECK_FUNC(dbm_open, :,
9    AC_CHECK_LIB(db, dbm_open))
10
11AC_OUTPUT(Makefile)
Note: See TracBrowser for help on using the repository browser.