Hi Eric,

Eric Blake writes:
> Subject: [PATCH] fseek: avoid compilation failure when fflush is replaced

> * m4/fseeko.m4 (gl_REPLACE_FSEEKO): Also replace fseek, if fseek
> module is in use.

> --- a/m4/fseeko.m4
> +++ b/m4/fseeko.m4

> @@ -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.

Cheers,
Ralf



Reply via email to