root/trunk/configure.ac

Revision 284, 1.0 KB (checked in by ath, 3 years ago)

Build fixes.

Line 
1AC_INIT([FreeMix], [0.1], [alberto.botti@yoda2000.net], [freemix])
2AC_CONFIG_AUX_DIR([.])
3AM_INIT_AUTOMAKE
4
5
6# Check for dependencies
7PKG_CHECK_MODULES(GNET, gnet-2.0)               # needed for RGC...
8
9# Start with RGC
10AC_CONFIG_SUBDIRS([rgc])
11
12# Make our submodules happy, as we haven't installed RGC yet
13RGC_SRC_DIR="$(pwd)/$srcdir/rgc"
14RGC_LIB_DIR="$(pwd)/rgc"
15export RGC_SERVER_CFLAGS="$GNET_CFLAGS -I$RGC_SRC_DIR/include"
16export RGC_SERVER_LIBS="$GNET_LIBS -L$RGC_LIB_DIR/src -lrgc_server"
17export RGC_CLIENT_CFLAGS="$GNET_CFLAGS -I$RGC_SRC_DIR/include"
18export RGC_CLIENT_LIBS="$GNET_LIBS -L$RGC_LIB_DIR/src -lrgc_client"
19
20
21AC_CONFIG_SUBDIRS([rubberband])
22
23RUBBER_SRC_DIR="$(pwd)/$srcdir/rubberband"
24RUBBER_LIB_DIR="$(pwd)/rubberband"
25export RUBBERBAND_CFLAGS="-I$RUBBER_SRC_DIR/include"
26export RUBBERBAND_LIBS="-L$RUBBER_LIB_DIR/src -lrubberband -lfftw3"
27
28AC_CONFIG_SUBDIRS([fm_server])
29AC_CONFIG_SUBDIRS([fm_gui])
30dnl AC_CONFIG_SUBDIRS([fm_tools])
31
32
33
34AC_CONFIG_FILES([Makefile])
35AC_OUTPUT
Note: See TracBrowser for help on using the browser.