AC_INIT(osmo-pcap-test, 0.0.1, pablo@gnumonks.org) AC_CONFIG_AUX_DIR([build-aux]) AC_CANONICAL_HOST AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([-Wall foreign subdir-objects tar-pax no-dist-gzip dist-bzip2 1.6]) dnl check for pkg-config (explained in detail in libosmocore/configure.ac) AC_PATH_PROG(PKG_CONFIG_INSTALLED, pkg-config, no) if test "x$PKG_CONFIG_INSTALLED" = "xno"; then AC_MSG_WARN([You need to install pkg-config]) fi PKG_PROG_PKG_CONFIG([0.20]) dnl kernel style compile messages m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.9.0) AC_PROG_CC AC_DISABLE_STATIC AM_PROG_LIBTOOL AC_PROG_INSTALL AC_PROG_LN_S AM_PROG_LEX AC_PROG_YACC case "$host" in *-*-linux*) ;; *) AC_MSG_ERROR([Linux only, dude!]);; esac AC_CONFIG_FILES([Makefile]) AC_OUTPUT