… | |
… | |
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 | CXXLIB |
|
|
683 | INSTALL_LIBRXVT |
|
|
684 | RXVTNAME |
680 | RXVTNAME |
|
|
681 | CXXCPP |
685 | TIC |
682 | TIC |
686 | XMKMF |
683 | XMKMF |
687 | CXXCPP |
|
|
688 | X_CFLAGS |
684 | X_CFLAGS |
689 | X_PRE_LIBS |
685 | X_PRE_LIBS |
690 | X_LIBS |
686 | X_LIBS |
691 | X_EXTRA_LIBS |
687 | X_EXTRA_LIBS |
692 | afterimage_config |
688 | afterimage_config |
693 | XPM_CPPFLAGS |
|
|
694 | XPM_CFLAGS |
|
|
695 | XPM_LIBS |
|
|
696 | rxvt_int16_typedef |
689 | rxvt_int16_typedef |
697 | rxvt_uint16_typedef |
690 | rxvt_uint16_typedef |
698 | rxvt_int32_typedef |
691 | rxvt_int32_typedef |
699 | rxvt_uint32_typedef |
692 | rxvt_uint32_typedef |
700 | rxvt_intp_define |
693 | rxvt_intp_define |
… | |
… | |
705 | PERLLIB |
698 | PERLLIB |
706 | PERLFLAGS |
699 | PERLFLAGS |
707 | PERLPRIVLIBEXP |
700 | PERLPRIVLIBEXP |
708 | IF_PERL |
701 | IF_PERL |
709 | PERL_O |
702 | PERL_O |
710 | LIBAFTERIMAGE_CFLAGS |
703 | AFTERIMAGE_CFLAGS |
711 | AFTERIMAGE_LIBS |
704 | AFTERIMAGE_LIBS |
712 | include_stdint_h |
705 | include_stdint_h |
713 | include_stdarg_h |
706 | include_stdarg_h |
714 | include_stdlib_h |
707 | include_stdlib_h |
715 | include_unistd_h |
708 | include_unistd_h |
… | |
… | |
735 | CPPFLAGS |
728 | CPPFLAGS |
736 | CXX |
729 | CXX |
737 | CXXFLAGS |
730 | CXXFLAGS |
738 | CCC |
731 | CCC |
739 | CPP |
732 | CPP |
740 | XMKMF |
|
|
741 | CXXCPP' |
733 | CXXCPP |
|
|
734 | XMKMF' |
742 | |
735 | |
743 | |
736 | |
744 | # Initialize some variables set by options. |
737 | # Initialize some variables set by options. |
745 | ac_init_help= |
738 | ac_init_help= |
746 | ac_init_version=false |
739 | ac_init_version=false |
… | |
… | |
1320 | Optional Features: |
1313 | Optional Features: |
1321 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1314 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1322 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1315 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1323 | --enable-everything enable standard non-multichoice features |
1316 | --enable-everything enable standard non-multichoice features |
1324 | NOTE: this option is order dependent |
1317 | NOTE: this option is order dependent |
1325 | NOTE: automatically enabled with --enable-shared |
1318 | --enable-warnings turn on g++ warnings |
1326 | --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 |
1327 | --enable-combining enable composition of base and combining characters |
1320 | --enable-combining enable composition of base and combining characters |
1328 | --enable-xft enable xft support on systems that have it |
1321 | --enable-xft enable xft support on systems that have it |
1329 | --enable-font-styles enable bold and italic support |
1322 | --enable-font-styles enable bold and italic support |
1330 | --enable-xpm-background enable background pixmaps |
|
|
1331 | --enable-afterimage enable integration with libAfterImage for background images |
1323 | --enable-afterimage enable integration with libAfterImage for background images |
1332 | --enable-afterstep enable integration with AfterStep window manager |
|
|
1333 | --enable-transparency enable transparent backgrounds |
1324 | --enable-transparency enable transparent backgrounds |
1334 | --enable-tinting enable tinting of transparent bg |
|
|
1335 | --enable-fading enable colors fading when off focus |
1325 | --enable-fading enable colors fading when off focus |
1336 | --enable-rxvt-scroll enable rxvt style scrollbar |
1326 | --enable-rxvt-scroll enable rxvt style scrollbar |
1337 | --enable-next-scroll enable NeXT style scrollbar |
1327 | --enable-next-scroll enable NeXT style scrollbar |
1338 | --enable-xterm-scroll enable Xterm style scrollbar |
1328 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
1329 | --enable-plain-scroll enable plain style scrollbar |
1339 | --enable-perl enable embedded perl interpreter |
1330 | --enable-perl enable embedded perl interpreter |
1340 | --enable-plain-scroll enable plain style scrollbar |
|
|
1341 | --enable-xim XIM (X Input Method) protocol support |
1331 | --enable-xim XIM (X Input Method) protocol support |
1342 | --disable-backspace-key disable handling of the backspace key |
1332 | --disable-backspace-key disable handling of the backspace key |
1343 | --disable-delete-key disable handling of the delete key |
1333 | --disable-delete-key disable handling of the delete key |
1344 | --disable-resources disable all resource checking |
1334 | --disable-resources disable all resource checking |
1345 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1335 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1346 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1336 | --enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1347 | --disable-swapscreen disable swap screen support |
1337 | --disable-swapscreen disable swap screen support |
1348 | --enable-iso14755 enable support for extended ISO 14755 modes |
1338 | --enable-iso14755 enable support for extended ISO 14755 modes |
1349 | --enable-frills enable support for rarely used features |
1339 | --enable-frills enable support for rarely used features |
1350 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1340 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1351 | --enable-selectionscrolling enable scrolling during selections |
1341 | --enable-selectionscrolling enable scrolling during selections |
1352 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1342 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1353 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1343 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1354 | --enable-smart-resize enable smart growth/shrink behaviour |
1344 | --enable-smart-resize enable smart growth/shrink behaviour |
1355 | --enable-text-blink enable blinking text |
1345 | --enable-text-blink enable blinking text |
1356 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1346 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1357 | --enable-utmp enable utmp (utmpx) support |
1347 | --enable-utmp enable utmp (utmpx) support |
1358 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1348 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
… | |
… | |
1360 | |
1350 | |
1361 | Optional Packages: |
1351 | Optional Packages: |
1362 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1352 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1363 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1353 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1364 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1354 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1365 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1355 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1366 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1356 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1367 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1357 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1368 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1358 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1369 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1359 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1370 | --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 |
1371 | --with-x use the X Window System |
1361 | --with-x use the X Window System |
1372 | --with-xpm-includes=DIR use XPM includes in DIR |
|
|
1373 | --with-xpm-library=DIR use XPM library in DIR |
|
|
1374 | --with-xpm use XPM |
|
|
1375 | |
1362 | |
1376 | Some influential environment variables: |
1363 | Some influential environment variables: |
1377 | CC C compiler command |
1364 | CC C compiler command |
1378 | CFLAGS C compiler flags |
1365 | CFLAGS C compiler flags |
1379 | 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 |
… | |
… | |
1382 | 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 |
1383 | you have headers in a nonstandard directory <include dir> |
1370 | you have headers in a nonstandard directory <include dir> |
1384 | CXX C++ compiler command |
1371 | CXX C++ compiler command |
1385 | CXXFLAGS C++ compiler flags |
1372 | CXXFLAGS C++ compiler flags |
1386 | CPP C preprocessor |
1373 | CPP C preprocessor |
|
|
1374 | CXXCPP C++ preprocessor |
1387 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1375 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1388 | CXXCPP C++ preprocessor |
|
|
1389 | |
1376 | |
1390 | 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 |
1391 | it to find libraries and programs with nonstandard names/locations. |
1378 | it to find libraries and programs with nonstandard names/locations. |
1392 | |
1379 | |
1393 | _ACEOF |
1380 | _ACEOF |
… | |
… | |
1929 | |
1916 | |
1930 | |
1917 | |
1931 | |
1918 | |
1932 | 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` |
1933 | 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 | |
1934 | echo "" |
1922 | echo "" |
1935 | echo "configuring for rxvt $VERSION" |
1923 | echo "configuring for rxvt $VERSION" |
1936 | echo "" |
1924 | echo "" |
1937 | |
1925 | |
1938 | orig_CXXFLAGS="$CXXFLAGS" |
1926 | orig_CXXFLAGS="$CXXFLAGS" |
1939 | |
|
|
1940 | |
1927 | |
1941 | ac_ext=c |
1928 | ac_ext=c |
1942 | ac_cpp='$CPP $CPPFLAGS' |
1929 | ac_cpp='$CPP $CPPFLAGS' |
1943 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1930 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1944 | 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' |
… | |
… | |
3723 | echo "${ECHO_T}no" >&6; } |
3710 | echo "${ECHO_T}no" >&6; } |
3724 | fi |
3711 | fi |
3725 | rm -f conftest* |
3712 | rm -f conftest* |
3726 | |
3713 | |
3727 | |
3714 | |
|
|
3715 | |
|
|
3716 | cat >>confdefs.h <<\_ACEOF |
|
|
3717 | #define _GNU_SOURCE 1 |
|
|
3718 | _ACEOF |
|
|
3719 | |
|
|
3720 | |
3728 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3721 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3729 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3722 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3730 | if test "${ac_cv_search_strerror+set}" = set; then |
3723 | if test "${ac_cv_search_strerror+set}" = set; then |
3731 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3732 | else |
3725 | else |
… | |
… | |
3855 | (exit $ac_status); } && { |
3848 | (exit $ac_status); } && { |
3856 | test -z "$ac_cxx_werror_flag" || |
3849 | test -z "$ac_cxx_werror_flag" || |
3857 | test ! -s conftest.err |
3850 | test ! -s conftest.err |
3858 | } && test -s conftest$ac_exeext && |
3851 | } && test -s conftest$ac_exeext && |
3859 | $as_test_x conftest$ac_exeext; then |
3852 | $as_test_x conftest$ac_exeext; then |
3860 | |
|
|
3861 | { echo "$as_me:$LINENO: result: ok" >&5 |
3853 | { echo "$as_me:$LINENO: result: ok" >&5 |
3862 | echo "${ECHO_T}ok" >&6; } |
3854 | echo "${ECHO_T}ok" >&6; } |
3863 | CXXLIB="-lsupc++" |
|
|
3864 | |
|
|
3865 | else |
3855 | else |
3866 | echo "$as_me: failed program was:" >&5 |
3856 | echo "$as_me: failed program was:" >&5 |
3867 | sed 's/^/| /' conftest.$ac_ext >&5 |
3857 | sed 's/^/| /' conftest.$ac_ext >&5 |
3868 | |
3858 | |
3869 | |
3859 | |
… | |
… | |
3880 | CXX="$save_CXX" |
3870 | CXX="$save_CXX" |
3881 | fi |
3871 | fi |
3882 | LINKER=$LINKER |
3872 | LINKER=$LINKER |
3883 | |
3873 | |
3884 | |
3874 | |
3885 | |
|
|
3886 | if test -z "$orig_CXXFLAGS"; then |
3875 | if test -z "$orig_CXXFLAGS"; then |
3887 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3876 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3888 | 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" |
3889 | cat >conftest.$ac_ext <<_ACEOF |
3878 | cat >conftest.$ac_ext <<_ACEOF |
3890 | /* confdefs.h. */ |
3879 | /* confdefs.h. */ |
3891 | _ACEOF |
3880 | _ACEOF |
3892 | cat confdefs.h >>conftest.$ac_ext |
3881 | cat confdefs.h >>conftest.$ac_ext |
3893 | cat >>conftest.$ac_ext <<_ACEOF |
3882 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
3931 | CXXFLAGS="-O" |
3920 | CXXFLAGS="-O" |
3932 | fi |
3921 | fi |
3933 | CFLAGS="$CXXFLAGS" |
3922 | CFLAGS="$CXXFLAGS" |
3934 | fi |
3923 | fi |
3935 | |
3924 | |
3936 | |
|
|
3937 | cat >>confdefs.h <<\_ACEOF |
|
|
3938 | #define _GNU_SOURCE 1 |
|
|
3939 | _ACEOF |
|
|
3940 | |
|
|
3941 | |
|
|
3942 | case $host in |
3925 | case $host in |
3943 | *-*-solaris* ) |
3926 | *-*-solaris* ) |
3944 | |
3927 | |
3945 | cat >>confdefs.h <<\_ACEOF |
3928 | cat >>confdefs.h <<\_ACEOF |
3946 | #define _XOPEN_SOURCE 500 |
3929 | #define _XOPEN_SOURCE 500 |
3947 | _ACEOF |
3930 | _ACEOF |
3948 | |
3931 | |
3949 | ;; |
3932 | ;; |
3950 | esac |
3933 | esac |
3951 | |
|
|
3952 | |
3934 | |
3953 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3935 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3954 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3936 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3955 | if test "${ac_cv_func_setlocale+set}" = set; then |
3937 | if test "${ac_cv_func_setlocale+set}" = set; then |
3956 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
4406 | |
4388 | |
4407 | |
4389 | |
4408 | |
4390 | |
4409 | support_frills=yes |
4391 | support_frills=yes |
4410 | support_inheritpixmap=yes |
4392 | support_inheritpixmap=yes |
4411 | support_tinting=yes |
|
|
4412 | support_fading=yes |
4393 | support_fading=yes |
4413 | support_keepscrolling=yes |
4394 | support_keepscrolling=yes |
4414 | support_selectionscrolling=yes |
4395 | support_selectionscrolling=yes |
4415 | support_mousewheel=yes |
4396 | support_mousewheel=yes |
4416 | support_mouseslipwheel=yes |
4397 | support_mouseslipwheel=yes |
… | |
… | |
4419 | support_scroll_rxvt=yes |
4400 | support_scroll_rxvt=yes |
4420 | support_scroll_next=yes |
4401 | support_scroll_next=yes |
4421 | support_scroll_xterm=yes |
4402 | support_scroll_xterm=yes |
4422 | support_scroll_plain=yes |
4403 | support_scroll_plain=yes |
4423 | support_xim=yes |
4404 | support_xim=yes |
4424 | support_xpm=yes |
|
|
4425 | support_afterimage=yes |
4405 | support_afterimage=yes |
4426 | support_afterstep=yes |
4406 | support_afterstep=yes |
4427 | support_xft=yes |
4407 | support_xft=yes |
4428 | support_unicode3=no |
4408 | support_unicode3=no |
4429 | support_combining=yes |
4409 | support_combining=yes |
… | |
… | |
4432 | support_styles=yes |
4412 | support_styles=yes |
4433 | support_perl=yes |
4413 | support_perl=yes |
4434 | codesets=all |
4414 | codesets=all |
4435 | |
4415 | |
4436 | |
4416 | |
4437 | if test "x$enable_shared" = xyes; then |
|
|
4438 | |
|
|
4439 | cat >>confdefs.h <<\_ACEOF |
|
|
4440 | #define LIBRXVT 1 |
|
|
4441 | _ACEOF |
|
|
4442 | |
|
|
4443 | INSTALL_LIBRXVT=yes |
|
|
4444 | fi |
|
|
4445 | |
|
|
4446 | |
4417 | |
4447 | # Check whether --enable-everything was given. |
4418 | # Check whether --enable-everything was given. |
4448 | if test "${enable_everything+set}" = set; then |
4419 | if test "${enable_everything+set}" = set; then |
4449 | enableval=$enable_everything; |
4420 | enableval=$enable_everything; |
4450 | if test x$enableval = xno; then |
4421 | if test x$enableval = xno; then |
4451 | support_frills=no |
4422 | support_frills=no |
4452 | support_inheritpixmap=no |
4423 | support_inheritpixmap=no |
4453 | support_tinting=no |
|
|
4454 | support_fading=no |
4424 | support_fading=no |
4455 | support_keepscrolling=no |
4425 | support_keepscrolling=no |
4456 | support_selectionscrolling=no |
4426 | support_selectionscrolling=no |
4457 | support_lastlog=no |
4427 | support_lastlog=no |
4458 | support_mousewheel=no |
4428 | support_mousewheel=no |
… | |
… | |
4464 | support_scroll_xterm=no |
4434 | support_scroll_xterm=no |
4465 | support_scroll_plain=no |
4435 | support_scroll_plain=no |
4466 | support_utmp=no |
4436 | support_utmp=no |
4467 | support_wtmp=no |
4437 | support_wtmp=no |
4468 | support_xim=no |
4438 | support_xim=no |
4469 | support_xpm=no |
|
|
4470 | support_afterimage=no |
4439 | support_afterimage=no |
4471 | support_afterstep=no |
4440 | support_afterstep=no |
4472 | support_xft=no |
4441 | support_xft=no |
4473 | support_unicode3=no |
4442 | support_unicode3=no |
4474 | support_combining=no |
4443 | support_combining=no |
… | |
… | |
4479 | codesets= |
4448 | codesets= |
4480 | fi |
4449 | fi |
4481 | if test x$enableval = xyes; then |
4450 | if test x$enableval = xyes; then |
4482 | support_frills=yes |
4451 | support_frills=yes |
4483 | support_inheritpixmap=yes |
4452 | support_inheritpixmap=yes |
4484 | support_tinting=yes |
|
|
4485 | support_fading=yes |
4453 | support_fading=yes |
4486 | support_keepscrolling=yes |
4454 | support_keepscrolling=yes |
4487 | support_selectionscrolling=yes |
4455 | support_selectionscrolling=yes |
4488 | support_lastlog=yes |
4456 | support_lastlog=yes |
4489 | support_mousewheel=yes |
4457 | support_mousewheel=yes |
… | |
… | |
4495 | support_scroll_xterm=yes |
4463 | support_scroll_xterm=yes |
4496 | support_scroll_plain=yes |
4464 | support_scroll_plain=yes |
4497 | support_utmp=yes |
4465 | support_utmp=yes |
4498 | support_wtmp=yes |
4466 | support_wtmp=yes |
4499 | support_xim=yes |
4467 | support_xim=yes |
4500 | support_xpm=yes |
|
|
4501 | support_afterimage=yes |
4468 | support_afterimage=yes |
4502 | support_afterstep=yes |
4469 | support_afterstep=yes |
4503 | support_xft=yes |
4470 | support_xft=yes |
4504 | support_unicode3=yes |
4471 | support_unicode3=yes |
4505 | support_combining=yes |
4472 | support_combining=yes |
… | |
… | |
4511 | fi |
4478 | fi |
4512 | |
4479 | |
4513 | fi |
4480 | fi |
4514 | |
4481 | |
4515 | |
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 | |
4516 | # Check whether --enable-unicode3 was given. |
4541 | # Check whether --enable-unicode3 was given. |
4517 | if test "${enable_unicode3+set}" = set; then |
4542 | if test "${enable_unicode3+set}" = set; then |
4518 | 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 |
4519 | support_unicode3=$enableval |
4544 | support_unicode3=$enableval |
4520 | fi |
4545 | fi |
… | |
… | |
4543 | support_styles=$enableval |
4568 | support_styles=$enableval |
4544 | fi |
4569 | fi |
4545 | fi |
4570 | fi |
4546 | |
4571 | |
4547 | |
4572 | |
4548 | # Check whether --enable-xpm-background was given. |
|
|
4549 | if test "${enable_xpm_background+set}" = set; then |
|
|
4550 | enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4551 | support_xpm=$enableval |
|
|
4552 | fi |
|
|
4553 | fi |
|
|
4554 | |
|
|
4555 | |
|
|
4556 | # Check whether --enable-afterimage was given. |
4573 | # Check whether --enable-afterimage was given. |
4557 | if test "${enable_afterimage+set}" = set; then |
4574 | if test "${enable_afterimage+set}" = set; then |
4558 | 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 |
4559 | support_afterimage=$enableval |
4576 | support_afterimage=$enableval |
4560 | fi |
4577 | fi |
… | |
… | |
4568 | afterimage_config=$withval/afterimage-config |
4585 | afterimage_config=$withval/afterimage-config |
4569 | fi |
4586 | fi |
4570 | fi |
4587 | fi |
4571 | |
4588 | |
4572 | |
4589 | |
4573 | # Check whether --enable-afterstep was given. |
|
|
4574 | if test "${enable_afterstep+set}" = set; then |
|
|
4575 | enableval=$enable_afterstep; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4576 | support_afterstep=$enableval |
|
|
4577 | fi |
|
|
4578 | fi |
|
|
4579 | |
|
|
4580 | |
4590 | |
4581 | # Check whether --enable-transparency was given. |
4591 | # Check whether --enable-transparency was given. |
4582 | if test "${enable_transparency+set}" = set; then |
4592 | if test "${enable_transparency+set}" = set; then |
4583 | 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 |
4584 | support_inheritpixmap=$enableval |
4594 | support_inheritpixmap=$enableval |
4585 | fi |
4595 | fi |
4586 | fi |
4596 | fi |
4587 | |
4597 | |
4588 | |
4598 | |
4589 | # Check whether --enable-tinting was given. |
|
|
4590 | if test "${enable_tinting+set}" = set; then |
|
|
4591 | enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4592 | support_tinting=$enableval |
|
|
4593 | fi |
|
|
4594 | fi |
|
|
4595 | |
|
|
4596 | |
|
|
4597 | # Check whether --enable-fading was given. |
4599 | # Check whether --enable-fading was given. |
4598 | if test "${enable_fading+set}" = set; then |
4600 | if test "${enable_fading+set}" = set; then |
4599 | 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 |
4600 | support_fading=$enableval |
4602 | support_fading=$enableval |
4601 | fi |
4603 | fi |
… | |
… | |
4624 | support_scroll_xterm=$enableval |
4626 | support_scroll_xterm=$enableval |
4625 | fi |
4627 | fi |
4626 | fi |
4628 | fi |
4627 | |
4629 | |
4628 | |
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 | |
4629 | # Check whether --enable-perl was given. |
4639 | # Check whether --enable-perl was given. |
4630 | if test "${enable_perl+set}" = set; then |
4640 | if test "${enable_perl+set}" = set; then |
4631 | 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 |
4632 | support_perl=$enableval |
4642 | support_perl=$enableval |
4633 | fi |
|
|
4634 | fi |
|
|
4635 | |
|
|
4636 | |
|
|
4637 | # Check whether --enable-plain-scroll was given. |
|
|
4638 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4639 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4640 | support_scroll_plain=$enableval |
|
|
4641 | fi |
4643 | fi |
4642 | fi |
4644 | fi |
4643 | |
4645 | |
4644 | |
4646 | |
4645 | |
4647 | |
… | |
… | |
4872 | #define RXVT_TERMINFO "$withval" |
4874 | #define RXVT_TERMINFO "$withval" |
4873 | _ACEOF |
4875 | _ACEOF |
4874 | terminfo="$withval" |
4876 | terminfo="$withval" |
4875 | fi |
4877 | fi |
4876 | fi |
4878 | fi |
|
|
4879 | |
|
|
4880 | |
|
|
4881 | |
|
|
4882 | LIBEV_M4_AVOID_LIBRT=1 |
|
|
4883 | |
|
|
4884 | ac_ext=cpp |
|
|
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 |
|
|
4892 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4894 | else |
|
|
4895 | # Double quotes because CXXCPP needs to be expanded |
|
|
4896 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4897 | do |
|
|
4898 | ac_preproc_ok=false |
|
|
4899 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4900 | do |
|
|
4901 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4902 | # with a fresh cross-compiler works. |
|
|
4903 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4904 | # <limits.h> exists even on freestanding compilers. |
|
|
4905 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4906 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4907 | cat >conftest.$ac_ext <<_ACEOF |
|
|
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 | |
|
|
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 | |
|
|
5091 | done |
|
|
5092 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5093 | rm -f conftest.err conftest.$ac_ext |
|
|
5094 | if $ac_preproc_ok; then |
|
|
5095 | : |
|
|
5096 | else |
|
|
5097 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
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; }; } |
|
|
5102 | fi |
|
|
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 |
|
|
5109 | |
|
|
5110 | |
|
|
5111 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
5112 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
5113 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
5114 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5115 | else |
|
|
5116 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5117 | /* confdefs.h. */ |
|
|
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 | |
|
|
5131 | ; |
|
|
5132 | return 0; |
|
|
5133 | } |
|
|
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 |
|
|
5297 | do |
|
|
5298 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5299 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5300 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5301 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5302 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5303 | else |
|
|
5304 | cat >conftest.$ac_ext <<_ACEOF |
|
|
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 | |
|
|
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 | |
|
|
5498 | done |
|
|
5499 | |
|
|
5500 | |
|
|
5501 | |
|
|
5502 | |
|
|
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` |
|
|
5510 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5511 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5512 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5513 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5514 | else |
|
|
5515 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5516 | /* confdefs.h. */ |
|
|
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 (); |
|
|
5556 | ; |
|
|
5557 | return 0; |
|
|
5558 | } |
|
|
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 |
|
|
5761 | do |
|
|
5762 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5763 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5764 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5765 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5766 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5767 | else |
|
|
5768 | cat >conftest.$ac_ext <<_ACEOF |
|
|
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 |
|
|
5851 | done |
|
|
5852 | |
|
|
5853 | fi |
|
|
5854 | |
|
|
5855 | fi |
|
|
5856 | |
|
|
5857 | |
|
|
5858 | |
|
|
5859 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
|
|
5860 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
|
|
5861 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
|
|
5862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5863 | else |
|
|
5864 | ac_check_lib_save_LIBS=$LIBS |
|
|
5865 | LIBS="-lm $LIBS" |
|
|
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 (); |
|
|
5884 | ; |
|
|
5885 | return 0; |
|
|
5886 | } |
|
|
5887 | _ACEOF |
|
|
5888 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5889 | if { (ac_try="$ac_link" |
|
|
5890 | case "(($ac_try" in |
|
|
5891 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5892 | *) ac_try_echo=$ac_try;; |
|
|
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 |
|
|
5912 | fi |
|
|
5913 | |
|
|
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 |
|
|
5918 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
|
|
5919 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
|
|
5920 | if test $ac_cv_lib_m_ceil = yes; then |
|
|
5921 | cat >>confdefs.h <<_ACEOF |
|
|
5922 | #define HAVE_LIBM 1 |
|
|
5923 | _ACEOF |
|
|
5924 | |
|
|
5925 | LIBS="-lm $LIBS" |
|
|
5926 | |
|
|
5927 | fi |
|
|
5928 | |
|
|
5929 | |
|
|
5930 | |
|
|
5931 | |
4877 | |
5932 | |
4878 | |
5933 | |
4879 | |
5934 | |
4880 | # 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. |
4881 | set dummy tic; ac_word=$2 |
5936 | set dummy tic; ac_word=$2 |
… | |
… | |
4902 | fi |
5957 | fi |
4903 | done |
5958 | done |
4904 | done |
5959 | done |
4905 | IFS=$as_save_IFS |
5960 | IFS=$as_save_IFS |
4906 | |
5961 | |
|
|
5962 | test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":" |
4907 | ;; |
5963 | ;; |
4908 | esac |
5964 | esac |
4909 | fi |
5965 | fi |
4910 | TIC=$ac_cv_path_TIC |
5966 | TIC=$ac_cv_path_TIC |
4911 | if test -n "$TIC"; then |
5967 | if test -n "$TIC"; then |
… | |
… | |
4914 | else |
5970 | else |
4915 | { echo "$as_me:$LINENO: result: no" >&5 |
5971 | { echo "$as_me:$LINENO: result: no" >&5 |
4916 | echo "${ECHO_T}no" >&6; } |
5972 | echo "${ECHO_T}no" >&6; } |
4917 | fi |
5973 | fi |
4918 | |
5974 | |
4919 | |
|
|
4920 | |
|
|
4921 | |
|
|
4922 | |
|
|
4923 | ac_ext=cpp |
|
|
4924 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4925 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4926 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4927 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4928 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4929 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4930 | if test -z "$CXXCPP"; then |
|
|
4931 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4933 | else |
|
|
4934 | # Double quotes because CXXCPP needs to be expanded |
|
|
4935 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4936 | do |
|
|
4937 | ac_preproc_ok=false |
|
|
4938 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4939 | do |
|
|
4940 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4941 | # with a fresh cross-compiler works. |
|
|
4942 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4943 | # <limits.h> exists even on freestanding compilers. |
|
|
4944 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4945 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4946 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4947 | /* confdefs.h. */ |
|
|
4948 | _ACEOF |
|
|
4949 | cat confdefs.h >>conftest.$ac_ext |
|
|
4950 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4951 | /* end confdefs.h. */ |
|
|
4952 | #ifdef __STDC__ |
|
|
4953 | # include <limits.h> |
|
|
4954 | #else |
|
|
4955 | # include <assert.h> |
|
|
4956 | #endif |
|
|
4957 | Syntax error |
|
|
4958 | _ACEOF |
|
|
4959 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4960 | case "(($ac_try" in |
|
|
4961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4962 | *) ac_try_echo=$ac_try;; |
|
|
4963 | esac |
|
|
4964 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4965 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4966 | ac_status=$? |
|
|
4967 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4968 | rm -f conftest.er1 |
|
|
4969 | cat conftest.err >&5 |
|
|
4970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4971 | (exit $ac_status); } >/dev/null && { |
|
|
4972 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4973 | test ! -s conftest.err |
|
|
4974 | }; then |
|
|
4975 | : |
|
|
4976 | else |
|
|
4977 | echo "$as_me: failed program was:" >&5 |
|
|
4978 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4979 | |
|
|
4980 | # Broken: fails on valid input. |
|
|
4981 | continue |
|
|
4982 | fi |
|
|
4983 | |
|
|
4984 | rm -f conftest.err conftest.$ac_ext |
|
|
4985 | |
|
|
4986 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4987 | # can be detected and how. |
|
|
4988 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4989 | /* confdefs.h. */ |
|
|
4990 | _ACEOF |
|
|
4991 | cat confdefs.h >>conftest.$ac_ext |
|
|
4992 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4993 | /* end confdefs.h. */ |
|
|
4994 | #include <ac_nonexistent.h> |
|
|
4995 | _ACEOF |
|
|
4996 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4997 | case "(($ac_try" in |
|
|
4998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4999 | *) ac_try_echo=$ac_try;; |
|
|
5000 | esac |
|
|
5001 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5002 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5003 | ac_status=$? |
|
|
5004 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5005 | rm -f conftest.er1 |
|
|
5006 | cat conftest.err >&5 |
|
|
5007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5008 | (exit $ac_status); } >/dev/null && { |
|
|
5009 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5010 | test ! -s conftest.err |
|
|
5011 | }; then |
|
|
5012 | # Broken: success on invalid input. |
|
|
5013 | continue |
|
|
5014 | else |
|
|
5015 | echo "$as_me: failed program was:" >&5 |
|
|
5016 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5017 | |
|
|
5018 | # Passes both tests. |
|
|
5019 | ac_preproc_ok=: |
|
|
5020 | break |
|
|
5021 | fi |
|
|
5022 | |
|
|
5023 | rm -f conftest.err conftest.$ac_ext |
|
|
5024 | |
|
|
5025 | done |
|
|
5026 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5027 | rm -f conftest.err conftest.$ac_ext |
|
|
5028 | if $ac_preproc_ok; then |
|
|
5029 | break |
|
|
5030 | fi |
|
|
5031 | |
|
|
5032 | done |
|
|
5033 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5034 | |
|
|
5035 | fi |
|
|
5036 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5037 | else |
|
|
5038 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5039 | fi |
|
|
5040 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5041 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5042 | ac_preproc_ok=false |
|
|
5043 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5044 | do |
|
|
5045 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5046 | # with a fresh cross-compiler works. |
|
|
5047 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5048 | # <limits.h> exists even on freestanding compilers. |
|
|
5049 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5050 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5051 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5052 | /* confdefs.h. */ |
|
|
5053 | _ACEOF |
|
|
5054 | cat confdefs.h >>conftest.$ac_ext |
|
|
5055 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5056 | /* end confdefs.h. */ |
|
|
5057 | #ifdef __STDC__ |
|
|
5058 | # include <limits.h> |
|
|
5059 | #else |
|
|
5060 | # include <assert.h> |
|
|
5061 | #endif |
|
|
5062 | Syntax error |
|
|
5063 | _ACEOF |
|
|
5064 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5065 | case "(($ac_try" in |
|
|
5066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5067 | *) ac_try_echo=$ac_try;; |
|
|
5068 | esac |
|
|
5069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5070 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5071 | ac_status=$? |
|
|
5072 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5073 | rm -f conftest.er1 |
|
|
5074 | cat conftest.err >&5 |
|
|
5075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5076 | (exit $ac_status); } >/dev/null && { |
|
|
5077 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5078 | test ! -s conftest.err |
|
|
5079 | }; then |
|
|
5080 | : |
|
|
5081 | else |
|
|
5082 | echo "$as_me: failed program was:" >&5 |
|
|
5083 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5084 | |
|
|
5085 | # Broken: fails on valid input. |
|
|
5086 | continue |
|
|
5087 | fi |
|
|
5088 | |
|
|
5089 | rm -f conftest.err conftest.$ac_ext |
|
|
5090 | |
|
|
5091 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5092 | # can be detected and how. |
|
|
5093 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5094 | /* confdefs.h. */ |
|
|
5095 | _ACEOF |
|
|
5096 | cat confdefs.h >>conftest.$ac_ext |
|
|
5097 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5098 | /* end confdefs.h. */ |
|
|
5099 | #include <ac_nonexistent.h> |
|
|
5100 | _ACEOF |
|
|
5101 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5102 | case "(($ac_try" in |
|
|
5103 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5104 | *) ac_try_echo=$ac_try;; |
|
|
5105 | esac |
|
|
5106 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5107 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5108 | ac_status=$? |
|
|
5109 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5110 | rm -f conftest.er1 |
|
|
5111 | cat conftest.err >&5 |
|
|
5112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5113 | (exit $ac_status); } >/dev/null && { |
|
|
5114 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5115 | test ! -s conftest.err |
|
|
5116 | }; then |
|
|
5117 | # Broken: success on invalid input. |
|
|
5118 | continue |
|
|
5119 | else |
|
|
5120 | echo "$as_me: failed program was:" >&5 |
|
|
5121 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5122 | |
|
|
5123 | # Passes both tests. |
|
|
5124 | ac_preproc_ok=: |
|
|
5125 | break |
|
|
5126 | fi |
|
|
5127 | |
|
|
5128 | rm -f conftest.err conftest.$ac_ext |
|
|
5129 | |
|
|
5130 | done |
|
|
5131 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5132 | rm -f conftest.err conftest.$ac_ext |
|
|
5133 | if $ac_preproc_ok; then |
|
|
5134 | : |
|
|
5135 | else |
|
|
5136 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5137 | See \`config.log' for more details." >&5 |
|
|
5138 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5139 | See \`config.log' for more details." >&2;} |
|
|
5140 | { (exit 1); exit 1; }; } |
|
|
5141 | fi |
|
|
5142 | |
|
|
5143 | ac_ext=cpp |
|
|
5144 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5145 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5146 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5147 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5148 | |
5975 | |
5149 | |
5976 | |
5150 | { echo "$as_me:$LINENO: checking for X" >&5 |
5977 | { echo "$as_me:$LINENO: checking for X" >&5 |
5151 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5978 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5152 | |
5979 | |
… | |
… | |
6460 | LDFLAGS=$ac_save_LDFLAGS |
7287 | LDFLAGS=$ac_save_LDFLAGS |
6461 | |
7288 | |
6462 | fi |
7289 | fi |
6463 | |
7290 | |
6464 | |
7291 | |
6465 | |
|
|
6466 | LIBAFTERIMAGE_CFLAGS= |
7292 | AFTERIMAGE_CFLAGS= |
6467 | AFTERIMAGE_LIBS= |
7293 | AFTERIMAGE_LIBS= |
6468 | have_afterimage= |
7294 | AFTERIMAGE_VERSION= |
6469 | |
7295 | |
6470 | if test x$support_afterimage = xyes; then |
7296 | if test x$support_afterimage = xyes; then |
6471 | support_afterimage=no |
7297 | support_afterimage=no |
6472 | |
7298 | |
6473 | if test "x$afterimage_config" = "x" ; then |
7299 | if test "x$afterimage_config" = "x" ; then |
… | |
… | |
6511 | echo "${ECHO_T}no" >&6; } |
7337 | echo "${ECHO_T}no" >&6; } |
6512 | fi |
7338 | fi |
6513 | |
7339 | |
6514 | |
7340 | |
6515 | fi |
7341 | fi |
6516 | |
7342 | if test "x$afterimage_config" != "xno" ; then |
6517 | { echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
7343 | { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5 |
6518 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6; } |
7344 | echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; } |
6519 | if $afterimage_config --version >/dev/null 2>&1 ; then |
7345 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
7346 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6520 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
7347 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6521 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
7348 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6522 | 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 |
6523 | support_afterimage=yes |
7353 | support_afterimage=yes |
6524 | fi |
7354 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
6525 | fi |
7355 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
6526 | |
7356 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
6527 | if test "x$support_afterimage" = "xyes"; then |
|
|
6528 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6529 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
6530 | else |
|
|
6531 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
6532 | echo "${ECHO_T}no" >&6; } |
|
|
6533 | fi |
|
|
6534 | fi |
|
|
6535 | |
|
|
6536 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
|
|
6537 | |
|
|
6538 | |
|
|
6539 | |
|
|
6540 | # Initialize some more variables set by options. |
|
|
6541 | # The variables have the same names as the options, with |
|
|
6542 | # dashes changed to underlines. |
|
|
6543 | |
|
|
6544 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
|
|
6545 | # paths, otherwise set no_xpm=yes. |
|
|
6546 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
6547 | { echo "$as_me:$LINENO: checking for libXpm" >&5 |
|
|
6548 | echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; } |
|
|
6549 | |
|
|
6550 | |
|
|
6551 | # Check whether --with-xpm_includes was given. |
|
|
6552 | if test "${with_xpm_includes+set}" = set; then |
|
|
6553 | withval=$with_xpm_includes; xpm_includes="$withval" |
|
|
6554 | else |
|
|
6555 | xpm_includes=NO |
|
|
6556 | fi |
|
|
6557 | |
|
|
6558 | |
|
|
6559 | # Check whether --with-xpm_library was given. |
|
|
6560 | if test "${with_xpm_library+set}" = set; then |
|
|
6561 | withval=$with_xpm_library; xpm_libraries="$withval" |
|
|
6562 | else |
|
|
6563 | xpm_libraries=NO |
|
|
6564 | fi |
|
|
6565 | |
|
|
6566 | |
|
|
6567 | # --without-xpm overrides everything else, but does not touch the cache. |
|
|
6568 | |
|
|
6569 | # Check whether --with-xpm was given. |
|
|
6570 | if test "${with_xpm+set}" = set; then |
|
|
6571 | withval=$with_xpm; |
|
|
6572 | fi |
|
|
6573 | |
|
|
6574 | if test "$with_xpm" = no; then |
|
|
6575 | have_xpm=disabled |
|
|
6576 | else |
|
|
6577 | if test "${ac_cv_have_xpm+set}" = set; then |
|
|
6578 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6579 | else |
|
|
6580 | |
|
|
6581 | vt_xpm_include_X11=no |
|
|
6582 | if test -n "$xpm_includes"; then |
|
|
6583 | vt_xpm_includes=$xpm_includes |
|
|
6584 | else |
|
|
6585 | vt_xpm_includes=NO |
|
|
6586 | fi |
|
|
6587 | if test -n "$xpm_libraries"; then |
|
|
6588 | vt_xpm_libraries=$xpm_libraries |
|
|
6589 | else |
|
|
6590 | vt_xpm_libraries=NO |
|
|
6591 | fi |
|
|
6592 | |
|
|
6593 | if test "$vt_xpm_includes" = NO; then |
|
|
6594 | # Guess where to find xpm.h |
|
|
6595 | |
|
|
6596 | ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
6597 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
|
|
6598 | |
|
|
6599 | # First, try using that file with no special directory specified. |
|
|
6600 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6601 | /* confdefs.h. */ |
|
|
6602 | _ACEOF |
|
|
6603 | cat confdefs.h >>conftest.$ac_ext |
|
|
6604 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6605 | /* end confdefs.h. */ |
|
|
6606 | #include <X11/xpm.h> |
|
|
6607 | _ACEOF |
|
|
6608 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6609 | case "(($ac_try" in |
|
|
6610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6611 | *) ac_try_echo=$ac_try;; |
|
|
6612 | esac |
|
|
6613 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6614 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6615 | ac_status=$? |
|
|
6616 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6617 | rm -f conftest.er1 |
|
|
6618 | cat conftest.err >&5 |
|
|
6619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6620 | (exit $ac_status); } >/dev/null && { |
|
|
6621 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6622 | test ! -s conftest.err |
|
|
6623 | }; then |
|
|
6624 | # We can compile using X headers with no special include directory. |
|
|
6625 | vt_xpm_includes= |
|
|
6626 | vt_xpm_include_X11=yes |
|
|
6627 | else |
|
|
6628 | echo "$as_me: failed program was:" >&5 |
|
|
6629 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6630 | |
|
|
6631 | CPPFLAGS="$ac_save_CPPFLAGS" |
|
|
6632 | # Look for the header file in a standard set of common directories. |
|
|
6633 | for ac_dir in \ |
|
|
6634 | /usr/X11/include \ |
|
|
6635 | /usr/X11R6/include \ |
|
|
6636 | /usr/X11R5/include \ |
|
|
6637 | /usr/X11R4/include \ |
|
|
6638 | \ |
|
|
6639 | /usr/include/X11 \ |
|
|
6640 | /usr/include/X11R6 \ |
|
|
6641 | /usr/include/X11R5 \ |
|
|
6642 | /usr/include/X11R4 \ |
|
|
6643 | \ |
|
|
6644 | /usr/local/X11/include \ |
|
|
6645 | /usr/local/X11R6/include \ |
|
|
6646 | /usr/local/X11R5/include \ |
|
|
6647 | /usr/local/X11R4/include \ |
|
|
6648 | \ |
|
|
6649 | /usr/local/include/X11 \ |
|
|
6650 | /usr/local/include/X11R6 \ |
|
|
6651 | /usr/local/include/X11R5 \ |
|
|
6652 | /usr/local/include/X11R4 \ |
|
|
6653 | \ |
|
|
6654 | /usr/X386/include \ |
|
|
6655 | /usr/x386/include \ |
|
|
6656 | /usr/XFree86/include/X11 \ |
|
|
6657 | \ |
|
|
6658 | /usr/include \ |
|
|
6659 | /usr/local/include \ |
|
|
6660 | /usr/unsupported/include \ |
|
|
6661 | /usr/athena/include \ |
|
|
6662 | /usr/local/x11r5/include \ |
|
|
6663 | /usr/lpp/Xamples/include \ |
|
|
6664 | \ |
|
|
6665 | /usr/openwin/include \ |
|
|
6666 | /usr/openwin/share/include \ |
|
|
6667 | ; \ |
|
|
6668 | do |
|
|
6669 | if test -r "$ac_dir/X11/xpm.h"; then |
|
|
6670 | vt_xpm_includes="$ac_dir" |
|
|
6671 | vt_xpm_include_X11=yes |
|
|
6672 | break |
|
|
6673 | else |
|
|
6674 | if test -r "$ac_dir/xpm.h"; then |
|
|
6675 | vt_xpm_includes=$ac_dir |
|
|
6676 | break |
|
|
6677 | fi |
|
|
6678 | fi |
|
|
6679 | done |
|
|
6680 | fi |
|
|
6681 | |
|
|
6682 | rm -f conftest.err conftest.$ac_ext |
|
|
6683 | fi |
|
|
6684 | |
|
|
6685 | if test "$vt_xpm_libraries" = NO; then |
|
|
6686 | # Check for the libraries. |
|
|
6687 | |
|
|
6688 | # See if we find them without any special options. |
|
|
6689 | # Don't add to $LIBS permanently. |
|
|
6690 | ac_save_LIBS="$LIBS" |
|
|
6691 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
|
|
6692 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6693 | /* confdefs.h. */ |
|
|
6694 | _ACEOF |
|
|
6695 | cat confdefs.h >>conftest.$ac_ext |
|
|
6696 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6697 | /* end confdefs.h. */ |
|
|
6698 | |
|
|
6699 | int |
|
|
6700 | main () |
|
|
6701 | { |
|
|
6702 | XpmReadFileToPixmap() |
|
|
6703 | ; |
|
|
6704 | return 0; |
|
|
6705 | } |
|
|
6706 | _ACEOF |
|
|
6707 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6708 | if { (ac_try="$ac_link" |
|
|
6709 | case "(($ac_try" in |
|
|
6710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6711 | *) ac_try_echo=$ac_try;; |
|
|
6712 | esac |
|
|
6713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6714 | (eval "$ac_link") 2>conftest.er1 |
|
|
6715 | ac_status=$? |
|
|
6716 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6717 | rm -f conftest.er1 |
|
|
6718 | cat conftest.err >&5 |
|
|
6719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6720 | (exit $ac_status); } && { |
|
|
6721 | test -z "$ac_cxx_werror_flag" || |
|
|
6722 | test ! -s conftest.err |
|
|
6723 | } && test -s conftest$ac_exeext && |
|
|
6724 | $as_test_x conftest$ac_exeext; then |
|
|
6725 | LIBS="$ac_save_LIBS" |
|
|
6726 | # We can link libXpm with no special library path. |
|
|
6727 | vt_xpm_libraries= |
|
|
6728 | else |
|
|
6729 | echo "$as_me: failed program was:" >&5 |
|
|
6730 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6731 | |
|
|
6732 | LIBS="$ac_save_LIBS" |
|
|
6733 | # First see if replacing the include by lib works. |
|
|
6734 | for ac_dir in \ |
|
|
6735 | `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ |
|
|
6736 | /usr/X11/lib \ |
|
|
6737 | /usr/X11R6/lib \ |
|
|
6738 | /usr/X11R5/lib \ |
|
|
6739 | /usr/X11R4/lib \ |
|
|
6740 | \ |
|
|
6741 | /usr/lib/X11 \ |
|
|
6742 | /usr/lib/X11R6 \ |
|
|
6743 | /usr/lib/X11R5 \ |
|
|
6744 | /usr/lib/X11R4 \ |
|
|
6745 | \ |
|
|
6746 | /usr/local/X11/lib \ |
|
|
6747 | /usr/local/X11R6/lib \ |
|
|
6748 | /usr/local/X11R5/lib \ |
|
|
6749 | /usr/local/X11R4/lib \ |
|
|
6750 | \ |
|
|
6751 | /usr/local/lib/X11 \ |
|
|
6752 | /usr/local/lib/X11R6 \ |
|
|
6753 | /usr/local/lib/X11R5 \ |
|
|
6754 | /usr/local/lib/X11R4 \ |
|
|
6755 | \ |
|
|
6756 | /usr/X386/lib \ |
|
|
6757 | /usr/x386/lib \ |
|
|
6758 | /usr/XFree86/lib/X11 \ |
|
|
6759 | \ |
|
|
6760 | /usr/lib \ |
|
|
6761 | /usr/local/lib \ |
|
|
6762 | /usr/unsupported/lib \ |
|
|
6763 | /usr/athena/lib \ |
|
|
6764 | /usr/local/x11r5/lib \ |
|
|
6765 | /usr/lpp/Xamples/lib \ |
|
|
6766 | \ |
|
|
6767 | /usr/openwin/lib \ |
|
|
6768 | /usr/openwin/share/lib \ |
|
|
6769 | ; \ |
|
|
6770 | do |
|
|
6771 | for ac_extension in a so sl; do |
|
|
6772 | if test -r $ac_dir/libXpm.$ac_extension; then |
|
|
6773 | vt_xpm_libraries=$ac_dir |
|
|
6774 | break 2 |
|
|
6775 | fi |
|
|
6776 | done |
|
|
6777 | done |
|
|
6778 | fi |
|
|
6779 | |
|
|
6780 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6781 | conftest$ac_exeext conftest.$ac_ext |
|
|
6782 | fi |
|
|
6783 | |
|
|
6784 | |
|
|
6785 | if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then |
|
|
6786 | ac_cv_have_xpm="have_xpm=no" |
|
|
6787 | else |
|
|
6788 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6789 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6790 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6791 | fi |
|
|
6792 | fi |
|
|
6793 | eval "$ac_cv_have_xpm" |
|
|
6794 | fi |
|
|
6795 | |
|
|
6796 | if test "$have_xpm" != yes; then |
|
|
6797 | { echo "$as_me:$LINENO: result: $have_xpm" >&5 |
|
|
6798 | echo "${ECHO_T}$have_xpm" >&6; } |
|
|
6799 | no_xpm=yes |
|
|
6800 | else |
|
|
6801 | if test "$xpm_includes" != NO; then |
|
|
6802 | if test "$xpm_includes" = "$vt_xpm_includes"; then |
|
|
6803 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6804 | vt_xpm_include_X11=yes |
|
|
6805 | fi |
|
|
6806 | else |
|
|
6807 | vt_xpm_include_X11=no |
|
|
6808 | if test -z "$xpm_includes"; then |
|
|
6809 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6810 | /* confdefs.h. */ |
|
|
6811 | _ACEOF |
|
|
6812 | cat confdefs.h >>conftest.$ac_ext |
|
|
6813 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6814 | /* end confdefs.h. */ |
|
|
6815 | #include <X11/xpm.h> |
|
|
6816 | _ACEOF |
|
|
6817 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6818 | case "(($ac_try" in |
|
|
6819 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6820 | *) ac_try_echo=$ac_try;; |
|
|
6821 | esac |
|
|
6822 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6823 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6824 | ac_status=$? |
|
|
6825 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6826 | rm -f conftest.er1 |
|
|
6827 | cat conftest.err >&5 |
|
|
6828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6829 | (exit $ac_status); } >/dev/null && { |
|
|
6830 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6831 | test ! -s conftest.err |
|
|
6832 | }; then |
|
|
6833 | vt_xpm_include_X11=yes |
|
|
6834 | else |
|
|
6835 | echo "$as_me: failed program was:" >&5 |
|
|
6836 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6837 | |
|
|
6838 | |
|
|
6839 | fi |
|
|
6840 | |
|
|
6841 | rm -f conftest.err conftest.$ac_ext |
|
|
6842 | else |
|
|
6843 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6844 | vt_xpm_include_X11=yes |
|
|
6845 | fi |
7357 | fi |
6846 | fi |
7358 | fi |
6847 | fi |
7359 | fi |
6848 | 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 |
6849 | fi |
7367 | fi |
6850 | if test "x$xpm_libraries" != xNO; then |
|
|
6851 | vt_xpm_libraries=$xpm_libraries |
|
|
6852 | fi |
|
|
6853 | # Update the cache value to reflect the command line values. |
|
|
6854 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6855 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6856 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6857 | eval "$ac_cv_have_xpm" |
|
|
6858 | { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5 |
|
|
6859 | echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; } |
|
|
6860 | if test -n "$vt_xpm_includes"; then |
|
|
6861 | XPM_CPPFLAGS="-DHAVE_LIBXPM" |
|
|
6862 | fi |
|
|
6863 | if test -n "$vt_xpm_includes"; then |
|
|
6864 | XPM_CFLAGS="-I$vt_xpm_includes" |
|
|
6865 | fi |
|
|
6866 | XPM_LIBS="-lXpm" |
|
|
6867 | if test -n "$vt_xpm_libraries"; then |
|
|
6868 | XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS" |
|
|
6869 | fi |
|
|
6870 | if test "x$vt_xpm_include_X11" = xyes; then |
|
|
6871 | |
|
|
6872 | cat >>confdefs.h <<\_ACEOF |
|
|
6873 | #define XPM_INC_X11 1 |
|
|
6874 | _ACEOF |
|
|
6875 | |
|
|
6876 | fi |
|
|
6877 | fi |
7368 | fi |
6878 | |
|
|
6879 | |
|
|
6880 | |
|
|
6881 | |
|
|
6882 | |
|
|
6883 | if test x$no_xpm = xyes; then |
|
|
6884 | support_xpm=needsmanualspecification |
|
|
6885 | fi |
|
|
6886 | fi |
|
|
6887 | |
|
|
6888 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
|
|
6889 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
|
|
6890 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
|
|
6891 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6892 | else |
|
|
6893 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6894 | /* confdefs.h. */ |
|
|
6895 | _ACEOF |
|
|
6896 | cat confdefs.h >>conftest.$ac_ext |
|
|
6897 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6898 | /* end confdefs.h. */ |
|
|
6899 | #include <sys/types.h> |
|
|
6900 | #include <sys/wait.h> |
|
|
6901 | #ifndef WEXITSTATUS |
|
|
6902 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
|
|
6903 | #endif |
|
|
6904 | #ifndef WIFEXITED |
|
|
6905 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
|
|
6906 | #endif |
|
|
6907 | |
|
|
6908 | int |
|
|
6909 | main () |
|
|
6910 | { |
|
|
6911 | int s; |
|
|
6912 | wait (&s); |
|
|
6913 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
|
|
6914 | ; |
|
|
6915 | return 0; |
|
|
6916 | } |
|
|
6917 | _ACEOF |
|
|
6918 | rm -f conftest.$ac_objext |
|
|
6919 | if { (ac_try="$ac_compile" |
|
|
6920 | case "(($ac_try" in |
|
|
6921 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6922 | *) ac_try_echo=$ac_try;; |
|
|
6923 | esac |
|
|
6924 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6925 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6926 | ac_status=$? |
|
|
6927 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6928 | rm -f conftest.er1 |
|
|
6929 | cat conftest.err >&5 |
|
|
6930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6931 | (exit $ac_status); } && { |
|
|
6932 | test -z "$ac_cxx_werror_flag" || |
|
|
6933 | test ! -s conftest.err |
|
|
6934 | } && test -s conftest.$ac_objext; then |
|
|
6935 | ac_cv_header_sys_wait_h=yes |
|
|
6936 | else |
|
|
6937 | echo "$as_me: failed program was:" >&5 |
|
|
6938 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6939 | |
|
|
6940 | ac_cv_header_sys_wait_h=no |
|
|
6941 | fi |
|
|
6942 | |
|
|
6943 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6944 | fi |
|
|
6945 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
|
|
6946 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
|
|
6947 | if test $ac_cv_header_sys_wait_h = yes; then |
|
|
6948 | |
|
|
6949 | cat >>confdefs.h <<\_ACEOF |
|
|
6950 | #define HAVE_SYS_WAIT_H 1 |
|
|
6951 | _ACEOF |
|
|
6952 | |
|
|
6953 | fi |
|
|
6954 | |
|
|
6955 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
6956 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
6957 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
6958 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6959 | else |
|
|
6960 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6961 | /* confdefs.h. */ |
|
|
6962 | _ACEOF |
|
|
6963 | cat confdefs.h >>conftest.$ac_ext |
|
|
6964 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6965 | /* end confdefs.h. */ |
|
|
6966 | #include <stdlib.h> |
|
|
6967 | #include <stdarg.h> |
|
|
6968 | #include <string.h> |
|
|
6969 | #include <float.h> |
|
|
6970 | |
|
|
6971 | int |
|
|
6972 | main () |
|
|
6973 | { |
|
|
6974 | |
|
|
6975 | ; |
|
|
6976 | return 0; |
|
|
6977 | } |
|
|
6978 | _ACEOF |
|
|
6979 | rm -f conftest.$ac_objext |
|
|
6980 | if { (ac_try="$ac_compile" |
|
|
6981 | case "(($ac_try" in |
|
|
6982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6983 | *) ac_try_echo=$ac_try;; |
|
|
6984 | esac |
|
|
6985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6986 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6987 | ac_status=$? |
|
|
6988 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6989 | rm -f conftest.er1 |
|
|
6990 | cat conftest.err >&5 |
|
|
6991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6992 | (exit $ac_status); } && { |
|
|
6993 | test -z "$ac_cxx_werror_flag" || |
|
|
6994 | test ! -s conftest.err |
|
|
6995 | } && test -s conftest.$ac_objext; then |
|
|
6996 | ac_cv_header_stdc=yes |
|
|
6997 | else |
|
|
6998 | echo "$as_me: failed program was:" >&5 |
|
|
6999 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7000 | |
|
|
7001 | ac_cv_header_stdc=no |
|
|
7002 | fi |
|
|
7003 | |
|
|
7004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7005 | |
|
|
7006 | if test $ac_cv_header_stdc = yes; then |
|
|
7007 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7008 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7009 | /* confdefs.h. */ |
|
|
7010 | _ACEOF |
|
|
7011 | cat confdefs.h >>conftest.$ac_ext |
|
|
7012 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7013 | /* end confdefs.h. */ |
|
|
7014 | #include <string.h> |
|
|
7015 | |
|
|
7016 | _ACEOF |
|
|
7017 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7018 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
7019 | : |
|
|
7020 | else |
|
|
7021 | ac_cv_header_stdc=no |
|
|
7022 | fi |
|
|
7023 | rm -f conftest* |
|
|
7024 | |
|
|
7025 | fi |
|
|
7026 | |
|
|
7027 | if test $ac_cv_header_stdc = yes; then |
|
|
7028 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7029 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7030 | /* confdefs.h. */ |
|
|
7031 | _ACEOF |
|
|
7032 | cat confdefs.h >>conftest.$ac_ext |
|
|
7033 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7034 | /* end confdefs.h. */ |
|
|
7035 | #include <stdlib.h> |
|
|
7036 | |
|
|
7037 | _ACEOF |
|
|
7038 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7039 | $EGREP "free" >/dev/null 2>&1; then |
|
|
7040 | : |
|
|
7041 | else |
|
|
7042 | ac_cv_header_stdc=no |
|
|
7043 | fi |
|
|
7044 | rm -f conftest* |
|
|
7045 | |
|
|
7046 | fi |
|
|
7047 | |
|
|
7048 | if test $ac_cv_header_stdc = yes; then |
|
|
7049 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7050 | if test "$cross_compiling" = yes; then |
|
|
7051 | : |
|
|
7052 | else |
|
|
7053 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7054 | /* confdefs.h. */ |
|
|
7055 | _ACEOF |
|
|
7056 | cat confdefs.h >>conftest.$ac_ext |
|
|
7057 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7058 | /* end confdefs.h. */ |
|
|
7059 | #include <ctype.h> |
|
|
7060 | #include <stdlib.h> |
|
|
7061 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7062 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7063 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7064 | #else |
|
|
7065 | # define ISLOWER(c) \ |
|
|
7066 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7067 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7068 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7069 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7070 | #endif |
|
|
7071 | |
|
|
7072 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7073 | int |
|
|
7074 | main () |
|
|
7075 | { |
|
|
7076 | int i; |
|
|
7077 | for (i = 0; i < 256; i++) |
|
|
7078 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7079 | || toupper (i) != TOUPPER (i)) |
|
|
7080 | return 2; |
|
|
7081 | return 0; |
|
|
7082 | } |
|
|
7083 | _ACEOF |
|
|
7084 | rm -f conftest$ac_exeext |
|
|
7085 | if { (ac_try="$ac_link" |
|
|
7086 | case "(($ac_try" in |
|
|
7087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7088 | *) ac_try_echo=$ac_try;; |
|
|
7089 | esac |
|
|
7090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7091 | (eval "$ac_link") 2>&5 |
|
|
7092 | ac_status=$? |
|
|
7093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7094 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7095 | { (case "(($ac_try" in |
|
|
7096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7097 | *) ac_try_echo=$ac_try;; |
|
|
7098 | esac |
|
|
7099 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7100 | (eval "$ac_try") 2>&5 |
|
|
7101 | ac_status=$? |
|
|
7102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7103 | (exit $ac_status); }; }; then |
|
|
7104 | : |
|
|
7105 | else |
|
|
7106 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7107 | echo "$as_me: failed program was:" >&5 |
|
|
7108 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7109 | |
|
|
7110 | ( exit $ac_status ) |
|
|
7111 | ac_cv_header_stdc=no |
|
|
7112 | fi |
|
|
7113 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7114 | fi |
|
|
7115 | |
|
|
7116 | |
|
|
7117 | fi |
|
|
7118 | fi |
|
|
7119 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
7120 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
7121 | if test $ac_cv_header_stdc = yes; then |
|
|
7122 | |
|
|
7123 | cat >>confdefs.h <<\_ACEOF |
|
|
7124 | #define STDC_HEADERS 1 |
|
|
7125 | _ACEOF |
|
|
7126 | |
|
|
7127 | fi |
|
|
7128 | |
|
|
7129 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
7130 | |
|
|
7131 | |
|
|
7132 | |
|
|
7133 | |
|
|
7134 | |
|
|
7135 | |
|
|
7136 | |
|
|
7137 | |
|
|
7138 | |
|
|
7139 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
7140 | inttypes.h stdint.h unistd.h |
|
|
7141 | do |
|
|
7142 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7143 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
7144 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
7145 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
7146 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7147 | else |
|
|
7148 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7149 | /* confdefs.h. */ |
|
|
7150 | _ACEOF |
|
|
7151 | cat confdefs.h >>conftest.$ac_ext |
|
|
7152 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7153 | /* end confdefs.h. */ |
|
|
7154 | $ac_includes_default |
|
|
7155 | |
|
|
7156 | #include <$ac_header> |
|
|
7157 | _ACEOF |
|
|
7158 | rm -f conftest.$ac_objext |
|
|
7159 | if { (ac_try="$ac_compile" |
|
|
7160 | case "(($ac_try" in |
|
|
7161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7162 | *) ac_try_echo=$ac_try;; |
|
|
7163 | esac |
|
|
7164 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7165 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7166 | ac_status=$? |
|
|
7167 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7168 | rm -f conftest.er1 |
|
|
7169 | cat conftest.err >&5 |
|
|
7170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7171 | (exit $ac_status); } && { |
|
|
7172 | test -z "$ac_cxx_werror_flag" || |
|
|
7173 | test ! -s conftest.err |
|
|
7174 | } && test -s conftest.$ac_objext; then |
|
|
7175 | eval "$as_ac_Header=yes" |
|
|
7176 | else |
|
|
7177 | echo "$as_me: failed program was:" >&5 |
|
|
7178 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7179 | |
|
|
7180 | eval "$as_ac_Header=no" |
|
|
7181 | fi |
|
|
7182 | |
|
|
7183 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7184 | fi |
|
|
7185 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
7186 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
7187 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
7188 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
7189 | cat >>confdefs.h <<_ACEOF |
|
|
7190 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7191 | _ACEOF |
|
|
7192 | |
|
|
7193 | fi |
|
|
7194 | |
|
|
7195 | done |
|
|
7196 | |
|
|
7197 | |
7369 | |
7198 | |
7370 | |
7199 | |
7371 | |
7200 | |
7372 | |
7201 | |
7373 | |
… | |
… | |
7368 | fi |
7540 | fi |
7369 | |
7541 | |
7370 | done |
7542 | done |
7371 | |
7543 | |
7372 | |
7544 | |
7373 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
7374 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
|
|
7375 | if test "${ac_cv_header_time+set}" = set; then |
|
|
7376 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7377 | else |
|
|
7378 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7379 | /* confdefs.h. */ |
|
|
7380 | _ACEOF |
|
|
7381 | cat confdefs.h >>conftest.$ac_ext |
|
|
7382 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7383 | /* end confdefs.h. */ |
|
|
7384 | #include <sys/types.h> |
|
|
7385 | #include <sys/time.h> |
|
|
7386 | #include <time.h> |
|
|
7387 | |
|
|
7388 | int |
|
|
7389 | main () |
|
|
7390 | { |
|
|
7391 | if ((struct tm *) 0) |
|
|
7392 | return 0; |
|
|
7393 | ; |
|
|
7394 | return 0; |
|
|
7395 | } |
|
|
7396 | _ACEOF |
|
|
7397 | rm -f conftest.$ac_objext |
|
|
7398 | if { (ac_try="$ac_compile" |
|
|
7399 | case "(($ac_try" in |
|
|
7400 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7401 | *) ac_try_echo=$ac_try;; |
|
|
7402 | esac |
|
|
7403 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7404 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7405 | ac_status=$? |
|
|
7406 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7407 | rm -f conftest.er1 |
|
|
7408 | cat conftest.err >&5 |
|
|
7409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7410 | (exit $ac_status); } && { |
|
|
7411 | test -z "$ac_cxx_werror_flag" || |
|
|
7412 | test ! -s conftest.err |
|
|
7413 | } && test -s conftest.$ac_objext; then |
|
|
7414 | ac_cv_header_time=yes |
|
|
7415 | else |
|
|
7416 | echo "$as_me: failed program was:" >&5 |
|
|
7417 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7418 | |
|
|
7419 | ac_cv_header_time=no |
|
|
7420 | fi |
|
|
7421 | |
|
|
7422 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7423 | fi |
|
|
7424 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
|
|
7425 | echo "${ECHO_T}$ac_cv_header_time" >&6; } |
|
|
7426 | if test $ac_cv_header_time = yes; then |
|
|
7427 | |
|
|
7428 | cat >>confdefs.h <<\_ACEOF |
|
|
7429 | #define TIME_WITH_SYS_TIME 1 |
|
|
7430 | _ACEOF |
|
|
7431 | |
|
|
7432 | fi |
|
|
7433 | |
|
|
7434 | |
|
|
7435 | { 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 |
7436 | 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; } |
7437 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7547 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7438 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7439 | else |
7549 | else |
… | |
… | |
7484 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7594 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7485 | fi |
7595 | fi |
7486 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7596 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
7487 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7597 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
7488 | |
7598 | |
7489 | if test -n "$GCC"; then |
|
|
7490 | LDARG="-Wl," |
|
|
7491 | else |
|
|
7492 | LDARG="" |
|
|
7493 | fi |
|
|
7494 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g' |
|
|
7495 | |
|
|
7496 | ac_save_CFLAGS=$CFLAGS |
|
|
7497 | ac_save_LIBS=$LIBS |
|
|
7498 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
7499 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7500 | { echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
|
|
7501 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6; } |
|
|
7502 | if test "${rxvt_cv_rpath+set}" = set; then |
|
|
7503 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7504 | else |
|
|
7505 | if test "$cross_compiling" = yes; then |
|
|
7506 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
|
|
7507 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
|
|
7508 | else |
|
|
7509 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7510 | /* confdefs.h. */ |
|
|
7511 | _ACEOF |
|
|
7512 | cat confdefs.h >>conftest.$ac_ext |
|
|
7513 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7514 | /* end confdefs.h. */ |
|
|
7515 | #include <X11/Xlib.h> |
|
|
7516 | #include <stdlib.h> |
|
|
7517 | main() |
|
|
7518 | { |
|
|
7519 | exit(0); |
|
|
7520 | (void) XOpenDisplay("foobar"); |
|
|
7521 | } |
|
|
7522 | _ACEOF |
|
|
7523 | rm -f conftest$ac_exeext |
|
|
7524 | if { (ac_try="$ac_link" |
|
|
7525 | case "(($ac_try" in |
|
|
7526 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7527 | *) ac_try_echo=$ac_try;; |
|
|
7528 | esac |
|
|
7529 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7530 | (eval "$ac_link") 2>&5 |
|
|
7531 | ac_status=$? |
|
|
7532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7533 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7534 | { (case "(($ac_try" in |
|
|
7535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7536 | *) ac_try_echo=$ac_try;; |
|
|
7537 | esac |
|
|
7538 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7539 | (eval "$ac_try") 2>&5 |
|
|
7540 | ac_status=$? |
|
|
7541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7542 | (exit $ac_status); }; }; then |
|
|
7543 | rxvt_cv_rpath=yes |
|
|
7544 | else |
|
|
7545 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7546 | echo "$as_me: failed program was:" >&5 |
|
|
7547 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7548 | |
|
|
7549 | ( exit $ac_status ) |
|
|
7550 | rxvt_cv_rpath=no |
|
|
7551 | fi |
|
|
7552 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7553 | fi |
|
|
7554 | |
|
|
7555 | |
|
|
7556 | fi |
|
|
7557 | { echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
|
|
7558 | echo "${ECHO_T}$rxvt_cv_rpath" >&6; } |
|
|
7559 | if test x$rxvt_cv_rpath != xyes; then |
|
|
7560 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
|
|
7561 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7562 | { echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
|
|
7563 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6; } |
|
|
7564 | if test "${rxvt_cv_R+set}" = set; then |
|
|
7565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7566 | else |
|
|
7567 | if test "$cross_compiling" = yes; then |
|
|
7568 | rxvt_cv_R=no |
|
|
7569 | else |
|
|
7570 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7571 | /* confdefs.h. */ |
|
|
7572 | _ACEOF |
|
|
7573 | cat confdefs.h >>conftest.$ac_ext |
|
|
7574 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7575 | /* end confdefs.h. */ |
|
|
7576 | #include <X11/Xlib.h> |
|
|
7577 | #include <stdlib.h> |
|
|
7578 | main() |
|
|
7579 | { |
|
|
7580 | exit(0); |
|
|
7581 | (void) XOpenDisplay("foobar"); |
|
|
7582 | } |
|
|
7583 | _ACEOF |
|
|
7584 | rm -f conftest$ac_exeext |
|
|
7585 | if { (ac_try="$ac_link" |
|
|
7586 | case "(($ac_try" in |
|
|
7587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7588 | *) ac_try_echo=$ac_try;; |
|
|
7589 | esac |
|
|
7590 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7591 | (eval "$ac_link") 2>&5 |
|
|
7592 | ac_status=$? |
|
|
7593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7594 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7595 | { (case "(($ac_try" in |
|
|
7596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7597 | *) ac_try_echo=$ac_try;; |
|
|
7598 | esac |
|
|
7599 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7600 | (eval "$ac_try") 2>&5 |
|
|
7601 | ac_status=$? |
|
|
7602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7603 | (exit $ac_status); }; }; then |
|
|
7604 | rxvt_cv_R=yes |
|
|
7605 | else |
|
|
7606 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7607 | echo "$as_me: failed program was:" >&5 |
|
|
7608 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7609 | |
|
|
7610 | ( exit $ac_status ) |
|
|
7611 | rxvt_cv_R=no |
|
|
7612 | fi |
|
|
7613 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7614 | fi |
|
|
7615 | |
|
|
7616 | |
|
|
7617 | fi |
|
|
7618 | { echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
|
|
7619 | echo "${ECHO_T}$rxvt_cv_R" >&6; } |
|
|
7620 | if test x$rxvt_cv_R != xyes; then |
|
|
7621 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
7622 | fi |
|
|
7623 | fi |
|
|
7624 | |
|
|
7625 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7599 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7626 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7600 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7627 | if test "${rxvt_cv_xpointer+set}" = set; then |
7601 | if test "${rxvt_cv_xpointer+set}" = set; then |
7628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7602 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7629 | else |
7603 | else |
… | |
… | |
7676 | cat >>confdefs.h <<\_ACEOF |
7650 | cat >>confdefs.h <<\_ACEOF |
7677 | #define HAVE_XPOINTER 1 |
7651 | #define HAVE_XPOINTER 1 |
7678 | _ACEOF |
7652 | _ACEOF |
7679 | |
7653 | |
7680 | fi |
7654 | fi |
7681 | LIBS=$ac_save_LIBS |
|
|
7682 | CFLAGS=$ac_save_CFLAGS |
|
|
7683 | |
7655 | |
7684 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7656 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7685 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7657 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7686 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7658 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7687 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7659 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7742 | cat >>confdefs.h <<\_ACEOF |
7714 | cat >>confdefs.h <<\_ACEOF |
7743 | #define XLIB_ILLEGAL_ACCESS 1 |
7715 | #define XLIB_ILLEGAL_ACCESS 1 |
7744 | _ACEOF |
7716 | _ACEOF |
7745 | |
7717 | |
7746 | fi |
7718 | fi |
7747 | |
|
|
7748 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
|
|
7749 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
|
|
7750 | if test "${ac_cv_c_const+set}" = set; then |
|
|
7751 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7752 | else |
|
|
7753 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7754 | /* confdefs.h. */ |
|
|
7755 | _ACEOF |
|
|
7756 | cat confdefs.h >>conftest.$ac_ext |
|
|
7757 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7758 | /* end confdefs.h. */ |
|
|
7759 | |
|
|
7760 | int |
|
|
7761 | main () |
|
|
7762 | { |
|
|
7763 | /* FIXME: Include the comments suggested by Paul. */ |
|
|
7764 | #ifndef __cplusplus |
|
|
7765 | /* Ultrix mips cc rejects this. */ |
|
|
7766 | typedef int charset[2]; |
|
|
7767 | const charset cs; |
|
|
7768 | /* SunOS 4.1.1 cc rejects this. */ |
|
|
7769 | char const *const *pcpcc; |
|
|
7770 | char **ppc; |
|
|
7771 | /* NEC SVR4.0.2 mips cc rejects this. */ |
|
|
7772 | struct point {int x, y;}; |
|
|
7773 | static struct point const zero = {0,0}; |
|
|
7774 | /* AIX XL C 1.02.0.0 rejects this. |
|
|
7775 | It does not let you subtract one const X* pointer from another in |
|
|
7776 | an arm of an if-expression whose if-part is not a constant |
|
|
7777 | expression */ |
|
|
7778 | const char *g = "string"; |
|
|
7779 | pcpcc = &g + (g ? g-g : 0); |
|
|
7780 | /* HPUX 7.0 cc rejects these. */ |
|
|
7781 | ++pcpcc; |
|
|
7782 | ppc = (char**) pcpcc; |
|
|
7783 | pcpcc = (char const *const *) ppc; |
|
|
7784 | { /* SCO 3.2v4 cc rejects this. */ |
|
|
7785 | char *t; |
|
|
7786 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
7787 | |
|
|
7788 | *t++ = 0; |
|
|
7789 | if (s) return 0; |
|
|
7790 | } |
|
|
7791 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
|
7792 | int x[] = {25, 17}; |
|
|
7793 | const int *foo = &x[0]; |
|
|
7794 | ++foo; |
|
|
7795 | } |
|
|
7796 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
|
7797 | typedef const int *iptr; |
|
|
7798 | iptr p = 0; |
|
|
7799 | ++p; |
|
|
7800 | } |
|
|
7801 | { /* AIX XL C 1.02.0.0 rejects this saying |
|
|
7802 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
7803 | struct s { int j; const int *ap[3]; }; |
|
|
7804 | struct s *b; b->j = 5; |
|
|
7805 | } |
|
|
7806 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
7807 | const int foo = 10; |
|
|
7808 | if (!foo) return 0; |
|
|
7809 | } |
|
|
7810 | return !cs[0] && !zero.x; |
|
|
7811 | #endif |
|
|
7812 | |
|
|
7813 | ; |
|
|
7814 | return 0; |
|
|
7815 | } |
|
|
7816 | _ACEOF |
|
|
7817 | rm -f conftest.$ac_objext |
|
|
7818 | if { (ac_try="$ac_compile" |
|
|
7819 | case "(($ac_try" in |
|
|
7820 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7821 | *) ac_try_echo=$ac_try;; |
|
|
7822 | esac |
|
|
7823 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7824 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7825 | ac_status=$? |
|
|
7826 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7827 | rm -f conftest.er1 |
|
|
7828 | cat conftest.err >&5 |
|
|
7829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7830 | (exit $ac_status); } && { |
|
|
7831 | test -z "$ac_cxx_werror_flag" || |
|
|
7832 | test ! -s conftest.err |
|
|
7833 | } && test -s conftest.$ac_objext; then |
|
|
7834 | ac_cv_c_const=yes |
|
|
7835 | else |
|
|
7836 | echo "$as_me: failed program was:" >&5 |
|
|
7837 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7838 | |
|
|
7839 | ac_cv_c_const=no |
|
|
7840 | fi |
|
|
7841 | |
|
|
7842 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7843 | fi |
|
|
7844 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
|
7845 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
|
|
7846 | if test $ac_cv_c_const = no; then |
|
|
7847 | |
|
|
7848 | cat >>confdefs.h <<\_ACEOF |
|
|
7849 | #define const |
|
|
7850 | _ACEOF |
|
|
7851 | |
|
|
7852 | fi |
|
|
7853 | |
|
|
7854 | { echo "$as_me:$LINENO: checking for inline" >&5 |
|
|
7855 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
|
|
7856 | if test "${ac_cv_c_inline+set}" = set; then |
|
|
7857 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7858 | else |
|
|
7859 | ac_cv_c_inline=no |
|
|
7860 | for ac_kw in inline __inline__ __inline; do |
|
|
7861 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7862 | /* confdefs.h. */ |
|
|
7863 | _ACEOF |
|
|
7864 | cat confdefs.h >>conftest.$ac_ext |
|
|
7865 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7866 | /* end confdefs.h. */ |
|
|
7867 | #ifndef __cplusplus |
|
|
7868 | typedef int foo_t; |
|
|
7869 | static $ac_kw foo_t static_foo () {return 0; } |
|
|
7870 | $ac_kw foo_t foo () {return 0; } |
|
|
7871 | #endif |
|
|
7872 | |
|
|
7873 | _ACEOF |
|
|
7874 | rm -f conftest.$ac_objext |
|
|
7875 | if { (ac_try="$ac_compile" |
|
|
7876 | case "(($ac_try" in |
|
|
7877 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7878 | *) ac_try_echo=$ac_try;; |
|
|
7879 | esac |
|
|
7880 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7881 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7882 | ac_status=$? |
|
|
7883 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7884 | rm -f conftest.er1 |
|
|
7885 | cat conftest.err >&5 |
|
|
7886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7887 | (exit $ac_status); } && { |
|
|
7888 | test -z "$ac_cxx_werror_flag" || |
|
|
7889 | test ! -s conftest.err |
|
|
7890 | } && test -s conftest.$ac_objext; then |
|
|
7891 | ac_cv_c_inline=$ac_kw |
|
|
7892 | else |
|
|
7893 | echo "$as_me: failed program was:" >&5 |
|
|
7894 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7895 | |
|
|
7896 | |
|
|
7897 | fi |
|
|
7898 | |
|
|
7899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7900 | test "$ac_cv_c_inline" != no && break |
|
|
7901 | done |
|
|
7902 | |
|
|
7903 | fi |
|
|
7904 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
|
7905 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
|
|
7906 | |
|
|
7907 | |
|
|
7908 | case $ac_cv_c_inline in |
|
|
7909 | inline | yes) ;; |
|
|
7910 | *) |
|
|
7911 | case $ac_cv_c_inline in |
|
|
7912 | no) ac_val=;; |
|
|
7913 | *) ac_val=$ac_cv_c_inline;; |
|
|
7914 | esac |
|
|
7915 | cat >>confdefs.h <<_ACEOF |
|
|
7916 | #ifndef __cplusplus |
|
|
7917 | #define inline $ac_val |
|
|
7918 | #endif |
|
|
7919 | _ACEOF |
|
|
7920 | ;; |
|
|
7921 | esac |
|
|
7922 | |
|
|
7923 | |
|
|
7924 | |
7719 | |
7925 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7720 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7926 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7721 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7927 | if test "${ac_cv_type_mode_t+set}" = set; then |
7722 | if test "${ac_cv_type_mode_t+set}" = set; then |
7928 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10043 | fi |
9838 | fi |
10044 | fi |
9839 | fi |
10045 | |
9840 | |
10046 | |
9841 | |
10047 | |
9842 | |
10048 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
10049 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
|
|
10050 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
10051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10052 | else |
|
|
10053 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10054 | /* confdefs.h. */ |
|
|
10055 | _ACEOF |
|
|
10056 | cat confdefs.h >>conftest.$ac_ext |
|
|
10057 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10058 | /* end confdefs.h. */ |
|
|
10059 | #include <sys/types.h> |
|
|
10060 | #include <signal.h> |
|
|
10061 | |
9843 | |
10062 | int |
|
|
10063 | main () |
|
|
10064 | { |
|
|
10065 | return *(signal (0, 0)) (0) == 1; |
|
|
10066 | ; |
|
|
10067 | return 0; |
|
|
10068 | } |
|
|
10069 | _ACEOF |
|
|
10070 | rm -f conftest.$ac_objext |
|
|
10071 | if { (ac_try="$ac_compile" |
|
|
10072 | case "(($ac_try" in |
|
|
10073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10074 | *) ac_try_echo=$ac_try;; |
|
|
10075 | esac |
|
|
10076 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10077 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10078 | ac_status=$? |
|
|
10079 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10080 | rm -f conftest.er1 |
|
|
10081 | cat conftest.err >&5 |
|
|
10082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10083 | (exit $ac_status); } && { |
|
|
10084 | test -z "$ac_cxx_werror_flag" || |
|
|
10085 | test ! -s conftest.err |
|
|
10086 | } && test -s conftest.$ac_objext; then |
|
|
10087 | ac_cv_type_signal=int |
|
|
10088 | else |
|
|
10089 | echo "$as_me: failed program was:" >&5 |
|
|
10090 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10091 | |
|
|
10092 | ac_cv_type_signal=void |
|
|
10093 | fi |
|
|
10094 | |
|
|
10095 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10096 | fi |
|
|
10097 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
10098 | echo "${ECHO_T}$ac_cv_type_signal" >&6; } |
|
|
10099 | |
|
|
10100 | cat >>confdefs.h <<_ACEOF |
|
|
10101 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
10102 | _ACEOF |
|
|
10103 | |
|
|
10104 | |
|
|
10105 | |
|
|
10106 | |
|
|
10107 | |
|
|
10108 | |
|
|
10109 | for ac_func in \ |
9844 | for ac_func in unsetenv |
10110 | unsetenv \ |
|
|
10111 | setutent \ |
|
|
10112 | on_exit \ |
|
|
10113 | |
|
|
10114 | do |
9845 | do |
10115 | 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` |
10116 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9847 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10117 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9848 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10118 | 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 |
… | |
… | |
10257 | |
9988 | |
10258 | |
9989 | |
10259 | |
9990 | |
10260 | |
9991 | |
10261 | for ac_func in \ |
9992 | for ac_func in \ |
10262 | ttyslot \ |
|
|
10263 | updwtmp \ |
9993 | updwtmp \ |
10264 | updwtmpx \ |
9994 | updwtmpx \ |
|
|
9995 | updlastlogx \ |
10265 | |
9996 | |
10266 | do |
9997 | do |
10267 | 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` |
10268 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9999 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10269 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10000 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
10355 | fi |
10086 | fi |
10356 | done |
10087 | done |
10357 | |
10088 | |
10358 | |
10089 | |
10359 | |
10090 | |
10360 | |
|
|
10361 | |
|
|
10362 | for ac_header in \ |
10091 | for ac_header in lastlog.h |
10363 | utmp.h \ |
|
|
10364 | utmpx.h \ |
|
|
10365 | lastlog.h \ |
|
|
10366 | |
|
|
10367 | do |
10092 | do |
10368 | 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` |
10369 | 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 |
10370 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10095 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10371 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10096 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
10502 | |
10227 | |
10503 | done |
10228 | done |
10504 | |
10229 | |
10505 | |
10230 | |
10506 | |
10231 | |
10507 | 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 |
10508 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10237 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10509 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10238 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10510 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10239 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10511 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10512 | fi |
10241 | fi |
|
|
10242 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10513 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10243 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10514 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10244 | echo "${ECHO_T}$ac_res" >&6; } |
10515 | else |
10245 | else |
10516 | # Is the header compilable? |
10246 | # Is the header compilable? |
10517 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
10247 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10518 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
10248 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10519 | cat >conftest.$ac_ext <<_ACEOF |
10249 | cat >conftest.$ac_ext <<_ACEOF |
10520 | /* confdefs.h. */ |
10250 | /* confdefs.h. */ |
10521 | _ACEOF |
10251 | _ACEOF |
10522 | cat confdefs.h >>conftest.$ac_ext |
10252 | cat confdefs.h >>conftest.$ac_ext |
10523 | cat >>conftest.$ac_ext <<_ACEOF |
10253 | cat >>conftest.$ac_ext <<_ACEOF |
10524 | /* end confdefs.h. */ |
10254 | /* end confdefs.h. */ |
10525 | $ac_includes_default |
10255 | $ac_includes_default |
10526 | #include <utmp.h> |
10256 | #include <$ac_header> |
10527 | _ACEOF |
10257 | _ACEOF |
10528 | rm -f conftest.$ac_objext |
10258 | rm -f conftest.$ac_objext |
10529 | if { (ac_try="$ac_compile" |
10259 | if { (ac_try="$ac_compile" |
10530 | case "(($ac_try" in |
10260 | case "(($ac_try" in |
10531 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10261 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10553 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10283 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10554 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10284 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10555 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10285 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10556 | |
10286 | |
10557 | # Is the header present? |
10287 | # Is the header present? |
10558 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
10288 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10559 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
10289 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10560 | cat >conftest.$ac_ext <<_ACEOF |
10290 | cat >conftest.$ac_ext <<_ACEOF |
10561 | /* confdefs.h. */ |
10291 | /* confdefs.h. */ |
10562 | _ACEOF |
10292 | _ACEOF |
10563 | cat confdefs.h >>conftest.$ac_ext |
10293 | cat confdefs.h >>conftest.$ac_ext |
10564 | cat >>conftest.$ac_ext <<_ACEOF |
10294 | cat >>conftest.$ac_ext <<_ACEOF |
10565 | /* end confdefs.h. */ |
10295 | /* end confdefs.h. */ |
10566 | #include <utmp.h> |
10296 | #include <$ac_header> |
10567 | _ACEOF |
10297 | _ACEOF |
10568 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10298 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10569 | case "(($ac_try" in |
10299 | case "(($ac_try" in |
10570 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10571 | *) ac_try_echo=$ac_try;; |
10301 | *) ac_try_echo=$ac_try;; |
… | |
… | |
10594 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10324 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10595 | |
10325 | |
10596 | # So? What about this header? |
10326 | # So? What about this header? |
10597 | 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 |
10598 | yes:no: ) |
10328 | yes:no: ) |
10599 | { 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 |
10600 | 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;} |
10601 | { 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 |
10602 | 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;} |
10603 | ac_header_preproc=yes |
10333 | ac_header_preproc=yes |
10604 | ;; |
10334 | ;; |
10605 | no:yes:* ) |
10335 | no:yes:* ) |
10606 | { 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 |
10607 | 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;} |
10608 | { 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 |
10609 | 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;} |
10610 | { 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 |
10611 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
10341 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
10612 | { 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 |
10613 | 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;} |
10614 | { 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 |
10615 | 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;} |
10616 | { 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 |
10617 | 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;} |
10618 | |
10348 | |
10619 | ;; |
10349 | ;; |
10620 | esac |
10350 | esac |
10621 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10351 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10622 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10352 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10623 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10353 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10624 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10354 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10625 | else |
10355 | else |
10626 | ac_cv_header_utmp_h=$ac_header_preproc |
10356 | eval "$as_ac_Header=\$ac_header_preproc" |
10627 | fi |
10357 | fi |
|
|
10358 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10628 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10359 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10629 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10360 | echo "${ECHO_T}$ac_res" >&6; } |
10630 | |
10361 | |
10631 | fi |
10362 | fi |
10632 | 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 |
10633 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10367 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10634 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10368 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10635 | if test "${struct_utmp+set}" = set; then |
10369 | if test "${struct_utmp+set}" = set; then |
10636 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10637 | else |
10371 | else |
10638 | cat >conftest.$ac_ext <<_ACEOF |
10372 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
10805 | |
10539 | |
10806 | fi |
10540 | fi |
10807 | |
10541 | |
10808 | fi |
10542 | fi |
10809 | |
10543 | |
|
|
10544 | done |
10810 | |
10545 | |
10811 | |
10546 | |
10812 | 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 |
10813 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10552 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10814 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10553 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10815 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10554 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10816 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10555 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10817 | fi |
10556 | fi |
|
|
10557 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10818 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10558 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10819 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10559 | echo "${ECHO_T}$ac_res" >&6; } |
10820 | else |
10560 | else |
10821 | # Is the header compilable? |
10561 | # Is the header compilable? |
10822 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
10562 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10823 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
10563 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10824 | cat >conftest.$ac_ext <<_ACEOF |
10564 | cat >conftest.$ac_ext <<_ACEOF |
10825 | /* confdefs.h. */ |
10565 | /* confdefs.h. */ |
10826 | _ACEOF |
10566 | _ACEOF |
10827 | cat confdefs.h >>conftest.$ac_ext |
10567 | cat confdefs.h >>conftest.$ac_ext |
10828 | cat >>conftest.$ac_ext <<_ACEOF |
10568 | cat >>conftest.$ac_ext <<_ACEOF |
10829 | /* end confdefs.h. */ |
10569 | /* end confdefs.h. */ |
10830 | $ac_includes_default |
10570 | $ac_includes_default |
10831 | #include <utmpx.h> |
10571 | #include <$ac_header> |
10832 | _ACEOF |
10572 | _ACEOF |
10833 | rm -f conftest.$ac_objext |
10573 | rm -f conftest.$ac_objext |
10834 | if { (ac_try="$ac_compile" |
10574 | if { (ac_try="$ac_compile" |
10835 | case "(($ac_try" in |
10575 | case "(($ac_try" in |
10836 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10858 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10598 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10859 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10599 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10860 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10600 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10861 | |
10601 | |
10862 | # Is the header present? |
10602 | # Is the header present? |
10863 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
10603 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10864 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
10604 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10865 | cat >conftest.$ac_ext <<_ACEOF |
10605 | cat >conftest.$ac_ext <<_ACEOF |
10866 | /* confdefs.h. */ |
10606 | /* confdefs.h. */ |
10867 | _ACEOF |
10607 | _ACEOF |
10868 | cat confdefs.h >>conftest.$ac_ext |
10608 | cat confdefs.h >>conftest.$ac_ext |
10869 | cat >>conftest.$ac_ext <<_ACEOF |
10609 | cat >>conftest.$ac_ext <<_ACEOF |
10870 | /* end confdefs.h. */ |
10610 | /* end confdefs.h. */ |
10871 | #include <utmpx.h> |
10611 | #include <$ac_header> |
10872 | _ACEOF |
10612 | _ACEOF |
10873 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10613 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10874 | case "(($ac_try" in |
10614 | case "(($ac_try" in |
10875 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10876 | *) ac_try_echo=$ac_try;; |
10616 | *) ac_try_echo=$ac_try;; |
… | |
… | |
10899 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10639 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10900 | |
10640 | |
10901 | # So? What about this header? |
10641 | # So? What about this header? |
10902 | 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 |
10903 | yes:no: ) |
10643 | yes:no: ) |
10904 | { 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 |
10905 | 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;} |
10906 | { 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 |
10907 | 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;} |
10908 | ac_header_preproc=yes |
10648 | ac_header_preproc=yes |
10909 | ;; |
10649 | ;; |
10910 | no:yes:* ) |
10650 | no:yes:* ) |
10911 | { 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 |
10912 | 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;} |
10913 | { 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 |
10914 | 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;} |
10915 | { 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 |
10916 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
10656 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
10917 | { 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 |
10918 | 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;} |
10919 | { 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 |
10920 | 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;} |
10921 | { 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 |
10922 | 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;} |
10923 | |
10663 | |
10924 | ;; |
10664 | ;; |
10925 | esac |
10665 | esac |
10926 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10666 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10927 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10667 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10928 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10668 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10929 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10669 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10930 | else |
10670 | else |
10931 | ac_cv_header_utmpx_h=$ac_header_preproc |
10671 | eval "$as_ac_Header=\$ac_header_preproc" |
10932 | fi |
10672 | fi |
|
|
10673 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10933 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10674 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10934 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10675 | echo "${ECHO_T}$ac_res" >&6; } |
10935 | |
10676 | |
10936 | fi |
10677 | fi |
10937 | 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 |
10938 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10682 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10939 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
10683 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
10940 | if test "${struct_utmpx+set}" = set; then |
10684 | if test "${struct_utmpx+set}" = set; then |
10941 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10942 | else |
10686 | else |
10943 | cat >conftest.$ac_ext <<_ACEOF |
10687 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
11110 | |
10854 | |
11111 | fi |
10855 | fi |
11112 | |
10856 | |
11113 | fi |
10857 | fi |
11114 | |
10858 | |
|
|
10859 | done |
11115 | |
10860 | |
11116 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10861 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
11117 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
10862 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
11118 | if test "${struct_lastlog+set}" = set; then |
10863 | if test "${struct_lastlog+set}" = set; then |
11119 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10864 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11690 | |
11435 | |
11691 | cat >>confdefs.h <<_ACEOF |
11436 | cat >>confdefs.h <<_ACEOF |
11692 | #define LASTLOG_FILE "$path_lastlog" |
11437 | #define LASTLOG_FILE "$path_lastlog" |
11693 | _ACEOF |
11438 | _ACEOF |
11694 | |
11439 | |
11695 | if test -d "$path_lastlog"; then |
|
|
11696 | |
|
|
11697 | cat >>confdefs.h <<\_ACEOF |
|
|
11698 | #define LASTLOG_IS_DIR 1 |
|
|
11699 | _ACEOF |
|
|
11700 | |
|
|
11701 | fi |
|
|
11702 | fi |
11440 | fi |
11703 | |
11441 | |
11704 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11442 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11705 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11443 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11706 | if test "${path_lastlogx+set}" = set; then |
11444 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
11788 | |
11526 | |
11789 | fi |
11527 | fi |
11790 | |
11528 | |
11791 | |
11529 | |
11792 | |
11530 | |
11793 | { echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
|
|
11794 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; } |
|
|
11795 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
|
|
11796 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11797 | else |
|
|
11798 | for ttys_file in /etc/ttys /etc/ttytab; |
|
|
11799 | do |
|
|
11800 | if test -f "$ttys_file" ; then |
|
|
11801 | rxvt_cv_path_ttytab=$ttys_file |
|
|
11802 | break |
|
|
11803 | fi |
|
|
11804 | done |
|
|
11805 | |
11531 | |
11806 | fi |
|
|
11807 | { echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 |
|
|
11808 | echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; } |
|
|
11809 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
11810 | |
|
|
11811 | cat >>confdefs.h <<_ACEOF |
|
|
11812 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
|
|
11813 | _ACEOF |
|
|
11814 | |
|
|
11815 | fi |
|
|
11816 | |
|
|
11817 | |
|
|
11818 | ac_save_LIBS=$LIBS |
11532 | save_LIBS=$LIBS |
11819 | ac_save_CFLAGS=$CFLAGS |
11533 | save_CFLAGS=$CFLAGS |
11820 | CFLAGS="$CFLAGS $X_CFLAGS" |
11534 | CFLAGS="$CFLAGS $X_CFLAGS" |
11821 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11535 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11822 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
11536 | if test x$support_xim = xyes; then |
11823 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
11824 | fi |
|
|
11825 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11537 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11826 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11538 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11827 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11539 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11540 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11829 | else |
11541 | else |
11830 | if test "$cross_compiling" = yes; then |
11542 | if test "$cross_compiling" = yes; then |
11831 | : |
11543 | : |
11832 | else |
11544 | else |
11833 | cat >conftest.$ac_ext <<_ACEOF |
11545 | cat >conftest.$ac_ext <<_ACEOF |
11834 | /* confdefs.h. */ |
11546 | /* confdefs.h. */ |
11835 | _ACEOF |
11547 | _ACEOF |
11836 | cat confdefs.h >>conftest.$ac_ext |
11548 | cat confdefs.h >>conftest.$ac_ext |
11837 | cat >>conftest.$ac_ext <<_ACEOF |
11549 | cat >>conftest.$ac_ext <<_ACEOF |
11838 | /* end confdefs.h. */ |
11550 | /* end confdefs.h. */ |
11839 | #include <X11/Xlib.h> |
11551 | #include <X11/Xlib.h> |
11840 | #include <stdlib.h> |
11552 | #include <stdlib.h> |
11841 | main() { |
11553 | main() { |
11842 | char *p; |
11554 | char *p; |
11843 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11555 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11844 | exit (XSupportsLocale() ? 0 : 1); |
11556 | exit (XSupportsLocale() ? 0 : 1); |
11845 | else |
11557 | else |
11846 | exit (1);} |
11558 | exit (1);} |
11847 | _ACEOF |
11559 | _ACEOF |
11848 | rm -f conftest$ac_exeext |
11560 | rm -f conftest$ac_exeext |
11849 | if { (ac_try="$ac_link" |
11561 | if { (ac_try="$ac_link" |
11850 | case "(($ac_try" in |
11562 | case "(($ac_try" in |
11851 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11563 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
11863 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11864 | (eval "$ac_try") 2>&5 |
11576 | (eval "$ac_try") 2>&5 |
11865 | ac_status=$? |
11577 | ac_status=$? |
11866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11867 | (exit $ac_status); }; }; then |
11579 | (exit $ac_status); }; }; then |
11868 | rxvt_cv_func_xlocale=yes |
11580 | rxvt_cv_func_xlocale=yes |
11869 | else |
11581 | else |
11870 | echo "$as_me: program exited with status $ac_status" >&5 |
11582 | echo "$as_me: program exited with status $ac_status" >&5 |
11871 | echo "$as_me: failed program was:" >&5 |
11583 | echo "$as_me: failed program was:" >&5 |
11872 | sed 's/^/| /' conftest.$ac_ext >&5 |
11584 | sed 's/^/| /' conftest.$ac_ext >&5 |
11873 | |
11585 | |
… | |
… | |
11879 | |
11591 | |
11880 | |
11592 | |
11881 | fi |
11593 | fi |
11882 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11594 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11883 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11595 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11884 | if test x$support_xim = xyes; then |
|
|
11885 | if test x$rxvt_cv_func_xlocale = xyes; then |
11596 | if test x$rxvt_cv_func_xlocale = xyes; then |
11886 | |
11597 | |
11887 | cat >>confdefs.h <<\_ACEOF |
11598 | cat >>confdefs.h <<\_ACEOF |
11888 | #define USE_XIM 1 |
11599 | #define USE_XIM 1 |
11889 | _ACEOF |
11600 | _ACEOF |
11890 | |
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 |
11891 | fi |
11656 | fi |
11892 | fi |
11657 | fi |
11893 | |
11658 | |
11894 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11659 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11895 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
11660 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
… | |
… | |
11948 | cat >>confdefs.h <<\_ACEOF |
11713 | cat >>confdefs.h <<\_ACEOF |
11949 | #define HAVE_XSETLOCALE 1 |
11714 | #define HAVE_XSETLOCALE 1 |
11950 | _ACEOF |
11715 | _ACEOF |
11951 | |
11716 | |
11952 | fi |
11717 | fi |
11953 | LIBS=$ac_save_LIBS |
11718 | LIBS=$save_LIBS |
11954 | CFLAGS=$ac_save_CFLAGS |
11719 | CFLAGS=$save_CFLAGS |
11955 | |
11720 | |
11956 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
11721 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
11957 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
11722 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
11958 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
11723 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
11959 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12162 | { { 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 |
12163 | 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;} |
12164 | { (exit 1); exit 1; }; } |
11929 | { (exit 1); exit 1; }; } |
12165 | fi |
11930 | fi |
12166 | |
11931 | |
12167 | |
|
|
12168 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
12169 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
12170 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
12171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12172 | else |
|
|
12173 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12174 | |
|
|
12175 | #include <X11/Xlib.h> |
|
|
12176 | |
|
|
12177 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
12178 | |
|
|
12179 | void f() { |
|
|
12180 | XIMCallback cb; |
|
|
12181 | cb.callback = im_destroy_cb; |
|
|
12182 | } |
|
|
12183 | |
|
|
12184 | _ACEOF |
|
|
12185 | rm -f conftest.$ac_objext |
|
|
12186 | if { (ac_try="$ac_compile" |
|
|
12187 | case "(($ac_try" in |
|
|
12188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12189 | *) ac_try_echo=$ac_try;; |
|
|
12190 | esac |
|
|
12191 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
12192 | (eval "$ac_compile") 2>conftest.er1 |
|
|
12193 | ac_status=$? |
|
|
12194 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12195 | rm -f conftest.er1 |
|
|
12196 | cat conftest.err >&5 |
|
|
12197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12198 | (exit $ac_status); } && { |
|
|
12199 | test -z "$ac_cxx_werror_flag" || |
|
|
12200 | test ! -s conftest.err |
|
|
12201 | } && test -s conftest.$ac_objext; then |
|
|
12202 | rxvt_broken_ximcb=yes |
|
|
12203 | else |
|
|
12204 | echo "$as_me: failed program was:" >&5 |
|
|
12205 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12206 | |
|
|
12207 | rxvt_broken_ximcb=no |
|
|
12208 | fi |
|
|
12209 | |
|
|
12210 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12211 | fi |
|
|
12212 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12213 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12214 | |
|
|
12215 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12216 | |
|
|
12217 | cat >>confdefs.h <<\_ACEOF |
|
|
12218 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12219 | _ACEOF |
|
|
12220 | |
|
|
12221 | fi |
|
|
12222 | |
11932 | |
12223 | |
11933 | |
12224 | |
11934 | |
12225 | |
11935 | |
12226 | |
11936 | |
… | |
… | |
12907 | echo "${ECHO_T}no" >&6; } |
12617 | echo "${ECHO_T}no" >&6; } |
12908 | fi |
12618 | fi |
12909 | |
12619 | |
12910 | |
12620 | |
12911 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12621 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12912 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12622 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
12913 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12623 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12914 | else |
12624 | else |
12915 | # 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. |
12916 | set dummy xft-config; ac_word=$2 |
12626 | set dummy xft-config; ac_word=$2 |
12917 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12627 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
12952 | echo "${ECHO_T}no" >&6; } |
12662 | echo "${ECHO_T}no" >&6; } |
12953 | fi |
12663 | fi |
12954 | |
12664 | |
12955 | |
12665 | |
12956 | if test $XFT_CONFIG != no; then |
12666 | if test $XFT_CONFIG != no; then |
12957 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
12667 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
12958 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12668 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12959 | fi |
12669 | fi |
12960 | fi |
12670 | fi |
12961 | |
12671 | |
|
|
12672 | save_LIBS="$LIBS" |
|
|
12673 | LIBS="$LIBS $X_LIBS" |
12962 | |
12674 | |
12963 | for ac_header in X11/Xft/Xft.h |
12675 | for ac_header in X11/Xft/Xft.h |
12964 | do |
12676 | do |
12965 | 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` |
12966 | 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 |
… | |
… | |
13099 | support_xft=no |
12811 | support_xft=no |
13100 | fi |
12812 | fi |
13101 | |
12813 | |
13102 | done |
12814 | done |
13103 | |
12815 | |
13104 | |
|
|
13105 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
12816 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13106 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
12817 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13107 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
12818 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13108 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12819 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13109 | else |
12820 | else |
13110 | ac_check_lib_save_LIBS=$LIBS |
12821 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13162 | LIBS=$ac_check_lib_save_LIBS |
12873 | LIBS=$ac_check_lib_save_LIBS |
13163 | fi |
12874 | fi |
13164 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
12875 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13165 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
12876 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13166 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
12877 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13167 | cat >>confdefs.h <<_ACEOF |
12878 | : |
13168 | #define HAVE_LIBXFT 1 |
|
|
13169 | _ACEOF |
|
|
13170 | |
|
|
13171 | LIBS="-lXft $LIBS" |
|
|
13172 | |
|
|
13173 | else |
12879 | else |
13174 | support_xft=no |
12880 | support_xft=no |
13175 | fi |
12881 | fi |
13176 | |
12882 | |
|
|
12883 | LIBS="$save_LIBS" |
13177 | |
12884 | |
13178 | if test x$support_xft = xyes; then |
12885 | if test x$support_xft = xyes; then |
13179 | |
12886 | |
13180 | cat >>confdefs.h <<\_ACEOF |
12887 | cat >>confdefs.h <<\_ACEOF |
13181 | #define XFT 1 |
12888 | #define XFT 1 |
… | |
… | |
13209 | cat >>confdefs.h <<\_ACEOF |
12916 | cat >>confdefs.h <<\_ACEOF |
13210 | #define OFF_FOCUS_FADING 1 |
12917 | #define OFF_FOCUS_FADING 1 |
13211 | _ACEOF |
12918 | _ACEOF |
13212 | |
12919 | |
13213 | fi |
12920 | fi |
13214 | if test x$support_tinting = xyes; then |
|
|
13215 | |
|
|
13216 | cat >>confdefs.h <<\_ACEOF |
|
|
13217 | #define TINTING 1 |
|
|
13218 | _ACEOF |
|
|
13219 | |
|
|
13220 | fi |
|
|
13221 | if test x$support_inheritpixmap = xyes; then |
12921 | if test x$support_inheritpixmap = xyes; then |
13222 | |
12922 | |
13223 | cat >>confdefs.h <<\_ACEOF |
12923 | cat >>confdefs.h <<\_ACEOF |
13224 | #define ENABLE_TRANSPARENCY 1 |
12924 | #define ENABLE_TRANSPARENCY 1 |
13225 | _ACEOF |
12925 | _ACEOF |
… | |
… | |
13258 | cat >>confdefs.h <<\_ACEOF |
12958 | cat >>confdefs.h <<\_ACEOF |
13259 | #define MOUSE_SLIP_WHEELING 1 |
12959 | #define MOUSE_SLIP_WHEELING 1 |
13260 | _ACEOF |
12960 | _ACEOF |
13261 | |
12961 | |
13262 | fi |
12962 | fi |
13263 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
|
|
13264 | |
|
|
13265 | cat >>confdefs.h <<\_ACEOF |
|
|
13266 | #define XPM_BACKGROUND 1 |
|
|
13267 | _ACEOF |
|
|
13268 | |
|
|
13269 | fi |
|
|
13270 | |
|
|
13271 | if test x$support_afterimage = xyes; then |
12963 | if test x$support_afterimage = xyes; then |
13272 | |
12964 | |
13273 | cat >>confdefs.h <<\_ACEOF |
12965 | cat >>confdefs.h <<\_ACEOF |
13274 | #define HAVE_AFTERIMAGE 1 |
12966 | #define HAVE_AFTERIMAGE 1 |
13275 | _ACEOF |
12967 | _ACEOF |
13276 | |
12968 | |
13277 | fi |
|
|
13278 | |
|
|
13279 | if test x$support_afterstep = xyes; then |
|
|
13280 | |
12969 | |
13281 | cat >>confdefs.h <<\_ACEOF |
12970 | cat >>confdefs.h <<\_ACEOF |
13282 | #define AFTERSTEP_INTEGRATION 1 |
12971 | #define BG_IMAGE_FROM_FILE 1 |
13283 | _ACEOF |
12972 | _ACEOF |
13284 | |
12973 | |
13285 | fi |
12974 | fi |
|
|
12975 | |
13286 | |
12976 | |
13287 | if test x$support_scroll_rxvt = xyes; then |
12977 | if test x$support_scroll_rxvt = xyes; then |
13288 | |
12978 | |
13289 | cat >>confdefs.h <<\_ACEOF |
12979 | cat >>confdefs.h <<\_ACEOF |
13290 | #define RXVT_SCROLLBAR 1 |
12980 | #define RXVT_SCROLLBAR 1 |
… | |
… | |
13559 | |
13249 | |
13560 | |
13250 | |
13561 | |
13251 | |
13562 | |
13252 | |
13563 | |
13253 | |
13564 | if test x$support_perl = xyes; then |
|
|
13565 | support_frills=yes |
|
|
13566 | fi |
|
|
13567 | |
13254 | |
13568 | |
13255 | |
13569 | |
13256 | |
13570 | |
13257 | |
13571 | |
13258 | |
13572 | |
|
|
13573 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
13574 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
13575 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
13576 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
13577 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
13578 | fi |
|
|
13579 | |
13259 | |
13580 | |
13260 | |
13581 | |
13261 | |
13582 | |
13262 | |
13583 | |
13263 | |
… | |
… | |
14332 | host_cpu!$host_cpu$ac_delim |
14012 | host_cpu!$host_cpu$ac_delim |
14333 | host_vendor!$host_vendor$ac_delim |
14013 | host_vendor!$host_vendor$ac_delim |
14334 | host_os!$host_os$ac_delim |
14014 | host_os!$host_os$ac_delim |
14335 | VERSION!$VERSION$ac_delim |
14015 | VERSION!$VERSION$ac_delim |
14336 | DATE!$DATE$ac_delim |
14016 | DATE!$DATE$ac_delim |
14337 | LSMDATE!$LSMDATE$ac_delim |
|
|
14338 | LIBVERSION!$LIBVERSION$ac_delim |
|
|
14339 | CC!$CC$ac_delim |
14017 | CC!$CC$ac_delim |
14340 | CFLAGS!$CFLAGS$ac_delim |
14018 | CFLAGS!$CFLAGS$ac_delim |
14341 | LDFLAGS!$LDFLAGS$ac_delim |
14019 | LDFLAGS!$LDFLAGS$ac_delim |
14342 | CPPFLAGS!$CPPFLAGS$ac_delim |
14020 | CPPFLAGS!$CPPFLAGS$ac_delim |
14343 | ac_ct_CC!$ac_ct_CC$ac_delim |
14021 | ac_ct_CC!$ac_ct_CC$ac_delim |
… | |
… | |
14351 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14029 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14352 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14030 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14353 | GREP!$GREP$ac_delim |
14031 | GREP!$GREP$ac_delim |
14354 | EGREP!$EGREP$ac_delim |
14032 | EGREP!$EGREP$ac_delim |
14355 | LINKER!$LINKER$ac_delim |
14033 | LINKER!$LINKER$ac_delim |
14356 | CXXLIB!$CXXLIB$ac_delim |
|
|
14357 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
|
|
14358 | RXVTNAME!$RXVTNAME$ac_delim |
14034 | RXVTNAME!$RXVTNAME$ac_delim |
|
|
14035 | CXXCPP!$CXXCPP$ac_delim |
14359 | TIC!$TIC$ac_delim |
14036 | TIC!$TIC$ac_delim |
14360 | XMKMF!$XMKMF$ac_delim |
14037 | XMKMF!$XMKMF$ac_delim |
14361 | CXXCPP!$CXXCPP$ac_delim |
|
|
14362 | X_CFLAGS!$X_CFLAGS$ac_delim |
14038 | X_CFLAGS!$X_CFLAGS$ac_delim |
14363 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14039 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14364 | X_LIBS!$X_LIBS$ac_delim |
14040 | X_LIBS!$X_LIBS$ac_delim |
14365 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14041 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14366 | afterimage_config!$afterimage_config$ac_delim |
14042 | afterimage_config!$afterimage_config$ac_delim |
14367 | XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim |
|
|
14368 | XPM_CFLAGS!$XPM_CFLAGS$ac_delim |
|
|
14369 | XPM_LIBS!$XPM_LIBS$ac_delim |
|
|
14370 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14043 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
14371 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14044 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
14372 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14045 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
14373 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14046 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
14374 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
14047 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
… | |
… | |
14379 | PERLLIB!$PERLLIB$ac_delim |
14052 | PERLLIB!$PERLLIB$ac_delim |
14380 | PERLFLAGS!$PERLFLAGS$ac_delim |
14053 | PERLFLAGS!$PERLFLAGS$ac_delim |
14381 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14054 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14382 | IF_PERL!$IF_PERL$ac_delim |
14055 | IF_PERL!$IF_PERL$ac_delim |
14383 | PERL_O!$PERL_O$ac_delim |
14056 | PERL_O!$PERL_O$ac_delim |
14384 | LIBAFTERIMAGE_CFLAGS!$LIBAFTERIMAGE_CFLAGS$ac_delim |
14057 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14385 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14058 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14386 | include_stdint_h!$include_stdint_h$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 |
14387 | _ACEOF |
14067 | _ACEOF |
14388 | |
14068 | |
14389 | 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 |
14390 | break |
14070 | break |
14391 | elif $ac_last_try; then |
14071 | elif $ac_last_try; then |
… | |
… | |
14423 | |
14103 | |
14424 | |
14104 | |
14425 | ac_delim='%!_!# ' |
14105 | ac_delim='%!_!# ' |
14426 | for ac_last_try in false false false false false :; do |
14106 | for ac_last_try in false false false false false :; do |
14427 | cat >conf$$subs.sed <<_ACEOF |
14107 | cat >conf$$subs.sed <<_ACEOF |
14428 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14429 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14430 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14431 | include_string_h!$include_string_h$ac_delim |
|
|
14432 | include_fcntl_h!$include_fcntl_h$ac_delim |
|
|
14433 | include_util_h!$include_util_h$ac_delim |
|
|
14434 | include_assert_h!$include_assert_h$ac_delim |
|
|
14435 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14108 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14436 | include_sys_select_h!$include_sys_select_h$ac_delim |
14109 | include_sys_select_h!$include_sys_select_h$ac_delim |
14437 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
14110 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
14438 | include_sys_time_h!$include_sys_time_h$ac_delim |
14111 | include_sys_time_h!$include_sys_time_h$ac_delim |
14439 | include_time_h!$include_time_h$ac_delim |
14112 | include_time_h!$include_time_h$ac_delim |
14440 | LIBOBJS!$LIBOBJS$ac_delim |
14113 | LIBOBJS!$LIBOBJS$ac_delim |
14441 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14114 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14442 | _ACEOF |
14115 | _ACEOF |
14443 | |
14116 | |
14444 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then |
14117 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then |
14445 | break |
14118 | break |
14446 | elif $ac_last_try; then |
14119 | elif $ac_last_try; then |
14447 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14120 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14448 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14121 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14449 | { (exit 1); exit 1; }; } |
14122 | { (exit 1); exit 1; }; } |
… | |
… | |
14878 | Install path: ${prefix}/bin |
14551 | Install path: ${prefix}/bin |
14879 | Compiler: $CXX |
14552 | Compiler: $CXX |
14880 | Compiler flags: $CXXFLAGS |
14553 | Compiler flags: $CXXFLAGS |
14881 | Linker: $LINKER" |
14554 | Linker: $LINKER" |
14882 | |
14555 | |
14883 | if test x$support_xpm = xyes; then |
|
|
14884 | echo " Xpm library: $XPM_LIBS" |
|
|
14885 | fi |
|
|
14886 | |
|
|
14887 | if test x$support_afterimage = xyes; then |
|
|
14888 | echo " AfterImage support: yes" |
|
|
14889 | fi |
|
|
14890 | |
|
|
14891 | if test x$support_afterstep = xyes; then |
|
|
14892 | echo " AfterStep integration: yes" |
|
|
14893 | fi |
|
|
14894 | |
|
|
14895 | if test x$term != x; then |
14556 | if test x$term != x; then |
14896 | echo " set TERM to: $term" |
14557 | echo " set TERM to: $term" |
14897 | fi |
14558 | fi |
14898 | if test x$terminfo != x; then |
14559 | if test x$terminfo != x; then |
14899 | echo " set TERMINFO to: $terminfo" |
14560 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
14903 | if test x$RESFALLBACK != x; then |
14564 | if test x$RESFALLBACK != x; then |
14904 | echo " resource class fallback: $RESFALLBACK" |
14565 | echo " resource class fallback: $RESFALLBACK" |
14905 | fi |
14566 | fi |
14906 | echo |
14567 | echo |
14907 | echo " embedded perl: $support_perl" |
14568 | echo " embedded perl: $support_perl" |
|
|
14569 | echo " libafterimage: $support_afterimage" |
14908 | echo |
14570 | echo |
14909 | if test x$support_xpm = xneedsmanualspecification; then |
|
|
14910 | echo ".----------------------------------------------------------------." |
|
|
14911 | echo ". WARNING: --enable-xpm-background was specified however the ." |
|
|
14912 | echo ". XPM includes files and libraries could not be found. ." |
|
|
14913 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
|
|
14914 | echo ". to use them you should rerun configure with the ." |
|
|
14915 | echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ." |
|
|
14916 | echo ". and --with-xpm-library=/path/to/xpm/library lines. ." |
|
|
14917 | echo ".----------------------------------------------------------------." |
|
|
14918 | fi |
|
|
14919 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14571 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14920 | echo ".----------------------------------------------------------------." |
14572 | echo ".----------------------------------------------------------------." |
14921 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14573 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14922 | echo ". functions could not be found. ." |
14574 | echo ". functions could not be found. ." |
14923 | echo ". XIM is now being DISABLED! ." |
14575 | echo ". XIM is now being DISABLED! ." |