This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Populate metaconfig branch.
[metaconfig.git] / U / a_dvisory / multiarch.U
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:.
28 case "$osname" in
29 next|rhapsody) multiarch="$define" ;;
30 esac
31 case "$multiarch" in
32 ''|[nN]*) multiarch="$undef" ;;
33 esac
34