Fix solaris bootstrap.
[deb_libnfs.git] / configure.ac
index 641635ab96e493d57ea2c8fbb51eb9aaacb1c10e..97e191f6b6c4940de19615a4f170aeb1d780ead5 100644 (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