Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 6bf589905979a347245431fa71769861 > files > 4

xmorph-20060817-18.mga9.src.rpm

diff --git a/configure.ac b/configure.ac
index 93bd47a..08786d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ AC_TYPE_SIZE_T
 # Checks for library functions.
 dnl AC_FUNC_REALLOC
 AC_FUNC_STAT
-LDFLAGS='-lm'
+AC_CHECK_LIB([m],[sqrt])
 AC_CHECK_FUNCS([atexit floor getcwd memmove memset sqrt strdup strerror strrchr])