summaryrefslogtreecommitdiff
path: root/multimedia/xmps/files/patch-aa
blob: 7ae2c29677013091c3f12f0cbffcdb58a81f72ba (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
--- configure.orig	Wed May 17 23:43:36 2000
+++ configure	Thu Jun 15 13:32:11 2000
@@ -1536,6 +1536,7 @@
 
 
 STRETCHER_SRC=
+STRETCHER_OBJ=
 # Extract the first word of "nasm", so it can be a program name with args.
 set dummy nasm; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -1568,6 +1569,7 @@
 
 if test "$have_nasm" = "yes"; then
  STRETCHER_SRC="stretch.h stretch.c stretchblt.asm"
+ STRETCHER_OBJ="stretch.lo stretchblt.o"
  cat >> confdefs.h <<\EOF
 #define AS_STRETCHER 1
 EOF
@@ -2979,14 +2981,14 @@
 { echo "configure: error: *** POSIX thread support not installed ***" 1>&2; exit 1; }
 fi
 
-echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
-echo "configure:2984: checking for pthread_attr_init in -lpthread" >&5
+echo $ac_n "checking for pthread_attr_init in -pthread""... $ac_c" 1>&6
+echo "configure:2984: checking for pthread_attr_init in -pthread" >&5
 ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lpthread  $LIBS"
+LIBS="-pthread  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 2992 "configure"
 #include "confdefs.h"
@@ -3020,7 +3022,7 @@
 #define $ac_tr_lib 1
 EOF
 
-  LIBS="-lpthread $LIBS"
+  LIBS="-pthread $LIBS"
 
 else
   echo "$ac_t""no" 1>&6
@@ -4060,16 +4062,16 @@
 { echo "configure: error: **** Cannot find stat.h ****" 1>&2; exit 1; }
 fi
 
-ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
-echo "configure:4066: checking for sys/dir.h" >&5
+ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
+echo "configure:4066: checking for dirent.h" >&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 4071 "configure"
 #include "confdefs.h"
-#include <sys/dir.h>
+#include <dirent.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:4076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -4091,7 +4093,7 @@
   :
 else
   echo "$ac_t""no" 1>&6
-{ echo "configure: error: **** Cannot find dir.h ****" 1>&2; exit 1; }
+{ echo "configure: error: **** Cannot find dirent.h ****" 1>&2; exit 1; }
 fi
 
 
@@ -6001,7 +6003,7 @@
 	< $srcdir/po/POTFILES.in > po/POTFILES
   
 
-CFLAGS="$CFLAGS `gtk-config --cflags`"
+CFLAGS="$CFLAGS `$GTK_CONFIG --cflags`"
 
 
 CODEC_PLUGINS_DIR=Codecs
@@ -6188,6 +6190,7 @@
 s%@LIBTOOL@%$LIBTOOL%g
 s%@have_nasm@%$have_nasm%g
 s%@STRETCHER_SRC@%$STRETCHER_SRC%g
+s%@STRETCHER_OBJ@%$STRETCHER_OBJ%g
 s%@CPP@%$CPP%g
 s%@X_CFLAGS@%$X_CFLAGS%g
 s%@X_PRE_LIBS@%$X_PRE_LIBS%g