Lines 1-21
Link Here
|
1 |
$FreeBSD: ports/audio/pd/files/patch-src_configure.in,v 1.1 2003/11/12 00:55:19 trevor Exp $ |
1 |
--- src/configure.in.orig Sat Oct 28 21:13:24 2006 |
2 |
|
2 |
+++ src/configure.in Sun Mar 25 13:28:57 2007 |
3 |
--- src/configure.in.orig Fri Sep 26 21:40:18 2003 |
3 |
@@ -22,6 +22,9 @@ |
4 |
+++ src/configure.in Tue Nov 11 23:53:26 2003 |
4 |
AC_SUBST(EXTERNTARGET) |
5 |
@@ -136,6 +136,38 @@ |
|
|
6 |
AC_CHECK_LIB(tk8.0, main,,echo no tk library found || exit 1))))))) |
7 |
|
5 |
|
|
|
6 |
dnl other defaults |
7 |
+dnl respect upstream CFLAGS |
8 |
+GUIFLAGS="$CFLAGS $GUIFLAGS" |
9 |
+echo Base GUIFLAGS=$GUIFLAGS |
8 |
|
10 |
|
|
|
11 |
dnl check for features |
12 |
|
13 |
@@ -83,7 +86,7 @@ |
14 |
echo "pthreads required" || exit 1) |
15 |
|
16 |
dnl Check for fftw package |
17 |
-if test x$fftw == "xyes"; |
18 |
+if test x$fftw = "xyes"; |
19 |
then |
20 |
AC_CHECK_LIB(fftw, fftw_one,PDLIB="$PDLIB -lfftw", |
21 |
echo "fftw package not found - using built-in FFT"; fftw=no) |
22 |
@@ -92,62 +95,96 @@ |
23 |
dnl look for tcl 8.x... do I really have to go through all this!? |
24 |
|
25 |
foundit=no |
26 |
-if test $foundit == "no"; |
27 |
+if test x$foundit = "xno"; |
28 |
then |
29 |
AC_CHECK_HEADER(tcl.h,foundit=yes,) |
30 |
fi |
31 |
-if test $foundit == "no"; |
32 |
+if test x$foundit = "xno"; |
33 |
then |
34 |
AC_CHECK_HEADER(tcl8.7/tcl.h, |
35 |
GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.7";foundit=yes,) |
36 |
fi |
37 |
-if test $foundit == "no"; |
38 |
+if test x$foundit = "xno"; |
39 |
then |
40 |
AC_CHECK_HEADER(tcl8.6/tcl.h, |
41 |
GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.6";foundit=yes,) |
42 |
fi |
43 |
-if test $foundit == "no"; |
44 |
+if test x$foundit = "xno"; |
45 |
then |
46 |
AC_CHECK_HEADER(tcl8.5/tcl.h, |
47 |
GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.5";foundit=yes,) |
48 |
fi |
49 |
-if test $foundit == "no"; |
50 |
+if test x$foundit = "xno"; |
51 |
then |
52 |
AC_CHECK_HEADER(tcl8.4/tcl.h, |
53 |
GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.4";foundit=yes,) |
54 |
fi |
55 |
-if test $foundit == "no"; |
56 |
+if test x$foundit = "xno"; |
57 |
then |
58 |
AC_CHECK_HEADER(tcl8.3/tcl.h, |
59 |
GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.3";foundit=yes,) |
60 |
fi |
61 |
-if test $foundit == "no"; |
62 |
+if test x$foundit = "xno"; |
63 |
then |
64 |
AC_CHECK_HEADER(tcl8.2/tcl.h, |
65 |
GUIFLAGS="$GUIFLAGS -I/usr/include/tcl8.2";foundit=yes,) |
66 |
fi |
67 |
-if test $foundit == "no"; |
68 |
+if test x$foundit = "xno"; |
69 |
then |
70 |
echo no tcl header found |
71 |
exit -1 |
72 |
fi |
73 |
|
74 |
-AC_CHECK_LIB(tcl8.7, main,, |
75 |
- AC_CHECK_LIB(tcl8.6, main,, |
76 |
- AC_CHECK_LIB(tcl8.5, main,, |
77 |
- AC_CHECK_LIB(tcl8.4, main,, |
78 |
- AC_CHECK_LIB(tcl8.3, main,, |
79 |
- AC_CHECK_LIB(tcl8.2, main,, |
80 |
- AC_CHECK_LIB(tcl8.0, main,,echo no tcl library found || exit 1))))))) |
81 |
- |
82 |
-AC_CHECK_LIB(tk8.7, main,, |
83 |
- AC_CHECK_LIB(tk8.6, main,, |
84 |
- AC_CHECK_LIB(tk8.5, main,, |
85 |
- AC_CHECK_LIB(tk8.4, main,, |
86 |
- AC_CHECK_LIB(tk8.3, main,, |
87 |
- AC_CHECK_LIB(tk8.2, main,, |
88 |
- AC_CHECK_LIB(tk8.0, main,,echo no tk library found || exit 1))))))) |
89 |
- |
90 |
+AC_CHECK_LIB(tcl87, main,, |
91 |
+ AC_CHECK_LIB(tcl86, main,, |
92 |
+ AC_CHECK_LIB(tcl85, main,, |
93 |
+ AC_CHECK_LIB(tcl84, main,, |
94 |
+ AC_CHECK_LIB(tcl83, main,, |
95 |
+ AC_CHECK_LIB(tcl82, main,, |
96 |
+ AC_CHECK_LIB(tcl80, main,,echo no tcl library found || exit 1))))))) |
97 |
+ |
98 |
+AC_CHECK_LIB(tk87, main,, |
99 |
+ AC_CHECK_LIB(tk86, main,, |
100 |
+ AC_CHECK_LIB(tk85, main,, |
101 |
+ AC_CHECK_LIB(tk84, main,, |
102 |
+ AC_CHECK_LIB(tk83, main,, |
103 |
+ AC_CHECK_LIB(tk82, main,, |
104 |
+ AC_CHECK_LIB(tk80, main,,echo no tk library found || exit 1))))))) |
105 |
+ |
106 |
+ |
9 |
+if test `uname -s` = FreeBSD; |
107 |
+if test `uname -s` = FreeBSD; |
10 |
+then |
108 |
+then |
11 |
+ EXT=pd_freebsd |
109 |
+ EXT=pd_freebsd |
12 |
+ MORECFLAGS="-DPA_USE_OSS -DPA_LITTLE_ENDIAN \ |
110 |
+ CPPFLAGS="-DDL_OPEN -DPA_USE_OSS -DUNIX -DUNISTD\ |
13 |
+ -DUSEAPI_OSS \ |
111 |
+ -DUSEAPI_OSS \ |
14 |
+ -I../portaudio/pa_common \ |
112 |
+ -I../portaudio/pa_common -I../portaudio/pablio \ |
15 |
+ -I../portaudio/pablio -I../portaudio/portmidi-macosx \ |
113 |
+ -I../portmidi/pm_common \ |
|
|
114 |
+ -I../portmidi/pm_linux \ |
16 |
+ -Werror -fno-strict-aliasing" |
115 |
+ -Werror -fno-strict-aliasing" |
|
|
116 |
+ LDFLAGS="-Wl,-export-dynamic" |
17 |
+ SYSSRC="s_audio_oss.c" |
117 |
+ SYSSRC="s_audio_oss.c" |
18 |
+ if test x$portaudio == "xyes"; |
118 |
+ if test x$portaudio = "xyes"; |
19 |
+ then |
119 |
+ then |
20 |
+ MORECFLAGS="-DUSEAPI_PORTAUDIO "$MORECFLAGS |
120 |
+ MORECFLAGS="-DUSEAPI_PORTAUDIO "$MORECFLAGS |
21 |
+ SYSSRC="s_audio_pa.c \ |
121 |
+ SYSSRC="s_audio_pa.c \ |
Lines 37-43
Link Here
|
37 |
+ GUINAME="pd-gui" |
137 |
+ GUINAME="pd-gui" |
38 |
+ OSNUMBER=0 |
138 |
+ OSNUMBER=0 |
39 |
+fi |
139 |
+fi |
40 |
+ |
140 |
|
41 |
if test `uname -s` = Linux; |
141 |
if test `uname -s` = Linux; |
42 |
then |
142 |
then |
43 |
dnl Ckecking for ALSA |
|
|