Commit bd8fdffb bd8fdffbcdac923c7edc268a9a02c25773facf26 by Wojciech Polak

Add python to mailutils-config.

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