Atrinik Server 2.5
include/cmake.h
00001 /************************************************************************
00002 *            Atrinik, a Multiplayer Online Role Playing Game            *
00003 *                                                                       *
00004 *    Copyright (C) 2009-2011 Alex Tokar and Atrinik Development Team    *
00005 *                                                                       *
00006 * Fork from Daimonin (Massive Multiplayer Online Role Playing Game)     *
00007 * and Crossfire (Multiplayer game for X-windows).                       *
00008 *                                                                       *
00009 * This program is free software; you can redistribute it and/or modify  *
00010 * it under the terms of the GNU General Public License as published by  *
00011 * the Free Software Foundation; either version 2 of the License, or     *
00012 * (at your option) any later version.                                   *
00013 *                                                                       *
00014 * This program is distributed in the hope that it will be useful,       *
00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00017 * GNU General Public License for more details.                          *
00018 *                                                                       *
00019 * You should have received a copy of the GNU General Public License     *
00020 * along with this program; if not, write to the Free Software           *
00021 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.             *
00022 *                                                                       *
00023 * The author can be reached at admin@atrinik.org                        *
00024 ************************************************************************/
00025 
00026 #ifndef CMAKE_H
00027 #define CMAKE_H
00028 
00029 /* Is pthread available? */
00030 /* #undef HAVE_THREADS */
00031 
00032 /* Is cURL available? */
00033 #define HAVE_CURL
00034 
00035 /* Is zlib available? */
00036 #define HAVE_ZLIB
00037 
00038 /* Is crypt available? */
00039 #define HAVE_CRYPT
00040 
00041 /* Is libcheck (unit tests) available? */
00042 #define HAVE_CHECK
00043 
00044 /* Build the world maker module? */
00045 #define HAVE_WORLD_MAKER
00046 
00047 /* Are we compiling on GNU/Linux? */
00048 #define LINUX
00049 
00050 /* The size of 'long'. */
00051 #define SIZEOF_LONG 8
00052 
00053 /* The size of 'long long'. */
00054 #define SIZEOF_LONG_LONG 8
00055 
00056 /* Name of the package. */
00057 #define PACKAGE_NAME "Atrinik Server"
00058 
00059 /* Version of the package. */
00060 #define PACKAGE_VERSION "2.0"
00061 
00062 #ifndef HAVE_FCNTL_H
00063 #define HAVE_FCNTL_H
00064 #endif
00065 
00066 #ifndef HAVE_UNISTD_H
00067 #define HAVE_UNISTD_H
00068 #endif
00069 
00070 #ifndef HAVE_SYS_TIME_H
00071 #define HAVE_SYS_TIME_H
00072 #endif
00073 
00074 #ifndef HAVE_TIME_H
00075 #define HAVE_TIME_H
00076 #endif
00077 
00078 #ifndef HAVE_STDDEF_H
00079 #define HAVE_STDDEF_H
00080 #endif
00081 
00082 #ifndef HAVE_DIRENT_H
00083 #define HAVE_DIRENT_H
00084 #endif
00085 
00086 #ifndef HAVE_SYS_NDIR_H
00087 /* #undef HAVE_SYS_NDIR_H */
00088 #endif
00089 
00090 #ifndef HAVE_SYS_NDIR_H
00091 #define HAVE_SYS_DIR_H
00092 #endif
00093 
00094 #ifndef HAVE_NDIR_H
00095 /* #undef HAVE_NDIR_H */
00096 #endif
00097 
00098 #ifndef HAVE_CRYPT_H
00099 #define HAVE_CRYPT_H
00100 #endif
00101 
00102 #ifndef HAVE_ARPA_INET_H
00103 #define HAVE_ARPA_INET_H
00104 #endif
00105 
00106 #ifndef HAVE_STRERROR
00107 #define HAVE_STRERROR
00108 #endif
00109 
00110 #ifndef HAVE_STRCASECMP
00111 #define HAVE_STRCASECMP
00112 #endif
00113 
00114 #ifndef HAVE_STRNCASECMP
00115 #define HAVE_STRNCASECMP
00116 #endif
00117 
00118 #ifndef HAVE_STRICMP
00119 /* #undef HAVE_STRICMP */
00120 #endif
00121 
00122 #ifndef HAVE_STRNICMP
00123 /* #undef HAVE_STRNICMP */
00124 #endif
00125 
00126 #ifndef HAVE_SRANDOM
00127 #define HAVE_SRANDOM
00128 #endif
00129 
00130 #ifndef HAVE_SRAND48
00131 #define HAVE_SRAND48
00132 #endif
00133 
00134 #ifndef HAVE_SRAND
00135 #define HAVE_SRAND
00136 #endif
00137 
00138 #ifndef HAVE_GETDTABLESIZE
00139 #define HAVE_GETDTABLESIZE
00140 #endif
00141 
00142 #ifndef HAVE_SYSCONF
00143 #define HAVE_SYSCONF
00144 #endif
00145 
00146 #define COMPRESS "COMPRESS-NOTFOUND"
00147 #define UNCOMPRESS "/bin/uncompress"
00148 #define GZIP "/bin/gzip"
00149 #define GUNZIP "/bin/gunzip"
00150 #define BZIP "/bin/bzip2"
00151 #define BUNZIP ""
00152 
00153 #define PLUGIN_SUFFIX ".so"
00154 
00155 #endif