--- libstdc++-v3/acinclude.m4.orig 2013-11-22 13:17:55 UTC +++ libstdc++-v3/acinclude.m4 @@ -1930,10 +1930,10 @@ AC_DEFUN([GLIBCXX_ENABLE_CLOCALE], [ # Default to "generic". if test $enable_clocale_flag = auto; then case ${target_os} in - linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu) + linux* | gnu* | kbsdsunix*-gnu | kfreebsd*-gnu | knetbsd*-gnu) enable_clocale_flag=gnu ;; - darwin* | freebsd*) + darwin* | freebsd* | bsdsunix*) enable_clocale_flag=darwin ;; openbsd*) @@ -2156,7 +2156,7 @@ AC_DEFUN([GLIBCXX_ENABLE_ALLOCATOR], [ # Default to "new". if test $enable_libstdcxx_allocator_flag = auto; then case ${target_os} in - linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu) + linux* | gnu* | kbsdsunix*-gnu | kfreebsd*-gnu | knetbsd*-gnu) enable_libstdcxx_allocator_flag=new ;; *) @@ -2769,7 +2769,7 @@ AC_DEFUN([GLIBCXX_ENABLE_ATOMIC_BUILTINS if test x$gcc_no_link != xyes; then # Can do link tests. Limit to some tested platforms case "$host" in - *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*) + *-*-linux* | *-*-uclinux* | *-*-kbsdsunix*-gnu | *-*-kfreebsd*-gnu | *-*-gnu*) atomic_builtins_link_tests=yes ;; esac