1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
|
/* ##################################################
# @(#) version.h
# @(#)
# @(#) Copyright (c) 1995-2001 by Dirk Hagedorn
# @(#) Dirk Hagedorn (udo@dirk-hagedorn.de)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#
# Compiler- und systemabhaengige Defines setzen
################################################## */
#ifndef VERSION_H
#define VERSION_H
/* ------------------------------------------------------------
Einige Flags um Neuentwicklungen zu (de)aktivieren
------------------------------------------------------------ */
#define USE_HTML_FOLDERS 0 /* Ordnerstruktur erzeugen? */
#define USE_OLD_BUILD_FILE 1 /* build_search_file() benutzen? */
#define USE_MYTEXTFILE 0 /* Eigene Dateiroutinen benutzen? */
/* ------------------------------------------------------------
Debugging-Flags
------------------------------------------------------------ */
#define CHECK_REPLACE_LEN 0 /* qreplace*() checken? */
/* ------------------------------------------------------------
Release-Nummer und Patchlevel setzen
------------------------------------------------------------ */
#define UDO_REL "6"
#define UDO_SUBVER "4"
#define UDO_PL "1"
#define UDO_URL "http://www.udo-open-source.org"
#define UDO_MADE "Made with UDO"
/* ------------------------------------------------------------
Copyright Meldung
------------------------------------------------------------ */
#define COPYRIGHT "Copyright (c) 1995-2001 by Dirk Hagedorn\nCopyright (c) 2001-2004 by The UDO community"
#define UDO_COPYRIGHT_TEXT "Copyright (!copyright) 1995-2001 by Dirk Hagedorn\t(!nl)\nCopyright (!copyright) 2001-2004 by The UDO community\t(!nl)\n"
/* ------------------------------------------------------------
Zeichensaetze
------------------------------------------------------------ */
#define CODE_LAT1 0 /* ISO Latin 1 */
#define CODE_DOS 1 /* IBM PC */
#define CODE_437 1 /* DOS Codepage 437 (wie IBM PC) */
#define CODE_TOS 2 /* Atari ST */
#define CODE_HP8 3 /* HP-Roman-8 */
#define CODE_MAC 4 /* Apple Macintosh */
#define CODE_NEXT 5 /* NextSTep */
#define CODE_850 6 /* DOS Codepage 850 */
#define CODE_UTF8 7 /* UTF-8 (BeOS) */
/* ------------------------------------------------------------
Compiler- und system abhaengige Dinge setzen
------------------------------------------------------------ */
#ifdef __TOS__
#define UDO_OS "TOS"
#define USE_SLASH 0
#define USE_LONG_FILENAMES 0
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_TOS
#define HAVE_STRUPR 1
#define HAVE_STRLWR 1
#define HAVE_STRICMP 1
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 0
#endif
#ifdef __MSDOS__
#define UDO_OS "DOS"
#define USE_SLASH 0
#define USE_LONG_FILENAMES 0
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_437
#define HAVE_STRUPR 1
#define HAVE_STRLWR 1
#define HAVE_STRICMP 1
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __MSDOS850__
#define UDO_OS "DOS"
#define USE_SLASH 0
#define USE_LONG_FILENAMES 0
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_850
#define HAVE_STRUPR 1
#define HAVE_STRLWR 1
#define HAVE_STRICMP 1
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __WIN32__
#define UDO_OS "Win32"
#define USE_SLASH 0
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 1
#define SYSTEM_CHARSET CODE_LAT1
#define HAVE_STRUPR 1
#define HAVE_STRLWR 1
#define HAVE_STRICMP 1
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __LINUX__
#define UDO_OS "Linux"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 1
#define SYSTEM_CHARSET CODE_LAT1
#define HAVE_STRUPR 0
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 0
#define HAVE_STRCASECMP 1
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __AMIGA__
#define UDO_OS "Amiga"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 1
#define SYSTEM_CHARSET CODE_LAT1
#define HAVE_STRUPR 0
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 1
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __SINIX__
#define UDO_OS "Sinix"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 1
#define SYSTEM_CHARSET CODE_LAT1
#define HAVE_STRUPR 1
#define HAVE_STRLWR 1
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 0
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __SUNOS__
#define UDO_OS "SunOS"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 1
#define SYSTEM_CHARSET CODE_LAT1
#define HAVE_STRUPR 0
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __IRIX__
#define UDO_OS "IRIX"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 1
#define SYSTEM_CHARSET CODE_LAT1
#define HAVE_STRUPR 0
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 1
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __HPUX_ISO__
#define UDO_OS "HP-UX"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 1
#define SYSTEM_CHARSET CODE_LAT1
#define HAVE_STRUPR 1
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 1
#define HAVE_SYS_ERRLIST 0
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __HPUX_ROMAN8__
#define UDO_OS "HP-UX"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_HP8
#define HAVE_STRUPR 1
#define HAVE_STRLWR 1
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 1
#define HAVE_SYS_ERRLIST 0
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __MACOS__
#define UDO_OS "MacOS"
#define USE_SLASH 0
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_MAC
#define HAVE_STRUPR 0
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 0
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 1
#define HAVE_TMPNAM 1
#endif
#ifdef __MACOSX__
#define UDO_OS "MacOSX"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_MAC
#define HAVE_STRUPR 0
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 0
#define HAVE_STRCASECMP 1
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __NEXTSTEP__
#define UDO_OS "NeXTStep"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_NEXT
#define HAVE_STRUPR 1
#define HAVE_STRLWR 1
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 1
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 0
#define HAVE_TMPNAM 1
#endif
#ifdef __BEOS__
#define UDO_OS "BeOS"
#define USE_SLASH 1
#define USE_LONG_FILENAMES 1
#define USE_LATIN1_CHARSET 0
#define SYSTEM_CHARSET CODE_UTF8
#define HAVE_STRUPR 0
#define HAVE_STRLWR 0
#define HAVE_STRICMP 0
#define HAVE_STRNICMP 1
#define HAVE_STRCASECMP 0
#define HAVE_SYS_ERRLIST 0
#define HAVE_STRERROR 1
#define USE_SETFILETYPE 1
#define HAVE_TMPNAM 1
#endif
#endif /* VERSION_H */
/* ------------------------------------------------------------
Definitionen testen und ggf. abbrechen, falls etwas nicht
angelegt wurde.
------------------------------------------------------------ */
#ifndef UDO_OS
#error "UDO_OS not defined!"
#endif
#ifndef USE_SLASH
#error "USE_SLASH not defined!"
#endif
#ifndef USE_LONG_FILENAMES
#error "USE_LONG_FILENAMES not defined!"
#endif
#ifndef USE_LATIN1_CHARSET
#error "USE_LATIN1_CHARSET not defined!"
#endif
#ifndef SYSTEM_CHARSET
#error "SYSTEM_CHARSET not defined!"
#endif
#ifndef HAVE_STRUPR
#error "HAVE_STRUPR not defined!"
#endif
#ifndef HAVE_STRLWR
#error "HAVE_STRLWR not defined!"
#endif
#ifndef HAVE_STRICMP
#error "HAVE_STRICMP not defined!"
#endif
#ifndef HAVE_STRNICMP
#error "HAVE_STRNICMP not defined!"
#endif
#ifndef HAVE_STRCASECMP
#error "HAVE_STRCASECMP not defined!"
#endif
#ifndef HAVE_SYS_ERRLIST
#error "HAVE_SYS_ERRLIST not defined!"
#endif
#ifndef HAVE_STRERROR
#error "HAVE_STRERROR not defined!"
#endif
#ifndef USE_SETFILETYPE
#error "USE_SETFILETYPE not defined!"
#endif
#ifndef HAVE_TMPNAM
#error "HAVE_TMPNAM not defined!"
#endif
|