diff: configure.in: changes for FreeBSD shared libs

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Feb 26 20:41:54 AEDT 1998


Estimated hours taken: 0.1

configure.in:
	Incorporate a patch from Kevet Duncombe <dunc at acm.org>:
	add settings of {EXE,SHLIB}_RPATH_{OPT,SEP} for FreeBSD.

Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.121
diff -u -u -r1.121 configure.in
--- configure.in	1998/02/11 03:54:08	1.121
+++ configure.in	1998/02/26 09:30:31
@@ -1408,7 +1408,12 @@
 		AC_MSG_RESULT(yes)
 		LINK_SHARED_OBJ="ld -Bshareable"
 		EXT_FOR_SHARED_LIB=so
-		# XXX what about *_RPATH_*?
+		# From Kevet Duncombe <dunc at acm.org> tested on FreeBSD 2.2.5
+		EXE_RPATH_OPT="-R"
+		EXE_RPATH_SEP=" -R"
+		SHLIB_RPATH_OPT="-R"
+		SHLIB_RPATH_SEP=" -R"
 		;;
 	sparc-sun-solaris2.*)
 		AC_MSG_RESULT(yes)
-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list