diff options
author | Nick Clifton <nickc@redhat.com> | 2017-01-23 15:57:59 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-01-23 15:57:59 +0000 |
commit | 93df7317eebbd081e8025545233ca3220bbd23d3 (patch) | |
tree | b15a04faea7e4302bb8ae519f2d50dfa7a2e6b96 /zlib/configure.ac | |
parent | 33eaf5de31b248f84ae108cf0cf4e1664db9ee51 (diff) | |
download | gdb-93df7317eebbd081e8025545233ca3220bbd23d3.zip gdb-93df7317eebbd081e8025545233ca3220bbd23d3.tar.gz gdb-93df7317eebbd081e8025545233ca3220bbd23d3.tar.bz2 |
Restore ability to build zlib in a srcdir == builddir configuration.
* configure.ac: Restore old behaviour of only enabling multilibs
when a target subdirectory is defined. This allows building with
srcdir == builddir.
* configure: Regenerate.
Diffstat (limited to 'zlib/configure.ac')
-rw-r--r-- | zlib/configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zlib/configure.ac b/zlib/configure.ac index fb8d943..57d6fa5 100644 --- a/zlib/configure.ac +++ b/zlib/configure.ac @@ -4,7 +4,9 @@ AC_PREREQ(2.64) AC_INIT AC_CONFIG_SRCDIR([zlib.h]) -AM_ENABLE_MULTILIB(, ..) +if test -n "${with_target_subdir}"; then + AM_ENABLE_MULTILIB(, ..) +fi AC_CANONICAL_SYSTEM |