From 46c5bddb0aaf84b30f38a539745628134d4c6929 Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Wed, 30 Apr 2003 14:09:19 +0000 Subject: [PATCH] when configuring for pure Win32 skip headers and libs in the typical cygwin /usr/include and /lib and /usr/lib directories. git-svn-id: http://root.cern.ch/svn/root/trunk@6509 27541ba8-7e3a-0410-8455-c3a389f83636 --- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configure b/configure index 98f9bb040fb..eb672e6ca6b 100755 --- a/configure +++ b/configure @@ -148,6 +148,14 @@ check_library() { fi done done + + # skip cygwin libraries when in pure Win32 mode + if test "x$platform" = "xwin32"; then + case $found_dir in + /lib|/usr/*) found_dir="no" ;; + esac + fi + echo $found_dir unset libs unset slibs @@ -222,6 +230,14 @@ check_header() { fi done done + + # skip cygwin headers when in pure Win32 mode + if test "x$platform" = "xwin32"; then + case $found_dir in + /usr/*) found_dir="no" ;; + esac + fi + echo $found_dir if test "x$found_hdr" = "xno" || test "$found_dir" = "xno" ; then -- GitLab