set_soenv.in (c6af0237) | set_soenv.in (78ecfec3) |
---|---|
1#!@PERL@ -w 2# 3############################################################### 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 43 unchanged lines hidden (view full) --- 52#-------------------------------------------------------- 53# IIa. Declaring variables for the system commands, etc. 54#-------------------------------------------------------- 55# 56my ( $outfile, $outfile_sh, $outfile_bat, $bootfile, $newline, $comment, 57 $compiler, $unsetenv, $setenv, $unset, $set, $ds, $ps, 58 $wps, $cur_dir, $par_dir, $I, $L, $D, $buildenv, $answer, $tmp, $MINGW, 59 $USE_MINGW, $platform, | 1#!@PERL@ -w 2# 3############################################################### 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 43 unchanged lines hidden (view full) --- 52#-------------------------------------------------------- 53# IIa. Declaring variables for the system commands, etc. 54#-------------------------------------------------------- 55# 56my ( $outfile, $outfile_sh, $outfile_bat, $bootfile, $newline, $comment, 57 $compiler, $unsetenv, $setenv, $unset, $set, $ds, $ps, 58 $wps, $cur_dir, $par_dir, $I, $L, $D, $buildenv, $answer, $tmp, $MINGW, 59 $USE_MINGW, $platform, |
60 $cygwinver, $empty, $no_ant, $no_stl, $no_gcc_include, 61 $no_gxx_include, $warnfile, $Warning, $result, $unsetvars, $unsetvarssh, $unsetvarsbat, $exportvars, $win_format_var, $perl_os, @mingw_lib_include_paths, $mingw_lib_include_path); | 60 $cygwinver, $empty, $no_ant, $no_stl, 61 $warnfile, $Warning, $result, $unsetvars, $unsetvarssh, $unsetvarsbat, $exportvars, $win_format_var, $perl_os, @mingw_lib_include_paths, $mingw_lib_include_path); |
62# 63#------------------------------------------------- 64# IIb. Declaring environment values (constants). 65#------------------------------------------------- 66# 67# Platform independent constant values. 68my @DICTIONARIES = ("DADK", "DEDE", "ENGB", "ENUS", "HUHU", "ITIT", "RURU", "THTH", "SWTZ" ); 69my ( $CALL_CDECL, $COMMON_OUTDIR, $BMP_WRITES_FLAG, --- 1397 unchanged lines hidden (view full) --- 1467 $SOLARINC .= $I.PathFormat("@MINGW_BACKWARD_INCLUDE_PATH@"); 1468 foreach $mingw_lib_include_path (@mingw_lib_include_paths) 1469 { chomp $mingw_lib_include_path; 1470 if ( $mingw_lib_include_path ne $COMPATH.$ds."include" && $mingw_lib_include_path ne "" ) 1471 { 1472 $SOLARINC .= $I.PathFormat($mingw_lib_include_path); 1473 } 1474 } | 62# 63#------------------------------------------------- 64# IIb. Declaring environment values (constants). 65#------------------------------------------------- 66# 67# Platform independent constant values. 68my @DICTIONARIES = ("DADK", "DEDE", "ENGB", "ENUS", "HUHU", "ITIT", "RURU", "THTH", "SWTZ" ); 69my ( $CALL_CDECL, $COMMON_OUTDIR, $BMP_WRITES_FLAG, --- 1397 unchanged lines hidden (view full) --- 1467 $SOLARINC .= $I.PathFormat("@MINGW_BACKWARD_INCLUDE_PATH@"); 1468 foreach $mingw_lib_include_path (@mingw_lib_include_paths) 1469 { chomp $mingw_lib_include_path; 1470 if ( $mingw_lib_include_path ne $COMPATH.$ds."include" && $mingw_lib_include_path ne "" ) 1471 { 1472 $SOLARINC .= $I.PathFormat($mingw_lib_include_path); 1473 } 1474 } |
1475 $SOLARINC .= $I.PathFormat("@GXX_INCLUDE_PATH@").$I.PathFormat("@GXX_INCLUDE_PATH@".$ds."mingw32"). 1476 $I.'$PSDK_HOME'.$INCLUDE; | 1475 $SOLARINC .= $I.'$PSDK_HOME'.$INCLUDE; |
1477 } 1478 if ( '@ENABLE_DIRECTX@' ne "" ) { 1479 $SOLARINC .= $I.PathFormat('@DIRECTXSDK_HOME@').$INCLUDE; 1480 } 1481} 1482elsif ($platform =~ m/darwin/) 1483{ 1484 $FRAMEWORKSHOME = "@MACOSX_SDK_PATH@/System/Library/Frameworks"; --- 510 unchanged lines hidden (view full) --- 1995ToFile( "MYTHES_LIBS", "@MYTHES_LIBS@", "e" ); 1996ToFile( "SYSTEM_LIBTEXTCAT", "@SYSTEM_LIBTEXTCAT@","e" ); 1997ToFile( "SYSTEM_LIBTEXTCAT_DATA","@SYSTEM_LIBTEXTCAT_DATA@","e" ); 1998ToFile( "PAM", "@PAM@", "e" ); 1999ToFile( "NEW_SHADOW_API", "@NEW_SHADOW_API@", "e" ); 2000ToFile( "PAM_LINK", "@PAM_LINK@", "e" ); 2001ToFile( "CRYPT_LINK", "@CRYPT_LINK@", "e" ); 2002ToFile( "XAU_LIBS", "@XAU_LIBS@", "e" ); | 1476 } 1477 if ( '@ENABLE_DIRECTX@' ne "" ) { 1478 $SOLARINC .= $I.PathFormat('@DIRECTXSDK_HOME@').$INCLUDE; 1479 } 1480} 1481elsif ($platform =~ m/darwin/) 1482{ 1483 $FRAMEWORKSHOME = "@MACOSX_SDK_PATH@/System/Library/Frameworks"; --- 510 unchanged lines hidden (view full) --- 1994ToFile( "MYTHES_LIBS", "@MYTHES_LIBS@", "e" ); 1995ToFile( "SYSTEM_LIBTEXTCAT", "@SYSTEM_LIBTEXTCAT@","e" ); 1996ToFile( "SYSTEM_LIBTEXTCAT_DATA","@SYSTEM_LIBTEXTCAT_DATA@","e" ); 1997ToFile( "PAM", "@PAM@", "e" ); 1998ToFile( "NEW_SHADOW_API", "@NEW_SHADOW_API@", "e" ); 1999ToFile( "PAM_LINK", "@PAM_LINK@", "e" ); 2000ToFile( "CRYPT_LINK", "@CRYPT_LINK@", "e" ); 2001ToFile( "XAU_LIBS", "@XAU_LIBS@", "e" ); |
2003ToFile( "GXX_INCLUDE_PATH", PathFormat("@GXX_INCLUDE_PATH@"), "e" ); | |
2004ToFile( "COMMON_BUILD_TOOLS",$COMMON_BUILD_TOOLS, "e" ); 2005if ($platform !~ m/cygwin|os2/) { 2006 if ( !defined $ENV{"TMPDIR"} || $ENV{"TMPDIR"} eq "" ) { 2007 ToFile( "TMPDIR", "/tmp", "e" ); 2008 } else { 2009 ToFile( "TMPDIR", "$ENV{'TMPDIR'}", "e" ); 2010 } 2011} --- 676 unchanged lines hidden --- | 2002ToFile( "COMMON_BUILD_TOOLS",$COMMON_BUILD_TOOLS, "e" ); 2003if ($platform !~ m/cygwin|os2/) { 2004 if ( !defined $ENV{"TMPDIR"} || $ENV{"TMPDIR"} eq "" ) { 2005 ToFile( "TMPDIR", "/tmp", "e" ); 2006 } else { 2007 ToFile( "TMPDIR", "$ENV{'TMPDIR'}", "e" ); 2008 } 2009} --- 676 unchanged lines hidden --- |