[aisleriot] Add automake conditional for guile major version



commit c04f93a850a6ab101691a2231f6ad232a2bbbfaf
Author: Christian Persch <chpe gnome org>
Date:   Thu Apr 14 18:54:47 2011 +0200

    Add automake conditional for guile major version

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1665a5a..80dc9f8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -540,6 +540,8 @@ PKG_CHECK_EXISTS([$GUILE_PKGS],
 
 PKG_CHECK_MODULES([GUILE],[$GUILE_PKGS])
 
+AM_CONDITIONAL([HAVE_GUILE_2_X],[test "$with_guile" != "1.8"])
+
 AC_PATH_PROG([GUILE_TOOLS],[guile-tools],[false])
 if test "$GUILE_TOOLS" = "false"; then
   AC_MSG_ERROR([guile-tools not found])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]