configure.in
上传用户:s81996212
上传日期:2007-01-04
资源大小:722k
文件大小:16k
源码类别:

WEB邮件程序

开发平台:

C/C++

  1. dnl Process this file with autoconf to produce a configure script.
  2. dnl
  3. dnl $Id: configure.in,v 1.34 2000/07/04 16:48:07 mrsam Exp $
  4. dnl
  5. dnl Copyright 1998 - 1999 Double Precision, Inc.  See COPYING for
  6. dnl distribution information.
  7. AC_INIT(mod.h)
  8. AM_INIT_AUTOMAKE(authlib, 0.10, 0)
  9. AM_CONFIG_HEADER(config.h)
  10. dnl Checks for programs.
  11. AC_PROG_AWK
  12. AC_PROG_CC
  13. AC_PROG_CPP
  14. AC_PROG_INSTALL
  15. AC_PROG_LN_S
  16. AC_PROG_RANLIB
  17. AC_PATH_PROGS(PERL, perl5 perl)
  18. if test "$PERL" = "perl"
  19. then
  20. AC_MSG_ERROR(Perl is required)
  21. fi
  22. if test "$GCC" = "yes"
  23. then
  24. CFLAGS="$CFLAGS -Wall"
  25. fi
  26. CFLAGS="$CFLAGS -I.. -I${srcdir}/.."
  27. AC_CHECK_FUNCS(setgroups initgroups)
  28. dnl Check whether to install man pages
  29. AC_ARG_WITH(authlib-man, [], installman="$withval", installman="yes")
  30. case "$installman" in
  31. y*)
  32. installman=yes
  33. ;;
  34. Y*)
  35. installman=yes
  36. ;;
  37. esac
  38. if test "$installman" = "yes"
  39. then
  40. manFILES='$(man8)'
  41. manLINKS='$(manlinks)'
  42. fi
  43. AC_SUBST(manFILES)
  44. AC_SUBST(manLINKS)
  45. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  46. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  47. eval "prefix=$prefix"
  48. eval "exec_prefix=$exec_prefix"
  49. eval "sysconfdir=$sysconfdir"
  50. eval "localstatedir=$localstatedir"
  51. eval "libexecdir=$libexecdir"
  52. dnl #########################################################################
  53. dnl Check if the MD5 library is available
  54. dnl #########################################################################
  55. if test -d ../md5
  56. then
  57. MD5=1
  58. AC_DEFINE_UNQUOTED(HAVE_MD5LIB,1)
  59. MD5LIB=../md5/libmd5.a
  60. else
  61. MD5LIB=""
  62. MD5=0
  63. fi
  64. AC_SUBST(MD5LIB)
  65. AM_CONDITIONAL(HAVE_MD5, test "$MD5" = 1)
  66. dnl #########################################################################
  67. dnl Check if the SHA1 library is available
  68. dnl #########################################################################
  69. if test -d ../sha1
  70. then
  71. SHA1=1
  72. AC_DEFINE_UNQUOTED(HAVE_SHA1LIB,1)
  73. SHA1LIB=../sha1/libsha1.a
  74. else
  75. SHA1LIB=""
  76. SHA1=0
  77. fi
  78. AC_SUBST(SHA1LIB)
  79. AM_CONDITIONAL(HAVE_SHA1, test "$SHA1" = 1)
  80. dnl #########################################################################
  81. dnl Check if the HMAC library is available
  82. dnl #########################################################################
  83. if test -d ../libhmac
  84. then
  85. HMAC=1
  86. AC_DEFINE_UNQUOTED(HAVE_HMACLIB,1)
  87. HMACLIB=../libhmac/libhmac.a
  88. else
  89. HMACLIB=""
  90. HMAC=0
  91. fi
  92. AC_SUBST(HMACLIB)
  93. AM_CONDITIONAL(HAVE_HMACLIB, test "$HMAC" = 1)
  94. saveLIBS="$LIBS"
  95. NETLIBS=""
  96. AC_MSG_CHECKING(whether -lnsl is needed for inet_addr)
  97. AC_TRY_LINK_FUNC(inet_addr,
  98. AC_MSG_RESULT(no),
  99. LIBS="-lnsl $LIBS"
  100. AC_TRY_LINK_FUNC(inet_addr,
  101. NETLIBS="-lnsl"
  102. AC_MSG_RESULT(yes),
  103. AC_MSG_ERROR(Cannot find function inet_addr)))
  104. AC_MSG_CHECKING(whether -lsocket is needed for socket)
  105. AC_TRY_LINK_FUNC(socket,
  106. AC_MSG_RESULT(no),
  107. LIBS="-lsocket $LIBS",
  108. AC_TRY_LINK_FUNC(socket,
  109. NETLIBS="-lsocket $NETLIBS"
  110. AC_MSG_RESULT(yes),
  111. AC_MSG_ERROR(Cannot find function socket)))
  112. LIBS="$saveLIBS"
  113. AC_SUBST(NETLIBS)
  114. STATIC_LIST=""
  115. STATIC_MODULES=""
  116. LIBAUTH=""
  117. SASL_LIST="SASL("LOGIN", authsasl_login)"
  118. rm -f authconfiglist
  119. cp /dev/null authconfiglist
  120. dnl #########################################################################
  121. dnl Prepare authuserdb module if userdb library is available
  122. dnl #########################################################################
  123. AC_ARG_WITH(authuserdb,
  124. [ --without-authuserdb               Do not include the authuserdb module ],
  125. doauthuserdb="$withval",
  126. doauthuserdb="no"
  127. if test -d ../userdb
  128. then
  129. doauthuserdb="yes"
  130. fi)
  131. if test "$doauthuserdb" = "no"
  132. then
  133. USE_DB=0
  134. USE_GDBM=0
  135. LIBGDBM=""
  136. LIBDB=""
  137. dblibrary=""
  138. AUTHUSERDB=""
  139. else
  140. AC_ARG_WITH(userdb, [], userdb="$withval", userdb="/etc/userdb")
  141. AC_ARG_WITH(db, [], db="$withval", db="")
  142. case "$db" in
  143. gdbm)
  144. . ../dbobj.config
  145. USE_GDBM=1
  146. USE_DB=0
  147. LIBDB=""
  148. dblibrary=../gdbmobj/libgdbmobj.a
  149. AUTHUSERDB="authuserdb"
  150. if test "$userdb" = ""
  151. then
  152. AC_MSG_ERROR(--with-userdb option required)
  153. fi
  154. ;;
  155. db)
  156. . ../dbobj.config
  157. USE_DB=1
  158. USE_GDBM=0
  159. LIBGDBM=""
  160. dblibrary=../bdbobj/libbdbobj.a
  161. AUTHUSERDB="authuserdb"
  162. if test "$userdb" = ""
  163. then
  164. AC_MSG_ERROR(--with-userdb option required)
  165. fi
  166. ;;
  167. "")
  168. USE_DB=0
  169. USE_GDBM=0
  170. LIBGDBM=""
  171. LIBDB=""
  172. dblibrary=""
  173. AUTHUSERDB=""
  174. ;;
  175. *)
  176. AC_MSG_ERROR(Invalid --with-db option)
  177. esac
  178. fi
  179. AC_SUBST(USE_GDBM)
  180. AC_SUBST(USE_DB)
  181. AC_SUBST(dblibrary)
  182. AC_SUBST(LIBGDBM)
  183. AC_SUBST(LIBDB)
  184. AC_SUBST(AUTHUSERDB)
  185. if test "$userdb" = ""
  186. then
  187. userdb="/etc/userdb"
  188. fi
  189. AC_DEFINE_UNQUOTED(USERDB,"$userdb")
  190. AC_SUBST(userdb)
  191. AM_CONDITIONAL(HAVE_AUTHUSERDB, test "$USE_GDBM$USE_DB" != 00)
  192. if test "$USE_GDBM$USE_DB" != 00
  193. then
  194. STATIC_LIST="$STATIC_LIST AUTHSTATIC("authuserdb", auth_userdb, auth_userdb_pre, auth_userdb_cleanup)"
  195. LIBAUTH="$LIBAUTH libauth-authuserdb.a"
  196. fi
  197. dnl #########################################################################
  198. dnl Prepare authpam module if libpam is available.
  199. dnl #########################################################################
  200. AC_ARG_WITH(authpam,
  201. [ --without-authpam                  Do not include the authpam module ],
  202. doauthpam="$withval")
  203. if test "$doauthpam" = "no"
  204. then
  205. HAVE_PAM=0
  206. LIBDL=""
  207. else
  208. AC_CHECK_HEADERS(security/pam_appl.h Pam/pam_appl.h)
  209. saveLIBS="$LIBS"
  210. LIBDL=""
  211. AC_CHECK_LIB(dl, dlopen, [ LIBDL="-ldl" ])
  212. LIBS="$saveLIBS"
  213. AC_CHECK_LIB(pam, pam_start,
  214. HAVE_PAM=1
  215. LIBS="-lpam $LIBDL $LIBS"
  216. AC_CHECK_FUNCS(pam_setcred),
  217. HAVE_PAM=0,
  218. $LIBDL)
  219. LIBS="$saveLIBS"
  220. fi
  221. AC_SUBST(LIBDL)
  222. AC_SUBST(HAVE_PAM)
  223. AM_CONDITIONAL(HAVE_PAM, test "$HAVE_PAM" = 1)
  224. AUTHPAM=""
  225. if test "$HAVE_PAM" = 1
  226. then
  227. AUTHPAM=authpam
  228. STATIC_LIST="$STATIC_LIST AUTHSTATIC("authpam", auth_pam, auth_pam_pre, authdummy)"
  229. LIBAUTH="$LIBAUTH libauth-authpam.a"
  230. fi
  231. AC_ARG_WITH(authpam-libraries,
  232. [ --with-authpam-libraries="libs"    Link 'libs' with authpam, this may be
  233.                                     required for FreeBSD 3.3],
  234. authpamcrypt="$withval")
  235. AUTHPAMCRYPT="$authpamcrypt"
  236. AC_SUBST(AUTHPAMCRYPT)
  237. dnl #########################################################################
  238. dnl Prepare authldap module if ldap functions are available.
  239. dnl #########################################################################
  240. AC_ARG_WITH(authldap,
  241. [ --without-authldap                 Do not include the authldap module ],
  242. doauthldap="$withval",
  243. doauthldap="yes")
  244. AC_CHECK_HEADERS(ldap.h lber.h syslog.h)
  245. if test "$doauthldap" = "no"
  246. then
  247. HAVE_LDAP=0
  248. else
  249. saveLIBS="$LIBS"
  250. LIBS="$NETLIBS $LIBS"
  251. LDAPLIBS=""
  252. AC_CHECK_LIB(lber, ber_scanf,
  253. LDAPLIBS="-llber" ; LIBS="-llber $LIBS")
  254. AC_CHECK_LIB(ldap, ldap_open,
  255. LDAPLIBS="-lldap $LDAPLIBS" ; LIBS="-lldap $LIBS")
  256. AC_CHECK_FUNC(ldap_search_st, HAVE_LDAP=1, HAVE_LDAP=0)
  257. LIBS="$saveLIBS"
  258. fi
  259. AC_ARG_WITH(authldaprc,
  260. [ --with-authldaprc=filename         Expect to find authldaprc here ],
  261. authldaprc="$withval",
  262. authldaprc="$sysconfdir/authldaprc")
  263. AC_SUBST(authldaprc)
  264. AUTHLDAP=""
  265. if test "$HAVE_LDAP" = 1
  266. then
  267. AUTHLDAP=authldap
  268. STATIC_LIST="$STATIC_LIST AUTHSTATIC("authldap", auth_ldap, auth_ldap_pre, authldapclose)"
  269. LIBAUTH="$LIBAUTH libauth-authldap.a"
  270. echo authldaprc >>authconfiglist
  271. else
  272. authldaprc=""
  273. fi
  274. AC_SUBST(LDAPLIBS)
  275. AM_CONDITIONAL(HAVE_LDAP, test "$HAVE_LDAP" = 1)
  276. dnl #########################################################################
  277. dnl Prepare authpwd module
  278. dnl #########################################################################
  279. AC_ARG_WITH(authpwd,
  280. [ --without-authpwd                  Do not include the authpwd module ],
  281. doauthpwd="$withval",
  282. doauthpwd="yes"
  283. test "$HAVE_PAM" = 1 && doauthpwd="no"
  284. test "$HAVE_LDAP" = 1 && doauthpwd="no"
  285. )
  286. HAVE_PWD=1
  287. if test "$doauthpwd" = "no"
  288. then
  289. HAVE_PWD=0
  290. fi
  291. dnl #########################################################################
  292. dnl Prepare authshadow module if shadow functions are available.
  293. dnl #########################################################################
  294. AC_ARG_WITH(authshadow,
  295. [ --without-authshadow               Do not include the authshadow module ],
  296. doauthshadow="$withval",
  297. doauthshadow="yes"
  298. test "$HAVE_PAM" = 1 && doauthshadow="no"
  299. test "$HAVE_LDAP" = 1 && doauthshadow="no")
  300. AC_CHECK_HEADERS(shadow.h)
  301. saveLIBS="$LIBS"
  302. SHADOWLIBS=""
  303. AC_CHECK_LIB(shadow, getspent,
  304. SHADOWLIBS="-lshadow" ; LIBS="-lshadow $LIBS")
  305. AC_CHECK_FUNCS(getspent)
  306. LIBS="$saveLIBS"
  307. if test "$doauthshadow" = "no"
  308. then
  309. HAVE_SHADOW=0
  310. else
  311. saveLIBS="$LIBS"
  312. AC_CHECK_LIB(shadow, getspent)
  313. AC_CHECK_FUNC(getspent, HAVE_SHADOW=1, HAVE_SHADOW=0)
  314. LIBS="$saveLIBS"
  315. fi
  316. AUTHSHADOW=""
  317. if test "$HAVE_SHADOW" = 1
  318. then
  319. AUTHSHADOW=authshadow
  320. STATIC_LIST="$STATIC_LIST AUTHSTATIC("authshadow", auth_shadow, auth_shadow_pre, authdummy)"
  321. LIBAUTH="$LIBAUTH libauth-authshadow.a"
  322. fi
  323. AC_SUBST(SHADOWLIBS)
  324. AM_CONDITIONAL(HAVE_SHADOW, test "$HAVE_SHADOW" = 1)
  325. AUTHPWD=""
  326. if test "$HAVE_PWD" = 1
  327. then
  328. AUTHPWD=authpwd
  329. STATIC_LIST="$STATIC_LIST AUTHSTATIC("authpwd", auth_pwd, auth_pwd_pre, authdummy)"
  330. LIBAUTH="$LIBAUTH libauth-authpwd.a"
  331. fi
  332. AM_CONDITIONAL(HAVE_PWD, test "$HAVE_PWD" = 1)
  333. dnl #########################################################################
  334. dnl Prepare authvchkpw module if vchkpw is installed.
  335. dnl #########################################################################
  336. AC_ARG_WITH(authvchkpw,
  337. [ --without-authvchkpw               Do not include the authvchkpw module ],
  338. doauthvchkpw="$withval",
  339. doauthvchkpw=no
  340. if test -d ~vpopmail/.
  341. then
  342. doauthvchkpw=yes
  343. fi)
  344. vpopmail_home=.
  345. if test "$doauthvchkpw" = "no"
  346. then
  347. HAVE_VCHKPW=0
  348. else
  349. HAVE_VCHKPW=1
  350. vpopmail_home="`echo ~vpopmail`"
  351. AC_MSG_CHECKING(whether -lm is needed for floor)
  352. AC_TRY_LINK_FUNC(floor,
  353. AC_MSG_RESULT(no),
  354. LIBM="-lm"
  355. AC_MSG_RESULT(yes))
  356. CFLAGS="-I${vpopmail_home}/include $CFLAGS"
  357. LDFLAGS="-L${vpopmail_home}/lib $LDFLAGS"
  358. AC_SUBST(LIBM)
  359. fi
  360. AC_SUBST(vpopmail_home)
  361. AUTHVCHKPW=""
  362. if test "$HAVE_VCHKPW" = 1
  363. then
  364. AUTHVCHKPW=authvchkpw
  365. STATIC_LIST="$STATIC_LIST AUTHSTATIC("authvchkpw", auth_vchkpw, auth_vchkpw_pre, authdummy)"
  366. LIBAUTH="$LIBAUTH libauth-authvchkpw.a"
  367. fi
  368. AM_CONDITIONAL(HAVE_VCHKPW, test "$HAVE_VCHKPW" = 1)
  369. dnl #########################################################################
  370. dnl Prepare authmysql module
  371. dnl #########################################################################
  372. AC_ARG_WITH(authmysqlrc,
  373. [ --with-authmysqlrc=filename        Expect to find authmysql here ],
  374. authmysqlrc="$withval",
  375. authmysqlrc="$sysconfdir/authmysqlrc")
  376. AC_SUBST(authmysqlrc)
  377. AC_ARG_WITH(authmysql,
  378. [ --without-authmysql               Do not include the authmysql module ],
  379.         doauthmysql="$withval",
  380. # Do not configure authmysql if authvchkpw was found
  381. if test "$HAVE_VCHKPW" = 1
  382. then
  383. doauthmysql="no"
  384. fi
  385. )
  386. if test "$doauthmysql" = ""
  387. then
  388. saveLIBS="$LIBS"
  389. LIBS="$NETLIBS $LIBS"
  390. AC_CHECK_LIB(mysqlclient,mysql_connect,
  391. doauthmysql="yes"
  392. )
  393. LIBS="$saveLIBS"
  394. fi
  395. if test "$doauthmysql" != "yes"
  396. then
  397. AUTHMYSQL=""
  398. HAVE_AUTHMYSQL=0
  399. else
  400. saveLIBS="$LIBS"
  401. AC_CHECK_LIB(mysqlclient,mysql_connect,
  402. MYSQLLIB="-lmysqlclient"
  403. AUTHMYSQL="authmysql"
  404. HAVE_AUTHMYSQL=1,
  405. AC_MSG_ERROR(--with-authmysql specified, but no mysqlclient.so)
  406. )
  407. LIBS="$saveLIBS"
  408. echo authmysqlrc >>authconfiglist
  409. HAVE_AUTHMYSQL=1
  410. fi
  411. if test $HAVE_AUTHMYSQL = 1
  412. then
  413.     STATIC_LIST="$STATIC_LIST AUTHSTATIC("authmysql", auth_mysql, auth_mysql_pre, auth_mysql_cleanup)"
  414. fi
  415. AC_SUBST(MYSQLLIB)
  416. AC_SUBST(AUTHMYSQL)
  417. AM_CONDITIONAL(HAVE_AUTHMYSQL, test "$HAVE_AUTHMYSQL" = 1)
  418. dnl #########################################################################
  419. dnl Prepare authcram module if userdb and libhmac is available, and either
  420. dnl md5 or sha1 (or both) is available
  421. dnl #########################################################################
  422. AC_ARG_WITH(authcram,
  423. [ --without-authcram                 Do not include the authcram module ],
  424. doauthcram="$withval",
  425. doauthcram=yes)
  426. AUTHCRAM=""
  427. if test "$USE_GDBM$USE_DB" != 00
  428. then
  429. if test "$HMAC" != 0
  430. then
  431. if test "$MD5$SHA1" != 00
  432. then
  433. if test "$doauthcram" = "yes"
  434. then
  435. AUTHCRAM="authcram"
  436. STATIC_LIST="$STATIC_LIST AUTHSTATIC("authcram", auth_cram, auth_cram_pre, auth_userdb_cleanup)"
  437. LIBAUTH="$LIBAUTH libauth-authcram.a"
  438. fi
  439. fi
  440. if test "$MD5" != 0
  441. then
  442. SASL_LIST="$SASL_LIST SASL("CRAM-MD5", authsasl_cram)"
  443. fi
  444. if test "$SHA1" != 0
  445. then
  446. SASL_LIST="$SASL_LIST SASL("CRAM-SHA1", authsasl_cram)"
  447. fi
  448. fi
  449. fi
  450. AM_CONDITIONAL(HAVE_AUTHCRAM, test "$AUTHCRAM" != "")
  451. dnl Checks for header files.
  452. AC_HEADER_STDC
  453. AC_HEADER_SYS_WAIT
  454. AC_CHECK_HEADERS(sys/stat.h sys/time.h sys/wait.h unistd.h fcntl.h crypt.h)
  455. dnl Checks for typedefs, structures, and compiler characteristics.
  456. AC_C_CONST
  457. AC_PID_T
  458. AC_TYPE_UID_T
  459. dnl Other checks
  460. AC_CHECK_LIB(crypt, crypt, CRYPTLIBS="-lcrypt")
  461. saveLIBS="$LIBS"
  462. LIBS="$CRYPTLIBS $LIBS"
  463. AC_CHECK_FUNC(crypt, AC_DEFINE_UNQUOTED(HAVE_CRYPT,1))
  464. LIBS="$saveLIBS"
  465. AC_CACHE_CHECK([for crypt() prototype],userdb_cv_NEED_CRYPT_PROTOTYPE,
  466. AC_TRY_COMPILE( [
  467.        #if HAVE_CRYPT_H
  468.                #include <crypt.h>
  469.                #endif
  470.        #if HAVE_UNISTD_H
  471.        #include <unistd.h>
  472.        #endif
  473.        int crypt(int, int);
  474. ], [], userdb_cv_NEED_CRYPT_PROTOTYPE=1,
  475. userdb_cv_NEED_CRYPT_PROTOTYPE=0 )
  476. )
  477. AC_DEFINE_UNQUOTED(NEED_CRYPT_PROTOTYPE, $userdb_cv_NEED_CRYPT_PROTOTYPE)
  478. AC_SUBST(CRYPTLIBS)
  479. AUTHMODULES="$AUTHCRAM $AUTHUSERDB $AUTHVCHKPW $AUTHPAM $AUTHSHADOW $AUTHPWD $AUTHLDAP $AUTHMYSQL"
  480. AUTHMODULES=`echo $AUTHMODULES`
  481. dnl #########################################################################
  482. dnl Prepare authdaemon module.  The default is to enable it if either
  483. dnl authmysql or authvchkpw or authldap is used.
  484. dnl #########################################################################
  485. AC_ARG_WITH(authdaemonrc,
  486. [ --with-authdaemonrc=filename       Expect to find authmysql here ],
  487. authdaemonrc="$withval",
  488. authdaemonrc="$sysconfdir/authdaemonrc")
  489. AC_SUBST(authdaemonrc)
  490. AC_ARG_WITH(authdaemonvar,
  491. [ --with-authdaemonvar=directory     Directory where authdaemon.pid and
  492.                                     the listening socket is created],
  493. authdaemonvar="$withval",
  494. authdaemonvar="$localstatedir/authdaemon")
  495. AC_ARG_WITH(authdaemon,
  496. [ --with-authdaemon                  Include the authdaemon module
  497. --without-authdaemon               Do not include the authdaemon module],
  498. doauthdaemon="$withval",
  499. doauthdaemon=1
  500. if test "$HAVE_AUTHMYSQL$HAVE_LDAP" = "00"
  501. then
  502. doauthdaemon=0
  503. fi)
  504. AM_CONDITIONAL(HAVE_AUTHDAEMON, test $doauthdaemon = 1)
  505. DAEMON_STATIC_LIST=""
  506. NONDAEMONAUTHMODULES="$AUTHMODULES"
  507. AUTHDAEMONMODULELIST=""
  508. if test $doauthdaemon = 1
  509. then
  510. DAEMON_STATIC_LIST="$STATIC_LIST"
  511. STATIC_LIST="AUTHSTATIC("authdaemon", auth_daemon, auth_daemon_pre, auth_daemon_cleanup)"
  512. AUTHDAEMONMODULELIST="$AUTHMODULES"
  513. AC_DEFINE_UNQUOTED(AUTHDAEMONMODULELIST,"$AUTHDAEMONMODULELIST")
  514. NONDAEMONAUTHMODULES="authdaemon"
  515. LIBAUTH="$LIBAUTH libauth-authdaemon.a"
  516. echo authdaemonrc >>authconfiglist
  517. authdaemondprog="authdaemond authdaemontest authmksock"
  518. else
  519. authdaemonvar=""
  520. authdaemondprog=""
  521. fi
  522. AC_SUBST(authdaemonvar)
  523. AC_SUBST(authdaemondprog)
  524. AC_SUBST(DAEMON_STATIC_LIST)
  525. AC_SUBST(NONDAEMONAUTHMODULES)
  526. AC_SUBST(AUTHDAEMONMODULELIST)
  527. AC_SUBST(AUTHMODULES)
  528. AC_SUBST(LIBAUTH)
  529. INSTALLAUTHMODULES="$NONDAEMONAUTHMODULES"
  530. cp /dev/null authdaemon.msg
  531. if test $doauthdaemon = 1
  532. then
  533. INSTALLAUTHMODULES="$INSTALLAUTHMODULES authdaemond"
  534. cat >authdaemon.msg <<EOF
  535. ----------------------------------------------------------------------------
  536. You must now set up the following command to run at system boot:
  537. $libexecdir/authlib/authdaemond start
  538. ----------------------------------------------------------------------------
  539. EOF
  540. fi
  541. AC_SUBST(INSTALLAUTHMODULES)
  542. AC_DEFINE_UNQUOTED(DAEMON_STATIC_LIST,$DAEMON_STATIC_LIST)
  543. AC_DEFINE_UNQUOTED(STATIC_LIST,$STATIC_LIST)
  544. AC_DEFINE_UNQUOTED(SASL_LIST,$SASL_LIST)
  545. rm -f authdaemonrc.h authldaprc.h authmysqlrc.h vpopmail_config.h
  546. AC_OUTPUT(Makefile html2man.pl authlib.html modulelist installlist authdaemonrc)