1 # Process this file with autoconf to produce a configure script.
2 AC_INIT(ledcpu.c, 0.3, julien@jdanjou.org)
7 # Checks for libraries.
8 # FIXME: Replace `main' with a function in `-lpthread':
9 AC_CHECK_LIB([pthread], [pthread_create])
10 AC_CHECK_LIB([parportled], [led_setperm])
12 # Checks for header files.
14 AC_CHECK_HEADERS([stdlib.h unistd.h sys/io.h parportled.h])
16 # Checks for typedefs, structures, and compiler characteristics.
18 # Checks for library functions.
19 AC_CHECK_FUNCS(malloc)
23 dnl Checks for programs.
26 dnl AC_CONFIG_FILES([Makefile])