00001 /* xbase/xbconfig.h. Generated automatically by configure. */ 00002 /* xbase/xbconfig.h.in. Generated automatically from configure.in by autoheader. */ 00003 00004 /* Define if on AIX 3. 00005 System headers sometimes define this. 00006 We just want to avoid a redefinition error message. */ 00007 #ifndef _ALL_SOURCE 00008 /* #undef _ALL_SOURCE */ 00009 #endif 00010 00011 /* Define if on MINIX. */ 00012 /* #undef _MINIX */ 00013 00014 /* Define if the system does not provide POSIX.1 features except 00015 with this defined. */ 00016 /* #undef _POSIX_1_SOURCE */ 00017 00018 /* Define if you need to in order for stat and other things to work. */ 00019 /* #undef _POSIX_SOURCE */ 00020 00021 /* Define if you have the ANSI C header files. */ 00022 #define STDC_HEADERS 1 00023 00024 /* Define if you can safely include both <sys/time.h> and <time.h>. */ 00025 #define TIME_WITH_SYS_TIME 1 00026 00027 /* Define if the C++ compiler supports BOOL */ 00028 #define HAVE_BOOL 1 00029 00030 /* define if you have setenv */ 00031 #define HAVE_FUNC_SETENV 1 00032 00033 /* Define if you need the GNU extensions to compile */ 00034 #define _GNU_SOURCE 1 00035 00036 /* Define if you need to have .ndx indexes */ 00037 #define XB_INDEX_NDX 1 00038 00039 /* Define if you need to have .ntx indexes */ 00040 #define XB_INDEX_NTX 1 00041 00042 /* Define if you need to support memo fields */ 00043 #define XB_MEMO_FIELDS 1 00044 00045 /* Define if you need expressions */ 00046 #define XB_EXPRESSIONS 1 00047 00048 /* Define if you need html support */ 00049 #define XB_HTML 1 00050 00051 /* Define if you need locking support */ 00052 //#define XB_LOCKING_ON 0 00053 00054 /* Define if you need to turn on XBase specific debug */ 00055 #define XBASE_DEBUG 1 00056 00057 /* Define if your compiler support exceptions */ 00058 /* #undef HAVE_EXCEPTIONS */ 00059 00060 /* Define if you want Castellano (Spanish) Dates */ 00061 /* #undef XB_CASTELLANO */ 00062 00063 /* Define if using real deletes */ 00064 #define XB_REAL_DELETE 1 00065 00066 /* Define if need filters */ 00067 #define XB_FILTERS 1 00068 00069 /* Define if you have the fcntl function. */ 00070 #define HAVE_FCNTL 1 00071 00072 /* Define if you have the flock function. */ 00073 #define HAVE_FLOCK 1 00074 00075 /* Define if you have the getdomainname function. */ 00076 #define HAVE_GETDOMAINNAME 1 00077 00078 /* Define if you have the snprintf function. */ 00079 #define HAVE_SNPRINTF 1 00080 00081 /* Define if you have the socket function. */ 00082 #define HAVE_SOCKET 1 00083 00084 /* Define if you have the strcasecmp function. */ 00085 #define HAVE_STRCASECMP 1 00086 00087 /* Define if you have the vsnprintf function. */ 00088 //#define HAVE_VSNPRINTF 1 00089 00090 /* Define if you have the vsprintf function. */ 00091 #define HAVE_VSPRINTF 1 00092 00093 /* Define if you have the <ctype.h> header file. */ 00094 #define HAVE_CTYPE_H 1 00095 00096 /* Define if you have the <dirent.h> header file. */ 00097 #define HAVE_DIRENT_H 1 00098 00099 /* Define if you have the <exception> header file. */ 00100 #define HAVE_EXCEPTION 1 00101 00102 /* Define if you have the <fcntl.h> header file. */ 00103 #define HAVE_FCNTL_H 1 00104 00105 /* Define if you have the <g++/exception.h> header file. */ 00106 /* #undef HAVE_G___EXCEPTION_H */ 00107 00108 /* Define if you have the <io.h> header file. */ 00109 /* #undef HAVE_IO_H */ 00110 00111 /* Define if you have the <ndir.h> header file. */ 00112 /* #undef HAVE_NDIR_H */ 00113 00114 /* Define if you have the <stdarg.h> header file. */ 00115 #define HAVE_STDARG_H 1 00116 00117 /* Define if you have the <string.h> header file. */ 00118 #define HAVE_STRING_H 1 00119 00120 /* Define if you have the <strings.h> header file. */ 00121 //#define HAVE_STRINGS_H 1 00122 00123 /* Define if you have the <sys/dir.h> header file. */ 00124 /* #undef HAVE_SYS_DIR_H */ 00125 00126 /* Define if you have the <sys/locking.h> header file. */ 00127 /* #undef HAVE_SYS_LOCKING_H */ 00128 00129 /* Define if you have the <sys/ndir.h> header file. */ 00130 /* #undef HAVE_SYS_NDIR_H */ 00131 00132 /* Define if you have the <sys/types.h> header file. */ 00133 #define HAVE_SYS_TYPES_H 1 00134 00135 /* Define if you have the <tvision/tv.h> header file. */ 00136 /* #undef HAVE_TVISION_TV_H */ 00137 00138 /* Name of package */ 00139 #define PACKAGE "xbase" 00140 00141 /* Version number of package */ 00142 #define VERSION "2.0.0" 00143 00144 00145 /* Should we include generic index support? */ 00146 #if defined(XB_INDEX_NDX) || defined(XB_INDEX_NTX) 00147 #define XB_INDEX_ANY 1 00148 #endif 00149 00150 /* expressions required for indexes */ 00151 #if defined(XB_INDEX_ANY) && !defined(XB_EXPRESSIONS) 00152 #define XB_EXPRESSIONS 1 00153 #endif 00154 00155 /* default memo block size */ 00156 #define XB_DBT_BLOCK_SIZE 512 00157 00158 /* filename path separator */ 00159 #define PATH_SEPARATOR '/' 00160 00161 #ifndef HAVE_BOOL 00162 #define HAVE_BOOL 1 00163 typedef int bool; 00164 const bool false = 0; 00165 const bool true = 1; 00166 #endif