[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.0.8p1 build fixes
From: |
Mark Burgess |
Subject: |
Re: 2.0.8p1 build fixes |
Date: |
Thu, 25 Sep 2003 08:51:47 +0200 (MEST) |
On 23 Sep, Dave Love wrote:
> These changes allow 2.0.8p1 to build under Irix cc, for instance.
> They account for the use of alloca and inline functions. It looks as
> if you need the same thing for 2.1.0b2.
>
> The alloca test assumes alloca.c is added to the distribution for
> systems which don't have it. I can supply a copy.
>
> --- src/cf.defs.h 2003/09/23 09:15:01 1.1
> +++ src/cf.defs.h 2003/09/23 09:15:24
> @@ -242,6 +242,9 @@
> # include <sched.h>
> #endif
>
> +#ifdef HAVE_ALLOCA_H
> +#include <alloca.h>
> +#endif
>
> /*******************************************************************/
> /* Various defines */
> --- configure.ac 2003/09/22 22:39:30 1.1
> +++ configure.ac 2003/09/23 09:13:54
> @@ -333,6 +333,7 @@
> dnl ######################################################################
>
> AC_C_CONST
> +AC_C_INLINE
>
> dnl ######################################################################
> dnl Check for special functions
> @@ -343,6 +344,7 @@
> AC_CHECK_FUNCS(strstr putenv drand48 srand48 getaddrinfo)
> AC_CHECK_FUNCS(bcopy mkfifo statfs statvfs door)
> AC_CHECK_FUNCS(sysinfo setsid strdup strrchr strerror snprintf
> sysconf)
> +AC_FUNC_ALLOCA
>
> dnl #######################################################################
> dnl Newer BSD systems don't have a compatible rtentry - use ortentry
>
>
> _______________________________________________
> Bug-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-cfengine
I have rather rewritten this part to avoid the use of non-standard
c++ functions.
Mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~