| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: getopt_long search in configure |
| Date: | 2002-07-17 02:54:28 |
| Message-ID: | 200207170254.g6H2sSQ15895@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Peter Eisentraut wrote:
> 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.
Thanks. Change made. I was finding it hard to debug the pg_restore
flag problems without long options. This way, I have them. I will try
to research how I got libgetopt.a in /usr/local/include. Does anyone
else have one? Maybe I generated it by hand.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2002-07-17 03:03:27 | Re: utils C files |
| Previous Message | Bruce Momjian | 2002-07-17 02:47:36 | Re: Future of src/utils |