-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bruno Haible wrote: | Sam Steingold wrote: |> some packages (e.g., GNU libffcall) install multiple libraries, so |> AC_LIB_LINKFLAGS_BODY is insufficient for detecting them. |> this patch splits AC_LIB_LINKFLAGS_BODY into two parts: for adding a |> -with-libname-prefix command line switch and for searching for |> libraries. | | This patch is not complete: lib-link.m4 has 3 entry points | AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS, AC_LIB_LINKFLAGS_BODY, and | your patch splits only one of the three. | | Actually I don't want to split these three macros, because the user | should | have to write a single macro call, not two. Also, I don't want to add | an extra 'package' argument to the macros, because it would complicate | the calling conventions of the macros for a rare usecase. | | Instead, I'm adding a separate macro AC_LIB_FROMPACKAGE, with which | you can declare which library comes from which package. Like this: | | AC_LIB_FROMPACKAGE(avcall, ffcall) | AC_LIB_FROMPACKAGE(vacall, ffcall) | AC_LIB_LINKFLAGS(avcall) | AC_LIB_LINKFLAGS(vacall)
does this create two new options - --with-libavcall-prefix and - --with-libvacall-prefix instead of one option - --with-libffcall-prefix as in my patch? | *** m4/lib-link.m4.orig 2008-03-12 05:46:15.000000000 +0100 | --- m4/lib-link.m4 2008-03-12 05:44:50.000000000 +0100 | *************** | *** 1,4 **** | ! # lib-link.m4 serial 14 (gettext-0.18) please add "# -*- Autoconf -*-" here. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH19vzPp1Qsf2qnMcRAlAjAKCTV1ANwekKFbsm5AEju5S79xqNrQCePOpc yn4vtF3GTlguDizeYaq+Fys= =7p5c -----END PGP SIGNATURE-----
