diff options
author | Luo Jinghua <sunmoon1997@gmail.com> | 2009-08-27 11:17:11 +0800 |
---|---|---|
committer | Luo Jinghua <sunmoon1997@gmail.com> | 2009-08-27 11:17:11 +0800 |
commit | 79df34376c72a51949aafb897d829c0106ca861a (patch) | |
tree | 2f93bd76e72500fe8481e0300cf7c4f31e56479e | |
parent | 2079f965fd8e388d52f617f53e2dd2bd0e2d2c2a (diff) |
configure: check availablities of some headers and functions
-rw-r--r-- | configure.ac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a3e3e39..474ad36 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,4 @@ +# -*- Autoconf -*- AC_INIT dnl versions of gstreamer and plugins-base @@ -27,8 +28,32 @@ AM_CONFIG_HEADER(config.h) dnl check for tools AC_PROG_CC AM_PROG_CC_C_O +AC_PROG_AWK +AC_PROG_CPP +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET +AC_PROG_RANLIB AC_PROG_LIBTOOL +# Checks for header files. +AC_CHECK_HEADERS([arpa/inet.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_INT64_T +AC_TYPE_PID_T +AC_TYPE_SIZE_T +AC_TYPE_SSIZE_T +AC_TYPE_UINT16_T +AC_TYPE_UINT32_T +AC_TYPE_UINT64_T +AC_TYPE_UINT8_T + +# Checks for library functions. +AC_FUNC_FORK +AC_FUNC_MALLOC +AC_CHECK_FUNCS([memset select socket strerror]) + dnl decide on error flags AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no") |