bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: still can't build on Tru64


From: Dave Love
Subject: Re: still can't build on Tru64
Date: Fri, 16 May 2003 14:41:48 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Mark Burgess <address@hidden> writes:

> I still have a backlog that I have not had time to go through
> so don't be surprised or offended.

I'm not offended, I just would like to know what I can do to help get
it fixed.

> I seem to recall that there was something wrong with the patch,
> (e.g. it broke for everyone else or something)
> but I don't recall.

I doubt it's everyone, at least.  I tested on Tru64 5.1, Irix 6.5,
Solaris 8, Debian 3.0 and SunOS 4 if I remember correctly, but I don't
have things like AIX, HPUX or *BSD to try.  I'm happy to work with
anyone who has reported problems on other platforms in the hope of
improving the generic test and getting something like it into
autoconf.

> If you patch this version and send me a new
> one it will speed things up.
>
> Please don't sent patches for configure (patch configure.ac)

Of course.

*** configure.ac        2003/05/16 10:30:48     1.1
--- configure.ac        2003/05/16 10:37:03
***************
*** 45,50 ****
--- 45,55 ----
    fi
  done
  
+ ACX_PTHREAD
+ CC=$PTHREAD_CC
+ CFLAGS="$PTHREAD_CFLAGS $CFLAGS"
+ CPPFLAGS="$PTHREAD_CPPFLAGS $CPPFLAGS"
+ LDFLAGS="$PTHREAD_LDFLAGS $LDFLAGS"
  
  dnl ######################################################################
  dnl Checks for programs.
***************
*** 342,350 ****
   
  rtry=none
  AC_MSG_CHECKING(for either struct rtentry or struct ortentry)
! AC_EGREP_HEADER(rtentry, net/route.h, AC_DEFINE(HAVE_RTENTRY) rtry=rtentry)
! AC_EGREP_HEADER(ortentry, net/route.h, AC_DEFINE(HAVE_ORTENTRY) rtry=ortentry)
! AC_MSG_RESULT($rtry)
  
  dnl #######################################################################
  dnl Handle DCE + threading stuff
--- 348,362 ----
   
  rtry=none
  AC_MSG_CHECKING(for either struct rtentry or struct ortentry)
! AC_EGREP_HEADER(rtentry, net/route.h, rtry=rtentry)
! if test "$rtry" = rtentry; then
!  AC_DEFINE(HAVE_RTENTRY)
! fi
! AC_EGREP_HEADER(ortentry, net/route.h, rtry=ortentry)
! if test "$rtry" = ortentry; then
!  AC_DEFINE(HAVE_ORTENTRY)
! fi
! AC_MSG_RESULT([$rtry])
  
  dnl #######################################################################
  dnl Handle DCE + threading stuff
***************
*** 435,440 ****
--- 447,453 ----
        AC_DEFINE(OSF)
          ;;
     irix6*)
+       # rtentry is detected OK on a 6.5.19 system.
          AC_DEFINE(HAVE_ORTENTRY) # Have to hack this for 6.* owing to bug
        AC_DEFINE(IRIX)
          CFLAGS="$CFLAGS -w"

Attachment: acinclude.m4
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]