2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add noinclude variable to allow specification of header files to remove from installation. * acinclude.m4: Provide NO_INCLUDE_LIST variable based on noinclude variable in configure.host. * configure: Regenerated. * Makefile.am: Remove all header files in NO_INCLUDE_LIST. * Makefile.in: Regenerated.
This commit is contained in:
parent
7c0be7cbdb
commit
0597fe0adc
|
@ -1,3 +1,13 @@
|
||||||
|
2011-01-12 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* configure.host: Add noinclude variable to allow specification
|
||||||
|
of header files to remove from installation.
|
||||||
|
* acinclude.m4: Provide NO_INCLUDE_LIST variable based on
|
||||||
|
noinclude variable in configure.host.
|
||||||
|
* configure: Regenerated.
|
||||||
|
* Makefile.am: Remove all header files in NO_INCLUDE_LIST.
|
||||||
|
* Makefile.in: Regenerated.
|
||||||
|
|
||||||
2011-01-12 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
2011-01-12 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
|
||||||
|
|
||||||
* libc/include/linux/sys/signal.h (sig_t): Move from here...
|
* libc/include/linux/sys/signal.h (sig_t): Move from here...
|
||||||
|
|
|
@ -330,6 +330,11 @@ endif
|
||||||
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
||||||
else true; fi ; \
|
else true; fi ; \
|
||||||
done ; \
|
done ; \
|
||||||
|
for i in $(NO_INCLUDE_LIST); do \
|
||||||
|
if [ -f $(DESTDIR)$(tooldir)/include/$$i]; then \
|
||||||
|
-rm $(DESTDIR)$(tooldir)/include/$$i; \
|
||||||
|
else true; fi ; \
|
||||||
|
done ; \
|
||||||
else true; fi
|
else true; fi
|
||||||
|
|
||||||
# Force makedoc to be built before building info files.
|
# Force makedoc to be built before building info files.
|
||||||
|
|
|
@ -198,6 +198,7 @@ MKDIR_P = @MKDIR_P@
|
||||||
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
||||||
NM = @NM@
|
NM = @NM@
|
||||||
NMEDIT = @NMEDIT@
|
NMEDIT = @NMEDIT@
|
||||||
|
NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
|
||||||
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
||||||
OBJEXT = @OBJEXT@
|
OBJEXT = @OBJEXT@
|
||||||
OTOOL = @OTOOL@
|
OTOOL = @OTOOL@
|
||||||
|
@ -1036,6 +1037,11 @@ install-data-local: install-toollibLIBRARIES
|
||||||
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
||||||
else true; fi ; \
|
else true; fi ; \
|
||||||
done ; \
|
done ; \
|
||||||
|
for i in $(NO_INCLUDE_LIST); do \
|
||||||
|
if [ -f $(DESTDIR)$(tooldir)/include/$$i]; then \
|
||||||
|
-rm $(DESTDIR)$(tooldir)/include/$$i; \
|
||||||
|
else true; fi ; \
|
||||||
|
done ; \
|
||||||
else true; fi
|
else true; fi
|
||||||
|
|
||||||
# Force makedoc to be built before building info files.
|
# Force makedoc to be built before building info files.
|
||||||
|
|
|
@ -205,6 +205,9 @@ newlib_cflags="[$]{newlib_cflags} -fno-builtin"
|
||||||
NEWLIB_CFLAGS=${newlib_cflags}
|
NEWLIB_CFLAGS=${newlib_cflags}
|
||||||
AC_SUBST(NEWLIB_CFLAGS)
|
AC_SUBST(NEWLIB_CFLAGS)
|
||||||
|
|
||||||
|
NO_INCLUDE_LIST=${noinclude}
|
||||||
|
AC_SUBST(NO_INCLUDE_LIST)
|
||||||
|
|
||||||
LDFLAGS=${ldflags}
|
LDFLAGS=${ldflags}
|
||||||
AC_SUBST(LDFLAGS)
|
AC_SUBST(LDFLAGS)
|
||||||
|
|
||||||
|
|
|
@ -672,6 +672,7 @@ ELIX_LEVEL_1_TRUE
|
||||||
ELIX_LEVEL_0_FALSE
|
ELIX_LEVEL_0_FALSE
|
||||||
ELIX_LEVEL_0_TRUE
|
ELIX_LEVEL_0_TRUE
|
||||||
LDFLAGS
|
LDFLAGS
|
||||||
|
NO_INCLUDE_LIST
|
||||||
NEWLIB_CFLAGS
|
NEWLIB_CFLAGS
|
||||||
CCASFLAGS
|
CCASFLAGS
|
||||||
CCAS
|
CCAS
|
||||||
|
@ -3838,6 +3839,9 @@ newlib_cflags="${newlib_cflags} -fno-builtin"
|
||||||
NEWLIB_CFLAGS=${newlib_cflags}
|
NEWLIB_CFLAGS=${newlib_cflags}
|
||||||
|
|
||||||
|
|
||||||
|
NO_INCLUDE_LIST=${noinclude}
|
||||||
|
|
||||||
|
|
||||||
LDFLAGS=${ldflags}
|
LDFLAGS=${ldflags}
|
||||||
|
|
||||||
|
|
||||||
|
@ -11631,7 +11635,7 @@ else
|
||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11634 "configure"
|
#line 11638 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
@ -11737,7 +11741,7 @@ else
|
||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<_LT_EOF
|
cat > conftest.$ac_ext <<_LT_EOF
|
||||||
#line 11740 "configure"
|
#line 11744 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
# crt1_dir directory where crt1 object is found
|
# crt1_dir directory where crt1 object is found
|
||||||
# have_crt0 "yes"/"no" if crt0 is/isn't provided.
|
# have_crt0 "yes"/"no" if crt0 is/isn't provided.
|
||||||
# "" if crt0 is provided when sys_dir is set
|
# "" if crt0 is provided when sys_dir is set
|
||||||
|
# noinclude list of include files to not install
|
||||||
|
|
||||||
newlib_cflags=
|
newlib_cflags=
|
||||||
libm_machine_dir=
|
libm_machine_dir=
|
||||||
|
@ -58,6 +59,7 @@ stdio64_dir=
|
||||||
xdr_dir=
|
xdr_dir=
|
||||||
syscall_dir=
|
syscall_dir=
|
||||||
unix_dir=
|
unix_dir=
|
||||||
|
noinclude=
|
||||||
mach_add_setjmp=
|
mach_add_setjmp=
|
||||||
crt1=
|
crt1=
|
||||||
crt1_dir=
|
crt1_dir=
|
||||||
|
@ -852,6 +854,11 @@ if [ "x${newlib_atexit_dynamic_alloc}" = "x" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove rpc headers if xdr_dir not specified
|
||||||
|
if [ "x${xdir_dir}" = "x" ]; then
|
||||||
|
noinclude="${noinclude} rpc/types.h rpc/xdr.h"
|
||||||
|
fi
|
||||||
|
|
||||||
if test -z "${have_crt0}" && test -n "${sys_dir}"; then
|
if test -z "${have_crt0}" && test -n "${sys_dir}"; then
|
||||||
have_crt0="yes"
|
have_crt0="yes"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue