31 lines
687 B
Plaintext
31 lines
687 B
Plaintext
|
# -*- Autoconf -*-
|
||
|
# Process this file with autoconf to produce a configure script.
|
||
|
|
||
|
AC_PREREQ([2.69])
|
||
|
AC_INIT([klg2], [1.0], [lomarcan@tin.i])
|
||
|
AC_CONFIG_SRCDIR([klg2.c])
|
||
|
AC_CONFIG_HEADERS([config.h])
|
||
|
|
||
|
AM_INIT_AUTOMAKE([1.9 foreign])
|
||
|
|
||
|
# Checks for programs.
|
||
|
AC_PROG_CC
|
||
|
|
||
|
# Checks for libraries.
|
||
|
|
||
|
# Checks for header files.
|
||
|
AC_CHECK_HEADERS([stdint.h stdlib.h string.h unistd.h])
|
||
|
|
||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||
|
AC_CHECK_HEADER_STDBOOL
|
||
|
AC_TYPE_UINT16_T
|
||
|
AC_TYPE_UINT8_T
|
||
|
|
||
|
# Checks for library functions.
|
||
|
AC_CHECK_FUNCS([memset])
|
||
|
|
||
|
PKG_CHECK_MODULES([LIBUSB], [libusb-1.0])
|
||
|
|
||
|
AC_CONFIG_FILES([Makefile])
|
||
|
AC_OUTPUT
|