2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(epichord, 0.0.0, unknown@somewhere.org)
6 AM_INIT_AUTOMAKE(epichord, 0.0.0)
7 AC_CONFIG_SRCDIR([src/ui.h])
8 AC_CONFIG_HEADER([config.h])
10 # Checks for programs.
14 # Checks for libraries.
16 # Checks for header files.
18 #AC_CHECK_HEADERS([arpa/inet.h stdlib.h string.h unistd.h])
20 # Checks for typedefs, structures, and compiler characteristics.
29 # Checks for library functions.
31 #AC_CHECK_FUNCS([floor sqrt])
33 AC_CHECK_HEADER([jack/jack.h],[],[
35 Cannot find JACK header file.
39 AC_CHECK_LIB([jack],[jack_midi_event_write],[],[
41 JACK midi support missing.
42 Upgrade to a recent version of JACK.
46 AC_CHECK_PROG(fltk2found,fltk2-config,[yes],[no])
47 if test "$fltk2found" == "no"; then
50 Make sure FLTK 2 is installed correctly.
54 AC_OUTPUT(Makefile src/Makefile doc/Makefile gfx/Makefile)