From: James Peach Date: Tue, 15 May 2007 04:28:20 +0000 (+0000) Subject: r22878: Warn in $PATH contains /usr/ucb. Bugzilla #4295. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~458 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=947955a5e8f3e33e21d3a0633ed63be404c42b3c;p=thirdparty%2Fsamba.git r22878: Warn in $PATH contains /usr/ucb. Bugzilla #4295. --- diff --git a/source/configure.in b/source/configure.in index 21f4e06423f..0c69dde7d66 100644 --- a/source/configure.in +++ b/source/configure.in @@ -6,6 +6,12 @@ AC_INIT(include/includes.h) AC_CONFIG_HEADER(include/config.h) AC_DEFINE(CONFIG_H_IS_FROM_SAMBA,1,[Marker for samba's config.h]) +case "$PATH" in + */usr/ucb*) + AC_MSG_WARN([\$PATH contains /usr/ucb - build errors may follow]) + ;; +esac + SMB_VERSION_STRING=`cat $srcdir/include/version.h | grep 'SAMBA_VERSION_OFFICIAL_STRING' | cut -d '"' -f2` echo "SAMBA VERSION: ${SMB_VERSION_STRING}"