Thread: Remove --enable-syslog?

Remove --enable-syslog?

From
Peter Eisentraut
Date:
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?

From
Bruce Momjian
Date:
> 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?

From
Tom Lane
Date:
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