fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 8daa863c6d84ea56cc2f568a89316690e784a277
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Tue Sep 11 18:09:36 2012 +0900

    deal with warnings as errors for the previous change
    
    missed this change to commit. doh!

diff --git a/configure.ac b/configure.ac
index d27dba1..870979d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,8 @@ AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr strtol
 
 dnl AC_CHECK_FUNCS doesn't check for header files.
 dnl posix_fadvise() may be not available in older libc.
+fc_saved_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $WARN_CFLAGS -Werror"
 AC_MSG_CHECKING([for posix_fadvise])
 AC_LINK_IFELSE([AC_LANG_SOURCE([[
 	#include <fcntl.h>
@@ -150,6 +152,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([[
 		AC_MSG_RESULT([yes])
 		AC_DEFINE([HAVE_POSIX_FADVISE], [1], [Define to 1 if you have the `posix_fadvise' function.])
 	],[AC_MSG_RESULT([no])])
+CFLAGS="$fc_saved_CFLAGS"
 
 #
 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux