]> git.ipfire.org Git - thirdparty/git.git/commit - configure.ac
configure: auto detect dynamic library path switches
authorGiovanni Funchal <gafunchal@gmail.com>
Sat, 16 Aug 2008 13:01:23 +0000 (15:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Aug 2008 00:42:02 +0000 (17:42 -0700)
commit798a94500230e4d2a1a18f005fe9592454fe451b
tree3e09b66d76f561b5602459959be45d308fd178aa
parentf5b904db6b02e0ded76732eabe106069a87859fd
configure: auto detect dynamic library path switches

Most systems (e.g. Linux gcc) use "-Wl,-rpath," to pass to the linker the
runtime dynamic library paths. Some other systems (e.g. Sun, some BSD) use
"-R" etc. This patch adds tests in configure for the three most common
switches (to my best knowledge) which should cover all current platforms
where Git is used.

Signed-Off-By: Giovanni Funchal <gafunchal@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.in
configure.ac