On Sep 1, 2000, Patrick Tullmann <[EMAIL PROTECTED]> wrote:
> I think something isn't quite right in the shared-library detection
> code in configure. (Quite possible when cross-compiling to the
> OSKit.) But, this patch at least lets my build complete...
> Any objections?
I think the right fix is to arrange for all references to shlib_ext to
be enclosed in #ifdef LTDL_SHLIB_EXT/#endif.
> --- kaffe/libltdl/ltdl.c Tue Feb 15 16:18:09 2000
> +++ /home/tullmann/janos/src/kaffe/libltdl/ltdl.c Wed Feb 23 15:57:22 2000
> @@ -114,6 +114,8 @@
> static const char objdir[] = LTDL_OBJDIR;
> #ifdef LTDL_SHLIB_EXT
> static const char shlib_ext[] = LTDL_SHLIB_EXT;
> +#else
> +static const char shlib_ext[] = "";
> #endif
> #ifdef LTDL_SYSSEARCHPATH
> static const char sys_search_path[] = LTDL_SYSSEARCHPATH;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me