configure.in
changeset 378 41cda991e23a
parent 353 7adb20841f11
child 381 b65d27fdc8a9
equal deleted inserted replaced
377:1893c26810ed 378:41cda991e23a
   249   fi
   249   fi
   250 
   250 
   251   AC_MSG_RESULT([$this_is_freebsd])
   251   AC_MSG_RESULT([$this_is_freebsd])
   252 fi
   252 fi
   253 
   253 
       
   254 this_is_openbsd=no
       
   255 if test x$we_have_sed = xyes; then
       
   256   AC_MSG_CHECKING([if this is OpenBSD])
       
   257   x=`echo $build_os |tr A-Z a-z |sed "s/.*openbsd.*/openbsd/"`
       
   258   if test x$x = xopenbsd; then
       
   259     this_is_openbsd=yes
       
   260     LDFLAGS="$LDFLAGS -pthread"
       
   261   fi
       
   262 
       
   263   AC_MSG_RESULT([$this_is_openbsd])
       
   264 fi
       
   265 
   254 # Checks for header files.
   266 # Checks for header files.
   255 AC_HEADER_STDC
   267 AC_HEADER_STDC
   256 AC_CHECK_HEADERS([stdlib.h string.h])
   268 AC_CHECK_HEADERS([stdlib.h string.h])
   257 
   269 
   258 # Checks for typedefs, structures, and compiler characteristics.
   270 # Checks for typedefs, structures, and compiler characteristics.