configure
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:266k
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- tcl_cv_api_serial=none
- fi
- rm -fr conftest*
- fi
- fi
- fi
- echo "$ac_t""$tcl_cv_api_serial" 1>&6
- case $tcl_cv_api_serial in
- termios) cat >> confdefs.h <<EOF
- #define USE_TERMIOS 1
- EOF
- ;;
- termio) cat >> confdefs.h <<EOF
- #define USE_TERMIO 1
- EOF
- ;;
- sgtty) cat >> confdefs.h <<EOF
- #define USE_SGTTY 1
- EOF
- ;;
- esac
- #--------------------------------------------------------------------
- # Include sys/select.h if it exists and if it supplies things
- # that appear to be useful and aren't already in sys/types.h.
- # This appears to be true only on the RS/6000 under AIX. Some
- # systems like OSF/1 have a sys/select.h that's of no use, and
- # other systems like SCO UNIX have a sys/select.h that's
- # pernicious. If "fd_set" isn't defined anywhere then set a
- # special flag.
- #--------------------------------------------------------------------
- echo $ac_n "checking for fd_set in sys/types""... $ac_c" 1>&6
- echo "configure:6532: checking for fd_set in sys/types" >&5
- if eval "test "`echo '$''{'tcl_cv_type_fd_set'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-
- cat > conftest.$ac_ext <<EOF
- #line 6538 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- int main() {
- fd_set readMask, writeMask;
- ; return 0; }
- EOF
- if { (eval echo configure:6545: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- tcl_cv_type_fd_set=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- tcl_cv_type_fd_set=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$tcl_cv_type_fd_set" 1>&6
- tcl_ok=$tcl_cv_type_fd_set
- if test $tcl_ok = no; then
- echo $ac_n "checking for fd_mask in sys/select""... $ac_c" 1>&6
- echo "configure:6561: checking for fd_mask in sys/select" >&5
- if eval "test "`echo '$''{'tcl_cv_grep_fd_mask'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-
- cat > conftest.$ac_ext <<EOF
- #line 6567 "configure"
- #include "confdefs.h"
- #include <sys/select.h>
- EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "fd_mask" >/dev/null 2>&1; then
- rm -rf conftest*
- tcl_cv_grep_fd_mask=present
- else
- rm -rf conftest*
- tcl_cv_grep_fd_mask=missing
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$tcl_cv_grep_fd_mask" 1>&6
- if test $tcl_cv_grep_fd_mask = present; then
- cat >> confdefs.h <<EOF
- #define HAVE_SYS_SELECT_H 1
- EOF
- tcl_ok=yes
- fi
- fi
- if test $tcl_ok = no; then
- cat >> confdefs.h <<EOF
- #define NO_FD_SET 1
- EOF
- fi
- #------------------------------------------------------------------------------
- # Find out all about time handling differences.
- #------------------------------------------------------------------------------
- echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
- echo "configure:6604: checking whether struct tm is in sys/time.h or time.h" >&5
- if eval "test "`echo '$''{'ac_cv_struct_tm'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 6609 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <time.h>
- int main() {
- struct tm *tp; tp->tm_sec;
- ; return 0; }
- EOF
- if { (eval echo configure:6617: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_struct_tm=time.h
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_struct_tm=sys/time.h
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$ac_cv_struct_tm" 1>&6
- if test $ac_cv_struct_tm = sys/time.h; then
- cat >> confdefs.h <<EOF
- #define TM_IN_SYS_TIME 1
- EOF
- fi
- for ac_hdr in sys/time.h
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
- echo "configure:6642: checking for $ac_hdr" >&5
- if eval "test "`echo '$''{'ac_cv_header_$ac_safe'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 6647 "configure"
- #include "confdefs.h"
- #include <$ac_hdr>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- { (eval echo configure:6652: "$ac_try") 1>&5; (eval $ac_try) 2>&5; }
- ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}$"`
- if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
- else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
- fi
- rm -f conftest*
- fi
- if eval "test "`echo '$ac_cv_header_'$ac_safe`" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_hdr 1
- EOF
-
- else
- echo "$ac_t""no" 1>&6
- fi
- done
- echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
- echo "configure:6679: checking whether time.h and sys/time.h may both be included" >&5
- if eval "test "`echo '$''{'ac_cv_header_time'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 6684 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/time.h>
- #include <time.h>
- int main() {
- struct tm *tp;
- ; return 0; }
- EOF
- if { (eval echo configure:6693: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_header_time=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_header_time=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$ac_cv_header_time" 1>&6
- if test $ac_cv_header_time = yes; then
- cat >> confdefs.h <<EOF
- #define TIME_WITH_SYS_TIME 1
- EOF
- fi
- echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
- echo "configure:6714: checking for tm_zone in struct tm" >&5
- if eval "test "`echo '$''{'ac_cv_struct_tm_zone'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 6719 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <$ac_cv_struct_tm>
- int main() {
- struct tm tm; tm.tm_zone;
- ; return 0; }
- EOF
- if { (eval echo configure:6727: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_struct_tm_zone=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_struct_tm_zone=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
- if test "$ac_cv_struct_tm_zone" = yes; then
- cat >> confdefs.h <<EOF
- #define HAVE_TM_ZONE 1
- EOF
- else
- echo $ac_n "checking for tzname""... $ac_c" 1>&6
- echo "configure:6747: checking for tzname" >&5
- if eval "test "`echo '$''{'ac_cv_var_tzname'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 6752 "configure"
- #include "confdefs.h"
- #include <time.h>
- #ifndef tzname /* For SGI. */
- extern char *tzname[]; /* RS6000 and others reject char **tzname. */
- #endif
- int main() {
- atoi(*tzname);
- ; return 0; }
- EOF
- if { (eval echo configure:6762: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_var_tzname=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_var_tzname=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$ac_cv_var_tzname" 1>&6
- if test $ac_cv_var_tzname = yes; then
- cat >> confdefs.h <<EOF
- #define HAVE_TZNAME 1
- EOF
- fi
- fi
- for ac_func in gmtime_r localtime_r
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- echo "configure:6787: checking for $ac_func" >&5
- if eval "test "`echo '$''{'ac_cv_func_$ac_func'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 6792 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
- #include <assert.h>
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char $ac_func();
- int main() {
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
- choke me
- #else
- $ac_func();
- #endif
- ; return 0; }
- EOF
- if { (eval echo configure:6815: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
- fi
- rm -f conftest*
- fi
- if eval "test "`echo '$ac_cv_func_'$ac_func`" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
- #define $ac_tr_func 1
- EOF
-
- else
- echo "$ac_t""no" 1>&6
- fi
- done
- echo $ac_n "checking tm_tzadj in struct tm""... $ac_c" 1>&6
- echo "configure:6841: checking tm_tzadj in struct tm" >&5
- if eval "test "`echo '$''{'tcl_cv_member_tm_tzadj'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-
- cat > conftest.$ac_ext <<EOF
- #line 6847 "configure"
- #include "confdefs.h"
- #include <time.h>
- int main() {
- struct tm tm; tm.tm_tzadj;
- ; return 0; }
- EOF
- if { (eval echo configure:6854: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- tcl_cv_member_tm_tzadj=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- tcl_cv_member_tm_tzadj=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$tcl_cv_member_tm_tzadj" 1>&6
- if test $tcl_cv_member_tm_tzadj = yes ; then
- cat >> confdefs.h <<EOF
- #define HAVE_TM_TZADJ 1
- EOF
- fi
- echo $ac_n "checking tm_gmtoff in struct tm""... $ac_c" 1>&6
- echo "configure:6875: checking tm_gmtoff in struct tm" >&5
- if eval "test "`echo '$''{'tcl_cv_member_tm_gmtoff'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-
- cat > conftest.$ac_ext <<EOF
- #line 6881 "configure"
- #include "confdefs.h"
- #include <time.h>
- int main() {
- struct tm tm; tm.tm_gmtoff;
- ; return 0; }
- EOF
- if { (eval echo configure:6888: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- tcl_cv_member_tm_gmtoff=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- tcl_cv_member_tm_gmtoff=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$tcl_cv_member_tm_gmtoff" 1>&6
- if test $tcl_cv_member_tm_gmtoff = yes ; then
- cat >> confdefs.h <<EOF
- #define HAVE_TM_GMTOFF 1
- EOF
- fi
- #
- # Its important to include time.h in this check, as some systems
- # (like convex) have timezone functions, etc.
- #
- echo $ac_n "checking long timezone variable""... $ac_c" 1>&6
- echo "configure:6913: checking long timezone variable" >&5
- if eval "test "`echo '$''{'tcl_cv_timezone_long'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-
- cat > conftest.$ac_ext <<EOF
- #line 6919 "configure"
- #include "confdefs.h"
- #include <time.h>
- int main() {
- extern long timezone;
- timezone += 1;
- exit (0);
- ; return 0; }
- EOF
- if { (eval echo configure:6928: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- tcl_cv_timezone_long=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- tcl_cv_timezone_long=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$tcl_cv_timezone_long" 1>&6
- if test $tcl_cv_timezone_long = yes ; then
- cat >> confdefs.h <<EOF
- #define HAVE_TIMEZONE_VAR 1
- EOF
- else
- #
- # On some systems (eg IRIX 6.2), timezone is a time_t and not a long.
- #
- echo $ac_n "checking time_t timezone variable""... $ac_c" 1>&6
- echo "configure:6951: checking time_t timezone variable" >&5
- if eval "test "`echo '$''{'tcl_cv_timezone_time'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-
- cat > conftest.$ac_ext <<EOF
- #line 6957 "configure"
- #include "confdefs.h"
- #include <time.h>
- int main() {
- extern time_t timezone;
- timezone += 1;
- exit (0);
- ; return 0; }
- EOF
- if { (eval echo configure:6966: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- tcl_cv_timezone_time=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- tcl_cv_timezone_time=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$tcl_cv_timezone_time" 1>&6
- if test $tcl_cv_timezone_time = yes ; then
- cat >> confdefs.h <<EOF
- #define HAVE_TIMEZONE_VAR 1
- EOF
- fi
- fi
- #--------------------------------------------------------------------
- # Some systems (e.g., IRIX 4.0.5) lack the st_blksize field
- # in struct stat. But we might be able to use fstatfs instead.
- #--------------------------------------------------------------------
- echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
- echo "configure:6993: checking for st_blksize in struct stat" >&5
- if eval "test "`echo '$''{'ac_cv_struct_st_blksize'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 6998 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #include <sys/stat.h>
- int main() {
- struct stat s; s.st_blksize;
- ; return 0; }
- EOF
- if { (eval echo configure:7006: "$ac_compile") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- ac_cv_struct_st_blksize=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_struct_st_blksize=no
- fi
- rm -f conftest*
- fi
- echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
- if test $ac_cv_struct_st_blksize = yes; then
- cat >> confdefs.h <<EOF
- #define HAVE_ST_BLKSIZE 1
- EOF
- fi
- echo $ac_n "checking for fstatfs""... $ac_c" 1>&6
- echo "configure:7027: checking for fstatfs" >&5
- if eval "test "`echo '$''{'ac_cv_func_fstatfs'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 7032 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char fstatfs(); below. */
- #include <assert.h>
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char fstatfs();
- int main() {
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- #if defined (__stub_fstatfs) || defined (__stub___fstatfs)
- choke me
- #else
- fstatfs();
- #endif
- ; return 0; }
- EOF
- if { (eval echo configure:7055: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_fstatfs=yes"
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_fstatfs=no"
- fi
- rm -f conftest*
- fi
- if eval "test "`echo '$ac_cv_func_'fstatfs`" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
- else
- echo "$ac_t""no" 1>&6
- cat >> confdefs.h <<EOF
- #define NO_FSTATFS 1
- EOF
- fi
- #--------------------------------------------------------------------
- # Some system have no memcmp or it does not work with 8 bit
- # data, this checks it and add memcmp.o to LIBOBJS if needed
- #--------------------------------------------------------------------
- echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
- echo "configure:7084: checking for 8-bit clean memcmp" >&5
- if eval "test "`echo '$''{'ac_cv_func_memcmp_clean'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- if test "$cross_compiling" = yes; then
- ac_cv_func_memcmp_clean=no
- else
- cat > conftest.$ac_ext <<EOF
- #line 7092 "configure"
- #include "confdefs.h"
- main()
- {
- char c0 = 0x40, c1 = 0x80, c2 = 0x81;
- exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
- }
- EOF
- if { (eval echo configure:7102: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
- then
- ac_cv_func_memcmp_clean=yes
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_func_memcmp_clean=no
- fi
- rm -fr conftest*
- fi
- fi
- echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
- test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"
- #--------------------------------------------------------------------
- # Some system like SunOS 4 and other BSD like systems
- # have no memmove (we assume they have bcopy instead).
- # {The replacement define is in compat/string.h}
- #--------------------------------------------------------------------
- echo $ac_n "checking for memmove""... $ac_c" 1>&6
- echo "configure:7126: checking for memmove" >&5
- if eval "test "`echo '$''{'ac_cv_func_memmove'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 7131 "configure"
- #include "confdefs.h"
- /* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char memmove(); below. */
- #include <assert.h>
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
- char memmove();
- int main() {
- /* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
- #if defined (__stub_memmove) || defined (__stub___memmove)
- choke me
- #else
- memmove();
- #endif
- ; return 0; }
- EOF
- if { (eval echo configure:7154: "$ac_link") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_memmove=yes"
- else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_memmove=no"
- fi
- rm -f conftest*
- fi
- if eval "test "`echo '$ac_cv_func_'memmove`" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
- else
- echo "$ac_t""no" 1>&6
- cat >> confdefs.h <<EOF
- #define NO_MEMMOVE 1
- EOF
- cat >> confdefs.h <<EOF
- #define NO_STRING_H 1
- EOF
- fi
- #--------------------------------------------------------------------
- # On some systems strstr is broken: it returns a pointer even
- # even if the original string is empty.
- #--------------------------------------------------------------------
- if test "x${ac_cv_func_strstr}" = "xyes"; then
- echo $ac_n "checking proper strstr implementation""... $ac_c" 1>&6
- echo "configure:7187: checking proper strstr implementation" >&5
- if eval "test "`echo '$''{'tcl_cv_strstr_unbroken'+set}'`" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-
- if test "$cross_compiling" = yes; then
- tcl_cv_strstr_unbroken=broken
- else
- cat > conftest.$ac_ext <<EOF
- #line 7196 "configure"
- #include "confdefs.h"
- extern int strstr();
- int main()
- {
- exit(strstr("