2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(epichord, 0.0.0, evanrinehart@gmail.com)
6 AM_INIT_AUTOMAKE(epichord, 0.0.0)
7 AC_CONFIG_SRCDIR([src/ui.h])
8 AC_CONFIG_HEADER([config.h])
12 # Checks for programs.
16 # Checks for libraries.
18 # Checks for header files.
20 #AC_CHECK_HEADERS([arpa/inet.h stdlib.h string.h unistd.h])
22 # Checks for typedefs, structures, and compiler characteristics.
31 # Checks for library functions.
33 #AC_CHECK_FUNCS([floor sqrt])
35 AC_CHECK_HEADER([jack/jack.h],[],[
37 Cannot find JACK header file.
41 AC_CHECK_LIB([jack],[jack_midi_event_write],[],[
43 JACK midi support missing.
44 Upgrade to a recent version of JACK.
48 AC_CHECK_PROG(fltk2found,fltk2-config,[yes],[no])
49 if test "$fltk2found" == "no"; then
52 Make sure FLTK 2 is installed correctly.
57 PKG_CHECK_MODULES(LASH, lash-1.0 >= 0.5.0);
60 AC_OUTPUT(Makefile src/Makefile doc/Makefile gfx/Makefile)