From kde-commits Tue Apr 19 18:25:53 2005 From: Albert Astals Cid Date: Tue, 19 Apr 2005 18:25:53 +0000 To: kde-commits Subject: kdelibs Message-Id: <20050419182553.14237650 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111393516428233 CVS commit by aacid: Give the warning about openexr not beign installed at configure end and not while it's running M +16 -0 configure.in.bot 1.33 M +2 -6 kimgio/configure.in.in 1.15 --- kdelibs/configure.in.bot #1.32:1.33 @@ -111,2 +111,18 @@ all_tests=bad fi + +if test "$EXRSTATUS" = "no"; then + echo "" + echo "No OpenEXR Libraries were found" + echo "Install OpenEXR package (from http:///www.openexr.org)" + echo "if you want EXR image format support" + echo "" +fi + +if test "$EXRSTATUS" = "old"; then + echo "" + echo "OpenEXR libraries were found, but at least version 1.1.0 is requireds" + echo "Install newer OpenEXR package (from http:///www.openexr.org)" + echo "if you want EXR image format support" + echo "" +fi --- kdelibs/kimgio/configure.in.in #1.14:1.15 @@ -20,13 +20,9 @@ if !(`$PKG_CONFIG --exists OpenEXR`) ; then AC_MSG_RESULT(no) - echo "*** pkg-config installed, but no OpenEXR Libraries were found ***" - echo "*** Install OpenEXR package (from http://www.openexr.org)" - echo "*** if you want EXR image format support" + EXRSTATUS=no else if !(`$PKG_CONFIG --atleast-version="1.1.1" OpenEXR`) ; then AC_MSG_RESULT(no) - echo "*** OpenEXR libraries were found, but at least version 1.1.0 is required ***" - echo "*** Install newer OpenEXR package (from http://www.openexr.org)" - echo "*** if you want EXR image format support" + EXRSTATUS=old else kde_save_LIBS="$LIBS"