dnl $Id$ dnl dnl eyes widget - eyes that spy on you dnl dnl *************************** dnl *** Version information *** dnl *************************** m4_define([eyes_version_major], [0]) m4_define([eyes_version_minor], [1]) m4_define([eyes_version_micro], [0]) m4_define([eyes_version_build], [r1]) m4_define([eyes_version_tag], []) m4_define([eyes_version], [eyes_version_major().eyes_version_minor().eyes_version_micro()ifelse(eyes_version_tag(), [svn], [eyes_version_tag()-eyes_version_build()], [eyes_version_tag()])]) dnl *************************** dnl *** Initialize autoconf *** dnl *************************** AC_INIT([eyes-widget], [eyes_version()], [http://bugs.maemo.org], [eyes-widget.so]) AC_PREREQ([2.50]) AC_CANONICAL_TARGET() AC_REVISION([$Id]) dnl *************************** dnl *** Initialize automake *** dnl *************************** AM_INIT_AUTOMAKE([1.8 dist-bzip2]) AM_CONFIG_HEADER([config.h]) AM_MAINTAINER_MODE() dnl ******************************** dnl *** Check for basic programs *** dnl ******************************** AC_PROG_CC() AC_PROG_LD() AC_PROG_INSTALL() dnl AC_PROG_INTLTOOL() dnl ********************************** dnl *** Check for standard headers *** dnl ********************************** AC_HEADER_STDC() AC_CHECK_HEADERS([math.h]) dnl ****************************** dnl *** Check for math library *** dnl ****************************** AC_CHECK_LIB([m], [sin]) dnl *********************************** dnl *** Check for required packages *** dnl *********************************** PKG_CHECK_MODULES(HILDON_DEPS, glib-2.0 gtk+-2.0 hildon-1 gthread-2.0 gnome-vfs-2.0 libhildondesktop-1) AC_SUBST(HILDON_DEPS_CFLAGS) AC_SUBST(HILDON_DEPS_LIBS) AC_OUTPUT([ Makefile src/Makefile icons/Makefile icons/48x48/Makefile icons/64x64/Makefile themes/Makefile themes/Default/Makefile ])