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.127 by root, Mon May 5 16:51:52 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
8626 8558
8627 8559
8628 8560
8629 8561
8630for ac_func in \ 8562for ac_func in \
8563 ttyslot \
8631 updwtmp \ 8564 updwtmp \
8632 updwtmpx \ 8565 updwtmpx \
8633 updlastlogx \
8634 8566
8635do 8567do
8636as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8568as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8637{ echo "$as_me:$LINENO: checking for $ac_func" >&5 8569{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8638echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 8570echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10059 9991
10060cat >>confdefs.h <<_ACEOF 9992cat >>confdefs.h <<_ACEOF
10061#define LASTLOG_FILE "$path_lastlog" 9993#define LASTLOG_FILE "$path_lastlog"
10062_ACEOF 9994_ACEOF
10063 9995
9996 if test -d "$path_lastlog"; then
9997
9998cat >>confdefs.h <<\_ACEOF
9999#define LASTLOG_IS_DIR 1
10000_ACEOF
10001
10002 fi
10064fi 10003fi
10065 10004
10066{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5 10005{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5
10067echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } 10006echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; }
10068if test "${path_lastlogx+set}" = set; then 10007if test "${path_lastlogx+set}" = set; then
10558 10497
10559 10498
10560 10499
10561 10500
10562 10501
10502
10563for ac_header in \ 10503for ac_header in \
10564 pty.h \ 10504 pty.h \
10565 util.h \ 10505 util.h \
10566 libutil.h \ 10506 libutil.h \
10567 sys/ioctl.h \ 10507 sys/ioctl.h \
10568 sys/stropts.h \ 10508 sys/stropts.h \
10509 stropts.h \
10569 10510
10570do 10511do
10571as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10512as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10572if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10513if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10573 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10514 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11596_ACEOF 11537_ACEOF
11597 11538
11598fi 11539fi
11599 11540
11600 11541
11542scrolltypes=plain
11543
11544cat >>confdefs.h <<\_ACEOF
11545#define PLAIN_SCROLLBAR 1
11546_ACEOF
11547
11548
11601if test x$support_scroll_rxvt = xyes; then 11549if test x$support_scroll_rxvt = xyes; then
11602 11550
11603cat >>confdefs.h <<\_ACEOF 11551cat >>confdefs.h <<\_ACEOF
11604#define RXVT_SCROLLBAR 1 11552#define RXVT_SCROLLBAR 1
11605_ACEOF 11553_ACEOF
11606 11554
11607 scrolltypes="rxvt" 11555 scrolltypes="$scrolltypes rxvt"
11608fi 11556fi
11609if test x$support_scroll_next = xyes; then 11557if test x$support_scroll_next = xyes; then
11610 11558
11611cat >>confdefs.h <<\_ACEOF 11559cat >>confdefs.h <<\_ACEOF
11612#define NEXT_SCROLLBAR 1 11560#define NEXT_SCROLLBAR 1
11619cat >>confdefs.h <<\_ACEOF 11567cat >>confdefs.h <<\_ACEOF
11620#define XTERM_SCROLLBAR 1 11568#define XTERM_SCROLLBAR 1
11621_ACEOF 11569_ACEOF
11622 11570
11623 scrolltypes="$scrolltypes xterm" 11571 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 11572fi
11633if test x$support_pointer_blank = xyes; then 11573if test x$support_pointer_blank = xyes; then
11634 11574
11635cat >>confdefs.h <<\_ACEOF 11575cat >>confdefs.h <<\_ACEOF
11636#define POINTER_BLANK 1 11576#define POINTER_BLANK 1
11899_ACEOF 11839_ACEOF
11900program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11840program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11901rm -f conftest.sed 11841rm -f conftest.sed
11902 11842
11903 11843
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" 11844ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
11924 11845
11925cat >confcache <<\_ACEOF 11846cat >confcache <<\_ACEOF
11926# This file is a shell script that caches the results of configure 11847# 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 11848# tests run on this system so they can be shared between configure
11928# scripts and configure runs, see configure's option --config-cache. 11849# scripts and configure runs, see configure's option --config-cache.
12477 case $ac_config_target in 12398 case $ac_config_target in
12478 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12399 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
12479 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12400 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12480 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12401 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12481 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12402 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12482 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
12483 12403
12484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12404 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12485echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12405echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12486 { (exit 1); exit 1; }; };; 12406 { (exit 1); exit 1; }; };;
12487 esac 12407 esac
12622PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12542PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
12623IF_PERL!$IF_PERL$ac_delim 12543IF_PERL!$IF_PERL$ac_delim
12624PERL_O!$PERL_O$ac_delim 12544PERL_O!$PERL_O$ac_delim
12625AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12545AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
12626AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12546AFTERIMAGE_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 12547LIBOBJS!$LIBOBJS$ac_delim
12631LTLIBOBJS!$LTLIBOBJS$ac_delim 12548LTLIBOBJS!$LTLIBOBJS$ac_delim
12632_ACEOF 12549_ACEOF
12633 12550
12634 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then 12551 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
12635 break 12552 break
12636 elif $ac_last_try; then 12553 elif $ac_last_try; then
12637 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12554 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12638echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12555echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12639 { (exit 1); exit 1; }; } 12556 { (exit 1); exit 1; }; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines