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.22 by pcg, Wed Mar 17 03:07:35 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
3280LINKER=$LINKER 3279LINKER=$LINKER
3281 3280
3282 3281
3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3282CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3284 3283
3285if test x$GXX = xyes; then
3286 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3287fi
3288 3284
3289ac_ext=cc 3285ac_ext=cc
3290ac_cpp='$CXXCPP $CPPFLAGS' 3286ac_cpp='$CXXCPP $CPPFLAGS'
3291ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3287ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3288ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5034# Some flags need to be propagated to the compiler or linker for good 5030# Some flags need to be propagated to the compiler or linker for good
5035# libtool support. 5031# libtool support.
5036case "$host" in 5032case "$host" in
5037*-*-irix6*) 5033*-*-irix6*)
5038 # Find out which ABI we are using. 5034 # Find out which ABI we are using.
5039 echo '#line 5039 "configure"' > conftest.$ac_ext 5035 echo '#line 5035 "configure"' > conftest.$ac_ext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5 5037 (eval $ac_compile) 2>&5
5042 ac_status=$? 5038 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then 5040 (exit $ac_status); }; then
5585# builds. 5581# builds.
5586chmod -w . 5582chmod -w .
5587save_CFLAGS="$CFLAGS" 5583save_CFLAGS="$CFLAGS"
5588CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5584CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5589compiler_c_o=no 5585compiler_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 5586if { (eval echo configure:5586: \"$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 5587 # The compiler can only warn and ignore the option if not recognized
5592 # So say no if there are warnings 5588 # So say no if there are warnings
5593 if test -s out/conftest.err; then 5589 if test -s out/conftest.err; then
5594 compiler_c_o=no 5590 compiler_c_o=no
5595 else 5591 else
7201 lt_cv_dlopen_self=cross 7197 lt_cv_dlopen_self=cross
7202else 7198else
7203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7204 lt_status=$lt_dlunknown 7200 lt_status=$lt_dlunknown
7205 cat > conftest.$ac_ext <<EOF 7201 cat > conftest.$ac_ext <<EOF
7206#line 7206 "configure" 7202#line 7202 "configure"
7207#include "confdefs.h" 7203#include "confdefs.h"
7208 7204
7209#if HAVE_DLFCN_H 7205#if HAVE_DLFCN_H
7210#include <dlfcn.h> 7206#include <dlfcn.h>
7211#endif 7207#endif
7299 lt_cv_dlopen_self_static=cross 7295 lt_cv_dlopen_self_static=cross
7300else 7296else
7301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7302 lt_status=$lt_dlunknown 7298 lt_status=$lt_dlunknown
7303 cat > conftest.$ac_ext <<EOF 7299 cat > conftest.$ac_ext <<EOF
7304#line 7304 "configure" 7300#line 7300 "configure"
7305#include "confdefs.h" 7301#include "confdefs.h"
7306 7302
7307#if HAVE_DLFCN_H 7303#if HAVE_DLFCN_H
7308#include <dlfcn.h> 7304#include <dlfcn.h>
7309#endif 7305#endif
8037support_keepscrolling=no 8033support_keepscrolling=no
8038support_selectionscrolling=no 8034support_selectionscrolling=no
8039support_menubar=no 8035support_menubar=no
8040support_mousewheel=no 8036support_mousewheel=no
8041support_mouseslipwheel=no 8037support_mouseslipwheel=no
8042support_oldselection=no
8043support_utmp=no 8038support_utmp=no
8044support_wtmp=no 8039support_wtmp=no
8045support_lastlog=no 8040support_lastlog=no
8046support_cursor_blink=no 8041support_cursor_blink=no
8047support_text_blink=no 8042support_text_blink=no
8052support_scroll_plain=no 8047support_scroll_plain=no
8053support_xim=no 8048support_xim=no
8054support_xpm=no 8049support_xpm=no
8055support_xft=no 8050support_xft=no
8056support_unicode3=no 8051support_unicode3=no
8052support_combining=no
8057codesets= 8053codesets=
8058 8054
8059 8055
8060if test "x$enable_shared" = xyes; then 8056if test "x$enable_shared" = xyes; then
8061 8057
8079 support_selectionscrolling=yes 8075 support_selectionscrolling=yes
8080 support_lastlog=yes 8076 support_lastlog=yes
8081 support_menubar=yes 8077 support_menubar=yes
8082 support_mousewheel=yes 8078 support_mousewheel=yes
8083 support_mouseslipwheel=yes 8079 support_mouseslipwheel=yes
8084 support_oldselection=yes
8085 support_cursor_blink=yes 8080 support_cursor_blink=yes
8086 support_text_blink=yes 8081 support_text_blink=yes
8087 support_pointer_blank=yes 8082 support_pointer_blank=yes
8088 support_scroll_rxvt=yes 8083 support_scroll_rxvt=yes
8089 support_scroll_next=yes 8084 support_scroll_next=yes
8093 support_wtmp=yes 8088 support_wtmp=yes
8094 support_xim=yes 8089 support_xim=yes
8095 support_xpm=yes 8090 support_xpm=yes
8096 support_xft=yes 8091 support_xft=yes
8097 support_unicode3=yes 8092 support_unicode3=yes
8093 support_combining=yes
8098 codesets=all 8094 codesets=all
8099 fi 8095 fi
8100fi; 8096fi;
8101 8097
8102# Check whether --enable-unicode3 or --disable-unicode3 was given. 8098# Check whether --enable-unicode3 or --disable-unicode3 was given.
8105 if test x$enableval = xyes -o x$enableval = xno; then 8101 if test x$enableval = xyes -o x$enableval = xno; then
8106 support_unicode3=yes 8102 support_unicode3=yes
8107 fi 8103 fi
8108fi; 8104fi;
8109 8105
8106# Check whether --enable-combining or --disable-combining was given.
8107if test "${enable_combining+set}" = set; then
8108 enableval="$enable_combining"
8109 if test x$enableval = xyes -o x$enableval = xno; then
8110 support_combining=yes
8111 fi
8112fi;
8113
8110# Check whether --enable-xft or --disable-xft was given. 8114# Check whether --enable-xft or --disable-xft was given.
8111if test "${enable_xft+set}" = set; then 8115if test "${enable_xft+set}" = set; then
8112 enableval="$enable_xft" 8116 enableval="$enable_xft"
8113 if test x$enableval = xyes -o x$enableval = xno; then 8117 if test x$enableval = xyes -o x$enableval = xno; then
8114 support_xft=yes 8118 support_xft=yes
8409# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8413# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8410if test "${enable_slipwheeling+set}" = set; then 8414if test "${enable_slipwheeling+set}" = set; then
8411 enableval="$enable_slipwheeling" 8415 enableval="$enable_slipwheeling"
8412 if test x$enableval = xyes -o x$enableval = xno; then 8416 if test x$enableval = xyes -o x$enableval = xno; then
8413 support_mouseslipwheel=$enableval 8417 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 8418 fi
8435fi; 8419fi;
8436 8420
8437# Check whether --enable-dmalloc or --disable-dmalloc was given. 8421# Check whether --enable-dmalloc or --disable-dmalloc was given.
8438if test "${enable_dmalloc+set}" = set; then 8422if test "${enable_dmalloc+set}" = set; then
15859/* confdefs.h. */ 15843/* confdefs.h. */
15860_ACEOF 15844_ACEOF
15861cat confdefs.h >>conftest.$ac_ext 15845cat confdefs.h >>conftest.$ac_ext
15862cat >>conftest.$ac_ext <<_ACEOF 15846cat >>conftest.$ac_ext <<_ACEOF
15863/* end confdefs.h. */ 15847/* end confdefs.h. */
15864#include <locale.h> 15848#include <clocale>
15865int 15849int
15866main () 15850main ()
15867{ 15851{
15868setlocale(LC_CTYPE, ""); 15852setlocale(LC_CTYPE, "");
15869 ; 15853 ;
15983cat confdefs.h >>conftest.$ac_ext 15967cat confdefs.h >>conftest.$ac_ext
15984cat >>conftest.$ac_ext <<_ACEOF 15968cat >>conftest.$ac_ext <<_ACEOF
15985/* end confdefs.h. */ 15969/* end confdefs.h. */
15986#define _GNU_SOURCE 15970#define _GNU_SOURCE
15987#ifdef HAVE_STDLIB_H 15971#ifdef HAVE_STDLIB_H
15988# include <stdlib.h> 15972# include <cstdlib>
15989#endif 15973#endif
15990int 15974int
15991main () 15975main ()
15992{ 15976{
15993(void)getpt(); 15977(void)getpt();
16289cat >>confdefs.h <<\_ACEOF 16273cat >>confdefs.h <<\_ACEOF
16290#define MOUSE_SLIP_WHEELING 1 16274#define MOUSE_SLIP_WHEELING 1
16291_ACEOF 16275_ACEOF
16292 16276
16293fi 16277fi
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 16278if test x$support_utmp = xyes; then
16302 16279
16303cat >>confdefs.h <<\_ACEOF 16280cat >>confdefs.h <<\_ACEOF
16304#define UTMP_SUPPORT 1 16281#define UTMP_SUPPORT 1
16305_ACEOF 16282_ACEOF
16393cat >>confdefs.h <<\_ACEOF 16370cat >>confdefs.h <<\_ACEOF
16394#define UNICODE_3 1 16371#define UNICODE_3 1
16395_ACEOF 16372_ACEOF
16396 16373
16397fi 16374fi
16375if test x$support_combining = xyes; then
16376
16377cat >>confdefs.h <<\_ACEOF
16378#define ENABLE_COMBINING 1
16379_ACEOF
16380
16381fi
16398if test x$codesets = xall; then 16382if test x$codesets = xall; then
16399 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16383 codesets=jp,jp-ext,kr,cn,cn-ext
16400fi 16384fi
16401for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do 16385for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16402 16386
16403cat >>confdefs.h <<\_ACEOF 16387cat >>confdefs.h <<\_ACEOF
16404#define ENCODING_EU 1 16388#define ENCODING_EU 1
16494 include_stdint_h="#include <stdint.h>" 16478 include_stdint_h="#include <stdint.h>"
16495else 16479else
16496 include_stdint_h="/* #include <stdint.h> */" 16480 include_stdint_h="/* #include <stdint.h> */"
16497fi 16481fi
16498if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16482if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16499 include_stdarg_h="#include <stdarg.h>" 16483 include_stdarg_h="#include <cstdarg>"
16500else 16484else
16501 include_stdarg_h="/* #include <stdarg.h> */" 16485 include_stdarg_h="/* #include <cstdarg> */"
16502fi 16486fi
16503if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16487if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16504 include_stdlib_h="#include <stdlib.h>" 16488 include_stdlib_h="#include <cstdlib>"
16505else 16489else
16506 include_stdlib_h="/* #include <stdlib.h> */" 16490 include_stdlib_h="/* #include <cstdlib> */"
16507fi 16491fi
16508if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16492if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16509 include_unistd_h="#include <unistd.h>" 16493 include_unistd_h="#include <unistd.h>"
16510else 16494else
16511 include_unistd_h="/* #include <unistd.h> */" 16495 include_unistd_h="/* #include <unistd.h> */"
16512fi 16496fi
16513if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16497if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16514 include_string_h="#include <string.h>" 16498 include_string_h="#include <cstring>"
16515else 16499else
16516 include_string_h="/* #include <string.h> */" 16500 include_string_h="/* #include <cstring> */"
16517fi 16501fi
16518if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16502if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16519 include_fcntl_h="#include <fcntl.h>" 16503 include_fcntl_h="#include <fcntl.h>"
16520else 16504else
16521 include_fcntl_h="/* #include <fcntl.h> */" 16505 include_fcntl_h="/* #include <fcntl.h> */"
18013echo " 17997echo "
18014The following are set in config.h 17998The following are set in config.h
18015" 17999"
18016echo " pty/tty type: "$rxvt_cv_ptys 18000echo " pty/tty type: "$rxvt_cv_ptys
18017if test x$support_utmp != xyes; then 18001if test x$support_utmp != xyes; then
18018 echo " utmp support: disabled 18002 echo " utmp support: disabled"
18019" 18003 echo
18020else 18004else
18021 echo " utmp support: enabled 18005 echo " utmp support: enabled
18022 utmp file: $rxvt_cv_path_utmp 18006 utmp file: $rxvt_cv_path_utmp
18023 utmpx file: $rxvt_cv_path_utmpx 18007 utmpx file: $rxvt_cv_path_utmpx
18024 wtmp file: $rxvt_cv_path_wtmp 18008 wtmp file: $rxvt_cv_path_wtmp
18025 wtmpx file: $rxvt_cv_path_wtmpx 18009 wtmpx file: $rxvt_cv_path_wtmpx
18026 lastlog file: $rxvt_cv_path_lastlog 18010 lastlog file: $rxvt_cv_path_lastlog
18027 ttys/ttytab file: $rxvt_cv_path_ttytab 18011 ttys/ttytab file: $rxvt_cv_path_ttytab"
18028" 18012 echo
18029fi 18013fi
18030if test x$term != x; then 18014if test x$term != x; then
18031 echo " set TERM to: $term 18015 echo " set TERM to: $term"
18032"
18033fi 18016fi
18034if test x$terminfo != x; then 18017if test x$terminfo != x; then
18035 echo " set TERMINFO to: $terminfo 18018 echo " set TERMINFO to: $terminfo"
18036"
18037fi 18019fi
18020echo " default resource name: $RESNAME"
18021echo " resource class: $RESCLASS"
18022if test x$RESFALLBACK != x; then
18023 echo " resource class fallback: $RESFALLBACK"
18024fi
18025echo
18038if test x$rxvt_cv_ptys = xUNKNOWN; then 18026if test x$rxvt_cv_ptys = xUNKNOWN; then
18039 echo ".----------------------------------------------------------------." 18027 echo ".----------------------------------------------------------------."
18040 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18028 echo ". WARNING: could not determine pty/tty type. Do not build until ."
18041 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18029 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
18042 echo ".----------------------------------------------------------------." 18030 echo ".----------------------------------------------------------------."
18056 echo ". WARNING: --enable-xim was specified however the locale support ." 18044 echo ". WARNING: --enable-xim was specified however the locale support ."
18057 echo ". functions could not be found. ." 18045 echo ". functions could not be found. ."
18058 echo ". XIM is now being DISABLED! ." 18046 echo ". XIM is now being DISABLED! ."
18059 echo ".----------------------------------------------------------------." 18047 echo ".----------------------------------------------------------------."
18060fi 18048fi
18049
18061echo " *** Please check src/feature.h for further options *** 18050echo " *** Please check src/feature.h for further options ***"
18062" 18051echo
18052
18053echo ".----------------------------------------------------------------."
18054echo ". NOTE: most features are disabled by default, try ."
18055echo ". configure --help to get an idea of the optional features ."
18056echo ".----------------------------------------------------------------."
18057echo
18058

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines