1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
-
-
+
+
+
+
-
-
+
+
+
+
+
+
-
+
+
-
+
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
|
dnl AUTOCONF configuration for TRAMPOLINE
dnl Bruno Haible 2001-01-27
dnl AUTOCONF configuration for TRAMPOLINE
dnl Bruno Haible 2001-01-27
dnl Sam Steingold 2008-2010
dnl
AC_INIT(libffcall/trampoline,m4_normalize(m4_esyscmd([cat ../VERSION])))
AC_INIT(trampoline.h.in)
AC_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR(trampoline.h.in)
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_HEADERS([trampoline.h],
[sed "s/@LIBFFCALL_VERSION@/${LIBFFCALL_VERSION}/" trampoline.h > tmp
mv -f tmp trampoline.h],[LIBFFCALL_VERSION=$PACKAGE_VERSION])
AC_CONFIG_FILES(Makefile)
AC_PROG_CC
AC_PROG_CPP
AC_PROG_GCC_TRADITIONAL
CL_CC_GCC
CL_AS_UNDERSCORE
CL_PROG_RANLIB
AC_PROG_RANLIB
AC_PROG_MAKE_SET
AC_CONFIG_AUX_DIR(../build-aux)
CL_PROG_INSTALL
AC_PROG_INSTALL
CL_PROG_CP
CL_PROG_LN
CL_PROG_LN_S
CL_VOID
CL_STDC_HEADERS
gl_HOST_CPU_C_ABI
AC_CHECK_HEADERS(unistd_h)
CL_GETPAGESIZE
CL_MACH_VM
CL_OPENFLAGS
CL_MMAP
CL_MPROTECT
CL_SHM_H
CL_SHM
CL_CANONICAL_HOST(../autoconf)
CL_CANONICAL_HOST_CPU_FOR_FFCALL
CL_CODEEXEC
FFCALL_COMMON_TRAMPOLINE
CPU_OBJECTS=''
if test ${host_cpu} = hppa -o ${host_cpu} = ia64; then
if test ${HOST_CPU_C_ABI} = hppa -o ${HOST_CPU_C_ABI} = powerpc64 -o ${HOST_CPU_C_ABI} = ia64; then
CPU_OBJECTS="$CPU_OBJECTS "'tramp-$(CPU).o'
fi
if test ${host_cpu} = rs6000; then
if test ${HOST_CPU_C_ABI} = powerpc; then
case "${host_os}" in
aix*) CPU_OBJECTS="$CPU_OBJECTS "'tramp-$(CPU).o' ;;
*) ;;
esac
fi
if test ${host_cpu} = sparc -o ${host_cpu} = sparc64 -o ${host_cpu} = alpha -o ${host_cpu} = hppa -o ${host_cpu} = convex; then
if test ${HOST_CPU_C_ABI} = sparc -o ${HOST_CPU_C_ABI} = sparc64 -o ${HOST_CPU_C_ABI} = alpha -o ${HOST_CPU_C_ABI} = hppa -o ${HOST_CPU_C_ABI} = convex -o ${HOST_CPU_C_ABI} = arm -o ${HOST_CPU_C_ABI} = armel; then
CPU_OBJECTS="$CPU_OBJECTS "'cache-$(CPU).o'
fi
if test ${host_cpu} = rs6000; then
if test ${HOST_CPU_C_ABI} = powerpc; then
case "${host_os}" in
aix*) ;;
*) CPU_OBJECTS="$CPU_OBJECTS "'cache-$(CPU).o' ;;
esac
fi
AC_SUBST(CPU_OBJECTS)
if test ${host_cpu} = mips -o ${host_cpu} = mipsn32 -o ${host_cpu} = mips64; then
if test ${HOST_CPU_C_ABI} = mips -o ${HOST_CPU_C_ABI} = mipsn32 -o ${HOST_CPU_C_ABI} = mips64; then
AC_CHECK_HEADERS(sys/cachectl.h)
fi
if test ${host_cpu} = m88k; then
if test ${HOST_CPU_C_ABI} = m88k; then
AC_CHECK_HEADERS(sys/m88kbcs.h)
fi
AC_OUTPUT(Makefile)
AC_OUTPUT
|