+AC_ARG_WITH([examples],
+ [ --without-examples Disable build of examples],
+ [ENABLE_EXAMPLES="no"],
+ [ENABLE_EXAMPLES="yes"]
+ )
+AC_SUBST(ENABLE_EXAMPLES)
+
+AC_ARG_WITH([ldconfig],
+ [ --without-ldconfig Disable call of ldconfig on make install],
+ [ldconfig='echo ldconfig disabled'])
+
+if test x"$cross_compiling" = xyes; then
+ ldconfig='echo crosscompiling: ldconfig disabled'
+fi
+