fixed configure.ac
This commit is contained in:
parent
0962885749
commit
e3be2e5273
11
qse/configure
vendored
11
qse/configure
vendored
@ -17507,14 +17507,6 @@ fi
|
|||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
ac_fn_c_check_type "$LINENO" "wchar_t" "ac_cv_type_wchar_t" "#include <stddef.h>
|
|
||||||
"
|
|
||||||
if test "x$ac_cv_type_wchar_t" = xyes; then :
|
|
||||||
|
|
||||||
$as_echo "#define HAVE_WCHAR_T_IN_STDDEF_H /**/" >>confdefs.h
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
for ac_func in uselocale
|
for ac_func in uselocale
|
||||||
do :
|
do :
|
||||||
@ -19879,7 +19871,7 @@ _ACEOF
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if test "${platform_win32}" == "yes"
|
if test "${platform_win32}" = "yes"
|
||||||
then
|
then
|
||||||
# The cast to long int works around a bug in the HP C Compiler
|
# The cast to long int works around a bug in the HP C Compiler
|
||||||
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
||||||
@ -20866,6 +20858,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
test "${ac_cv_sizeof_wchar_t}" = "0" && enable_wchar_is=no
|
test "${ac_cv_sizeof_wchar_t}" = "0" && enable_wchar_is=no
|
||||||
|
test "${ac_cv_sizeof_wchar_t}" = "1" && enable_wchar_is=no
|
||||||
if test "${enable_wchar_is}" = "yes"
|
if test "${enable_wchar_is}" = "yes"
|
||||||
then
|
then
|
||||||
|
|
||||||
|
@ -131,11 +131,11 @@ AC_CHECK_HEADERS([sys/stropts.h sys/macstat.h linux/ethtool.h linux/sockios.h])
|
|||||||
AC_CHECK_HEADERS([quadmath.h crt_externs.h sys/prctl.h uci.h])
|
AC_CHECK_HEADERS([quadmath.h crt_externs.h sys/prctl.h uci.h])
|
||||||
|
|
||||||
dnl check data types
|
dnl check data types
|
||||||
AC_CHECK_TYPE([wchar_t],
|
dnl AC_CHECK_TYPE([wchar_t],
|
||||||
[ AC_DEFINE([HAVE_WCHAR_T_IN_STDDEF_H],
|
dnl [ AC_DEFINE([HAVE_WCHAR_T_IN_STDDEF_H],
|
||||||
[],[wchar_t is available in stddef.h]) ],
|
dnl [],[wchar_t is available in stddef.h]) ],
|
||||||
[],
|
dnl [],
|
||||||
[#include <stddef.h>])
|
dnl [#include <stddef.h>])
|
||||||
|
|
||||||
dnl check functions
|
dnl check functions
|
||||||
AC_CHECK_FUNCS([uselocale])
|
AC_CHECK_FUNCS([uselocale])
|
||||||
@ -375,7 +375,7 @@ AC_CHECK_SIZEOF(off64_t)
|
|||||||
AC_CHECK_SIZEOF(mbstate_t,,[#include <wchar.h>])
|
AC_CHECK_SIZEOF(mbstate_t,,[#include <wchar.h>])
|
||||||
AX_CHECK_NUMVALOF(MB_LEN_MAX,[32],[#include <limits.h>])
|
AX_CHECK_NUMVALOF(MB_LEN_MAX,[32],[#include <limits.h>])
|
||||||
|
|
||||||
if test "${platform_win32}" == "yes"
|
if test "${platform_win32}" = "yes"
|
||||||
then
|
then
|
||||||
AC_CHECK_SIZEOF(struct sockaddr_in,,[
|
AC_CHECK_SIZEOF(struct sockaddr_in,,[
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
@ -581,6 +581,7 @@ dnl define extra options
|
|||||||
AC_ARG_ENABLE([wchar], [AS_HELP_STRING([--enable-wchar],[Use the wide character type as the default charater type when enabled (default. yes)])],
|
AC_ARG_ENABLE([wchar], [AS_HELP_STRING([--enable-wchar],[Use the wide character type as the default charater type when enabled (default. yes)])],
|
||||||
enable_wchar_is=$enableval,enable_wchar_is=yes)
|
enable_wchar_is=$enableval,enable_wchar_is=yes)
|
||||||
test "${ac_cv_sizeof_wchar_t}" = "0" && enable_wchar_is=no
|
test "${ac_cv_sizeof_wchar_t}" = "0" && enable_wchar_is=no
|
||||||
|
test "${ac_cv_sizeof_wchar_t}" = "1" && enable_wchar_is=no
|
||||||
if test "${enable_wchar_is}" = "yes"
|
if test "${enable_wchar_is}" = "yes"
|
||||||
then
|
then
|
||||||
AC_DEFINE([QSE_CHAR_IS_WCHAR],[],[The default character type is the wide character type])
|
AC_DEFINE([QSE_CHAR_IS_WCHAR],[],[The default character type is the wide character type])
|
||||||
|
@ -156,6 +156,16 @@ available for the native makefile for Watcom C/C++ for OS/2 only.
|
|||||||
|
|
||||||
wmake TCPV40HDRS=on
|
wmake TCPV40HDRS=on
|
||||||
|
|
||||||
|
### SCO UNIX System V/386 Release 3.2 ###
|
||||||
|
|
||||||
|
- Specify GREP if configure fails to find an acceptable grep.
|
||||||
|
- Build in the source tree. Building outside the source tree is likely to fail
|
||||||
|
for dificiency of the bundled make utility.
|
||||||
|
- Do not include -g in CFLAGS.
|
||||||
|
|
||||||
|
./configure GREP=/bin/grep CFLAGS=""
|
||||||
|
|
||||||
|
|
||||||
### More options ###
|
### More options ###
|
||||||
|
|
||||||
More options are available for the configure script. Execute this for more
|
More options are available for the configure script. Execute this for more
|
||||||
|
@ -700,9 +700,6 @@
|
|||||||
/* Define to 1 if you have the <wchar.h> header file. */
|
/* Define to 1 if you have the <wchar.h> header file. */
|
||||||
#undef HAVE_WCHAR_H
|
#undef HAVE_WCHAR_H
|
||||||
|
|
||||||
/* wchar_t is available in stddef.h */
|
|
||||||
#undef HAVE_WCHAR_T_IN_STDDEF_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `wcrtomb' function. */
|
/* Define to 1 if you have the `wcrtomb' function. */
|
||||||
#undef HAVE_WCRTOMB
|
#undef HAVE_WCRTOMB
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user