X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=7e0ea07c33909b117d6f7971a3108ced9fa513df;hb=b7619a864595a5511a498345635affe2547b91a0;hp=653d902d5c4c3a60dd58b959f89ac210714f5936;hpb=34fb6da728588e2292361fa29341289165940b14;p=ust.git diff --git a/configure.ac b/configure.ac index 653d902..7e0ea07 100644 --- a/configure.ac +++ b/configure.ac @@ -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]))