libtool-patches
[Top][All Lists]
Advanced

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

Re: ltdl.c ifdefs


From: Bob Friesenhahn
Subject: Re: ltdl.c ifdefs
Date: Wed, 7 Apr 2004 13:42:02 -0500 (CDT)

On Wed, 7 Apr 2004, Gary V. Vaughan wrote:

> | The oodles of warnings issued while compiling ltdl.c causes the
> | package I maintain to appear of much lower quality than it actually
> | is.
>
> Maybe a new header for non gcc generated by configure (untested):

There is a complex technical solution available to solve every simple
problem.

The tree that does not bend in a high wind, breaks instead.

Bob

> AC_CONFIG_COMMANDS([libltdl/lt__gcc.h],
> [for lt_symbol in `$SED -e '/^#undef [A-Z_]*$/ {
> ~         s,^#undef \([A-Z_]*\)$,\1,;p;
> ~      }; d' $top_srcdir/config-h.in`
> do
> ~  echo "#ifndef $lt_symbol"
> ~  echo "#  define $lt_symbol 0"
> ~  echo "#endif"
> done > libltdl/lt__gcc.h
> ])
>
> and then #include "lt__gcc.h" at the top of lt__private.h?
>
> Cheers,
>       Gary.
> - --
> Gary V. Vaughan      ())_.  address@hidden,gnu.org}
> Research Scientist   ( '/   http://tkd.kicks-ass.net
> GNU Hacker           / )=   http://www.gnu.org/software/libtool
> Technical Author   `(_~)_   http://sources.redhat.com/autobook
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFAdDNdFRMICSmD1gYRAgFEAKC2UKbZfowxMAwaPGBAEag3KNv2AACfSBR+
> axBvcDhYnKZzmM0ZuV5S4+Q=
> =4sUF
> -----END PGP SIGNATURE-----
>

======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen





reply via email to

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