bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Re: configure failure


From: Simon Josefsson
Subject: [bug-inetutils] Re: configure failure
Date: Thu, 30 Apr 2009 14:27:51 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.92 (gnu/linux)

"Alfred M. Szmidt" <address@hidden> writes:

>    cvsco
>    ./bootstrap --gnulib-srcdir=../gnulib
>    ./configure
>
>    and got:
>
>    checking for sa_family_t... yes
>    checking for cc_t... yes
>    checking for long long... yes
>    checking for long double... yes
>    checking for struct sockaddr_in.sin_len... no
>    ./configure: line 23461: syntax error near unexpected token `}'
>    ./configure: line 23461: `$as_echo_n "checking for struct utmp.ut_pid... " 
> >&6; }'
>
> Works for me.
>
> address@hidden:~/s/inetutils-plain$ (cd ../gnulib;git pull);cvs up 
> -PAd;cvsco;./bootstrap --gnulib-srcdir=../gnulib;./configure
> [...]
> checking for long double... yes
> checking for struct sockaddr_in.sin_len... no
> checking for struct lastlog... yes
> [...]
> config.status: executing depfiles commands
> address@hidden:~/s/inetutils-plain$ 

Interesting.  I suspect modern autoconf/m4 doesn't insert as much
whitespace, for me the line reads:

fi{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utmp.ut_pid" >&5

With the patch below, the lines are changed to:

fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct utmp.ut_pid" >&5

Ok to commit?

I'm using m4 1.4.13, autoconf 2.63b, and automake 1.10b.

/Simon

2009-04-30  Simon Josefsson  <address@hidden>

        * acinclude.m4: Avoid comment to fix script.

Index: acinclude.m4
===================================================================
RCS file: /sources/inetutils/inetutils/acinclude.m4,v
retrieving revision 1.21
diff -u -p -u -w -r1.21 acinclude.m4
--- acinclude.m4        14 Apr 2008 20:13:02 -0000      1.21
+++ acinclude.m4        30 Apr 2009 12:26:33 -0000
@@ -1,6 +1,6 @@
 dnl Autoconf macros used by inetutils
 dnl
-dnl Copyright (C) 1996, 1997, 1998, 2002, 2004, 2005, 2007 Free Software 
Foundation, Inc.
+dnl Copyright (C) 1996, 1997, 1998, 2002, 2004, 2005, 2007, 2009 Free Software 
Foundation, Inc.
 dnl
 dnl Mostly written by Miles Bader <address@hidden>
 dnl
@@ -577,7 +577,7 @@ if (sizeof(ac_aggr.m4_bpatsubst([$1], [^
 return 0;])],
                 [AS_VAR_SET(ac_Member, yes)],
                 [AS_VAR_SET(ac_Member, no)])])
-AS_IF([test AS_VAR_GET(ac_Member) = yes], [$2], [$3])dnl
+AS_IF([test AS_VAR_GET(ac_Member) = yes], [$2], [$3])
 AS_VAR_POPDEF([ac_Member])dnl
 ])dnl IU_CHECK_MEMBER
 




reply via email to

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