configure: Diagnose if NetAPI is not present.
For most other configure options we are warning when some dependency is not present, in particular when it's been explicitly requested. Also do this for Samba NetAPI now. Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
64534e9b5b
commit
07c9dd9bdf
|
@ -17417,6 +17417,17 @@ fi
|
||||||
CPPFLAGS=$ac_save_CPPFLAGS
|
CPPFLAGS=$ac_save_CPPFLAGS
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
if test "x$ac_cv_lib_soname_netapi" != xyes
|
||||||
|
then :
|
||||||
|
case "x$with_netapi" in
|
||||||
|
x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
|
||||||
|
xno) ;;
|
||||||
|
*) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
|
||||||
|
This is an error since --with-netapi was requested." "$LINENO" 5 ;;
|
||||||
|
esac
|
||||||
|
enable_netapi=${enable_netapi:-no}
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
|
if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
|
||||||
"x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
|
"x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
|
||||||
|
|
|
@ -1711,6 +1711,10 @@ then
|
||||||
WINE_PACKAGE_FLAGS(NETAPI,[netapi],,,,
|
WINE_PACKAGE_FLAGS(NETAPI,[netapi],,,,
|
||||||
[WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])])
|
[WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])])
|
||||||
fi
|
fi
|
||||||
|
WINE_NOTICE_WITH(netapi,[test "x$ac_cv_lib_soname_netapi" != xyes],
|
||||||
|
[libnetapi not found, Samba NetAPI won't be supported.],
|
||||||
|
[enable_netapi])
|
||||||
|
|
||||||
|
|
||||||
dnl **** Check for any sound system ****
|
dnl **** Check for any sound system ****
|
||||||
if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
|
if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
|
||||||
|
|
Loading…
Reference in New Issue