aboutsummaryrefslogtreecommitdiff
path: root/audio/vsound/files/patch-configure
blob: 3e5cc7068f2e1ba8b817c6edcd7e0360a21840f0 (plain) (blame)
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
53
54
55
--- configure.orig	Tue May 31 16:40:06 2005
+++ configure	Tue May 31 16:40:28 2005
@@ -1183,21 +1183,21 @@
 echo "$ac_t""$CPP" 1>&6
 
 
-for ac_hdr in endian.h
+for ac_hdr in sys/endian.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:1191: checking for $ac_hdr" >&5
+echo "configure:1202: checking for $ac_hdr" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1196 "configure"
+#line 1207 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   rm -rf conftest*
@@ -1233,7 +1233,7 @@
 ac_cv_cpu_endian_ness="unknown"
 
 case "$target_cpu" in
-	alpha* | i?86 )
+	alpha* | i?86 | ia64* | amd64* )
 		ac_cv_cpu_endian_ness="little"
 		;;
 		
@@ -1674,7 +1674,7 @@
 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
+$ac_aux_dir/ltconfig --no-reexec \
 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
 
@@ -1941,7 +1941,7 @@
 fi
 
 if test "$ac_cv_prog_gcc" = yes ; then
-	CFLAGS="-g -O2 -Wall -Wstrict-prototypes -pipe"
+	CFLAGS="-g $CFLAGS -Wall -Wstrict-prototypes -pipe"
 fi
 
 if test "$ac_arg_debug" = yes; then