# Copyright (c) 1997-2004, Perforce Software, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL PERFORCE SOFTWARE, INC. BE LIABLE FOR ANY # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. $self->{CC} = "c++"; $self->{LD} = "c++"; $self->{DEFINE} .= " -DOS_LINUX -Dconst_char='char'"; # Some Perl builds - notably ActiveState, but also some Red Hat ones use very # restrictive preprocessor settings which are no good to us. So, just to be # on the safe side, we'll also add in what we need here. $self->{DEFINE} .= " -D_BSD_SOURCE -D_SVID_SOURCE";
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 4158 | Tony Smith |
Copyright notice updates. No functional change. |
||
#2 | 1692 | Tony Smith |
Explicitly add extra preprocessor definitions for linux builds. It seems that some builds, most notably ActiveState ones don't use _BSD_SOURCE or _SVID_SOURCE so these settings are not propagated to additional modules. Thanks to Jeremy Russell. |
||
#1 | 1011 | Tony Smith |
Moved Perl API stuff one level down to make way for upcoming Ruby interface. |
||
//guest/tony_smith/perforce/API/P4-Client/hints/linux.pl | |||||
#2 | 639 | Tony Smith | hints/linux.pl should use -Dconst_char=char not 'const char' | ||
#1 | 549 | Tony Smith |
Renamed the working directory to P4-Client as I've discovered that MakeMaker is quite happy with that and doesn't require a version number in the directory name. |
||
//guest/tony_smith/perforce/API/P4-Client-0.51/hints/linux.pl | |||||
#1 | 527 | Tony Smith | Release P4::Client version 0.51 with Win32 support | ||
//guest/tony_smith/perforce/API/P4-Client-0.50/hints/linux.pl | |||||
#1 | 509 | Tony Smith |
Renamed P4::ClientApi to P4::Client as it's more friendly and that's what it's called on CPAN. Subsequent changes include the actual renaming inside the code, this just creates the branch |
||
//guest/tony_smith/perforce/API/P4-ClientApi-0.05/hints/linux.pl | |||||
#1 | 501 | Tony Smith |
First publicly released version of the Perl interface to the Perforce API. |