aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-06 03:44:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-06 03:44:38 +0000
commit02f37bd8c4bfdd35869007d142267cd9a1f671b9 (patch)
treef7209180d0b4555d911291567ebe587c827470cb /src
parent74686b6de78d19aed6d9aa33a7bb5dfb06f3e018 (diff)
downloadpostgresql-02f37bd8c4bfdd35869007d142267cd9a1f671b9.tar.gz
postgresql-02f37bd8c4bfdd35869007d142267cd9a1f671b9.zip
Revert to the pre-8.2 method of probing for libm, that is, always
include it if it links properly. It seems too risky to assume that standard functions like pow() are not special-cased by the compiler. Per report from Andreas Lange that build fails on Solaris cc compiler with -fast. Even though we don't consider that a supported option, I'm worried that similar issues will arise with other compilers.
Diffstat (limited to 'src')
-rw-r--r--src/include/pg_config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in
index 0043e9afaf2..7c1ac6b69bf 100644
--- a/src/include/pg_config.h.in
+++ b/src/include/pg_config.h.in
@@ -233,6 +233,9 @@
/* Define to 1 if you have the `ldap_r' library (-lldap_r). */
#undef HAVE_LIBLDAP_R
+/* Define to 1 if you have the `m' library (-lm). */
+#undef HAVE_LIBM
+
/* Define to 1 if you have the `pam' library (-lpam). */
#undef HAVE_LIBPAM