summaryrefslogtreecommitdiff
path: root/libobjc/configure.in
diff options
context:
space:
mode:
authorovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-29 19:19:43 +0000
committerovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-29 19:19:43 +0000
commit0f72a54862f03aa30ab284cb18cff84f28017f39 (patch)
treec3f4335b934f1f8034cbbf98da3742390f3e6cbc /libobjc/configure.in
parent7305837c4af6b06cf82994f7186f0b9cb18bfaa7 (diff)
downloadgcc-0f72a54862f03aa30ab284cb18cff84f28017f39.tar.gz
Added libtool support for building libobjc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35329 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/configure.in')
-rw-r--r--libobjc/configure.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/libobjc/configure.in b/libobjc/configure.in
index b2d656a2773..3fb507d6fcf 100644
--- a/libobjc/configure.in
+++ b/libobjc/configure.in
@@ -103,13 +103,20 @@ fi])
GTHREAD_FLAGS=$objc_cv_gthread_flags
AC_SUBST(GTHREAD_FLAGS)
+# Disable shared libs by default
+AC_DISABLE_SHARED
+# Enable Win32 DLL on MS Windows - FIXME
+AC_LIBTOOL_WIN32_DLL
+# Use libtool
+AC_PROG_LIBTOOL
+
AC_ARG_ENABLE(objc-gc,
[ --enable-objc-gc enable the use of Boehm's garbage collector with
the GNU Objective-C runtime.],
if [[[ x$enable_objc_gc = xno ]]]; then
OBJC_BOEHM_GC=''
else
- OBJC_BOEHM_GC=libobjc_gc.a
+ OBJC_BOEHM_GC=libobjc_gc.la
fi,
OBJC_BOEHM_GC='')
AC_SUBST(OBJC_BOEHM_GC)