~ubuntu-branches/ubuntu/trusty/libprelude/trusty

« back to all changes in this revision

Viewing changes to libmissing/m4/stdio_h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2008-04-28 15:23:30 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080428152330-su7zlfscjjeh30ig
Tags: 0.9.17.1-1
New upstream release (remove debug output)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# stdio_h.m4 serial 9
2
 
dnl Copyright (C) 2007 Free Software Foundation, Inc.
 
1
# stdio_h.m4 serial 10
 
2
dnl Copyright (C) 2007-2008 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
70
70
  [
71
71
    AC_CACHE_CHECK([whether stdin defaults to large file offsets],
72
72
      [gl_cv_var_stdin_large_offset],
73
 
      [AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <stdio.h>],
74
 
[#if defined __SL64 && defined __SCLE /* cygwin */
 
73
      [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]],
 
74
[[#if defined __SL64 && defined __SCLE /* cygwin */
75
75
  /* Cygwin 1.5.24 and earlier fail to put stdin in 64-bit mode, making
76
76
     fseeko/ftello needlessly fail.  This bug was fixed in 1.5.25, and
77
77
     it is easier to do a version check than building a runtime test.  */
79
79
# if CYGWIN_VERSION_DLL_COMBINED < CYGWIN_VERSION_DLL_MAKE_COMBINED (1005, 25)
80
80
  choke me
81
81
# endif
82
 
#endif])],
 
82
#endif]])],
83
83
        [gl_cv_var_stdin_large_offset=yes],
84
84
        [gl_cv_var_stdin_large_offset=no])])
85
85
])