autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ifnames output


From: Paul Martinolich
Subject: ifnames output
Date: Wed, 1 Nov 2000 12:49:02 -0600

Based on the documentation, ifnames will output only the identifiers used
in #if directives.  The CVS version dumps all the lines that start with
# rather than just the identifiers.

$ cat test.c
#include <stdio.h>
#if HAVE_SOMETHING
#endif

int
main(int argc, char *argv[] )
{
    printf("Hello, World!\n");
}


$ ifnames --version
Autoconf version 2.14.1
$ ifnames test.c
HAVE_SOMETHING test.c


$ ifnames --version
ifnames (GNU autoconf) 2.49b
Written by David J. MacKenzie and Paul Eggert.

Copyright 1994, 1995, 1999, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ ifnames test.c
HAVE_SOMETHING test.c
#endif
#if HAVE_SOMETHING
#include <stdio.h>


Is the documenation wrong or the new ifnames.  Besides some minor changes
between the two versions, the new version has been GNU standardized.
I have un-GNU standardized the code and it works again.

I'll submit a patch to address@hidden

Paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]