From d72fc441d20bb1114638bd1a9ae2410602abd80d Mon Sep 17 00:00:00 2001 From: cflakes Date: Wed, 28 Apr 2010 23:01:18 +0000 Subject: [PATCH] Added some more flags to the "summary" that configure prints at the end. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1950 726aef4b-f618-498e-8847-2d620e286838 --- configure | 30 ++++++++++++++++++++---------- configure.in | 31 ++++++++++++++++++++----------- 2 files changed, 40 insertions(+), 21 deletions(-) diff --git a/configure b/configure index 7414f7bc..321cc34b 100755 --- a/configure +++ b/configure @@ -2821,6 +2821,9 @@ if test "${enable_run_from_source+set}" = set; then : enableval=$enable_run_from_source; if test "x$enableval" = "xyes" ; then appendCXX -DRUN_FROM_SOURCE fi + RUNFROMSOURCE="$enableval" +else + RUNFROMSOURCE="no" fi @@ -4827,19 +4830,26 @@ fi echo echo znc 0.089 configured echo -echo "debug: $DEBUG" -echo "ipv6: $IPV6" -echo "openssl: $SSL" -echo "c-ares: $ARES" -echo "perl: $PERL" +echo "debug: $DEBUG" +echo "ipv6: $IPV6" +echo "openssl: $SSL" +echo "c-ares: $ARES" +echo "perl: $PERL" if test x"$SASL" = "x" ; then - echo "sasl: no" + echo "sasl: no" else - echo "sasl: yes" + echo "sasl: yes" fi -echo "extra: $EXTRA" +echo "extra: $EXTRA" if test x"$TCL_FLAGS" = "x" ; then - echo "tcl: no" + echo "tcl: no" else - echo "tcl: yes" + echo "tcl: yes" fi +if test x"$CHARSET" = "x" ; then + echo "charset: no" +else + echo "charset: yes" +fi +echo "run from src: $RUNFROMSOURCE" + diff --git a/configure.in b/configure.in index 0875b545..dd26beef 100644 --- a/configure.in +++ b/configure.in @@ -111,7 +111,9 @@ AC_ARG_ENABLE( [run-from-source], AS_HELP_STRING([--enable-run-from-source], [znc will be runnable without installation]), [if test "x$enableval" = "xyes" ; then appendCXX -DRUN_FROM_SOURCE - fi]) + fi + RUNFROMSOURCE="$enableval"], + [RUNFROMSOURCE="no"]) if test "$DEBUG" != "no"; then appendCXX -ggdb -D_DEBUG @@ -364,19 +366,26 @@ AC_OUTPUT echo echo znc AC_PACKAGE_VERSION configured echo -echo "debug: $DEBUG" -echo "ipv6: $IPV6" -echo "openssl: $SSL" -echo "c-ares: $ARES" -echo "perl: $PERL" +echo "debug: $DEBUG" +echo "ipv6: $IPV6" +echo "openssl: $SSL" +echo "c-ares: $ARES" +echo "perl: $PERL" if test x"$SASL" = "x" ; then - echo "sasl: no" + echo "sasl: no" else - echo "sasl: yes" + echo "sasl: yes" fi -echo "extra: $EXTRA" +echo "extra: $EXTRA" if test x"$TCL_FLAGS" = "x" ; then - echo "tcl: no" + echo "tcl: no" else - echo "tcl: yes" + echo "tcl: yes" fi +if test x"$CHARSET" = "x" ; then + echo "charset: no" +else + echo "charset: yes" +fi +echo "run from src: $RUNFROMSOURCE" +