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

Comparing rxvt-unicode/configure (file contents):
Revision 1.123 by root, Sun Dec 23 02:43:54 2007 UTC vs.
Revision 1.128 by root, Sat Nov 8 16:49:46 2008 UTC

694PERLPRIVLIBEXP 694PERLPRIVLIBEXP
695IF_PERL 695IF_PERL
696PERL_O 696PERL_O
697AFTERIMAGE_CFLAGS 697AFTERIMAGE_CFLAGS
698AFTERIMAGE_LIBS 698AFTERIMAGE_LIBS
699include_stdint_h
700include_sys_ioctl_h
701include_sys_strredir_h
702LIBOBJS 699LIBOBJS
703LTLIBOBJS' 700LTLIBOBJS'
704ac_subst_files='' 701ac_subst_files=''
705 ac_precious_vars='build_alias 702 ac_precious_vars='build_alias
706host_alias 703host_alias
1296 1293
1297Optional Features: 1294Optional Features:
1298 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1299 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1300 --enable-everything enable standard non-multichoice features 1297 --enable-everything enable standard non-multichoice features
1301 NOTE: this option is order dependent 1298 NOTE: this option is order dependent
1302 --enable-warnings turn on g++ warnings 1299 --enable-warnings turn on g++ warnings
1303 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1300 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1304 --enable-combining enable composition of base and combining characters 1301 --enable-combining enable composition of base and combining characters
1305 --enable-xft enable xft support on systems that have it 1302 --enable-xft enable xft support on systems that have it
1306 --enable-font-styles enable bold and italic support 1303 --enable-font-styles enable bold and italic support
1307 --enable-afterimage enable integration with libAfterImage for background images 1304 --enable-afterimage enable integration with libAfterImage for background images
1308 --enable-transparency enable transparent backgrounds 1305 --enable-transparency enable transparent backgrounds
1309 --enable-fading enable colors fading when off focus 1306 --enable-fading enable colors fading when off focus
1310 --enable-rxvt-scroll enable rxvt style scrollbar 1307 --enable-rxvt-scroll enable rxvt style scrollbar
1311 --enable-next-scroll enable NeXT style scrollbar 1308 --enable-next-scroll enable NeXT style scrollbar
1312 --enable-xterm-scroll enable Xterm style scrollbar 1309 --enable-xterm-scroll enable Xterm style scrollbar
1313 --enable-plain-scroll enable plain style scrollbar
1314 --enable-perl enable embedded perl interpreter 1310 --enable-perl enable embedded perl interpreter
1315 --enable-xim XIM (X Input Method) protocol support 1311 --enable-xim XIM (X Input Method) protocol support
1316 --disable-backspace-key disable handling of the backspace key 1312 --disable-backspace-key disable handling of the backspace key
1317 --disable-delete-key disable handling of the delete key 1313 --disable-delete-key disable handling of the delete key
1318 --disable-resources disable all resource checking 1314 --disable-resources disable all resource checking
4369fi 4365fi
4370 4366
4371fi 4367fi
4372 4368
4373 4369
4374
4375support_frills=yes 4370support_frills=yes
4376support_inheritpixmap=yes 4371support_inheritpixmap=yes
4377support_fading=yes 4372support_fading=yes
4378support_keepscrolling=yes 4373support_keepscrolling=yes
4379support_selectionscrolling=yes 4374support_selectionscrolling=yes
4382support_text_blink=yes 4377support_text_blink=yes
4383support_pointer_blank=yes 4378support_pointer_blank=yes
4384support_scroll_rxvt=yes 4379support_scroll_rxvt=yes
4385support_scroll_next=yes 4380support_scroll_next=yes
4386support_scroll_xterm=yes 4381support_scroll_xterm=yes
4387support_scroll_plain=yes
4388support_xim=yes 4382support_xim=yes
4389support_afterimage=yes 4383support_afterimage=yes
4390support_afterstep=yes 4384support_afterstep=yes
4391support_xft=yes 4385support_xft=yes
4392support_unicode3=no 4386support_unicode3=no
4394support_8bitctrls=no 4388support_8bitctrls=no
4395support_iso14755=yes 4389support_iso14755=yes
4396support_styles=yes 4390support_styles=yes
4397support_perl=yes 4391support_perl=yes
4398codesets=all 4392codesets=all
4399
4400 4393
4401 4394
4402# Check whether --enable-everything was given. 4395# Check whether --enable-everything was given.
4403if test "${enable_everything+set}" = set; then 4396if test "${enable_everything+set}" = set; then
4404 enableval=$enable_everything; 4397 enableval=$enable_everything;
4414 support_text_blink=no 4407 support_text_blink=no
4415 support_pointer_blank=no 4408 support_pointer_blank=no
4416 support_scroll_rxvt=no 4409 support_scroll_rxvt=no
4417 support_scroll_next=no 4410 support_scroll_next=no
4418 support_scroll_xterm=no 4411 support_scroll_xterm=no
4419 support_scroll_plain=no
4420 support_utmp=no 4412 support_utmp=no
4421 support_wtmp=no 4413 support_wtmp=no
4422 support_xim=no 4414 support_xim=no
4423 support_afterimage=no 4415 support_afterimage=no
4424 support_afterstep=no 4416 support_afterstep=no
4443 support_text_blink=yes 4435 support_text_blink=yes
4444 support_pointer_blank=yes 4436 support_pointer_blank=yes
4445 support_scroll_rxvt=yes 4437 support_scroll_rxvt=yes
4446 support_scroll_next=yes 4438 support_scroll_next=yes
4447 support_scroll_xterm=yes 4439 support_scroll_xterm=yes
4448 support_scroll_plain=yes
4449 support_utmp=yes 4440 support_utmp=yes
4450 support_wtmp=yes 4441 support_wtmp=yes
4451 support_xim=yes 4442 support_xim=yes
4452 support_afterimage=yes 4443 support_afterimage=yes
4453 support_afterstep=yes 4444 support_afterstep=yes
4606 4597
4607# Check whether --enable-xterm-scroll was given. 4598# Check whether --enable-xterm-scroll was given.
4608if test "${enable_xterm_scroll+set}" = set; then 4599if test "${enable_xterm_scroll+set}" = set; then
4609 enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then 4600 enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4610 support_scroll_xterm=$enableval 4601 support_scroll_xterm=$enableval
4611 fi
4612fi
4613
4614
4615# Check whether --enable-plain-scroll was given.
4616if test "${enable_plain_scroll+set}" = set; then
4617 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4618 support_scroll_plain=$enableval
4619 fi 4602 fi
4620fi 4603fi
4621 4604
4622 4605
4623# Check whether --enable-perl was given. 4606# Check whether --enable-perl was given.
5340 5323
5341 5324
5342 5325
5343 5326
5344 5327
5328
5345for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5329for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h
5346do 5330do
5347as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5331as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5348if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5332if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5349 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5350echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5334echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5486 5470
5487 5471
5488 5472
5489 5473
5490 5474
5475
5491for ac_func in inotify_init epoll_ctl kqueue port_create poll select 5476for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd
5492do 5477do
5493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5478as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5494{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5479{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5480echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5496if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5481if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7761fi 7746fi
7762 7747
7763done 7748done
7764 7749
7765 7750
7766{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7767echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7768if test "${rxvt_cv_header_sysioctl+set}" = set; then
7769 echo $ECHO_N "(cached) $ECHO_C" >&6
7770else
7771 cat >conftest.$ac_ext <<_ACEOF
7772/* confdefs.h. */
7773_ACEOF
7774cat confdefs.h >>conftest.$ac_ext
7775cat >>conftest.$ac_ext <<_ACEOF
7776/* end confdefs.h. */
7777#include <stdio.h>
7778#include <sys/ioctl.h>
7779#include <termios.h>
7780
7781int
7782main ()
7783{
7784int a = ECHO;
7785 ;
7786 return 0;
7787}
7788_ACEOF
7789rm -f conftest.$ac_objext
7790if { (ac_try="$ac_compile"
7791case "(($ac_try" in
7792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7793 *) ac_try_echo=$ac_try;;
7794esac
7795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7796 (eval "$ac_compile") 2>conftest.er1
7797 ac_status=$?
7798 grep -v '^ *+' conftest.er1 >conftest.err
7799 rm -f conftest.er1
7800 cat conftest.err >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); } && {
7803 test -z "$ac_cxx_werror_flag" ||
7804 test ! -s conftest.err
7805 } && test -s conftest.$ac_objext; then
7806 rxvt_cv_header_sysioctl=yes
7807else
7808 echo "$as_me: failed program was:" >&5
7809sed 's/^/| /' conftest.$ac_ext >&5
7810
7811 rxvt_cv_header_sysioctl=no
7812fi
7813
7814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7815fi
7816{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7817echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7818
7819{ echo "$as_me:$LINENO: checking for XPointer" >&5 7751{ echo "$as_me:$LINENO: checking for XPointer" >&5
7820echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7752echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7821if test "${rxvt_cv_xpointer+set}" = set; then 7753if test "${rxvt_cv_xpointer+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6 7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7823else 7755else
8724fi 8656fi
8725done 8657done
8726 8658
8727 8659
8728 8660
8729
8730
8731for ac_header in \ 8661for ac_header in lastlog.h
8732 utmp.h \
8733 utmpx.h \
8734 lastlog.h \
8735
8736do 8662do
8737as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8663as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8738if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8664if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8739 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8665 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8740echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8666echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8871 8797
8872done 8798done
8873 8799
8874 8800
8875 8801
8876if test "${ac_cv_header_utmp_h+set}" = set; then 8802
8803for ac_header in utmp.h
8804do
8805as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8806if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8877 { echo "$as_me:$LINENO: checking for utmp.h" >&5 8807 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8878echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8808echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8879if test "${ac_cv_header_utmp_h+set}" = set; then 8809if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8880 echo $ECHO_N "(cached) $ECHO_C" >&6 8810 echo $ECHO_N "(cached) $ECHO_C" >&6
8881fi 8811fi
8812ac_res=`eval echo '${'$as_ac_Header'}'`
8882{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8813 { echo "$as_me:$LINENO: result: $ac_res" >&5
8883echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8814echo "${ECHO_T}$ac_res" >&6; }
8884else 8815else
8885 # Is the header compilable? 8816 # Is the header compilable?
8886{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 8817{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8887echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 8818echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8888cat >conftest.$ac_ext <<_ACEOF 8819cat >conftest.$ac_ext <<_ACEOF
8889/* confdefs.h. */ 8820/* confdefs.h. */
8890_ACEOF 8821_ACEOF
8891cat confdefs.h >>conftest.$ac_ext 8822cat confdefs.h >>conftest.$ac_ext
8892cat >>conftest.$ac_ext <<_ACEOF 8823cat >>conftest.$ac_ext <<_ACEOF
8893/* end confdefs.h. */ 8824/* end confdefs.h. */
8894$ac_includes_default 8825$ac_includes_default
8895#include <utmp.h> 8826#include <$ac_header>
8896_ACEOF 8827_ACEOF
8897rm -f conftest.$ac_objext 8828rm -f conftest.$ac_objext
8898if { (ac_try="$ac_compile" 8829if { (ac_try="$ac_compile"
8899case "(($ac_try" in 8830case "(($ac_try" in
8900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8923{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8854{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8924echo "${ECHO_T}$ac_header_compiler" >&6; } 8855echo "${ECHO_T}$ac_header_compiler" >&6; }
8925 8856
8926# Is the header present? 8857# Is the header present?
8927{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 8858{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8928echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 8859echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8929cat >conftest.$ac_ext <<_ACEOF 8860cat >conftest.$ac_ext <<_ACEOF
8930/* confdefs.h. */ 8861/* confdefs.h. */
8931_ACEOF 8862_ACEOF
8932cat confdefs.h >>conftest.$ac_ext 8863cat confdefs.h >>conftest.$ac_ext
8933cat >>conftest.$ac_ext <<_ACEOF 8864cat >>conftest.$ac_ext <<_ACEOF
8934/* end confdefs.h. */ 8865/* end confdefs.h. */
8935#include <utmp.h> 8866#include <$ac_header>
8936_ACEOF 8867_ACEOF
8937if { (ac_try="$ac_cpp conftest.$ac_ext" 8868if { (ac_try="$ac_cpp conftest.$ac_ext"
8938case "(($ac_try" in 8869case "(($ac_try" in
8939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8940 *) ac_try_echo=$ac_try;; 8871 *) ac_try_echo=$ac_try;;
8963echo "${ECHO_T}$ac_header_preproc" >&6; } 8894echo "${ECHO_T}$ac_header_preproc" >&6; }
8964 8895
8965# So? What about this header? 8896# So? What about this header?
8966case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8897case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8967 yes:no: ) 8898 yes:no: )
8968 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 8899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8969echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8900echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8970 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 8901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8971echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 8902echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8972 ac_header_preproc=yes 8903 ac_header_preproc=yes
8973 ;; 8904 ;;
8974 no:yes:* ) 8905 no:yes:* )
8975 { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 8906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8976echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 8907echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8977 { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 8908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8978echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 8909echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8979 { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 8910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8980echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 8911echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8981 { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 8912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8982echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 8913echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8983 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 8914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8984echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} 8915echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8985 { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 8916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8986echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} 8917echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8987 8918
8988 ;; 8919 ;;
8989esac 8920esac
8990{ echo "$as_me:$LINENO: checking for utmp.h" >&5 8921{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8991echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8922echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8992if test "${ac_cv_header_utmp_h+set}" = set; then 8923if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6 8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8994else 8925else
8995 ac_cv_header_utmp_h=$ac_header_preproc 8926 eval "$as_ac_Header=\$ac_header_preproc"
8996fi 8927fi
8928ac_res=`eval echo '${'$as_ac_Header'}'`
8997{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8929 { echo "$as_me:$LINENO: result: $ac_res" >&5
8998echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8930echo "${ECHO_T}$ac_res" >&6; }
8999 8931
9000fi 8932fi
9001if test $ac_cv_header_utmp_h = yes; then 8933if test `eval echo '${'$as_ac_Header'}'` = yes; then
8934 cat >>confdefs.h <<_ACEOF
8935#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8936_ACEOF
9002 { echo "$as_me:$LINENO: checking for struct utmp" >&5 8937 { echo "$as_me:$LINENO: checking for struct utmp" >&5
9003echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 8938echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
9004if test "${struct_utmp+set}" = set; then 8939if test "${struct_utmp+set}" = set; then
9005 echo $ECHO_N "(cached) $ECHO_C" >&6 8940 echo $ECHO_N "(cached) $ECHO_C" >&6
9006else 8941else
9007 cat >conftest.$ac_ext <<_ACEOF 8942 cat >conftest.$ac_ext <<_ACEOF
9174 9109
9175fi 9110fi
9176 9111
9177fi 9112fi
9178 9113
9114done
9179 9115
9180 9116
9181if test "${ac_cv_header_utmpx_h+set}" = set; then 9117
9118for ac_header in utmpx.h
9119do
9120as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9121if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9182 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 9122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9183echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9123echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9184if test "${ac_cv_header_utmpx_h+set}" = set; then 9124if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6 9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9186fi 9126fi
9127ac_res=`eval echo '${'$as_ac_Header'}'`
9187{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9128 { echo "$as_me:$LINENO: result: $ac_res" >&5
9188echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9129echo "${ECHO_T}$ac_res" >&6; }
9189else 9130else
9190 # Is the header compilable? 9131 # Is the header compilable?
9191{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 9132{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9192echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 9133echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9193cat >conftest.$ac_ext <<_ACEOF 9134cat >conftest.$ac_ext <<_ACEOF
9194/* confdefs.h. */ 9135/* confdefs.h. */
9195_ACEOF 9136_ACEOF
9196cat confdefs.h >>conftest.$ac_ext 9137cat confdefs.h >>conftest.$ac_ext
9197cat >>conftest.$ac_ext <<_ACEOF 9138cat >>conftest.$ac_ext <<_ACEOF
9198/* end confdefs.h. */ 9139/* end confdefs.h. */
9199$ac_includes_default 9140$ac_includes_default
9200#include <utmpx.h> 9141#include <$ac_header>
9201_ACEOF 9142_ACEOF
9202rm -f conftest.$ac_objext 9143rm -f conftest.$ac_objext
9203if { (ac_try="$ac_compile" 9144if { (ac_try="$ac_compile"
9204case "(($ac_try" in 9145case "(($ac_try" in
9205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9228{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9169{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9229echo "${ECHO_T}$ac_header_compiler" >&6; } 9170echo "${ECHO_T}$ac_header_compiler" >&6; }
9230 9171
9231# Is the header present? 9172# Is the header present?
9232{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 9173{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9233echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 9174echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9234cat >conftest.$ac_ext <<_ACEOF 9175cat >conftest.$ac_ext <<_ACEOF
9235/* confdefs.h. */ 9176/* confdefs.h. */
9236_ACEOF 9177_ACEOF
9237cat confdefs.h >>conftest.$ac_ext 9178cat confdefs.h >>conftest.$ac_ext
9238cat >>conftest.$ac_ext <<_ACEOF 9179cat >>conftest.$ac_ext <<_ACEOF
9239/* end confdefs.h. */ 9180/* end confdefs.h. */
9240#include <utmpx.h> 9181#include <$ac_header>
9241_ACEOF 9182_ACEOF
9242if { (ac_try="$ac_cpp conftest.$ac_ext" 9183if { (ac_try="$ac_cpp conftest.$ac_ext"
9243case "(($ac_try" in 9184case "(($ac_try" in
9244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9245 *) ac_try_echo=$ac_try;; 9186 *) ac_try_echo=$ac_try;;
9268echo "${ECHO_T}$ac_header_preproc" >&6; } 9209echo "${ECHO_T}$ac_header_preproc" >&6; }
9269 9210
9270# So? What about this header? 9211# So? What about this header?
9271case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9212case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9272 yes:no: ) 9213 yes:no: )
9273 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 9214 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9274echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9215echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9275 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 9216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9276echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 9217echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9277 ac_header_preproc=yes 9218 ac_header_preproc=yes
9278 ;; 9219 ;;
9279 no:yes:* ) 9220 no:yes:* )
9280 { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 9221 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9281echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 9222echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9282 { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 9223 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9283echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 9224echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9284 { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 9225 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9285echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 9226echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9286 { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 9227 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9287echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} 9228echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9288 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 9229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9289echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} 9230echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9290 { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 9231 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9291echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} 9232echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9292 9233
9293 ;; 9234 ;;
9294esac 9235esac
9295{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 9236{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9296echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9237echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9297if test "${ac_cv_header_utmpx_h+set}" = set; then 9238if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9298 echo $ECHO_N "(cached) $ECHO_C" >&6 9239 echo $ECHO_N "(cached) $ECHO_C" >&6
9299else 9240else
9300 ac_cv_header_utmpx_h=$ac_header_preproc 9241 eval "$as_ac_Header=\$ac_header_preproc"
9301fi 9242fi
9243ac_res=`eval echo '${'$as_ac_Header'}'`
9302{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9244 { echo "$as_me:$LINENO: result: $ac_res" >&5
9303echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9245echo "${ECHO_T}$ac_res" >&6; }
9304 9246
9305fi 9247fi
9306if test $ac_cv_header_utmpx_h = yes; then 9248if test `eval echo '${'$as_ac_Header'}'` = yes; then
9249 cat >>confdefs.h <<_ACEOF
9250#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9251_ACEOF
9307 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 9252 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
9308echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9253echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
9309if test "${struct_utmpx+set}" = set; then 9254if test "${struct_utmpx+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6 9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9311else 9256else
9312 cat >conftest.$ac_ext <<_ACEOF 9257 cat >conftest.$ac_ext <<_ACEOF
9479 9424
9480fi 9425fi
9481 9426
9482fi 9427fi
9483 9428
9429done
9484 9430
9485{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9431{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
9486echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9432echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
9487if test "${struct_lastlog+set}" = set; then 9433if test "${struct_lastlog+set}" = set; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6 9434 echo $ECHO_N "(cached) $ECHO_C" >&6
10558 10504
10559 10505
10560 10506
10561 10507
10562 10508
10509
10563for ac_header in \ 10510for ac_header in \
10564 pty.h \ 10511 pty.h \
10565 util.h \ 10512 util.h \
10566 libutil.h \ 10513 libutil.h \
10567 sys/ioctl.h \ 10514 sys/ioctl.h \
10568 sys/stropts.h \ 10515 sys/stropts.h \
10516 stropts.h \
10569 10517
10570do 10518do
10571as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10519as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10572if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10520if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10573 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11596_ACEOF 11544_ACEOF
11597 11545
11598fi 11546fi
11599 11547
11600 11548
11549scrolltypes=plain
11550
11551cat >>confdefs.h <<\_ACEOF
11552#define PLAIN_SCROLLBAR 1
11553_ACEOF
11554
11555
11601if test x$support_scroll_rxvt = xyes; then 11556if test x$support_scroll_rxvt = xyes; then
11602 11557
11603cat >>confdefs.h <<\_ACEOF 11558cat >>confdefs.h <<\_ACEOF
11604#define RXVT_SCROLLBAR 1 11559#define RXVT_SCROLLBAR 1
11605_ACEOF 11560_ACEOF
11606 11561
11607 scrolltypes="rxvt" 11562 scrolltypes="$scrolltypes rxvt"
11608fi 11563fi
11609if test x$support_scroll_next = xyes; then 11564if test x$support_scroll_next = xyes; then
11610 11565
11611cat >>confdefs.h <<\_ACEOF 11566cat >>confdefs.h <<\_ACEOF
11612#define NEXT_SCROLLBAR 1 11567#define NEXT_SCROLLBAR 1
11619cat >>confdefs.h <<\_ACEOF 11574cat >>confdefs.h <<\_ACEOF
11620#define XTERM_SCROLLBAR 1 11575#define XTERM_SCROLLBAR 1
11621_ACEOF 11576_ACEOF
11622 11577
11623 scrolltypes="$scrolltypes xterm" 11578 scrolltypes="$scrolltypes xterm"
11624fi
11625if test x$support_scroll_plain = xyes; then
11626
11627cat >>confdefs.h <<\_ACEOF
11628#define PLAIN_SCROLLBAR 1
11629_ACEOF
11630
11631 scrolltypes="$scrolltypes plain"
11632fi 11579fi
11633if test x$support_pointer_blank = xyes; then 11580if test x$support_pointer_blank = xyes; then
11634 11581
11635cat >>confdefs.h <<\_ACEOF 11582cat >>confdefs.h <<\_ACEOF
11636#define POINTER_BLANK 1 11583#define POINTER_BLANK 1
11899_ACEOF 11846_ACEOF
11900program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11847program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11901rm -f conftest.sed 11848rm -f conftest.sed
11902 11849
11903 11850
11904
11905
11906
11907if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
11908 include_stdint_h="#include <stdint.h>"
11909else
11910 include_stdint_h="/* #include <stdint.h> */"
11911fi
11912if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
11913 include_sys_ioctl_h="#include <sys/ioctl.h>"
11914else
11915 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
11916fi
11917if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
11918 include_sys_strredir_h="#include <sys/strredir.h>"
11919else
11920 include_sys_strredir_h="/* #include <sys/strredir.h> */"
11921fi
11922
11923ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" 11851ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
11924 11852
11925cat >confcache <<\_ACEOF 11853cat >confcache <<\_ACEOF
11926# This file is a shell script that caches the results of configure 11854# This file is a shell script that caches the results of configure
11927# tests run on this system so they can be shared between configure 11855# tests run on this system so they can be shared between configure
11928# scripts and configure runs, see configure's option --config-cache. 11856# scripts and configure runs, see configure's option --config-cache.
12477 case $ac_config_target in 12405 case $ac_config_target in
12478 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12406 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
12479 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12407 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12480 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12408 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12481 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12409 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12482 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
12483 12410
12484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12411 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12485echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12412echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12486 { (exit 1); exit 1; }; };; 12413 { (exit 1); exit 1; }; };;
12487 esac 12414 esac
12622PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12549PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
12623IF_PERL!$IF_PERL$ac_delim 12550IF_PERL!$IF_PERL$ac_delim
12624PERL_O!$PERL_O$ac_delim 12551PERL_O!$PERL_O$ac_delim
12625AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12552AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
12626AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12553AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
12627include_stdint_h!$include_stdint_h$ac_delim
12628include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
12629include_sys_strredir_h!$include_sys_strredir_h$ac_delim
12630LIBOBJS!$LIBOBJS$ac_delim 12554LIBOBJS!$LIBOBJS$ac_delim
12631LTLIBOBJS!$LTLIBOBJS$ac_delim 12555LTLIBOBJS!$LTLIBOBJS$ac_delim
12632_ACEOF 12556_ACEOF
12633 12557
12634 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then 12558 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
12635 break 12559 break
12636 elif $ac_last_try; then 12560 elif $ac_last_try; then
12637 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12561 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12638echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12562echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12639 { (exit 1); exit 1; }; } 12563 { (exit 1); exit 1; }; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines