dnl $Id$ dnl dnl Copyright (c) 2004-2007 dnl The Thunar development team. All rights reserved. dnl dnl Written for thunar-volman by Benedikt Meurer . dnl dnl *************************** dnl *** Version information *** dnl *************************** m4_define([tvm_version_major], [0]) m4_define([tvm_version_minor], [3]) m4_define([tvm_version_micro], [80]) m4_define([tvm_version_build], [r@REVISION@]) m4_define([tvm_version_tag], []) m4_define([tvm_version], [tvm_version_major().tvm_version_minor().tvm_version_micro()ifelse(tvm_version_tag(), [svn], [tvm_version_tag()-tvm_version_build()], [tvm_version_tag()])]) dnl ******************************************* dnl *** Debugging support for SVN snapshots *** dnl ******************************************* m4_define([tvm_debug_default], [ifelse(tvm_version_tag(), [svn], [yes], [minimum])]) dnl *************************** dnl *** Initialize autoconf *** dnl *************************** AC_COPYRIGHT([Copyright (c) 2004-2007 The Thunar development team. All rights reserved. Written for thunar-volman by Benedikt Meurer .]) AC_INIT([thunar-volman], [tvm_version], [http://bugzilla.xfce.org/]) AC_PREREQ([2.50]) AC_CANONICAL_TARGET() AC_REVISION([$Id$]) dnl *************************** dnl *** Initialize automake *** dnl *************************** AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar]) AM_CONFIG_HEADER([config.h]) AM_MAINTAINER_MODE() dnl ******************************* dnl *** Check for UNIX variants *** dnl ******************************* AC_AIX() AC_ISC_POSIX() AC_MINIX() dnl ******************************** dnl *** Check for basic programs *** dnl ******************************** AC_PROG_CC() AC_PROG_CC_C_O() AC_PROG_LD() AC_PROG_INSTALL() AC_PROG_INTLTOOL() dnl ************************** dnl *** Initialize libtool *** dnl ************************** AC_DISABLE_STATIC() AC_PROG_LIBTOOL() dnl ********************************** dnl *** Check for standard headers *** dnl ********************************** AC_CHECK_HEADERS([errno.h path.h stdarg.h sys/types.h sys/wait.h]) dnl ************************************ dnl *** Check for standard functions *** dnl ************************************ AC_CHECK_FUNCS([]) dnl ****************************** dnl *** Check for i18n support *** dnl ****************************** XDT_I18N([@LINGUAS@]) dnl *********************************** dnl *** Check for required packages *** dnl *********************************** XDT_CHECK_PACKAGE([DBUS], [dbus-glib-1], [0.34]) XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.18.0]) XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.18.0]) XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.18.0]) XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.14.0]) XDT_CHECK_PACKAGE([GUDEV], [gudev-1.0], [145]) XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.7.0]) XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.7.0]) dnl *********************************** dnl *** Check for debugging support *** dnl *********************************** XDT_FEATURE_DEBUG() dnl ************************************** dnl *** Check for linker optimizations *** dnl ************************************** XDT_FEATURE_LINKER_OPTS() dnl ********************************* dnl *** Substitute platform flags *** dnl ********************************* AC_MSG_CHECKING([PLATFORM_CPPFLAGS]) AC_MSG_RESULT([$PLATFORM_CPPFLAGS]) AC_SUBST([PLATFORM_CPPFLAGS]) AC_MSG_CHECKING([PLATFORM_CFLAGS]) AC_MSG_RESULT([$PLATFORM_CFLAGS]) AC_SUBST([PLATFORM_CFLAGS]) AC_MSG_CHECKING([PLATFORM_LDFLAGS]) AC_MSG_RESULT([$PLATFORM_LDFLAGS]) AC_SUBST([PLATFORM_LDFLAGS]) AC_OUTPUT([ Makefile icons/Makefile icons/48x48/Makefile icons/scalable/Makefile po/Makefile.in thunar-volman/Makefile ]) dnl *************************** dnl *** Print configuration *** dnl *************************** echo echo "Build Configuration:" echo echo "* Debug Support: $enable_debug" echo