On Sat, 23 Oct 2010, Albert Astals Cid wrote:
A Dissabte, 23 d'octubre de 2010, Vincent Torri va escriure:
Hey,
Hi
here is a patch that remove the -ansi flag in the autotools.
And the rationale for it?
actually, forget the previous, Patrick told me to remove it on Windows
only. New one attached. To be consistent with cmake, as he told me that
-ansi is not added in the cmake stuff on Windows
Vincent Torri
diff --git a/configure.ac b/configure.ac
index 2e84956..8e3c5ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,13 @@ AC_PROG_CC_STDC
#fi
AC_PROG_CXX
if test "x$GXX" = "xyes"; then
- CXXFLAGS="$CXXFLAGS -ansi"
+ case "$host_os" in
+ cygwin* | mingw*)
+ ;;
+ *)
+ CXXFLAGS="$CXXFLAGS -ansi"
+ ;;
+ esac
fi
AC_PROG_INSTALL
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler