|
Packit Service |
3bdf47 |
m4_define([gt_version_major],[3])
|
|
Packit Service |
3bdf47 |
m4_define([gt_version_minor],[28])
|
|
Packit Service |
3bdf47 |
m4_define([gt_version_micro],[3])
|
|
Packit Service |
3bdf47 |
m4_define([gt_version_extra],[])
|
|
Packit Service |
3bdf47 |
m4_define([gt_version],[gt_version_major().gt_version_minor().gt_version_micro()gt_version_extra])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
m4_define([gt_api_version],[0])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_INIT([GNOME Terminal],[gt_version],[http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-terminal],[gnome-terminal])
|
|
Packit Service |
3bdf47 |
AC_CONFIG_SRCDIR([src/terminal.c])
|
|
Packit Service |
3bdf47 |
AC_CONFIG_HEADERS([config.h])
|
|
Packit Service |
3bdf47 |
AC_CONFIG_MACRO_DIR([m4])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AM_INIT_AUTOMAKE([1.9 foreign no-dist-gzip dist-bzip2])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_USE_SYSTEM_EXTENSIONS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GETTEXT_PACKAGE=gnome-terminal
|
|
Packit Service |
3bdf47 |
AC_SUBST([GETTEXT_PACKAGE])
|
|
Packit Service |
3bdf47 |
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
if test -z "$enable_maintainer_mode"; then
|
|
Packit Service |
3bdf47 |
enable_maintainer_mode=yes
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
AM_MAINTAINER_MODE([enable])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
PKG_PROG_PKG_CONFIG
|
|
Packit Service |
3bdf47 |
AC_PROG_MKDIR_P
|
|
Packit Service |
3bdf47 |
AC_PROG_CC_C99
|
|
Packit Service |
3bdf47 |
AC_ISC_POSIX
|
|
Packit Service |
3bdf47 |
AC_HEADER_STDC
|
|
Packit Service |
3bdf47 |
AM_PROG_LIBTOOL
|
|
Packit Service |
3bdf47 |
IT_PROG_INTLTOOL([0.50.0])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AM_GLIB_GNU_GETTEXT
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AX_PTHREAD([],[AC_MSG_ERROR([pthreads are required])])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GLIB_REQUIRED=2.42.0
|
|
Packit Service |
3bdf47 |
GLIB_MIN_REQUIRED=2.42
|
|
Packit Service |
3bdf47 |
GLIB_MAX_ALLOWED=2.50
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GIO_REQUIRED=2.34.0
|
|
Packit Service |
3bdf47 |
GSETTINGS_DESKTOP_SCHEMAS_REQUIRED=0.1.0
|
|
Packit Service |
3bdf47 |
DCONF_REQUIRED=0.14.0
|
|
Packit Service |
3bdf47 |
PCRE2_REQUIRED=10.00
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_MSG_CHECKING([which gtk+ version to compile against])
|
|
Packit Service |
3bdf47 |
AC_ARG_WITH([gtk],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--with-gtk=3.0],[which gtk+ version to compile against (default: 3.0)])],
|
|
Packit Service |
3bdf47 |
[case "$with_gtk" in
|
|
Packit Service |
3bdf47 |
3.0) ;;
|
|
Packit Service |
3bdf47 |
2.0) AC_MSG_ERROR([unsupported gtk version $with_gtk specified]) ;;
|
|
Packit Service |
3bdf47 |
*) AC_MSG_ERROR([invalid gtk version $with_gtk specified]) ;;
|
|
Packit Service |
3bdf47 |
esac],
|
|
Packit Service |
3bdf47 |
[with_gtk=3.0])
|
|
Packit Service |
3bdf47 |
AC_MSG_RESULT([$with_gtk])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
case "$with_gtk" in
|
|
Packit Service |
3bdf47 |
3.0) GTK_API_VERSION=3.0
|
|
Packit Service |
3bdf47 |
GTK_REQUIRED=3.12.0
|
|
Packit Service |
503ba8 |
GTK_MIN_REQUIRED=3.18
|
|
Packit Service |
3bdf47 |
GTK_MAX_ALLOWED=3.22
|
|
Packit Service |
3bdf47 |
VTE_API_VERSION=2.91
|
|
Packit Service |
3bdf47 |
VTE_REQUIRED=0.52.2
|
|
Packit Service |
3bdf47 |
;;
|
|
Packit Service |
3bdf47 |
esac
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
PLATFORM_DEPS=
|
|
Packit Service |
3bdf47 |
for target in $($PKG_CONFIG --variable targets gdk-$GTK_API_VERSION); do
|
|
Packit Service |
3bdf47 |
case "$target" in
|
|
Packit Service |
3bdf47 |
x11) PLATFORM_DEPS="$PLATFORM_DEPS x11" ;;
|
|
Packit Service |
3bdf47 |
broadway) ;;
|
|
Packit Service |
3bdf47 |
wayland) ;;
|
|
Packit Service |
3bdf47 |
win32|quartz) AC_MSG_WARN([unsupported GDK backend $target]) ;;
|
|
Packit Service |
3bdf47 |
*) AC_MSG_WARN([unknown GDK backend $target]) ;;
|
|
Packit Service |
3bdf47 |
esac
|
|
Packit Service |
3bdf47 |
done
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# pkg-config checks
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
PKG_CHECK_MODULES([TERM],
|
|
Packit Service |
3bdf47 |
[vte-$VTE_API_VERSION >= $VTE_REQUIRED
|
|
Packit Service |
3bdf47 |
glib-2.0 >= $GLIB_REQUIRED
|
|
Packit Service |
3bdf47 |
gio-2.0 >= $GIO_REQUIRED
|
|
Packit Service |
3bdf47 |
gtk+-$GTK_API_VERSION >= $GTK_REQUIRED
|
|
Packit Service |
3bdf47 |
gsettings-desktop-schemas >= $GSETTINGS_DESKTOP_SCHEMAS_REQUIRED
|
|
Packit Service |
3bdf47 |
dconf >= $DCONF_REQUIRED
|
|
Packit Service |
3bdf47 |
uuid
|
|
Packit Service |
3bdf47 |
libpcre2-8 >= $PCRE2_REQUIRED
|
|
Packit Service |
3bdf47 |
$PLATFORM_DEPS])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# ****
|
|
Packit Service |
3bdf47 |
# DBus
|
|
Packit Service |
3bdf47 |
# ****
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_WITH([dbus-interface-dir],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--with-dbus-interface-dir=PATH],[dbus interace file directory])],
|
|
Packit Service |
3bdf47 |
[dbusinterfacedir="$withval"],
|
|
Packit Service |
3bdf47 |
[dbusinterfacedir='${datadir}/dbus-1/interfaces'])
|
|
Packit Service |
3bdf47 |
AC_SUBST([dbusinterfacedir])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_WITH([dbus-service-dir],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--with-dbus-service-dir=PATH],[dbus service file directory])],
|
|
Packit Service |
3bdf47 |
[dbusservicedir="$withval"],
|
|
Packit Service |
3bdf47 |
[dbusservicedir='${datadir}/dbus-1/services'])
|
|
Packit Service |
3bdf47 |
AC_SUBST([dbusservicedir])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# *********
|
|
Packit Service |
3bdf47 |
# GSettings
|
|
Packit Service |
3bdf47 |
# *********
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GLIB_GSETTINGS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# *************************
|
|
Packit Service |
3bdf47 |
# GConf-GSettings Migration
|
|
Packit Service |
3bdf47 |
# *************************
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GCONF_REQUIRED=2.31.3
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_MSG_CHECKING([whether to build the GConf to GSettings migrator])
|
|
Packit Service |
3bdf47 |
AC_ARG_ENABLE([migration],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--disable-migration],[Disable prefs migration from GConf to GSettings])],
|
|
Packit Service |
3bdf47 |
[],[enable_migration=yes])
|
|
Packit Service |
3bdf47 |
AC_MSG_RESULT([$enable_migration])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
if test "$enable_migration" = "yes"; then
|
|
Packit Service |
3bdf47 |
PKG_CHECK_MODULES([MIGRATOR],[
|
|
Packit Service |
3bdf47 |
gio-2.0 >= $GIO_REQUIRED
|
|
Packit Service |
3bdf47 |
vte-$VTE_API_VERSION >= $VTE_REQUIRED
|
|
Packit Service |
3bdf47 |
gconf-2.0 >= $GCONF_REQUIRED
|
|
Packit Service |
3bdf47 |
dconf >= $DCONF_REQUIRED
|
|
Packit Service |
3bdf47 |
uuid])
|
|
Packit Service |
3bdf47 |
AC_DEFINE([ENABLE_MIGRATION],[1],[Define to 1 to enable prefs migration from GConf to GSettings])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AM_CONDITIONAL([ENABLE_MIGRATION],[test "$enable_migration" = "yes"])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# ***********
|
|
Packit Service |
3bdf47 |
# Build tools
|
|
Packit Service |
3bdf47 |
# ***********
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_VAR([GLIB_GENMARSHAL],[the glib-genmarschal programme])
|
|
Packit Service |
3bdf47 |
if test -z "$GLIB_GENMARSHAL"; then
|
|
Packit Service |
3bdf47 |
AC_PATH_PROG([GLIB_GENMARSHAL],[glib-genmarshal],[])
|
|
Packit Service |
3bdf47 |
if test -z "$GLIB_GENMARSHAL"; then
|
|
Packit Service |
3bdf47 |
AC_MSG_ERROR([glib-genmarshal not found])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_VAR([GLIB_MKENUMS],[the glib-mkenums programme])
|
|
Packit Service |
3bdf47 |
if test -z "$GLIB_MKENUMS"; then
|
|
Packit Service |
3bdf47 |
AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums],[])
|
|
Packit Service |
3bdf47 |
if test -z "$GLIB_MKENUMS"; then
|
|
Packit Service |
3bdf47 |
AC_MSG_ERROR([glib-mkenums not found])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_VAR([GLIB_COMPILE_RESOURCES],[the glib-compile-resources programme])
|
|
Packit Service |
3bdf47 |
if test -z "$GLIB_COMPILE_RESOURCES"; then
|
|
Packit Service |
3bdf47 |
AC_PATH_PROG([GLIB_COMPILE_RESOURCES],[glib-compile-resources],[])
|
|
Packit Service |
3bdf47 |
if test -z "$GLIB_COMPILE_RESOURCES"; then
|
|
Packit Service |
3bdf47 |
AC_MSG_ERROR([glib-compile-resources not found])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_VAR([GDBUS_CODEGEN],[the gdbus-codegen programme])
|
|
Packit Service |
3bdf47 |
if test -z "$GDBUS_CODEGEN"; then
|
|
Packit Service |
3bdf47 |
AC_PATH_PROG([GDBUS_CODEGEN],[gdbus-codegen],[])
|
|
Packit Service |
3bdf47 |
if test -z "$GDBUS_CODEGEN"; then
|
|
Packit Service |
3bdf47 |
AC_MSG_ERROR([gdbus-codegen not found])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_VAR([XMLLINT],[the xmllint programme])
|
|
Packit Service |
3bdf47 |
if test -z "$XMLLINT"; then
|
|
Packit Service |
3bdf47 |
AC_PATH_PROG([XMLLINT],[xmllint],[])
|
|
Packit Service |
3bdf47 |
if test -z "$XMLLINT"; then
|
|
Packit Service |
3bdf47 |
AC_MSG_ERROR([xmllint not found])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_VAR([DESKTOP_FILE_VALIDATE],[the desktop-file-validate programme])
|
|
Packit Service |
3bdf47 |
if test -z "$DESKTOP_FILE_VALIDATE"; then
|
|
Packit Service |
3bdf47 |
AC_PATH_PROG([DESKTOP_FILE_VALIDATE],[desktop-file-validate],[])
|
|
Packit Service |
3bdf47 |
if test -z "$DESKTOP_FILE_VALIDATE"; then
|
|
Packit Service |
3bdf47 |
AC_MSG_ERROR([desktop-file-validate not found])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
1caaab |
AC_ARG_VAR([XSLTPROC],[the xsltproc programme])
|
|
Packit Service |
1caaab |
if test -z "$XSLTPROC"; then
|
|
Packit Service |
1caaab |
AC_PATH_PROG([XSLTPROC],[xsltproc],[])
|
|
Packit Service |
1caaab |
if test -z "$XSLTPROC"; then
|
|
Packit Service |
1caaab |
AC_MSG_ERROR([xsltproc not found])
|
|
Packit Service |
1caaab |
fi
|
|
Packit Service |
1caaab |
fi
|
|
Packit Service |
1caaab |
|
|
Packit Service |
3bdf47 |
# ***************************
|
|
Packit Service |
3bdf47 |
# GNOME Shell search provider
|
|
Packit Service |
3bdf47 |
# ***************************
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_MSG_CHECKING([whether to build the gnome-shell search provider])
|
|
Packit Service |
3bdf47 |
AC_ARG_ENABLE([search-provider],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--disable-search-provider],[Disable gnome-shell search provider])],
|
|
Packit Service |
3bdf47 |
[],[enable_search_provider=yes])
|
|
Packit Service |
3bdf47 |
AC_MSG_RESULT([$enable_search_provider])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
if test "$enable_search_provider" = "yes"; then
|
|
Packit Service |
3bdf47 |
AC_CHECK_FILE([$(eval echo $(eval echo $(eval echo ${dbusinterfacedir})))/org.gnome.ShellSearchProvider2.xml],[],
|
|
Packit Service |
3bdf47 |
[AC_MSG_ERROR([gnome-shell search provider requested but interface definition file not found])])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_DEFINE([ENABLE_SEARCH_PROVIDER],[1],[Define to enable gnome-shell search provider])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AM_CONDITIONAL([ENABLE_SEARCH_PROVIDER],[test "$enable_search_provider" = "yes"])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# ******************
|
|
Packit Service |
3bdf47 |
# Nautilus extension
|
|
Packit Service |
3bdf47 |
# ******************
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_WITH([nautilus-extension],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--without-nautilus-extension],[Disable nautilus extension])],
|
|
Packit Service |
3bdf47 |
[],
|
|
Packit Service |
3bdf47 |
[with_nautilus_extension=yes])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
if test "$with_nautilus_extension" = "yes"; then
|
|
Packit Service |
3bdf47 |
NAUTILUS_REQUIRED=3.0.0
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
PKG_CHECK_MODULES([NAUTILUS],[
|
|
Packit Service |
3bdf47 |
libnautilus-extension >= $NAUTILUS_REQUIRED
|
|
Packit Service |
3bdf47 |
gio-2.0
|
|
Packit Service |
3bdf47 |
gio-unix-2.0])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_ARG_WITH([nautilus-dir],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--with-nautilus-dir=PATH],[Nautilus extensions directory])],
|
|
Packit Service |
3bdf47 |
[nautilusextensiondir="$withval"],
|
|
Packit Service |
3bdf47 |
[nautilusextensiondir='${libdir}/nautilus/extensions-3.0'])
|
|
Packit Service |
3bdf47 |
AC_SUBST([nautilusextensiondir])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AM_CONDITIONAL([WITH_NAUTILUS_EXTENSION],[test "$with_nautilus_extension" = "yes"])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# ***********
|
|
Packit Service |
3bdf47 |
# Compilation
|
|
Packit Service |
3bdf47 |
# ***********
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
WARN_CFLAGS=
|
|
Packit Service |
3bdf47 |
CC_CHECK_FLAGS_APPEND([WARN_CFLAGS],[CFLAGS],[ \
|
|
Packit Service |
3bdf47 |
-pipe \
|
|
Packit Service |
3bdf47 |
-Waggregate-return \
|
|
Packit Service |
3bdf47 |
-Wall \
|
|
Packit Service |
3bdf47 |
-Wcast-align \
|
|
Packit Service |
3bdf47 |
-Wendif-labels \
|
|
Packit Service |
30ccb9 |
"-Wformat=2 -Wformat-nonliteral -Wformat-security" \
|
|
Packit Service |
30ccb9 |
-Wimplicit-function-declaration \
|
|
Packit Service |
30ccb9 |
-Winit-self \
|
|
Packit Service |
30ccb9 |
-Wmissing-include-dirs \
|
|
Packit Service |
30ccb9 |
-Wmissing-prototypes \
|
|
Packit Service |
30ccb9 |
-Wpointer-arith \
|
|
Packit Service |
3bdf47 |
-Wextra \
|
|
Packit Service |
3bdf47 |
-Wfloat-equal \
|
|
Packit Service |
3bdf47 |
-Wimplicit \
|
|
Packit Service |
3bdf47 |
-Wlogical-op \
|
|
Packit Service |
3bdf47 |
-Wmissing-declarations \
|
|
Packit Service |
3bdf47 |
-Wmissing-include-dirs \
|
|
Packit Service |
3bdf47 |
-Wmissing-format-attribute \
|
|
Packit Service |
3bdf47 |
-Wmissing-noreturn \
|
|
Packit Service |
3bdf47 |
-Wnested-externs \
|
|
Packit Service |
3bdf47 |
-Wno-missing-field-initializers \
|
|
Packit Service |
3bdf47 |
-Wno-switch-enum \
|
|
Packit Service |
3bdf47 |
-Wno-unused-parameter \
|
|
Packit Service |
3bdf47 |
-Wold-style-definition \
|
|
Packit Service |
3bdf47 |
-Wpacked \
|
|
Packit Service |
3bdf47 |
-Wshadow \
|
|
Packit Service |
3bdf47 |
-Wsign-compare \
|
|
Packit Service |
3bdf47 |
-Wstrict-aliasing=2 \
|
|
Packit Service |
3bdf47 |
-Wstrict-prototypes \
|
|
Packit Service |
3bdf47 |
-Wundef \
|
|
Packit Service |
3bdf47 |
-Wuninitialized \
|
|
Packit Service |
3bdf47 |
-Wunsafe-loop-optimizations \
|
|
Packit Service |
3bdf47 |
-Wwrite-strings \
|
|
Packit Service |
3bdf47 |
-Wformat-signedness \
|
|
Packit Service |
3bdf47 |
-fno-common \
|
|
Packit Service |
3bdf47 |
-fdiagnostics-show-option \
|
|
Packit Service |
3bdf47 |
-fno-strict-aliasing \
|
|
Packit Service |
3bdf47 |
-fvisibility=hidden \
|
|
Packit Service |
3bdf47 |
-fstack-protector \
|
|
Packit Service |
3bdf47 |
-fstack-protector-strong \
|
|
Packit Service |
3bdf47 |
])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# *********
|
|
Packit Service |
3bdf47 |
# Debugging
|
|
Packit Service |
3bdf47 |
# *********
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_MSG_CHECKING([whether to enable special debug support])
|
|
Packit Service |
3bdf47 |
AC_ARG_ENABLE([debug],
|
|
Packit Service |
3bdf47 |
[AS_HELP_STRING([--enable-debug],[Enable special debug support])],
|
|
Packit Service |
3bdf47 |
[],[enable_debug=no])
|
|
Packit Service |
3bdf47 |
AC_MSG_RESULT([$enable_debug])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
if test "$enable_debug" = "yes"; then
|
|
Packit Service |
3bdf47 |
AC_DEFINE([ENABLE_DEBUG],[1],[Define to 1 to enable special debug support])
|
|
Packit Service |
3bdf47 |
fi
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# *************
|
|
Packit Service |
3bdf47 |
# Documentation
|
|
Packit Service |
3bdf47 |
# *************
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
YELP_HELP_INIT([no-lc-media-links no-lc-dist])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# ****************************
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_SUBST([TERMINAL_MAJOR_VERSION],[gt_version_major])
|
|
Packit Service |
3bdf47 |
AC_SUBST([TERMINAL_MINOR_VERSION],[gt_version_minor])
|
|
Packit Service |
3bdf47 |
AC_SUBST([TERMINAL_MICRO_VERSION],[gt_version_micro])
|
|
Packit Service |
3bdf47 |
AC_SUBST([TERMINAL_API_VERSION],[gt_api_version])
|
|
Packit Service |
3bdf47 |
AC_SUBST([GTK_API_VERSION])
|
|
Packit Service |
3bdf47 |
AC_SUBST([WARN_CFLAGS])
|
|
Packit Service |
3bdf47 |
AC_SUBST([AM_CPPFLAGS])
|
|
Packit Service |
3bdf47 |
AC_SUBST([AM_CFLAGS])
|
|
Packit Service |
3bdf47 |
AC_SUBST([AM_LDFLAGS])
|
|
Packit Service |
3bdf47 |
AC_DEFINE_UNQUOTED([GLIB_VERSION_MIN_REQUIRED],[G_ENCODE_VERSION($(echo $GLIB_MIN_REQUIRED | tr . ,))],[Define the min required glib version])
|
|
Packit Service |
3bdf47 |
AC_DEFINE_UNQUOTED([GLIB_VERSION_MAX_ALLOWED],[G_ENCODE_VERSION($(echo $GLIB_MAX_ALLOWED | tr . ,))],[Define the max allowed glib version])
|
|
Packit Service |
3bdf47 |
AC_DEFINE_UNQUOTED([GDK_VERSION_MIN_REQUIRED],[G_ENCODE_VERSION($(echo $GTK_MIN_REQUIRED | tr . ,))],[Define the min required gtk version])
|
|
Packit Service |
3bdf47 |
AC_DEFINE_UNQUOTED([GDK_VERSION_MAX_ALLOWED],[G_ENCODE_VERSION($(echo $GTK_MAX_ALLOWED | tr . ,))],[Define the max allowed gtk version])
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# ****************************
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
AC_CONFIG_FILES([
|
|
Packit Service |
3bdf47 |
Makefile
|
|
Packit Service |
3bdf47 |
org.gnome.Terminal.desktop.in
|
|
Packit Service |
1caaab |
man/Makefile
|
|
Packit Service |
3bdf47 |
src/Makefile
|
|
Packit Service |
3bdf47 |
src/terminal-version.h
|
|
Packit Service |
3bdf47 |
help/Makefile
|
|
Packit Service |
3bdf47 |
po/Makefile.in
|
|
Packit Service |
3bdf47 |
])
|
|
Packit Service |
3bdf47 |
AC_OUTPUT
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
# ****************************
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
echo "
|
|
Packit Service |
3bdf47 |
gnome-terminal-$VERSION:
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
prefix: ${prefix}
|
|
Packit Service |
3bdf47 |
source code location: ${srcdir}
|
|
Packit Service |
3bdf47 |
compiler: ${CC}
|
|
Packit Service |
3bdf47 |
gterminal: ${enable_gterminal}
|
|
Packit Service |
3bdf47 |
DBus interface dir: ${dbusinterfacedir}
|
|
Packit Service |
3bdf47 |
DBus service dir: ${dbusservicedir}
|
|
Packit Service |
3bdf47 |
Debug: ${enable_debug}
|
|
Packit Service |
3bdf47 |
Prefs migration: ${enable_migration}
|
|
Packit Service |
3bdf47 |
Search provider: ${enable_search_provider}
|
|
Packit Service |
3bdf47 |
Nautilus extension: ${with_nautilus_extension}
|
|
Packit Service |
3bdf47 |
Nautilus extension dir: ${nautilusextensiondir}
|
|
Packit Service |
3bdf47 |
"
|