From: Glenn Morris Date: Fri, 21 Jun 2013 10:17:38 +0000 (-0400) Subject: Auto-commit of generated files. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2016^2~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4628c0bf57a62949c617dc28777b5afe21d1ca78;p=emacs.git Auto-commit of generated files. --- diff --git a/autogen/config.in b/autogen/config.in index 9282b6eacbf..56d59da131a 100644 --- a/autogen/config.in +++ b/autogen/config.in @@ -746,6 +746,9 @@ along with GNU Emacs. If not, see . */ /* Define to 1 if you have the `localtime_r' function. */ #undef HAVE_LOCALTIME_R +/* Define to 1 if you have the `log2' function. */ +#undef HAVE_LOG2 + /* Define to 1 if you support file names longer than 14 characters. */ #undef HAVE_LONG_FILE_NAMES diff --git a/autogen/configure b/autogen/configure index 97e8078d4ec..b3ff28d9b16 100755 --- a/autogen/configure +++ b/autogen/configure @@ -14314,6 +14314,27 @@ $as_echo "no" >&6; } HAVE_LIBXML2=no fi + # Built-in libxml2 on OS X 10.8 lacks libxml-2.0.pc. + if test "${HAVE_LIBXML2}" != "yes" -a "$opsys" = "darwin"; then + SAVE_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2" + ac_fn_c_check_header_mongrel "$LINENO" "libxml/HTMLparser.h" "ac_cv_header_libxml_HTMLparser_h" "$ac_includes_default" +if test "x$ac_cv_header_libxml_HTMLparser_h" = x""yes; then : + ac_fn_c_check_decl "$LINENO" "HTML_PARSE_RECOVER" "ac_cv_have_decl_HTML_PARSE_RECOVER" "#include +" +if test "x$ac_cv_have_decl_HTML_PARSE_RECOVER" = x""yes; then : + HAVE_LIBXML2=yes +fi + +fi + + + CPPFLAGS="$SAVE_CPPFLAGS" + if test "${HAVE_LIBXML2}" = "yes"; then + LIBXML2_LIBS="-lxml2" + LIBXML2_CFLAGS="-I/usr/include/libxml2" + fi + fi if test "${HAVE_LIBXML2}" = "yes"; then if test "${opsys}" != "mingw32"; then LIBS="$LIBXML2_LIBS $LIBS" @@ -14679,7 +14700,7 @@ gai_strerror mkstemp getline getdelim sync \ difftime posix_memalign \ getpwent endpwent getgrent endgrent \ touchlock \ -cfmakeraw cfsetspeed copysign __executable_start +cfmakeraw cfsetspeed copysign __executable_start log2 do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"