X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fautogen.sh;h=a9a6adaa8b29770416ca1be86df42435369de60e;hb=940dc6d6ceaf9aa769aacc10285749214699ef1d;hp=8fe1de8a10a3ae1e49f0e14a371bb1e7a6306d2c;hpb=5f13cda07ffb4649ee135da103fcd811c554b1e8;p=lttv.git diff --git a/ltt/branches/poly/autogen.sh b/ltt/branches/poly/autogen.sh index 8fe1de8a..a9a6adaa 100755 --- a/ltt/branches/poly/autogen.sh +++ b/ltt/branches/poly/autogen.sh @@ -134,8 +134,8 @@ do libtoolize --force --copy fi fi - echo "Running aclocal $aclocalinclude ..." - aclocal $aclocalinclude + echo "Running aclocal-1.7 $aclocalinclude ..." + aclocal-1.7 $aclocalinclude if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then echo "Running autoheader..." autoheader @@ -150,6 +150,24 @@ done conf_flags="--enable-maintainer-mode" + +if [ -a "$srcdir/include" ]; then + echo -n Removing old system include behavior emulation... + rm -rf $srcdir/include + echo done. +fi +echo -n Creating the system include behavior emulation... +mkdir $srcdir/include +mkdir $srcdir/include/ltt +ln -sf ../../LibLTT/ltt.h $srcdir/include/ltt/ltt.h +mkdir $srcdir/include/lttv +ln -sf ../../lttv/module.h $srcdir/include/lttv/module.h +ln -sf ../../lttv/hook.h $srcdir/include/lttv/hook.h +ln -sf ../../lttv/traceWindow.h $srcdir/include/lttv/traceWindow.h +echo done. + + + if test x$NOCONFIGURE = x; then echo Running $srcdir/configure $conf_flags "$@" ... $srcdir/configure $conf_flags "$@" \