From 973019654b1ce37661e3587467e6f2dd7ebc19bb Mon Sep 17 00:00:00 2001 From: trawick Date: Tue, 14 Aug 2012 12:20:54 +0000 Subject: 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 --- configure.in | 19 +++++++++++++------ 1 file 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) -- cgit v1.2.1