# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(ygraph, 0.16, denis.pollney@aei.mpg.de) AC_CONFIG_SRCDIR([src/ygraph.c]) AC_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE AM_PATH_GTK_2_0(2.0.0, , AC_MSG_ERROR(Cannot find GTK 2.0: Is gtk-config in path?)) AM_GNU_GETTEXT # Checks for programs. AC_PROG_CC # Checks for libraries. AC_CHECK_LIB([bz2], [BZ2_bzCompress]) 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]) AC_OUTPUT