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

Comparing cvsroot/rxvt-unicode/configure (file contents):
Revision 1.25 by pcg, Mon Apr 5 15:54:21 2004 UTC vs.
Revision 1.34 by root, Sun Aug 15 04:42:45 2004 UTC

1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg 1041 --enable-tinting enable tinting of transparent bg
1042 --enable-fading enable colors fading when off focus
1042 --enable-menubar enable menubar 1043 --enable-menubar enable menubar
1043 --enable-rxvt-scroll enable rxvt style scrollbar 1044 --enable-rxvt-scroll enable rxvt style scrollbar
1044 --enable-next-scroll enable NeXT style scrollbar 1045 --enable-next-scroll enable NeXT style scrollbar
1045 --enable-xterm-scroll enable Xterm style scrollbar 1046 --enable-xterm-scroll enable Xterm style scrollbar
1046 --enable-plain-scroll enable plain style scrollbar 1047 --enable-plain-scroll enable plain style scrollbar
1049 --enable-ttygid enable tty setting to group named "tty" 1050 --enable-ttygid enable tty setting to group named "tty"
1050 --disable-backspace-key disable handling of the backspace key 1051 --disable-backspace-key disable handling of the backspace key
1051 --disable-delete-key disable handling of the delete key 1052 --disable-delete-key disable handling of the delete key
1052 --disable-resources disable all resource checking 1053 --disable-resources disable all resource checking
1053 --enable-xgetdefault enable resources via X instead of our small version 1054 --enable-xgetdefault enable resources via X instead of our small version
1055 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1054 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1056 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1055 --enable-strings enable some replacement system functions 1057 --enable-strings enable some replacement system functions
1056 --disable-swapscreen disable swap screen support 1058 --disable-swapscreen disable swap screen support
1059 --enable-iso14755 enable support for extended ISO 14755 modes
1057 --enable-frills enable support for rarely used features 1060 --enable-frills enable support for rarely used features
1058 --enable-linespace enable support for linespace 1061 --enable-linespace enable support for linespace
1059 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1060 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1061 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1534 1537
1535 1538
1536 1539
1537 1540
1538 1541
1542
1539ac_aux_dir= 1543ac_aux_dir=
1540for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1541 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
5234# Some flags need to be propagated to the compiler or linker for good 5238# Some flags need to be propagated to the compiler or linker for good
5235# libtool support. 5239# libtool support.
5236case "$host" in 5240case "$host" in
5237*-*-irix6*) 5241*-*-irix6*)
5238 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5239 echo '#line 5239 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5241 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5242 ac_status=$? 5246 ac_status=$?
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5785# builds. 5789# builds.
5786chmod -w . 5790chmod -w .
5787save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5788CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5789compiler_c_o=no 5793compiler_c_o=no
5790if { (eval echo configure:5790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5794if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5791 # The compiler can only warn and ignore the option if not recognized 5795 # The compiler can only warn and ignore the option if not recognized
5792 # So say no if there are warnings 5796 # So say no if there are warnings
5793 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5794 compiler_c_o=no 5798 compiler_c_o=no
5795 else 5799 else
7401 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7402else 7406else
7403 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7404 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7405 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7406#line 7406 "configure" 7410#line 7410 "configure"
7407#include "confdefs.h" 7411#include "confdefs.h"
7408 7412
7409#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7410#include <dlfcn.h> 7414#include <dlfcn.h>
7411#endif 7415#endif
7499 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7500else 7504else
7501 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7502 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7503 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7504#line 7504 "configure" 7508#line 7508 "configure"
7505#include "confdefs.h" 7509#include "confdefs.h"
7506 7510
7507#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7508#include <dlfcn.h> 7512#include <dlfcn.h>
7509#endif 7513#endif
8233support_addstrings=no 8237support_addstrings=no
8234support_frills=no 8238support_frills=no
8235support_linespace=no 8239support_linespace=no
8236support_inheritpixmap=no 8240support_inheritpixmap=no
8237support_tinting=no 8241support_tinting=no
8242support_fading=no
8238support_keepscrolling=no 8243support_keepscrolling=no
8239support_selectionscrolling=no 8244support_selectionscrolling=no
8240support_menubar=no 8245support_menubar=no
8241support_mousewheel=no 8246support_mousewheel=no
8242support_mouseslipwheel=no 8247support_mouseslipwheel=no
8253support_xim=no 8258support_xim=no
8254support_xpm=no 8259support_xpm=no
8255support_xft=no 8260support_xft=no
8256support_unicode3=no 8261support_unicode3=no
8257support_combining=no 8262support_combining=no
8263support_8bitctrls=no
8264support_iso14755=no
8258codesets= 8265codesets=
8259 8266
8260 8267
8261if test "x$enable_shared" = xyes; then 8268if test "x$enable_shared" = xyes; then
8262 8269
8275 support_24bit=yes 8282 support_24bit=yes
8276 support_frills=yes 8283 support_frills=yes
8277 support_linespace=yes 8284 support_linespace=yes
8278 support_inheritpixmap=yes 8285 support_inheritpixmap=yes
8279 support_tinting=yes 8286 support_tinting=yes
8287 support_fading=yes
8280 support_keepscrolling=yes 8288 support_keepscrolling=yes
8281 support_selectionscrolling=yes 8289 support_selectionscrolling=yes
8282 support_lastlog=yes 8290 support_lastlog=yes
8283 support_menubar=yes 8291 support_menubar=yes
8284 support_mousewheel=yes 8292 support_mousewheel=yes
8295 support_xim=yes 8303 support_xim=yes
8296 support_xpm=yes 8304 support_xpm=yes
8297 support_xft=yes 8305 support_xft=yes
8298 support_unicode3=yes 8306 support_unicode3=yes
8299 support_combining=yes 8307 support_combining=yes
8308 #support_8bitctrls=yes
8309 support_iso14755=yes
8300 codesets=all 8310 codesets=all
8301 fi 8311 fi
8302fi; 8312fi;
8303 8313
8304# Check whether --enable-unicode3 or --disable-unicode3 was given. 8314# Check whether --enable-unicode3 or --disable-unicode3 was given.
8371 if test x$enableval = xyes -o x$enableval = xno; then 8381 if test x$enableval = xyes -o x$enableval = xno; then
8372 support_tinting=$enableval 8382 support_tinting=$enableval
8373 fi 8383 fi
8374fi; 8384fi;
8375 8385
8386# Check whether --enable-fading or --disable-fading was given.
8387if test "${enable_fading+set}" = set; then
8388 enableval="$enable_fading"
8389 if test x$enableval = xyes -o x$enableval = xno; then
8390 support_fading=$enableval
8391 fi
8392fi;
8393
8376# Check whether --enable-menubar or --disable-menubar was given. 8394# Check whether --enable-menubar or --disable-menubar was given.
8377if test "${enable_menubar+set}" = set; then 8395if test "${enable_menubar+set}" = set; then
8378 enableval="$enable_menubar" 8396 enableval="$enable_menubar"
8379 if test x$enableval = xyes -o x$enableval = xno; then 8397 if test x$enableval = xyes -o x$enableval = xno; then
8380 support_menubar=$enableval 8398 support_menubar=$enableval
8498_ACEOF 8516_ACEOF
8499 8517
8500 fi 8518 fi
8501fi; 8519fi;
8502 8520
8521# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8522if test "${enable_8bitctrls+set}" = set; then
8523 enableval="$enable_8bitctrls"
8524 if test x$enableval = xyes -o x$enableval = xno; then
8525 support_8bitctrls=yes
8526 fi
8527fi;
8528
8503RESFALLBACK=Rxvt 8529RESFALLBACK=Rxvt
8504# Check whether --enable-fallback or --disable-fallback was given. 8530# Check whether --enable-fallback or --disable-fallback was given.
8505if test "${enable_fallback+set}" = set; then 8531if test "${enable_fallback+set}" = set; then
8506 enableval="$enable_fallback" 8532 enableval="$enable_fallback"
8507 8533
8571 8597
8572cat >>confdefs.h <<\_ACEOF 8598cat >>confdefs.h <<\_ACEOF
8573#define NO_SECONDARY_SCREEN 1 8599#define NO_SECONDARY_SCREEN 1
8574_ACEOF 8600_ACEOF
8575 8601
8602 fi
8603fi;
8604
8605# Check whether --enable-iso14755 or --disable-iso14755 was given.
8606if test "${enable_iso14755+set}" = set; then
8607 enableval="$enable_iso14755"
8608 if test x$enableval = xyes -o x$enableval = xno; then
8609 support_iso14755=$enableval
8576 fi 8610 fi
8577fi; 8611fi;
8578 8612
8579# Check whether --enable-frills or --disable-frills was given. 8613# Check whether --enable-frills or --disable-frills was given.
8580if test "${enable_frills+set}" = set; then 8614if test "${enable_frills+set}" = set; then
10889 10923
10890 10924
10891 10925
10892 10926
10893 10927
10928
10894for ac_header in \ 10929for ac_header in \
10895 assert.h \ 10930 assert.h \
10896 fcntl.h \ 10931 fcntl.h \
10897 grp.h \ 10932 grp.h \
10898 libc.h \ 10933 libc.h \
10905 sys/byteorder.h \ 10940 sys/byteorder.h \
10906 sys/ioctl.h \ 10941 sys/ioctl.h \
10907 sys/select.h \ 10942 sys/select.h \
10908 sys/sockio.h \ 10943 sys/sockio.h \
10909 sys/strredir.h \ 10944 sys/strredir.h \
10945 sys/stropts.h \
10910 sys/time.h \ 10946 sys/time.h \
10911 utmp.h \ 10947 utmp.h \
10912 utmpx.h \ 10948 utmpx.h \
10913 stdint.h \ 10949 stdint.h \
10914 10950
11700cat >>confdefs.h <<\_ACEOF 11736cat >>confdefs.h <<\_ACEOF
11701#define gid_t int 11737#define gid_t int
11702_ACEOF 11738_ACEOF
11703 11739
11704fi 11740fi
11705
11706 11741
11707 11742
11708echo "$as_me:$LINENO: checking for char" >&5 11743echo "$as_me:$LINENO: checking for char" >&5
11709echo $ECHO_N "checking for char... $ECHO_C" >&6 11744echo $ECHO_N "checking for char... $ECHO_C" >&6
11710if test "${ac_cv_type_char+set}" = set; then 11745if test "${ac_cv_type_char+set}" = set; then
16176#define HAVE_NL_LANGINFO 1 16211#define HAVE_NL_LANGINFO 1
16177_ACEOF 16212_ACEOF
16178 16213
16179fi 16214fi
16180 16215
16216echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16217echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16218if test "${rxvt_broken_ximcb+set}" = set; then
16219 echo $ECHO_N "(cached) $ECHO_C" >&6
16220else
16221 cat >conftest.$ac_ext <<_ACEOF
16222
16223#include <X11/Xlib.h>
16224
16225void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16226
16227void f() {
16228 XIMCallback cb;
16229 cb.callback = im_destroy_cb;
16230}
16231
16232_ACEOF
16233rm -f conftest.$ac_objext
16234if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; } &&
16248 { ac_try='test -s conftest.$ac_objext'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; }; then
16254 rxvt_broken_ximcb=yes
16255else
16256 echo "$as_me: failed program was:" >&5
16257sed 's/^/| /' conftest.$ac_ext >&5
16258
16259rxvt_broken_ximcb=no
16260fi
16261rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16262fi
16263echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16264echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16265
16266if test x$rxvt_broken_ximcb = xyes; then
16267
16268cat >>confdefs.h <<\_ACEOF
16269#define XIMCB_PROTO_BROKEN 1
16270_ACEOF
16271
16272fi
16273
16181echo "$as_me:$LINENO: checking for getpt" >&5 16274echo "$as_me:$LINENO: checking for getpt" >&5
16182echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16275echo $ECHO_N "checking for getpt... $ECHO_C" >&6
16183if test "${rxvt_cv_func_getpt+set}" = set; then 16276if test "${rxvt_cv_func_getpt+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6 16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16185else 16278else
16364#define PTYCHAR2 "$pch2" 16457#define PTYCHAR2 "$pch2"
16365_ACEOF 16458_ACEOF
16366 16459
16367fi 16460fi
16368 16461
16462if test x$support_iso14755 = xyes; then
16463
16464cat >>confdefs.h <<\_ACEOF
16465#define ISO_14755 1
16466_ACEOF
16467
16468fi
16469if test x$support_8bitctrls = xyes; then
16470
16471cat >>confdefs.h <<\_ACEOF
16472#define EIGHT_BIT_CONTROLS 1
16473_ACEOF
16474
16475fi
16476if test x$support_fading = xyes; then
16477
16478cat >>confdefs.h <<\_ACEOF
16479#define OFF_FOCUS_FADING 1
16480_ACEOF
16481
16482fi
16369if test x$support_tinting = xyes; then 16483if test x$support_tinting = xyes; then
16370 16484
16371cat >>confdefs.h <<\_ACEOF 16485cat >>confdefs.h <<\_ACEOF
16372#define TINTING 1 16486#define TINTING 1
16373_ACEOF 16487_ACEOF
16399cat >>confdefs.h <<\_ACEOF 16513cat >>confdefs.h <<\_ACEOF
16400#define MENUBAR 1 16514#define MENUBAR 1
16401_ACEOF 16515_ACEOF
16402 16516
16403fi 16517fi
16404if test x$support_frills = xno; then 16518if test x$support_frills = xyes; then
16405 16519
16406cat >>confdefs.h <<\_ACEOF 16520cat >>confdefs.h <<\_ACEOF
16407#define NO_FRILLS 1 16521#define ENABLE_FRILLS 1
16408_ACEOF 16522_ACEOF
16409 16523
16410fi 16524fi
16411if test x$support_linespace = xno; then 16525if test x$support_linespace = xno; then
16412 16526
16541 16655
16542fi 16656fi
16543if test x$codesets = xall; then 16657if test x$codesets = xall; then
16544 codesets=jp,jp-ext,kr,cn,cn-ext 16658 codesets=jp,jp-ext,kr,cn,cn-ext
16545fi 16659fi
16546for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16547 16660
16548cat >>confdefs.h <<\_ACEOF 16661cat >>confdefs.h <<\_ACEOF
16549#define ENCODING_EU 1 16662#define ENCODING_EU 1
16550_ACEOF 16663_ACEOF
16551 16664
16552 16665
16553cat >>confdefs.h <<\_ACEOF 16666cat >>confdefs.h <<\_ACEOF
16554#define ENCODING_VN 1 16667#define ENCODING_VN 1
16555_ACEOF 16668_ACEOF
16556 16669
16670for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16557 case "$codeset" in 16671 case "$codeset" in
16558 JP ) 16672 JP )
16559cat >>confdefs.h <<\_ACEOF 16673cat >>confdefs.h <<\_ACEOF
16560#define ENCODING_JP 1 16674#define ENCODING_JP 1
16561_ACEOF 16675_ACEOF
16941 17055
16942 fi 17056 fi
16943fi 17057fi
16944 17058
16945 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17059 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17060
16946cat >confcache <<\_ACEOF 17061cat >confcache <<\_ACEOF
16947# This file is a shell script that caches the results of configure 17062# This file is a shell script that caches the results of configure
16948# tests run on this system so they can be shared between configure 17063# tests run on this system so they can be shared between configure
16949# scripts and configure runs, see configure's option --config-cache. 17064# scripts and configure runs, see configure's option --config-cache.
16950# It is not useful on other systems. If it contains results you don't 17065# It is not useful on other systems. If it contains results you don't

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines