File: configure.ac

package info (click to toggle)
libusbtc08 1.7.2-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,288 kB
  • ctags: 916
  • sloc: cpp: 10,962; sh: 9,130; ansic: 98; makefile: 68
file content (48 lines) | stat: -rwxr-xr-x 1,174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Process this file with autoconf to produce a configure script.

# Initialize autotools
AC_PREREQ(2.59)
AC_INIT([Pico Technology USB TC08 Driver], [1.7.2],[[support@picotech.com]],[libusbtc08])
AC_REVISION($Id: configure.ac,v 1.3 2007/07/31 20:27:13 douglas Exp $)
AC_CONFIG_SRCDIR(src/common/TC08Device.h)
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([foreign])

# Checks for programs
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL

# Checks for libraries.
AC_CHECK_LIB([pthread], [pthread_create])
#AC_CHECK_LIB([usb], [usb_init])

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_C_VOLATILE

# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([floor gettimeofday memset])

# Generate output
AC_CONFIG_FILES([Makefile
                 src/Makefile
                 examples/Makefile 
                 examples/tc08test_c/Makefile 
                 examples/tc08test_cpp/Makefile
                 ])
AC_OUTPUT