[libobjc] committed, shared libraries

Andrew Pinski pinskia@physics.uc.edu
Fri Jun 11 20:59:00 GMT 2004


> 
> On Fri, 11 Jun 2004, Andrew Pinski wrote:
> 
> > I noticed this while working on getting libobjc back running
> > on Darwin.  Libobjc was disabling shared libaries by default
> > unlike the other target libraries.  This patch fixes that
> > tested on powerpc-apple-darwin with a patch to the top level
> > configure to build libobjc there.
> 
> You need to update the documentation of --enable-shared to reflect this
> change.
> 
> If --enable-shared=libobjc is recognised, the documentation should reflect
> that as well.  (Do libgfortran and libmudflap have --enable-shared=package
> configure options?  The documentation doesn't say either way.)  In
> addition, the documentation of --enable-version-specific-runtime-libs says
> it is the default for libobjc, which no longer seems accurate.

Woops I do not noticed the documenation.  This will fixed with my next patch
after this one which adds support for --enable-shared=libobjc which I committed
after testing it.

Thanks,
Andrew Pinski

2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>

        * configure.ac: Support --enable-shared=libobjc.
        * configure: Regenerate.

Patch:
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libobjc/configure.ac,v
retrieving revision 1.7
diff -u -p -r1.7 configure.ac
--- configure.ac        11 Jun 2004 17:37:06 -0000      1.7
+++ configure.ac        11 Jun 2004 20:10:26 -0000
@@ -21,7 +21,7 @@
 #02111-1307, USA.
 
 AC_PREREQ(2.59)
-AC_INIT
+AC_INIT(package-unused, version-unused,, libobjc)
 AC_CONFIG_SRCDIR([objc/objc.h])
 
 # We need the following definitions because AC_PROG_LIBTOOL relies on them



More information about the Gcc-patches mailing list