- Make sure pyloader doesn't try to look outside its sandbox
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@564 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
38a7990e26
commit
2bbfdca142
2 changed files with 10 additions and 4 deletions
|
@ -79,16 +79,16 @@ SWIG_ENABLE_CXX
|
|||
SWIG_PYTHON
|
||||
|
||||
dnl add pkg-config search path for sgpemv2-uninstalled.pc
|
||||
dnl if we're building in a subdir of that pkg
|
||||
dnl if we're building in a subdir of that pkg it will be
|
||||
dnl in $build_dir/config
|
||||
_old_pkg_path=$[]PKG@&t@_CONFIG_PATH
|
||||
if test -f "../../config/sgpemv2-uninstalled.pc"; then
|
||||
export PKG_@&t@CONFIG_PATH="../../config:$PKG_CONFIG_PATH"
|
||||
fi
|
||||
export PKG_@&t@CONFIG_PATH="./config:$PKG_CONFIG_PATH"
|
||||
|
||||
dnl check for sgpemv2!
|
||||
AC_PROG_SGPEMV2([$SGPEMV2_VERSION])
|
||||
|
||||
dnl revert from old var
|
||||
dnl FIXME: probably you can safely remove this block:
|
||||
if test "x$_old_pkg_path" = "x"; then
|
||||
unset -v PKG@&t@_CONFIG_PATH
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue