blob: 96a2e5b92aee71451fc93fb4f6a4d9b400dc836e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([calfuse], [3.2.3], [archive@stsci.edu])
AM_INIT_AUTOMAKE([foreign])
LT_INIT
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([src/include/config.h])
# Checks for programs.
AC_PROG_CC
AC_PROG_F77
AC_PROG_LN_S
# Checks for libraries.
# Checks for header files.
AC_FUNC_ALLOCA
AC_CHECK_HEADERS([fcntl.h limits.h malloc.h stddef.h stdlib.h string.h strings.h unistd.h])
PKG_CHECK_MODULES([cfitsio], [cfitsio >= 3])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
AC_CHECK_FUNCS([floor memchr memset modf pow sqrt strcasecmp strerror strncasecmp strrchr strtol])
AC_OUTPUT([Makefile src/Makefile src/libcf/Makefile src/slalib/Makefile \
src/fes/Makefile src/fuv/Makefile src/analysis/Makefile \
src/cal/Makefile src/cal/jitter/Makefile scripts/Makefile \
doc/Makefile])
|