diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 14:44:26 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 15:27:25 +0200 |
commit | 3125bac65f75e0e67258df6c5fc55d0752f245af (patch) | |
tree | 95d3dbb9e6e5f805df68f4dc3f9304008b3a9a88 | |
parent | 33404070cd4d150874881d7bb3dbbe56d8153f90 (diff) | |
download | librpm-tizen-3125bac65f75e0e67258df6c5fc55d0752f245af.tar.gz librpm-tizen-3125bac65f75e0e67258df6c5fc55d0752f245af.tar.bz2 librpm-tizen-3125bac65f75e0e67258df6c5fc55d0752f245af.zip |
Lose the hysterical fakefork hack
- we're not particularly interested in AmigaOS quirks from 1996
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | misc/Makefile.am | 2 | ||||
-rw-r--r-- | misc/fakefork.c | 8 |
3 files changed, 1 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac index 58fe0c751..01a49538b 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/misc/Makefile.am b/misc/Makefile.am index 16558258d..77ca504c7 100644 --- a/misc/Makefile.am +++ b/misc/Makefile.am @@ -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 index 2089f28a6..000000000 --- a/misc/fakefork.c +++ /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(); -} |