# configure.ac -*-autoconf-*- # Initialize autoconf. AC_INIT(midi.osc,0.2) AC_CONFIG_AUX_DIR(config) 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_LD AM_PROG_LIBTOOL # Require ALSA and POSIX thread libraries LIBS="$LIBS -lasound -lpthread" # Set compiler flags. CFLAGS_OPT="" CFLAGS_WARN="-Wall" CFLAGS_DEF="-DHOST_ALSA_SEQUENCER" CFLAGS="$CFLAGS $CFLAGS_OPT $CFLAGS_WARN $CFLAGS_DEF" # Write Makefile. AC_OUTPUT(Makefile common/Makefile host/Makefile)