-#! /bin/sh
+#!/bin/sh
# Run this script to build samba from CVS.
## Look for autoheader
##
for i in $TESTAUTOHEADER; do
- if which $i >& /dev/null; then
+ if which $i > /dev/null; then
if [ `$i --version | head -1 | cut -d. -f 2` -ge 53 ]; then
AUTOHEADER=$i
AUTOHEADERFOUND="1"
##
for i in $TESTAUTOCONF; do
- if which $i >& /dev/null; then
+ if which $i > /dev/null; then
if [ `$i --version | head -1 | cut -d. -f 2` -ge 53 ]; then
AUTOCONF=$i
AUTOCONFFOUND="1"
##
## do we have it?
##
-if [ "$AUTOCONFFOUND" == "0" -o "$AUTOHEADERFOUND" == "0" ]; then
+if [ "$AUTOCONFFOUND" = "0" -o "$AUTOHEADERFOUND" = "0" ]; then
echo "$0: need autoconf 2.53 or later to build samba from CVS" >&2
exit 1
fi
if (!smbc_initialized) {
/* Do some library wide intialisations the first time we get called */
- /* Do we still need this ? */
- DEBUGLEVEL = 10;
+ /* Set this to what the user wants */
+ DEBUGLEVEL = context->debug;
setup_logging( "libsmbclient", True);