source: subversion/applications/configure.ac @ 3210

Last change on this file since 3210 was 3210, checked in by joerg, 12 years ago

comment out UTF8sanitizer, because it tries to create po files. But
this currently doesn't work

File size: 2.8 KB
Line 
1#                                               -*- Autoconf -*-
2# Process this file with autoconf to produce a configure script.
3
4
5AC_PREREQ(2.61)
6AC_INIT(openstreetmap, 1.0, bugs@openstreetmap.org)
7AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
8AC_CONFIG_SRCDIR([utils/export/osm2pgsql/osm2pgsql.c])
9#AC_CONFIG_HEADER([config.h])
10AC_USE_SYSTEM_EXTENSIONS()
11
12# Checks for programs.
13AC_PROG_CXX
14AC_PROG_CC
15AC_PROG_INSTALL
16AC_PROG_LN_S
17
18
19# Checks for libraries.
20# FIXME: Replace `main' with a function in `-lbz2':
21AC_CHECK_LIB([bz2], [main])
22# FIXME: Replace `main' with a function in `-lccoord':
23AC_CHECK_LIB([ccoord], [main])
24# FIXME: Replace `main' with a function in `-lcurl':
25AC_CHECK_LIB([curl], [main])
26# FIXME: Replace `main' with a function in `-lexpat':
27AC_CHECK_LIB([expat], [main])
28# FIXME: Replace `main' with a function in `-lfreetype':
29AC_CHECK_LIB([freetype], [main])
30# FIXME: Replace `main' with a function in `-lgd':
31AC_CHECK_LIB([gd], [main])
32# FIXME: Replace `main' with a function in `-ljeeps':
33AC_CHECK_LIB([jeeps], [main])
34# FIXME: Replace `main' with a function in `-ljpeg':
35AC_CHECK_LIB([jpeg], [main])
36# FIXME: Replace `main' with a function in `-lm':
37AC_CHECK_LIB([m], [main])
38# FIXME: Replace `main' with a function in `-lmapnik':
39AC_CHECK_LIB([mapnik], [main])
40# FIXME: Replace `main' with a function in `-losm':
41AC_CHECK_LIB([osm], [main])
42# FIXME: Replace `main' with a function in `-lpng':
43AC_CHECK_LIB([png], [main])
44# FIXME: Replace `main' with a function in `-lpq':
45AC_CHECK_LIB([pq], [main])
46# FIXME: Replace `main' with a function in `-lshp':
47AC_CHECK_LIB([shp], [main])
48# FIXME: Replace `main' with a function in `-lz':
49AC_CHECK_LIB([z], [main])
50
51# Checks for header files.
52AC_HEADER_STDC
53AC_CHECK_HEADERS([fcntl.h float.h inttypes.h limits.h malloc.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/time.h termios.h unistd.h])
54
55# Checks for typedefs, structures, and compiler characteristics.
56AC_HEADER_STDBOOL
57AC_C_CONST
58AC_C_INLINE
59AC_TYPE_INT16_T
60AC_TYPE_INT32_T
61AC_TYPE_SIZE_T
62AC_HEADER_TIME
63AC_STRUCT_TM
64AC_TYPE_UINT16_T
65AC_TYPE_UINT32_T
66AC_TYPE_UINT64_T
67AC_TYPE_UINT8_T
68AC_C_VOLATILE
69AC_CHECK_TYPES([ptrdiff_t])
70
71# Checks for library functions.
72AC_FUNC_ERROR_AT_LINE
73AC_FUNC_MALLOC
74AC_FUNC_MEMCMP
75AC_FUNC_MKTIME
76AC_FUNC_REALLOC
77AC_FUNC_SELECT_ARGTYPES
78AC_FUNC_STRFTIME
79AC_FUNC_STRTOD
80AC_FUNC_VPRINTF
81AC_CHECK_FUNCS([atexit floor memmove memset pow select sqrt strchr strdup strncasecmp strrchr strtol strtoul])
82
83AC_CONFIG_FILES([
84        Makefile
85        share/Makefile
86        share/map-icons/Makefile
87        utils/export/Makefile
88        utils/filter/Makefile
89        utils/import/Makefile
90        utils/import/osmtrackfilter/Makefile
91        utils/little-osm/Makefile
92        utils/Makefile
93        utils/osm-data/Makefile
94        utils/perl_lib/Makefile
95        utils/planet.osm/Makefile
96        utils/planet.osm/C/Makefile
97        utils/xsltrans/Makefile
98        ])
99AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.