summaryrefslogtreecommitdiff
path: root/multimedia/transcode/files/patch-configure
blob: 59d32c00fcdd686acca818807b587874cd172aaf (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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
--- configure.orig	Mon May  9 16:11:35 2005
+++ configure	Mon May  9 16:13:00 2005
@@ -37743,7 +37743,7 @@
   for l in $a52_ll ; do
     case $l in
       -L*) lpaths="$lpaths $l" ;;
-      -l*) test x"$l" != x"-la52" && xlibs="$xlibs $l" ;;
+      -l*) test x"$l" != x"-la52  -L/usr/local/lib -ldjbfft -lm" && xlibs="$xlibs $l" ;;
         *) xlf="$xlf $l" ;;
     esac
   done
@@ -37759,13 +37759,13 @@
   if test x"a52" != x"none" ; then
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $a52_ll"
-    echo "$as_me:$LINENO: checking for a52_init in -la52" >&5
-echo $ECHO_N "checking for a52_init in -la52... $ECHO_C" >&6
+    echo "$as_me:$LINENO: checking for a52_init in -la52  -L/usr/local/lib -ldjbfft -lm" >&5
+echo $ECHO_N "checking for a52_init in -la52  -L/usr/local/lib -ldjbfft -lm... $ECHO_C" >&6
 if test "${ac_cv_lib_a52_a52_init+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-la52 $A52_EXTRA_LIBS $LIBS"
+LIBS="-la52  -L/usr/local/lib -ldjbfft -lm $A52_EXTRA_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -37824,7 +37824,7 @@
 echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_init" >&5
 echo "${ECHO_T}$ac_cv_lib_a52_a52_init" >&6
 if test $ac_cv_lib_a52_a52_init = yes; then
-  A52_LIBS="$a52_ll -la52 $A52_EXTRA_LIBS"
+  A52_LIBS="$a52_ll -la52  -L/usr/local/lib -ldjbfft -lm $A52_EXTRA_LIBS"
 else
 
 tc_pkg_err="yes"
@@ -40561,14 +40561,14 @@
 echo "${ECHO_T}$pkg_config_sdl" >&6
 
 
-  if test x"sdl-config" != x"no" ; then
+  if test x"sdl11-config" != x"no" ; then
     if test x"$w_sdl_p" != x"" ; then
-      if test -x $w_sdl_p/bin/sdl-config ; then
-        sdl_config="$w_sdl_p/bin/sdl-config"
+      if test -x $w_sdl_p/bin/sdl11-config ; then
+        sdl_config="$w_sdl_p/bin/sdl11-config"
       fi
     fi
-    # Extract the first word of "sdl-config", so it can be a program name with args.
-set dummy sdl-config; ac_word=$2
+    # Extract the first word of "sdl11-config", so it can be a program name with args.
+set dummy sdl11-config; ac_word=$2
 echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_path_sdl_config+set}" = set; then
@@ -40856,7 +40856,7 @@
   for l in $sdl_ll ; do
     case $l in
       -L*) lpaths="$lpaths $l" ;;
-      -l*) test x"$l" != x"-lSDL" && xlibs="$xlibs $l" ;;
+      -l*) test x"$l" != x"-lSDL-1.1" && xlibs="$xlibs $l" ;;
         *) xlf="$xlf $l" ;;
     esac
   done
@@ -40872,13 +40872,13 @@
   if test x"SDL" != x"none" ; then
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $sdl_ll"
-    echo "$as_me:$LINENO: checking for SDL_Init in -lSDL" >&5
-echo $ECHO_N "checking for SDL_Init in -lSDL... $ECHO_C" >&6
+    echo "$as_me:$LINENO: checking for SDL_Init in -lSDL-1.1" >&5
+echo $ECHO_N "checking for SDL_Init in -lSDL-1.1... $ECHO_C" >&6
 if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL $SDL_EXTRA_LIBS $LIBS"
+LIBS="-lSDL-1.1 $SDL_EXTRA_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -40937,7 +40937,7 @@
 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_Init" >&5
 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_Init" >&6
 if test $ac_cv_lib_SDL_SDL_Init = yes; then
-  SDL_LIBS="$sdl_ll -lSDL $SDL_EXTRA_LIBS"
+  SDL_LIBS="$sdl_ll -lSDL-1.1 $SDL_EXTRA_LIBS"
 else
 
 tc_pkg_err="yes"
@@ -41429,7 +41429,7 @@
   for l in $gtk_ll ; do
     case $l in
       -L*) lpaths="$lpaths $l" ;;
-      -l*) test x"$l" != x"-lgtk" && xlibs="$xlibs $l" ;;
+      -l*) test x"$l" != x"-lgtk-12" && xlibs="$xlibs $l" ;;
         *) xlf="$xlf $l" ;;
     esac
   done
@@ -41445,13 +41445,13 @@
   if test x"gtk" != x"none" ; then
     save_LDFLAGS="$LDFLAGS"
     LDFLAGS="$LDFLAGS $gtk_ll"
-    echo "$as_me:$LINENO: checking for gtk_init in -lgtk" >&5
-echo $ECHO_N "checking for gtk_init in -lgtk... $ECHO_C" >&6
+    echo "$as_me:$LINENO: checking for gtk_init in -lgtk-12" >&5
+echo $ECHO_N "checking for gtk_init in -lgtk-12... $ECHO_C" >&6
 if test "${ac_cv_lib_gtk_gtk_init+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgtk $GTK_EXTRA_LIBS $LIBS"
+LIBS="-lgtk-12 $GTK_EXTRA_LIBS $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -41510,7 +41510,7 @@
 echo "$as_me:$LINENO: result: $ac_cv_lib_gtk_gtk_init" >&5
 echo "${ECHO_T}$ac_cv_lib_gtk_gtk_init" >&6
 if test $ac_cv_lib_gtk_gtk_init = yes; then
-  GTK_LIBS="$gtk_ll -lgtk $GTK_EXTRA_LIBS"
+  GTK_LIBS="$gtk_ll -lgtk-12 $GTK_EXTRA_LIBS"
 else
 
 tc_pkg_err="yes"