AC_SEARCH_LIBS(hid_init, usbhid)
joystick_LIBS="$LIBS"
LIBS=""
-AC_SUBST(joystick_LIBS)
dnl ENABLE_AUDIO_SUPPORT could be depricated at any time in favor of
dnl Mac OS X
LIBS="$LIBS -framework GLUT -framework OpenGL -framework AGL -framework Carbon -lobjc"
+ joystick_LIBS="$joystick_LIBS -framework IOKit -framework CoreFoundation"
;;
*)
AC_SUBST(opengl_LIBS)
AC_SUBST(thread_LIBS)
AC_SUBST(network_LIBS)
+AC_SUBST(joystick_LIBS)
# The following are C++ items that need to be tested for with the c++
# compiler