sterm now can automatically set tab and window title to the corresponding process...
[k8sterm.git] / Jamrules.configure
blob92e17094fbd3141f5fc9d65c812b20bc15f5266f
1 rule -configure- {
2   local githere = ona ;
3   #
4   -configure-pkg-config- "X11" : x11 : : : "you need X11 to compile k8sterm!" ;
5   if $(OS) == "MACOSX" {
6     -configure-add-line- "LINKLIBS.all += -liconv ;" ;
7   } else {
8     -configure-add-line- "LINKLIBS.all += -lrt ;" ;
9   }
10   -configure-add-line- "LINKLIBS.all += -lutil ;" ; # openpty()
11   #
12   Echo-n "checking for git and repo ..." ;
13   if [ Command which git : no-output exit-code ] == 0 {
14     if [ Command test -d $(TOP)/.git : no-output exit-code ] == 0 {
15       githere = tan ;
16     }
17   }
18   Echo "$(githere)" ;
19   -configure-add-line- "_USE_GIT_VERSION = $(githere) ;" ;
23 configure ;