git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5427471
)
build: Add ./configure --disable-haskell option.
author
Maxim Koltsov
<kolmax94@gmail.com>
Mon, 8 Nov 2010 14:46:46 +0000
(14:46 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 18 Nov 2010 11:30:22 +0000
(11:30 +0000)
This disables the Haskell language bindings.
(cherry picked from commit
ada875642332b56acbf75d68e964f2f16ca50530
)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
3e15ad3
..
e85c998
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-763,8
+763,16
@@
AC_SUBST(JNI_VERSION_INFO)
AM_CONDITIONAL([HAVE_JAVA],[test -n "$JAVAC"])
dnl Check for Haskell (GHC).
-AC_CHECK_PROG([GHC],[ghc],[ghc],[no])
-
+GHC=no
+AC_ARG_ENABLE([haskell],
+ AS_HELP_STRING([--disable-haskell], [Disable Haskell language bindings]),
+ [],
+ [enable_haskell=yes])
+AS_IF([test "x$enable_haskell" != "xno"],
+ [
+ GHC=
+ AC_CHECK_PROG([GHC],[ghc],[ghc],[no])
+ ])
AM_CONDITIONAL([HAVE_HASKELL],
[test "x$GHC" != "xno"])