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

Comparing rxvt-unicode/configure (file contents):
Revision 1.26 by root, Sat Jul 10 20:59:38 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
1053 --enable-xgetdefault enable resources via X instead of our small version 1054 --enable-xgetdefault enable resources via X instead of our small version
1054 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1055 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1055 --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)
1056 --enable-strings enable some replacement system functions 1057 --enable-strings enable some replacement system functions
1057 --disable-swapscreen disable swap screen support 1058 --disable-swapscreen disable swap screen support
1059 --enable-iso14755 enable support for extended ISO 14755 modes
1058 --enable-frills enable support for rarely used features 1060 --enable-frills enable support for rarely used features
1059 --enable-linespace enable support for linespace 1061 --enable-linespace enable support for linespace
1060 --enable-24bit enable support for using 24bit visuals if available 1062 --enable-24bit enable support for using 24bit visuals if available
1061 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1063 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1062 --enable-selectionscrolling enable scrolling during selections 1064 --enable-selectionscrolling enable scrolling during selections
1535 1537
1536 1538
1537 1539
1538 1540
1539 1541
1542
1540ac_aux_dir= 1543ac_aux_dir=
1541for ac_dir in autoconf $srcdir/autoconf; do 1544for ac_dir in autoconf $srcdir/autoconf; do
1542 if test -f $ac_dir/install-sh; then 1545 if test -f $ac_dir/install-sh; then
1543 ac_aux_dir=$ac_dir 1546 ac_aux_dir=$ac_dir
1544 ac_install_sh="$ac_aux_dir/install-sh -c" 1547 ac_install_sh="$ac_aux_dir/install-sh -c"
5235# 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
5236# libtool support. 5239# libtool support.
5237case "$host" in 5240case "$host" in
5238*-*-irix6*) 5241*-*-irix6*)
5239 # Find out which ABI we are using. 5242 # Find out which ABI we are using.
5240 echo '#line 5240 "configure"' > conftest.$ac_ext 5243 echo '#line 5243 "configure"' > conftest.$ac_ext
5241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5242 (eval $ac_compile) 2>&5 5245 (eval $ac_compile) 2>&5
5243 ac_status=$? 5246 ac_status=$?
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; then 5248 (exit $ac_status); }; then
5786# builds. 5789# builds.
5787chmod -w . 5790chmod -w .
5788save_CFLAGS="$CFLAGS" 5791save_CFLAGS="$CFLAGS"
5789CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5792CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5790compiler_c_o=no 5793compiler_c_o=no
5791if { (eval echo configure:5791: \"$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
5792 # 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
5793 # So say no if there are warnings 5796 # So say no if there are warnings
5794 if test -s out/conftest.err; then 5797 if test -s out/conftest.err; then
5795 compiler_c_o=no 5798 compiler_c_o=no
5796 else 5799 else
7402 lt_cv_dlopen_self=cross 7405 lt_cv_dlopen_self=cross
7403else 7406else
7404 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7407 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7405 lt_status=$lt_dlunknown 7408 lt_status=$lt_dlunknown
7406 cat > conftest.$ac_ext <<EOF 7409 cat > conftest.$ac_ext <<EOF
7407#line 7407 "configure" 7410#line 7410 "configure"
7408#include "confdefs.h" 7411#include "confdefs.h"
7409 7412
7410#if HAVE_DLFCN_H 7413#if HAVE_DLFCN_H
7411#include <dlfcn.h> 7414#include <dlfcn.h>
7412#endif 7415#endif
7500 lt_cv_dlopen_self_static=cross 7503 lt_cv_dlopen_self_static=cross
7501else 7504else
7502 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7505 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7503 lt_status=$lt_dlunknown 7506 lt_status=$lt_dlunknown
7504 cat > conftest.$ac_ext <<EOF 7507 cat > conftest.$ac_ext <<EOF
7505#line 7505 "configure" 7508#line 7508 "configure"
7506#include "confdefs.h" 7509#include "confdefs.h"
7507 7510
7508#if HAVE_DLFCN_H 7511#if HAVE_DLFCN_H
7509#include <dlfcn.h> 7512#include <dlfcn.h>
7510#endif 7513#endif
8234support_addstrings=no 8237support_addstrings=no
8235support_frills=no 8238support_frills=no
8236support_linespace=no 8239support_linespace=no
8237support_inheritpixmap=no 8240support_inheritpixmap=no
8238support_tinting=no 8241support_tinting=no
8242support_fading=no
8239support_keepscrolling=no 8243support_keepscrolling=no
8240support_selectionscrolling=no 8244support_selectionscrolling=no
8241support_menubar=no 8245support_menubar=no
8242support_mousewheel=no 8246support_mousewheel=no
8243support_mouseslipwheel=no 8247support_mouseslipwheel=no
8255support_xpm=no 8259support_xpm=no
8256support_xft=no 8260support_xft=no
8257support_unicode3=no 8261support_unicode3=no
8258support_combining=no 8262support_combining=no
8259support_8bitctrls=no 8263support_8bitctrls=no
8264support_iso14755=no
8260codesets= 8265codesets=
8261 8266
8262 8267
8263if test "x$enable_shared" = xyes; then 8268if test "x$enable_shared" = xyes; then
8264 8269
8277 support_24bit=yes 8282 support_24bit=yes
8278 support_frills=yes 8283 support_frills=yes
8279 support_linespace=yes 8284 support_linespace=yes
8280 support_inheritpixmap=yes 8285 support_inheritpixmap=yes
8281 support_tinting=yes 8286 support_tinting=yes
8287 support_fading=yes
8282 support_keepscrolling=yes 8288 support_keepscrolling=yes
8283 support_selectionscrolling=yes 8289 support_selectionscrolling=yes
8284 support_lastlog=yes 8290 support_lastlog=yes
8285 support_menubar=yes 8291 support_menubar=yes
8286 support_mousewheel=yes 8292 support_mousewheel=yes
8298 support_xpm=yes 8304 support_xpm=yes
8299 support_xft=yes 8305 support_xft=yes
8300 support_unicode3=yes 8306 support_unicode3=yes
8301 support_combining=yes 8307 support_combining=yes
8302 #support_8bitctrls=yes 8308 #support_8bitctrls=yes
8309 support_iso14755=yes
8303 codesets=all 8310 codesets=all
8304 fi 8311 fi
8305fi; 8312fi;
8306 8313
8307# Check whether --enable-unicode3 or --disable-unicode3 was given. 8314# Check whether --enable-unicode3 or --disable-unicode3 was given.
8374 if test x$enableval = xyes -o x$enableval = xno; then 8381 if test x$enableval = xyes -o x$enableval = xno; then
8375 support_tinting=$enableval 8382 support_tinting=$enableval
8376 fi 8383 fi
8377fi; 8384fi;
8378 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
8379# Check whether --enable-menubar or --disable-menubar was given. 8394# Check whether --enable-menubar or --disable-menubar was given.
8380if test "${enable_menubar+set}" = set; then 8395if test "${enable_menubar+set}" = set; then
8381 enableval="$enable_menubar" 8396 enableval="$enable_menubar"
8382 if test x$enableval = xyes -o x$enableval = xno; then 8397 if test x$enableval = xyes -o x$enableval = xno; then
8383 support_menubar=$enableval 8398 support_menubar=$enableval
8582 8597
8583cat >>confdefs.h <<\_ACEOF 8598cat >>confdefs.h <<\_ACEOF
8584#define NO_SECONDARY_SCREEN 1 8599#define NO_SECONDARY_SCREEN 1
8585_ACEOF 8600_ACEOF
8586 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
8587 fi 8610 fi
8588fi; 8611fi;
8589 8612
8590# Check whether --enable-frills or --disable-frills was given. 8613# Check whether --enable-frills or --disable-frills was given.
8591if test "${enable_frills+set}" = set; then 8614if test "${enable_frills+set}" = set; then
10900 10923
10901 10924
10902 10925
10903 10926
10904 10927
10928
10905for ac_header in \ 10929for ac_header in \
10906 assert.h \ 10930 assert.h \
10907 fcntl.h \ 10931 fcntl.h \
10908 grp.h \ 10932 grp.h \
10909 libc.h \ 10933 libc.h \
10916 sys/byteorder.h \ 10940 sys/byteorder.h \
10917 sys/ioctl.h \ 10941 sys/ioctl.h \
10918 sys/select.h \ 10942 sys/select.h \
10919 sys/sockio.h \ 10943 sys/sockio.h \
10920 sys/strredir.h \ 10944 sys/strredir.h \
10945 sys/stropts.h \
10921 sys/time.h \ 10946 sys/time.h \
10922 utmp.h \ 10947 utmp.h \
10923 utmpx.h \ 10948 utmpx.h \
10924 stdint.h \ 10949 stdint.h \
10925 10950
11711cat >>confdefs.h <<\_ACEOF 11736cat >>confdefs.h <<\_ACEOF
11712#define gid_t int 11737#define gid_t int
11713_ACEOF 11738_ACEOF
11714 11739
11715fi 11740fi
11716
11717 11741
11718 11742
11719echo "$as_me:$LINENO: checking for char" >&5 11743echo "$as_me:$LINENO: checking for char" >&5
11720echo $ECHO_N "checking for char... $ECHO_C" >&6 11744echo $ECHO_N "checking for char... $ECHO_C" >&6
11721if test "${ac_cv_type_char+set}" = set; then 11745if test "${ac_cv_type_char+set}" = set; then
16187#define HAVE_NL_LANGINFO 1 16211#define HAVE_NL_LANGINFO 1
16188_ACEOF 16212_ACEOF
16189 16213
16190fi 16214fi
16191 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
16192echo "$as_me:$LINENO: checking for getpt" >&5 16274echo "$as_me:$LINENO: checking for getpt" >&5
16193echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16275echo $ECHO_N "checking for getpt... $ECHO_C" >&6
16194if test "${rxvt_cv_func_getpt+set}" = set; then 16276if test "${rxvt_cv_func_getpt+set}" = set; then
16195 echo $ECHO_N "(cached) $ECHO_C" >&6 16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16196else 16278else
16375#define PTYCHAR2 "$pch2" 16457#define PTYCHAR2 "$pch2"
16376_ACEOF 16458_ACEOF
16377 16459
16378fi 16460fi
16379 16461
16462if test x$support_iso14755 = xyes; then
16463
16464cat >>confdefs.h <<\_ACEOF
16465#define ISO_14755 1
16466_ACEOF
16467
16468fi
16380if test x$support_8bitctrls = xyes; then 16469if test x$support_8bitctrls = xyes; then
16381 16470
16382cat >>confdefs.h <<\_ACEOF 16471cat >>confdefs.h <<\_ACEOF
16383#define EIGHT_BIT_CONTROLS 1 16472#define EIGHT_BIT_CONTROLS 1
16384_ACEOF 16473_ACEOF
16385 16474
16386fi 16475fi
16476if test x$support_fading = xyes; then
16477
16478cat >>confdefs.h <<\_ACEOF
16479#define OFF_FOCUS_FADING 1
16480_ACEOF
16481
16482fi
16387if test x$support_tinting = xyes; then 16483if test x$support_tinting = xyes; then
16388 16484
16389cat >>confdefs.h <<\_ACEOF 16485cat >>confdefs.h <<\_ACEOF
16390#define TINTING 1 16486#define TINTING 1
16391_ACEOF 16487_ACEOF
16417cat >>confdefs.h <<\_ACEOF 16513cat >>confdefs.h <<\_ACEOF
16418#define MENUBAR 1 16514#define MENUBAR 1
16419_ACEOF 16515_ACEOF
16420 16516
16421fi 16517fi
16422if test x$support_frills = xno; then 16518if test x$support_frills = xyes; then
16423 16519
16424cat >>confdefs.h <<\_ACEOF 16520cat >>confdefs.h <<\_ACEOF
16425#define NO_FRILLS 1 16521#define ENABLE_FRILLS 1
16426_ACEOF 16522_ACEOF
16427 16523
16428fi 16524fi
16429if test x$support_linespace = xno; then 16525if test x$support_linespace = xno; then
16430 16526
16559 16655
16560fi 16656fi
16561if test x$codesets = xall; then 16657if test x$codesets = xall; then
16562 codesets=jp,jp-ext,kr,cn,cn-ext 16658 codesets=jp,jp-ext,kr,cn,cn-ext
16563fi 16659fi
16564for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16565 16660
16566cat >>confdefs.h <<\_ACEOF 16661cat >>confdefs.h <<\_ACEOF
16567#define ENCODING_EU 1 16662#define ENCODING_EU 1
16568_ACEOF 16663_ACEOF
16569 16664
16570 16665
16571cat >>confdefs.h <<\_ACEOF 16666cat >>confdefs.h <<\_ACEOF
16572#define ENCODING_VN 1 16667#define ENCODING_VN 1
16573_ACEOF 16668_ACEOF
16574 16669
16670for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16575 case "$codeset" in 16671 case "$codeset" in
16576 JP ) 16672 JP )
16577cat >>confdefs.h <<\_ACEOF 16673cat >>confdefs.h <<\_ACEOF
16578#define ENCODING_JP 1 16674#define ENCODING_JP 1
16579_ACEOF 16675_ACEOF
16959 17055
16960 fi 17056 fi
16961fi 17057fi
16962 17058
16963 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
16964cat >confcache <<\_ACEOF 17061cat >confcache <<\_ACEOF
16965# 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
16966# 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
16967# scripts and configure runs, see configure's option --config-cache. 17064# scripts and configure runs, see configure's option --config-cache.
16968# 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