1997-11-24 22:37:52 +00:00
|
|
|
|
/* 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 */
|
1998-12-14 17:39:58 +00:00
|
|
|
|
#undef ENABLE_NLS
|
1998-06-11 00:27:08 +00:00
|
|
|
|
#undef GTK_COMPILED_WITH_DEBUGGING
|
1998-06-10 23:44:55 +00:00
|
|
|
|
|
1998-12-14 17:39:58 +00:00
|
|
|
|
#undef HAVE_CATGETS
|
2001-10-29 17:25:40 +00:00
|
|
|
|
#undef HAVE_DIMM_H
|
1999-03-13 01:14:19 +00:00
|
|
|
|
#undef HAVE_DIRENT_H
|
1998-12-14 17:39:58 +00:00
|
|
|
|
#undef HAVE_GETTEXT
|
1997-11-24 22:37:52 +00:00
|
|
|
|
#undef HAVE_IPC_H
|
1998-12-14 17:39:58 +00:00
|
|
|
|
#undef HAVE_LC_MESSAGES
|
2000-06-21 20:47:22 +00:00
|
|
|
|
#undef HAVE_PROGRESSIVE_JPEG
|
1999-03-13 01:14:19 +00:00
|
|
|
|
#undef HAVE_PWD_H
|
1997-11-24 22:37:52 +00:00
|
|
|
|
#undef HAVE_SHM_H
|
1998-12-14 17:39:58 +00:00
|
|
|
|
#undef HAVE_STPCPY
|
1997-11-24 22:37:52 +00:00
|
|
|
|
#undef HAVE_XSHM_H
|
1998-05-03 22:41:32 +00:00
|
|
|
|
#undef HAVE_SHAPE_EXT
|
1997-11-24 22:37:52 +00:00
|
|
|
|
#undef HAVE_SYS_SELECT_H
|
This might seem like a large patch, but it isn't that bad, and nothing
should break on Unix/X11.
Win32 merge and general portability stuff:
* acconfig.h,configure.in: Check for <sys/time.h>.
* gdk/win32: New directory (actually, been there for a while).
* gtk/fnmatch.c: Include <glib.h> for G_DIR_SEPARATOR, WIN32 and
NATIVE_WIN32, and use these. Always case fold on Win32. No
backslashed escapes on native Win32.
* gtk/{gtk.def,makefile.msc}: New files.
* gtk/Makefile.am: Add above new files.
* gtk/{gtkaccelgroup,gtkbindings}.c: Include <string.h>
instead of <strings.h>.
* gtk/{gtkcalendar,gtkitemfactory,gtkpreview,gtkrc}.c: Include
config.h. Protect inclusion of <sys/param.h>, <sys/time.h>, and
<unistd.h> appropriately.
* gtk/gtkdnd.c: Merge in Win32 version (which doesn't do much).
Use ABS() (from <glib.h>) instead of abs().
* gtk/gtkfilesel.c: Moved Win32-specific includes after inclusion
of gtk (and thus glib) headers, so that WIN32 will be
defined. With MS C, include <direct.h> for mkdir prototype.
* gtk/gtkitemfactory.c (gtk_item_factory_callback_marshal): Add
some casts, needed by MS C.
* gtk/{gtklayout,gtkplug}.c: Merge in Win32 version (which isn't
implemented).
* gtk/gtkmain.c: Include gdk/gdkx.h for GDK_WINDOWING. Include
<X11/Xlocale.h> only on X11 platform, otherwise <locale.h>. Use
G_SEARCHPATH_SEPARATOR_S and g_module_build_path.
* gtk/gtkmain.h: Mark variables for export/import on Win32.
* gtk/gtkrange.c (gtk_range_motion_notify): Set mods also in case
the event is not a hint, or its window is not the slider. Needed
on Win32, at least.
* gtk/gtkrc.c: Include config.h and gdk/gdkx.h. Use <locale.h>
unless on X11. Skip \r chars, too. Use G_DIR_SEPARATOR and
G_SEARCHPATH_SEPARATOR(_S). Use g_path_is_absolute. On Win32, use
a subdirectory of the Windows directory as gtk system
configuration directory.
* gtk/gtkselection.c: No chunks on Win32.
* gtk/gtksocket.c: Not implemented on Win32.
* gtk/gtkthemes.c (gtk_theme_engine_get): Use g_module_build_path.
* gtk/makeenums.h: Include gdkprivate.h after gdk.h.
* gtk/testrgb.c: Use dynamically allocated buffer. Use GTimers.
1999-03-15 00:03:37 +00:00
|
|
|
|
#undef HAVE_SYS_TIME_H
|
2001-10-29 17:25:40 +00:00
|
|
|
|
#undef HAVE_WINSOCK_H
|
Updates.
2001-10-29 Tor Lillqvist <tml@iki.fi>
* README.win32: Updates.
* gtk-zip.sh.in: New file, used to build distribution package for
Windows.
* gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
applicable with GDKVAR.
* gtk/gtk.def: Update.
* gtk/gtkfilesel.c: Include <winsock.h> (if available) for
gethostname().
* gtk/gtkmain.c
* gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
g_win32_get_package_installation_subdirectory() with the actual
DLL name saved above. Redefine above directory name macros to call
these functions. Remove some ifdefs.
* gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
variable for export on Win32) also to the _vars file.
Changes for autoconfiscated build on Win32, and addition of Win32
backend to the related files:
* configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
when forming DLL name in some files. Set MS_LIB_AVAILABLE is
lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
win32 target, using pangowin32. Don't use the
-export-symbols-regex option on Win32, we use .def files to list
exported symbols. Check <winsock.h> (for gethostname() in
gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
prevent premature m4 expansion.
* acconfig.h: Add HAVE_WINTAB.
* gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
MS_LIB_AVAILABLE, build MS import library. Install the import
libraries. If HAVE_WINTAB, link with the Wintab library.
* gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
file. Install import libraries.
2001-10-29 07:06:37 +00:00
|
|
|
|
#undef HAVE_WINTAB
|
1998-06-28 05:44:14 +00:00
|
|
|
|
#undef HAVE_XCONVERTCASE
|
2000-12-15 01:46:41 +00:00
|
|
|
|
#undef HAVE_XFT
|
1997-11-24 22:37:52 +00:00
|
|
|
|
|
2001-11-05 01:39:22 +00:00
|
|
|
|
#undef HAVE_SIGSETJMP
|
|
|
|
|
|
1997-11-24 22:37:52 +00:00
|
|
|
|
#undef NO_FD_SET
|
|
|
|
|
|
|
|
|
|
#undef RESOURCE_BASE
|
|
|
|
|
|
2000-06-21 20:47:22 +00:00
|
|
|
|
#undef USE_GMODULE
|
|
|
|
|
#undef USE_MMX
|
|
|
|
|
|
1999-02-10 00:21:09 +00:00
|
|
|
|
/* Define to use X11R6 additions to XIM */
|
|
|
|
|
#undef USE_X11R6_XIM
|
1999-01-28 03:38:58 +00:00
|
|
|
|
|
2000-12-06 05:31:30 +00:00
|
|
|
|
/* Define to use XKB extension */
|
|
|
|
|
#undef HAVE_XKB
|
2000-06-21 20:47:22 +00:00
|
|
|
|
|
Added ENABLE_SHADOW_FB
2001-01-11 Alexander Larsson <alexl@redhat.com>
* acconfig.h:
Added ENABLE_SHADOW_FB
* configure.in:
Added --disable-shadowfb
* gdk/linux-fb/gdkcursor-fb.c:
Update shadowfb when updating cursor
* gdk/linux-fb/gdkdrawable-fb2.c:
Added wrappers for shadowfb that calls the normal drawable
methods, but calls gdk_shadow_fb_update(bounding box) when
GdkWindows are drawed to.
Moved gdk_draw_glyphs implementation to _gdk_draw_glyphs
which also returns the bounding box.
* gdk/linux-fb/gdkfb.h:
Added GdkFBAngle type and gdk_fb_set_rotation declaration.
* gdk/linux-fb/gdkgeometry-fb.c:
Update shadowfb when scrolling window.
* gdk/linux-fb/gdkglobals-fb.c:
Add _gdk_fb_screen_angle.
* gdk/linux-fb/gdkkeyboard-fb.c:
Test code for screen rotation. Shift-F2 in the xlate driver
rotates the screen.
* gdk/linux-fb/gdkmain-fb.c:
Handle shadowfb. Add gdk_fb_set_rotation(). Remove CM and RP.
* gdk/linux-fb/gdkmouse-fb.c:
Use fb_width/height instead of modeinfo.xres/yres.
* gdk/linux-fb/gdkprivate-fb.h:
Added fb_men, fb_width, fb_height & fb_stride. When using
shadow fb these can differ from the framebuffer stuff.
Declarations for gdk_shadow_fb_update, gdk_shadow_fb_init,
gdk_shadow_fb_stop_updates, gdk_fb_recompute_all,
_gdk_fb_screen_angle. Removed CM, RP.
* gdk/linux-fb/gdkrender-fb.c:
Added code for shadowfb handling and screen rotation using
shadowfb.
* gdk/linux-fb/gdkwindow-fb.c:
Use fb_mem, fb_stride, fb_width, fb_height.
Added recompute_rowstride to reset the rowstride of all windows.
Added gdk_fb_recompute_all() which recomputes rootwindow size,
window abs positions and window rowstrides. Usefull when the
rotation has changed.
2001-01-11 16:39:21 +00:00
|
|
|
|
/* Define to use shadowfb in the linux-fb port */
|
|
|
|
|
#undef ENABLE_SHADOW_FB
|
|
|
|
|
|
2001-06-25 23:01:36 +00:00
|
|
|
|
/* Define to use a fb manager in the linux-fb port */
|
|
|
|
|
#undef ENABLE_FB_MANAGER
|
|
|
|
|
|
1997-11-24 22:37:52 +00:00
|
|
|
|
#undef XINPUT_NONE
|
|
|
|
|
#undef XINPUT_GXI
|
|
|
|
|
#undef XINPUT_XFREE
|
|
|
|
|
|
|
|
|
|
/* Define as the return type of signal handlers (int or void). */
|
|
|
|
|
#undef RETSIGTYPE
|
|
|
|
|
|
|
|
|
|
/* Most machines will be happy with int or void. IRIX requires '...' */
|
|
|
|
|
#undef SIGNAL_ARG_TYPE
|
|
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
|
#undef GETTEXT_PACKAGE
|
|
|
|
|
|
1997-11-24 22:37:52 +00:00
|
|
|
|
/* #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). */
|