You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Collins-Sussman <su...@newton.collab.net> on 2000/12/14 19:21:03 UTC

shared library suffixes

sussman@tigris.org writes:

>   User: sussman 
>   Date: 00/12/14 10:48:16
> 
>   Modified:    subversion/include svn_ra.h
>                subversion/libsvn_client Makefile.am client.h ra_loader.c
>   Log:
>   Implement libsvn_client mechanism for loading RA libraries.
>   
>   +  /* TODO:  uh-oh;  is `.so' portable?  Don't think so. */
>   +  library_name = apr_psprintf (pool, "libsvn_ra_%s.so",
>   +                               svn_client__ra_library_table[i][1]);


Hey Greg, does APR have a solution for this problem?  Or do I need
some cruft like #ifdef WIN32 use ".dll" instead?

Re: shared library suffixes

Posted by Branko Čibej <br...@xbc.nu>.
Ben Collins-Sussman wrote:

> Indeed, I'm guessing that if APR doesn't have a macro for it, there's
> probably a really *generic* autoconf macro for it.

There has to be, even on Unix. HP-UX uses ".sl", for instance.


-- 
Brane �ibej
    home:   <br...@xbc.nu>             http://www.xbc.nu/brane/
    work:   <br...@hermes.si>   http://www.hermes-softlab.com/
     ACM:   <br...@acm.org>            http://www.acm.org/

Re: shared library suffixes

Posted by Ben Collins-Sussman <su...@newton.collab.net>.
Indeed, I'm guessing that if APR doesn't have a macro for it, there's
probably a really *generic* autoconf macro for it.

Markus Scherer <ma...@jtcsv.com> writes:

> in icu we autoconf that kind of thing.
> markus
> 
> Ben Collins-Sussman wrote:
> > 
> > sussman@tigris.org writes:
> > 
> > >   User: sussman
> > >   Date: 00/12/14 10:48:16
> > >
> > >   Modified:    subversion/include svn_ra.h
> > >                subversion/libsvn_client Makefile.am client.h ra_loader.c
> > >   Log:
> > >   Implement libsvn_client mechanism for loading RA libraries.
> > >
> > >   +  /* TODO:  uh-oh;  is `.so' portable?  Don't think so. */
> > >   +  library_name = apr_psprintf (pool, "libsvn_ra_%s.so",
> > >   +                               svn_client__ra_library_table[i][1]);
> > 
> > Hey Greg, does APR have a solution for this problem?  Or do I need
> > some cruft like #ifdef WIN32 use ".dll" instead?

Re: shared library suffixes

Posted by Markus Scherer <ma...@jtcsv.com>.
in icu we autoconf that kind of thing.
markus

Ben Collins-Sussman wrote:
> 
> sussman@tigris.org writes:
> 
> >   User: sussman
> >   Date: 00/12/14 10:48:16
> >
> >   Modified:    subversion/include svn_ra.h
> >                subversion/libsvn_client Makefile.am client.h ra_loader.c
> >   Log:
> >   Implement libsvn_client mechanism for loading RA libraries.
> >
> >   +  /* TODO:  uh-oh;  is `.so' portable?  Don't think so. */
> >   +  library_name = apr_psprintf (pool, "libsvn_ra_%s.so",
> >   +                               svn_client__ra_library_table[i][1]);
> 
> Hey Greg, does APR have a solution for this problem?  Or do I need
> some cruft like #ifdef WIN32 use ".dll" instead?