| 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 | |
|---|
| 11 | AC_INIT([arm4],[0.2]) |
|---|
| 12 | AM_CONFIG_HEADER(config.h) |
|---|
| 13 | AM_INIT_AUTOMAKE(no-dependencies) |
|---|
| 14 | AC_PROG_CC |
|---|
| 15 | AC_AIX |
|---|
| 16 | AC_ISC_POSIX |
|---|
| 17 | AC_MINIX |
|---|
| 18 | AC_HEADER_STDC([]) |
|---|
| 19 | AC_PROG_LIBTOOL |
|---|
| 20 | AC_CHECK_HEADERS([getopt.h],,,) |
|---|
| 21 | AC_CHECK_FUNCS([getopt_long],,) |
|---|
| 22 | AM_PTHREAD_MUTEX_PROCESS |
|---|
| 23 | AM_VERSION_DB([4.4],,[AC_MSG_ERROR(db version 4.4 or greater is required)]) |
|---|
| 24 | APR_FIND_APR(,, 1, [1]) |
|---|
| 25 | if test "x$apr_config" = x ; then |
|---|
| 26 | AC_MSG_ERROR(APR version 1.x is required) |
|---|
| 27 | fi |
|---|
| 28 | APR_CONFIG="$apr_config" |
|---|
| 29 | AC_SUBST(APR_CONFIG) |
|---|
| 30 | APR_FIND_APU(,, 1, [1]) |
|---|
| 31 | if test "x$apu_config" = x ; then |
|---|
| 32 | AC_MSG_ERROR(APR-util version 1.x is required) |
|---|
| 33 | fi |
|---|
| 34 | APU_CONFIG="$apu_config" |
|---|
| 35 | AC_SUBST(APU_CONFIG) |
|---|
| 36 | AC_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]) |
|---|
| 45 | AC_OUTPUT |
|---|
Note: See
TracBrowser
for help on using the repository browser.