[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
POSIXLY_CORRECT not correctly unset in getopt.m4?
From: |
Dustin J. Mitchell |
Subject: |
POSIXLY_CORRECT not correctly unset in getopt.m4? |
Date: |
Sun, 5 Sep 2010 10:42:00 -0500 |
I just had a very long chase for a new build error that began after a
recent gnulib upgrade. Briefly, the symptoms were that an invocation
of
curl-config --libs
was returning nothing when run by configure on systems with older
curls. curl-config is a shell script, which calls
pkg-config libcurl --libs
and running either of those commands on the command line worked fine.
The end of the story is that gnulib's getopt.m4 now sets
POSIXLY_CORRECT in perpetuity, and as a result pkg-config interprets
"--libs" as a library to search for (and fails to find it), rather
than as a long option.
I re-updated my gnulib repository, and I don't see any changes to this
file, so I'm assuming that the bug is still present. I will look for
a fix and send a patch, but I thought I would poll for corroboration
or any other information that I don't see in the archives.
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com
- POSIXLY_CORRECT not correctly unset in getopt.m4?,
Dustin J. Mitchell <=
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Dustin J. Mitchell, 2010/09/05
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Eric Blake, 2010/09/07
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Dustin J. Mitchell, 2010/09/07
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Eric Blake, 2010/09/07
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Dustin J. Mitchell, 2010/09/07
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Eric Blake, 2010/09/07
- [PATCH] docs: mention bash vs. POSIXLY_CORRECT, Eric Blake, 2010/09/07
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Bruno Haible, 2010/09/07
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Eric Blake, 2010/09/07
- Re: POSIXLY_CORRECT not correctly unset in getopt.m4?, Ralf Wildenhues, 2010/09/07