 f6b4585c98
			
		
	
	f6b4585c98
	
	
	
		
			
			2007-01-19 Tor Lillqvist <tml@novell.com> Build Wintab support always on Windows. Don't require the Wintab SDK. * configure.in: Drop the --with-wintab option. Drop the HAVE_WINTAB feature test macro and Automake variable. * acconfig.h * config.h.win32.in: Drop HAVE_WINTAB. * gdk/win32/gdkevents-win32.c * gdk/win32/gdkinput.c * gdk/win32/gdkinput-win32.h * gdk/win32/gdkinput-win32.c * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks unconditional. * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try to load wintab32.dll dynamically here. If it is found look up the handful Wintab functions we use. (rest of file): Use these function pointers instead of calling the functions from wntab32x.lib. The code in wntab32x.lib did the same thing anyway: tried to load wintab32.dll, and looked up the addresses of the actual functions from it. * gdk/Makefile.am * gdk/win32/Makefile.am: Drop the libwntab32x hacks. * gdk/win32/wintab.h * gdk/win32/pktdef.h: New files. Copied from the Wintab SDK. Copyright blurb says: "The text and information contained in this file may be freely used, copied, or distributed without compensation or licensing restrictions." * README.win32: Update a bit. Remove the text about the Wintab SDK. svn path=/trunk/; revision=17186
		
			
				
	
	
		
			268 lines
		
	
	
		
			7.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			268 lines
		
	
	
		
			7.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /* config.h.win32.in. Merged from two versions generated by configure for gcc and MSVC.  */
 | ||
| /* config.h.in.  Generated from configure.in by autoheader.  */
 | ||
| /* acconfig.h
 | ||
|    This file is in the public domain.
 | ||
| 
 | ||
|    Descriptive text for the C preprocessor macros that
 | ||
|    the distributed Autoconf macros can define.
 | ||
|    No software package will use all of them; autoheader copies the ones
 | ||
|    your configure.in uses into your configuration header file templates.
 | ||
| 
 | ||
|    The entries are in sort -df order: alphabetical, case insensitive,
 | ||
|    ignoring punctuation (such as underscores).  Although this order
 | ||
|    can split up related entries, it makes it easier to check whether
 | ||
|    a given entry is in the file.
 | ||
| 
 | ||
|    Leave the following blank line there!!  Autoheader needs it.  */
 | ||
| 
 | ||
| 
 | ||
| /* Other stuff */
 | ||
| #define ENABLE_NLS 1
 | ||
| #define GTK_COMPILED_WITH_DEBUGGING "yes"
 | ||
| 
 | ||
| /* #undef HAVE_CATGETS */
 | ||
| /* #undef HAVE_DIMM_H */
 | ||
| #define HAVE_GETTEXT 1
 | ||
| /* #undef HAVE_IPC_H */
 | ||
| /* #undef HAVE_LC_MESSAGES */
 | ||
| #define HAVE_PROGRESSIVE_JPEG 1
 | ||
| /* #undef HAVE_PWD_H */
 | ||
| /* #undef HAVE_SHM_H */
 | ||
| /* #undef HAVE_STPCPY */
 | ||
| /* #undef HAVE_XSHM_H */
 | ||
| /* #undef HAVE_SHAPE_EXT */
 | ||
| /* #undef HAVE_SOLARIS_XINERAMA */
 | ||
| /* #undef HAVE_SYS_SELECT_H */
 | ||
| #ifndef _MSC_VER
 | ||
| #define HAVE_SYS_TIME_H 1
 | ||
| #else /* _MSC_VER */
 | ||
| /* #undef HAVE_SYS_TIME_H */
 | ||
| #endif /* _MSC_VER */
 | ||
| /* #undef HAVE_XFREE_XINERAMA */
 | ||
| /* #undef HAVE_XINERAMA */
 | ||
| /* #undef HAVE_XCONVERTCASE */
 | ||
| /* #undef HAVE_XFT */
 | ||
| 
 | ||
| /* #undef HAVE_SIGSETJMP */
 | ||
| 
 | ||
| #define NO_FD_SET 1
 | ||
| 
 | ||
| /* #undef RESOURCE_BASE */
 | ||
| 
 | ||
| #ifndef _MSC_VER
 | ||
| #define USE_GMODULE 1
 | ||
| #define USE_MMX 1
 | ||
| #endif
 | ||
| 
 | ||
| /* Define to use XKB extension */
 | ||
| /* #undef HAVE_XKB */
 | ||
| 
 | ||
| /* Define to use shadowfb in the linux-fb port */
 | ||
| /* #undef ENABLE_SHADOW_FB */
 | ||
| 
 | ||
| /* Define to use a fb manager in the linux-fb port */
 | ||
| /* #undef ENABLE_FB_MANAGER */
 | ||
| 
 | ||
| /* #undef XINPUT_NONE */
 | ||
| /* #undef XINPUT_GXI */
 | ||
| /* #undef XINPUT_XFREE */
 | ||
| 
 | ||
| /* Define as the return type of signal handlers (int or void).  */
 | ||
| #define RETSIGTYPE void
 | ||
| 
 | ||
| /* Most machines will be happy with int or void.  IRIX requires '...' */
 | ||
| /* #undef SIGNAL_ARG_TYPE */
 | ||
| 
 | ||
| #define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
 | ||
| 
 | ||
| /* #undef PACKAGE */
 | ||
| /* #undef VERSION */
 | ||
| 
 | ||
| 
 | ||
| /* Leave that blank line there!!  Autoheader needs it.
 | ||
|    If you're adding to this file, keep in mind:
 | ||
|    The entries are in sort -df order: alphabetical, case insensitive,
 | ||
|    ignoring punctuation (such as underscores).  */
 | ||
| 
 | ||
| /* always defined to indicate that i18n is enabled */
 | ||
| #define ENABLE_NLS 1
 | ||
| 
 | ||
| /* Define the location where the catalogs will be installed */
 | ||
| #define GTK_LOCALEDIR "UNUSED"
 | ||
| 
 | ||
| /* Define to 1 if you have the `bind_textdomain_codeset' function. */
 | ||
| #define HAVE_BIND_TEXTDOMAIN_CODESET 1
 | ||
| 
 | ||
| /* Is the wctype implementation broken */
 | ||
| /* #undef HAVE_BROKEN_WCTYPE */
 | ||
| 
 | ||
| /* Define to 1 if you have the `dcgettext' function. */
 | ||
| #define HAVE_DCGETTEXT 1
 | ||
| 
 | ||
| /* Define to 1 if you have the <dlfcn.h> header file. */
 | ||
| /* #undef HAVE_DLFCN_H */
 | ||
| 
 | ||
| /* Define to 1 if you have the `flockfile' function. */
 | ||
| /* #undef HAVE_FLOCKFILE */
 | ||
| 
 | ||
| /* Define to 1 if you have the `getpagesize' function. */
 | ||
| #ifndef _MSC_VER
 | ||
| #define HAVE_GETPAGESIZE 1
 | ||
| #else /* _MSC_VER */
 | ||
| /* #undef HAVE_GETPAGESIZE */
 | ||
| #endif /* _MSC_VER */
 | ||
| 
 | ||
| /* Define to 1 if you have the `getresuid' function. */
 | ||
| /* #undef HAVE_GETRESUID */
 | ||
| 
 | ||
| /* Define if the GNU gettext() function is already present or preinstalled. */
 | ||
| #define HAVE_GETTEXT 1
 | ||
| 
 | ||
| /* Define to 1 if you have the <inttypes.h> header file. */
 | ||
| #ifndef _MSC_VER
 | ||
| #define HAVE_INTTYPES_H 1
 | ||
| #else /* _MSC_VER */
 | ||
| /* #undef HAVE_INTTYPES_H */
 | ||
| #endif /* _MSC_VER */
 | ||
| 
 | ||
| /* Define if your <locale.h> file defines LC_MESSAGES. */
 | ||
| /* #undef HAVE_LC_MESSAGES */
 | ||
| 
 | ||
| /* Define to 1 if you have the <locale.h> header file. */
 | ||
| #define HAVE_LOCALE_H 1
 | ||
| 
 | ||
| /* Define to 1 if you have the `lstat' function. */
 | ||
| /* #undef HAVE_LSTAT */
 | ||
| 
 | ||
| /* Define to 1 if you have the `mallinfo' function. */
 | ||
| /* #undef HAVE_MALLINFO */
 | ||
| 
 | ||
| /* Define to 1 if you have the <memory.h> header file. */
 | ||
| #define HAVE_MEMORY_H 1
 | ||
| 
 | ||
| /* Define to 1 if you have the `mkstemp' function. */
 | ||
| /* #undef HAVE_MKSTEMP */
 | ||
| 
 | ||
| /* Define to 1 if you have a working `mmap' system call. */
 | ||
| /* #undef HAVE_MMAP */
 | ||
| 
 | ||
| /* Define to 1 if you have the <pwd.h> header file. */
 | ||
| /* #undef HAVE_PWD_H */
 | ||
| 
 | ||
| /* Have the Xrandr extension library */
 | ||
| /* #undef HAVE_RANDR */
 | ||
| 
 | ||
| /* Define to 1 if you have the <stdint.h> header file. */
 | ||
| #ifndef _MSC_VER
 | ||
| #define HAVE_STDINT_H 1
 | ||
| #else /* _MSC_VER */
 | ||
| /* #undef HAVE_STDINT_H */
 | ||
| #endif /* _MSC_VER */
 | ||
| 
 | ||
| /* Define to 1 if you have the <stdlib.h> header file. */
 | ||
| #define HAVE_STDLIB_H 1
 | ||
| 
 | ||
| /* Define to 1 if you have the <strings.h> header file. */
 | ||
| /* #undef HAVE_STRINGS_H */
 | ||
| 
 | ||
| /* Define to 1 if you have the <string.h> header file. */
 | ||
| #define HAVE_STRING_H 1
 | ||
| 
 | ||
| /* Define to 1 if you have the <sys/stat.h> header file. */
 | ||
| #define HAVE_SYS_STAT_H 1
 | ||
| 
 | ||
| /* Define to 1 if you have the <sys/time.h> header file. */
 | ||
| #ifndef _MSC_VER
 | ||
| #define HAVE_SYS_TIME_H 1
 | ||
| #else /* _MSC_VER */
 | ||
| /* #undef HAVE_SYS_TIME_H */
 | ||
| #endif /* _MSC_VER */
 | ||
| 
 | ||
| /* Define to 1 if you have the <sys/types.h> header file. */
 | ||
| #define HAVE_SYS_TYPES_H 1
 | ||
| 
 | ||
| /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
 | ||
| /* #undef HAVE_SYS_WAIT_H */
 | ||
| 
 | ||
| /* Define to 1 if you have the <unistd.h> header file. */
 | ||
| #ifndef _MSC_VER
 | ||
| #define HAVE_UNISTD_H 1
 | ||
| #else /* _MSC_VER */
 | ||
| /* #undef HAVE_UNISTD_H */
 | ||
| #endif /* _MSC_VER */
 | ||
| 
 | ||
| /* Have uxtheme.h include file */
 | ||
| #define HAVE_UXTHEME_H 1
 | ||
| 
 | ||
| /* Have wchar.h include file */
 | ||
| #define HAVE_WCHAR_H 1
 | ||
| 
 | ||
| /* Have wctype.h include file */
 | ||
| #define HAVE_WCTYPE_H 1
 | ||
| 
 | ||
| /* Define if we have X11R6 */
 | ||
| /* #undef HAVE_X11R6 */
 | ||
| 
 | ||
| /* Define to 1 if you have the `XConvertCase' function. */
 | ||
| /* #undef HAVE_XCONVERTCASE */
 | ||
| 
 | ||
| /* Have the Xcursor library */
 | ||
| /* #undef HAVE_XCURSOR */
 | ||
| 
 | ||
| /* Have the XFIXES X extension */
 | ||
| /* #undef HAVE_XFIXES */
 | ||
| 
 | ||
| /* Define to 1 if you have the `XInternAtoms' function. */
 | ||
| /* #undef HAVE_XINTERNATOMS */
 | ||
| 
 | ||
| /* Have the SYNC extension library */
 | ||
| /* #undef HAVE_XSYNC */
 | ||
| 
 | ||
| /* Define if _NL_TIME_FIRST_WEEKDAY is available */
 | ||
| /* #undef HAVE__NL_TIME_FIRST_WEEKDAY */
 | ||
| 
 | ||
| /* Define if <X11/extensions/XIproto.h> needed for xReply */
 | ||
| /* #undef NEED_XIPROTO_H_FOR_XREPLY */
 | ||
| 
 | ||
| /* Define to the address where bug reports for this package should be sent. */
 | ||
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
 | ||
| 
 | ||
| /* Define to the full name of this package. */
 | ||
| #define PACKAGE_NAME "gtk+"
 | ||
| 
 | ||
| /* Define to the full name and version of this package. */
 | ||
| #define PACKAGE_STRING "gtk+ 2.9.0"
 | ||
| 
 | ||
| /* Define to the one symbol short name of this package. */
 | ||
| #define PACKAGE_TARNAME "gtk+"
 | ||
| 
 | ||
| /* Define to the version of this package. */
 | ||
| #define PACKAGE_VERSION "@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@"
 | ||
| 
 | ||
| /* Define as the return type of signal handlers (`int' or `void'). */
 | ||
| #define RETSIGTYPE void
 | ||
| 
 | ||
| /* Define to 1 if you have the ANSI C header files. */
 | ||
| #define STDC_HEADERS 1
 | ||
| 
 | ||
| /* Whether to load modules via .la files rather than directly */
 | ||
| /* #undef USE_LA_MODULES */
 | ||
| 
 | ||
| /* Define to 1 if the X Window System is missing or not being used. */
 | ||
| /* #undef X_DISPLAY_MISSING */
 | ||
| 
 | ||
| /* Number of bits in a file offset, on hosts where this is settable. */
 | ||
| /* #undef _FILE_OFFSET_BITS */
 | ||
| 
 | ||
| /* Define for large files, on AIX-style hosts. */
 | ||
| /* #undef _LARGE_FILES */
 | ||
| 
 | ||
| /* Define to empty if `const' does not conform to ANSI C. */
 | ||
| /* #undef const */
 | ||
| 
 | ||
| /* Define to `int' if <sys/types.h> doesn't define. */
 | ||
| #define gid_t int
 | ||
| 
 | ||
| /* Define to `int' if <sys/types.h> doesn't define. */
 | ||
| #define uid_t int
 |