File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 70847084
70857085
70867086
7087- if [ $HAVE_LONG_LONG_INT_64 -eq 1 ] ; then
7087+ if [ x " $HAVE_LONG_LONG_INT_64 " = xyes ] ; then
70887088 if [ x$SNPRINTF = x ] ; then
70897089 echo $ac_n " checking whether snprintf handles 'long long int' as %lld" " ... $ac_c " 1>&6
70907090echo " configure:7091: checking whether snprintf handles 'long long int' as %lld" >&5
@@ -7328,7 +7328,7 @@ cat >> confdefs.h <<EOF
73287328EOF
73297329
73307330
7331- if [ $HAVE_LONG_LONG_INT_64 -eq 1 ] ; then
7331+ if [ x " $HAVE_LONG_LONG_INT_64 " = xyes ] ; then
73327332 echo $ac_n " checking alignment of long long int" " ... $ac_c " 1>&6
73337333echo " configure:7334: checking alignment of long long int" >&5
73347334if eval " test \" ` echo ' $' ' {' pgac_cv_alignof_long_long_int' +set}' ` \" = set" ; then
@@ -7417,7 +7417,7 @@ if test $pgac_cv_alignof_double != 'sizeof(double)' ; then
74177417 if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then
74187418 MAX_ALIGNOF=$pgac_cv_alignof_double
74197419 fi
7420- if test $HAVE_LONG_LONG_INT_64 -eq 1 && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then
7420+ if test x " $HAVE_LONG_LONG_INT_64 " = xyes && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then
74217421 MAX_ALIGNOF=" $pgac_cv_alignof_long_long_int "
74227422 fi
74237423else
Original file line number Diff line number Diff line change @@ -911,7 +911,7 @@ dnl We cope with snprintfs that use either %lld or %qd as the format.
911911dnl If neither works, fall back to our own snprintf emulation (which we
912912dnl know uses %lld).
913913
914- if [[ $HAVE_LONG_LONG_INT_64 -eq 1 ]] ; then
914+ if [[ x" $HAVE_LONG_LONG_INT_64" = xyes ]] ; then
915915 if [[ x$SNPRINTF = x ]] ; then
916916 AC_MSG_CHECKING(whether snprintf handles 'long long int' as %lld)
917917 AC_TRY_RUN([#include <stdio.h>
@@ -1002,7 +1002,7 @@ dnl Determine memory alignment requirements for the basic C datatypes.
10021002PGAC_CHECK_ALIGNOF(short)
10031003PGAC_CHECK_ALIGNOF(int)
10041004PGAC_CHECK_ALIGNOF(long)
1005- if [[ $HAVE_LONG_LONG_INT_64 -eq 1 ]] ; then
1005+ if [[ x" $HAVE_LONG_LONG_INT_64" = xyes ]] ; then
10061006 PGAC_CHECK_ALIGNOF(long long int)
10071007fi
10081008PGAC_CHECK_ALIGNOF(double)
@@ -1016,7 +1016,7 @@ if test $pgac_cv_alignof_double != 'sizeof(double)' ; then
10161016 if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then
10171017 MAX_ALIGNOF=$pgac_cv_alignof_double
10181018 fi
1019- if test $HAVE_LONG_LONG_INT_64 -eq 1 && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then
1019+ if test x" $HAVE_LONG_LONG_INT_64" = xyes && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then
10201020 MAX_ALIGNOF="$pgac_cv_alignof_long_long_int"
10211021 fi
10221022else
You can’t perform that action at this time.
0 commit comments