changeset 8328:40551ba18423

Make "checking..." messages' style consistent. (HAVE_H_ERRNO): New test.
author Richard M. Stallman <rms@gnu.org>
date Mon, 25 Jul 1994 20:45:55 +0000
parents 0e8bf0c4ffef
children 49a8b5185da4
files configure1.in
diffstat 1 files changed, 16 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure1.in	Mon Jul 25 18:39:55 1994 +0000
+++ b/configure1.in	Mon Jul 25 20:45:55 1994 +0000
@@ -449,7 +449,7 @@
 #### names of the m/*.h and s/*.h files we should use.
 
 ### Canonicalize the configuration name.
-echo "Checking the configuration name."
+echo "Checking the configuration name"
 if canonical=`${srcdir}/config.sub "${configuration}"` ; then : ; else
   exit $?
 fi
@@ -1201,7 +1201,7 @@
 [
 
 #### Choose a window system.
-echo "Checking window system."
+echo "checking for specified window system"
 
 window_system=''
 case "${with_x}" in
@@ -1333,9 +1333,9 @@
 
 #### Extract some information from the operating system and machine files.
 
-echo "Examining the machine- and system-dependent files to find out"
+echo "examining the machine- and system-dependent files to find out"
 echo " - which libraries the lib-src programs will want, and"
-echo " - whether the GNU malloc routines are usable."
+echo " - whether the GNU malloc routines are usable"
 
 ### First figure out CFLAGS (which we use for running the compiler here)
 ### and REAL_CFLAGS (which we use for real compilation).
@@ -1501,6 +1501,18 @@
 		   AC_DEFINE(HAVE_X11XTR6))
 fi
 
+# If netdb.h doesn't declare h_errno, we must declare it by hand.
+AC_COMPILE_CHECK(declaration of h_errno in netdb.h,
+		 [#include <netdb.h>],
+		 [
+int
+foo ()
+{
+  return h_errno;
+}
+],
+		 AC_DEFINE(HAVE_H_ERRNO))
+
 AC_ALLOCA
 
 # logb and frexp are found in -lm on most systems.