diff options
author | Qing He <qing.he@intel.com> | 2010-08-10 13:35:21 +0800 |
---|---|---|
committer | Qing He <qing.he@intel.com> | 2010-08-10 15:51:59 +0800 |
commit | f25d26de776f9927e1d2c92f031085a9b9323087 (patch) | |
tree | 6277122cb3ed016ad04a906e7771517a1c649a57 /meta/packages/js/files/configure.ac | |
parent | 15ecd98c5452020551472a4a7a981b0609deb537 (diff) | |
download | poky-f25d26de776f9927e1d2c92f031085a9b9323087.tar.gz |
js: fix configure
use autoconf to generate jsautocfg.h instead of preparing
different headers for different archs
size_of and align_of tests also work under cross-compilation.
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/js/files/configure.ac')
-rw-r--r-- | meta/packages/js/files/configure.ac | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/js/files/configure.ac b/meta/packages/js/files/configure.ac new file mode 100644 index 0000000000..41af298455 --- /dev/null +++ b/meta/packages/js/files/configure.ac | |||
@@ -0,0 +1,28 @@ | |||
1 | AC_INIT | ||
2 | |||
3 | AC_CHECK_SIZEOF([char]) | ||
4 | AC_CHECK_SIZEOF([short]) | ||
5 | AC_CHECK_SIZEOF([int]) | ||
6 | AC_CHECK_SIZEOF([int64_t]) | ||
7 | AC_CHECK_SIZEOF([long]) | ||
8 | AC_CHECK_SIZEOF([long long]) | ||
9 | AC_CHECK_SIZEOF([int *]) | ||
10 | AC_CHECK_SIZEOF([float]) | ||
11 | AC_CHECK_SIZEOF([double]) | ||
12 | |||
13 | AC_CHECK_ALIGNOF([char]) | ||
14 | AC_CHECK_ALIGNOF([short]) | ||
15 | AC_CHECK_ALIGNOF([int]) | ||
16 | AC_CHECK_ALIGNOF([int64_t]) | ||
17 | AC_CHECK_ALIGNOF([long]) | ||
18 | AC_CHECK_ALIGNOF([long long]) | ||
19 | AC_CHECK_ALIGNOF([int *]) | ||
20 | AC_CHECK_ALIGNOF([float]) | ||
21 | AC_CHECK_ALIGNOF([double]) | ||
22 | |||
23 | AC_C_BIGENDIAN | ||
24 | |||
25 | AC_TYPE_LONG_LONG_INT | ||
26 | |||
27 | AC_CONFIG_HEADER([conf.h]) | ||
28 | AC_OUTPUT | ||