… | |
… | |
658 | host_cpu |
658 | host_cpu |
659 | host_vendor |
659 | host_vendor |
660 | host_os |
660 | host_os |
661 | VERSION |
661 | VERSION |
662 | DATE |
662 | DATE |
663 | LSMDATE |
|
|
664 | LIBVERSION |
|
|
665 | CC |
663 | CC |
666 | CFLAGS |
664 | CFLAGS |
667 | LDFLAGS |
665 | LDFLAGS |
668 | CPPFLAGS |
666 | CPPFLAGS |
669 | ac_ct_CC |
667 | ac_ct_CC |
… | |
… | |
677 | INSTALL_SCRIPT |
675 | INSTALL_SCRIPT |
678 | INSTALL_DATA |
676 | INSTALL_DATA |
679 | GREP |
677 | GREP |
680 | EGREP |
678 | EGREP |
681 | LINKER |
679 | LINKER |
682 | INSTALL_LIBRXVT |
|
|
683 | RXVTNAME |
680 | RXVTNAME |
684 | MV |
681 | CXXCPP |
685 | CP |
|
|
686 | LN |
|
|
687 | SED |
|
|
688 | ECHO |
|
|
689 | CMP |
|
|
690 | TIC |
682 | TIC |
691 | XMKMF |
683 | XMKMF |
692 | CXXCPP |
|
|
693 | X_CFLAGS |
684 | X_CFLAGS |
694 | X_PRE_LIBS |
685 | X_PRE_LIBS |
695 | X_LIBS |
686 | X_LIBS |
696 | X_EXTRA_LIBS |
687 | X_EXTRA_LIBS |
697 | afterimage_config |
688 | afterimage_config |
698 | XPM_CPPFLAGS |
|
|
699 | XPM_CFLAGS |
|
|
700 | XPM_LIBS |
|
|
701 | rxvt_int16_typedef |
689 | rxvt_int16_typedef |
702 | rxvt_uint16_typedef |
690 | rxvt_uint16_typedef |
703 | rxvt_int32_typedef |
691 | rxvt_int32_typedef |
704 | rxvt_uint32_typedef |
692 | rxvt_uint32_typedef |
705 | rxvt_intp_define |
693 | rxvt_intp_define |
… | |
… | |
710 | PERLLIB |
698 | PERLLIB |
711 | PERLFLAGS |
699 | PERLFLAGS |
712 | PERLPRIVLIBEXP |
700 | PERLPRIVLIBEXP |
713 | IF_PERL |
701 | IF_PERL |
714 | PERL_O |
702 | PERL_O |
715 | DEBUG |
|
|
716 | DINCLUDE |
|
|
717 | DLIB |
|
|
718 | LIBAFTERIMAGE_CFLAGS |
703 | AFTERIMAGE_CFLAGS |
719 | AFTERIMAGE_LIBS |
704 | AFTERIMAGE_LIBS |
720 | include_stdint_h |
705 | include_stdint_h |
721 | include_stdarg_h |
706 | include_stdarg_h |
722 | include_stdlib_h |
707 | include_stdlib_h |
723 | include_unistd_h |
708 | include_unistd_h |
… | |
… | |
743 | CPPFLAGS |
728 | CPPFLAGS |
744 | CXX |
729 | CXX |
745 | CXXFLAGS |
730 | CXXFLAGS |
746 | CCC |
731 | CCC |
747 | CPP |
732 | CPP |
748 | XMKMF |
|
|
749 | CXXCPP' |
733 | CXXCPP |
|
|
734 | XMKMF' |
750 | |
735 | |
751 | |
736 | |
752 | # Initialize some variables set by options. |
737 | # Initialize some variables set by options. |
753 | ac_init_help= |
738 | ac_init_help= |
754 | ac_init_version=false |
739 | ac_init_version=false |
… | |
… | |
1328 | Optional Features: |
1313 | Optional Features: |
1329 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1314 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1330 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1315 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1331 | --enable-everything enable standard non-multichoice features |
1316 | --enable-everything enable standard non-multichoice features |
1332 | NOTE: this option is order dependent |
1317 | NOTE: this option is order dependent |
1333 | NOTE: automatically enabled with --enable-shared |
1318 | --enable-warnings turn on g++ warnings |
1334 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1319 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1335 | --enable-combining enable composition of base and combining characters |
1320 | --enable-combining enable composition of base and combining characters |
1336 | --enable-xft enable xft support on systems that have it |
1321 | --enable-xft enable xft support on systems that have it |
1337 | --enable-font-styles enable bold and italic support |
1322 | --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 |
1323 | --enable-afterimage enable integration with libAfterImage for background images |
1340 | --enable-afterstep enable integration with AfterStep window manager |
|
|
1341 | --enable-transparency enable transparent backgrounds |
1324 | --enable-transparency enable transparent backgrounds |
1342 | --enable-tinting enable tinting of transparent bg |
|
|
1343 | --enable-fading enable colors fading when off focus |
1325 | --enable-fading enable colors fading when off focus |
1344 | --enable-rxvt-scroll enable rxvt style scrollbar |
1326 | --enable-rxvt-scroll enable rxvt style scrollbar |
1345 | --enable-next-scroll enable NeXT style scrollbar |
1327 | --enable-next-scroll enable NeXT style scrollbar |
1346 | --enable-xterm-scroll enable Xterm style scrollbar |
1328 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
1329 | --enable-plain-scroll enable plain style scrollbar |
1347 | --enable-perl enable embedded perl interpreter |
1330 | --enable-perl enable embedded perl interpreter |
1348 | --enable-plain-scroll enable plain style scrollbar |
|
|
1349 | --enable-xim XIM (X Input Method) protocol support |
1331 | --enable-xim XIM (X Input Method) protocol support |
1350 | --disable-backspace-key disable handling of the backspace key |
1332 | --disable-backspace-key disable handling of the backspace key |
1351 | --disable-delete-key disable handling of the delete key |
1333 | --disable-delete-key disable handling of the delete key |
1352 | --disable-resources disable all resource checking |
1334 | --disable-resources disable all resource checking |
1353 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1335 | --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) |
1336 | --enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1355 | --disable-swapscreen disable swap screen support |
1337 | --disable-swapscreen disable swap screen support |
1356 | --enable-iso14755 enable support for extended ISO 14755 modes |
1338 | --enable-iso14755 enable support for extended ISO 14755 modes |
1357 | --enable-frills enable support for rarely used features |
1339 | --enable-frills enable support for rarely used features |
1358 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1340 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1359 | --enable-selectionscrolling enable scrolling during selections |
1341 | --enable-selectionscrolling enable scrolling during selections |
1360 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1342 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1361 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1343 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1362 | --enable-smart-resize enable smart growth/shrink behaviour |
1344 | --enable-smart-resize enable smart growth/shrink behaviour |
1363 | --enable-text-blink enable blinking text |
1345 | --enable-text-blink enable blinking text |
1364 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1346 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1365 | --enable-utmp enable utmp (utmpx) support |
1347 | --enable-utmp enable utmp (utmpx) support |
1366 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1348 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
… | |
… | |
1368 | |
1350 | |
1369 | Optional Packages: |
1351 | Optional Packages: |
1370 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1352 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1371 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1353 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1372 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1354 | --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) |
1355 | --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) |
1356 | --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) |
1357 | --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) |
1358 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1377 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1359 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1378 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1360 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1379 | --with-x use the X Window System |
1361 | --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 | |
1362 | |
1384 | Some influential environment variables: |
1363 | Some influential environment variables: |
1385 | CC C compiler command |
1364 | CC C compiler command |
1386 | CFLAGS C compiler flags |
1365 | CFLAGS C compiler flags |
1387 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1366 | 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 |
1369 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1391 | you have headers in a nonstandard directory <include dir> |
1370 | you have headers in a nonstandard directory <include dir> |
1392 | CXX C++ compiler command |
1371 | CXX C++ compiler command |
1393 | CXXFLAGS C++ compiler flags |
1372 | CXXFLAGS C++ compiler flags |
1394 | CPP C preprocessor |
1373 | CPP C preprocessor |
|
|
1374 | CXXCPP C++ preprocessor |
1395 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1375 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1396 | CXXCPP C++ preprocessor |
|
|
1397 | |
1376 | |
1398 | Use these variables to override the choices made by `configure' or to help |
1377 | Use these variables to override the choices made by `configure' or to help |
1399 | it to find libraries and programs with nonstandard names/locations. |
1378 | it to find libraries and programs with nonstandard names/locations. |
1400 | |
1379 | |
1401 | _ACEOF |
1380 | _ACEOF |
… | |
… | |
1937 | |
1916 | |
1938 | |
1917 | |
1939 | |
1918 | |
1940 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1919 | 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` |
1920 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
|
|
1921 | |
1942 | echo "" |
1922 | echo "" |
1943 | echo "configuring for rxvt $VERSION" |
1923 | echo "configuring for rxvt $VERSION" |
1944 | echo "" |
1924 | echo "" |
1945 | |
1925 | |
1946 | orig_CXXFLAGS="$CXXFLAGS" |
1926 | orig_CXXFLAGS="$CXXFLAGS" |
1947 | |
|
|
1948 | |
1927 | |
1949 | ac_ext=c |
1928 | ac_ext=c |
1950 | ac_cpp='$CPP $CPPFLAGS' |
1929 | ac_cpp='$CPP $CPPFLAGS' |
1951 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1930 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1952 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1931 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
3731 | echo "${ECHO_T}no" >&6; } |
3710 | echo "${ECHO_T}no" >&6; } |
3732 | fi |
3711 | fi |
3733 | rm -f conftest* |
3712 | rm -f conftest* |
3734 | |
3713 | |
3735 | |
3714 | |
|
|
3715 | |
|
|
3716 | cat >>confdefs.h <<\_ACEOF |
|
|
3717 | #define _GNU_SOURCE 1 |
|
|
3718 | _ACEOF |
|
|
3719 | |
|
|
3720 | |
3736 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3721 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3737 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3722 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3738 | if test "${ac_cv_search_strerror+set}" = set; then |
3723 | if test "${ac_cv_search_strerror+set}" = set; then |
3739 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3740 | else |
3725 | else |
… | |
… | |
3887 | LINKER=$LINKER |
3872 | LINKER=$LINKER |
3888 | |
3873 | |
3889 | |
3874 | |
3890 | if test -z "$orig_CXXFLAGS"; then |
3875 | if test -z "$orig_CXXFLAGS"; then |
3891 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3876 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3892 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3877 | CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs" |
3893 | cat >conftest.$ac_ext <<_ACEOF |
3878 | cat >conftest.$ac_ext <<_ACEOF |
3894 | /* confdefs.h. */ |
3879 | /* confdefs.h. */ |
3895 | _ACEOF |
3880 | _ACEOF |
3896 | cat confdefs.h >>conftest.$ac_ext |
3881 | cat confdefs.h >>conftest.$ac_ext |
3897 | cat >>conftest.$ac_ext <<_ACEOF |
3882 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
3935 | CXXFLAGS="-O" |
3920 | CXXFLAGS="-O" |
3936 | fi |
3921 | fi |
3937 | CFLAGS="$CXXFLAGS" |
3922 | CFLAGS="$CXXFLAGS" |
3938 | fi |
3923 | fi |
3939 | |
3924 | |
3940 | |
|
|
3941 | cat >>confdefs.h <<\_ACEOF |
|
|
3942 | #define _GNU_SOURCE 1 |
|
|
3943 | _ACEOF |
|
|
3944 | |
|
|
3945 | |
|
|
3946 | case $host in |
3925 | case $host in |
3947 | *-*-solaris* ) |
3926 | *-*-solaris* ) |
3948 | |
3927 | |
3949 | cat >>confdefs.h <<\_ACEOF |
3928 | cat >>confdefs.h <<\_ACEOF |
3950 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3951 | _ACEOF |
|
|
3952 | |
|
|
3953 | |
|
|
3954 | cat >>confdefs.h <<\_ACEOF |
|
|
3955 | #define _XOPEN_SOURCE 2 |
3929 | #define _XOPEN_SOURCE 500 |
3956 | _ACEOF |
|
|
3957 | |
|
|
3958 | |
|
|
3959 | cat >>confdefs.h <<\_ACEOF |
|
|
3960 | #define __EXTENSIONS__ 1 |
|
|
3961 | _ACEOF |
3930 | _ACEOF |
3962 | |
3931 | |
3963 | ;; |
3932 | ;; |
3964 | esac |
3933 | esac |
3965 | |
|
|
3966 | |
3934 | |
3967 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3935 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3968 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3936 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3969 | if test "${ac_cv_func_setlocale+set}" = set; then |
3937 | if test "${ac_cv_func_setlocale+set}" = set; then |
3970 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
4420 | |
4388 | |
4421 | |
4389 | |
4422 | |
4390 | |
4423 | support_frills=yes |
4391 | support_frills=yes |
4424 | support_inheritpixmap=yes |
4392 | support_inheritpixmap=yes |
4425 | support_tinting=yes |
|
|
4426 | support_fading=yes |
4393 | support_fading=yes |
4427 | support_keepscrolling=yes |
4394 | support_keepscrolling=yes |
4428 | support_selectionscrolling=yes |
4395 | support_selectionscrolling=yes |
4429 | support_mousewheel=yes |
4396 | support_mousewheel=yes |
4430 | support_mouseslipwheel=yes |
4397 | support_mouseslipwheel=yes |
… | |
… | |
4433 | support_scroll_rxvt=yes |
4400 | support_scroll_rxvt=yes |
4434 | support_scroll_next=yes |
4401 | support_scroll_next=yes |
4435 | support_scroll_xterm=yes |
4402 | support_scroll_xterm=yes |
4436 | support_scroll_plain=yes |
4403 | support_scroll_plain=yes |
4437 | support_xim=yes |
4404 | support_xim=yes |
4438 | support_xpm=yes |
|
|
4439 | support_afterimage=yes |
4405 | support_afterimage=yes |
4440 | support_afterstep=yes |
4406 | support_afterstep=yes |
4441 | support_xft=yes |
4407 | support_xft=yes |
4442 | support_unicode3=no |
4408 | support_unicode3=no |
4443 | support_combining=yes |
4409 | support_combining=yes |
… | |
… | |
4446 | support_styles=yes |
4412 | support_styles=yes |
4447 | support_perl=yes |
4413 | support_perl=yes |
4448 | codesets=all |
4414 | codesets=all |
4449 | |
4415 | |
4450 | |
4416 | |
4451 | if test "x$enable_shared" = xyes; then |
|
|
4452 | |
|
|
4453 | cat >>confdefs.h <<\_ACEOF |
|
|
4454 | #define LIBRXVT 1 |
|
|
4455 | _ACEOF |
|
|
4456 | |
|
|
4457 | INSTALL_LIBRXVT=yes |
|
|
4458 | fi |
|
|
4459 | |
|
|
4460 | |
4417 | |
4461 | # Check whether --enable-everything was given. |
4418 | # Check whether --enable-everything was given. |
4462 | if test "${enable_everything+set}" = set; then |
4419 | if test "${enable_everything+set}" = set; then |
4463 | enableval=$enable_everything; |
4420 | enableval=$enable_everything; |
4464 | if test x$enableval = xno; then |
4421 | if test x$enableval = xno; then |
4465 | support_frills=no |
4422 | support_frills=no |
4466 | support_inheritpixmap=no |
4423 | support_inheritpixmap=no |
4467 | support_tinting=no |
|
|
4468 | support_fading=no |
4424 | support_fading=no |
4469 | support_keepscrolling=no |
4425 | support_keepscrolling=no |
4470 | support_selectionscrolling=no |
4426 | support_selectionscrolling=no |
4471 | support_lastlog=no |
4427 | support_lastlog=no |
4472 | support_mousewheel=no |
4428 | support_mousewheel=no |
… | |
… | |
4478 | support_scroll_xterm=no |
4434 | support_scroll_xterm=no |
4479 | support_scroll_plain=no |
4435 | support_scroll_plain=no |
4480 | support_utmp=no |
4436 | support_utmp=no |
4481 | support_wtmp=no |
4437 | support_wtmp=no |
4482 | support_xim=no |
4438 | support_xim=no |
4483 | support_xpm=no |
|
|
4484 | support_afterimage=no |
4439 | support_afterimage=no |
4485 | support_afterstep=no |
4440 | support_afterstep=no |
4486 | support_xft=no |
4441 | support_xft=no |
4487 | support_unicode3=no |
4442 | support_unicode3=no |
4488 | support_combining=no |
4443 | support_combining=no |
… | |
… | |
4493 | codesets= |
4448 | codesets= |
4494 | fi |
4449 | fi |
4495 | if test x$enableval = xyes; then |
4450 | if test x$enableval = xyes; then |
4496 | support_frills=yes |
4451 | support_frills=yes |
4497 | support_inheritpixmap=yes |
4452 | support_inheritpixmap=yes |
4498 | support_tinting=yes |
|
|
4499 | support_fading=yes |
4453 | support_fading=yes |
4500 | support_keepscrolling=yes |
4454 | support_keepscrolling=yes |
4501 | support_selectionscrolling=yes |
4455 | support_selectionscrolling=yes |
4502 | support_lastlog=yes |
4456 | support_lastlog=yes |
4503 | support_mousewheel=yes |
4457 | support_mousewheel=yes |
… | |
… | |
4509 | support_scroll_xterm=yes |
4463 | support_scroll_xterm=yes |
4510 | support_scroll_plain=yes |
4464 | support_scroll_plain=yes |
4511 | support_utmp=yes |
4465 | support_utmp=yes |
4512 | support_wtmp=yes |
4466 | support_wtmp=yes |
4513 | support_xim=yes |
4467 | support_xim=yes |
4514 | support_xpm=yes |
|
|
4515 | support_afterimage=yes |
4468 | support_afterimage=yes |
4516 | support_afterstep=yes |
4469 | support_afterstep=yes |
4517 | support_xft=yes |
4470 | support_xft=yes |
4518 | support_unicode3=yes |
4471 | support_unicode3=yes |
4519 | support_combining=yes |
4472 | support_combining=yes |
… | |
… | |
4525 | fi |
4478 | fi |
4526 | |
4479 | |
4527 | fi |
4480 | fi |
4528 | |
4481 | |
4529 | |
4482 | |
|
|
4483 | WARNINGS=no |
|
|
4484 | # Check whether --enable-warnings was given. |
|
|
4485 | if test "${enable_warnings+set}" = set; then |
|
|
4486 | enableval=$enable_warnings; if test x$enableval = xyes; then |
|
|
4487 | WARNINGS=yes |
|
|
4488 | fi |
|
|
4489 | fi |
|
|
4490 | |
|
|
4491 | if test x$GXX = xyes; then |
|
|
4492 | if test $WARNINGS = yes; then |
|
|
4493 | save_CXXFLAGS="$CXXFLAGS" |
|
|
4494 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
|
|
4495 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4496 | /* confdefs.h. */ |
|
|
4497 | _ACEOF |
|
|
4498 | cat confdefs.h >>conftest.$ac_ext |
|
|
4499 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4500 | /* end confdefs.h. */ |
|
|
4501 | |
|
|
4502 | int |
|
|
4503 | main () |
|
|
4504 | { |
|
|
4505 | |
|
|
4506 | ; |
|
|
4507 | return 0; |
|
|
4508 | } |
|
|
4509 | _ACEOF |
|
|
4510 | rm -f conftest.$ac_objext |
|
|
4511 | if { (ac_try="$ac_compile" |
|
|
4512 | case "(($ac_try" in |
|
|
4513 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4514 | *) ac_try_echo=$ac_try;; |
|
|
4515 | esac |
|
|
4516 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4517 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4518 | ac_status=$? |
|
|
4519 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4520 | rm -f conftest.er1 |
|
|
4521 | cat conftest.err >&5 |
|
|
4522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4523 | (exit $ac_status); } && { |
|
|
4524 | test -z "$ac_cxx_werror_flag" || |
|
|
4525 | test ! -s conftest.err |
|
|
4526 | } && test -s conftest.$ac_objext; then |
|
|
4527 | : |
|
|
4528 | else |
|
|
4529 | echo "$as_me: failed program was:" >&5 |
|
|
4530 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4531 | |
|
|
4532 | CXXFLAGS="$save_CXXFLAGS" |
|
|
4533 | fi |
|
|
4534 | |
|
|
4535 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4536 | else |
|
|
4537 | CXXFLAGS="$CXXFLAGS -w" |
|
|
4538 | fi |
|
|
4539 | fi |
|
|
4540 | |
4530 | # Check whether --enable-unicode3 was given. |
4541 | # Check whether --enable-unicode3 was given. |
4531 | if test "${enable_unicode3+set}" = set; then |
4542 | if test "${enable_unicode3+set}" = set; then |
4532 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4543 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4533 | support_unicode3=$enableval |
4544 | support_unicode3=$enableval |
4534 | fi |
4545 | fi |
… | |
… | |
4557 | support_styles=$enableval |
4568 | support_styles=$enableval |
4558 | fi |
4569 | fi |
4559 | fi |
4570 | fi |
4560 | |
4571 | |
4561 | |
4572 | |
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. |
4573 | # Check whether --enable-afterimage was given. |
4571 | if test "${enable_afterimage+set}" = set; then |
4574 | if test "${enable_afterimage+set}" = set; then |
4572 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
4575 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
4573 | support_afterimage=$enableval |
4576 | support_afterimage=$enableval |
4574 | fi |
4577 | fi |
… | |
… | |
4576 | |
4579 | |
4577 | |
4580 | |
4578 | |
4581 | |
4579 | # Check whether --with-afterimage_config was given. |
4582 | # Check whether --with-afterimage_config was given. |
4580 | if test "${with_afterimage_config+set}" = set; then |
4583 | if test "${with_afterimage_config+set}" = set; then |
4581 | withval=$with_afterimage_config; afterimage_config="$withval" |
4584 | withval=$with_afterimage_config; if test "x$withval" != x; then |
4582 | fi |
4585 | 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 |
4586 | fi |
4590 | fi |
4587 | fi |
|
|
4588 | |
4591 | |
4589 | |
4592 | |
4590 | |
4593 | # Check whether --enable-transparency was given. |
4591 | # Check whether --enable-transparency was given. |
4594 | if test "${enable_transparency+set}" = set; then |
4592 | if test "${enable_transparency+set}" = set; then |
4595 | enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then |
4593 | enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then |
4596 | support_inheritpixmap=$enableval |
4594 | support_inheritpixmap=$enableval |
4597 | fi |
4595 | fi |
4598 | fi |
4596 | fi |
4599 | |
4597 | |
4600 | |
4598 | |
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 |
|
|
4606 | fi |
|
|
4607 | |
|
|
4608 | |
|
|
4609 | # Check whether --enable-fading was given. |
4599 | # Check whether --enable-fading was given. |
4610 | if test "${enable_fading+set}" = set; then |
4600 | if test "${enable_fading+set}" = set; then |
4611 | enableval=$enable_fading; if test x$enableval = xyes -o x$enableval = xno; then |
4601 | enableval=$enable_fading; if test x$enableval = xyes -o x$enableval = xno; then |
4612 | support_fading=$enableval |
4602 | support_fading=$enableval |
4613 | fi |
4603 | fi |
… | |
… | |
4636 | support_scroll_xterm=$enableval |
4626 | support_scroll_xterm=$enableval |
4637 | fi |
4627 | fi |
4638 | fi |
4628 | fi |
4639 | |
4629 | |
4640 | |
4630 | |
|
|
4631 | # Check whether --enable-plain-scroll was given. |
|
|
4632 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4633 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4634 | support_scroll_plain=$enableval |
|
|
4635 | fi |
|
|
4636 | fi |
|
|
4637 | |
|
|
4638 | |
4641 | # Check whether --enable-perl was given. |
4639 | # Check whether --enable-perl was given. |
4642 | if test "${enable_perl+set}" = set; then |
4640 | if test "${enable_perl+set}" = set; then |
4643 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4641 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4644 | support_perl=$enableval |
4642 | support_perl=$enableval |
4645 | fi |
|
|
4646 | fi |
|
|
4647 | |
|
|
4648 | |
|
|
4649 | # Check whether --enable-plain-scroll was given. |
|
|
4650 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4651 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4652 | support_scroll_plain=$enableval |
|
|
4653 | fi |
4643 | fi |
4654 | fi |
4644 | fi |
4655 | |
4645 | |
4656 | |
4646 | |
4657 | |
4647 | |
… | |
… | |
4887 | fi |
4877 | fi |
4888 | fi |
4878 | fi |
4889 | |
4879 | |
4890 | |
4880 | |
4891 | |
4881 | |
4892 | # Extract the first word of "mv", so it can be a program name with args. |
4882 | LIBEV_M4_AVOID_LIBRT=1 |
4893 | set dummy mv; ac_word=$2 |
4883 | |
4894 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4884 | ac_ext=cpp |
4895 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4885 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4886 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4887 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4888 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4889 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4890 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4891 | if test -z "$CXXCPP"; then |
4896 | if test "${ac_cv_path_MV+set}" = set; then |
4892 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
4897 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4898 | else |
4894 | else |
4899 | case $MV in |
4895 | # Double quotes because CXXCPP needs to be expanded |
4900 | [\\/]* | ?:[\\/]*) |
4896 | for CXXCPP in "$CXX -E" "/lib/cpp" |
4901 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
4897 | do |
4902 | ;; |
4898 | ac_preproc_ok=false |
4903 | *) |
4899 | for ac_cxx_preproc_warn_flag in '' yes |
4904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4905 | for as_dir in $PATH |
|
|
4906 | do |
4900 | do |
4907 | IFS=$as_save_IFS |
4901 | # Use a header file that comes with gcc, so configuring glibc |
4908 | test -z "$as_dir" && as_dir=. |
4902 | # with a fresh cross-compiler works. |
4909 | for ac_exec_ext in '' $ac_executable_extensions; do |
4903 | # 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 |
4904 | # <limits.h> exists even on freestanding compilers. |
4911 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
4905 | # 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 |
4906 | # not just through cpp. "Syntax error" is here to catch this case. |
4913 | break 2 |
4907 | cat >conftest.$ac_ext <<_ACEOF |
4914 | fi |
4908 | /* confdefs.h. */ |
|
|
4909 | _ACEOF |
|
|
4910 | cat confdefs.h >>conftest.$ac_ext |
|
|
4911 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4912 | /* end confdefs.h. */ |
|
|
4913 | #ifdef __STDC__ |
|
|
4914 | # include <limits.h> |
|
|
4915 | #else |
|
|
4916 | # include <assert.h> |
|
|
4917 | #endif |
|
|
4918 | Syntax error |
|
|
4919 | _ACEOF |
|
|
4920 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4921 | case "(($ac_try" in |
|
|
4922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4923 | *) ac_try_echo=$ac_try;; |
|
|
4924 | esac |
|
|
4925 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4926 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4927 | ac_status=$? |
|
|
4928 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4929 | rm -f conftest.er1 |
|
|
4930 | cat conftest.err >&5 |
|
|
4931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4932 | (exit $ac_status); } >/dev/null && { |
|
|
4933 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4934 | test ! -s conftest.err |
|
|
4935 | }; then |
|
|
4936 | : |
|
|
4937 | else |
|
|
4938 | echo "$as_me: failed program was:" >&5 |
|
|
4939 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4940 | |
|
|
4941 | # Broken: fails on valid input. |
|
|
4942 | continue |
|
|
4943 | fi |
|
|
4944 | |
|
|
4945 | rm -f conftest.err conftest.$ac_ext |
|
|
4946 | |
|
|
4947 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4948 | # can be detected and how. |
|
|
4949 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4950 | /* confdefs.h. */ |
|
|
4951 | _ACEOF |
|
|
4952 | cat confdefs.h >>conftest.$ac_ext |
|
|
4953 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4954 | /* end confdefs.h. */ |
|
|
4955 | #include <ac_nonexistent.h> |
|
|
4956 | _ACEOF |
|
|
4957 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4958 | case "(($ac_try" in |
|
|
4959 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4960 | *) ac_try_echo=$ac_try;; |
|
|
4961 | esac |
|
|
4962 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4963 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4964 | ac_status=$? |
|
|
4965 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4966 | rm -f conftest.er1 |
|
|
4967 | cat conftest.err >&5 |
|
|
4968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4969 | (exit $ac_status); } >/dev/null && { |
|
|
4970 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4971 | test ! -s conftest.err |
|
|
4972 | }; then |
|
|
4973 | # Broken: success on invalid input. |
|
|
4974 | continue |
|
|
4975 | else |
|
|
4976 | echo "$as_me: failed program was:" >&5 |
|
|
4977 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4978 | |
|
|
4979 | # Passes both tests. |
|
|
4980 | ac_preproc_ok=: |
|
|
4981 | break |
|
|
4982 | fi |
|
|
4983 | |
|
|
4984 | rm -f conftest.err conftest.$ac_ext |
|
|
4985 | |
4915 | done |
4986 | done |
|
|
4987 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4988 | rm -f conftest.err conftest.$ac_ext |
|
|
4989 | if $ac_preproc_ok; then |
|
|
4990 | break |
|
|
4991 | fi |
|
|
4992 | |
|
|
4993 | done |
|
|
4994 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4995 | |
|
|
4996 | fi |
|
|
4997 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4998 | else |
|
|
4999 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5000 | fi |
|
|
5001 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5002 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5003 | ac_preproc_ok=false |
|
|
5004 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5005 | do |
|
|
5006 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5007 | # with a fresh cross-compiler works. |
|
|
5008 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5009 | # <limits.h> exists even on freestanding compilers. |
|
|
5010 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5011 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5012 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5013 | /* confdefs.h. */ |
|
|
5014 | _ACEOF |
|
|
5015 | cat confdefs.h >>conftest.$ac_ext |
|
|
5016 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5017 | /* end confdefs.h. */ |
|
|
5018 | #ifdef __STDC__ |
|
|
5019 | # include <limits.h> |
|
|
5020 | #else |
|
|
5021 | # include <assert.h> |
|
|
5022 | #endif |
|
|
5023 | Syntax error |
|
|
5024 | _ACEOF |
|
|
5025 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5026 | case "(($ac_try" in |
|
|
5027 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5028 | *) ac_try_echo=$ac_try;; |
|
|
5029 | esac |
|
|
5030 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5031 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5032 | ac_status=$? |
|
|
5033 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5034 | rm -f conftest.er1 |
|
|
5035 | cat conftest.err >&5 |
|
|
5036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5037 | (exit $ac_status); } >/dev/null && { |
|
|
5038 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5039 | test ! -s conftest.err |
|
|
5040 | }; then |
|
|
5041 | : |
|
|
5042 | else |
|
|
5043 | echo "$as_me: failed program was:" >&5 |
|
|
5044 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5045 | |
|
|
5046 | # Broken: fails on valid input. |
|
|
5047 | continue |
|
|
5048 | fi |
|
|
5049 | |
|
|
5050 | rm -f conftest.err conftest.$ac_ext |
|
|
5051 | |
|
|
5052 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5053 | # can be detected and how. |
|
|
5054 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5055 | /* confdefs.h. */ |
|
|
5056 | _ACEOF |
|
|
5057 | cat confdefs.h >>conftest.$ac_ext |
|
|
5058 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5059 | /* end confdefs.h. */ |
|
|
5060 | #include <ac_nonexistent.h> |
|
|
5061 | _ACEOF |
|
|
5062 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5063 | case "(($ac_try" in |
|
|
5064 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5065 | *) ac_try_echo=$ac_try;; |
|
|
5066 | esac |
|
|
5067 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5068 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5069 | ac_status=$? |
|
|
5070 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5071 | rm -f conftest.er1 |
|
|
5072 | cat conftest.err >&5 |
|
|
5073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5074 | (exit $ac_status); } >/dev/null && { |
|
|
5075 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5076 | test ! -s conftest.err |
|
|
5077 | }; then |
|
|
5078 | # Broken: success on invalid input. |
|
|
5079 | continue |
|
|
5080 | else |
|
|
5081 | echo "$as_me: failed program was:" >&5 |
|
|
5082 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5083 | |
|
|
5084 | # Passes both tests. |
|
|
5085 | ac_preproc_ok=: |
|
|
5086 | break |
|
|
5087 | fi |
|
|
5088 | |
|
|
5089 | rm -f conftest.err conftest.$ac_ext |
|
|
5090 | |
4916 | done |
5091 | done |
4917 | IFS=$as_save_IFS |
5092 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4918 | |
5093 | rm -f conftest.err conftest.$ac_ext |
4919 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
5094 | if $ac_preproc_ok; then |
4920 | ;; |
5095 | : |
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 |
5096 | else |
4928 | { echo "$as_me:$LINENO: result: no" >&5 |
5097 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
4929 | echo "${ECHO_T}no" >&6; } |
5098 | See \`config.log' for more details." >&5 |
|
|
5099 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5100 | See \`config.log' for more details." >&2;} |
|
|
5101 | { (exit 1); exit 1; }; } |
4930 | fi |
5102 | fi |
4931 | |
5103 | |
|
|
5104 | ac_ext=cpp |
|
|
5105 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5106 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5107 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5108 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4932 | |
5109 | |
4933 | # Extract the first word of "cp", so it can be a program name with args. |
5110 | |
4934 | set dummy cp; ac_word=$2 |
|
|
4935 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5111 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4936 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5112 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
4937 | if test "${ac_cv_path_CP+set}" = set; then |
5113 | if test "${ac_cv_header_stdc+set}" = set; then |
4938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5114 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4939 | else |
5115 | else |
4940 | case $CP in |
5116 | cat >conftest.$ac_ext <<_ACEOF |
4941 | [\\/]* | ?:[\\/]*) |
5117 | /* confdefs.h. */ |
4942 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
5118 | _ACEOF |
|
|
5119 | cat confdefs.h >>conftest.$ac_ext |
|
|
5120 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5121 | /* end confdefs.h. */ |
|
|
5122 | #include <stdlib.h> |
|
|
5123 | #include <stdarg.h> |
|
|
5124 | #include <string.h> |
|
|
5125 | #include <float.h> |
|
|
5126 | |
|
|
5127 | int |
|
|
5128 | main () |
|
|
5129 | { |
|
|
5130 | |
4943 | ;; |
5131 | ; |
4944 | *) |
5132 | return 0; |
4945 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5133 | } |
4946 | for as_dir in $PATH |
5134 | _ACEOF |
|
|
5135 | rm -f conftest.$ac_objext |
|
|
5136 | if { (ac_try="$ac_compile" |
|
|
5137 | case "(($ac_try" in |
|
|
5138 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5139 | *) ac_try_echo=$ac_try;; |
|
|
5140 | esac |
|
|
5141 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5142 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5143 | ac_status=$? |
|
|
5144 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5145 | rm -f conftest.er1 |
|
|
5146 | cat conftest.err >&5 |
|
|
5147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5148 | (exit $ac_status); } && { |
|
|
5149 | test -z "$ac_cxx_werror_flag" || |
|
|
5150 | test ! -s conftest.err |
|
|
5151 | } && test -s conftest.$ac_objext; then |
|
|
5152 | ac_cv_header_stdc=yes |
|
|
5153 | else |
|
|
5154 | echo "$as_me: failed program was:" >&5 |
|
|
5155 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5156 | |
|
|
5157 | ac_cv_header_stdc=no |
|
|
5158 | fi |
|
|
5159 | |
|
|
5160 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5161 | |
|
|
5162 | if test $ac_cv_header_stdc = yes; then |
|
|
5163 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
5164 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5165 | /* confdefs.h. */ |
|
|
5166 | _ACEOF |
|
|
5167 | cat confdefs.h >>conftest.$ac_ext |
|
|
5168 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5169 | /* end confdefs.h. */ |
|
|
5170 | #include <string.h> |
|
|
5171 | |
|
|
5172 | _ACEOF |
|
|
5173 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5174 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
5175 | : |
|
|
5176 | else |
|
|
5177 | ac_cv_header_stdc=no |
|
|
5178 | fi |
|
|
5179 | rm -f conftest* |
|
|
5180 | |
|
|
5181 | fi |
|
|
5182 | |
|
|
5183 | if test $ac_cv_header_stdc = yes; then |
|
|
5184 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
5185 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5186 | /* confdefs.h. */ |
|
|
5187 | _ACEOF |
|
|
5188 | cat confdefs.h >>conftest.$ac_ext |
|
|
5189 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5190 | /* end confdefs.h. */ |
|
|
5191 | #include <stdlib.h> |
|
|
5192 | |
|
|
5193 | _ACEOF |
|
|
5194 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5195 | $EGREP "free" >/dev/null 2>&1; then |
|
|
5196 | : |
|
|
5197 | else |
|
|
5198 | ac_cv_header_stdc=no |
|
|
5199 | fi |
|
|
5200 | rm -f conftest* |
|
|
5201 | |
|
|
5202 | fi |
|
|
5203 | |
|
|
5204 | if test $ac_cv_header_stdc = yes; then |
|
|
5205 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
5206 | if test "$cross_compiling" = yes; then |
|
|
5207 | : |
|
|
5208 | else |
|
|
5209 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5210 | /* confdefs.h. */ |
|
|
5211 | _ACEOF |
|
|
5212 | cat confdefs.h >>conftest.$ac_ext |
|
|
5213 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5214 | /* end confdefs.h. */ |
|
|
5215 | #include <ctype.h> |
|
|
5216 | #include <stdlib.h> |
|
|
5217 | #if ((' ' & 0x0FF) == 0x020) |
|
|
5218 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
5219 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
5220 | #else |
|
|
5221 | # define ISLOWER(c) \ |
|
|
5222 | (('a' <= (c) && (c) <= 'i') \ |
|
|
5223 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
5224 | || ('s' <= (c) && (c) <= 'z')) |
|
|
5225 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
5226 | #endif |
|
|
5227 | |
|
|
5228 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
5229 | int |
|
|
5230 | main () |
|
|
5231 | { |
|
|
5232 | int i; |
|
|
5233 | for (i = 0; i < 256; i++) |
|
|
5234 | if (XOR (islower (i), ISLOWER (i)) |
|
|
5235 | || toupper (i) != TOUPPER (i)) |
|
|
5236 | return 2; |
|
|
5237 | return 0; |
|
|
5238 | } |
|
|
5239 | _ACEOF |
|
|
5240 | rm -f conftest$ac_exeext |
|
|
5241 | if { (ac_try="$ac_link" |
|
|
5242 | case "(($ac_try" in |
|
|
5243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5244 | *) ac_try_echo=$ac_try;; |
|
|
5245 | esac |
|
|
5246 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5247 | (eval "$ac_link") 2>&5 |
|
|
5248 | ac_status=$? |
|
|
5249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5250 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
5251 | { (case "(($ac_try" in |
|
|
5252 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5253 | *) ac_try_echo=$ac_try;; |
|
|
5254 | esac |
|
|
5255 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5256 | (eval "$ac_try") 2>&5 |
|
|
5257 | ac_status=$? |
|
|
5258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5259 | (exit $ac_status); }; }; then |
|
|
5260 | : |
|
|
5261 | else |
|
|
5262 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
5263 | echo "$as_me: failed program was:" >&5 |
|
|
5264 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5265 | |
|
|
5266 | ( exit $ac_status ) |
|
|
5267 | ac_cv_header_stdc=no |
|
|
5268 | fi |
|
|
5269 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
5270 | fi |
|
|
5271 | |
|
|
5272 | |
|
|
5273 | fi |
|
|
5274 | fi |
|
|
5275 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
5276 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
5277 | if test $ac_cv_header_stdc = yes; then |
|
|
5278 | |
|
|
5279 | cat >>confdefs.h <<\_ACEOF |
|
|
5280 | #define STDC_HEADERS 1 |
|
|
5281 | _ACEOF |
|
|
5282 | |
|
|
5283 | fi |
|
|
5284 | |
|
|
5285 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
5286 | |
|
|
5287 | |
|
|
5288 | |
|
|
5289 | |
|
|
5290 | |
|
|
5291 | |
|
|
5292 | |
|
|
5293 | |
|
|
5294 | |
|
|
5295 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
5296 | inttypes.h stdint.h unistd.h |
4947 | do |
5297 | do |
4948 | IFS=$as_save_IFS |
5298 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4949 | test -z "$as_dir" && as_dir=. |
5299 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4950 | for ac_exec_ext in '' $ac_executable_extensions; do |
5300 | 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 |
5301 | 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" |
5302 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4953 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5303 | else |
4954 | break 2 |
5304 | cat >conftest.$ac_ext <<_ACEOF |
4955 | fi |
5305 | /* confdefs.h. */ |
|
|
5306 | _ACEOF |
|
|
5307 | cat confdefs.h >>conftest.$ac_ext |
|
|
5308 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5309 | /* end confdefs.h. */ |
|
|
5310 | $ac_includes_default |
|
|
5311 | |
|
|
5312 | #include <$ac_header> |
|
|
5313 | _ACEOF |
|
|
5314 | rm -f conftest.$ac_objext |
|
|
5315 | if { (ac_try="$ac_compile" |
|
|
5316 | case "(($ac_try" in |
|
|
5317 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5318 | *) ac_try_echo=$ac_try;; |
|
|
5319 | esac |
|
|
5320 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5321 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5322 | ac_status=$? |
|
|
5323 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5324 | rm -f conftest.er1 |
|
|
5325 | cat conftest.err >&5 |
|
|
5326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5327 | (exit $ac_status); } && { |
|
|
5328 | test -z "$ac_cxx_werror_flag" || |
|
|
5329 | test ! -s conftest.err |
|
|
5330 | } && test -s conftest.$ac_objext; then |
|
|
5331 | eval "$as_ac_Header=yes" |
|
|
5332 | else |
|
|
5333 | echo "$as_me: failed program was:" >&5 |
|
|
5334 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5335 | |
|
|
5336 | eval "$as_ac_Header=no" |
|
|
5337 | fi |
|
|
5338 | |
|
|
5339 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5340 | fi |
|
|
5341 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5342 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5343 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5344 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5345 | cat >>confdefs.h <<_ACEOF |
|
|
5346 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5347 | _ACEOF |
|
|
5348 | |
|
|
5349 | fi |
|
|
5350 | |
4956 | done |
5351 | done |
|
|
5352 | |
|
|
5353 | |
|
|
5354 | |
|
|
5355 | |
|
|
5356 | |
|
|
5357 | |
|
|
5358 | |
|
|
5359 | |
|
|
5360 | |
|
|
5361 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
|
|
5362 | do |
|
|
5363 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5364 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5365 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5366 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5367 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5368 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5369 | fi |
|
|
5370 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5371 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5372 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5373 | else |
|
|
5374 | # Is the header compilable? |
|
|
5375 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5376 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5377 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5378 | /* confdefs.h. */ |
|
|
5379 | _ACEOF |
|
|
5380 | cat confdefs.h >>conftest.$ac_ext |
|
|
5381 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5382 | /* end confdefs.h. */ |
|
|
5383 | $ac_includes_default |
|
|
5384 | #include <$ac_header> |
|
|
5385 | _ACEOF |
|
|
5386 | rm -f conftest.$ac_objext |
|
|
5387 | if { (ac_try="$ac_compile" |
|
|
5388 | case "(($ac_try" in |
|
|
5389 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5390 | *) ac_try_echo=$ac_try;; |
|
|
5391 | esac |
|
|
5392 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5393 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5394 | ac_status=$? |
|
|
5395 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5396 | rm -f conftest.er1 |
|
|
5397 | cat conftest.err >&5 |
|
|
5398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5399 | (exit $ac_status); } && { |
|
|
5400 | test -z "$ac_cxx_werror_flag" || |
|
|
5401 | test ! -s conftest.err |
|
|
5402 | } && test -s conftest.$ac_objext; then |
|
|
5403 | ac_header_compiler=yes |
|
|
5404 | else |
|
|
5405 | echo "$as_me: failed program was:" >&5 |
|
|
5406 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5407 | |
|
|
5408 | ac_header_compiler=no |
|
|
5409 | fi |
|
|
5410 | |
|
|
5411 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5412 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5413 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5414 | |
|
|
5415 | # Is the header present? |
|
|
5416 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5417 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5418 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5419 | /* confdefs.h. */ |
|
|
5420 | _ACEOF |
|
|
5421 | cat confdefs.h >>conftest.$ac_ext |
|
|
5422 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5423 | /* end confdefs.h. */ |
|
|
5424 | #include <$ac_header> |
|
|
5425 | _ACEOF |
|
|
5426 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5427 | case "(($ac_try" in |
|
|
5428 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5429 | *) ac_try_echo=$ac_try;; |
|
|
5430 | esac |
|
|
5431 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5432 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5433 | ac_status=$? |
|
|
5434 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5435 | rm -f conftest.er1 |
|
|
5436 | cat conftest.err >&5 |
|
|
5437 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5438 | (exit $ac_status); } >/dev/null && { |
|
|
5439 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5440 | test ! -s conftest.err |
|
|
5441 | }; then |
|
|
5442 | ac_header_preproc=yes |
|
|
5443 | else |
|
|
5444 | echo "$as_me: failed program was:" >&5 |
|
|
5445 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5446 | |
|
|
5447 | ac_header_preproc=no |
|
|
5448 | fi |
|
|
5449 | |
|
|
5450 | rm -f conftest.err conftest.$ac_ext |
|
|
5451 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5452 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5453 | |
|
|
5454 | # So? What about this header? |
|
|
5455 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5456 | yes:no: ) |
|
|
5457 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5458 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5459 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5460 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5461 | ac_header_preproc=yes |
|
|
5462 | ;; |
|
|
5463 | no:yes:* ) |
|
|
5464 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5465 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5466 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5467 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5468 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5469 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5470 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5471 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5472 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5473 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5474 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5475 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5476 | |
|
|
5477 | ;; |
|
|
5478 | esac |
|
|
5479 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5480 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5481 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5482 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5483 | else |
|
|
5484 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5485 | fi |
|
|
5486 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5487 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5488 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5489 | |
|
|
5490 | fi |
|
|
5491 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5492 | cat >>confdefs.h <<_ACEOF |
|
|
5493 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5494 | _ACEOF |
|
|
5495 | |
|
|
5496 | fi |
|
|
5497 | |
4957 | done |
5498 | done |
4958 | IFS=$as_save_IFS |
|
|
4959 | |
5499 | |
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 | |
5500 | |
4973 | |
5501 | |
4974 | # Extract the first word of "ln", so it can be a program name with args. |
5502 | |
4975 | set dummy ln; ac_word=$2 |
5503 | |
|
|
5504 | |
|
|
5505 | |
|
|
5506 | |
|
|
5507 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
|
|
5508 | do |
|
|
5509 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4976 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5510 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4977 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5511 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
4978 | if test "${ac_cv_path_LN+set}" = set; then |
5512 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
4979 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5513 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4980 | else |
5514 | else |
4981 | case $LN in |
5515 | cat >conftest.$ac_ext <<_ACEOF |
4982 | [\\/]* | ?:[\\/]*) |
5516 | /* confdefs.h. */ |
4983 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
5517 | _ACEOF |
|
|
5518 | cat confdefs.h >>conftest.$ac_ext |
|
|
5519 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5520 | /* end confdefs.h. */ |
|
|
5521 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5522 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5523 | #define $ac_func innocuous_$ac_func |
|
|
5524 | |
|
|
5525 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5526 | which can conflict with char $ac_func (); below. |
|
|
5527 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5528 | <limits.h> exists even on freestanding compilers. */ |
|
|
5529 | |
|
|
5530 | #ifdef __STDC__ |
|
|
5531 | # include <limits.h> |
|
|
5532 | #else |
|
|
5533 | # include <assert.h> |
|
|
5534 | #endif |
|
|
5535 | |
|
|
5536 | #undef $ac_func |
|
|
5537 | |
|
|
5538 | /* Override any GCC internal prototype to avoid an error. |
|
|
5539 | Use char because int might match the return type of a GCC |
|
|
5540 | builtin and then its argument prototype would still apply. */ |
|
|
5541 | #ifdef __cplusplus |
|
|
5542 | extern "C" |
|
|
5543 | #endif |
|
|
5544 | char $ac_func (); |
|
|
5545 | /* The GNU C library defines this for functions which it implements |
|
|
5546 | to always fail with ENOSYS. Some functions are actually named |
|
|
5547 | something starting with __ and the normal name is an alias. */ |
|
|
5548 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5549 | choke me |
|
|
5550 | #endif |
|
|
5551 | |
|
|
5552 | int |
|
|
5553 | main () |
|
|
5554 | { |
|
|
5555 | return $ac_func (); |
4984 | ;; |
5556 | ; |
4985 | *) |
5557 | return 0; |
4986 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5558 | } |
4987 | for as_dir in $PATH |
5559 | _ACEOF |
|
|
5560 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5561 | if { (ac_try="$ac_link" |
|
|
5562 | case "(($ac_try" in |
|
|
5563 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5564 | *) ac_try_echo=$ac_try;; |
|
|
5565 | esac |
|
|
5566 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5567 | (eval "$ac_link") 2>conftest.er1 |
|
|
5568 | ac_status=$? |
|
|
5569 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5570 | rm -f conftest.er1 |
|
|
5571 | cat conftest.err >&5 |
|
|
5572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5573 | (exit $ac_status); } && { |
|
|
5574 | test -z "$ac_cxx_werror_flag" || |
|
|
5575 | test ! -s conftest.err |
|
|
5576 | } && test -s conftest$ac_exeext && |
|
|
5577 | $as_test_x conftest$ac_exeext; then |
|
|
5578 | eval "$as_ac_var=yes" |
|
|
5579 | else |
|
|
5580 | echo "$as_me: failed program was:" >&5 |
|
|
5581 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5582 | |
|
|
5583 | eval "$as_ac_var=no" |
|
|
5584 | fi |
|
|
5585 | |
|
|
5586 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5587 | conftest$ac_exeext conftest.$ac_ext |
|
|
5588 | fi |
|
|
5589 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5590 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5591 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5592 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5593 | cat >>confdefs.h <<_ACEOF |
|
|
5594 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5595 | _ACEOF |
|
|
5596 | |
|
|
5597 | fi |
|
|
5598 | done |
|
|
5599 | |
|
|
5600 | |
|
|
5601 | { echo "$as_me:$LINENO: checking for clock_gettime" >&5 |
|
|
5602 | echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; } |
|
|
5603 | if test "${ac_cv_func_clock_gettime+set}" = set; then |
|
|
5604 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5605 | else |
|
|
5606 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5607 | /* confdefs.h. */ |
|
|
5608 | _ACEOF |
|
|
5609 | cat confdefs.h >>conftest.$ac_ext |
|
|
5610 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5611 | /* end confdefs.h. */ |
|
|
5612 | /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime. |
|
|
5613 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5614 | #define clock_gettime innocuous_clock_gettime |
|
|
5615 | |
|
|
5616 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5617 | which can conflict with char clock_gettime (); below. |
|
|
5618 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5619 | <limits.h> exists even on freestanding compilers. */ |
|
|
5620 | |
|
|
5621 | #ifdef __STDC__ |
|
|
5622 | # include <limits.h> |
|
|
5623 | #else |
|
|
5624 | # include <assert.h> |
|
|
5625 | #endif |
|
|
5626 | |
|
|
5627 | #undef clock_gettime |
|
|
5628 | |
|
|
5629 | /* Override any GCC internal prototype to avoid an error. |
|
|
5630 | Use char because int might match the return type of a GCC |
|
|
5631 | builtin and then its argument prototype would still apply. */ |
|
|
5632 | #ifdef __cplusplus |
|
|
5633 | extern "C" |
|
|
5634 | #endif |
|
|
5635 | char clock_gettime (); |
|
|
5636 | /* The GNU C library defines this for functions which it implements |
|
|
5637 | to always fail with ENOSYS. Some functions are actually named |
|
|
5638 | something starting with __ and the normal name is an alias. */ |
|
|
5639 | #if defined __stub_clock_gettime || defined __stub___clock_gettime |
|
|
5640 | choke me |
|
|
5641 | #endif |
|
|
5642 | |
|
|
5643 | int |
|
|
5644 | main () |
|
|
5645 | { |
|
|
5646 | return clock_gettime (); |
|
|
5647 | ; |
|
|
5648 | return 0; |
|
|
5649 | } |
|
|
5650 | _ACEOF |
|
|
5651 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5652 | if { (ac_try="$ac_link" |
|
|
5653 | case "(($ac_try" in |
|
|
5654 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5655 | *) ac_try_echo=$ac_try;; |
|
|
5656 | esac |
|
|
5657 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5658 | (eval "$ac_link") 2>conftest.er1 |
|
|
5659 | ac_status=$? |
|
|
5660 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5661 | rm -f conftest.er1 |
|
|
5662 | cat conftest.err >&5 |
|
|
5663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5664 | (exit $ac_status); } && { |
|
|
5665 | test -z "$ac_cxx_werror_flag" || |
|
|
5666 | test ! -s conftest.err |
|
|
5667 | } && test -s conftest$ac_exeext && |
|
|
5668 | $as_test_x conftest$ac_exeext; then |
|
|
5669 | ac_cv_func_clock_gettime=yes |
|
|
5670 | else |
|
|
5671 | echo "$as_me: failed program was:" >&5 |
|
|
5672 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5673 | |
|
|
5674 | ac_cv_func_clock_gettime=no |
|
|
5675 | fi |
|
|
5676 | |
|
|
5677 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5678 | conftest$ac_exeext conftest.$ac_ext |
|
|
5679 | fi |
|
|
5680 | { echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5 |
|
|
5681 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
|
|
5682 | if test $ac_cv_func_clock_gettime = yes; then |
|
|
5683 | : |
|
|
5684 | else |
|
|
5685 | |
|
|
5686 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5687 | |
|
|
5688 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
|
|
5689 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
|
|
5690 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
|
|
5691 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5692 | else |
|
|
5693 | ac_check_lib_save_LIBS=$LIBS |
|
|
5694 | LIBS="-lrt $LIBS" |
|
|
5695 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5696 | /* confdefs.h. */ |
|
|
5697 | _ACEOF |
|
|
5698 | cat confdefs.h >>conftest.$ac_ext |
|
|
5699 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5700 | /* end confdefs.h. */ |
|
|
5701 | |
|
|
5702 | /* Override any GCC internal prototype to avoid an error. |
|
|
5703 | Use char because int might match the return type of a GCC |
|
|
5704 | builtin and then its argument prototype would still apply. */ |
|
|
5705 | #ifdef __cplusplus |
|
|
5706 | extern "C" |
|
|
5707 | #endif |
|
|
5708 | char clock_gettime (); |
|
|
5709 | int |
|
|
5710 | main () |
|
|
5711 | { |
|
|
5712 | return clock_gettime (); |
|
|
5713 | ; |
|
|
5714 | return 0; |
|
|
5715 | } |
|
|
5716 | _ACEOF |
|
|
5717 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5718 | if { (ac_try="$ac_link" |
|
|
5719 | case "(($ac_try" in |
|
|
5720 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5721 | *) ac_try_echo=$ac_try;; |
|
|
5722 | esac |
|
|
5723 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5724 | (eval "$ac_link") 2>conftest.er1 |
|
|
5725 | ac_status=$? |
|
|
5726 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5727 | rm -f conftest.er1 |
|
|
5728 | cat conftest.err >&5 |
|
|
5729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5730 | (exit $ac_status); } && { |
|
|
5731 | test -z "$ac_cxx_werror_flag" || |
|
|
5732 | test ! -s conftest.err |
|
|
5733 | } && test -s conftest$ac_exeext && |
|
|
5734 | $as_test_x conftest$ac_exeext; then |
|
|
5735 | ac_cv_lib_rt_clock_gettime=yes |
|
|
5736 | else |
|
|
5737 | echo "$as_me: failed program was:" >&5 |
|
|
5738 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5739 | |
|
|
5740 | ac_cv_lib_rt_clock_gettime=no |
|
|
5741 | fi |
|
|
5742 | |
|
|
5743 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5744 | conftest$ac_exeext conftest.$ac_ext |
|
|
5745 | LIBS=$ac_check_lib_save_LIBS |
|
|
5746 | fi |
|
|
5747 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 |
|
|
5748 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; } |
|
|
5749 | if test $ac_cv_lib_rt_clock_gettime = yes; then |
|
|
5750 | cat >>confdefs.h <<_ACEOF |
|
|
5751 | #define HAVE_LIBRT 1 |
|
|
5752 | _ACEOF |
|
|
5753 | |
|
|
5754 | LIBS="-lrt $LIBS" |
|
|
5755 | |
|
|
5756 | fi |
|
|
5757 | |
|
|
5758 | unset ac_cv_func_clock_gettime |
|
|
5759 | |
|
|
5760 | for ac_func in clock_gettime |
4988 | do |
5761 | do |
4989 | IFS=$as_save_IFS |
5762 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4990 | test -z "$as_dir" && as_dir=. |
5763 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4991 | for ac_exec_ext in '' $ac_executable_extensions; do |
5764 | 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 |
5765 | 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" |
5766 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4994 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5767 | else |
4995 | break 2 |
5768 | cat >conftest.$ac_ext <<_ACEOF |
4996 | fi |
5769 | /* confdefs.h. */ |
|
|
5770 | _ACEOF |
|
|
5771 | cat confdefs.h >>conftest.$ac_ext |
|
|
5772 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5773 | /* end confdefs.h. */ |
|
|
5774 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5775 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5776 | #define $ac_func innocuous_$ac_func |
|
|
5777 | |
|
|
5778 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5779 | which can conflict with char $ac_func (); below. |
|
|
5780 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5781 | <limits.h> exists even on freestanding compilers. */ |
|
|
5782 | |
|
|
5783 | #ifdef __STDC__ |
|
|
5784 | # include <limits.h> |
|
|
5785 | #else |
|
|
5786 | # include <assert.h> |
|
|
5787 | #endif |
|
|
5788 | |
|
|
5789 | #undef $ac_func |
|
|
5790 | |
|
|
5791 | /* Override any GCC internal prototype to avoid an error. |
|
|
5792 | Use char because int might match the return type of a GCC |
|
|
5793 | builtin and then its argument prototype would still apply. */ |
|
|
5794 | #ifdef __cplusplus |
|
|
5795 | extern "C" |
|
|
5796 | #endif |
|
|
5797 | char $ac_func (); |
|
|
5798 | /* The GNU C library defines this for functions which it implements |
|
|
5799 | to always fail with ENOSYS. Some functions are actually named |
|
|
5800 | something starting with __ and the normal name is an alias. */ |
|
|
5801 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5802 | choke me |
|
|
5803 | #endif |
|
|
5804 | |
|
|
5805 | int |
|
|
5806 | main () |
|
|
5807 | { |
|
|
5808 | return $ac_func (); |
|
|
5809 | ; |
|
|
5810 | return 0; |
|
|
5811 | } |
|
|
5812 | _ACEOF |
|
|
5813 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5814 | if { (ac_try="$ac_link" |
|
|
5815 | case "(($ac_try" in |
|
|
5816 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5817 | *) ac_try_echo=$ac_try;; |
|
|
5818 | esac |
|
|
5819 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5820 | (eval "$ac_link") 2>conftest.er1 |
|
|
5821 | ac_status=$? |
|
|
5822 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5823 | rm -f conftest.er1 |
|
|
5824 | cat conftest.err >&5 |
|
|
5825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5826 | (exit $ac_status); } && { |
|
|
5827 | test -z "$ac_cxx_werror_flag" || |
|
|
5828 | test ! -s conftest.err |
|
|
5829 | } && test -s conftest$ac_exeext && |
|
|
5830 | $as_test_x conftest$ac_exeext; then |
|
|
5831 | eval "$as_ac_var=yes" |
|
|
5832 | else |
|
|
5833 | echo "$as_me: failed program was:" >&5 |
|
|
5834 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5835 | |
|
|
5836 | eval "$as_ac_var=no" |
|
|
5837 | fi |
|
|
5838 | |
|
|
5839 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5840 | conftest$ac_exeext conftest.$ac_ext |
|
|
5841 | fi |
|
|
5842 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5843 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5844 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5845 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5846 | cat >>confdefs.h <<_ACEOF |
|
|
5847 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5848 | _ACEOF |
|
|
5849 | |
|
|
5850 | fi |
4997 | done |
5851 | done |
4998 | done |
|
|
4999 | IFS=$as_save_IFS |
|
|
5000 | |
5852 | |
5001 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
5853 | 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 | |
5854 | |
|
|
5855 | fi |
5014 | |
5856 | |
5015 | # Extract the first word of "sed", so it can be a program name with args. |
5857 | |
5016 | set dummy sed; ac_word=$2 |
5858 | |
5017 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5859 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
5018 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5860 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
5019 | if test "${ac_cv_path_SED+set}" = set; then |
5861 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
5020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5021 | else |
5863 | else |
5022 | case $SED in |
5864 | ac_check_lib_save_LIBS=$LIBS |
5023 | [\\/]* | ?:[\\/]*) |
5865 | LIBS="-lm $LIBS" |
5024 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
5866 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5867 | /* confdefs.h. */ |
|
|
5868 | _ACEOF |
|
|
5869 | cat confdefs.h >>conftest.$ac_ext |
|
|
5870 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5871 | /* end confdefs.h. */ |
|
|
5872 | |
|
|
5873 | /* Override any GCC internal prototype to avoid an error. |
|
|
5874 | Use char because int might match the return type of a GCC |
|
|
5875 | builtin and then its argument prototype would still apply. */ |
|
|
5876 | #ifdef __cplusplus |
|
|
5877 | extern "C" |
|
|
5878 | #endif |
|
|
5879 | char ceil (); |
|
|
5880 | int |
|
|
5881 | main () |
|
|
5882 | { |
|
|
5883 | return ceil (); |
5025 | ;; |
5884 | ; |
5026 | *) |
5885 | return 0; |
5027 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5886 | } |
5028 | for as_dir in $PATH |
5887 | _ACEOF |
5029 | do |
5888 | rm -f conftest.$ac_objext conftest$ac_exeext |
5030 | IFS=$as_save_IFS |
5889 | if { (ac_try="$ac_link" |
5031 | test -z "$as_dir" && as_dir=. |
5890 | case "(($ac_try" in |
5032 | for ac_exec_ext in '' $ac_executable_extensions; do |
5891 | *\"* | *\`* | *\\*) 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 |
5892 | *) 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 |
5893 | esac |
|
|
5894 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5895 | (eval "$ac_link") 2>conftest.er1 |
|
|
5896 | ac_status=$? |
|
|
5897 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5898 | rm -f conftest.er1 |
|
|
5899 | cat conftest.err >&5 |
|
|
5900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5901 | (exit $ac_status); } && { |
|
|
5902 | test -z "$ac_cxx_werror_flag" || |
|
|
5903 | test ! -s conftest.err |
|
|
5904 | } && test -s conftest$ac_exeext && |
|
|
5905 | $as_test_x conftest$ac_exeext; then |
|
|
5906 | ac_cv_lib_m_ceil=yes |
|
|
5907 | else |
|
|
5908 | echo "$as_me: failed program was:" >&5 |
|
|
5909 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5910 | |
|
|
5911 | ac_cv_lib_m_ceil=no |
5045 | fi |
5912 | fi |
5046 | SED=$ac_cv_path_SED |
5913 | |
5047 | if test -n "$SED"; then |
5914 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5915 | conftest$ac_exeext conftest.$ac_ext |
|
|
5916 | LIBS=$ac_check_lib_save_LIBS |
|
|
5917 | fi |
5048 | { echo "$as_me:$LINENO: result: $SED" >&5 |
5918 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
5049 | echo "${ECHO_T}$SED" >&6; } |
5919 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
5050 | else |
5920 | if test $ac_cv_lib_m_ceil = yes; then |
5051 | { echo "$as_me:$LINENO: result: no" >&5 |
5921 | cat >>confdefs.h <<_ACEOF |
5052 | echo "${ECHO_T}no" >&6; } |
5922 | #define HAVE_LIBM 1 |
5053 | fi |
5923 | _ACEOF |
5054 | |
5924 | |
|
|
5925 | LIBS="-lm $LIBS" |
5055 | |
5926 | |
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 |
5927 | 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 | |
5928 | |
5096 | |
5929 | |
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 | |
5930 | |
5124 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
5931 | |
5125 | ;; |
5932 | |
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 | |
5933 | |
5137 | |
5934 | |
5138 | # Extract the first word of "tic", so it can be a program name with args. |
5935 | # Extract the first word of "tic", so it can be a program name with args. |
5139 | set dummy tic; ac_word=$2 |
5936 | set dummy tic; ac_word=$2 |
5140 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5937 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
5160 | fi |
5957 | fi |
5161 | done |
5958 | done |
5162 | done |
5959 | done |
5163 | IFS=$as_save_IFS |
5960 | IFS=$as_save_IFS |
5164 | |
5961 | |
|
|
5962 | test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":" |
5165 | ;; |
5963 | ;; |
5166 | esac |
5964 | esac |
5167 | fi |
5965 | fi |
5168 | TIC=$ac_cv_path_TIC |
5966 | TIC=$ac_cv_path_TIC |
5169 | if test -n "$TIC"; then |
5967 | if test -n "$TIC"; then |
… | |
… | |
5172 | else |
5970 | else |
5173 | { echo "$as_me:$LINENO: result: no" >&5 |
5971 | { echo "$as_me:$LINENO: result: no" >&5 |
5174 | echo "${ECHO_T}no" >&6; } |
5972 | echo "${ECHO_T}no" >&6; } |
5175 | fi |
5973 | fi |
5176 | |
5974 | |
5177 | |
|
|
5178 | |
|
|
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 | |
5975 | |
5407 | |
5976 | |
5408 | { echo "$as_me:$LINENO: checking for X" >&5 |
5977 | { echo "$as_me:$LINENO: checking for X" >&5 |
5409 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5978 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5410 | |
5979 | |
… | |
… | |
6718 | LDFLAGS=$ac_save_LDFLAGS |
7287 | LDFLAGS=$ac_save_LDFLAGS |
6719 | |
7288 | |
6720 | fi |
7289 | fi |
6721 | |
7290 | |
6722 | |
7291 | |
6723 | |
|
|
6724 | LIBAFTERIMAGE_CFLAGS= |
7292 | AFTERIMAGE_CFLAGS= |
6725 | AFTERIMAGE_LIBS= |
7293 | AFTERIMAGE_LIBS= |
6726 | have_afterimage= |
7294 | AFTERIMAGE_VERSION= |
6727 | |
7295 | |
6728 | if test x$support_afterimage = xyes; then |
7296 | if test x$support_afterimage = xyes; then |
6729 | support_afterimage=no |
7297 | support_afterimage=no |
6730 | |
7298 | |
6731 | if test "x$afterimage_config" = "x" ; then |
7299 | if test "x$afterimage_config" = "x" ; then |
6732 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
7300 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
6733 | set dummy afterimage-config; ac_word=$2 |
7301 | set dummy afterimage-config; ac_word=$2 |
6734 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
7302 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6735 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
7303 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6736 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
7304 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
… | |
… | |
6768 | { echo "$as_me:$LINENO: result: no" >&5 |
7336 | { echo "$as_me:$LINENO: result: no" >&5 |
6769 | echo "${ECHO_T}no" >&6; } |
7337 | echo "${ECHO_T}no" >&6; } |
6770 | fi |
7338 | fi |
6771 | |
7339 | |
6772 | |
7340 | |
6773 | else |
|
|
6774 | afterimage_config=$afterimage_config/afterimage-config |
|
|
6775 | fi |
7341 | fi |
6776 | |
7342 | if test "x$afterimage_config" != "xno" ; then |
6777 | { echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
7343 | { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5 |
6778 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6; } |
7344 | echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; } |
6779 | if $afterimage_config --version >/dev/null 2>&1 ; then |
7345 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
7346 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6780 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
7347 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6781 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
7348 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6782 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
7349 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
7350 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
7351 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
7352 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
6783 | support_afterimage=yes |
7353 | support_afterimage=yes |
6784 | fi |
7354 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
6785 | fi |
7355 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
6786 | |
7356 | 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 |
7357 | fi |
7106 | fi |
7358 | fi |
7107 | fi |
7359 | fi |
7108 | vt_xpm_includes=$xpm_includes |
7360 | if test "x$support_afterimage" = "xyes"; then |
|
|
7361 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
7362 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
7363 | else |
|
|
7364 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
7365 | echo "${ECHO_T}no" >&6; } |
|
|
7366 | fi |
7109 | fi |
7367 | 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 |
7368 | fi |
7138 | |
|
|
7139 | |
|
|
7140 | |
|
|
7141 | |
|
|
7142 | |
|
|
7143 | if test x$no_xpm = xyes; then |
|
|
7144 | support_xpm=needsmanualspecification |
|
|
7145 | fi |
|
|
7146 | fi |
|
|
7147 | |
|
|
7148 | { 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; } |
|
|
7150 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
|
|
7151 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7152 | else |
|
|
7153 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7154 | /* confdefs.h. */ |
|
|
7155 | _ACEOF |
|
|
7156 | cat confdefs.h >>conftest.$ac_ext |
|
|
7157 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7158 | /* end confdefs.h. */ |
|
|
7159 | #include <sys/types.h> |
|
|
7160 | #include <sys/wait.h> |
|
|
7161 | #ifndef WEXITSTATUS |
|
|
7162 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
|
|
7163 | #endif |
|
|
7164 | #ifndef WIFEXITED |
|
|
7165 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
|
|
7166 | #endif |
|
|
7167 | |
|
|
7168 | int |
|
|
7169 | main () |
|
|
7170 | { |
|
|
7171 | int s; |
|
|
7172 | wait (&s); |
|
|
7173 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
|
|
7174 | ; |
|
|
7175 | return 0; |
|
|
7176 | } |
|
|
7177 | _ACEOF |
|
|
7178 | rm -f conftest.$ac_objext |
|
|
7179 | if { (ac_try="$ac_compile" |
|
|
7180 | case "(($ac_try" in |
|
|
7181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7182 | *) ac_try_echo=$ac_try;; |
|
|
7183 | esac |
|
|
7184 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7185 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7186 | ac_status=$? |
|
|
7187 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7188 | rm -f conftest.er1 |
|
|
7189 | cat conftest.err >&5 |
|
|
7190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7191 | (exit $ac_status); } && { |
|
|
7192 | test -z "$ac_cxx_werror_flag" || |
|
|
7193 | test ! -s conftest.err |
|
|
7194 | } && test -s conftest.$ac_objext; then |
|
|
7195 | ac_cv_header_sys_wait_h=yes |
|
|
7196 | else |
|
|
7197 | echo "$as_me: failed program was:" >&5 |
|
|
7198 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7199 | |
|
|
7200 | ac_cv_header_sys_wait_h=no |
|
|
7201 | fi |
|
|
7202 | |
|
|
7203 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7204 | fi |
|
|
7205 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
|
|
7206 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
|
|
7207 | if test $ac_cv_header_sys_wait_h = yes; then |
|
|
7208 | |
|
|
7209 | cat >>confdefs.h <<\_ACEOF |
|
|
7210 | #define HAVE_SYS_WAIT_H 1 |
|
|
7211 | _ACEOF |
|
|
7212 | |
|
|
7213 | 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 | |
7369 | |
7458 | |
7370 | |
7459 | |
7371 | |
7460 | |
7372 | |
7461 | |
7373 | |
… | |
… | |
7628 | fi |
7540 | fi |
7629 | |
7541 | |
7630 | done |
7542 | done |
7631 | |
7543 | |
7632 | |
7544 | |
7633 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
7634 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
|
|
7635 | if test "${ac_cv_header_time+set}" = set; then |
|
|
7636 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7637 | else |
|
|
7638 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7639 | /* confdefs.h. */ |
|
|
7640 | _ACEOF |
|
|
7641 | cat confdefs.h >>conftest.$ac_ext |
|
|
7642 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7643 | /* end confdefs.h. */ |
|
|
7644 | #include <sys/types.h> |
|
|
7645 | #include <sys/time.h> |
|
|
7646 | #include <time.h> |
|
|
7647 | |
|
|
7648 | int |
|
|
7649 | main () |
|
|
7650 | { |
|
|
7651 | if ((struct tm *) 0) |
|
|
7652 | return 0; |
|
|
7653 | ; |
|
|
7654 | return 0; |
|
|
7655 | } |
|
|
7656 | _ACEOF |
|
|
7657 | rm -f conftest.$ac_objext |
|
|
7658 | if { (ac_try="$ac_compile" |
|
|
7659 | case "(($ac_try" in |
|
|
7660 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7661 | *) ac_try_echo=$ac_try;; |
|
|
7662 | esac |
|
|
7663 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7664 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7665 | ac_status=$? |
|
|
7666 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7667 | rm -f conftest.er1 |
|
|
7668 | cat conftest.err >&5 |
|
|
7669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7670 | (exit $ac_status); } && { |
|
|
7671 | test -z "$ac_cxx_werror_flag" || |
|
|
7672 | test ! -s conftest.err |
|
|
7673 | } && test -s conftest.$ac_objext; then |
|
|
7674 | ac_cv_header_time=yes |
|
|
7675 | else |
|
|
7676 | echo "$as_me: failed program was:" >&5 |
|
|
7677 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7678 | |
|
|
7679 | ac_cv_header_time=no |
|
|
7680 | fi |
|
|
7681 | |
|
|
7682 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7683 | fi |
|
|
7684 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
|
|
7685 | echo "${ECHO_T}$ac_cv_header_time" >&6; } |
|
|
7686 | if test $ac_cv_header_time = yes; then |
|
|
7687 | |
|
|
7688 | cat >>confdefs.h <<\_ACEOF |
|
|
7689 | #define TIME_WITH_SYS_TIME 1 |
|
|
7690 | _ACEOF |
|
|
7691 | |
|
|
7692 | fi |
|
|
7693 | |
|
|
7694 | |
|
|
7695 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
7545 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
7696 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
7546 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
7697 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7547 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7699 | else |
7549 | else |
… | |
… | |
7744 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7594 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7745 | fi |
7595 | fi |
7746 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7596 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7747 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7597 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7748 | |
7598 | |
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 |
7599 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7886 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7600 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7887 | if test "${rxvt_cv_xpointer+set}" = set; then |
7601 | if test "${rxvt_cv_xpointer+set}" = set; then |
7888 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7602 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7889 | else |
7603 | else |
… | |
… | |
7936 | cat >>confdefs.h <<\_ACEOF |
7650 | cat >>confdefs.h <<\_ACEOF |
7937 | #define HAVE_XPOINTER 1 |
7651 | #define HAVE_XPOINTER 1 |
7938 | _ACEOF |
7652 | _ACEOF |
7939 | |
7653 | |
7940 | fi |
7654 | fi |
7941 | LIBS=$ac_save_LIBS |
|
|
7942 | CFLAGS=$ac_save_CFLAGS |
|
|
7943 | |
7655 | |
7944 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7656 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7945 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7657 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7946 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7658 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7947 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7659 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
8002 | cat >>confdefs.h <<\_ACEOF |
7714 | cat >>confdefs.h <<\_ACEOF |
8003 | #define XLIB_ILLEGAL_ACCESS 1 |
7715 | #define XLIB_ILLEGAL_ACCESS 1 |
8004 | _ACEOF |
7716 | _ACEOF |
8005 | |
7717 | |
8006 | fi |
7718 | fi |
8007 | |
|
|
8008 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
|
|
8009 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
|
|
8010 | if test "${ac_cv_c_const+set}" = set; then |
|
|
8011 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8012 | else |
|
|
8013 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8014 | /* confdefs.h. */ |
|
|
8015 | _ACEOF |
|
|
8016 | cat confdefs.h >>conftest.$ac_ext |
|
|
8017 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8018 | /* end confdefs.h. */ |
|
|
8019 | |
|
|
8020 | int |
|
|
8021 | main () |
|
|
8022 | { |
|
|
8023 | /* FIXME: Include the comments suggested by Paul. */ |
|
|
8024 | #ifndef __cplusplus |
|
|
8025 | /* Ultrix mips cc rejects this. */ |
|
|
8026 | typedef int charset[2]; |
|
|
8027 | const charset cs; |
|
|
8028 | /* SunOS 4.1.1 cc rejects this. */ |
|
|
8029 | char const *const *pcpcc; |
|
|
8030 | char **ppc; |
|
|
8031 | /* NEC SVR4.0.2 mips cc rejects this. */ |
|
|
8032 | struct point {int x, y;}; |
|
|
8033 | static struct point const zero = {0,0}; |
|
|
8034 | /* AIX XL C 1.02.0.0 rejects this. |
|
|
8035 | It does not let you subtract one const X* pointer from another in |
|
|
8036 | an arm of an if-expression whose if-part is not a constant |
|
|
8037 | expression */ |
|
|
8038 | const char *g = "string"; |
|
|
8039 | pcpcc = &g + (g ? g-g : 0); |
|
|
8040 | /* HPUX 7.0 cc rejects these. */ |
|
|
8041 | ++pcpcc; |
|
|
8042 | ppc = (char**) pcpcc; |
|
|
8043 | pcpcc = (char const *const *) ppc; |
|
|
8044 | { /* SCO 3.2v4 cc rejects this. */ |
|
|
8045 | char *t; |
|
|
8046 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
8047 | |
|
|
8048 | *t++ = 0; |
|
|
8049 | if (s) return 0; |
|
|
8050 | } |
|
|
8051 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
|
8052 | int x[] = {25, 17}; |
|
|
8053 | const int *foo = &x[0]; |
|
|
8054 | ++foo; |
|
|
8055 | } |
|
|
8056 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
|
8057 | typedef const int *iptr; |
|
|
8058 | iptr p = 0; |
|
|
8059 | ++p; |
|
|
8060 | } |
|
|
8061 | { /* AIX XL C 1.02.0.0 rejects this saying |
|
|
8062 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
8063 | struct s { int j; const int *ap[3]; }; |
|
|
8064 | struct s *b; b->j = 5; |
|
|
8065 | } |
|
|
8066 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
8067 | const int foo = 10; |
|
|
8068 | if (!foo) return 0; |
|
|
8069 | } |
|
|
8070 | return !cs[0] && !zero.x; |
|
|
8071 | #endif |
|
|
8072 | |
|
|
8073 | ; |
|
|
8074 | return 0; |
|
|
8075 | } |
|
|
8076 | _ACEOF |
|
|
8077 | rm -f conftest.$ac_objext |
|
|
8078 | if { (ac_try="$ac_compile" |
|
|
8079 | case "(($ac_try" in |
|
|
8080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8081 | *) ac_try_echo=$ac_try;; |
|
|
8082 | esac |
|
|
8083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8084 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8085 | ac_status=$? |
|
|
8086 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8087 | rm -f conftest.er1 |
|
|
8088 | cat conftest.err >&5 |
|
|
8089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8090 | (exit $ac_status); } && { |
|
|
8091 | test -z "$ac_cxx_werror_flag" || |
|
|
8092 | test ! -s conftest.err |
|
|
8093 | } && test -s conftest.$ac_objext; then |
|
|
8094 | ac_cv_c_const=yes |
|
|
8095 | else |
|
|
8096 | echo "$as_me: failed program was:" >&5 |
|
|
8097 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8098 | |
|
|
8099 | ac_cv_c_const=no |
|
|
8100 | fi |
|
|
8101 | |
|
|
8102 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8103 | fi |
|
|
8104 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
|
8105 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
|
|
8106 | if test $ac_cv_c_const = no; then |
|
|
8107 | |
|
|
8108 | cat >>confdefs.h <<\_ACEOF |
|
|
8109 | #define const |
|
|
8110 | _ACEOF |
|
|
8111 | |
|
|
8112 | fi |
|
|
8113 | |
|
|
8114 | { echo "$as_me:$LINENO: checking for inline" >&5 |
|
|
8115 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
|
|
8116 | if test "${ac_cv_c_inline+set}" = set; then |
|
|
8117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8118 | else |
|
|
8119 | ac_cv_c_inline=no |
|
|
8120 | for ac_kw in inline __inline__ __inline; do |
|
|
8121 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8122 | /* confdefs.h. */ |
|
|
8123 | _ACEOF |
|
|
8124 | cat confdefs.h >>conftest.$ac_ext |
|
|
8125 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8126 | /* end confdefs.h. */ |
|
|
8127 | #ifndef __cplusplus |
|
|
8128 | typedef int foo_t; |
|
|
8129 | static $ac_kw foo_t static_foo () {return 0; } |
|
|
8130 | $ac_kw foo_t foo () {return 0; } |
|
|
8131 | #endif |
|
|
8132 | |
|
|
8133 | _ACEOF |
|
|
8134 | rm -f conftest.$ac_objext |
|
|
8135 | if { (ac_try="$ac_compile" |
|
|
8136 | case "(($ac_try" in |
|
|
8137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8138 | *) ac_try_echo=$ac_try;; |
|
|
8139 | esac |
|
|
8140 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8141 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8142 | ac_status=$? |
|
|
8143 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8144 | rm -f conftest.er1 |
|
|
8145 | cat conftest.err >&5 |
|
|
8146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8147 | (exit $ac_status); } && { |
|
|
8148 | test -z "$ac_cxx_werror_flag" || |
|
|
8149 | test ! -s conftest.err |
|
|
8150 | } && test -s conftest.$ac_objext; then |
|
|
8151 | ac_cv_c_inline=$ac_kw |
|
|
8152 | else |
|
|
8153 | echo "$as_me: failed program was:" >&5 |
|
|
8154 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8155 | |
|
|
8156 | |
|
|
8157 | fi |
|
|
8158 | |
|
|
8159 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8160 | test "$ac_cv_c_inline" != no && break |
|
|
8161 | done |
|
|
8162 | |
|
|
8163 | fi |
|
|
8164 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
|
8165 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
|
|
8166 | |
|
|
8167 | |
|
|
8168 | case $ac_cv_c_inline in |
|
|
8169 | inline | yes) ;; |
|
|
8170 | *) |
|
|
8171 | case $ac_cv_c_inline in |
|
|
8172 | no) ac_val=;; |
|
|
8173 | *) ac_val=$ac_cv_c_inline;; |
|
|
8174 | esac |
|
|
8175 | cat >>confdefs.h <<_ACEOF |
|
|
8176 | #ifndef __cplusplus |
|
|
8177 | #define inline $ac_val |
|
|
8178 | #endif |
|
|
8179 | _ACEOF |
|
|
8180 | ;; |
|
|
8181 | esac |
|
|
8182 | |
|
|
8183 | |
|
|
8184 | |
7719 | |
8185 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7720 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
8186 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7721 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
8187 | if test "${ac_cv_type_mode_t+set}" = set; then |
7722 | if test "${ac_cv_type_mode_t+set}" = set; then |
8188 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10303 | fi |
9838 | fi |
10304 | fi |
9839 | fi |
10305 | |
9840 | |
10306 | |
9841 | |
10307 | |
9842 | |
10308 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
10309 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
|
|
10310 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
10311 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10312 | else |
|
|
10313 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10314 | /* confdefs.h. */ |
|
|
10315 | _ACEOF |
|
|
10316 | cat confdefs.h >>conftest.$ac_ext |
|
|
10317 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10318 | /* end confdefs.h. */ |
|
|
10319 | #include <sys/types.h> |
|
|
10320 | #include <signal.h> |
|
|
10321 | |
9843 | |
10322 | int |
|
|
10323 | main () |
|
|
10324 | { |
|
|
10325 | return *(signal (0, 0)) (0) == 1; |
|
|
10326 | ; |
|
|
10327 | return 0; |
|
|
10328 | } |
|
|
10329 | _ACEOF |
|
|
10330 | rm -f conftest.$ac_objext |
|
|
10331 | if { (ac_try="$ac_compile" |
|
|
10332 | case "(($ac_try" in |
|
|
10333 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10334 | *) ac_try_echo=$ac_try;; |
|
|
10335 | esac |
|
|
10336 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10337 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10338 | ac_status=$? |
|
|
10339 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10340 | rm -f conftest.er1 |
|
|
10341 | cat conftest.err >&5 |
|
|
10342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10343 | (exit $ac_status); } && { |
|
|
10344 | test -z "$ac_cxx_werror_flag" || |
|
|
10345 | test ! -s conftest.err |
|
|
10346 | } && test -s conftest.$ac_objext; then |
|
|
10347 | ac_cv_type_signal=int |
|
|
10348 | else |
|
|
10349 | echo "$as_me: failed program was:" >&5 |
|
|
10350 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10351 | |
|
|
10352 | ac_cv_type_signal=void |
|
|
10353 | fi |
|
|
10354 | |
|
|
10355 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10356 | fi |
|
|
10357 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
10358 | echo "${ECHO_T}$ac_cv_type_signal" >&6; } |
|
|
10359 | |
|
|
10360 | cat >>confdefs.h <<_ACEOF |
|
|
10361 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
10362 | _ACEOF |
|
|
10363 | |
|
|
10364 | |
|
|
10365 | |
|
|
10366 | |
|
|
10367 | |
|
|
10368 | |
|
|
10369 | for ac_func in \ |
9844 | for ac_func in unsetenv |
10370 | unsetenv \ |
|
|
10371 | setutent \ |
|
|
10372 | on_exit \ |
|
|
10373 | |
|
|
10374 | do |
9845 | do |
10375 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9846 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10376 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9847 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10377 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9848 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10378 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
9849 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
10517 | |
9988 | |
10518 | |
9989 | |
10519 | |
9990 | |
10520 | |
9991 | |
10521 | for ac_func in \ |
9992 | for ac_func in \ |
10522 | ttyslot \ |
|
|
10523 | updwtmp \ |
9993 | updwtmp \ |
10524 | updwtmpx \ |
9994 | updwtmpx \ |
|
|
9995 | updlastlogx \ |
10525 | |
9996 | |
10526 | do |
9997 | do |
10527 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9998 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10528 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9999 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10529 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10000 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
10615 | fi |
10086 | fi |
10616 | done |
10087 | done |
10617 | |
10088 | |
10618 | |
10089 | |
10619 | |
10090 | |
10620 | |
|
|
10621 | |
|
|
10622 | for ac_header in \ |
10091 | for ac_header in lastlog.h |
10623 | utmp.h \ |
|
|
10624 | utmpx.h \ |
|
|
10625 | lastlog.h \ |
|
|
10626 | |
|
|
10627 | do |
10092 | do |
10628 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10093 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10629 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10094 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10630 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10095 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10631 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10096 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
10762 | |
10227 | |
10763 | done |
10228 | done |
10764 | |
10229 | |
10765 | |
10230 | |
10766 | |
10231 | |
10767 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10232 | |
|
|
10233 | for ac_header in utmp.h |
|
|
10234 | do |
|
|
10235 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10236 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10768 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10237 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10769 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10238 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10770 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10239 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10771 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10772 | fi |
10241 | fi |
|
|
10242 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10773 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10243 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10774 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10244 | echo "${ECHO_T}$ac_res" >&6; } |
10775 | else |
10245 | else |
10776 | # Is the header compilable? |
10246 | # Is the header compilable? |
10777 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
10247 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10778 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
10248 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10779 | cat >conftest.$ac_ext <<_ACEOF |
10249 | cat >conftest.$ac_ext <<_ACEOF |
10780 | /* confdefs.h. */ |
10250 | /* confdefs.h. */ |
10781 | _ACEOF |
10251 | _ACEOF |
10782 | cat confdefs.h >>conftest.$ac_ext |
10252 | cat confdefs.h >>conftest.$ac_ext |
10783 | cat >>conftest.$ac_ext <<_ACEOF |
10253 | cat >>conftest.$ac_ext <<_ACEOF |
10784 | /* end confdefs.h. */ |
10254 | /* end confdefs.h. */ |
10785 | $ac_includes_default |
10255 | $ac_includes_default |
10786 | #include <utmp.h> |
10256 | #include <$ac_header> |
10787 | _ACEOF |
10257 | _ACEOF |
10788 | rm -f conftest.$ac_objext |
10258 | rm -f conftest.$ac_objext |
10789 | if { (ac_try="$ac_compile" |
10259 | if { (ac_try="$ac_compile" |
10790 | case "(($ac_try" in |
10260 | case "(($ac_try" in |
10791 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10261 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10813 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10283 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10814 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10284 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10815 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10285 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10816 | |
10286 | |
10817 | # Is the header present? |
10287 | # Is the header present? |
10818 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
10288 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10819 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
10289 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10820 | cat >conftest.$ac_ext <<_ACEOF |
10290 | cat >conftest.$ac_ext <<_ACEOF |
10821 | /* confdefs.h. */ |
10291 | /* confdefs.h. */ |
10822 | _ACEOF |
10292 | _ACEOF |
10823 | cat confdefs.h >>conftest.$ac_ext |
10293 | cat confdefs.h >>conftest.$ac_ext |
10824 | cat >>conftest.$ac_ext <<_ACEOF |
10294 | cat >>conftest.$ac_ext <<_ACEOF |
10825 | /* end confdefs.h. */ |
10295 | /* end confdefs.h. */ |
10826 | #include <utmp.h> |
10296 | #include <$ac_header> |
10827 | _ACEOF |
10297 | _ACEOF |
10828 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10298 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10829 | case "(($ac_try" in |
10299 | case "(($ac_try" in |
10830 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10831 | *) ac_try_echo=$ac_try;; |
10301 | *) ac_try_echo=$ac_try;; |
… | |
… | |
10854 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10324 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10855 | |
10325 | |
10856 | # So? What about this header? |
10326 | # So? What about this header? |
10857 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10327 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10858 | yes:no: ) |
10328 | yes:no: ) |
10859 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10329 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10860 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10330 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10861 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
10331 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
10862 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
10332 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10863 | ac_header_preproc=yes |
10333 | ac_header_preproc=yes |
10864 | ;; |
10334 | ;; |
10865 | no:yes:* ) |
10335 | no:yes:* ) |
10866 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
10336 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10867 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
10337 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10868 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
10338 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10869 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
10339 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10870 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
10340 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
10871 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
10341 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
10872 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
10342 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
10873 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
10343 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
10874 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
10344 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10875 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
10345 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10876 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
10346 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
10877 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
10347 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10878 | |
10348 | |
10879 | ;; |
10349 | ;; |
10880 | esac |
10350 | esac |
10881 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10351 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10882 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10352 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10883 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10353 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10884 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10354 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10885 | else |
10355 | else |
10886 | ac_cv_header_utmp_h=$ac_header_preproc |
10356 | eval "$as_ac_Header=\$ac_header_preproc" |
10887 | fi |
10357 | fi |
|
|
10358 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10888 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10359 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10889 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10360 | echo "${ECHO_T}$ac_res" >&6; } |
10890 | |
10361 | |
10891 | fi |
10362 | fi |
10892 | if test $ac_cv_header_utmp_h = yes; then |
10363 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10364 | cat >>confdefs.h <<_ACEOF |
|
|
10365 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10366 | _ACEOF |
10893 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10367 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10894 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10368 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10895 | if test "${struct_utmp+set}" = set; then |
10369 | if test "${struct_utmp+set}" = set; then |
10896 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10897 | else |
10371 | else |
10898 | cat >conftest.$ac_ext <<_ACEOF |
10372 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
11065 | |
10539 | |
11066 | fi |
10540 | fi |
11067 | |
10541 | |
11068 | fi |
10542 | fi |
11069 | |
10543 | |
|
|
10544 | done |
11070 | |
10545 | |
11071 | |
10546 | |
11072 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10547 | |
|
|
10548 | for ac_header in utmpx.h |
|
|
10549 | do |
|
|
10550 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10551 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11073 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10552 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11074 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10553 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11075 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10554 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11076 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10555 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11077 | fi |
10556 | fi |
|
|
10557 | ac_res=`eval echo '${'$as_ac_Header'}'` |
11078 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10558 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11079 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10559 | echo "${ECHO_T}$ac_res" >&6; } |
11080 | else |
10560 | else |
11081 | # Is the header compilable? |
10561 | # Is the header compilable? |
11082 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
10562 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
11083 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
10563 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
11084 | cat >conftest.$ac_ext <<_ACEOF |
10564 | cat >conftest.$ac_ext <<_ACEOF |
11085 | /* confdefs.h. */ |
10565 | /* confdefs.h. */ |
11086 | _ACEOF |
10566 | _ACEOF |
11087 | cat confdefs.h >>conftest.$ac_ext |
10567 | cat confdefs.h >>conftest.$ac_ext |
11088 | cat >>conftest.$ac_ext <<_ACEOF |
10568 | cat >>conftest.$ac_ext <<_ACEOF |
11089 | /* end confdefs.h. */ |
10569 | /* end confdefs.h. */ |
11090 | $ac_includes_default |
10570 | $ac_includes_default |
11091 | #include <utmpx.h> |
10571 | #include <$ac_header> |
11092 | _ACEOF |
10572 | _ACEOF |
11093 | rm -f conftest.$ac_objext |
10573 | rm -f conftest.$ac_objext |
11094 | if { (ac_try="$ac_compile" |
10574 | if { (ac_try="$ac_compile" |
11095 | case "(($ac_try" in |
10575 | case "(($ac_try" in |
11096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
11118 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10598 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11119 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10599 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
11120 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10600 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
11121 | |
10601 | |
11122 | # Is the header present? |
10602 | # Is the header present? |
11123 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
10603 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
11124 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
10604 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
11125 | cat >conftest.$ac_ext <<_ACEOF |
10605 | cat >conftest.$ac_ext <<_ACEOF |
11126 | /* confdefs.h. */ |
10606 | /* confdefs.h. */ |
11127 | _ACEOF |
10607 | _ACEOF |
11128 | cat confdefs.h >>conftest.$ac_ext |
10608 | cat confdefs.h >>conftest.$ac_ext |
11129 | cat >>conftest.$ac_ext <<_ACEOF |
10609 | cat >>conftest.$ac_ext <<_ACEOF |
11130 | /* end confdefs.h. */ |
10610 | /* end confdefs.h. */ |
11131 | #include <utmpx.h> |
10611 | #include <$ac_header> |
11132 | _ACEOF |
10612 | _ACEOF |
11133 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10613 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
11134 | case "(($ac_try" in |
10614 | case "(($ac_try" in |
11135 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11136 | *) ac_try_echo=$ac_try;; |
10616 | *) ac_try_echo=$ac_try;; |
… | |
… | |
11159 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10639 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
11160 | |
10640 | |
11161 | # So? What about this header? |
10641 | # So? What about this header? |
11162 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10642 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
11163 | yes:no: ) |
10643 | yes:no: ) |
11164 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10644 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11165 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10645 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11166 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
10646 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
11167 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
10647 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11168 | ac_header_preproc=yes |
10648 | ac_header_preproc=yes |
11169 | ;; |
10649 | ;; |
11170 | no:yes:* ) |
10650 | no:yes:* ) |
11171 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
10651 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11172 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
10652 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11173 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
10653 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11174 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
10654 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11175 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
10655 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11176 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
10656 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11177 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
10657 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11178 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
10658 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11179 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
10659 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11180 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
10660 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11181 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
10661 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11182 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
10662 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11183 | |
10663 | |
11184 | ;; |
10664 | ;; |
11185 | esac |
10665 | esac |
11186 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10666 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11187 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10667 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11188 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10668 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11189 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10669 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11190 | else |
10670 | else |
11191 | ac_cv_header_utmpx_h=$ac_header_preproc |
10671 | eval "$as_ac_Header=\$ac_header_preproc" |
11192 | fi |
10672 | fi |
|
|
10673 | ac_res=`eval echo '${'$as_ac_Header'}'` |
11193 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10674 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11194 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10675 | echo "${ECHO_T}$ac_res" >&6; } |
11195 | |
10676 | |
11196 | fi |
10677 | fi |
11197 | if test $ac_cv_header_utmpx_h = yes; then |
10678 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10679 | cat >>confdefs.h <<_ACEOF |
|
|
10680 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10681 | _ACEOF |
11198 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10682 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
11199 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
10683 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
11200 | if test "${struct_utmpx+set}" = set; then |
10684 | if test "${struct_utmpx+set}" = set; then |
11201 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11202 | else |
10686 | else |
11203 | cat >conftest.$ac_ext <<_ACEOF |
10687 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
11370 | |
10854 | |
11371 | fi |
10855 | fi |
11372 | |
10856 | |
11373 | fi |
10857 | fi |
11374 | |
10858 | |
|
|
10859 | done |
11375 | |
10860 | |
11376 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10861 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
11377 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
10862 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
11378 | if test "${struct_lastlog+set}" = set; then |
10863 | if test "${struct_lastlog+set}" = set; then |
11379 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10864 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11950 | |
11435 | |
11951 | cat >>confdefs.h <<_ACEOF |
11436 | cat >>confdefs.h <<_ACEOF |
11952 | #define LASTLOG_FILE "$path_lastlog" |
11437 | #define LASTLOG_FILE "$path_lastlog" |
11953 | _ACEOF |
11438 | _ACEOF |
11954 | |
11439 | |
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 |
11440 | fi |
11963 | |
11441 | |
11964 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11442 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11965 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11443 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11966 | if test "${path_lastlogx+set}" = set; then |
11444 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
12048 | |
11526 | |
12049 | fi |
11527 | fi |
12050 | |
11528 | |
12051 | |
11529 | |
12052 | |
11530 | |
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 | |
11531 | |
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 |
11532 | save_LIBS=$LIBS |
12079 | ac_save_CFLAGS=$CFLAGS |
11533 | save_CFLAGS=$CFLAGS |
12080 | CFLAGS="$CFLAGS $X_CFLAGS" |
11534 | CFLAGS="$CFLAGS $X_CFLAGS" |
12081 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11535 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
12082 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
11536 | 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 |
11537 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
12086 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11538 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
12087 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11539 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
12088 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11540 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12089 | else |
11541 | else |
12090 | if test "$cross_compiling" = yes; then |
11542 | if test "$cross_compiling" = yes; then |
12091 | { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 |
11543 | : |
12092 | echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;} |
|
|
12093 | else |
11544 | else |
12094 | cat >conftest.$ac_ext <<_ACEOF |
11545 | cat >conftest.$ac_ext <<_ACEOF |
12095 | /* confdefs.h. */ |
11546 | /* confdefs.h. */ |
12096 | _ACEOF |
11547 | _ACEOF |
12097 | cat confdefs.h >>conftest.$ac_ext |
11548 | cat confdefs.h >>conftest.$ac_ext |
12098 | cat >>conftest.$ac_ext <<_ACEOF |
11549 | cat >>conftest.$ac_ext <<_ACEOF |
12099 | /* end confdefs.h. */ |
11550 | /* end confdefs.h. */ |
12100 | #include <X11/Xlib.h> |
11551 | #include <X11/Xlib.h> |
12101 | #include <stdlib.h> |
11552 | #include <stdlib.h> |
12102 | main() { |
11553 | main() { |
12103 | char *p; |
11554 | char *p; |
12104 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11555 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
12105 | exit (XSupportsLocale() ? 0 : 1); |
11556 | exit (XSupportsLocale() ? 0 : 1); |
12106 | else |
11557 | else |
12107 | exit (1);} |
11558 | exit (1);} |
12108 | _ACEOF |
11559 | _ACEOF |
12109 | rm -f conftest$ac_exeext |
11560 | rm -f conftest$ac_exeext |
12110 | if { (ac_try="$ac_link" |
11561 | if { (ac_try="$ac_link" |
12111 | case "(($ac_try" in |
11562 | case "(($ac_try" in |
12112 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11563 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
12124 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12125 | (eval "$ac_try") 2>&5 |
11576 | (eval "$ac_try") 2>&5 |
12126 | ac_status=$? |
11577 | ac_status=$? |
12127 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12128 | (exit $ac_status); }; }; then |
11579 | (exit $ac_status); }; }; then |
12129 | rxvt_cv_func_xlocale=yes |
11580 | rxvt_cv_func_xlocale=yes |
12130 | else |
11581 | else |
12131 | echo "$as_me: program exited with status $ac_status" >&5 |
11582 | echo "$as_me: program exited with status $ac_status" >&5 |
12132 | echo "$as_me: failed program was:" >&5 |
11583 | echo "$as_me: failed program was:" >&5 |
12133 | sed 's/^/| /' conftest.$ac_ext >&5 |
11584 | sed 's/^/| /' conftest.$ac_ext >&5 |
12134 | |
11585 | |
… | |
… | |
12140 | |
11591 | |
12141 | |
11592 | |
12142 | fi |
11593 | fi |
12143 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11594 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
12144 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11595 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
12145 | if test x$rxvt_cv_func_xlocale = xyes; then |
11596 | if test x$rxvt_cv_func_xlocale = xyes; then |
12146 | |
11597 | |
12147 | cat >>confdefs.h <<\_ACEOF |
11598 | cat >>confdefs.h <<\_ACEOF |
12148 | #define HAVE_XLOCALE 1 |
11599 | #define USE_XIM 1 |
12149 | _ACEOF |
11600 | _ACEOF |
12150 | |
11601 | |
|
|
11602 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
11603 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
11604 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
11605 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11606 | else |
|
|
11607 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11608 | |
|
|
11609 | #include <X11/Xlib.h> |
|
|
11610 | |
|
|
11611 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
11612 | |
|
|
11613 | void f() { |
|
|
11614 | XIMCallback cb; |
|
|
11615 | cb.callback = im_destroy_cb; |
|
|
11616 | } |
|
|
11617 | |
|
|
11618 | _ACEOF |
|
|
11619 | rm -f conftest.$ac_objext |
|
|
11620 | if { (ac_try="$ac_compile" |
|
|
11621 | case "(($ac_try" in |
|
|
11622 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
11623 | *) ac_try_echo=$ac_try;; |
|
|
11624 | esac |
|
|
11625 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
11626 | (eval "$ac_compile") 2>conftest.er1 |
|
|
11627 | ac_status=$? |
|
|
11628 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11629 | rm -f conftest.er1 |
|
|
11630 | cat conftest.err >&5 |
|
|
11631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11632 | (exit $ac_status); } && { |
|
|
11633 | test -z "$ac_cxx_werror_flag" || |
|
|
11634 | test ! -s conftest.err |
|
|
11635 | } && test -s conftest.$ac_objext; then |
|
|
11636 | rxvt_broken_ximcb=yes |
|
|
11637 | else |
|
|
11638 | echo "$as_me: failed program was:" >&5 |
|
|
11639 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11640 | |
|
|
11641 | rxvt_broken_ximcb=no |
|
|
11642 | fi |
|
|
11643 | |
|
|
11644 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
11645 | fi |
|
|
11646 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
11647 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
11648 | |
|
|
11649 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
11650 | |
|
|
11651 | cat >>confdefs.h <<\_ACEOF |
|
|
11652 | #define XIMCB_PROTO_BROKEN 1 |
|
|
11653 | _ACEOF |
|
|
11654 | |
|
|
11655 | fi |
|
|
11656 | fi |
12151 | fi |
11657 | fi |
12152 | |
11658 | |
12153 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11659 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
12154 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
11660 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
12155 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
11661 | if test "${rxvt_cv_func_xsetlocale+set}" = set; then |
… | |
… | |
12207 | cat >>confdefs.h <<\_ACEOF |
11713 | cat >>confdefs.h <<\_ACEOF |
12208 | #define HAVE_XSETLOCALE 1 |
11714 | #define HAVE_XSETLOCALE 1 |
12209 | _ACEOF |
11715 | _ACEOF |
12210 | |
11716 | |
12211 | fi |
11717 | fi |
12212 | LIBS=$ac_save_LIBS |
11718 | LIBS=$save_LIBS |
12213 | CFLAGS=$ac_save_CFLAGS |
11719 | CFLAGS=$save_CFLAGS |
12214 | |
11720 | |
12215 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
11721 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
12216 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
11722 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
12217 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
11723 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
12218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12421 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
11927 | { { 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;} |
11928 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12423 | { (exit 1); exit 1; }; } |
11929 | { (exit 1); exit 1; }; } |
12424 | fi |
11930 | fi |
12425 | |
11931 | |
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 | |
11932 | |
12482 | |
11933 | |
12483 | |
11934 | |
12484 | |
11935 | |
12485 | |
11936 | |
… | |
… | |
13166 | echo "${ECHO_T}no" >&6; } |
12617 | echo "${ECHO_T}no" >&6; } |
13167 | fi |
12618 | fi |
13168 | |
12619 | |
13169 | |
12620 | |
13170 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12621 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
13171 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12622 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
13172 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12623 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
13173 | else |
12624 | else |
13174 | # Extract the first word of "xft-config", so it can be a program name with args. |
12625 | # Extract the first word of "xft-config", so it can be a program name with args. |
13175 | set dummy xft-config; ac_word=$2 |
12626 | set dummy xft-config; ac_word=$2 |
13176 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12627 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
13211 | echo "${ECHO_T}no" >&6; } |
12662 | echo "${ECHO_T}no" >&6; } |
13212 | fi |
12663 | fi |
13213 | |
12664 | |
13214 | |
12665 | |
13215 | if test $XFT_CONFIG != no; then |
12666 | if test $XFT_CONFIG != no; then |
13216 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
12667 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
13217 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12668 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13218 | fi |
12669 | fi |
13219 | fi |
12670 | fi |
13220 | |
12671 | |
|
|
12672 | save_LIBS="$LIBS" |
|
|
12673 | LIBS="$LIBS $X_LIBS" |
13221 | |
12674 | |
13222 | for ac_header in X11/Xft/Xft.h |
12675 | for ac_header in X11/Xft/Xft.h |
13223 | do |
12676 | do |
13224 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12677 | 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 |
12678 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
13358 | support_xft=no |
12811 | support_xft=no |
13359 | fi |
12812 | fi |
13360 | |
12813 | |
13361 | done |
12814 | done |
13362 | |
12815 | |
13363 | |
|
|
13364 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
12816 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13365 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
12817 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13366 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
12818 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13367 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12819 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13368 | else |
12820 | else |
13369 | ac_check_lib_save_LIBS=$LIBS |
12821 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13421 | LIBS=$ac_check_lib_save_LIBS |
12873 | LIBS=$ac_check_lib_save_LIBS |
13422 | fi |
12874 | fi |
13423 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
12875 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13424 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
12876 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13425 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
12877 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13426 | cat >>confdefs.h <<_ACEOF |
12878 | : |
13427 | #define HAVE_LIBXFT 1 |
|
|
13428 | _ACEOF |
|
|
13429 | |
|
|
13430 | LIBS="-lXft $LIBS" |
|
|
13431 | |
|
|
13432 | else |
12879 | else |
13433 | support_xft=no |
12880 | support_xft=no |
13434 | fi |
12881 | fi |
13435 | |
12882 | |
|
|
12883 | LIBS="$save_LIBS" |
13436 | |
12884 | |
13437 | if test x$support_xft = xyes; then |
12885 | if test x$support_xft = xyes; then |
13438 | |
12886 | |
13439 | cat >>confdefs.h <<\_ACEOF |
12887 | cat >>confdefs.h <<\_ACEOF |
13440 | #define XFT 1 |
12888 | #define XFT 1 |
… | |
… | |
13468 | cat >>confdefs.h <<\_ACEOF |
12916 | cat >>confdefs.h <<\_ACEOF |
13469 | #define OFF_FOCUS_FADING 1 |
12917 | #define OFF_FOCUS_FADING 1 |
13470 | _ACEOF |
12918 | _ACEOF |
13471 | |
12919 | |
13472 | fi |
12920 | fi |
13473 | if test x$support_tinting = xyes; then |
12921 | if test x$support_inheritpixmap = xyes; then |
13474 | |
12922 | |
13475 | cat >>confdefs.h <<\_ACEOF |
12923 | 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 |
12924 | #define ENABLE_TRANSPARENCY 1 |
13484 | _ACEOF |
12925 | _ACEOF |
13485 | |
12926 | |
13486 | fi |
12927 | fi |
13487 | if test x$support_keepscrolling = xno; then |
12928 | if test x$support_keepscrolling = xno; then |
13488 | |
12929 | |
… | |
… | |
13517 | cat >>confdefs.h <<\_ACEOF |
12958 | cat >>confdefs.h <<\_ACEOF |
13518 | #define MOUSE_SLIP_WHEELING 1 |
12959 | #define MOUSE_SLIP_WHEELING 1 |
13519 | _ACEOF |
12960 | _ACEOF |
13520 | |
12961 | |
13521 | fi |
12962 | 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 |
12963 | if test x$support_afterimage = xyes; then |
13540 | |
12964 | |
13541 | cat >>confdefs.h <<\_ACEOF |
12965 | cat >>confdefs.h <<\_ACEOF |
13542 | #define HAVE_AFTERIMAGE 1 |
12966 | #define HAVE_AFTERIMAGE 1 |
13543 | _ACEOF |
12967 | _ACEOF |
13544 | |
12968 | |
13545 | fi |
|
|
13546 | |
|
|
13547 | if test x$support_afterstep = xyes; then |
|
|
13548 | |
12969 | |
13549 | cat >>confdefs.h <<\_ACEOF |
12970 | cat >>confdefs.h <<\_ACEOF |
13550 | #define AFTERSTEP_INTEGRATION 1 |
12971 | #define BG_IMAGE_FROM_FILE 1 |
13551 | _ACEOF |
12972 | _ACEOF |
13552 | |
12973 | |
13553 | fi |
12974 | fi |
|
|
12975 | |
13554 | |
12976 | |
13555 | if test x$support_scroll_rxvt = xyes; then |
12977 | if test x$support_scroll_rxvt = xyes; then |
13556 | |
12978 | |
13557 | cat >>confdefs.h <<\_ACEOF |
12979 | cat >>confdefs.h <<\_ACEOF |
13558 | #define RXVT_SCROLLBAR 1 |
12980 | #define RXVT_SCROLLBAR 1 |
… | |
… | |
13827 | |
13249 | |
13828 | |
13250 | |
13829 | |
13251 | |
13830 | |
13252 | |
13831 | |
13253 | |
13832 | if test x$support_perl = xyes; then |
|
|
13833 | support_frills=yes |
|
|
13834 | fi |
|
|
13835 | |
13254 | |
13836 | |
13255 | |
13837 | |
13256 | |
13838 | |
13257 | |
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 | |
13258 | |
13851 | |
13259 | |
13852 | |
13260 | |
13853 | |
13261 | |
13854 | |
13262 | |
… | |
… | |
14604 | host_cpu!$host_cpu$ac_delim |
14012 | host_cpu!$host_cpu$ac_delim |
14605 | host_vendor!$host_vendor$ac_delim |
14013 | host_vendor!$host_vendor$ac_delim |
14606 | host_os!$host_os$ac_delim |
14014 | host_os!$host_os$ac_delim |
14607 | VERSION!$VERSION$ac_delim |
14015 | VERSION!$VERSION$ac_delim |
14608 | DATE!$DATE$ac_delim |
14016 | DATE!$DATE$ac_delim |
14609 | LSMDATE!$LSMDATE$ac_delim |
|
|
14610 | LIBVERSION!$LIBVERSION$ac_delim |
|
|
14611 | CC!$CC$ac_delim |
14017 | CC!$CC$ac_delim |
14612 | CFLAGS!$CFLAGS$ac_delim |
14018 | CFLAGS!$CFLAGS$ac_delim |
14613 | LDFLAGS!$LDFLAGS$ac_delim |
14019 | LDFLAGS!$LDFLAGS$ac_delim |
14614 | CPPFLAGS!$CPPFLAGS$ac_delim |
14020 | CPPFLAGS!$CPPFLAGS$ac_delim |
14615 | ac_ct_CC!$ac_ct_CC$ac_delim |
14021 | ac_ct_CC!$ac_ct_CC$ac_delim |
… | |
… | |
14623 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14029 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14624 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14030 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14625 | GREP!$GREP$ac_delim |
14031 | GREP!$GREP$ac_delim |
14626 | EGREP!$EGREP$ac_delim |
14032 | EGREP!$EGREP$ac_delim |
14627 | LINKER!$LINKER$ac_delim |
14033 | LINKER!$LINKER$ac_delim |
14628 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
|
|
14629 | RXVTNAME!$RXVTNAME$ac_delim |
14034 | RXVTNAME!$RXVTNAME$ac_delim |
14630 | MV!$MV$ac_delim |
|
|
14631 | CP!$CP$ac_delim |
14035 | 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 |
14036 | TIC!$TIC$ac_delim |
14637 | XMKMF!$XMKMF$ac_delim |
14037 | XMKMF!$XMKMF$ac_delim |
14638 | CXXCPP!$CXXCPP$ac_delim |
|
|
14639 | X_CFLAGS!$X_CFLAGS$ac_delim |
14038 | X_CFLAGS!$X_CFLAGS$ac_delim |
14640 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14039 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14641 | X_LIBS!$X_LIBS$ac_delim |
14040 | X_LIBS!$X_LIBS$ac_delim |
14642 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14041 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14643 | afterimage_config!$afterimage_config$ac_delim |
14042 | 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 |
14043 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14648 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14044 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14649 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14045 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14650 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14046 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14651 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
14047 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
… | |
… | |
14654 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14050 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14655 | PERL!$PERL$ac_delim |
14051 | PERL!$PERL$ac_delim |
14656 | PERLLIB!$PERLLIB$ac_delim |
14052 | PERLLIB!$PERLLIB$ac_delim |
14657 | PERLFLAGS!$PERLFLAGS$ac_delim |
14053 | PERLFLAGS!$PERLFLAGS$ac_delim |
14658 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14054 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
|
|
14055 | IF_PERL!$IF_PERL$ac_delim |
|
|
14056 | PERL_O!$PERL_O$ac_delim |
|
|
14057 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
|
|
14058 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
|
|
14059 | include_stdint_h!$include_stdint_h$ac_delim |
|
|
14060 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14061 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14062 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14063 | include_string_h!$include_string_h$ac_delim |
|
|
14064 | include_fcntl_h!$include_fcntl_h$ac_delim |
|
|
14065 | include_util_h!$include_util_h$ac_delim |
|
|
14066 | include_assert_h!$include_assert_h$ac_delim |
14659 | _ACEOF |
14067 | _ACEOF |
14660 | |
14068 | |
14661 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14069 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14662 | break |
14070 | break |
14663 | elif $ac_last_try; then |
14071 | elif $ac_last_try; then |
… | |
… | |
14695 | |
14103 | |
14696 | |
14104 | |
14697 | ac_delim='%!_!# ' |
14105 | ac_delim='%!_!# ' |
14698 | for ac_last_try in false false false false false :; do |
14106 | for ac_last_try in false false false false false :; do |
14699 | cat >conf$$subs.sed <<_ACEOF |
14107 | 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 |
|
|
14713 | include_util_h!$include_util_h$ac_delim |
|
|
14714 | include_assert_h!$include_assert_h$ac_delim |
|
|
14715 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14108 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14716 | include_sys_select_h!$include_sys_select_h$ac_delim |
14109 | include_sys_select_h!$include_sys_select_h$ac_delim |
14717 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
14110 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
14718 | include_sys_time_h!$include_sys_time_h$ac_delim |
14111 | include_sys_time_h!$include_sys_time_h$ac_delim |
14719 | include_time_h!$include_time_h$ac_delim |
14112 | include_time_h!$include_time_h$ac_delim |
14720 | LIBOBJS!$LIBOBJS$ac_delim |
14113 | LIBOBJS!$LIBOBJS$ac_delim |
14721 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14114 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14722 | _ACEOF |
14115 | _ACEOF |
14723 | |
14116 | |
14724 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then |
14117 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then |
14725 | break |
14118 | break |
14726 | elif $ac_last_try; then |
14119 | elif $ac_last_try; then |
14727 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14120 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14728 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14121 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14729 | { (exit 1); exit 1; }; } |
14122 | { (exit 1); exit 1; }; } |
… | |
… | |
15158 | Install path: ${prefix}/bin |
14551 | Install path: ${prefix}/bin |
15159 | Compiler: $CXX |
14552 | Compiler: $CXX |
15160 | Compiler flags: $CXXFLAGS |
14553 | Compiler flags: $CXXFLAGS |
15161 | Linker: $LINKER" |
14554 | Linker: $LINKER" |
15162 | |
14555 | |
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 |
14556 | if test x$term != x; then |
15176 | echo " set TERM to: $term" |
14557 | echo " set TERM to: $term" |
15177 | fi |
14558 | fi |
15178 | if test x$terminfo != x; then |
14559 | if test x$terminfo != x; then |
15179 | echo " set TERMINFO to: $terminfo" |
14560 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
15183 | if test x$RESFALLBACK != x; then |
14564 | if test x$RESFALLBACK != x; then |
15184 | echo " resource class fallback: $RESFALLBACK" |
14565 | echo " resource class fallback: $RESFALLBACK" |
15185 | fi |
14566 | fi |
15186 | echo |
14567 | echo |
15187 | echo " embedded perl: $support_perl" |
14568 | echo " embedded perl: $support_perl" |
|
|
14569 | echo " libafterimage: $support_afterimage" |
15188 | echo |
14570 | 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 |
14571 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
15200 | echo ".----------------------------------------------------------------." |
14572 | echo ".----------------------------------------------------------------." |
15201 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14573 | echo ". WARNING: --enable-xim was specified however the locale support ." |
15202 | echo ". functions could not be found. ." |
14574 | echo ". functions could not be found. ." |
15203 | echo ". XIM is now being DISABLED! ." |
14575 | echo ". XIM is now being DISABLED! ." |