Back to index

wims  3.65+svn20090927
confcheck.c
Go to the documentation of this file.
00001 /*    Copyright (C) 1998-2003 XIAO, Gang of Universite de Nice - Sophia Antipolis
00002  *
00003  *  This program is free software; you can redistribute it and/or modify
00004  *  it under the terms of the GNU General Public License as published by
00005  *  the Free Software Foundation; either version 2 of the License, or
00006  *  (at your option) any later version.
00007  *
00008  *  This program is distributed in the hope that it will be useful,
00009  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  *  GNU General Public License for more details.
00012  *
00013  *  You should have received a copy of the GNU General Public License
00014  *  along with this program; if not, write to the Free Software
00015  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00016  */
00017 
00018        /* Nothing but check configure output, to see
00019         * whether there are some missing functions in the system. */
00020 
00021   /* Common: WIMS cannot be installed on your system. Please report. */
00022 
00023 #include "config.h"
00024 
00025        /* Check system service functions */
00026 
00027 #ifndef HAVE_ALARM
00028  #error Function alarm() unavailable. WIMS cannot be installed on your system. Please report.
00029 #endif
00030 
00031 #ifndef HAVE_FLOOR
00032  #error Function floor() unavailable. WIMS cannot be installed on your system. Please report.
00033 #endif
00034 
00035 #ifndef HAVE_GETCWD
00036  #error Function getcwd() unavailable. WIMS cannot be installed on your system. Please report.
00037 #endif
00038 
00039 #ifndef HAVE_GETTIMEOFDAY
00040  #error Function gettimeofday() unavailable. WIMS cannot be installed on your system. Please report.
00041 #endif
00042 
00043 #ifndef HAVE_MALLOC
00044  #error Function malloc() unavailable. WIMS cannot be installed on your system. Please report.
00045 #endif
00046 
00047 #ifndef HAVE_MEMMOVE
00048  #error Function memmove() unavailable. WIMS cannot be installed on your system. Please report.
00049 #endif
00050 
00051 #ifndef HAVE_MEMSET
00052  #error Function memset() unavailable. WIMS cannot be installed on your system. Please report.
00053 #endif
00054 
00055 #ifndef HAVE_MKDIR
00056  #error Function mkdir() unavailable. WIMS cannot be installed on your system. Please report.
00057 #endif
00058 
00059 #ifndef HAVE_POW
00060  #error Function pow() unavailable. WIMS cannot be installed on your system. Please report.
00061 #endif
00062 
00063 #ifndef HAVE_REALLOC
00064  #error Function realloc() unavailable. WIMS cannot be installed on your system. Please report.
00065 #endif
00066 
00067 #ifndef HAVE_RINT
00068  #error Function rint() unavailable. WIMS cannot be installed on your system. Please report.
00069 #endif
00070 
00071 #ifndef HAVE_RMDIR
00072  #error Function rmdir() unavailable. WIMS cannot be installed on your system. Please report.
00073 #endif
00074 
00075 #ifndef HAVE_SELECT
00076  #error Function select() unavailable. WIMS cannot be installed on your system. Please report.
00077 #endif
00078 
00079 #ifndef HAVE_SQRT
00080  #error Function sqrt() unavailable. WIMS cannot be installed on your system. Please report.
00081 #endif
00082 
00083 #ifndef HAVE_STRNCASECMP
00084  #error Function strncasecmp() unavailable. WIMS cannot be installed on your system. Please report.
00085 #endif
00086 
00087 #ifndef HAVE_STRRCHR
00088  #error Function strrchr() unavailable. WIMS cannot be installed on your system. Please report.
00089 #endif
00090 
00091 #ifndef HAVE_STRPBRK
00092  #error Function strpbrk() unavailable. WIMS cannot be installed on your system. Please report.
00093 #endif
00094 
00095 #ifndef HAVE_STRSTR
00096  #error Function strstr() unavailable. WIMS cannot be installed on your system. Please report.
00097 #endif
00098 
00099 #ifndef HAVE_UTIME_NULL
00100  #error Function utime() unavailable. WIMS cannot be installed on your system. Please report.
00101 #endif
00102 
00103 #ifndef HAVE_WORKING_FORK
00104  #error Function fork() unavailable or not working. WIMS cannot be installed on your system. Please report.
00105 #endif
00106 
00107        /* Now libraries */
00108 
00109 #ifndef HAVE_LIBM
00110  #error Math library libm unavailable. WIMS cannot be installed on your system. Please report.
00111 #endif
00112 
00113        /* Now header files */
00114 
00115 #ifndef STDC_HEADERS
00116  #error ANSI C header files unavailable. WIMS cannot be installed on your system. Please report.
00117 #endif
00118 
00119 #ifndef HAVE_UNISTD_H
00120  #error Header file unistd.h unavailable. WIMS cannot be installed on your system. Please report.
00121 #endif