From 38a42ed51950661edd5a5ea59151795e12b259f3 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sun, 11 Dec 2011 19:27:37 +0100 Subject: fix built-in spelling on linux --- configure.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 620268d2..1ebc46f5 100644 --- a/configure.in +++ b/configure.in @@ -10,6 +10,7 @@ AC_CONFIG_SRCDIR([configure.in]) AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects no-define]) +AC_USE_SYSTEM_EXTENSIONS AM_MAINTAINER_MODE AC_PROG_CC AM_PROG_CC_C_O @@ -40,6 +41,7 @@ dnl AH_VERBATIM([USE_GNOME],[#undef USE_GNOME]) AH_VERBATIM([USE_SHM],[#undef USE_SHM]) AH_VERBATIM([USE_GTKSPELL],[#undef USE_GTKSPELL]) AH_VERBATIM([USE_LIBSEXY],[#undef USE_LIBSEXY]) +AH_VERBATIM([HAVE_ISO_CODES],[#undef HAVE_ISO_CODES]) AH_VERBATIM([USE_LIBNOTIFY],[#undef USE_LIBNOTIFY]) AH_VERBATIM([USE_IPV6],[#undef USE_IPV6]) AH_VERBATIM([USE_MMX],[#undef USE_MMX]) @@ -549,7 +551,14 @@ if test "$spell" = "libsexy" ; then fi if test "$spell" = "static" ; then + PKG_CHECK_MODULES(LIBXML2, libxml-2.0 >= 2.0.0, [ + AC_DEFINE(HAVE_ISO_CODES) AC_DEFINE(USE_LIBSEXY) + GUI_CFLAGS="$GUI_CFLAGS -I/usr/include/libxml2" + LIBS="$LIBS -lxml2" + ], [ + AC_MSG_ERROR("Cannot find libxml2") + ]) fi dnl ********************************************************************* -- cgit 1.4.1 From 0520f6d948a7c22187c6ba23888f096d144cfcfb Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 4 Feb 2012 20:59:30 +0100 Subject: don't use AC_USE_SYSTEM_EXTENSIONS since it might be missing on certain systems --- configure.in | 1 - 1 file changed, 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 1ebc46f5..3c0cce27 100644 --- a/configure.in +++ b/configure.in @@ -10,7 +10,6 @@ AC_CONFIG_SRCDIR([configure.in]) AM_INIT_AUTOMAKE([1.9 dist-bzip2 subdir-objects no-define]) -AC_USE_SYSTEM_EXTENSIONS AM_MAINTAINER_MODE AC_PROG_CC AM_PROG_CC_C_O -- cgit 1.4.1