Disable strict XML documentation config checking; fix crash caused by sorcery
[asterisk/asterisk.git] / configure.ac
index b5f4d29..477e981 100644 (file)
@@ -178,7 +178,7 @@ case "${host_os}" in
      OSARCH=cygwin
      PBX_WINARCH=1
      ;;
-     linux-gnueabi)
+     linux-gnueabi*)
      OSARCH=linux-gnu
      ;;
      kfreebsd*-gnu)
@@ -597,7 +597,7 @@ AC_CHECK_FUNCS([asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll
 # so that AC_CHECK_FUNCS can detect functions in that library.
 AC_CHECK_LIB([m], [sqrt])
 # BSD might not have exp2, and/or log2
-AC_CHECK_FUNCS([exp2 log2 exp10 log10 sin cos tan asin acos atan atan2 pow rint exp log remainder fmod round trunc floor ceil])
+AC_CHECK_FUNCS([exp2 log2 exp10 log10 sin cos tan asin acos atan atan2 pow rint exp log remainder fmod round roundf trunc floor ceil])
 
 # Certain architectures don't really have long double, even though
 # AC_CHECK_FUNCS would otherwise find the following functions.
@@ -1071,18 +1071,7 @@ if test "${check_rpath}" != yes; then
 elif test "${prefix}" = /usr || test "${prefix}" = NONE; then
        AC_MSG_RESULT(not needed)
 else
-       case "${host_os}" in
-               darwin*)
-                       AC_MSG_RESULT(not supported)
-                       # We set macosx_version_min to 10.4, which doesn't
-                       # support rpath. However, we set install_name on our
-                       # dylibs, so it's not strictly necessary.
-                       ;;
-               *)
-                       AC_MSG_RESULT(required)
-                       AST_RPATH="-Wl,-rpath,${libdir}"
-                       ;;
-       esac
+       AST_RPATH="-Wl,-rpath,${libdir}"
 fi
 AC_SUBST(AST_RPATH)