ctypes.sh icon indicating copy to clipboard operation
ctypes.sh copied to clipboard

Direct return value check after AC_PATH_PROG

Open elfring opened this issue 10 years ago • 1 comments

Would it be a bit safer to combine the macro call "AC_PATH_PROG" with a "not found action"? How do you think about to check the retrieved return value for the issue "Addition of a build system generator" directly?

elfring avatar Aug 06 '15 20:08 elfring

I used AC_PATH_PROG because I wanted to write a test that would run nm -D to see if bash exported some symbols I needed (It's a common error for packagers to force bash to build without exporting symbols, because they don't know about the plugin feature).

I never got around to writing that test, because GNU's nm -D is hard to write portably...if you know how to do that please tell me ;-)

When I figure out how to write that test, I'll fix this as well.

taviso avatar Aug 07 '15 14:08 taviso