Hi all,
recently I had to build libusb-1.0 for my OpenOCD development, and (as
usuall :)) I sun onto MilkyMist pages :
http://www.milkymist.org/wiki/index.php?title=Build_the_libftdi-1.0_and_new_ftdi_eeprom
Instead of creating all the softlinks by hand (which in the end did
not work for me), I find it mush easier to use autogen.sh like this :

#!/bin/sh

# use glibtoolize if it is available (darwin)
(glibtoolize --version) < /dev/null > /dev/null 2>&1 &&
LIBTOOLIZE=glibtoolize || LIBTOOLIZE=libtoolize

$LIBTOOLIZE --copy --force || exit 1
aclocal || exit 1
autoheader || exit 1
autoconf || exit 1
automake -a -c || exit 1
./configure --enable-maintainer-mode --enable-debug-log \
        --enable-examples-build $*

This will create ./configure program, and after you can use switches
to configure like --prefix=<your_install_dir>

I wrote about this on OpenOCD mailing list, just forgot to mention here :
http://www.mail-archive.com/[email protected]/msg15931.html

I do not know if something similar has already bee added to the
repository of libusb. If not, this might help someone.

BR,
Drasko
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to