comparison configure.in @ 278:dcd9f7b50a1c

Added support for joysticks on *BSD (thanks Wilbern!)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 14 Feb 2002 01:24:08 +0000
parents 63e391bd7085
children 04351f59b051
comparison
equal deleted inserted replaced
277:255c7ee077cb 278:dcd9f7b50a1c
1450 # CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT" 1450 # CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT"
1451 # AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun" 1451 # AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun"
1452 # AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la" 1452 # AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la"
1453 #fi 1453 #fi
1454 # Set up files for the joystick library 1454 # Set up files for the joystick library
1455 # (No joystick support yet)
1456 if test x$enable_joystick = xyes; then 1455 if test x$enable_joystick = xyes; then
1457 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy" 1456 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd"
1458 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la" 1457 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la"
1459 fi 1458 fi
1460 # Set up files for the cdrom library 1459 # Set up files for the cdrom library
1461 if test x$enable_cdrom = xyes; then 1460 if test x$enable_cdrom = xyes; then
1462 CDROM_SUBDIRS="$CDROM_SUBDIRS freebsd" 1461 CDROM_SUBDIRS="$CDROM_SUBDIRS freebsd"
1463 CDROM_DRIVERS="$CDROM_DRIVERS freebsd/libcdrom_freebsd.la" 1462 CDROM_DRIVERS="$CDROM_DRIVERS freebsd/libcdrom_freebsd.la"
1502 CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT" 1501 CFLAGS="$CFLAGS -DSUNAUDIO_SUPPORT"
1503 AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun" 1502 AUDIO_SUBDIRS="$AUDIO_SUBDIRS sun"
1504 AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la" 1503 AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la"
1505 fi 1504 fi
1506 # Set up files for the joystick library 1505 # Set up files for the joystick library
1507 # (No joystick support yet)
1508 if test x$enable_joystick = xyes; then 1506 if test x$enable_joystick = xyes; then
1509 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy" 1507 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd"
1510 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la" 1508 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la"
1511 fi 1509 fi
1512 # Set up files for the cdrom library 1510 # Set up files for the cdrom library
1513 if test x$enable_cdrom = xyes; then 1511 if test x$enable_cdrom = xyes; then
1514 CDROM_SUBDIRS="$CDROM_SUBDIRS openbsd" 1512 CDROM_SUBDIRS="$CDROM_SUBDIRS openbsd"
1515 CDROM_DRIVERS="$CDROM_DRIVERS openbsd/libcdrom_openbsd.la" 1513 CDROM_DRIVERS="$CDROM_DRIVERS openbsd/libcdrom_openbsd.la"
1562 # OpenBSD needs linking with ossaudio emulation library 1560 # OpenBSD needs linking with ossaudio emulation library
1563 if test x$have_oss = xyes; then 1561 if test x$have_oss = xyes; then
1564 SYSTEM_LIBS="$SYSTEM_LIBS -lossaudio" 1562 SYSTEM_LIBS="$SYSTEM_LIBS -lossaudio"
1565 fi 1563 fi
1566 # Set up files for the joystick library 1564 # Set up files for the joystick library
1567 # (No joystick support yet)
1568 if test x$enable_joystick = xyes; then 1565 if test x$enable_joystick = xyes; then
1569 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy" 1566 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd"
1570 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la" 1567 JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la"
1571 fi 1568 fi
1572 # Set up files for the cdrom library 1569 # Set up files for the cdrom library
1573 if test x$enable_cdrom = xyes; then 1570 if test x$enable_cdrom = xyes; then
1574 CDROM_SUBDIRS="$CDROM_SUBDIRS openbsd" 1571 CDROM_SUBDIRS="$CDROM_SUBDIRS openbsd"
1575 CDROM_DRIVERS="$CDROM_DRIVERS openbsd/libcdrom_openbsd.la" 1572 CDROM_DRIVERS="$CDROM_DRIVERS openbsd/libcdrom_openbsd.la"