From 85310cc440f58ae1036019c5922fe61c33e5265b Mon Sep 17 00:00:00 2001 From: scislac Date: Wed, 18 Feb 2009 02:33:45 +0000 Subject: [PATCH] Fixed build issues related to libaspell detection - thanks to bulia --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac index 46f3d0e86..869c4d265 100644 --- a/configure.ac +++ b/configure.ac @@ -688,6 +688,15 @@ AC_CHECK_HEADER(popt.h, [INKSCAPE_LIBS="$INKSCAPE_LIBS -lpopt"], AC_MSG_ERROR([libpopt is required])) +dnl ************************** +dnl Check for aspell +dnl ****************************** +AC_CHECK_LIB(aspell, new_aspell_config, [AC_CHECK_HEADER(aspell.h, aspell_ok=yes, aspell_ok=no)], aspell_ok=no, -lz -lm) +if test "x$aspell_ok" != "xyes"; then + AC_MSG_ERROR([aspell is needed to compile inkscape]) +fi +INKSCAPE_LIBS="$INKSCAPE_LIBS -laspell" + dnl Check for bind_textdomain_codeset, including -lintl if GLib brings it in. sp_save_LIBS=$LIBS LIBS="$LIBS $INKSCAPE_LIBS" -- 2.30.2