X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fconfigure.in;h=90e12b0ffb7bc0419045e64d66d6223c8472dd74;hb=388a40e919b4f45afc78aae141cfb33549bb0378;hp=9435ae8e6a443acf2c64d573082f9c9fe9f72745;hpb=dbedfa64fad539c97696cb420432b516809c49fd;p=lttv.git diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 9435ae8e..90e12b0f 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -22,6 +22,10 @@ AC_CHECK_LIB([popt], [poptGetNextOpt], ,AC_MSG_ERROR([libpopt is required in ord AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/time.h unistd.h]) +PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) +AC_SUBST(PACKAGE_CFLAGS) +AC_SUBST(PACKAGE_LIBS) + # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST @@ -45,7 +49,10 @@ lttlibdir="${libdir}/ltt" AC_SUBST(lttlibdir) -DEFAULT_INCLUDES="-I\$(top_srcdir)/include" +top_includedir="\$(top_srcdir)/include" +AC_SUBST(top_includedir) + +DEFAULT_INCLUDES="-I\$(top_includedir)" AC_SUBST(DEFAULT_INCLUDES) #CPPFLAGS="${GLIB_CFLAGS}"