diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2011-01-13 01:24:06 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2011-01-13 01:24:06 +0300 |
commit | 0597fe0adc39d0d2c34f70cfc9bd47c35107ebe1 (patch) | |
tree | 85118fffda192e697c848e3a5edd5020fbca90c1 /newlib/configure.host | |
parent | 7c0be7cbdbc7e7e4e2c4ed845eb77d330da0ba4e (diff) |
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.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 6e7e5b306..a71d6303f 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -46,6 +46,7 @@ # crt1_dir directory where crt1 object is found # have_crt0 "yes"/"no" if crt0 is/isn't provided. # "" if crt0 is provided when sys_dir is set +# noinclude list of include files to not install newlib_cflags= libm_machine_dir= @@ -58,6 +59,7 @@ stdio64_dir= xdr_dir= syscall_dir= unix_dir= +noinclude= mach_add_setjmp= crt1= crt1_dir= @@ -852,6 +854,11 @@ if [ "x${newlib_atexit_dynamic_alloc}" = "x" ]; then 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 have_crt0="yes" fi |