[mono/gtk-sharp] efdf6463: Simplify instructions about choosing the installation prefix
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000142193f4f01-1f6e5f16-8071-4dd4-b032-fc58527bc749-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/gtk-sharp
Compare: https://github.com/mono/gtk-sharp/compare/78fd18e0b7e8...efdf6463bbef
Commit: efdf6463bbeffacc210ac289b5331f0f9061e400
Author: Andrés G. Aragoneses <[email protected]> (knocte)
Committer: Bertrand Lorentz <[email protected]> (bl8)
Date: 2013-11-02 14:33:31 GMT
URL: https://github.com/mono/gtk-sharp/commit/efdf6463bbeffacc210ac289b5331f0f9061e400
Simplify instructions about choosing the installation prefix
Clarify the README thanks to the use of pkg-config, and add a
configure-time warning so people notice about the problem without having
to read the README.
Changed paths:
M README
M configure.ac
Modified: README
===================================================================
@@ -21,14 +21,10 @@ Building & Installing Gtk#:
to make it so mono (and mint) can find your assemblies. In other words,
doing something like:
- ./configure --prefix=/the/path/that/was/used/for/mono
+ ./configure --prefix=`pkg-config --variable=prefix mono`
make
make install
- (Of course, replace "/the/path/that/was/used/for/mono" with whatever path
- which was used for Mono. This might have been "/usr", "/usr/local", or
- something similar.)
-
If you are compiling from GIT, you will need libtool and the auto* tools
and will need to replace the configure above with autogen.sh.
Modified: configure.ac
===================================================================
@@ -292,3 +292,10 @@ if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/mono
fi
echo "---"
+mono_prefix=`pkg-config --variable=prefix mono`
+if test "x$mono_prefix" != "x$prefix"; then
+ AC_WARN(Prefix to use ($prefix) is not the same as Mono's ($mono_prefix). Consider using
+ ./configure --prefix=$mono_prefix
+ See the README for more information.
+ )
+fi
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches