diff options
author | deva <deva> | 2008-07-20 17:32:21 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-20 17:32:21 +0000 |
commit | b75861438e891abb17a78418401d8f89609d5ba4 (patch) | |
tree | fb979219e9ac3a1de3c8d2b72968190e5c27fb66 /configure.in |
Initial revision
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..c1963f1 --- /dev/null +++ b/configure.in @@ -0,0 +1,46 @@ +# Filename: configure.in + +AC_INIT(src/drumgizmo.cc) +AM_INIT_AUTOMAKE( drumgizmo, 0.0.1 ) + +AC_PROG_CXX + +AC_PROG_LIBTOOL +AM_PROG_LIBTOOL + +AM_CONFIG_HEADER(config.h) +AC_STDC_HEADERS + +AC_ARG_WITH(debug, [ --with-debug build with debug support]) +if test x$with_debug == xyes; then + AC_MSG_WARN([*** Building with debug support!]) + CXXFLAGS="$CXXFLAGS -Wall -Werror -g" +fi + +#dnl ====================== +#dnl Check for Qt +#dnl ====================== +#PKG_CHECK_MODULES(QTCORE, QtCore >= 4.3) +#PKG_CHECK_MODULES(QTGUI, QtGui >= 4.3) +#MOC=`pkg-config QtCore --variable=moc_location` +#AC_SUBST(MOC) + +dnl ====================== +dnl Check for jack +dnl ====================== +PKG_CHECK_MODULES(JACK, jack >= 0.109.2) + +dnl ====================== +dnl Check for getopt +dnl ====================== +AC_HAVE_HEADERS(getopt.h) + +AC_SUBST(CFLAGS) +AC_SUBST(CPPFLAGS) +AC_SUBST(CXXFLAGS) +AC_SUBST(LDFLAGS) + +AC_OUTPUT( + Makefile + src/Makefile) + |