diff options
Diffstat (limited to 'binutils/configure')
-rwxr-xr-x | binutils/configure | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/binutils/configure b/binutils/configure index 9fdcaa0..f1eaaa1 100755 --- a/binutils/configure +++ b/binutils/configure @@ -12554,120 +12554,6 @@ $as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h fi -# Check whether fopen64 is available and whether _LARGEFILE64_SOURCE -# needs to be defined for it -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fopen64" >&5 -$as_echo_n "checking for fopen64... " >&6; } -if test "${bu_cv_have_fopen64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -int -main () -{ -FILE *f = fopen64 ("/tmp/foo","r"); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - bu_cv_have_fopen64=yes -else - saved_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <stdio.h> -int -main () -{ -FILE *f = fopen64 ("/tmp/foo","r"); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE" -else - bu_cv_have_fopen64=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS=$saved_CPPFLAGS -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_have_fopen64" >&5 -$as_echo "$bu_cv_have_fopen64" >&6; } -if test "$bu_cv_have_fopen64" != no; then - -$as_echo "#define HAVE_FOPEN64 1" >>confdefs.h - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stat64" >&5 -$as_echo_n "checking for stat64... " >&6; } -if test "${bu_cv_have_stat64+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/stat.h> -int -main () -{ -struct stat64 st; stat64 ("/tmp/foo", &st); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - bu_cv_have_stat64=yes -else - saved_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/stat.h> -int -main () -{ -struct stat64 st; stat64 ("/tmp/foo", &st); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - bu_cv_have_stat64="need -D_LARGEFILE64_SOURCE" -else - bu_cv_have_stat64=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS=$saved_CPPFLAGS -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bu_cv_have_stat64" >&5 -$as_echo "$bu_cv_have_stat64" >&6; } -if test "$bu_cv_have_stat64" != no; then - -$as_echo "#define HAVE_STAT64 1" >>confdefs.h - -fi -if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \ - || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then - -$as_echo "#define _LARGEFILE64_SOURCE 1" >>confdefs.h - - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE" -fi - # Some systems have frexp only in -lm, not in -lc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing frexp" >&5 $as_echo_n "checking for library containing frexp... " >&6; } |