]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
functions: add Bitrig defaults
authorDavid Hill <dhill@mindcry.org>
Mon, 18 Jun 2012 00:52:58 +0000 (20:52 -0400)
committerEric Blake <eblake@redhat.com>
Mon, 18 Jun 2012 13:08:46 +0000 (07:08 -0600)
Cater to the Bitrig OS, an OpenBSD fork.  config.guess and
config.sub have been updated upstream.

* lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF)
(_AC_FUNC_REALLOC_IF): Bitrig inherits from BSD.

lib/autoconf/functions.m4

index 97cb7b9b0ed91302bb7aefa5e39e80d500ba078e..5987a0cba1bb0590ad4edad88243d976bc1177ab 100644 (file)
@@ -922,7 +922,7 @@ char *malloc ();
               [ac_cv_func_malloc_0_nonnull=no],
               [case "$host_os" in # ((
                  # Guess yes on platforms where we know the result.
-                 *-gnu* | freebsd* | netbsd* | openbsd* \
+                 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
                  | hpux* | solaris* | cygwin* | mingw*)
                    ac_cv_func_malloc_0_nonnull=yes ;;
                  # If we don't know, assume the worst.
@@ -1441,7 +1441,7 @@ char *realloc ();
               [ac_cv_func_realloc_0_nonnull=no],
               [case "$host_os" in # ((
                  # Guess yes on platforms where we know the result.
-                 *-gnu* | freebsd* | netbsd* | openbsd* \
+                 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
                  | hpux* | solaris* | cygwin* | mingw*)
                    ac_cv_func_realloc_0_nonnull=yes ;;
                  # If we don't know, assume the worst.