Package: allegro4.4 / 2:4.4.3.1-2

customize_allegro-config.patch Patch series | download
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
Description: Customize allegro-config for the situation in Debian
 We don't ship the debug or profile library, so
 remove the corresponding options from allegro-config.
Author: Tobias Hansen <thansen@debian.org>
Bug-Debian: http://bugs.debian.org/410072

--- a/misc/allegro-config.in
+++ b/misc/allegro-config.in
@@ -57,8 +57,6 @@
 
 Libraries:
 	release
-	debug
-	profile
 EOF
    exit $1
 }
@@ -145,16 +143,6 @@
 	 lib_type=alleg
       ;;
 
-      debug)
-	 allegro_cflags=-DDEBUGMODE $allegro_cflags
-	 allegro_cppflags=-DDEBUGMODE $allegro_cppflags
-	 lib_type=alleg-debug
-      ;;
-
-      profile)
-	 lib_type=alleg-profile
-      ;;
-
       *)
 	 usage 1 1>&2
       ;;