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-4.0.0alpha6~801^2~5883 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e2d1e8fe68ded4e60b78bd35d2f3911e3255298;p=thirdparty%2Fsamba.git r22878: Warn in $PATH contains /usr/ucb. Bugzilla #4295. (This used to be commit 947955a5e8f3e33e21d3a0633ed63be404c42b3c) --- diff --git a/source3/configure.in b/source3/configure.in index 21f4e06423f..0c69dde7d66 100644 --- a/source3/configure.in +++ b/source3/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}"