diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..25f1689 --- /dev/null +++ b/configure.ac @@ -0,0 +1,33 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT(zoom, 0.1, matthias@gamezock.de) +AC_CONFIG_SRCDIR([zoom-bin.c]) +AM_CONFIG_HEADER([config.h]) + +AM_INIT_AUTOMAKE +AM_MAINTAINER_MODE + +# Checks for programs. +AC_PROG_CC +AC_PROG_LIBTOOL +AM_PROG_CC_C_O +PKG_PROG_PKG_CONFIG + +# Checks for libraries. +PKG_CHECK_MODULES(libzoom, libzoom-0.1, , AC_MSG_ERROR(Test for libzoom failed.)) + +CFLAGS="$libzoom_CFLAGS $CFLAGS" +LIBS="$libzoom_LIBS $LIBS" + +# Checks for header files. + +# Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_TIME + +# Checks for library functions. +#AC_CHECK_FUNCS([gettimeofday]) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT([zoom]) |