-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Braden McDaniel wrote:
| Harald Dunkel wrote:
|
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Braden McDaniel wrote:
|> |
|> | I don't fully understand the problem you're describing; but perhaps you
|> | want to do something like this:
|> |
|> | save_LDFLAGS="$LDFLAGS"
|> | LDFLAGS="$LDFLAGS -Lwhatever"
|> | AC_CHECK_LIB(...)
|> | LDFLAGS="$save_LDFLAGS"
|> |
|>
|> No, what I want to do is something like
|>
|> AC_CHECK_LIB([my], [anysym], ["-static -L/mylibs -L/plibs"], [], [])
|>
|> but this doesn't seem to be in the interface.
|
|
| It looks to me like you could accomplish the same thing with the
| solution I gave you. What's wrong with it?
|
Sorry, but it is error-prone, and it is pretty painfull
to copy-n-paste all these lines for each library test. I
thought the goal of autoconf is to make maintaining a
build system easier?
No offense.
My suggestion would be to put your wrapper into an
additional macro AC_CHECK_LIB_XTD. Give me some time
to learn m4 and I could post it here, but I guess it
would be pretty easy.
Would this be possible?
Regards
Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFBi8jEUTlbRTxpHjcRAv0yAJwPj4eH7Li6cGiMDII5+Djbimo4sQCfYsMP
LBVmOhuM9xsYoG0z9lPUpGM=
=AmGd
-----END PGP SIGNATURE-----
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf