From 63ea670370fa288cfb4c3020801d35b6f7fcaacf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 21 May 2008 15:00:28 +0200 Subject: [PATCH] configure: Upgrade notices to warnings for some important libraries. --- configure | 12 ++++++------ configure.ac | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/configure b/configure index 071e56680a9..a8288977040 100755 --- a/configure +++ b/configure @@ -10325,7 +10325,7 @@ fi fi if test "x$ac_cv_lib_soname_Xrender" = "x"; then case "x$with_xrender" in - x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;; + x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;; xno) ;; *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported. This is an error since --with-xrender was requested." >&5 @@ -11963,7 +11963,7 @@ done fi if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then case "x$with_xml" in - x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;; + x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;; xno) ;; *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported. This is an error since --with-xml was requested." >&5 @@ -12222,7 +12222,7 @@ fi fi if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then case "x$with_xslt" in - x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;; + x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;; xno) ;; *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported. This is an error since --with-xslt was requested." >&5 @@ -15830,7 +15830,7 @@ fi fi if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then case "x$with_openssl" in - x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;; + x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;; xno) ;; *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported. This is an error since --with-openssl was requested." >&5 @@ -15924,7 +15924,7 @@ fi fi if test "x$ac_cv_lib_soname_jpeg" = "x"; then case "x$with_jpeg" in - x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;; + x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;; xno) ;; *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported. This is an error since --with-jpeg was requested." >&5 @@ -16018,7 +16018,7 @@ fi fi if test "x$ac_cv_lib_soname_png" = "x"; then case "x$with_png" in - x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;; + x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;; xno) ;; *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported. This is an error since --with-png was requested." >&5 diff --git a/configure.ac b/configure.ac index e3028bb95e9..59dc99651e0 100644 --- a/configure.ac +++ b/configure.ac @@ -670,7 +670,7 @@ then [$X_LIBS -lXext -lX11 $X_EXTRA_LIBS])],,[$X_LIBS -lXext -lX11 $X_EXTRA_LIBS]) fi - WINE_NOTICE_WITH(xrender,[test "x$ac_cv_lib_soname_Xrender" = "x"], + WINE_WARNING_WITH(xrender,[test "x$ac_cv_lib_soname_Xrender" = "x"], [libxrender development files not found, XRender won't be supported.]) dnl *** Check for X RandR extension @@ -816,7 +816,7 @@ then ]) CPPFLAGS="$ac_save_CPPFLAGS" fi -WINE_NOTICE_WITH(xml,[test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"], +WINE_WARNING_WITH(xml,[test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"], [libxml2 development files not found, XML won't be supported.]) if test "x$with_xslt" != "xno" @@ -848,7 +848,7 @@ then LIBS="$ac_save_LIBS"],,$ac_xslt_libs) fi fi -WINE_NOTICE_WITH(xslt,[test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"], +WINE_WARNING_WITH(xslt,[test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"], [libxslt development files not found, xslt won't be supported.]) dnl **** Check for libhal **** @@ -1166,7 +1166,7 @@ then WINE_CHECK_SONAME(ssl,SSL_library_init) WINE_CHECK_SONAME(crypto,BIO_new_socket) fi -WINE_NOTICE_WITH(openssl,[test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"], +WINE_WARNING_WITH(openssl,[test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"], [OpenSSL development files not found, SSL won't be supported.]) dnl **** Check for libjpeg **** @@ -1174,7 +1174,7 @@ if test "$ac_cv_header_jpeglib_h" = "yes" then WINE_CHECK_SONAME(jpeg,jpeg_start_decompress) fi -WINE_NOTICE_WITH(jpeg,[test "x$ac_cv_lib_soname_jpeg" = "x"], +WINE_WARNING_WITH(jpeg,[test "x$ac_cv_lib_soname_jpeg" = "x"], [libjpeg development files not found, JPEG won't be supported.]) dnl **** Check for libpng **** @@ -1182,7 +1182,7 @@ if test "$ac_cv_header_png_h" = "yes" then WINE_CHECK_SONAME(png,png_create_read_struct,,,,[[libpng[[0-9]]*]]) fi -WINE_NOTICE_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"], +WINE_WARNING_WITH(png,[test "x$ac_cv_lib_soname_png" = "x"], [libpng development files not found, PNG won't be supported.]) dnl **** Check for libodbc ****