From: Trent Nelson Date: Tue, 28 Jun 2011 06:17:52 +0000 (-0400) Subject: Fix solaris bootstrap. X-Git-Tag: upstream/1.9.6^2~359^2~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=13283beb698ae90fba9248b25b487d7c79ddd440;p=deb_libnfs.git Fix solaris bootstrap. Solaris automake doesn't have AM_COND_IF yet. It was introduced in automake 1.10.2. --- diff --git a/configure.ac b/configure.ac index 641635a..97e191f 100644 --- a/configure.ac +++ b/configure.ac @@ -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