X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=configure.ac;h=dbaa45b7b2f88d2843bb480879186388860e20a2;hb=2615de09cbdc7ef9b62db08c182bd75acfad6487;hp=c44b5655666e4f01cf0d693c27e20064897da3ee;hpb=7a7dca403897749bd9517dbb94cfc144adfd64f9;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index c44b5655..dbaa45b7 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ AC_INIT([ust], [0.0], [pierre-marc dot fournier at polymtl dot ca]) AC_CONFIG_AUX_DIR(make_scripts) AM_INIT_AUTOMAKE([0.0 foreign]) AC_CONFIG_SRCDIR([ust/localerr.h]) -#AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CC @@ -50,7 +50,9 @@ AC_FUNC_MALLOC AC_CHECK_FUNCS([gettimeofday munmap socket strerror strtol]) AC_ARG_WITH(urcu, [ --with-urcu path Path to userspace RCU source], URCU_PATH="$withval", AC_MSG_ERROR([Must specify urcu path.])) +AC_CHECK_FILE("$URCU_PATH/urcu.h", , AC_MSG_ERROR([Cannot find urcu.h in urcu directory])) AC_ARG_WITH(kcompat, [ --with-kcompat path Path to userspace kcompat source], KCOMPAT_PATH="$withval", AC_MSG_ERROR([Must specify kcompat path.])) +AC_CHECK_FILE("$KCOMPAT_PATH/kcompat.h", , AC_MSG_ERROR([Cannot find kcompat.h in kcompat directory])) AC_SUBST(URCU_PATH) AC_SUBST(KCOMPAT_PATH) @@ -63,5 +65,5 @@ AC_SUBST(KCOMPAT_PATH) # ust/Makefile # ustd/Makefile]) -AC_CONFIG_FILES([Makefile libmarkers/Makefile libtracectl/Makefile libtracing/Makefile]) +AC_CONFIG_FILES([Makefile libust/Makefile hello/Makefile libmallocwrap/Makefile ustd/Makefile ust/Makefile]) AC_OUTPUT