mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 13:54:12 +01:00
Configure: Moved check for Math lib to a dedicated M4 macro
Took the opportunity to rewrite the check using autoconf macros to generate a more compatible configure script. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
a6410d61e5
commit
f68ec6c913
@@ -477,12 +477,7 @@ dnl
|
||||
dnl libWINGS uses math functions, check whether usage requires linking
|
||||
dnl against libm
|
||||
dnl
|
||||
AC_CHECK_FUNC(atan,[mathneedslibm=no;LIBM=],[mathneedslibm=dunno])
|
||||
if test "x$mathneedslibm" = "xdunno" ; then
|
||||
AC_CHECK_LIB(m, atan, [LIBM=-lm])
|
||||
fi
|
||||
AC_SUBST(LIBM)
|
||||
|
||||
WM_CHECK_LIBM
|
||||
|
||||
dnl
|
||||
dnl libWINGS uses FcPatternDel from libfontconfig
|
||||
|
||||
Reference in New Issue
Block a user