… | |
… | |
617 | CXXCPP |
617 | CXXCPP |
618 | RXVTNAME |
618 | RXVTNAME |
619 | LINKER |
619 | LINKER |
620 | EGREP |
620 | EGREP |
621 | GREP |
621 | GREP |
|
|
622 | CPP |
622 | INSTALL_DATA |
623 | INSTALL_DATA |
623 | INSTALL_SCRIPT |
624 | INSTALL_SCRIPT |
624 | INSTALL_PROGRAM |
625 | INSTALL_PROGRAM |
625 | CPP |
|
|
626 | ac_ct_CXX |
626 | ac_ct_CXX |
627 | CXXFLAGS |
627 | CXXFLAGS |
628 | CXX |
628 | CXX |
629 | OBJEXT |
629 | OBJEXT |
630 | EXEEXT |
630 | EXEEXT |
… | |
… | |
3794 | ac_cpp='$CPP $CPPFLAGS' |
3794 | ac_cpp='$CPP $CPPFLAGS' |
3795 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3795 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3796 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3796 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3797 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3797 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3798 | |
3798 | |
3799 | ac_ext=c |
|
|
3800 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3801 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3802 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3803 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3805 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3806 | # On Suns, sometimes $CPP names a directory. |
|
|
3807 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3808 | CPP= |
|
|
3809 | fi |
|
|
3810 | if test -z "$CPP"; then |
|
|
3811 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
3812 | $as_echo_n "(cached) " >&6 |
|
|
3813 | else |
|
|
3814 | # Double quotes because CPP needs to be expanded |
|
|
3815 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3816 | do |
|
|
3817 | ac_preproc_ok=false |
|
|
3818 | for ac_c_preproc_warn_flag in '' yes |
|
|
3819 | do |
|
|
3820 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3821 | # with a fresh cross-compiler works. |
|
|
3822 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3823 | # <limits.h> exists even on freestanding compilers. |
|
|
3824 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3825 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3826 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3827 | /* end confdefs.h. */ |
|
|
3828 | #ifdef __STDC__ |
|
|
3829 | # include <limits.h> |
|
|
3830 | #else |
|
|
3831 | # include <assert.h> |
|
|
3832 | #endif |
|
|
3833 | Syntax error |
|
|
3834 | _ACEOF |
|
|
3835 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3836 | |
|
|
3837 | else |
|
|
3838 | # Broken: fails on valid input. |
|
|
3839 | continue |
|
|
3840 | fi |
|
|
3841 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3842 | |
|
|
3843 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3844 | # can be detected and how. |
|
|
3845 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3846 | /* end confdefs.h. */ |
|
|
3847 | #include <ac_nonexistent.h> |
|
|
3848 | _ACEOF |
|
|
3849 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3850 | # Broken: success on invalid input. |
|
|
3851 | continue |
|
|
3852 | else |
|
|
3853 | # Passes both tests. |
|
|
3854 | ac_preproc_ok=: |
|
|
3855 | break |
|
|
3856 | fi |
|
|
3857 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3858 | |
|
|
3859 | done |
|
|
3860 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3861 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3862 | if $ac_preproc_ok; then : |
|
|
3863 | break |
|
|
3864 | fi |
|
|
3865 | |
|
|
3866 | done |
|
|
3867 | ac_cv_prog_CPP=$CPP |
|
|
3868 | |
|
|
3869 | fi |
|
|
3870 | CPP=$ac_cv_prog_CPP |
|
|
3871 | else |
|
|
3872 | ac_cv_prog_CPP=$CPP |
|
|
3873 | fi |
|
|
3874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3875 | $as_echo "$CPP" >&6; } |
|
|
3876 | ac_preproc_ok=false |
|
|
3877 | for ac_c_preproc_warn_flag in '' yes |
|
|
3878 | do |
|
|
3879 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3880 | # with a fresh cross-compiler works. |
|
|
3881 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3882 | # <limits.h> exists even on freestanding compilers. |
|
|
3883 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3884 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3885 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3886 | /* end confdefs.h. */ |
|
|
3887 | #ifdef __STDC__ |
|
|
3888 | # include <limits.h> |
|
|
3889 | #else |
|
|
3890 | # include <assert.h> |
|
|
3891 | #endif |
|
|
3892 | Syntax error |
|
|
3893 | _ACEOF |
|
|
3894 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3895 | |
|
|
3896 | else |
|
|
3897 | # Broken: fails on valid input. |
|
|
3898 | continue |
|
|
3899 | fi |
|
|
3900 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3901 | |
|
|
3902 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3903 | # can be detected and how. |
|
|
3904 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3905 | /* end confdefs.h. */ |
|
|
3906 | #include <ac_nonexistent.h> |
|
|
3907 | _ACEOF |
|
|
3908 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3909 | # Broken: success on invalid input. |
|
|
3910 | continue |
|
|
3911 | else |
|
|
3912 | # Passes both tests. |
|
|
3913 | ac_preproc_ok=: |
|
|
3914 | break |
|
|
3915 | fi |
|
|
3916 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3917 | |
|
|
3918 | done |
|
|
3919 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3920 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3921 | if $ac_preproc_ok; then : |
|
|
3922 | |
|
|
3923 | else |
|
|
3924 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3925 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3926 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
3927 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
3928 | fi |
|
|
3929 | |
|
|
3930 | ac_ext=c |
|
|
3931 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3932 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3933 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3934 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3935 | |
|
|
3936 | # Find a good install program. We prefer a C program (faster), |
3799 | # Find a good install program. We prefer a C program (faster), |
3937 | # so one script is as good as another. But avoid the broken or |
3800 | # so one script is as good as another. But avoid the broken or |
3938 | # incompatible versions: |
3801 | # incompatible versions: |
3939 | # SysV /etc/install, /usr/sbin/install |
3802 | # SysV /etc/install, /usr/sbin/install |
3940 | # SunOS /usr/etc/install |
3803 | # SunOS /usr/etc/install |
… | |
… | |
4025 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3888 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
4026 | |
3889 | |
4027 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3890 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4028 | |
3891 | |
4029 | |
3892 | |
|
|
3893 | |
|
|
3894 | ac_ext=c |
|
|
3895 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3896 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3897 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3898 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
3900 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
3901 | # On Suns, sometimes $CPP names a directory. |
|
|
3902 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
3903 | CPP= |
|
|
3904 | fi |
|
|
3905 | if test -z "$CPP"; then |
|
|
3906 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
3907 | $as_echo_n "(cached) " >&6 |
|
|
3908 | else |
|
|
3909 | # Double quotes because CPP needs to be expanded |
|
|
3910 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
3911 | do |
|
|
3912 | ac_preproc_ok=false |
|
|
3913 | for ac_c_preproc_warn_flag in '' yes |
|
|
3914 | do |
|
|
3915 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3916 | # with a fresh cross-compiler works. |
|
|
3917 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3918 | # <limits.h> exists even on freestanding compilers. |
|
|
3919 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3920 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3921 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3922 | /* end confdefs.h. */ |
|
|
3923 | #ifdef __STDC__ |
|
|
3924 | # include <limits.h> |
|
|
3925 | #else |
|
|
3926 | # include <assert.h> |
|
|
3927 | #endif |
|
|
3928 | Syntax error |
|
|
3929 | _ACEOF |
|
|
3930 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3931 | |
|
|
3932 | else |
|
|
3933 | # Broken: fails on valid input. |
|
|
3934 | continue |
|
|
3935 | fi |
|
|
3936 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3937 | |
|
|
3938 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3939 | # can be detected and how. |
|
|
3940 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3941 | /* end confdefs.h. */ |
|
|
3942 | #include <ac_nonexistent.h> |
|
|
3943 | _ACEOF |
|
|
3944 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3945 | # Broken: success on invalid input. |
|
|
3946 | continue |
|
|
3947 | else |
|
|
3948 | # Passes both tests. |
|
|
3949 | ac_preproc_ok=: |
|
|
3950 | break |
|
|
3951 | fi |
|
|
3952 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3953 | |
|
|
3954 | done |
|
|
3955 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3956 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
3957 | if $ac_preproc_ok; then : |
|
|
3958 | break |
|
|
3959 | fi |
|
|
3960 | |
|
|
3961 | done |
|
|
3962 | ac_cv_prog_CPP=$CPP |
|
|
3963 | |
|
|
3964 | fi |
|
|
3965 | CPP=$ac_cv_prog_CPP |
|
|
3966 | else |
|
|
3967 | ac_cv_prog_CPP=$CPP |
|
|
3968 | fi |
|
|
3969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
3970 | $as_echo "$CPP" >&6; } |
|
|
3971 | ac_preproc_ok=false |
|
|
3972 | for ac_c_preproc_warn_flag in '' yes |
|
|
3973 | do |
|
|
3974 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3975 | # with a fresh cross-compiler works. |
|
|
3976 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3977 | # <limits.h> exists even on freestanding compilers. |
|
|
3978 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3979 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3980 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3981 | /* end confdefs.h. */ |
|
|
3982 | #ifdef __STDC__ |
|
|
3983 | # include <limits.h> |
|
|
3984 | #else |
|
|
3985 | # include <assert.h> |
|
|
3986 | #endif |
|
|
3987 | Syntax error |
|
|
3988 | _ACEOF |
|
|
3989 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
3990 | |
|
|
3991 | else |
|
|
3992 | # Broken: fails on valid input. |
|
|
3993 | continue |
|
|
3994 | fi |
|
|
3995 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
3996 | |
|
|
3997 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
3998 | # can be detected and how. |
|
|
3999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4000 | /* end confdefs.h. */ |
|
|
4001 | #include <ac_nonexistent.h> |
|
|
4002 | _ACEOF |
|
|
4003 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
4004 | # Broken: success on invalid input. |
|
|
4005 | continue |
|
|
4006 | else |
|
|
4007 | # Passes both tests. |
|
|
4008 | ac_preproc_ok=: |
|
|
4009 | break |
|
|
4010 | fi |
|
|
4011 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
4012 | |
|
|
4013 | done |
|
|
4014 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4015 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
4016 | if $ac_preproc_ok; then : |
|
|
4017 | |
|
|
4018 | else |
|
|
4019 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
4020 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
4021 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
4022 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
4023 | fi |
|
|
4024 | |
|
|
4025 | ac_ext=c |
|
|
4026 | ac_cpp='$CPP $CPPFLAGS' |
|
|
4027 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4028 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4029 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4030 | |
4030 | |
4031 | |
4031 | |
4032 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4032 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
4033 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4033 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
4034 | if test "${ac_cv_path_GREP+set}" = set; then : |
4034 | if test "${ac_cv_path_GREP+set}" = set; then : |
… | |
… | |
7194 | |
7194 | |
7195 | fi |
7195 | fi |
7196 | LIBS=$save_LIBS |
7196 | LIBS=$save_LIBS |
7197 | CFLAGS=$save_CFLAGS |
7197 | CFLAGS=$save_CFLAGS |
7198 | |
7198 | |
7199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working plain setlocale" >&5 |
|
|
7200 | $as_echo_n "checking for working plain setlocale... " >&6; } |
|
|
7201 | if test "${rxvt_cv_func_setlocale+set}" = set; then : |
|
|
7202 | $as_echo_n "(cached) " >&6 |
|
|
7203 | else |
|
|
7204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7205 | /* end confdefs.h. */ |
|
|
7206 | #include <locale.h> |
|
|
7207 | int |
|
|
7208 | main () |
|
|
7209 | { |
|
|
7210 | setlocale(LC_CTYPE, ""); |
|
|
7211 | ; |
|
|
7212 | return 0; |
|
|
7213 | } |
|
|
7214 | _ACEOF |
|
|
7215 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
7216 | rxvt_cv_func_setlocale=yes |
|
|
7217 | else |
|
|
7218 | rxvt_cv_func_setlocale=no |
|
|
7219 | fi |
|
|
7220 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
7221 | conftest$ac_exeext conftest.$ac_ext |
|
|
7222 | fi |
|
|
7223 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rxvt_cv_func_setlocale" >&5 |
|
|
7224 | $as_echo "$rxvt_cv_func_setlocale" >&6; } |
|
|
7225 | if test x$rxvt_cv_func_setlocale = xyes; then |
|
|
7226 | |
|
|
7227 | $as_echo "#define HAVE_SETLOCALE 1" >>confdefs.h |
|
|
7228 | |
|
|
7229 | fi |
|
|
7230 | |
|
|
7231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 |
7232 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7200 | $as_echo_n "checking for working nl_langinfo... " >&6; } |
7233 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : |
7201 | if test "${rxvt_cv_func_nl_langinfo+set}" = set; then : |
7234 | $as_echo_n "(cached) " >&6 |
7202 | $as_echo_n "(cached) " >&6 |
7235 | else |
7203 | else |
… | |
… | |
7393 | for ac_header in \ |
7361 | for ac_header in \ |
7394 | pty.h \ |
7362 | pty.h \ |
7395 | util.h \ |
7363 | util.h \ |
7396 | libutil.h \ |
7364 | libutil.h \ |
7397 | sys/ioctl.h \ |
7365 | sys/ioctl.h \ |
7398 | sys/stropts.h \ |
|
|
7399 | stropts.h \ |
7366 | stropts.h \ |
7400 | |
7367 | |
7401 | do : |
7368 | do : |
7402 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7369 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7403 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7370 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |