[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MinGW build issues in Texinfo 5.1
From: |
Eli Zaretskii |
Subject: |
MinGW build issues in Texinfo 5.1 |
Date: |
Wed, 20 Mar 2013 19:51:28 +0200 |
I tried to build Texinfo with MinGW on a system that didn't have
ncurses installed, and the result was that Info wasn't built in that
case, even though the MinGW build doesn't use any curses library.
It turned out that this test was introduced between 4.13 and 5.0, and
I didn't notice because the systems I usually build Texinfo (and where
I tried all the pretests) all have ncurses installed.
This problem will also break the DJGPP (a.k.a. "DOS") build.
The patches to fix that are below.
(Btw, does the fact that I can check out the repository using svn+ssh
and my savannah user name mean that I can commit changes myself?)
2013-03-20 Eli Zaretskii <address@hidden>
* Makefile.am (SUBDIRS): If HOST_IS_WINDOWS, add 'info' to SUBDIRS
even if HAVE_TERMLIBS is false.
* configure.ac <have_termlib>: Don't bother warning on MinGW as
well.
--- configure.ac~0 2013-03-13 00:56:34.000000000 +0200
+++ configure.ac 2013-03-20 11:47:05.951718900 +0200
@@ -223,9 +223,9 @@
[TERMLIBS="${TERMLIBS} -l${termlib}"; break])
done
have_termlib=yes
-# don't bother warning on djgpp, it doesn't have a term library, it
-# ports each termcap-needing program separately according to its needs.
-if test -z "$TERMLIBS" && echo "$build" | grep -v djgpp >/dev/null; then
+# don't bother warning on djgpp and MinGW, they don't have a term library,
+# and port each termcap-needing program separately according to the needs.
+if test -z "$TERMLIBS" && echo "$build" | grep -v djgpp | grep -v mingw
>/dev/null; then
AC_MSG_WARN([info needs a terminal library, one of: ${TERMLIB_VARIANTS}])
have_termlib=no
fi
--- Makefile.am~0 2013-02-23 02:11:25.000000000 +0200
+++ Makefile.am 2013-03-20 12:25:24.669135000 +0200
@@ -35,6 +35,11 @@
SUBDIRS += gnulib/lib install-info tp util
if HAVE_TERMLIBS
SUBDIRS += info
+else
+# DOS/Windows don't need TERMLIBS to build Info
+if HOST_IS_WINDOWS
+ SUBDIRS += info
+endif
endif
else
# All subdirectories.
@@ -44,6 +49,11 @@
SUBDIRS += $(native_tools) gnulib/lib
if HAVE_TERMLIBS
SUBDIRS += info
+else
+# DOS/Windows don't need TERMLIBS to build Info
+if HOST_IS_WINDOWS
+ SUBDIRS += info
+endif
endif
SUBDIRS += install-info po po_document tp Pod-Simple-Texinfo util \
doc man
- MinGW build issues in Texinfo 5.1,
Eli Zaretskii <=