From 9afec17205548965d522b2a9c0a66ce12322dd25 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 17 Dec 2004 20:01:13 +0000 Subject: [PATCH] A small FreeBSD update. --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d2bcfe91d..dc57f2307 100644 --- a/configure.ac +++ b/configure.ac @@ -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