comparison configure1.in @ 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 fee9047f3b14
children 0f6512963c6d
comparison
equal deleted inserted replaced
8327:0e8bf0c4ffef 8328:40551ba18423
447 447
448 #### Given the configuration name, set machfile and opsysfile to the 448 #### Given the configuration name, set machfile and opsysfile to the
449 #### names of the m/*.h and s/*.h files we should use. 449 #### names of the m/*.h and s/*.h files we should use.
450 450
451 ### Canonicalize the configuration name. 451 ### Canonicalize the configuration name.
452 echo "Checking the configuration name." 452 echo "Checking the configuration name"
453 if canonical=`${srcdir}/config.sub "${configuration}"` ; then : ; else 453 if canonical=`${srcdir}/config.sub "${configuration}"` ; then : ; else
454 exit $? 454 exit $?
455 fi 455 fi
456 456
457 ### If you add support for a new configuration, add code to this 457 ### If you add support for a new configuration, add code to this
1199 1199
1200 dnl other checks for UNIX variants 1200 dnl other checks for UNIX variants
1201 [ 1201 [
1202 1202
1203 #### Choose a window system. 1203 #### Choose a window system.
1204 echo "Checking window system." 1204 echo "checking for specified window system"
1205 1205
1206 window_system='' 1206 window_system=''
1207 case "${with_x}" in 1207 case "${with_x}" in
1208 yes ) 1208 yes )
1209 window_system=${window_system}x11 1209 window_system=${window_system}x11
1331 ;; 1331 ;;
1332 esac 1332 esac
1333 1333
1334 #### Extract some information from the operating system and machine files. 1334 #### Extract some information from the operating system and machine files.
1335 1335
1336 echo "Examining the machine- and system-dependent files to find out" 1336 echo "examining the machine- and system-dependent files to find out"
1337 echo " - which libraries the lib-src programs will want, and" 1337 echo " - which libraries the lib-src programs will want, and"
1338 echo " - whether the GNU malloc routines are usable." 1338 echo " - whether the GNU malloc routines are usable"
1339 1339
1340 ### First figure out CFLAGS (which we use for running the compiler here) 1340 ### First figure out CFLAGS (which we use for running the compiler here)
1341 ### and REAL_CFLAGS (which we use for real compilation). 1341 ### and REAL_CFLAGS (which we use for real compilation).
1342 ### The two are the same except on a few systems, where they are made 1342 ### The two are the same except on a few systems, where they are made
1343 ### different to work around various lossages. For example, 1343 ### different to work around various lossages. For example,
1498 fail; 1498 fail;
1499 #endif 1499 #endif
1500 ], 1500 ],
1501 AC_DEFINE(HAVE_X11XTR6)) 1501 AC_DEFINE(HAVE_X11XTR6))
1502 fi 1502 fi
1503
1504 # If netdb.h doesn't declare h_errno, we must declare it by hand.
1505 AC_COMPILE_CHECK(declaration of h_errno in netdb.h,
1506 [#include <netdb.h>],
1507 [
1508 int
1509 foo ()
1510 {
1511 return h_errno;
1512 }
1513 ],
1514 AC_DEFINE(HAVE_H_ERRNO))
1503 1515
1504 AC_ALLOCA 1516 AC_ALLOCA
1505 1517
1506 # logb and frexp are found in -lm on most systems. 1518 # logb and frexp are found in -lm on most systems.
1507 AC_HAVE_LIBRARY(-lm) 1519 AC_HAVE_LIBRARY(-lm)