Line
Link Here
|
0 |
-- configure.ac |
0 |
++ configure.ac |
Lines 1-10
Link Here
|
1 |
# -*- autoconf -*- |
1 |
# -*- autoconf -*- |
2 |
# Process this file with autoconf to produce a configure script. |
2 |
# Process this file with autoconf to produce a configure script. |
3 |
|
3 |
|
4 |
AC_INIT(configure.ac) |
4 |
AC_INIT([specimen], [0.5.2-rc3]) |
5 |
AM_INIT_AUTOMAKE(specimen, 0.5.2-rc3) |
5 |
AC_CONFIG_HEADERS([src/config.h]) |
6 |
AM_CONFIG_HEADER(src/config.h) |
6 |
AM_INIT_AUTOMAKE |
7 |
|
7 |
m4_include([acx_pthread.m4]) |
8 |
|
8 |
|
9 |
# compilation |
9 |
# compilation |
10 |
with_debug="no" |
10 |
with_debug="no" |
Lines 13-21
Link Here
|
13 |
[enable debugging information, accepting a performance penalty (default is NO)])], |
13 |
[enable debugging information, accepting a performance penalty (default is NO)])], |
14 |
[if test x$enable_debug = xyes; then with_debug=yes ; fi]) |
14 |
[if test x$enable_debug = xyes; then with_debug=yes ; fi]) |
15 |
|
15 |
|
16 |
if test x$with_debug = xno; then |
16 |
if test x$with_debug != xno; then |
17 |
CFLAGS="-O3" |
|
|
18 |
else |
19 |
AC_DEFINE(DEBUG, 1, [[whether to display debugging output or not]]) |
17 |
AC_DEFINE(DEBUG, 1, [[whether to display debugging output or not]]) |
20 |
fi |
18 |
fi |
21 |
|
19 |
|
Lines 48-60
Link Here
|
48 |
AC_FUNC_MALLOC |
46 |
AC_FUNC_MALLOC |
49 |
AC_CHECK_FUNCS([floor gettimeofday pow strchr strdup]) |
47 |
AC_CHECK_FUNCS([floor gettimeofday pow strchr strdup]) |
50 |
|
48 |
|
|
|
49 |
dnl Check for libm for sin() |
50 |
AC_SEARCH_LIBS([sin], [m], [], [ |
51 |
AC_MSG_ERROR([unable to find the sin() function]) |
52 |
]) |
53 |
|
51 |
# pthreads |
54 |
# pthreads |
52 |
ACX_PTHREAD |
55 |
ACX_PTHREAD |
53 |
|
56 |
|
54 |
SPECIMEN_CFLAGS="-Wall -Werror" |
|
|
55 |
AC_SUBST(SPECIMEN_CFLAGS) |
56 |
CFLAGS="$SPECIMEN_CFLAGS $CFLAGS" |
57 |
|
58 |
config_error="no" |
57 |
config_error="no" |
59 |
|
58 |
|
60 |
# gtk |
59 |
# gtk |
61 |
-- src/Makefile.am |
60 |
++ src/Makefile.am |
Lines 11-17
Link Here
|
11 |
specimen_SOURCES += lashdriver.c lashdriver.h |
11 |
specimen_SOURCES += lashdriver.c lashdriver.h |
12 |
endif |
12 |
endif |
13 |
|
13 |
|
14 |
INCLUDES = \ |
14 |
AM_CPPFLAGS = \ |
15 |
@ALSA_CFLAGS@ \ |
15 |
@ALSA_CFLAGS@ \ |
16 |
@JACK_CFLAGS@ \ |
16 |
@JACK_CFLAGS@ \ |
17 |
@LIBSAMPLERATE_CFLAGS@ \ |
17 |
@LIBSAMPLERATE_CFLAGS@ \ |
18 |
-- src/gui/Makefile.am |
18 |
++ src/gui/Makefile.am |
Lines 12-25
Link Here
|
12 |
paramselector.c paramselector.h patchlist.c patchlist.h midisection.c \ |
12 |
paramselector.c paramselector.h patchlist.c patchlist.h midisection.c \ |
13 |
midisection.h channelsection.c channelsection.h |
13 |
midisection.h channelsection.c channelsection.h |
14 |
|
14 |
|
15 |
INCLUDES = \ |
15 |
AM_CPPFLAGS = \ |
16 |
-l.. \ |
16 |
-l.. \ |
17 |
@GTK_CFLAGS@ \ |
17 |
@GTK_CFLAGS@ \ |
18 |
@LIBGNOMECANVAS_CFLAGS@ \ |
18 |
@LIBGNOMECANVAS_CFLAGS@ \ |
19 |
@PHAT_CFLAGS@ |
19 |
@PHAT_CFLAGS@ |
20 |
|
20 |
|
21 |
if HAVE_LASH |
21 |
if HAVE_LASH |
22 |
INCLUDES += @LASH_CFLAGS@ |
22 |
AM_CPPFLAGS += @LASH_CFLAGS@ |
23 |
endif |
23 |
endif |
24 |
|
24 |
|
25 |
libgui_a_CFLAGS = $(CFLAGS) -I.. -DINSTALLDIR=\"$(datadir)\" |
25 |
libgui_a_CFLAGS = $(CFLAGS) -I.. -DINSTALLDIR=\"$(datadir)\" |