summaryrefslogtreecommitdiff
path: root/fltk-config.in
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-09-24 04:39:55 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-09-24 04:39:55 +0000
commita4c2cbd49a5cbba195cd66f4dffd4b621c6b4016 (patch)
tree8f15c58a8129e7594b6b1e13b4f88a18287c66a7 /fltk-config.in
parent9663eaa1c42e760bb338457045e4a6f3243dd10e (diff)
Tweak gtk+ drawing of Fl_Choice.
Add support for "-Dname" option in fltk-config. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fltk-config.in')
-rwxr-xr-xfltk-config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/fltk-config.in b/fltk-config.in
index 2d00f2a94..6ff22a9a7 100755
--- a/fltk-config.in
+++ b/fltk-config.in
@@ -118,6 +118,7 @@ Options telling what information we request:
Option to compile and link an application:
[-g] compile the program with debugging information
+ [-Dname[=value]] compile the program with the given define
[--compile program.cxx]
[--post program]
"
@@ -185,6 +186,9 @@ do
-g)
debug=-g
;;
+ -D*)
+ CXXFLAGS="$CXXFLAGS $1"
+ ;;
--compile)
compile=$2
post=$2