Hello Sergey, do you mind if I apply this patch which touches a file maintained by you? <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/18572/focus=18659>
Thanks, Ralf * Ralf Wildenhues wrote on Fri, Sep 04, 2009 at 08:50:11PM CEST: [...] > Sergey Poznyakoff for > m4/argp.m4 [...] > OK to commit? > Remove obsolete macros from modules not maintained by Bruno or Jim. > > * m4/argp.m4 (gl_ARGP): Replace obsolete Autoconf macros with > their modern counterparts. [...] > diff --git a/m4/argp.m4 b/m4/argp.m4 > index b2a6940..99b52ce 100644 > --- a/m4/argp.m4 > +++ b/m4/argp.m4 > @@ -1,4 +1,4 @@ > -# argp.m4 serial 10 > +# argp.m4 serial 11 > dnl Copyright (C) 2003-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, > @@ -32,20 +32,20 @@ AC_DEFUN([gl_ARGP], > # be defined and other not, I prefer to stay on the safe side and to > # test each one separately. > AC_MSG_CHECKING([whether program_invocation_name is defined]) > - AC_TRY_LINK([#include <argp.h>], > - [ program_invocation_name = "test"; ], > - [ AC_DEFINE([HAVE_PROGRAM_INVOCATION_NAME], [1], > - [Define if program_invocation_name is defined]) > - AC_MSG_RESULT([yes])], > - [ AC_MSG_RESULT([no])] ) > + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <argp.h>]], > + [[ program_invocation_name = "test"; ]])], > + [ AC_DEFINE([HAVE_PROGRAM_INVOCATION_NAME], [1], > + [Define if program_invocation_name is defined]) > + AC_MSG_RESULT([yes])], > + [ AC_MSG_RESULT([no])] ) > > AC_MSG_CHECKING([whether program_invocation_short_name is defined]) > - AC_TRY_LINK([#include <argp.h>], > - [ program_invocation_short_name = "test"; ], > - [ AC_DEFINE([HAVE_PROGRAM_INVOCATION_SHORT_NAME], [1], > - [Define if program_invocation_short_name is defined]) > - AC_MSG_RESULT([yes])], > - [ AC_MSG_RESULT([no])] ) > + AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <argp.h>]], > + [[ program_invocation_short_name = "test"; > ]])], > + [ AC_DEFINE([HAVE_PROGRAM_INVOCATION_SHORT_NAME], [1], > + [Define if program_invocation_short_name is defined]) > + AC_MSG_RESULT([yes])], > + [ AC_MSG_RESULT([no])] ) > > AC_CHECK_DECLS_ONCE([clearerr_unlocked]) > AC_CHECK_DECLS_ONCE([feof_unlocked])
