59143cfe93
allows people to manipulate elf files.
19 lines
536 B
Plaintext
19 lines
536 B
Plaintext
$OpenBSD: patch-aclocal_m4,v 1.1.1.1 2006/07/12 08:45:58 espie Exp $
|
|
--- aclocal.m4.orig Sat May 21 17:39:19 2005
|
|
+++ aclocal.m4 Wed Jul 12 10:39:55 2006
|
|
@@ -269,6 +269,14 @@ AC_DEFUN(mr_ENABLE_SHARED, [
|
|
mr_enable_shared=no
|
|
fi
|
|
;;
|
|
+ *-openbsd*)
|
|
+ PICFLAGS='-fPIC -DPIC'
|
|
+ SHLIB_SFX='.so.$(MAJOR).0'
|
|
+ SHLINK_SFX='$(SHLIB_SFX)'
|
|
+ SONAME_SFX='$(SHLIB_SFX)'
|
|
+ LINK_SHLIB='$(CC) -shared'
|
|
+ INSTALL_SHLIB='$(INSTALL_PROGRAM)'
|
|
+ ;;
|
|
sparc-sun-solaris2*)
|
|
if test "$GCC" = yes; then
|
|
PICFLAGS='-fPIC -DPIC'
|