AC_INIT AC_CONFIG_HEADER(c/config.h) AC_PROG_CC AC_ARG_WITH(scsh-includes, AC_HELP_STRING([--with-scsh-includes=DIR], [scsh include files are in DIR [/usr/local/include]]), scsh_includes=$withval, scsh_includes=/usr/local/include) AC_SUBST(scsh_includes) AC_ARG_WITH(scsh-libraries, AC_HELP_STRING([--with-scsh-libraries=DIR], [scsh libraries are in DIR [/usr/local/lib/scsh]]), scsh_libraries=$withval, scsh_libraries=/usr/local/lib/scsh) AC_SUBST(scsh_libraries) AC_ARG_WITH(scsh-modules, AC_HELP_STRING([--with-scsh-modules=DIR], [scsh modules are in DIR [/usr/local/lib/scsh/modules]]), scsh_modules=$withval, scsh_modules=/usr/local/lib/scsh/modules) AC_SUBST(scsh_modules) AC_CHECK_LIB(crypt, crypt) dnl AC_CHECK_LIB(dl, dlopen) AC_CHECK_LIB(m, exp) AC_CHECK_LIB(ldap, ldap_open) AC_SUBST(LIBS) AC_SUBST(CC) AC_OUTPUT(Makefile)