* Re: [ANNOUNCEMENT] Updated: pkgconfig-0.12.0-1
@ 2002-05-01 19:13 perlspinr
0 siblings, 0 replies; 2+ messages in thread
From: perlspinr @ 2002-05-01 19:13 UTC (permalink / raw)
To: cygwin
Hello Charles,
I'll just mention, since I've been thinking a lot about
pkg-config lately, that I wondered whether the buggy m4
macro code that makes it work (theoretically) with
autoconf, has been fixed. I'll download the source along
with the updated package and look for a changelog or
something. But in case I run out of time: the primary
thing I am referring is that the shell code written out
to a `configure' file due to the inclusion of the macro
call PKG_CHECK_MODULES(LIBPNG, libpng10 >= 1.0.13, [blah
blah]) is VERY odd stuff, even for `configure'.
The shell script code looks like this (this is one
*section* of a huge file, NOT meant to be clear,
complete, stand-alone, or anything else, and *I*
basically didn't write it but rather it was written
by "autoconf" -- so if you see something you don't like
then before you sound off about my bad shell scripting
style, please get it STRAIGHT about what this IS and
where it comes from and why I am bringing it up!)
==== watch for miswrapping ========
case $PKG_CONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user
override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
test -z "$as_dir" && as_dir=.
if ! test -d $as_dir; then continue 1; fi
for ac_exec_ext in '' $ac_executable_extensions; do
if eval $as_executable_p "$as_dir/
$ac_word$ac_exec_ext"; then
ac_cv_path_PKG_CONFIG="$as_dir/
$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/
$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
test -z "$ac_cv_path_PKG_CONFIG" &&
ac_cv_path_PKG_CONFIG="no"
;;
esac
fi #RINGWALD
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
==== end of shell code excerpt from `configure' ===
The part I mean to bring to your attention is this line:
if eval $as_executable_p "$as_dir/
$ac_word$ac_exec_ext"; then
The 'eval' is my modification because on my system at
least (Cygwin running in Win98SE), that is a syntax
error without the "eval". $as_executable_p resolves
to "test -f" I believe and the shell sees as a single
argument, not as a call to "test" followed by an
argument flag "-f".
All that above is just to detect whether pkg-config is
installed on the system ,BTW. It seems very bizarre to
me that this baroque code is invoked when a simple test
for a non-zero return value from a shell call to `pkg-
config --version >/dev/null' would do.
I know I know, nobody understands what I am talking
about ;-).
Regards,
Soren Andersen
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ANNOUNCEMENT] Updated: pkgconfig-0.12.0-1
@ 2002-05-01 18:33 Charles Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Charles Wilson @ 2002-05-01 18:33 UTC (permalink / raw)
To: cygwin
pkgconfig is a tool used for managing the configuration
information of OTHER packages.
This is a routine update to the latest upstream version, 0.12.0.
--Chuck
To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page. This downloads setup.exe to
your system. Save it and run setup, answer the questions and pick
up 'pkgconfig' from the 'Devel' category.
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations. This means that you will need
to find a mirror which has this update.
In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/
is a reliable high bandwidth connection.
In Japan, ftp://ftp.u-aizu.ac.jp/pub/gnu/gnu-win32/ is already
updated.
In DK, http://mirrors.sunsite.dk/cygwin/ is usually up-to-date.
If one of the above doesn't have the latest version of this package
you can either wait for the site to be updated or find another
mirror.
Please send questions or comments to the Cygwin mailing list at:
cygwin@sources.redhat.com . If you want to subscribe go to:
http://cygwin.com/lists.html I would appreciate if you would use
this mailing list rather than emailing me directly. This includes
ideas and comments about the setup utility or Cygwin in general.
If you want to make a point or ask a question the Cygwin mailing
list is the appropriate place.
*** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message. Send
email to the address specified there. It will be in the format:
cygwin-announce-unsubscribe-YOU=YOURDOMAIN.COM@cygwin.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-02 2:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-01 19:13 [ANNOUNCEMENT] Updated: pkgconfig-0.12.0-1 perlspinr
-- strict thread matches above, loose matches on Subject: below --
2002-05-01 18:33 Charles Wilson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).