From 599b0b73c5624398fef6646e28fb1d3834dac81a Mon Sep 17 00:00:00 2001
From: Kirill Smelkov <kirr@landau.phys.spbu.ru>
Date: Mon, 15 Dec 2003 21:06:55 +0000
Subject: [PATCH] Added mfc/Include and mfc/src as possible places for includes
 and the library.

---
 tools/winemaker | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 16c36ce3dd8..650b996177f 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -2917,7 +2917,7 @@ then
   then
     MFC_INCLUDE_ROOT=":$WINE_INCLUDE_ROOT/mfc:/usr/include/mfc:/usr/local/include/mfc:/opt/mfc/include/mfc:/opt/mfc/include"
   else
-    MFC_INCLUDE_ROOT="$MFC_INCLUDE_ROOT:$MFC_INCLUDE_ROOT/mfc:$MFC_INCLUDE_ROOT/mfc/include"
+    MFC_INCLUDE_ROOT="$MFC_INCLUDE_ROOT:$MFC_INCLUDE_ROOT/mfc:$MFC_INCLUDE_ROOT/mfc/include:$MFC_INCLUDE_ROOT/Include"
   fi
   AC_PATH_HEADER(MFC_INCLUDE_ROOT,afx.h,[
     AC_MSG_ERROR([Could not find the MFC includes])
@@ -2932,7 +2932,7 @@ then
   then
     MFC_LIBRARY_ROOT=":$WINE_LIBRARY_ROOT:/usr/lib/mfc:/usr/local/lib:/usr/local/lib/mfc:/opt/mfc/lib";
   else
-    MFC_LIBRARY_ROOT="$MFC_LIBRARY_ROOT:$MFC_LIBRARY_ROOT/lib:$MFC_LIBRARY_ROOT/mfc/src";
+    MFC_LIBRARY_ROOT="$MFC_LIBRARY_ROOT:$MFC_LIBRARY_ROOT/lib:$MFC_LIBRARY_ROOT/mfc/src:$MFC_LIBRARY_ROOT/src";
   fi
   AC_PATH_LIBRARY(MFC_LIBRARY_ROOT,[-lmfc],[$WINE_LIBRARY_PATH -lwine -lwine_unicode],[
     AC_MSG_ERROR([Could not find the MFC library])
-- 
GitLab