summaryrefslogtreecommitdiffstats
path: root/meta/packages/js/files/configure.ac
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-08-10 13:35:21 +0800
committerQing He <qing.he@intel.com>2010-08-10 15:51:59 +0800
commitf25d26de776f9927e1d2c92f031085a9b9323087 (patch)
tree6277122cb3ed016ad04a906e7771517a1c649a57 /meta/packages/js/files/configure.ac
parent15ecd98c5452020551472a4a7a981b0609deb537 (diff)
downloadpoky-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.ac28
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 @@
1AC_INIT
2
3AC_CHECK_SIZEOF([char])
4AC_CHECK_SIZEOF([short])
5AC_CHECK_SIZEOF([int])
6AC_CHECK_SIZEOF([int64_t])
7AC_CHECK_SIZEOF([long])
8AC_CHECK_SIZEOF([long long])
9AC_CHECK_SIZEOF([int *])
10AC_CHECK_SIZEOF([float])
11AC_CHECK_SIZEOF([double])
12
13AC_CHECK_ALIGNOF([char])
14AC_CHECK_ALIGNOF([short])
15AC_CHECK_ALIGNOF([int])
16AC_CHECK_ALIGNOF([int64_t])
17AC_CHECK_ALIGNOF([long])
18AC_CHECK_ALIGNOF([long long])
19AC_CHECK_ALIGNOF([int *])
20AC_CHECK_ALIGNOF([float])
21AC_CHECK_ALIGNOF([double])
22
23AC_C_BIGENDIAN
24
25AC_TYPE_LONG_LONG_INT
26
27AC_CONFIG_HEADER([conf.h])
28AC_OUTPUT