go. I'm imagining something like the code below. You could also
do version testing on vecLib, except that it isn't known precisely
what the version number will be that fixes the problem.
What is the proper method of determining which version of vecLib
is available on a system? I have some code that I want to use
vForce for, but I need the code to run on 10.3 as well. Rather than
compile two versions of the program, is there a way to determine if
vForce is available and if so use it, otherwise use the fallback
function?
Use -weak_framework Accelerate, and then test to see if the function
you want to use is non-NULL before calling it.