dnl $Id$ dnl dnl Copyright (c) 2002-2011 dnl The Xfce development team. All rights reserved. dnl dnl Written for Xfce by Benedikt Meurer . dnl dnl *************************** dnl *** Version information *** dnl *************************** m4_define([xdt_version_major], [4]) m4_define([xdt_version_minor], [10]) m4_define([xdt_version_micro], [0]) m4_define([xdt_version_nano], []) m4_define([xdt_version_build], [@REVISION@]) m4_define([xdt_version_tag], [git]) m4_define([xdt_version], [xdt_version_major().xdt_version_minor().xdt_version_micro()ifelse(xdt_version_nano(), [], [], [.xdt_version_nano()])ifelse(xdt_version_tag(), [git], [xdt_version_tag()-xdt_version_build()], [])]) dnl # DO NOT MODIFY ANYTHING BELOW THIS LINE, UNLESS YOU KNOW WHAT dnl # YOU ARE DOING. dnl *************************** dnl *** Initialize autoconf *** dnl *************************** AC_INIT([xfce4-dev-tools], [xdt_version], [http://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-dev-tools]) AC_COPYRIGHT([Copyright (c) 2002-2011 The Xfce development team. All rights reserved.]) AC_REVISION([$Id$]) dnl substitute version info AC_SUBST([VERSION_MAJOR], [xdt_version_major]) AC_SUBST([VERSION_MINOR], [xdt_version_minor]) AC_SUBST([VERSION_MICRO], [xdt_version_micro]) AC_SUBST([VERSION_NANO], [xdt_version_nano]) VERSION_REVISION=ifelse(xdt_version_tag(), [git], [xdt_version_tag()-xdt_version_build()], []) AC_SUBST([VERSION_REVISION]) dnl *************************** dnl *** Initialize automake *** dnl *************************** AM_INIT_AUTOMAKE([1.8 dist-bzip2 tar-ustar no-dist-gzip]) AM_MAINTAINER_MODE() m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) dnl ******************************** dnl *** Check for basic programs *** dnl ******************************** AC_PROG_CC() AM_PROG_CC_C_O() AC_PROG_INSTALL() LT_PREREQ([2.2.6]) LT_INIT([disable-static]) dnl *************************************** dnl *** Check for standard header files *** dnl *************************************** AC_HEADER_STDC() AC_CHECK_HEADERS([libintl.h locale.h memory.h stdio.h stdlib.h string.h]) dnl *********************************** dnl *** Check for required packages *** dnl *********************************** PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.24.0]) dnl ********************** dnl *** Generate files *** dnl ********************** AC_OUTPUT([ Makefile m4macros/Makefile scripts/Makefile scripts/xdt-autogen.in xdt-csource/Makefile ]) dnl vi:set ts=2 sw=2 et ai: