summaryrefslogtreecommitdiffstats
path: root/configure.in
blob: f55269d8e4ebc448d36b7cc94af82038f718cebc (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
#                                               -*- 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([zoomedit.cpp])
AM_CONFIG_HEADER([config.h])

AM_INIT_AUTOMAKE(zoomedit, 0.1)
AM_MAINTAINER_MODE

# Checks for programs.
AC_PROG_CXX
AM_PROG_CC_C_O

# Checks for libraries.
#AC_CHECK_LIB(m, [sqrt])
AM_PATH_GTK_2_0(2.8.0,,AC_MSG_ERROR(zoomedit needs GTK+ 2.8.0))
AM_PATH_GTKGLEXT_1_0(1.0.0,,AC_MSG_ERROR(zoomedit needs GtkGLExt))
PKG_CHECK_MODULES(libxml2, libxml-2.0, , AC_MSG_ERROR(Test for libxml2 failed.))


# Checks for header files.
#AC_HEADER_STDC
#AC_CHECK_HEADERS([stddef.h stdlib.h string.h])

# Checks for typedefs, structures, and compiler characteristics.
#AC_HEADER_TIME

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC

#AC_CHECK_FUNCS([sqrtf], , AC_MSG_ERROR([required function sqrtf not found]))

AC_CONFIG_FILES([Makefile])
AC_OUTPUT