diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2012-08-14 12:20:54 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2012-08-14 12:20:54 +0000 |
commit | 973019654b1ce37661e3587467e6f2dd7ebc19bb (patch) | |
tree | 77f33abe33af4a2cef4bafa2688c79a92040ab92 | |
parent | 6b4efb0122ffc04014f27b1bb0f7863f909503cf (diff) | |
download | libapr-util-973019654b1ce37661e3587467e6f2dd7ebc19bb.tar.gz |
Merge r1372849 from apr trunk:
Resolve these warnings when linking test programs with the MinGW/MSYS toolchain:
libtool: link: warning: `-no-install' is ignored for i686-pc-mingw32
libtool: link: warning: assuming `-no-fast-install' instead
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/branches/1.5.x@1372855 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | configure.in | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/configure.in b/configure.in index d7f0faaf..30028102 100644 --- a/configure.in +++ b/configure.in @@ -42,13 +42,20 @@ AC_CANONICAL_SYSTEM AC_PROG_INSTALL -# Use -no-install to link the test programs on all platforms -# but Darwin, where it would cause the programs to be linked -# against installed versions of libapr instead of those just -# built. +# Use -no-install or -no-fast-install to link the test +# programs on all platforms but Darwin, where it would cause +# the programs to be linked against installed versions of +# libapr instead of those just built. case $host in -*-apple-darwin*) LT_NO_INSTALL="" ;; -*) LT_NO_INSTALL="-no-install" ;; + *-apple-darwin*) + LT_NO_INSTALL="" + ;; + *-mingw*) + LT_NO_INSTALL="-no-fast-install" + ;; + *) + LT_NO_INSTALL="-no-install" + ;; esac AC_SUBST(LT_NO_INSTALL) |