mirror of https://github.com/BOINC/boinc.git
reversion to earlier configure script and win_config.h
svn path=/trunk/boinc/; revision=4753
This commit is contained in:
parent
590e2cac10
commit
116e6e5b26
326
configure.ac
326
configure.ac
|
@ -8,40 +8,10 @@ dnl directory; the _autosetup script does this.
|
||||||
dnl not sure exactly what the minimum version is (but 2.13 won't work)
|
dnl not sure exactly what the minimum version is (but 2.13 won't work)
|
||||||
AC_PREREQ(2.57)
|
AC_PREREQ(2.57)
|
||||||
|
|
||||||
dnl Set the BOINC version here. You can also use the set-version script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
AC_INIT(BOINC, 4.57)
|
AC_INIT(BOINC, 2.02)
|
||||||
|
|
||||||
AC_ARG_ENABLE(server,
|
echo "--- Configuring BOINC AC_PACKAGE_VERSION ---"
|
||||||
AC_HELP_STRING([--disable-server],
|
|
||||||
[disable building the scheduling server]),
|
|
||||||
[],
|
|
||||||
[enable_server=yes])
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(client,
|
|
||||||
AC_HELP_STRING([--disable-client],
|
|
||||||
[disable building the client]),
|
|
||||||
[],
|
|
||||||
[enable_client=yes])
|
|
||||||
|
|
||||||
m4_divert_once([HELP_ENABLE],
|
|
||||||
AC_HELP_STRING([], [Default: --enable-server --enable-client:
|
|
||||||
builds both server and client]))
|
|
||||||
|
|
||||||
if test "${enable_server}" = yes ; then
|
|
||||||
if test "${enable_client}" = yes ; then
|
|
||||||
configured_to_build='server & client'
|
|
||||||
else
|
|
||||||
configured_to_build='server only'
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if test "${enable_client}" = yes ; then
|
|
||||||
configured_to_build='client only'
|
|
||||||
else
|
|
||||||
echo "You've disabled both the server and the client -- only BOINC-libraries will be built!" >&2
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "--- Configuring BOINC AC_PACKAGE_VERSION (${configured_to_build}) ---"
|
|
||||||
|
|
||||||
AC_CANONICAL_SYSTEM
|
AC_CANONICAL_SYSTEM
|
||||||
|
|
||||||
|
@ -73,142 +43,61 @@ Contributor(s):
|
||||||
|
|
||||||
AC_REVISION([$Revision$])
|
AC_REVISION([$Revision$])
|
||||||
|
|
||||||
AC_DEFUN([KC_STRIP_LEADING_ZEROS],[m4_bregexp([$*],[^0*\(..*\)],\1)])
|
AC_SUBST(MAJOR_VERSION, `echo AC_PACKAGE_VERSION | sed 's/\..*//'`)
|
||||||
|
AC_SUBST(MINOR_VERSION, `echo AC_PACKAGE_VERSION | sed 's/.*\.0*//'`)
|
||||||
|
|
||||||
AC_DEFUN([BOINC_SET_VERSION],[dnl
|
AC_DEFINE_UNQUOTED(MAJOR_VERSION, $MAJOR_VERSION, [Major part of version number])
|
||||||
AC_SUBST([BOINC_MAJOR_VERSION],KC_STRIP_LEADING_ZEROS([$1]))
|
AC_DEFINE_UNQUOTED(MINOR_VERSION, $MINOR_VERSION, [Minor part of version number])
|
||||||
AC_SUBST([BOINC_MINOR_VERSION],KC_STRIP_LEADING_ZEROS([$2]))
|
AC_DEFINE_UNQUOTED(HOSTTYPE, "$host", [Host for this compilation])
|
||||||
AC_SUBST([BOINC_VERSION_STRING],AC_PACKAGE_VERSION)
|
AC_SUBST(CLIENT_BIN_FILENAME,[boinc_]AC_PACKAGE_VERSION[_$host${EXEEXT}])
|
||||||
])
|
AC_SUBST(TOP_BUILD_DIR, [`pwd`])
|
||||||
|
AC_SUBST(TOP_SOURCE_DIR, [`(cd \`dirname "$0"\` && pwd)`])
|
||||||
BOINC_SET_VERSION(translit(AC_PACKAGE_VERSION, [.], [,]))
|
|
||||||
|
|
||||||
AC_DEFINE_UNQUOTED([HOSTTYPE], "$host", [Host for this compilation])
|
|
||||||
AC_SUBST([CLIENT_BIN_FILENAME],[boinc_client_]AC_PACKAGE_VERSION[_$host${EXEEXT}])
|
|
||||||
AC_SUBST([CLIENT_GUI_BIN_FILENAME],[boinc_gui_]AC_PACKAGE_VERSION[_$host${EXEEXT}])
|
|
||||||
AC_SUBST([EXEEXT])
|
|
||||||
AC_SUBST([TOP_BUILD_DIR], [`pwd`])
|
|
||||||
AC_SUBST([TOP_SOURCE_DIR], [`(cd \`dirname "$0"\` && pwd)`])
|
|
||||||
|
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
|
dnl AC_EGREP_CPP(yes,
|
||||||
|
dnl [#ifdef __APPLE__
|
||||||
|
dnl yes
|
||||||
|
dnl #endif
|
||||||
|
dnl ], AC_DEFINE(unix, 1, [unix]))
|
||||||
|
|
||||||
|
dnl AC_EGREP_CPP(yes,
|
||||||
|
dnl [#ifdef _AIX
|
||||||
|
dnl yes
|
||||||
|
dnl #endif
|
||||||
|
dnl ], AC_DEFINE(unix, 1, [unix]))
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_CXX
|
AC_PROG_CXX
|
||||||
AC_PROG_CPP
|
AC_PROG_CPP
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_PROG_LN_S
|
|
||||||
|
|
||||||
if test "${enable_server}" = yes; then
|
|
||||||
AC_CHECK_MYSQL
|
|
||||||
if test "${no_mysql}" = yes; then
|
|
||||||
AC_MSG_WARN([ mysql not found.
|
|
||||||
======================================================================
|
|
||||||
WARNING: trying to build BOINC-server, but MYSQL was not be found.
|
|
||||||
If you don't want to build the server you should use --disable-server.
|
|
||||||
|
|
||||||
I am continuing now as if --disable-server had been specified.
|
|
||||||
|
|
||||||
======================================================================
|
|
||||||
])
|
|
||||||
enable_server=no
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Checks for libraries.
|
dnl Checks for libraries.
|
||||||
AC_CHECK_LIB(gen, main)
|
AC_CHECK_LIB(gen, main)
|
||||||
AC_CHECK_LIB(m, sin)
|
AC_CHECK_LIB(m, sin)
|
||||||
AC_CHECK_LIB(socket, main)
|
|
||||||
AC_CHECK_LIB(nsl, gethostbyaddr)
|
AC_CHECK_LIB(nsl, gethostbyaddr)
|
||||||
dnl AC_CHECK_LIB(socket, main)
|
AC_CHECK_LIB(socket, main)
|
||||||
dnl AC_CHECK_LIB(nsl, gethostbyaddr, [have_nsl=yes])
|
|
||||||
dnl AM_CONDITIONAL([HAVE_NSL], [test x$have_nsl = xyes])
|
|
||||||
dnl AC_SEARCH_LIBS(gethostbyname, nsl, , AC_SEARCH_LIBS(gethostbyname, nsl, ,, -lsocket), , )
|
|
||||||
|
|
||||||
AC_CHECK_LIB(stdc++, main)
|
AC_CHECK_LIB(stdc++, main)
|
||||||
AC_CHECK_LIB(z, gzopen)
|
AC_CHECK_LIB(z, gzopen)
|
||||||
dnl check for pthread
|
dnl check for pthread
|
||||||
ACX_PTHREAD(AC_DEFINE(HAVE_PTHREAD,1, [Have pthread]))
|
ACX_PTHREAD(AC_DEFINE(HAVE_PTHREAD,1, [Have pthread]))
|
||||||
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
|
|
||||||
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
|
|
||||||
LIBS="$PTHREAD_LIBS $LIBS"
|
|
||||||
|
|
||||||
|
|
||||||
dnl ---------- decide wether to build the graphical boinc-api libs or not
|
|
||||||
dnl check for X11
|
|
||||||
AC_PATH_X
|
|
||||||
AC_PATH_XTRA
|
|
||||||
|
|
||||||
dnl check for GL library
|
dnl check for GL library
|
||||||
AX_CHECK_GL
|
AC_CHECK_LIB(GL, glCallList, AC_DEFINE(HAVE_GL_LIB, 1, [Have libGL]))
|
||||||
AX_CHECK_GLU
|
|
||||||
AX_CHECK_GLUT
|
|
||||||
if test "$no_gl" = yes -o "$no_glu" = yes -o "$no_glut" = yes ; then
|
|
||||||
have_glut=no
|
|
||||||
AC_MSG_WARN([
|
|
||||||
================================================================================
|
|
||||||
WARNING: openGL/GLUT not found.
|
|
||||||
|
|
||||||
The GL, GLU and GLUT libraries are required in order to build the graphical parts
|
|
||||||
of the BOINC application API library.
|
|
||||||
|
|
||||||
==> only building non-graphical parts of the BOINC API Library for now.
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
])
|
|
||||||
else
|
|
||||||
AC_CHECK_HEADERS([gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h])
|
|
||||||
have_glut=yes
|
|
||||||
fi
|
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_GRAPHICS_API, [ test "$have_glut" = yes ])
|
|
||||||
dnl --------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
AC_CHECK_LIB(socket, setservent)
|
AC_CHECK_LIB(socket, setservent)
|
||||||
AC_CHECK_LIB(gen, strfind)
|
AC_CHECK_LIB(gen, strfind)
|
||||||
AC_CHECK_LIB(gen, strfind, [ AC_DEFINE(HAVE_STRFIND, 1, [Have strfind]) ] )
|
AC_CHECK_LIB(gen, strfind, [ AC_DEFINE(HAVE_STRFIND, 1, [Have strfind]) ] )
|
||||||
AC_CHECK_LIB(cygipc, shmget)
|
AC_CHECK_MYSQL
|
||||||
|
|
||||||
AC_SUBST([BOINC_MAJOR_VERSION])
|
|
||||||
AC_SUBST([BOINC_MINOR_VERSION])
|
|
||||||
AC_SUBST([BOINC_VERSION_STRING])
|
|
||||||
dnl put double-inclusion protection into config.h
|
|
||||||
AH_TOP([
|
|
||||||
/* double-inclusion protection for config.h */
|
|
||||||
#ifndef BOINC_CONFIG_H
|
|
||||||
#define BOINC_CONFIG_H
|
|
||||||
|
|
||||||
#include "version.h"
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#include "win_config.h"
|
|
||||||
#else
|
|
||||||
|
|
||||||
])
|
|
||||||
AH_BOTTOM([
|
|
||||||
#endif /* #ifndef _WIN32 */
|
|
||||||
/* end double-inclusion protection for config.h */
|
|
||||||
#endif /* #ifndef BOINC_CONFIG_H */
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_HEADER_DIRENT
|
AC_HEADER_DIRENT
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_HEADER_SYS_WAIT
|
AC_HEADER_SYS_WAIT
|
||||||
AC_HEADER_TIME
|
AC_HEADER_TIME
|
||||||
AC_TYPE_SIGNAL
|
AC_CHECK_HEADERS(arpa/inet.h dirent.h fcntl.h malloc.h netdb.h netinet/in.h netinet/tcp.h signal.h strings.h sys/file.h sys/ipc.h sys/mount.h sys/resource.h sys/select.h sys/shm.h sys/socket.h sys/statvfs.h sys/swap.h sys/sysctl.h sys/systeminfo.h sys/time.h sys/types.h sys/utsname.h sys/vmmeter.h sys/wait.h unistd.h)
|
||||||
AC_CHECK_HEADERS(arpa/inet.h dirent.h fcntl.h malloc.h netdb.h netinet/in.h netinet/tcp.h signal.h strings.h sys/file.h sys/ipc.h sys/mount.h sys/param.h sys/resource.h sys/select.h sys/shm.h sys/socket.h sys/stat.h sys/statvfs.h sys/statfs.h sys/swap.h sys/sysctl.h sys/systeminfo.h sys/time.h sys/types.h sys/utsname.h sys/vmmeter.h sys/wait.h unistd.h utmp.h errno.h procfs.h)
|
AC_CHECK_HEADERS([gl.h glu.h glut.h GL/gl.h GL/glu.h GL/glut.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h GLUT/glut.h])
|
||||||
|
|
||||||
AC_LANG_PUSH(C++)
|
|
||||||
SAH_HEADER_STDCXX
|
|
||||||
SAH_CHECK_NAMESPACES
|
|
||||||
AH_TEMPLATE([HAVE_STD_MIN],[Define to 1 if min is in namespace std::])
|
|
||||||
AH_TEMPLATE([HAVE_STD_MAX],[Define to 1 if max is in namespace std::])
|
|
||||||
AH_TEMPLATE([HAVE_STD_LOCALE],[Define to 1 if locale is in namespace std::])
|
|
||||||
AH_TEMPLATE([HAVE_STD_TRANSFORM],[Define to 1 if transform is in namespace std:: ])
|
|
||||||
SAH_FUNCS_IN_NAMESPACE([['min(0,0)'] ['max(0,0)'] ['transform((char *)0,(char *) 0,(char *)0,(int(*)(int))malloc)'] ['locale("")']],std)
|
|
||||||
AC_LANG_POP
|
|
||||||
dnl TODO: use compiler to test these; there probably exists an autoconf macro already!
|
dnl TODO: use compiler to test these; there probably exists an autoconf macro already!
|
||||||
case "$target" in
|
case "$target" in
|
||||||
*-linux-* | *-sun-*)
|
*-linux-* | *-sun-*)
|
||||||
|
@ -223,7 +112,7 @@ dnl Checks for library functions.
|
||||||
AC_PROG_GCC_TRADITIONAL
|
AC_PROG_GCC_TRADITIONAL
|
||||||
AC_FUNC_VPRINTF
|
AC_FUNC_VPRINTF
|
||||||
AC_FUNC_WAIT3
|
AC_FUNC_WAIT3
|
||||||
AC_CHECK_FUNCS(gethostname gettimeofday mkdir select socket strstr uname lockf flock strftime setpriority wait4 strlcpy strlcat sigaction getutent setutent)
|
AC_CHECK_FUNCS(gethostname gettimeofday mkdir select socket strstr uname lockf flock strftime setpriority wait4)
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
|
@ -231,152 +120,43 @@ AC_TYPE_SIZE_T
|
||||||
AC_STRUCT_TM
|
AC_STRUCT_TM
|
||||||
AC_STRUCT_TIMEZONE
|
AC_STRUCT_TIMEZONE
|
||||||
|
|
||||||
dnl utmp file location
|
# by default, create static binaries on linux.
|
||||||
for f in /etc/utmp /var/adm/utmp /var/run/utmp; do
|
[if [ "$target_os" = "linux-gnu" ]; then
|
||||||
if test -f $f; then
|
STATIC_FLAGS="-static"
|
||||||
utmp_file=$f
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
if test -n "$utmp_file"; then
|
|
||||||
AC_DEFINE_UNQUOTED(UTMP_LOCATION, "$utmp_file", utmp file location)
|
|
||||||
fi
|
fi
|
||||||
|
echo "checking static flags... ${STATIC_FLAGS:-(none)}"]
|
||||||
|
AC_SUBST(STATIC_FLAGS)
|
||||||
|
|
||||||
dnl Checks for device files
|
AC_CONFIG_FILES([Makefile
|
||||||
if test -e "/dev/mouse"; then
|
RSAEuro/source/Makefile
|
||||||
AC_DEFINE(HAVE__DEV_MOUSE, 1, [Define to 1 if /dev/mouse exists])
|
RSAEuro/Makefile
|
||||||
fi
|
|
||||||
if test -e "/dev/kbd"; then
|
|
||||||
AC_DEFINE(HAVE__DEV_KBD, 1, [Define to 1 if /dev/kbd exists])
|
|
||||||
fi
|
|
||||||
if test -e "/dev/tty1"; then
|
|
||||||
AC_DEFINE(HAVE__DEV_TTY1, 1, [Define to 1 if /dev/tty1 exists])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Check for /proc/self/psinfo (Solaris)
|
|
||||||
if test -e "/proc/self/psinfo"; then
|
|
||||||
AC_DEFINE(HAVE__PROC_SELF_PSINFO, 1, [Define to 1 if /proc/self/psinfo exists])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Check for /proc/self/stat (Linux)
|
|
||||||
if test -e "/proc/self/stat"; then
|
|
||||||
AC_DEFINE(HAVE__PROC_SELF_STAT, 1, [Define to 1 if /proc/self/stat exists])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Check for /proc/meminfo (Linux)
|
|
||||||
if test -e "/proc/meminfo"; then
|
|
||||||
AC_DEFINE(HAVE__PROC_MEMINFO, 1, [Define to 1 if /proc/meminfo exists])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
dnl ---------- wxWidgets --------------------------------------------------
|
|
||||||
|
|
||||||
AM_OPTIONS_WXCONFIG
|
|
||||||
|
|
||||||
dnl check for wxWidgets
|
|
||||||
AM_PATH_WXCONFIG(2.3.4, wxWin=1)
|
|
||||||
if ( test "${enable_client}" = yes ) && ( test "$wxWin" != 1 ); then
|
|
||||||
AC_MSG_WARN([
|
|
||||||
================================================================================
|
|
||||||
WARNING: wxWidgets could not be found ==> building client without clientgui.
|
|
||||||
If you add wxWidgets to your system, then this configure script will also
|
|
||||||
configure your system to build the BOINC graphical client (clientgui).
|
|
||||||
|
|
||||||
If wxWidgets is installed on your system, please check that wx-config is
|
|
||||||
in the path, that the directory where wxWidgets libraries are installed
|
|
||||||
(returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH (or equivalent),
|
|
||||||
and that wxWidgets version is 2.3.4 or above. Currently wxWidgets version
|
|
||||||
2.4.2 (gtk based) is known to work with boinc_gui under Linux. You can
|
|
||||||
use wx-config --version to find what version you have currently installed.
|
|
||||||
|
|
||||||
You can get wxWidgets by following the DOWNLOAD link at:
|
|
||||||
http://www.wxwindows.org/
|
|
||||||
================================================================================
|
|
||||||
])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_CLIENTGUI, [ test "$wxWin" = 1 -a "${enable_client}" = yes ])
|
|
||||||
dnl --------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
dnl This is one way to set up host-specific stuff
|
|
||||||
case "${host}" in
|
|
||||||
*-*-linux*)
|
|
||||||
dnl no taskbar support in wxWidgets
|
|
||||||
CLIENTGUIFLAGS="-DNOCLIPBOARD -DNOTASKBAR";
|
|
||||||
AC_SUBST(CLIENTGUIFLAGS)
|
|
||||||
AC_SUBST(CLIENTGUILIBS) ;;
|
|
||||||
*-*-darwin*)
|
|
||||||
dnl no taskbar support in wxWidgets
|
|
||||||
CLIENTGUIFLAGS="-DNOCLIPBOARD -DNOTASKBAR";
|
|
||||||
CLIENTGUILIBS="-framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -framework System -licon -framework WebKit";
|
|
||||||
AC_SUBST(CLIENTGUIFLAGS)
|
|
||||||
AC_SUBST(CLIENTGUILIBS) ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl Here's another way to set up host-specific stuff
|
|
||||||
AM_CONDITIONAL(OS_DARWIN, [echo $host_os | grep '^darwin' > /dev/null])
|
|
||||||
AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep '^linux' > /dev/null])
|
|
||||||
dnl In case anyone wants to try building the windows code using mingw!
|
|
||||||
AM_CONDITIONAL(OS_WIN32_MINGW, [echo $host_os | grep '^mingw' > /dev/null])
|
|
||||||
|
|
||||||
dnl tell automake about whether to build client and/or server
|
|
||||||
AM_CONDITIONAL(ENABLE_SERVER, [test "${enable_server}" = yes])
|
|
||||||
AM_CONDITIONAL(ENABLE_CLIENT, [test "${enable_client}" = yes])
|
|
||||||
|
|
||||||
dnl by default, create static binaries on linux.
|
|
||||||
dnl [if [ "$target_os" = "linux-gnu" ]; then
|
|
||||||
dnl STATIC_FLAGS="-static"
|
|
||||||
dnl fi
|
|
||||||
dnl echo "checking static flags... ${STATIC_FLAGS:-(none)}"]
|
|
||||||
dnl AC_SUBST(STATIC_FLAGS)
|
|
||||||
|
|
||||||
|
|
||||||
# If you still want to build boincglut, include these into the file list below
|
|
||||||
# boincglut/include/Makefile
|
|
||||||
# boincglut/lib/glut/Makefile
|
|
||||||
# boincglut/lib/Makefile
|
|
||||||
# boincglut/Makefile
|
|
||||||
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
|
||||||
version.h
|
|
||||||
api/Makefile
|
api/Makefile
|
||||||
apps/Makefile
|
apps/Makefile
|
||||||
clientgui/Makefile
|
|
||||||
client/Makefile
|
client/Makefile
|
||||||
client/win/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
|
||||||
db/Makefile
|
db/Makefile
|
||||||
lib/Makefile
|
lib/Makefile
|
||||||
Makefile
|
|
||||||
py/Boinc/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
|
||||||
py/Boinc/Makefile
|
|
||||||
py/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
|
||||||
py/Boinc/version.py
|
|
||||||
py/Makefile
|
|
||||||
RSAEuro/Makefile
|
|
||||||
RSAEuro/source/Makefile
|
|
||||||
sched/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
|
||||||
sched/Makefile
|
sched/Makefile
|
||||||
test/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
tools/Makefile
|
||||||
test/Makefile
|
test/Makefile
|
||||||
test/version.inc
|
test/version.inc
|
||||||
|
py/Makefile
|
||||||
|
py/Boinc/Makefile
|
||||||
|
py/Boinc/version.py
|
||||||
|
py/Boinc/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
||||||
|
py/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
||||||
|
sched/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
||||||
tools/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
tools/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
||||||
tools/Makefile
|
test/boinc_path_config.py:py/Boinc/boinc_path_config.py.in
|
||||||
zip/Makefile
|
|
||||||
zip/zip/Makefile
|
|
||||||
zip/unzip/Makefile
|
|
||||||
m4/Makefile
|
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl AC_CONFIG_HEADER([config.h])
|
AC_CONFIG_HEADER([config.h])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
echo "--- Configured BOINC AC_PACKAGE_VERSION (${configured_to_build}) ---"
|
echo "--- Configured BOINC AC_PACKAGE_VERSION ---"
|
||||||
|
|
||||||
[
|
[
|
||||||
true || $TOP_SOURCE_DIR/test/test_sanity.py || (
|
test/test_sanity.py || (
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
|
@ -396,14 +176,4 @@ true || $TOP_SOURCE_DIR/test/test_sanity.py || (
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if test "${enable_server}" = yes ; then
|
|
||||||
cat<<EOF
|
|
||||||
|
|
||||||
We recommend you run test/test_sanity.py to make sure your host is configured
|
|
||||||
properly for building the BOINC server.
|
|
||||||
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
359
win_config.h
359
win_config.h
|
@ -1,356 +1,3 @@
|
||||||
/* config.h. Generated by configure. */
|
#define BOINC_MAJOR_VERSION 4
|
||||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
#define BOINC_MINOR_VERSION 57
|
||||||
|
#define BOINC_VERSION_STRING "4.57"
|
||||||
|
|
||||||
/* double-inclusion protection for config.h */
|
|
||||||
#ifndef BOINC_WIN_CONFIG_H
|
|
||||||
#define BOINC_WIN_CONFIG_H
|
|
||||||
|
|
||||||
/* getsockopt uses size_t */
|
|
||||||
#undef GETSOCKOPT_SIZE_T
|
|
||||||
|
|
||||||
/* getsockopt uses socklen_t */
|
|
||||||
#undef GETSOCKOPT_SOCKLEN_T
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
|
||||||
#undef HAVE_ARPA_INET_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <dirent.h> header file. */
|
|
||||||
#undef HAVE_DIRENT_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_FLOCK
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `gethostname' function. */
|
|
||||||
#define HAVE_GETHOSTNAME 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `gettimeofday' function. */
|
|
||||||
#undef HAVE_GETTIMEOFDAY
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_GLUT_GLUT_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#define HAVE_GL_GLAUX_H 1
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#define HAVE_GL_GLU_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <GL/gl.h> header file. */
|
|
||||||
#define HAVE_GL_GL_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <gl.h> header file. */
|
|
||||||
#undef HAVE_GL_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
||||||
#undef HAVE_INTTYPES_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `cygipc' library (-lcygipc). */
|
|
||||||
#undef HAVE_LIBCYGIPC
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `gen' library (-lgen). */
|
|
||||||
#undef HAVE_LIBGEN
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `m' library (-lm). */
|
|
||||||
#undef HAVE_LIBM
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
|
||||||
#undef HAVE_LIBNSL
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `socket' library (-lsocket). */
|
|
||||||
#undef HAVE_LIBSOCKET
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `stdc++' library (-lstdc++). */
|
|
||||||
#undef HAVE_LIBSTDC__
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `z' library (-lz). */
|
|
||||||
#undef HAVE_LIBZ
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `lockf' function. */
|
|
||||||
#undef HAVE_LOCKF
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <malloc.h> header file. */
|
|
||||||
#define HAVE_MALLOC_H 1
|
|
||||||
|
|
||||||
/* 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 to 1 if you have the `mkdir' function. */
|
|
||||||
#define HAVE_MKDIR 1
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_NETDB_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <netinet/in.h> header file. */
|
|
||||||
#undef HAVE_NETINET_IN_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <netinet/tcp.h> header file. */
|
|
||||||
#undef HAVE_NETINET_TCP_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_OPENGL_GLU_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <OpenGL/gl.h> header file. */
|
|
||||||
#undef HAVE_OPENGL_GL_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_PTHREAD
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `select' function. */
|
|
||||||
#define HAVE_SELECT 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `setpriority' function. */
|
|
||||||
#undef HAVE_SETPRIORITY
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `setutent' function. */
|
|
||||||
#undef HAVE_SETUTENT
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `sigaction' function. */
|
|
||||||
#undef HAVE_SIGACTION
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <signal.h> header file. */
|
|
||||||
#define HAVE_SIGNAL_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `socket' function. */
|
|
||||||
#define HAVE_SOCKET 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#undef HAVE_STDINT_H
|
|
||||||
|
|
||||||
/* 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:: */
|
|
||||||
#undef HAVE_STD_LOCALE
|
|
||||||
|
|
||||||
/* 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
|
|
||||||
|
|
||||||
/* Have strfind */
|
|
||||||
#undef HAVE_STRFIND
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strftime' function. */
|
|
||||||
#define HAVE_STRFTIME 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
|
||||||
#undef HAVE_STRINGS_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_STRLCAT
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strlcpy' function. */
|
|
||||||
#undef HAVE_STRLCPY
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strstr' function. */
|
|
||||||
#define HAVE_STRSTR 1
|
|
||||||
|
|
||||||
/* Define to 1 if `tm_zone' is member of `struct tm'. */
|
|
||||||
#undef HAVE_STRUCT_TM_TM_ZONE
|
|
||||||
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_SYS_FILE_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/ipc.h> header file. */
|
|
||||||
#undef HAVE_SYS_IPC_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/mount.h> header file. */
|
|
||||||
#undef HAVE_SYS_MOUNT_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_SYS_PARAM_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
||||||
#undef HAVE_SYS_RESOURCE_H
|
|
||||||
|
|
||||||
/* Define to 1 if you save the <sys/select.h> header file. */
|
|
||||||
#undef HAVE_SYS_SELECT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/shm.h> header file. */
|
|
||||||
#undef HAVE_SYS_SHM_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/socket.h> header file. */
|
|
||||||
#undef HAVE_SYS_SOCKET_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_SYS_SYSCTL_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_SYS_TIME_H
|
|
||||||
|
|
||||||
/* 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. */
|
|
||||||
#undef HAVE_SYS_UTSNAME_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/vmmeter.h> header file. */
|
|
||||||
#undef HAVE_SYS_VMMETER_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/wait.h> header file. */
|
|
||||||
#undef HAVE_SYS_WAIT_H
|
|
||||||
|
|
||||||
/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
|
|
||||||
`HAVE_STRUCT_TM_TM_ZONE' instead. */
|
|
||||||
#undef HAVE_TM_ZONE
|
|
||||||
|
|
||||||
/* Define to 1 if you don't have `tm_zone' but do have the external array
|
|
||||||
`tzname'. */
|
|
||||||
#define HAVE_TZNAME 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `uname' function. */
|
|
||||||
#undef HAVE_UNAME
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
#undef HAVE_UNISTD_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <utmp.h> header file. */
|
|
||||||
#undef HAVE_UTMP_H
|
|
||||||
|
|
||||||
/* 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'. */
|
|
||||||
#undef HAVE_WAIT3
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `wait4' function. */
|
|
||||||
#undef HAVE_WAIT4
|
|
||||||
|
|
||||||
/* Define to 1 if you have X11 libraries */
|
|
||||||
#undef HAVE_X11
|
|
||||||
|
|
||||||
/* 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 */
|
|
||||||
#define HOSTTYPE "windows_intelx86"
|
|
||||||
|
|
||||||
/* 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>. */
|
|
||||||
#undef TIME_WITH_SYS_TIME
|
|
||||||
|
|
||||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
||||||
#undef TM_IN_SYS_TIME
|
|
||||||
|
|
||||||
/* utmp file location */
|
|
||||||
#define UTMP_LOCATION ""
|
|
||||||
|
|
||||||
/* Version number of package */
|
|
||||||
#define VERSION "4.57"
|
|
||||||
|
|
||||||
/* 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 */
|
|
||||||
|
|
||||||
/* end double-inclusion protection for config.h */
|
|
||||||
#endif /* #ifndef BOINC_CONFIG_H */
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue