diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-05-18 19:04:14 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-05-18 19:04:14 +0000 |
| commit | 9ca173a7020ca6a7daab001b71dfc6e84f149429 (patch) | |
| tree | 4d49ad3a0e18aa87d542fb213ecd7db4df8d0de7 /makefiles/config.mingw | |
| parent | a5c7b92f37c87e489a48964c611a7de0cb94e7b5 (diff) | |
Updated Cygwin/Mingw makefiles and documentation (STR #1683)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'makefiles/config.mingw')
| -rw-r--r-- | makefiles/config.mingw | 112 |
1 files changed, 94 insertions, 18 deletions
diff --git a/makefiles/config.mingw b/makefiles/config.mingw index f6b5b3d1e..46b1ab5b5 100644 --- a/makefiles/config.mingw +++ b/makefiles/config.mingw @@ -2,8 +2,9 @@ * "$Id$" * * Configuration file for the Fast Light Tool Kit (FLTK). + * @configure_input@ * - * Copyright 1998-2003 by Bill Spitzak and others. + * Copyright 1998-2007 by Bill Spitzak and others. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -20,15 +21,19 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA. * - * Please report all bugs and problems to "FLTK-bugs@fltk.org". + * Please report all bugs and problems on the following page: + * + * http://www.fltk.org/str.php */ +/* config.h. Generated by configure. */ + /* * Where to find files... */ -#define FLTK_DATADIR "C:/FLTK" -#define FLTK_DOCDIR "C:/FLTK/DOC" +#define FLTK_DATADIR "/usr/local/share/fltk" +#define FLTK_DOCDIR "/usr/local/share/doc/fltk" /* * BORDER_WIDTH: @@ -51,9 +56,6 @@ * * Do you have OpenGL? Set this to 0 if you don't have or plan to use * OpenGL, and FLTK will be smaller. - * - * In order to set to 1 you will need to obtain the OpenGL header and - * library files. Consult the README.win32 file for further details. */ #define HAVE_GL 1 @@ -68,6 +70,14 @@ #define HAVE_GL_GLU_H 1 /* + * HAVE_GLXGETPROCADDRESSARB: + * + * Do you have the OpenGL glXGetProcAddressARB() function? + */ + +/* #undef HAVE_GLXGETPROCADDRESSARB */ + +/* * USE_COLORMAP: * * Setting this to zero will save a good deal of code (especially for @@ -77,6 +87,14 @@ #define USE_COLORMAP 1 /* + * HAVE_XINERAMA + * + * Do we have the Xinerama library to support multi-head displays? + */ + +#define HAVE_XINERAMA 0 + +/* * USE_XFT * * Use the new Xft library to draw anti-aliased text. @@ -95,13 +113,26 @@ /* * USE_XDBE: * - * Actually try to use the double-buffer extension? Set this to zero - * disable use of XDBE without breaking the list_visuals program. + * Actually try to use the double-buffer extension? */ #define USE_XDBE HAVE_XDBE /* + * USE_QUARTZ: + * + * Use Quartz instead of Quickdraw on Apple Mac OS X machines. + * FLTK was originally ported to Quickdraw which is no longer + * supported by Apple. If USE_QUARTZ is defined, FLTK will be + * compiled using Quartz instead. This flag has no meaning on + * other operating systems. + */ + +#define USE_QUARTZ 0 +/* #undef __APPLE_QUARTZ__ */ +/* #undef __APPLE_QD__ */ + +/* * HAVE_OVERLAY: * * Use the X overlay extension? FLTK will try to use an overlay @@ -156,14 +187,14 @@ * Possibly missing sprintf-style functions: */ -/* #undef HAVE_VSNPRINTF */ -/* #undef HAVE_SNPRINTF */ +#define HAVE_VSNPRINTF 1 +#define HAVE_SNPRINTF 1 /* - * String functions... + * String functions and headers... */ -/* #undef HAVE_STRINGS_H */ +#define HAVE_STRINGS_H 1 #define HAVE_STRCASECMP 1 /* #undef HAVE_STRLCAT */ /* #undef HAVE_STRLCPY */ @@ -184,9 +215,17 @@ /* #undef HAVE_SYS_SELECT_H */ /* + * HAVE_SYS_STDTYPES_H: + * + * Whether or not we have the <sys/stdtypes.h> header file. + */ + +/* #undef HAVE_SYS_STDTYPES_H */ + +/* * USE_POLL: * - * Use poll() if we don't have select(). + * Use the poll() call provided on Linux and Irix instead of select() */ #define USE_POLL 0 @@ -195,15 +234,15 @@ * Do we have various image libraries? */ -/* #undef HAVE_LIBPNG */ -/* #undef HAVE_LIBZ */ -/* #undef HAVE_LIBJPEG */ +#define HAVE_LIBPNG 1 +#define HAVE_LIBZ 1 +#define HAVE_LIBJPEG 1 /* * Which header file do we include for libpng? */ -/* #undef HAVE_PNG_H */ +#define HAVE_PNG_H 1 /* #undef HAVE_LIBPNG_PNG_H */ /* @@ -220,7 +259,44 @@ /* #undef HAVE_PTHREAD */ /* #undef HAVE_PTHREAD_H */ +/* + * Do we have the ALSA library? + */ + +/* #undef HAVE_ALSA_ASOUNDLIB_H */ + +/* + * Do we have the long long type? + */ + +#define HAVE_LONG_LONG 1 + +#ifdef HAVE_LONG_LONG +# define FLTK_LLFMT "%lld" +# define FLTK_LLCAST (long long) +#else +# define FLTK_LLFMT "%ld" +# define FLTK_LLCAST (long) +#endif /* HAVE_LONG_LONG */ + +/* + * Do we have the strtoll() function? + */ + +#define HAVE_STRTOLL 1 + +#ifndef HAVE_STRTOLL +# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base)) +#endif /* !HAVE_STRTOLL */ + +/* + * Do we have the dlsym() function and header? + */ + +/* #undef HAVE_DLFCN_H */ +/* #undef HAVE_DLSYM */ /* * End of "$Id$". */ + |
