configure.ac.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. dnl $Id$
  2. dnl
  3. dnl xfce4-windowck-plugin - Put the maximized window title in the panel.
  4. dnl
  5. dnl ***************************
  6. dnl *** Version information ***
  7. dnl ***************************
  8. m4_define([windowck_version_major], [0])
  9. m4_define([windowck_version_minor], [4])
  10. m4_define([windowck_version_micro], [4])
  11. m4_define([windowck_version_nano], []) dnl leave this empty to have no nano version
  12. m4_define([windowck_version_build], [@REVISION@])
  13. m4_define([windowck_version_tag], [])
  14. 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()])])
  15. dnl ***************************
  16. dnl *** Initialize autoconf ***
  17. dnl ***************************
  18. AC_COPYRIGHT([Copyright (C) 2015
  19. Alessio Piccoli, Cedric Leporcq. All rights reserved.])
  20. AC_INIT([xfce4-windowck-plugin], [windowck_version], [https://github.com/cedl38/xfce4-windowck-plugin/], [xfce4-windowck-plugin])
  21. AC_PREREQ([2.50])
  22. AC_REVISION([xfce4_panel_version_build])
  23. dnl ***************************
  24. dnl *** Initialize automake ***
  25. dnl ***************************
  26. AM_INIT_AUTOMAKE([1.8 no-dist-gzip dist-bzip2 tar-ustar])
  27. AM_CONFIG_HEADER([config.h])
  28. AM_MAINTAINER_MODE()
  29. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
  30. dnl *******************************
  31. dnl *** Check for UNIX variants ***
  32. dnl *******************************
  33. AC_AIX()
  34. AC_ISC_POSIX()
  35. dnl ********************************
  36. dnl *** Check for basic programs ***
  37. dnl ********************************
  38. AC_PROG_CC()
  39. AM_PROG_CC_C_O()
  40. AC_PROG_LD()
  41. AC_PROG_INSTALL()
  42. AC_PROG_INTLTOOL()
  43. dnl **************************
  44. dnl *** Initialize libtool ***
  45. dnl **************************
  46. LT_PREREQ([2.2.6])
  47. LT_INIT([disable-static])
  48. dnl **********************************
  49. dnl *** Check for standard headers ***
  50. dnl **********************************
  51. AC_HEADER_STDC()
  52. AC_CHECK_HEADERS([stdlib.h unistd.h locale.h stdio.h errno.h time.h string.h \
  53. math.h sys/types.h sys/wait.h memory.h signal.h sys/prctl.h \
  54. libintl.h])
  55. AC_CHECK_FUNCS([bind_textdomain_codeset])
  56. dnl ******************************
  57. dnl *** Check for i18n support ***
  58. dnl ******************************
  59. XDT_I18N([@LINGUAS@])
  60. dnl *******************************
  61. dnl *** Check for X11 installed ***
  62. dnl *******************************
  63. XDT_CHECK_LIBX11_REQUIRE()
  64. dnl ***********************************
  65. dnl *** Check for required packages ***
  66. dnl ***********************************
  67. XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.20.0])
  68. XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.10.0])
  69. XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.10.0])
  70. XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-2.0], [4.12.0])
  71. XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.10.0])
  72. XDT_CHECK_PACKAGE([LIBWNCK], [libwnck-1.0], [2.30])
  73. dnl ***********************************
  74. dnl *** Check for debugging support ***
  75. dnl ***********************************
  76. XDT_FEATURE_DEBUG()
  77. dnl *********************************
  78. dnl *** Substitute platform flags ***
  79. dnl *********************************
  80. AC_MSG_CHECKING([PLATFORM_CPPFLAGS])
  81. AC_MSG_RESULT([$PLATFORM_CPPFLAGS])
  82. AC_SUBST([PLATFORM_CPPFLAGS])
  83. AC_MSG_CHECKING([PLATFORM_CFLAGS])
  84. AC_MSG_RESULT([$PLATFORM_CFLAGS])
  85. AC_SUBST([PLATFORM_CFLAGS])
  86. AC_MSG_CHECKING([PLATFORM_LDFLAGS])
  87. AC_MSG_RESULT([$PLATFORM_LDFLAGS])
  88. AC_SUBST([PLATFORM_LDFLAGS])
  89. AC_OUTPUT([
  90. Makefile
  91. icons/Makefile
  92. icons/48x48/Makefile
  93. common/Makefile
  94. panel-plugin/Makefile
  95. panel-plugin/title/Makefile
  96. panel-plugin/buttons/Makefile
  97. themes/Makefile
  98. themes/windowck/Makefile
  99. themes/windowck/xfwm4/Makefile
  100. themes/windowck/unity/Makefile
  101. themes/windowck-dark/Makefile
  102. themes/windowck-dark/xfwm4/Makefile
  103. themes/windowck-dark/unity/Makefile
  104. po/Makefile.in
  105. arch/PKGBUILD
  106. ])
  107. dnl ***************************
  108. dnl *** Print configuration ***
  109. dnl ***************************
  110. echo
  111. echo "Build Configuration:"
  112. echo
  113. echo "* Debug Support: $enable_debug"
  114. echo