autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix m4 underquoting


From: Ralf Wildenhues
Subject: fix m4 underquoting
Date: Tue, 30 May 2006 23:12:27 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hello CLN authors,  :-)

Please apply this patch to fix some underquoted Autoconf macro.

Cheers,
Ralf

        * m4/gettimeofday.m4 (CL_GETTIMEOFDAY): Fix M4 quoting.

Index: m4/gettimeofday.m4
===================================================================
RCS file: /home/cvs/cln/m4/gettimeofday.m4,v
retrieving revision 1.1
diff -u -r1.1 gettimeofday.m4
--- m4/gettimeofday.m4  29 Aug 2005 13:18:40 -0000      1.1
+++ m4/gettimeofday.m4  30 May 2006 21:07:09 -0000
@@ -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 @@
 ], [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 <sys/types.h>
 #include <sys/time.h>
@@ -31,7 +31,7 @@
 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])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]