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

Comparing rxvt-unicode/configure (file contents):
Revision 1.51 by root, Wed Feb 16 20:32:05 2005 UTC vs.
Revision 1.55 by root, Tue Oct 25 20:16:41 2005 UTC

904 --enable-slipwheeling enable slip wheel scrolling (requires previous) 904 --enable-slipwheeling enable slip wheel scrolling (requires previous)
905 --enable-dmalloc enable Gray Watson's malloc - for debugging use 905 --enable-dmalloc enable Gray Watson's malloc - for debugging use
906 --enable-dlmalloc enable Doug Lea's malloc - for production use 906 --enable-dlmalloc enable Doug Lea's malloc - for production use
907 NOTE: enable only one malloc package 907 NOTE: enable only one malloc package
908 --enable-smart-resize enable smart growth/shrink behaviour 908 --enable-smart-resize enable smart growth/shrink behaviour
909 --enable-cursor-blink enable blinking cursor
910 --enable-text-blink enable blinking text 909 --enable-text-blink enable blinking text
911 --enable-pointer-blank enable pointer blank when typing or inactive pointer 910 --enable-pointer-blank enable pointer blank when typing or inactive pointer
912 911
913Optional Packages: 912Optional Packages:
914 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
3818fi 3817fi
3819 3818
3820 3819
3821 3820
3822MALLOC_TYPE=S 3821MALLOC_TYPE=S
3822
3823support_addstrings=no 3823support_addstrings=no
3824support_frills=no 3824support_frills=yes
3825support_inheritpixmap=no 3825support_inheritpixmap=no
3826support_tinting=no 3826support_tinting=yes
3827support_fading=no 3827support_fading=yes
3828support_keepscrolling=no 3828support_keepscrolling=yes
3829support_selectionscrolling=no 3829support_selectionscrolling=yes
3830support_menubar=no 3830support_menubar=no
3831support_mousewheel=no 3831support_mousewheel=yes
3832support_mouseslipwheel=no 3832support_mouseslipwheel=yes
3833support_utmp=no 3833support_utmp=yes
3834support_wtmp=no 3834support_wtmp=yes
3835support_lastlog=no 3835support_lastlog=yes
3836support_cursor_blink=no
3837support_text_blink=no 3836support_text_blink=yes
3838support_pointer_blank=no 3837support_pointer_blank=yes
3839support_scroll_rxvt=no 3838support_scroll_rxvt=yes
3840support_scroll_next=no 3839support_scroll_next=yes
3841support_scroll_xterm=no 3840support_scroll_xterm=yes
3842support_scroll_plain=no 3841support_scroll_plain=yes
3843support_xim=no 3842support_xim=yes
3844support_xpm=no 3843support_xpm=no
3845support_xft=no 3844support_xft=yes
3846support_unicode3=no 3845support_unicode3=no
3847support_combining=no 3846support_combining=yes
3848support_8bitctrls=no 3847support_8bitctrls=no
3849support_iso14755=no 3848support_iso14755=yes
3850support_styles=no 3849support_styles=yes
3851codesets= 3850codesets=all
3852 3851
3853 3852
3854if test "x$enable_shared" = xyes; then 3853if test "x$enable_shared" = xyes; then
3855 3854
3856cat >>confdefs.h <<\_ACEOF 3855cat >>confdefs.h <<\_ACEOF
3862 3861
3863 3862
3864# Check whether --enable-everything or --disable-everything was given. 3863# Check whether --enable-everything or --disable-everything was given.
3865if test "${enable_everything+set}" = set; then 3864if test "${enable_everything+set}" = set; then
3866 enableval="$enable_everything" 3865 enableval="$enable_everything"
3866
3867 if test x$enableval = xno; then
3868 support_24bit=no
3869 support_frills=no
3870 support_inheritpixmap=no
3871 support_tinting=no
3872 support_fading=no
3873 support_keepscrolling=no
3874 support_selectionscrolling=no
3875 support_lastlog=no
3876 support_menubar=no
3877 support_mousewheel=no
3878 support_mouseslipwheel=no
3879 support_text_blink=no
3880 support_pointer_blank=no
3881 support_scroll_rxvt=no
3882 support_scroll_next=no
3883 support_scroll_xterm=no
3884 support_scroll_plain=no
3885 support_utmp=no
3886 support_wtmp=no
3887 support_xim=no
3888 support_xpm=no
3889 support_xft=no
3890 support_unicode3=no
3891 support_combining=no
3892 support_8bitctrls=no
3893 support_iso14755=no
3894 support_styles=no
3895 codesets=
3896 fi
3867 if test x$enableval = xyes; then 3897 if test x$enableval = xyes; then
3868 support_24bit=yes 3898 support_24bit=yes
3869 support_frills=yes 3899 support_frills=yes
3870 support_inheritpixmap=yes 3900 support_inheritpixmap=yes
3871 support_tinting=yes 3901 support_tinting=yes
3872 support_fading=yes 3902 support_fading=yes
3873 support_keepscrolling=yes 3903 support_keepscrolling=yes
3874 support_selectionscrolling=yes 3904 support_selectionscrolling=yes
3875 support_lastlog=yes 3905 support_lastlog=yes
3876 support_menubar=yes 3906 support_menubar=yes
3877 support_mousewheel=yes 3907 support_mousewheel=yes
3878 support_mouseslipwheel=yes 3908 support_mouseslipwheel=yes
3879 support_cursor_blink=yes
3880 support_text_blink=yes 3909 support_text_blink=yes
3881 support_pointer_blank=yes 3910 support_pointer_blank=yes
3882 support_scroll_rxvt=yes 3911 support_scroll_rxvt=yes
3883 support_scroll_next=yes 3912 support_scroll_next=yes
3884 support_scroll_xterm=yes 3913 support_scroll_xterm=yes
3885 support_scroll_plain=yes 3914 support_scroll_plain=yes
3886 support_utmp=yes 3915 support_utmp=yes
3887 support_wtmp=yes 3916 support_wtmp=yes
3888 support_xim=yes 3917 support_xim=yes
3889 support_xpm=yes 3918 support_xpm=yes
3890 support_xft=yes 3919 support_xft=yes
3891 support_unicode3=yes 3920 support_unicode3=yes
3892 support_combining=yes 3921 support_combining=yes
3893 #support_8bitctrls=yes 3922 #support_8bitctrls=yes
3894 support_iso14755=yes 3923 support_iso14755=yes
3895 support_styles=yes 3924 support_styles=yes
3896 codesets=all 3925 codesets=all
3897 fi 3926 fi
3927
3898fi; 3928fi;
3899 3929
3900# Check whether --enable-unicode3 or --disable-unicode3 was given. 3930# Check whether --enable-unicode3 or --disable-unicode3 was given.
3901if test "${enable_unicode3+set}" = set; then 3931if test "${enable_unicode3+set}" = set; then
3902 enableval="$enable_unicode3" 3932 enableval="$enable_unicode3"
4286 4316
4287cat >>confdefs.h <<\_ACEOF 4317cat >>confdefs.h <<\_ACEOF
4288#define SMART_RESIZE 1 4318#define SMART_RESIZE 1
4289_ACEOF 4319_ACEOF
4290 4320
4291 fi
4292fi;
4293
4294# Check whether --enable-cursor-blink or --disable-cursor-blink was given.
4295if test "${enable_cursor_blink+set}" = set; then
4296 enableval="$enable_cursor_blink"
4297 if test x$enableval = xyes -o x$enableval = xno; then
4298 support_cursor_blink=$enableval
4299 fi 4321 fi
4300fi; 4322fi;
4301 4323
4302# Check whether --enable-text-blink or --disable-text-blink was given. 4324# Check whether --enable-text-blink or --disable-text-blink was given.
4303if test "${enable_text_blink+set}" = set; then 4325if test "${enable_text_blink+set}" = set; then
4813/* confdefs.h. */ 4835/* confdefs.h. */
4814_ACEOF 4836_ACEOF
4815cat confdefs.h >>conftest.$ac_ext 4837cat confdefs.h >>conftest.$ac_ext
4816cat >>conftest.$ac_ext <<_ACEOF 4838cat >>conftest.$ac_ext <<_ACEOF
4817/* end confdefs.h. */ 4839/* end confdefs.h. */
4818#include <X11/Intrinsic.h> 4840#include <X11/Xlib.h>
4819_ACEOF 4841_ACEOF
4820if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4842if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4822 ac_status=$? 4844 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err 4845 grep -v '^ *+' conftest.er1 >conftest.err
4840else 4862else
4841 echo "$as_me: failed program was:" >&5 4863 echo "$as_me: failed program was:" >&5
4842sed 's/^/| /' conftest.$ac_ext >&5 4864sed 's/^/| /' conftest.$ac_ext >&5
4843 4865
4844 for ac_dir in $ac_x_header_dirs; do 4866 for ac_dir in $ac_x_header_dirs; do
4845 if test -r "$ac_dir/X11/Intrinsic.h"; then 4867 if test -r "$ac_dir/X11/Xlib.h"; then
4846 ac_x_includes=$ac_dir 4868 ac_x_includes=$ac_dir
4847 break 4869 break
4848 fi 4870 fi
4849done 4871done
4850fi 4872fi
4854if test "$ac_x_libraries" = no; then 4876if test "$ac_x_libraries" = no; then
4855 # Check for the libraries. 4877 # Check for the libraries.
4856 # See if we find them without any special options. 4878 # See if we find them without any special options.
4857 # Don't add to $LIBS permanently. 4879 # Don't add to $LIBS permanently.
4858 ac_save_LIBS=$LIBS 4880 ac_save_LIBS=$LIBS
4859 LIBS="-lXt $LIBS" 4881 LIBS="-lX11 $LIBS"
4860 cat >conftest.$ac_ext <<_ACEOF 4882 cat >conftest.$ac_ext <<_ACEOF
4861/* confdefs.h. */ 4883/* confdefs.h. */
4862_ACEOF 4884_ACEOF
4863cat confdefs.h >>conftest.$ac_ext 4885cat confdefs.h >>conftest.$ac_ext
4864cat >>conftest.$ac_ext <<_ACEOF 4886cat >>conftest.$ac_ext <<_ACEOF
4865/* end confdefs.h. */ 4887/* end confdefs.h. */
4866#include <X11/Intrinsic.h> 4888#include <X11/Xlib.h>
4867int 4889int
4868main () 4890main ()
4869{ 4891{
4870XtMalloc (0) 4892XrmInitialize ()
4871 ; 4893 ;
4872 return 0; 4894 return 0;
4873} 4895}
4874_ACEOF 4896_ACEOF
4875rm -f conftest.$ac_objext conftest$ac_exeext 4897rm -f conftest.$ac_objext conftest$ac_exeext
4903LIBS=$ac_save_LIBS 4925LIBS=$ac_save_LIBS
4904for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4926for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4905do 4927do
4906 # Don't even attempt the hair of trying to link an X program! 4928 # Don't even attempt the hair of trying to link an X program!
4907 for ac_extension in a so sl; do 4929 for ac_extension in a so sl; do
4908 if test -r $ac_dir/libXt.$ac_extension; then 4930 if test -r $ac_dir/libX11.$ac_extension; then
4909 ac_x_libraries=$ac_dir 4931 ac_x_libraries=$ac_dir
4910 break 2 4932 break 2
4911 fi 4933 fi
4912 done 4934 done
4913done 4935done
9659 9681
9660 9682
9661 9683
9662 9684
9663 9685
9686
9664for ac_func in \ 9687for ac_func in \
9665 atexit \ 9688 atexit \
9666 revoke \ 9689 revoke \
9667 unsetenv \ 9690 unsetenv \
9668 setutent \ 9691 setutent \
9677 unlockpt \ 9700 unlockpt \
9678 isastream \ 9701 isastream \
9679 on_exit \ 9702 on_exit \
9680 nanosleep \ 9703 nanosleep \
9681 updwtmp \ 9704 updwtmp \
9705 updwtmpx \
9682 ttyslot \ 9706 ttyslot \
9683 9707
9684do 9708do
9685as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9709as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9686echo "$as_me:$LINENO: checking for $ac_func" >&5 9710echo "$as_me:$LINENO: checking for $ac_func" >&5
10366#define HAVE_UTMPX_HOST 1 10390#define HAVE_UTMPX_HOST 1
10367_ACEOF 10391_ACEOF
10368 10392
10369fi 10393fi
10370 10394
10371fi 10395echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
10396echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
10397if test "${rxvt_cv_struct_utmpx_session+set}" = set; then
10398 echo $ECHO_N "(cached) $ECHO_C" >&6
10399else
10400 cat >conftest.$ac_ext <<_ACEOF
10401/* confdefs.h. */
10402_ACEOF
10403cat confdefs.h >>conftest.$ac_ext
10404cat >>conftest.$ac_ext <<_ACEOF
10405/* end confdefs.h. */
10406#include <sys/types.h>
10407#include <utmpx.h>
10408int
10409main ()
10410{
10411struct utmpx utx; utx.ut_session;
10412 ;
10413 return 0;
10414}
10415_ACEOF
10416rm -f conftest.$ac_objext
10417if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10418 (eval $ac_compile) 2>conftest.er1
10419 ac_status=$?
10420 grep -v '^ *+' conftest.er1 >conftest.err
10421 rm -f conftest.er1
10422 cat conftest.err >&5
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); } &&
10425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10428 ac_status=$?
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; } &&
10431 { ac_try='test -s conftest.$ac_objext'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then
10437 rxvt_cv_struct_utmpx_session=yes
10438else
10439 echo "$as_me: failed program was:" >&5
10440sed 's/^/| /' conftest.$ac_ext >&5
10372 10441
10442rxvt_cv_struct_utmpx_session=no
10443fi
10444rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10445fi
10446echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5
10447echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6
10448if test x$rxvt_cv_struct_utmpx_session = xyes; then
10449
10450cat >>confdefs.h <<\_ACEOF
10451#define HAVE_UTMPX_SESSION 1
10452_ACEOF
10453
10454fi
10455
10456fi
10373 10457
10374 10458
10375echo "$as_me:$LINENO: checking for struct lastlog" >&5 10459echo "$as_me:$LINENO: checking for struct lastlog" >&5
10376echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10460echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
10377if test "${rxvt_cv_struct_lastlog+set}" = set; then 10461if test "${rxvt_cv_struct_lastlog+set}" = set; then
11904fi 11988fi
11905if test x$support_pointer_blank = xyes; then 11989if test x$support_pointer_blank = xyes; then
11906 11990
11907cat >>confdefs.h <<\_ACEOF 11991cat >>confdefs.h <<\_ACEOF
11908#define POINTER_BLANK 1 11992#define POINTER_BLANK 1
11909_ACEOF
11910
11911fi
11912if test x$support_cursor_blink = xyes; then
11913
11914cat >>confdefs.h <<\_ACEOF
11915#define CURSOR_BLINK 1
11916_ACEOF 11993_ACEOF
11917 11994
11918fi 11995fi
11919if test x$support_text_blink = xyes; then 11996if test x$support_text_blink = xyes; then
11920 11997
13356 echo ". functions could not be found. ." 13433 echo ". functions could not be found. ."
13357 echo ". XIM is now being DISABLED! ." 13434 echo ". XIM is now being DISABLED! ."
13358 echo ".----------------------------------------------------------------." 13435 echo ".----------------------------------------------------------------."
13359fi 13436fi
13360 13437
13361echo " *** Please check src/feature.h for further options ***" 13438echo " *** Optionally check src/feature.h for further options ***"
13362echo 13439echo
13363 13440
13364echo ".----------------------------------------------------------------." 13441echo ".----------------------------------------------------------------."
13365echo ". NOTE: most features are disabled by default, try ." 13442echo ". NOTE: some features are disabled by default, try ."
13366echo ". configure --help to get an idea of the optional features ." 13443echo ". configure --help to get an idea of the optional features, ."
13444echo ". or read ./README.configure ."
13445echo ". ."
13446echo ". The script ./reconf gives a reasonable baseline, try it if ."
13447echo ". you do not want to read documentation and still want some ."
13448echo ". useful features. ."
13367echo ".----------------------------------------------------------------." 13449echo ".----------------------------------------------------------------."
13368echo 13450echo
13369 13451

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines