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.
Showing
2 changed files
with
2 additions
and
14 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment