dnl Process this file with autoconf to produce a configure script. AC_INIT(pool.c) AM_INIT_AUTOMAKE(nss_pool,1.0) AM_CONFIG_HEADER(config.h) AC_DISABLE_STATIC AC_ARG_WITH(gridmapdir, [ --with-gridmapdir=DIR Use a static default location for the gridmapdir], [if test "$withval" = yes; then AC_DEFINE_UNQUOTED(NSSPOOL_STATIC_GMDIR,"/etc/grid-security/gridmapdir") else AC_DEFINE_UNQUOTED(NSSPOOL_STATIC_GMDIR,"${withval}") fi ]) AC_ARG_WITH(gridmapinfo, [ --with-gridmapinfo=DIR Use a static default location for the poolaccount password file], [if test "$withval" = yes; then AC_DEFINE_UNQUOTED(NSSPOOL_STATIC_GMINFO,"/etc/passwd") else AC_DEFINE_UNQUOTED(NSSPOOL_STATIC_GMINFO,"${withval}") fi ]) dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL AC_PROG_LIBTOOL dnl Checks for libraries. dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_CHECK_HEADER(nss.h, [AC_MSG_RESULT("nss.h found")], [AC_MSG_ERROR("This implementation requires nss.h which was not found on this system")]) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_UID_T AC_TYPE_SIZE_T dnl Checks for library functions. AC_OUTPUT(Makefile)