summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2011-06-04 00:35:37 -0700
committerMarcos H. Woehrmann <marcos.woehrmann@artifex.com>2011-06-04 00:35:37 -0700
commit77b456f298aeabaa4b27b63a9ead0aa0470ac5b8 (patch)
tree1e08d2703046d4e3be9600d3cd74fa736e267740
parent31174084f95474f9c0edfd4c534c3b1654c02255 (diff)
Removed HAVE_HYPOT from configure scripts.
This revision disables checking for a system hypot() function and is a followup to 7dcc68ce753175a9c686021d53a061253e2787c3 which modified math_.h to always use our internal hypot() function. No expected cluster differences.
-rw-r--r--config.mak.in2
-rw-r--r--configure.ac3
-rw-r--r--gs/base/Makefile.in5
-rw-r--r--gs/base/configure.ac3
-rw-r--r--gs/base/macosx.mak2
-rw-r--r--gs/base/unix-gcc.mak2
6 files changed, 2 insertions, 15 deletions
diff --git a/config.mak.in b/config.mak.in
index 8f40441b8..784ab0cd6 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -1,4 +1,4 @@
-CONFDEFS?=@HAVE_MKSTEMP@ @HAVE_HYPOT@ @HAVE_SSE2@ @HAVE_BSWAP32@ @HAVE_BYTESWAP_H@
+CONFDEFS?=@HAVE_MKSTEMP@ @HAVE_SSE2@ @HAVE_BSWAP32@ @HAVE_BYTESWAP_H@
diff --git a/configure.ac b/configure.ac
index bf12195d6..ac8c34ba4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,9 +66,6 @@ AC_CHECK_FUNCS([alarm dup2 floor ftruncate gethostbyaddr gethostbyname gethostna
AC_CHECK_FUNCS([mkstemp], [HAVE_MKSTEMP=-DHAVE_MKSTEMP])
AC_SUBST(HAVE_MKSTEMP)
-AC_CHECK_FUNCS([hypot], [HAVE_HYPOT=-DHAVE_HYPOT])
-AC_SUBST(HAVE_HYPOT)
-
AC_CHECK_FUNCS([fopen64], [HAVE_FILE64=-DHAVE_FILE64])
AC_SUBST(HAVE_FILE64)
diff --git a/gs/base/Makefile.in b/gs/base/Makefile.in
index b014051a5..627d093da 100644
--- a/gs/base/Makefile.in
+++ b/gs/base/Makefile.in
@@ -130,9 +130,6 @@ GENOPT=
# uses mkstemp instead of mktemp
# This uses the more secure temporary file creation call
# Enable this if it is available on your platform.
-# -DHAVE_HYPOT
-# use the system hypot() call
-#
# -DHAVE_FILE64
# use marked versions of the stdio FILE calls, fopen64() et al.
#
@@ -147,7 +144,7 @@ GENOPT=
# -DHAVE_SSE2
# use sse2 intrinsics
-CAPOPT= @HAVE_MKSTEMP@ @HAVE_HYPOT@ @HAVE_FILE64@ @HAVE_MKSTEMP64@ @HAVE_FONTCONFIG@ @HAVE_LIBIDN@ @HAVE_SETLOCALE@ @HAVE_SSE2@ @HAVE_DBUS@ @HAVE_BSWAP32@ @HAVE_BYTESWAP_H@
+CAPOPT= @HAVE_MKSTEMP@ @HAVE_FILE64@ @HAVE_MKSTEMP64@ @HAVE_FONTCONFIG@ @HAVE_LIBIDN@ @HAVE_SETLOCALE@ @HAVE_SSE2@ @HAVE_DBUS@ @HAVE_BSWAP32@ @HAVE_BYTESWAP_H@
# Define the name of the executable file.
diff --git a/gs/base/configure.ac b/gs/base/configure.ac
index a152e776b..09a495f00 100644
--- a/gs/base/configure.ac
+++ b/gs/base/configure.ac
@@ -1507,9 +1507,6 @@ dnl --------------------------------------------------
AC_CHECK_FUNCS([mkstemp], [HAVE_MKSTEMP=-DHAVE_MKSTEMP])
AC_SUBST(HAVE_MKSTEMP)
-AC_CHECK_FUNCS([hypot], [HAVE_HYPOT=-DHAVE_HYPOT])
-AC_SUBST(HAVE_HYPOT)
-
AC_CHECK_FUNCS([fopen64], [HAVE_FILE64=-DHAVE_FILE64])
AC_SUBST(HAVE_FILE64)
diff --git a/gs/base/macosx.mak b/gs/base/macosx.mak
index b74c3e30a..b9aba8272 100644
--- a/gs/base/macosx.mak
+++ b/gs/base/macosx.mak
@@ -102,8 +102,6 @@ GENOPT=
# uses mkstemp instead of mktemp
# This uses the more secure temporary file creation call
# Enable this if it is available on your platform.
-# -DHAVE_HYPOT
-# use the system hypot() call
CAPOPT= -DHAVE_MKSTEMP
diff --git a/gs/base/unix-gcc.mak b/gs/base/unix-gcc.mak
index d61dcf42c..518781e90 100644
--- a/gs/base/unix-gcc.mak
+++ b/gs/base/unix-gcc.mak
@@ -101,8 +101,6 @@ GENOPT=
# uses mkstemp instead of mktemp
# This uses the more secure temporary file creation call
# Enable this if it is available on your platform.
-# -DHAVE_HYPOT
-# use the system hypot() call
CAPOPT= -DHAVE_MKSTEMP