… | |
… | |
679 | GREP |
679 | GREP |
680 | EGREP |
680 | EGREP |
681 | LINKER |
681 | LINKER |
682 | INSTALL_LIBRXVT |
682 | INSTALL_LIBRXVT |
683 | RXVTNAME |
683 | RXVTNAME |
684 | MV |
684 | CXXCPP |
685 | CP |
|
|
686 | LN |
|
|
687 | SED |
|
|
688 | ECHO |
|
|
689 | CMP |
|
|
690 | TIC |
685 | TIC |
691 | XMKMF |
686 | XMKMF |
692 | CXXCPP |
|
|
693 | X_CFLAGS |
687 | X_CFLAGS |
694 | X_PRE_LIBS |
688 | X_PRE_LIBS |
695 | X_LIBS |
689 | X_LIBS |
696 | X_EXTRA_LIBS |
690 | X_EXTRA_LIBS |
697 | afterimage_config |
691 | afterimage_config |
698 | XPM_CPPFLAGS |
|
|
699 | XPM_CFLAGS |
|
|
700 | XPM_LIBS |
|
|
701 | rxvt_int16_typedef |
692 | rxvt_int16_typedef |
702 | rxvt_uint16_typedef |
693 | rxvt_uint16_typedef |
703 | rxvt_int32_typedef |
694 | rxvt_int32_typedef |
704 | rxvt_uint32_typedef |
695 | rxvt_uint32_typedef |
705 | rxvt_intp_define |
696 | rxvt_intp_define |
… | |
… | |
710 | PERLLIB |
701 | PERLLIB |
711 | PERLFLAGS |
702 | PERLFLAGS |
712 | PERLPRIVLIBEXP |
703 | PERLPRIVLIBEXP |
713 | IF_PERL |
704 | IF_PERL |
714 | PERL_O |
705 | PERL_O |
715 | DEBUG |
|
|
716 | DINCLUDE |
|
|
717 | DLIB |
|
|
718 | LIBAFTERIMAGE_CFLAGS |
706 | AFTERIMAGE_CFLAGS |
719 | AFTERIMAGE_LIBS |
707 | AFTERIMAGE_LIBS |
720 | include_stdint_h |
708 | include_stdint_h |
721 | include_stdarg_h |
709 | include_stdarg_h |
722 | include_stdlib_h |
710 | include_stdlib_h |
723 | include_unistd_h |
711 | include_unistd_h |
… | |
… | |
743 | CPPFLAGS |
731 | CPPFLAGS |
744 | CXX |
732 | CXX |
745 | CXXFLAGS |
733 | CXXFLAGS |
746 | CCC |
734 | CCC |
747 | CPP |
735 | CPP |
748 | XMKMF |
|
|
749 | CXXCPP' |
736 | CXXCPP |
|
|
737 | XMKMF' |
750 | |
738 | |
751 | |
739 | |
752 | # Initialize some variables set by options. |
740 | # Initialize some variables set by options. |
753 | ac_init_help= |
741 | ac_init_help= |
754 | ac_init_version=false |
742 | ac_init_version=false |
… | |
… | |
1329 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1330 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1331 | --enable-everything enable standard non-multichoice features |
1319 | --enable-everything enable standard non-multichoice features |
1332 | NOTE: this option is order dependent |
1320 | NOTE: this option is order dependent |
1333 | NOTE: automatically enabled with --enable-shared |
1321 | NOTE: automatically enabled with --enable-shared |
|
|
1322 | --enable-warnings turn on g++ warnings |
1334 | --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 |
1335 | --enable-combining enable composition of base and combining characters |
1324 | --enable-combining enable composition of base and combining characters |
1336 | --enable-xft enable xft support on systems that have it |
1325 | --enable-xft enable xft support on systems that have it |
1337 | --enable-font-styles enable bold and italic support |
1326 | --enable-font-styles enable bold and italic support |
1338 | --enable-xpm-background enable background pixmaps |
|
|
1339 | --enable-afterimage enable integration with libAfterImage for background images |
1327 | --enable-afterimage enable integration with libAfterImage for background images |
1340 | --enable-afterstep enable integration with AfterStep window manager |
|
|
1341 | --enable-transparency enable transparent backgrounds |
1328 | --enable-transparency enable transparent backgrounds |
1342 | --enable-tinting enable tinting of transparent bg |
|
|
1343 | --enable-fading enable colors fading when off focus |
1329 | --enable-fading enable colors fading when off focus |
1344 | --enable-rxvt-scroll enable rxvt style scrollbar |
1330 | --enable-rxvt-scroll enable rxvt style scrollbar |
1345 | --enable-next-scroll enable NeXT style scrollbar |
1331 | --enable-next-scroll enable NeXT style scrollbar |
1346 | --enable-xterm-scroll enable Xterm style scrollbar |
1332 | --enable-xterm-scroll enable Xterm style scrollbar |
1347 | --enable-perl enable embedded perl interpreter |
1333 | --enable-perl enable embedded perl interpreter |
… | |
… | |
1349 | --enable-xim XIM (X Input Method) protocol support |
1335 | --enable-xim XIM (X Input Method) protocol support |
1350 | --disable-backspace-key disable handling of the backspace key |
1336 | --disable-backspace-key disable handling of the backspace key |
1351 | --disable-delete-key disable handling of the delete key |
1337 | --disable-delete-key disable handling of the delete key |
1352 | --disable-resources disable all resource checking |
1338 | --disable-resources disable all resource checking |
1353 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1354 | --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) |
1355 | --disable-swapscreen disable swap screen support |
1341 | --disable-swapscreen disable swap screen support |
1356 | --enable-iso14755 enable support for extended ISO 14755 modes |
1342 | --enable-iso14755 enable support for extended ISO 14755 modes |
1357 | --enable-frills enable support for rarely used features |
1343 | --enable-frills enable support for rarely used features |
1358 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1344 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1359 | --enable-selectionscrolling enable scrolling during selections |
1345 | --enable-selectionscrolling enable scrolling during selections |
1360 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1346 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1361 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1347 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1362 | --enable-smart-resize enable smart growth/shrink behaviour |
1348 | --enable-smart-resize enable smart growth/shrink behaviour |
1363 | --enable-text-blink enable blinking text |
1349 | --enable-text-blink enable blinking text |
1364 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1350 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1365 | --enable-utmp enable utmp (utmpx) support |
1351 | --enable-utmp enable utmp (utmpx) support |
1366 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1352 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
… | |
… | |
1368 | |
1354 | |
1369 | Optional Packages: |
1355 | Optional Packages: |
1370 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1356 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1371 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1357 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1372 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1358 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1373 | --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) |
1374 | --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) |
1375 | --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) |
1376 | --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) |
1377 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1363 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1378 | --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 |
1379 | --with-x use the X Window System |
1365 | --with-x use the X Window System |
1380 | --with-xpm-includes=DIR use XPM includes in DIR |
|
|
1381 | --with-xpm-library=DIR use XPM library in DIR |
|
|
1382 | --with-xpm use XPM |
|
|
1383 | |
1366 | |
1384 | Some influential environment variables: |
1367 | Some influential environment variables: |
1385 | CC C compiler command |
1368 | CC C compiler command |
1386 | CFLAGS C compiler flags |
1369 | CFLAGS C compiler flags |
1387 | 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 |
… | |
… | |
1390 | 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 |
1391 | you have headers in a nonstandard directory <include dir> |
1374 | you have headers in a nonstandard directory <include dir> |
1392 | CXX C++ compiler command |
1375 | CXX C++ compiler command |
1393 | CXXFLAGS C++ compiler flags |
1376 | CXXFLAGS C++ compiler flags |
1394 | CPP C preprocessor |
1377 | CPP C preprocessor |
|
|
1378 | CXXCPP C++ preprocessor |
1395 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1379 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1396 | CXXCPP C++ preprocessor |
|
|
1397 | |
1380 | |
1398 | 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 |
1399 | it to find libraries and programs with nonstandard names/locations. |
1382 | it to find libraries and programs with nonstandard names/locations. |
1400 | |
1383 | |
1401 | _ACEOF |
1384 | _ACEOF |
… | |
… | |
1937 | |
1920 | |
1938 | |
1921 | |
1939 | |
1922 | |
1940 | 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` |
1941 | 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 | |
1942 | echo "" |
1926 | echo "" |
1943 | echo "configuring for rxvt $VERSION" |
1927 | echo "configuring for rxvt $VERSION" |
1944 | echo "" |
1928 | echo "" |
1945 | |
1929 | |
1946 | orig_CXXFLAGS="$CXXFLAGS" |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
… | |
… | |
3887 | LINKER=$LINKER |
3871 | LINKER=$LINKER |
3888 | |
3872 | |
3889 | |
3873 | |
3890 | if test -z "$orig_CXXFLAGS"; then |
3874 | if test -z "$orig_CXXFLAGS"; then |
3891 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3875 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3892 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3876 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3893 | cat >conftest.$ac_ext <<_ACEOF |
3877 | cat >conftest.$ac_ext <<_ACEOF |
3894 | /* confdefs.h. */ |
3878 | /* confdefs.h. */ |
3895 | _ACEOF |
3879 | _ACEOF |
3896 | cat confdefs.h >>conftest.$ac_ext |
3880 | cat confdefs.h >>conftest.$ac_ext |
3897 | cat >>conftest.$ac_ext <<_ACEOF |
3881 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
3945 | |
3929 | |
3946 | case $host in |
3930 | case $host in |
3947 | *-*-solaris* ) |
3931 | *-*-solaris* ) |
3948 | |
3932 | |
3949 | cat >>confdefs.h <<\_ACEOF |
3933 | cat >>confdefs.h <<\_ACEOF |
3950 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3951 | _ACEOF |
|
|
3952 | |
|
|
3953 | |
|
|
3954 | cat >>confdefs.h <<\_ACEOF |
|
|
3955 | #define _XOPEN_SOURCE 2 |
3934 | #define _XOPEN_SOURCE 500 |
3956 | _ACEOF |
|
|
3957 | |
|
|
3958 | |
|
|
3959 | cat >>confdefs.h <<\_ACEOF |
|
|
3960 | #define __EXTENSIONS__ 1 |
|
|
3961 | _ACEOF |
3935 | _ACEOF |
3962 | |
3936 | |
3963 | ;; |
3937 | ;; |
3964 | esac |
3938 | esac |
3965 | |
3939 | |
… | |
… | |
4420 | |
4394 | |
4421 | |
4395 | |
4422 | |
4396 | |
4423 | support_frills=yes |
4397 | support_frills=yes |
4424 | support_inheritpixmap=yes |
4398 | support_inheritpixmap=yes |
4425 | support_tinting=yes |
|
|
4426 | support_fading=yes |
4399 | support_fading=yes |
4427 | support_keepscrolling=yes |
4400 | support_keepscrolling=yes |
4428 | support_selectionscrolling=yes |
4401 | support_selectionscrolling=yes |
4429 | support_mousewheel=yes |
4402 | support_mousewheel=yes |
4430 | support_mouseslipwheel=yes |
4403 | support_mouseslipwheel=yes |
… | |
… | |
4433 | support_scroll_rxvt=yes |
4406 | support_scroll_rxvt=yes |
4434 | support_scroll_next=yes |
4407 | support_scroll_next=yes |
4435 | support_scroll_xterm=yes |
4408 | support_scroll_xterm=yes |
4436 | support_scroll_plain=yes |
4409 | support_scroll_plain=yes |
4437 | support_xim=yes |
4410 | support_xim=yes |
4438 | support_xpm=yes |
|
|
4439 | support_afterimage=yes |
4411 | support_afterimage=yes |
4440 | support_afterstep=yes |
4412 | support_afterstep=yes |
4441 | support_xft=yes |
4413 | support_xft=yes |
4442 | support_unicode3=no |
4414 | support_unicode3=no |
4443 | support_combining=yes |
4415 | support_combining=yes |
… | |
… | |
4462 | if test "${enable_everything+set}" = set; then |
4434 | if test "${enable_everything+set}" = set; then |
4463 | enableval=$enable_everything; |
4435 | enableval=$enable_everything; |
4464 | if test x$enableval = xno; then |
4436 | if test x$enableval = xno; then |
4465 | support_frills=no |
4437 | support_frills=no |
4466 | support_inheritpixmap=no |
4438 | support_inheritpixmap=no |
4467 | support_tinting=no |
|
|
4468 | support_fading=no |
4439 | support_fading=no |
4469 | support_keepscrolling=no |
4440 | support_keepscrolling=no |
4470 | support_selectionscrolling=no |
4441 | support_selectionscrolling=no |
4471 | support_lastlog=no |
4442 | support_lastlog=no |
4472 | support_mousewheel=no |
4443 | support_mousewheel=no |
… | |
… | |
4478 | support_scroll_xterm=no |
4449 | support_scroll_xterm=no |
4479 | support_scroll_plain=no |
4450 | support_scroll_plain=no |
4480 | support_utmp=no |
4451 | support_utmp=no |
4481 | support_wtmp=no |
4452 | support_wtmp=no |
4482 | support_xim=no |
4453 | support_xim=no |
4483 | support_xpm=no |
|
|
4484 | support_afterimage=no |
4454 | support_afterimage=no |
4485 | support_afterstep=no |
4455 | support_afterstep=no |
4486 | support_xft=no |
4456 | support_xft=no |
4487 | support_unicode3=no |
4457 | support_unicode3=no |
4488 | support_combining=no |
4458 | support_combining=no |
… | |
… | |
4493 | codesets= |
4463 | codesets= |
4494 | fi |
4464 | fi |
4495 | if test x$enableval = xyes; then |
4465 | if test x$enableval = xyes; then |
4496 | support_frills=yes |
4466 | support_frills=yes |
4497 | support_inheritpixmap=yes |
4467 | support_inheritpixmap=yes |
4498 | support_tinting=yes |
|
|
4499 | support_fading=yes |
4468 | support_fading=yes |
4500 | support_keepscrolling=yes |
4469 | support_keepscrolling=yes |
4501 | support_selectionscrolling=yes |
4470 | support_selectionscrolling=yes |
4502 | support_lastlog=yes |
4471 | support_lastlog=yes |
4503 | support_mousewheel=yes |
4472 | support_mousewheel=yes |
… | |
… | |
4509 | support_scroll_xterm=yes |
4478 | support_scroll_xterm=yes |
4510 | support_scroll_plain=yes |
4479 | support_scroll_plain=yes |
4511 | support_utmp=yes |
4480 | support_utmp=yes |
4512 | support_wtmp=yes |
4481 | support_wtmp=yes |
4513 | support_xim=yes |
4482 | support_xim=yes |
4514 | support_xpm=yes |
|
|
4515 | support_afterimage=yes |
4483 | support_afterimage=yes |
4516 | support_afterstep=yes |
4484 | support_afterstep=yes |
4517 | support_xft=yes |
4485 | support_xft=yes |
4518 | support_unicode3=yes |
4486 | support_unicode3=yes |
4519 | support_combining=yes |
4487 | support_combining=yes |
… | |
… | |
4525 | fi |
4493 | fi |
4526 | |
4494 | |
4527 | fi |
4495 | fi |
4528 | |
4496 | |
4529 | |
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 | |
4530 | # Check whether --enable-unicode3 was given. |
4556 | # Check whether --enable-unicode3 was given. |
4531 | if test "${enable_unicode3+set}" = set; then |
4557 | if test "${enable_unicode3+set}" = set; then |
4532 | 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 |
4533 | support_unicode3=$enableval |
4559 | support_unicode3=$enableval |
4534 | fi |
4560 | fi |
… | |
… | |
4557 | support_styles=$enableval |
4583 | support_styles=$enableval |
4558 | fi |
4584 | fi |
4559 | fi |
4585 | fi |
4560 | |
4586 | |
4561 | |
4587 | |
4562 | # Check whether --enable-xpm-background was given. |
|
|
4563 | if test "${enable_xpm_background+set}" = set; then |
|
|
4564 | enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4565 | support_xpm=$enableval |
|
|
4566 | fi |
|
|
4567 | fi |
|
|
4568 | |
|
|
4569 | |
|
|
4570 | # Check whether --enable-afterimage was given. |
4588 | # Check whether --enable-afterimage was given. |
4571 | if test "${enable_afterimage+set}" = set; then |
4589 | if test "${enable_afterimage+set}" = set; then |
4572 | 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 |
4573 | support_afterimage=$enableval |
4591 | support_afterimage=$enableval |
4574 | fi |
4592 | fi |
… | |
… | |
4576 | |
4594 | |
4577 | |
4595 | |
4578 | |
4596 | |
4579 | # Check whether --with-afterimage_config was given. |
4597 | # Check whether --with-afterimage_config was given. |
4580 | if test "${with_afterimage_config+set}" = set; then |
4598 | if test "${with_afterimage_config+set}" = set; then |
4581 | withval=$with_afterimage_config; afterimage_config="$withval" |
4599 | withval=$with_afterimage_config; if test "x$withval" != x; then |
4582 | fi |
4600 | afterimage_config=$withval/afterimage-config |
4583 | |
|
|
4584 | |
|
|
4585 | # Check whether --enable-afterstep was given. |
|
|
4586 | if test "${enable_afterstep+set}" = set; then |
|
|
4587 | enableval=$enable_afterstep; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4588 | support_afterstep=$enableval |
|
|
4589 | fi |
4601 | fi |
4590 | fi |
4602 | fi |
|
|
4603 | |
4591 | |
4604 | |
4592 | |
4605 | |
4593 | # Check whether --enable-transparency was given. |
4606 | # Check whether --enable-transparency was given. |
4594 | if test "${enable_transparency+set}" = set; then |
4607 | if test "${enable_transparency+set}" = set; then |
4595 | 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 |
4596 | support_inheritpixmap=$enableval |
4609 | support_inheritpixmap=$enableval |
4597 | fi |
|
|
4598 | fi |
|
|
4599 | |
|
|
4600 | |
|
|
4601 | # Check whether --enable-tinting was given. |
|
|
4602 | if test "${enable_tinting+set}" = set; then |
|
|
4603 | enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4604 | support_tinting=$enableval |
|
|
4605 | fi |
4610 | fi |
4606 | fi |
4611 | fi |
4607 | |
4612 | |
4608 | |
4613 | |
4609 | # Check whether --enable-fading was given. |
4614 | # Check whether --enable-fading was given. |
… | |
… | |
4887 | fi |
4892 | fi |
4888 | fi |
4893 | fi |
4889 | |
4894 | |
4890 | |
4895 | |
4891 | |
4896 | |
4892 | # Extract the first word of "mv", so it can be a program name with args. |
4897 | LIBEV_M4_AVOID_LIBRT=1 |
4893 | set dummy mv; ac_word=$2 |
4898 | |
4894 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4899 | ac_ext=cpp |
4895 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
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 |
4896 | if test "${ac_cv_path_MV+set}" = set; then |
4907 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
4897 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4908 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4898 | else |
4909 | else |
4899 | case $MV in |
4910 | # Double quotes because CXXCPP needs to be expanded |
4900 | [\\/]* | ?:[\\/]*) |
4911 | for CXXCPP in "$CXX -E" "/lib/cpp" |
4901 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
4912 | do |
4902 | ;; |
4913 | ac_preproc_ok=false |
4903 | *) |
4914 | for ac_cxx_preproc_warn_flag in '' yes |
4904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4905 | for as_dir in $PATH |
|
|
4906 | do |
4915 | do |
4907 | IFS=$as_save_IFS |
4916 | # Use a header file that comes with gcc, so configuring glibc |
4908 | test -z "$as_dir" && as_dir=. |
4917 | # with a fresh cross-compiler works. |
4909 | for ac_exec_ext in '' $ac_executable_extensions; do |
4918 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4910 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4919 | # <limits.h> exists even on freestanding compilers. |
4911 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
4920 | # On the NeXT, cc -E runs the code through the compiler's parser, |
4912 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4921 | # not just through cpp. "Syntax error" is here to catch this case. |
4913 | break 2 |
4922 | cat >conftest.$ac_ext <<_ACEOF |
4914 | fi |
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 | |
4915 | done |
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 | |
4916 | done |
5106 | done |
4917 | IFS=$as_save_IFS |
5107 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4918 | |
5108 | rm -f conftest.err conftest.$ac_ext |
4919 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
5109 | if $ac_preproc_ok; then |
4920 | ;; |
5110 | : |
4921 | esac |
|
|
4922 | fi |
|
|
4923 | MV=$ac_cv_path_MV |
|
|
4924 | if test -n "$MV"; then |
|
|
4925 | { echo "$as_me:$LINENO: result: $MV" >&5 |
|
|
4926 | echo "${ECHO_T}$MV" >&6; } |
|
|
4927 | else |
5111 | else |
4928 | { echo "$as_me:$LINENO: result: no" >&5 |
5112 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
4929 | echo "${ECHO_T}no" >&6; } |
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; }; } |
4930 | fi |
5117 | fi |
4931 | |
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 |
4932 | |
5124 | |
4933 | # Extract the first word of "cp", so it can be a program name with args. |
5125 | |
4934 | set dummy cp; ac_word=$2 |
|
|
4935 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5126 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4936 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5127 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
4937 | if test "${ac_cv_path_CP+set}" = set; then |
5128 | if test "${ac_cv_header_stdc+set}" = set; then |
4938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4939 | else |
5130 | else |
4940 | case $CP in |
5131 | cat >conftest.$ac_ext <<_ACEOF |
4941 | [\\/]* | ?:[\\/]*) |
5132 | /* confdefs.h. */ |
4942 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
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 | |
4943 | ;; |
5146 | ; |
4944 | *) |
5147 | return 0; |
4945 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5148 | } |
4946 | for as_dir in $PATH |
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 |
4947 | do |
5312 | do |
4948 | IFS=$as_save_IFS |
5313 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4949 | test -z "$as_dir" && as_dir=. |
5314 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4950 | for ac_exec_ext in '' $ac_executable_extensions; do |
5315 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4951 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5316 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4952 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
5317 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4953 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5318 | else |
4954 | break 2 |
5319 | cat >conftest.$ac_ext <<_ACEOF |
4955 | fi |
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 | |
4956 | done |
5366 | done |
|
|
5367 | |
|
|
5368 | |
|
|
5369 | |
|
|
5370 | |
|
|
5371 | |
|
|
5372 | |
|
|
5373 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h |
|
|
5374 | do |
|
|
5375 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5376 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5377 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5378 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5379 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5380 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5381 | fi |
|
|
5382 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5383 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5384 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5385 | else |
|
|
5386 | # Is the header compilable? |
|
|
5387 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5388 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5389 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5390 | /* confdefs.h. */ |
|
|
5391 | _ACEOF |
|
|
5392 | cat confdefs.h >>conftest.$ac_ext |
|
|
5393 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5394 | /* end confdefs.h. */ |
|
|
5395 | $ac_includes_default |
|
|
5396 | #include <$ac_header> |
|
|
5397 | _ACEOF |
|
|
5398 | rm -f conftest.$ac_objext |
|
|
5399 | if { (ac_try="$ac_compile" |
|
|
5400 | case "(($ac_try" in |
|
|
5401 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5402 | *) ac_try_echo=$ac_try;; |
|
|
5403 | esac |
|
|
5404 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5405 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5406 | ac_status=$? |
|
|
5407 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5408 | rm -f conftest.er1 |
|
|
5409 | cat conftest.err >&5 |
|
|
5410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5411 | (exit $ac_status); } && { |
|
|
5412 | test -z "$ac_cxx_werror_flag" || |
|
|
5413 | test ! -s conftest.err |
|
|
5414 | } && test -s conftest.$ac_objext; then |
|
|
5415 | ac_header_compiler=yes |
|
|
5416 | else |
|
|
5417 | echo "$as_me: failed program was:" >&5 |
|
|
5418 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5419 | |
|
|
5420 | ac_header_compiler=no |
|
|
5421 | fi |
|
|
5422 | |
|
|
5423 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5424 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5425 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5426 | |
|
|
5427 | # Is the header present? |
|
|
5428 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5429 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5430 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5431 | /* confdefs.h. */ |
|
|
5432 | _ACEOF |
|
|
5433 | cat confdefs.h >>conftest.$ac_ext |
|
|
5434 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5435 | /* end confdefs.h. */ |
|
|
5436 | #include <$ac_header> |
|
|
5437 | _ACEOF |
|
|
5438 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5439 | case "(($ac_try" in |
|
|
5440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5441 | *) ac_try_echo=$ac_try;; |
|
|
5442 | esac |
|
|
5443 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5444 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5445 | ac_status=$? |
|
|
5446 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5447 | rm -f conftest.er1 |
|
|
5448 | cat conftest.err >&5 |
|
|
5449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5450 | (exit $ac_status); } >/dev/null && { |
|
|
5451 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5452 | test ! -s conftest.err |
|
|
5453 | }; then |
|
|
5454 | ac_header_preproc=yes |
|
|
5455 | else |
|
|
5456 | echo "$as_me: failed program was:" >&5 |
|
|
5457 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5458 | |
|
|
5459 | ac_header_preproc=no |
|
|
5460 | fi |
|
|
5461 | |
|
|
5462 | rm -f conftest.err conftest.$ac_ext |
|
|
5463 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5464 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5465 | |
|
|
5466 | # So? What about this header? |
|
|
5467 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5468 | yes:no: ) |
|
|
5469 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5470 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5471 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5472 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5473 | ac_header_preproc=yes |
|
|
5474 | ;; |
|
|
5475 | no:yes:* ) |
|
|
5476 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5477 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5478 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5479 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5480 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5481 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5482 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5483 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5484 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5485 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5486 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5487 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5488 | |
|
|
5489 | ;; |
|
|
5490 | esac |
|
|
5491 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5492 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5493 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5494 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5495 | else |
|
|
5496 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5497 | fi |
|
|
5498 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5499 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5500 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5501 | |
|
|
5502 | fi |
|
|
5503 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5504 | cat >>confdefs.h <<_ACEOF |
|
|
5505 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5506 | _ACEOF |
|
|
5507 | |
|
|
5508 | fi |
|
|
5509 | |
4957 | done |
5510 | done |
4958 | IFS=$as_save_IFS |
|
|
4959 | |
5511 | |
4960 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
|
|
4961 | ;; |
|
|
4962 | esac |
|
|
4963 | fi |
|
|
4964 | CP=$ac_cv_path_CP |
|
|
4965 | if test -n "$CP"; then |
|
|
4966 | { echo "$as_me:$LINENO: result: $CP" >&5 |
|
|
4967 | echo "${ECHO_T}$CP" >&6; } |
|
|
4968 | else |
|
|
4969 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
4970 | echo "${ECHO_T}no" >&6; } |
|
|
4971 | fi |
|
|
4972 | |
5512 | |
4973 | |
5513 | |
4974 | # Extract the first word of "ln", so it can be a program name with args. |
5514 | |
4975 | set dummy ln; ac_word=$2 |
5515 | |
|
|
5516 | for ac_func in epoll_ctl kqueue port_create |
|
|
5517 | do |
|
|
5518 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4976 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5519 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4977 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5520 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
4978 | if test "${ac_cv_path_LN+set}" = set; then |
5521 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
4979 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5522 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4980 | else |
5523 | else |
4981 | case $LN in |
5524 | cat >conftest.$ac_ext <<_ACEOF |
4982 | [\\/]* | ?:[\\/]*) |
5525 | /* confdefs.h. */ |
4983 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
5526 | _ACEOF |
|
|
5527 | cat confdefs.h >>conftest.$ac_ext |
|
|
5528 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5529 | /* end confdefs.h. */ |
|
|
5530 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5531 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5532 | #define $ac_func innocuous_$ac_func |
|
|
5533 | |
|
|
5534 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5535 | which can conflict with char $ac_func (); below. |
|
|
5536 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5537 | <limits.h> exists even on freestanding compilers. */ |
|
|
5538 | |
|
|
5539 | #ifdef __STDC__ |
|
|
5540 | # include <limits.h> |
|
|
5541 | #else |
|
|
5542 | # include <assert.h> |
|
|
5543 | #endif |
|
|
5544 | |
|
|
5545 | #undef $ac_func |
|
|
5546 | |
|
|
5547 | /* Override any GCC internal prototype to avoid an error. |
|
|
5548 | Use char because int might match the return type of a GCC |
|
|
5549 | builtin and then its argument prototype would still apply. */ |
|
|
5550 | #ifdef __cplusplus |
|
|
5551 | extern "C" |
|
|
5552 | #endif |
|
|
5553 | char $ac_func (); |
|
|
5554 | /* The GNU C library defines this for functions which it implements |
|
|
5555 | to always fail with ENOSYS. Some functions are actually named |
|
|
5556 | something starting with __ and the normal name is an alias. */ |
|
|
5557 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5558 | choke me |
|
|
5559 | #endif |
|
|
5560 | |
|
|
5561 | int |
|
|
5562 | main () |
|
|
5563 | { |
|
|
5564 | return $ac_func (); |
4984 | ;; |
5565 | ; |
4985 | *) |
5566 | return 0; |
4986 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5567 | } |
4987 | for as_dir in $PATH |
5568 | _ACEOF |
|
|
5569 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5570 | if { (ac_try="$ac_link" |
|
|
5571 | case "(($ac_try" in |
|
|
5572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5573 | *) ac_try_echo=$ac_try;; |
|
|
5574 | esac |
|
|
5575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5576 | (eval "$ac_link") 2>conftest.er1 |
|
|
5577 | ac_status=$? |
|
|
5578 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5579 | rm -f conftest.er1 |
|
|
5580 | cat conftest.err >&5 |
|
|
5581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5582 | (exit $ac_status); } && { |
|
|
5583 | test -z "$ac_cxx_werror_flag" || |
|
|
5584 | test ! -s conftest.err |
|
|
5585 | } && test -s conftest$ac_exeext && |
|
|
5586 | $as_test_x conftest$ac_exeext; then |
|
|
5587 | eval "$as_ac_var=yes" |
|
|
5588 | else |
|
|
5589 | echo "$as_me: failed program was:" >&5 |
|
|
5590 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5591 | |
|
|
5592 | eval "$as_ac_var=no" |
|
|
5593 | fi |
|
|
5594 | |
|
|
5595 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5596 | conftest$ac_exeext conftest.$ac_ext |
|
|
5597 | fi |
|
|
5598 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5599 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5600 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5601 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5602 | cat >>confdefs.h <<_ACEOF |
|
|
5603 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5604 | _ACEOF |
|
|
5605 | |
|
|
5606 | fi |
|
|
5607 | done |
|
|
5608 | |
|
|
5609 | |
|
|
5610 | { echo "$as_me:$LINENO: checking for clock_gettime" >&5 |
|
|
5611 | echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; } |
|
|
5612 | if test "${ac_cv_func_clock_gettime+set}" = set; then |
|
|
5613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5614 | else |
|
|
5615 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5616 | /* confdefs.h. */ |
|
|
5617 | _ACEOF |
|
|
5618 | cat confdefs.h >>conftest.$ac_ext |
|
|
5619 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5620 | /* end confdefs.h. */ |
|
|
5621 | /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime. |
|
|
5622 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5623 | #define clock_gettime innocuous_clock_gettime |
|
|
5624 | |
|
|
5625 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5626 | which can conflict with char clock_gettime (); below. |
|
|
5627 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5628 | <limits.h> exists even on freestanding compilers. */ |
|
|
5629 | |
|
|
5630 | #ifdef __STDC__ |
|
|
5631 | # include <limits.h> |
|
|
5632 | #else |
|
|
5633 | # include <assert.h> |
|
|
5634 | #endif |
|
|
5635 | |
|
|
5636 | #undef clock_gettime |
|
|
5637 | |
|
|
5638 | /* Override any GCC internal prototype to avoid an error. |
|
|
5639 | Use char because int might match the return type of a GCC |
|
|
5640 | builtin and then its argument prototype would still apply. */ |
|
|
5641 | #ifdef __cplusplus |
|
|
5642 | extern "C" |
|
|
5643 | #endif |
|
|
5644 | char clock_gettime (); |
|
|
5645 | /* The GNU C library defines this for functions which it implements |
|
|
5646 | to always fail with ENOSYS. Some functions are actually named |
|
|
5647 | something starting with __ and the normal name is an alias. */ |
|
|
5648 | #if defined __stub_clock_gettime || defined __stub___clock_gettime |
|
|
5649 | choke me |
|
|
5650 | #endif |
|
|
5651 | |
|
|
5652 | int |
|
|
5653 | main () |
|
|
5654 | { |
|
|
5655 | return clock_gettime (); |
|
|
5656 | ; |
|
|
5657 | return 0; |
|
|
5658 | } |
|
|
5659 | _ACEOF |
|
|
5660 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5661 | if { (ac_try="$ac_link" |
|
|
5662 | case "(($ac_try" in |
|
|
5663 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5664 | *) ac_try_echo=$ac_try;; |
|
|
5665 | esac |
|
|
5666 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5667 | (eval "$ac_link") 2>conftest.er1 |
|
|
5668 | ac_status=$? |
|
|
5669 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5670 | rm -f conftest.er1 |
|
|
5671 | cat conftest.err >&5 |
|
|
5672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5673 | (exit $ac_status); } && { |
|
|
5674 | test -z "$ac_cxx_werror_flag" || |
|
|
5675 | test ! -s conftest.err |
|
|
5676 | } && test -s conftest$ac_exeext && |
|
|
5677 | $as_test_x conftest$ac_exeext; then |
|
|
5678 | ac_cv_func_clock_gettime=yes |
|
|
5679 | else |
|
|
5680 | echo "$as_me: failed program was:" >&5 |
|
|
5681 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5682 | |
|
|
5683 | ac_cv_func_clock_gettime=no |
|
|
5684 | fi |
|
|
5685 | |
|
|
5686 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5687 | conftest$ac_exeext conftest.$ac_ext |
|
|
5688 | fi |
|
|
5689 | { echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5 |
|
|
5690 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
|
|
5691 | if test $ac_cv_func_clock_gettime = yes; then |
|
|
5692 | : |
|
|
5693 | else |
|
|
5694 | |
|
|
5695 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5696 | |
|
|
5697 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
|
|
5698 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
|
|
5699 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
|
|
5700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5701 | else |
|
|
5702 | ac_check_lib_save_LIBS=$LIBS |
|
|
5703 | LIBS="-lrt $LIBS" |
|
|
5704 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5705 | /* confdefs.h. */ |
|
|
5706 | _ACEOF |
|
|
5707 | cat confdefs.h >>conftest.$ac_ext |
|
|
5708 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5709 | /* end confdefs.h. */ |
|
|
5710 | |
|
|
5711 | /* Override any GCC internal prototype to avoid an error. |
|
|
5712 | Use char because int might match the return type of a GCC |
|
|
5713 | builtin and then its argument prototype would still apply. */ |
|
|
5714 | #ifdef __cplusplus |
|
|
5715 | extern "C" |
|
|
5716 | #endif |
|
|
5717 | char clock_gettime (); |
|
|
5718 | int |
|
|
5719 | main () |
|
|
5720 | { |
|
|
5721 | return clock_gettime (); |
|
|
5722 | ; |
|
|
5723 | return 0; |
|
|
5724 | } |
|
|
5725 | _ACEOF |
|
|
5726 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5727 | if { (ac_try="$ac_link" |
|
|
5728 | case "(($ac_try" in |
|
|
5729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5730 | *) ac_try_echo=$ac_try;; |
|
|
5731 | esac |
|
|
5732 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5733 | (eval "$ac_link") 2>conftest.er1 |
|
|
5734 | ac_status=$? |
|
|
5735 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5736 | rm -f conftest.er1 |
|
|
5737 | cat conftest.err >&5 |
|
|
5738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5739 | (exit $ac_status); } && { |
|
|
5740 | test -z "$ac_cxx_werror_flag" || |
|
|
5741 | test ! -s conftest.err |
|
|
5742 | } && test -s conftest$ac_exeext && |
|
|
5743 | $as_test_x conftest$ac_exeext; then |
|
|
5744 | ac_cv_lib_rt_clock_gettime=yes |
|
|
5745 | else |
|
|
5746 | echo "$as_me: failed program was:" >&5 |
|
|
5747 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5748 | |
|
|
5749 | ac_cv_lib_rt_clock_gettime=no |
|
|
5750 | fi |
|
|
5751 | |
|
|
5752 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5753 | conftest$ac_exeext conftest.$ac_ext |
|
|
5754 | LIBS=$ac_check_lib_save_LIBS |
|
|
5755 | fi |
|
|
5756 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 |
|
|
5757 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; } |
|
|
5758 | if test $ac_cv_lib_rt_clock_gettime = yes; then |
|
|
5759 | cat >>confdefs.h <<_ACEOF |
|
|
5760 | #define HAVE_LIBRT 1 |
|
|
5761 | _ACEOF |
|
|
5762 | |
|
|
5763 | LIBS="-lrt $LIBS" |
|
|
5764 | |
|
|
5765 | fi |
|
|
5766 | |
|
|
5767 | |
|
|
5768 | for ac_func in clock_gettime |
4988 | do |
5769 | do |
4989 | IFS=$as_save_IFS |
5770 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4990 | test -z "$as_dir" && as_dir=. |
5771 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4991 | for ac_exec_ext in '' $ac_executable_extensions; do |
5772 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
4992 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5773 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
4993 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
5774 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4994 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5775 | else |
4995 | break 2 |
5776 | cat >conftest.$ac_ext <<_ACEOF |
4996 | fi |
5777 | /* confdefs.h. */ |
|
|
5778 | _ACEOF |
|
|
5779 | cat confdefs.h >>conftest.$ac_ext |
|
|
5780 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5781 | /* end confdefs.h. */ |
|
|
5782 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5783 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5784 | #define $ac_func innocuous_$ac_func |
|
|
5785 | |
|
|
5786 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5787 | which can conflict with char $ac_func (); below. |
|
|
5788 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5789 | <limits.h> exists even on freestanding compilers. */ |
|
|
5790 | |
|
|
5791 | #ifdef __STDC__ |
|
|
5792 | # include <limits.h> |
|
|
5793 | #else |
|
|
5794 | # include <assert.h> |
|
|
5795 | #endif |
|
|
5796 | |
|
|
5797 | #undef $ac_func |
|
|
5798 | |
|
|
5799 | /* Override any GCC internal prototype to avoid an error. |
|
|
5800 | Use char because int might match the return type of a GCC |
|
|
5801 | builtin and then its argument prototype would still apply. */ |
|
|
5802 | #ifdef __cplusplus |
|
|
5803 | extern "C" |
|
|
5804 | #endif |
|
|
5805 | char $ac_func (); |
|
|
5806 | /* The GNU C library defines this for functions which it implements |
|
|
5807 | to always fail with ENOSYS. Some functions are actually named |
|
|
5808 | something starting with __ and the normal name is an alias. */ |
|
|
5809 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5810 | choke me |
|
|
5811 | #endif |
|
|
5812 | |
|
|
5813 | int |
|
|
5814 | main () |
|
|
5815 | { |
|
|
5816 | return $ac_func (); |
|
|
5817 | ; |
|
|
5818 | return 0; |
|
|
5819 | } |
|
|
5820 | _ACEOF |
|
|
5821 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5822 | if { (ac_try="$ac_link" |
|
|
5823 | case "(($ac_try" in |
|
|
5824 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5825 | *) ac_try_echo=$ac_try;; |
|
|
5826 | esac |
|
|
5827 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5828 | (eval "$ac_link") 2>conftest.er1 |
|
|
5829 | ac_status=$? |
|
|
5830 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5831 | rm -f conftest.er1 |
|
|
5832 | cat conftest.err >&5 |
|
|
5833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5834 | (exit $ac_status); } && { |
|
|
5835 | test -z "$ac_cxx_werror_flag" || |
|
|
5836 | test ! -s conftest.err |
|
|
5837 | } && test -s conftest$ac_exeext && |
|
|
5838 | $as_test_x conftest$ac_exeext; then |
|
|
5839 | eval "$as_ac_var=yes" |
|
|
5840 | else |
|
|
5841 | echo "$as_me: failed program was:" >&5 |
|
|
5842 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5843 | |
|
|
5844 | eval "$as_ac_var=no" |
|
|
5845 | fi |
|
|
5846 | |
|
|
5847 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5848 | conftest$ac_exeext conftest.$ac_ext |
|
|
5849 | fi |
|
|
5850 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5851 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5852 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5853 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5854 | cat >>confdefs.h <<_ACEOF |
|
|
5855 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5856 | _ACEOF |
|
|
5857 | |
|
|
5858 | fi |
4997 | done |
5859 | done |
4998 | done |
|
|
4999 | IFS=$as_save_IFS |
|
|
5000 | |
5860 | |
5001 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
5861 | fi |
5002 | ;; |
|
|
5003 | esac |
|
|
5004 | fi |
|
|
5005 | LN=$ac_cv_path_LN |
|
|
5006 | if test -n "$LN"; then |
|
|
5007 | { echo "$as_me:$LINENO: result: $LN" >&5 |
|
|
5008 | echo "${ECHO_T}$LN" >&6; } |
|
|
5009 | else |
|
|
5010 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5011 | echo "${ECHO_T}no" >&6; } |
|
|
5012 | fi |
|
|
5013 | |
5862 | |
|
|
5863 | fi |
5014 | |
5864 | |
5015 | # Extract the first word of "sed", so it can be a program name with args. |
5865 | |
5016 | set dummy sed; ac_word=$2 |
5866 | |
5017 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5867 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
5018 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5868 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
5019 | if test "${ac_cv_path_SED+set}" = set; then |
5869 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
5020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5870 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5021 | else |
5871 | else |
5022 | case $SED in |
5872 | ac_check_lib_save_LIBS=$LIBS |
5023 | [\\/]* | ?:[\\/]*) |
5873 | LIBS="-lm $LIBS" |
5024 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
5874 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5875 | /* confdefs.h. */ |
|
|
5876 | _ACEOF |
|
|
5877 | cat confdefs.h >>conftest.$ac_ext |
|
|
5878 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5879 | /* end confdefs.h. */ |
|
|
5880 | |
|
|
5881 | /* Override any GCC internal prototype to avoid an error. |
|
|
5882 | Use char because int might match the return type of a GCC |
|
|
5883 | builtin and then its argument prototype would still apply. */ |
|
|
5884 | #ifdef __cplusplus |
|
|
5885 | extern "C" |
|
|
5886 | #endif |
|
|
5887 | char ceil (); |
|
|
5888 | int |
|
|
5889 | main () |
|
|
5890 | { |
|
|
5891 | return ceil (); |
5025 | ;; |
5892 | ; |
5026 | *) |
5893 | return 0; |
5027 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5894 | } |
5028 | for as_dir in $PATH |
5895 | _ACEOF |
5029 | do |
5896 | rm -f conftest.$ac_objext conftest$ac_exeext |
5030 | IFS=$as_save_IFS |
5897 | if { (ac_try="$ac_link" |
5031 | test -z "$as_dir" && as_dir=. |
5898 | case "(($ac_try" in |
5032 | for ac_exec_ext in '' $ac_executable_extensions; do |
5899 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5033 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5900 | *) ac_try_echo=$ac_try;; |
5034 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
|
|
5035 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5036 | break 2 |
|
|
5037 | fi |
|
|
5038 | done |
|
|
5039 | done |
|
|
5040 | IFS=$as_save_IFS |
|
|
5041 | |
|
|
5042 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
|
|
5043 | ;; |
|
|
5044 | esac |
5901 | esac |
|
|
5902 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5903 | (eval "$ac_link") 2>conftest.er1 |
|
|
5904 | ac_status=$? |
|
|
5905 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5906 | rm -f conftest.er1 |
|
|
5907 | cat conftest.err >&5 |
|
|
5908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5909 | (exit $ac_status); } && { |
|
|
5910 | test -z "$ac_cxx_werror_flag" || |
|
|
5911 | test ! -s conftest.err |
|
|
5912 | } && test -s conftest$ac_exeext && |
|
|
5913 | $as_test_x conftest$ac_exeext; then |
|
|
5914 | ac_cv_lib_m_ceil=yes |
|
|
5915 | else |
|
|
5916 | echo "$as_me: failed program was:" >&5 |
|
|
5917 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5918 | |
|
|
5919 | ac_cv_lib_m_ceil=no |
5045 | fi |
5920 | fi |
5046 | SED=$ac_cv_path_SED |
5921 | |
5047 | if test -n "$SED"; then |
5922 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5923 | conftest$ac_exeext conftest.$ac_ext |
|
|
5924 | LIBS=$ac_check_lib_save_LIBS |
|
|
5925 | fi |
5048 | { echo "$as_me:$LINENO: result: $SED" >&5 |
5926 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
5049 | echo "${ECHO_T}$SED" >&6; } |
5927 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
5050 | else |
5928 | if test $ac_cv_lib_m_ceil = yes; then |
5051 | { echo "$as_me:$LINENO: result: no" >&5 |
5929 | cat >>confdefs.h <<_ACEOF |
5052 | echo "${ECHO_T}no" >&6; } |
5930 | #define HAVE_LIBM 1 |
5053 | fi |
5931 | _ACEOF |
5054 | |
5932 | |
|
|
5933 | LIBS="-lm $LIBS" |
5055 | |
5934 | |
5056 | # Extract the first word of "echo", so it can be a program name with args. |
|
|
5057 | set dummy echo; ac_word=$2 |
|
|
5058 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5059 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5060 | if test "${ac_cv_path_ECHO+set}" = set; then |
|
|
5061 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5062 | else |
|
|
5063 | case $ECHO in |
|
|
5064 | [\\/]* | ?:[\\/]*) |
|
|
5065 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
|
|
5066 | ;; |
|
|
5067 | *) |
|
|
5068 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5069 | for as_dir in $PATH |
|
|
5070 | do |
|
|
5071 | IFS=$as_save_IFS |
|
|
5072 | test -z "$as_dir" && as_dir=. |
|
|
5073 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5074 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5075 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" |
|
|
5076 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5077 | break 2 |
|
|
5078 | fi |
|
|
5079 | done |
|
|
5080 | done |
|
|
5081 | IFS=$as_save_IFS |
|
|
5082 | |
|
|
5083 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
|
|
5084 | ;; |
|
|
5085 | esac |
|
|
5086 | fi |
5935 | fi |
5087 | ECHO=$ac_cv_path_ECHO |
|
|
5088 | if test -n "$ECHO"; then |
|
|
5089 | { echo "$as_me:$LINENO: result: $ECHO" >&5 |
|
|
5090 | echo "${ECHO_T}$ECHO" >&6; } |
|
|
5091 | else |
|
|
5092 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5093 | echo "${ECHO_T}no" >&6; } |
|
|
5094 | fi |
|
|
5095 | |
5936 | |
5096 | |
5937 | |
5097 | # Extract the first word of "cmp", so it can be a program name with args. |
|
|
5098 | set dummy cmp; ac_word=$2 |
|
|
5099 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5100 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
|
|
5101 | if test "${ac_cv_path_CMP+set}" = set; then |
|
|
5102 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5103 | else |
|
|
5104 | case $CMP in |
|
|
5105 | [\\/]* | ?:[\\/]*) |
|
|
5106 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
|
|
5107 | ;; |
|
|
5108 | *) |
|
|
5109 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5110 | for as_dir in $PATH |
|
|
5111 | do |
|
|
5112 | IFS=$as_save_IFS |
|
|
5113 | test -z "$as_dir" && as_dir=. |
|
|
5114 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5115 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
|
|
5116 | ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" |
|
|
5117 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5118 | break 2 |
|
|
5119 | fi |
|
|
5120 | done |
|
|
5121 | done |
|
|
5122 | IFS=$as_save_IFS |
|
|
5123 | |
5938 | |
5124 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
5939 | |
5125 | ;; |
5940 | |
5126 | esac |
|
|
5127 | fi |
|
|
5128 | CMP=$ac_cv_path_CMP |
|
|
5129 | if test -n "$CMP"; then |
|
|
5130 | { echo "$as_me:$LINENO: result: $CMP" >&5 |
|
|
5131 | echo "${ECHO_T}$CMP" >&6; } |
|
|
5132 | else |
|
|
5133 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5134 | echo "${ECHO_T}no" >&6; } |
|
|
5135 | fi |
|
|
5136 | |
5941 | |
5137 | |
5942 | |
5138 | # Extract the first word of "tic", so it can be a program name with args. |
5943 | # Extract the first word of "tic", so it can be a program name with args. |
5139 | set dummy tic; ac_word=$2 |
5944 | set dummy tic; ac_word=$2 |
5140 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5945 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
5160 | fi |
5965 | fi |
5161 | done |
5966 | done |
5162 | done |
5967 | done |
5163 | IFS=$as_save_IFS |
5968 | IFS=$as_save_IFS |
5164 | |
5969 | |
|
|
5970 | test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":" |
5165 | ;; |
5971 | ;; |
5166 | esac |
5972 | esac |
5167 | fi |
5973 | fi |
5168 | TIC=$ac_cv_path_TIC |
5974 | TIC=$ac_cv_path_TIC |
5169 | if test -n "$TIC"; then |
5975 | if test -n "$TIC"; then |
… | |
… | |
5174 | echo "${ECHO_T}no" >&6; } |
5980 | echo "${ECHO_T}no" >&6; } |
5175 | fi |
5981 | fi |
5176 | |
5982 | |
5177 | |
5983 | |
5178 | |
5984 | |
5179 | |
|
|
5180 | |
|
|
5181 | ac_ext=cpp |
|
|
5182 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5183 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5184 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5185 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5186 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
5187 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
5188 | if test -z "$CXXCPP"; then |
|
|
5189 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
5190 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5191 | else |
|
|
5192 | # Double quotes because CXXCPP needs to be expanded |
|
|
5193 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
5194 | do |
|
|
5195 | ac_preproc_ok=false |
|
|
5196 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5197 | do |
|
|
5198 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5199 | # with a fresh cross-compiler works. |
|
|
5200 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5201 | # <limits.h> exists even on freestanding compilers. |
|
|
5202 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5203 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5204 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5205 | /* confdefs.h. */ |
|
|
5206 | _ACEOF |
|
|
5207 | cat confdefs.h >>conftest.$ac_ext |
|
|
5208 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5209 | /* end confdefs.h. */ |
|
|
5210 | #ifdef __STDC__ |
|
|
5211 | # include <limits.h> |
|
|
5212 | #else |
|
|
5213 | # include <assert.h> |
|
|
5214 | #endif |
|
|
5215 | Syntax error |
|
|
5216 | _ACEOF |
|
|
5217 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5218 | case "(($ac_try" in |
|
|
5219 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5220 | *) ac_try_echo=$ac_try;; |
|
|
5221 | esac |
|
|
5222 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5223 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5224 | ac_status=$? |
|
|
5225 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5226 | rm -f conftest.er1 |
|
|
5227 | cat conftest.err >&5 |
|
|
5228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5229 | (exit $ac_status); } >/dev/null && { |
|
|
5230 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5231 | test ! -s conftest.err |
|
|
5232 | }; then |
|
|
5233 | : |
|
|
5234 | else |
|
|
5235 | echo "$as_me: failed program was:" >&5 |
|
|
5236 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5237 | |
|
|
5238 | # Broken: fails on valid input. |
|
|
5239 | continue |
|
|
5240 | fi |
|
|
5241 | |
|
|
5242 | rm -f conftest.err conftest.$ac_ext |
|
|
5243 | |
|
|
5244 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5245 | # can be detected and how. |
|
|
5246 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5247 | /* confdefs.h. */ |
|
|
5248 | _ACEOF |
|
|
5249 | cat confdefs.h >>conftest.$ac_ext |
|
|
5250 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5251 | /* end confdefs.h. */ |
|
|
5252 | #include <ac_nonexistent.h> |
|
|
5253 | _ACEOF |
|
|
5254 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5255 | case "(($ac_try" in |
|
|
5256 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5257 | *) ac_try_echo=$ac_try;; |
|
|
5258 | esac |
|
|
5259 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5260 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5261 | ac_status=$? |
|
|
5262 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5263 | rm -f conftest.er1 |
|
|
5264 | cat conftest.err >&5 |
|
|
5265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5266 | (exit $ac_status); } >/dev/null && { |
|
|
5267 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5268 | test ! -s conftest.err |
|
|
5269 | }; then |
|
|
5270 | # Broken: success on invalid input. |
|
|
5271 | continue |
|
|
5272 | else |
|
|
5273 | echo "$as_me: failed program was:" >&5 |
|
|
5274 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5275 | |
|
|
5276 | # Passes both tests. |
|
|
5277 | ac_preproc_ok=: |
|
|
5278 | break |
|
|
5279 | fi |
|
|
5280 | |
|
|
5281 | rm -f conftest.err conftest.$ac_ext |
|
|
5282 | |
|
|
5283 | done |
|
|
5284 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5285 | rm -f conftest.err conftest.$ac_ext |
|
|
5286 | if $ac_preproc_ok; then |
|
|
5287 | break |
|
|
5288 | fi |
|
|
5289 | |
|
|
5290 | done |
|
|
5291 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5292 | |
|
|
5293 | fi |
|
|
5294 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5295 | else |
|
|
5296 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5297 | fi |
|
|
5298 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5299 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5300 | ac_preproc_ok=false |
|
|
5301 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5302 | do |
|
|
5303 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5304 | # with a fresh cross-compiler works. |
|
|
5305 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5306 | # <limits.h> exists even on freestanding compilers. |
|
|
5307 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5308 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5309 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5310 | /* confdefs.h. */ |
|
|
5311 | _ACEOF |
|
|
5312 | cat confdefs.h >>conftest.$ac_ext |
|
|
5313 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5314 | /* end confdefs.h. */ |
|
|
5315 | #ifdef __STDC__ |
|
|
5316 | # include <limits.h> |
|
|
5317 | #else |
|
|
5318 | # include <assert.h> |
|
|
5319 | #endif |
|
|
5320 | Syntax error |
|
|
5321 | _ACEOF |
|
|
5322 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5323 | case "(($ac_try" in |
|
|
5324 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5325 | *) ac_try_echo=$ac_try;; |
|
|
5326 | esac |
|
|
5327 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5328 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5329 | ac_status=$? |
|
|
5330 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5331 | rm -f conftest.er1 |
|
|
5332 | cat conftest.err >&5 |
|
|
5333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5334 | (exit $ac_status); } >/dev/null && { |
|
|
5335 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5336 | test ! -s conftest.err |
|
|
5337 | }; then |
|
|
5338 | : |
|
|
5339 | else |
|
|
5340 | echo "$as_me: failed program was:" >&5 |
|
|
5341 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5342 | |
|
|
5343 | # Broken: fails on valid input. |
|
|
5344 | continue |
|
|
5345 | fi |
|
|
5346 | |
|
|
5347 | rm -f conftest.err conftest.$ac_ext |
|
|
5348 | |
|
|
5349 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5350 | # can be detected and how. |
|
|
5351 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5352 | /* confdefs.h. */ |
|
|
5353 | _ACEOF |
|
|
5354 | cat confdefs.h >>conftest.$ac_ext |
|
|
5355 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5356 | /* end confdefs.h. */ |
|
|
5357 | #include <ac_nonexistent.h> |
|
|
5358 | _ACEOF |
|
|
5359 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5360 | case "(($ac_try" in |
|
|
5361 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5362 | *) ac_try_echo=$ac_try;; |
|
|
5363 | esac |
|
|
5364 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5365 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5366 | ac_status=$? |
|
|
5367 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5368 | rm -f conftest.er1 |
|
|
5369 | cat conftest.err >&5 |
|
|
5370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5371 | (exit $ac_status); } >/dev/null && { |
|
|
5372 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5373 | test ! -s conftest.err |
|
|
5374 | }; then |
|
|
5375 | # Broken: success on invalid input. |
|
|
5376 | continue |
|
|
5377 | else |
|
|
5378 | echo "$as_me: failed program was:" >&5 |
|
|
5379 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5380 | |
|
|
5381 | # Passes both tests. |
|
|
5382 | ac_preproc_ok=: |
|
|
5383 | break |
|
|
5384 | fi |
|
|
5385 | |
|
|
5386 | rm -f conftest.err conftest.$ac_ext |
|
|
5387 | |
|
|
5388 | done |
|
|
5389 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5390 | rm -f conftest.err conftest.$ac_ext |
|
|
5391 | if $ac_preproc_ok; then |
|
|
5392 | : |
|
|
5393 | else |
|
|
5394 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5395 | See \`config.log' for more details." >&5 |
|
|
5396 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5397 | See \`config.log' for more details." >&2;} |
|
|
5398 | { (exit 1); exit 1; }; } |
|
|
5399 | fi |
|
|
5400 | |
|
|
5401 | ac_ext=cpp |
|
|
5402 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5403 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5404 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5405 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5406 | |
5985 | |
5407 | |
5986 | |
5408 | { echo "$as_me:$LINENO: checking for X" >&5 |
5987 | { echo "$as_me:$LINENO: checking for X" >&5 |
5409 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5988 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5410 | |
5989 | |
… | |
… | |
6718 | LDFLAGS=$ac_save_LDFLAGS |
7297 | LDFLAGS=$ac_save_LDFLAGS |
6719 | |
7298 | |
6720 | fi |
7299 | fi |
6721 | |
7300 | |
6722 | |
7301 | |
6723 | |
|
|
6724 | LIBAFTERIMAGE_CFLAGS= |
7302 | AFTERIMAGE_CFLAGS= |
6725 | AFTERIMAGE_LIBS= |
7303 | AFTERIMAGE_LIBS= |
6726 | have_afterimage= |
7304 | AFTERIMAGE_VERSION= |
6727 | |
7305 | |
6728 | if test x$support_afterimage = xyes; then |
7306 | if test x$support_afterimage = xyes; then |
6729 | support_afterimage=no |
7307 | support_afterimage=no |
6730 | |
7308 | |
6731 | if test "x$afterimage_config" = "x" ; then |
7309 | if test "x$afterimage_config" = "x" ; then |
6732 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
7310 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
6733 | set dummy afterimage-config; ac_word=$2 |
7311 | set dummy afterimage-config; ac_word=$2 |
6734 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7312 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6735 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
7313 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6736 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
7314 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
… | |
… | |
6768 | { echo "$as_me:$LINENO: result: no" >&5 |
7346 | { echo "$as_me:$LINENO: result: no" >&5 |
6769 | echo "${ECHO_T}no" >&6; } |
7347 | echo "${ECHO_T}no" >&6; } |
6770 | fi |
7348 | fi |
6771 | |
7349 | |
6772 | |
7350 | |
6773 | else |
|
|
6774 | afterimage_config=$afterimage_config/afterimage-config |
|
|
6775 | fi |
7351 | fi |
6776 | |
7352 | if test "x$afterimage_config" != "xno" ; then |
6777 | { echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
7353 | { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5 |
6778 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6; } |
7354 | echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; } |
6779 | if $afterimage_config --version >/dev/null 2>&1 ; then |
7355 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
7356 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6780 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
7357 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6781 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
7358 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6782 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
7359 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
7360 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
7361 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
7362 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
6783 | support_afterimage=yes |
7363 | support_afterimage=yes |
6784 | fi |
7364 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
6785 | fi |
7365 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
6786 | |
7366 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
6787 | if test "x$support_afterimage" = "xyes"; then |
|
|
6788 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6789 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
6790 | else |
|
|
6791 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
6792 | echo "${ECHO_T}no" >&6; } |
|
|
6793 | fi |
|
|
6794 | fi |
|
|
6795 | |
|
|
6796 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
|
|
6797 | |
|
|
6798 | |
|
|
6799 | |
|
|
6800 | # Initialize some more variables set by options. |
|
|
6801 | # The variables have the same names as the options, with |
|
|
6802 | # dashes changed to underlines. |
|
|
6803 | |
|
|
6804 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
|
|
6805 | # paths, otherwise set no_xpm=yes. |
|
|
6806 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
6807 | { echo "$as_me:$LINENO: checking for libXpm" >&5 |
|
|
6808 | echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; } |
|
|
6809 | |
|
|
6810 | |
|
|
6811 | # Check whether --with-xpm_includes was given. |
|
|
6812 | if test "${with_xpm_includes+set}" = set; then |
|
|
6813 | withval=$with_xpm_includes; xpm_includes="$withval" |
|
|
6814 | else |
|
|
6815 | xpm_includes=NO |
|
|
6816 | fi |
|
|
6817 | |
|
|
6818 | |
|
|
6819 | # Check whether --with-xpm_library was given. |
|
|
6820 | if test "${with_xpm_library+set}" = set; then |
|
|
6821 | withval=$with_xpm_library; xpm_libraries="$withval" |
|
|
6822 | else |
|
|
6823 | xpm_libraries=NO |
|
|
6824 | fi |
|
|
6825 | |
|
|
6826 | |
|
|
6827 | # --without-xpm overrides everything else, but does not touch the cache. |
|
|
6828 | |
|
|
6829 | # Check whether --with-xpm was given. |
|
|
6830 | if test "${with_xpm+set}" = set; then |
|
|
6831 | withval=$with_xpm; |
|
|
6832 | fi |
|
|
6833 | |
|
|
6834 | if test "$with_xpm" = no; then |
|
|
6835 | have_xpm=disabled |
|
|
6836 | else |
|
|
6837 | if test "${ac_cv_have_xpm+set}" = set; then |
|
|
6838 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6839 | else |
|
|
6840 | |
|
|
6841 | vt_xpm_include_X11=no |
|
|
6842 | if test -n "$xpm_includes"; then |
|
|
6843 | vt_xpm_includes=$xpm_includes |
|
|
6844 | else |
|
|
6845 | vt_xpm_includes=NO |
|
|
6846 | fi |
|
|
6847 | if test -n "$xpm_libraries"; then |
|
|
6848 | vt_xpm_libraries=$xpm_libraries |
|
|
6849 | else |
|
|
6850 | vt_xpm_libraries=NO |
|
|
6851 | fi |
|
|
6852 | |
|
|
6853 | if test "$vt_xpm_includes" = NO; then |
|
|
6854 | # Guess where to find xpm.h |
|
|
6855 | |
|
|
6856 | ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
6857 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
|
|
6858 | |
|
|
6859 | # First, try using that file with no special directory specified. |
|
|
6860 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6861 | /* confdefs.h. */ |
|
|
6862 | _ACEOF |
|
|
6863 | cat confdefs.h >>conftest.$ac_ext |
|
|
6864 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6865 | /* end confdefs.h. */ |
|
|
6866 | #include <X11/xpm.h> |
|
|
6867 | _ACEOF |
|
|
6868 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6869 | case "(($ac_try" in |
|
|
6870 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6871 | *) ac_try_echo=$ac_try;; |
|
|
6872 | esac |
|
|
6873 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6874 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6875 | ac_status=$? |
|
|
6876 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6877 | rm -f conftest.er1 |
|
|
6878 | cat conftest.err >&5 |
|
|
6879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6880 | (exit $ac_status); } >/dev/null && { |
|
|
6881 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6882 | test ! -s conftest.err |
|
|
6883 | }; then |
|
|
6884 | # We can compile using X headers with no special include directory. |
|
|
6885 | vt_xpm_includes= |
|
|
6886 | vt_xpm_include_X11=yes |
|
|
6887 | else |
|
|
6888 | echo "$as_me: failed program was:" >&5 |
|
|
6889 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6890 | |
|
|
6891 | CPPFLAGS="$ac_save_CPPFLAGS" |
|
|
6892 | # Look for the header file in a standard set of common directories. |
|
|
6893 | for ac_dir in \ |
|
|
6894 | /usr/X11/include \ |
|
|
6895 | /usr/X11R6/include \ |
|
|
6896 | /usr/X11R5/include \ |
|
|
6897 | /usr/X11R4/include \ |
|
|
6898 | \ |
|
|
6899 | /usr/include/X11 \ |
|
|
6900 | /usr/include/X11R6 \ |
|
|
6901 | /usr/include/X11R5 \ |
|
|
6902 | /usr/include/X11R4 \ |
|
|
6903 | \ |
|
|
6904 | /usr/local/X11/include \ |
|
|
6905 | /usr/local/X11R6/include \ |
|
|
6906 | /usr/local/X11R5/include \ |
|
|
6907 | /usr/local/X11R4/include \ |
|
|
6908 | \ |
|
|
6909 | /usr/local/include/X11 \ |
|
|
6910 | /usr/local/include/X11R6 \ |
|
|
6911 | /usr/local/include/X11R5 \ |
|
|
6912 | /usr/local/include/X11R4 \ |
|
|
6913 | \ |
|
|
6914 | /usr/X386/include \ |
|
|
6915 | /usr/x386/include \ |
|
|
6916 | /usr/XFree86/include/X11 \ |
|
|
6917 | \ |
|
|
6918 | /usr/include \ |
|
|
6919 | /usr/local/include \ |
|
|
6920 | /usr/unsupported/include \ |
|
|
6921 | /usr/athena/include \ |
|
|
6922 | /usr/local/x11r5/include \ |
|
|
6923 | /usr/lpp/Xamples/include \ |
|
|
6924 | \ |
|
|
6925 | /usr/openwin/include \ |
|
|
6926 | /usr/openwin/share/include \ |
|
|
6927 | ; \ |
|
|
6928 | do |
|
|
6929 | if test -r "$ac_dir/X11/xpm.h"; then |
|
|
6930 | vt_xpm_includes="$ac_dir" |
|
|
6931 | vt_xpm_include_X11=yes |
|
|
6932 | break |
|
|
6933 | else |
|
|
6934 | if test -r "$ac_dir/xpm.h"; then |
|
|
6935 | vt_xpm_includes=$ac_dir |
|
|
6936 | break |
|
|
6937 | fi |
|
|
6938 | fi |
|
|
6939 | done |
|
|
6940 | fi |
|
|
6941 | |
|
|
6942 | rm -f conftest.err conftest.$ac_ext |
|
|
6943 | fi |
|
|
6944 | |
|
|
6945 | if test "$vt_xpm_libraries" = NO; then |
|
|
6946 | # Check for the libraries. |
|
|
6947 | |
|
|
6948 | # See if we find them without any special options. |
|
|
6949 | # Don't add to $LIBS permanently. |
|
|
6950 | ac_save_LIBS="$LIBS" |
|
|
6951 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
|
|
6952 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6953 | /* confdefs.h. */ |
|
|
6954 | _ACEOF |
|
|
6955 | cat confdefs.h >>conftest.$ac_ext |
|
|
6956 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6957 | /* end confdefs.h. */ |
|
|
6958 | |
|
|
6959 | int |
|
|
6960 | main () |
|
|
6961 | { |
|
|
6962 | XpmReadFileToPixmap() |
|
|
6963 | ; |
|
|
6964 | return 0; |
|
|
6965 | } |
|
|
6966 | _ACEOF |
|
|
6967 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6968 | if { (ac_try="$ac_link" |
|
|
6969 | case "(($ac_try" in |
|
|
6970 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6971 | *) ac_try_echo=$ac_try;; |
|
|
6972 | esac |
|
|
6973 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6974 | (eval "$ac_link") 2>conftest.er1 |
|
|
6975 | ac_status=$? |
|
|
6976 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6977 | rm -f conftest.er1 |
|
|
6978 | cat conftest.err >&5 |
|
|
6979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6980 | (exit $ac_status); } && { |
|
|
6981 | test -z "$ac_cxx_werror_flag" || |
|
|
6982 | test ! -s conftest.err |
|
|
6983 | } && test -s conftest$ac_exeext && |
|
|
6984 | $as_test_x conftest$ac_exeext; then |
|
|
6985 | LIBS="$ac_save_LIBS" |
|
|
6986 | # We can link libXpm with no special library path. |
|
|
6987 | vt_xpm_libraries= |
|
|
6988 | else |
|
|
6989 | echo "$as_me: failed program was:" >&5 |
|
|
6990 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6991 | |
|
|
6992 | LIBS="$ac_save_LIBS" |
|
|
6993 | # First see if replacing the include by lib works. |
|
|
6994 | for ac_dir in \ |
|
|
6995 | `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ |
|
|
6996 | /usr/X11/lib \ |
|
|
6997 | /usr/X11R6/lib \ |
|
|
6998 | /usr/X11R5/lib \ |
|
|
6999 | /usr/X11R4/lib \ |
|
|
7000 | \ |
|
|
7001 | /usr/lib/X11 \ |
|
|
7002 | /usr/lib/X11R6 \ |
|
|
7003 | /usr/lib/X11R5 \ |
|
|
7004 | /usr/lib/X11R4 \ |
|
|
7005 | \ |
|
|
7006 | /usr/local/X11/lib \ |
|
|
7007 | /usr/local/X11R6/lib \ |
|
|
7008 | /usr/local/X11R5/lib \ |
|
|
7009 | /usr/local/X11R4/lib \ |
|
|
7010 | \ |
|
|
7011 | /usr/local/lib/X11 \ |
|
|
7012 | /usr/local/lib/X11R6 \ |
|
|
7013 | /usr/local/lib/X11R5 \ |
|
|
7014 | /usr/local/lib/X11R4 \ |
|
|
7015 | \ |
|
|
7016 | /usr/X386/lib \ |
|
|
7017 | /usr/x386/lib \ |
|
|
7018 | /usr/XFree86/lib/X11 \ |
|
|
7019 | \ |
|
|
7020 | /usr/lib \ |
|
|
7021 | /usr/local/lib \ |
|
|
7022 | /usr/unsupported/lib \ |
|
|
7023 | /usr/athena/lib \ |
|
|
7024 | /usr/local/x11r5/lib \ |
|
|
7025 | /usr/lpp/Xamples/lib \ |
|
|
7026 | \ |
|
|
7027 | /usr/openwin/lib \ |
|
|
7028 | /usr/openwin/share/lib \ |
|
|
7029 | ; \ |
|
|
7030 | do |
|
|
7031 | for ac_extension in a so sl; do |
|
|
7032 | if test -r $ac_dir/libXpm.$ac_extension; then |
|
|
7033 | vt_xpm_libraries=$ac_dir |
|
|
7034 | break 2 |
|
|
7035 | fi |
|
|
7036 | done |
|
|
7037 | done |
|
|
7038 | fi |
|
|
7039 | |
|
|
7040 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
7041 | conftest$ac_exeext conftest.$ac_ext |
|
|
7042 | fi |
|
|
7043 | |
|
|
7044 | |
|
|
7045 | if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then |
|
|
7046 | ac_cv_have_xpm="have_xpm=no" |
|
|
7047 | else |
|
|
7048 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
7049 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
7050 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
7051 | fi |
|
|
7052 | fi |
|
|
7053 | eval "$ac_cv_have_xpm" |
|
|
7054 | fi |
|
|
7055 | |
|
|
7056 | if test "$have_xpm" != yes; then |
|
|
7057 | { echo "$as_me:$LINENO: result: $have_xpm" >&5 |
|
|
7058 | echo "${ECHO_T}$have_xpm" >&6; } |
|
|
7059 | no_xpm=yes |
|
|
7060 | else |
|
|
7061 | if test "$xpm_includes" != NO; then |
|
|
7062 | if test "$xpm_includes" = "$vt_xpm_includes"; then |
|
|
7063 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
7064 | vt_xpm_include_X11=yes |
|
|
7065 | fi |
|
|
7066 | else |
|
|
7067 | vt_xpm_include_X11=no |
|
|
7068 | if test -z "$xpm_includes"; then |
|
|
7069 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7070 | /* confdefs.h. */ |
|
|
7071 | _ACEOF |
|
|
7072 | cat confdefs.h >>conftest.$ac_ext |
|
|
7073 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7074 | /* end confdefs.h. */ |
|
|
7075 | #include <X11/xpm.h> |
|
|
7076 | _ACEOF |
|
|
7077 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
7078 | case "(($ac_try" in |
|
|
7079 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7080 | *) ac_try_echo=$ac_try;; |
|
|
7081 | esac |
|
|
7082 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7083 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
7084 | ac_status=$? |
|
|
7085 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7086 | rm -f conftest.er1 |
|
|
7087 | cat conftest.err >&5 |
|
|
7088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7089 | (exit $ac_status); } >/dev/null && { |
|
|
7090 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
7091 | test ! -s conftest.err |
|
|
7092 | }; then |
|
|
7093 | vt_xpm_include_X11=yes |
|
|
7094 | else |
|
|
7095 | echo "$as_me: failed program was:" >&5 |
|
|
7096 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7097 | |
|
|
7098 | |
|
|
7099 | fi |
|
|
7100 | |
|
|
7101 | rm -f conftest.err conftest.$ac_ext |
|
|
7102 | else |
|
|
7103 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
7104 | vt_xpm_include_X11=yes |
|
|
7105 | fi |
7367 | fi |
7106 | fi |
7368 | fi |
7107 | fi |
7369 | fi |
7108 | vt_xpm_includes=$xpm_includes |
7370 | if test "x$support_afterimage" = "xyes"; then |
|
|
7371 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
7372 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
7373 | else |
|
|
7374 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
7375 | echo "${ECHO_T}no" >&6; } |
7109 | fi |
7376 | fi |
7110 | if test "x$xpm_libraries" != xNO; then |
|
|
7111 | vt_xpm_libraries=$xpm_libraries |
|
|
7112 | fi |
|
|
7113 | # Update the cache value to reflect the command line values. |
|
|
7114 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
7115 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
7116 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
7117 | eval "$ac_cv_have_xpm" |
|
|
7118 | { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5 |
|
|
7119 | echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; } |
|
|
7120 | if test -n "$vt_xpm_includes"; then |
|
|
7121 | XPM_CPPFLAGS="-DHAVE_LIBXPM" |
|
|
7122 | fi |
|
|
7123 | if test -n "$vt_xpm_includes"; then |
|
|
7124 | XPM_CFLAGS="-I$vt_xpm_includes" |
|
|
7125 | fi |
|
|
7126 | XPM_LIBS="-lXpm" |
|
|
7127 | if test -n "$vt_xpm_libraries"; then |
|
|
7128 | XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS" |
|
|
7129 | fi |
|
|
7130 | if test "x$vt_xpm_include_X11" = xyes; then |
|
|
7131 | |
|
|
7132 | cat >>confdefs.h <<\_ACEOF |
|
|
7133 | #define XPM_INC_X11 1 |
|
|
7134 | _ACEOF |
|
|
7135 | |
|
|
7136 | fi |
|
|
7137 | fi |
|
|
7138 | |
|
|
7139 | |
|
|
7140 | |
|
|
7141 | |
|
|
7142 | |
|
|
7143 | if test x$no_xpm = xyes; then |
|
|
7144 | support_xpm=needsmanualspecification |
|
|
7145 | fi |
7377 | fi |
7146 | fi |
7378 | fi |
7147 | |
7379 | |
7148 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7380 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7149 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
7381 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
… | |
… | |
7209 | cat >>confdefs.h <<\_ACEOF |
7441 | cat >>confdefs.h <<\_ACEOF |
7210 | #define HAVE_SYS_WAIT_H 1 |
7442 | #define HAVE_SYS_WAIT_H 1 |
7211 | _ACEOF |
7443 | _ACEOF |
7212 | |
7444 | |
7213 | fi |
7445 | fi |
7214 | |
|
|
7215 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
7216 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
7217 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
7218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7219 | else |
|
|
7220 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7221 | /* confdefs.h. */ |
|
|
7222 | _ACEOF |
|
|
7223 | cat confdefs.h >>conftest.$ac_ext |
|
|
7224 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7225 | /* end confdefs.h. */ |
|
|
7226 | #include <stdlib.h> |
|
|
7227 | #include <stdarg.h> |
|
|
7228 | #include <string.h> |
|
|
7229 | #include <float.h> |
|
|
7230 | |
|
|
7231 | int |
|
|
7232 | main () |
|
|
7233 | { |
|
|
7234 | |
|
|
7235 | ; |
|
|
7236 | return 0; |
|
|
7237 | } |
|
|
7238 | _ACEOF |
|
|
7239 | rm -f conftest.$ac_objext |
|
|
7240 | if { (ac_try="$ac_compile" |
|
|
7241 | case "(($ac_try" in |
|
|
7242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7243 | *) ac_try_echo=$ac_try;; |
|
|
7244 | esac |
|
|
7245 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7246 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7247 | ac_status=$? |
|
|
7248 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7249 | rm -f conftest.er1 |
|
|
7250 | cat conftest.err >&5 |
|
|
7251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7252 | (exit $ac_status); } && { |
|
|
7253 | test -z "$ac_cxx_werror_flag" || |
|
|
7254 | test ! -s conftest.err |
|
|
7255 | } && test -s conftest.$ac_objext; then |
|
|
7256 | ac_cv_header_stdc=yes |
|
|
7257 | else |
|
|
7258 | echo "$as_me: failed program was:" >&5 |
|
|
7259 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7260 | |
|
|
7261 | ac_cv_header_stdc=no |
|
|
7262 | fi |
|
|
7263 | |
|
|
7264 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7265 | |
|
|
7266 | if test $ac_cv_header_stdc = yes; then |
|
|
7267 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7268 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7269 | /* confdefs.h. */ |
|
|
7270 | _ACEOF |
|
|
7271 | cat confdefs.h >>conftest.$ac_ext |
|
|
7272 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7273 | /* end confdefs.h. */ |
|
|
7274 | #include <string.h> |
|
|
7275 | |
|
|
7276 | _ACEOF |
|
|
7277 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7278 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
7279 | : |
|
|
7280 | else |
|
|
7281 | ac_cv_header_stdc=no |
|
|
7282 | fi |
|
|
7283 | rm -f conftest* |
|
|
7284 | |
|
|
7285 | fi |
|
|
7286 | |
|
|
7287 | if test $ac_cv_header_stdc = yes; then |
|
|
7288 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7289 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7290 | /* confdefs.h. */ |
|
|
7291 | _ACEOF |
|
|
7292 | cat confdefs.h >>conftest.$ac_ext |
|
|
7293 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7294 | /* end confdefs.h. */ |
|
|
7295 | #include <stdlib.h> |
|
|
7296 | |
|
|
7297 | _ACEOF |
|
|
7298 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7299 | $EGREP "free" >/dev/null 2>&1; then |
|
|
7300 | : |
|
|
7301 | else |
|
|
7302 | ac_cv_header_stdc=no |
|
|
7303 | fi |
|
|
7304 | rm -f conftest* |
|
|
7305 | |
|
|
7306 | fi |
|
|
7307 | |
|
|
7308 | if test $ac_cv_header_stdc = yes; then |
|
|
7309 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7310 | if test "$cross_compiling" = yes; then |
|
|
7311 | : |
|
|
7312 | else |
|
|
7313 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7314 | /* confdefs.h. */ |
|
|
7315 | _ACEOF |
|
|
7316 | cat confdefs.h >>conftest.$ac_ext |
|
|
7317 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7318 | /* end confdefs.h. */ |
|
|
7319 | #include <ctype.h> |
|
|
7320 | #include <stdlib.h> |
|
|
7321 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7322 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7323 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7324 | #else |
|
|
7325 | # define ISLOWER(c) \ |
|
|
7326 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7327 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7328 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7329 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7330 | #endif |
|
|
7331 | |
|
|
7332 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7333 | int |
|
|
7334 | main () |
|
|
7335 | { |
|
|
7336 | int i; |
|
|
7337 | for (i = 0; i < 256; i++) |
|
|
7338 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7339 | || toupper (i) != TOUPPER (i)) |
|
|
7340 | return 2; |
|
|
7341 | return 0; |
|
|
7342 | } |
|
|
7343 | _ACEOF |
|
|
7344 | rm -f conftest$ac_exeext |
|
|
7345 | if { (ac_try="$ac_link" |
|
|
7346 | case "(($ac_try" in |
|
|
7347 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7348 | *) ac_try_echo=$ac_try;; |
|
|
7349 | esac |
|
|
7350 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7351 | (eval "$ac_link") 2>&5 |
|
|
7352 | ac_status=$? |
|
|
7353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7354 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7355 | { (case "(($ac_try" in |
|
|
7356 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7357 | *) ac_try_echo=$ac_try;; |
|
|
7358 | esac |
|
|
7359 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7360 | (eval "$ac_try") 2>&5 |
|
|
7361 | ac_status=$? |
|
|
7362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7363 | (exit $ac_status); }; }; then |
|
|
7364 | : |
|
|
7365 | else |
|
|
7366 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7367 | echo "$as_me: failed program was:" >&5 |
|
|
7368 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7369 | |
|
|
7370 | ( exit $ac_status ) |
|
|
7371 | ac_cv_header_stdc=no |
|
|
7372 | fi |
|
|
7373 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7374 | fi |
|
|
7375 | |
|
|
7376 | |
|
|
7377 | fi |
|
|
7378 | fi |
|
|
7379 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
7380 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
7381 | if test $ac_cv_header_stdc = yes; then |
|
|
7382 | |
|
|
7383 | cat >>confdefs.h <<\_ACEOF |
|
|
7384 | #define STDC_HEADERS 1 |
|
|
7385 | _ACEOF |
|
|
7386 | |
|
|
7387 | fi |
|
|
7388 | |
|
|
7389 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
7390 | |
|
|
7391 | |
|
|
7392 | |
|
|
7393 | |
|
|
7394 | |
|
|
7395 | |
|
|
7396 | |
|
|
7397 | |
|
|
7398 | |
|
|
7399 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
7400 | inttypes.h stdint.h unistd.h |
|
|
7401 | do |
|
|
7402 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7403 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
7404 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
7405 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
7406 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7407 | else |
|
|
7408 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7409 | /* confdefs.h. */ |
|
|
7410 | _ACEOF |
|
|
7411 | cat confdefs.h >>conftest.$ac_ext |
|
|
7412 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7413 | /* end confdefs.h. */ |
|
|
7414 | $ac_includes_default |
|
|
7415 | |
|
|
7416 | #include <$ac_header> |
|
|
7417 | _ACEOF |
|
|
7418 | rm -f conftest.$ac_objext |
|
|
7419 | if { (ac_try="$ac_compile" |
|
|
7420 | case "(($ac_try" in |
|
|
7421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7422 | *) ac_try_echo=$ac_try;; |
|
|
7423 | esac |
|
|
7424 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7425 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7426 | ac_status=$? |
|
|
7427 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7428 | rm -f conftest.er1 |
|
|
7429 | cat conftest.err >&5 |
|
|
7430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7431 | (exit $ac_status); } && { |
|
|
7432 | test -z "$ac_cxx_werror_flag" || |
|
|
7433 | test ! -s conftest.err |
|
|
7434 | } && test -s conftest.$ac_objext; then |
|
|
7435 | eval "$as_ac_Header=yes" |
|
|
7436 | else |
|
|
7437 | echo "$as_me: failed program was:" >&5 |
|
|
7438 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7439 | |
|
|
7440 | eval "$as_ac_Header=no" |
|
|
7441 | fi |
|
|
7442 | |
|
|
7443 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7444 | fi |
|
|
7445 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
7446 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
7447 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
7448 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
7449 | cat >>confdefs.h <<_ACEOF |
|
|
7450 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7451 | _ACEOF |
|
|
7452 | |
|
|
7453 | fi |
|
|
7454 | |
|
|
7455 | done |
|
|
7456 | |
|
|
7457 | |
7446 | |
7458 | |
7447 | |
7459 | |
7448 | |
7460 | |
7449 | |
7461 | |
7450 | |
… | |
… | |
7744 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7733 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7745 | fi |
7734 | fi |
7746 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7735 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7747 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7736 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7748 | |
7737 | |
7749 | if test -n "$GCC"; then |
|
|
7750 | LDARG="-Wl," |
|
|
7751 | else |
|
|
7752 | LDARG="" |
|
|
7753 | fi |
|
|
7754 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g' |
|
|
7755 | |
|
|
7756 | ac_save_CFLAGS=$CFLAGS |
|
|
7757 | ac_save_LIBS=$LIBS |
|
|
7758 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
7759 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7760 | { echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
|
|
7761 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6; } |
|
|
7762 | if test "${rxvt_cv_rpath+set}" = set; then |
|
|
7763 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7764 | else |
|
|
7765 | if test "$cross_compiling" = yes; then |
|
|
7766 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
|
|
7767 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
|
|
7768 | else |
|
|
7769 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7770 | /* confdefs.h. */ |
|
|
7771 | _ACEOF |
|
|
7772 | cat confdefs.h >>conftest.$ac_ext |
|
|
7773 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7774 | /* end confdefs.h. */ |
|
|
7775 | #include <X11/Xlib.h> |
|
|
7776 | #include <stdlib.h> |
|
|
7777 | main() |
|
|
7778 | { |
|
|
7779 | exit(0); |
|
|
7780 | (void) XOpenDisplay("foobar"); |
|
|
7781 | } |
|
|
7782 | _ACEOF |
|
|
7783 | rm -f conftest$ac_exeext |
|
|
7784 | if { (ac_try="$ac_link" |
|
|
7785 | case "(($ac_try" in |
|
|
7786 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7787 | *) ac_try_echo=$ac_try;; |
|
|
7788 | esac |
|
|
7789 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7790 | (eval "$ac_link") 2>&5 |
|
|
7791 | ac_status=$? |
|
|
7792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7793 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7794 | { (case "(($ac_try" in |
|
|
7795 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7796 | *) ac_try_echo=$ac_try;; |
|
|
7797 | esac |
|
|
7798 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7799 | (eval "$ac_try") 2>&5 |
|
|
7800 | ac_status=$? |
|
|
7801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7802 | (exit $ac_status); }; }; then |
|
|
7803 | rxvt_cv_rpath=yes |
|
|
7804 | else |
|
|
7805 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7806 | echo "$as_me: failed program was:" >&5 |
|
|
7807 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7808 | |
|
|
7809 | ( exit $ac_status ) |
|
|
7810 | rxvt_cv_rpath=no |
|
|
7811 | fi |
|
|
7812 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7813 | fi |
|
|
7814 | |
|
|
7815 | |
|
|
7816 | fi |
|
|
7817 | { echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
|
|
7818 | echo "${ECHO_T}$rxvt_cv_rpath" >&6; } |
|
|
7819 | if test x$rxvt_cv_rpath != xyes; then |
|
|
7820 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
|
|
7821 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7822 | { echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
|
|
7823 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6; } |
|
|
7824 | if test "${rxvt_cv_R+set}" = set; then |
|
|
7825 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7826 | else |
|
|
7827 | if test "$cross_compiling" = yes; then |
|
|
7828 | rxvt_cv_R=no |
|
|
7829 | else |
|
|
7830 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7831 | /* confdefs.h. */ |
|
|
7832 | _ACEOF |
|
|
7833 | cat confdefs.h >>conftest.$ac_ext |
|
|
7834 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7835 | /* end confdefs.h. */ |
|
|
7836 | #include <X11/Xlib.h> |
|
|
7837 | #include <stdlib.h> |
|
|
7838 | main() |
|
|
7839 | { |
|
|
7840 | exit(0); |
|
|
7841 | (void) XOpenDisplay("foobar"); |
|
|
7842 | } |
|
|
7843 | _ACEOF |
|
|
7844 | rm -f conftest$ac_exeext |
|
|
7845 | if { (ac_try="$ac_link" |
|
|
7846 | case "(($ac_try" in |
|
|
7847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7848 | *) ac_try_echo=$ac_try;; |
|
|
7849 | esac |
|
|
7850 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7851 | (eval "$ac_link") 2>&5 |
|
|
7852 | ac_status=$? |
|
|
7853 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7854 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7855 | { (case "(($ac_try" in |
|
|
7856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7857 | *) ac_try_echo=$ac_try;; |
|
|
7858 | esac |
|
|
7859 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7860 | (eval "$ac_try") 2>&5 |
|
|
7861 | ac_status=$? |
|
|
7862 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7863 | (exit $ac_status); }; }; then |
|
|
7864 | rxvt_cv_R=yes |
|
|
7865 | else |
|
|
7866 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7867 | echo "$as_me: failed program was:" >&5 |
|
|
7868 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7869 | |
|
|
7870 | ( exit $ac_status ) |
|
|
7871 | rxvt_cv_R=no |
|
|
7872 | fi |
|
|
7873 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7874 | fi |
|
|
7875 | |
|
|
7876 | |
|
|
7877 | fi |
|
|
7878 | { echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
|
|
7879 | echo "${ECHO_T}$rxvt_cv_R" >&6; } |
|
|
7880 | if test x$rxvt_cv_R != xyes; then |
|
|
7881 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
7882 | fi |
|
|
7883 | fi |
|
|
7884 | |
|
|
7885 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7738 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7886 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7739 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7887 | if test "${rxvt_cv_xpointer+set}" = set; then |
7740 | if test "${rxvt_cv_xpointer+set}" = set; then |
7888 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7741 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7889 | else |
7742 | else |
… | |
… | |
7936 | cat >>confdefs.h <<\_ACEOF |
7789 | cat >>confdefs.h <<\_ACEOF |
7937 | #define HAVE_XPOINTER 1 |
7790 | #define HAVE_XPOINTER 1 |
7938 | _ACEOF |
7791 | _ACEOF |
7939 | |
7792 | |
7940 | fi |
7793 | fi |
7941 | LIBS=$ac_save_LIBS |
|
|
7942 | CFLAGS=$ac_save_CFLAGS |
|
|
7943 | |
7794 | |
7944 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7795 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7945 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7796 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7946 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7797 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7947 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7798 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10362 | _ACEOF |
10213 | _ACEOF |
10363 | |
10214 | |
10364 | |
10215 | |
10365 | |
10216 | |
10366 | |
10217 | |
10367 | |
|
|
10368 | |
|
|
10369 | for ac_func in \ |
10218 | for ac_func in unsetenv |
10370 | unsetenv \ |
|
|
10371 | setutent \ |
|
|
10372 | on_exit \ |
|
|
10373 | |
|
|
10374 | do |
10219 | do |
10375 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10220 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10376 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10221 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10377 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10222 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10378 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10223 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
10517 | |
10362 | |
10518 | |
10363 | |
10519 | |
10364 | |
10520 | |
10365 | |
10521 | for ac_func in \ |
10366 | for ac_func in \ |
10522 | ttyslot \ |
|
|
10523 | updwtmp \ |
10367 | updwtmp \ |
10524 | updwtmpx \ |
10368 | updwtmpx \ |
|
|
10369 | updlastlogx \ |
10525 | |
10370 | |
10526 | do |
10371 | do |
10527 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10372 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10528 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10373 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10529 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10374 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
11950 | |
11795 | |
11951 | cat >>confdefs.h <<_ACEOF |
11796 | cat >>confdefs.h <<_ACEOF |
11952 | #define LASTLOG_FILE "$path_lastlog" |
11797 | #define LASTLOG_FILE "$path_lastlog" |
11953 | _ACEOF |
11798 | _ACEOF |
11954 | |
11799 | |
11955 | if test -d "$path_lastlog"; then |
|
|
11956 | |
|
|
11957 | cat >>confdefs.h <<\_ACEOF |
|
|
11958 | #define LASTLOG_IS_DIR 1 |
|
|
11959 | _ACEOF |
|
|
11960 | |
|
|
11961 | fi |
|
|
11962 | fi |
11800 | fi |
11963 | |
11801 | |
11964 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11802 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11965 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11803 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11966 | if test "${path_lastlogx+set}" = set; then |
11804 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
12048 | |
11886 | |
12049 | fi |
11887 | fi |
12050 | |
11888 | |
12051 | |
11889 | |
12052 | |
11890 | |
12053 | { echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
|
|
12054 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; } |
|
|
12055 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
|
|
12056 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12057 | else |
|
|
12058 | for ttys_file in /etc/ttys /etc/ttytab; |
|
|
12059 | do |
|
|
12060 | if test -f "$ttys_file" ; then |
|
|
12061 | rxvt_cv_path_ttytab=$ttys_file |
|
|
12062 | break |
|
|
12063 | fi |
|
|
12064 | done |
|
|
12065 | |
11891 | |
12066 | fi |
|
|
12067 | { echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 |
|
|
12068 | echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; } |
|
|
12069 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
12070 | |
|
|
12071 | cat >>confdefs.h <<_ACEOF |
|
|
12072 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
|
|
12073 | _ACEOF |
|
|
12074 | |
|
|
12075 | fi |
|
|
12076 | |
|
|
12077 | |
|
|
12078 | ac_save_LIBS=$LIBS |
11892 | save_LIBS=$LIBS |
12079 | ac_save_CFLAGS=$CFLAGS |
11893 | save_CFLAGS=$CFLAGS |
12080 | CFLAGS="$CFLAGS $X_CFLAGS" |
11894 | CFLAGS="$CFLAGS $X_CFLAGS" |
12081 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11895 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
12082 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
11896 | if test x$support_xim = xyes; then |
12083 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
12084 | fi |
|
|
12085 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11897 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
12086 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11898 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
12087 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11899 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
12088 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11900 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12089 | else |
11901 | else |
12090 | if test "$cross_compiling" = yes; then |
11902 | if test "$cross_compiling" = yes; then |
12091 | { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 |
11903 | : |
12092 | echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;} |
|
|
12093 | else |
11904 | else |
12094 | cat >conftest.$ac_ext <<_ACEOF |
11905 | cat >conftest.$ac_ext <<_ACEOF |
12095 | /* confdefs.h. */ |
11906 | /* confdefs.h. */ |
12096 | _ACEOF |
11907 | _ACEOF |
12097 | cat confdefs.h >>conftest.$ac_ext |
11908 | cat confdefs.h >>conftest.$ac_ext |
12098 | cat >>conftest.$ac_ext <<_ACEOF |
11909 | cat >>conftest.$ac_ext <<_ACEOF |
12099 | /* end confdefs.h. */ |
11910 | /* end confdefs.h. */ |
12100 | #include <X11/Xlib.h> |
11911 | #include <X11/Xlib.h> |
12101 | #include <stdlib.h> |
11912 | #include <stdlib.h> |
12102 | main() { |
11913 | main() { |
12103 | char *p; |
11914 | char *p; |
12104 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11915 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
12105 | exit (XSupportsLocale() ? 0 : 1); |
11916 | exit (XSupportsLocale() ? 0 : 1); |
12106 | else |
11917 | else |
12107 | exit (1);} |
11918 | exit (1);} |
12108 | _ACEOF |
11919 | _ACEOF |
12109 | rm -f conftest$ac_exeext |
11920 | rm -f conftest$ac_exeext |
12110 | if { (ac_try="$ac_link" |
11921 | if { (ac_try="$ac_link" |
12111 | case "(($ac_try" in |
11922 | case "(($ac_try" in |
12112 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11923 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
12124 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11935 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12125 | (eval "$ac_try") 2>&5 |
11936 | (eval "$ac_try") 2>&5 |
12126 | ac_status=$? |
11937 | ac_status=$? |
12127 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12128 | (exit $ac_status); }; }; then |
11939 | (exit $ac_status); }; }; then |
12129 | rxvt_cv_func_xlocale=yes |
11940 | rxvt_cv_func_xlocale=yes |
12130 | else |
11941 | else |
12131 | echo "$as_me: program exited with status $ac_status" >&5 |
11942 | echo "$as_me: program exited with status $ac_status" >&5 |
12132 | echo "$as_me: failed program was:" >&5 |
11943 | echo "$as_me: failed program was:" >&5 |
12133 | sed 's/^/| /' conftest.$ac_ext >&5 |
11944 | sed 's/^/| /' conftest.$ac_ext >&5 |
12134 | |
11945 | |
… | |
… | |
12140 | |
11951 | |
12141 | |
11952 | |
12142 | fi |
11953 | fi |
12143 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11954 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
12144 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11955 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
12145 | if test x$rxvt_cv_func_xlocale = xyes; then |
11956 | if test x$rxvt_cv_func_xlocale = xyes; then |
12146 | |
11957 | |
12147 | cat >>confdefs.h <<\_ACEOF |
11958 | cat >>confdefs.h <<\_ACEOF |
12148 | #define HAVE_XLOCALE 1 |
11959 | #define USE_XIM 1 |
12149 | _ACEOF |
11960 | _ACEOF |
12150 | |
11961 | |
|
|
11962 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
11963 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
11964 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
11965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11966 | else |
|
|
11967 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11968 | |
|
|
11969 | #include <X11/Xlib.h> |
|
|
11970 | |
|
|
11971 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
11972 | |
|
|
11973 | void f() { |
|
|
11974 | XIMCallback cb; |
|
|
11975 | cb.callback = im_destroy_cb; |
|
|
11976 | } |
|
|
11977 | |
|
|
11978 | _ACEOF |
|
|
11979 | rm -f conftest.$ac_objext |
|
|
11980 | if { (ac_try="$ac_compile" |
|
|
11981 | case "(($ac_try" in |
|
|
11982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
11983 | *) ac_try_echo=$ac_try;; |
|
|
11984 | esac |
|
|
11985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
11986 | (eval "$ac_compile") 2>conftest.er1 |
|
|
11987 | ac_status=$? |
|
|
11988 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11989 | rm -f conftest.er1 |
|
|
11990 | cat conftest.err >&5 |
|
|
11991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11992 | (exit $ac_status); } && { |
|
|
11993 | test -z "$ac_cxx_werror_flag" || |
|
|
11994 | test ! -s conftest.err |
|
|
11995 | } && test -s conftest.$ac_objext; then |
|
|
11996 | rxvt_broken_ximcb=yes |
|
|
11997 | else |
|
|
11998 | echo "$as_me: failed program was:" >&5 |
|
|
11999 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12000 | |
|
|
12001 | rxvt_broken_ximcb=no |
|
|
12002 | fi |
|
|
12003 | |
|
|
12004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12005 | fi |
|
|
12006 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12007 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12008 | |
|
|
12009 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12010 | |
|
|
12011 | cat >>confdefs.h <<\_ACEOF |
|
|
12012 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12013 | _ACEOF |
|
|
12014 | |
|
|
12015 | fi |
|
|
12016 | fi |
12151 | fi |
12017 | fi |
12152 | |
12018 | |
12153 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
12019 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
12154 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
12020 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
12155 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
12021 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
… | |
… | |
12207 | cat >>confdefs.h <<\_ACEOF |
12073 | cat >>confdefs.h <<\_ACEOF |
12208 | #define HAVE_XSETLOCALE 1 |
12074 | #define HAVE_XSETLOCALE 1 |
12209 | _ACEOF |
12075 | _ACEOF |
12210 | |
12076 | |
12211 | fi |
12077 | fi |
12212 | LIBS=$ac_save_LIBS |
12078 | LIBS=$save_LIBS |
12213 | CFLAGS=$ac_save_CFLAGS |
12079 | CFLAGS=$save_CFLAGS |
12214 | |
12080 | |
12215 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
12081 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
12216 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
12082 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
12217 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
12083 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
12218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12084 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12421 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12287 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12422 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12288 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12423 | { (exit 1); exit 1; }; } |
12289 | { (exit 1); exit 1; }; } |
12424 | fi |
12290 | fi |
12425 | |
12291 | |
12426 | |
|
|
12427 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
12428 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
12429 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
12430 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12431 | else |
|
|
12432 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12433 | |
|
|
12434 | #include <X11/Xlib.h> |
|
|
12435 | |
|
|
12436 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
12437 | |
|
|
12438 | void f() { |
|
|
12439 | XIMCallback cb; |
|
|
12440 | cb.callback = im_destroy_cb; |
|
|
12441 | } |
|
|
12442 | |
|
|
12443 | _ACEOF |
|
|
12444 | rm -f conftest.$ac_objext |
|
|
12445 | if { (ac_try="$ac_compile" |
|
|
12446 | case "(($ac_try" in |
|
|
12447 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12448 | *) ac_try_echo=$ac_try;; |
|
|
12449 | esac |
|
|
12450 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
12451 | (eval "$ac_compile") 2>conftest.er1 |
|
|
12452 | ac_status=$? |
|
|
12453 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12454 | rm -f conftest.er1 |
|
|
12455 | cat conftest.err >&5 |
|
|
12456 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12457 | (exit $ac_status); } && { |
|
|
12458 | test -z "$ac_cxx_werror_flag" || |
|
|
12459 | test ! -s conftest.err |
|
|
12460 | } && test -s conftest.$ac_objext; then |
|
|
12461 | rxvt_broken_ximcb=yes |
|
|
12462 | else |
|
|
12463 | echo "$as_me: failed program was:" >&5 |
|
|
12464 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12465 | |
|
|
12466 | rxvt_broken_ximcb=no |
|
|
12467 | fi |
|
|
12468 | |
|
|
12469 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12470 | fi |
|
|
12471 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12472 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12473 | |
|
|
12474 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12475 | |
|
|
12476 | cat >>confdefs.h <<\_ACEOF |
|
|
12477 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12478 | _ACEOF |
|
|
12479 | |
|
|
12480 | fi |
|
|
12481 | |
12292 | |
12482 | |
12293 | |
12483 | |
12294 | |
12484 | |
12295 | |
12485 | |
12296 | |
… | |
… | |
13166 | echo "${ECHO_T}no" >&6; } |
12977 | echo "${ECHO_T}no" >&6; } |
13167 | fi |
12978 | fi |
13168 | |
12979 | |
13169 | |
12980 | |
13170 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12981 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
13171 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12982 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
13172 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12983 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
13173 | else |
12984 | else |
13174 | # Extract the first word of "xft-config", so it can be a program name with args. |
12985 | # Extract the first word of "xft-config", so it can be a program name with args. |
13175 | set dummy xft-config; ac_word=$2 |
12986 | set dummy xft-config; ac_word=$2 |
13176 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12987 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
13211 | echo "${ECHO_T}no" >&6; } |
13022 | echo "${ECHO_T}no" >&6; } |
13212 | fi |
13023 | fi |
13213 | |
13024 | |
13214 | |
13025 | |
13215 | if test $XFT_CONFIG != no; then |
13026 | if test $XFT_CONFIG != no; then |
13216 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
13027 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
13217 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13028 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13218 | fi |
13029 | fi |
13219 | fi |
13030 | fi |
13220 | |
13031 | |
|
|
13032 | save_LIBS="$LIBS" |
|
|
13033 | LIBS="$LIBS $X_LIBS" |
13221 | |
13034 | |
13222 | for ac_header in X11/Xft/Xft.h |
13035 | for ac_header in X11/Xft/Xft.h |
13223 | do |
13036 | do |
13224 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13037 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13225 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
13038 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
13358 | support_xft=no |
13171 | support_xft=no |
13359 | fi |
13172 | fi |
13360 | |
13173 | |
13361 | done |
13174 | done |
13362 | |
13175 | |
13363 | |
|
|
13364 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13176 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13365 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13177 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13366 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13178 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13367 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13179 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13368 | else |
13180 | else |
13369 | ac_check_lib_save_LIBS=$LIBS |
13181 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13421 | LIBS=$ac_check_lib_save_LIBS |
13233 | LIBS=$ac_check_lib_save_LIBS |
13422 | fi |
13234 | fi |
13423 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13235 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13424 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13236 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13425 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13237 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13426 | cat >>confdefs.h <<_ACEOF |
13238 | : |
13427 | #define HAVE_LIBXFT 1 |
|
|
13428 | _ACEOF |
|
|
13429 | |
|
|
13430 | LIBS="-lXft $LIBS" |
|
|
13431 | |
|
|
13432 | else |
13239 | else |
13433 | support_xft=no |
13240 | support_xft=no |
13434 | fi |
13241 | fi |
13435 | |
13242 | |
|
|
13243 | LIBS="$save_LIBS" |
13436 | |
13244 | |
13437 | if test x$support_xft = xyes; then |
13245 | if test x$support_xft = xyes; then |
13438 | |
13246 | |
13439 | cat >>confdefs.h <<\_ACEOF |
13247 | cat >>confdefs.h <<\_ACEOF |
13440 | #define XFT 1 |
13248 | #define XFT 1 |
… | |
… | |
13468 | cat >>confdefs.h <<\_ACEOF |
13276 | cat >>confdefs.h <<\_ACEOF |
13469 | #define OFF_FOCUS_FADING 1 |
13277 | #define OFF_FOCUS_FADING 1 |
13470 | _ACEOF |
13278 | _ACEOF |
13471 | |
13279 | |
13472 | fi |
13280 | fi |
13473 | if test x$support_tinting = xyes; then |
13281 | if test x$support_inheritpixmap = xyes; then |
13474 | |
13282 | |
13475 | cat >>confdefs.h <<\_ACEOF |
13283 | cat >>confdefs.h <<\_ACEOF |
13476 | #define TINTING 1 |
|
|
13477 | _ACEOF |
|
|
13478 | |
|
|
13479 | fi |
|
|
13480 | if test x$support_inheritpixmap = xyes; then |
|
|
13481 | |
|
|
13482 | cat >>confdefs.h <<\_ACEOF |
|
|
13483 | #define TRANSPARENT 1 |
13284 | #define ENABLE_TRANSPARENCY 1 |
13484 | _ACEOF |
13285 | _ACEOF |
13485 | |
13286 | |
13486 | fi |
13287 | fi |
13487 | if test x$support_keepscrolling = xno; then |
13288 | if test x$support_keepscrolling = xno; then |
13488 | |
13289 | |
… | |
… | |
13517 | cat >>confdefs.h <<\_ACEOF |
13318 | cat >>confdefs.h <<\_ACEOF |
13518 | #define MOUSE_SLIP_WHEELING 1 |
13319 | #define MOUSE_SLIP_WHEELING 1 |
13519 | _ACEOF |
13320 | _ACEOF |
13520 | |
13321 | |
13521 | fi |
13322 | fi |
13522 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
|
|
13523 | if test x$rxvt_cv_func_xlocale = xyes; then |
|
|
13524 | |
|
|
13525 | cat >>confdefs.h <<\_ACEOF |
|
|
13526 | #define USE_XIM 1 |
|
|
13527 | _ACEOF |
|
|
13528 | |
|
|
13529 | fi |
|
|
13530 | fi |
|
|
13531 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
|
|
13532 | |
|
|
13533 | cat >>confdefs.h <<\_ACEOF |
|
|
13534 | #define XPM_BACKGROUND 1 |
|
|
13535 | _ACEOF |
|
|
13536 | |
|
|
13537 | fi |
|
|
13538 | |
|
|
13539 | if test x$support_afterimage = xyes; then |
13323 | if test x$support_afterimage = xyes; then |
13540 | |
13324 | |
13541 | cat >>confdefs.h <<\_ACEOF |
13325 | cat >>confdefs.h <<\_ACEOF |
13542 | #define HAVE_AFTERIMAGE 1 |
13326 | #define HAVE_AFTERIMAGE 1 |
13543 | _ACEOF |
13327 | _ACEOF |
13544 | |
13328 | |
13545 | fi |
|
|
13546 | |
|
|
13547 | if test x$support_afterstep = xyes; then |
|
|
13548 | |
13329 | |
13549 | cat >>confdefs.h <<\_ACEOF |
13330 | cat >>confdefs.h <<\_ACEOF |
13550 | #define AFTERSTEP_INTEGRATION 1 |
13331 | #define BG_IMAGE_FROM_FILE 1 |
13551 | _ACEOF |
13332 | _ACEOF |
13552 | |
13333 | |
13553 | fi |
13334 | fi |
|
|
13335 | |
13554 | |
13336 | |
13555 | if test x$support_scroll_rxvt = xyes; then |
13337 | if test x$support_scroll_rxvt = xyes; then |
13556 | |
13338 | |
13557 | cat >>confdefs.h <<\_ACEOF |
13339 | cat >>confdefs.h <<\_ACEOF |
13558 | #define RXVT_SCROLLBAR 1 |
13340 | #define RXVT_SCROLLBAR 1 |
… | |
… | |
13827 | |
13609 | |
13828 | |
13610 | |
13829 | |
13611 | |
13830 | |
13612 | |
13831 | |
13613 | |
13832 | if test x$support_perl = xyes; then |
|
|
13833 | support_frills=yes |
|
|
13834 | fi |
|
|
13835 | |
13614 | |
13836 | |
13615 | |
13837 | |
13616 | |
13838 | |
13617 | |
13839 | |
|
|
13840 | |
|
|
13841 | |
|
|
13842 | |
|
|
13843 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
13844 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
13845 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
13846 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
13847 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
13848 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
13849 | fi |
|
|
13850 | |
13618 | |
13851 | |
13619 | |
13852 | |
13620 | |
13853 | |
13621 | |
13854 | |
13622 | |
… | |
… | |
14625 | GREP!$GREP$ac_delim |
14393 | GREP!$GREP$ac_delim |
14626 | EGREP!$EGREP$ac_delim |
14394 | EGREP!$EGREP$ac_delim |
14627 | LINKER!$LINKER$ac_delim |
14395 | LINKER!$LINKER$ac_delim |
14628 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
14396 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
14629 | RXVTNAME!$RXVTNAME$ac_delim |
14397 | RXVTNAME!$RXVTNAME$ac_delim |
14630 | MV!$MV$ac_delim |
|
|
14631 | CP!$CP$ac_delim |
14398 | CXXCPP!$CXXCPP$ac_delim |
14632 | LN!$LN$ac_delim |
|
|
14633 | SED!$SED$ac_delim |
|
|
14634 | ECHO!$ECHO$ac_delim |
|
|
14635 | CMP!$CMP$ac_delim |
|
|
14636 | TIC!$TIC$ac_delim |
14399 | TIC!$TIC$ac_delim |
14637 | XMKMF!$XMKMF$ac_delim |
14400 | XMKMF!$XMKMF$ac_delim |
14638 | CXXCPP!$CXXCPP$ac_delim |
|
|
14639 | X_CFLAGS!$X_CFLAGS$ac_delim |
14401 | X_CFLAGS!$X_CFLAGS$ac_delim |
14640 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14402 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14641 | X_LIBS!$X_LIBS$ac_delim |
14403 | X_LIBS!$X_LIBS$ac_delim |
14642 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14404 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14643 | afterimage_config!$afterimage_config$ac_delim |
14405 | afterimage_config!$afterimage_config$ac_delim |
14644 | XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim |
|
|
14645 | XPM_CFLAGS!$XPM_CFLAGS$ac_delim |
|
|
14646 | XPM_LIBS!$XPM_LIBS$ac_delim |
|
|
14647 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14406 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14648 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14407 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14649 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14408 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14650 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14409 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14651 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
14410 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
… | |
… | |
14654 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14413 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14655 | PERL!$PERL$ac_delim |
14414 | PERL!$PERL$ac_delim |
14656 | PERLLIB!$PERLLIB$ac_delim |
14415 | PERLLIB!$PERLLIB$ac_delim |
14657 | PERLFLAGS!$PERLFLAGS$ac_delim |
14416 | PERLFLAGS!$PERLFLAGS$ac_delim |
14658 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14417 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
|
|
14418 | IF_PERL!$IF_PERL$ac_delim |
|
|
14419 | PERL_O!$PERL_O$ac_delim |
|
|
14420 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
|
|
14421 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
|
|
14422 | include_stdint_h!$include_stdint_h$ac_delim |
|
|
14423 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14424 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14425 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14426 | include_string_h!$include_string_h$ac_delim |
14659 | _ACEOF |
14427 | _ACEOF |
14660 | |
14428 | |
14661 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14429 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14662 | break |
14430 | break |
14663 | elif $ac_last_try; then |
14431 | elif $ac_last_try; then |
… | |
… | |
14695 | |
14463 | |
14696 | |
14464 | |
14697 | ac_delim='%!_!# ' |
14465 | ac_delim='%!_!# ' |
14698 | for ac_last_try in false false false false false :; do |
14466 | for ac_last_try in false false false false false :; do |
14699 | cat >conf$$subs.sed <<_ACEOF |
14467 | cat >conf$$subs.sed <<_ACEOF |
14700 | IF_PERL!$IF_PERL$ac_delim |
|
|
14701 | PERL_O!$PERL_O$ac_delim |
|
|
14702 | DEBUG!$DEBUG$ac_delim |
|
|
14703 | DINCLUDE!$DINCLUDE$ac_delim |
|
|
14704 | DLIB!$DLIB$ac_delim |
|
|
14705 | LIBAFTERIMAGE_CFLAGS!$LIBAFTERIMAGE_CFLAGS$ac_delim |
|
|
14706 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
|
|
14707 | include_stdint_h!$include_stdint_h$ac_delim |
|
|
14708 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14709 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14710 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14711 | include_string_h!$include_string_h$ac_delim |
|
|
14712 | include_fcntl_h!$include_fcntl_h$ac_delim |
14468 | include_fcntl_h!$include_fcntl_h$ac_delim |
14713 | include_util_h!$include_util_h$ac_delim |
14469 | include_util_h!$include_util_h$ac_delim |
14714 | include_assert_h!$include_assert_h$ac_delim |
14470 | include_assert_h!$include_assert_h$ac_delim |
14715 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14471 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14716 | include_sys_select_h!$include_sys_select_h$ac_delim |
14472 | include_sys_select_h!$include_sys_select_h$ac_delim |
… | |
… | |
14719 | include_time_h!$include_time_h$ac_delim |
14475 | include_time_h!$include_time_h$ac_delim |
14720 | LIBOBJS!$LIBOBJS$ac_delim |
14476 | LIBOBJS!$LIBOBJS$ac_delim |
14721 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14477 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14722 | _ACEOF |
14478 | _ACEOF |
14723 | |
14479 | |
14724 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then |
14480 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then |
14725 | break |
14481 | break |
14726 | elif $ac_last_try; then |
14482 | elif $ac_last_try; then |
14727 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14483 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14728 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14484 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14729 | { (exit 1); exit 1; }; } |
14485 | { (exit 1); exit 1; }; } |
… | |
… | |
15158 | Install path: ${prefix}/bin |
14914 | Install path: ${prefix}/bin |
15159 | Compiler: $CXX |
14915 | Compiler: $CXX |
15160 | Compiler flags: $CXXFLAGS |
14916 | Compiler flags: $CXXFLAGS |
15161 | Linker: $LINKER" |
14917 | Linker: $LINKER" |
15162 | |
14918 | |
15163 | if test x$support_xpm = xyes; then |
|
|
15164 | echo " Xpm library: $XPM_LIBS" |
|
|
15165 | fi |
|
|
15166 | |
|
|
15167 | if test x$support_afterimage = xyes; then |
|
|
15168 | echo " AfterImage support: yes" |
|
|
15169 | fi |
|
|
15170 | |
|
|
15171 | if test x$support_afterstep = xyes; then |
|
|
15172 | echo " AfterStep intergration: yes" |
|
|
15173 | fi |
|
|
15174 | |
|
|
15175 | if test x$term != x; then |
14919 | if test x$term != x; then |
15176 | echo " set TERM to: $term" |
14920 | echo " set TERM to: $term" |
15177 | fi |
14921 | fi |
15178 | if test x$terminfo != x; then |
14922 | if test x$terminfo != x; then |
15179 | echo " set TERMINFO to: $terminfo" |
14923 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
15183 | if test x$RESFALLBACK != x; then |
14927 | if test x$RESFALLBACK != x; then |
15184 | echo " resource class fallback: $RESFALLBACK" |
14928 | echo " resource class fallback: $RESFALLBACK" |
15185 | fi |
14929 | fi |
15186 | echo |
14930 | echo |
15187 | echo " embedded perl: $support_perl" |
14931 | echo " embedded perl: $support_perl" |
|
|
14932 | echo " libafterimage: $support_afterimage" |
15188 | echo |
14933 | echo |
15189 | if test x$support_xpm = xneedsmanualspecification; then |
|
|
15190 | echo ".----------------------------------------------------------------." |
|
|
15191 | echo ". WARNING: --enable-xpm-background was specified however the ." |
|
|
15192 | echo ". XPM includes files and libraries could not be found. ." |
|
|
15193 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
|
|
15194 | echo ". to use them you should rerun configure with the ." |
|
|
15195 | echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ." |
|
|
15196 | echo ". and --with-xpm-library=/path/to/xpm/library lines. ." |
|
|
15197 | echo ".----------------------------------------------------------------." |
|
|
15198 | fi |
|
|
15199 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14934 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
15200 | echo ".----------------------------------------------------------------." |
14935 | echo ".----------------------------------------------------------------." |
15201 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14936 | echo ". WARNING: --enable-xim was specified however the locale support ." |
15202 | echo ". functions could not be found. ." |
14937 | echo ". functions could not be found. ." |
15203 | echo ". XIM is now being DISABLED! ." |
14938 | echo ". XIM is now being DISABLED! ." |