Quoting Ralf Wildenhues <[EMAIL PROTECTED]>:

* Bob Rossi wrote on Thu, Jan 18, 2007 at 09:54:24PM CET:

Well, lets say I modified libexpat and it's now different than the one
on the system.
[...]
However, if for some reason the local expat build fails, my check to
compile a small program still works because it picks up the installed
one on the system.

So add a symbol to your modified libexpat.  Link against that symbol in
your source code.  Use -no-undefined.  Then programs will fail to link
(and on some systems, those where -no-undefined works well, also
libraries will fail to link).  Of course you've broken the API now.


Why would it break the API if he simply adds a dummy symbol to make the
difference between stock libexpat and his modified version?

--
SIGOURE Benoit aka Tsuna
  _____
 /EPITA\ Promo 2008, LRDE



_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to