Re: pgsql 8.0.0b1 - openssl detection

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pgsql 8.0.0b1 - openssl detection
Дата
Msg-id 200408182209.54858.peter_e@gmx.net
обсуждение исходный текст
Ответ на pgsql 8.0.0b1 - openssl detection  (Stefanos Harhalakis <v13@it.teithe.gr>)
Ответы Re: pgsql 8.0.0b1 - openssl detection
Список pgsql-bugs
Stefanos Harhalakis wrote:
> This happens because AC_CHECK_HEADERSis implemented using the
> preprocessor (cpp/gcc -E) without adding CFLAGS/CXXFLAGS:

The correct variable is CPPFLAGS.  Actually, you can also use
--with-includes, but this is only in PostgreSQL, so I suggest you get
used to CPPFLAGS, because that works everywhere.

> If you are not going to change this back to the old behaviour you
> should consider using AC_ARG_ENABLE instead of AC_ARG_WITH since the
> second is intended to be used when there is an optional (or not)
> argument to be passed (--with-package=arg) while the first is
> intended to be used to enable or disable a feature
> (--enable-feature).

This is wrong.  Both variants can accept an argument or not.  The
difference is only in the spelling.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: BUG #1222: database owner should have implicit control
Следующее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1224: Restarting postgres appends extra -D argument