1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-09-15 04:08:07 -04:00

A few tweaks:

* Get ISO C99 from the compiler, if possible.
 * Check for ssize_t for --enable-debug portability.
 * Add AC_C_VOLATILE check, because we use it.


git-svn-id: https://svn.xiph.org/trunk/ezstream@13462 0101bb08-14d6-0310-b084-bc0e0c8e3800
This commit is contained in:
moritz 2007-08-08 13:46:17 +00:00
parent 134ebe3277
commit b75fc3aa33

View File

@ -8,6 +8,7 @@ AC_CONFIG_HEADERS(src/config.h)
AC_CONFIG_LIBOBJ_DIR(src)
AM_MAINTAINER_MODE
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC_STDC
dnl SETUP
@ -37,7 +38,7 @@ if test -z "$GCC"; then
;;
esac
else
XIPH_CPPFLAGS="-Wall -Wwrite-strings -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations"
XIPH_CPPFLAGS="-fstrict-aliasing -Wall -W -Wno-unused-parameter -Wwrite-strings -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations"
fi
ez_enable_debug=no
@ -73,7 +74,16 @@ else
fi
AC_C_CONST
AC_C_VOLATILE
AC_TYPE_SIZE_T
AC_CHECK_TYPES(ssize_t, ,
[AC_DEFINE_UNQUOTED(ssize_t, long, [Define to `long' if <sys/types.h> does not define.])],
[
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
])
dnl USEFUL HEADERS