This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
add probe for __attribute__(always_inline)
[metaconfig.git] / dist / U / newslib.U
1 ?RCS: $Id: newslib.U 1 2006-08-24 12:32:52Z rmanfredi $
2 ?RCS:
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
4 ?RCS:
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
6 ?RCS: as specified in the README file that comes with the distribution.
7 ?RCS: You may reuse parts of this distribution only within the terms of
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
10 ?RCS:
11 ?RCS: $Log: newslib.U,v $
12 ?RCS: Revision 3.0  1993/08/18  12:09:23  ram
13 ?RCS: Baseline for dist 3.0 netwide release.
14 ?RCS:
15 ?MAKE:newslib newslibexp: test inews Oldconfig Getfile
16 ?MAKE:  -pick add $@ %<
17 ?S:newslib:
18 ?S:     This variable contains the eventual value of the NEWSLIB symbol,
19 ?S:     which holds the name of the directory serving as the news library.
20 ?S:     It may have a ~ on the front.  See newslibexp for expanded version.
21 ?S:.
22 ?S:newslibexp:
23 ?S:     This variable contains the ~ expanded name of the news library
24 ?S:     directory.  See newslib.
25 ?S:.
26 ?C:NEWSLIB:
27 ?C:     This symbol contains the name of the directory serving as the news
28 ?C:     library.  The program must be prepared to do ~ expansion on it.
29 ?C:.
30 ?C:NEWSLIB_EXP:
31 ?C:     This symbol is the ~ expanded version of NEWSLIB, for programs that
32 ?C:     do not wish to deal with it at run-time.
33 ?C:.
34 ?H:#define NEWSLIB "$newslib"           /**/
35 ?H:#define NEWSLIB_EXP "$newslibexp"    /**/
36 ?H:.
37 ?LINT:change inews
38 : figure out news library
39 case "$newslib" in
40 '')
41         dflt=/usr/lib/news
42         ;;
43 *)  dflt=$newslib ;;
44 esac
45 echo " "
46 fn=d~
47 rp='Where is your news library?'
48 . ./getfile
49 newslib="$ans"
50 newslibexp="$ansexp"
51 if $test -f $newslibexp/inews; then
52         echo "Aha!  Inews is really in $newslibexp!  Maybe this is 2.10.2..." >&4
53         case "$inews" in
54         inews) 
55                 : null
56                 ;;
57         *) echo "(Make sure $inews isn't an old version.)";;
58         esac
59         inews=$newslibexp/inews
60 fi
61