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

Comparing rxvt-unicode/configure (file contents):
Revision 1.15 by pcg, Wed Mar 3 04:07:45 2004 UTC vs.
Revision 1.21 by pcg, Sun Mar 14 23:14:37 2004 UTC

1029 --disable-libtool-lock avoid locking (might break parallel builds) 1029 --disable-libtool-lock avoid locking (might break parallel builds)
1030 --enable-everything enable standard non-multichoice features 1030 --enable-everything enable standard non-multichoice features
1031 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1032 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1034 --enable-combining enable composition of base and combining characters
1034 --enable-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1035 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1036 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1037 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1038 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1057 --enable-24bit enable support for using 24bit visuals if available 1058 --enable-24bit enable support for using 24bit visuals if available
1058 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1059 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1059 --enable-selectionscrolling enable scrolling during selections 1060 --enable-selectionscrolling enable scrolling during selections
1060 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1061 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1061 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1062 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1062 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1063 --disable-new-selection disable new mouse (xterm) selection style support
1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1063 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1065 --enable-dlmalloc enable Doug Lea's malloc - for production use 1064 --enable-dlmalloc enable Doug Lea's malloc - for production use
1066 NOTE: enable only one malloc package 1065 NOTE: enable only one malloc package
1067 --enable-smart-resize enable smart growth/shrink behaviour 1066 --enable-smart-resize enable smart growth/shrink behaviour
1068 --enable-256-color enable 256-color support 1067 --enable-256-color enable 256-color support
1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1074 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no 1075 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-pic try to use only PIC/non-PIC objects default=use both 1076 --with-pic try to use only PIC/non-PIC objects default=use both
1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1077 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all)
1079 --with-res-name=NAME use this as default resource name (default: urxvt) 1078 --with-res-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=NAME use this as the resource class (default: URxvt) 1079 --with-res-class=CLASS use this as the resource class (default: URxvt)
1081 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1080 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1082 --with-term=NAME set the terminal to NAME (default: rxvt) 1081 --with-term=NAME set the terminal to NAME (default: rxvt)
1083 --with-terminfo=PATH set the path to the terminfo tree to PATH 1082 --with-terminfo=PATH set the path to the terminfo tree to PATH
1084 --with-x use the X Window System 1083 --with-x use the X Window System
1085 --with-xpm-includes=DIR use XPM includes in DIR 1084 --with-xpm-includes=DIR use XPM includes in DIR
5034# Some flags need to be propagated to the compiler or linker for good 5033# Some flags need to be propagated to the compiler or linker for good
5035# libtool support. 5034# libtool support.
5036case "$host" in 5035case "$host" in
5037*-*-irix6*) 5036*-*-irix6*)
5038 # Find out which ABI we are using. 5037 # Find out which ABI we are using.
5039 echo '#line 5039 "configure"' > conftest.$ac_ext 5038 echo '#line 5038 "configure"' > conftest.$ac_ext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5 5040 (eval $ac_compile) 2>&5
5042 ac_status=$? 5041 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then 5043 (exit $ac_status); }; then
5585# builds. 5584# builds.
5586chmod -w . 5585chmod -w .
5587save_CFLAGS="$CFLAGS" 5586save_CFLAGS="$CFLAGS"
5588CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5587CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5589compiler_c_o=no 5588compiler_c_o=no
5590if { (eval echo configure:5590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5589if { (eval echo configure:5589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5591 # The compiler can only warn and ignore the option if not recognized 5590 # The compiler can only warn and ignore the option if not recognized
5592 # So say no if there are warnings 5591 # So say no if there are warnings
5593 if test -s out/conftest.err; then 5592 if test -s out/conftest.err; then
5594 compiler_c_o=no 5593 compiler_c_o=no
5595 else 5594 else
7201 lt_cv_dlopen_self=cross 7200 lt_cv_dlopen_self=cross
7202else 7201else
7203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7202 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7204 lt_status=$lt_dlunknown 7203 lt_status=$lt_dlunknown
7205 cat > conftest.$ac_ext <<EOF 7204 cat > conftest.$ac_ext <<EOF
7206#line 7206 "configure" 7205#line 7205 "configure"
7207#include "confdefs.h" 7206#include "confdefs.h"
7208 7207
7209#if HAVE_DLFCN_H 7208#if HAVE_DLFCN_H
7210#include <dlfcn.h> 7209#include <dlfcn.h>
7211#endif 7210#endif
7299 lt_cv_dlopen_self_static=cross 7298 lt_cv_dlopen_self_static=cross
7300else 7299else
7301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7302 lt_status=$lt_dlunknown 7301 lt_status=$lt_dlunknown
7303 cat > conftest.$ac_ext <<EOF 7302 cat > conftest.$ac_ext <<EOF
7304#line 7304 "configure" 7303#line 7303 "configure"
7305#include "confdefs.h" 7304#include "confdefs.h"
7306 7305
7307#if HAVE_DLFCN_H 7306#if HAVE_DLFCN_H
7308#include <dlfcn.h> 7307#include <dlfcn.h>
7309#endif 7308#endif
8037support_keepscrolling=no 8036support_keepscrolling=no
8038support_selectionscrolling=no 8037support_selectionscrolling=no
8039support_menubar=no 8038support_menubar=no
8040support_mousewheel=no 8039support_mousewheel=no
8041support_mouseslipwheel=no 8040support_mouseslipwheel=no
8042support_oldselection=no
8043support_utmp=no 8041support_utmp=no
8044support_wtmp=no 8042support_wtmp=no
8045support_lastlog=no 8043support_lastlog=no
8046support_cursor_blink=no 8044support_cursor_blink=no
8047support_text_blink=no 8045support_text_blink=no
8052support_scroll_plain=no 8050support_scroll_plain=no
8053support_xim=no 8051support_xim=no
8054support_xpm=no 8052support_xpm=no
8055support_xft=no 8053support_xft=no
8056support_unicode3=no 8054support_unicode3=no
8055support_combining=no
8057codesets= 8056codesets=
8058 8057
8059 8058
8060if test "x$enable_shared" = xyes; then 8059if test "x$enable_shared" = xyes; then
8061 8060
8079 support_selectionscrolling=yes 8078 support_selectionscrolling=yes
8080 support_lastlog=yes 8079 support_lastlog=yes
8081 support_menubar=yes 8080 support_menubar=yes
8082 support_mousewheel=yes 8081 support_mousewheel=yes
8083 support_mouseslipwheel=yes 8082 support_mouseslipwheel=yes
8084 support_oldselection=yes
8085 support_cursor_blink=yes 8083 support_cursor_blink=yes
8086 support_text_blink=yes 8084 support_text_blink=yes
8087 support_pointer_blank=yes 8085 support_pointer_blank=yes
8088 support_scroll_rxvt=yes 8086 support_scroll_rxvt=yes
8089 support_scroll_next=yes 8087 support_scroll_next=yes
8093 support_wtmp=yes 8091 support_wtmp=yes
8094 support_xim=yes 8092 support_xim=yes
8095 support_xpm=yes 8093 support_xpm=yes
8096 support_xft=yes 8094 support_xft=yes
8097 support_unicode3=yes 8095 support_unicode3=yes
8096 support_combining=yes
8098 codesets=all 8097 codesets=all
8099 fi 8098 fi
8100fi; 8099fi;
8101 8100
8102# Check whether --enable-unicode3 or --disable-unicode3 was given. 8101# Check whether --enable-unicode3 or --disable-unicode3 was given.
8105 if test x$enableval = xyes -o x$enableval = xno; then 8104 if test x$enableval = xyes -o x$enableval = xno; then
8106 support_unicode3=yes 8105 support_unicode3=yes
8107 fi 8106 fi
8108fi; 8107fi;
8109 8108
8109# Check whether --enable-combining or --disable-combining was given.
8110if test "${enable_combining+set}" = set; then
8111 enableval="$enable_combining"
8112 if test x$enableval = xyes -o x$enableval = xno; then
8113 support_combining=yes
8114 fi
8115fi;
8116
8110# Check whether --enable-xft or --disable-xft was given. 8117# Check whether --enable-xft or --disable-xft was given.
8111if test "${enable_xft+set}" = set; then 8118if test "${enable_xft+set}" = set; then
8112 enableval="$enable_xft" 8119 enableval="$enable_xft"
8113 if test x$enableval = xyes -o x$enableval = xno; then 8120 if test x$enableval = xyes -o x$enableval = xno; then
8114 support_xft=yes 8121 support_xft=yes
8409# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8416# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8410if test "${enable_slipwheeling+set}" = set; then 8417if test "${enable_slipwheeling+set}" = set; then
8411 enableval="$enable_slipwheeling" 8418 enableval="$enable_slipwheeling"
8412 if test x$enableval = xyes -o x$enableval = xno; then 8419 if test x$enableval = xyes -o x$enableval = xno; then
8413 support_mouseslipwheel=$enableval 8420 support_mouseslipwheel=$enableval
8414 fi
8415fi;
8416
8417# Check whether --enable-old-selection or --disable-old-selection was given.
8418if test "${enable_old_selection+set}" = set; then
8419 enableval="$enable_old_selection"
8420 if test x$enableval = xyes -o x$enableval = xno; then
8421 support_oldselection=$enableval
8422 fi
8423fi;
8424
8425# Check whether --enable-new-selection or --disable-new-selection was given.
8426if test "${enable_new_selection+set}" = set; then
8427 enableval="$enable_new_selection"
8428 if test x$enableval = xno; then
8429
8430cat >>confdefs.h <<\_ACEOF
8431#define NO_NEW_SELECTION 1
8432_ACEOF
8433
8434 fi 8421 fi
8435fi; 8422fi;
8436 8423
8437# Check whether --enable-dmalloc or --disable-dmalloc was given. 8424# Check whether --enable-dmalloc or --disable-dmalloc was given.
8438if test "${enable_dmalloc+set}" = set; then 8425if test "${enable_dmalloc+set}" = set; then
15859/* confdefs.h. */ 15846/* confdefs.h. */
15860_ACEOF 15847_ACEOF
15861cat confdefs.h >>conftest.$ac_ext 15848cat confdefs.h >>conftest.$ac_ext
15862cat >>conftest.$ac_ext <<_ACEOF 15849cat >>conftest.$ac_ext <<_ACEOF
15863/* end confdefs.h. */ 15850/* end confdefs.h. */
15864#include <locale.h> 15851#include <clocale>
15865int 15852int
15866main () 15853main ()
15867{ 15854{
15868setlocale(LC_CTYPE, ""); 15855setlocale(LC_CTYPE, "");
15869 ; 15856 ;
15983cat confdefs.h >>conftest.$ac_ext 15970cat confdefs.h >>conftest.$ac_ext
15984cat >>conftest.$ac_ext <<_ACEOF 15971cat >>conftest.$ac_ext <<_ACEOF
15985/* end confdefs.h. */ 15972/* end confdefs.h. */
15986#define _GNU_SOURCE 15973#define _GNU_SOURCE
15987#ifdef HAVE_STDLIB_H 15974#ifdef HAVE_STDLIB_H
15988# include <stdlib.h> 15975# include <cstdlib>
15989#endif 15976#endif
15990int 15977int
15991main () 15978main ()
15992{ 15979{
15993(void)getpt(); 15980(void)getpt();
16289cat >>confdefs.h <<\_ACEOF 16276cat >>confdefs.h <<\_ACEOF
16290#define MOUSE_SLIP_WHEELING 1 16277#define MOUSE_SLIP_WHEELING 1
16291_ACEOF 16278_ACEOF
16292 16279
16293fi 16280fi
16294if test x$support_oldselection = xno; then
16295
16296cat >>confdefs.h <<\_ACEOF
16297#define NO_OLD_SELECTION 1
16298_ACEOF
16299
16300fi
16301if test x$support_utmp = xyes; then 16281if test x$support_utmp = xyes; then
16302 16282
16303cat >>confdefs.h <<\_ACEOF 16283cat >>confdefs.h <<\_ACEOF
16304#define UTMP_SUPPORT 1 16284#define UTMP_SUPPORT 1
16305_ACEOF 16285_ACEOF
16393cat >>confdefs.h <<\_ACEOF 16373cat >>confdefs.h <<\_ACEOF
16394#define UNICODE_3 1 16374#define UNICODE_3 1
16395_ACEOF 16375_ACEOF
16396 16376
16397fi 16377fi
16378if test x$support_combining = xyes; then
16379
16380cat >>confdefs.h <<\_ACEOF
16381#define ENABLE_COMBINING 1
16382_ACEOF
16383
16384fi
16398if test x$codesets = xall; then 16385if test x$codesets = xall; then
16399 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16386 codesets=jp,jp-ext,kr,cn,cn-ext
16400fi 16387fi
16401for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do 16388for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16402 16389
16403cat >>confdefs.h <<\_ACEOF 16390cat >>confdefs.h <<\_ACEOF
16404#define ENCODING_EU 1 16391#define ENCODING_EU 1
16494 include_stdint_h="#include <stdint.h>" 16481 include_stdint_h="#include <stdint.h>"
16495else 16482else
16496 include_stdint_h="/* #include <stdint.h> */" 16483 include_stdint_h="/* #include <stdint.h> */"
16497fi 16484fi
16498if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16485if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16499 include_stdarg_h="#include <stdarg.h>" 16486 include_stdarg_h="#include <cstdarg>"
16500else 16487else
16501 include_stdarg_h="/* #include <stdarg.h> */" 16488 include_stdarg_h="/* #include <cstdarg> */"
16502fi 16489fi
16503if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16490if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16504 include_stdlib_h="#include <stdlib.h>" 16491 include_stdlib_h="#include <cstdlib>"
16505else 16492else
16506 include_stdlib_h="/* #include <stdlib.h> */" 16493 include_stdlib_h="/* #include <cstdlib> */"
16507fi 16494fi
16508if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16495if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16509 include_unistd_h="#include <unistd.h>" 16496 include_unistd_h="#include <unistd.h>"
16510else 16497else
16511 include_unistd_h="/* #include <unistd.h> */" 16498 include_unistd_h="/* #include <unistd.h> */"
16512fi 16499fi
16513if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16500if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16514 include_string_h="#include <string.h>" 16501 include_string_h="#include <cstring>"
16515else 16502else
16516 include_string_h="/* #include <string.h> */" 16503 include_string_h="/* #include <cstring> */"
16517fi 16504fi
16518if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16505if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16519 include_fcntl_h="#include <fcntl.h>" 16506 include_fcntl_h="#include <fcntl.h>"
16520else 16507else
16521 include_fcntl_h="/* #include <fcntl.h> */" 16508 include_fcntl_h="/* #include <fcntl.h> */"
18013echo " 18000echo "
18014The following are set in config.h 18001The following are set in config.h
18015" 18002"
18016echo " pty/tty type: "$rxvt_cv_ptys 18003echo " pty/tty type: "$rxvt_cv_ptys
18017if test x$support_utmp != xyes; then 18004if test x$support_utmp != xyes; then
18018 echo " utmp support: disabled 18005 echo " utmp support: disabled"
18019" 18006 echo
18020else 18007else
18021 echo " utmp support: enabled 18008 echo " utmp support: enabled
18022 utmp file: $rxvt_cv_path_utmp 18009 utmp file: $rxvt_cv_path_utmp
18023 utmpx file: $rxvt_cv_path_utmpx 18010 utmpx file: $rxvt_cv_path_utmpx
18024 wtmp file: $rxvt_cv_path_wtmp 18011 wtmp file: $rxvt_cv_path_wtmp
18025 wtmpx file: $rxvt_cv_path_wtmpx 18012 wtmpx file: $rxvt_cv_path_wtmpx
18026 lastlog file: $rxvt_cv_path_lastlog 18013 lastlog file: $rxvt_cv_path_lastlog
18027 ttys/ttytab file: $rxvt_cv_path_ttytab 18014 ttys/ttytab file: $rxvt_cv_path_ttytab"
18028" 18015 echo
18029fi 18016fi
18030if test x$term != x; then 18017if test x$term != x; then
18031 echo " set TERM to: $term 18018 echo " set TERM to: $term"
18032"
18033fi 18019fi
18034if test x$terminfo != x; then 18020if test x$terminfo != x; then
18035 echo " set TERMINFO to: $terminfo 18021 echo " set TERMINFO to: $terminfo"
18036"
18037fi 18022fi
18023echo " default resource name: $RESNAME"
18024echo " resource class: $RESCLASS"
18025if test x$RESFALLBACK != x; then
18026 echo " resource class fallback: $RESFALLBACK"
18027fi
18028echo
18038if test x$rxvt_cv_ptys = xUNKNOWN; then 18029if test x$rxvt_cv_ptys = xUNKNOWN; then
18039 echo ".----------------------------------------------------------------." 18030 echo ".----------------------------------------------------------------."
18040 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18031 echo ". WARNING: could not determine pty/tty type. Do not build until ."
18041 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18032 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
18042 echo ".----------------------------------------------------------------." 18033 echo ".----------------------------------------------------------------."
18056 echo ". WARNING: --enable-xim was specified however the locale support ." 18047 echo ". WARNING: --enable-xim was specified however the locale support ."
18057 echo ". functions could not be found. ." 18048 echo ". functions could not be found. ."
18058 echo ". XIM is now being DISABLED! ." 18049 echo ". XIM is now being DISABLED! ."
18059 echo ".----------------------------------------------------------------." 18050 echo ".----------------------------------------------------------------."
18060fi 18051fi
18052
18061echo " *** Please check src/feature.h for further options *** 18053echo " *** Please check src/feature.h for further options ***"
18062" 18054echo
18055
18056echo ".----------------------------------------------------------------."
18057echo ". NOTE: most features are disabled by default, try ."
18058echo ". configure --help to get an idea of the optional features ."
18059echo ".----------------------------------------------------------------."
18060echo
18061

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines