summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-05-15 04:28:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:05 -0500
commit9e2d1e8fe68ded4e60b78bd35d2f3911e3255298 (patch)
treeea178a6449b2ec86b82b5b3c018c5331fde6f079
parent338d2462d4ba514343a5fd78fe8ba4bdc06bec8a (diff)
downloadsamba-9e2d1e8fe68ded4e60b78bd35d2f3911e3255298.tar.gz
samba-9e2d1e8fe68ded4e60b78bd35d2f3911e3255298.tar.bz2
samba-9e2d1e8fe68ded4e60b78bd35d2f3911e3255298.zip
r22878: Warn in $PATH contains /usr/ucb. Bugzilla #4295.
(This used to be commit 947955a5e8f3e33e21d3a0633ed63be404c42b3c)
-rw-r--r--source3/configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 21f4e06423..0c69dde7d6 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}"