Re: getopt_long search in configure - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: getopt_long search in configure
Date
Msg-id Pine.LNX.4.44.0207161938210.9047-100000@localhost.localdomain
Whole thread Raw
In response to Re: getopt_long search in configure  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: getopt_long search in configure  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian writes:

> I have it here in /usr/local/include.  Not sure how it got there.  It
> must have been installed by some other software.

OK good.  But the check should be

AC_SEARCH_LIBS(getopt_long, [getopt])

That way you check if the library actually contains the function you want.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: "Michael J. Ditto"
Date:
Subject: Building PostgreSQL 7.2.1 w/ Tcl/Tk support on Mac OS X
Next
From: Peter Eisentraut
Date:
Subject: Re: Future of src/utils