X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=cc8c61087fa079ab911ea58fc43edcfca42af392;hb=d871ca845fecc7cf68b4ad99396122cf3a454609;hp=4b6a6ce0066a667a1524c40a95f26d7f455d6741;hpb=91cb15d9b07742d38b2e28f35b643e48f6b858ce;p=flightgear.git diff --git a/configure.ac b/configure.ac index 4b6a6ce00..cc8c61087 100644 --- a/configure.ac +++ b/configure.ac @@ -153,7 +153,6 @@ dnl search for FreeBSD library 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 @@ -244,6 +243,7 @@ case "${host}" in dnl Mac OS X LIBS="$LIBS -framework GLUT -framework OpenGL -framework AGL -framework Carbon -lobjc" + joystick_LIBS="$joystick_LIBS -framework IOKit -framework CoreFoundation" ;; *) @@ -325,6 +325,7 @@ AC_SUBST(openal_LIBS) 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