2beaa8f
These changes appear to be for autoconf-generated code only, so there is
2beaa8f
nothing to upstream to aprsd.  (The issues should go away with any new
2beaa8f
release.)
2beaa8f
2beaa8f
diff --git a/configure b/configure
2beaa8f
index 573145de07e658e9..df75bd55673f1943 100755
2beaa8f
--- a/configure
2beaa8f
+++ b/configure
2beaa8f
@@ -2132,7 +2132,6 @@ else
2beaa8f
   fi
2beaa8f
 fi
2beaa8f
 for ac_declaration in \
2beaa8f
-   ''\
2beaa8f
    '#include <stdlib.h>' \
2beaa8f
    'extern "C" void std::exit (int) throw (); using std::exit;' \
2beaa8f
    'extern "C" void std::exit (int); using std::exit;' \
2beaa8f
@@ -2958,7 +2957,6 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2beaa8f
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2beaa8f
   (exit $ac_status); }; }; then
2beaa8f
   for ac_declaration in \
2beaa8f
-   ''\
2beaa8f
    '#include <stdlib.h>' \
2beaa8f
    'extern "C" void std::exit (int) throw (); using std::exit;' \
2beaa8f
    'extern "C" void std::exit (int); using std::exit;' \
2beaa8f
@@ -3671,8 +3669,8 @@ main ()
2beaa8f
   for (i = 0; i < 256; i++)
2beaa8f
     if (XOR (islower (i), ISLOWER (i))
2beaa8f
         || toupper (i) != TOUPPER (i))
2beaa8f
-      exit(2);
2beaa8f
-  exit (0);
2beaa8f
+      return 2;
2beaa8f
+  return 0;
2beaa8f
 }
2beaa8f
 _ACEOF
2beaa8f
 rm -f conftest$ac_exeext
2beaa8f
@@ -4102,8 +4100,8 @@ main ()
2beaa8f
   for (i = 0; i < 256; i++)
2beaa8f
     if (XOR (islower (i), ISLOWER (i))
2beaa8f
         || toupper (i) != TOUPPER (i))
2beaa8f
-      exit(2);
2beaa8f
-  exit (0);
2beaa8f
+      return 2;
2beaa8f
+  return 0;
2beaa8f
 }
2beaa8f
 _ACEOF
2beaa8f
 rm -f conftest$ac_exeext
2beaa8f
@@ -5413,15 +5411,13 @@ else
2beaa8f
   cat >conftest.$ac_ext <<_ACEOF
2beaa8f
 /* By Ruediger Kuhlmann. */
2beaa8f
       #include <sys/types.h>
2beaa8f
-      #if HAVE_UNISTD_H
2beaa8f
-      # include <unistd.h>
2beaa8f
-      #endif
2beaa8f
+      #include <unistd.h>
2beaa8f
       /* Some systems only have a dummy stub for fork() */
2beaa8f
       int main ()
2beaa8f
       {
2beaa8f
         if (fork() < 0)
2beaa8f
-          exit (1);
2beaa8f
-        exit (0);
2beaa8f
+          return 1;
2beaa8f
+        return 0;
2beaa8f
       }
2beaa8f
 _ACEOF
2beaa8f
 rm -f conftest$ac_exeext
2beaa8f
@@ -5917,6 +5913,7 @@ _ACEOF
2beaa8f
 cat confdefs.h >>conftest.$ac_ext
2beaa8f
 cat >>conftest.$ac_ext <<_ACEOF
2beaa8f
 /* end confdefs.h.  */
2beaa8f
+#include <string.h>
2beaa8f
 
2beaa8f
 int
2beaa8f
 main ()
2beaa8f
@@ -5925,7 +5922,7 @@ main ()
2beaa8f
   /* Some versions of memcmp are not 8-bit clean.  */
2beaa8f
   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2beaa8f
   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
2beaa8f
-    exit (1);
2beaa8f
+    return 1;
2beaa8f
 
2beaa8f
   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
2beaa8f
      or more and with at least one buffer not starting on a 4-byte boundary.
2beaa8f
@@ -5941,9 +5938,9 @@ main ()
2beaa8f
         strcpy (a, "--------01111111");
2beaa8f
         strcpy (b, "--------10000000");
2beaa8f
         if (memcmp (a, b, 16) >= 0)
2beaa8f
-          exit (1);
2beaa8f
+          return 1;
2beaa8f
       }
2beaa8f
-    exit (0);
2beaa8f
+    return 0;
2beaa8f
   }
2beaa8f
 
2beaa8f
   ;