This is not for me, bug [EMAIL PROTECTED] I guess. Thanks.
| [posted and mailed] | Hello, [tried to post this to gmane.comp.autoconf.general earlier] | | I am trying to update a configure.ac for an existing package (Eric | Raymond's `sng' software). I have hit a brick wall with a mysterious | failure of the devel-branch autoconf on my system to deal with the use of | of a macro in the configure.ac. The configure file that is output by | autoconf simply leaves the literal verbatim text of my macro call | unexpanded. | | `pkg-config' must surely be familiar to the maintainers of autoconf | (http://www.freedesktop.org/software/pkgconfig/). So I must be in the next | few sentences covering ground that is well know and am only doing it for | thoroughness and clarity. | | The author of that tool has provided an autoconf macro to allow | interworking of his system tool with autoconf. On my system installation | the file containing this macro definition was placed in /usr/share/aclocal | and is named "pkg.m4". | | I tried using the -I /usr/share/aclocal flag to autoconf, no help. I then | got more extreme and tried `cat /usr/share/aclocal/pkg.m4 >> ./aclocal.m4' | and even that was no help. In no event did autoconf "understand" that | PKG_CHECK_MODULES(foo stuff) was an autoconf macro that it needed to | 'resolve'. I tried running autoconf in 'trace" mode with '--trace | PKG_CHECK_MODULES' and it dies complaining "No such file or directory". | Which seems an inappropriate error message and could provide a clue as to | what is going wrong. | | http://home.att.net/~perlspinr/build_platforms/cygwin/sng-Configure_in- | 01.html | | Presents the code (the configure.[in|ac]) I am working on. As to the | attempts to use conditionals that you'll see in that script, suggestions | welcome. I am having to guess at whether this can even be done and if so, | how, having not found much help available in TFM or via Google. | | TIA, | Soren Andersen |
