commit | author | age
|
0a10d5
|
1 |
# -*- Autoconf -*- |
JS |
2 |
# Process this file with autoconf to produce a configure script. |
|
3 |
|
|
4 |
AC_PREREQ([2.68]) |
|
5 |
AC_INIT([G4Track_lib_dist], [0.0.2], [help@polhemus.com]) |
|
6 |
AM_INIT_AUTOMAKE([foreign]) |
|
7 |
AC_CONFIG_MACRO_DIR([m4]) |
|
8 |
AC_PROG_LIBTOOL |
|
9 |
|
|
10 |
|
|
11 |
have_usblibs=no |
|
12 |
AC_SEARCH_LIBS([libusb_open_device_with_vid_pid],[usb-1.0],[have_usblibs=yes]) |
|
13 |
|
|
14 |
if test "x${have_usblibs}" = xno; then |
|
15 |
AC_MSG_ERROR([ |
|
16 |
-------------------------------------------------------------------------- |
|
17 |
The G4Track library requires libusb-1.0 lib to run. Please install before |
|
18 |
continuing. Stopping.... |
|
19 |
Check 'config.log' for more information. |
|
20 |
--------------------------------------------------------------------------]) |
|
21 |
fi |
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
AC_CONFIG_FILES([Makefile |
|
26 |
include/Makefile |
|
27 |
udev_rules/Makefile |
|
28 |
bin/Makefile |
|
29 |
man/Makefile]) |
|
30 |
|
|
31 |
|
|
32 |
AC_OUTPUT |
|
33 |
|