From: Niels Möller Date: Fri, 27 Nov 2020 07:16:52 +0000 (+0100) Subject: Replace one more conftest use of exit with return. X-Git-Tag: nettle_3.7rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a997ad732067b146b829cf6f12c1d2180f29b82c;p=thirdparty%2Fnettle.git Replace one more conftest use of exit with return. --- diff --git a/aclocal.m4 b/aclocal.m4 index 67b2ee90..8822c180 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -31,7 +31,7 @@ AC_CACHE_VAL(lsh_cv_sys_ccpic,[ fi OLD_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $CCPIC" - AC_TRY_COMPILE([], [exit(0);], + AC_TRY_COMPILE([], [return 0;], lsh_cv_sys_ccpic="$CCPIC", lsh_cv_sys_ccpic='') CFLAGS="$OLD_CFLAGS" ])