| 1 | # Copyright (C) 2005-2006 David Carter <dcarter@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.4]) |
|---|
| 12 | AC_COPYRIGHT([Copyright (C) 2005-2006 David Carter <dcarter@arm4.org>. |
|---|
| 13 | This is free software; see the source for copying conditions. There is NO |
|---|
| 14 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.]) |
|---|
| 15 | AM_CONFIG_HEADER(config.h) |
|---|
| 16 | AM_INIT_AUTOMAKE |
|---|
| 17 | AC_PROG_CC |
|---|
| 18 | AC_AIX |
|---|
| 19 | AC_ISC_POSIX |
|---|
| 20 | AC_MINIX |
|---|
| 21 | AC_HEADER_STDC([]) |
|---|
| 22 | AC_PROG_LIBTOOL |
|---|
| 23 | AC_CHECK_HEADERS([getopt.h],,,) |
|---|
| 24 | AC_CHECK_FUNCS([getopt_long],,) |
|---|
| 25 | ARM4_CHECK_XMLRPC |
|---|
| 26 | ARM4_CHECK_UUID |
|---|
| 27 | AC_CHECK_HEADERS([openssl/md5.h],,[AC_MSG_ERROR(require openssl libraries)],) |
|---|
| 28 | ARM4_PTHREAD_MUTEX_PROCESS |
|---|
| 29 | ARM4_PTHREAD_CONDATTR_PROCESS |
|---|
| 30 | ARM4_VERSION_DB([4.2],,[AC_MSG_ERROR(db version 4.2 or greater is required)]) |
|---|
| 31 | AC_CONFIG_FILES([Makefile |
|---|
| 32 | doc/Makefile |
|---|
| 33 | m4/Makefile |
|---|
| 34 | include/Makefile |
|---|
| 35 | src/Makefile |
|---|
| 36 | src/libarm4db/Makefile |
|---|
| 37 | src/libarm4/Makefile |
|---|
| 38 | examples/Makefile |
|---|
| 39 | examples/arm4sdk/Makefile |
|---|
| 40 | tests/Makefile]) |
|---|
| 41 | AC_OUTPUT |
|---|