summaryrefslogtreecommitdiffstats
path: root/configure.ac
blob: c31bb856217189c6f762cd598cf1b98c0d8af129 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)
AC_INIT(zoomedit, 0.1, matthias@gamezock.de)
AC_CONFIG_SRCDIR([src/zoomedit.cpp])
AM_CONFIG_HEADER([src/config.h])

AM_INIT_AUTOMAKE(zoomedit, 0.1)
AM_MAINTAINER_MODE
AC_DISABLE_STATIC

# Checks for programs.
AC_PROG_CXX
AM_PROG_CC_C_O
AC_PROG_LIBTOOL

# Checks for libraries.
PKG_CHECK_MODULES(glademm, glibmm-2.4 >= 2.16 libglademm-2.4, , AC_MSG_ERROR(Test for glibmm-2.4 >= 2.16 and libglademm-2.4 failed.))
AM_PATH_GTKGLEXT_1_0(1.0.0,,AC_MSG_ERROR(Test for GtkGLExt failed.))
PKG_CHECK_MODULES(libxml, libxml++-2.6, , AC_MSG_ERROR(Test for libxml++-2.6 failed.))

CPPFLAGS="$glademm_CFLAGS $GTKGLEXT_CFLAGS $libxml_CFLAGS $CPPFLAGS"
LIBS="$glademm_LIBS $GTKGLEXT_LIBS $libxml_LIBS $LIBS"

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([
  Makefile
  src/Makefile 
  src/Data/Makefile
  src/Gui/Makefile
  src/Util/Makefile
  src/View/Makefile
])
AC_OUTPUT