set_soenv.in (1cf7a622) set_soenv.in (10e8ff58)
1#!@PERL@ -w
2#
3# Program: set_soenv.in
4# Version: $Revision: 1.201 $
5# Date: $Date: 2008-09-05 14:14:29 $
6# Author: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems, Ireland.
7#
8#---------------------------------------------------------------------------

--- 2058 unchanged lines hidden (view full) ---

2067 ToFile( "WORK_STAMP", "_invalid_", "e" );
2068 # Don't test the dmake version if this file is sourced by bootstrap
2069 ToFile( "bash -c 'if test -n \"\$_ISBOOTSTRAP_\" || (dmake.exe -V | grep -e \"-cygwin\\|OS := cygwin\" > /dev/null ); then true; else echo -e \"\\n\\nERROR: Not a cygwin build dmake or dmake missing, please check!\\n\\n\" ; sleep 5; false ; fi' || exit 1", $empty, "y");
2070 # Restore valid environment if test was successful.
2071 ToFile( "WORK_STAMP", $WORK_STAMP, "e" );
2072 ToFile( "", $empty, "n");
2073}
2074
1#!@PERL@ -w
2#
3# Program: set_soenv.in
4# Version: $Revision: 1.201 $
5# Date: $Date: 2008-09-05 14:14:29 $
6# Author: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems, Ireland.
7#
8#---------------------------------------------------------------------------

--- 2058 unchanged lines hidden (view full) ---

2067 ToFile( "WORK_STAMP", "_invalid_", "e" );
2068 # Don't test the dmake version if this file is sourced by bootstrap
2069 ToFile( "bash -c 'if test -n \"\$_ISBOOTSTRAP_\" || (dmake.exe -V | grep -e \"-cygwin\\|OS := cygwin\" > /dev/null ); then true; else echo -e \"\\n\\nERROR: Not a cygwin build dmake or dmake missing, please check!\\n\\n\" ; sleep 5; false ; fi' || exit 1", $empty, "y");
2070 # Restore valid environment if test was successful.
2071 ToFile( "WORK_STAMP", $WORK_STAMP, "e" );
2072 ToFile( "", $empty, "n");
2073}
2074
2075# on Solaris, MacOSX and FreeBSD, set GNUCOPY and GNUPATCH
2075# on Solaris, MacOSX and FreeBSD, set GNUCOPY, GNUPATCH and GPERF
2076if ($platform =~ m/solaris|darwin|freebsd/)
2077{
2076if ($platform =~ m/solaris|darwin|freebsd/)
2077{
2078 ToFile( "GNUCOPY", "@GNUCP@", "e");
2078 ToFile( "GNUPATCH", "@GNUPATCH@", "e");
2079 ToFile( "GNUPATCH", "@GNUPATCH@", "e");
2080 ToFile( "GPERF", "@GPERF@", "e");
2079}
2081}
2080ToFile( "GNUCOPY", "@GNUCP@", "e");
2081# OS/2 define .pl as executable for 4os2
2082# use - as switch char for dmake (os2/switchar.c)
2083if ($platform =~ m/os2/)
2084{
2085 ToFile( ".pl", "perl", "e");
2086 ToFile( "SWITCHAR", "-", "e");
2087}
2088ToFile( "SAL_ENABLE_FILE_LOCKING", "1", "e");

--- 537 unchanged lines hidden ---
2082# OS/2 define .pl as executable for 4os2
2083# use - as switch char for dmake (os2/switchar.c)
2084if ($platform =~ m/os2/)
2085{
2086 ToFile( ".pl", "perl", "e");
2087 ToFile( "SWITCHAR", "-", "e");
2088}
2089ToFile( "SAL_ENABLE_FILE_LOCKING", "1", "e");

--- 537 unchanged lines hidden ---