diff options
author | tim@white.box <> | 2001-07-17 17:11:19 -0400 |
---|---|---|
committer | tim@white.box <> | 2001-07-17 17:11:19 -0400 |
commit | 6539db2b8bf0bb15e2d0be570fb2596259461208 (patch) | |
tree | 54580ed5130e8bfa773b2d64fb940171928bf306 /configure.in | |
parent | 42712018687b6eea6ec2be9417763dcc7cfefefe (diff) | |
download | mariadb-git-6539db2b8bf0bb15e2d0be570fb2596259461208.tar.gz |
configure.in Fix "$target_os" = "freebsd" test; not a critical fix.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 37bc22ff63e..e1a1d6eac6e 100644 --- a/configure.in +++ b/configure.in @@ -1122,10 +1122,10 @@ if test "$ac_cv_lib_pthread_strtok_r" = "no" then my_save_LIBS="$LIBS" AC_CHECK_LIB(c_r,strtok_r) - if test "$with_osf32_threads" = "yes" -o "$target_os" = "FreeBSD" -o "$target_os" = "freebsd" - then - LIBS="$my_save_LIBS" - fi + case "$with_osf32_threads---$target_os" in + # Don't keep -lc_r in LIBS; -pthread handles it magically + yes---* | *---freebsd* ) LIBS="$my_save_LIBS" ;; + esac AC_CHECK_FUNCS(strtok_r pthread_init) else AC_CHECK_FUNCS(strtok_r) |