summaryrefslogtreecommitdiffabout
path: root/configure.ac
authorMichael Krelin <hacker@klever.net>2006-08-11 16:01:56 (UTC)
committer Michael Krelin <hacker@klever.net>2006-08-11 16:01:56 (UTC)
commit0c21a7a0d5b84dc6726462f0fbe51b8c32433262 (patch) (unidiff)
tree9df6334cb1a61efebe68f7bcef9aa119a823626a /configure.ac
parent9bcc235e575a95989a5903394c127accbeef2e0f (diff)
downloadmidillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.zip
midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.tar.gz
midillo-0c21a7a0d5b84dc6726462f0fbe51b8c32433262.tar.bz2
initial commit into repository0.0
Diffstat (limited to 'configure.ac') (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac55
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 @@
1AC_INIT([midillo], [0.0], [midillo-bugs@klever.net])
2AC_CONFIG_SRCDIR([include/midillo/SMF.h])
3AC_CONFIG_HEADERS([config.h])
4AM_INIT_AUTOMAKE([dist-bzip2])
5
6AC_PROG_INSTALL
7AC_PROG_AWK
8AC_PROG_CXX
9AC_PROG_CC
10AC_PROG_LIBTOOL
11
12AC_HEADER_STDC
13AC_CHECK_HEADERS([sys/types.h sys/stat.h])
14AC_CHECK_DECLS([environ],,,[
15 #include <unistd.h>
16])
17
18AC_C_CONST
19
20AC_FUNC_MALLOC
21AC_FUNC_REALLOC
22
23AC_PATH_PROG([XSLTPROC],[xsltproc],[true])
24
25AC_WITH_PKGCONFIG
26
27PKG_CHECK_MODULES([KONFORKA],[konforka],,[
28 AC_MSG_ERROR([no konforka library found. get one from http://kin.klever.net/konforka/])
29])
30
31WANT_DOXYGEN="yes"
32AC_ARG_ENABLE([doxygen],
33 AC_HELP_STRING([--disable-doxygen],[do not generate documentation]),
34 [
35 test "${enableval}" = "no" && WANT_DOXYGEN="no"
36 ]
37)
38if test "${WANT_DOXYGEN}" = "yes" ; then
39 AC_WITH_DOXYGEN
40 AC_WITH_DOT
41else
42 AM_CONDITIONAL([HAVE_DOXYGEN],[false])
43 AM_CONDITIONAL([HAVE_DOT],[false])
44fi
45
46AC_CONFIG_FILES([
47 Makefile
48 midillo.pc
49 Doxyfile
50 include/Makefile
51 lib/Makefile
52 tools/Makefile
53 man/Makefile
54])
55AC_OUTPUT