libntdll.dll.so no longer exists, check for libntdll.def instead.

This commit is contained in:
Alexandre Julliard 2003-10-27 22:14:15 +00:00
parent e940eb502d
commit fa755119be
1 changed files with 3 additions and 7 deletions

View File

@ -2769,14 +2769,10 @@ then
WINE_DLL_ROOT="/lib:/lib/wine:/usr/lib:/usr/lib/wine:/usr/local/lib:/usr/local/lib/wine"
fi
fi
AC_PATH_FILE(WINE_DLL_ROOT,[libntdll.dll.so],[
AC_MSG_ERROR([Could not find the Wine dlls (libntdll.dll.so)])
AC_PATH_FILE(WINE_DLL_ROOT,[libntdll.def],[
AC_MSG_ERROR([Could not find the Wine dlls (libntdll.def)])
],[$WINE_DLL_ROOT])
AC_PATH_LIBRARY(WINE_DLL_ROOT,[-lntdll.dll],[$WINE_LIBRARY_PATH -lwine -lwine_unicode],[
AC_MSG_ERROR([Could not link with the Wine dlls (libntdll.dll.so)])
],[$WINE_DLL_ROOT])
WINE_DLL_PATH="-L$WINE_DLL_ROOT/wine"
WINE_DLL_PATH="-L$WINE_DLL_ROOT"
if test -z "$WINE_TOOL_PATH"
then