~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/alloca.m4

  • Committer: Brian Aker
  • Date: 2008-11-03 03:49:00 UTC
  • mfrom: (520.4.50 devel)
  • Revision ID: brian@tangent.org-20081103034900-znhvcgtipr3tlel5
Merging in Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
   ALLOCA=alloca.o
47
47
   AC_DEFINE(C_ALLOCA, 1)
48
48
 
49
 
 AC_CACHE_CHECK(whether alloca needs Cray hooks, ac_cv_os_cray,
50
 
 [AC_EGREP_CPP(webecray,
51
 
 [#if defined(CRAY) && ! defined(CRAY2)
52
 
 webecray
53
 
 #else
54
 
 wenotbecray
55
 
 #endif
56
 
 ], ac_cv_os_cray=yes, ac_cv_os_cray=no)])
57
 
 if test "$ac_cv_os_cray" = "yes"; then
58
 
 for ac_func in _getb67 GETB67 getb67; do
59
 
   AC_CHECK_FUNC($ac_func, [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func)
60
 
   break])
61
 
 done
62
 
 fi
63
49
 fi
64
50
 AC_SUBST(ALLOCA)dnl
65
51
else