Changeset 24826


Ignore:
Timestamp:
2010-12-25T22:47:09+01:00 (7 years ago)
Author:
jow
Message:

[packages] rrdtool: extend host include fix to cover acinclude.m4 as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/utils/rrdtool/patches/010-dont-add-host-include-paths.patch

    r19737 r24826  
    1 diff --git a/configure b/configure 
    2 index d3ab0a5..ba60d52 100755 
    31--- a/configure 
    42+++ b/configure 
     
    2321 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; } 
    2422 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],[])],[]) 
Note: See TracChangeset for help on using the changeset viewer.