texlive[47940] Build/source/libs/harfbuzz: harfbuzz 1.8.0
commits+kakuto at tug.org
commits+kakuto at tug.org
Wed Jun 6 10:04:45 CEST 2018
Revision: 47940
http://tug.org/svn/texlive?view=revision&revision=47940
Author: kakuto
Date: 2018-06-06 10:04:44 +0200 (Wed, 06 Jun 2018)
Log Message:
-----------
harfbuzz 1.8.0
Modified Paths:
--------------
trunk/Build/source/libs/harfbuzz/ChangeLog
trunk/Build/source/libs/harfbuzz/config.h.in
trunk/Build/source/libs/harfbuzz/configure
trunk/Build/source/libs/harfbuzz/configure.ac
Modified: trunk/Build/source/libs/harfbuzz/ChangeLog
===================================================================
--- trunk/Build/source/libs/harfbuzz/ChangeLog 2018-06-06 07:23:34 UTC (rev 47939)
+++ trunk/Build/source/libs/harfbuzz/ChangeLog 2018-06-06 08:04:44 UTC (rev 47940)
@@ -1,7 +1,8 @@
2018-06-06 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
Import harfbuzz-1.8.0.
- * Makefile.am, version.ac, include/Makefile.am: Adjusted.
+ * configure.ac, Makefile.am, version.ac,
+ include/Makefile.am: Adjusted.
2018-03-07 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
Modified: trunk/Build/source/libs/harfbuzz/config.h.in
===================================================================
--- trunk/Build/source/libs/harfbuzz/config.h.in 2018-06-06 07:23:34 UTC (rev 47939)
+++ trunk/Build/source/libs/harfbuzz/config.h.in 2018-06-06 08:04:44 UTC (rev 47940)
@@ -18,6 +18,10 @@
/* define if the compiler supports basic C++11 syntax */
#undef HAVE_CXX11
+/* Define to 1 if you have the declaration of `round', and to 0 if you don't.
+ */
+#undef HAVE_DECL_ROUND
+
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
@@ -63,6 +67,12 @@
/* Use POSIX threads */
#undef HAVE_PTHREAD
+/* Define to 1 if you have the `round' function. */
+#undef HAVE_ROUND
+
+/* Define to 1 if you have the <stdbool.h> header file. */
+#undef HAVE_STDBOOL_H
+
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
Modified: trunk/Build/source/libs/harfbuzz/configure
===================================================================
--- trunk/Build/source/libs/harfbuzz/configure 2018-06-06 07:23:34 UTC (rev 47939)
+++ trunk/Build/source/libs/harfbuzz/configure 2018-06-06 08:04:44 UTC (rev 47940)
@@ -1698,6 +1698,52 @@
} # ac_fn_c_check_func
+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
+# ---------------------------------------------
+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
+# accordingly.
+ac_fn_c_check_decl ()
+{
+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+ as_decl_name=`echo $2|sed 's/ *(.*//'`
+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
+if eval \${$3+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+$4
+int
+main ()
+{
+#ifndef $as_decl_name
+#ifdef __cplusplus
+ (void) $as_decl_use;
+#else
+ (void) $as_decl_name;
+#endif
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ eval "$3=yes"
+else
+ eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_decl
+
# ac_fn_c_try_cpp LINENO
# ----------------------
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
@@ -6966,6 +7012,35 @@
fi
done
+
+save_libs="$LIBS"
+LIBS="$LIBS -lm"
+for ac_func in round
+do :
+ ac_fn_c_check_func "$LINENO" "round" "ac_cv_func_round"
+if test "x$ac_cv_func_round" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_ROUND 1
+_ACEOF
+
+else
+ ac_fn_c_check_decl "$LINENO" "round" "ac_cv_have_decl_round" "#include <math.h>
+"
+if test "x$ac_cv_have_decl_round" = xyes; then :
+ ac_have_decl=1
+else
+ ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ROUND $ac_have_decl
+_ACEOF
+
+fi
+done
+
+LIBS="$save_libs"
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -7363,7 +7438,7 @@
done
-for ac_header in unistd.h sys/mman.h xlocale.h
+for ac_header in unistd.h sys/mman.h xlocale.h stdbool.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
Modified: trunk/Build/source/libs/harfbuzz/configure.ac
===================================================================
--- trunk/Build/source/libs/harfbuzz/configure.ac 2018-06-06 07:23:34 UTC (rev 47939)
+++ trunk/Build/source/libs/harfbuzz/configure.ac 2018-06-06 08:04:44 UTC (rev 47940)
@@ -38,8 +38,14 @@
# Functions and headers
AC_CHECK_FUNCS(atexit mprotect sysconf getpagesize mmap isatty newlocale strtod_l)
-AC_CHECK_HEADERS(unistd.h sys/mman.h xlocale.h)
+save_libs="$LIBS"
+LIBS="$LIBS -lm"
+AC_CHECK_FUNCS([round], ,[AC_CHECK_DECLS([round], , ,[#include <math.h>])])
+LIBS="$save_libs"
+
+AC_CHECK_HEADERS(unistd.h sys/mman.h xlocale.h stdbool.h)
+
# Compiler flags
AC_CANONICAL_HOST
AC_CHECK_ALIGNOF([struct{char;}])
More information about the tex-live-commits
mailing list