Mercurial > hg > xemacs-beta
comparison configure @ 375:a300bb07d72d r21-2b3
Import from CVS: tag r21-2b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:04:51 +0200 |
parents | 6240c7796c7a |
children | d883f39b8495 |
comparison
equal
deleted
inserted
replaced
374:4ebeb1a5388b | 375:a300bb07d72d |
---|---|
5832 EOF | 5832 EOF |
5833 } | 5833 } |
5834 | 5834 |
5835 install_pp="$blddir/lib-src/installexe.sh" | 5835 install_pp="$blddir/lib-src/installexe.sh" |
5836 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomctl32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomctl32\" to \$libs_system"; fi | 5836 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomctl32" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomctl32\" to \$libs_system"; fi |
5837 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi | |
5837 if test "$window_system" != x11; then | 5838 if test "$window_system" != x11; then |
5838 window_system=msw | 5839 window_system=msw |
5839 test "$with_scrollbars" != "no" && with_scrollbars=msw \ | 5840 test "$with_scrollbars" != "no" && with_scrollbars=msw \ |
5840 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then | 5841 && extra_objs="$extra_objs scrollbar-msw.o" && if test "$extra_verbose" = "yes"; then |
5841 echo " xemacs will be linked with \"scrollbar-msw.o\"" | 5842 echo " xemacs will be linked with \"scrollbar-msw.o\"" |
5865 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 5866 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
5866 echo " xemacs will be linked with \"dialog-msw.o\"" | 5867 echo " xemacs will be linked with \"dialog-msw.o\"" |
5867 fi | 5868 fi |
5868 fi | 5869 fi |
5869 cat > conftest.$ac_ext <<EOF | 5870 cat > conftest.$ac_ext <<EOF |
5870 #line 5871 "configure" | 5871 #line 5872 "configure" |
5871 #include "confdefs.h" | 5872 #include "confdefs.h" |
5872 #include <fcntl.h> | 5873 #include <fcntl.h> |
5873 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 5874 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
5874 EOF | 5875 EOF |
5875 if { (eval echo configure:5876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5876 if { (eval echo configure:5877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5876 then | 5877 then |
5877 { test "$extra_verbose" = "yes" && cat << \EOF | 5878 { test "$extra_verbose" = "yes" && cat << \EOF |
5878 Defining HAVE_MSG_SELECT | 5879 Defining HAVE_MSG_SELECT |
5879 EOF | 5880 EOF |
5880 cat >> confdefs.h <<\EOF | 5881 cat >> confdefs.h <<\EOF |
5949 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 5950 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
5950 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 5951 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
5951 esac | 5952 esac |
5952 | 5953 |
5953 echo "checking for session-management option" 1>&6 | 5954 echo "checking for session-management option" 1>&6 |
5954 echo "configure:5955: checking for session-management option" >&5; | 5955 echo "configure:5956: checking for session-management option" >&5; |
5955 if test "$with_session" != "no"; then | 5956 if test "$with_session" != "no"; then |
5956 { test "$extra_verbose" = "yes" && cat << \EOF | 5957 { test "$extra_verbose" = "yes" && cat << \EOF |
5957 Defining HAVE_SESSION | 5958 Defining HAVE_SESSION |
5958 EOF | 5959 EOF |
5959 cat >> confdefs.h <<\EOF | 5960 cat >> confdefs.h <<\EOF |
5964 fi | 5965 fi |
5965 | 5966 |
5966 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 5967 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
5967 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 5968 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
5968 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 5969 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
5969 echo "configure:5970: checking for X11/Xauth.h" >&5 | 5970 echo "configure:5971: checking for X11/Xauth.h" >&5 |
5970 | 5971 |
5971 cat > conftest.$ac_ext <<EOF | 5972 cat > conftest.$ac_ext <<EOF |
5972 #line 5973 "configure" | 5973 #line 5974 "configure" |
5973 #include "confdefs.h" | 5974 #include "confdefs.h" |
5974 #include <X11/Xauth.h> | 5975 #include <X11/Xauth.h> |
5975 EOF | 5976 EOF |
5976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5977 { (eval echo configure:5978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5978 { (eval echo configure:5979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5978 ac_err=`grep -v '^ *+' conftest.out` | 5979 ac_err=`grep -v '^ *+' conftest.out` |
5979 if test -z "$ac_err"; then | 5980 if test -z "$ac_err"; then |
5980 rm -rf conftest* | 5981 rm -rf conftest* |
5981 eval "ac_cv_header_$ac_safe=yes" | 5982 eval "ac_cv_header_$ac_safe=yes" |
5982 else | 5983 else |
5995 with_xauth=no | 5996 with_xauth=no |
5996 fi | 5997 fi |
5997 } | 5998 } |
5998 test -z "$with_xauth" && { | 5999 test -z "$with_xauth" && { |
5999 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6000 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6000 echo "configure:6001: checking for XauGetAuthByAddr in -lXau" >&5 | 6001 echo "configure:6002: checking for XauGetAuthByAddr in -lXau" >&5 |
6001 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6002 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6002 | 6003 |
6003 xe_check_libs=" -lXau " | 6004 xe_check_libs=" -lXau " |
6004 cat > conftest.$ac_ext <<EOF | 6005 cat > conftest.$ac_ext <<EOF |
6005 #line 6006 "configure" | 6006 #line 6007 "configure" |
6006 #include "confdefs.h" | 6007 #include "confdefs.h" |
6007 /* Override any gcc2 internal prototype to avoid an error. */ | 6008 /* Override any gcc2 internal prototype to avoid an error. */ |
6008 /* We use char because int might match the return type of a gcc2 | 6009 /* We use char because int might match the return type of a gcc2 |
6009 builtin and then its argument prototype would still apply. */ | 6010 builtin and then its argument prototype would still apply. */ |
6010 char XauGetAuthByAddr(); | 6011 char XauGetAuthByAddr(); |
6011 | 6012 |
6012 int main() { | 6013 int main() { |
6013 XauGetAuthByAddr() | 6014 XauGetAuthByAddr() |
6014 ; return 0; } | 6015 ; return 0; } |
6015 EOF | 6016 EOF |
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6017 if { (eval echo configure:6018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6017 rm -rf conftest* | 6018 rm -rf conftest* |
6018 eval "ac_cv_lib_$ac_lib_var=yes" | 6019 eval "ac_cv_lib_$ac_lib_var=yes" |
6019 else | 6020 else |
6020 echo "configure: failed program was:" >&5 | 6021 echo "configure: failed program was:" >&5 |
6021 cat conftest.$ac_ext >&5 | 6022 cat conftest.$ac_ext >&5 |
6056 | 6057 |
6057 if test "$with_tooltalk" != "no" ; then | 6058 if test "$with_tooltalk" != "no" ; then |
6058 for dir in "" "Tt/" "desktop/" ; do | 6059 for dir in "" "Tt/" "desktop/" ; do |
6059 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6060 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6060 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6061 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6061 echo "configure:6062: checking for ${dir}tt_c.h" >&5 | 6062 echo "configure:6063: checking for ${dir}tt_c.h" >&5 |
6062 | 6063 |
6063 cat > conftest.$ac_ext <<EOF | 6064 cat > conftest.$ac_ext <<EOF |
6064 #line 6065 "configure" | 6065 #line 6066 "configure" |
6065 #include "confdefs.h" | 6066 #include "confdefs.h" |
6066 #include <${dir}tt_c.h> | 6067 #include <${dir}tt_c.h> |
6067 EOF | 6068 EOF |
6068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6069 { (eval echo configure:6070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6070 { (eval echo configure:6071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6070 ac_err=`grep -v '^ *+' conftest.out` | 6071 ac_err=`grep -v '^ *+' conftest.out` |
6071 if test -z "$ac_err"; then | 6072 if test -z "$ac_err"; then |
6072 rm -rf conftest* | 6073 rm -rf conftest* |
6073 eval "ac_cv_header_$ac_safe=yes" | 6074 eval "ac_cv_header_$ac_safe=yes" |
6074 else | 6075 else |
6100 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6101 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6101 | 6102 |
6102 xe_msg_checking="for tt_message_create in -ltt" | 6103 xe_msg_checking="for tt_message_create in -ltt" |
6103 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6104 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6104 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6105 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6105 echo "configure:6106: checking "$xe_msg_checking"" >&5 | 6106 echo "configure:6107: checking "$xe_msg_checking"" >&5 |
6106 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6107 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6107 | 6108 |
6108 xe_check_libs=" -ltt $extra_libs" | 6109 xe_check_libs=" -ltt $extra_libs" |
6109 cat > conftest.$ac_ext <<EOF | 6110 cat > conftest.$ac_ext <<EOF |
6110 #line 6111 "configure" | 6111 #line 6112 "configure" |
6111 #include "confdefs.h" | 6112 #include "confdefs.h" |
6112 /* Override any gcc2 internal prototype to avoid an error. */ | 6113 /* Override any gcc2 internal prototype to avoid an error. */ |
6113 /* We use char because int might match the return type of a gcc2 | 6114 /* We use char because int might match the return type of a gcc2 |
6114 builtin and then its argument prototype would still apply. */ | 6115 builtin and then its argument prototype would still apply. */ |
6115 char tt_message_create(); | 6116 char tt_message_create(); |
6116 | 6117 |
6117 int main() { | 6118 int main() { |
6118 tt_message_create() | 6119 tt_message_create() |
6119 ; return 0; } | 6120 ; return 0; } |
6120 EOF | 6121 EOF |
6121 if { (eval echo configure:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6122 if { (eval echo configure:6123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6122 rm -rf conftest* | 6123 rm -rf conftest* |
6123 eval "ac_cv_lib_$ac_lib_var=yes" | 6124 eval "ac_cv_lib_$ac_lib_var=yes" |
6124 else | 6125 else |
6125 echo "configure: failed program was:" >&5 | 6126 echo "configure: failed program was:" >&5 |
6126 cat conftest.$ac_ext >&5 | 6127 cat conftest.$ac_ext >&5 |
6173 fi | 6174 fi |
6174 fi | 6175 fi |
6175 | 6176 |
6176 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6177 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6177 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6178 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6178 echo "configure:6179: checking for Dt/Dt.h" >&5 | 6179 echo "configure:6180: checking for Dt/Dt.h" >&5 |
6179 | 6180 |
6180 cat > conftest.$ac_ext <<EOF | 6181 cat > conftest.$ac_ext <<EOF |
6181 #line 6182 "configure" | 6182 #line 6183 "configure" |
6182 #include "confdefs.h" | 6183 #include "confdefs.h" |
6183 #include <Dt/Dt.h> | 6184 #include <Dt/Dt.h> |
6184 EOF | 6185 EOF |
6185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6186 { (eval echo configure:6187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6187 { (eval echo configure:6188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6187 ac_err=`grep -v '^ *+' conftest.out` | 6188 ac_err=`grep -v '^ *+' conftest.out` |
6188 if test -z "$ac_err"; then | 6189 if test -z "$ac_err"; then |
6189 rm -rf conftest* | 6190 rm -rf conftest* |
6190 eval "ac_cv_header_$ac_safe=yes" | 6191 eval "ac_cv_header_$ac_safe=yes" |
6191 else | 6192 else |
6204 with_cde=no | 6205 with_cde=no |
6205 fi | 6206 fi |
6206 } | 6207 } |
6207 test -z "$with_cde" && { | 6208 test -z "$with_cde" && { |
6208 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6209 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6209 echo "configure:6210: checking for DtDndDragStart in -lDtSvc" >&5 | 6210 echo "configure:6211: checking for DtDndDragStart in -lDtSvc" >&5 |
6210 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6211 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6211 | 6212 |
6212 xe_check_libs=" -lDtSvc " | 6213 xe_check_libs=" -lDtSvc " |
6213 cat > conftest.$ac_ext <<EOF | 6214 cat > conftest.$ac_ext <<EOF |
6214 #line 6215 "configure" | 6215 #line 6216 "configure" |
6215 #include "confdefs.h" | 6216 #include "confdefs.h" |
6216 /* Override any gcc2 internal prototype to avoid an error. */ | 6217 /* Override any gcc2 internal prototype to avoid an error. */ |
6217 /* We use char because int might match the return type of a gcc2 | 6218 /* We use char because int might match the return type of a gcc2 |
6218 builtin and then its argument prototype would still apply. */ | 6219 builtin and then its argument prototype would still apply. */ |
6219 char DtDndDragStart(); | 6220 char DtDndDragStart(); |
6220 | 6221 |
6221 int main() { | 6222 int main() { |
6222 DtDndDragStart() | 6223 DtDndDragStart() |
6223 ; return 0; } | 6224 ; return 0; } |
6224 EOF | 6225 EOF |
6225 if { (eval echo configure:6226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6226 if { (eval echo configure:6227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6226 rm -rf conftest* | 6227 rm -rf conftest* |
6227 eval "ac_cv_lib_$ac_lib_var=yes" | 6228 eval "ac_cv_lib_$ac_lib_var=yes" |
6228 else | 6229 else |
6229 echo "configure: failed program was:" >&5 | 6230 echo "configure: failed program was:" >&5 |
6230 cat conftest.$ac_ext >&5 | 6231 cat conftest.$ac_ext >&5 |
6289 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6290 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6290 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6291 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6291 fi | 6292 fi |
6292 | 6293 |
6293 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6294 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6294 echo "configure:6295: checking if drag and drop API is needed" >&5 | 6295 echo "configure:6296: checking if drag and drop API is needed" >&5 |
6295 if test "$with_dragndrop" != "no" ; then | 6296 if test "$with_dragndrop" != "no" ; then |
6296 if test -n "$dragndrop_proto" ; then | 6297 if test -n "$dragndrop_proto" ; then |
6297 with_dragndrop=yes | 6298 with_dragndrop=yes |
6298 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6299 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6299 { test "$extra_verbose" = "yes" && cat << \EOF | 6300 { test "$extra_verbose" = "yes" && cat << \EOF |
6310 echo "$ac_t""no" 1>&6 | 6311 echo "$ac_t""no" 1>&6 |
6311 fi | 6312 fi |
6312 fi | 6313 fi |
6313 | 6314 |
6314 echo "checking for LDAP" 1>&6 | 6315 echo "checking for LDAP" 1>&6 |
6315 echo "configure:6316: checking for LDAP" >&5 | 6316 echo "configure:6317: checking for LDAP" >&5 |
6316 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6317 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6317 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6318 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6318 echo "configure:6319: checking for ldap.h" >&5 | 6319 echo "configure:6320: checking for ldap.h" >&5 |
6319 | 6320 |
6320 cat > conftest.$ac_ext <<EOF | 6321 cat > conftest.$ac_ext <<EOF |
6321 #line 6322 "configure" | 6322 #line 6323 "configure" |
6322 #include "confdefs.h" | 6323 #include "confdefs.h" |
6323 #include <ldap.h> | 6324 #include <ldap.h> |
6324 EOF | 6325 EOF |
6325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6326 { (eval echo configure:6327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6327 { (eval echo configure:6328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6327 ac_err=`grep -v '^ *+' conftest.out` | 6328 ac_err=`grep -v '^ *+' conftest.out` |
6328 if test -z "$ac_err"; then | 6329 if test -z "$ac_err"; then |
6329 rm -rf conftest* | 6330 rm -rf conftest* |
6330 eval "ac_cv_header_$ac_safe=yes" | 6331 eval "ac_cv_header_$ac_safe=yes" |
6331 else | 6332 else |
6344 with_ldap=no | 6345 with_ldap=no |
6345 fi | 6346 fi |
6346 } | 6347 } |
6347 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6348 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6348 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6349 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6349 echo "configure:6350: checking for lber.h" >&5 | 6350 echo "configure:6351: checking for lber.h" >&5 |
6350 | 6351 |
6351 cat > conftest.$ac_ext <<EOF | 6352 cat > conftest.$ac_ext <<EOF |
6352 #line 6353 "configure" | 6353 #line 6354 "configure" |
6353 #include "confdefs.h" | 6354 #include "confdefs.h" |
6354 #include <lber.h> | 6355 #include <lber.h> |
6355 EOF | 6356 EOF |
6356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6357 { (eval echo configure:6358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6358 { (eval echo configure:6359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6358 ac_err=`grep -v '^ *+' conftest.out` | 6359 ac_err=`grep -v '^ *+' conftest.out` |
6359 if test -z "$ac_err"; then | 6360 if test -z "$ac_err"; then |
6360 rm -rf conftest* | 6361 rm -rf conftest* |
6361 eval "ac_cv_header_$ac_safe=yes" | 6362 eval "ac_cv_header_$ac_safe=yes" |
6362 else | 6363 else |
6378 if test "$with_ldap" != "no"; then | 6379 if test "$with_ldap" != "no"; then |
6379 test -z "$with_umich_ldap" && { | 6380 test -z "$with_umich_ldap" && { |
6380 xe_msg_checking="for ldap_open in -lldap" | 6381 xe_msg_checking="for ldap_open in -lldap" |
6381 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6382 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6382 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6383 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6383 echo "configure:6384: checking "$xe_msg_checking"" >&5 | 6384 echo "configure:6385: checking "$xe_msg_checking"" >&5 |
6384 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6385 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6385 | 6386 |
6386 xe_check_libs=" -lldap -llber" | 6387 xe_check_libs=" -lldap -llber" |
6387 cat > conftest.$ac_ext <<EOF | 6388 cat > conftest.$ac_ext <<EOF |
6388 #line 6389 "configure" | 6389 #line 6390 "configure" |
6389 #include "confdefs.h" | 6390 #include "confdefs.h" |
6390 /* Override any gcc2 internal prototype to avoid an error. */ | 6391 /* Override any gcc2 internal prototype to avoid an error. */ |
6391 /* We use char because int might match the return type of a gcc2 | 6392 /* We use char because int might match the return type of a gcc2 |
6392 builtin and then its argument prototype would still apply. */ | 6393 builtin and then its argument prototype would still apply. */ |
6393 char ldap_open(); | 6394 char ldap_open(); |
6394 | 6395 |
6395 int main() { | 6396 int main() { |
6396 ldap_open() | 6397 ldap_open() |
6397 ; return 0; } | 6398 ; return 0; } |
6398 EOF | 6399 EOF |
6399 if { (eval echo configure:6400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6400 if { (eval echo configure:6401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6400 rm -rf conftest* | 6401 rm -rf conftest* |
6401 eval "ac_cv_lib_$ac_lib_var=yes" | 6402 eval "ac_cv_lib_$ac_lib_var=yes" |
6402 else | 6403 else |
6403 echo "configure: failed program was:" >&5 | 6404 echo "configure: failed program was:" >&5 |
6404 cat conftest.$ac_ext >&5 | 6405 cat conftest.$ac_ext >&5 |
6417 fi | 6418 fi |
6418 | 6419 |
6419 } | 6420 } |
6420 test "$with_umich_ldap" = "no" && { | 6421 test "$with_umich_ldap" = "no" && { |
6421 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 | 6422 echo $ac_n "checking for ldap_set_option in -lldap10""... $ac_c" 1>&6 |
6422 echo "configure:6423: checking for ldap_set_option in -lldap10" >&5 | 6423 echo "configure:6424: checking for ldap_set_option in -lldap10" >&5 |
6423 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` | 6424 ac_lib_var=`echo ldap10'_'ldap_set_option | sed 'y%./+-%__p_%'` |
6424 | 6425 |
6425 xe_check_libs=" -lldap10 " | 6426 xe_check_libs=" -lldap10 " |
6426 cat > conftest.$ac_ext <<EOF | 6427 cat > conftest.$ac_ext <<EOF |
6427 #line 6428 "configure" | 6428 #line 6429 "configure" |
6428 #include "confdefs.h" | 6429 #include "confdefs.h" |
6429 /* Override any gcc2 internal prototype to avoid an error. */ | 6430 /* Override any gcc2 internal prototype to avoid an error. */ |
6430 /* We use char because int might match the return type of a gcc2 | 6431 /* We use char because int might match the return type of a gcc2 |
6431 builtin and then its argument prototype would still apply. */ | 6432 builtin and then its argument prototype would still apply. */ |
6432 char ldap_set_option(); | 6433 char ldap_set_option(); |
6433 | 6434 |
6434 int main() { | 6435 int main() { |
6435 ldap_set_option() | 6436 ldap_set_option() |
6436 ; return 0; } | 6437 ; return 0; } |
6437 EOF | 6438 EOF |
6438 if { (eval echo configure:6439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6439 if { (eval echo configure:6440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6439 rm -rf conftest* | 6440 rm -rf conftest* |
6440 eval "ac_cv_lib_$ac_lib_var=yes" | 6441 eval "ac_cv_lib_$ac_lib_var=yes" |
6441 else | 6442 else |
6442 echo "configure: failed program was:" >&5 | 6443 echo "configure: failed program was:" >&5 |
6443 cat conftest.$ac_ext >&5 | 6444 cat conftest.$ac_ext >&5 |
6497 fi | 6498 fi |
6498 | 6499 |
6499 | 6500 |
6500 if test "$window_system" != "none"; then | 6501 if test "$window_system" != "none"; then |
6501 echo "checking for graphics libraries" 1>&6 | 6502 echo "checking for graphics libraries" 1>&6 |
6502 echo "configure:6503: checking for graphics libraries" >&5 | 6503 echo "configure:6504: checking for graphics libraries" >&5 |
6503 | 6504 |
6504 xpm_problem="" | 6505 xpm_problem="" |
6505 if test -z "$with_xpm"; then | 6506 if test -z "$with_xpm"; then |
6506 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6507 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6507 echo "configure:6508: checking for Xpm - no older than 3.4f" >&5 | 6508 echo "configure:6509: checking for Xpm - no older than 3.4f" >&5 |
6508 xe_check_libs=-lXpm | 6509 xe_check_libs=-lXpm |
6509 cat > conftest.$ac_ext <<EOF | 6510 cat > conftest.$ac_ext <<EOF |
6510 #line 6511 "configure" | 6511 #line 6512 "configure" |
6511 #include "confdefs.h" | 6512 #include "confdefs.h" |
6512 #include <X11/xpm.h> | 6513 #include <X11/xpm.h> |
6513 int main(int c, char **v) { | 6514 int main(int c, char **v) { |
6514 return c == 1 ? 0 : | 6515 return c == 1 ? 0 : |
6515 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6516 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6516 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6517 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6517 EOF | 6518 EOF |
6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6519 if { (eval echo configure:6520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6519 then | 6520 then |
6520 ./conftest dummy_arg; xpm_status=$?; | 6521 ./conftest dummy_arg; xpm_status=$?; |
6521 if test "$xpm_status" = "0"; then | 6522 if test "$xpm_status" = "0"; then |
6522 with_xpm=yes; | 6523 with_xpm=yes; |
6523 else | 6524 else |
6555 EOF | 6556 EOF |
6556 } | 6557 } |
6557 | 6558 |
6558 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6559 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6559 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6560 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6560 echo "configure:6561: checking for \"FOR_MSW\" xpm" >&5 | 6561 echo "configure:6562: checking for \"FOR_MSW\" xpm" >&5 |
6561 xe_check_libs=-lXpm | 6562 xe_check_libs=-lXpm |
6562 cat > conftest.$ac_ext <<EOF | 6563 cat > conftest.$ac_ext <<EOF |
6563 #line 6564 "configure" | 6564 #line 6565 "configure" |
6564 #include "confdefs.h" | 6565 #include "confdefs.h" |
6565 | 6566 |
6566 int main() { | 6567 int main() { |
6567 XpmCreatePixmapFromData() | 6568 XpmCreatePixmapFromData() |
6568 ; return 0; } | 6569 ; return 0; } |
6569 EOF | 6570 EOF |
6570 if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6571 if { (eval echo configure:6572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6571 rm -rf conftest* | 6572 rm -rf conftest* |
6572 xpm_for_msw=no | 6573 xpm_for_msw=no |
6573 else | 6574 else |
6574 echo "configure: failed program was:" >&5 | 6575 echo "configure: failed program was:" >&5 |
6575 cat conftest.$ac_ext >&5 | 6576 cat conftest.$ac_ext >&5 |
6607 fi | 6608 fi |
6608 | 6609 |
6609 if test "$with_png $with_tiff" != "no no"; then | 6610 if test "$with_png $with_tiff" != "no no"; then |
6610 | 6611 |
6611 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6612 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6612 echo "configure:6613: checking for inflate in -lc" >&5 | 6613 echo "configure:6614: checking for inflate in -lc" >&5 |
6613 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6614 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6614 | 6615 |
6615 xe_check_libs=" -lc " | 6616 xe_check_libs=" -lc " |
6616 cat > conftest.$ac_ext <<EOF | 6617 cat > conftest.$ac_ext <<EOF |
6617 #line 6618 "configure" | 6618 #line 6619 "configure" |
6618 #include "confdefs.h" | 6619 #include "confdefs.h" |
6619 /* Override any gcc2 internal prototype to avoid an error. */ | 6620 /* Override any gcc2 internal prototype to avoid an error. */ |
6620 /* We use char because int might match the return type of a gcc2 | 6621 /* We use char because int might match the return type of a gcc2 |
6621 builtin and then its argument prototype would still apply. */ | 6622 builtin and then its argument prototype would still apply. */ |
6622 char inflate(); | 6623 char inflate(); |
6623 | 6624 |
6624 int main() { | 6625 int main() { |
6625 inflate() | 6626 inflate() |
6626 ; return 0; } | 6627 ; return 0; } |
6627 EOF | 6628 EOF |
6628 if { (eval echo configure:6629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6629 if { (eval echo configure:6630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6629 rm -rf conftest* | 6630 rm -rf conftest* |
6630 eval "ac_cv_lib_$ac_lib_var=yes" | 6631 eval "ac_cv_lib_$ac_lib_var=yes" |
6631 else | 6632 else |
6632 echo "configure: failed program was:" >&5 | 6633 echo "configure: failed program was:" >&5 |
6633 cat conftest.$ac_ext >&5 | 6634 cat conftest.$ac_ext >&5 |
6642 : | 6643 : |
6643 else | 6644 else |
6644 echo "$ac_t""no" 1>&6 | 6645 echo "$ac_t""no" 1>&6 |
6645 | 6646 |
6646 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6647 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6647 echo "configure:6648: checking for inflate in -lz" >&5 | 6648 echo "configure:6649: checking for inflate in -lz" >&5 |
6648 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6649 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6649 | 6650 |
6650 xe_check_libs=" -lz " | 6651 xe_check_libs=" -lz " |
6651 cat > conftest.$ac_ext <<EOF | 6652 cat > conftest.$ac_ext <<EOF |
6652 #line 6653 "configure" | 6653 #line 6654 "configure" |
6653 #include "confdefs.h" | 6654 #include "confdefs.h" |
6654 /* Override any gcc2 internal prototype to avoid an error. */ | 6655 /* Override any gcc2 internal prototype to avoid an error. */ |
6655 /* We use char because int might match the return type of a gcc2 | 6656 /* We use char because int might match the return type of a gcc2 |
6656 builtin and then its argument prototype would still apply. */ | 6657 builtin and then its argument prototype would still apply. */ |
6657 char inflate(); | 6658 char inflate(); |
6658 | 6659 |
6659 int main() { | 6660 int main() { |
6660 inflate() | 6661 inflate() |
6661 ; return 0; } | 6662 ; return 0; } |
6662 EOF | 6663 EOF |
6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6664 if { (eval echo configure:6665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6664 rm -rf conftest* | 6665 rm -rf conftest* |
6665 eval "ac_cv_lib_$ac_lib_var=yes" | 6666 eval "ac_cv_lib_$ac_lib_var=yes" |
6666 else | 6667 else |
6667 echo "configure: failed program was:" >&5 | 6668 echo "configure: failed program was:" >&5 |
6668 cat conftest.$ac_ext >&5 | 6669 cat conftest.$ac_ext >&5 |
6677 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6678 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6678 else | 6679 else |
6679 echo "$ac_t""no" 1>&6 | 6680 echo "$ac_t""no" 1>&6 |
6680 | 6681 |
6681 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6682 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6682 echo "configure:6683: checking for inflate in -lgz" >&5 | 6683 echo "configure:6684: checking for inflate in -lgz" >&5 |
6683 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6684 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6684 | 6685 |
6685 xe_check_libs=" -lgz " | 6686 xe_check_libs=" -lgz " |
6686 cat > conftest.$ac_ext <<EOF | 6687 cat > conftest.$ac_ext <<EOF |
6687 #line 6688 "configure" | 6688 #line 6689 "configure" |
6688 #include "confdefs.h" | 6689 #include "confdefs.h" |
6689 /* Override any gcc2 internal prototype to avoid an error. */ | 6690 /* Override any gcc2 internal prototype to avoid an error. */ |
6690 /* We use char because int might match the return type of a gcc2 | 6691 /* We use char because int might match the return type of a gcc2 |
6691 builtin and then its argument prototype would still apply. */ | 6692 builtin and then its argument prototype would still apply. */ |
6692 char inflate(); | 6693 char inflate(); |
6693 | 6694 |
6694 int main() { | 6695 int main() { |
6695 inflate() | 6696 inflate() |
6696 ; return 0; } | 6697 ; return 0; } |
6697 EOF | 6698 EOF |
6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6699 if { (eval echo configure:6700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6699 rm -rf conftest* | 6700 rm -rf conftest* |
6700 eval "ac_cv_lib_$ac_lib_var=yes" | 6701 eval "ac_cv_lib_$ac_lib_var=yes" |
6701 else | 6702 else |
6702 echo "configure: failed program was:" >&5 | 6703 echo "configure: failed program was:" >&5 |
6703 cat conftest.$ac_ext >&5 | 6704 cat conftest.$ac_ext >&5 |
6723 | 6724 |
6724 fi | 6725 fi |
6725 | 6726 |
6726 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6727 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6727 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6728 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6728 echo "configure:6729: checking for jpeglib.h" >&5 | 6729 echo "configure:6730: checking for jpeglib.h" >&5 |
6729 | 6730 |
6730 cat > conftest.$ac_ext <<EOF | 6731 cat > conftest.$ac_ext <<EOF |
6731 #line 6732 "configure" | 6732 #line 6733 "configure" |
6732 #include "confdefs.h" | 6733 #include "confdefs.h" |
6733 #include <jpeglib.h> | 6734 #include <jpeglib.h> |
6734 EOF | 6735 EOF |
6735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6736 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6736 { (eval echo configure:6737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6737 { (eval echo configure:6738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6737 ac_err=`grep -v '^ *+' conftest.out` | 6738 ac_err=`grep -v '^ *+' conftest.out` |
6738 if test -z "$ac_err"; then | 6739 if test -z "$ac_err"; then |
6739 rm -rf conftest* | 6740 rm -rf conftest* |
6740 eval "ac_cv_header_$ac_safe=yes" | 6741 eval "ac_cv_header_$ac_safe=yes" |
6741 else | 6742 else |
6754 with_jpeg=no | 6755 with_jpeg=no |
6755 fi | 6756 fi |
6756 } | 6757 } |
6757 test -z "$with_jpeg" && { | 6758 test -z "$with_jpeg" && { |
6758 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6759 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6759 echo "configure:6760: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6760 echo "configure:6761: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6760 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6761 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6761 | 6762 |
6762 xe_check_libs=" -ljpeg " | 6763 xe_check_libs=" -ljpeg " |
6763 cat > conftest.$ac_ext <<EOF | 6764 cat > conftest.$ac_ext <<EOF |
6764 #line 6765 "configure" | 6765 #line 6766 "configure" |
6765 #include "confdefs.h" | 6766 #include "confdefs.h" |
6766 /* Override any gcc2 internal prototype to avoid an error. */ | 6767 /* Override any gcc2 internal prototype to avoid an error. */ |
6767 /* We use char because int might match the return type of a gcc2 | 6768 /* We use char because int might match the return type of a gcc2 |
6768 builtin and then its argument prototype would still apply. */ | 6769 builtin and then its argument prototype would still apply. */ |
6769 char jpeg_destroy_decompress(); | 6770 char jpeg_destroy_decompress(); |
6770 | 6771 |
6771 int main() { | 6772 int main() { |
6772 jpeg_destroy_decompress() | 6773 jpeg_destroy_decompress() |
6773 ; return 0; } | 6774 ; return 0; } |
6774 EOF | 6775 EOF |
6775 if { (eval echo configure:6776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6776 if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6776 rm -rf conftest* | 6777 rm -rf conftest* |
6777 eval "ac_cv_lib_$ac_lib_var=yes" | 6778 eval "ac_cv_lib_$ac_lib_var=yes" |
6778 else | 6779 else |
6779 echo "configure: failed program was:" >&5 | 6780 echo "configure: failed program was:" >&5 |
6780 cat conftest.$ac_ext >&5 | 6781 cat conftest.$ac_ext >&5 |
6806 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6807 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6807 fi | 6808 fi |
6808 | 6809 |
6809 png_problem="" | 6810 png_problem="" |
6810 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6811 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6811 echo "configure:6812: checking for pow" >&5 | 6812 echo "configure:6813: checking for pow" >&5 |
6812 | 6813 |
6813 cat > conftest.$ac_ext <<EOF | 6814 cat > conftest.$ac_ext <<EOF |
6814 #line 6815 "configure" | 6815 #line 6816 "configure" |
6815 #include "confdefs.h" | 6816 #include "confdefs.h" |
6816 /* System header to define __stub macros and hopefully few prototypes, | 6817 /* System header to define __stub macros and hopefully few prototypes, |
6817 which can conflict with char pow(); below. */ | 6818 which can conflict with char pow(); below. */ |
6818 #include <assert.h> | 6819 #include <assert.h> |
6819 /* Override any gcc2 internal prototype to avoid an error. */ | 6820 /* Override any gcc2 internal prototype to avoid an error. */ |
6832 pow(); | 6833 pow(); |
6833 #endif | 6834 #endif |
6834 | 6835 |
6835 ; return 0; } | 6836 ; return 0; } |
6836 EOF | 6837 EOF |
6837 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6838 if { (eval echo configure:6839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6838 rm -rf conftest* | 6839 rm -rf conftest* |
6839 eval "ac_cv_func_pow=yes" | 6840 eval "ac_cv_func_pow=yes" |
6840 else | 6841 else |
6841 echo "configure: failed program was:" >&5 | 6842 echo "configure: failed program was:" >&5 |
6842 cat conftest.$ac_ext >&5 | 6843 cat conftest.$ac_ext >&5 |
6853 with_png=no | 6854 with_png=no |
6854 fi | 6855 fi |
6855 } | 6856 } |
6856 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 6857 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
6857 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 6858 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
6858 echo "configure:6859: checking for png.h" >&5 | 6859 echo "configure:6860: checking for png.h" >&5 |
6859 | 6860 |
6860 cat > conftest.$ac_ext <<EOF | 6861 cat > conftest.$ac_ext <<EOF |
6861 #line 6862 "configure" | 6862 #line 6863 "configure" |
6862 #include "confdefs.h" | 6863 #include "confdefs.h" |
6863 #include <png.h> | 6864 #include <png.h> |
6864 EOF | 6865 EOF |
6865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6866 { (eval echo configure:6867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6867 { (eval echo configure:6868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6867 ac_err=`grep -v '^ *+' conftest.out` | 6868 ac_err=`grep -v '^ *+' conftest.out` |
6868 if test -z "$ac_err"; then | 6869 if test -z "$ac_err"; then |
6869 rm -rf conftest* | 6870 rm -rf conftest* |
6870 eval "ac_cv_header_$ac_safe=yes" | 6871 eval "ac_cv_header_$ac_safe=yes" |
6871 else | 6872 else |
6884 with_png=no | 6885 with_png=no |
6885 fi | 6886 fi |
6886 } | 6887 } |
6887 test -z "$with_png" && { | 6888 test -z "$with_png" && { |
6888 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6889 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6889 echo "configure:6890: checking for png_read_image in -lpng" >&5 | 6890 echo "configure:6891: checking for png_read_image in -lpng" >&5 |
6890 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6891 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6891 | 6892 |
6892 xe_check_libs=" -lpng " | 6893 xe_check_libs=" -lpng " |
6893 cat > conftest.$ac_ext <<EOF | 6894 cat > conftest.$ac_ext <<EOF |
6894 #line 6895 "configure" | 6895 #line 6896 "configure" |
6895 #include "confdefs.h" | 6896 #include "confdefs.h" |
6896 /* Override any gcc2 internal prototype to avoid an error. */ | 6897 /* Override any gcc2 internal prototype to avoid an error. */ |
6897 /* We use char because int might match the return type of a gcc2 | 6898 /* We use char because int might match the return type of a gcc2 |
6898 builtin and then its argument prototype would still apply. */ | 6899 builtin and then its argument prototype would still apply. */ |
6899 char png_read_image(); | 6900 char png_read_image(); |
6900 | 6901 |
6901 int main() { | 6902 int main() { |
6902 png_read_image() | 6903 png_read_image() |
6903 ; return 0; } | 6904 ; return 0; } |
6904 EOF | 6905 EOF |
6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6906 if { (eval echo configure:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6906 rm -rf conftest* | 6907 rm -rf conftest* |
6907 eval "ac_cv_lib_$ac_lib_var=yes" | 6908 eval "ac_cv_lib_$ac_lib_var=yes" |
6908 else | 6909 else |
6909 echo "configure: failed program was:" >&5 | 6910 echo "configure: failed program was:" >&5 |
6910 cat conftest.$ac_ext >&5 | 6911 cat conftest.$ac_ext >&5 |
6923 fi | 6924 fi |
6924 | 6925 |
6925 } | 6926 } |
6926 if test -z "$with_png"; then | 6927 if test -z "$with_png"; then |
6927 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 6928 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
6928 echo "configure:6929: checking for workable png version information" >&5 | 6929 echo "configure:6930: checking for workable png version information" >&5 |
6929 xe_check_libs="-lpng -lz" | 6930 xe_check_libs="-lpng -lz" |
6930 cat > conftest.$ac_ext <<EOF | 6931 cat > conftest.$ac_ext <<EOF |
6931 #line 6932 "configure" | 6932 #line 6933 "configure" |
6932 #include "confdefs.h" | 6933 #include "confdefs.h" |
6933 #include <png.h> | 6934 #include <png.h> |
6934 int main(int c, char **v) { | 6935 int main(int c, char **v) { |
6935 if (c == 1) return 0; | 6936 if (c == 1) return 0; |
6936 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 6937 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
6937 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 6938 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
6938 EOF | 6939 EOF |
6939 if { (eval echo configure:6940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6940 if { (eval echo configure:6941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6940 then | 6941 then |
6941 ./conftest dummy_arg; png_status=$?; | 6942 ./conftest dummy_arg; png_status=$?; |
6942 if test "$png_status" = "0"; then | 6943 if test "$png_status" = "0"; then |
6943 with_png=yes; | 6944 with_png=yes; |
6944 else | 6945 else |
6977 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6978 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6978 fi | 6979 fi |
6979 | 6980 |
6980 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6981 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6981 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6982 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6982 echo "configure:6983: checking for tiffio.h" >&5 | 6983 echo "configure:6984: checking for tiffio.h" >&5 |
6983 | 6984 |
6984 cat > conftest.$ac_ext <<EOF | 6985 cat > conftest.$ac_ext <<EOF |
6985 #line 6986 "configure" | 6986 #line 6987 "configure" |
6986 #include "confdefs.h" | 6987 #include "confdefs.h" |
6987 #include <tiffio.h> | 6988 #include <tiffio.h> |
6988 EOF | 6989 EOF |
6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6991 { (eval echo configure:6992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6991 ac_err=`grep -v '^ *+' conftest.out` | 6992 ac_err=`grep -v '^ *+' conftest.out` |
6992 if test -z "$ac_err"; then | 6993 if test -z "$ac_err"; then |
6993 rm -rf conftest* | 6994 rm -rf conftest* |
6994 eval "ac_cv_header_$ac_safe=yes" | 6995 eval "ac_cv_header_$ac_safe=yes" |
6995 else | 6996 else |
7008 with_tiff=no | 7009 with_tiff=no |
7009 fi | 7010 fi |
7010 } | 7011 } |
7011 test -z "$with_tiff" && { | 7012 test -z "$with_tiff" && { |
7012 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7013 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7013 echo "configure:7014: checking for TIFFClientOpen in -ltiff" >&5 | 7014 echo "configure:7015: checking for TIFFClientOpen in -ltiff" >&5 |
7014 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7015 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7015 | 7016 |
7016 xe_check_libs=" -ltiff " | 7017 xe_check_libs=" -ltiff " |
7017 cat > conftest.$ac_ext <<EOF | 7018 cat > conftest.$ac_ext <<EOF |
7018 #line 7019 "configure" | 7019 #line 7020 "configure" |
7019 #include "confdefs.h" | 7020 #include "confdefs.h" |
7020 /* Override any gcc2 internal prototype to avoid an error. */ | 7021 /* Override any gcc2 internal prototype to avoid an error. */ |
7021 /* We use char because int might match the return type of a gcc2 | 7022 /* We use char because int might match the return type of a gcc2 |
7022 builtin and then its argument prototype would still apply. */ | 7023 builtin and then its argument prototype would still apply. */ |
7023 char TIFFClientOpen(); | 7024 char TIFFClientOpen(); |
7024 | 7025 |
7025 int main() { | 7026 int main() { |
7026 TIFFClientOpen() | 7027 TIFFClientOpen() |
7027 ; return 0; } | 7028 ; return 0; } |
7028 EOF | 7029 EOF |
7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7030 rm -rf conftest* | 7031 rm -rf conftest* |
7031 eval "ac_cv_lib_$ac_lib_var=yes" | 7032 eval "ac_cv_lib_$ac_lib_var=yes" |
7032 else | 7033 else |
7033 echo "configure: failed program was:" >&5 | 7034 echo "configure: failed program was:" >&5 |
7034 cat conftest.$ac_ext >&5 | 7035 cat conftest.$ac_ext >&5 |
7063 | 7064 |
7064 | 7065 |
7065 if test "$with_x11" = "yes"; then | 7066 if test "$with_x11" = "yes"; then |
7066 | 7067 |
7067 echo "checking for X11 graphics libraries" 1>&6 | 7068 echo "checking for X11 graphics libraries" 1>&6 |
7068 echo "configure:7069: checking for X11 graphics libraries" >&5 | 7069 echo "configure:7070: checking for X11 graphics libraries" >&5 |
7069 | 7070 |
7070 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7071 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7071 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7072 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7072 echo "configure:7073: checking for compface.h" >&5 | 7073 echo "configure:7074: checking for compface.h" >&5 |
7073 | 7074 |
7074 cat > conftest.$ac_ext <<EOF | 7075 cat > conftest.$ac_ext <<EOF |
7075 #line 7076 "configure" | 7076 #line 7077 "configure" |
7076 #include "confdefs.h" | 7077 #include "confdefs.h" |
7077 #include <compface.h> | 7078 #include <compface.h> |
7078 EOF | 7079 EOF |
7079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7080 { (eval echo configure:7081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7081 { (eval echo configure:7082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7081 ac_err=`grep -v '^ *+' conftest.out` | 7082 ac_err=`grep -v '^ *+' conftest.out` |
7082 if test -z "$ac_err"; then | 7083 if test -z "$ac_err"; then |
7083 rm -rf conftest* | 7084 rm -rf conftest* |
7084 eval "ac_cv_header_$ac_safe=yes" | 7085 eval "ac_cv_header_$ac_safe=yes" |
7085 else | 7086 else |
7098 with_xface=no | 7099 with_xface=no |
7099 fi | 7100 fi |
7100 } | 7101 } |
7101 test -z "$with_xface" && { | 7102 test -z "$with_xface" && { |
7102 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7103 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7103 echo "configure:7104: checking for UnGenFace in -lcompface" >&5 | 7104 echo "configure:7105: checking for UnGenFace in -lcompface" >&5 |
7104 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7105 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7105 | 7106 |
7106 xe_check_libs=" -lcompface " | 7107 xe_check_libs=" -lcompface " |
7107 cat > conftest.$ac_ext <<EOF | 7108 cat > conftest.$ac_ext <<EOF |
7108 #line 7109 "configure" | 7109 #line 7110 "configure" |
7109 #include "confdefs.h" | 7110 #include "confdefs.h" |
7110 /* Override any gcc2 internal prototype to avoid an error. */ | 7111 /* Override any gcc2 internal prototype to avoid an error. */ |
7111 /* We use char because int might match the return type of a gcc2 | 7112 /* We use char because int might match the return type of a gcc2 |
7112 builtin and then its argument prototype would still apply. */ | 7113 builtin and then its argument prototype would still apply. */ |
7113 char UnGenFace(); | 7114 char UnGenFace(); |
7114 | 7115 |
7115 int main() { | 7116 int main() { |
7116 UnGenFace() | 7117 UnGenFace() |
7117 ; return 0; } | 7118 ; return 0; } |
7118 EOF | 7119 EOF |
7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7120 rm -rf conftest* | 7121 rm -rf conftest* |
7121 eval "ac_cv_lib_$ac_lib_var=yes" | 7122 eval "ac_cv_lib_$ac_lib_var=yes" |
7122 else | 7123 else |
7123 echo "configure: failed program was:" >&5 | 7124 echo "configure: failed program was:" >&5 |
7124 cat conftest.$ac_ext >&5 | 7125 cat conftest.$ac_ext >&5 |
7150 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7151 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7151 fi | 7152 fi |
7152 | 7153 |
7153 | 7154 |
7154 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7155 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7155 echo "configure:7156: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7156 echo "configure:7157: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7156 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7157 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7157 | 7158 |
7158 xe_check_libs=" -lXaw " | 7159 xe_check_libs=" -lXaw " |
7159 cat > conftest.$ac_ext <<EOF | 7160 cat > conftest.$ac_ext <<EOF |
7160 #line 7161 "configure" | 7161 #line 7162 "configure" |
7161 #include "confdefs.h" | 7162 #include "confdefs.h" |
7162 /* Override any gcc2 internal prototype to avoid an error. */ | 7163 /* Override any gcc2 internal prototype to avoid an error. */ |
7163 /* We use char because int might match the return type of a gcc2 | 7164 /* We use char because int might match the return type of a gcc2 |
7164 builtin and then its argument prototype would still apply. */ | 7165 builtin and then its argument prototype would still apply. */ |
7165 char XawScrollbarSetThumb(); | 7166 char XawScrollbarSetThumb(); |
7166 | 7167 |
7167 int main() { | 7168 int main() { |
7168 XawScrollbarSetThumb() | 7169 XawScrollbarSetThumb() |
7169 ; return 0; } | 7170 ; return 0; } |
7170 EOF | 7171 EOF |
7171 if { (eval echo configure:7172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7172 if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7172 rm -rf conftest* | 7173 rm -rf conftest* |
7173 eval "ac_cv_lib_$ac_lib_var=yes" | 7174 eval "ac_cv_lib_$ac_lib_var=yes" |
7174 else | 7175 else |
7175 echo "configure: failed program was:" >&5 | 7176 echo "configure: failed program was:" >&5 |
7176 cat conftest.$ac_ext >&5 | 7177 cat conftest.$ac_ext >&5 |
7190 | 7191 |
7191 | 7192 |
7192 | 7193 |
7193 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7194 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7194 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7195 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7195 echo "configure:7196: checking for Xm/Xm.h" >&5 | 7196 echo "configure:7197: checking for Xm/Xm.h" >&5 |
7196 | 7197 |
7197 cat > conftest.$ac_ext <<EOF | 7198 cat > conftest.$ac_ext <<EOF |
7198 #line 7199 "configure" | 7199 #line 7200 "configure" |
7199 #include "confdefs.h" | 7200 #include "confdefs.h" |
7200 #include <Xm/Xm.h> | 7201 #include <Xm/Xm.h> |
7201 EOF | 7202 EOF |
7202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7203 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7203 { (eval echo configure:7204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7204 { (eval echo configure:7205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7204 ac_err=`grep -v '^ *+' conftest.out` | 7205 ac_err=`grep -v '^ *+' conftest.out` |
7205 if test -z "$ac_err"; then | 7206 if test -z "$ac_err"; then |
7206 rm -rf conftest* | 7207 rm -rf conftest* |
7207 eval "ac_cv_header_$ac_safe=yes" | 7208 eval "ac_cv_header_$ac_safe=yes" |
7208 else | 7209 else |
7215 rm -f conftest* | 7216 rm -f conftest* |
7216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7217 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7217 echo "$ac_t""yes" 1>&6 | 7218 echo "$ac_t""yes" 1>&6 |
7218 | 7219 |
7219 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7220 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7220 echo "configure:7221: checking for XmStringFree in -lXm" >&5 | 7221 echo "configure:7222: checking for XmStringFree in -lXm" >&5 |
7221 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7222 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7222 | 7223 |
7223 xe_check_libs=" -lXm " | 7224 xe_check_libs=" -lXm " |
7224 cat > conftest.$ac_ext <<EOF | 7225 cat > conftest.$ac_ext <<EOF |
7225 #line 7226 "configure" | 7226 #line 7227 "configure" |
7226 #include "confdefs.h" | 7227 #include "confdefs.h" |
7227 /* Override any gcc2 internal prototype to avoid an error. */ | 7228 /* Override any gcc2 internal prototype to avoid an error. */ |
7228 /* We use char because int might match the return type of a gcc2 | 7229 /* We use char because int might match the return type of a gcc2 |
7229 builtin and then its argument prototype would still apply. */ | 7230 builtin and then its argument prototype would still apply. */ |
7230 char XmStringFree(); | 7231 char XmStringFree(); |
7231 | 7232 |
7232 int main() { | 7233 int main() { |
7233 XmStringFree() | 7234 XmStringFree() |
7234 ; return 0; } | 7235 ; return 0; } |
7235 EOF | 7236 EOF |
7236 if { (eval echo configure:7237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7237 if { (eval echo configure:7238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7237 rm -rf conftest* | 7238 rm -rf conftest* |
7238 eval "ac_cv_lib_$ac_lib_var=yes" | 7239 eval "ac_cv_lib_$ac_lib_var=yes" |
7239 else | 7240 else |
7240 echo "configure: failed program was:" >&5 | 7241 echo "configure: failed program was:" >&5 |
7241 cat conftest.$ac_ext >&5 | 7242 cat conftest.$ac_ext >&5 |
7260 fi | 7261 fi |
7261 | 7262 |
7262 | 7263 |
7263 if test "$have_motif" = "yes"; then | 7264 if test "$have_motif" = "yes"; then |
7264 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7265 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7265 echo "configure:7266: checking for Lesstif" >&5 | 7266 echo "configure:7267: checking for Lesstif" >&5 |
7266 cat > conftest.$ac_ext <<EOF | 7267 cat > conftest.$ac_ext <<EOF |
7267 #line 7268 "configure" | 7268 #line 7269 "configure" |
7268 #include "confdefs.h" | 7269 #include "confdefs.h" |
7269 #include <Xm/Xm.h> | 7270 #include <Xm/Xm.h> |
7270 #ifdef LESSTIF_VERSION | 7271 #ifdef LESSTIF_VERSION |
7271 yes | 7272 yes |
7272 #endif | 7273 #endif |
7546 fi | 7547 fi |
7547 fi | 7548 fi |
7548 | 7549 |
7549 if test "$with_mule" = "yes" ; then | 7550 if test "$with_mule" = "yes" ; then |
7550 echo "checking for Mule-related features" 1>&6 | 7551 echo "checking for Mule-related features" 1>&6 |
7551 echo "configure:7552: checking for Mule-related features" >&5 | 7552 echo "configure:7553: checking for Mule-related features" >&5 |
7552 { test "$extra_verbose" = "yes" && cat << \EOF | 7553 { test "$extra_verbose" = "yes" && cat << \EOF |
7553 Defining MULE | 7554 Defining MULE |
7554 EOF | 7555 EOF |
7555 cat >> confdefs.h <<\EOF | 7556 cat >> confdefs.h <<\EOF |
7556 #define MULE 1 | 7557 #define MULE 1 |
7571 | 7572 |
7572 for ac_hdr in libintl.h | 7573 for ac_hdr in libintl.h |
7573 do | 7574 do |
7574 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7575 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7576 echo "configure:7577: checking for $ac_hdr" >&5 | 7577 echo "configure:7578: checking for $ac_hdr" >&5 |
7577 | 7578 |
7578 cat > conftest.$ac_ext <<EOF | 7579 cat > conftest.$ac_ext <<EOF |
7579 #line 7580 "configure" | 7580 #line 7581 "configure" |
7580 #include "confdefs.h" | 7581 #include "confdefs.h" |
7581 #include <$ac_hdr> | 7582 #include <$ac_hdr> |
7582 EOF | 7583 EOF |
7583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7584 { (eval echo configure:7585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7585 { (eval echo configure:7586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7585 ac_err=`grep -v '^ *+' conftest.out` | 7586 ac_err=`grep -v '^ *+' conftest.out` |
7586 if test -z "$ac_err"; then | 7587 if test -z "$ac_err"; then |
7587 rm -rf conftest* | 7588 rm -rf conftest* |
7588 eval "ac_cv_header_$ac_safe=yes" | 7589 eval "ac_cv_header_$ac_safe=yes" |
7589 else | 7590 else |
7610 fi | 7611 fi |
7611 done | 7612 done |
7612 | 7613 |
7613 | 7614 |
7614 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7615 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7615 echo "configure:7616: checking for strerror in -lintl" >&5 | 7616 echo "configure:7617: checking for strerror in -lintl" >&5 |
7616 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7617 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7617 | 7618 |
7618 xe_check_libs=" -lintl " | 7619 xe_check_libs=" -lintl " |
7619 cat > conftest.$ac_ext <<EOF | 7620 cat > conftest.$ac_ext <<EOF |
7620 #line 7621 "configure" | 7621 #line 7622 "configure" |
7621 #include "confdefs.h" | 7622 #include "confdefs.h" |
7622 /* Override any gcc2 internal prototype to avoid an error. */ | 7623 /* Override any gcc2 internal prototype to avoid an error. */ |
7623 /* We use char because int might match the return type of a gcc2 | 7624 /* We use char because int might match the return type of a gcc2 |
7624 builtin and then its argument prototype would still apply. */ | 7625 builtin and then its argument prototype would still apply. */ |
7625 char strerror(); | 7626 char strerror(); |
7626 | 7627 |
7627 int main() { | 7628 int main() { |
7628 strerror() | 7629 strerror() |
7629 ; return 0; } | 7630 ; return 0; } |
7630 EOF | 7631 EOF |
7631 if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7632 if { (eval echo configure:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7632 rm -rf conftest* | 7633 rm -rf conftest* |
7633 eval "ac_cv_lib_$ac_lib_var=yes" | 7634 eval "ac_cv_lib_$ac_lib_var=yes" |
7634 else | 7635 else |
7635 echo "configure: failed program was:" >&5 | 7636 echo "configure: failed program was:" >&5 |
7636 cat conftest.$ac_ext >&5 | 7637 cat conftest.$ac_ext >&5 |
7659 fi | 7660 fi |
7660 | 7661 |
7661 | 7662 |
7662 | 7663 |
7663 echo "checking for Mule input methods" 1>&6 | 7664 echo "checking for Mule input methods" 1>&6 |
7664 echo "configure:7665: checking for Mule input methods" >&5 | 7665 echo "configure:7666: checking for Mule input methods" >&5 |
7665 case "$with_xim" in "" | "yes" ) | 7666 case "$with_xim" in "" | "yes" ) |
7666 echo "checking for XIM" 1>&6 | 7667 echo "checking for XIM" 1>&6 |
7667 echo "configure:7668: checking for XIM" >&5 | 7668 echo "configure:7669: checking for XIM" >&5 |
7668 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7669 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7669 else | 7670 else |
7670 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7671 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7671 echo "configure:7672: checking for XmImMbLookupString in -lXm" >&5 | 7672 echo "configure:7673: checking for XmImMbLookupString in -lXm" >&5 |
7672 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7673 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7673 | 7674 |
7674 xe_check_libs=" -lXm " | 7675 xe_check_libs=" -lXm " |
7675 cat > conftest.$ac_ext <<EOF | 7676 cat > conftest.$ac_ext <<EOF |
7676 #line 7677 "configure" | 7677 #line 7678 "configure" |
7677 #include "confdefs.h" | 7678 #include "confdefs.h" |
7678 /* Override any gcc2 internal prototype to avoid an error. */ | 7679 /* Override any gcc2 internal prototype to avoid an error. */ |
7679 /* We use char because int might match the return type of a gcc2 | 7680 /* We use char because int might match the return type of a gcc2 |
7680 builtin and then its argument prototype would still apply. */ | 7681 builtin and then its argument prototype would still apply. */ |
7681 char XmImMbLookupString(); | 7682 char XmImMbLookupString(); |
7682 | 7683 |
7683 int main() { | 7684 int main() { |
7684 XmImMbLookupString() | 7685 XmImMbLookupString() |
7685 ; return 0; } | 7686 ; return 0; } |
7686 EOF | 7687 EOF |
7687 if { (eval echo configure:7688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7688 if { (eval echo configure:7689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7688 rm -rf conftest* | 7689 rm -rf conftest* |
7689 eval "ac_cv_lib_$ac_lib_var=yes" | 7690 eval "ac_cv_lib_$ac_lib_var=yes" |
7690 else | 7691 else |
7691 echo "configure: failed program was:" >&5 | 7692 echo "configure: failed program was:" >&5 |
7692 cat conftest.$ac_ext >&5 | 7693 cat conftest.$ac_ext >&5 |
7748 fi | 7749 fi |
7749 fi | 7750 fi |
7750 | 7751 |
7751 if test "$with_xfs" = "yes" ; then | 7752 if test "$with_xfs" = "yes" ; then |
7752 echo "checking for XFontSet" 1>&6 | 7753 echo "checking for XFontSet" 1>&6 |
7753 echo "configure:7754: checking for XFontSet" >&5 | 7754 echo "configure:7755: checking for XFontSet" >&5 |
7754 | 7755 |
7755 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7756 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7756 echo "configure:7757: checking for XmbDrawString in -lX11" >&5 | 7757 echo "configure:7758: checking for XmbDrawString in -lX11" >&5 |
7757 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7758 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7758 | 7759 |
7759 xe_check_libs=" -lX11 " | 7760 xe_check_libs=" -lX11 " |
7760 cat > conftest.$ac_ext <<EOF | 7761 cat > conftest.$ac_ext <<EOF |
7761 #line 7762 "configure" | 7762 #line 7763 "configure" |
7762 #include "confdefs.h" | 7763 #include "confdefs.h" |
7763 /* Override any gcc2 internal prototype to avoid an error. */ | 7764 /* Override any gcc2 internal prototype to avoid an error. */ |
7764 /* We use char because int might match the return type of a gcc2 | 7765 /* We use char because int might match the return type of a gcc2 |
7765 builtin and then its argument prototype would still apply. */ | 7766 builtin and then its argument prototype would still apply. */ |
7766 char XmbDrawString(); | 7767 char XmbDrawString(); |
7767 | 7768 |
7768 int main() { | 7769 int main() { |
7769 XmbDrawString() | 7770 XmbDrawString() |
7770 ; return 0; } | 7771 ; return 0; } |
7771 EOF | 7772 EOF |
7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7773 rm -rf conftest* | 7774 rm -rf conftest* |
7774 eval "ac_cv_lib_$ac_lib_var=yes" | 7775 eval "ac_cv_lib_$ac_lib_var=yes" |
7775 else | 7776 else |
7776 echo "configure: failed program was:" >&5 | 7777 echo "configure: failed program was:" >&5 |
7777 cat conftest.$ac_ext >&5 | 7778 cat conftest.$ac_ext >&5 |
7807 fi | 7808 fi |
7808 fi | 7809 fi |
7809 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7810 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7810 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7811 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7811 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7812 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7812 echo "configure:7813: checking for wnn/jllib.h" >&5 | 7813 echo "configure:7814: checking for wnn/jllib.h" >&5 |
7813 | 7814 |
7814 cat > conftest.$ac_ext <<EOF | 7815 cat > conftest.$ac_ext <<EOF |
7815 #line 7816 "configure" | 7816 #line 7817 "configure" |
7816 #include "confdefs.h" | 7817 #include "confdefs.h" |
7817 #include <wnn/jllib.h> | 7818 #include <wnn/jllib.h> |
7818 EOF | 7819 EOF |
7819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7820 { (eval echo configure:7821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7821 { (eval echo configure:7822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7821 ac_err=`grep -v '^ *+' conftest.out` | 7822 ac_err=`grep -v '^ *+' conftest.out` |
7822 if test -z "$ac_err"; then | 7823 if test -z "$ac_err"; then |
7823 rm -rf conftest* | 7824 rm -rf conftest* |
7824 eval "ac_cv_header_$ac_safe=yes" | 7825 eval "ac_cv_header_$ac_safe=yes" |
7825 else | 7826 else |
7840 } | 7841 } |
7841 if test "$with_wnn" != "no"; then | 7842 if test "$with_wnn" != "no"; then |
7842 for ac_func in crypt | 7843 for ac_func in crypt |
7843 do | 7844 do |
7844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7845 echo "configure:7846: checking for $ac_func" >&5 | 7846 echo "configure:7847: checking for $ac_func" >&5 |
7846 | 7847 |
7847 cat > conftest.$ac_ext <<EOF | 7848 cat > conftest.$ac_ext <<EOF |
7848 #line 7849 "configure" | 7849 #line 7850 "configure" |
7849 #include "confdefs.h" | 7850 #include "confdefs.h" |
7850 /* System header to define __stub macros and hopefully few prototypes, | 7851 /* System header to define __stub macros and hopefully few prototypes, |
7851 which can conflict with char $ac_func(); below. */ | 7852 which can conflict with char $ac_func(); below. */ |
7852 #include <assert.h> | 7853 #include <assert.h> |
7853 /* Override any gcc2 internal prototype to avoid an error. */ | 7854 /* Override any gcc2 internal prototype to avoid an error. */ |
7866 $ac_func(); | 7867 $ac_func(); |
7867 #endif | 7868 #endif |
7868 | 7869 |
7869 ; return 0; } | 7870 ; return 0; } |
7870 EOF | 7871 EOF |
7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7872 if { (eval echo configure:7873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7872 rm -rf conftest* | 7873 rm -rf conftest* |
7873 eval "ac_cv_func_$ac_func=yes" | 7874 eval "ac_cv_func_$ac_func=yes" |
7874 else | 7875 else |
7875 echo "configure: failed program was:" >&5 | 7876 echo "configure: failed program was:" >&5 |
7876 cat conftest.$ac_ext >&5 | 7877 cat conftest.$ac_ext >&5 |
7895 fi | 7896 fi |
7896 done | 7897 done |
7897 | 7898 |
7898 test "$ac_cv_func_crypt" != "yes" && { | 7899 test "$ac_cv_func_crypt" != "yes" && { |
7899 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7900 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7900 echo "configure:7901: checking for crypt in -lcrypt" >&5 | 7901 echo "configure:7902: checking for crypt in -lcrypt" >&5 |
7901 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7902 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7902 | 7903 |
7903 xe_check_libs=" -lcrypt " | 7904 xe_check_libs=" -lcrypt " |
7904 cat > conftest.$ac_ext <<EOF | 7905 cat > conftest.$ac_ext <<EOF |
7905 #line 7906 "configure" | 7906 #line 7907 "configure" |
7906 #include "confdefs.h" | 7907 #include "confdefs.h" |
7907 /* Override any gcc2 internal prototype to avoid an error. */ | 7908 /* Override any gcc2 internal prototype to avoid an error. */ |
7908 /* We use char because int might match the return type of a gcc2 | 7909 /* We use char because int might match the return type of a gcc2 |
7909 builtin and then its argument prototype would still apply. */ | 7910 builtin and then its argument prototype would still apply. */ |
7910 char crypt(); | 7911 char crypt(); |
7911 | 7912 |
7912 int main() { | 7913 int main() { |
7913 crypt() | 7914 crypt() |
7914 ; return 0; } | 7915 ; return 0; } |
7915 EOF | 7916 EOF |
7916 if { (eval echo configure:7917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7917 if { (eval echo configure:7918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7917 rm -rf conftest* | 7918 rm -rf conftest* |
7918 eval "ac_cv_lib_$ac_lib_var=yes" | 7919 eval "ac_cv_lib_$ac_lib_var=yes" |
7919 else | 7920 else |
7920 echo "configure: failed program was:" >&5 | 7921 echo "configure: failed program was:" >&5 |
7921 cat conftest.$ac_ext >&5 | 7922 cat conftest.$ac_ext >&5 |
7945 | 7946 |
7946 } | 7947 } |
7947 fi | 7948 fi |
7948 test -z "$with_wnn" && { | 7949 test -z "$with_wnn" && { |
7949 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7950 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7950 echo "configure:7951: checking for jl_dic_list_e in -lwnn" >&5 | 7951 echo "configure:7952: checking for jl_dic_list_e in -lwnn" >&5 |
7951 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7952 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7952 | 7953 |
7953 xe_check_libs=" -lwnn " | 7954 xe_check_libs=" -lwnn " |
7954 cat > conftest.$ac_ext <<EOF | 7955 cat > conftest.$ac_ext <<EOF |
7955 #line 7956 "configure" | 7956 #line 7957 "configure" |
7956 #include "confdefs.h" | 7957 #include "confdefs.h" |
7957 /* Override any gcc2 internal prototype to avoid an error. */ | 7958 /* Override any gcc2 internal prototype to avoid an error. */ |
7958 /* We use char because int might match the return type of a gcc2 | 7959 /* We use char because int might match the return type of a gcc2 |
7959 builtin and then its argument prototype would still apply. */ | 7960 builtin and then its argument prototype would still apply. */ |
7960 char jl_dic_list_e(); | 7961 char jl_dic_list_e(); |
7961 | 7962 |
7962 int main() { | 7963 int main() { |
7963 jl_dic_list_e() | 7964 jl_dic_list_e() |
7964 ; return 0; } | 7965 ; return 0; } |
7965 EOF | 7966 EOF |
7966 if { (eval echo configure:7967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7967 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7967 rm -rf conftest* | 7968 rm -rf conftest* |
7968 eval "ac_cv_lib_$ac_lib_var=yes" | 7969 eval "ac_cv_lib_$ac_lib_var=yes" |
7969 else | 7970 else |
7970 echo "configure: failed program was:" >&5 | 7971 echo "configure: failed program was:" >&5 |
7971 cat conftest.$ac_ext >&5 | 7972 cat conftest.$ac_ext >&5 |
7999 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8000 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8000 fi | 8001 fi |
8001 if test "$with_wnn6" != "no"; then | 8002 if test "$with_wnn6" != "no"; then |
8002 | 8003 |
8003 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 8004 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
8004 echo "configure:8005: checking for jl_fi_dic_list in -lwnn" >&5 | 8005 echo "configure:8006: checking for jl_fi_dic_list in -lwnn" >&5 |
8005 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8006 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8006 | 8007 |
8007 xe_check_libs=" -lwnn " | 8008 xe_check_libs=" -lwnn " |
8008 cat > conftest.$ac_ext <<EOF | 8009 cat > conftest.$ac_ext <<EOF |
8009 #line 8010 "configure" | 8010 #line 8011 "configure" |
8010 #include "confdefs.h" | 8011 #include "confdefs.h" |
8011 /* Override any gcc2 internal prototype to avoid an error. */ | 8012 /* Override any gcc2 internal prototype to avoid an error. */ |
8012 /* We use char because int might match the return type of a gcc2 | 8013 /* We use char because int might match the return type of a gcc2 |
8013 builtin and then its argument prototype would still apply. */ | 8014 builtin and then its argument prototype would still apply. */ |
8014 char jl_fi_dic_list(); | 8015 char jl_fi_dic_list(); |
8015 | 8016 |
8016 int main() { | 8017 int main() { |
8017 jl_fi_dic_list() | 8018 jl_fi_dic_list() |
8018 ; return 0; } | 8019 ; return 0; } |
8019 EOF | 8020 EOF |
8020 if { (eval echo configure:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8021 if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8021 rm -rf conftest* | 8022 rm -rf conftest* |
8022 eval "ac_cv_lib_$ac_lib_var=yes" | 8023 eval "ac_cv_lib_$ac_lib_var=yes" |
8023 else | 8024 else |
8024 echo "configure: failed program was:" >&5 | 8025 echo "configure: failed program was:" >&5 |
8025 cat conftest.$ac_ext >&5 | 8026 cat conftest.$ac_ext >&5 |
8050 | 8051 |
8051 canna_includes_found=no | 8052 canna_includes_found=no |
8052 if test "$with_canna" != "no"; then | 8053 if test "$with_canna" != "no"; then |
8053 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8054 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8054 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8055 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8055 echo "configure:8056: checking for canna/jrkanji.h" >&5 | 8056 echo "configure:8057: checking for canna/jrkanji.h" >&5 |
8056 | 8057 |
8057 cat > conftest.$ac_ext <<EOF | 8058 cat > conftest.$ac_ext <<EOF |
8058 #line 8059 "configure" | 8059 #line 8060 "configure" |
8059 #include "confdefs.h" | 8060 #include "confdefs.h" |
8060 #include <canna/jrkanji.h> | 8061 #include <canna/jrkanji.h> |
8061 EOF | 8062 EOF |
8062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8063 { (eval echo configure:8064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8064 { (eval echo configure:8065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8064 ac_err=`grep -v '^ *+' conftest.out` | 8065 ac_err=`grep -v '^ *+' conftest.out` |
8065 if test -z "$ac_err"; then | 8066 if test -z "$ac_err"; then |
8066 rm -rf conftest* | 8067 rm -rf conftest* |
8067 eval "ac_cv_header_$ac_safe=yes" | 8068 eval "ac_cv_header_$ac_safe=yes" |
8068 else | 8069 else |
8085 -d "/usr/local/canna/include"; then | 8086 -d "/usr/local/canna/include"; then |
8086 save_c_switch_site="$c_switch_site" | 8087 save_c_switch_site="$c_switch_site" |
8087 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8088 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8088 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8089 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8089 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8090 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8090 echo "configure:8091: checking for canna/jrkanji.h" >&5 | 8091 echo "configure:8092: checking for canna/jrkanji.h" >&5 |
8091 | 8092 |
8092 cat > conftest.$ac_ext <<EOF | 8093 cat > conftest.$ac_ext <<EOF |
8093 #line 8094 "configure" | 8094 #line 8095 "configure" |
8094 #include "confdefs.h" | 8095 #include "confdefs.h" |
8095 #include <canna/jrkanji.h> | 8096 #include <canna/jrkanji.h> |
8096 EOF | 8097 EOF |
8097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8098 { (eval echo configure:8099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8099 { (eval echo configure:8100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8099 ac_err=`grep -v '^ *+' conftest.out` | 8100 ac_err=`grep -v '^ *+' conftest.out` |
8100 if test -z "$ac_err"; then | 8101 if test -z "$ac_err"; then |
8101 rm -rf conftest* | 8102 rm -rf conftest* |
8102 eval "ac_cv_header_$ac_safe=yes" | 8103 eval "ac_cv_header_$ac_safe=yes" |
8103 else | 8104 else |
8121 fi | 8122 fi |
8122 fi | 8123 fi |
8123 | 8124 |
8124 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8125 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8125 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8126 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8126 echo "configure:8127: checking for canna/RK.h" >&5 | 8127 echo "configure:8128: checking for canna/RK.h" >&5 |
8127 | 8128 |
8128 cat > conftest.$ac_ext <<EOF | 8129 cat > conftest.$ac_ext <<EOF |
8129 #line 8130 "configure" | 8130 #line 8131 "configure" |
8130 #include "confdefs.h" | 8131 #include "confdefs.h" |
8131 #include <canna/RK.h> | 8132 #include <canna/RK.h> |
8132 EOF | 8133 EOF |
8133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8134 { (eval echo configure:8135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8135 { (eval echo configure:8136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8135 ac_err=`grep -v '^ *+' conftest.out` | 8136 ac_err=`grep -v '^ *+' conftest.out` |
8136 if test -z "$ac_err"; then | 8137 if test -z "$ac_err"; then |
8137 rm -rf conftest* | 8138 rm -rf conftest* |
8138 eval "ac_cv_header_$ac_safe=yes" | 8139 eval "ac_cv_header_$ac_safe=yes" |
8139 else | 8140 else |
8152 with_canna=no | 8153 with_canna=no |
8153 fi | 8154 fi |
8154 } | 8155 } |
8155 test -z "$with_canna" && { | 8156 test -z "$with_canna" && { |
8156 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8157 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8157 echo "configure:8158: checking for RkBgnBun in -lRKC" >&5 | 8158 echo "configure:8159: checking for RkBgnBun in -lRKC" >&5 |
8158 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8159 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8159 | 8160 |
8160 xe_check_libs=" -lRKC " | 8161 xe_check_libs=" -lRKC " |
8161 cat > conftest.$ac_ext <<EOF | 8162 cat > conftest.$ac_ext <<EOF |
8162 #line 8163 "configure" | 8163 #line 8164 "configure" |
8163 #include "confdefs.h" | 8164 #include "confdefs.h" |
8164 /* Override any gcc2 internal prototype to avoid an error. */ | 8165 /* Override any gcc2 internal prototype to avoid an error. */ |
8165 /* We use char because int might match the return type of a gcc2 | 8166 /* We use char because int might match the return type of a gcc2 |
8166 builtin and then its argument prototype would still apply. */ | 8167 builtin and then its argument prototype would still apply. */ |
8167 char RkBgnBun(); | 8168 char RkBgnBun(); |
8168 | 8169 |
8169 int main() { | 8170 int main() { |
8170 RkBgnBun() | 8171 RkBgnBun() |
8171 ; return 0; } | 8172 ; return 0; } |
8172 EOF | 8173 EOF |
8173 if { (eval echo configure:8174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8174 if { (eval echo configure:8175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8174 rm -rf conftest* | 8175 rm -rf conftest* |
8175 eval "ac_cv_lib_$ac_lib_var=yes" | 8176 eval "ac_cv_lib_$ac_lib_var=yes" |
8176 else | 8177 else |
8177 echo "configure: failed program was:" >&5 | 8178 echo "configure: failed program was:" >&5 |
8178 cat conftest.$ac_ext >&5 | 8179 cat conftest.$ac_ext >&5 |
8191 fi | 8192 fi |
8192 | 8193 |
8193 } | 8194 } |
8194 test -z "$with_canna" && { | 8195 test -z "$with_canna" && { |
8195 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8196 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8196 echo "configure:8197: checking for jrKanjiControl in -lcanna" >&5 | 8197 echo "configure:8198: checking for jrKanjiControl in -lcanna" >&5 |
8197 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8198 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8198 | 8199 |
8199 xe_check_libs=" -lcanna " | 8200 xe_check_libs=" -lcanna " |
8200 cat > conftest.$ac_ext <<EOF | 8201 cat > conftest.$ac_ext <<EOF |
8201 #line 8202 "configure" | 8202 #line 8203 "configure" |
8202 #include "confdefs.h" | 8203 #include "confdefs.h" |
8203 /* Override any gcc2 internal prototype to avoid an error. */ | 8204 /* Override any gcc2 internal prototype to avoid an error. */ |
8204 /* We use char because int might match the return type of a gcc2 | 8205 /* We use char because int might match the return type of a gcc2 |
8205 builtin and then its argument prototype would still apply. */ | 8206 builtin and then its argument prototype would still apply. */ |
8206 char jrKanjiControl(); | 8207 char jrKanjiControl(); |
8207 | 8208 |
8208 int main() { | 8209 int main() { |
8209 jrKanjiControl() | 8210 jrKanjiControl() |
8210 ; return 0; } | 8211 ; return 0; } |
8211 EOF | 8212 EOF |
8212 if { (eval echo configure:8213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8213 if { (eval echo configure:8214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8213 rm -rf conftest* | 8214 rm -rf conftest* |
8214 eval "ac_cv_lib_$ac_lib_var=yes" | 8215 eval "ac_cv_lib_$ac_lib_var=yes" |
8215 else | 8216 else |
8216 echo "configure: failed program was:" >&5 | 8217 echo "configure: failed program was:" >&5 |
8217 cat conftest.$ac_ext >&5 | 8218 cat conftest.$ac_ext >&5 |
8256 | 8257 |
8257 if test "$need_motif" = "yes" ; then | 8258 if test "$need_motif" = "yes" ; then |
8258 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8259 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8259 | 8260 |
8260 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8261 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8261 echo "configure:8262: checking for layout_object_getvalue in -li18n" >&5 | 8262 echo "configure:8263: checking for layout_object_getvalue in -li18n" >&5 |
8262 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8263 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8263 | 8264 |
8264 xe_check_libs=" -li18n " | 8265 xe_check_libs=" -li18n " |
8265 cat > conftest.$ac_ext <<EOF | 8266 cat > conftest.$ac_ext <<EOF |
8266 #line 8267 "configure" | 8267 #line 8268 "configure" |
8267 #include "confdefs.h" | 8268 #include "confdefs.h" |
8268 /* Override any gcc2 internal prototype to avoid an error. */ | 8269 /* Override any gcc2 internal prototype to avoid an error. */ |
8269 /* We use char because int might match the return type of a gcc2 | 8270 /* We use char because int might match the return type of a gcc2 |
8270 builtin and then its argument prototype would still apply. */ | 8271 builtin and then its argument prototype would still apply. */ |
8271 char layout_object_getvalue(); | 8272 char layout_object_getvalue(); |
8272 | 8273 |
8273 int main() { | 8274 int main() { |
8274 layout_object_getvalue() | 8275 layout_object_getvalue() |
8275 ; return 0; } | 8276 ; return 0; } |
8276 EOF | 8277 EOF |
8277 if { (eval echo configure:8278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8278 if { (eval echo configure:8279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8278 rm -rf conftest* | 8279 rm -rf conftest* |
8279 eval "ac_cv_lib_$ac_lib_var=yes" | 8280 eval "ac_cv_lib_$ac_lib_var=yes" |
8280 else | 8281 else |
8281 echo "configure: failed program was:" >&5 | 8282 echo "configure: failed program was:" >&5 |
8282 cat conftest.$ac_ext >&5 | 8283 cat conftest.$ac_ext >&5 |
8358 fi | 8359 fi |
8359 | 8360 |
8360 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8361 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8361 do | 8362 do |
8362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8363 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8363 echo "configure:8364: checking for $ac_func" >&5 | 8364 echo "configure:8365: checking for $ac_func" >&5 |
8364 | 8365 |
8365 cat > conftest.$ac_ext <<EOF | 8366 cat > conftest.$ac_ext <<EOF |
8366 #line 8367 "configure" | 8367 #line 8368 "configure" |
8367 #include "confdefs.h" | 8368 #include "confdefs.h" |
8368 /* System header to define __stub macros and hopefully few prototypes, | 8369 /* System header to define __stub macros and hopefully few prototypes, |
8369 which can conflict with char $ac_func(); below. */ | 8370 which can conflict with char $ac_func(); below. */ |
8370 #include <assert.h> | 8371 #include <assert.h> |
8371 /* Override any gcc2 internal prototype to avoid an error. */ | 8372 /* Override any gcc2 internal prototype to avoid an error. */ |
8384 $ac_func(); | 8385 $ac_func(); |
8385 #endif | 8386 #endif |
8386 | 8387 |
8387 ; return 0; } | 8388 ; return 0; } |
8388 EOF | 8389 EOF |
8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8390 if { (eval echo configure:8391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8390 rm -rf conftest* | 8391 rm -rf conftest* |
8391 eval "ac_cv_func_$ac_func=yes" | 8392 eval "ac_cv_func_$ac_func=yes" |
8392 else | 8393 else |
8393 echo "configure: failed program was:" >&5 | 8394 echo "configure: failed program was:" >&5 |
8394 cat conftest.$ac_ext >&5 | 8395 cat conftest.$ac_ext >&5 |
8421 fi ;; | 8422 fi ;; |
8422 * ) | 8423 * ) |
8423 for ac_func in realpath | 8424 for ac_func in realpath |
8424 do | 8425 do |
8425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8426 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8426 echo "configure:8427: checking for $ac_func" >&5 | 8427 echo "configure:8428: checking for $ac_func" >&5 |
8427 | 8428 |
8428 cat > conftest.$ac_ext <<EOF | 8429 cat > conftest.$ac_ext <<EOF |
8429 #line 8430 "configure" | 8430 #line 8431 "configure" |
8430 #include "confdefs.h" | 8431 #include "confdefs.h" |
8431 /* System header to define __stub macros and hopefully few prototypes, | 8432 /* System header to define __stub macros and hopefully few prototypes, |
8432 which can conflict with char $ac_func(); below. */ | 8433 which can conflict with char $ac_func(); below. */ |
8433 #include <assert.h> | 8434 #include <assert.h> |
8434 /* Override any gcc2 internal prototype to avoid an error. */ | 8435 /* Override any gcc2 internal prototype to avoid an error. */ |
8447 $ac_func(); | 8448 $ac_func(); |
8448 #endif | 8449 #endif |
8449 | 8450 |
8450 ; return 0; } | 8451 ; return 0; } |
8451 EOF | 8452 EOF |
8452 if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8453 if { (eval echo configure:8454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8453 rm -rf conftest* | 8454 rm -rf conftest* |
8454 eval "ac_cv_func_$ac_func=yes" | 8455 eval "ac_cv_func_$ac_func=yes" |
8455 else | 8456 else |
8456 echo "configure: failed program was:" >&5 | 8457 echo "configure: failed program was:" >&5 |
8457 cat conftest.$ac_ext >&5 | 8458 cat conftest.$ac_ext >&5 |
8480 echo " xemacs will be linked with \"realpath.o\"" | 8481 echo " xemacs will be linked with \"realpath.o\"" |
8481 fi ;; | 8482 fi ;; |
8482 esac | 8483 esac |
8483 | 8484 |
8484 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8485 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8485 echo "configure:8486: checking whether netdb declares h_errno" >&5 | 8486 echo "configure:8487: checking whether netdb declares h_errno" >&5 |
8486 cat > conftest.$ac_ext <<EOF | 8487 cat > conftest.$ac_ext <<EOF |
8487 #line 8488 "configure" | 8488 #line 8489 "configure" |
8488 #include "confdefs.h" | 8489 #include "confdefs.h" |
8489 #include <netdb.h> | 8490 #include <netdb.h> |
8490 int main() { | 8491 int main() { |
8491 return h_errno; | 8492 return h_errno; |
8492 ; return 0; } | 8493 ; return 0; } |
8493 EOF | 8494 EOF |
8494 if { (eval echo configure:8495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8495 if { (eval echo configure:8496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8495 rm -rf conftest* | 8496 rm -rf conftest* |
8496 echo "$ac_t""yes" 1>&6 | 8497 echo "$ac_t""yes" 1>&6 |
8497 { test "$extra_verbose" = "yes" && cat << \EOF | 8498 { test "$extra_verbose" = "yes" && cat << \EOF |
8498 Defining HAVE_H_ERRNO | 8499 Defining HAVE_H_ERRNO |
8499 EOF | 8500 EOF |
8509 echo "$ac_t""no" 1>&6 | 8510 echo "$ac_t""no" 1>&6 |
8510 fi | 8511 fi |
8511 rm -f conftest* | 8512 rm -f conftest* |
8512 | 8513 |
8513 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8514 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8514 echo "configure:8515: checking for sigsetjmp" >&5 | 8515 echo "configure:8516: checking for sigsetjmp" >&5 |
8515 cat > conftest.$ac_ext <<EOF | 8516 cat > conftest.$ac_ext <<EOF |
8516 #line 8517 "configure" | 8517 #line 8518 "configure" |
8517 #include "confdefs.h" | 8518 #include "confdefs.h" |
8518 #include <setjmp.h> | 8519 #include <setjmp.h> |
8519 int main() { | 8520 int main() { |
8520 sigjmp_buf bar; sigsetjmp (bar, 0); | 8521 sigjmp_buf bar; sigsetjmp (bar, 0); |
8521 ; return 0; } | 8522 ; return 0; } |
8522 EOF | 8523 EOF |
8523 if { (eval echo configure:8524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8524 if { (eval echo configure:8525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8524 rm -rf conftest* | 8525 rm -rf conftest* |
8525 echo "$ac_t""yes" 1>&6 | 8526 echo "$ac_t""yes" 1>&6 |
8526 { test "$extra_verbose" = "yes" && cat << \EOF | 8527 { test "$extra_verbose" = "yes" && cat << \EOF |
8527 Defining HAVE_SIGSETJMP | 8528 Defining HAVE_SIGSETJMP |
8528 EOF | 8529 EOF |
8538 echo "$ac_t""no" 1>&6 | 8539 echo "$ac_t""no" 1>&6 |
8539 fi | 8540 fi |
8540 rm -f conftest* | 8541 rm -f conftest* |
8541 | 8542 |
8542 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8543 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8543 echo "configure:8544: checking whether localtime caches TZ" >&5 | 8544 echo "configure:8545: checking whether localtime caches TZ" >&5 |
8544 | 8545 |
8545 if test "$ac_cv_func_tzset" = "yes"; then | 8546 if test "$ac_cv_func_tzset" = "yes"; then |
8546 cat > conftest.$ac_ext <<EOF | 8547 cat > conftest.$ac_ext <<EOF |
8547 #line 8548 "configure" | 8548 #line 8549 "configure" |
8548 #include "confdefs.h" | 8549 #include "confdefs.h" |
8549 #include <time.h> | 8550 #include <time.h> |
8550 #if STDC_HEADERS | 8551 #if STDC_HEADERS |
8551 # include <stdlib.h> | 8552 # include <stdlib.h> |
8552 #endif | 8553 #endif |
8577 if (localtime (&now)->tm_hour != hour_unset) | 8578 if (localtime (&now)->tm_hour != hour_unset) |
8578 exit (1); | 8579 exit (1); |
8579 exit (0); | 8580 exit (0); |
8580 } | 8581 } |
8581 EOF | 8582 EOF |
8582 if { (eval echo configure:8583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8583 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8583 then | 8584 then |
8584 emacs_cv_localtime_cache=no | 8585 emacs_cv_localtime_cache=no |
8585 else | 8586 else |
8586 conftest_rc="$?" | 8587 conftest_rc="$?" |
8587 echo "configure: failed program was:" >&5 | 8588 echo "configure: failed program was:" >&5 |
8607 | 8608 |
8608 fi | 8609 fi |
8609 | 8610 |
8610 if test "$HAVE_TIMEVAL" = "yes"; then | 8611 if test "$HAVE_TIMEVAL" = "yes"; then |
8611 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8612 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8612 echo "configure:8613: checking whether gettimeofday accepts one or two arguments" >&5 | 8613 echo "configure:8614: checking whether gettimeofday accepts one or two arguments" >&5 |
8613 cat > conftest.$ac_ext <<EOF | 8614 cat > conftest.$ac_ext <<EOF |
8614 #line 8615 "configure" | 8615 #line 8616 "configure" |
8615 #include "confdefs.h" | 8616 #include "confdefs.h" |
8616 | 8617 |
8617 #ifdef TIME_WITH_SYS_TIME | 8618 #ifdef TIME_WITH_SYS_TIME |
8618 #include <sys/time.h> | 8619 #include <sys/time.h> |
8619 #include <time.h> | 8620 #include <time.h> |
8631 struct timezone dummy; | 8632 struct timezone dummy; |
8632 gettimeofday (&time, &dummy); | 8633 gettimeofday (&time, &dummy); |
8633 | 8634 |
8634 ; return 0; } | 8635 ; return 0; } |
8635 EOF | 8636 EOF |
8636 if { (eval echo configure:8637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8637 if { (eval echo configure:8638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8637 rm -rf conftest* | 8638 rm -rf conftest* |
8638 echo "$ac_t""two" 1>&6 | 8639 echo "$ac_t""two" 1>&6 |
8639 else | 8640 else |
8640 echo "configure: failed program was:" >&5 | 8641 echo "configure: failed program was:" >&5 |
8641 cat conftest.$ac_ext >&5 | 8642 cat conftest.$ac_ext >&5 |
8653 rm -f conftest* | 8654 rm -f conftest* |
8654 fi | 8655 fi |
8655 | 8656 |
8656 | 8657 |
8657 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8658 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8658 echo "configure:8659: checking for inline" >&5 | 8659 echo "configure:8660: checking for inline" >&5 |
8659 | 8660 |
8660 ac_cv_c_inline=no | 8661 ac_cv_c_inline=no |
8661 for ac_kw in inline __inline__ __inline; do | 8662 for ac_kw in inline __inline__ __inline; do |
8662 cat > conftest.$ac_ext <<EOF | 8663 cat > conftest.$ac_ext <<EOF |
8663 #line 8664 "configure" | 8664 #line 8665 "configure" |
8664 #include "confdefs.h" | 8665 #include "confdefs.h" |
8665 | 8666 |
8666 int main() { | 8667 int main() { |
8667 } $ac_kw foo() { | 8668 } $ac_kw foo() { |
8668 ; return 0; } | 8669 ; return 0; } |
8669 EOF | 8670 EOF |
8670 if { (eval echo configure:8671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8671 if { (eval echo configure:8672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8671 rm -rf conftest* | 8672 rm -rf conftest* |
8672 ac_cv_c_inline=$ac_kw; break | 8673 ac_cv_c_inline=$ac_kw; break |
8673 else | 8674 else |
8674 echo "configure: failed program was:" >&5 | 8675 echo "configure: failed program was:" >&5 |
8675 cat conftest.$ac_ext >&5 | 8676 cat conftest.$ac_ext >&5 |
8715 | 8716 |
8716 | 8717 |
8717 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8718 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8718 # for constant arguments. Useless! | 8719 # for constant arguments. Useless! |
8719 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8720 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8720 echo "configure:8721: checking for working alloca.h" >&5 | 8721 echo "configure:8722: checking for working alloca.h" >&5 |
8721 | 8722 |
8722 cat > conftest.$ac_ext <<EOF | 8723 cat > conftest.$ac_ext <<EOF |
8723 #line 8724 "configure" | 8724 #line 8725 "configure" |
8724 #include "confdefs.h" | 8725 #include "confdefs.h" |
8725 #include <alloca.h> | 8726 #include <alloca.h> |
8726 int main() { | 8727 int main() { |
8727 char *p = alloca(2 * sizeof(int)); | 8728 char *p = alloca(2 * sizeof(int)); |
8728 ; return 0; } | 8729 ; return 0; } |
8729 EOF | 8730 EOF |
8730 if { (eval echo configure:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8731 if { (eval echo configure:8732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8731 rm -rf conftest* | 8732 rm -rf conftest* |
8732 ac_cv_header_alloca_h=yes | 8733 ac_cv_header_alloca_h=yes |
8733 else | 8734 else |
8734 echo "configure: failed program was:" >&5 | 8735 echo "configure: failed program was:" >&5 |
8735 cat conftest.$ac_ext >&5 | 8736 cat conftest.$ac_ext >&5 |
8749 } | 8750 } |
8750 | 8751 |
8751 fi | 8752 fi |
8752 | 8753 |
8753 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8754 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8754 echo "configure:8755: checking for alloca" >&5 | 8755 echo "configure:8756: checking for alloca" >&5 |
8755 | 8756 |
8756 cat > conftest.$ac_ext <<EOF | 8757 cat > conftest.$ac_ext <<EOF |
8757 #line 8758 "configure" | 8758 #line 8759 "configure" |
8758 #include "confdefs.h" | 8759 #include "confdefs.h" |
8759 | 8760 |
8760 #ifdef __GNUC__ | 8761 #ifdef __GNUC__ |
8761 # define alloca __builtin_alloca | 8762 # define alloca __builtin_alloca |
8762 #else | 8763 #else |
8775 | 8776 |
8776 int main() { | 8777 int main() { |
8777 char *p = (char *) alloca(1); | 8778 char *p = (char *) alloca(1); |
8778 ; return 0; } | 8779 ; return 0; } |
8779 EOF | 8780 EOF |
8780 if { (eval echo configure:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8781 if { (eval echo configure:8782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8781 rm -rf conftest* | 8782 rm -rf conftest* |
8782 ac_cv_func_alloca_works=yes | 8783 ac_cv_func_alloca_works=yes |
8783 else | 8784 else |
8784 echo "configure: failed program was:" >&5 | 8785 echo "configure: failed program was:" >&5 |
8785 cat conftest.$ac_ext >&5 | 8786 cat conftest.$ac_ext >&5 |
8814 EOF | 8815 EOF |
8815 } | 8816 } |
8816 | 8817 |
8817 | 8818 |
8818 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8819 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8819 echo "configure:8820: checking whether alloca needs Cray hooks" >&5 | 8820 echo "configure:8821: checking whether alloca needs Cray hooks" >&5 |
8820 | 8821 |
8821 cat > conftest.$ac_ext <<EOF | 8822 cat > conftest.$ac_ext <<EOF |
8822 #line 8823 "configure" | 8823 #line 8824 "configure" |
8823 #include "confdefs.h" | 8824 #include "confdefs.h" |
8824 #if defined(CRAY) && ! defined(CRAY2) | 8825 #if defined(CRAY) && ! defined(CRAY2) |
8825 webecray | 8826 webecray |
8826 #else | 8827 #else |
8827 wenotbecray | 8828 wenotbecray |
8841 | 8842 |
8842 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8843 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8843 if test $ac_cv_os_cray = yes; then | 8844 if test $ac_cv_os_cray = yes; then |
8844 for ac_func in _getb67 GETB67 getb67; do | 8845 for ac_func in _getb67 GETB67 getb67; do |
8845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8846 echo "configure:8847: checking for $ac_func" >&5 | 8847 echo "configure:8848: checking for $ac_func" >&5 |
8847 | 8848 |
8848 cat > conftest.$ac_ext <<EOF | 8849 cat > conftest.$ac_ext <<EOF |
8849 #line 8850 "configure" | 8850 #line 8851 "configure" |
8850 #include "confdefs.h" | 8851 #include "confdefs.h" |
8851 /* System header to define __stub macros and hopefully few prototypes, | 8852 /* System header to define __stub macros and hopefully few prototypes, |
8852 which can conflict with char $ac_func(); below. */ | 8853 which can conflict with char $ac_func(); below. */ |
8853 #include <assert.h> | 8854 #include <assert.h> |
8854 /* Override any gcc2 internal prototype to avoid an error. */ | 8855 /* Override any gcc2 internal prototype to avoid an error. */ |
8867 $ac_func(); | 8868 $ac_func(); |
8868 #endif | 8869 #endif |
8869 | 8870 |
8870 ; return 0; } | 8871 ; return 0; } |
8871 EOF | 8872 EOF |
8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8873 if { (eval echo configure:8874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8873 rm -rf conftest* | 8874 rm -rf conftest* |
8874 eval "ac_cv_func_$ac_func=yes" | 8875 eval "ac_cv_func_$ac_func=yes" |
8875 else | 8876 else |
8876 echo "configure: failed program was:" >&5 | 8877 echo "configure: failed program was:" >&5 |
8877 cat conftest.$ac_ext >&5 | 8878 cat conftest.$ac_ext >&5 |
8897 | 8898 |
8898 done | 8899 done |
8899 fi | 8900 fi |
8900 | 8901 |
8901 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8902 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8902 echo "configure:8903: checking stack direction for C alloca" >&5 | 8903 echo "configure:8904: checking stack direction for C alloca" >&5 |
8903 | 8904 |
8904 cat > conftest.$ac_ext <<EOF | 8905 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 8906 #line 8907 "configure" |
8906 #include "confdefs.h" | 8907 #include "confdefs.h" |
8907 find_stack_direction () | 8908 find_stack_direction () |
8908 { | 8909 { |
8909 static char *addr = 0; | 8910 static char *addr = 0; |
8910 auto char dummy; | 8911 auto char dummy; |
8919 main () | 8920 main () |
8920 { | 8921 { |
8921 exit (find_stack_direction() < 0); | 8922 exit (find_stack_direction() < 0); |
8922 } | 8923 } |
8923 EOF | 8924 EOF |
8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8925 if { (eval echo configure:8926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8925 then | 8926 then |
8926 ac_cv_c_stack_direction=1 | 8927 ac_cv_c_stack_direction=1 |
8927 else | 8928 else |
8928 conftest_rc="$?" | 8929 conftest_rc="$?" |
8929 echo "configure: failed program was:" >&5 | 8930 echo "configure: failed program was:" >&5 |
8948 echo " xemacs will be linked with \"$ALLOCA\"" | 8949 echo " xemacs will be linked with \"$ALLOCA\"" |
8949 fi | 8950 fi |
8950 | 8951 |
8951 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8952 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8952 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8953 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8953 echo "configure:8954: checking for vfork.h" >&5 | 8954 echo "configure:8955: checking for vfork.h" >&5 |
8954 | 8955 |
8955 cat > conftest.$ac_ext <<EOF | 8956 cat > conftest.$ac_ext <<EOF |
8956 #line 8957 "configure" | 8957 #line 8958 "configure" |
8957 #include "confdefs.h" | 8958 #include "confdefs.h" |
8958 #include <vfork.h> | 8959 #include <vfork.h> |
8959 EOF | 8960 EOF |
8960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8961 { (eval echo configure:8962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8962 { (eval echo configure:8963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8962 ac_err=`grep -v '^ *+' conftest.out` | 8963 ac_err=`grep -v '^ *+' conftest.out` |
8963 if test -z "$ac_err"; then | 8964 if test -z "$ac_err"; then |
8964 rm -rf conftest* | 8965 rm -rf conftest* |
8965 eval "ac_cv_header_$ac_safe=yes" | 8966 eval "ac_cv_header_$ac_safe=yes" |
8966 else | 8967 else |
8984 else | 8985 else |
8985 echo "$ac_t""no" 1>&6 | 8986 echo "$ac_t""no" 1>&6 |
8986 fi | 8987 fi |
8987 | 8988 |
8988 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8989 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8989 echo "configure:8990: checking for working vfork" >&5 | 8990 echo "configure:8991: checking for working vfork" >&5 |
8990 | 8991 |
8991 cat > conftest.$ac_ext <<EOF | 8992 cat > conftest.$ac_ext <<EOF |
8992 #line 8993 "configure" | 8993 #line 8994 "configure" |
8993 #include "confdefs.h" | 8994 #include "confdefs.h" |
8994 /* Thanks to Paul Eggert for this test. */ | 8995 /* Thanks to Paul Eggert for this test. */ |
8995 #include <stdio.h> | 8996 #include <stdio.h> |
8996 #include <sys/types.h> | 8997 #include <sys/types.h> |
8997 #include <sys/stat.h> | 8998 #include <sys/stat.h> |
9082 || fstat(fileno(stdout), &st) != 0 | 9083 || fstat(fileno(stdout), &st) != 0 |
9083 ); | 9084 ); |
9084 } | 9085 } |
9085 } | 9086 } |
9086 EOF | 9087 EOF |
9087 if { (eval echo configure:9088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9088 if { (eval echo configure:9089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9088 then | 9089 then |
9089 ac_cv_func_vfork_works=yes | 9090 ac_cv_func_vfork_works=yes |
9090 else | 9091 else |
9091 conftest_rc="$?" | 9092 conftest_rc="$?" |
9092 echo "configure: failed program was:" >&5 | 9093 echo "configure: failed program was:" >&5 |
9108 | 9109 |
9109 fi | 9110 fi |
9110 | 9111 |
9111 | 9112 |
9112 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9113 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9113 echo "configure:9114: checking for working strcoll" >&5 | 9114 echo "configure:9115: checking for working strcoll" >&5 |
9114 | 9115 |
9115 cat > conftest.$ac_ext <<EOF | 9116 cat > conftest.$ac_ext <<EOF |
9116 #line 9117 "configure" | 9117 #line 9118 "configure" |
9117 #include "confdefs.h" | 9118 #include "confdefs.h" |
9118 #include <string.h> | 9119 #include <string.h> |
9119 main () | 9120 main () |
9120 { | 9121 { |
9121 exit (strcoll ("abc", "def") >= 0 || | 9122 exit (strcoll ("abc", "def") >= 0 || |
9122 strcoll ("ABC", "DEF") >= 0 || | 9123 strcoll ("ABC", "DEF") >= 0 || |
9123 strcoll ("123", "456") >= 0); | 9124 strcoll ("123", "456") >= 0); |
9124 } | 9125 } |
9125 EOF | 9126 EOF |
9126 if { (eval echo configure:9127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9127 if { (eval echo configure:9128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9127 then | 9128 then |
9128 ac_cv_func_strcoll_works=yes | 9129 ac_cv_func_strcoll_works=yes |
9129 else | 9130 else |
9130 conftest_rc="$?" | 9131 conftest_rc="$?" |
9131 echo "configure: failed program was:" >&5 | 9132 echo "configure: failed program was:" >&5 |
9149 | 9150 |
9150 | 9151 |
9151 for ac_func in getpgrp | 9152 for ac_func in getpgrp |
9152 do | 9153 do |
9153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9154 echo "configure:9155: checking for $ac_func" >&5 | 9155 echo "configure:9156: checking for $ac_func" >&5 |
9155 | 9156 |
9156 cat > conftest.$ac_ext <<EOF | 9157 cat > conftest.$ac_ext <<EOF |
9157 #line 9158 "configure" | 9158 #line 9159 "configure" |
9158 #include "confdefs.h" | 9159 #include "confdefs.h" |
9159 /* System header to define __stub macros and hopefully few prototypes, | 9160 /* System header to define __stub macros and hopefully few prototypes, |
9160 which can conflict with char $ac_func(); below. */ | 9161 which can conflict with char $ac_func(); below. */ |
9161 #include <assert.h> | 9162 #include <assert.h> |
9162 /* Override any gcc2 internal prototype to avoid an error. */ | 9163 /* Override any gcc2 internal prototype to avoid an error. */ |
9175 $ac_func(); | 9176 $ac_func(); |
9176 #endif | 9177 #endif |
9177 | 9178 |
9178 ; return 0; } | 9179 ; return 0; } |
9179 EOF | 9180 EOF |
9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9181 if { (eval echo configure:9182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9181 rm -rf conftest* | 9182 rm -rf conftest* |
9182 eval "ac_cv_func_$ac_func=yes" | 9183 eval "ac_cv_func_$ac_func=yes" |
9183 else | 9184 else |
9184 echo "configure: failed program was:" >&5 | 9185 echo "configure: failed program was:" >&5 |
9185 cat conftest.$ac_ext >&5 | 9186 cat conftest.$ac_ext >&5 |
9203 echo "$ac_t""no" 1>&6 | 9204 echo "$ac_t""no" 1>&6 |
9204 fi | 9205 fi |
9205 done | 9206 done |
9206 | 9207 |
9207 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9208 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9208 echo "configure:9209: checking whether getpgrp takes no argument" >&5 | 9209 echo "configure:9210: checking whether getpgrp takes no argument" >&5 |
9209 | 9210 |
9210 cat > conftest.$ac_ext <<EOF | 9211 cat > conftest.$ac_ext <<EOF |
9211 #line 9212 "configure" | 9212 #line 9213 "configure" |
9212 #include "confdefs.h" | 9213 #include "confdefs.h" |
9213 | 9214 |
9214 /* | 9215 /* |
9215 * If this system has a BSD-style getpgrp(), | 9216 * If this system has a BSD-style getpgrp(), |
9216 * which takes a pid argument, exit unsuccessfully. | 9217 * which takes a pid argument, exit unsuccessfully. |
9261 exit(s>>8); | 9262 exit(s>>8); |
9262 } | 9263 } |
9263 } | 9264 } |
9264 | 9265 |
9265 EOF | 9266 EOF |
9266 if { (eval echo configure:9267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9267 if { (eval echo configure:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9267 then | 9268 then |
9268 ac_cv_func_getpgrp_void=yes | 9269 ac_cv_func_getpgrp_void=yes |
9269 else | 9270 else |
9270 conftest_rc="$?" | 9271 conftest_rc="$?" |
9271 echo "configure: failed program was:" >&5 | 9272 echo "configure: failed program was:" >&5 |
9288 | 9289 |
9289 fi | 9290 fi |
9290 | 9291 |
9291 | 9292 |
9292 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9293 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9293 echo "configure:9294: checking for working mmap" >&5 | 9294 echo "configure:9295: checking for working mmap" >&5 |
9294 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9295 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9295 cat > conftest.$ac_ext <<EOF | 9296 cat > conftest.$ac_ext <<EOF |
9296 #line 9297 "configure" | 9297 #line 9298 "configure" |
9297 #include "confdefs.h" | 9298 #include "confdefs.h" |
9298 #include <stdio.h> | 9299 #include <stdio.h> |
9299 #include <unistd.h> | 9300 #include <unistd.h> |
9300 #include <fcntl.h> | 9301 #include <fcntl.h> |
9301 #include <sys/mman.h> | 9302 #include <sys/mman.h> |
9324 return 0; | 9325 return 0; |
9325 perror ("conftest: mmap failed"); | 9326 perror ("conftest: mmap failed"); |
9326 return 1; | 9327 return 1; |
9327 } | 9328 } |
9328 EOF | 9329 EOF |
9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9330 if { (eval echo configure:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9330 then | 9331 then |
9331 have_mmap=yes | 9332 have_mmap=yes |
9332 else | 9333 else |
9333 conftest_rc="$?" | 9334 conftest_rc="$?" |
9334 echo "configure: failed program was:" >&5 | 9335 echo "configure: failed program was:" >&5 |
9349 | 9350 |
9350 for ac_hdr in unistd.h | 9351 for ac_hdr in unistd.h |
9351 do | 9352 do |
9352 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9353 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9354 echo "configure:9355: checking for $ac_hdr" >&5 | 9355 echo "configure:9356: checking for $ac_hdr" >&5 |
9355 | 9356 |
9356 cat > conftest.$ac_ext <<EOF | 9357 cat > conftest.$ac_ext <<EOF |
9357 #line 9358 "configure" | 9358 #line 9359 "configure" |
9358 #include "confdefs.h" | 9359 #include "confdefs.h" |
9359 #include <$ac_hdr> | 9360 #include <$ac_hdr> |
9360 EOF | 9361 EOF |
9361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9362 { (eval echo configure:9363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9363 { (eval echo configure:9364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9363 ac_err=`grep -v '^ *+' conftest.out` | 9364 ac_err=`grep -v '^ *+' conftest.out` |
9364 if test -z "$ac_err"; then | 9365 if test -z "$ac_err"; then |
9365 rm -rf conftest* | 9366 rm -rf conftest* |
9366 eval "ac_cv_header_$ac_safe=yes" | 9367 eval "ac_cv_header_$ac_safe=yes" |
9367 else | 9368 else |
9389 done | 9390 done |
9390 | 9391 |
9391 for ac_func in getpagesize | 9392 for ac_func in getpagesize |
9392 do | 9393 do |
9393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9394 echo "configure:9395: checking for $ac_func" >&5 | 9395 echo "configure:9396: checking for $ac_func" >&5 |
9395 | 9396 |
9396 cat > conftest.$ac_ext <<EOF | 9397 cat > conftest.$ac_ext <<EOF |
9397 #line 9398 "configure" | 9398 #line 9399 "configure" |
9398 #include "confdefs.h" | 9399 #include "confdefs.h" |
9399 /* System header to define __stub macros and hopefully few prototypes, | 9400 /* System header to define __stub macros and hopefully few prototypes, |
9400 which can conflict with char $ac_func(); below. */ | 9401 which can conflict with char $ac_func(); below. */ |
9401 #include <assert.h> | 9402 #include <assert.h> |
9402 /* Override any gcc2 internal prototype to avoid an error. */ | 9403 /* Override any gcc2 internal prototype to avoid an error. */ |
9415 $ac_func(); | 9416 $ac_func(); |
9416 #endif | 9417 #endif |
9417 | 9418 |
9418 ; return 0; } | 9419 ; return 0; } |
9419 EOF | 9420 EOF |
9420 if { (eval echo configure:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9421 if { (eval echo configure:9422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9421 rm -rf conftest* | 9422 rm -rf conftest* |
9422 eval "ac_cv_func_$ac_func=yes" | 9423 eval "ac_cv_func_$ac_func=yes" |
9423 else | 9424 else |
9424 echo "configure: failed program was:" >&5 | 9425 echo "configure: failed program was:" >&5 |
9425 cat conftest.$ac_ext >&5 | 9426 cat conftest.$ac_ext >&5 |
9443 echo "$ac_t""no" 1>&6 | 9444 echo "$ac_t""no" 1>&6 |
9444 fi | 9445 fi |
9445 done | 9446 done |
9446 | 9447 |
9447 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9448 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9448 echo "configure:9449: checking for working mmap" >&5 | 9449 echo "configure:9450: checking for working mmap" >&5 |
9449 | 9450 |
9450 cat > conftest.$ac_ext <<EOF | 9451 cat > conftest.$ac_ext <<EOF |
9451 #line 9452 "configure" | 9452 #line 9453 "configure" |
9452 #include "confdefs.h" | 9453 #include "confdefs.h" |
9453 | 9454 |
9454 /* Thanks to Mike Haertel and Jim Avera for this test. | 9455 /* Thanks to Mike Haertel and Jim Avera for this test. |
9455 Here is a matrix of mmap possibilities: | 9456 Here is a matrix of mmap possibilities: |
9456 mmap private not fixed | 9457 mmap private not fixed |
9586 unlink("conftestmmap"); | 9587 unlink("conftestmmap"); |
9587 exit(0); | 9588 exit(0); |
9588 } | 9589 } |
9589 | 9590 |
9590 EOF | 9591 EOF |
9591 if { (eval echo configure:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9592 then | 9593 then |
9593 ac_cv_func_mmap_fixed_mapped=yes | 9594 ac_cv_func_mmap_fixed_mapped=yes |
9594 else | 9595 else |
9595 conftest_rc="$?" | 9596 conftest_rc="$?" |
9596 echo "configure: failed program was:" >&5 | 9597 echo "configure: failed program was:" >&5 |
9624 } | 9625 } |
9625 | 9626 |
9626 | 9627 |
9627 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9628 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9628 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9629 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9629 echo "configure:9630: checking for termios.h" >&5 | 9630 echo "configure:9631: checking for termios.h" >&5 |
9630 | 9631 |
9631 cat > conftest.$ac_ext <<EOF | 9632 cat > conftest.$ac_ext <<EOF |
9632 #line 9633 "configure" | 9633 #line 9634 "configure" |
9633 #include "confdefs.h" | 9634 #include "confdefs.h" |
9634 #include <termios.h> | 9635 #include <termios.h> |
9635 EOF | 9636 EOF |
9636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9637 { (eval echo configure:9638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9638 { (eval echo configure:9639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9638 ac_err=`grep -v '^ *+' conftest.out` | 9639 ac_err=`grep -v '^ *+' conftest.out` |
9639 if test -z "$ac_err"; then | 9640 if test -z "$ac_err"; then |
9640 rm -rf conftest* | 9641 rm -rf conftest* |
9641 eval "ac_cv_header_$ac_safe=yes" | 9642 eval "ac_cv_header_$ac_safe=yes" |
9642 else | 9643 else |
9675 | 9676 |
9676 else | 9677 else |
9677 echo "$ac_t""no" 1>&6 | 9678 echo "$ac_t""no" 1>&6 |
9678 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9679 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9679 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9680 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9680 echo "configure:9681: checking for termio.h" >&5 | 9681 echo "configure:9682: checking for termio.h" >&5 |
9681 | 9682 |
9682 cat > conftest.$ac_ext <<EOF | 9683 cat > conftest.$ac_ext <<EOF |
9683 #line 9684 "configure" | 9684 #line 9685 "configure" |
9684 #include "confdefs.h" | 9685 #include "confdefs.h" |
9685 #include <termio.h> | 9686 #include <termio.h> |
9686 EOF | 9687 EOF |
9687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9688 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9688 { (eval echo configure:9689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9689 { (eval echo configure:9690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9689 ac_err=`grep -v '^ *+' conftest.out` | 9690 ac_err=`grep -v '^ *+' conftest.out` |
9690 if test -z "$ac_err"; then | 9691 if test -z "$ac_err"; then |
9691 rm -rf conftest* | 9692 rm -rf conftest* |
9692 eval "ac_cv_header_$ac_safe=yes" | 9693 eval "ac_cv_header_$ac_safe=yes" |
9693 else | 9694 else |
9715 fi | 9716 fi |
9716 | 9717 |
9717 | 9718 |
9718 | 9719 |
9719 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9720 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9720 echo "configure:9721: checking for socket" >&5 | 9721 echo "configure:9722: checking for socket" >&5 |
9721 | 9722 |
9722 cat > conftest.$ac_ext <<EOF | 9723 cat > conftest.$ac_ext <<EOF |
9723 #line 9724 "configure" | 9724 #line 9725 "configure" |
9724 #include "confdefs.h" | 9725 #include "confdefs.h" |
9725 /* System header to define __stub macros and hopefully few prototypes, | 9726 /* System header to define __stub macros and hopefully few prototypes, |
9726 which can conflict with char socket(); below. */ | 9727 which can conflict with char socket(); below. */ |
9727 #include <assert.h> | 9728 #include <assert.h> |
9728 /* Override any gcc2 internal prototype to avoid an error. */ | 9729 /* Override any gcc2 internal prototype to avoid an error. */ |
9741 socket(); | 9742 socket(); |
9742 #endif | 9743 #endif |
9743 | 9744 |
9744 ; return 0; } | 9745 ; return 0; } |
9745 EOF | 9746 EOF |
9746 if { (eval echo configure:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9747 rm -rf conftest* | 9748 rm -rf conftest* |
9748 eval "ac_cv_func_socket=yes" | 9749 eval "ac_cv_func_socket=yes" |
9749 else | 9750 else |
9750 echo "configure: failed program was:" >&5 | 9751 echo "configure: failed program was:" >&5 |
9751 cat conftest.$ac_ext >&5 | 9752 cat conftest.$ac_ext >&5 |
9756 | 9757 |
9757 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9758 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9758 echo "$ac_t""yes" 1>&6 | 9759 echo "$ac_t""yes" 1>&6 |
9759 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9760 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9760 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9761 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9761 echo "configure:9762: checking for netinet/in.h" >&5 | 9762 echo "configure:9763: checking for netinet/in.h" >&5 |
9762 | 9763 |
9763 cat > conftest.$ac_ext <<EOF | 9764 cat > conftest.$ac_ext <<EOF |
9764 #line 9765 "configure" | 9765 #line 9766 "configure" |
9765 #include "confdefs.h" | 9766 #include "confdefs.h" |
9766 #include <netinet/in.h> | 9767 #include <netinet/in.h> |
9767 EOF | 9768 EOF |
9768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9769 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9769 { (eval echo configure:9770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9770 { (eval echo configure:9771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9770 ac_err=`grep -v '^ *+' conftest.out` | 9771 ac_err=`grep -v '^ *+' conftest.out` |
9771 if test -z "$ac_err"; then | 9772 if test -z "$ac_err"; then |
9772 rm -rf conftest* | 9773 rm -rf conftest* |
9773 eval "ac_cv_header_$ac_safe=yes" | 9774 eval "ac_cv_header_$ac_safe=yes" |
9774 else | 9775 else |
9781 rm -f conftest* | 9782 rm -f conftest* |
9782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9783 echo "$ac_t""yes" 1>&6 | 9784 echo "$ac_t""yes" 1>&6 |
9784 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9785 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9785 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9786 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9786 echo "configure:9787: checking for arpa/inet.h" >&5 | 9787 echo "configure:9788: checking for arpa/inet.h" >&5 |
9787 | 9788 |
9788 cat > conftest.$ac_ext <<EOF | 9789 cat > conftest.$ac_ext <<EOF |
9789 #line 9790 "configure" | 9790 #line 9791 "configure" |
9790 #include "confdefs.h" | 9791 #include "confdefs.h" |
9791 #include <arpa/inet.h> | 9792 #include <arpa/inet.h> |
9792 EOF | 9793 EOF |
9793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9794 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9794 { (eval echo configure:9795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9795 { (eval echo configure:9796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9795 ac_err=`grep -v '^ *+' conftest.out` | 9796 ac_err=`grep -v '^ *+' conftest.out` |
9796 if test -z "$ac_err"; then | 9797 if test -z "$ac_err"; then |
9797 rm -rf conftest* | 9798 rm -rf conftest* |
9798 eval "ac_cv_header_$ac_safe=yes" | 9799 eval "ac_cv_header_$ac_safe=yes" |
9799 else | 9800 else |
9814 #define HAVE_SOCKETS 1 | 9815 #define HAVE_SOCKETS 1 |
9815 EOF | 9816 EOF |
9816 } | 9817 } |
9817 | 9818 |
9818 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9819 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9819 echo "configure:9820: checking "for sun_len member in struct sockaddr_un"" >&5 | 9820 echo "configure:9821: checking "for sun_len member in struct sockaddr_un"" >&5 |
9820 cat > conftest.$ac_ext <<EOF | 9821 cat > conftest.$ac_ext <<EOF |
9821 #line 9822 "configure" | 9822 #line 9823 "configure" |
9822 #include "confdefs.h" | 9823 #include "confdefs.h" |
9823 | 9824 |
9824 #include <sys/types.h> | 9825 #include <sys/types.h> |
9825 #include <sys/socket.h> | 9826 #include <sys/socket.h> |
9826 #include <sys/un.h> | 9827 #include <sys/un.h> |
9827 | 9828 |
9828 int main() { | 9829 int main() { |
9829 static struct sockaddr_un x; x.sun_len = 1; | 9830 static struct sockaddr_un x; x.sun_len = 1; |
9830 ; return 0; } | 9831 ; return 0; } |
9831 EOF | 9832 EOF |
9832 if { (eval echo configure:9833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9833 if { (eval echo configure:9834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9833 rm -rf conftest* | 9834 rm -rf conftest* |
9834 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9835 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9835 Defining HAVE_SOCKADDR_SUN_LEN | 9836 Defining HAVE_SOCKADDR_SUN_LEN |
9836 EOF | 9837 EOF |
9837 cat >> confdefs.h <<\EOF | 9838 cat >> confdefs.h <<\EOF |
9845 rm -rf conftest* | 9846 rm -rf conftest* |
9846 echo "$ac_t""no" 1>&6 | 9847 echo "$ac_t""no" 1>&6 |
9847 fi | 9848 fi |
9848 rm -f conftest* | 9849 rm -f conftest* |
9849 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9850 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9850 echo "configure:9851: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9851 echo "configure:9852: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9851 cat > conftest.$ac_ext <<EOF | 9852 cat > conftest.$ac_ext <<EOF |
9852 #line 9853 "configure" | 9853 #line 9854 "configure" |
9853 #include "confdefs.h" | 9854 #include "confdefs.h" |
9854 | 9855 |
9855 #include <sys/types.h> | 9856 #include <sys/types.h> |
9856 #include <netinet/in.h> | 9857 #include <netinet/in.h> |
9857 | 9858 |
9858 int main() { | 9859 int main() { |
9859 static struct ip_mreq x; | 9860 static struct ip_mreq x; |
9860 ; return 0; } | 9861 ; return 0; } |
9861 EOF | 9862 EOF |
9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9863 if { (eval echo configure:9864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9863 rm -rf conftest* | 9864 rm -rf conftest* |
9864 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9865 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9865 Defining HAVE_MULTICAST | 9866 Defining HAVE_MULTICAST |
9866 EOF | 9867 EOF |
9867 cat >> confdefs.h <<\EOF | 9868 cat >> confdefs.h <<\EOF |
9888 echo "$ac_t""no" 1>&6 | 9889 echo "$ac_t""no" 1>&6 |
9889 fi | 9890 fi |
9890 | 9891 |
9891 | 9892 |
9892 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9893 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9893 echo "configure:9894: checking for msgget" >&5 | 9894 echo "configure:9895: checking for msgget" >&5 |
9894 | 9895 |
9895 cat > conftest.$ac_ext <<EOF | 9896 cat > conftest.$ac_ext <<EOF |
9896 #line 9897 "configure" | 9897 #line 9898 "configure" |
9897 #include "confdefs.h" | 9898 #include "confdefs.h" |
9898 /* System header to define __stub macros and hopefully few prototypes, | 9899 /* System header to define __stub macros and hopefully few prototypes, |
9899 which can conflict with char msgget(); below. */ | 9900 which can conflict with char msgget(); below. */ |
9900 #include <assert.h> | 9901 #include <assert.h> |
9901 /* Override any gcc2 internal prototype to avoid an error. */ | 9902 /* Override any gcc2 internal prototype to avoid an error. */ |
9914 msgget(); | 9915 msgget(); |
9915 #endif | 9916 #endif |
9916 | 9917 |
9917 ; return 0; } | 9918 ; return 0; } |
9918 EOF | 9919 EOF |
9919 if { (eval echo configure:9920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9920 if { (eval echo configure:9921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9920 rm -rf conftest* | 9921 rm -rf conftest* |
9921 eval "ac_cv_func_msgget=yes" | 9922 eval "ac_cv_func_msgget=yes" |
9922 else | 9923 else |
9923 echo "configure: failed program was:" >&5 | 9924 echo "configure: failed program was:" >&5 |
9924 cat conftest.$ac_ext >&5 | 9925 cat conftest.$ac_ext >&5 |
9929 | 9930 |
9930 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9931 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9931 echo "$ac_t""yes" 1>&6 | 9932 echo "$ac_t""yes" 1>&6 |
9932 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9933 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9933 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9934 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9934 echo "configure:9935: checking for sys/ipc.h" >&5 | 9935 echo "configure:9936: checking for sys/ipc.h" >&5 |
9935 | 9936 |
9936 cat > conftest.$ac_ext <<EOF | 9937 cat > conftest.$ac_ext <<EOF |
9937 #line 9938 "configure" | 9938 #line 9939 "configure" |
9938 #include "confdefs.h" | 9939 #include "confdefs.h" |
9939 #include <sys/ipc.h> | 9940 #include <sys/ipc.h> |
9940 EOF | 9941 EOF |
9941 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9942 { (eval echo configure:9943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9943 { (eval echo configure:9944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9943 ac_err=`grep -v '^ *+' conftest.out` | 9944 ac_err=`grep -v '^ *+' conftest.out` |
9944 if test -z "$ac_err"; then | 9945 if test -z "$ac_err"; then |
9945 rm -rf conftest* | 9946 rm -rf conftest* |
9946 eval "ac_cv_header_$ac_safe=yes" | 9947 eval "ac_cv_header_$ac_safe=yes" |
9947 else | 9948 else |
9954 rm -f conftest* | 9955 rm -f conftest* |
9955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9956 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9956 echo "$ac_t""yes" 1>&6 | 9957 echo "$ac_t""yes" 1>&6 |
9957 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9958 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9958 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9959 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9959 echo "configure:9960: checking for sys/msg.h" >&5 | 9960 echo "configure:9961: checking for sys/msg.h" >&5 |
9960 | 9961 |
9961 cat > conftest.$ac_ext <<EOF | 9962 cat > conftest.$ac_ext <<EOF |
9962 #line 9963 "configure" | 9963 #line 9964 "configure" |
9963 #include "confdefs.h" | 9964 #include "confdefs.h" |
9964 #include <sys/msg.h> | 9965 #include <sys/msg.h> |
9965 EOF | 9966 EOF |
9966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9967 { (eval echo configure:9968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9968 { (eval echo configure:9969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9968 ac_err=`grep -v '^ *+' conftest.out` | 9969 ac_err=`grep -v '^ *+' conftest.out` |
9969 if test -z "$ac_err"; then | 9970 if test -z "$ac_err"; then |
9970 rm -rf conftest* | 9971 rm -rf conftest* |
9971 eval "ac_cv_header_$ac_safe=yes" | 9972 eval "ac_cv_header_$ac_safe=yes" |
9972 else | 9973 else |
10000 fi | 10001 fi |
10001 | 10002 |
10002 | 10003 |
10003 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10004 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10004 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10005 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10005 echo "configure:10006: checking for dirent.h" >&5 | 10006 echo "configure:10007: checking for dirent.h" >&5 |
10006 | 10007 |
10007 cat > conftest.$ac_ext <<EOF | 10008 cat > conftest.$ac_ext <<EOF |
10008 #line 10009 "configure" | 10009 #line 10010 "configure" |
10009 #include "confdefs.h" | 10010 #include "confdefs.h" |
10010 #include <dirent.h> | 10011 #include <dirent.h> |
10011 EOF | 10012 EOF |
10012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10013 { (eval echo configure:10014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10014 { (eval echo configure:10015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10014 ac_err=`grep -v '^ *+' conftest.out` | 10015 ac_err=`grep -v '^ *+' conftest.out` |
10015 if test -z "$ac_err"; then | 10016 if test -z "$ac_err"; then |
10016 rm -rf conftest* | 10017 rm -rf conftest* |
10017 eval "ac_cv_header_$ac_safe=yes" | 10018 eval "ac_cv_header_$ac_safe=yes" |
10018 else | 10019 else |
10035 | 10036 |
10036 else | 10037 else |
10037 echo "$ac_t""no" 1>&6 | 10038 echo "$ac_t""no" 1>&6 |
10038 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10039 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10039 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10040 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10040 echo "configure:10041: checking for sys/dir.h" >&5 | 10041 echo "configure:10042: checking for sys/dir.h" >&5 |
10041 | 10042 |
10042 cat > conftest.$ac_ext <<EOF | 10043 cat > conftest.$ac_ext <<EOF |
10043 #line 10044 "configure" | 10044 #line 10045 "configure" |
10044 #include "confdefs.h" | 10045 #include "confdefs.h" |
10045 #include <sys/dir.h> | 10046 #include <sys/dir.h> |
10046 EOF | 10047 EOF |
10047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10048 { (eval echo configure:10049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10049 { (eval echo configure:10050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10049 ac_err=`grep -v '^ *+' conftest.out` | 10050 ac_err=`grep -v '^ *+' conftest.out` |
10050 if test -z "$ac_err"; then | 10051 if test -z "$ac_err"; then |
10051 rm -rf conftest* | 10052 rm -rf conftest* |
10052 eval "ac_cv_header_$ac_safe=yes" | 10053 eval "ac_cv_header_$ac_safe=yes" |
10053 else | 10054 else |
10076 fi | 10077 fi |
10077 | 10078 |
10078 | 10079 |
10079 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10080 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10080 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10081 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10081 echo "configure:10082: checking for nlist.h" >&5 | 10082 echo "configure:10083: checking for nlist.h" >&5 |
10082 | 10083 |
10083 cat > conftest.$ac_ext <<EOF | 10084 cat > conftest.$ac_ext <<EOF |
10084 #line 10085 "configure" | 10085 #line 10086 "configure" |
10085 #include "confdefs.h" | 10086 #include "confdefs.h" |
10086 #include <nlist.h> | 10087 #include <nlist.h> |
10087 EOF | 10088 EOF |
10088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10089 { (eval echo configure:10090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10090 { (eval echo configure:10091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10090 ac_err=`grep -v '^ *+' conftest.out` | 10091 ac_err=`grep -v '^ *+' conftest.out` |
10091 if test -z "$ac_err"; then | 10092 if test -z "$ac_err"; then |
10092 rm -rf conftest* | 10093 rm -rf conftest* |
10093 eval "ac_cv_header_$ac_safe=yes" | 10094 eval "ac_cv_header_$ac_safe=yes" |
10094 else | 10095 else |
10114 fi | 10115 fi |
10115 | 10116 |
10116 | 10117 |
10117 | 10118 |
10118 echo "checking "for sound support"" 1>&6 | 10119 echo "checking "for sound support"" 1>&6 |
10119 echo "configure:10120: checking "for sound support"" >&5 | 10120 echo "configure:10121: checking "for sound support"" >&5 |
10120 case "$with_sound" in | 10121 case "$with_sound" in |
10121 native | both ) with_native_sound=yes;; | 10122 native | both ) with_native_sound=yes;; |
10122 nas | no ) with_native_sound=no;; | 10123 nas | no ) with_native_sound=no;; |
10123 esac | 10124 esac |
10124 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10125 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10125 | 10126 |
10126 if test "$with_native_sound" != "no"; then | 10127 if test "$with_native_sound" != "no"; then |
10127 if test -n "$native_sound_lib"; then | 10128 if test -n "$native_sound_lib"; then |
10128 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10129 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10129 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10130 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10130 echo "configure:10131: checking for multimedia/audio_device.h" >&5 | 10131 echo "configure:10132: checking for multimedia/audio_device.h" >&5 |
10131 | 10132 |
10132 cat > conftest.$ac_ext <<EOF | 10133 cat > conftest.$ac_ext <<EOF |
10133 #line 10134 "configure" | 10134 #line 10135 "configure" |
10134 #include "confdefs.h" | 10135 #include "confdefs.h" |
10135 #include <multimedia/audio_device.h> | 10136 #include <multimedia/audio_device.h> |
10136 EOF | 10137 EOF |
10137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10138 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10138 { (eval echo configure:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10139 { (eval echo configure:10140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10139 ac_err=`grep -v '^ *+' conftest.out` | 10140 ac_err=`grep -v '^ *+' conftest.out` |
10140 if test -z "$ac_err"; then | 10141 if test -z "$ac_err"; then |
10141 rm -rf conftest* | 10142 rm -rf conftest* |
10142 eval "ac_cv_header_$ac_safe=yes" | 10143 eval "ac_cv_header_$ac_safe=yes" |
10143 else | 10144 else |
10181 case "$canonical" in | 10182 case "$canonical" in |
10182 *-sgi-* ) | 10183 *-sgi-* ) |
10183 if test -z "$native_sound_lib"; then | 10184 if test -z "$native_sound_lib"; then |
10184 | 10185 |
10185 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10186 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10186 echo "configure:10187: checking for ALopenport in -laudio" >&5 | 10187 echo "configure:10188: checking for ALopenport in -laudio" >&5 |
10187 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10188 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10188 | 10189 |
10189 xe_check_libs=" -laudio " | 10190 xe_check_libs=" -laudio " |
10190 cat > conftest.$ac_ext <<EOF | 10191 cat > conftest.$ac_ext <<EOF |
10191 #line 10192 "configure" | 10192 #line 10193 "configure" |
10192 #include "confdefs.h" | 10193 #include "confdefs.h" |
10193 /* Override any gcc2 internal prototype to avoid an error. */ | 10194 /* Override any gcc2 internal prototype to avoid an error. */ |
10194 /* We use char because int might match the return type of a gcc2 | 10195 /* We use char because int might match the return type of a gcc2 |
10195 builtin and then its argument prototype would still apply. */ | 10196 builtin and then its argument prototype would still apply. */ |
10196 char ALopenport(); | 10197 char ALopenport(); |
10197 | 10198 |
10198 int main() { | 10199 int main() { |
10199 ALopenport() | 10200 ALopenport() |
10200 ; return 0; } | 10201 ; return 0; } |
10201 EOF | 10202 EOF |
10202 if { (eval echo configure:10203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10203 if { (eval echo configure:10204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10203 rm -rf conftest* | 10204 rm -rf conftest* |
10204 eval "ac_cv_lib_$ac_lib_var=yes" | 10205 eval "ac_cv_lib_$ac_lib_var=yes" |
10205 else | 10206 else |
10206 echo "configure: failed program was:" >&5 | 10207 echo "configure: failed program was:" >&5 |
10207 cat conftest.$ac_ext >&5 | 10208 cat conftest.$ac_ext >&5 |
10228 fi ;; | 10229 fi ;; |
10229 hppa*-hp-hpux* ) | 10230 hppa*-hp-hpux* ) |
10230 if test -z "$native_sound_lib"; then | 10231 if test -z "$native_sound_lib"; then |
10231 | 10232 |
10232 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10233 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10233 echo "configure:10234: checking for AOpenAudio in -lAlib" >&5 | 10234 echo "configure:10235: checking for AOpenAudio in -lAlib" >&5 |
10234 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10235 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10235 | 10236 |
10236 xe_check_libs=" -lAlib " | 10237 xe_check_libs=" -lAlib " |
10237 cat > conftest.$ac_ext <<EOF | 10238 cat > conftest.$ac_ext <<EOF |
10238 #line 10239 "configure" | 10239 #line 10240 "configure" |
10239 #include "confdefs.h" | 10240 #include "confdefs.h" |
10240 /* Override any gcc2 internal prototype to avoid an error. */ | 10241 /* Override any gcc2 internal prototype to avoid an error. */ |
10241 /* We use char because int might match the return type of a gcc2 | 10242 /* We use char because int might match the return type of a gcc2 |
10242 builtin and then its argument prototype would still apply. */ | 10243 builtin and then its argument prototype would still apply. */ |
10243 char AOpenAudio(); | 10244 char AOpenAudio(); |
10244 | 10245 |
10245 int main() { | 10246 int main() { |
10246 AOpenAudio() | 10247 AOpenAudio() |
10247 ; return 0; } | 10248 ; return 0; } |
10248 EOF | 10249 EOF |
10249 if { (eval echo configure:10250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10250 if { (eval echo configure:10251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10250 rm -rf conftest* | 10251 rm -rf conftest* |
10251 eval "ac_cv_lib_$ac_lib_var=yes" | 10252 eval "ac_cv_lib_$ac_lib_var=yes" |
10252 else | 10253 else |
10253 echo "configure: failed program was:" >&5 | 10254 echo "configure: failed program was:" >&5 |
10254 cat conftest.$ac_ext >&5 | 10255 cat conftest.$ac_ext >&5 |
10282 | 10283 |
10283 if test -z "$sound_found"; then | 10284 if test -z "$sound_found"; then |
10284 for dir in "machine" "sys" "linux"; do | 10285 for dir in "machine" "sys" "linux"; do |
10285 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10286 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10286 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10287 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10287 echo "configure:10288: checking for ${dir}/soundcard.h" >&5 | 10288 echo "configure:10289: checking for ${dir}/soundcard.h" >&5 |
10288 | 10289 |
10289 cat > conftest.$ac_ext <<EOF | 10290 cat > conftest.$ac_ext <<EOF |
10290 #line 10291 "configure" | 10291 #line 10292 "configure" |
10291 #include "confdefs.h" | 10292 #include "confdefs.h" |
10292 #include <${dir}/soundcard.h> | 10293 #include <${dir}/soundcard.h> |
10293 EOF | 10294 EOF |
10294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10295 { (eval echo configure:10296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10296 { (eval echo configure:10297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10296 ac_err=`grep -v '^ *+' conftest.out` | 10297 ac_err=`grep -v '^ *+' conftest.out` |
10297 if test -z "$ac_err"; then | 10298 if test -z "$ac_err"; then |
10298 rm -rf conftest* | 10299 rm -rf conftest* |
10299 eval "ac_cv_header_$ac_safe=yes" | 10300 eval "ac_cv_header_$ac_safe=yes" |
10300 else | 10301 else |
10360 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10361 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10361 echo " xemacs will be linked with \"nas.o\"" | 10362 echo " xemacs will be linked with \"nas.o\"" |
10362 fi | 10363 fi |
10363 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10364 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10364 cat > conftest.$ac_ext <<EOF | 10365 cat > conftest.$ac_ext <<EOF |
10365 #line 10366 "configure" | 10366 #line 10367 "configure" |
10366 #include "confdefs.h" | 10367 #include "confdefs.h" |
10367 #include <audio/Xtutil.h> | 10368 #include <audio/Xtutil.h> |
10368 EOF | 10369 EOF |
10369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10370 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10371 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10387 | 10388 |
10388 test -z "$with_tty" && with_tty=yes | 10389 test -z "$with_tty" && with_tty=yes |
10389 | 10390 |
10390 if test "$with_tty" = "yes" ; then | 10391 if test "$with_tty" = "yes" ; then |
10391 echo "checking for TTY-related features" 1>&6 | 10392 echo "checking for TTY-related features" 1>&6 |
10392 echo "configure:10393: checking for TTY-related features" >&5 | 10393 echo "configure:10394: checking for TTY-related features" >&5 |
10393 { test "$extra_verbose" = "yes" && cat << \EOF | 10394 { test "$extra_verbose" = "yes" && cat << \EOF |
10394 Defining HAVE_TTY | 10395 Defining HAVE_TTY |
10395 EOF | 10396 EOF |
10396 cat >> confdefs.h <<\EOF | 10397 cat >> confdefs.h <<\EOF |
10397 #define HAVE_TTY 1 | 10398 #define HAVE_TTY 1 |
10403 fi | 10404 fi |
10404 | 10405 |
10405 if test -z "$with_ncurses"; then | 10406 if test -z "$with_ncurses"; then |
10406 | 10407 |
10407 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10408 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10408 echo "configure:10409: checking for tgetent in -lncurses" >&5 | 10409 echo "configure:10410: checking for tgetent in -lncurses" >&5 |
10409 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10410 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10410 | 10411 |
10411 xe_check_libs=" -lncurses " | 10412 xe_check_libs=" -lncurses " |
10412 cat > conftest.$ac_ext <<EOF | 10413 cat > conftest.$ac_ext <<EOF |
10413 #line 10414 "configure" | 10414 #line 10415 "configure" |
10414 #include "confdefs.h" | 10415 #include "confdefs.h" |
10415 /* Override any gcc2 internal prototype to avoid an error. */ | 10416 /* Override any gcc2 internal prototype to avoid an error. */ |
10416 /* We use char because int might match the return type of a gcc2 | 10417 /* We use char because int might match the return type of a gcc2 |
10417 builtin and then its argument prototype would still apply. */ | 10418 builtin and then its argument prototype would still apply. */ |
10418 char tgetent(); | 10419 char tgetent(); |
10419 | 10420 |
10420 int main() { | 10421 int main() { |
10421 tgetent() | 10422 tgetent() |
10422 ; return 0; } | 10423 ; return 0; } |
10423 EOF | 10424 EOF |
10424 if { (eval echo configure:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10425 if { (eval echo configure:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10425 rm -rf conftest* | 10426 rm -rf conftest* |
10426 eval "ac_cv_lib_$ac_lib_var=yes" | 10427 eval "ac_cv_lib_$ac_lib_var=yes" |
10427 else | 10428 else |
10428 echo "configure: failed program was:" >&5 | 10429 echo "configure: failed program was:" >&5 |
10429 cat conftest.$ac_ext >&5 | 10430 cat conftest.$ac_ext >&5 |
10452 EOF | 10453 EOF |
10453 } | 10454 } |
10454 | 10455 |
10455 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10456 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10456 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10457 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10457 echo "configure:10458: checking for ncurses/curses.h" >&5 | 10458 echo "configure:10459: checking for ncurses/curses.h" >&5 |
10458 | 10459 |
10459 cat > conftest.$ac_ext <<EOF | 10460 cat > conftest.$ac_ext <<EOF |
10460 #line 10461 "configure" | 10461 #line 10462 "configure" |
10461 #include "confdefs.h" | 10462 #include "confdefs.h" |
10462 #include <ncurses/curses.h> | 10463 #include <ncurses/curses.h> |
10463 EOF | 10464 EOF |
10464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10465 { (eval echo configure:10466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10466 { (eval echo configure:10467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10466 ac_err=`grep -v '^ *+' conftest.out` | 10467 ac_err=`grep -v '^ *+' conftest.out` |
10467 if test -z "$ac_err"; then | 10468 if test -z "$ac_err"; then |
10468 rm -rf conftest* | 10469 rm -rf conftest* |
10469 eval "ac_cv_header_$ac_safe=yes" | 10470 eval "ac_cv_header_$ac_safe=yes" |
10470 else | 10471 else |
10482 echo "$ac_t""no" 1>&6 | 10483 echo "$ac_t""no" 1>&6 |
10483 fi | 10484 fi |
10484 | 10485 |
10485 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10486 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10486 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10487 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10487 echo "configure:10488: checking for ncurses/term.h" >&5 | 10488 echo "configure:10489: checking for ncurses/term.h" >&5 |
10488 | 10489 |
10489 cat > conftest.$ac_ext <<EOF | 10490 cat > conftest.$ac_ext <<EOF |
10490 #line 10491 "configure" | 10491 #line 10492 "configure" |
10491 #include "confdefs.h" | 10492 #include "confdefs.h" |
10492 #include <ncurses/term.h> | 10493 #include <ncurses/term.h> |
10493 EOF | 10494 EOF |
10494 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10495 { (eval echo configure:10496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10496 { (eval echo configure:10497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10496 ac_err=`grep -v '^ *+' conftest.out` | 10497 ac_err=`grep -v '^ *+' conftest.out` |
10497 if test -z "$ac_err"; then | 10498 if test -z "$ac_err"; then |
10498 rm -rf conftest* | 10499 rm -rf conftest* |
10499 eval "ac_cv_header_$ac_safe=yes" | 10500 eval "ac_cv_header_$ac_safe=yes" |
10500 else | 10501 else |
10520 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10521 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10521 save_c_switch_site="$c_switch_site" | 10522 save_c_switch_site="$c_switch_site" |
10522 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10523 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10523 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10524 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10524 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10525 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10525 echo "configure:10526: checking for ncurses/curses.h" >&5 | 10526 echo "configure:10527: checking for ncurses/curses.h" >&5 |
10526 | 10527 |
10527 cat > conftest.$ac_ext <<EOF | 10528 cat > conftest.$ac_ext <<EOF |
10528 #line 10529 "configure" | 10529 #line 10530 "configure" |
10529 #include "confdefs.h" | 10530 #include "confdefs.h" |
10530 #include <ncurses/curses.h> | 10531 #include <ncurses/curses.h> |
10531 EOF | 10532 EOF |
10532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10533 { (eval echo configure:10534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10534 { (eval echo configure:10535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10534 ac_err=`grep -v '^ *+' conftest.out` | 10535 ac_err=`grep -v '^ *+' conftest.out` |
10535 if test -z "$ac_err"; then | 10536 if test -z "$ac_err"; then |
10536 rm -rf conftest* | 10537 rm -rf conftest* |
10537 eval "ac_cv_header_$ac_safe=yes" | 10538 eval "ac_cv_header_$ac_safe=yes" |
10538 else | 10539 else |
10563 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10564 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10564 else | 10565 else |
10565 for lib in curses termlib termcap; do | 10566 for lib in curses termlib termcap; do |
10566 | 10567 |
10567 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10568 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10568 echo "configure:10569: checking for tgetent in -l$lib" >&5 | 10569 echo "configure:10570: checking for tgetent in -l$lib" >&5 |
10569 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10570 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10570 | 10571 |
10571 xe_check_libs=" -l$lib " | 10572 xe_check_libs=" -l$lib " |
10572 cat > conftest.$ac_ext <<EOF | 10573 cat > conftest.$ac_ext <<EOF |
10573 #line 10574 "configure" | 10574 #line 10575 "configure" |
10574 #include "confdefs.h" | 10575 #include "confdefs.h" |
10575 /* Override any gcc2 internal prototype to avoid an error. */ | 10576 /* Override any gcc2 internal prototype to avoid an error. */ |
10576 /* We use char because int might match the return type of a gcc2 | 10577 /* We use char because int might match the return type of a gcc2 |
10577 builtin and then its argument prototype would still apply. */ | 10578 builtin and then its argument prototype would still apply. */ |
10578 char tgetent(); | 10579 char tgetent(); |
10579 | 10580 |
10580 int main() { | 10581 int main() { |
10581 tgetent() | 10582 tgetent() |
10582 ; return 0; } | 10583 ; return 0; } |
10583 EOF | 10584 EOF |
10584 if { (eval echo configure:10585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10585 if { (eval echo configure:10586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10585 rm -rf conftest* | 10586 rm -rf conftest* |
10586 eval "ac_cv_lib_$ac_lib_var=yes" | 10587 eval "ac_cv_lib_$ac_lib_var=yes" |
10587 else | 10588 else |
10588 echo "configure: failed program was:" >&5 | 10589 echo "configure: failed program was:" >&5 |
10589 cat conftest.$ac_ext >&5 | 10590 cat conftest.$ac_ext >&5 |
10610 if test -n "$libs_termcap"; then | 10611 if test -n "$libs_termcap"; then |
10611 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10612 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10612 else | 10613 else |
10613 | 10614 |
10614 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10615 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10615 echo "configure:10616: checking for tgetent in -lcurses" >&5 | 10616 echo "configure:10617: checking for tgetent in -lcurses" >&5 |
10616 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10617 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10617 | 10618 |
10618 xe_check_libs=" -lcurses " | 10619 xe_check_libs=" -lcurses " |
10619 cat > conftest.$ac_ext <<EOF | 10620 cat > conftest.$ac_ext <<EOF |
10620 #line 10621 "configure" | 10621 #line 10622 "configure" |
10621 #include "confdefs.h" | 10622 #include "confdefs.h" |
10622 /* Override any gcc2 internal prototype to avoid an error. */ | 10623 /* Override any gcc2 internal prototype to avoid an error. */ |
10623 /* We use char because int might match the return type of a gcc2 | 10624 /* We use char because int might match the return type of a gcc2 |
10624 builtin and then its argument prototype would still apply. */ | 10625 builtin and then its argument prototype would still apply. */ |
10625 char tgetent(); | 10626 char tgetent(); |
10626 | 10627 |
10627 int main() { | 10628 int main() { |
10628 tgetent() | 10629 tgetent() |
10629 ; return 0; } | 10630 ; return 0; } |
10630 EOF | 10631 EOF |
10631 if { (eval echo configure:10632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10632 if { (eval echo configure:10633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10632 rm -rf conftest* | 10633 rm -rf conftest* |
10633 eval "ac_cv_lib_$ac_lib_var=yes" | 10634 eval "ac_cv_lib_$ac_lib_var=yes" |
10634 else | 10635 else |
10635 echo "configure: failed program was:" >&5 | 10636 echo "configure: failed program was:" >&5 |
10636 cat conftest.$ac_ext >&5 | 10637 cat conftest.$ac_ext >&5 |
10644 echo "$ac_t""yes" 1>&6 | 10645 echo "$ac_t""yes" 1>&6 |
10645 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10646 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10646 else | 10647 else |
10647 echo "$ac_t""no" 1>&6 | 10648 echo "$ac_t""no" 1>&6 |
10648 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10649 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10649 echo "configure:10650: checking for tgetent in -ltermcap" >&5 | 10650 echo "configure:10651: checking for tgetent in -ltermcap" >&5 |
10650 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10651 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10651 | 10652 |
10652 xe_check_libs=" -ltermcap " | 10653 xe_check_libs=" -ltermcap " |
10653 cat > conftest.$ac_ext <<EOF | 10654 cat > conftest.$ac_ext <<EOF |
10654 #line 10655 "configure" | 10655 #line 10656 "configure" |
10655 #include "confdefs.h" | 10656 #include "confdefs.h" |
10656 /* Override any gcc2 internal prototype to avoid an error. */ | 10657 /* Override any gcc2 internal prototype to avoid an error. */ |
10657 /* We use char because int might match the return type of a gcc2 | 10658 /* We use char because int might match the return type of a gcc2 |
10658 builtin and then its argument prototype would still apply. */ | 10659 builtin and then its argument prototype would still apply. */ |
10659 char tgetent(); | 10660 char tgetent(); |
10660 | 10661 |
10661 int main() { | 10662 int main() { |
10662 tgetent() | 10663 tgetent() |
10663 ; return 0; } | 10664 ; return 0; } |
10664 EOF | 10665 EOF |
10665 if { (eval echo configure:10666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10666 if { (eval echo configure:10667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10666 rm -rf conftest* | 10667 rm -rf conftest* |
10667 eval "ac_cv_lib_$ac_lib_var=yes" | 10668 eval "ac_cv_lib_$ac_lib_var=yes" |
10668 else | 10669 else |
10669 echo "configure: failed program was:" >&5 | 10670 echo "configure: failed program was:" >&5 |
10670 cat conftest.$ac_ext >&5 | 10671 cat conftest.$ac_ext >&5 |
10708 } | 10709 } |
10709 | 10710 |
10710 | 10711 |
10711 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10712 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10712 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10713 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10713 echo "configure:10714: checking for gpm.h" >&5 | 10714 echo "configure:10715: checking for gpm.h" >&5 |
10714 | 10715 |
10715 cat > conftest.$ac_ext <<EOF | 10716 cat > conftest.$ac_ext <<EOF |
10716 #line 10717 "configure" | 10717 #line 10718 "configure" |
10717 #include "confdefs.h" | 10718 #include "confdefs.h" |
10718 #include <gpm.h> | 10719 #include <gpm.h> |
10719 EOF | 10720 EOF |
10720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10721 { (eval echo configure:10722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10722 { (eval echo configure:10723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10722 ac_err=`grep -v '^ *+' conftest.out` | 10723 ac_err=`grep -v '^ *+' conftest.out` |
10723 if test -z "$ac_err"; then | 10724 if test -z "$ac_err"; then |
10724 rm -rf conftest* | 10725 rm -rf conftest* |
10725 eval "ac_cv_header_$ac_safe=yes" | 10726 eval "ac_cv_header_$ac_safe=yes" |
10726 else | 10727 else |
10739 with_gpm=no | 10740 with_gpm=no |
10740 fi | 10741 fi |
10741 } | 10742 } |
10742 test -z "$with_gpm" && { | 10743 test -z "$with_gpm" && { |
10743 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10744 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10744 echo "configure:10745: checking for Gpm_Open in -lgpm" >&5 | 10745 echo "configure:10746: checking for Gpm_Open in -lgpm" >&5 |
10745 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10746 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10746 | 10747 |
10747 xe_check_libs=" -lgpm " | 10748 xe_check_libs=" -lgpm " |
10748 cat > conftest.$ac_ext <<EOF | 10749 cat > conftest.$ac_ext <<EOF |
10749 #line 10750 "configure" | 10750 #line 10751 "configure" |
10750 #include "confdefs.h" | 10751 #include "confdefs.h" |
10751 /* Override any gcc2 internal prototype to avoid an error. */ | 10752 /* Override any gcc2 internal prototype to avoid an error. */ |
10752 /* We use char because int might match the return type of a gcc2 | 10753 /* We use char because int might match the return type of a gcc2 |
10753 builtin and then its argument prototype would still apply. */ | 10754 builtin and then its argument prototype would still apply. */ |
10754 char Gpm_Open(); | 10755 char Gpm_Open(); |
10755 | 10756 |
10756 int main() { | 10757 int main() { |
10757 Gpm_Open() | 10758 Gpm_Open() |
10758 ; return 0; } | 10759 ; return 0; } |
10759 EOF | 10760 EOF |
10760 if { (eval echo configure:10761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10761 if { (eval echo configure:10762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10761 rm -rf conftest* | 10762 rm -rf conftest* |
10762 eval "ac_cv_lib_$ac_lib_var=yes" | 10763 eval "ac_cv_lib_$ac_lib_var=yes" |
10763 else | 10764 else |
10764 echo "configure: failed program was:" >&5 | 10765 echo "configure: failed program was:" >&5 |
10765 cat conftest.$ac_ext >&5 | 10766 cat conftest.$ac_ext >&5 |
10804 echo " xemacs will be linked with \"event-unixoid.o\"" | 10805 echo " xemacs will be linked with \"event-unixoid.o\"" |
10805 fi | 10806 fi |
10806 | 10807 |
10807 | 10808 |
10808 echo "checking for database support" 1>&6 | 10809 echo "checking for database support" 1>&6 |
10809 echo "configure:10810: checking for database support" >&5 | 10810 echo "configure:10811: checking for database support" >&5 |
10810 | 10811 |
10811 if test "$with_database_gnudbm" != "no"; then | 10812 if test "$with_database_gnudbm" != "no"; then |
10812 for ac_hdr in ndbm.h | 10813 for ac_hdr in ndbm.h |
10813 do | 10814 do |
10814 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10815 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10815 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10816 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10816 echo "configure:10817: checking for $ac_hdr" >&5 | 10817 echo "configure:10818: checking for $ac_hdr" >&5 |
10817 | 10818 |
10818 cat > conftest.$ac_ext <<EOF | 10819 cat > conftest.$ac_ext <<EOF |
10819 #line 10820 "configure" | 10820 #line 10821 "configure" |
10820 #include "confdefs.h" | 10821 #include "confdefs.h" |
10821 #include <$ac_hdr> | 10822 #include <$ac_hdr> |
10822 EOF | 10823 EOF |
10823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10824 { (eval echo configure:10825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10825 { (eval echo configure:10826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10825 ac_err=`grep -v '^ *+' conftest.out` | 10826 ac_err=`grep -v '^ *+' conftest.out` |
10826 if test -z "$ac_err"; then | 10827 if test -z "$ac_err"; then |
10827 rm -rf conftest* | 10828 rm -rf conftest* |
10828 eval "ac_cv_header_$ac_safe=yes" | 10829 eval "ac_cv_header_$ac_safe=yes" |
10829 else | 10830 else |
10851 done | 10852 done |
10852 | 10853 |
10853 if test "$have_ndbm_h" = "yes"; then | 10854 if test "$have_ndbm_h" = "yes"; then |
10854 | 10855 |
10855 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10856 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10856 echo "configure:10857: checking for dbm_open in -lgdbm" >&5 | 10857 echo "configure:10858: checking for dbm_open in -lgdbm" >&5 |
10857 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10858 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10858 | 10859 |
10859 xe_check_libs=" -lgdbm " | 10860 xe_check_libs=" -lgdbm " |
10860 cat > conftest.$ac_ext <<EOF | 10861 cat > conftest.$ac_ext <<EOF |
10861 #line 10862 "configure" | 10862 #line 10863 "configure" |
10862 #include "confdefs.h" | 10863 #include "confdefs.h" |
10863 /* Override any gcc2 internal prototype to avoid an error. */ | 10864 /* Override any gcc2 internal prototype to avoid an error. */ |
10864 /* We use char because int might match the return type of a gcc2 | 10865 /* We use char because int might match the return type of a gcc2 |
10865 builtin and then its argument prototype would still apply. */ | 10866 builtin and then its argument prototype would still apply. */ |
10866 char dbm_open(); | 10867 char dbm_open(); |
10867 | 10868 |
10868 int main() { | 10869 int main() { |
10869 dbm_open() | 10870 dbm_open() |
10870 ; return 0; } | 10871 ; return 0; } |
10871 EOF | 10872 EOF |
10872 if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10873 if { (eval echo configure:10874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10873 rm -rf conftest* | 10874 rm -rf conftest* |
10874 eval "ac_cv_lib_$ac_lib_var=yes" | 10875 eval "ac_cv_lib_$ac_lib_var=yes" |
10875 else | 10876 else |
10876 echo "configure: failed program was:" >&5 | 10877 echo "configure: failed program was:" >&5 |
10877 cat conftest.$ac_ext >&5 | 10878 cat conftest.$ac_ext >&5 |
10890 | 10891 |
10891 | 10892 |
10892 fi | 10893 fi |
10893 if test "$with_database_gnudbm" != "yes"; then | 10894 if test "$with_database_gnudbm" != "yes"; then |
10894 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10895 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10895 echo "configure:10896: checking for dbm_open" >&5 | 10896 echo "configure:10897: checking for dbm_open" >&5 |
10896 | 10897 |
10897 cat > conftest.$ac_ext <<EOF | 10898 cat > conftest.$ac_ext <<EOF |
10898 #line 10899 "configure" | 10899 #line 10900 "configure" |
10899 #include "confdefs.h" | 10900 #include "confdefs.h" |
10900 /* System header to define __stub macros and hopefully few prototypes, | 10901 /* System header to define __stub macros and hopefully few prototypes, |
10901 which can conflict with char dbm_open(); below. */ | 10902 which can conflict with char dbm_open(); below. */ |
10902 #include <assert.h> | 10903 #include <assert.h> |
10903 /* Override any gcc2 internal prototype to avoid an error. */ | 10904 /* Override any gcc2 internal prototype to avoid an error. */ |
10916 dbm_open(); | 10917 dbm_open(); |
10917 #endif | 10918 #endif |
10918 | 10919 |
10919 ; return 0; } | 10920 ; return 0; } |
10920 EOF | 10921 EOF |
10921 if { (eval echo configure:10922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10922 if { (eval echo configure:10923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10922 rm -rf conftest* | 10923 rm -rf conftest* |
10923 eval "ac_cv_func_dbm_open=yes" | 10924 eval "ac_cv_func_dbm_open=yes" |
10924 else | 10925 else |
10925 echo "configure: failed program was:" >&5 | 10926 echo "configure: failed program was:" >&5 |
10926 cat conftest.$ac_ext >&5 | 10927 cat conftest.$ac_ext >&5 |
10952 fi | 10953 fi |
10953 fi | 10954 fi |
10954 | 10955 |
10955 if test "$with_database_dbm" != "no"; then | 10956 if test "$with_database_dbm" != "no"; then |
10956 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10957 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10957 echo "configure:10958: checking for dbm_open" >&5 | 10958 echo "configure:10959: checking for dbm_open" >&5 |
10958 | 10959 |
10959 cat > conftest.$ac_ext <<EOF | 10960 cat > conftest.$ac_ext <<EOF |
10960 #line 10961 "configure" | 10961 #line 10962 "configure" |
10961 #include "confdefs.h" | 10962 #include "confdefs.h" |
10962 /* System header to define __stub macros and hopefully few prototypes, | 10963 /* System header to define __stub macros and hopefully few prototypes, |
10963 which can conflict with char dbm_open(); below. */ | 10964 which can conflict with char dbm_open(); below. */ |
10964 #include <assert.h> | 10965 #include <assert.h> |
10965 /* Override any gcc2 internal prototype to avoid an error. */ | 10966 /* Override any gcc2 internal prototype to avoid an error. */ |
10978 dbm_open(); | 10979 dbm_open(); |
10979 #endif | 10980 #endif |
10980 | 10981 |
10981 ; return 0; } | 10982 ; return 0; } |
10982 EOF | 10983 EOF |
10983 if { (eval echo configure:10984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10984 if { (eval echo configure:10985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10984 rm -rf conftest* | 10985 rm -rf conftest* |
10985 eval "ac_cv_func_dbm_open=yes" | 10986 eval "ac_cv_func_dbm_open=yes" |
10986 else | 10987 else |
10987 echo "configure: failed program was:" >&5 | 10988 echo "configure: failed program was:" >&5 |
10988 cat conftest.$ac_ext >&5 | 10989 cat conftest.$ac_ext >&5 |
10999 fi | 11000 fi |
11000 | 11001 |
11001 if test "$need_libdbm" != "no"; then | 11002 if test "$need_libdbm" != "no"; then |
11002 | 11003 |
11003 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11004 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11004 echo "configure:11005: checking for dbm_open in -ldbm" >&5 | 11005 echo "configure:11006: checking for dbm_open in -ldbm" >&5 |
11005 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11006 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11006 | 11007 |
11007 xe_check_libs=" -ldbm " | 11008 xe_check_libs=" -ldbm " |
11008 cat > conftest.$ac_ext <<EOF | 11009 cat > conftest.$ac_ext <<EOF |
11009 #line 11010 "configure" | 11010 #line 11011 "configure" |
11010 #include "confdefs.h" | 11011 #include "confdefs.h" |
11011 /* Override any gcc2 internal prototype to avoid an error. */ | 11012 /* Override any gcc2 internal prototype to avoid an error. */ |
11012 /* We use char because int might match the return type of a gcc2 | 11013 /* We use char because int might match the return type of a gcc2 |
11013 builtin and then its argument prototype would still apply. */ | 11014 builtin and then its argument prototype would still apply. */ |
11014 char dbm_open(); | 11015 char dbm_open(); |
11015 | 11016 |
11016 int main() { | 11017 int main() { |
11017 dbm_open() | 11018 dbm_open() |
11018 ; return 0; } | 11019 ; return 0; } |
11019 EOF | 11020 EOF |
11020 if { (eval echo configure:11021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11021 rm -rf conftest* | 11022 rm -rf conftest* |
11022 eval "ac_cv_lib_$ac_lib_var=yes" | 11023 eval "ac_cv_lib_$ac_lib_var=yes" |
11023 else | 11024 else |
11024 echo "configure: failed program was:" >&5 | 11025 echo "configure: failed program was:" >&5 |
11025 cat conftest.$ac_ext >&5 | 11026 cat conftest.$ac_ext >&5 |
11052 fi | 11053 fi |
11053 fi | 11054 fi |
11054 | 11055 |
11055 if test "$with_database_berkdb" != "no"; then | 11056 if test "$with_database_berkdb" != "no"; then |
11056 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11057 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11057 echo "configure:11058: checking for Berkeley db.h" >&5 | 11058 echo "configure:11059: checking for Berkeley db.h" >&5 |
11058 for path in "db/db.h" "db.h"; do | 11059 for path in "db/db.h" "db.h"; do |
11059 cat > conftest.$ac_ext <<EOF | 11060 cat > conftest.$ac_ext <<EOF |
11060 #line 11061 "configure" | 11061 #line 11062 "configure" |
11061 #include "confdefs.h" | 11062 #include "confdefs.h" |
11062 #ifdef HAVE_INTTYPES_H | 11063 #ifdef HAVE_INTTYPES_H |
11063 #define __BIT_TYPES_DEFINED__ | 11064 #define __BIT_TYPES_DEFINED__ |
11064 #include <inttypes.h> | 11065 #include <inttypes.h> |
11065 typedef uint8_t u_int8_t; | 11066 typedef uint8_t u_int8_t; |
11073 | 11074 |
11074 int main() { | 11075 int main() { |
11075 | 11076 |
11076 ; return 0; } | 11077 ; return 0; } |
11077 EOF | 11078 EOF |
11078 if { (eval echo configure:11079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11079 if { (eval echo configure:11080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11079 rm -rf conftest* | 11080 rm -rf conftest* |
11080 db_h_path="$path"; break | 11081 db_h_path="$path"; break |
11081 else | 11082 else |
11082 echo "configure: failed program was:" >&5 | 11083 echo "configure: failed program was:" >&5 |
11083 cat conftest.$ac_ext >&5 | 11084 cat conftest.$ac_ext >&5 |
11089 else echo "$ac_t""$db_h_path" 1>&6 | 11090 else echo "$ac_t""$db_h_path" 1>&6 |
11090 fi | 11091 fi |
11091 | 11092 |
11092 if test "$with_database_berkdb" != "no"; then | 11093 if test "$with_database_berkdb" != "no"; then |
11093 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11094 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11094 echo "configure:11095: checking for Berkeley DB version" >&5 | 11095 echo "configure:11096: checking for Berkeley DB version" >&5 |
11095 cat > conftest.$ac_ext <<EOF | 11096 cat > conftest.$ac_ext <<EOF |
11096 #line 11097 "configure" | 11097 #line 11098 "configure" |
11097 #include "confdefs.h" | 11098 #include "confdefs.h" |
11098 #include <$db_h_path> | 11099 #include <$db_h_path> |
11099 #if DB_VERSION_MAJOR > 1 | 11100 #if DB_VERSION_MAJOR > 1 |
11100 yes | 11101 yes |
11101 #endif | 11102 #endif |
11110 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11111 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11111 fi | 11112 fi |
11112 rm -f conftest* | 11113 rm -f conftest* |
11113 | 11114 |
11114 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11115 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11115 echo "configure:11116: checking for $dbfunc" >&5 | 11116 echo "configure:11117: checking for $dbfunc" >&5 |
11116 | 11117 |
11117 cat > conftest.$ac_ext <<EOF | 11118 cat > conftest.$ac_ext <<EOF |
11118 #line 11119 "configure" | 11119 #line 11120 "configure" |
11119 #include "confdefs.h" | 11120 #include "confdefs.h" |
11120 /* System header to define __stub macros and hopefully few prototypes, | 11121 /* System header to define __stub macros and hopefully few prototypes, |
11121 which can conflict with char $dbfunc(); below. */ | 11122 which can conflict with char $dbfunc(); below. */ |
11122 #include <assert.h> | 11123 #include <assert.h> |
11123 /* Override any gcc2 internal prototype to avoid an error. */ | 11124 /* Override any gcc2 internal prototype to avoid an error. */ |
11136 $dbfunc(); | 11137 $dbfunc(); |
11137 #endif | 11138 #endif |
11138 | 11139 |
11139 ; return 0; } | 11140 ; return 0; } |
11140 EOF | 11141 EOF |
11141 if { (eval echo configure:11142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11142 if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11142 rm -rf conftest* | 11143 rm -rf conftest* |
11143 eval "ac_cv_func_$dbfunc=yes" | 11144 eval "ac_cv_func_$dbfunc=yes" |
11144 else | 11145 else |
11145 echo "configure: failed program was:" >&5 | 11146 echo "configure: failed program was:" >&5 |
11146 cat conftest.$ac_ext >&5 | 11147 cat conftest.$ac_ext >&5 |
11155 else | 11156 else |
11156 echo "$ac_t""no" 1>&6 | 11157 echo "$ac_t""no" 1>&6 |
11157 | 11158 |
11158 | 11159 |
11159 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11160 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11160 echo "configure:11161: checking for $dbfunc in -ldb" >&5 | 11161 echo "configure:11162: checking for $dbfunc in -ldb" >&5 |
11161 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11162 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11162 | 11163 |
11163 xe_check_libs=" -ldb " | 11164 xe_check_libs=" -ldb " |
11164 cat > conftest.$ac_ext <<EOF | 11165 cat > conftest.$ac_ext <<EOF |
11165 #line 11166 "configure" | 11166 #line 11167 "configure" |
11166 #include "confdefs.h" | 11167 #include "confdefs.h" |
11167 /* Override any gcc2 internal prototype to avoid an error. */ | 11168 /* Override any gcc2 internal prototype to avoid an error. */ |
11168 /* We use char because int might match the return type of a gcc2 | 11169 /* We use char because int might match the return type of a gcc2 |
11169 builtin and then its argument prototype would still apply. */ | 11170 builtin and then its argument prototype would still apply. */ |
11170 char $dbfunc(); | 11171 char $dbfunc(); |
11171 | 11172 |
11172 int main() { | 11173 int main() { |
11173 $dbfunc() | 11174 $dbfunc() |
11174 ; return 0; } | 11175 ; return 0; } |
11175 EOF | 11176 EOF |
11176 if { (eval echo configure:11177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11177 if { (eval echo configure:11178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11177 rm -rf conftest* | 11178 rm -rf conftest* |
11178 eval "ac_cv_lib_$ac_lib_var=yes" | 11179 eval "ac_cv_lib_$ac_lib_var=yes" |
11179 else | 11180 else |
11180 echo "configure: failed program was:" >&5 | 11181 echo "configure: failed program was:" >&5 |
11181 cat conftest.$ac_ext >&5 | 11182 cat conftest.$ac_ext >&5 |
11235 fi | 11236 fi |
11236 | 11237 |
11237 if test "$with_socks" = "yes"; then | 11238 if test "$with_socks" = "yes"; then |
11238 | 11239 |
11239 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11240 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11240 echo "configure:11241: checking for SOCKSinit in -lsocks" >&5 | 11241 echo "configure:11242: checking for SOCKSinit in -lsocks" >&5 |
11241 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11242 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11242 | 11243 |
11243 xe_check_libs=" -lsocks " | 11244 xe_check_libs=" -lsocks " |
11244 cat > conftest.$ac_ext <<EOF | 11245 cat > conftest.$ac_ext <<EOF |
11245 #line 11246 "configure" | 11246 #line 11247 "configure" |
11246 #include "confdefs.h" | 11247 #include "confdefs.h" |
11247 /* Override any gcc2 internal prototype to avoid an error. */ | 11248 /* Override any gcc2 internal prototype to avoid an error. */ |
11248 /* We use char because int might match the return type of a gcc2 | 11249 /* We use char because int might match the return type of a gcc2 |
11249 builtin and then its argument prototype would still apply. */ | 11250 builtin and then its argument prototype would still apply. */ |
11250 char SOCKSinit(); | 11251 char SOCKSinit(); |
11251 | 11252 |
11252 int main() { | 11253 int main() { |
11253 SOCKSinit() | 11254 SOCKSinit() |
11254 ; return 0; } | 11255 ; return 0; } |
11255 EOF | 11256 EOF |
11256 if { (eval echo configure:11257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11257 if { (eval echo configure:11258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11257 rm -rf conftest* | 11258 rm -rf conftest* |
11258 eval "ac_cv_lib_$ac_lib_var=yes" | 11259 eval "ac_cv_lib_$ac_lib_var=yes" |
11259 else | 11260 else |
11260 echo "configure: failed program was:" >&5 | 11261 echo "configure: failed program was:" >&5 |
11261 cat conftest.$ac_ext >&5 | 11262 cat conftest.$ac_ext >&5 |
11304 } | 11305 } |
11305 | 11306 |
11306 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 11307 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
11307 fi | 11308 fi |
11308 | 11309 |
11310 test -z "$with_shlib" && test "$opsys $machine" = "cygwin32 intel386" && with_shlib=no | |
11311 | |
11309 for ac_hdr in dlfcn.h | 11312 for ac_hdr in dlfcn.h |
11310 do | 11313 do |
11311 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11314 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11313 echo "configure:11314: checking for $ac_hdr" >&5 | 11316 echo "configure:11317: checking for $ac_hdr" >&5 |
11314 | 11317 |
11315 cat > conftest.$ac_ext <<EOF | 11318 cat > conftest.$ac_ext <<EOF |
11316 #line 11317 "configure" | 11319 #line 11320 "configure" |
11317 #include "confdefs.h" | 11320 #include "confdefs.h" |
11318 #include <$ac_hdr> | 11321 #include <$ac_hdr> |
11319 EOF | 11322 EOF |
11320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11321 { (eval echo configure:11322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11324 { (eval echo configure:11325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11322 ac_err=`grep -v '^ *+' conftest.out` | 11325 ac_err=`grep -v '^ *+' conftest.out` |
11323 if test -z "$ac_err"; then | 11326 if test -z "$ac_err"; then |
11324 rm -rf conftest* | 11327 rm -rf conftest* |
11325 eval "ac_cv_header_$ac_safe=yes" | 11328 eval "ac_cv_header_$ac_safe=yes" |
11326 else | 11329 else |
11347 fi | 11350 fi |
11348 done | 11351 done |
11349 | 11352 |
11350 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11353 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11351 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11354 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11352 echo "configure:11353: checking for dlopen in -ldl" >&5 | 11355 echo "configure:11356: checking for dlopen in -ldl" >&5 |
11353 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11356 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11354 | 11357 |
11355 xe_check_libs=" -ldl " | 11358 xe_check_libs=" -ldl " |
11356 cat > conftest.$ac_ext <<EOF | 11359 cat > conftest.$ac_ext <<EOF |
11357 #line 11358 "configure" | 11360 #line 11361 "configure" |
11358 #include "confdefs.h" | 11361 #include "confdefs.h" |
11359 /* Override any gcc2 internal prototype to avoid an error. */ | 11362 /* Override any gcc2 internal prototype to avoid an error. */ |
11360 /* We use char because int might match the return type of a gcc2 | 11363 /* We use char because int might match the return type of a gcc2 |
11361 builtin and then its argument prototype would still apply. */ | 11364 builtin and then its argument prototype would still apply. */ |
11362 char dlopen(); | 11365 char dlopen(); |
11363 | 11366 |
11364 int main() { | 11367 int main() { |
11365 dlopen() | 11368 dlopen() |
11366 ; return 0; } | 11369 ; return 0; } |
11367 EOF | 11370 EOF |
11368 if { (eval echo configure:11369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11371 if { (eval echo configure:11372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11369 rm -rf conftest* | 11372 rm -rf conftest* |
11370 eval "ac_cv_lib_$ac_lib_var=yes" | 11373 eval "ac_cv_lib_$ac_lib_var=yes" |
11371 else | 11374 else |
11372 echo "configure: failed program was:" >&5 | 11375 echo "configure: failed program was:" >&5 |
11373 cat conftest.$ac_ext >&5 | 11376 cat conftest.$ac_ext >&5 |
11392 fi | 11395 fi |
11393 | 11396 |
11394 } | 11397 } |
11395 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11398 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11396 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11399 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11397 echo "configure:11398: checking for _dlopen in -lc" >&5 | 11400 echo "configure:11401: checking for _dlopen in -lc" >&5 |
11398 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11401 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11399 | 11402 |
11400 xe_check_libs=" -lc " | 11403 xe_check_libs=" -lc " |
11401 cat > conftest.$ac_ext <<EOF | 11404 cat > conftest.$ac_ext <<EOF |
11402 #line 11403 "configure" | 11405 #line 11406 "configure" |
11403 #include "confdefs.h" | 11406 #include "confdefs.h" |
11404 /* Override any gcc2 internal prototype to avoid an error. */ | 11407 /* Override any gcc2 internal prototype to avoid an error. */ |
11405 /* We use char because int might match the return type of a gcc2 | 11408 /* We use char because int might match the return type of a gcc2 |
11406 builtin and then its argument prototype would still apply. */ | 11409 builtin and then its argument prototype would still apply. */ |
11407 char _dlopen(); | 11410 char _dlopen(); |
11408 | 11411 |
11409 int main() { | 11412 int main() { |
11410 _dlopen() | 11413 _dlopen() |
11411 ; return 0; } | 11414 ; return 0; } |
11412 EOF | 11415 EOF |
11413 if { (eval echo configure:11414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11416 if { (eval echo configure:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11414 rm -rf conftest* | 11417 rm -rf conftest* |
11415 eval "ac_cv_lib_$ac_lib_var=yes" | 11418 eval "ac_cv_lib_$ac_lib_var=yes" |
11416 else | 11419 else |
11417 echo "configure: failed program was:" >&5 | 11420 echo "configure: failed program was:" >&5 |
11418 cat conftest.$ac_ext >&5 | 11421 cat conftest.$ac_ext >&5 |
11437 fi | 11440 fi |
11438 | 11441 |
11439 } | 11442 } |
11440 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11443 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11441 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11444 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11442 echo "configure:11443: checking for dlopen in -lc" >&5 | 11445 echo "configure:11446: checking for dlopen in -lc" >&5 |
11443 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11446 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11444 | 11447 |
11445 xe_check_libs=" -lc " | 11448 xe_check_libs=" -lc " |
11446 cat > conftest.$ac_ext <<EOF | 11449 cat > conftest.$ac_ext <<EOF |
11447 #line 11448 "configure" | 11450 #line 11451 "configure" |
11448 #include "confdefs.h" | 11451 #include "confdefs.h" |
11449 /* Override any gcc2 internal prototype to avoid an error. */ | 11452 /* Override any gcc2 internal prototype to avoid an error. */ |
11450 /* We use char because int might match the return type of a gcc2 | 11453 /* We use char because int might match the return type of a gcc2 |
11451 builtin and then its argument prototype would still apply. */ | 11454 builtin and then its argument prototype would still apply. */ |
11452 char dlopen(); | 11455 char dlopen(); |
11453 | 11456 |
11454 int main() { | 11457 int main() { |
11455 dlopen() | 11458 dlopen() |
11456 ; return 0; } | 11459 ; return 0; } |
11457 EOF | 11460 EOF |
11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11461 if { (eval echo configure:11462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11459 rm -rf conftest* | 11462 rm -rf conftest* |
11460 eval "ac_cv_lib_$ac_lib_var=yes" | 11463 eval "ac_cv_lib_$ac_lib_var=yes" |
11461 else | 11464 else |
11462 echo "configure: failed program was:" >&5 | 11465 echo "configure: failed program was:" >&5 |
11463 cat conftest.$ac_ext >&5 | 11466 cat conftest.$ac_ext >&5 |
11482 fi | 11485 fi |
11483 | 11486 |
11484 } | 11487 } |
11485 test -z "$with_shlib" && { | 11488 test -z "$with_shlib" && { |
11486 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11489 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11487 echo "configure:11488: checking for shl_load in -ldld" >&5 | 11490 echo "configure:11491: checking for shl_load in -ldld" >&5 |
11488 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11491 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11489 | 11492 |
11490 xe_check_libs=" -ldld " | 11493 xe_check_libs=" -ldld " |
11491 cat > conftest.$ac_ext <<EOF | 11494 cat > conftest.$ac_ext <<EOF |
11492 #line 11493 "configure" | 11495 #line 11496 "configure" |
11493 #include "confdefs.h" | 11496 #include "confdefs.h" |
11494 /* Override any gcc2 internal prototype to avoid an error. */ | 11497 /* Override any gcc2 internal prototype to avoid an error. */ |
11495 /* We use char because int might match the return type of a gcc2 | 11498 /* We use char because int might match the return type of a gcc2 |
11496 builtin and then its argument prototype would still apply. */ | 11499 builtin and then its argument prototype would still apply. */ |
11497 char shl_load(); | 11500 char shl_load(); |
11498 | 11501 |
11499 int main() { | 11502 int main() { |
11500 shl_load() | 11503 shl_load() |
11501 ; return 0; } | 11504 ; return 0; } |
11502 EOF | 11505 EOF |
11503 if { (eval echo configure:11504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11506 if { (eval echo configure:11507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11504 rm -rf conftest* | 11507 rm -rf conftest* |
11505 eval "ac_cv_lib_$ac_lib_var=yes" | 11508 eval "ac_cv_lib_$ac_lib_var=yes" |
11506 else | 11509 else |
11507 echo "configure: failed program was:" >&5 | 11510 echo "configure: failed program was:" >&5 |
11508 cat conftest.$ac_ext >&5 | 11511 cat conftest.$ac_ext >&5 |
11527 fi | 11530 fi |
11528 | 11531 |
11529 } | 11532 } |
11530 test -z "$with_shlib" && { | 11533 test -z "$with_shlib" && { |
11531 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11534 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11532 echo "configure:11533: checking for dld_init in -ldld" >&5 | 11535 echo "configure:11536: checking for dld_init in -ldld" >&5 |
11533 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11536 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11534 | 11537 |
11535 xe_check_libs=" -ldld " | 11538 xe_check_libs=" -ldld " |
11536 cat > conftest.$ac_ext <<EOF | 11539 cat > conftest.$ac_ext <<EOF |
11537 #line 11538 "configure" | 11540 #line 11541 "configure" |
11538 #include "confdefs.h" | 11541 #include "confdefs.h" |
11539 /* Override any gcc2 internal prototype to avoid an error. */ | 11542 /* Override any gcc2 internal prototype to avoid an error. */ |
11540 /* We use char because int might match the return type of a gcc2 | 11543 /* We use char because int might match the return type of a gcc2 |
11541 builtin and then its argument prototype would still apply. */ | 11544 builtin and then its argument prototype would still apply. */ |
11542 char dld_init(); | 11545 char dld_init(); |
11543 | 11546 |
11544 int main() { | 11547 int main() { |
11545 dld_init() | 11548 dld_init() |
11546 ; return 0; } | 11549 ; return 0; } |
11547 EOF | 11550 EOF |
11548 if { (eval echo configure:11549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11551 if { (eval echo configure:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11549 rm -rf conftest* | 11552 rm -rf conftest* |
11550 eval "ac_cv_lib_$ac_lib_var=yes" | 11553 eval "ac_cv_lib_$ac_lib_var=yes" |
11551 else | 11554 else |
11552 echo "configure: failed program was:" >&5 | 11555 echo "configure: failed program was:" >&5 |
11553 cat conftest.$ac_ext >&5 | 11556 cat conftest.$ac_ext >&5 |
11593 dll_lflags="-shared" | 11596 dll_lflags="-shared" |
11594 dll_cflags="-r" | 11597 dll_cflags="-r" |
11595 dll_oflags="-o " | 11598 dll_oflags="-o " |
11596 | 11599 |
11597 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11600 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11598 echo "configure:11599: checking how to build a shared library" >&5 | 11601 echo "configure:11602: checking how to build a shared library" >&5 |
11599 case `uname -rs` in | 11602 case `uname -rs` in |
11600 UNIX_SV*|UNIX_System_V*) | 11603 UNIX_SV*|UNIX_System_V*) |
11601 dll_lflags="-G" | 11604 dll_lflags="-G" |
11602 dll_cflags=-Kpic | 11605 dll_cflags=-Kpic |
11603 dll_ld="ld" | 11606 dll_ld="ld" |
11684 | 11687 |
11685 | 11688 |
11686 for ac_func in dlerror | 11689 for ac_func in dlerror |
11687 do | 11690 do |
11688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11689 echo "configure:11690: checking for $ac_func" >&5 | 11692 echo "configure:11693: checking for $ac_func" >&5 |
11690 | 11693 |
11691 cat > conftest.$ac_ext <<EOF | 11694 cat > conftest.$ac_ext <<EOF |
11692 #line 11693 "configure" | 11695 #line 11696 "configure" |
11693 #include "confdefs.h" | 11696 #include "confdefs.h" |
11694 /* System header to define __stub macros and hopefully few prototypes, | 11697 /* System header to define __stub macros and hopefully few prototypes, |
11695 which can conflict with char $ac_func(); below. */ | 11698 which can conflict with char $ac_func(); below. */ |
11696 #include <assert.h> | 11699 #include <assert.h> |
11697 /* Override any gcc2 internal prototype to avoid an error. */ | 11700 /* Override any gcc2 internal prototype to avoid an error. */ |
11710 $ac_func(); | 11713 $ac_func(); |
11711 #endif | 11714 #endif |
11712 | 11715 |
11713 ; return 0; } | 11716 ; return 0; } |
11714 EOF | 11717 EOF |
11715 if { (eval echo configure:11716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11718 if { (eval echo configure:11719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11716 rm -rf conftest* | 11719 rm -rf conftest* |
11717 eval "ac_cv_func_$ac_func=yes" | 11720 eval "ac_cv_func_$ac_func=yes" |
11718 else | 11721 else |
11719 echo "configure: failed program was:" >&5 | 11722 echo "configure: failed program was:" >&5 |
11720 cat conftest.$ac_ext >&5 | 11723 cat conftest.$ac_ext >&5 |
11746 *) ;; | 11749 *) ;; |
11747 esac | 11750 esac |
11748 fi | 11751 fi |
11749 | 11752 |
11750 cat > conftest.$ac_ext <<EOF | 11753 cat > conftest.$ac_ext <<EOF |
11751 #line 11752 "configure" | 11754 #line 11755 "configure" |
11752 #include "confdefs.h" | 11755 #include "confdefs.h" |
11753 int main(int c,char *v[]){return 0;} | 11756 int main(int c,char *v[]){return 0;} |
11754 EOF | 11757 EOF |
11755 if { (eval echo configure:11756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11758 if { (eval echo configure:11759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11756 then | 11759 then |
11757 : | 11760 : |
11758 else | 11761 else |
11759 conftest_rc="$?" | 11762 conftest_rc="$?" |
11760 echo "configure: failed program was:" >&5 | 11763 echo "configure: failed program was:" >&5 |