summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>1999-12-22 00:07:07 +0000
committercls%seawood.org <devnull@localhost>1999-12-22 00:07:07 +0000
commit2dd429f25b5cbbf4ddaa7e971ea6bd758c6a0c7b (patch)
treee9a86ccf324ff6e8d7877f9c16a390f5b8f37292 /config
parentcf616067f2d682b9b76296e0a1045c50cb1cf395 (diff)
downloadnspr-hg-2dd429f25b5cbbf4ddaa7e971ea6bd758c6a0c7b.tar.gz
Cleaned up BeOS autoconf build.
Added RESOLVE_LINK_SYMBOLS for platforms that need to resolve all symbols when linking shared libs. Removed use of EXTRA_LIBS from configure.
Diffstat (limited to 'config')
-rw-r--r--config/autoconf.mk.in2
-rw-r--r--config/config.mk8
2 files changed, 9 insertions, 1 deletions
diff --git a/config/autoconf.mk.in b/config/autoconf.mk.in
index f7b6ae10..3c7e77a3 100644
--- a/config/autoconf.mk.in
+++ b/config/autoconf.mk.in
@@ -41,7 +41,7 @@ MKSHLIB = @MKSHLIB@
DSO_CFLAGS = @DSO_CFLAGS@
DSO_LDOPTS = @DSO_LDOPTS@
-EXTRA_LIBS = @EXTRA_LIBS@
+RESOLVE_LINK_SYMBOLS = @RESOLVE_LINK_SYMBOLS@
HOST_CC = @HOST_CC@
HOST_CFLAGS = @HOST_CFLAGS@
diff --git a/config/config.mk b/config/config.mk
index 8deb6fa2..4f7863f2 100644
--- a/config/config.mk
+++ b/config/config.mk
@@ -32,6 +32,14 @@ NSPR_CONFIG_MK = 1
# USE_PTHREADS=1
# NS_USE_GCC=
#
+ifndef topsrcdir
+topsrcdir=$(MOD_DEPTH)
+endif
+
+ifndef srcdir
+srcdir=.
+endif
+
ifdef USE_AUTOCONF
NFSPWD = $(MOD_DEPTH)/config/nfspwd