Re: how to add a library if it exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andrew Makhorin on 11/6/2006 5:39 AM:
> 
> I need to include a check in configure.am to see if libgmp.a (the GNU
> bignum library) exists. And if it exists, the configure script has to
> do the following:
> 
> 1) change one line in some header file (by sed, for example);
> 
> 2) add the option '-lgmp' in makefiles, where binaries are compiled.

You may be interested in seeing how CVS head of M4 checks for, and uses,
- -lgmp:
http://cvs.savannah.gnu.org/viewcvs/m4/ltdl/m4/gmp.m4?rev=1.2&root=m4&view=auto

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFUAfj84KuGfSFAYARAkCoAJ4k42H2jSgNv3atxIMUjavyK5IP3gCgwH2z
QEIDewJxB/1Kfv67TIeJeR0=
=5soh
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux