build: Fix build failure on mingw (regression from 2019-04-02).

* libtextstyle/autogen.sh: Pass a --macro-prefix option to gnulib-tool.
* libtextstyle/configure.ac: Update accordingly.
This commit is contained in:
Bruno Haible 2019-04-11 00:49:37 +02:00
parent 87e70e34af
commit 0f54591c0e
2 changed files with 3 additions and 2 deletions

View File

@ -91,6 +91,7 @@ if test $skip_gnulib = false; then
term-ostream-tests
'
$GNULIB_TOOL --lib=libtextstyle --source-base=lib --m4-base=gnulib-m4 --tests-base=tests \
--macro-prefix=lts \
--makefile-name=Makefile.gnulib --libtool \
--local-dir=gnulib-local --local-dir=../gnulib-local \
--import --avoid=hash-tests $GNULIB_MODULES

View File

@ -41,7 +41,7 @@ AC_CANONICAL_HOST
dnl Checks that augment the CPPFLAGS.
gl_EARLY
lts_EARLY
dnl Checks for compiler output filename suffixes.
@ -68,7 +68,7 @@ AM_CONDITIONAL([WOE32], [test $is_woe32 = yes])
dnl Checks for types, header files, functions and declarations.
gl_INIT
lts_INIT
dnl Arrange that the gnulib-generated <unistd.h> does not declare isatty(). The
dnl adhoc-tests want to get this declaration from <textstyle.h>, not <unistd.h>.