--- macros/neon.m4 +++ macros/neon.m4 @@ -1166,7 +1166,7 @@ AC_ARG_WITH([libs], yes|no) AC_MSG_ERROR([--with-libs must be passed a directory argument]) ;; *) ne_save_IFS=$IFS; IFS=: for dir in $with_libs; do - ne_add_CPPFLAGS="$ne_add_CPPFLAGS -I${dir}/include" + ne_add_CPPFLAGS="$ne_add_CPPFLAGS -I${dir}/usr/include" ne_add_LDFLAGS="$ne_add_LDFLAGS -L${dir}/lib" ne_add_PATH="${ne_add_PATH}${dir}/bin:" PKG_CONFIG_PATH=${PKG_CONFIG_PATH}${PKG_CONFIG_PATH+:}${dir}/lib/pkgconfig