# configure.ac -*-autoconf-*- # Initialize autoconf and autmake AC_INIT(jack.plumbing,0.5) AC_CONFIG_AUX_DIR(config) AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE # Check for programs. These macros set and export variables that are # used in the make process. AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_AWK AC_PROG_LD AM_PROG_LIBTOOL # Require JACK library. AC_CHECK_LIB(jack, jack_client_new, , AC_MSG_ERROR("No JACK library.") ,) AC_CHECK_HEADERS(jack/jack.h) # Set compiler flags. AC_SUBST(AM_CFLAGS) AM_CFLAGS="-O3 -funroll-loops -Wall" # Write Makefile. AC_OUTPUT(Makefile common/Makefile)