Commit ed3d4c31 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

Fix pthread check on OS/2

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
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 301cdb76
Pipeline #4540 passed with stage
in 2 minutes and 35 seconds
......@@ -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,14 @@ dnl Check for doxygen (dynamic documentation generator)
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 ---------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment