ver
[libexssl.git] / Jamrules.configure
blob01bf038e373a34052d5ac7f50d719a3f21de5024
1 rule -configure- {
2     if ! $(PREFIX) {
3         PREFIX = /usr/local ;
4     }
5     local pp = [ Command "echo $(PREFIX) | sed \"s/\\//\\\\\\\\\\\//g\"" : dummy ] ;
6     Command "sed \"s/@prefix/\\$(pp)/\" ./libexssl.pc.in > ./libexssl.pc" ;
7     -configure-pkg-config-necessary-
8         "libex"         "libex"
9         "libcrypto"     "libcrypto"
10         "libssl"        "libssl"
11     ;
12     if $(debug) {
13         -configure-add-line- "CFLAGS.all += -O0 -g3 ;" ;
14         -configure-add-line- "SubInclude TOP test ;" ;
15     } else {
16         -configure-add-line- "set-profile ;" ;
17     }
20 configure ;