mirror of
https://git.savannah.gnu.org/git/inetutils.git
synced 2026-01-12 00:19:39 +08:00
Minor issues during configuration.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2013-10-03 Mats Erik Andersson <gnu@gisladisker.se>
|
||||
|
||||
* configure.ac (HAVE_SYSLOG_INTERNAL): Remove
|
||||
a misplaced character.
|
||||
|
||||
* am/libcurses.m4 (IU_LIB_TERMCAP): Rework the
|
||||
message in AC_MSG_CHECKING() and always call
|
||||
AC_MSG_RESULT().
|
||||
|
||||
2013-10-02 Mats Erik Andersson <gnu@gisladisker.se>
|
||||
|
||||
ftpd: Capture syntax errors.
|
||||
|
||||
@@ -96,8 +96,8 @@ AC_DEFUN([IU_LIB_TERMCAP], [
|
||||
dnl
|
||||
_IU_SAVE_LIBS=$LIBS
|
||||
AC_CHECK_LIB(termcap, tgetent, LIBTERMCAP=-ltermcap)
|
||||
AC_MSG_CHECKING([where tgetent is declared])
|
||||
location_tgetent=none
|
||||
AC_MSG_CHECKING([whether tgetent needs support])
|
||||
location_tgetent=no
|
||||
LIBS="$LIBS $LIBTERMCAP"
|
||||
AC_LINK_IFELSE(
|
||||
[AC_LANG_PROGRAM([[#include <termcap.h>]],
|
||||
@@ -116,10 +116,11 @@ AC_DEFUN([IU_LIB_TERMCAP], [
|
||||
location_tgetent=term.h])
|
||||
])
|
||||
LIBS=$_IU_SAVE_LIBS
|
||||
AC_MSG_RESULT($location_tgetent)
|
||||
|
||||
if test "$ac_cv_lib_termcap_tgetent" = yes \
|
||||
&& test "$ac_cv_have_decl_tgetent" = yes; then
|
||||
AC_MSG_RESULT($location_tgetent)
|
||||
:
|
||||
else
|
||||
AC_CHECK_LIB(curses, tgetent, LIBTERMCAP=-lcurses)
|
||||
AC_CHECK_DECLS([tgetent], , , [[#include <curses.h>
|
||||
|
||||
@@ -870,7 +870,7 @@ IU_CHECK_MACRO(syslog internal macros,
|
||||
[LOG_PRI LOG_FAC],
|
||||
AC_CHECK_TYPE(CODE,
|
||||
AC_CHECK_DECL(prioritynames,
|
||||
[<EFBFBD>AC_DEFINE([HAVE_SYSLOG_INTERNAL], 1,
|
||||
[AC_DEFINE([HAVE_SYSLOG_INTERNAL], 1,
|
||||
[Define to 1 if <syslog.h> defines prioritynames])], ,
|
||||
iu_syslog_includes), , iu_syslog_includes),)
|
||||
undefine([iu_syslog_includes])
|
||||
|
||||
Reference in New Issue
Block a user