| 1 |
/* src/aaa_inc/sgcf.h.in. Generated from configure.ac by autoheader. */ |
| 2 |
|
| 3 |
|
| 4 |
/* |
| 5 |
* *************************************************************************** |
| 6 |
* SG = < Socket Graphics > |
| 7 |
* Copyright (C) 1994-- Michael Holst |
| 8 |
* |
| 9 |
* This library is free software; you can redistribute it and/or |
| 10 |
* modify it under the terms of the GNU Lesser General Public |
| 11 |
* License as published by the Free Software Foundation; either |
| 12 |
* version 2.1 of the License, or (at your option) any later version. |
| 13 |
* |
| 14 |
* This library is distributed in the hope that it will be useful, |
| 15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 |
* Lesser General Public License for more details. |
| 18 |
* |
| 19 |
* You should have received a copy of the GNU Lesser General Public |
| 20 |
* License along with this library; if not, write to the Free Software |
| 21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 22 |
* |
| 23 |
* rcsid="INTENTIONALLY LEFT BLANK" |
| 24 |
* *************************************************************************** |
| 25 |
*/ |
| 26 |
|
| 27 |
/* |
| 28 |
* *************************************************************************** |
| 29 |
* File: acconfig.h |
| 30 |
* |
| 31 |
* Purpose: Generates the main configuration header "sgcf.h" for SG. |
| 32 |
* |
| 33 |
* Author: Michael Holst |
| 34 |
* *************************************************************************** |
| 35 |
*/ |
| 36 |
|
| 37 |
#ifndef _SGCF_H_ |
| 38 |
#define _SGCF_H_ |
| 39 |
|
| 40 |
|
| 41 |
/* Am I running in a Cygwin/Win32 environment? */ |
| 42 |
#undef HAVE_CYGWIN |
| 43 |
|
| 44 |
/* Do I compile as a debug version? */ |
| 45 |
#undef HAVE_DEBUG |
| 46 |
|
| 47 |
/* Define to 1 if you have the <dlfcn.h> header file. */ |
| 48 |
#undef HAVE_DLFCN_H |
| 49 |
|
| 50 |
/* Does EMBED macro for embedding rcsid symbols into binaries work? */ |
| 51 |
#undef HAVE_EMBED |
| 52 |
|
| 53 |
/* Define to 1 if you have the <inttypes.h> header file. */ |
| 54 |
#undef HAVE_INTTYPES_H |
| 55 |
|
| 56 |
/* Define to 1 if you have the <memory.h> header file. */ |
| 57 |
#undef HAVE_MEMORY_H |
| 58 |
|
| 59 |
/* Do I have Motif? */ |
| 60 |
#undef HAVE_MOTIF |
| 61 |
|
| 62 |
/* Define to 1 if you have the <stdint.h> header file. */ |
| 63 |
#undef HAVE_STDINT_H |
| 64 |
|
| 65 |
/* Define to 1 if you have the <stdlib.h> header file. */ |
| 66 |
#undef HAVE_STDLIB_H |
| 67 |
|
| 68 |
/* Define to 1 if you have the <strings.h> header file. */ |
| 69 |
#undef HAVE_STRINGS_H |
| 70 |
|
| 71 |
/* Define to 1 if you have the <string.h> header file. */ |
| 72 |
#undef HAVE_STRING_H |
| 73 |
|
| 74 |
/* Define to 1 if you have the <sys/stat.h> header file. */ |
| 75 |
#undef HAVE_SYS_STAT_H |
| 76 |
|
| 77 |
/* Define to 1 if you have the <sys/types.h> header file. */ |
| 78 |
#undef HAVE_SYS_TYPES_H |
| 79 |
|
| 80 |
/* Define to 1 if you have the <unistd.h> header file. */ |
| 81 |
#undef HAVE_UNISTD_H |
| 82 |
|
| 83 |
/* Do I have X? */ |
| 84 |
#undef HAVE_X11 |
| 85 |
|
| 86 |
/* Define to the sub-directory in which libtool stores uninstalled libraries. |
| 87 |
*/ |
| 88 |
#undef LT_OBJDIR |
| 89 |
|
| 90 |
/* Name of package */ |
| 91 |
#undef PACKAGE |
| 92 |
|
| 93 |
/* Define to the address where bug reports for this package should be sent. */ |
| 94 |
#undef PACKAGE_BUGREPORT |
| 95 |
|
| 96 |
/* Define to the full name of this package. */ |
| 97 |
#undef PACKAGE_NAME |
| 98 |
|
| 99 |
/* Define to the full name and version of this package. */ |
| 100 |
#undef PACKAGE_STRING |
| 101 |
|
| 102 |
/* Define to the one symbol short name of this package. */ |
| 103 |
#undef PACKAGE_TARNAME |
| 104 |
|
| 105 |
/* Define to the home page for this package. */ |
| 106 |
#undef PACKAGE_URL |
| 107 |
|
| 108 |
/* Define to the version of this package. */ |
| 109 |
#undef PACKAGE_VERSION |
| 110 |
|
| 111 |
/* Define to 1 if you have the ANSI C header files. */ |
| 112 |
#undef STDC_HEADERS |
| 113 |
|
| 114 |
/* Version number of package */ |
| 115 |
#undef VERSION |
| 116 |
|
| 117 |
/* Define to 1 if the X Window System is missing or not being used. */ |
| 118 |
#undef X_DISPLAY_MISSING |
| 119 |
|
| 120 |
|
| 121 |
/* |
| 122 |
* *************************************************************************** |
| 123 |
* Undo the damage done by the autoconf tools |
| 124 |
* *************************************************************************** |
| 125 |
*/ |
| 126 |
#undef HAVE_DLFCN_H |
| 127 |
#undef HAVE_INTTYPES_H |
| 128 |
#undef HAVE_MEMORY_H |
| 129 |
#undef HAVE_STDINT_H |
| 130 |
#undef HAVE_STDLIB_H |
| 131 |
#undef HAVE_STRINGS_H |
| 132 |
#undef HAVE_STRING_H |
| 133 |
#undef HAVE_SYS_STAT_H |
| 134 |
#undef HAVE_SYS_TYPES_H |
| 135 |
#undef HAVE_UNISTD_H |
| 136 |
|
| 137 |
/* |
| 138 |
* *************************************************************************** |
| 139 |
* Handle some additional window system and graphics things manually |
| 140 |
* *************************************************************************** |
| 141 |
*/ |
| 142 |
|
| 143 |
#if defined(WIN32) || defined(__WATCOMC__) |
| 144 |
# define HAVE_WIN32 |
| 145 |
# define POLYGON_OFFSET_MISSING 1 |
| 146 |
#endif |
| 147 |
|
| 148 |
#if defined(NeXT) || defined(__NeXT__) |
| 149 |
# define HAVE_NEXT |
| 150 |
#endif |
| 151 |
|
| 152 |
#if !defined(POLYGON_OFFSET_MISSING) |
| 153 |
# define HAVE_POLYGON_OFFSET |
| 154 |
#endif |
| 155 |
|
| 156 |
/* |
| 157 |
* *************************************************************************** |
| 158 |
* Define some RCS tag embedding and debug I/O macros |
| 159 |
* *************************************************************************** |
| 160 |
*/ |
| 161 |
|
| 162 |
/* Embedded RCS tags ("ident filename" prints module versions in filename) */ |
| 163 |
#if defined(HAVE_EMBED) |
| 164 |
# define VEMBED(rctag) \ |
| 165 |
VPRIVATE const char* rctag; \ |
| 166 |
static void* use_rcsid=(0 ? &use_rcsid : (void*)&rcsid); |
| 167 |
#else |
| 168 |
# define VEMBED(rctag) |
| 169 |
#endif |
| 170 |
|
| 171 |
/* Produce additional debugging I/O */ |
| 172 |
#if defined(HAVE_DEBUG) |
| 173 |
# define VDEBUGIO(str) fprintf(stderr,str) |
| 174 |
#else |
| 175 |
# define VDEBUGIO(str) |
| 176 |
#endif |
| 177 |
|
| 178 |
#endif /* _SGCF_H_ */ |
| 179 |
|