summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorPedro Giffuni <pfg@apache.org>2012-01-20 18:06:48 +0000
committerPedro Giffuni <pfg@apache.org>2012-01-20 18:06:48 +0000
commitff4ce1bfdb6d94de12f05f3ddc313a0b497b8b4c (patch)
tree3901c7e9068fb3dc49e764e9dcca52f814ef4ebe /set_soenv.in
parentd36f19faf1256fbf25c4f36a7ec765f68f796a52 (diff)
Fix configure warning. Patch by andre.
Diffstat (limited to 'set_soenv.in')
-rw-r--r--set_soenv.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/set_soenv.in b/set_soenv.in
index 0011ccee316f..d4d9ebf93feb 100644
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -2003,7 +2003,7 @@ ToFile( "XAU_LIBS", "@XAU_LIBS@", "e" );
ToFile( "GXX_INCLUDE_PATH", PathFormat("@GXX_INCLUDE_PATH@"), "e" );
ToFile( "COMMON_BUILD_TOOLS",$COMMON_BUILD_TOOLS, "e" );
if ($platform !~ m/cygwin|os2/) {
- if ( $ENV{"TMPDIR"} eq "" ) {
+ if ( !defined $ENV{"TMPDIR"} || $ENV{"TMPDIR"} eq "" ) {
ToFile( "TMPDIR", "/tmp", "e" );
} else {
ToFile( "TMPDIR", "$ENV{'TMPDIR'}", "e" );