| 1 | # Copyright (C) 2007 Christopher McCurdy <christopher.mccurdy@gmail.com> |
|---|
| 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([mokash], |
|---|
| 12 | [0.1], |
|---|
| 13 | [Christopher McCurdy <christopher.mccurdy@gmail.com>], |
|---|
| 14 | [mokash]) |
|---|
| 15 | AC_CONFIG_AUX_DIR(config) |
|---|
| 16 | AM_CONFIG_HEADER(config.h) |
|---|
| 17 | AM_INIT_AUTOMAKE([dist-bzip2]) |
|---|
| 18 | |
|---|
| 19 | LF_CONFIGURE_CC |
|---|
| 20 | AM_PROG_CC_C_O |
|---|
| 21 | #LF_HOST_TYPE |
|---|
| 22 | LF_SET_WARNINGS |
|---|
| 23 | |
|---|
| 24 | AC_CONFIG_FILES([ |
|---|
| 25 | Makefile |
|---|
| 26 | README |
|---|
| 27 | doc/Makefile |
|---|
| 28 | m4/Makefile |
|---|
| 29 | src/Makefile |
|---|
| 30 | ]) |
|---|
| 31 | |
|---|
| 32 | AC_CHECK_HEADERS([sqlite3.h], |
|---|
| 33 | AC_CHECK_LIB([sqlite3], sqlite3_open, , |
|---|
| 34 | AC_MSG_ERROR([*** libsqlite3.so missing - please install first or check config.log ***])), |
|---|
| 35 | AC_MSG_ERROR([*** sqlite3.h missing - please install first or check config.log ***])) |
|---|
| 36 | AC_CHECK_HEADERS([simclist.h], |
|---|
| 37 | AC_CHECK_LIB([simclist], list_size, , |
|---|
| 38 | AC_MSG_ERROR([*** libsimclist.so missing - please install first or check config.log ***])), |
|---|
| 39 | AC_MSG_ERROR([*** simclist.h missing - please install first or check config.log ***])) |
|---|
| 40 | |
|---|
| 41 | AM_PATH_GTK_2_0(2.6.0, , AC_MSG_ERROR([*** gtk+-2.6.0 or greater is missing - please install first or check config.log ***])) |
|---|
| 42 | |
|---|
| 43 | AC_OUTPUT |
|---|