File: configure.ac

package info (click to toggle)
ygraph 0.15-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,124 kB
  • ctags: 1,636
  • sloc: ansic: 13,630; sh: 4,546; makefile: 589; yacc: 288; sed: 16
file content (38 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download | duplicates (3)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT(ygraph, 0.15, denis.pollney@aei.mpg.de)
AC_CONFIG_SRCDIR([src/ygraph.c])
AC_CONFIG_HEADER([config.h])

AM_INIT_AUTOMAKE
AM_PATH_GTK(1.2.0, , AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
AM_GNU_GETTEXT
# something random - since I have to put something here
AM_GNU_GETTEXT_VERSION(0.14.1)
# Checks for programs.
AC_PROG_CC

# Checks for libraries.
AC_CHECK_LIB([bz2], [BZ2_bzCompress])
AC_CHECK_LIB([gdk_imlib], [gdk_imlib_init])
AC_CHECK_LIB([jpeg], [jpeg_mem_init])
AC_CHECK_LIB([png], [png_malloc])
AC_CHECK_LIB([popt], [poptGetArgs])
AC_CHECK_LIB([tiff], [TIFFOpen])
AC_CHECK_LIB([z], [gzopen])

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

# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE

# Checks for library functions.
AC_CHECK_FUNCS([floor mkdir pow strchr strstr strtol])

AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile test/Makefile intl/Makefile po/Makefile.in m4/Makefile ])
AC_OUTPUT