Ticket #51970: patch-configure.ac.diff

File patch-configure.ac.diff, 1.5 KB (added by someuser12, 8 years ago)

Suggested replacement for patch-configure.ac.diff

  • configure.ac

    old new  
    288288AC_MSG_CHECKING(for signed 64-bit type)
    289289INT64_T='none'
    290290INT64_FORMAT='none'
    291 if test $ac_cv_sizeof_signed_long -eq 8
    292 then
    293   INT64_T='signed long'
    294   INT64_FORMAT='"%ld"'
    295 elif test $ac_cv_sizeof_signed_long_long -eq 8
     291if test $ac_cv_sizeof_signed_long_long -eq 8
    296292then
    297293  INT64_T='signed long long'
    298294  case "${host_os}" in
     
    304300      INT64_FORMAT='"%lld"'
    305301      ;;
    306302  esac
     303elif test $ac_cv_sizeof_signed_long -eq 8
     304then
     305  INT64_T='signed long'
     306  INT64_FORMAT='"%ld"'
    307307fi
    308308
    309309
     
    314314AC_MSG_CHECKING(for unsigned 64-bit type)
    315315UINT64_T='none'
    316316UINT64_FORMAT='none'
    317 if test $ac_cv_sizeof_unsigned_long -eq 8
    318 then
    319   UINT64_T='unsigned long'
    320   UINT64_FORMAT='"%lu"'
    321 elif test $ac_cv_sizeof_unsigned_long_long -eq 8
     317if test $ac_cv_sizeof_unsigned_long_long -eq 8
    322318then
    323319  UINT64_T='unsigned long long'
    324320  case "${host_os}" in
     
    330326      UINT64_FORMAT='"%llu"'
    331327      ;;
    332328  esac
     329elif test $ac_cv_sizeof_unsigned_long -eq 8
     330then
     331  UINT64_T='unsigned long'
     332  UINT64_FORMAT='"%lu"'
    333333fi
    334334AC_MSG_RESULT($UINT64_T)
    335335AC_DEFINE_UNQUOTED(TIFF_UINT64_T,$UINT64_T,[Unsigned 64-bit type])
     
    893893dnl AX_CHECK_GLUT sets GLUT_CFLAGS & GLUT_LIBS
    894894AX_CHECK_GLUT
    895895
    896 if test "$no_x" != "yes" -a "$no_gl" != "yes" \
     896if test "$no_gl" != "yes" \
    897897        -a "$no_glu" != "yes" -a "$no_glut" != "yes" ; then
    898898  HAVE_OPENGL=yes
    899899fi