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
parent
752d8ed28a
commit
13283beb69
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue