Fix copy&paste error in kcompat.h header check
[ust.git] / configure.ac
index 653d902d5c4c3a60dd58b959f89ac210714f5936..7e0ea07c33909b117d6f7971a3108ced9fa513df 100644 (file)
@@ -52,7 +52,7 @@ AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol])
 
 AC_ARG_WITH(kcompat, [  --with-kcompat path     Path to userspace kcompat source
 ], [
-        AC_CHECK_FILE("$KCOMPAT_PATH/kcompat.h", [
+        AC_CHECK_FILE("$withval/kcompat.h", [
                 KCOMPAT_CFLAGS="-I$withval"
                 KCOMPAT_LIBS=
                 ], AC_MSG_ERROR([Cannot find kcompat.h in kcompat directory]))
This page took 0.022863 seconds and 4 git commands to generate.