Justin Erenkrantz <jus...@erenkrantz.com> writes: > > Index: build/ac-macros/neon.m4 > =================================================================== > --- build/ac-macros/neon.m4 (revision 1029788) > +++ build/ac-macros/neon.m4 (working copy) > @@ -113,7 +113,7 @@ > #include <ne_xml.h> > int main() > {ne_xml_create(); ne_decompress_destroy(NULL);}" > - AC_LINK_IFELSE([$neon_test_code], shared_linking="yes", > shared_linking="no") > + AC_LINK_IFELSE(AC_LANG_SOURCE([$neon_test_code]),
The documentation suggests another '[' is needed: AC_LINK_IFELSE([AC_LANG_SOURCE > shared_linking="yes", shared_linking="no") > if test "$shared_linking" = "no"; then > NEON_LIBS=`$PKG_CONFIG neon --libs --static` > LIBS="$LIBS $NEON_LIBS" > > But, that doesn't seem to be enough. Also tried [[ ]]s within > AC_LANG_SOURCE and no dice. > > Any idea what I'm missing? Is this some lame autoconf bug? -- justin > -- Philip