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

Comparing rxvt-unicode/configure (file contents):
Revision 1.18 by pcg, Sat Mar 6 00:05:00 2004 UTC vs.
Revision 1.24 by pcg, Fri Apr 2 17:59:49 2004 UTC

1036 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
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-menubar enable menubar 1042 --enable-menubar enable menubar
1042 --enable-rxvt-scroll enable rxvt style scrollbar 1043 --enable-rxvt-scroll enable rxvt style scrollbar
1043 --enable-next-scroll enable NeXT style scrollbar 1044 --enable-next-scroll enable NeXT style scrollbar
1044 --enable-xterm-scroll enable Xterm style scrollbar 1045 --enable-xterm-scroll enable Xterm style scrollbar
1045 --enable-plain-scroll enable plain style scrollbar 1046 --enable-plain-scroll enable plain style scrollbar
1058 --enable-24bit enable support for using 24bit visuals if available 1059 --enable-24bit enable support for using 24bit visuals if available
1059 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1060 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1060 --enable-selectionscrolling enable scrolling during selections 1061 --enable-selectionscrolling enable scrolling during selections
1061 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1062 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1062 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1063 --enable-slipwheeling enable slip wheel scrolling (requires previous)
1063 --enable-old-selection enable v2.20 (& prior) mouse selection style support
1064 --disable-new-selection disable new mouse (xterm) selection style support
1065 --enable-dmalloc enable Gray Watson's malloc - for debugging use 1064 --enable-dmalloc enable Gray Watson's malloc - for debugging use
1066 --enable-dlmalloc enable Doug Lea's malloc - for production use 1065 --enable-dlmalloc enable Doug Lea's malloc - for production use
1067 NOTE: enable only one malloc package 1066 NOTE: enable only one malloc package
1068 --enable-smart-resize enable smart growth/shrink behaviour 1067 --enable-smart-resize enable smart growth/shrink behaviour
1069 --enable-256-color enable 256-color support 1068 --enable-256-color enable 256-color support
3281LINKER=$LINKER 3280LINKER=$LINKER
3282 3281
3283 3282
3284CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3285 3284
3286if test x$GXX = xyes; then
3287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3288fi
3289 3285
3290ac_ext=cc 3286ac_ext=cc
3291ac_cpp='$CXXCPP $CPPFLAGS' 3287ac_cpp='$CXXCPP $CPPFLAGS'
3292ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035# Some flags need to be propagated to the compiler or linker for good 5031# Some flags need to be propagated to the compiler or linker for good
5036# libtool support. 5032# libtool support.
5037case "$host" in 5033case "$host" in
5038*-*-irix6*) 5034*-*-irix6*)
5039 # Find out which ABI we are using. 5035 # Find out which ABI we are using.
5040 echo '#line 5040 "configure"' > conftest.$ac_ext 5036 echo '#line 5036 "configure"' > conftest.$ac_ext
5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 (eval $ac_compile) 2>&5 5038 (eval $ac_compile) 2>&5
5043 ac_status=$? 5039 ac_status=$?
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; then 5041 (exit $ac_status); }; then
5586# builds. 5582# builds.
5587chmod -w . 5583chmod -w .
5588save_CFLAGS="$CFLAGS" 5584save_CFLAGS="$CFLAGS"
5589CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5585CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5590compiler_c_o=no 5586compiler_c_o=no
5591if { (eval echo configure:5591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5587if { (eval echo configure:5587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5592 # The compiler can only warn and ignore the option if not recognized 5588 # The compiler can only warn and ignore the option if not recognized
5593 # So say no if there are warnings 5589 # So say no if there are warnings
5594 if test -s out/conftest.err; then 5590 if test -s out/conftest.err; then
5595 compiler_c_o=no 5591 compiler_c_o=no
5596 else 5592 else
7202 lt_cv_dlopen_self=cross 7198 lt_cv_dlopen_self=cross
7203else 7199else
7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7205 lt_status=$lt_dlunknown 7201 lt_status=$lt_dlunknown
7206 cat > conftest.$ac_ext <<EOF 7202 cat > conftest.$ac_ext <<EOF
7207#line 7207 "configure" 7203#line 7203 "configure"
7208#include "confdefs.h" 7204#include "confdefs.h"
7209 7205
7210#if HAVE_DLFCN_H 7206#if HAVE_DLFCN_H
7211#include <dlfcn.h> 7207#include <dlfcn.h>
7212#endif 7208#endif
7300 lt_cv_dlopen_self_static=cross 7296 lt_cv_dlopen_self_static=cross
7301else 7297else
7302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7303 lt_status=$lt_dlunknown 7299 lt_status=$lt_dlunknown
7304 cat > conftest.$ac_ext <<EOF 7300 cat > conftest.$ac_ext <<EOF
7305#line 7305 "configure" 7301#line 7301 "configure"
7306#include "confdefs.h" 7302#include "confdefs.h"
7307 7303
7308#if HAVE_DLFCN_H 7304#if HAVE_DLFCN_H
7309#include <dlfcn.h> 7305#include <dlfcn.h>
7310#endif 7306#endif
8033MALLOC_TYPE=S 8029MALLOC_TYPE=S
8034support_addstrings=no 8030support_addstrings=no
8035support_frills=no 8031support_frills=no
8036support_linespace=no 8032support_linespace=no
8037support_inheritpixmap=no 8033support_inheritpixmap=no
8034support_tinting=no
8038support_keepscrolling=no 8035support_keepscrolling=no
8039support_selectionscrolling=no 8036support_selectionscrolling=no
8040support_menubar=no 8037support_menubar=no
8041support_mousewheel=no 8038support_mousewheel=no
8042support_mouseslipwheel=no 8039support_mouseslipwheel=no
8043support_oldselection=no
8044support_utmp=no 8040support_utmp=no
8045support_wtmp=no 8041support_wtmp=no
8046support_lastlog=no 8042support_lastlog=no
8047support_cursor_blink=no 8043support_cursor_blink=no
8048support_text_blink=no 8044support_text_blink=no
8075 if test x$enableval = xyes; then 8071 if test x$enableval = xyes; then
8076 support_24bit=yes 8072 support_24bit=yes
8077 support_frills=yes 8073 support_frills=yes
8078 support_linespace=yes 8074 support_linespace=yes
8079 support_inheritpixmap=yes 8075 support_inheritpixmap=yes
8076 support_tinting=yes
8080 support_keepscrolling=yes 8077 support_keepscrolling=yes
8081 support_selectionscrolling=yes 8078 support_selectionscrolling=yes
8082 support_lastlog=yes 8079 support_lastlog=yes
8083 support_menubar=yes 8080 support_menubar=yes
8084 support_mousewheel=yes 8081 support_mousewheel=yes
8085 support_mouseslipwheel=yes 8082 support_mouseslipwheel=yes
8086 support_oldselection=yes
8087 support_cursor_blink=yes 8083 support_cursor_blink=yes
8088 support_text_blink=yes 8084 support_text_blink=yes
8089 support_pointer_blank=yes 8085 support_pointer_blank=yes
8090 support_scroll_rxvt=yes 8086 support_scroll_rxvt=yes
8091 support_scroll_next=yes 8087 support_scroll_next=yes
8164 if test x$enableval = xyes -o x$enableval = xno; then 8160 if test x$enableval = xyes -o x$enableval = xno; then
8165 support_inheritpixmap=$enableval 8161 support_inheritpixmap=$enableval
8166 fi 8162 fi
8167fi; 8163fi;
8168 8164
8165# Check whether --enable-tinting or --disable-tinting was given.
8166if test "${enable_tinting+set}" = set; then
8167 enableval="$enable_tinting"
8168 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_tinting=$enableval
8170 fi
8171fi;
8172
8169# Check whether --enable-menubar or --disable-menubar was given. 8173# Check whether --enable-menubar or --disable-menubar was given.
8170if test "${enable_menubar+set}" = set; then 8174if test "${enable_menubar+set}" = set; then
8171 enableval="$enable_menubar" 8175 enableval="$enable_menubar"
8172 if test x$enableval = xyes -o x$enableval = xno; then 8176 if test x$enableval = xyes -o x$enableval = xno; then
8173 support_menubar=$enableval 8177 support_menubar=$enableval
8420# Check whether --enable-slipwheeling or --disable-slipwheeling was given. 8424# Check whether --enable-slipwheeling or --disable-slipwheeling was given.
8421if test "${enable_slipwheeling+set}" = set; then 8425if test "${enable_slipwheeling+set}" = set; then
8422 enableval="$enable_slipwheeling" 8426 enableval="$enable_slipwheeling"
8423 if test x$enableval = xyes -o x$enableval = xno; then 8427 if test x$enableval = xyes -o x$enableval = xno; then
8424 support_mouseslipwheel=$enableval 8428 support_mouseslipwheel=$enableval
8425 fi
8426fi;
8427
8428# Check whether --enable-old-selection or --disable-old-selection was given.
8429if test "${enable_old_selection+set}" = set; then
8430 enableval="$enable_old_selection"
8431 if test x$enableval = xyes -o x$enableval = xno; then
8432 support_oldselection=$enableval
8433 fi
8434fi;
8435
8436# Check whether --enable-new-selection or --disable-new-selection was given.
8437if test "${enable_new_selection+set}" = set; then
8438 enableval="$enable_new_selection"
8439 if test x$enableval = xno; then
8440
8441cat >>confdefs.h <<\_ACEOF
8442#define NO_NEW_SELECTION 1
8443_ACEOF
8444
8445 fi 8429 fi
8446fi; 8430fi;
8447 8431
8448# Check whether --enable-dmalloc or --disable-dmalloc was given. 8432# Check whether --enable-dmalloc or --disable-dmalloc was given.
8449if test "${enable_dmalloc+set}" = set; then 8433if test "${enable_dmalloc+set}" = set; then
8875fi 8859fi
8876 8860
8877 8861
8878 8862
8879 8863
8864
8865if test "x$ac_path_x_has_been_run" != xyes; then
8880echo "$as_me:$LINENO: checking for X" >&5 8866 echo "$as_me:$LINENO: checking for X" >&5
8881echo $ECHO_N "checking for X... $ECHO_C" >&6 8867echo $ECHO_N "checking for X... $ECHO_C" >&6
8882 8868
8869ac_path_x_has_been_run=yes
8883 8870
8884# Check whether --with-x or --without-x was given. 8871# Check whether --with-x or --without-x was given.
8885if test "${with_x+set}" = set; then 8872if test "${with_x+set}" = set; then
8886 withval="$with_x" 8873 withval="$with_x"
8887 8874
8970 8957
8971/usr/openwin/include 8958/usr/openwin/include
8972/usr/openwin/share/include' 8959/usr/openwin/share/include'
8973 8960
8974if test "$ac_x_includes" = no; then 8961if test "$ac_x_includes" = no; then
8975 # Guess where to find include files, by looking for Intrinsic.h. 8962 # Guess where to find include files, by looking for a specified header file.
8976 # First, try using that file with no special directory specified. 8963 # First, try using that file with no special directory specified.
8977 cat >conftest.$ac_ext <<_ACEOF 8964 cat >conftest.$ac_ext <<_ACEOF
8978/* confdefs.h. */ 8965/* confdefs.h. */
8979_ACEOF 8966_ACEOF
8980cat confdefs.h >>conftest.$ac_ext 8967cat confdefs.h >>conftest.$ac_ext
9104 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9091 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9105 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9092 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9106 # Update the cache value to reflect the command line values. 9093 # Update the cache value to reflect the command line values.
9107 ac_cv_have_x="have_x=yes \ 9094 ac_cv_have_x="have_x=yes \
9108 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9095 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9096 # It might be that x_includes is empty (headers are found in the
9097 # standard search path. Then output the corresponding message
9098 ac_out_x_includes=$x_includes
9099 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9109 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9100 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9110echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9101echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9111fi 9102fi
9112 9103
9104fi
9113if test "$no_x" = yes; then 9105if test "$no_x" = yes; then
9114 # Not all programs may use this symbol, but it does not hurt to define it. 9106 # Not all programs may use this symbol, but it does not hurt to define it.
9115 9107
9116cat >>confdefs.h <<\_ACEOF 9108cat >>confdefs.h <<\_ACEOF
9117#define X_DISPLAY_MISSING 1 9109#define X_DISPLAY_MISSING 1
16237if test $ac_cv_lib_xpg4_setlocale = yes; then 16229if test $ac_cv_lib_xpg4_setlocale = yes; then
16238 LIBS="$LIBS -lxpg4" 16230 LIBS="$LIBS -lxpg4"
16239fi 16231fi
16240 16232
16241 16233
16234if test x$support_tinting = xyes; then
16235
16236cat >>confdefs.h <<\_ACEOF
16237#define TINTING 1
16238_ACEOF
16239
16240fi
16242if test x$support_inheritpixmap = xyes; then 16241if test x$support_inheritpixmap = xyes; then
16243 16242
16244cat >>confdefs.h <<\_ACEOF 16243cat >>confdefs.h <<\_ACEOF
16245#define TRANSPARENT 1 16244#define TRANSPARENT 1
16246_ACEOF 16245_ACEOF
16300cat >>confdefs.h <<\_ACEOF 16299cat >>confdefs.h <<\_ACEOF
16301#define MOUSE_SLIP_WHEELING 1 16300#define MOUSE_SLIP_WHEELING 1
16302_ACEOF 16301_ACEOF
16303 16302
16304fi 16303fi
16305if test x$support_oldselection = xno; then
16306
16307cat >>confdefs.h <<\_ACEOF
16308#define NO_OLD_SELECTION 1
16309_ACEOF
16310
16311fi
16312if test x$support_utmp = xyes; then 16304if test x$support_utmp = xyes; then
16313 16305
16314cat >>confdefs.h <<\_ACEOF 16306cat >>confdefs.h <<\_ACEOF
16315#define UTMP_SUPPORT 1 16307#define UTMP_SUPPORT 1
16316_ACEOF 16308_ACEOF
16407 16399
16408fi 16400fi
16409if test x$support_combining = xyes; then 16401if test x$support_combining = xyes; then
16410 16402
16411cat >>confdefs.h <<\_ACEOF 16403cat >>confdefs.h <<\_ACEOF
16412#define ENCODING_COMPOSE 1 16404#define ENABLE_COMBINING 1
16413_ACEOF 16405_ACEOF
16414 16406
16415fi 16407fi
16416if test x$codesets = xall; then 16408if test x$codesets = xall; then
16417 codesets=jp,jp-ext,kr,cn,cn-ext 16409 codesets=jp,jp-ext,kr,cn,cn-ext
18031echo " 18023echo "
18032The following are set in config.h 18024The following are set in config.h
18033" 18025"
18034echo " pty/tty type: "$rxvt_cv_ptys 18026echo " pty/tty type: "$rxvt_cv_ptys
18035if test x$support_utmp != xyes; then 18027if test x$support_utmp != xyes; then
18036 echo " utmp support: disabled 18028 echo " utmp support: disabled"
18037" 18029 echo
18038else 18030else
18039 echo " utmp support: enabled 18031 echo " utmp support: enabled
18040 utmp file: $rxvt_cv_path_utmp 18032 utmp file: $rxvt_cv_path_utmp
18041 utmpx file: $rxvt_cv_path_utmpx 18033 utmpx file: $rxvt_cv_path_utmpx
18042 wtmp file: $rxvt_cv_path_wtmp 18034 wtmp file: $rxvt_cv_path_wtmp
18043 wtmpx file: $rxvt_cv_path_wtmpx 18035 wtmpx file: $rxvt_cv_path_wtmpx
18044 lastlog file: $rxvt_cv_path_lastlog 18036 lastlog file: $rxvt_cv_path_lastlog
18045 ttys/ttytab file: $rxvt_cv_path_ttytab 18037 ttys/ttytab file: $rxvt_cv_path_ttytab"
18046" 18038 echo
18047fi 18039fi
18048if test x$term != x; then 18040if test x$term != x; then
18049 echo " set TERM to: $term" 18041 echo " set TERM to: $term"
18050fi 18042fi
18051if test x$terminfo != x; then 18043if test x$terminfo != x; then
18078 echo ". WARNING: --enable-xim was specified however the locale support ." 18070 echo ". WARNING: --enable-xim was specified however the locale support ."
18079 echo ". functions could not be found. ." 18071 echo ". functions could not be found. ."
18080 echo ". XIM is now being DISABLED! ." 18072 echo ". XIM is now being DISABLED! ."
18081 echo ".----------------------------------------------------------------." 18073 echo ".----------------------------------------------------------------."
18082fi 18074fi
18075
18083echo " *** Please check src/feature.h for further options *** 18076echo " *** Please check src/feature.h for further options ***"
18084" 18077echo
18078
18079echo ".----------------------------------------------------------------."
18080echo ". NOTE: most features are disabled by default, try ."
18081echo ". configure --help to get an idea of the optional features ."
18082echo ".----------------------------------------------------------------."
18083echo
18084

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines