Commit bd8fdffb bd8fdffbcdac923c7edc268a9a02c25773facf26 by Wojciech Polak

Add python to mailutils-config.

1 parent c5a62c64
...@@ -35,6 +35,7 @@ SUBDIRS = \ ...@@ -35,6 +35,7 @@ SUBDIRS = \
35 libmu_cfg\ 35 libmu_cfg\
36 libmu_cpp\ 36 libmu_cpp\
37 libmu_scm\ 37 libmu_scm\
38 python\
38 libmu_sieve\ 39 libmu_sieve\
39 doc\ 40 doc\
40 config\ 41 config\
...@@ -54,8 +55,7 @@ SUBDIRS = \ ...@@ -54,8 +55,7 @@ SUBDIRS = \
54 dotlock\ 55 dotlock\
55 mh\ 56 mh\
56 movemail\ 57 movemail\
57 mimeview\ 58 mimeview
58 python
59 59
60 EXTRA_DIST = COPYING.LESSER 60 EXTRA_DIST = COPYING.LESSER
61 61
......
1 ## Process this file with GNU Automake to create Makefile.in 1 ## Process this file with GNU Automake to create Makefile.in
2 2
3 ## Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. 3 ## Copyright (C) 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
4 ## 4 ##
5 ## GNU Mailutils is free software; you can redistribute it and/or 5 ## GNU Mailutils is free software; you can redistribute it and/or
6 ## modify it under the terms of the GNU General Public License as 6 ## modify it under the terms of the GNU General Public License as
...@@ -34,6 +34,7 @@ mailutils_config_CFLAGS = -DCOMPILE_FLAGS="\"-I$(includedir)\"" \ ...@@ -34,6 +34,7 @@ mailutils_config_CFLAGS = -DCOMPILE_FLAGS="\"-I$(includedir)\"" \
34 -DLINK_POSTFLAGS="\"$(MU_LINK_POSTFLAGS)\"" \ 34 -DLINK_POSTFLAGS="\"$(MU_LINK_POSTFLAGS)\"" \
35 -DAUTHLIBS="\"$(MU_AUTHLIBS)\"" \ 35 -DAUTHLIBS="\"$(MU_AUTHLIBS)\"" \
36 -DGUILE_LIBS="\"$(GUILE_LIBS)\"" \ 36 -DGUILE_LIBS="\"$(GUILE_LIBS)\"" \
37 -DPYTHON_LIBS="\"$(PYTHON_LIBS)\"" \
37 -DI18NLIBS="\"$(LIBINTL)\"" 38 -DI18NLIBS="\"$(LIBINTL)\""
38 39
39 m4datadir = $(datadir)/aclocal 40 m4datadir = $(datadir)/aclocal
......
...@@ -213,6 +213,12 @@ main (int argc, char **argv) ...@@ -213,6 +213,12 @@ main (int argc, char **argv)
213 add_entry (-1, "-lmu_scm " GUILE_LIBS); 213 add_entry (-1, "-lmu_scm " GUILE_LIBS);
214 } 214 }
215 #endif 215 #endif
216 #ifdef WITH_PYTHON
217 else if (strcmp (argv[0], "python") == 0)
218 {
219 add_entry (-1, "-lmu_py " PYTHON_LIBS);
220 }
221 #endif
216 else if (strcmp (argv[0], "cfg") == 0) 222 else if (strcmp (argv[0], "cfg") == 0)
217 add_entry (-1, "-lmu_cfg"); 223 add_entry (-1, "-lmu_cfg");
218 else if (strcmp (argv[0], "argp") == 0) 224 else if (strcmp (argv[0], "argp") == 0)
......