autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbee : autoconf -Wall + configure.in


From: Karl Schmitt
Subject: Re: Newbee : autoconf -Wall + configure.in
Date: Thu, 14 Sep 2006 15:58:30 +0200
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Thanks thousand times Ralf for your response,
here is the autoconf -Wall:

address@hidden:/vobs/old_cvs_stuff7> autoconf -Wall
configure.in:618: error: m4_popdef: undefined macro: AC_Dest
/usr/src/packages/BUILD/autoconf-2.59/tests/../lib/autoconf/status.m4:848: AC_CONFIG_FILES is expanded from...
configure.in:618: the top level
autom4te: /usr/bin/m4 failed with exit status: 1

--------------------------------------------------

... and here comes the configure.in
I will send the

address@hidden:/vobs/old_cvs_stuff7> wc -l configure.in
622 configure.in
address@hidden:/vobs/old_cvs_stuff7> cat configure.in
dnl Process this file with autoconf to produce a configure script.
dnl
dnl last changes:
dnl date who did it what ?
dnl 08.07.03 dietmar VAN ist nun default aktiviert
dnl check, ob FIFO existiert
dnl 05.08.03 dietmar sudo vorhanden ??
dnl
dnl TO DO:
dnl a) check die crontab -> /tmp darf nicht gel�cht werden
dnl b) check, ob gcc gepatcht ist ??
dnl
AC_INIT(src/luftraum/navdb.cxx)

SCHNITTSTELLENDIRS="4d_input sda arrcos derddisp van"
VDPDIRS="setup-conf setup-bin d4libbasics d4libsupport d4libcommunication d4libpvm global luftraum d4wp d4arrival_sa d4wpneu d4supervisor schnittstellen plandisp testprogs AusfallSich"

dnl Check for Host Type
AC_CANONICAL_HOST
AM_INIT_AUTOMAKE(4dp, Release-1.03)

dnl Festlegen, wohin der 4D-Planer defaultm�ig install-4dpiert werden soll
dnl (kann mit der configure-Options --prefix=DIR berschrieben werden)
dnl Per default wird in das Vaterverzeichnis von src install-4dpiert.
AC_PREFIX_DEFAULT(`pwd`)

dnl Checks for programs:
dnl C++-Compiler:
AC_PROG_CXX
dnl
dnl Setze zus�zliche AM_CXX-Flags
dnl
if test "$GXX" = yes ; then
AM_CXXFLAGS="-g -Wall -pedantic -Wstrict-prototypes -Wfloat-equal -Wno-non-template-friend"
fi
dnl
dnl add -Werror some day
dnl
AC_PROG_CC
if test "$GCC" = yes ; then
AM_CFLAGS="-g -Wall -pedantic -Wstrict-prototypes -Wfloat-equal"
fi
dnl echo $AM_CFLAGS

dnl Setzen des Compiler-Flags __USE_STD_IOSTREAM, das fr den
dnl Compaq-Compiler ben�igt wird.
case "${host}" in
*-dec-osf4*)
AM_CFLAGS="$AM_CFLAGS -D__ALPHA"
if test "$GXX" != yes ; then
AC_DEFINE(__USE_STD_IOSTREAM)
AM_CXXFLAGS="$AM_CXXFLAGS -w0 -ptr \$(top_srcdir)/cxx_repository"
AM_CFLAGS="$AM_CFLAGS -w0"
fi
AC_DEFINE(_XOPEN_SOURCE_EXTENDED)
AC_DEFINE(_POSIX_PII_SOCKET)
BINARY_DIST_NAME=OSF1
;;
*-sun-solaris*)
if test "$GXX" != yes ; then
AC_MSG_CHECKING(["whether ${CXX} is Sun WorkShop Compiler"])
SUN_WS="no"
${CXX} -V 2>&1 | \
grep -i 'Sun.*WorkShop' > /dev/null 2>&1 && \
SUN_WS="yes"
AC_MSG_RESULT("$SUN_WS")
fi
BINARY_DIST_NAME=SOLARIS
;;
*linux*)
BINARY_DIST_NAME=LINUX
;;
esac

AC_SUBST(CXXFLAGS)
AC_SUBST(CFLAGS)
AC_SUBST(BINARY_DIST_NAME)

dnl Der Sun WorkShop Compiler erzeugt Objekte, die nicht mit ar in
dnl Bibliotheken zusammengefa� werden k�nen. (Templates werden in extra
dnl Files verwaltet, was nur der Sun WorkShop Compiler selber wei�) Daher
dnl bringt dieser Compiler eine Komandozeilen-Option mit, mit der man
dnl Bibliotheken bauen kann.

if test "x$SUN_WS" = "xyes" ; then
CXX_AR='$(CXX) -xar -o'
else
CXX_AR='$(AR) cru'
fi

dnl Die Variable CXX_AR soll nur in Makefiles verwendet werden (wegen der
dnl Syntax $(AR))!

AC_SUBST(CXX_AR)

dnl Install-Programm
AC_PROG_INSTALL
dnl Symbolische Links im Filesystem
AC_PROG_LN_S
dnl Make in Subdirectories
AC_PROG_MAKE_SET
dnl ranlib
AC_PROG_RANLIB
dnl Search for X
AC_PATH_X
AC_PATH_XTRA
if test "x$with_x" = xno; then
AC_MSG_ERROR("no X found")
fi
X_LIBS="-lX11 $X_LIBS"
AC_CHECK_LIB(Xt,XtCalloc,X_LIBS="-lXt $X_LIBS", AC_MSG_ERROR("libXt missing"),$X_LIBS) AC_CHECK_LIB(Xm,XmInternAtom,X_LIBS="-lXm $X_LIBS",AC_MSG_ERROR("libXm missing"),$X_LIBS) AC_CHECK_LIB(Xmu,XmuClientWindow,X_LIBS="-lXmu $X_LIBS",AC_MSG_ERROR("libXmu missing"),$X_LIBS)
dnl FIXME: Hier muss noch ein Test gefahren werden, um
dnl sicherzustellen, da�TCL vorhanden ist. Allerdings ist TCL nuer fuer die Testumgebung
dnl notwendig (Softtastatur plankbd)

AC_PATH_PROG(XRDB,xrdb)
AC_SUBST(XRDB)

dnl Suche nach wish. wish wird zum Starten der Tcl-Soft-Tastatur
dnl im Planungsdisplay benoetigt
AC_PATH_PROG(WISH,wish)

dnl Checks for libraries.
dnl Solaris needs -lsocket and -lnsl.
AC_CHECK_LIB(nsl, gethostbyname)
AC_CHECK_LIB(socket, socket, ac_need_libsocket=1, ac_try_nsl=1)
if test x$ac_need_libsocket = x1; then
LIBS="-lsocket $LIBS"
fi
if test x$ac_try_nsl = x1; then
AC_CHECK_LIB(nsl, gethostbyname, ac_need_libnsl=1)
if test x$ac_need_libnsl = x1
then
LIBS="-lnsl $LIBS"
fi
fi


dnl ueberpruefen, ob bash da ist
AC_PATH_PROG(BASH,bash,"NO_BASH",$PATH:/usr/local/bin:/bin)
AC_SUBST(BASH)

dnl ueberpruefen, ob ping da ist (wird von PVM.ENV gebraucht)
AC_PATH_PROG(PING,ping,,,$PATH:/bin:/sbin:/usr/sbin)
AC_SUBST(PING)
dnl ueberpruefen, ob xterm da ist
AC_PATH_PROG(XTERM,xterm,,$PATH:/usr/bin/X11:/usr/X11R6/bin)
AC_SUBST(XTERM)
dnl ueberprfen, ob idl
AC_PATH_PROG(IDL,idl,"NO_IDL",$PATH:/opt/dce/bin)

dnl Suche nach PVM_ROOT
dnl Zuerst nachsehen, ob PVM_ROOT gesetzt ist entweder als
dnl Umgebungsvariable oder als configure-Argument:
AC_MSG_CHECKING(["for PVM_ROOT"])
AC_ARG_WITH(pvm,
[ --with-pvm=DIR specify path to PVM_ROOT-Directory],
PVM_ROOT=$withval)
if test -n "$PVM_ROOT" ; then
AC_CHECK_FILE($PVM_ROOT/include/pvm3.h,
PVM_INCLUDE="$PVM_ROOT/include",
PVM_INCLUDE="not_found")
if test "$PVM_INCLUDE" = "not_found" ; then
AC_MSG_ERROR("$PVM_ROOT/include/pvm3.h not found")
fi
AC_MSG_RESULT($PVM_ROOT)
else
PVM_INCLUDE="not_found"
for i in /usr/lib/pvm3 /usr/local/pvm3 /usr/local/lib/pvm3 ; do
if test "$PVM_INCLUDE" = "not_found" ; then
AC_CHECK_FILE($i/include/pvm3.h,
PVM_INCLUDE="$i/include",
PVM_INCLUDE="not_found")
if test "$PVM_INCLUDE" != "not_found" ; then
PVM_ROOT="$i"
fi
fi
done
if test "$PVM_INCLUDE" = "not_found" ; then
AC_MSG_ERROR("PVM not found - use --with-pvm= or set \$PVM_ROOT")
else
AC_MSG_RESULT("$PVM_ROOT")
fi
fi

test -x $PVM_ROOT/lib/pvmgetarch || AC_MSG_ERROR("pvmgetarch not found")
PVM_ARCH=`$PVM_ROOT/lib/pvmgetarch`

AC_SUBST(PVM_ROOT)
AC_SUBST(PVM_ARCH)
AC_SUBST(PVM_INCLUDE)

dnl ueberpruefen, ob pvm da ist
AC_PATH_PROG(PVM,pvm,,$PATH:/usr/local/pvm3/lib:/usr/local/bin)
AC_PATH_PROG(PVMGS,pvmgs,,$PATH:/usr/local/pvm3/bin/$PVM_ARCH)
AC_SUBST(PVM)
AC_SUBST(PVMGS)

LDFLAGS="$LDFLAGS -L$PVM_ROOT/lib/$PVM_ARCH"

dnl Checking von pvm3-Library
AC_CHECK_LIB(pvm3, pvm_config,
LIBS="-lpvm3 $LIBS",
AC_MSG_ERROR("libpvm3 not found"))
AC_CHECK_LIB(gpvm3, gs_group,
LIBS="-lgpvm3 $LIBS",
AC_MSG_ERROR("libgpvm3 not found"))
dnl Replace `main' with a function in -ldl:
dnl AC_CHECK_LIB(dl, main) wird evtl. unter Solaris gebraucht

LIBS="$LIBS -lm"

AC_SUBST(LIBS)

dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_LANG_CPLUSPLUS

AC_CHECK_HEADER(fcntl.h, :, AC_MSG_ERROR("Header file fcntl.h not found!"))
AC_CHECK_HEADER(limits.h, :, AC_MSG_ERROR("Header file limits.h not found!")) AC_CHECK_HEADER(malloc.h, :, AC_MSG_ERROR("Header file malloc.h not found!")) AC_CHECK_HEADER(strings.h, :, AC_MSG_ERROR("Header file strings.h not found!")) AC_CHECK_HEADER(sys/file.h, :, AC_MSG_ERROR("Header file sys/file.h not found!")) AC_CHECK_HEADER(sys/ioctl.h, :, AC_MSG_ERROR("Header file sys/ioctl.h not found!")) AC_CHECK_HEADER(sys/time.h, :, AC_MSG_ERROR("Header file sys/time.h not found!")) AC_CHECK_HEADER(syslog.h, :, AC_MSG_ERROR("Header file syslog.h not found!")) AC_CHECK_HEADER(unistd.h, :, AC_MSG_ERROR("Header file unistd.h not found!"))
AC_CHECK_HEADER(limits, AC_DEFINE(HAVE_LIMITS))
AC_CHECK_HEADER(string, :, AC_MSG_ERROR("Header file string not found!"))
AC_CHECK_HEADER(sstream, :, AC_MSG_ERROR("Header file sstream not found!"))
AC_CHECK_HEADER(map, :, AC_MSG_ERROR("Header file map not found!"))
AC_LANG_C


dnl Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_TYPE_UID_T

dnl Checks for library functions.
AC_FUNC_MEMCMP
AC_FUNC_SETVBUF_REVERSED
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF

AC_CHECK_FUNC(gethostname, :, AC_MSG_ERROR("Function gethostname not found!")) AC_CHECK_FUNC(gettimeofday, :, AC_MSG_ERROR("Function gettimeofday not found!"))
AC_CHECK_FUNC(select, :, AC_MSG_ERROR("Function select not found!"))
AC_CHECK_FUNC(socket, :, AC_MSG_ERROR("Function socket not found!"))
AC_CHECK_FUNC(strdup, :, AC_MSG_ERROR("Function strdup not found!"))
AC_CHECK_FUNC(strerror, :, AC_MSG_ERROR("Function strerror not found!"))
AC_CHECK_FUNC(strspn, :, AC_MSG_ERROR("Function strspn not found!"))
AC_CHECK_FUNC(strstr, :, AC_MSG_ERROR("Function strstr not found!"))
AC_CHECK_FUNC(strtol, :, AC_MSG_ERROR("Function strtol not found!"))

dnl Testen, ob typsicheres Double benutzt werden soll
AC_MSG_CHECKING([whether type safe doubles are to be used])
AC_ARG_ENABLE(type-safe-double,
[ --disable-type-safe-double disable use of type safe doubles],
use_type_safe_double=$enableval, use_type_safe_double=yes)
AC_MSG_RESULT($use_type_safe_double)
if test "$use_type_safe_double" != "no" ; then
AC_DEFINE(CHECK_UNITS)
fi


dnl
dnl debug is default
dnl
dnl Testen, ob DEBUG-Code eingebunden werden soll
AC_MSG_CHECKING([whether to compile with debug code])
AC_ARG_ENABLE(debug,[ --enable-debug enable debug code],enable_debug=$enableval,enable_debug=yes)
AC_MSG_RESULT($enable_debug)

if test "$enable_debug" = "yes" ; then
echo "Setze DEBUG"
AC_DEFINE(DEBUG)
else
AM_CXXFLAGS=`echo "$AM_CXXFLAGS" | sed 's/-g//'`
dnl echo "$AM_CXXFLAGS" | grep -- '-g' >/dev/null || AM_CXXFLAGS="-g $AM_CXXFLAGS"
AM_CFLAGS=`echo "$AM_CFLAGS" | sed 's/-g//'`
dnl echo "$AM_CFLAGS" | grep -- '-g' >/dev/null || AM_CFLAGS="-g $AM_CFLAGS"
fi

AC_SUBST(AM_CXXFLAGS)
AC_SUBST(AM_CFLAGS)
CXX_FLAGS=""
CFLAGS=""
AC_SUBST(CFLAGS)
AC_SUBST(CXXFLAGS)


dnl
dnl If we have IDL on that platform we can activate/deactivate it
dnl
dnl Testen, ob IDL-Code eingebunden werden soll
AC_MSG_CHECKING([whether to enable van - is default !])
AC_ARG_ENABLE(van,
[ --enable-van with van],
van=$enableval, van="yes")
AC_MSG_RESULT($van)
if test "$van" = "no" ; then
SCHNITTSTELLENDIRS=`echo $SCHNITTSTELLENDIRS | sed s/van//`
fi
echo $SCHNITTSTELLENDIRS
AC_SUBST(SCHNITTSTELLENDIRS)


dnl Testen, ob CMMC eingebunden werden soll
AC_MSG_CHECKING([whether to enable CMMC])
AC_ARG_ENABLE(cmmc,
[ --enable-cmmc with cmmc],
cmmc=$enableval, cmmc="no")
AC_MSG_RESULT($cmmc)

case "${host}" in
*-dec-osf4*)

AC_CHECK_LIB(curses,clearok,CURSESLIB="curses",AC_MSG_ERROR("libcurses not found"))
dnl which remote shell to use rsh is default
dnl
AC_MSG_CHECKING([if remoteshell is specified])
AC_ARG_WITH(remoteshell,[ --with-remoteshell either rsh or ssh ],R_SHELL=$withval , R_SHELL="rsh")
if test "$R_SHELL" = "ssh" ; then
AC_PATH_PROG(SSH,ssh)
R_SHELL=$SSH
fi
if test "$R_SHELL" = "rsh" ; then
AC_PATH_PROG(SSH,rsh)
R_SHELL=$SSH
fi

dnl ueberprfen, ob mosy compiler da ist
AC_PATH_PROG(MOSY,mosy,"NO_MOSY",$PATH:/usr/sbin:/usr/local/bin:/usr/local/sbin)

dnl ueberprfen, ob snmpi da ist (eigentlich nur unter True64 :-( )
AC_PATH_PROG(SNMPI,snmpi,"NO_SNMPI",$PATH:/usr/sbin:/usr/local/bin:/usr/local/sbin)


dnl If we have snmpi on that platform we can activate it
if test $SNMPI != "NO_SNMPI" && test $MOSY != "NO_MOSY" ; then
dnl Testen, ob CMMC-Code eingebunden werden soll
AC_MSG_CHECKING([whether to enable CMMC])
AC_ARG_ENABLE(cmmc,[ --enable-cmmc with cmmc support ],cmmc="yes" , cmmc="no")
AC_MSG_RESULT($cmmc)
fi

if test "$cmmc" = "yes" ; then
VDPDIRS="$VDPDIRS cmmc"
AC_SUBST(MOSY)
AC_SUBST(SNMPI)

dnl ueberpruefen, ob sudo installiert ist
AC_PATH_PROG(SUDO,sudo,"NO_SUDO",$PATH)

if test "$SUDO" = "NO_SUDO" ; then
echo "Ohne SUDO wird CMMC nicht ohne root-Rechte"
echo "zu starten sein"
echo "d4 start cmmc wird dann NICHT funktionieren"
sleep 10
fi

dnl ueberpruefen, ob watch installiert ist
AC_PATH_PROG(WATCH,watch,"NO_WATCH",$PATH)

if test "$WATCH" = "NO_WATCH" ; then
echo "watch wird zur CMMC Ueberwachung benoetigt"
echo "Gewisse Funktionalitaeten werden ohne watch NICHT"
echo "zur Verfgung stehen"
sleep 10
fi
fi

if test "$van" = "yes" ; then
dnl ueberprfen, ob idl auf Tr64
AC_PATH_PROG(IDL,idl,"NO_IDL",$PATH:/opt/dce/bin)

if test "$IDL" = "NO_IDL" ; then
AC_MSG_ERROR("IDL compiler not found - Please install-4dp first")
else
AC_SUBST(IDL)

if test "$GXX" != "yes" ; then
IDL_FLAGS="-std1 -threads -D_REENTRANT"
IDL_LIBS="-L/opt/dce/lib -ldce"
else
IDL_FLAGS="-D_REENTRANT"
IDL_LIBS="-L/opt/dce/lib -ldce -lpthreads -lpthread -lexc "
fi
IDL_INCLUDES="-I$(PVM_INCLUDE) -I/opt/dce/include -I./include -I/opt/dce/share/include"
AC_SUBST(IDL_LIBS)
AC_SUBST(IDL_INCLUDES)
AC_SUBST(IDL_FLAGS)

dnl
dnl Fr VAN brauchen wir einen FIFO
dnl
if test ! -e /dev/VAN-FIFO ; then
echo "Der Betrieb der Schnittstellen (VAN) ben�igt einen FIFO (VAN-FIFO)"
echo "Bitte als Root diesen anlegen:"
echo "cd /dev/"
echo "mknod VAN-FIFO p "
echo "chmod 666 VAN-FIFO"
else
echo "O.K. FIFO /dev/VAN-FIFO existiert"
fi
fi
fi
dnl
dnl check, ob /tmp per cronjob geleert wird
dnl Zeile nur auszukommentieren reicht nicht aus :-(
dnl Die Datei ist meist nur fr root lesbar, so das der Versuch per egrep darauf zuzugreifen
dnl fehlschl�t !!
dnl cronentry=` egrep ".* \/tmp.*rm.*" /var/spool/cron/crontabs/root`
dnl if test "X$cronentry" != "X" ; then
echo "Die crontab enth�t m�licherweise eine Zeile, die das /tmp Verzeichnis regelm�sig l�cht !"
echo "Dies kann zu Problemen fhren. Bitte als root die Zeile:"
echo "20 4 * * * find /tmp -mount -type f -atime +2 -exec rm -f {} \;"
echo "aus der crontab entfernen"
dnl else
dnl echo "wow ! your crontab seems o.k."
dnl fi
;;

*linux*)
dnl
dnl !!!! ncurses fr derdxl !!!!!
dnl
AC_CHECK_LIB(ncurses,clearok,CURSESLIB="ncurses",AC_MSG_ERROR("libncurses not found"))
dnl which remote shell to use ssh is default
dnl
AC_MSG_CHECKING([if remoteshell is specified])
AC_ARG_WITH(remoteshell,[ --with-remoteshell either rsh or ssh ],R_SHELL=$withval , R_SHELL="ssh")
if test "$R_SHELL" = "ssh" ; then
AC_PATH_PROG(SSH,ssh)
R_SHELL=$SSH
fi
if test "$R_SHELL" = "rsh" ; then
AC_PATH_PROG(SSH,rsh)
R_SHELL=$SSH
fi

dnl
dnl Hier muss natrlich nach etwas Vergleichbarem fr mosy etc. gesucht werden !!!!!
dnl

if test "$cmmc" = "yes" ; then
VDPDIRS="$VDPDIRS cmmc-linux"
fi

if test "$van" = "yes" ; then
dnl ueberprfen, ob idl unter Linux
AC_PATH_PROG(IDL, dceidl,"NO_IDL",$PATH:/opt/dce/bin)

if test "$IDL" = "NO_IDL" ; then
AC_MSG_ERROR("freedce IDL compiler not found - Please install-4dp first")
else
AC_SUBST(IDL)
dnl muss wohl noch weitergehend eingebaut werden, da bisher nur unter Tru64 verwendet und dort nur
dnl idl (das programm) verwendet wurde
IDL_LIBS="-L/opt/dce/lib -ldcerpc -ldcethreads -lpthread -luuid"
IDL_INCLUDES="-I/opt/dce/include -I./include -I/opt/dce/share/include"
AC_SUBST(IDL_LIBS)
AC_SUBST(IDL_INCLUDES)

dnl
dnl Fr VAN brauchen wir einen FIFO
dnl
if test ! -e /dev/VAN-FIFO ; then
echo "Der Betrieb der Schnittstellen (VAN) ben�igt einen FIFO (VAN-FIFO)"
echo "Bitte als Root diesen anlegen:"
echo "cd /dev/"
echo "mknod VAN-FIFO p "
echo "chmod 666 VAN-FIFO"
fi

fi
fi
;;

*-sun-solaris*)
echo "sun is not fully supported - sorry"
echo "let see if it works :-)"
;;

*) echo "This platform is currently not fully supported by this configure script"
;;
esac

dnl AC_MSG_RESULT($R_SHELL)
AC_SUBST(CURSESLIB)
AC_SUBST(R_SHELL)

AC_SUBST(VDPDIRS)

dnl CXXFLAGS=$AM_CXXFLAGS

dnl FIXME: Es mu�noch genauer ermittelt werden, was das Flag TP_AP genau
dnl bewirkt. Gegenw�tig ist es wohl n�ig...
AC_DEFINE(TP_AP)

dnl CONFDIR ist defaultm�ig ${sysconfdir}/${PACKAGE}
CONFDIR="${sysconfdir}/${PACKAGE}"
AC_SUBST(CONFDIR)

dnl DATADIR ist defaultm�ig ${datadir}/${PACKAGE}
DATADIR="${datadir}/${PACKAGE}"
AC_SUBST(DATADIR)

dnl LOGDIR ist defaultm�ig ${localstatedir}/log/${PACKAGE}
LOGDIR="${localstatedir}/log/${PACKAGE}"
AC_SUBST(LOGDIR)

dnl DOCDIR ist das Directory, in dem die Doxygen-Dokumentation abgelegt
dnl werden soll. Weil dieser Wert auch ins Doxyfile eingetragen werden
dnl soll, mu�der Wert mit eval gesetzt werden, um alle enthaltenen
dnl Umgebungsvariablen voll zu expandieren.
if test "x$prefix" = "xNONE" ; then
DOCDIR=`eval prefix=${ac_default_prefix} \; echo ${datadir}/doc/${PACKAGE}`
else
DOCDIR=`eval echo ${datadir}/doc/${PACKAGE}`
fi
AC_SUBST(DOCDIR)

dnl TESTLOGS ist das Directory, in dem w�rend des Regressionstests die
dnl Arrival-Planner-Logfiles abgelegt werden sollen. Dieser Pfad mu�als
dnl vollst�diger Pfad in AP_config eingetragen werden.
TESTLOGS=`pwd`/src/testprogs/testlogs
AC_SUBST(TESTLOGS)

dnl Allgemeine Include-Pfade definieren, damit sie in jedem Makefile
dnl substituiert werden k�nen. (Auf diese Weise kann dieser allgemeine
dnl Include-Pfad an einer Stelle gepflegt werden.)
needed_includes='-I\$(top_srcdir)/src/d4libbasics/basics'
needed_includes="$needed_includes -I\$(top_srcdir)/src/d4libsupport/support"
needed_includes="$needed_includes -I\$(top_srcdir)/src/d4libcommunication/cominterface" needed_includes="$needed_includes -I\$(top_srcdir)/src/d4libcommunication/comobjects"
needed_includes="$needed_includes -I\$(top_srcdir)/src"

AC_SUBST(needed_includes)

AC_OUTPUT([
Makefile
install-4dp
src/Makefile
src/AusfallSich/Makefile
src/AusfallSich/AuS_config
src/AusfallSich/AuS_Exec
src/d4libbasics/Makefile
src/d4libbasics/basics/Makefile
src/d4libsupport/Makefile
src/d4libsupport/support/Makefile
src/d4libcommunication/Makefile
src/d4libcommunication/cominterface/Makefile
src/d4libcommunication/comobjects/Makefile
src/d4libpvm/Makefile
src/d4libpvm/pvm/Makefile
src/global/Makefile
src/luftraum/Makefile
src/d4arrival_sa/Makefile
src/d4arrival_sa/AP_config
src/d4arrival_sa/profiledesigner/Makefile
src/d4arrival_sa/basics/Makefile
src/d4arrival_sa/profile_local/Makefile
src/d4arrival_sa/waypoint/Makefile
src/d4arrival_sa/general/Makefile
src/d4wp/Makefile
src/d4wp/basics/Makefile
src/d4wp/Est/Makefile
src/d4wp/WP/Makefile
src/d4wpneu/Makefile
src/d4supervisor/supervisor/Makefile
src/d4supervisor/Makefile
src/d4supervisor/SUP_config
src/schnittstellen/Makefile
src/schnittstellen/4d_input/Makefile
src/schnittstellen/sda/Makefile
src/schnittstellen/arrcos/Makefile
src/schnittstellen/van/Makefile
src/schnittstellen/derddisp/Makefile
src/schnittstellen/derddisp/lib/Makefile
src/setup-bin/Makefile
src/setup-bin/D4AP
src/setup-bin/D4SUP
src/setup-bin/4dp-demo
src/setup-bin/RunDemo
src/testprogs/Makefile
src/setup-bin/d4
src/setup-bin/pld
src/setup-bin/pseudoxterm
src/setup-bin/startForAlpha
src/setup-bin/startForAlphaTest
src/setup-bin/startSDD
src/setup-bin/startTestAutomatik2
src/setup-bin/startTestAutomatik3
src/setup-bin/As
src/setup-bin/InputHistory
src/setup-bin/install-4dp
dnl src/plandisp/Makefile
src/setup-conf/Makefile
src/setup-conf/D4.ENV
src/setup-conf/D4BASHRC
src/setup-conf/PVM.ENV
src/plandisp/Makefile
src/cmmc/Makefile
src/cmmc/pvm/Makefile
src/cmmc/pvm/checkD4odra01
src/cmmc/bin/Makefile
src/cmmc-linux/Makefile
data/Makefile
doc/Doxyfile
doc/Doxyfile.WP
],
[ chmod a+x src/setup-bin/D4AP src/setup-bin/D4SUP src/setup-bin/d4 src/setup-bin/pld src/setup-bin/pseudoxterm src/setup-bin/startForAlpha src/setup-bin/startForAlphaTest src/setup-bin/startSDD src/setup-bin/startTestAutomatik2 src/setup-bin/startTestAutomatik3 src/setup-bin/As src/setup-bin/InputHistory src/setup-bin/4dp-demo ./install-4dp src/cmmc/pvm/checkD4odra01])




address@hidden:/vobs/old_cvs_stuff7>


Thanks in advance, Karl

Ralf Wildenhues wrote:

Hello Karl,

* Karl Schmitt wrote on Thu, Sep 14, 2006 at 11:12:11AM CEST:
address@hidden:/vobs/old_cvs_stuff7> autoconf
configure.in:618: error: m4_popdef: undefined macro: AC_Dest
/usr/src/packages/BUILD/autoconf-2.59/tests/../lib/autoconf/status.m4:848: AC_CONFIG_FILES is expanded from...
configure.in:618: the top level
autom4te: /usr/bin/m4 failed with exit status: 1

Could you post (a link to) the configure.in file (or even a complete
tarball), or at least some bits around the part where it errors out?
Also maybe the output of
 autoconf -Wall

could be helpful.

Cheers,
Ralf







reply via email to

[Prev in Thread] Current Thread [Next in Thread]