summaryrefslogtreecommitdiff
path: root/devel/wftk/files/patch-ap
blob: 586c7f79bf3e15e4512e2e2179be14953f082424 (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
--- acinclude.m4.orig	Tue Nov 21 11:10:07 2000
+++ acinclude.m4	Sat Mar 31 06:08:52 2001
@@ -606,8 +606,8 @@
 	CHECK_LIB_HEADER_VERSION(
 	    SDL,
 	    SDL_Init,
-	    SDL/SDL.h,
-	    SDL/SDL_version.h,
+	    SDL11/SDL.h,
+	    SDL11/SDL_version.h,
 	    SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL,
 	    $1,
 	http://www.devolution.com/~slouken/SDL/SDL-0.10/src/SDL-$1.tar.gz)
@@ -618,7 +618,7 @@
 [
     TEST_SKIP(
     [
-      AC_CHECK_HEADER(SDL/SDL_mixer.h,
+      AC_CHECK_HEADER(SDL11/SDL_mixer.h,
 	[
 		AC_DEFINE(HAVE_MIXER))
 		AC_CHECK_LIB([
@@ -1027,13 +1027,13 @@
   if test x$sdl_exec_prefix != x ; then
      sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
      if test x${SDL_CONFIG+set} != xset ; then
-        SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
+        SDL_CONFIG=$sdl_exec_prefix/bin/sdl11-config
      fi
   fi
   if test x$sdl_prefix != x ; then
      sdl_args="$sdl_args --prefix=$sdl_prefix"
      if test x${SDL_CONFIG+set} != xset ; then
-        SDL_CONFIG=$sdl_prefix/bin/sdl-config
+        SDL_CONFIG=$sdl_prefix/bin/sdl11-config
      fi
   fi
 
@@ -1067,7 +1067,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <SDL/SDL.h>
+#include <SDL11/SDL.h>
 
 char*
 my_strdup (char *str)
@@ -1141,7 +1141,7 @@
           LIBS="$LIBS $SDL_LIBS"
           AC_TRY_LINK([
 #include <stdio.h>
-#include <SDL/SDL.h>
+#include <SDL11/SDL.h>
 ],      [ return 0; ],
         [ echo "*** The test program compiled, but did not run. This usually means"
           echo "*** that the run-time linker is not finding SDL or finding the wrong"
@@ -1292,4 +1292,4 @@
   AC_SUBST(SIGC_CFLAGS)
   AC_SUBST(SIGC_LIBS)
  
-]) 
+])