~ubuntu-branches/ubuntu/vivid/esorex/vivid-proposed

« back to all changes in this revision

Viewing changes to .pc/remove-private-ltdl.patch/configure.ac

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2011-11-25 12:08:00 UTC
  • Revision ID: package-import@ubuntu.com-20111125120800-grvehmdmxrzlkf1n
Tags: 3.9.0-1
New package. Closes: #641634

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Process this file with autoconf to produce a configure script.
 
2
 
 
3
AC_INIT([ESO Recipe Execution Tool], [3.9.0], [cpl-help@eso.org], [esorex])
 
4
AC_PREREQ([2.59])
 
5
 
 
6
AC_CONFIG_SRCDIR([Makefile.am])
 
7
AC_CONFIG_AUX_DIR([admin])
 
8
 
 
9
AC_CANONICAL_HOST
 
10
AC_CANONICAL_TARGET
 
11
 
 
12
AM_INIT_AUTOMAKE
 
13
AM_CONFIG_HEADER([config.h])
 
14
 
 
15
AM_MAINTAINER_MODE
 
16
 
 
17
ESOREX_SET_PREFIX(${CPLDIR:-/usr/local})
 
18
 
 
19
# Checks for programs.
 
20
AC_PROG_CC
 
21
AC_PROG_CPP
 
22
AM_PROG_CC_C_O
 
23
AM_C_PROTOTYPES
 
24
#
 
25
# Check for purify
 
26
#
 
27
CHECK_PURIFY
 
28
 
 
29
ESO_ENABLE_DEBUG(no)
 
30
ESO_ENABLE_STRICT(no)
 
31
ESO_PROG_CC_FLAG([fno-builtin], [CFLAGS="$CFLAGS -fno-builtin"])
 
32
 
 
33
ESO_CHECK_DOCTOOLS
 
34
 
 
35
AC_LIBLTDL_CONVENIENCE
 
36
AC_SUBST(INCLTDL)
 
37
AC_SUBST(LIBLTDL)
 
38
 
 
39
AC_ENABLE_STATIC(no)
 
40
AC_ENABLE_SHARED(yes)
 
41
 
 
42
AC_PROG_LIBTOOL
 
43
AC_SUBST(LIBTOOL_DEPS)
 
44
 
 
45
# Checks for libraries.
 
46
AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket"])
 
47
AC_CHECK_LIB(nsl, inet_ntoa, [LIBS="$LIBS -lnsl"])
 
48
 
 
49
# Checks for header files.
 
50
AC_HEADER_STDC
 
51
AC_HEADER_DIRENT
 
52
AC_HEADER_STAT
 
53
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h sys/types.h])
 
54
 
 
55
# Checks for typedefs, structures, and compiler characteristics.
 
56
AC_C_CONST
 
57
AC_C_INLINE
 
58
AC_STRUCT_ST_BLKSIZE
 
59
 
 
60
# Checks for library functions.
 
61
AC_FUNC_CLOSEDIR_VOID
 
62
AC_FUNC_STAT
 
63
AC_CHECK_FUNCS([getcwd])
 
64
 
 
65
# Checks for symbolic link functions
 
66
ESO_FUNC_SYMLINK
 
67
ESO_FUNC_LSTAT
 
68
 
 
69
ESOREX_FUNC_GETOPT
 
70
 
 
71
# Check for CPL presence and usability
 
72
#CPL_CHECK_CFITSIO
 
73
#CPL_CHECK_CEXT
 
74
CPL_CHECK_LIBS
 
75
ESO_CHECK_EXTRA_LIBS
 
76
 
 
77
ESOREX_SET_PATHS
 
78
 
 
79
# Determine the shared library suffix on this platform
 
80
AC_LTDL_SHLIBEXT
 
81
 
 
82
 
 
83
AC_CONFIG_SUBDIRS(libltdl)
 
84
 
 
85
AC_CONFIG_FILES(Makefile
 
86
                Makefile.purify
 
87
                src/er_prefix.h
 
88
                doxygen/Doxyfile
 
89
                src/Makefile
 
90
                src/tests/Makefile
 
91
                etc/Makefile
 
92
                etc/esorex.rc
 
93
                tests/Makefile)
 
94
AC_OUTPUT