[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glob-libc.h not installed
From: |
Bruce Korb |
Subject: |
Re: glob-libc.h not installed |
Date: |
Mon, 09 May 2011 09:19:54 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 |
On 05/08/11 15:24, Reuben Thomas wrote:
Still missing a header:
...
In file included from lposix.c:25:0:
/usr/local/include/libposix/glob.h:381:23: fatal error: glob-libc.h:
No such file or directory
The derived file "glob.h" unconditionally sources "glob-libc.h".
Therefore, whenever "glob.h" gets used, this file must be handled.
The make file fragment does not ensure this:
nodist_pkginclude_HEADERS += $(GLOB_H)
EXTRA_HEADERS += glob.h
BUILT_SOURCES += $(GLOB_H)
# We need the following in order to create <glob.h> when the system
# doesn't have one that works with the given compiler.
if GL_GENERATE_GLOB_H
glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
$(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)rm -f address@hidden $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
< $(srcdir)/glob.in.h; \
} > address@hidden && \
mv -f address@hidden $@
else
glob.h: $(top_builddir)/config.status
rm -f $@
endif
MOSTLYCLEANFILES += glob.h glob.h-t
"glob-libc.h" needs to be distributed (which I believe is accomplished
by inclusion in the "Files:" file list) and needs to be installed IFF
"GL_GENERATE_GLOB_H" is true. Perhaps by adding:
pkginclude_HEADERS += glob-libc.h
right after the "if GL_GENERATE_GLOB_H" line?
- Todo for libposix branch?, Reuben Thomas, 2011/05/03
- Re: Todo for libposix branch?, Bruce Korb, 2011/05/03
- Re: Todo for libposix branch?, Gary V. Vaughan, 2011/05/04
- Re: Todo for libposix branch?, Reuben Thomas, 2011/05/04
- Re: glob-libc.h not installed, Bruce Korb, 2011/05/04
- Re: glob-libc.h not installed, Reuben Thomas, 2011/05/04
- Re: glob-libc.h not installed, Reuben Thomas, 2011/05/08
- Re: glob-libc.h not installed,
Bruce Korb <=
- Re: glob-libc.h not installed, Reuben Thomas, 2011/05/25
- Re: glob-libc.h not installed, Bruce Korb, 2011/05/25
Re: Todo for libposix branch?, Bruno Haible, 2011/05/03
Re: Todo for libposix branch?, Bruno Haible, 2011/05/29