Added check for installed libltdl. Bumped version number to 0.1.3.
Showing
1 changed file
with
10 additions
and
2 deletions
... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
18 | # | 18 | # |
19 | 19 | ||
20 | AC_INIT([GNU Mailutils],[0.1.2],[bug-mailutils@gnu.org]) | 20 | AC_INIT([GNU Mailutils],[0.1.3],[bug-mailutils@gnu.org]) |
21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) | 21 | AC_CONFIG_SRCDIR([mailbox/mailbox.c]) |
22 | AC_CANONICAL_TARGET([]) | 22 | AC_CANONICAL_TARGET([]) |
23 | AM_INIT_AUTOMAKE | 23 | AM_INIT_AUTOMAKE |
... | @@ -29,13 +29,21 @@ dnl Check for programs | ... | @@ -29,13 +29,21 @@ dnl Check for programs |
29 | AC_PROG_CC | 29 | AC_PROG_CC |
30 | AC_PROG_INSTALL | 30 | AC_PROG_INSTALL |
31 | AC_PROG_LN_S | 31 | AC_PROG_LN_S |
32 | AC_LIBTOOL_DLOPEN | ||
32 | AM_PROG_LIBTOOL | 33 | AM_PROG_LIBTOOL |
33 | AC_PROG_YACC | 34 | AC_PROG_YACC |
34 | AM_PROG_LEX | 35 | AM_PROG_LEX |
35 | 36 | ||
36 | dnl Check for libraries | 37 | dnl Check for libraries |
37 | AC_CHECK_LIB(resolv, res_query) | 38 | AC_CHECK_LIB(resolv, res_query) |
38 | 39 | LTDL_LIB= | |
40 | AC_SUBST(LTDL_LIB) | ||
41 | AC_CHECK_LIB(ltdl, lt_dlinit,[ | ||
42 | AC_DEFINE(HAVE_LIBLTDL, | ||
43 | 1, | ||
44 | [Define to 1 if you have the `ltdl' library (-lltdl).]) | ||
45 | LTDL_LIB=-lltdl], | ||
46 | [LTDL_LIB=""]) | ||
39 | MU_DEBUG_MODE | 47 | MU_DEBUG_MODE |
40 | 48 | ||
41 | # Initialize authlibs | 49 | # Initialize authlibs | ... | ... |
-
Please register or sign in to post a comment