# XLDFLAGS Add extra link flags to use.
# Optimize TLS usage by avoiding the overhead of dynamic allocation.
-if test $have_tls = yes ; then
+if test $gcc_cv_have_tls = yes ; then
case "${target}" in
*-*-linux*)
config_path="linux/ia64 linux posix"
;;
+ mips*-*-linux*)
+ config_path="linux/mips linux posix"
+ ;;
+
powerpc*-*-linux*)
config_path="linux/powerpc linux posix"
;;
XLDFLAGS="${XLDFLAGS} -lposix4"
;;
+ *-*-darwin*)
+ config_path="bsd posix"
+ ;;
+
*)
;;