diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/smb_build/main.pl | 9 | ||||
-rw-r--r-- | source4/configure.ac | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl index acf8928d32..741de22b2f 100644 --- a/source4/build/smb_build/main.pl +++ b/source4/build/smb_build/main.pl @@ -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; diff --git a/source4/configure.ac b/source4/configure.ac index b609b4f52c..66556ad641 100644 --- a/source4/configure.ac +++ b/source4/configure.ac @@ -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" |