Fix solaris bootstrap.

Solaris automake doesn't have AM_COND_IF yet. It was introduced
in automake 1.10.2.
libnfs-4.0.0-vitalif
Trent Nelson 2011-06-28 02:17:52 -04:00
parent 752d8ed28a
commit 13283beb69
1 changed files with 4 additions and 4 deletions

View File

@ -50,10 +50,10 @@ AC_ARG_ENABLE([examples],
[Build example programs])],
[ENABLE_EXAMPLES=$enableval],
[ENABLE_EXAMPLES="no"])
AM_CONDITIONAL(EXAMPLES, [test x$ENABLE_EXAMPLES = xyes])
AM_COND_IF(EXAMPLES,
[MAYBE_EXAMPLES="examples"]
[config_examples="examples/Makefile"])
if test x$ENABLE_EXAMPLES = xyes; then
MAYBE_EXAMPLES="examples"
fi
AC_SUBST(MAYBE_EXAMPLES)
#output