1dnl 2dnl This file was autogenerated from "configure.ac.in". 3dnl Edit that file instead! 4dnl 5 6# vi:set et ai sw=2 sts=2 ts=2: */ 7#- 8# Copyright (c) 2004-2007 Benedikt Meurer <benny@xfce.org> 9# Copyright (c) 2009-2011 Jannis Pohlmann <jannis@xfce.org> 10# Copyright (c) 2004-2015 Xfce Development Team <xfce4-dev@xfce.org> 11# 12# This program is free software; you can redistribute it and/or 13# modify it under the terms of the GNU General Public License as 14# published by the Free Software Foundation; either version 2 of 15# the License, or (at your option) any later version. 16# 17# This program is distributed in the hope that it will be useful, 18# but WITHOUT ANY WARRANTY; without even the implied warranty of 19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20# GNU General Public License for more details. 21# 22# You should have received a copy of the GNU General Public 23# License along with this program; if not, write to the Free 24# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 25# Boston, MA 02110-1301, USA. 26 27dnl *************************** 28dnl *** Version information *** 29dnl *************************** 30m4_define([thunarx_verinfo], [0:0:0]) 31m4_define([thunarx_version_api], [3]) 32m4_define([thunar_version_major], [4]) 33m4_define([thunar_version_minor], [16]) 34m4_define([thunar_version_micro], [10]) 35m4_define([thunar_version_nano], []) 36m4_define([thunar_version_build], [b6dee14a]) 37m4_define([thunar_version_tag], []) 38m4_define([thunar_version], [thunar_version_major().thunar_version_minor().thunar_version_micro()ifelse(thunar_version_nano(), [], [], [.thunar_version_nano()])ifelse(thunar_version_tag(), [git], [thunar_version_tag()-thunar_version_build()], [thunar_version_tag()])]) 39 40dnl ******************************************* 41dnl *** Debugging support for GIT snapshots *** 42dnl ******************************************* 43m4_define([thunar_debug_default], [ifelse(thunar_version_tag(), [git], [yes], [minimum])]) 44 45dnl *************************** 46dnl *** Initialize autoconf *** 47dnl *************************** 48AC_COPYRIGHT([Copyright (c) 2004-2020 The Thunar development team. All rights reserved.]) 49AC_INIT([thunar], [thunar_version], [https://gitlab.xfce.org/xfce/thunar], [thunar]) 50AC_PREREQ([2.60]) 51AC_CONFIG_MACRO_DIRS([m4]) 52AC_CANONICAL_TARGET() 53AC_REVISION([thunar_version_build]) 54 55dnl *************************** 56dnl *** Initialize automake *** 57dnl *************************** 58AM_INIT_AUTOMAKE([1.11 dist-bzip2 tar-ustar no-dist-gzip foreign]) 59AC_CONFIG_HEADERS([config.h]) 60AM_MAINTAINER_MODE() 61m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 62 63dnl ******************************* 64dnl *** Check for UNIX variants *** 65dnl ******************************* 66AC_AIX() 67AC_ISC_POSIX() 68AC_MINIX() 69 70if test "x$target_os" = "xlinux-gnu"; then 71 AC_DEFINE([HAVE_LINUX], [], [Whether we are building on Linux or not]) 72fi 73 74dnl ******************************** 75dnl *** Check for basic programs *** 76dnl ******************************** 77AC_PROG_CC() 78AC_PROG_LD() 79AM_PROG_CC_C_O() 80AC_PROG_INSTALL() 81IT_PROG_INTLTOOL() 82AC_CHECK_PROGS([PERL], [perl5 perl]) 83m4_ifdef([AC_PROG_SED], [AC_PROG_SED], [AC_CHECK_PROG(SED, sed, sed)]) 84 85dnl ************************** 86dnl *** Initialize libtool *** 87dnl ************************** 88LT_PREREQ([2.4]) 89LT_INIT([disable-static]) 90 91dnl ************************************** 92dnl *** Substitute version information *** 93dnl ************************************** 94THUNARX_VERINFO=thunarx_verinfo() 95THUNARX_VERSION_API=thunarx_version_api() 96THUNAR_VERSION_MAJOR=thunar_version_major() 97THUNAR_VERSION_MINOR=thunar_version_minor() 98THUNAR_VERSION_MICRO=thunar_version_micro() 99AC_SUBST([THUNARX_VERINFO]) 100AC_SUBST([THUNARX_VERSION_API]) 101AC_SUBST([THUNAR_VERSION_MAJOR]) 102AC_SUBST([THUNAR_VERSION_MINOR]) 103AC_SUBST([THUNAR_VERSION_MICRO]) 104 105dnl ****************************** 106dnl *** Set helper path prefix *** 107dnl ****************************** 108AC_ARG_WITH([helper-path-prefix], 109 [AC_HELP_STRING([--with-helper-path-prefix=PATH], 110 [Path prefix under which helper executables will be installed (default: $libdir)])], 111 [HELPER_PATH_PREFIX="$withval"], 112 [HELPER_PATH_PREFIX="$libdir"]) 113AC_SUBST([HELPER_PATH_PREFIX]) 114 115dnl *********************************************** 116dnl *** Work-around system-specific limitations *** 117dnl *********************************************** 118AC_SYS_LARGEFILE() 119 120dnl ********************************** 121dnl *** Check for standard headers *** 122dnl ********************************** 123AC_CHECK_HEADERS([ctype.h errno.h fcntl.h grp.h limits.h locale.h memory.h \ 124 paths.h pwd.h sched.h signal.h stdarg.h stdlib.h string.h \ 125 sys/mman.h sys/param.h sys/stat.h sys/time.h sys/types.h \ 126 sys/uio.h sys/wait.h time.h]) 127 128dnl ************************************ 129dnl *** Check for standard functions *** 130dnl ************************************ 131AC_FUNC_MMAP() 132AC_CHECK_FUNCS([localeconv mkdtemp pread pwrite sched_yield setgroupent \ 133 setpassent strcoll strlcpy strptime symlink atexit]) 134 135dnl ****************************** 136dnl *** Check for i18n support *** 137dnl ****************************** 138XDT_I18N([]) 139 140dnl ********************* 141dnl *** Check for X11 *** 142dnl ********************* 143XDT_CHECK_LIBX11_REQUIRE() 144 145dnl ************************* 146dnl *** Check for gtk-doc *** 147dnl ************************* 148GTK_DOC_CHECK([1.9]) 149 150dnl *********************************** 151dnl *** Check for required packages *** 152dnl *********************************** 153XDT_CHECK_PACKAGE([EXO], [exo-2], [4.15.3]) 154XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.50.0]) 155XDT_CHECK_PACKAGE([GIO], [gio-2.0], [2.50.0]) 156XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.50.0]) 157XDT_CHECK_PACKAGE([GMODULE], [gmodule-2.0], [2.50.0]) 158XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.22.0]) 159XDT_CHECK_PACKAGE([GDK_PIXBUF], [gdk-pixbuf-2.0], [2.14.0]) 160XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.15.2]) 161XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.15.3]) 162XDT_CHECK_PACKAGE([LIBXFCE4KBD_PRIVATE], [libxfce4kbd-private-3], [4.12.0]) 163XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.12.0]) 164XDT_CHECK_PACKAGE([PANGO], [pango], [1.38.0]) 165 166AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_50, [Ignore post 2.50 deprecations]) 167AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_50, [Prevent post 2.50 APIs]) 168 169dnl ****************************** 170dnl *** GObject Instrospection *** 171dnl ****************************** 172GOBJECT_INTROSPECTION_CHECK([1.30.0]) 173 174dnl ******************************************** 175dnl *** Check for session management support *** 176dnl ******************************************** 177XDT_CHECK_LIBSM() 178 179dnl ********************************** 180dnl *** Optional GIO UNIX features *** 181dnl ********************************** 182XDT_CHECK_OPTIONAL_PACKAGE([GIO_UNIX], [gio-unix-2.0], 183 [2.30.0], [gio-unix], [GIO UNIX features]) 184 185dnl *************************************************************** 186dnl *** Optional support for GUDev (required for thunar-volman) *** 187dnl *************************************************************** 188XDT_CHECK_OPTIONAL_PACKAGE([GUDEV], [gudev-1.0], [145], [gudev], 189 [GUDev (required for thunar-volman)]) 190 191dnl ************************************** 192dnl *** Optional support for libnotify *** 193dnl ************************************** 194XDT_CHECK_OPTIONAL_PACKAGE([LIBNOTIFY], [libnotify], [0.4.0], [notifications], 195 [Mount notification support], [yes]) 196 197dnl *********************************** 198dnl *** Check for debugging support *** 199dnl *********************************** 200XDT_FEATURE_DEBUG([thunar_debug_default]) 201 202dnl ************************************** 203dnl *** Check for linker optimizations *** 204dnl ************************************** 205XDT_FEATURE_LINKER_OPTS() 206 207dnl dnl **************************************** 208dnl dnl *** Check for ELF visibility support *** 209dnl dnl **************************************** 210dnl XDT_FEATURE_VISIBILITY() 211 212dnl ********************************* 213dnl *** Substitute platform flags *** 214dnl ********************************* 215AC_MSG_CHECKING([PLATFORM_CPPFLAGS]) 216AC_MSG_RESULT([$PLATFORM_CPPFLAGS]) 217AC_SUBST([PLATFORM_CPPFLAGS]) 218AC_MSG_CHECKING([PLATFORM_CFLAGS]) 219AC_MSG_RESULT([$PLATFORM_CFLAGS]) 220AC_SUBST([PLATFORM_CFLAGS]) 221AC_MSG_CHECKING([PLATFORM_LDFLAGS]) 222AC_MSG_RESULT([$PLATFORM_LDFLAGS]) 223AC_SUBST([PLATFORM_LDFLAGS]) 224 225dnl ************************************ 226dnl *** Check for additional plugins *** 227dnl ************************************ 228BM_THUNAR_PLUGIN_APR() 229BM_THUNAR_PLUGIN_SBR() 230BM_THUNAR_PLUGIN_TPA() 231BM_THUNAR_PLUGIN_UCA() 232BM_THUNAR_PLUGIN_WALLPAPER() 233 234AC_OUTPUT([ 235Makefile 236docs/Makefile 237docs/design/Makefile 238docs/papers/Makefile 239docs/reference/Makefile 240docs/reference/thunarx/Makefile 241docs/reference/thunarx/version.xml 242examples/Makefile 243examples/tex-open-terminal/Makefile 244icons/Makefile 245icons/16x16/Makefile 246icons/24x24/Makefile 247icons/48x48/Makefile 248icons/128x128/Makefile 249icons/scalable/Makefile 250plugins/Makefile 251plugins/thunar-apr/Makefile 252plugins/thunar-sbr/Makefile 253plugins/thunar-sendto-email/Makefile 254plugins/thunar-tpa/Makefile 255plugins/thunar-uca/Makefile 256plugins/thunar-wallpaper/Makefile 257po/Makefile.in 258thunar/Makefile 259thunarx/Makefile 260thunarx/thunarx-3.pc 261thunarx/thunarx-config.h 262]) 263 264dnl *************************** 265dnl *** Print configuration *** 266dnl *************************** 267echo 268echo "Build Configuration:" 269echo 270if test x"$GIO_UNIX_FOUND" = x"yes"; then 271echo "* GIO UNIX features: yes" 272else 273echo "* GIO UNIX features: no" 274fi 275if test x"$GUDEV_FOUND" = x"yes"; then 276echo "* GUDev (required for thunar-volman): yes" 277else 278echo "* GUDev (required for thunar-volman): no" 279fi 280if test x"$LIBNOTIFY_FOUND" = x"yes"; then 281echo "* Mount notification support: yes" 282else 283echo "* Mount notification support: no" 284fi 285echo "* Debug Support: $enable_debug" 286echo "* GObject Instrospection support: $enable_introspection" 287echo 288echo "Additional Plugins:" 289echo 290echo "* Advanced Properties: $ac_bm_thunar_plugin_apr" 291echo "* Simple Builtin Renamers: $ac_bm_thunar_plugin_sbr" 292echo "* Trash Panel Applet: $ac_bm_thunar_plugin_tpa" 293echo "* User Customizable Actions: $ac_bm_thunar_plugin_uca" 294echo "* Wallpaper support: $ac_bm_thunar_plugin_wallpaper" 295echo 296