… | |
… | |
677 | INSTALL_SCRIPT |
677 | INSTALL_SCRIPT |
678 | INSTALL_DATA |
678 | INSTALL_DATA |
679 | GREP |
679 | GREP |
680 | EGREP |
680 | EGREP |
681 | LINKER |
681 | LINKER |
682 | CXXLIB |
|
|
683 | INSTALL_LIBRXVT |
682 | INSTALL_LIBRXVT |
684 | RXVTNAME |
683 | RXVTNAME |
|
|
684 | CXXCPP |
685 | TIC |
685 | TIC |
686 | XMKMF |
686 | XMKMF |
687 | CXXCPP |
|
|
688 | X_CFLAGS |
687 | X_CFLAGS |
689 | X_PRE_LIBS |
688 | X_PRE_LIBS |
690 | X_LIBS |
689 | X_LIBS |
691 | X_EXTRA_LIBS |
690 | X_EXTRA_LIBS |
692 | afterimage_config |
691 | afterimage_config |
693 | XPM_CPPFLAGS |
|
|
694 | XPM_CFLAGS |
|
|
695 | XPM_LIBS |
|
|
696 | rxvt_int16_typedef |
692 | rxvt_int16_typedef |
697 | rxvt_uint16_typedef |
693 | rxvt_uint16_typedef |
698 | rxvt_int32_typedef |
694 | rxvt_int32_typedef |
699 | rxvt_uint32_typedef |
695 | rxvt_uint32_typedef |
700 | rxvt_intp_define |
696 | rxvt_intp_define |
… | |
… | |
705 | PERLLIB |
701 | PERLLIB |
706 | PERLFLAGS |
702 | PERLFLAGS |
707 | PERLPRIVLIBEXP |
703 | PERLPRIVLIBEXP |
708 | IF_PERL |
704 | IF_PERL |
709 | PERL_O |
705 | PERL_O |
710 | LIBAFTERIMAGE_CFLAGS |
706 | AFTERIMAGE_CFLAGS |
711 | AFTERIMAGE_LIBS |
707 | AFTERIMAGE_LIBS |
712 | include_stdint_h |
708 | include_stdint_h |
713 | include_stdarg_h |
709 | include_stdarg_h |
714 | include_stdlib_h |
710 | include_stdlib_h |
715 | include_unistd_h |
711 | include_unistd_h |
… | |
… | |
735 | CPPFLAGS |
731 | CPPFLAGS |
736 | CXX |
732 | CXX |
737 | CXXFLAGS |
733 | CXXFLAGS |
738 | CCC |
734 | CCC |
739 | CPP |
735 | CPP |
740 | XMKMF |
|
|
741 | CXXCPP' |
736 | CXXCPP |
|
|
737 | XMKMF' |
742 | |
738 | |
743 | |
739 | |
744 | # Initialize some variables set by options. |
740 | # Initialize some variables set by options. |
745 | ac_init_help= |
741 | ac_init_help= |
746 | ac_init_version=false |
742 | ac_init_version=false |
… | |
… | |
1321 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1322 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1323 | --enable-everything enable standard non-multichoice features |
1319 | --enable-everything enable standard non-multichoice features |
1324 | NOTE: this option is order dependent |
1320 | NOTE: this option is order dependent |
1325 | NOTE: automatically enabled with --enable-shared |
1321 | NOTE: automatically enabled with --enable-shared |
|
|
1322 | --enable-warnings turn on g++ warnings |
1326 | --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 |
1327 | --enable-combining enable composition of base and combining characters |
1324 | --enable-combining enable composition of base and combining characters |
1328 | --enable-xft enable xft support on systems that have it |
1325 | --enable-xft enable xft support on systems that have it |
1329 | --enable-font-styles enable bold and italic support |
1326 | --enable-font-styles enable bold and italic support |
1330 | --enable-xpm-background enable background pixmaps |
|
|
1331 | --enable-afterimage enable integration with libAfterImage for background images |
1327 | --enable-afterimage enable integration with libAfterImage for background images |
1332 | --enable-afterstep enable integration with AfterStep window manager |
|
|
1333 | --enable-transparency enable transparent backgrounds |
1328 | --enable-transparency enable transparent backgrounds |
1334 | --enable-tinting enable tinting of transparent bg |
|
|
1335 | --enable-fading enable colors fading when off focus |
1329 | --enable-fading enable colors fading when off focus |
1336 | --enable-rxvt-scroll enable rxvt style scrollbar |
1330 | --enable-rxvt-scroll enable rxvt style scrollbar |
1337 | --enable-next-scroll enable NeXT style scrollbar |
1331 | --enable-next-scroll enable NeXT style scrollbar |
1338 | --enable-xterm-scroll enable Xterm style scrollbar |
1332 | --enable-xterm-scroll enable Xterm style scrollbar |
1339 | --enable-perl enable embedded perl interpreter |
1333 | --enable-perl enable embedded perl interpreter |
… | |
… | |
1341 | --enable-xim XIM (X Input Method) protocol support |
1335 | --enable-xim XIM (X Input Method) protocol support |
1342 | --disable-backspace-key disable handling of the backspace key |
1336 | --disable-backspace-key disable handling of the backspace key |
1343 | --disable-delete-key disable handling of the delete key |
1337 | --disable-delete-key disable handling of the delete key |
1344 | --disable-resources disable all resource checking |
1338 | --disable-resources disable all resource checking |
1345 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1346 | --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) |
1347 | --disable-swapscreen disable swap screen support |
1341 | --disable-swapscreen disable swap screen support |
1348 | --enable-iso14755 enable support for extended ISO 14755 modes |
1342 | --enable-iso14755 enable support for extended ISO 14755 modes |
1349 | --enable-frills enable support for rarely used features |
1343 | --enable-frills enable support for rarely used features |
1350 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1344 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1351 | --enable-selectionscrolling enable scrolling during selections |
1345 | --enable-selectionscrolling enable scrolling during selections |
1352 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1346 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1353 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1347 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1354 | --enable-smart-resize enable smart growth/shrink behaviour |
1348 | --enable-smart-resize enable smart growth/shrink behaviour |
1355 | --enable-text-blink enable blinking text |
1349 | --enable-text-blink enable blinking text |
1356 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1350 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1357 | --enable-utmp enable utmp (utmpx) support |
1351 | --enable-utmp enable utmp (utmpx) support |
1358 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1352 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
… | |
… | |
1360 | |
1354 | |
1361 | Optional Packages: |
1355 | Optional Packages: |
1362 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1356 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1363 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1357 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1364 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1358 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1365 | --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) |
1366 | --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) |
1367 | --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) |
1368 | --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) |
1369 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1363 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1370 | --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 |
1371 | --with-x use the X Window System |
1365 | --with-x use the X Window System |
1372 | --with-xpm-includes=DIR use XPM includes in DIR |
|
|
1373 | --with-xpm-library=DIR use XPM library in DIR |
|
|
1374 | --with-xpm use XPM |
|
|
1375 | |
1366 | |
1376 | Some influential environment variables: |
1367 | Some influential environment variables: |
1377 | CC C compiler command |
1368 | CC C compiler command |
1378 | CFLAGS C compiler flags |
1369 | CFLAGS C compiler flags |
1379 | 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 |
… | |
… | |
1382 | 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 |
1383 | you have headers in a nonstandard directory <include dir> |
1374 | you have headers in a nonstandard directory <include dir> |
1384 | CXX C++ compiler command |
1375 | CXX C++ compiler command |
1385 | CXXFLAGS C++ compiler flags |
1376 | CXXFLAGS C++ compiler flags |
1386 | CPP C preprocessor |
1377 | CPP C preprocessor |
|
|
1378 | CXXCPP C++ preprocessor |
1387 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1379 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1388 | CXXCPP C++ preprocessor |
|
|
1389 | |
1380 | |
1390 | 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 |
1391 | it to find libraries and programs with nonstandard names/locations. |
1382 | it to find libraries and programs with nonstandard names/locations. |
1392 | |
1383 | |
1393 | _ACEOF |
1384 | _ACEOF |
… | |
… | |
1929 | |
1920 | |
1930 | |
1921 | |
1931 | |
1922 | |
1932 | 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` |
1933 | 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 | |
1934 | echo "" |
1926 | echo "" |
1935 | echo "configuring for rxvt $VERSION" |
1927 | echo "configuring for rxvt $VERSION" |
1936 | echo "" |
1928 | echo "" |
1937 | |
1929 | |
1938 | orig_CXXFLAGS="$CXXFLAGS" |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
… | |
… | |
3855 | (exit $ac_status); } && { |
3847 | (exit $ac_status); } && { |
3856 | test -z "$ac_cxx_werror_flag" || |
3848 | test -z "$ac_cxx_werror_flag" || |
3857 | test ! -s conftest.err |
3849 | test ! -s conftest.err |
3858 | } && test -s conftest$ac_exeext && |
3850 | } && test -s conftest$ac_exeext && |
3859 | $as_test_x conftest$ac_exeext; then |
3851 | $as_test_x conftest$ac_exeext; then |
3860 | |
|
|
3861 | { echo "$as_me:$LINENO: result: ok" >&5 |
3852 | { echo "$as_me:$LINENO: result: ok" >&5 |
3862 | echo "${ECHO_T}ok" >&6; } |
3853 | echo "${ECHO_T}ok" >&6; } |
3863 | CXXLIB="-lsupc++" |
|
|
3864 | |
|
|
3865 | else |
3854 | else |
3866 | echo "$as_me: failed program was:" >&5 |
3855 | echo "$as_me: failed program was:" >&5 |
3867 | sed 's/^/| /' conftest.$ac_ext >&5 |
3856 | sed 's/^/| /' conftest.$ac_ext >&5 |
3868 | |
3857 | |
3869 | |
3858 | |
… | |
… | |
3880 | CXX="$save_CXX" |
3869 | CXX="$save_CXX" |
3881 | fi |
3870 | fi |
3882 | LINKER=$LINKER |
3871 | LINKER=$LINKER |
3883 | |
3872 | |
3884 | |
3873 | |
3885 | |
|
|
3886 | if test -z "$orig_CXXFLAGS"; then |
3874 | if test -z "$orig_CXXFLAGS"; then |
3887 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3875 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3888 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3876 | CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs" |
3889 | cat >conftest.$ac_ext <<_ACEOF |
3877 | cat >conftest.$ac_ext <<_ACEOF |
3890 | /* confdefs.h. */ |
3878 | /* confdefs.h. */ |
3891 | _ACEOF |
3879 | _ACEOF |
3892 | cat confdefs.h >>conftest.$ac_ext |
3880 | cat confdefs.h >>conftest.$ac_ext |
3893 | cat >>conftest.$ac_ext <<_ACEOF |
3881 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
4406 | |
4394 | |
4407 | |
4395 | |
4408 | |
4396 | |
4409 | support_frills=yes |
4397 | support_frills=yes |
4410 | support_inheritpixmap=yes |
4398 | support_inheritpixmap=yes |
4411 | support_tinting=yes |
|
|
4412 | support_fading=yes |
4399 | support_fading=yes |
4413 | support_keepscrolling=yes |
4400 | support_keepscrolling=yes |
4414 | support_selectionscrolling=yes |
4401 | support_selectionscrolling=yes |
4415 | support_mousewheel=yes |
4402 | support_mousewheel=yes |
4416 | support_mouseslipwheel=yes |
4403 | support_mouseslipwheel=yes |
… | |
… | |
4419 | support_scroll_rxvt=yes |
4406 | support_scroll_rxvt=yes |
4420 | support_scroll_next=yes |
4407 | support_scroll_next=yes |
4421 | support_scroll_xterm=yes |
4408 | support_scroll_xterm=yes |
4422 | support_scroll_plain=yes |
4409 | support_scroll_plain=yes |
4423 | support_xim=yes |
4410 | support_xim=yes |
4424 | support_xpm=yes |
|
|
4425 | support_afterimage=yes |
4411 | support_afterimage=yes |
4426 | support_afterstep=yes |
4412 | support_afterstep=yes |
4427 | support_xft=yes |
4413 | support_xft=yes |
4428 | support_unicode3=no |
4414 | support_unicode3=no |
4429 | support_combining=yes |
4415 | support_combining=yes |
… | |
… | |
4448 | if test "${enable_everything+set}" = set; then |
4434 | if test "${enable_everything+set}" = set; then |
4449 | enableval=$enable_everything; |
4435 | enableval=$enable_everything; |
4450 | if test x$enableval = xno; then |
4436 | if test x$enableval = xno; then |
4451 | support_frills=no |
4437 | support_frills=no |
4452 | support_inheritpixmap=no |
4438 | support_inheritpixmap=no |
4453 | support_tinting=no |
|
|
4454 | support_fading=no |
4439 | support_fading=no |
4455 | support_keepscrolling=no |
4440 | support_keepscrolling=no |
4456 | support_selectionscrolling=no |
4441 | support_selectionscrolling=no |
4457 | support_lastlog=no |
4442 | support_lastlog=no |
4458 | support_mousewheel=no |
4443 | support_mousewheel=no |
… | |
… | |
4464 | support_scroll_xterm=no |
4449 | support_scroll_xterm=no |
4465 | support_scroll_plain=no |
4450 | support_scroll_plain=no |
4466 | support_utmp=no |
4451 | support_utmp=no |
4467 | support_wtmp=no |
4452 | support_wtmp=no |
4468 | support_xim=no |
4453 | support_xim=no |
4469 | support_xpm=no |
|
|
4470 | support_afterimage=no |
4454 | support_afterimage=no |
4471 | support_afterstep=no |
4455 | support_afterstep=no |
4472 | support_xft=no |
4456 | support_xft=no |
4473 | support_unicode3=no |
4457 | support_unicode3=no |
4474 | support_combining=no |
4458 | support_combining=no |
… | |
… | |
4479 | codesets= |
4463 | codesets= |
4480 | fi |
4464 | fi |
4481 | if test x$enableval = xyes; then |
4465 | if test x$enableval = xyes; then |
4482 | support_frills=yes |
4466 | support_frills=yes |
4483 | support_inheritpixmap=yes |
4467 | support_inheritpixmap=yes |
4484 | support_tinting=yes |
|
|
4485 | support_fading=yes |
4468 | support_fading=yes |
4486 | support_keepscrolling=yes |
4469 | support_keepscrolling=yes |
4487 | support_selectionscrolling=yes |
4470 | support_selectionscrolling=yes |
4488 | support_lastlog=yes |
4471 | support_lastlog=yes |
4489 | support_mousewheel=yes |
4472 | support_mousewheel=yes |
… | |
… | |
4495 | support_scroll_xterm=yes |
4478 | support_scroll_xterm=yes |
4496 | support_scroll_plain=yes |
4479 | support_scroll_plain=yes |
4497 | support_utmp=yes |
4480 | support_utmp=yes |
4498 | support_wtmp=yes |
4481 | support_wtmp=yes |
4499 | support_xim=yes |
4482 | support_xim=yes |
4500 | support_xpm=yes |
|
|
4501 | support_afterimage=yes |
4483 | support_afterimage=yes |
4502 | support_afterstep=yes |
4484 | support_afterstep=yes |
4503 | support_xft=yes |
4485 | support_xft=yes |
4504 | support_unicode3=yes |
4486 | support_unicode3=yes |
4505 | support_combining=yes |
4487 | support_combining=yes |
… | |
… | |
4511 | fi |
4493 | fi |
4512 | |
4494 | |
4513 | fi |
4495 | fi |
4514 | |
4496 | |
4515 | |
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 | |
4516 | # Check whether --enable-unicode3 was given. |
4556 | # Check whether --enable-unicode3 was given. |
4517 | if test "${enable_unicode3+set}" = set; then |
4557 | if test "${enable_unicode3+set}" = set; then |
4518 | 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 |
4519 | support_unicode3=$enableval |
4559 | support_unicode3=$enableval |
4520 | fi |
4560 | fi |
… | |
… | |
4543 | support_styles=$enableval |
4583 | support_styles=$enableval |
4544 | fi |
4584 | fi |
4545 | fi |
4585 | fi |
4546 | |
4586 | |
4547 | |
4587 | |
4548 | # Check whether --enable-xpm-background was given. |
|
|
4549 | if test "${enable_xpm_background+set}" = set; then |
|
|
4550 | enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4551 | support_xpm=$enableval |
|
|
4552 | fi |
|
|
4553 | fi |
|
|
4554 | |
|
|
4555 | |
|
|
4556 | # Check whether --enable-afterimage was given. |
4588 | # Check whether --enable-afterimage was given. |
4557 | if test "${enable_afterimage+set}" = set; then |
4589 | if test "${enable_afterimage+set}" = set; then |
4558 | 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 |
4559 | support_afterimage=$enableval |
4591 | support_afterimage=$enableval |
4560 | fi |
4592 | fi |
… | |
… | |
4568 | afterimage_config=$withval/afterimage-config |
4600 | afterimage_config=$withval/afterimage-config |
4569 | fi |
4601 | fi |
4570 | fi |
4602 | fi |
4571 | |
4603 | |
4572 | |
4604 | |
4573 | # Check whether --enable-afterstep was given. |
|
|
4574 | if test "${enable_afterstep+set}" = set; then |
|
|
4575 | enableval=$enable_afterstep; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4576 | support_afterstep=$enableval |
|
|
4577 | fi |
|
|
4578 | fi |
|
|
4579 | |
|
|
4580 | |
4605 | |
4581 | # Check whether --enable-transparency was given. |
4606 | # Check whether --enable-transparency was given. |
4582 | if test "${enable_transparency+set}" = set; then |
4607 | if test "${enable_transparency+set}" = set; then |
4583 | 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 |
4584 | support_inheritpixmap=$enableval |
4609 | support_inheritpixmap=$enableval |
4585 | fi |
|
|
4586 | fi |
|
|
4587 | |
|
|
4588 | |
|
|
4589 | # Check whether --enable-tinting was given. |
|
|
4590 | if test "${enable_tinting+set}" = set; then |
|
|
4591 | enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4592 | support_tinting=$enableval |
|
|
4593 | fi |
4610 | fi |
4594 | fi |
4611 | fi |
4595 | |
4612 | |
4596 | |
4613 | |
4597 | # Check whether --enable-fading was given. |
4614 | # Check whether --enable-fading was given. |
… | |
… | |
4872 | #define RXVT_TERMINFO "$withval" |
4889 | #define RXVT_TERMINFO "$withval" |
4873 | _ACEOF |
4890 | _ACEOF |
4874 | terminfo="$withval" |
4891 | terminfo="$withval" |
4875 | fi |
4892 | fi |
4876 | 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 | |
|
|
5374 | |
|
|
5375 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
|
|
5376 | do |
|
|
5377 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5378 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5379 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5380 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5381 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5383 | fi |
|
|
5384 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5385 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5386 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5387 | else |
|
|
5388 | # Is the header compilable? |
|
|
5389 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5390 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5391 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5392 | /* confdefs.h. */ |
|
|
5393 | _ACEOF |
|
|
5394 | cat confdefs.h >>conftest.$ac_ext |
|
|
5395 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5396 | /* end confdefs.h. */ |
|
|
5397 | $ac_includes_default |
|
|
5398 | #include <$ac_header> |
|
|
5399 | _ACEOF |
|
|
5400 | rm -f conftest.$ac_objext |
|
|
5401 | if { (ac_try="$ac_compile" |
|
|
5402 | case "(($ac_try" in |
|
|
5403 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5404 | *) ac_try_echo=$ac_try;; |
|
|
5405 | esac |
|
|
5406 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5407 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5408 | ac_status=$? |
|
|
5409 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5410 | rm -f conftest.er1 |
|
|
5411 | cat conftest.err >&5 |
|
|
5412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5413 | (exit $ac_status); } && { |
|
|
5414 | test -z "$ac_cxx_werror_flag" || |
|
|
5415 | test ! -s conftest.err |
|
|
5416 | } && test -s conftest.$ac_objext; then |
|
|
5417 | ac_header_compiler=yes |
|
|
5418 | else |
|
|
5419 | echo "$as_me: failed program was:" >&5 |
|
|
5420 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5421 | |
|
|
5422 | ac_header_compiler=no |
|
|
5423 | fi |
|
|
5424 | |
|
|
5425 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5426 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5427 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5428 | |
|
|
5429 | # Is the header present? |
|
|
5430 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5431 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5432 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5433 | /* confdefs.h. */ |
|
|
5434 | _ACEOF |
|
|
5435 | cat confdefs.h >>conftest.$ac_ext |
|
|
5436 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5437 | /* end confdefs.h. */ |
|
|
5438 | #include <$ac_header> |
|
|
5439 | _ACEOF |
|
|
5440 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5441 | case "(($ac_try" in |
|
|
5442 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5443 | *) ac_try_echo=$ac_try;; |
|
|
5444 | esac |
|
|
5445 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5446 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5447 | ac_status=$? |
|
|
5448 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5449 | rm -f conftest.er1 |
|
|
5450 | cat conftest.err >&5 |
|
|
5451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5452 | (exit $ac_status); } >/dev/null && { |
|
|
5453 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5454 | test ! -s conftest.err |
|
|
5455 | }; then |
|
|
5456 | ac_header_preproc=yes |
|
|
5457 | else |
|
|
5458 | echo "$as_me: failed program was:" >&5 |
|
|
5459 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5460 | |
|
|
5461 | ac_header_preproc=no |
|
|
5462 | fi |
|
|
5463 | |
|
|
5464 | rm -f conftest.err conftest.$ac_ext |
|
|
5465 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5466 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5467 | |
|
|
5468 | # So? What about this header? |
|
|
5469 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5470 | yes:no: ) |
|
|
5471 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5472 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5473 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5474 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5475 | ac_header_preproc=yes |
|
|
5476 | ;; |
|
|
5477 | no:yes:* ) |
|
|
5478 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5479 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5480 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5481 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5482 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5483 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5484 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5485 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5486 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5487 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5488 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5489 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5490 | |
|
|
5491 | ;; |
|
|
5492 | esac |
|
|
5493 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5494 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5495 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5496 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5497 | else |
|
|
5498 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5499 | fi |
|
|
5500 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5501 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5502 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5503 | |
|
|
5504 | fi |
|
|
5505 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5506 | cat >>confdefs.h <<_ACEOF |
|
|
5507 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5508 | _ACEOF |
|
|
5509 | |
|
|
5510 | fi |
|
|
5511 | |
|
|
5512 | done |
|
|
5513 | |
|
|
5514 | |
|
|
5515 | |
|
|
5516 | |
|
|
5517 | |
|
|
5518 | |
|
|
5519 | |
|
|
5520 | for ac_func in epoll_ctl kqueue port_create poll select |
|
|
5521 | do |
|
|
5522 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5523 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5524 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5525 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5526 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5527 | else |
|
|
5528 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5529 | /* confdefs.h. */ |
|
|
5530 | _ACEOF |
|
|
5531 | cat confdefs.h >>conftest.$ac_ext |
|
|
5532 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5533 | /* end confdefs.h. */ |
|
|
5534 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5535 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5536 | #define $ac_func innocuous_$ac_func |
|
|
5537 | |
|
|
5538 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5539 | which can conflict with char $ac_func (); below. |
|
|
5540 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5541 | <limits.h> exists even on freestanding compilers. */ |
|
|
5542 | |
|
|
5543 | #ifdef __STDC__ |
|
|
5544 | # include <limits.h> |
|
|
5545 | #else |
|
|
5546 | # include <assert.h> |
|
|
5547 | #endif |
|
|
5548 | |
|
|
5549 | #undef $ac_func |
|
|
5550 | |
|
|
5551 | /* Override any GCC internal prototype to avoid an error. |
|
|
5552 | Use char because int might match the return type of a GCC |
|
|
5553 | builtin and then its argument prototype would still apply. */ |
|
|
5554 | #ifdef __cplusplus |
|
|
5555 | extern "C" |
|
|
5556 | #endif |
|
|
5557 | char $ac_func (); |
|
|
5558 | /* The GNU C library defines this for functions which it implements |
|
|
5559 | to always fail with ENOSYS. Some functions are actually named |
|
|
5560 | something starting with __ and the normal name is an alias. */ |
|
|
5561 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5562 | choke me |
|
|
5563 | #endif |
|
|
5564 | |
|
|
5565 | int |
|
|
5566 | main () |
|
|
5567 | { |
|
|
5568 | return $ac_func (); |
|
|
5569 | ; |
|
|
5570 | return 0; |
|
|
5571 | } |
|
|
5572 | _ACEOF |
|
|
5573 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5574 | if { (ac_try="$ac_link" |
|
|
5575 | case "(($ac_try" in |
|
|
5576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5577 | *) ac_try_echo=$ac_try;; |
|
|
5578 | esac |
|
|
5579 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5580 | (eval "$ac_link") 2>conftest.er1 |
|
|
5581 | ac_status=$? |
|
|
5582 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5583 | rm -f conftest.er1 |
|
|
5584 | cat conftest.err >&5 |
|
|
5585 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5586 | (exit $ac_status); } && { |
|
|
5587 | test -z "$ac_cxx_werror_flag" || |
|
|
5588 | test ! -s conftest.err |
|
|
5589 | } && test -s conftest$ac_exeext && |
|
|
5590 | $as_test_x conftest$ac_exeext; then |
|
|
5591 | eval "$as_ac_var=yes" |
|
|
5592 | else |
|
|
5593 | echo "$as_me: failed program was:" >&5 |
|
|
5594 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5595 | |
|
|
5596 | eval "$as_ac_var=no" |
|
|
5597 | fi |
|
|
5598 | |
|
|
5599 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5600 | conftest$ac_exeext conftest.$ac_ext |
|
|
5601 | fi |
|
|
5602 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5603 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5604 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5605 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5606 | cat >>confdefs.h <<_ACEOF |
|
|
5607 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5608 | _ACEOF |
|
|
5609 | |
|
|
5610 | fi |
|
|
5611 | done |
|
|
5612 | |
|
|
5613 | |
|
|
5614 | { echo "$as_me:$LINENO: checking for clock_gettime" >&5 |
|
|
5615 | echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; } |
|
|
5616 | if test "${ac_cv_func_clock_gettime+set}" = set; then |
|
|
5617 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5618 | else |
|
|
5619 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5620 | /* confdefs.h. */ |
|
|
5621 | _ACEOF |
|
|
5622 | cat confdefs.h >>conftest.$ac_ext |
|
|
5623 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5624 | /* end confdefs.h. */ |
|
|
5625 | /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime. |
|
|
5626 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5627 | #define clock_gettime innocuous_clock_gettime |
|
|
5628 | |
|
|
5629 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5630 | which can conflict with char clock_gettime (); below. |
|
|
5631 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5632 | <limits.h> exists even on freestanding compilers. */ |
|
|
5633 | |
|
|
5634 | #ifdef __STDC__ |
|
|
5635 | # include <limits.h> |
|
|
5636 | #else |
|
|
5637 | # include <assert.h> |
|
|
5638 | #endif |
|
|
5639 | |
|
|
5640 | #undef clock_gettime |
|
|
5641 | |
|
|
5642 | /* Override any GCC internal prototype to avoid an error. |
|
|
5643 | Use char because int might match the return type of a GCC |
|
|
5644 | builtin and then its argument prototype would still apply. */ |
|
|
5645 | #ifdef __cplusplus |
|
|
5646 | extern "C" |
|
|
5647 | #endif |
|
|
5648 | char clock_gettime (); |
|
|
5649 | /* The GNU C library defines this for functions which it implements |
|
|
5650 | to always fail with ENOSYS. Some functions are actually named |
|
|
5651 | something starting with __ and the normal name is an alias. */ |
|
|
5652 | #if defined __stub_clock_gettime || defined __stub___clock_gettime |
|
|
5653 | choke me |
|
|
5654 | #endif |
|
|
5655 | |
|
|
5656 | int |
|
|
5657 | main () |
|
|
5658 | { |
|
|
5659 | return clock_gettime (); |
|
|
5660 | ; |
|
|
5661 | return 0; |
|
|
5662 | } |
|
|
5663 | _ACEOF |
|
|
5664 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5665 | if { (ac_try="$ac_link" |
|
|
5666 | case "(($ac_try" in |
|
|
5667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5668 | *) ac_try_echo=$ac_try;; |
|
|
5669 | esac |
|
|
5670 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5671 | (eval "$ac_link") 2>conftest.er1 |
|
|
5672 | ac_status=$? |
|
|
5673 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5674 | rm -f conftest.er1 |
|
|
5675 | cat conftest.err >&5 |
|
|
5676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5677 | (exit $ac_status); } && { |
|
|
5678 | test -z "$ac_cxx_werror_flag" || |
|
|
5679 | test ! -s conftest.err |
|
|
5680 | } && test -s conftest$ac_exeext && |
|
|
5681 | $as_test_x conftest$ac_exeext; then |
|
|
5682 | ac_cv_func_clock_gettime=yes |
|
|
5683 | else |
|
|
5684 | echo "$as_me: failed program was:" >&5 |
|
|
5685 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5686 | |
|
|
5687 | ac_cv_func_clock_gettime=no |
|
|
5688 | fi |
|
|
5689 | |
|
|
5690 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5691 | conftest$ac_exeext conftest.$ac_ext |
|
|
5692 | fi |
|
|
5693 | { echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5 |
|
|
5694 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
|
|
5695 | if test $ac_cv_func_clock_gettime = yes; then |
|
|
5696 | : |
|
|
5697 | else |
|
|
5698 | |
|
|
5699 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5700 | |
|
|
5701 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
|
|
5702 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
|
|
5703 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
|
|
5704 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5705 | else |
|
|
5706 | ac_check_lib_save_LIBS=$LIBS |
|
|
5707 | LIBS="-lrt $LIBS" |
|
|
5708 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5709 | /* confdefs.h. */ |
|
|
5710 | _ACEOF |
|
|
5711 | cat confdefs.h >>conftest.$ac_ext |
|
|
5712 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5713 | /* end confdefs.h. */ |
|
|
5714 | |
|
|
5715 | /* Override any GCC internal prototype to avoid an error. |
|
|
5716 | Use char because int might match the return type of a GCC |
|
|
5717 | builtin and then its argument prototype would still apply. */ |
|
|
5718 | #ifdef __cplusplus |
|
|
5719 | extern "C" |
|
|
5720 | #endif |
|
|
5721 | char clock_gettime (); |
|
|
5722 | int |
|
|
5723 | main () |
|
|
5724 | { |
|
|
5725 | return clock_gettime (); |
|
|
5726 | ; |
|
|
5727 | return 0; |
|
|
5728 | } |
|
|
5729 | _ACEOF |
|
|
5730 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5731 | if { (ac_try="$ac_link" |
|
|
5732 | case "(($ac_try" in |
|
|
5733 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5734 | *) ac_try_echo=$ac_try;; |
|
|
5735 | esac |
|
|
5736 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5737 | (eval "$ac_link") 2>conftest.er1 |
|
|
5738 | ac_status=$? |
|
|
5739 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5740 | rm -f conftest.er1 |
|
|
5741 | cat conftest.err >&5 |
|
|
5742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5743 | (exit $ac_status); } && { |
|
|
5744 | test -z "$ac_cxx_werror_flag" || |
|
|
5745 | test ! -s conftest.err |
|
|
5746 | } && test -s conftest$ac_exeext && |
|
|
5747 | $as_test_x conftest$ac_exeext; then |
|
|
5748 | ac_cv_lib_rt_clock_gettime=yes |
|
|
5749 | else |
|
|
5750 | echo "$as_me: failed program was:" >&5 |
|
|
5751 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5752 | |
|
|
5753 | ac_cv_lib_rt_clock_gettime=no |
|
|
5754 | fi |
|
|
5755 | |
|
|
5756 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5757 | conftest$ac_exeext conftest.$ac_ext |
|
|
5758 | LIBS=$ac_check_lib_save_LIBS |
|
|
5759 | fi |
|
|
5760 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 |
|
|
5761 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; } |
|
|
5762 | if test $ac_cv_lib_rt_clock_gettime = yes; then |
|
|
5763 | cat >>confdefs.h <<_ACEOF |
|
|
5764 | #define HAVE_LIBRT 1 |
|
|
5765 | _ACEOF |
|
|
5766 | |
|
|
5767 | LIBS="-lrt $LIBS" |
|
|
5768 | |
|
|
5769 | fi |
|
|
5770 | |
|
|
5771 | |
|
|
5772 | for ac_func in clock_gettime |
|
|
5773 | do |
|
|
5774 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5775 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5776 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5777 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5778 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5779 | else |
|
|
5780 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5781 | /* confdefs.h. */ |
|
|
5782 | _ACEOF |
|
|
5783 | cat confdefs.h >>conftest.$ac_ext |
|
|
5784 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5785 | /* end confdefs.h. */ |
|
|
5786 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5787 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5788 | #define $ac_func innocuous_$ac_func |
|
|
5789 | |
|
|
5790 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5791 | which can conflict with char $ac_func (); below. |
|
|
5792 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5793 | <limits.h> exists even on freestanding compilers. */ |
|
|
5794 | |
|
|
5795 | #ifdef __STDC__ |
|
|
5796 | # include <limits.h> |
|
|
5797 | #else |
|
|
5798 | # include <assert.h> |
|
|
5799 | #endif |
|
|
5800 | |
|
|
5801 | #undef $ac_func |
|
|
5802 | |
|
|
5803 | /* Override any GCC internal prototype to avoid an error. |
|
|
5804 | Use char because int might match the return type of a GCC |
|
|
5805 | builtin and then its argument prototype would still apply. */ |
|
|
5806 | #ifdef __cplusplus |
|
|
5807 | extern "C" |
|
|
5808 | #endif |
|
|
5809 | char $ac_func (); |
|
|
5810 | /* The GNU C library defines this for functions which it implements |
|
|
5811 | to always fail with ENOSYS. Some functions are actually named |
|
|
5812 | something starting with __ and the normal name is an alias. */ |
|
|
5813 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5814 | choke me |
|
|
5815 | #endif |
|
|
5816 | |
|
|
5817 | int |
|
|
5818 | main () |
|
|
5819 | { |
|
|
5820 | return $ac_func (); |
|
|
5821 | ; |
|
|
5822 | return 0; |
|
|
5823 | } |
|
|
5824 | _ACEOF |
|
|
5825 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5826 | if { (ac_try="$ac_link" |
|
|
5827 | case "(($ac_try" in |
|
|
5828 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5829 | *) ac_try_echo=$ac_try;; |
|
|
5830 | esac |
|
|
5831 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5832 | (eval "$ac_link") 2>conftest.er1 |
|
|
5833 | ac_status=$? |
|
|
5834 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5835 | rm -f conftest.er1 |
|
|
5836 | cat conftest.err >&5 |
|
|
5837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5838 | (exit $ac_status); } && { |
|
|
5839 | test -z "$ac_cxx_werror_flag" || |
|
|
5840 | test ! -s conftest.err |
|
|
5841 | } && test -s conftest$ac_exeext && |
|
|
5842 | $as_test_x conftest$ac_exeext; then |
|
|
5843 | eval "$as_ac_var=yes" |
|
|
5844 | else |
|
|
5845 | echo "$as_me: failed program was:" >&5 |
|
|
5846 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5847 | |
|
|
5848 | eval "$as_ac_var=no" |
|
|
5849 | fi |
|
|
5850 | |
|
|
5851 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5852 | conftest$ac_exeext conftest.$ac_ext |
|
|
5853 | fi |
|
|
5854 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5855 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5856 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5857 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5858 | cat >>confdefs.h <<_ACEOF |
|
|
5859 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5860 | _ACEOF |
|
|
5861 | |
|
|
5862 | fi |
|
|
5863 | done |
|
|
5864 | |
|
|
5865 | fi |
|
|
5866 | |
|
|
5867 | fi |
|
|
5868 | |
|
|
5869 | |
|
|
5870 | |
|
|
5871 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
|
|
5872 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
|
|
5873 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
|
|
5874 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5875 | else |
|
|
5876 | ac_check_lib_save_LIBS=$LIBS |
|
|
5877 | LIBS="-lm $LIBS" |
|
|
5878 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5879 | /* confdefs.h. */ |
|
|
5880 | _ACEOF |
|
|
5881 | cat confdefs.h >>conftest.$ac_ext |
|
|
5882 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5883 | /* end confdefs.h. */ |
|
|
5884 | |
|
|
5885 | /* Override any GCC internal prototype to avoid an error. |
|
|
5886 | Use char because int might match the return type of a GCC |
|
|
5887 | builtin and then its argument prototype would still apply. */ |
|
|
5888 | #ifdef __cplusplus |
|
|
5889 | extern "C" |
|
|
5890 | #endif |
|
|
5891 | char ceil (); |
|
|
5892 | int |
|
|
5893 | main () |
|
|
5894 | { |
|
|
5895 | return ceil (); |
|
|
5896 | ; |
|
|
5897 | return 0; |
|
|
5898 | } |
|
|
5899 | _ACEOF |
|
|
5900 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5901 | if { (ac_try="$ac_link" |
|
|
5902 | case "(($ac_try" in |
|
|
5903 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5904 | *) ac_try_echo=$ac_try;; |
|
|
5905 | esac |
|
|
5906 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5907 | (eval "$ac_link") 2>conftest.er1 |
|
|
5908 | ac_status=$? |
|
|
5909 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5910 | rm -f conftest.er1 |
|
|
5911 | cat conftest.err >&5 |
|
|
5912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5913 | (exit $ac_status); } && { |
|
|
5914 | test -z "$ac_cxx_werror_flag" || |
|
|
5915 | test ! -s conftest.err |
|
|
5916 | } && test -s conftest$ac_exeext && |
|
|
5917 | $as_test_x conftest$ac_exeext; then |
|
|
5918 | ac_cv_lib_m_ceil=yes |
|
|
5919 | else |
|
|
5920 | echo "$as_me: failed program was:" >&5 |
|
|
5921 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5922 | |
|
|
5923 | ac_cv_lib_m_ceil=no |
|
|
5924 | fi |
|
|
5925 | |
|
|
5926 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5927 | conftest$ac_exeext conftest.$ac_ext |
|
|
5928 | LIBS=$ac_check_lib_save_LIBS |
|
|
5929 | fi |
|
|
5930 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
|
|
5931 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
|
|
5932 | if test $ac_cv_lib_m_ceil = yes; then |
|
|
5933 | cat >>confdefs.h <<_ACEOF |
|
|
5934 | #define HAVE_LIBM 1 |
|
|
5935 | _ACEOF |
|
|
5936 | |
|
|
5937 | LIBS="-lm $LIBS" |
|
|
5938 | |
|
|
5939 | fi |
|
|
5940 | |
|
|
5941 | |
|
|
5942 | |
|
|
5943 | |
4877 | |
5944 | |
4878 | |
5945 | |
4879 | |
5946 | |
4880 | # Extract the first word of "tic", so it can be a program name with args. |
5947 | # Extract the first word of "tic", so it can be a program name with args. |
4881 | set dummy tic; ac_word=$2 |
5948 | set dummy tic; ac_word=$2 |
… | |
… | |
4902 | fi |
5969 | fi |
4903 | done |
5970 | done |
4904 | done |
5971 | done |
4905 | IFS=$as_save_IFS |
5972 | IFS=$as_save_IFS |
4906 | |
5973 | |
|
|
5974 | test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":" |
4907 | ;; |
5975 | ;; |
4908 | esac |
5976 | esac |
4909 | fi |
5977 | fi |
4910 | TIC=$ac_cv_path_TIC |
5978 | TIC=$ac_cv_path_TIC |
4911 | if test -n "$TIC"; then |
5979 | if test -n "$TIC"; then |
… | |
… | |
4916 | echo "${ECHO_T}no" >&6; } |
5984 | echo "${ECHO_T}no" >&6; } |
4917 | fi |
5985 | fi |
4918 | |
5986 | |
4919 | |
5987 | |
4920 | |
5988 | |
4921 | |
|
|
4922 | |
|
|
4923 | ac_ext=cpp |
|
|
4924 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4925 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4926 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4927 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4928 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4929 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4930 | if test -z "$CXXCPP"; then |
|
|
4931 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4933 | else |
|
|
4934 | # Double quotes because CXXCPP needs to be expanded |
|
|
4935 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4936 | do |
|
|
4937 | ac_preproc_ok=false |
|
|
4938 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4939 | do |
|
|
4940 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4941 | # with a fresh cross-compiler works. |
|
|
4942 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4943 | # <limits.h> exists even on freestanding compilers. |
|
|
4944 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4945 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4946 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4947 | /* confdefs.h. */ |
|
|
4948 | _ACEOF |
|
|
4949 | cat confdefs.h >>conftest.$ac_ext |
|
|
4950 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4951 | /* end confdefs.h. */ |
|
|
4952 | #ifdef __STDC__ |
|
|
4953 | # include <limits.h> |
|
|
4954 | #else |
|
|
4955 | # include <assert.h> |
|
|
4956 | #endif |
|
|
4957 | Syntax error |
|
|
4958 | _ACEOF |
|
|
4959 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4960 | case "(($ac_try" in |
|
|
4961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4962 | *) ac_try_echo=$ac_try;; |
|
|
4963 | esac |
|
|
4964 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4965 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4966 | ac_status=$? |
|
|
4967 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4968 | rm -f conftest.er1 |
|
|
4969 | cat conftest.err >&5 |
|
|
4970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4971 | (exit $ac_status); } >/dev/null && { |
|
|
4972 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4973 | test ! -s conftest.err |
|
|
4974 | }; then |
|
|
4975 | : |
|
|
4976 | else |
|
|
4977 | echo "$as_me: failed program was:" >&5 |
|
|
4978 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4979 | |
|
|
4980 | # Broken: fails on valid input. |
|
|
4981 | continue |
|
|
4982 | fi |
|
|
4983 | |
|
|
4984 | rm -f conftest.err conftest.$ac_ext |
|
|
4985 | |
|
|
4986 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4987 | # can be detected and how. |
|
|
4988 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4989 | /* confdefs.h. */ |
|
|
4990 | _ACEOF |
|
|
4991 | cat confdefs.h >>conftest.$ac_ext |
|
|
4992 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4993 | /* end confdefs.h. */ |
|
|
4994 | #include <ac_nonexistent.h> |
|
|
4995 | _ACEOF |
|
|
4996 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4997 | case "(($ac_try" in |
|
|
4998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4999 | *) ac_try_echo=$ac_try;; |
|
|
5000 | esac |
|
|
5001 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5002 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5003 | ac_status=$? |
|
|
5004 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5005 | rm -f conftest.er1 |
|
|
5006 | cat conftest.err >&5 |
|
|
5007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5008 | (exit $ac_status); } >/dev/null && { |
|
|
5009 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5010 | test ! -s conftest.err |
|
|
5011 | }; then |
|
|
5012 | # Broken: success on invalid input. |
|
|
5013 | continue |
|
|
5014 | else |
|
|
5015 | echo "$as_me: failed program was:" >&5 |
|
|
5016 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5017 | |
|
|
5018 | # Passes both tests. |
|
|
5019 | ac_preproc_ok=: |
|
|
5020 | break |
|
|
5021 | fi |
|
|
5022 | |
|
|
5023 | rm -f conftest.err conftest.$ac_ext |
|
|
5024 | |
|
|
5025 | done |
|
|
5026 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5027 | rm -f conftest.err conftest.$ac_ext |
|
|
5028 | if $ac_preproc_ok; then |
|
|
5029 | break |
|
|
5030 | fi |
|
|
5031 | |
|
|
5032 | done |
|
|
5033 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5034 | |
|
|
5035 | fi |
|
|
5036 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5037 | else |
|
|
5038 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5039 | fi |
|
|
5040 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5041 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5042 | ac_preproc_ok=false |
|
|
5043 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5044 | do |
|
|
5045 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5046 | # with a fresh cross-compiler works. |
|
|
5047 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5048 | # <limits.h> exists even on freestanding compilers. |
|
|
5049 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5050 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5051 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5052 | /* confdefs.h. */ |
|
|
5053 | _ACEOF |
|
|
5054 | cat confdefs.h >>conftest.$ac_ext |
|
|
5055 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5056 | /* end confdefs.h. */ |
|
|
5057 | #ifdef __STDC__ |
|
|
5058 | # include <limits.h> |
|
|
5059 | #else |
|
|
5060 | # include <assert.h> |
|
|
5061 | #endif |
|
|
5062 | Syntax error |
|
|
5063 | _ACEOF |
|
|
5064 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5065 | case "(($ac_try" in |
|
|
5066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5067 | *) ac_try_echo=$ac_try;; |
|
|
5068 | esac |
|
|
5069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5070 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5071 | ac_status=$? |
|
|
5072 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5073 | rm -f conftest.er1 |
|
|
5074 | cat conftest.err >&5 |
|
|
5075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5076 | (exit $ac_status); } >/dev/null && { |
|
|
5077 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5078 | test ! -s conftest.err |
|
|
5079 | }; then |
|
|
5080 | : |
|
|
5081 | else |
|
|
5082 | echo "$as_me: failed program was:" >&5 |
|
|
5083 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5084 | |
|
|
5085 | # Broken: fails on valid input. |
|
|
5086 | continue |
|
|
5087 | fi |
|
|
5088 | |
|
|
5089 | rm -f conftest.err conftest.$ac_ext |
|
|
5090 | |
|
|
5091 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5092 | # can be detected and how. |
|
|
5093 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5094 | /* confdefs.h. */ |
|
|
5095 | _ACEOF |
|
|
5096 | cat confdefs.h >>conftest.$ac_ext |
|
|
5097 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5098 | /* end confdefs.h. */ |
|
|
5099 | #include <ac_nonexistent.h> |
|
|
5100 | _ACEOF |
|
|
5101 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5102 | case "(($ac_try" in |
|
|
5103 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5104 | *) ac_try_echo=$ac_try;; |
|
|
5105 | esac |
|
|
5106 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5107 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5108 | ac_status=$? |
|
|
5109 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5110 | rm -f conftest.er1 |
|
|
5111 | cat conftest.err >&5 |
|
|
5112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5113 | (exit $ac_status); } >/dev/null && { |
|
|
5114 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5115 | test ! -s conftest.err |
|
|
5116 | }; then |
|
|
5117 | # Broken: success on invalid input. |
|
|
5118 | continue |
|
|
5119 | else |
|
|
5120 | echo "$as_me: failed program was:" >&5 |
|
|
5121 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5122 | |
|
|
5123 | # Passes both tests. |
|
|
5124 | ac_preproc_ok=: |
|
|
5125 | break |
|
|
5126 | fi |
|
|
5127 | |
|
|
5128 | rm -f conftest.err conftest.$ac_ext |
|
|
5129 | |
|
|
5130 | done |
|
|
5131 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5132 | rm -f conftest.err conftest.$ac_ext |
|
|
5133 | if $ac_preproc_ok; then |
|
|
5134 | : |
|
|
5135 | else |
|
|
5136 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5137 | See \`config.log' for more details." >&5 |
|
|
5138 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5139 | See \`config.log' for more details." >&2;} |
|
|
5140 | { (exit 1); exit 1; }; } |
|
|
5141 | fi |
|
|
5142 | |
|
|
5143 | ac_ext=cpp |
|
|
5144 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5145 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5146 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5147 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5148 | |
5989 | |
5149 | |
5990 | |
5150 | { echo "$as_me:$LINENO: checking for X" >&5 |
5991 | { echo "$as_me:$LINENO: checking for X" >&5 |
5151 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5992 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5152 | |
5993 | |
… | |
… | |
6460 | LDFLAGS=$ac_save_LDFLAGS |
7301 | LDFLAGS=$ac_save_LDFLAGS |
6461 | |
7302 | |
6462 | fi |
7303 | fi |
6463 | |
7304 | |
6464 | |
7305 | |
6465 | |
|
|
6466 | LIBAFTERIMAGE_CFLAGS= |
7306 | AFTERIMAGE_CFLAGS= |
6467 | AFTERIMAGE_LIBS= |
7307 | AFTERIMAGE_LIBS= |
6468 | have_afterimage= |
7308 | AFTERIMAGE_VERSION= |
6469 | |
7309 | |
6470 | if test x$support_afterimage = xyes; then |
7310 | if test x$support_afterimage = xyes; then |
6471 | support_afterimage=no |
7311 | support_afterimage=no |
6472 | |
7312 | |
6473 | if test "x$afterimage_config" = "x" ; then |
7313 | if test "x$afterimage_config" = "x" ; then |
… | |
… | |
6511 | echo "${ECHO_T}no" >&6; } |
7351 | echo "${ECHO_T}no" >&6; } |
6512 | fi |
7352 | fi |
6513 | |
7353 | |
6514 | |
7354 | |
6515 | fi |
7355 | fi |
6516 | |
7356 | if test "x$afterimage_config" != "xno" ; then |
6517 | { echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
7357 | { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5 |
6518 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6; } |
7358 | echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; } |
6519 | if $afterimage_config --version >/dev/null 2>&1 ; then |
7359 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
7360 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6520 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
7361 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6521 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
7362 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6522 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
7363 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
7364 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
7365 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
7366 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
6523 | support_afterimage=yes |
7367 | support_afterimage=yes |
6524 | fi |
7368 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
6525 | fi |
7369 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
6526 | |
7370 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
6527 | if test "x$support_afterimage" = "xyes"; then |
|
|
6528 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6529 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
6530 | else |
|
|
6531 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
6532 | echo "${ECHO_T}no" >&6; } |
|
|
6533 | fi |
|
|
6534 | fi |
|
|
6535 | |
|
|
6536 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
|
|
6537 | |
|
|
6538 | |
|
|
6539 | |
|
|
6540 | # Initialize some more variables set by options. |
|
|
6541 | # The variables have the same names as the options, with |
|
|
6542 | # dashes changed to underlines. |
|
|
6543 | |
|
|
6544 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
|
|
6545 | # paths, otherwise set no_xpm=yes. |
|
|
6546 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
6547 | { echo "$as_me:$LINENO: checking for libXpm" >&5 |
|
|
6548 | echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; } |
|
|
6549 | |
|
|
6550 | |
|
|
6551 | # Check whether --with-xpm_includes was given. |
|
|
6552 | if test "${with_xpm_includes+set}" = set; then |
|
|
6553 | withval=$with_xpm_includes; xpm_includes="$withval" |
|
|
6554 | else |
|
|
6555 | xpm_includes=NO |
|
|
6556 | fi |
|
|
6557 | |
|
|
6558 | |
|
|
6559 | # Check whether --with-xpm_library was given. |
|
|
6560 | if test "${with_xpm_library+set}" = set; then |
|
|
6561 | withval=$with_xpm_library; xpm_libraries="$withval" |
|
|
6562 | else |
|
|
6563 | xpm_libraries=NO |
|
|
6564 | fi |
|
|
6565 | |
|
|
6566 | |
|
|
6567 | # --without-xpm overrides everything else, but does not touch the cache. |
|
|
6568 | |
|
|
6569 | # Check whether --with-xpm was given. |
|
|
6570 | if test "${with_xpm+set}" = set; then |
|
|
6571 | withval=$with_xpm; |
|
|
6572 | fi |
|
|
6573 | |
|
|
6574 | if test "$with_xpm" = no; then |
|
|
6575 | have_xpm=disabled |
|
|
6576 | else |
|
|
6577 | if test "${ac_cv_have_xpm+set}" = set; then |
|
|
6578 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6579 | else |
|
|
6580 | |
|
|
6581 | vt_xpm_include_X11=no |
|
|
6582 | if test -n "$xpm_includes"; then |
|
|
6583 | vt_xpm_includes=$xpm_includes |
|
|
6584 | else |
|
|
6585 | vt_xpm_includes=NO |
|
|
6586 | fi |
|
|
6587 | if test -n "$xpm_libraries"; then |
|
|
6588 | vt_xpm_libraries=$xpm_libraries |
|
|
6589 | else |
|
|
6590 | vt_xpm_libraries=NO |
|
|
6591 | fi |
|
|
6592 | |
|
|
6593 | if test "$vt_xpm_includes" = NO; then |
|
|
6594 | # Guess where to find xpm.h |
|
|
6595 | |
|
|
6596 | ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
6597 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
|
|
6598 | |
|
|
6599 | # First, try using that file with no special directory specified. |
|
|
6600 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6601 | /* confdefs.h. */ |
|
|
6602 | _ACEOF |
|
|
6603 | cat confdefs.h >>conftest.$ac_ext |
|
|
6604 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6605 | /* end confdefs.h. */ |
|
|
6606 | #include <X11/xpm.h> |
|
|
6607 | _ACEOF |
|
|
6608 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6609 | case "(($ac_try" in |
|
|
6610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6611 | *) ac_try_echo=$ac_try;; |
|
|
6612 | esac |
|
|
6613 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6614 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6615 | ac_status=$? |
|
|
6616 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6617 | rm -f conftest.er1 |
|
|
6618 | cat conftest.err >&5 |
|
|
6619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6620 | (exit $ac_status); } >/dev/null && { |
|
|
6621 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6622 | test ! -s conftest.err |
|
|
6623 | }; then |
|
|
6624 | # We can compile using X headers with no special include directory. |
|
|
6625 | vt_xpm_includes= |
|
|
6626 | vt_xpm_include_X11=yes |
|
|
6627 | else |
|
|
6628 | echo "$as_me: failed program was:" >&5 |
|
|
6629 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6630 | |
|
|
6631 | CPPFLAGS="$ac_save_CPPFLAGS" |
|
|
6632 | # Look for the header file in a standard set of common directories. |
|
|
6633 | for ac_dir in \ |
|
|
6634 | /usr/X11/include \ |
|
|
6635 | /usr/X11R6/include \ |
|
|
6636 | /usr/X11R5/include \ |
|
|
6637 | /usr/X11R4/include \ |
|
|
6638 | \ |
|
|
6639 | /usr/include/X11 \ |
|
|
6640 | /usr/include/X11R6 \ |
|
|
6641 | /usr/include/X11R5 \ |
|
|
6642 | /usr/include/X11R4 \ |
|
|
6643 | \ |
|
|
6644 | /usr/local/X11/include \ |
|
|
6645 | /usr/local/X11R6/include \ |
|
|
6646 | /usr/local/X11R5/include \ |
|
|
6647 | /usr/local/X11R4/include \ |
|
|
6648 | \ |
|
|
6649 | /usr/local/include/X11 \ |
|
|
6650 | /usr/local/include/X11R6 \ |
|
|
6651 | /usr/local/include/X11R5 \ |
|
|
6652 | /usr/local/include/X11R4 \ |
|
|
6653 | \ |
|
|
6654 | /usr/X386/include \ |
|
|
6655 | /usr/x386/include \ |
|
|
6656 | /usr/XFree86/include/X11 \ |
|
|
6657 | \ |
|
|
6658 | /usr/include \ |
|
|
6659 | /usr/local/include \ |
|
|
6660 | /usr/unsupported/include \ |
|
|
6661 | /usr/athena/include \ |
|
|
6662 | /usr/local/x11r5/include \ |
|
|
6663 | /usr/lpp/Xamples/include \ |
|
|
6664 | \ |
|
|
6665 | /usr/openwin/include \ |
|
|
6666 | /usr/openwin/share/include \ |
|
|
6667 | ; \ |
|
|
6668 | do |
|
|
6669 | if test -r "$ac_dir/X11/xpm.h"; then |
|
|
6670 | vt_xpm_includes="$ac_dir" |
|
|
6671 | vt_xpm_include_X11=yes |
|
|
6672 | break |
|
|
6673 | else |
|
|
6674 | if test -r "$ac_dir/xpm.h"; then |
|
|
6675 | vt_xpm_includes=$ac_dir |
|
|
6676 | break |
|
|
6677 | fi |
|
|
6678 | fi |
|
|
6679 | done |
|
|
6680 | fi |
|
|
6681 | |
|
|
6682 | rm -f conftest.err conftest.$ac_ext |
|
|
6683 | fi |
|
|
6684 | |
|
|
6685 | if test "$vt_xpm_libraries" = NO; then |
|
|
6686 | # Check for the libraries. |
|
|
6687 | |
|
|
6688 | # See if we find them without any special options. |
|
|
6689 | # Don't add to $LIBS permanently. |
|
|
6690 | ac_save_LIBS="$LIBS" |
|
|
6691 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
|
|
6692 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6693 | /* confdefs.h. */ |
|
|
6694 | _ACEOF |
|
|
6695 | cat confdefs.h >>conftest.$ac_ext |
|
|
6696 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6697 | /* end confdefs.h. */ |
|
|
6698 | |
|
|
6699 | int |
|
|
6700 | main () |
|
|
6701 | { |
|
|
6702 | XpmReadFileToPixmap() |
|
|
6703 | ; |
|
|
6704 | return 0; |
|
|
6705 | } |
|
|
6706 | _ACEOF |
|
|
6707 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6708 | if { (ac_try="$ac_link" |
|
|
6709 | case "(($ac_try" in |
|
|
6710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6711 | *) ac_try_echo=$ac_try;; |
|
|
6712 | esac |
|
|
6713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6714 | (eval "$ac_link") 2>conftest.er1 |
|
|
6715 | ac_status=$? |
|
|
6716 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6717 | rm -f conftest.er1 |
|
|
6718 | cat conftest.err >&5 |
|
|
6719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6720 | (exit $ac_status); } && { |
|
|
6721 | test -z "$ac_cxx_werror_flag" || |
|
|
6722 | test ! -s conftest.err |
|
|
6723 | } && test -s conftest$ac_exeext && |
|
|
6724 | $as_test_x conftest$ac_exeext; then |
|
|
6725 | LIBS="$ac_save_LIBS" |
|
|
6726 | # We can link libXpm with no special library path. |
|
|
6727 | vt_xpm_libraries= |
|
|
6728 | else |
|
|
6729 | echo "$as_me: failed program was:" >&5 |
|
|
6730 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6731 | |
|
|
6732 | LIBS="$ac_save_LIBS" |
|
|
6733 | # First see if replacing the include by lib works. |
|
|
6734 | for ac_dir in \ |
|
|
6735 | `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ |
|
|
6736 | /usr/X11/lib \ |
|
|
6737 | /usr/X11R6/lib \ |
|
|
6738 | /usr/X11R5/lib \ |
|
|
6739 | /usr/X11R4/lib \ |
|
|
6740 | \ |
|
|
6741 | /usr/lib/X11 \ |
|
|
6742 | /usr/lib/X11R6 \ |
|
|
6743 | /usr/lib/X11R5 \ |
|
|
6744 | /usr/lib/X11R4 \ |
|
|
6745 | \ |
|
|
6746 | /usr/local/X11/lib \ |
|
|
6747 | /usr/local/X11R6/lib \ |
|
|
6748 | /usr/local/X11R5/lib \ |
|
|
6749 | /usr/local/X11R4/lib \ |
|
|
6750 | \ |
|
|
6751 | /usr/local/lib/X11 \ |
|
|
6752 | /usr/local/lib/X11R6 \ |
|
|
6753 | /usr/local/lib/X11R5 \ |
|
|
6754 | /usr/local/lib/X11R4 \ |
|
|
6755 | \ |
|
|
6756 | /usr/X386/lib \ |
|
|
6757 | /usr/x386/lib \ |
|
|
6758 | /usr/XFree86/lib/X11 \ |
|
|
6759 | \ |
|
|
6760 | /usr/lib \ |
|
|
6761 | /usr/local/lib \ |
|
|
6762 | /usr/unsupported/lib \ |
|
|
6763 | /usr/athena/lib \ |
|
|
6764 | /usr/local/x11r5/lib \ |
|
|
6765 | /usr/lpp/Xamples/lib \ |
|
|
6766 | \ |
|
|
6767 | /usr/openwin/lib \ |
|
|
6768 | /usr/openwin/share/lib \ |
|
|
6769 | ; \ |
|
|
6770 | do |
|
|
6771 | for ac_extension in a so sl; do |
|
|
6772 | if test -r $ac_dir/libXpm.$ac_extension; then |
|
|
6773 | vt_xpm_libraries=$ac_dir |
|
|
6774 | break 2 |
|
|
6775 | fi |
|
|
6776 | done |
|
|
6777 | done |
|
|
6778 | fi |
|
|
6779 | |
|
|
6780 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6781 | conftest$ac_exeext conftest.$ac_ext |
|
|
6782 | fi |
|
|
6783 | |
|
|
6784 | |
|
|
6785 | if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then |
|
|
6786 | ac_cv_have_xpm="have_xpm=no" |
|
|
6787 | else |
|
|
6788 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6789 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6790 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6791 | fi |
|
|
6792 | fi |
|
|
6793 | eval "$ac_cv_have_xpm" |
|
|
6794 | fi |
|
|
6795 | |
|
|
6796 | if test "$have_xpm" != yes; then |
|
|
6797 | { echo "$as_me:$LINENO: result: $have_xpm" >&5 |
|
|
6798 | echo "${ECHO_T}$have_xpm" >&6; } |
|
|
6799 | no_xpm=yes |
|
|
6800 | else |
|
|
6801 | if test "$xpm_includes" != NO; then |
|
|
6802 | if test "$xpm_includes" = "$vt_xpm_includes"; then |
|
|
6803 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6804 | vt_xpm_include_X11=yes |
|
|
6805 | fi |
|
|
6806 | else |
|
|
6807 | vt_xpm_include_X11=no |
|
|
6808 | if test -z "$xpm_includes"; then |
|
|
6809 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6810 | /* confdefs.h. */ |
|
|
6811 | _ACEOF |
|
|
6812 | cat confdefs.h >>conftest.$ac_ext |
|
|
6813 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6814 | /* end confdefs.h. */ |
|
|
6815 | #include <X11/xpm.h> |
|
|
6816 | _ACEOF |
|
|
6817 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6818 | case "(($ac_try" in |
|
|
6819 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6820 | *) ac_try_echo=$ac_try;; |
|
|
6821 | esac |
|
|
6822 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6823 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6824 | ac_status=$? |
|
|
6825 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6826 | rm -f conftest.er1 |
|
|
6827 | cat conftest.err >&5 |
|
|
6828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6829 | (exit $ac_status); } >/dev/null && { |
|
|
6830 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6831 | test ! -s conftest.err |
|
|
6832 | }; then |
|
|
6833 | vt_xpm_include_X11=yes |
|
|
6834 | else |
|
|
6835 | echo "$as_me: failed program was:" >&5 |
|
|
6836 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6837 | |
|
|
6838 | |
|
|
6839 | fi |
|
|
6840 | |
|
|
6841 | rm -f conftest.err conftest.$ac_ext |
|
|
6842 | else |
|
|
6843 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6844 | vt_xpm_include_X11=yes |
|
|
6845 | fi |
7371 | fi |
6846 | fi |
7372 | fi |
6847 | fi |
7373 | fi |
6848 | vt_xpm_includes=$xpm_includes |
7374 | if test "x$support_afterimage" = "xyes"; then |
|
|
7375 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
7376 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
7377 | else |
|
|
7378 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
7379 | echo "${ECHO_T}no" >&6; } |
6849 | fi |
7380 | fi |
6850 | if test "x$xpm_libraries" != xNO; then |
|
|
6851 | vt_xpm_libraries=$xpm_libraries |
|
|
6852 | fi |
|
|
6853 | # Update the cache value to reflect the command line values. |
|
|
6854 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6855 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6856 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6857 | eval "$ac_cv_have_xpm" |
|
|
6858 | { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5 |
|
|
6859 | echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; } |
|
|
6860 | if test -n "$vt_xpm_includes"; then |
|
|
6861 | XPM_CPPFLAGS="-DHAVE_LIBXPM" |
|
|
6862 | fi |
|
|
6863 | if test -n "$vt_xpm_includes"; then |
|
|
6864 | XPM_CFLAGS="-I$vt_xpm_includes" |
|
|
6865 | fi |
|
|
6866 | XPM_LIBS="-lXpm" |
|
|
6867 | if test -n "$vt_xpm_libraries"; then |
|
|
6868 | XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS" |
|
|
6869 | fi |
|
|
6870 | if test "x$vt_xpm_include_X11" = xyes; then |
|
|
6871 | |
|
|
6872 | cat >>confdefs.h <<\_ACEOF |
|
|
6873 | #define XPM_INC_X11 1 |
|
|
6874 | _ACEOF |
|
|
6875 | |
|
|
6876 | fi |
|
|
6877 | fi |
|
|
6878 | |
|
|
6879 | |
|
|
6880 | |
|
|
6881 | |
|
|
6882 | |
|
|
6883 | if test x$no_xpm = xyes; then |
|
|
6884 | support_xpm=needsmanualspecification |
|
|
6885 | fi |
7381 | fi |
6886 | fi |
7382 | fi |
6887 | |
7383 | |
6888 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7384 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6889 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
7385 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
… | |
… | |
6949 | cat >>confdefs.h <<\_ACEOF |
7445 | cat >>confdefs.h <<\_ACEOF |
6950 | #define HAVE_SYS_WAIT_H 1 |
7446 | #define HAVE_SYS_WAIT_H 1 |
6951 | _ACEOF |
7447 | _ACEOF |
6952 | |
7448 | |
6953 | fi |
7449 | fi |
6954 | |
|
|
6955 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
6956 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
6957 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
6958 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6959 | else |
|
|
6960 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6961 | /* confdefs.h. */ |
|
|
6962 | _ACEOF |
|
|
6963 | cat confdefs.h >>conftest.$ac_ext |
|
|
6964 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6965 | /* end confdefs.h. */ |
|
|
6966 | #include <stdlib.h> |
|
|
6967 | #include <stdarg.h> |
|
|
6968 | #include <string.h> |
|
|
6969 | #include <float.h> |
|
|
6970 | |
|
|
6971 | int |
|
|
6972 | main () |
|
|
6973 | { |
|
|
6974 | |
|
|
6975 | ; |
|
|
6976 | return 0; |
|
|
6977 | } |
|
|
6978 | _ACEOF |
|
|
6979 | rm -f conftest.$ac_objext |
|
|
6980 | if { (ac_try="$ac_compile" |
|
|
6981 | case "(($ac_try" in |
|
|
6982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6983 | *) ac_try_echo=$ac_try;; |
|
|
6984 | esac |
|
|
6985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6986 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6987 | ac_status=$? |
|
|
6988 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6989 | rm -f conftest.er1 |
|
|
6990 | cat conftest.err >&5 |
|
|
6991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6992 | (exit $ac_status); } && { |
|
|
6993 | test -z "$ac_cxx_werror_flag" || |
|
|
6994 | test ! -s conftest.err |
|
|
6995 | } && test -s conftest.$ac_objext; then |
|
|
6996 | ac_cv_header_stdc=yes |
|
|
6997 | else |
|
|
6998 | echo "$as_me: failed program was:" >&5 |
|
|
6999 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7000 | |
|
|
7001 | ac_cv_header_stdc=no |
|
|
7002 | fi |
|
|
7003 | |
|
|
7004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7005 | |
|
|
7006 | if test $ac_cv_header_stdc = yes; then |
|
|
7007 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7008 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7009 | /* confdefs.h. */ |
|
|
7010 | _ACEOF |
|
|
7011 | cat confdefs.h >>conftest.$ac_ext |
|
|
7012 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7013 | /* end confdefs.h. */ |
|
|
7014 | #include <string.h> |
|
|
7015 | |
|
|
7016 | _ACEOF |
|
|
7017 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7018 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
7019 | : |
|
|
7020 | else |
|
|
7021 | ac_cv_header_stdc=no |
|
|
7022 | fi |
|
|
7023 | rm -f conftest* |
|
|
7024 | |
|
|
7025 | fi |
|
|
7026 | |
|
|
7027 | if test $ac_cv_header_stdc = yes; then |
|
|
7028 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7029 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7030 | /* confdefs.h. */ |
|
|
7031 | _ACEOF |
|
|
7032 | cat confdefs.h >>conftest.$ac_ext |
|
|
7033 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7034 | /* end confdefs.h. */ |
|
|
7035 | #include <stdlib.h> |
|
|
7036 | |
|
|
7037 | _ACEOF |
|
|
7038 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7039 | $EGREP "free" >/dev/null 2>&1; then |
|
|
7040 | : |
|
|
7041 | else |
|
|
7042 | ac_cv_header_stdc=no |
|
|
7043 | fi |
|
|
7044 | rm -f conftest* |
|
|
7045 | |
|
|
7046 | fi |
|
|
7047 | |
|
|
7048 | if test $ac_cv_header_stdc = yes; then |
|
|
7049 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7050 | if test "$cross_compiling" = yes; then |
|
|
7051 | : |
|
|
7052 | else |
|
|
7053 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7054 | /* confdefs.h. */ |
|
|
7055 | _ACEOF |
|
|
7056 | cat confdefs.h >>conftest.$ac_ext |
|
|
7057 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7058 | /* end confdefs.h. */ |
|
|
7059 | #include <ctype.h> |
|
|
7060 | #include <stdlib.h> |
|
|
7061 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7062 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7063 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7064 | #else |
|
|
7065 | # define ISLOWER(c) \ |
|
|
7066 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7067 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7068 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7069 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7070 | #endif |
|
|
7071 | |
|
|
7072 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7073 | int |
|
|
7074 | main () |
|
|
7075 | { |
|
|
7076 | int i; |
|
|
7077 | for (i = 0; i < 256; i++) |
|
|
7078 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7079 | || toupper (i) != TOUPPER (i)) |
|
|
7080 | return 2; |
|
|
7081 | return 0; |
|
|
7082 | } |
|
|
7083 | _ACEOF |
|
|
7084 | rm -f conftest$ac_exeext |
|
|
7085 | if { (ac_try="$ac_link" |
|
|
7086 | case "(($ac_try" in |
|
|
7087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7088 | *) ac_try_echo=$ac_try;; |
|
|
7089 | esac |
|
|
7090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7091 | (eval "$ac_link") 2>&5 |
|
|
7092 | ac_status=$? |
|
|
7093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7094 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7095 | { (case "(($ac_try" in |
|
|
7096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7097 | *) ac_try_echo=$ac_try;; |
|
|
7098 | esac |
|
|
7099 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7100 | (eval "$ac_try") 2>&5 |
|
|
7101 | ac_status=$? |
|
|
7102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7103 | (exit $ac_status); }; }; then |
|
|
7104 | : |
|
|
7105 | else |
|
|
7106 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7107 | echo "$as_me: failed program was:" >&5 |
|
|
7108 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7109 | |
|
|
7110 | ( exit $ac_status ) |
|
|
7111 | ac_cv_header_stdc=no |
|
|
7112 | fi |
|
|
7113 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7114 | fi |
|
|
7115 | |
|
|
7116 | |
|
|
7117 | fi |
|
|
7118 | fi |
|
|
7119 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
7120 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
7121 | if test $ac_cv_header_stdc = yes; then |
|
|
7122 | |
|
|
7123 | cat >>confdefs.h <<\_ACEOF |
|
|
7124 | #define STDC_HEADERS 1 |
|
|
7125 | _ACEOF |
|
|
7126 | |
|
|
7127 | fi |
|
|
7128 | |
|
|
7129 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
7130 | |
|
|
7131 | |
|
|
7132 | |
|
|
7133 | |
|
|
7134 | |
|
|
7135 | |
|
|
7136 | |
|
|
7137 | |
|
|
7138 | |
|
|
7139 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
7140 | inttypes.h stdint.h unistd.h |
|
|
7141 | do |
|
|
7142 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7143 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
7144 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
7145 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
7146 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7147 | else |
|
|
7148 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7149 | /* confdefs.h. */ |
|
|
7150 | _ACEOF |
|
|
7151 | cat confdefs.h >>conftest.$ac_ext |
|
|
7152 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7153 | /* end confdefs.h. */ |
|
|
7154 | $ac_includes_default |
|
|
7155 | |
|
|
7156 | #include <$ac_header> |
|
|
7157 | _ACEOF |
|
|
7158 | rm -f conftest.$ac_objext |
|
|
7159 | if { (ac_try="$ac_compile" |
|
|
7160 | case "(($ac_try" in |
|
|
7161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7162 | *) ac_try_echo=$ac_try;; |
|
|
7163 | esac |
|
|
7164 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7165 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7166 | ac_status=$? |
|
|
7167 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7168 | rm -f conftest.er1 |
|
|
7169 | cat conftest.err >&5 |
|
|
7170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7171 | (exit $ac_status); } && { |
|
|
7172 | test -z "$ac_cxx_werror_flag" || |
|
|
7173 | test ! -s conftest.err |
|
|
7174 | } && test -s conftest.$ac_objext; then |
|
|
7175 | eval "$as_ac_Header=yes" |
|
|
7176 | else |
|
|
7177 | echo "$as_me: failed program was:" >&5 |
|
|
7178 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7179 | |
|
|
7180 | eval "$as_ac_Header=no" |
|
|
7181 | fi |
|
|
7182 | |
|
|
7183 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7184 | fi |
|
|
7185 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
7186 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
7187 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
7188 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
7189 | cat >>confdefs.h <<_ACEOF |
|
|
7190 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7191 | _ACEOF |
|
|
7192 | |
|
|
7193 | fi |
|
|
7194 | |
|
|
7195 | done |
|
|
7196 | |
|
|
7197 | |
7450 | |
7198 | |
7451 | |
7199 | |
7452 | |
7200 | |
7453 | |
7201 | |
7454 | |
… | |
… | |
7484 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7737 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7485 | fi |
7738 | fi |
7486 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7739 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7487 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7740 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7488 | |
7741 | |
7489 | if test -n "$GCC"; then |
|
|
7490 | LDARG="-Wl," |
|
|
7491 | else |
|
|
7492 | LDARG="" |
|
|
7493 | fi |
|
|
7494 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g' |
|
|
7495 | |
|
|
7496 | ac_save_CFLAGS=$CFLAGS |
|
|
7497 | ac_save_LIBS=$LIBS |
|
|
7498 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
7499 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7500 | { echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
|
|
7501 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6; } |
|
|
7502 | if test "${rxvt_cv_rpath+set}" = set; then |
|
|
7503 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7504 | else |
|
|
7505 | if test "$cross_compiling" = yes; then |
|
|
7506 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
|
|
7507 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
|
|
7508 | else |
|
|
7509 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7510 | /* confdefs.h. */ |
|
|
7511 | _ACEOF |
|
|
7512 | cat confdefs.h >>conftest.$ac_ext |
|
|
7513 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7514 | /* end confdefs.h. */ |
|
|
7515 | #include <X11/Xlib.h> |
|
|
7516 | #include <stdlib.h> |
|
|
7517 | main() |
|
|
7518 | { |
|
|
7519 | exit(0); |
|
|
7520 | (void) XOpenDisplay("foobar"); |
|
|
7521 | } |
|
|
7522 | _ACEOF |
|
|
7523 | rm -f conftest$ac_exeext |
|
|
7524 | if { (ac_try="$ac_link" |
|
|
7525 | case "(($ac_try" in |
|
|
7526 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7527 | *) ac_try_echo=$ac_try;; |
|
|
7528 | esac |
|
|
7529 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7530 | (eval "$ac_link") 2>&5 |
|
|
7531 | ac_status=$? |
|
|
7532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7533 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7534 | { (case "(($ac_try" in |
|
|
7535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7536 | *) ac_try_echo=$ac_try;; |
|
|
7537 | esac |
|
|
7538 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7539 | (eval "$ac_try") 2>&5 |
|
|
7540 | ac_status=$? |
|
|
7541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7542 | (exit $ac_status); }; }; then |
|
|
7543 | rxvt_cv_rpath=yes |
|
|
7544 | else |
|
|
7545 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7546 | echo "$as_me: failed program was:" >&5 |
|
|
7547 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7548 | |
|
|
7549 | ( exit $ac_status ) |
|
|
7550 | rxvt_cv_rpath=no |
|
|
7551 | fi |
|
|
7552 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7553 | fi |
|
|
7554 | |
|
|
7555 | |
|
|
7556 | fi |
|
|
7557 | { echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
|
|
7558 | echo "${ECHO_T}$rxvt_cv_rpath" >&6; } |
|
|
7559 | if test x$rxvt_cv_rpath != xyes; then |
|
|
7560 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
|
|
7561 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7562 | { echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
|
|
7563 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6; } |
|
|
7564 | if test "${rxvt_cv_R+set}" = set; then |
|
|
7565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7566 | else |
|
|
7567 | if test "$cross_compiling" = yes; then |
|
|
7568 | rxvt_cv_R=no |
|
|
7569 | else |
|
|
7570 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7571 | /* confdefs.h. */ |
|
|
7572 | _ACEOF |
|
|
7573 | cat confdefs.h >>conftest.$ac_ext |
|
|
7574 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7575 | /* end confdefs.h. */ |
|
|
7576 | #include <X11/Xlib.h> |
|
|
7577 | #include <stdlib.h> |
|
|
7578 | main() |
|
|
7579 | { |
|
|
7580 | exit(0); |
|
|
7581 | (void) XOpenDisplay("foobar"); |
|
|
7582 | } |
|
|
7583 | _ACEOF |
|
|
7584 | rm -f conftest$ac_exeext |
|
|
7585 | if { (ac_try="$ac_link" |
|
|
7586 | case "(($ac_try" in |
|
|
7587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7588 | *) ac_try_echo=$ac_try;; |
|
|
7589 | esac |
|
|
7590 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7591 | (eval "$ac_link") 2>&5 |
|
|
7592 | ac_status=$? |
|
|
7593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7594 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7595 | { (case "(($ac_try" in |
|
|
7596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7597 | *) ac_try_echo=$ac_try;; |
|
|
7598 | esac |
|
|
7599 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7600 | (eval "$ac_try") 2>&5 |
|
|
7601 | ac_status=$? |
|
|
7602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7603 | (exit $ac_status); }; }; then |
|
|
7604 | rxvt_cv_R=yes |
|
|
7605 | else |
|
|
7606 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7607 | echo "$as_me: failed program was:" >&5 |
|
|
7608 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7609 | |
|
|
7610 | ( exit $ac_status ) |
|
|
7611 | rxvt_cv_R=no |
|
|
7612 | fi |
|
|
7613 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7614 | fi |
|
|
7615 | |
|
|
7616 | |
|
|
7617 | fi |
|
|
7618 | { echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
|
|
7619 | echo "${ECHO_T}$rxvt_cv_R" >&6; } |
|
|
7620 | if test x$rxvt_cv_R != xyes; then |
|
|
7621 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
7622 | fi |
|
|
7623 | fi |
|
|
7624 | |
|
|
7625 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7742 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7626 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7743 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7627 | if test "${rxvt_cv_xpointer+set}" = set; then |
7744 | if test "${rxvt_cv_xpointer+set}" = set; then |
7628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7745 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7629 | else |
7746 | else |
… | |
… | |
7676 | cat >>confdefs.h <<\_ACEOF |
7793 | cat >>confdefs.h <<\_ACEOF |
7677 | #define HAVE_XPOINTER 1 |
7794 | #define HAVE_XPOINTER 1 |
7678 | _ACEOF |
7795 | _ACEOF |
7679 | |
7796 | |
7680 | fi |
7797 | fi |
7681 | LIBS=$ac_save_LIBS |
|
|
7682 | CFLAGS=$ac_save_CFLAGS |
|
|
7683 | |
7798 | |
7684 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7799 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7685 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7800 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7686 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7801 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7687 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7802 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10102 | _ACEOF |
10217 | _ACEOF |
10103 | |
10218 | |
10104 | |
10219 | |
10105 | |
10220 | |
10106 | |
10221 | |
10107 | |
|
|
10108 | |
|
|
10109 | for ac_func in \ |
10222 | for ac_func in unsetenv |
10110 | unsetenv \ |
|
|
10111 | setutent \ |
|
|
10112 | on_exit \ |
|
|
10113 | |
|
|
10114 | do |
10223 | do |
10115 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10224 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10116 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10225 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10117 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10226 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10118 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10227 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
10257 | |
10366 | |
10258 | |
10367 | |
10259 | |
10368 | |
10260 | |
10369 | |
10261 | for ac_func in \ |
10370 | for ac_func in \ |
10262 | ttyslot \ |
|
|
10263 | updwtmp \ |
10371 | updwtmp \ |
10264 | updwtmpx \ |
10372 | updwtmpx \ |
|
|
10373 | updlastlogx \ |
10265 | |
10374 | |
10266 | do |
10375 | do |
10267 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10376 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10268 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10377 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10269 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10378 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
11690 | |
11799 | |
11691 | cat >>confdefs.h <<_ACEOF |
11800 | cat >>confdefs.h <<_ACEOF |
11692 | #define LASTLOG_FILE "$path_lastlog" |
11801 | #define LASTLOG_FILE "$path_lastlog" |
11693 | _ACEOF |
11802 | _ACEOF |
11694 | |
11803 | |
11695 | if test -d "$path_lastlog"; then |
|
|
11696 | |
|
|
11697 | cat >>confdefs.h <<\_ACEOF |
|
|
11698 | #define LASTLOG_IS_DIR 1 |
|
|
11699 | _ACEOF |
|
|
11700 | |
|
|
11701 | fi |
|
|
11702 | fi |
11804 | fi |
11703 | |
11805 | |
11704 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11806 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11705 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11807 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11706 | if test "${path_lastlogx+set}" = set; then |
11808 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
11788 | |
11890 | |
11789 | fi |
11891 | fi |
11790 | |
11892 | |
11791 | |
11893 | |
11792 | |
11894 | |
11793 | { echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
|
|
11794 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; } |
|
|
11795 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
|
|
11796 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11797 | else |
|
|
11798 | for ttys_file in /etc/ttys /etc/ttytab; |
|
|
11799 | do |
|
|
11800 | if test -f "$ttys_file" ; then |
|
|
11801 | rxvt_cv_path_ttytab=$ttys_file |
|
|
11802 | break |
|
|
11803 | fi |
|
|
11804 | done |
|
|
11805 | |
11895 | |
11806 | fi |
|
|
11807 | { echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 |
|
|
11808 | echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; } |
|
|
11809 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
11810 | |
|
|
11811 | cat >>confdefs.h <<_ACEOF |
|
|
11812 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
|
|
11813 | _ACEOF |
|
|
11814 | |
|
|
11815 | fi |
|
|
11816 | |
|
|
11817 | |
|
|
11818 | ac_save_LIBS=$LIBS |
11896 | save_LIBS=$LIBS |
11819 | ac_save_CFLAGS=$CFLAGS |
11897 | save_CFLAGS=$CFLAGS |
11820 | CFLAGS="$CFLAGS $X_CFLAGS" |
11898 | CFLAGS="$CFLAGS $X_CFLAGS" |
11821 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11899 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11822 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
11900 | if test x$support_xim = xyes; then |
11823 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
11824 | fi |
|
|
11825 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11901 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11826 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11902 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11827 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11903 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11904 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11829 | else |
11905 | else |
11830 | if test "$cross_compiling" = yes; then |
11906 | if test "$cross_compiling" = yes; then |
11831 | : |
11907 | : |
11832 | else |
11908 | else |
11833 | cat >conftest.$ac_ext <<_ACEOF |
11909 | cat >conftest.$ac_ext <<_ACEOF |
11834 | /* confdefs.h. */ |
11910 | /* confdefs.h. */ |
11835 | _ACEOF |
11911 | _ACEOF |
11836 | cat confdefs.h >>conftest.$ac_ext |
11912 | cat confdefs.h >>conftest.$ac_ext |
11837 | cat >>conftest.$ac_ext <<_ACEOF |
11913 | cat >>conftest.$ac_ext <<_ACEOF |
11838 | /* end confdefs.h. */ |
11914 | /* end confdefs.h. */ |
11839 | #include <X11/Xlib.h> |
11915 | #include <X11/Xlib.h> |
11840 | #include <stdlib.h> |
11916 | #include <stdlib.h> |
11841 | main() { |
11917 | main() { |
11842 | char *p; |
11918 | char *p; |
11843 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11919 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11844 | exit (XSupportsLocale() ? 0 : 1); |
11920 | exit (XSupportsLocale() ? 0 : 1); |
11845 | else |
11921 | else |
11846 | exit (1);} |
11922 | exit (1);} |
11847 | _ACEOF |
11923 | _ACEOF |
11848 | rm -f conftest$ac_exeext |
11924 | rm -f conftest$ac_exeext |
11849 | if { (ac_try="$ac_link" |
11925 | if { (ac_try="$ac_link" |
11850 | case "(($ac_try" in |
11926 | case "(($ac_try" in |
11851 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11927 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
11863 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11939 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11864 | (eval "$ac_try") 2>&5 |
11940 | (eval "$ac_try") 2>&5 |
11865 | ac_status=$? |
11941 | ac_status=$? |
11866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11867 | (exit $ac_status); }; }; then |
11943 | (exit $ac_status); }; }; then |
11868 | rxvt_cv_func_xlocale=yes |
11944 | rxvt_cv_func_xlocale=yes |
11869 | else |
11945 | else |
11870 | echo "$as_me: program exited with status $ac_status" >&5 |
11946 | echo "$as_me: program exited with status $ac_status" >&5 |
11871 | echo "$as_me: failed program was:" >&5 |
11947 | echo "$as_me: failed program was:" >&5 |
11872 | sed 's/^/| /' conftest.$ac_ext >&5 |
11948 | sed 's/^/| /' conftest.$ac_ext >&5 |
11873 | |
11949 | |
… | |
… | |
11879 | |
11955 | |
11880 | |
11956 | |
11881 | fi |
11957 | fi |
11882 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11958 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11883 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11959 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11884 | if test x$support_xim = xyes; then |
|
|
11885 | if test x$rxvt_cv_func_xlocale = xyes; then |
11960 | if test x$rxvt_cv_func_xlocale = xyes; then |
11886 | |
11961 | |
11887 | cat >>confdefs.h <<\_ACEOF |
11962 | cat >>confdefs.h <<\_ACEOF |
11888 | #define USE_XIM 1 |
11963 | #define USE_XIM 1 |
11889 | _ACEOF |
11964 | _ACEOF |
11890 | |
11965 | |
|
|
11966 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
11967 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
11968 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
11969 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11970 | else |
|
|
11971 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11972 | |
|
|
11973 | #include <X11/Xlib.h> |
|
|
11974 | |
|
|
11975 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
11976 | |
|
|
11977 | void f() { |
|
|
11978 | XIMCallback cb; |
|
|
11979 | cb.callback = im_destroy_cb; |
|
|
11980 | } |
|
|
11981 | |
|
|
11982 | _ACEOF |
|
|
11983 | rm -f conftest.$ac_objext |
|
|
11984 | if { (ac_try="$ac_compile" |
|
|
11985 | case "(($ac_try" in |
|
|
11986 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
11987 | *) ac_try_echo=$ac_try;; |
|
|
11988 | esac |
|
|
11989 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
11990 | (eval "$ac_compile") 2>conftest.er1 |
|
|
11991 | ac_status=$? |
|
|
11992 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11993 | rm -f conftest.er1 |
|
|
11994 | cat conftest.err >&5 |
|
|
11995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11996 | (exit $ac_status); } && { |
|
|
11997 | test -z "$ac_cxx_werror_flag" || |
|
|
11998 | test ! -s conftest.err |
|
|
11999 | } && test -s conftest.$ac_objext; then |
|
|
12000 | rxvt_broken_ximcb=yes |
|
|
12001 | else |
|
|
12002 | echo "$as_me: failed program was:" >&5 |
|
|
12003 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12004 | |
|
|
12005 | rxvt_broken_ximcb=no |
|
|
12006 | fi |
|
|
12007 | |
|
|
12008 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12009 | fi |
|
|
12010 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12011 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12012 | |
|
|
12013 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12014 | |
|
|
12015 | cat >>confdefs.h <<\_ACEOF |
|
|
12016 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12017 | _ACEOF |
|
|
12018 | |
|
|
12019 | fi |
11891 | fi |
12020 | fi |
11892 | fi |
12021 | fi |
11893 | |
12022 | |
11894 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
12023 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11895 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
12024 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
… | |
… | |
11948 | cat >>confdefs.h <<\_ACEOF |
12077 | cat >>confdefs.h <<\_ACEOF |
11949 | #define HAVE_XSETLOCALE 1 |
12078 | #define HAVE_XSETLOCALE 1 |
11950 | _ACEOF |
12079 | _ACEOF |
11951 | |
12080 | |
11952 | fi |
12081 | fi |
11953 | LIBS=$ac_save_LIBS |
12082 | LIBS=$save_LIBS |
11954 | CFLAGS=$ac_save_CFLAGS |
12083 | CFLAGS=$save_CFLAGS |
11955 | |
12084 | |
11956 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
12085 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
11957 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
12086 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
11958 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
12087 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
11959 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12088 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12162 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12291 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12163 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12292 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12164 | { (exit 1); exit 1; }; } |
12293 | { (exit 1); exit 1; }; } |
12165 | fi |
12294 | fi |
12166 | |
12295 | |
12167 | |
|
|
12168 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
12169 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
12170 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
12171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12172 | else |
|
|
12173 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12174 | |
|
|
12175 | #include <X11/Xlib.h> |
|
|
12176 | |
|
|
12177 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
12178 | |
|
|
12179 | void f() { |
|
|
12180 | XIMCallback cb; |
|
|
12181 | cb.callback = im_destroy_cb; |
|
|
12182 | } |
|
|
12183 | |
|
|
12184 | _ACEOF |
|
|
12185 | rm -f conftest.$ac_objext |
|
|
12186 | if { (ac_try="$ac_compile" |
|
|
12187 | case "(($ac_try" in |
|
|
12188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12189 | *) ac_try_echo=$ac_try;; |
|
|
12190 | esac |
|
|
12191 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
12192 | (eval "$ac_compile") 2>conftest.er1 |
|
|
12193 | ac_status=$? |
|
|
12194 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12195 | rm -f conftest.er1 |
|
|
12196 | cat conftest.err >&5 |
|
|
12197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12198 | (exit $ac_status); } && { |
|
|
12199 | test -z "$ac_cxx_werror_flag" || |
|
|
12200 | test ! -s conftest.err |
|
|
12201 | } && test -s conftest.$ac_objext; then |
|
|
12202 | rxvt_broken_ximcb=yes |
|
|
12203 | else |
|
|
12204 | echo "$as_me: failed program was:" >&5 |
|
|
12205 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12206 | |
|
|
12207 | rxvt_broken_ximcb=no |
|
|
12208 | fi |
|
|
12209 | |
|
|
12210 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12211 | fi |
|
|
12212 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12213 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12214 | |
|
|
12215 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12216 | |
|
|
12217 | cat >>confdefs.h <<\_ACEOF |
|
|
12218 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12219 | _ACEOF |
|
|
12220 | |
|
|
12221 | fi |
|
|
12222 | |
12296 | |
12223 | |
12297 | |
12224 | |
12298 | |
12225 | |
12299 | |
12226 | |
12300 | |
… | |
… | |
12907 | echo "${ECHO_T}no" >&6; } |
12981 | echo "${ECHO_T}no" >&6; } |
12908 | fi |
12982 | fi |
12909 | |
12983 | |
12910 | |
12984 | |
12911 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12985 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12912 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12986 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
12913 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12987 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12914 | else |
12988 | else |
12915 | # Extract the first word of "xft-config", so it can be a program name with args. |
12989 | # Extract the first word of "xft-config", so it can be a program name with args. |
12916 | set dummy xft-config; ac_word=$2 |
12990 | set dummy xft-config; ac_word=$2 |
12917 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12991 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
12952 | echo "${ECHO_T}no" >&6; } |
13026 | echo "${ECHO_T}no" >&6; } |
12953 | fi |
13027 | fi |
12954 | |
13028 | |
12955 | |
13029 | |
12956 | if test $XFT_CONFIG != no; then |
13030 | if test $XFT_CONFIG != no; then |
12957 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
13031 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
12958 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13032 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12959 | fi |
13033 | fi |
12960 | fi |
13034 | fi |
12961 | |
13035 | |
|
|
13036 | save_LIBS="$LIBS" |
|
|
13037 | LIBS="$LIBS $X_LIBS" |
12962 | |
13038 | |
12963 | for ac_header in X11/Xft/Xft.h |
13039 | for ac_header in X11/Xft/Xft.h |
12964 | do |
13040 | do |
12965 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13041 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12966 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13042 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
13099 | support_xft=no |
13175 | support_xft=no |
13100 | fi |
13176 | fi |
13101 | |
13177 | |
13102 | done |
13178 | done |
13103 | |
13179 | |
13104 | |
|
|
13105 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13180 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13106 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13181 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13107 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13182 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13108 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13183 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13109 | else |
13184 | else |
13110 | ac_check_lib_save_LIBS=$LIBS |
13185 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13162 | LIBS=$ac_check_lib_save_LIBS |
13237 | LIBS=$ac_check_lib_save_LIBS |
13163 | fi |
13238 | fi |
13164 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13239 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13165 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13240 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13166 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13241 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13167 | cat >>confdefs.h <<_ACEOF |
13242 | : |
13168 | #define HAVE_LIBXFT 1 |
|
|
13169 | _ACEOF |
|
|
13170 | |
|
|
13171 | LIBS="-lXft $LIBS" |
|
|
13172 | |
|
|
13173 | else |
13243 | else |
13174 | support_xft=no |
13244 | support_xft=no |
13175 | fi |
13245 | fi |
13176 | |
13246 | |
|
|
13247 | LIBS="$save_LIBS" |
13177 | |
13248 | |
13178 | if test x$support_xft = xyes; then |
13249 | if test x$support_xft = xyes; then |
13179 | |
13250 | |
13180 | cat >>confdefs.h <<\_ACEOF |
13251 | cat >>confdefs.h <<\_ACEOF |
13181 | #define XFT 1 |
13252 | #define XFT 1 |
… | |
… | |
13209 | cat >>confdefs.h <<\_ACEOF |
13280 | cat >>confdefs.h <<\_ACEOF |
13210 | #define OFF_FOCUS_FADING 1 |
13281 | #define OFF_FOCUS_FADING 1 |
13211 | _ACEOF |
13282 | _ACEOF |
13212 | |
13283 | |
13213 | fi |
13284 | fi |
13214 | if test x$support_tinting = xyes; then |
|
|
13215 | |
|
|
13216 | cat >>confdefs.h <<\_ACEOF |
|
|
13217 | #define TINTING 1 |
|
|
13218 | _ACEOF |
|
|
13219 | |
|
|
13220 | fi |
|
|
13221 | if test x$support_inheritpixmap = xyes; then |
13285 | if test x$support_inheritpixmap = xyes; then |
13222 | |
13286 | |
13223 | cat >>confdefs.h <<\_ACEOF |
13287 | cat >>confdefs.h <<\_ACEOF |
13224 | #define ENABLE_TRANSPARENCY 1 |
13288 | #define ENABLE_TRANSPARENCY 1 |
13225 | _ACEOF |
13289 | _ACEOF |
… | |
… | |
13258 | cat >>confdefs.h <<\_ACEOF |
13322 | cat >>confdefs.h <<\_ACEOF |
13259 | #define MOUSE_SLIP_WHEELING 1 |
13323 | #define MOUSE_SLIP_WHEELING 1 |
13260 | _ACEOF |
13324 | _ACEOF |
13261 | |
13325 | |
13262 | fi |
13326 | fi |
13263 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
|
|
13264 | |
|
|
13265 | cat >>confdefs.h <<\_ACEOF |
|
|
13266 | #define XPM_BACKGROUND 1 |
|
|
13267 | _ACEOF |
|
|
13268 | |
|
|
13269 | fi |
|
|
13270 | |
|
|
13271 | if test x$support_afterimage = xyes; then |
13327 | if test x$support_afterimage = xyes; then |
13272 | |
13328 | |
13273 | cat >>confdefs.h <<\_ACEOF |
13329 | cat >>confdefs.h <<\_ACEOF |
13274 | #define HAVE_AFTERIMAGE 1 |
13330 | #define HAVE_AFTERIMAGE 1 |
13275 | _ACEOF |
13331 | _ACEOF |
13276 | |
13332 | |
13277 | fi |
|
|
13278 | |
|
|
13279 | if test x$support_afterstep = xyes; then |
|
|
13280 | |
13333 | |
13281 | cat >>confdefs.h <<\_ACEOF |
13334 | cat >>confdefs.h <<\_ACEOF |
13282 | #define AFTERSTEP_INTEGRATION 1 |
13335 | #define BG_IMAGE_FROM_FILE 1 |
13283 | _ACEOF |
13336 | _ACEOF |
13284 | |
13337 | |
13285 | fi |
13338 | fi |
|
|
13339 | |
13286 | |
13340 | |
13287 | if test x$support_scroll_rxvt = xyes; then |
13341 | if test x$support_scroll_rxvt = xyes; then |
13288 | |
13342 | |
13289 | cat >>confdefs.h <<\_ACEOF |
13343 | cat >>confdefs.h <<\_ACEOF |
13290 | #define RXVT_SCROLLBAR 1 |
13344 | #define RXVT_SCROLLBAR 1 |
… | |
… | |
13559 | |
13613 | |
13560 | |
13614 | |
13561 | |
13615 | |
13562 | |
13616 | |
13563 | |
13617 | |
13564 | if test x$support_perl = xyes; then |
|
|
13565 | support_frills=yes |
|
|
13566 | fi |
|
|
13567 | |
13618 | |
13568 | |
13619 | |
13569 | |
13620 | |
13570 | |
13621 | |
13571 | |
13622 | |
13572 | |
|
|
13573 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
13574 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
13575 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
13576 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
13577 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
13578 | fi |
|
|
13579 | |
13623 | |
13580 | |
13624 | |
13581 | |
13625 | |
13582 | |
13626 | |
13583 | |
13627 | |
… | |
… | |
14351 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14395 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14352 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14396 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14353 | GREP!$GREP$ac_delim |
14397 | GREP!$GREP$ac_delim |
14354 | EGREP!$EGREP$ac_delim |
14398 | EGREP!$EGREP$ac_delim |
14355 | LINKER!$LINKER$ac_delim |
14399 | LINKER!$LINKER$ac_delim |
14356 | CXXLIB!$CXXLIB$ac_delim |
|
|
14357 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
14400 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
14358 | RXVTNAME!$RXVTNAME$ac_delim |
14401 | RXVTNAME!$RXVTNAME$ac_delim |
|
|
14402 | CXXCPP!$CXXCPP$ac_delim |
14359 | TIC!$TIC$ac_delim |
14403 | TIC!$TIC$ac_delim |
14360 | XMKMF!$XMKMF$ac_delim |
14404 | XMKMF!$XMKMF$ac_delim |
14361 | CXXCPP!$CXXCPP$ac_delim |
|
|
14362 | X_CFLAGS!$X_CFLAGS$ac_delim |
14405 | X_CFLAGS!$X_CFLAGS$ac_delim |
14363 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14406 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14364 | X_LIBS!$X_LIBS$ac_delim |
14407 | X_LIBS!$X_LIBS$ac_delim |
14365 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14408 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14366 | afterimage_config!$afterimage_config$ac_delim |
14409 | afterimage_config!$afterimage_config$ac_delim |
14367 | XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim |
|
|
14368 | XPM_CFLAGS!$XPM_CFLAGS$ac_delim |
|
|
14369 | XPM_LIBS!$XPM_LIBS$ac_delim |
|
|
14370 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14410 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14371 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14411 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14372 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14412 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14373 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14413 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14374 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
14414 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
… | |
… | |
14379 | PERLLIB!$PERLLIB$ac_delim |
14419 | PERLLIB!$PERLLIB$ac_delim |
14380 | PERLFLAGS!$PERLFLAGS$ac_delim |
14420 | PERLFLAGS!$PERLFLAGS$ac_delim |
14381 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14421 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14382 | IF_PERL!$IF_PERL$ac_delim |
14422 | IF_PERL!$IF_PERL$ac_delim |
14383 | PERL_O!$PERL_O$ac_delim |
14423 | PERL_O!$PERL_O$ac_delim |
14384 | LIBAFTERIMAGE_CFLAGS!$LIBAFTERIMAGE_CFLAGS$ac_delim |
14424 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14385 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14425 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14386 | include_stdint_h!$include_stdint_h$ac_delim |
14426 | include_stdint_h!$include_stdint_h$ac_delim |
|
|
14427 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14428 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14429 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14430 | include_string_h!$include_string_h$ac_delim |
14387 | _ACEOF |
14431 | _ACEOF |
14388 | |
14432 | |
14389 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14433 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14390 | break |
14434 | break |
14391 | elif $ac_last_try; then |
14435 | elif $ac_last_try; then |
… | |
… | |
14423 | |
14467 | |
14424 | |
14468 | |
14425 | ac_delim='%!_!# ' |
14469 | ac_delim='%!_!# ' |
14426 | for ac_last_try in false false false false false :; do |
14470 | for ac_last_try in false false false false false :; do |
14427 | cat >conf$$subs.sed <<_ACEOF |
14471 | cat >conf$$subs.sed <<_ACEOF |
14428 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14429 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14430 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14431 | include_string_h!$include_string_h$ac_delim |
|
|
14432 | include_fcntl_h!$include_fcntl_h$ac_delim |
14472 | include_fcntl_h!$include_fcntl_h$ac_delim |
14433 | include_util_h!$include_util_h$ac_delim |
14473 | include_util_h!$include_util_h$ac_delim |
14434 | include_assert_h!$include_assert_h$ac_delim |
14474 | include_assert_h!$include_assert_h$ac_delim |
14435 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14475 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14436 | include_sys_select_h!$include_sys_select_h$ac_delim |
14476 | include_sys_select_h!$include_sys_select_h$ac_delim |
… | |
… | |
14439 | include_time_h!$include_time_h$ac_delim |
14479 | include_time_h!$include_time_h$ac_delim |
14440 | LIBOBJS!$LIBOBJS$ac_delim |
14480 | LIBOBJS!$LIBOBJS$ac_delim |
14441 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14481 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14442 | _ACEOF |
14482 | _ACEOF |
14443 | |
14483 | |
14444 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then |
14484 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then |
14445 | break |
14485 | break |
14446 | elif $ac_last_try; then |
14486 | elif $ac_last_try; then |
14447 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14487 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14448 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14488 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14449 | { (exit 1); exit 1; }; } |
14489 | { (exit 1); exit 1; }; } |
… | |
… | |
14878 | Install path: ${prefix}/bin |
14918 | Install path: ${prefix}/bin |
14879 | Compiler: $CXX |
14919 | Compiler: $CXX |
14880 | Compiler flags: $CXXFLAGS |
14920 | Compiler flags: $CXXFLAGS |
14881 | Linker: $LINKER" |
14921 | Linker: $LINKER" |
14882 | |
14922 | |
14883 | if test x$support_xpm = xyes; then |
|
|
14884 | echo " Xpm library: $XPM_LIBS" |
|
|
14885 | fi |
|
|
14886 | |
|
|
14887 | if test x$support_afterimage = xyes; then |
|
|
14888 | echo " AfterImage support: yes" |
|
|
14889 | fi |
|
|
14890 | |
|
|
14891 | if test x$support_afterstep = xyes; then |
|
|
14892 | echo " AfterStep integration: yes" |
|
|
14893 | fi |
|
|
14894 | |
|
|
14895 | if test x$term != x; then |
14923 | if test x$term != x; then |
14896 | echo " set TERM to: $term" |
14924 | echo " set TERM to: $term" |
14897 | fi |
14925 | fi |
14898 | if test x$terminfo != x; then |
14926 | if test x$terminfo != x; then |
14899 | echo " set TERMINFO to: $terminfo" |
14927 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
14903 | if test x$RESFALLBACK != x; then |
14931 | if test x$RESFALLBACK != x; then |
14904 | echo " resource class fallback: $RESFALLBACK" |
14932 | echo " resource class fallback: $RESFALLBACK" |
14905 | fi |
14933 | fi |
14906 | echo |
14934 | echo |
14907 | echo " embedded perl: $support_perl" |
14935 | echo " embedded perl: $support_perl" |
|
|
14936 | echo " libafterimage: $support_afterimage" |
14908 | echo |
14937 | echo |
14909 | if test x$support_xpm = xneedsmanualspecification; then |
|
|
14910 | echo ".----------------------------------------------------------------." |
|
|
14911 | echo ". WARNING: --enable-xpm-background was specified however the ." |
|
|
14912 | echo ". XPM includes files and libraries could not be found. ." |
|
|
14913 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
|
|
14914 | echo ". to use them you should rerun configure with the ." |
|
|
14915 | echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ." |
|
|
14916 | echo ". and --with-xpm-library=/path/to/xpm/library lines. ." |
|
|
14917 | echo ".----------------------------------------------------------------." |
|
|
14918 | fi |
|
|
14919 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14938 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14920 | echo ".----------------------------------------------------------------." |
14939 | echo ".----------------------------------------------------------------." |
14921 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14940 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14922 | echo ". functions could not be found. ." |
14941 | echo ". functions could not be found. ." |
14923 | echo ". XIM is now being DISABLED! ." |
14942 | echo ". XIM is now being DISABLED! ." |