aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-05-20 15:55:53 +0000
committerGerd Moellmann2000-05-20 15:55:53 +0000
commit087121cc2f9544887d64f446567fb75faf280846 (patch)
tree916cc2b85e6e49570aa25de22781dc966e7b2f49
parentf22ac298de79df6357be3cffea999ffe9dffa861 (diff)
downloademacs-087121cc2f9544887d64f446567fb75faf280846.tar.gz
emacs-087121cc2f9544887d64f446567fb75faf280846.zip
*** empty log message ***
-rw-r--r--ChangeLog6
-rwxr-xr-xconfigure276
-rw-r--r--src/ChangeLog14
3 files changed, 214 insertions, 82 deletions
diff --git a/ChangeLog b/ChangeLog
index 821bde9cd4b..0bcbe0efbb8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12000-05-20 NIIBE Yutaka <gniibe@mri.co.jp>
2
3 * configure.in: Check for grandpt and getpt.
4
12000-05-09 Dave Love <fx@gnu.org> 52000-05-09 Dave Love <fx@gnu.org>
2 6
3 * Makefile.in (install-arch-indep): Filter CVS as well as RCS. 7 * Makefile.in (install-arch-indep): Filter CVS as well as RCS.
@@ -42,7 +46,7 @@
42 46
432000-03-26 Gerd Moellmann <gerd@gnu.org> 472000-03-26 Gerd Moellmann <gerd@gnu.org>
44 48
45 * Makefile.in (bootstrap-lisp-1, bootstrap-list, bootstrap-src): 49 * Makefile.in (bootstrap-lisp-1, bootstrap-lisp, bootstrap-src):
46 New targets. 50 New targets.
47 (bootstrap): Rewritten in terms of the new targets above. Make 51 (bootstrap): Rewritten in terms of the new targets above. Make
48 info files, too. 52 info files, too.
diff --git a/configure b/configure
index 3e8d878583a..f8f815cf917 100755
--- a/configure
+++ b/configure
@@ -5730,12 +5730,126 @@ EOF
5730 5730
5731fi 5731fi
5732 5732
5733# UNIX98 PTYs.
5734for ac_func in grantpt
5735do
5736echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5737echo "configure:5738: checking for $ac_func" >&5
5738if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5739 echo $ac_n "(cached) $ac_c" 1>&6
5740else
5741 cat > conftest.$ac_ext <<EOF
5742#line 5743 "configure"
5743#include "confdefs.h"
5744/* System header to define __stub macros and hopefully few prototypes,
5745 which can conflict with char $ac_func(); below. */
5746#include <assert.h>
5747/* Override any gcc2 internal prototype to avoid an error. */
5748/* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5750char $ac_func();
5751
5752int main() {
5753
5754/* The GNU C library defines this for functions which it implements
5755 to always fail with ENOSYS. Some functions are actually named
5756 something starting with __ and the normal name is an alias. */
5757#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5758choke me
5759#else
5760$ac_func();
5761#endif
5762
5763; return 0; }
5764EOF
5765if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5766 rm -rf conftest*
5767 eval "ac_cv_func_$ac_func=yes"
5768else
5769 echo "configure: failed program was:" >&5
5770 cat conftest.$ac_ext >&5
5771 rm -rf conftest*
5772 eval "ac_cv_func_$ac_func=no"
5773fi
5774rm -f conftest*
5775fi
5776
5777if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5778 echo "$ac_t""yes" 1>&6
5779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5780 cat >> confdefs.h <<EOF
5781#define $ac_tr_func 1
5782EOF
5783
5784else
5785 echo "$ac_t""no" 1>&6
5786fi
5787done
5788
5789
5790# PTY-related GNU extensions.
5791for ac_func in getpt
5792do
5793echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5794echo "configure:5795: checking for $ac_func" >&5
5795if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5796 echo $ac_n "(cached) $ac_c" 1>&6
5797else
5798 cat > conftest.$ac_ext <<EOF
5799#line 5800 "configure"
5800#include "confdefs.h"
5801/* System header to define __stub macros and hopefully few prototypes,
5802 which can conflict with char $ac_func(); below. */
5803#include <assert.h>
5804/* Override any gcc2 internal prototype to avoid an error. */
5805/* We use char because int might match the return type of a gcc2
5806 builtin and then its argument prototype would still apply. */
5807char $ac_func();
5808
5809int main() {
5810
5811/* The GNU C library defines this for functions which it implements
5812 to always fail with ENOSYS. Some functions are actually named
5813 something starting with __ and the normal name is an alias. */
5814#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5815choke me
5816#else
5817$ac_func();
5818#endif
5819
5820; return 0; }
5821EOF
5822if { (eval echo configure:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5823 rm -rf conftest*
5824 eval "ac_cv_func_$ac_func=yes"
5825else
5826 echo "configure: failed program was:" >&5
5827 cat conftest.$ac_ext >&5
5828 rm -rf conftest*
5829 eval "ac_cv_func_$ac_func=no"
5830fi
5831rm -f conftest*
5832fi
5833
5834if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5835 echo "$ac_t""yes" 1>&6
5836 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5837 cat >> confdefs.h <<EOF
5838#define $ac_tr_func 1
5839EOF
5840
5841else
5842 echo "$ac_t""no" 1>&6
5843fi
5844done
5845
5846
5733# Check this now, so that we will NOT find the above functions in ncurses. 5847# Check this now, so that we will NOT find the above functions in ncurses.
5734# That is because we have not set up to link ncurses in lib-src. 5848# That is because we have not set up to link ncurses in lib-src.
5735# It's better to believe a function is not available 5849# It's better to believe a function is not available
5736# than to expect to find it in ncurses. 5850# than to expect to find it in ncurses.
5737echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 5851echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6
5738echo "configure:5739: checking for tparm in -lncurses" >&5 5852echo "configure:5853: checking for tparm in -lncurses" >&5
5739ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` 5853ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'`
5740if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5854if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5741 echo $ac_n "(cached) $ac_c" 1>&6 5855 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5743,7 +5857,7 @@ else
5743 ac_save_LIBS="$LIBS" 5857 ac_save_LIBS="$LIBS"
5744LIBS="-lncurses $LIBS" 5858LIBS="-lncurses $LIBS"
5745cat > conftest.$ac_ext <<EOF 5859cat > conftest.$ac_ext <<EOF
5746#line 5747 "configure" 5860#line 5861 "configure"
5747#include "confdefs.h" 5861#include "confdefs.h"
5748/* Override any gcc2 internal prototype to avoid an error. */ 5862/* Override any gcc2 internal prototype to avoid an error. */
5749/* We use char because int might match the return type of a gcc2 5863/* We use char because int might match the return type of a gcc2
@@ -5754,7 +5868,7 @@ int main() {
5754tparm() 5868tparm()
5755; return 0; } 5869; return 0; }
5756EOF 5870EOF
5757if { (eval echo configure:5758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5871if { (eval echo configure:5872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5758 rm -rf conftest* 5872 rm -rf conftest*
5759 eval "ac_cv_lib_$ac_lib_var=yes" 5873 eval "ac_cv_lib_$ac_lib_var=yes"
5760else 5874else
@@ -5785,7 +5899,7 @@ fi
5785# These tell us which Kerberos-related libraries to use. 5899# These tell us which Kerberos-related libraries to use.
5786if test "${with_kerberos+set}" = set; then 5900if test "${with_kerberos+set}" = set; then
5787 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 5901 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6
5788echo "configure:5789: checking for com_err in -lcom_err" >&5 5902echo "configure:5903: checking for com_err in -lcom_err" >&5
5789ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` 5903ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'`
5790if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5904if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5791 echo $ac_n "(cached) $ac_c" 1>&6 5905 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5793,7 +5907,7 @@ else
5793 ac_save_LIBS="$LIBS" 5907 ac_save_LIBS="$LIBS"
5794LIBS="-lcom_err $LIBS" 5908LIBS="-lcom_err $LIBS"
5795cat > conftest.$ac_ext <<EOF 5909cat > conftest.$ac_ext <<EOF
5796#line 5797 "configure" 5910#line 5911 "configure"
5797#include "confdefs.h" 5911#include "confdefs.h"
5798/* Override any gcc2 internal prototype to avoid an error. */ 5912/* Override any gcc2 internal prototype to avoid an error. */
5799/* We use char because int might match the return type of a gcc2 5913/* We use char because int might match the return type of a gcc2
@@ -5804,7 +5918,7 @@ int main() {
5804com_err() 5918com_err()
5805; return 0; } 5919; return 0; }
5806EOF 5920EOF
5807if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5921if { (eval echo configure:5922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5808 rm -rf conftest* 5922 rm -rf conftest*
5809 eval "ac_cv_lib_$ac_lib_var=yes" 5923 eval "ac_cv_lib_$ac_lib_var=yes"
5810else 5924else
@@ -5832,7 +5946,7 @@ else
5832fi 5946fi
5833 5947
5834 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 5948 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6
5835echo "configure:5836: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 5949echo "configure:5950: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
5836ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5950ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5837if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5951if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5838 echo $ac_n "(cached) $ac_c" 1>&6 5952 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5840,7 +5954,7 @@ else
5840 ac_save_LIBS="$LIBS" 5954 ac_save_LIBS="$LIBS"
5841LIBS="-lk5crypto $LIBS" 5955LIBS="-lk5crypto $LIBS"
5842cat > conftest.$ac_ext <<EOF 5956cat > conftest.$ac_ext <<EOF
5843#line 5844 "configure" 5957#line 5958 "configure"
5844#include "confdefs.h" 5958#include "confdefs.h"
5845/* Override any gcc2 internal prototype to avoid an error. */ 5959/* Override any gcc2 internal prototype to avoid an error. */
5846/* We use char because int might match the return type of a gcc2 5960/* We use char because int might match the return type of a gcc2
@@ -5851,7 +5965,7 @@ int main() {
5851mit_des_cbc_encrypt() 5965mit_des_cbc_encrypt()
5852; return 0; } 5966; return 0; }
5853EOF 5967EOF
5854if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5968if { (eval echo configure:5969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5855 rm -rf conftest* 5969 rm -rf conftest*
5856 eval "ac_cv_lib_$ac_lib_var=yes" 5970 eval "ac_cv_lib_$ac_lib_var=yes"
5857else 5971else
@@ -5879,7 +5993,7 @@ else
5879fi 5993fi
5880 5994
5881 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 5995 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6
5882echo "configure:5883: checking for mit_des_cbc_encrypt in -lcrypto" >&5 5996echo "configure:5997: checking for mit_des_cbc_encrypt in -lcrypto" >&5
5883ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` 5997ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'`
5884if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 5998if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5885 echo $ac_n "(cached) $ac_c" 1>&6 5999 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5887,7 +6001,7 @@ else
5887 ac_save_LIBS="$LIBS" 6001 ac_save_LIBS="$LIBS"
5888LIBS="-lcrypto $LIBS" 6002LIBS="-lcrypto $LIBS"
5889cat > conftest.$ac_ext <<EOF 6003cat > conftest.$ac_ext <<EOF
5890#line 5891 "configure" 6004#line 6005 "configure"
5891#include "confdefs.h" 6005#include "confdefs.h"
5892/* Override any gcc2 internal prototype to avoid an error. */ 6006/* Override any gcc2 internal prototype to avoid an error. */
5893/* We use char because int might match the return type of a gcc2 6007/* We use char because int might match the return type of a gcc2
@@ -5898,7 +6012,7 @@ int main() {
5898mit_des_cbc_encrypt() 6012mit_des_cbc_encrypt()
5899; return 0; } 6013; return 0; }
5900EOF 6014EOF
5901if { (eval echo configure:5902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6015if { (eval echo configure:6016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5902 rm -rf conftest* 6016 rm -rf conftest*
5903 eval "ac_cv_lib_$ac_lib_var=yes" 6017 eval "ac_cv_lib_$ac_lib_var=yes"
5904else 6018else
@@ -5926,7 +6040,7 @@ else
5926fi 6040fi
5927 6041
5928 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 6042 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6
5929echo "configure:5930: checking for krb5_init_context in -lkrb5" >&5 6043echo "configure:6044: checking for krb5_init_context in -lkrb5" >&5
5930ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` 6044ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'`
5931if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6045if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5932 echo $ac_n "(cached) $ac_c" 1>&6 6046 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5934,7 +6048,7 @@ else
5934 ac_save_LIBS="$LIBS" 6048 ac_save_LIBS="$LIBS"
5935LIBS="-lkrb5 $LIBS" 6049LIBS="-lkrb5 $LIBS"
5936cat > conftest.$ac_ext <<EOF 6050cat > conftest.$ac_ext <<EOF
5937#line 5938 "configure" 6051#line 6052 "configure"
5938#include "confdefs.h" 6052#include "confdefs.h"
5939/* Override any gcc2 internal prototype to avoid an error. */ 6053/* Override any gcc2 internal prototype to avoid an error. */
5940/* We use char because int might match the return type of a gcc2 6054/* We use char because int might match the return type of a gcc2
@@ -5945,7 +6059,7 @@ int main() {
5945krb5_init_context() 6059krb5_init_context()
5946; return 0; } 6060; return 0; }
5947EOF 6061EOF
5948if { (eval echo configure:5949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6062if { (eval echo configure:6063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5949 rm -rf conftest* 6063 rm -rf conftest*
5950 eval "ac_cv_lib_$ac_lib_var=yes" 6064 eval "ac_cv_lib_$ac_lib_var=yes"
5951else 6065else
@@ -5974,7 +6088,7 @@ fi
5974 6088
5975 if test "${with_kerberos5+set}" != set; then 6089 if test "${with_kerberos5+set}" != set; then
5976 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 6090 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6
5977echo "configure:5978: checking for des_cbc_encrypt in -ldes425" >&5 6091echo "configure:6092: checking for des_cbc_encrypt in -ldes425" >&5
5978ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6092ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
5979if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6093if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5980 echo $ac_n "(cached) $ac_c" 1>&6 6094 echo $ac_n "(cached) $ac_c" 1>&6
@@ -5982,7 +6096,7 @@ else
5982 ac_save_LIBS="$LIBS" 6096 ac_save_LIBS="$LIBS"
5983LIBS="-ldes425 $LIBS" 6097LIBS="-ldes425 $LIBS"
5984cat > conftest.$ac_ext <<EOF 6098cat > conftest.$ac_ext <<EOF
5985#line 5986 "configure" 6099#line 6100 "configure"
5986#include "confdefs.h" 6100#include "confdefs.h"
5987/* Override any gcc2 internal prototype to avoid an error. */ 6101/* Override any gcc2 internal prototype to avoid an error. */
5988/* We use char because int might match the return type of a gcc2 6102/* We use char because int might match the return type of a gcc2
@@ -5993,7 +6107,7 @@ int main() {
5993des_cbc_encrypt() 6107des_cbc_encrypt()
5994; return 0; } 6108; return 0; }
5995EOF 6109EOF
5996if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6110if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5997 rm -rf conftest* 6111 rm -rf conftest*
5998 eval "ac_cv_lib_$ac_lib_var=yes" 6112 eval "ac_cv_lib_$ac_lib_var=yes"
5999else 6113else
@@ -6019,7 +6133,7 @@ EOF
6019else 6133else
6020 echo "$ac_t""no" 1>&6 6134 echo "$ac_t""no" 1>&6
6021echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 6135echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6
6022echo "configure:6023: checking for des_cbc_encrypt in -ldes" >&5 6136echo "configure:6137: checking for des_cbc_encrypt in -ldes" >&5
6023ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` 6137ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'`
6024if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6138if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6025 echo $ac_n "(cached) $ac_c" 1>&6 6139 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6027,7 +6141,7 @@ else
6027 ac_save_LIBS="$LIBS" 6141 ac_save_LIBS="$LIBS"
6028LIBS="-ldes $LIBS" 6142LIBS="-ldes $LIBS"
6029cat > conftest.$ac_ext <<EOF 6143cat > conftest.$ac_ext <<EOF
6030#line 6031 "configure" 6144#line 6145 "configure"
6031#include "confdefs.h" 6145#include "confdefs.h"
6032/* Override any gcc2 internal prototype to avoid an error. */ 6146/* Override any gcc2 internal prototype to avoid an error. */
6033/* We use char because int might match the return type of a gcc2 6147/* We use char because int might match the return type of a gcc2
@@ -6038,7 +6152,7 @@ int main() {
6038des_cbc_encrypt() 6152des_cbc_encrypt()
6039; return 0; } 6153; return 0; }
6040EOF 6154EOF
6041if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6155if { (eval echo configure:6156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6042 rm -rf conftest* 6156 rm -rf conftest*
6043 eval "ac_cv_lib_$ac_lib_var=yes" 6157 eval "ac_cv_lib_$ac_lib_var=yes"
6044else 6158else
@@ -6068,7 +6182,7 @@ fi
6068fi 6182fi
6069 6183
6070 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 6184 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6
6071echo "configure:6072: checking for krb_get_cred in -lkrb4" >&5 6185echo "configure:6186: checking for krb_get_cred in -lkrb4" >&5
6072ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` 6186ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'`
6073if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6187if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6074 echo $ac_n "(cached) $ac_c" 1>&6 6188 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6076,7 +6190,7 @@ else
6076 ac_save_LIBS="$LIBS" 6190 ac_save_LIBS="$LIBS"
6077LIBS="-lkrb4 $LIBS" 6191LIBS="-lkrb4 $LIBS"
6078cat > conftest.$ac_ext <<EOF 6192cat > conftest.$ac_ext <<EOF
6079#line 6080 "configure" 6193#line 6194 "configure"
6080#include "confdefs.h" 6194#include "confdefs.h"
6081/* Override any gcc2 internal prototype to avoid an error. */ 6195/* Override any gcc2 internal prototype to avoid an error. */
6082/* We use char because int might match the return type of a gcc2 6196/* We use char because int might match the return type of a gcc2
@@ -6087,7 +6201,7 @@ int main() {
6087krb_get_cred() 6201krb_get_cred()
6088; return 0; } 6202; return 0; }
6089EOF 6203EOF
6090if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6204if { (eval echo configure:6205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6091 rm -rf conftest* 6205 rm -rf conftest*
6092 eval "ac_cv_lib_$ac_lib_var=yes" 6206 eval "ac_cv_lib_$ac_lib_var=yes"
6093else 6207else
@@ -6113,7 +6227,7 @@ EOF
6113else 6227else
6114 echo "$ac_t""no" 1>&6 6228 echo "$ac_t""no" 1>&6
6115echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 6229echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6
6116echo "configure:6117: checking for krb_get_cred in -lkrb" >&5 6230echo "configure:6231: checking for krb_get_cred in -lkrb" >&5
6117ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` 6231ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'`
6118if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6232if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6119 echo $ac_n "(cached) $ac_c" 1>&6 6233 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6121,7 +6235,7 @@ else
6121 ac_save_LIBS="$LIBS" 6235 ac_save_LIBS="$LIBS"
6122LIBS="-lkrb $LIBS" 6236LIBS="-lkrb $LIBS"
6123cat > conftest.$ac_ext <<EOF 6237cat > conftest.$ac_ext <<EOF
6124#line 6125 "configure" 6238#line 6239 "configure"
6125#include "confdefs.h" 6239#include "confdefs.h"
6126/* Override any gcc2 internal prototype to avoid an error. */ 6240/* Override any gcc2 internal prototype to avoid an error. */
6127/* We use char because int might match the return type of a gcc2 6241/* We use char because int might match the return type of a gcc2
@@ -6132,7 +6246,7 @@ int main() {
6132krb_get_cred() 6246krb_get_cred()
6133; return 0; } 6247; return 0; }
6134EOF 6248EOF
6135if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6249if { (eval echo configure:6250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6136 rm -rf conftest* 6250 rm -rf conftest*
6137 eval "ac_cv_lib_$ac_lib_var=yes" 6251 eval "ac_cv_lib_$ac_lib_var=yes"
6138else 6252else
@@ -6168,17 +6282,17 @@ fi
6168do 6282do
6169ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6283ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6170echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6284echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6171echo "configure:6172: checking for $ac_hdr" >&5 6285echo "configure:6286: checking for $ac_hdr" >&5
6172if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6286if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6173 echo $ac_n "(cached) $ac_c" 1>&6 6287 echo $ac_n "(cached) $ac_c" 1>&6
6174else 6288else
6175 cat > conftest.$ac_ext <<EOF 6289 cat > conftest.$ac_ext <<EOF
6176#line 6177 "configure" 6290#line 6291 "configure"
6177#include "confdefs.h" 6291#include "confdefs.h"
6178#include <$ac_hdr> 6292#include <$ac_hdr>
6179EOF 6293EOF
6180ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6294ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6181{ (eval echo configure:6182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6295{ (eval echo configure:6296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6182ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6296ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6183if test -z "$ac_err"; then 6297if test -z "$ac_err"; then
6184 rm -rf conftest* 6298 rm -rf conftest*
@@ -6209,17 +6323,17 @@ done
6209do 6323do
6210ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6324ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6211echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6325echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6212echo "configure:6213: checking for $ac_hdr" >&5 6326echo "configure:6327: checking for $ac_hdr" >&5
6213if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6327if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6214 echo $ac_n "(cached) $ac_c" 1>&6 6328 echo $ac_n "(cached) $ac_c" 1>&6
6215else 6329else
6216 cat > conftest.$ac_ext <<EOF 6330 cat > conftest.$ac_ext <<EOF
6217#line 6218 "configure" 6331#line 6332 "configure"
6218#include "confdefs.h" 6332#include "confdefs.h"
6219#include <$ac_hdr> 6333#include <$ac_hdr>
6220EOF 6334EOF
6221ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6335ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6222{ (eval echo configure:6223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6336{ (eval echo configure:6337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6223ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6337ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6224if test -z "$ac_err"; then 6338if test -z "$ac_err"; then
6225 rm -rf conftest* 6339 rm -rf conftest*
@@ -6246,17 +6360,17 @@ for ac_hdr in kerberosIV/des.h
6246do 6360do
6247ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6361ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6248echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6362echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6249echo "configure:6250: checking for $ac_hdr" >&5 6363echo "configure:6364: checking for $ac_hdr" >&5
6250if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6364if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6251 echo $ac_n "(cached) $ac_c" 1>&6 6365 echo $ac_n "(cached) $ac_c" 1>&6
6252else 6366else
6253 cat > conftest.$ac_ext <<EOF 6367 cat > conftest.$ac_ext <<EOF
6254#line 6255 "configure" 6368#line 6369 "configure"
6255#include "confdefs.h" 6369#include "confdefs.h"
6256#include <$ac_hdr> 6370#include <$ac_hdr>
6257EOF 6371EOF
6258ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6372ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6259{ (eval echo configure:6260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6373{ (eval echo configure:6374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6260ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6374ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6261if test -z "$ac_err"; then 6375if test -z "$ac_err"; then
6262 rm -rf conftest* 6376 rm -rf conftest*
@@ -6283,17 +6397,17 @@ for ac_hdr in kerberos/des.h
6283do 6397do
6284ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6398ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6285echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6399echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6286echo "configure:6287: checking for $ac_hdr" >&5 6400echo "configure:6401: checking for $ac_hdr" >&5
6287if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6401if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6288 echo $ac_n "(cached) $ac_c" 1>&6 6402 echo $ac_n "(cached) $ac_c" 1>&6
6289else 6403else
6290 cat > conftest.$ac_ext <<EOF 6404 cat > conftest.$ac_ext <<EOF
6291#line 6292 "configure" 6405#line 6406 "configure"
6292#include "confdefs.h" 6406#include "confdefs.h"
6293#include <$ac_hdr> 6407#include <$ac_hdr>
6294EOF 6408EOF
6295ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6409ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6296{ (eval echo configure:6297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6410{ (eval echo configure:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6297ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6411ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6298if test -z "$ac_err"; then 6412if test -z "$ac_err"; then
6299 rm -rf conftest* 6413 rm -rf conftest*
@@ -6329,17 +6443,17 @@ done
6329do 6443do
6330ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6444ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6331echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6445echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6332echo "configure:6333: checking for $ac_hdr" >&5 6446echo "configure:6447: checking for $ac_hdr" >&5
6333if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6447if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6334 echo $ac_n "(cached) $ac_c" 1>&6 6448 echo $ac_n "(cached) $ac_c" 1>&6
6335else 6449else
6336 cat > conftest.$ac_ext <<EOF 6450 cat > conftest.$ac_ext <<EOF
6337#line 6338 "configure" 6451#line 6452 "configure"
6338#include "confdefs.h" 6452#include "confdefs.h"
6339#include <$ac_hdr> 6453#include <$ac_hdr>
6340EOF 6454EOF
6341ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6455ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6342{ (eval echo configure:6343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6456{ (eval echo configure:6457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6343ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6457ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6344if test -z "$ac_err"; then 6458if test -z "$ac_err"; then
6345 rm -rf conftest* 6459 rm -rf conftest*
@@ -6366,17 +6480,17 @@ for ac_hdr in kerberosIV/krb.h
6366do 6480do
6367ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6481ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6368echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6482echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6369echo "configure:6370: checking for $ac_hdr" >&5 6483echo "configure:6484: checking for $ac_hdr" >&5
6370if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6484if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6371 echo $ac_n "(cached) $ac_c" 1>&6 6485 echo $ac_n "(cached) $ac_c" 1>&6
6372else 6486else
6373 cat > conftest.$ac_ext <<EOF 6487 cat > conftest.$ac_ext <<EOF
6374#line 6375 "configure" 6488#line 6489 "configure"
6375#include "confdefs.h" 6489#include "confdefs.h"
6376#include <$ac_hdr> 6490#include <$ac_hdr>
6377EOF 6491EOF
6378ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6492ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6379{ (eval echo configure:6380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6493{ (eval echo configure:6494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6380ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6494ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6381if test -z "$ac_err"; then 6495if test -z "$ac_err"; then
6382 rm -rf conftest* 6496 rm -rf conftest*
@@ -6403,17 +6517,17 @@ for ac_hdr in kerberos/krb.h
6403do 6517do
6404ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6518ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6405echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6519echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6406echo "configure:6407: checking for $ac_hdr" >&5 6520echo "configure:6521: checking for $ac_hdr" >&5
6407if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6521if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6408 echo $ac_n "(cached) $ac_c" 1>&6 6522 echo $ac_n "(cached) $ac_c" 1>&6
6409else 6523else
6410 cat > conftest.$ac_ext <<EOF 6524 cat > conftest.$ac_ext <<EOF
6411#line 6412 "configure" 6525#line 6526 "configure"
6412#include "confdefs.h" 6526#include "confdefs.h"
6413#include <$ac_hdr> 6527#include <$ac_hdr>
6414EOF 6528EOF
6415ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6529ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6416{ (eval echo configure:6417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6530{ (eval echo configure:6531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6417ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6531ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6418if test -z "$ac_err"; then 6532if test -z "$ac_err"; then
6419 rm -rf conftest* 6533 rm -rf conftest*
@@ -6450,17 +6564,17 @@ done
6450do 6564do
6451ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6565ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6452echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6566echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6453echo "configure:6454: checking for $ac_hdr" >&5 6567echo "configure:6568: checking for $ac_hdr" >&5
6454if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6568if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6455 echo $ac_n "(cached) $ac_c" 1>&6 6569 echo $ac_n "(cached) $ac_c" 1>&6
6456else 6570else
6457 cat > conftest.$ac_ext <<EOF 6571 cat > conftest.$ac_ext <<EOF
6458#line 6459 "configure" 6572#line 6573 "configure"
6459#include "confdefs.h" 6573#include "confdefs.h"
6460#include <$ac_hdr> 6574#include <$ac_hdr>
6461EOF 6575EOF
6462ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6576ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6463{ (eval echo configure:6464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6577{ (eval echo configure:6578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6464ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6578ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6465if test -z "$ac_err"; then 6579if test -z "$ac_err"; then
6466 rm -rf conftest* 6580 rm -rf conftest*
@@ -6491,7 +6605,7 @@ fi
6491# Solaris requires -lintl if you want strerror (which calls dgettext) 6605# Solaris requires -lintl if you want strerror (which calls dgettext)
6492# to return localized messages. 6606# to return localized messages.
6493echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 6607echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6
6494echo "configure:6495: checking for dgettext in -lintl" >&5 6608echo "configure:6609: checking for dgettext in -lintl" >&5
6495ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` 6609ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'`
6496if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 6610if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6497 echo $ac_n "(cached) $ac_c" 1>&6 6611 echo $ac_n "(cached) $ac_c" 1>&6
@@ -6499,7 +6613,7 @@ else
6499 ac_save_LIBS="$LIBS" 6613 ac_save_LIBS="$LIBS"
6500LIBS="-lintl $LIBS" 6614LIBS="-lintl $LIBS"
6501cat > conftest.$ac_ext <<EOF 6615cat > conftest.$ac_ext <<EOF
6502#line 6503 "configure" 6616#line 6617 "configure"
6503#include "confdefs.h" 6617#include "confdefs.h"
6504/* Override any gcc2 internal prototype to avoid an error. */ 6618/* Override any gcc2 internal prototype to avoid an error. */
6505/* We use char because int might match the return type of a gcc2 6619/* We use char because int might match the return type of a gcc2
@@ -6510,7 +6624,7 @@ int main() {
6510dgettext() 6624dgettext()
6511; return 0; } 6625; return 0; }
6512EOF 6626EOF
6513if { (eval echo configure:6514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6627if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6514 rm -rf conftest* 6628 rm -rf conftest*
6515 eval "ac_cv_lib_$ac_lib_var=yes" 6629 eval "ac_cv_lib_$ac_lib_var=yes"
6516else 6630else
@@ -6539,7 +6653,7 @@ fi
6539 6653
6540 6654
6541echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 6655echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
6542echo "configure:6543: checking whether localtime caches TZ" >&5 6656echo "configure:6657: checking whether localtime caches TZ" >&5
6543if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then 6657if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then
6544 echo $ac_n "(cached) $ac_c" 1>&6 6658 echo $ac_n "(cached) $ac_c" 1>&6
6545else 6659else
@@ -6549,7 +6663,7 @@ if test "$cross_compiling" = yes; then
6549emacs_cv_localtime_cache=yes 6663emacs_cv_localtime_cache=yes
6550else 6664else
6551 cat > conftest.$ac_ext <<EOF 6665 cat > conftest.$ac_ext <<EOF
6552#line 6553 "configure" 6666#line 6667 "configure"
6553#include "confdefs.h" 6667#include "confdefs.h"
6554#include <time.h> 6668#include <time.h>
6555extern char **environ; 6669extern char **environ;
@@ -6581,7 +6695,7 @@ main()
6581 exit (0); 6695 exit (0);
6582} 6696}
6583EOF 6697EOF
6584if { (eval echo configure:6585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 6698if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6585then 6699then
6586 emacs_cv_localtime_cache=no 6700 emacs_cv_localtime_cache=no
6587else 6701else
@@ -6609,12 +6723,12 @@ fi
6609 6723
6610if test "x$HAVE_TIMEVAL" = xyes; then 6724if test "x$HAVE_TIMEVAL" = xyes; then
6611echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 6725echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6
6612echo "configure:6613: checking whether gettimeofday can accept two arguments" >&5 6726echo "configure:6727: checking whether gettimeofday can accept two arguments" >&5
6613if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then 6727if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then
6614 echo $ac_n "(cached) $ac_c" 1>&6 6728 echo $ac_n "(cached) $ac_c" 1>&6
6615else 6729else
6616 cat > conftest.$ac_ext <<EOF 6730 cat > conftest.$ac_ext <<EOF
6617#line 6618 "configure" 6731#line 6732 "configure"
6618#include "confdefs.h" 6732#include "confdefs.h"
6619 6733
6620#ifdef TIME_WITH_SYS_TIME 6734#ifdef TIME_WITH_SYS_TIME
@@ -6636,7 +6750,7 @@ int main() {
6636 6750
6637; return 0; } 6751; return 0; }
6638EOF 6752EOF
6639if { (eval echo configure:6640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6753if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6640 rm -rf conftest* 6754 rm -rf conftest*
6641 emacs_cv_gettimeofday_two_arguments=yes 6755 emacs_cv_gettimeofday_two_arguments=yes
6642else 6756else
@@ -6659,12 +6773,12 @@ fi
6659 6773
6660ok_so_far=yes 6774ok_so_far=yes
6661echo $ac_n "checking for socket""... $ac_c" 1>&6 6775echo $ac_n "checking for socket""... $ac_c" 1>&6
6662echo "configure:6663: checking for socket" >&5 6776echo "configure:6777: checking for socket" >&5
6663if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then 6777if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
6664 echo $ac_n "(cached) $ac_c" 1>&6 6778 echo $ac_n "(cached) $ac_c" 1>&6
6665else 6779else
6666 cat > conftest.$ac_ext <<EOF 6780 cat > conftest.$ac_ext <<EOF
6667#line 6668 "configure" 6781#line 6782 "configure"
6668#include "confdefs.h" 6782#include "confdefs.h"
6669/* System header to define __stub macros and hopefully few prototypes, 6783/* System header to define __stub macros and hopefully few prototypes,
6670 which can conflict with char socket(); below. */ 6784 which can conflict with char socket(); below. */
@@ -6687,7 +6801,7 @@ socket();
6687 6801
6688; return 0; } 6802; return 0; }
6689EOF 6803EOF
6690if { (eval echo configure:6691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6804if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6691 rm -rf conftest* 6805 rm -rf conftest*
6692 eval "ac_cv_func_socket=yes" 6806 eval "ac_cv_func_socket=yes"
6693else 6807else
@@ -6710,17 +6824,17 @@ fi
6710if test $ok_so_far = yes; then 6824if test $ok_so_far = yes; then
6711 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 6825 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
6712echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 6826echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
6713echo "configure:6714: checking for netinet/in.h" >&5 6827echo "configure:6828: checking for netinet/in.h" >&5
6714if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6828if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6715 echo $ac_n "(cached) $ac_c" 1>&6 6829 echo $ac_n "(cached) $ac_c" 1>&6
6716else 6830else
6717 cat > conftest.$ac_ext <<EOF 6831 cat > conftest.$ac_ext <<EOF
6718#line 6719 "configure" 6832#line 6833 "configure"
6719#include "confdefs.h" 6833#include "confdefs.h"
6720#include <netinet/in.h> 6834#include <netinet/in.h>
6721EOF 6835EOF
6722ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6836ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6723{ (eval echo configure:6724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6837{ (eval echo configure:6838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6724ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6838ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6725if test -z "$ac_err"; then 6839if test -z "$ac_err"; then
6726 rm -rf conftest* 6840 rm -rf conftest*
@@ -6746,17 +6860,17 @@ fi
6746if test $ok_so_far = yes; then 6860if test $ok_so_far = yes; then
6747 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 6861 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
6748echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 6862echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
6749echo "configure:6750: checking for arpa/inet.h" >&5 6863echo "configure:6864: checking for arpa/inet.h" >&5
6750if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6864if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6 6865 echo $ac_n "(cached) $ac_c" 1>&6
6752else 6866else
6753 cat > conftest.$ac_ext <<EOF 6867 cat > conftest.$ac_ext <<EOF
6754#line 6755 "configure" 6868#line 6869 "configure"
6755#include "confdefs.h" 6869#include "confdefs.h"
6756#include <arpa/inet.h> 6870#include <arpa/inet.h>
6757EOF 6871EOF
6758ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6872ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6759{ (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6873{ (eval echo configure:6874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6760ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6874ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6761if test -z "$ac_err"; then 6875if test -z "$ac_err"; then
6762 rm -rf conftest* 6876 rm -rf conftest*
@@ -6794,7 +6908,7 @@ EOF
6794fi 6908fi
6795 6909
6796echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 6910echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6
6797echo "configure:6798: checking whether system supports dynamic ptys" >&5 6911echo "configure:6912: checking whether system supports dynamic ptys" >&5
6798if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then 6912if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
6799 echo "$ac_t""yes" 1>&6 6913 echo "$ac_t""yes" 1>&6
6800 cat >> confdefs.h <<\EOF 6914 cat >> confdefs.h <<\EOF
@@ -6806,12 +6920,12 @@ else
6806fi 6920fi
6807 6921
6808echo $ac_n "checking for pid_t""... $ac_c" 1>&6 6922echo $ac_n "checking for pid_t""... $ac_c" 1>&6
6809echo "configure:6810: checking for pid_t" >&5 6923echo "configure:6924: checking for pid_t" >&5
6810if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 6924if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
6811 echo $ac_n "(cached) $ac_c" 1>&6 6925 echo $ac_n "(cached) $ac_c" 1>&6
6812else 6926else
6813 cat > conftest.$ac_ext <<EOF 6927 cat > conftest.$ac_ext <<EOF
6814#line 6815 "configure" 6928#line 6929 "configure"
6815#include "confdefs.h" 6929#include "confdefs.h"
6816#include <sys/types.h> 6930#include <sys/types.h>
6817#if STDC_HEADERS 6931#if STDC_HEADERS
@@ -6840,17 +6954,17 @@ fi
6840 6954
6841ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 6955ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
6842echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 6956echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
6843echo "configure:6844: checking for vfork.h" >&5 6957echo "configure:6958: checking for vfork.h" >&5
6844if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 6958if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6845 echo $ac_n "(cached) $ac_c" 1>&6 6959 echo $ac_n "(cached) $ac_c" 1>&6
6846else 6960else
6847 cat > conftest.$ac_ext <<EOF 6961 cat > conftest.$ac_ext <<EOF
6848#line 6849 "configure" 6962#line 6963 "configure"
6849#include "confdefs.h" 6963#include "confdefs.h"
6850#include <vfork.h> 6964#include <vfork.h>
6851EOF 6965EOF
6852ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6966ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6853{ (eval echo configure:6854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6967{ (eval echo configure:6968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6854ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6968ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6855if test -z "$ac_err"; then 6969if test -z "$ac_err"; then
6856 rm -rf conftest* 6970 rm -rf conftest*
@@ -6875,18 +6989,18 @@ else
6875fi 6989fi
6876 6990
6877echo $ac_n "checking for working vfork""... $ac_c" 1>&6 6991echo $ac_n "checking for working vfork""... $ac_c" 1>&6
6878echo "configure:6879: checking for working vfork" >&5 6992echo "configure:6993: checking for working vfork" >&5
6879if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 6993if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
6880 echo $ac_n "(cached) $ac_c" 1>&6 6994 echo $ac_n "(cached) $ac_c" 1>&6
6881else 6995else
6882 if test "$cross_compiling" = yes; then 6996 if test "$cross_compiling" = yes; then
6883 echo $ac_n "checking for vfork""... $ac_c" 1>&6 6997 echo $ac_n "checking for vfork""... $ac_c" 1>&6
6884echo "configure:6885: checking for vfork" >&5 6998echo "configure:6999: checking for vfork" >&5
6885if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 6999if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
6886 echo $ac_n "(cached) $ac_c" 1>&6 7000 echo $ac_n "(cached) $ac_c" 1>&6
6887else 7001else
6888 cat > conftest.$ac_ext <<EOF 7002 cat > conftest.$ac_ext <<EOF
6889#line 6890 "configure" 7003#line 7004 "configure"
6890#include "confdefs.h" 7004#include "confdefs.h"
6891/* System header to define __stub macros and hopefully few prototypes, 7005/* System header to define __stub macros and hopefully few prototypes,
6892 which can conflict with char vfork(); below. */ 7006 which can conflict with char vfork(); below. */
@@ -6909,7 +7023,7 @@ vfork();
6909 7023
6910; return 0; } 7024; return 0; }
6911EOF 7025EOF
6912if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7026if { (eval echo configure:7027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6913 rm -rf conftest* 7027 rm -rf conftest*
6914 eval "ac_cv_func_vfork=yes" 7028 eval "ac_cv_func_vfork=yes"
6915else 7029else
@@ -6931,7 +7045,7 @@ fi
6931ac_cv_func_vfork_works=$ac_cv_func_vfork 7045ac_cv_func_vfork_works=$ac_cv_func_vfork
6932else 7046else
6933 cat > conftest.$ac_ext <<EOF 7047 cat > conftest.$ac_ext <<EOF
6934#line 6935 "configure" 7048#line 7049 "configure"
6935#include "confdefs.h" 7049#include "confdefs.h"
6936/* Thanks to Paul Eggert for this test. */ 7050/* Thanks to Paul Eggert for this test. */
6937#include <stdio.h> 7051#include <stdio.h>
@@ -7026,7 +7140,7 @@ main() {
7026 } 7140 }
7027} 7141}
7028EOF 7142EOF
7029if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 7143if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7030then 7144then
7031 ac_cv_func_vfork_works=yes 7145 ac_cv_func_vfork_works=yes
7032else 7146else
diff --git a/src/ChangeLog b/src/ChangeLog
index 9bf6b61c2d9..0ac76e7bd60 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,17 @@
12000-05-20 NIIBE Yutaka <gniibe@mri.co.jp>
2
3 * s/gnu-linux.h (UNIX98_PTYS) [HAVE_GRANDPT]: Define.
4 (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF)
5 [HAVE_GRANDPT]: Define.
6 (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE.
7
8 * sysdep.c (setup_pty): Treat case that UNIX98_PTYS is defined
9 like SYSV_PTYS.
10
11 * config.in (HAVE_GRANDPT, HAVE_GETPT): New defines.
12
13 * process.c (toplevel) [UNIX98_PTYS]: Include stdlib.h.
14
12000-05-20 Kenichi Handa <handa@etl.go.jp> 152000-05-20 Kenichi Handa <handa@etl.go.jp>
2 16
3 The following changes are to handle 8-bit characters in a 17 The following changes are to handle 8-bit characters in a