--- configure.orig 2009-01-02 11:54:10.000000000 +0300 +++ configure 2009-01-09 05:42:24.000000000 +0300 @@ -6,13 +6,8 @@ PACKAGE=nspluginwrapper # set temporary file name -if test ! -z "$TMPDIR" ; then - TMPDIR1="${TMPDIR}" -elif test ! -z "$TEMPDIR" ; then - TMPDIR1="${TEMPDIR}" -else - TMPDIR1="/tmp" -fi +mkdir -p tmp +TMPDIR1="./tmp" TMPC="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.c" TMPO="${TMPDIR1}/npw-conf-${RANDOM}-$$-${RANDOM}.o" @@ -728,7 +723,7 @@ elif test "$host_cpu" = "x86_64" ; then echo "ARCH=x86_64" >> $config_mak echo "#define HOST_X86_64 1" >> $config_h - echo "#define HOST_ARCH \"x86_64\"" >> $config_h + echo "#define HOST_ARCH \"amd64\"" >> $config_h elif test "$host_cpu" = "ppc" ; then echo "ARCH=ppc" >> $config_mak echo "#define HOST_PPC 1" >> $config_h