Add symlink to blis.pc.in for out-of-tree builds

This commit is contained in:
Andrew Wildman
2021-07-06 16:35:12 -07:00
parent 78eac6a0ab
commit f648df4e55

17
configure vendored
View File

@@ -3629,6 +3629,23 @@ main()
exit 1
fi
# If 'blis.pc.in' symlink does not already exist in the current
# directory, create a symbolic link to it. If one does exist, we
# use -f to force creation of a new link.
if [ ! -e "./blis.pc.in" ]; then
echo "${script_name}: creating symbolic link to blis.pc.in."
ln -s "${dist_path}/blis.pc.in"
elif [ -h "./blis.pc.in" ]; then
echo "${script_name}: symbolic link to blis.pc.in already exists; forcing creation of new link."
ln -sf "${dist_path}/blis.pc.in"
else
echo "${script_name}: Non-symbolic link file or directory 'blis.pc.in' blocks creation of symlink."
echo "${script_name}: *** Please remove this entity and re-run configure."
exit 1
fi
# If 'common.mk' symlink does not already exist in the current
# directory, create a symbolic link to it. If one does exist, we
# use -f to force creation of a new link.