… | |
… | |
5194 | codesets=all |
5194 | codesets=all |
5195 | fi |
5195 | fi |
5196 | fi |
5196 | fi |
5197 | |
5197 | |
5198 | |
5198 | |
|
|
5199 | echo |
|
|
5200 | if test x$support_inheritpixmap = xyes; then |
|
|
5201 | support_inheritpixmap=no |
|
|
5202 | echo "******* transparency support disabled, does not work" |
|
|
5203 | fi |
|
|
5204 | if test x$support_xpm = xyes; then |
|
|
5205 | support_xpm=no |
|
|
5206 | echo "******* pixmap support disabled, does not work" |
|
|
5207 | fi |
|
|
5208 | if test x$support_graphics = xyes; then |
|
|
5209 | support_graphics=no |
|
|
5210 | echo "******* graphics support disabled, does not work" |
|
|
5211 | fi |
|
|
5212 | if test x$support_menubar = xyes; then |
|
|
5213 | support_menubar=no |
|
|
5214 | echo "******* menubar support disabled, does not work" |
|
|
5215 | fi |
|
|
5216 | echo |
|
|
5217 | |
5199 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
5218 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
5200 | if test "${enable_unicode3+set}" = set; then |
5219 | if test "${enable_unicode3+set}" = set; then |
5201 | enableval="$enable_unicode3" |
5220 | enableval="$enable_unicode3" |
5202 | if test x$enableval = xyes; then |
5221 | if test x$enableval = xyes; then |
5203 | support_unicode3=yes |
5222 | support_unicode3=yes |
… | |
… | |
5628 | fi |
5647 | fi |
5629 | |
5648 | |
5630 | # Extract the first word of "mv", so it can be a program name with args. |
5649 | # Extract the first word of "mv", so it can be a program name with args. |
5631 | set dummy mv; ac_word=$2 |
5650 | set dummy mv; ac_word=$2 |
5632 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5651 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5633 | echo "configure:5634: checking for $ac_word" >&5 |
5652 | echo "configure:5653: checking for $ac_word" >&5 |
5634 | if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then |
5653 | if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then |
5635 | echo $ac_n "(cached) $ac_c" 1>&6 |
5654 | echo $ac_n "(cached) $ac_c" 1>&6 |
5636 | else |
5655 | else |
5637 | case "$MV" in |
5656 | case "$MV" in |
5638 | /*) |
5657 | /*) |
… | |
… | |
5664 | fi |
5683 | fi |
5665 | |
5684 | |
5666 | # Extract the first word of "rm", so it can be a program name with args. |
5685 | # Extract the first word of "rm", so it can be a program name with args. |
5667 | set dummy rm; ac_word=$2 |
5686 | set dummy rm; ac_word=$2 |
5668 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5687 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5669 | echo "configure:5670: checking for $ac_word" >&5 |
5688 | echo "configure:5689: checking for $ac_word" >&5 |
5670 | if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then |
5689 | if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then |
5671 | echo $ac_n "(cached) $ac_c" 1>&6 |
5690 | echo $ac_n "(cached) $ac_c" 1>&6 |
5672 | else |
5691 | else |
5673 | case "$RM" in |
5692 | case "$RM" in |
5674 | /*) |
5693 | /*) |
… | |
… | |
5700 | fi |
5719 | fi |
5701 | |
5720 | |
5702 | # Extract the first word of "cp", so it can be a program name with args. |
5721 | # Extract the first word of "cp", so it can be a program name with args. |
5703 | set dummy cp; ac_word=$2 |
5722 | set dummy cp; ac_word=$2 |
5704 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5723 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5705 | echo "configure:5706: checking for $ac_word" >&5 |
5724 | echo "configure:5725: checking for $ac_word" >&5 |
5706 | if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then |
5725 | if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then |
5707 | echo $ac_n "(cached) $ac_c" 1>&6 |
5726 | echo $ac_n "(cached) $ac_c" 1>&6 |
5708 | else |
5727 | else |
5709 | case "$CP" in |
5728 | case "$CP" in |
5710 | /*) |
5729 | /*) |
… | |
… | |
5736 | fi |
5755 | fi |
5737 | |
5756 | |
5738 | # Extract the first word of "ln", so it can be a program name with args. |
5757 | # Extract the first word of "ln", so it can be a program name with args. |
5739 | set dummy ln; ac_word=$2 |
5758 | set dummy ln; ac_word=$2 |
5740 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5759 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5741 | echo "configure:5742: checking for $ac_word" >&5 |
5760 | echo "configure:5761: checking for $ac_word" >&5 |
5742 | if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then |
5761 | if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then |
5743 | echo $ac_n "(cached) $ac_c" 1>&6 |
5762 | echo $ac_n "(cached) $ac_c" 1>&6 |
5744 | else |
5763 | else |
5745 | case "$LN" in |
5764 | case "$LN" in |
5746 | /*) |
5765 | /*) |
… | |
… | |
5772 | fi |
5791 | fi |
5773 | |
5792 | |
5774 | # Extract the first word of "sed", so it can be a program name with args. |
5793 | # Extract the first word of "sed", so it can be a program name with args. |
5775 | set dummy sed; ac_word=$2 |
5794 | set dummy sed; ac_word=$2 |
5776 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5795 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5777 | echo "configure:5778: checking for $ac_word" >&5 |
5796 | echo "configure:5797: checking for $ac_word" >&5 |
5778 | if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then |
5797 | if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then |
5779 | echo $ac_n "(cached) $ac_c" 1>&6 |
5798 | echo $ac_n "(cached) $ac_c" 1>&6 |
5780 | else |
5799 | else |
5781 | case "$SED" in |
5800 | case "$SED" in |
5782 | /*) |
5801 | /*) |
… | |
… | |
5808 | fi |
5827 | fi |
5809 | |
5828 | |
5810 | # Extract the first word of "echo", so it can be a program name with args. |
5829 | # Extract the first word of "echo", so it can be a program name with args. |
5811 | set dummy echo; ac_word=$2 |
5830 | set dummy echo; ac_word=$2 |
5812 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5831 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5813 | echo "configure:5814: checking for $ac_word" >&5 |
5832 | echo "configure:5833: checking for $ac_word" >&5 |
5814 | if eval "test \"`echo '$''{'ac_cv_path_ECHO'+set}'`\" = set"; then |
5833 | if eval "test \"`echo '$''{'ac_cv_path_ECHO'+set}'`\" = set"; then |
5815 | echo $ac_n "(cached) $ac_c" 1>&6 |
5834 | echo $ac_n "(cached) $ac_c" 1>&6 |
5816 | else |
5835 | else |
5817 | case "$ECHO" in |
5836 | case "$ECHO" in |
5818 | /*) |
5837 | /*) |
… | |
… | |
5844 | fi |
5863 | fi |
5845 | |
5864 | |
5846 | # Extract the first word of "cmp", so it can be a program name with args. |
5865 | # Extract the first word of "cmp", so it can be a program name with args. |
5847 | set dummy cmp; ac_word=$2 |
5866 | set dummy cmp; ac_word=$2 |
5848 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5867 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5849 | echo "configure:5850: checking for $ac_word" >&5 |
5868 | echo "configure:5869: checking for $ac_word" >&5 |
5850 | if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then |
5869 | if eval "test \"`echo '$''{'ac_cv_path_CMP'+set}'`\" = set"; then |
5851 | echo $ac_n "(cached) $ac_c" 1>&6 |
5870 | echo $ac_n "(cached) $ac_c" 1>&6 |
5852 | else |
5871 | else |
5853 | case "$CMP" in |
5872 | case "$CMP" in |
5854 | /*) |
5873 | /*) |
… | |
… | |
5880 | fi |
5899 | fi |
5881 | |
5900 | |
5882 | # Extract the first word of "tbl", so it can be a program name with args. |
5901 | # Extract the first word of "tbl", so it can be a program name with args. |
5883 | set dummy tbl; ac_word=$2 |
5902 | set dummy tbl; ac_word=$2 |
5884 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5903 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5885 | echo "configure:5886: checking for $ac_word" >&5 |
5904 | echo "configure:5905: checking for $ac_word" >&5 |
5886 | if eval "test \"`echo '$''{'ac_cv_path_TBL'+set}'`\" = set"; then |
5905 | if eval "test \"`echo '$''{'ac_cv_path_TBL'+set}'`\" = set"; then |
5887 | echo $ac_n "(cached) $ac_c" 1>&6 |
5906 | echo $ac_n "(cached) $ac_c" 1>&6 |
5888 | else |
5907 | else |
5889 | case "$TBL" in |
5908 | case "$TBL" in |
5890 | /*) |
5909 | /*) |
… | |
… | |
5920 | # If we find X, set shell vars x_includes and x_libraries to the |
5939 | # If we find X, set shell vars x_includes and x_libraries to the |
5921 | # paths, otherwise set no_x=yes. |
5940 | # paths, otherwise set no_x=yes. |
5922 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
5941 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
5923 | # --without-x overrides everything else, but does not touch the cache. |
5942 | # --without-x overrides everything else, but does not touch the cache. |
5924 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
5943 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
5925 | echo "configure:5926: checking for X" >&5 |
5944 | echo "configure:5945: checking for X" >&5 |
5926 | |
5945 | |
5927 | # Check whether --with-x or --without-x was given. |
5946 | # Check whether --with-x or --without-x was given. |
5928 | if test "${with_x+set}" = set; then |
5947 | if test "${with_x+set}" = set; then |
5929 | withval="$with_x" |
5948 | withval="$with_x" |
5930 | : |
5949 | : |
… | |
… | |
5982 | # Guess where to find include files, by looking for this one X11 .h file. |
6001 | # Guess where to find include files, by looking for this one X11 .h file. |
5983 | test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
6002 | test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5984 | |
6003 | |
5985 | # First, try using that file with no special directory specified. |
6004 | # First, try using that file with no special directory specified. |
5986 | cat > conftest.$ac_ext <<EOF |
6005 | cat > conftest.$ac_ext <<EOF |
5987 | #line 5988 "configure" |
6006 | #line 6007 "configure" |
5988 | #include "confdefs.h" |
6007 | #include "confdefs.h" |
5989 | #include <$x_direct_test_include> |
6008 | #include <$x_direct_test_include> |
5990 | EOF |
6009 | EOF |
5991 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6010 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5992 | { (eval echo configure:5993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6011 | { (eval echo configure:6012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5993 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6012 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5994 | if test -z "$ac_err"; then |
6013 | if test -z "$ac_err"; then |
5995 | rm -rf conftest* |
6014 | rm -rf conftest* |
5996 | # We can compile using X headers with no special include directory. |
6015 | # We can compile using X headers with no special include directory. |
5997 | ac_x_includes= |
6016 | ac_x_includes= |
… | |
… | |
6056 | # See if we find them without any special options. |
6075 | # See if we find them without any special options. |
6057 | # Don't add to $LIBS permanently. |
6076 | # Don't add to $LIBS permanently. |
6058 | ac_save_LIBS="$LIBS" |
6077 | ac_save_LIBS="$LIBS" |
6059 | LIBS="-l$x_direct_test_library $LIBS" |
6078 | LIBS="-l$x_direct_test_library $LIBS" |
6060 | cat > conftest.$ac_ext <<EOF |
6079 | cat > conftest.$ac_ext <<EOF |
6061 | #line 6062 "configure" |
6080 | #line 6081 "configure" |
6062 | #include "confdefs.h" |
6081 | #include "confdefs.h" |
6063 | |
6082 | |
6064 | int main() { |
6083 | int main() { |
6065 | ${x_direct_test_function}() |
6084 | ${x_direct_test_function}() |
6066 | ; return 0; } |
6085 | ; return 0; } |
6067 | EOF |
6086 | EOF |
6068 | if { (eval echo configure:6069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6087 | if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6069 | rm -rf conftest* |
6088 | rm -rf conftest* |
6070 | LIBS="$ac_save_LIBS" |
6089 | LIBS="$ac_save_LIBS" |
6071 | # We can link X programs with no special library path. |
6090 | # We can link X programs with no special library path. |
6072 | ac_x_libraries= |
6091 | ac_x_libraries= |
6073 | else |
6092 | else |
… | |
… | |
6169 | # For Solaris; some versions of Sun CC require a space after -R and |
6188 | # For Solaris; some versions of Sun CC require a space after -R and |
6170 | # others require no space. Words are not sufficient . . . . |
6189 | # others require no space. Words are not sufficient . . . . |
6171 | case "`(uname -sr) 2>/dev/null`" in |
6190 | case "`(uname -sr) 2>/dev/null`" in |
6172 | "SunOS 5"*) |
6191 | "SunOS 5"*) |
6173 | echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6192 | echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6174 | echo "configure:6175: checking whether -R must be followed by a space" >&5 |
6193 | echo "configure:6194: checking whether -R must be followed by a space" >&5 |
6175 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6194 | ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6176 | cat > conftest.$ac_ext <<EOF |
6195 | cat > conftest.$ac_ext <<EOF |
6177 | #line 6178 "configure" |
6196 | #line 6197 "configure" |
6178 | #include "confdefs.h" |
6197 | #include "confdefs.h" |
6179 | |
6198 | |
6180 | int main() { |
6199 | int main() { |
6181 | |
6200 | |
6182 | ; return 0; } |
6201 | ; return 0; } |
6183 | EOF |
6202 | EOF |
6184 | if { (eval echo configure:6185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6203 | if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6185 | rm -rf conftest* |
6204 | rm -rf conftest* |
6186 | ac_R_nospace=yes |
6205 | ac_R_nospace=yes |
6187 | else |
6206 | else |
6188 | echo "configure: failed program was:" >&5 |
6207 | echo "configure: failed program was:" >&5 |
6189 | cat conftest.$ac_ext >&5 |
6208 | cat conftest.$ac_ext >&5 |
… | |
… | |
6195 | echo "$ac_t""no" 1>&6 |
6214 | echo "$ac_t""no" 1>&6 |
6196 | X_LIBS="$X_LIBS -R$x_libraries" |
6215 | X_LIBS="$X_LIBS -R$x_libraries" |
6197 | else |
6216 | else |
6198 | LIBS="$ac_xsave_LIBS -R $x_libraries" |
6217 | LIBS="$ac_xsave_LIBS -R $x_libraries" |
6199 | cat > conftest.$ac_ext <<EOF |
6218 | cat > conftest.$ac_ext <<EOF |
6200 | #line 6201 "configure" |
6219 | #line 6220 "configure" |
6201 | #include "confdefs.h" |
6220 | #include "confdefs.h" |
6202 | |
6221 | |
6203 | int main() { |
6222 | int main() { |
6204 | |
6223 | |
6205 | ; return 0; } |
6224 | ; return 0; } |
6206 | EOF |
6225 | EOF |
6207 | if { (eval echo configure:6208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6226 | if { (eval echo configure:6227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6208 | rm -rf conftest* |
6227 | rm -rf conftest* |
6209 | ac_R_space=yes |
6228 | ac_R_space=yes |
6210 | else |
6229 | else |
6211 | echo "configure: failed program was:" >&5 |
6230 | echo "configure: failed program was:" >&5 |
6212 | cat conftest.$ac_ext >&5 |
6231 | cat conftest.$ac_ext >&5 |
… | |
… | |
6234 | else |
6253 | else |
6235 | # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
6254 | # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
6236 | # libraries were built with DECnet support. And karl@cs.umb.edu says |
6255 | # libraries were built with DECnet support. And karl@cs.umb.edu says |
6237 | # the Alpha needs dnet_stub (dnet does not exist). |
6256 | # the Alpha needs dnet_stub (dnet does not exist). |
6238 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6257 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6239 | echo "configure:6240: checking for dnet_ntoa in -ldnet" >&5 |
6258 | echo "configure:6259: checking for dnet_ntoa in -ldnet" >&5 |
6240 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6259 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6241 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6260 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6242 | echo $ac_n "(cached) $ac_c" 1>&6 |
6261 | echo $ac_n "(cached) $ac_c" 1>&6 |
6243 | else |
6262 | else |
6244 | ac_save_LIBS="$LIBS" |
6263 | ac_save_LIBS="$LIBS" |
6245 | LIBS="-ldnet $LIBS" |
6264 | LIBS="-ldnet $LIBS" |
6246 | cat > conftest.$ac_ext <<EOF |
6265 | cat > conftest.$ac_ext <<EOF |
6247 | #line 6248 "configure" |
6266 | #line 6267 "configure" |
6248 | #include "confdefs.h" |
6267 | #include "confdefs.h" |
6249 | /* Override any gcc2 internal prototype to avoid an error. */ |
6268 | /* Override any gcc2 internal prototype to avoid an error. */ |
6250 | /* We use char because int might match the return type of a gcc2 |
6269 | /* We use char because int might match the return type of a gcc2 |
6251 | builtin and then its argument prototype would still apply. */ |
6270 | builtin and then its argument prototype would still apply. */ |
6252 | char dnet_ntoa(); |
6271 | char dnet_ntoa(); |
6253 | |
6272 | |
6254 | int main() { |
6273 | int main() { |
6255 | dnet_ntoa() |
6274 | dnet_ntoa() |
6256 | ; return 0; } |
6275 | ; return 0; } |
6257 | EOF |
6276 | EOF |
6258 | if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6277 | if { (eval echo configure:6278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6259 | rm -rf conftest* |
6278 | rm -rf conftest* |
6260 | eval "ac_cv_lib_$ac_lib_var=yes" |
6279 | eval "ac_cv_lib_$ac_lib_var=yes" |
6261 | else |
6280 | else |
6262 | echo "configure: failed program was:" >&5 |
6281 | echo "configure: failed program was:" >&5 |
6263 | cat conftest.$ac_ext >&5 |
6282 | cat conftest.$ac_ext >&5 |
… | |
… | |
6275 | echo "$ac_t""no" 1>&6 |
6294 | echo "$ac_t""no" 1>&6 |
6276 | fi |
6295 | fi |
6277 | |
6296 | |
6278 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6297 | if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6279 | echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6298 | echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6280 | echo "configure:6281: checking for dnet_ntoa in -ldnet_stub" >&5 |
6299 | echo "configure:6300: checking for dnet_ntoa in -ldnet_stub" >&5 |
6281 | ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6300 | ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6282 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6301 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6283 | echo $ac_n "(cached) $ac_c" 1>&6 |
6302 | echo $ac_n "(cached) $ac_c" 1>&6 |
6284 | else |
6303 | else |
6285 | ac_save_LIBS="$LIBS" |
6304 | ac_save_LIBS="$LIBS" |
6286 | LIBS="-ldnet_stub $LIBS" |
6305 | LIBS="-ldnet_stub $LIBS" |
6287 | cat > conftest.$ac_ext <<EOF |
6306 | cat > conftest.$ac_ext <<EOF |
6288 | #line 6289 "configure" |
6307 | #line 6308 "configure" |
6289 | #include "confdefs.h" |
6308 | #include "confdefs.h" |
6290 | /* Override any gcc2 internal prototype to avoid an error. */ |
6309 | /* Override any gcc2 internal prototype to avoid an error. */ |
6291 | /* We use char because int might match the return type of a gcc2 |
6310 | /* We use char because int might match the return type of a gcc2 |
6292 | builtin and then its argument prototype would still apply. */ |
6311 | builtin and then its argument prototype would still apply. */ |
6293 | char dnet_ntoa(); |
6312 | char dnet_ntoa(); |
6294 | |
6313 | |
6295 | int main() { |
6314 | int main() { |
6296 | dnet_ntoa() |
6315 | dnet_ntoa() |
6297 | ; return 0; } |
6316 | ; return 0; } |
6298 | EOF |
6317 | EOF |
6299 | if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6318 | if { (eval echo configure:6319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6300 | rm -rf conftest* |
6319 | rm -rf conftest* |
6301 | eval "ac_cv_lib_$ac_lib_var=yes" |
6320 | eval "ac_cv_lib_$ac_lib_var=yes" |
6302 | else |
6321 | else |
6303 | echo "configure: failed program was:" >&5 |
6322 | echo "configure: failed program was:" >&5 |
6304 | cat conftest.$ac_ext >&5 |
6323 | cat conftest.$ac_ext >&5 |
… | |
… | |
6323 | # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6342 | # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6324 | # needs -lnsl. |
6343 | # needs -lnsl. |
6325 | # The nsl library prevents programs from opening the X display |
6344 | # The nsl library prevents programs from opening the X display |
6326 | # on Irix 5.2, according to dickey@clark.net. |
6345 | # on Irix 5.2, according to dickey@clark.net. |
6327 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6346 | echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6328 | echo "configure:6329: checking for gethostbyname" >&5 |
6347 | echo "configure:6348: checking for gethostbyname" >&5 |
6329 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
6348 | if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
6330 | echo $ac_n "(cached) $ac_c" 1>&6 |
6349 | echo $ac_n "(cached) $ac_c" 1>&6 |
6331 | else |
6350 | else |
6332 | cat > conftest.$ac_ext <<EOF |
6351 | cat > conftest.$ac_ext <<EOF |
6333 | #line 6334 "configure" |
6352 | #line 6353 "configure" |
6334 | #include "confdefs.h" |
6353 | #include "confdefs.h" |
6335 | /* System header to define __stub macros and hopefully few prototypes, |
6354 | /* System header to define __stub macros and hopefully few prototypes, |
6336 | which can conflict with char gethostbyname(); below. */ |
6355 | which can conflict with char gethostbyname(); below. */ |
6337 | #include <assert.h> |
6356 | #include <assert.h> |
6338 | /* Override any gcc2 internal prototype to avoid an error. */ |
6357 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
6351 | gethostbyname(); |
6370 | gethostbyname(); |
6352 | #endif |
6371 | #endif |
6353 | |
6372 | |
6354 | ; return 0; } |
6373 | ; return 0; } |
6355 | EOF |
6374 | EOF |
6356 | if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6375 | if { (eval echo configure:6376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6357 | rm -rf conftest* |
6376 | rm -rf conftest* |
6358 | eval "ac_cv_func_gethostbyname=yes" |
6377 | eval "ac_cv_func_gethostbyname=yes" |
6359 | else |
6378 | else |
6360 | echo "configure: failed program was:" >&5 |
6379 | echo "configure: failed program was:" >&5 |
6361 | cat conftest.$ac_ext >&5 |
6380 | cat conftest.$ac_ext >&5 |
… | |
… | |
6372 | echo "$ac_t""no" 1>&6 |
6391 | echo "$ac_t""no" 1>&6 |
6373 | fi |
6392 | fi |
6374 | |
6393 | |
6375 | if test $ac_cv_func_gethostbyname = no; then |
6394 | if test $ac_cv_func_gethostbyname = no; then |
6376 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6395 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6377 | echo "configure:6378: checking for gethostbyname in -lnsl" >&5 |
6396 | echo "configure:6397: checking for gethostbyname in -lnsl" >&5 |
6378 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6397 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6379 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6398 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6380 | echo $ac_n "(cached) $ac_c" 1>&6 |
6399 | echo $ac_n "(cached) $ac_c" 1>&6 |
6381 | else |
6400 | else |
6382 | ac_save_LIBS="$LIBS" |
6401 | ac_save_LIBS="$LIBS" |
6383 | LIBS="-lnsl $LIBS" |
6402 | LIBS="-lnsl $LIBS" |
6384 | cat > conftest.$ac_ext <<EOF |
6403 | cat > conftest.$ac_ext <<EOF |
6385 | #line 6386 "configure" |
6404 | #line 6405 "configure" |
6386 | #include "confdefs.h" |
6405 | #include "confdefs.h" |
6387 | /* Override any gcc2 internal prototype to avoid an error. */ |
6406 | /* Override any gcc2 internal prototype to avoid an error. */ |
6388 | /* We use char because int might match the return type of a gcc2 |
6407 | /* We use char because int might match the return type of a gcc2 |
6389 | builtin and then its argument prototype would still apply. */ |
6408 | builtin and then its argument prototype would still apply. */ |
6390 | char gethostbyname(); |
6409 | char gethostbyname(); |
6391 | |
6410 | |
6392 | int main() { |
6411 | int main() { |
6393 | gethostbyname() |
6412 | gethostbyname() |
6394 | ; return 0; } |
6413 | ; return 0; } |
6395 | EOF |
6414 | EOF |
6396 | if { (eval echo configure:6397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6415 | if { (eval echo configure:6416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6397 | rm -rf conftest* |
6416 | rm -rf conftest* |
6398 | eval "ac_cv_lib_$ac_lib_var=yes" |
6417 | eval "ac_cv_lib_$ac_lib_var=yes" |
6399 | else |
6418 | else |
6400 | echo "configure: failed program was:" >&5 |
6419 | echo "configure: failed program was:" >&5 |
6401 | cat conftest.$ac_ext >&5 |
6420 | cat conftest.$ac_ext >&5 |
… | |
… | |
6421 | # on later versions), says simon@lia.di.epfl.ch: it contains |
6440 | # on later versions), says simon@lia.di.epfl.ch: it contains |
6422 | # gethostby* variants that don't use the nameserver (or something). |
6441 | # gethostby* variants that don't use the nameserver (or something). |
6423 | # -lsocket must be given before -lnsl if both are needed. |
6442 | # -lsocket must be given before -lnsl if both are needed. |
6424 | # We assume that if connect needs -lnsl, so does gethostbyname. |
6443 | # We assume that if connect needs -lnsl, so does gethostbyname. |
6425 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6444 | echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6426 | echo "configure:6427: checking for connect" >&5 |
6445 | echo "configure:6446: checking for connect" >&5 |
6427 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
6446 | if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
6428 | echo $ac_n "(cached) $ac_c" 1>&6 |
6447 | echo $ac_n "(cached) $ac_c" 1>&6 |
6429 | else |
6448 | else |
6430 | cat > conftest.$ac_ext <<EOF |
6449 | cat > conftest.$ac_ext <<EOF |
6431 | #line 6432 "configure" |
6450 | #line 6451 "configure" |
6432 | #include "confdefs.h" |
6451 | #include "confdefs.h" |
6433 | /* System header to define __stub macros and hopefully few prototypes, |
6452 | /* System header to define __stub macros and hopefully few prototypes, |
6434 | which can conflict with char connect(); below. */ |
6453 | which can conflict with char connect(); below. */ |
6435 | #include <assert.h> |
6454 | #include <assert.h> |
6436 | /* Override any gcc2 internal prototype to avoid an error. */ |
6455 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
6449 | connect(); |
6468 | connect(); |
6450 | #endif |
6469 | #endif |
6451 | |
6470 | |
6452 | ; return 0; } |
6471 | ; return 0; } |
6453 | EOF |
6472 | EOF |
6454 | if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6473 | if { (eval echo configure:6474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6455 | rm -rf conftest* |
6474 | rm -rf conftest* |
6456 | eval "ac_cv_func_connect=yes" |
6475 | eval "ac_cv_func_connect=yes" |
6457 | else |
6476 | else |
6458 | echo "configure: failed program was:" >&5 |
6477 | echo "configure: failed program was:" >&5 |
6459 | cat conftest.$ac_ext >&5 |
6478 | cat conftest.$ac_ext >&5 |
… | |
… | |
6470 | echo "$ac_t""no" 1>&6 |
6489 | echo "$ac_t""no" 1>&6 |
6471 | fi |
6490 | fi |
6472 | |
6491 | |
6473 | if test $ac_cv_func_connect = no; then |
6492 | if test $ac_cv_func_connect = no; then |
6474 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
6493 | echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
6475 | echo "configure:6476: checking for connect in -lsocket" >&5 |
6494 | echo "configure:6495: checking for connect in -lsocket" >&5 |
6476 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6495 | ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6477 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6496 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6478 | echo $ac_n "(cached) $ac_c" 1>&6 |
6497 | echo $ac_n "(cached) $ac_c" 1>&6 |
6479 | else |
6498 | else |
6480 | ac_save_LIBS="$LIBS" |
6499 | ac_save_LIBS="$LIBS" |
6481 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6500 | LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
6482 | cat > conftest.$ac_ext <<EOF |
6501 | cat > conftest.$ac_ext <<EOF |
6483 | #line 6484 "configure" |
6502 | #line 6503 "configure" |
6484 | #include "confdefs.h" |
6503 | #include "confdefs.h" |
6485 | /* Override any gcc2 internal prototype to avoid an error. */ |
6504 | /* Override any gcc2 internal prototype to avoid an error. */ |
6486 | /* We use char because int might match the return type of a gcc2 |
6505 | /* We use char because int might match the return type of a gcc2 |
6487 | builtin and then its argument prototype would still apply. */ |
6506 | builtin and then its argument prototype would still apply. */ |
6488 | char connect(); |
6507 | char connect(); |
6489 | |
6508 | |
6490 | int main() { |
6509 | int main() { |
6491 | connect() |
6510 | connect() |
6492 | ; return 0; } |
6511 | ; return 0; } |
6493 | EOF |
6512 | EOF |
6494 | if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6513 | if { (eval echo configure:6514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6495 | rm -rf conftest* |
6514 | rm -rf conftest* |
6496 | eval "ac_cv_lib_$ac_lib_var=yes" |
6515 | eval "ac_cv_lib_$ac_lib_var=yes" |
6497 | else |
6516 | else |
6498 | echo "configure: failed program was:" >&5 |
6517 | echo "configure: failed program was:" >&5 |
6499 | cat conftest.$ac_ext >&5 |
6518 | cat conftest.$ac_ext >&5 |
… | |
… | |
6513 | |
6532 | |
6514 | fi |
6533 | fi |
6515 | |
6534 | |
6516 | # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6535 | # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6517 | echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6536 | echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6518 | echo "configure:6519: checking for remove" >&5 |
6537 | echo "configure:6538: checking for remove" >&5 |
6519 | if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
6538 | if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
6520 | echo $ac_n "(cached) $ac_c" 1>&6 |
6539 | echo $ac_n "(cached) $ac_c" 1>&6 |
6521 | else |
6540 | else |
6522 | cat > conftest.$ac_ext <<EOF |
6541 | cat > conftest.$ac_ext <<EOF |
6523 | #line 6524 "configure" |
6542 | #line 6543 "configure" |
6524 | #include "confdefs.h" |
6543 | #include "confdefs.h" |
6525 | /* System header to define __stub macros and hopefully few prototypes, |
6544 | /* System header to define __stub macros and hopefully few prototypes, |
6526 | which can conflict with char remove(); below. */ |
6545 | which can conflict with char remove(); below. */ |
6527 | #include <assert.h> |
6546 | #include <assert.h> |
6528 | /* Override any gcc2 internal prototype to avoid an error. */ |
6547 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
6541 | remove(); |
6560 | remove(); |
6542 | #endif |
6561 | #endif |
6543 | |
6562 | |
6544 | ; return 0; } |
6563 | ; return 0; } |
6545 | EOF |
6564 | EOF |
6546 | if { (eval echo configure:6547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6565 | if { (eval echo configure:6566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6547 | rm -rf conftest* |
6566 | rm -rf conftest* |
6548 | eval "ac_cv_func_remove=yes" |
6567 | eval "ac_cv_func_remove=yes" |
6549 | else |
6568 | else |
6550 | echo "configure: failed program was:" >&5 |
6569 | echo "configure: failed program was:" >&5 |
6551 | cat conftest.$ac_ext >&5 |
6570 | cat conftest.$ac_ext >&5 |
… | |
… | |
6562 | echo "$ac_t""no" 1>&6 |
6581 | echo "$ac_t""no" 1>&6 |
6563 | fi |
6582 | fi |
6564 | |
6583 | |
6565 | if test $ac_cv_func_remove = no; then |
6584 | if test $ac_cv_func_remove = no; then |
6566 | echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6585 | echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6567 | echo "configure:6568: checking for remove in -lposix" >&5 |
6586 | echo "configure:6587: checking for remove in -lposix" >&5 |
6568 | ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6587 | ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6569 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6588 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6570 | echo $ac_n "(cached) $ac_c" 1>&6 |
6589 | echo $ac_n "(cached) $ac_c" 1>&6 |
6571 | else |
6590 | else |
6572 | ac_save_LIBS="$LIBS" |
6591 | ac_save_LIBS="$LIBS" |
6573 | LIBS="-lposix $LIBS" |
6592 | LIBS="-lposix $LIBS" |
6574 | cat > conftest.$ac_ext <<EOF |
6593 | cat > conftest.$ac_ext <<EOF |
6575 | #line 6576 "configure" |
6594 | #line 6595 "configure" |
6576 | #include "confdefs.h" |
6595 | #include "confdefs.h" |
6577 | /* Override any gcc2 internal prototype to avoid an error. */ |
6596 | /* Override any gcc2 internal prototype to avoid an error. */ |
6578 | /* We use char because int might match the return type of a gcc2 |
6597 | /* We use char because int might match the return type of a gcc2 |
6579 | builtin and then its argument prototype would still apply. */ |
6598 | builtin and then its argument prototype would still apply. */ |
6580 | char remove(); |
6599 | char remove(); |
6581 | |
6600 | |
6582 | int main() { |
6601 | int main() { |
6583 | remove() |
6602 | remove() |
6584 | ; return 0; } |
6603 | ; return 0; } |
6585 | EOF |
6604 | EOF |
6586 | if { (eval echo configure:6587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6605 | if { (eval echo configure:6606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6587 | rm -rf conftest* |
6606 | rm -rf conftest* |
6588 | eval "ac_cv_lib_$ac_lib_var=yes" |
6607 | eval "ac_cv_lib_$ac_lib_var=yes" |
6589 | else |
6608 | else |
6590 | echo "configure: failed program was:" >&5 |
6609 | echo "configure: failed program was:" >&5 |
6591 | cat conftest.$ac_ext >&5 |
6610 | cat conftest.$ac_ext >&5 |
… | |
… | |
6605 | |
6624 | |
6606 | fi |
6625 | fi |
6607 | |
6626 | |
6608 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6627 | # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6609 | echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6628 | echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6610 | echo "configure:6611: checking for shmat" >&5 |
6629 | echo "configure:6630: checking for shmat" >&5 |
6611 | if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
6630 | if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
6612 | echo $ac_n "(cached) $ac_c" 1>&6 |
6631 | echo $ac_n "(cached) $ac_c" 1>&6 |
6613 | else |
6632 | else |
6614 | cat > conftest.$ac_ext <<EOF |
6633 | cat > conftest.$ac_ext <<EOF |
6615 | #line 6616 "configure" |
6634 | #line 6635 "configure" |
6616 | #include "confdefs.h" |
6635 | #include "confdefs.h" |
6617 | /* System header to define __stub macros and hopefully few prototypes, |
6636 | /* System header to define __stub macros and hopefully few prototypes, |
6618 | which can conflict with char shmat(); below. */ |
6637 | which can conflict with char shmat(); below. */ |
6619 | #include <assert.h> |
6638 | #include <assert.h> |
6620 | /* Override any gcc2 internal prototype to avoid an error. */ |
6639 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
6633 | shmat(); |
6652 | shmat(); |
6634 | #endif |
6653 | #endif |
6635 | |
6654 | |
6636 | ; return 0; } |
6655 | ; return 0; } |
6637 | EOF |
6656 | EOF |
6638 | if { (eval echo configure:6639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6657 | if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6639 | rm -rf conftest* |
6658 | rm -rf conftest* |
6640 | eval "ac_cv_func_shmat=yes" |
6659 | eval "ac_cv_func_shmat=yes" |
6641 | else |
6660 | else |
6642 | echo "configure: failed program was:" >&5 |
6661 | echo "configure: failed program was:" >&5 |
6643 | cat conftest.$ac_ext >&5 |
6662 | cat conftest.$ac_ext >&5 |
… | |
… | |
6654 | echo "$ac_t""no" 1>&6 |
6673 | echo "$ac_t""no" 1>&6 |
6655 | fi |
6674 | fi |
6656 | |
6675 | |
6657 | if test $ac_cv_func_shmat = no; then |
6676 | if test $ac_cv_func_shmat = no; then |
6658 | echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6677 | echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6659 | echo "configure:6660: checking for shmat in -lipc" >&5 |
6678 | echo "configure:6679: checking for shmat in -lipc" >&5 |
6660 | ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6679 | ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6661 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6680 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6662 | echo $ac_n "(cached) $ac_c" 1>&6 |
6681 | echo $ac_n "(cached) $ac_c" 1>&6 |
6663 | else |
6682 | else |
6664 | ac_save_LIBS="$LIBS" |
6683 | ac_save_LIBS="$LIBS" |
6665 | LIBS="-lipc $LIBS" |
6684 | LIBS="-lipc $LIBS" |
6666 | cat > conftest.$ac_ext <<EOF |
6685 | cat > conftest.$ac_ext <<EOF |
6667 | #line 6668 "configure" |
6686 | #line 6687 "configure" |
6668 | #include "confdefs.h" |
6687 | #include "confdefs.h" |
6669 | /* Override any gcc2 internal prototype to avoid an error. */ |
6688 | /* Override any gcc2 internal prototype to avoid an error. */ |
6670 | /* We use char because int might match the return type of a gcc2 |
6689 | /* We use char because int might match the return type of a gcc2 |
6671 | builtin and then its argument prototype would still apply. */ |
6690 | builtin and then its argument prototype would still apply. */ |
6672 | char shmat(); |
6691 | char shmat(); |
6673 | |
6692 | |
6674 | int main() { |
6693 | int main() { |
6675 | shmat() |
6694 | shmat() |
6676 | ; return 0; } |
6695 | ; return 0; } |
6677 | EOF |
6696 | EOF |
6678 | if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6697 | if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6679 | rm -rf conftest* |
6698 | rm -rf conftest* |
6680 | eval "ac_cv_lib_$ac_lib_var=yes" |
6699 | eval "ac_cv_lib_$ac_lib_var=yes" |
6681 | else |
6700 | else |
6682 | echo "configure: failed program was:" >&5 |
6701 | echo "configure: failed program was:" >&5 |
6683 | cat conftest.$ac_ext >&5 |
6702 | cat conftest.$ac_ext >&5 |
… | |
… | |
6706 | # we get undefined symbols. So assume we have SM if we have ICE. |
6725 | # we get undefined symbols. So assume we have SM if we have ICE. |
6707 | # These have to be linked with before -lX11, unlike the other |
6726 | # These have to be linked with before -lX11, unlike the other |
6708 | # libraries we check for below, so use a different variable. |
6727 | # libraries we check for below, so use a different variable. |
6709 | # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6728 | # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6710 | echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
6729 | echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
6711 | echo "configure:6712: checking for IceConnectionNumber in -lICE" >&5 |
6730 | echo "configure:6731: checking for IceConnectionNumber in -lICE" >&5 |
6712 | ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6731 | ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6713 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6732 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6714 | echo $ac_n "(cached) $ac_c" 1>&6 |
6733 | echo $ac_n "(cached) $ac_c" 1>&6 |
6715 | else |
6734 | else |
6716 | ac_save_LIBS="$LIBS" |
6735 | ac_save_LIBS="$LIBS" |
6717 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6736 | LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
6718 | cat > conftest.$ac_ext <<EOF |
6737 | cat > conftest.$ac_ext <<EOF |
6719 | #line 6720 "configure" |
6738 | #line 6739 "configure" |
6720 | #include "confdefs.h" |
6739 | #include "confdefs.h" |
6721 | /* Override any gcc2 internal prototype to avoid an error. */ |
6740 | /* Override any gcc2 internal prototype to avoid an error. */ |
6722 | /* We use char because int might match the return type of a gcc2 |
6741 | /* We use char because int might match the return type of a gcc2 |
6723 | builtin and then its argument prototype would still apply. */ |
6742 | builtin and then its argument prototype would still apply. */ |
6724 | char IceConnectionNumber(); |
6743 | char IceConnectionNumber(); |
6725 | |
6744 | |
6726 | int main() { |
6745 | int main() { |
6727 | IceConnectionNumber() |
6746 | IceConnectionNumber() |
6728 | ; return 0; } |
6747 | ; return 0; } |
6729 | EOF |
6748 | EOF |
6730 | if { (eval echo configure:6731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6749 | if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6731 | rm -rf conftest* |
6750 | rm -rf conftest* |
6732 | eval "ac_cv_lib_$ac_lib_var=yes" |
6751 | eval "ac_cv_lib_$ac_lib_var=yes" |
6733 | else |
6752 | else |
6734 | echo "configure: failed program was:" >&5 |
6753 | echo "configure: failed program was:" >&5 |
6735 | cat conftest.$ac_ext >&5 |
6754 | cat conftest.$ac_ext >&5 |
… | |
… | |
6763 | |
6782 | |
6764 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
6783 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
6765 | # paths, otherwise set no_xpm=yes. |
6784 | # paths, otherwise set no_xpm=yes. |
6766 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
6785 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
6767 | echo $ac_n "checking for libXpm""... $ac_c" 1>&6 |
6786 | echo $ac_n "checking for libXpm""... $ac_c" 1>&6 |
6768 | echo "configure:6769: checking for libXpm" >&5 |
6787 | echo "configure:6788: checking for libXpm" >&5 |
6769 | |
6788 | |
6770 | # Check whether --with-xpm_includes or --without-xpm_includes was given. |
6789 | # Check whether --with-xpm_includes or --without-xpm_includes was given. |
6771 | if test "${with_xpm_includes+set}" = set; then |
6790 | if test "${with_xpm_includes+set}" = set; then |
6772 | withval="$with_xpm_includes" |
6791 | withval="$with_xpm_includes" |
6773 | xpm_includes="$withval" |
6792 | xpm_includes="$withval" |
… | |
… | |
6816 | ac_save_CPPFLAGS="$CPPFLAGS" |
6835 | ac_save_CPPFLAGS="$CPPFLAGS" |
6817 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
6836 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
6818 | |
6837 | |
6819 | # First, try using that file with no special directory specified. |
6838 | # First, try using that file with no special directory specified. |
6820 | cat > conftest.$ac_ext <<EOF |
6839 | cat > conftest.$ac_ext <<EOF |
6821 | #line 6822 "configure" |
6840 | #line 6841 "configure" |
6822 | #include "confdefs.h" |
6841 | #include "confdefs.h" |
6823 | #include <X11/xpm.h> |
6842 | #include <X11/xpm.h> |
6824 | EOF |
6843 | EOF |
6825 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6844 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6826 | { (eval echo configure:6827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6845 | { (eval echo configure:6846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6827 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6846 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6828 | if test -z "$ac_err"; then |
6847 | if test -z "$ac_err"; then |
6829 | rm -rf conftest* |
6848 | rm -rf conftest* |
6830 | # We can compile using X headers with no special include directory. |
6849 | # We can compile using X headers with no special include directory. |
6831 | vt_xpm_includes= |
6850 | vt_xpm_includes= |
… | |
… | |
6894 | # See if we find them without any special options. |
6913 | # See if we find them without any special options. |
6895 | # Don't add to $LIBS permanently. |
6914 | # Don't add to $LIBS permanently. |
6896 | ac_save_LIBS="$LIBS" |
6915 | ac_save_LIBS="$LIBS" |
6897 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
6916 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
6898 | cat > conftest.$ac_ext <<EOF |
6917 | cat > conftest.$ac_ext <<EOF |
6899 | #line 6900 "configure" |
6918 | #line 6919 "configure" |
6900 | #include "confdefs.h" |
6919 | #include "confdefs.h" |
6901 | |
6920 | |
6902 | int main() { |
6921 | int main() { |
6903 | XpmReadFileToPixmap() |
6922 | XpmReadFileToPixmap() |
6904 | ; return 0; } |
6923 | ; return 0; } |
6905 | EOF |
6924 | EOF |
6906 | if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6925 | if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6907 | rm -rf conftest* |
6926 | rm -rf conftest* |
6908 | LIBS="$ac_save_LIBS" |
6927 | LIBS="$ac_save_LIBS" |
6909 | # We can link libXpm with no special library path. |
6928 | # We can link libXpm with no special library path. |
6910 | vt_xpm_libraries= |
6929 | vt_xpm_libraries= |
6911 | else |
6930 | else |
… | |
… | |
6985 | fi |
7004 | fi |
6986 | else |
7005 | else |
6987 | vt_xpm_include_X11=no |
7006 | vt_xpm_include_X11=no |
6988 | if test -z "$xpm_includes"; then |
7007 | if test -z "$xpm_includes"; then |
6989 | cat > conftest.$ac_ext <<EOF |
7008 | cat > conftest.$ac_ext <<EOF |
6990 | #line 6991 "configure" |
7009 | #line 7010 "configure" |
6991 | #include "confdefs.h" |
7010 | #include "confdefs.h" |
6992 | #include <X11/xpm.h> |
7011 | #include <X11/xpm.h> |
6993 | EOF |
7012 | EOF |
6994 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7013 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6995 | { (eval echo configure:6996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7014 | { (eval echo configure:7015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6996 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7015 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6997 | if test -z "$ac_err"; then |
7016 | if test -z "$ac_err"; then |
6998 | rm -rf conftest* |
7017 | rm -rf conftest* |
6999 | vt_xpm_include_X11=yes |
7018 | vt_xpm_include_X11=yes |
7000 | else |
7019 | else |
… | |
… | |
7046 | support_xpm=needsmanualspecification |
7065 | support_xpm=needsmanualspecification |
7047 | fi |
7066 | fi |
7048 | fi |
7067 | fi |
7049 | |
7068 | |
7050 | echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
7069 | echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
7051 | echo "configure:7052: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7070 | echo "configure:7071: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
7052 | if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
7071 | if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
7053 | echo $ac_n "(cached) $ac_c" 1>&6 |
7072 | echo $ac_n "(cached) $ac_c" 1>&6 |
7054 | else |
7073 | else |
7055 | cat > conftest.$ac_ext <<EOF |
7074 | cat > conftest.$ac_ext <<EOF |
7056 | #line 7057 "configure" |
7075 | #line 7076 "configure" |
7057 | #include "confdefs.h" |
7076 | #include "confdefs.h" |
7058 | #include <sys/types.h> |
7077 | #include <sys/types.h> |
7059 | #include <sys/wait.h> |
7078 | #include <sys/wait.h> |
7060 | #ifndef WEXITSTATUS |
7079 | #ifndef WEXITSTATUS |
7061 | #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
7080 | #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
… | |
… | |
7067 | int s; |
7086 | int s; |
7068 | wait (&s); |
7087 | wait (&s); |
7069 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
7088 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
7070 | ; return 0; } |
7089 | ; return 0; } |
7071 | EOF |
7090 | EOF |
7072 | if { (eval echo configure:7073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7091 | if { (eval echo configure:7092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7073 | rm -rf conftest* |
7092 | rm -rf conftest* |
7074 | ac_cv_header_sys_wait_h=yes |
7093 | ac_cv_header_sys_wait_h=yes |
7075 | else |
7094 | else |
7076 | echo "configure: failed program was:" >&5 |
7095 | echo "configure: failed program was:" >&5 |
7077 | cat conftest.$ac_ext >&5 |
7096 | cat conftest.$ac_ext >&5 |
… | |
… | |
7111 | stdint.h \ |
7130 | stdint.h \ |
7112 | |
7131 | |
7113 | do |
7132 | do |
7114 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7133 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7115 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7134 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7116 | echo "configure:7117: checking for $ac_hdr" >&5 |
7135 | echo "configure:7136: checking for $ac_hdr" >&5 |
7117 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7136 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7118 | echo $ac_n "(cached) $ac_c" 1>&6 |
7137 | echo $ac_n "(cached) $ac_c" 1>&6 |
7119 | else |
7138 | else |
7120 | cat > conftest.$ac_ext <<EOF |
7139 | cat > conftest.$ac_ext <<EOF |
7121 | #line 7122 "configure" |
7140 | #line 7141 "configure" |
7122 | #include "confdefs.h" |
7141 | #include "confdefs.h" |
7123 | #include <$ac_hdr> |
7142 | #include <$ac_hdr> |
7124 | EOF |
7143 | EOF |
7125 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7144 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7126 | { (eval echo configure:7127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7145 | { (eval echo configure:7146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7127 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7146 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7128 | if test -z "$ac_err"; then |
7147 | if test -z "$ac_err"; then |
7129 | rm -rf conftest* |
7148 | rm -rf conftest* |
7130 | eval "ac_cv_header_$ac_safe=yes" |
7149 | eval "ac_cv_header_$ac_safe=yes" |
7131 | else |
7150 | else |
… | |
… | |
7149 | fi |
7168 | fi |
7150 | done |
7169 | done |
7151 | |
7170 | |
7152 | |
7171 | |
7153 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
7172 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
7154 | echo "configure:7155: checking whether time.h and sys/time.h may both be included" >&5 |
7173 | echo "configure:7174: checking whether time.h and sys/time.h may both be included" >&5 |
7155 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
7174 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
7156 | echo $ac_n "(cached) $ac_c" 1>&6 |
7175 | echo $ac_n "(cached) $ac_c" 1>&6 |
7157 | else |
7176 | else |
7158 | cat > conftest.$ac_ext <<EOF |
7177 | cat > conftest.$ac_ext <<EOF |
7159 | #line 7160 "configure" |
7178 | #line 7179 "configure" |
7160 | #include "confdefs.h" |
7179 | #include "confdefs.h" |
7161 | #include <sys/types.h> |
7180 | #include <sys/types.h> |
7162 | #include <sys/time.h> |
7181 | #include <sys/time.h> |
7163 | #include <time.h> |
7182 | #include <time.h> |
7164 | int main() { |
7183 | int main() { |
7165 | struct tm *tp; |
7184 | struct tm *tp; |
7166 | ; return 0; } |
7185 | ; return 0; } |
7167 | EOF |
7186 | EOF |
7168 | if { (eval echo configure:7169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7187 | if { (eval echo configure:7188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7169 | rm -rf conftest* |
7188 | rm -rf conftest* |
7170 | ac_cv_header_time=yes |
7189 | ac_cv_header_time=yes |
7171 | else |
7190 | else |
7172 | echo "configure: failed program was:" >&5 |
7191 | echo "configure: failed program was:" >&5 |
7173 | cat conftest.$ac_ext >&5 |
7192 | cat conftest.$ac_ext >&5 |
… | |
… | |
7185 | |
7204 | |
7186 | fi |
7205 | fi |
7187 | |
7206 | |
7188 | |
7207 | |
7189 | echo $ac_n "checking whether termios.h and sys/ioctl.h may both be included""... $ac_c" 1>&6 |
7208 | echo $ac_n "checking whether termios.h and sys/ioctl.h may both be included""... $ac_c" 1>&6 |
7190 | echo "configure:7191: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
7209 | echo "configure:7210: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
7191 | if eval "test \"`echo '$''{'rxvt_cv_header_sysioctl'+set}'`\" = set"; then |
7210 | if eval "test \"`echo '$''{'rxvt_cv_header_sysioctl'+set}'`\" = set"; then |
7192 | echo $ac_n "(cached) $ac_c" 1>&6 |
7211 | echo $ac_n "(cached) $ac_c" 1>&6 |
7193 | else |
7212 | else |
7194 | cat > conftest.$ac_ext <<EOF |
7213 | cat > conftest.$ac_ext <<EOF |
7195 | #line 7196 "configure" |
7214 | #line 7215 "configure" |
7196 | #include "confdefs.h" |
7215 | #include "confdefs.h" |
7197 | #include <stdio.h> |
7216 | #include <stdio.h> |
7198 | #include <sys/ioctl.h> |
7217 | #include <sys/ioctl.h> |
7199 | #ifdef HAVE_TERMIOS_H |
7218 | #ifdef HAVE_TERMIOS_H |
7200 | #include <termios.h> |
7219 | #include <termios.h> |
7201 | #endif |
7220 | #endif |
7202 | int main() { |
7221 | int main() { |
7203 | int a = ECHO; |
7222 | int a = ECHO; |
7204 | ; return 0; } |
7223 | ; return 0; } |
7205 | EOF |
7224 | EOF |
7206 | if { (eval echo configure:7207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7225 | if { (eval echo configure:7226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7207 | rm -rf conftest* |
7226 | rm -rf conftest* |
7208 | rxvt_cv_header_sysioctl=yes |
7227 | rxvt_cv_header_sysioctl=yes |
7209 | else |
7228 | else |
7210 | echo "configure: failed program was:" >&5 |
7229 | echo "configure: failed program was:" >&5 |
7211 | cat conftest.$ac_ext >&5 |
7230 | cat conftest.$ac_ext >&5 |
… | |
… | |
7227 | ac_save_CFLAGS=$CFLAGS |
7246 | ac_save_CFLAGS=$CFLAGS |
7228 | ac_save_LIBS=$LIBS |
7247 | ac_save_LIBS=$LIBS |
7229 | CFLAGS="$CFLAGS $X_CFLAGS" |
7248 | CFLAGS="$CFLAGS $X_CFLAGS" |
7230 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
7249 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
7231 | echo $ac_n "checking for -rpath dynamic library path recording""... $ac_c" 1>&6 |
7250 | echo $ac_n "checking for -rpath dynamic library path recording""... $ac_c" 1>&6 |
7232 | echo "configure:7233: checking for -rpath dynamic library path recording" >&5 |
7251 | echo "configure:7252: checking for -rpath dynamic library path recording" >&5 |
7233 | if eval "test \"`echo '$''{'rxvt_cv_rpath'+set}'`\" = set"; then |
7252 | if eval "test \"`echo '$''{'rxvt_cv_rpath'+set}'`\" = set"; then |
7234 | echo $ac_n "(cached) $ac_c" 1>&6 |
7253 | echo $ac_n "(cached) $ac_c" 1>&6 |
7235 | else |
7254 | else |
7236 | if test "$cross_compiling" = yes; then |
7255 | if test "$cross_compiling" = yes; then |
7237 | echo "configure: warning: You may need to check the LIBS line" 1>&2 |
7256 | echo "configure: warning: You may need to check the LIBS line" 1>&2 |
7238 | else |
7257 | else |
7239 | cat > conftest.$ac_ext <<EOF |
7258 | cat > conftest.$ac_ext <<EOF |
7240 | #line 7241 "configure" |
7259 | #line 7260 "configure" |
7241 | #include "confdefs.h" |
7260 | #include "confdefs.h" |
7242 | |
7261 | |
7243 | main() |
7262 | main() |
7244 | { |
7263 | { |
7245 | exit(0); |
7264 | exit(0); |
7246 | (void) XOpenDisplay("foobar"); |
7265 | (void) XOpenDisplay("foobar"); |
7247 | } |
7266 | } |
7248 | EOF |
7267 | EOF |
7249 | if { (eval echo configure:7250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7268 | if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7250 | then |
7269 | then |
7251 | rxvt_cv_rpath=yes |
7270 | rxvt_cv_rpath=yes |
7252 | else |
7271 | else |
7253 | echo "configure: failed program was:" >&5 |
7272 | echo "configure: failed program was:" >&5 |
7254 | cat conftest.$ac_ext >&5 |
7273 | cat conftest.$ac_ext >&5 |
… | |
… | |
7263 | echo "$ac_t""$rxvt_cv_rpath" 1>&6 |
7282 | echo "$ac_t""$rxvt_cv_rpath" 1>&6 |
7264 | if test x$rxvt_cv_rpath != xyes; then |
7283 | if test x$rxvt_cv_rpath != xyes; then |
7265 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
7284 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
7266 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
7285 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
7267 | echo $ac_n "checking for -R dynamic library path recording""... $ac_c" 1>&6 |
7286 | echo $ac_n "checking for -R dynamic library path recording""... $ac_c" 1>&6 |
7268 | echo "configure:7269: checking for -R dynamic library path recording" >&5 |
7287 | echo "configure:7288: checking for -R dynamic library path recording" >&5 |
7269 | if eval "test \"`echo '$''{'rxvt_cv_R'+set}'`\" = set"; then |
7288 | if eval "test \"`echo '$''{'rxvt_cv_R'+set}'`\" = set"; then |
7270 | echo $ac_n "(cached) $ac_c" 1>&6 |
7289 | echo $ac_n "(cached) $ac_c" 1>&6 |
7271 | else |
7290 | else |
7272 | if test "$cross_compiling" = yes; then |
7291 | if test "$cross_compiling" = yes; then |
7273 | rxvt_cv_R=no |
7292 | rxvt_cv_R=no |
7274 | else |
7293 | else |
7275 | cat > conftest.$ac_ext <<EOF |
7294 | cat > conftest.$ac_ext <<EOF |
7276 | #line 7277 "configure" |
7295 | #line 7296 "configure" |
7277 | #include "confdefs.h" |
7296 | #include "confdefs.h" |
7278 | |
7297 | |
7279 | main() |
7298 | main() |
7280 | { |
7299 | { |
7281 | exit(0); |
7300 | exit(0); |
7282 | (void) XOpenDisplay("foobar"); |
7301 | (void) XOpenDisplay("foobar"); |
7283 | } |
7302 | } |
7284 | EOF |
7303 | EOF |
7285 | if { (eval echo configure:7286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7304 | if { (eval echo configure:7305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7286 | then |
7305 | then |
7287 | rxvt_cv_R=yes |
7306 | rxvt_cv_R=yes |
7288 | else |
7307 | else |
7289 | echo "configure: failed program was:" >&5 |
7308 | echo "configure: failed program was:" >&5 |
7290 | cat conftest.$ac_ext >&5 |
7309 | cat conftest.$ac_ext >&5 |
… | |
… | |
7301 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7320 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
7302 | fi |
7321 | fi |
7303 | fi |
7322 | fi |
7304 | |
7323 | |
7305 | echo $ac_n "checking for XPointer""... $ac_c" 1>&6 |
7324 | echo $ac_n "checking for XPointer""... $ac_c" 1>&6 |
7306 | echo "configure:7307: checking for XPointer" >&5 |
7325 | echo "configure:7326: checking for XPointer" >&5 |
7307 | if eval "test \"`echo '$''{'rxvt_cv_xpointer'+set}'`\" = set"; then |
7326 | if eval "test \"`echo '$''{'rxvt_cv_xpointer'+set}'`\" = set"; then |
7308 | echo $ac_n "(cached) $ac_c" 1>&6 |
7327 | echo $ac_n "(cached) $ac_c" 1>&6 |
7309 | else |
7328 | else |
7310 | cat > conftest.$ac_ext <<EOF |
7329 | cat > conftest.$ac_ext <<EOF |
7311 | #line 7312 "configure" |
7330 | #line 7331 "configure" |
7312 | #include "confdefs.h" |
7331 | #include "confdefs.h" |
7313 | #include <X11/Xlib.h> |
7332 | #include <X11/Xlib.h> |
7314 | int main() { |
7333 | int main() { |
7315 | XPointer dummy; |
7334 | XPointer dummy; |
7316 | ; return 0; } |
7335 | ; return 0; } |
7317 | EOF |
7336 | EOF |
7318 | if { (eval echo configure:7319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7337 | if { (eval echo configure:7338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7319 | rm -rf conftest* |
7338 | rm -rf conftest* |
7320 | rxvt_cv_xpointer=yes |
7339 | rxvt_cv_xpointer=yes |
7321 | else |
7340 | else |
7322 | echo "configure: failed program was:" >&5 |
7341 | echo "configure: failed program was:" >&5 |
7323 | cat conftest.$ac_ext >&5 |
7342 | cat conftest.$ac_ext >&5 |
… | |
… | |
7337 | LIBS=$ac_save_LIBS |
7356 | LIBS=$ac_save_LIBS |
7338 | CFLAGS=$ac_save_CFLAGS |
7357 | CFLAGS=$ac_save_CFLAGS |
7339 | |
7358 | |
7340 | |
7359 | |
7341 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
7360 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
7342 | echo "configure:7343: checking for working const" >&5 |
7361 | echo "configure:7362: checking for working const" >&5 |
7343 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
7362 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
7344 | echo $ac_n "(cached) $ac_c" 1>&6 |
7363 | echo $ac_n "(cached) $ac_c" 1>&6 |
7345 | else |
7364 | else |
7346 | cat > conftest.$ac_ext <<EOF |
7365 | cat > conftest.$ac_ext <<EOF |
7347 | #line 7348 "configure" |
7366 | #line 7367 "configure" |
7348 | #include "confdefs.h" |
7367 | #include "confdefs.h" |
7349 | |
7368 | |
7350 | int main() { |
7369 | int main() { |
7351 | |
7370 | |
7352 | /* Ultrix mips cc rejects this. */ |
7371 | /* Ultrix mips cc rejects this. */ |
… | |
… | |
7391 | const int foo = 10; |
7410 | const int foo = 10; |
7392 | } |
7411 | } |
7393 | |
7412 | |
7394 | ; return 0; } |
7413 | ; return 0; } |
7395 | EOF |
7414 | EOF |
7396 | if { (eval echo configure:7397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7415 | if { (eval echo configure:7416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7397 | rm -rf conftest* |
7416 | rm -rf conftest* |
7398 | ac_cv_c_const=yes |
7417 | ac_cv_c_const=yes |
7399 | else |
7418 | else |
7400 | echo "configure: failed program was:" >&5 |
7419 | echo "configure: failed program was:" >&5 |
7401 | cat conftest.$ac_ext >&5 |
7420 | cat conftest.$ac_ext >&5 |
… | |
… | |
7412 | EOF |
7431 | EOF |
7413 | |
7432 | |
7414 | fi |
7433 | fi |
7415 | |
7434 | |
7416 | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7435 | echo $ac_n "checking for inline""... $ac_c" 1>&6 |
7417 | echo "configure:7418: checking for inline" >&5 |
7436 | echo "configure:7437: checking for inline" >&5 |
7418 | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
7437 | if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
7419 | echo $ac_n "(cached) $ac_c" 1>&6 |
7438 | echo $ac_n "(cached) $ac_c" 1>&6 |
7420 | else |
7439 | else |
7421 | ac_cv_c_inline=no |
7440 | ac_cv_c_inline=no |
7422 | for ac_kw in inline __inline__ __inline; do |
7441 | for ac_kw in inline __inline__ __inline; do |
7423 | cat > conftest.$ac_ext <<EOF |
7442 | cat > conftest.$ac_ext <<EOF |
7424 | #line 7425 "configure" |
7443 | #line 7444 "configure" |
7425 | #include "confdefs.h" |
7444 | #include "confdefs.h" |
7426 | |
7445 | |
7427 | int main() { |
7446 | int main() { |
7428 | } $ac_kw foo() { |
7447 | } $ac_kw foo() { |
7429 | ; return 0; } |
7448 | ; return 0; } |
7430 | EOF |
7449 | EOF |
7431 | if { (eval echo configure:7432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7450 | if { (eval echo configure:7451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7432 | rm -rf conftest* |
7451 | rm -rf conftest* |
7433 | ac_cv_c_inline=$ac_kw; break |
7452 | ac_cv_c_inline=$ac_kw; break |
7434 | else |
7453 | else |
7435 | echo "configure: failed program was:" >&5 |
7454 | echo "configure: failed program was:" >&5 |
7436 | cat conftest.$ac_ext >&5 |
7455 | cat conftest.$ac_ext >&5 |
… | |
… | |
7454 | esac |
7473 | esac |
7455 | |
7474 | |
7456 | |
7475 | |
7457 | |
7476 | |
7458 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
7477 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
7459 | echo "configure:7460: checking for ANSI C header files" >&5 |
7478 | echo "configure:7479: checking for ANSI C header files" >&5 |
7460 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
7479 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
7461 | echo $ac_n "(cached) $ac_c" 1>&6 |
7480 | echo $ac_n "(cached) $ac_c" 1>&6 |
7462 | else |
7481 | else |
7463 | cat > conftest.$ac_ext <<EOF |
7482 | cat > conftest.$ac_ext <<EOF |
7464 | #line 7465 "configure" |
7483 | #line 7484 "configure" |
7465 | #include "confdefs.h" |
7484 | #include "confdefs.h" |
7466 | #include <stdlib.h> |
7485 | #include <stdlib.h> |
7467 | #include <stdarg.h> |
7486 | #include <stdarg.h> |
7468 | #include <string.h> |
7487 | #include <string.h> |
7469 | #include <float.h> |
7488 | #include <float.h> |
7470 | EOF |
7489 | EOF |
7471 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7490 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7472 | { (eval echo configure:7473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7491 | { (eval echo configure:7492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7473 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7492 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7474 | if test -z "$ac_err"; then |
7493 | if test -z "$ac_err"; then |
7475 | rm -rf conftest* |
7494 | rm -rf conftest* |
7476 | ac_cv_header_stdc=yes |
7495 | ac_cv_header_stdc=yes |
7477 | else |
7496 | else |
… | |
… | |
7484 | rm -f conftest* |
7503 | rm -f conftest* |
7485 | |
7504 | |
7486 | if test $ac_cv_header_stdc = yes; then |
7505 | if test $ac_cv_header_stdc = yes; then |
7487 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7506 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7488 | cat > conftest.$ac_ext <<EOF |
7507 | cat > conftest.$ac_ext <<EOF |
7489 | #line 7490 "configure" |
7508 | #line 7509 "configure" |
7490 | #include "confdefs.h" |
7509 | #include "confdefs.h" |
7491 | #include <string.h> |
7510 | #include <string.h> |
7492 | EOF |
7511 | EOF |
7493 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7512 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7494 | egrep "memchr" >/dev/null 2>&1; then |
7513 | egrep "memchr" >/dev/null 2>&1; then |
… | |
… | |
7502 | fi |
7521 | fi |
7503 | |
7522 | |
7504 | if test $ac_cv_header_stdc = yes; then |
7523 | if test $ac_cv_header_stdc = yes; then |
7505 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
7524 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
7506 | cat > conftest.$ac_ext <<EOF |
7525 | cat > conftest.$ac_ext <<EOF |
7507 | #line 7508 "configure" |
7526 | #line 7527 "configure" |
7508 | #include "confdefs.h" |
7527 | #include "confdefs.h" |
7509 | #include <stdlib.h> |
7528 | #include <stdlib.h> |
7510 | EOF |
7529 | EOF |
7511 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7530 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7512 | egrep "free" >/dev/null 2>&1; then |
7531 | egrep "free" >/dev/null 2>&1; then |
… | |
… | |
7523 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
7542 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
7524 | if test "$cross_compiling" = yes; then |
7543 | if test "$cross_compiling" = yes; then |
7525 | : |
7544 | : |
7526 | else |
7545 | else |
7527 | cat > conftest.$ac_ext <<EOF |
7546 | cat > conftest.$ac_ext <<EOF |
7528 | #line 7529 "configure" |
7547 | #line 7548 "configure" |
7529 | #include "confdefs.h" |
7548 | #include "confdefs.h" |
7530 | #include <ctype.h> |
7549 | #include <ctype.h> |
7531 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
7550 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
7532 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
7551 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
7533 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
7552 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
7534 | int main () { int i; for (i = 0; i < 256; i++) |
7553 | int main () { int i; for (i = 0; i < 256; i++) |
7535 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
7554 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
7536 | exit (0); } |
7555 | exit (0); } |
7537 | |
7556 | |
7538 | EOF |
7557 | EOF |
7539 | if { (eval echo configure:7540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7558 | if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7540 | then |
7559 | then |
7541 | : |
7560 | : |
7542 | else |
7561 | else |
7543 | echo "configure: failed program was:" >&5 |
7562 | echo "configure: failed program was:" >&5 |
7544 | cat conftest.$ac_ext >&5 |
7563 | cat conftest.$ac_ext >&5 |
… | |
… | |
7558 | EOF |
7577 | EOF |
7559 | |
7578 | |
7560 | fi |
7579 | fi |
7561 | |
7580 | |
7562 | echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
7581 | echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
7563 | echo "configure:7564: checking for mode_t" >&5 |
7582 | echo "configure:7583: checking for mode_t" >&5 |
7564 | if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
7583 | if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
7565 | echo $ac_n "(cached) $ac_c" 1>&6 |
7584 | echo $ac_n "(cached) $ac_c" 1>&6 |
7566 | else |
7585 | else |
7567 | cat > conftest.$ac_ext <<EOF |
7586 | cat > conftest.$ac_ext <<EOF |
7568 | #line 7569 "configure" |
7587 | #line 7588 "configure" |
7569 | #include "confdefs.h" |
7588 | #include "confdefs.h" |
7570 | #include <sys/types.h> |
7589 | #include <sys/types.h> |
7571 | #if STDC_HEADERS |
7590 | #if STDC_HEADERS |
7572 | #include <stdlib.h> |
7591 | #include <stdlib.h> |
7573 | #include <stddef.h> |
7592 | #include <stddef.h> |
… | |
… | |
7591 | EOF |
7610 | EOF |
7592 | |
7611 | |
7593 | fi |
7612 | fi |
7594 | |
7613 | |
7595 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
7614 | echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
7596 | echo "configure:7597: checking for pid_t" >&5 |
7615 | echo "configure:7616: checking for pid_t" >&5 |
7597 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
7616 | if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
7598 | echo $ac_n "(cached) $ac_c" 1>&6 |
7617 | echo $ac_n "(cached) $ac_c" 1>&6 |
7599 | else |
7618 | else |
7600 | cat > conftest.$ac_ext <<EOF |
7619 | cat > conftest.$ac_ext <<EOF |
7601 | #line 7602 "configure" |
7620 | #line 7621 "configure" |
7602 | #include "confdefs.h" |
7621 | #include "confdefs.h" |
7603 | #include <sys/types.h> |
7622 | #include <sys/types.h> |
7604 | #if STDC_HEADERS |
7623 | #if STDC_HEADERS |
7605 | #include <stdlib.h> |
7624 | #include <stdlib.h> |
7606 | #include <stddef.h> |
7625 | #include <stddef.h> |
… | |
… | |
7624 | EOF |
7643 | EOF |
7625 | |
7644 | |
7626 | fi |
7645 | fi |
7627 | |
7646 | |
7628 | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
7647 | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
7629 | echo "configure:7630: checking for uid_t in sys/types.h" >&5 |
7648 | echo "configure:7649: checking for uid_t in sys/types.h" >&5 |
7630 | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
7649 | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
7631 | echo $ac_n "(cached) $ac_c" 1>&6 |
7650 | echo $ac_n "(cached) $ac_c" 1>&6 |
7632 | else |
7651 | else |
7633 | cat > conftest.$ac_ext <<EOF |
7652 | cat > conftest.$ac_ext <<EOF |
7634 | #line 7635 "configure" |
7653 | #line 7654 "configure" |
7635 | #include "confdefs.h" |
7654 | #include "confdefs.h" |
7636 | #include <sys/types.h> |
7655 | #include <sys/types.h> |
7637 | EOF |
7656 | EOF |
7638 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7657 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7639 | egrep "uid_t" >/dev/null 2>&1; then |
7658 | egrep "uid_t" >/dev/null 2>&1; then |
… | |
… | |
7660 | fi |
7679 | fi |
7661 | |
7680 | |
7662 | |
7681 | |
7663 | |
7682 | |
7664 | echo $ac_n "checking size of char""... $ac_c" 1>&6 |
7683 | echo $ac_n "checking size of char""... $ac_c" 1>&6 |
7665 | echo "configure:7666: checking size of char" >&5 |
7684 | echo "configure:7685: checking size of char" >&5 |
7666 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then |
7685 | if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then |
7667 | echo $ac_n "(cached) $ac_c" 1>&6 |
7686 | echo $ac_n "(cached) $ac_c" 1>&6 |
7668 | else |
7687 | else |
7669 | if test "$cross_compiling" = yes; then |
7688 | if test "$cross_compiling" = yes; then |
7670 | ac_cv_sizeof_char=1 |
7689 | ac_cv_sizeof_char=1 |
7671 | else |
7690 | else |
7672 | cat > conftest.$ac_ext <<EOF |
7691 | cat > conftest.$ac_ext <<EOF |
7673 | #line 7674 "configure" |
7692 | #line 7693 "configure" |
7674 | #include "confdefs.h" |
7693 | #include "confdefs.h" |
7675 | #include <stdio.h> |
7694 | #include <stdio.h> |
7676 | #include <sys/types.h> |
7695 | #include <sys/types.h> |
7677 | main() |
7696 | main() |
7678 | { |
7697 | { |
… | |
… | |
7680 | if (!f) exit(1); |
7699 | if (!f) exit(1); |
7681 | fprintf(f, "%d\n", sizeof(char)); |
7700 | fprintf(f, "%d\n", sizeof(char)); |
7682 | exit(0); |
7701 | exit(0); |
7683 | } |
7702 | } |
7684 | EOF |
7703 | EOF |
7685 | if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7704 | if { (eval echo configure:7705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7686 | then |
7705 | then |
7687 | ac_cv_sizeof_char=`cat conftestval` |
7706 | ac_cv_sizeof_char=`cat conftestval` |
7688 | else |
7707 | else |
7689 | echo "configure: failed program was:" >&5 |
7708 | echo "configure: failed program was:" >&5 |
7690 | cat conftest.$ac_ext >&5 |
7709 | cat conftest.$ac_ext >&5 |
… | |
… | |
7700 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
7719 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
7701 | EOF |
7720 | EOF |
7702 | |
7721 | |
7703 | |
7722 | |
7704 | echo $ac_n "checking size of short""... $ac_c" 1>&6 |
7723 | echo $ac_n "checking size of short""... $ac_c" 1>&6 |
7705 | echo "configure:7706: checking size of short" >&5 |
7724 | echo "configure:7725: checking size of short" >&5 |
7706 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
7725 | if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
7707 | echo $ac_n "(cached) $ac_c" 1>&6 |
7726 | echo $ac_n "(cached) $ac_c" 1>&6 |
7708 | else |
7727 | else |
7709 | if test "$cross_compiling" = yes; then |
7728 | if test "$cross_compiling" = yes; then |
7710 | ac_cv_sizeof_short=2 |
7729 | ac_cv_sizeof_short=2 |
7711 | else |
7730 | else |
7712 | cat > conftest.$ac_ext <<EOF |
7731 | cat > conftest.$ac_ext <<EOF |
7713 | #line 7714 "configure" |
7732 | #line 7733 "configure" |
7714 | #include "confdefs.h" |
7733 | #include "confdefs.h" |
7715 | #include <stdio.h> |
7734 | #include <stdio.h> |
7716 | #include <sys/types.h> |
7735 | #include <sys/types.h> |
7717 | main() |
7736 | main() |
7718 | { |
7737 | { |
… | |
… | |
7720 | if (!f) exit(1); |
7739 | if (!f) exit(1); |
7721 | fprintf(f, "%d\n", sizeof(short)); |
7740 | fprintf(f, "%d\n", sizeof(short)); |
7722 | exit(0); |
7741 | exit(0); |
7723 | } |
7742 | } |
7724 | EOF |
7743 | EOF |
7725 | if { (eval echo configure:7726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7744 | if { (eval echo configure:7745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7726 | then |
7745 | then |
7727 | ac_cv_sizeof_short=`cat conftestval` |
7746 | ac_cv_sizeof_short=`cat conftestval` |
7728 | else |
7747 | else |
7729 | echo "configure: failed program was:" >&5 |
7748 | echo "configure: failed program was:" >&5 |
7730 | cat conftest.$ac_ext >&5 |
7749 | cat conftest.$ac_ext >&5 |
… | |
… | |
7740 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
7759 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
7741 | EOF |
7760 | EOF |
7742 | |
7761 | |
7743 | |
7762 | |
7744 | echo $ac_n "checking size of int""... $ac_c" 1>&6 |
7763 | echo $ac_n "checking size of int""... $ac_c" 1>&6 |
7745 | echo "configure:7746: checking size of int" >&5 |
7764 | echo "configure:7765: checking size of int" >&5 |
7746 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
7765 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
7747 | echo $ac_n "(cached) $ac_c" 1>&6 |
7766 | echo $ac_n "(cached) $ac_c" 1>&6 |
7748 | else |
7767 | else |
7749 | if test "$cross_compiling" = yes; then |
7768 | if test "$cross_compiling" = yes; then |
7750 | ac_cv_sizeof_int=4 |
7769 | ac_cv_sizeof_int=4 |
7751 | else |
7770 | else |
7752 | cat > conftest.$ac_ext <<EOF |
7771 | cat > conftest.$ac_ext <<EOF |
7753 | #line 7754 "configure" |
7772 | #line 7773 "configure" |
7754 | #include "confdefs.h" |
7773 | #include "confdefs.h" |
7755 | #include <stdio.h> |
7774 | #include <stdio.h> |
7756 | #include <sys/types.h> |
7775 | #include <sys/types.h> |
7757 | main() |
7776 | main() |
7758 | { |
7777 | { |
… | |
… | |
7760 | if (!f) exit(1); |
7779 | if (!f) exit(1); |
7761 | fprintf(f, "%d\n", sizeof(int)); |
7780 | fprintf(f, "%d\n", sizeof(int)); |
7762 | exit(0); |
7781 | exit(0); |
7763 | } |
7782 | } |
7764 | EOF |
7783 | EOF |
7765 | if { (eval echo configure:7766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7784 | if { (eval echo configure:7785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7766 | then |
7785 | then |
7767 | ac_cv_sizeof_int=`cat conftestval` |
7786 | ac_cv_sizeof_int=`cat conftestval` |
7768 | else |
7787 | else |
7769 | echo "configure: failed program was:" >&5 |
7788 | echo "configure: failed program was:" >&5 |
7770 | cat conftest.$ac_ext >&5 |
7789 | cat conftest.$ac_ext >&5 |
… | |
… | |
7780 | #define SIZEOF_INT $ac_cv_sizeof_int |
7799 | #define SIZEOF_INT $ac_cv_sizeof_int |
7781 | EOF |
7800 | EOF |
7782 | |
7801 | |
7783 | |
7802 | |
7784 | echo $ac_n "checking size of long""... $ac_c" 1>&6 |
7803 | echo $ac_n "checking size of long""... $ac_c" 1>&6 |
7785 | echo "configure:7786: checking size of long" >&5 |
7804 | echo "configure:7805: checking size of long" >&5 |
7786 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
7805 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
7787 | echo $ac_n "(cached) $ac_c" 1>&6 |
7806 | echo $ac_n "(cached) $ac_c" 1>&6 |
7788 | else |
7807 | else |
7789 | if test "$cross_compiling" = yes; then |
7808 | if test "$cross_compiling" = yes; then |
7790 | ac_cv_sizeof_long=4 |
7809 | ac_cv_sizeof_long=4 |
7791 | else |
7810 | else |
7792 | cat > conftest.$ac_ext <<EOF |
7811 | cat > conftest.$ac_ext <<EOF |
7793 | #line 7794 "configure" |
7812 | #line 7813 "configure" |
7794 | #include "confdefs.h" |
7813 | #include "confdefs.h" |
7795 | #include <stdio.h> |
7814 | #include <stdio.h> |
7796 | #include <sys/types.h> |
7815 | #include <sys/types.h> |
7797 | main() |
7816 | main() |
7798 | { |
7817 | { |
… | |
… | |
7800 | if (!f) exit(1); |
7819 | if (!f) exit(1); |
7801 | fprintf(f, "%d\n", sizeof(long)); |
7820 | fprintf(f, "%d\n", sizeof(long)); |
7802 | exit(0); |
7821 | exit(0); |
7803 | } |
7822 | } |
7804 | EOF |
7823 | EOF |
7805 | if { (eval echo configure:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7824 | if { (eval echo configure:7825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7806 | then |
7825 | then |
7807 | ac_cv_sizeof_long=`cat conftestval` |
7826 | ac_cv_sizeof_long=`cat conftestval` |
7808 | else |
7827 | else |
7809 | echo "configure: failed program was:" >&5 |
7828 | echo "configure: failed program was:" >&5 |
7810 | cat conftest.$ac_ext >&5 |
7829 | cat conftest.$ac_ext >&5 |
… | |
… | |
7820 | #define SIZEOF_LONG $ac_cv_sizeof_long |
7839 | #define SIZEOF_LONG $ac_cv_sizeof_long |
7821 | EOF |
7840 | EOF |
7822 | |
7841 | |
7823 | |
7842 | |
7824 | echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
7843 | echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
7825 | echo "configure:7826: checking size of long long" >&5 |
7844 | echo "configure:7845: checking size of long long" >&5 |
7826 | if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
7845 | if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
7827 | echo $ac_n "(cached) $ac_c" 1>&6 |
7846 | echo $ac_n "(cached) $ac_c" 1>&6 |
7828 | else |
7847 | else |
7829 | if test "$cross_compiling" = yes; then |
7848 | if test "$cross_compiling" = yes; then |
7830 | ac_cv_sizeof_long_long=8 |
7849 | ac_cv_sizeof_long_long=8 |
7831 | else |
7850 | else |
7832 | cat > conftest.$ac_ext <<EOF |
7851 | cat > conftest.$ac_ext <<EOF |
7833 | #line 7834 "configure" |
7852 | #line 7853 "configure" |
7834 | #include "confdefs.h" |
7853 | #include "confdefs.h" |
7835 | #include <stdio.h> |
7854 | #include <stdio.h> |
7836 | #include <sys/types.h> |
7855 | #include <sys/types.h> |
7837 | main() |
7856 | main() |
7838 | { |
7857 | { |
… | |
… | |
7840 | if (!f) exit(1); |
7859 | if (!f) exit(1); |
7841 | fprintf(f, "%d\n", sizeof(long long)); |
7860 | fprintf(f, "%d\n", sizeof(long long)); |
7842 | exit(0); |
7861 | exit(0); |
7843 | } |
7862 | } |
7844 | EOF |
7863 | EOF |
7845 | if { (eval echo configure:7846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7864 | if { (eval echo configure:7865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7846 | then |
7865 | then |
7847 | ac_cv_sizeof_long_long=`cat conftestval` |
7866 | ac_cv_sizeof_long_long=`cat conftestval` |
7848 | else |
7867 | else |
7849 | echo "configure: failed program was:" >&5 |
7868 | echo "configure: failed program was:" >&5 |
7850 | cat conftest.$ac_ext >&5 |
7869 | cat conftest.$ac_ext >&5 |
… | |
… | |
7860 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
7879 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
7861 | EOF |
7880 | EOF |
7862 | |
7881 | |
7863 | |
7882 | |
7864 | echo $ac_n "checking size of int *""... $ac_c" 1>&6 |
7883 | echo $ac_n "checking size of int *""... $ac_c" 1>&6 |
7865 | echo "configure:7866: checking size of int *" >&5 |
7884 | echo "configure:7885: checking size of int *" >&5 |
7866 | if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then |
7885 | if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then |
7867 | echo $ac_n "(cached) $ac_c" 1>&6 |
7886 | echo $ac_n "(cached) $ac_c" 1>&6 |
7868 | else |
7887 | else |
7869 | if test "$cross_compiling" = yes; then |
7888 | if test "$cross_compiling" = yes; then |
7870 | ac_cv_sizeof_int_p=4 |
7889 | ac_cv_sizeof_int_p=4 |
7871 | else |
7890 | else |
7872 | cat > conftest.$ac_ext <<EOF |
7891 | cat > conftest.$ac_ext <<EOF |
7873 | #line 7874 "configure" |
7892 | #line 7893 "configure" |
7874 | #include "confdefs.h" |
7893 | #include "confdefs.h" |
7875 | #include <stdio.h> |
7894 | #include <stdio.h> |
7876 | #include <sys/types.h> |
7895 | #include <sys/types.h> |
7877 | main() |
7896 | main() |
7878 | { |
7897 | { |
… | |
… | |
7880 | if (!f) exit(1); |
7899 | if (!f) exit(1); |
7881 | fprintf(f, "%d\n", sizeof(int *)); |
7900 | fprintf(f, "%d\n", sizeof(int *)); |
7882 | exit(0); |
7901 | exit(0); |
7883 | } |
7902 | } |
7884 | EOF |
7903 | EOF |
7885 | if { (eval echo configure:7886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7904 | if { (eval echo configure:7905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7886 | then |
7905 | then |
7887 | ac_cv_sizeof_int_p=`cat conftestval` |
7906 | ac_cv_sizeof_int_p=`cat conftestval` |
7888 | else |
7907 | else |
7889 | echo "configure: failed program was:" >&5 |
7908 | echo "configure: failed program was:" >&5 |
7890 | cat conftest.$ac_ext >&5 |
7909 | cat conftest.$ac_ext >&5 |
… | |
… | |
7902 | |
7921 | |
7903 | |
7922 | |
7904 | |
7923 | |
7905 | |
7924 | |
7906 | echo $ac_n "checking for int16_t""... $ac_c" 1>&6 |
7925 | echo $ac_n "checking for int16_t""... $ac_c" 1>&6 |
7907 | echo "configure:7908: checking for int16_t" >&5 |
7926 | echo "configure:7927: checking for int16_t" >&5 |
7908 | if eval "test \"`echo '$''{'rxvt_cv_int16_t'+set}'`\" = set"; then |
7927 | if eval "test \"`echo '$''{'rxvt_cv_int16_t'+set}'`\" = set"; then |
7909 | echo $ac_n "(cached) $ac_c" 1>&6 |
7928 | echo $ac_n "(cached) $ac_c" 1>&6 |
7910 | else |
7929 | else |
7911 | cat > conftest.$ac_ext <<EOF |
7930 | cat > conftest.$ac_ext <<EOF |
7912 | #line 7913 "configure" |
7931 | #line 7932 "configure" |
7913 | #include "confdefs.h" |
7932 | #include "confdefs.h" |
7914 | #include <stdint.h> |
7933 | #include <stdint.h> |
7915 | int main() { |
7934 | int main() { |
7916 | int16_t dummy; |
7935 | int16_t dummy; |
7917 | ; return 0; } |
7936 | ; return 0; } |
7918 | EOF |
7937 | EOF |
7919 | if { (eval echo configure:7920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7938 | if { (eval echo configure:7939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7920 | rm -rf conftest* |
7939 | rm -rf conftest* |
7921 | rxvt_cv_int16_t=yes |
7940 | rxvt_cv_int16_t=yes |
7922 | else |
7941 | else |
7923 | echo "configure: failed program was:" >&5 |
7942 | echo "configure: failed program was:" >&5 |
7924 | cat conftest.$ac_ext >&5 |
7943 | cat conftest.$ac_ext >&5 |
… | |
… | |
7958 | rxvt_int16_typedef="/* typedef short int16_t; */" |
7977 | rxvt_int16_typedef="/* typedef short int16_t; */" |
7959 | fi |
7978 | fi |
7960 | fi |
7979 | fi |
7961 | |
7980 | |
7962 | echo $ac_n "checking for uint16_t""... $ac_c" 1>&6 |
7981 | echo $ac_n "checking for uint16_t""... $ac_c" 1>&6 |
7963 | echo "configure:7964: checking for uint16_t" >&5 |
7982 | echo "configure:7983: checking for uint16_t" >&5 |
7964 | if eval "test \"`echo '$''{'rxvt_cv_uint16_t'+set}'`\" = set"; then |
7983 | if eval "test \"`echo '$''{'rxvt_cv_uint16_t'+set}'`\" = set"; then |
7965 | echo $ac_n "(cached) $ac_c" 1>&6 |
7984 | echo $ac_n "(cached) $ac_c" 1>&6 |
7966 | else |
7985 | else |
7967 | cat > conftest.$ac_ext <<EOF |
7986 | cat > conftest.$ac_ext <<EOF |
7968 | #line 7969 "configure" |
7987 | #line 7988 "configure" |
7969 | #include "confdefs.h" |
7988 | #include "confdefs.h" |
7970 | #include <stdint.h> |
7989 | #include <stdint.h> |
7971 | int main() { |
7990 | int main() { |
7972 | uint16_t dummy; |
7991 | uint16_t dummy; |
7973 | ; return 0; } |
7992 | ; return 0; } |
7974 | EOF |
7993 | EOF |
7975 | if { (eval echo configure:7976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7994 | if { (eval echo configure:7995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7976 | rm -rf conftest* |
7995 | rm -rf conftest* |
7977 | rxvt_cv_uint16_t=yes |
7996 | rxvt_cv_uint16_t=yes |
7978 | else |
7997 | else |
7979 | echo "configure: failed program was:" >&5 |
7998 | echo "configure: failed program was:" >&5 |
7980 | cat conftest.$ac_ext >&5 |
7999 | cat conftest.$ac_ext >&5 |
… | |
… | |
8014 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
8033 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
8015 | fi |
8034 | fi |
8016 | fi |
8035 | fi |
8017 | |
8036 | |
8018 | echo $ac_n "checking for int32_t""... $ac_c" 1>&6 |
8037 | echo $ac_n "checking for int32_t""... $ac_c" 1>&6 |
8019 | echo "configure:8020: checking for int32_t" >&5 |
8038 | echo "configure:8039: checking for int32_t" >&5 |
8020 | if eval "test \"`echo '$''{'rxvt_cv_int32_t'+set}'`\" = set"; then |
8039 | if eval "test \"`echo '$''{'rxvt_cv_int32_t'+set}'`\" = set"; then |
8021 | echo $ac_n "(cached) $ac_c" 1>&6 |
8040 | echo $ac_n "(cached) $ac_c" 1>&6 |
8022 | else |
8041 | else |
8023 | cat > conftest.$ac_ext <<EOF |
8042 | cat > conftest.$ac_ext <<EOF |
8024 | #line 8025 "configure" |
8043 | #line 8044 "configure" |
8025 | #include "confdefs.h" |
8044 | #include "confdefs.h" |
8026 | #include <stdint.h> |
8045 | #include <stdint.h> |
8027 | int main() { |
8046 | int main() { |
8028 | int32_t dummy; |
8047 | int32_t dummy; |
8029 | ; return 0; } |
8048 | ; return 0; } |
8030 | EOF |
8049 | EOF |
8031 | if { (eval echo configure:8032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8050 | if { (eval echo configure:8051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8032 | rm -rf conftest* |
8051 | rm -rf conftest* |
8033 | rxvt_cv_int32_t=yes |
8052 | rxvt_cv_int32_t=yes |
8034 | else |
8053 | else |
8035 | echo "configure: failed program was:" >&5 |
8054 | echo "configure: failed program was:" >&5 |
8036 | cat conftest.$ac_ext >&5 |
8055 | cat conftest.$ac_ext >&5 |
… | |
… | |
8070 | rxvt_int32_typedef="/* typedef int int32_t; */" |
8089 | rxvt_int32_typedef="/* typedef int int32_t; */" |
8071 | fi |
8090 | fi |
8072 | fi |
8091 | fi |
8073 | |
8092 | |
8074 | echo $ac_n "checking for uint32_t""... $ac_c" 1>&6 |
8093 | echo $ac_n "checking for uint32_t""... $ac_c" 1>&6 |
8075 | echo "configure:8076: checking for uint32_t" >&5 |
8094 | echo "configure:8095: checking for uint32_t" >&5 |
8076 | if eval "test \"`echo '$''{'rxvt_cv_uint32_t'+set}'`\" = set"; then |
8095 | if eval "test \"`echo '$''{'rxvt_cv_uint32_t'+set}'`\" = set"; then |
8077 | echo $ac_n "(cached) $ac_c" 1>&6 |
8096 | echo $ac_n "(cached) $ac_c" 1>&6 |
8078 | else |
8097 | else |
8079 | cat > conftest.$ac_ext <<EOF |
8098 | cat > conftest.$ac_ext <<EOF |
8080 | #line 8081 "configure" |
8099 | #line 8100 "configure" |
8081 | #include "confdefs.h" |
8100 | #include "confdefs.h" |
8082 | #include <stdint.h> |
8101 | #include <stdint.h> |
8083 | int main() { |
8102 | int main() { |
8084 | uint32_t dummy; |
8103 | uint32_t dummy; |
8085 | ; return 0; } |
8104 | ; return 0; } |
8086 | EOF |
8105 | EOF |
8087 | if { (eval echo configure:8088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8106 | if { (eval echo configure:8107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8088 | rm -rf conftest* |
8107 | rm -rf conftest* |
8089 | rxvt_cv_uint32_t=yes |
8108 | rxvt_cv_uint32_t=yes |
8090 | else |
8109 | else |
8091 | echo "configure: failed program was:" >&5 |
8110 | echo "configure: failed program was:" >&5 |
8092 | cat conftest.$ac_ext >&5 |
8111 | cat conftest.$ac_ext >&5 |
… | |
… | |
8146 | fi |
8165 | fi |
8147 | |
8166 | |
8148 | |
8167 | |
8149 | |
8168 | |
8150 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
8169 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
8151 | echo "configure:8152: checking return type of signal handlers" >&5 |
8170 | echo "configure:8171: checking return type of signal handlers" >&5 |
8152 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
8171 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
8153 | echo $ac_n "(cached) $ac_c" 1>&6 |
8172 | echo $ac_n "(cached) $ac_c" 1>&6 |
8154 | else |
8173 | else |
8155 | cat > conftest.$ac_ext <<EOF |
8174 | cat > conftest.$ac_ext <<EOF |
8156 | #line 8157 "configure" |
8175 | #line 8176 "configure" |
8157 | #include "confdefs.h" |
8176 | #include "confdefs.h" |
8158 | #include <sys/types.h> |
8177 | #include <sys/types.h> |
8159 | #include <signal.h> |
8178 | #include <signal.h> |
8160 | #ifdef signal |
8179 | #ifdef signal |
8161 | #undef signal |
8180 | #undef signal |
… | |
… | |
8168 | |
8187 | |
8169 | int main() { |
8188 | int main() { |
8170 | int i; |
8189 | int i; |
8171 | ; return 0; } |
8190 | ; return 0; } |
8172 | EOF |
8191 | EOF |
8173 | if { (eval echo configure:8174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8192 | if { (eval echo configure:8193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8174 | rm -rf conftest* |
8193 | rm -rf conftest* |
8175 | ac_cv_type_signal=void |
8194 | ac_cv_type_signal=void |
8176 | else |
8195 | else |
8177 | echo "configure: failed program was:" >&5 |
8196 | echo "configure: failed program was:" >&5 |
8178 | cat conftest.$ac_ext >&5 |
8197 | cat conftest.$ac_ext >&5 |
… | |
… | |
8214 | updwtmp \ |
8233 | updwtmp \ |
8215 | ttyslot \ |
8234 | ttyslot \ |
8216 | |
8235 | |
8217 | do |
8236 | do |
8218 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8237 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8219 | echo "configure:8220: checking for $ac_func" >&5 |
8238 | echo "configure:8239: checking for $ac_func" >&5 |
8220 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
8239 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
8221 | echo $ac_n "(cached) $ac_c" 1>&6 |
8240 | echo $ac_n "(cached) $ac_c" 1>&6 |
8222 | else |
8241 | else |
8223 | cat > conftest.$ac_ext <<EOF |
8242 | cat > conftest.$ac_ext <<EOF |
8224 | #line 8225 "configure" |
8243 | #line 8244 "configure" |
8225 | #include "confdefs.h" |
8244 | #include "confdefs.h" |
8226 | /* System header to define __stub macros and hopefully few prototypes, |
8245 | /* System header to define __stub macros and hopefully few prototypes, |
8227 | which can conflict with char $ac_func(); below. */ |
8246 | which can conflict with char $ac_func(); below. */ |
8228 | #include <assert.h> |
8247 | #include <assert.h> |
8229 | /* Override any gcc2 internal prototype to avoid an error. */ |
8248 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
8242 | $ac_func(); |
8261 | $ac_func(); |
8243 | #endif |
8262 | #endif |
8244 | |
8263 | |
8245 | ; return 0; } |
8264 | ; return 0; } |
8246 | EOF |
8265 | EOF |
8247 | if { (eval echo configure:8248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8266 | if { (eval echo configure:8267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8248 | rm -rf conftest* |
8267 | rm -rf conftest* |
8249 | eval "ac_cv_func_$ac_func=yes" |
8268 | eval "ac_cv_func_$ac_func=yes" |
8250 | else |
8269 | else |
8251 | echo "configure: failed program was:" >&5 |
8270 | echo "configure: failed program was:" >&5 |
8252 | cat conftest.$ac_ext >&5 |
8271 | cat conftest.$ac_ext >&5 |
… | |
… | |
8270 | |
8289 | |
8271 | |
8290 | |
8272 | |
8291 | |
8273 | ac_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
8292 | ac_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
8274 | echo $ac_n "checking for utmp.h""... $ac_c" 1>&6 |
8293 | echo $ac_n "checking for utmp.h""... $ac_c" 1>&6 |
8275 | echo "configure:8276: checking for utmp.h" >&5 |
8294 | echo "configure:8295: checking for utmp.h" >&5 |
8276 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8295 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8277 | echo $ac_n "(cached) $ac_c" 1>&6 |
8296 | echo $ac_n "(cached) $ac_c" 1>&6 |
8278 | else |
8297 | else |
8279 | cat > conftest.$ac_ext <<EOF |
8298 | cat > conftest.$ac_ext <<EOF |
8280 | #line 8281 "configure" |
8299 | #line 8300 "configure" |
8281 | #include "confdefs.h" |
8300 | #include "confdefs.h" |
8282 | #include <utmp.h> |
8301 | #include <utmp.h> |
8283 | EOF |
8302 | EOF |
8284 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8303 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8285 | { (eval echo configure:8286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8304 | { (eval echo configure:8305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8286 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8305 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8287 | if test -z "$ac_err"; then |
8306 | if test -z "$ac_err"; then |
8288 | rm -rf conftest* |
8307 | rm -rf conftest* |
8289 | eval "ac_cv_header_$ac_safe=yes" |
8308 | eval "ac_cv_header_$ac_safe=yes" |
8290 | else |
8309 | else |
… | |
… | |
8297 | rm -f conftest* |
8316 | rm -f conftest* |
8298 | fi |
8317 | fi |
8299 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8318 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8300 | echo "$ac_t""yes" 1>&6 |
8319 | echo "$ac_t""yes" 1>&6 |
8301 | echo $ac_n "checking for struct utmp""... $ac_c" 1>&6 |
8320 | echo $ac_n "checking for struct utmp""... $ac_c" 1>&6 |
8302 | echo "configure:8303: checking for struct utmp" >&5 |
8321 | echo "configure:8322: checking for struct utmp" >&5 |
8303 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp'+set}'`\" = set"; then |
8322 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp'+set}'`\" = set"; then |
8304 | echo $ac_n "(cached) $ac_c" 1>&6 |
8323 | echo $ac_n "(cached) $ac_c" 1>&6 |
8305 | else |
8324 | else |
8306 | cat > conftest.$ac_ext <<EOF |
8325 | cat > conftest.$ac_ext <<EOF |
8307 | #line 8308 "configure" |
8326 | #line 8327 "configure" |
8308 | #include "confdefs.h" |
8327 | #include "confdefs.h" |
8309 | #include <sys/types.h> |
8328 | #include <sys/types.h> |
8310 | #include <stdint.h> |
8329 | #include <stdint.h> |
8311 | #include <utmp.h> |
8330 | #include <utmp.h> |
8312 | int main() { |
8331 | int main() { |
8313 | struct utmp ut; |
8332 | struct utmp ut; |
8314 | ; return 0; } |
8333 | ; return 0; } |
8315 | EOF |
8334 | EOF |
8316 | if { (eval echo configure:8317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8335 | if { (eval echo configure:8336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8317 | rm -rf conftest* |
8336 | rm -rf conftest* |
8318 | rxvt_cv_struct_utmp=yes |
8337 | rxvt_cv_struct_utmp=yes |
8319 | else |
8338 | else |
8320 | echo "configure: failed program was:" >&5 |
8339 | echo "configure: failed program was:" >&5 |
8321 | cat conftest.$ac_ext >&5 |
8340 | cat conftest.$ac_ext >&5 |
… | |
… | |
8333 | |
8352 | |
8334 | fi |
8353 | fi |
8335 | |
8354 | |
8336 | |
8355 | |
8337 | echo $ac_n "checking for ut_host in utmp struct""... $ac_c" 1>&6 |
8356 | echo $ac_n "checking for ut_host in utmp struct""... $ac_c" 1>&6 |
8338 | echo "configure:8339: checking for ut_host in utmp struct" >&5 |
8357 | echo "configure:8358: checking for ut_host in utmp struct" >&5 |
8339 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp_host'+set}'`\" = set"; then |
8358 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp_host'+set}'`\" = set"; then |
8340 | echo $ac_n "(cached) $ac_c" 1>&6 |
8359 | echo $ac_n "(cached) $ac_c" 1>&6 |
8341 | else |
8360 | else |
8342 | cat > conftest.$ac_ext <<EOF |
8361 | cat > conftest.$ac_ext <<EOF |
8343 | #line 8344 "configure" |
8362 | #line 8363 "configure" |
8344 | #include "confdefs.h" |
8363 | #include "confdefs.h" |
8345 | #include <sys/types.h> |
8364 | #include <sys/types.h> |
8346 | #include <utmp.h> |
8365 | #include <utmp.h> |
8347 | int main() { |
8366 | int main() { |
8348 | struct utmp ut; ut.ut_host; |
8367 | struct utmp ut; ut.ut_host; |
8349 | ; return 0; } |
8368 | ; return 0; } |
8350 | EOF |
8369 | EOF |
8351 | if { (eval echo configure:8352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8370 | if { (eval echo configure:8371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8352 | rm -rf conftest* |
8371 | rm -rf conftest* |
8353 | rxvt_cv_struct_utmp_host=yes |
8372 | rxvt_cv_struct_utmp_host=yes |
8354 | else |
8373 | else |
8355 | echo "configure: failed program was:" >&5 |
8374 | echo "configure: failed program was:" >&5 |
8356 | cat conftest.$ac_ext >&5 |
8375 | cat conftest.$ac_ext >&5 |
… | |
… | |
8367 | EOF |
8386 | EOF |
8368 | |
8387 | |
8369 | fi |
8388 | fi |
8370 | |
8389 | |
8371 | echo $ac_n "checking for ut_pid in utmp struct""... $ac_c" 1>&6 |
8390 | echo $ac_n "checking for ut_pid in utmp struct""... $ac_c" 1>&6 |
8372 | echo "configure:8373: checking for ut_pid in utmp struct" >&5 |
8391 | echo "configure:8392: checking for ut_pid in utmp struct" >&5 |
8373 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp_pid'+set}'`\" = set"; then |
8392 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmp_pid'+set}'`\" = set"; then |
8374 | echo $ac_n "(cached) $ac_c" 1>&6 |
8393 | echo $ac_n "(cached) $ac_c" 1>&6 |
8375 | else |
8394 | else |
8376 | cat > conftest.$ac_ext <<EOF |
8395 | cat > conftest.$ac_ext <<EOF |
8377 | #line 8378 "configure" |
8396 | #line 8397 "configure" |
8378 | #include "confdefs.h" |
8397 | #include "confdefs.h" |
8379 | #include <sys/types.h> |
8398 | #include <sys/types.h> |
8380 | #include <utmp.h> |
8399 | #include <utmp.h> |
8381 | int main() { |
8400 | int main() { |
8382 | struct utmp ut; ut.ut_pid; |
8401 | struct utmp ut; ut.ut_pid; |
8383 | ; return 0; } |
8402 | ; return 0; } |
8384 | EOF |
8403 | EOF |
8385 | if { (eval echo configure:8386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8404 | if { (eval echo configure:8405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8386 | rm -rf conftest* |
8405 | rm -rf conftest* |
8387 | rxvt_cv_struct_utmp_pid=yes |
8406 | rxvt_cv_struct_utmp_pid=yes |
8388 | else |
8407 | else |
8389 | echo "configure: failed program was:" >&5 |
8408 | echo "configure: failed program was:" >&5 |
8390 | cat conftest.$ac_ext >&5 |
8409 | cat conftest.$ac_ext >&5 |
… | |
… | |
8407 | fi |
8426 | fi |
8408 | |
8427 | |
8409 | |
8428 | |
8410 | ac_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
8429 | ac_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
8411 | echo $ac_n "checking for utmpx.h""... $ac_c" 1>&6 |
8430 | echo $ac_n "checking for utmpx.h""... $ac_c" 1>&6 |
8412 | echo "configure:8413: checking for utmpx.h" >&5 |
8431 | echo "configure:8432: checking for utmpx.h" >&5 |
8413 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8432 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8414 | echo $ac_n "(cached) $ac_c" 1>&6 |
8433 | echo $ac_n "(cached) $ac_c" 1>&6 |
8415 | else |
8434 | else |
8416 | cat > conftest.$ac_ext <<EOF |
8435 | cat > conftest.$ac_ext <<EOF |
8417 | #line 8418 "configure" |
8436 | #line 8437 "configure" |
8418 | #include "confdefs.h" |
8437 | #include "confdefs.h" |
8419 | #include <utmpx.h> |
8438 | #include <utmpx.h> |
8420 | EOF |
8439 | EOF |
8421 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8440 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8422 | { (eval echo configure:8423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8441 | { (eval echo configure:8442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8423 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8442 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8424 | if test -z "$ac_err"; then |
8443 | if test -z "$ac_err"; then |
8425 | rm -rf conftest* |
8444 | rm -rf conftest* |
8426 | eval "ac_cv_header_$ac_safe=yes" |
8445 | eval "ac_cv_header_$ac_safe=yes" |
8427 | else |
8446 | else |
… | |
… | |
8434 | rm -f conftest* |
8453 | rm -f conftest* |
8435 | fi |
8454 | fi |
8436 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8455 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8437 | echo "$ac_t""yes" 1>&6 |
8456 | echo "$ac_t""yes" 1>&6 |
8438 | echo $ac_n "checking for struct utmpx""... $ac_c" 1>&6 |
8457 | echo $ac_n "checking for struct utmpx""... $ac_c" 1>&6 |
8439 | echo "configure:8440: checking for struct utmpx" >&5 |
8458 | echo "configure:8459: checking for struct utmpx" >&5 |
8440 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmpx'+set}'`\" = set"; then |
8459 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmpx'+set}'`\" = set"; then |
8441 | echo $ac_n "(cached) $ac_c" 1>&6 |
8460 | echo $ac_n "(cached) $ac_c" 1>&6 |
8442 | else |
8461 | else |
8443 | cat > conftest.$ac_ext <<EOF |
8462 | cat > conftest.$ac_ext <<EOF |
8444 | #line 8445 "configure" |
8463 | #line 8464 "configure" |
8445 | #include "confdefs.h" |
8464 | #include "confdefs.h" |
8446 | #include <sys/types.h> |
8465 | #include <sys/types.h> |
8447 | #include <utmpx.h> |
8466 | #include <utmpx.h> |
8448 | int main() { |
8467 | int main() { |
8449 | struct utmpx ut; |
8468 | struct utmpx ut; |
8450 | ; return 0; } |
8469 | ; return 0; } |
8451 | EOF |
8470 | EOF |
8452 | if { (eval echo configure:8453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8471 | if { (eval echo configure:8472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8453 | rm -rf conftest* |
8472 | rm -rf conftest* |
8454 | rxvt_cv_struct_utmpx=yes |
8473 | rxvt_cv_struct_utmpx=yes |
8455 | else |
8474 | else |
8456 | echo "configure: failed program was:" >&5 |
8475 | echo "configure: failed program was:" >&5 |
8457 | cat conftest.$ac_ext >&5 |
8476 | cat conftest.$ac_ext >&5 |
… | |
… | |
8469 | |
8488 | |
8470 | fi |
8489 | fi |
8471 | |
8490 | |
8472 | |
8491 | |
8473 | echo $ac_n "checking for host in utmpx struct""... $ac_c" 1>&6 |
8492 | echo $ac_n "checking for host in utmpx struct""... $ac_c" 1>&6 |
8474 | echo "configure:8475: checking for host in utmpx struct" >&5 |
8493 | echo "configure:8494: checking for host in utmpx struct" >&5 |
8475 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmpx_host'+set}'`\" = set"; then |
8494 | if eval "test \"`echo '$''{'rxvt_cv_struct_utmpx_host'+set}'`\" = set"; then |
8476 | echo $ac_n "(cached) $ac_c" 1>&6 |
8495 | echo $ac_n "(cached) $ac_c" 1>&6 |
8477 | else |
8496 | else |
8478 | cat > conftest.$ac_ext <<EOF |
8497 | cat > conftest.$ac_ext <<EOF |
8479 | #line 8480 "configure" |
8498 | #line 8499 "configure" |
8480 | #include "confdefs.h" |
8499 | #include "confdefs.h" |
8481 | #include <sys/types.h> |
8500 | #include <sys/types.h> |
8482 | #include <utmpx.h> |
8501 | #include <utmpx.h> |
8483 | int main() { |
8502 | int main() { |
8484 | struct utmpx utx; utx.ut_host; |
8503 | struct utmpx utx; utx.ut_host; |
8485 | ; return 0; } |
8504 | ; return 0; } |
8486 | EOF |
8505 | EOF |
8487 | if { (eval echo configure:8488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8506 | if { (eval echo configure:8507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8488 | rm -rf conftest* |
8507 | rm -rf conftest* |
8489 | rxvt_cv_struct_utmpx_host=yes |
8508 | rxvt_cv_struct_utmpx_host=yes |
8490 | else |
8509 | else |
8491 | echo "configure: failed program was:" >&5 |
8510 | echo "configure: failed program was:" >&5 |
8492 | cat conftest.$ac_ext >&5 |
8511 | cat conftest.$ac_ext >&5 |
… | |
… | |
8508 | echo "$ac_t""no" 1>&6 |
8527 | echo "$ac_t""no" 1>&6 |
8509 | fi |
8528 | fi |
8510 | |
8529 | |
8511 | |
8530 | |
8512 | echo $ac_n "checking for struct lastlog""... $ac_c" 1>&6 |
8531 | echo $ac_n "checking for struct lastlog""... $ac_c" 1>&6 |
8513 | echo "configure:8514: checking for struct lastlog" >&5 |
8532 | echo "configure:8533: checking for struct lastlog" >&5 |
8514 | if eval "test \"`echo '$''{'rxvt_cv_struct_lastlog'+set}'`\" = set"; then |
8533 | if eval "test \"`echo '$''{'rxvt_cv_struct_lastlog'+set}'`\" = set"; then |
8515 | echo $ac_n "(cached) $ac_c" 1>&6 |
8534 | echo $ac_n "(cached) $ac_c" 1>&6 |
8516 | else |
8535 | else |
8517 | cat > conftest.$ac_ext <<EOF |
8536 | cat > conftest.$ac_ext <<EOF |
8518 | #line 8519 "configure" |
8537 | #line 8538 "configure" |
8519 | #include "confdefs.h" |
8538 | #include "confdefs.h" |
8520 | #include <sys/types.h> |
8539 | #include <sys/types.h> |
8521 | #include <utmp.h> |
8540 | #include <utmp.h> |
8522 | #ifdef HAVE_LASTLOG_H |
8541 | #ifdef HAVE_LASTLOG_H |
8523 | #include <lastlog.h> |
8542 | #include <lastlog.h> |
… | |
… | |
8525 | |
8544 | |
8526 | int main() { |
8545 | int main() { |
8527 | struct lastlog ll; |
8546 | struct lastlog ll; |
8528 | ; return 0; } |
8547 | ; return 0; } |
8529 | EOF |
8548 | EOF |
8530 | if { (eval echo configure:8531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8549 | if { (eval echo configure:8550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8531 | rm -rf conftest* |
8550 | rm -rf conftest* |
8532 | rxvt_cv_struct_lastlog=yes |
8551 | rxvt_cv_struct_lastlog=yes |
8533 | else |
8552 | else |
8534 | echo "configure: failed program was:" >&5 |
8553 | echo "configure: failed program was:" >&5 |
8535 | cat conftest.$ac_ext >&5 |
8554 | cat conftest.$ac_ext >&5 |
… | |
… | |
8546 | EOF |
8565 | EOF |
8547 | |
8566 | |
8548 | fi |
8567 | fi |
8549 | |
8568 | |
8550 | echo $ac_n "checking for struct lastlogx""... $ac_c" 1>&6 |
8569 | echo $ac_n "checking for struct lastlogx""... $ac_c" 1>&6 |
8551 | echo "configure:8552: checking for struct lastlogx" >&5 |
8570 | echo "configure:8571: checking for struct lastlogx" >&5 |
8552 | if eval "test \"`echo '$''{'rxvt_cv_struct_lastlogx'+set}'`\" = set"; then |
8571 | if eval "test \"`echo '$''{'rxvt_cv_struct_lastlogx'+set}'`\" = set"; then |
8553 | echo $ac_n "(cached) $ac_c" 1>&6 |
8572 | echo $ac_n "(cached) $ac_c" 1>&6 |
8554 | else |
8573 | else |
8555 | cat > conftest.$ac_ext <<EOF |
8574 | cat > conftest.$ac_ext <<EOF |
8556 | #line 8557 "configure" |
8575 | #line 8576 "configure" |
8557 | #include "confdefs.h" |
8576 | #include "confdefs.h" |
8558 | #include <sys/types.h> |
8577 | #include <sys/types.h> |
8559 | #include <utmpx.h> |
8578 | #include <utmpx.h> |
8560 | #ifdef HAVE_LASTLOG_H |
8579 | #ifdef HAVE_LASTLOG_H |
8561 | #include <lastlog.h> |
8580 | #include <lastlog.h> |
… | |
… | |
8563 | |
8582 | |
8564 | int main() { |
8583 | int main() { |
8565 | struct lastlogx ll; |
8584 | struct lastlogx ll; |
8566 | ; return 0; } |
8585 | ; return 0; } |
8567 | EOF |
8586 | EOF |
8568 | if { (eval echo configure:8569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8587 | if { (eval echo configure:8588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8569 | rm -rf conftest* |
8588 | rm -rf conftest* |
8570 | rxvt_cv_struct_lastlogx=yes |
8589 | rxvt_cv_struct_lastlogx=yes |
8571 | else |
8590 | else |
8572 | echo "configure: failed program was:" >&5 |
8591 | echo "configure: failed program was:" >&5 |
8573 | cat conftest.$ac_ext >&5 |
8592 | cat conftest.$ac_ext >&5 |
… | |
… | |
8585 | |
8604 | |
8586 | fi |
8605 | fi |
8587 | |
8606 | |
8588 | |
8607 | |
8589 | echo $ac_n "checking where utmp is located""... $ac_c" 1>&6 |
8608 | echo $ac_n "checking where utmp is located""... $ac_c" 1>&6 |
8590 | echo "configure:8591: checking where utmp is located" >&5 |
8609 | echo "configure:8610: checking where utmp is located" >&5 |
8591 | if eval "test \"`echo '$''{'rxvt_cv_path_utmp'+set}'`\" = set"; then |
8610 | if eval "test \"`echo '$''{'rxvt_cv_path_utmp'+set}'`\" = set"; then |
8592 | echo $ac_n "(cached) $ac_c" 1>&6 |
8611 | echo $ac_n "(cached) $ac_c" 1>&6 |
8593 | else |
8612 | else |
8594 | if test "$cross_compiling" = yes; then |
8613 | if test "$cross_compiling" = yes; then |
8595 | echo "configure: warning: Define RXVT_UTMP_FILE in config.h manually" 1>&2 |
8614 | echo "configure: warning: Define RXVT_UTMP_FILE in config.h manually" 1>&2 |
8596 | else |
8615 | else |
8597 | cat > conftest.$ac_ext <<EOF |
8616 | cat > conftest.$ac_ext <<EOF |
8598 | #line 8599 "configure" |
8617 | #line 8618 "configure" |
8599 | #include "confdefs.h" |
8618 | #include "confdefs.h" |
8600 | #include <stdio.h> |
8619 | #include <stdio.h> |
8601 | #include <sys/types.h> |
8620 | #include <sys/types.h> |
8602 | #include <utmp.h> |
8621 | #include <utmp.h> |
8603 | #include <errno.h> |
8622 | #include <errno.h> |
… | |
… | |
8622 | } |
8641 | } |
8623 | } |
8642 | } |
8624 | exit(0); |
8643 | exit(0); |
8625 | } |
8644 | } |
8626 | EOF |
8645 | EOF |
8627 | if { (eval echo configure:8628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8646 | if { (eval echo configure:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8628 | then |
8647 | then |
8629 | rxvt_cv_path_utmp=`cat conftestval` |
8648 | rxvt_cv_path_utmp=`cat conftestval` |
8630 | else |
8649 | else |
8631 | echo "configure: failed program was:" >&5 |
8650 | echo "configure: failed program was:" >&5 |
8632 | cat conftest.$ac_ext >&5 |
8651 | cat conftest.$ac_ext >&5 |
… | |
… | |
8646 | |
8665 | |
8647 | fi |
8666 | fi |
8648 | |
8667 | |
8649 | |
8668 | |
8650 | echo $ac_n "checking where utmpx is located""... $ac_c" 1>&6 |
8669 | echo $ac_n "checking where utmpx is located""... $ac_c" 1>&6 |
8651 | echo "configure:8652: checking where utmpx is located" >&5 |
8670 | echo "configure:8671: checking where utmpx is located" >&5 |
8652 | if eval "test \"`echo '$''{'rxvt_cv_path_utmpx'+set}'`\" = set"; then |
8671 | if eval "test \"`echo '$''{'rxvt_cv_path_utmpx'+set}'`\" = set"; then |
8653 | echo $ac_n "(cached) $ac_c" 1>&6 |
8672 | echo $ac_n "(cached) $ac_c" 1>&6 |
8654 | else |
8673 | else |
8655 | if test "$cross_compiling" = yes; then |
8674 | if test "$cross_compiling" = yes; then |
8656 | echo "configure: warning: Define RXVT_UTMPX_FILE in config.h manually" 1>&2 |
8675 | echo "configure: warning: Define RXVT_UTMPX_FILE in config.h manually" 1>&2 |
8657 | else |
8676 | else |
8658 | cat > conftest.$ac_ext <<EOF |
8677 | cat > conftest.$ac_ext <<EOF |
8659 | #line 8660 "configure" |
8678 | #line 8679 "configure" |
8660 | #include "confdefs.h" |
8679 | #include "confdefs.h" |
8661 | #include <stdio.h> |
8680 | #include <stdio.h> |
8662 | #include <sys/types.h> |
8681 | #include <sys/types.h> |
8663 | #include <utmpx.h> |
8682 | #include <utmpx.h> |
8664 | #include <errno.h> |
8683 | #include <errno.h> |
… | |
… | |
8693 | } |
8712 | } |
8694 | } |
8713 | } |
8695 | exit(0); |
8714 | exit(0); |
8696 | } |
8715 | } |
8697 | EOF |
8716 | EOF |
8698 | if { (eval echo configure:8699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8717 | if { (eval echo configure:8718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8699 | then |
8718 | then |
8700 | rxvt_cv_path_utmpx=`cat conftestval` |
8719 | rxvt_cv_path_utmpx=`cat conftestval` |
8701 | else |
8720 | else |
8702 | echo "configure: failed program was:" >&5 |
8721 | echo "configure: failed program was:" >&5 |
8703 | cat conftest.$ac_ext >&5 |
8722 | cat conftest.$ac_ext >&5 |
… | |
… | |
8717 | |
8736 | |
8718 | fi |
8737 | fi |
8719 | |
8738 | |
8720 | |
8739 | |
8721 | echo $ac_n "checking where wtmp is located""... $ac_c" 1>&6 |
8740 | echo $ac_n "checking where wtmp is located""... $ac_c" 1>&6 |
8722 | echo "configure:8723: checking where wtmp is located" >&5 |
8741 | echo "configure:8742: checking where wtmp is located" >&5 |
8723 | if eval "test \"`echo '$''{'rxvt_cv_path_wtmp'+set}'`\" = set"; then |
8742 | if eval "test \"`echo '$''{'rxvt_cv_path_wtmp'+set}'`\" = set"; then |
8724 | echo $ac_n "(cached) $ac_c" 1>&6 |
8743 | echo $ac_n "(cached) $ac_c" 1>&6 |
8725 | else |
8744 | else |
8726 | if test "$cross_compiling" = yes; then |
8745 | if test "$cross_compiling" = yes; then |
8727 | echo "configure: warning: Define RXVT_WTMP_FILE in config.h manually" 1>&2 |
8746 | echo "configure: warning: Define RXVT_WTMP_FILE in config.h manually" 1>&2 |
8728 | else |
8747 | else |
8729 | cat > conftest.$ac_ext <<EOF |
8748 | cat > conftest.$ac_ext <<EOF |
8730 | #line 8731 "configure" |
8749 | #line 8750 "configure" |
8731 | #include "confdefs.h" |
8750 | #include "confdefs.h" |
8732 | #include <stdio.h> |
8751 | #include <stdio.h> |
8733 | #include <sys/types.h> |
8752 | #include <sys/types.h> |
8734 | #ifdef HAVE_UTMP_H |
8753 | #ifdef HAVE_UTMP_H |
8735 | #include <utmp.h> |
8754 | #include <utmp.h> |
… | |
… | |
8756 | } |
8775 | } |
8757 | } |
8776 | } |
8758 | exit(0); |
8777 | exit(0); |
8759 | } |
8778 | } |
8760 | EOF |
8779 | EOF |
8761 | if { (eval echo configure:8762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8780 | if { (eval echo configure:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8762 | then |
8781 | then |
8763 | rxvt_cv_path_wtmp=`cat conftestval` |
8782 | rxvt_cv_path_wtmp=`cat conftestval` |
8764 | else |
8783 | else |
8765 | echo "configure: failed program was:" >&5 |
8784 | echo "configure: failed program was:" >&5 |
8766 | cat conftest.$ac_ext >&5 |
8785 | cat conftest.$ac_ext >&5 |
… | |
… | |
8779 | EOF |
8798 | EOF |
8780 | |
8799 | |
8781 | fi |
8800 | fi |
8782 | |
8801 | |
8783 | echo $ac_n "checking where wtmpx is located""... $ac_c" 1>&6 |
8802 | echo $ac_n "checking where wtmpx is located""... $ac_c" 1>&6 |
8784 | echo "configure:8785: checking where wtmpx is located" >&5 |
8803 | echo "configure:8804: checking where wtmpx is located" >&5 |
8785 | if eval "test \"`echo '$''{'rxvt_cv_path_wtmpx'+set}'`\" = set"; then |
8804 | if eval "test \"`echo '$''{'rxvt_cv_path_wtmpx'+set}'`\" = set"; then |
8786 | echo $ac_n "(cached) $ac_c" 1>&6 |
8805 | echo $ac_n "(cached) $ac_c" 1>&6 |
8787 | else |
8806 | else |
8788 | if test "$cross_compiling" = yes; then |
8807 | if test "$cross_compiling" = yes; then |
8789 | echo "configure: warning: Define RXVT_WTMPX_FILE in config.h manually" 1>&2 |
8808 | echo "configure: warning: Define RXVT_WTMPX_FILE in config.h manually" 1>&2 |
8790 | else |
8809 | else |
8791 | cat > conftest.$ac_ext <<EOF |
8810 | cat > conftest.$ac_ext <<EOF |
8792 | #line 8793 "configure" |
8811 | #line 8812 "configure" |
8793 | #include "confdefs.h" |
8812 | #include "confdefs.h" |
8794 | #include <stdio.h> |
8813 | #include <stdio.h> |
8795 | #ifdef HAVE_UTMPX_H |
8814 | #ifdef HAVE_UTMPX_H |
8796 | #include <utmpx.h> |
8815 | #include <utmpx.h> |
8797 | #endif |
8816 | #endif |
… | |
… | |
8817 | } |
8836 | } |
8818 | } |
8837 | } |
8819 | exit(0); |
8838 | exit(0); |
8820 | } |
8839 | } |
8821 | EOF |
8840 | EOF |
8822 | if { (eval echo configure:8823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8841 | if { (eval echo configure:8842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8823 | then |
8842 | then |
8824 | rxvt_cv_path_wtmpx=`cat conftestval` |
8843 | rxvt_cv_path_wtmpx=`cat conftestval` |
8825 | else |
8844 | else |
8826 | echo "configure: failed program was:" >&5 |
8845 | echo "configure: failed program was:" >&5 |
8827 | cat conftest.$ac_ext >&5 |
8846 | cat conftest.$ac_ext >&5 |
… | |
… | |
8840 | EOF |
8859 | EOF |
8841 | |
8860 | |
8842 | fi |
8861 | fi |
8843 | |
8862 | |
8844 | echo $ac_n "checking where lastlog is located""... $ac_c" 1>&6 |
8863 | echo $ac_n "checking where lastlog is located""... $ac_c" 1>&6 |
8845 | echo "configure:8846: checking where lastlog is located" >&5 |
8864 | echo "configure:8865: checking where lastlog is located" >&5 |
8846 | if eval "test \"`echo '$''{'rxvt_cv_path_lastlog'+set}'`\" = set"; then |
8865 | if eval "test \"`echo '$''{'rxvt_cv_path_lastlog'+set}'`\" = set"; then |
8847 | echo $ac_n "(cached) $ac_c" 1>&6 |
8866 | echo $ac_n "(cached) $ac_c" 1>&6 |
8848 | else |
8867 | else |
8849 | if test "$cross_compiling" = yes; then |
8868 | if test "$cross_compiling" = yes; then |
8850 | echo "configure: warning: Define RXVT_LASTLOG_FILE in config.h manually" 1>&2 |
8869 | echo "configure: warning: Define RXVT_LASTLOG_FILE in config.h manually" 1>&2 |
8851 | else |
8870 | else |
8852 | cat > conftest.$ac_ext <<EOF |
8871 | cat > conftest.$ac_ext <<EOF |
8853 | #line 8854 "configure" |
8872 | #line 8873 "configure" |
8854 | #include "confdefs.h" |
8873 | #include "confdefs.h" |
8855 | #include <stdio.h> |
8874 | #include <stdio.h> |
8856 | #include <sys/types.h> |
8875 | #include <sys/types.h> |
8857 | #ifdef HAVE_UTMPX_H |
8876 | #ifdef HAVE_UTMPX_H |
8858 | #include <utmpx.h> |
8877 | #include <utmpx.h> |
… | |
… | |
8883 | } |
8902 | } |
8884 | } |
8903 | } |
8885 | exit(0); |
8904 | exit(0); |
8886 | } |
8905 | } |
8887 | EOF |
8906 | EOF |
8888 | if { (eval echo configure:8889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8907 | if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8889 | then |
8908 | then |
8890 | rxvt_cv_path_lastlog=`cat conftestval` |
8909 | rxvt_cv_path_lastlog=`cat conftestval` |
8891 | else |
8910 | else |
8892 | echo "configure: failed program was:" >&5 |
8911 | echo "configure: failed program was:" >&5 |
8893 | cat conftest.$ac_ext >&5 |
8912 | cat conftest.$ac_ext >&5 |
… | |
… | |
8912 | |
8931 | |
8913 | fi |
8932 | fi |
8914 | fi |
8933 | fi |
8915 | |
8934 | |
8916 | echo $ac_n "checking where lastlogx is located""... $ac_c" 1>&6 |
8935 | echo $ac_n "checking where lastlogx is located""... $ac_c" 1>&6 |
8917 | echo "configure:8918: checking where lastlogx is located" >&5 |
8936 | echo "configure:8937: checking where lastlogx is located" >&5 |
8918 | if eval "test \"`echo '$''{'rxvt_cv_path_lastlogx'+set}'`\" = set"; then |
8937 | if eval "test \"`echo '$''{'rxvt_cv_path_lastlogx'+set}'`\" = set"; then |
8919 | echo $ac_n "(cached) $ac_c" 1>&6 |
8938 | echo $ac_n "(cached) $ac_c" 1>&6 |
8920 | else |
8939 | else |
8921 | if test "$cross_compiling" = yes; then |
8940 | if test "$cross_compiling" = yes; then |
8922 | echo "configure: warning: Define RXVT_LASTLOGX_FILE in config.h manually" 1>&2 |
8941 | echo "configure: warning: Define RXVT_LASTLOGX_FILE in config.h manually" 1>&2 |
8923 | else |
8942 | else |
8924 | cat > conftest.$ac_ext <<EOF |
8943 | cat > conftest.$ac_ext <<EOF |
8925 | #line 8926 "configure" |
8944 | #line 8945 "configure" |
8926 | #include "confdefs.h" |
8945 | #include "confdefs.h" |
8927 | #include <stdio.h> |
8946 | #include <stdio.h> |
8928 | #ifdef HAVE_UTMPX_H |
8947 | #ifdef HAVE_UTMPX_H |
8929 | #include <utmpx.h> |
8948 | #include <utmpx.h> |
8930 | #endif |
8949 | #endif |
… | |
… | |
8949 | } |
8968 | } |
8950 | } |
8969 | } |
8951 | exit(0); |
8970 | exit(0); |
8952 | } |
8971 | } |
8953 | EOF |
8972 | EOF |
8954 | if { (eval echo configure:8955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8973 | if { (eval echo configure:8974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8955 | then |
8974 | then |
8956 | rxvt_cv_path_lastlogx=`cat conftestval` |
8975 | rxvt_cv_path_lastlogx=`cat conftestval` |
8957 | else |
8976 | else |
8958 | echo "configure: failed program was:" >&5 |
8977 | echo "configure: failed program was:" >&5 |
8959 | cat conftest.$ac_ext >&5 |
8978 | cat conftest.$ac_ext >&5 |
… | |
… | |
8973 | |
8992 | |
8974 | fi |
8993 | fi |
8975 | |
8994 | |
8976 | |
8995 | |
8977 | echo $ac_n "checking where ttys/ttytab is located""... $ac_c" 1>&6 |
8996 | echo $ac_n "checking where ttys/ttytab is located""... $ac_c" 1>&6 |
8978 | echo "configure:8979: checking where ttys/ttytab is located" >&5 |
8997 | echo "configure:8998: checking where ttys/ttytab is located" >&5 |
8979 | if eval "test \"`echo '$''{'rxvt_cv_path_ttytab'+set}'`\" = set"; then |
8998 | if eval "test \"`echo '$''{'rxvt_cv_path_ttytab'+set}'`\" = set"; then |
8980 | echo $ac_n "(cached) $ac_c" 1>&6 |
8999 | echo $ac_n "(cached) $ac_c" 1>&6 |
8981 | else |
9000 | else |
8982 | for ttys_file in /etc/ttys /etc/ttytab; |
9001 | for ttys_file in /etc/ttys /etc/ttytab; |
8983 | do |
9002 | do |
… | |
… | |
9004 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
9023 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
9005 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
9024 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
9006 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
9025 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
9007 | fi |
9026 | fi |
9008 | echo $ac_n "checking for working Xlocale""... $ac_c" 1>&6 |
9027 | echo $ac_n "checking for working Xlocale""... $ac_c" 1>&6 |
9009 | echo "configure:9010: checking for working Xlocale" >&5 |
9028 | echo "configure:9029: checking for working Xlocale" >&5 |
9010 | if eval "test \"`echo '$''{'rxvt_cv_func_xlocale'+set}'`\" = set"; then |
9029 | if eval "test \"`echo '$''{'rxvt_cv_func_xlocale'+set}'`\" = set"; then |
9011 | echo $ac_n "(cached) $ac_c" 1>&6 |
9030 | echo $ac_n "(cached) $ac_c" 1>&6 |
9012 | else |
9031 | else |
9013 | if test "$cross_compiling" = yes; then |
9032 | if test "$cross_compiling" = yes; then |
9014 | echo "configure: warning: Define NO_XLOCALE in config.h manually" 1>&2 |
9033 | echo "configure: warning: Define NO_XLOCALE in config.h manually" 1>&2 |
9015 | else |
9034 | else |
9016 | cat > conftest.$ac_ext <<EOF |
9035 | cat > conftest.$ac_ext <<EOF |
9017 | #line 9018 "configure" |
9036 | #line 9037 "configure" |
9018 | #include "confdefs.h" |
9037 | #include "confdefs.h" |
9019 | #include <X11/Xlib.h> |
9038 | #include <X11/Xlib.h> |
9020 | main() { |
9039 | main() { |
9021 | char *p; |
9040 | char *p; |
9022 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
9041 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
9023 | exit (XSupportsLocale() ? 0 : 1); |
9042 | exit (XSupportsLocale() ? 0 : 1); |
9024 | else |
9043 | else |
9025 | exit (1);} |
9044 | exit (1);} |
9026 | EOF |
9045 | EOF |
9027 | if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
9046 | if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
9028 | then |
9047 | then |
9029 | rxvt_cv_func_xlocale=yes |
9048 | rxvt_cv_func_xlocale=yes |
9030 | else |
9049 | else |
9031 | echo "configure: failed program was:" >&5 |
9050 | echo "configure: failed program was:" >&5 |
9032 | cat conftest.$ac_ext >&5 |
9051 | cat conftest.$ac_ext >&5 |
… | |
… | |
9045 | EOF |
9064 | EOF |
9046 | |
9065 | |
9047 | fi |
9066 | fi |
9048 | |
9067 | |
9049 | echo $ac_n "checking for working X setlocale""... $ac_c" 1>&6 |
9068 | echo $ac_n "checking for working X setlocale""... $ac_c" 1>&6 |
9050 | echo "configure:9051: checking for working X setlocale" >&5 |
9069 | echo "configure:9070: checking for working X setlocale" >&5 |
9051 | if eval "test \"`echo '$''{'rxvt_cv_func_xsetlocale'+set}'`\" = set"; then |
9070 | if eval "test \"`echo '$''{'rxvt_cv_func_xsetlocale'+set}'`\" = set"; then |
9052 | echo $ac_n "(cached) $ac_c" 1>&6 |
9071 | echo $ac_n "(cached) $ac_c" 1>&6 |
9053 | else |
9072 | else |
9054 | cat > conftest.$ac_ext <<EOF |
9073 | cat > conftest.$ac_ext <<EOF |
9055 | #line 9056 "configure" |
9074 | #line 9075 "configure" |
9056 | #include "confdefs.h" |
9075 | #include "confdefs.h" |
9057 | #define X_LOCALE 1 |
9076 | #define X_LOCALE 1 |
9058 | #include <X11/Xlocale.h> |
9077 | #include <X11/Xlocale.h> |
9059 | int main() { |
9078 | int main() { |
9060 | setlocale(LC_CTYPE, ""); |
9079 | setlocale(LC_CTYPE, ""); |
9061 | ; return 0; } |
9080 | ; return 0; } |
9062 | EOF |
9081 | EOF |
9063 | if { (eval echo configure:9064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9082 | if { (eval echo configure:9083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9064 | rm -rf conftest* |
9083 | rm -rf conftest* |
9065 | rxvt_cv_func_xsetlocale=yes |
9084 | rxvt_cv_func_xsetlocale=yes |
9066 | else |
9085 | else |
9067 | echo "configure: failed program was:" >&5 |
9086 | echo "configure: failed program was:" >&5 |
9068 | cat conftest.$ac_ext >&5 |
9087 | cat conftest.$ac_ext >&5 |
… | |
… | |
9081 | fi |
9100 | fi |
9082 | LIBS=$ac_save_LIBS |
9101 | LIBS=$ac_save_LIBS |
9083 | CFLAGS=$ac_save_CFLAGS |
9102 | CFLAGS=$ac_save_CFLAGS |
9084 | |
9103 | |
9085 | echo $ac_n "checking for working plain setlocale""... $ac_c" 1>&6 |
9104 | echo $ac_n "checking for working plain setlocale""... $ac_c" 1>&6 |
9086 | echo "configure:9087: checking for working plain setlocale" >&5 |
9105 | echo "configure:9106: checking for working plain setlocale" >&5 |
9087 | if eval "test \"`echo '$''{'rxvt_cv_func_setlocale'+set}'`\" = set"; then |
9106 | if eval "test \"`echo '$''{'rxvt_cv_func_setlocale'+set}'`\" = set"; then |
9088 | echo $ac_n "(cached) $ac_c" 1>&6 |
9107 | echo $ac_n "(cached) $ac_c" 1>&6 |
9089 | else |
9108 | else |
9090 | cat > conftest.$ac_ext <<EOF |
9109 | cat > conftest.$ac_ext <<EOF |
9091 | #line 9092 "configure" |
9110 | #line 9111 "configure" |
9092 | #include "confdefs.h" |
9111 | #include "confdefs.h" |
9093 | #include <locale.h> |
9112 | #include <locale.h> |
9094 | int main() { |
9113 | int main() { |
9095 | setlocale(LC_CTYPE, ""); |
9114 | setlocale(LC_CTYPE, ""); |
9096 | ; return 0; } |
9115 | ; return 0; } |
9097 | EOF |
9116 | EOF |
9098 | if { (eval echo configure:9099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9117 | if { (eval echo configure:9118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9099 | rm -rf conftest* |
9118 | rm -rf conftest* |
9100 | rxvt_cv_func_setlocale=yes |
9119 | rxvt_cv_func_setlocale=yes |
9101 | else |
9120 | else |
9102 | echo "configure: failed program was:" >&5 |
9121 | echo "configure: failed program was:" >&5 |
9103 | cat conftest.$ac_ext >&5 |
9122 | cat conftest.$ac_ext >&5 |
… | |
… | |
9114 | EOF |
9133 | EOF |
9115 | |
9134 | |
9116 | fi |
9135 | fi |
9117 | |
9136 | |
9118 | echo $ac_n "checking for working nl_langinfo""... $ac_c" 1>&6 |
9137 | echo $ac_n "checking for working nl_langinfo""... $ac_c" 1>&6 |
9119 | echo "configure:9120: checking for working nl_langinfo" >&5 |
9138 | echo "configure:9139: checking for working nl_langinfo" >&5 |
9120 | if eval "test \"`echo '$''{'rxvt_cv_func_nl_langinfo'+set}'`\" = set"; then |
9139 | if eval "test \"`echo '$''{'rxvt_cv_func_nl_langinfo'+set}'`\" = set"; then |
9121 | echo $ac_n "(cached) $ac_c" 1>&6 |
9140 | echo $ac_n "(cached) $ac_c" 1>&6 |
9122 | else |
9141 | else |
9123 | cat > conftest.$ac_ext <<EOF |
9142 | cat > conftest.$ac_ext <<EOF |
9124 | #line 9125 "configure" |
9143 | #line 9144 "configure" |
9125 | #include "confdefs.h" |
9144 | #include "confdefs.h" |
9126 | #include <langinfo.h> |
9145 | #include <langinfo.h> |
9127 | int main() { |
9146 | int main() { |
9128 | nl_langinfo(CODESET); |
9147 | nl_langinfo(CODESET); |
9129 | ; return 0; } |
9148 | ; return 0; } |
9130 | EOF |
9149 | EOF |
9131 | if { (eval echo configure:9132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9150 | if { (eval echo configure:9151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9132 | rm -rf conftest* |
9151 | rm -rf conftest* |
9133 | rxvt_cv_func_nl_langinfo=yes |
9152 | rxvt_cv_func_nl_langinfo=yes |
9134 | else |
9153 | else |
9135 | echo "configure: failed program was:" >&5 |
9154 | echo "configure: failed program was:" >&5 |
9136 | cat conftest.$ac_ext >&5 |
9155 | cat conftest.$ac_ext >&5 |
… | |
… | |
9147 | EOF |
9166 | EOF |
9148 | |
9167 | |
9149 | fi |
9168 | fi |
9150 | |
9169 | |
9151 | echo $ac_n "checking for getpt""... $ac_c" 1>&6 |
9170 | echo $ac_n "checking for getpt""... $ac_c" 1>&6 |
9152 | echo "configure:9153: checking for getpt" >&5 |
9171 | echo "configure:9172: checking for getpt" >&5 |
9153 | if eval "test \"`echo '$''{'rxvt_cv_func_getpt'+set}'`\" = set"; then |
9172 | if eval "test \"`echo '$''{'rxvt_cv_func_getpt'+set}'`\" = set"; then |
9154 | echo $ac_n "(cached) $ac_c" 1>&6 |
9173 | echo $ac_n "(cached) $ac_c" 1>&6 |
9155 | else |
9174 | else |
9156 | cat > conftest.$ac_ext <<EOF |
9175 | cat > conftest.$ac_ext <<EOF |
9157 | #line 9158 "configure" |
9176 | #line 9177 "configure" |
9158 | #include "confdefs.h" |
9177 | #include "confdefs.h" |
9159 | #define _GNU_SOURCE |
9178 | #define _GNU_SOURCE |
9160 | #ifdef HAVE_STDLIB_H |
9179 | #ifdef HAVE_STDLIB_H |
9161 | # include <stdlib.h> |
9180 | # include <stdlib.h> |
9162 | #endif |
9181 | #endif |
9163 | int main() { |
9182 | int main() { |
9164 | (void)getpt(); |
9183 | (void)getpt(); |
9165 | ; return 0; } |
9184 | ; return 0; } |
9166 | EOF |
9185 | EOF |
9167 | if { (eval echo configure:9168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9186 | if { (eval echo configure:9187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9168 | rm -rf conftest* |
9187 | rm -rf conftest* |
9169 | rxvt_cv_func_getpt=yes |
9188 | rxvt_cv_func_getpt=yes |
9170 | else |
9189 | else |
9171 | echo "configure: failed program was:" >&5 |
9190 | echo "configure: failed program was:" >&5 |
9172 | cat conftest.$ac_ext >&5 |
9191 | cat conftest.$ac_ext >&5 |
… | |
… | |
9183 | EOF |
9202 | EOF |
9184 | |
9203 | |
9185 | fi |
9204 | fi |
9186 | |
9205 | |
9187 | echo $ac_n "checking for pty/tty type""... $ac_c" 1>&6 |
9206 | echo $ac_n "checking for pty/tty type""... $ac_c" 1>&6 |
9188 | echo "configure:9189: checking for pty/tty type" >&5 |
9207 | echo "configure:9208: checking for pty/tty type" >&5 |
9189 | if eval "test \"`echo '$''{'rxvt_cv_ptys'+set}'`\" = set"; then |
9208 | if eval "test \"`echo '$''{'rxvt_cv_ptys'+set}'`\" = set"; then |
9190 | echo $ac_n "(cached) $ac_c" 1>&6 |
9209 | echo $ac_n "(cached) $ac_c" 1>&6 |
9191 | else |
9210 | else |
9192 | if test x$ac_cv_func_openpty = xyes; then |
9211 | if test x$ac_cv_func_openpty = xyes; then |
9193 | rxvt_cv_ptys=OPENPTY |
9212 | rxvt_cv_ptys=OPENPTY |
… | |
… | |
9278 | |
9297 | |
9279 | fi |
9298 | fi |
9280 | |
9299 | |
9281 | |
9300 | |
9282 | echo "checking for pty ranges" 1>&6 |
9301 | echo "checking for pty ranges" 1>&6 |
9283 | echo "configure:9284: checking for pty ranges" >&5 |
9302 | echo "configure:9303: checking for pty ranges" >&5 |
9284 | ptys=`echo /dev/pty??` |
9303 | ptys=`echo /dev/pty??` |
9285 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
9304 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
9286 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
9305 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
9287 | if test x$pch1 != x; then |
9306 | if test x$pch1 != x; then |
9288 | cat >> confdefs.h <<EOF |
9307 | cat >> confdefs.h <<EOF |
… | |
… | |
9296 | EOF |
9315 | EOF |
9297 | |
9316 | |
9298 | fi |
9317 | fi |
9299 | |
9318 | |
9300 | echo $ac_n "checking for setlocale in -lxpg4""... $ac_c" 1>&6 |
9319 | echo $ac_n "checking for setlocale in -lxpg4""... $ac_c" 1>&6 |
9301 | echo "configure:9302: checking for setlocale in -lxpg4" >&5 |
9320 | echo "configure:9321: checking for setlocale in -lxpg4" >&5 |
9302 | ac_lib_var=`echo xpg4'_'setlocale | sed 'y%./+-%__p_%'` |
9321 | ac_lib_var=`echo xpg4'_'setlocale | sed 'y%./+-%__p_%'` |
9303 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
9322 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
9304 | echo $ac_n "(cached) $ac_c" 1>&6 |
9323 | echo $ac_n "(cached) $ac_c" 1>&6 |
9305 | else |
9324 | else |
9306 | ac_save_LIBS="$LIBS" |
9325 | ac_save_LIBS="$LIBS" |
9307 | LIBS="-lxpg4 $LIBS" |
9326 | LIBS="-lxpg4 $LIBS" |
9308 | cat > conftest.$ac_ext <<EOF |
9327 | cat > conftest.$ac_ext <<EOF |
9309 | #line 9310 "configure" |
9328 | #line 9329 "configure" |
9310 | #include "confdefs.h" |
9329 | #include "confdefs.h" |
9311 | /* Override any gcc2 internal prototype to avoid an error. */ |
9330 | /* Override any gcc2 internal prototype to avoid an error. */ |
9312 | /* We use char because int might match the return type of a gcc2 |
9331 | /* We use char because int might match the return type of a gcc2 |
9313 | builtin and then its argument prototype would still apply. */ |
9332 | builtin and then its argument prototype would still apply. */ |
9314 | char setlocale(); |
9333 | char setlocale(); |
9315 | |
9334 | |
9316 | int main() { |
9335 | int main() { |
9317 | setlocale() |
9336 | setlocale() |
9318 | ; return 0; } |
9337 | ; return 0; } |
9319 | EOF |
9338 | EOF |
9320 | if { (eval echo configure:9321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9339 | if { (eval echo configure:9340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9321 | rm -rf conftest* |
9340 | rm -rf conftest* |
9322 | eval "ac_cv_lib_$ac_lib_var=yes" |
9341 | eval "ac_cv_lib_$ac_lib_var=yes" |
9323 | else |
9342 | else |
9324 | echo "configure: failed program was:" >&5 |
9343 | echo "configure: failed program was:" >&5 |
9325 | cat conftest.$ac_ext >&5 |
9344 | cat conftest.$ac_ext >&5 |
… | |
… | |
9644 | |
9663 | |
9645 | for ac_hdr in X11/Xft/Xft.h |
9664 | for ac_hdr in X11/Xft/Xft.h |
9646 | do |
9665 | do |
9647 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9666 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9648 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9667 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9649 | echo "configure:9650: checking for $ac_hdr" >&5 |
9668 | echo "configure:9669: checking for $ac_hdr" >&5 |
9650 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
9669 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
9651 | echo $ac_n "(cached) $ac_c" 1>&6 |
9670 | echo $ac_n "(cached) $ac_c" 1>&6 |
9652 | else |
9671 | else |
9653 | cat > conftest.$ac_ext <<EOF |
9672 | cat > conftest.$ac_ext <<EOF |
9654 | #line 9655 "configure" |
9673 | #line 9674 "configure" |
9655 | #include "confdefs.h" |
9674 | #include "confdefs.h" |
9656 | #include <$ac_hdr> |
9675 | #include <$ac_hdr> |
9657 | EOF |
9676 | EOF |
9658 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9677 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9659 | { (eval echo configure:9660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9678 | { (eval echo configure:9679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9660 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9679 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9661 | if test -z "$ac_err"; then |
9680 | if test -z "$ac_err"; then |
9662 | rm -rf conftest* |
9681 | rm -rf conftest* |
9663 | eval "ac_cv_header_$ac_safe=yes" |
9682 | eval "ac_cv_header_$ac_safe=yes" |
9664 | else |
9683 | else |
… | |
… | |
9682 | support_xft=no |
9701 | support_xft=no |
9683 | fi |
9702 | fi |
9684 | done |
9703 | done |
9685 | |
9704 | |
9686 | echo $ac_n "checking for XftDrawString32 in -lXft""... $ac_c" 1>&6 |
9705 | echo $ac_n "checking for XftDrawString32 in -lXft""... $ac_c" 1>&6 |
9687 | echo "configure:9688: checking for XftDrawString32 in -lXft" >&5 |
9706 | echo "configure:9707: checking for XftDrawString32 in -lXft" >&5 |
9688 | ac_lib_var=`echo Xft'_'XftDrawString32 | sed 'y%./+-%__p_%'` |
9707 | ac_lib_var=`echo Xft'_'XftDrawString32 | sed 'y%./+-%__p_%'` |
9689 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
9708 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
9690 | echo $ac_n "(cached) $ac_c" 1>&6 |
9709 | echo $ac_n "(cached) $ac_c" 1>&6 |
9691 | else |
9710 | else |
9692 | ac_save_LIBS="$LIBS" |
9711 | ac_save_LIBS="$LIBS" |
9693 | LIBS="-lXft $LIBS" |
9712 | LIBS="-lXft $LIBS" |
9694 | cat > conftest.$ac_ext <<EOF |
9713 | cat > conftest.$ac_ext <<EOF |
9695 | #line 9696 "configure" |
9714 | #line 9715 "configure" |
9696 | #include "confdefs.h" |
9715 | #include "confdefs.h" |
9697 | /* Override any gcc2 internal prototype to avoid an error. */ |
9716 | /* Override any gcc2 internal prototype to avoid an error. */ |
9698 | /* We use char because int might match the return type of a gcc2 |
9717 | /* We use char because int might match the return type of a gcc2 |
9699 | builtin and then its argument prototype would still apply. */ |
9718 | builtin and then its argument prototype would still apply. */ |
9700 | char XftDrawString32(); |
9719 | char XftDrawString32(); |
9701 | |
9720 | |
9702 | int main() { |
9721 | int main() { |
9703 | XftDrawString32() |
9722 | XftDrawString32() |
9704 | ; return 0; } |
9723 | ; return 0; } |
9705 | EOF |
9724 | EOF |
9706 | if { (eval echo configure:9707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9725 | if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9707 | rm -rf conftest* |
9726 | rm -rf conftest* |
9708 | eval "ac_cv_lib_$ac_lib_var=yes" |
9727 | eval "ac_cv_lib_$ac_lib_var=yes" |
9709 | else |
9728 | else |
9710 | echo "configure: failed program was:" >&5 |
9729 | echo "configure: failed program was:" >&5 |
9711 | cat conftest.$ac_ext >&5 |
9730 | cat conftest.$ac_ext >&5 |
… | |
… | |
9729 | else |
9748 | else |
9730 | echo "$ac_t""no" 1>&6 |
9749 | echo "$ac_t""no" 1>&6 |
9731 | support_xft=no |
9750 | support_xft=no |
9732 | fi |
9751 | fi |
9733 | |
9752 | |
|
|
9753 | |
|
|
9754 | if test x$support_xft = xyes; then |
9734 | cat >> confdefs.h <<\EOF |
9755 | cat >> confdefs.h <<\EOF |
9735 | #define XFT 1 |
9756 | #define XFT 1 |
9736 | EOF |
9757 | EOF |
9737 | |
9758 | |
|
|
9759 | fi |
9738 | fi |
9760 | fi |
9739 | |
9761 | |
9740 | trap '' 1 2 15 |
9762 | trap '' 1 2 15 |
9741 | cat > confcache <<\EOF |
9763 | cat > confcache <<\EOF |
9742 | # This file is a shell script that caches the results of configure |
9764 | # This file is a shell script that caches the results of configure |