pure-lang icon indicating copy to clipboard operation
pure-lang copied to clipboard

acinclude.m4: Use return instead of exit

Open ryandesign opened this issue 3 years ago • 1 comments

On macOS with the clang compiler from Xcode 12 or later, the configure script gets the wrong answer when checking if signal handlers must be reinstalled when invoked because the test uses exit without including stdlib.h where it's defined. Clang in Xcode 12 and later considers implicit declaration of function to be an error. Fix it by using return instead of exit.

ryandesign avatar Sep 20 '22 03:09 ryandesign