author | Michael Krelin <hacker@klever.net> | 2006-08-11 16:01:56 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-08-11 16:01:56 (UTC) |
commit | 0c21a7a0d5b84dc6726462f0fbe51b8c32433262 (patch) (unidiff) | |
tree | 9df6334cb1a61efebe68f7bcef9aa119a823626a /configure.ac | |
parent | 9bcc235e575a95989a5903394c127accbeef2e0f (diff) | |
download | midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.zip midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.tar.gz midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.tar.bz2 |
initial commit into repository0.0
-rw-r--r-- | configure.ac | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..040b9cf --- a/dev/null +++ b/configure.ac | |||
@@ -0,0 +1,55 @@ | |||
1 | AC_INIT([midillo], [0.0], [midillo-bugs@klever.net]) | ||
2 | AC_CONFIG_SRCDIR([include/midillo/SMF.h]) | ||
3 | AC_CONFIG_HEADERS([config.h]) | ||
4 | AM_INIT_AUTOMAKE([dist-bzip2]) | ||
5 | |||
6 | AC_PROG_INSTALL | ||
7 | AC_PROG_AWK | ||
8 | AC_PROG_CXX | ||
9 | AC_PROG_CC | ||
10 | AC_PROG_LIBTOOL | ||
11 | |||
12 | AC_HEADER_STDC | ||
13 | AC_CHECK_HEADERS([sys/types.h sys/stat.h]) | ||
14 | AC_CHECK_DECLS([environ],,,[ | ||
15 | #include <unistd.h> | ||
16 | ]) | ||
17 | |||
18 | AC_C_CONST | ||
19 | |||
20 | AC_FUNC_MALLOC | ||
21 | AC_FUNC_REALLOC | ||
22 | |||
23 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) | ||
24 | |||
25 | AC_WITH_PKGCONFIG | ||
26 | |||
27 | PKG_CHECK_MODULES([KONFORKA],[konforka],,[ | ||
28 | AC_MSG_ERROR([no konforka library found. get one from http://kin.klever.net/konforka/]) | ||
29 | ]) | ||
30 | |||
31 | WANT_DOXYGEN="yes" | ||
32 | AC_ARG_ENABLE([doxygen], | ||
33 | AC_HELP_STRING([--disable-doxygen],[do not generate documentation]), | ||
34 | [ | ||
35 | test "${enableval}" = "no" && WANT_DOXYGEN="no" | ||
36 | ] | ||
37 | ) | ||
38 | if test "${WANT_DOXYGEN}" = "yes" ; then | ||
39 | AC_WITH_DOXYGEN | ||
40 | AC_WITH_DOT | ||
41 | else | ||
42 | AM_CONDITIONAL([HAVE_DOXYGEN],[false]) | ||
43 | AM_CONDITIONAL([HAVE_DOT],[false]) | ||
44 | fi | ||
45 | |||
46 | AC_CONFIG_FILES([ | ||
47 | Makefile | ||
48 | midillo.pc | ||
49 | Doxyfile | ||
50 | include/Makefile | ||
51 | lib/Makefile | ||
52 | tools/Makefile | ||
53 | man/Makefile | ||
54 | ]) | ||
55 | AC_OUTPUT | ||