summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 562c479)
raw | patch | inline | side by side (parent: 562c479)
author | scislac <scislac@users.sourceforge.net> | |
Wed, 18 Feb 2009 02:33:45 +0000 (02:33 +0000) | ||
committer | scislac <scislac@users.sourceforge.net> | |
Wed, 18 Feb 2009 02:33:45 +0000 (02:33 +0000) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 46f3d0e8650d0fff44a18628c3d39cd843fc15fc..869c4d265b2bb56994728147e75cf86b9b09ee7d 100644 (file)
--- a/configure.ac
+++ b/configure.ac
[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"