Contents of /trunk/pilot-link/patches/pilot-link-0.12.4-werror.patch
Parent Directory | Revision Log
Revision 847 -
(show annotations)
(download)
Fri Jun 12 17:42:06 2009 UTC (15 years, 3 months ago) by niro
File size: 810 byte(s)
Fri Jun 12 17:42:06 2009 UTC (15 years, 3 months ago) by niro
File size: 810 byte(s)
-patches for pilot-link
1 | diff -Naur pilot-link-0.12.2.orig/configure.ac pilot-link-0.12.2/configure.ac |
2 | --- pilot-link-0.12.2.orig/configure.ac 2007-10-07 18:18:47.000000000 +0200 |
3 | +++ pilot-link-0.12.2/configure.ac 2007-10-07 18:18:35.000000000 +0200 |
4 | @@ -757,11 +757,9 @@ |
5 | dnl ************************************* |
6 | dnl (already done) enable_werror=no |
7 | |
8 | -AC_ARG_ENABLE(compile-werror, |
9 | - [ --enable-compile-werror |
10 | - Causes warnings to be treated as errors in GCC], |
11 | - enable_werror=yes) |
12 | -if test "x$GCC" = "xyes" -a "x$enable_werror" = "xyes"; then |
13 | +AC_ARG_ENABLE([compile-werror], AS_HELP_STRING([--enable-compile-werror], [Causes warnings to be treated as errors in GCC (default: disabled)])) |
14 | + |
15 | +if test "x$GCC" = "xyes" -a "x$enable_compile_werror" = "xyes"; then |
16 | CFLAGS="$CFLAGS -Werror" |
17 | fi |
18 |