Fix copy&paste error in kcompat.h header check
[lttng-ust.git] / configure.ac
index 6f18d7a597ed0707303d679da1c5062f852239a5..7e0ea07c33909b117d6f7971a3108ced9fa513df 100644 (file)
@@ -6,7 +6,7 @@ AC_INIT([ust], [0.0], [pierre-marc dot fournier at polymtl dot ca])
 AC_CONFIG_AUX_DIR([config])
 AC_CONFIG_MACRO_DIR([m4])
 AM_INIT_AUTOMAKE([0.0 foreign])
-AC_CONFIG_SRCDIR([ust/localerr.h])
+AC_CONFIG_SRCDIR([ust/ust.c])
 AC_CONFIG_HEADERS([config.h])
 
 # Checks for programs.
@@ -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.02302 seconds and 4 git commands to generate.