Skip to content

Commit

Permalink
Added build system support for OpenBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 23, 2002
1 parent d41048a commit fa77075
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configure.in
Expand Up @@ -251,6 +251,18 @@ if test x$we_have_sed = xyes; then
AC_MSG_RESULT([$this_is_freebsd])
fi

this_is_openbsd=no
if test x$we_have_sed = xyes; then
AC_MSG_CHECKING([if this is OpenBSD])
x=`echo $build_os |tr A-Z a-z |sed "s/.*openbsd.*/openbsd/"`
if test x$x = xopenbsd; then
this_is_openbsd=yes
LDFLAGS="$LDFLAGS -pthread"
fi

AC_MSG_RESULT([$this_is_openbsd])
fi

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h string.h])
Expand Down

0 comments on commit fa77075

Please sign in to comment.