Обсуждение: Remove --enable-syslog?

Поиск
Список
Период
Сортировка

Remove --enable-syslog?

От
Peter Eisentraut
Дата:
Originally, I added --enable-syslog because it used to be an option in
config.h only.  However, I wonder why we don't always compile it in, it's
off by default anyway.  The only reason I could think of is a portability
problem.  Is there any platform that does not supply the standard syslog
interface?

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



Re: Remove --enable-syslog?

От
Bruce Momjian
Дата:
> Originally, I added --enable-syslog because it used to be an option in
> config.h only.  However, I wonder why we don't always compile it in, it's
> off by default anyway.  The only reason I could think of is a portability
> problem.  Is there any platform that does not supply the standard syslog
> interface?

If we have configure to test for its existance, I can't see why we
wouldn't want it enabled in the binary.
--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: Remove --enable-syslog?

От
Tom Lane
Дата:
Peter Eisentraut <peter_e@gmx.net> writes:
> Is there any platform that does not supply the standard syslog
> interface?

Why worry?  Do AC_CHECK_FUNC(syslog), or some such.
        regards, tom lane