Ticket #6344: hurd+kfreebsd.patch

File hurd+kfreebsd.patch, 1.2 KB (added by SF/ownerless, 11 years ago)

basic configure support for GNU Hurd and kFreeBSD

  • configure

    Last-Update: 2013-06-06
    Forwarded: yes
    From: Petr Salinger <Petr.Salinger@seznam.cz>
    Author: Dmitry Smirnov <onlyjob@member.fsf.org>
    Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711320
    Bug-ScummVM: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116
    Description: GNU Hurd & kFreeBSD support
     Fixes FTBFS and produce working executables.
    
    a b  
    29142914case $_host_os in
    29152915        amigaos* | cygwin* | dreamcast | ds | gamecube | mingw* | n64 | ps2 | ps3 | psp | wii | wince)
    29162916                _posix=no
    29172917                ;;
    2918         android | beos* | bsd* | darwin* | freebsd* | gph-linux | haiku* | hpux* | iphone | irix* | linux* | maemo | mint* | netbsd* | openbsd* | solaris* | sunos* | uclinux* | webos)
     2918        android | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | solaris* | sunos* | uclinux* | webos)
    29192919                _posix=yes
    29202920                ;;
    29212921        os2-emx*)
    29222922                _posix=yes      # FIXME: Really???
     
    30703070POST_OBJS_FLAGS := -Wl,-no-whole-archive
    30713071'
    30723072                ;;
    30733073
    3074         linux*)
     3074        linux* | gnu* | k*bsd*-gnu*)
    30753075                _plugin_prefix="lib"
    30763076                _plugin_suffix=".so"
    30773077                CXXFLAGS="$CXXFLAGS -fPIC"
    30783078                LIBS="$LIBS -ldl"