config-patches
[Top][All Lists]
Advanced

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

diff to support Bitrig OS


From: David Hill
Subject: diff to support Bitrig OS
Date: Wed, 13 Jun 2012 00:31:44 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

Hello -

This is a diff to recognize the Bitrig OS, an OpenBSD fork.

diff --git a/build-aux/config.guess b/build-aux/config.guess
new file mode 100755
index d622a44..0a7e3f4
*** a/build-aux/config.guess
--- b/build-aux/config.guess
*************** case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE
*** 200,205 ****
--- 200,209 ----
        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
        echo "${machine}-${os}${release}"
        exit ;;
+     *:Bitrig:*:*)
+       UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+       echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
+       exit ;;
      *:OpenBSD:*:*)
        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
diff --git a/build-aux/config.sub b/build-aux/config.sub
new file mode 100755
index 59bb593..a68dd54
*** a/build-aux/config.sub
--- b/build-aux/config.sub
*************** case $os in
*** 1352,1358 ****
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
!             | -openbsd* | -solidbsd* \
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
--- 1352,1358 ----
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
!             | -bitrig* | -openbsd* | -solidbsd* \
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \



reply via email to

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