Mercurial > sdl-ios-xcode
comparison configure.in @ 719:269c97e24da6
Date: Fri, 12 Sep 2003 18:04:19 -0400
From: Matthew Danish
Subject: patch for k*bsd support
I am forwarding this patch from Robert Millan <rmh@debian.org> for
supporting K*BSD systems (BSD kernel GNU userland, and hurd) in
configure.in.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 21 Sep 2003 18:18:17 +0000 |
parents | dfc1c102e825 |
children | f90d80d68071 |
comparison
equal
deleted
inserted
replaced
718:cbc0f7fabd1c | 719:269c97e24da6 |
---|---|
1710 fi | 1710 fi |
1711 fi | 1711 fi |
1712 } | 1712 } |
1713 | 1713 |
1714 case "$target" in | 1714 case "$target" in |
1715 *-*-linux*) | 1715 *-*-linux*|*-*-gnu*|*-*-k*bsd*-gnu) |
1716 ARCH=linux | 1716 case "$target" in |
1717 *-*-linux*) ARCH=linux ;; | |
1718 *-*-kfreebsd*-gnu) ARCH=kfreebsd-gnu ;; | |
1719 *-*-knetbsd*-gnu) ARCH=knetbsd-gnu ;; | |
1720 *-*-kopenbsd*-gnu) ARCH=kopenbsd-gnu ;; | |
1721 *-*-gnu*) ARCH=gnu ;; # must be last | |
1722 esac | |
1717 CheckDummyVideo | 1723 CheckDummyVideo |
1718 CheckDiskAudio | 1724 CheckDiskAudio |
1719 CheckDLOPEN | 1725 CheckDLOPEN |
1720 CheckNASM | 1726 CheckNASM |
1721 CheckOSS | 1727 CheckOSS |
1752 # AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun" | 1758 # AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun" |
1753 # AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la" | 1759 # AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la" |
1754 #fi | 1760 #fi |
1755 # Set up files for the joystick library | 1761 # Set up files for the joystick library |
1756 if test x$enable_joystick = xyes; then | 1762 if test x$enable_joystick = xyes; then |
1757 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS linux" | 1763 case $ARCH in |
1758 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS linux/libjoystick_linux.la" | 1764 linux) |
1765 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS linux" | |
1766 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS linux/libjoystick_linux.la" | |
1767 ;; | |
1768 gnu) | |
1769 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy" | |
1770 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la" | |
1771 ;; | |
1772 k*bsd-gnu) | |
1773 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd" | |
1774 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la" | |
1775 ;; | |
1776 esac | |
1759 fi | 1777 fi |
1760 # Set up files for the cdrom library | 1778 # Set up files for the cdrom library |
1761 if test x$enable_cdrom = xyes; then | 1779 if test x$enable_cdrom = xyes; then |
1762 CDROM_SUBDIRS="$CDROM_SUBDIRS linux" | 1780 case $ARCH in |
1763 CDROM_DRIVERS="$CDROM_DRIVERS linux/libcdrom_linux.la" | 1781 linux) |
1782 CDROM_SUBDIRS="$CDROM_SUBDIRS linux" | |
1783 CDROM_DRIVERS="$CDROM_DRIVERS linux/libcdrom_linux.la" | |
1784 ;; | |
1785 gnu) | |
1786 CDROM_SUBDIRS="$CDROM_SUBDIRS dummy" | |
1787 CDROM_DRIVERS="$CDROM_DRIVERS dummy/libcdrom_dummy.la" | |
1788 ;; | |
1789 kfreebsd-gnu) | |
1790 CDROM_SUBDIRS="$CDROM_SUBDIRS freebsd" | |
1791 CDROM_DRIVERS="$CDROM_DRIVERS freebsd/libcdrom_freebsd.la" | |
1792 ;; | |
1793 knetbsd-gnu|kopenbsd-gnu) | |
1794 CDROM_SUBDIRS="$CDROM_SUBDIRS openbsd" | |
1795 CDROM_DRIVERS="$CDROM_DRIVERS openbsd/libcdrom_openbsd.la" | |
1796 ;; | |
1797 esac | |
1764 fi | 1798 fi |
1765 # Set up files for the thread library | 1799 # Set up files for the thread library |
1766 if test x$enable_threads = xyes; then | 1800 if test x$enable_threads = xyes; then |
1767 CopyUnixThreadSource | 1801 CopyUnixThreadSource |
1768 fi | 1802 fi |