Displaying 3 results from an estimated 3 matches for "include_stdint".
2015 Jul 05
3
[PATCH speexdsp] Don't rely on HAVE_STDINT_H et al. being defined
..., 7 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2cd2d1e..1de0c23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,6 +334,12 @@ AC_SUBST([USIZE16])
AC_SUBST([SIZE32])
AC_SUBST([USIZE32])
+AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include <stdint.h>"],
+ [test "$ac_cv_header_inttypes_h" = "yes"], [INCLUDE_STDINT="#include <inttypes.h>"],
+ [test "$ac_cv_header_sys_types_h" = "yes"], [INCLUDE_STDINT="#include <sys/types.h>"])...
2015 Jul 06
0
[PATCH speexdsp] Don't rely on HAVE_STDINT_H et al. being defined
...--git a/configure.ac b/configure.ac
> index 2cd2d1e..1de0c23 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -334,6 +334,12 @@ AC_SUBST([USIZE16])
> AC_SUBST([SIZE32])
> AC_SUBST([USIZE32])
>
> +AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include <stdint.h>"],
> + [test "$ac_cv_header_inttypes_h" = "yes"], [INCLUDE_STDINT="#include <inttypes.h>"],
> + [test "$ac_cv_header_sys_types_h" = "yes"], [INCLUDE_STDINT="#include <sys/types.h>...
2017 May 29
0
[PATCH] Add CMake build script
...+include(CheckLibraryExists)
+include(CMakeDependentOption)
+include(FeatureSummary)
+include(TestVarArrays)
+include(CheckCCompilerFlag)
+include(GNUInstallDirs)
+include(TestBigEndian)
+
+test_big_endian(WORDS_BIGENDIAN)
+
+check_include_file(inttypes.h HAVE_INTTYPES_H)
+if(HAVE_INTTYPES_H)
+ set(INCLUDE_STDINT "#include <inttypes.h>")
+else()
+ check_include_file(stdint.h HAVE_STDINT_H)
+ if(HAVE_STDINT_H)
+ set(INCLUDE_STDINT "#include <stdint.h>")
+ else()
+ check_include_file(sys/types.h INCLUDE_SYS_TYPES_H)
+ if(HAVE_SYS_TYPES_H)
+ set(INCLUDE_STDINT "#includ...