incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r1234077 - /incubator/ooo/trunk/main/set_soenv.in
Date Fri, 20 Jan 2012 19:06:48 GMT
Author: pfg
Date: Fri Jan 20 19:06:48 2012
New Revision: 1234077

URL: http://svn.apache.org/viewvc?rev=1234077&view=rev
Log:
Fix configure warning. Patch by andre.

Modified:
    incubator/ooo/trunk/main/set_soenv.in

Modified: incubator/ooo/trunk/main/set_soenv.in
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/set_soenv.in?rev=1234077&r1=1234076&r2=1234077&view=diff
==============================================================================
--- incubator/ooo/trunk/main/set_soenv.in (original)
+++ incubator/ooo/trunk/main/set_soenv.in Fri Jan 20 19:06:48 2012
@@ -2003,7 +2003,7 @@ ToFile( "XAU_LIBS",          "@XAU_LIBS@
 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" );



Mime
View raw message