forked from pool/libguestfs
Accepting request 85864 from home:-miska-
new package (libguestfs) OBS-URL: https://build.opensuse.org/request/show/85864 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=1
This commit is contained in:
28
libguestfs-1.13.14-disable-erlang.patch
Normal file
28
libguestfs-1.13.14-disable-erlang.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
Index: configure.ac
|
||||
===================================================================
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -886,22 +886,7 @@ AS_IF([test "x$enable_php" != "xno"],
|
||||
])
|
||||
AM_CONDITIONAL([HAVE_PHP], [test "x$PHP" != "xno" && test "x$PHPIZE" != "xno"])
|
||||
|
||||
-dnl Erlang
|
||||
-AC_ARG_ENABLE([erlang],
|
||||
- AS_HELP_STRING([--disable-erlang], [Disable Erlang language bindings]),
|
||||
- [],
|
||||
- [enable_erlang=yes])
|
||||
-AS_IF([test "x$enable_erlang" != "xno"],
|
||||
- [
|
||||
- AC_ERLANG_PATH_ERLC([no])
|
||||
-
|
||||
- if test "x$ERLC" != "xno"; then
|
||||
- AC_ERLANG_CHECK_LIB([erl_interface], [],
|
||||
- [AC_MSG_FAILURE([Erlang erl_interface library not installed. Use --disable-erlang to disable.])])
|
||||
- AC_ERLANG_SUBST_LIB_DIR
|
||||
- fi
|
||||
- ])
|
||||
-AM_CONDITIONAL([HAVE_ERLANG], [test "x$ERLC" != "xno"])
|
||||
+AM_CONDITIONAL([HAVE_ERLANG], [test "xno" != "xno"])
|
||||
|
||||
dnl Check for Perl modules needed by Perl virt tools (virt-df, etc.)
|
||||
AS_IF([test "x$PERL" != "xno"],
|
Reference in New Issue
Block a user