[gimp] configure: let the test for TWAIN fail on 64 bit OSX



commit b40e1c44b6f0eeeab023eb12ea3d05e5bc0c4e88
Author: Michael Natterer <mitch gimp org>
Date:   Thu Sep 1 21:17:26 2011 +0200

    configure: let the test for TWAIN fail on 64 bit OSX
    
    Somebody needs to port the stuff to not using the parts of
    Carbon that are not there on 64 bit, or preferrably not use
    Carbon at all.

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 260fc48..dbab184 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1794,6 +1794,9 @@ if test "x$with_mac_twain" != xno; then
   AC_TRY_CPP([
 #include <Carbon/Carbon.h>
 #include <TWAIN/TWAIN.h>
+#ifdef __x86_64__
+#error Please somebody port this to non-deprecated and non-removed APIs
+#endif
   ], mac_twain_ok=yes)
   AC_MSG_RESULT($mac_twain_ok)
 fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]