[Spread-cvs] cvs commit: spread/daemon/buildtools aclocal.m4

jonathan at spread.org jonathan at spread.org
Mon Sep 23 16:10:29 EDT 2002


jonathan    02/09/23 20:10:29

  Modified:    daemon/buildtools aclocal.m4
  Log:
  Fix autoconf build bugs.
  The pthread macro test was not correctly clearing LDFLAGS.
  Add test to use cc on sgi instead of gcc.
  Change ARCH_SCATTER_CONTROL/ACCRIGHTS to only allow one or the other to be
  set but not both. Change ACCRIGHTS to be first one tested to avoid an
  SGI stupidity that defines the control datastruct AND the accrights, but
  the control one is missing some fields! This way it will detect accrights
  and ignoore the buggy control structure.
  
  Fix LOC_INLINE to be updated correctly by configure.
  
  Disable shared libraries on SGI as the irix needs special rules for building them..
  
  Revision  Changes    Path
  1.2       +1 -0      spread/daemon/buildtools/aclocal.m4
  
  Index: aclocal.m4
  ===================================================================
  RCS file: /storage/cvsroot/spread/daemon/buildtools/aclocal.m4,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- aclocal.m4	16 Sep 2002 16:59:08 -0000	1.1
  +++ aclocal.m4	23 Sep 2002 20:10:29 -0000	1.2
  @@ -16,6 +16,7 @@
   if eval "test \"`echo $ac_ldflag_pthread`\" = yes"; then
   	AC_MSG_RESULT(yes)
   else
  +	LDFLAGS="$ac_save_LDFLAGS"
   	AC_MSG_RESULT(no)
   fi
   ])
  
  
  




More information about the Spread-cvs mailing list