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

Comparing rxvt-unicode/configure (file contents):
Revision 1.68 by root, Mon Jan 16 09:28:44 2006 UTC vs.
Revision 1.72 by root, Mon Jan 16 15:39:24 2006 UTC

877 --enable-lastlog enable lastlog support (requires --enable-utmp) 877 --enable-lastlog enable lastlog support (requires --enable-utmp)
878 --enable-xpm-background enable XPM background pixmaps 878 --enable-xpm-background enable XPM background pixmaps
879 --enable-transparency enable transparent backgrounds 879 --enable-transparency enable transparent backgrounds
880 --enable-tinting enable tinting of transparent bg 880 --enable-tinting enable tinting of transparent bg
881 --enable-fading enable colors fading when off focus 881 --enable-fading enable colors fading when off focus
882 --enable-menubar enable menubar
883 --enable-rxvt-scroll enable rxvt style scrollbar 882 --enable-rxvt-scroll enable rxvt style scrollbar
884 --enable-next-scroll enable NeXT style scrollbar 883 --enable-next-scroll enable NeXT style scrollbar
885 --enable-xterm-scroll enable Xterm style scrollbar 884 --enable-xterm-scroll enable Xterm style scrollbar
886 --enable-perl enable embedded perl interpreter 885 --enable-perl enable embedded perl interpreter
887 --enable-plain-scroll enable plain style scrollbar 886 --enable-plain-scroll enable plain style scrollbar
888 --enable-half-shadow use half width/height shadow on rxvt scrollbar
889 --enable-xim XIM (X Input Method) protocol support 887 --enable-xim XIM (X Input Method) protocol support
890 --enable-ttygid enable tty setting to group named "tty" 888 --enable-ttygid enable tty setting to group named "tty"
891 --disable-backspace-key disable handling of the backspace key 889 --disable-backspace-key disable handling of the backspace key
892 --disable-delete-key disable handling of the delete key 890 --disable-delete-key disable handling of the delete key
893 --disable-resources disable all resource checking 891 --disable-resources disable all resource checking
1371 1369
1372 1370
1373 1371
1374 1372
1375 1373
1374
1376ac_aux_dir= 1375ac_aux_dir=
1377for ac_dir in autoconf $srcdir/autoconf; do 1376for ac_dir in autoconf $srcdir/autoconf; do
1378 if test -f $ac_dir/install-sh; then 1377 if test -f $ac_dir/install-sh; then
1379 ac_aux_dir=$ac_dir 1378 ac_aux_dir=$ac_dir
1380 ac_install_sh="$ac_aux_dir/install-sh -c" 1379 ac_install_sh="$ac_aux_dir/install-sh -c"
1459VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1458VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1460DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1459DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1461echo "" 1460echo ""
1462echo "configuring for rxvt $VERSION" 1461echo "configuring for rxvt $VERSION"
1463echo "" 1462echo ""
1463
1464orig_CXXFLAGS="$CXXFLAGS"
1464 1465
1465 1466
1466ac_ext=c 1467ac_ext=c
1467ac_cpp='$CPP $CPPFLAGS' 1468ac_cpp='$CPP $CPPFLAGS'
1468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3099ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099ac_compiler_gnu=$ac_cv_c_compiler_gnu 3100ac_compiler_gnu=$ac_cv_c_compiler_gnu
3100 3101
3101 3102
3102if test -z "$orig_CXXFLAGS"; then 3103if test -z "$orig_CXXFLAGS"; then
3103 CXXFLAGS='-O'
3104 if test x$GCC = xyes && test "x$GXX" = xyes; then 3104 if test x$GCC = xyes && test "x$GXX" = xyes; then
3105 CXXFLAGS="-g -O3" 3105 CXXFLAGS="-g -O3"
3106 else
3107 CXXFLAGS="-O"
3106 fi 3108 fi
3107 CFLAGS="$CXXFLAGS" 3109 CFLAGS="$CXXFLAGS"
3108fi 3110fi
3109 3111
3110LINKER="$CXX" 3112LINKER="$CXX"
4322support_inheritpixmap=yes 4324support_inheritpixmap=yes
4323support_tinting=yes 4325support_tinting=yes
4324support_fading=yes 4326support_fading=yes
4325support_keepscrolling=yes 4327support_keepscrolling=yes
4326support_selectionscrolling=yes 4328support_selectionscrolling=yes
4327support_menubar=no
4328support_mousewheel=yes 4329support_mousewheel=yes
4329support_mouseslipwheel=yes 4330support_mouseslipwheel=yes
4330support_utmp=yes 4331support_utmp=yes
4331support_wtmp=yes 4332support_wtmp=yes
4332support_lastlog=yes 4333support_lastlog=yes
4369 support_tinting=no 4370 support_tinting=no
4370 support_fading=no 4371 support_fading=no
4371 support_keepscrolling=no 4372 support_keepscrolling=no
4372 support_selectionscrolling=no 4373 support_selectionscrolling=no
4373 support_lastlog=no 4374 support_lastlog=no
4374 support_menubar=no
4375 support_mousewheel=no 4375 support_mousewheel=no
4376 support_mouseslipwheel=no 4376 support_mouseslipwheel=no
4377 support_text_blink=no 4377 support_text_blink=no
4378 support_pointer_blank=no 4378 support_pointer_blank=no
4379 support_scroll_rxvt=no 4379 support_scroll_rxvt=no
4400 support_tinting=yes 4400 support_tinting=yes
4401 support_fading=yes 4401 support_fading=yes
4402 support_keepscrolling=yes 4402 support_keepscrolling=yes
4403 support_selectionscrolling=yes 4403 support_selectionscrolling=yes
4404 support_lastlog=yes 4404 support_lastlog=yes
4405 support_menubar=yes
4406 support_mousewheel=yes 4405 support_mousewheel=yes
4407 support_mouseslipwheel=yes 4406 support_mouseslipwheel=yes
4408 support_text_blink=yes 4407 support_text_blink=yes
4409 support_pointer_blank=yes 4408 support_pointer_blank=yes
4410 support_scroll_rxvt=yes 4409 support_scroll_rxvt=yes
4513 if test x$enableval = xyes -o x$enableval = xno; then 4512 if test x$enableval = xyes -o x$enableval = xno; then
4514 support_fading=$enableval 4513 support_fading=$enableval
4515 fi 4514 fi
4516fi; 4515fi;
4517 4516
4518# Check whether --enable-menubar or --disable-menubar was given.
4519if test "${enable_menubar+set}" = set; then
4520 enableval="$enable_menubar"
4521 if test x$enableval = xyes -o x$enableval = xno; then
4522 support_menubar=$enableval
4523 fi
4524fi;
4525
4526# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. 4517# Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given.
4527if test "${enable_rxvt_scroll+set}" = set; then 4518if test "${enable_rxvt_scroll+set}" = set; then
4528 enableval="$enable_rxvt_scroll" 4519 enableval="$enable_rxvt_scroll"
4529 if test x$enableval = xyes -o x$enableval = xno; then 4520 if test x$enableval = xyes -o x$enableval = xno; then
4530 support_scroll_rxvt=$enableval 4521 support_scroll_rxvt=$enableval
4561 if test x$enableval = xyes -o x$enableval = xno; then 4552 if test x$enableval = xyes -o x$enableval = xno; then
4562 support_scroll_plain=$enableval 4553 support_scroll_plain=$enableval
4563 fi 4554 fi
4564fi; 4555fi;
4565 4556
4566# Check whether --enable-half-shadow or --disable-half-shadow was given.
4567if test "${enable_half_shadow+set}" = set; then
4568 enableval="$enable_half_shadow"
4569 if test x$enableval = xyes; then
4570
4571cat >>confdefs.h <<\_ACEOF
4572#define HALFSHADOW 1
4573_ACEOF
4574
4575 fi
4576fi;
4577 4557
4578 4558
4579# Check whether --with-codesets or --without-codesets was given. 4559# Check whether --with-codesets or --without-codesets was given.
4580if test "${with_codesets+set}" = set; then 4560if test "${with_codesets+set}" = set; then
4581 withval="$with_codesets" 4561 withval="$with_codesets"
11976#define XIMCB_PROTO_BROKEN 1 11956#define XIMCB_PROTO_BROKEN 1
11977_ACEOF 11957_ACEOF
11978 11958
11979fi 11959fi
11980 11960
11981if test x$rxvt_cv_func_posix_openpt = xno; then 11961if test x$ac_cv_func_posix_openpt = xno; then
11982 echo "$as_me:$LINENO: checking for openpty" >&5 11962 echo "$as_me:$LINENO: checking for openpty" >&5
11983echo $ECHO_N "checking for openpty... $ECHO_C" >&6 11963echo $ECHO_N "checking for openpty... $ECHO_C" >&6
11984if test "${ac_cv_func_openpty+set}" = set; then 11964if test "${ac_cv_func_openpty+set}" = set; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6 11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11986else 11966else
12221cat >>confdefs.h <<\_ACEOF 12201cat >>confdefs.h <<\_ACEOF
12222#define PTYS_ARE__GETPTY 1 12202#define PTYS_ARE__GETPTY 1
12223_ACEOF 12203_ACEOF
12224 12204
12225fi 12205fi
12226if test x$rxvt_cv_ptys = xGLIBC; then
12227
12228cat >>confdefs.h <<\_ACEOF
12229#define PTYS_ARE_GETPT 1
12230_ACEOF
12231
12232fi
12233if test x$rxvt_cv_ptys = xHPUX; then 12206if test x$rxvt_cv_ptys = xHPUX; then
12234 12207
12235cat >>confdefs.h <<\_ACEOF 12208cat >>confdefs.h <<\_ACEOF
12236#define PTYS_ARE_CLONE 1 12209#define PTYS_ARE_CLONE 1
12237_ACEOF 12210_ACEOF
12238 12211
12239fi 12212fi
12240if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then 12213if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then
12241 12214
12242cat >>confdefs.h <<\_ACEOF 12215cat >>confdefs.h <<\_ACEOF
12243#define PTYS_ARE_SEARCHED 1 12216#define PTYS_ARE_SEARCHED 1
12244_ACEOF 12217_ACEOF
12245 12218
12556fi 12529fi
12557if test x$support_selectionscrolling = xyes; then 12530if test x$support_selectionscrolling = xyes; then
12558 12531
12559cat >>confdefs.h <<\_ACEOF 12532cat >>confdefs.h <<\_ACEOF
12560#define SELECTION_SCROLLING 1 12533#define SELECTION_SCROLLING 1
12561_ACEOF
12562
12563fi
12564if test x$support_menubar = xyes; then
12565
12566cat >>confdefs.h <<\_ACEOF
12567#define MENUBAR 1
12568_ACEOF 12534_ACEOF
12569 12535
12570fi 12536fi
12571if test x$support_frills = xyes; then 12537if test x$support_frills = xyes; then
12572 12538

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines