mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05: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:
parent
134ebe3277
commit
b75fc3aa33
12
configure.in
12
configure.in
@ -8,6 +8,7 @@ AC_CONFIG_HEADERS(src/config.h)
|
|||||||
AC_CONFIG_LIBOBJ_DIR(src)
|
AC_CONFIG_LIBOBJ_DIR(src)
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
|
AC_PROG_CC_STDC
|
||||||
|
|
||||||
|
|
||||||
dnl SETUP
|
dnl SETUP
|
||||||
@ -37,7 +38,7 @@ if test -z "$GCC"; then
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
ez_enable_debug=no
|
ez_enable_debug=no
|
||||||
@ -73,7 +74,16 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
|
AC_C_VOLATILE
|
||||||
AC_TYPE_SIZE_T
|
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
|
dnl USEFUL HEADERS
|
||||||
|
Loading…
Reference in New Issue
Block a user