summaryrefslogtreecommitdiffstats
path: root/devel/libtecla/files/patch-configure.in
blob: d66d71ce5737202344bf43a9645bd92e3c6c135b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- configure.in.orig	Wed Nov 13 18:46:39 2002
+++ configure.in	Wed Nov 13 18:43:42 2002
@@ -365,6 +365,13 @@
 *dec-osf*)
   AC_DEFINE(_OSF_SOURCE)
   ;;
+*freebsd*)
+  SHARED_EXT=".so.${MAJOR_VER}"
+  SHARED_ALT=".so"
+  VERSION_OPT='--version-script=$$(srcdir)/libtecla.map'
+  LINK_SHARED='ld -o $$@ -soname libtecla$$(SUFFIX).so.'${MAJOR_VER}' -shared '$VERSION_OPT' $$(LIB_OBJECTS) $$(LIBS) -lc'
+  SHARED_CFLAGS="-fpic"
+  ;;
 esac
 
 dnl The following statement checks to see if the GNU C compiler has
OpenPOWER on IntegriCloud