From 3b9337788eeaf1fdffaa90744cc10a30777b41fd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 4 Feb 2017 17:09:25 +0000 Subject: xlocale fixes from Martin git-svn-id: svn://tug.org/texlive/trunk@43139 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvisvgm/ChangeLog | 6 ++++++ Build/source/texk/dvisvgm/config.h.in | 3 +++ Build/source/texk/dvisvgm/configure | 2 +- Build/source/texk/dvisvgm/configure.ac | 2 +- .../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h | 8 +++++++- 5 files changed, 18 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/dvisvgm') diff --git a/Build/source/texk/dvisvgm/ChangeLog b/Build/source/texk/dvisvgm/ChangeLog index 1f16f7893ec..98cfe5c1377 100644 --- a/Build/source/texk/dvisvgm/ChangeLog +++ b/Build/source/texk/dvisvgm/ChangeLog @@ -1,3 +1,9 @@ +2017-02-04 Karl Berry + + * configure.ac, + * dvisvgm-src/libs/ff-woff/fontforge/splinefont.h: testing xlocale + fixes from Martin. + 2017-02-01 Karl Berry * ac/libgs.ac: remove (unused). diff --git a/Build/source/texk/dvisvgm/config.h.in b/Build/source/texk/dvisvgm/config.h.in index 0f64d9b73a8..b6992e12fa0 100644 --- a/Build/source/texk/dvisvgm/config.h.in +++ b/Build/source/texk/dvisvgm/config.h.in @@ -168,6 +168,9 @@ /* Define to 1 if you have the `vprintf' function. */ #undef HAVE_VPRINTF +/* Define to 1 if you have the header file. */ +#undef HAVE_XLOCALE_H + /* Define to 1 if the system has the type `_Bool'. */ #undef HAVE__BOOL diff --git a/Build/source/texk/dvisvgm/configure b/Build/source/texk/dvisvgm/configure index 88ca3801db3..694701eb8bf 100755 --- a/Build/source/texk/dvisvgm/configure +++ b/Build/source/texk/dvisvgm/configure @@ -19293,7 +19293,7 @@ _ACEOF fi done -for ac_header in sys/time.h sys/timeb.h +for ac_header in sys/time.h sys/timeb.h xlocale.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" diff --git a/Build/source/texk/dvisvgm/configure.ac b/Build/source/texk/dvisvgm/configure.ac index d5f996ece06..59363069792 100644 --- a/Build/source/texk/dvisvgm/configure.ac +++ b/Build/source/texk/dvisvgm/configure.ac @@ -39,7 +39,7 @@ AC_PROG_RANLIB AC_LANG(C) AC_CHECK_FUNCS([ftime gettimeofday]) -AC_CHECK_HEADERS([sys/time.h sys/timeb.h]) +AC_CHECK_HEADERS([sys/time.h sys/timeb.h xlocale.h]) AC_HEADER_TIOCGWINSZ KPSE_COND_WIN32 diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h b/Build/source/texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h index 77e0d4f5459..6ecf7996506 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h +++ b/Build/source/texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h @@ -27,6 +27,9 @@ #ifndef _SPLINEFONT_H #define _SPLINEFONT_H +#ifdef HAVE_CONFIG_H +#include +#endif #include #include #include "configure-fontforge.h" @@ -35,7 +38,10 @@ #else # include #endif -#include "locale.h" +#include +#ifdef HAVE_XLOCALE_H +#include +#endif #include #ifdef FONTFORGE_CONFIG_USE_DOUBLE -- cgit v1.2.3