We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988b890 commit 45f200cCopy full SHA for 45f200c
configure.ac
@@ -442,11 +442,17 @@ elif test -d "c:/"; then
442
else
443
tmpdir="/tmp"
444
fi
445
-if test -d $tmpdir ; then
446
- AC_MSG_RESULT($tmpdir)
447
- AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir")
+
+if test "$cross_compiling" = yes ; then
+ AC_MSG_RESULT($tmpdir)
448
+ AC_DEFINE_UNQUOTED(TMPDIR, "$tmpdir")
449
- AC_MSG_ERROR($tmpdir does not exist)
450
+ if test -d $tmpdir ; then
451
452
453
+ else
454
+ AC_MSG_ERROR($tmpdir does not exist)
455
+ fi
456
457
458
# Test for case-insensitive filenames
0 commit comments