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

Comparing rxvt-unicode/configure (file contents):
Revision 1.25 by pcg, Mon Apr 5 15:54:21 2004 UTC vs.
Revision 1.33 by root, Fri Aug 13 03:36:56 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
1057 --enable-frills enable support for rarely used features 1059 --enable-frills enable support for rarely used features
1058 --enable-linespace enable support for linespace 1060 --enable-linespace enable support for linespace
1534 1536
1535 1537
1536 1538
1537 1539
1538 1540
1541
1539ac_aux_dir= 1542ac_aux_dir=
1540for ac_dir in autoconf $srcdir/autoconf; do 1543for ac_dir in autoconf $srcdir/autoconf; do
1541 if test -f $ac_dir/install-sh; then 1544 if test -f $ac_dir/install-sh; then
1542 ac_aux_dir=$ac_dir 1545 ac_aux_dir=$ac_dir
1543 ac_install_sh="$ac_aux_dir/install-sh -c" 1546 ac_install_sh="$ac_aux_dir/install-sh -c"
5234# Some flags need to be propagated to the compiler or linker for good 5237# Some flags need to be propagated to the compiler or linker for good
5235# libtool support. 5238# libtool support.
5236case "$host" in 5239case "$host" in
5237*-*-irix6*) 5240*-*-irix6*)
5238 # Find out which ABI we are using. 5241 # Find out which ABI we are using.
5239 echo '#line 5239 "configure"' > conftest.$ac_ext 5242 echo '#line 5242 "configure"' > conftest.$ac_ext
5240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5241 (eval $ac_compile) 2>&5 5244 (eval $ac_compile) 2>&5
5242 ac_status=$? 5245 ac_status=$?
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); }; then 5247 (exit $ac_status); }; then
5785# builds. 5788# builds.
5786chmod -w . 5789chmod -w .
5787save_CFLAGS="$CFLAGS" 5790save_CFLAGS="$CFLAGS"
5788CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5791CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5789compiler_c_o=no 5792compiler_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 5793if { (eval echo configure:5793: \"$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 5794 # The compiler can only warn and ignore the option if not recognized
5792 # So say no if there are warnings 5795 # So say no if there are warnings
5793 if test -s out/conftest.err; then 5796 if test -s out/conftest.err; then
5794 compiler_c_o=no 5797 compiler_c_o=no
5795 else 5798 else
7401 lt_cv_dlopen_self=cross 7404 lt_cv_dlopen_self=cross
7402else 7405else
7403 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7406 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7404 lt_status=$lt_dlunknown 7407 lt_status=$lt_dlunknown
7405 cat > conftest.$ac_ext <<EOF 7408 cat > conftest.$ac_ext <<EOF
7406#line 7406 "configure" 7409#line 7409 "configure"
7407#include "confdefs.h" 7410#include "confdefs.h"
7408 7411
7409#if HAVE_DLFCN_H 7412#if HAVE_DLFCN_H
7410#include <dlfcn.h> 7413#include <dlfcn.h>
7411#endif 7414#endif
7499 lt_cv_dlopen_self_static=cross 7502 lt_cv_dlopen_self_static=cross
7500else 7503else
7501 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7504 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7502 lt_status=$lt_dlunknown 7505 lt_status=$lt_dlunknown
7503 cat > conftest.$ac_ext <<EOF 7506 cat > conftest.$ac_ext <<EOF
7504#line 7504 "configure" 7507#line 7507 "configure"
7505#include "confdefs.h" 7508#include "confdefs.h"
7506 7509
7507#if HAVE_DLFCN_H 7510#if HAVE_DLFCN_H
7508#include <dlfcn.h> 7511#include <dlfcn.h>
7509#endif 7512#endif
8233support_addstrings=no 8236support_addstrings=no
8234support_frills=no 8237support_frills=no
8235support_linespace=no 8238support_linespace=no
8236support_inheritpixmap=no 8239support_inheritpixmap=no
8237support_tinting=no 8240support_tinting=no
8241support_fading=no
8238support_keepscrolling=no 8242support_keepscrolling=no
8239support_selectionscrolling=no 8243support_selectionscrolling=no
8240support_menubar=no 8244support_menubar=no
8241support_mousewheel=no 8245support_mousewheel=no
8242support_mouseslipwheel=no 8246support_mouseslipwheel=no
8253support_xim=no 8257support_xim=no
8254support_xpm=no 8258support_xpm=no
8255support_xft=no 8259support_xft=no
8256support_unicode3=no 8260support_unicode3=no
8257support_combining=no 8261support_combining=no
8262support_8bitctrls=no
8258codesets= 8263codesets=
8259 8264
8260 8265
8261if test "x$enable_shared" = xyes; then 8266if test "x$enable_shared" = xyes; then
8262 8267
8275 support_24bit=yes 8280 support_24bit=yes
8276 support_frills=yes 8281 support_frills=yes
8277 support_linespace=yes 8282 support_linespace=yes
8278 support_inheritpixmap=yes 8283 support_inheritpixmap=yes
8279 support_tinting=yes 8284 support_tinting=yes
8285 support_fading=yes
8280 support_keepscrolling=yes 8286 support_keepscrolling=yes
8281 support_selectionscrolling=yes 8287 support_selectionscrolling=yes
8282 support_lastlog=yes 8288 support_lastlog=yes
8283 support_menubar=yes 8289 support_menubar=yes
8284 support_mousewheel=yes 8290 support_mousewheel=yes
8295 support_xim=yes 8301 support_xim=yes
8296 support_xpm=yes 8302 support_xpm=yes
8297 support_xft=yes 8303 support_xft=yes
8298 support_unicode3=yes 8304 support_unicode3=yes
8299 support_combining=yes 8305 support_combining=yes
8306 #support_8bitctrls=yes
8300 codesets=all 8307 codesets=all
8301 fi 8308 fi
8302fi; 8309fi;
8303 8310
8304# Check whether --enable-unicode3 or --disable-unicode3 was given. 8311# Check whether --enable-unicode3 or --disable-unicode3 was given.
8371 if test x$enableval = xyes -o x$enableval = xno; then 8378 if test x$enableval = xyes -o x$enableval = xno; then
8372 support_tinting=$enableval 8379 support_tinting=$enableval
8373 fi 8380 fi
8374fi; 8381fi;
8375 8382
8383# Check whether --enable-fading or --disable-fading was given.
8384if test "${enable_fading+set}" = set; then
8385 enableval="$enable_fading"
8386 if test x$enableval = xyes -o x$enableval = xno; then
8387 support_fading=$enableval
8388 fi
8389fi;
8390
8376# Check whether --enable-menubar or --disable-menubar was given. 8391# Check whether --enable-menubar or --disable-menubar was given.
8377if test "${enable_menubar+set}" = set; then 8392if test "${enable_menubar+set}" = set; then
8378 enableval="$enable_menubar" 8393 enableval="$enable_menubar"
8379 if test x$enableval = xyes -o x$enableval = xno; then 8394 if test x$enableval = xyes -o x$enableval = xno; then
8380 support_menubar=$enableval 8395 support_menubar=$enableval
8495 8510
8496cat >>confdefs.h <<\_ACEOF 8511cat >>confdefs.h <<\_ACEOF
8497#define USE_XGETDEFAULT 1 8512#define USE_XGETDEFAULT 1
8498_ACEOF 8513_ACEOF
8499 8514
8515 fi
8516fi;
8517
8518# Check whether --enable-8bitctrls or --disable-8bitctrls was given.
8519if test "${enable_8bitctrls+set}" = set; then
8520 enableval="$enable_8bitctrls"
8521 if test x$enableval = xyes -o x$enableval = xno; then
8522 support_8bitctrls=yes
8500 fi 8523 fi
8501fi; 8524fi;
8502 8525
8503RESFALLBACK=Rxvt 8526RESFALLBACK=Rxvt
8504# Check whether --enable-fallback or --disable-fallback was given. 8527# Check whether --enable-fallback or --disable-fallback was given.
10889 10912
10890 10913
10891 10914
10892 10915
10893 10916
10917
10894for ac_header in \ 10918for ac_header in \
10895 assert.h \ 10919 assert.h \
10896 fcntl.h \ 10920 fcntl.h \
10897 grp.h \ 10921 grp.h \
10898 libc.h \ 10922 libc.h \
10905 sys/byteorder.h \ 10929 sys/byteorder.h \
10906 sys/ioctl.h \ 10930 sys/ioctl.h \
10907 sys/select.h \ 10931 sys/select.h \
10908 sys/sockio.h \ 10932 sys/sockio.h \
10909 sys/strredir.h \ 10933 sys/strredir.h \
10934 sys/stropts.h \
10910 sys/time.h \ 10935 sys/time.h \
10911 utmp.h \ 10936 utmp.h \
10912 utmpx.h \ 10937 utmpx.h \
10913 stdint.h \ 10938 stdint.h \
10914 10939
16176#define HAVE_NL_LANGINFO 1 16201#define HAVE_NL_LANGINFO 1
16177_ACEOF 16202_ACEOF
16178 16203
16179fi 16204fi
16180 16205
16206echo "$as_me:$LINENO: checking for broken XIM callback" >&5
16207echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6
16208if test "${rxvt_broken_ximcb+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210else
16211 cat >conftest.$ac_ext <<_ACEOF
16212
16213#include <X11/Xlib.h>
16214
16215void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
16216
16217void f() {
16218 XIMCallback cb;
16219 cb.callback = im_destroy_cb;
16220}
16221
16222_ACEOF
16223rm -f conftest.$ac_objext
16224if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>conftest.er1
16226 ac_status=$?
16227 grep -v '^ *+' conftest.er1 >conftest.err
16228 rm -f conftest.er1
16229 cat conftest.err >&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } &&
16232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16234 (eval $ac_try) 2>&5
16235 ac_status=$?
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); }; } &&
16238 { ac_try='test -s conftest.$ac_objext'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16241 ac_status=$?
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; }; then
16244 rxvt_broken_ximcb=yes
16245else
16246 echo "$as_me: failed program was:" >&5
16247sed 's/^/| /' conftest.$ac_ext >&5
16248
16249rxvt_broken_ximcb=no
16250fi
16251rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16252fi
16253echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5
16254echo "${ECHO_T}$rxvt_broken_ximcb" >&6
16255
16256if test x$rxvt_broken_ximcb = xyes; then
16257
16258cat >>confdefs.h <<\_ACEOF
16259#define XIMCB_PROTO_BROKEN 1
16260_ACEOF
16261
16262fi
16263
16181echo "$as_me:$LINENO: checking for getpt" >&5 16264echo "$as_me:$LINENO: checking for getpt" >&5
16182echo $ECHO_N "checking for getpt... $ECHO_C" >&6 16265echo $ECHO_N "checking for getpt... $ECHO_C" >&6
16183if test "${rxvt_cv_func_getpt+set}" = set; then 16266if test "${rxvt_cv_func_getpt+set}" = set; then
16184 echo $ECHO_N "(cached) $ECHO_C" >&6 16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16185else 16268else
16364#define PTYCHAR2 "$pch2" 16447#define PTYCHAR2 "$pch2"
16365_ACEOF 16448_ACEOF
16366 16449
16367fi 16450fi
16368 16451
16452if test x$support_8bitctrls = xyes; then
16453
16454cat >>confdefs.h <<\_ACEOF
16455#define EIGHT_BIT_CONTROLS 1
16456_ACEOF
16457
16458fi
16459if test x$support_fading = xyes; then
16460
16461cat >>confdefs.h <<\_ACEOF
16462#define OFF_FOCUS_FADING 1
16463_ACEOF
16464
16465fi
16369if test x$support_tinting = xyes; then 16466if test x$support_tinting = xyes; then
16370 16467
16371cat >>confdefs.h <<\_ACEOF 16468cat >>confdefs.h <<\_ACEOF
16372#define TINTING 1 16469#define TINTING 1
16373_ACEOF 16470_ACEOF
16941 17038
16942 fi 17039 fi
16943fi 17040fi
16944 17041
16945 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile" 17042 ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/test/Makefile src/rxvtlib.h W11/Makefile"
17043
16946cat >confcache <<\_ACEOF 17044cat >confcache <<\_ACEOF
16947# This file is a shell script that caches the results of configure 17045# 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 17046# tests run on this system so they can be shared between configure
16949# scripts and configure runs, see configure's option --config-cache. 17047# 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 17048# It is not useful on other systems. If it contains results you don't

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines