File tree Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Expand file tree Collapse file tree 3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 6540
6540
if eval " test \" ` echo ' $ac_cv_func_' syslog` \" = yes" ; then
6541
6541
echo " $ac_t " " yes" 1>&6
6542
6542
cat >> confdefs.h << \EOF
6543
- #define ENABLE_SYSLOG 1
6543
+ #define USE_SYSLOG 1
6544
6544
EOF
6545
6545
6546
6546
else
Original file line number Diff line number Diff line change @@ -946,7 +946,7 @@ AC_TRY_LINK([#include <setjmp.h>],
946
946
947
947
AC_ARG_ENABLE(syslog, [ --enable-syslog enable logging to syslog],
948
948
[case $enableval in y|ye|yes)
949
- AC_CHECK_FUNC(syslog, [AC_DEFINE(ENABLE_SYSLOG )], [AC_MSG_ERROR([no syslog interface found])])
949
+ AC_CHECK_FUNC(syslog, [AC_DEFINE(USE_SYSLOG )], [AC_MSG_ERROR([no syslog interface found])])
950
950
;;
951
951
esac]
952
952
)
Original file line number Diff line number Diff line change 8
8
* or in config.h afterwards. Of course, if you edit config.h, then your
9
9
* changes will be overwritten the next time you run configure.
10
10
*
11
- * $Id: config.h.in,v 1.113 2000/05/12 13:58:25 scrappy Exp $
11
+ * $Id: config.h.in,v 1.113.2.1 2000/08/28 20:27:32 scrappy Exp $
12
12
*/
13
13
14
14
#ifndef CONFIG_H
163
163
*/
164
164
/* #define ELOG_TIMESTAMPS */
165
165
166
- /*
167
- * USE_SYSLOG: use syslog for elog and error messages printed by tprintf
168
- * and eprintf. This must be activated with the syslog flag in pg_options
169
- * (syslog=0 for stdio, syslog=1 for stdio+syslog, syslog=2 for syslog).
170
- * For information see backend/utils/misc/trace.c (Massimo Dal Zotto).
171
- */
172
- /* #define USE_SYSLOG */
173
-
174
166
/* Debug #defines */
175
167
/* #define IPORTAL_DEBUG */
176
168
/* #define HEAPDEBUGALL */
208
200
*------------------------------------------------------------------------
209
201
*/
210
202
203
+ /*
204
+ * USE_SYSLOG: use syslog for elog and error messages printed by tprintf
205
+ * and eprintf. This must be activated with the syslog flag in pg_options
206
+ * (syslog=0 for stdio, syslog=1 for stdio+syslog, syslog=2 for syslog).
207
+ * For information see backend/utils/misc/trace.c (Massimo Dal Zotto).
208
+ */
209
+ #undef USE_SYSLOG
210
+
211
+
211
212
/* Set to 1 if you want to USE_LOCALE */
212
213
#undef USE_LOCALE
213
214
You can’t perform that action at this time.
0 commit comments