]> git.mxchange.org Git - flightgear.git/commitdiff
A small FreeBSD update.
authorehofman <ehofman>
Fri, 17 Dec 2004 20:01:13 +0000 (20:01 +0000)
committerehofman <ehofman>
Fri, 17 Dec 2004 20:01:13 +0000 (20:01 +0000)
configure.ac

index d2bcfe91dcb7f1446ab8829685ff7116079281d9..dc57f2307dfd11a325cc35d5fc87724acec47fb9 100644 (file)
@@ -150,23 +150,25 @@ if test "$have_timezone" = yes; then
 fi
 
 dnl add correct audio libs and configure for audio support
-audio_LIBS="-lplibsl -lplibsm"
+LIBS="-lplibsl -lplibsm"
 
 dnl search for FreeBSD library
 AC_SEARCH_LIBS(hid_init, usbhid)
 
 case "${host}" in
 *-*-cygwin* | *-*-mingw32*)
-    audio_LIBS="$audio_LIBS -lwinmm"
+    LIBS="$LIBS -lwinmm"
     ;;
 *-apple-darwin*)
-    audio_LIBS="$audio_LIBS -framework IOKit -framework CoreFoundation"
+    LIBS="$LIBS -framework IOKit -framework CoreFoundation"
     ;;
 *-*-irix* )
-    audio_LIBS="$audio_LIBS -laudio"
+    LIBS="$LIBS -laudio"
     ;;
 
 esac
+audio_LIBS="$LIBS"
+LIBS=""
 AC_SUBST(audio_LIBS)
 
 dnl ENABLE_AUDIO_SUPPORT could be depricated at any time in favor of