This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygport : A[CM]_CONFIG_HEADERS extraction fault


Hi Yaakov,
building librsb I hit a very unusual AC_CONFIG_HEADERS
definition where the extraction logic implemented in
/usr/share/cygport/cygclass/autotools.cygclass
is failing.

Attached file with examples
------------------------------------------------------
$ grep 'A[CM]_CONFIG_HEADERS*' configure.ac | sed -e 's!A[CM]_CONFIG_HEADERS*(\[*\(.*\))!\1!g' -e 's!\]*!!g'

config.h:config.in.h

rsb-config.h,[sed 's/^#define /#define RSB_/g;s/ RSB_RSB_/ RSB_/g' rsb-config.h > rsb-config.h.tmp ; echo '#endif /* RSB_CONFIG_H_INCLUDED */' >> rsb-config.h.tmp ; cat $srcdir/rsb_license_header.inc $srcdir/rsb-config.h.hin rsb-config.h.tmp > rsb-config.h ; rm rsb-config.h.tmp
-------------------------------------------------------

The first is from a very standard definition, the second
from the unusual one. I suppose the expected behavior is to catch only
"rsb-config.h" and not all the rest.

No clue how to solve

Regards
Marco

Attachment: configure.ac
Description: Text document

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]