1 rule -configure-test-gmp- {
3 -configure-test-compile-cc- "libgmp" :
7 "mpz_init_set_str(x, "1234567", 10);"
18 -configure-pkg-config-necessary-
22 local pp = [ Command "echo $(PREFIX) | sed \"s/\\//\\\\\\\\\\\//g\"" : dummy ] ;
23 Command "sed -e \"s/@prefix/\\$(pp)/\" ./libpgcli.pc.in > ./libpgcli.pc" ;
24 if [ -configure-test-gmp- ] == 1 {
25 -configure-add-line- "LINKLIBS.all += -lgmp -lm ;" ;
27 Exit "libgmp not found" ;