"Fossies" - the Fresh Open Source Software Archive

Member "Pansophica-src-1.3/BAF_modules/som_lvq/src/solaris/br_som_config.h" (31 Jan 2008, 3797 Bytes) of package /linux/www/old/Pansophica-src-1.3-1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "br_som_config.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef _INCLUDED_CONFIG_H
    2 #define _INCLUDED_CONFIG_H
    3 /************************************************************************
    4  *                                                                      *
    5  *  Program packages 'lvq_pak' and 'som_pak' :                          *
    6  *                                                                      *
    7  *  config.h                                                            *
    8  *   - configuration options for SOM/LVQ_PAK                            *
    9  *                                                                      *
   10  *  Version 3.0                                                         *
   11  *  Date: 1 Mar 1995                                                    *
   12  *                                                                      *
   13  *  NOTE: This program package is copyrighted in the sense that it      *
   14  *  may be used for scientific purposes. The package as a whole, or     *
   15  *  parts thereof, cannot be included or used in any commercial         *
   16  *  application without written permission granted by its producents.   *
   17  *  No programs contained in this package may be copied for commercial  *
   18  *  distribution.                                                       *
   19  *                                                                      *
   20  *  All comments  concerning this program package may be sent to the    *
   21  *  e-mail address 'lvq@cochlea.hut.fi'.                                *
   22  *                                                                      *
   23  ************************************************************************/
   24 
   25 /* In files giving an x instead of a value marks that component to be
   26    ignored in calculations. The default is 'x'. If you want to change
   27    the string remove the comments around the line below and change it
   28    to whatever you like. Defining MASKED_VALUE here overrides the
   29    default in file datafile.h. This value can also be overridden with
   30    a command line option or with environment variable, see docs for
   31    details. */
   32 
   33 #ifndef MASKED_VALUE
   34 /* #define MASKED_VALUE "x" */
   35 #endif /* MASKED_VALUE */
   36 
   37 /* Machine / OS dependent options */
   38 
   39 /* Default commands for compressing and uncompressing files in
   40    environments that support it. Defining these values here override
   41    the defaults in file fileio.h. These values can also be with a
   42    command line option or with environment variables, see docs for
   43    details. */
   44 
   45 #ifndef DEF_COMPRESS_COM
   46 #define DEF_COMPRESS_COM "gzip -9 -c >%s"
   47 #endif /* DEF_COMPRESS_COM */
   48 #ifndef DEF_UNCOMPRESS_COM
   49 #define DEF_UNCOMPRESS_COM "gzip -d -c %s"
   50 #endif /* DEF_UNCOMPRESS_COM */
   51 
   52 /* options for MSDOS */
   53 
   54 #ifdef __MSDOS__
   55 #ifndef MSDOS
   56 #define MSDOS
   57 #endif
   58 #endif /* __MSDOS__ */
   59 
   60 #ifdef MSDOS
   61 
   62 /* MSDOS doesn't have popen so compression and piped commands don't
   63    work. Undefine this if you have popen */
   64 
   65 #define NO_PIPED_COMMANDS
   66 
   67 /* Borland C doesn't have strcasecmp but has the function strcmpi that
   68    does the same thing */
   69 
   70 #define strcasecmp(s1,s2) strcmpi(s1,s2)
   71 
   72 #endif /* MSDOS */
   73 
   74 /* definitions needed to get the program name in various environments */
   75 
   76 /* the character that separates different directories in path name */
   77 #ifndef DIRSEPARATOR
   78 #if defined MSDOS
   79 #define DIRSEPARATOR '\\'
   80 #else /* other OSes */
   81 #define DIRSEPARATOR '/'
   82 #endif 
   83 #endif
   84 
   85 /* character that separates the drive part from the directory part */
   86 #ifndef DRIVESEPARATOR
   87 #if defined MSDOS
   88 #define DRIVESEPARATOR ':'
   89 #elif defined __amigados__
   90 #define DRIVESEPARATOR ':'
   91 #else /* other OSes */
   92 /* not used */
   93 #endif 
   94 #endif
   95 
   96 /* character that separates the filename suffix from the filename */
   97 #ifndef SUFFIXSEPARATOR
   98 #if defined MSDOS
   99 #define SUFFIXSEPARATOR '.'
  100 #else /* other OSes */
  101 /* not used */
  102 #endif 
  103 #endif
  104 
  105 #endif /* _INCLUDED_CONFIG_H */