Description: fix macros in configure.ac / m4/threads.m4
Author: Andreas Barth <aba@ayous.org>
Bug-Debian: https://bugs.debian.org/752462

--- ilmbase-1.0.1.orig/configure.ac
+++ ilmbase-1.0.1/configure.ac
@@ -77,7 +77,7 @@ AC_TRY_COMPILE([#include <iomanip>],[
 
 	std::right;
 ],
-AC_DEFINE(HAVE_COMPLETE_IOMANIP) complete_iomanip=yes)
+AC_DEFINE([HAVE_COMPLETE_IOMANIP],[1],[Define to 1 if you have <iomanip> header file]) complete_iomanip=yes)
 AC_MSG_RESULT($complete_iomanip)
 AC_LANG_RESTORE
 
--- ilmbase-1.0.1.orig/m4/threads.m4
+++ ilmbase-1.0.1/m4/threads.m4
@@ -280,7 +280,9 @@ fi
 
 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
 if test x"$am_posix_sem_ok" = xyes; then
-        ifelse([$1],,AC_DEFINE(HAVE_POSIX_SEMAPHORES),[$1])
+        ifelse([$1],,AC_DEFINE([HAVE_POSIX_SEMAPHORES],[1],[Define and set to 1 if the target system supports POSIX semaphores \
+                               and you want OpenEXR to use them; otherwise, OpenEXR will use its \
+                               own semaphore implementation]),[$1])
         :
 else
         am_posix_sem_ok=no
