remove duplicate package
[openadk.git] / package / pcrepp / patches / patch-configure
blobda7ab7b3e42189f1e9b37e7f6a181b1e803c8305
1 --- pcre++-0.9.5.orig/configure 2004-08-25 01:38:03.000000000 +0200
2 +++ pcre++-0.9.5/configure      2014-03-17 20:07:03.000000000 +0100
3 @@ -3844,7 +3844,7 @@ irix5* | irix6* | nonstopux*)
4    ;;
5  
6  # This must be Linux ELF.
7 -linux-gnu*)
8 +linux-*)
9    case $host_cpu in
10    alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64*)
11      lt_cv_deplibs_check_method=pass_all ;;
12 @@ -6598,7 +6598,7 @@ linux-gnuoldld* | linux-gnuaout* | linux
13    ;;
15  # This must be Linux ELF.
16 -linux-gnu*)
17 +linux-*)
18    version_type=linux
19    need_lib_prefix=no
20    need_version=no
21 @@ -8612,7 +8612,7 @@ if test "x$with_pcre_include" = "x"; the
22                         CPPFLAGS="$CPPFLAGS -I/include"
23                         ;;
24         *-*-linux*)
25 -                       CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I/usr/include -I/usr/local/include"
26 +                       CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
27                         ;;
28         *-*-freebsd*)
29                         CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I/usr/local/include"
30 @@ -8621,7 +8621,7 @@ if test "x$with_pcre_include" = "x"; the
31                         CPPFLAGS="$CPPFLAGS `pcre-config --cflags` -I$prefix/include -I/usr/local/include"
32                         ;;
33         *)
34 -                       CPPFLAGS="-I/usr/include -I/usr/local/include"
35 +                       CPPFLAGS="$CPPFLAGS `pcre-config --cflags`"
36                         ;;
37     esac
38  fi