1
# Process this file with autoconf to produce a configure script.
3
AC_INIT([ESO Recipe Execution Tool], [3.9.0], [cpl-help@eso.org], [esorex])
6
AC_CONFIG_SRCDIR([Makefile.am])
7
AC_CONFIG_AUX_DIR([admin])
13
AM_CONFIG_HEADER([config.h])
17
ESOREX_SET_PREFIX(${CPLDIR:-/usr/local})
19
# Checks for programs.
31
ESO_PROG_CC_FLAG([fno-builtin], [CFLAGS="$CFLAGS -fno-builtin"])
36
LT_CONFIG_LTDL_DIR([libltdl])
45
AC_SUBST(LIBTOOL_DEPS)
47
# Checks for libraries.
48
AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])
49
AC_CHECK_LIB(nsl, inet_ntoa, [LIBS="$LIBS -lnsl"])
51
# Checks for header files.
55
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h sys/types.h])
57
# Checks for typedefs, structures, and compiler characteristics.
62
# Checks for library functions.
65
AC_CHECK_FUNCS([getcwd])
67
# Checks for symbolic link functions
73
# Check for CPL presence and usability
81
# Determine the shared library suffix on this platform
84
AC_CONFIG_FILES(Makefile