Fix:

error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]

https://github.com/mej/libast/pull/5
--- libast.m4.orig	2020-02-28 14:20:00.000000000 -0600
+++ libast.m4	2020-12-07 01:29:23.000000000 -0600
@@ -505,10 +505,10 @@
 int i;
 for (i=0; i<7; i++) ovbuf[i]='x';
 snprintf(ovbuf, 4,"foo%s", "bar");
-if (ovbuf[5]!='x') exit(1);
+if (ovbuf[5]!='x') return 1;
 snprintf(ovbuf, 4,"foo%d", 666);
-if (ovbuf[5]!='x') exit(1);
-exit(0);
+if (ovbuf[5]!='x') return 1;
+return 0;
 } >>
             changequote([, ])
         , dps_cv_snprintf_bug=0, dps_cv_snprintf_bug=1, dps_cv_snprintf_bug=2)
@@ -550,10 +550,10 @@
   char ovbuf[8] = "xxxxxxx";
   int i;
   prnt(ovbuf, "foo%s", "bar");
-  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); exit(1);}
+  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); return 1;}
   prnt(ovbuf, "foo%d", 666);
-  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); exit(1);}
-  exit(0);
+  if (ovbuf[5]!='x') {fprintf(stderr, "buffer:  %s\n", ovbuf); return 1;}
+  return 0;
 } >>
             changequote([, ])
         , dps_cv_vsnprintf_bug=0, dps_cv_vsnprintf_bug=1, dps_cv_vsnprintf_bug=2)
@@ -651,10 +651,10 @@
         AC_TRY_RUN(
             changequote(<<, >>)dnl
 <<
-#ifndef HAVE_STDLIB_H
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif /* HAVE_STDLIB_H */
-#ifndef HAVE_SIGNAL_H
+#ifdef HAVE_SIGNAL_H
 #include <signal.h>
 #endif /* HAVE_SIGNAL_H */
 #ifdef HAVE_UNISTD_H
@@ -699,10 +699,10 @@
         AC_TRY_RUN(
             changequote(<<, >>)dnl
 <<
-#ifndef HAVE_STDLIB_H
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif /* HAVE_STDLIB_H */
-#ifndef HAVE_SIGNAL_H
+#ifdef HAVE_SIGNAL_H
 #include <signal.h>
 #endif /* HAVE_SIGNAL_H */
 #ifdef HAVE_UNISTD_H
