summaryrefslogtreecommitdiff
blob: dbfe9b36a47344ac6d6249c785308633f2a70fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Index: tap-reverbed-r0/configure.ac
===================================================================
--- tap-reverbed-r0.orig/configure.ac
+++ tap-reverbed-r0/configure.ac
@@ -18,6 +18,10 @@
 AC_C_INLINE
 
 # Checks for libraries.
+AC_SEARCH_LIBS([powf], [m], [], [
+	AC_MSG_ERROR([unable to find the powf() function])
+])
+
 PKG_CHECK_MODULES(JACK, jack >= 0.91.0)
 PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.0.0)
 
@@ -25,8 +29,7 @@
 AC_FUNC_MALLOC
 AC_CHECK_FUNCS([strdup])
 
-CFLAGS="-O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC $GTK_CFLAGS $JACK_CFLAGS"
-LDFLAGS="-Wall $GTK_LIBS $JACK_LIBS"
+CFLAGS="$CFLAGS -Wall $GTK_CFLAGS $JACK_CFLAGS"
 
 AC_CONFIG_FILES([Makefile src/Makefile])
 AC_OUTPUT
Index: tap-reverbed-r0/src/Makefile.am
===================================================================
--- tap-reverbed-r0.orig/src/Makefile.am
+++ tap-reverbed-r0/src/Makefile.am
@@ -9,20 +9,7 @@
 gui_ext.h gui_ext.c \
 ports.h ports.c \
 sound.h sound.c
+reverbed_LDADD = $(GTK_LIBS) $(JACK_LIBS)
 
-EXTRA_DIST = .reverbed
+dist_pkgdata_DATA = .reverbed
 
-INCLUDES =
-LIBS =
-#LIBS = $(LDFLAGS)
-
-install: all
-	-mkdir -p $(bindir)
-	cp reverbed $(bindir)
-	@echo
-	@echo "                   *** IMPORTANT NOTICE ***"
-	@echo "Please don't forget to copy the src/.reverbed file to the home"
-	@echo "directory of every user who will run the program. Also, don't"
-	@echo "forget to set the permissions of the copied files so these users"
-	@echo "have read/write access to their own copies."
-	@echo