From 7f674966e774f083d7cae6e5bcfaa6a32a62a898 Mon Sep 17 00:00:00 2001
From: Alexandre Julliard <julliard@winehq.org>
Date: Tue, 10 Jul 2007 15:22:18 +0200
Subject: [PATCH] configure: Add a few more notices for missing packages.

---
 configure    | 20 ++++++++++++++++++++
 configure.ac |  8 ++++++++
 2 files changed, 28 insertions(+)

diff --git a/configure b/configure
index 270564b0887..8567e538dc8 100755
--- a/configure
+++ b/configure
@@ -14442,6 +14442,11 @@ _ACEOF
 fi
 
 fi
+if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
+  wine_notices="$wine_notices|fontconfig development files not found.
+Wine will be built without fontconfig support."
+fi
+
 
 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
 then
@@ -14602,6 +14607,11 @@ _ACEOF
 fi
 
 fi
+if test "x$ac_cv_lib_soname_ssl" = "x"; then
+  wine_notices="$wine_notices|OpenSSL development files not found.
+Wine will be built without SSL support. (wininet.dll)"
+fi
+
 
 if test "$ac_cv_header_jpeglib_h" = "yes"
 then
@@ -14684,6 +14694,11 @@ _ACEOF
 fi
 
 fi
+if test "x$ac_cv_lib_soname_jpeg" = "x"; then
+  wine_notices="$wine_notices|libjpeg development files not found.
+Wine will be built without JPEG support. (oleaut32.dll)"
+fi
+
 
 if test "$ac_cv_header_png_h" = "yes"
 then
@@ -14766,6 +14781,11 @@ _ACEOF
 fi
 
 fi
+if test "x$ac_cv_lib_soname_png" = "x"; then
+  wine_notices="$wine_notices|libpng development files not found.
+Wine will be built without PNG support. (oleaut32.dll)"
+fi
+
 
 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
                  "$ac_cv_header_sys_soundcard_h" != "yes" -a \
diff --git a/configure.ac b/configure.ac
index a5010c0b34d..227e4105ea5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1032,6 +1032,8 @@ if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
 then
     WINE_CHECK_SONAME(fontconfig,FcInit)
 fi
+WINE_NOTICE_IF([test "x$ac_cv_lib_soname_fontconfig" = "x"],[fontconfig development files not found.
+Wine will be built without fontconfig support.])
 
 dnl **** Check for SSL ****
 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
@@ -1039,18 +1041,24 @@ then
     WINE_CHECK_SONAME(ssl,SSL_library_init)
     WINE_CHECK_SONAME(crypto,BIO_new_socket)
 fi
+WINE_NOTICE_IF([test "x$ac_cv_lib_soname_ssl" = "x"],[OpenSSL development files not found.
+Wine will be built without SSL support. (wininet.dll)])
 
 dnl **** Check for libjpeg ****
 if test "$ac_cv_header_jpeglib_h" = "yes"
 then
     WINE_CHECK_SONAME(jpeg,jpeg_start_decompress)
 fi
+WINE_NOTICE_IF([test "x$ac_cv_lib_soname_jpeg" = "x"],[libjpeg development files not found.
+Wine will be built without JPEG support. (oleaut32.dll)])
 
 dnl **** Check for libpng ****
 if test "$ac_cv_header_png_h" = "yes"
 then
     WINE_CHECK_SONAME(png,png_create_read_struct,,,,[[libpng[[0-9]]*]])
 fi
+WINE_NOTICE_IF([test "x$ac_cv_lib_soname_png" = "x"],[libpng development files not found.
+Wine will be built without PNG support. (oleaut32.dll)])
 
 dnl **** Check for any sound system ****
 WINE_WARNING_IF([test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
-- 
GitLab