1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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.
This commit is contained in:
Tom Lane
2006-11-06 03:44:38 +00:00
parent 74686b6de7
commit 02f37bd8c4
3 changed files with 83 additions and 128 deletions

View File

@ -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