[libdvdnav-devel] [PATCH v2] Fix pthread check on OS/2

Jean-Baptiste Kempf jb at videolan.org
Tue Feb 12 14:54:30 CET 2019


Applied.

On Mon, 29 Jan 2018, at 05:38, KO Myung-Hun wrote:
> Ping ?
> 
> KO Myung-Hun wrote:
> > pthread check fails due to -no-undefined of LDFLAGS. gcc4 treats
> > unknown flags as an error unlike gcc3.
> > 
> > Add -no-undefined libtool flag after all checks
> > ---
> >  configure.ac | 11 ++++++++---
> >  1 file changed, 8 insertions(+), 3 deletions(-)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index 5be1afb..555bfd3 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -72,9 +72,6 @@ AC_C_BIGENDIAN
> >  AS_CASE([$host],
> >    [*mingw32* | *cygwin*], [AC_CHECK_FUNCS(gettimeofday)])
> >  
> > -AS_CASE([$host],
> > -  [*os2*], [LDFLAGS="$LDFLAGS -no-undefined"])
> > -
> >  dnl ---------------------------------------------
> >  dnl threads
> >  dnl ---------------------------------------------
> > @@ -113,6 +110,14 @@ dnl ---------------------------------------------
> >  AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, no)
> >  
> >  dnl ---------------------------------------------
> > +dnl -no-undefined libtool flag
> > +dnl
> > +dnl This should be after all checks
> > +dnl ---------------------------------------------
> > +AS_CASE([$host_os],
> > +  [os2*], [LDFLAGS="$LDFLAGS -no-undefined"])
> > +
> > +dnl ---------------------------------------------
> >  dnl Output configuration files
> >  dnl ---------------------------------------------
> >  AC_OUTPUT([
> 
> -- 
> KO Myung-Hun
> 
> Using Mozilla SeaMonkey 2.7.2
> Under OS/2 Warp 4 for Korean with FixPak #15
> In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM
> 
> Korean OS/2 User Community : http://www.os2.kr/
> 
> _______________________________________________
> libdvdnav-devel mailing list
> libdvdnav-devel at videolan.org
> https://mailman.videolan.org/listinfo/libdvdnav-devel


-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the libdvdnav-devel mailing list