Fixed call to geometry factory.
[geos.git] / configure.in
blob505eef9b73fd577f3d9ffb738dfb20aaa497e32f
1 dnl version 2.52 is required for Cygwin libtool support
2 AC_PREREQ(2.52)
4 dnl local vars to hold user's preferences --------------------------------
5 AC_INIT(source/headers/geom.h)
6 AC_CANONICAL_SYSTEM
7 AM_INIT_AUTOMAKE(geos, 1)
8 AM_CONFIG_HEADER(source/headers/config.h)
9 AC_PROG_CC
11 dnl check for programs ----------------------------------------------------
12 AC_PROG_CXX
13 AC_ISC_POSIX
15 dnl use libtool ----------------------------------------------------------
16 AC_LIBTOOL_DLOPEN
17 AC_LIBTOOL_WIN32_DLL
18 AC_PROG_LIBTOOL
20 dnl function checks ------------------------------------------------------
21 AC_FUNC_CLOSEDIR_VOID
22 AC_FUNC_MEMCMP
23 AC_FUNC_STRFTIME
24 AC_FUNC_VPRINTF
25 AC_FUNC_ALLOCA
26 AC_HEADER_DIRENT
27 AC_HEADER_STDC
28 AC_CHECK_HEADERS(memory.h)
29 AC_CHECK_HEADERS(unistd.h)
30 AC_CHECK_HEADERS(sys/file.h)
31 AC_CHECK_FUNCS(strchr memcpy)
32 AC_HEADER_STAT
33 AC_STRUCT_TM
34 AC_TYPE_SIZE_T
35 AC_C_CONST
37 dnl process enable switches ----------------------------------------------
39 dnl process with switches -------------------------------------------------
41 dnl check for libraries ---------------------------------------------------
43 dnl things to substitute in output ----------------------------------------
44 AC_SUBST(VERSION)
46 dnl output stuff ----------------------------------------------------------
48 AC_OUTPUT(Makefile source/Makefile source/geom/Makefile source/algorithm/Makefile source/graph/Makefile source/graph/index/Makefile source/headers/Makefile source/io/Makefile source/io/markup/Makefile source/util/Makefile tools/Makefile tools/geos-config macros/Makefile source/test/Makefile source/bigtest/Makefile source/operation/Makefile source/operation/relate/Makefile )