Skip site navigation (1) Skip section navigation (2)

Re: 7.0.2 on Solaris

From: pgsql-hackers(at)thewrittenword(dot)com
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.0.2 on Solaris
Date: 2000-06-29 10:45:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Wed, Jun 28, 2000 at 08:38:08PM +0200, Peter Eisentraut wrote:
> pgsql-hackers(at)thewrittenword(dot)com writes:
> > 8. In configure:
> >    a) It is evil to use a library if it exists:
> >       (AC_CHECK_LIB(util,main))
> >       It is far better to check for a function in the library.
> Amen to that, but unfortunately most of the information about which
> function was required from which library is lost in history. Btw., the
> proper solution to this is AC_SEARCH_LIBS, not what you wrote.

AC_SEARCH_LIBS is the correct solution providing you don't need the
feature of AC_CHECK_LIB that defines HAVE_LIB[LIBRARY] and adds
-l[lib] to LIBS.

albert chin (china(at)thewrittenword(dot)com)

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-06-29 14:35:01
Subject: Re: Misc. consequences of backend memory management changes
Previous:From: Zeugswetter Andreas SBDate: 2000-06-29 10:33:39
Subject: AW: AW: Big 7.1 open items

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group