Commit 3e4e00eb authored by Peter Eisentraut's avatar Peter Eisentraut

Small bug fix

parent c500cdd2
...@@ -7084,7 +7084,7 @@ fi ...@@ -7084,7 +7084,7 @@ fi
if [ $HAVE_LONG_LONG_INT_64 -eq 1 ] ; then if [ x"$HAVE_LONG_LONG_INT_64" = xyes ] ; then
if [ x$SNPRINTF = x ] ; then if [ x$SNPRINTF = x ] ; then
echo $ac_n "checking whether snprintf handles 'long long int' as %lld""... $ac_c" 1>&6 echo $ac_n "checking whether snprintf handles 'long long int' as %lld""... $ac_c" 1>&6
echo "configure:7091: checking whether snprintf handles 'long long int' as %lld" >&5 echo "configure:7091: checking whether snprintf handles 'long long int' as %lld" >&5
...@@ -7328,7 +7328,7 @@ cat >> confdefs.h <<EOF ...@@ -7328,7 +7328,7 @@ cat >> confdefs.h <<EOF
EOF EOF
if [ $HAVE_LONG_LONG_INT_64 -eq 1 ] ; then if [ x"$HAVE_LONG_LONG_INT_64" = xyes ] ; then
echo $ac_n "checking alignment of long long int""... $ac_c" 1>&6 echo $ac_n "checking alignment of long long int""... $ac_c" 1>&6
echo "configure:7334: checking alignment of long long int" >&5 echo "configure:7334: checking alignment of long long int" >&5
if eval "test \"`echo '$''{'pgac_cv_alignof_long_long_int'+set}'`\" = set"; then 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,7 +7417,7 @@ if test $pgac_cv_alignof_double != 'sizeof(double)' ; then
if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then
MAX_ALIGNOF=$pgac_cv_alignof_double MAX_ALIGNOF=$pgac_cv_alignof_double
fi fi
if test $HAVE_LONG_LONG_INT_64 -eq 1 && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then if test x"$HAVE_LONG_LONG_INT_64" = xyes && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then
MAX_ALIGNOF="$pgac_cv_alignof_long_long_int" MAX_ALIGNOF="$pgac_cv_alignof_long_long_int"
fi fi
else else
......
...@@ -911,7 +911,7 @@ dnl We cope with snprintfs that use either %lld or %qd as the format. ...@@ -911,7 +911,7 @@ dnl We cope with snprintfs that use either %lld or %qd as the format.
dnl If neither works, fall back to our own snprintf emulation (which we dnl If neither works, fall back to our own snprintf emulation (which we
dnl know uses %lld). dnl know uses %lld).
if [[ $HAVE_LONG_LONG_INT_64 -eq 1 ]] ; then if [[ x"$HAVE_LONG_LONG_INT_64" = xyes ]] ; then
if [[ x$SNPRINTF = x ]] ; then if [[ x$SNPRINTF = x ]] ; then
AC_MSG_CHECKING(whether snprintf handles 'long long int' as %lld) AC_MSG_CHECKING(whether snprintf handles 'long long int' as %lld)
AC_TRY_RUN([#include <stdio.h> AC_TRY_RUN([#include <stdio.h>
...@@ -1002,7 +1002,7 @@ dnl Determine memory alignment requirements for the basic C datatypes. ...@@ -1002,7 +1002,7 @@ dnl Determine memory alignment requirements for the basic C datatypes.
PGAC_CHECK_ALIGNOF(short) PGAC_CHECK_ALIGNOF(short)
PGAC_CHECK_ALIGNOF(int) PGAC_CHECK_ALIGNOF(int)
PGAC_CHECK_ALIGNOF(long) PGAC_CHECK_ALIGNOF(long)
if [[ $HAVE_LONG_LONG_INT_64 -eq 1 ]] ; then if [[ x"$HAVE_LONG_LONG_INT_64" = xyes ]] ; then
PGAC_CHECK_ALIGNOF(long long int) PGAC_CHECK_ALIGNOF(long long int)
fi fi
PGAC_CHECK_ALIGNOF(double) PGAC_CHECK_ALIGNOF(double)
...@@ -1016,7 +1016,7 @@ if test $pgac_cv_alignof_double != 'sizeof(double)' ; then ...@@ -1016,7 +1016,7 @@ if test $pgac_cv_alignof_double != 'sizeof(double)' ; then
if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then if test $MAX_ALIGNOF -lt $pgac_cv_alignof_double ; then
MAX_ALIGNOF=$pgac_cv_alignof_double MAX_ALIGNOF=$pgac_cv_alignof_double
fi fi
if test $HAVE_LONG_LONG_INT_64 -eq 1 && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then if test x"$HAVE_LONG_LONG_INT_64" = xyes && test $MAX_ALIGNOF -lt $pgac_cv_alignof_long_long_int ; then
MAX_ALIGNOF="$pgac_cv_alignof_long_long_int" MAX_ALIGNOF="$pgac_cv_alignof_long_long_int"
fi fi
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment