diff options
Diffstat (limited to 'gl/m4/floorf.m4')
-rw-r--r-- | gl/m4/floorf.m4 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gl/m4/floorf.m4 b/gl/m4/floorf.m4 index 915e566..fb17a5e 100644 --- a/gl/m4/floorf.m4 +++ b/gl/m4/floorf.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # floorf.m4 serial 4 | 1 | # floorf.m4 serial 6 |
2 | dnl Copyright (C) 2007, 2009 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -20,13 +20,12 @@ AC_DEFUN([gl_FUNC_FLOORF], | |||
20 | REPLACE_FLOORF=1 | 20 | REPLACE_FLOORF=1 |
21 | fi | 21 | fi |
22 | else | 22 | else |
23 | REPLACE_FLOORF=1 | 23 | HAVE_DECL_FLOORF=0 |
24 | fi | 24 | fi |
25 | if test $REPLACE_FLOORF = 1; then | 25 | if test $HAVE_DECL_FLOORF = 0 || test $REPLACE_FLOORF = 1; then |
26 | AC_LIBOBJ([floorf]) | 26 | AC_LIBOBJ([floorf]) |
27 | FLOORF_LIBM= | 27 | FLOORF_LIBM= |
28 | fi | 28 | fi |
29 | AC_SUBST([REPLACE_FLOORF]) | ||
30 | AC_SUBST([FLOORF_LIBM]) | 29 | AC_SUBST([FLOORF_LIBM]) |
31 | ]) | 30 | ]) |
32 | 31 | ||