64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
no_dlopen='0'
fi
])
if test "$no_dlopen" = '1'; then
CPPFLAGS="${CPPFLAGS} -DCONFIG_TCC_STATIC_NODLOPEN=1"
fi
dnl Determine HOST_PATH_SEPERATOR
case $host_os in
*mingw*)
HOST_PATH_SEPARATOR=';'
;;
*)
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
no_dlopen='0'
fi
])
if test "$no_dlopen" = '1'; then
CPPFLAGS="${CPPFLAGS} -DCONFIG_TCC_STATIC_NODLOPEN=1"
fi
dnl Determine if the compiler supports -Wno-unused-result
AC_CACHE_CHECK([if compiler supports -Wno-unused-result], [tcc4tcl_cv_compiler_wno_unused_result], [
SAVE_CFLAGS="${CFLAGS}"
CFLAGS="${SAVE_CFLAGS} -Wno-unused-result"
AC_COMPILE_IFELSE([AC_LANG_SOURCE()], [
tcc4tcl_cv_compiler_wno_unused_result='yes'
], [
tcc4tcl_cv_compiler_wno_unused_result='no'
])
CFLAGS="${SAVE_CFLAGS}"
])
if test "$tcc4tcl_cv_compiler_wno_unused_result" = 'yes'; then
TCC_WNO_UNUSED_RESULT='-Wno-unused-result'
else
TCC_WNO_UNUSED_RESULT='-Wno-unused-result'
fi
AC_SUBST(TCC_WNO_UNUSED_RESULT)
dnl Determine HOST_PATH_SEPERATOR
case $host_os in
*mingw*)
HOST_PATH_SEPARATOR=';'
;;
*)
|
85
86
87
88
89
90
91
92
|
dnl This must be done last since it breaks the compilation
if test "${TCC4TCL_TARGET}" = "shared"; then
DC_SETUP_STABLE_API([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms])
fi
dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms)
|
|
|
104
105
106
107
108
109
110
111
|
dnl This must be done last since it breaks the compilation
if test "${TCC4TCL_TARGET}" = "shared"; then
DC_SETUP_STABLE_API([${srcdir}/tcc4tcl.vers], [tcc4tcl.syms])
fi
dnl Produce output
AC_OUTPUT(Makefile pkgIndex.tcl tcc4tcl.syms tcc/Makefile)
|