Attempt to fix OpenIndiana build issue introduced by #19922
This commit is contained in:
parent
5bb414d176
commit
b02bcae566
|
@ -3447,12 +3447,18 @@ fi
|
||||||
|
|
||||||
# On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
|
# On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
|
||||||
case $ac_sys_system in
|
case $ac_sys_system in
|
||||||
hp*|HP*)
|
hp*|HP*)
|
||||||
|
define_stdc_a1=yes;;
|
||||||
|
*)
|
||||||
|
define_stdc_a1=no;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if test $define_stdc_a1 = yes
|
||||||
|
then
|
||||||
|
|
||||||
$as_echo "#define _INCLUDE__STDC_A1_SOURCE 1" >>confdefs.h
|
$as_echo "#define _INCLUDE__STDC_A1_SOURCE 1" >>confdefs.h
|
||||||
|
|
||||||
;;
|
fi
|
||||||
esac
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# SGI compilers allow the specification of the both the ABI and the
|
# SGI compilers allow the specification of the both the ABI and the
|
||||||
|
|
12
configure.ac
12
configure.ac
|
@ -524,11 +524,17 @@ fi
|
||||||
|
|
||||||
# On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
|
# On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
|
||||||
case $ac_sys_system in
|
case $ac_sys_system in
|
||||||
hp*|HP*)
|
hp*|HP*)
|
||||||
AC_DEFINE(_INCLUDE__STDC_A1_SOURCE, 1, Define to include mbstate_t for mbrtowc)
|
define_stdc_a1=yes;;
|
||||||
;;
|
*)
|
||||||
|
define_stdc_a1=no;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if test $define_stdc_a1 = yes
|
||||||
|
then
|
||||||
|
AC_DEFINE(_INCLUDE__STDC_A1_SOURCE, 1, Define to include mbstate_t for mbrtowc)
|
||||||
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# SGI compilers allow the specification of the both the ABI and the
|
# SGI compilers allow the specification of the both the ABI and the
|
||||||
# ISA on the command line. Depending on the values of these switches,
|
# ISA on the command line. Depending on the values of these switches,
|
||||||
|
|
Loading…
Reference in New Issue