ports/devel/wftk/files/patch-ap
Alexander Langer 22d8d01d04 Add libuta 0.3.36, a Graphical User Interface library for C++.
PR:		26250
Submitted by:	Oliver Lehmann <lehmann@ans-netz.de>
2001-04-05 19:01:48 +00:00

62 lines
1.7 KiB
Text

--- 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)
-])
+])