Move configure output details out of perl code.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 25 Feb 2008 17:51:39 +0000 (18:51 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 25 Feb 2008 17:51:39 +0000 (18:51 +0100)
(This used to be commit 7fe2d6666e6a1ae6a9453ccbe9a0a9136f028e55)

source4/build/smb_build/main.pl
source4/configure.ac

index acf8928d32178c9a2c33fcbbe16f1a944e762f83..741de22b2f7607dd67b0ddbbd11ee65ab1fad66a 100644 (file)
@@ -99,13 +99,4 @@ $mkenv->write("data.mk");
 
 summary::show($OUTPUT, \%config::config);
 
-if ($shared_libs_used) {
-       print <<EOF;
-To run binaries without installing, set the following environment variable:
-       $config::config{LIB_PATH_VAR}=$config::config{builddir}/bin/shared
-EOF
-}
-
-print "To build Samba, run $config::config{MAKE}\n";
-
 1;
index b609b4f52c89b193ed400899ca27fc73cbc9b430..66556ad6415a37042068cec842c393d87400e8bc 100644 (file)
@@ -226,3 +226,12 @@ AC_FOREACH([AC_Var], m4_defn([_AC_SUBST_VARS]), [
 AC_Var = $AC_Var])
 $MAKE_SETTINGS
 CEOF
+
+if test $USESHARED = true
+then
+       echo "To run binaries without installing, set the following environment variable:"
+       echo "$ac_cv_LIB_PATH_VAR=$builddir/bin/shared"
+fi
+
+echo
+echo "To build Samba, run $ac_cv_path_MAKE"