diff options
| author | sebres <sebres@users.sourceforge.net> | 2018-06-05 09:04:08 (GMT) |
|---|---|---|
| committer | sebres <sebres@users.sourceforge.net> | 2018-06-05 09:04:08 (GMT) |
| commit | a3fdad2b4f76fd14aeede8051f80695a07fce3af (patch) | |
| tree | ba7499f0c36de32195da201515ddca5688057e0e /unix/configure | |
| parent | ddd37fb237f275386ac83a0f5c31ce8a47d36405 (diff) | |
| parent | b89a3efc56e40f756b4e5944f38a187b574d2480 (diff) | |
| download | tcl-a3fdad2b4f76fd14aeede8051f80695a07fce3af.zip tcl-a3fdad2b4f76fd14aeede8051f80695a07fce3af.tar.gz tcl-a3fdad2b4f76fd14aeede8051f80695a07fce3af.tar.bz2 | |
merge 8.6
Diffstat (limited to 'unix/configure')
| -rwxr-xr-x | unix/configure | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure index cb3116d..2f5f72d 100755 --- a/unix/configure +++ b/unix/configure @@ -6868,6 +6868,70 @@ $as_echo "#define HAVE_STRUCT_DIRENT64 1" >>confdefs.h fi + echo "$as_me:$LINENO: checking for DIR64" >&5 +echo $ECHO_N "checking for DIR64... $ECHO_C" >&6 +if test "${tcl_cv_DIR64+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <sys/types.h> +#include <dirent.h> +int +main () +{ +struct dirent64 *p; DIR64 d = opendir64("."); + p = readdir64(d); rewinddir64(d); closedir64(d); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + tcl_cv_DIR64=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +tcl_cv_DIR64=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $tcl_cv_DIR64" >&5 +echo "${ECHO_T}$tcl_cv_DIR64" >&6 + if test "x${tcl_cv_DIR64}" = "xyes" ; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_DIR64 1 +_ACEOF + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat64" >&5 $as_echo_n "checking for struct stat64... " >&6; } if ${tcl_cv_struct_stat64+:} false; then : |
