branch Attitude Adjustment packages
[12.09/packages.git] / utils / rrdtool / patches / 010-dont-add-host-include-paths.patch
1 --- a/configure
2 +++ b/configure
3 @@ -26319,9 +26319,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4   ex_check_save_LIBS=${LIBS}
5   ex_check_save_CPPFLAGS=${CPPFLAGS}
6   ex_check_save_LDFLAGS=${LDFLAGS}
7 - if test "x/usr/include/libart-2.0" != "x"; then
8 -   CPPFLAGS="$CPPFLAGS -I/usr/include/libart-2.0"
9 - fi
10    { echo "$as_me:$LINENO: checking for art_vpath_add_point in -lart_lgpl_2" >&5
11  echo $ECHO_N "checking for art_vpath_add_point in -lart_lgpl_2... $ECHO_C" >&6; }
12  if test "${ac_cv_lib_art_lgpl_2_art_vpath_add_point+set}" = set; then
13 @@ -27915,9 +27912,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
14   ex_check_save_LIBS=${LIBS}
15   ex_check_save_CPPFLAGS=${CPPFLAGS}
16   ex_check_save_LDFLAGS=${LDFLAGS}
17 - if test "x/usr/include/freetype2" != "x"; then
18 -   CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
19 - fi
20    { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
21  echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
22  if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
23 --- a/acinclude.m4
24 +++ b/acinclude.m4
25 @@ -20,9 +20,6 @@ AC_DEFUN([EX_CHECK_ALL],
26   ex_check_save_LIBS=${LIBS}
27   ex_check_save_CPPFLAGS=${CPPFLAGS}
28   ex_check_save_LDFLAGS=${LDFLAGS}
29 - if test "x$7" != "x"; then
30 -   CPPFLAGS="$CPPFLAGS -I$7"
31 - fi
32   dnl try compiling naked first
33   AC_CHECK_LIB($1,$2, [
34      AC_CHECK_HEADER($3,[LIBS="-l$1 ${LIBS}";EX_CHECK_STATE=YES],[])],[])