eglib: Fix hardcoded library dependencies for Haiku
authorAndreas Färber <afaerber@mono-cvs.ximian.com>
Sat, 10 Apr 2010 14:30:21 +0000 (14:30 -0000)
committerAndreas Färber <afaerber@mono-cvs.ximian.com>
Sat, 10 Apr 2010 14:30:21 +0000 (14:30 -0000)
commit14e85956f56f9329e5a274ffdb3d829ecaca043c
tree4c82e4e98b96ba9292e3da5db9fb0be34e413790
parent8439d5d2ae8beb858ee76de3a77db44a063ed990
eglib: Fix hardcoded library dependencies for Haiku

  Math is beautiful
  A universal language
  Libraries differ
                    -- Andreas F.

Haiku neither has libm nor libdl. On Mac OS X, libm.dylib is just a symlink
to libSystem.dylib.

Introduce autoconf checks for these libraries.

* configure.ac: Add checks for libm and libdl.
* {src,test}/Makefile.am: Remove hardcoded library dependencies.
Fixes compilation on Haiku.

v1 -> v2:
* Add checks for libm and libdl.

This commit is licensed under the MIT X11 license;
the Haiku poem is licensed under the CC Attribution 3.0 license.

svn path=/trunk/mono/; revision=155195
eglib/ChangeLog
eglib/configure.ac
eglib/src/Makefile.am
eglib/test/Makefile.am