]> git.pld-linux.org Git - packages/pilot-link.git/blame - pilot-link-ac.patch
- BR, R libusb-compat to make it work with libusb 1.0.0
[packages/pilot-link.git] / pilot-link-ac.patch
CommitLineData
ceca90bd
AM
1diff -urN pilot-link-0.12.1.org/configure.ac pilot-link-0.12.1/configure.ac
2--- pilot-link-0.12.1.org/configure.ac 2006-08-29 01:36:47.000000000 +0200
3+++ pilot-link-0.12.1/configure.ac 2007-01-16 22:27:22.324067500 +0100
4@@ -55,17 +55,6 @@
5 AC_SUBST(PISYNC_REVISION)
6 AC_SUBST(PISYNC_AGE)
7
8-dnl Eat -Werror so configure will run properly, if the user provided it
9-enable_werror=no
10-save_CFLAGS="$CFLAGS"
11-CFLAGS=`echo $save_CFLAGS | sed -e s/-Werror//g`
12-CXXFLAGS=`echo $save_CXXFLAGS | sed -e s/-Werror//g`
13-if test "x$CFLAGS" != "x$save_CFLAGS"; then
14- dnl -Werror was set; treat it as implicit --enable-werror below
15- enable_werror="yes"
16-fi
17-
18-
19 dnl Check host type
20 AC_CANONICAL_HOST
21 AC_CANONICAL_SYSTEM
22@@ -735,7 +724,7 @@
23 AC_ARG_ENABLE(compile-werror,
24 [ --enable-compile-werror
25 Causes warnings to be treated as errors in GCC],
26- enable_werror=yes)
27+ enable_werror=yes, enable_werror=no)
28 if test "x$GCC" = "xyes" -a "x$enable_werror" = "xyes"; then
29 CFLAGS="$CFLAGS -Werror"
30 fi
6dfead21 31
This page took 0.076151 seconds and 4 git commands to generate.