source: tags/release-0.2/configure.in @ 704

Revision 136, 1.3 KB checked in by dcarter, 6 years ago (diff)

Merged r125:135

Line 
1# Copyright (C) 2005 David Carter <arm4@arm4.org>
2
3# This file is free software; as a special exception the author gives
4# unlimited permission to copy and/or distribute it, with or without
5# modifications, as long as this notice is preserved.
6#
7# This program is distributed in the hope that it will be useful, but
8# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
9# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
11AC_INIT([arm4],[0.2])
12AM_CONFIG_HEADER(config.h)
13AM_INIT_AUTOMAKE(no-dependencies)
14AC_PROG_CC
15AC_AIX
16AC_ISC_POSIX
17AC_MINIX
18AC_HEADER_STDC([])
19AC_PROG_LIBTOOL
20AC_CHECK_HEADERS([getopt.h],,,)
21AC_CHECK_FUNCS([getopt_long],,)
22AM_PTHREAD_MUTEX_PROCESS
23AM_VERSION_DB([4.4],,[AC_MSG_ERROR(db version 4.4 or greater is required)])
24APR_FIND_APR(,, 1, [1])
25if test "x$apr_config" = x ; then
26  AC_MSG_ERROR(APR version 1.x is required)
27fi
28APR_CONFIG="$apr_config"
29AC_SUBST(APR_CONFIG)
30APR_FIND_APU(,, 1, [1])
31if test "x$apu_config" = x ; then
32  AC_MSG_ERROR(APR-util version 1.x is required)
33fi
34APU_CONFIG="$apu_config"
35AC_SUBST(APU_CONFIG)
36AC_CONFIG_FILES([Makefile
37        doc/Makefile
38        m4/Makefile
39        include/Makefile
40        src/Makefile
41        src/libarm4db/Makefile
42        src/libarm4/Makefile
43        tests/Makefile
44        tests/arm4sdk/Makefile])
45AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.