summaryrefslogtreecommitdiff
path: root/audio/swhplugins/files/patch-configure.in
blob: b129a03344aca1a947e0cd91394d1a7e54b6e7ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- configure.in.orig	Fri Nov  1 21:07:14 2002
+++ configure.in	Sun Nov  3 17:33:21 2002
@@ -15,7 +15,8 @@
 AC_REQUIRE_CPP
 dnl AC_CHECK_HEADER(ladspa.h, [], [AC_MSG_ERROR([Cannot find ladspa.h, please install the LADSPA_SDK, or put ladspa.h somewhere it can be found]);])
 
-CFLAGS="-lm"
+CFLAGS="-I/usr/local/include"
+LDFLAGS="-lm -L/usr/local/lib"
 
 AC_CHECK_LIB(sfftw,fftw_one,
     [
@@ -41,7 +42,6 @@
 
 dnl For gcc use:
 MACHINE=${build_cpu}
-CFLAGS="-Wall -O6 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -ffast-math -fPIC -DPIC -mcpu=${MACHINE} -march=${MACHINE}"
 
 dnl For Intel's C compiler use:
 dnl CC="icc"