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..7d3f671 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
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss

Reply via email to