123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- dnl $Id$
- dnl
- dnl xfce4-windowck-plugin - Put the maximized window title in the panel.
- dnl
- dnl ***************************
- dnl *** Version information ***
- dnl ***************************
- m4_define([windowck_version_major], [0])
- m4_define([windowck_version_minor], [4])
- m4_define([windowck_version_micro], [4])
- m4_define([windowck_version_nano], []) dnl leave this empty to have no nano version
- m4_define([windowck_version_build], [@REVISION@])
- m4_define([windowck_version_tag], [])
- m4_define([windowck_version], [windowck_version_major().windowck_version_minor().windowck_version_micro()ifelse(windowck_version_nano(), [], [], [.windowck_version_nano()])ifelse(windowck_version_tag(), [git], [windowck_version_tag()-windowck_version_build()], [windowck_version_tag()])])
- dnl ***************************
- dnl *** Initialize autoconf ***
- dnl ***************************
- AC_COPYRIGHT([Copyright (C) 2015
- Alessio Piccoli, Cedric Leporcq. All rights reserved.])
- AC_INIT([xfce4-windowck-plugin], [windowck_version], [https://github.com/cedl38/xfce4-windowck-plugin/], [xfce4-windowck-plugin])
- AC_PREREQ([2.50])
- AC_REVISION([xfce4_panel_version_build])
- dnl ***************************
- dnl *** Initialize automake ***
- dnl ***************************
- AM_INIT_AUTOMAKE([1.8 no-dist-gzip dist-bzip2 tar-ustar])
- AM_CONFIG_HEADER([config.h])
- AM_MAINTAINER_MODE()
- m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
- dnl *******************************
- dnl *** Check for UNIX variants ***
- dnl *******************************
- AC_AIX()
- AC_ISC_POSIX()
- dnl ********************************
- dnl *** Check for basic programs ***
- dnl ********************************
- AC_PROG_CC()
- AM_PROG_CC_C_O()
- AC_PROG_LD()
- AC_PROG_INSTALL()
- AC_PROG_INTLTOOL()
- dnl **************************
- dnl *** Initialize libtool ***
- dnl **************************
- LT_PREREQ([2.2.6])
- LT_INIT([disable-static])
- dnl **********************************
- dnl *** Check for standard headers ***
- dnl **********************************
- AC_HEADER_STDC()
- AC_CHECK_HEADERS([stdlib.h unistd.h locale.h stdio.h errno.h time.h string.h \
- math.h sys/types.h sys/wait.h memory.h signal.h sys/prctl.h \
- libintl.h])
- AC_CHECK_FUNCS([bind_textdomain_codeset])
- dnl ******************************
- dnl *** Check for i18n support ***
- dnl ******************************
- XDT_I18N([@LINGUAS@])
- dnl *******************************
- dnl *** Check for X11 installed ***
- dnl *******************************
- XDT_CHECK_LIBX11_REQUIRE()
- dnl ***********************************
- dnl *** Check for required packages ***
- dnl ***********************************
- XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.20.0])
- XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.10.0])
- XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.10.0])
- XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.12.0])
- XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.10.0])
- XDT_CHECK_PACKAGE([LIBWNCK], [libwnck-1.0], [2.30])
- dnl ***********************************
- dnl *** Check for debugging support ***
- dnl ***********************************
- XDT_FEATURE_DEBUG()
- 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
- common/Makefile
- panel-plugin/Makefile
- panel-plugin/title/Makefile
- panel-plugin/buttons/Makefile
- themes/Makefile
- themes/windowck/Makefile
- themes/windowck/xfwm4/Makefile
- themes/windowck/unity/Makefile
- themes/windowck-dark/Makefile
- themes/windowck-dark/xfwm4/Makefile
- themes/windowck-dark/unity/Makefile
- po/Makefile.in
- arch/PKGBUILD
- ])
- dnl ***************************
- dnl *** Print configuration ***
- dnl ***************************
- echo
- echo "Build Configuration:"
- echo
- echo "* Debug Support: $enable_debug"
- echo
|