33 lines
760 B
Text
33 lines
760 B
Text
# -*- 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])
|