File: customize_allegro-config.patch

package info (click to toggle)
allegro4.4 2%3A4.4.3.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,756 kB
  • sloc: ansic: 164,458; asm: 17,620; cpp: 3,848; javascript: 3,053; objc: 1,687; sh: 1,107; python: 676; pascal: 179; makefile: 54; perl: 29; lisp: 1
file content (34 lines) | stat: -rw-r--r-- 680 bytes parent folder | download | duplicates (7)
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
       ;;