/[emacs]/emacs/configure
ViewVC logotype

Diff of /emacs/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.95 by rost, Wed Sep 11 15:48:27 2002 UTC revision 1.96 by rms, Fri Sep 20 13:07:44 2002 UTC
# Line 6208  fi Line 6208  fi
6208  echo "$as_me:6208: result: $HAVE_XFREE386" >&5  echo "$as_me:6208: result: $HAVE_XFREE386" >&5
6209  echo "${ECHO_T}$HAVE_XFREE386" >&6  echo "${ECHO_T}$HAVE_XFREE386" >&6
6210    
6211  # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used  # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets
6212  # for the tests that follow.  We set it back to REAL_CFLAGS later on.  # used for the tests that follow.  We set them back to REAL_CFLAGS and
6213    # REAL_CPPFLAGS later on.
6214    
6215  REAL_CPPFLAGS="$CPPFLAGS"  REAL_CPPFLAGS="$CPPFLAGS"
6216    
# Line 6230  if test "${HAVE_X11}" = "yes"; then Line 6231  if test "${HAVE_X11}" = "yes"; then
6231    fi    fi
6232    
6233    if test "${opsys}" = "gnu-linux"; then    if test "${opsys}" = "gnu-linux"; then
6234      echo "$as_me:6233: checking whether X on GNU/Linux needs -b to link" >&5      echo "$as_me:6234: checking whether X on GNU/Linux needs -b to link" >&5
6235  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6  echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
6236      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
6237  #line 6236 "configure"  #line 6237 "configure"
6238  #include "confdefs.h"  #include "confdefs.h"
6239    
6240  int  int
# Line 6245  XOpenDisplay ("foo"); Line 6246  XOpenDisplay ("foo");
6246  }  }
6247  _ACEOF  _ACEOF
6248  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6249  if { (eval echo "$as_me:6248: \"$ac_link\"") >&5  if { (eval echo "$as_me:6249: \"$ac_link\"") >&5
6250    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6251    ac_status=$?    ac_status=$?
6252    echo "$as_me:6251: \$? = $ac_status" >&5    echo "$as_me:6252: \$? = $ac_status" >&5
6253    (exit $ac_status); } &&    (exit $ac_status); } &&
6254           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6255    { (eval echo "$as_me:6254: \"$ac_try\"") >&5    { (eval echo "$as_me:6255: \"$ac_try\"") >&5
6256    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6257    ac_status=$?    ac_status=$?
6258    echo "$as_me:6257: \$? = $ac_status" >&5    echo "$as_me:6258: \$? = $ac_status" >&5
6259    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6260    xlinux_first_failure=no    xlinux_first_failure=no
6261  else  else
# Line 6273  rm -f conftest.$ac_objext conftest$ac_ex Line 6274  rm -f conftest.$ac_objext conftest$ac_ex
6274        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"        CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
6275        LIBS="$LIBS -b i486-linuxaout"        LIBS="$LIBS -b i486-linuxaout"
6276        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
6277  #line 6276 "configure"  #line 6277 "configure"
6278  #include "confdefs.h"  #include "confdefs.h"
6279    
6280  int  int
# Line 6285  XOpenDisplay ("foo"); Line 6286  XOpenDisplay ("foo");
6286  }  }
6287  _ACEOF  _ACEOF
6288  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6289  if { (eval echo "$as_me:6288: \"$ac_link\"") >&5  if { (eval echo "$as_me:6289: \"$ac_link\"") >&5
6290    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6291    ac_status=$?    ac_status=$?
6292    echo "$as_me:6291: \$? = $ac_status" >&5    echo "$as_me:6292: \$? = $ac_status" >&5
6293    (exit $ac_status); } &&    (exit $ac_status); } &&
6294           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6295    { (eval echo "$as_me:6294: \"$ac_try\"") >&5    { (eval echo "$as_me:6295: \"$ac_try\"") >&5
6296    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6297    ac_status=$?    ac_status=$?
6298    echo "$as_me:6297: \$? = $ac_status" >&5    echo "$as_me:6298: \$? = $ac_status" >&5
6299    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6300    xlinux_second_failure=no    xlinux_second_failure=no
6301  else  else
# Line 6310  rm -f conftest.$ac_objext conftest$ac_ex Line 6311  rm -f conftest.$ac_objext conftest$ac_ex
6311          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"          C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
6312          CPPFLAGS="$OLD_CPPFLAGS"          CPPFLAGS="$OLD_CPPFLAGS"
6313          LIBS="$OLD_LIBS"          LIBS="$OLD_LIBS"
6314          echo "$as_me:6313: result: no" >&5          echo "$as_me:6314: result: no" >&5
6315  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6316        else        else
6317          echo "$as_me:6316: result: yes" >&5          echo "$as_me:6317: result: yes" >&5
6318  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
6319        fi        fi
6320      else      else
6321        echo "$as_me:6320: result: no" >&5        echo "$as_me:6321: result: no" >&5
6322  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6323      fi      fi
6324    fi    fi
6325    
6326    # Reportedly, some broken Solaris systems have XKBlib.h but are missing    # Reportedly, some broken Solaris systems have XKBlib.h but are missing
6327    # header files included from there.    # header files included from there.
6328    echo "$as_me:6327: checking for Xkb" >&5    echo "$as_me:6328: checking for Xkb" >&5
6329  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6  echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
6330    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6331  #line 6330 "configure"  #line 6331 "configure"
6332  #include "confdefs.h"  #include "confdefs.h"
6333  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6334  #include <X11/XKBlib.h>  #include <X11/XKBlib.h>
# Line 6340  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl Line 6341  XkbDescPtr kb = XkbGetKeyboard (0, XkbAl
6341  }  }
6342  _ACEOF  _ACEOF
6343  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6344  if { (eval echo "$as_me:6343: \"$ac_link\"") >&5  if { (eval echo "$as_me:6344: \"$ac_link\"") >&5
6345    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6346    ac_status=$?    ac_status=$?
6347    echo "$as_me:6346: \$? = $ac_status" >&5    echo "$as_me:6347: \$? = $ac_status" >&5
6348    (exit $ac_status); } &&    (exit $ac_status); } &&
6349           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6350    { (eval echo "$as_me:6349: \"$ac_try\"") >&5    { (eval echo "$as_me:6350: \"$ac_try\"") >&5
6351    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6352    ac_status=$?    ac_status=$?
6353    echo "$as_me:6352: \$? = $ac_status" >&5    echo "$as_me:6353: \$? = $ac_status" >&5
6354    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6355    emacs_xkb=yes    emacs_xkb=yes
6356  else  else
# Line 6358  cat conftest.$ac_ext >&5 Line 6359  cat conftest.$ac_ext >&5
6359  emacs_xkb=no  emacs_xkb=no
6360  fi  fi
6361  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6362    echo "$as_me:6361: result: $emacs_xkb" >&5    echo "$as_me:6362: result: $emacs_xkb" >&5
6363  echo "${ECHO_T}$emacs_xkb" >&6  echo "${ECHO_T}$emacs_xkb" >&6
6364    if test $emacs_xkb = yes; then    if test $emacs_xkb = yes; then
6365    
# Line 6372  for ac_func in XrmSetDatabase XScreenRes Line 6373  for ac_func in XrmSetDatabase XScreenRes
6373  XScreenNumberOfScreen XSetWMProtocols  XScreenNumberOfScreen XSetWMProtocols
6374  do  do
6375  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6376  echo "$as_me:6375: checking for $ac_func" >&5  echo "$as_me:6376: checking for $ac_func" >&5
6377  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6378  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
6379    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6380  else  else
6381    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6382  #line 6381 "configure"  #line 6382 "configure"
6383  #include "confdefs.h"  #include "confdefs.h"
6384  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6385      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 6409  f = $ac_func; Line 6410  f = $ac_func;
6410  }  }
6411  _ACEOF  _ACEOF
6412  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6413  if { (eval echo "$as_me:6412: \"$ac_link\"") >&5  if { (eval echo "$as_me:6413: \"$ac_link\"") >&5
6414    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6415    ac_status=$?    ac_status=$?
6416    echo "$as_me:6415: \$? = $ac_status" >&5    echo "$as_me:6416: \$? = $ac_status" >&5
6417    (exit $ac_status); } &&    (exit $ac_status); } &&
6418           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6419    { (eval echo "$as_me:6418: \"$ac_try\"") >&5    { (eval echo "$as_me:6419: \"$ac_try\"") >&5
6420    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6421    ac_status=$?    ac_status=$?
6422    echo "$as_me:6421: \$? = $ac_status" >&5    echo "$as_me:6422: \$? = $ac_status" >&5
6423    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6424    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6425  else  else
# Line 6428  eval "$as_ac_var=no" Line 6429  eval "$as_ac_var=no"
6429  fi  fi
6430  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6431  fi  fi
6432  echo "$as_me:6431: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:6432: result: `eval echo '${'$as_ac_var'}'`" >&5
6433  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6434  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
6435    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6441  done Line 6442  done
6442  fi  fi
6443    
6444  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6445    echo "$as_me:6444: checking X11 version 6" >&5    echo "$as_me:6445: checking X11 version 6" >&5
6446  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
6447    if test "${emacs_cv_x11_version_6+set}" = set; then    if test "${emacs_cv_x11_version_6+set}" = set; then
6448    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6449  else  else
6450    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6451  #line 6450 "configure"  #line 6451 "configure"
6452  #include "confdefs.h"  #include "confdefs.h"
6453  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6454  int  int
# Line 6462  fail; Line 6463  fail;
6463  }  }
6464  _ACEOF  _ACEOF
6465  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6466  if { (eval echo "$as_me:6465: \"$ac_link\"") >&5  if { (eval echo "$as_me:6466: \"$ac_link\"") >&5
6467    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6468    ac_status=$?    ac_status=$?
6469    echo "$as_me:6468: \$? = $ac_status" >&5    echo "$as_me:6469: \$? = $ac_status" >&5
6470    (exit $ac_status); } &&    (exit $ac_status); } &&
6471           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6472    { (eval echo "$as_me:6471: \"$ac_try\"") >&5    { (eval echo "$as_me:6472: \"$ac_try\"") >&5
6473    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6474    ac_status=$?    ac_status=$?
6475    echo "$as_me:6474: \$? = $ac_status" >&5    echo "$as_me:6475: \$? = $ac_status" >&5
6476    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6477    emacs_cv_x11_version_6=yes    emacs_cv_x11_version_6=yes
6478  else  else
# Line 6483  rm -f conftest.$ac_objext conftest$ac_ex Line 6484  rm -f conftest.$ac_objext conftest$ac_ex
6484  fi  fi
6485    
6486    if test $emacs_cv_x11_version_6 = yes; then    if test $emacs_cv_x11_version_6 = yes; then
6487      echo "$as_me:6486: result: 6 or newer" >&5      echo "$as_me:6487: result: 6 or newer" >&5
6488  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6489    
6490  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 6491  cat >>confdefs.h <<\EOF Line 6492  cat >>confdefs.h <<\EOF
6492  EOF  EOF
6493    
6494    else    else
6495      echo "$as_me:6494: result: before 6" >&5      echo "$as_me:6495: result: before 6" >&5
6496  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6497    fi    fi
6498  fi  fi
6499    
6500  if test "${window_system}" = "x11"; then  if test "${window_system}" = "x11"; then
6501    echo "$as_me:6500: checking X11 version 5" >&5    echo "$as_me:6501: checking X11 version 5" >&5
6502  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
6503    if test "${emacs_cv_x11_version_5+set}" = set; then    if test "${emacs_cv_x11_version_5+set}" = set; then
6504    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6505  else  else
6506    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6507  #line 6506 "configure"  #line 6507 "configure"
6508  #include "confdefs.h"  #include "confdefs.h"
6509  #include <X11/Xlib.h>  #include <X11/Xlib.h>
6510  int  int
# Line 6518  fail; Line 6519  fail;
6519  }  }
6520  _ACEOF  _ACEOF
6521  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6522  if { (eval echo "$as_me:6521: \"$ac_link\"") >&5  if { (eval echo "$as_me:6522: \"$ac_link\"") >&5
6523    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6524    ac_status=$?    ac_status=$?
6525    echo "$as_me:6524: \$? = $ac_status" >&5    echo "$as_me:6525: \$? = $ac_status" >&5
6526    (exit $ac_status); } &&    (exit $ac_status); } &&
6527           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6528    { (eval echo "$as_me:6527: \"$ac_try\"") >&5    { (eval echo "$as_me:6528: \"$ac_try\"") >&5
6529    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6530    ac_status=$?    ac_status=$?
6531    echo "$as_me:6530: \$? = $ac_status" >&5    echo "$as_me:6531: \$? = $ac_status" >&5
6532    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6533    emacs_cv_x11_version_5=yes    emacs_cv_x11_version_5=yes
6534  else  else
# Line 6539  rm -f conftest.$ac_objext conftest$ac_ex Line 6540  rm -f conftest.$ac_objext conftest$ac_ex
6540  fi  fi
6541    
6542    if test $emacs_cv_x11_version_5 = yes; then    if test $emacs_cv_x11_version_5 = yes; then
6543      echo "$as_me:6542: result: 5 or newer" >&5      echo "$as_me:6543: result: 5 or newer" >&5
6544  echo "${ECHO_T}5 or newer" >&6  echo "${ECHO_T}5 or newer" >&6
6545      HAVE_X11R5=yes      HAVE_X11R5=yes
6546    
# Line 6549  EOF Line 6550  EOF
6550    
6551    else    else
6552      HAVE_X11R5=no      HAVE_X11R5=no
6553      echo "$as_me:6552: result: before 5" >&5      echo "$as_me:6553: result: before 5" >&5
6554  echo "${ECHO_T}before 5" >&6  echo "${ECHO_T}before 5" >&6
6555    fi    fi
6556  fi  fi
6557    
6558  if test x"${USE_X_TOOLKIT}" = xmaybe; then  if test x"${USE_X_TOOLKIT}" = xmaybe; then
6559    if test x"${HAVE_X11R5}" = xyes; then    if test x"${HAVE_X11R5}" = xyes; then
6560      echo "$as_me:6559: checking X11 version 5 with Xaw" >&5      echo "$as_me:6560: checking X11 version 5 with Xaw" >&5
6561  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6  echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
6562      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then      if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
6563    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6564  else  else
6565    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6566  #line 6565 "configure"  #line 6566 "configure"
6567  #include "confdefs.h"  #include "confdefs.h"
6568    
6569  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
# Line 6576  main () Line 6577  main ()
6577  }  }
6578  _ACEOF  _ACEOF
6579  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6580  if { (eval echo "$as_me:6579: \"$ac_link\"") >&5  if { (eval echo "$as_me:6580: \"$ac_link\"") >&5
6581    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6582    ac_status=$?    ac_status=$?
6583    echo "$as_me:6582: \$? = $ac_status" >&5    echo "$as_me:6583: \$? = $ac_status" >&5
6584    (exit $ac_status); } &&    (exit $ac_status); } &&
6585           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6586    { (eval echo "$as_me:6585: \"$ac_try\"") >&5    { (eval echo "$as_me:6586: \"$ac_try\"") >&5
6587    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6588    ac_status=$?    ac_status=$?
6589    echo "$as_me:6588: \$? = $ac_status" >&5    echo "$as_me:6589: \$? = $ac_status" >&5
6590    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6591    emacs_cv_x11_version_5_with_xaw=yes    emacs_cv_x11_version_5_with_xaw=yes
6592  else  else
# Line 6597  rm -f conftest.$ac_objext conftest$ac_ex Line 6598  rm -f conftest.$ac_objext conftest$ac_ex
6598  fi  fi
6599    
6600      if test $emacs_cv_x11_version_5_with_xaw = yes; then      if test $emacs_cv_x11_version_5_with_xaw = yes; then
6601        echo "$as_me:6600: result: 5 or newer, with Xaw; use toolkit by default" >&5        echo "$as_me:6601: result: 5 or newer, with Xaw; use toolkit by default" >&5
6602  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6  echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
6603        USE_X_TOOLKIT=LUCID        USE_X_TOOLKIT=LUCID
6604      else      else
6605        echo "$as_me:6604: result: before 5 or no Xaw; do not use toolkit by default" >&5        echo "$as_me:6605: result: before 5 or no Xaw; do not use toolkit by default" >&5
6606  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6  echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
6607        USE_X_TOOLKIT=none        USE_X_TOOLKIT=none
6608      fi      fi
# Line 6613  fi Line 6614  fi
6614  X_TOOLKIT_TYPE=$USE_X_TOOLKIT  X_TOOLKIT_TYPE=$USE_X_TOOLKIT
6615    
6616  if test "${USE_X_TOOLKIT}" != "none"; then  if test "${USE_X_TOOLKIT}" != "none"; then
6617    echo "$as_me:6616: checking X11 toolkit version" >&5    echo "$as_me:6617: checking X11 toolkit version" >&5
6618  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6  echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
6619    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then    if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
6620    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6621  else  else
6622    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6623  #line 6622 "configure"  #line 6623 "configure"
6624  #include "confdefs.h"  #include "confdefs.h"
6625  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
6626  int  int
# Line 6634  fail; Line 6635  fail;
6635  }  }
6636  _ACEOF  _ACEOF
6637  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6638  if { (eval echo "$as_me:6637: \"$ac_link\"") >&5  if { (eval echo "$as_me:6638: \"$ac_link\"") >&5
6639    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6640    ac_status=$?    ac_status=$?
6641    echo "$as_me:6640: \$? = $ac_status" >&5    echo "$as_me:6641: \$? = $ac_status" >&5
6642    (exit $ac_status); } &&    (exit $ac_status); } &&
6643           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6644    { (eval echo "$as_me:6643: \"$ac_try\"") >&5    { (eval echo "$as_me:6644: \"$ac_try\"") >&5
6645    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6646    ac_status=$?    ac_status=$?
6647    echo "$as_me:6646: \$? = $ac_status" >&5    echo "$as_me:6647: \$? = $ac_status" >&5
6648    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6649    emacs_cv_x11_toolkit_version_6=yes    emacs_cv_x11_toolkit_version_6=yes
6650  else  else
# Line 6656  fi Line 6657  fi
6657    
6658    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6    HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
6659    if test $emacs_cv_x11_toolkit_version_6 = yes; then    if test $emacs_cv_x11_toolkit_version_6 = yes; then
6660      echo "$as_me:6659: result: 6 or newer" >&5      echo "$as_me:6660: result: 6 or newer" >&5
6661  echo "${ECHO_T}6 or newer" >&6  echo "${ECHO_T}6 or newer" >&6
6662    
6663  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 6664  cat >>confdefs.h <<\EOF Line 6665  cat >>confdefs.h <<\EOF
6665  EOF  EOF
6666    
6667    else    else
6668      echo "$as_me:6667: result: before 6" >&5      echo "$as_me:6668: result: before 6" >&5
6669  echo "${ECHO_T}before 6" >&6  echo "${ECHO_T}before 6" >&6
6670    fi    fi
6671    
# Line 6675  echo "${ECHO_T}before 6" >&6 Line 6676  echo "${ECHO_T}before 6" >&6
6676      LIBS="-lXt $LIBS"      LIBS="-lXt $LIBS"
6677    fi    fi
6678    
6679  echo "$as_me:6678: checking for XmuConvertStandardSelection in -lXmu" >&5  echo "$as_me:6679: checking for XmuConvertStandardSelection in -lXmu" >&5
6680  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6  echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
6681  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then  if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
6682    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6683  else Line 6684  else
6684    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6685  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
6686  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6687  #line 6686 "configure"  #line 6687 "configure"
6688  #include "confdefs.h"  #include "confdefs.h"
6689    
6690  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6702  XmuConvertStandardSelection (); Line 6703  XmuConvertStandardSelection ();
6703  }  }
6704  _ACEOF  _ACEOF
6705  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6706  if { (eval echo "$as_me:6705: \"$ac_link\"") >&5  if { (eval echo "$as_me:6706: \"$ac_link\"") >&5
6707    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6708    ac_status=$?    ac_status=$?
6709    echo "$as_me:6708: \$? = $ac_status" >&5    echo "$as_me:6709: \$? = $ac_status" >&5
6710    (exit $ac_status); } &&    (exit $ac_status); } &&
6711           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6712    { (eval echo "$as_me:6711: \"$ac_try\"") >&5    { (eval echo "$as_me:6712: \"$ac_try\"") >&5
6713    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6714    ac_status=$?    ac_status=$?
6715    echo "$as_me:6714: \$? = $ac_status" >&5    echo "$as_me:6715: \$? = $ac_status" >&5
6716    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6717    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes    ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
6718  else  else
# Line 6722  fi Line 6723  fi
6723  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6724  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6725  fi  fi
6726  echo "$as_me:6725: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5  echo "$as_me:6726: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
6727  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6  echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
6728  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then  if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
6729    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6740  fi Line 6741  fi
6741  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6742    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6743    
6744  echo "$as_me:6743: checking for XShapeQueryExtension in -lXext" >&5  echo "$as_me:6744: checking for XShapeQueryExtension in -lXext" >&5
6745  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6  echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
6746  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then  if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
6747    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6748  else Line 6749  else
6749    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6750  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
6751  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6752  #line 6751 "configure"  #line 6752 "configure"
6753  #include "confdefs.h"  #include "confdefs.h"
6754    
6755  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6767  XShapeQueryExtension (); Line 6768  XShapeQueryExtension ();
6768  }  }
6769  _ACEOF  _ACEOF
6770  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6771  if { (eval echo "$as_me:6770: \"$ac_link\"") >&5  if { (eval echo "$as_me:6771: \"$ac_link\"") >&5
6772    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6773    ac_status=$?    ac_status=$?
6774    echo "$as_me:6773: \$? = $ac_status" >&5    echo "$as_me:6774: \$? = $ac_status" >&5
6775    (exit $ac_status); } &&    (exit $ac_status); } &&
6776           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6777    { (eval echo "$as_me:6776: \"$ac_try\"") >&5    { (eval echo "$as_me:6777: \"$ac_try\"") >&5
6778    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6779    ac_status=$?    ac_status=$?
6780    echo "$as_me:6779: \$? = $ac_status" >&5    echo "$as_me:6780: \$? = $ac_status" >&5
6781    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6782    ac_cv_lib_Xext_XShapeQueryExtension=yes    ac_cv_lib_Xext_XShapeQueryExtension=yes
6783  else  else
# Line 6787  fi Line 6788  fi
6788  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6789  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6790  fi  fi
6791  echo "$as_me:6790: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5  echo "$as_me:6791: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
6792  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6  echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
6793  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then  if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
6794    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 6802  fi Line 6803  fi
6803  fi  fi
6804    
6805  if test "${USE_X_TOOLKIT}" = "MOTIF"; then  if test "${USE_X_TOOLKIT}" = "MOTIF"; then
6806    echo "$as_me:6805: checking for LessTif where some systems put it" >&5    echo "$as_me:6806: checking for LessTif where some systems put it" >&5
6807  echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6  echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
6808  if test "${emacs_cv_lesstif+set}" = set; then  if test "${emacs_cv_lesstif+set}" = set; then
6809    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6810  else  else
6811      # We put this in CFLAGS temporarily to precede other -I options
6812      # that might be in CFLAGS temporarily.
6813      # We put this in CPPFLAGS where it precedes the other -I options.
6814      OLD_CPPFLAGS=$CPPFLAGS
6815      OLD_CFLAGS=$CFLAGS
6816      CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
6817      CFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CFLAGS"
6818    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6819  #line 6811 "configure"  #line 6819 "configure"
6820  #include "confdefs.h"  #include "confdefs.h"
6821  #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>  #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
6822  int  int
# Line 6820  int x = 5; Line 6828  int x = 5;
6828  }  }
6829  _ACEOF  _ACEOF
6830  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6831  if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6831: \"$ac_compile\"") >&5
6832    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6833    ac_status=$?    ac_status=$?
6834    echo "$as_me:6826: \$? = $ac_status" >&5    echo "$as_me:6834: \$? = $ac_status" >&5
6835    (exit $ac_status); } &&    (exit $ac_status); } &&
6836           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6837    { (eval echo "$as_me:6829: \"$ac_try\"") >&5    { (eval echo "$as_me:6837: \"$ac_try\"") >&5
6838    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6839    ac_status=$?    ac_status=$?
6840    echo "$as_me:6832: \$? = $ac_status" >&5    echo "$as_me:6840: \$? = $ac_status" >&5
6841    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6842    emacs_cv_lesstif=yes    emacs_cv_lesstif=yes
6843  else  else
# Line 6839  emacs_cv_lesstif=no Line 6847  emacs_cv_lesstif=no
6847  fi  fi
6848  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6849  fi  fi
6850  echo "$as_me:6842: result: $emacs_cv_lesstif" >&5  echo "$as_me:6850: result: $emacs_cv_lesstif" >&5
6851  echo "${ECHO_T}$emacs_cv_lesstif" >&6  echo "${ECHO_T}$emacs_cv_lesstif" >&6
6852    if test $emacs_cv_lesstif = yes; then    if test $emacs_cv_lesstif = yes; then
6853      CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"      # Make sure this -I option remains in CPPFLAGS after it is set
6854        # back to REAL_CPPFLAGS.
6855        # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not
6856        # have those other -I options anyway.  Ultimately, having this
6857        # directory ultimately in CPPFLAGS will be enough.
6858        REAL_CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $REAL_CPPFLAGS"
6859      LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"      LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
6860      else
6861        CFLAGS=$OLD_CFLAGS
6862        CPPFLAGS=$OLD_CPPFLAGS
6863    fi    fi
6864    echo "$as_me:6848: checking for Motif version 2.1" >&5    echo "$as_me:6864: checking for Motif version 2.1" >&5
6865  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6  echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
6866  if test "${emacs_cv_motif_version_2_1+set}" = set; then  if test "${emacs_cv_motif_version_2_1+set}" = set; then
6867    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6868  else  else
6869    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6870  #line 6854 "configure"  #line 6870 "configure"
6871  #include "confdefs.h"  #include "confdefs.h"
6872  #include <Xm/Xm.h>  #include <Xm/Xm.h>
6873  int  int
# Line 6867  Motif version prior to 2.1. Line 6883  Motif version prior to 2.1.
6883  }  }
6884  _ACEOF  _ACEOF
6885  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6886  if { (eval echo "$as_me:6870: \"$ac_compile\"") >&5  if { (eval echo "$as_me:6886: \"$ac_compile\"") >&5
6887    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
6888    ac_status=$?    ac_status=$?
6889    echo "$as_me:6873: \$? = $ac_status" >&5    echo "$as_me:6889: \$? = $ac_status" >&5
6890    (exit $ac_status); } &&    (exit $ac_status); } &&
6891           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
6892    { (eval echo "$as_me:6876: \"$ac_try\"") >&5    { (eval echo "$as_me:6892: \"$ac_try\"") >&5
6893    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6894    ac_status=$?    ac_status=$?
6895    echo "$as_me:6879: \$? = $ac_status" >&5    echo "$as_me:6895: \$? = $ac_status" >&5
6896    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6897    emacs_cv_motif_version_2_1=yes    emacs_cv_motif_version_2_1=yes
6898  else  else
# Line 6886  emacs_cv_motif_version_2_1=no Line 6902  emacs_cv_motif_version_2_1=no
6902  fi  fi
6903  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
6904  fi  fi
6905  echo "$as_me:6889: result: $emacs_cv_motif_version_2_1" >&5  echo "$as_me:6905: result: $emacs_cv_motif_version_2_1" >&5
6906  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6  echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
6907    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1    HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
6908    if test $emacs_cv_motif_version_2_1 = yes; then    if test $emacs_cv_motif_version_2_1 = yes; then
# Line 6896  cat >>confdefs.h <<\EOF Line 6912  cat >>confdefs.h <<\EOF
6912  #define HAVE_MOTIF_2_1 1  #define HAVE_MOTIF_2_1 1
6913  EOF  EOF
6914    
6915      echo "$as_me:6899: checking for XpCreateContext in -lXp" >&5      echo "$as_me:6915: checking for XpCreateContext in -lXp" >&5
6916  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6  echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
6917  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then  if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
6918    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6904  else Line 6920  else
6920    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6921  LIBS="-lXp  $LIBS"  LIBS="-lXp  $LIBS"
6922  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6923  #line 6907 "configure"  #line 6923 "configure"
6924  #include "confdefs.h"  #include "confdefs.h"
6925    
6926  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 6923  XpCreateContext (); Line 6939  XpCreateContext ();
6939  }  }
6940  _ACEOF  _ACEOF
6941  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6942  if { (eval echo "$as_me:6926: \"$ac_link\"") >&5  if { (eval echo "$as_me:6942: \"$ac_link\"") >&5
6943    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
6944    ac_status=$?    ac_status=$?
6945    echo "$as_me:6929: \$? = $ac_status" >&5    echo "$as_me:6945: \$? = $ac_status" >&5
6946    (exit $ac_status); } &&    (exit $ac_status); } &&
6947           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
6948    { (eval echo "$as_me:6932: \"$ac_try\"") >&5    { (eval echo "$as_me:6948: \"$ac_try\"") >&5
6949    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6950    ac_status=$?    ac_status=$?
6951    echo "$as_me:6935: \$? = $ac_status" >&5    echo "$as_me:6951: \$? = $ac_status" >&5
6952    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
6953    ac_cv_lib_Xp_XpCreateContext=yes    ac_cv_lib_Xp_XpCreateContext=yes
6954  else  else
# Line 6943  fi Line 6959  fi
6959  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6960  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6961  fi  fi
6962  echo "$as_me:6946: result: $ac_cv_lib_Xp_XpCreateContext" >&5  echo "$as_me:6962: result: $ac_cv_lib_Xp_XpCreateContext" >&5
6963  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6  echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
6964  if test $ac_cv_lib_Xp_XpCreateContext = yes; then  if test $ac_cv_lib_Xp_XpCreateContext = yes; then
6965    HAVE_LIBXP=yes    HAVE_LIBXP=yes
# Line 6963  fi Line 6979  fi
6979  HAVE_XAW3D=no  HAVE_XAW3D=no
6980  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
6981    if test "${USE_X_TOOLKIT}" != "none"; then    if test "${USE_X_TOOLKIT}" != "none"; then
6982      echo "$as_me:6966: checking for X11/Xaw3d/Scrollbar.h" >&5      echo "$as_me:6982: checking for X11/Xaw3d/Scrollbar.h" >&5
6983  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
6984  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then  if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
6985    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6986  else  else
6987    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6988  #line 6972 "configure"  #line 6988 "configure"
6989  #include "confdefs.h"  #include "confdefs.h"
6990  #include <X11/Xaw3d/Scrollbar.h>  #include <X11/Xaw3d/Scrollbar.h>
6991  _ACEOF  _ACEOF
6992  if { (eval echo "$as_me:6976: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:6992: \"$ac_cpp conftest.$ac_ext\"") >&5
6993    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6994    ac_status=$?    ac_status=$?
6995    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
6996    rm -f conftest.er1    rm -f conftest.er1
6997    cat conftest.err >&5    cat conftest.err >&5
6998    echo "$as_me:6982: \$? = $ac_status" >&5    echo "$as_me:6998: \$? = $ac_status" >&5
6999    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7000    if test -s conftest.err; then    if test -s conftest.err; then
7001      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 6998  else Line 7014  else
7014  fi  fi
7015  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7016  fi  fi
7017  echo "$as_me:7001: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5  echo "$as_me:7017: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
7018  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
7019  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then  if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
7020    echo "$as_me:7004: checking for XawScrollbarSetThumb in -lXaw3d" >&5    echo "$as_me:7020: checking for XawScrollbarSetThumb in -lXaw3d" >&5
7021  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6  echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
7022  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then  if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
7023    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7009  else Line 7025  else
7025    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7026  LIBS="-lXaw3d  $LIBS"  LIBS="-lXaw3d  $LIBS"
7027  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7028  #line 7012 "configure"  #line 7028 "configure"
7029  #include "confdefs.h"  #include "confdefs.h"
7030    
7031  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7028  XawScrollbarSetThumb (); Line 7044  XawScrollbarSetThumb ();
7044  }  }
7045  _ACEOF  _ACEOF
7046  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7047  if { (eval echo "$as_me:7031: \"$ac_link\"") >&5  if { (eval echo "$as_me:7047: \"$ac_link\"") >&5
7048    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7049    ac_status=$?    ac_status=$?
7050    echo "$as_me:7034: \$? = $ac_status" >&5    echo "$as_me:7050: \$? = $ac_status" >&5
7051    (exit $ac_status); } &&    (exit $ac_status); } &&
7052           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7053    { (eval echo "$as_me:7037: \"$ac_try\"") >&5    { (eval echo "$as_me:7053: \"$ac_try\"") >&5
7054    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7055    ac_status=$?    ac_status=$?
7056    echo "$as_me:7040: \$? = $ac_status" >&5    echo "$as_me:7056: \$? = $ac_status" >&5
7057    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7058    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes    ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
7059  else  else
# Line 7048  fi Line 7064  fi
7064  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7065  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7066  fi  fi
7067  echo "$as_me:7051: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5  echo "$as_me:7067: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
7068  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6  echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
7069  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then  if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
7070    HAVE_XAW3D=yes    HAVE_XAW3D=yes
# Line 7098  fi Line 7114  fi
7114  HAVE_XPM=no  HAVE_XPM=no
7115  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7116    if test "${with_xpm}" != "no"; then    if test "${with_xpm}" != "no"; then
7117      echo "$as_me:7101: checking for X11/xpm.h" >&5      echo "$as_me:7117: checking for X11/xpm.h" >&5
7118  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
7119  if test "${ac_cv_header_X11_xpm_h+set}" = set; then  if test "${ac_cv_header_X11_xpm_h+set}" = set; then
7120    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7121  else  else
7122    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7123  #line 7107 "configure"  #line 7123 "configure"
7124  #include "confdefs.h"  #include "confdefs.h"
7125  #include <X11/xpm.h>  #include <X11/xpm.h>
7126  _ACEOF  _ACEOF
7127  if { (eval echo "$as_me:7111: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7127: \"$ac_cpp conftest.$ac_ext\"") >&5
7128    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7129    ac_status=$?    ac_status=$?
7130    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7131    rm -f conftest.er1    rm -f conftest.er1
7132    cat conftest.err >&5    cat conftest.err >&5
7133    echo "$as_me:7117: \$? = $ac_status" >&5    echo "$as_me:7133: \$? = $ac_status" >&5
7134    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7135    if test -s conftest.err; then    if test -s conftest.err; then
7136      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7133  else Line 7149  else
7149  fi  fi
7150  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7151  fi  fi
7152  echo "$as_me:7136: result: $ac_cv_header_X11_xpm_h" >&5  echo "$as_me:7152: result: $ac_cv_header_X11_xpm_h" >&5
7153  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
7154  if test $ac_cv_header_X11_xpm_h = yes; then  if test $ac_cv_header_X11_xpm_h = yes; then
7155    echo "$as_me:7139: checking for XpmReadFileToPixmap in -lXpm" >&5    echo "$as_me:7155: checking for XpmReadFileToPixmap in -lXpm" >&5
7156  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
7157  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then  if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
7158    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7144  else Line 7160  else
7160    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7161  LIBS="-lXpm -lX11 $LIBS"  LIBS="-lXpm -lX11 $LIBS"
7162  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7163  #line 7147 "configure"  #line 7163 "configure"
7164  #include "confdefs.h"  #include "confdefs.h"
7165    
7166  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7163  XpmReadFileToPixmap (); Line 7179  XpmReadFileToPixmap ();
7179  }  }
7180  _ACEOF  _ACEOF
7181  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7182  if { (eval echo "$as_me:7166: \"$ac_link\"") >&5  if { (eval echo "$as_me:7182: \"$ac_link\"") >&5
7183    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7184    ac_status=$?    ac_status=$?
7185    echo "$as_me:7169: \$? = $ac_status" >&5    echo "$as_me:7185: \$? = $ac_status" >&5
7186    (exit $ac_status); } &&    (exit $ac_status); } &&
7187           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7188    { (eval echo "$as_me:7172: \"$ac_try\"") >&5    { (eval echo "$as_me:7188: \"$ac_try\"") >&5
7189    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7190    ac_status=$?    ac_status=$?
7191    echo "$as_me:7175: \$? = $ac_status" >&5    echo "$as_me:7191: \$? = $ac_status" >&5
7192    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7193    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes    ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
7194  else  else
# Line 7183  fi Line 7199  fi
7199  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7200  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7201  fi  fi
7202  echo "$as_me:7186: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5  echo "$as_me:7202: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
7203  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6  echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
7204  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then  if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
7205    HAVE_XPM=yes    HAVE_XPM=yes
# Line 7192  fi Line 7208  fi
7208  fi  fi
7209    
7210      if test "${HAVE_XPM}" = "yes"; then      if test "${HAVE_XPM}" = "yes"; then
7211        echo "$as_me:7195: checking for XpmReturnAllocPixels preprocessor define" >&5        echo "$as_me:7211: checking for XpmReturnAllocPixels preprocessor define" >&5
7212  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6  echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
7213        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
7214  #line 7198 "configure"  #line 7214 "configure"
7215  #include "confdefs.h"  #include "confdefs.h"
7216  #include "X11/xpm.h"  #include "X11/xpm.h"
7217  #ifndef XpmReturnAllocPixels  #ifndef XpmReturnAllocPixels
# Line 7212  fi Line 7228  fi
7228  rm -f conftest*  rm -f conftest*
7229    
7230        if test "${HAVE_XPM}" = "yes"; then        if test "${HAVE_XPM}" = "yes"; then
7231          echo "$as_me:7215: result: yes" >&5          echo "$as_me:7231: result: yes" >&5
7232  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
7233        else        else
7234          echo "$as_me:7218: result: no" >&5          echo "$as_me:7234: result: no" >&5
7235  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7236        fi        fi
7237      fi      fi
# Line 7234  fi Line 7250  fi
7250  HAVE_JPEG=no  HAVE_JPEG=no
7251  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7252    if test "${with_jpeg}" != "no"; then    if test "${with_jpeg}" != "no"; then
7253              echo "$as_me:7237: checking for jerror.h" >&5              echo "$as_me:7253: checking for jerror.h" >&5
7254  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6  echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
7255  if test "${ac_cv_header_jerror_h+set}" = set; then  if test "${ac_cv_header_jerror_h+set}" = set; then
7256    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7257  else  else
7258    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7259  #line 7243 "configure"  #line 7259 "configure"
7260  #include "confdefs.h"  #include "confdefs.h"
7261  #include <jerror.h>  #include <jerror.h>
7262  _ACEOF  _ACEOF
7263  if { (eval echo "$as_me:7247: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7263: \"$ac_cpp conftest.$ac_ext\"") >&5
7264    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7265    ac_status=$?    ac_status=$?
7266    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7267    rm -f conftest.er1    rm -f conftest.er1
7268    cat conftest.err >&5    cat conftest.err >&5
7269    echo "$as_me:7253: \$? = $ac_status" >&5    echo "$as_me:7269: \$? = $ac_status" >&5
7270    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7271    if test -s conftest.err; then    if test -s conftest.err; then
7272      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7269  else Line 7285  else
7285  fi  fi
7286  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7287  fi  fi
7288  echo "$as_me:7272: result: $ac_cv_header_jerror_h" >&5  echo "$as_me:7288: result: $ac_cv_header_jerror_h" >&5
7289  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6  echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
7290  if test $ac_cv_header_jerror_h = yes; then  if test $ac_cv_header_jerror_h = yes; then
7291    echo "$as_me:7275: checking for jpeg_destroy_compress in -ljpeg" >&5    echo "$as_me:7291: checking for jpeg_destroy_compress in -ljpeg" >&5
7292  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6  echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
7293  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then  if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
7294    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7280  else Line 7296  else
7296    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7297  LIBS="-ljpeg  $LIBS"  LIBS="-ljpeg  $LIBS"
7298  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7299  #line 7283 "configure"  #line 7299 "configure"
7300  #include "confdefs.h"  #include "confdefs.h"
7301    
7302  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7299  jpeg_destroy_compress (); Line 7315  jpeg_destroy_compress ();
7315  }  }
7316  _ACEOF  _ACEOF
7317  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7318  if { (eval echo "$as_me:7302: \"$ac_link\"") >&5  if { (eval echo "$as_me:7318: \"$ac_link\"") >&5
7319    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7320    ac_status=$?    ac_status=$?
7321    echo "$as_me:7305: \$? = $ac_status" >&5    echo "$as_me:7321: \$? = $ac_status" >&5
7322    (exit $ac_status); } &&    (exit $ac_status); } &&
7323           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7324    { (eval echo "$as_me:7308: \"$ac_try\"") >&5    { (eval echo "$as_me:7324: \"$ac_try\"") >&5
7325    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7326    ac_status=$?    ac_status=$?
7327    echo "$as_me:7311: \$? = $ac_status" >&5    echo "$as_me:7327: \$? = $ac_status" >&5
7328    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7329    ac_cv_lib_jpeg_jpeg_destroy_compress=yes    ac_cv_lib_jpeg_jpeg_destroy_compress=yes
7330  else  else
# Line 7319  fi Line 7335  fi
7335  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7336  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7337  fi  fi
7338  echo "$as_me:7322: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5  echo "$as_me:7338: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
7339  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6  echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
7340  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then  if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
7341    HAVE_JPEG=yes    HAVE_JPEG=yes
# Line 7335  fi Line 7351  fi
7351  EOF  EOF
7352    
7353      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
7354  #line 7338 "configure"  #line 7354 "configure"
7355  #include "confdefs.h"  #include "confdefs.h"
7356          #include <jpeglib.h>          #include <jpeglib.h>
7357           version=JPEG_LIB_VERSION           version=JPEG_LIB_VERSION
# Line 7348  if (eval "$ac_cpp conftest.$ac_ext") 2>& Line 7364  if (eval "$ac_cpp conftest.$ac_ext") 2>&
7364  EOF  EOF
7365    
7366  else  else
7367    { echo "$as_me:7351: WARNING: libjpeg found, but not version 6b or later" >&5    { echo "$as_me:7367: WARNING: libjpeg found, but not version 6b or later" >&5
7368  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}  echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7369          HAVE_JPEG=no          HAVE_JPEG=no
7370  fi  fi
# Line 7361  fi Line 7377  fi
7377  HAVE_PNG=no  HAVE_PNG=no
7378  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7379    if test "${with_png}" != "no"; then    if test "${with_png}" != "no"; then
7380      echo "$as_me:7364: checking for png.h" >&5      echo "$as_me:7380: checking for png.h" >&5
7381  echo $ECHO_N "checking for png.h... $ECHO_C" >&6  echo $ECHO_N "checking for png.h... $ECHO_C" >&6
7382  if test "${ac_cv_header_png_h+set}" = set; then  if test "${ac_cv_header_png_h+set}" = set; then
7383    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7384  else  else
7385    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7386  #line 7370 "configure"  #line 7386 "configure"
7387  #include "confdefs.h"  #include "confdefs.h"
7388  #include <png.h>  #include <png.h>
7389  _ACEOF  _ACEOF
7390  if { (eval echo "$as_me:7374: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7390: \"$ac_cpp conftest.$ac_ext\"") >&5
7391    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7392    ac_status=$?    ac_status=$?
7393    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7394    rm -f conftest.er1    rm -f conftest.er1
7395    cat conftest.err >&5    cat conftest.err >&5
7396    echo "$as_me:7380: \$? = $ac_status" >&5    echo "$as_me:7396: \$? = $ac_status" >&5
7397    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7398    if test -s conftest.err; then    if test -s conftest.err; then
7399      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7396  else Line 7412  else
7412  fi  fi
7413  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7414  fi  fi
7415  echo "$as_me:7399: result: $ac_cv_header_png_h" >&5  echo "$as_me:7415: result: $ac_cv_header_png_h" >&5
7416  echo "${ECHO_T}$ac_cv_header_png_h" >&6  echo "${ECHO_T}$ac_cv_header_png_h" >&6
7417  if test $ac_cv_header_png_h = yes; then  if test $ac_cv_header_png_h = yes; then
7418    echo "$as_me:7402: checking for png_get_channels in -lpng" >&5    echo "$as_me:7418: checking for png_get_channels in -lpng" >&5
7419  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6  echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
7420  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then  if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
7421    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7407  else Line 7423  else
7423    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7424  LIBS="-lpng -lz -lm $LIBS"  LIBS="-lpng -lz -lm $LIBS"
7425  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7426  #line 7410 "configure"  #line 7426 "configure"
7427  #include "confdefs.h"  #include "confdefs.h"
7428    
7429  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7426  png_get_channels (); Line 7442  png_get_channels ();
7442  }  }
7443  _ACEOF  _ACEOF
7444  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7445  if { (eval echo "$as_me:7429: \"$ac_link\"") >&5  if { (eval echo "$as_me:7445: \"$ac_link\"") >&5
7446    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7447    ac_status=$?    ac_status=$?
7448    echo "$as_me:7432: \$? = $ac_status" >&5    echo "$as_me:7448: \$? = $ac_status" >&5
7449    (exit $ac_status); } &&    (exit $ac_status); } &&
7450           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7451    { (eval echo "$as_me:7435: \"$ac_try\"") >&5    { (eval echo "$as_me:7451: \"$ac_try\"") >&5
7452    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7453    ac_status=$?    ac_status=$?
7454    echo "$as_me:7438: \$? = $ac_status" >&5    echo "$as_me:7454: \$? = $ac_status" >&5
7455    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7456    ac_cv_lib_png_png_get_channels=yes    ac_cv_lib_png_png_get_channels=yes
7457  else  else
# Line 7446  fi Line 7462  fi
7462  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7463  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7464  fi  fi
7465  echo "$as_me:7449: result: $ac_cv_lib_png_png_get_channels" >&5  echo "$as_me:7465: result: $ac_cv_lib_png_png_get_channels" >&5
7466  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6  echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
7467  if test $ac_cv_lib_png_png_get_channels = yes; then  if test $ac_cv_lib_png_png_get_channels = yes; then
7468    HAVE_PNG=yes    HAVE_PNG=yes
# Line 7469  fi Line 7485  fi
7485  HAVE_TIFF=no  HAVE_TIFF=no
7486  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7487    if test "${with_tiff}" != "no"; then    if test "${with_tiff}" != "no"; then
7488      echo "$as_me:7472: checking for tiffio.h" >&5      echo "$as_me:7488: checking for tiffio.h" >&5
7489  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6  echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
7490  if test "${ac_cv_header_tiffio_h+set}" = set; then  if test "${ac_cv_header_tiffio_h+set}" = set; then
7491    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7492  else  else
7493    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7494  #line 7478 "configure"  #line 7494 "configure"
7495  #include "confdefs.h"  #include "confdefs.h"
7496  #include <tiffio.h>  #include <tiffio.h>
7497  _ACEOF  _ACEOF
7498  if { (eval echo "$as_me:7482: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7498: \"$ac_cpp conftest.$ac_ext\"") >&5
7499    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7500    ac_status=$?    ac_status=$?
7501    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7502    rm -f conftest.er1    rm -f conftest.er1
7503    cat conftest.err >&5    cat conftest.err >&5
7504    echo "$as_me:7488: \$? = $ac_status" >&5    echo "$as_me:7504: \$? = $ac_status" >&5
7505    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7506    if test -s conftest.err; then    if test -s conftest.err; then
7507      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7504  else Line 7520  else
7520  fi  fi
7521  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7522  fi  fi
7523  echo "$as_me:7507: result: $ac_cv_header_tiffio_h" >&5  echo "$as_me:7523: result: $ac_cv_header_tiffio_h" >&5
7524  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6  echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
7525  if test $ac_cv_header_tiffio_h = yes; then  if test $ac_cv_header_tiffio_h = yes; then
7526    tifflibs="-lz -lm"    tifflibs="-lz -lm"
7527        # At least one tiff package requires the jpeg library.        # At least one tiff package requires the jpeg library.
7528        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi        if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
7529        echo "$as_me:7513: checking for TIFFGetVersion in -ltiff" >&5        echo "$as_me:7529: checking for TIFFGetVersion in -ltiff" >&5
7530  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6  echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
7531  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then  if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
7532    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7518  else Line 7534  else
7534    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7535  LIBS="-ltiff $tifflibs $LIBS"  LIBS="-ltiff $tifflibs $LIBS"
7536  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7537  #line 7521 "configure"  #line 7537 "configure"
7538  #include "confdefs.h"  #include "confdefs.h"
7539    
7540  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7537  TIFFGetVersion (); Line 7553  TIFFGetVersion ();
7553  }  }
7554  _ACEOF  _ACEOF
7555  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7556  if { (eval echo "$as_me:7540: \"$ac_link\"") >&5  if { (eval echo "$as_me:7556: \"$ac_link\"") >&5
7557    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7558    ac_status=$?    ac_status=$?
7559    echo "$as_me:7543: \$? = $ac_status" >&5    echo "$as_me:7559: \$? = $ac_status" >&5
7560    (exit $ac_status); } &&    (exit $ac_status); } &&
7561           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7562    { (eval echo "$as_me:7546: \"$ac_try\"") >&5    { (eval echo "$as_me:7562: \"$ac_try\"") >&5
7563    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7564    ac_status=$?    ac_status=$?
7565    echo "$as_me:7549: \$? = $ac_status" >&5    echo "$as_me:7565: \$? = $ac_status" >&5
7566    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7567    ac_cv_lib_tiff_TIFFGetVersion=yes    ac_cv_lib_tiff_TIFFGetVersion=yes
7568  else  else
# Line 7557  fi Line 7573  fi
7573  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7574  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7575  fi  fi
7576  echo "$as_me:7560: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5  echo "$as_me:7576: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
7577  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6  echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
7578  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then  if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
7579    HAVE_TIFF=yes    HAVE_TIFF=yes
# Line 7580  fi Line 7596  fi
7596  HAVE_GIF=no  HAVE_GIF=no
7597  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7598    if test "${with_gif}" != "no"; then    if test "${with_gif}" != "no"; then
7599      echo "$as_me:7583: checking for gif_lib.h" >&5      echo "$as_me:7599: checking for gif_lib.h" >&5
7600  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6  echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
7601  if test "${ac_cv_header_gif_lib_h+set}" = set; then  if test "${ac_cv_header_gif_lib_h+set}" = set; then
7602    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7603  else  else
7604    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7605  #line 7589 "configure"  #line 7605 "configure"
7606  #include "confdefs.h"  #include "confdefs.h"
7607  #include <gif_lib.h>  #include <gif_lib.h>
7608  _ACEOF  _ACEOF
7609  if { (eval echo "$as_me:7593: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7609: \"$ac_cpp conftest.$ac_ext\"") >&5
7610    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7611    ac_status=$?    ac_status=$?
7612    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7613    rm -f conftest.er1    rm -f conftest.er1
7614    cat conftest.err >&5    cat conftest.err >&5
7615    echo "$as_me:7599: \$? = $ac_status" >&5    echo "$as_me:7615: \$? = $ac_status" >&5
7616    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7617    if test -s conftest.err; then    if test -s conftest.err; then
7618      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7615  else Line 7631  else
7631  fi  fi
7632  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7633  fi  fi
7634  echo "$as_me:7618: result: $ac_cv_header_gif_lib_h" >&5  echo "$as_me:7634: result: $ac_cv_header_gif_lib_h" >&5
7635  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6  echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
7636  if test $ac_cv_header_gif_lib_h = yes; then  if test $ac_cv_header_gif_lib_h = yes; then
7637    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.    # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
7638  # Earlier versions can crash Emacs.  # Earlier versions can crash Emacs.
7639        echo "$as_me:7623: checking for EGifPutExtensionLast in -lungif" >&5        echo "$as_me:7639: checking for EGifPutExtensionLast in -lungif" >&5
7640  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6  echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
7641  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then  if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
7642    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7628  else Line 7644  else
7644    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7645  LIBS="-lungif  $LIBS"  LIBS="-lungif  $LIBS"
7646  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7647  #line 7631 "configure"  #line 7647 "configure"
7648  #include "confdefs.h"  #include "confdefs.h"
7649    
7650  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7647  EGifPutExtensionLast (); Line 7663  EGifPutExtensionLast ();
7663  }  }
7664  _ACEOF  _ACEOF
7665  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7666  if { (eval echo "$as_me:7650: \"$ac_link\"") >&5  if { (eval echo "$as_me:7666: \"$ac_link\"") >&5
7667    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7668    ac_status=$?    ac_status=$?
7669    echo "$as_me:7653: \$? = $ac_status" >&5    echo "$as_me:7669: \$? = $ac_status" >&5
7670    (exit $ac_status); } &&    (exit $ac_status); } &&
7671           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7672    { (eval echo "$as_me:7656: \"$ac_try\"") >&5    { (eval echo "$as_me:7672: \"$ac_try\"") >&5
7673    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7674    ac_status=$?    ac_status=$?
7675    echo "$as_me:7659: \$? = $ac_status" >&5    echo "$as_me:7675: \$? = $ac_status" >&5
7676    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7677    ac_cv_lib_ungif_EGifPutExtensionLast=yes    ac_cv_lib_ungif_EGifPutExtensionLast=yes
7678  else  else
# Line 7667  fi Line 7683  fi
7683  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7684  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7685  fi  fi
7686  echo "$as_me:7670: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5  echo "$as_me:7686: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
7687  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6  echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
7688  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then  if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
7689    HAVE_GIF=yes    HAVE_GIF=yes
# Line 7689  fi Line 7705  fi
7705  ### Use Mac OS X Carbon API to implement GUI.  ### Use Mac OS X Carbon API to implement GUI.
7706  HAVE_CARBON=no  HAVE_CARBON=no
7707  if test "${with_carbon}" != "no"; then  if test "${with_carbon}" != "no"; then
7708    echo "$as_me:7692: checking for Carbon/Carbon.h" >&5    echo "$as_me:7708: checking for Carbon/Carbon.h" >&5
7709  echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6  echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
7710  if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then  if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
7711    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7712  else  else
7713    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7714  #line 7698 "configure"  #line 7714 "configure"
7715  #include "confdefs.h"  #include "confdefs.h"
7716  #include <Carbon/Carbon.h>  #include <Carbon/Carbon.h>
7717  _ACEOF  _ACEOF
7718  if { (eval echo "$as_me:7702: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7718: \"$ac_cpp conftest.$ac_ext\"") >&5
7719    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7720    ac_status=$?    ac_status=$?
7721    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7722    rm -f conftest.er1    rm -f conftest.er1
7723    cat conftest.err >&5    cat conftest.err >&5
7724    echo "$as_me:7708: \$? = $ac_status" >&5    echo "$as_me:7724: \$? = $ac_status" >&5
7725    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7726    if test -s conftest.err; then    if test -s conftest.err; then
7727      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7724  else Line 7740  else
7740  fi  fi
7741  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7742  fi  fi
7743  echo "$as_me:7727: result: $ac_cv_header_Carbon_Carbon_h" >&5  echo "$as_me:7743: result: $ac_cv_header_Carbon_Carbon_h" >&5
7744  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6  echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
7745  if test $ac_cv_header_Carbon_Carbon_h = yes; then  if test $ac_cv_header_Carbon_Carbon_h = yes; then
7746    HAVE_CARBON=yes    HAVE_CARBON=yes
# Line 7743  fi Line 7759  fi
7759  ### Use session management (-lSM -lICE) if available  ### Use session management (-lSM -lICE) if available
7760  HAVE_X_SM=no  HAVE_X_SM=no
7761  if test "${HAVE_X11}" = "yes"; then  if test "${HAVE_X11}" = "yes"; then
7762    echo "$as_me:7746: checking for X11/SM/SMlib.h" >&5    echo "$as_me:7762: checking for X11/SM/SMlib.h" >&5
7763  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6  echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
7764  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then  if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
7765    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7766  else  else
7767    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7768  #line 7752 "configure"  #line 7768 "configure"
7769  #include "confdefs.h"  #include "confdefs.h"
7770  #include <X11/SM/SMlib.h>  #include <X11/SM/SMlib.h>
7771  _ACEOF  _ACEOF
7772  if { (eval echo "$as_me:7756: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:7772: \"$ac_cpp conftest.$ac_ext\"") >&5
7773    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7774    ac_status=$?    ac_status=$?
7775    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
7776    rm -f conftest.er1    rm -f conftest.er1
7777    cat conftest.err >&5    cat conftest.err >&5
7778    echo "$as_me:7762: \$? = $ac_status" >&5    echo "$as_me:7778: \$? = $ac_status" >&5
7779    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7780    if test -s conftest.err; then    if test -s conftest.err; then
7781      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 7778  else Line 7794  else
7794  fi  fi
7795  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
7796  fi  fi
7797  echo "$as_me:7781: result: $ac_cv_header_X11_SM_SMlib_h" >&5  echo "$as_me:7797: result: $ac_cv_header_X11_SM_SMlib_h" >&5
7798  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6  echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
7799  if test $ac_cv_header_X11_SM_SMlib_h = yes; then  if test $ac_cv_header_X11_SM_SMlib_h = yes; then
7800    echo "$as_me:7784: checking for SmcOpenConnection in -lSM" >&5    echo "$as_me:7800: checking for SmcOpenConnection in -lSM" >&5
7801  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6  echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
7802  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then  if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
7803    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7789  else Line 7805  else
7805    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7806  LIBS="-lSM  $LIBS"  LIBS="-lSM  $LIBS"
7807  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7808  #line 7792 "configure"  #line 7808 "configure"
7809  #include "confdefs.h"  #include "confdefs.h"
7810    
7811  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 7808  SmcOpenConnection (); Line 7824  SmcOpenConnection ();
7824  }  }
7825  _ACEOF  _ACEOF
7826  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7827  if { (eval echo "$as_me:7811: \"$ac_link\"") >&5  if { (eval echo "$as_me:7827: \"$ac_link\"") >&5
7828    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7829    ac_status=$?    ac_status=$?
7830    echo "$as_me:7814: \$? = $ac_status" >&5    echo "$as_me:7830: \$? = $ac_status" >&5
7831    (exit $ac_status); } &&    (exit $ac_status); } &&
7832           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7833    { (eval echo "$as_me:7817: \"$ac_try\"") >&5    { (eval echo "$as_me:7833: \"$ac_try\"") >&5
7834    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7835    ac_status=$?    ac_status=$?
7836    echo "$as_me:7820: \$? = $ac_status" >&5    echo "$as_me:7836: \$? = $ac_status" >&5
7837    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7838    ac_cv_lib_SM_SmcOpenConnection=yes    ac_cv_lib_SM_SmcOpenConnection=yes
7839  else  else
# Line 7828  fi Line 7844  fi
7844  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7845  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7846  fi  fi
7847  echo "$as_me:7831: result: $ac_cv_lib_SM_SmcOpenConnection" >&5  echo "$as_me:7847: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
7848  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6  echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
7849  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then  if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
7850    HAVE_X_SM=yes    HAVE_X_SM=yes
# Line 7852  EOF Line 7868  EOF
7868  fi  fi
7869    
7870  # If netdb.h doesn't declare h_errno, we must declare it by hand.  # If netdb.h doesn't declare h_errno, we must declare it by hand.
7871  echo "$as_me:7855: checking whether netdb declares h_errno" >&5  echo "$as_me:7871: checking whether netdb declares h_errno" >&5
7872  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6  echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
7873  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then  if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
7874    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7875  else  else
7876    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7877  #line 7861 "configure"  #line 7877 "configure"
7878  #include "confdefs.h"  #include "confdefs.h"
7879  #include <netdb.h>  #include <netdb.h>
7880  int  int
# Line 7870  return h_errno; Line 7886  return h_errno;
7886  }  }
7887  _ACEOF  _ACEOF
7888  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7889  if { (eval echo "$as_me:7873: \"$ac_link\"") >&5  if { (eval echo "$as_me:7889: \"$ac_link\"") >&5
7890    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7891    ac_status=$?    ac_status=$?
7892    echo "$as_me:7876: \$? = $ac_status" >&5    echo "$as_me:7892: \$? = $ac_status" >&5
7893    (exit $ac_status); } &&    (exit $ac_status); } &&
7894           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7895    { (eval echo "$as_me:7879: \"$ac_try\"") >&5    { (eval echo "$as_me:7895: \"$ac_try\"") >&5
7896    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7897    ac_status=$?    ac_status=$?
7898    echo "$as_me:7882: \$? = $ac_status" >&5    echo "$as_me:7898: \$? = $ac_status" >&5
7899    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7900    emacs_cv_netdb_declares_h_errno=yes    emacs_cv_netdb_declares_h_errno=yes
7901  else  else
# Line 7889  emacs_cv_netdb_declares_h_errno=no Line 7905  emacs_cv_netdb_declares_h_errno=no
7905  fi  fi
7906  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7907  fi  fi
7908  echo "$as_me:7892: result: $emacs_cv_netdb_declares_h_errno" >&5  echo "$as_me:7908: result: $emacs_cv_netdb_declares_h_errno" >&5
7909  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6  echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
7910  if test $emacs_cv_netdb_declares_h_errno = yes; then  if test $emacs_cv_netdb_declares_h_errno = yes; then
7911    
# Line 7901  fi Line 7917  fi
7917    
7918  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7919  # for constant arguments.  Useless!  # for constant arguments.  Useless!
7920  echo "$as_me:7904: checking for working alloca.h" >&5  echo "$as_me:7920: checking for working alloca.h" >&5
7921  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6  echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7922  if test "${ac_cv_working_alloca_h+set}" = set; then  if test "${ac_cv_working_alloca_h+set}" = set; then
7923    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7924  else  else
7925    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7926  #line 7910 "configure"  #line 7926 "configure"
7927  #include "confdefs.h"  #include "confdefs.h"
7928  #include <alloca.h>  #include <alloca.h>
7929  int  int
# Line 7919  char *p = (char *) alloca (2 * sizeof (i Line 7935  char *p = (char *) alloca (2 * sizeof (i
7935  }  }
7936  _ACEOF  _ACEOF
7937  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7938  if { (eval echo "$as_me:7922: \"$ac_link\"") >&5  if { (eval echo "$as_me:7938: \"$ac_link\"") >&5
7939    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
7940    ac_status=$?    ac_status=$?
7941    echo "$as_me:7925: \$? = $ac_status" >&5    echo "$as_me:7941: \$? = $ac_status" >&5
7942    (exit $ac_status); } &&    (exit $ac_status); } &&
7943           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
7944    { (eval echo "$as_me:7928: \"$ac_try\"") >&5    { (eval echo "$as_me:7944: \"$ac_try\"") >&5
7945    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7946    ac_status=$?    ac_status=$?
7947    echo "$as_me:7931: \$? = $ac_status" >&5    echo "$as_me:7947: \$? = $ac_status" >&5
7948    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
7949    ac_cv_working_alloca_h=yes    ac_cv_working_alloca_h=yes
7950  else  else
# Line 7938  ac_cv_working_alloca_h=no Line 7954  ac_cv_working_alloca_h=no
7954  fi  fi
7955  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7956  fi  fi
7957  echo "$as_me:7941: result: $ac_cv_working_alloca_h" >&5  echo "$as_me:7957: result: $ac_cv_working_alloca_h" >&5
7958  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6  echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7959  if test $ac_cv_working_alloca_h = yes; then  if test $ac_cv_working_alloca_h = yes; then
7960    
# Line 7948  EOF Line 7964  EOF
7964    
7965  fi  fi
7966    
7967  echo "$as_me:7951: checking for alloca" >&5  echo "$as_me:7967: checking for alloca" >&5
7968  echo $ECHO_N "checking for alloca... $ECHO_C" >&6  echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7969  if test "${ac_cv_func_alloca_works+set}" = set; then  if test "${ac_cv_func_alloca_works+set}" = set; then
7970    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
7971  else  else
7972    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7973  #line 7957 "configure"  #line 7973 "configure"
7974  #include "confdefs.h"  #include "confdefs.h"
7975  #ifdef __GNUC__  #ifdef __GNUC__
7976  # define alloca __builtin_alloca  # define alloca __builtin_alloca
# Line 7986  char *p = (char *) alloca (1); Line 8002  char *p = (char *) alloca (1);
8002  }  }
8003  _ACEOF  _ACEOF
8004  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8005  if { (eval echo "$as_me:7989: \"$ac_link\"") >&5  if { (eval echo "$as_me:8005: \"$ac_link\"") >&5
8006    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8007    ac_status=$?    ac_status=$?
8008    echo "$as_me:7992: \$? = $ac_status" >&5    echo "$as_me:8008: \$? = $ac_status" >&5
8009    (exit $ac_status); } &&    (exit $ac_status); } &&
8010           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8011    { (eval echo "$as_me:7995: \"$ac_try\"") >&5    { (eval echo "$as_me:8011: \"$ac_try\"") >&5
8012    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8013    ac_status=$?    ac_status=$?
8014    echo "$as_me:7998: \$? = $ac_status" >&5    echo "$as_me:8014: \$? = $ac_status" >&5
8015    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8016    ac_cv_func_alloca_works=yes    ac_cv_func_alloca_works=yes
8017  else  else
# Line 8005  ac_cv_func_alloca_works=no Line 8021  ac_cv_func_alloca_works=no
8021  fi  fi
8022  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8023  fi  fi
8024  echo "$as_me:8008: result: $ac_cv_func_alloca_works" >&5  echo "$as_me:8024: result: $ac_cv_func_alloca_works" >&5
8025  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6  echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8026    
8027  if test $ac_cv_func_alloca_works = yes; then  if test $ac_cv_func_alloca_works = yes; then
# Line 8026  cat >>confdefs.h <<\EOF Line 8042  cat >>confdefs.h <<\EOF
8042  #define C_ALLOCA 1  #define C_ALLOCA 1
8043  EOF  EOF
8044    
8045  echo "$as_me:8029: checking whether \`alloca.c' needs Cray hooks" >&5  echo "$as_me:8045: checking whether \`alloca.c' needs Cray hooks" >&5
8046  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6  echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8047  if test "${ac_cv_os_cray+set}" = set; then  if test "${ac_cv_os_cray+set}" = set; then
8048    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8049  else  else
8050    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8051  #line 8035 "configure"  #line 8051 "configure"
8052  #include "confdefs.h"  #include "confdefs.h"
8053  #if defined(CRAY) && ! defined(CRAY2)  #if defined(CRAY) && ! defined(CRAY2)
8054  webecray  webecray
# Line 8050  fi Line 8066  fi
8066  rm -f conftest*  rm -f conftest*
8067    
8068  fi  fi
8069  echo "$as_me:8053: result: $ac_cv_os_cray" >&5  echo "$as_me:8069: result: $ac_cv_os_cray" >&5
8070  echo "${ECHO_T}$ac_cv_os_cray" >&6  echo "${ECHO_T}$ac_cv_os_cray" >&6
8071  if test $ac_cv_os_cray = yes; then  if test $ac_cv_os_cray = yes; then
8072    for ac_func in _getb67 GETB67 getb67; do    for ac_func in _getb67 GETB67 getb67; do
8073      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`      as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8074  echo "$as_me:8058: checking for $ac_func" >&5  echo "$as_me:8074: checking for $ac_func" >&5
8075  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8076  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8077    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8078  else  else
8079    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8080  #line 8064 "configure"  #line 8080 "configure"
8081  #include "confdefs.h"  #include "confdefs.h"
8082  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8083      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8092  f = $ac_func; Line 8108  f = $ac_func;
8108  }  }
8109  _ACEOF  _ACEOF
8110  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8111  if { (eval echo "$as_me:8095: \"$ac_link\"") >&5  if { (eval echo "$as_me:8111: \"$ac_link\"") >&5
8112    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8113    ac_status=$?    ac_status=$?
8114    echo "$as_me:8098: \$? = $ac_status" >&5    echo "$as_me:8114: \$? = $ac_status" >&5
8115    (exit $ac_status); } &&    (exit $ac_status); } &&
8116           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8117    { (eval echo "$as_me:8101: \"$ac_try\"") >&5    { (eval echo "$as_me:8117: \"$ac_try\"") >&5
8118    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8119    ac_status=$?    ac_status=$?
8120    echo "$as_me:8104: \$? = $ac_status" >&5    echo "$as_me:8120: \$? = $ac_status" >&5
8121    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8122    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8123  else  else
# Line 8111  eval "$as_ac_var=no" Line 8127  eval "$as_ac_var=no"
8127  fi  fi
8128  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8129  fi  fi
8130  echo "$as_me:8114: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8130: result: `eval echo '${'$as_ac_var'}'`" >&5
8131  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8132  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8133    
# Line 8125  fi Line 8141  fi
8141    done    done
8142  fi  fi
8143    
8144  echo "$as_me:8128: checking stack direction for C alloca" >&5  echo "$as_me:8144: checking stack direction for C alloca" >&5
8145  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6  echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8146  if test "${ac_cv_c_stack_direction+set}" = set; then  if test "${ac_cv_c_stack_direction+set}" = set; then
8147    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8134  else Line 8150  else
8150    ac_cv_c_stack_direction=0    ac_cv_c_stack_direction=0
8151  else  else
8152    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8153  #line 8137 "configure"  #line 8153 "configure"
8154  #include "confdefs.h"  #include "confdefs.h"
8155  int  int
8156  find_stack_direction ()  find_stack_direction ()
# Line 8157  main () Line 8173  main ()
8173  }  }
8174  _ACEOF  _ACEOF
8175  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8176  if { (eval echo "$as_me:8160: \"$ac_link\"") >&5  if { (eval echo "$as_me:8176: \"$ac_link\"") >&5
8177    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8178    ac_status=$?    ac_status=$?
8179    echo "$as_me:8163: \$? = $ac_status" >&5    echo "$as_me:8179: \$? = $ac_status" >&5
8180    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8181    { (eval echo "$as_me:8165: \"$ac_try\"") >&5    { (eval echo "$as_me:8181: \"$ac_try\"") >&5
8182    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8183    ac_status=$?    ac_status=$?
8184    echo "$as_me:8168: \$? = $ac_status" >&5    echo "$as_me:8184: \$? = $ac_status" >&5
8185    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8186    ac_cv_c_stack_direction=1    ac_cv_c_stack_direction=1
8187  else  else
# Line 8177  fi Line 8193  fi
8193  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8194  fi  fi
8195  fi  fi
8196  echo "$as_me:8180: result: $ac_cv_c_stack_direction" >&5  echo "$as_me:8196: result: $ac_cv_c_stack_direction" >&5
8197  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6  echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8198    
8199  cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
# Line 8189  fi Line 8205  fi
8205  # fmod, logb, and frexp are found in -lm on most systems.  # fmod, logb, and frexp are found in -lm on most systems.
8206  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.  # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
8207    
8208  echo "$as_me:8192: checking for sqrt in -lm" >&5  echo "$as_me:8208: checking for sqrt in -lm" >&5
8209  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6  echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
8210  if test "${ac_cv_lib_m_sqrt+set}" = set; then  if test "${ac_cv_lib_m_sqrt+set}" = set; then
8211    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8197  else Line 8213  else
8213    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8214  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
8215  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8216  #line 8200 "configure"  #line 8216 "configure"
8217  #include "confdefs.h"  #include "confdefs.h"
8218    
8219  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8216  sqrt (); Line 8232  sqrt ();
8232  }  }
8233  _ACEOF  _ACEOF
8234  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8235  if { (eval echo "$as_me:8219: \"$ac_link\"") >&5  if { (eval echo "$as_me:8235: \"$ac_link\"") >&5
8236    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8237    ac_status=$?    ac_status=$?
8238    echo "$as_me:8222: \$? = $ac_status" >&5    echo "$as_me:8238: \$? = $ac_status" >&5
8239    (exit $ac_status); } &&    (exit $ac_status); } &&
8240           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8241    { (eval echo "$as_me:8225: \"$ac_try\"") >&5    { (eval echo "$as_me:8241: \"$ac_try\"") >&5
8242    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8243    ac_status=$?    ac_status=$?
8244    echo "$as_me:8228: \$? = $ac_status" >&5    echo "$as_me:8244: \$? = $ac_status" >&5
8245    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8246    ac_cv_lib_m_sqrt=yes    ac_cv_lib_m_sqrt=yes
8247  else  else
# Line 8236  fi Line 8252  fi
8252  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8253  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8254  fi  fi
8255  echo "$as_me:8239: result: $ac_cv_lib_m_sqrt" >&5  echo "$as_me:8255: result: $ac_cv_lib_m_sqrt" >&5
8256  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6  echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
8257  if test $ac_cv_lib_m_sqrt = yes; then  if test $ac_cv_lib_m_sqrt = yes; then
8258    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8249  fi Line 8265  fi
8265    
8266  # Check for mail-locking functions in a "mail" library  # Check for mail-locking functions in a "mail" library
8267    
8268  echo "$as_me:8252: checking for maillock in -lmail" >&5  echo "$as_me:8268: checking for maillock in -lmail" >&5
8269  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
8270  if test "${ac_cv_lib_mail_maillock+set}" = set; then  if test "${ac_cv_lib_mail_maillock+set}" = set; then
8271    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8257  else Line 8273  else
8273    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8274  LIBS="-lmail  $LIBS"  LIBS="-lmail  $LIBS"
8275  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8276  #line 8260 "configure"  #line 8276 "configure"
8277  #include "confdefs.h"  #include "confdefs.h"
8278    
8279  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8276  maillock (); Line 8292  maillock ();
8292  }  }
8293  _ACEOF  _ACEOF
8294  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8295  if { (eval echo "$as_me:8279: \"$ac_link\"") >&5  if { (eval echo "$as_me:8295: \"$ac_link\"") >&5
8296    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8297    ac_status=$?    ac_status=$?
8298    echo "$as_me:8282: \$? = $ac_status" >&5    echo "$as_me:8298: \$? = $ac_status" >&5
8299    (exit $ac_status); } &&    (exit $ac_status); } &&
8300           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8301    { (eval echo "$as_me:8285: \"$ac_try\"") >&5    { (eval echo "$as_me:8301: \"$ac_try\"") >&5
8302    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8303    ac_status=$?    ac_status=$?
8304    echo "$as_me:8288: \$? = $ac_status" >&5    echo "$as_me:8304: \$? = $ac_status" >&5
8305    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8306    ac_cv_lib_mail_maillock=yes    ac_cv_lib_mail_maillock=yes
8307  else  else
# Line 8296  fi Line 8312  fi
8312  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8313  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8314  fi  fi
8315  echo "$as_me:8299: result: $ac_cv_lib_mail_maillock" >&5  echo "$as_me:8315: result: $ac_cv_lib_mail_maillock" >&5
8316  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
8317  if test $ac_cv_lib_mail_maillock = yes; then  if test $ac_cv_lib_mail_maillock = yes; then
8318    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8307  EOF Line 8323  EOF
8323    
8324  fi  fi
8325    
8326  echo "$as_me:8310: checking for maillock in -llockfile" >&5  echo "$as_me:8326: checking for maillock in -llockfile" >&5
8327  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6  echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
8328  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then  if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
8329    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8315  else Line 8331  else
8331    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8332  LIBS="-llockfile  $LIBS"  LIBS="-llockfile  $LIBS"
8333  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8334  #line 8318 "configure"  #line 8334 "configure"
8335  #include "confdefs.h"  #include "confdefs.h"
8336    
8337  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 8334  maillock (); Line 8350  maillock ();
8350  }  }
8351  _ACEOF  _ACEOF
8352  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8353  if { (eval echo "$as_me:8337: \"$ac_link\"") >&5  if { (eval echo "$as_me:8353: \"$ac_link\"") >&5
8354    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8355    ac_status=$?    ac_status=$?
8356    echo "$as_me:8340: \$? = $ac_status" >&5    echo "$as_me:8356: \$? = $ac_status" >&5
8357    (exit $ac_status); } &&    (exit $ac_status); } &&
8358           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8359    { (eval echo "$as_me:8343: \"$ac_try\"") >&5    { (eval echo "$as_me:8359: \"$ac_try\"") >&5
8360    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8361    ac_status=$?    ac_status=$?
8362    echo "$as_me:8346: \$? = $ac_status" >&5    echo "$as_me:8362: \$? = $ac_status" >&5
8363    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8364    ac_cv_lib_lockfile_maillock=yes    ac_cv_lib_lockfile_maillock=yes
8365  else  else
# Line 8354  fi Line 8370  fi
8370  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8371  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8372  fi  fi
8373  echo "$as_me:8357: result: $ac_cv_lib_lockfile_maillock" >&5  echo "$as_me:8373: result: $ac_cv_lib_lockfile_maillock" >&5
8374  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6  echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
8375  if test $ac_cv_lib_lockfile_maillock = yes; then  if test $ac_cv_lib_lockfile_maillock = yes; then
8376    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8371  fi Line 8387  fi
8387  if test "$ac_cv_lib_lockfile_maillock" = no; then  if test "$ac_cv_lib_lockfile_maillock" = no; then
8388        # Extract the first word of "liblockfile.so", so it can be a program name with args.        # Extract the first word of "liblockfile.so", so it can be a program name with args.
8389  set dummy liblockfile.so; ac_word=$2  set dummy liblockfile.so; ac_word=$2
8390  echo "$as_me:8374: checking for $ac_word" >&5  echo "$as_me:8390: checking for $ac_word" >&5
8391  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8392  if test "${ac_cv_prog_liblockfile+set}" = set; then  if test "${ac_cv_prog_liblockfile+set}" = set; then
8393    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8386  for ac_dir in $ac_dummy; do Line 8402  for ac_dir in $ac_dummy; do
8402    test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
8403    $as_executable_p "$ac_dir/$ac_word" || continue    $as_executable_p "$ac_dir/$ac_word" || continue
8404  ac_cv_prog_liblockfile="yes"  ac_cv_prog_liblockfile="yes"
8405  echo "$as_me:8389: found $ac_dir/$ac_word" >&5  echo "$as_me:8405: found $ac_dir/$ac_word" >&5
8406  break  break
8407  done  done
8408    
# Line 8395  fi Line 8411  fi
8411  fi  fi
8412  liblockfile=$ac_cv_prog_liblockfile  liblockfile=$ac_cv_prog_liblockfile
8413  if test -n "$liblockfile"; then  if test -n "$liblockfile"; then
8414    echo "$as_me:8398: result: $liblockfile" >&5    echo "$as_me:8414: result: $liblockfile" >&5
8415  echo "${ECHO_T}$liblockfile" >&6  echo "${ECHO_T}$liblockfile" >&6
8416  else  else
8417    echo "$as_me:8401: result: no" >&5    echo "$as_me:8417: result: no" >&5
8418  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8419  fi  fi
8420    
8421    if test $ac_cv_prog_liblockfile = yes; then    if test $ac_cv_prog_liblockfile = yes; then
8422      { { echo "$as_me:8406: error: Shared liblockfile found but can't link against it.      { { echo "$as_me:8422: error: Shared liblockfile found but can't link against it.
8423  This probably means that movemail could lose mail.  This probably means that movemail could lose mail.
8424  There may be a \`development' package to install containing liblockfile." >&5  There may be a \`development' package to install containing liblockfile." >&5
8425  echo "$as_me: error: Shared liblockfile found but can't link against it.  echo "$as_me: error: Shared liblockfile found but can't link against it.
# Line 8422  fi Line 8438  fi
8438  for ac_func in touchlock  for ac_func in touchlock
8439  do  do
8440  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8441  echo "$as_me:8425: checking for $ac_func" >&5  echo "$as_me:8441: checking for $ac_func" >&5
8442  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8443  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8444    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8445  else  else
8446    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8447  #line 8431 "configure"  #line 8447 "configure"
8448  #include "confdefs.h"  #include "confdefs.h"
8449  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8450      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8459  f = $ac_func; Line 8475  f = $ac_func;
8475  }  }
8476  _ACEOF  _ACEOF
8477  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8478  if { (eval echo "$as_me:8462: \"$ac_link\"") >&5  if { (eval echo "$as_me:8478: \"$ac_link\"") >&5
8479    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8480    ac_status=$?    ac_status=$?
8481    echo "$as_me:8465: \$? = $ac_status" >&5    echo "$as_me:8481: \$? = $ac_status" >&5
8482    (exit $ac_status); } &&    (exit $ac_status); } &&
8483           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8484    { (eval echo "$as_me:8468: \"$ac_try\"") >&5    { (eval echo "$as_me:8484: \"$ac_try\"") >&5
8485    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8486    ac_status=$?    ac_status=$?
8487    echo "$as_me:8471: \$? = $ac_status" >&5    echo "$as_me:8487: \$? = $ac_status" >&5
8488    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8489    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8490  else  else
# Line 8478  eval "$as_ac_var=no" Line 8494  eval "$as_ac_var=no"
8494  fi  fi
8495  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8496  fi  fi
8497  echo "$as_me:8481: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8497: result: `eval echo '${'$as_ac_var'}'`" >&5
8498  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8499  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8500    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8491  done Line 8507  done
8507  for ac_header in maillock.h  for ac_header in maillock.h
8508  do  do
8509  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8510  echo "$as_me:8494: checking for $ac_header" >&5  echo "$as_me:8510: checking for $ac_header" >&5
8511  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8512  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8513    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8514  else  else
8515    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8516  #line 8500 "configure"  #line 8516 "configure"
8517  #include "confdefs.h"  #include "confdefs.h"
8518  #include <$ac_header>  #include <$ac_header>
8519  _ACEOF  _ACEOF
8520  if { (eval echo "$as_me:8504: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8520: \"$ac_cpp conftest.$ac_ext\"") >&5
8521    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8522    ac_status=$?    ac_status=$?
8523    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8524    rm -f conftest.er1    rm -f conftest.er1
8525    cat conftest.err >&5    cat conftest.err >&5
8526    echo "$as_me:8510: \$? = $ac_status" >&5    echo "$as_me:8526: \$? = $ac_status" >&5
8527    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8528    if test -s conftest.err; then    if test -s conftest.err; then
8529      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8526  else Line 8542  else
8542  fi  fi
8543  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8544  fi  fi
8545  echo "$as_me:8529: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8545: result: `eval echo '${'$as_ac_Header'}'`" >&5
8546  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8547  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8548    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8546  sendto recvfrom getsockopt setsockopt ge Line 8562  sendto recvfrom getsockopt setsockopt ge
8562  gai_strerror mkstemp getline getdelim  gai_strerror mkstemp getline getdelim
8563  do  do
8564  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8565  echo "$as_me:8549: checking for $ac_func" >&5  echo "$as_me:8565: checking for $ac_func" >&5
8566  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8567  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8568    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8569  else  else
8570    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8571  #line 8555 "configure"  #line 8571 "configure"
8572  #include "confdefs.h"  #include "confdefs.h"
8573  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8574      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8583  f = $ac_func; Line 8599  f = $ac_func;
8599  }  }
8600  _ACEOF  _ACEOF
8601  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8602  if { (eval echo "$as_me:8586: \"$ac_link\"") >&5  if { (eval echo "$as_me:8602: \"$ac_link\"") >&5
8603    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8604    ac_status=$?    ac_status=$?
8605    echo "$as_me:8589: \$? = $ac_status" >&5    echo "$as_me:8605: \$? = $ac_status" >&5
8606    (exit $ac_status); } &&    (exit $ac_status); } &&
8607           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8608    { (eval echo "$as_me:8592: \"$ac_try\"") >&5    { (eval echo "$as_me:8608: \"$ac_try\"") >&5
8609    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8610    ac_status=$?    ac_status=$?
8611    echo "$as_me:8595: \$? = $ac_status" >&5    echo "$as_me:8611: \$? = $ac_status" >&5
8612    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8613    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8614  else  else
# Line 8602  eval "$as_ac_var=no" Line 8618  eval "$as_ac_var=no"
8618  fi  fi
8619  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8620  fi  fi
8621  echo "$as_me:8605: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8621: result: `eval echo '${'$as_ac_var'}'`" >&5
8622  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8623  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8624    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8615  done Line 8631  done
8631  for ac_header in sys/un.h  for ac_header in sys/un.h
8632  do  do
8633  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8634  echo "$as_me:8618: checking for $ac_header" >&5  echo "$as_me:8634: checking for $ac_header" >&5
8635  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8636  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8637    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8638  else  else
8639    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8640  #line 8624 "configure"  #line 8640 "configure"
8641  #include "confdefs.h"  #include "confdefs.h"
8642  #include <$ac_header>  #include <$ac_header>
8643  _ACEOF  _ACEOF
8644  if { (eval echo "$as_me:8628: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8644: \"$ac_cpp conftest.$ac_ext\"") >&5
8645    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8646    ac_status=$?    ac_status=$?
8647    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8648    rm -f conftest.er1    rm -f conftest.er1
8649    cat conftest.err >&5    cat conftest.err >&5
8650    echo "$as_me:8634: \$? = $ac_status" >&5    echo "$as_me:8650: \$? = $ac_status" >&5
8651    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8652    if test -s conftest.err; then    if test -s conftest.err; then
8653      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8650  else Line 8666  else
8666  fi  fi
8667  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8668  fi  fi
8669  echo "$as_me:8653: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8669: result: `eval echo '${'$as_ac_Header'}'`" >&5
8670  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8671  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8672    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8663  done Line 8679  done
8679  for ac_header in sys/time.h unistd.h  for ac_header in sys/time.h unistd.h
8680  do  do
8681  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8682  echo "$as_me:8666: checking for $ac_header" >&5  echo "$as_me:8682: checking for $ac_header" >&5
8683  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8684  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
8685    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8686  else  else
8687    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8688  #line 8672 "configure"  #line 8688 "configure"
8689  #include "confdefs.h"  #include "confdefs.h"
8690  #include <$ac_header>  #include <$ac_header>
8691  _ACEOF  _ACEOF
8692  if { (eval echo "$as_me:8676: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:8692: \"$ac_cpp conftest.$ac_ext\"") >&5
8693    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8694    ac_status=$?    ac_status=$?
8695    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
8696    rm -f conftest.er1    rm -f conftest.er1
8697    cat conftest.err >&5    cat conftest.err >&5
8698    echo "$as_me:8682: \$? = $ac_status" >&5    echo "$as_me:8698: \$? = $ac_status" >&5
8699    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
8700    if test -s conftest.err; then    if test -s conftest.err; then
8701      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 8698  else Line 8714  else
8714  fi  fi
8715  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
8716  fi  fi
8717  echo "$as_me:8701: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:8717: result: `eval echo '${'$as_ac_Header'}'`" >&5
8718  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8719  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
8720    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8711  done Line 8727  done
8727  for ac_func in alarm  for ac_func in alarm
8728  do  do
8729  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8730  echo "$as_me:8714: checking for $ac_func" >&5  echo "$as_me:8730: checking for $ac_func" >&5
8731  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8732  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
8733    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8734  else  else
8735    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8736  #line 8720 "configure"  #line 8736 "configure"
8737  #include "confdefs.h"  #include "confdefs.h"
8738  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8739      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 8748  f = $ac_func; Line 8764  f = $ac_func;
8764  }  }
8765  _ACEOF  _ACEOF
8766  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8767  if { (eval echo "$as_me:8751: \"$ac_link\"") >&5  if { (eval echo "$as_me:8767: \"$ac_link\"") >&5
8768    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8769    ac_status=$?    ac_status=$?
8770    echo "$as_me:8754: \$? = $ac_status" >&5    echo "$as_me:8770: \$? = $ac_status" >&5
8771    (exit $ac_status); } &&    (exit $ac_status); } &&
8772           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
8773    { (eval echo "$as_me:8757: \"$ac_try\"") >&5    { (eval echo "$as_me:8773: \"$ac_try\"") >&5
8774    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8775    ac_status=$?    ac_status=$?
8776    echo "$as_me:8760: \$? = $ac_status" >&5    echo "$as_me:8776: \$? = $ac_status" >&5
8777    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8778    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
8779  else  else
# Line 8767  eval "$as_ac_var=no" Line 8783  eval "$as_ac_var=no"
8783  fi  fi
8784  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8785  fi  fi
8786  echo "$as_me:8770: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:8786: result: `eval echo '${'$as_ac_var'}'`" >&5
8787  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8788  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
8789    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 8777  EOF Line 8793  EOF
8793  fi  fi
8794  done  done
8795    
8796  echo "$as_me:8780: checking for working mktime" >&5  echo "$as_me:8796: checking for working mktime" >&5
8797  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6  echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
8798  if test "${ac_cv_func_working_mktime+set}" = set; then  if test "${ac_cv_func_working_mktime+set}" = set; then
8799    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 8786  else Line 8802  else
8802    ac_cv_func_working_mktime=no    ac_cv_func_working_mktime=no
8803  else  else
8804    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8805  #line 8789 "configure"  #line 8805 "configure"
8806  #include "confdefs.h"  #include "confdefs.h"
8807  /* Test program from Paul Eggert and Tony Leneis.  */  /* Test program from Paul Eggert and Tony Leneis.  */
8808  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 8935  main () Line 8951  main ()
8951  }  }
8952  _ACEOF  _ACEOF
8953  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
8954  if { (eval echo "$as_me:8938: \"$ac_link\"") >&5  if { (eval echo "$as_me:8954: \"$ac_link\"") >&5
8955    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
8956    ac_status=$?    ac_status=$?
8957    echo "$as_me:8941: \$? = $ac_status" >&5    echo "$as_me:8957: \$? = $ac_status" >&5
8958    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8959    { (eval echo "$as_me:8943: \"$ac_try\"") >&5    { (eval echo "$as_me:8959: \"$ac_try\"") >&5
8960    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8961    ac_status=$?    ac_status=$?
8962    echo "$as_me:8946: \$? = $ac_status" >&5    echo "$as_me:8962: \$? = $ac_status" >&5
8963    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8964    ac_cv_func_working_mktime=yes    ac_cv_func_working_mktime=yes
8965  else  else
# Line 8955  fi Line 8971  fi
8971  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8972  fi  fi
8973  fi  fi
8974  echo "$as_me:8958: result: $ac_cv_func_working_mktime" >&5  echo "$as_me:8974: result: $ac_cv_func_working_mktime" >&5
8975  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6  echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
8976  if test $ac_cv_func_working_mktime = no; then  if test $ac_cv_func_working_mktime = no; then
8977    LIBOBJS="$LIBOBJS mktime.$ac_objext"    LIBOBJS="$LIBOBJS mktime.$ac_objext"
# Line 8974  ac_have_func=no # yes means we've found Line 8990  ac_have_func=no # yes means we've found
8990  ac_save_LIBS=$LIBS  ac_save_LIBS=$LIBS
8991    
8992  # Check for getloadavg, but be sure not to touch the cache variable.  # Check for getloadavg, but be sure not to touch the cache variable.
8993  (echo "$as_me:8977: checking for getloadavg" >&5  (echo "$as_me:8993: checking for getloadavg" >&5
8994  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
8995  if test "${ac_cv_func_getloadavg+set}" = set; then  if test "${ac_cv_func_getloadavg+set}" = set; then
8996    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8997  else  else
8998    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8999  #line 8983 "configure"  #line 8999 "configure"
9000  #include "confdefs.h"  #include "confdefs.h"
9001  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9002      which can conflict with char getloadavg (); below.  */      which can conflict with char getloadavg (); below.  */
# Line 9011  f = getloadavg; Line 9027  f = getloadavg;
9027  }  }
9028  _ACEOF  _ACEOF
9029  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9030  if { (eval echo "$as_me:9014: \"$ac_link\"") >&5  if { (eval echo "$as_me:9030: \"$ac_link\"") >&5
9031    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9032    ac_status=$?    ac_status=$?
9033    echo "$as_me:9017: \$? = $ac_status" >&5    echo "$as_me:9033: \$? = $ac_status" >&5
9034    (exit $ac_status); } &&    (exit $ac_status); } &&
9035           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9036    { (eval echo "$as_me:9020: \"$ac_try\"") >&5    { (eval echo "$as_me:9036: \"$ac_try\"") >&5
9037    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9038    ac_status=$?    ac_status=$?
9039    echo "$as_me:9023: \$? = $ac_status" >&5    echo "$as_me:9039: \$? = $ac_status" >&5
9040    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9041    ac_cv_func_getloadavg=yes    ac_cv_func_getloadavg=yes
9042  else  else
# Line 9030  ac_cv_func_getloadavg=no Line 9046  ac_cv_func_getloadavg=no
9046  fi  fi
9047  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9048  fi  fi
9049  echo "$as_me:9033: result: $ac_cv_func_getloadavg" >&5  echo "$as_me:9049: result: $ac_cv_func_getloadavg" >&5
9050  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9051  if test $ac_cv_func_getloadavg = yes; then  if test $ac_cv_func_getloadavg = yes; then
9052    exit 0    exit 0
# Line 9044  fi Line 9060  fi
9060  for ac_func in pstat_getdynamic  for ac_func in pstat_getdynamic
9061  do  do
9062  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9063  echo "$as_me:9047: checking for $ac_func" >&5  echo "$as_me:9063: checking for $ac_func" >&5
9064  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9065  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9066    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9067  else  else
9068    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9069  #line 9053 "configure"  #line 9069 "configure"
9070  #include "confdefs.h"  #include "confdefs.h"
9071  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9072      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9081  f = $ac_func; Line 9097  f = $ac_func;
9097  }  }
9098  _ACEOF  _ACEOF
9099  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9100  if { (eval echo "$as_me:9084: \"$ac_link\"") >&5  if { (eval echo "$as_me:9100: \"$ac_link\"") >&5
9101    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9102    ac_status=$?    ac_status=$?
9103    echo "$as_me:9087: \$? = $ac_status" >&5    echo "$as_me:9103: \$? = $ac_status" >&5
9104    (exit $ac_status); } &&    (exit $ac_status); } &&
9105           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9106    { (eval echo "$as_me:9090: \"$ac_try\"") >&5    { (eval echo "$as_me:9106: \"$ac_try\"") >&5
9107    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9108    ac_status=$?    ac_status=$?
9109    echo "$as_me:9093: \$? = $ac_status" >&5    echo "$as_me:9109: \$? = $ac_status" >&5
9110    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9111    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9112  else  else
# Line 9100  eval "$as_ac_var=no" Line 9116  eval "$as_ac_var=no"
9116  fi  fi
9117  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9118  fi  fi
9119  echo "$as_me:9103: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9119: result: `eval echo '${'$as_ac_var'}'`" >&5
9120  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9121  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9122    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9112  done Line 9128  done
9128    
9129  # Solaris has libkstat which does not require root.  # Solaris has libkstat which does not require root.
9130    
9131  echo "$as_me:9115: checking for kstat_open in -lkstat" >&5  echo "$as_me:9131: checking for kstat_open in -lkstat" >&5
9132  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6  echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9133  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then  if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9134    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9120  else Line 9136  else
9136    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9137  LIBS="-lkstat  $LIBS"  LIBS="-lkstat  $LIBS"
9138  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9139  #line 9123 "configure"  #line 9139 "configure"
9140  #include "confdefs.h"  #include "confdefs.h"
9141    
9142  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9139  kstat_open (); Line 9155  kstat_open ();
9155  }  }
9156  _ACEOF  _ACEOF
9157  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9158  if { (eval echo "$as_me:9142: \"$ac_link\"") >&5  if { (eval echo "$as_me:9158: \"$ac_link\"") >&5
9159    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9160    ac_status=$?    ac_status=$?
9161    echo "$as_me:9145: \$? = $ac_status" >&5    echo "$as_me:9161: \$? = $ac_status" >&5
9162    (exit $ac_status); } &&    (exit $ac_status); } &&
9163           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9164    { (eval echo "$as_me:9148: \"$ac_try\"") >&5    { (eval echo "$as_me:9164: \"$ac_try\"") >&5
9165    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9166    ac_status=$?    ac_status=$?
9167    echo "$as_me:9151: \$? = $ac_status" >&5    echo "$as_me:9167: \$? = $ac_status" >&5
9168    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9169    ac_cv_lib_kstat_kstat_open=yes    ac_cv_lib_kstat_kstat_open=yes
9170  else  else
# Line 9159  fi Line 9175  fi
9175  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9176  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9177  fi  fi
9178  echo "$as_me:9162: result: $ac_cv_lib_kstat_kstat_open" >&5  echo "$as_me:9178: result: $ac_cv_lib_kstat_kstat_open" >&5
9179  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6  echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9180  if test $ac_cv_lib_kstat_kstat_open = yes; then  if test $ac_cv_lib_kstat_kstat_open = yes; then
9181    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9177  test $ac_cv_lib_kstat_kstat_open = yes & Line 9193  test $ac_cv_lib_kstat_kstat_open = yes &
9193  # to get the right answer into the cache.  # to get the right answer into the cache.
9194  # For kstat on solaris, we need libelf to force the definition of SVR4 below.  # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9195  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9196    echo "$as_me:9180: checking for elf_begin in -lelf" >&5    echo "$as_me:9196: checking for elf_begin in -lelf" >&5
9197  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6  echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9198  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then  if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9199    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9185  else Line 9201  else
9201    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9202  LIBS="-lelf  $LIBS"  LIBS="-lelf  $LIBS"
9203  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9204  #line 9188 "configure"  #line 9204 "configure"
9205  #include "confdefs.h"  #include "confdefs.h"
9206    
9207  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9204  elf_begin (); Line 9220  elf_begin ();
9220  }  }
9221  _ACEOF  _ACEOF
9222  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9223  if { (eval echo "$as_me:9207: \"$ac_link\"") >&5  if { (eval echo "$as_me:9223: \"$ac_link\"") >&5
9224    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9225    ac_status=$?    ac_status=$?
9226    echo "$as_me:9210: \$? = $ac_status" >&5    echo "$as_me:9226: \$? = $ac_status" >&5
9227    (exit $ac_status); } &&    (exit $ac_status); } &&
9228           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9229    { (eval echo "$as_me:9213: \"$ac_try\"") >&5    { (eval echo "$as_me:9229: \"$ac_try\"") >&5
9230    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9231    ac_status=$?    ac_status=$?
9232    echo "$as_me:9216: \$? = $ac_status" >&5    echo "$as_me:9232: \$? = $ac_status" >&5
9233    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9234    ac_cv_lib_elf_elf_begin=yes    ac_cv_lib_elf_elf_begin=yes
9235  else  else
# Line 9224  fi Line 9240  fi
9240  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9241  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9242  fi  fi
9243  echo "$as_me:9227: result: $ac_cv_lib_elf_elf_begin" >&5  echo "$as_me:9243: result: $ac_cv_lib_elf_elf_begin" >&5
9244  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6  echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9245  if test $ac_cv_lib_elf_elf_begin = yes; then  if test $ac_cv_lib_elf_elf_begin = yes; then
9246    LIBS="-lelf $LIBS"    LIBS="-lelf $LIBS"
# Line 9232  fi Line 9248  fi
9248    
9249  fi  fi
9250  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9251    echo "$as_me:9235: checking for kvm_open in -lkvm" >&5    echo "$as_me:9251: checking for kvm_open in -lkvm" >&5
9252  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6  echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9253  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then  if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9254    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9240  else Line 9256  else
9256    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9257  LIBS="-lkvm  $LIBS"  LIBS="-lkvm  $LIBS"
9258  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9259  #line 9243 "configure"  #line 9259 "configure"
9260  #include "confdefs.h"  #include "confdefs.h"
9261    
9262  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9259  kvm_open (); Line 9275  kvm_open ();
9275  }  }
9276  _ACEOF  _ACEOF
9277  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9278  if { (eval echo "$as_me:9262: \"$ac_link\"") >&5  if { (eval echo "$as_me:9278: \"$ac_link\"") >&5
9279    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9280    ac_status=$?    ac_status=$?
9281    echo "$as_me:9265: \$? = $ac_status" >&5    echo "$as_me:9281: \$? = $ac_status" >&5
9282    (exit $ac_status); } &&    (exit $ac_status); } &&
9283           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9284    { (eval echo "$as_me:9268: \"$ac_try\"") >&5    { (eval echo "$as_me:9284: \"$ac_try\"") >&5
9285    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9286    ac_status=$?    ac_status=$?
9287    echo "$as_me:9271: \$? = $ac_status" >&5    echo "$as_me:9287: \$? = $ac_status" >&5
9288    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9289    ac_cv_lib_kvm_kvm_open=yes    ac_cv_lib_kvm_kvm_open=yes
9290  else  else
# Line 9279  fi Line 9295  fi
9295  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9296  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9297  fi  fi
9298  echo "$as_me:9282: result: $ac_cv_lib_kvm_kvm_open" >&5  echo "$as_me:9298: result: $ac_cv_lib_kvm_kvm_open" >&5
9299  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6  echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9300  if test $ac_cv_lib_kvm_kvm_open = yes; then  if test $ac_cv_lib_kvm_kvm_open = yes; then
9301    LIBS="-lkvm $LIBS"    LIBS="-lkvm $LIBS"
9302  fi  fi
9303    
9304    # Check for the 4.4BSD definition of getloadavg.    # Check for the 4.4BSD definition of getloadavg.
9305    echo "$as_me:9289: checking for getloadavg in -lutil" >&5    echo "$as_me:9305: checking for getloadavg in -lutil" >&5
9306  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9307  if test "${ac_cv_lib_util_getloadavg+set}" = set; then  if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9308    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9294  else Line 9310  else
9310    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9311  LIBS="-lutil  $LIBS"  LIBS="-lutil  $LIBS"
9312  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9313  #line 9297 "configure"  #line 9313 "configure"
9314  #include "confdefs.h"  #include "confdefs.h"
9315    
9316  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9313  getloadavg (); Line 9329  getloadavg ();
9329  }  }
9330  _ACEOF  _ACEOF
9331  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9332  if { (eval echo "$as_me:9316: \"$ac_link\"") >&5  if { (eval echo "$as_me:9332: \"$ac_link\"") >&5
9333    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9334    ac_status=$?    ac_status=$?
9335    echo "$as_me:9319: \$? = $ac_status" >&5    echo "$as_me:9335: \$? = $ac_status" >&5
9336    (exit $ac_status); } &&    (exit $ac_status); } &&
9337           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9338    { (eval echo "$as_me:9322: \"$ac_try\"") >&5    { (eval echo "$as_me:9338: \"$ac_try\"") >&5
9339    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9340    ac_status=$?    ac_status=$?
9341    echo "$as_me:9325: \$? = $ac_status" >&5    echo "$as_me:9341: \$? = $ac_status" >&5
9342    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9343    ac_cv_lib_util_getloadavg=yes    ac_cv_lib_util_getloadavg=yes
9344  else  else
# Line 9333  fi Line 9349  fi
9349  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9350  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9351  fi  fi
9352  echo "$as_me:9336: result: $ac_cv_lib_util_getloadavg" >&5  echo "$as_me:9352: result: $ac_cv_lib_util_getloadavg" >&5
9353  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9354  if test $ac_cv_lib_util_getloadavg = yes; then  if test $ac_cv_lib_util_getloadavg = yes; then
9355    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes    LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
# Line 9346  if test $ac_have_func = no; then Line 9362  if test $ac_have_func = no; then
9362    # Since it is not a standard part of AIX, it might be installed locally.    # Since it is not a standard part of AIX, it might be installed locally.
9363    ac_getloadavg_LIBS=$LIBS    ac_getloadavg_LIBS=$LIBS
9364    LIBS="-L/usr/local/lib $LIBS"    LIBS="-L/usr/local/lib $LIBS"
9365    echo "$as_me:9349: checking for getloadavg in -lgetloadavg" >&5    echo "$as_me:9365: checking for getloadavg in -lgetloadavg" >&5
9366  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6  echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9367  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then  if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9368    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9354  else Line 9370  else
9370    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9371  LIBS="-lgetloadavg  $LIBS"  LIBS="-lgetloadavg  $LIBS"
9372  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9373  #line 9357 "configure"  #line 9373 "configure"
9374  #include "confdefs.h"  #include "confdefs.h"
9375    
9376  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9373  getloadavg (); Line 9389  getloadavg ();
9389  }  }
9390  _ACEOF  _ACEOF
9391  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9392  if { (eval echo "$as_me:9376: \"$ac_link\"") >&5  if { (eval echo "$as_me:9392: \"$ac_link\"") >&5
9393    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9394    ac_status=$?    ac_status=$?
9395    echo "$as_me:9379: \$? = $ac_status" >&5    echo "$as_me:9395: \$? = $ac_status" >&5
9396    (exit $ac_status); } &&    (exit $ac_status); } &&
9397           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9398    { (eval echo "$as_me:9382: \"$ac_try\"") >&5    { (eval echo "$as_me:9398: \"$ac_try\"") >&5
9399    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9400    ac_status=$?    ac_status=$?
9401    echo "$as_me:9385: \$? = $ac_status" >&5    echo "$as_me:9401: \$? = $ac_status" >&5
9402    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9403    ac_cv_lib_getloadavg_getloadavg=yes    ac_cv_lib_getloadavg_getloadavg=yes
9404  else  else
# Line 9393  fi Line 9409  fi
9409  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9410  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9411  fi  fi
9412  echo "$as_me:9396: result: $ac_cv_lib_getloadavg_getloadavg" >&5  echo "$as_me:9412: result: $ac_cv_lib_getloadavg_getloadavg" >&5
9413  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6  echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
9414  if test $ac_cv_lib_getloadavg_getloadavg = yes; then  if test $ac_cv_lib_getloadavg_getloadavg = yes; then
9415    LIBS="-lgetloadavg $LIBS"    LIBS="-lgetloadavg $LIBS"
# Line 9409  fi Line 9425  fi
9425  for ac_func in getloadavg  for ac_func in getloadavg
9426  do  do
9427  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9428  echo "$as_me:9412: checking for $ac_func" >&5  echo "$as_me:9428: checking for $ac_func" >&5
9429  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9430  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9431    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9432  else  else
9433    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9434  #line 9418 "configure"  #line 9434 "configure"
9435  #include "confdefs.h"  #include "confdefs.h"
9436  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9437      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9446  f = $ac_func; Line 9462  f = $ac_func;
9462  }  }
9463  _ACEOF  _ACEOF
9464  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9465  if { (eval echo "$as_me:9449: \"$ac_link\"") >&5  if { (eval echo "$as_me:9465: \"$ac_link\"") >&5
9466    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9467    ac_status=$?    ac_status=$?
9468    echo "$as_me:9452: \$? = $ac_status" >&5    echo "$as_me:9468: \$? = $ac_status" >&5
9469    (exit $ac_status); } &&    (exit $ac_status); } &&
9470           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9471    { (eval echo "$as_me:9455: \"$ac_try\"") >&5    { (eval echo "$as_me:9471: \"$ac_try\"") >&5
9472    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9473    ac_status=$?    ac_status=$?
9474    echo "$as_me:9458: \$? = $ac_status" >&5    echo "$as_me:9474: \$? = $ac_status" >&5
9475    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9476    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9477  else  else
# Line 9465  eval "$as_ac_var=no" Line 9481  eval "$as_ac_var=no"
9481  fi  fi
9482  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9483  fi  fi
9484  echo "$as_me:9468: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9484: result: `eval echo '${'$as_ac_var'}'`" >&5
9485  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9486  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9487    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9481  EOF Line 9497  EOF
9497    
9498  # Figure out what our getloadavg.c needs.  # Figure out what our getloadavg.c needs.
9499  ac_have_func=no  ac_have_func=no
9500  echo "$as_me:9484: checking for sys/dg_sys_info.h" >&5  echo "$as_me:9500: checking for sys/dg_sys_info.h" >&5
9501  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
9502  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then  if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
9503    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9504  else  else
9505    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9506  #line 9490 "configure"  #line 9506 "configure"
9507  #include "confdefs.h"  #include "confdefs.h"
9508  #include <sys/dg_sys_info.h>  #include <sys/dg_sys_info.h>
9509  _ACEOF  _ACEOF
9510  if { (eval echo "$as_me:9494: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9510: \"$ac_cpp conftest.$ac_ext\"") >&5
9511    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9512    ac_status=$?    ac_status=$?
9513    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9514    rm -f conftest.er1    rm -f conftest.er1
9515    cat conftest.err >&5    cat conftest.err >&5
9516    echo "$as_me:9500: \$? = $ac_status" >&5    echo "$as_me:9516: \$? = $ac_status" >&5
9517    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9518    if test -s conftest.err; then    if test -s conftest.err; then
9519      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9516  else Line 9532  else
9532  fi  fi
9533  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9534  fi  fi
9535  echo "$as_me:9519: result: $ac_cv_header_sys_dg_sys_info_h" >&5  echo "$as_me:9535: result: $ac_cv_header_sys_dg_sys_info_h" >&5
9536  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
9537  if test $ac_cv_header_sys_dg_sys_info_h = yes; then  if test $ac_cv_header_sys_dg_sys_info_h = yes; then
9538    ac_have_func=yes    ac_have_func=yes
# Line 9525  cat >>confdefs.h <<\EOF Line 9541  cat >>confdefs.h <<\EOF
9541  #define DGUX 1  #define DGUX 1
9542  EOF  EOF
9543    
9544  echo "$as_me:9528: checking for dg_sys_info in -ldgc" >&5  echo "$as_me:9544: checking for dg_sys_info in -ldgc" >&5
9545  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6  echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
9546  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then  if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
9547    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 9533  else Line 9549  else
9549    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9550  LIBS="-ldgc  $LIBS"  LIBS="-ldgc  $LIBS"
9551  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9552  #line 9536 "configure"  #line 9552 "configure"
9553  #include "confdefs.h"  #include "confdefs.h"
9554    
9555  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 9552  dg_sys_info (); Line 9568  dg_sys_info ();
9568  }  }
9569  _ACEOF  _ACEOF
9570  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9571  if { (eval echo "$as_me:9555: \"$ac_link\"") >&5  if { (eval echo "$as_me:9571: \"$ac_link\"") >&5
9572    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9573    ac_status=$?    ac_status=$?
9574    echo "$as_me:9558: \$? = $ac_status" >&5    echo "$as_me:9574: \$? = $ac_status" >&5
9575    (exit $ac_status); } &&    (exit $ac_status); } &&
9576           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9577    { (eval echo "$as_me:9561: \"$ac_try\"") >&5    { (eval echo "$as_me:9577: \"$ac_try\"") >&5
9578    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9579    ac_status=$?    ac_status=$?
9580    echo "$as_me:9564: \$? = $ac_status" >&5    echo "$as_me:9580: \$? = $ac_status" >&5
9581    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9582    ac_cv_lib_dgc_dg_sys_info=yes    ac_cv_lib_dgc_dg_sys_info=yes
9583  else  else
# Line 9572  fi Line 9588  fi
9588  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9589  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
9590  fi  fi
9591  echo "$as_me:9575: result: $ac_cv_lib_dgc_dg_sys_info" >&5  echo "$as_me:9591: result: $ac_cv_lib_dgc_dg_sys_info" >&5
9592  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6  echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
9593  if test $ac_cv_lib_dgc_dg_sys_info = yes; then  if test $ac_cv_lib_dgc_dg_sys_info = yes; then
9594    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9585  fi Line 9601  fi
9601    
9602  fi  fi
9603    
9604  echo "$as_me:9588: checking for locale.h" >&5  echo "$as_me:9604: checking for locale.h" >&5
9605  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6  echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
9606  if test "${ac_cv_header_locale_h+set}" = set; then  if test "${ac_cv_header_locale_h+set}" = set; then
9607    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9608  else  else
9609    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9610  #line 9594 "configure"  #line 9610 "configure"
9611  #include "confdefs.h"  #include "confdefs.h"
9612  #include <locale.h>  #include <locale.h>
9613  _ACEOF  _ACEOF
9614  if { (eval echo "$as_me:9598: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9614: \"$ac_cpp conftest.$ac_ext\"") >&5
9615    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9616    ac_status=$?    ac_status=$?
9617    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9618    rm -f conftest.er1    rm -f conftest.er1
9619    cat conftest.err >&5    cat conftest.err >&5
9620    echo "$as_me:9604: \$? = $ac_status" >&5    echo "$as_me:9620: \$? = $ac_status" >&5
9621    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9622    if test -s conftest.err; then    if test -s conftest.err; then
9623      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9620  else Line 9636  else
9636  fi  fi
9637  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9638  fi  fi
9639  echo "$as_me:9623: result: $ac_cv_header_locale_h" >&5  echo "$as_me:9639: result: $ac_cv_header_locale_h" >&5
9640  echo "${ECHO_T}$ac_cv_header_locale_h" >&6  echo "${ECHO_T}$ac_cv_header_locale_h" >&6
9641    
9642  for ac_func in setlocale  for ac_func in setlocale
9643  do  do
9644  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9645  echo "$as_me:9629: checking for $ac_func" >&5  echo "$as_me:9645: checking for $ac_func" >&5
9646  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9647  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
9648    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9649  else  else
9650    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9651  #line 9635 "configure"  #line 9651 "configure"
9652  #include "confdefs.h"  #include "confdefs.h"
9653  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
9654      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 9663  f = $ac_func; Line 9679  f = $ac_func;
9679  }  }
9680  _ACEOF  _ACEOF
9681  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
9682  if { (eval echo "$as_me:9666: \"$ac_link\"") >&5  if { (eval echo "$as_me:9682: \"$ac_link\"") >&5
9683    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
9684    ac_status=$?    ac_status=$?
9685    echo "$as_me:9669: \$? = $ac_status" >&5    echo "$as_me:9685: \$? = $ac_status" >&5
9686    (exit $ac_status); } &&    (exit $ac_status); } &&
9687           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
9688    { (eval echo "$as_me:9672: \"$ac_try\"") >&5    { (eval echo "$as_me:9688: \"$ac_try\"") >&5
9689    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9690    ac_status=$?    ac_status=$?
9691    echo "$as_me:9675: \$? = $ac_status" >&5    echo "$as_me:9691: \$? = $ac_status" >&5
9692    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9693    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
9694  else  else
# Line 9682  eval "$as_ac_var=no" Line 9698  eval "$as_ac_var=no"
9698  fi  fi
9699  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9700  fi  fi
9701  echo "$as_me:9685: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:9701: result: `eval echo '${'$as_ac_var'}'`" >&5
9702  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9703  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
9704    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9705  EOF Line 9721  EOF
9721  fi  fi
9722    
9723  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9724    echo "$as_me:9708: checking for inq_stats/cpustats.h" >&5    echo "$as_me:9724: checking for inq_stats/cpustats.h" >&5
9725  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
9726  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then  if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
9727    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9728  else  else
9729    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9730  #line 9714 "configure"  #line 9730 "configure"
9731  #include "confdefs.h"  #include "confdefs.h"
9732  #include <inq_stats/cpustats.h>  #include <inq_stats/cpustats.h>
9733  _ACEOF  _ACEOF
9734  if { (eval echo "$as_me:9718: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9734: \"$ac_cpp conftest.$ac_ext\"") >&5
9735    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9736    ac_status=$?    ac_status=$?
9737    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9738    rm -f conftest.er1    rm -f conftest.er1
9739    cat conftest.err >&5    cat conftest.err >&5
9740    echo "$as_me:9724: \$? = $ac_status" >&5    echo "$as_me:9740: \$? = $ac_status" >&5
9741    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9742    if test -s conftest.err; then    if test -s conftest.err; then
9743      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9740  else Line 9756  else
9756  fi  fi
9757  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9758  fi  fi
9759  echo "$as_me:9743: result: $ac_cv_header_inq_stats_cpustats_h" >&5  echo "$as_me:9759: result: $ac_cv_header_inq_stats_cpustats_h" >&5
9760  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
9761  if test $ac_cv_header_inq_stats_cpustats_h = yes; then  if test $ac_cv_header_inq_stats_cpustats_h = yes; then
9762    ac_have_func=yes    ac_have_func=yes
# Line 9758  fi Line 9774  fi
9774  fi  fi
9775    
9776  if test $ac_have_func = no; then  if test $ac_have_func = no; then
9777    echo "$as_me:9761: checking for sys/cpustats.h" >&5    echo "$as_me:9777: checking for sys/cpustats.h" >&5
9778  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6  echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
9779  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then  if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
9780    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9781  else  else
9782    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9783  #line 9767 "configure"  #line 9783 "configure"
9784  #include "confdefs.h"  #include "confdefs.h"
9785  #include <sys/cpustats.h>  #include <sys/cpustats.h>
9786  _ACEOF  _ACEOF
9787  if { (eval echo "$as_me:9771: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9787: \"$ac_cpp conftest.$ac_ext\"") >&5
9788    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9789    ac_status=$?    ac_status=$?
9790    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9791    rm -f conftest.er1    rm -f conftest.er1
9792    cat conftest.err >&5    cat conftest.err >&5
9793    echo "$as_me:9777: \$? = $ac_status" >&5    echo "$as_me:9793: \$? = $ac_status" >&5
9794    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9795    if test -s conftest.err; then    if test -s conftest.err; then
9796      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9793  else Line 9809  else
9809  fi  fi
9810  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9811  fi  fi
9812  echo "$as_me:9796: result: $ac_cv_header_sys_cpustats_h" >&5  echo "$as_me:9812: result: $ac_cv_header_sys_cpustats_h" >&5
9813  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6  echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
9814  if test $ac_cv_header_sys_cpustats_h = yes; then  if test $ac_cv_header_sys_cpustats_h = yes; then
9815    ac_have_func=yes; cat >>confdefs.h <<\EOF    ac_have_func=yes; cat >>confdefs.h <<\EOF
# Line 9809  if test $ac_have_func = no; then Line 9825  if test $ac_have_func = no; then
9825  for ac_header in mach/mach.h  for ac_header in mach/mach.h
9826  do  do
9827  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9828  echo "$as_me:9812: checking for $ac_header" >&5  echo "$as_me:9828: checking for $ac_header" >&5
9829  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9830  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9831    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9832  else  else
9833    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9834  #line 9818 "configure"  #line 9834 "configure"
9835  #include "confdefs.h"  #include "confdefs.h"
9836  #include <$ac_header>  #include <$ac_header>
9837  _ACEOF  _ACEOF
9838  if { (eval echo "$as_me:9822: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9838: \"$ac_cpp conftest.$ac_ext\"") >&5
9839    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9840    ac_status=$?    ac_status=$?
9841    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9842    rm -f conftest.er1    rm -f conftest.er1
9843    cat conftest.err >&5    cat conftest.err >&5
9844    echo "$as_me:9828: \$? = $ac_status" >&5    echo "$as_me:9844: \$? = $ac_status" >&5
9845    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9846    if test -s conftest.err; then    if test -s conftest.err; then
9847      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9844  else Line 9860  else
9860  fi  fi
9861  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9862  fi  fi
9863  echo "$as_me:9847: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9863: result: `eval echo '${'$as_ac_Header'}'`" >&5
9864  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9865  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9866    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 9859  fi Line 9875  fi
9875  for ac_header in nlist.h  for ac_header in nlist.h
9876  do  do
9877  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9878  echo "$as_me:9862: checking for $ac_header" >&5  echo "$as_me:9878: checking for $ac_header" >&5
9879  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9880  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
9881    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9882  else  else
9883    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9884  #line 9868 "configure"  #line 9884 "configure"
9885  #include "confdefs.h"  #include "confdefs.h"
9886  #include <$ac_header>  #include <$ac_header>
9887  _ACEOF  _ACEOF
9888  if { (eval echo "$as_me:9872: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:9888: \"$ac_cpp conftest.$ac_ext\"") >&5
9889    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9890    ac_status=$?    ac_status=$?
9891    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
9892    rm -f conftest.er1    rm -f conftest.er1
9893    cat conftest.err >&5    cat conftest.err >&5
9894    echo "$as_me:9878: \$? = $ac_status" >&5    echo "$as_me:9894: \$? = $ac_status" >&5
9895    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
9896    if test -s conftest.err; then    if test -s conftest.err; then
9897      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 9894  else Line 9910  else
9910  fi  fi
9911  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
9912  fi  fi
9913  echo "$as_me:9897: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:9913: result: `eval echo '${'$as_ac_Header'}'`" >&5
9914  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9915  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
9916    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
9917  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9918  EOF  EOF
9919   echo "$as_me:9903: checking for struct nlist.n_un.n_name" >&5   echo "$as_me:9919: checking for struct nlist.n_un.n_name" >&5
9920  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6  echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
9921  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then  if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
9922    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9923  else  else
9924    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9925  #line 9909 "configure"  #line 9925 "configure"
9926  #include "confdefs.h"  #include "confdefs.h"
9927  #include <nlist.h>  #include <nlist.h>
9928    
# Line 9921  return 0; Line 9937  return 0;
9937  }  }
9938  _ACEOF  _ACEOF
9939  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
9940  if { (eval echo "$as_me:9924: \"$ac_compile\"") >&5  if { (eval echo "$as_me:9940: \"$ac_compile\"") >&5
9941    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
9942    ac_status=$?    ac_status=$?
9943    echo "$as_me:9927: \$? = $ac_status" >&5    echo "$as_me:9943: \$? = $ac_status" >&5
9944    (exit $ac_status); } &&    (exit $ac_status); } &&
9945           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
9946    { (eval echo "$as_me:9930: \"$ac_try\"") >&5    { (eval echo "$as_me:9946: \"$ac_try\"") >&5
9947    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
9948    ac_status=$?    ac_status=$?
9949    echo "$as_me:9933: \$? = $ac_status" >&5    echo "$as_me:9949: \$? = $ac_status" >&5
9950    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
9951    ac_cv_member_struct_nlist_n_un_n_name=yes    ac_cv_member_struct_nlist_n_un_n_name=yes
9952  else  else
# Line 9940  ac_cv_member_struct_nlist_n_un_n_name=no Line 9956  ac_cv_member_struct_nlist_n_un_n_name=no
9956  fi  fi
9957  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
9958  fi  fi
9959  echo "$as_me:9943: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5  echo "$as_me:9959: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
9960  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6  echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
9961  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then  if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
9962    
# Line 9961  fi Line 9977  fi
9977  done  done
9978    
9979  # Some definitions of getloadavg require that the program be installed setgid.  # Some definitions of getloadavg require that the program be installed setgid.
9980  echo "$as_me:9964: checking whether getloadavg requires setgid" >&5  echo "$as_me:9980: checking whether getloadavg requires setgid" >&5
9981  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6  echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
9982  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then  if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
9983    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
9984  else  else
9985    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9986  #line 9970 "configure"  #line 9986 "configure"
9987  #include "confdefs.h"  #include "confdefs.h"
9988  #include "$srcdir/getloadavg.c"  #include "$srcdir/getloadavg.c"
9989  #ifdef LDAV_PRIVILEGED  #ifdef LDAV_PRIVILEGED
# Line 9983  fi Line 9999  fi
9999  rm -f conftest*  rm -f conftest*
10000    
10001  fi  fi
10002  echo "$as_me:9986: result: $ac_cv_func_getloadavg_setgid" >&5  echo "$as_me:10002: result: $ac_cv_func_getloadavg_setgid" >&5
10003  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6  echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
10004  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
10005    NEED_SETGID=true    NEED_SETGID=true
# Line 9997  else Line 10013  else
10013  fi  fi
10014    
10015  if test $ac_cv_func_getloadavg_setgid = yes; then  if test $ac_cv_func_getloadavg_setgid = yes; then
10016    echo "$as_me:10000: checking group of /dev/kmem" >&5    echo "$as_me:10016: checking group of /dev/kmem" >&5
10017  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6  echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
10018  if test "${ac_cv_group_kmem+set}" = set; then  if test "${ac_cv_group_kmem+set}" = set; then
10019    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10012  else Line 10028  else
10028                 / /s/.* //;p;'`                 / /s/.* //;p;'`
10029    
10030  fi  fi
10031  echo "$as_me:10015: result: $ac_cv_group_kmem" >&5  echo "$as_me:10031: result: $ac_cv_group_kmem" >&5
10032  echo "${ECHO_T}$ac_cv_group_kmem" >&6  echo "${ECHO_T}$ac_cv_group_kmem" >&6
10033    KMEM_GROUP=$ac_cv_group_kmem    KMEM_GROUP=$ac_cv_group_kmem
10034  fi  fi
# Line 10023  else Line 10039  else
10039  fi  fi
10040  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
10041    
10042  echo "$as_me:10026: checking for _LARGEFILE_SOURCE value needed for large files" >&5  echo "$as_me:10042: checking for _LARGEFILE_SOURCE value needed for large files" >&5
10043  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6  echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
10044  if test "${ac_cv_sys_largefile_source+set}" = set; then  if test "${ac_cv_sys_largefile_source+set}" = set; then
10045    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10031  else Line 10047  else
10047    while :; do    while :; do
10048    ac_cv_sys_largefile_source=no    ac_cv_sys_largefile_source=no
10049    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10050  #line 10034 "configure"  #line 10050 "configure"
10051  #include "confdefs.h"  #include "confdefs.h"
10052  #include <stdio.h>  #include <stdio.h>
10053  int  int
# Line 10043  return !fseeko; Line 10059  return !fseeko;
10059  }  }
10060  _ACEOF  _ACEOF
10061  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
10062  if { (eval echo "$as_me:10046: \"$ac_compile\"") >&5  if { (eval echo "$as_me:10062: \"$ac_compile\"") >&5
10063    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
10064    ac_status=$?    ac_status=$?
10065    echo "$as_me:10049: \$? = $ac_status" >&5    echo "$as_me:10065: \$? = $ac_status" >&5
10066    (exit $ac_status); } &&    (exit $ac_status); } &&
10067           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
10068    { (eval echo "$as_me:10052: \"$ac_try\"") >&5    { (eval echo "$as_me:10068: \"$ac_try\"") >&5
10069    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10070    ac_status=$?    ac_status=$?
10071    echo "$as_me:10055: \$? = $ac_status" >&5    echo "$as_me:10071: \$? = $ac_status" >&5
10072    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10073    break    break
10074  else  else
# Line 10061  cat conftest.$ac_ext >&5 Line 10077  cat conftest.$ac_ext >&5
10077  fi  fi
10078  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
10079    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10080  #line 10064 "configure"  #line 10080 "configure"
10081  #include "confdefs.h"  #include "confdefs.h"
10082  #define _LARGEFILE_SOURCE 1  #define _LARGEFILE_SOURCE 1
10083  #include <stdio.h>  #include <stdio.h>
# Line 10074  return !fseeko; Line 10090  return !fseeko;
10090  }  }
10091  _ACEOF  _ACEOF
10092  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
10093  if { (eval echo "$as_me:10077: \"$ac_compile\"") >&5  if { (eval echo "$as_me:10093: \"$ac_compile\"") >&5
10094    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
10095    ac_status=$?    ac_status=$?
10096    echo "$as_me:10080: \$? = $ac_status" >&5    echo "$as_me:10096: \$? = $ac_status" >&5
10097    (exit $ac_status); } &&    (exit $ac_status); } &&
10098           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
10099    { (eval echo "$as_me:10083: \"$ac_try\"") >&5    { (eval echo "$as_me:10099: \"$ac_try\"") >&5
10100    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10101    ac_status=$?    ac_status=$?
10102    echo "$as_me:10086: \$? = $ac_status" >&5    echo "$as_me:10102: \$? = $ac_status" >&5
10103    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10104    ac_cv_sys_largefile_source=1; break    ac_cv_sys_largefile_source=1; break
10105  else  else
# Line 10094  rm -f conftest.$ac_objext conftest.$ac_e Line 10110  rm -f conftest.$ac_objext conftest.$ac_e
10110    break    break
10111  done  done
10112  fi  fi
10113  echo "$as_me:10097: result: $ac_cv_sys_largefile_source" >&5  echo "$as_me:10113: result: $ac_cv_sys_largefile_source" >&5
10114  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6  echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
10115  if test "$ac_cv_sys_largefile_source" != no; then  if test "$ac_cv_sys_largefile_source" != no; then
10116    
# Line 10108  rm -f conftest* Line 10124  rm -f conftest*
10124  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug  # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10125  # in glibc 2.1.3, but that breaks too many other things.  # in glibc 2.1.3, but that breaks too many other things.
10126  # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.  # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10127  echo "$as_me:10111: checking for fseeko" >&5  echo "$as_me:10127: checking for fseeko" >&5
10128  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6  echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
10129  if test "${ac_cv_func_fseeko+set}" = set; then  if test "${ac_cv_func_fseeko+set}" = set; then
10130    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10131  else  else
10132    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10133  #line 10117 "configure"  #line 10133 "configure"
10134  #include "confdefs.h"  #include "confdefs.h"
10135  #include <stdio.h>  #include <stdio.h>
10136  int  int
# Line 10126  return fseeko && fseeko (stdin, 0, 0); Line 10142  return fseeko && fseeko (stdin, 0, 0);
10142  }  }
10143  _ACEOF  _ACEOF
10144  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10145  if { (eval echo "$as_me:10129: \"$ac_link\"") >&5  if { (eval echo "$as_me:10145: \"$ac_link\"") >&5
10146    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10147    ac_status=$?    ac_status=$?
10148    echo "$as_me:10132: \$? = $ac_status" >&5    echo "$as_me:10148: \$? = $ac_status" >&5
10149    (exit $ac_status); } &&    (exit $ac_status); } &&
10150           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10151    { (eval echo "$as_me:10135: \"$ac_try\"") >&5    { (eval echo "$as_me:10151: \"$ac_try\"") >&5
10152    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10153    ac_status=$?    ac_status=$?
10154    echo "$as_me:10138: \$? = $ac_status" >&5    echo "$as_me:10154: \$? = $ac_status" >&5
10155    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10156    ac_cv_func_fseeko=yes    ac_cv_func_fseeko=yes
10157  else  else
# Line 10145  ac_cv_func_fseeko=no Line 10161  ac_cv_func_fseeko=no
10161  fi  fi
10162  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10163  fi  fi
10164  echo "$as_me:10148: result: $ac_cv_func_fseeko" >&5  echo "$as_me:10164: result: $ac_cv_func_fseeko" >&5
10165  echo "${ECHO_T}$ac_cv_func_fseeko" >&6  echo "${ECHO_T}$ac_cv_func_fseeko" >&6
10166  if test $ac_cv_func_fseeko = yes; then  if test $ac_cv_func_fseeko = yes; then
10167    
# Line 10160  fi Line 10176  fi
10176  for ac_func in grantpt  for ac_func in grantpt
10177  do  do
10178  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10179  echo "$as_me:10163: checking for $ac_func" >&5  echo "$as_me:10179: checking for $ac_func" >&5
10180  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10181  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
10182    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10183  else  else
10184    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10185  #line 10169 "configure"  #line 10185 "configure"
10186  #include "confdefs.h"  #include "confdefs.h"
10187  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10188      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 10197  f = $ac_func; Line 10213  f = $ac_func;
10213  }  }
10214  _ACEOF  _ACEOF
10215  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10216  if { (eval echo "$as_me:10200: \"$ac_link\"") >&5  if { (eval echo "$as_me:10216: \"$ac_link\"") >&5
10217    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10218    ac_status=$?    ac_status=$?
10219    echo "$as_me:10203: \$? = $ac_status" >&5    echo "$as_me:10219: \$? = $ac_status" >&5
10220    (exit $ac_status); } &&    (exit $ac_status); } &&
10221           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10222    { (eval echo "$as_me:10206: \"$ac_try\"") >&5    { (eval echo "$as_me:10222: \"$ac_try\"") >&5
10223    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10224    ac_status=$?    ac_status=$?
10225    echo "$as_me:10209: \$? = $ac_status" >&5    echo "$as_me:10225: \$? = $ac_status" >&5
10226    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10227    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
10228  else  else
# Line 10216  eval "$as_ac_var=no" Line 10232  eval "$as_ac_var=no"
10232  fi  fi
10233  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10234  fi  fi
10235  echo "$as_me:10219: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10235: result: `eval echo '${'$as_ac_var'}'`" >&5
10236  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10237  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10238    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10231  done Line 10247  done
10247  for ac_func in getpt  for ac_func in getpt
10248  do  do
10249  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10250  echo "$as_me:10234: checking for $ac_func" >&5  echo "$as_me:10250: checking for $ac_func" >&5
10251  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10252  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
10253    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10254  else  else
10255    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10256  #line 10240 "configure"  #line 10256 "configure"
10257  #include "confdefs.h"  #include "confdefs.h"
10258  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10259      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 10268  f = $ac_func; Line 10284  f = $ac_func;
10284  }  }
10285  _ACEOF  _ACEOF
10286  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10287  if { (eval echo "$as_me:10271: \"$ac_link\"") >&5  if { (eval echo "$as_me:10287: \"$ac_link\"") >&5
10288    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10289    ac_status=$?    ac_status=$?
10290    echo "$as_me:10274: \$? = $ac_status" >&5    echo "$as_me:10290: \$? = $ac_status" >&5
10291    (exit $ac_status); } &&    (exit $ac_status); } &&
10292           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10293    { (eval echo "$as_me:10277: \"$ac_try\"") >&5    { (eval echo "$as_me:10293: \"$ac_try\"") >&5
10294    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10295    ac_status=$?    ac_status=$?
10296    echo "$as_me:10280: \$? = $ac_status" >&5    echo "$as_me:10296: \$? = $ac_status" >&5
10297    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10298    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
10299  else  else
# Line 10287  eval "$as_ac_var=no" Line 10303  eval "$as_ac_var=no"
10303  fi  fi
10304  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10305  fi  fi
10306  echo "$as_me:10290: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:10306: result: `eval echo '${'$as_ac_var'}'`" >&5
10307  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10308  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
10309    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10302  done Line 10318  done
10318  # It's better to believe a function is not available  # It's better to believe a function is not available
10319  # than to expect to find it in ncurses.  # than to expect to find it in ncurses.
10320    
10321  echo "$as_me:10305: checking for tparm in -lncurses" >&5  echo "$as_me:10321: checking for tparm in -lncurses" >&5
10322  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6  echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
10323  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then  if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
10324    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10310  else Line 10326  else
10326    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10327  LIBS="-lncurses  $LIBS"  LIBS="-lncurses  $LIBS"
10328  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10329  #line 10313 "configure"  #line 10329 "configure"
10330  #include "confdefs.h"  #include "confdefs.h"
10331    
10332  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10329  tparm (); Line 10345  tparm ();
10345  }  }
10346  _ACEOF  _ACEOF
10347  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10348  if { (eval echo "$as_me:10332: \"$ac_link\"") >&5  if { (eval echo "$as_me:10348: \"$ac_link\"") >&5
10349    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10350    ac_status=$?    ac_status=$?
10351    echo "$as_me:10335: \$? = $ac_status" >&5    echo "$as_me:10351: \$? = $ac_status" >&5
10352    (exit $ac_status); } &&    (exit $ac_status); } &&
10353           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10354    { (eval echo "$as_me:10338: \"$ac_try\"") >&5    { (eval echo "$as_me:10354: \"$ac_try\"") >&5
10355    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10356    ac_status=$?    ac_status=$?
10357    echo "$as_me:10341: \$? = $ac_status" >&5    echo "$as_me:10357: \$? = $ac_status" >&5
10358    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10359    ac_cv_lib_ncurses_tparm=yes    ac_cv_lib_ncurses_tparm=yes
10360  else  else
# Line 10349  fi Line 10365  fi
10365  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10366  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10367  fi  fi
10368  echo "$as_me:10352: result: $ac_cv_lib_ncurses_tparm" >&5  echo "$as_me:10368: result: $ac_cv_lib_ncurses_tparm" >&5
10369  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6  echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
10370  if test $ac_cv_lib_ncurses_tparm = yes; then  if test $ac_cv_lib_ncurses_tparm = yes; then
10371    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10364  fi Line 10380  fi
10380  if test "$with_hesiod" = yes ; then  if test "$with_hesiod" = yes ; then
10381    # Don't set $LIBS here -- see comments above.    # Don't set $LIBS here -- see comments above.
10382    resolv=no    resolv=no
10383    echo "$as_me:10367: checking for res_send" >&5    echo "$as_me:10383: checking for res_send" >&5
10384  echo $ECHO_N "checking for res_send... $ECHO_C" >&6  echo $ECHO_N "checking for res_send... $ECHO_C" >&6
10385  if test "${ac_cv_func_res_send+set}" = set; then  if test "${ac_cv_func_res_send+set}" = set; then
10386    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10387  else  else
10388    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10389  #line 10373 "configure"  #line 10389 "configure"
10390  #include "confdefs.h"  #include "confdefs.h"
10391  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10392      which can conflict with char res_send (); below.  */      which can conflict with char res_send (); below.  */
# Line 10401  f = res_send; Line 10417  f = res_send;
10417  }  }
10418  _ACEOF  _ACEOF
10419  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10420  if { (eval echo "$as_me:10404: \"$ac_link\"") >&5  if { (eval echo "$as_me:10420: \"$ac_link\"") >&5
10421    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10422    ac_status=$?    ac_status=$?
10423    echo "$as_me:10407: \$? = $ac_status" >&5    echo "$as_me:10423: \$? = $ac_status" >&5
10424    (exit $ac_status); } &&    (exit $ac_status); } &&
10425           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10426    { (eval echo "$as_me:10410: \"$ac_try\"") >&5    { (eval echo "$as_me:10426: \"$ac_try\"") >&5
10427    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10428    ac_status=$?    ac_status=$?
10429    echo "$as_me:10413: \$? = $ac_status" >&5    echo "$as_me:10429: \$? = $ac_status" >&5
10430    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10431    ac_cv_func_res_send=yes    ac_cv_func_res_send=yes
10432  else  else
# Line 10420  ac_cv_func_res_send=no Line 10436  ac_cv_func_res_send=no
10436  fi  fi
10437  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10438  fi  fi
10439  echo "$as_me:10423: result: $ac_cv_func_res_send" >&5  echo "$as_me:10439: result: $ac_cv_func_res_send" >&5
10440  echo "${ECHO_T}$ac_cv_func_res_send" >&6  echo "${ECHO_T}$ac_cv_func_res_send" >&6
10441  if test $ac_cv_func_res_send = yes; then  if test $ac_cv_func_res_send = yes; then
10442    :    :
10443  else  else
10444    echo "$as_me:10428: checking for __res_send" >&5    echo "$as_me:10444: checking for __res_send" >&5
10445  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
10446  if test "${ac_cv_func___res_send+set}" = set; then  if test "${ac_cv_func___res_send+set}" = set; then
10447    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10448  else  else
10449    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10450  #line 10434 "configure"  #line 10450 "configure"
10451  #include "confdefs.h"  #include "confdefs.h"
10452  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10453      which can conflict with char __res_send (); below.  */      which can conflict with char __res_send (); below.  */
# Line 10462  f = __res_send; Line 10478  f = __res_send;
10478  }  }
10479  _ACEOF  _ACEOF
10480  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10481  if { (eval echo "$as_me:10465: \"$ac_link\"") >&5  if { (eval echo "$as_me:10481: \"$ac_link\"") >&5
10482    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10483    ac_status=$?    ac_status=$?
10484    echo "$as_me:10468: \$? = $ac_status" >&5    echo "$as_me:10484: \$? = $ac_status" >&5
10485    (exit $ac_status); } &&    (exit $ac_status); } &&
10486           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10487    { (eval echo "$as_me:10471: \"$ac_try\"") >&5    { (eval echo "$as_me:10487: \"$ac_try\"") >&5
10488    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10489    ac_status=$?    ac_status=$?
10490    echo "$as_me:10474: \$? = $ac_status" >&5    echo "$as_me:10490: \$? = $ac_status" >&5
10491    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10492    ac_cv_func___res_send=yes    ac_cv_func___res_send=yes
10493  else  else
# Line 10481  ac_cv_func___res_send=no Line 10497  ac_cv_func___res_send=no
10497  fi  fi
10498  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10499  fi  fi
10500  echo "$as_me:10484: result: $ac_cv_func___res_send" >&5  echo "$as_me:10500: result: $ac_cv_func___res_send" >&5
10501  echo "${ECHO_T}$ac_cv_func___res_send" >&6  echo "${ECHO_T}$ac_cv_func___res_send" >&6
10502  if test $ac_cv_func___res_send = yes; then  if test $ac_cv_func___res_send = yes; then
10503    :    :
10504  else  else
10505    echo "$as_me:10489: checking for res_send in -lresolv" >&5    echo "$as_me:10505: checking for res_send in -lresolv" >&5
10506  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
10507  if test "${ac_cv_lib_resolv_res_send+set}" = set; then  if test "${ac_cv_lib_resolv_res_send+set}" = set; then
10508    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10494  else Line 10510  else
10510    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10511  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10512  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10513  #line 10497 "configure"  #line 10513 "configure"
10514  #include "confdefs.h"  #include "confdefs.h"
10515    
10516  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10513  res_send (); Line 10529  res_send ();
10529  }  }
10530  _ACEOF  _ACEOF
10531  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10532  if { (eval echo "$as_me:10516: \"$ac_link\"") >&5  if { (eval echo "$as_me:10532: \"$ac_link\"") >&5
10533    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10534    ac_status=$?    ac_status=$?
10535    echo "$as_me:10519: \$? = $ac_status" >&5    echo "$as_me:10535: \$? = $ac_status" >&5
10536    (exit $ac_status); } &&    (exit $ac_status); } &&
10537           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10538    { (eval echo "$as_me:10522: \"$ac_try\"") >&5    { (eval echo "$as_me:10538: \"$ac_try\"") >&5
10539    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10540    ac_status=$?    ac_status=$?
10541    echo "$as_me:10525: \$? = $ac_status" >&5    echo "$as_me:10541: \$? = $ac_status" >&5
10542    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10543    ac_cv_lib_resolv_res_send=yes    ac_cv_lib_resolv_res_send=yes
10544  else  else
# Line 10533  fi Line 10549  fi
10549  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10550  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10551  fi  fi
10552  echo "$as_me:10536: result: $ac_cv_lib_resolv_res_send" >&5  echo "$as_me:10552: result: $ac_cv_lib_resolv_res_send" >&5
10553  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
10554  if test $ac_cv_lib_resolv_res_send = yes; then  if test $ac_cv_lib_resolv_res_send = yes; then
10555    resolv=yes    resolv=yes
10556  else  else
10557    echo "$as_me:10541: checking for __res_send in -lresolv" >&5    echo "$as_me:10557: checking for __res_send in -lresolv" >&5
10558  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6  echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
10559  if test "${ac_cv_lib_resolv___res_send+set}" = set; then  if test "${ac_cv_lib_resolv___res_send+set}" = set; then
10560    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10546  else Line 10562  else
10562    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10563  LIBS="-lresolv  $LIBS"  LIBS="-lresolv  $LIBS"
10564  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10565  #line 10549 "configure"  #line 10565 "configure"
10566  #include "confdefs.h"  #include "confdefs.h"
10567    
10568  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10565  __res_send (); Line 10581  __res_send ();
10581  }  }
10582  _ACEOF  _ACEOF
10583  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10584  if { (eval echo "$as_me:10568: \"$ac_link\"") >&5  if { (eval echo "$as_me:10584: \"$ac_link\"") >&5
10585    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10586    ac_status=$?    ac_status=$?
10587    echo "$as_me:10571: \$? = $ac_status" >&5    echo "$as_me:10587: \$? = $ac_status" >&5
10588    (exit $ac_status); } &&    (exit $ac_status); } &&
10589           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10590    { (eval echo "$as_me:10574: \"$ac_try\"") >&5    { (eval echo "$as_me:10590: \"$ac_try\"") >&5
10591    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10592    ac_status=$?    ac_status=$?
10593    echo "$as_me:10577: \$? = $ac_status" >&5    echo "$as_me:10593: \$? = $ac_status" >&5
10594    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10595    ac_cv_lib_resolv___res_send=yes    ac_cv_lib_resolv___res_send=yes
10596  else  else
# Line 10585  fi Line 10601  fi
10601  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10602  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10603  fi  fi
10604  echo "$as_me:10588: result: $ac_cv_lib_resolv___res_send" >&5  echo "$as_me:10604: result: $ac_cv_lib_resolv___res_send" >&5
10605  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6  echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
10606  if test $ac_cv_lib_resolv___res_send = yes; then  if test $ac_cv_lib_resolv___res_send = yes; then
10607    resolv=yes    resolv=yes
# Line 10607  EOF Line 10623  EOF
10623    else    else
10624      RESOLVLIB=      RESOLVLIB=
10625    fi    fi
10626    echo "$as_me:10610: checking for hes_getmailhost" >&5    echo "$as_me:10626: checking for hes_getmailhost" >&5
10627  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
10628  if test "${ac_cv_func_hes_getmailhost+set}" = set; then  if test "${ac_cv_func_hes_getmailhost+set}" = set; then
10629    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
10630  else  else
10631    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10632  #line 10616 "configure"  #line 10632 "configure"
10633  #include "confdefs.h"  #include "confdefs.h"
10634  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
10635      which can conflict with char hes_getmailhost (); below.  */      which can conflict with char hes_getmailhost (); below.  */
# Line 10644  f = hes_getmailhost; Line 10660  f = hes_getmailhost;
10660  }  }
10661  _ACEOF  _ACEOF
10662  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10663  if { (eval echo "$as_me:10647: \"$ac_link\"") >&5  if { (eval echo "$as_me:10663: \"$ac_link\"") >&5
10664    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10665    ac_status=$?    ac_status=$?
10666    echo "$as_me:10650: \$? = $ac_status" >&5    echo "$as_me:10666: \$? = $ac_status" >&5
10667    (exit $ac_status); } &&    (exit $ac_status); } &&
10668           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10669    { (eval echo "$as_me:10653: \"$ac_try\"") >&5    { (eval echo "$as_me:10669: \"$ac_try\"") >&5
10670    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10671    ac_status=$?    ac_status=$?
10672    echo "$as_me:10656: \$? = $ac_status" >&5    echo "$as_me:10672: \$? = $ac_status" >&5
10673    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10674    ac_cv_func_hes_getmailhost=yes    ac_cv_func_hes_getmailhost=yes
10675  else  else
# Line 10663  ac_cv_func_hes_getmailhost=no Line 10679  ac_cv_func_hes_getmailhost=no
10679  fi  fi
10680  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10681  fi  fi
10682  echo "$as_me:10666: result: $ac_cv_func_hes_getmailhost" >&5  echo "$as_me:10682: result: $ac_cv_func_hes_getmailhost" >&5
10683  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
10684  if test $ac_cv_func_hes_getmailhost = yes; then  if test $ac_cv_func_hes_getmailhost = yes; then
10685    :    :
10686  else  else
10687    echo "$as_me:10671: checking for hes_getmailhost in -lhesiod" >&5    echo "$as_me:10687: checking for hes_getmailhost in -lhesiod" >&5
10688  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6  echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
10689  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then  if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
10690    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10676  else Line 10692  else
10692    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10693  LIBS="-lhesiod $RESOLVLIB $LIBS"  LIBS="-lhesiod $RESOLVLIB $LIBS"
10694  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10695  #line 10679 "configure"  #line 10695 "configure"
10696  #include "confdefs.h"  #include "confdefs.h"
10697    
10698  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10695  hes_getmailhost (); Line 10711  hes_getmailhost ();
10711  }  }
10712  _ACEOF  _ACEOF
10713  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10714  if { (eval echo "$as_me:10698: \"$ac_link\"") >&5  if { (eval echo "$as_me:10714: \"$ac_link\"") >&5
10715    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10716    ac_status=$?    ac_status=$?
10717    echo "$as_me:10701: \$? = $ac_status" >&5    echo "$as_me:10717: \$? = $ac_status" >&5
10718    (exit $ac_status); } &&    (exit $ac_status); } &&
10719           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10720    { (eval echo "$as_me:10704: \"$ac_try\"") >&5    { (eval echo "$as_me:10720: \"$ac_try\"") >&5
10721    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10722    ac_status=$?    ac_status=$?
10723    echo "$as_me:10707: \$? = $ac_status" >&5    echo "$as_me:10723: \$? = $ac_status" >&5
10724    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10725    ac_cv_lib_hesiod_hes_getmailhost=yes    ac_cv_lib_hesiod_hes_getmailhost=yes
10726  else  else
# Line 10715  fi Line 10731  fi
10731  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10732  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10733  fi  fi
10734  echo "$as_me:10718: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5  echo "$as_me:10734: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
10735  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6  echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
10736  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then  if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
10737    
# Line 10734  fi Line 10750  fi
10750  # These tell us which Kerberos-related libraries to use.  # These tell us which Kerberos-related libraries to use.
10751  if test "${with_kerberos+set}" = set; then  if test "${with_kerberos+set}" = set; then
10752    
10753  echo "$as_me:10737: checking for com_err in -lcom_err" >&5  echo "$as_me:10753: checking for com_err in -lcom_err" >&5
10754  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6  echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
10755  if test "${ac_cv_lib_com_err_com_err+set}" = set; then  if test "${ac_cv_lib_com_err_com_err+set}" = set; then
10756    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10742  else Line 10758  else
10758    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10759  LIBS="-lcom_err  $LIBS"  LIBS="-lcom_err  $LIBS"
10760  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10761  #line 10745 "configure"  #line 10761 "configure"
10762  #include "confdefs.h"  #include "confdefs.h"
10763    
10764  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10761  com_err (); Line 10777  com_err ();
10777  }  }
10778  _ACEOF  _ACEOF
10779  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10780  if { (eval echo "$as_me:10764: \"$ac_link\"") >&5  if { (eval echo "$as_me:10780: \"$ac_link\"") >&5
10781    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10782    ac_status=$?    ac_status=$?
10783    echo "$as_me:10767: \$? = $ac_status" >&5    echo "$as_me:10783: \$? = $ac_status" >&5
10784    (exit $ac_status); } &&    (exit $ac_status); } &&
10785           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10786    { (eval echo "$as_me:10770: \"$ac_try\"") >&5    { (eval echo "$as_me:10786: \"$ac_try\"") >&5
10787    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10788    ac_status=$?    ac_status=$?
10789    echo "$as_me:10773: \$? = $ac_status" >&5    echo "$as_me:10789: \$? = $ac_status" >&5
10790    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10791    ac_cv_lib_com_err_com_err=yes    ac_cv_lib_com_err_com_err=yes
10792  else  else
# Line 10781  fi Line 10797  fi
10797  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10798  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10799  fi  fi
10800  echo "$as_me:10784: result: $ac_cv_lib_com_err_com_err" >&5  echo "$as_me:10800: result: $ac_cv_lib_com_err_com_err" >&5
10801  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6  echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
10802  if test $ac_cv_lib_com_err_com_err = yes; then  if test $ac_cv_lib_com_err_com_err = yes; then
10803    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10792  EOF Line 10808  EOF
10808    
10809  fi  fi
10810    
10811  echo "$as_me:10795: checking for mit_des_cbc_encrypt in -lk5crypto" >&5  echo "$as_me:10811: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
10812  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
10813  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
10814    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10800  else Line 10816  else
10816    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10817  LIBS="-lk5crypto  $LIBS"  LIBS="-lk5crypto  $LIBS"
10818  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10819  #line 10803 "configure"  #line 10819 "configure"
10820  #include "confdefs.h"  #include "confdefs.h"
10821    
10822  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10819  mit_des_cbc_encrypt (); Line 10835  mit_des_cbc_encrypt ();
10835  }  }
10836  _ACEOF  _ACEOF
10837  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10838  if { (eval echo "$as_me:10822: \"$ac_link\"") >&5  if { (eval echo "$as_me:10838: \"$ac_link\"") >&5
10839    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10840    ac_status=$?    ac_status=$?
10841    echo "$as_me:10825: \$? = $ac_status" >&5    echo "$as_me:10841: \$? = $ac_status" >&5
10842    (exit $ac_status); } &&    (exit $ac_status); } &&
10843           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10844    { (eval echo "$as_me:10828: \"$ac_try\"") >&5    { (eval echo "$as_me:10844: \"$ac_try\"") >&5
10845    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10846    ac_status=$?    ac_status=$?
10847    echo "$as_me:10831: \$? = $ac_status" >&5    echo "$as_me:10847: \$? = $ac_status" >&5
10848    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10849    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
10850  else  else
# Line 10839  fi Line 10855  fi
10855  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10856  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10857  fi  fi
10858  echo "$as_me:10842: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10858: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
10859  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
10860  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
10861    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10850  EOF Line 10866  EOF
10866    
10867  fi  fi
10868    
10869  echo "$as_me:10853: checking for mit_des_cbc_encrypt in -lcrypto" >&5  echo "$as_me:10869: checking for mit_des_cbc_encrypt in -lcrypto" >&5
10870  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6  echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
10871  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
10872    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10858  else Line 10874  else
10874    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10875  LIBS="-lcrypto  $LIBS"  LIBS="-lcrypto  $LIBS"
10876  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10877  #line 10861 "configure"  #line 10877 "configure"
10878  #include "confdefs.h"  #include "confdefs.h"
10879    
10880  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10877  mit_des_cbc_encrypt (); Line 10893  mit_des_cbc_encrypt ();
10893  }  }
10894  _ACEOF  _ACEOF
10895  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10896  if { (eval echo "$as_me:10880: \"$ac_link\"") >&5  if { (eval echo "$as_me:10896: \"$ac_link\"") >&5
10897    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10898    ac_status=$?    ac_status=$?
10899    echo "$as_me:10883: \$? = $ac_status" >&5    echo "$as_me:10899: \$? = $ac_status" >&5
10900    (exit $ac_status); } &&    (exit $ac_status); } &&
10901           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10902    { (eval echo "$as_me:10886: \"$ac_try\"") >&5    { (eval echo "$as_me:10902: \"$ac_try\"") >&5
10903    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10904    ac_status=$?    ac_status=$?
10905    echo "$as_me:10889: \$? = $ac_status" >&5    echo "$as_me:10905: \$? = $ac_status" >&5
10906    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10907    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes    ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
10908  else  else
# Line 10897  fi Line 10913  fi
10913  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10914  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10915  fi  fi
10916  echo "$as_me:10900: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5  echo "$as_me:10916: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
10917  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
10918  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then  if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
10919    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10908  EOF Line 10924  EOF
10924    
10925  fi  fi
10926    
10927  echo "$as_me:10911: checking for krb5_init_context in -lkrb5" >&5  echo "$as_me:10927: checking for krb5_init_context in -lkrb5" >&5
10928  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6  echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
10929  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then  if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
10930    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10916  else Line 10932  else
10932    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10933  LIBS="-lkrb5  $LIBS"  LIBS="-lkrb5  $LIBS"
10934  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10935  #line 10919 "configure"  #line 10935 "configure"
10936  #include "confdefs.h"  #include "confdefs.h"
10937    
10938  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10935  krb5_init_context (); Line 10951  krb5_init_context ();
10951  }  }
10952  _ACEOF  _ACEOF
10953  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
10954  if { (eval echo "$as_me:10938: \"$ac_link\"") >&5  if { (eval echo "$as_me:10954: \"$ac_link\"") >&5
10955    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
10956    ac_status=$?    ac_status=$?
10957    echo "$as_me:10941: \$? = $ac_status" >&5    echo "$as_me:10957: \$? = $ac_status" >&5
10958    (exit $ac_status); } &&    (exit $ac_status); } &&
10959           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
10960    { (eval echo "$as_me:10944: \"$ac_try\"") >&5    { (eval echo "$as_me:10960: \"$ac_try\"") >&5
10961    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
10962    ac_status=$?    ac_status=$?
10963    echo "$as_me:10947: \$? = $ac_status" >&5    echo "$as_me:10963: \$? = $ac_status" >&5
10964    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
10965    ac_cv_lib_krb5_krb5_init_context=yes    ac_cv_lib_krb5_krb5_init_context=yes
10966  else  else
# Line 10955  fi Line 10971  fi
10971  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10972  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
10973  fi  fi
10974  echo "$as_me:10958: result: $ac_cv_lib_krb5_krb5_init_context" >&5  echo "$as_me:10974: result: $ac_cv_lib_krb5_krb5_init_context" >&5
10975  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6  echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
10976  if test $ac_cv_lib_krb5_krb5_init_context = yes; then  if test $ac_cv_lib_krb5_krb5_init_context = yes; then
10977    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 10968  fi Line 10984  fi
10984    
10985    if test "${with_kerberos5+set}" != set; then    if test "${with_kerberos5+set}" != set; then
10986    
10987  echo "$as_me:10971: checking for des_cbc_encrypt in -ldes425" >&5  echo "$as_me:10987: checking for des_cbc_encrypt in -ldes425" >&5
10988  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6  echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
10989  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
10990    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 10976  else Line 10992  else
10992    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
10993  LIBS="-ldes425  $LIBS"  LIBS="-ldes425  $LIBS"
10994  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
10995  #line 10979 "configure"  #line 10995 "configure"
10996  #include "confdefs.h"  #include "confdefs.h"
10997    
10998  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 10995  des_cbc_encrypt (); Line 11011  des_cbc_encrypt ();
11011  }  }
11012  _ACEOF  _ACEOF
11013  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11014  if { (eval echo "$as_me:10998: \"$ac_link\"") >&5  if { (eval echo "$as_me:11014: \"$ac_link\"") >&5
11015    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11016    ac_status=$?    ac_status=$?
11017    echo "$as_me:11001: \$? = $ac_status" >&5    echo "$as_me:11017: \$? = $ac_status" >&5
11018    (exit $ac_status); } &&    (exit $ac_status); } &&
11019           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11020    { (eval echo "$as_me:11004: \"$ac_try\"") >&5    { (eval echo "$as_me:11020: \"$ac_try\"") >&5
11021    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11022    ac_status=$?    ac_status=$?
11023    echo "$as_me:11007: \$? = $ac_status" >&5    echo "$as_me:11023: \$? = $ac_status" >&5
11024    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11025    ac_cv_lib_des425_des_cbc_encrypt=yes    ac_cv_lib_des425_des_cbc_encrypt=yes
11026  else  else
# Line 11015  fi Line 11031  fi
11031  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11032  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11033  fi  fi
11034  echo "$as_me:11018: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5  echo "$as_me:11034: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
11035  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
11036  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
11037    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11026  EOF Line 11042  EOF
11042    
11043  else  else
11044    
11045  echo "$as_me:11029: checking for des_cbc_encrypt in -ldes" >&5  echo "$as_me:11045: checking for des_cbc_encrypt in -ldes" >&5
11046  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6  echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
11047  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then  if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
11048    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11034  else Line 11050  else
11050    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11051  LIBS="-ldes  $LIBS"  LIBS="-ldes  $LIBS"
11052  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11053  #line 11037 "configure"  #line 11053 "configure"
11054  #include "confdefs.h"  #include "confdefs.h"
11055    
11056  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11053  des_cbc_encrypt (); Line 11069  des_cbc_encrypt ();
11069  }  }
11070  _ACEOF  _ACEOF
11071  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11072  if { (eval echo "$as_me:11056: \"$ac_link\"") >&5  if { (eval echo "$as_me:11072: \"$ac_link\"") >&5
11073    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11074    ac_status=$?    ac_status=$?
11075    echo "$as_me:11059: \$? = $ac_status" >&5    echo "$as_me:11075: \$? = $ac_status" >&5
11076    (exit $ac_status); } &&    (exit $ac_status); } &&
11077           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11078    { (eval echo "$as_me:11062: \"$ac_try\"") >&5    { (eval echo "$as_me:11078: \"$ac_try\"") >&5
11079    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11080    ac_status=$?    ac_status=$?
11081    echo "$as_me:11065: \$? = $ac_status" >&5    echo "$as_me:11081: \$? = $ac_status" >&5
11082    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11083    ac_cv_lib_des_des_cbc_encrypt=yes    ac_cv_lib_des_des_cbc_encrypt=yes
11084  else  else
# Line 11073  fi Line 11089  fi
11089  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11090  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11091  fi  fi
11092  echo "$as_me:11076: result: $ac_cv_lib_des_des_cbc_encrypt" >&5  echo "$as_me:11092: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
11093  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6  echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
11094  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then  if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
11095    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11086  fi Line 11102  fi
11102    
11103  fi  fi
11104    
11105  echo "$as_me:11089: checking for krb_get_cred in -lkrb4" >&5  echo "$as_me:11105: checking for krb_get_cred in -lkrb4" >&5
11106  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6  echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
11107  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
11108    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11094  else Line 11110  else
11110    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11111  LIBS="-lkrb4  $LIBS"  LIBS="-lkrb4  $LIBS"
11112  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11113  #line 11097 "configure"  #line 11113 "configure"
11114  #include "confdefs.h"  #include "confdefs.h"
11115    
11116  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11113  krb_get_cred (); Line 11129  krb_get_cred ();
11129  }  }
11130  _ACEOF  _ACEOF
11131  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11132  if { (eval echo "$as_me:11116: \"$ac_link\"") >&5  if { (eval echo "$as_me:11132: \"$ac_link\"") >&5
11133    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11134    ac_status=$?    ac_status=$?
11135    echo "$as_me:11119: \$? = $ac_status" >&5    echo "$as_me:11135: \$? = $ac_status" >&5
11136    (exit $ac_status); } &&    (exit $ac_status); } &&
11137           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11138    { (eval echo "$as_me:11122: \"$ac_try\"") >&5    { (eval echo "$as_me:11138: \"$ac_try\"") >&5
11139    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11140    ac_status=$?    ac_status=$?
11141    echo "$as_me:11125: \$? = $ac_status" >&5    echo "$as_me:11141: \$? = $ac_status" >&5
11142    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11143    ac_cv_lib_krb4_krb_get_cred=yes    ac_cv_lib_krb4_krb_get_cred=yes
11144  else  else
# Line 11133  fi Line 11149  fi
11149  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11150  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11151  fi  fi
11152  echo "$as_me:11136: result: $ac_cv_lib_krb4_krb_get_cred" >&5  echo "$as_me:11152: result: $ac_cv_lib_krb4_krb_get_cred" >&5
11153  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
11154  if test $ac_cv_lib_krb4_krb_get_cred = yes; then  if test $ac_cv_lib_krb4_krb_get_cred = yes; then
11155    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11144  EOF Line 11160  EOF
11160    
11161  else  else
11162    
11163  echo "$as_me:11147: checking for krb_get_cred in -lkrb" >&5  echo "$as_me:11163: checking for krb_get_cred in -lkrb" >&5
11164  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6  echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
11165  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then  if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
11166    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11152  else Line 11168  else
11168    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11169  LIBS="-lkrb  $LIBS"  LIBS="-lkrb  $LIBS"
11170  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11171  #line 11155 "configure"  #line 11171 "configure"
11172  #include "confdefs.h"  #include "confdefs.h"
11173    
11174  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11171  krb_get_cred (); Line 11187  krb_get_cred ();
11187  }  }
11188  _ACEOF  _ACEOF
11189  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11190  if { (eval echo "$as_me:11174: \"$ac_link\"") >&5  if { (eval echo "$as_me:11190: \"$ac_link\"") >&5
11191    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11192    ac_status=$?    ac_status=$?
11193    echo "$as_me:11177: \$? = $ac_status" >&5    echo "$as_me:11193: \$? = $ac_status" >&5
11194    (exit $ac_status); } &&    (exit $ac_status); } &&
11195           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11196    { (eval echo "$as_me:11180: \"$ac_try\"") >&5    { (eval echo "$as_me:11196: \"$ac_try\"") >&5
11197    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11198    ac_status=$?    ac_status=$?
11199    echo "$as_me:11183: \$? = $ac_status" >&5    echo "$as_me:11199: \$? = $ac_status" >&5
11200    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11201    ac_cv_lib_krb_krb_get_cred=yes    ac_cv_lib_krb_krb_get_cred=yes
11202  else  else
# Line 11191  fi Line 11207  fi
11207  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11208  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11209  fi  fi
11210  echo "$as_me:11194: result: $ac_cv_lib_krb_krb_get_cred" >&5  echo "$as_me:11210: result: $ac_cv_lib_krb_krb_get_cred" >&5
11211  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6  echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
11212  if test $ac_cv_lib_krb_krb_get_cred = yes; then  if test $ac_cv_lib_krb_krb_get_cred = yes; then
11213    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11211  fi Line 11227  fi
11227  for ac_header in krb5.h  for ac_header in krb5.h
11228  do  do
11229  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230  echo "$as_me:11214: checking for $ac_header" >&5  echo "$as_me:11230: checking for $ac_header" >&5
11231  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11232  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11233    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11234  else  else
11235    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11236  #line 11220 "configure"  #line 11236 "configure"
11237  #include "confdefs.h"  #include "confdefs.h"
11238  #include <$ac_header>  #include <$ac_header>
11239  _ACEOF  _ACEOF
11240  if { (eval echo "$as_me:11224: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11240: \"$ac_cpp conftest.$ac_ext\"") >&5
11241    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11242    ac_status=$?    ac_status=$?
11243    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11244    rm -f conftest.er1    rm -f conftest.er1
11245    cat conftest.err >&5    cat conftest.err >&5
11246    echo "$as_me:11230: \$? = $ac_status" >&5    echo "$as_me:11246: \$? = $ac_status" >&5
11247    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11248    if test -s conftest.err; then    if test -s conftest.err; then
11249      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11246  else Line 11262  else
11262  fi  fi
11263  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11264  fi  fi
11265  echo "$as_me:11249: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11265: result: `eval echo '${'$as_ac_Header'}'`" >&5
11266  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11267  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11268    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11261  done Line 11277  done
11277  for ac_header in des.h  for ac_header in des.h
11278  do  do
11279  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11280  echo "$as_me:11264: checking for $ac_header" >&5  echo "$as_me:11280: checking for $ac_header" >&5
11281  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11282  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11283    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11284  else  else
11285    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11286  #line 11270 "configure"  #line 11286 "configure"
11287  #include "confdefs.h"  #include "confdefs.h"
11288  #include <$ac_header>  #include <$ac_header>
11289  _ACEOF  _ACEOF
11290  if { (eval echo "$as_me:11274: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11290: \"$ac_cpp conftest.$ac_ext\"") >&5
11291    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11292    ac_status=$?    ac_status=$?
11293    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11294    rm -f conftest.er1    rm -f conftest.er1
11295    cat conftest.err >&5    cat conftest.err >&5
11296    echo "$as_me:11280: \$? = $ac_status" >&5    echo "$as_me:11296: \$? = $ac_status" >&5
11297    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11298    if test -s conftest.err; then    if test -s conftest.err; then
11299      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11296  else Line 11312  else
11312  fi  fi
11313  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11314  fi  fi
11315  echo "$as_me:11299: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11315: result: `eval echo '${'$as_ac_Header'}'`" >&5
11316  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11317  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11318    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11308  else Line 11324  else
11324  for ac_header in kerberosIV/des.h  for ac_header in kerberosIV/des.h
11325  do  do
11326  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11327  echo "$as_me:11311: checking for $ac_header" >&5  echo "$as_me:11327: checking for $ac_header" >&5
11328  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11329  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11330    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11331  else  else
11332    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11333  #line 11317 "configure"  #line 11333 "configure"
11334  #include "confdefs.h"  #include "confdefs.h"
11335  #include <$ac_header>  #include <$ac_header>
11336  _ACEOF  _ACEOF
11337  if { (eval echo "$as_me:11321: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11337: \"$ac_cpp conftest.$ac_ext\"") >&5
11338    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11339    ac_status=$?    ac_status=$?
11340    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11341    rm -f conftest.er1    rm -f conftest.er1
11342    cat conftest.err >&5    cat conftest.err >&5
11343    echo "$as_me:11327: \$? = $ac_status" >&5    echo "$as_me:11343: \$? = $ac_status" >&5
11344    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11345    if test -s conftest.err; then    if test -s conftest.err; then
11346      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11343  else Line 11359  else
11359  fi  fi
11360  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11361  fi  fi
11362  echo "$as_me:11346: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11362: result: `eval echo '${'$as_ac_Header'}'`" >&5
11363  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11364  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11365    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11355  else Line 11371  else
11371  for ac_header in kerberos/des.h  for ac_header in kerberos/des.h
11372  do  do
11373  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11374  echo "$as_me:11358: checking for $ac_header" >&5  echo "$as_me:11374: checking for $ac_header" >&5
11375  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11376  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11377    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11378  else  else
11379    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11380  #line 11364 "configure"  #line 11380 "configure"
11381  #include "confdefs.h"  #include "confdefs.h"
11382  #include <$ac_header>  #include <$ac_header>
11383  _ACEOF  _ACEOF
11384  if { (eval echo "$as_me:11368: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11384: \"$ac_cpp conftest.$ac_ext\"") >&5
11385    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11386    ac_status=$?    ac_status=$?
11387    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11388    rm -f conftest.er1    rm -f conftest.er1
11389    cat conftest.err >&5    cat conftest.err >&5
11390    echo "$as_me:11374: \$? = $ac_status" >&5    echo "$as_me:11390: \$? = $ac_status" >&5
11391    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11392    if test -s conftest.err; then    if test -s conftest.err; then
11393      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11390  else Line 11406  else
11406  fi  fi
11407  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11408  fi  fi
11409  echo "$as_me:11393: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11409: result: `eval echo '${'$as_ac_Header'}'`" >&5
11410  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11411  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11412    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11409  done Line 11425  done
11425  for ac_header in krb.h  for ac_header in krb.h
11426  do  do
11427  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11428  echo "$as_me:11412: checking for $ac_header" >&5  echo "$as_me:11428: checking for $ac_header" >&5
11429  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11430  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11431    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11432  else  else
11433    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11434  #line 11418 "configure"  #line 11434 "configure"
11435  #include "confdefs.h"  #include "confdefs.h"
11436  #include <$ac_header>  #include <$ac_header>
11437  _ACEOF  _ACEOF
11438  if { (eval echo "$as_me:11422: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11438: \"$ac_cpp conftest.$ac_ext\"") >&5
11439    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11440    ac_status=$?    ac_status=$?
11441    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11442    rm -f conftest.er1    rm -f conftest.er1
11443    cat conftest.err >&5    cat conftest.err >&5
11444    echo "$as_me:11428: \$? = $ac_status" >&5    echo "$as_me:11444: \$? = $ac_status" >&5
11445    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11446    if test -s conftest.err; then    if test -s conftest.err; then
11447      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11444  else Line 11460  else
11460  fi  fi
11461  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11462  fi  fi
11463  echo "$as_me:11447: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11463: result: `eval echo '${'$as_ac_Header'}'`" >&5
11464  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11465  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11466    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11456  else Line 11472  else
11472  for ac_header in kerberosIV/krb.h  for ac_header in kerberosIV/krb.h
11473  do  do
11474  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11475  echo "$as_me:11459: checking for $ac_header" >&5  echo "$as_me:11475: checking for $ac_header" >&5
11476  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11477  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11478    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11479  else  else
11480    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11481  #line 11465 "configure"  #line 11481 "configure"
11482  #include "confdefs.h"  #include "confdefs.h"
11483  #include <$ac_header>  #include <$ac_header>
11484  _ACEOF  _ACEOF
11485  if { (eval echo "$as_me:11469: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11485: \"$ac_cpp conftest.$ac_ext\"") >&5
11486    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11487    ac_status=$?    ac_status=$?
11488    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11489    rm -f conftest.er1    rm -f conftest.er1
11490    cat conftest.err >&5    cat conftest.err >&5
11491    echo "$as_me:11475: \$? = $ac_status" >&5    echo "$as_me:11491: \$? = $ac_status" >&5
11492    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11493    if test -s conftest.err; then    if test -s conftest.err; then
11494      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11491  else Line 11507  else
11507  fi  fi
11508  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11509  fi  fi
11510  echo "$as_me:11494: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11510: result: `eval echo '${'$as_ac_Header'}'`" >&5
11511  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11512  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11513    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11503  else Line 11519  else
11519  for ac_header in kerberos/krb.h  for ac_header in kerberos/krb.h
11520  do  do
11521  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11522  echo "$as_me:11506: checking for $ac_header" >&5  echo "$as_me:11522: checking for $ac_header" >&5
11523  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11524  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11525    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11526  else  else
11527    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11528  #line 11512 "configure"  #line 11528 "configure"
11529  #include "confdefs.h"  #include "confdefs.h"
11530  #include <$ac_header>  #include <$ac_header>
11531  _ACEOF  _ACEOF
11532  if { (eval echo "$as_me:11516: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11532: \"$ac_cpp conftest.$ac_ext\"") >&5
11533    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11534    ac_status=$?    ac_status=$?
11535    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11536    rm -f conftest.er1    rm -f conftest.er1
11537    cat conftest.err >&5    cat conftest.err >&5
11538    echo "$as_me:11522: \$? = $ac_status" >&5    echo "$as_me:11538: \$? = $ac_status" >&5
11539    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11540    if test -s conftest.err; then    if test -s conftest.err; then
11541      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11538  else Line 11554  else
11554  fi  fi
11555  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11556  fi  fi
11557  echo "$as_me:11541: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11557: result: `eval echo '${'$as_ac_Header'}'`" >&5
11558  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11559  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11560    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11559  done Line 11575  done
11575  for ac_header in com_err.h  for ac_header in com_err.h
11576  do  do
11577  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11578  echo "$as_me:11562: checking for $ac_header" >&5  echo "$as_me:11578: checking for $ac_header" >&5
11579  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11580  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
11581    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11582  else  else
11583    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11584  #line 11568 "configure"  #line 11584 "configure"
11585  #include "confdefs.h"  #include "confdefs.h"
11586  #include <$ac_header>  #include <$ac_header>
11587  _ACEOF  _ACEOF
11588  if { (eval echo "$as_me:11572: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:11588: \"$ac_cpp conftest.$ac_ext\"") >&5
11589    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11590    ac_status=$?    ac_status=$?
11591    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
11592    rm -f conftest.er1    rm -f conftest.er1
11593    cat conftest.err >&5    cat conftest.err >&5
11594    echo "$as_me:11578: \$? = $ac_status" >&5    echo "$as_me:11594: \$? = $ac_status" >&5
11595    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
11596    if test -s conftest.err; then    if test -s conftest.err; then
11597      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 11594  else Line 11610  else
11610  fi  fi
11611  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
11612  fi  fi
11613  echo "$as_me:11597: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:11613: result: `eval echo '${'$as_ac_Header'}'`" >&5
11614  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11615  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
11616    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11609  fi Line 11625  fi
11625  # Solaris requires -lintl if you want strerror (which calls dgettext)  # Solaris requires -lintl if you want strerror (which calls dgettext)
11626  # to return localized messages.  # to return localized messages.
11627    
11628  echo "$as_me:11612: checking for dgettext in -lintl" >&5  echo "$as_me:11628: checking for dgettext in -lintl" >&5
11629  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6  echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
11630  if test "${ac_cv_lib_intl_dgettext+set}" = set; then  if test "${ac_cv_lib_intl_dgettext+set}" = set; then
11631    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11617  else Line 11633  else
11633    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
11634  LIBS="-lintl  $LIBS"  LIBS="-lintl  $LIBS"
11635  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
11636  #line 11620 "configure"  #line 11636 "configure"
11637  #include "confdefs.h"  #include "confdefs.h"
11638    
11639  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
# Line 11636  dgettext (); Line 11652  dgettext ();
11652  }  }
11653  _ACEOF  _ACEOF
11654  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11655  if { (eval echo "$as_me:11639: \"$ac_link\"") >&5  if { (eval echo "$as_me:11655: \"$ac_link\"") >&5
11656    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11657    ac_status=$?    ac_status=$?
11658    echo "$as_me:11642: \$? = $ac_status" >&5    echo "$as_me:11658: \$? = $ac_status" >&5
11659    (exit $ac_status); } &&    (exit $ac_status); } &&
11660           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11661    { (eval echo "$as_me:11645: \"$ac_try\"") >&5    { (eval echo "$as_me:11661: \"$ac_try\"") >&5
11662    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11663    ac_status=$?    ac_status=$?
11664    echo "$as_me:11648: \$? = $ac_status" >&5    echo "$as_me:11664: \$? = $ac_status" >&5
11665    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11666    ac_cv_lib_intl_dgettext=yes    ac_cv_lib_intl_dgettext=yes
11667  else  else
# Line 11656  fi Line 11672  fi
11672  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11673  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
11674  fi  fi
11675  echo "$as_me:11659: result: $ac_cv_lib_intl_dgettext" >&5  echo "$as_me:11675: result: $ac_cv_lib_intl_dgettext" >&5
11676  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6  echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
11677  if test $ac_cv_lib_intl_dgettext = yes; then  if test $ac_cv_lib_intl_dgettext = yes; then
11678    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11667  EOF Line 11683  EOF
11683    
11684  fi  fi
11685    
11686  echo "$as_me:11670: checking whether localtime caches TZ" >&5  echo "$as_me:11686: checking whether localtime caches TZ" >&5
11687  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6  echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
11688  if test "${emacs_cv_localtime_cache+set}" = set; then  if test "${emacs_cv_localtime_cache+set}" = set; then
11689    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 11678  if test "$cross_compiling" = yes; then Line 11694  if test "$cross_compiling" = yes; then
11694  emacs_cv_localtime_cache=yes  emacs_cv_localtime_cache=yes
11695  else  else
11696    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11697  #line 11681 "configure"  #line 11697 "configure"
11698  #include "confdefs.h"  #include "confdefs.h"
11699  #include <time.h>  #include <time.h>
11700  extern char **environ;  extern char **environ;
# Line 11711  main() Line 11727  main()
11727  }  }
11728  _ACEOF  _ACEOF
11729  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11730  if { (eval echo "$as_me:11714: \"$ac_link\"") >&5  if { (eval echo "$as_me:11730: \"$ac_link\"") >&5
11731    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11732    ac_status=$?    ac_status=$?
11733    echo "$as_me:11717: \$? = $ac_status" >&5    echo "$as_me:11733: \$? = $ac_status" >&5
11734    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11735    { (eval echo "$as_me:11719: \"$ac_try\"") >&5    { (eval echo "$as_me:11735: \"$ac_try\"") >&5
11736    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11737    ac_status=$?    ac_status=$?
11738    echo "$as_me:11722: \$? = $ac_status" >&5    echo "$as_me:11738: \$? = $ac_status" >&5
11739    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11740    emacs_cv_localtime_cache=no    emacs_cv_localtime_cache=no
11741  else  else
# Line 11736  else Line 11752  else
11752          emacs_cv_localtime_cache=no          emacs_cv_localtime_cache=no
11753  fi  fi
11754  fi  fi
11755  echo "$as_me:11739: result: $emacs_cv_localtime_cache" >&5  echo "$as_me:11755: result: $emacs_cv_localtime_cache" >&5
11756  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6  echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
11757  if test $emacs_cv_localtime_cache = yes; then  if test $emacs_cv_localtime_cache = yes; then
11758    
# Line 11751  if test "x$HAVE_TIMEVAL" = xyes; then Line 11767  if test "x$HAVE_TIMEVAL" = xyes; then
11767  for ac_func in gettimeofday  for ac_func in gettimeofday
11768  do  do
11769  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11770  echo "$as_me:11754: checking for $ac_func" >&5  echo "$as_me:11770: checking for $ac_func" >&5
11771  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11772  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
11773    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11774  else  else
11775    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11776  #line 11760 "configure"  #line 11776 "configure"
11777  #include "confdefs.h"  #include "confdefs.h"
11778  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11779      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 11788  f = $ac_func; Line 11804  f = $ac_func;
11804  }  }
11805  _ACEOF  _ACEOF
11806  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
11807  if { (eval echo "$as_me:11791: \"$ac_link\"") >&5  if { (eval echo "$as_me:11807: \"$ac_link\"") >&5
11808    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11809    ac_status=$?    ac_status=$?
11810    echo "$as_me:11794: \$? = $ac_status" >&5    echo "$as_me:11810: \$? = $ac_status" >&5
11811    (exit $ac_status); } &&    (exit $ac_status); } &&
11812           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
11813    { (eval echo "$as_me:11797: \"$ac_try\"") >&5    { (eval echo "$as_me:11813: \"$ac_try\"") >&5
11814    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11815    ac_status=$?    ac_status=$?
11816    echo "$as_me:11800: \$? = $ac_status" >&5    echo "$as_me:11816: \$? = $ac_status" >&5
11817    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11818    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
11819  else  else
# Line 11807  eval "$as_ac_var=no" Line 11823  eval "$as_ac_var=no"
11823  fi  fi
11824  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11825  fi  fi
11826  echo "$as_me:11810: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:11826: result: `eval echo '${'$as_ac_var'}'`" >&5
11827  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11828  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
11829    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 11818  fi Line 11834  fi
11834  done  done
11835    
11836    if test $ac_cv_func_gettimeofday = yes; then    if test $ac_cv_func_gettimeofday = yes; then
11837      echo "$as_me:11821: checking whether gettimeofday can accept two arguments" >&5      echo "$as_me:11837: checking whether gettimeofday can accept two arguments" >&5
11838  echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6  echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
11839  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then  if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
11840    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11841  else  else
11842    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11843  #line 11827 "configure"  #line 11843 "configure"
11844  #include "confdefs.h"  #include "confdefs.h"
11845    
11846  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11847  struct timeval time; Line 11863  struct timeval time;
11863  }  }
11864  _ACEOF  _ACEOF
11865  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11866  if { (eval echo "$as_me:11850: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11866: \"$ac_compile\"") >&5
11867    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11868    ac_status=$?    ac_status=$?
11869    echo "$as_me:11853: \$? = $ac_status" >&5    echo "$as_me:11869: \$? = $ac_status" >&5
11870    (exit $ac_status); } &&    (exit $ac_status); } &&
11871           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11872    { (eval echo "$as_me:11856: \"$ac_try\"") >&5    { (eval echo "$as_me:11872: \"$ac_try\"") >&5
11873    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11874    ac_status=$?    ac_status=$?
11875    echo "$as_me:11859: \$? = $ac_status" >&5    echo "$as_me:11875: \$? = $ac_status" >&5
11876    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11877    emacs_cv_gettimeofday_two_arguments=yes    emacs_cv_gettimeofday_two_arguments=yes
11878  else  else
# Line 11866  emacs_cv_gettimeofday_two_arguments=no Line 11882  emacs_cv_gettimeofday_two_arguments=no
11882  fi  fi
11883  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11884  fi  fi
11885  echo "$as_me:11869: result: $emacs_cv_gettimeofday_two_arguments" >&5  echo "$as_me:11885: result: $emacs_cv_gettimeofday_two_arguments" >&5
11886  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6  echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
11887      if test $emacs_cv_gettimeofday_two_arguments = no; then      if test $emacs_cv_gettimeofday_two_arguments = no; then
11888    
# Line 11879  EOF Line 11895  EOF
11895  fi  fi
11896    
11897  if test "$ac_cv_func_gettimeofday" = yes; then  if test "$ac_cv_func_gettimeofday" = yes; then
11898    echo "$as_me:11882: checking for struct timezone" >&5    echo "$as_me:11898: checking for struct timezone" >&5
11899  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6  echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
11900  if test "${emacs_cv_struct_timezone+set}" = set; then  if test "${emacs_cv_struct_timezone+set}" = set; then
11901    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11902  else  else
11903    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11904  #line 11888 "configure"  #line 11904 "configure"
11905  #include "confdefs.h"  #include "confdefs.h"
11906  #include <sys/time.h>  #include <sys/time.h>
11907  int  int
# Line 11897  struct timezone tz; Line 11913  struct timezone tz;
11913  }  }
11914  _ACEOF  _ACEOF
11915  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
11916  if { (eval echo "$as_me:11900: \"$ac_compile\"") >&5  if { (eval echo "$as_me:11916: \"$ac_compile\"") >&5
11917    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
11918    ac_status=$?    ac_status=$?
11919    echo "$as_me:11903: \$? = $ac_status" >&5    echo "$as_me:11919: \$? = $ac_status" >&5
11920    (exit $ac_status); } &&    (exit $ac_status); } &&
11921           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
11922    { (eval echo "$as_me:11906: \"$ac_try\"") >&5    { (eval echo "$as_me:11922: \"$ac_try\"") >&5
11923    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11924    ac_status=$?    ac_status=$?
11925    echo "$as_me:11909: \$? = $ac_status" >&5    echo "$as_me:11925: \$? = $ac_status" >&5
11926    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11927                if test "$cross_compiling" = yes; then                if test "$cross_compiling" = yes; then
11928    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11929  else  else
11930    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11931  #line 11915 "configure"  #line 11931 "configure"
11932  #include "confdefs.h"  #include "confdefs.h"
11933    
11934  #ifdef TIME_WITH_SYS_TIME  #ifdef TIME_WITH_SYS_TIME
# Line 11932  main () { Line 11948  main () {
11948  }  }
11949  _ACEOF  _ACEOF
11950  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
11951  if { (eval echo "$as_me:11935: \"$ac_link\"") >&5  if { (eval echo "$as_me:11951: \"$ac_link\"") >&5
11952    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
11953    ac_status=$?    ac_status=$?
11954    echo "$as_me:11938: \$? = $ac_status" >&5    echo "$as_me:11954: \$? = $ac_status" >&5
11955    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11956    { (eval echo "$as_me:11940: \"$ac_try\"") >&5    { (eval echo "$as_me:11956: \"$ac_try\"") >&5
11957    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
11958    ac_status=$?    ac_status=$?
11959    echo "$as_me:11943: \$? = $ac_status" >&5    echo "$as_me:11959: \$? = $ac_status" >&5
11960    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
11961    emacs_cv_struct_timezone=yes    emacs_cv_struct_timezone=yes
11962  else  else
# Line 11958  emacs_cv_struct_timezone=no Line 11974  emacs_cv_struct_timezone=no
11974  fi  fi
11975  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
11976  fi  fi
11977  echo "$as_me:11961: result: $emacs_cv_struct_timezone" >&5  echo "$as_me:11977: result: $emacs_cv_struct_timezone" >&5
11978  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6  echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
11979  fi  fi
11980    
11981  ok_so_far=yes  ok_so_far=yes
11982  echo "$as_me:11966: checking for socket" >&5  echo "$as_me:11982: checking for socket" >&5
11983  echo $ECHO_N "checking for socket... $ECHO_C" >&6  echo $ECHO_N "checking for socket... $ECHO_C" >&6
11984  if test "${ac_cv_func_socket+set}" = set; then  if test "${ac_cv_func_socket+set}" = set; then
11985    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
11986  else  else
11987    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
11988  #line 11972 "configure"  #line 11988 "configure"
11989  #include "confdefs.h"  #include "confdefs.h"
11990  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
11991      which can conflict with char socket (); below.  */      which can conflict with char socket (); below.  */
# Line 12000  f = socket; Line 12016  f = socket;
12016  }  }
12017  _ACEOF  _ACEOF
12018  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12019  if { (eval echo "$as_me:12003: \"$ac_link\"") >&5  if { (eval echo "$as_me:12019: \"$ac_link\"") >&5
12020    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12021    ac_status=$?    ac_status=$?
12022    echo "$as_me:12006: \$? = $ac_status" >&5    echo "$as_me:12022: \$? = $ac_status" >&5
12023    (exit $ac_status); } &&    (exit $ac_status); } &&
12024           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
12025    { (eval echo "$as_me:12009: \"$ac_try\"") >&5    { (eval echo "$as_me:12025: \"$ac_try\"") >&5
12026    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12027    ac_status=$?    ac_status=$?
12028    echo "$as_me:12012: \$? = $ac_status" >&5    echo "$as_me:12028: \$? = $ac_status" >&5
12029    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12030    ac_cv_func_socket=yes    ac_cv_func_socket=yes
12031  else  else
# Line 12019  ac_cv_func_socket=no Line 12035  ac_cv_func_socket=no
12035  fi  fi
12036  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12037  fi  fi
12038  echo "$as_me:12022: result: $ac_cv_func_socket" >&5  echo "$as_me:12038: result: $ac_cv_func_socket" >&5
12039  echo "${ECHO_T}$ac_cv_func_socket" >&6  echo "${ECHO_T}$ac_cv_func_socket" >&6
12040  if test $ac_cv_func_socket = yes; then  if test $ac_cv_func_socket = yes; then
12041    :    :
# Line 12028  else Line 12044  else
12044  fi  fi
12045    
12046  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
12047    echo "$as_me:12031: checking for netinet/in.h" >&5    echo "$as_me:12047: checking for netinet/in.h" >&5
12048  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6  echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
12049  if test "${ac_cv_header_netinet_in_h+set}" = set; then  if test "${ac_cv_header_netinet_in_h+set}" = set; then
12050    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12051  else  else
12052    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12053  #line 12037 "configure"  #line 12053 "configure"
12054  #include "confdefs.h"  #include "confdefs.h"
12055  #include <netinet/in.h>  #include <netinet/in.h>
12056  _ACEOF  _ACEOF
12057  if { (eval echo "$as_me:12041: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12057: \"$ac_cpp conftest.$ac_ext\"") >&5
12058    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12059    ac_status=$?    ac_status=$?
12060    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12061    rm -f conftest.er1    rm -f conftest.er1
12062    cat conftest.err >&5    cat conftest.err >&5
12063    echo "$as_me:12047: \$? = $ac_status" >&5    echo "$as_me:12063: \$? = $ac_status" >&5
12064    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12065    if test -s conftest.err; then    if test -s conftest.err; then
12066      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12063  else Line 12079  else
12079  fi  fi
12080  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12081  fi  fi
12082  echo "$as_me:12066: result: $ac_cv_header_netinet_in_h" >&5  echo "$as_me:12082: result: $ac_cv_header_netinet_in_h" >&5
12083  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6  echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
12084  if test $ac_cv_header_netinet_in_h = yes; then  if test $ac_cv_header_netinet_in_h = yes; then
12085    :    :
# Line 12073  fi Line 12089  fi
12089    
12090  fi  fi
12091  if test $ok_so_far = yes; then  if test $ok_so_far = yes; then
12092    echo "$as_me:12076: checking for arpa/inet.h" >&5    echo "$as_me:12092: checking for arpa/inet.h" >&5
12093  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6  echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
12094  if test "${ac_cv_header_arpa_inet_h+set}" = set; then  if test "${ac_cv_header_arpa_inet_h+set}" = set; then
12095    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12096  else  else
12097    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12098  #line 12082 "configure"  #line 12098 "configure"
12099  #include "confdefs.h"  #include "confdefs.h"
12100  #include <arpa/inet.h>  #include <arpa/inet.h>
12101  _ACEOF  _ACEOF
12102  if { (eval echo "$as_me:12086: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12102: \"$ac_cpp conftest.$ac_ext\"") >&5
12103    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12104    ac_status=$?    ac_status=$?
12105    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12106    rm -f conftest.er1    rm -f conftest.er1
12107    cat conftest.err >&5    cat conftest.err >&5
12108    echo "$as_me:12092: \$? = $ac_status" >&5    echo "$as_me:12108: \$? = $ac_status" >&5
12109    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12110    if test -s conftest.err; then    if test -s conftest.err; then
12111      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12108  else Line 12124  else
12124  fi  fi
12125  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12126  fi  fi
12127  echo "$as_me:12111: result: $ac_cv_header_arpa_inet_h" >&5  echo "$as_me:12127: result: $ac_cv_header_arpa_inet_h" >&5
12128  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6  echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
12129  if test $ac_cv_header_arpa_inet_h = yes; then  if test $ac_cv_header_arpa_inet_h = yes; then
12130    :    :
# Line 12133  EOF Line 12149  EOF
12149    
12150  fi  fi
12151    
12152  echo "$as_me:12136: checking whether system supports dynamic ptys" >&5  echo "$as_me:12152: checking whether system supports dynamic ptys" >&5
12153  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6  echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
12154  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then  if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
12155    echo "$as_me:12139: result: yes" >&5    echo "$as_me:12155: result: yes" >&5
12156  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
12157    
12158  cat >>confdefs.h <<\EOF  cat >>confdefs.h <<\EOF
# Line 12144  cat >>confdefs.h <<\EOF Line 12160  cat >>confdefs.h <<\EOF
12160  EOF  EOF
12161    
12162  else  else
12163    echo "$as_me:12147: result: no" >&5    echo "$as_me:12163: result: no" >&5
12164  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
12165  fi  fi
12166    
12167  echo "$as_me:12151: checking for pid_t" >&5  echo "$as_me:12167: checking for pid_t" >&5
12168  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6  echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12169  if test "${ac_cv_type_pid_t+set}" = set; then  if test "${ac_cv_type_pid_t+set}" = set; then
12170    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12171  else  else
12172    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12173  #line 12157 "configure"  #line 12173 "configure"
12174  #include "confdefs.h"  #include "confdefs.h"
12175  $ac_includes_default  $ac_includes_default
12176  int  int
# Line 12169  if (sizeof (pid_t)) Line 12185  if (sizeof (pid_t))
12185  }  }
12186  _ACEOF  _ACEOF
12187  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12188  if { (eval echo "$as_me:12172: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12188: \"$ac_compile\"") >&5
12189    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12190    ac_status=$?    ac_status=$?
12191    echo "$as_me:12175: \$? = $ac_status" >&5    echo "$as_me:12191: \$? = $ac_status" >&5
12192    (exit $ac_status); } &&    (exit $ac_status); } &&
12193           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12194    { (eval echo "$as_me:12178: \"$ac_try\"") >&5    { (eval echo "$as_me:12194: \"$ac_try\"") >&5
12195    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12196    ac_status=$?    ac_status=$?
12197    echo "$as_me:12181: \$? = $ac_status" >&5    echo "$as_me:12197: \$? = $ac_status" >&5
12198    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12199    ac_cv_type_pid_t=yes    ac_cv_type_pid_t=yes
12200  else  else
# Line 12188  ac_cv_type_pid_t=no Line 12204  ac_cv_type_pid_t=no
12204  fi  fi
12205  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12206  fi  fi
12207  echo "$as_me:12191: result: $ac_cv_type_pid_t" >&5  echo "$as_me:12207: result: $ac_cv_type_pid_t" >&5
12208  echo "${ECHO_T}$ac_cv_type_pid_t" >&6  echo "${ECHO_T}$ac_cv_type_pid_t" >&6
12209  if test $ac_cv_type_pid_t = yes; then  if test $ac_cv_type_pid_t = yes; then
12210    :    :
# Line 12203  fi Line 12219  fi
12219  for ac_header in unistd.h vfork.h  for ac_header in unistd.h vfork.h
12220  do  do
12221  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12222  echo "$as_me:12206: checking for $ac_header" >&5  echo "$as_me:12222: checking for $ac_header" >&5
12223  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12224  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12225    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12226  else  else
12227    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12228  #line 12212 "configure"  #line 12228 "configure"
12229  #include "confdefs.h"  #include "confdefs.h"
12230  #include <$ac_header>  #include <$ac_header>
12231  _ACEOF  _ACEOF
12232  if { (eval echo "$as_me:12216: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12232: \"$ac_cpp conftest.$ac_ext\"") >&5
12233    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12234    ac_status=$?    ac_status=$?
12235    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12236    rm -f conftest.er1    rm -f conftest.er1
12237    cat conftest.err >&5    cat conftest.err >&5
12238    echo "$as_me:12222: \$? = $ac_status" >&5    echo "$as_me:12238: \$? = $ac_status" >&5
12239    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12240    if test -s conftest.err; then    if test -s conftest.err; then
12241      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12238  else Line 12254  else
12254  fi  fi
12255  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12256  fi  fi
12257  echo "$as_me:12241: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12257: result: `eval echo '${'$as_ac_Header'}'`" >&5
12258  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12259  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12260    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12251  done Line 12267  done
12267  for ac_func in fork vfork  for ac_func in fork vfork
12268  do  do
12269  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`  as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12270  echo "$as_me:12254: checking for $ac_func" >&5  echo "$as_me:12270: checking for $ac_func" >&5
12271  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12272  if eval "test \"\${$as_ac_var+set}\" = set"; then  if eval "test \"\${$as_ac_var+set}\" = set"; then
12273    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12274  else  else
12275    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12276  #line 12260 "configure"  #line 12276 "configure"
12277  #include "confdefs.h"  #include "confdefs.h"
12278  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
12279      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.  */
# Line 12288  f = $ac_func; Line 12304  f = $ac_func;
12304  }  }
12305  _ACEOF  _ACEOF
12306  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
12307  if { (eval echo "$as_me:12291: \"$ac_link\"") >&5  if { (eval echo "$as_me:12307: \"$ac_link\"") >&5
12308    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12309    ac_status=$?    ac_status=$?
12310    echo "$as_me:12294: \$? = $ac_status" >&5    echo "$as_me:12310: \$? = $ac_status" >&5
12311    (exit $ac_status); } &&    (exit $ac_status); } &&
12312           { ac_try='test -s conftest$ac_exeext'           { ac_try='test -s conftest$ac_exeext'
12313    { (eval echo "$as_me:12297: \"$ac_try\"") >&5    { (eval echo "$as_me:12313: \"$ac_try\"") >&5
12314    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12315    ac_status=$?    ac_status=$?
12316    echo "$as_me:12300: \$? = $ac_status" >&5    echo "$as_me:12316: \$? = $ac_status" >&5
12317    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12318    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
12319  else  else
# Line 12307  eval "$as_ac_var=no" Line 12323  eval "$as_ac_var=no"
12323  fi  fi
12324  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12325  fi  fi
12326  echo "$as_me:12310: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:12326: result: `eval echo '${'$as_ac_var'}'`" >&5
12327  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12328  if test `eval echo '${'$as_ac_var'}'` = yes; then  if test `eval echo '${'$as_ac_var'}'` = yes; then
12329    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12319  done Line 12335  done
12335    
12336  ac_cv_func_fork_works=$ac_cv_func_fork  ac_cv_func_fork_works=$ac_cv_func_fork
12337  if test "x$ac_cv_func_fork" = xyes; then  if test "x$ac_cv_func_fork" = xyes; then
12338    echo "$as_me:12322: checking for working fork" >&5    echo "$as_me:12338: checking for working fork" >&5
12339  echo $ECHO_N "checking for working fork... $ECHO_C" >&6  echo $ECHO_N "checking for working fork... $ECHO_C" >&6
12340  if test "${ac_cv_func_fork_works+set}" = set; then  if test "${ac_cv_func_fork_works+set}" = set; then
12341    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12342  else Line 12358  else
12358        }        }
12359  _ACEOF  _ACEOF
12360  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12361  if { (eval echo "$as_me:12345: \"$ac_link\"") >&5  if { (eval echo "$as_me:12361: \"$ac_link\"") >&5
12362    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12363    ac_status=$?    ac_status=$?
12364    echo "$as_me:12348: \$? = $ac_status" >&5    echo "$as_me:12364: \$? = $ac_status" >&5
12365    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12366    { (eval echo "$as_me:12350: \"$ac_try\"") >&5    { (eval echo "$as_me:12366: \"$ac_try\"") >&5
12367    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12368    ac_status=$?    ac_status=$?
12369    echo "$as_me:12353: \$? = $ac_status" >&5    echo "$as_me:12369: \$? = $ac_status" >&5
12370    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12371    ac_cv_func_fork_works=yes    ac_cv_func_fork_works=yes
12372  else  else
# Line 12362  fi Line 12378  fi
12378  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12379  fi  fi
12380  fi  fi
12381  echo "$as_me:12365: result: $ac_cv_func_fork_works" >&5  echo "$as_me:12381: result: $ac_cv_func_fork_works" >&5
12382  echo "${ECHO_T}$ac_cv_func_fork_works" >&6  echo "${ECHO_T}$ac_cv_func_fork_works" >&6
12383    
12384  fi  fi
# Line 12376  if test "x$ac_cv_func_fork_works" = xcro Line 12392  if test "x$ac_cv_func_fork_works" = xcro
12392        ac_cv_func_fork_works=yes        ac_cv_func_fork_works=yes
12393        ;;        ;;
12394    esac    esac
12395    { echo "$as_me:12379: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5    { echo "$as_me:12395: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
12396  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
12397  fi  fi
12398  ac_cv_func_vfork_works=$ac_cv_func_vfork  ac_cv_func_vfork_works=$ac_cv_func_vfork
12399  if test "x$ac_cv_func_vfork" = xyes; then  if test "x$ac_cv_func_vfork" = xyes; then
12400    echo "$as_me:12384: checking for working vfork" >&5    echo "$as_me:12400: checking for working vfork" >&5
12401  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6  echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
12402  if test "${ac_cv_func_vfork_works+set}" = set; then  if test "${ac_cv_func_vfork_works+set}" = set; then
12403    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 12390  else Line 12406  else
12406    ac_cv_func_vfork_works=cross    ac_cv_func_vfork_works=cross
12407  else  else
12408    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12409  #line 12393 "configure"  #line 12409 "configure"
12410  #include "confdefs.h"  #include "confdefs.h"
12411  /* Thanks to Paul Eggert for this test.  */  /* Thanks to Paul Eggert for this test.  */
12412  #include <stdio.h>  #include <stdio.h>
# Line 12487  main () Line 12503  main ()
12503  }  }
12504  _ACEOF  _ACEOF
12505  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
12506  if { (eval echo "$as_me:12490: \"$ac_link\"") >&5  if { (eval echo "$as_me:12506: \"$ac_link\"") >&5
12507    (eval $ac_link) 2>&5    (eval $ac_link) 2>&5
12508    ac_status=$?    ac_status=$?
12509    echo "$as_me:12493: \$? = $ac_status" >&5    echo "$as_me:12509: \$? = $ac_status" >&5
12510    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12511    { (eval echo "$as_me:12495: \"$ac_try\"") >&5    { (eval echo "$as_me:12511: \"$ac_try\"") >&5
12512    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12513    ac_status=$?    ac_status=$?
12514    echo "$as_me:12498: \$? = $ac_status" >&5    echo "$as_me:12514: \$? = $ac_status" >&5
12515    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12516    ac_cv_func_vfork_works=yes    ac_cv_func_vfork_works=yes
12517  else  else
# Line 12507  fi Line 12523  fi
12523  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12524  fi  fi
12525  fi  fi
12526  echo "$as_me:12510: result: $ac_cv_func_vfork_works" >&5  echo "$as_me:12526: result: $ac_cv_func_vfork_works" >&5
12527  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6  echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
12528    
12529  fi;  fi;
12530  if test "x$ac_cv_func_fork_works" = xcross; then  if test "x$ac_cv_func_fork_works" = xcross; then
12531    ac_cv_func_vfork_works=ac_cv_func_vfork    ac_cv_func_vfork_works=ac_cv_func_vfork
12532    { echo "$as_me:12516: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5    { echo "$as_me:12532: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
12533  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}  echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
12534  fi  fi
12535    
# Line 12539  EOF Line 12555  EOF
12555  fi  fi
12556    
12557  # Fixme: This should be replaced when we have autoconf 2.14.  # Fixme: This should be replaced when we have autoconf 2.14.
12558  echo "$as_me:12542: checking for size_t" >&5  echo "$as_me:12558: checking for size_t" >&5
12559  echo $ECHO_N "checking for size_t... $ECHO_C" >&6  echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12560  if test "${ac_cv_type_size_t+set}" = set; then  if test "${ac_cv_type_size_t+set}" = set; then
12561    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12562  else  else
12563    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12564  #line 12548 "configure"  #line 12564 "configure"
12565  #include "confdefs.h"  #include "confdefs.h"
12566  $ac_includes_default  $ac_includes_default
12567  int  int
# Line 12560  if (sizeof (size_t)) Line 12576  if (sizeof (size_t))
12576  }  }
12577  _ACEOF  _ACEOF
12578  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
12579  if { (eval echo "$as_me:12563: \"$ac_compile\"") >&5  if { (eval echo "$as_me:12579: \"$ac_compile\"") >&5
12580    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
12581    ac_status=$?    ac_status=$?
12582    echo "$as_me:12566: \$? = $ac_status" >&5    echo "$as_me:12582: \$? = $ac_status" >&5
12583    (exit $ac_status); } &&    (exit $ac_status); } &&
12584           { ac_try='test -s conftest.$ac_objext'           { ac_try='test -s conftest.$ac_objext'
12585    { (eval echo "$as_me:12569: \"$ac_try\"") >&5    { (eval echo "$as_me:12585: \"$ac_try\"") >&5
12586    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
12587    ac_status=$?    ac_status=$?
12588    echo "$as_me:12572: \$? = $ac_status" >&5    echo "$as_me:12588: \$? = $ac_status" >&5
12589    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
12590    ac_cv_type_size_t=yes    ac_cv_type_size_t=yes
12591  else  else
# Line 12579  ac_cv_type_size_t=no Line 12595  ac_cv_type_size_t=no
12595  fi  fi
12596  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
12597  fi  fi
12598  echo "$as_me:12582: result: $ac_cv_type_size_t" >&5  echo "$as_me:12598: result: $ac_cv_type_size_t" >&5
12599  echo "${ECHO_T}$ac_cv_type_size_t" >&6  echo "${ECHO_T}$ac_cv_type_size_t" >&6
12600  if test $ac_cv_type_size_t = yes; then  if test $ac_cv_type_size_t = yes; then
12601    :    :
# Line 12599  CPPFLAGS="$REAL_CPPFLAGS" Line 12615  CPPFLAGS="$REAL_CPPFLAGS"
12615  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \  version=`grep 'defconst[         ]*emacs-version' ${srcdir}/lisp/version.el \
12616           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`           | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
12617  if test x"${version}" = x; then  if test x"${version}" = x; then
12618    { { echo "$as_me:12602: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5    { { echo "$as_me:12618: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
12619  echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}  echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
12620     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
12621  fi  fi
# Line 12692  fi Line 12708  fi
12708  for ac_header in nlist.h  for ac_header in nlist.h
12709  do  do
12710  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12711  echo "$as_me:12695: checking for $ac_header" >&5  echo "$as_me:12711: checking for $ac_header" >&5
12712  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12713  if eval "test \"\${$as_ac_Header+set}\" = set"; then  if eval "test \"\${$as_ac_Header+set}\" = set"; then
12714    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
12715  else  else
12716    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
12717  #line 12701 "configure"  #line 12717 "configure"
12718  #include "confdefs.h"  #include "confdefs.h"
12719  #include <$ac_header>  #include <$ac_header>
12720  _ACEOF  _ACEOF
12721  if { (eval echo "$as_me:12705: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:12721: \"$ac_cpp conftest.$ac_ext\"") >&5
12722    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12723    ac_status=$?    ac_status=$?
12724    egrep -v '^ *\+' conftest.er1 >conftest.err    egrep -v '^ *\+' conftest.er1 >conftest.err
12725    rm -f conftest.er1    rm -f conftest.er1
12726    cat conftest.err >&5    cat conftest.err >&5
12727    echo "$as_me:12711: \$? = $ac_status" >&5    echo "$as_me:12727: \$? = $ac_status" >&5
12728    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
12729    if test -s conftest.err; then    if test -s conftest.err; then
12730      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
# Line 12727  else Line 12743  else
12743  fi  fi
12744  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
12745  fi  fi
12746  echo "$as_me:12730: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:12746: result: `eval echo '${'$as_ac_Header'}'`" >&5
12747  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12748  if test `eval echo '${'$as_ac_Header'}'` = yes; then  if test `eval echo '${'$as_ac_Header'}'` = yes; then
12749    cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
# Line 12787  test "${exec_prefix}" != NONE && Line 12803  test "${exec_prefix}" != NONE &&
12803  ## C preprocessor.  ## C preprocessor.
12804    
12805  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
12806  #line 12790 "configure"  #line 12806 "configure"
12807  #include "confdefs.h"  #include "confdefs.h"
12808  yes..yes  yes..yes
12809  _ACEOF  _ACEOF
# Line 12880  DEFS=-DHAVE_CONFIG_H Line 12896  DEFS=-DHAVE_CONFIG_H
12896  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
12897  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
12898  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12899  { echo "$as_me:12883: creating $CONFIG_STATUS" >&5  { echo "$as_me:12899: creating $CONFIG_STATUS" >&5
12900  echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
12901  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF
12902  #! $SHELL  #! $SHELL
# Line 13056  cat >>$CONFIG_STATUS <<\EOF Line 13072  cat >>$CONFIG_STATUS <<\EOF
13072      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
13073    --he | --h)    --he | --h)
13074      # Conflict between --help and --header      # Conflict between --help and --header
13075      { { echo "$as_me:13059: error: ambiguous option: $1      { { echo "$as_me:13075: error: ambiguous option: $1
13076  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
13077  echo "$as_me: error: ambiguous option: $1  echo "$as_me: error: ambiguous option: $1
13078  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 13075  Try \`$0 --help' for more information." Line 13091  Try \`$0 --help' for more information."
13091      ac_need_defaults=false;;      ac_need_defaults=false;;
13092    
13093    # This is an error.    # This is an error.
13094    -*) { { echo "$as_me:13078: error: unrecognized option: $1    -*) { { echo "$as_me:13094: error: unrecognized option: $1
13095  Try \`$0 --help' for more information." >&5  Try \`$0 --help' for more information." >&5
13096  echo "$as_me: error: unrecognized option: $1  echo "$as_me: error: unrecognized option: $1
13097  Try \`$0 --help' for more information." >&2;}  Try \`$0 --help' for more information." >&2;}
# Line 13131  do Line 13147  do
13147    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;    "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
13148    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;    "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
13149    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;    "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
13150    *) { { echo "$as_me:13134: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:13150: error: invalid argument: $ac_config_target" >&5
13151  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13152     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
13153    esac    esac
# Line 13380  done; } Line 13396  done; }
13396    esac    esac
13397    
13398    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13399      { echo "$as_me:13383: creating $ac_file" >&5      { echo "$as_me:13399: creating $ac_file" >&5
13400  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13401      rm -f "$ac_file"      rm -f "$ac_file"
13402    fi    fi
# Line 13398  echo "$as_me: creating $ac_file" >&6;} Line 13414  echo "$as_me: creating $ac_file" >&6;}
13414        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13415        [\\/$]*)        [\\/$]*)
13416           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13417           test -f "$f" || { { echo "$as_me:13401: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13417: error: cannot find input file: $f" >&5
13418  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13419     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13420           echo $f;;           echo $f;;
# Line 13411  echo "$as_me: error: cannot find input f Line 13427  echo "$as_me: error: cannot find input f
13427             echo $srcdir/$f             echo $srcdir/$f
13428           else           else
13429             # /dev/null tree             # /dev/null tree
13430             { { echo "$as_me:13414: error: cannot find input file: $f" >&5             { { echo "$as_me:13430: error: cannot find input file: $f" >&5
13431  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13432     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13433           fi;;           fi;;
# Line 13472  for ac_file in : $CONFIG_HEADERS; do tes Line 13488  for ac_file in : $CONFIG_HEADERS; do tes
13488    * )   ac_file_in=$ac_file.in ;;    * )   ac_file_in=$ac_file.in ;;
13489    esac    esac
13490    
13491    test x"$ac_file" != x- && { echo "$as_me:13475: creating $ac_file" >&5    test x"$ac_file" != x- && { echo "$as_me:13491: creating $ac_file" >&5
13492  echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
13493    
13494    # First look for the input files in the build tree, otherwise in the    # First look for the input files in the build tree, otherwise in the
# Line 13483  echo "$as_me: creating $ac_file" >&6;} Line 13499  echo "$as_me: creating $ac_file" >&6;}
13499        -) echo $tmp/stdin ;;        -) echo $tmp/stdin ;;
13500        [\\/$]*)        [\\/$]*)
13501           # Absolute (can't be DOS-style, as IFS=:)           # Absolute (can't be DOS-style, as IFS=:)
13502           test -f "$f" || { { echo "$as_me:13486: error: cannot find input file: $f" >&5           test -f "$f" || { { echo "$as_me:13502: error: cannot find input file: $f" >&5
13503  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13504     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13505           echo $f;;           echo $f;;
# Line 13496  echo "$as_me: error: cannot find input f Line 13512  echo "$as_me: error: cannot find input f
13512             echo $srcdir/$f             echo $srcdir/$f
13513           else           else
13514             # /dev/null tree             # /dev/null tree
13515             { { echo "$as_me:13499: error: cannot find input file: $f" >&5             { { echo "$as_me:13515: error: cannot find input file: $f" >&5
13516  echo "$as_me: error: cannot find input file: $f" >&2;}  echo "$as_me: error: cannot find input file: $f" >&2;}
13517     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
13518           fi;;           fi;;
# Line 13613  cat >>$CONFIG_STATUS <<\EOF Line 13629  cat >>$CONFIG_STATUS <<\EOF
13629    rm -f $tmp/in    rm -f $tmp/in
13630    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
13631      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13632        { echo "$as_me:13616: $ac_file is unchanged" >&5        { echo "$as_me:13632: $ac_file is unchanged" >&5
13633  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
13634      else      else
13635        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \        ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26