File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3447,12 +3447,18 @@ fi
34473447
34483448# On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
34493449case $ac_sys_system in
3450- hp* |HP* )
3450+ hp* |HP* )
3451+ define_stdc_a1=yes;;
3452+ * )
3453+ define_stdc_a1=no;;
3454+ esac
3455+
3456+ if test $define_stdc_a1 = yes
3457+ then
34513458
34523459$as_echo " #define _INCLUDE__STDC_A1_SOURCE 1" >> confdefs.h
34533460
3454- ;;
3455- esac
3461+ fi
34563462
34573463#
34583464# SGI compilers allow the specification of the both the ABI and the
Original file line number Diff line number Diff line change 524524
525525# On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
526526case $ac_sys_system in
527- hp*|HP*)
528- AC_DEFINE ( _INCLUDE__STDC_A1_SOURCE , 1 , Define to include mbstate_t for mbrtowc )
529- ;;
527+ hp*|HP*)
528+ define_stdc_a1=yes;;
529+ *)
530+ define_stdc_a1=no;;
530531esac
531532
533+ if test $define_stdc_a1 = yes
534+ then
535+ AC_DEFINE ( _INCLUDE__STDC_A1_SOURCE , 1 , Define to include mbstate_t for mbrtowc )
536+ fi
537+
532538#
533539# SGI compilers allow the specification of the both the ABI and the
534540# ISA on the command line. Depending on the values of these switches,
You can’t perform that action at this time.
0 commit comments