fix openbsd sofia build -- don't ask -- (FSBUILD-256)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17072 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2010-03-23 01:20:48 +00:00
parent f6fe2667d4
commit 9f5bf3b592

View File

@ -100,6 +100,14 @@ if test "x${ax_cv_c_compiler_vendor}" = "xsun" ; then
fi
fi
# openbsd seems to not define NULL as a void pointer, I blame standards by committee for this.
# This is a dirty hack, but shuts up all the warnings
case "$host" in
*-openbsd*) SOFIA_CFLAGS="$SOFIA_CFLAGS -DNULL='(void *) 0L'";;
*) ;;
esac
### checks for header files
### -----------------------
AC_HEADER_STDC