[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] uClinux support for AC_FUNC_FORK

From: Bernardo Innocenti
Subject: [PATCH] uClinux support for AC_FUNC_FORK
Date: Fri, 07 Nov 2003 08:13:06 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030927

This is required when cross-compiling for uClinux targets
because the kernel lacks a working fork() implementation
even though uClibc might have a fake version of it.

I have FSF copyright assignment papers on file, covering
also the autoconf project.

2003-11-07  Bernardo Innocenti  <address@hidden>

        * lib/autconf/functions.m4 (AC_FUNC_FORK): Don't assume working fork()
        when cross-compiling for *-*-uclinux*.

diff -u -p -u -p -r1.81 functions.m4
--- lib/autoconf/functions.m4   27 Oct 2003 11:12:52 -0000      1.81
+++ lib/autoconf/functions.m4   7 Nov 2003 07:03:17 -0000
@@ -1708,7 +1708,7 @@ else
if test "x$ac_cv_func_fork_works" = xcross; then
  case $host in
-    *-*-amigaos* | *-*-msdosdjgpp*)
+    *-*-amigaos* | *-*-msdosdjgpp* | *-*-uclinux*)
      # Override, as these systems have only a dummy fork() stub

 // Bernardo Innocenti - Develer S.r.l., R&D dept.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]