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
AC_CONFIG_HEADERS([config.h:config.in.h])
AC_CONFIG_HEADERS([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])
--
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