Mercurial > hg > xemacs-beta
comparison configure @ 215:1f0dabaa0855 r20-4b6
Import from CVS: tag r20-4b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:07:35 +0200 |
parents | 78f53ef88e17 |
children | d44af0c54775 |
comparison
equal
deleted
inserted
replaced
214:c5d88c05e1e9 | 215:1f0dabaa0855 |
---|---|
216 bindir='${exec_prefix}/bin' | 216 bindir='${exec_prefix}/bin' |
217 datadir='${prefix}/lib' | 217 datadir='${prefix}/lib' |
218 statedir='${prefix}/lib' | 218 statedir='${prefix}/lib' |
219 libdir='${exec_prefix}/lib' | 219 libdir='${exec_prefix}/lib' |
220 mandir='${prefix}/man/man1' | 220 mandir='${prefix}/man/man1' |
221 infodir='${prefix}/lib/xemacs-${version}/info' | 221 infodir='${datadir}/xemacs-${version}/info' |
222 infodir_user_defined='no' | 222 infodir_user_defined='no' |
223 infopath='/usr/info:/usr/local/info:/usr/lib/texmf/doc/info:/usr/local/lib/texmf/doc/info' | 223 infopath='/usr/local/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/texmf/doc/info' |
224 infopath_user_defined='no' | 224 infopath_user_defined='no' |
225 lispdir='${datadir}/xemacs-${version}/lisp' | 225 lispdir='${datadir}/xemacs-${version}/lisp' |
226 lispdir_user_defined='no' | 226 lispdir_user_defined='no' |
227 sitelispdir='${datadir}/xemacs/site-lisp' | 227 sitelispdir='${datadir}/xemacs/site-lisp' |
228 etcdir='${datadir}/xemacs-${version}/etc' | 228 etcdir='${datadir}/xemacs-${version}/etc' |
247 with_toolbars="" | 247 with_toolbars="" |
248 with_tty="" | 248 with_tty="" |
249 use_union_type="no" | 249 use_union_type="no" |
250 with_dnet="" | 250 with_dnet="" |
251 | 251 |
252 usage="Usage: $progname CONFIGURATION [-OPTION[=VALUE] ...] | |
253 | |
254 Set compilation and installation parameters for XEmacs, and report. | |
255 CONFIGURATION specifies the machine and operating system to build for. | |
256 | |
257 Note that for most of the following options, you can explicitly enable | |
258 them using \`--OPTION=yes' and explicitly disable them using \`--OPTION=no'. | |
259 This is especially useful for auto-detected options. | |
260 | |
261 Options marked with a (*) are autodetected. | |
262 | |
263 Use colons (or quoted spaces) to separate directory names in option | |
264 values which are PATHs (i.e. lists of directories). | |
265 | |
266 General options: | |
267 | |
268 --help Issue this usage message. | |
269 --verbose Display the results of configure tests. | |
270 --extra-verbose Display even more information, useful for debugging. | |
271 | |
272 | |
273 Compilation options: | |
274 | |
275 --compiler=XXXX Specify compiler. Overrides environment variable CC. | |
276 --with-gcc (*) Use GCC to compile XEmacs. | |
277 --with-gcc=no Don't use GCC to compile XEmacs. | |
278 --with-gnu-make Write the Makefiles to take advantage of | |
279 special features of GNU Make. (GNU Make | |
280 works fine on the Makefiles even without this | |
281 option. This just allows for simultaneous | |
282 in-place and --srcdir building.) | |
283 --cflags=FLAGS Compiler flags. Overrides environment variable CFLAGS. | |
284 --site-includes=PATH List of directories to search first for header files. | |
285 --site-libraries=PATH List of directories to search first for libraries. | |
286 --site-prefixes=PATH List of directories to search for include/ and lib/ | |
287 subdirectories, just after 'site-includes' and | |
288 'site-libraries'. | |
289 --site-runtime-libraries=PATH | |
290 List of ALL directories to search for dynamically | |
291 linked libraries at run time. | |
292 --dynamic=yes Link dynamically if supported by system. | |
293 --dynamic=no Force static linking on systems where dynamic | |
294 linking is the default. | |
295 --srcdir=DIR Look for the XEmacs source files in DIR. | |
296 See also --with-gnu-make. | |
297 --const-is-losing=no Allow the use of const in the source code. | |
298 | |
299 | |
300 Installation options: | |
301 | |
302 --prefix=DIR Install files below DIR. Defaults to \`$prefix'. | |
303 | |
304 | |
305 Window-system options: | |
306 | |
307 --with-x11 (*) Support the X Window System. | |
308 --with-x11=no Don't support X. | |
309 --x-includes=DIR Search for X header files in DIR. | |
310 --x-libraries=DIR Search for X libraries in DIR. | |
311 --with-toolbars=no Don't compile with any toolbar support. | |
312 --with-session=no Compile without realized leader window which will | |
313 keep the WM_COMMAND property. Required for proper | |
314 session-management. | |
315 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid | |
316 widgets emulate Motif (mostly) but are faster. | |
317 *WARNING* The Motif menubar is currently broken. | |
318 --with-scrollbars=TYPE Use TYPE scrollbars | |
319 (lucid, motif, athena, athena3d, or no). | |
320 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, athena3d, or no). | |
321 Lucid menubars and scrollbars are the default. | |
322 Motif dialog boxes will be used if Motif can be found. | |
323 --with-cde (*) Compile in support for CDE drag and drop. | |
324 --with-offix (*) Compile in support for OffiX drag and drop. | |
325 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu. | |
326 --external-widget Compile with external widget support. | |
327 --with-gif Compile with support for GIF image conversion. | |
328 This support is built-in and defaults to \`yes'. | |
329 --with-xpm (*) Compile with support for XPM files. | |
330 It is highly recommended that you obtain XPM | |
331 (version 3.4h or better) if you don't already | |
332 have it. Get it from the XEmacs FTP site. | |
333 --with-xface (*) Compile with support for X-Face mail header | |
334 conversion. Requires the compface library. | |
335 Get it from the XEmacs FTP site. | |
336 --with-imagick (*) Compile with support for ImageMagick image conversion. | |
337 Requires ImageMagick from wizards.dupont.com and | |
338 libraries for whatever image types you wish to have | |
339 supported. | |
340 Get it from the XEmacs FTP site. | |
341 | |
342 | |
343 TTY options: | |
344 | |
345 --with-tty=no Don't support TTY-s. | |
346 --with-ncurses (*) Use the ncurses library for tty support. | |
347 --with-gpm (*) Compile in support for General Purpose Mouse. | |
348 | |
349 | |
350 Additional features: | |
351 | |
352 --with-tooltalk (*) Support the ToolTalk IPC protocol. | |
353 --with-workshop Support the Sun WorkShop (formerly Sparcworks) | |
354 development environment. | |
355 --with-energize Support the Lucid Energize development environment. | |
356 This doesn't currently work. | |
357 --with-socks Compile with support for SOCKS (an Internet proxy). | |
358 --with-term Compile with support for TERM (a way to multiplex | |
359 serial lines and provide vaguely Internet-like | |
360 functionality over a simple dialup connection, | |
361 used on Linux and other systems. NOTE: We can't | |
362 guarantee that our TERM support coexists well | |
363 with standard Internet connections). | |
364 --with-database=type (*) Compile with database support. Valid types are | |
365 \`no' or a comma-separated list of one or more | |
366 of \`dbm', \`gnudbm', or \`berkdb'. | |
367 --with-sound=native (*) Compile with native sound support. | |
368 --with-sound=nas Compile with network sound support. | |
369 --with-sound=both Compile with native and network sound support. | |
370 --native-sound-lib=LIB Native sound support library. Needed on Suns | |
371 with --with-sound=both because both sound libraries | |
372 are called libaudio. | |
373 --with-pop support POP for mail retrieval | |
374 --with-kerberos support Kerberos-authenticated POP | |
375 --with-hesiod support Hesiod to get the POP server host | |
376 --with-dnet (*) Compile with support for DECnet. | |
377 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent | |
378 concurrent updates of mail spool files. Valid types | |
379 are \`lockf', \`flock', and \`file'. | |
380 --package-path=PATH Directories to search for packages to dump with xemacs. | |
381 Defaults to \`$prefix/lib/xemacs/packages:~/.xemacs'. | |
382 --infodir=dir Directory to install the XEmacs Info manuals and dir in. | |
383 Defaults to: \`$info_dir'. | |
384 --infopath=PATH Directories to search for Info documents, info dir | |
385 and localdir files. This is used to initialize | |
386 \`Info-default-directory-list' at dump time. | |
387 Directories on this path that do not exist in the | |
388 filesystem will be dropped by the startup code at | |
389 runtime, so it is safe to specify directories that do | |
390 not exist in the compilation environment, or that won't | |
391 exist in the runtime environment. The \"dir\" | |
392 file in the first existing directory in this list will | |
393 become the (dir)Top node of the Info tree. | |
394 Defaults to the value of \`INFOPATH', or: | |
395 \`$infopath'. | |
396 | |
397 Internationalization options: | |
398 | |
399 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, | |
400 needed to suport non-Latin-1 (including Asian) languages. | |
401 --with-xim=xlib Compile with support for X input methods, | |
402 --with-xim=motif (*) Used in conjunction with Mule support. | |
403 Use either raw Xlib to provide XIM support, or | |
404 the Motif XmIm* routines (when available). | |
405 NOTE: On some systems bugs in X11's XIM support | |
406 will cause XEmacs to crash, so by default, | |
407 no XIM support is compiled in, unless running | |
408 on Solaris and the XmIm* routines are detected. | |
409 --with-canna (*) Compile with support for Canna (a Japanese input method | |
410 used in conjunction with Mule support). | |
411 --with-wnn (*) Compile with support for WNN (a multi-language input method | |
412 used in conjunction with Mule support). | |
413 This is beta level code. | |
414 --with-wnn6 (*) Compile with support for WNN version 6 | |
415 This is alpha level code. | |
416 --with-i18n3 Compile with I18N level 3 (support for message | |
417 translation). This doesn't currently work. | |
418 --with-xfs Compile with XFontSet support for bilingual menubar. | |
419 Can't use this option with --with-xim=motif or xlib. | |
420 And should have --with-menubars=lucid. | |
421 | |
422 | |
423 Debugging options: | |
424 | |
425 --debug Compile with support for debugging XEmacs. | |
426 (Causes code-size increase and little loss of speed.) | |
427 --error-checking=TYPE[,TYPE]... | |
428 Compile with internal error-checking added. | |
429 Causes noticeable loss of speed. Valid types | |
430 are extents, bufpos, malloc, gc, typecheck. | |
431 --error-checking=none Disable all internal error-checking (the default). | |
432 --error-checking=all Enable all internal error-checking. | |
433 --memory-usage-stats Compile with additional code to allow you to | |
434 determine what XEmacs's memory is being used | |
435 for. Causes a small code increase but no loss | |
436 of speed. Normally enabled when --debug is given. | |
437 --no-doc-file Don't rebuild the DOC file unless it's explicitly | |
438 deleted. Only use during development. (It speeds | |
439 up the compile-run-test cycle.) | |
440 --use-union-type Enable or disable use of a union, instead of an | |
441 int, for the fundamental Lisp_Object type; this | |
442 provides stricter type-checking. Only works with | |
443 some systems and compilers. | |
444 | |
445 | |
446 Other options: | |
447 | |
448 --puresize=VALUE Override default amount of space for pure Lisp code. | |
449 --rel-alloc Use the relocating allocator (default for this option | |
450 is system-dependent). | |
451 --with-clash-detection Use lock files to detect multiple edits of the same file. | |
452 The default is to not do clash detection. | |
453 --lockdir=dir The directory to put clash detection files in, such as | |
454 \`/var/lock/emacs'. | |
455 Defaults to \`$lockdir'. | |
456 --with-system-malloc Force use of the system malloc, rather than GNU malloc. | |
457 --with-debug-malloc Use the debugging malloc package. | |
458 | |
459 You may also specify any of the \`path' variables found in | |
460 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and | |
461 so on. Note that we recommend against explicitly setting any of these | |
462 variables. See the INSTALL file for a complete list plus the reasons | |
463 we advise not changing them. | |
464 | |
465 If successful, $progname leaves its status in config.status. If | |
466 unsuccessful after disturbing the status quo, it removes config.status. | |
467 | |
468 The configure build process also used the following environment variables: | |
469 CC C compiler to use (but configure flags take precedence) | |
470 CPP C preprocessor to use (such as /usr/ccs/lib/cpp or cc -E) | |
471 CFLAGS C compiler compilation flags (such as -O) | |
472 CPPFLAGS Additional compilation flags (such as -I/foo) used only by the preprocessor | |
473 LDFLAGS Additional linker flags (such as -L/foo) | |
474 LIBS Additional libraries (such as -lfoo) | |
475 | |
476 INFOPATH Path to search for Info documentation. | |
477 | |
478 For more details on the install process, consult the INSTALL file. | |
479 " | |
480 | |
481 | 252 |
482 | 253 |
483 | 254 |
484 arguments="$@" | 255 arguments="$@" |
485 | 256 |
539 with_session | \ | 310 with_session | \ |
540 with_xmu | \ | 311 with_xmu | \ |
541 with_quantify | \ | 312 with_quantify | \ |
542 with_toolbars | \ | 313 with_toolbars | \ |
543 with_tty | \ | 314 with_tty | \ |
315 with_xfs | \ | |
544 with_i18n3 | \ | 316 with_i18n3 | \ |
545 with_mule | \ | 317 with_mule | \ |
546 with_canna | \ | 318 with_canna | \ |
547 with_wnn | \ | 319 with_wnn | \ |
548 with_wnn6 | \ | 320 with_wnn6 | \ |
767 esac | 539 esac |
768 ;; | 540 ;; |
769 | 541 |
770 "no_create" ) ;; | 542 "no_create" ) ;; |
771 | 543 |
772 "usage" | "help" ) echo "$usage" | ${PAGER-more}; exit 0 ;; | 544 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;; |
773 | 545 |
774 "with_menubars" | "with_scrollbars" | "with_dialogs" ) | 546 "with_menubars" | "with_scrollbars" | "with_dialogs" ) |
775 case "$val" in | 547 case "$val" in |
776 l | lu | luc | luci | lucid ) val=lucid ;; | 548 l | lu | luc | luci | lucid ) val=lucid ;; |
777 m | mo | mot | moti | motif ) val=motif ;; | 549 m | mo | mot | moti | motif ) val=motif ;; |
871 fi | 643 fi |
872 ;; | 644 ;; |
873 esac | 645 esac |
874 | 646 |
875 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 647 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
876 echo "configure:877: checking whether ln -s works" >&5 | 648 echo "configure:649: checking whether ln -s works" >&5 |
877 | 649 |
878 rm -f conftestdata | 650 rm -f conftestdata |
879 if ln -s X conftestdata 2>/dev/null | 651 if ln -s X conftestdata 2>/dev/null |
880 then | 652 then |
881 rm -f conftestdata | 653 rm -f conftestdata |
1048 } | 820 } |
1049 | 821 |
1050 | 822 |
1051 | 823 |
1052 echo "checking "the configuration name"" 1>&6 | 824 echo "checking "the configuration name"" 1>&6 |
1053 echo "configure:1054: checking "the configuration name"" >&5 | 825 echo "configure:826: checking "the configuration name"" >&5 |
1054 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` | 826 internal_configuration=`echo $configuration | sed 's/-\(energize\|workshop\)//'` |
1055 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else | 827 if canonical=`$srcdir/config.sub "$internal_configuration"` ; then : ; else |
1056 exit $? | 828 exit $? |
1057 fi | 829 fi |
1058 | 830 |
1504 xe_save_CFLAGS="$CFLAGS" | 1276 xe_save_CFLAGS="$CFLAGS" |
1505 | 1277 |
1506 # Extract the first word of "gcc", so it can be a program name with args. | 1278 # Extract the first word of "gcc", so it can be a program name with args. |
1507 set dummy gcc; ac_word=$2 | 1279 set dummy gcc; ac_word=$2 |
1508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1280 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1509 echo "configure:1510: checking for $ac_word" >&5 | 1281 echo "configure:1282: checking for $ac_word" >&5 |
1510 | 1282 |
1511 if test -n "$CC"; then | 1283 if test -n "$CC"; then |
1512 ac_cv_prog_CC="$CC" # Let the user override the test. | 1284 ac_cv_prog_CC="$CC" # Let the user override the test. |
1513 else | 1285 else |
1514 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1286 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1530 | 1302 |
1531 if test -z "$CC"; then | 1303 if test -z "$CC"; then |
1532 # Extract the first word of "cc", so it can be a program name with args. | 1304 # Extract the first word of "cc", so it can be a program name with args. |
1533 set dummy cc; ac_word=$2 | 1305 set dummy cc; ac_word=$2 |
1534 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1306 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1535 echo "configure:1536: checking for $ac_word" >&5 | 1307 echo "configure:1308: checking for $ac_word" >&5 |
1536 | 1308 |
1537 if test -n "$CC"; then | 1309 if test -n "$CC"; then |
1538 ac_cv_prog_CC="$CC" # Let the user override the test. | 1310 ac_cv_prog_CC="$CC" # Let the user override the test. |
1539 else | 1311 else |
1540 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1312 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1575 | 1347 |
1576 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1348 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1577 fi | 1349 fi |
1578 | 1350 |
1579 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1351 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1580 echo "configure:1581: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1352 echo "configure:1353: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1581 | 1353 |
1582 ac_ext=c | 1354 ac_ext=c |
1583 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1355 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1584 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1356 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1585 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1357 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1587 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1359 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1588 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1360 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1589 cross_compiling=no | 1361 cross_compiling=no |
1590 | 1362 |
1591 cat > conftest.$ac_ext <<EOF | 1363 cat > conftest.$ac_ext <<EOF |
1592 #line 1593 "configure" | 1364 #line 1365 "configure" |
1593 #include "confdefs.h" | 1365 #include "confdefs.h" |
1594 main(){return(0);} | 1366 main(){return(0);} |
1595 EOF | 1367 EOF |
1596 if { (eval echo configure:1597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1368 if { (eval echo configure:1369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1597 ac_cv_prog_cc_works=yes | 1369 ac_cv_prog_cc_works=yes |
1598 # If we can't run a trivial program, we are probably using a cross compiler. | 1370 # If we can't run a trivial program, we are probably using a cross compiler. |
1599 if (./conftest; exit) 2>/dev/null; then | 1371 if (./conftest; exit) 2>/dev/null; then |
1600 ac_cv_prog_cc_cross=no | 1372 ac_cv_prog_cc_cross=no |
1601 else | 1373 else |
1611 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1383 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1612 if test $ac_cv_prog_cc_works = no; then | 1384 if test $ac_cv_prog_cc_works = no; then |
1613 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1385 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1614 fi | 1386 fi |
1615 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1387 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1616 echo "configure:1617: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1388 echo "configure:1389: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1617 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1389 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1618 cross_compiling=$ac_cv_prog_cc_cross | 1390 cross_compiling=$ac_cv_prog_cc_cross |
1619 | 1391 |
1620 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1392 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1621 echo "configure:1622: checking whether we are using GNU C" >&5 | 1393 echo "configure:1394: checking whether we are using GNU C" >&5 |
1622 | 1394 |
1623 cat > conftest.c <<EOF | 1395 cat > conftest.c <<EOF |
1624 #ifdef __GNUC__ | 1396 #ifdef __GNUC__ |
1625 yes; | 1397 yes; |
1626 #endif | 1398 #endif |
1627 EOF | 1399 EOF |
1628 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1400 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1629 ac_cv_prog_gcc=yes | 1401 ac_cv_prog_gcc=yes |
1630 else | 1402 else |
1631 ac_cv_prog_gcc=no | 1403 ac_cv_prog_gcc=no |
1632 fi | 1404 fi |
1633 | 1405 |
1637 GCC=yes | 1409 GCC=yes |
1638 ac_test_CFLAGS="${CFLAGS+set}" | 1410 ac_test_CFLAGS="${CFLAGS+set}" |
1639 ac_save_CFLAGS="$CFLAGS" | 1411 ac_save_CFLAGS="$CFLAGS" |
1640 CFLAGS= | 1412 CFLAGS= |
1641 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1413 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1642 echo "configure:1643: checking whether ${CC-cc} accepts -g" >&5 | 1414 echo "configure:1415: checking whether ${CC-cc} accepts -g" >&5 |
1643 | 1415 |
1644 echo 'void f(){}' > conftest.c | 1416 echo 'void f(){}' > conftest.c |
1645 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1417 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1646 ac_cv_prog_cc_g=yes | 1418 ac_cv_prog_cc_g=yes |
1647 else | 1419 else |
1666 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1438 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1667 CC=${NON_GNU_CC-cc} | 1439 CC=${NON_GNU_CC-cc} |
1668 # Extract the first word of "gcc", so it can be a program name with args. | 1440 # Extract the first word of "gcc", so it can be a program name with args. |
1669 set dummy gcc; ac_word=$2 | 1441 set dummy gcc; ac_word=$2 |
1670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1671 echo "configure:1672: checking for $ac_word" >&5 | 1443 echo "configure:1444: checking for $ac_word" >&5 |
1672 | 1444 |
1673 if test -n "$CC"; then | 1445 if test -n "$CC"; then |
1674 ac_cv_prog_CC="$CC" # Let the user override the test. | 1446 ac_cv_prog_CC="$CC" # Let the user override the test. |
1675 else | 1447 else |
1676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1448 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1692 | 1464 |
1693 if test -z "$CC"; then | 1465 if test -z "$CC"; then |
1694 # Extract the first word of "cc", so it can be a program name with args. | 1466 # Extract the first word of "cc", so it can be a program name with args. |
1695 set dummy cc; ac_word=$2 | 1467 set dummy cc; ac_word=$2 |
1696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1468 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1697 echo "configure:1698: checking for $ac_word" >&5 | 1469 echo "configure:1470: checking for $ac_word" >&5 |
1698 | 1470 |
1699 if test -n "$CC"; then | 1471 if test -n "$CC"; then |
1700 ac_cv_prog_CC="$CC" # Let the user override the test. | 1472 ac_cv_prog_CC="$CC" # Let the user override the test. |
1701 else | 1473 else |
1702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1474 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1737 | 1509 |
1738 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1510 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1739 fi | 1511 fi |
1740 | 1512 |
1741 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1513 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1742 echo "configure:1743: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1514 echo "configure:1515: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1743 | 1515 |
1744 ac_ext=c | 1516 ac_ext=c |
1745 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1517 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1746 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1518 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1747 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1519 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1749 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1521 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1750 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1522 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1751 cross_compiling=no | 1523 cross_compiling=no |
1752 | 1524 |
1753 cat > conftest.$ac_ext <<EOF | 1525 cat > conftest.$ac_ext <<EOF |
1754 #line 1755 "configure" | 1526 #line 1527 "configure" |
1755 #include "confdefs.h" | 1527 #include "confdefs.h" |
1756 main(){return(0);} | 1528 main(){return(0);} |
1757 EOF | 1529 EOF |
1758 if { (eval echo configure:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1530 if { (eval echo configure:1531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1759 ac_cv_prog_cc_works=yes | 1531 ac_cv_prog_cc_works=yes |
1760 # If we can't run a trivial program, we are probably using a cross compiler. | 1532 # If we can't run a trivial program, we are probably using a cross compiler. |
1761 if (./conftest; exit) 2>/dev/null; then | 1533 if (./conftest; exit) 2>/dev/null; then |
1762 ac_cv_prog_cc_cross=no | 1534 ac_cv_prog_cc_cross=no |
1763 else | 1535 else |
1773 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1545 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1774 if test $ac_cv_prog_cc_works = no; then | 1546 if test $ac_cv_prog_cc_works = no; then |
1775 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1547 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1776 fi | 1548 fi |
1777 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1549 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1778 echo "configure:1779: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1550 echo "configure:1551: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1779 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1551 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1780 cross_compiling=$ac_cv_prog_cc_cross | 1552 cross_compiling=$ac_cv_prog_cc_cross |
1781 | 1553 |
1782 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1554 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1783 echo "configure:1784: checking whether we are using GNU C" >&5 | 1555 echo "configure:1556: checking whether we are using GNU C" >&5 |
1784 | 1556 |
1785 cat > conftest.c <<EOF | 1557 cat > conftest.c <<EOF |
1786 #ifdef __GNUC__ | 1558 #ifdef __GNUC__ |
1787 yes; | 1559 yes; |
1788 #endif | 1560 #endif |
1789 EOF | 1561 EOF |
1790 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1562 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1791 ac_cv_prog_gcc=yes | 1563 ac_cv_prog_gcc=yes |
1792 else | 1564 else |
1793 ac_cv_prog_gcc=no | 1565 ac_cv_prog_gcc=no |
1794 fi | 1566 fi |
1795 | 1567 |
1799 GCC=yes | 1571 GCC=yes |
1800 ac_test_CFLAGS="${CFLAGS+set}" | 1572 ac_test_CFLAGS="${CFLAGS+set}" |
1801 ac_save_CFLAGS="$CFLAGS" | 1573 ac_save_CFLAGS="$CFLAGS" |
1802 CFLAGS= | 1574 CFLAGS= |
1803 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1575 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1804 echo "configure:1805: checking whether ${CC-cc} accepts -g" >&5 | 1576 echo "configure:1577: checking whether ${CC-cc} accepts -g" >&5 |
1805 | 1577 |
1806 echo 'void f(){}' > conftest.c | 1578 echo 'void f(){}' > conftest.c |
1807 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1579 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1808 ac_cv_prog_cc_g=yes | 1580 ac_cv_prog_cc_g=yes |
1809 else | 1581 else |
1828 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1600 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1829 CC=gcc | 1601 CC=gcc |
1830 # Extract the first word of "gcc", so it can be a program name with args. | 1602 # Extract the first word of "gcc", so it can be a program name with args. |
1831 set dummy gcc; ac_word=$2 | 1603 set dummy gcc; ac_word=$2 |
1832 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1833 echo "configure:1834: checking for $ac_word" >&5 | 1605 echo "configure:1606: checking for $ac_word" >&5 |
1834 | 1606 |
1835 if test -n "$CC"; then | 1607 if test -n "$CC"; then |
1836 ac_cv_prog_CC="$CC" # Let the user override the test. | 1608 ac_cv_prog_CC="$CC" # Let the user override the test. |
1837 else | 1609 else |
1838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1854 | 1626 |
1855 if test -z "$CC"; then | 1627 if test -z "$CC"; then |
1856 # Extract the first word of "cc", so it can be a program name with args. | 1628 # Extract the first word of "cc", so it can be a program name with args. |
1857 set dummy cc; ac_word=$2 | 1629 set dummy cc; ac_word=$2 |
1858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1859 echo "configure:1860: checking for $ac_word" >&5 | 1631 echo "configure:1632: checking for $ac_word" >&5 |
1860 | 1632 |
1861 if test -n "$CC"; then | 1633 if test -n "$CC"; then |
1862 ac_cv_prog_CC="$CC" # Let the user override the test. | 1634 ac_cv_prog_CC="$CC" # Let the user override the test. |
1863 else | 1635 else |
1864 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1636 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
1899 | 1671 |
1900 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1672 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1901 fi | 1673 fi |
1902 | 1674 |
1903 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1675 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1904 echo "configure:1905: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1676 echo "configure:1677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1905 | 1677 |
1906 ac_ext=c | 1678 ac_ext=c |
1907 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1679 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1908 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1680 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1909 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1681 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1911 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' | 1683 ac_compile='${CC-cc} -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext 1>&5' |
1912 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1684 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1913 cross_compiling=no | 1685 cross_compiling=no |
1914 | 1686 |
1915 cat > conftest.$ac_ext <<EOF | 1687 cat > conftest.$ac_ext <<EOF |
1916 #line 1917 "configure" | 1688 #line 1689 "configure" |
1917 #include "confdefs.h" | 1689 #include "confdefs.h" |
1918 main(){return(0);} | 1690 main(){return(0);} |
1919 EOF | 1691 EOF |
1920 if { (eval echo configure:1921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 1692 if { (eval echo configure:1693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
1921 ac_cv_prog_cc_works=yes | 1693 ac_cv_prog_cc_works=yes |
1922 # If we can't run a trivial program, we are probably using a cross compiler. | 1694 # If we can't run a trivial program, we are probably using a cross compiler. |
1923 if (./conftest; exit) 2>/dev/null; then | 1695 if (./conftest; exit) 2>/dev/null; then |
1924 ac_cv_prog_cc_cross=no | 1696 ac_cv_prog_cc_cross=no |
1925 else | 1697 else |
1935 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1707 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1936 if test $ac_cv_prog_cc_works = no; then | 1708 if test $ac_cv_prog_cc_works = no; then |
1937 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1709 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1938 fi | 1710 fi |
1939 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1711 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1940 echo "configure:1941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1712 echo "configure:1713: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1941 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1713 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1942 cross_compiling=$ac_cv_prog_cc_cross | 1714 cross_compiling=$ac_cv_prog_cc_cross |
1943 | 1715 |
1944 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1716 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1945 echo "configure:1946: checking whether we are using GNU C" >&5 | 1717 echo "configure:1718: checking whether we are using GNU C" >&5 |
1946 | 1718 |
1947 cat > conftest.c <<EOF | 1719 cat > conftest.c <<EOF |
1948 #ifdef __GNUC__ | 1720 #ifdef __GNUC__ |
1949 yes; | 1721 yes; |
1950 #endif | 1722 #endif |
1951 EOF | 1723 EOF |
1952 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1724 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1953 ac_cv_prog_gcc=yes | 1725 ac_cv_prog_gcc=yes |
1954 else | 1726 else |
1955 ac_cv_prog_gcc=no | 1727 ac_cv_prog_gcc=no |
1956 fi | 1728 fi |
1957 | 1729 |
1961 GCC=yes | 1733 GCC=yes |
1962 ac_test_CFLAGS="${CFLAGS+set}" | 1734 ac_test_CFLAGS="${CFLAGS+set}" |
1963 ac_save_CFLAGS="$CFLAGS" | 1735 ac_save_CFLAGS="$CFLAGS" |
1964 CFLAGS= | 1736 CFLAGS= |
1965 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1737 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1966 echo "configure:1967: checking whether ${CC-cc} accepts -g" >&5 | 1738 echo "configure:1739: checking whether ${CC-cc} accepts -g" >&5 |
1967 | 1739 |
1968 echo 'void f(){}' > conftest.c | 1740 echo 'void f(){}' > conftest.c |
1969 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1741 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1970 ac_cv_prog_cc_g=yes | 1742 ac_cv_prog_cc_g=yes |
1971 else | 1743 else |
1994 test -n "$CPP" -a -d "$CPP" && CPP= | 1766 test -n "$CPP" -a -d "$CPP" && CPP= |
1995 | 1767 |
1996 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 1768 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
1997 | 1769 |
1998 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1770 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1999 echo "configure:2000: checking how to run the C preprocessor" >&5 | 1771 echo "configure:1772: checking how to run the C preprocessor" >&5 |
2000 # On Suns, sometimes $CPP names a directory. | 1772 # On Suns, sometimes $CPP names a directory. |
2001 if test -n "$CPP" && test -d "$CPP"; then | 1773 if test -n "$CPP" && test -d "$CPP"; then |
2002 CPP= | 1774 CPP= |
2003 fi | 1775 fi |
2004 if test -z "$CPP"; then | 1776 if test -z "$CPP"; then |
2007 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1779 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2008 CPP="${CC-cc} -E" | 1780 CPP="${CC-cc} -E" |
2009 # On the NeXT, cc -E runs the code through the compiler's parser, | 1781 # On the NeXT, cc -E runs the code through the compiler's parser, |
2010 # not just through cpp. | 1782 # not just through cpp. |
2011 cat > conftest.$ac_ext <<EOF | 1783 cat > conftest.$ac_ext <<EOF |
2012 #line 2013 "configure" | 1784 #line 1785 "configure" |
2013 #include "confdefs.h" | 1785 #include "confdefs.h" |
2014 #include <assert.h> | 1786 #include <assert.h> |
2015 Syntax Error | 1787 Syntax Error |
2016 EOF | 1788 EOF |
2017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2018 { (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1790 { (eval echo configure:1791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2019 ac_err=`grep -v '^ *+' conftest.out` | 1791 ac_err=`grep -v '^ *+' conftest.out` |
2020 if test -z "$ac_err"; then | 1792 if test -z "$ac_err"; then |
2021 : | 1793 : |
2022 else | 1794 else |
2023 echo "$ac_err" >&5 | 1795 echo "$ac_err" >&5 |
2024 echo "configure: failed program was:" >&5 | 1796 echo "configure: failed program was:" >&5 |
2025 cat conftest.$ac_ext >&5 | 1797 cat conftest.$ac_ext >&5 |
2026 rm -rf conftest* | 1798 rm -rf conftest* |
2027 CPP="${CC-cc} -E -traditional-cpp" | 1799 CPP="${CC-cc} -E -traditional-cpp" |
2028 cat > conftest.$ac_ext <<EOF | 1800 cat > conftest.$ac_ext <<EOF |
2029 #line 2030 "configure" | 1801 #line 1802 "configure" |
2030 #include "confdefs.h" | 1802 #include "confdefs.h" |
2031 #include <assert.h> | 1803 #include <assert.h> |
2032 Syntax Error | 1804 Syntax Error |
2033 EOF | 1805 EOF |
2034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2035 { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1807 { (eval echo configure:1808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2036 ac_err=`grep -v '^ *+' conftest.out` | 1808 ac_err=`grep -v '^ *+' conftest.out` |
2037 if test -z "$ac_err"; then | 1809 if test -z "$ac_err"; then |
2038 : | 1810 : |
2039 else | 1811 else |
2040 echo "$ac_err" >&5 | 1812 echo "$ac_err" >&5 |
2053 fi | 1825 fi |
2054 echo "$ac_t""$CPP" 1>&6 | 1826 echo "$ac_t""$CPP" 1>&6 |
2055 | 1827 |
2056 | 1828 |
2057 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1829 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2058 echo "configure:2059: checking for AIX" >&5 | 1830 echo "configure:1831: checking for AIX" >&5 |
2059 cat > conftest.$ac_ext <<EOF | 1831 cat > conftest.$ac_ext <<EOF |
2060 #line 2061 "configure" | 1832 #line 1833 "configure" |
2061 #include "confdefs.h" | 1833 #include "confdefs.h" |
2062 #ifdef _AIX | 1834 #ifdef _AIX |
2063 yes | 1835 yes |
2064 #endif | 1836 #endif |
2065 | 1837 |
2082 rm -f conftest* | 1854 rm -f conftest* |
2083 | 1855 |
2084 | 1856 |
2085 | 1857 |
2086 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 | 1858 echo $ac_n "checking whether we are using SunPro C""... $ac_c" 1>&6 |
2087 echo "configure:2088: checking whether we are using SunPro C" >&5 | 1859 echo "configure:1860: checking whether we are using SunPro C" >&5 |
2088 cat > conftest.$ac_ext <<EOF | 1860 cat > conftest.$ac_ext <<EOF |
2089 #line 2090 "configure" | 1861 #line 1862 "configure" |
2090 #include "confdefs.h" | 1862 #include "confdefs.h" |
2091 | 1863 |
2092 int main() { | 1864 int main() { |
2093 #ifndef __SUNPRO_C | 1865 #ifndef __SUNPRO_C |
2094 #error Not a SunPro compiler :-( | 1866 #error Not a SunPro compiler :-( |
2095 ******* ======= ******** &&&&&&&& | 1867 ******* ======= ******** &&&&&&&& |
2096 #endif | 1868 #endif |
2097 | 1869 |
2098 ; return 0; } | 1870 ; return 0; } |
2099 EOF | 1871 EOF |
2100 if { (eval echo configure:2101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1872 if { (eval echo configure:1873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2101 rm -rf conftest* | 1873 rm -rf conftest* |
2102 __sunpro_c=yes | 1874 __sunpro_c=yes |
2103 else | 1875 else |
2104 echo "configure: failed program was:" >&5 | 1876 echo "configure: failed program was:" >&5 |
2105 cat conftest.$ac_ext >&5 | 1877 cat conftest.$ac_ext >&5 |
2373 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2145 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2374 echo " xemacs will be linked with \"$unexec\"" | 2146 echo " xemacs will be linked with \"$unexec\"" |
2375 fi | 2147 fi |
2376 | 2148 |
2377 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2149 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2378 echo "configure:2379: checking for dynodump" >&5 | 2150 echo "configure:2151: checking for dynodump" >&5 |
2379 if test "$unexec" != "unexsol2.o"; then | 2151 if test "$unexec" != "unexsol2.o"; then |
2380 echo "$ac_t""no" 1>&6 | 2152 echo "$ac_t""no" 1>&6 |
2381 else | 2153 else |
2382 echo "$ac_t""yes" 1>&6 | 2154 echo "$ac_t""yes" 1>&6 |
2383 { test "$extra_verbose" = "yes" && cat << \EOF | 2155 { test "$extra_verbose" = "yes" && cat << \EOF |
2469 esac | 2241 esac |
2470 fi | 2242 fi |
2471 | 2243 |
2472 if test "$add_runtime_path" = "yes"; then | 2244 if test "$add_runtime_path" = "yes"; then |
2473 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2245 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2474 echo "configure:2475: checking "for runtime libraries flag"" >&5 | 2246 echo "configure:2247: checking "for runtime libraries flag"" >&5 |
2475 dash_r="" | 2247 dash_r="" |
2476 for try_dash_r in "-R" "-R " "-rpath "; do | 2248 for try_dash_r in "-R" "-R " "-rpath "; do |
2477 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2249 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2478 cat > conftest.$ac_ext <<EOF | 2250 cat > conftest.$ac_ext <<EOF |
2479 #line 2480 "configure" | 2251 #line 2252 "configure" |
2480 #include "confdefs.h" | 2252 #include "confdefs.h" |
2481 | 2253 |
2482 int main() { | 2254 int main() { |
2483 | 2255 |
2484 ; return 0; } | 2256 ; return 0; } |
2485 EOF | 2257 EOF |
2486 if { (eval echo configure:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 2258 if { (eval echo configure:2259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
2487 rm -rf conftest* | 2259 rm -rf conftest* |
2488 dash_r="$try_dash_r" | 2260 dash_r="$try_dash_r" |
2489 else | 2261 else |
2490 echo "configure: failed program was:" >&5 | 2262 echo "configure: failed program was:" >&5 |
2491 cat conftest.$ac_ext >&5 | 2263 cat conftest.$ac_ext >&5 |
2579 | 2351 |
2580 | 2352 |
2581 # Extract the first word of "ranlib", so it can be a program name with args. | 2353 # Extract the first word of "ranlib", so it can be a program name with args. |
2582 set dummy ranlib; ac_word=$2 | 2354 set dummy ranlib; ac_word=$2 |
2583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2355 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2584 echo "configure:2585: checking for $ac_word" >&5 | 2356 echo "configure:2357: checking for $ac_word" >&5 |
2585 | 2357 |
2586 if test -n "$RANLIB"; then | 2358 if test -n "$RANLIB"; then |
2587 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2359 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2588 else | 2360 else |
2589 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2361 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2632 # AIX /bin/install | 2404 # AIX /bin/install |
2633 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2405 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2634 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2406 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2635 # ./install, which can be erroneously created by make from ./install.sh. | 2407 # ./install, which can be erroneously created by make from ./install.sh. |
2636 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2408 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2637 echo "configure:2638: checking for a BSD compatible install" >&5 | 2409 echo "configure:2410: checking for a BSD compatible install" >&5 |
2638 if test -z "$INSTALL"; then | 2410 if test -z "$INSTALL"; then |
2639 | 2411 |
2640 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" | 2412 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
2641 for ac_dir in $PATH; do | 2413 for ac_dir in $PATH; do |
2642 # Account for people who put trailing slashes in PATH elements. | 2414 # Account for people who put trailing slashes in PATH elements. |
2683 for ac_prog in 'bison -y' byacc | 2455 for ac_prog in 'bison -y' byacc |
2684 do | 2456 do |
2685 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2457 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2686 set dummy $ac_prog; ac_word=$2 | 2458 set dummy $ac_prog; ac_word=$2 |
2687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2688 echo "configure:2689: checking for $ac_word" >&5 | 2460 echo "configure:2461: checking for $ac_word" >&5 |
2689 | 2461 |
2690 if test -n "$YACC"; then | 2462 if test -n "$YACC"; then |
2691 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2463 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2692 else | 2464 else |
2693 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 2465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
2714 | 2486 |
2715 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 2487 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
2716 do | 2488 do |
2717 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2489 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2718 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2490 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2719 echo "configure:2720: checking for $ac_hdr" >&5 | 2491 echo "configure:2492: checking for $ac_hdr" >&5 |
2720 | 2492 |
2721 cat > conftest.$ac_ext <<EOF | 2493 cat > conftest.$ac_ext <<EOF |
2722 #line 2723 "configure" | 2494 #line 2495 "configure" |
2723 #include "confdefs.h" | 2495 #include "confdefs.h" |
2724 #include <$ac_hdr> | 2496 #include <$ac_hdr> |
2725 EOF | 2497 EOF |
2726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2727 { (eval echo configure:2728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2499 { (eval echo configure:2500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2728 ac_err=`grep -v '^ *+' conftest.out` | 2500 ac_err=`grep -v '^ *+' conftest.out` |
2729 if test -z "$ac_err"; then | 2501 if test -z "$ac_err"; then |
2730 rm -rf conftest* | 2502 rm -rf conftest* |
2731 eval "ac_cv_header_$ac_safe=yes" | 2503 eval "ac_cv_header_$ac_safe=yes" |
2732 else | 2504 else |
2755 | 2527 |
2756 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h | 2528 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h |
2757 do | 2529 do |
2758 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2759 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2760 echo "configure:2761: checking for $ac_hdr" >&5 | 2532 echo "configure:2533: checking for $ac_hdr" >&5 |
2761 | 2533 |
2762 cat > conftest.$ac_ext <<EOF | 2534 cat > conftest.$ac_ext <<EOF |
2763 #line 2764 "configure" | 2535 #line 2536 "configure" |
2764 #include "confdefs.h" | 2536 #include "confdefs.h" |
2765 #include <$ac_hdr> | 2537 #include <$ac_hdr> |
2766 EOF | 2538 EOF |
2767 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2540 { (eval echo configure:2541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2769 ac_err=`grep -v '^ *+' conftest.out` | 2541 ac_err=`grep -v '^ *+' conftest.out` |
2770 if test -z "$ac_err"; then | 2542 if test -z "$ac_err"; then |
2771 rm -rf conftest* | 2543 rm -rf conftest* |
2772 eval "ac_cv_header_$ac_safe=yes" | 2544 eval "ac_cv_header_$ac_safe=yes" |
2773 else | 2545 else |
2796 | 2568 |
2797 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h | 2569 for ac_hdr in linux/version.h kstat.h sys/pstat.h inttypes.h limits.h |
2798 do | 2570 do |
2799 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2571 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2800 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2572 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2801 echo "configure:2802: checking for $ac_hdr" >&5 | 2573 echo "configure:2574: checking for $ac_hdr" >&5 |
2802 | 2574 |
2803 cat > conftest.$ac_ext <<EOF | 2575 cat > conftest.$ac_ext <<EOF |
2804 #line 2805 "configure" | 2576 #line 2577 "configure" |
2805 #include "confdefs.h" | 2577 #include "confdefs.h" |
2806 #include <$ac_hdr> | 2578 #include <$ac_hdr> |
2807 EOF | 2579 EOF |
2808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2809 { (eval echo configure:2810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2581 { (eval echo configure:2582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2810 ac_err=`grep -v '^ *+' conftest.out` | 2582 ac_err=`grep -v '^ *+' conftest.out` |
2811 if test -z "$ac_err"; then | 2583 if test -z "$ac_err"; then |
2812 rm -rf conftest* | 2584 rm -rf conftest* |
2813 eval "ac_cv_header_$ac_safe=yes" | 2585 eval "ac_cv_header_$ac_safe=yes" |
2814 else | 2586 else |
2834 echo "$ac_t""no" 1>&6 | 2606 echo "$ac_t""no" 1>&6 |
2835 fi | 2607 fi |
2836 done | 2608 done |
2837 | 2609 |
2838 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 2610 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
2839 echo "configure:2840: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 2611 echo "configure:2612: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2840 | 2612 |
2841 cat > conftest.$ac_ext <<EOF | 2613 cat > conftest.$ac_ext <<EOF |
2842 #line 2843 "configure" | 2614 #line 2615 "configure" |
2843 #include "confdefs.h" | 2615 #include "confdefs.h" |
2844 #include <sys/types.h> | 2616 #include <sys/types.h> |
2845 #include <sys/wait.h> | 2617 #include <sys/wait.h> |
2846 #ifndef WEXITSTATUS | 2618 #ifndef WEXITSTATUS |
2847 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 2619 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2853 int s; | 2625 int s; |
2854 wait (&s); | 2626 wait (&s); |
2855 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 2627 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2856 ; return 0; } | 2628 ; return 0; } |
2857 EOF | 2629 EOF |
2858 if { (eval echo configure:2859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2630 if { (eval echo configure:2631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2859 rm -rf conftest* | 2631 rm -rf conftest* |
2860 ac_cv_header_sys_wait_h=yes | 2632 ac_cv_header_sys_wait_h=yes |
2861 else | 2633 else |
2862 echo "configure: failed program was:" >&5 | 2634 echo "configure: failed program was:" >&5 |
2863 cat conftest.$ac_ext >&5 | 2635 cat conftest.$ac_ext >&5 |
2877 } | 2649 } |
2878 | 2650 |
2879 fi | 2651 fi |
2880 | 2652 |
2881 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2653 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2882 echo "configure:2883: checking for ANSI C header files" >&5 | 2654 echo "configure:2655: checking for ANSI C header files" >&5 |
2883 | 2655 |
2884 cat > conftest.$ac_ext <<EOF | 2656 cat > conftest.$ac_ext <<EOF |
2885 #line 2886 "configure" | 2657 #line 2658 "configure" |
2886 #include "confdefs.h" | 2658 #include "confdefs.h" |
2887 #include <stdlib.h> | 2659 #include <stdlib.h> |
2888 #include <stdarg.h> | 2660 #include <stdarg.h> |
2889 #include <string.h> | 2661 #include <string.h> |
2890 #include <float.h> | 2662 #include <float.h> |
2891 EOF | 2663 EOF |
2892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2893 { (eval echo configure:2894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2665 { (eval echo configure:2666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2894 ac_err=`grep -v '^ *+' conftest.out` | 2666 ac_err=`grep -v '^ *+' conftest.out` |
2895 if test -z "$ac_err"; then | 2667 if test -z "$ac_err"; then |
2896 rm -rf conftest* | 2668 rm -rf conftest* |
2897 ac_cv_header_stdc=yes | 2669 ac_cv_header_stdc=yes |
2898 else | 2670 else |
2905 rm -f conftest* | 2677 rm -f conftest* |
2906 | 2678 |
2907 if test $ac_cv_header_stdc = yes; then | 2679 if test $ac_cv_header_stdc = yes; then |
2908 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2909 cat > conftest.$ac_ext <<EOF | 2681 cat > conftest.$ac_ext <<EOF |
2910 #line 2911 "configure" | 2682 #line 2683 "configure" |
2911 #include "confdefs.h" | 2683 #include "confdefs.h" |
2912 #include <string.h> | 2684 #include <string.h> |
2913 EOF | 2685 EOF |
2914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2915 egrep "memchr" >/dev/null 2>&1; then | 2687 egrep "memchr" >/dev/null 2>&1; then |
2923 fi | 2695 fi |
2924 | 2696 |
2925 if test $ac_cv_header_stdc = yes; then | 2697 if test $ac_cv_header_stdc = yes; then |
2926 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2927 cat > conftest.$ac_ext <<EOF | 2699 cat > conftest.$ac_ext <<EOF |
2928 #line 2929 "configure" | 2700 #line 2701 "configure" |
2929 #include "confdefs.h" | 2701 #include "confdefs.h" |
2930 #include <stdlib.h> | 2702 #include <stdlib.h> |
2931 EOF | 2703 EOF |
2932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2933 egrep "free" >/dev/null 2>&1; then | 2705 egrep "free" >/dev/null 2>&1; then |
2941 fi | 2713 fi |
2942 | 2714 |
2943 if test $ac_cv_header_stdc = yes; then | 2715 if test $ac_cv_header_stdc = yes; then |
2944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2945 cat > conftest.$ac_ext <<EOF | 2717 cat > conftest.$ac_ext <<EOF |
2946 #line 2947 "configure" | 2718 #line 2719 "configure" |
2947 #include "confdefs.h" | 2719 #include "confdefs.h" |
2948 #include <ctype.h> | 2720 #include <ctype.h> |
2949 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2721 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2950 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2722 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2723 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2952 int main () { int i; for (i = 0; i < 256; i++) | 2724 int main () { int i; for (i = 0; i < 256; i++) |
2953 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2725 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2954 exit (0); } | 2726 exit (0); } |
2955 | 2727 |
2956 EOF | 2728 EOF |
2957 if { (eval echo configure:2958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 2729 if { (eval echo configure:2730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
2958 then | 2730 then |
2959 : | 2731 : |
2960 else | 2732 else |
2961 echo "configure: failed program was:" >&5 | 2733 echo "configure: failed program was:" >&5 |
2962 cat conftest.$ac_ext >&5 | 2734 cat conftest.$ac_ext >&5 |
2977 } | 2749 } |
2978 | 2750 |
2979 fi | 2751 fi |
2980 | 2752 |
2981 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2753 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2982 echo "configure:2983: checking whether time.h and sys/time.h may both be included" >&5 | 2754 echo "configure:2755: checking whether time.h and sys/time.h may both be included" >&5 |
2983 | 2755 |
2984 cat > conftest.$ac_ext <<EOF | 2756 cat > conftest.$ac_ext <<EOF |
2985 #line 2986 "configure" | 2757 #line 2758 "configure" |
2986 #include "confdefs.h" | 2758 #include "confdefs.h" |
2987 #include <sys/types.h> | 2759 #include <sys/types.h> |
2988 #include <sys/time.h> | 2760 #include <sys/time.h> |
2989 #include <time.h> | 2761 #include <time.h> |
2990 int main() { | 2762 int main() { |
2991 struct tm *tp; | 2763 struct tm *tp; |
2992 ; return 0; } | 2764 ; return 0; } |
2993 EOF | 2765 EOF |
2994 if { (eval echo configure:2995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2766 if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2995 rm -rf conftest* | 2767 rm -rf conftest* |
2996 ac_cv_header_time=yes | 2768 ac_cv_header_time=yes |
2997 else | 2769 else |
2998 echo "configure: failed program was:" >&5 | 2770 echo "configure: failed program was:" >&5 |
2999 cat conftest.$ac_ext >&5 | 2771 cat conftest.$ac_ext >&5 |
3013 } | 2785 } |
3014 | 2786 |
3015 fi | 2787 fi |
3016 | 2788 |
3017 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2789 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3018 echo "configure:3019: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2790 echo "configure:2791: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3019 | 2791 |
3020 cat > conftest.$ac_ext <<EOF | 2792 cat > conftest.$ac_ext <<EOF |
3021 #line 3022 "configure" | 2793 #line 2794 "configure" |
3022 #include "confdefs.h" | 2794 #include "confdefs.h" |
3023 #include <sys/types.h> | 2795 #include <sys/types.h> |
3024 #include <signal.h> | 2796 #include <signal.h> |
3025 /* NetBSD declares sys_siglist in unistd.h. */ | 2797 /* NetBSD declares sys_siglist in unistd.h. */ |
3026 #ifdef HAVE_UNISTD_H | 2798 #ifdef HAVE_UNISTD_H |
3028 #endif | 2800 #endif |
3029 int main() { | 2801 int main() { |
3030 char *msg = *(sys_siglist + 1); | 2802 char *msg = *(sys_siglist + 1); |
3031 ; return 0; } | 2803 ; return 0; } |
3032 EOF | 2804 EOF |
3033 if { (eval echo configure:3034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2805 if { (eval echo configure:2806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3034 rm -rf conftest* | 2806 rm -rf conftest* |
3035 ac_cv_decl_sys_siglist=yes | 2807 ac_cv_decl_sys_siglist=yes |
3036 else | 2808 else |
3037 echo "configure: failed program was:" >&5 | 2809 echo "configure: failed program was:" >&5 |
3038 cat conftest.$ac_ext >&5 | 2810 cat conftest.$ac_ext >&5 |
3053 | 2825 |
3054 fi | 2826 fi |
3055 | 2827 |
3056 | 2828 |
3057 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2829 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3058 echo "configure:3059: checking for struct utimbuf" >&5 | 2830 echo "configure:2831: checking for struct utimbuf" >&5 |
3059 cat > conftest.$ac_ext <<EOF | 2831 cat > conftest.$ac_ext <<EOF |
3060 #line 3061 "configure" | 2832 #line 2833 "configure" |
3061 #include "confdefs.h" | 2833 #include "confdefs.h" |
3062 #ifdef TIME_WITH_SYS_TIME | 2834 #ifdef TIME_WITH_SYS_TIME |
3063 #include <sys/time.h> | 2835 #include <sys/time.h> |
3064 #include <time.h> | 2836 #include <time.h> |
3065 #else | 2837 #else |
3074 #endif | 2846 #endif |
3075 int main() { | 2847 int main() { |
3076 static struct utimbuf x; x.actime = x.modtime; | 2848 static struct utimbuf x; x.actime = x.modtime; |
3077 ; return 0; } | 2849 ; return 0; } |
3078 EOF | 2850 EOF |
3079 if { (eval echo configure:3080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2851 if { (eval echo configure:2852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3080 rm -rf conftest* | 2852 rm -rf conftest* |
3081 echo "$ac_t""yes" 1>&6 | 2853 echo "$ac_t""yes" 1>&6 |
3082 { test "$extra_verbose" = "yes" && cat << \EOF | 2854 { test "$extra_verbose" = "yes" && cat << \EOF |
3083 Defining HAVE_STRUCT_UTIMBUF | 2855 Defining HAVE_STRUCT_UTIMBUF |
3084 EOF | 2856 EOF |
3094 echo "$ac_t""no" 1>&6 | 2866 echo "$ac_t""no" 1>&6 |
3095 fi | 2867 fi |
3096 rm -f conftest* | 2868 rm -f conftest* |
3097 | 2869 |
3098 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2870 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3099 echo "configure:3100: checking return type of signal handlers" >&5 | 2871 echo "configure:2872: checking return type of signal handlers" >&5 |
3100 | 2872 |
3101 cat > conftest.$ac_ext <<EOF | 2873 cat > conftest.$ac_ext <<EOF |
3102 #line 3103 "configure" | 2874 #line 2875 "configure" |
3103 #include "confdefs.h" | 2875 #include "confdefs.h" |
3104 #include <sys/types.h> | 2876 #include <sys/types.h> |
3105 #include <signal.h> | 2877 #include <signal.h> |
3106 #ifdef signal | 2878 #ifdef signal |
3107 #undef signal | 2879 #undef signal |
3114 | 2886 |
3115 int main() { | 2887 int main() { |
3116 int i; | 2888 int i; |
3117 ; return 0; } | 2889 ; return 0; } |
3118 EOF | 2890 EOF |
3119 if { (eval echo configure:3120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2891 if { (eval echo configure:2892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3120 rm -rf conftest* | 2892 rm -rf conftest* |
3121 ac_cv_type_signal=void | 2893 ac_cv_type_signal=void |
3122 else | 2894 else |
3123 echo "configure: failed program was:" >&5 | 2895 echo "configure: failed program was:" >&5 |
3124 cat conftest.$ac_ext >&5 | 2896 cat conftest.$ac_ext >&5 |
3136 EOF | 2908 EOF |
3137 } | 2909 } |
3138 | 2910 |
3139 | 2911 |
3140 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2912 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3141 echo "configure:3142: checking for size_t" >&5 | 2913 echo "configure:2914: checking for size_t" >&5 |
3142 | 2914 |
3143 cat > conftest.$ac_ext <<EOF | 2915 cat > conftest.$ac_ext <<EOF |
3144 #line 3145 "configure" | 2916 #line 2917 "configure" |
3145 #include "confdefs.h" | 2917 #include "confdefs.h" |
3146 #include <sys/types.h> | 2918 #include <sys/types.h> |
3147 #if STDC_HEADERS | 2919 #if STDC_HEADERS |
3148 #include <stdlib.h> | 2920 #include <stdlib.h> |
3149 #include <stddef.h> | 2921 #include <stddef.h> |
3170 } | 2942 } |
3171 | 2943 |
3172 fi | 2944 fi |
3173 | 2945 |
3174 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 2946 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3175 echo "configure:3176: checking for pid_t" >&5 | 2947 echo "configure:2948: checking for pid_t" >&5 |
3176 | 2948 |
3177 cat > conftest.$ac_ext <<EOF | 2949 cat > conftest.$ac_ext <<EOF |
3178 #line 3179 "configure" | 2950 #line 2951 "configure" |
3179 #include "confdefs.h" | 2951 #include "confdefs.h" |
3180 #include <sys/types.h> | 2952 #include <sys/types.h> |
3181 #if STDC_HEADERS | 2953 #if STDC_HEADERS |
3182 #include <stdlib.h> | 2954 #include <stdlib.h> |
3183 #include <stddef.h> | 2955 #include <stddef.h> |
3204 } | 2976 } |
3205 | 2977 |
3206 fi | 2978 fi |
3207 | 2979 |
3208 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 2980 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3209 echo "configure:3210: checking for uid_t in sys/types.h" >&5 | 2981 echo "configure:2982: checking for uid_t in sys/types.h" >&5 |
3210 | 2982 |
3211 cat > conftest.$ac_ext <<EOF | 2983 cat > conftest.$ac_ext <<EOF |
3212 #line 3213 "configure" | 2984 #line 2985 "configure" |
3213 #include "confdefs.h" | 2985 #include "confdefs.h" |
3214 #include <sys/types.h> | 2986 #include <sys/types.h> |
3215 EOF | 2987 EOF |
3216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3217 egrep "uid_t" >/dev/null 2>&1; then | 2989 egrep "uid_t" >/dev/null 2>&1; then |
3243 } | 3015 } |
3244 | 3016 |
3245 fi | 3017 fi |
3246 | 3018 |
3247 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3019 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3248 echo "configure:3249: checking for mode_t" >&5 | 3020 echo "configure:3021: checking for mode_t" >&5 |
3249 | 3021 |
3250 cat > conftest.$ac_ext <<EOF | 3022 cat > conftest.$ac_ext <<EOF |
3251 #line 3252 "configure" | 3023 #line 3024 "configure" |
3252 #include "confdefs.h" | 3024 #include "confdefs.h" |
3253 #include <sys/types.h> | 3025 #include <sys/types.h> |
3254 #if STDC_HEADERS | 3026 #if STDC_HEADERS |
3255 #include <stdlib.h> | 3027 #include <stdlib.h> |
3256 #include <stddef.h> | 3028 #include <stddef.h> |
3277 } | 3049 } |
3278 | 3050 |
3279 fi | 3051 fi |
3280 | 3052 |
3281 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3053 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3282 echo "configure:3283: checking for off_t" >&5 | 3054 echo "configure:3055: checking for off_t" >&5 |
3283 | 3055 |
3284 cat > conftest.$ac_ext <<EOF | 3056 cat > conftest.$ac_ext <<EOF |
3285 #line 3286 "configure" | 3057 #line 3058 "configure" |
3286 #include "confdefs.h" | 3058 #include "confdefs.h" |
3287 #include <sys/types.h> | 3059 #include <sys/types.h> |
3288 #if STDC_HEADERS | 3060 #if STDC_HEADERS |
3289 #include <stdlib.h> | 3061 #include <stdlib.h> |
3290 #include <stddef.h> | 3062 #include <stddef.h> |
3312 | 3084 |
3313 fi | 3085 fi |
3314 | 3086 |
3315 | 3087 |
3316 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3088 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3317 echo "configure:3318: checking for struct timeval" >&5 | 3089 echo "configure:3090: checking for struct timeval" >&5 |
3318 cat > conftest.$ac_ext <<EOF | 3090 cat > conftest.$ac_ext <<EOF |
3319 #line 3320 "configure" | 3091 #line 3092 "configure" |
3320 #include "confdefs.h" | 3092 #include "confdefs.h" |
3321 #ifdef TIME_WITH_SYS_TIME | 3093 #ifdef TIME_WITH_SYS_TIME |
3322 #include <sys/time.h> | 3094 #include <sys/time.h> |
3323 #include <time.h> | 3095 #include <time.h> |
3324 #else | 3096 #else |
3330 #endif | 3102 #endif |
3331 int main() { | 3103 int main() { |
3332 static struct timeval x; x.tv_sec = x.tv_usec; | 3104 static struct timeval x; x.tv_sec = x.tv_usec; |
3333 ; return 0; } | 3105 ; return 0; } |
3334 EOF | 3106 EOF |
3335 if { (eval echo configure:3336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3107 if { (eval echo configure:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3336 rm -rf conftest* | 3108 rm -rf conftest* |
3337 echo "$ac_t""yes" 1>&6 | 3109 echo "$ac_t""yes" 1>&6 |
3338 HAVE_TIMEVAL=yes | 3110 HAVE_TIMEVAL=yes |
3339 { test "$extra_verbose" = "yes" && cat << \EOF | 3111 { test "$extra_verbose" = "yes" && cat << \EOF |
3340 Defining HAVE_TIMEVAL | 3112 Defining HAVE_TIMEVAL |
3352 HAVE_TIMEVAL=no | 3124 HAVE_TIMEVAL=no |
3353 fi | 3125 fi |
3354 rm -f conftest* | 3126 rm -f conftest* |
3355 | 3127 |
3356 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3128 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3357 echo "configure:3358: checking whether struct tm is in sys/time.h or time.h" >&5 | 3129 echo "configure:3130: checking whether struct tm is in sys/time.h or time.h" >&5 |
3358 | 3130 |
3359 cat > conftest.$ac_ext <<EOF | 3131 cat > conftest.$ac_ext <<EOF |
3360 #line 3361 "configure" | 3132 #line 3133 "configure" |
3361 #include "confdefs.h" | 3133 #include "confdefs.h" |
3362 #include <sys/types.h> | 3134 #include <sys/types.h> |
3363 #include <time.h> | 3135 #include <time.h> |
3364 int main() { | 3136 int main() { |
3365 struct tm *tp; tp->tm_sec; | 3137 struct tm *tp; tp->tm_sec; |
3366 ; return 0; } | 3138 ; return 0; } |
3367 EOF | 3139 EOF |
3368 if { (eval echo configure:3369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3140 if { (eval echo configure:3141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3369 rm -rf conftest* | 3141 rm -rf conftest* |
3370 ac_cv_struct_tm=time.h | 3142 ac_cv_struct_tm=time.h |
3371 else | 3143 else |
3372 echo "configure: failed program was:" >&5 | 3144 echo "configure: failed program was:" >&5 |
3373 cat conftest.$ac_ext >&5 | 3145 cat conftest.$ac_ext >&5 |
3387 } | 3159 } |
3388 | 3160 |
3389 fi | 3161 fi |
3390 | 3162 |
3391 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3163 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3392 echo "configure:3393: checking for tm_zone in struct tm" >&5 | 3164 echo "configure:3165: checking for tm_zone in struct tm" >&5 |
3393 | 3165 |
3394 cat > conftest.$ac_ext <<EOF | 3166 cat > conftest.$ac_ext <<EOF |
3395 #line 3396 "configure" | 3167 #line 3168 "configure" |
3396 #include "confdefs.h" | 3168 #include "confdefs.h" |
3397 #include <sys/types.h> | 3169 #include <sys/types.h> |
3398 #include <$ac_cv_struct_tm> | 3170 #include <$ac_cv_struct_tm> |
3399 int main() { | 3171 int main() { |
3400 struct tm tm; tm.tm_zone; | 3172 struct tm tm; tm.tm_zone; |
3401 ; return 0; } | 3173 ; return 0; } |
3402 EOF | 3174 EOF |
3403 if { (eval echo configure:3404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3175 if { (eval echo configure:3176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3404 rm -rf conftest* | 3176 rm -rf conftest* |
3405 ac_cv_struct_tm_zone=yes | 3177 ac_cv_struct_tm_zone=yes |
3406 else | 3178 else |
3407 echo "configure: failed program was:" >&5 | 3179 echo "configure: failed program was:" >&5 |
3408 cat conftest.$ac_ext >&5 | 3180 cat conftest.$ac_ext >&5 |
3421 EOF | 3193 EOF |
3422 } | 3194 } |
3423 | 3195 |
3424 else | 3196 else |
3425 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3197 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3426 echo "configure:3427: checking for tzname" >&5 | 3198 echo "configure:3199: checking for tzname" >&5 |
3427 | 3199 |
3428 cat > conftest.$ac_ext <<EOF | 3200 cat > conftest.$ac_ext <<EOF |
3429 #line 3430 "configure" | 3201 #line 3202 "configure" |
3430 #include "confdefs.h" | 3202 #include "confdefs.h" |
3431 #include <time.h> | 3203 #include <time.h> |
3432 #ifndef tzname /* For SGI. */ | 3204 #ifndef tzname /* For SGI. */ |
3433 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3205 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3434 #endif | 3206 #endif |
3435 int main() { | 3207 int main() { |
3436 atoi(*tzname); | 3208 atoi(*tzname); |
3437 ; return 0; } | 3209 ; return 0; } |
3438 EOF | 3210 EOF |
3439 if { (eval echo configure:3440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3211 if { (eval echo configure:3212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3440 rm -rf conftest* | 3212 rm -rf conftest* |
3441 ac_cv_var_tzname=yes | 3213 ac_cv_var_tzname=yes |
3442 else | 3214 else |
3443 echo "configure: failed program was:" >&5 | 3215 echo "configure: failed program was:" >&5 |
3444 cat conftest.$ac_ext >&5 | 3216 cat conftest.$ac_ext >&5 |
3460 fi | 3232 fi |
3461 fi | 3233 fi |
3462 | 3234 |
3463 | 3235 |
3464 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 3236 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
3465 echo "configure:3466: checking for working const" >&5 | 3237 echo "configure:3238: checking for working const" >&5 |
3466 | 3238 |
3467 cat > conftest.$ac_ext <<EOF | 3239 cat > conftest.$ac_ext <<EOF |
3468 #line 3469 "configure" | 3240 #line 3241 "configure" |
3469 #include "confdefs.h" | 3241 #include "confdefs.h" |
3470 | 3242 |
3471 int main() { | 3243 int main() { |
3472 | 3244 |
3473 /* Ultrix mips cc rejects this. */ | 3245 /* Ultrix mips cc rejects this. */ |
3512 const int foo = 10; | 3284 const int foo = 10; |
3513 } | 3285 } |
3514 | 3286 |
3515 ; return 0; } | 3287 ; return 0; } |
3516 EOF | 3288 EOF |
3517 if { (eval echo configure:3518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3289 if { (eval echo configure:3290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3518 rm -rf conftest* | 3290 rm -rf conftest* |
3519 ac_cv_c_const=yes | 3291 ac_cv_c_const=yes |
3520 else | 3292 else |
3521 echo "configure: failed program was:" >&5 | 3293 echo "configure: failed program was:" >&5 |
3522 cat conftest.$ac_ext >&5 | 3294 cat conftest.$ac_ext >&5 |
3537 | 3309 |
3538 fi | 3310 fi |
3539 | 3311 |
3540 | 3312 |
3541 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3313 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
3542 echo "configure:3543: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3314 echo "configure:3315: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
3543 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3315 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
3544 | 3316 |
3545 cat > conftestmake <<\EOF | 3317 cat > conftestmake <<\EOF |
3546 all: | 3318 all: |
3547 @echo 'ac_maketemp="${MAKE}"' | 3319 @echo 'ac_maketemp="${MAKE}"' |
3562 SET_MAKE="MAKE=${MAKE-make}" | 3334 SET_MAKE="MAKE=${MAKE-make}" |
3563 fi | 3335 fi |
3564 | 3336 |
3565 | 3337 |
3566 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 3338 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
3567 echo "configure:3568: checking whether byte ordering is bigendian" >&5 | 3339 echo "configure:3340: checking whether byte ordering is bigendian" >&5 |
3568 | 3340 |
3569 ac_cv_c_bigendian=unknown | 3341 ac_cv_c_bigendian=unknown |
3570 # See if sys/param.h defines the BYTE_ORDER macro. | 3342 # See if sys/param.h defines the BYTE_ORDER macro. |
3571 cat > conftest.$ac_ext <<EOF | 3343 cat > conftest.$ac_ext <<EOF |
3572 #line 3573 "configure" | 3344 #line 3345 "configure" |
3573 #include "confdefs.h" | 3345 #include "confdefs.h" |
3574 #include <sys/types.h> | 3346 #include <sys/types.h> |
3575 #include <sys/param.h> | 3347 #include <sys/param.h> |
3576 int main() { | 3348 int main() { |
3577 | 3349 |
3578 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 3350 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
3579 bogus endian macros | 3351 bogus endian macros |
3580 #endif | 3352 #endif |
3581 ; return 0; } | 3353 ; return 0; } |
3582 EOF | 3354 EOF |
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3355 if { (eval echo configure:3356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3584 rm -rf conftest* | 3356 rm -rf conftest* |
3585 # It does; now see whether it defined to BIG_ENDIAN or not. | 3357 # It does; now see whether it defined to BIG_ENDIAN or not. |
3586 cat > conftest.$ac_ext <<EOF | 3358 cat > conftest.$ac_ext <<EOF |
3587 #line 3588 "configure" | 3359 #line 3360 "configure" |
3588 #include "confdefs.h" | 3360 #include "confdefs.h" |
3589 #include <sys/types.h> | 3361 #include <sys/types.h> |
3590 #include <sys/param.h> | 3362 #include <sys/param.h> |
3591 int main() { | 3363 int main() { |
3592 | 3364 |
3593 #if BYTE_ORDER != BIG_ENDIAN | 3365 #if BYTE_ORDER != BIG_ENDIAN |
3594 not big endian | 3366 not big endian |
3595 #endif | 3367 #endif |
3596 ; return 0; } | 3368 ; return 0; } |
3597 EOF | 3369 EOF |
3598 if { (eval echo configure:3599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3370 if { (eval echo configure:3371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3599 rm -rf conftest* | 3371 rm -rf conftest* |
3600 ac_cv_c_bigendian=yes | 3372 ac_cv_c_bigendian=yes |
3601 else | 3373 else |
3602 echo "configure: failed program was:" >&5 | 3374 echo "configure: failed program was:" >&5 |
3603 cat conftest.$ac_ext >&5 | 3375 cat conftest.$ac_ext >&5 |
3610 cat conftest.$ac_ext >&5 | 3382 cat conftest.$ac_ext >&5 |
3611 fi | 3383 fi |
3612 rm -f conftest* | 3384 rm -f conftest* |
3613 if test $ac_cv_c_bigendian = unknown; then | 3385 if test $ac_cv_c_bigendian = unknown; then |
3614 cat > conftest.$ac_ext <<EOF | 3386 cat > conftest.$ac_ext <<EOF |
3615 #line 3616 "configure" | 3387 #line 3388 "configure" |
3616 #include "confdefs.h" | 3388 #include "confdefs.h" |
3617 main () { | 3389 main () { |
3618 /* Are we little or big endian? From Harbison&Steele. */ | 3390 /* Are we little or big endian? From Harbison&Steele. */ |
3619 union | 3391 union |
3620 { | 3392 { |
3623 } u; | 3395 } u; |
3624 u.l = 1; | 3396 u.l = 1; |
3625 exit (u.c[sizeof (long) - 1] == 1); | 3397 exit (u.c[sizeof (long) - 1] == 1); |
3626 } | 3398 } |
3627 EOF | 3399 EOF |
3628 if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3400 if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3629 then | 3401 then |
3630 ac_cv_c_bigendian=no | 3402 ac_cv_c_bigendian=no |
3631 else | 3403 else |
3632 echo "configure: failed program was:" >&5 | 3404 echo "configure: failed program was:" >&5 |
3633 cat conftest.$ac_ext >&5 | 3405 cat conftest.$ac_ext >&5 |
3649 | 3421 |
3650 fi | 3422 fi |
3651 | 3423 |
3652 | 3424 |
3653 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 3425 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
3654 echo "configure:3655: checking size of short" >&5 | 3426 echo "configure:3427: checking size of short" >&5 |
3655 | 3427 |
3656 cat > conftest.$ac_ext <<EOF | 3428 cat > conftest.$ac_ext <<EOF |
3657 #line 3658 "configure" | 3429 #line 3430 "configure" |
3658 #include "confdefs.h" | 3430 #include "confdefs.h" |
3659 #include <stdio.h> | 3431 #include <stdio.h> |
3660 main() | 3432 main() |
3661 { | 3433 { |
3662 FILE *f=fopen("conftestval", "w"); | 3434 FILE *f=fopen("conftestval", "w"); |
3663 if (!f) exit(1); | 3435 if (!f) exit(1); |
3664 fprintf(f, "%d\n", sizeof(short)); | 3436 fprintf(f, "%d\n", sizeof(short)); |
3665 exit(0); | 3437 exit(0); |
3666 } | 3438 } |
3667 EOF | 3439 EOF |
3668 if { (eval echo configure:3669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3440 if { (eval echo configure:3441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3669 then | 3441 then |
3670 ac_cv_sizeof_short=`cat conftestval` | 3442 ac_cv_sizeof_short=`cat conftestval` |
3671 else | 3443 else |
3672 echo "configure: failed program was:" >&5 | 3444 echo "configure: failed program was:" >&5 |
3673 cat conftest.$ac_ext >&5 | 3445 cat conftest.$ac_ext >&5 |
3690 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 3462 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
3691 echo "*** PANIC *** Please examine config.log for compilation errors." | 3463 echo "*** PANIC *** Please examine config.log for compilation errors." |
3692 exit 1 | 3464 exit 1 |
3693 fi | 3465 fi |
3694 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 3466 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
3695 echo "configure:3696: checking size of int" >&5 | 3467 echo "configure:3468: checking size of int" >&5 |
3696 | 3468 |
3697 cat > conftest.$ac_ext <<EOF | 3469 cat > conftest.$ac_ext <<EOF |
3698 #line 3699 "configure" | 3470 #line 3471 "configure" |
3699 #include "confdefs.h" | 3471 #include "confdefs.h" |
3700 #include <stdio.h> | 3472 #include <stdio.h> |
3701 main() | 3473 main() |
3702 { | 3474 { |
3703 FILE *f=fopen("conftestval", "w"); | 3475 FILE *f=fopen("conftestval", "w"); |
3704 if (!f) exit(1); | 3476 if (!f) exit(1); |
3705 fprintf(f, "%d\n", sizeof(int)); | 3477 fprintf(f, "%d\n", sizeof(int)); |
3706 exit(0); | 3478 exit(0); |
3707 } | 3479 } |
3708 EOF | 3480 EOF |
3709 if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3481 if { (eval echo configure:3482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3710 then | 3482 then |
3711 ac_cv_sizeof_int=`cat conftestval` | 3483 ac_cv_sizeof_int=`cat conftestval` |
3712 else | 3484 else |
3713 echo "configure: failed program was:" >&5 | 3485 echo "configure: failed program was:" >&5 |
3714 cat conftest.$ac_ext >&5 | 3486 cat conftest.$ac_ext >&5 |
3725 EOF | 3497 EOF |
3726 } | 3498 } |
3727 | 3499 |
3728 | 3500 |
3729 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 3501 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
3730 echo "configure:3731: checking size of long" >&5 | 3502 echo "configure:3503: checking size of long" >&5 |
3731 | 3503 |
3732 cat > conftest.$ac_ext <<EOF | 3504 cat > conftest.$ac_ext <<EOF |
3733 #line 3734 "configure" | 3505 #line 3506 "configure" |
3734 #include "confdefs.h" | 3506 #include "confdefs.h" |
3735 #include <stdio.h> | 3507 #include <stdio.h> |
3736 main() | 3508 main() |
3737 { | 3509 { |
3738 FILE *f=fopen("conftestval", "w"); | 3510 FILE *f=fopen("conftestval", "w"); |
3739 if (!f) exit(1); | 3511 if (!f) exit(1); |
3740 fprintf(f, "%d\n", sizeof(long)); | 3512 fprintf(f, "%d\n", sizeof(long)); |
3741 exit(0); | 3513 exit(0); |
3742 } | 3514 } |
3743 EOF | 3515 EOF |
3744 if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3516 if { (eval echo configure:3517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3745 then | 3517 then |
3746 ac_cv_sizeof_long=`cat conftestval` | 3518 ac_cv_sizeof_long=`cat conftestval` |
3747 else | 3519 else |
3748 echo "configure: failed program was:" >&5 | 3520 echo "configure: failed program was:" >&5 |
3749 cat conftest.$ac_ext >&5 | 3521 cat conftest.$ac_ext >&5 |
3760 EOF | 3532 EOF |
3761 } | 3533 } |
3762 | 3534 |
3763 | 3535 |
3764 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 3536 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3765 echo "configure:3766: checking size of long long" >&5 | 3537 echo "configure:3538: checking size of long long" >&5 |
3766 | 3538 |
3767 cat > conftest.$ac_ext <<EOF | 3539 cat > conftest.$ac_ext <<EOF |
3768 #line 3769 "configure" | 3540 #line 3541 "configure" |
3769 #include "confdefs.h" | 3541 #include "confdefs.h" |
3770 #include <stdio.h> | 3542 #include <stdio.h> |
3771 main() | 3543 main() |
3772 { | 3544 { |
3773 FILE *f=fopen("conftestval", "w"); | 3545 FILE *f=fopen("conftestval", "w"); |
3774 if (!f) exit(1); | 3546 if (!f) exit(1); |
3775 fprintf(f, "%d\n", sizeof(long long)); | 3547 fprintf(f, "%d\n", sizeof(long long)); |
3776 exit(0); | 3548 exit(0); |
3777 } | 3549 } |
3778 EOF | 3550 EOF |
3779 if { (eval echo configure:3780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3551 if { (eval echo configure:3552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3780 then | 3552 then |
3781 ac_cv_sizeof_long_long=`cat conftestval` | 3553 ac_cv_sizeof_long_long=`cat conftestval` |
3782 else | 3554 else |
3783 echo "configure: failed program was:" >&5 | 3555 echo "configure: failed program was:" >&5 |
3784 cat conftest.$ac_ext >&5 | 3556 cat conftest.$ac_ext >&5 |
3795 EOF | 3567 EOF |
3796 } | 3568 } |
3797 | 3569 |
3798 | 3570 |
3799 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 3571 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
3800 echo "configure:3801: checking size of void *" >&5 | 3572 echo "configure:3573: checking size of void *" >&5 |
3801 | 3573 |
3802 cat > conftest.$ac_ext <<EOF | 3574 cat > conftest.$ac_ext <<EOF |
3803 #line 3804 "configure" | 3575 #line 3576 "configure" |
3804 #include "confdefs.h" | 3576 #include "confdefs.h" |
3805 #include <stdio.h> | 3577 #include <stdio.h> |
3806 main() | 3578 main() |
3807 { | 3579 { |
3808 FILE *f=fopen("conftestval", "w"); | 3580 FILE *f=fopen("conftestval", "w"); |
3809 if (!f) exit(1); | 3581 if (!f) exit(1); |
3810 fprintf(f, "%d\n", sizeof(void *)); | 3582 fprintf(f, "%d\n", sizeof(void *)); |
3811 exit(0); | 3583 exit(0); |
3812 } | 3584 } |
3813 EOF | 3585 EOF |
3814 if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 3586 if { (eval echo configure:3587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
3815 then | 3587 then |
3816 ac_cv_sizeof_void_p=`cat conftestval` | 3588 ac_cv_sizeof_void_p=`cat conftestval` |
3817 else | 3589 else |
3818 echo "configure: failed program was:" >&5 | 3590 echo "configure: failed program was:" >&5 |
3819 cat conftest.$ac_ext >&5 | 3591 cat conftest.$ac_ext >&5 |
3831 } | 3603 } |
3832 | 3604 |
3833 | 3605 |
3834 | 3606 |
3835 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3607 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3836 echo "configure:3837: checking for long file names" >&5 | 3608 echo "configure:3609: checking for long file names" >&5 |
3837 | 3609 |
3838 ac_cv_sys_long_file_names=yes | 3610 ac_cv_sys_long_file_names=yes |
3839 # Test for long file names in all the places we know might matter: | 3611 # Test for long file names in all the places we know might matter: |
3840 # . the current directory, where building will happen | 3612 # . the current directory, where building will happen |
3841 # $prefix/lib where we will be installing things | 3613 # $prefix/lib where we will be installing things |
3878 fi | 3650 fi |
3879 | 3651 |
3880 | 3652 |
3881 | 3653 |
3882 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 3654 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
3883 echo "configure:3884: checking for sin in -lm" >&5 | 3655 echo "configure:3656: checking for sin in -lm" >&5 |
3884 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 3656 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
3885 | 3657 |
3886 xe_check_libs=" -lm " | 3658 xe_check_libs=" -lm " |
3887 cat > conftest.$ac_ext <<EOF | 3659 cat > conftest.$ac_ext <<EOF |
3888 #line 3889 "configure" | 3660 #line 3661 "configure" |
3889 #include "confdefs.h" | 3661 #include "confdefs.h" |
3890 /* Override any gcc2 internal prototype to avoid an error. */ | 3662 /* Override any gcc2 internal prototype to avoid an error. */ |
3891 /* We use char because int might match the return type of a gcc2 | 3663 /* We use char because int might match the return type of a gcc2 |
3892 builtin and then its argument prototype would still apply. */ | 3664 builtin and then its argument prototype would still apply. */ |
3893 char sin(); | 3665 char sin(); |
3894 | 3666 |
3895 int main() { | 3667 int main() { |
3896 sin() | 3668 sin() |
3897 ; return 0; } | 3669 ; return 0; } |
3898 EOF | 3670 EOF |
3899 if { (eval echo configure:3900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3671 if { (eval echo configure:3672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3900 rm -rf conftest* | 3672 rm -rf conftest* |
3901 eval "ac_cv_lib_$ac_lib_var=yes" | 3673 eval "ac_cv_lib_$ac_lib_var=yes" |
3902 else | 3674 else |
3903 echo "configure: failed program was:" >&5 | 3675 echo "configure: failed program was:" >&5 |
3904 cat conftest.$ac_ext >&5 | 3676 cat conftest.$ac_ext >&5 |
3936 EOF | 3708 EOF |
3937 } | 3709 } |
3938 | 3710 |
3939 | 3711 |
3940 echo "checking type of mail spool file locking" 1>&6 | 3712 echo "checking type of mail spool file locking" 1>&6 |
3941 echo "configure:3942: checking type of mail spool file locking" >&5 | 3713 echo "configure:3714: checking type of mail spool file locking" >&5 |
3942 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 3714 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
3943 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 3715 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
3944 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 3716 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
3945 Defining REAL_MAIL_USE_LOCKF | 3717 Defining REAL_MAIL_USE_LOCKF |
3946 EOF | 3718 EOF |
3960 else mail_locking="dot-locking" | 3732 else mail_locking="dot-locking" |
3961 fi | 3733 fi |
3962 | 3734 |
3963 | 3735 |
3964 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 3736 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
3965 echo "configure:3966: checking for kstat_open in -lkstat" >&5 | 3737 echo "configure:3738: checking for kstat_open in -lkstat" >&5 |
3966 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 3738 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
3967 | 3739 |
3968 xe_check_libs=" -lkstat " | 3740 xe_check_libs=" -lkstat " |
3969 cat > conftest.$ac_ext <<EOF | 3741 cat > conftest.$ac_ext <<EOF |
3970 #line 3971 "configure" | 3742 #line 3743 "configure" |
3971 #include "confdefs.h" | 3743 #include "confdefs.h" |
3972 /* Override any gcc2 internal prototype to avoid an error. */ | 3744 /* Override any gcc2 internal prototype to avoid an error. */ |
3973 /* We use char because int might match the return type of a gcc2 | 3745 /* We use char because int might match the return type of a gcc2 |
3974 builtin and then its argument prototype would still apply. */ | 3746 builtin and then its argument prototype would still apply. */ |
3975 char kstat_open(); | 3747 char kstat_open(); |
3976 | 3748 |
3977 int main() { | 3749 int main() { |
3978 kstat_open() | 3750 kstat_open() |
3979 ; return 0; } | 3751 ; return 0; } |
3980 EOF | 3752 EOF |
3981 if { (eval echo configure:3982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3753 if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
3982 rm -rf conftest* | 3754 rm -rf conftest* |
3983 eval "ac_cv_lib_$ac_lib_var=yes" | 3755 eval "ac_cv_lib_$ac_lib_var=yes" |
3984 else | 3756 else |
3985 echo "configure: failed program was:" >&5 | 3757 echo "configure: failed program was:" >&5 |
3986 cat conftest.$ac_ext >&5 | 3758 cat conftest.$ac_ext >&5 |
4010 | 3782 |
4011 | 3783 |
4012 | 3784 |
4013 | 3785 |
4014 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 3786 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
4015 echo "configure:4016: checking for kvm_read in -lkvm" >&5 | 3787 echo "configure:3788: checking for kvm_read in -lkvm" >&5 |
4016 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 3788 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
4017 | 3789 |
4018 xe_check_libs=" -lkvm " | 3790 xe_check_libs=" -lkvm " |
4019 cat > conftest.$ac_ext <<EOF | 3791 cat > conftest.$ac_ext <<EOF |
4020 #line 4021 "configure" | 3792 #line 3793 "configure" |
4021 #include "confdefs.h" | 3793 #include "confdefs.h" |
4022 /* Override any gcc2 internal prototype to avoid an error. */ | 3794 /* Override any gcc2 internal prototype to avoid an error. */ |
4023 /* We use char because int might match the return type of a gcc2 | 3795 /* We use char because int might match the return type of a gcc2 |
4024 builtin and then its argument prototype would still apply. */ | 3796 builtin and then its argument prototype would still apply. */ |
4025 char kvm_read(); | 3797 char kvm_read(); |
4026 | 3798 |
4027 int main() { | 3799 int main() { |
4028 kvm_read() | 3800 kvm_read() |
4029 ; return 0; } | 3801 ; return 0; } |
4030 EOF | 3802 EOF |
4031 if { (eval echo configure:4032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3803 if { (eval echo configure:3804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4032 rm -rf conftest* | 3804 rm -rf conftest* |
4033 eval "ac_cv_lib_$ac_lib_var=yes" | 3805 eval "ac_cv_lib_$ac_lib_var=yes" |
4034 else | 3806 else |
4035 echo "configure: failed program was:" >&5 | 3807 echo "configure: failed program was:" >&5 |
4036 cat conftest.$ac_ext >&5 | 3808 cat conftest.$ac_ext >&5 |
4060 | 3832 |
4061 | 3833 |
4062 | 3834 |
4063 | 3835 |
4064 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3836 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4065 echo "configure:4066: checking for cma_open in -lpthreads" >&5 | 3837 echo "configure:3838: checking for cma_open in -lpthreads" >&5 |
4066 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3838 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4067 | 3839 |
4068 xe_check_libs=" -lpthreads " | 3840 xe_check_libs=" -lpthreads " |
4069 cat > conftest.$ac_ext <<EOF | 3841 cat > conftest.$ac_ext <<EOF |
4070 #line 4071 "configure" | 3842 #line 3843 "configure" |
4071 #include "confdefs.h" | 3843 #include "confdefs.h" |
4072 /* Override any gcc2 internal prototype to avoid an error. */ | 3844 /* Override any gcc2 internal prototype to avoid an error. */ |
4073 /* We use char because int might match the return type of a gcc2 | 3845 /* We use char because int might match the return type of a gcc2 |
4074 builtin and then its argument prototype would still apply. */ | 3846 builtin and then its argument prototype would still apply. */ |
4075 char cma_open(); | 3847 char cma_open(); |
4076 | 3848 |
4077 int main() { | 3849 int main() { |
4078 cma_open() | 3850 cma_open() |
4079 ; return 0; } | 3851 ; return 0; } |
4080 EOF | 3852 EOF |
4081 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 3853 if { (eval echo configure:3854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4082 rm -rf conftest* | 3854 rm -rf conftest* |
4083 eval "ac_cv_lib_$ac_lib_var=yes" | 3855 eval "ac_cv_lib_$ac_lib_var=yes" |
4084 else | 3856 else |
4085 echo "configure: failed program was:" >&5 | 3857 echo "configure: failed program was:" >&5 |
4086 cat conftest.$ac_ext >&5 | 3858 cat conftest.$ac_ext >&5 |
4112 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then | 3884 if test "$ac_cv_lib_pthreads_cma_open" = "yes"; then |
4113 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac | 3885 case "$opsys" in decosf*) c_switch_site="$c_switch_site -threads";; esac |
4114 fi | 3886 fi |
4115 | 3887 |
4116 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 3888 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4117 echo "configure:4118: checking whether the -xildoff compiler flag is required" >&5 | 3889 echo "configure:3890: checking whether the -xildoff compiler flag is required" >&5 |
4118 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 3890 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4119 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 3891 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4120 then echo "$ac_t""no" 1>&6; | 3892 then echo "$ac_t""no" 1>&6; |
4121 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 3893 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
4122 fi | 3894 fi |
4123 else echo "$ac_t""no" 1>&6 | 3895 else echo "$ac_t""no" 1>&6 |
4124 fi | 3896 fi |
4125 | 3897 |
4126 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 3898 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4127 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 3899 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4128 echo "configure:4129: checking for \"-z ignore\" linker flag" >&5 | 3900 echo "configure:3901: checking for \"-z ignore\" linker flag" >&5 |
4129 case "`ld -h 2>&1`" in | 3901 case "`ld -h 2>&1`" in |
4130 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 3902 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4131 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 3903 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4132 *) echo "$ac_t""no" 1>&6 ;; | 3904 *) echo "$ac_t""no" 1>&6 ;; |
4133 esac | 3905 esac |
4134 fi | 3906 fi |
4135 | 3907 |
4136 | 3908 |
4137 echo "checking "for specified window system"" 1>&6 | 3909 echo "checking "for specified window system"" 1>&6 |
4138 echo "configure:4139: checking "for specified window system"" >&5 | 3910 echo "configure:3911: checking "for specified window system"" >&5 |
4139 | 3911 |
4140 if test "$with_x11" != "no"; then | 3912 if test "$with_x11" != "no"; then |
4141 test "$x_includes $x_libraries" != "NONE NONE" && \ | 3913 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4142 window_system=x11 with_x11=yes | 3914 window_system=x11 with_x11=yes |
4143 | 3915 |
4163 # If we find X, set shell vars x_includes and x_libraries to the | 3935 # If we find X, set shell vars x_includes and x_libraries to the |
4164 # paths, otherwise set no_x=yes. | 3936 # paths, otherwise set no_x=yes. |
4165 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3937 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4166 # --without-x overrides everything else, but does not touch the cache. | 3938 # --without-x overrides everything else, but does not touch the cache. |
4167 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3939 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4168 echo "configure:4169: checking for X" >&5 | 3940 echo "configure:3941: checking for X" >&5 |
4169 | 3941 |
4170 # Check whether --with-x or --without-x was given. | 3942 # Check whether --with-x or --without-x was given. |
4171 if test "${with_x+set}" = set; then | 3943 if test "${with_x+set}" = set; then |
4172 withval="$with_x" | 3944 withval="$with_x" |
4173 : | 3945 : |
4223 # Guess where to find include files, by looking for this one X11 .h file. | 3995 # Guess where to find include files, by looking for this one X11 .h file. |
4224 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3996 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4225 | 3997 |
4226 # First, try using that file with no special directory specified. | 3998 # First, try using that file with no special directory specified. |
4227 cat > conftest.$ac_ext <<EOF | 3999 cat > conftest.$ac_ext <<EOF |
4228 #line 4229 "configure" | 4000 #line 4001 "configure" |
4229 #include "confdefs.h" | 4001 #include "confdefs.h" |
4230 #include <$x_direct_test_include> | 4002 #include <$x_direct_test_include> |
4231 EOF | 4003 EOF |
4232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4233 { (eval echo configure:4234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4005 { (eval echo configure:4006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4234 ac_err=`grep -v '^ *+' conftest.out` | 4006 ac_err=`grep -v '^ *+' conftest.out` |
4235 if test -z "$ac_err"; then | 4007 if test -z "$ac_err"; then |
4236 rm -rf conftest* | 4008 rm -rf conftest* |
4237 # We can compile using X headers with no special include directory. | 4009 # We can compile using X headers with no special include directory. |
4238 ac_x_includes= | 4010 ac_x_includes= |
4297 # See if we find them without any special options. | 4069 # See if we find them without any special options. |
4298 # Don't add to $LIBS permanently. | 4070 # Don't add to $LIBS permanently. |
4299 ac_save_LIBS="$LIBS" | 4071 ac_save_LIBS="$LIBS" |
4300 LIBS="-l$x_direct_test_library $LIBS" | 4072 LIBS="-l$x_direct_test_library $LIBS" |
4301 cat > conftest.$ac_ext <<EOF | 4073 cat > conftest.$ac_ext <<EOF |
4302 #line 4303 "configure" | 4074 #line 4075 "configure" |
4303 #include "confdefs.h" | 4075 #include "confdefs.h" |
4304 | 4076 |
4305 int main() { | 4077 int main() { |
4306 ${x_direct_test_function}() | 4078 ${x_direct_test_function}() |
4307 ; return 0; } | 4079 ; return 0; } |
4308 EOF | 4080 EOF |
4309 if { (eval echo configure:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4081 if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4310 rm -rf conftest* | 4082 rm -rf conftest* |
4311 LIBS="$ac_save_LIBS" | 4083 LIBS="$ac_save_LIBS" |
4312 # We can link X programs with no special library path. | 4084 # We can link X programs with no special library path. |
4313 ac_x_libraries= | 4085 ac_x_libraries= |
4314 else | 4086 else |
4413 # For Solaris; some versions of Sun CC require a space after -R and | 4185 # For Solaris; some versions of Sun CC require a space after -R and |
4414 # others require no space. Words are not sufficient . . . . | 4186 # others require no space. Words are not sufficient . . . . |
4415 case "`(uname -sr) 2>/dev/null`" in | 4187 case "`(uname -sr) 2>/dev/null`" in |
4416 "SunOS 5"*) | 4188 "SunOS 5"*) |
4417 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4189 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4418 echo "configure:4419: checking whether -R must be followed by a space" >&5 | 4190 echo "configure:4191: checking whether -R must be followed by a space" >&5 |
4419 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4191 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4420 cat > conftest.$ac_ext <<EOF | 4192 cat > conftest.$ac_ext <<EOF |
4421 #line 4422 "configure" | 4193 #line 4194 "configure" |
4422 #include "confdefs.h" | 4194 #include "confdefs.h" |
4423 | 4195 |
4424 int main() { | 4196 int main() { |
4425 | 4197 |
4426 ; return 0; } | 4198 ; return 0; } |
4427 EOF | 4199 EOF |
4428 if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4200 if { (eval echo configure:4201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4429 rm -rf conftest* | 4201 rm -rf conftest* |
4430 ac_R_nospace=yes | 4202 ac_R_nospace=yes |
4431 else | 4203 else |
4432 echo "configure: failed program was:" >&5 | 4204 echo "configure: failed program was:" >&5 |
4433 cat conftest.$ac_ext >&5 | 4205 cat conftest.$ac_ext >&5 |
4439 echo "$ac_t""no" 1>&6 | 4211 echo "$ac_t""no" 1>&6 |
4440 X_LIBS="$X_LIBS -R$x_libraries" | 4212 X_LIBS="$X_LIBS -R$x_libraries" |
4441 else | 4213 else |
4442 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4214 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4443 cat > conftest.$ac_ext <<EOF | 4215 cat > conftest.$ac_ext <<EOF |
4444 #line 4445 "configure" | 4216 #line 4217 "configure" |
4445 #include "confdefs.h" | 4217 #include "confdefs.h" |
4446 | 4218 |
4447 int main() { | 4219 int main() { |
4448 | 4220 |
4449 ; return 0; } | 4221 ; return 0; } |
4450 EOF | 4222 EOF |
4451 if { (eval echo configure:4452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4223 if { (eval echo configure:4224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4452 rm -rf conftest* | 4224 rm -rf conftest* |
4453 ac_R_space=yes | 4225 ac_R_space=yes |
4454 else | 4226 else |
4455 echo "configure: failed program was:" >&5 | 4227 echo "configure: failed program was:" >&5 |
4456 cat conftest.$ac_ext >&5 | 4228 cat conftest.$ac_ext >&5 |
4482 if test "$with_dnet" = "no" ; then | 4254 if test "$with_dnet" = "no" ; then |
4483 ac_cv_lib_dnet_dnet_ntoa=no | 4255 ac_cv_lib_dnet_dnet_ntoa=no |
4484 else | 4256 else |
4485 | 4257 |
4486 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 4258 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
4487 echo "configure:4488: checking for dnet_ntoa in -ldnet" >&5 | 4259 echo "configure:4260: checking for dnet_ntoa in -ldnet" >&5 |
4488 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4260 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4489 | 4261 |
4490 xe_check_libs=" -ldnet " | 4262 xe_check_libs=" -ldnet " |
4491 cat > conftest.$ac_ext <<EOF | 4263 cat > conftest.$ac_ext <<EOF |
4492 #line 4493 "configure" | 4264 #line 4265 "configure" |
4493 #include "confdefs.h" | 4265 #include "confdefs.h" |
4494 /* Override any gcc2 internal prototype to avoid an error. */ | 4266 /* Override any gcc2 internal prototype to avoid an error. */ |
4495 /* We use char because int might match the return type of a gcc2 | 4267 /* We use char because int might match the return type of a gcc2 |
4496 builtin and then its argument prototype would still apply. */ | 4268 builtin and then its argument prototype would still apply. */ |
4497 char dnet_ntoa(); | 4269 char dnet_ntoa(); |
4498 | 4270 |
4499 int main() { | 4271 int main() { |
4500 dnet_ntoa() | 4272 dnet_ntoa() |
4501 ; return 0; } | 4273 ; return 0; } |
4502 EOF | 4274 EOF |
4503 if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4275 if { (eval echo configure:4276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4504 rm -rf conftest* | 4276 rm -rf conftest* |
4505 eval "ac_cv_lib_$ac_lib_var=yes" | 4277 eval "ac_cv_lib_$ac_lib_var=yes" |
4506 else | 4278 else |
4507 echo "configure: failed program was:" >&5 | 4279 echo "configure: failed program was:" >&5 |
4508 cat conftest.$ac_ext >&5 | 4280 cat conftest.$ac_ext >&5 |
4522 fi | 4294 fi |
4523 | 4295 |
4524 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 4296 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
4525 | 4297 |
4526 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 4298 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
4527 echo "configure:4528: checking for dnet_ntoa in -ldnet_stub" >&5 | 4299 echo "configure:4300: checking for dnet_ntoa in -ldnet_stub" >&5 |
4528 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 4300 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
4529 | 4301 |
4530 xe_check_libs=" -ldnet_stub " | 4302 xe_check_libs=" -ldnet_stub " |
4531 cat > conftest.$ac_ext <<EOF | 4303 cat > conftest.$ac_ext <<EOF |
4532 #line 4533 "configure" | 4304 #line 4305 "configure" |
4533 #include "confdefs.h" | 4305 #include "confdefs.h" |
4534 /* Override any gcc2 internal prototype to avoid an error. */ | 4306 /* Override any gcc2 internal prototype to avoid an error. */ |
4535 /* We use char because int might match the return type of a gcc2 | 4307 /* We use char because int might match the return type of a gcc2 |
4536 builtin and then its argument prototype would still apply. */ | 4308 builtin and then its argument prototype would still apply. */ |
4537 char dnet_ntoa(); | 4309 char dnet_ntoa(); |
4538 | 4310 |
4539 int main() { | 4311 int main() { |
4540 dnet_ntoa() | 4312 dnet_ntoa() |
4541 ; return 0; } | 4313 ; return 0; } |
4542 EOF | 4314 EOF |
4543 if { (eval echo configure:4544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4315 if { (eval echo configure:4316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4544 rm -rf conftest* | 4316 rm -rf conftest* |
4545 eval "ac_cv_lib_$ac_lib_var=yes" | 4317 eval "ac_cv_lib_$ac_lib_var=yes" |
4546 else | 4318 else |
4547 echo "configure: failed program was:" >&5 | 4319 echo "configure: failed program was:" >&5 |
4548 cat conftest.$ac_ext >&5 | 4320 cat conftest.$ac_ext >&5 |
4567 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 4339 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
4568 # needs -lnsl. | 4340 # needs -lnsl. |
4569 # The nsl library prevents programs from opening the X display | 4341 # The nsl library prevents programs from opening the X display |
4570 # on Irix 5.2, according to dickey@clark.net. | 4342 # on Irix 5.2, according to dickey@clark.net. |
4571 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 4343 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
4572 echo "configure:4573: checking for gethostbyname" >&5 | 4344 echo "configure:4345: checking for gethostbyname" >&5 |
4573 | 4345 |
4574 cat > conftest.$ac_ext <<EOF | 4346 cat > conftest.$ac_ext <<EOF |
4575 #line 4576 "configure" | 4347 #line 4348 "configure" |
4576 #include "confdefs.h" | 4348 #include "confdefs.h" |
4577 /* System header to define __stub macros and hopefully few prototypes, | 4349 /* System header to define __stub macros and hopefully few prototypes, |
4578 which can conflict with char gethostbyname(); below. */ | 4350 which can conflict with char gethostbyname(); below. */ |
4579 #include <assert.h> | 4351 #include <assert.h> |
4580 /* Override any gcc2 internal prototype to avoid an error. */ | 4352 /* Override any gcc2 internal prototype to avoid an error. */ |
4593 gethostbyname(); | 4365 gethostbyname(); |
4594 #endif | 4366 #endif |
4595 | 4367 |
4596 ; return 0; } | 4368 ; return 0; } |
4597 EOF | 4369 EOF |
4598 if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4370 if { (eval echo configure:4371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4599 rm -rf conftest* | 4371 rm -rf conftest* |
4600 eval "ac_cv_func_gethostbyname=yes" | 4372 eval "ac_cv_func_gethostbyname=yes" |
4601 else | 4373 else |
4602 echo "configure: failed program was:" >&5 | 4374 echo "configure: failed program was:" >&5 |
4603 cat conftest.$ac_ext >&5 | 4375 cat conftest.$ac_ext >&5 |
4614 fi | 4386 fi |
4615 | 4387 |
4616 if test $ac_cv_func_gethostbyname = no; then | 4388 if test $ac_cv_func_gethostbyname = no; then |
4617 | 4389 |
4618 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 4390 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
4619 echo "configure:4620: checking for gethostbyname in -lnsl" >&5 | 4391 echo "configure:4392: checking for gethostbyname in -lnsl" >&5 |
4620 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 4392 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
4621 | 4393 |
4622 xe_check_libs=" -lnsl " | 4394 xe_check_libs=" -lnsl " |
4623 cat > conftest.$ac_ext <<EOF | 4395 cat > conftest.$ac_ext <<EOF |
4624 #line 4625 "configure" | 4396 #line 4397 "configure" |
4625 #include "confdefs.h" | 4397 #include "confdefs.h" |
4626 /* Override any gcc2 internal prototype to avoid an error. */ | 4398 /* Override any gcc2 internal prototype to avoid an error. */ |
4627 /* We use char because int might match the return type of a gcc2 | 4399 /* We use char because int might match the return type of a gcc2 |
4628 builtin and then its argument prototype would still apply. */ | 4400 builtin and then its argument prototype would still apply. */ |
4629 char gethostbyname(); | 4401 char gethostbyname(); |
4630 | 4402 |
4631 int main() { | 4403 int main() { |
4632 gethostbyname() | 4404 gethostbyname() |
4633 ; return 0; } | 4405 ; return 0; } |
4634 EOF | 4406 EOF |
4635 if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4407 if { (eval echo configure:4408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4636 rm -rf conftest* | 4408 rm -rf conftest* |
4637 eval "ac_cv_lib_$ac_lib_var=yes" | 4409 eval "ac_cv_lib_$ac_lib_var=yes" |
4638 else | 4410 else |
4639 echo "configure: failed program was:" >&5 | 4411 echo "configure: failed program was:" >&5 |
4640 cat conftest.$ac_ext >&5 | 4412 cat conftest.$ac_ext >&5 |
4660 # on later versions), says simon@lia.di.epfl.ch: it contains | 4432 # on later versions), says simon@lia.di.epfl.ch: it contains |
4661 # gethostby* variants that don't use the nameserver (or something). | 4433 # gethostby* variants that don't use the nameserver (or something). |
4662 # -lsocket must be given before -lnsl if both are needed. | 4434 # -lsocket must be given before -lnsl if both are needed. |
4663 # We assume that if connect needs -lnsl, so does gethostbyname. | 4435 # We assume that if connect needs -lnsl, so does gethostbyname. |
4664 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 4436 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
4665 echo "configure:4666: checking for connect" >&5 | 4437 echo "configure:4438: checking for connect" >&5 |
4666 | 4438 |
4667 cat > conftest.$ac_ext <<EOF | 4439 cat > conftest.$ac_ext <<EOF |
4668 #line 4669 "configure" | 4440 #line 4441 "configure" |
4669 #include "confdefs.h" | 4441 #include "confdefs.h" |
4670 /* System header to define __stub macros and hopefully few prototypes, | 4442 /* System header to define __stub macros and hopefully few prototypes, |
4671 which can conflict with char connect(); below. */ | 4443 which can conflict with char connect(); below. */ |
4672 #include <assert.h> | 4444 #include <assert.h> |
4673 /* Override any gcc2 internal prototype to avoid an error. */ | 4445 /* Override any gcc2 internal prototype to avoid an error. */ |
4686 connect(); | 4458 connect(); |
4687 #endif | 4459 #endif |
4688 | 4460 |
4689 ; return 0; } | 4461 ; return 0; } |
4690 EOF | 4462 EOF |
4691 if { (eval echo configure:4692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4463 if { (eval echo configure:4464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4692 rm -rf conftest* | 4464 rm -rf conftest* |
4693 eval "ac_cv_func_connect=yes" | 4465 eval "ac_cv_func_connect=yes" |
4694 else | 4466 else |
4695 echo "configure: failed program was:" >&5 | 4467 echo "configure: failed program was:" >&5 |
4696 cat conftest.$ac_ext >&5 | 4468 cat conftest.$ac_ext >&5 |
4709 if test $ac_cv_func_connect = no; then | 4481 if test $ac_cv_func_connect = no; then |
4710 | 4482 |
4711 xe_msg_checking="for connect in -lsocket" | 4483 xe_msg_checking="for connect in -lsocket" |
4712 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 4484 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
4713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4485 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
4714 echo "configure:4715: checking "$xe_msg_checking"" >&5 | 4486 echo "configure:4487: checking "$xe_msg_checking"" >&5 |
4715 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 4487 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
4716 | 4488 |
4717 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 4489 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
4718 cat > conftest.$ac_ext <<EOF | 4490 cat > conftest.$ac_ext <<EOF |
4719 #line 4720 "configure" | 4491 #line 4492 "configure" |
4720 #include "confdefs.h" | 4492 #include "confdefs.h" |
4721 /* Override any gcc2 internal prototype to avoid an error. */ | 4493 /* Override any gcc2 internal prototype to avoid an error. */ |
4722 /* We use char because int might match the return type of a gcc2 | 4494 /* We use char because int might match the return type of a gcc2 |
4723 builtin and then its argument prototype would still apply. */ | 4495 builtin and then its argument prototype would still apply. */ |
4724 char connect(); | 4496 char connect(); |
4725 | 4497 |
4726 int main() { | 4498 int main() { |
4727 connect() | 4499 connect() |
4728 ; return 0; } | 4500 ; return 0; } |
4729 EOF | 4501 EOF |
4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4502 if { (eval echo configure:4503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4731 rm -rf conftest* | 4503 rm -rf conftest* |
4732 eval "ac_cv_lib_$ac_lib_var=yes" | 4504 eval "ac_cv_lib_$ac_lib_var=yes" |
4733 else | 4505 else |
4734 echo "configure: failed program was:" >&5 | 4506 echo "configure: failed program was:" >&5 |
4735 cat conftest.$ac_ext >&5 | 4507 cat conftest.$ac_ext >&5 |
4749 | 4521 |
4750 fi | 4522 fi |
4751 | 4523 |
4752 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 4524 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
4753 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 4525 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
4754 echo "configure:4755: checking for remove" >&5 | 4526 echo "configure:4527: checking for remove" >&5 |
4755 | 4527 |
4756 cat > conftest.$ac_ext <<EOF | 4528 cat > conftest.$ac_ext <<EOF |
4757 #line 4758 "configure" | 4529 #line 4530 "configure" |
4758 #include "confdefs.h" | 4530 #include "confdefs.h" |
4759 /* System header to define __stub macros and hopefully few prototypes, | 4531 /* System header to define __stub macros and hopefully few prototypes, |
4760 which can conflict with char remove(); below. */ | 4532 which can conflict with char remove(); below. */ |
4761 #include <assert.h> | 4533 #include <assert.h> |
4762 /* Override any gcc2 internal prototype to avoid an error. */ | 4534 /* Override any gcc2 internal prototype to avoid an error. */ |
4775 remove(); | 4547 remove(); |
4776 #endif | 4548 #endif |
4777 | 4549 |
4778 ; return 0; } | 4550 ; return 0; } |
4779 EOF | 4551 EOF |
4780 if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4552 if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4781 rm -rf conftest* | 4553 rm -rf conftest* |
4782 eval "ac_cv_func_remove=yes" | 4554 eval "ac_cv_func_remove=yes" |
4783 else | 4555 else |
4784 echo "configure: failed program was:" >&5 | 4556 echo "configure: failed program was:" >&5 |
4785 cat conftest.$ac_ext >&5 | 4557 cat conftest.$ac_ext >&5 |
4796 fi | 4568 fi |
4797 | 4569 |
4798 if test $ac_cv_func_remove = no; then | 4570 if test $ac_cv_func_remove = no; then |
4799 | 4571 |
4800 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 4572 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
4801 echo "configure:4802: checking for remove in -lposix" >&5 | 4573 echo "configure:4574: checking for remove in -lposix" >&5 |
4802 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 4574 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
4803 | 4575 |
4804 xe_check_libs=" -lposix " | 4576 xe_check_libs=" -lposix " |
4805 cat > conftest.$ac_ext <<EOF | 4577 cat > conftest.$ac_ext <<EOF |
4806 #line 4807 "configure" | 4578 #line 4579 "configure" |
4807 #include "confdefs.h" | 4579 #include "confdefs.h" |
4808 /* Override any gcc2 internal prototype to avoid an error. */ | 4580 /* Override any gcc2 internal prototype to avoid an error. */ |
4809 /* We use char because int might match the return type of a gcc2 | 4581 /* We use char because int might match the return type of a gcc2 |
4810 builtin and then its argument prototype would still apply. */ | 4582 builtin and then its argument prototype would still apply. */ |
4811 char remove(); | 4583 char remove(); |
4812 | 4584 |
4813 int main() { | 4585 int main() { |
4814 remove() | 4586 remove() |
4815 ; return 0; } | 4587 ; return 0; } |
4816 EOF | 4588 EOF |
4817 if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4589 if { (eval echo configure:4590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4818 rm -rf conftest* | 4590 rm -rf conftest* |
4819 eval "ac_cv_lib_$ac_lib_var=yes" | 4591 eval "ac_cv_lib_$ac_lib_var=yes" |
4820 else | 4592 else |
4821 echo "configure: failed program was:" >&5 | 4593 echo "configure: failed program was:" >&5 |
4822 cat conftest.$ac_ext >&5 | 4594 cat conftest.$ac_ext >&5 |
4836 | 4608 |
4837 fi | 4609 fi |
4838 | 4610 |
4839 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 4611 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
4840 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 4612 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
4841 echo "configure:4842: checking for shmat" >&5 | 4613 echo "configure:4614: checking for shmat" >&5 |
4842 | 4614 |
4843 cat > conftest.$ac_ext <<EOF | 4615 cat > conftest.$ac_ext <<EOF |
4844 #line 4845 "configure" | 4616 #line 4617 "configure" |
4845 #include "confdefs.h" | 4617 #include "confdefs.h" |
4846 /* System header to define __stub macros and hopefully few prototypes, | 4618 /* System header to define __stub macros and hopefully few prototypes, |
4847 which can conflict with char shmat(); below. */ | 4619 which can conflict with char shmat(); below. */ |
4848 #include <assert.h> | 4620 #include <assert.h> |
4849 /* Override any gcc2 internal prototype to avoid an error. */ | 4621 /* Override any gcc2 internal prototype to avoid an error. */ |
4862 shmat(); | 4634 shmat(); |
4863 #endif | 4635 #endif |
4864 | 4636 |
4865 ; return 0; } | 4637 ; return 0; } |
4866 EOF | 4638 EOF |
4867 if { (eval echo configure:4868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4868 rm -rf conftest* | 4640 rm -rf conftest* |
4869 eval "ac_cv_func_shmat=yes" | 4641 eval "ac_cv_func_shmat=yes" |
4870 else | 4642 else |
4871 echo "configure: failed program was:" >&5 | 4643 echo "configure: failed program was:" >&5 |
4872 cat conftest.$ac_ext >&5 | 4644 cat conftest.$ac_ext >&5 |
4883 fi | 4655 fi |
4884 | 4656 |
4885 if test $ac_cv_func_shmat = no; then | 4657 if test $ac_cv_func_shmat = no; then |
4886 | 4658 |
4887 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 4659 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
4888 echo "configure:4889: checking for shmat in -lipc" >&5 | 4660 echo "configure:4661: checking for shmat in -lipc" >&5 |
4889 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 4661 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
4890 | 4662 |
4891 xe_check_libs=" -lipc " | 4663 xe_check_libs=" -lipc " |
4892 cat > conftest.$ac_ext <<EOF | 4664 cat > conftest.$ac_ext <<EOF |
4893 #line 4894 "configure" | 4665 #line 4666 "configure" |
4894 #include "confdefs.h" | 4666 #include "confdefs.h" |
4895 /* Override any gcc2 internal prototype to avoid an error. */ | 4667 /* Override any gcc2 internal prototype to avoid an error. */ |
4896 /* We use char because int might match the return type of a gcc2 | 4668 /* We use char because int might match the return type of a gcc2 |
4897 builtin and then its argument prototype would still apply. */ | 4669 builtin and then its argument prototype would still apply. */ |
4898 char shmat(); | 4670 char shmat(); |
4899 | 4671 |
4900 int main() { | 4672 int main() { |
4901 shmat() | 4673 shmat() |
4902 ; return 0; } | 4674 ; return 0; } |
4903 EOF | 4675 EOF |
4904 if { (eval echo configure:4905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4676 if { (eval echo configure:4677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4905 rm -rf conftest* | 4677 rm -rf conftest* |
4906 eval "ac_cv_lib_$ac_lib_var=yes" | 4678 eval "ac_cv_lib_$ac_lib_var=yes" |
4907 else | 4679 else |
4908 echo "configure: failed program was:" >&5 | 4680 echo "configure: failed program was:" >&5 |
4909 cat conftest.$ac_ext >&5 | 4681 cat conftest.$ac_ext >&5 |
4933 # These have to be linked with before -lX11, unlike the other | 4705 # These have to be linked with before -lX11, unlike the other |
4934 # libraries we check for below, so use a different variable. | 4706 # libraries we check for below, so use a different variable. |
4935 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 4707 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
4936 | 4708 |
4937 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 4709 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
4938 echo "configure:4939: checking for IceConnectionNumber in -lICE" >&5 | 4710 echo "configure:4711: checking for IceConnectionNumber in -lICE" >&5 |
4939 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 4711 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
4940 | 4712 |
4941 xe_check_libs=" -lICE " | 4713 xe_check_libs=" -lICE " |
4942 cat > conftest.$ac_ext <<EOF | 4714 cat > conftest.$ac_ext <<EOF |
4943 #line 4944 "configure" | 4715 #line 4716 "configure" |
4944 #include "confdefs.h" | 4716 #include "confdefs.h" |
4945 /* Override any gcc2 internal prototype to avoid an error. */ | 4717 /* Override any gcc2 internal prototype to avoid an error. */ |
4946 /* We use char because int might match the return type of a gcc2 | 4718 /* We use char because int might match the return type of a gcc2 |
4947 builtin and then its argument prototype would still apply. */ | 4719 builtin and then its argument prototype would still apply. */ |
4948 char IceConnectionNumber(); | 4720 char IceConnectionNumber(); |
4949 | 4721 |
4950 int main() { | 4722 int main() { |
4951 IceConnectionNumber() | 4723 IceConnectionNumber() |
4952 ; return 0; } | 4724 ; return 0; } |
4953 EOF | 4725 EOF |
4954 if { (eval echo configure:4955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4726 if { (eval echo configure:4727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
4955 rm -rf conftest* | 4727 rm -rf conftest* |
4956 eval "ac_cv_lib_$ac_lib_var=yes" | 4728 eval "ac_cv_lib_$ac_lib_var=yes" |
4957 else | 4729 else |
4958 echo "configure: failed program was:" >&5 | 4730 echo "configure: failed program was:" >&5 |
4959 cat conftest.$ac_ext >&5 | 4731 cat conftest.$ac_ext >&5 |
5082 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done | 4854 for var in x_libraries x_includes X_CFLAGS X_LIBS X_PRE_LIBS X_EXTRA_LIBS; do eval "echo \"$var = '\$$var'\""; done |
5083 echo | 4855 echo |
5084 fi | 4856 fi |
5085 | 4857 |
5086 echo "checking for X defines extracted by xmkmf" 1>&6 | 4858 echo "checking for X defines extracted by xmkmf" 1>&6 |
5087 echo "configure:5088: checking for X defines extracted by xmkmf" >&5 | 4859 echo "configure:4860: checking for X defines extracted by xmkmf" >&5 |
5088 rm -fr conftestdir | 4860 rm -fr conftestdir |
5089 if mkdir conftestdir; then | 4861 if mkdir conftestdir; then |
5090 cd conftestdir | 4862 cd conftestdir |
5091 cat > Imakefile <<'EOF' | 4863 cat > Imakefile <<'EOF' |
5092 xetest: | 4864 xetest: |
5114 done | 4886 done |
5115 fi | 4887 fi |
5116 | 4888 |
5117 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 4889 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5118 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 4890 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5119 echo "configure:5120: checking for X11/Intrinsic.h" >&5 | 4891 echo "configure:4892: checking for X11/Intrinsic.h" >&5 |
5120 | 4892 |
5121 cat > conftest.$ac_ext <<EOF | 4893 cat > conftest.$ac_ext <<EOF |
5122 #line 5123 "configure" | 4894 #line 4895 "configure" |
5123 #include "confdefs.h" | 4895 #include "confdefs.h" |
5124 #include <X11/Intrinsic.h> | 4896 #include <X11/Intrinsic.h> |
5125 EOF | 4897 EOF |
5126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5127 { (eval echo configure:5128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4899 { (eval echo configure:4900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5128 ac_err=`grep -v '^ *+' conftest.out` | 4900 ac_err=`grep -v '^ *+' conftest.out` |
5129 if test -z "$ac_err"; then | 4901 if test -z "$ac_err"; then |
5130 rm -rf conftest* | 4902 rm -rf conftest* |
5131 eval "ac_cv_header_$ac_safe=yes" | 4903 eval "ac_cv_header_$ac_safe=yes" |
5132 else | 4904 else |
5146 fi | 4918 fi |
5147 | 4919 |
5148 | 4920 |
5149 | 4921 |
5150 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 4922 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5151 echo "configure:5152: checking for XOpenDisplay in -lX11" >&5 | 4923 echo "configure:4924: checking for XOpenDisplay in -lX11" >&5 |
5152 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 4924 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5153 | 4925 |
5154 xe_check_libs=" -lX11 " | 4926 xe_check_libs=" -lX11 " |
5155 cat > conftest.$ac_ext <<EOF | 4927 cat > conftest.$ac_ext <<EOF |
5156 #line 5157 "configure" | 4928 #line 4929 "configure" |
5157 #include "confdefs.h" | 4929 #include "confdefs.h" |
5158 /* Override any gcc2 internal prototype to avoid an error. */ | 4930 /* Override any gcc2 internal prototype to avoid an error. */ |
5159 /* We use char because int might match the return type of a gcc2 | 4931 /* We use char because int might match the return type of a gcc2 |
5160 builtin and then its argument prototype would still apply. */ | 4932 builtin and then its argument prototype would still apply. */ |
5161 char XOpenDisplay(); | 4933 char XOpenDisplay(); |
5162 | 4934 |
5163 int main() { | 4935 int main() { |
5164 XOpenDisplay() | 4936 XOpenDisplay() |
5165 ; return 0; } | 4937 ; return 0; } |
5166 EOF | 4938 EOF |
5167 if { (eval echo configure:5168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4939 if { (eval echo configure:4940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5168 rm -rf conftest* | 4940 rm -rf conftest* |
5169 eval "ac_cv_lib_$ac_lib_var=yes" | 4941 eval "ac_cv_lib_$ac_lib_var=yes" |
5170 else | 4942 else |
5171 echo "configure: failed program was:" >&5 | 4943 echo "configure: failed program was:" >&5 |
5172 cat conftest.$ac_ext >&5 | 4944 cat conftest.$ac_ext >&5 |
5187 if test "$have_lib_x11" != "yes"; then | 4959 if test "$have_lib_x11" != "yes"; then |
5188 | 4960 |
5189 xe_msg_checking="for XGetFontProperty in -lX11" | 4961 xe_msg_checking="for XGetFontProperty in -lX11" |
5190 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 4962 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5191 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 4963 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5192 echo "configure:5193: checking "$xe_msg_checking"" >&5 | 4964 echo "configure:4965: checking "$xe_msg_checking"" >&5 |
5193 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 4965 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5194 | 4966 |
5195 xe_check_libs=" -lX11 -b i486-linuxaout" | 4967 xe_check_libs=" -lX11 -b i486-linuxaout" |
5196 cat > conftest.$ac_ext <<EOF | 4968 cat > conftest.$ac_ext <<EOF |
5197 #line 5198 "configure" | 4969 #line 4970 "configure" |
5198 #include "confdefs.h" | 4970 #include "confdefs.h" |
5199 /* Override any gcc2 internal prototype to avoid an error. */ | 4971 /* Override any gcc2 internal prototype to avoid an error. */ |
5200 /* We use char because int might match the return type of a gcc2 | 4972 /* We use char because int might match the return type of a gcc2 |
5201 builtin and then its argument prototype would still apply. */ | 4973 builtin and then its argument prototype would still apply. */ |
5202 char XGetFontProperty(); | 4974 char XGetFontProperty(); |
5203 | 4975 |
5204 int main() { | 4976 int main() { |
5205 XGetFontProperty() | 4977 XGetFontProperty() |
5206 ; return 0; } | 4978 ; return 0; } |
5207 EOF | 4979 EOF |
5208 if { (eval echo configure:5209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5209 rm -rf conftest* | 4981 rm -rf conftest* |
5210 eval "ac_cv_lib_$ac_lib_var=yes" | 4982 eval "ac_cv_lib_$ac_lib_var=yes" |
5211 else | 4983 else |
5212 echo "configure: failed program was:" >&5 | 4984 echo "configure: failed program was:" >&5 |
5213 cat conftest.$ac_ext >&5 | 4985 cat conftest.$ac_ext >&5 |
5230 libs_x="-lX11" | 5002 libs_x="-lX11" |
5231 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5003 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5232 | 5004 |
5233 | 5005 |
5234 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5006 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5235 echo "configure:5236: checking for XShapeSelectInput in -lXext" >&5 | 5007 echo "configure:5008: checking for XShapeSelectInput in -lXext" >&5 |
5236 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5008 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5237 | 5009 |
5238 xe_check_libs=" -lXext " | 5010 xe_check_libs=" -lXext " |
5239 cat > conftest.$ac_ext <<EOF | 5011 cat > conftest.$ac_ext <<EOF |
5240 #line 5241 "configure" | 5012 #line 5013 "configure" |
5241 #include "confdefs.h" | 5013 #include "confdefs.h" |
5242 /* Override any gcc2 internal prototype to avoid an error. */ | 5014 /* Override any gcc2 internal prototype to avoid an error. */ |
5243 /* We use char because int might match the return type of a gcc2 | 5015 /* We use char because int might match the return type of a gcc2 |
5244 builtin and then its argument prototype would still apply. */ | 5016 builtin and then its argument prototype would still apply. */ |
5245 char XShapeSelectInput(); | 5017 char XShapeSelectInput(); |
5246 | 5018 |
5247 int main() { | 5019 int main() { |
5248 XShapeSelectInput() | 5020 XShapeSelectInput() |
5249 ; return 0; } | 5021 ; return 0; } |
5250 EOF | 5022 EOF |
5251 if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5023 if { (eval echo configure:5024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5252 rm -rf conftest* | 5024 rm -rf conftest* |
5253 eval "ac_cv_lib_$ac_lib_var=yes" | 5025 eval "ac_cv_lib_$ac_lib_var=yes" |
5254 else | 5026 else |
5255 echo "configure: failed program was:" >&5 | 5027 echo "configure: failed program was:" >&5 |
5256 cat conftest.$ac_ext >&5 | 5028 cat conftest.$ac_ext >&5 |
5269 | 5041 |
5270 | 5042 |
5271 | 5043 |
5272 | 5044 |
5273 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5045 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5274 echo "configure:5275: checking for XtOpenDisplay in -lXt" >&5 | 5046 echo "configure:5047: checking for XtOpenDisplay in -lXt" >&5 |
5275 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5047 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5276 | 5048 |
5277 xe_check_libs=" -lXt " | 5049 xe_check_libs=" -lXt " |
5278 cat > conftest.$ac_ext <<EOF | 5050 cat > conftest.$ac_ext <<EOF |
5279 #line 5280 "configure" | 5051 #line 5052 "configure" |
5280 #include "confdefs.h" | 5052 #include "confdefs.h" |
5281 /* Override any gcc2 internal prototype to avoid an error. */ | 5053 /* Override any gcc2 internal prototype to avoid an error. */ |
5282 /* We use char because int might match the return type of a gcc2 | 5054 /* We use char because int might match the return type of a gcc2 |
5283 builtin and then its argument prototype would still apply. */ | 5055 builtin and then its argument prototype would still apply. */ |
5284 char XtOpenDisplay(); | 5056 char XtOpenDisplay(); |
5285 | 5057 |
5286 int main() { | 5058 int main() { |
5287 XtOpenDisplay() | 5059 XtOpenDisplay() |
5288 ; return 0; } | 5060 ; return 0; } |
5289 EOF | 5061 EOF |
5290 if { (eval echo configure:5291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5062 if { (eval echo configure:5063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5291 rm -rf conftest* | 5063 rm -rf conftest* |
5292 eval "ac_cv_lib_$ac_lib_var=yes" | 5064 eval "ac_cv_lib_$ac_lib_var=yes" |
5293 else | 5065 else |
5294 echo "configure: failed program was:" >&5 | 5066 echo "configure: failed program was:" >&5 |
5295 cat conftest.$ac_ext >&5 | 5067 cat conftest.$ac_ext >&5 |
5308 fi | 5080 fi |
5309 | 5081 |
5310 | 5082 |
5311 | 5083 |
5312 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5084 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5313 echo "configure:5314: checking the version of X11 being used" >&5 | 5085 echo "configure:5086: checking the version of X11 being used" >&5 |
5314 cat > conftest.$ac_ext <<EOF | 5086 cat > conftest.$ac_ext <<EOF |
5315 #line 5316 "configure" | 5087 #line 5088 "configure" |
5316 #include "confdefs.h" | 5088 #include "confdefs.h" |
5317 #include <X11/Intrinsic.h> | 5089 #include <X11/Intrinsic.h> |
5318 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5090 main(int c, char* v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5319 EOF | 5091 EOF |
5320 if { (eval echo configure:5321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5092 if { (eval echo configure:5093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5321 then | 5093 then |
5322 ./conftest foobar; x11_release=$? | 5094 ./conftest foobar; x11_release=$? |
5323 else | 5095 else |
5324 echo "configure: failed program was:" >&5 | 5096 echo "configure: failed program was:" >&5 |
5325 cat conftest.$ac_ext >&5 | 5097 cat conftest.$ac_ext >&5 |
5339 | 5111 |
5340 for ac_hdr in X11/Xlocale.h | 5112 for ac_hdr in X11/Xlocale.h |
5341 do | 5113 do |
5342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5114 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5115 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5344 echo "configure:5345: checking for $ac_hdr" >&5 | 5116 echo "configure:5117: checking for $ac_hdr" >&5 |
5345 | 5117 |
5346 cat > conftest.$ac_ext <<EOF | 5118 cat > conftest.$ac_ext <<EOF |
5347 #line 5348 "configure" | 5119 #line 5120 "configure" |
5348 #include "confdefs.h" | 5120 #include "confdefs.h" |
5349 #include <$ac_hdr> | 5121 #include <$ac_hdr> |
5350 EOF | 5122 EOF |
5351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5352 { (eval echo configure:5353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5124 { (eval echo configure:5125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5353 ac_err=`grep -v '^ *+' conftest.out` | 5125 ac_err=`grep -v '^ *+' conftest.out` |
5354 if test -z "$ac_err"; then | 5126 if test -z "$ac_err"; then |
5355 rm -rf conftest* | 5127 rm -rf conftest* |
5356 eval "ac_cv_header_$ac_safe=yes" | 5128 eval "ac_cv_header_$ac_safe=yes" |
5357 else | 5129 else |
5378 fi | 5150 fi |
5379 done | 5151 done |
5380 | 5152 |
5381 | 5153 |
5382 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5154 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5383 echo "configure:5384: checking for XFree86" >&5 | 5155 echo "configure:5156: checking for XFree86" >&5 |
5384 if test -d "/usr/X386/include" -o \ | 5156 if test -d "/usr/X386/include" -o \ |
5385 -f "/etc/XF86Config" -o \ | 5157 -f "/etc/XF86Config" -o \ |
5386 -f "/etc/X11/XF86Config" -o \ | 5158 -f "/etc/X11/XF86Config" -o \ |
5387 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5159 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5388 echo "$ac_t""yes" 1>&6 | 5160 echo "$ac_t""yes" 1>&6 |
5398 echo "$ac_t""no" 1>&6 | 5170 echo "$ac_t""no" 1>&6 |
5399 fi | 5171 fi |
5400 | 5172 |
5401 test -z "$with_xmu" && { | 5173 test -z "$with_xmu" && { |
5402 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5174 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5403 echo "configure:5404: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5175 echo "configure:5176: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5404 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5176 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5405 | 5177 |
5406 xe_check_libs=" -lXmu " | 5178 xe_check_libs=" -lXmu " |
5407 cat > conftest.$ac_ext <<EOF | 5179 cat > conftest.$ac_ext <<EOF |
5408 #line 5409 "configure" | 5180 #line 5181 "configure" |
5409 #include "confdefs.h" | 5181 #include "confdefs.h" |
5410 /* Override any gcc2 internal prototype to avoid an error. */ | 5182 /* Override any gcc2 internal prototype to avoid an error. */ |
5411 /* We use char because int might match the return type of a gcc2 | 5183 /* We use char because int might match the return type of a gcc2 |
5412 builtin and then its argument prototype would still apply. */ | 5184 builtin and then its argument prototype would still apply. */ |
5413 char XmuReadBitmapDataFromFile(); | 5185 char XmuReadBitmapDataFromFile(); |
5414 | 5186 |
5415 int main() { | 5187 int main() { |
5416 XmuReadBitmapDataFromFile() | 5188 XmuReadBitmapDataFromFile() |
5417 ; return 0; } | 5189 ; return 0; } |
5418 EOF | 5190 EOF |
5419 if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5191 if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5420 rm -rf conftest* | 5192 rm -rf conftest* |
5421 eval "ac_cv_lib_$ac_lib_var=yes" | 5193 eval "ac_cv_lib_$ac_lib_var=yes" |
5422 else | 5194 else |
5423 echo "configure: failed program was:" >&5 | 5195 echo "configure: failed program was:" >&5 |
5424 cat conftest.$ac_ext >&5 | 5196 cat conftest.$ac_ext >&5 |
5453 | 5225 |
5454 fi | 5226 fi |
5455 | 5227 |
5456 | 5228 |
5457 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5229 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5458 echo "configure:5459: checking for main in -lXbsd" >&5 | 5230 echo "configure:5231: checking for main in -lXbsd" >&5 |
5459 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5231 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5460 | 5232 |
5461 xe_check_libs=" -lXbsd " | 5233 xe_check_libs=" -lXbsd " |
5462 cat > conftest.$ac_ext <<EOF | 5234 cat > conftest.$ac_ext <<EOF |
5463 #line 5464 "configure" | 5235 #line 5236 "configure" |
5464 #include "confdefs.h" | 5236 #include "confdefs.h" |
5465 | 5237 |
5466 int main() { | 5238 int main() { |
5467 main() | 5239 main() |
5468 ; return 0; } | 5240 ; return 0; } |
5469 EOF | 5241 EOF |
5470 if { (eval echo configure:5471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5242 if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5471 rm -rf conftest* | 5243 rm -rf conftest* |
5472 eval "ac_cv_lib_$ac_lib_var=yes" | 5244 eval "ac_cv_lib_$ac_lib_var=yes" |
5473 else | 5245 else |
5474 echo "configure: failed program was:" >&5 | 5246 echo "configure: failed program was:" >&5 |
5475 cat conftest.$ac_ext >&5 | 5247 cat conftest.$ac_ext >&5 |
5519 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5291 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5520 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5292 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5521 esac | 5293 esac |
5522 | 5294 |
5523 echo "checking for session-management option" 1>&6 | 5295 echo "checking for session-management option" 1>&6 |
5524 echo "configure:5525: checking for session-management option" >&5; | 5296 echo "configure:5297: checking for session-management option" >&5; |
5525 if test "$with_session" != "no"; then | 5297 if test "$with_session" = "yes"; then |
5526 { test "$extra_verbose" = "yes" && cat << \EOF | 5298 { test "$extra_verbose" = "yes" && cat << \EOF |
5527 Defining HAVE_SESSION | 5299 Defining HAVE_SESSION |
5528 EOF | 5300 EOF |
5529 cat >> confdefs.h <<\EOF | 5301 cat >> confdefs.h <<\EOF |
5530 #define HAVE_SESSION 1 | 5302 #define HAVE_SESSION 1 |
5534 fi | 5306 fi |
5535 | 5307 |
5536 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5308 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5537 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5309 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5538 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5310 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5539 echo "configure:5540: checking for X11/Xauth.h" >&5 | 5311 echo "configure:5312: checking for X11/Xauth.h" >&5 |
5540 | 5312 |
5541 cat > conftest.$ac_ext <<EOF | 5313 cat > conftest.$ac_ext <<EOF |
5542 #line 5543 "configure" | 5314 #line 5315 "configure" |
5543 #include "confdefs.h" | 5315 #include "confdefs.h" |
5544 #include <X11/Xauth.h> | 5316 #include <X11/Xauth.h> |
5545 EOF | 5317 EOF |
5546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5547 { (eval echo configure:5548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5319 { (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5548 ac_err=`grep -v '^ *+' conftest.out` | 5320 ac_err=`grep -v '^ *+' conftest.out` |
5549 if test -z "$ac_err"; then | 5321 if test -z "$ac_err"; then |
5550 rm -rf conftest* | 5322 rm -rf conftest* |
5551 eval "ac_cv_header_$ac_safe=yes" | 5323 eval "ac_cv_header_$ac_safe=yes" |
5552 else | 5324 else |
5565 with_xauth=no | 5337 with_xauth=no |
5566 fi | 5338 fi |
5567 } | 5339 } |
5568 test -z "$with_xauth" && { | 5340 test -z "$with_xauth" && { |
5569 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 5341 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
5570 echo "configure:5571: checking for XauGetAuthByAddr in -lXau" >&5 | 5342 echo "configure:5343: checking for XauGetAuthByAddr in -lXau" >&5 |
5571 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 5343 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
5572 | 5344 |
5573 xe_check_libs=" -lXau " | 5345 xe_check_libs=" -lXau " |
5574 cat > conftest.$ac_ext <<EOF | 5346 cat > conftest.$ac_ext <<EOF |
5575 #line 5576 "configure" | 5347 #line 5348 "configure" |
5576 #include "confdefs.h" | 5348 #include "confdefs.h" |
5577 /* Override any gcc2 internal prototype to avoid an error. */ | 5349 /* Override any gcc2 internal prototype to avoid an error. */ |
5578 /* We use char because int might match the return type of a gcc2 | 5350 /* We use char because int might match the return type of a gcc2 |
5579 builtin and then its argument prototype would still apply. */ | 5351 builtin and then its argument prototype would still apply. */ |
5580 char XauGetAuthByAddr(); | 5352 char XauGetAuthByAddr(); |
5581 | 5353 |
5582 int main() { | 5354 int main() { |
5583 XauGetAuthByAddr() | 5355 XauGetAuthByAddr() |
5584 ; return 0; } | 5356 ; return 0; } |
5585 EOF | 5357 EOF |
5586 if { (eval echo configure:5587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5358 if { (eval echo configure:5359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5587 rm -rf conftest* | 5359 rm -rf conftest* |
5588 eval "ac_cv_lib_$ac_lib_var=yes" | 5360 eval "ac_cv_lib_$ac_lib_var=yes" |
5589 else | 5361 else |
5590 echo "configure: failed program was:" >&5 | 5362 echo "configure: failed program was:" >&5 |
5591 cat conftest.$ac_ext >&5 | 5363 cat conftest.$ac_ext >&5 |
5641 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk | 5413 test "$with_cde" = "yes" && with_tooltalk=yes # CDE requires tooltalk |
5642 if test "$with_tooltalk" != "no" ; then | 5414 if test "$with_tooltalk" != "no" ; then |
5643 for dir in "" "Tt/" "desktop/" ; do | 5415 for dir in "" "Tt/" "desktop/" ; do |
5644 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 5416 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
5645 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 5417 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
5646 echo "configure:5647: checking for ${dir}tt_c.h" >&5 | 5418 echo "configure:5419: checking for ${dir}tt_c.h" >&5 |
5647 | 5419 |
5648 cat > conftest.$ac_ext <<EOF | 5420 cat > conftest.$ac_ext <<EOF |
5649 #line 5650 "configure" | 5421 #line 5422 "configure" |
5650 #include "confdefs.h" | 5422 #include "confdefs.h" |
5651 #include <${dir}tt_c.h> | 5423 #include <${dir}tt_c.h> |
5652 EOF | 5424 EOF |
5653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5654 { (eval echo configure:5655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5426 { (eval echo configure:5427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5655 ac_err=`grep -v '^ *+' conftest.out` | 5427 ac_err=`grep -v '^ *+' conftest.out` |
5656 if test -z "$ac_err"; then | 5428 if test -z "$ac_err"; then |
5657 rm -rf conftest* | 5429 rm -rf conftest* |
5658 eval "ac_cv_header_$ac_safe=yes" | 5430 eval "ac_cv_header_$ac_safe=yes" |
5659 else | 5431 else |
5678 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 5450 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
5679 | 5451 |
5680 xe_msg_checking="for tt_message_create in -ltt" | 5452 xe_msg_checking="for tt_message_create in -ltt" |
5681 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 5453 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
5682 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5454 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5683 echo "configure:5684: checking "$xe_msg_checking"" >&5 | 5455 echo "configure:5456: checking "$xe_msg_checking"" >&5 |
5684 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 5456 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
5685 | 5457 |
5686 xe_check_libs=" -ltt $extra_libs" | 5458 xe_check_libs=" -ltt $extra_libs" |
5687 cat > conftest.$ac_ext <<EOF | 5459 cat > conftest.$ac_ext <<EOF |
5688 #line 5689 "configure" | 5460 #line 5461 "configure" |
5689 #include "confdefs.h" | 5461 #include "confdefs.h" |
5690 /* Override any gcc2 internal prototype to avoid an error. */ | 5462 /* Override any gcc2 internal prototype to avoid an error. */ |
5691 /* We use char because int might match the return type of a gcc2 | 5463 /* We use char because int might match the return type of a gcc2 |
5692 builtin and then its argument prototype would still apply. */ | 5464 builtin and then its argument prototype would still apply. */ |
5693 char tt_message_create(); | 5465 char tt_message_create(); |
5694 | 5466 |
5695 int main() { | 5467 int main() { |
5696 tt_message_create() | 5468 tt_message_create() |
5697 ; return 0; } | 5469 ; return 0; } |
5698 EOF | 5470 EOF |
5699 if { (eval echo configure:5700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5700 rm -rf conftest* | 5472 rm -rf conftest* |
5701 eval "ac_cv_lib_$ac_lib_var=yes" | 5473 eval "ac_cv_lib_$ac_lib_var=yes" |
5702 else | 5474 else |
5703 echo "configure: failed program was:" >&5 | 5475 echo "configure: failed program was:" >&5 |
5704 cat conftest.$ac_ext >&5 | 5476 cat conftest.$ac_ext >&5 |
5743 fi | 5515 fi |
5744 fi | 5516 fi |
5745 | 5517 |
5746 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 5518 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
5747 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 5519 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
5748 echo "configure:5749: checking for Dt/Dt.h" >&5 | 5520 echo "configure:5521: checking for Dt/Dt.h" >&5 |
5749 | 5521 |
5750 cat > conftest.$ac_ext <<EOF | 5522 cat > conftest.$ac_ext <<EOF |
5751 #line 5752 "configure" | 5523 #line 5524 "configure" |
5752 #include "confdefs.h" | 5524 #include "confdefs.h" |
5753 #include <Dt/Dt.h> | 5525 #include <Dt/Dt.h> |
5754 EOF | 5526 EOF |
5755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5756 { (eval echo configure:5757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5528 { (eval echo configure:5529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5757 ac_err=`grep -v '^ *+' conftest.out` | 5529 ac_err=`grep -v '^ *+' conftest.out` |
5758 if test -z "$ac_err"; then | 5530 if test -z "$ac_err"; then |
5759 rm -rf conftest* | 5531 rm -rf conftest* |
5760 eval "ac_cv_header_$ac_safe=yes" | 5532 eval "ac_cv_header_$ac_safe=yes" |
5761 else | 5533 else |
5774 with_cde=no | 5546 with_cde=no |
5775 fi | 5547 fi |
5776 } | 5548 } |
5777 test -z "$with_cde" && { | 5549 test -z "$with_cde" && { |
5778 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 5550 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
5779 echo "configure:5780: checking for DtDndDragStart in -lDtSvc" >&5 | 5551 echo "configure:5552: checking for DtDndDragStart in -lDtSvc" >&5 |
5780 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 5552 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
5781 | 5553 |
5782 xe_check_libs=" -lDtSvc " | 5554 xe_check_libs=" -lDtSvc " |
5783 cat > conftest.$ac_ext <<EOF | 5555 cat > conftest.$ac_ext <<EOF |
5784 #line 5785 "configure" | 5556 #line 5557 "configure" |
5785 #include "confdefs.h" | 5557 #include "confdefs.h" |
5786 /* Override any gcc2 internal prototype to avoid an error. */ | 5558 /* Override any gcc2 internal prototype to avoid an error. */ |
5787 /* We use char because int might match the return type of a gcc2 | 5559 /* We use char because int might match the return type of a gcc2 |
5788 builtin and then its argument prototype would still apply. */ | 5560 builtin and then its argument prototype would still apply. */ |
5789 char DtDndDragStart(); | 5561 char DtDndDragStart(); |
5790 | 5562 |
5791 int main() { | 5563 int main() { |
5792 DtDndDragStart() | 5564 DtDndDragStart() |
5793 ; return 0; } | 5565 ; return 0; } |
5794 EOF | 5566 EOF |
5795 if { (eval echo configure:5796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5796 rm -rf conftest* | 5568 rm -rf conftest* |
5797 eval "ac_cv_lib_$ac_lib_var=yes" | 5569 eval "ac_cv_lib_$ac_lib_var=yes" |
5798 else | 5570 else |
5799 echo "configure: failed program was:" >&5 | 5571 echo "configure: failed program was:" >&5 |
5800 cat conftest.$ac_ext >&5 | 5572 cat conftest.$ac_ext >&5 |
5837 EOF | 5609 EOF |
5838 } | 5610 } |
5839 | 5611 |
5840 | 5612 |
5841 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 | 5613 echo $ac_n "checking for main in -lenergize""... $ac_c" 1>&6 |
5842 echo "configure:5843: checking for main in -lenergize" >&5 | 5614 echo "configure:5615: checking for main in -lenergize" >&5 |
5843 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` | 5615 ac_lib_var=`echo energize'_'main | sed 'y%./+-%__p_%'` |
5844 | 5616 |
5845 xe_check_libs=" -lenergize " | 5617 xe_check_libs=" -lenergize " |
5846 cat > conftest.$ac_ext <<EOF | 5618 cat > conftest.$ac_ext <<EOF |
5847 #line 5848 "configure" | 5619 #line 5620 "configure" |
5848 #include "confdefs.h" | 5620 #include "confdefs.h" |
5849 | 5621 |
5850 int main() { | 5622 int main() { |
5851 main() | 5623 main() |
5852 ; return 0; } | 5624 ; return 0; } |
5853 EOF | 5625 EOF |
5854 if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5626 if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5855 rm -rf conftest* | 5627 rm -rf conftest* |
5856 eval "ac_cv_lib_$ac_lib_var=yes" | 5628 eval "ac_cv_lib_$ac_lib_var=yes" |
5857 else | 5629 else |
5858 echo "configure: failed program was:" >&5 | 5630 echo "configure: failed program was:" >&5 |
5859 cat conftest.$ac_ext >&5 | 5631 cat conftest.$ac_ext >&5 |
5881 | 5653 |
5882 | 5654 |
5883 if test -z "$energize_version"; then | 5655 if test -z "$energize_version"; then |
5884 | 5656 |
5885 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 | 5657 echo $ac_n "checking for main in -lconn""... $ac_c" 1>&6 |
5886 echo "configure:5887: checking for main in -lconn" >&5 | 5658 echo "configure:5659: checking for main in -lconn" >&5 |
5887 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` | 5659 ac_lib_var=`echo conn'_'main | sed 'y%./+-%__p_%'` |
5888 | 5660 |
5889 xe_check_libs=" -lconn " | 5661 xe_check_libs=" -lconn " |
5890 cat > conftest.$ac_ext <<EOF | 5662 cat > conftest.$ac_ext <<EOF |
5891 #line 5892 "configure" | 5663 #line 5664 "configure" |
5892 #include "confdefs.h" | 5664 #include "confdefs.h" |
5893 | 5665 |
5894 int main() { | 5666 int main() { |
5895 main() | 5667 main() |
5896 ; return 0; } | 5668 ; return 0; } |
5897 EOF | 5669 EOF |
5898 if { (eval echo configure:5899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5670 if { (eval echo configure:5671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
5899 rm -rf conftest* | 5671 rm -rf conftest* |
5900 eval "ac_cv_lib_$ac_lib_var=yes" | 5672 eval "ac_cv_lib_$ac_lib_var=yes" |
5901 else | 5673 else |
5902 echo "configure: failed program was:" >&5 | 5674 echo "configure: failed program was:" >&5 |
5903 cat conftest.$ac_ext >&5 | 5675 cat conftest.$ac_ext >&5 |
5926 | 5698 |
5927 | 5699 |
5928 fi | 5700 fi |
5929 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` | 5701 ac_safe=`echo "editorconn.h" | sed 'y%./+-%__p_%'` |
5930 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 | 5702 echo $ac_n "checking for editorconn.h""... $ac_c" 1>&6 |
5931 echo "configure:5932: checking for editorconn.h" >&5 | 5703 echo "configure:5704: checking for editorconn.h" >&5 |
5932 | 5704 |
5933 cat > conftest.$ac_ext <<EOF | 5705 cat > conftest.$ac_ext <<EOF |
5934 #line 5935 "configure" | 5706 #line 5707 "configure" |
5935 #include "confdefs.h" | 5707 #include "confdefs.h" |
5936 #include <editorconn.h> | 5708 #include <editorconn.h> |
5937 EOF | 5709 EOF |
5938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5939 { (eval echo configure:5940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5711 { (eval echo configure:5712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5940 ac_err=`grep -v '^ *+' conftest.out` | 5712 ac_err=`grep -v '^ *+' conftest.out` |
5941 if test -z "$ac_err"; then | 5713 if test -z "$ac_err"; then |
5942 rm -rf conftest* | 5714 rm -rf conftest* |
5943 eval "ac_cv_header_$ac_safe=yes" | 5715 eval "ac_cv_header_$ac_safe=yes" |
5944 else | 5716 else |
5978 | 5750 |
5979 | 5751 |
5980 if test "$with_x11" = "yes"; then | 5752 if test "$with_x11" = "yes"; then |
5981 | 5753 |
5982 echo "checking for X11 graphics libraries" 1>&6 | 5754 echo "checking for X11 graphics libraries" 1>&6 |
5983 echo "configure:5984: checking for X11 graphics libraries" >&5 | 5755 echo "configure:5756: checking for X11 graphics libraries" >&5 |
5984 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 5756 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
5985 echo "configure:5986: checking for Xpm - no older than 3.4f" >&5 | 5757 echo "configure:5758: checking for Xpm - no older than 3.4f" >&5 |
5986 xe_check_libs=-lXpm | 5758 xe_check_libs=-lXpm |
5987 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF | 5759 test -z "$with_xpm" && { cat > conftest.$ac_ext <<EOF |
5988 #line 5989 "configure" | 5760 #line 5761 "configure" |
5989 #include "confdefs.h" | 5761 #include "confdefs.h" |
5990 #include <X11/xpm.h> | 5762 #include <X11/xpm.h> |
5991 int main(int c, char **v) { | 5763 int main(int c, char **v) { |
5992 return c == 1 ? 0 : | 5764 return c == 1 ? 0 : |
5993 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 5765 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
5994 XpmIncludeVersion < 30406 ? 2 : | 5766 XpmIncludeVersion < 30406 ? 2 : |
5995 0 ; | 5767 0 ; |
5996 } | 5768 } |
5997 EOF | 5769 EOF |
5998 if { (eval echo configure:5999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 5770 if { (eval echo configure:5771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
5999 then | 5771 then |
6000 ./conftest foobar; xpm_status=$?; | 5772 ./conftest foobar; xpm_status=$?; |
6001 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; | 5773 if test "$xpm_status" = "0"; then with_xpm=yes; else with_xpm=no; fi; |
6002 else | 5774 else |
6003 echo "configure: failed program was:" >&5 | 5775 echo "configure: failed program was:" >&5 |
6031 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 5803 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6032 fi | 5804 fi |
6033 | 5805 |
6034 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 5806 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6035 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 5807 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6036 echo "configure:6037: checking for compface.h" >&5 | 5808 echo "configure:5809: checking for compface.h" >&5 |
6037 | 5809 |
6038 cat > conftest.$ac_ext <<EOF | 5810 cat > conftest.$ac_ext <<EOF |
6039 #line 6040 "configure" | 5811 #line 5812 "configure" |
6040 #include "confdefs.h" | 5812 #include "confdefs.h" |
6041 #include <compface.h> | 5813 #include <compface.h> |
6042 EOF | 5814 EOF |
6043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5815 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6044 { (eval echo configure:6045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5816 { (eval echo configure:5817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6045 ac_err=`grep -v '^ *+' conftest.out` | 5817 ac_err=`grep -v '^ *+' conftest.out` |
6046 if test -z "$ac_err"; then | 5818 if test -z "$ac_err"; then |
6047 rm -rf conftest* | 5819 rm -rf conftest* |
6048 eval "ac_cv_header_$ac_safe=yes" | 5820 eval "ac_cv_header_$ac_safe=yes" |
6049 else | 5821 else |
6062 with_xface=no | 5834 with_xface=no |
6063 fi | 5835 fi |
6064 } | 5836 } |
6065 test -z "$with_xface" && { | 5837 test -z "$with_xface" && { |
6066 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 5838 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
6067 echo "configure:6068: checking for UnGenFace in -lcompface" >&5 | 5839 echo "configure:5840: checking for UnGenFace in -lcompface" >&5 |
6068 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 5840 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
6069 | 5841 |
6070 xe_check_libs=" -lcompface " | 5842 xe_check_libs=" -lcompface " |
6071 cat > conftest.$ac_ext <<EOF | 5843 cat > conftest.$ac_ext <<EOF |
6072 #line 6073 "configure" | 5844 #line 5845 "configure" |
6073 #include "confdefs.h" | 5845 #include "confdefs.h" |
6074 /* Override any gcc2 internal prototype to avoid an error. */ | 5846 /* Override any gcc2 internal prototype to avoid an error. */ |
6075 /* We use char because int might match the return type of a gcc2 | 5847 /* We use char because int might match the return type of a gcc2 |
6076 builtin and then its argument prototype would still apply. */ | 5848 builtin and then its argument prototype would still apply. */ |
6077 char UnGenFace(); | 5849 char UnGenFace(); |
6078 | 5850 |
6079 int main() { | 5851 int main() { |
6080 UnGenFace() | 5852 UnGenFace() |
6081 ; return 0; } | 5853 ; return 0; } |
6082 EOF | 5854 EOF |
6083 if { (eval echo configure:6084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5855 if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6084 rm -rf conftest* | 5856 rm -rf conftest* |
6085 eval "ac_cv_lib_$ac_lib_var=yes" | 5857 eval "ac_cv_lib_$ac_lib_var=yes" |
6086 else | 5858 else |
6087 echo "configure: failed program was:" >&5 | 5859 echo "configure: failed program was:" >&5 |
6088 cat conftest.$ac_ext >&5 | 5860 cat conftest.$ac_ext >&5 |
6114 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 5886 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
6115 fi | 5887 fi |
6116 | 5888 |
6117 test -z "$with_imagick" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` | 5889 test -z "$with_imagick" && { ac_safe=`echo "magick/magick.h" | sed 'y%./+-%__p_%'` |
6118 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 | 5890 echo $ac_n "checking for magick/magick.h""... $ac_c" 1>&6 |
6119 echo "configure:6120: checking for magick/magick.h" >&5 | 5891 echo "configure:5892: checking for magick/magick.h" >&5 |
6120 | 5892 |
6121 cat > conftest.$ac_ext <<EOF | 5893 cat > conftest.$ac_ext <<EOF |
6122 #line 6123 "configure" | 5894 #line 5895 "configure" |
6123 #include "confdefs.h" | 5895 #include "confdefs.h" |
6124 #include <magick/magick.h> | 5896 #include <magick/magick.h> |
6125 EOF | 5897 EOF |
6126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6127 { (eval echo configure:6128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5899 { (eval echo configure:5900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6128 ac_err=`grep -v '^ *+' conftest.out` | 5900 ac_err=`grep -v '^ *+' conftest.out` |
6129 if test -z "$ac_err"; then | 5901 if test -z "$ac_err"; then |
6130 rm -rf conftest* | 5902 rm -rf conftest* |
6131 eval "ac_cv_header_$ac_safe=yes" | 5903 eval "ac_cv_header_$ac_safe=yes" |
6132 else | 5904 else |
6145 with_imagick=no | 5917 with_imagick=no |
6146 fi | 5918 fi |
6147 } | 5919 } |
6148 test -z "$with_imagick" && { | 5920 test -z "$with_imagick" && { |
6149 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 | 5921 echo $ac_n "checking for MogrifyImage in -lMagick""... $ac_c" 1>&6 |
6150 echo "configure:6151: checking for MogrifyImage in -lMagick" >&5 | 5922 echo "configure:5923: checking for MogrifyImage in -lMagick" >&5 |
6151 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` | 5923 ac_lib_var=`echo Magick'_'MogrifyImage | sed 'y%./+-%__p_%'` |
6152 | 5924 |
6153 xe_check_libs=" -lMagick " | 5925 xe_check_libs=" -lMagick " |
6154 cat > conftest.$ac_ext <<EOF | 5926 cat > conftest.$ac_ext <<EOF |
6155 #line 6156 "configure" | 5927 #line 5928 "configure" |
6156 #include "confdefs.h" | 5928 #include "confdefs.h" |
6157 /* Override any gcc2 internal prototype to avoid an error. */ | 5929 /* Override any gcc2 internal prototype to avoid an error. */ |
6158 /* We use char because int might match the return type of a gcc2 | 5930 /* We use char because int might match the return type of a gcc2 |
6159 builtin and then its argument prototype would still apply. */ | 5931 builtin and then its argument prototype would still apply. */ |
6160 char MogrifyImage(); | 5932 char MogrifyImage(); |
6161 | 5933 |
6162 int main() { | 5934 int main() { |
6163 MogrifyImage() | 5935 MogrifyImage() |
6164 ; return 0; } | 5936 ; return 0; } |
6165 EOF | 5937 EOF |
6166 if { (eval echo configure:6167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5938 if { (eval echo configure:5939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6167 rm -rf conftest* | 5939 rm -rf conftest* |
6168 eval "ac_cv_lib_$ac_lib_var=yes" | 5940 eval "ac_cv_lib_$ac_lib_var=yes" |
6169 else | 5941 else |
6170 echo "configure: failed program was:" >&5 | 5942 echo "configure: failed program was:" >&5 |
6171 cat conftest.$ac_ext >&5 | 5943 cat conftest.$ac_ext >&5 |
6197 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi | 5969 libs_x="-lMagick $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lMagick\" to \$libs_x"; fi |
6198 fi | 5970 fi |
6199 | 5971 |
6200 | 5972 |
6201 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 5973 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
6202 echo "configure:6203: checking for XawScrollbarSetThumb in -lXaw" >&5 | 5974 echo "configure:5975: checking for XawScrollbarSetThumb in -lXaw" >&5 |
6203 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 5975 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
6204 | 5976 |
6205 xe_check_libs=" -lXaw " | 5977 xe_check_libs=" -lXaw " |
6206 cat > conftest.$ac_ext <<EOF | 5978 cat > conftest.$ac_ext <<EOF |
6207 #line 6208 "configure" | 5979 #line 5980 "configure" |
6208 #include "confdefs.h" | 5980 #include "confdefs.h" |
6209 /* Override any gcc2 internal prototype to avoid an error. */ | 5981 /* Override any gcc2 internal prototype to avoid an error. */ |
6210 /* We use char because int might match the return type of a gcc2 | 5982 /* We use char because int might match the return type of a gcc2 |
6211 builtin and then its argument prototype would still apply. */ | 5983 builtin and then its argument prototype would still apply. */ |
6212 char XawScrollbarSetThumb(); | 5984 char XawScrollbarSetThumb(); |
6213 | 5985 |
6214 int main() { | 5986 int main() { |
6215 XawScrollbarSetThumb() | 5987 XawScrollbarSetThumb() |
6216 ; return 0; } | 5988 ; return 0; } |
6217 EOF | 5989 EOF |
6218 if { (eval echo configure:6219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 5990 if { (eval echo configure:5991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6219 rm -rf conftest* | 5991 rm -rf conftest* |
6220 eval "ac_cv_lib_$ac_lib_var=yes" | 5992 eval "ac_cv_lib_$ac_lib_var=yes" |
6221 else | 5993 else |
6222 echo "configure: failed program was:" >&5 | 5994 echo "configure: failed program was:" >&5 |
6223 cat conftest.$ac_ext >&5 | 5995 cat conftest.$ac_ext >&5 |
6237 | 6009 |
6238 | 6010 |
6239 if test "$have_xaw" = "yes"; then | 6011 if test "$have_xaw" = "yes"; then |
6240 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` | 6012 ac_safe=`echo "X11/Xaw/Reports.h" | sed 'y%./+-%__p_%'` |
6241 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 | 6013 echo $ac_n "checking for X11/Xaw/Reports.h""... $ac_c" 1>&6 |
6242 echo "configure:6243: checking for X11/Xaw/Reports.h" >&5 | 6014 echo "configure:6015: checking for X11/Xaw/Reports.h" >&5 |
6243 | 6015 |
6244 cat > conftest.$ac_ext <<EOF | 6016 cat > conftest.$ac_ext <<EOF |
6245 #line 6246 "configure" | 6017 #line 6018 "configure" |
6246 #include "confdefs.h" | 6018 #include "confdefs.h" |
6247 #include <X11/Xaw/Reports.h> | 6019 #include <X11/Xaw/Reports.h> |
6248 EOF | 6020 EOF |
6249 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6250 { (eval echo configure:6251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6022 { (eval echo configure:6023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6251 ac_err=`grep -v '^ *+' conftest.out` | 6023 ac_err=`grep -v '^ *+' conftest.out` |
6252 if test -z "$ac_err"; then | 6024 if test -z "$ac_err"; then |
6253 rm -rf conftest* | 6025 rm -rf conftest* |
6254 eval "ac_cv_header_$ac_safe=yes" | 6026 eval "ac_cv_header_$ac_safe=yes" |
6255 else | 6027 else |
6271 | 6043 |
6272 fi | 6044 fi |
6273 | 6045 |
6274 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6046 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6275 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6047 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6276 echo "configure:6277: checking for Xm/Xm.h" >&5 | 6048 echo "configure:6049: checking for Xm/Xm.h" >&5 |
6277 | 6049 |
6278 cat > conftest.$ac_ext <<EOF | 6050 cat > conftest.$ac_ext <<EOF |
6279 #line 6280 "configure" | 6051 #line 6052 "configure" |
6280 #include "confdefs.h" | 6052 #include "confdefs.h" |
6281 #include <Xm/Xm.h> | 6053 #include <Xm/Xm.h> |
6282 EOF | 6054 EOF |
6283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6284 { (eval echo configure:6285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6056 { (eval echo configure:6057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6285 ac_err=`grep -v '^ *+' conftest.out` | 6057 ac_err=`grep -v '^ *+' conftest.out` |
6286 if test -z "$ac_err"; then | 6058 if test -z "$ac_err"; then |
6287 rm -rf conftest* | 6059 rm -rf conftest* |
6288 eval "ac_cv_header_$ac_safe=yes" | 6060 eval "ac_cv_header_$ac_safe=yes" |
6289 else | 6061 else |
6296 rm -f conftest* | 6068 rm -f conftest* |
6297 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6298 echo "$ac_t""yes" 1>&6 | 6070 echo "$ac_t""yes" 1>&6 |
6299 | 6071 |
6300 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6072 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6301 echo "configure:6302: checking for XmStringFree in -lXm" >&5 | 6073 echo "configure:6074: checking for XmStringFree in -lXm" >&5 |
6302 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6074 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6303 | 6075 |
6304 xe_check_libs=" -lXm " | 6076 xe_check_libs=" -lXm " |
6305 cat > conftest.$ac_ext <<EOF | 6077 cat > conftest.$ac_ext <<EOF |
6306 #line 6307 "configure" | 6078 #line 6079 "configure" |
6307 #include "confdefs.h" | 6079 #include "confdefs.h" |
6308 /* Override any gcc2 internal prototype to avoid an error. */ | 6080 /* Override any gcc2 internal prototype to avoid an error. */ |
6309 /* We use char because int might match the return type of a gcc2 | 6081 /* We use char because int might match the return type of a gcc2 |
6310 builtin and then its argument prototype would still apply. */ | 6082 builtin and then its argument prototype would still apply. */ |
6311 char XmStringFree(); | 6083 char XmStringFree(); |
6312 | 6084 |
6313 int main() { | 6085 int main() { |
6314 XmStringFree() | 6086 XmStringFree() |
6315 ; return 0; } | 6087 ; return 0; } |
6316 EOF | 6088 EOF |
6317 if { (eval echo configure:6318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6089 if { (eval echo configure:6090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6318 rm -rf conftest* | 6090 rm -rf conftest* |
6319 eval "ac_cv_lib_$ac_lib_var=yes" | 6091 eval "ac_cv_lib_$ac_lib_var=yes" |
6320 else | 6092 else |
6321 echo "configure: failed program was:" >&5 | 6093 echo "configure: failed program was:" >&5 |
6322 cat conftest.$ac_ext >&5 | 6094 cat conftest.$ac_ext >&5 |
6574 exit 1 | 6346 exit 1 |
6575 fi | 6347 fi |
6576 | 6348 |
6577 if test "$with_mule" = "yes" ; then | 6349 if test "$with_mule" = "yes" ; then |
6578 echo "checking for Mule-related features" 1>&6 | 6350 echo "checking for Mule-related features" 1>&6 |
6579 echo "configure:6580: checking for Mule-related features" >&5 | 6351 echo "configure:6352: checking for Mule-related features" >&5 |
6580 { test "$extra_verbose" = "yes" && cat << \EOF | 6352 { test "$extra_verbose" = "yes" && cat << \EOF |
6581 Defining MULE | 6353 Defining MULE |
6582 EOF | 6354 EOF |
6583 cat >> confdefs.h <<\EOF | 6355 cat >> confdefs.h <<\EOF |
6584 #define MULE 1 | 6356 #define MULE 1 |
6591 | 6363 |
6592 for ac_hdr in libintl.h | 6364 for ac_hdr in libintl.h |
6593 do | 6365 do |
6594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6596 echo "configure:6597: checking for $ac_hdr" >&5 | 6368 echo "configure:6369: checking for $ac_hdr" >&5 |
6597 | 6369 |
6598 cat > conftest.$ac_ext <<EOF | 6370 cat > conftest.$ac_ext <<EOF |
6599 #line 6600 "configure" | 6371 #line 6372 "configure" |
6600 #include "confdefs.h" | 6372 #include "confdefs.h" |
6601 #include <$ac_hdr> | 6373 #include <$ac_hdr> |
6602 EOF | 6374 EOF |
6603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6604 { (eval echo configure:6605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6376 { (eval echo configure:6377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6605 ac_err=`grep -v '^ *+' conftest.out` | 6377 ac_err=`grep -v '^ *+' conftest.out` |
6606 if test -z "$ac_err"; then | 6378 if test -z "$ac_err"; then |
6607 rm -rf conftest* | 6379 rm -rf conftest* |
6608 eval "ac_cv_header_$ac_safe=yes" | 6380 eval "ac_cv_header_$ac_safe=yes" |
6609 else | 6381 else |
6630 fi | 6402 fi |
6631 done | 6403 done |
6632 | 6404 |
6633 | 6405 |
6634 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6406 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
6635 echo "configure:6636: checking for strerror in -lintl" >&5 | 6407 echo "configure:6408: checking for strerror in -lintl" >&5 |
6636 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6408 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
6637 | 6409 |
6638 xe_check_libs=" -lintl " | 6410 xe_check_libs=" -lintl " |
6639 cat > conftest.$ac_ext <<EOF | 6411 cat > conftest.$ac_ext <<EOF |
6640 #line 6641 "configure" | 6412 #line 6413 "configure" |
6641 #include "confdefs.h" | 6413 #include "confdefs.h" |
6642 /* Override any gcc2 internal prototype to avoid an error. */ | 6414 /* Override any gcc2 internal prototype to avoid an error. */ |
6643 /* We use char because int might match the return type of a gcc2 | 6415 /* We use char because int might match the return type of a gcc2 |
6644 builtin and then its argument prototype would still apply. */ | 6416 builtin and then its argument prototype would still apply. */ |
6645 char strerror(); | 6417 char strerror(); |
6646 | 6418 |
6647 int main() { | 6419 int main() { |
6648 strerror() | 6420 strerror() |
6649 ; return 0; } | 6421 ; return 0; } |
6650 EOF | 6422 EOF |
6651 if { (eval echo configure:6652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6423 if { (eval echo configure:6424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6652 rm -rf conftest* | 6424 rm -rf conftest* |
6653 eval "ac_cv_lib_$ac_lib_var=yes" | 6425 eval "ac_cv_lib_$ac_lib_var=yes" |
6654 else | 6426 else |
6655 echo "configure: failed program was:" >&5 | 6427 echo "configure: failed program was:" >&5 |
6656 cat conftest.$ac_ext >&5 | 6428 cat conftest.$ac_ext >&5 |
6679 fi | 6451 fi |
6680 | 6452 |
6681 | 6453 |
6682 | 6454 |
6683 echo "checking for Mule input methods" 1>&6 | 6455 echo "checking for Mule input methods" 1>&6 |
6684 echo "configure:6685: checking for Mule input methods" >&5 | 6456 echo "configure:6457: checking for Mule input methods" >&5 |
6685 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6457 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
6686 case "$with_xim" in "" | "yes" ) | 6458 case "$with_xim" in "" | "yes" ) |
6687 echo "checking for XIM" 1>&6 | 6459 echo "checking for XIM" 1>&6 |
6688 echo "configure:6689: checking for XIM" >&5 | 6460 echo "configure:6461: checking for XIM" >&5 |
6689 | 6461 |
6690 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6462 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
6691 echo "configure:6692: checking for XmImMbLookupString in -lXm" >&5 | 6463 echo "configure:6464: checking for XmImMbLookupString in -lXm" >&5 |
6692 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6464 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
6693 | 6465 |
6694 xe_check_libs=" -lXm " | 6466 xe_check_libs=" -lXm " |
6695 cat > conftest.$ac_ext <<EOF | 6467 cat > conftest.$ac_ext <<EOF |
6696 #line 6697 "configure" | 6468 #line 6469 "configure" |
6697 #include "confdefs.h" | 6469 #include "confdefs.h" |
6698 /* Override any gcc2 internal prototype to avoid an error. */ | 6470 /* Override any gcc2 internal prototype to avoid an error. */ |
6699 /* We use char because int might match the return type of a gcc2 | 6471 /* We use char because int might match the return type of a gcc2 |
6700 builtin and then its argument prototype would still apply. */ | 6472 builtin and then its argument prototype would still apply. */ |
6701 char XmImMbLookupString(); | 6473 char XmImMbLookupString(); |
6702 | 6474 |
6703 int main() { | 6475 int main() { |
6704 XmImMbLookupString() | 6476 XmImMbLookupString() |
6705 ; return 0; } | 6477 ; return 0; } |
6706 EOF | 6478 EOF |
6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6479 if { (eval echo configure:6480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6708 rm -rf conftest* | 6480 rm -rf conftest* |
6709 eval "ac_cv_lib_$ac_lib_var=yes" | 6481 eval "ac_cv_lib_$ac_lib_var=yes" |
6710 else | 6482 else |
6711 echo "configure: failed program was:" >&5 | 6483 echo "configure: failed program was:" >&5 |
6712 cat conftest.$ac_ext >&5 | 6484 cat conftest.$ac_ext >&5 |
6760 need_motif=yes | 6532 need_motif=yes |
6761 extra_objs="$extra_objs input-method-motif.o" && if test "$extra_verbose" = "yes"; then | 6533 extra_objs="$extra_objs input-method-motif.o" && if test "$extra_verbose" = "yes"; then |
6762 echo " xemacs will be linked with \"input-method-motif.o\"" | 6534 echo " xemacs will be linked with \"input-method-motif.o\"" |
6763 fi | 6535 fi |
6764 fi | 6536 fi |
6765 if test "$with_xfs" = "yes"; then | 6537 if test "$with_xim" = "motif"; then |
6766 with_xfs=no | 6538 with_xfs=no |
6767 fi | 6539 fi |
6768 else case "$with_xfs" in "yes" ) | 6540 fi |
6769 echo "checking for XFontSet" 1>&6 | 6541 |
6770 echo "configure:6771: checking for XFontSet" >&5 | 6542 if test "$with_xfs" = "yes" ; then |
6771 | 6543 echo "checking for XFontSet" 1>&6 |
6544 echo "configure:6545: checking for XFontSet" >&5 | |
6545 | |
6772 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6546 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
6773 echo "configure:6774: checking for XmbDrawString in -lX11" >&5 | 6547 echo "configure:6548: checking for XmbDrawString in -lX11" >&5 |
6774 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6548 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
6775 | 6549 |
6776 xe_check_libs=" -lX11 " | 6550 xe_check_libs=" -lX11 " |
6777 cat > conftest.$ac_ext <<EOF | 6551 cat > conftest.$ac_ext <<EOF |
6778 #line 6779 "configure" | 6552 #line 6553 "configure" |
6779 #include "confdefs.h" | 6553 #include "confdefs.h" |
6780 /* Override any gcc2 internal prototype to avoid an error. */ | 6554 /* Override any gcc2 internal prototype to avoid an error. */ |
6781 /* We use char because int might match the return type of a gcc2 | 6555 /* We use char because int might match the return type of a gcc2 |
6782 builtin and then its argument prototype would still apply. */ | 6556 builtin and then its argument prototype would still apply. */ |
6783 char XmbDrawString(); | 6557 char XmbDrawString(); |
6784 | 6558 |
6785 int main() { | 6559 int main() { |
6786 XmbDrawString() | 6560 XmbDrawString() |
6787 ; return 0; } | 6561 ; return 0; } |
6788 EOF | 6562 EOF |
6789 if { (eval echo configure:6790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6563 if { (eval echo configure:6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6790 rm -rf conftest* | 6564 rm -rf conftest* |
6791 eval "ac_cv_lib_$ac_lib_var=yes" | 6565 eval "ac_cv_lib_$ac_lib_var=yes" |
6792 else | 6566 else |
6793 echo "configure: failed program was:" >&5 | 6567 echo "configure: failed program was:" >&5 |
6794 cat conftest.$ac_ext >&5 | 6568 cat conftest.$ac_ext >&5 |
6805 echo "$ac_t""no" 1>&6 | 6579 echo "$ac_t""no" 1>&6 |
6806 with_xfs=no | 6580 with_xfs=no |
6807 fi | 6581 fi |
6808 | 6582 |
6809 | 6583 |
6810 esac | |
6811 if test "$with_xfs" = "yes" && test "$with_menubars" = "lucid"; then | 6584 if test "$with_xfs" = "yes" && test "$with_menubars" = "lucid"; then |
6812 { test "$extra_verbose" = "yes" && cat << \EOF | 6585 { test "$extra_verbose" = "yes" && cat << \EOF |
6813 Defining USE_XFONTSET | 6586 Defining USE_XFONTSET |
6814 EOF | 6587 EOF |
6815 cat >> confdefs.h <<\EOF | 6588 cat >> confdefs.h <<\EOF |
6816 #define USE_XFONTSET 1 | 6589 #define USE_XFONTSET 1 |
6817 EOF | 6590 EOF |
6818 } | 6591 } |
6819 | 6592 |
6820 extra_objs="$extra_objs input-method-xfs.o" && if test "$extra_verbose" = "yes"; then | 6593 if test "$with_xim" = "no" ; then |
6594 extra_objs="$extra_objs input-method-xfs.o" && if test "$extra_verbose" = "yes"; then | |
6821 echo " xemacs will be linked with \"input-method-xfs.o\"" | 6595 echo " xemacs will be linked with \"input-method-xfs.o\"" |
6822 fi | 6596 fi |
6597 fi | |
6823 fi | 6598 fi |
6824 fi | 6599 fi |
6825 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6600 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
6826 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6601 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
6827 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6602 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
6828 echo "configure:6829: checking for wnn/jllib.h" >&5 | 6603 echo "configure:6604: checking for wnn/jllib.h" >&5 |
6829 | 6604 |
6830 cat > conftest.$ac_ext <<EOF | 6605 cat > conftest.$ac_ext <<EOF |
6831 #line 6832 "configure" | 6606 #line 6607 "configure" |
6832 #include "confdefs.h" | 6607 #include "confdefs.h" |
6833 #include <wnn/jllib.h> | 6608 #include <wnn/jllib.h> |
6834 EOF | 6609 EOF |
6835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6836 { (eval echo configure:6837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6611 { (eval echo configure:6612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6837 ac_err=`grep -v '^ *+' conftest.out` | 6612 ac_err=`grep -v '^ *+' conftest.out` |
6838 if test -z "$ac_err"; then | 6613 if test -z "$ac_err"; then |
6839 rm -rf conftest* | 6614 rm -rf conftest* |
6840 eval "ac_cv_header_$ac_safe=yes" | 6615 eval "ac_cv_header_$ac_safe=yes" |
6841 else | 6616 else |
6856 } | 6631 } |
6857 if test "$with_wnn" != "no"; then | 6632 if test "$with_wnn" != "no"; then |
6858 for ac_func in crypt | 6633 for ac_func in crypt |
6859 do | 6634 do |
6860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6861 echo "configure:6862: checking for $ac_func" >&5 | 6636 echo "configure:6637: checking for $ac_func" >&5 |
6862 | 6637 |
6863 cat > conftest.$ac_ext <<EOF | 6638 cat > conftest.$ac_ext <<EOF |
6864 #line 6865 "configure" | 6639 #line 6640 "configure" |
6865 #include "confdefs.h" | 6640 #include "confdefs.h" |
6866 /* System header to define __stub macros and hopefully few prototypes, | 6641 /* System header to define __stub macros and hopefully few prototypes, |
6867 which can conflict with char $ac_func(); below. */ | 6642 which can conflict with char $ac_func(); below. */ |
6868 #include <assert.h> | 6643 #include <assert.h> |
6869 /* Override any gcc2 internal prototype to avoid an error. */ | 6644 /* Override any gcc2 internal prototype to avoid an error. */ |
6882 $ac_func(); | 6657 $ac_func(); |
6883 #endif | 6658 #endif |
6884 | 6659 |
6885 ; return 0; } | 6660 ; return 0; } |
6886 EOF | 6661 EOF |
6887 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6888 rm -rf conftest* | 6663 rm -rf conftest* |
6889 eval "ac_cv_func_$ac_func=yes" | 6664 eval "ac_cv_func_$ac_func=yes" |
6890 else | 6665 else |
6891 echo "configure: failed program was:" >&5 | 6666 echo "configure: failed program was:" >&5 |
6892 cat conftest.$ac_ext >&5 | 6667 cat conftest.$ac_ext >&5 |
6911 fi | 6686 fi |
6912 done | 6687 done |
6913 | 6688 |
6914 test "$ac_cv_func_crypt" != "yes" && { | 6689 test "$ac_cv_func_crypt" != "yes" && { |
6915 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6690 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
6916 echo "configure:6917: checking for crypt in -lcrypt" >&5 | 6691 echo "configure:6692: checking for crypt in -lcrypt" >&5 |
6917 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6692 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
6918 | 6693 |
6919 xe_check_libs=" -lcrypt " | 6694 xe_check_libs=" -lcrypt " |
6920 cat > conftest.$ac_ext <<EOF | 6695 cat > conftest.$ac_ext <<EOF |
6921 #line 6922 "configure" | 6696 #line 6697 "configure" |
6922 #include "confdefs.h" | 6697 #include "confdefs.h" |
6923 /* Override any gcc2 internal prototype to avoid an error. */ | 6698 /* Override any gcc2 internal prototype to avoid an error. */ |
6924 /* We use char because int might match the return type of a gcc2 | 6699 /* We use char because int might match the return type of a gcc2 |
6925 builtin and then its argument prototype would still apply. */ | 6700 builtin and then its argument prototype would still apply. */ |
6926 char crypt(); | 6701 char crypt(); |
6927 | 6702 |
6928 int main() { | 6703 int main() { |
6929 crypt() | 6704 crypt() |
6930 ; return 0; } | 6705 ; return 0; } |
6931 EOF | 6706 EOF |
6932 if { (eval echo configure:6933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6933 rm -rf conftest* | 6708 rm -rf conftest* |
6934 eval "ac_cv_lib_$ac_lib_var=yes" | 6709 eval "ac_cv_lib_$ac_lib_var=yes" |
6935 else | 6710 else |
6936 echo "configure: failed program was:" >&5 | 6711 echo "configure: failed program was:" >&5 |
6937 cat conftest.$ac_ext >&5 | 6712 cat conftest.$ac_ext >&5 |
6961 | 6736 |
6962 } | 6737 } |
6963 fi | 6738 fi |
6964 test -z "$with_wnn" && { | 6739 test -z "$with_wnn" && { |
6965 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6740 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
6966 echo "configure:6967: checking for jl_dic_list_e in -lwnn" >&5 | 6741 echo "configure:6742: checking for jl_dic_list_e in -lwnn" >&5 |
6967 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6742 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
6968 | 6743 |
6969 xe_check_libs=" -lwnn " | 6744 xe_check_libs=" -lwnn " |
6970 cat > conftest.$ac_ext <<EOF | 6745 cat > conftest.$ac_ext <<EOF |
6971 #line 6972 "configure" | 6746 #line 6747 "configure" |
6972 #include "confdefs.h" | 6747 #include "confdefs.h" |
6973 /* Override any gcc2 internal prototype to avoid an error. */ | 6748 /* Override any gcc2 internal prototype to avoid an error. */ |
6974 /* We use char because int might match the return type of a gcc2 | 6749 /* We use char because int might match the return type of a gcc2 |
6975 builtin and then its argument prototype would still apply. */ | 6750 builtin and then its argument prototype would still apply. */ |
6976 char jl_dic_list_e(); | 6751 char jl_dic_list_e(); |
6977 | 6752 |
6978 int main() { | 6753 int main() { |
6979 jl_dic_list_e() | 6754 jl_dic_list_e() |
6980 ; return 0; } | 6755 ; return 0; } |
6981 EOF | 6756 EOF |
6982 if { (eval echo configure:6983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6757 if { (eval echo configure:6758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6983 rm -rf conftest* | 6758 rm -rf conftest* |
6984 eval "ac_cv_lib_$ac_lib_var=yes" | 6759 eval "ac_cv_lib_$ac_lib_var=yes" |
6985 else | 6760 else |
6986 echo "configure: failed program was:" >&5 | 6761 echo "configure: failed program was:" >&5 |
6987 cat conftest.$ac_ext >&5 | 6762 cat conftest.$ac_ext >&5 |
7014 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 6789 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
7015 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 6790 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7016 fi | 6791 fi |
7017 | 6792 |
7018 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 6793 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7019 echo "configure:7020: checking for jl_fi_dic_list in -lwnn" >&5 | 6794 echo "configure:6795: checking for jl_fi_dic_list in -lwnn" >&5 |
7020 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 6795 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7021 | 6796 |
7022 xe_check_libs=" -lwnn " | 6797 xe_check_libs=" -lwnn " |
7023 cat > conftest.$ac_ext <<EOF | 6798 cat > conftest.$ac_ext <<EOF |
7024 #line 7025 "configure" | 6799 #line 6800 "configure" |
7025 #include "confdefs.h" | 6800 #include "confdefs.h" |
7026 /* Override any gcc2 internal prototype to avoid an error. */ | 6801 /* Override any gcc2 internal prototype to avoid an error. */ |
7027 /* We use char because int might match the return type of a gcc2 | 6802 /* We use char because int might match the return type of a gcc2 |
7028 builtin and then its argument prototype would still apply. */ | 6803 builtin and then its argument prototype would still apply. */ |
7029 char jl_fi_dic_list(); | 6804 char jl_fi_dic_list(); |
7030 | 6805 |
7031 int main() { | 6806 int main() { |
7032 jl_fi_dic_list() | 6807 jl_fi_dic_list() |
7033 ; return 0; } | 6808 ; return 0; } |
7034 EOF | 6809 EOF |
7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6810 if { (eval echo configure:6811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7036 rm -rf conftest* | 6811 rm -rf conftest* |
7037 eval "ac_cv_lib_$ac_lib_var=yes" | 6812 eval "ac_cv_lib_$ac_lib_var=yes" |
7038 else | 6813 else |
7039 echo "configure: failed program was:" >&5 | 6814 echo "configure: failed program was:" >&5 |
7040 cat conftest.$ac_ext >&5 | 6815 cat conftest.$ac_ext >&5 |
7062 | 6837 |
7063 fi | 6838 fi |
7064 | 6839 |
7065 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 6840 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
7066 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 6841 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
7067 echo "configure:7068: checking for canna/RK.h" >&5 | 6842 echo "configure:6843: checking for canna/RK.h" >&5 |
7068 | 6843 |
7069 cat > conftest.$ac_ext <<EOF | 6844 cat > conftest.$ac_ext <<EOF |
7070 #line 7071 "configure" | 6845 #line 6846 "configure" |
7071 #include "confdefs.h" | 6846 #include "confdefs.h" |
7072 #include <canna/RK.h> | 6847 #include <canna/RK.h> |
7073 EOF | 6848 EOF |
7074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7075 { (eval echo configure:7076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6850 { (eval echo configure:6851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7076 ac_err=`grep -v '^ *+' conftest.out` | 6851 ac_err=`grep -v '^ *+' conftest.out` |
7077 if test -z "$ac_err"; then | 6852 if test -z "$ac_err"; then |
7078 rm -rf conftest* | 6853 rm -rf conftest* |
7079 eval "ac_cv_header_$ac_safe=yes" | 6854 eval "ac_cv_header_$ac_safe=yes" |
7080 else | 6855 else |
7093 with_canna=no | 6868 with_canna=no |
7094 fi | 6869 fi |
7095 } | 6870 } |
7096 test -z "$with_canna" && { | 6871 test -z "$with_canna" && { |
7097 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 6872 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
7098 echo "configure:7099: checking for RkBgnBun in -lRKC" >&5 | 6873 echo "configure:6874: checking for RkBgnBun in -lRKC" >&5 |
7099 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 6874 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
7100 | 6875 |
7101 xe_check_libs=" -lRKC " | 6876 xe_check_libs=" -lRKC " |
7102 cat > conftest.$ac_ext <<EOF | 6877 cat > conftest.$ac_ext <<EOF |
7103 #line 7104 "configure" | 6878 #line 6879 "configure" |
7104 #include "confdefs.h" | 6879 #include "confdefs.h" |
7105 /* Override any gcc2 internal prototype to avoid an error. */ | 6880 /* Override any gcc2 internal prototype to avoid an error. */ |
7106 /* We use char because int might match the return type of a gcc2 | 6881 /* We use char because int might match the return type of a gcc2 |
7107 builtin and then its argument prototype would still apply. */ | 6882 builtin and then its argument prototype would still apply. */ |
7108 char RkBgnBun(); | 6883 char RkBgnBun(); |
7109 | 6884 |
7110 int main() { | 6885 int main() { |
7111 RkBgnBun() | 6886 RkBgnBun() |
7112 ; return 0; } | 6887 ; return 0; } |
7113 EOF | 6888 EOF |
7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6889 if { (eval echo configure:6890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7115 rm -rf conftest* | 6890 rm -rf conftest* |
7116 eval "ac_cv_lib_$ac_lib_var=yes" | 6891 eval "ac_cv_lib_$ac_lib_var=yes" |
7117 else | 6892 else |
7118 echo "configure: failed program was:" >&5 | 6893 echo "configure: failed program was:" >&5 |
7119 cat conftest.$ac_ext >&5 | 6894 cat conftest.$ac_ext >&5 |
7132 fi | 6907 fi |
7133 | 6908 |
7134 } | 6909 } |
7135 test -z "$with_canna" && { | 6910 test -z "$with_canna" && { |
7136 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 6911 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
7137 echo "configure:7138: checking for jrKanjiControl in -lcanna" >&5 | 6912 echo "configure:6913: checking for jrKanjiControl in -lcanna" >&5 |
7138 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 6913 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
7139 | 6914 |
7140 xe_check_libs=" -lcanna " | 6915 xe_check_libs=" -lcanna " |
7141 cat > conftest.$ac_ext <<EOF | 6916 cat > conftest.$ac_ext <<EOF |
7142 #line 7143 "configure" | 6917 #line 6918 "configure" |
7143 #include "confdefs.h" | 6918 #include "confdefs.h" |
7144 /* Override any gcc2 internal prototype to avoid an error. */ | 6919 /* Override any gcc2 internal prototype to avoid an error. */ |
7145 /* We use char because int might match the return type of a gcc2 | 6920 /* We use char because int might match the return type of a gcc2 |
7146 builtin and then its argument prototype would still apply. */ | 6921 builtin and then its argument prototype would still apply. */ |
7147 char jrKanjiControl(); | 6922 char jrKanjiControl(); |
7148 | 6923 |
7149 int main() { | 6924 int main() { |
7150 jrKanjiControl() | 6925 jrKanjiControl() |
7151 ; return 0; } | 6926 ; return 0; } |
7152 EOF | 6927 EOF |
7153 if { (eval echo configure:7154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7154 rm -rf conftest* | 6929 rm -rf conftest* |
7155 eval "ac_cv_lib_$ac_lib_var=yes" | 6930 eval "ac_cv_lib_$ac_lib_var=yes" |
7156 else | 6931 else |
7157 echo "configure: failed program was:" >&5 | 6932 echo "configure: failed program was:" >&5 |
7158 cat conftest.$ac_ext >&5 | 6933 cat conftest.$ac_ext >&5 |
7197 | 6972 |
7198 if test "$need_motif" = "yes" ; then | 6973 if test "$need_motif" = "yes" ; then |
7199 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 6974 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
7200 | 6975 |
7201 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 6976 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
7202 echo "configure:7203: checking for layout_object_getvalue in -li18n" >&5 | 6977 echo "configure:6978: checking for layout_object_getvalue in -li18n" >&5 |
7203 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 6978 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
7204 | 6979 |
7205 xe_check_libs=" -li18n " | 6980 xe_check_libs=" -li18n " |
7206 cat > conftest.$ac_ext <<EOF | 6981 cat > conftest.$ac_ext <<EOF |
7207 #line 7208 "configure" | 6982 #line 6983 "configure" |
7208 #include "confdefs.h" | 6983 #include "confdefs.h" |
7209 /* Override any gcc2 internal prototype to avoid an error. */ | 6984 /* Override any gcc2 internal prototype to avoid an error. */ |
7210 /* We use char because int might match the return type of a gcc2 | 6985 /* We use char because int might match the return type of a gcc2 |
7211 builtin and then its argument prototype would still apply. */ | 6986 builtin and then its argument prototype would still apply. */ |
7212 char layout_object_getvalue(); | 6987 char layout_object_getvalue(); |
7213 | 6988 |
7214 int main() { | 6989 int main() { |
7215 layout_object_getvalue() | 6990 layout_object_getvalue() |
7216 ; return 0; } | 6991 ; return 0; } |
7217 EOF | 6992 EOF |
7218 if { (eval echo configure:7219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6993 if { (eval echo configure:6994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7219 rm -rf conftest* | 6994 rm -rf conftest* |
7220 eval "ac_cv_lib_$ac_lib_var=yes" | 6995 eval "ac_cv_lib_$ac_lib_var=yes" |
7221 else | 6996 else |
7222 echo "configure: failed program was:" >&5 | 6997 echo "configure: failed program was:" >&5 |
7223 cat conftest.$ac_ext >&5 | 6998 cat conftest.$ac_ext >&5 |
7286 fi | 7061 fi |
7287 | 7062 |
7288 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid | 7063 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask strcasecmp strerror tzset ulimit usleep utimes waitpid |
7289 do | 7064 do |
7290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7291 echo "configure:7292: checking for $ac_func" >&5 | 7066 echo "configure:7067: checking for $ac_func" >&5 |
7292 | 7067 |
7293 cat > conftest.$ac_ext <<EOF | 7068 cat > conftest.$ac_ext <<EOF |
7294 #line 7295 "configure" | 7069 #line 7070 "configure" |
7295 #include "confdefs.h" | 7070 #include "confdefs.h" |
7296 /* System header to define __stub macros and hopefully few prototypes, | 7071 /* System header to define __stub macros and hopefully few prototypes, |
7297 which can conflict with char $ac_func(); below. */ | 7072 which can conflict with char $ac_func(); below. */ |
7298 #include <assert.h> | 7073 #include <assert.h> |
7299 /* Override any gcc2 internal prototype to avoid an error. */ | 7074 /* Override any gcc2 internal prototype to avoid an error. */ |
7312 $ac_func(); | 7087 $ac_func(); |
7313 #endif | 7088 #endif |
7314 | 7089 |
7315 ; return 0; } | 7090 ; return 0; } |
7316 EOF | 7091 EOF |
7317 if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7092 if { (eval echo configure:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7318 rm -rf conftest* | 7093 rm -rf conftest* |
7319 eval "ac_cv_func_$ac_func=yes" | 7094 eval "ac_cv_func_$ac_func=yes" |
7320 else | 7095 else |
7321 echo "configure: failed program was:" >&5 | 7096 echo "configure: failed program was:" >&5 |
7322 cat conftest.$ac_ext >&5 | 7097 cat conftest.$ac_ext >&5 |
7349 fi ;; | 7124 fi ;; |
7350 * ) | 7125 * ) |
7351 for ac_func in realpath | 7126 for ac_func in realpath |
7352 do | 7127 do |
7353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7354 echo "configure:7355: checking for $ac_func" >&5 | 7129 echo "configure:7130: checking for $ac_func" >&5 |
7355 | 7130 |
7356 cat > conftest.$ac_ext <<EOF | 7131 cat > conftest.$ac_ext <<EOF |
7357 #line 7358 "configure" | 7132 #line 7133 "configure" |
7358 #include "confdefs.h" | 7133 #include "confdefs.h" |
7359 /* System header to define __stub macros and hopefully few prototypes, | 7134 /* System header to define __stub macros and hopefully few prototypes, |
7360 which can conflict with char $ac_func(); below. */ | 7135 which can conflict with char $ac_func(); below. */ |
7361 #include <assert.h> | 7136 #include <assert.h> |
7362 /* Override any gcc2 internal prototype to avoid an error. */ | 7137 /* Override any gcc2 internal prototype to avoid an error. */ |
7375 $ac_func(); | 7150 $ac_func(); |
7376 #endif | 7151 #endif |
7377 | 7152 |
7378 ; return 0; } | 7153 ; return 0; } |
7379 EOF | 7154 EOF |
7380 if { (eval echo configure:7381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7155 if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7381 rm -rf conftest* | 7156 rm -rf conftest* |
7382 eval "ac_cv_func_$ac_func=yes" | 7157 eval "ac_cv_func_$ac_func=yes" |
7383 else | 7158 else |
7384 echo "configure: failed program was:" >&5 | 7159 echo "configure: failed program was:" >&5 |
7385 cat conftest.$ac_ext >&5 | 7160 cat conftest.$ac_ext >&5 |
7408 echo " xemacs will be linked with \"realpath.o\"" | 7183 echo " xemacs will be linked with \"realpath.o\"" |
7409 fi ;; | 7184 fi ;; |
7410 esac | 7185 esac |
7411 | 7186 |
7412 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7187 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
7413 echo "configure:7414: checking whether netdb declares h_errno" >&5 | 7188 echo "configure:7189: checking whether netdb declares h_errno" >&5 |
7414 cat > conftest.$ac_ext <<EOF | 7189 cat > conftest.$ac_ext <<EOF |
7415 #line 7416 "configure" | 7190 #line 7191 "configure" |
7416 #include "confdefs.h" | 7191 #include "confdefs.h" |
7417 #include <netdb.h> | 7192 #include <netdb.h> |
7418 int main() { | 7193 int main() { |
7419 return h_errno; | 7194 return h_errno; |
7420 ; return 0; } | 7195 ; return 0; } |
7421 EOF | 7196 EOF |
7422 if { (eval echo configure:7423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7197 if { (eval echo configure:7198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7423 rm -rf conftest* | 7198 rm -rf conftest* |
7424 echo "$ac_t""yes" 1>&6 | 7199 echo "$ac_t""yes" 1>&6 |
7425 { test "$extra_verbose" = "yes" && cat << \EOF | 7200 { test "$extra_verbose" = "yes" && cat << \EOF |
7426 Defining HAVE_H_ERRNO | 7201 Defining HAVE_H_ERRNO |
7427 EOF | 7202 EOF |
7437 echo "$ac_t""no" 1>&6 | 7212 echo "$ac_t""no" 1>&6 |
7438 fi | 7213 fi |
7439 rm -f conftest* | 7214 rm -f conftest* |
7440 | 7215 |
7441 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7216 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
7442 echo "configure:7443: checking for sigsetjmp" >&5 | 7217 echo "configure:7218: checking for sigsetjmp" >&5 |
7443 cat > conftest.$ac_ext <<EOF | 7218 cat > conftest.$ac_ext <<EOF |
7444 #line 7445 "configure" | 7219 #line 7220 "configure" |
7445 #include "confdefs.h" | 7220 #include "confdefs.h" |
7446 #include <setjmp.h> | 7221 #include <setjmp.h> |
7447 int main() { | 7222 int main() { |
7448 sigjmp_buf bar; sigsetjmp (bar, 0); | 7223 sigjmp_buf bar; sigsetjmp (bar, 0); |
7449 ; return 0; } | 7224 ; return 0; } |
7450 EOF | 7225 EOF |
7451 if { (eval echo configure:7452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7226 if { (eval echo configure:7227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7452 rm -rf conftest* | 7227 rm -rf conftest* |
7453 echo "$ac_t""yes" 1>&6 | 7228 echo "$ac_t""yes" 1>&6 |
7454 { test "$extra_verbose" = "yes" && cat << \EOF | 7229 { test "$extra_verbose" = "yes" && cat << \EOF |
7455 Defining HAVE_SIGSETJMP | 7230 Defining HAVE_SIGSETJMP |
7456 EOF | 7231 EOF |
7466 echo "$ac_t""no" 1>&6 | 7241 echo "$ac_t""no" 1>&6 |
7467 fi | 7242 fi |
7468 rm -f conftest* | 7243 rm -f conftest* |
7469 | 7244 |
7470 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7245 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
7471 echo "configure:7472: checking whether localtime caches TZ" >&5 | 7246 echo "configure:7247: checking whether localtime caches TZ" >&5 |
7472 | 7247 |
7473 if test "$ac_cv_func_tzset" = "yes"; then | 7248 if test "$ac_cv_func_tzset" = "yes"; then |
7474 cat > conftest.$ac_ext <<EOF | 7249 cat > conftest.$ac_ext <<EOF |
7475 #line 7476 "configure" | 7250 #line 7251 "configure" |
7476 #include "confdefs.h" | 7251 #include "confdefs.h" |
7477 #include <time.h> | 7252 #include <time.h> |
7478 #if STDC_HEADERS | 7253 #if STDC_HEADERS |
7479 # include <stdlib.h> | 7254 # include <stdlib.h> |
7480 #endif | 7255 #endif |
7505 if (localtime (&now)->tm_hour != hour_unset) | 7280 if (localtime (&now)->tm_hour != hour_unset) |
7506 exit (1); | 7281 exit (1); |
7507 exit (0); | 7282 exit (0); |
7508 } | 7283 } |
7509 EOF | 7284 EOF |
7510 if { (eval echo configure:7511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7285 if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7511 then | 7286 then |
7512 emacs_cv_localtime_cache=no | 7287 emacs_cv_localtime_cache=no |
7513 else | 7288 else |
7514 echo "configure: failed program was:" >&5 | 7289 echo "configure: failed program was:" >&5 |
7515 cat conftest.$ac_ext >&5 | 7290 cat conftest.$ac_ext >&5 |
7534 | 7309 |
7535 fi | 7310 fi |
7536 | 7311 |
7537 if test "$HAVE_TIMEVAL" = "yes"; then | 7312 if test "$HAVE_TIMEVAL" = "yes"; then |
7538 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7313 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
7539 echo "configure:7540: checking whether gettimeofday cannot accept two arguments" >&5 | 7314 echo "configure:7315: checking whether gettimeofday cannot accept two arguments" >&5 |
7540 cat > conftest.$ac_ext <<EOF | 7315 cat > conftest.$ac_ext <<EOF |
7541 #line 7542 "configure" | 7316 #line 7317 "configure" |
7542 #include "confdefs.h" | 7317 #include "confdefs.h" |
7543 | 7318 |
7544 #ifdef TIME_WITH_SYS_TIME | 7319 #ifdef TIME_WITH_SYS_TIME |
7545 #include <sys/time.h> | 7320 #include <sys/time.h> |
7546 #include <time.h> | 7321 #include <time.h> |
7558 struct timezone dummy; | 7333 struct timezone dummy; |
7559 gettimeofday (&time, &dummy); | 7334 gettimeofday (&time, &dummy); |
7560 | 7335 |
7561 ; return 0; } | 7336 ; return 0; } |
7562 EOF | 7337 EOF |
7563 if { (eval echo configure:7564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7338 if { (eval echo configure:7339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7564 rm -rf conftest* | 7339 rm -rf conftest* |
7565 echo "$ac_t""no" 1>&6 | 7340 echo "$ac_t""no" 1>&6 |
7566 else | 7341 else |
7567 echo "configure: failed program was:" >&5 | 7342 echo "configure: failed program was:" >&5 |
7568 cat conftest.$ac_ext >&5 | 7343 cat conftest.$ac_ext >&5 |
7580 rm -f conftest* | 7355 rm -f conftest* |
7581 fi | 7356 fi |
7582 | 7357 |
7583 | 7358 |
7584 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7359 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7585 echo "configure:7586: checking for inline" >&5 | 7360 echo "configure:7361: checking for inline" >&5 |
7586 | 7361 |
7587 ac_cv_c_inline=no | 7362 ac_cv_c_inline=no |
7588 for ac_kw in inline __inline__ __inline; do | 7363 for ac_kw in inline __inline__ __inline; do |
7589 cat > conftest.$ac_ext <<EOF | 7364 cat > conftest.$ac_ext <<EOF |
7590 #line 7591 "configure" | 7365 #line 7366 "configure" |
7591 #include "confdefs.h" | 7366 #include "confdefs.h" |
7592 | 7367 |
7593 int main() { | 7368 int main() { |
7594 } $ac_kw foo() { | 7369 } $ac_kw foo() { |
7595 ; return 0; } | 7370 ; return 0; } |
7596 EOF | 7371 EOF |
7597 if { (eval echo configure:7598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7372 if { (eval echo configure:7373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7598 rm -rf conftest* | 7373 rm -rf conftest* |
7599 ac_cv_c_inline=$ac_kw; break | 7374 ac_cv_c_inline=$ac_kw; break |
7600 else | 7375 else |
7601 echo "configure: failed program was:" >&5 | 7376 echo "configure: failed program was:" >&5 |
7602 cat conftest.$ac_ext >&5 | 7377 cat conftest.$ac_ext >&5 |
7642 | 7417 |
7643 | 7418 |
7644 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7419 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7645 # for constant arguments. Useless! | 7420 # for constant arguments. Useless! |
7646 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7421 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
7647 echo "configure:7648: checking for working alloca.h" >&5 | 7422 echo "configure:7423: checking for working alloca.h" >&5 |
7648 | 7423 |
7649 cat > conftest.$ac_ext <<EOF | 7424 cat > conftest.$ac_ext <<EOF |
7650 #line 7651 "configure" | 7425 #line 7426 "configure" |
7651 #include "confdefs.h" | 7426 #include "confdefs.h" |
7652 #include <alloca.h> | 7427 #include <alloca.h> |
7653 int main() { | 7428 int main() { |
7654 char *p = alloca(2 * sizeof(int)); | 7429 char *p = alloca(2 * sizeof(int)); |
7655 ; return 0; } | 7430 ; return 0; } |
7656 EOF | 7431 EOF |
7657 if { (eval echo configure:7658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7432 if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7658 rm -rf conftest* | 7433 rm -rf conftest* |
7659 ac_cv_header_alloca_h=yes | 7434 ac_cv_header_alloca_h=yes |
7660 else | 7435 else |
7661 echo "configure: failed program was:" >&5 | 7436 echo "configure: failed program was:" >&5 |
7662 cat conftest.$ac_ext >&5 | 7437 cat conftest.$ac_ext >&5 |
7676 } | 7451 } |
7677 | 7452 |
7678 fi | 7453 fi |
7679 | 7454 |
7680 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7455 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
7681 echo "configure:7682: checking for alloca" >&5 | 7456 echo "configure:7457: checking for alloca" >&5 |
7682 | 7457 |
7683 cat > conftest.$ac_ext <<EOF | 7458 cat > conftest.$ac_ext <<EOF |
7684 #line 7685 "configure" | 7459 #line 7460 "configure" |
7685 #include "confdefs.h" | 7460 #include "confdefs.h" |
7686 | 7461 |
7687 #ifdef __GNUC__ | 7462 #ifdef __GNUC__ |
7688 # define alloca __builtin_alloca | 7463 # define alloca __builtin_alloca |
7689 #else | 7464 #else |
7702 | 7477 |
7703 int main() { | 7478 int main() { |
7704 char *p = (char *) alloca(1); | 7479 char *p = (char *) alloca(1); |
7705 ; return 0; } | 7480 ; return 0; } |
7706 EOF | 7481 EOF |
7707 if { (eval echo configure:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7482 if { (eval echo configure:7483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7708 rm -rf conftest* | 7483 rm -rf conftest* |
7709 ac_cv_func_alloca_works=yes | 7484 ac_cv_func_alloca_works=yes |
7710 else | 7485 else |
7711 echo "configure: failed program was:" >&5 | 7486 echo "configure: failed program was:" >&5 |
7712 cat conftest.$ac_ext >&5 | 7487 cat conftest.$ac_ext >&5 |
7741 EOF | 7516 EOF |
7742 } | 7517 } |
7743 | 7518 |
7744 | 7519 |
7745 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7520 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
7746 echo "configure:7747: checking whether alloca needs Cray hooks" >&5 | 7521 echo "configure:7522: checking whether alloca needs Cray hooks" >&5 |
7747 | 7522 |
7748 cat > conftest.$ac_ext <<EOF | 7523 cat > conftest.$ac_ext <<EOF |
7749 #line 7750 "configure" | 7524 #line 7525 "configure" |
7750 #include "confdefs.h" | 7525 #include "confdefs.h" |
7751 #if defined(CRAY) && ! defined(CRAY2) | 7526 #if defined(CRAY) && ! defined(CRAY2) |
7752 webecray | 7527 webecray |
7753 #else | 7528 #else |
7754 wenotbecray | 7529 wenotbecray |
7768 | 7543 |
7769 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7544 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
7770 if test $ac_cv_os_cray = yes; then | 7545 if test $ac_cv_os_cray = yes; then |
7771 for ac_func in _getb67 GETB67 getb67; do | 7546 for ac_func in _getb67 GETB67 getb67; do |
7772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7773 echo "configure:7774: checking for $ac_func" >&5 | 7548 echo "configure:7549: checking for $ac_func" >&5 |
7774 | 7549 |
7775 cat > conftest.$ac_ext <<EOF | 7550 cat > conftest.$ac_ext <<EOF |
7776 #line 7777 "configure" | 7551 #line 7552 "configure" |
7777 #include "confdefs.h" | 7552 #include "confdefs.h" |
7778 /* System header to define __stub macros and hopefully few prototypes, | 7553 /* System header to define __stub macros and hopefully few prototypes, |
7779 which can conflict with char $ac_func(); below. */ | 7554 which can conflict with char $ac_func(); below. */ |
7780 #include <assert.h> | 7555 #include <assert.h> |
7781 /* Override any gcc2 internal prototype to avoid an error. */ | 7556 /* Override any gcc2 internal prototype to avoid an error. */ |
7794 $ac_func(); | 7569 $ac_func(); |
7795 #endif | 7570 #endif |
7796 | 7571 |
7797 ; return 0; } | 7572 ; return 0; } |
7798 EOF | 7573 EOF |
7799 if { (eval echo configure:7800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7574 if { (eval echo configure:7575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7800 rm -rf conftest* | 7575 rm -rf conftest* |
7801 eval "ac_cv_func_$ac_func=yes" | 7576 eval "ac_cv_func_$ac_func=yes" |
7802 else | 7577 else |
7803 echo "configure: failed program was:" >&5 | 7578 echo "configure: failed program was:" >&5 |
7804 cat conftest.$ac_ext >&5 | 7579 cat conftest.$ac_ext >&5 |
7824 | 7599 |
7825 done | 7600 done |
7826 fi | 7601 fi |
7827 | 7602 |
7828 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7603 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
7829 echo "configure:7830: checking stack direction for C alloca" >&5 | 7604 echo "configure:7605: checking stack direction for C alloca" >&5 |
7830 | 7605 |
7831 cat > conftest.$ac_ext <<EOF | 7606 cat > conftest.$ac_ext <<EOF |
7832 #line 7833 "configure" | 7607 #line 7608 "configure" |
7833 #include "confdefs.h" | 7608 #include "confdefs.h" |
7834 find_stack_direction () | 7609 find_stack_direction () |
7835 { | 7610 { |
7836 static char *addr = 0; | 7611 static char *addr = 0; |
7837 auto char dummy; | 7612 auto char dummy; |
7846 main () | 7621 main () |
7847 { | 7622 { |
7848 exit (find_stack_direction() < 0); | 7623 exit (find_stack_direction() < 0); |
7849 } | 7624 } |
7850 EOF | 7625 EOF |
7851 if { (eval echo configure:7852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
7852 then | 7627 then |
7853 ac_cv_c_stack_direction=1 | 7628 ac_cv_c_stack_direction=1 |
7854 else | 7629 else |
7855 echo "configure: failed program was:" >&5 | 7630 echo "configure: failed program was:" >&5 |
7856 cat conftest.$ac_ext >&5 | 7631 cat conftest.$ac_ext >&5 |
7874 echo " xemacs will be linked with \"$ALLOCA\"" | 7649 echo " xemacs will be linked with \"$ALLOCA\"" |
7875 fi | 7650 fi |
7876 | 7651 |
7877 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7652 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
7878 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7653 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
7879 echo "configure:7880: checking for vfork.h" >&5 | 7654 echo "configure:7655: checking for vfork.h" >&5 |
7880 | 7655 |
7881 cat > conftest.$ac_ext <<EOF | 7656 cat > conftest.$ac_ext <<EOF |
7882 #line 7883 "configure" | 7657 #line 7658 "configure" |
7883 #include "confdefs.h" | 7658 #include "confdefs.h" |
7884 #include <vfork.h> | 7659 #include <vfork.h> |
7885 EOF | 7660 EOF |
7886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7887 { (eval echo configure:7888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7662 { (eval echo configure:7663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7888 ac_err=`grep -v '^ *+' conftest.out` | 7663 ac_err=`grep -v '^ *+' conftest.out` |
7889 if test -z "$ac_err"; then | 7664 if test -z "$ac_err"; then |
7890 rm -rf conftest* | 7665 rm -rf conftest* |
7891 eval "ac_cv_header_$ac_safe=yes" | 7666 eval "ac_cv_header_$ac_safe=yes" |
7892 else | 7667 else |
7910 else | 7685 else |
7911 echo "$ac_t""no" 1>&6 | 7686 echo "$ac_t""no" 1>&6 |
7912 fi | 7687 fi |
7913 | 7688 |
7914 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7689 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
7915 echo "configure:7916: checking for working vfork" >&5 | 7690 echo "configure:7691: checking for working vfork" >&5 |
7916 | 7691 |
7917 cat > conftest.$ac_ext <<EOF | 7692 cat > conftest.$ac_ext <<EOF |
7918 #line 7919 "configure" | 7693 #line 7694 "configure" |
7919 #include "confdefs.h" | 7694 #include "confdefs.h" |
7920 /* Thanks to Paul Eggert for this test. */ | 7695 /* Thanks to Paul Eggert for this test. */ |
7921 #include <stdio.h> | 7696 #include <stdio.h> |
7922 #include <sys/types.h> | 7697 #include <sys/types.h> |
7923 #include <sys/stat.h> | 7698 #include <sys/stat.h> |
8008 || fstat(fileno(stdout), &st) != 0 | 7783 || fstat(fileno(stdout), &st) != 0 |
8009 ); | 7784 ); |
8010 } | 7785 } |
8011 } | 7786 } |
8012 EOF | 7787 EOF |
8013 if { (eval echo configure:8014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7788 if { (eval echo configure:7789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8014 then | 7789 then |
8015 ac_cv_func_vfork_works=yes | 7790 ac_cv_func_vfork_works=yes |
8016 else | 7791 else |
8017 echo "configure: failed program was:" >&5 | 7792 echo "configure: failed program was:" >&5 |
8018 cat conftest.$ac_ext >&5 | 7793 cat conftest.$ac_ext >&5 |
8033 | 7808 |
8034 fi | 7809 fi |
8035 | 7810 |
8036 | 7811 |
8037 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 7812 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
8038 echo "configure:8039: checking for working strcoll" >&5 | 7813 echo "configure:7814: checking for working strcoll" >&5 |
8039 | 7814 |
8040 cat > conftest.$ac_ext <<EOF | 7815 cat > conftest.$ac_ext <<EOF |
8041 #line 8042 "configure" | 7816 #line 7817 "configure" |
8042 #include "confdefs.h" | 7817 #include "confdefs.h" |
8043 #include <string.h> | 7818 #include <string.h> |
8044 main () | 7819 main () |
8045 { | 7820 { |
8046 exit (strcoll ("abc", "def") >= 0 || | 7821 exit (strcoll ("abc", "def") >= 0 || |
8047 strcoll ("ABC", "DEF") >= 0 || | 7822 strcoll ("ABC", "DEF") >= 0 || |
8048 strcoll ("123", "456") >= 0); | 7823 strcoll ("123", "456") >= 0); |
8049 } | 7824 } |
8050 EOF | 7825 EOF |
8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7826 if { (eval echo configure:7827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8052 then | 7827 then |
8053 ac_cv_func_strcoll_works=yes | 7828 ac_cv_func_strcoll_works=yes |
8054 else | 7829 else |
8055 echo "configure: failed program was:" >&5 | 7830 echo "configure: failed program was:" >&5 |
8056 cat conftest.$ac_ext >&5 | 7831 cat conftest.$ac_ext >&5 |
8073 | 7848 |
8074 | 7849 |
8075 for ac_func in getpgrp | 7850 for ac_func in getpgrp |
8076 do | 7851 do |
8077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7852 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8078 echo "configure:8079: checking for $ac_func" >&5 | 7853 echo "configure:7854: checking for $ac_func" >&5 |
8079 | 7854 |
8080 cat > conftest.$ac_ext <<EOF | 7855 cat > conftest.$ac_ext <<EOF |
8081 #line 8082 "configure" | 7856 #line 7857 "configure" |
8082 #include "confdefs.h" | 7857 #include "confdefs.h" |
8083 /* System header to define __stub macros and hopefully few prototypes, | 7858 /* System header to define __stub macros and hopefully few prototypes, |
8084 which can conflict with char $ac_func(); below. */ | 7859 which can conflict with char $ac_func(); below. */ |
8085 #include <assert.h> | 7860 #include <assert.h> |
8086 /* Override any gcc2 internal prototype to avoid an error. */ | 7861 /* Override any gcc2 internal prototype to avoid an error. */ |
8099 $ac_func(); | 7874 $ac_func(); |
8100 #endif | 7875 #endif |
8101 | 7876 |
8102 ; return 0; } | 7877 ; return 0; } |
8103 EOF | 7878 EOF |
8104 if { (eval echo configure:8105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7879 if { (eval echo configure:7880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8105 rm -rf conftest* | 7880 rm -rf conftest* |
8106 eval "ac_cv_func_$ac_func=yes" | 7881 eval "ac_cv_func_$ac_func=yes" |
8107 else | 7882 else |
8108 echo "configure: failed program was:" >&5 | 7883 echo "configure: failed program was:" >&5 |
8109 cat conftest.$ac_ext >&5 | 7884 cat conftest.$ac_ext >&5 |
8127 echo "$ac_t""no" 1>&6 | 7902 echo "$ac_t""no" 1>&6 |
8128 fi | 7903 fi |
8129 done | 7904 done |
8130 | 7905 |
8131 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 7906 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
8132 echo "configure:8133: checking whether getpgrp takes no argument" >&5 | 7907 echo "configure:7908: checking whether getpgrp takes no argument" >&5 |
8133 | 7908 |
8134 cat > conftest.$ac_ext <<EOF | 7909 cat > conftest.$ac_ext <<EOF |
8135 #line 8136 "configure" | 7910 #line 7911 "configure" |
8136 #include "confdefs.h" | 7911 #include "confdefs.h" |
8137 | 7912 |
8138 /* | 7913 /* |
8139 * If this system has a BSD-style getpgrp(), | 7914 * If this system has a BSD-style getpgrp(), |
8140 * which takes a pid argument, exit unsuccessfully. | 7915 * which takes a pid argument, exit unsuccessfully. |
8185 exit(s>>8); | 7960 exit(s>>8); |
8186 } | 7961 } |
8187 } | 7962 } |
8188 | 7963 |
8189 EOF | 7964 EOF |
8190 if { (eval echo configure:8191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7965 if { (eval echo configure:7966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8191 then | 7966 then |
8192 ac_cv_func_getpgrp_void=yes | 7967 ac_cv_func_getpgrp_void=yes |
8193 else | 7968 else |
8194 echo "configure: failed program was:" >&5 | 7969 echo "configure: failed program was:" >&5 |
8195 cat conftest.$ac_ext >&5 | 7970 cat conftest.$ac_ext >&5 |
8211 | 7986 |
8212 fi | 7987 fi |
8213 | 7988 |
8214 | 7989 |
8215 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 7990 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
8216 echo "configure:8217: checking for working mmap" >&5 | 7991 echo "configure:7992: checking for working mmap" >&5 |
8217 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 7992 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
8218 cat > conftest.$ac_ext <<EOF | 7993 cat > conftest.$ac_ext <<EOF |
8219 #line 8220 "configure" | 7994 #line 7995 "configure" |
8220 #include "confdefs.h" | 7995 #include "confdefs.h" |
8221 #include <stdio.h> | 7996 #include <stdio.h> |
8222 #include <unistd.h> | 7997 #include <unistd.h> |
8223 #include <fcntl.h> | 7998 #include <fcntl.h> |
8224 #include <sys/mman.h> | 7999 #include <sys/mman.h> |
8247 return 0; | 8022 return 0; |
8248 perror ("conftest: mmap failed"); | 8023 perror ("conftest: mmap failed"); |
8249 return 1; | 8024 return 1; |
8250 } | 8025 } |
8251 EOF | 8026 EOF |
8252 if { (eval echo configure:8253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8027 if { (eval echo configure:8028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
8253 then | 8028 then |
8254 have_mmap=yes | 8029 have_mmap=yes |
8255 else | 8030 else |
8256 echo "configure: failed program was:" >&5 | 8031 echo "configure: failed program was:" >&5 |
8257 cat conftest.$ac_ext >&5 | 8032 cat conftest.$ac_ext >&5 |
8281 } | 8056 } |
8282 | 8057 |
8283 | 8058 |
8284 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8059 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
8285 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8060 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
8286 echo "configure:8287: checking for termios.h" >&5 | 8061 echo "configure:8062: checking for termios.h" >&5 |
8287 | 8062 |
8288 cat > conftest.$ac_ext <<EOF | 8063 cat > conftest.$ac_ext <<EOF |
8289 #line 8290 "configure" | 8064 #line 8065 "configure" |
8290 #include "confdefs.h" | 8065 #include "confdefs.h" |
8291 #include <termios.h> | 8066 #include <termios.h> |
8292 EOF | 8067 EOF |
8293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8294 { (eval echo configure:8295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8069 { (eval echo configure:8070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8295 ac_err=`grep -v '^ *+' conftest.out` | 8070 ac_err=`grep -v '^ *+' conftest.out` |
8296 if test -z "$ac_err"; then | 8071 if test -z "$ac_err"; then |
8297 rm -rf conftest* | 8072 rm -rf conftest* |
8298 eval "ac_cv_header_$ac_safe=yes" | 8073 eval "ac_cv_header_$ac_safe=yes" |
8299 else | 8074 else |
8332 | 8107 |
8333 else | 8108 else |
8334 echo "$ac_t""no" 1>&6 | 8109 echo "$ac_t""no" 1>&6 |
8335 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8110 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
8336 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8111 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
8337 echo "configure:8338: checking for termio.h" >&5 | 8112 echo "configure:8113: checking for termio.h" >&5 |
8338 | 8113 |
8339 cat > conftest.$ac_ext <<EOF | 8114 cat > conftest.$ac_ext <<EOF |
8340 #line 8341 "configure" | 8115 #line 8116 "configure" |
8341 #include "confdefs.h" | 8116 #include "confdefs.h" |
8342 #include <termio.h> | 8117 #include <termio.h> |
8343 EOF | 8118 EOF |
8344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8345 { (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8120 { (eval echo configure:8121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8346 ac_err=`grep -v '^ *+' conftest.out` | 8121 ac_err=`grep -v '^ *+' conftest.out` |
8347 if test -z "$ac_err"; then | 8122 if test -z "$ac_err"; then |
8348 rm -rf conftest* | 8123 rm -rf conftest* |
8349 eval "ac_cv_header_$ac_safe=yes" | 8124 eval "ac_cv_header_$ac_safe=yes" |
8350 else | 8125 else |
8372 fi | 8147 fi |
8373 | 8148 |
8374 | 8149 |
8375 | 8150 |
8376 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8151 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
8377 echo "configure:8378: checking for socket" >&5 | 8152 echo "configure:8153: checking for socket" >&5 |
8378 | 8153 |
8379 cat > conftest.$ac_ext <<EOF | 8154 cat > conftest.$ac_ext <<EOF |
8380 #line 8381 "configure" | 8155 #line 8156 "configure" |
8381 #include "confdefs.h" | 8156 #include "confdefs.h" |
8382 /* System header to define __stub macros and hopefully few prototypes, | 8157 /* System header to define __stub macros and hopefully few prototypes, |
8383 which can conflict with char socket(); below. */ | 8158 which can conflict with char socket(); below. */ |
8384 #include <assert.h> | 8159 #include <assert.h> |
8385 /* Override any gcc2 internal prototype to avoid an error. */ | 8160 /* Override any gcc2 internal prototype to avoid an error. */ |
8398 socket(); | 8173 socket(); |
8399 #endif | 8174 #endif |
8400 | 8175 |
8401 ; return 0; } | 8176 ; return 0; } |
8402 EOF | 8177 EOF |
8403 if { (eval echo configure:8404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8178 if { (eval echo configure:8179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8404 rm -rf conftest* | 8179 rm -rf conftest* |
8405 eval "ac_cv_func_socket=yes" | 8180 eval "ac_cv_func_socket=yes" |
8406 else | 8181 else |
8407 echo "configure: failed program was:" >&5 | 8182 echo "configure: failed program was:" >&5 |
8408 cat conftest.$ac_ext >&5 | 8183 cat conftest.$ac_ext >&5 |
8413 | 8188 |
8414 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8189 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
8415 echo "$ac_t""yes" 1>&6 | 8190 echo "$ac_t""yes" 1>&6 |
8416 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8191 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
8417 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8192 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
8418 echo "configure:8419: checking for netinet/in.h" >&5 | 8193 echo "configure:8194: checking for netinet/in.h" >&5 |
8419 | 8194 |
8420 cat > conftest.$ac_ext <<EOF | 8195 cat > conftest.$ac_ext <<EOF |
8421 #line 8422 "configure" | 8196 #line 8197 "configure" |
8422 #include "confdefs.h" | 8197 #include "confdefs.h" |
8423 #include <netinet/in.h> | 8198 #include <netinet/in.h> |
8424 EOF | 8199 EOF |
8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8201 { (eval echo configure:8202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8427 ac_err=`grep -v '^ *+' conftest.out` | 8202 ac_err=`grep -v '^ *+' conftest.out` |
8428 if test -z "$ac_err"; then | 8203 if test -z "$ac_err"; then |
8429 rm -rf conftest* | 8204 rm -rf conftest* |
8430 eval "ac_cv_header_$ac_safe=yes" | 8205 eval "ac_cv_header_$ac_safe=yes" |
8431 else | 8206 else |
8438 rm -f conftest* | 8213 rm -f conftest* |
8439 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8214 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8440 echo "$ac_t""yes" 1>&6 | 8215 echo "$ac_t""yes" 1>&6 |
8441 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8216 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
8442 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8217 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
8443 echo "configure:8444: checking for arpa/inet.h" >&5 | 8218 echo "configure:8219: checking for arpa/inet.h" >&5 |
8444 | 8219 |
8445 cat > conftest.$ac_ext <<EOF | 8220 cat > conftest.$ac_ext <<EOF |
8446 #line 8447 "configure" | 8221 #line 8222 "configure" |
8447 #include "confdefs.h" | 8222 #include "confdefs.h" |
8448 #include <arpa/inet.h> | 8223 #include <arpa/inet.h> |
8449 EOF | 8224 EOF |
8450 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8451 { (eval echo configure:8452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8226 { (eval echo configure:8227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8452 ac_err=`grep -v '^ *+' conftest.out` | 8227 ac_err=`grep -v '^ *+' conftest.out` |
8453 if test -z "$ac_err"; then | 8228 if test -z "$ac_err"; then |
8454 rm -rf conftest* | 8229 rm -rf conftest* |
8455 eval "ac_cv_header_$ac_safe=yes" | 8230 eval "ac_cv_header_$ac_safe=yes" |
8456 else | 8231 else |
8471 #define HAVE_SOCKETS 1 | 8246 #define HAVE_SOCKETS 1 |
8472 EOF | 8247 EOF |
8473 } | 8248 } |
8474 | 8249 |
8475 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8250 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
8476 echo "configure:8477: checking "for sun_len member in struct sockaddr_un"" >&5 | 8251 echo "configure:8252: checking "for sun_len member in struct sockaddr_un"" >&5 |
8477 cat > conftest.$ac_ext <<EOF | 8252 cat > conftest.$ac_ext <<EOF |
8478 #line 8479 "configure" | 8253 #line 8254 "configure" |
8479 #include "confdefs.h" | 8254 #include "confdefs.h" |
8480 | 8255 |
8481 #include <sys/types.h> | 8256 #include <sys/types.h> |
8482 #include <sys/socket.h> | 8257 #include <sys/socket.h> |
8483 #include <sys/un.h> | 8258 #include <sys/un.h> |
8484 | 8259 |
8485 int main() { | 8260 int main() { |
8486 static struct sockaddr_un x; x.sun_len = 1; | 8261 static struct sockaddr_un x; x.sun_len = 1; |
8487 ; return 0; } | 8262 ; return 0; } |
8488 EOF | 8263 EOF |
8489 if { (eval echo configure:8490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8264 if { (eval echo configure:8265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8490 rm -rf conftest* | 8265 rm -rf conftest* |
8491 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8266 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
8492 Defining HAVE_SOCKADDR_SUN_LEN | 8267 Defining HAVE_SOCKADDR_SUN_LEN |
8493 EOF | 8268 EOF |
8494 cat >> confdefs.h <<\EOF | 8269 cat >> confdefs.h <<\EOF |
8515 echo "$ac_t""no" 1>&6 | 8290 echo "$ac_t""no" 1>&6 |
8516 fi | 8291 fi |
8517 | 8292 |
8518 | 8293 |
8519 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8294 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
8520 echo "configure:8521: checking for msgget" >&5 | 8295 echo "configure:8296: checking for msgget" >&5 |
8521 | 8296 |
8522 cat > conftest.$ac_ext <<EOF | 8297 cat > conftest.$ac_ext <<EOF |
8523 #line 8524 "configure" | 8298 #line 8299 "configure" |
8524 #include "confdefs.h" | 8299 #include "confdefs.h" |
8525 /* System header to define __stub macros and hopefully few prototypes, | 8300 /* System header to define __stub macros and hopefully few prototypes, |
8526 which can conflict with char msgget(); below. */ | 8301 which can conflict with char msgget(); below. */ |
8527 #include <assert.h> | 8302 #include <assert.h> |
8528 /* Override any gcc2 internal prototype to avoid an error. */ | 8303 /* Override any gcc2 internal prototype to avoid an error. */ |
8541 msgget(); | 8316 msgget(); |
8542 #endif | 8317 #endif |
8543 | 8318 |
8544 ; return 0; } | 8319 ; return 0; } |
8545 EOF | 8320 EOF |
8546 if { (eval echo configure:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8321 if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8547 rm -rf conftest* | 8322 rm -rf conftest* |
8548 eval "ac_cv_func_msgget=yes" | 8323 eval "ac_cv_func_msgget=yes" |
8549 else | 8324 else |
8550 echo "configure: failed program was:" >&5 | 8325 echo "configure: failed program was:" >&5 |
8551 cat conftest.$ac_ext >&5 | 8326 cat conftest.$ac_ext >&5 |
8556 | 8331 |
8557 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8332 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
8558 echo "$ac_t""yes" 1>&6 | 8333 echo "$ac_t""yes" 1>&6 |
8559 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8334 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
8560 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8335 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
8561 echo "configure:8562: checking for sys/ipc.h" >&5 | 8336 echo "configure:8337: checking for sys/ipc.h" >&5 |
8562 | 8337 |
8563 cat > conftest.$ac_ext <<EOF | 8338 cat > conftest.$ac_ext <<EOF |
8564 #line 8565 "configure" | 8339 #line 8340 "configure" |
8565 #include "confdefs.h" | 8340 #include "confdefs.h" |
8566 #include <sys/ipc.h> | 8341 #include <sys/ipc.h> |
8567 EOF | 8342 EOF |
8568 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8569 { (eval echo configure:8570: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8344 { (eval echo configure:8345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8570 ac_err=`grep -v '^ *+' conftest.out` | 8345 ac_err=`grep -v '^ *+' conftest.out` |
8571 if test -z "$ac_err"; then | 8346 if test -z "$ac_err"; then |
8572 rm -rf conftest* | 8347 rm -rf conftest* |
8573 eval "ac_cv_header_$ac_safe=yes" | 8348 eval "ac_cv_header_$ac_safe=yes" |
8574 else | 8349 else |
8581 rm -f conftest* | 8356 rm -f conftest* |
8582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8583 echo "$ac_t""yes" 1>&6 | 8358 echo "$ac_t""yes" 1>&6 |
8584 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8359 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
8585 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8360 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
8586 echo "configure:8587: checking for sys/msg.h" >&5 | 8361 echo "configure:8362: checking for sys/msg.h" >&5 |
8587 | 8362 |
8588 cat > conftest.$ac_ext <<EOF | 8363 cat > conftest.$ac_ext <<EOF |
8589 #line 8590 "configure" | 8364 #line 8365 "configure" |
8590 #include "confdefs.h" | 8365 #include "confdefs.h" |
8591 #include <sys/msg.h> | 8366 #include <sys/msg.h> |
8592 EOF | 8367 EOF |
8593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8594 { (eval echo configure:8595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8369 { (eval echo configure:8370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8595 ac_err=`grep -v '^ *+' conftest.out` | 8370 ac_err=`grep -v '^ *+' conftest.out` |
8596 if test -z "$ac_err"; then | 8371 if test -z "$ac_err"; then |
8597 rm -rf conftest* | 8372 rm -rf conftest* |
8598 eval "ac_cv_header_$ac_safe=yes" | 8373 eval "ac_cv_header_$ac_safe=yes" |
8599 else | 8374 else |
8627 fi | 8402 fi |
8628 | 8403 |
8629 | 8404 |
8630 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8405 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
8631 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8406 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
8632 echo "configure:8633: checking for dirent.h" >&5 | 8407 echo "configure:8408: checking for dirent.h" >&5 |
8633 | 8408 |
8634 cat > conftest.$ac_ext <<EOF | 8409 cat > conftest.$ac_ext <<EOF |
8635 #line 8636 "configure" | 8410 #line 8411 "configure" |
8636 #include "confdefs.h" | 8411 #include "confdefs.h" |
8637 #include <dirent.h> | 8412 #include <dirent.h> |
8638 EOF | 8413 EOF |
8639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8640 { (eval echo configure:8641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8415 { (eval echo configure:8416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8641 ac_err=`grep -v '^ *+' conftest.out` | 8416 ac_err=`grep -v '^ *+' conftest.out` |
8642 if test -z "$ac_err"; then | 8417 if test -z "$ac_err"; then |
8643 rm -rf conftest* | 8418 rm -rf conftest* |
8644 eval "ac_cv_header_$ac_safe=yes" | 8419 eval "ac_cv_header_$ac_safe=yes" |
8645 else | 8420 else |
8662 | 8437 |
8663 else | 8438 else |
8664 echo "$ac_t""no" 1>&6 | 8439 echo "$ac_t""no" 1>&6 |
8665 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8440 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
8666 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8441 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
8667 echo "configure:8668: checking for sys/dir.h" >&5 | 8442 echo "configure:8443: checking for sys/dir.h" >&5 |
8668 | 8443 |
8669 cat > conftest.$ac_ext <<EOF | 8444 cat > conftest.$ac_ext <<EOF |
8670 #line 8671 "configure" | 8445 #line 8446 "configure" |
8671 #include "confdefs.h" | 8446 #include "confdefs.h" |
8672 #include <sys/dir.h> | 8447 #include <sys/dir.h> |
8673 EOF | 8448 EOF |
8674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8675 { (eval echo configure:8676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8450 { (eval echo configure:8451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8676 ac_err=`grep -v '^ *+' conftest.out` | 8451 ac_err=`grep -v '^ *+' conftest.out` |
8677 if test -z "$ac_err"; then | 8452 if test -z "$ac_err"; then |
8678 rm -rf conftest* | 8453 rm -rf conftest* |
8679 eval "ac_cv_header_$ac_safe=yes" | 8454 eval "ac_cv_header_$ac_safe=yes" |
8680 else | 8455 else |
8703 fi | 8478 fi |
8704 | 8479 |
8705 | 8480 |
8706 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8481 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
8707 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8482 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
8708 echo "configure:8709: checking for nlist.h" >&5 | 8483 echo "configure:8484: checking for nlist.h" >&5 |
8709 | 8484 |
8710 cat > conftest.$ac_ext <<EOF | 8485 cat > conftest.$ac_ext <<EOF |
8711 #line 8712 "configure" | 8486 #line 8487 "configure" |
8712 #include "confdefs.h" | 8487 #include "confdefs.h" |
8713 #include <nlist.h> | 8488 #include <nlist.h> |
8714 EOF | 8489 EOF |
8715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8716 { (eval echo configure:8717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8491 { (eval echo configure:8492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8717 ac_err=`grep -v '^ *+' conftest.out` | 8492 ac_err=`grep -v '^ *+' conftest.out` |
8718 if test -z "$ac_err"; then | 8493 if test -z "$ac_err"; then |
8719 rm -rf conftest* | 8494 rm -rf conftest* |
8720 eval "ac_cv_header_$ac_safe=yes" | 8495 eval "ac_cv_header_$ac_safe=yes" |
8721 else | 8496 else |
8741 fi | 8516 fi |
8742 | 8517 |
8743 | 8518 |
8744 | 8519 |
8745 echo "checking "for sound support"" 1>&6 | 8520 echo "checking "for sound support"" 1>&6 |
8746 echo "configure:8747: checking "for sound support"" >&5 | 8521 echo "configure:8522: checking "for sound support"" >&5 |
8747 case "$with_sound" in | 8522 case "$with_sound" in |
8748 native | both ) with_native_sound=yes;; | 8523 native | both ) with_native_sound=yes;; |
8749 nas | no ) with_native_sound=no;; | 8524 nas | no ) with_native_sound=no;; |
8750 esac | 8525 esac |
8751 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8526 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
8752 | 8527 |
8753 if test "$with_native_sound" != "no"; then | 8528 if test "$with_native_sound" != "no"; then |
8754 if test -n "$native_sound_lib"; then | 8529 if test -n "$native_sound_lib"; then |
8755 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8530 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
8756 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8531 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
8757 echo "configure:8758: checking for multimedia/audio_device.h" >&5 | 8532 echo "configure:8533: checking for multimedia/audio_device.h" >&5 |
8758 | 8533 |
8759 cat > conftest.$ac_ext <<EOF | 8534 cat > conftest.$ac_ext <<EOF |
8760 #line 8761 "configure" | 8535 #line 8536 "configure" |
8761 #include "confdefs.h" | 8536 #include "confdefs.h" |
8762 #include <multimedia/audio_device.h> | 8537 #include <multimedia/audio_device.h> |
8763 EOF | 8538 EOF |
8764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8765 { (eval echo configure:8766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8540 { (eval echo configure:8541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8766 ac_err=`grep -v '^ *+' conftest.out` | 8541 ac_err=`grep -v '^ *+' conftest.out` |
8767 if test -z "$ac_err"; then | 8542 if test -z "$ac_err"; then |
8768 rm -rf conftest* | 8543 rm -rf conftest* |
8769 eval "ac_cv_header_$ac_safe=yes" | 8544 eval "ac_cv_header_$ac_safe=yes" |
8770 else | 8545 else |
8808 case "$canonical" in | 8583 case "$canonical" in |
8809 *-sgi-* ) | 8584 *-sgi-* ) |
8810 if test -z "$native_sound_lib"; then | 8585 if test -z "$native_sound_lib"; then |
8811 | 8586 |
8812 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8587 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
8813 echo "configure:8814: checking for ALopenport in -laudio" >&5 | 8588 echo "configure:8589: checking for ALopenport in -laudio" >&5 |
8814 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8589 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
8815 | 8590 |
8816 xe_check_libs=" -laudio " | 8591 xe_check_libs=" -laudio " |
8817 cat > conftest.$ac_ext <<EOF | 8592 cat > conftest.$ac_ext <<EOF |
8818 #line 8819 "configure" | 8593 #line 8594 "configure" |
8819 #include "confdefs.h" | 8594 #include "confdefs.h" |
8820 /* Override any gcc2 internal prototype to avoid an error. */ | 8595 /* Override any gcc2 internal prototype to avoid an error. */ |
8821 /* We use char because int might match the return type of a gcc2 | 8596 /* We use char because int might match the return type of a gcc2 |
8822 builtin and then its argument prototype would still apply. */ | 8597 builtin and then its argument prototype would still apply. */ |
8823 char ALopenport(); | 8598 char ALopenport(); |
8824 | 8599 |
8825 int main() { | 8600 int main() { |
8826 ALopenport() | 8601 ALopenport() |
8827 ; return 0; } | 8602 ; return 0; } |
8828 EOF | 8603 EOF |
8829 if { (eval echo configure:8830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8604 if { (eval echo configure:8605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8830 rm -rf conftest* | 8605 rm -rf conftest* |
8831 eval "ac_cv_lib_$ac_lib_var=yes" | 8606 eval "ac_cv_lib_$ac_lib_var=yes" |
8832 else | 8607 else |
8833 echo "configure: failed program was:" >&5 | 8608 echo "configure: failed program was:" >&5 |
8834 cat conftest.$ac_ext >&5 | 8609 cat conftest.$ac_ext >&5 |
8855 fi ;; | 8630 fi ;; |
8856 hppa*-hp-hpux* ) | 8631 hppa*-hp-hpux* ) |
8857 if test -z "$native_sound_lib"; then | 8632 if test -z "$native_sound_lib"; then |
8858 | 8633 |
8859 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8634 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
8860 echo "configure:8861: checking for AOpenAudio in -lAlib" >&5 | 8635 echo "configure:8636: checking for AOpenAudio in -lAlib" >&5 |
8861 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8636 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
8862 | 8637 |
8863 xe_check_libs=" -lAlib " | 8638 xe_check_libs=" -lAlib " |
8864 cat > conftest.$ac_ext <<EOF | 8639 cat > conftest.$ac_ext <<EOF |
8865 #line 8866 "configure" | 8640 #line 8641 "configure" |
8866 #include "confdefs.h" | 8641 #include "confdefs.h" |
8867 /* Override any gcc2 internal prototype to avoid an error. */ | 8642 /* Override any gcc2 internal prototype to avoid an error. */ |
8868 /* We use char because int might match the return type of a gcc2 | 8643 /* We use char because int might match the return type of a gcc2 |
8869 builtin and then its argument prototype would still apply. */ | 8644 builtin and then its argument prototype would still apply. */ |
8870 char AOpenAudio(); | 8645 char AOpenAudio(); |
8871 | 8646 |
8872 int main() { | 8647 int main() { |
8873 AOpenAudio() | 8648 AOpenAudio() |
8874 ; return 0; } | 8649 ; return 0; } |
8875 EOF | 8650 EOF |
8876 if { (eval echo configure:8877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8651 if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8877 rm -rf conftest* | 8652 rm -rf conftest* |
8878 eval "ac_cv_lib_$ac_lib_var=yes" | 8653 eval "ac_cv_lib_$ac_lib_var=yes" |
8879 else | 8654 else |
8880 echo "configure: failed program was:" >&5 | 8655 echo "configure: failed program was:" >&5 |
8881 cat conftest.$ac_ext >&5 | 8656 cat conftest.$ac_ext >&5 |
8909 | 8684 |
8910 if test -z "$sound_found"; then | 8685 if test -z "$sound_found"; then |
8911 for dir in "machine" "sys" "linux"; do | 8686 for dir in "machine" "sys" "linux"; do |
8912 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8687 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
8913 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8688 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
8914 echo "configure:8915: checking for ${dir}/soundcard.h" >&5 | 8689 echo "configure:8690: checking for ${dir}/soundcard.h" >&5 |
8915 | 8690 |
8916 cat > conftest.$ac_ext <<EOF | 8691 cat > conftest.$ac_ext <<EOF |
8917 #line 8918 "configure" | 8692 #line 8693 "configure" |
8918 #include "confdefs.h" | 8693 #include "confdefs.h" |
8919 #include <${dir}/soundcard.h> | 8694 #include <${dir}/soundcard.h> |
8920 EOF | 8695 EOF |
8921 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8922 { (eval echo configure:8923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8697 { (eval echo configure:8698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8923 ac_err=`grep -v '^ *+' conftest.out` | 8698 ac_err=`grep -v '^ *+' conftest.out` |
8924 if test -z "$ac_err"; then | 8699 if test -z "$ac_err"; then |
8925 rm -rf conftest* | 8700 rm -rf conftest* |
8926 eval "ac_cv_header_$ac_safe=yes" | 8701 eval "ac_cv_header_$ac_safe=yes" |
8927 else | 8702 else |
8987 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 8762 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
8988 echo " xemacs will be linked with \"nas.o\"" | 8763 echo " xemacs will be linked with \"nas.o\"" |
8989 fi | 8764 fi |
8990 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 8765 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
8991 cat > conftest.$ac_ext <<EOF | 8766 cat > conftest.$ac_ext <<EOF |
8992 #line 8993 "configure" | 8767 #line 8768 "configure" |
8993 #include "confdefs.h" | 8768 #include "confdefs.h" |
8994 #include <audio/Xtutil.h> | 8769 #include <audio/Xtutil.h> |
8995 EOF | 8770 EOF |
8996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 8771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
8997 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 8772 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
9014 | 8789 |
9015 test -z "$with_tty" && with_tty=yes | 8790 test -z "$with_tty" && with_tty=yes |
9016 | 8791 |
9017 if test "$with_tty" = "yes" ; then | 8792 if test "$with_tty" = "yes" ; then |
9018 echo "checking for TTY-related features" 1>&6 | 8793 echo "checking for TTY-related features" 1>&6 |
9019 echo "configure:9020: checking for TTY-related features" >&5 | 8794 echo "configure:8795: checking for TTY-related features" >&5 |
9020 { test "$extra_verbose" = "yes" && cat << \EOF | 8795 { test "$extra_verbose" = "yes" && cat << \EOF |
9021 Defining HAVE_TTY | 8796 Defining HAVE_TTY |
9022 EOF | 8797 EOF |
9023 cat >> confdefs.h <<\EOF | 8798 cat >> confdefs.h <<\EOF |
9024 #define HAVE_TTY 1 | 8799 #define HAVE_TTY 1 |
9030 fi | 8805 fi |
9031 | 8806 |
9032 if test -z "$with_ncurses"; then | 8807 if test -z "$with_ncurses"; then |
9033 | 8808 |
9034 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 8809 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
9035 echo "configure:9036: checking for tgetent in -lncurses" >&5 | 8810 echo "configure:8811: checking for tgetent in -lncurses" >&5 |
9036 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 8811 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
9037 | 8812 |
9038 xe_check_libs=" -lncurses " | 8813 xe_check_libs=" -lncurses " |
9039 cat > conftest.$ac_ext <<EOF | 8814 cat > conftest.$ac_ext <<EOF |
9040 #line 9041 "configure" | 8815 #line 8816 "configure" |
9041 #include "confdefs.h" | 8816 #include "confdefs.h" |
9042 /* Override any gcc2 internal prototype to avoid an error. */ | 8817 /* Override any gcc2 internal prototype to avoid an error. */ |
9043 /* We use char because int might match the return type of a gcc2 | 8818 /* We use char because int might match the return type of a gcc2 |
9044 builtin and then its argument prototype would still apply. */ | 8819 builtin and then its argument prototype would still apply. */ |
9045 char tgetent(); | 8820 char tgetent(); |
9046 | 8821 |
9047 int main() { | 8822 int main() { |
9048 tgetent() | 8823 tgetent() |
9049 ; return 0; } | 8824 ; return 0; } |
9050 EOF | 8825 EOF |
9051 if { (eval echo configure:9052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8826 if { (eval echo configure:8827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9052 rm -rf conftest* | 8827 rm -rf conftest* |
9053 eval "ac_cv_lib_$ac_lib_var=yes" | 8828 eval "ac_cv_lib_$ac_lib_var=yes" |
9054 else | 8829 else |
9055 echo "configure: failed program was:" >&5 | 8830 echo "configure: failed program was:" >&5 |
9056 cat conftest.$ac_ext >&5 | 8831 cat conftest.$ac_ext >&5 |
9079 EOF | 8854 EOF |
9080 } | 8855 } |
9081 | 8856 |
9082 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 8857 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9083 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 8858 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9084 echo "configure:9085: checking for ncurses/curses.h" >&5 | 8859 echo "configure:8860: checking for ncurses/curses.h" >&5 |
9085 | 8860 |
9086 cat > conftest.$ac_ext <<EOF | 8861 cat > conftest.$ac_ext <<EOF |
9087 #line 9088 "configure" | 8862 #line 8863 "configure" |
9088 #include "confdefs.h" | 8863 #include "confdefs.h" |
9089 #include <ncurses/curses.h> | 8864 #include <ncurses/curses.h> |
9090 EOF | 8865 EOF |
9091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9092 { (eval echo configure:9093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8867 { (eval echo configure:8868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9093 ac_err=`grep -v '^ *+' conftest.out` | 8868 ac_err=`grep -v '^ *+' conftest.out` |
9094 if test -z "$ac_err"; then | 8869 if test -z "$ac_err"; then |
9095 rm -rf conftest* | 8870 rm -rf conftest* |
9096 eval "ac_cv_header_$ac_safe=yes" | 8871 eval "ac_cv_header_$ac_safe=yes" |
9097 else | 8872 else |
9109 echo "$ac_t""no" 1>&6 | 8884 echo "$ac_t""no" 1>&6 |
9110 fi | 8885 fi |
9111 | 8886 |
9112 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 8887 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
9113 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 8888 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
9114 echo "configure:9115: checking for ncurses/term.h" >&5 | 8889 echo "configure:8890: checking for ncurses/term.h" >&5 |
9115 | 8890 |
9116 cat > conftest.$ac_ext <<EOF | 8891 cat > conftest.$ac_ext <<EOF |
9117 #line 9118 "configure" | 8892 #line 8893 "configure" |
9118 #include "confdefs.h" | 8893 #include "confdefs.h" |
9119 #include <ncurses/term.h> | 8894 #include <ncurses/term.h> |
9120 EOF | 8895 EOF |
9121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9122 { (eval echo configure:9123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8897 { (eval echo configure:8898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9123 ac_err=`grep -v '^ *+' conftest.out` | 8898 ac_err=`grep -v '^ *+' conftest.out` |
9124 if test -z "$ac_err"; then | 8899 if test -z "$ac_err"; then |
9125 rm -rf conftest* | 8900 rm -rf conftest* |
9126 eval "ac_cv_header_$ac_safe=yes" | 8901 eval "ac_cv_header_$ac_safe=yes" |
9127 else | 8902 else |
9147 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 8922 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
9148 save_c_switch_site="$c_switch_site" | 8923 save_c_switch_site="$c_switch_site" |
9149 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 8924 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
9150 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 8925 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
9151 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 8926 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
9152 echo "configure:9153: checking for ncurses/curses.h" >&5 | 8927 echo "configure:8928: checking for ncurses/curses.h" >&5 |
9153 | 8928 |
9154 cat > conftest.$ac_ext <<EOF | 8929 cat > conftest.$ac_ext <<EOF |
9155 #line 9156 "configure" | 8930 #line 8931 "configure" |
9156 #include "confdefs.h" | 8931 #include "confdefs.h" |
9157 #include <ncurses/curses.h> | 8932 #include <ncurses/curses.h> |
9158 EOF | 8933 EOF |
9159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9160 { (eval echo configure:9161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8935 { (eval echo configure:8936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9161 ac_err=`grep -v '^ *+' conftest.out` | 8936 ac_err=`grep -v '^ *+' conftest.out` |
9162 if test -z "$ac_err"; then | 8937 if test -z "$ac_err"; then |
9163 rm -rf conftest* | 8938 rm -rf conftest* |
9164 eval "ac_cv_header_$ac_safe=yes" | 8939 eval "ac_cv_header_$ac_safe=yes" |
9165 else | 8940 else |
9190 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 8965 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9191 else | 8966 else |
9192 for lib in curses termlib termcap; do | 8967 for lib in curses termlib termcap; do |
9193 | 8968 |
9194 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 8969 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
9195 echo "configure:9196: checking for tgetent in -l$lib" >&5 | 8970 echo "configure:8971: checking for tgetent in -l$lib" >&5 |
9196 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 8971 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
9197 | 8972 |
9198 xe_check_libs=" -l$lib " | 8973 xe_check_libs=" -l$lib " |
9199 cat > conftest.$ac_ext <<EOF | 8974 cat > conftest.$ac_ext <<EOF |
9200 #line 9201 "configure" | 8975 #line 8976 "configure" |
9201 #include "confdefs.h" | 8976 #include "confdefs.h" |
9202 /* Override any gcc2 internal prototype to avoid an error. */ | 8977 /* Override any gcc2 internal prototype to avoid an error. */ |
9203 /* We use char because int might match the return type of a gcc2 | 8978 /* We use char because int might match the return type of a gcc2 |
9204 builtin and then its argument prototype would still apply. */ | 8979 builtin and then its argument prototype would still apply. */ |
9205 char tgetent(); | 8980 char tgetent(); |
9206 | 8981 |
9207 int main() { | 8982 int main() { |
9208 tgetent() | 8983 tgetent() |
9209 ; return 0; } | 8984 ; return 0; } |
9210 EOF | 8985 EOF |
9211 if { (eval echo configure:9212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8986 if { (eval echo configure:8987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9212 rm -rf conftest* | 8987 rm -rf conftest* |
9213 eval "ac_cv_lib_$ac_lib_var=yes" | 8988 eval "ac_cv_lib_$ac_lib_var=yes" |
9214 else | 8989 else |
9215 echo "configure: failed program was:" >&5 | 8990 echo "configure: failed program was:" >&5 |
9216 cat conftest.$ac_ext >&5 | 8991 cat conftest.$ac_ext >&5 |
9237 if test -n "$libs_termcap"; then | 9012 if test -n "$libs_termcap"; then |
9238 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9013 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
9239 else | 9014 else |
9240 | 9015 |
9241 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9016 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
9242 echo "configure:9243: checking for tgetent in -lcurses" >&5 | 9017 echo "configure:9018: checking for tgetent in -lcurses" >&5 |
9243 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9018 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
9244 | 9019 |
9245 xe_check_libs=" -lcurses " | 9020 xe_check_libs=" -lcurses " |
9246 cat > conftest.$ac_ext <<EOF | 9021 cat > conftest.$ac_ext <<EOF |
9247 #line 9248 "configure" | 9022 #line 9023 "configure" |
9248 #include "confdefs.h" | 9023 #include "confdefs.h" |
9249 /* Override any gcc2 internal prototype to avoid an error. */ | 9024 /* Override any gcc2 internal prototype to avoid an error. */ |
9250 /* We use char because int might match the return type of a gcc2 | 9025 /* We use char because int might match the return type of a gcc2 |
9251 builtin and then its argument prototype would still apply. */ | 9026 builtin and then its argument prototype would still apply. */ |
9252 char tgetent(); | 9027 char tgetent(); |
9253 | 9028 |
9254 int main() { | 9029 int main() { |
9255 tgetent() | 9030 tgetent() |
9256 ; return 0; } | 9031 ; return 0; } |
9257 EOF | 9032 EOF |
9258 if { (eval echo configure:9259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9033 if { (eval echo configure:9034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9259 rm -rf conftest* | 9034 rm -rf conftest* |
9260 eval "ac_cv_lib_$ac_lib_var=yes" | 9035 eval "ac_cv_lib_$ac_lib_var=yes" |
9261 else | 9036 else |
9262 echo "configure: failed program was:" >&5 | 9037 echo "configure: failed program was:" >&5 |
9263 cat conftest.$ac_ext >&5 | 9038 cat conftest.$ac_ext >&5 |
9271 echo "$ac_t""yes" 1>&6 | 9046 echo "$ac_t""yes" 1>&6 |
9272 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9047 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
9273 else | 9048 else |
9274 echo "$ac_t""no" 1>&6 | 9049 echo "$ac_t""no" 1>&6 |
9275 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9050 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
9276 echo "configure:9277: checking for tgetent in -ltermcap" >&5 | 9051 echo "configure:9052: checking for tgetent in -ltermcap" >&5 |
9277 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9052 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
9278 | 9053 |
9279 xe_check_libs=" -ltermcap " | 9054 xe_check_libs=" -ltermcap " |
9280 cat > conftest.$ac_ext <<EOF | 9055 cat > conftest.$ac_ext <<EOF |
9281 #line 9282 "configure" | 9056 #line 9057 "configure" |
9282 #include "confdefs.h" | 9057 #include "confdefs.h" |
9283 /* Override any gcc2 internal prototype to avoid an error. */ | 9058 /* Override any gcc2 internal prototype to avoid an error. */ |
9284 /* We use char because int might match the return type of a gcc2 | 9059 /* We use char because int might match the return type of a gcc2 |
9285 builtin and then its argument prototype would still apply. */ | 9060 builtin and then its argument prototype would still apply. */ |
9286 char tgetent(); | 9061 char tgetent(); |
9287 | 9062 |
9288 int main() { | 9063 int main() { |
9289 tgetent() | 9064 tgetent() |
9290 ; return 0; } | 9065 ; return 0; } |
9291 EOF | 9066 EOF |
9292 if { (eval echo configure:9293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9067 if { (eval echo configure:9068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9293 rm -rf conftest* | 9068 rm -rf conftest* |
9294 eval "ac_cv_lib_$ac_lib_var=yes" | 9069 eval "ac_cv_lib_$ac_lib_var=yes" |
9295 else | 9070 else |
9296 echo "configure: failed program was:" >&5 | 9071 echo "configure: failed program was:" >&5 |
9297 cat conftest.$ac_ext >&5 | 9072 cat conftest.$ac_ext >&5 |
9335 } | 9110 } |
9336 | 9111 |
9337 | 9112 |
9338 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9113 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
9339 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9114 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
9340 echo "configure:9341: checking for gpm.h" >&5 | 9115 echo "configure:9116: checking for gpm.h" >&5 |
9341 | 9116 |
9342 cat > conftest.$ac_ext <<EOF | 9117 cat > conftest.$ac_ext <<EOF |
9343 #line 9344 "configure" | 9118 #line 9119 "configure" |
9344 #include "confdefs.h" | 9119 #include "confdefs.h" |
9345 #include <gpm.h> | 9120 #include <gpm.h> |
9346 EOF | 9121 EOF |
9347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9348 { (eval echo configure:9349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9349 ac_err=`grep -v '^ *+' conftest.out` | 9124 ac_err=`grep -v '^ *+' conftest.out` |
9350 if test -z "$ac_err"; then | 9125 if test -z "$ac_err"; then |
9351 rm -rf conftest* | 9126 rm -rf conftest* |
9352 eval "ac_cv_header_$ac_safe=yes" | 9127 eval "ac_cv_header_$ac_safe=yes" |
9353 else | 9128 else |
9366 with_gpm=no | 9141 with_gpm=no |
9367 fi | 9142 fi |
9368 } | 9143 } |
9369 test -z "$with_gpm" && { | 9144 test -z "$with_gpm" && { |
9370 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9145 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
9371 echo "configure:9372: checking for Gpm_Open in -lgpm" >&5 | 9146 echo "configure:9147: checking for Gpm_Open in -lgpm" >&5 |
9372 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9147 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
9373 | 9148 |
9374 xe_check_libs=" -lgpm " | 9149 xe_check_libs=" -lgpm " |
9375 cat > conftest.$ac_ext <<EOF | 9150 cat > conftest.$ac_ext <<EOF |
9376 #line 9377 "configure" | 9151 #line 9152 "configure" |
9377 #include "confdefs.h" | 9152 #include "confdefs.h" |
9378 /* Override any gcc2 internal prototype to avoid an error. */ | 9153 /* Override any gcc2 internal prototype to avoid an error. */ |
9379 /* We use char because int might match the return type of a gcc2 | 9154 /* We use char because int might match the return type of a gcc2 |
9380 builtin and then its argument prototype would still apply. */ | 9155 builtin and then its argument prototype would still apply. */ |
9381 char Gpm_Open(); | 9156 char Gpm_Open(); |
9382 | 9157 |
9383 int main() { | 9158 int main() { |
9384 Gpm_Open() | 9159 Gpm_Open() |
9385 ; return 0; } | 9160 ; return 0; } |
9386 EOF | 9161 EOF |
9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9162 if { (eval echo configure:9163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9388 rm -rf conftest* | 9163 rm -rf conftest* |
9389 eval "ac_cv_lib_$ac_lib_var=yes" | 9164 eval "ac_cv_lib_$ac_lib_var=yes" |
9390 else | 9165 else |
9391 echo "configure: failed program was:" >&5 | 9166 echo "configure: failed program was:" >&5 |
9392 cat conftest.$ac_ext >&5 | 9167 cat conftest.$ac_ext >&5 |
9431 echo " xemacs will be linked with \"event-unixoid.o\"" | 9206 echo " xemacs will be linked with \"event-unixoid.o\"" |
9432 fi | 9207 fi |
9433 | 9208 |
9434 | 9209 |
9435 echo "checking for database support" 1>&6 | 9210 echo "checking for database support" 1>&6 |
9436 echo "configure:9437: checking for database support" >&5 | 9211 echo "configure:9212: checking for database support" >&5 |
9437 | 9212 |
9438 if test "$with_database_gnudbm" != "no"; then | 9213 if test "$with_database_gnudbm" != "no"; then |
9439 | 9214 |
9440 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9215 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
9441 echo "configure:9442: checking for dbm_open in -lgdbm" >&5 | 9216 echo "configure:9217: checking for dbm_open in -lgdbm" >&5 |
9442 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9217 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9443 | 9218 |
9444 xe_check_libs=" -lgdbm " | 9219 xe_check_libs=" -lgdbm " |
9445 cat > conftest.$ac_ext <<EOF | 9220 cat > conftest.$ac_ext <<EOF |
9446 #line 9447 "configure" | 9221 #line 9222 "configure" |
9447 #include "confdefs.h" | 9222 #include "confdefs.h" |
9448 /* Override any gcc2 internal prototype to avoid an error. */ | 9223 /* Override any gcc2 internal prototype to avoid an error. */ |
9449 /* We use char because int might match the return type of a gcc2 | 9224 /* We use char because int might match the return type of a gcc2 |
9450 builtin and then its argument prototype would still apply. */ | 9225 builtin and then its argument prototype would still apply. */ |
9451 char dbm_open(); | 9226 char dbm_open(); |
9452 | 9227 |
9453 int main() { | 9228 int main() { |
9454 dbm_open() | 9229 dbm_open() |
9455 ; return 0; } | 9230 ; return 0; } |
9456 EOF | 9231 EOF |
9457 if { (eval echo configure:9458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9232 if { (eval echo configure:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9458 rm -rf conftest* | 9233 rm -rf conftest* |
9459 eval "ac_cv_lib_$ac_lib_var=yes" | 9234 eval "ac_cv_lib_$ac_lib_var=yes" |
9460 else | 9235 else |
9461 echo "configure: failed program was:" >&5 | 9236 echo "configure: failed program was:" >&5 |
9462 cat conftest.$ac_ext >&5 | 9237 cat conftest.$ac_ext >&5 |
9474 fi | 9249 fi |
9475 | 9250 |
9476 | 9251 |
9477 if test "$with_database_gnudbm" != "yes"; then | 9252 if test "$with_database_gnudbm" != "yes"; then |
9478 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9253 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9479 echo "configure:9480: checking for dbm_open" >&5 | 9254 echo "configure:9255: checking for dbm_open" >&5 |
9480 | 9255 |
9481 cat > conftest.$ac_ext <<EOF | 9256 cat > conftest.$ac_ext <<EOF |
9482 #line 9483 "configure" | 9257 #line 9258 "configure" |
9483 #include "confdefs.h" | 9258 #include "confdefs.h" |
9484 /* System header to define __stub macros and hopefully few prototypes, | 9259 /* System header to define __stub macros and hopefully few prototypes, |
9485 which can conflict with char dbm_open(); below. */ | 9260 which can conflict with char dbm_open(); below. */ |
9486 #include <assert.h> | 9261 #include <assert.h> |
9487 /* Override any gcc2 internal prototype to avoid an error. */ | 9262 /* Override any gcc2 internal prototype to avoid an error. */ |
9500 dbm_open(); | 9275 dbm_open(); |
9501 #endif | 9276 #endif |
9502 | 9277 |
9503 ; return 0; } | 9278 ; return 0; } |
9504 EOF | 9279 EOF |
9505 if { (eval echo configure:9506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9280 if { (eval echo configure:9281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9506 rm -rf conftest* | 9281 rm -rf conftest* |
9507 eval "ac_cv_func_dbm_open=yes" | 9282 eval "ac_cv_func_dbm_open=yes" |
9508 else | 9283 else |
9509 echo "configure: failed program was:" >&5 | 9284 echo "configure: failed program was:" >&5 |
9510 cat conftest.$ac_ext >&5 | 9285 cat conftest.$ac_ext >&5 |
9536 fi | 9311 fi |
9537 fi | 9312 fi |
9538 | 9313 |
9539 if test "$with_database_dbm" != "no"; then | 9314 if test "$with_database_dbm" != "no"; then |
9540 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9315 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
9541 echo "configure:9542: checking for dbm_open" >&5 | 9316 echo "configure:9317: checking for dbm_open" >&5 |
9542 | 9317 |
9543 cat > conftest.$ac_ext <<EOF | 9318 cat > conftest.$ac_ext <<EOF |
9544 #line 9545 "configure" | 9319 #line 9320 "configure" |
9545 #include "confdefs.h" | 9320 #include "confdefs.h" |
9546 /* System header to define __stub macros and hopefully few prototypes, | 9321 /* System header to define __stub macros and hopefully few prototypes, |
9547 which can conflict with char dbm_open(); below. */ | 9322 which can conflict with char dbm_open(); below. */ |
9548 #include <assert.h> | 9323 #include <assert.h> |
9549 /* Override any gcc2 internal prototype to avoid an error. */ | 9324 /* Override any gcc2 internal prototype to avoid an error. */ |
9562 dbm_open(); | 9337 dbm_open(); |
9563 #endif | 9338 #endif |
9564 | 9339 |
9565 ; return 0; } | 9340 ; return 0; } |
9566 EOF | 9341 EOF |
9567 if { (eval echo configure:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9342 if { (eval echo configure:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9568 rm -rf conftest* | 9343 rm -rf conftest* |
9569 eval "ac_cv_func_dbm_open=yes" | 9344 eval "ac_cv_func_dbm_open=yes" |
9570 else | 9345 else |
9571 echo "configure: failed program was:" >&5 | 9346 echo "configure: failed program was:" >&5 |
9572 cat conftest.$ac_ext >&5 | 9347 cat conftest.$ac_ext >&5 |
9583 fi | 9358 fi |
9584 | 9359 |
9585 if test "$need_libdbm" != "no"; then | 9360 if test "$need_libdbm" != "no"; then |
9586 | 9361 |
9587 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9362 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
9588 echo "configure:9589: checking for dbm_open in -ldbm" >&5 | 9363 echo "configure:9364: checking for dbm_open in -ldbm" >&5 |
9589 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9364 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
9590 | 9365 |
9591 xe_check_libs=" -ldbm " | 9366 xe_check_libs=" -ldbm " |
9592 cat > conftest.$ac_ext <<EOF | 9367 cat > conftest.$ac_ext <<EOF |
9593 #line 9594 "configure" | 9368 #line 9369 "configure" |
9594 #include "confdefs.h" | 9369 #include "confdefs.h" |
9595 /* Override any gcc2 internal prototype to avoid an error. */ | 9370 /* Override any gcc2 internal prototype to avoid an error. */ |
9596 /* We use char because int might match the return type of a gcc2 | 9371 /* We use char because int might match the return type of a gcc2 |
9597 builtin and then its argument prototype would still apply. */ | 9372 builtin and then its argument prototype would still apply. */ |
9598 char dbm_open(); | 9373 char dbm_open(); |
9599 | 9374 |
9600 int main() { | 9375 int main() { |
9601 dbm_open() | 9376 dbm_open() |
9602 ; return 0; } | 9377 ; return 0; } |
9603 EOF | 9378 EOF |
9604 if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9379 if { (eval echo configure:9380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9605 rm -rf conftest* | 9380 rm -rf conftest* |
9606 eval "ac_cv_lib_$ac_lib_var=yes" | 9381 eval "ac_cv_lib_$ac_lib_var=yes" |
9607 else | 9382 else |
9608 echo "configure: failed program was:" >&5 | 9383 echo "configure: failed program was:" >&5 |
9609 cat conftest.$ac_ext >&5 | 9384 cat conftest.$ac_ext >&5 |
9636 fi | 9411 fi |
9637 fi | 9412 fi |
9638 | 9413 |
9639 if test "$with_database_berkdb" != "no"; then | 9414 if test "$with_database_berkdb" != "no"; then |
9640 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9415 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
9641 echo "configure:9642: checking for dbopen" >&5 | 9416 echo "configure:9417: checking for dbopen" >&5 |
9642 | 9417 |
9643 cat > conftest.$ac_ext <<EOF | 9418 cat > conftest.$ac_ext <<EOF |
9644 #line 9645 "configure" | 9419 #line 9420 "configure" |
9645 #include "confdefs.h" | 9420 #include "confdefs.h" |
9646 /* System header to define __stub macros and hopefully few prototypes, | 9421 /* System header to define __stub macros and hopefully few prototypes, |
9647 which can conflict with char dbopen(); below. */ | 9422 which can conflict with char dbopen(); below. */ |
9648 #include <assert.h> | 9423 #include <assert.h> |
9649 /* Override any gcc2 internal prototype to avoid an error. */ | 9424 /* Override any gcc2 internal prototype to avoid an error. */ |
9662 dbopen(); | 9437 dbopen(); |
9663 #endif | 9438 #endif |
9664 | 9439 |
9665 ; return 0; } | 9440 ; return 0; } |
9666 EOF | 9441 EOF |
9667 if { (eval echo configure:9668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9442 if { (eval echo configure:9443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9668 rm -rf conftest* | 9443 rm -rf conftest* |
9669 eval "ac_cv_func_dbopen=yes" | 9444 eval "ac_cv_func_dbopen=yes" |
9670 else | 9445 else |
9671 echo "configure: failed program was:" >&5 | 9446 echo "configure: failed program was:" >&5 |
9672 cat conftest.$ac_ext >&5 | 9447 cat conftest.$ac_ext >&5 |
9683 fi | 9458 fi |
9684 | 9459 |
9685 if test "$need_libdb" != "no"; then | 9460 if test "$need_libdb" != "no"; then |
9686 | 9461 |
9687 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9462 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
9688 echo "configure:9689: checking for dbopen in -ldb" >&5 | 9463 echo "configure:9464: checking for dbopen in -ldb" >&5 |
9689 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9464 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
9690 | 9465 |
9691 xe_check_libs=" -ldb " | 9466 xe_check_libs=" -ldb " |
9692 cat > conftest.$ac_ext <<EOF | 9467 cat > conftest.$ac_ext <<EOF |
9693 #line 9694 "configure" | 9468 #line 9469 "configure" |
9694 #include "confdefs.h" | 9469 #include "confdefs.h" |
9695 /* Override any gcc2 internal prototype to avoid an error. */ | 9470 /* Override any gcc2 internal prototype to avoid an error. */ |
9696 /* We use char because int might match the return type of a gcc2 | 9471 /* We use char because int might match the return type of a gcc2 |
9697 builtin and then its argument prototype would still apply. */ | 9472 builtin and then its argument prototype would still apply. */ |
9698 char dbopen(); | 9473 char dbopen(); |
9699 | 9474 |
9700 int main() { | 9475 int main() { |
9701 dbopen() | 9476 dbopen() |
9702 ; return 0; } | 9477 ; return 0; } |
9703 EOF | 9478 EOF |
9704 if { (eval echo configure:9705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9479 if { (eval echo configure:9480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9705 rm -rf conftest* | 9480 rm -rf conftest* |
9706 eval "ac_cv_lib_$ac_lib_var=yes" | 9481 eval "ac_cv_lib_$ac_lib_var=yes" |
9707 else | 9482 else |
9708 echo "configure: failed program was:" >&5 | 9483 echo "configure: failed program was:" >&5 |
9709 cat conftest.$ac_ext >&5 | 9484 cat conftest.$ac_ext >&5 |
9723 | 9498 |
9724 fi | 9499 fi |
9725 if test "$with_database_berkdb" = "yes"; then | 9500 if test "$with_database_berkdb" = "yes"; then |
9726 for path in "db/db.h" "db.h"; do | 9501 for path in "db/db.h" "db.h"; do |
9727 cat > conftest.$ac_ext <<EOF | 9502 cat > conftest.$ac_ext <<EOF |
9728 #line 9729 "configure" | 9503 #line 9504 "configure" |
9729 #include "confdefs.h" | 9504 #include "confdefs.h" |
9730 #ifdef HAVE_INTTYPES_H | 9505 #ifdef HAVE_INTTYPES_H |
9731 #define __BIT_TYPES_DEFINED__ | 9506 #define __BIT_TYPES_DEFINED__ |
9732 #include <inttypes.h> | 9507 #include <inttypes.h> |
9733 typedef uint8_t u_int8_t; | 9508 typedef uint8_t u_int8_t; |
9741 | 9516 |
9742 int main() { | 9517 int main() { |
9743 | 9518 |
9744 ; return 0; } | 9519 ; return 0; } |
9745 EOF | 9520 EOF |
9746 if { (eval echo configure:9747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9521 if { (eval echo configure:9522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9747 rm -rf conftest* | 9522 rm -rf conftest* |
9748 db_h_path="$path"; break | 9523 db_h_path="$path"; break |
9749 else | 9524 else |
9750 echo "configure: failed program was:" >&5 | 9525 echo "configure: failed program was:" >&5 |
9751 cat conftest.$ac_ext >&5 | 9526 cat conftest.$ac_ext >&5 |
9793 fi | 9568 fi |
9794 | 9569 |
9795 if test "$with_socks" = "yes"; then | 9570 if test "$with_socks" = "yes"; then |
9796 | 9571 |
9797 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9572 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
9798 echo "configure:9799: checking for SOCKSinit in -lsocks" >&5 | 9573 echo "configure:9574: checking for SOCKSinit in -lsocks" >&5 |
9799 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9574 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
9800 | 9575 |
9801 xe_check_libs=" -lsocks " | 9576 xe_check_libs=" -lsocks " |
9802 cat > conftest.$ac_ext <<EOF | 9577 cat > conftest.$ac_ext <<EOF |
9803 #line 9804 "configure" | 9578 #line 9579 "configure" |
9804 #include "confdefs.h" | 9579 #include "confdefs.h" |
9805 /* Override any gcc2 internal prototype to avoid an error. */ | 9580 /* Override any gcc2 internal prototype to avoid an error. */ |
9806 /* We use char because int might match the return type of a gcc2 | 9581 /* We use char because int might match the return type of a gcc2 |
9807 builtin and then its argument prototype would still apply. */ | 9582 builtin and then its argument prototype would still apply. */ |
9808 char SOCKSinit(); | 9583 char SOCKSinit(); |
9809 | 9584 |
9810 int main() { | 9585 int main() { |
9811 SOCKSinit() | 9586 SOCKSinit() |
9812 ; return 0; } | 9587 ; return 0; } |
9813 EOF | 9588 EOF |
9814 if { (eval echo configure:9815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9589 if { (eval echo configure:9590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9815 rm -rf conftest* | 9590 rm -rf conftest* |
9816 eval "ac_cv_lib_$ac_lib_var=yes" | 9591 eval "ac_cv_lib_$ac_lib_var=yes" |
9817 else | 9592 else |
9818 echo "configure: failed program was:" >&5 | 9593 echo "configure: failed program was:" >&5 |
9819 cat conftest.$ac_ext >&5 | 9594 cat conftest.$ac_ext >&5 |