summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2011-11-22 00:52:00 +0100
committerStefano Karapetsas <[email protected]>2011-11-22 00:52:00 +0100
commita509013b9b4a80a13bfb4adb365dee38fb2b81d7 (patch)
treec8e06e0e5354eb9868ade186960ba9e0df29fb68 /aclocal.m4
parent69ecddf1317e71f35b1c1de00392dc76f8f1701c (diff)
downloadmate-sensors-applet-a509013b9b4a80a13bfb4adb365dee38fb2b81d7.tar.bz2
mate-sensors-applet-a509013b9b4a80a13bfb4adb365dee38fb2b81d7.tar.xz
converted to MATE (thanks to perberos)
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m428
1 files changed, 14 insertions, 14 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index d53701f..fd2f152 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -452,10 +452,10 @@ sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
fi])
-dnl GNOME_COMPILE_WARNINGS
+dnl MATE_COMPILE_WARNINGS
dnl Turn on many useful compiler warnings
dnl For now, only works on GCC
-AC_DEFUN([GNOME_COMPILE_WARNINGS],[
+AC_DEFUN([MATE_COMPILE_WARNINGS],[
dnl ******************************
dnl More compiler warnings
dnl ******************************
@@ -541,7 +541,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
dnl For C++, do basically the same thing.
-AC_DEFUN([GNOME_CXX_WARNINGS],[
+AC_DEFUN([MATE_CXX_WARNINGS],[
AC_ARG_ENABLE(cxx-warnings,
AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
[Turn on compiler warnings.]),,
@@ -594,13 +594,13 @@ AC_DEFUN([GNOME_CXX_WARNINGS],[
AC_SUBST(WARN_CXXFLAGS)
])
-dnl Do not call GNOME_DOC_DEFINES directly. It is split out from
-dnl GNOME_DOC_INIT to allow gnome-doc-utils to bootstrap off itself.
-AC_DEFUN([GNOME_DOC_DEFINES],
+dnl Do not call MATE_DOC_DEFINES directly. It is split out from
+dnl MATE_DOC_INIT to allow mate-doc-utils to bootstrap off itself.
+AC_DEFUN([MATE_DOC_DEFINES],
[
AC_ARG_WITH([help-dir],
AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),,
- [with_help_dir='${datadir}/gnome/help'])
+ [with_help_dir='${datadir}/mate/help'])
HELP_DIR="$with_help_dir"
AC_SUBST(HELP_DIR)
@@ -626,18 +626,18 @@ dnl disable scrollkeeper automatically for distcheck
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
-AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"])
+AM_CONDITIONAL([HAVE_MATE_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"])
])
-# GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
+# MATE_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
#
-AC_DEFUN([GNOME_DOC_INIT],
+AC_DEFUN([MATE_DOC_INIT],
[AC_REQUIRE([AC_PROG_LN_S])dnl
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
-AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
-PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
+AC_MSG_CHECKING([mate-doc-utils >= $gdu_cv_version_required])
+PKG_CHECK_EXISTS([mate-doc-utils >= $gdu_cv_version_required],
[gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
if test "$gdu_cv_have_gdu" = "yes"; then
@@ -645,10 +645,10 @@ if test "$gdu_cv_have_gdu" = "yes"; then
ifelse([$2],,[:],[$2])
else
AC_MSG_RESULT([no])
- ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3])
+ ifelse([$3],,[AC_MSG_ERROR([mate-doc-utils >= $gdu_cv_version_required not found])],[$3])
fi
-GNOME_DOC_DEFINES
+MATE_DOC_DEFINES
])