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

Comparing rxvt-unicode/configure (file contents):
Revision 1.133 by sf-exg, Wed Jul 21 09:06:20 2010 UTC vs.
Revision 1.136 by sf-exg, Sun Oct 31 08:29:19 2010 UTC

591# include <unistd.h> 591# include <unistd.h>
592#endif" 592#endif"
593 593
594ac_subst_vars='LTLIBOBJS 594ac_subst_vars='LTLIBOBJS
595LIBOBJS 595LIBOBJS
596AFTERIMAGE_LIBS
597AFTERIMAGE_CFLAGS
598PERL_O 596PERL_O
599IF_PERL 597IF_PERL
600PERLPRIVLIBEXP 598PERLPRIVLIBEXP
601PERLFLAGS 599PERLFLAGS
602PERLLIB 600PERLLIB
603PERL 601PERL
604XFT_CONFIG 602XFT_CONFIG
603AFTERIMAGE_LIBS
604AFTERIMAGE_CFLAGS
605afterimage_config
606PIXBUF_LIBS
607PIXBUF_CFLAGS
605PKG_CONFIG 608PKG_CONFIG
606afterimage_config
607X_EXTRA_LIBS 609X_EXTRA_LIBS
608X_LIBS 610X_LIBS
609X_PRE_LIBS 611X_PRE_LIBS
610X_CFLAGS 612X_CFLAGS
611XMKMF 613XMKMF
688enable_combining 690enable_combining
689enable_xft 691enable_xft
690enable_font_styles 692enable_font_styles
691enable_afterimage 693enable_afterimage
692with_afterimage_config 694with_afterimage_config
695enable_pixbuf
693enable_transparency 696enable_transparency
694enable_fading 697enable_fading
695enable_rxvt_scroll 698enable_rxvt_scroll
696enable_next_scroll 699enable_next_scroll
697enable_xterm_scroll 700enable_xterm_scroll
1337 1340
1338X features: 1341X features:
1339 --x-includes=DIR X include files are in DIR 1342 --x-includes=DIR X include files are in DIR
1340 --x-libraries=DIR X library files are in DIR 1343 --x-libraries=DIR X library files are in DIR
1341 1344
1342Program names:
1343 --program-prefix=PREFIX prepend PREFIX to installed program names
1344 --program-suffix=SUFFIX append SUFFIX to installed program names
1345 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1346
1347System types: 1345System types:
1348 --build=BUILD configure for building on BUILD [guessed] 1346 --build=BUILD configure for building on BUILD [guessed]
1349 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1347 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1350_ACEOF 1348_ACEOF
1351fi 1349fi
1366 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1364 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1367 --enable-combining enable composition of base and combining characters 1365 --enable-combining enable composition of base and combining characters
1368 --enable-xft enable xft support on systems that have it 1366 --enable-xft enable xft support on systems that have it
1369 --enable-font-styles enable bold and italic support 1367 --enable-font-styles enable bold and italic support
1370 --enable-afterimage enable integration with libAfterImage for background images 1368 --enable-afterimage enable integration with libAfterImage for background images
1369 --enable-pixbuf enable integration with gdk-pixbuf for background images
1371 --enable-transparency enable transparent backgrounds 1370 --enable-transparency enable transparent backgrounds
1372 --enable-fading enable colors fading when off focus 1371 --enable-fading enable colors fading when off focus
1373 --enable-rxvt-scroll enable rxvt style scrollbar 1372 --enable-rxvt-scroll enable rxvt style scrollbar
1374 --enable-next-scroll enable NeXT style scrollbar 1373 --enable-next-scroll enable NeXT style scrollbar
1375 --enable-xterm-scroll enable Xterm style scrollbar 1374 --enable-xterm-scroll enable Xterm style scrollbar
4662support_scroll_rxvt=yes 4661support_scroll_rxvt=yes
4663support_scroll_next=yes 4662support_scroll_next=yes
4664support_scroll_xterm=yes 4663support_scroll_xterm=yes
4665support_xim=yes 4664support_xim=yes
4666support_afterimage=yes 4665support_afterimage=yes
4667support_afterstep=yes
4668support_xft=yes 4666support_xft=yes
4669support_unicode3=no 4667support_unicode3=no
4670support_combining=yes 4668support_combining=yes
4671support_8bitctrls=no 4669support_8bitctrls=no
4672support_iso14755=yes 4670support_iso14755=yes
4694 support_scroll_xterm=no 4692 support_scroll_xterm=no
4695 support_utmp=no 4693 support_utmp=no
4696 support_wtmp=no 4694 support_wtmp=no
4697 support_xim=no 4695 support_xim=no
4698 support_afterimage=no 4696 support_afterimage=no
4699 support_afterstep=no
4700 support_xft=no 4697 support_xft=no
4701 support_unicode3=no 4698 support_unicode3=no
4702 support_combining=no 4699 support_combining=no
4703 support_8bitctrls=no 4700 support_8bitctrls=no
4704 support_iso14755=no 4701 support_iso14755=no
4722 support_scroll_xterm=yes 4719 support_scroll_xterm=yes
4723 support_utmp=yes 4720 support_utmp=yes
4724 support_wtmp=yes 4721 support_wtmp=yes
4725 support_xim=yes 4722 support_xim=yes
4726 support_afterimage=yes 4723 support_afterimage=yes
4727 support_afterstep=yes
4728 support_xft=yes 4724 support_xft=yes
4729 support_unicode3=yes 4725 support_unicode3=yes
4730 support_combining=yes 4726 support_combining=yes
4731 #support_8bitctrls=yes 4727 #support_8bitctrls=yes
4732 support_iso14755=yes 4728 support_iso14755=yes
4847 afterimage_config=$withval/afterimage-config 4843 afterimage_config=$withval/afterimage-config
4848 fi 4844 fi
4849fi 4845fi
4850 4846
4851 4847
4848# Check whether --enable-pixbuf was given.
4849if test "${enable_pixbuf+set}" = set; then :
4850 enableval=$enable_pixbuf; if test x$enableval = xyes -o x$enableval = xno; then
4851 support_pixbuf=$enableval
4852 fi
4853fi
4854
4852 4855
4853# Check whether --enable-transparency was given. 4856# Check whether --enable-transparency was given.
4854if test "${enable_transparency+set}" = set; then : 4857if test "${enable_transparency+set}" = set; then :
4855 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then 4858 enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then
4856 support_inheritpixmap=$enableval 4859 support_inheritpixmap=$enableval
5007cat >>confdefs.h <<_ACEOF 5010cat >>confdefs.h <<_ACEOF
5008#define RXVTNAME "$RXVTNAME" 5011#define RXVTNAME "$RXVTNAME"
5009_ACEOF 5012_ACEOF
5010 5013
5011 5014
5012RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"`
5013 5015
5014 5016
5015# Check whether --enable-swapscreen was given. 5017# Check whether --enable-swapscreen was given.
5016if test "${enable_swapscreen+set}" = set; then : 5018if test "${enable_swapscreen+set}" = set; then :
5017 enableval=$enable_swapscreen; if test x$enableval = xno; then 5019 enableval=$enable_swapscreen; if test x$enableval = xno; then
6227 LDFLAGS=$ac_save_LDFLAGS 6229 LDFLAGS=$ac_save_LDFLAGS
6228 6230
6229fi 6231fi
6230 6232
6231 6233
6234image_lib=none
6235
6236PIXBUF_CFLAGS=
6237PIXBUF_LIBS=
6238
6239if test x$support_pixbuf = xyes; then
6240 support_pixbuf=no
6241 # Extract the first word of "pkg-config", so it can be a program name with args.
6242set dummy pkg-config; ac_word=$2
6243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244$as_echo_n "checking for $ac_word... " >&6; }
6245if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
6246 $as_echo_n "(cached) " >&6
6247else
6248 case $PKG_CONFIG in
6249 [\\/]* | ?:[\\/]*)
6250 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6251 ;;
6252 *)
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254for as_dir in $PATH
6255do
6256 IFS=$as_save_IFS
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 break 2
6263 fi
6264done
6265 done
6266IFS=$as_save_IFS
6267
6268 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6269 ;;
6270esac
6271fi
6272PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6273if test -n "$PKG_CONFIG"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6275$as_echo "$PKG_CONFIG" >&6; }
6276else
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278$as_echo "no" >&6; }
6279fi
6280
6281
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5
6283$as_echo_n "checking for gdk-pixbuf... " >&6; }
6284 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-xlib-2.0; then
6285 PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --cflags`"
6286 PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --libs`"
6287 support_pixbuf=yes
6288 fi
6289
6290 if test x$support_pixbuf = xyes; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6292$as_echo "ok" >&6; }
6293 image_lib=gdk-pixbuf
6294 support_afterimage=no
6295
6296$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
6297
6298
6299$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6300
6301 else
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303$as_echo "no" >&6; }
6304 fi
6305fi
6306
6307
6308
6309
6232AFTERIMAGE_CFLAGS= 6310AFTERIMAGE_CFLAGS=
6233AFTERIMAGE_LIBS= 6311AFTERIMAGE_LIBS=
6234AFTERIMAGE_VERSION= 6312AFTERIMAGE_VERSION=
6235 6313
6236if test x$support_afterimage = xyes; then 6314if test x$support_afterimage = xyes; then
6298 fi 6376 fi
6299 fi 6377 fi
6300 if test "x$support_afterimage" = "xyes"; then 6378 if test "x$support_afterimage" = "xyes"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5 6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AFTERIMAGE_LIBS" >&5
6302$as_echo "$AFTERIMAGE_LIBS" >&6; } 6380$as_echo "$AFTERIMAGE_LIBS" >&6; }
6381 image_lib=libafterimage
6382
6383$as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h
6384
6385
6386$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
6387
6303 else 6388 else
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6305$as_echo "no" >&6; } 6390$as_echo "no" >&6; }
6306 fi 6391 fi
6307 fi 6392 fi
6308fi 6393fi
6394
6395
6396
6309 6397
6310for ac_header in \ 6398for ac_header in \
6311 sys/byteorder.h \ 6399 sys/byteorder.h \
6312 sys/ioctl.h \ 6400 sys/ioctl.h \
6313 sys/sockio.h \ 6401 sys/sockio.h \
7816 7904
7817$as_echo "#define XFT 1" >>confdefs.h 7905$as_echo "#define XFT 1" >>confdefs.h
7818 7906
7819 fi 7907 fi
7820fi 7908fi
7909if test x$support_inheritpixmap = xyes; then
7910 support_xrender=yes
7911 # Extract the first word of "pkg-config", so it can be a program name with args.
7912set dummy pkg-config; ac_word=$2
7913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7914$as_echo_n "checking for $ac_word... " >&6; }
7915if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7916 $as_echo_n "(cached) " >&6
7917else
7918 case $PKG_CONFIG in
7919 [\\/]* | ?:[\\/]*)
7920 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7921 ;;
7922 *)
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924for as_dir in $PATH
7925do
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7933 fi
7934done
7935 done
7936IFS=$as_save_IFS
7937
7938 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7939 ;;
7940esac
7941fi
7942PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7943if test -n "$PKG_CONFIG"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7945$as_echo "$PKG_CONFIG" >&6; }
7946else
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948$as_echo "no" >&6; }
7949fi
7950
7951
7952 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
7953 X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS"
7954 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`"
7955
7956 save_LIBS="$LIBS"
7957 LIBS="$LIBS $X_LIBS"
7958 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7959if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
7960
7961else
7962 support_xrender=no
7963fi
7964
7965
7966 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
7967if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then :
7968
7969else
7970 support_xrender=no
7971fi
7972
7973 LIBS="$save_LIBS"
7974 fi
7975
7976 if test x$support_xrender = xyes; then
7977 LIBS="$LIBS -lm"
7978
7979$as_echo "#define XRENDER 1" >>confdefs.h
7980
7981 fi
7982fi
7821if test x$support_styles = xyes; then 7983if test x$support_styles = xyes; then
7822 7984
7823$as_echo "#define ENABLE_STYLES 1" >>confdefs.h 7985$as_echo "#define ENABLE_STYLES 1" >>confdefs.h
7824 7986
7825fi 7987fi
7866if test x$support_mouseslipwheel = xyes; then 8028if test x$support_mouseslipwheel = xyes; then
7867 8029
7868$as_echo "#define MOUSE_SLIP_WHEELING 1" >>confdefs.h 8030$as_echo "#define MOUSE_SLIP_WHEELING 1" >>confdefs.h
7869 8031
7870fi 8032fi
7871if test x$support_afterimage = xyes; then
7872
7873$as_echo "#define HAVE_AFTERIMAGE 1" >>confdefs.h
7874
7875
7876$as_echo "#define BG_IMAGE_FROM_FILE 1" >>confdefs.h
7877
7878fi
7879
7880 8033
7881scrolltypes=plain 8034scrolltypes=plain
7882 8035
7883$as_echo "#define PLAIN_SCROLLBAR 1" >>confdefs.h 8036$as_echo "#define PLAIN_SCROLLBAR 1" >>confdefs.h
7884 8037
8090 8243
8091 8244
8092 8245
8093 8246
8094 8247
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108test "$program_prefix" != NONE &&
8109 program_transform_name="s&^&$program_prefix&;$program_transform_name"
8110# Use a double $ so make ignores it.
8111test "$program_suffix" != NONE &&
8112 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
8113# Double any \ or $.
8114# By default was `s,x,x', remove it if useless.
8115ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
8116program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
8117 8248
8118 8249
8119ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" 8250ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
8120 8251
8121cat >confcache <<\_ACEOF 8252cat >confcache <<\_ACEOF
9401if test x$RESFALLBACK != x; then 9532if test x$RESFALLBACK != x; then
9402 echo " resource class fallback: $RESFALLBACK" 9533 echo " resource class fallback: $RESFALLBACK"
9403fi 9534fi
9404echo 9535echo
9405echo " embedded perl: $support_perl" 9536echo " embedded perl: $support_perl"
9406echo " libafterimage: $support_afterimage" 9537echo " image library: $image_lib"
9407echo 9538echo
9408if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then 9539if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then
9409 echo ".----------------------------------------------------------------." 9540 echo ".----------------------------------------------------------------."
9410 echo ". WARNING: --enable-xim was specified however the locale support ." 9541 echo ". WARNING: --enable-xim was specified however the locale support ."
9411 echo ". functions could not be found. ." 9542 echo ". functions could not be found. ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines