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 7084
7084
7085
7085
7086
7086
7087
- if [ $HAVE_LONG_LONG_INT_64 -eq 1 ] ; then
7087
+ if [ x " $HAVE_LONG_LONG_INT_64 " = xyes ] ; then
7088
7088
if [ x$SNPRINTF = x ] ; then
7089
7089
echo $ac_n " checking whether snprintf handles 'long long int' as %lld" " ... $ac_c " 1>&6
7090
7090
echo " configure:7091: checking whether snprintf handles 'long long int' as %lld" >&5
@@ -7328,7 +7328,7 @@ cat >> confdefs.h <<EOF
7328
7328
EOF
7329
7329
7330
7330
7331
- if [ $HAVE_LONG_LONG_INT_64 -eq 1 ] ; then
7331
+ if [ x " $HAVE_LONG_LONG_INT_64 " = xyes ] ; then
7332
7332
echo $ac_n " checking alignment of long long int" " ... $ac_c " 1>&6
7333
7333
echo " configure:7334: checking alignment of long long int" >&5
7334
7334
if 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
7417
7417
if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then
7418
7418
MAX_ALIGNOF=$pgac_cv_alignof_double
7419
7419
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
7421
7421
MAX_ALIGNOF=" $pgac_cv_alignof_long_long_int "
7422
7422
fi
7423
7423
else
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.
911
911
dnl If neither works, fall back to our own snprintf emulation (which we
912
912
dnl know uses %lld).
913
913
914
- if [[ $HAVE_LONG_LONG_INT_64 -eq 1 ]] ; then
914
+ if [[ x" $HAVE_LONG_LONG_INT_64" = xyes ]] ; then
915
915
if [[ x$SNPRINTF = x ]] ; then
916
916
AC_MSG_CHECKING(whether snprintf handles 'long long int' as %lld)
917
917
AC_TRY_RUN([#include <stdio.h>
@@ -1002,7 +1002,7 @@ dnl Determine memory alignment requirements for the basic C datatypes.
1002
1002
PGAC_CHECK_ALIGNOF(short)
1003
1003
PGAC_CHECK_ALIGNOF(int)
1004
1004
PGAC_CHECK_ALIGNOF(long)
1005
- if [[ $HAVE_LONG_LONG_INT_64 -eq 1 ]] ; then
1005
+ if [[ x" $HAVE_LONG_LONG_INT_64" = xyes ]] ; then
1006
1006
PGAC_CHECK_ALIGNOF(long long int)
1007
1007
fi
1008
1008
PGAC_CHECK_ALIGNOF(double)
@@ -1016,7 +1016,7 @@ if test $pgac_cv_alignof_double != 'sizeof(double)' ; then
1016
1016
if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then
1017
1017
MAX_ALIGNOF=$pgac_cv_alignof_double
1018
1018
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
1020
1020
MAX_ALIGNOF="$pgac_cv_alignof_long_long_int"
1021
1021
fi
1022
1022
else
You can’t perform that action at this time.
0 commit comments