Lose the hysterical fakefork hack
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 4 Jan 2010 12:44:26 +0000 (14:44 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 4 Jan 2010 13:27:25 +0000 (15:27 +0200)
- we're not particularly interested in AmigaOS quirks from 1996

configure.ac
misc/Makefile.am
misc/fakefork.c [deleted file]

index 58fe0c7..01a4953 100644 (file)
@@ -358,14 +358,6 @@ esac
 
 AC_SUBST([WITH_DB_LIB])
 
-dnl AmigaOS and IXEmul have a fork() dummy
-  case "$host" in
-    m68k-*-amigaos ) 
-       echo "Building for AmigaOS: using vfork() instead of fork()"; 
-       CFLAGS="$CFLAGS -Dfork=vfork" 
-       ;;
-  esac
-
 AM_GNU_GETTEXT_VERSION([0.16.1])
 AM_GNU_GETTEXT([external])
 
index 1655825..77ca504 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_builddir) -I$(top_srcdir) -I$(top_builddir)/include/rpm
 AM_CPPFLAGS += -I$(top_srcdir)/misc
 
 EXTRA_DIST = \
-       fakefork.c      fnmatch.c       fnmatch.h \
+       fnmatch.c       fnmatch.h \
        getmntent.c     glob.c          glob.h          \
        stpcpy.c        stpncpy.c
 
diff --git a/misc/fakefork.c b/misc/fakefork.c
deleted file mode 100644 (file)
index 2089f28..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/* This is really, really dumb. But AmigaOS gives us vfork(), but not
-   fork() and this should make things work despite their brokenness */
-
-#include "system.h"
-
-int fork() {
-    return vfork();
-}