diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-15 20:33:55 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-15 20:33:55 +0000 |
commit | 2bd17377b2ec8b464d7ac8e4a1034987f5604e4d (patch) | |
tree | b101be713129409fe69e45a4e5436995f481906a /libcpp/configure | |
parent | 0d19a5ce118b87ce8e5d7c082be3e17c4834f3c9 (diff) | |
download | ppe42-gcc-2bd17377b2ec8b464d7ac8e4a1034987f5604e4d.tar.gz ppe42-gcc-2bd17377b2ec8b464d7ac8e4a1034987f5604e4d.zip |
Add --enable-host-shared configuration option
/
* configure.ac: Add --enable-host-shared
* configure: Regenerate.
gcc/
* Makefile.in (PICFLAG): New.
(enable_host_shared): New.
(INTERNAL_CFLAGS): Use PICFLAG.
(LIBIBERTY): Use pic build of libiberty.a if configured with
--enable-host-shared.
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* configure: Regenerate.
* doc/install.texi (--enable-shared): Add note contrasting it
with...
(--enable-host-shared): New option.
libbacktrace/
* configure.ac: Add --enable-host-shared, setting up
pre-existing PIC_FLAG variable within Makefile.am et al.
* configure: Regenerate.
libcpp/
* Makefile.in (PICFLAG): New.
(ALL_CFLAGS): Add PICFLAG.
(ALL_CXXFLAGS): Likewise.
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* configure: Regenerate.
libdecnumber/
* Makefile.in (PICFLAG): New.
(ALL_CFLAGS): Add PICFLAG.
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* configure: Regenerate.
libiberty/
* configure.ac: If --enable-host-shared, use -fPIC.
* configure: Regenerate.
zlib/
* configure.ac: Add --enable-host-shared, setting up new
PICFLAG variable.
* Makefile.am: Add PICFLAG to libz_a_CFLAGS.
* Makefile.in: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203632 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/configure')
-rwxr-xr-x | libcpp/configure | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libcpp/configure b/libcpp/configure index 60ce2e569dd..782a7105ac3 100755 --- a/libcpp/configure +++ b/libcpp/configure @@ -592,6 +592,7 @@ ac_includes_default="\ #endif" ac_subst_vars='LTLIBOBJS +PICFLAG MAINT USED_CATALOGS PACKAGE @@ -701,6 +702,7 @@ with_libiconv_prefix enable_maintainer_mode enable_checking enable_canonical_system_headers +enable_host_shared ' ac_precious_vars='build_alias host_alias @@ -1340,6 +1342,7 @@ Optional Features: other strings --enable-canonical-system-headers enable or disable system headers canonicalization + --enable-host-shared build host code as shared libraries Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -7204,6 +7207,16 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext esac +# Enable --enable-host-shared. +# Check whether --enable-host-shared was given. +if test "${enable_host_shared+set}" = set; then : + enableval=$enable_host_shared; PICFLAG=-fPIC +else + PICFLAG= +fi + + + # Output. ac_config_headers="$ac_config_headers config.h:config.in" |