Display settings at the end of configure

GETADDRINFO
Stephane Bortzmeyer 24 years ago
parent c3c069047b
commit c3f8c85d4d

56
SRC/configure vendored

@ -1999,6 +1999,7 @@ if test "${enable_ttcp+set}" = set; then
#define HAVE_TTCP 1
EOF
TTCP=1
else
echo "configure: warning: No T/TCP support on this system, request ignored" 1>&2
fi
@ -2009,6 +2010,7 @@ else
#define HAVE_TTCP 1
EOF
TTCP=1
fi
fi
@ -2383,3 +2385,57 @@ test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
echo ""
echo "Configuration of echoping:"
echo $ac_n "checking HTTP""... $ac_c" 1>&6
echo "configure:2394: checking HTTP" >&5
if eval 'test "$HTTP" = "1"' > /dev/null; then
echo "$ac_t""enabled" 1>&6
else
echo "$ac_t""disabled" 1>&6
fi
echo $ac_n "checking ICP""... $ac_c" 1>&6
echo "configure:2403: checking ICP" >&5
if eval 'test "$ICP" = "1"' > /dev/null; then
echo "$ac_t""enabled" 1>&6
else
echo "$ac_t""disabled" 1>&6
fi
echo $ac_n "checking OPENSSL""... $ac_c" 1>&6
echo "configure:2412: checking OPENSSL" >&5
if eval 'test "$OPENSSL" = "1"' > /dev/null; then
echo "$ac_t""enabled" 1>&6
else
echo "$ac_t""disabled" 1>&6
fi
echo $ac_n "checking SMTP""... $ac_c" 1>&6
echo "configure:2421: checking SMTP" >&5
if eval 'test "$SMTP" = "1"' > /dev/null; then
echo "$ac_t""enabled" 1>&6
else
echo "$ac_t""disabled" 1>&6
fi
echo $ac_n "checking TTCP""... $ac_c" 1>&6
echo "configure:2430: checking TTCP" >&5
if eval 'test "$TTCP" = "1"' > /dev/null; then
echo "$ac_t""enabled" 1>&6
else
echo "$ac_t""disabled" 1>&6
fi
if test "HTTP" = 1; then
echo YES
fi

@ -86,6 +86,7 @@ AC_ARG_ENABLE(ttcp,
[if test "$enableval" = "yes"; then
if test $ac_have_ttcp = "yes"; then
AC_DEFINE(HAVE_TTCP)
TTCP=1
else
AC_MSG_WARN([No T/TCP support on this system, request ignored])
fi
@ -93,6 +94,7 @@ AC_ARG_ENABLE(ttcp,
dnl Default: enable it if supported
if test $ac_have_ttcp = "yes"; then
AC_DEFINE(HAVE_TTCP)
TTCP=1
fi)
dnl if test "$ICP" = "1"; then
@ -102,3 +104,24 @@ dnl fi
AC_OUTPUT(Makefile)
AC_DEFUN([DISPLAY_SETTING],
[
AC_MSG_CHECKING($1)
if [ eval 'test "$$1" = "1"' > /dev/null]; then
AC_MSG_RESULT( enabled)
else
AC_MSG_RESULT( disabled)
fi
])dnl
echo ""
echo "Configuration of echoping:"
DISPLAY_SETTING(HTTP)
DISPLAY_SETTING(ICP)
DISPLAY_SETTING(OPENSSL)
DISPLAY_SETTING(SMTP)
DISPLAY_SETTING(TTCP)

Loading…
Cancel
Save