--- configure.ac.orig 2018-11-10 09:05:43.000000000 -0600
+++ configure.ac 2018-11-12 11:12:44.000000000 -0600
AC_MSG_CHECKING(for signed 64-bit type)
-if test $ac_cv_sizeof_signed_long -eq 8
+if test $ac_cv_sizeof_signed_long_long -eq 8
+ INT64_T='signed long long'
-elif test $ac_cv_sizeof_signed_long_long -eq 8
+elif test $ac_cv_sizeof_signed_long -eq 8
- INT64_T='signed long long'
# MinGW32 understands 'long long', but uses printf from WIN32 CRT
AC_MSG_CHECKING(for unsigned 64-bit type)
-if test $ac_cv_sizeof_unsigned_long -eq 8
+if test $ac_cv_sizeof_unsigned_long_long -eq 8
- UINT64_T='unsigned long'
+ UINT64_T='unsigned long long'
-elif test $ac_cv_sizeof_unsigned_long_long -eq 8
+elif test $ac_cv_sizeof_unsigned_long -eq 8
- UINT64_T='unsigned long long'
+ UINT64_T='unsigned long'
# MinGW32 understands 'unsigned long long', but uses printf from WIN32 CRT
dnl AX_CHECK_GLUT sets GLUT_CFLAGS & GLUT_LIBS
-if test "$no_x" != "yes" -a "$no_gl" != "yes" \
+if test "$no_gl" != "yes" \
-a "$no_glu" != "yes" -a "$no_glut" != "yes" ; then