summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-10 16:35:52 +0200
committerinfirit <[email protected]>2013-10-10 16:35:52 +0200
commitaaca4200673b6f2de93f8b80ae60df2ede8a8729 (patch)
treeb658d6353fe7e8dc64dc411da4baba635d473fee
parentd2f06044b77a9908969b886aeadd51c812a3a298 (diff)
downloadmate-screensaver-aaca4200673b6f2de93f8b80ae60df2ede8a8729.tar.bz2
mate-screensaver-aaca4200673b6f2de93f8b80ae60df2ede8a8729.tar.xz
Make autofoo happy
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac9
2 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index f400a13..d89aec1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
# This file will be processed with automake-1.7 to create Makefile.in
AUTOMAKE_OPTIONS = 1.7
+ACLOCAL_AMFLAGS = -I m4
NULL =
diff --git a/configure.ac b/configure.ac
index 71ae024..af6de54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,7 @@ AC_INIT([mate-screensaver],
[http://www.mate-desktop.org/])
AC_CONFIG_SRCDIR(src/mate-screensaver.c)
+AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-xz])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -224,7 +225,7 @@ dnl ---------------------------------------------------------------------------
# Like AC_CHECK_HEADER, but it uses the already-computed -I directories.
#
-AC_DEFUN(AC_CHECK_X_HEADER, [
+AC_DEFUN([AC_CHECK_X_HEADER], [
ac_save_CPPFLAGS="$CPPFLAGS"
if test \! -z "$includedir" ; then
CPPFLAGS="$CPPFLAGS -I$includedir"
@@ -235,7 +236,7 @@ AC_DEFUN(AC_CHECK_X_HEADER, [
# Like AC_TRY_COMPILE, but it uses the already-computed -I directories.
#
-AC_DEFUN(AC_TRY_X_COMPILE, [
+AC_DEFUN([AC_TRY_X_COMPILE], [
ac_save_CPPFLAGS="$CPPFLAGS"
if test \! -z "$includedir" ; then
CPPFLAGS="$CPPFLAGS -I$includedir"
@@ -248,7 +249,7 @@ AC_DEFUN(AC_TRY_X_COMPILE, [
# Like AC_CHECK_LIB, but it uses the already-computed -I and -L directories.
# Use this sparingly; it probably doesn't work very well on X programs.
#
-AC_DEFUN(AC_CHECK_X_LIB, [
+AC_DEFUN([AC_CHECK_X_LIB], [
ac_save_CPPFLAGS="$CPPFLAGS"
ac_save_LDFLAGS="$LDFLAGS"
# ac_save_LIBS="$LIBS"
@@ -287,7 +288,7 @@ AC_DEFUN(AC_CHECK_X_LIB, [
# /DIR/include and /DIR/lib exist, and adds them to $X_CFLAGS and $X_LIBS
# as appropriate.
#
-AC_DEFUN(HANDLE_X_PATH_ARG, [
+AC_DEFUN([HANDLE_X_PATH_ARG], [
case "$[$1]" in
yes) ;;
no) ;;