]> git.sesse.net Git - vlc/commitdiff
dolt: support nacl and silent-rules on fallback
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 10 Sep 2012 10:31:22 +0000 (12:31 +0200)
committerRafaël Carré <funman@videolan.org>
Mon, 10 Sep 2012 13:46:17 +0000 (15:46 +0200)
nacl doesn't use pic as does mingw.

Signed-off-by: Rafaël Carré <funman@videolan.org>
m4/dolt.m4

index 326b6a8251b4d4611d7d3ae38dab8d3123cbe6f1..d0fce083a2e59345d8b15fc83f85ada8a0de062f 100644 (file)
@@ -29,7 +29,7 @@ case $host in
 i?86-apple-darwin*)
     pic_options='-fno-common'
     ;;
-*mingw*)
+*mingw*|*nacl*)
     pic_options=''
     ;;
 *)
@@ -38,8 +38,9 @@ i?86-apple-darwin*)
 esac
 if test x$dolt_supported = xno ; then
     AC_MSG_RESULT([no, falling back to libtool])
-    LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
-    LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
+    LTCOMPILE='$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
+    LTCXXCOMPILE='$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
+    m4_pattern_allow([AM_V_lt])
 else
     AC_MSG_RESULT([yes, replacing libtool])