* don't try to use guile if it's pre-2.x; but add some beginning compat

functions for 1.8 and friends
This commit is contained in:
Dirk-Jan C. Binnema
2011-07-17 22:28:17 +03:00
parent 8b824da539
commit 815d5ad862
7 changed files with 74 additions and 22 deletions

View File

@ -16,6 +16,9 @@
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif /*HAVE_CONFIG_H*/
#include <mu-runtime.h>
@ -27,7 +30,13 @@
int
main (int argc, char *argv[])
{
mu_runtime_init ("/home/djcb/.mu");
#ifdef HAVE_PRE2_GUILE
g_warning ("Note: muile will not function correctly unless you have a "
"UTF-8 locale.");
#endif /* HAVE_PRE2_GUILE */
mu_runtime_init (mu_util_guess_mu_homedir());
scm_with_guile (&mu_guile_msg_init, NULL);
scm_with_guile (&mu_guile_store_init, NULL);