ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.109 by root, Wed Aug 1 18:38:15 2007 UTC vs.
Revision 1.121 by ayin, Tue Dec 11 00:01:28 2007 UTC

658host_cpu 658host_cpu
659host_vendor 659host_vendor
660host_os 660host_os
661VERSION 661VERSION
662DATE 662DATE
663LSMDATE
664LIBVERSION
665CC 663CC
666CFLAGS 664CFLAGS
667LDFLAGS 665LDFLAGS
668CPPFLAGS 666CPPFLAGS
669ac_ct_CC 667ac_ct_CC
677INSTALL_SCRIPT 675INSTALL_SCRIPT
678INSTALL_DATA 676INSTALL_DATA
679GREP 677GREP
680EGREP 678EGREP
681LINKER 679LINKER
682INSTALL_LIBRXVT
683RXVTNAME 680RXVTNAME
681CXXCPP
684TIC 682TIC
685XMKMF 683XMKMF
686CXXCPP
687X_CFLAGS 684X_CFLAGS
688X_PRE_LIBS 685X_PRE_LIBS
689X_LIBS 686X_LIBS
690X_EXTRA_LIBS 687X_EXTRA_LIBS
691afterimage_config 688afterimage_config
692XPM_CPPFLAGS
693XPM_CFLAGS
694XPM_LIBS
695rxvt_int16_typedef 689rxvt_int16_typedef
696rxvt_uint16_typedef 690rxvt_uint16_typedef
697rxvt_int32_typedef 691rxvt_int32_typedef
698rxvt_uint32_typedef 692rxvt_uint32_typedef
699rxvt_intp_define 693rxvt_intp_define
734CPPFLAGS 728CPPFLAGS
735CXX 729CXX
736CXXFLAGS 730CXXFLAGS
737CCC 731CCC
738CPP 732CPP
739XMKMF
740CXXCPP' 733CXXCPP
734XMKMF'
741 735
742 736
743# Initialize some variables set by options. 737# Initialize some variables set by options.
744ac_init_help= 738ac_init_help=
745ac_init_version=false 739ac_init_version=false
1319Optional Features: 1313Optional Features:
1320 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1321 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1322 --enable-everything enable standard non-multichoice features 1316 --enable-everything enable standard non-multichoice features
1323 NOTE: this option is order dependent 1317 NOTE: this option is order dependent
1324 NOTE: automatically enabled with --enable-shared 1318 --enable-warnings turn on g++ warnings
1325 --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
1326 --enable-combining enable composition of base and combining characters 1320 --enable-combining enable composition of base and combining characters
1327 --enable-xft enable xft support on systems that have it 1321 --enable-xft enable xft support on systems that have it
1328 --enable-font-styles enable bold and italic support 1322 --enable-font-styles enable bold and italic support
1329 --enable-xpm-background enable background pixmaps
1330 --enable-afterimage enable integration with libAfterImage for background images 1323 --enable-afterimage enable integration with libAfterImage for background images
1331 --enable-transparency enable transparent backgrounds 1324 --enable-transparency enable transparent backgrounds
1332 --enable-tinting enable tinting of transparent bg
1333 --enable-fading enable colors fading when off focus 1325 --enable-fading enable colors fading when off focus
1334 --enable-rxvt-scroll enable rxvt style scrollbar 1326 --enable-rxvt-scroll enable rxvt style scrollbar
1335 --enable-next-scroll enable NeXT style scrollbar 1327 --enable-next-scroll enable NeXT style scrollbar
1336 --enable-xterm-scroll enable Xterm style scrollbar 1328 --enable-xterm-scroll enable Xterm style scrollbar
1329 --enable-plain-scroll enable plain style scrollbar
1337 --enable-perl enable embedded perl interpreter 1330 --enable-perl enable embedded perl interpreter
1338 --enable-plain-scroll enable plain style scrollbar
1339 --enable-xim XIM (X Input Method) protocol support 1331 --enable-xim XIM (X Input Method) protocol support
1340 --disable-backspace-key disable handling of the backspace key 1332 --disable-backspace-key disable handling of the backspace key
1341 --disable-delete-key disable handling of the delete key 1333 --disable-delete-key disable handling of the delete key
1342 --disable-resources disable all resource checking 1334 --disable-resources disable all resource checking
1343 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1335 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1344 --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)
1345 --disable-swapscreen disable swap screen support 1337 --disable-swapscreen disable swap screen support
1346 --enable-iso14755 enable support for extended ISO 14755 modes 1338 --enable-iso14755 enable support for extended ISO 14755 modes
1347 --enable-frills enable support for rarely used features 1339 --enable-frills enable support for rarely used features
1348 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1340 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1349 --enable-selectionscrolling enable scrolling during selections 1341 --enable-selectionscrolling enable scrolling during selections
1350 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1342 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1351 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1343 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
1352 --enable-smart-resize enable smart growth/shrink behaviour 1344 --enable-smart-resize enable smart growth/shrink behaviour
1353 --enable-text-blink enable blinking text 1345 --enable-text-blink enable blinking text
1354 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1346 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1355 --enable-utmp enable utmp (utmpx) support 1347 --enable-utmp enable utmp (utmpx) support
1356 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1348 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1358 1350
1359Optional Packages: 1351Optional Packages:
1360 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1352 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1361 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1353 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1362 --with-afterimage-config=DIR use libAfterImage config script in DIR 1354 --with-afterimage-config=DIR use libAfterImage config script in DIR
1363 --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)
1364 --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)
1365 --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)
1366 --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)
1367 --with-term=NAME set the terminal to NAME (default: rxvt) 1359 --with-term=NAME set the terminal to NAME (default: rxvt)
1368 --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
1369 --with-x use the X Window System 1361 --with-x use the X Window System
1370 --with-xpm-includes=DIR use XPM includes in DIR
1371 --with-xpm-library=DIR use XPM library in DIR
1372 --with-xpm use XPM
1373 1362
1374Some influential environment variables: 1363Some influential environment variables:
1375 CC C compiler command 1364 CC C compiler command
1376 CFLAGS C compiler flags 1365 CFLAGS C compiler flags
1377 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
1380 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
1381 you have headers in a nonstandard directory <include dir> 1370 you have headers in a nonstandard directory <include dir>
1382 CXX C++ compiler command 1371 CXX C++ compiler command
1383 CXXFLAGS C++ compiler flags 1372 CXXFLAGS C++ compiler flags
1384 CPP C preprocessor 1373 CPP C preprocessor
1374 CXXCPP C++ preprocessor
1385 XMKMF Path to xmkmf, Makefile generator for X Window System 1375 XMKMF Path to xmkmf, Makefile generator for X Window System
1386 CXXCPP C++ preprocessor
1387 1376
1388Use these variables to override the choices made by `configure' or to help 1377Use these variables to override the choices made by `configure' or to help
1389it to find libraries and programs with nonstandard names/locations. 1378it to find libraries and programs with nonstandard names/locations.
1390 1379
1391_ACEOF 1380_ACEOF
1927 1916
1928 1917
1929 1918
1930VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1919VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1931DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1920DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1921
1932echo "" 1922echo ""
1933echo "configuring for rxvt $VERSION" 1923echo "configuring for rxvt $VERSION"
1934echo "" 1924echo ""
1935 1925
1936orig_CXXFLAGS="$CXXFLAGS" 1926orig_CXXFLAGS="$CXXFLAGS"
1937
1938 1927
1939ac_ext=c 1928ac_ext=c
1940ac_cpp='$CPP $CPPFLAGS' 1929ac_cpp='$CPP $CPPFLAGS'
1941ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721echo "${ECHO_T}no" >&6; } 3710echo "${ECHO_T}no" >&6; }
3722fi 3711fi
3723rm -f conftest* 3712rm -f conftest*
3724 3713
3725 3714
3715
3716cat >>confdefs.h <<\_ACEOF
3717#define _GNU_SOURCE 1
3718_ACEOF
3719
3720
3726{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 3721{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3727echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3722echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3728if test "${ac_cv_search_strerror+set}" = set; then 3723if test "${ac_cv_search_strerror+set}" = set; then
3729 echo $ECHO_N "(cached) $ECHO_C" >&6 3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3730else 3725else
3877LINKER=$LINKER 3872LINKER=$LINKER
3878 3873
3879 3874
3880if test -z "$orig_CXXFLAGS"; then 3875if test -z "$orig_CXXFLAGS"; then
3881 if test x$GCC = xyes && test "x$GXX" = xyes; then 3876 if test x$GCC = xyes && test "x$GXX" = xyes; then
3882 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"
3883 cat >conftest.$ac_ext <<_ACEOF 3878 cat >conftest.$ac_ext <<_ACEOF
3884/* confdefs.h. */ 3879/* confdefs.h. */
3885_ACEOF 3880_ACEOF
3886cat confdefs.h >>conftest.$ac_ext 3881cat confdefs.h >>conftest.$ac_ext
3887cat >>conftest.$ac_ext <<_ACEOF 3882cat >>conftest.$ac_ext <<_ACEOF
3925 CXXFLAGS="-O" 3920 CXXFLAGS="-O"
3926 fi 3921 fi
3927 CFLAGS="$CXXFLAGS" 3922 CFLAGS="$CXXFLAGS"
3928fi 3923fi
3929 3924
3930
3931cat >>confdefs.h <<\_ACEOF
3932#define _GNU_SOURCE 1
3933_ACEOF
3934
3935
3936case $host in 3925case $host in
3937 *-*-solaris* ) 3926 *-*-solaris* )
3938 3927
3939cat >>confdefs.h <<\_ACEOF 3928cat >>confdefs.h <<\_ACEOF
3940#define _XOPEN_SOURCE 500 3929#define _XOPEN_SOURCE 500
3941_ACEOF 3930_ACEOF
3942 3931
3943 ;; 3932 ;;
3944esac 3933esac
3945
3946 3934
3947{ echo "$as_me:$LINENO: checking for setlocale" >&5 3935{ echo "$as_me:$LINENO: checking for setlocale" >&5
3948echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } 3936echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; }
3949if test "${ac_cv_func_setlocale+set}" = set; then 3937if test "${ac_cv_func_setlocale+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6 3938 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 4388
4401 4389
4402 4390
4403support_frills=yes 4391support_frills=yes
4404support_inheritpixmap=yes 4392support_inheritpixmap=yes
4405support_tinting=yes
4406support_fading=yes 4393support_fading=yes
4407support_keepscrolling=yes 4394support_keepscrolling=yes
4408support_selectionscrolling=yes 4395support_selectionscrolling=yes
4409support_mousewheel=yes 4396support_mousewheel=yes
4410support_mouseslipwheel=yes 4397support_mouseslipwheel=yes
4413support_scroll_rxvt=yes 4400support_scroll_rxvt=yes
4414support_scroll_next=yes 4401support_scroll_next=yes
4415support_scroll_xterm=yes 4402support_scroll_xterm=yes
4416support_scroll_plain=yes 4403support_scroll_plain=yes
4417support_xim=yes 4404support_xim=yes
4418support_xpm=yes
4419support_afterimage=yes 4405support_afterimage=yes
4420support_afterstep=yes 4406support_afterstep=yes
4421support_xft=yes 4407support_xft=yes
4422support_unicode3=no 4408support_unicode3=no
4423support_combining=yes 4409support_combining=yes
4426support_styles=yes 4412support_styles=yes
4427support_perl=yes 4413support_perl=yes
4428codesets=all 4414codesets=all
4429 4415
4430 4416
4431if test "x$enable_shared" = xyes; then
4432
4433cat >>confdefs.h <<\_ACEOF
4434#define LIBRXVT 1
4435_ACEOF
4436
4437 INSTALL_LIBRXVT=yes
4438fi
4439
4440 4417
4441# Check whether --enable-everything was given. 4418# Check whether --enable-everything was given.
4442if test "${enable_everything+set}" = set; then 4419if test "${enable_everything+set}" = set; then
4443 enableval=$enable_everything; 4420 enableval=$enable_everything;
4444 if test x$enableval = xno; then 4421 if test x$enableval = xno; then
4445 support_frills=no 4422 support_frills=no
4446 support_inheritpixmap=no 4423 support_inheritpixmap=no
4447 support_tinting=no
4448 support_fading=no 4424 support_fading=no
4449 support_keepscrolling=no 4425 support_keepscrolling=no
4450 support_selectionscrolling=no 4426 support_selectionscrolling=no
4451 support_lastlog=no 4427 support_lastlog=no
4452 support_mousewheel=no 4428 support_mousewheel=no
4458 support_scroll_xterm=no 4434 support_scroll_xterm=no
4459 support_scroll_plain=no 4435 support_scroll_plain=no
4460 support_utmp=no 4436 support_utmp=no
4461 support_wtmp=no 4437 support_wtmp=no
4462 support_xim=no 4438 support_xim=no
4463 support_xpm=no
4464 support_afterimage=no 4439 support_afterimage=no
4465 support_afterstep=no 4440 support_afterstep=no
4466 support_xft=no 4441 support_xft=no
4467 support_unicode3=no 4442 support_unicode3=no
4468 support_combining=no 4443 support_combining=no
4473 codesets= 4448 codesets=
4474 fi 4449 fi
4475 if test x$enableval = xyes; then 4450 if test x$enableval = xyes; then
4476 support_frills=yes 4451 support_frills=yes
4477 support_inheritpixmap=yes 4452 support_inheritpixmap=yes
4478 support_tinting=yes
4479 support_fading=yes 4453 support_fading=yes
4480 support_keepscrolling=yes 4454 support_keepscrolling=yes
4481 support_selectionscrolling=yes 4455 support_selectionscrolling=yes
4482 support_lastlog=yes 4456 support_lastlog=yes
4483 support_mousewheel=yes 4457 support_mousewheel=yes
4489 support_scroll_xterm=yes 4463 support_scroll_xterm=yes
4490 support_scroll_plain=yes 4464 support_scroll_plain=yes
4491 support_utmp=yes 4465 support_utmp=yes
4492 support_wtmp=yes 4466 support_wtmp=yes
4493 support_xim=yes 4467 support_xim=yes
4494 support_xpm=yes
4495 support_afterimage=yes 4468 support_afterimage=yes
4496 support_afterstep=yes 4469 support_afterstep=yes
4497 support_xft=yes 4470 support_xft=yes
4498 support_unicode3=yes 4471 support_unicode3=yes
4499 support_combining=yes 4472 support_combining=yes
4505 fi 4478 fi
4506 4479
4507fi 4480fi
4508 4481
4509 4482
4483WARNINGS=no
4484# Check whether --enable-warnings was given.
4485if test "${enable_warnings+set}" = set; then
4486 enableval=$enable_warnings; if test x$enableval = xyes; then
4487 WARNINGS=yes
4488 fi
4489fi
4490
4491if 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
4498cat confdefs.h >>conftest.$ac_ext
4499cat >>conftest.$ac_ext <<_ACEOF
4500/* end confdefs.h. */
4501
4502int
4503main ()
4504{
4505
4506 ;
4507 return 0;
4508}
4509_ACEOF
4510rm -f conftest.$ac_objext
4511if { (ac_try="$ac_compile"
4512case "(($ac_try" in
4513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4515esac
4516eval "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 :
4528else
4529 echo "$as_me: failed program was:" >&5
4530sed 's/^/| /' conftest.$ac_ext >&5
4531
4532 CXXFLAGS="$save_CXXFLAGS"
4533fi
4534
4535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 else
4537 CXXFLAGS="$CXXFLAGS -w"
4538 fi
4539fi
4540
4510# Check whether --enable-unicode3 was given. 4541# Check whether --enable-unicode3 was given.
4511if test "${enable_unicode3+set}" = set; then 4542if test "${enable_unicode3+set}" = set; then
4512 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
4513 support_unicode3=$enableval 4544 support_unicode3=$enableval
4514 fi 4545 fi
4537 support_styles=$enableval 4568 support_styles=$enableval
4538 fi 4569 fi
4539fi 4570fi
4540 4571
4541 4572
4542# Check whether --enable-xpm-background was given.
4543if test "${enable_xpm_background+set}" = set; then
4544 enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then
4545 support_xpm=$enableval
4546 fi
4547fi
4548
4549
4550# Check whether --enable-afterimage was given. 4573# Check whether --enable-afterimage was given.
4551if test "${enable_afterimage+set}" = set; then 4574if test "${enable_afterimage+set}" = set; then
4552 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
4553 support_afterimage=$enableval 4576 support_afterimage=$enableval
4554 fi 4577 fi
4571 support_inheritpixmap=$enableval 4594 support_inheritpixmap=$enableval
4572 fi 4595 fi
4573fi 4596fi
4574 4597
4575 4598
4576# Check whether --enable-tinting was given.
4577if test "${enable_tinting+set}" = set; then
4578 enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then
4579 support_tinting=$enableval
4580 fi
4581fi
4582
4583
4584# Check whether --enable-fading was given. 4599# Check whether --enable-fading was given.
4585if test "${enable_fading+set}" = set; then 4600if test "${enable_fading+set}" = set; then
4586 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
4587 support_fading=$enableval 4602 support_fading=$enableval
4588 fi 4603 fi
4611 support_scroll_xterm=$enableval 4626 support_scroll_xterm=$enableval
4612 fi 4627 fi
4613fi 4628fi
4614 4629
4615 4630
4631# Check whether --enable-plain-scroll was given.
4632if 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
4636fi
4637
4638
4616# Check whether --enable-perl was given. 4639# Check whether --enable-perl was given.
4617if test "${enable_perl+set}" = set; then 4640if test "${enable_perl+set}" = set; then
4618 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
4619 support_perl=$enableval 4642 support_perl=$enableval
4620 fi
4621fi
4622
4623
4624# Check whether --enable-plain-scroll was given.
4625if test "${enable_plain_scroll+set}" = set; then
4626 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4627 support_scroll_plain=$enableval
4628 fi 4643 fi
4629fi 4644fi
4630 4645
4631 4646
4632 4647
4859#define RXVT_TERMINFO "$withval" 4874#define RXVT_TERMINFO "$withval"
4860_ACEOF 4875_ACEOF
4861 terminfo="$withval" 4876 terminfo="$withval"
4862 fi 4877 fi
4863fi 4878fi
4879
4880
4881
4882LIBEV_M4_AVOID_LIBRT=1
4883
4884ac_ext=cpp
4885ac_cpp='$CXXCPP $CPPFLAGS'
4886ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4887ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4888ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4889{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4890echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4891if test -z "$CXXCPP"; then
4892 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4894else
4895 # Double quotes because CXXCPP needs to be expanded
4896 for CXXCPP in "$CXX -E" "/lib/cpp"
4897 do
4898 ac_preproc_ok=false
4899for ac_cxx_preproc_warn_flag in '' yes
4900do
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
4910cat confdefs.h >>conftest.$ac_ext
4911cat >>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
4920if { (ac_try="$ac_cpp conftest.$ac_ext"
4921case "(($ac_try" in
4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4923 *) ac_try_echo=$ac_try;;
4924esac
4925eval "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 :
4937else
4938 echo "$as_me: failed program was:" >&5
4939sed 's/^/| /' conftest.$ac_ext >&5
4940
4941 # Broken: fails on valid input.
4942continue
4943fi
4944
4945rm -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
4952cat confdefs.h >>conftest.$ac_ext
4953cat >>conftest.$ac_ext <<_ACEOF
4954/* end confdefs.h. */
4955#include <ac_nonexistent.h>
4956_ACEOF
4957if { (ac_try="$ac_cpp conftest.$ac_ext"
4958case "(($ac_try" in
4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4961esac
4962eval "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.
4974continue
4975else
4976 echo "$as_me: failed program was:" >&5
4977sed 's/^/| /' conftest.$ac_ext >&5
4978
4979 # Passes both tests.
4980ac_preproc_ok=:
4981break
4982fi
4983
4984rm -f conftest.err conftest.$ac_ext
4985
4986done
4987# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4988rm -f conftest.err conftest.$ac_ext
4989if $ac_preproc_ok; then
4990 break
4991fi
4992
4993 done
4994 ac_cv_prog_CXXCPP=$CXXCPP
4995
4996fi
4997 CXXCPP=$ac_cv_prog_CXXCPP
4998else
4999 ac_cv_prog_CXXCPP=$CXXCPP
5000fi
5001{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5002echo "${ECHO_T}$CXXCPP" >&6; }
5003ac_preproc_ok=false
5004for ac_cxx_preproc_warn_flag in '' yes
5005do
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
5015cat confdefs.h >>conftest.$ac_ext
5016cat >>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
5025if { (ac_try="$ac_cpp conftest.$ac_ext"
5026case "(($ac_try" in
5027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5028 *) ac_try_echo=$ac_try;;
5029esac
5030eval "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 :
5042else
5043 echo "$as_me: failed program was:" >&5
5044sed 's/^/| /' conftest.$ac_ext >&5
5045
5046 # Broken: fails on valid input.
5047continue
5048fi
5049
5050rm -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
5057cat confdefs.h >>conftest.$ac_ext
5058cat >>conftest.$ac_ext <<_ACEOF
5059/* end confdefs.h. */
5060#include <ac_nonexistent.h>
5061_ACEOF
5062if { (ac_try="$ac_cpp conftest.$ac_ext"
5063case "(($ac_try" in
5064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5065 *) ac_try_echo=$ac_try;;
5066esac
5067eval "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.
5079continue
5080else
5081 echo "$as_me: failed program was:" >&5
5082sed 's/^/| /' conftest.$ac_ext >&5
5083
5084 # Passes both tests.
5085ac_preproc_ok=:
5086break
5087fi
5088
5089rm -f conftest.err conftest.$ac_ext
5090
5091done
5092# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5093rm -f conftest.err conftest.$ac_ext
5094if $ac_preproc_ok; then
5095 :
5096else
5097 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5098See \`config.log' for more details." >&5
5099echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5100See \`config.log' for more details." >&2;}
5101 { (exit 1); exit 1; }; }
5102fi
5103
5104ac_ext=cpp
5105ac_cpp='$CXXCPP $CPPFLAGS'
5106ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5109
5110
5111{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5112echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5113if test "${ac_cv_header_stdc+set}" = set; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5115else
5116 cat >conftest.$ac_ext <<_ACEOF
5117/* confdefs.h. */
5118_ACEOF
5119cat confdefs.h >>conftest.$ac_ext
5120cat >>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
5127int
5128main ()
5129{
5130
5131 ;
5132 return 0;
5133}
5134_ACEOF
5135rm -f conftest.$ac_objext
5136if { (ac_try="$ac_compile"
5137case "(($ac_try" in
5138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5139 *) ac_try_echo=$ac_try;;
5140esac
5141eval "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
5153else
5154 echo "$as_me: failed program was:" >&5
5155sed 's/^/| /' conftest.$ac_ext >&5
5156
5157 ac_cv_header_stdc=no
5158fi
5159
5160rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161
5162if 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
5167cat confdefs.h >>conftest.$ac_ext
5168cat >>conftest.$ac_ext <<_ACEOF
5169/* end confdefs.h. */
5170#include <string.h>
5171
5172_ACEOF
5173if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5174 $EGREP "memchr" >/dev/null 2>&1; then
5175 :
5176else
5177 ac_cv_header_stdc=no
5178fi
5179rm -f conftest*
5180
5181fi
5182
5183if 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
5188cat confdefs.h >>conftest.$ac_ext
5189cat >>conftest.$ac_ext <<_ACEOF
5190/* end confdefs.h. */
5191#include <stdlib.h>
5192
5193_ACEOF
5194if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5195 $EGREP "free" >/dev/null 2>&1; then
5196 :
5197else
5198 ac_cv_header_stdc=no
5199fi
5200rm -f conftest*
5201
5202fi
5203
5204if 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 :
5208else
5209 cat >conftest.$ac_ext <<_ACEOF
5210/* confdefs.h. */
5211_ACEOF
5212cat confdefs.h >>conftest.$ac_ext
5213cat >>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)))
5229int
5230main ()
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
5240rm -f conftest$ac_exeext
5241if { (ac_try="$ac_link"
5242case "(($ac_try" in
5243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5244 *) ac_try_echo=$ac_try;;
5245esac
5246eval "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;;
5254esac
5255eval "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 :
5261else
5262 echo "$as_me: program exited with status $ac_status" >&5
5263echo "$as_me: failed program was:" >&5
5264sed 's/^/| /' conftest.$ac_ext >&5
5265
5266( exit $ac_status )
5267ac_cv_header_stdc=no
5268fi
5269rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5270fi
5271
5272
5273fi
5274fi
5275{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5276echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5277if test $ac_cv_header_stdc = yes; then
5278
5279cat >>confdefs.h <<\_ACEOF
5280#define STDC_HEADERS 1
5281_ACEOF
5282
5283fi
5284
5285# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5296 inttypes.h stdint.h unistd.h
5297do
5298as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5299{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5300echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5301if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5303else
5304 cat >conftest.$ac_ext <<_ACEOF
5305/* confdefs.h. */
5306_ACEOF
5307cat confdefs.h >>conftest.$ac_ext
5308cat >>conftest.$ac_ext <<_ACEOF
5309/* end confdefs.h. */
5310$ac_includes_default
5311
5312#include <$ac_header>
5313_ACEOF
5314rm -f conftest.$ac_objext
5315if { (ac_try="$ac_compile"
5316case "(($ac_try" in
5317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5318 *) ac_try_echo=$ac_try;;
5319esac
5320eval "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"
5332else
5333 echo "$as_me: failed program was:" >&5
5334sed 's/^/| /' conftest.$ac_ext >&5
5335
5336 eval "$as_ac_Header=no"
5337fi
5338
5339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5340fi
5341ac_res=`eval echo '${'$as_ac_Header'}'`
5342 { echo "$as_me:$LINENO: result: $ac_res" >&5
5343echo "${ECHO_T}$ac_res" >&6; }
5344if 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
5349fi
5350
5351done
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h
5362do
5363as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5364if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5366echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5367if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5369fi
5370ac_res=`eval echo '${'$as_ac_Header'}'`
5371 { echo "$as_me:$LINENO: result: $ac_res" >&5
5372echo "${ECHO_T}$ac_res" >&6; }
5373else
5374 # Is the header compilable?
5375{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5376echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5377cat >conftest.$ac_ext <<_ACEOF
5378/* confdefs.h. */
5379_ACEOF
5380cat confdefs.h >>conftest.$ac_ext
5381cat >>conftest.$ac_ext <<_ACEOF
5382/* end confdefs.h. */
5383$ac_includes_default
5384#include <$ac_header>
5385_ACEOF
5386rm -f conftest.$ac_objext
5387if { (ac_try="$ac_compile"
5388case "(($ac_try" in
5389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5390 *) ac_try_echo=$ac_try;;
5391esac
5392eval "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
5404else
5405 echo "$as_me: failed program was:" >&5
5406sed 's/^/| /' conftest.$ac_ext >&5
5407
5408 ac_header_compiler=no
5409fi
5410
5411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5413echo "${ECHO_T}$ac_header_compiler" >&6; }
5414
5415# Is the header present?
5416{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5417echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5418cat >conftest.$ac_ext <<_ACEOF
5419/* confdefs.h. */
5420_ACEOF
5421cat confdefs.h >>conftest.$ac_ext
5422cat >>conftest.$ac_ext <<_ACEOF
5423/* end confdefs.h. */
5424#include <$ac_header>
5425_ACEOF
5426if { (ac_try="$ac_cpp conftest.$ac_ext"
5427case "(($ac_try" in
5428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429 *) ac_try_echo=$ac_try;;
5430esac
5431eval "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
5443else
5444 echo "$as_me: failed program was:" >&5
5445sed 's/^/| /' conftest.$ac_ext >&5
5446
5447 ac_header_preproc=no
5448fi
5449
5450rm -f conftest.err conftest.$ac_ext
5451{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5452echo "${ECHO_T}$ac_header_preproc" >&6; }
5453
5454# So? What about this header?
5455case $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
5458echo "$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
5460echo "$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
5465echo "$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
5467echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5469echo "$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
5471echo "$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
5473echo "$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
5475echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5476
5477 ;;
5478esac
5479{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5480echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5481if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5483else
5484 eval "$as_ac_Header=\$ac_header_preproc"
5485fi
5486ac_res=`eval echo '${'$as_ac_Header'}'`
5487 { echo "$as_me:$LINENO: result: $ac_res" >&5
5488echo "${ECHO_T}$ac_res" >&6; }
5489
5490fi
5491if 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
5496fi
5497
5498done
5499
5500
5501
5502
5503
5504
5505
5506
5507for ac_func in inotify_init epoll_ctl kqueue port_create poll select
5508do
5509as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5510{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5511echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5512if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5514else
5515 cat >conftest.$ac_ext <<_ACEOF
5516/* confdefs.h. */
5517_ACEOF
5518cat confdefs.h >>conftest.$ac_ext
5519cat >>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
5542extern "C"
5543#endif
5544char $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
5549choke me
5550#endif
5551
5552int
5553main ()
5554{
5555return $ac_func ();
5556 ;
5557 return 0;
5558}
5559_ACEOF
5560rm -f conftest.$ac_objext conftest$ac_exeext
5561if { (ac_try="$ac_link"
5562case "(($ac_try" in
5563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5564 *) ac_try_echo=$ac_try;;
5565esac
5566eval "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"
5579else
5580 echo "$as_me: failed program was:" >&5
5581sed 's/^/| /' conftest.$ac_ext >&5
5582
5583 eval "$as_ac_var=no"
5584fi
5585
5586rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5587 conftest$ac_exeext conftest.$ac_ext
5588fi
5589ac_res=`eval echo '${'$as_ac_var'}'`
5590 { echo "$as_me:$LINENO: result: $ac_res" >&5
5591echo "${ECHO_T}$ac_res" >&6; }
5592if 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
5597fi
5598done
5599
5600
5601{ echo "$as_me:$LINENO: checking for clock_gettime" >&5
5602echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; }
5603if test "${ac_cv_func_clock_gettime+set}" = set; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5605else
5606 cat >conftest.$ac_ext <<_ACEOF
5607/* confdefs.h. */
5608_ACEOF
5609cat confdefs.h >>conftest.$ac_ext
5610cat >>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
5633extern "C"
5634#endif
5635char 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
5640choke me
5641#endif
5642
5643int
5644main ()
5645{
5646return clock_gettime ();
5647 ;
5648 return 0;
5649}
5650_ACEOF
5651rm -f conftest.$ac_objext conftest$ac_exeext
5652if { (ac_try="$ac_link"
5653case "(($ac_try" in
5654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5655 *) ac_try_echo=$ac_try;;
5656esac
5657eval "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
5670else
5671 echo "$as_me: failed program was:" >&5
5672sed 's/^/| /' conftest.$ac_ext >&5
5673
5674 ac_cv_func_clock_gettime=no
5675fi
5676
5677rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5678 conftest$ac_exeext conftest.$ac_ext
5679fi
5680{ echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5
5681echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5682if test $ac_cv_func_clock_gettime = yes; then
5683 :
5684else
5685
5686 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5687
5688{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5689echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5690if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5691 echo $ECHO_N "(cached) $ECHO_C" >&6
5692else
5693 ac_check_lib_save_LIBS=$LIBS
5694LIBS="-lrt $LIBS"
5695cat >conftest.$ac_ext <<_ACEOF
5696/* confdefs.h. */
5697_ACEOF
5698cat confdefs.h >>conftest.$ac_ext
5699cat >>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
5706extern "C"
5707#endif
5708char clock_gettime ();
5709int
5710main ()
5711{
5712return clock_gettime ();
5713 ;
5714 return 0;
5715}
5716_ACEOF
5717rm -f conftest.$ac_objext conftest$ac_exeext
5718if { (ac_try="$ac_link"
5719case "(($ac_try" in
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5722esac
5723eval "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
5736else
5737 echo "$as_me: failed program was:" >&5
5738sed 's/^/| /' conftest.$ac_ext >&5
5739
5740 ac_cv_lib_rt_clock_gettime=no
5741fi
5742
5743rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5744 conftest$ac_exeext conftest.$ac_ext
5745LIBS=$ac_check_lib_save_LIBS
5746fi
5747{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
5748echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
5749if 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
5756fi
5757
5758 unset ac_cv_func_clock_gettime
5759
5760for ac_func in clock_gettime
5761do
5762as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5763{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5764echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5765if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5767else
5768 cat >conftest.$ac_ext <<_ACEOF
5769/* confdefs.h. */
5770_ACEOF
5771cat confdefs.h >>conftest.$ac_ext
5772cat >>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
5795extern "C"
5796#endif
5797char $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
5802choke me
5803#endif
5804
5805int
5806main ()
5807{
5808return $ac_func ();
5809 ;
5810 return 0;
5811}
5812_ACEOF
5813rm -f conftest.$ac_objext conftest$ac_exeext
5814if { (ac_try="$ac_link"
5815case "(($ac_try" in
5816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5817 *) ac_try_echo=$ac_try;;
5818esac
5819eval "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"
5832else
5833 echo "$as_me: failed program was:" >&5
5834sed 's/^/| /' conftest.$ac_ext >&5
5835
5836 eval "$as_ac_var=no"
5837fi
5838
5839rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5840 conftest$ac_exeext conftest.$ac_ext
5841fi
5842ac_res=`eval echo '${'$as_ac_var'}'`
5843 { echo "$as_me:$LINENO: result: $ac_res" >&5
5844echo "${ECHO_T}$ac_res" >&6; }
5845if 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
5850fi
5851done
5852
5853 fi
5854
5855fi
5856
5857
5858
5859{ echo "$as_me:$LINENO: checking for ceil in -lm" >&5
5860echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
5861if test "${ac_cv_lib_m_ceil+set}" = set; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5863else
5864 ac_check_lib_save_LIBS=$LIBS
5865LIBS="-lm $LIBS"
5866cat >conftest.$ac_ext <<_ACEOF
5867/* confdefs.h. */
5868_ACEOF
5869cat confdefs.h >>conftest.$ac_ext
5870cat >>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
5877extern "C"
5878#endif
5879char ceil ();
5880int
5881main ()
5882{
5883return ceil ();
5884 ;
5885 return 0;
5886}
5887_ACEOF
5888rm -f conftest.$ac_objext conftest$ac_exeext
5889if { (ac_try="$ac_link"
5890case "(($ac_try" in
5891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5892 *) ac_try_echo=$ac_try;;
5893esac
5894eval "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
5907else
5908 echo "$as_me: failed program was:" >&5
5909sed 's/^/| /' conftest.$ac_ext >&5
5910
5911 ac_cv_lib_m_ceil=no
5912fi
5913
5914rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5915 conftest$ac_exeext conftest.$ac_ext
5916LIBS=$ac_check_lib_save_LIBS
5917fi
5918{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
5919echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; }
5920if 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
5927fi
5928
5929
5930
5931
4864 5932
4865 5933
4866 5934
4867# 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.
4868set dummy tic; ac_word=$2 5936set dummy tic; ac_word=$2
4889 fi 5957 fi
4890done 5958done
4891done 5959done
4892IFS=$as_save_IFS 5960IFS=$as_save_IFS
4893 5961
5962 test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":"
4894 ;; 5963 ;;
4895esac 5964esac
4896fi 5965fi
4897TIC=$ac_cv_path_TIC 5966TIC=$ac_cv_path_TIC
4898if test -n "$TIC"; then 5967if test -n "$TIC"; then
4901else 5970else
4902 { echo "$as_me:$LINENO: result: no" >&5 5971 { echo "$as_me:$LINENO: result: no" >&5
4903echo "${ECHO_T}no" >&6; } 5972echo "${ECHO_T}no" >&6; }
4904fi 5973fi
4905 5974
4906
4907
4908
4909
4910ac_ext=cpp
4911ac_cpp='$CXXCPP $CPPFLAGS'
4912ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4915{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4916echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4917if test -z "$CXXCPP"; then
4918 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4919 echo $ECHO_N "(cached) $ECHO_C" >&6
4920else
4921 # Double quotes because CXXCPP needs to be expanded
4922 for CXXCPP in "$CXX -E" "/lib/cpp"
4923 do
4924 ac_preproc_ok=false
4925for ac_cxx_preproc_warn_flag in '' yes
4926do
4927 # Use a header file that comes with gcc, so configuring glibc
4928 # with a fresh cross-compiler works.
4929 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4930 # <limits.h> exists even on freestanding compilers.
4931 # On the NeXT, cc -E runs the code through the compiler's parser,
4932 # not just through cpp. "Syntax error" is here to catch this case.
4933 cat >conftest.$ac_ext <<_ACEOF
4934/* confdefs.h. */
4935_ACEOF
4936cat confdefs.h >>conftest.$ac_ext
4937cat >>conftest.$ac_ext <<_ACEOF
4938/* end confdefs.h. */
4939#ifdef __STDC__
4940# include <limits.h>
4941#else
4942# include <assert.h>
4943#endif
4944 Syntax error
4945_ACEOF
4946if { (ac_try="$ac_cpp conftest.$ac_ext"
4947case "(($ac_try" in
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4950esac
4951eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4953 ac_status=$?
4954 grep -v '^ *+' conftest.er1 >conftest.err
4955 rm -f conftest.er1
4956 cat conftest.err >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); } >/dev/null && {
4959 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4960 test ! -s conftest.err
4961 }; then
4962 :
4963else
4964 echo "$as_me: failed program was:" >&5
4965sed 's/^/| /' conftest.$ac_ext >&5
4966
4967 # Broken: fails on valid input.
4968continue
4969fi
4970
4971rm -f conftest.err conftest.$ac_ext
4972
4973 # OK, works on sane cases. Now check whether nonexistent headers
4974 # can be detected and how.
4975 cat >conftest.$ac_ext <<_ACEOF
4976/* confdefs.h. */
4977_ACEOF
4978cat confdefs.h >>conftest.$ac_ext
4979cat >>conftest.$ac_ext <<_ACEOF
4980/* end confdefs.h. */
4981#include <ac_nonexistent.h>
4982_ACEOF
4983if { (ac_try="$ac_cpp conftest.$ac_ext"
4984case "(($ac_try" in
4985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4986 *) ac_try_echo=$ac_try;;
4987esac
4988eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4990 ac_status=$?
4991 grep -v '^ *+' conftest.er1 >conftest.err
4992 rm -f conftest.er1
4993 cat conftest.err >&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); } >/dev/null && {
4996 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4997 test ! -s conftest.err
4998 }; then
4999 # Broken: success on invalid input.
5000continue
5001else
5002 echo "$as_me: failed program was:" >&5
5003sed 's/^/| /' conftest.$ac_ext >&5
5004
5005 # Passes both tests.
5006ac_preproc_ok=:
5007break
5008fi
5009
5010rm -f conftest.err conftest.$ac_ext
5011
5012done
5013# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5014rm -f conftest.err conftest.$ac_ext
5015if $ac_preproc_ok; then
5016 break
5017fi
5018
5019 done
5020 ac_cv_prog_CXXCPP=$CXXCPP
5021
5022fi
5023 CXXCPP=$ac_cv_prog_CXXCPP
5024else
5025 ac_cv_prog_CXXCPP=$CXXCPP
5026fi
5027{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5028echo "${ECHO_T}$CXXCPP" >&6; }
5029ac_preproc_ok=false
5030for ac_cxx_preproc_warn_flag in '' yes
5031do
5032 # Use a header file that comes with gcc, so configuring glibc
5033 # with a fresh cross-compiler works.
5034 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5035 # <limits.h> exists even on freestanding compilers.
5036 # On the NeXT, cc -E runs the code through the compiler's parser,
5037 # not just through cpp. "Syntax error" is here to catch this case.
5038 cat >conftest.$ac_ext <<_ACEOF
5039/* confdefs.h. */
5040_ACEOF
5041cat confdefs.h >>conftest.$ac_ext
5042cat >>conftest.$ac_ext <<_ACEOF
5043/* end confdefs.h. */
5044#ifdef __STDC__
5045# include <limits.h>
5046#else
5047# include <assert.h>
5048#endif
5049 Syntax error
5050_ACEOF
5051if { (ac_try="$ac_cpp conftest.$ac_ext"
5052case "(($ac_try" in
5053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5054 *) ac_try_echo=$ac_try;;
5055esac
5056eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5058 ac_status=$?
5059 grep -v '^ *+' conftest.er1 >conftest.err
5060 rm -f conftest.er1
5061 cat conftest.err >&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } >/dev/null && {
5064 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5065 test ! -s conftest.err
5066 }; then
5067 :
5068else
5069 echo "$as_me: failed program was:" >&5
5070sed 's/^/| /' conftest.$ac_ext >&5
5071
5072 # Broken: fails on valid input.
5073continue
5074fi
5075
5076rm -f conftest.err conftest.$ac_ext
5077
5078 # OK, works on sane cases. Now check whether nonexistent headers
5079 # can be detected and how.
5080 cat >conftest.$ac_ext <<_ACEOF
5081/* confdefs.h. */
5082_ACEOF
5083cat confdefs.h >>conftest.$ac_ext
5084cat >>conftest.$ac_ext <<_ACEOF
5085/* end confdefs.h. */
5086#include <ac_nonexistent.h>
5087_ACEOF
5088if { (ac_try="$ac_cpp conftest.$ac_ext"
5089case "(($ac_try" in
5090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5091 *) ac_try_echo=$ac_try;;
5092esac
5093eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5095 ac_status=$?
5096 grep -v '^ *+' conftest.er1 >conftest.err
5097 rm -f conftest.er1
5098 cat conftest.err >&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } >/dev/null && {
5101 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5102 test ! -s conftest.err
5103 }; then
5104 # Broken: success on invalid input.
5105continue
5106else
5107 echo "$as_me: failed program was:" >&5
5108sed 's/^/| /' conftest.$ac_ext >&5
5109
5110 # Passes both tests.
5111ac_preproc_ok=:
5112break
5113fi
5114
5115rm -f conftest.err conftest.$ac_ext
5116
5117done
5118# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5119rm -f conftest.err conftest.$ac_ext
5120if $ac_preproc_ok; then
5121 :
5122else
5123 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5124See \`config.log' for more details." >&5
5125echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5126See \`config.log' for more details." >&2;}
5127 { (exit 1); exit 1; }; }
5128fi
5129
5130ac_ext=cpp
5131ac_cpp='$CXXCPP $CPPFLAGS'
5132ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5135 5975
5136 5976
5137{ echo "$as_me:$LINENO: checking for X" >&5 5977{ echo "$as_me:$LINENO: checking for X" >&5
5138echo $ECHO_N "checking for X... $ECHO_C" >&6; } 5978echo $ECHO_N "checking for X... $ECHO_C" >&6; }
5139 5979
6445fi 7285fi
6446 7286
6447 LDFLAGS=$ac_save_LDFLAGS 7287 LDFLAGS=$ac_save_LDFLAGS
6448 7288
6449fi 7289fi
6450
6451 7290
6452 7291
6453AFTERIMAGE_CFLAGS= 7292AFTERIMAGE_CFLAGS=
6454AFTERIMAGE_LIBS= 7293AFTERIMAGE_LIBS=
6455AFTERIMAGE_VERSION= 7294AFTERIMAGE_VERSION=
6526echo "${ECHO_T}no" >&6; } 7365echo "${ECHO_T}no" >&6; }
6527 fi 7366 fi
6528 fi 7367 fi
6529fi 7368fi
6530 7369
6531if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then
6532
6533
6534
6535# Initialize some more variables set by options.
6536# The variables have the same names as the options, with
6537# dashes changed to underlines.
6538
6539# If we find XPM, set shell vars xpm_includes and xpm_libraries to the
6540# paths, otherwise set no_xpm=yes.
6541# Uses ac_ vars as temps to allow command line to override cache and checks.
6542{ echo "$as_me:$LINENO: checking for libXpm" >&5
6543echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; }
6544
6545
6546# Check whether --with-xpm_includes was given.
6547if test "${with_xpm_includes+set}" = set; then
6548 withval=$with_xpm_includes; xpm_includes="$withval"
6549else
6550 xpm_includes=NO
6551fi
6552
6553
6554# Check whether --with-xpm_library was given.
6555if test "${with_xpm_library+set}" = set; then
6556 withval=$with_xpm_library; xpm_libraries="$withval"
6557else
6558 xpm_libraries=NO
6559fi
6560
6561
6562# --without-xpm overrides everything else, but does not touch the cache.
6563
6564# Check whether --with-xpm was given.
6565if test "${with_xpm+set}" = set; then
6566 withval=$with_xpm;
6567fi
6568
6569if test "$with_xpm" = no; then
6570 have_xpm=disabled
6571else
6572 if test "${ac_cv_have_xpm+set}" = set; then
6573 echo $ECHO_N "(cached) $ECHO_C" >&6
6574else
6575
6576 vt_xpm_include_X11=no
6577 if test -n "$xpm_includes"; then
6578 vt_xpm_includes=$xpm_includes
6579 else
6580 vt_xpm_includes=NO
6581 fi
6582 if test -n "$xpm_libraries"; then
6583 vt_xpm_libraries=$xpm_libraries
6584 else
6585 vt_xpm_libraries=NO
6586 fi
6587
6588 if test "$vt_xpm_includes" = NO; then
6589 # Guess where to find xpm.h
6590
6591ac_save_CPPFLAGS="$CPPFLAGS"
6592CPPFLAGS="$CPPFLAGS $X_CFLAGS"
6593
6594 # First, try using that file with no special directory specified.
6595cat >conftest.$ac_ext <<_ACEOF
6596/* confdefs.h. */
6597_ACEOF
6598cat confdefs.h >>conftest.$ac_ext
6599cat >>conftest.$ac_ext <<_ACEOF
6600/* end confdefs.h. */
6601#include <X11/xpm.h>
6602_ACEOF
6603if { (ac_try="$ac_cpp conftest.$ac_ext"
6604case "(($ac_try" in
6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6606 *) ac_try_echo=$ac_try;;
6607esac
6608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6610 ac_status=$?
6611 grep -v '^ *+' conftest.er1 >conftest.err
6612 rm -f conftest.er1
6613 cat conftest.err >&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } >/dev/null && {
6616 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6617 test ! -s conftest.err
6618 }; then
6619 # We can compile using X headers with no special include directory.
6620vt_xpm_includes=
6621vt_xpm_include_X11=yes
6622else
6623 echo "$as_me: failed program was:" >&5
6624sed 's/^/| /' conftest.$ac_ext >&5
6625
6626 CPPFLAGS="$ac_save_CPPFLAGS"
6627# Look for the header file in a standard set of common directories.
6628 for ac_dir in \
6629 /usr/X11/include \
6630 /usr/X11R6/include \
6631 /usr/X11R5/include \
6632 /usr/X11R4/include \
6633 \
6634 /usr/include/X11 \
6635 /usr/include/X11R6 \
6636 /usr/include/X11R5 \
6637 /usr/include/X11R4 \
6638 \
6639 /usr/local/X11/include \
6640 /usr/local/X11R6/include \
6641 /usr/local/X11R5/include \
6642 /usr/local/X11R4/include \
6643 \
6644 /usr/local/include/X11 \
6645 /usr/local/include/X11R6 \
6646 /usr/local/include/X11R5 \
6647 /usr/local/include/X11R4 \
6648 \
6649 /usr/X386/include \
6650 /usr/x386/include \
6651 /usr/XFree86/include/X11 \
6652 \
6653 /usr/include \
6654 /usr/local/include \
6655 /usr/unsupported/include \
6656 /usr/athena/include \
6657 /usr/local/x11r5/include \
6658 /usr/lpp/Xamples/include \
6659 \
6660 /usr/openwin/include \
6661 /usr/openwin/share/include \
6662 ; \
6663 do
6664 if test -r "$ac_dir/X11/xpm.h"; then
6665 vt_xpm_includes="$ac_dir"
6666 vt_xpm_include_X11=yes
6667 break
6668 else
6669 if test -r "$ac_dir/xpm.h"; then
6670 vt_xpm_includes=$ac_dir
6671 break
6672 fi
6673 fi
6674 done
6675fi
6676
6677rm -f conftest.err conftest.$ac_ext
6678fi
6679
6680if test "$vt_xpm_libraries" = NO; then
6681 # Check for the libraries.
6682
6683 # See if we find them without any special options.
6684 # Don't add to $LIBS permanently.
6685 ac_save_LIBS="$LIBS"
6686 LIBS="$LIBS $X_LIBS -lXpm -lX11"
6687cat >conftest.$ac_ext <<_ACEOF
6688/* confdefs.h. */
6689_ACEOF
6690cat confdefs.h >>conftest.$ac_ext
6691cat >>conftest.$ac_ext <<_ACEOF
6692/* end confdefs.h. */
6693
6694int
6695main ()
6696{
6697XpmReadFileToPixmap()
6698 ;
6699 return 0;
6700}
6701_ACEOF
6702rm -f conftest.$ac_objext conftest$ac_exeext
6703if { (ac_try="$ac_link"
6704case "(($ac_try" in
6705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6706 *) ac_try_echo=$ac_try;;
6707esac
6708eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6709 (eval "$ac_link") 2>conftest.er1
6710 ac_status=$?
6711 grep -v '^ *+' conftest.er1 >conftest.err
6712 rm -f conftest.er1
6713 cat conftest.err >&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); } && {
6716 test -z "$ac_cxx_werror_flag" ||
6717 test ! -s conftest.err
6718 } && test -s conftest$ac_exeext &&
6719 $as_test_x conftest$ac_exeext; then
6720 LIBS="$ac_save_LIBS"
6721# We can link libXpm with no special library path.
6722vt_xpm_libraries=
6723else
6724 echo "$as_me: failed program was:" >&5
6725sed 's/^/| /' conftest.$ac_ext >&5
6726
6727 LIBS="$ac_save_LIBS"
6728# First see if replacing the include by lib works.
6729for ac_dir in \
6730 `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \
6731 /usr/X11/lib \
6732 /usr/X11R6/lib \
6733 /usr/X11R5/lib \
6734 /usr/X11R4/lib \
6735 \
6736 /usr/lib/X11 \
6737 /usr/lib/X11R6 \
6738 /usr/lib/X11R5 \
6739 /usr/lib/X11R4 \
6740 \
6741 /usr/local/X11/lib \
6742 /usr/local/X11R6/lib \
6743 /usr/local/X11R5/lib \
6744 /usr/local/X11R4/lib \
6745 \
6746 /usr/local/lib/X11 \
6747 /usr/local/lib/X11R6 \
6748 /usr/local/lib/X11R5 \
6749 /usr/local/lib/X11R4 \
6750 \
6751 /usr/X386/lib \
6752 /usr/x386/lib \
6753 /usr/XFree86/lib/X11 \
6754 \
6755 /usr/lib \
6756 /usr/local/lib \
6757 /usr/unsupported/lib \
6758 /usr/athena/lib \
6759 /usr/local/x11r5/lib \
6760 /usr/lpp/Xamples/lib \
6761 \
6762 /usr/openwin/lib \
6763 /usr/openwin/share/lib \
6764 ; \
6765do
6766 for ac_extension in a so sl; do
6767 if test -r $ac_dir/libXpm.$ac_extension; then
6768 vt_xpm_libraries=$ac_dir
6769 break 2
6770 fi
6771 done
6772done
6773fi
6774
6775rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6776 conftest$ac_exeext conftest.$ac_ext
6777fi
6778
6779
6780 if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then
6781 ac_cv_have_xpm="have_xpm=no"
6782 else
6783 ac_cv_have_xpm="have_xpm=yes \
6784 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
6785 vt_xpm_include_X11=$vt_xpm_include_X11"
6786 fi
6787fi
6788 eval "$ac_cv_have_xpm"
6789fi
6790
6791if test "$have_xpm" != yes; then
6792 { echo "$as_me:$LINENO: result: $have_xpm" >&5
6793echo "${ECHO_T}$have_xpm" >&6; }
6794 no_xpm=yes
6795else
6796 if test "$xpm_includes" != NO; then
6797 if test "$xpm_includes" = "$vt_xpm_includes"; then
6798 if test -r "$xpm_includes/X11/xpm.h"; then
6799 vt_xpm_include_X11=yes
6800 fi
6801 else
6802 vt_xpm_include_X11=no
6803 if test -z "$xpm_includes"; then
6804 cat >conftest.$ac_ext <<_ACEOF
6805/* confdefs.h. */
6806_ACEOF
6807cat confdefs.h >>conftest.$ac_ext
6808cat >>conftest.$ac_ext <<_ACEOF
6809/* end confdefs.h. */
6810#include <X11/xpm.h>
6811_ACEOF
6812if { (ac_try="$ac_cpp conftest.$ac_ext"
6813case "(($ac_try" in
6814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6815 *) ac_try_echo=$ac_try;;
6816esac
6817eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6819 ac_status=$?
6820 grep -v '^ *+' conftest.er1 >conftest.err
6821 rm -f conftest.er1
6822 cat conftest.err >&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } >/dev/null && {
6825 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6826 test ! -s conftest.err
6827 }; then
6828 vt_xpm_include_X11=yes
6829else
6830 echo "$as_me: failed program was:" >&5
6831sed 's/^/| /' conftest.$ac_ext >&5
6832
6833
6834fi
6835
6836rm -f conftest.err conftest.$ac_ext
6837 else
6838 if test -r "$xpm_includes/X11/xpm.h"; then
6839 vt_xpm_include_X11=yes
6840 fi
6841 fi
6842 fi
6843 vt_xpm_includes=$xpm_includes
6844 fi
6845 if test "x$xpm_libraries" != xNO; then
6846 vt_xpm_libraries=$xpm_libraries
6847 fi
6848 # Update the cache value to reflect the command line values.
6849 ac_cv_have_xpm="have_xpm=yes \
6850 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
6851 vt_xpm_include_X11=$vt_xpm_include_X11"
6852 eval "$ac_cv_have_xpm"
6853 { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5
6854echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; }
6855 if test -n "$vt_xpm_includes"; then
6856 XPM_CPPFLAGS="-DHAVE_LIBXPM"
6857 fi
6858 if test -n "$vt_xpm_includes"; then
6859 XPM_CFLAGS="-I$vt_xpm_includes"
6860 fi
6861 XPM_LIBS="-lXpm"
6862 if test -n "$vt_xpm_libraries"; then
6863 XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS"
6864 fi
6865 if test "x$vt_xpm_include_X11" = xyes; then
6866
6867cat >>confdefs.h <<\_ACEOF
6868#define XPM_INC_X11 1
6869_ACEOF
6870
6871 fi
6872fi
6873
6874
6875
6876
6877
6878 if test x$no_xpm = xyes; then
6879 support_xpm=needsmanualspecification
6880 fi
6881fi
6882
6883{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6884echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6885if test "${ac_cv_header_sys_wait_h+set}" = set; then
6886 echo $ECHO_N "(cached) $ECHO_C" >&6
6887else
6888 cat >conftest.$ac_ext <<_ACEOF
6889/* confdefs.h. */
6890_ACEOF
6891cat confdefs.h >>conftest.$ac_ext
6892cat >>conftest.$ac_ext <<_ACEOF
6893/* end confdefs.h. */
6894#include <sys/types.h>
6895#include <sys/wait.h>
6896#ifndef WEXITSTATUS
6897# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6898#endif
6899#ifndef WIFEXITED
6900# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6901#endif
6902
6903int
6904main ()
6905{
6906 int s;
6907 wait (&s);
6908 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6909 ;
6910 return 0;
6911}
6912_ACEOF
6913rm -f conftest.$ac_objext
6914if { (ac_try="$ac_compile"
6915case "(($ac_try" in
6916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6917 *) ac_try_echo=$ac_try;;
6918esac
6919eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6920 (eval "$ac_compile") 2>conftest.er1
6921 ac_status=$?
6922 grep -v '^ *+' conftest.er1 >conftest.err
6923 rm -f conftest.er1
6924 cat conftest.err >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); } && {
6927 test -z "$ac_cxx_werror_flag" ||
6928 test ! -s conftest.err
6929 } && test -s conftest.$ac_objext; then
6930 ac_cv_header_sys_wait_h=yes
6931else
6932 echo "$as_me: failed program was:" >&5
6933sed 's/^/| /' conftest.$ac_ext >&5
6934
6935 ac_cv_header_sys_wait_h=no
6936fi
6937
6938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6939fi
6940{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6941echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6942if test $ac_cv_header_sys_wait_h = yes; then
6943
6944cat >>confdefs.h <<\_ACEOF
6945#define HAVE_SYS_WAIT_H 1
6946_ACEOF
6947
6948fi
6949
6950{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6951echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6952if test "${ac_cv_header_stdc+set}" = set; then
6953 echo $ECHO_N "(cached) $ECHO_C" >&6
6954else
6955 cat >conftest.$ac_ext <<_ACEOF
6956/* confdefs.h. */
6957_ACEOF
6958cat confdefs.h >>conftest.$ac_ext
6959cat >>conftest.$ac_ext <<_ACEOF
6960/* end confdefs.h. */
6961#include <stdlib.h>
6962#include <stdarg.h>
6963#include <string.h>
6964#include <float.h>
6965
6966int
6967main ()
6968{
6969
6970 ;
6971 return 0;
6972}
6973_ACEOF
6974rm -f conftest.$ac_objext
6975if { (ac_try="$ac_compile"
6976case "(($ac_try" in
6977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6978 *) ac_try_echo=$ac_try;;
6979esac
6980eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6981 (eval "$ac_compile") 2>conftest.er1
6982 ac_status=$?
6983 grep -v '^ *+' conftest.er1 >conftest.err
6984 rm -f conftest.er1
6985 cat conftest.err >&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); } && {
6988 test -z "$ac_cxx_werror_flag" ||
6989 test ! -s conftest.err
6990 } && test -s conftest.$ac_objext; then
6991 ac_cv_header_stdc=yes
6992else
6993 echo "$as_me: failed program was:" >&5
6994sed 's/^/| /' conftest.$ac_ext >&5
6995
6996 ac_cv_header_stdc=no
6997fi
6998
6999rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7000
7001if test $ac_cv_header_stdc = yes; then
7002 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7003 cat >conftest.$ac_ext <<_ACEOF
7004/* confdefs.h. */
7005_ACEOF
7006cat confdefs.h >>conftest.$ac_ext
7007cat >>conftest.$ac_ext <<_ACEOF
7008/* end confdefs.h. */
7009#include <string.h>
7010
7011_ACEOF
7012if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7013 $EGREP "memchr" >/dev/null 2>&1; then
7014 :
7015else
7016 ac_cv_header_stdc=no
7017fi
7018rm -f conftest*
7019
7020fi
7021
7022if test $ac_cv_header_stdc = yes; then
7023 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7024 cat >conftest.$ac_ext <<_ACEOF
7025/* confdefs.h. */
7026_ACEOF
7027cat confdefs.h >>conftest.$ac_ext
7028cat >>conftest.$ac_ext <<_ACEOF
7029/* end confdefs.h. */
7030#include <stdlib.h>
7031
7032_ACEOF
7033if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7034 $EGREP "free" >/dev/null 2>&1; then
7035 :
7036else
7037 ac_cv_header_stdc=no
7038fi
7039rm -f conftest*
7040
7041fi
7042
7043if test $ac_cv_header_stdc = yes; then
7044 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7045 if test "$cross_compiling" = yes; then
7046 :
7047else
7048 cat >conftest.$ac_ext <<_ACEOF
7049/* confdefs.h. */
7050_ACEOF
7051cat confdefs.h >>conftest.$ac_ext
7052cat >>conftest.$ac_ext <<_ACEOF
7053/* end confdefs.h. */
7054#include <ctype.h>
7055#include <stdlib.h>
7056#if ((' ' & 0x0FF) == 0x020)
7057# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7058# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7059#else
7060# define ISLOWER(c) \
7061 (('a' <= (c) && (c) <= 'i') \
7062 || ('j' <= (c) && (c) <= 'r') \
7063 || ('s' <= (c) && (c) <= 'z'))
7064# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7065#endif
7066
7067#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7068int
7069main ()
7070{
7071 int i;
7072 for (i = 0; i < 256; i++)
7073 if (XOR (islower (i), ISLOWER (i))
7074 || toupper (i) != TOUPPER (i))
7075 return 2;
7076 return 0;
7077}
7078_ACEOF
7079rm -f conftest$ac_exeext
7080if { (ac_try="$ac_link"
7081case "(($ac_try" in
7082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7083 *) ac_try_echo=$ac_try;;
7084esac
7085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7086 (eval "$ac_link") 2>&5
7087 ac_status=$?
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7090 { (case "(($ac_try" in
7091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7092 *) ac_try_echo=$ac_try;;
7093esac
7094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7095 (eval "$ac_try") 2>&5
7096 ac_status=$?
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); }; }; then
7099 :
7100else
7101 echo "$as_me: program exited with status $ac_status" >&5
7102echo "$as_me: failed program was:" >&5
7103sed 's/^/| /' conftest.$ac_ext >&5
7104
7105( exit $ac_status )
7106ac_cv_header_stdc=no
7107fi
7108rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7109fi
7110
7111
7112fi
7113fi
7114{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7115echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7116if test $ac_cv_header_stdc = yes; then
7117
7118cat >>confdefs.h <<\_ACEOF
7119#define STDC_HEADERS 1
7120_ACEOF
7121
7122fi
7123
7124# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7135 inttypes.h stdint.h unistd.h
7136do
7137as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7138{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7139echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7140if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7141 echo $ECHO_N "(cached) $ECHO_C" >&6
7142else
7143 cat >conftest.$ac_ext <<_ACEOF
7144/* confdefs.h. */
7145_ACEOF
7146cat confdefs.h >>conftest.$ac_ext
7147cat >>conftest.$ac_ext <<_ACEOF
7148/* end confdefs.h. */
7149$ac_includes_default
7150
7151#include <$ac_header>
7152_ACEOF
7153rm -f conftest.$ac_objext
7154if { (ac_try="$ac_compile"
7155case "(($ac_try" in
7156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7158esac
7159eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_compile") 2>conftest.er1
7161 ac_status=$?
7162 grep -v '^ *+' conftest.er1 >conftest.err
7163 rm -f conftest.er1
7164 cat conftest.err >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } && {
7167 test -z "$ac_cxx_werror_flag" ||
7168 test ! -s conftest.err
7169 } && test -s conftest.$ac_objext; then
7170 eval "$as_ac_Header=yes"
7171else
7172 echo "$as_me: failed program was:" >&5
7173sed 's/^/| /' conftest.$ac_ext >&5
7174
7175 eval "$as_ac_Header=no"
7176fi
7177
7178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7179fi
7180ac_res=`eval echo '${'$as_ac_Header'}'`
7181 { echo "$as_me:$LINENO: result: $ac_res" >&5
7182echo "${ECHO_T}$ac_res" >&6; }
7183if test `eval echo '${'$as_ac_Header'}'` = yes; then
7184 cat >>confdefs.h <<_ACEOF
7185#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7186_ACEOF
7187
7188fi
7189
7190done
7191
7192
7193 7370
7194 7371
7195 7372
7196 7373
7197 7374
7363fi 7540fi
7364 7541
7365done 7542done
7366 7543
7367 7544
7368{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7369echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
7370if test "${ac_cv_header_time+set}" = set; then
7371 echo $ECHO_N "(cached) $ECHO_C" >&6
7372else
7373 cat >conftest.$ac_ext <<_ACEOF
7374/* confdefs.h. */
7375_ACEOF
7376cat confdefs.h >>conftest.$ac_ext
7377cat >>conftest.$ac_ext <<_ACEOF
7378/* end confdefs.h. */
7379#include <sys/types.h>
7380#include <sys/time.h>
7381#include <time.h>
7382
7383int
7384main ()
7385{
7386if ((struct tm *) 0)
7387return 0;
7388 ;
7389 return 0;
7390}
7391_ACEOF
7392rm -f conftest.$ac_objext
7393if { (ac_try="$ac_compile"
7394case "(($ac_try" in
7395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7396 *) ac_try_echo=$ac_try;;
7397esac
7398eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7399 (eval "$ac_compile") 2>conftest.er1
7400 ac_status=$?
7401 grep -v '^ *+' conftest.er1 >conftest.err
7402 rm -f conftest.er1
7403 cat conftest.err >&5
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); } && {
7406 test -z "$ac_cxx_werror_flag" ||
7407 test ! -s conftest.err
7408 } && test -s conftest.$ac_objext; then
7409 ac_cv_header_time=yes
7410else
7411 echo "$as_me: failed program was:" >&5
7412sed 's/^/| /' conftest.$ac_ext >&5
7413
7414 ac_cv_header_time=no
7415fi
7416
7417rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7418fi
7419{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7420echo "${ECHO_T}$ac_cv_header_time" >&6; }
7421if test $ac_cv_header_time = yes; then
7422
7423cat >>confdefs.h <<\_ACEOF
7424#define TIME_WITH_SYS_TIME 1
7425_ACEOF
7426
7427fi
7428
7429
7430{ 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
7431echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } 7546echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7432if test "${rxvt_cv_header_sysioctl+set}" = set; then 7547if test "${rxvt_cv_header_sysioctl+set}" = set; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6 7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7434else 7549else
7599cat >>confdefs.h <<\_ACEOF 7714cat >>confdefs.h <<\_ACEOF
7600#define XLIB_ILLEGAL_ACCESS 1 7715#define XLIB_ILLEGAL_ACCESS 1
7601_ACEOF 7716_ACEOF
7602 7717
7603fi 7718fi
7604
7605{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7606echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7607if test "${ac_cv_c_const+set}" = set; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7609else
7610 cat >conftest.$ac_ext <<_ACEOF
7611/* confdefs.h. */
7612_ACEOF
7613cat confdefs.h >>conftest.$ac_ext
7614cat >>conftest.$ac_ext <<_ACEOF
7615/* end confdefs.h. */
7616
7617int
7618main ()
7619{
7620/* FIXME: Include the comments suggested by Paul. */
7621#ifndef __cplusplus
7622 /* Ultrix mips cc rejects this. */
7623 typedef int charset[2];
7624 const charset cs;
7625 /* SunOS 4.1.1 cc rejects this. */
7626 char const *const *pcpcc;
7627 char **ppc;
7628 /* NEC SVR4.0.2 mips cc rejects this. */
7629 struct point {int x, y;};
7630 static struct point const zero = {0,0};
7631 /* AIX XL C 1.02.0.0 rejects this.
7632 It does not let you subtract one const X* pointer from another in
7633 an arm of an if-expression whose if-part is not a constant
7634 expression */
7635 const char *g = "string";
7636 pcpcc = &g + (g ? g-g : 0);
7637 /* HPUX 7.0 cc rejects these. */
7638 ++pcpcc;
7639 ppc = (char**) pcpcc;
7640 pcpcc = (char const *const *) ppc;
7641 { /* SCO 3.2v4 cc rejects this. */
7642 char *t;
7643 char const *s = 0 ? (char *) 0 : (char const *) 0;
7644
7645 *t++ = 0;
7646 if (s) return 0;
7647 }
7648 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7649 int x[] = {25, 17};
7650 const int *foo = &x[0];
7651 ++foo;
7652 }
7653 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7654 typedef const int *iptr;
7655 iptr p = 0;
7656 ++p;
7657 }
7658 { /* AIX XL C 1.02.0.0 rejects this saying
7659 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7660 struct s { int j; const int *ap[3]; };
7661 struct s *b; b->j = 5;
7662 }
7663 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7664 const int foo = 10;
7665 if (!foo) return 0;
7666 }
7667 return !cs[0] && !zero.x;
7668#endif
7669
7670 ;
7671 return 0;
7672}
7673_ACEOF
7674rm -f conftest.$ac_objext
7675if { (ac_try="$ac_compile"
7676case "(($ac_try" in
7677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7678 *) ac_try_echo=$ac_try;;
7679esac
7680eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7681 (eval "$ac_compile") 2>conftest.er1
7682 ac_status=$?
7683 grep -v '^ *+' conftest.er1 >conftest.err
7684 rm -f conftest.er1
7685 cat conftest.err >&5
7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 (exit $ac_status); } && {
7688 test -z "$ac_cxx_werror_flag" ||
7689 test ! -s conftest.err
7690 } && test -s conftest.$ac_objext; then
7691 ac_cv_c_const=yes
7692else
7693 echo "$as_me: failed program was:" >&5
7694sed 's/^/| /' conftest.$ac_ext >&5
7695
7696 ac_cv_c_const=no
7697fi
7698
7699rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7700fi
7701{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7702echo "${ECHO_T}$ac_cv_c_const" >&6; }
7703if test $ac_cv_c_const = no; then
7704
7705cat >>confdefs.h <<\_ACEOF
7706#define const
7707_ACEOF
7708
7709fi
7710
7711{ echo "$as_me:$LINENO: checking for inline" >&5
7712echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7713if test "${ac_cv_c_inline+set}" = set; then
7714 echo $ECHO_N "(cached) $ECHO_C" >&6
7715else
7716 ac_cv_c_inline=no
7717for ac_kw in inline __inline__ __inline; do
7718 cat >conftest.$ac_ext <<_ACEOF
7719/* confdefs.h. */
7720_ACEOF
7721cat confdefs.h >>conftest.$ac_ext
7722cat >>conftest.$ac_ext <<_ACEOF
7723/* end confdefs.h. */
7724#ifndef __cplusplus
7725typedef int foo_t;
7726static $ac_kw foo_t static_foo () {return 0; }
7727$ac_kw foo_t foo () {return 0; }
7728#endif
7729
7730_ACEOF
7731rm -f conftest.$ac_objext
7732if { (ac_try="$ac_compile"
7733case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7736esac
7737eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_compile") 2>conftest.er1
7739 ac_status=$?
7740 grep -v '^ *+' conftest.er1 >conftest.err
7741 rm -f conftest.er1
7742 cat conftest.err >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } && {
7745 test -z "$ac_cxx_werror_flag" ||
7746 test ! -s conftest.err
7747 } && test -s conftest.$ac_objext; then
7748 ac_cv_c_inline=$ac_kw
7749else
7750 echo "$as_me: failed program was:" >&5
7751sed 's/^/| /' conftest.$ac_ext >&5
7752
7753
7754fi
7755
7756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7757 test "$ac_cv_c_inline" != no && break
7758done
7759
7760fi
7761{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7762echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7763
7764
7765case $ac_cv_c_inline in
7766 inline | yes) ;;
7767 *)
7768 case $ac_cv_c_inline in
7769 no) ac_val=;;
7770 *) ac_val=$ac_cv_c_inline;;
7771 esac
7772 cat >>confdefs.h <<_ACEOF
7773#ifndef __cplusplus
7774#define inline $ac_val
7775#endif
7776_ACEOF
7777 ;;
7778esac
7779
7780
7781 7719
7782{ echo "$as_me:$LINENO: checking for mode_t" >&5 7720{ echo "$as_me:$LINENO: checking for mode_t" >&5
7783echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 7721echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
7784if test "${ac_cv_type_mode_t+set}" = set; then 7722if test "${ac_cv_type_mode_t+set}" = set; then
7785 echo $ECHO_N "(cached) $ECHO_C" >&6 7723 echo $ECHO_N "(cached) $ECHO_C" >&6
9900 fi 9838 fi
9901fi 9839fi
9902 9840
9903 9841
9904 9842
9905{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
9906echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
9907if test "${ac_cv_type_signal+set}" = set; then
9908 echo $ECHO_N "(cached) $ECHO_C" >&6
9909else
9910 cat >conftest.$ac_ext <<_ACEOF
9911/* confdefs.h. */
9912_ACEOF
9913cat confdefs.h >>conftest.$ac_ext
9914cat >>conftest.$ac_ext <<_ACEOF
9915/* end confdefs.h. */
9916#include <sys/types.h>
9917#include <signal.h>
9918 9843
9919int
9920main ()
9921{
9922return *(signal (0, 0)) (0) == 1;
9923 ;
9924 return 0;
9925}
9926_ACEOF
9927rm -f conftest.$ac_objext
9928if { (ac_try="$ac_compile"
9929case "(($ac_try" in
9930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9932esac
9933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_compile") 2>conftest.er1
9935 ac_status=$?
9936 grep -v '^ *+' conftest.er1 >conftest.err
9937 rm -f conftest.er1
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } && {
9941 test -z "$ac_cxx_werror_flag" ||
9942 test ! -s conftest.err
9943 } && test -s conftest.$ac_objext; then
9944 ac_cv_type_signal=int
9945else
9946 echo "$as_me: failed program was:" >&5
9947sed 's/^/| /' conftest.$ac_ext >&5
9948
9949 ac_cv_type_signal=void
9950fi
9951
9952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9953fi
9954{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
9955echo "${ECHO_T}$ac_cv_type_signal" >&6; }
9956
9957cat >>confdefs.h <<_ACEOF
9958#define RETSIGTYPE $ac_cv_type_signal
9959_ACEOF
9960
9961
9962
9963
9964
9965
9966for ac_func in \ 9844for ac_func in unsetenv
9967 unsetenv \
9968 setutent \
9969 on_exit \
9970
9971do 9845do
9972as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9846as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9973{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9847{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9974echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9848echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9975if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9849if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10114 9988
10115 9989
10116 9990
10117 9991
10118for ac_func in \ 9992for ac_func in \
10119 ttyslot \
10120 updwtmp \ 9993 updwtmp \
10121 updwtmpx \ 9994 updwtmpx \
9995 updlastlogx \
10122 9996
10123do 9997do
10124as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9998as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10125{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9999{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10126echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10000echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10212fi 10086fi
10213done 10087done
10214 10088
10215 10089
10216 10090
10217
10218
10219for ac_header in \ 10091for ac_header in lastlog.h
10220 utmp.h \
10221 utmpx.h \
10222 lastlog.h \
10223
10224do 10092do
10225as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10093as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10226if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10094if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10227 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10095 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10228echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10096echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10359 10227
10360done 10228done
10361 10229
10362 10230
10363 10231
10364if test "${ac_cv_header_utmp_h+set}" = set; then 10232
10233for ac_header in utmp.h
10234do
10235as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10236if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10365 { echo "$as_me:$LINENO: checking for utmp.h" >&5 10237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10366echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 10238echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10367if test "${ac_cv_header_utmp_h+set}" = set; then 10239if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10368 echo $ECHO_N "(cached) $ECHO_C" >&6 10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10369fi 10241fi
10242ac_res=`eval echo '${'$as_ac_Header'}'`
10370{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 10243 { echo "$as_me:$LINENO: result: $ac_res" >&5
10371echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 10244echo "${ECHO_T}$ac_res" >&6; }
10372else 10245else
10373 # Is the header compilable? 10246 # Is the header compilable?
10374{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 10247{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10375echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 10248echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10376cat >conftest.$ac_ext <<_ACEOF 10249cat >conftest.$ac_ext <<_ACEOF
10377/* confdefs.h. */ 10250/* confdefs.h. */
10378_ACEOF 10251_ACEOF
10379cat confdefs.h >>conftest.$ac_ext 10252cat confdefs.h >>conftest.$ac_ext
10380cat >>conftest.$ac_ext <<_ACEOF 10253cat >>conftest.$ac_ext <<_ACEOF
10381/* end confdefs.h. */ 10254/* end confdefs.h. */
10382$ac_includes_default 10255$ac_includes_default
10383#include <utmp.h> 10256#include <$ac_header>
10384_ACEOF 10257_ACEOF
10385rm -f conftest.$ac_objext 10258rm -f conftest.$ac_objext
10386if { (ac_try="$ac_compile" 10259if { (ac_try="$ac_compile"
10387case "(($ac_try" in 10260case "(($ac_try" in
10388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10284{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10412echo "${ECHO_T}$ac_header_compiler" >&6; } 10285echo "${ECHO_T}$ac_header_compiler" >&6; }
10413 10286
10414# Is the header present? 10287# Is the header present?
10415{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 10288{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10416echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 10289echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10417cat >conftest.$ac_ext <<_ACEOF 10290cat >conftest.$ac_ext <<_ACEOF
10418/* confdefs.h. */ 10291/* confdefs.h. */
10419_ACEOF 10292_ACEOF
10420cat confdefs.h >>conftest.$ac_ext 10293cat confdefs.h >>conftest.$ac_ext
10421cat >>conftest.$ac_ext <<_ACEOF 10294cat >>conftest.$ac_ext <<_ACEOF
10422/* end confdefs.h. */ 10295/* end confdefs.h. */
10423#include <utmp.h> 10296#include <$ac_header>
10424_ACEOF 10297_ACEOF
10425if { (ac_try="$ac_cpp conftest.$ac_ext" 10298if { (ac_try="$ac_cpp conftest.$ac_ext"
10426case "(($ac_try" in 10299case "(($ac_try" in
10427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10428 *) ac_try_echo=$ac_try;; 10301 *) ac_try_echo=$ac_try;;
10451echo "${ECHO_T}$ac_header_preproc" >&6; } 10324echo "${ECHO_T}$ac_header_preproc" >&6; }
10452 10325
10453# So? What about this header? 10326# So? What about this header?
10454case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10327case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10455 yes:no: ) 10328 yes:no: )
10456 { 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
10457echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10330echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10458 { 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
10459echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 10332echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10460 ac_header_preproc=yes 10333 ac_header_preproc=yes
10461 ;; 10334 ;;
10462 no:yes:* ) 10335 no:yes:* )
10463 { 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
10464echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 10337echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10465 { 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
10466echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 10339echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10467 { 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
10468echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 10341echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10469 { 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
10470echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 10343echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10471 { 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
10472echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} 10345echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10473 { 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
10474echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} 10347echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10475 10348
10476 ;; 10349 ;;
10477esac 10350esac
10478{ echo "$as_me:$LINENO: checking for utmp.h" >&5 10351{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10479echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 10352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10480if test "${ac_cv_header_utmp_h+set}" = set; then 10353if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10481 echo $ECHO_N "(cached) $ECHO_C" >&6 10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10482else 10355else
10483 ac_cv_header_utmp_h=$ac_header_preproc 10356 eval "$as_ac_Header=\$ac_header_preproc"
10484fi 10357fi
10358ac_res=`eval echo '${'$as_ac_Header'}'`
10485{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 10359 { echo "$as_me:$LINENO: result: $ac_res" >&5
10486echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 10360echo "${ECHO_T}$ac_res" >&6; }
10487 10361
10488fi 10362fi
10489if test $ac_cv_header_utmp_h = yes; then 10363if 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
10490 { echo "$as_me:$LINENO: checking for struct utmp" >&5 10367 { echo "$as_me:$LINENO: checking for struct utmp" >&5
10491echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 10368echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
10492if test "${struct_utmp+set}" = set; then 10369if test "${struct_utmp+set}" = set; then
10493 echo $ECHO_N "(cached) $ECHO_C" >&6 10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10494else 10371else
10495 cat >conftest.$ac_ext <<_ACEOF 10372 cat >conftest.$ac_ext <<_ACEOF
10662 10539
10663fi 10540fi
10664 10541
10665fi 10542fi
10666 10543
10544done
10667 10545
10668 10546
10669if test "${ac_cv_header_utmpx_h+set}" = set; then 10547
10548for ac_header in utmpx.h
10549do
10550as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10551if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10670 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 10552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10671echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 10553echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10672if test "${ac_cv_header_utmpx_h+set}" = set; then 10554if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6 10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10674fi 10556fi
10557ac_res=`eval echo '${'$as_ac_Header'}'`
10675{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 10558 { echo "$as_me:$LINENO: result: $ac_res" >&5
10676echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 10559echo "${ECHO_T}$ac_res" >&6; }
10677else 10560else
10678 # Is the header compilable? 10561 # Is the header compilable?
10679{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 10562{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10680echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 10563echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10681cat >conftest.$ac_ext <<_ACEOF 10564cat >conftest.$ac_ext <<_ACEOF
10682/* confdefs.h. */ 10565/* confdefs.h. */
10683_ACEOF 10566_ACEOF
10684cat confdefs.h >>conftest.$ac_ext 10567cat confdefs.h >>conftest.$ac_ext
10685cat >>conftest.$ac_ext <<_ACEOF 10568cat >>conftest.$ac_ext <<_ACEOF
10686/* end confdefs.h. */ 10569/* end confdefs.h. */
10687$ac_includes_default 10570$ac_includes_default
10688#include <utmpx.h> 10571#include <$ac_header>
10689_ACEOF 10572_ACEOF
10690rm -f conftest.$ac_objext 10573rm -f conftest.$ac_objext
10691if { (ac_try="$ac_compile" 10574if { (ac_try="$ac_compile"
10692case "(($ac_try" in 10575case "(($ac_try" in
10693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10716{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10599{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10717echo "${ECHO_T}$ac_header_compiler" >&6; } 10600echo "${ECHO_T}$ac_header_compiler" >&6; }
10718 10601
10719# Is the header present? 10602# Is the header present?
10720{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 10603{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10721echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 10604echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10722cat >conftest.$ac_ext <<_ACEOF 10605cat >conftest.$ac_ext <<_ACEOF
10723/* confdefs.h. */ 10606/* confdefs.h. */
10724_ACEOF 10607_ACEOF
10725cat confdefs.h >>conftest.$ac_ext 10608cat confdefs.h >>conftest.$ac_ext
10726cat >>conftest.$ac_ext <<_ACEOF 10609cat >>conftest.$ac_ext <<_ACEOF
10727/* end confdefs.h. */ 10610/* end confdefs.h. */
10728#include <utmpx.h> 10611#include <$ac_header>
10729_ACEOF 10612_ACEOF
10730if { (ac_try="$ac_cpp conftest.$ac_ext" 10613if { (ac_try="$ac_cpp conftest.$ac_ext"
10731case "(($ac_try" in 10614case "(($ac_try" in
10732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10733 *) ac_try_echo=$ac_try;; 10616 *) ac_try_echo=$ac_try;;
10756echo "${ECHO_T}$ac_header_preproc" >&6; } 10639echo "${ECHO_T}$ac_header_preproc" >&6; }
10757 10640
10758# So? What about this header? 10641# So? What about this header?
10759case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10642case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10760 yes:no: ) 10643 yes:no: )
10761 { 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
10762echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10645echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10763 { 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
10764echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 10647echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10765 ac_header_preproc=yes 10648 ac_header_preproc=yes
10766 ;; 10649 ;;
10767 no:yes:* ) 10650 no:yes:* )
10768 { 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
10769echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 10652echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10770 { 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
10771echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 10654echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10772 { 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
10773echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 10656echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10774 { 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
10775echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} 10658echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10776 { 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
10777echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} 10660echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10778 { 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
10779echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} 10662echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10780 10663
10781 ;; 10664 ;;
10782esac 10665esac
10783{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 10666{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10784echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 10667echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10785if test "${ac_cv_header_utmpx_h+set}" = set; then 10668if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6 10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10787else 10670else
10788 ac_cv_header_utmpx_h=$ac_header_preproc 10671 eval "$as_ac_Header=\$ac_header_preproc"
10789fi 10672fi
10673ac_res=`eval echo '${'$as_ac_Header'}'`
10790{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 10674 { echo "$as_me:$LINENO: result: $ac_res" >&5
10791echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 10675echo "${ECHO_T}$ac_res" >&6; }
10792 10676
10793fi 10677fi
10794if test $ac_cv_header_utmpx_h = yes; then 10678if 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
10795 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 10682 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
10796echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 10683echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
10797if test "${struct_utmpx+set}" = set; then 10684if test "${struct_utmpx+set}" = set; then
10798 echo $ECHO_N "(cached) $ECHO_C" >&6 10685 echo $ECHO_N "(cached) $ECHO_C" >&6
10799else 10686else
10800 cat >conftest.$ac_ext <<_ACEOF 10687 cat >conftest.$ac_ext <<_ACEOF
10967 10854
10968fi 10855fi
10969 10856
10970fi 10857fi
10971 10858
10859done
10972 10860
10973{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 10861{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
10974echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 10862echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
10975if test "${struct_lastlog+set}" = set; then 10863if test "${struct_lastlog+set}" = set; then
10976 echo $ECHO_N "(cached) $ECHO_C" >&6 10864 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 11435
11548cat >>confdefs.h <<_ACEOF 11436cat >>confdefs.h <<_ACEOF
11549#define LASTLOG_FILE "$path_lastlog" 11437#define LASTLOG_FILE "$path_lastlog"
11550_ACEOF 11438_ACEOF
11551 11439
11552 if test -d "$path_lastlog"; then
11553
11554cat >>confdefs.h <<\_ACEOF
11555#define LASTLOG_IS_DIR 1
11556_ACEOF
11557
11558 fi
11559fi 11440fi
11560 11441
11561{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11442{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11562echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } 11443echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; }
11563if test "${path_lastlogx+set}" = set; then 11444if test "${path_lastlogx+set}" = set; then
11645 11526
11646fi 11527fi
11647 11528
11648 11529
11649 11530
11650{ echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11651echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; }
11652if test "${rxvt_cv_path_ttytab+set}" = set; then
11653 echo $ECHO_N "(cached) $ECHO_C" >&6
11654else
11655 for ttys_file in /etc/ttys /etc/ttytab;
11656do
11657 if test -f "$ttys_file" ; then
11658 rxvt_cv_path_ttytab=$ttys_file
11659 break
11660 fi
11661done
11662 11531
11663fi
11664{ echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5
11665echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; }
11666if test x$rxvt_cv_path_ttytab != x; then
11667
11668cat >>confdefs.h <<_ACEOF
11669#define TTYTAB_FILENAME "$rxvt_cv_path_ttytab"
11670_ACEOF
11671
11672fi
11673
11674
11675ac_save_LIBS=$LIBS 11532save_LIBS=$LIBS
11676ac_save_CFLAGS=$CFLAGS 11533save_CFLAGS=$CFLAGS
11677CFLAGS="$CFLAGS $X_CFLAGS" 11534CFLAGS="$CFLAGS $X_CFLAGS"
11678LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11535LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11536if test x$support_xim = xyes; then
11679{ echo "$as_me:$LINENO: checking for working Xlocale" >&5 11537 { echo "$as_me:$LINENO: checking for working Xlocale" >&5
11680echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } 11538echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; }
11681if test "${rxvt_cv_func_xlocale+set}" = set; then 11539if test "${rxvt_cv_func_xlocale+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6 11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11683else 11541else
11684 if test "$cross_compiling" = yes; then 11542 if test "$cross_compiling" = yes; then
11685 : 11543 :
11686else 11544else
11687 cat >conftest.$ac_ext <<_ACEOF 11545 cat >conftest.$ac_ext <<_ACEOF
11688/* confdefs.h. */ 11546/* confdefs.h. */
11689_ACEOF 11547_ACEOF
11690cat confdefs.h >>conftest.$ac_ext 11548cat confdefs.h >>conftest.$ac_ext
11691cat >>conftest.$ac_ext <<_ACEOF 11549cat >>conftest.$ac_ext <<_ACEOF
11692/* end confdefs.h. */ 11550/* end confdefs.h. */
11693#include <X11/Xlib.h> 11551#include <X11/Xlib.h>
11694#include <stdlib.h> 11552 #include <stdlib.h>
11695main() { 11553 main() {
11696char *p; 11554 char *p;
11697if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11555 if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11698exit (XSupportsLocale() ? 0 : 1); 11556 exit (XSupportsLocale() ? 0 : 1);
11699else 11557 else
11700exit (1);} 11558 exit (1);}
11701_ACEOF 11559_ACEOF
11702rm -f conftest$ac_exeext 11560rm -f conftest$ac_exeext
11703if { (ac_try="$ac_link" 11561if { (ac_try="$ac_link"
11704case "(($ac_try" in 11562case "(($ac_try" in
11705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11718 (eval "$ac_try") 2>&5 11576 (eval "$ac_try") 2>&5
11719 ac_status=$? 11577 ac_status=$?
11720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11721 (exit $ac_status); }; }; then 11579 (exit $ac_status); }; }; then
11722 rxvt_cv_func_xlocale=yes 11580 rxvt_cv_func_xlocale=yes
11723else 11581else
11724 echo "$as_me: program exited with status $ac_status" >&5 11582 echo "$as_me: program exited with status $ac_status" >&5
11725echo "$as_me: failed program was:" >&5 11583echo "$as_me: failed program was:" >&5
11726sed 's/^/| /' conftest.$ac_ext >&5 11584sed 's/^/| /' conftest.$ac_ext >&5
11727 11585
11733 11591
11734 11592
11735fi 11593fi
11736{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11594{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11737echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } 11595echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; }
11738if test x$support_xim = xyes; then
11739 if test x$rxvt_cv_func_xlocale = xyes; then 11596 if test x$rxvt_cv_func_xlocale = xyes; then
11740 11597
11741cat >>confdefs.h <<\_ACEOF 11598cat >>confdefs.h <<\_ACEOF
11742#define USE_XIM 1 11599#define USE_XIM 1
11743_ACEOF 11600_ACEOF
11744 11601
11602 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11603echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
11604if test "${rxvt_broken_ximcb+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11606else
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
11619rm -f conftest.$ac_objext
11620if { (ac_try="$ac_compile"
11621case "(($ac_try" in
11622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11623 *) ac_try_echo=$ac_try;;
11624esac
11625eval "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
11637else
11638 echo "$as_me: failed program was:" >&5
11639sed 's/^/| /' conftest.$ac_ext >&5
11640
11641 rxvt_broken_ximcb=no
11642fi
11643
11644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11645fi
11646{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
11647echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
11648
11649 if test x$rxvt_broken_ximcb = xyes; then
11650
11651cat >>confdefs.h <<\_ACEOF
11652#define XIMCB_PROTO_BROKEN 1
11653_ACEOF
11654
11655 fi
11745 fi 11656 fi
11746fi 11657fi
11747 11658
11748{ echo "$as_me:$LINENO: checking for working X setlocale" >&5 11659{ echo "$as_me:$LINENO: checking for working X setlocale" >&5
11749echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } 11660echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; }
11802cat >>confdefs.h <<\_ACEOF 11713cat >>confdefs.h <<\_ACEOF
11803#define HAVE_XSETLOCALE 1 11714#define HAVE_XSETLOCALE 1
11804_ACEOF 11715_ACEOF
11805 11716
11806fi 11717fi
11807LIBS=$ac_save_LIBS 11718LIBS=$save_LIBS
11808CFLAGS=$ac_save_CFLAGS 11719CFLAGS=$save_CFLAGS
11809 11720
11810{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5 11721{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5
11811echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } 11722echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; }
11812if test "${rxvt_cv_func_setlocale+set}" = set; then 11723if test "${rxvt_cv_func_setlocale+set}" = set; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6 11724 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 { { 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
12017echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} 11928echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12018 { (exit 1); exit 1; }; } 11929 { (exit 1); exit 1; }; }
12019fi 11930fi
12020 11931
12021
12022{ echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12023echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
12024if test "${rxvt_broken_ximcb+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12026else
12027 cat >conftest.$ac_ext <<_ACEOF
12028
12029#include <X11/Xlib.h>
12030
12031void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
12032
12033void f() {
12034 XIMCallback cb;
12035 cb.callback = im_destroy_cb;
12036}
12037
12038_ACEOF
12039rm -f conftest.$ac_objext
12040if { (ac_try="$ac_compile"
12041case "(($ac_try" in
12042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12043 *) ac_try_echo=$ac_try;;
12044esac
12045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12046 (eval "$ac_compile") 2>conftest.er1
12047 ac_status=$?
12048 grep -v '^ *+' conftest.er1 >conftest.err
12049 rm -f conftest.er1
12050 cat conftest.err >&5
12051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12052 (exit $ac_status); } && {
12053 test -z "$ac_cxx_werror_flag" ||
12054 test ! -s conftest.err
12055 } && test -s conftest.$ac_objext; then
12056 rxvt_broken_ximcb=yes
12057else
12058 echo "$as_me: failed program was:" >&5
12059sed 's/^/| /' conftest.$ac_ext >&5
12060
12061 rxvt_broken_ximcb=no
12062fi
12063
12064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12065fi
12066{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
12067echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
12068
12069if test x$rxvt_broken_ximcb = xyes; then
12070
12071cat >>confdefs.h <<\_ACEOF
12072#define XIMCB_PROTO_BROKEN 1
12073_ACEOF
12074
12075fi
12076 11932
12077 11933
12078 11934
12079 11935
12080 11936
12761echo "${ECHO_T}no" >&6; } 12617echo "${ECHO_T}no" >&6; }
12762fi 12618fi
12763 12619
12764 12620
12765 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then 12621 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12766 LIBS="$LIBS `$PKG_CONFIG xft --libs`" 12622 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
12767 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" 12623 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12768 else 12624 else
12769 # 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.
12770set dummy xft-config; ac_word=$2 12626set dummy xft-config; ac_word=$2
12771{ echo "$as_me:$LINENO: checking for $ac_word" >&5 12627{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12806echo "${ECHO_T}no" >&6; } 12662echo "${ECHO_T}no" >&6; }
12807fi 12663fi
12808 12664
12809 12665
12810 if test $XFT_CONFIG != no; then 12666 if test $XFT_CONFIG != no; then
12811 LIBS="$LIBS `$XFT_CONFIG --libs`" 12667 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
12812 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 12668 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12813 fi 12669 fi
12814 fi 12670 fi
12815 12671
12672 save_LIBS="$LIBS"
12673 LIBS="$LIBS $X_LIBS"
12816 12674
12817for ac_header in X11/Xft/Xft.h 12675for ac_header in X11/Xft/Xft.h
12818do 12676do
12819as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 12677as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12820if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 12678if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12953 support_xft=no 12811 support_xft=no
12954fi 12812fi
12955 12813
12956done 12814done
12957 12815
12958
12959{ echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 12816 { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5
12960echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } 12817echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; }
12961if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then 12818if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then
12962 echo $ECHO_N "(cached) $ECHO_C" >&6 12819 echo $ECHO_N "(cached) $ECHO_C" >&6
12963else 12820else
12964 ac_check_lib_save_LIBS=$LIBS 12821 ac_check_lib_save_LIBS=$LIBS
13016LIBS=$ac_check_lib_save_LIBS 12873LIBS=$ac_check_lib_save_LIBS
13017fi 12874fi
13018{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 12875{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5
13019echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } 12876echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; }
13020if test $ac_cv_lib_Xft_XftDrawString32 = yes; then 12877if test $ac_cv_lib_Xft_XftDrawString32 = yes; then
13021 cat >>confdefs.h <<_ACEOF 12878 :
13022#define HAVE_LIBXFT 1
13023_ACEOF
13024
13025 LIBS="-lXft $LIBS"
13026
13027else 12879else
13028 support_xft=no 12880 support_xft=no
13029fi 12881fi
13030 12882
12883 LIBS="$save_LIBS"
13031 12884
13032 if test x$support_xft = xyes; then 12885 if test x$support_xft = xyes; then
13033 12886
13034cat >>confdefs.h <<\_ACEOF 12887cat >>confdefs.h <<\_ACEOF
13035#define XFT 1 12888#define XFT 1
13063cat >>confdefs.h <<\_ACEOF 12916cat >>confdefs.h <<\_ACEOF
13064#define OFF_FOCUS_FADING 1 12917#define OFF_FOCUS_FADING 1
13065_ACEOF 12918_ACEOF
13066 12919
13067fi 12920fi
13068if test x$support_tinting = xyes; then
13069
13070cat >>confdefs.h <<\_ACEOF
13071#define TINTING 1
13072_ACEOF
13073
13074fi
13075if test x$support_inheritpixmap = xyes; then 12921if test x$support_inheritpixmap = xyes; then
13076 12922
13077cat >>confdefs.h <<\_ACEOF 12923cat >>confdefs.h <<\_ACEOF
13078#define ENABLE_TRANSPARENCY 1 12924#define ENABLE_TRANSPARENCY 1
13079_ACEOF 12925_ACEOF
13091cat >>confdefs.h <<\_ACEOF 12937cat >>confdefs.h <<\_ACEOF
13092#define SELECTION_SCROLLING 1 12938#define SELECTION_SCROLLING 1
13093_ACEOF 12939_ACEOF
13094 12940
13095fi 12941fi
12942if test x$support_frills = xyes; then
12943
12944cat >>confdefs.h <<\_ACEOF
12945#define ENABLE_FRILLS 1
12946_ACEOF
12947
12948fi
13096if test x$support_mousewheel = xyes; then 12949if test x$support_mousewheel = xyes; then
13097 12950
13098cat >>confdefs.h <<\_ACEOF 12951cat >>confdefs.h <<\_ACEOF
13099#define MOUSE_WHEEL 1 12952#define MOUSE_WHEEL 1
13100_ACEOF 12953_ACEOF
13105cat >>confdefs.h <<\_ACEOF 12958cat >>confdefs.h <<\_ACEOF
13106#define MOUSE_SLIP_WHEELING 1 12959#define MOUSE_SLIP_WHEELING 1
13107_ACEOF 12960_ACEOF
13108 12961
13109fi 12962fi
13110if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
13111
13112cat >>confdefs.h <<\_ACEOF
13113#define XPM_BACKGROUND 1
13114_ACEOF
13115
13116fi
13117
13118if test x$support_afterimage = xyes; then 12963if test x$support_afterimage = xyes; then
13119 12964
13120cat >>confdefs.h <<\_ACEOF 12965cat >>confdefs.h <<\_ACEOF
13121#define HAVE_AFTERIMAGE 1 12966#define HAVE_AFTERIMAGE 1
12967_ACEOF
12968
12969
12970cat >>confdefs.h <<\_ACEOF
12971#define BG_IMAGE_FROM_FILE 1
13122_ACEOF 12972_ACEOF
13123 12973
13124fi 12974fi
13125 12975
13126 12976
13398 13248
13399 13249
13400 13250
13401 13251
13402 13252
13403
13404if test x$support_perl = xyes; then
13405 support_frills=yes
13406fi
13407
13408if test x$support_frills = xyes; then
13409
13410cat >>confdefs.h <<\_ACEOF
13411#define ENABLE_FRILLS 1
13412_ACEOF
13413
13414fi
13415 13253
13416 13254
13417 13255
13418 13256
13419 13257
14174host_cpu!$host_cpu$ac_delim 14012host_cpu!$host_cpu$ac_delim
14175host_vendor!$host_vendor$ac_delim 14013host_vendor!$host_vendor$ac_delim
14176host_os!$host_os$ac_delim 14014host_os!$host_os$ac_delim
14177VERSION!$VERSION$ac_delim 14015VERSION!$VERSION$ac_delim
14178DATE!$DATE$ac_delim 14016DATE!$DATE$ac_delim
14179LSMDATE!$LSMDATE$ac_delim
14180LIBVERSION!$LIBVERSION$ac_delim
14181CC!$CC$ac_delim 14017CC!$CC$ac_delim
14182CFLAGS!$CFLAGS$ac_delim 14018CFLAGS!$CFLAGS$ac_delim
14183LDFLAGS!$LDFLAGS$ac_delim 14019LDFLAGS!$LDFLAGS$ac_delim
14184CPPFLAGS!$CPPFLAGS$ac_delim 14020CPPFLAGS!$CPPFLAGS$ac_delim
14185ac_ct_CC!$ac_ct_CC$ac_delim 14021ac_ct_CC!$ac_ct_CC$ac_delim
14193INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 14029INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14194INSTALL_DATA!$INSTALL_DATA$ac_delim 14030INSTALL_DATA!$INSTALL_DATA$ac_delim
14195GREP!$GREP$ac_delim 14031GREP!$GREP$ac_delim
14196EGREP!$EGREP$ac_delim 14032EGREP!$EGREP$ac_delim
14197LINKER!$LINKER$ac_delim 14033LINKER!$LINKER$ac_delim
14198INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14199RXVTNAME!$RXVTNAME$ac_delim 14034RXVTNAME!$RXVTNAME$ac_delim
14035CXXCPP!$CXXCPP$ac_delim
14200TIC!$TIC$ac_delim 14036TIC!$TIC$ac_delim
14201XMKMF!$XMKMF$ac_delim 14037XMKMF!$XMKMF$ac_delim
14202CXXCPP!$CXXCPP$ac_delim
14203X_CFLAGS!$X_CFLAGS$ac_delim 14038X_CFLAGS!$X_CFLAGS$ac_delim
14204X_PRE_LIBS!$X_PRE_LIBS$ac_delim 14039X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14205X_LIBS!$X_LIBS$ac_delim 14040X_LIBS!$X_LIBS$ac_delim
14206X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 14041X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14207afterimage_config!$afterimage_config$ac_delim 14042afterimage_config!$afterimage_config$ac_delim
14208XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim
14209XPM_CFLAGS!$XPM_CFLAGS$ac_delim
14210XPM_LIBS!$XPM_LIBS$ac_delim
14211rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim 14043rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14212rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim 14044rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14213rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim 14045rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim
14214rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim 14046rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim
14215rxvt_intp_define!$rxvt_intp_define$ac_delim 14047rxvt_intp_define!$rxvt_intp_define$ac_delim
14224PERL_O!$PERL_O$ac_delim 14056PERL_O!$PERL_O$ac_delim
14225AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 14057AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
14226AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 14058AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14227include_stdint_h!$include_stdint_h$ac_delim 14059include_stdint_h!$include_stdint_h$ac_delim
14228include_stdarg_h!$include_stdarg_h$ac_delim 14060include_stdarg_h!$include_stdarg_h$ac_delim
14061include_stdlib_h!$include_stdlib_h$ac_delim
14062include_unistd_h!$include_unistd_h$ac_delim
14063include_string_h!$include_string_h$ac_delim
14064include_fcntl_h!$include_fcntl_h$ac_delim
14065include_util_h!$include_util_h$ac_delim
14066include_assert_h!$include_assert_h$ac_delim
14229_ACEOF 14067_ACEOF
14230 14068
14231 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
14232 break 14070 break
14233 elif $ac_last_try; then 14071 elif $ac_last_try; then
14265 14103
14266 14104
14267ac_delim='%!_!# ' 14105ac_delim='%!_!# '
14268for ac_last_try in false false false false false :; do 14106for ac_last_try in false false false false false :; do
14269 cat >conf$$subs.sed <<_ACEOF 14107 cat >conf$$subs.sed <<_ACEOF
14270include_stdlib_h!$include_stdlib_h$ac_delim
14271include_unistd_h!$include_unistd_h$ac_delim
14272include_string_h!$include_string_h$ac_delim
14273include_fcntl_h!$include_fcntl_h$ac_delim
14274include_util_h!$include_util_h$ac_delim
14275include_assert_h!$include_assert_h$ac_delim
14276include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim 14108include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14277include_sys_select_h!$include_sys_select_h$ac_delim 14109include_sys_select_h!$include_sys_select_h$ac_delim
14278include_sys_strredir_h!$include_sys_strredir_h$ac_delim 14110include_sys_strredir_h!$include_sys_strredir_h$ac_delim
14279include_sys_time_h!$include_sys_time_h$ac_delim 14111include_sys_time_h!$include_sys_time_h$ac_delim
14280include_time_h!$include_time_h$ac_delim 14112include_time_h!$include_time_h$ac_delim
14281LIBOBJS!$LIBOBJS$ac_delim 14113LIBOBJS!$LIBOBJS$ac_delim
14282LTLIBOBJS!$LTLIBOBJS$ac_delim 14114LTLIBOBJS!$LTLIBOBJS$ac_delim
14283_ACEOF 14115_ACEOF
14284 14116
14285 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then 14117 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
14286 break 14118 break
14287 elif $ac_last_try; then 14119 elif $ac_last_try; then
14288 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14120 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14289echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14121echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14290 { (exit 1); exit 1; }; } 14122 { (exit 1); exit 1; }; }
14719 Install path: ${prefix}/bin 14551 Install path: ${prefix}/bin
14720 Compiler: $CXX 14552 Compiler: $CXX
14721 Compiler flags: $CXXFLAGS 14553 Compiler flags: $CXXFLAGS
14722 Linker: $LINKER" 14554 Linker: $LINKER"
14723 14555
14724if test x$support_xpm = xyes; then
14725 echo " Xpm library: $XPM_LIBS"
14726fi
14727
14728if test x$support_afterimage = xyes; then
14729 echo " AfterImage support: yes"
14730fi
14731
14732
14733if test x$term != x; then 14556if test x$term != x; then
14734 echo " set TERM to: $term" 14557 echo " set TERM to: $term"
14735fi 14558fi
14736if test x$terminfo != x; then 14559if test x$terminfo != x; then
14737 echo " set TERMINFO to: $terminfo" 14560 echo " set TERMINFO to: $terminfo"
14743fi 14566fi
14744echo 14567echo
14745echo " embedded perl: $support_perl" 14568echo " embedded perl: $support_perl"
14746echo " libafterimage: $support_afterimage" 14569echo " libafterimage: $support_afterimage"
14747echo 14570echo
14748if test x$support_xpm = xneedsmanualspecification; then
14749 echo ".----------------------------------------------------------------."
14750 echo ". WARNING: --enable-xpm-background was specified however the ."
14751 echo ". XPM includes files and libraries could not be found. ."
14752 echo ". XPM backgrounds are now being DISABLED! If you want ."
14753 echo ". to use them you should rerun configure with the ."
14754 echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ."
14755 echo ". and --with-xpm-library=/path/to/xpm/library lines. ."
14756 echo ".----------------------------------------------------------------."
14757fi
14758if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then 14571if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then
14759 echo ".----------------------------------------------------------------." 14572 echo ".----------------------------------------------------------------."
14760 echo ". WARNING: --enable-xim was specified however the locale support ." 14573 echo ". WARNING: --enable-xim was specified however the locale support ."
14761 echo ". functions could not be found. ." 14574 echo ". functions could not be found. ."
14762 echo ". XIM is now being DISABLED! ." 14575 echo ". XIM is now being DISABLED! ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines