diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-04-08 11:20:48 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-04-08 11:20:48 +0000 |
commit | 640432200b57b21f5112958b90cd69e9f231e182 (patch) | |
tree | d17472996f72bb011136b9ff4113c4197fa357cd /Build/source/libs/pixman/configure.ac | |
parent | 83593c4c0bfefd3cf86199c522c62e33fbb5d867 (diff) |
pixman: Better handling of missing sqrtf(), from Mojca Miklavec
git-svn-id: svn://tug.org/texlive/trunk@29738 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/pixman/configure.ac')
-rw-r--r-- | Build/source/libs/pixman/configure.ac | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Build/source/libs/pixman/configure.ac b/Build/source/libs/pixman/configure.ac index 511748e10dd..2532a71b3d3 100644 --- a/Build/source/libs/pixman/configure.ac +++ b/Build/source/libs/pixman/configure.ac @@ -53,11 +53,9 @@ dnl add all these to config.h.in but do not define them in config.h [Whether the tool chain supports __attribute__((constructor))]) fi -AC_SEARCH_LIBS([sqrtf], [m]) -if test "x$ac_cv_search_sqrtf" = xno; then - AC_DEFINE([sqrtf], [sqrt], - [Define to sqrt if you do not have the `sqrtf' function.]) -fi +AC_SEARCH_LIBS([sqrtf], [m], [], + [AC_DEFINE([sqrtf], [sqrt], + [Define to sqrt if you do not have the `sqrtf' function.])]) dnl PIXMAN_LINK_WITH_ENV(env-setup, program, true-action, false-action) dnl |