From e0ddd39ffb91fcdf58c826bf2682eb018b585cfe Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Tue, 30 May 2006 21:56:04 +0000 Subject: [PATCH] 2006-05-30 Ralf Wildenhues * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting. --- ChangeLog | 4 ++++ m4/gettimeofday.m4 | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d732ef1..0a1e38c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-05-30 Ralf Wildenhues + + * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting. + 2006-05-20 Bruno Haible * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other diff --git a/m4/gettimeofday.m4 b/m4/gettimeofday.m4 index 73ecf9c..b291b82 100644 --- a/m4/gettimeofday.m4 +++ b/m4/gettimeofday.m4 @@ -1,5 +1,5 @@ dnl -*- Autoconf -*- -dnl Copyright (C) 1993-2003 Free Software Foundation, Inc. +dnl Copyright (C) 1993-2003, 2006 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program @@ -22,7 +22,7 @@ CL_PROTO_TRY([ ], [int gettimeofday (struct timeval * tp, struct timezone * tzp);], [int gettimeofday();], cl_cv_proto_gettimeofday_dots=no -cl_cv_proto_gettimeofday_arg2="struct timezone *", +cl_cv_proto_gettimeofday_arg2="struct timezone *", [ CL_PROTO_TRY([ #include #include @@ -31,7 +31,7 @@ CL_PROTO_TRY([ cl_cv_proto_gettimeofday_dots=no cl_cv_proto_gettimeofday_arg2="void *", cl_cv_proto_gettimeofday_dots=yes -cl_cv_proto_gettimeofday_arg2="...")) +cl_cv_proto_gettimeofday_arg2="...")]) ], [extern int gettimeofday (struct timeval *, $cl_cv_proto_gettimeofday_arg2);]) if test $cl_cv_proto_gettimeofday_dots = yes; then AC_DEFINE(GETTIMEOFDAY_DOTS,,[declaration of gettimeofday() needs dots])