File bnc798263-fix-opensuse123-compile-error.patch of Package libdlm.openSUSE_12.3_Update
Index: libdlm/configure.ac
===================================================================
--- libdlm.orig/configure.ac
+++ libdlm/configure.ac
@@ -115,10 +115,10 @@ if test "x${enable_pacemaker}" = xno &&
AC_MSG_ERROR([At least one dlm_controld build method (cman or pacemaker) has to be selected])
fi
-AC_ARG_WITH([kernel],
- [ --with-kernel=path path to kernel source. ],
- [ KERNEL_DIR="$withval" ],
- [ KERNEL_DIR="$DEFAULT_KERNEL_DIR" ])
+#AC_ARG_WITH([kernel],
+# [ --with-kernel=path path to kernel source. ],
+# [ KERNEL_DIR="$withval" ],
+# [ KERNEL_DIR="$DEFAULT_KERNEL_DIR" ])
KERNEL_CPPFLAGS="-I$KERNEL_DIR/include"