83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
if test "$tcc4tcl_cv_compiler_wno_unused_result" = 'yes'; then
TCC_WNO_UNUSED_RESULT='-Wno-unused-result'
else
TCC_WNO_UNUSED_RESULT=''
fi
AC_SUBST(TCC_WNO_UNUSED_RESULT)
dnl Determine HOST_PATH_SEPERATOR
case $host_os in
*mingw*)
HOST_PATH_SEPARATOR=';'
;;
*)
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
if test "$tcc4tcl_cv_compiler_wno_unused_result" = 'yes'; then
TCC_WNO_UNUSED_RESULT='-Wno-unused-result'
else
TCC_WNO_UNUSED_RESULT=''
fi
AC_SUBST(TCC_WNO_UNUSED_RESULT)
dnl Determine if the compiler supports -gz=none
AC_CACHE_CHECK([if compiler supports -gz=none], [tcc4tcl_cv_compiler_gz_none], [
SAVE_CFLAGS="${CFLAGS}"
CFLAGS="${SAVE_CFLAGS} -gz=none"
AC_COMPILE_IFELSE([AC_LANG_SOURCE()], [
tcc4tcl_cv_compiler_gz_none='yes'
], [
tcc4tcl_cv_compiler_gz_none='no'
])
CFLAGS="${SAVE_CFLAGS}"
])
if test "$tcc4tcl_cv_compiler_gz_none" = 'yes'; then
TCC_GZ_NONE='-gz=none'
else
TCC_GZ_NONE=''
fi
AC_SUBST(TCC_GZ_NONE)
dnl Determine HOST_PATH_SEPERATOR
case $host_os in
*mingw*)
HOST_PATH_SEPARATOR=';'
;;
*)
|