This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Plugin support for FreeBSD and OS X


"Nicholas \"Indy\" Ray" <arelius@gmail.com> writes:

> Indeed, I've sent in a small patch for a warning I got on FreeBSD,
> however I'm not sure how to get autoconf to check the host system,
> I'll examine other locations in the code and see if I can't cobble a
> patch together.

When possible, a configure script should test for features, not
operating systems.  So, for example, the goal would be not to check
for FreeBSD, but rather to check for the availability of -ldl, which
is typically done using AC_CHECK_LIB.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]