summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--m4/perror.m421
2 files changed, 18 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index cb0385fa6a..5e37e704f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-10-22 Bruno Haible <bruno@clisp.org>
+ perror: Fix indentation.
+ * m4/perror.m4 (gl_FUNC_PERROR): Fix indentation.
+
+2011-10-22 Bruno Haible <bruno@clisp.org>
+
isfinite, isinf, isnan, signbit: Don't define as a macro in C++.
* lib/math.in.h (_GL_MATH_CXX_REAL_FLOATING_DECL_1,
_GL_MATH_CXX_REAL_FLOATING_DECL_2): nEW MACROS.
diff --git a/m4/perror.m4 b/m4/perror.m4
index 8c28d44b32..6a2d9b2423 100644
--- a/m4/perror.m4
+++ b/m4/perror.m4
@@ -1,4 +1,4 @@
-# perror.m4 serial 4
+# perror.m4 serial 5
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -46,12 +46,17 @@ AC_DEFUN([gl_FUNC_PERROR],
rm -rf conftest.txt1 conftest.txt2],
[gl_cv_func_perror_works=no],
[dnl Guess no when cross-compiling.
- gl_cv_func_perror_works="guessing no"])])
- if test "$gl_cv_func_perror_works" != yes; then
- REPLACE_PERROR=1
- fi ;;
- *) dnl The system's perror() probably inherits the bugs in the
- dnl system's strerror_r(). Replace it.
- REPLACE_PERROR=1 ;;
+ gl_cv_func_perror_works="guessing no"
+ ])
+ ])
+ if test "$gl_cv_func_perror_works" != yes; then
+ REPLACE_PERROR=1
+ fi
+ ;;
+ *)
+ dnl The system's perror() probably inherits the bugs in the
+ dnl system's strerror_r(). Replace it.
+ REPLACE_PERROR=1
+ ;;
esac
])