diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-25 18:51:39 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-25 18:51:39 +0100 |
commit | 3f6a915f2bf18e20d22a75cd1320f6cd4358d709 (patch) | |
tree | d6fc7bfb45f9ab31dceb6d431dc89c5e25277019 /source4 | |
parent | 8e42aee98e09f6d59031f5bcf2ae454f1305f127 (diff) | |
download | samba-3f6a915f2bf18e20d22a75cd1320f6cd4358d709.tar.gz samba-3f6a915f2bf18e20d22a75cd1320f6cd4358d709.tar.bz2 samba-3f6a915f2bf18e20d22a75cd1320f6cd4358d709.zip |
Move configure output details out of perl code.
(This used to be commit 7fe2d6666e6a1ae6a9453ccbe9a0a9136f028e55)
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" |