invoke pkg-config with --static

2009-05-16 Thread Lorenzo Bettini
Hi when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does not select private libraries in the .pc file)? -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233)

Problems with linking multiple lex/yacc parsers into one executable

2009-05-16 Thread Hans Nieser
Hi list, I recently started using lex/yacc and I'm having some trouble figuring out how to make it possible to link two parsers into the same executable using automake. For this to work without depending on a non-portable command-line flag of flex (for specifying a symbol prefix for the

Re: invoke pkg-config with --static

2009-05-16 Thread Bob Friesenhahn
On Sat, 16 May 2009, Lorenzo Bettini wrote: when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does not select private libraries in the .pc file)? It seems that LT_INIT has been executed, the shell environment variables

Re: Problems with linking multiple lex/yacc parsers into one executable

2009-05-16 Thread Hans Nieser
On Sat, 2009-05-16 at 23:06 +0200, Hans Nieser wrote: Hi list, I recently started using lex/yacc and I'm having some trouble figuring out how to make it possible to link two parsers into the same executable using automake. ... I did some more googling and it turns out that although there

Re: invoke pkg-config with --static

2009-05-16 Thread Robert Collins
On Sat, 2009-05-16 at 19:04 -0500, Bob Friesenhahn wrote: On Sat, 16 May 2009, Lorenzo Bettini wrote: when ./configure is run with --disable-shared, is there a way to invoke the pkg-config macro with --static (so that it does not select private libraries in the .pc file)? It seems