mirror of https://github.com/BOINC/boinc.git
381 lines
11 KiB
C
381 lines
11 KiB
C
// This file is part of BOINC.
|
|
// http://boinc.berkeley.edu
|
|
// Copyright (C) 2008 University of California
|
|
//
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
// under the terms of the GNU Lesser General Public License
|
|
// as published by the Free Software Foundation,
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
//
|
|
// BOINC 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 Lesser General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
/* config.h - Prebuilt configuration info for Macintosh BOINC */
|
|
/* Adapted from config.h generated by configure. */
|
|
|
|
|
|
/* double-inclusion protection for config.h */
|
|
#ifndef BOINC_CONFIG_H
|
|
#define BOINC_CONFIG_H
|
|
|
|
/* Version defines are now in version.h */
|
|
#include "version.h"
|
|
|
|
|
|
|
|
/* Define to the type pointed to by the 5th parameter of getsockopt */
|
|
#define BOINC_SOCKLEN_T socklen_t
|
|
|
|
/* Use the Apple OpenGL framework. */
|
|
#define HAVE_APPLE_OPENGL_FRAMEWORK 1
|
|
|
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
|
#define HAVE_ARPA_INET_H 1
|
|
|
|
/* Define to 1 if you have the <dirent.h> header file. */
|
|
#define HAVE_DIRENT_H 1
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#define HAVE_DLFCN_H 1
|
|
|
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
|
/* #undef HAVE_DOPRNT */
|
|
|
|
/* Define to 1 if you have the <errno.h> header file. */
|
|
#define HAVE_ERRNO_H 1
|
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
#define HAVE_FCNTL_H 1
|
|
|
|
/* Define to 1 if you have the `flock' function. */
|
|
#define HAVE_FLOCK 1
|
|
|
|
/* Define to 1 if you have the `getutent' function. */
|
|
/* #undef HAVE_GETUTENT */
|
|
|
|
/* Define to 1 if you have the <glaux.h> header file. */
|
|
/* #undef HAVE_GLAUX_H */
|
|
|
|
/* Define to 1 if you have the <GLUT/glut.h> header file. */
|
|
#define HAVE_GLUT_GLUT_H 1
|
|
|
|
/* Define to 1 if you have the <glut.h> header file. */
|
|
/* #undef HAVE_GLUT_H */
|
|
|
|
/* Define to 1 if you have the <glu.h> header file. */
|
|
/* #undef HAVE_GLU_H */
|
|
|
|
/* Define to 1 if you have the <GL/glaux.h> header file. */
|
|
/* #undef HAVE_GL_GLAUX_H */
|
|
|
|
/* Define to 1 if you have the <GL/glut.h> header file. */
|
|
/* #undef HAVE_GL_GLUT_H */
|
|
|
|
/* Define to 1 if you have the <GL/glu.h> header file. */
|
|
/* #undef HAVE_GL_GLU_H */
|
|
|
|
/* Define to 1 if you have the <GL/gl.h> header file. */
|
|
/* #undef HAVE_GL_GL_H */
|
|
|
|
/* Define to 1 if you have the <gl.h> header file. */
|
|
/* #undef HAVE_GL_H */
|
|
|
|
/* Define to 1 if you have the <ieeefp.h> header file. */
|
|
/* #undef HAVE_IEEEFP_H */
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
/* Define to 1 if you have the c library */
|
|
#define HAVE_LIBC 1
|
|
|
|
/* Define to 1 if you have the gcc library */
|
|
#define HAVE_LIBGCC 1
|
|
|
|
/* Define to 1 if you have the gcc_eh library */
|
|
#define HAVE_LIBGCC_EH 1
|
|
|
|
/* Define to 1 if you have the math library */
|
|
#define HAVE_LIBM 1
|
|
|
|
/* Define to 1 if you have the pthread library */
|
|
#define HAVE_LIBPTHREAD 1
|
|
|
|
/* Define to 1 if you have the stdc++ library */
|
|
#define HAVE_LIBSTDC__ 1
|
|
|
|
/* Define to 1 if you have the `lockf' function. */
|
|
#define HAVE_LOCKF 1
|
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
/* #undef HAVE_MALLOC_H */
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if you have the <MesaGL/glaux.h> header file. */
|
|
/* #undef HAVE_MESAGL_GLAUX_H */
|
|
|
|
/* Define to 1 if you have the <MesaGL/glut.h> header file. */
|
|
/* #undef HAVE_MESAGL_GLUT_H */
|
|
|
|
/* Define to 1 if you have the <MesaGL/glu.h> header file. */
|
|
/* #undef HAVE_MESAGL_GLU_H */
|
|
|
|
/* Define to 1 if you have the <MesaGL/gl.h> header file. */
|
|
/* #undef HAVE_MESAGL_GL_H */
|
|
|
|
/* Define if your C++ compiler supports namespaces */
|
|
#define HAVE_NAMESPACES 1
|
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
|
/* #undef HAVE_NDIR_H */
|
|
|
|
/* Define to 1 if you have the <netdb.h> header file. */
|
|
#define HAVE_NETDB_H 1
|
|
|
|
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
#define HAVE_NETINET_IN_H 1
|
|
|
|
/* Define to 1 if you have the <netinet/tcp.h> header file. */
|
|
#define HAVE_NETINET_TCP_H 1
|
|
|
|
/* Define to 1 if you have the <OpenGL/glaux.h> header file. */
|
|
/* #undef HAVE_OPENGL_GLAUX_H */
|
|
|
|
/* Define to 1 if you have the <OpenGL/glut.h> header file. */
|
|
/* #undef HAVE_OPENGL_GLUT_H */
|
|
|
|
/* Define to 1 if you have the <OpenGL/glu.h> header file. */
|
|
#define HAVE_OPENGL_GLU_H 1
|
|
|
|
/* Define to 1 if you have the <OpenGL/gl.h> header file. */
|
|
#define HAVE_OPENGL_GL_H 1
|
|
|
|
/* Define to 1 if you have the <procfs.h> header file. */
|
|
/* #undef HAVE_PROCFS_H */
|
|
|
|
/* Define if you have POSIX threads libraries and header files. */
|
|
#define HAVE_PTHREAD 1
|
|
|
|
/* Define to 1 if you have the `setpriority' function. */
|
|
#define HAVE_SETPRIORITY 1
|
|
|
|
/* Define to 1 if you have the `setutent' function. */
|
|
/* #undef HAVE_SETUTENT */
|
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
|
#define HAVE_SIGACTION 1
|
|
|
|
/* Define to 1 if you have the <signal.h> header file. */
|
|
#define HAVE_SIGNAL_H 1
|
|
|
|
/* Define to 1 if the system has the type `socklen_t'. */
|
|
#define HAVE_SOCKLEN_T 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#define HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if locale is in namespace std:: */
|
|
#define HAVE_STD_LOCALE 1
|
|
|
|
/* Define to 1 if max is in namespace std:: */
|
|
#define HAVE_STD_MAX 1
|
|
|
|
/* Define to 1 if min is in namespace std:: */
|
|
#define HAVE_STD_MIN 1
|
|
|
|
/* Define to 1 if transform is in namespace std:: */
|
|
#define HAVE_STD_TRANSFORM 1
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the `strlcat' function. */
|
|
#define HAVE_STRLCAT 1
|
|
|
|
/* Define to 1 if you have the `strlcpy' function. */
|
|
#define HAVE_STRLCPY 1
|
|
|
|
/* Define to 1 if `tm_zone' is member of `struct tm'. */
|
|
#define HAVE_STRUCT_TM_TM_ZONE 1
|
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
*/
|
|
/* #undef HAVE_SYS_DIR_H */
|
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
|
#define HAVE_SYS_FILE_H 1
|
|
|
|
/* Define to 1 if you have the <sys/ipc.h> header file. */
|
|
#define HAVE_SYS_IPC_H 1
|
|
|
|
/* Define to 1 if you have the <sys/mount.h> header file. */
|
|
#define HAVE_SYS_MOUNT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
*/
|
|
/* #undef HAVE_SYS_NDIR_H */
|
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
#define HAVE_SYS_PARAM_H 1
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
#define HAVE_SYS_RESOURCE_H 1
|
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
#define HAVE_SYS_SELECT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/shm.h> header file. */
|
|
#define HAVE_SYS_SHM_H 1
|
|
|
|
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
#define HAVE_SYS_SOCKET_H 1
|
|
|
|
/* Define to 1 if you have the <sys/statfs.h> header file. */
|
|
/* #undef HAVE_SYS_STATFS_H */
|
|
|
|
/* Define to 1 if you have the <sys/statvfs.h> header file. */
|
|
/* #undef HAVE_SYS_STATVFS_H */
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/swap.h> header file. */
|
|
/* #undef HAVE_SYS_SWAP_H */
|
|
|
|
/* Define to 1 if you have the <sys/sysctl.h> header file. */
|
|
#define HAVE_SYS_SYSCTL_H 1
|
|
|
|
/* Define to 1 if you have the <sys/systeminfo.h> header file. */
|
|
/* #undef HAVE_SYS_SYSTEMINFO_H */
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
#define HAVE_SYS_TIME_H 1
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <sys/utsname.h> header file. */
|
|
#define HAVE_SYS_UTSNAME_H 1
|
|
|
|
/* Define to 1 if you have the <sys/vmmeter.h> header file. */
|
|
#define HAVE_SYS_VMMETER_H 1
|
|
|
|
/* Define to 1 if you have the <sys/wait.h> header file. */
|
|
#define HAVE_SYS_WAIT_H 1
|
|
|
|
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
|
|
`HAVE_STRUCT_TM_TM_ZONE' instead. */
|
|
#define HAVE_TM_ZONE 1
|
|
|
|
/* Define to 1 if you don't have `tm_zone' but do have the external array
|
|
`tzname'. */
|
|
/* #undef HAVE_TZNAME */
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
/* Define to 1 if you have the <utmp.h> header file. */
|
|
#define HAVE_UTMP_H 1
|
|
|
|
/* Define to 1 if you have the `vprintf' function. */
|
|
#define HAVE_VPRINTF 1
|
|
|
|
/* Define to 1 if you have the `wait3' system call. Deprecated, you should no
|
|
longer depend upon `wait3'. */
|
|
#define HAVE_WAIT3 1
|
|
|
|
/* Define to 1 if you have the `wait4' function. */
|
|
#define HAVE_WAIT4 1
|
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
|
/* #undef HAVE_WINDOWS_H */
|
|
|
|
/* Define to 1 if /dev/kbd exists */
|
|
/* #undef HAVE__DEV_KBD */
|
|
|
|
/* Define to 1 if /dev/mouse exists */
|
|
/* #undef HAVE__DEV_MOUSE */
|
|
|
|
/* Define to 1 if /dev/tty1 exists */
|
|
/* #undef HAVE__DEV_TTY1 */
|
|
|
|
/* Define to 1 if /proc/meminfo exists */
|
|
/* #undef HAVE__PROC_MEMINFO */
|
|
|
|
/* Define to 1 if /proc/self/psinfo exists */
|
|
/* #undef HAVE__PROC_SELF_PSINFO */
|
|
|
|
/* Define to 1 if /proc/self/stat exists */
|
|
/* #undef HAVE__PROC_SELF_STAT */
|
|
|
|
/* Host for this compilation */
|
|
#ifdef __ppc__
|
|
#define HOSTTYPE "powerpc-apple-darwin"
|
|
#endif
|
|
|
|
#ifdef __i386__
|
|
#define HOSTTYPE "i686-apple-darwin"
|
|
#endif
|
|
|
|
#ifdef __x86_64__
|
|
#define HOSTTYPE "x86_64-apple-darwin"
|
|
#endif
|
|
|
|
/* "Define to 1 if largefile support causes missing symbols in C++" */
|
|
/* #undef LARGEFILE_BREAKS_CXX */
|
|
|
|
/* Define to the necessary symbol if this constant uses a non-standard name on
|
|
your system. */
|
|
/* #undef PTHREAD_CREATE_JOINABLE */
|
|
|
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
#define RETSIGTYPE void
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
#define TIME_WITH_SYS_TIME 1
|
|
|
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
/* #undef TM_IN_SYS_TIME */
|
|
|
|
/* utmp file location */
|
|
#define UTMP_LOCATION "/var/run/utmp"
|
|
|
|
/* Define to 1 if the X Window System is missing or not being used. */
|
|
/* #undef X_DISPLAY_MISSING */
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
/* #undef _FILE_OFFSET_BITS */
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
/* #undef _LARGE_FILES */
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
/* #undef const */
|
|
|
|
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
/* #undef size_t */
|
|
|
|
|
|
/* include fixes for the most common problems */
|
|
#include "std_fixes.h"
|
|
|
|
/* end double-inclusion protection for config.h */
|
|
#endif /* #ifndef BOINC_CONFIG_H */
|
|
|