This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Backport 7eb35c035978bf0530591a57244b6922682a3344
[metaconfig.git] / U / a_dvisory / multiarch.U
CommitLineData
959f3c4c
JH
1?RCS: $Id$
2?RCS:
3?RCS: Copyright (c) 1999, Jarkko Hietaniemi
4?RCS:
5?RCS: This file is included with or a derivative work of a file included
6?RCS: with the metaconfig program of Raphael Manfredi's "dist" distribution.
7?RCS: In accordance with clause 7 of dist's modified Artistic License:
8?RCS:
9?RCS: You may distribute under the terms of either the GNU General Public
10?RCS: License or the Artistic License, as specified in the README file.
11?RCS:
12?MAKE:multiarch: osname
13?MAKE: -pick add $@ %<
14?S:multiarch:
15?S: This variable conditionally defines the MULTIARCH symbol
16?S: which signifies the presence of multiplatform files.
17?S: This is normally set by hints files.
18?S:.
19?C:MULTIARCH:
20?C: This symbol, if defined, signifies that the build
21?C: process will produce some binary files that are going to be
22?C: used in a cross-platform environment. This is the case for
23?C: example with the NeXT "fat" binaries that contain executables
24?C: for several CPUs.
25?C:.
26?H:#$multiarch MULTIARCH /**/
27?H:.
d7a2632b 28: Check if is a multiplatform env
959f3c4c 29case "$osname" in
5622286d 30next|darwin) multiarch="$define" ;;
959f3c4c
JH
31esac
32case "$multiarch" in
33''|[nN]*) multiarch="$undef" ;;
34esac
35