bug-gnulib
[Top][All Lists]
Advanced

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

Re: libposix


From: Bruce Korb
Subject: Re: libposix
Date: Tue, 5 Oct 2010 07:29:22 -0700

Hi Bruno,

On Mon, Oct 4, 2010 at 6:31 PM, Bruno Haible <address@hidden> wrote:
>> Obviously, I can parse this output, but if it presumes a human reader,
>> someone could change the output in unpredictable ways.

> Actually, this should be the default when --libtool was specified.

OK, so the current gnulib now produces:

> libposix_la_LDFLAGS = $(AM_LDFLAGS)
> libposix_la_LDFLAGS += -no-undefined
> libposix_la_LDFLAGS += $(ACOSL_LIBM)
> libposix_la_LDFLAGS += $(ACOS_LIBM)
> libposix_la_LDFLAGS += $(ASINL_LIBM)
> [.....]

eliminating the need to add "-no-undefined" myself and also
eliminating the need for adding this to the end:

> libposix_la_LIBADD += \
>     $(ACOSL_LIBM)        $(ACOS_LIBM)         $(ASINL_LIBM) \
>     $(ASIN_LIBM)         $(ATAN2_LIBM)        $(ATANL_LIBM) \
>     $(ATAN_LIBM)         $(CBRT_LIBM)         $(CEILF_LIBM) \
> [...]

since adding this $(xxx_LIBM) stuff will work as well as part
of either LIBADD or LDFLAGS.  Thank you.

Still, the problem is the empty string replacement of @NEXT_STDDEF_H@
yielding this complaint during "make distcheck" (plain "make" works):

make  all-recursive
make[4]: Entering directory
`/usr/local/src/gnulib/libposix/libposix/libposix-2010.10.05/_build/libposix'
make[5]: Entering directory
`/usr/local/src/gnulib/libposix/libposix/libposix-2010.10.05/_build/libposix'
depbase=`echo areadlink.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../libposix -I..  -DGNULIB_STRICT_CHECKING=1
 -g -O2 -MT areadlink.lo -MD -MP -MF "$depbase.Tpo" -c -o areadlink.lo
../../libposix/areadlink.c; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f
"$depbase.Tpo"; exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../libposix -I..
-DGNULIB_STRICT_CHECKING=1 -g -O2 -MT areadlink.lo -MD -MP -MF
.deps/areadlink.Tpo -c ../../libposix/areadlink.c  -fPIC -DPIC -o
.libs/areadlink.o
In file included from ../../libposix/areadlink.h:21,
                 from ../../libposix/areadlink.c:25:
../../libposix/stddef.h:57:17: error: #include_next expects "FILENAME"
or <FILENAME>
In file included from ../../libposix/areadlink.c:25:
../../libposix/areadlink.h:24: error: expected declaration specifiers
or '...' before 'size_t'

Attachment: mk-libposix.sh
Description: Bourne shell script


reply via email to

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