chiark / gitweb /
configure.ac: Fix AC_INIT invocation (autogen)
[innduct.git] / configure
index 320d6a1cdfe6eb0cbb8721371469e9153ea9e981..dc718401e250160062453d241a726c9d6c475ea9 100755 (executable)
--- a/configure
+++ b/configure
@@ -2,7 +2,7 @@
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.69 for innduct 1.0.
 #
-# Report bugs to <duct.c>.
+# Report bugs to <ijackson@chiark.greenend.org.uk>.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -266,8 +266,9 @@ fi
     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   else
-    $as_echo "$0: Please tell bug-autoconf@gnu.org and duct.c about your
-$0: system, including any error possibly output before this
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and
+$0: ijackson@chiark.greenend.org.uk about your system,
+$0: including any error possibly output before this
 $0: message. Then install a modern shell, or manually run
 $0: the script under such a shell if you do have one."
   fi
@@ -581,7 +582,7 @@ PACKAGE_NAME='innduct'
 PACKAGE_TARNAME='innduct'
 PACKAGE_VERSION='1.0'
 PACKAGE_STRING='innduct 1.0'
-PACKAGE_BUGREPORT='duct.c'
+PACKAGE_BUGREPORT='ijackson@chiark.greenend.org.uk'
 PACKAGE_URL=''
 
 # Factoring default headers for most tests.
@@ -1370,7 +1371,7 @@ Some influential environment variables:
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
-Report bugs to <duct.c>.
+Report bugs to <ijackson@chiark.greenend.org.uk>.
 _ACEOF
 ac_status=$?
 fi
@@ -1592,9 +1593,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## --------------------- ##
-## Report this to duct.c ##
-## --------------------- ##"
+( $as_echo "## ---------------------------------------------- ##
+## Report this to ijackson@chiark.greenend.org.uk ##
+## ---------------------------------------------- ##"
      ) | sed "s/^/$as_me: WARNING:     /" >&2
     ;;
 esac
@@ -4146,6 +4147,19 @@ done
 
 LIBS="-Wl,-Bdynamic $LIBS"
 
+# Possibly, we could link dynamically.  But the ABI stability of
+# the inn libraries is questionable.  On Debian only the .a files
+# are in inn2-dev.  The .so's are in inn2.deb, which isn't depended on
+# by inn2-dev, and which doesn't have a # shlibs file for them.
+# So right now we can't sensibly link dynamically.
+#
+# So we pass -Bstatic.
+#
+# Recall that LIBS is generally *prepended* to.  So we need to
+# temporarily put -Bstatic in LDFLAGS so that it ends up before
+# the actual libraries in the following tests.
+LDFLAGS="$LDFLAGS -Wl,-Bstatic"
+
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing NNTPconnect" >&5
 $as_echo_n "checking for library containing NNTPconnect... " >&6; }
 if ${ac_cv_search_NNTPconnect+:} false; then :
@@ -4267,15 +4281,10 @@ else
 fi
 
 
-# Possibly, we could link dynamically.  But the ABI stability of
-# the inn libraries is questionable.  On Debian only the .a files
-# are in inn2-dev.  The .so's are in inn2.deb, which isn't depended on
-# by inn2-dev, and which doesn't have a # shlibs file for them.
-# So right now we can't sensibly link dynamically.
-#
-# So we pass -Bstatic.  (Recall that LIBS is generally *prepended* to,
-# and that it is automatically included in link lines by automake
+# Now move the -Bstatic to LIBS where it belongs.
+# LDFLAGS and LIBS are automatically included in link lines by automake
 # so nothing is needed in Makefile.am.)
+LDFLAGS="${LDFLAGS% -Wl,-Bstatic}"
 LIBS="-Wl,-Bstatic $LIBS"
 
 ac_config_headers="$ac_config_headers config.h"
@@ -4871,7 +4880,7 @@ $config_headers
 Configuration commands:
 $config_commands
 
-Report bugs to <duct.c>."
+Report bugs to <ijackson@chiark.greenend.org.uk>."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1