- add variable is_darwin - used in Makefile.in for building the proper dynamic lib
- add option --without-examples for disable build of examples
fi
is_solaris="no"
+is_darwin="no"
install="/usr/bin/install"
ldconfig="ldconfig"
;;
Darwin*)
libdir='${exec_prefix}/lib'
+ ldconfig='echo no ldconfig on darwin'
+ is_darwin="yes"
;;
AIX*)
;;
fi
AC_SUBST(LOGDIR)
+AC_ARG_WITH([examples],
+ [ --without-examples Disable build of examples],
+ [ENABLE_EXAMPLES="no"],
+ [ENABLE_EXAMPLES="yes"]
+ )
+AC_SUBST(ENABLE_EXAMPLES)
+
AC_CONFIG_HEADER(config.h)
EXTRA_OBJ=""
AC_SUBST(libdir)
AC_SUBST(install)
AC_SUBST(ldconfig)
+AC_SUBST(is_darwin)
#AC_SUBST(LIBNFS_LDFLAGS)
AC_OUTPUT(Makefile)