From: compudj Date: Thu, 29 May 2003 16:02:23 +0000 (+0000) Subject: tweak for include emulation recreation X-Git-Tag: v0.12.20~3454 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3bea00b56f346f541aff67872fd9c100cc55eaa2;p=lttv.git tweak for include emulation recreation git-svn-id: http://ltt.polymtl.ca/svn@35 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/autogen.sh b/ltt/branches/poly/autogen.sh index 24d36d78..a9a6adaa 100755 --- a/ltt/branches/poly/autogen.sh +++ b/ltt/branches/poly/autogen.sh @@ -150,16 +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 -s ../../LibLTT/ltt.h $srcdir/include/ltt/ltt.h +ln -sf ../../LibLTT/ltt.h $srcdir/include/ltt/ltt.h mkdir $srcdir/include/lttv -ln -s ../../lttv/module.h $srcdir/include/lttv/module.h -ln -s ../../lttv/hook.h $srcdir/include/lttv/hook.h -ln -s ../../lttv/traceWindow.h $srcdir/include/lttv/traceWindow.h +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 "$@" \