htp OpenBSD: fix inline related warning

remotes/origin/master
Eric Leblond 13 years ago committed by Victor Julien
parent 3df3be0efc
commit aef4835c56

@ -94,6 +94,22 @@ AC_MSG_RESULT(yes),
AC_MSG_RESULT(no))
LDFLAGS="${TMPLDFLAGS}"
#check for os
AC_MSG_CHECKING([host os])
# If no host os was detected, try with uname
if test -z "$host" ; then
host="`uname`"
fi
case "$host" in
*-*-openbsd*)
CFLAGS="${CFLAGS} -fgnu89-inline"
;;
esac
AC_MSG_RESULT(ok)
dnl -----------------------------------------------
dnl forces all relocations to be resolved at run-time
dnl -----------------------------------------------

Loading…
Cancel
Save