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

Comparing rxvt-unicode/configure (file contents):
Revision 1.145 by sf-exg, Wed Jun 1 10:53:07 2011 UTC vs.
Revision 1.147 by mikachu, Tue Nov 15 01:13:49 2011 UTC

609PERL 609PERL
610XFT_CONFIG 610XFT_CONFIG
611AFTERIMAGE_LIBS 611AFTERIMAGE_LIBS
612AFTERIMAGE_CFLAGS 612AFTERIMAGE_CFLAGS
613afterimage_config 613afterimage_config
614STARTUP_NOTIFICATION_LIBS
615STARTUP_NOTIFICATION_CFLAGS
614PIXBUF_LIBS 616PIXBUF_LIBS
615PIXBUF_CFLAGS 617PIXBUF_CFLAGS
616PKG_CONFIG 618PKG_CONFIG
617X_EXTRA_LIBS 619X_EXTRA_LIBS
618X_LIBS 620X_LIBS
699enable_xft 701enable_xft
700enable_font_styles 702enable_font_styles
701enable_afterimage 703enable_afterimage
702with_afterimage_config 704with_afterimage_config
703enable_pixbuf 705enable_pixbuf
706enable_startup_notification
704enable_transparency 707enable_transparency
705enable_fading 708enable_fading
706enable_rxvt_scroll 709enable_rxvt_scroll
707enable_next_scroll 710enable_next_scroll
708enable_xterm_scroll 711enable_xterm_scroll
1374 --enable-combining enable composition of base and combining characters 1377 --enable-combining enable composition of base and combining characters
1375 --enable-xft enable xft support on systems that have it 1378 --enable-xft enable xft support on systems that have it
1376 --enable-font-styles enable bold and italic support 1379 --enable-font-styles enable bold and italic support
1377 --enable-afterimage enable integration with libAfterImage for background images 1380 --enable-afterimage enable integration with libAfterImage for background images
1378 --enable-pixbuf enable integration with gdk-pixbuf for background images 1381 --enable-pixbuf enable integration with gdk-pixbuf for background images
1382 --enable-startup-notification enable freedesktop startup notification support
1379 --enable-transparency enable transparent backgrounds 1383 --enable-transparency enable transparent backgrounds
1380 --enable-fading enable colors fading when off focus 1384 --enable-fading enable colors fading when off focus
1381 --enable-rxvt-scroll enable rxvt style scrollbar 1385 --enable-rxvt-scroll enable rxvt style scrollbar
1382 --enable-next-scroll enable NeXT style scrollbar 1386 --enable-next-scroll enable NeXT style scrollbar
1383 --enable-xterm-scroll enable Xterm style scrollbar 1387 --enable-xterm-scroll enable Xterm style scrollbar
4673support_scroll_rxvt=yes 4677support_scroll_rxvt=yes
4674support_scroll_next=yes 4678support_scroll_next=yes
4675support_scroll_xterm=yes 4679support_scroll_xterm=yes
4676support_xim=yes 4680support_xim=yes
4677support_pixbuf=yes 4681support_pixbuf=yes
4682support_startup_notification=yes
4678support_afterimage=yes 4683support_afterimage=yes
4679support_xft=yes 4684support_xft=yes
4680support_unicode3=no 4685support_unicode3=no
4681support_combining=yes 4686support_combining=yes
4682support_8bitctrls=no 4687support_8bitctrls=no
4705 support_scroll_xterm=no 4710 support_scroll_xterm=no
4706 support_utmp=no 4711 support_utmp=no
4707 support_wtmp=no 4712 support_wtmp=no
4708 support_xim=no 4713 support_xim=no
4709 support_pixbuf=no 4714 support_pixbuf=no
4715 support_startup_notification=no
4710 support_afterimage=no 4716 support_afterimage=no
4711 support_xft=no 4717 support_xft=no
4712 support_unicode3=no 4718 support_unicode3=no
4713 support_combining=no 4719 support_combining=no
4714 support_8bitctrls=no 4720 support_8bitctrls=no
4733 support_scroll_xterm=yes 4739 support_scroll_xterm=yes
4734 support_utmp=yes 4740 support_utmp=yes
4735 support_wtmp=yes 4741 support_wtmp=yes
4736 support_xim=yes 4742 support_xim=yes
4737 support_pixbuf=yes 4743 support_pixbuf=yes
4744 support_startup_notification=yes
4738 support_afterimage=yes 4745 support_afterimage=yes
4739 support_xft=yes 4746 support_xft=yes
4740 support_unicode3=yes 4747 support_unicode3=yes
4741 support_combining=yes 4748 support_combining=yes
4742 #support_8bitctrls=yes 4749 #support_8bitctrls=yes
4862 4869
4863# Check whether --enable-pixbuf was given. 4870# Check whether --enable-pixbuf was given.
4864if test "${enable_pixbuf+set}" = set; then : 4871if test "${enable_pixbuf+set}" = set; then :
4865 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then 4872 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then
4866 support_pixbuf=$enableval 4873 support_pixbuf=$enableval
4874 fi
4875fi
4876
4877
4878# Check whether --enable-startup-notification was given.
4879if test "${enable_startup_notification+set}" = set; then :
4880 enableval=$enable_startup_notification; if test x$enableval = xyes -o x$enableval = xno; then
4881 support_startup_notification=$enableval
4867 fi 4882 fi
4868fi 4883fi
4869 4884
4870 4885
4871# Check whether --enable-transparency was given. 4886# Check whether --enable-transparency was given.
6346fi 6361fi
6347 6362
6348 6363
6349 6364
6350 6365
6366STARTUP_NOTIFICATION_CFLAGS=
6367STARTUP_NOTIFICATION_LIBS=
6368
6369if test x$support_startup_notification = xyes; then
6370 support_startup_notification=no
6371 # Extract the first word of "pkg-config", so it can be a program name with args.
6372set dummy pkg-config; ac_word=$2
6373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374$as_echo_n "checking for $ac_word... " >&6; }
6375if ${ac_cv_path_PKG_CONFIG+:} false; then :
6376 $as_echo_n "(cached) " >&6
6377else
6378 case $PKG_CONFIG in
6379 [\\/]* | ?:[\\/]*)
6380 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6381 ;;
6382 *)
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384for as_dir in $PATH
6385do
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 break 2
6393 fi
6394done
6395 done
6396IFS=$as_save_IFS
6397
6398 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6399 ;;
6400esac
6401fi
6402PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6403if test -n "$PKG_CONFIG"; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6405$as_echo "$PKG_CONFIG" >&6; }
6406else
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6408$as_echo "no" >&6; }
6409fi
6410
6411
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5
6413$as_echo_n "checking for libstartup-notification... " >&6; }
6414 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then
6415 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`"
6416 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`"
6417 support_startup_notification=yes
6418 fi
6419
6420 if test x$support_startup_notification = xyes; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6422$as_echo "ok" >&6; }
6423
6424$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h
6425
6426 else
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428$as_echo "no" >&6; }
6429 fi
6430fi
6431
6432
6433
6434
6351AFTERIMAGE_CFLAGS= 6435AFTERIMAGE_CFLAGS=
6352AFTERIMAGE_LIBS= 6436AFTERIMAGE_LIBS=
6353AFTERIMAGE_VERSION= 6437AFTERIMAGE_VERSION=
6354 6438
6355if test x$support_afterimage = xyes; then 6439if test x$support_afterimage = xyes; then
6898#include <sys/types.h> 6982#include <sys/types.h>
6899#include <utmp.h> 6983#include <utmp.h>
6900 6984
6901int main() 6985int main()
6902{ 6986{
6903 char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL }; 6987 const char **path, *list[] = { "/var/run/utmp", "/var/adm/utmp", "/etc/utmp", "/usr/etc/utmp", "/usr/adm/utmp", NULL };
6904 FILE *f = fopen("conftestval", "w"); 6988 FILE *f = fopen("conftestval", "w");
6905 if (!f) return 1; 6989 if (!f) return 1;
6906#ifdef UTMP_FILE 6990#ifdef UTMP_FILE
6907 fprintf(f, "%s\n", UTMP_FILE); 6991 fprintf(f, "%s\n", UTMP_FILE);
6908#elif defined(_PATH_UTMP) 6992#elif defined(_PATH_UTMP)
6960#include <utmp.h> 7044#include <utmp.h>
6961#endif 7045#endif
6962 7046
6963int main() 7047int main()
6964{ 7048{
6965 char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL }; 7049 const char **path, *list[] = { "/var/log/wtmp", "/var/adm/wtmp", "/etc/wtmp", "/usr/etc/wtmp", "/usr/adm/wtmp", NULL };
6966 FILE *f = fopen("conftestval", "w"); 7050 FILE *f = fopen("conftestval", "w");
6967 if (!f) return 1; 7051 if (!f) return 1;
6968#ifdef WTMP_FILE 7052#ifdef WTMP_FILE
6969 fprintf(f, "%s\n", WTMP_FILE); 7053 fprintf(f, "%s\n", WTMP_FILE);
6970#elif defined(_PATH_WTMP) 7054#elif defined(_PATH_WTMP)
7020#include <utmpx.h> 7104#include <utmpx.h>
7021#endif 7105#endif
7022 7106
7023int main() 7107int main()
7024{ 7108{
7025 char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL }; 7109 const char **path, *list[] = { "/var/log/wtmpx", "/var/adm/wtmpx", NULL };
7026 FILE *f = fopen("conftestval", "w"); 7110 FILE *f = fopen("conftestval", "w");
7027 if (!f) return 1; 7111 if (!f) return 1;
7028#ifdef WTMPX_FILE 7112#ifdef WTMPX_FILE
7029 fprintf(f, "%s\n", WTMPX_FILE); 7113 fprintf(f, "%s\n", WTMPX_FILE);
7030#elif defined(_PATH_WTMPX) 7114#elif defined(_PATH_WTMPX)
7084#include <lastlog.h> 7168#include <lastlog.h>
7085#endif 7169#endif
7086 7170
7087int main() 7171int main()
7088{ 7172{
7089 char **path, *list[] = { "/var/log/lastlog", NULL }; 7173 const char **path, *list[] = { "/var/log/lastlog", NULL };
7090 FILE *f = fopen("conftestval", "w"); 7174 FILE *f = fopen("conftestval", "w");
7091 if (!f) return 1; 7175 if (!f) return 1;
7092#ifdef LASTLOG_FILE 7176#ifdef LASTLOG_FILE
7093 fprintf(f, "%s\n", LASTLOG_FILE); 7177 fprintf(f, "%s\n", LASTLOG_FILE);
7094#elif defined(_PATH_LASTLOG) 7178#elif defined(_PATH_LASTLOG)
7144#include <utmpx.h> 7228#include <utmpx.h>
7145#endif 7229#endif
7146 7230
7147int main() 7231int main()
7148{ 7232{
7149 char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL }; 7233 const char **path, *list[] = { "/var/log/lastlogx", "/var/adm/lastlogx", NULL };
7150 FILE *f = fopen("conftestval", "w"); 7234 FILE *f = fopen("conftestval", "w");
7151 if (!f) return 1; 7235 if (!f) return 1;
7152#ifdef LASTLOGX_FILE 7236#ifdef LASTLOGX_FILE
7153 fprintf(f, "%s\n", LASTLOGX_FILE); 7237 fprintf(f, "%s\n", LASTLOGX_FILE);
7154#elif defined(_PATH_LASTLOGX) 7238#elif defined(_PATH_LASTLOGX)
7474 7558
7475fi 7559fi
7476done 7560done
7477 7561
7478 7562
7479have_clone=no
7480
7481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc" >&5
7482$as_echo_n "checking for /dev/ptc... " >&6; }
7483if test -e /dev/ptc; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7485$as_echo "yes" >&6; }
7486
7487$as_echo "#define CLONE_DEVICE \"/dev/ptc\"" >>confdefs.h
7488
7489 have_clone=yes
7490else
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492$as_echo "no" >&6; }
7493fi
7494
7495case $host in
7496 *-*-cygwin*)
7497 have_clone=yes
7498
7499$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7500
7501 ;;
7502 *)
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptmx" >&5
7504$as_echo_n "checking for /dev/ptmx... " >&6; }
7505 if test -e /dev/ptmx; then
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7507$as_echo "yes" >&6; }
7508
7509$as_echo "#define HAVE_DEV_PTMX 1" >>confdefs.h
7510
7511
7512$as_echo "#define CLONE_DEVICE \"/dev/ptmx\"" >>confdefs.h
7513
7514 have_clone=yes
7515 else
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7517$as_echo "no" >&6; }
7518 fi
7519 ;;
7520esac
7521
7522if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5 7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX98 ptys" >&5
7524$as_echo_n "checking for UNIX98 ptys... " >&6; } 7564$as_echo_n "checking for UNIX98 ptys... " >&6; }
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526/* end confdefs.h. */ 7566/* end confdefs.h. */
7527#include <stdlib.h> 7567#include <stdlib.h>
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545$as_echo "no" >&6; } 7585$as_echo "no" >&6; }
7546fi 7586fi
7547rm -f core conftest.err conftest.$ac_objext \ 7587rm -f core conftest.err conftest.$ac_objext \
7548 conftest$ac_exeext conftest.$ac_ext 7588 conftest$ac_exeext conftest.$ac_ext
7549fi
7550 7589
7551if test -z "$unix98_pty"; then 7590if test -z "$unix98_pty"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5
7553$as_echo_n "checking for library containing openpty... " >&6; } 7592$as_echo_n "checking for library containing openpty... " >&6; }
7554if ${ac_cv_search_openpty+:} false; then : 7593if ${ac_cv_search_openpty+:} false; then :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines