diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-10-08 14:41:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-10-08 14:41:43 +0000 |
commit | d5a8bfde90285188640879d2791ada8976e0c12c (patch) | |
tree | f27f966e574da87eaca93d9de06a7eac95a59b69 /configure.in | |
parent | 1217102f2cd028df972170ee0c79d510b62381e7 (diff) | |
download | gdb-d5a8bfde90285188640879d2791ada8976e0c12c.zip gdb-d5a8bfde90285188640879d2791ada8976e0c12c.tar.gz gdb-d5a8bfde90285188640879d2791ada8976e0c12c.tar.bz2 |
Patches from Geoffrey Noer <noer@cygnus.com>:
* configure.in: If configuring for newlib, pass --with-newlib to
subdirectories.
* Makefile.in (CC_FOR_TARGET): If winsup/Makefile exists, pass a
-Bnewlib/ and -Lwinsup to gcc.
(CXX_FOR_TARGET): Likewise.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1ef9239..ccbb8bb 100644 --- a/configure.in +++ b/configure.in @@ -747,6 +747,14 @@ if [ x${use_gnu_ld} = x ] ; then fi fi +# If using newlib, add --with-newlib to the withoptions so that gcc/configure +# can detect this case. + +if [ x${with_newlib} != xno ] && echo " ${target_configdirs} " | grep " target-newlib " > /dev/null 2>&1 && [ -d ${srcdir}/newlib ] ; then + with_newlib=yes + withoptions="$withoptions --with-newlib" +fi + if [ x${shared} = xyes ]; then case "${target}" in hppa*) target_makefile_frag=config/mt-papic ;; |