mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-27 02:56:18 -04:00
--without-tre: Don't nest AC_MSG_CHECKING...AC_MSG_RESULT
The previous version could display its progress like this: checking for TRE... checking for TRE in pkg-config... yes checking for TRE header and library... yes no Omit the outer "checking for TRE..." and "no" (which was untrue anyway), unless --without-tre causes the inner checks to be skipped.
This commit is contained in:
parent
4850a136fe
commit
07c90ea438
16
configure.in
16
configure.in
@ -926,17 +926,10 @@ fi
|
||||
# Check for TRE library
|
||||
# ===================================================================
|
||||
|
||||
disable_tre=""
|
||||
AC_ARG_WITH(tre, [ --without-tre disable TRE regex search support],
|
||||
[if test "$with_tre" = no; then disable_tre=yes; fi])
|
||||
|
||||
AC_MSG_CHECKING([for TRE])
|
||||
|
||||
EL_SAVE_FLAGS
|
||||
cf_result="no"
|
||||
|
||||
if test "$disable_tre" = yes; then
|
||||
cf_result="not used"
|
||||
AC_ARG_WITH([[tre]], [[ --without-tre disable TRE regex search support]])
|
||||
if test "$with_tre" = no; then
|
||||
AC_MSG_CHECKING([[for TRE]])
|
||||
AC_MSG_RESULT([[disabled]])
|
||||
else
|
||||
AC_MSG_CHECKING([[for TRE in pkg-config]])
|
||||
if pkg-config tre; then
|
||||
@ -975,7 +968,6 @@ else
|
||||
AC_SUBST(TRE_CFLAGS)
|
||||
AC_SUBST(TRE_LIBS)
|
||||
fi
|
||||
AC_MSG_RESULT($cf_result)
|
||||
|
||||
AC_CHECK_SIZEOF([wchar_t], [4], [[#include <wchar.h>]])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user