comparison configure @ 57:4eef76c8d22f r0.9-RC5

- another gnu/kfreebsd configure script linker flag
author cslag
date Fri, 25 Dec 2015 23:13:17 +0100
parents 2cccd38e5e4d
children 988f7587e4d4
comparison
equal deleted inserted replaced
56:2cccd38e5e4d 57:4eef76c8d22f
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 ;; 87 ;;
88 GNU/kFreeBSD) 88 GNU/kFreeBSD)
89 printf "LDLIBS=-lm\n" >>$C 89 if [ -z "${CFLAGS}" ]; then
90 printf "CFLAGS=-fPIC\n" >>$C
91 fi
92 printf "LDLIBS=-lm -ldl\n" >>$C
90 ;; 93 ;;
91 MacOSX|Darwin) 94 MacOSX|Darwin)
92 # if Apple's libtool (not to be confused with GNU's) is available, which is according to libtool(1) "with -static [...] intended 95 # if Apple's libtool (not to be confused with GNU's) is available, which is according to libtool(1) "with -static [...] intended
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 96 # 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
94 # intentionally used, and fall back to using 'ar rs' (the equivalent to 'libtool -static'), for compatibility: 97 # intentionally used, and fall back to using 'ar rs' (the equivalent to 'libtool -static'), for compatibility: