tweak for include emulation recreation
[lttv.git] / ltt / branches / poly / autogen.sh
index 8fe1de8a10a3ae1e49f0e14a371bb1e7a6306d2c..a9a6adaa8b29770416ca1be86df42435369de60e 100755 (executable)
@@ -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 "$@" \
This page took 0.023466 seconds and 4 git commands to generate.