paradiseo/eo/autogen.sh
kuepper 47af7cfe5a Clean up configure/build-process.
- assume C++ standard-conforming environment
- add a user-option for gnuplot-support
- separate gnuplot-code into declaration and implementation,
  so we can define at EO-build-time whether to use it or not.

Adopt code and Makefiles to above changes.

Some minor fixes.
2005-10-02 21:42:08 +00:00

39 lines
771 B
Bash
Executable file

#!/bin/sh
DIE=0
PROG=eo
(autoconf --version) < /dev/null > /dev/null 2>&1 ||
{
echo
echo "You must have autoconf installed to compile $PROG."
DIE=1
}
(automake --version) < /dev/null > /dev/null 2>&1 ||
{
echo
echo "You must have automake installed to compile $PROG."
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
set aclocalinclude="$ACLOCAL_FLAGS"
aclocal $aclocalinclude
unset $aclocalinclude
autoheader
automake -a -c
autoconf
# we want doc to be recompiled - and it keeps saying it's up to date!!!
# touch doc/eo.cfg
echo
echo "Now run 'configure' and 'make' to build $PROG."
echo "You can check the libraries by running 'make check'"
echo
echo "If you have Doxygen installed, type 'make doc' to generate $PROG documentation."
echo