repo.or.cz
/
wmaker-crm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Get rid of cropline(), use wtrimspace() instead
[wmaker-crm.git]
/
wrlib
/
get-wraster-flags.in
blob
a8cdd1aedf6f7844adb20288290f4c58d144180a
1
#!/bin/sh
2
3
WCFLAGS
=
"
${inc_search_path}
"
4
WLFLAGS
=
"
${lib_search_path}
"
5
WLIBS
=
"-lwraster
${GFXLIBS}
${XLIBS}
-lm"
6
7
usage
=
"Usage: get-wraster-flags [--cflags] [--ldflags] [--libs]"
8
9
if
test
$#
-eq
0
;
then
10
echo
"
${usage}
"
1
>&
2
11
exit
1
12
fi
13
14
while
test
$#
-gt
0
;
do
15
case
$1
in
16
--cflags
)
17
echo
$WCFLAGS
18
;;
19
--ldflags
|
--lflags
)
20
echo
$WLFLAGS
21
;;
22
--libs
)
23
echo
$WLIBS
24
;;
25
*)
26
echo
"
${usage}
"
1
>&
2
27
exit
1
28
;;
29
esac
30
shift
31
done