[packages] rrdtool: extend host include fix to cover acinclude.m4 as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24826 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0713817b3d
commit
30163ff9c2
@ -1,5 +1,3 @@
|
||||
diff --git a/configure b/configure
|
||||
index d3ab0a5..ba60d52 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -26319,9 +26319,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||
@ -22,3 +20,15 @@ index d3ab0a5..ba60d52 100755
|
||||
{ echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
|
||||
echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
|
||||
if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -20,9 +20,6 @@ AC_DEFUN([EX_CHECK_ALL],
|
||||
ex_check_save_LIBS=${LIBS}
|
||||
ex_check_save_CPPFLAGS=${CPPFLAGS}
|
||||
ex_check_save_LDFLAGS=${LDFLAGS}
|
||||
- if test "x$7" != "x"; then
|
||||
- CPPFLAGS="$CPPFLAGS -I$7"
|
||||
- fi
|
||||
dnl try compiling naked first
|
||||
AC_CHECK_LIB($1,$2, [
|
||||
AC_CHECK_HEADER($3,[LIBS="-l$1 ${LIBS}";EX_CHECK_STATE=YES],[])],[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user