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

Comparing rxvt-unicode/configure (file contents):
Revision 1.137 by root, Sat Nov 13 00:48:11 2010 UTC vs.
Revision 1.138 by sf-exg, Thu Dec 2 11:09:40 2010 UTC

2539 sed 's/^/| /' "$ac_site_file" >&5 2539 sed 's/^/| /' "$ac_site_file" >&5
2540 . "$ac_site_file" \ 2540 . "$ac_site_file" \
2541 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2541 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2542$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2543as_fn_error $? "failed to load site script $ac_site_file 2543as_fn_error $? "failed to load site script $ac_site_file
2544See \`config.log' for more details" "$LINENO" 5 ; } 2544See \`config.log' for more details" "$LINENO" 5; }
2545 fi 2545 fi
2546done 2546done
2547 2547
2548if test -r "$cache_file"; then 2548if test -r "$cache_file"; then
2549 # Some versions of bash will fail to source /dev/null (special files 2549 # Some versions of bash will fail to source /dev/null (special files
2684fi 2684fi
2685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2686$as_echo "$ac_cv_build" >&6; } 2686$as_echo "$ac_cv_build" >&6; }
2687case $ac_cv_build in 2687case $ac_cv_build in
2688*-*-*) ;; 2688*-*-*) ;;
2689*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 2689*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2690esac 2690esac
2691build=$ac_cv_build 2691build=$ac_cv_build
2692ac_save_IFS=$IFS; IFS='-' 2692ac_save_IFS=$IFS; IFS='-'
2693set x $ac_cv_build 2693set x $ac_cv_build
2694shift 2694shift
2717fi 2717fi
2718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2719$as_echo "$ac_cv_host" >&6; } 2719$as_echo "$ac_cv_host" >&6; }
2720case $ac_cv_host in 2720case $ac_cv_host in
2721*-*-*) ;; 2721*-*-*) ;;
2722*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 2722*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2723esac 2723esac
2724host=$ac_cv_host 2724host=$ac_cv_host
2725ac_save_IFS=$IFS; IFS='-' 2725ac_save_IFS=$IFS; IFS='-'
2726set x $ac_cv_host 2726set x $ac_cv_host
2727shift 2727shift
3044 3044
3045 3045
3046test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3046test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048as_fn_error $? "no acceptable C compiler found in \$PATH 3048as_fn_error $? "no acceptable C compiler found in \$PATH
3049See \`config.log' for more details" "$LINENO" 5 ; } 3049See \`config.log' for more details" "$LINENO" 5; }
3050 3050
3051# Provide some information about the compiler. 3051# Provide some information about the compiler.
3052$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3052$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3053set X $ac_compile 3053set X $ac_compile
3054ac_compiler=$2 3054ac_compiler=$2
3159sed 's/^/| /' conftest.$ac_ext >&5 3159sed 's/^/| /' conftest.$ac_ext >&5
3160 3160
3161{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3161{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3163as_fn_error 77 "C compiler cannot create executables 3163as_fn_error 77 "C compiler cannot create executables
3164See \`config.log' for more details" "$LINENO" 5 ; } 3164See \`config.log' for more details" "$LINENO" 5; }
3165else 3165else
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3167$as_echo "yes" >&6; } 3167$as_echo "yes" >&6; }
3168fi 3168fi
3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3202done 3202done
3203else 3203else
3204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3206as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3207See \`config.log' for more details" "$LINENO" 5 ; } 3207See \`config.log' for more details" "$LINENO" 5; }
3208fi 3208fi
3209rm -f conftest conftest$ac_cv_exeext 3209rm -f conftest conftest$ac_cv_exeext
3210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3211$as_echo "$ac_cv_exeext" >&6; } 3211$as_echo "$ac_cv_exeext" >&6; }
3212 3212
3261 else 3261 else
3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264as_fn_error $? "cannot run C compiled programs. 3264as_fn_error $? "cannot run C compiled programs.
3265If you meant to cross compile, use \`--host'. 3265If you meant to cross compile, use \`--host'.
3266See \`config.log' for more details" "$LINENO" 5 ; } 3266See \`config.log' for more details" "$LINENO" 5; }
3267 fi 3267 fi
3268 fi 3268 fi
3269fi 3269fi
3270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3271$as_echo "$cross_compiling" >&6; } 3271$as_echo "$cross_compiling" >&6; }
3313sed 's/^/| /' conftest.$ac_ext >&5 3313sed 's/^/| /' conftest.$ac_ext >&5
3314 3314
3315{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3315{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317as_fn_error $? "cannot compute suffix of object files: cannot compile 3317as_fn_error $? "cannot compute suffix of object files: cannot compile
3318See \`config.log' for more details" "$LINENO" 5 ; } 3318See \`config.log' for more details" "$LINENO" 5; }
3319fi 3319fi
3320rm -f conftest.$ac_cv_objext conftest.$ac_ext 3320rm -f conftest.$ac_cv_objext conftest.$ac_ext
3321fi 3321fi
3322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3323$as_echo "$ac_cv_objext" >&6; } 3323$as_echo "$ac_cv_objext" >&6; }
3918 3918
3919else 3919else
3920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3920 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3921$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3921$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3922as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3922as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3923See \`config.log' for more details" "$LINENO" 5 ; } 3923See \`config.log' for more details" "$LINENO" 5; }
3924fi 3924fi
3925 3925
3926ac_ext=c 3926ac_ext=c
3927ac_cpp='$CPP $CPPFLAGS' 3927ac_cpp='$CPP $CPPFLAGS'
3928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5253 5253
5254else 5254else
5255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5256$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5256$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5257as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 5257as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
5258See \`config.log' for more details" "$LINENO" 5 ; } 5258See \`config.log' for more details" "$LINENO" 5; }
5259fi 5259fi
5260 5260
5261ac_ext=cpp 5261ac_ext=cpp
5262ac_cpp='$CXXCPP $CPPFLAGS' 5262ac_cpp='$CXXCPP $CPPFLAGS'
5263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5263ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5562if test "x$with_x" = xno; then 5562if test "x$with_x" = xno; then
5563 # The user explicitly disabled X. 5563 # The user explicitly disabled X.
5564 have_x=disabled 5564 have_x=disabled
5565else 5565else
5566 case $x_includes,$x_libraries in #( 5566 case $x_includes,$x_libraries in #(
5567 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #( 5567 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
5568 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 5568 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
5569 $as_echo_n "(cached) " >&6 5569 $as_echo_n "(cached) " >&6
5570else 5570else
5571 # One or both of the vars are not set, and there is no cached value. 5571 # One or both of the vars are not set, and there is no cached value.
5572ac_x_includes=no ac_x_libraries=no 5572ac_x_includes=no ac_x_libraries=no
6281fi 6281fi
6282 6282
6283 6283
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5 6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5
6285$as_echo_n "checking for gdk-pixbuf... " >&6; } 6285$as_echo_n "checking for gdk-pixbuf... " >&6; }
6286 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-xlib-2.0; then 6286 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
6287 PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --cflags`" 6287 PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`"
6288 PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-xlib-2.0 --libs`" 6288 PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`"
6289 support_pixbuf=yes 6289 support_pixbuf=yes
6290 fi 6290 fi
6291 6291
6292 if test x$support_pixbuf = xyes; then 6292 if test x$support_pixbuf = xyes; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7743 7743
7744$as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h 7744$as_echo "#define TTY_GID_SUPPORT 1" >>confdefs.h
7745 7745
7746fi 7746fi
7747 7747
7748if test x$support_xft = xyes; then 7748if test x$support_xft = xyes || test x$support_inheritpixmap = xyes; then
7749 rxvt_have_xrender=no
7749 # Extract the first word of "pkg-config", so it can be a program name with args. 7750 # Extract the first word of "pkg-config", so it can be a program name with args.
7750set dummy pkg-config; ac_word=$2 7751set dummy pkg-config; ac_word=$2
7751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7752$as_echo_n "checking for $ac_word... " >&6; } 7753$as_echo_n "checking for $ac_word... " >&6; }
7753if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 7754if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786$as_echo "no" >&6; } 7787$as_echo "no" >&6; }
7787fi 7788fi
7788 7789
7789 7790
7791 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
7792 X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS"
7793 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`"
7794 rxvt_have_xrender=yes
7795
7796 save_LIBS="$LIBS"
7797 LIBS="$LIBS $X_LIBS"
7798 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7799if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
7800
7801else
7802 rxvt_have_xrender=no
7803fi
7804
7805
7806 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
7807if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then :
7808
7809else
7810 rxvt_have_xrender=no
7811fi
7812
7813 LIBS="$save_LIBS"
7814 fi
7815fi
7816
7817if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7818 # Extract the first word of "pkg-config", so it can be a program name with args.
7819set dummy pkg-config; ac_word=$2
7820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821$as_echo_n "checking for $ac_word... " >&6; }
7822if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7823 $as_echo_n "(cached) " >&6
7824else
7825 case $PKG_CONFIG in
7826 [\\/]* | ?:[\\/]*)
7827 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7828 ;;
7829 *)
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831for as_dir in $PATH
7832do
7833 IFS=$as_save_IFS
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7837 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839 break 2
7840 fi
7841done
7842 done
7843IFS=$as_save_IFS
7844
7845 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7846 ;;
7847esac
7848fi
7849PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7850if test -n "$PKG_CONFIG"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7852$as_echo "$PKG_CONFIG" >&6; }
7853else
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855$as_echo "no" >&6; }
7856fi
7857
7858
7790 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then 7859 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
7791 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" 7860 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
7792 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" 7861 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
7793 else 7862 else
7794 # Extract the first word of "xft-config", so it can be a program name with args. 7863 # Extract the first word of "xft-config", so it can be a program name with args.
7836 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" 7905 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
7837 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 7906 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
7838 fi 7907 fi
7839 fi 7908 fi
7840 7909
7910 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then
7911 X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS"
7912 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`"
7913 fi
7914
7841 save_LIBS="$LIBS" 7915 save_LIBS="$LIBS"
7842 LIBS="$LIBS $X_LIBS" 7916 LIBS="$LIBS $X_LIBS"
7843 for ac_header in X11/Xft/Xft.h 7917 for ac_header in X11/Xft/Xft.h
7844do : 7918do :
7845 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default" 7919 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "$ac_includes_default"
7894 : 7968 :
7895else 7969else
7896 support_xft=no 7970 support_xft=no
7897fi 7971fi
7898 7972
7973 for ac_header in fontconfig/fontconfig.h
7974do :
7975 ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
7976if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
7977 cat >>confdefs.h <<_ACEOF
7978#define HAVE_FONTCONFIG_FONTCONFIG_H 1
7979_ACEOF
7980
7981else
7982 support_xft=no
7983fi
7984
7985done
7986
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternGet in -lfontconfig" >&5
7988$as_echo_n "checking for FcPatternGet in -lfontconfig... " >&6; }
7989if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then :
7990 $as_echo_n "(cached) " >&6
7991else
7992 ac_check_lib_save_LIBS=$LIBS
7993LIBS="-lfontconfig $LIBS"
7994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7995/* end confdefs.h. */
7996
7997/* Override any GCC internal prototype to avoid an error.
7998 Use char because int might match the return type of a GCC
7999 builtin and then its argument prototype would still apply. */
8000#ifdef __cplusplus
8001extern "C"
8002#endif
8003char FcPatternGet ();
8004int
8005main ()
8006{
8007return FcPatternGet ();
8008 ;
8009 return 0;
8010}
8011_ACEOF
8012if ac_fn_cxx_try_link "$LINENO"; then :
8013 ac_cv_lib_fontconfig_FcPatternGet=yes
8014else
8015 ac_cv_lib_fontconfig_FcPatternGet=no
8016fi
8017rm -f core conftest.err conftest.$ac_objext \
8018 conftest$ac_exeext conftest.$ac_ext
8019LIBS=$ac_check_lib_save_LIBS
8020fi
8021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5
8022$as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; }
8023if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then :
8024 :
8025else
8026 support_xft=no
8027fi
8028
7899 LIBS="$save_LIBS" 8029 LIBS="$save_LIBS"
7900 8030
7901 if test x$support_xft = xyes; then 8031 if test x$support_xft = xyes; then
7902 8032
7903$as_echo "#define XFT 1" >>confdefs.h 8033$as_echo "#define XFT 1" >>confdefs.h
7904 8034
7905 fi 8035 fi
7906fi 8036fi
8037if test x$support_styles = xyes; then
8038
8039$as_echo "#define ENABLE_STYLES 1" >>confdefs.h
8040
8041fi
8042if test x$support_iso14755 = xyes; then
8043
8044$as_echo "#define ISO_14755 1" >>confdefs.h
8045
8046fi
8047if test x$support_8bitctrls = xyes; then
8048
8049$as_echo "#define EIGHT_BIT_CONTROLS 1" >>confdefs.h
8050
8051fi
8052if test x$support_fading = xyes; then
8053
8054$as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h
8055
8056fi
7907if test x$support_inheritpixmap = xyes; then 8057if test x$support_inheritpixmap = xyes; then
7908 support_xrender=yes
7909 # Extract the first word of "pkg-config", so it can be a program name with args.
7910set dummy pkg-config; ac_word=$2
7911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7912$as_echo_n "checking for $ac_word... " >&6; }
7913if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
7914 $as_echo_n "(cached) " >&6
7915else
7916 case $PKG_CONFIG in
7917 [\\/]* | ?:[\\/]*)
7918 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7919 ;;
7920 *)
7921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7922for as_dir in $PATH
7923do
7924 IFS=$as_save_IFS
7925 test -z "$as_dir" && as_dir=.
7926 for ac_exec_ext in '' $ac_executable_extensions; do
7927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7928 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 break 2
7931 fi
7932done
7933 done
7934IFS=$as_save_IFS
7935
7936 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7937 ;;
7938esac
7939fi
7940PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7941if test -n "$PKG_CONFIG"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7943$as_echo "$PKG_CONFIG" >&6; }
7944else
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946$as_echo "no" >&6; }
7947fi
7948
7949
7950 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
7951 X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS"
7952 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`"
7953
7954 save_LIBS="$LIBS"
7955 LIBS="$LIBS $X_LIBS"
7956 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7957if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
7958
7959else
7960 support_xrender=no
7961fi
7962
7963
7964 ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat"
7965if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then :
7966
7967else
7968 support_xrender=no
7969fi
7970
7971 LIBS="$save_LIBS"
7972 fi
7973
7974 if test x$support_xrender = xyes; then 8058 if test x$rxvt_have_xrender = xyes; then
7975 LIBS="$LIBS -lm" 8059 LIBS="$LIBS -lm"
7976 8060
7977$as_echo "#define XRENDER 1" >>confdefs.h 8061$as_echo "#define XRENDER 1" >>confdefs.h
7978 8062
7979 fi 8063 fi
7980fi
7981if test x$support_styles = xyes; then
7982
7983$as_echo "#define ENABLE_STYLES 1" >>confdefs.h
7984
7985fi
7986if test x$support_iso14755 = xyes; then
7987
7988$as_echo "#define ISO_14755 1" >>confdefs.h
7989
7990fi
7991if test x$support_8bitctrls = xyes; then
7992
7993$as_echo "#define EIGHT_BIT_CONTROLS 1" >>confdefs.h
7994
7995fi
7996if test x$support_fading = xyes; then
7997
7998$as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h
7999
8000fi
8001if test x$support_inheritpixmap = xyes; then
8002 8064
8003$as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h 8065$as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h
8004 8066
8005fi 8067fi
8006if test x$support_keepscrolling = xno; then 8068if test x$support_keepscrolling = xno; then
8940 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 9002 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
8941 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9003 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8942 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 9004 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8943 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9005 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8944 9006
8945 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 9007 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8946 esac 9008 esac
8947done 9009done
8948 9010
8949 9011
8950# If the user did not use the arguments to specify the items to instantiate, 9012# If the user did not use the arguments to specify the items to instantiate,
9255 case $ac_tag in 9317 case $ac_tag in
9256 :[FHLC]) ac_mode=$ac_tag; continue;; 9318 :[FHLC]) ac_mode=$ac_tag; continue;;
9257 esac 9319 esac
9258 case $ac_mode$ac_tag in 9320 case $ac_mode$ac_tag in
9259 :[FHL]*:*);; 9321 :[FHL]*:*);;
9260 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 9322 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9261 :[FH]-) ac_tag=-:-;; 9323 :[FH]-) ac_tag=-:-;;
9262 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 9324 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9263 esac 9325 esac
9264 ac_save_IFS=$IFS 9326 ac_save_IFS=$IFS
9265 IFS=: 9327 IFS=:
9283 test -f "$ac_f" || 9345 test -f "$ac_f" ||
9284 case $ac_f in 9346 case $ac_f in
9285 [\\/$]*) false;; 9347 [\\/$]*) false;;
9286 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 9348 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9287 esac || 9349 esac ||
9288 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 9350 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9289 esac 9351 esac
9290 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 9352 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9291 as_fn_append ac_file_inputs " '$ac_f'" 9353 as_fn_append ac_file_inputs " '$ac_f'"
9292 done 9354 done
9293 9355
9310 *) ac_sed_conf_input=$configure_input;; 9372 *) ac_sed_conf_input=$configure_input;;
9311 esac 9373 esac
9312 9374
9313 case $ac_tag in 9375 case $ac_tag in
9314 *:-:* | *:-) cat >"$tmp/stdin" \ 9376 *:-:* | *:-) cat >"$tmp/stdin" \
9315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 9377 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9316 esac 9378 esac
9317 ;; 9379 ;;
9318 esac 9380 esac
9319 9381
9320 ac_dir=`$as_dirname -- "$ac_file" || 9382 ac_dir=`$as_dirname -- "$ac_file" ||

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines