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

Comparing rxvt-unicode/configure (file contents):
Revision 1.146 by root, Wed Jun 22 15:18:05 2011 UTC vs.
Revision 1.148 by root, Wed Nov 16 20:22:12 2011 UTC

601PERL 601PERL
602XFT_CONFIG 602XFT_CONFIG
603AFTERIMAGE_LIBS 603AFTERIMAGE_LIBS
604AFTERIMAGE_CFLAGS 604AFTERIMAGE_CFLAGS
605afterimage_config 605afterimage_config
606STARTUP_NOTIFICATION_LIBS
607STARTUP_NOTIFICATION_CFLAGS
606PIXBUF_LIBS 608PIXBUF_LIBS
607PIXBUF_CFLAGS 609PIXBUF_CFLAGS
608PKG_CONFIG 610PKG_CONFIG
609X_EXTRA_LIBS 611X_EXTRA_LIBS
610X_LIBS 612X_LIBS
691enable_xft 693enable_xft
692enable_font_styles 694enable_font_styles
693enable_afterimage 695enable_afterimage
694with_afterimage_config 696with_afterimage_config
695enable_pixbuf 697enable_pixbuf
698enable_startup_notification
696enable_transparency 699enable_transparency
697enable_fading 700enable_fading
698enable_rxvt_scroll 701enable_rxvt_scroll
699enable_next_scroll 702enable_next_scroll
700enable_xterm_scroll 703enable_xterm_scroll
1366 --enable-combining enable composition of base and combining characters 1369 --enable-combining enable composition of base and combining characters
1367 --enable-xft enable xft support on systems that have it 1370 --enable-xft enable xft support on systems that have it
1368 --enable-font-styles enable bold and italic support 1371 --enable-font-styles enable bold and italic support
1369 --enable-afterimage enable integration with libAfterImage for background images 1372 --enable-afterimage enable integration with libAfterImage for background images
1370 --enable-pixbuf enable integration with gdk-pixbuf for background images 1373 --enable-pixbuf enable integration with gdk-pixbuf for background images
1374 --enable-startup-notification enable freedesktop startup notification support
1371 --enable-transparency enable transparent backgrounds 1375 --enable-transparency enable transparent backgrounds
1372 --enable-fading enable colors fading when off focus 1376 --enable-fading enable colors fading when off focus
1373 --enable-rxvt-scroll enable rxvt style scrollbar 1377 --enable-rxvt-scroll enable rxvt style scrollbar
1374 --enable-next-scroll enable NeXT style scrollbar 1378 --enable-next-scroll enable NeXT style scrollbar
1375 --enable-xterm-scroll enable Xterm style scrollbar 1379 --enable-xterm-scroll enable Xterm style scrollbar
4665support_scroll_rxvt=yes 4669support_scroll_rxvt=yes
4666support_scroll_next=yes 4670support_scroll_next=yes
4667support_scroll_xterm=yes 4671support_scroll_xterm=yes
4668support_xim=yes 4672support_xim=yes
4669support_pixbuf=yes 4673support_pixbuf=yes
4674support_startup_notification=yes
4670support_afterimage=yes 4675support_afterimage=yes
4671support_xft=yes 4676support_xft=yes
4672support_unicode3=no 4677support_unicode3=no
4673support_combining=yes 4678support_combining=yes
4674support_8bitctrls=no 4679support_8bitctrls=no
4697 support_scroll_xterm=no 4702 support_scroll_xterm=no
4698 support_utmp=no 4703 support_utmp=no
4699 support_wtmp=no 4704 support_wtmp=no
4700 support_xim=no 4705 support_xim=no
4701 support_pixbuf=no 4706 support_pixbuf=no
4707 support_startup_notification=no
4702 support_afterimage=no 4708 support_afterimage=no
4703 support_xft=no 4709 support_xft=no
4704 support_unicode3=no 4710 support_unicode3=no
4705 support_combining=no 4711 support_combining=no
4706 support_8bitctrls=no 4712 support_8bitctrls=no
4725 support_scroll_xterm=yes 4731 support_scroll_xterm=yes
4726 support_utmp=yes 4732 support_utmp=yes
4727 support_wtmp=yes 4733 support_wtmp=yes
4728 support_xim=yes 4734 support_xim=yes
4729 support_pixbuf=yes 4735 support_pixbuf=yes
4736 support_startup_notification=yes
4730 support_afterimage=yes 4737 support_afterimage=yes
4731 support_xft=yes 4738 support_xft=yes
4732 support_unicode3=yes 4739 support_unicode3=yes
4733 support_combining=yes 4740 support_combining=yes
4734 #support_8bitctrls=yes 4741 #support_8bitctrls=yes
4854 4861
4855# Check whether --enable-pixbuf was given. 4862# Check whether --enable-pixbuf was given.
4856if test "${enable_pixbuf+set}" = set; then : 4863if test "${enable_pixbuf+set}" = set; then :
4857 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then 4864 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then
4858 support_pixbuf=$enableval 4865 support_pixbuf=$enableval
4866 fi
4867fi
4868
4869
4870# Check whether --enable-startup-notification was given.
4871if test "${enable_startup_notification+set}" = set; then :
4872 enableval=$enable_startup_notification; if test x$enableval = xyes -o x$enableval = xno; then
4873 support_startup_notification=$enableval
4859 fi 4874 fi
4860fi 4875fi
4861 4876
4862 4877
4863# Check whether --enable-transparency was given. 4878# Check whether --enable-transparency was given.
6338fi 6353fi
6339 6354
6340 6355
6341 6356
6342 6357
6358STARTUP_NOTIFICATION_CFLAGS=
6359STARTUP_NOTIFICATION_LIBS=
6360
6361if test x$support_startup_notification = xyes; then
6362 support_startup_notification=no
6363 # Extract the first word of "pkg-config", so it can be a program name with args.
6364set dummy pkg-config; ac_word=$2
6365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366$as_echo_n "checking for $ac_word... " >&6; }
6367if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6368 $as_echo_n "(cached) " >&6
6369else
6370 case $PKG_CONFIG in
6371 [\\/]* | ?:[\\/]*)
6372 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6373 ;;
6374 *)
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376for as_dir in $PATH
6377do
6378 IFS=$as_save_IFS
6379 test -z "$as_dir" && as_dir=.
6380 for ac_exec_ext in '' $ac_executable_extensions; do
6381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6382 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6384 break 2
6385 fi
6386done
6387 done
6388IFS=$as_save_IFS
6389
6390 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6391 ;;
6392esac
6393fi
6394PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6395if test -n "$PKG_CONFIG"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6397$as_echo "$PKG_CONFIG" >&6; }
6398else
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400$as_echo "no" >&6; }
6401fi
6402
6403
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5
6405$as_echo_n "checking for libstartup-notification... " >&6; }
6406 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then
6407 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`"
6408 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`"
6409 support_startup_notification=yes
6410 fi
6411
6412 if test x$support_startup_notification = xyes; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6414$as_echo "ok" >&6; }
6415
6416$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h
6417
6418 else
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420$as_echo "no" >&6; }
6421 fi
6422fi
6423
6424
6425
6426
6343AFTERIMAGE_CFLAGS= 6427AFTERIMAGE_CFLAGS=
6344AFTERIMAGE_LIBS= 6428AFTERIMAGE_LIBS=
6345AFTERIMAGE_VERSION= 6429AFTERIMAGE_VERSION=
6346 6430
6347if test x$support_afterimage = xyes; then 6431if test x$support_afterimage = xyes; then
6890#include <sys/types.h> 6974#include <sys/types.h>
6891#include <utmp.h> 6975#include <utmp.h>
6892 6976
6893int main() 6977int main()
6894{ 6978{
6895 char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; 6979 const char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL };
6896 FILE *f = fopen("conftestval", "w"); 6980 FILE *f = fopen("conftestval", "w");
6897 if (!f) return 1; 6981 if (!f) return 1;
6898#ifdef UTMP_FILE 6982#ifdef UTMP_FILE
6899 fprintf(f, "%s\n", UTMP_FILE); 6983 fprintf(f, "%s\n", UTMP_FILE);
6900#elif defined(_PATH_UTMP) 6984#elif defined(_PATH_UTMP)
6952#include <utmp.h> 7036#include <utmp.h>
6953#endif 7037#endif
6954 7038
6955int main() 7039int main()
6956{ 7040{
6957 char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; 7041 const char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL };
6958 FILE *f = fopen("conftestval", "w"); 7042 FILE *f = fopen("conftestval", "w");
6959 if (!f) return 1; 7043 if (!f) return 1;
6960#ifdef WTMP_FILE 7044#ifdef WTMP_FILE
6961 fprintf(f, "%s\n", WTMP_FILE); 7045 fprintf(f, "%s\n", WTMP_FILE);
6962#elif defined(_PATH_WTMP) 7046#elif defined(_PATH_WTMP)
7012#include <utmpx.h> 7096#include <utmpx.h>
7013#endif 7097#endif
7014 7098
7015int main() 7099int main()
7016{ 7100{
7017 char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; 7101 const char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL };
7018 FILE *f = fopen("conftestval", "w"); 7102 FILE *f = fopen("conftestval", "w");
7019 if (!f) return 1; 7103 if (!f) return 1;
7020#ifdef WTMPX_FILE 7104#ifdef WTMPX_FILE
7021 fprintf(f, "%s\n", WTMPX_FILE); 7105 fprintf(f, "%s\n", WTMPX_FILE);
7022#elif defined(_PATH_WTMPX) 7106#elif defined(_PATH_WTMPX)
7076#include <lastlog.h> 7160#include <lastlog.h>
7077#endif 7161#endif
7078 7162
7079int main() 7163int main()
7080{ 7164{
7081 char **path, *list[] = { "/var/log/lastlog", NULL }; 7165 const char **path, *list[] = { "/var/log/lastlog", NULL };
7082 FILE *f = fopen("conftestval", "w"); 7166 FILE *f = fopen("conftestval", "w");
7083 if (!f) return 1; 7167 if (!f) return 1;
7084#ifdef LASTLOG_FILE 7168#ifdef LASTLOG_FILE
7085 fprintf(f, "%s\n", LASTLOG_FILE); 7169 fprintf(f, "%s\n", LASTLOG_FILE);
7086#elif defined(_PATH_LASTLOG) 7170#elif defined(_PATH_LASTLOG)
7136#include <utmpx.h> 7220#include <utmpx.h>
7137#endif 7221#endif
7138 7222
7139int main() 7223int main()
7140{ 7224{
7141 char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL }; 7225 const char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL };
7142 FILE *f = fopen("conftestval", "w"); 7226 FILE *f = fopen("conftestval", "w");
7143 if (!f) return 1; 7227 if (!f) return 1;
7144#ifdef LASTLOGX_FILE 7228#ifdef LASTLOGX_FILE
7145 fprintf(f, "%s\n", LASTLOGX_FILE); 7229 fprintf(f, "%s\n", LASTLOGX_FILE);
7146#elif defined(_PATH_LASTLOGX) 7230#elif defined(_PATH_LASTLOGX)
7466 7550
7467fi 7551fi
7468done 7552done
7469 7553
7470 7554
7471have_clone=no
7472
7473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
7474$as_echo_n "checking for /dev/ptc... " >&6; }
7475if test -e /dev/ptc; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7477$as_echo "yes" >&6; }
7478
7479$as_echo "#define CLONE_DEVICE \"/dev/ptc\"" >>confdefs.h
7480
7481 have_clone=yes
7482else
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484$as_echo "no" >&6; }
7485fi
7486
7487case $host in
7488 *-*-cygwin*)
7489 have_clone=yes
7490
7491$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7492
7493 ;;
7494 *)
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
7496$as_echo_n "checking for /dev/ptmx... " >&6; }
7497 if test -e /dev/ptmx; then
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7499$as_echo "yes" >&6; }
7500
7501$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h
7502
7503
7504$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7505
7506 have_clone=yes
7507 else
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509$as_echo "no" >&6; }
7510 fi
7511 ;;
7512esac
7513
7514if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5
7516$as_echo_n "checking for UNIX98 ptys... " >&6; } 7556$as_echo_n "checking for UNIX98 ptys... " >&6; }
7517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518/* end confdefs.h. */ 7558/* end confdefs.h. */
7519#include <stdlib.h> 7559#include <stdlib.h>
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537$as_echo "no" >&6; } 7577$as_echo "no" >&6; }
7538fi 7578fi
7539rm -f core conftest.err conftest.$ac_objext \ 7579rm -f core conftest.err conftest.$ac_objext \
7540 conftest$ac_exeext conftest.$ac_ext 7580 conftest$ac_exeext conftest.$ac_ext
7541fi
7542 7581
7543if test -z "$unix98_pty"; then 7582if test -z "$unix98_pty"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
7545$as_echo_n "checking for library containing openpty... " >&6; } 7584$as_echo_n "checking for library containing openpty... " >&6; }
7546if test "${ac_cv_search_openpty+set}" = set; then : 7585if test "${ac_cv_search_openpty+set}" = set; then :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines