This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
5.004 removed deprecated %OVERLOAD support silently
[perl5.git] / hints / README.hints
CommitLineData
a0d0e21e 1These files are used by Configure to set things which Configure either
b19cab98 2can't or doesn't guess properly. Most of these hint files have been
3tested with at least some version of perl5, but some are still left
4over from perl4. I would appreciate hearing about any problems
5or suggested changes.
a0d0e21e 6
b19cab98 7Hint file naming convention: Each hint file name should have only
8one '.'. (This is for portability to non-unix filesystems.) Names
9should also fit in <= 14 characters, for portability to older SVR3
10systems. File names are of the form $osname_$osvers.sh, with all '.'
11changed to '_', and all characters such as '/' that don't belong in
12Unix filenames omitted.
a0d0e21e 13
b19cab98 14For example, consider SunOS 4.1.3. Configure determines $osname=sunos
15(all names are converted to lower case) and $osvers=4.1.3. Configure
16will search for an appropriate hint file in the following order:
a0d0e21e 17
b19cab98 18 sunos_4_1_3.sh
19 sunos_4_1.sh
20 sunos_4.sh
21 sunos.sh
a0d0e21e 22
b19cab98 23If you need to create a hint file, please try to use as general a name
24as possible and include minor version differences inside case or test
25statements. Be sure also to include a default choice. (See
26aix.sh for one example.) That way, if you write a hint file for
27foonix 3.2, it might still work without any changes when foonix 3.3 is
28released.
29
30Please also comment carefully on why the different hints are needed.
31That way, a future version of Configure may be able to automatically
32detect what is needed. A glossary of config.sh variables is in the
33file Porting/Glossary.
34
35Have the appropriate amount of fun :-)
36
37 Andy Dougherty doughera@lafcol.lafayette.edu
38 Dept. of Physics
39 Lafayette College, Easton PA 18042