… | |
… | |
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;} |
2543 | as_fn_error $? "failed to load site script $ac_site_file |
2543 | as_fn_error $? "failed to load site script $ac_site_file |
2544 | See \`config.log' for more details" "$LINENO" 5 ; } |
2544 | See \`config.log' for more details" "$LINENO" 5; } |
2545 | fi |
2545 | fi |
2546 | done |
2546 | done |
2547 | |
2547 | |
2548 | if test -r "$cache_file"; then |
2548 | if 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 |
… | |
… | |
2684 | fi |
2684 | fi |
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; } |
2687 | case $ac_cv_build in |
2687 | case $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;; |
2690 | esac |
2690 | esac |
2691 | build=$ac_cv_build |
2691 | build=$ac_cv_build |
2692 | ac_save_IFS=$IFS; IFS='-' |
2692 | ac_save_IFS=$IFS; IFS='-' |
2693 | set x $ac_cv_build |
2693 | set x $ac_cv_build |
2694 | shift |
2694 | shift |
… | |
… | |
2717 | fi |
2717 | fi |
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; } |
2720 | case $ac_cv_host in |
2720 | case $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;; |
2723 | esac |
2723 | esac |
2724 | host=$ac_cv_host |
2724 | host=$ac_cv_host |
2725 | ac_save_IFS=$IFS; IFS='-' |
2725 | ac_save_IFS=$IFS; IFS='-' |
2726 | set x $ac_cv_host |
2726 | set x $ac_cv_host |
2727 | shift |
2727 | shift |
… | |
… | |
3044 | |
3044 | |
3045 | |
3045 | |
3046 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3046 | test -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;} |
3048 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3048 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3049 | See \`config.log' for more details" "$LINENO" 5 ; } |
3049 | See \`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 |
3053 | set X $ac_compile |
3053 | set X $ac_compile |
3054 | ac_compiler=$2 |
3054 | ac_compiler=$2 |
… | |
… | |
3159 | sed 's/^/| /' conftest.$ac_ext >&5 |
3159 | sed '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;} |
3163 | as_fn_error 77 "C compiler cannot create executables |
3163 | as_fn_error 77 "C compiler cannot create executables |
3164 | See \`config.log' for more details" "$LINENO" 5 ; } |
3164 | See \`config.log' for more details" "$LINENO" 5; } |
3165 | else |
3165 | else |
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; } |
3168 | fi |
3168 | fi |
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 |
… | |
… | |
3202 | done |
3202 | done |
3203 | else |
3203 | else |
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;} |
3206 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3206 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3207 | See \`config.log' for more details" "$LINENO" 5 ; } |
3207 | See \`config.log' for more details" "$LINENO" 5; } |
3208 | fi |
3208 | fi |
3209 | rm -f conftest conftest$ac_cv_exeext |
3209 | rm -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;} |
3264 | as_fn_error $? "cannot run C compiled programs. |
3264 | as_fn_error $? "cannot run C compiled programs. |
3265 | If you meant to cross compile, use \`--host'. |
3265 | If you meant to cross compile, use \`--host'. |
3266 | See \`config.log' for more details" "$LINENO" 5 ; } |
3266 | See \`config.log' for more details" "$LINENO" 5; } |
3267 | fi |
3267 | fi |
3268 | fi |
3268 | fi |
3269 | fi |
3269 | fi |
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; } |
… | |
… | |
3313 | sed 's/^/| /' conftest.$ac_ext >&5 |
3313 | sed '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;} |
3317 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3317 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3318 | See \`config.log' for more details" "$LINENO" 5 ; } |
3318 | See \`config.log' for more details" "$LINENO" 5; } |
3319 | fi |
3319 | fi |
3320 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3320 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3321 | fi |
3321 | fi |
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 | |
3919 | else |
3919 | else |
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;} |
3922 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3922 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3923 | See \`config.log' for more details" "$LINENO" 5 ; } |
3923 | See \`config.log' for more details" "$LINENO" 5; } |
3924 | fi |
3924 | fi |
3925 | |
3925 | |
3926 | ac_ext=c |
3926 | ac_ext=c |
3927 | ac_cpp='$CPP $CPPFLAGS' |
3927 | ac_cpp='$CPP $CPPFLAGS' |
3928 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3928 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5253 | |
5253 | |
5254 | else |
5254 | else |
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;} |
5257 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5257 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
5258 | See \`config.log' for more details" "$LINENO" 5 ; } |
5258 | See \`config.log' for more details" "$LINENO" 5; } |
5259 | fi |
5259 | fi |
5260 | |
5260 | |
5261 | ac_ext=cpp |
5261 | ac_ext=cpp |
5262 | ac_cpp='$CXXCPP $CPPFLAGS' |
5262 | ac_cpp='$CXXCPP $CPPFLAGS' |
5263 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5263 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
5562 | if test "x$with_x" = xno; then |
5562 | if 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 |
5565 | else |
5565 | else |
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 |
5570 | else |
5570 | else |
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. |
5572 | ac_x_includes=no ac_x_libraries=no |
5572 | ac_x_includes=no ac_x_libraries=no |
… | |
… | |
6281 | fi |
6281 | fi |
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 | |
7746 | fi |
7746 | fi |
7747 | |
7747 | |
7748 | if test x$support_xft = xyes; then |
7748 | if 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. |
7750 | set dummy pkg-config; ac_word=$2 |
7751 | set 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; } |
7753 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
7754 | if 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; } |
7787 | fi |
7788 | fi |
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" |
|
|
7799 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
|
|
7800 | |
|
|
7801 | else |
|
|
7802 | rxvt_have_xrender=no |
|
|
7803 | fi |
|
|
7804 | |
|
|
7805 | |
|
|
7806 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
|
|
7807 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
|
|
7808 | |
|
|
7809 | else |
|
|
7810 | rxvt_have_xrender=no |
|
|
7811 | fi |
|
|
7812 | |
|
|
7813 | LIBS="$save_LIBS" |
|
|
7814 | fi |
|
|
7815 | fi |
|
|
7816 | |
|
|
7817 | if 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. |
|
|
7819 | set 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; } |
|
|
7822 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
|
|
7823 | $as_echo_n "(cached) " >&6 |
|
|
7824 | else |
|
|
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 |
|
|
7831 | for as_dir in $PATH |
|
|
7832 | do |
|
|
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 |
|
|
7841 | done |
|
|
7842 | done |
|
|
7843 | IFS=$as_save_IFS |
|
|
7844 | |
|
|
7845 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7846 | ;; |
|
|
7847 | esac |
|
|
7848 | fi |
|
|
7849 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7850 | if test -n "$PKG_CONFIG"; then |
|
|
7851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7852 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7853 | else |
|
|
7854 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7855 | $as_echo "no" >&6; } |
|
|
7856 | fi |
|
|
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 |
7844 | do : |
7918 | do : |
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 | : |
7895 | else |
7969 | else |
7896 | support_xft=no |
7970 | support_xft=no |
7897 | fi |
7971 | fi |
7898 | |
7972 | |
|
|
7973 | for ac_header in fontconfig/fontconfig.h |
|
|
7974 | do : |
|
|
7975 | ac_fn_cxx_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default" |
|
|
7976 | if 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 | |
|
|
7981 | else |
|
|
7982 | support_xft=no |
|
|
7983 | fi |
|
|
7984 | |
|
|
7985 | done |
|
|
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; } |
|
|
7989 | if test "${ac_cv_lib_fontconfig_FcPatternGet+set}" = set; then : |
|
|
7990 | $as_echo_n "(cached) " >&6 |
|
|
7991 | else |
|
|
7992 | ac_check_lib_save_LIBS=$LIBS |
|
|
7993 | LIBS="-lfontconfig $LIBS" |
|
|
7994 | cat 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 |
|
|
8001 | extern "C" |
|
|
8002 | #endif |
|
|
8003 | char FcPatternGet (); |
|
|
8004 | int |
|
|
8005 | main () |
|
|
8006 | { |
|
|
8007 | return FcPatternGet (); |
|
|
8008 | ; |
|
|
8009 | return 0; |
|
|
8010 | } |
|
|
8011 | _ACEOF |
|
|
8012 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8013 | ac_cv_lib_fontconfig_FcPatternGet=yes |
|
|
8014 | else |
|
|
8015 | ac_cv_lib_fontconfig_FcPatternGet=no |
|
|
8016 | fi |
|
|
8017 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
8018 | conftest$ac_exeext conftest.$ac_ext |
|
|
8019 | LIBS=$ac_check_lib_save_LIBS |
|
|
8020 | fi |
|
|
8021 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternGet" >&5 |
|
|
8022 | $as_echo "$ac_cv_lib_fontconfig_FcPatternGet" >&6; } |
|
|
8023 | if test "x$ac_cv_lib_fontconfig_FcPatternGet" = x""yes; then : |
|
|
8024 | : |
|
|
8025 | else |
|
|
8026 | support_xft=no |
|
|
8027 | fi |
|
|
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 |
7906 | fi |
8036 | fi |
|
|
8037 | if test x$support_styles = xyes; then |
|
|
8038 | |
|
|
8039 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
|
|
8040 | |
|
|
8041 | fi |
|
|
8042 | if test x$support_iso14755 = xyes; then |
|
|
8043 | |
|
|
8044 | $as_echo "#define ISO_14755 1" >>confdefs.h |
|
|
8045 | |
|
|
8046 | fi |
|
|
8047 | if test x$support_8bitctrls = xyes; then |
|
|
8048 | |
|
|
8049 | $as_echo "#define EIGHT_BIT_CONTROLS 1" >>confdefs.h |
|
|
8050 | |
|
|
8051 | fi |
|
|
8052 | if test x$support_fading = xyes; then |
|
|
8053 | |
|
|
8054 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
|
|
8055 | |
|
|
8056 | fi |
7907 | if test x$support_inheritpixmap = xyes; then |
8057 | if 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. |
|
|
7910 | set 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; } |
|
|
7913 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : |
|
|
7914 | $as_echo_n "(cached) " >&6 |
|
|
7915 | else |
|
|
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 |
|
|
7922 | for as_dir in $PATH |
|
|
7923 | do |
|
|
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 |
|
|
7932 | done |
|
|
7933 | done |
|
|
7934 | IFS=$as_save_IFS |
|
|
7935 | |
|
|
7936 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
7937 | ;; |
|
|
7938 | esac |
|
|
7939 | fi |
|
|
7940 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
7941 | if test -n "$PKG_CONFIG"; then |
|
|
7942 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
|
7943 | $as_echo "$PKG_CONFIG" >&6; } |
|
|
7944 | else |
|
|
7945 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
7946 | $as_echo "no" >&6; } |
|
|
7947 | fi |
|
|
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" |
|
|
7957 | if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then : |
|
|
7958 | |
|
|
7959 | else |
|
|
7960 | support_xrender=no |
|
|
7961 | fi |
|
|
7962 | |
|
|
7963 | |
|
|
7964 | ac_fn_cxx_check_func "$LINENO" "XRenderFindStandardFormat" "ac_cv_func_XRenderFindStandardFormat" |
|
|
7965 | if test "x$ac_cv_func_XRenderFindStandardFormat" = x""yes; then : |
|
|
7966 | |
|
|
7967 | else |
|
|
7968 | support_xrender=no |
|
|
7969 | fi |
|
|
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 |
7980 | fi |
|
|
7981 | if test x$support_styles = xyes; then |
|
|
7982 | |
|
|
7983 | $as_echo "#define ENABLE_STYLES 1" >>confdefs.h |
|
|
7984 | |
|
|
7985 | fi |
|
|
7986 | if test x$support_iso14755 = xyes; then |
|
|
7987 | |
|
|
7988 | $as_echo "#define ISO_14755 1" >>confdefs.h |
|
|
7989 | |
|
|
7990 | fi |
|
|
7991 | if test x$support_8bitctrls = xyes; then |
|
|
7992 | |
|
|
7993 | $as_echo "#define EIGHT_BIT_CONTROLS 1" >>confdefs.h |
|
|
7994 | |
|
|
7995 | fi |
|
|
7996 | if test x$support_fading = xyes; then |
|
|
7997 | |
|
|
7998 | $as_echo "#define OFF_FOCUS_FADING 1" >>confdefs.h |
|
|
7999 | |
|
|
8000 | fi |
|
|
8001 | if 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 | |
8005 | fi |
8067 | fi |
8006 | if test x$support_keepscrolling = xno; then |
8068 | if 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 |
8947 | done |
9009 | done |
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" || |