# Process this file with autoconf to produce a configure script. AC_INIT([MathPlanner], [3.1.3], [jarmonik@mbnet.fi]) AC_CONFIG_SRCDIR([src/Base.cpp]) # AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([MathPlanner],[3.1.3]) # Checks for programs. AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL # Checks for header files.aclocal # AC_HEADER_STDC # checks for libraries if test -n "$QTDIR"; then # do nothing HAVE_QT=1 else AC_MSG_ERROR([You must export QTDIR]) fi if test -n "$BROWSER"; then AC_MSG_NOTICE([browser $BROWSER... ok]) else AC_MSG_NOTICE([BROWSER variable is not defined.]) fi # All done AC_OUTPUT([Makefile src/Makefile Doc/Makefile examples/Makefile icons/Makefile pixmaps/Makefile ts/Makefile]) AC_MSG_NOTICE([ ]) AC_MSG_NOTICE([-----------------------------------------------------]) AC_MSG_NOTICE([If the Meta Object Compiler (moc) reports some errors]) AC_MSG_NOTICE([Execute ./moc.sh in /src to update metasources]) AC_MSG_NOTICE([-----------------------------------------------------]) AC_MSG_NOTICE([ ])