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.
This commit is contained in:
Michael Natterer 2011-09-01 21:17:26 +02:00
parent 87b38809ff
commit b40e1c44b6
1 changed files with 3 additions and 0 deletions

View File

@ -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