diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -660,6 +660,7 @@ build pkgconfigdir cmoddir lmoddir +CPPFLAGS_PRIVATE SHARED objects headers @@ -2164,6 +2165,8 @@ objects='bin/lem.o' SHARED='-shared' +CPPFLAGS_PRIVATE='-Iinclude' + # Check whether --with-lua was given. @@ -4716,7 +4719,7 @@ fi objects="bin/lua.o $objects" headers="luaconf.h lua.h lauxlib.h $headers" - CPPFLAGS="$CPPFLAGS -Ilua" + CPPFLAGS_PRIVATE="$CPPFLAGS_PRIVATE -Ilua" if test "x$lmoddir" = 'x'; then : lmoddir="\${datarootdir}/lua/$builtin_lua_version" fi @@ -4764,7 +4767,7 @@ done objects="bin/libev.o $objects" headers="ev-config.h ev.h $headers" -CPPFLAGS="$CPPFLAGS -Ilibev" +CPPFLAGS_PRIVATE="$CPPFLAGS_PRIVATE -Ilibev" if test "x$ac_cv_header_sys_eventfd_h" = 'xyes'; then : ac_fn_c_check_func "$LINENO" "eventfd" "ac_cv_func_eventfd" |