Commit 0f227206 0f227206d9cfb38b7023ce60de75877130647dfe by Sergey Poznyakoff

Fix GINT_INIT usage.

* gint: Update to 4e48677eee5a
* configure.ac (--without-guile): Remove option. Handled by GINT_INIT.
(GINT_INIT): Don't call it within a conditional.
1 parent 622ccfa2
...@@ -306,16 +306,6 @@ if test "$WITH_GNUTLS" != "no"; then ...@@ -306,16 +306,6 @@ if test "$WITH_GNUTLS" != "no"; then
306 AC_DEFINE(WITH_TLS,1,[Define if mailutils is using TLS]) 306 AC_DEFINE(WITH_TLS,1,[Define if mailutils is using TLS])
307 fi 307 fi
308 308
309 AC_ARG_WITH([guile],
310 AC_HELP_STRING([--without-guile],
311 [do not build guile interface]),
312 [
313 case "${withval}" in
314 yes) useguile=yes ;;
315 no) useguile=no ;;
316 *) AC_MSG_ERROR(bad value ${withval} for --without-guile) ;;
317 esac],[useguile=yes])
318
319 AC_SUBST(SITE_MAIL_RC) 309 AC_SUBST(SITE_MAIL_RC)
320 AC_ARG_WITH([mail-rc], 310 AC_ARG_WITH([mail-rc],
321 AC_HELP_STRING([--with-mail-rc=FILE], 311 AC_HELP_STRING([--with-mail-rc=FILE],
...@@ -1078,8 +1068,7 @@ AC_SUBST([LIBMU_SCM]) ...@@ -1078,8 +1068,7 @@ AC_SUBST([LIBMU_SCM])
1078 AC_SUBST([LIBMU_SCM_DEPS]) 1068 AC_SUBST([LIBMU_SCM_DEPS])
1079 AC_SUBST([MU_GUILE_SIEVE_MOD_DIR]) 1069 AC_SUBST([MU_GUILE_SIEVE_MOD_DIR])
1080 AC_SUBST([MU_GUILE_SIEVE_MOD_DATA]) 1070 AC_SUBST([MU_GUILE_SIEVE_MOD_DATA])
1081 if test "$useguile" != "no"; then 1071 GINT_INIT([gint],[1.8 with-guile],
1082 GINT_INIT([gint],[1.8],
1083 [useguile=yes 1072 [useguile=yes
1084 AC_DEFINE([WITH_GUILE],1,[Enable Guile support]) 1073 AC_DEFINE([WITH_GUILE],1,[Enable Guile support])
1085 GUILE_BINDIR=`guile-config info bindir` 1074 GUILE_BINDIR=`guile-config info bindir`
...@@ -1090,7 +1079,6 @@ if test "$useguile" != "no"; then ...@@ -1090,7 +1079,6 @@ if test "$useguile" != "no"; then
1090 GINT_INCLUDES='${MU_APP_COMMON_INCLUDES}' 1079 GINT_INCLUDES='${MU_APP_COMMON_INCLUDES}'
1091 GINT_LDADD=../lib/libmuaux.la 1080 GINT_LDADD=../lib/libmuaux.la
1092 ],[useguile=no]) 1081 ],[useguile=no])
1093 fi
1094 1082
1095 AM_CONDITIONAL([MU_COND_LIBMU_SCM],[test "$useguile" = "yes"]) 1083 AM_CONDITIONAL([MU_COND_LIBMU_SCM],[test "$useguile" = "yes"])
1096 1084
......
gint @ 4e48677e
1 Subproject commit 4254b0590e609b82dac3d688ecb401c9eefb7e25 1 Subproject commit 4e48677eee5abf6a7190fc200d3085cc43643322
......