File zfs-dkms.patch of Package zfs

diff -ru a/autogen.sh b/autogen.sh
--- a/autogen.sh
+++ b/autogen.sh
@@ -2,3 +2,5 @@
 
 autoreconf -fiv
 rm -Rf autom4te.cache
+
+./configure "$@"
diff -ru a/scripts/dkms.mkconf b/scripts/dkms.mkconf
--- a/scripts/dkms.mkconf
+++ b/scripts/dkms.mkconf
@@ -22,10 +22,10 @@
 PACKAGE_NAME="${pkgname}"
 PACKAGE_VERSION="${pkgver}"
 PACKAGE_CONFIG="${pkgcfg}"
-PRE_BUILD="configure
+PRE_BUILD="./autogen.sh
   --prefix=/usr
   --with-config=kernel
-  --with-linux=\${kernel_source_dir}
+  --with-linux=/usr/src/linux
   --with-linux-obj=\${kernel_source_dir}
   --with-spl=\${source_tree}/spl-\${PACKAGE_VERSION}
   --with-spl-obj=\${dkms_tree}/spl/\${PACKAGE_VERSION}/\${kernelver}/\${arch}