summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc-desktop.(none)>2008-02-19 15:35:24 +0100
committerMurray Cumming <murrayc@murrayc-desktop.(none)>2008-02-19 15:35:24 +0100
commitada047feb7707b369e2aa10317f4baba666fc3fe (patch)
treeab98e8f44d89b0f24a499330df64a6263a5594ab /configure.in
parentc2e54447cf285684d90a88c100324ef9af8a703c (diff)
2008-02-19 Tim Mooney <enchanter@users.sourceforge.net>
* configure.in: Added check, defining HAVE_MATH_H. * cairomm/context.cc: * examples/pdf-surface/main.cc: * examples/png_file/main.cc: * examples/ps-surface/main.cc: * examples/svg-surface/main.cc: * examples/text-rotate/text-rotate.cc: Added includes of math.h to fix the build with Sun Workshop 12. Bug #14558.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 366c66a..b9360bd 100644
--- a/configure.in
+++ b/configure.in
@@ -101,6 +101,9 @@ if test x"$os_win32" = xyes; then
fi
AC_CHECK_HEADERS(string list map, , exit)
+dnl some platforms (e.g. Solaris) need additional C headers included so
+dnl that there are always prototypes and defines available.
+AC_CHECK_HEADERS(math.h)
PKG_CHECK_MODULES(CAIROMM, cairo >= 1.5.8)