136ed17
diff -Nrup a/configure b/configure
136ed17
--- a/configure	2006-09-20 16:34:03.000000000 -0600
136ed17
+++ b/configure	2019-12-19 06:07:54.302627575 -0700
136ed17
@@ -11959,7 +11959,7 @@ cat >>conftest.$ac_ext <<_ACEOF
136ed17
 /* end confdefs.h.  */
136ed17
 
136ed17
 #include <malloc.h>
136ed17
-int test1() {
136ed17
+__attribute__ ((used)) int test1() {
136ed17
     return _alloca(42);
136ed17
 }
136ed17
 
136ed17
diff -Nrup a/configure.ac b/configure.ac
136ed17
--- a/configure.ac	2006-05-03 08:10:36.000000000 -0600
136ed17
+++ b/configure.ac	2019-12-19 06:07:27.468727400 -0700
136ed17
@@ -451,7 +451,7 @@ dnl Visual C++ doesn't have alloca, does
136ed17
 AC_CACHE_CHECK(for _alloca, ac_cv_c__alloca,
136ed17
 [AC_TRY_LINK([
136ed17
 #include <malloc.h>
136ed17
-int test1() {
136ed17
+__attribute__ ((used)) int test1() {
136ed17
     return _alloca(42);
136ed17
 }
136ed17
 ],