}
}
-(automake --version) < /dev/null > /dev/null 2>&1 || {
+(automake-1.7 --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' installed."
echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/"
# if no automake, don't bother testing for aclocal
-test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
+test -n "$NO_AUTOMAKE" || (aclocal-1.7 --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
echo "installed doesn't appear recent enough."
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
fi
- echo "Running automake --gnu $am_opt ..."
- automake --add-missing --gnu $am_opt
+ echo "Running automake-1.7 --gnu $am_opt ..."
+ automake-1.7 --add-missing --gnu $am_opt
echo "Running autoconf ..."
autoconf
)
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 "$@" \