bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo-4.5: configure bug


From: Karl Berry
Subject: Re: texinfo-4.5: configure bug
Date: Fri, 18 Apr 2003 14:20:06 -0400

      Do you have any insight into why this is the case?

Because I made a dumb mistake :).

As you say, the x$termlib test should come after termlib is defined, as
in the following change.  I don't have any good way to test it, so
please let me know if other stuff is broken.

Thanks.


*** configure.ac.~1.24.~        Fri Apr 18 10:12:57 2003
--- configure.ac        Fri Apr 18 11:18:11 2003
***************
*** 32,42 ****
  AC_CHECK_FUNC(sigblock, , AC_CHECK_LIB(bsd, sigblock))
  
  dnl Checks for header files.
- dnl Do not use <ncurses/termcap.h> unless we're linking with ncurses.
- if test "x$termlib" = xncurses; then
-   dnl Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined.
-   AC_CHECK_HEADERS(ncurses/termcap.h)
- fi
  AC_HEADER_STAT
  AC_HEADER_STDC
  AC_CHECK_HEADERS(fcntl.h io.h limits.h pwd.h string.h strings.h \
--- 32,37 ----
***************
*** 135,140 ****
--- 130,142 ----
  fi
  AC_SUBST(TERMLIBS)dnl
  
+ dnl Do not use <ncurses/termcap.h> unless we're linking with ncurses.
+ dnl Must come after the termlib tests.
+ if test "x$termlib" = xncurses; then
+   dnl Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined.
+   AC_CHECK_HEADERS(ncurses/termcap.h)
+ fi
+ 
  dnl gnulib.
  UTILS_FUNC_MKSTEMP
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]