tweak for include emulation recreation
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 29 May 2003 16:02:23 +0000 (16:02 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 29 May 2003 16:02:23 +0000 (16:02 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@35 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/autogen.sh

index 24d36d788c43e15c5f6ae06772cbac2643a86901..a9a6adaa8b29770416ca1be86df42435369de60e 100755 (executable)
@@ -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 "$@" \
This page took 0.024307 seconds and 4 git commands to generate.