From: pabs Date: Thu, 20 Mar 2008 04:41:45 +0000 (+0000) Subject: Unless OpenEXR half mode is used, don't ask synfigstudio to depend on it. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e4e009ea389e1d04f74d2ab91f8fa2467e6eb8bc;p=synfig.git Unless OpenEXR half mode is used, don't ask synfigstudio to depend on it. git-svn-id: http://svn.voria.com/code@1917 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/configure.ac b/synfig-core/trunk/configure.ac index 992dfc5..6627b39 100644 --- a/synfig-core/trunk/configure.ac +++ b/synfig-core/trunk/configure.ac @@ -306,8 +306,6 @@ AC_ARG_WITH(openexr,[ ]) if test $with_openexr = "yes" ; then { PKG_CHECK_MODULES(OPENEXR, OpenEXR,[ - CONFIG_DEPS="$CONFIG_DEPS OpenEXR" - AC_DEFINE(HAVE_OPENEXR,[], [ Define if OpenEXR is available ] ) AM_CONDITIONAL(WITH_OPENEXR,true) ], @@ -321,6 +319,7 @@ if test $with_openexr = "no" ; then { } ; fi if test $use_openexr_half = yes ; then { AC_MSG_RESULT([ ** Using OpenEXR Half.]) + CONFIG_DEPS="$CONFIG_DEPS OpenEXR" CONFIG_CFLAGS="$CONFIG_CFLAGS -DUSE_HALF_TYPE" OPENEXR_HALF_LIBS="-lHalf" } else {