diff options
author | Jonathon Jongsma <jjongsma@gnome.org> | 2008-02-19 09:02:53 -0600 |
---|---|---|
committer | Jonathon Jongsma <jjongsma@gnome.org> | 2008-02-19 09:02:53 -0600 |
commit | 8cf0cdfce485785c365adfe2e385c0dae9791859 (patch) | |
tree | 9ed92e133e9853fd2df6533b7903a2634e0a260a /configure.in | |
parent | a2b10d83de0d400b6a414e83f409b26604480b79 (diff) |
cherry-pick solaris fix from master
* 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.
Conflicts:
ChangeLog
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 46f9785..cc4d982 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.4) |