Commit 9aa8ef3e authored by unknown's avatar unknown

configure.in Fix "$target_os" = "freebsd" test; not a critical fix.


configure.in:
  Fix "$target_os" = "freebsd" test; not a critical fix.
parent e7dcb51d
...@@ -1122,10 +1122,10 @@ if test "$ac_cv_lib_pthread_strtok_r" = "no" ...@@ -1122,10 +1122,10 @@ if test "$ac_cv_lib_pthread_strtok_r" = "no"
then then
my_save_LIBS="$LIBS" my_save_LIBS="$LIBS"
AC_CHECK_LIB(c_r,strtok_r) AC_CHECK_LIB(c_r,strtok_r)
if test "$with_osf32_threads" = "yes" -o "$target_os" = "FreeBSD" -o "$target_os" = "freebsd" case "$with_osf32_threads---$target_os" in
then # Don't keep -lc_r in LIBS; -pthread handles it magically
LIBS="$my_save_LIBS" yes---* | *---freebsd* ) LIBS="$my_save_LIBS" ;;
fi esac
AC_CHECK_FUNCS(strtok_r pthread_init) AC_CHECK_FUNCS(strtok_r pthread_init)
else else
AC_CHECK_FUNCS(strtok_r) AC_CHECK_FUNCS(strtok_r)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment