Hi/2.

Thomas Petazzoni wrote:
> Hello,
> 
> On Wed, 18 Jan 2017 15:43:07 +0900, KO Myung-Hun wrote:
> 
>> +AS_CASE([$host],
>> +  [*os2*], [LDFLAGS="$LDFLAGS -no-undefined"])
> 
> Please don't use *os2* as a wildcard. It matches not only the OS/2
> operating system, but also the nios2 CPU architecture, which is
> completely unrelated. Maybe something like *-os2-* is more appropriate.
> 

Ok, fixed.

-- 
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.ecomstation.co.kr

From 4b239f9862e95106d465d9be4f15a65830b13023 Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh@chollian.net>
Date: Wed, 18 Jan 2017 15:40:45 +0900
Subject: [PATCH] Fix pthread check on OS/2

pthread check fails due to -no-undefined of LDFLAGS. gcc4 treats
unknown flags as an error unlike gcc3.
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index af429b4..b45c0c4 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 ---------------------------------------------
@@ -112,6 +109,9 @@ dnl Check for doxygen (dynamic documentation generator)
 dnl ---------------------------------------------
 AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, no)
 
+AS_CASE([$host],
+  [*-*-os2*], [LDFLAGS="$LDFLAGS -no-undefined"])
+
 dnl ---------------------------------------------
 dnl Output configuration files
 dnl ---------------------------------------------
-- 
2.11.0

_______________________________________________
DVDnav-discuss mailing list
DVDnav-discuss@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss

Reply via email to