This commit is contained in:
kuepper 2004-09-20 09:50:47 +00:00
commit 683c4e573e
2 changed files with 20 additions and 11 deletions

View file

@ -36,6 +36,10 @@ autoheader
automake automake
autoconf autoconf
# we want doc to be recompiled - and it keeps saying it's up to date!!!
touch doc/eo.cfg
# if test -z "$*"; then # if test -z "$*"; then
# echo "I am going to run ./configure with no arguments - if you wish" # echo "I am going to run ./configure with no arguments - if you wish"
# echo "to pass any to it, please specify them on the $0 command line." # echo "to pass any to it, please specify them on the $0 command line."
@ -43,13 +47,12 @@ autoconf
# #
# ./configure "$@" # ./configure "$@"
# we want doc to be recompiled - and it keeps saying it's up to date!!!
touch doc/eo.cfg
echo echo
echo "Now type 'make' to compile $PROG." echo "Now run 'configure' and 'make' to build $PROG."
echo
echo "If you have Doxygen installed, type 'make doc' to generate $PROG documentation." echo "If you have Doxygen installed, type 'make doc' to generate $PROG documentation."
echo echo
#echo "WARNING: Compiling all test programs can take some time." #echo "WARNING: Compiling all test programs can take some time."
#echo "But you don't have to: you can simply type" #echo "But you don't have to: you can simply type"
#echo " 'make lib'" #echo " 'make lib'"

View file

@ -1,9 +1,11 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/eo)
dnl Change the version number here dnl Change the version number here
AM_INIT_AUTOMAKE(eo, 0.9.3) AC_INIT(Evolving Objects, 0.9.3, eodev-main@sourceforge.net, eo)
AC_PREREQ(2.53)
dnl make sure we are compiling from the correct sources
AC_CONFIG_SRCDIR(src/eoOp.h)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h]) AM_CONFIG_HEADER([config.h])
dnl Checks for maintainer mode dnl Checks for maintainer mode
@ -16,10 +18,9 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_RANLIB AC_PROG_RANLIB
dnl Checks for libraries. # Why shall we check for these, we just build them...
AC_CHECK_LIB(eo, main) # AC_CHECK_LIB(eo, main)
AC_CHECK_LIB(eoutils, main) # AC_CHECK_LIB(eoutils, main)
AC_CHECK_LIB(m, cos)
dnl Checks for header files. dnl Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
@ -31,9 +32,14 @@ AC_C_CONST
AC_C_INLINE AC_C_INLINE
AC_TYPE_SIZE_T AC_TYPE_SIZE_T
dnl Checks for libraries.
AC_CHECK_LIB(m, cos)
dnl Checks for library functions. dnl Checks for library functions.
AC_CHECK_FUNCS(select) AC_CHECK_FUNCS(select)
dnl create makefiles
AC_OUTPUT(Makefile \ AC_OUTPUT(Makefile \
src/Makefile \ src/Makefile \
src/do/Makefile \ src/do/Makefile \