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

Comparing rxvt-unicode/configure (file contents):
Revision 1.113 by ayin, Tue Sep 18 12:17:58 2007 UTC vs.
Revision 1.115 by ayin, Mon Nov 5 01:04:43 2007 UTC

1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --enable-everything enable standard non-multichoice features 1319 --enable-everything enable standard non-multichoice features
1320 NOTE: this option is order dependent 1320 NOTE: this option is order dependent
1321 NOTE: automatically enabled with --enable-shared 1321 NOTE: automatically enabled with --enable-shared
1322 --enable-warnings turn on g++ warnings
1322 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1323 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1323 --enable-combining enable composition of base and combining characters 1324 --enable-combining enable composition of base and combining characters
1324 --enable-xft enable xft support on systems that have it 1325 --enable-xft enable xft support on systems that have it
1325 --enable-font-styles enable bold and italic support 1326 --enable-font-styles enable bold and italic support
1326 --enable-afterimage enable integration with libAfterImage for background images 1327 --enable-afterimage enable integration with libAfterImage for background images
1334 --enable-xim XIM (X Input Method) protocol support 1335 --enable-xim XIM (X Input Method) protocol support
1335 --disable-backspace-key disable handling of the backspace key 1336 --disable-backspace-key disable handling of the backspace key
1336 --disable-delete-key disable handling of the delete key 1337 --disable-delete-key disable handling of the delete key
1337 --disable-resources disable all resource checking 1338 --disable-resources disable all resource checking
1338 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1339 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1339 --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) 1340 --enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt)
1340 --disable-swapscreen disable swap screen support 1341 --disable-swapscreen disable swap screen support
1341 --enable-iso14755 enable support for extended ISO 14755 modes 1342 --enable-iso14755 enable support for extended ISO 14755 modes
1342 --enable-frills enable support for rarely used features 1343 --enable-frills enable support for rarely used features
1343 --enable-keepscrolling enable continual scrolling on scrollbar arrow press 1344 --enable-keepscrolling enable continual scrolling on scrollbar arrow press
1344 --enable-selectionscrolling enable scrolling during selections 1345 --enable-selectionscrolling enable scrolling during selections
1345 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1346 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1346 --enable-slipwheeling enable slip wheel scrolling (requires previous) 1347 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
1347 --enable-smart-resize enable smart growth/shrink behaviour 1348 --enable-smart-resize enable smart growth/shrink behaviour
1348 --enable-text-blink enable blinking text 1349 --enable-text-blink enable blinking text
1349 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1350 --enable-pointer-blank enable pointer blank when typing or inactive pointer
1350 --enable-utmp enable utmp (utmpx) support 1351 --enable-utmp enable utmp (utmpx) support
1351 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1352 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1353 1354
1354Optional Packages: 1355Optional Packages:
1355 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1356 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1356 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1357 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1357 --with-afterimage-config=DIR use libAfterImage config script in DIR 1358 --with-afterimage-config=DIR use libAfterImage config script in DIR
1358 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) 1359 --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)
1359 --with-res-name=NAME use this as default resource name (default: urxvt) 1360 --with-res-name=NAME use this as default resource name (default: urxvt)
1360 --with-res-class=CLASS use this as the resource class (default: URxvt) 1361 --with-res-class=CLASS use this as the resource class (default: URxvt)
1361 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1362 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1362 --with-term=NAME set the terminal to NAME (default: rxvt) 1363 --with-term=NAME set the terminal to NAME (default: rxvt)
1363 --with-terminfo=PATH set the path to the terminfo tree to PATH 1364 --with-terminfo=PATH set the path to the terminfo tree to PATH
3869LINKER=$LINKER 3870LINKER=$LINKER
3870 3871
3871 3872
3872if test -z "$orig_CXXFLAGS"; then 3873if test -z "$orig_CXXFLAGS"; then
3873 if test x$GCC = xyes && test "x$GXX" = xyes; then 3874 if test x$GCC = xyes && test "x$GXX" = xyes; then
3874 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3875 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3875 cat >conftest.$ac_ext <<_ACEOF 3876 cat >conftest.$ac_ext <<_ACEOF
3876/* confdefs.h. */ 3877/* confdefs.h. */
3877_ACEOF 3878_ACEOF
3878cat confdefs.h >>conftest.$ac_ext 3879cat confdefs.h >>conftest.$ac_ext
3879cat >>conftest.$ac_ext <<_ACEOF 3880cat >>conftest.$ac_ext <<_ACEOF
4491 fi 4492 fi
4492 4493
4493fi 4494fi
4494 4495
4495 4496
4497WARNINGS=no
4498# Check whether --enable-warnings was given.
4499if test "${enable_warnings+set}" = set; then
4500 enableval=$enable_warnings; if test x$enableval = xyes; then
4501 WARNINGS=yes
4502 fi
4503fi
4504
4505if test x$GXX = xyes; then
4506 if test $WARNINGS = yes; then
4507 save_CXXFLAGS="$CXXFLAGS"
4508 CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor"
4509 cat >conftest.$ac_ext <<_ACEOF
4510/* confdefs.h. */
4511_ACEOF
4512cat confdefs.h >>conftest.$ac_ext
4513cat >>conftest.$ac_ext <<_ACEOF
4514/* end confdefs.h. */
4515
4516int
4517main ()
4518{
4519
4520 ;
4521 return 0;
4522}
4523_ACEOF
4524rm -f conftest.$ac_objext
4525if { (ac_try="$ac_compile"
4526case "(($ac_try" in
4527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4528 *) ac_try_echo=$ac_try;;
4529esac
4530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4531 (eval "$ac_compile") 2>conftest.er1
4532 ac_status=$?
4533 grep -v '^ *+' conftest.er1 >conftest.err
4534 rm -f conftest.er1
4535 cat conftest.err >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); } && {
4538 test -z "$ac_cxx_werror_flag" ||
4539 test ! -s conftest.err
4540 } && test -s conftest.$ac_objext; then
4541 :
4542else
4543 echo "$as_me: failed program was:" >&5
4544sed 's/^/| /' conftest.$ac_ext >&5
4545
4546 CXXFLAGS="$save_CXXFLAGS"
4547fi
4548
4549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550 else
4551 CXXFLAGS="$CXXFLAGS -w"
4552 fi
4553fi
4554
4496# Check whether --enable-unicode3 was given. 4555# Check whether --enable-unicode3 was given.
4497if test "${enable_unicode3+set}" = set; then 4556if test "${enable_unicode3+set}" = set; then
4498 enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then 4557 enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then
4499 support_unicode3=$enableval 4558 support_unicode3=$enableval
4500 fi 4559 fi
9577_ACEOF 9636_ACEOF
9578 9637
9579 9638
9580 9639
9581 9640
9582
9583
9584for ac_func in \ 9641for ac_func in unsetenv
9585 unsetenv \
9586 setutent \
9587 on_exit \
9588
9589do 9642do
9590as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9643as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9591{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9644{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9592echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9645echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9593if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9646if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9732 9785
9733 9786
9734 9787
9735 9788
9736for ac_func in \ 9789for ac_func in \
9737 ttyslot \
9738 updwtmp \ 9790 updwtmp \
9739 updwtmpx \ 9791 updwtmpx \
9792 updlastlogx \
9740 9793
9741do 9794do
9742as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9795as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9743{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9796{ echo "$as_me:$LINENO: checking for $ac_func" >&5
9744echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9797echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11165 11218
11166cat >>confdefs.h <<_ACEOF 11219cat >>confdefs.h <<_ACEOF
11167#define LASTLOG_FILE "$path_lastlog" 11220#define LASTLOG_FILE "$path_lastlog"
11168_ACEOF 11221_ACEOF
11169 11222
11170 if test -d "$path_lastlog"; then
11171
11172cat >>confdefs.h <<\_ACEOF
11173#define LASTLOG_IS_DIR 1
11174_ACEOF
11175
11176 fi
11177fi 11223fi
11178 11224
11179{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5 11225{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5
11180echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } 11226echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; }
11181if test "${path_lastlogx+set}" = set; then 11227if test "${path_lastlogx+set}" = set; then
11263 11309
11264fi 11310fi
11265 11311
11266 11312
11267 11313
11268{ echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11269echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; }
11270if test "${rxvt_cv_path_ttytab+set}" = set; then
11271 echo $ECHO_N "(cached) $ECHO_C" >&6
11272else
11273 for ttys_file in /etc/ttys /etc/ttytab;
11274do
11275 if test -f "$ttys_file" ; then
11276 rxvt_cv_path_ttytab=$ttys_file
11277 break
11278 fi
11279done
11280 11314
11281fi
11282{ echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5
11283echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; }
11284if test x$rxvt_cv_path_ttytab != x; then
11285
11286cat >>confdefs.h <<_ACEOF
11287#define TTYTAB_FILENAME "$rxvt_cv_path_ttytab"
11288_ACEOF
11289
11290fi
11291
11292
11293ac_save_LIBS=$LIBS 11315save_LIBS=$LIBS
11294ac_save_CFLAGS=$CFLAGS 11316save_CFLAGS=$CFLAGS
11295CFLAGS="$CFLAGS $X_CFLAGS" 11317CFLAGS="$CFLAGS $X_CFLAGS"
11296LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11318LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11297if test x$support_xim = xyes; then 11319if test x$support_xim = xyes; then
11298 { echo "$as_me:$LINENO: checking for working Xlocale" >&5 11320 { echo "$as_me:$LINENO: checking for working Xlocale" >&5
11299echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } 11321echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; }
11474cat >>confdefs.h <<\_ACEOF 11496cat >>confdefs.h <<\_ACEOF
11475#define HAVE_XSETLOCALE 1 11497#define HAVE_XSETLOCALE 1
11476_ACEOF 11498_ACEOF
11477 11499
11478fi 11500fi
11479LIBS=$ac_save_LIBS 11501LIBS=$save_LIBS
11480CFLAGS=$ac_save_CFLAGS 11502CFLAGS=$save_CFLAGS
11481 11503
11482{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5 11504{ echo "$as_me:$LINENO: checking for working plain setlocale" >&5
11483echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } 11505echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; }
11484if test "${rxvt_cv_func_setlocale+set}" = set; then 11506if test "${rxvt_cv_func_setlocale+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6 11507 echo $ECHO_N "(cached) $ECHO_C" >&6

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines