~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/cxx_cmath.m4

  • Committer: Monty Taylor
  • Date: 2008-11-02 03:17:55 UTC
  • mto: (520.4.45 devel)
  • mto: This revision was merged to the branch mainline in revision 573.
  • Revision ID: monty@inaugust.com-20081102031755-cpzp7dlqoa7rcs1v
Removed a bunch of unusued tests and defines from autoconf.
Fixed the way we were doing cmath - and moved it out of global.h. Still probably
isn't right for Sun Studio, but we're getting closer I think.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
   fi
31
31
   AC_DEFINE_UNQUOTED(CMATH_H,$ac_cv_cxx_cmath,
32
32
                      [the location of <cmath>])
33
 
   AC_DEFINE_UNQUOTED(CMATH_NAMESPACE,$ac_cv_cxx_cmath_namespace,
34
 
                      [the namespace of C99 math extensions])
 
33
   if test "x$ac_cv_cxx_cmath_namespace" != "x"
 
34
   then
 
35
     AC_DEFINE_UNQUOTED(CMATH_NAMESPACE,$ac_cv_cxx_cmath_namespace,
 
36
                        [the namespace of C99 math extensions])
 
37
   fi
35
38
])