diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2000-05-16 16:38:05 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2000-05-16 16:38:05 +0000 |
commit | 6d57cf7461c473e6255c821d61d27c51883b258d (patch) | |
tree | 4f23070dbaede9ce2dec497c21bc0bc97f9cd8b0 /configure | |
parent | 7def4b472a95ef041e801f9030e75bcc9a4f9acd (diff) |
Threads natifs pour OpenBSD. Chercher ndbm.h dans /usr/include/db1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3165 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -748,8 +748,12 @@ if test "$posix_threads" = "yes"; then *-*-freebsd*) pthread_link="-ccopt -pthread" bytecccompopts="$bytecccompopts -D_THREAD_SAFE" - nativecccompopts="$nativecccompopts -D_THREAD_SAFE" - ;; + nativecccompopts="$nativecccompopts -D_THREAD_SAFE";; + *-*-openbsd*) + pthread_link="-ccopt -pthread" + bytecccompopts="$bytecccompopts -pthread" + asppflags="$asppflags -pthread" + nativecccompopts="$nativecccompopts -pthread";; *) pthread_link="-cclib -lpthread";; esac @@ -833,7 +837,7 @@ fi # See if we can compile the dbm library dbm_include="not found" -for dir in /usr/include /usr/include/gdbm; do +for dir in /usr/include /usr/include/gdbm /usr/include/db1; do if test -f $dir/ndbm.h; then dbm_include=$dir break |