Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3e4e00e

Browse files
committed
Small bug fix
1 parentc500cdd commit3e4e00e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7084,7 +7084,7 @@ fi
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
70907090
echo"configure:7091: checking whether snprintf handles 'long long int' as %lld">&5
@@ -7328,7 +7328,7 @@ cat >> confdefs.h <<EOF
73287328
EOF
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
73337333
echo"configure:7334: checking alignment of long long int">&5
73347334
ifeval"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
iftest$MAX_ALIGNOF -lt$pgac_cv_alignof_double;then
74187418
MAX_ALIGNOF=$pgac_cv_alignof_double
74197419
fi
7420-
iftest$HAVE_LONG_LONG_INT_64 -eq 1&&test$MAX_ALIGNOF -lt$pgac_cv_alignof_long_long_int;then
7420+
iftestx"$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
74237423
else

‎configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ dnl We cope with snprintfs that use either %lld or %qd as the format.
911911
dnl If neither works, fall back to our own snprintf emulation (which we
912912
dnl 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.
10021002
PGAC_CHECK_ALIGNOF(short)
10031003
PGAC_CHECK_ALIGNOF(int)
10041004
PGAC_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)
10071007
fi
10081008
PGAC_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 testx"$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
10221022
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp