From 219c8d57970b22c7d31dd2471702324e2760484f Mon Sep 17 00:00:00 2001 From: Evgeniy Kozhuhovskiy Date: Fri, 3 Jun 2005 15:41:51 +0000 Subject: [PATCH] some changes to configure --- source/ChangeLog | 6 ++++++ source/configure | 9 ++++----- source/configure.in | 8 ++++---- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/source/ChangeLog b/source/ChangeLog index 44d07ef..055a490 100644 --- a/source/ChangeLog +++ b/source/ChangeLog @@ -1,3 +1,9 @@ +2005-06-03 Evgeniy Kozhuhovskiy + + * configure.in: fixed warnings under *bsd (removed sys/mount.h + from the list of checking headers) + * configure.in: syslog disabled by default + 2005-05-08 Evgeniy Kozhuhovskiy * bfutil/nlookup.c (print_nodeinfo): added "Type" entry to the diff --git a/source/configure b/source/configure index cb9e5fc..3e99e95 100755 --- a/source/configure +++ b/source/configure @@ -854,7 +854,7 @@ Optional Features: --enable-hangup-watch-cd hangup watchs for DCD line (default) --enable-log-passwd write session password to log (default) --enable-csy-locks use '.csy' locks while dialing (default) - --enable-syslog use syslog for logging experimental (default) + --disable-syslog use syslog for logging (experimental) (default) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1566,7 +1566,7 @@ fi; # Check whether --enable-syslog or --disable-syslog was given. if test "${enable_syslog+set}" = set; then enableval="$enable_syslog" - if test $enableval = yes; then + if test $enableval = no; then cat >>confdefs.h <<\_ACEOF #define USE_SYSLOG 1 @@ -1576,7 +1576,7 @@ _ACEOF else cat >>confdefs.h <<\_ACEOF -#define USE_SYSLOG 1 +#define USE_SYSLOG 0 _ACEOF fi; @@ -3847,8 +3847,7 @@ done - -for ac_header in sys/select.h sys/param.h sys/mount.h +for ac_header in sys/select.h sys/param.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/source/configure.in b/source/configure.in index cb9ff39..95f027a 100644 --- a/source/configure.in +++ b/source/configure.in @@ -63,10 +63,10 @@ AC_ARG_ENABLE(csy-locks, [ --enable-csy-locks use '.csy' locks while AC_DEFINE([BFORCE_USE_CSY], [1], [Use '.csy' locks while dialing]) fi], [AC_DEFINE([BFORCE_USE_CSY], [1], [Use '.csy' locks while dialing])]) -AC_ARG_ENABLE(syslog, [ --enable-syslog use syslog for logging [experimental] (default)], - [if test $enableval = yes; then +AC_ARG_ENABLE(syslog, [ --disable-syslog use syslog for logging (experimental) (default)], + [if test $enableval = no; then AC_DEFINE([USE_SYSLOG], [1], [Use syslog for logging]) - fi], [AC_DEFINE([USE_SYSLOG], [1], [Use syslog for logging])]) + fi], [AC_DEFINE([USE_SYSLOG], [0], [Use syslog for logging])]) AC_ARG_WITH(uucp-lockdir, [ --with-uucp-lockdir specify directory for UUCP style locks], [AC_DEFINE_UNQUOTED(BFORCE_LOCK_DIR, "$withval")], @@ -98,7 +98,7 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h sys/file.h sys/ioctl.h sys/time.h unistd.h) AC_CHECK_HEADERS(termios.h sys/termiox.h sys/vfs.h sys/statfs.h sys/statvfs.h) -AC_CHECK_HEADERS(sys/select.h sys/param.h sys/mount.h) +AC_CHECK_HEADERS(sys/select.h sys/param.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST