Use autoconf instead of cpp for LIB_MATH.
authorDan Nicolaescu <dann@ics.uci.edu>
Mon, 26 Apr 2010 17:10:09 +0000 (10:10 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Mon, 26 Apr 2010 17:10:09 +0000 (10:10 -0700)
commit9452ded1310f9d725ef318038ceab4737b7b92d9
tree0fb31292dab6f316629b4570c3e374d3f1c39de9
parentfcebfc6a34b6b21435fdbe7e68269de6088d55c2
Use autoconf instead of cpp for LIB_MATH.
* s/darwin.h (LIB_MATH): Do not define here, move to configure.
* s/cygwin.h (LIB_MATH): Likewise.
* Makefile.in (LIB_MATH): Do not define with cpp.
(LIBES): Use autoconf for LIB_MATH.

* configure.in (LIB_MATH): New output variable.  Set it for some systems.
configure
configure.in
src/ChangeLog
src/Makefile.in
src/s/cygwin.h
src/s/darwin.h