[Apcupsd-commits] apcupsd configure,1.83.2.3,1.83.2.4
Brought to you by:
adk0212
From: Adam K. <ad...@us...> - 2005-11-30 02:31:07
|
Update of /cvsroot/apcupsd/apcupsd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7656 Modified Files: Tag: Branch-generic_usb configure Log Message: Darwin needs IOKit and CoreFoundation frameworks when using libusb. Index: configure =================================================================== RCS file: /cvsroot/apcupsd/apcupsd/configure,v retrieving revision 1.83.2.3 retrieving revision 1.83.2.4 diff -u -d -r1.83.2.3 -r1.83.2.4 --- configure 30 Nov 2005 02:12:17 -0000 1.83.2.3 +++ configure 30 Nov 2005 02:30:57 -0000 1.83.2.4 @@ -10462,6 +10462,10 @@ LIBUSB="-lusb" + if test $HAVE_UNAME=yes -a x`uname -s` = xDarwin ; then + LIBUSB="$LIBUSB -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation" + fi + USB_TYPE="generic" echo "$as_me:$LINENO: result: Using generic libusb USB driver." >&5 echo "${ECHO_T}Using generic libusb USB driver." >&6 |