Re: [tin 1.9.x] new snapshots
Thomas Dickey <[email protected]> Sun, 18 Jan 2009 10:10:26 -0500
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jan 18, 2009 at 02:17:26PM +0100, Urs Janßen wrote: > In <[email protected]>, Dennis Preiser wrote: > > Unfortunately, it doesn't build here. The attached patch fixes this > > for me. > > configure ist autogenerated from configure.in/aclocal.m4 - the 'real' > problem seems to the the following patch: > > --- tin-1.9.4-20081230+/aclocal.m4 2008-12-30 19:24:01.000000000 +0000 > +++ tin-1.9.4-20081230b/aclocal.m4 2009-01-12 00:43:17.000000000 +0000 > @@ -886,7 +886,7 @@ > fi > if test "$cf_have_libdir" = no ; then > CF_VERBOSE(adding $cf_add_libdir to library-path) > - ifelse($2,,LDFLAGS,$2)="-L$cf_add_libdir $ifelse($2,,LDFLAGS,[$]$2)" > + ifelse($2,,LDFLAGS,$2)="-L$cf_add_libdir ifelse($2,,LDFLAGS,[$]$2)" looking closer, that's still wrong (the 3rd and 4th parameters both may need a "$", so keeping it in front of "ifelse" is the way to go). Attaching a diff which fixes the problem I see. -- Thomas E. Dickey <[email protected]> http://invisible-island.net ftp://invisible-island.net
diffs
(text/plain, 1.5 KB)
--- aclocal.m4.orig 2009-01-11 19:43:17.000000000 -0500
+++ aclocal.m4 2009-01-18 10:07:27.000000000 -0500
@@ -800,7 +800,7 @@
])dnl
dnl ---------------------------------------------------------------------------
-dnl CF_ADD_INCDIR version: 11 updated: 2009/01/11 15:34:59
+dnl CF_ADD_INCDIR version: 12 updated: 2009/01/18 10:00:47
dnl -------------
dnl Add an include-directory to $CPPFLAGS. Don't add /usr/include, since it's
dnl redundant. We don't normally need to add -I/usr/local/include for gcc,
@@ -843,7 +843,7 @@
if test "$cf_have_incdir" = no ; then
CF_VERBOSE(adding $cf_add_incdir to include-path)
- ifelse($2,,CPPFLAGS,$2)="$ifelse($2,,CPPFLAGS,[$]$2) -I$cf_add_incdir"
+ ifelse($2,,CPPFLAGS,$2)="$ifelse($2,,CPPFLAGS,$2) -I$cf_add_incdir"
cf_top_incdir=`echo $cf_add_incdir | sed -e 's%/include/.*$%/include%'`
test "$cf_top_incdir" = "$cf_add_incdir" && break
@@ -857,7 +857,7 @@
fi
])dnl
dnl ---------------------------------------------------------------------------
-dnl CF_ADD_LIBDIR version: 7 updated: 2009/01/11 15:55:55
+dnl CF_ADD_LIBDIR version: 8 updated: 2009/01/18 10:01:08
dnl -------------
dnl Adds to the library-path
dnl
@@ -886,7 +886,7 @@
fi
if test "$cf_have_libdir" = no ; then
CF_VERBOSE(adding $cf_add_libdir to library-path)
- ifelse($2,,LDFLAGS,$2)="-L$cf_add_libdir ifelse($2,,LDFLAGS,[$]$2)"
+ ifelse($2,,LDFLAGS,$2)="-L$cf_add_libdir $ifelse($2,,LDFLAGS,$2)"
fi
fi
done
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAklzRmIACgkQcCNT4PfkjtvXRACfXohxoZ69it4RXihjKcthOcRp XaQAoKOWq2AwU22Er3Y0/JsD8UGmU45y =KFaG -----END PGP SIGNATURE-----