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"])
35
AC_LIBLTDL_CONVENIENCE
43
AC_SUBST(LIBTOOL_DEPS)
45
# Checks for libraries.
46
AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])
47
AC_CHECK_LIB(nsl, inet_ntoa, [LIBS="$LIBS -lnsl"])
49
# Checks for header files.
53
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h sys/types.h])
55
# Checks for typedefs, structures, and compiler characteristics.
60
# Checks for library functions.
63
AC_CHECK_FUNCS([getcwd])
65
# Checks for symbolic link functions
71
# Check for CPL presence and usability
79
# Determine the shared library suffix on this platform
83
AC_CONFIG_SUBDIRS(libltdl)
85
AC_CONFIG_FILES(Makefile