1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 04:44:16 +01:00

automake: Fix warnings about underquoted calls to AC_DEFUN

This patch fixes warnings from automake versions >=1.8 about
underquoted calls to AC_DEFUN.

I followed the recommended modifications of
http://sources.redhat.com/automake/automake.html#Extending-aclocal
This commit is contained in:
Carlos R. Mafra
2008-11-05 18:17:55 +01:00
parent 72689513a3
commit 4339e446e4

View File

@@ -3,7 +3,7 @@
dnl dnl
dnl WM_CHECK_LIB(NAME, FUNCTION, EXTRALIBS) dnl WM_CHECK_LIB(NAME, FUNCTION, EXTRALIBS)
dnl dnl
AC_DEFUN(WM_CHECK_LIB, AC_DEFUN([WM_CHECK_LIB],
[ [
LDFLAGS_old="$LDFLAGS" LDFLAGS_old="$LDFLAGS"
LDFLAGS="$LDFLAGS $lib_search_path" LDFLAGS="$LDFLAGS $lib_search_path"
@@ -11,11 +11,10 @@ AC_CHECK_LIB([$1],[$2],yes=yes,no=no,[$3])
LDFLAGS="$LDFLAGS_old" LDFLAGS="$LDFLAGS_old"
]) ])
dnl dnl
dnl WM_CHECK_HEADER(NAME) dnl WM_CHECK_HEADER(NAME)
dnl dnl
AC_DEFUN(WM_CHECK_HEADER, AC_DEFUN([WM_CHECK_HEADER],
[ [
CPPFLAGS_old="$CPPFLAGS" CPPFLAGS_old="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $inc_search_path" CPPFLAGS="$CPPFLAGS $inc_search_path"
@@ -30,7 +29,7 @@ dnl
dnl # $XFTFLAGS should be defined before calling this macro, dnl # $XFTFLAGS should be defined before calling this macro,
dnl # else it will not be able to find Xft.h dnl # else it will not be able to find Xft.h
dnl dnl
AC_DEFUN(WM_CHECK_XFT_VERSION, AC_DEFUN([WM_CHECK_XFT_VERSION],
[ [
CPPFLAGS_old="$CPPFLAGS" CPPFLAGS_old="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $XFTFLAGS $inc_search_path" CPPFLAGS="$CPPFLAGS $XFTFLAGS $inc_search_path"
@@ -64,7 +63,7 @@ CPPFLAGS="$CPPFLAGS_old"
dnl dnl
dnl WM_CHECK_REDCRAP_BUGS(prefix,bindir,libdir) dnl WM_CHECK_REDCRAP_BUGS(prefix,bindir,libdir)
dnl dnl
AC_DEFUN(WM_CHECK_REDCRAP_BUGS, AC_DEFUN([WM_CHECK_REDCRAP_BUGS],
[ [
AC_MSG_CHECKING(for RedHat system) AC_MSG_CHECKING(for RedHat system)
wm_check_flag='no :)' wm_check_flag='no :)'
@@ -188,7 +187,7 @@ fi
dnl dnl
dnl WM_PRINT_REDCRAP_BUG_STATUS() dnl WM_PRINT_REDCRAP_BUG_STATUS()
dnl dnl
AC_DEFUN(WM_PRINT_REDCRAP_BUG_STATUS, AC_DEFUN([WM_PRINT_REDCRAP_BUG_STATUS],
[ [
if test "$rh_is_redhat" = yes; then if test "$rh_is_redhat" = yes; then
if test "$mins_found" = yes -o "$bugs_found" = yes; then if test "$mins_found" = yes -o "$bugs_found" = yes; then