--- hfsutils-3.2.6/configure Tue Nov 3 00:33:47 1998 +++ hfsutils-3.2.6.new/configure Thu Aug 22 21:53:02 2002 @@ -591,6 +591,16 @@ { echo "configure: error: --with-tk requires --with-tcl" 1>&2; exit 1; } fi +echo -n "checking the machine type ..." +MACHINE_TYPE=`uname -m` +MACHINE_CLASS=$MACHINE_TYPE +case "$MACHINE_TYPE" in + i385|i486|i586|i686) + MACHINE_CLASS="ix86" + ;; +esac + +echo "$MACHINE_TYPE/$MACHINE_CLASS" echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo "configure:597: checking whether ${MAKE-make} sets \${MAKE}" >&5 @@ -1716,6 +1726,10 @@ DEFS=-DHAVE_CONFIG_H +if test "$MACHINE_CLASS" = "ix86"; then + DEFS="$DEFS -D_FILE_OFFSET_BITS=64" +fi + # Without the "./", some shells look in PATH for config.status. : ${CONFIG_STATUS=./config.status}