Don't think we have Mac OS X TWAIN if on Win32.

2006-02-19  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't think we have Mac OS X TWAIN if on Win32.
This commit is contained in:
Tor Lillqvist 2006-02-19 22:07:25 +00:00 committed by Tor Lillqvist
parent 67df51d49c
commit e0dd00195a
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2006-02-19 Tor Lillqvist <tml@novell.com>
* configure.in: Don't think we have Mac OS X TWAIN if on Win32.
2006-02-19 DindinX <dindinx@gimp.org>
* plug-ins/common/mosaic.c: applied a (slightly modified) patch from

View File

@ -1555,14 +1555,14 @@ AC_SUBST(WMF)
# Check for Mac OS X TWAIN framework (can't build on Darwin)
############################################################
twain_ok=$os_win32
mac_twain_ok=no
AC_MSG_CHECKING([checking for Mac OS X TWAIN support])
AC_TRY_CPP([
#include <Carbon/Carbon.h>
#include <TWAIN/TWAIN.h>
], twain_ok=yes)
AC_MSG_RESULT($twain_ok)
AM_CONDITIONAL(HAVE_MAC_TWAIN, test x$twain_ok = xyes)
], mac_twain_ok=yes)
AC_MSG_RESULT($mac_twain_ok)
AM_CONDITIONAL(HAVE_MAC_TWAIN, test x$mac_twain_ok = xyes)
##########################################################
@ -1930,7 +1930,7 @@ Optional Plug-Ins:
PSP: $have_zlib
SVG: $have_librsvg
TIFF: $have_libtiff
TWAIN: $twain_ok
MacOS X TWAIN: $mac_twain_ok
URI: $uri_plugin
Win Print: $os_win32
Win Snap: $os_win32