summaryrefslogtreecommitdiff
path: root/multimedia/xmps/files/patch-aa
blob: a7d89a3e518e842dec492ba5e13d4207ddb585ee (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
--- 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
@@ -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