diff options
author | Robert Tari <robert@tari.in> | 2020-11-08 13:50:13 +0100 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2020-11-10 12:10:27 +0100 |
commit | f9a39b44803e6347c72c1edd8ba46f633e99dd57 (patch) | |
tree | 558d0879ddc9318f7e9c0bb7362fd7f086fa29f0 /configure.ac | |
parent | f872e9097ff373a172119bd3f7e9d0ef84b31ce1 (diff) | |
download | ayatana-indicator-notifications-f9a39b44803e6347c72c1edd8ba46f633e99dd57.tar.gz ayatana-indicator-notifications-f9a39b44803e6347c72c1edd8ba46f633e99dd57.tar.bz2 ayatana-indicator-notifications-f9a39b44803e6347c72c1edd8ba46f633e99dd57.zip |
Rewrite to indicator-ng, simplify, drop all GTK references, move to CMake
fixes #9, fixes #12
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 9433de0..0000000 --- a/configure.ac +++ /dev/null @@ -1,86 +0,0 @@ -AC_INIT([ayatana-indicator-notifications], [0.8.2], [jason.conti@gmail.com]) - -AM_INIT_AUTOMAKE([-Wall -Werror]) - -AM_SILENT_RULES([yes]) - -# Required compilers - -AC_ISC_POSIX -AC_PROG_CC -AM_PROG_CC_C_O -AM_PROG_AR -AC_STDC_HEADERS -AC_DISABLE_STATIC -AC_PROG_LIBTOOL - -# Setup gettext with intltool - -AC_DEFUN([AC_DEFINE_PATH], [ - test "x$prefix" = xNONE && prefix="$ac_default_prefix" - test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - ac_define_path=`eval echo [$]$2` - ac_define_path=`eval echo [$]ac_define_path` - $1="$ac_define_path" - AC_SUBST($1) - ifelse($3, , - AC_DEFINE_UNQUOTED($1, "$ac_define_path"), - AC_DEFINE_UNQUOTED($1, "$ac_define_path", $3)) -]) - -IT_PROG_INTLTOOL -GETTEXT_PACKAGE=ayatana-indicator-notifications -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext package]) -AC_DEFINE_PATH([LOCALEDIR], "${datadir}/locale", [locale directory]) -AM_GLIB_GNU_GETTEXT - -# Helpers for GSettings - -GLIB_GSETTINGS - -# Required libraries from pkg-config - -INDICATOR_REQUIRED_VERSION=0.3.19 -GTK3_REQUIRED_VERSION=3.0 - -INDICATOR3_PKG_NAME=ayatana-indicator3-0.4 - -PKG_CHECK_MODULES(INDICATOR, $INDICATOR3_PKG_NAME >= $INDICATOR_REQUIRED_VERSION - gtk+-3.0 >= GTK3_REQUIRED_VERSION) - -AC_SUBST(INDICATOR_CFLAGS) -AC_SUBST(INDICATOR_LIBS) - -# Library directories from pkg-config - -INDICATORDIR=`$PKG_CONFIG --variable=indicatordir $INDICATOR3_PKG_NAME` -INDICATORICONSDIR="${datadir}/pixmaps/" - -AC_SUBST(INDICATORDIR) -AC_SUBST(INDICATORICONSDIR) - -PKG_CHECK_MODULES(SETTINGS, gtk+-3.0 >= GTK3_REQUIRED_VERSION) - -AC_SUBST(SETTINGS_CFLAGS) -AC_SUBST(SETTINGS_LIBS) - -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([ - Makefile - src/Makefile - data/Makefile - data/icons/Makefile - po/Makefile.in - tests/Makefile -]) - -AC_OUTPUT - -AC_MSG_NOTICE([ - -Recent Notifications Indicator Configuration: - - Prefix: $prefix - Indicator Dir: $INDICATORDIR -]) |