Commit Graph

54 Commits

Author SHA1 Message Date
Eric J. Korpela 770a456c81 Modified CHECK_SSL macro to look for files under ${prefix}.
svn path=/trunk/boinc/; revision=16444
2008-11-07 00:23:24 +00:00
Eric J. Korpela 4e43308973 Modified LIBCURL_CHECK_CONFIG to check whether curl-config supports the
--static-libs flag.  Also check location of the ca file.


svn path=/trunk/boinc/; revision=16443
2008-11-07 00:22:18 +00:00
Eric J. Korpela 894df8935c New macro BOINC_SET_COMPILE_FLAGS. Sets compile/debug/optimize flags for C,
C++, and fortran compilers.


svn path=/trunk/boinc/; revision=16442
2008-11-07 00:20:15 +00:00
Eric J. Korpela e97fb85554 Adds "$prefix/lib" to the lib path and "$prefix/include" to the include path
before attempting to check for GL/gl.h or libGL.


svn path=/trunk/boinc/; revision=16441
2008-11-07 00:17:39 +00:00
Eric J. Korpela ac952126f5 New file boinc_check_fcgi.m4. Checks whether fcgi headers are installed.
svn path=/trunk/boinc/; revision=16440
2008-11-07 00:15:24 +00:00
Eric J. Korpela 812dc63bd0 New file boinc_check_flags.m4. Contains code to check compiler and linker
flags.

svn path=/trunk/boinc/; revision=16439
2008-11-07 00:14:13 +00:00
Eric J. Korpela 17f30607e5 Moved many of the boinc specific wxWidgets configuration issues out of config.h
and into a separate file in m4.  Modified the configuration to use the default
wxWidgets configuration if no wx configurations options are found.
Configuration will now succeed on a debug build if the wxWidgets debug libraries
are not installed.  

svn path=/trunk/boinc/; revision=16438
2008-11-07 00:12:55 +00:00
Eric J. Korpela 527da28e54 Changed BOINC_PLATFORM autoconf macro to properly translate 'amd64' to 'x86_64'.
svn path=/trunk/boinc/; revision=16003
2008-09-16 20:02:55 +00:00
David Anderson 4387e4491b - Fix emacs mode line in Makefile.am's
svn path=/trunk/boinc/; revision=15375
2008-06-08 22:18:52 +00:00
Eric J. Korpela 51e24737bd - Build fixes for non-Win32, non-Linux, non-MacOS systems.
- configure script:
        - Added checks for functions strdup(), strdupa(),
            daemon(), stat64(), strcasestr()
        - Fixed problems with kc_mysql.m4 and wxWidgets.m4 returning
            invalid CFLAGS and LIBS flags.
        - Fixed incorrect order of pthread flag checking on solaris.
    - New files: lib/unix_util.[Ch].  Currently contains implementation of
        daemon() for systems that lack it.
    - Access to binary files in /proc was failing on some systems when compiled
        with 64 bit file access.  Rearranged headers and defines to force 32bit
        file access in hostinfo_unix.C
    - all_tty_idle() didn't work as advertised on any system as far as I can
        tell.  I rewrote it to check ttys that are not named /dev/tty[1-9].
        The old implementation was modifying a statically allocated read-only
        string, (and crashing on some systems) anyway.
    - added implementation of non-standard function strcasestr() to str_util.C
    - added #define of MAP_FILE to shmem.C, because it is missing from most
        unix systems, (and is unnecessary on linux anyway).
    - other minor bug fixes.


svn path=/trunk/boinc/; revision=14996
2008-04-01 21:44:12 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
Eric J. Korpela 4bcfcb67a9 Added HPUX platforms to boinc_platform.m4
svn path=/trunk/boinc/; revision=13757
2007-10-03 01:29:37 +00:00
Rytis Slatkevičius 22dbfd13e0 Fix #200
svn path=/trunk/boinc/; revision=13589
2007-09-16 11:25:43 +00:00
Eric J. Korpela 8a8ffc8ef9 Eric K 24 Apr 07
-  Exteded the "altername_platform" mechanism to x86_64 linux
       and solaris.  The current alternate platforms found by configure
       are...
	 x86_64-pc-linux-gnu    -> i686-pc-linux-gnu
	 sparc64-sun-solaris    -> sparc-sun-solaris
	 sparc-sun-solaris      -> sparc-sun-solaris2.7
	 powerpc64-apple-darwin -> powerpc-apple-darwin
    -  The alternate platform can be overridden on the configure command line
         --with-boinc-alt-platform="platformname"

    m4/
        boinc_platform.m4
    sched/
        Makefile.am
    client/
        client_state.C
        cs_scheduler.C
        client_state.h


svn path=/trunk/boinc/; revision=12467
2007-04-25 02:02:24 +00:00
David Anderson 421fd2e66e mac server build fix
svn path=/trunk/boinc/; revision=9327
2006-01-27 19:02:13 +00:00
Eric J. Korpela 60aef9aa55 Modified for gnu targets that end in versions of the style n.n.n
svn path=/trunk/boinc/; revision=9208
2006-01-10 22:54:06 +00:00
Rom Walton 4d9a7a3981 *** empty log message ***
svn path=/trunk/boinc/; revision=9146
2005-12-24 20:08:03 +00:00
Eric J. Korpela ff9e4b5ea4 Added autoconf macro AX_WINSOCK for identifying winsock libs and headers for
support of command line compiles.  Adds new configure command line option
--with-winsock to enable winsock if necessary where alternative socket libraries
exist.

Modified BOINC_CHECK_CYGWIN to call AX_WINSOCK.

Modified boinc_getsockopt.m4 to get correct type when winsock is used.

Modified AX_CHECK_GLUT to find correct libraries when compiling under
windows from command line.

svn path=/trunk/boinc/; revision=9072
2005-12-16 03:20:01 +00:00
Eric J. Korpela b6bab94fa6 added boinc_platform substitution so the boinc platform can be used in
Makefiles.

svn path=/trunk/boinc/; revision=9065
2005-12-14 19:36:48 +00:00
Eric J. Korpela 4da6f7aed9 Fixed underquoted sed patterns.
svn path=/trunk/boinc/; revision=9062
2005-12-13 22:57:01 +00:00
Eric J. Korpela eb38e590e5 New autoconf macro "BOINC_CHECK_CYGWIN" to give people who need to modify
their configure script to work with CYGWIN a place to do their work.  Right
now the only thing done here is to check whether to use the Windows GUI or
X11.  Graphical compiles of BOINC under CYGWIN currently do not function
due to both __unix__ and _WIN32 being defined.

svn path=/trunk/boinc/; revision=9053
2005-12-08 20:15:45 +00:00
Eric J. Korpela afe4f0c201 New autoconf macro "BOINC_PLATFORM" to determine the BOINC platform being
targeted.  This overrides the use of the autoconf target as the BOINC platform.
I recommend that people developing BOINC applications use this macro as well.
Some of the overrides are...

*-redhat-* -> *-pc-*
*-*-*[0-9].[0-9] -> *-*-*  (trailing version numbers are dropped)
sparc-sun-solaris* -> sparc64-sun-solaris when compiled as 64 bit binary
x86_64-*-linux-gnu -> i686-pc-linux-gnu when compiled as a 32 bit binary

svn path=/trunk/boinc/; revision=9052
2005-12-08 20:03:42 +00:00
Eric J. Korpela d9ee426071 Added explicit includes of "config.h" in many files to enable use of compilers
without a -include command line option.

svn path=/trunk/boinc/; revision=8896
2005-11-21 18:34:44 +00:00
David Anderson 332cfa9502 build fixes
svn path=/trunk/boinc/; revision=8553
2005-10-07 20:00:15 +00:00
Reinhard Prix 00a3442dc1 - removed redundant configure-switch 'disable-static-linkage'
- made '--enable-client-release' work as advertised [default=OFF!!]

svn path=/trunk/boinc/; revision=8340
2005-09-29 23:37:36 +00:00
Reinhard Prix a4075a2517 make getsockopt-len check insensitive to user's CPPFLAG-settings,
in order to avoid this test failing because of higher warning-levels set in
CPPFLAGS (as the test is using -Werror)

svn path=/trunk/boinc/; revision=8315
2005-09-29 14:37:45 +00:00
Bruce Allen b55feabfc7 Changes from Reinhard to make openssl and curl detection independent.
Useful for building backend components.

svn path=/trunk/boinc/; revision=7916
2005-09-07 18:21:31 +00:00
David Anderson 51f497ef4e unix build fixes
svn path=/trunk/boinc/; revision=7541
2005-08-29 01:18:37 +00:00
David Anderson 041b6f24c6 *** empty log message ***
svn path=/trunk/boinc/; revision=7492
2005-08-25 23:07:58 +00:00
Eric J. Korpela f2f42a1547 Made OpenSSL the default and only option (with the --with-ssl used only to
specify the openssl install directory).

svn path=/trunk/boinc/; revision=7132
2005-08-03 19:53:41 +00:00
Eric J. Korpela cc99aa211b Bug fix.
svn path=/trunk/boinc/; revision=6999
2005-08-03 00:31:52 +00:00
Eric J. Korpela 1cc1bf05a8 Added autoconf macro to check if soft and hard links really work, or are
just faked.

svn path=/trunk/boinc/; revision=6976
2005-08-02 18:25:17 +00:00
Eric J. Korpela 650256aeca Modified CHECK_SSL macro to generate the USE_RSAEURO and USE_OPENSSL defines
required by lib/crypt.C

svn path=/trunk/boinc/; revision=6972
2005-08-02 16:57:44 +00:00
Eric J. Korpela 3728b5baed Added macro for finding ssl libraries and include files. (From autoconf
archive).

svn path=/trunk/boinc/; revision=6970
2005-08-02 16:33:22 +00:00
Rom Walton 7e6d6ea3b9 wxWidgets macro update 2.6.1
svn path=/trunk/boinc/; revision=6593
2005-07-11 09:10:58 +00:00
Rom Walton 590bcdf950 *** empty log message ***
svn path=/trunk/boinc/; revision=6592
2005-07-11 07:01:18 +00:00
Eric J. Korpela c68b314a99 Fixed bug in caching of SAH_FUNCS_IN_NAMESPACE results.
svn path=/trunk/boinc/; revision=6090
2005-05-10 15:43:56 +00:00
Eric J. Korpela f9dba71f16 Fixed a bug. Added linkage flags for darwin. Changed awk references to $AWK so
gawk will be used if present.

svn path=/trunk/boinc/; revision=6084
2005-05-09 23:48:30 +00:00
Eric J. Korpela 3aa917defe changed awk reference to $AWK so the macro will use gawk if present.
svn path=/trunk/boinc/; revision=6083
2005-05-09 23:45:53 +00:00
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
parameter 5 to getsockopt() by using the compiler.  The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int.  Some aren't even
consistent from OS rev to OS rev.

A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.  This
is typedef to be boinc_socklen_t in lib/network.h.  The special cases for
__APPLE__ and WIN32 can probably be removed at a later time.  Places where
socklen_t was used have been changed to boinc_socklen_t.

Also added double inclusion protection to network.h

svn path=/trunk/boinc/; revision=6055
2005-05-06 01:54:00 +00:00
Eric J. Korpela fca6c2e106 Fixed header order problem on solaris and other platforms where largefile
support breaks C++.

svn path=/trunk/boinc/; revision=6053
2005-05-06 00:32:11 +00:00
Eric J. Korpela 8cbda5c1fa Added caching of results to SAH_CHECK_NAMESPACES and SAH_FUNCS_IN_NAMESPACE
svn path=/trunk/boinc/; revision=6052
2005-05-06 00:31:05 +00:00
Eric J. Korpela 0a160f469e Added libtool.m4 so it doesn't need a local installation.
svn path=/trunk/boinc/; revision=6051
2005-05-06 00:29:58 +00:00
Eric J. Korpela 31b4aa1ffb New autoconf macro:
BOINC_GETSOCKOPT_TYPE:  Determines the type of parameter 4 of getsockopt().

svn path=/trunk/boinc/; revision=5958
2005-04-28 21:45:21 +00:00
Eric J. Korpela e64da1f791 New autoconf macros:
SAH_CHECK_LIB:  Like AC_CHECK_LIB(), except it checks STATIC_LIB_LIST
for libraries that should be linked statically.  Static libraries are attempted
to be linked with fully qualified path.  If that fails, the static flags
(-Wl,-Bstatic) are used.  If no static library is found, the library is linked
dynamically.

SAH_STATICIZE_LDFLAGS:  Goes through a given set of LDFLAGS and determines with
libraries should be linked statically based upon STATIC_LIB_LIST, then calls
SAH_CHECK_LIB on every library.

SAH_DEFAULT_BITNESS:  On architectures that support both 32 and 64 bit
executables, this determines the current default model (including any CFLAGS
settings).

SAH_OPTION_BITNESS:  Sets up a configure option to set the compiler -m64 or -m32
(or equivalent) flags for 32/64 bit compilation.

svn path=/trunk/boinc/; revision=5957
2005-04-28 21:42:05 +00:00
Eric J. Korpela 61ad976802 modified SAH_HEADER_STDCXX to run quickly on machines that have all of the
C++ standard headers

svn path=/trunk/boinc/; revision=5956
2005-04-28 21:14:30 +00:00
Eric J. Korpela 0e47fe1fa6 -Unfortunately on some 32 bit systems there is a problem with wx-widgets
configuring itself for largefile support.  On these systems largefile
     support breaks C++ compiles by defining away many of the C standard library
     routines that should reside in namespace std::.  In order to get around
     problem first we have to check the largefile support macros.  Later we will
     use the macro SAH_LARGEFILE_BREAKS_CXX to check for the breakage.  If
     if breakage is found LARGEFILE_BREAKS_CXX is defined in config.h.  This
     define is checked in std_fixes.h and the appropriate functions are defined
     in order to solve the problem. (These functions were already in place)
     Because these defines affect the behavior of standard library headers,
     std_fixes.h is being included from config.h
    -Added AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS (for flags common to all
     compiles) so they will be defined in all Makefile.am files.
    -Put #ifdef _cplusplus around the C++ specific items in std_fixes.h so it
     may be included from C source files.

svn path=/trunk/boinc/; revision=5375
2005-02-09 19:39:04 +00:00
Bruce Allen c2d7965c09 - Fixed autoconf/automake build process so that it works correctly
under Mac OSX. Also make dist now works (make distcheck still
     broken).  Karl, since you were the last
     person to fix up this mess, how about taking a look??

svn path=/trunk/boinc/; revision=4665
2004-11-26 17:45:13 +00:00
Bruce Allen 2ad2c8233f Put acinclude.m4 into m4/ subdirectory and renamed wxWidgets.
svn path=/trunk/boinc/; revision=4606
2004-11-19 13:57:40 +00:00