… | |
… | |
679 | GREP |
679 | GREP |
680 | EGREP |
680 | EGREP |
681 | LINKER |
681 | LINKER |
682 | INSTALL_LIBRXVT |
682 | INSTALL_LIBRXVT |
683 | RXVTNAME |
683 | RXVTNAME |
|
|
684 | CXXCPP |
684 | TIC |
685 | TIC |
685 | XMKMF |
686 | XMKMF |
686 | CXXCPP |
|
|
687 | X_CFLAGS |
687 | X_CFLAGS |
688 | X_PRE_LIBS |
688 | X_PRE_LIBS |
689 | X_LIBS |
689 | X_LIBS |
690 | X_EXTRA_LIBS |
690 | X_EXTRA_LIBS |
691 | afterimage_config |
691 | afterimage_config |
692 | XPM_CPPFLAGS |
|
|
693 | XPM_CFLAGS |
|
|
694 | XPM_LIBS |
|
|
695 | rxvt_int16_typedef |
692 | rxvt_int16_typedef |
696 | rxvt_uint16_typedef |
693 | rxvt_uint16_typedef |
697 | rxvt_int32_typedef |
694 | rxvt_int32_typedef |
698 | rxvt_uint32_typedef |
695 | rxvt_uint32_typedef |
699 | rxvt_intp_define |
696 | rxvt_intp_define |
… | |
… | |
734 | CPPFLAGS |
731 | CPPFLAGS |
735 | CXX |
732 | CXX |
736 | CXXFLAGS |
733 | CXXFLAGS |
737 | CCC |
734 | CCC |
738 | CPP |
735 | CPP |
739 | XMKMF |
|
|
740 | CXXCPP' |
736 | CXXCPP |
|
|
737 | XMKMF' |
741 | |
738 | |
742 | |
739 | |
743 | # Initialize some variables set by options. |
740 | # Initialize some variables set by options. |
744 | ac_init_help= |
741 | ac_init_help= |
745 | ac_init_version=false |
742 | ac_init_version=false |
… | |
… | |
1320 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1321 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1322 | --enable-everything enable standard non-multichoice features |
1319 | --enable-everything enable standard non-multichoice features |
1323 | NOTE: this option is order dependent |
1320 | NOTE: this option is order dependent |
1324 | NOTE: automatically enabled with --enable-shared |
1321 | NOTE: automatically enabled with --enable-shared |
|
|
1322 | --enable-warnings turn on g++ warnings |
1325 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1323 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1326 | --enable-combining enable composition of base and combining characters |
1324 | --enable-combining enable composition of base and combining characters |
1327 | --enable-xft enable xft support on systems that have it |
1325 | --enable-xft enable xft support on systems that have it |
1328 | --enable-font-styles enable bold and italic support |
1326 | --enable-font-styles enable bold and italic support |
1329 | --enable-xpm-background enable background pixmaps |
|
|
1330 | --enable-afterimage enable integration with libAfterImage for background images |
1327 | --enable-afterimage enable integration with libAfterImage for background images |
1331 | --enable-afterstep enable integration with AfterStep window manager |
|
|
1332 | --enable-transparency enable transparent backgrounds |
1328 | --enable-transparency enable transparent backgrounds |
1333 | --enable-tinting enable tinting of transparent bg |
|
|
1334 | --enable-fading enable colors fading when off focus |
1329 | --enable-fading enable colors fading when off focus |
1335 | --enable-rxvt-scroll enable rxvt style scrollbar |
1330 | --enable-rxvt-scroll enable rxvt style scrollbar |
1336 | --enable-next-scroll enable NeXT style scrollbar |
1331 | --enable-next-scroll enable NeXT style scrollbar |
1337 | --enable-xterm-scroll enable Xterm style scrollbar |
1332 | --enable-xterm-scroll enable Xterm style scrollbar |
1338 | --enable-perl enable embedded perl interpreter |
1333 | --enable-perl enable embedded perl interpreter |
… | |
… | |
1340 | --enable-xim XIM (X Input Method) protocol support |
1335 | --enable-xim XIM (X Input Method) protocol support |
1341 | --disable-backspace-key disable handling of the backspace key |
1336 | --disable-backspace-key disable handling of the backspace key |
1342 | --disable-delete-key disable handling of the delete key |
1337 | --disable-delete-key disable handling of the delete key |
1343 | --disable-resources disable all resource checking |
1338 | --disable-resources disable all resource checking |
1344 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1345 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1340 | --enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1346 | --disable-swapscreen disable swap screen support |
1341 | --disable-swapscreen disable swap screen support |
1347 | --enable-iso14755 enable support for extended ISO 14755 modes |
1342 | --enable-iso14755 enable support for extended ISO 14755 modes |
1348 | --enable-frills enable support for rarely used features |
1343 | --enable-frills enable support for rarely used features |
1349 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1344 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1350 | --enable-selectionscrolling enable scrolling during selections |
1345 | --enable-selectionscrolling enable scrolling during selections |
1351 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1346 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1352 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1347 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1353 | --enable-smart-resize enable smart growth/shrink behaviour |
1348 | --enable-smart-resize enable smart growth/shrink behaviour |
1354 | --enable-text-blink enable blinking text |
1349 | --enable-text-blink enable blinking text |
1355 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1350 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1356 | --enable-utmp enable utmp (utmpx) support |
1351 | --enable-utmp enable utmp (utmpx) support |
1357 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1352 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
… | |
… | |
1359 | |
1354 | |
1360 | Optional Packages: |
1355 | Optional Packages: |
1361 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1356 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1362 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1357 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1363 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1358 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1364 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1359 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1365 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1360 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1366 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1361 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1367 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1362 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1368 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1363 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1369 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1364 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1370 | --with-x use the X Window System |
1365 | --with-x use the X Window System |
1371 | --with-xpm-includes=DIR use XPM includes in DIR |
|
|
1372 | --with-xpm-library=DIR use XPM library in DIR |
|
|
1373 | --with-xpm use XPM |
|
|
1374 | |
1366 | |
1375 | Some influential environment variables: |
1367 | Some influential environment variables: |
1376 | CC C compiler command |
1368 | CC C compiler command |
1377 | CFLAGS C compiler flags |
1369 | CFLAGS C compiler flags |
1378 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1370 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
… | |
… | |
1381 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1373 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1382 | you have headers in a nonstandard directory <include dir> |
1374 | you have headers in a nonstandard directory <include dir> |
1383 | CXX C++ compiler command |
1375 | CXX C++ compiler command |
1384 | CXXFLAGS C++ compiler flags |
1376 | CXXFLAGS C++ compiler flags |
1385 | CPP C preprocessor |
1377 | CPP C preprocessor |
|
|
1378 | CXXCPP C++ preprocessor |
1386 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1379 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1387 | CXXCPP C++ preprocessor |
|
|
1388 | |
1380 | |
1389 | Use these variables to override the choices made by `configure' or to help |
1381 | Use these variables to override the choices made by `configure' or to help |
1390 | it to find libraries and programs with nonstandard names/locations. |
1382 | it to find libraries and programs with nonstandard names/locations. |
1391 | |
1383 | |
1392 | _ACEOF |
1384 | _ACEOF |
… | |
… | |
1928 | |
1920 | |
1929 | |
1921 | |
1930 | |
1922 | |
1931 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1923 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1932 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1924 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
|
|
1925 | |
1933 | echo "" |
1926 | echo "" |
1934 | echo "configuring for rxvt $VERSION" |
1927 | echo "configuring for rxvt $VERSION" |
1935 | echo "" |
1928 | echo "" |
1936 | |
1929 | |
1937 | orig_CXXFLAGS="$CXXFLAGS" |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
… | |
… | |
3878 | LINKER=$LINKER |
3871 | LINKER=$LINKER |
3879 | |
3872 | |
3880 | |
3873 | |
3881 | if test -z "$orig_CXXFLAGS"; then |
3874 | if test -z "$orig_CXXFLAGS"; then |
3882 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3875 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3883 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3876 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3884 | cat >conftest.$ac_ext <<_ACEOF |
3877 | cat >conftest.$ac_ext <<_ACEOF |
3885 | /* confdefs.h. */ |
3878 | /* confdefs.h. */ |
3886 | _ACEOF |
3879 | _ACEOF |
3887 | cat confdefs.h >>conftest.$ac_ext |
3880 | cat confdefs.h >>conftest.$ac_ext |
3888 | cat >>conftest.$ac_ext <<_ACEOF |
3881 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
4401 | |
4394 | |
4402 | |
4395 | |
4403 | |
4396 | |
4404 | support_frills=yes |
4397 | support_frills=yes |
4405 | support_inheritpixmap=yes |
4398 | support_inheritpixmap=yes |
4406 | support_tinting=yes |
|
|
4407 | support_fading=yes |
4399 | support_fading=yes |
4408 | support_keepscrolling=yes |
4400 | support_keepscrolling=yes |
4409 | support_selectionscrolling=yes |
4401 | support_selectionscrolling=yes |
4410 | support_mousewheel=yes |
4402 | support_mousewheel=yes |
4411 | support_mouseslipwheel=yes |
4403 | support_mouseslipwheel=yes |
… | |
… | |
4414 | support_scroll_rxvt=yes |
4406 | support_scroll_rxvt=yes |
4415 | support_scroll_next=yes |
4407 | support_scroll_next=yes |
4416 | support_scroll_xterm=yes |
4408 | support_scroll_xterm=yes |
4417 | support_scroll_plain=yes |
4409 | support_scroll_plain=yes |
4418 | support_xim=yes |
4410 | support_xim=yes |
4419 | support_xpm=yes |
|
|
4420 | support_afterimage=yes |
4411 | support_afterimage=yes |
4421 | support_afterstep=yes |
4412 | support_afterstep=yes |
4422 | support_xft=yes |
4413 | support_xft=yes |
4423 | support_unicode3=no |
4414 | support_unicode3=no |
4424 | support_combining=yes |
4415 | support_combining=yes |
… | |
… | |
4443 | if test "${enable_everything+set}" = set; then |
4434 | if test "${enable_everything+set}" = set; then |
4444 | enableval=$enable_everything; |
4435 | enableval=$enable_everything; |
4445 | if test x$enableval = xno; then |
4436 | if test x$enableval = xno; then |
4446 | support_frills=no |
4437 | support_frills=no |
4447 | support_inheritpixmap=no |
4438 | support_inheritpixmap=no |
4448 | support_tinting=no |
|
|
4449 | support_fading=no |
4439 | support_fading=no |
4450 | support_keepscrolling=no |
4440 | support_keepscrolling=no |
4451 | support_selectionscrolling=no |
4441 | support_selectionscrolling=no |
4452 | support_lastlog=no |
4442 | support_lastlog=no |
4453 | support_mousewheel=no |
4443 | support_mousewheel=no |
… | |
… | |
4459 | support_scroll_xterm=no |
4449 | support_scroll_xterm=no |
4460 | support_scroll_plain=no |
4450 | support_scroll_plain=no |
4461 | support_utmp=no |
4451 | support_utmp=no |
4462 | support_wtmp=no |
4452 | support_wtmp=no |
4463 | support_xim=no |
4453 | support_xim=no |
4464 | support_xpm=no |
|
|
4465 | support_afterimage=no |
4454 | support_afterimage=no |
4466 | support_afterstep=no |
4455 | support_afterstep=no |
4467 | support_xft=no |
4456 | support_xft=no |
4468 | support_unicode3=no |
4457 | support_unicode3=no |
4469 | support_combining=no |
4458 | support_combining=no |
… | |
… | |
4474 | codesets= |
4463 | codesets= |
4475 | fi |
4464 | fi |
4476 | if test x$enableval = xyes; then |
4465 | if test x$enableval = xyes; then |
4477 | support_frills=yes |
4466 | support_frills=yes |
4478 | support_inheritpixmap=yes |
4467 | support_inheritpixmap=yes |
4479 | support_tinting=yes |
|
|
4480 | support_fading=yes |
4468 | support_fading=yes |
4481 | support_keepscrolling=yes |
4469 | support_keepscrolling=yes |
4482 | support_selectionscrolling=yes |
4470 | support_selectionscrolling=yes |
4483 | support_lastlog=yes |
4471 | support_lastlog=yes |
4484 | support_mousewheel=yes |
4472 | support_mousewheel=yes |
… | |
… | |
4490 | support_scroll_xterm=yes |
4478 | support_scroll_xterm=yes |
4491 | support_scroll_plain=yes |
4479 | support_scroll_plain=yes |
4492 | support_utmp=yes |
4480 | support_utmp=yes |
4493 | support_wtmp=yes |
4481 | support_wtmp=yes |
4494 | support_xim=yes |
4482 | support_xim=yes |
4495 | support_xpm=yes |
|
|
4496 | support_afterimage=yes |
4483 | support_afterimage=yes |
4497 | support_afterstep=yes |
4484 | support_afterstep=yes |
4498 | support_xft=yes |
4485 | support_xft=yes |
4499 | support_unicode3=yes |
4486 | support_unicode3=yes |
4500 | support_combining=yes |
4487 | support_combining=yes |
… | |
… | |
4506 | fi |
4493 | fi |
4507 | |
4494 | |
4508 | fi |
4495 | fi |
4509 | |
4496 | |
4510 | |
4497 | |
|
|
4498 | WARNINGS=no |
|
|
4499 | # Check whether --enable-warnings was given. |
|
|
4500 | if test "${enable_warnings+set}" = set; then |
|
|
4501 | enableval=$enable_warnings; if test x$enableval = xyes; then |
|
|
4502 | WARNINGS=yes |
|
|
4503 | fi |
|
|
4504 | fi |
|
|
4505 | |
|
|
4506 | if test x$GXX = xyes; then |
|
|
4507 | if test $WARNINGS = yes; then |
|
|
4508 | save_CXXFLAGS="$CXXFLAGS" |
|
|
4509 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
|
|
4510 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4511 | /* confdefs.h. */ |
|
|
4512 | _ACEOF |
|
|
4513 | cat confdefs.h >>conftest.$ac_ext |
|
|
4514 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4515 | /* end confdefs.h. */ |
|
|
4516 | |
|
|
4517 | int |
|
|
4518 | main () |
|
|
4519 | { |
|
|
4520 | |
|
|
4521 | ; |
|
|
4522 | return 0; |
|
|
4523 | } |
|
|
4524 | _ACEOF |
|
|
4525 | rm -f conftest.$ac_objext |
|
|
4526 | if { (ac_try="$ac_compile" |
|
|
4527 | case "(($ac_try" in |
|
|
4528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4529 | *) ac_try_echo=$ac_try;; |
|
|
4530 | esac |
|
|
4531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4532 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4533 | ac_status=$? |
|
|
4534 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4535 | rm -f conftest.er1 |
|
|
4536 | cat conftest.err >&5 |
|
|
4537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4538 | (exit $ac_status); } && { |
|
|
4539 | test -z "$ac_cxx_werror_flag" || |
|
|
4540 | test ! -s conftest.err |
|
|
4541 | } && test -s conftest.$ac_objext; then |
|
|
4542 | : |
|
|
4543 | else |
|
|
4544 | echo "$as_me: failed program was:" >&5 |
|
|
4545 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4546 | |
|
|
4547 | CXXFLAGS="$save_CXXFLAGS" |
|
|
4548 | fi |
|
|
4549 | |
|
|
4550 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4551 | else |
|
|
4552 | CXXFLAGS="$CXXFLAGS -w" |
|
|
4553 | fi |
|
|
4554 | fi |
|
|
4555 | |
4511 | # Check whether --enable-unicode3 was given. |
4556 | # Check whether --enable-unicode3 was given. |
4512 | if test "${enable_unicode3+set}" = set; then |
4557 | if test "${enable_unicode3+set}" = set; then |
4513 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4558 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4514 | support_unicode3=$enableval |
4559 | support_unicode3=$enableval |
4515 | fi |
4560 | fi |
… | |
… | |
4538 | support_styles=$enableval |
4583 | support_styles=$enableval |
4539 | fi |
4584 | fi |
4540 | fi |
4585 | fi |
4541 | |
4586 | |
4542 | |
4587 | |
4543 | # Check whether --enable-xpm-background was given. |
|
|
4544 | if test "${enable_xpm_background+set}" = set; then |
|
|
4545 | enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4546 | support_xpm=$enableval |
|
|
4547 | fi |
|
|
4548 | fi |
|
|
4549 | |
|
|
4550 | |
|
|
4551 | # Check whether --enable-afterimage was given. |
4588 | # Check whether --enable-afterimage was given. |
4552 | if test "${enable_afterimage+set}" = set; then |
4589 | if test "${enable_afterimage+set}" = set; then |
4553 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
4590 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
4554 | support_afterimage=$enableval |
4591 | support_afterimage=$enableval |
4555 | fi |
4592 | fi |
… | |
… | |
4563 | afterimage_config=$withval/afterimage-config |
4600 | afterimage_config=$withval/afterimage-config |
4564 | fi |
4601 | fi |
4565 | fi |
4602 | fi |
4566 | |
4603 | |
4567 | |
4604 | |
4568 | # Check whether --enable-afterstep was given. |
|
|
4569 | if test "${enable_afterstep+set}" = set; then |
|
|
4570 | enableval=$enable_afterstep; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4571 | support_afterstep=$enableval |
|
|
4572 | fi |
|
|
4573 | fi |
|
|
4574 | |
|
|
4575 | |
4605 | |
4576 | # Check whether --enable-transparency was given. |
4606 | # Check whether --enable-transparency was given. |
4577 | if test "${enable_transparency+set}" = set; then |
4607 | if test "${enable_transparency+set}" = set; then |
4578 | enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then |
4608 | enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then |
4579 | support_inheritpixmap=$enableval |
4609 | support_inheritpixmap=$enableval |
4580 | fi |
|
|
4581 | fi |
|
|
4582 | |
|
|
4583 | |
|
|
4584 | # Check whether --enable-tinting was given. |
|
|
4585 | if test "${enable_tinting+set}" = set; then |
|
|
4586 | enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4587 | support_tinting=$enableval |
|
|
4588 | fi |
4610 | fi |
4589 | fi |
4611 | fi |
4590 | |
4612 | |
4591 | |
4613 | |
4592 | # Check whether --enable-fading was given. |
4614 | # Check whether --enable-fading was given. |
… | |
… | |
4867 | #define RXVT_TERMINFO "$withval" |
4889 | #define RXVT_TERMINFO "$withval" |
4868 | _ACEOF |
4890 | _ACEOF |
4869 | terminfo="$withval" |
4891 | terminfo="$withval" |
4870 | fi |
4892 | fi |
4871 | fi |
4893 | fi |
|
|
4894 | |
|
|
4895 | |
|
|
4896 | |
|
|
4897 | LIBEV_M4_AVOID_LIBRT=1 |
|
|
4898 | |
|
|
4899 | ac_ext=cpp |
|
|
4900 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4901 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4902 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4903 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4904 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4905 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4906 | if test -z "$CXXCPP"; then |
|
|
4907 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4908 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4909 | else |
|
|
4910 | # Double quotes because CXXCPP needs to be expanded |
|
|
4911 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4912 | do |
|
|
4913 | ac_preproc_ok=false |
|
|
4914 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4915 | do |
|
|
4916 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4917 | # with a fresh cross-compiler works. |
|
|
4918 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4919 | # <limits.h> exists even on freestanding compilers. |
|
|
4920 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4921 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4922 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4923 | /* confdefs.h. */ |
|
|
4924 | _ACEOF |
|
|
4925 | cat confdefs.h >>conftest.$ac_ext |
|
|
4926 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4927 | /* end confdefs.h. */ |
|
|
4928 | #ifdef __STDC__ |
|
|
4929 | # include <limits.h> |
|
|
4930 | #else |
|
|
4931 | # include <assert.h> |
|
|
4932 | #endif |
|
|
4933 | Syntax error |
|
|
4934 | _ACEOF |
|
|
4935 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4936 | case "(($ac_try" in |
|
|
4937 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4938 | *) ac_try_echo=$ac_try;; |
|
|
4939 | esac |
|
|
4940 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4941 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4942 | ac_status=$? |
|
|
4943 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4944 | rm -f conftest.er1 |
|
|
4945 | cat conftest.err >&5 |
|
|
4946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4947 | (exit $ac_status); } >/dev/null && { |
|
|
4948 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4949 | test ! -s conftest.err |
|
|
4950 | }; then |
|
|
4951 | : |
|
|
4952 | else |
|
|
4953 | echo "$as_me: failed program was:" >&5 |
|
|
4954 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4955 | |
|
|
4956 | # Broken: fails on valid input. |
|
|
4957 | continue |
|
|
4958 | fi |
|
|
4959 | |
|
|
4960 | rm -f conftest.err conftest.$ac_ext |
|
|
4961 | |
|
|
4962 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4963 | # can be detected and how. |
|
|
4964 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4965 | /* confdefs.h. */ |
|
|
4966 | _ACEOF |
|
|
4967 | cat confdefs.h >>conftest.$ac_ext |
|
|
4968 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4969 | /* end confdefs.h. */ |
|
|
4970 | #include <ac_nonexistent.h> |
|
|
4971 | _ACEOF |
|
|
4972 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4973 | case "(($ac_try" in |
|
|
4974 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4975 | *) ac_try_echo=$ac_try;; |
|
|
4976 | esac |
|
|
4977 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4978 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4979 | ac_status=$? |
|
|
4980 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4981 | rm -f conftest.er1 |
|
|
4982 | cat conftest.err >&5 |
|
|
4983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4984 | (exit $ac_status); } >/dev/null && { |
|
|
4985 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4986 | test ! -s conftest.err |
|
|
4987 | }; then |
|
|
4988 | # Broken: success on invalid input. |
|
|
4989 | continue |
|
|
4990 | else |
|
|
4991 | echo "$as_me: failed program was:" >&5 |
|
|
4992 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4993 | |
|
|
4994 | # Passes both tests. |
|
|
4995 | ac_preproc_ok=: |
|
|
4996 | break |
|
|
4997 | fi |
|
|
4998 | |
|
|
4999 | rm -f conftest.err conftest.$ac_ext |
|
|
5000 | |
|
|
5001 | done |
|
|
5002 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5003 | rm -f conftest.err conftest.$ac_ext |
|
|
5004 | if $ac_preproc_ok; then |
|
|
5005 | break |
|
|
5006 | fi |
|
|
5007 | |
|
|
5008 | done |
|
|
5009 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5010 | |
|
|
5011 | fi |
|
|
5012 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5013 | else |
|
|
5014 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5015 | fi |
|
|
5016 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5017 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5018 | ac_preproc_ok=false |
|
|
5019 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5020 | do |
|
|
5021 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5022 | # with a fresh cross-compiler works. |
|
|
5023 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5024 | # <limits.h> exists even on freestanding compilers. |
|
|
5025 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5026 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5027 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5028 | /* confdefs.h. */ |
|
|
5029 | _ACEOF |
|
|
5030 | cat confdefs.h >>conftest.$ac_ext |
|
|
5031 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5032 | /* end confdefs.h. */ |
|
|
5033 | #ifdef __STDC__ |
|
|
5034 | # include <limits.h> |
|
|
5035 | #else |
|
|
5036 | # include <assert.h> |
|
|
5037 | #endif |
|
|
5038 | Syntax error |
|
|
5039 | _ACEOF |
|
|
5040 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5041 | case "(($ac_try" in |
|
|
5042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5043 | *) ac_try_echo=$ac_try;; |
|
|
5044 | esac |
|
|
5045 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5046 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5047 | ac_status=$? |
|
|
5048 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5049 | rm -f conftest.er1 |
|
|
5050 | cat conftest.err >&5 |
|
|
5051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5052 | (exit $ac_status); } >/dev/null && { |
|
|
5053 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5054 | test ! -s conftest.err |
|
|
5055 | }; then |
|
|
5056 | : |
|
|
5057 | else |
|
|
5058 | echo "$as_me: failed program was:" >&5 |
|
|
5059 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5060 | |
|
|
5061 | # Broken: fails on valid input. |
|
|
5062 | continue |
|
|
5063 | fi |
|
|
5064 | |
|
|
5065 | rm -f conftest.err conftest.$ac_ext |
|
|
5066 | |
|
|
5067 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5068 | # can be detected and how. |
|
|
5069 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5070 | /* confdefs.h. */ |
|
|
5071 | _ACEOF |
|
|
5072 | cat confdefs.h >>conftest.$ac_ext |
|
|
5073 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5074 | /* end confdefs.h. */ |
|
|
5075 | #include <ac_nonexistent.h> |
|
|
5076 | _ACEOF |
|
|
5077 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5078 | case "(($ac_try" in |
|
|
5079 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5080 | *) ac_try_echo=$ac_try;; |
|
|
5081 | esac |
|
|
5082 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5083 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5084 | ac_status=$? |
|
|
5085 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5086 | rm -f conftest.er1 |
|
|
5087 | cat conftest.err >&5 |
|
|
5088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5089 | (exit $ac_status); } >/dev/null && { |
|
|
5090 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5091 | test ! -s conftest.err |
|
|
5092 | }; then |
|
|
5093 | # Broken: success on invalid input. |
|
|
5094 | continue |
|
|
5095 | else |
|
|
5096 | echo "$as_me: failed program was:" >&5 |
|
|
5097 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5098 | |
|
|
5099 | # Passes both tests. |
|
|
5100 | ac_preproc_ok=: |
|
|
5101 | break |
|
|
5102 | fi |
|
|
5103 | |
|
|
5104 | rm -f conftest.err conftest.$ac_ext |
|
|
5105 | |
|
|
5106 | done |
|
|
5107 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5108 | rm -f conftest.err conftest.$ac_ext |
|
|
5109 | if $ac_preproc_ok; then |
|
|
5110 | : |
|
|
5111 | else |
|
|
5112 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5113 | See \`config.log' for more details." >&5 |
|
|
5114 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5115 | See \`config.log' for more details." >&2;} |
|
|
5116 | { (exit 1); exit 1; }; } |
|
|
5117 | fi |
|
|
5118 | |
|
|
5119 | ac_ext=cpp |
|
|
5120 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5121 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5122 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5123 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5124 | |
|
|
5125 | |
|
|
5126 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
5127 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
5128 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
5129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5130 | else |
|
|
5131 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5132 | /* confdefs.h. */ |
|
|
5133 | _ACEOF |
|
|
5134 | cat confdefs.h >>conftest.$ac_ext |
|
|
5135 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5136 | /* end confdefs.h. */ |
|
|
5137 | #include <stdlib.h> |
|
|
5138 | #include <stdarg.h> |
|
|
5139 | #include <string.h> |
|
|
5140 | #include <float.h> |
|
|
5141 | |
|
|
5142 | int |
|
|
5143 | main () |
|
|
5144 | { |
|
|
5145 | |
|
|
5146 | ; |
|
|
5147 | return 0; |
|
|
5148 | } |
|
|
5149 | _ACEOF |
|
|
5150 | rm -f conftest.$ac_objext |
|
|
5151 | if { (ac_try="$ac_compile" |
|
|
5152 | case "(($ac_try" in |
|
|
5153 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5154 | *) ac_try_echo=$ac_try;; |
|
|
5155 | esac |
|
|
5156 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5157 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5158 | ac_status=$? |
|
|
5159 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5160 | rm -f conftest.er1 |
|
|
5161 | cat conftest.err >&5 |
|
|
5162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5163 | (exit $ac_status); } && { |
|
|
5164 | test -z "$ac_cxx_werror_flag" || |
|
|
5165 | test ! -s conftest.err |
|
|
5166 | } && test -s conftest.$ac_objext; then |
|
|
5167 | ac_cv_header_stdc=yes |
|
|
5168 | else |
|
|
5169 | echo "$as_me: failed program was:" >&5 |
|
|
5170 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5171 | |
|
|
5172 | ac_cv_header_stdc=no |
|
|
5173 | fi |
|
|
5174 | |
|
|
5175 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5176 | |
|
|
5177 | if test $ac_cv_header_stdc = yes; then |
|
|
5178 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
5179 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5180 | /* confdefs.h. */ |
|
|
5181 | _ACEOF |
|
|
5182 | cat confdefs.h >>conftest.$ac_ext |
|
|
5183 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5184 | /* end confdefs.h. */ |
|
|
5185 | #include <string.h> |
|
|
5186 | |
|
|
5187 | _ACEOF |
|
|
5188 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5189 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
5190 | : |
|
|
5191 | else |
|
|
5192 | ac_cv_header_stdc=no |
|
|
5193 | fi |
|
|
5194 | rm -f conftest* |
|
|
5195 | |
|
|
5196 | fi |
|
|
5197 | |
|
|
5198 | if test $ac_cv_header_stdc = yes; then |
|
|
5199 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
5200 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5201 | /* confdefs.h. */ |
|
|
5202 | _ACEOF |
|
|
5203 | cat confdefs.h >>conftest.$ac_ext |
|
|
5204 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5205 | /* end confdefs.h. */ |
|
|
5206 | #include <stdlib.h> |
|
|
5207 | |
|
|
5208 | _ACEOF |
|
|
5209 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5210 | $EGREP "free" >/dev/null 2>&1; then |
|
|
5211 | : |
|
|
5212 | else |
|
|
5213 | ac_cv_header_stdc=no |
|
|
5214 | fi |
|
|
5215 | rm -f conftest* |
|
|
5216 | |
|
|
5217 | fi |
|
|
5218 | |
|
|
5219 | if test $ac_cv_header_stdc = yes; then |
|
|
5220 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
5221 | if test "$cross_compiling" = yes; then |
|
|
5222 | : |
|
|
5223 | else |
|
|
5224 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5225 | /* confdefs.h. */ |
|
|
5226 | _ACEOF |
|
|
5227 | cat confdefs.h >>conftest.$ac_ext |
|
|
5228 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5229 | /* end confdefs.h. */ |
|
|
5230 | #include <ctype.h> |
|
|
5231 | #include <stdlib.h> |
|
|
5232 | #if ((' ' & 0x0FF) == 0x020) |
|
|
5233 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
5234 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
5235 | #else |
|
|
5236 | # define ISLOWER(c) \ |
|
|
5237 | (('a' <= (c) && (c) <= 'i') \ |
|
|
5238 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
5239 | || ('s' <= (c) && (c) <= 'z')) |
|
|
5240 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
5241 | #endif |
|
|
5242 | |
|
|
5243 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
5244 | int |
|
|
5245 | main () |
|
|
5246 | { |
|
|
5247 | int i; |
|
|
5248 | for (i = 0; i < 256; i++) |
|
|
5249 | if (XOR (islower (i), ISLOWER (i)) |
|
|
5250 | || toupper (i) != TOUPPER (i)) |
|
|
5251 | return 2; |
|
|
5252 | return 0; |
|
|
5253 | } |
|
|
5254 | _ACEOF |
|
|
5255 | rm -f conftest$ac_exeext |
|
|
5256 | if { (ac_try="$ac_link" |
|
|
5257 | case "(($ac_try" in |
|
|
5258 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5259 | *) ac_try_echo=$ac_try;; |
|
|
5260 | esac |
|
|
5261 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5262 | (eval "$ac_link") 2>&5 |
|
|
5263 | ac_status=$? |
|
|
5264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5265 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
5266 | { (case "(($ac_try" in |
|
|
5267 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5268 | *) ac_try_echo=$ac_try;; |
|
|
5269 | esac |
|
|
5270 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5271 | (eval "$ac_try") 2>&5 |
|
|
5272 | ac_status=$? |
|
|
5273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5274 | (exit $ac_status); }; }; then |
|
|
5275 | : |
|
|
5276 | else |
|
|
5277 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
5278 | echo "$as_me: failed program was:" >&5 |
|
|
5279 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5280 | |
|
|
5281 | ( exit $ac_status ) |
|
|
5282 | ac_cv_header_stdc=no |
|
|
5283 | fi |
|
|
5284 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
5285 | fi |
|
|
5286 | |
|
|
5287 | |
|
|
5288 | fi |
|
|
5289 | fi |
|
|
5290 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
5291 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
5292 | if test $ac_cv_header_stdc = yes; then |
|
|
5293 | |
|
|
5294 | cat >>confdefs.h <<\_ACEOF |
|
|
5295 | #define STDC_HEADERS 1 |
|
|
5296 | _ACEOF |
|
|
5297 | |
|
|
5298 | fi |
|
|
5299 | |
|
|
5300 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
5301 | |
|
|
5302 | |
|
|
5303 | |
|
|
5304 | |
|
|
5305 | |
|
|
5306 | |
|
|
5307 | |
|
|
5308 | |
|
|
5309 | |
|
|
5310 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
5311 | inttypes.h stdint.h unistd.h |
|
|
5312 | do |
|
|
5313 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5314 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5315 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5316 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5317 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5318 | else |
|
|
5319 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5320 | /* confdefs.h. */ |
|
|
5321 | _ACEOF |
|
|
5322 | cat confdefs.h >>conftest.$ac_ext |
|
|
5323 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5324 | /* end confdefs.h. */ |
|
|
5325 | $ac_includes_default |
|
|
5326 | |
|
|
5327 | #include <$ac_header> |
|
|
5328 | _ACEOF |
|
|
5329 | rm -f conftest.$ac_objext |
|
|
5330 | if { (ac_try="$ac_compile" |
|
|
5331 | case "(($ac_try" in |
|
|
5332 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5333 | *) ac_try_echo=$ac_try;; |
|
|
5334 | esac |
|
|
5335 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5336 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5337 | ac_status=$? |
|
|
5338 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5339 | rm -f conftest.er1 |
|
|
5340 | cat conftest.err >&5 |
|
|
5341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5342 | (exit $ac_status); } && { |
|
|
5343 | test -z "$ac_cxx_werror_flag" || |
|
|
5344 | test ! -s conftest.err |
|
|
5345 | } && test -s conftest.$ac_objext; then |
|
|
5346 | eval "$as_ac_Header=yes" |
|
|
5347 | else |
|
|
5348 | echo "$as_me: failed program was:" >&5 |
|
|
5349 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5350 | |
|
|
5351 | eval "$as_ac_Header=no" |
|
|
5352 | fi |
|
|
5353 | |
|
|
5354 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5355 | fi |
|
|
5356 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5357 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5358 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5359 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5360 | cat >>confdefs.h <<_ACEOF |
|
|
5361 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5362 | _ACEOF |
|
|
5363 | |
|
|
5364 | fi |
|
|
5365 | |
|
|
5366 | done |
|
|
5367 | |
|
|
5368 | |
|
|
5369 | |
|
|
5370 | |
|
|
5371 | |
|
|
5372 | |
|
|
5373 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h |
|
|
5374 | do |
|
|
5375 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5376 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5377 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5378 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5379 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5380 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5381 | fi |
|
|
5382 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5383 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5384 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5385 | else |
|
|
5386 | # Is the header compilable? |
|
|
5387 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5388 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5389 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5390 | /* confdefs.h. */ |
|
|
5391 | _ACEOF |
|
|
5392 | cat confdefs.h >>conftest.$ac_ext |
|
|
5393 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5394 | /* end confdefs.h. */ |
|
|
5395 | $ac_includes_default |
|
|
5396 | #include <$ac_header> |
|
|
5397 | _ACEOF |
|
|
5398 | rm -f conftest.$ac_objext |
|
|
5399 | if { (ac_try="$ac_compile" |
|
|
5400 | case "(($ac_try" in |
|
|
5401 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5402 | *) ac_try_echo=$ac_try;; |
|
|
5403 | esac |
|
|
5404 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5405 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5406 | ac_status=$? |
|
|
5407 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5408 | rm -f conftest.er1 |
|
|
5409 | cat conftest.err >&5 |
|
|
5410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5411 | (exit $ac_status); } && { |
|
|
5412 | test -z "$ac_cxx_werror_flag" || |
|
|
5413 | test ! -s conftest.err |
|
|
5414 | } && test -s conftest.$ac_objext; then |
|
|
5415 | ac_header_compiler=yes |
|
|
5416 | else |
|
|
5417 | echo "$as_me: failed program was:" >&5 |
|
|
5418 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5419 | |
|
|
5420 | ac_header_compiler=no |
|
|
5421 | fi |
|
|
5422 | |
|
|
5423 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5424 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5425 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5426 | |
|
|
5427 | # Is the header present? |
|
|
5428 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5429 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5430 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5431 | /* confdefs.h. */ |
|
|
5432 | _ACEOF |
|
|
5433 | cat confdefs.h >>conftest.$ac_ext |
|
|
5434 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5435 | /* end confdefs.h. */ |
|
|
5436 | #include <$ac_header> |
|
|
5437 | _ACEOF |
|
|
5438 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5439 | case "(($ac_try" in |
|
|
5440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5441 | *) ac_try_echo=$ac_try;; |
|
|
5442 | esac |
|
|
5443 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5444 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5445 | ac_status=$? |
|
|
5446 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5447 | rm -f conftest.er1 |
|
|
5448 | cat conftest.err >&5 |
|
|
5449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5450 | (exit $ac_status); } >/dev/null && { |
|
|
5451 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5452 | test ! -s conftest.err |
|
|
5453 | }; then |
|
|
5454 | ac_header_preproc=yes |
|
|
5455 | else |
|
|
5456 | echo "$as_me: failed program was:" >&5 |
|
|
5457 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5458 | |
|
|
5459 | ac_header_preproc=no |
|
|
5460 | fi |
|
|
5461 | |
|
|
5462 | rm -f conftest.err conftest.$ac_ext |
|
|
5463 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5464 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5465 | |
|
|
5466 | # So? What about this header? |
|
|
5467 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5468 | yes:no: ) |
|
|
5469 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5470 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5471 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5472 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5473 | ac_header_preproc=yes |
|
|
5474 | ;; |
|
|
5475 | no:yes:* ) |
|
|
5476 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5477 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5478 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5479 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5480 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5481 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5482 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5483 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5484 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5485 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5486 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5487 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5488 | |
|
|
5489 | ;; |
|
|
5490 | esac |
|
|
5491 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5492 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5493 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5494 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5495 | else |
|
|
5496 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5497 | fi |
|
|
5498 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5499 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5500 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5501 | |
|
|
5502 | fi |
|
|
5503 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5504 | cat >>confdefs.h <<_ACEOF |
|
|
5505 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5506 | _ACEOF |
|
|
5507 | |
|
|
5508 | fi |
|
|
5509 | |
|
|
5510 | done |
|
|
5511 | |
|
|
5512 | |
|
|
5513 | |
|
|
5514 | |
|
|
5515 | |
|
|
5516 | for ac_func in epoll_ctl kqueue port_create |
|
|
5517 | do |
|
|
5518 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5519 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5520 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5521 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5522 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5523 | else |
|
|
5524 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5525 | /* confdefs.h. */ |
|
|
5526 | _ACEOF |
|
|
5527 | cat confdefs.h >>conftest.$ac_ext |
|
|
5528 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5529 | /* end confdefs.h. */ |
|
|
5530 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5531 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5532 | #define $ac_func innocuous_$ac_func |
|
|
5533 | |
|
|
5534 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5535 | which can conflict with char $ac_func (); below. |
|
|
5536 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5537 | <limits.h> exists even on freestanding compilers. */ |
|
|
5538 | |
|
|
5539 | #ifdef __STDC__ |
|
|
5540 | # include <limits.h> |
|
|
5541 | #else |
|
|
5542 | # include <assert.h> |
|
|
5543 | #endif |
|
|
5544 | |
|
|
5545 | #undef $ac_func |
|
|
5546 | |
|
|
5547 | /* Override any GCC internal prototype to avoid an error. |
|
|
5548 | Use char because int might match the return type of a GCC |
|
|
5549 | builtin and then its argument prototype would still apply. */ |
|
|
5550 | #ifdef __cplusplus |
|
|
5551 | extern "C" |
|
|
5552 | #endif |
|
|
5553 | char $ac_func (); |
|
|
5554 | /* The GNU C library defines this for functions which it implements |
|
|
5555 | to always fail with ENOSYS. Some functions are actually named |
|
|
5556 | something starting with __ and the normal name is an alias. */ |
|
|
5557 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5558 | choke me |
|
|
5559 | #endif |
|
|
5560 | |
|
|
5561 | int |
|
|
5562 | main () |
|
|
5563 | { |
|
|
5564 | return $ac_func (); |
|
|
5565 | ; |
|
|
5566 | return 0; |
|
|
5567 | } |
|
|
5568 | _ACEOF |
|
|
5569 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5570 | if { (ac_try="$ac_link" |
|
|
5571 | case "(($ac_try" in |
|
|
5572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5573 | *) ac_try_echo=$ac_try;; |
|
|
5574 | esac |
|
|
5575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5576 | (eval "$ac_link") 2>conftest.er1 |
|
|
5577 | ac_status=$? |
|
|
5578 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5579 | rm -f conftest.er1 |
|
|
5580 | cat conftest.err >&5 |
|
|
5581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5582 | (exit $ac_status); } && { |
|
|
5583 | test -z "$ac_cxx_werror_flag" || |
|
|
5584 | test ! -s conftest.err |
|
|
5585 | } && test -s conftest$ac_exeext && |
|
|
5586 | $as_test_x conftest$ac_exeext; then |
|
|
5587 | eval "$as_ac_var=yes" |
|
|
5588 | else |
|
|
5589 | echo "$as_me: failed program was:" >&5 |
|
|
5590 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5591 | |
|
|
5592 | eval "$as_ac_var=no" |
|
|
5593 | fi |
|
|
5594 | |
|
|
5595 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5596 | conftest$ac_exeext conftest.$ac_ext |
|
|
5597 | fi |
|
|
5598 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5599 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5600 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5601 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5602 | cat >>confdefs.h <<_ACEOF |
|
|
5603 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5604 | _ACEOF |
|
|
5605 | |
|
|
5606 | fi |
|
|
5607 | done |
|
|
5608 | |
|
|
5609 | |
|
|
5610 | { echo "$as_me:$LINENO: checking for clock_gettime" >&5 |
|
|
5611 | echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; } |
|
|
5612 | if test "${ac_cv_func_clock_gettime+set}" = set; then |
|
|
5613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5614 | else |
|
|
5615 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5616 | /* confdefs.h. */ |
|
|
5617 | _ACEOF |
|
|
5618 | cat confdefs.h >>conftest.$ac_ext |
|
|
5619 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5620 | /* end confdefs.h. */ |
|
|
5621 | /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime. |
|
|
5622 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5623 | #define clock_gettime innocuous_clock_gettime |
|
|
5624 | |
|
|
5625 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5626 | which can conflict with char clock_gettime (); below. |
|
|
5627 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5628 | <limits.h> exists even on freestanding compilers. */ |
|
|
5629 | |
|
|
5630 | #ifdef __STDC__ |
|
|
5631 | # include <limits.h> |
|
|
5632 | #else |
|
|
5633 | # include <assert.h> |
|
|
5634 | #endif |
|
|
5635 | |
|
|
5636 | #undef clock_gettime |
|
|
5637 | |
|
|
5638 | /* Override any GCC internal prototype to avoid an error. |
|
|
5639 | Use char because int might match the return type of a GCC |
|
|
5640 | builtin and then its argument prototype would still apply. */ |
|
|
5641 | #ifdef __cplusplus |
|
|
5642 | extern "C" |
|
|
5643 | #endif |
|
|
5644 | char clock_gettime (); |
|
|
5645 | /* The GNU C library defines this for functions which it implements |
|
|
5646 | to always fail with ENOSYS. Some functions are actually named |
|
|
5647 | something starting with __ and the normal name is an alias. */ |
|
|
5648 | #if defined __stub_clock_gettime || defined __stub___clock_gettime |
|
|
5649 | choke me |
|
|
5650 | #endif |
|
|
5651 | |
|
|
5652 | int |
|
|
5653 | main () |
|
|
5654 | { |
|
|
5655 | return clock_gettime (); |
|
|
5656 | ; |
|
|
5657 | return 0; |
|
|
5658 | } |
|
|
5659 | _ACEOF |
|
|
5660 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5661 | if { (ac_try="$ac_link" |
|
|
5662 | case "(($ac_try" in |
|
|
5663 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5664 | *) ac_try_echo=$ac_try;; |
|
|
5665 | esac |
|
|
5666 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5667 | (eval "$ac_link") 2>conftest.er1 |
|
|
5668 | ac_status=$? |
|
|
5669 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5670 | rm -f conftest.er1 |
|
|
5671 | cat conftest.err >&5 |
|
|
5672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5673 | (exit $ac_status); } && { |
|
|
5674 | test -z "$ac_cxx_werror_flag" || |
|
|
5675 | test ! -s conftest.err |
|
|
5676 | } && test -s conftest$ac_exeext && |
|
|
5677 | $as_test_x conftest$ac_exeext; then |
|
|
5678 | ac_cv_func_clock_gettime=yes |
|
|
5679 | else |
|
|
5680 | echo "$as_me: failed program was:" >&5 |
|
|
5681 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5682 | |
|
|
5683 | ac_cv_func_clock_gettime=no |
|
|
5684 | fi |
|
|
5685 | |
|
|
5686 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5687 | conftest$ac_exeext conftest.$ac_ext |
|
|
5688 | fi |
|
|
5689 | { echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5 |
|
|
5690 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
|
|
5691 | if test $ac_cv_func_clock_gettime = yes; then |
|
|
5692 | : |
|
|
5693 | else |
|
|
5694 | |
|
|
5695 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5696 | |
|
|
5697 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
|
|
5698 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
|
|
5699 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
|
|
5700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5701 | else |
|
|
5702 | ac_check_lib_save_LIBS=$LIBS |
|
|
5703 | LIBS="-lrt $LIBS" |
|
|
5704 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5705 | /* confdefs.h. */ |
|
|
5706 | _ACEOF |
|
|
5707 | cat confdefs.h >>conftest.$ac_ext |
|
|
5708 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5709 | /* end confdefs.h. */ |
|
|
5710 | |
|
|
5711 | /* Override any GCC internal prototype to avoid an error. |
|
|
5712 | Use char because int might match the return type of a GCC |
|
|
5713 | builtin and then its argument prototype would still apply. */ |
|
|
5714 | #ifdef __cplusplus |
|
|
5715 | extern "C" |
|
|
5716 | #endif |
|
|
5717 | char clock_gettime (); |
|
|
5718 | int |
|
|
5719 | main () |
|
|
5720 | { |
|
|
5721 | return clock_gettime (); |
|
|
5722 | ; |
|
|
5723 | return 0; |
|
|
5724 | } |
|
|
5725 | _ACEOF |
|
|
5726 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5727 | if { (ac_try="$ac_link" |
|
|
5728 | case "(($ac_try" in |
|
|
5729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5730 | *) ac_try_echo=$ac_try;; |
|
|
5731 | esac |
|
|
5732 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5733 | (eval "$ac_link") 2>conftest.er1 |
|
|
5734 | ac_status=$? |
|
|
5735 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5736 | rm -f conftest.er1 |
|
|
5737 | cat conftest.err >&5 |
|
|
5738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5739 | (exit $ac_status); } && { |
|
|
5740 | test -z "$ac_cxx_werror_flag" || |
|
|
5741 | test ! -s conftest.err |
|
|
5742 | } && test -s conftest$ac_exeext && |
|
|
5743 | $as_test_x conftest$ac_exeext; then |
|
|
5744 | ac_cv_lib_rt_clock_gettime=yes |
|
|
5745 | else |
|
|
5746 | echo "$as_me: failed program was:" >&5 |
|
|
5747 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5748 | |
|
|
5749 | ac_cv_lib_rt_clock_gettime=no |
|
|
5750 | fi |
|
|
5751 | |
|
|
5752 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5753 | conftest$ac_exeext conftest.$ac_ext |
|
|
5754 | LIBS=$ac_check_lib_save_LIBS |
|
|
5755 | fi |
|
|
5756 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 |
|
|
5757 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; } |
|
|
5758 | if test $ac_cv_lib_rt_clock_gettime = yes; then |
|
|
5759 | cat >>confdefs.h <<_ACEOF |
|
|
5760 | #define HAVE_LIBRT 1 |
|
|
5761 | _ACEOF |
|
|
5762 | |
|
|
5763 | LIBS="-lrt $LIBS" |
|
|
5764 | |
|
|
5765 | fi |
|
|
5766 | |
|
|
5767 | |
|
|
5768 | for ac_func in clock_gettime |
|
|
5769 | do |
|
|
5770 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5771 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5772 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5773 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5774 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5775 | else |
|
|
5776 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5777 | /* confdefs.h. */ |
|
|
5778 | _ACEOF |
|
|
5779 | cat confdefs.h >>conftest.$ac_ext |
|
|
5780 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5781 | /* end confdefs.h. */ |
|
|
5782 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5783 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5784 | #define $ac_func innocuous_$ac_func |
|
|
5785 | |
|
|
5786 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5787 | which can conflict with char $ac_func (); below. |
|
|
5788 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5789 | <limits.h> exists even on freestanding compilers. */ |
|
|
5790 | |
|
|
5791 | #ifdef __STDC__ |
|
|
5792 | # include <limits.h> |
|
|
5793 | #else |
|
|
5794 | # include <assert.h> |
|
|
5795 | #endif |
|
|
5796 | |
|
|
5797 | #undef $ac_func |
|
|
5798 | |
|
|
5799 | /* Override any GCC internal prototype to avoid an error. |
|
|
5800 | Use char because int might match the return type of a GCC |
|
|
5801 | builtin and then its argument prototype would still apply. */ |
|
|
5802 | #ifdef __cplusplus |
|
|
5803 | extern "C" |
|
|
5804 | #endif |
|
|
5805 | char $ac_func (); |
|
|
5806 | /* The GNU C library defines this for functions which it implements |
|
|
5807 | to always fail with ENOSYS. Some functions are actually named |
|
|
5808 | something starting with __ and the normal name is an alias. */ |
|
|
5809 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5810 | choke me |
|
|
5811 | #endif |
|
|
5812 | |
|
|
5813 | int |
|
|
5814 | main () |
|
|
5815 | { |
|
|
5816 | return $ac_func (); |
|
|
5817 | ; |
|
|
5818 | return 0; |
|
|
5819 | } |
|
|
5820 | _ACEOF |
|
|
5821 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5822 | if { (ac_try="$ac_link" |
|
|
5823 | case "(($ac_try" in |
|
|
5824 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5825 | *) ac_try_echo=$ac_try;; |
|
|
5826 | esac |
|
|
5827 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5828 | (eval "$ac_link") 2>conftest.er1 |
|
|
5829 | ac_status=$? |
|
|
5830 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5831 | rm -f conftest.er1 |
|
|
5832 | cat conftest.err >&5 |
|
|
5833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5834 | (exit $ac_status); } && { |
|
|
5835 | test -z "$ac_cxx_werror_flag" || |
|
|
5836 | test ! -s conftest.err |
|
|
5837 | } && test -s conftest$ac_exeext && |
|
|
5838 | $as_test_x conftest$ac_exeext; then |
|
|
5839 | eval "$as_ac_var=yes" |
|
|
5840 | else |
|
|
5841 | echo "$as_me: failed program was:" >&5 |
|
|
5842 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5843 | |
|
|
5844 | eval "$as_ac_var=no" |
|
|
5845 | fi |
|
|
5846 | |
|
|
5847 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5848 | conftest$ac_exeext conftest.$ac_ext |
|
|
5849 | fi |
|
|
5850 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5851 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5852 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5853 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5854 | cat >>confdefs.h <<_ACEOF |
|
|
5855 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5856 | _ACEOF |
|
|
5857 | |
|
|
5858 | fi |
|
|
5859 | done |
|
|
5860 | |
|
|
5861 | fi |
|
|
5862 | |
|
|
5863 | fi |
|
|
5864 | |
|
|
5865 | |
|
|
5866 | |
|
|
5867 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
|
|
5868 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
|
|
5869 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
|
|
5870 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5871 | else |
|
|
5872 | ac_check_lib_save_LIBS=$LIBS |
|
|
5873 | LIBS="-lm $LIBS" |
|
|
5874 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5875 | /* confdefs.h. */ |
|
|
5876 | _ACEOF |
|
|
5877 | cat confdefs.h >>conftest.$ac_ext |
|
|
5878 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5879 | /* end confdefs.h. */ |
|
|
5880 | |
|
|
5881 | /* Override any GCC internal prototype to avoid an error. |
|
|
5882 | Use char because int might match the return type of a GCC |
|
|
5883 | builtin and then its argument prototype would still apply. */ |
|
|
5884 | #ifdef __cplusplus |
|
|
5885 | extern "C" |
|
|
5886 | #endif |
|
|
5887 | char ceil (); |
|
|
5888 | int |
|
|
5889 | main () |
|
|
5890 | { |
|
|
5891 | return ceil (); |
|
|
5892 | ; |
|
|
5893 | return 0; |
|
|
5894 | } |
|
|
5895 | _ACEOF |
|
|
5896 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5897 | if { (ac_try="$ac_link" |
|
|
5898 | case "(($ac_try" in |
|
|
5899 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5900 | *) ac_try_echo=$ac_try;; |
|
|
5901 | esac |
|
|
5902 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5903 | (eval "$ac_link") 2>conftest.er1 |
|
|
5904 | ac_status=$? |
|
|
5905 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5906 | rm -f conftest.er1 |
|
|
5907 | cat conftest.err >&5 |
|
|
5908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5909 | (exit $ac_status); } && { |
|
|
5910 | test -z "$ac_cxx_werror_flag" || |
|
|
5911 | test ! -s conftest.err |
|
|
5912 | } && test -s conftest$ac_exeext && |
|
|
5913 | $as_test_x conftest$ac_exeext; then |
|
|
5914 | ac_cv_lib_m_ceil=yes |
|
|
5915 | else |
|
|
5916 | echo "$as_me: failed program was:" >&5 |
|
|
5917 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5918 | |
|
|
5919 | ac_cv_lib_m_ceil=no |
|
|
5920 | fi |
|
|
5921 | |
|
|
5922 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5923 | conftest$ac_exeext conftest.$ac_ext |
|
|
5924 | LIBS=$ac_check_lib_save_LIBS |
|
|
5925 | fi |
|
|
5926 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
|
|
5927 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
|
|
5928 | if test $ac_cv_lib_m_ceil = yes; then |
|
|
5929 | cat >>confdefs.h <<_ACEOF |
|
|
5930 | #define HAVE_LIBM 1 |
|
|
5931 | _ACEOF |
|
|
5932 | |
|
|
5933 | LIBS="-lm $LIBS" |
|
|
5934 | |
|
|
5935 | fi |
|
|
5936 | |
|
|
5937 | |
|
|
5938 | |
|
|
5939 | |
4872 | |
5940 | |
4873 | |
5941 | |
4874 | |
5942 | |
4875 | # Extract the first word of "tic", so it can be a program name with args. |
5943 | # Extract the first word of "tic", so it can be a program name with args. |
4876 | set dummy tic; ac_word=$2 |
5944 | set dummy tic; ac_word=$2 |
… | |
… | |
4897 | fi |
5965 | fi |
4898 | done |
5966 | done |
4899 | done |
5967 | done |
4900 | IFS=$as_save_IFS |
5968 | IFS=$as_save_IFS |
4901 | |
5969 | |
|
|
5970 | test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":" |
4902 | ;; |
5971 | ;; |
4903 | esac |
5972 | esac |
4904 | fi |
5973 | fi |
4905 | TIC=$ac_cv_path_TIC |
5974 | TIC=$ac_cv_path_TIC |
4906 | if test -n "$TIC"; then |
5975 | if test -n "$TIC"; then |
… | |
… | |
4911 | echo "${ECHO_T}no" >&6; } |
5980 | echo "${ECHO_T}no" >&6; } |
4912 | fi |
5981 | fi |
4913 | |
5982 | |
4914 | |
5983 | |
4915 | |
5984 | |
4916 | |
|
|
4917 | |
|
|
4918 | ac_ext=cpp |
|
|
4919 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4920 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4921 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4922 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4923 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4924 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4925 | if test -z "$CXXCPP"; then |
|
|
4926 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4928 | else |
|
|
4929 | # Double quotes because CXXCPP needs to be expanded |
|
|
4930 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4931 | do |
|
|
4932 | ac_preproc_ok=false |
|
|
4933 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4934 | do |
|
|
4935 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4936 | # with a fresh cross-compiler works. |
|
|
4937 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4938 | # <limits.h> exists even on freestanding compilers. |
|
|
4939 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4940 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4941 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4942 | /* confdefs.h. */ |
|
|
4943 | _ACEOF |
|
|
4944 | cat confdefs.h >>conftest.$ac_ext |
|
|
4945 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4946 | /* end confdefs.h. */ |
|
|
4947 | #ifdef __STDC__ |
|
|
4948 | # include <limits.h> |
|
|
4949 | #else |
|
|
4950 | # include <assert.h> |
|
|
4951 | #endif |
|
|
4952 | Syntax error |
|
|
4953 | _ACEOF |
|
|
4954 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4955 | case "(($ac_try" in |
|
|
4956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4957 | *) ac_try_echo=$ac_try;; |
|
|
4958 | esac |
|
|
4959 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4960 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4961 | ac_status=$? |
|
|
4962 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4963 | rm -f conftest.er1 |
|
|
4964 | cat conftest.err >&5 |
|
|
4965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4966 | (exit $ac_status); } >/dev/null && { |
|
|
4967 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4968 | test ! -s conftest.err |
|
|
4969 | }; then |
|
|
4970 | : |
|
|
4971 | else |
|
|
4972 | echo "$as_me: failed program was:" >&5 |
|
|
4973 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4974 | |
|
|
4975 | # Broken: fails on valid input. |
|
|
4976 | continue |
|
|
4977 | fi |
|
|
4978 | |
|
|
4979 | rm -f conftest.err conftest.$ac_ext |
|
|
4980 | |
|
|
4981 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4982 | # can be detected and how. |
|
|
4983 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4984 | /* confdefs.h. */ |
|
|
4985 | _ACEOF |
|
|
4986 | cat confdefs.h >>conftest.$ac_ext |
|
|
4987 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4988 | /* end confdefs.h. */ |
|
|
4989 | #include <ac_nonexistent.h> |
|
|
4990 | _ACEOF |
|
|
4991 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4992 | case "(($ac_try" in |
|
|
4993 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4994 | *) ac_try_echo=$ac_try;; |
|
|
4995 | esac |
|
|
4996 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4997 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4998 | ac_status=$? |
|
|
4999 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5000 | rm -f conftest.er1 |
|
|
5001 | cat conftest.err >&5 |
|
|
5002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5003 | (exit $ac_status); } >/dev/null && { |
|
|
5004 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5005 | test ! -s conftest.err |
|
|
5006 | }; then |
|
|
5007 | # Broken: success on invalid input. |
|
|
5008 | continue |
|
|
5009 | else |
|
|
5010 | echo "$as_me: failed program was:" >&5 |
|
|
5011 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5012 | |
|
|
5013 | # Passes both tests. |
|
|
5014 | ac_preproc_ok=: |
|
|
5015 | break |
|
|
5016 | fi |
|
|
5017 | |
|
|
5018 | rm -f conftest.err conftest.$ac_ext |
|
|
5019 | |
|
|
5020 | done |
|
|
5021 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5022 | rm -f conftest.err conftest.$ac_ext |
|
|
5023 | if $ac_preproc_ok; then |
|
|
5024 | break |
|
|
5025 | fi |
|
|
5026 | |
|
|
5027 | done |
|
|
5028 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5029 | |
|
|
5030 | fi |
|
|
5031 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5032 | else |
|
|
5033 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5034 | fi |
|
|
5035 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5036 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5037 | ac_preproc_ok=false |
|
|
5038 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5039 | do |
|
|
5040 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5041 | # with a fresh cross-compiler works. |
|
|
5042 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5043 | # <limits.h> exists even on freestanding compilers. |
|
|
5044 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5045 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5046 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5047 | /* confdefs.h. */ |
|
|
5048 | _ACEOF |
|
|
5049 | cat confdefs.h >>conftest.$ac_ext |
|
|
5050 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5051 | /* end confdefs.h. */ |
|
|
5052 | #ifdef __STDC__ |
|
|
5053 | # include <limits.h> |
|
|
5054 | #else |
|
|
5055 | # include <assert.h> |
|
|
5056 | #endif |
|
|
5057 | Syntax error |
|
|
5058 | _ACEOF |
|
|
5059 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5060 | case "(($ac_try" in |
|
|
5061 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5062 | *) ac_try_echo=$ac_try;; |
|
|
5063 | esac |
|
|
5064 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5065 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5066 | ac_status=$? |
|
|
5067 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5068 | rm -f conftest.er1 |
|
|
5069 | cat conftest.err >&5 |
|
|
5070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5071 | (exit $ac_status); } >/dev/null && { |
|
|
5072 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5073 | test ! -s conftest.err |
|
|
5074 | }; then |
|
|
5075 | : |
|
|
5076 | else |
|
|
5077 | echo "$as_me: failed program was:" >&5 |
|
|
5078 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5079 | |
|
|
5080 | # Broken: fails on valid input. |
|
|
5081 | continue |
|
|
5082 | fi |
|
|
5083 | |
|
|
5084 | rm -f conftest.err conftest.$ac_ext |
|
|
5085 | |
|
|
5086 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5087 | # can be detected and how. |
|
|
5088 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5089 | /* confdefs.h. */ |
|
|
5090 | _ACEOF |
|
|
5091 | cat confdefs.h >>conftest.$ac_ext |
|
|
5092 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5093 | /* end confdefs.h. */ |
|
|
5094 | #include <ac_nonexistent.h> |
|
|
5095 | _ACEOF |
|
|
5096 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5097 | case "(($ac_try" in |
|
|
5098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5099 | *) ac_try_echo=$ac_try;; |
|
|
5100 | esac |
|
|
5101 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5102 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5103 | ac_status=$? |
|
|
5104 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5105 | rm -f conftest.er1 |
|
|
5106 | cat conftest.err >&5 |
|
|
5107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5108 | (exit $ac_status); } >/dev/null && { |
|
|
5109 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5110 | test ! -s conftest.err |
|
|
5111 | }; then |
|
|
5112 | # Broken: success on invalid input. |
|
|
5113 | continue |
|
|
5114 | else |
|
|
5115 | echo "$as_me: failed program was:" >&5 |
|
|
5116 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5117 | |
|
|
5118 | # Passes both tests. |
|
|
5119 | ac_preproc_ok=: |
|
|
5120 | break |
|
|
5121 | fi |
|
|
5122 | |
|
|
5123 | rm -f conftest.err conftest.$ac_ext |
|
|
5124 | |
|
|
5125 | done |
|
|
5126 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5127 | rm -f conftest.err conftest.$ac_ext |
|
|
5128 | if $ac_preproc_ok; then |
|
|
5129 | : |
|
|
5130 | else |
|
|
5131 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5132 | See \`config.log' for more details." >&5 |
|
|
5133 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5134 | See \`config.log' for more details." >&2;} |
|
|
5135 | { (exit 1); exit 1; }; } |
|
|
5136 | fi |
|
|
5137 | |
|
|
5138 | ac_ext=cpp |
|
|
5139 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5140 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5141 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5142 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5143 | |
5985 | |
5144 | |
5986 | |
5145 | { echo "$as_me:$LINENO: checking for X" >&5 |
5987 | { echo "$as_me:$LINENO: checking for X" >&5 |
5146 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5988 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5147 | |
5989 | |
… | |
… | |
6455 | LDFLAGS=$ac_save_LDFLAGS |
7297 | LDFLAGS=$ac_save_LDFLAGS |
6456 | |
7298 | |
6457 | fi |
7299 | fi |
6458 | |
7300 | |
6459 | |
7301 | |
6460 | |
|
|
6461 | AFTERIMAGE_CFLAGS= |
7302 | AFTERIMAGE_CFLAGS= |
6462 | AFTERIMAGE_LIBS= |
7303 | AFTERIMAGE_LIBS= |
6463 | AFTERIMAGE_VERSION= |
7304 | AFTERIMAGE_VERSION= |
6464 | |
7305 | |
6465 | if test x$support_afterimage = xyes; then |
7306 | if test x$support_afterimage = xyes; then |
… | |
… | |
6506 | echo "${ECHO_T}no" >&6; } |
7347 | echo "${ECHO_T}no" >&6; } |
6507 | fi |
7348 | fi |
6508 | |
7349 | |
6509 | |
7350 | |
6510 | fi |
7351 | fi |
|
|
7352 | if test "x$afterimage_config" != "xno" ; then |
6511 | { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5 |
7353 | { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5 |
6512 | echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; } |
7354 | echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; } |
6513 | AFTERIMAGE_VERSION=`$afterimage_config --version` |
7355 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
6514 | if test -n $AFTERIMAGE_VERSION ; then |
7356 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6515 | AFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
7357 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6516 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
7358 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6517 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
7359 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
6518 | libai_ver_major=`echo $AFTERIMAGE_VERSION | cut -f 1 -d .` |
7360 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
6519 | libai_ver_minor=`echo $AFTERIMAGE_VERSION | cut -f 2 -d .` |
7361 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
6520 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
7362 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
6521 | support_afterimage=yes |
7363 | support_afterimage=yes |
6522 | fi |
7364 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
6523 | fi |
7365 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
6524 | fi |
7366 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
6525 | |
|
|
6526 | if test "x$support_afterimage" = "xyes"; then |
|
|
6527 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6528 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
6529 | else |
|
|
6530 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
6531 | echo "${ECHO_T}no" >&6; } |
|
|
6532 | fi |
|
|
6533 | fi |
|
|
6534 | |
|
|
6535 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
|
|
6536 | |
|
|
6537 | |
|
|
6538 | |
|
|
6539 | # Initialize some more variables set by options. |
|
|
6540 | # The variables have the same names as the options, with |
|
|
6541 | # dashes changed to underlines. |
|
|
6542 | |
|
|
6543 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
|
|
6544 | # paths, otherwise set no_xpm=yes. |
|
|
6545 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
6546 | { echo "$as_me:$LINENO: checking for libXpm" >&5 |
|
|
6547 | echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; } |
|
|
6548 | |
|
|
6549 | |
|
|
6550 | # Check whether --with-xpm_includes was given. |
|
|
6551 | if test "${with_xpm_includes+set}" = set; then |
|
|
6552 | withval=$with_xpm_includes; xpm_includes="$withval" |
|
|
6553 | else |
|
|
6554 | xpm_includes=NO |
|
|
6555 | fi |
|
|
6556 | |
|
|
6557 | |
|
|
6558 | # Check whether --with-xpm_library was given. |
|
|
6559 | if test "${with_xpm_library+set}" = set; then |
|
|
6560 | withval=$with_xpm_library; xpm_libraries="$withval" |
|
|
6561 | else |
|
|
6562 | xpm_libraries=NO |
|
|
6563 | fi |
|
|
6564 | |
|
|
6565 | |
|
|
6566 | # --without-xpm overrides everything else, but does not touch the cache. |
|
|
6567 | |
|
|
6568 | # Check whether --with-xpm was given. |
|
|
6569 | if test "${with_xpm+set}" = set; then |
|
|
6570 | withval=$with_xpm; |
|
|
6571 | fi |
|
|
6572 | |
|
|
6573 | if test "$with_xpm" = no; then |
|
|
6574 | have_xpm=disabled |
|
|
6575 | else |
|
|
6576 | if test "${ac_cv_have_xpm+set}" = set; then |
|
|
6577 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6578 | else |
|
|
6579 | |
|
|
6580 | vt_xpm_include_X11=no |
|
|
6581 | if test -n "$xpm_includes"; then |
|
|
6582 | vt_xpm_includes=$xpm_includes |
|
|
6583 | else |
|
|
6584 | vt_xpm_includes=NO |
|
|
6585 | fi |
|
|
6586 | if test -n "$xpm_libraries"; then |
|
|
6587 | vt_xpm_libraries=$xpm_libraries |
|
|
6588 | else |
|
|
6589 | vt_xpm_libraries=NO |
|
|
6590 | fi |
|
|
6591 | |
|
|
6592 | if test "$vt_xpm_includes" = NO; then |
|
|
6593 | # Guess where to find xpm.h |
|
|
6594 | |
|
|
6595 | ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
6596 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
|
|
6597 | |
|
|
6598 | # First, try using that file with no special directory specified. |
|
|
6599 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6600 | /* confdefs.h. */ |
|
|
6601 | _ACEOF |
|
|
6602 | cat confdefs.h >>conftest.$ac_ext |
|
|
6603 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6604 | /* end confdefs.h. */ |
|
|
6605 | #include <X11/xpm.h> |
|
|
6606 | _ACEOF |
|
|
6607 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6608 | case "(($ac_try" in |
|
|
6609 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6610 | *) ac_try_echo=$ac_try;; |
|
|
6611 | esac |
|
|
6612 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6613 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6614 | ac_status=$? |
|
|
6615 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6616 | rm -f conftest.er1 |
|
|
6617 | cat conftest.err >&5 |
|
|
6618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6619 | (exit $ac_status); } >/dev/null && { |
|
|
6620 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6621 | test ! -s conftest.err |
|
|
6622 | }; then |
|
|
6623 | # We can compile using X headers with no special include directory. |
|
|
6624 | vt_xpm_includes= |
|
|
6625 | vt_xpm_include_X11=yes |
|
|
6626 | else |
|
|
6627 | echo "$as_me: failed program was:" >&5 |
|
|
6628 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6629 | |
|
|
6630 | CPPFLAGS="$ac_save_CPPFLAGS" |
|
|
6631 | # Look for the header file in a standard set of common directories. |
|
|
6632 | for ac_dir in \ |
|
|
6633 | /usr/X11/include \ |
|
|
6634 | /usr/X11R6/include \ |
|
|
6635 | /usr/X11R5/include \ |
|
|
6636 | /usr/X11R4/include \ |
|
|
6637 | \ |
|
|
6638 | /usr/include/X11 \ |
|
|
6639 | /usr/include/X11R6 \ |
|
|
6640 | /usr/include/X11R5 \ |
|
|
6641 | /usr/include/X11R4 \ |
|
|
6642 | \ |
|
|
6643 | /usr/local/X11/include \ |
|
|
6644 | /usr/local/X11R6/include \ |
|
|
6645 | /usr/local/X11R5/include \ |
|
|
6646 | /usr/local/X11R4/include \ |
|
|
6647 | \ |
|
|
6648 | /usr/local/include/X11 \ |
|
|
6649 | /usr/local/include/X11R6 \ |
|
|
6650 | /usr/local/include/X11R5 \ |
|
|
6651 | /usr/local/include/X11R4 \ |
|
|
6652 | \ |
|
|
6653 | /usr/X386/include \ |
|
|
6654 | /usr/x386/include \ |
|
|
6655 | /usr/XFree86/include/X11 \ |
|
|
6656 | \ |
|
|
6657 | /usr/include \ |
|
|
6658 | /usr/local/include \ |
|
|
6659 | /usr/unsupported/include \ |
|
|
6660 | /usr/athena/include \ |
|
|
6661 | /usr/local/x11r5/include \ |
|
|
6662 | /usr/lpp/Xamples/include \ |
|
|
6663 | \ |
|
|
6664 | /usr/openwin/include \ |
|
|
6665 | /usr/openwin/share/include \ |
|
|
6666 | ; \ |
|
|
6667 | do |
|
|
6668 | if test -r "$ac_dir/X11/xpm.h"; then |
|
|
6669 | vt_xpm_includes="$ac_dir" |
|
|
6670 | vt_xpm_include_X11=yes |
|
|
6671 | break |
|
|
6672 | else |
|
|
6673 | if test -r "$ac_dir/xpm.h"; then |
|
|
6674 | vt_xpm_includes=$ac_dir |
|
|
6675 | break |
|
|
6676 | fi |
|
|
6677 | fi |
|
|
6678 | done |
|
|
6679 | fi |
|
|
6680 | |
|
|
6681 | rm -f conftest.err conftest.$ac_ext |
|
|
6682 | fi |
|
|
6683 | |
|
|
6684 | if test "$vt_xpm_libraries" = NO; then |
|
|
6685 | # Check for the libraries. |
|
|
6686 | |
|
|
6687 | # See if we find them without any special options. |
|
|
6688 | # Don't add to $LIBS permanently. |
|
|
6689 | ac_save_LIBS="$LIBS" |
|
|
6690 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
|
|
6691 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6692 | /* confdefs.h. */ |
|
|
6693 | _ACEOF |
|
|
6694 | cat confdefs.h >>conftest.$ac_ext |
|
|
6695 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6696 | /* end confdefs.h. */ |
|
|
6697 | |
|
|
6698 | int |
|
|
6699 | main () |
|
|
6700 | { |
|
|
6701 | XpmReadFileToPixmap() |
|
|
6702 | ; |
|
|
6703 | return 0; |
|
|
6704 | } |
|
|
6705 | _ACEOF |
|
|
6706 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6707 | if { (ac_try="$ac_link" |
|
|
6708 | case "(($ac_try" in |
|
|
6709 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6710 | *) ac_try_echo=$ac_try;; |
|
|
6711 | esac |
|
|
6712 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6713 | (eval "$ac_link") 2>conftest.er1 |
|
|
6714 | ac_status=$? |
|
|
6715 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6716 | rm -f conftest.er1 |
|
|
6717 | cat conftest.err >&5 |
|
|
6718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6719 | (exit $ac_status); } && { |
|
|
6720 | test -z "$ac_cxx_werror_flag" || |
|
|
6721 | test ! -s conftest.err |
|
|
6722 | } && test -s conftest$ac_exeext && |
|
|
6723 | $as_test_x conftest$ac_exeext; then |
|
|
6724 | LIBS="$ac_save_LIBS" |
|
|
6725 | # We can link libXpm with no special library path. |
|
|
6726 | vt_xpm_libraries= |
|
|
6727 | else |
|
|
6728 | echo "$as_me: failed program was:" >&5 |
|
|
6729 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6730 | |
|
|
6731 | LIBS="$ac_save_LIBS" |
|
|
6732 | # First see if replacing the include by lib works. |
|
|
6733 | for ac_dir in \ |
|
|
6734 | `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ |
|
|
6735 | /usr/X11/lib \ |
|
|
6736 | /usr/X11R6/lib \ |
|
|
6737 | /usr/X11R5/lib \ |
|
|
6738 | /usr/X11R4/lib \ |
|
|
6739 | \ |
|
|
6740 | /usr/lib/X11 \ |
|
|
6741 | /usr/lib/X11R6 \ |
|
|
6742 | /usr/lib/X11R5 \ |
|
|
6743 | /usr/lib/X11R4 \ |
|
|
6744 | \ |
|
|
6745 | /usr/local/X11/lib \ |
|
|
6746 | /usr/local/X11R6/lib \ |
|
|
6747 | /usr/local/X11R5/lib \ |
|
|
6748 | /usr/local/X11R4/lib \ |
|
|
6749 | \ |
|
|
6750 | /usr/local/lib/X11 \ |
|
|
6751 | /usr/local/lib/X11R6 \ |
|
|
6752 | /usr/local/lib/X11R5 \ |
|
|
6753 | /usr/local/lib/X11R4 \ |
|
|
6754 | \ |
|
|
6755 | /usr/X386/lib \ |
|
|
6756 | /usr/x386/lib \ |
|
|
6757 | /usr/XFree86/lib/X11 \ |
|
|
6758 | \ |
|
|
6759 | /usr/lib \ |
|
|
6760 | /usr/local/lib \ |
|
|
6761 | /usr/unsupported/lib \ |
|
|
6762 | /usr/athena/lib \ |
|
|
6763 | /usr/local/x11r5/lib \ |
|
|
6764 | /usr/lpp/Xamples/lib \ |
|
|
6765 | \ |
|
|
6766 | /usr/openwin/lib \ |
|
|
6767 | /usr/openwin/share/lib \ |
|
|
6768 | ; \ |
|
|
6769 | do |
|
|
6770 | for ac_extension in a so sl; do |
|
|
6771 | if test -r $ac_dir/libXpm.$ac_extension; then |
|
|
6772 | vt_xpm_libraries=$ac_dir |
|
|
6773 | break 2 |
|
|
6774 | fi |
|
|
6775 | done |
|
|
6776 | done |
|
|
6777 | fi |
|
|
6778 | |
|
|
6779 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6780 | conftest$ac_exeext conftest.$ac_ext |
|
|
6781 | fi |
|
|
6782 | |
|
|
6783 | |
|
|
6784 | if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then |
|
|
6785 | ac_cv_have_xpm="have_xpm=no" |
|
|
6786 | else |
|
|
6787 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6788 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6789 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6790 | fi |
|
|
6791 | fi |
|
|
6792 | eval "$ac_cv_have_xpm" |
|
|
6793 | fi |
|
|
6794 | |
|
|
6795 | if test "$have_xpm" != yes; then |
|
|
6796 | { echo "$as_me:$LINENO: result: $have_xpm" >&5 |
|
|
6797 | echo "${ECHO_T}$have_xpm" >&6; } |
|
|
6798 | no_xpm=yes |
|
|
6799 | else |
|
|
6800 | if test "$xpm_includes" != NO; then |
|
|
6801 | if test "$xpm_includes" = "$vt_xpm_includes"; then |
|
|
6802 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6803 | vt_xpm_include_X11=yes |
|
|
6804 | fi |
|
|
6805 | else |
|
|
6806 | vt_xpm_include_X11=no |
|
|
6807 | if test -z "$xpm_includes"; then |
|
|
6808 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6809 | /* confdefs.h. */ |
|
|
6810 | _ACEOF |
|
|
6811 | cat confdefs.h >>conftest.$ac_ext |
|
|
6812 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6813 | /* end confdefs.h. */ |
|
|
6814 | #include <X11/xpm.h> |
|
|
6815 | _ACEOF |
|
|
6816 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6817 | case "(($ac_try" in |
|
|
6818 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6819 | *) ac_try_echo=$ac_try;; |
|
|
6820 | esac |
|
|
6821 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6822 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6823 | ac_status=$? |
|
|
6824 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6825 | rm -f conftest.er1 |
|
|
6826 | cat conftest.err >&5 |
|
|
6827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6828 | (exit $ac_status); } >/dev/null && { |
|
|
6829 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6830 | test ! -s conftest.err |
|
|
6831 | }; then |
|
|
6832 | vt_xpm_include_X11=yes |
|
|
6833 | else |
|
|
6834 | echo "$as_me: failed program was:" >&5 |
|
|
6835 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6836 | |
|
|
6837 | |
|
|
6838 | fi |
|
|
6839 | |
|
|
6840 | rm -f conftest.err conftest.$ac_ext |
|
|
6841 | else |
|
|
6842 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6843 | vt_xpm_include_X11=yes |
|
|
6844 | fi |
7367 | fi |
6845 | fi |
7368 | fi |
6846 | fi |
7369 | fi |
6847 | vt_xpm_includes=$xpm_includes |
7370 | if test "x$support_afterimage" = "xyes"; then |
|
|
7371 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
7372 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
7373 | else |
|
|
7374 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
7375 | echo "${ECHO_T}no" >&6; } |
6848 | fi |
7376 | fi |
6849 | if test "x$xpm_libraries" != xNO; then |
|
|
6850 | vt_xpm_libraries=$xpm_libraries |
|
|
6851 | fi |
|
|
6852 | # Update the cache value to reflect the command line values. |
|
|
6853 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6854 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6855 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6856 | eval "$ac_cv_have_xpm" |
|
|
6857 | { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5 |
|
|
6858 | echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; } |
|
|
6859 | if test -n "$vt_xpm_includes"; then |
|
|
6860 | XPM_CPPFLAGS="-DHAVE_LIBXPM" |
|
|
6861 | fi |
|
|
6862 | if test -n "$vt_xpm_includes"; then |
|
|
6863 | XPM_CFLAGS="-I$vt_xpm_includes" |
|
|
6864 | fi |
|
|
6865 | XPM_LIBS="-lXpm" |
|
|
6866 | if test -n "$vt_xpm_libraries"; then |
|
|
6867 | XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS" |
|
|
6868 | fi |
|
|
6869 | if test "x$vt_xpm_include_X11" = xyes; then |
|
|
6870 | |
|
|
6871 | cat >>confdefs.h <<\_ACEOF |
|
|
6872 | #define XPM_INC_X11 1 |
|
|
6873 | _ACEOF |
|
|
6874 | |
|
|
6875 | fi |
|
|
6876 | fi |
|
|
6877 | |
|
|
6878 | |
|
|
6879 | |
|
|
6880 | |
|
|
6881 | |
|
|
6882 | if test x$no_xpm = xyes; then |
|
|
6883 | support_xpm=needsmanualspecification |
|
|
6884 | fi |
7377 | fi |
6885 | fi |
7378 | fi |
6886 | |
7379 | |
6887 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7380 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6888 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
7381 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
… | |
… | |
6948 | cat >>confdefs.h <<\_ACEOF |
7441 | cat >>confdefs.h <<\_ACEOF |
6949 | #define HAVE_SYS_WAIT_H 1 |
7442 | #define HAVE_SYS_WAIT_H 1 |
6950 | _ACEOF |
7443 | _ACEOF |
6951 | |
7444 | |
6952 | fi |
7445 | fi |
6953 | |
|
|
6954 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
6955 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
6956 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
6957 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6958 | else |
|
|
6959 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6960 | /* confdefs.h. */ |
|
|
6961 | _ACEOF |
|
|
6962 | cat confdefs.h >>conftest.$ac_ext |
|
|
6963 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6964 | /* end confdefs.h. */ |
|
|
6965 | #include <stdlib.h> |
|
|
6966 | #include <stdarg.h> |
|
|
6967 | #include <string.h> |
|
|
6968 | #include <float.h> |
|
|
6969 | |
|
|
6970 | int |
|
|
6971 | main () |
|
|
6972 | { |
|
|
6973 | |
|
|
6974 | ; |
|
|
6975 | return 0; |
|
|
6976 | } |
|
|
6977 | _ACEOF |
|
|
6978 | rm -f conftest.$ac_objext |
|
|
6979 | if { (ac_try="$ac_compile" |
|
|
6980 | case "(($ac_try" in |
|
|
6981 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6982 | *) ac_try_echo=$ac_try;; |
|
|
6983 | esac |
|
|
6984 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6985 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6986 | ac_status=$? |
|
|
6987 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6988 | rm -f conftest.er1 |
|
|
6989 | cat conftest.err >&5 |
|
|
6990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6991 | (exit $ac_status); } && { |
|
|
6992 | test -z "$ac_cxx_werror_flag" || |
|
|
6993 | test ! -s conftest.err |
|
|
6994 | } && test -s conftest.$ac_objext; then |
|
|
6995 | ac_cv_header_stdc=yes |
|
|
6996 | else |
|
|
6997 | echo "$as_me: failed program was:" >&5 |
|
|
6998 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6999 | |
|
|
7000 | ac_cv_header_stdc=no |
|
|
7001 | fi |
|
|
7002 | |
|
|
7003 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7004 | |
|
|
7005 | if test $ac_cv_header_stdc = yes; then |
|
|
7006 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7007 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7008 | /* confdefs.h. */ |
|
|
7009 | _ACEOF |
|
|
7010 | cat confdefs.h >>conftest.$ac_ext |
|
|
7011 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7012 | /* end confdefs.h. */ |
|
|
7013 | #include <string.h> |
|
|
7014 | |
|
|
7015 | _ACEOF |
|
|
7016 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7017 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
7018 | : |
|
|
7019 | else |
|
|
7020 | ac_cv_header_stdc=no |
|
|
7021 | fi |
|
|
7022 | rm -f conftest* |
|
|
7023 | |
|
|
7024 | fi |
|
|
7025 | |
|
|
7026 | if test $ac_cv_header_stdc = yes; then |
|
|
7027 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7028 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7029 | /* confdefs.h. */ |
|
|
7030 | _ACEOF |
|
|
7031 | cat confdefs.h >>conftest.$ac_ext |
|
|
7032 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7033 | /* end confdefs.h. */ |
|
|
7034 | #include <stdlib.h> |
|
|
7035 | |
|
|
7036 | _ACEOF |
|
|
7037 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7038 | $EGREP "free" >/dev/null 2>&1; then |
|
|
7039 | : |
|
|
7040 | else |
|
|
7041 | ac_cv_header_stdc=no |
|
|
7042 | fi |
|
|
7043 | rm -f conftest* |
|
|
7044 | |
|
|
7045 | fi |
|
|
7046 | |
|
|
7047 | if test $ac_cv_header_stdc = yes; then |
|
|
7048 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7049 | if test "$cross_compiling" = yes; then |
|
|
7050 | : |
|
|
7051 | else |
|
|
7052 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7053 | /* confdefs.h. */ |
|
|
7054 | _ACEOF |
|
|
7055 | cat confdefs.h >>conftest.$ac_ext |
|
|
7056 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7057 | /* end confdefs.h. */ |
|
|
7058 | #include <ctype.h> |
|
|
7059 | #include <stdlib.h> |
|
|
7060 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7061 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7062 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7063 | #else |
|
|
7064 | # define ISLOWER(c) \ |
|
|
7065 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7066 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7067 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7068 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7069 | #endif |
|
|
7070 | |
|
|
7071 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7072 | int |
|
|
7073 | main () |
|
|
7074 | { |
|
|
7075 | int i; |
|
|
7076 | for (i = 0; i < 256; i++) |
|
|
7077 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7078 | || toupper (i) != TOUPPER (i)) |
|
|
7079 | return 2; |
|
|
7080 | return 0; |
|
|
7081 | } |
|
|
7082 | _ACEOF |
|
|
7083 | rm -f conftest$ac_exeext |
|
|
7084 | if { (ac_try="$ac_link" |
|
|
7085 | case "(($ac_try" in |
|
|
7086 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7087 | *) ac_try_echo=$ac_try;; |
|
|
7088 | esac |
|
|
7089 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7090 | (eval "$ac_link") 2>&5 |
|
|
7091 | ac_status=$? |
|
|
7092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7093 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7094 | { (case "(($ac_try" in |
|
|
7095 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7096 | *) ac_try_echo=$ac_try;; |
|
|
7097 | esac |
|
|
7098 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7099 | (eval "$ac_try") 2>&5 |
|
|
7100 | ac_status=$? |
|
|
7101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7102 | (exit $ac_status); }; }; then |
|
|
7103 | : |
|
|
7104 | else |
|
|
7105 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7106 | echo "$as_me: failed program was:" >&5 |
|
|
7107 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7108 | |
|
|
7109 | ( exit $ac_status ) |
|
|
7110 | ac_cv_header_stdc=no |
|
|
7111 | fi |
|
|
7112 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7113 | fi |
|
|
7114 | |
|
|
7115 | |
|
|
7116 | fi |
|
|
7117 | fi |
|
|
7118 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
7119 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
7120 | if test $ac_cv_header_stdc = yes; then |
|
|
7121 | |
|
|
7122 | cat >>confdefs.h <<\_ACEOF |
|
|
7123 | #define STDC_HEADERS 1 |
|
|
7124 | _ACEOF |
|
|
7125 | |
|
|
7126 | fi |
|
|
7127 | |
|
|
7128 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
7129 | |
|
|
7130 | |
|
|
7131 | |
|
|
7132 | |
|
|
7133 | |
|
|
7134 | |
|
|
7135 | |
|
|
7136 | |
|
|
7137 | |
|
|
7138 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
7139 | inttypes.h stdint.h unistd.h |
|
|
7140 | do |
|
|
7141 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7142 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
7143 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
7144 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
7145 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7146 | else |
|
|
7147 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7148 | /* confdefs.h. */ |
|
|
7149 | _ACEOF |
|
|
7150 | cat confdefs.h >>conftest.$ac_ext |
|
|
7151 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7152 | /* end confdefs.h. */ |
|
|
7153 | $ac_includes_default |
|
|
7154 | |
|
|
7155 | #include <$ac_header> |
|
|
7156 | _ACEOF |
|
|
7157 | rm -f conftest.$ac_objext |
|
|
7158 | if { (ac_try="$ac_compile" |
|
|
7159 | case "(($ac_try" in |
|
|
7160 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7161 | *) ac_try_echo=$ac_try;; |
|
|
7162 | esac |
|
|
7163 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7164 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7165 | ac_status=$? |
|
|
7166 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7167 | rm -f conftest.er1 |
|
|
7168 | cat conftest.err >&5 |
|
|
7169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7170 | (exit $ac_status); } && { |
|
|
7171 | test -z "$ac_cxx_werror_flag" || |
|
|
7172 | test ! -s conftest.err |
|
|
7173 | } && test -s conftest.$ac_objext; then |
|
|
7174 | eval "$as_ac_Header=yes" |
|
|
7175 | else |
|
|
7176 | echo "$as_me: failed program was:" >&5 |
|
|
7177 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7178 | |
|
|
7179 | eval "$as_ac_Header=no" |
|
|
7180 | fi |
|
|
7181 | |
|
|
7182 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7183 | fi |
|
|
7184 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
7185 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
7186 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
7187 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
7188 | cat >>confdefs.h <<_ACEOF |
|
|
7189 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7190 | _ACEOF |
|
|
7191 | |
|
|
7192 | fi |
|
|
7193 | |
|
|
7194 | done |
|
|
7195 | |
|
|
7196 | |
7446 | |
7197 | |
7447 | |
7198 | |
7448 | |
7199 | |
7449 | |
7200 | |
7450 | |
… | |
… | |
9963 | _ACEOF |
10213 | _ACEOF |
9964 | |
10214 | |
9965 | |
10215 | |
9966 | |
10216 | |
9967 | |
10217 | |
9968 | |
|
|
9969 | |
|
|
9970 | for ac_func in \ |
10218 | for ac_func in unsetenv |
9971 | unsetenv \ |
|
|
9972 | setutent \ |
|
|
9973 | on_exit \ |
|
|
9974 | |
|
|
9975 | do |
10219 | do |
9976 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10220 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9977 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10221 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9978 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10222 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9979 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10223 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
10118 | |
10362 | |
10119 | |
10363 | |
10120 | |
10364 | |
10121 | |
10365 | |
10122 | for ac_func in \ |
10366 | for ac_func in \ |
10123 | ttyslot \ |
|
|
10124 | updwtmp \ |
10367 | updwtmp \ |
10125 | updwtmpx \ |
10368 | updwtmpx \ |
|
|
10369 | updlastlogx \ |
10126 | |
10370 | |
10127 | do |
10371 | do |
10128 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10372 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10129 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10373 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10130 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10374 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
11551 | |
11795 | |
11552 | cat >>confdefs.h <<_ACEOF |
11796 | cat >>confdefs.h <<_ACEOF |
11553 | #define LASTLOG_FILE "$path_lastlog" |
11797 | #define LASTLOG_FILE "$path_lastlog" |
11554 | _ACEOF |
11798 | _ACEOF |
11555 | |
11799 | |
11556 | if test -d "$path_lastlog"; then |
|
|
11557 | |
|
|
11558 | cat >>confdefs.h <<\_ACEOF |
|
|
11559 | #define LASTLOG_IS_DIR 1 |
|
|
11560 | _ACEOF |
|
|
11561 | |
|
|
11562 | fi |
|
|
11563 | fi |
11800 | fi |
11564 | |
11801 | |
11565 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11802 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11566 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11803 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11567 | if test "${path_lastlogx+set}" = set; then |
11804 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
11649 | |
11886 | |
11650 | fi |
11887 | fi |
11651 | |
11888 | |
11652 | |
11889 | |
11653 | |
11890 | |
11654 | { echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
|
|
11655 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; } |
|
|
11656 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
|
|
11657 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11658 | else |
|
|
11659 | for ttys_file in /etc/ttys /etc/ttytab; |
|
|
11660 | do |
|
|
11661 | if test -f "$ttys_file" ; then |
|
|
11662 | rxvt_cv_path_ttytab=$ttys_file |
|
|
11663 | break |
|
|
11664 | fi |
|
|
11665 | done |
|
|
11666 | |
11891 | |
11667 | fi |
|
|
11668 | { echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 |
|
|
11669 | echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; } |
|
|
11670 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
11671 | |
|
|
11672 | cat >>confdefs.h <<_ACEOF |
|
|
11673 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
|
|
11674 | _ACEOF |
|
|
11675 | |
|
|
11676 | fi |
|
|
11677 | |
|
|
11678 | |
|
|
11679 | ac_save_LIBS=$LIBS |
11892 | save_LIBS=$LIBS |
11680 | ac_save_CFLAGS=$CFLAGS |
11893 | save_CFLAGS=$CFLAGS |
11681 | CFLAGS="$CFLAGS $X_CFLAGS" |
11894 | CFLAGS="$CFLAGS $X_CFLAGS" |
11682 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11895 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
11896 | if test x$support_xim = xyes; then |
11683 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11897 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11684 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11898 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11685 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11899 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11686 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11900 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11687 | else |
11901 | else |
11688 | if test "$cross_compiling" = yes; then |
11902 | if test "$cross_compiling" = yes; then |
11689 | : |
11903 | : |
11690 | else |
11904 | else |
11691 | cat >conftest.$ac_ext <<_ACEOF |
11905 | cat >conftest.$ac_ext <<_ACEOF |
11692 | /* confdefs.h. */ |
11906 | /* confdefs.h. */ |
11693 | _ACEOF |
11907 | _ACEOF |
11694 | cat confdefs.h >>conftest.$ac_ext |
11908 | cat confdefs.h >>conftest.$ac_ext |
11695 | cat >>conftest.$ac_ext <<_ACEOF |
11909 | cat >>conftest.$ac_ext <<_ACEOF |
11696 | /* end confdefs.h. */ |
11910 | /* end confdefs.h. */ |
11697 | #include <X11/Xlib.h> |
11911 | #include <X11/Xlib.h> |
11698 | #include <stdlib.h> |
11912 | #include <stdlib.h> |
11699 | main() { |
11913 | main() { |
11700 | char *p; |
11914 | char *p; |
11701 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11915 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11702 | exit (XSupportsLocale() ? 0 : 1); |
11916 | exit (XSupportsLocale() ? 0 : 1); |
11703 | else |
11917 | else |
11704 | exit (1);} |
11918 | exit (1);} |
11705 | _ACEOF |
11919 | _ACEOF |
11706 | rm -f conftest$ac_exeext |
11920 | rm -f conftest$ac_exeext |
11707 | if { (ac_try="$ac_link" |
11921 | if { (ac_try="$ac_link" |
11708 | case "(($ac_try" in |
11922 | case "(($ac_try" in |
11709 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11923 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
11721 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11935 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11722 | (eval "$ac_try") 2>&5 |
11936 | (eval "$ac_try") 2>&5 |
11723 | ac_status=$? |
11937 | ac_status=$? |
11724 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11725 | (exit $ac_status); }; }; then |
11939 | (exit $ac_status); }; }; then |
11726 | rxvt_cv_func_xlocale=yes |
11940 | rxvt_cv_func_xlocale=yes |
11727 | else |
11941 | else |
11728 | echo "$as_me: program exited with status $ac_status" >&5 |
11942 | echo "$as_me: program exited with status $ac_status" >&5 |
11729 | echo "$as_me: failed program was:" >&5 |
11943 | echo "$as_me: failed program was:" >&5 |
11730 | sed 's/^/| /' conftest.$ac_ext >&5 |
11944 | sed 's/^/| /' conftest.$ac_ext >&5 |
11731 | |
11945 | |
… | |
… | |
11737 | |
11951 | |
11738 | |
11952 | |
11739 | fi |
11953 | fi |
11740 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11954 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11741 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11955 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11742 | if test x$support_xim = xyes; then |
|
|
11743 | if test x$rxvt_cv_func_xlocale = xyes; then |
11956 | if test x$rxvt_cv_func_xlocale = xyes; then |
11744 | |
11957 | |
11745 | cat >>confdefs.h <<\_ACEOF |
11958 | cat >>confdefs.h <<\_ACEOF |
11746 | #define USE_XIM 1 |
11959 | #define USE_XIM 1 |
11747 | _ACEOF |
11960 | _ACEOF |
11748 | |
11961 | |
|
|
11962 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
11963 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
11964 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
11965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11966 | else |
|
|
11967 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11968 | |
|
|
11969 | #include <X11/Xlib.h> |
|
|
11970 | |
|
|
11971 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
11972 | |
|
|
11973 | void f() { |
|
|
11974 | XIMCallback cb; |
|
|
11975 | cb.callback = im_destroy_cb; |
|
|
11976 | } |
|
|
11977 | |
|
|
11978 | _ACEOF |
|
|
11979 | rm -f conftest.$ac_objext |
|
|
11980 | if { (ac_try="$ac_compile" |
|
|
11981 | case "(($ac_try" in |
|
|
11982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
11983 | *) ac_try_echo=$ac_try;; |
|
|
11984 | esac |
|
|
11985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
11986 | (eval "$ac_compile") 2>conftest.er1 |
|
|
11987 | ac_status=$? |
|
|
11988 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11989 | rm -f conftest.er1 |
|
|
11990 | cat conftest.err >&5 |
|
|
11991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11992 | (exit $ac_status); } && { |
|
|
11993 | test -z "$ac_cxx_werror_flag" || |
|
|
11994 | test ! -s conftest.err |
|
|
11995 | } && test -s conftest.$ac_objext; then |
|
|
11996 | rxvt_broken_ximcb=yes |
|
|
11997 | else |
|
|
11998 | echo "$as_me: failed program was:" >&5 |
|
|
11999 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12000 | |
|
|
12001 | rxvt_broken_ximcb=no |
|
|
12002 | fi |
|
|
12003 | |
|
|
12004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12005 | fi |
|
|
12006 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12007 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12008 | |
|
|
12009 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12010 | |
|
|
12011 | cat >>confdefs.h <<\_ACEOF |
|
|
12012 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12013 | _ACEOF |
|
|
12014 | |
|
|
12015 | fi |
11749 | fi |
12016 | fi |
11750 | fi |
12017 | fi |
11751 | |
12018 | |
11752 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
12019 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11753 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
12020 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
… | |
… | |
11806 | cat >>confdefs.h <<\_ACEOF |
12073 | cat >>confdefs.h <<\_ACEOF |
11807 | #define HAVE_XSETLOCALE 1 |
12074 | #define HAVE_XSETLOCALE 1 |
11808 | _ACEOF |
12075 | _ACEOF |
11809 | |
12076 | |
11810 | fi |
12077 | fi |
11811 | LIBS=$ac_save_LIBS |
12078 | LIBS=$save_LIBS |
11812 | CFLAGS=$ac_save_CFLAGS |
12079 | CFLAGS=$save_CFLAGS |
11813 | |
12080 | |
11814 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
12081 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
11815 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
12082 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
11816 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
12083 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
11817 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12084 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12020 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12287 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12021 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12288 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12022 | { (exit 1); exit 1; }; } |
12289 | { (exit 1); exit 1; }; } |
12023 | fi |
12290 | fi |
12024 | |
12291 | |
12025 | |
|
|
12026 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
12027 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
12028 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
12029 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12030 | else |
|
|
12031 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12032 | |
|
|
12033 | #include <X11/Xlib.h> |
|
|
12034 | |
|
|
12035 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
12036 | |
|
|
12037 | void f() { |
|
|
12038 | XIMCallback cb; |
|
|
12039 | cb.callback = im_destroy_cb; |
|
|
12040 | } |
|
|
12041 | |
|
|
12042 | _ACEOF |
|
|
12043 | rm -f conftest.$ac_objext |
|
|
12044 | if { (ac_try="$ac_compile" |
|
|
12045 | case "(($ac_try" in |
|
|
12046 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12047 | *) ac_try_echo=$ac_try;; |
|
|
12048 | esac |
|
|
12049 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
12050 | (eval "$ac_compile") 2>conftest.er1 |
|
|
12051 | ac_status=$? |
|
|
12052 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12053 | rm -f conftest.er1 |
|
|
12054 | cat conftest.err >&5 |
|
|
12055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12056 | (exit $ac_status); } && { |
|
|
12057 | test -z "$ac_cxx_werror_flag" || |
|
|
12058 | test ! -s conftest.err |
|
|
12059 | } && test -s conftest.$ac_objext; then |
|
|
12060 | rxvt_broken_ximcb=yes |
|
|
12061 | else |
|
|
12062 | echo "$as_me: failed program was:" >&5 |
|
|
12063 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12064 | |
|
|
12065 | rxvt_broken_ximcb=no |
|
|
12066 | fi |
|
|
12067 | |
|
|
12068 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12069 | fi |
|
|
12070 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12071 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12072 | |
|
|
12073 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12074 | |
|
|
12075 | cat >>confdefs.h <<\_ACEOF |
|
|
12076 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12077 | _ACEOF |
|
|
12078 | |
|
|
12079 | fi |
|
|
12080 | |
12292 | |
12081 | |
12293 | |
12082 | |
12294 | |
12083 | |
12295 | |
12084 | |
12296 | |
… | |
… | |
12765 | echo "${ECHO_T}no" >&6; } |
12977 | echo "${ECHO_T}no" >&6; } |
12766 | fi |
12978 | fi |
12767 | |
12979 | |
12768 | |
12980 | |
12769 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12981 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12770 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12982 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
12771 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12983 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12772 | else |
12984 | else |
12773 | # Extract the first word of "xft-config", so it can be a program name with args. |
12985 | # Extract the first word of "xft-config", so it can be a program name with args. |
12774 | set dummy xft-config; ac_word=$2 |
12986 | set dummy xft-config; ac_word=$2 |
12775 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12987 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
12810 | echo "${ECHO_T}no" >&6; } |
13022 | echo "${ECHO_T}no" >&6; } |
12811 | fi |
13023 | fi |
12812 | |
13024 | |
12813 | |
13025 | |
12814 | if test $XFT_CONFIG != no; then |
13026 | if test $XFT_CONFIG != no; then |
12815 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
13027 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
12816 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13028 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12817 | fi |
13029 | fi |
12818 | fi |
13030 | fi |
12819 | |
13031 | |
|
|
13032 | save_LIBS="$LIBS" |
|
|
13033 | LIBS="$LIBS $X_LIBS" |
12820 | |
13034 | |
12821 | for ac_header in X11/Xft/Xft.h |
13035 | for ac_header in X11/Xft/Xft.h |
12822 | do |
13036 | do |
12823 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13037 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12824 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13038 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
12957 | support_xft=no |
13171 | support_xft=no |
12958 | fi |
13172 | fi |
12959 | |
13173 | |
12960 | done |
13174 | done |
12961 | |
13175 | |
12962 | |
|
|
12963 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13176 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
12964 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13177 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
12965 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13178 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
12966 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13179 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12967 | else |
13180 | else |
12968 | ac_check_lib_save_LIBS=$LIBS |
13181 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13020 | LIBS=$ac_check_lib_save_LIBS |
13233 | LIBS=$ac_check_lib_save_LIBS |
13021 | fi |
13234 | fi |
13022 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13235 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13023 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13236 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13024 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13237 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13025 | cat >>confdefs.h <<_ACEOF |
13238 | : |
13026 | #define HAVE_LIBXFT 1 |
|
|
13027 | _ACEOF |
|
|
13028 | |
|
|
13029 | LIBS="-lXft $LIBS" |
|
|
13030 | |
|
|
13031 | else |
13239 | else |
13032 | support_xft=no |
13240 | support_xft=no |
13033 | fi |
13241 | fi |
13034 | |
13242 | |
|
|
13243 | LIBS="$save_LIBS" |
13035 | |
13244 | |
13036 | if test x$support_xft = xyes; then |
13245 | if test x$support_xft = xyes; then |
13037 | |
13246 | |
13038 | cat >>confdefs.h <<\_ACEOF |
13247 | cat >>confdefs.h <<\_ACEOF |
13039 | #define XFT 1 |
13248 | #define XFT 1 |
… | |
… | |
13067 | cat >>confdefs.h <<\_ACEOF |
13276 | cat >>confdefs.h <<\_ACEOF |
13068 | #define OFF_FOCUS_FADING 1 |
13277 | #define OFF_FOCUS_FADING 1 |
13069 | _ACEOF |
13278 | _ACEOF |
13070 | |
13279 | |
13071 | fi |
13280 | fi |
13072 | if test x$support_tinting = xyes; then |
|
|
13073 | |
|
|
13074 | cat >>confdefs.h <<\_ACEOF |
|
|
13075 | #define TINTING 1 |
|
|
13076 | _ACEOF |
|
|
13077 | |
|
|
13078 | fi |
|
|
13079 | if test x$support_inheritpixmap = xyes; then |
13281 | if test x$support_inheritpixmap = xyes; then |
13080 | |
13282 | |
13081 | cat >>confdefs.h <<\_ACEOF |
13283 | cat >>confdefs.h <<\_ACEOF |
13082 | #define ENABLE_TRANSPARENCY 1 |
13284 | #define ENABLE_TRANSPARENCY 1 |
13083 | _ACEOF |
13285 | _ACEOF |
… | |
… | |
13095 | cat >>confdefs.h <<\_ACEOF |
13297 | cat >>confdefs.h <<\_ACEOF |
13096 | #define SELECTION_SCROLLING 1 |
13298 | #define SELECTION_SCROLLING 1 |
13097 | _ACEOF |
13299 | _ACEOF |
13098 | |
13300 | |
13099 | fi |
13301 | fi |
|
|
13302 | if test x$support_frills = xyes; then |
|
|
13303 | |
|
|
13304 | cat >>confdefs.h <<\_ACEOF |
|
|
13305 | #define ENABLE_FRILLS 1 |
|
|
13306 | _ACEOF |
|
|
13307 | |
|
|
13308 | fi |
13100 | if test x$support_mousewheel = xyes; then |
13309 | if test x$support_mousewheel = xyes; then |
13101 | |
13310 | |
13102 | cat >>confdefs.h <<\_ACEOF |
13311 | cat >>confdefs.h <<\_ACEOF |
13103 | #define MOUSE_WHEEL 1 |
13312 | #define MOUSE_WHEEL 1 |
13104 | _ACEOF |
13313 | _ACEOF |
… | |
… | |
13109 | cat >>confdefs.h <<\_ACEOF |
13318 | cat >>confdefs.h <<\_ACEOF |
13110 | #define MOUSE_SLIP_WHEELING 1 |
13319 | #define MOUSE_SLIP_WHEELING 1 |
13111 | _ACEOF |
13320 | _ACEOF |
13112 | |
13321 | |
13113 | fi |
13322 | fi |
13114 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
|
|
13115 | |
|
|
13116 | cat >>confdefs.h <<\_ACEOF |
|
|
13117 | #define XPM_BACKGROUND 1 |
|
|
13118 | _ACEOF |
|
|
13119 | |
|
|
13120 | fi |
|
|
13121 | |
|
|
13122 | if test x$support_afterimage = xyes; then |
13323 | if test x$support_afterimage = xyes; then |
13123 | |
13324 | |
13124 | cat >>confdefs.h <<\_ACEOF |
13325 | cat >>confdefs.h <<\_ACEOF |
13125 | #define HAVE_AFTERIMAGE 1 |
13326 | #define HAVE_AFTERIMAGE 1 |
13126 | _ACEOF |
13327 | _ACEOF |
13127 | |
13328 | |
13128 | fi |
|
|
13129 | |
|
|
13130 | if test x$support_afterstep = xyes; then |
|
|
13131 | |
13329 | |
13132 | cat >>confdefs.h <<\_ACEOF |
13330 | cat >>confdefs.h <<\_ACEOF |
13133 | #define AFTERSTEP_INTEGRATION 1 |
13331 | #define BG_IMAGE_FROM_FILE 1 |
13134 | _ACEOF |
13332 | _ACEOF |
13135 | |
13333 | |
13136 | fi |
13334 | fi |
|
|
13335 | |
13137 | |
13336 | |
13138 | if test x$support_scroll_rxvt = xyes; then |
13337 | if test x$support_scroll_rxvt = xyes; then |
13139 | |
13338 | |
13140 | cat >>confdefs.h <<\_ACEOF |
13339 | cat >>confdefs.h <<\_ACEOF |
13141 | #define RXVT_SCROLLBAR 1 |
13340 | #define RXVT_SCROLLBAR 1 |
… | |
… | |
13409 | |
13608 | |
13410 | |
13609 | |
13411 | |
13610 | |
13412 | |
13611 | |
13413 | |
13612 | |
13414 | |
|
|
13415 | if test x$support_perl = xyes; then |
|
|
13416 | support_frills=yes |
|
|
13417 | fi |
|
|
13418 | |
|
|
13419 | if test x$support_frills = xyes; then |
|
|
13420 | |
|
|
13421 | cat >>confdefs.h <<\_ACEOF |
|
|
13422 | #define ENABLE_FRILLS 1 |
|
|
13423 | _ACEOF |
|
|
13424 | |
|
|
13425 | fi |
|
|
13426 | |
13613 | |
13427 | |
13614 | |
13428 | |
13615 | |
13429 | |
13616 | |
13430 | |
13617 | |
… | |
… | |
14206 | GREP!$GREP$ac_delim |
14393 | GREP!$GREP$ac_delim |
14207 | EGREP!$EGREP$ac_delim |
14394 | EGREP!$EGREP$ac_delim |
14208 | LINKER!$LINKER$ac_delim |
14395 | LINKER!$LINKER$ac_delim |
14209 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
14396 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
14210 | RXVTNAME!$RXVTNAME$ac_delim |
14397 | RXVTNAME!$RXVTNAME$ac_delim |
|
|
14398 | CXXCPP!$CXXCPP$ac_delim |
14211 | TIC!$TIC$ac_delim |
14399 | TIC!$TIC$ac_delim |
14212 | XMKMF!$XMKMF$ac_delim |
14400 | XMKMF!$XMKMF$ac_delim |
14213 | CXXCPP!$CXXCPP$ac_delim |
|
|
14214 | X_CFLAGS!$X_CFLAGS$ac_delim |
14401 | X_CFLAGS!$X_CFLAGS$ac_delim |
14215 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14402 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14216 | X_LIBS!$X_LIBS$ac_delim |
14403 | X_LIBS!$X_LIBS$ac_delim |
14217 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14404 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14218 | afterimage_config!$afterimage_config$ac_delim |
14405 | afterimage_config!$afterimage_config$ac_delim |
14219 | XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim |
|
|
14220 | XPM_CFLAGS!$XPM_CFLAGS$ac_delim |
|
|
14221 | XPM_LIBS!$XPM_LIBS$ac_delim |
|
|
14222 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14406 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14223 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14407 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14224 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14408 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14225 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14409 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14226 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
14410 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
… | |
… | |
14235 | PERL_O!$PERL_O$ac_delim |
14419 | PERL_O!$PERL_O$ac_delim |
14236 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14420 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14237 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14421 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14238 | include_stdint_h!$include_stdint_h$ac_delim |
14422 | include_stdint_h!$include_stdint_h$ac_delim |
14239 | include_stdarg_h!$include_stdarg_h$ac_delim |
14423 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14424 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14425 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14426 | include_string_h!$include_string_h$ac_delim |
14240 | _ACEOF |
14427 | _ACEOF |
14241 | |
14428 | |
14242 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14429 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14243 | break |
14430 | break |
14244 | elif $ac_last_try; then |
14431 | elif $ac_last_try; then |
… | |
… | |
14276 | |
14463 | |
14277 | |
14464 | |
14278 | ac_delim='%!_!# ' |
14465 | ac_delim='%!_!# ' |
14279 | for ac_last_try in false false false false false :; do |
14466 | for ac_last_try in false false false false false :; do |
14280 | cat >conf$$subs.sed <<_ACEOF |
14467 | cat >conf$$subs.sed <<_ACEOF |
14281 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14282 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14283 | include_string_h!$include_string_h$ac_delim |
|
|
14284 | include_fcntl_h!$include_fcntl_h$ac_delim |
14468 | include_fcntl_h!$include_fcntl_h$ac_delim |
14285 | include_util_h!$include_util_h$ac_delim |
14469 | include_util_h!$include_util_h$ac_delim |
14286 | include_assert_h!$include_assert_h$ac_delim |
14470 | include_assert_h!$include_assert_h$ac_delim |
14287 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14471 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14288 | include_sys_select_h!$include_sys_select_h$ac_delim |
14472 | include_sys_select_h!$include_sys_select_h$ac_delim |
… | |
… | |
14291 | include_time_h!$include_time_h$ac_delim |
14475 | include_time_h!$include_time_h$ac_delim |
14292 | LIBOBJS!$LIBOBJS$ac_delim |
14476 | LIBOBJS!$LIBOBJS$ac_delim |
14293 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14477 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14294 | _ACEOF |
14478 | _ACEOF |
14295 | |
14479 | |
14296 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then |
14480 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then |
14297 | break |
14481 | break |
14298 | elif $ac_last_try; then |
14482 | elif $ac_last_try; then |
14299 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14483 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14300 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14484 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14301 | { (exit 1); exit 1; }; } |
14485 | { (exit 1); exit 1; }; } |
… | |
… | |
14730 | Install path: ${prefix}/bin |
14914 | Install path: ${prefix}/bin |
14731 | Compiler: $CXX |
14915 | Compiler: $CXX |
14732 | Compiler flags: $CXXFLAGS |
14916 | Compiler flags: $CXXFLAGS |
14733 | Linker: $LINKER" |
14917 | Linker: $LINKER" |
14734 | |
14918 | |
14735 | if test x$support_xpm = xyes; then |
|
|
14736 | echo " Xpm library: $XPM_LIBS" |
|
|
14737 | fi |
|
|
14738 | |
|
|
14739 | if test x$support_afterimage = xyes; then |
|
|
14740 | echo " AfterImage support: yes" |
|
|
14741 | fi |
|
|
14742 | |
|
|
14743 | if test x$support_afterstep = xyes; then |
|
|
14744 | echo " AfterStep integration: yes" |
|
|
14745 | fi |
|
|
14746 | |
|
|
14747 | if test x$term != x; then |
14919 | if test x$term != x; then |
14748 | echo " set TERM to: $term" |
14920 | echo " set TERM to: $term" |
14749 | fi |
14921 | fi |
14750 | if test x$terminfo != x; then |
14922 | if test x$terminfo != x; then |
14751 | echo " set TERMINFO to: $terminfo" |
14923 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
14755 | if test x$RESFALLBACK != x; then |
14927 | if test x$RESFALLBACK != x; then |
14756 | echo " resource class fallback: $RESFALLBACK" |
14928 | echo " resource class fallback: $RESFALLBACK" |
14757 | fi |
14929 | fi |
14758 | echo |
14930 | echo |
14759 | echo " embedded perl: $support_perl" |
14931 | echo " embedded perl: $support_perl" |
|
|
14932 | echo " libafterimage: $support_afterimage" |
14760 | echo |
14933 | echo |
14761 | if test x$support_xpm = xneedsmanualspecification; then |
|
|
14762 | echo ".----------------------------------------------------------------." |
|
|
14763 | echo ". WARNING: --enable-xpm-background was specified however the ." |
|
|
14764 | echo ". XPM includes files and libraries could not be found. ." |
|
|
14765 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
|
|
14766 | echo ". to use them you should rerun configure with the ." |
|
|
14767 | echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ." |
|
|
14768 | echo ". and --with-xpm-library=/path/to/xpm/library lines. ." |
|
|
14769 | echo ".----------------------------------------------------------------." |
|
|
14770 | fi |
|
|
14771 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14934 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14772 | echo ".----------------------------------------------------------------." |
14935 | echo ".----------------------------------------------------------------." |
14773 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14936 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14774 | echo ". functions could not be found. ." |
14937 | echo ". functions could not be found. ." |
14775 | echo ". XIM is now being DISABLED! ." |
14938 | echo ". XIM is now being DISABLED! ." |