Mercurial > emacs
comparison configure @ 31994:baf314674954
*** empty log message ***
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 29 Sep 2000 09:32:42 +0000 |
parents | 3e0642938fc8 |
children | 259c9935f2db |
comparison
equal
deleted
inserted
replaced
31993:46576e0d9de9 | 31994:baf314674954 |
---|---|
889 # non-traditional preprocessing with the current compiler defaults. | 889 # non-traditional preprocessing with the current compiler defaults. |
890 # OSF 4 can also have that compiler version, and there seems always | 890 # OSF 4 can also have that compiler version, and there seems always |
891 # to have been a usable /usr/bin/cpp. | 891 # to have been a usable /usr/bin/cpp. |
892 NON_GNU_CPP='cpp' | 892 NON_GNU_CPP='cpp' |
893 case "${canonical}" in | 893 case "${canonical}" in |
894 alpha*-dec-osf[4-9]*) | 894 alpha*-dec-osf[5-9]*) |
895 opsys=osf5-0 ;; | 895 opsys=osf5-0 ;; |
896 esac | 896 esac |
897 ;; | 897 ;; |
898 | 898 |
899 alpha*-*-linux-gnu* ) | 899 alpha*-*-linux-gnu* ) |
3502 #include "confdefs.h" | 3502 #include "confdefs.h" |
3503 | 3503 |
3504 int main() { | 3504 int main() { |
3505 | 3505 |
3506 /* Ultrix mips cc rejects this. */ | 3506 /* Ultrix mips cc rejects this. */ |
3507 typedef int charset[2]; const charset x; | 3507 typedef int charset[2]; const charset x = {0,0}; |
3508 /* SunOS 4.1.1 cc rejects this. */ | 3508 /* SunOS 4.1.1 cc rejects this. */ |
3509 char const *const *ccp; | 3509 char const *const *ccp; |
3510 char **p; | 3510 char **p; |
3511 /* NEC SVR4.0.2 mips cc rejects this. */ | 3511 /* NEC SVR4.0.2 mips cc rejects this. */ |
3512 struct point {int x, y;}; | 3512 struct point {int x, y;}; |
4150 | 4150 |
4151 if test x"${REL_ALLOC}" = x; then | 4151 if test x"${REL_ALLOC}" = x; then |
4152 REL_ALLOC=${GNU_MALLOC} | 4152 REL_ALLOC=${GNU_MALLOC} |
4153 fi | 4153 fi |
4154 | 4154 |
4155 in | 4155 |
4156 for ac_hdr in stdlib.h unistd.h sys/stat.h | 4156 for ac_hdr in stdlib.h unistd.h sys/stat.h |
4157 do | 4157 do |
4158 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4158 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4160 echo "configure:4161: checking for $ac_hdr" >&5 | 4160 echo "configure:4161: checking for $ac_hdr" >&5 |
5650 cat > conftest.$ac_ext <<EOF | 5650 cat > conftest.$ac_ext <<EOF |
5651 #line 5652 "configure" | 5651 #line 5652 "configure" |
5652 #include "confdefs.h" | 5652 #include "confdefs.h" |
5653 #include <alloca.h> | 5653 #include <alloca.h> |
5654 int main() { | 5654 int main() { |
5655 char *p = alloca(2 * sizeof(int)); | 5655 void *p = alloca(2 * sizeof(int)); |
5656 ; return 0; } | 5656 ; return 0; } |
5657 EOF | 5657 EOF |
5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5659 rm -rf conftest* | 5659 rm -rf conftest* |
5660 ac_cv_header_alloca_h=yes | 5660 ac_cv_header_alloca_h=yes |