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
|
$NetBSD: patch-aa,v 1.14 2006/06/13 17:25:00 drochner Exp $
--- configure.orig 2006-06-11 20:35:47.000000000 +0200
+++ configure
@@ -493,7 +493,7 @@ for ac_option do
_inc_extra=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
;;
--with-extralibdir=*)
- _ld_extra=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
+ _ld_extra="${_ld_extra} -Wl,-R"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -Wl\,-R,g'`" -L"`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
;;
--enable-runtime-cpudetection)
_runtime_cpudetection=yes
@@ -694,11 +694,11 @@ if test "$_skip_cc_check" != yes ; then
esac
echores "$cc_version"
else
- for _cc in "$_cc" gcc gcc-3.4 gcc-3.3 gcc-3.2 gcc-3.1 gcc3 gcc-3.0 cc ; do
+ for _cc in "$_cc" gcc cc ; do
echocheck "$_cc version"
cc_vendor=gnu
cc_name=`$_cc -v 2>&1 | _tail 1 | cut -d ' ' -f 1`
- cc_version=`$_cc -dumpversion 2>&1`
+ cc_version=`( $_cc -dumpversion | sed -e 's/-nb[0-9]//' ) 2>&1`
if test "$?" -gt 0; then
cc_version="not found"
fi
@@ -830,7 +830,7 @@ if x86 || x86_64 ; then
# gather more CPU information
pname=`$_cpuinfo | grep 'model name' | cut -d ':' -f 2 | _head 1`
pvendor=`$_cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2 | _head 1`
- pfamily=`$_cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | _head 1`
+ pfamily=`$_cpuinfo | grep -i 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | _head 1`
pmodel=`$_cpuinfo | grep -v 'model name' | grep 'model' | cut -d ':' -f 2 | cut -d ' ' -f 2 | _head 1`
pstepping=`$_cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2 | _head 1`
@@ -4136,7 +4136,7 @@ fi
if test "$_aa" = yes ; then
_def_aa='#define HAVE_AA 1'
if cygwin ; then
- _ld_aa=`aalib-config --libs | cut -d " " -f 2,5,6`
+ _ld_aa=`${AALIB_CONFIG} --libs | cut -d " " -f 2,5,6`
fi
_vosrc="$_vosrc vo_aa.c"
_vomodules="aa $_vomodules"
|