From 3bea00b56f346f541aff67872fd9c100cc55eaa2 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 29 May 2003 16:02:23 +0000 Subject: [PATCH] tweak for include emulation recreation git-svn-id: http://ltt.polymtl.ca/svn@35 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/autogen.sh | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 "$@" \ -- 2.34.1