Browse Source

2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

* m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
master
Richard Kreckel 19 years ago
parent
commit
e0ddd39ffb
  1. 4
      ChangeLog
  2. 6
      m4/gettimeofday.m4

4
ChangeLog

@ -1,3 +1,7 @@
2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.
2006-05-20 Bruno Haible <bruno@clisp.org> 2006-05-20 Bruno Haible <bruno@clisp.org>
* src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other * src/base/random/cl_random_from.cc: Treat FreeBSD, NetBSD like other

6
m4/gettimeofday.m4

@ -1,5 +1,5 @@
dnl -*- Autoconf -*- 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 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 General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program 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 (struct timeval * tp, struct timezone * tzp);],
[int gettimeofday();], [int gettimeofday();],
cl_cv_proto_gettimeofday_dots=no cl_cv_proto_gettimeofday_dots=no
cl_cv_proto_gettimeofday_arg2="struct timezone *",
cl_cv_proto_gettimeofday_arg2="struct timezone *", [
CL_PROTO_TRY([ CL_PROTO_TRY([
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
@ -31,7 +31,7 @@ CL_PROTO_TRY([
cl_cv_proto_gettimeofday_dots=no cl_cv_proto_gettimeofday_dots=no
cl_cv_proto_gettimeofday_arg2="void *", cl_cv_proto_gettimeofday_arg2="void *",
cl_cv_proto_gettimeofday_dots=yes 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);]) ], [extern int gettimeofday (struct timeval *, $cl_cv_proto_gettimeofday_arg2);])
if test $cl_cv_proto_gettimeofday_dots = yes; then if test $cl_cv_proto_gettimeofday_dots = yes; then
AC_DEFINE(GETTIMEOFDAY_DOTS,,[declaration of gettimeofday() needs dots]) AC_DEFINE(GETTIMEOFDAY_DOTS,,[declaration of gettimeofday() needs dots])

Loading…
Cancel
Save