s/ifval/m4_ifval/ to keep in sync with autoconf. from Ake Sandgren

<ake@cs.umu.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9390 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-12-15 04:54:24 +00:00
parent 9cb9e0c102
commit c0b5730094
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ AC_MSG_RESULT($ac_foo)
if test "$ac_foo" = yes; then
AC_DEFINE_UNQUOTED(AC_TR_CPP(HAVE_[]$1), 1,
[Define if you have the `]$1[' variable.])
ifval([$2], AC_CHECK_DECLARATION([$2],[$1]))
m4_ifval([$2], AC_CHECK_DECLARATION([$2],[$1]))
fi
])

View File

@@ -74,7 +74,7 @@ if test "$ires" -a "$lres" -a "$with_$1" != "no"; then
$1_libdir="$lres"
INCLUDE_$1="-I$$1_includedir"
LIB_$1="-L$$1_libdir $3"
ifval([$6],
m4_ifval([$6],
AC_DEFINE_UNQUOTED($6,1,[Define if you have the $1 package.]),
AC_DEFINE_UNQUOTED(upcase($1),1,[Define if you have the $1 package.]))
with_$1=yes
@@ -85,7 +85,7 @@ else
with_$1=no
AC_MSG_RESULT($with_$1)
fi
dnl ifval([$6],
dnl m4_ifval([$6],
dnl AM_CONDITIONAL($6, test "$with_$1" = yes)
dnl AM_CONDITIONAL(upcase($1), test "$with_$1" = yes))
AC_SUBST(INCLUDE_$1)