Mercurial > pub > dyncall > dyncall
comparison configure @ 56:2cccd38e5e4d
- added -lm in GNU/kFreeBSD config, to build all tests out of the box
- cosmetics
author | cslag |
---|---|
date | Fri, 25 Dec 2015 21:16:04 +0100 |
parents | e2519fb5f88d |
children | 4eef76c8d22f |
comparison
equal
deleted
inserted
replaced
55:8d938410d1eb | 56:2cccd38e5e4d |
---|---|
82 if [ -z "${CFLAGS}" ]; then | 82 if [ -z "${CFLAGS}" ]; then |
83 printf "CFLAGS=-fPIC\n" >>$C | 83 printf "CFLAGS=-fPIC\n" >>$C |
84 fi | 84 fi |
85 printf "LDLIBS=-lm\n" >>$C | 85 printf "LDLIBS=-lm\n" >>$C |
86 printf "RM=rm -f\n" >>$C | 86 printf "RM=rm -f\n" >>$C |
87 ;; | |
88 GNU/kFreeBSD) | |
89 printf "LDLIBS=-lm\n" >>$C | |
87 ;; | 90 ;; |
88 MacOSX|Darwin) | 91 MacOSX|Darwin) |
89 # if Apple's libtool (not to be confused with GNU's) is available, which is according to libtool(1) "with -static [...] intended | 92 # if Apple's libtool (not to be confused with GNU's) is available, which is according to libtool(1) "with -static [...] intended |
90 # to replace ar(5) and ranlib", use it - if it is shadowed by some install of GNU's libtool assume that a foreign environment is | 93 # to replace ar(5) and ranlib", use it - if it is shadowed by some install of GNU's libtool assume that a foreign environment is |
91 # intentionally used, and fall back to using 'ar rs' (the equivalent to 'libtool -static'), for compatibility: | 94 # intentionally used, and fall back to using 'ar rs' (the equivalent to 'libtool -static'), for compatibility: |