-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Ralf Wildenhues on 10/30/2009 12:00 PM: >> @@ -15,7 +15,7 @@ AC_DEFUN([gl_FUNC_FSEEKO], >> >> AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko], >> [ >> - AC_TRY_LINK([#include <stdio.h>], [fseeko (stdin, 0, 0);], >> + AC_TRY_LINK([[#include <stdio.h>]], [fseeko (stdin, 0, 0);], > > This change over-quotes the code, due to the double-quoting that the > obsolete AC_TRY_LINK macro does.
Ouch. Indeed it does. Sorry about that. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrsTDsACgkQ84KuGfSFAYArLwCeKn5XBoLsAfQstRQOh5pqDctM 3PQAnjZR9N9sZ+u0E1oVnIUGXuPJJtqm =JmKP -----END PGP SIGNATURE-----
>From 14f16a6d22a8fdc831908c84c809afd0b67c9050 Mon Sep 17 00:00:00 2001 From: Eric Blake <e...@byu.net> Date: Sat, 31 Oct 2009 07:23:11 -0600 Subject: [PATCH] fseeko: fix m4 regression * m4/fseeko.m4 (gl_FUNC_FSEEKO): Use modern macro. Fixes regression from 2009-10-27. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake <e...@byu.net> --- ChangeLog | 7 +++++++ m4/fseeko.m4 | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d603a2..3eda265 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-10-31 Eric Blake <e...@byu.net> + + fseeko: fix m4 regression + * m4/fseeko.m4 (gl_FUNC_FSEEKO): Use modern macro. Fixes + regression from 2009-10-27. + Reported by Ralf Wildenhues. + 2009-10-30 Eric Blake <e...@byu.net> vasnprintf: avoid compiler warnings diff --git a/m4/fseeko.m4 b/m4/fseeko.m4 index c9fbfb7..a370648 100644 --- a/m4/fseeko.m4 +++ b/m4/fseeko.m4 @@ -1,4 +1,4 @@ -# fseeko.m4 serial 5 +# fseeko.m4 serial 6 dnl Copyright (C) 2007-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -15,7 +15,8 @@ AC_DEFUN([gl_FUNC_FSEEKO], AC_CACHE_CHECK([for fseeko], [gl_cv_func_fseeko], [ - AC_TRY_LINK([[#include <stdio.h>]], [fseeko (stdin, 0, 0);], + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h> +]], [fseeko (stdin, 0, 0);])], [gl_cv_func_fseeko=yes], [gl_cv_func_fseeko=no]) ]) if test $gl_cv_func_fseeko = no; then -- 1.6.5.rc1