some redraw fixes
[k8sterm.git] / Jamrules.configure
blobb35232b41a8b4e303a72f3f9abfad54fd5bc8be6
1 rule -configure- {
2   local githere = ona ;
3   #
4   -configure-pkg-config-necessary-
5     "X11"     "x11"
6   ;
7   if $(OS) == "MACOSX" {
8     -configure-add-line- "LINKLIBS.all += -liconv ;" ;
9   } else {
10     -configure-add-line- "LINKLIBS.all += -lrt ;" ;
11   }
12   -configure-add-line- "LINKLIBS.all += -lutil ;" ; # openpty()
13   #
14   Echo "checking for git and repo ... " : -n ;
15   if [ sys-have-command git ] {
16     if ! [ Command test -d $(TOP)/.git ] {
17       githere = tan ;
18     }
19   }
20   Echo $(githere) ;
21   -configure-add-line- "_USE_GIT_VERSION = $(githere) ;" ;
25 configure ;