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

Comparing rxvt-unicode/configure (file contents):
Revision 1.102 by ayin, Tue May 8 11:24:45 2007 UTC vs.
Revision 1.118 by root, Sun Nov 18 01:31:38 2007 UTC

679GREP 679GREP
680EGREP 680EGREP
681LINKER 681LINKER
682INSTALL_LIBRXVT 682INSTALL_LIBRXVT
683RXVTNAME 683RXVTNAME
684MV 684CXXCPP
685CP
686LN
687SED
688ECHO
689CMP
690TIC 685TIC
691XMKMF 686XMKMF
692CXXCPP
693X_CFLAGS 687X_CFLAGS
694X_PRE_LIBS 688X_PRE_LIBS
695X_LIBS 689X_LIBS
696X_EXTRA_LIBS 690X_EXTRA_LIBS
697XPM_CPPFLAGS 691afterimage_config
698XPM_CFLAGS
699XPM_LIBS
700rxvt_int16_typedef 692rxvt_int16_typedef
701rxvt_uint16_typedef 693rxvt_uint16_typedef
702rxvt_int32_typedef 694rxvt_int32_typedef
703rxvt_uint32_typedef 695rxvt_uint32_typedef
704rxvt_intp_define 696rxvt_intp_define
709PERLLIB 701PERLLIB
710PERLFLAGS 702PERLFLAGS
711PERLPRIVLIBEXP 703PERLPRIVLIBEXP
712IF_PERL 704IF_PERL
713PERL_O 705PERL_O
714DEBUG 706AFTERIMAGE_CFLAGS
715DINCLUDE 707AFTERIMAGE_LIBS
716DLIB
717include_stdint_h 708include_stdint_h
718include_stdarg_h 709include_stdarg_h
719include_stdlib_h 710include_stdlib_h
720include_unistd_h 711include_unistd_h
721include_string_h 712include_string_h
740CPPFLAGS 731CPPFLAGS
741CXX 732CXX
742CXXFLAGS 733CXXFLAGS
743CCC 734CCC
744CPP 735CPP
745XMKMF
746CXXCPP' 736CXXCPP
737XMKMF'
747 738
748 739
749# Initialize some variables set by options. 740# Initialize some variables set by options.
750ac_init_help= 741ac_init_help=
751ac_init_version=false 742ac_init_version=false
1326 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1327 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1328 --enable-everything enable standard non-multichoice features 1319 --enable-everything enable standard non-multichoice features
1329 NOTE: this option is order dependent 1320 NOTE: this option is order dependent
1330 NOTE: automatically enabled with --enable-shared 1321 NOTE: automatically enabled with --enable-shared
1322 --enable-warnings turn on g++ warnings
1331 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1323 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1332 --enable-combining enable composition of base and combining characters 1324 --enable-combining enable composition of base and combining characters
1333 --enable-xft enable xft support on systems that have it 1325 --enable-xft enable xft support on systems that have it
1334 --enable-font-styles enable bold and italic support 1326 --enable-font-styles enable bold and italic support
1335 --enable-xpm-background enable XPM background pixmaps 1327 --enable-afterimage enable integration with libAfterImage for background images
1336 --enable-transparency enable transparent backgrounds 1328 --enable-transparency enable transparent backgrounds
1337 --enable-tinting enable tinting of transparent bg
1338 --enable-fading enable colors fading when off focus 1329 --enable-fading enable colors fading when off focus
1339 --enable-rxvt-scroll enable rxvt style scrollbar 1330 --enable-rxvt-scroll enable rxvt style scrollbar
1340 --enable-next-scroll enable NeXT style scrollbar 1331 --enable-next-scroll enable NeXT style scrollbar
1341 --enable-xterm-scroll enable Xterm style scrollbar 1332 --enable-xterm-scroll enable Xterm style scrollbar
1342 --enable-perl enable embedded perl interpreter 1333 --enable-perl enable embedded perl interpreter
1344 --enable-xim XIM (X Input Method) protocol support 1335 --enable-xim XIM (X Input Method) protocol support
1345 --disable-backspace-key disable handling of the backspace key 1336 --disable-backspace-key disable handling of the backspace key
1346 --disable-delete-key disable handling of the delete key 1337 --disable-delete-key disable handling of the delete key
1347 --disable-resources disable all resource checking 1338 --disable-resources disable all resource checking
1348 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1339 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1349 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1340 --enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1350 --disable-swapscreen disable swap screen support 1341 --disable-swapscreen disable swap screen support
1351 --enable-iso14755 enable support for extended ISO 14755 modes 1342 --enable-iso14755 enable support for extended ISO 14755 modes
1352 --enable-frills enable support for rarely used features 1343 --enable-frills enable support for rarely used features
1353 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1344 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1354 --enable-selectionscrolling enable scrolling during selections 1345 --enable-selectionscrolling enable scrolling during selections
1355 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1346 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1356 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1347 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
1357 --enable-smart-resize enable smart growth/shrink behaviour 1348 --enable-smart-resize enable smart growth/shrink behaviour
1358 --enable-text-blink enable blinking text 1349 --enable-text-blink enable blinking text
1359 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1350 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1360 --enable-utmp enable utmp (utmpx) support 1351 --enable-utmp enable utmp (utmpx) support
1361 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1352 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1362 --enable-lastlog enable lastlog support (requires --enable-utmp) 1353 --enable-lastlog enable lastlog support (requires --enable-utmp)
1363 1354
1364Optional Packages: 1355Optional Packages:
1365 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1356 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1366 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1357 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1358 --with-afterimage-config=DIR use libAfterImage config script in DIR
1367 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 1359 --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1368 --with-res-name=NAME use this as default resource name (default: urxvt) 1360 --with-res-name=NAME use this as default resource name (default: urxvt)
1369 --with-res-class=CLASS use this as the resource class (default: URxvt) 1361 --with-res-class=CLASS use this as the resource class (default: URxvt)
1370 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1362 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1371 --with-term=NAME set the terminal to NAME (default: rxvt) 1363 --with-term=NAME set the terminal to NAME (default: rxvt)
1372 --with-terminfo=PATH set the path to the terminfo tree to PATH 1364 --with-terminfo=PATH set the path to the terminfo tree to PATH
1373 --with-x use the X Window System 1365 --with-x use the X Window System
1374 --with-xpm-includes=DIR use XPM includes in DIR
1375 --with-xpm-library=DIR use XPM library in DIR
1376 --with-xpm use XPM
1377 1366
1378Some influential environment variables: 1367Some influential environment variables:
1379 CC C compiler command 1368 CC C compiler command
1380 CFLAGS C compiler flags 1369 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1373 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir> 1374 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command 1375 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags 1376 CXXFLAGS C++ compiler flags
1388 CPP C preprocessor 1377 CPP C preprocessor
1378 CXXCPP C++ preprocessor
1389 XMKMF Path to xmkmf, Makefile generator for X Window System 1379 XMKMF Path to xmkmf, Makefile generator for X Window System
1390 CXXCPP C++ preprocessor
1391 1380
1392Use these variables to override the choices made by `configure' or to help 1381Use these variables to override the choices made by `configure' or to help
1393it to find libraries and programs with nonstandard names/locations. 1382it to find libraries and programs with nonstandard names/locations.
1394 1383
1395_ACEOF 1384_ACEOF
1931 1920
1932 1921
1933 1922
1934VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1923VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1935DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1924DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1925
1936echo "" 1926echo ""
1937echo "configuring for rxvt $VERSION" 1927echo "configuring for rxvt $VERSION"
1938echo "" 1928echo ""
1939 1929
1940orig_CXXFLAGS="$CXXFLAGS" 1930orig_CXXFLAGS="$CXXFLAGS"
3881LINKER=$LINKER 3871LINKER=$LINKER
3882 3872
3883 3873
3884if test -z "$orig_CXXFLAGS"; then 3874if test -z "$orig_CXXFLAGS"; then
3885 if test x$GCC = xyes && test "x$GXX" = xyes; then 3875 if test x$GCC = xyes && test "x$GXX" = xyes; then
3886 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3876 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3887 cat >conftest.$ac_ext <<_ACEOF 3877 cat >conftest.$ac_ext <<_ACEOF
3888/* confdefs.h. */ 3878/* confdefs.h. */
3889_ACEOF 3879_ACEOF
3890cat confdefs.h >>conftest.$ac_ext 3880cat confdefs.h >>conftest.$ac_ext
3891cat >>conftest.$ac_ext <<_ACEOF 3881cat >>conftest.$ac_ext <<_ACEOF
3939 3929
3940case $host in 3930case $host in
3941 *-*-solaris* ) 3931 *-*-solaris* )
3942 3932
3943cat >>confdefs.h <<\_ACEOF 3933cat >>confdefs.h <<\_ACEOF
3944#define _XOPEN_SOURCE_EXTENDED 1
3945_ACEOF
3946
3947
3948cat >>confdefs.h <<\_ACEOF
3949#define _XOPEN_SOURCE 2 3934#define _XOPEN_SOURCE 500
3950_ACEOF
3951
3952
3953cat >>confdefs.h <<\_ACEOF
3954#define __EXTENSIONS__ 1
3955_ACEOF 3935_ACEOF
3956 3936
3957 ;; 3937 ;;
3958esac 3938esac
3959 3939
4414 4394
4415 4395
4416 4396
4417support_frills=yes 4397support_frills=yes
4418support_inheritpixmap=yes 4398support_inheritpixmap=yes
4419support_tinting=yes
4420support_fading=yes 4399support_fading=yes
4421support_keepscrolling=yes 4400support_keepscrolling=yes
4422support_selectionscrolling=yes 4401support_selectionscrolling=yes
4423support_mousewheel=yes 4402support_mousewheel=yes
4424support_mouseslipwheel=yes 4403support_mouseslipwheel=yes
4427support_scroll_rxvt=yes 4406support_scroll_rxvt=yes
4428support_scroll_next=yes 4407support_scroll_next=yes
4429support_scroll_xterm=yes 4408support_scroll_xterm=yes
4430support_scroll_plain=yes 4409support_scroll_plain=yes
4431support_xim=yes 4410support_xim=yes
4432support_xpm=yes 4411support_afterimage=yes
4412support_afterstep=yes
4433support_xft=yes 4413support_xft=yes
4434support_unicode3=no 4414support_unicode3=no
4435support_combining=yes 4415support_combining=yes
4436support_8bitctrls=no 4416support_8bitctrls=no
4437support_iso14755=yes 4417support_iso14755=yes
4454if test "${enable_everything+set}" = set; then 4434if test "${enable_everything+set}" = set; then
4455 enableval=$enable_everything; 4435 enableval=$enable_everything;
4456 if test x$enableval = xno; then 4436 if test x$enableval = xno; then
4457 support_frills=no 4437 support_frills=no
4458 support_inheritpixmap=no 4438 support_inheritpixmap=no
4459 support_tinting=no
4460 support_fading=no 4439 support_fading=no
4461 support_keepscrolling=no 4440 support_keepscrolling=no
4462 support_selectionscrolling=no 4441 support_selectionscrolling=no
4463 support_lastlog=no 4442 support_lastlog=no
4464 support_mousewheel=no 4443 support_mousewheel=no
4470 support_scroll_xterm=no 4449 support_scroll_xterm=no
4471 support_scroll_plain=no 4450 support_scroll_plain=no
4472 support_utmp=no 4451 support_utmp=no
4473 support_wtmp=no 4452 support_wtmp=no
4474 support_xim=no 4453 support_xim=no
4454 support_afterimage=no
4475 support_xpm=no 4455 support_afterstep=no
4476 support_xft=no 4456 support_xft=no
4477 support_unicode3=no 4457 support_unicode3=no
4478 support_combining=no 4458 support_combining=no
4479 support_8bitctrls=no 4459 support_8bitctrls=no
4480 support_iso14755=no 4460 support_iso14755=no
4483 codesets= 4463 codesets=
4484 fi 4464 fi
4485 if test x$enableval = xyes; then 4465 if test x$enableval = xyes; then
4486 support_frills=yes 4466 support_frills=yes
4487 support_inheritpixmap=yes 4467 support_inheritpixmap=yes
4488 support_tinting=yes
4489 support_fading=yes 4468 support_fading=yes
4490 support_keepscrolling=yes 4469 support_keepscrolling=yes
4491 support_selectionscrolling=yes 4470 support_selectionscrolling=yes
4492 support_lastlog=yes 4471 support_lastlog=yes
4493 support_mousewheel=yes 4472 support_mousewheel=yes
4499 support_scroll_xterm=yes 4478 support_scroll_xterm=yes
4500 support_scroll_plain=yes 4479 support_scroll_plain=yes
4501 support_utmp=yes 4480 support_utmp=yes
4502 support_wtmp=yes 4481 support_wtmp=yes
4503 support_xim=yes 4482 support_xim=yes
4483 support_afterimage=yes
4504 support_xpm=yes 4484 support_afterstep=yes
4505 support_xft=yes 4485 support_xft=yes
4506 support_unicode3=yes 4486 support_unicode3=yes
4507 support_combining=yes 4487 support_combining=yes
4508 #support_8bitctrls=yes 4488 #support_8bitctrls=yes
4509 support_iso14755=yes 4489 support_iso14755=yes
4513 fi 4493 fi
4514 4494
4515fi 4495fi
4516 4496
4517 4497
4498WARNINGS=no
4499# Check whether --enable-warnings was given.
4500if test "${enable_warnings+set}" = set; then
4501 enableval=$enable_warnings; if test x$enableval = xyes; then
4502 WARNINGS=yes
4503 fi
4504fi
4505
4506if test x$GXX = xyes; then
4507 if test $WARNINGS = yes; then
4508 save_CXXFLAGS="$CXXFLAGS"
4509 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor"
4510 cat >conftest.$ac_ext <<_ACEOF
4511/* confdefs.h. */
4512_ACEOF
4513cat confdefs.h >>conftest.$ac_ext
4514cat >>conftest.$ac_ext <<_ACEOF
4515/* end confdefs.h. */
4516
4517int
4518main ()
4519{
4520
4521 ;
4522 return 0;
4523}
4524_ACEOF
4525rm -f conftest.$ac_objext
4526if { (ac_try="$ac_compile"
4527case "(($ac_try" in
4528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4530esac
4531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4532 (eval "$ac_compile") 2>conftest.er1
4533 ac_status=$?
4534 grep -v '^ *+' conftest.er1 >conftest.err
4535 rm -f conftest.er1
4536 cat conftest.err >&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); } && {
4539 test -z "$ac_cxx_werror_flag" ||
4540 test ! -s conftest.err
4541 } && test -s conftest.$ac_objext; then
4542 :
4543else
4544 echo "$as_me: failed program was:" >&5
4545sed 's/^/| /' conftest.$ac_ext >&5
4546
4547 CXXFLAGS="$save_CXXFLAGS"
4548fi
4549
4550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 else
4552 CXXFLAGS="$CXXFLAGS -w"
4553 fi
4554fi
4555
4518# Check whether --enable-unicode3 was given. 4556# Check whether --enable-unicode3 was given.
4519if test "${enable_unicode3+set}" = set; then 4557if test "${enable_unicode3+set}" = set; then
4520 enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then 4558 enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then
4521 support_unicode3=$enableval 4559 support_unicode3=$enableval
4522 fi 4560 fi
4545 support_styles=$enableval 4583 support_styles=$enableval
4546 fi 4584 fi
4547fi 4585fi
4548 4586
4549 4587
4550# Check whether --enable-xpm-background was given. 4588# Check whether --enable-afterimage was given.
4551if test "${enable_xpm_background+set}" = set; then 4589if test "${enable_afterimage+set}" = set; then
4552 enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then 4590 enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then
4553 support_xpm=$enableval 4591 support_afterimage=$enableval
4554 fi 4592 fi
4555fi 4593fi
4594
4595
4596
4597# Check whether --with-afterimage_config was given.
4598if test "${with_afterimage_config+set}" = set; then
4599 withval=$with_afterimage_config; if test "x$withval" != x; then
4600 afterimage_config=$withval/afterimage-config
4601 fi
4602fi
4603
4556 4604
4557 4605
4558# Check whether --enable-transparency was given. 4606# Check whether --enable-transparency was given.
4559if test "${enable_transparency+set}" = set; then 4607if test "${enable_transparency+set}" = set; then
4560 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then 4608 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then
4561 support_inheritpixmap=$enableval 4609 support_inheritpixmap=$enableval
4562 fi
4563fi
4564
4565
4566# Check whether --enable-tinting was given.
4567if test "${enable_tinting+set}" = set; then
4568 enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then
4569 support_tinting=$enableval
4570 fi 4610 fi
4571fi 4611fi
4572 4612
4573 4613
4574# Check whether --enable-fading was given. 4614# Check whether --enable-fading was given.
4852 fi 4892 fi
4853fi 4893fi
4854 4894
4855 4895
4856 4896
4857# Extract the first word of "mv", so it can be a program name with args. 4897LIBEV_M4_AVOID_LIBRT=1
4858set dummy mv; ac_word=$2 4898
4859{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4899ac_ext=cpp
4860echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4900ac_cpp='$CXXCPP $CPPFLAGS'
4901ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4902ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4904{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4905echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4906if test -z "$CXXCPP"; then
4861if test "${ac_cv_path_MV+set}" = set; then 4907 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6 4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4863else 4909else
4864 case $MV in 4910 # Double quotes because CXXCPP needs to be expanded
4865 [\\/]* | ?:[\\/]*) 4911 for CXXCPP in "$CXX -E" "/lib/cpp"
4866 ac_cv_path_MV="$MV" # Let the user override the test with a path. 4912 do
4867 ;; 4913 ac_preproc_ok=false
4868 *) 4914for ac_cxx_preproc_warn_flag in '' yes
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870for as_dir in $PATH
4871do 4915do
4872 IFS=$as_save_IFS 4916 # Use a header file that comes with gcc, so configuring glibc
4873 test -z "$as_dir" && as_dir=. 4917 # with a fresh cross-compiler works.
4874 for ac_exec_ext in '' $ac_executable_extensions; do 4918 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4919 # <limits.h> exists even on freestanding compilers.
4876 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" 4920 # On the NeXT, cc -E runs the code through the compiler's parser,
4877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4921 # not just through cpp. "Syntax error" is here to catch this case.
4878 break 2 4922 cat >conftest.$ac_ext <<_ACEOF
4879 fi 4923/* confdefs.h. */
4924_ACEOF
4925cat confdefs.h >>conftest.$ac_ext
4926cat >>conftest.$ac_ext <<_ACEOF
4927/* end confdefs.h. */
4928#ifdef __STDC__
4929# include <limits.h>
4930#else
4931# include <assert.h>
4932#endif
4933 Syntax error
4934_ACEOF
4935if { (ac_try="$ac_cpp conftest.$ac_ext"
4936case "(($ac_try" in
4937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4938 *) ac_try_echo=$ac_try;;
4939esac
4940eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4942 ac_status=$?
4943 grep -v '^ *+' conftest.er1 >conftest.err
4944 rm -f conftest.er1
4945 cat conftest.err >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } >/dev/null && {
4948 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4949 test ! -s conftest.err
4950 }; then
4951 :
4952else
4953 echo "$as_me: failed program was:" >&5
4954sed 's/^/| /' conftest.$ac_ext >&5
4955
4956 # Broken: fails on valid input.
4957continue
4958fi
4959
4960rm -f conftest.err conftest.$ac_ext
4961
4962 # OK, works on sane cases. Now check whether nonexistent headers
4963 # can be detected and how.
4964 cat >conftest.$ac_ext <<_ACEOF
4965/* confdefs.h. */
4966_ACEOF
4967cat confdefs.h >>conftest.$ac_ext
4968cat >>conftest.$ac_ext <<_ACEOF
4969/* end confdefs.h. */
4970#include <ac_nonexistent.h>
4971_ACEOF
4972if { (ac_try="$ac_cpp conftest.$ac_ext"
4973case "(($ac_try" in
4974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4976esac
4977eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4979 ac_status=$?
4980 grep -v '^ *+' conftest.er1 >conftest.err
4981 rm -f conftest.er1
4982 cat conftest.err >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } >/dev/null && {
4985 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4986 test ! -s conftest.err
4987 }; then
4988 # Broken: success on invalid input.
4989continue
4990else
4991 echo "$as_me: failed program was:" >&5
4992sed 's/^/| /' conftest.$ac_ext >&5
4993
4994 # Passes both tests.
4995ac_preproc_ok=:
4996break
4997fi
4998
4999rm -f conftest.err conftest.$ac_ext
5000
4880done 5001done
5002# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5003rm -f conftest.err conftest.$ac_ext
5004if $ac_preproc_ok; then
5005 break
5006fi
5007
5008 done
5009 ac_cv_prog_CXXCPP=$CXXCPP
5010
5011fi
5012 CXXCPP=$ac_cv_prog_CXXCPP
5013else
5014 ac_cv_prog_CXXCPP=$CXXCPP
5015fi
5016{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5017echo "${ECHO_T}$CXXCPP" >&6; }
5018ac_preproc_ok=false
5019for ac_cxx_preproc_warn_flag in '' yes
5020do
5021 # Use a header file that comes with gcc, so configuring glibc
5022 # with a fresh cross-compiler works.
5023 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5024 # <limits.h> exists even on freestanding compilers.
5025 # On the NeXT, cc -E runs the code through the compiler's parser,
5026 # not just through cpp. "Syntax error" is here to catch this case.
5027 cat >conftest.$ac_ext <<_ACEOF
5028/* confdefs.h. */
5029_ACEOF
5030cat confdefs.h >>conftest.$ac_ext
5031cat >>conftest.$ac_ext <<_ACEOF
5032/* end confdefs.h. */
5033#ifdef __STDC__
5034# include <limits.h>
5035#else
5036# include <assert.h>
5037#endif
5038 Syntax error
5039_ACEOF
5040if { (ac_try="$ac_cpp conftest.$ac_ext"
5041case "(($ac_try" in
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5044esac
5045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5047 ac_status=$?
5048 grep -v '^ *+' conftest.er1 >conftest.err
5049 rm -f conftest.er1
5050 cat conftest.err >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } >/dev/null && {
5053 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5054 test ! -s conftest.err
5055 }; then
5056 :
5057else
5058 echo "$as_me: failed program was:" >&5
5059sed 's/^/| /' conftest.$ac_ext >&5
5060
5061 # Broken: fails on valid input.
5062continue
5063fi
5064
5065rm -f conftest.err conftest.$ac_ext
5066
5067 # OK, works on sane cases. Now check whether nonexistent headers
5068 # can be detected and how.
5069 cat >conftest.$ac_ext <<_ACEOF
5070/* confdefs.h. */
5071_ACEOF
5072cat confdefs.h >>conftest.$ac_ext
5073cat >>conftest.$ac_ext <<_ACEOF
5074/* end confdefs.h. */
5075#include <ac_nonexistent.h>
5076_ACEOF
5077if { (ac_try="$ac_cpp conftest.$ac_ext"
5078case "(($ac_try" in
5079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5080 *) ac_try_echo=$ac_try;;
5081esac
5082eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5084 ac_status=$?
5085 grep -v '^ *+' conftest.er1 >conftest.err
5086 rm -f conftest.er1
5087 cat conftest.err >&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } >/dev/null && {
5090 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5091 test ! -s conftest.err
5092 }; then
5093 # Broken: success on invalid input.
5094continue
5095else
5096 echo "$as_me: failed program was:" >&5
5097sed 's/^/| /' conftest.$ac_ext >&5
5098
5099 # Passes both tests.
5100ac_preproc_ok=:
5101break
5102fi
5103
5104rm -f conftest.err conftest.$ac_ext
5105
4881done 5106done
4882IFS=$as_save_IFS 5107# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4883 5108rm -f conftest.err conftest.$ac_ext
4884 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" 5109if $ac_preproc_ok; then
4885 ;; 5110 :
4886esac
4887fi
4888MV=$ac_cv_path_MV
4889if test -n "$MV"; then
4890 { echo "$as_me:$LINENO: result: $MV" >&5
4891echo "${ECHO_T}$MV" >&6; }
4892else 5111else
4893 { echo "$as_me:$LINENO: result: no" >&5 5112 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4894echo "${ECHO_T}no" >&6; } 5113See \`config.log' for more details." >&5
5114echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5115See \`config.log' for more details." >&2;}
5116 { (exit 1); exit 1; }; }
4895fi 5117fi
4896 5118
5119ac_ext=cpp
5120ac_cpp='$CXXCPP $CPPFLAGS'
5121ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5122ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5123ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4897 5124
4898# Extract the first word of "cp", so it can be a program name with args. 5125
4899set dummy cp; ac_word=$2
4900{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5126{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4901echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5127echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4902if test "${ac_cv_path_CP+set}" = set; then 5128if test "${ac_cv_header_stdc+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6 5129 echo $ECHO_N "(cached) $ECHO_C" >&6
4904else 5130else
4905 case $CP in 5131 cat >conftest.$ac_ext <<_ACEOF
4906 [\\/]* | ?:[\\/]*) 5132/* confdefs.h. */
4907 ac_cv_path_CP="$CP" # Let the user override the test with a path. 5133_ACEOF
5134cat confdefs.h >>conftest.$ac_ext
5135cat >>conftest.$ac_ext <<_ACEOF
5136/* end confdefs.h. */
5137#include <stdlib.h>
5138#include <stdarg.h>
5139#include <string.h>
5140#include <float.h>
5141
5142int
5143main ()
5144{
5145
4908 ;; 5146 ;
4909 *) 5147 return 0;
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5148}
4911for as_dir in $PATH 5149_ACEOF
5150rm -f conftest.$ac_objext
5151if { (ac_try="$ac_compile"
5152case "(($ac_try" in
5153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5154 *) ac_try_echo=$ac_try;;
5155esac
5156eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5157 (eval "$ac_compile") 2>conftest.er1
5158 ac_status=$?
5159 grep -v '^ *+' conftest.er1 >conftest.err
5160 rm -f conftest.er1
5161 cat conftest.err >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); } && {
5164 test -z "$ac_cxx_werror_flag" ||
5165 test ! -s conftest.err
5166 } && test -s conftest.$ac_objext; then
5167 ac_cv_header_stdc=yes
5168else
5169 echo "$as_me: failed program was:" >&5
5170sed 's/^/| /' conftest.$ac_ext >&5
5171
5172 ac_cv_header_stdc=no
5173fi
5174
5175rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5176
5177if test $ac_cv_header_stdc = yes; then
5178 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5179 cat >conftest.$ac_ext <<_ACEOF
5180/* confdefs.h. */
5181_ACEOF
5182cat confdefs.h >>conftest.$ac_ext
5183cat >>conftest.$ac_ext <<_ACEOF
5184/* end confdefs.h. */
5185#include <string.h>
5186
5187_ACEOF
5188if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5189 $EGREP "memchr" >/dev/null 2>&1; then
5190 :
5191else
5192 ac_cv_header_stdc=no
5193fi
5194rm -f conftest*
5195
5196fi
5197
5198if test $ac_cv_header_stdc = yes; then
5199 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5200 cat >conftest.$ac_ext <<_ACEOF
5201/* confdefs.h. */
5202_ACEOF
5203cat confdefs.h >>conftest.$ac_ext
5204cat >>conftest.$ac_ext <<_ACEOF
5205/* end confdefs.h. */
5206#include <stdlib.h>
5207
5208_ACEOF
5209if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5210 $EGREP "free" >/dev/null 2>&1; then
5211 :
5212else
5213 ac_cv_header_stdc=no
5214fi
5215rm -f conftest*
5216
5217fi
5218
5219if test $ac_cv_header_stdc = yes; then
5220 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5221 if test "$cross_compiling" = yes; then
5222 :
5223else
5224 cat >conftest.$ac_ext <<_ACEOF
5225/* confdefs.h. */
5226_ACEOF
5227cat confdefs.h >>conftest.$ac_ext
5228cat >>conftest.$ac_ext <<_ACEOF
5229/* end confdefs.h. */
5230#include <ctype.h>
5231#include <stdlib.h>
5232#if ((' ' & 0x0FF) == 0x020)
5233# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5234# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5235#else
5236# define ISLOWER(c) \
5237 (('a' <= (c) && (c) <= 'i') \
5238 || ('j' <= (c) && (c) <= 'r') \
5239 || ('s' <= (c) && (c) <= 'z'))
5240# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5241#endif
5242
5243#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5244int
5245main ()
5246{
5247 int i;
5248 for (i = 0; i < 256; i++)
5249 if (XOR (islower (i), ISLOWER (i))
5250 || toupper (i) != TOUPPER (i))
5251 return 2;
5252 return 0;
5253}
5254_ACEOF
5255rm -f conftest$ac_exeext
5256if { (ac_try="$ac_link"
5257case "(($ac_try" in
5258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5259 *) ac_try_echo=$ac_try;;
5260esac
5261eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5262 (eval "$ac_link") 2>&5
5263 ac_status=$?
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5266 { (case "(($ac_try" in
5267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268 *) ac_try_echo=$ac_try;;
5269esac
5270eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5271 (eval "$ac_try") 2>&5
5272 ac_status=$?
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; }; then
5275 :
5276else
5277 echo "$as_me: program exited with status $ac_status" >&5
5278echo "$as_me: failed program was:" >&5
5279sed 's/^/| /' conftest.$ac_ext >&5
5280
5281( exit $ac_status )
5282ac_cv_header_stdc=no
5283fi
5284rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5285fi
5286
5287
5288fi
5289fi
5290{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5291echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5292if test $ac_cv_header_stdc = yes; then
5293
5294cat >>confdefs.h <<\_ACEOF
5295#define STDC_HEADERS 1
5296_ACEOF
5297
5298fi
5299
5300# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5311 inttypes.h stdint.h unistd.h
4912do 5312do
4913 IFS=$as_save_IFS 5313as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4914 test -z "$as_dir" && as_dir=. 5314{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4915 for ac_exec_ext in '' $ac_executable_extensions; do 5315echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5316if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4917 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" 5317 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5318else
4919 break 2 5319 cat >conftest.$ac_ext <<_ACEOF
4920 fi 5320/* confdefs.h. */
5321_ACEOF
5322cat confdefs.h >>conftest.$ac_ext
5323cat >>conftest.$ac_ext <<_ACEOF
5324/* end confdefs.h. */
5325$ac_includes_default
5326
5327#include <$ac_header>
5328_ACEOF
5329rm -f conftest.$ac_objext
5330if { (ac_try="$ac_compile"
5331case "(($ac_try" in
5332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5333 *) ac_try_echo=$ac_try;;
5334esac
5335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5336 (eval "$ac_compile") 2>conftest.er1
5337 ac_status=$?
5338 grep -v '^ *+' conftest.er1 >conftest.err
5339 rm -f conftest.er1
5340 cat conftest.err >&5
5341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5342 (exit $ac_status); } && {
5343 test -z "$ac_cxx_werror_flag" ||
5344 test ! -s conftest.err
5345 } && test -s conftest.$ac_objext; then
5346 eval "$as_ac_Header=yes"
5347else
5348 echo "$as_me: failed program was:" >&5
5349sed 's/^/| /' conftest.$ac_ext >&5
5350
5351 eval "$as_ac_Header=no"
5352fi
5353
5354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5355fi
5356ac_res=`eval echo '${'$as_ac_Header'}'`
5357 { echo "$as_me:$LINENO: result: $ac_res" >&5
5358echo "${ECHO_T}$ac_res" >&6; }
5359if test `eval echo '${'$as_ac_Header'}'` = yes; then
5360 cat >>confdefs.h <<_ACEOF
5361#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5362_ACEOF
5363
5364fi
5365
4921done 5366done
5367
5368
5369
5370
5371
5372
5373for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h
5374do
5375as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5376if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5377 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5378echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5379if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5380 echo $ECHO_N "(cached) $ECHO_C" >&6
5381fi
5382ac_res=`eval echo '${'$as_ac_Header'}'`
5383 { echo "$as_me:$LINENO: result: $ac_res" >&5
5384echo "${ECHO_T}$ac_res" >&6; }
5385else
5386 # Is the header compilable?
5387{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5388echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5389cat >conftest.$ac_ext <<_ACEOF
5390/* confdefs.h. */
5391_ACEOF
5392cat confdefs.h >>conftest.$ac_ext
5393cat >>conftest.$ac_ext <<_ACEOF
5394/* end confdefs.h. */
5395$ac_includes_default
5396#include <$ac_header>
5397_ACEOF
5398rm -f conftest.$ac_objext
5399if { (ac_try="$ac_compile"
5400case "(($ac_try" in
5401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5402 *) ac_try_echo=$ac_try;;
5403esac
5404eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5405 (eval "$ac_compile") 2>conftest.er1
5406 ac_status=$?
5407 grep -v '^ *+' conftest.er1 >conftest.err
5408 rm -f conftest.er1
5409 cat conftest.err >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } && {
5412 test -z "$ac_cxx_werror_flag" ||
5413 test ! -s conftest.err
5414 } && test -s conftest.$ac_objext; then
5415 ac_header_compiler=yes
5416else
5417 echo "$as_me: failed program was:" >&5
5418sed 's/^/| /' conftest.$ac_ext >&5
5419
5420 ac_header_compiler=no
5421fi
5422
5423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5425echo "${ECHO_T}$ac_header_compiler" >&6; }
5426
5427# Is the header present?
5428{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5429echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5430cat >conftest.$ac_ext <<_ACEOF
5431/* confdefs.h. */
5432_ACEOF
5433cat confdefs.h >>conftest.$ac_ext
5434cat >>conftest.$ac_ext <<_ACEOF
5435/* end confdefs.h. */
5436#include <$ac_header>
5437_ACEOF
5438if { (ac_try="$ac_cpp conftest.$ac_ext"
5439case "(($ac_try" in
5440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5441 *) ac_try_echo=$ac_try;;
5442esac
5443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5445 ac_status=$?
5446 grep -v '^ *+' conftest.er1 >conftest.err
5447 rm -f conftest.er1
5448 cat conftest.err >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } >/dev/null && {
5451 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5452 test ! -s conftest.err
5453 }; then
5454 ac_header_preproc=yes
5455else
5456 echo "$as_me: failed program was:" >&5
5457sed 's/^/| /' conftest.$ac_ext >&5
5458
5459 ac_header_preproc=no
5460fi
5461
5462rm -f conftest.err conftest.$ac_ext
5463{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5464echo "${ECHO_T}$ac_header_preproc" >&6; }
5465
5466# So? What about this header?
5467case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5468 yes:no: )
5469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5470echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5472echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5473 ac_header_preproc=yes
5474 ;;
5475 no:yes:* )
5476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5477echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5479echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5481echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5483echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5485echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5487echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5488
5489 ;;
5490esac
5491{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5492echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5493if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5495else
5496 eval "$as_ac_Header=\$ac_header_preproc"
5497fi
5498ac_res=`eval echo '${'$as_ac_Header'}'`
5499 { echo "$as_me:$LINENO: result: $ac_res" >&5
5500echo "${ECHO_T}$ac_res" >&6; }
5501
5502fi
5503if test `eval echo '${'$as_ac_Header'}'` = yes; then
5504 cat >>confdefs.h <<_ACEOF
5505#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5506_ACEOF
5507
5508fi
5509
4922done 5510done
4923IFS=$as_save_IFS
4924 5511
4925 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
4926 ;;
4927esac
4928fi
4929CP=$ac_cv_path_CP
4930if test -n "$CP"; then
4931 { echo "$as_me:$LINENO: result: $CP" >&5
4932echo "${ECHO_T}$CP" >&6; }
4933else
4934 { echo "$as_me:$LINENO: result: no" >&5
4935echo "${ECHO_T}no" >&6; }
4936fi
4937 5512
4938 5513
4939# Extract the first word of "ln", so it can be a program name with args. 5514
4940set dummy ln; ac_word=$2 5515
5516for ac_func in epoll_ctl kqueue port_create
5517do
5518as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4941{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5519{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4942echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5520echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4943if test "${ac_cv_path_LN+set}" = set; then 5521if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6 5522 echo $ECHO_N "(cached) $ECHO_C" >&6
4945else 5523else
4946 case $LN in 5524 cat >conftest.$ac_ext <<_ACEOF
4947 [\\/]* | ?:[\\/]*) 5525/* confdefs.h. */
4948 ac_cv_path_LN="$LN" # Let the user override the test with a path. 5526_ACEOF
5527cat confdefs.h >>conftest.$ac_ext
5528cat >>conftest.$ac_ext <<_ACEOF
5529/* end confdefs.h. */
5530/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5532#define $ac_func innocuous_$ac_func
5533
5534/* System header to define __stub macros and hopefully few prototypes,
5535 which can conflict with char $ac_func (); below.
5536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5537 <limits.h> exists even on freestanding compilers. */
5538
5539#ifdef __STDC__
5540# include <limits.h>
5541#else
5542# include <assert.h>
5543#endif
5544
5545#undef $ac_func
5546
5547/* Override any GCC internal prototype to avoid an error.
5548 Use char because int might match the return type of a GCC
5549 builtin and then its argument prototype would still apply. */
5550#ifdef __cplusplus
5551extern "C"
5552#endif
5553char $ac_func ();
5554/* The GNU C library defines this for functions which it implements
5555 to always fail with ENOSYS. Some functions are actually named
5556 something starting with __ and the normal name is an alias. */
5557#if defined __stub_$ac_func || defined __stub___$ac_func
5558choke me
5559#endif
5560
5561int
5562main ()
5563{
5564return $ac_func ();
4949 ;; 5565 ;
4950 *) 5566 return 0;
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5567}
4952for as_dir in $PATH 5568_ACEOF
5569rm -f conftest.$ac_objext conftest$ac_exeext
5570if { (ac_try="$ac_link"
5571case "(($ac_try" in
5572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573 *) ac_try_echo=$ac_try;;
5574esac
5575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5576 (eval "$ac_link") 2>conftest.er1
5577 ac_status=$?
5578 grep -v '^ *+' conftest.er1 >conftest.err
5579 rm -f conftest.er1
5580 cat conftest.err >&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); } && {
5583 test -z "$ac_cxx_werror_flag" ||
5584 test ! -s conftest.err
5585 } && test -s conftest$ac_exeext &&
5586 $as_test_x conftest$ac_exeext; then
5587 eval "$as_ac_var=yes"
5588else
5589 echo "$as_me: failed program was:" >&5
5590sed 's/^/| /' conftest.$ac_ext >&5
5591
5592 eval "$as_ac_var=no"
5593fi
5594
5595rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5596 conftest$ac_exeext conftest.$ac_ext
5597fi
5598ac_res=`eval echo '${'$as_ac_var'}'`
5599 { echo "$as_me:$LINENO: result: $ac_res" >&5
5600echo "${ECHO_T}$ac_res" >&6; }
5601if test `eval echo '${'$as_ac_var'}'` = yes; then
5602 cat >>confdefs.h <<_ACEOF
5603#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5604_ACEOF
5605
5606fi
5607done
5608
5609
5610{ echo "$as_me:$LINENO: checking for clock_gettime" >&5
5611echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; }
5612if test "${ac_cv_func_clock_gettime+set}" = set; then
5613 echo $ECHO_N "(cached) $ECHO_C" >&6
5614else
5615 cat >conftest.$ac_ext <<_ACEOF
5616/* confdefs.h. */
5617_ACEOF
5618cat confdefs.h >>conftest.$ac_ext
5619cat >>conftest.$ac_ext <<_ACEOF
5620/* end confdefs.h. */
5621/* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime.
5622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5623#define clock_gettime innocuous_clock_gettime
5624
5625/* System header to define __stub macros and hopefully few prototypes,
5626 which can conflict with char clock_gettime (); below.
5627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5628 <limits.h> exists even on freestanding compilers. */
5629
5630#ifdef __STDC__
5631# include <limits.h>
5632#else
5633# include <assert.h>
5634#endif
5635
5636#undef clock_gettime
5637
5638/* Override any GCC internal prototype to avoid an error.
5639 Use char because int might match the return type of a GCC
5640 builtin and then its argument prototype would still apply. */
5641#ifdef __cplusplus
5642extern "C"
5643#endif
5644char clock_gettime ();
5645/* The GNU C library defines this for functions which it implements
5646 to always fail with ENOSYS. Some functions are actually named
5647 something starting with __ and the normal name is an alias. */
5648#if defined __stub_clock_gettime || defined __stub___clock_gettime
5649choke me
5650#endif
5651
5652int
5653main ()
5654{
5655return clock_gettime ();
5656 ;
5657 return 0;
5658}
5659_ACEOF
5660rm -f conftest.$ac_objext conftest$ac_exeext
5661if { (ac_try="$ac_link"
5662case "(($ac_try" in
5663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5664 *) ac_try_echo=$ac_try;;
5665esac
5666eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5667 (eval "$ac_link") 2>conftest.er1
5668 ac_status=$?
5669 grep -v '^ *+' conftest.er1 >conftest.err
5670 rm -f conftest.er1
5671 cat conftest.err >&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); } && {
5674 test -z "$ac_cxx_werror_flag" ||
5675 test ! -s conftest.err
5676 } && test -s conftest$ac_exeext &&
5677 $as_test_x conftest$ac_exeext; then
5678 ac_cv_func_clock_gettime=yes
5679else
5680 echo "$as_me: failed program was:" >&5
5681sed 's/^/| /' conftest.$ac_ext >&5
5682
5683 ac_cv_func_clock_gettime=no
5684fi
5685
5686rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5687 conftest$ac_exeext conftest.$ac_ext
5688fi
5689{ echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5
5690echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5691if test $ac_cv_func_clock_gettime = yes; then
5692 :
5693else
5694
5695 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5696
5697{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5698echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5699if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5701else
5702 ac_check_lib_save_LIBS=$LIBS
5703LIBS="-lrt $LIBS"
5704cat >conftest.$ac_ext <<_ACEOF
5705/* confdefs.h. */
5706_ACEOF
5707cat confdefs.h >>conftest.$ac_ext
5708cat >>conftest.$ac_ext <<_ACEOF
5709/* end confdefs.h. */
5710
5711/* Override any GCC internal prototype to avoid an error.
5712 Use char because int might match the return type of a GCC
5713 builtin and then its argument prototype would still apply. */
5714#ifdef __cplusplus
5715extern "C"
5716#endif
5717char clock_gettime ();
5718int
5719main ()
5720{
5721return clock_gettime ();
5722 ;
5723 return 0;
5724}
5725_ACEOF
5726rm -f conftest.$ac_objext conftest$ac_exeext
5727if { (ac_try="$ac_link"
5728case "(($ac_try" in
5729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5731esac
5732eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5733 (eval "$ac_link") 2>conftest.er1
5734 ac_status=$?
5735 grep -v '^ *+' conftest.er1 >conftest.err
5736 rm -f conftest.er1
5737 cat conftest.err >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } && {
5740 test -z "$ac_cxx_werror_flag" ||
5741 test ! -s conftest.err
5742 } && test -s conftest$ac_exeext &&
5743 $as_test_x conftest$ac_exeext; then
5744 ac_cv_lib_rt_clock_gettime=yes
5745else
5746 echo "$as_me: failed program was:" >&5
5747sed 's/^/| /' conftest.$ac_ext >&5
5748
5749 ac_cv_lib_rt_clock_gettime=no
5750fi
5751
5752rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5753 conftest$ac_exeext conftest.$ac_ext
5754LIBS=$ac_check_lib_save_LIBS
5755fi
5756{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
5757echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
5758if test $ac_cv_lib_rt_clock_gettime = yes; then
5759 cat >>confdefs.h <<_ACEOF
5760#define HAVE_LIBRT 1
5761_ACEOF
5762
5763 LIBS="-lrt $LIBS"
5764
5765fi
5766
5767
5768for ac_func in clock_gettime
4953do 5769do
4954 IFS=$as_save_IFS 5770as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4955 test -z "$as_dir" && as_dir=. 5771{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4956 for ac_exec_ext in '' $ac_executable_extensions; do 5772echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5773if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4958 ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" 5774 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5775else
4960 break 2 5776 cat >conftest.$ac_ext <<_ACEOF
4961 fi 5777/* confdefs.h. */
5778_ACEOF
5779cat confdefs.h >>conftest.$ac_ext
5780cat >>conftest.$ac_ext <<_ACEOF
5781/* end confdefs.h. */
5782/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5784#define $ac_func innocuous_$ac_func
5785
5786/* System header to define __stub macros and hopefully few prototypes,
5787 which can conflict with char $ac_func (); below.
5788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5789 <limits.h> exists even on freestanding compilers. */
5790
5791#ifdef __STDC__
5792# include <limits.h>
5793#else
5794# include <assert.h>
5795#endif
5796
5797#undef $ac_func
5798
5799/* Override any GCC internal prototype to avoid an error.
5800 Use char because int might match the return type of a GCC
5801 builtin and then its argument prototype would still apply. */
5802#ifdef __cplusplus
5803extern "C"
5804#endif
5805char $ac_func ();
5806/* The GNU C library defines this for functions which it implements
5807 to always fail with ENOSYS. Some functions are actually named
5808 something starting with __ and the normal name is an alias. */
5809#if defined __stub_$ac_func || defined __stub___$ac_func
5810choke me
5811#endif
5812
5813int
5814main ()
5815{
5816return $ac_func ();
5817 ;
5818 return 0;
5819}
5820_ACEOF
5821rm -f conftest.$ac_objext conftest$ac_exeext
5822if { (ac_try="$ac_link"
5823case "(($ac_try" in
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5826esac
5827eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5828 (eval "$ac_link") 2>conftest.er1
5829 ac_status=$?
5830 grep -v '^ *+' conftest.er1 >conftest.err
5831 rm -f conftest.er1
5832 cat conftest.err >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } && {
5835 test -z "$ac_cxx_werror_flag" ||
5836 test ! -s conftest.err
5837 } && test -s conftest$ac_exeext &&
5838 $as_test_x conftest$ac_exeext; then
5839 eval "$as_ac_var=yes"
5840else
5841 echo "$as_me: failed program was:" >&5
5842sed 's/^/| /' conftest.$ac_ext >&5
5843
5844 eval "$as_ac_var=no"
5845fi
5846
5847rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5848 conftest$ac_exeext conftest.$ac_ext
5849fi
5850ac_res=`eval echo '${'$as_ac_var'}'`
5851 { echo "$as_me:$LINENO: result: $ac_res" >&5
5852echo "${ECHO_T}$ac_res" >&6; }
5853if test `eval echo '${'$as_ac_var'}'` = yes; then
5854 cat >>confdefs.h <<_ACEOF
5855#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5856_ACEOF
5857
5858fi
4962done 5859done
4963done
4964IFS=$as_save_IFS
4965 5860
4966 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" 5861 fi
4967 ;;
4968esac
4969fi
4970LN=$ac_cv_path_LN
4971if test -n "$LN"; then
4972 { echo "$as_me:$LINENO: result: $LN" >&5
4973echo "${ECHO_T}$LN" >&6; }
4974else
4975 { echo "$as_me:$LINENO: result: no" >&5
4976echo "${ECHO_T}no" >&6; }
4977fi
4978 5862
5863fi
4979 5864
4980# Extract the first word of "sed", so it can be a program name with args. 5865
4981set dummy sed; ac_word=$2 5866
4982{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5867{ echo "$as_me:$LINENO: checking for ceil in -lm" >&5
4983echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5868echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
4984if test "${ac_cv_path_SED+set}" = set; then 5869if test "${ac_cv_lib_m_ceil+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6 5870 echo $ECHO_N "(cached) $ECHO_C" >&6
4986else 5871else
4987 case $SED in 5872 ac_check_lib_save_LIBS=$LIBS
4988 [\\/]* | ?:[\\/]*) 5873LIBS="-lm $LIBS"
4989 ac_cv_path_SED="$SED" # Let the user override the test with a path. 5874cat >conftest.$ac_ext <<_ACEOF
5875/* confdefs.h. */
5876_ACEOF
5877cat confdefs.h >>conftest.$ac_ext
5878cat >>conftest.$ac_ext <<_ACEOF
5879/* end confdefs.h. */
5880
5881/* Override any GCC internal prototype to avoid an error.
5882 Use char because int might match the return type of a GCC
5883 builtin and then its argument prototype would still apply. */
5884#ifdef __cplusplus
5885extern "C"
5886#endif
5887char ceil ();
5888int
5889main ()
5890{
5891return ceil ();
4990 ;; 5892 ;
4991 *) 5893 return 0;
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5894}
4993for as_dir in $PATH 5895_ACEOF
4994do 5896rm -f conftest.$ac_objext conftest$ac_exeext
4995 IFS=$as_save_IFS 5897if { (ac_try="$ac_link"
4996 test -z "$as_dir" && as_dir=. 5898case "(($ac_try" in
4997 for ac_exec_ext in '' $ac_executable_extensions; do 5899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5900 *) ac_try_echo=$ac_try;;
4999 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
5000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 break 2
5002 fi
5003done
5004done
5005IFS=$as_save_IFS
5006
5007 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
5008 ;;
5009esac 5901esac
5902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5903 (eval "$ac_link") 2>conftest.er1
5904 ac_status=$?
5905 grep -v '^ *+' conftest.er1 >conftest.err
5906 rm -f conftest.er1
5907 cat conftest.err >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); } && {
5910 test -z "$ac_cxx_werror_flag" ||
5911 test ! -s conftest.err
5912 } && test -s conftest$ac_exeext &&
5913 $as_test_x conftest$ac_exeext; then
5914 ac_cv_lib_m_ceil=yes
5915else
5916 echo "$as_me: failed program was:" >&5
5917sed 's/^/| /' conftest.$ac_ext >&5
5918
5919 ac_cv_lib_m_ceil=no
5010fi 5920fi
5011SED=$ac_cv_path_SED 5921
5012if test -n "$SED"; then 5922rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5923 conftest$ac_exeext conftest.$ac_ext
5924LIBS=$ac_check_lib_save_LIBS
5925fi
5013 { echo "$as_me:$LINENO: result: $SED" >&5 5926{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
5014echo "${ECHO_T}$SED" >&6; } 5927echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; }
5015else 5928if test $ac_cv_lib_m_ceil = yes; then
5016 { echo "$as_me:$LINENO: result: no" >&5 5929 cat >>confdefs.h <<_ACEOF
5017echo "${ECHO_T}no" >&6; } 5930#define HAVE_LIBM 1
5018fi 5931_ACEOF
5019 5932
5933 LIBS="-lm $LIBS"
5020 5934
5021# Extract the first word of "echo", so it can be a program name with args.
5022set dummy echo; ac_word=$2
5023{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5024echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5025if test "${ac_cv_path_ECHO+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5027else
5028 case $ECHO in
5029 [\\/]* | ?:[\\/]*)
5030 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
5031 ;;
5032 *)
5033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5034for as_dir in $PATH
5035do
5036 IFS=$as_save_IFS
5037 test -z "$as_dir" && as_dir=.
5038 for ac_exec_ext in '' $ac_executable_extensions; do
5039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
5041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5042 break 2
5043 fi
5044done
5045done
5046IFS=$as_save_IFS
5047
5048 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
5049 ;;
5050esac
5051fi 5935fi
5052ECHO=$ac_cv_path_ECHO
5053if test -n "$ECHO"; then
5054 { echo "$as_me:$LINENO: result: $ECHO" >&5
5055echo "${ECHO_T}$ECHO" >&6; }
5056else
5057 { echo "$as_me:$LINENO: result: no" >&5
5058echo "${ECHO_T}no" >&6; }
5059fi
5060 5936
5061 5937
5062# Extract the first word of "cmp", so it can be a program name with args.
5063set dummy cmp; ac_word=$2
5064{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5065echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5066if test "${ac_cv_path_CMP+set}" = set; then
5067 echo $ECHO_N "(cached) $ECHO_C" >&6
5068else
5069 case $CMP in
5070 [\\/]* | ?:[\\/]*)
5071 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
5072 ;;
5073 *)
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075for as_dir in $PATH
5076do
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
5082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5084 fi
5085done
5086done
5087IFS=$as_save_IFS
5088 5938
5089 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" 5939
5090 ;; 5940
5091esac
5092fi
5093CMP=$ac_cv_path_CMP
5094if test -n "$CMP"; then
5095 { echo "$as_me:$LINENO: result: $CMP" >&5
5096echo "${ECHO_T}$CMP" >&6; }
5097else
5098 { echo "$as_me:$LINENO: result: no" >&5
5099echo "${ECHO_T}no" >&6; }
5100fi
5101 5941
5102 5942
5103# Extract the first word of "tic", so it can be a program name with args. 5943# Extract the first word of "tic", so it can be a program name with args.
5104set dummy tic; ac_word=$2 5944set dummy tic; ac_word=$2
5105{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5945{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5125 fi 5965 fi
5126done 5966done
5127done 5967done
5128IFS=$as_save_IFS 5968IFS=$as_save_IFS
5129 5969
5970 test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":"
5130 ;; 5971 ;;
5131esac 5972esac
5132fi 5973fi
5133TIC=$ac_cv_path_TIC 5974TIC=$ac_cv_path_TIC
5134if test -n "$TIC"; then 5975if test -n "$TIC"; then
5139echo "${ECHO_T}no" >&6; } 5980echo "${ECHO_T}no" >&6; }
5140fi 5981fi
5141 5982
5142 5983
5143 5984
5144
5145
5146ac_ext=cpp
5147ac_cpp='$CXXCPP $CPPFLAGS'
5148ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5149ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5150ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5151{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5152echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5153if test -z "$CXXCPP"; then
5154 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5156else
5157 # Double quotes because CXXCPP needs to be expanded
5158 for CXXCPP in "$CXX -E" "/lib/cpp"
5159 do
5160 ac_preproc_ok=false
5161for ac_cxx_preproc_warn_flag in '' yes
5162do
5163 # Use a header file that comes with gcc, so configuring glibc
5164 # with a fresh cross-compiler works.
5165 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5166 # <limits.h> exists even on freestanding compilers.
5167 # On the NeXT, cc -E runs the code through the compiler's parser,
5168 # not just through cpp. "Syntax error" is here to catch this case.
5169 cat >conftest.$ac_ext <<_ACEOF
5170/* confdefs.h. */
5171_ACEOF
5172cat confdefs.h >>conftest.$ac_ext
5173cat >>conftest.$ac_ext <<_ACEOF
5174/* end confdefs.h. */
5175#ifdef __STDC__
5176# include <limits.h>
5177#else
5178# include <assert.h>
5179#endif
5180 Syntax error
5181_ACEOF
5182if { (ac_try="$ac_cpp conftest.$ac_ext"
5183case "(($ac_try" in
5184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5185 *) ac_try_echo=$ac_try;;
5186esac
5187eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5188 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5189 ac_status=$?
5190 grep -v '^ *+' conftest.er1 >conftest.err
5191 rm -f conftest.er1
5192 cat conftest.err >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } >/dev/null && {
5195 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5196 test ! -s conftest.err
5197 }; then
5198 :
5199else
5200 echo "$as_me: failed program was:" >&5
5201sed 's/^/| /' conftest.$ac_ext >&5
5202
5203 # Broken: fails on valid input.
5204continue
5205fi
5206
5207rm -f conftest.err conftest.$ac_ext
5208
5209 # OK, works on sane cases. Now check whether nonexistent headers
5210 # can be detected and how.
5211 cat >conftest.$ac_ext <<_ACEOF
5212/* confdefs.h. */
5213_ACEOF
5214cat confdefs.h >>conftest.$ac_ext
5215cat >>conftest.$ac_ext <<_ACEOF
5216/* end confdefs.h. */
5217#include <ac_nonexistent.h>
5218_ACEOF
5219if { (ac_try="$ac_cpp conftest.$ac_ext"
5220case "(($ac_try" in
5221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222 *) ac_try_echo=$ac_try;;
5223esac
5224eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5226 ac_status=$?
5227 grep -v '^ *+' conftest.er1 >conftest.err
5228 rm -f conftest.er1
5229 cat conftest.err >&5
5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5231 (exit $ac_status); } >/dev/null && {
5232 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5233 test ! -s conftest.err
5234 }; then
5235 # Broken: success on invalid input.
5236continue
5237else
5238 echo "$as_me: failed program was:" >&5
5239sed 's/^/| /' conftest.$ac_ext >&5
5240
5241 # Passes both tests.
5242ac_preproc_ok=:
5243break
5244fi
5245
5246rm -f conftest.err conftest.$ac_ext
5247
5248done
5249# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5250rm -f conftest.err conftest.$ac_ext
5251if $ac_preproc_ok; then
5252 break
5253fi
5254
5255 done
5256 ac_cv_prog_CXXCPP=$CXXCPP
5257
5258fi
5259 CXXCPP=$ac_cv_prog_CXXCPP
5260else
5261 ac_cv_prog_CXXCPP=$CXXCPP
5262fi
5263{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5264echo "${ECHO_T}$CXXCPP" >&6; }
5265ac_preproc_ok=false
5266for ac_cxx_preproc_warn_flag in '' yes
5267do
5268 # Use a header file that comes with gcc, so configuring glibc
5269 # with a fresh cross-compiler works.
5270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5271 # <limits.h> exists even on freestanding compilers.
5272 # On the NeXT, cc -E runs the code through the compiler's parser,
5273 # not just through cpp. "Syntax error" is here to catch this case.
5274 cat >conftest.$ac_ext <<_ACEOF
5275/* confdefs.h. */
5276_ACEOF
5277cat confdefs.h >>conftest.$ac_ext
5278cat >>conftest.$ac_ext <<_ACEOF
5279/* end confdefs.h. */
5280#ifdef __STDC__
5281# include <limits.h>
5282#else
5283# include <assert.h>
5284#endif
5285 Syntax error
5286_ACEOF
5287if { (ac_try="$ac_cpp conftest.$ac_ext"
5288case "(($ac_try" in
5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5291esac
5292eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5294 ac_status=$?
5295 grep -v '^ *+' conftest.er1 >conftest.err
5296 rm -f conftest.er1
5297 cat conftest.err >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); } >/dev/null && {
5300 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5301 test ! -s conftest.err
5302 }; then
5303 :
5304else
5305 echo "$as_me: failed program was:" >&5
5306sed 's/^/| /' conftest.$ac_ext >&5
5307
5308 # Broken: fails on valid input.
5309continue
5310fi
5311
5312rm -f conftest.err conftest.$ac_ext
5313
5314 # OK, works on sane cases. Now check whether nonexistent headers
5315 # can be detected and how.
5316 cat >conftest.$ac_ext <<_ACEOF
5317/* confdefs.h. */
5318_ACEOF
5319cat confdefs.h >>conftest.$ac_ext
5320cat >>conftest.$ac_ext <<_ACEOF
5321/* end confdefs.h. */
5322#include <ac_nonexistent.h>
5323_ACEOF
5324if { (ac_try="$ac_cpp conftest.$ac_ext"
5325case "(($ac_try" in
5326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5327 *) ac_try_echo=$ac_try;;
5328esac
5329eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5331 ac_status=$?
5332 grep -v '^ *+' conftest.er1 >conftest.err
5333 rm -f conftest.er1
5334 cat conftest.err >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } >/dev/null && {
5337 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5338 test ! -s conftest.err
5339 }; then
5340 # Broken: success on invalid input.
5341continue
5342else
5343 echo "$as_me: failed program was:" >&5
5344sed 's/^/| /' conftest.$ac_ext >&5
5345
5346 # Passes both tests.
5347ac_preproc_ok=:
5348break
5349fi
5350
5351rm -f conftest.err conftest.$ac_ext
5352
5353done
5354# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5355rm -f conftest.err conftest.$ac_ext
5356if $ac_preproc_ok; then
5357 :
5358else
5359 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5360See \`config.log' for more details." >&5
5361echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5362See \`config.log' for more details." >&2;}
5363 { (exit 1); exit 1; }; }
5364fi
5365
5366ac_ext=cpp
5367ac_cpp='$CXXCPP $CPPFLAGS'
5368ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5369ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5370ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5371 5985
5372 5986
5373{ echo "$as_me:$LINENO: checking for X" >&5 5987{ echo "$as_me:$LINENO: checking for X" >&5
5374echo $ECHO_N "checking for X... $ECHO_C" >&6; } 5988echo $ECHO_N "checking for X... $ECHO_C" >&6; }
5375 5989
6683 LDFLAGS=$ac_save_LDFLAGS 7297 LDFLAGS=$ac_save_LDFLAGS
6684 7298
6685fi 7299fi
6686 7300
6687 7301
7302AFTERIMAGE_CFLAGS=
7303AFTERIMAGE_LIBS=
7304AFTERIMAGE_VERSION=
6688 7305
6689if test x$support_xpm = xyes; then 7306if test x$support_afterimage = xyes; then
7307 support_afterimage=no
6690 7308
6691 7309 if test "x$afterimage_config" = "x" ; then
6692 7310 # Extract the first word of "afterimage-config", so it can be a program name with args.
6693# Initialize some more variables set by options. 7311set dummy afterimage-config; ac_word=$2
6694# The variables have the same names as the options, with
6695# dashes changed to underlines.
6696
6697# If we find XPM, set shell vars xpm_includes and xpm_libraries to the
6698# paths, otherwise set no_xpm=yes.
6699# Uses ac_ vars as temps to allow command line to override cache and checks.
6700{ echo "$as_me:$LINENO: checking for libXpm" >&5 7312{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6701echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; } 7313echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6702
6703
6704# Check whether --with-xpm_includes was given.
6705if test "${with_xpm_includes+set}" = set; then
6706 withval=$with_xpm_includes; xpm_includes="$withval"
6707else
6708 xpm_includes=NO
6709fi
6710
6711
6712# Check whether --with-xpm_library was given.
6713if test "${with_xpm_library+set}" = set; then
6714 withval=$with_xpm_library; xpm_libraries="$withval"
6715else
6716 xpm_libraries=NO
6717fi
6718
6719
6720# --without-xpm overrides everything else, but does not touch the cache.
6721
6722# Check whether --with-xpm was given.
6723if test "${with_xpm+set}" = set; then
6724 withval=$with_xpm;
6725fi
6726
6727if test "$with_xpm" = no; then
6728 have_xpm=disabled
6729else
6730 if test "${ac_cv_have_xpm+set}" = set; then 7314if test "${ac_cv_path_afterimage_config+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6 7315 echo $ECHO_N "(cached) $ECHO_C" >&6
6732else 7316else
6733 7317 case $afterimage_config in
6734 vt_xpm_include_X11=no 7318 [\\/]* | ?:[\\/]*)
6735 if test -n "$xpm_includes"; then 7319 ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path.
6736 vt_xpm_includes=$xpm_includes 7320 ;;
6737 else 7321 *)
6738 vt_xpm_includes=NO 7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323for as_dir in $PATH
7324do
7325 IFS=$as_save_IFS
7326 test -z "$as_dir" && as_dir=.
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7329 ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext"
7330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7331 break 2
6739 fi 7332 fi
6740 if test -n "$xpm_libraries"; then 7333done
6741 vt_xpm_libraries=$xpm_libraries 7334done
7335IFS=$as_save_IFS
7336
7337 test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no"
7338 ;;
7339esac
7340fi
7341afterimage_config=$ac_cv_path_afterimage_config
7342if test -n "$afterimage_config"; then
7343 { echo "$as_me:$LINENO: result: $afterimage_config" >&5
7344echo "${ECHO_T}$afterimage_config" >&6; }
6742 else 7345else
6743 vt_xpm_libraries=NO 7346 { echo "$as_me:$LINENO: result: no" >&5
7347echo "${ECHO_T}no" >&6; }
7348fi
7349
7350
6744 fi 7351 fi
6745 7352 if test "x$afterimage_config" != "xno" ; then
6746 if test "$vt_xpm_includes" = NO; then 7353 { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5
6747 # Guess where to find xpm.h 7354echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; }
6748 7355 xAFTERIMAGE_VERSION=`$afterimage_config --version`
6749ac_save_CPPFLAGS="$CPPFLAGS" 7356 if test -n "$xAFTERIMAGE_VERSION" ; then
6750CPPFLAGS="$CPPFLAGS $X_CFLAGS" 7357 xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags`
6751 7358 xAFTERIMAGE_LIBS=`$afterimage_config --libs`
6752 # First, try using that file with no special directory specified. 7359 if test "x$xAFTERIMAGE_LIBS" != "x"; then
6753cat >conftest.$ac_ext <<_ACEOF 7360 libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .`
6754/* confdefs.h. */ 7361 libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .`
6755_ACEOF 7362 if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then
6756cat confdefs.h >>conftest.$ac_ext 7363 support_afterimage=yes
6757cat >>conftest.$ac_ext <<_ACEOF 7364 AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS"
6758/* end confdefs.h. */ 7365 AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS"
6759#include <X11/xpm.h> 7366 AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION"
6760_ACEOF
6761if { (ac_try="$ac_cpp conftest.$ac_ext"
6762case "(($ac_try" in
6763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6764 *) ac_try_echo=$ac_try;;
6765esac
6766eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6768 ac_status=$?
6769 grep -v '^ *+' conftest.er1 >conftest.err
6770 rm -f conftest.er1
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } >/dev/null && {
6774 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6775 test ! -s conftest.err
6776 }; then
6777 # We can compile using X headers with no special include directory.
6778vt_xpm_includes=
6779vt_xpm_include_X11=yes
6780else
6781 echo "$as_me: failed program was:" >&5
6782sed 's/^/| /' conftest.$ac_ext >&5
6783
6784 CPPFLAGS="$ac_save_CPPFLAGS"
6785# Look for the header file in a standard set of common directories.
6786 for ac_dir in \
6787 /usr/X11/include \
6788 /usr/X11R6/include \
6789 /usr/X11R5/include \
6790 /usr/X11R4/include \
6791 \
6792 /usr/include/X11 \
6793 /usr/include/X11R6 \
6794 /usr/include/X11R5 \
6795 /usr/include/X11R4 \
6796 \
6797 /usr/local/X11/include \
6798 /usr/local/X11R6/include \
6799 /usr/local/X11R5/include \
6800 /usr/local/X11R4/include \
6801 \
6802 /usr/local/include/X11 \
6803 /usr/local/include/X11R6 \
6804 /usr/local/include/X11R5 \
6805 /usr/local/include/X11R4 \
6806 \
6807 /usr/X386/include \
6808 /usr/x386/include \
6809 /usr/XFree86/include/X11 \
6810 \
6811 /usr/include \
6812 /usr/local/include \
6813 /usr/unsupported/include \
6814 /usr/athena/include \
6815 /usr/local/x11r5/include \
6816 /usr/lpp/Xamples/include \
6817 \
6818 /usr/openwin/include \
6819 /usr/openwin/share/include \
6820 ; \
6821 do
6822 if test -r "$ac_dir/X11/xpm.h"; then
6823 vt_xpm_includes="$ac_dir"
6824 vt_xpm_include_X11=yes
6825 break
6826 else
6827 if test -r "$ac_dir/xpm.h"; then
6828 vt_xpm_includes=$ac_dir
6829 break
6830 fi
6831 fi
6832 done
6833fi
6834
6835rm -f conftest.err conftest.$ac_ext
6836fi
6837
6838if test "$vt_xpm_libraries" = NO; then
6839 # Check for the libraries.
6840
6841 # See if we find them without any special options.
6842 # Don't add to $LIBS permanently.
6843 ac_save_LIBS="$LIBS"
6844 LIBS="$LIBS $X_LIBS -lXpm -lX11"
6845cat >conftest.$ac_ext <<_ACEOF
6846/* confdefs.h. */
6847_ACEOF
6848cat confdefs.h >>conftest.$ac_ext
6849cat >>conftest.$ac_ext <<_ACEOF
6850/* end confdefs.h. */
6851
6852int
6853main ()
6854{
6855XpmReadFileToPixmap()
6856 ;
6857 return 0;
6858}
6859_ACEOF
6860rm -f conftest.$ac_objext conftest$ac_exeext
6861if { (ac_try="$ac_link"
6862case "(($ac_try" in
6863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6864 *) ac_try_echo=$ac_try;;
6865esac
6866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6867 (eval "$ac_link") 2>conftest.er1
6868 ac_status=$?
6869 grep -v '^ *+' conftest.er1 >conftest.err
6870 rm -f conftest.er1
6871 cat conftest.err >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } && {
6874 test -z "$ac_cxx_werror_flag" ||
6875 test ! -s conftest.err
6876 } && test -s conftest$ac_exeext &&
6877 $as_test_x conftest$ac_exeext; then
6878 LIBS="$ac_save_LIBS"
6879# We can link libXpm with no special library path.
6880vt_xpm_libraries=
6881else
6882 echo "$as_me: failed program was:" >&5
6883sed 's/^/| /' conftest.$ac_ext >&5
6884
6885 LIBS="$ac_save_LIBS"
6886# First see if replacing the include by lib works.
6887for ac_dir in \
6888 `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \
6889 /usr/X11/lib \
6890 /usr/X11R6/lib \
6891 /usr/X11R5/lib \
6892 /usr/X11R4/lib \
6893 \
6894 /usr/lib/X11 \
6895 /usr/lib/X11R6 \
6896 /usr/lib/X11R5 \
6897 /usr/lib/X11R4 \
6898 \
6899 /usr/local/X11/lib \
6900 /usr/local/X11R6/lib \
6901 /usr/local/X11R5/lib \
6902 /usr/local/X11R4/lib \
6903 \
6904 /usr/local/lib/X11 \
6905 /usr/local/lib/X11R6 \
6906 /usr/local/lib/X11R5 \
6907 /usr/local/lib/X11R4 \
6908 \
6909 /usr/X386/lib \
6910 /usr/x386/lib \
6911 /usr/XFree86/lib/X11 \
6912 \
6913 /usr/lib \
6914 /usr/local/lib \
6915 /usr/unsupported/lib \
6916 /usr/athena/lib \
6917 /usr/local/x11r5/lib \
6918 /usr/lpp/Xamples/lib \
6919 \
6920 /usr/openwin/lib \
6921 /usr/openwin/share/lib \
6922 ; \
6923do
6924 for ac_extension in a so sl; do
6925 if test -r $ac_dir/libXpm.$ac_extension; then
6926 vt_xpm_libraries=$ac_dir
6927 break 2
6928 fi
6929 done
6930done
6931fi
6932
6933rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6934 conftest$ac_exeext conftest.$ac_ext
6935fi
6936
6937
6938 if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then
6939 ac_cv_have_xpm="have_xpm=no"
6940 else
6941 ac_cv_have_xpm="have_xpm=yes \
6942 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
6943 vt_xpm_include_X11=$vt_xpm_include_X11"
6944 fi
6945fi
6946 eval "$ac_cv_have_xpm"
6947fi
6948
6949if test "$have_xpm" != yes; then
6950 { echo "$as_me:$LINENO: result: $have_xpm" >&5
6951echo "${ECHO_T}$have_xpm" >&6; }
6952 no_xpm=yes
6953else
6954 if test "$xpm_includes" != NO; then
6955 if test "$xpm_includes" = "$vt_xpm_includes"; then
6956 if test -r "$xpm_includes/X11/xpm.h"; then
6957 vt_xpm_include_X11=yes
6958 fi
6959 else
6960 vt_xpm_include_X11=no
6961 if test -z "$xpm_includes"; then
6962 cat >conftest.$ac_ext <<_ACEOF
6963/* confdefs.h. */
6964_ACEOF
6965cat confdefs.h >>conftest.$ac_ext
6966cat >>conftest.$ac_ext <<_ACEOF
6967/* end confdefs.h. */
6968#include <X11/xpm.h>
6969_ACEOF
6970if { (ac_try="$ac_cpp conftest.$ac_ext"
6971case "(($ac_try" in
6972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6974esac
6975eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6977 ac_status=$?
6978 grep -v '^ *+' conftest.er1 >conftest.err
6979 rm -f conftest.er1
6980 cat conftest.err >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } >/dev/null && {
6983 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6984 test ! -s conftest.err
6985 }; then
6986 vt_xpm_include_X11=yes
6987else
6988 echo "$as_me: failed program was:" >&5
6989sed 's/^/| /' conftest.$ac_ext >&5
6990
6991
6992fi
6993
6994rm -f conftest.err conftest.$ac_ext
6995 else
6996 if test -r "$xpm_includes/X11/xpm.h"; then
6997 vt_xpm_include_X11=yes
6998 fi 7367 fi
6999 fi 7368 fi
7000 fi 7369 fi
7001 vt_xpm_includes=$xpm_includes 7370 if test "x$support_afterimage" = "xyes"; then
7371 { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5
7372echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; }
7373 else
7374 { echo "$as_me:$LINENO: result: no" >&5
7375echo "${ECHO_T}no" >&6; }
7002 fi 7376 fi
7003 if test "x$xpm_libraries" != xNO; then
7004 vt_xpm_libraries=$xpm_libraries
7005 fi
7006 # Update the cache value to reflect the command line values.
7007 ac_cv_have_xpm="have_xpm=yes \
7008 vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \
7009 vt_xpm_include_X11=$vt_xpm_include_X11"
7010 eval "$ac_cv_have_xpm"
7011 { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5
7012echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; }
7013 if test -n "$vt_xpm_includes"; then
7014 XPM_CPPFLAGS="-DHAVE_LIBXPM"
7015 fi
7016 if test -n "$vt_xpm_includes"; then
7017 XPM_CFLAGS="-I$vt_xpm_includes"
7018 fi
7019 XPM_LIBS="-lXpm"
7020 if test -n "$vt_xpm_libraries"; then
7021 XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS"
7022 fi
7023 if test "x$vt_xpm_include_X11" = xyes; then
7024
7025cat >>confdefs.h <<\_ACEOF
7026#define XPM_INC_X11 1
7027_ACEOF
7028
7029 fi
7030fi
7031
7032
7033
7034
7035
7036 if test x$no_xpm = xyes; then
7037 support_xpm=needsmanualspecification
7038 fi 7377 fi
7039fi 7378fi
7040 7379
7041{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 7380{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7042echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } 7381echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7102cat >>confdefs.h <<\_ACEOF 7441cat >>confdefs.h <<\_ACEOF
7103#define HAVE_SYS_WAIT_H 1 7442#define HAVE_SYS_WAIT_H 1
7104_ACEOF 7443_ACEOF
7105 7444
7106fi 7445fi
7107
7108{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7109echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7110if test "${ac_cv_header_stdc+set}" = set; then
7111 echo $ECHO_N "(cached) $ECHO_C" >&6
7112else
7113 cat >conftest.$ac_ext <<_ACEOF
7114/* confdefs.h. */
7115_ACEOF
7116cat confdefs.h >>conftest.$ac_ext
7117cat >>conftest.$ac_ext <<_ACEOF
7118/* end confdefs.h. */
7119#include <stdlib.h>
7120#include <stdarg.h>
7121#include <string.h>
7122#include <float.h>
7123
7124int
7125main ()
7126{
7127
7128 ;
7129 return 0;
7130}
7131_ACEOF
7132rm -f conftest.$ac_objext
7133if { (ac_try="$ac_compile"
7134case "(($ac_try" in
7135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7136 *) ac_try_echo=$ac_try;;
7137esac
7138eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7139 (eval "$ac_compile") 2>conftest.er1
7140 ac_status=$?
7141 grep -v '^ *+' conftest.er1 >conftest.err
7142 rm -f conftest.er1
7143 cat conftest.err >&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); } && {
7146 test -z "$ac_cxx_werror_flag" ||
7147 test ! -s conftest.err
7148 } && test -s conftest.$ac_objext; then
7149 ac_cv_header_stdc=yes
7150else
7151 echo "$as_me: failed program was:" >&5
7152sed 's/^/| /' conftest.$ac_ext >&5
7153
7154 ac_cv_header_stdc=no
7155fi
7156
7157rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7158
7159if test $ac_cv_header_stdc = yes; then
7160 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7161 cat >conftest.$ac_ext <<_ACEOF
7162/* confdefs.h. */
7163_ACEOF
7164cat confdefs.h >>conftest.$ac_ext
7165cat >>conftest.$ac_ext <<_ACEOF
7166/* end confdefs.h. */
7167#include <string.h>
7168
7169_ACEOF
7170if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7171 $EGREP "memchr" >/dev/null 2>&1; then
7172 :
7173else
7174 ac_cv_header_stdc=no
7175fi
7176rm -f conftest*
7177
7178fi
7179
7180if test $ac_cv_header_stdc = yes; then
7181 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7182 cat >conftest.$ac_ext <<_ACEOF
7183/* confdefs.h. */
7184_ACEOF
7185cat confdefs.h >>conftest.$ac_ext
7186cat >>conftest.$ac_ext <<_ACEOF
7187/* end confdefs.h. */
7188#include <stdlib.h>
7189
7190_ACEOF
7191if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7192 $EGREP "free" >/dev/null 2>&1; then
7193 :
7194else
7195 ac_cv_header_stdc=no
7196fi
7197rm -f conftest*
7198
7199fi
7200
7201if test $ac_cv_header_stdc = yes; then
7202 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7203 if test "$cross_compiling" = yes; then
7204 :
7205else
7206 cat >conftest.$ac_ext <<_ACEOF
7207/* confdefs.h. */
7208_ACEOF
7209cat confdefs.h >>conftest.$ac_ext
7210cat >>conftest.$ac_ext <<_ACEOF
7211/* end confdefs.h. */
7212#include <ctype.h>
7213#include <stdlib.h>
7214#if ((' ' & 0x0FF) == 0x020)
7215# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7216# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7217#else
7218# define ISLOWER(c) \
7219 (('a' <= (c) && (c) <= 'i') \
7220 || ('j' <= (c) && (c) <= 'r') \
7221 || ('s' <= (c) && (c) <= 'z'))
7222# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7223#endif
7224
7225#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7226int
7227main ()
7228{
7229 int i;
7230 for (i = 0; i < 256; i++)
7231 if (XOR (islower (i), ISLOWER (i))
7232 || toupper (i) != TOUPPER (i))
7233 return 2;
7234 return 0;
7235}
7236_ACEOF
7237rm -f conftest$ac_exeext
7238if { (ac_try="$ac_link"
7239case "(($ac_try" in
7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7241 *) ac_try_echo=$ac_try;;
7242esac
7243eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7244 (eval "$ac_link") 2>&5
7245 ac_status=$?
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7248 { (case "(($ac_try" in
7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7251esac
7252eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_try") 2>&5
7254 ac_status=$?
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 :
7258else
7259 echo "$as_me: program exited with status $ac_status" >&5
7260echo "$as_me: failed program was:" >&5
7261sed 's/^/| /' conftest.$ac_ext >&5
7262
7263( exit $ac_status )
7264ac_cv_header_stdc=no
7265fi
7266rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7267fi
7268
7269
7270fi
7271fi
7272{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7273echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7274if test $ac_cv_header_stdc = yes; then
7275
7276cat >>confdefs.h <<\_ACEOF
7277#define STDC_HEADERS 1
7278_ACEOF
7279
7280fi
7281
7282# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7293 inttypes.h stdint.h unistd.h
7294do
7295as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7296{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7297echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7298if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7299 echo $ECHO_N "(cached) $ECHO_C" >&6
7300else
7301 cat >conftest.$ac_ext <<_ACEOF
7302/* confdefs.h. */
7303_ACEOF
7304cat confdefs.h >>conftest.$ac_ext
7305cat >>conftest.$ac_ext <<_ACEOF
7306/* end confdefs.h. */
7307$ac_includes_default
7308
7309#include <$ac_header>
7310_ACEOF
7311rm -f conftest.$ac_objext
7312if { (ac_try="$ac_compile"
7313case "(($ac_try" in
7314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7315 *) ac_try_echo=$ac_try;;
7316esac
7317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7318 (eval "$ac_compile") 2>conftest.er1
7319 ac_status=$?
7320 grep -v '^ *+' conftest.er1 >conftest.err
7321 rm -f conftest.er1
7322 cat conftest.err >&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } && {
7325 test -z "$ac_cxx_werror_flag" ||
7326 test ! -s conftest.err
7327 } && test -s conftest.$ac_objext; then
7328 eval "$as_ac_Header=yes"
7329else
7330 echo "$as_me: failed program was:" >&5
7331sed 's/^/| /' conftest.$ac_ext >&5
7332
7333 eval "$as_ac_Header=no"
7334fi
7335
7336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7337fi
7338ac_res=`eval echo '${'$as_ac_Header'}'`
7339 { echo "$as_me:$LINENO: result: $ac_res" >&5
7340echo "${ECHO_T}$ac_res" >&6; }
7341if test `eval echo '${'$as_ac_Header'}'` = yes; then
7342 cat >>confdefs.h <<_ACEOF
7343#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344_ACEOF
7345
7346fi
7347
7348done
7349
7350 7446
7351 7447
7352 7448
7353 7449
7354 7450
7637rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7638fi 7734fi
7639{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7735{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7640echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } 7736echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7641 7737
7642if test -n "$GCC"; then
7643 LDARG="-Wl,"
7644else
7645 LDARG=""
7646fi
7647R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7648
7649ac_save_CFLAGS=$CFLAGS
7650ac_save_LIBS=$LIBS
7651CFLAGS="$CFLAGS $X_CFLAGS"
7652LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7653{ echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7654echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6; }
7655if test "${rxvt_cv_rpath+set}" = set; then
7656 echo $ECHO_N "(cached) $ECHO_C" >&6
7657else
7658 if test "$cross_compiling" = yes; then
7659 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7660echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7661else
7662 cat >conftest.$ac_ext <<_ACEOF
7663/* confdefs.h. */
7664_ACEOF
7665cat confdefs.h >>conftest.$ac_ext
7666cat >>conftest.$ac_ext <<_ACEOF
7667/* end confdefs.h. */
7668#include <X11/Xlib.h>
7669#include <stdlib.h>
7670main()
7671{
7672 exit(0);
7673 (void) XOpenDisplay("foobar");
7674}
7675_ACEOF
7676rm -f conftest$ac_exeext
7677if { (ac_try="$ac_link"
7678case "(($ac_try" in
7679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7680 *) ac_try_echo=$ac_try;;
7681esac
7682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7683 (eval "$ac_link") 2>&5
7684 ac_status=$?
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7687 { (case "(($ac_try" in
7688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7689 *) ac_try_echo=$ac_try;;
7690esac
7691eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7692 (eval "$ac_try") 2>&5
7693 ac_status=$?
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; }; then
7696 rxvt_cv_rpath=yes
7697else
7698 echo "$as_me: program exited with status $ac_status" >&5
7699echo "$as_me: failed program was:" >&5
7700sed 's/^/| /' conftest.$ac_ext >&5
7701
7702( exit $ac_status )
7703rxvt_cv_rpath=no
7704fi
7705rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7706fi
7707
7708
7709fi
7710{ echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7711echo "${ECHO_T}$rxvt_cv_rpath" >&6; }
7712if test x$rxvt_cv_rpath != xyes; then
7713 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7714 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7715 { echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7716echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6; }
7717if test "${rxvt_cv_R+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7719else
7720 if test "$cross_compiling" = yes; then
7721 rxvt_cv_R=no
7722else
7723 cat >conftest.$ac_ext <<_ACEOF
7724/* confdefs.h. */
7725_ACEOF
7726cat confdefs.h >>conftest.$ac_ext
7727cat >>conftest.$ac_ext <<_ACEOF
7728/* end confdefs.h. */
7729#include <X11/Xlib.h>
7730#include <stdlib.h>
7731main()
7732{
7733 exit(0);
7734 (void) XOpenDisplay("foobar");
7735}
7736_ACEOF
7737rm -f conftest$ac_exeext
7738if { (ac_try="$ac_link"
7739case "(($ac_try" in
7740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7741 *) ac_try_echo=$ac_try;;
7742esac
7743eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7744 (eval "$ac_link") 2>&5
7745 ac_status=$?
7746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7748 { (case "(($ac_try" in
7749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7750 *) ac_try_echo=$ac_try;;
7751esac
7752eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7753 (eval "$ac_try") 2>&5
7754 ac_status=$?
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7757 rxvt_cv_R=yes
7758else
7759 echo "$as_me: program exited with status $ac_status" >&5
7760echo "$as_me: failed program was:" >&5
7761sed 's/^/| /' conftest.$ac_ext >&5
7762
7763( exit $ac_status )
7764rxvt_cv_R=no
7765fi
7766rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7767fi
7768
7769
7770fi
7771{ echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7772echo "${ECHO_T}$rxvt_cv_R" >&6; }
7773 if test x$rxvt_cv_R != xyes; then
7774 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7775 fi
7776fi
7777
7778{ echo "$as_me:$LINENO: checking for XPointer" >&5 7738{ echo "$as_me:$LINENO: checking for XPointer" >&5
7779echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7739echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7780if test "${rxvt_cv_xpointer+set}" = set; then 7740if test "${rxvt_cv_xpointer+set}" = set; then
7781 echo $ECHO_N "(cached) $ECHO_C" >&6 7741 echo $ECHO_N "(cached) $ECHO_C" >&6
7782else 7742else
7829cat >>confdefs.h <<\_ACEOF 7789cat >>confdefs.h <<\_ACEOF
7830#define HAVE_XPOINTER 1 7790#define HAVE_XPOINTER 1
7831_ACEOF 7791_ACEOF
7832 7792
7833fi 7793fi
7834LIBS=$ac_save_LIBS
7835CFLAGS=$ac_save_CFLAGS
7836 7794
7837{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 7795{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7838echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } 7796echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; }
7839if test "${rxvt_xlib_illegal_access+set}" = set; then 7797if test "${rxvt_xlib_illegal_access+set}" = set; then
7840 echo $ECHO_N "(cached) $ECHO_C" >&6 7798 echo $ECHO_N "(cached) $ECHO_C" >&6
10255_ACEOF 10213_ACEOF
10256 10214
10257 10215
10258 10216
10259 10217
10260
10261
10262for ac_func in \ 10218for ac_func in unsetenv
10263 unsetenv \
10264 setutent \
10265 on_exit \
10266
10267do 10219do
10268as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10220as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10269{ echo "$as_me:$LINENO: checking for $ac_func" >&5 10221{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10270echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10222echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10271if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10223if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10410 10362
10411 10363
10412 10364
10413 10365
10414for ac_func in \ 10366for ac_func in \
10415 ttyslot \
10416 updwtmp \ 10367 updwtmp \
10417 updwtmpx \ 10368 updwtmpx \
10369 updlastlogx \
10418 10370
10419do 10371do
10420as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10372as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10421{ echo "$as_me:$LINENO: checking for $ac_func" >&5 10373{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10422echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10374echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11843 11795
11844cat >>confdefs.h <<_ACEOF 11796cat >>confdefs.h <<_ACEOF
11845#define LASTLOG_FILE "$path_lastlog" 11797#define LASTLOG_FILE "$path_lastlog"
11846_ACEOF 11798_ACEOF
11847 11799
11848 if test -d "$path_lastlog"; then
11849
11850cat >>confdefs.h <<\_ACEOF
11851#define LASTLOG_IS_DIR 1
11852_ACEOF
11853
11854 fi
11855fi 11800fi
11856 11801
11857{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11802{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11858echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } 11803echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; }
11859if test "${path_lastlogx+set}" = set; then 11804if test "${path_lastlogx+set}" = set; then
11941 11886
11942fi 11887fi
11943 11888
11944 11889
11945 11890
11946{ echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11947echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; }
11948if test "${rxvt_cv_path_ttytab+set}" = set; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11950else
11951 for ttys_file in /etc/ttys /etc/ttytab;
11952do
11953 if test -f "$ttys_file" ; then
11954 rxvt_cv_path_ttytab=$ttys_file
11955 break
11956 fi
11957done
11958 11891
11959fi
11960{ echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5
11961echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; }
11962if test x$rxvt_cv_path_ttytab != x; then
11963
11964cat >>confdefs.h <<_ACEOF
11965#define TTYTAB_FILENAME "$rxvt_cv_path_ttytab"
11966_ACEOF
11967
11968fi
11969
11970
11971ac_save_LIBS=$LIBS 11892save_LIBS=$LIBS
11972ac_save_CFLAGS=$CFLAGS 11893save_CFLAGS=$CFLAGS
11973CFLAGS="$CFLAGS $X_CFLAGS" 11894CFLAGS="$CFLAGS $X_CFLAGS"
11974LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11895LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11975if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then 11896if test x$support_xim = xyes; then
11976 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11977fi
11978{ echo "$as_me:$LINENO: checking for working Xlocale" >&5 11897 { echo "$as_me:$LINENO: checking for working Xlocale" >&5
11979echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } 11898echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; }
11980if test "${rxvt_cv_func_xlocale+set}" = set; then 11899if test "${rxvt_cv_func_xlocale+set}" = set; then
11981 echo $ECHO_N "(cached) $ECHO_C" >&6 11900 echo $ECHO_N "(cached) $ECHO_C" >&6
11982else 11901else
11983 if test "$cross_compiling" = yes; then 11902 if test "$cross_compiling" = yes; then
11984 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11903 :
11985echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11986else 11904else
11987 cat >conftest.$ac_ext <<_ACEOF 11905 cat >conftest.$ac_ext <<_ACEOF
11988/* confdefs.h. */ 11906/* confdefs.h. */
11989_ACEOF 11907_ACEOF
11990cat confdefs.h >>conftest.$ac_ext 11908cat confdefs.h >>conftest.$ac_ext
11991cat >>conftest.$ac_ext <<_ACEOF 11909cat >>conftest.$ac_ext <<_ACEOF
11992/* end confdefs.h. */ 11910/* end confdefs.h. */
11993#include <X11/Xlib.h> 11911#include <X11/Xlib.h>
11994#include <stdlib.h> 11912 #include <stdlib.h>
11995main() { 11913 main() {
11996char *p; 11914 char *p;
11997if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11915 if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11998exit (XSupportsLocale() ? 0 : 1); 11916 exit (XSupportsLocale() ? 0 : 1);
11999else 11917 else
12000exit (1);} 11918 exit (1);}
12001_ACEOF 11919_ACEOF
12002rm -f conftest$ac_exeext 11920rm -f conftest$ac_exeext
12003if { (ac_try="$ac_link" 11921if { (ac_try="$ac_link"
12004case "(($ac_try" in 11922case "(($ac_try" in
12005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11935eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12018 (eval "$ac_try") 2>&5 11936 (eval "$ac_try") 2>&5
12019 ac_status=$? 11937 ac_status=$?
12020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12021 (exit $ac_status); }; }; then 11939 (exit $ac_status); }; }; then
12022 rxvt_cv_func_xlocale=yes 11940 rxvt_cv_func_xlocale=yes
12023else 11941else
12024 echo "$as_me: program exited with status $ac_status" >&5 11942 echo "$as_me: program exited with status $ac_status" >&5
12025echo "$as_me: failed program was:" >&5 11943echo "$as_me: failed program was:" >&5
12026sed 's/^/| /' conftest.$ac_ext >&5 11944sed 's/^/| /' conftest.$ac_ext >&5
12027 11945
12033 11951
12034 11952
12035fi 11953fi
12036{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11954{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
12037echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } 11955echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; }
12038if test x$rxvt_cv_func_xlocale = xyes; then 11956 if test x$rxvt_cv_func_xlocale = xyes; then
12039 11957
12040cat >>confdefs.h <<\_ACEOF 11958cat >>confdefs.h <<\_ACEOF
12041#define HAVE_XLOCALE 1 11959#define USE_XIM 1
12042_ACEOF 11960_ACEOF
12043 11961
11962 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11963echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
11964if test "${rxvt_broken_ximcb+set}" = set; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11966else
11967 cat >conftest.$ac_ext <<_ACEOF
11968
11969 #include <X11/Xlib.h>
11970
11971 void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
11972
11973 void f() {
11974 XIMCallback cb;
11975 cb.callback = im_destroy_cb;
11976 }
11977
11978_ACEOF
11979rm -f conftest.$ac_objext
11980if { (ac_try="$ac_compile"
11981case "(($ac_try" in
11982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;;
11984esac
11985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_compile") 2>conftest.er1
11987 ac_status=$?
11988 grep -v '^ *+' conftest.er1 >conftest.err
11989 rm -f conftest.er1
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } && {
11993 test -z "$ac_cxx_werror_flag" ||
11994 test ! -s conftest.err
11995 } && test -s conftest.$ac_objext; then
11996 rxvt_broken_ximcb=yes
11997else
11998 echo "$as_me: failed program was:" >&5
11999sed 's/^/| /' conftest.$ac_ext >&5
12000
12001 rxvt_broken_ximcb=no
12002fi
12003
12004rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12005fi
12006{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
12007echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
12008
12009 if test x$rxvt_broken_ximcb = xyes; then
12010
12011cat >>confdefs.h <<\_ACEOF
12012#define XIMCB_PROTO_BROKEN 1
12013_ACEOF
12014
12015 fi
12016 fi
12044fi 12017fi
12045 12018
12046{ echo "$as_me:$LINENO: checking for working X setlocale" >&5 12019{ echo "$as_me:$LINENO: checking for working X setlocale" >&5
12047echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } 12020echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; }
12048if test "${rxvt_cv_func_xsetlocale+set}" = set; then 12021if test "${rxvt_cv_func_xsetlocale+set}" = set; then
12100cat >>confdefs.h <<\_ACEOF 12073cat >>confdefs.h <<\_ACEOF
12101#define HAVE_XSETLOCALE 1 12074#define HAVE_XSETLOCALE 1
12102_ACEOF 12075_ACEOF
12103 12076
12104fi 12077fi
12105LIBS=$ac_save_LIBS 12078LIBS=$save_LIBS
12106CFLAGS=$ac_save_CFLAGS 12079CFLAGS=$save_CFLAGS
12107 12080
12108{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5 12081{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5
12109echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } 12082echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; }
12110if test "${rxvt_cv_func_setlocale+set}" = set; then 12083if test "${rxvt_cv_func_setlocale+set}" = set; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6 12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 12287 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
12315echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} 12288echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
12316 { (exit 1); exit 1; }; } 12289 { (exit 1); exit 1; }; }
12317fi 12290fi
12318 12291
12319
12320{ echo "$as_me:$LINENO: checking for broken XIM callback" >&5
12321echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
12322if test "${rxvt_broken_ximcb+set}" = set; then
12323 echo $ECHO_N "(cached) $ECHO_C" >&6
12324else
12325 cat >conftest.$ac_ext <<_ACEOF
12326
12327#include <X11/Xlib.h>
12328
12329void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
12330
12331void f() {
12332 XIMCallback cb;
12333 cb.callback = im_destroy_cb;
12334}
12335
12336_ACEOF
12337rm -f conftest.$ac_objext
12338if { (ac_try="$ac_compile"
12339case "(($ac_try" in
12340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12341 *) ac_try_echo=$ac_try;;
12342esac
12343eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12344 (eval "$ac_compile") 2>conftest.er1
12345 ac_status=$?
12346 grep -v '^ *+' conftest.er1 >conftest.err
12347 rm -f conftest.er1
12348 cat conftest.err >&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } && {
12351 test -z "$ac_cxx_werror_flag" ||
12352 test ! -s conftest.err
12353 } && test -s conftest.$ac_objext; then
12354 rxvt_broken_ximcb=yes
12355else
12356 echo "$as_me: failed program was:" >&5
12357sed 's/^/| /' conftest.$ac_ext >&5
12358
12359 rxvt_broken_ximcb=no
12360fi
12361
12362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12363fi
12364{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
12365echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
12366
12367if test x$rxvt_broken_ximcb = xyes; then
12368
12369cat >>confdefs.h <<\_ACEOF
12370#define XIMCB_PROTO_BROKEN 1
12371_ACEOF
12372
12373fi
12374 12292
12375 12293
12376 12294
12377 12295
12378 12296
13059echo "${ECHO_T}no" >&6; } 12977echo "${ECHO_T}no" >&6; }
13060fi 12978fi
13061 12979
13062 12980
13063 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then 12981 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
13064 LIBS="$LIBS `$PKG_CONFIG xft --libs`" 12982 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
13065 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" 12983 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
13066 else 12984 else
13067 # Extract the first word of "xft-config", so it can be a program name with args. 12985 # Extract the first word of "xft-config", so it can be a program name with args.
13068set dummy xft-config; ac_word=$2 12986set dummy xft-config; ac_word=$2
13069{ echo "$as_me:$LINENO: checking for $ac_word" >&5 12987{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13104echo "${ECHO_T}no" >&6; } 13022echo "${ECHO_T}no" >&6; }
13105fi 13023fi
13106 13024
13107 13025
13108 if test $XFT_CONFIG != no; then 13026 if test $XFT_CONFIG != no; then
13109 LIBS="$LIBS `$XFT_CONFIG --libs`" 13027 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
13110 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 13028 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
13111 fi 13029 fi
13112 fi 13030 fi
13113 13031
13032 save_LIBS="$LIBS"
13033 LIBS="$LIBS $X_LIBS"
13114 13034
13115for ac_header in X11/Xft/Xft.h 13035for ac_header in X11/Xft/Xft.h
13116do 13036do
13117as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13037as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13118if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13038if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13251 support_xft=no 13171 support_xft=no
13252fi 13172fi
13253 13173
13254done 13174done
13255 13175
13256
13257{ echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 13176 { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5
13258echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } 13177echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; }
13259if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then 13178if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6 13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13261else 13180else
13262 ac_check_lib_save_LIBS=$LIBS 13181 ac_check_lib_save_LIBS=$LIBS
13314LIBS=$ac_check_lib_save_LIBS 13233LIBS=$ac_check_lib_save_LIBS
13315fi 13234fi
13316{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 13235{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5
13317echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } 13236echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; }
13318if test $ac_cv_lib_Xft_XftDrawString32 = yes; then 13237if test $ac_cv_lib_Xft_XftDrawString32 = yes; then
13319 cat >>confdefs.h <<_ACEOF 13238 :
13320#define HAVE_LIBXFT 1
13321_ACEOF
13322
13323 LIBS="-lXft $LIBS"
13324
13325else 13239else
13326 support_xft=no 13240 support_xft=no
13327fi 13241fi
13328 13242
13243 LIBS="$save_LIBS"
13329 13244
13330 if test x$support_xft = xyes; then 13245 if test x$support_xft = xyes; then
13331 13246
13332cat >>confdefs.h <<\_ACEOF 13247cat >>confdefs.h <<\_ACEOF
13333#define XFT 1 13248#define XFT 1
13361cat >>confdefs.h <<\_ACEOF 13276cat >>confdefs.h <<\_ACEOF
13362#define OFF_FOCUS_FADING 1 13277#define OFF_FOCUS_FADING 1
13363_ACEOF 13278_ACEOF
13364 13279
13365fi 13280fi
13366if test x$support_tinting = xyes; then 13281if test x$support_inheritpixmap = xyes; then
13367 13282
13368cat >>confdefs.h <<\_ACEOF 13283cat >>confdefs.h <<\_ACEOF
13369#define TINTING 1
13370_ACEOF
13371
13372fi
13373if test x$support_inheritpixmap = xyes; then
13374
13375cat >>confdefs.h <<\_ACEOF
13376#define TRANSPARENT 1 13284#define ENABLE_TRANSPARENCY 1
13377_ACEOF 13285_ACEOF
13378 13286
13379fi 13287fi
13380if test x$support_keepscrolling = xno; then 13288if test x$support_keepscrolling = xno; then
13381 13289
13410cat >>confdefs.h <<\_ACEOF 13318cat >>confdefs.h <<\_ACEOF
13411#define MOUSE_SLIP_WHEELING 1 13319#define MOUSE_SLIP_WHEELING 1
13412_ACEOF 13320_ACEOF
13413 13321
13414fi 13322fi
13415if test x$support_xim = xyes -o x$multichar_set = xyes; then 13323if test x$support_afterimage = xyes; then
13416 if test x$rxvt_cv_func_xlocale = xyes; then
13417 13324
13418cat >>confdefs.h <<\_ACEOF 13325cat >>confdefs.h <<\_ACEOF
13419#define USE_XIM 1 13326#define HAVE_AFTERIMAGE 1
13420_ACEOF 13327_ACEOF
13421 13328
13422 fi
13423fi
13424if test x$support_xpm = xyes; then
13425 13329
13426cat >>confdefs.h <<\_ACEOF 13330cat >>confdefs.h <<\_ACEOF
13427#define XPM_BACKGROUND 1 13331#define BG_IMAGE_FROM_FILE 1
13428_ACEOF 13332_ACEOF
13429 13333
13430fi 13334fi
13335
13336
13431if test x$support_scroll_rxvt = xyes; then 13337if test x$support_scroll_rxvt = xyes; then
13432 13338
13433cat >>confdefs.h <<\_ACEOF 13339cat >>confdefs.h <<\_ACEOF
13434#define RXVT_SCROLLBAR 1 13340#define RXVT_SCROLLBAR 1
13435_ACEOF 13341_ACEOF
13703 13609
13704 13610
13705 13611
13706 13612
13707 13613
13708if test x$support_perl = xyes; then
13709 support_frills=yes
13710fi
13711 13614
13712 13615
13713 13616
13714 13617
13715 13618
13716 13619
13717 13620
13718
13719if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13720 DLIB=`echo $DLIB | sed "$R_TRANSLATE"`
13721 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13722 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13723 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13724 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13725fi
13726 13621
13727 13622
13728 13623
13729 13624
13730 13625
14498GREP!$GREP$ac_delim 14393GREP!$GREP$ac_delim
14499EGREP!$EGREP$ac_delim 14394EGREP!$EGREP$ac_delim
14500LINKER!$LINKER$ac_delim 14395LINKER!$LINKER$ac_delim
14501INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim 14396INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14502RXVTNAME!$RXVTNAME$ac_delim 14397RXVTNAME!$RXVTNAME$ac_delim
14503MV!$MV$ac_delim
14504CP!$CP$ac_delim 14398CXXCPP!$CXXCPP$ac_delim
14505LN!$LN$ac_delim
14506SED!$SED$ac_delim
14507ECHO!$ECHO$ac_delim
14508CMP!$CMP$ac_delim
14509TIC!$TIC$ac_delim 14399TIC!$TIC$ac_delim
14510XMKMF!$XMKMF$ac_delim 14400XMKMF!$XMKMF$ac_delim
14511CXXCPP!$CXXCPP$ac_delim
14512X_CFLAGS!$X_CFLAGS$ac_delim 14401X_CFLAGS!$X_CFLAGS$ac_delim
14513X_PRE_LIBS!$X_PRE_LIBS$ac_delim 14402X_PRE_LIBS!$X_PRE_LIBS$ac_delim
14514X_LIBS!$X_LIBS$ac_delim 14403X_LIBS!$X_LIBS$ac_delim
14515X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 14404X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
14516XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim 14405afterimage_config!$afterimage_config$ac_delim
14517XPM_CFLAGS!$XPM_CFLAGS$ac_delim
14518XPM_LIBS!$XPM_LIBS$ac_delim
14519rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim 14406rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim
14520rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim 14407rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim
14521rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim 14408rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim
14522rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim 14409rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim
14523rxvt_intp_define!$rxvt_intp_define$ac_delim 14410rxvt_intp_define!$rxvt_intp_define$ac_delim
14527PERL!$PERL$ac_delim 14414PERL!$PERL$ac_delim
14528PERLLIB!$PERLLIB$ac_delim 14415PERLLIB!$PERLLIB$ac_delim
14529PERLFLAGS!$PERLFLAGS$ac_delim 14416PERLFLAGS!$PERLFLAGS$ac_delim
14530PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 14417PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
14531IF_PERL!$IF_PERL$ac_delim 14418IF_PERL!$IF_PERL$ac_delim
14419PERL_O!$PERL_O$ac_delim
14420AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
14421AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
14422include_stdint_h!$include_stdint_h$ac_delim
14423include_stdarg_h!$include_stdarg_h$ac_delim
14424include_stdlib_h!$include_stdlib_h$ac_delim
14425include_unistd_h!$include_unistd_h$ac_delim
14426include_string_h!$include_string_h$ac_delim
14532_ACEOF 14427_ACEOF
14533 14428
14534 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 14429 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14535 break 14430 break
14536 elif $ac_last_try; then 14431 elif $ac_last_try; then
14568 14463
14569 14464
14570ac_delim='%!_!# ' 14465ac_delim='%!_!# '
14571for ac_last_try in false false false false false :; do 14466for ac_last_try in false false false false false :; do
14572 cat >conf$$subs.sed <<_ACEOF 14467 cat >conf$$subs.sed <<_ACEOF
14573PERL_O!$PERL_O$ac_delim
14574DEBUG!$DEBUG$ac_delim
14575DINCLUDE!$DINCLUDE$ac_delim
14576DLIB!$DLIB$ac_delim
14577include_stdint_h!$include_stdint_h$ac_delim
14578include_stdarg_h!$include_stdarg_h$ac_delim
14579include_stdlib_h!$include_stdlib_h$ac_delim
14580include_unistd_h!$include_unistd_h$ac_delim
14581include_string_h!$include_string_h$ac_delim
14582include_fcntl_h!$include_fcntl_h$ac_delim 14468include_fcntl_h!$include_fcntl_h$ac_delim
14583include_util_h!$include_util_h$ac_delim 14469include_util_h!$include_util_h$ac_delim
14584include_assert_h!$include_assert_h$ac_delim 14470include_assert_h!$include_assert_h$ac_delim
14585include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim 14471include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14586include_sys_select_h!$include_sys_select_h$ac_delim 14472include_sys_select_h!$include_sys_select_h$ac_delim
14589include_time_h!$include_time_h$ac_delim 14475include_time_h!$include_time_h$ac_delim
14590LIBOBJS!$LIBOBJS$ac_delim 14476LIBOBJS!$LIBOBJS$ac_delim
14591LTLIBOBJS!$LTLIBOBJS$ac_delim 14477LTLIBOBJS!$LTLIBOBJS$ac_delim
14592_ACEOF 14478_ACEOF
14593 14479
14594 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then 14480 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
14595 break 14481 break
14596 elif $ac_last_try; then 14482 elif $ac_last_try; then
14597 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14483 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14598echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14484echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14599 { (exit 1); exit 1; }; } 14485 { (exit 1); exit 1; }; }
15028 Install path: ${prefix}/bin 14914 Install path: ${prefix}/bin
15029 Compiler: $CXX 14915 Compiler: $CXX
15030 Compiler flags: $CXXFLAGS 14916 Compiler flags: $CXXFLAGS
15031 Linker: $LINKER" 14917 Linker: $LINKER"
15032 14918
15033if test x$support_xpm = xyes; then
15034 echo " Xpm library: $XPM_LIBS"
15035fi
15036
15037if test x$term != x; then 14919if test x$term != x; then
15038 echo " set TERM to: $term" 14920 echo " set TERM to: $term"
15039fi 14921fi
15040if test x$terminfo != x; then 14922if test x$terminfo != x; then
15041 echo " set TERMINFO to: $terminfo" 14923 echo " set TERMINFO to: $terminfo"
15045if test x$RESFALLBACK != x; then 14927if test x$RESFALLBACK != x; then
15046 echo " resource class fallback: $RESFALLBACK" 14928 echo " resource class fallback: $RESFALLBACK"
15047fi 14929fi
15048echo 14930echo
15049echo " embedded perl: $support_perl" 14931echo " embedded perl: $support_perl"
14932echo " libafterimage: $support_afterimage"
15050echo 14933echo
15051if test x$support_xpm = xneedsmanualspecification; then
15052 echo ".----------------------------------------------------------------."
15053 echo ". WARNING: --enable-xpm-background was specified however the ."
15054 echo ". XPM includes files and libraries could not be found. ."
15055 echo ". XPM backgrounds are now being DISABLED! If you want ."
15056 echo ". to use them you should rerun configure with the ."
15057 echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ."
15058 echo ". and --with-xpm-library=/path/to/xpm/library lines. ."
15059 echo ".----------------------------------------------------------------."
15060fi
15061if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then 14934if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then
15062 echo ".----------------------------------------------------------------." 14935 echo ".----------------------------------------------------------------."
15063 echo ". WARNING: --enable-xim was specified however the locale support ." 14936 echo ". WARNING: --enable-xim was specified however the locale support ."
15064 echo ". functions could not be found. ." 14937 echo ". functions could not be found. ."
15065 echo ". XIM is now being DISABLED! ." 14938 echo ". XIM is now being DISABLED! ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines