r22878: Warn in $PATH contains /usr/ucb. Bugzilla #4295.
authorJames Peach <jpeach@samba.org>
Tue, 15 May 2007 04:28:20 +0000 (04:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:05 +0000 (12:22 -0500)
source/configure.in

index 21f4e06423ff186d5d1ca27e01ec236fbd6fd7b6..0c69dde7d6635992b4aba5d10a3a1d6113eaca50 100644 (file)
@@ -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}"