changeset 16955:256d0d4d117a

log10f: Fix possible configuration problem. * m4/log10f.m4 (gl_FUNC_LOG10F): Augment LIBS by $LOG10F_LIBM, not $LOGF_LIBM. Reported by Carlos O'Donell <carlos_odonell@mentor.com>.
author Bruno Haible <bruno@clisp.org>
date Thu, 28 Jun 2012 22:00:38 +0200
parents f581ed195ded
children 42305131e6fb
files ChangeLog m4/log10f.m4
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-06-28  Bruno Haible  <bruno@clisp.org>
+
+	log10f: Fix possible configuration problem.
+	* m4/log10f.m4 (gl_FUNC_LOG10F): Augment LIBS by $LOG10F_LIBM, not
+	$LOGF_LIBM.
+	Reported by Carlos O'Donell <carlos_odonell@mentor.com>.
+
 2012-06-28  Bruno Haible  <bruno@clisp.org>
 
 	remove: No longer override on all platforms. Fixes bug from 2010-03-20.
--- a/m4/log10f.m4
+++ b/m4/log10f.m4
@@ -1,4 +1,4 @@
-# log10f.m4 serial 5
+# log10f.m4 serial 6
 dnl Copyright (C) 2011-2012 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -38,7 +38,7 @@
           [gl_cv_func_log10f_ieee],
           [
             save_LIBS="$LIBS"
-            LIBS="$LIBS $LOGF_LIBM"
+            LIBS="$LIBS $LOG10F_LIBM"
             AC_RUN_IFELSE(
               [AC_LANG_SOURCE([[
 #ifndef __NO_MATH_INLINES