[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: final argp patch
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] Re: final argp patch |
Date: |
04 Oct 2003 14:50:59 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Simon Josefsson <address@hidden> writes:
> if an application is written for argp 1 and glibc is changed in an
> incompatible way, I cannot see any way the (old) argp code in gnulib
> that is shipped with an application could detect this.
If you want it to depend on a version number in an include file, you
can have argp.m4 try to compile something like this program:
#include <gnu-versions.h>
#if _GNU_ARGP_INTERFACE_VERSION < 1
#error "system argp interface is too old"
#endif
If it doesn't compile, then either the system lacks argp, or its
interface is too old.
Re: [Bug-gnulib] Re: final argp patch, Karl Berry, 2003/10/03