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

Comparing rxvt-unicode/configure (file contents):
Revision 1.110 by ayin, Thu Aug 2 00:29:23 2007 UTC vs.
Revision 1.117 by root, Sun Nov 18 01:02:09 2007 UTC

679GREP 679GREP
680EGREP 680EGREP
681LINKER 681LINKER
682INSTALL_LIBRXVT 682INSTALL_LIBRXVT
683RXVTNAME 683RXVTNAME
684CXXCPP
684TIC 685TIC
685XMKMF 686XMKMF
686CXXCPP
687X_CFLAGS 687X_CFLAGS
688X_PRE_LIBS 688X_PRE_LIBS
689X_LIBS 689X_LIBS
690X_EXTRA_LIBS 690X_EXTRA_LIBS
691afterimage_config 691afterimage_config
731CPPFLAGS 731CPPFLAGS
732CXX 732CXX
733CXXFLAGS 733CXXFLAGS
734CCC 734CCC
735CPP 735CPP
736XMKMF
737CXXCPP' 736CXXCPP
737XMKMF'
738 738
739 739
740# Initialize some variables set by options. 740# Initialize some variables set by options.
741ac_init_help= 741ac_init_help=
742ac_init_version=false 742ac_init_version=false
1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --enable-everything enable standard non-multichoice features 1319 --enable-everything enable standard non-multichoice features
1320 NOTE: this option is order dependent 1320 NOTE: this option is order dependent
1321 NOTE: automatically enabled with --enable-shared 1321 NOTE: automatically enabled with --enable-shared
1322 --enable-warnings turn on g++ warnings
1322 --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
1323 --enable-combining enable composition of base and combining characters 1324 --enable-combining enable composition of base and combining characters
1324 --enable-xft enable xft support on systems that have it 1325 --enable-xft enable xft support on systems that have it
1325 --enable-font-styles enable bold and italic support 1326 --enable-font-styles enable bold and italic support
1326 --enable-afterimage enable integration with libAfterImage for background images 1327 --enable-afterimage enable integration with libAfterImage for background images
1327 --enable-transparency enable transparent backgrounds 1328 --enable-transparency enable transparent backgrounds
1328 --enable-tinting enable tinting of transparent bg
1329 --enable-fading enable colors fading when off focus 1329 --enable-fading enable colors fading when off focus
1330 --enable-rxvt-scroll enable rxvt style scrollbar 1330 --enable-rxvt-scroll enable rxvt style scrollbar
1331 --enable-next-scroll enable NeXT style scrollbar 1331 --enable-next-scroll enable NeXT style scrollbar
1332 --enable-xterm-scroll enable Xterm style scrollbar 1332 --enable-xterm-scroll enable Xterm style scrollbar
1333 --enable-perl enable embedded perl interpreter 1333 --enable-perl enable embedded perl interpreter
1335 --enable-xim XIM (X Input Method) protocol support 1335 --enable-xim XIM (X Input Method) protocol support
1336 --disable-backspace-key disable handling of the backspace key 1336 --disable-backspace-key disable handling of the backspace key
1337 --disable-delete-key disable handling of the delete key 1337 --disable-delete-key disable handling of the delete key
1338 --disable-resources disable all resource checking 1338 --disable-resources disable all resource checking
1339 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1339 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1340 --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)
1341 --disable-swapscreen disable swap screen support 1341 --disable-swapscreen disable swap screen support
1342 --enable-iso14755 enable support for extended ISO 14755 modes 1342 --enable-iso14755 enable support for extended ISO 14755 modes
1343 --enable-frills enable support for rarely used features 1343 --enable-frills enable support for rarely used features
1344 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1344 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1345 --enable-selectionscrolling enable scrolling during selections 1345 --enable-selectionscrolling enable scrolling during selections
1346 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1346 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1347 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1347 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
1348 --enable-smart-resize enable smart growth/shrink behaviour 1348 --enable-smart-resize enable smart growth/shrink behaviour
1349 --enable-text-blink enable blinking text 1349 --enable-text-blink enable blinking text
1350 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1350 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1351 --enable-utmp enable utmp (utmpx) support 1351 --enable-utmp enable utmp (utmpx) support
1352 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1352 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1354 1354
1355Optional Packages: 1355Optional Packages:
1356 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1356 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1357 --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 1358 --with-afterimage-config=DIR use libAfterImage config script in DIR
1359 --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)
1360 --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)
1361 --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)
1362 --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)
1363 --with-term=NAME set the terminal to NAME (default: rxvt) 1363 --with-term=NAME set the terminal to NAME (default: rxvt)
1364 --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 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
1374 you have headers in a nonstandard directory <include dir> 1374 you have headers in a nonstandard directory <include dir>
1375 CXX C++ compiler command 1375 CXX C++ compiler command
1376 CXXFLAGS C++ compiler flags 1376 CXXFLAGS C++ compiler flags
1377 CPP C preprocessor 1377 CPP C preprocessor
1378 CXXCPP C++ preprocessor
1378 XMKMF Path to xmkmf, Makefile generator for X Window System 1379 XMKMF Path to xmkmf, Makefile generator for X Window System
1379 CXXCPP C++ preprocessor
1380 1380
1381Use 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
1382it to find libraries and programs with nonstandard names/locations. 1382it to find libraries and programs with nonstandard names/locations.
1383 1383
1384_ACEOF 1384_ACEOF
1920 1920
1921 1921
1922 1922
1923VERSION=`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`
1924DATE=`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
1925echo "" 1926echo ""
1926echo "configuring for rxvt $VERSION" 1927echo "configuring for rxvt $VERSION"
1927echo "" 1928echo ""
1928 1929
1929orig_CXXFLAGS="$CXXFLAGS" 1930orig_CXXFLAGS="$CXXFLAGS"
3870LINKER=$LINKER 3871LINKER=$LINKER
3871 3872
3872 3873
3873if test -z "$orig_CXXFLAGS"; then 3874if test -z "$orig_CXXFLAGS"; then
3874 if test x$GCC = xyes && test "x$GXX" = xyes; then 3875 if test x$GCC = xyes && test "x$GXX" = xyes; then
3875 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3876 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3876 cat >conftest.$ac_ext <<_ACEOF 3877 cat >conftest.$ac_ext <<_ACEOF
3877/* confdefs.h. */ 3878/* confdefs.h. */
3878_ACEOF 3879_ACEOF
3879cat confdefs.h >>conftest.$ac_ext 3880cat confdefs.h >>conftest.$ac_ext
3880cat >>conftest.$ac_ext <<_ACEOF 3881cat >>conftest.$ac_ext <<_ACEOF
4393 4394
4394 4395
4395 4396
4396support_frills=yes 4397support_frills=yes
4397support_inheritpixmap=yes 4398support_inheritpixmap=yes
4398support_tinting=yes
4399support_fading=yes 4399support_fading=yes
4400support_keepscrolling=yes 4400support_keepscrolling=yes
4401support_selectionscrolling=yes 4401support_selectionscrolling=yes
4402support_mousewheel=yes 4402support_mousewheel=yes
4403support_mouseslipwheel=yes 4403support_mouseslipwheel=yes
4434if test "${enable_everything+set}" = set; then 4434if test "${enable_everything+set}" = set; then
4435 enableval=$enable_everything; 4435 enableval=$enable_everything;
4436 if test x$enableval = xno; then 4436 if test x$enableval = xno; then
4437 support_frills=no 4437 support_frills=no
4438 support_inheritpixmap=no 4438 support_inheritpixmap=no
4439 support_tinting=no
4440 support_fading=no 4439 support_fading=no
4441 support_keepscrolling=no 4440 support_keepscrolling=no
4442 support_selectionscrolling=no 4441 support_selectionscrolling=no
4443 support_lastlog=no 4442 support_lastlog=no
4444 support_mousewheel=no 4443 support_mousewheel=no
4464 codesets= 4463 codesets=
4465 fi 4464 fi
4466 if test x$enableval = xyes; then 4465 if test x$enableval = xyes; then
4467 support_frills=yes 4466 support_frills=yes
4468 support_inheritpixmap=yes 4467 support_inheritpixmap=yes
4469 support_tinting=yes
4470 support_fading=yes 4468 support_fading=yes
4471 support_keepscrolling=yes 4469 support_keepscrolling=yes
4472 support_selectionscrolling=yes 4470 support_selectionscrolling=yes
4473 support_lastlog=yes 4471 support_lastlog=yes
4474 support_mousewheel=yes 4472 support_mousewheel=yes
4495 fi 4493 fi
4496 4494
4497fi 4495fi
4498 4496
4499 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
4500# Check whether --enable-unicode3 was given. 4556# Check whether --enable-unicode3 was given.
4501if test "${enable_unicode3+set}" = set; then 4557if test "${enable_unicode3+set}" = set; then
4502 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
4503 support_unicode3=$enableval 4559 support_unicode3=$enableval
4504 fi 4560 fi
4549 4605
4550# Check whether --enable-transparency was given. 4606# Check whether --enable-transparency was given.
4551if test "${enable_transparency+set}" = set; then 4607if test "${enable_transparency+set}" = set; then
4552 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
4553 support_inheritpixmap=$enableval 4609 support_inheritpixmap=$enableval
4554 fi
4555fi
4556
4557
4558# Check whether --enable-tinting was given.
4559if test "${enable_tinting+set}" = set; then
4560 enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then
4561 support_tinting=$enableval
4562 fi 4610 fi
4563fi 4611fi
4564 4612
4565 4613
4566# Check whether --enable-fading was given. 4614# Check whether --enable-fading was given.
4841#define RXVT_TERMINFO "$withval" 4889#define RXVT_TERMINFO "$withval"
4842_ACEOF 4890_ACEOF
4843 terminfo="$withval" 4891 terminfo="$withval"
4844 fi 4892 fi
4845fi 4893fi
4894
4895
4896
4897
4898ac_ext=cpp
4899ac_cpp='$CXXCPP $CPPFLAGS'
4900ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4901ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4902ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4903{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4904echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4905if test -z "$CXXCPP"; then
4906 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4908else
4909 # Double quotes because CXXCPP needs to be expanded
4910 for CXXCPP in "$CXX -E" "/lib/cpp"
4911 do
4912 ac_preproc_ok=false
4913for ac_cxx_preproc_warn_flag in '' yes
4914do
4915 # Use a header file that comes with gcc, so configuring glibc
4916 # with a fresh cross-compiler works.
4917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4918 # <limits.h> exists even on freestanding compilers.
4919 # On the NeXT, cc -E runs the code through the compiler's parser,
4920 # not just through cpp. "Syntax error" is here to catch this case.
4921 cat >conftest.$ac_ext <<_ACEOF
4922/* confdefs.h. */
4923_ACEOF
4924cat confdefs.h >>conftest.$ac_ext
4925cat >>conftest.$ac_ext <<_ACEOF
4926/* end confdefs.h. */
4927#ifdef __STDC__
4928# include <limits.h>
4929#else
4930# include <assert.h>
4931#endif
4932 Syntax error
4933_ACEOF
4934if { (ac_try="$ac_cpp conftest.$ac_ext"
4935case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4938esac
4939eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4941 ac_status=$?
4942 grep -v '^ *+' conftest.er1 >conftest.err
4943 rm -f conftest.er1
4944 cat conftest.err >&5
4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 (exit $ac_status); } >/dev/null && {
4947 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4948 test ! -s conftest.err
4949 }; then
4950 :
4951else
4952 echo "$as_me: failed program was:" >&5
4953sed 's/^/| /' conftest.$ac_ext >&5
4954
4955 # Broken: fails on valid input.
4956continue
4957fi
4958
4959rm -f conftest.err conftest.$ac_ext
4960
4961 # OK, works on sane cases. Now check whether nonexistent headers
4962 # can be detected and how.
4963 cat >conftest.$ac_ext <<_ACEOF
4964/* confdefs.h. */
4965_ACEOF
4966cat confdefs.h >>conftest.$ac_ext
4967cat >>conftest.$ac_ext <<_ACEOF
4968/* end confdefs.h. */
4969#include <ac_nonexistent.h>
4970_ACEOF
4971if { (ac_try="$ac_cpp conftest.$ac_ext"
4972case "(($ac_try" in
4973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4974 *) ac_try_echo=$ac_try;;
4975esac
4976eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4978 ac_status=$?
4979 grep -v '^ *+' conftest.er1 >conftest.err
4980 rm -f conftest.er1
4981 cat conftest.err >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } >/dev/null && {
4984 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4985 test ! -s conftest.err
4986 }; then
4987 # Broken: success on invalid input.
4988continue
4989else
4990 echo "$as_me: failed program was:" >&5
4991sed 's/^/| /' conftest.$ac_ext >&5
4992
4993 # Passes both tests.
4994ac_preproc_ok=:
4995break
4996fi
4997
4998rm -f conftest.err conftest.$ac_ext
4999
5000done
5001# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5002rm -f conftest.err conftest.$ac_ext
5003if $ac_preproc_ok; then
5004 break
5005fi
5006
5007 done
5008 ac_cv_prog_CXXCPP=$CXXCPP
5009
5010fi
5011 CXXCPP=$ac_cv_prog_CXXCPP
5012else
5013 ac_cv_prog_CXXCPP=$CXXCPP
5014fi
5015{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5016echo "${ECHO_T}$CXXCPP" >&6; }
5017ac_preproc_ok=false
5018for ac_cxx_preproc_warn_flag in '' yes
5019do
5020 # Use a header file that comes with gcc, so configuring glibc
5021 # with a fresh cross-compiler works.
5022 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023 # <limits.h> exists even on freestanding compilers.
5024 # On the NeXT, cc -E runs the code through the compiler's parser,
5025 # not just through cpp. "Syntax error" is here to catch this case.
5026 cat >conftest.$ac_ext <<_ACEOF
5027/* confdefs.h. */
5028_ACEOF
5029cat confdefs.h >>conftest.$ac_ext
5030cat >>conftest.$ac_ext <<_ACEOF
5031/* end confdefs.h. */
5032#ifdef __STDC__
5033# include <limits.h>
5034#else
5035# include <assert.h>
5036#endif
5037 Syntax error
5038_ACEOF
5039if { (ac_try="$ac_cpp conftest.$ac_ext"
5040case "(($ac_try" in
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5043esac
5044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5046 ac_status=$?
5047 grep -v '^ *+' conftest.er1 >conftest.err
5048 rm -f conftest.er1
5049 cat conftest.err >&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } >/dev/null && {
5052 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5053 test ! -s conftest.err
5054 }; then
5055 :
5056else
5057 echo "$as_me: failed program was:" >&5
5058sed 's/^/| /' conftest.$ac_ext >&5
5059
5060 # Broken: fails on valid input.
5061continue
5062fi
5063
5064rm -f conftest.err conftest.$ac_ext
5065
5066 # OK, works on sane cases. Now check whether nonexistent headers
5067 # can be detected and how.
5068 cat >conftest.$ac_ext <<_ACEOF
5069/* confdefs.h. */
5070_ACEOF
5071cat confdefs.h >>conftest.$ac_ext
5072cat >>conftest.$ac_ext <<_ACEOF
5073/* end confdefs.h. */
5074#include <ac_nonexistent.h>
5075_ACEOF
5076if { (ac_try="$ac_cpp conftest.$ac_ext"
5077case "(($ac_try" in
5078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5079 *) ac_try_echo=$ac_try;;
5080esac
5081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5083 ac_status=$?
5084 grep -v '^ *+' conftest.er1 >conftest.err
5085 rm -f conftest.er1
5086 cat conftest.err >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } >/dev/null && {
5089 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5090 test ! -s conftest.err
5091 }; then
5092 # Broken: success on invalid input.
5093continue
5094else
5095 echo "$as_me: failed program was:" >&5
5096sed 's/^/| /' conftest.$ac_ext >&5
5097
5098 # Passes both tests.
5099ac_preproc_ok=:
5100break
5101fi
5102
5103rm -f conftest.err conftest.$ac_ext
5104
5105done
5106# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5107rm -f conftest.err conftest.$ac_ext
5108if $ac_preproc_ok; then
5109 :
5110else
5111 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5112See \`config.log' for more details." >&5
5113echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5114See \`config.log' for more details." >&2;}
5115 { (exit 1); exit 1; }; }
5116fi
5117
5118ac_ext=cpp
5119ac_cpp='$CXXCPP $CPPFLAGS'
5120ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5123
5124
5125{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5126echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5127if test "${ac_cv_header_stdc+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5129else
5130 cat >conftest.$ac_ext <<_ACEOF
5131/* confdefs.h. */
5132_ACEOF
5133cat confdefs.h >>conftest.$ac_ext
5134cat >>conftest.$ac_ext <<_ACEOF
5135/* end confdefs.h. */
5136#include <stdlib.h>
5137#include <stdarg.h>
5138#include <string.h>
5139#include <float.h>
5140
5141int
5142main ()
5143{
5144
5145 ;
5146 return 0;
5147}
5148_ACEOF
5149rm -f conftest.$ac_objext
5150if { (ac_try="$ac_compile"
5151case "(($ac_try" in
5152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5153 *) ac_try_echo=$ac_try;;
5154esac
5155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5156 (eval "$ac_compile") 2>conftest.er1
5157 ac_status=$?
5158 grep -v '^ *+' conftest.er1 >conftest.err
5159 rm -f conftest.er1
5160 cat conftest.err >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); } && {
5163 test -z "$ac_cxx_werror_flag" ||
5164 test ! -s conftest.err
5165 } && test -s conftest.$ac_objext; then
5166 ac_cv_header_stdc=yes
5167else
5168 echo "$as_me: failed program was:" >&5
5169sed 's/^/| /' conftest.$ac_ext >&5
5170
5171 ac_cv_header_stdc=no
5172fi
5173
5174rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5175
5176if test $ac_cv_header_stdc = yes; then
5177 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5178 cat >conftest.$ac_ext <<_ACEOF
5179/* confdefs.h. */
5180_ACEOF
5181cat confdefs.h >>conftest.$ac_ext
5182cat >>conftest.$ac_ext <<_ACEOF
5183/* end confdefs.h. */
5184#include <string.h>
5185
5186_ACEOF
5187if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5188 $EGREP "memchr" >/dev/null 2>&1; then
5189 :
5190else
5191 ac_cv_header_stdc=no
5192fi
5193rm -f conftest*
5194
5195fi
5196
5197if test $ac_cv_header_stdc = yes; then
5198 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5199 cat >conftest.$ac_ext <<_ACEOF
5200/* confdefs.h. */
5201_ACEOF
5202cat confdefs.h >>conftest.$ac_ext
5203cat >>conftest.$ac_ext <<_ACEOF
5204/* end confdefs.h. */
5205#include <stdlib.h>
5206
5207_ACEOF
5208if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5209 $EGREP "free" >/dev/null 2>&1; then
5210 :
5211else
5212 ac_cv_header_stdc=no
5213fi
5214rm -f conftest*
5215
5216fi
5217
5218if test $ac_cv_header_stdc = yes; then
5219 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5220 if test "$cross_compiling" = yes; then
5221 :
5222else
5223 cat >conftest.$ac_ext <<_ACEOF
5224/* confdefs.h. */
5225_ACEOF
5226cat confdefs.h >>conftest.$ac_ext
5227cat >>conftest.$ac_ext <<_ACEOF
5228/* end confdefs.h. */
5229#include <ctype.h>
5230#include <stdlib.h>
5231#if ((' ' & 0x0FF) == 0x020)
5232# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5233# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5234#else
5235# define ISLOWER(c) \
5236 (('a' <= (c) && (c) <= 'i') \
5237 || ('j' <= (c) && (c) <= 'r') \
5238 || ('s' <= (c) && (c) <= 'z'))
5239# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5240#endif
5241
5242#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5243int
5244main ()
5245{
5246 int i;
5247 for (i = 0; i < 256; i++)
5248 if (XOR (islower (i), ISLOWER (i))
5249 || toupper (i) != TOUPPER (i))
5250 return 2;
5251 return 0;
5252}
5253_ACEOF
5254rm -f conftest$ac_exeext
5255if { (ac_try="$ac_link"
5256case "(($ac_try" in
5257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5258 *) ac_try_echo=$ac_try;;
5259esac
5260eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5261 (eval "$ac_link") 2>&5
5262 ac_status=$?
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5265 { (case "(($ac_try" in
5266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267 *) ac_try_echo=$ac_try;;
5268esac
5269eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5270 (eval "$ac_try") 2>&5
5271 ac_status=$?
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); }; }; then
5274 :
5275else
5276 echo "$as_me: program exited with status $ac_status" >&5
5277echo "$as_me: failed program was:" >&5
5278sed 's/^/| /' conftest.$ac_ext >&5
5279
5280( exit $ac_status )
5281ac_cv_header_stdc=no
5282fi
5283rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5284fi
5285
5286
5287fi
5288fi
5289{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5290echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5291if test $ac_cv_header_stdc = yes; then
5292
5293cat >>confdefs.h <<\_ACEOF
5294#define STDC_HEADERS 1
5295_ACEOF
5296
5297fi
5298
5299# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5310 inttypes.h stdint.h unistd.h
5311do
5312as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5313{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5314echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5315if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5317else
5318 cat >conftest.$ac_ext <<_ACEOF
5319/* confdefs.h. */
5320_ACEOF
5321cat confdefs.h >>conftest.$ac_ext
5322cat >>conftest.$ac_ext <<_ACEOF
5323/* end confdefs.h. */
5324$ac_includes_default
5325
5326#include <$ac_header>
5327_ACEOF
5328rm -f conftest.$ac_objext
5329if { (ac_try="$ac_compile"
5330case "(($ac_try" in
5331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5333esac
5334eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5335 (eval "$ac_compile") 2>conftest.er1
5336 ac_status=$?
5337 grep -v '^ *+' conftest.er1 >conftest.err
5338 rm -f conftest.er1
5339 cat conftest.err >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } && {
5342 test -z "$ac_cxx_werror_flag" ||
5343 test ! -s conftest.err
5344 } && test -s conftest.$ac_objext; then
5345 eval "$as_ac_Header=yes"
5346else
5347 echo "$as_me: failed program was:" >&5
5348sed 's/^/| /' conftest.$ac_ext >&5
5349
5350 eval "$as_ac_Header=no"
5351fi
5352
5353rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354fi
5355ac_res=`eval echo '${'$as_ac_Header'}'`
5356 { echo "$as_me:$LINENO: result: $ac_res" >&5
5357echo "${ECHO_T}$ac_res" >&6; }
5358if test `eval echo '${'$as_ac_Header'}'` = yes; then
5359 cat >>confdefs.h <<_ACEOF
5360#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5361_ACEOF
5362
5363fi
5364
5365done
5366
5367
5368
5369
5370
5371
5372for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h
5373do
5374as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5375if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5377echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5380fi
5381ac_res=`eval echo '${'$as_ac_Header'}'`
5382 { echo "$as_me:$LINENO: result: $ac_res" >&5
5383echo "${ECHO_T}$ac_res" >&6; }
5384else
5385 # Is the header compilable?
5386{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5387echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5388cat >conftest.$ac_ext <<_ACEOF
5389/* confdefs.h. */
5390_ACEOF
5391cat confdefs.h >>conftest.$ac_ext
5392cat >>conftest.$ac_ext <<_ACEOF
5393/* end confdefs.h. */
5394$ac_includes_default
5395#include <$ac_header>
5396_ACEOF
5397rm -f conftest.$ac_objext
5398if { (ac_try="$ac_compile"
5399case "(($ac_try" in
5400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5401 *) ac_try_echo=$ac_try;;
5402esac
5403eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5404 (eval "$ac_compile") 2>conftest.er1
5405 ac_status=$?
5406 grep -v '^ *+' conftest.er1 >conftest.err
5407 rm -f conftest.er1
5408 cat conftest.err >&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); } && {
5411 test -z "$ac_cxx_werror_flag" ||
5412 test ! -s conftest.err
5413 } && test -s conftest.$ac_objext; then
5414 ac_header_compiler=yes
5415else
5416 echo "$as_me: failed program was:" >&5
5417sed 's/^/| /' conftest.$ac_ext >&5
5418
5419 ac_header_compiler=no
5420fi
5421
5422rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5423{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5424echo "${ECHO_T}$ac_header_compiler" >&6; }
5425
5426# Is the header present?
5427{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5428echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5429cat >conftest.$ac_ext <<_ACEOF
5430/* confdefs.h. */
5431_ACEOF
5432cat confdefs.h >>conftest.$ac_ext
5433cat >>conftest.$ac_ext <<_ACEOF
5434/* end confdefs.h. */
5435#include <$ac_header>
5436_ACEOF
5437if { (ac_try="$ac_cpp conftest.$ac_ext"
5438case "(($ac_try" in
5439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5440 *) ac_try_echo=$ac_try;;
5441esac
5442eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5444 ac_status=$?
5445 grep -v '^ *+' conftest.er1 >conftest.err
5446 rm -f conftest.er1
5447 cat conftest.err >&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } >/dev/null && {
5450 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5451 test ! -s conftest.err
5452 }; then
5453 ac_header_preproc=yes
5454else
5455 echo "$as_me: failed program was:" >&5
5456sed 's/^/| /' conftest.$ac_ext >&5
5457
5458 ac_header_preproc=no
5459fi
5460
5461rm -f conftest.err conftest.$ac_ext
5462{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5463echo "${ECHO_T}$ac_header_preproc" >&6; }
5464
5465# So? What about this header?
5466case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5467 yes:no: )
5468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5469echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5471echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5472 ac_header_preproc=yes
5473 ;;
5474 no:yes:* )
5475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5476echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5478echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5480echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5482echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5484echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5486echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5487
5488 ;;
5489esac
5490{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5491echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5492if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494else
5495 eval "$as_ac_Header=\$ac_header_preproc"
5496fi
5497ac_res=`eval echo '${'$as_ac_Header'}'`
5498 { echo "$as_me:$LINENO: result: $ac_res" >&5
5499echo "${ECHO_T}$ac_res" >&6; }
5500
5501fi
5502if test `eval echo '${'$as_ac_Header'}'` = yes; then
5503 cat >>confdefs.h <<_ACEOF
5504#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5505_ACEOF
5506
5507fi
5508
5509done
5510
5511
5512
5513
5514
5515for ac_func in epoll_ctl kqueue port_create
5516do
5517as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5518{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5519echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5520if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5521 echo $ECHO_N "(cached) $ECHO_C" >&6
5522else
5523 cat >conftest.$ac_ext <<_ACEOF
5524/* confdefs.h. */
5525_ACEOF
5526cat confdefs.h >>conftest.$ac_ext
5527cat >>conftest.$ac_ext <<_ACEOF
5528/* end confdefs.h. */
5529/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5531#define $ac_func innocuous_$ac_func
5532
5533/* System header to define __stub macros and hopefully few prototypes,
5534 which can conflict with char $ac_func (); below.
5535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5536 <limits.h> exists even on freestanding compilers. */
5537
5538#ifdef __STDC__
5539# include <limits.h>
5540#else
5541# include <assert.h>
5542#endif
5543
5544#undef $ac_func
5545
5546/* Override any GCC internal prototype to avoid an error.
5547 Use char because int might match the return type of a GCC
5548 builtin and then its argument prototype would still apply. */
5549#ifdef __cplusplus
5550extern "C"
5551#endif
5552char $ac_func ();
5553/* The GNU C library defines this for functions which it implements
5554 to always fail with ENOSYS. Some functions are actually named
5555 something starting with __ and the normal name is an alias. */
5556#if defined __stub_$ac_func || defined __stub___$ac_func
5557choke me
5558#endif
5559
5560int
5561main ()
5562{
5563return $ac_func ();
5564 ;
5565 return 0;
5566}
5567_ACEOF
5568rm -f conftest.$ac_objext conftest$ac_exeext
5569if { (ac_try="$ac_link"
5570case "(($ac_try" in
5571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5572 *) ac_try_echo=$ac_try;;
5573esac
5574eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5575 (eval "$ac_link") 2>conftest.er1
5576 ac_status=$?
5577 grep -v '^ *+' conftest.er1 >conftest.err
5578 rm -f conftest.er1
5579 cat conftest.err >&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); } && {
5582 test -z "$ac_cxx_werror_flag" ||
5583 test ! -s conftest.err
5584 } && test -s conftest$ac_exeext &&
5585 $as_test_x conftest$ac_exeext; then
5586 eval "$as_ac_var=yes"
5587else
5588 echo "$as_me: failed program was:" >&5
5589sed 's/^/| /' conftest.$ac_ext >&5
5590
5591 eval "$as_ac_var=no"
5592fi
5593
5594rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5595 conftest$ac_exeext conftest.$ac_ext
5596fi
5597ac_res=`eval echo '${'$as_ac_var'}'`
5598 { echo "$as_me:$LINENO: result: $ac_res" >&5
5599echo "${ECHO_T}$ac_res" >&6; }
5600if test `eval echo '${'$as_ac_var'}'` = yes; then
5601 cat >>confdefs.h <<_ACEOF
5602#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5603_ACEOF
5604
5605fi
5606done
5607
5608
5609{ echo "$as_me:$LINENO: checking for clock_gettime" >&5
5610echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; }
5611if test "${ac_cv_func_clock_gettime+set}" = set; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5613else
5614 cat >conftest.$ac_ext <<_ACEOF
5615/* confdefs.h. */
5616_ACEOF
5617cat confdefs.h >>conftest.$ac_ext
5618cat >>conftest.$ac_ext <<_ACEOF
5619/* end confdefs.h. */
5620/* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime.
5621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5622#define clock_gettime innocuous_clock_gettime
5623
5624/* System header to define __stub macros and hopefully few prototypes,
5625 which can conflict with char clock_gettime (); below.
5626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5627 <limits.h> exists even on freestanding compilers. */
5628
5629#ifdef __STDC__
5630# include <limits.h>
5631#else
5632# include <assert.h>
5633#endif
5634
5635#undef clock_gettime
5636
5637/* Override any GCC internal prototype to avoid an error.
5638 Use char because int might match the return type of a GCC
5639 builtin and then its argument prototype would still apply. */
5640#ifdef __cplusplus
5641extern "C"
5642#endif
5643char clock_gettime ();
5644/* The GNU C library defines this for functions which it implements
5645 to always fail with ENOSYS. Some functions are actually named
5646 something starting with __ and the normal name is an alias. */
5647#if defined __stub_clock_gettime || defined __stub___clock_gettime
5648choke me
5649#endif
5650
5651int
5652main ()
5653{
5654return clock_gettime ();
5655 ;
5656 return 0;
5657}
5658_ACEOF
5659rm -f conftest.$ac_objext conftest$ac_exeext
5660if { (ac_try="$ac_link"
5661case "(($ac_try" in
5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663 *) ac_try_echo=$ac_try;;
5664esac
5665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5666 (eval "$ac_link") 2>conftest.er1
5667 ac_status=$?
5668 grep -v '^ *+' conftest.er1 >conftest.err
5669 rm -f conftest.er1
5670 cat conftest.err >&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } && {
5673 test -z "$ac_cxx_werror_flag" ||
5674 test ! -s conftest.err
5675 } && test -s conftest$ac_exeext &&
5676 $as_test_x conftest$ac_exeext; then
5677 ac_cv_func_clock_gettime=yes
5678else
5679 echo "$as_me: failed program was:" >&5
5680sed 's/^/| /' conftest.$ac_ext >&5
5681
5682 ac_cv_func_clock_gettime=no
5683fi
5684
5685rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5686 conftest$ac_exeext conftest.$ac_ext
5687fi
5688{ echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5
5689echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5690if test $ac_cv_func_clock_gettime = yes; then
5691 :
5692else
5693
5694
5695{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5696echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5697if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5699else
5700 ac_check_lib_save_LIBS=$LIBS
5701LIBS="-lrt $LIBS"
5702cat >conftest.$ac_ext <<_ACEOF
5703/* confdefs.h. */
5704_ACEOF
5705cat confdefs.h >>conftest.$ac_ext
5706cat >>conftest.$ac_ext <<_ACEOF
5707/* end confdefs.h. */
5708
5709/* Override any GCC internal prototype to avoid an error.
5710 Use char because int might match the return type of a GCC
5711 builtin and then its argument prototype would still apply. */
5712#ifdef __cplusplus
5713extern "C"
5714#endif
5715char clock_gettime ();
5716int
5717main ()
5718{
5719return clock_gettime ();
5720 ;
5721 return 0;
5722}
5723_ACEOF
5724rm -f conftest.$ac_objext conftest$ac_exeext
5725if { (ac_try="$ac_link"
5726case "(($ac_try" in
5727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728 *) ac_try_echo=$ac_try;;
5729esac
5730eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5731 (eval "$ac_link") 2>conftest.er1
5732 ac_status=$?
5733 grep -v '^ *+' conftest.er1 >conftest.err
5734 rm -f conftest.er1
5735 cat conftest.err >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } && {
5738 test -z "$ac_cxx_werror_flag" ||
5739 test ! -s conftest.err
5740 } && test -s conftest$ac_exeext &&
5741 $as_test_x conftest$ac_exeext; then
5742 ac_cv_lib_rt_clock_gettime=yes
5743else
5744 echo "$as_me: failed program was:" >&5
5745sed 's/^/| /' conftest.$ac_ext >&5
5746
5747 ac_cv_lib_rt_clock_gettime=no
5748fi
5749
5750rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5751 conftest$ac_exeext conftest.$ac_ext
5752LIBS=$ac_check_lib_save_LIBS
5753fi
5754{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
5755echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; }
5756if test $ac_cv_lib_rt_clock_gettime = yes; then
5757 cat >>confdefs.h <<_ACEOF
5758#define HAVE_LIBRT 1
5759_ACEOF
5760
5761 LIBS="-lrt $LIBS"
5762
5763fi
5764
5765
5766for ac_func in clock_gettime
5767do
5768as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5769{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5770echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5771if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5773else
5774 cat >conftest.$ac_ext <<_ACEOF
5775/* confdefs.h. */
5776_ACEOF
5777cat confdefs.h >>conftest.$ac_ext
5778cat >>conftest.$ac_ext <<_ACEOF
5779/* end confdefs.h. */
5780/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5782#define $ac_func innocuous_$ac_func
5783
5784/* System header to define __stub macros and hopefully few prototypes,
5785 which can conflict with char $ac_func (); below.
5786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5787 <limits.h> exists even on freestanding compilers. */
5788
5789#ifdef __STDC__
5790# include <limits.h>
5791#else
5792# include <assert.h>
5793#endif
5794
5795#undef $ac_func
5796
5797/* Override any GCC internal prototype to avoid an error.
5798 Use char because int might match the return type of a GCC
5799 builtin and then its argument prototype would still apply. */
5800#ifdef __cplusplus
5801extern "C"
5802#endif
5803char $ac_func ();
5804/* The GNU C library defines this for functions which it implements
5805 to always fail with ENOSYS. Some functions are actually named
5806 something starting with __ and the normal name is an alias. */
5807#if defined __stub_$ac_func || defined __stub___$ac_func
5808choke me
5809#endif
5810
5811int
5812main ()
5813{
5814return $ac_func ();
5815 ;
5816 return 0;
5817}
5818_ACEOF
5819rm -f conftest.$ac_objext conftest$ac_exeext
5820if { (ac_try="$ac_link"
5821case "(($ac_try" in
5822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5823 *) ac_try_echo=$ac_try;;
5824esac
5825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5826 (eval "$ac_link") 2>conftest.er1
5827 ac_status=$?
5828 grep -v '^ *+' conftest.er1 >conftest.err
5829 rm -f conftest.er1
5830 cat conftest.err >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && {
5833 test -z "$ac_cxx_werror_flag" ||
5834 test ! -s conftest.err
5835 } && test -s conftest$ac_exeext &&
5836 $as_test_x conftest$ac_exeext; then
5837 eval "$as_ac_var=yes"
5838else
5839 echo "$as_me: failed program was:" >&5
5840sed 's/^/| /' conftest.$ac_ext >&5
5841
5842 eval "$as_ac_var=no"
5843fi
5844
5845rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5846 conftest$ac_exeext conftest.$ac_ext
5847fi
5848ac_res=`eval echo '${'$as_ac_var'}'`
5849 { echo "$as_me:$LINENO: result: $ac_res" >&5
5850echo "${ECHO_T}$ac_res" >&6; }
5851if test `eval echo '${'$as_ac_var'}'` = yes; then
5852 cat >>confdefs.h <<_ACEOF
5853#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5854_ACEOF
5855
5856fi
5857done
5858
5859
5860fi
5861
5862
5863
5864{ echo "$as_me:$LINENO: checking for ceil in -lm" >&5
5865echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; }
5866if test "${ac_cv_lib_m_ceil+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5868else
5869 ac_check_lib_save_LIBS=$LIBS
5870LIBS="-lm $LIBS"
5871cat >conftest.$ac_ext <<_ACEOF
5872/* confdefs.h. */
5873_ACEOF
5874cat confdefs.h >>conftest.$ac_ext
5875cat >>conftest.$ac_ext <<_ACEOF
5876/* end confdefs.h. */
5877
5878/* Override any GCC internal prototype to avoid an error.
5879 Use char because int might match the return type of a GCC
5880 builtin and then its argument prototype would still apply. */
5881#ifdef __cplusplus
5882extern "C"
5883#endif
5884char ceil ();
5885int
5886main ()
5887{
5888return ceil ();
5889 ;
5890 return 0;
5891}
5892_ACEOF
5893rm -f conftest.$ac_objext conftest$ac_exeext
5894if { (ac_try="$ac_link"
5895case "(($ac_try" in
5896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5897 *) ac_try_echo=$ac_try;;
5898esac
5899eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5900 (eval "$ac_link") 2>conftest.er1
5901 ac_status=$?
5902 grep -v '^ *+' conftest.er1 >conftest.err
5903 rm -f conftest.er1
5904 cat conftest.err >&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); } && {
5907 test -z "$ac_cxx_werror_flag" ||
5908 test ! -s conftest.err
5909 } && test -s conftest$ac_exeext &&
5910 $as_test_x conftest$ac_exeext; then
5911 ac_cv_lib_m_ceil=yes
5912else
5913 echo "$as_me: failed program was:" >&5
5914sed 's/^/| /' conftest.$ac_ext >&5
5915
5916 ac_cv_lib_m_ceil=no
5917fi
5918
5919rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5920 conftest$ac_exeext conftest.$ac_ext
5921LIBS=$ac_check_lib_save_LIBS
5922fi
5923{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
5924echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; }
5925if test $ac_cv_lib_m_ceil = yes; then
5926 cat >>confdefs.h <<_ACEOF
5927#define HAVE_LIBM 1
5928_ACEOF
5929
5930 LIBS="-lm $LIBS"
5931
5932fi
5933
5934
5935
5936
4846 5937
4847 5938
4848 5939
4849# Extract the first word of "tic", so it can be a program name with args. 5940# Extract the first word of "tic", so it can be a program name with args.
4850set dummy tic; ac_word=$2 5941set dummy tic; ac_word=$2
4871 fi 5962 fi
4872done 5963done
4873done 5964done
4874IFS=$as_save_IFS 5965IFS=$as_save_IFS
4875 5966
5967 test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":"
4876 ;; 5968 ;;
4877esac 5969esac
4878fi 5970fi
4879TIC=$ac_cv_path_TIC 5971TIC=$ac_cv_path_TIC
4880if test -n "$TIC"; then 5972if test -n "$TIC"; then
4885echo "${ECHO_T}no" >&6; } 5977echo "${ECHO_T}no" >&6; }
4886fi 5978fi
4887 5979
4888 5980
4889 5981
4890
4891
4892ac_ext=cpp
4893ac_cpp='$CXXCPP $CPPFLAGS'
4894ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4895ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4896ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4897{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4898echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4899if test -z "$CXXCPP"; then
4900 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4902else
4903 # Double quotes because CXXCPP needs to be expanded
4904 for CXXCPP in "$CXX -E" "/lib/cpp"
4905 do
4906 ac_preproc_ok=false
4907for ac_cxx_preproc_warn_flag in '' yes
4908do
4909 # Use a header file that comes with gcc, so configuring glibc
4910 # with a fresh cross-compiler works.
4911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4912 # <limits.h> exists even on freestanding compilers.
4913 # On the NeXT, cc -E runs the code through the compiler's parser,
4914 # not just through cpp. "Syntax error" is here to catch this case.
4915 cat >conftest.$ac_ext <<_ACEOF
4916/* confdefs.h. */
4917_ACEOF
4918cat confdefs.h >>conftest.$ac_ext
4919cat >>conftest.$ac_ext <<_ACEOF
4920/* end confdefs.h. */
4921#ifdef __STDC__
4922# include <limits.h>
4923#else
4924# include <assert.h>
4925#endif
4926 Syntax error
4927_ACEOF
4928if { (ac_try="$ac_cpp conftest.$ac_ext"
4929case "(($ac_try" in
4930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4931 *) ac_try_echo=$ac_try;;
4932esac
4933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4935 ac_status=$?
4936 grep -v '^ *+' conftest.er1 >conftest.err
4937 rm -f conftest.er1
4938 cat conftest.err >&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); } >/dev/null && {
4941 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4942 test ! -s conftest.err
4943 }; then
4944 :
4945else
4946 echo "$as_me: failed program was:" >&5
4947sed 's/^/| /' conftest.$ac_ext >&5
4948
4949 # Broken: fails on valid input.
4950continue
4951fi
4952
4953rm -f conftest.err conftest.$ac_ext
4954
4955 # OK, works on sane cases. Now check whether nonexistent headers
4956 # can be detected and how.
4957 cat >conftest.$ac_ext <<_ACEOF
4958/* confdefs.h. */
4959_ACEOF
4960cat confdefs.h >>conftest.$ac_ext
4961cat >>conftest.$ac_ext <<_ACEOF
4962/* end confdefs.h. */
4963#include <ac_nonexistent.h>
4964_ACEOF
4965if { (ac_try="$ac_cpp conftest.$ac_ext"
4966case "(($ac_try" in
4967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4968 *) ac_try_echo=$ac_try;;
4969esac
4970eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4972 ac_status=$?
4973 grep -v '^ *+' conftest.er1 >conftest.err
4974 rm -f conftest.er1
4975 cat conftest.err >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); } >/dev/null && {
4978 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4979 test ! -s conftest.err
4980 }; then
4981 # Broken: success on invalid input.
4982continue
4983else
4984 echo "$as_me: failed program was:" >&5
4985sed 's/^/| /' conftest.$ac_ext >&5
4986
4987 # Passes both tests.
4988ac_preproc_ok=:
4989break
4990fi
4991
4992rm -f conftest.err conftest.$ac_ext
4993
4994done
4995# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4996rm -f conftest.err conftest.$ac_ext
4997if $ac_preproc_ok; then
4998 break
4999fi
5000
5001 done
5002 ac_cv_prog_CXXCPP=$CXXCPP
5003
5004fi
5005 CXXCPP=$ac_cv_prog_CXXCPP
5006else
5007 ac_cv_prog_CXXCPP=$CXXCPP
5008fi
5009{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5010echo "${ECHO_T}$CXXCPP" >&6; }
5011ac_preproc_ok=false
5012for ac_cxx_preproc_warn_flag in '' yes
5013do
5014 # Use a header file that comes with gcc, so configuring glibc
5015 # with a fresh cross-compiler works.
5016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 # <limits.h> exists even on freestanding compilers.
5018 # On the NeXT, cc -E runs the code through the compiler's parser,
5019 # not just through cpp. "Syntax error" is here to catch this case.
5020 cat >conftest.$ac_ext <<_ACEOF
5021/* confdefs.h. */
5022_ACEOF
5023cat confdefs.h >>conftest.$ac_ext
5024cat >>conftest.$ac_ext <<_ACEOF
5025/* end confdefs.h. */
5026#ifdef __STDC__
5027# include <limits.h>
5028#else
5029# include <assert.h>
5030#endif
5031 Syntax error
5032_ACEOF
5033if { (ac_try="$ac_cpp conftest.$ac_ext"
5034case "(($ac_try" in
5035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5036 *) ac_try_echo=$ac_try;;
5037esac
5038eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5040 ac_status=$?
5041 grep -v '^ *+' conftest.er1 >conftest.err
5042 rm -f conftest.er1
5043 cat conftest.err >&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); } >/dev/null && {
5046 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5047 test ! -s conftest.err
5048 }; then
5049 :
5050else
5051 echo "$as_me: failed program was:" >&5
5052sed 's/^/| /' conftest.$ac_ext >&5
5053
5054 # Broken: fails on valid input.
5055continue
5056fi
5057
5058rm -f conftest.err conftest.$ac_ext
5059
5060 # OK, works on sane cases. Now check whether nonexistent headers
5061 # can be detected and how.
5062 cat >conftest.$ac_ext <<_ACEOF
5063/* confdefs.h. */
5064_ACEOF
5065cat confdefs.h >>conftest.$ac_ext
5066cat >>conftest.$ac_ext <<_ACEOF
5067/* end confdefs.h. */
5068#include <ac_nonexistent.h>
5069_ACEOF
5070if { (ac_try="$ac_cpp conftest.$ac_ext"
5071case "(($ac_try" in
5072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5073 *) ac_try_echo=$ac_try;;
5074esac
5075eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5077 ac_status=$?
5078 grep -v '^ *+' conftest.er1 >conftest.err
5079 rm -f conftest.er1
5080 cat conftest.err >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } >/dev/null && {
5083 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5084 test ! -s conftest.err
5085 }; then
5086 # Broken: success on invalid input.
5087continue
5088else
5089 echo "$as_me: failed program was:" >&5
5090sed 's/^/| /' conftest.$ac_ext >&5
5091
5092 # Passes both tests.
5093ac_preproc_ok=:
5094break
5095fi
5096
5097rm -f conftest.err conftest.$ac_ext
5098
5099done
5100# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5101rm -f conftest.err conftest.$ac_ext
5102if $ac_preproc_ok; then
5103 :
5104else
5105 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5106See \`config.log' for more details." >&5
5107echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5108See \`config.log' for more details." >&2;}
5109 { (exit 1); exit 1; }; }
5110fi
5111
5112ac_ext=cpp
5113ac_cpp='$CXXCPP $CPPFLAGS'
5114ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5117 5982
5118 5983
5119{ echo "$as_me:$LINENO: checking for X" >&5 5984{ echo "$as_me:$LINENO: checking for X" >&5
5120echo $ECHO_N "checking for X... $ECHO_C" >&6; } 5985echo $ECHO_N "checking for X... $ECHO_C" >&6; }
5121 5986
6574#define HAVE_SYS_WAIT_H 1 7439#define HAVE_SYS_WAIT_H 1
6575_ACEOF 7440_ACEOF
6576 7441
6577fi 7442fi
6578 7443
6579{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6580echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6581if test "${ac_cv_header_stdc+set}" = set; then
6582 echo $ECHO_N "(cached) $ECHO_C" >&6
6583else
6584 cat >conftest.$ac_ext <<_ACEOF
6585/* confdefs.h. */
6586_ACEOF
6587cat confdefs.h >>conftest.$ac_ext
6588cat >>conftest.$ac_ext <<_ACEOF
6589/* end confdefs.h. */
6590#include <stdlib.h>
6591#include <stdarg.h>
6592#include <string.h>
6593#include <float.h>
6594
6595int
6596main ()
6597{
6598
6599 ;
6600 return 0;
6601}
6602_ACEOF
6603rm -f conftest.$ac_objext
6604if { (ac_try="$ac_compile"
6605case "(($ac_try" in
6606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6607 *) ac_try_echo=$ac_try;;
6608esac
6609eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_compile") 2>conftest.er1
6611 ac_status=$?
6612 grep -v '^ *+' conftest.er1 >conftest.err
6613 rm -f conftest.er1
6614 cat conftest.err >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } && {
6617 test -z "$ac_cxx_werror_flag" ||
6618 test ! -s conftest.err
6619 } && test -s conftest.$ac_objext; then
6620 ac_cv_header_stdc=yes
6621else
6622 echo "$as_me: failed program was:" >&5
6623sed 's/^/| /' conftest.$ac_ext >&5
6624
6625 ac_cv_header_stdc=no
6626fi
6627
6628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6629
6630if test $ac_cv_header_stdc = yes; then
6631 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6632 cat >conftest.$ac_ext <<_ACEOF
6633/* confdefs.h. */
6634_ACEOF
6635cat confdefs.h >>conftest.$ac_ext
6636cat >>conftest.$ac_ext <<_ACEOF
6637/* end confdefs.h. */
6638#include <string.h>
6639
6640_ACEOF
6641if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6642 $EGREP "memchr" >/dev/null 2>&1; then
6643 :
6644else
6645 ac_cv_header_stdc=no
6646fi
6647rm -f conftest*
6648
6649fi
6650
6651if test $ac_cv_header_stdc = yes; then
6652 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6653 cat >conftest.$ac_ext <<_ACEOF
6654/* confdefs.h. */
6655_ACEOF
6656cat confdefs.h >>conftest.$ac_ext
6657cat >>conftest.$ac_ext <<_ACEOF
6658/* end confdefs.h. */
6659#include <stdlib.h>
6660
6661_ACEOF
6662if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6663 $EGREP "free" >/dev/null 2>&1; then
6664 :
6665else
6666 ac_cv_header_stdc=no
6667fi
6668rm -f conftest*
6669
6670fi
6671
6672if test $ac_cv_header_stdc = yes; then
6673 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6674 if test "$cross_compiling" = yes; then
6675 :
6676else
6677 cat >conftest.$ac_ext <<_ACEOF
6678/* confdefs.h. */
6679_ACEOF
6680cat confdefs.h >>conftest.$ac_ext
6681cat >>conftest.$ac_ext <<_ACEOF
6682/* end confdefs.h. */
6683#include <ctype.h>
6684#include <stdlib.h>
6685#if ((' ' & 0x0FF) == 0x020)
6686# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6687# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6688#else
6689# define ISLOWER(c) \
6690 (('a' <= (c) && (c) <= 'i') \
6691 || ('j' <= (c) && (c) <= 'r') \
6692 || ('s' <= (c) && (c) <= 'z'))
6693# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6694#endif
6695
6696#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6697int
6698main ()
6699{
6700 int i;
6701 for (i = 0; i < 256; i++)
6702 if (XOR (islower (i), ISLOWER (i))
6703 || toupper (i) != TOUPPER (i))
6704 return 2;
6705 return 0;
6706}
6707_ACEOF
6708rm -f conftest$ac_exeext
6709if { (ac_try="$ac_link"
6710case "(($ac_try" in
6711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6712 *) ac_try_echo=$ac_try;;
6713esac
6714eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6715 (eval "$ac_link") 2>&5
6716 ac_status=$?
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6719 { (case "(($ac_try" in
6720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6721 *) ac_try_echo=$ac_try;;
6722esac
6723eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6724 (eval "$ac_try") 2>&5
6725 ac_status=$?
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; }; then
6728 :
6729else
6730 echo "$as_me: program exited with status $ac_status" >&5
6731echo "$as_me: failed program was:" >&5
6732sed 's/^/| /' conftest.$ac_ext >&5
6733
6734( exit $ac_status )
6735ac_cv_header_stdc=no
6736fi
6737rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6738fi
6739
6740
6741fi
6742fi
6743{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6744echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6745if test $ac_cv_header_stdc = yes; then
6746
6747cat >>confdefs.h <<\_ACEOF
6748#define STDC_HEADERS 1
6749_ACEOF
6750
6751fi
6752
6753# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6764 inttypes.h stdint.h unistd.h
6765do
6766as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6767{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6768echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6769if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6770 echo $ECHO_N "(cached) $ECHO_C" >&6
6771else
6772 cat >conftest.$ac_ext <<_ACEOF
6773/* confdefs.h. */
6774_ACEOF
6775cat confdefs.h >>conftest.$ac_ext
6776cat >>conftest.$ac_ext <<_ACEOF
6777/* end confdefs.h. */
6778$ac_includes_default
6779
6780#include <$ac_header>
6781_ACEOF
6782rm -f conftest.$ac_objext
6783if { (ac_try="$ac_compile"
6784case "(($ac_try" in
6785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6786 *) ac_try_echo=$ac_try;;
6787esac
6788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6789 (eval "$ac_compile") 2>conftest.er1
6790 ac_status=$?
6791 grep -v '^ *+' conftest.er1 >conftest.err
6792 rm -f conftest.er1
6793 cat conftest.err >&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); } && {
6796 test -z "$ac_cxx_werror_flag" ||
6797 test ! -s conftest.err
6798 } && test -s conftest.$ac_objext; then
6799 eval "$as_ac_Header=yes"
6800else
6801 echo "$as_me: failed program was:" >&5
6802sed 's/^/| /' conftest.$ac_ext >&5
6803
6804 eval "$as_ac_Header=no"
6805fi
6806
6807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6808fi
6809ac_res=`eval echo '${'$as_ac_Header'}'`
6810 { echo "$as_me:$LINENO: result: $ac_res" >&5
6811echo "${ECHO_T}$ac_res" >&6; }
6812if test `eval echo '${'$as_ac_Header'}'` = yes; then
6813 cat >>confdefs.h <<_ACEOF
6814#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6815_ACEOF
6816
6817fi
6818
6819done
6820
6821
6822 7444
6823 7445
6824 7446
6825 7447
6826 7448
9588_ACEOF 10210_ACEOF
9589 10211
9590 10212
9591 10213
9592 10214
9593
9594
9595for ac_func in \ 10215for ac_func in unsetenv
9596 unsetenv \
9597 setutent \
9598 on_exit \
9599
9600do 10216do
9601as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10217as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9602{ echo "$as_me:$LINENO: checking for $ac_func" >&5 10218{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9603echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10219echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9604if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10220if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9743 10359
9744 10360
9745 10361
9746 10362
9747for ac_func in \ 10363for ac_func in \
9748 ttyslot \
9749 updwtmp \ 10364 updwtmp \
9750 updwtmpx \ 10365 updwtmpx \
10366 updlastlogx \
9751 10367
9752do 10368do
9753as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10369as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9754{ echo "$as_me:$LINENO: checking for $ac_func" >&5 10370{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9755echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10371echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11176 11792
11177cat >>confdefs.h <<_ACEOF 11793cat >>confdefs.h <<_ACEOF
11178#define LASTLOG_FILE "$path_lastlog" 11794#define LASTLOG_FILE "$path_lastlog"
11179_ACEOF 11795_ACEOF
11180 11796
11181 if test -d "$path_lastlog"; then
11182
11183cat >>confdefs.h <<\_ACEOF
11184#define LASTLOG_IS_DIR 1
11185_ACEOF
11186
11187 fi
11188fi 11797fi
11189 11798
11190{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11799{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11191echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } 11800echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; }
11192if test "${path_lastlogx+set}" = set; then 11801if test "${path_lastlogx+set}" = set; then
11274 11883
11275fi 11884fi
11276 11885
11277 11886
11278 11887
11279{ echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11280echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; }
11281if test "${rxvt_cv_path_ttytab+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11283else
11284 for ttys_file in /etc/ttys /etc/ttytab;
11285do
11286 if test -f "$ttys_file" ; then
11287 rxvt_cv_path_ttytab=$ttys_file
11288 break
11289 fi
11290done
11291 11888
11292fi
11293{ echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5
11294echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; }
11295if test x$rxvt_cv_path_ttytab != x; then
11296
11297cat >>confdefs.h <<_ACEOF
11298#define TTYTAB_FILENAME "$rxvt_cv_path_ttytab"
11299_ACEOF
11300
11301fi
11302
11303
11304ac_save_LIBS=$LIBS 11889save_LIBS=$LIBS
11305ac_save_CFLAGS=$CFLAGS 11890save_CFLAGS=$CFLAGS
11306CFLAGS="$CFLAGS $X_CFLAGS" 11891CFLAGS="$CFLAGS $X_CFLAGS"
11307LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11892LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11893if test x$support_xim = xyes; then
11308{ echo "$as_me:$LINENO: checking for working Xlocale" >&5 11894 { echo "$as_me:$LINENO: checking for working Xlocale" >&5
11309echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } 11895echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; }
11310if test "${rxvt_cv_func_xlocale+set}" = set; then 11896if test "${rxvt_cv_func_xlocale+set}" = set; then
11311 echo $ECHO_N "(cached) $ECHO_C" >&6 11897 echo $ECHO_N "(cached) $ECHO_C" >&6
11312else 11898else
11313 if test "$cross_compiling" = yes; then 11899 if test "$cross_compiling" = yes; then
11314 : 11900 :
11315else 11901else
11316 cat >conftest.$ac_ext <<_ACEOF 11902 cat >conftest.$ac_ext <<_ACEOF
11317/* confdefs.h. */ 11903/* confdefs.h. */
11318_ACEOF 11904_ACEOF
11319cat confdefs.h >>conftest.$ac_ext 11905cat confdefs.h >>conftest.$ac_ext
11320cat >>conftest.$ac_ext <<_ACEOF 11906cat >>conftest.$ac_ext <<_ACEOF
11321/* end confdefs.h. */ 11907/* end confdefs.h. */
11322#include <X11/Xlib.h> 11908#include <X11/Xlib.h>
11323#include <stdlib.h> 11909 #include <stdlib.h>
11324main() { 11910 main() {
11325char *p; 11911 char *p;
11326if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 11912 if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
11327exit (XSupportsLocale() ? 0 : 1); 11913 exit (XSupportsLocale() ? 0 : 1);
11328else 11914 else
11329exit (1);} 11915 exit (1);}
11330_ACEOF 11916_ACEOF
11331rm -f conftest$ac_exeext 11917rm -f conftest$ac_exeext
11332if { (ac_try="$ac_link" 11918if { (ac_try="$ac_link"
11333case "(($ac_try" in 11919case "(($ac_try" in
11334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_try") 2>&5 11933 (eval "$ac_try") 2>&5
11348 ac_status=$? 11934 ac_status=$?
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }; }; then 11936 (exit $ac_status); }; }; then
11351 rxvt_cv_func_xlocale=yes 11937 rxvt_cv_func_xlocale=yes
11352else 11938else
11353 echo "$as_me: program exited with status $ac_status" >&5 11939 echo "$as_me: program exited with status $ac_status" >&5
11354echo "$as_me: failed program was:" >&5 11940echo "$as_me: failed program was:" >&5
11355sed 's/^/| /' conftest.$ac_ext >&5 11941sed 's/^/| /' conftest.$ac_ext >&5
11356 11942
11362 11948
11363 11949
11364fi 11950fi
11365{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11951{ echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11366echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } 11952echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; }
11367if test x$support_xim = xyes; then
11368 if test x$rxvt_cv_func_xlocale = xyes; then 11953 if test x$rxvt_cv_func_xlocale = xyes; then
11369 11954
11370cat >>confdefs.h <<\_ACEOF 11955cat >>confdefs.h <<\_ACEOF
11371#define USE_XIM 1 11956#define USE_XIM 1
11372_ACEOF 11957_ACEOF
11373 11958
11959 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11960echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
11961if test "${rxvt_broken_ximcb+set}" = set; then
11962 echo $ECHO_N "(cached) $ECHO_C" >&6
11963else
11964 cat >conftest.$ac_ext <<_ACEOF
11965
11966 #include <X11/Xlib.h>
11967
11968 void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
11969
11970 void f() {
11971 XIMCallback cb;
11972 cb.callback = im_destroy_cb;
11973 }
11974
11975_ACEOF
11976rm -f conftest.$ac_objext
11977if { (ac_try="$ac_compile"
11978case "(($ac_try" in
11979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11980 *) ac_try_echo=$ac_try;;
11981esac
11982eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983 (eval "$ac_compile") 2>conftest.er1
11984 ac_status=$?
11985 grep -v '^ *+' conftest.er1 >conftest.err
11986 rm -f conftest.er1
11987 cat conftest.err >&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } && {
11990 test -z "$ac_cxx_werror_flag" ||
11991 test ! -s conftest.err
11992 } && test -s conftest.$ac_objext; then
11993 rxvt_broken_ximcb=yes
11994else
11995 echo "$as_me: failed program was:" >&5
11996sed 's/^/| /' conftest.$ac_ext >&5
11997
11998 rxvt_broken_ximcb=no
11999fi
12000
12001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12002fi
12003{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
12004echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
12005
12006 if test x$rxvt_broken_ximcb = xyes; then
12007
12008cat >>confdefs.h <<\_ACEOF
12009#define XIMCB_PROTO_BROKEN 1
12010_ACEOF
12011
12012 fi
11374 fi 12013 fi
11375fi 12014fi
11376 12015
11377{ echo "$as_me:$LINENO: checking for working X setlocale" >&5 12016{ echo "$as_me:$LINENO: checking for working X setlocale" >&5
11378echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } 12017echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; }
11431cat >>confdefs.h <<\_ACEOF 12070cat >>confdefs.h <<\_ACEOF
11432#define HAVE_XSETLOCALE 1 12071#define HAVE_XSETLOCALE 1
11433_ACEOF 12072_ACEOF
11434 12073
11435fi 12074fi
11436LIBS=$ac_save_LIBS 12075LIBS=$save_LIBS
11437CFLAGS=$ac_save_CFLAGS 12076CFLAGS=$save_CFLAGS
11438 12077
11439{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5 12078{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5
11440echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } 12079echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; }
11441if test "${rxvt_cv_func_setlocale+set}" = set; then 12080if test "${rxvt_cv_func_setlocale+set}" = set; then
11442 echo $ECHO_N "(cached) $ECHO_C" >&6 12081 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 12284 { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5
11646echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} 12285echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;}
11647 { (exit 1); exit 1; }; } 12286 { (exit 1); exit 1; }; }
11648fi 12287fi
11649 12288
11650
11651{ echo "$as_me:$LINENO: checking for broken XIM callback" >&5
11652echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
11653if test "${rxvt_broken_ximcb+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11655else
11656 cat >conftest.$ac_ext <<_ACEOF
11657
11658#include <X11/Xlib.h>
11659
11660void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
11661
11662void f() {
11663 XIMCallback cb;
11664 cb.callback = im_destroy_cb;
11665}
11666
11667_ACEOF
11668rm -f conftest.$ac_objext
11669if { (ac_try="$ac_compile"
11670case "(($ac_try" in
11671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11672 *) ac_try_echo=$ac_try;;
11673esac
11674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11675 (eval "$ac_compile") 2>conftest.er1
11676 ac_status=$?
11677 grep -v '^ *+' conftest.er1 >conftest.err
11678 rm -f conftest.er1
11679 cat conftest.err >&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } && {
11682 test -z "$ac_cxx_werror_flag" ||
11683 test ! -s conftest.err
11684 } && test -s conftest.$ac_objext; then
11685 rxvt_broken_ximcb=yes
11686else
11687 echo "$as_me: failed program was:" >&5
11688sed 's/^/| /' conftest.$ac_ext >&5
11689
11690 rxvt_broken_ximcb=no
11691fi
11692
11693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11694fi
11695{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
11696echo "${ECHO_T}$rxvt_broken_ximcb" >&6; }
11697
11698if test x$rxvt_broken_ximcb = xyes; then
11699
11700cat >>confdefs.h <<\_ACEOF
11701#define XIMCB_PROTO_BROKEN 1
11702_ACEOF
11703
11704fi
11705 12289
11706 12290
11707 12291
11708 12292
11709 12293
12390echo "${ECHO_T}no" >&6; } 12974echo "${ECHO_T}no" >&6; }
12391fi 12975fi
12392 12976
12393 12977
12394 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then 12978 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12395 LIBS="$LIBS `$PKG_CONFIG xft --libs`" 12979 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
12396 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" 12980 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12397 else 12981 else
12398 # Extract the first word of "xft-config", so it can be a program name with args. 12982 # Extract the first word of "xft-config", so it can be a program name with args.
12399set dummy xft-config; ac_word=$2 12983set dummy xft-config; ac_word=$2
12400{ echo "$as_me:$LINENO: checking for $ac_word" >&5 12984{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12435echo "${ECHO_T}no" >&6; } 13019echo "${ECHO_T}no" >&6; }
12436fi 13020fi
12437 13021
12438 13022
12439 if test $XFT_CONFIG != no; then 13023 if test $XFT_CONFIG != no; then
12440 LIBS="$LIBS `$XFT_CONFIG --libs`" 13024 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
12441 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 13025 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
12442 fi 13026 fi
12443 fi 13027 fi
12444 13028
12445 13029
12582 support_xft=no 13166 support_xft=no
12583fi 13167fi
12584 13168
12585done 13169done
12586 13170
13171 ac_save_LIBS="$LIBS"
13172 LIBS="$LIBS $X_LIBS"
12587 13173
12588{ echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 13174{ echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5
12589echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } 13175echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; }
12590if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then 13176if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then
12591 echo $ECHO_N "(cached) $ECHO_C" >&6 13177 echo $ECHO_N "(cached) $ECHO_C" >&6
12655 13241
12656else 13242else
12657 support_xft=no 13243 support_xft=no
12658fi 13244fi
12659 13245
13246 LIBS="$ac_save_LIBS"
12660 13247
12661 if test x$support_xft = xyes; then 13248 if test x$support_xft = xyes; then
12662 13249
12663cat >>confdefs.h <<\_ACEOF 13250cat >>confdefs.h <<\_ACEOF
12664#define XFT 1 13251#define XFT 1
12692cat >>confdefs.h <<\_ACEOF 13279cat >>confdefs.h <<\_ACEOF
12693#define OFF_FOCUS_FADING 1 13280#define OFF_FOCUS_FADING 1
12694_ACEOF 13281_ACEOF
12695 13282
12696fi 13283fi
12697if test x$support_tinting = xyes; then
12698
12699cat >>confdefs.h <<\_ACEOF
12700#define TINTING 1
12701_ACEOF
12702
12703fi
12704if test x$support_inheritpixmap = xyes; then 13284if test x$support_inheritpixmap = xyes; then
12705 13285
12706cat >>confdefs.h <<\_ACEOF 13286cat >>confdefs.h <<\_ACEOF
12707#define ENABLE_TRANSPARENCY 1 13287#define ENABLE_TRANSPARENCY 1
12708_ACEOF 13288_ACEOF
12720cat >>confdefs.h <<\_ACEOF 13300cat >>confdefs.h <<\_ACEOF
12721#define SELECTION_SCROLLING 1 13301#define SELECTION_SCROLLING 1
12722_ACEOF 13302_ACEOF
12723 13303
12724fi 13304fi
13305if test x$support_frills = xyes; then
13306
13307cat >>confdefs.h <<\_ACEOF
13308#define ENABLE_FRILLS 1
13309_ACEOF
13310
13311fi
12725if test x$support_mousewheel = xyes; then 13312if test x$support_mousewheel = xyes; then
12726 13313
12727cat >>confdefs.h <<\_ACEOF 13314cat >>confdefs.h <<\_ACEOF
12728#define MOUSE_WHEEL 1 13315#define MOUSE_WHEEL 1
12729_ACEOF 13316_ACEOF
12742#define HAVE_AFTERIMAGE 1 13329#define HAVE_AFTERIMAGE 1
12743_ACEOF 13330_ACEOF
12744 13331
12745 13332
12746cat >>confdefs.h <<\_ACEOF 13333cat >>confdefs.h <<\_ACEOF
12747#define XPM_BACKGROUND 1 13334#define BG_IMAGE_FROM_FILE 1
12748_ACEOF 13335_ACEOF
12749 13336
12750fi 13337fi
12751 13338
12752 13339
13024 13611
13025 13612
13026 13613
13027 13614
13028 13615
13029
13030if test x$support_perl = xyes; then
13031 support_frills=yes
13032fi
13033
13034if test x$support_frills = xyes; then
13035
13036cat >>confdefs.h <<\_ACEOF
13037#define ENABLE_FRILLS 1
13038_ACEOF
13039
13040fi
13041 13616
13042 13617
13043 13618
13044 13619
13045 13620
13821GREP!$GREP$ac_delim 14396GREP!$GREP$ac_delim
13822EGREP!$EGREP$ac_delim 14397EGREP!$EGREP$ac_delim
13823LINKER!$LINKER$ac_delim 14398LINKER!$LINKER$ac_delim
13824INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim 14399INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
13825RXVTNAME!$RXVTNAME$ac_delim 14400RXVTNAME!$RXVTNAME$ac_delim
14401CXXCPP!$CXXCPP$ac_delim
13826TIC!$TIC$ac_delim 14402TIC!$TIC$ac_delim
13827XMKMF!$XMKMF$ac_delim 14403XMKMF!$XMKMF$ac_delim
13828CXXCPP!$CXXCPP$ac_delim
13829X_CFLAGS!$X_CFLAGS$ac_delim 14404X_CFLAGS!$X_CFLAGS$ac_delim
13830X_PRE_LIBS!$X_PRE_LIBS$ac_delim 14405X_PRE_LIBS!$X_PRE_LIBS$ac_delim
13831X_LIBS!$X_LIBS$ac_delim 14406X_LIBS!$X_LIBS$ac_delim
13832X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim 14407X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
13833afterimage_config!$afterimage_config$ac_delim 14408afterimage_config!$afterimage_config$ac_delim

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines