Codebase list unbound / 1209b49
acx_python.m4: fix LIBS, CPPFLAGS overwrite issue Robert S. Edmonds 11 years ago
1 changed file(s) with 5 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
163163 AC_MSG_CHECKING([consistency of all components of python development environment])
164164 AC_LANG_PUSH([C])
165165 # save current global flags
166 LIBS="$ac_save_LIBS $PYTHON_LDFLAGS"
167 CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
166 ac_save_LIBS="$LIBS"
167 ac_save_CPPFLAGS="$CPPFLAGS"
168
169 LIBS="$PYTHON_LDFLAGS"
170 CPPFLAGS="$PYTHON_CPPFLAGS"
168171 AC_TRY_LINK([
169172 #include <Python.h>
170173 ],[