mirror of https://github.com/vitalif/openscad
check for stale pkgconfig under /usr/local/lib
parent
42f21c3a08
commit
51be86ad29
|
@ -451,17 +451,23 @@ check_old_local()
|
||||||
warnon=
|
warnon=
|
||||||
if [ "`uname | grep -i linux`" ]; then
|
if [ "`uname | grep -i linux`" ]; then
|
||||||
header_list="opencsg.h CGAL boost GL/glew.h gmp.h mpfr.h eigen2 eigen3"
|
header_list="opencsg.h CGAL boost GL/glew.h gmp.h mpfr.h eigen2 eigen3"
|
||||||
liblist="libboost_system libboost_system-mt libopencsg libCGAL libglew"
|
for i in $header_list; do
|
||||||
for i in $header_list $liblist; do
|
|
||||||
if [ -e /usr/local/include/$i ]; then
|
if [ -e /usr/local/include/$i ]; then
|
||||||
echo "Warning: you have a copy of "$i" under /usr/local/include"
|
echo "Warning: you have a copy of "$i" under /usr/local/include"
|
||||||
warnon=1
|
warnon=1
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
|
liblist="libboost_system libboost_system-mt libopencsg libCGAL libglew"
|
||||||
|
for i in $liblist; do
|
||||||
if [ -e /usr/local/lib/$i.so ]; then
|
if [ -e /usr/local/lib/$i.so ]; then
|
||||||
echo "Warning: you have a copy of "$i" under /usr/local/lib"
|
echo "Warning: you have a copy of "$i" under /usr/local/lib"
|
||||||
warnon=1
|
warnon=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if [ -e /usr/local/lib/pkgconfig ]; then
|
||||||
|
echo "Warning: you have pkgconfig under /usr/local/lib"
|
||||||
|
warnon=1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ $warnon ]; then
|
if [ $warnon ]; then
|
||||||
echo "Please verify these local copies don't conflict with the system"
|
echo "Please verify these local copies don't conflict with the system"
|
||||||
|
|
Loading…
Reference in New Issue