View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum ↗

iraf-v216 · Code · Issues (50) · Pull requests (81)

iraf.net pull request #117

Cleanup unix subdir

merge olebole merged 10 commits to iraf-community/iraf


olebole commented on 2017-11-27

This pull request removes outdated unused code from the unix subdir:

The code removal covers only code that is not compiled anymore, so it does not change the features of the binaries (since it does not change the binaries at all).

It also cleans up the f2c.h usage by using a common version everywhere (they differed anyway only on common details).

System specific flags like REDHAT, LINUX64, MACH64 etc. are now replaced by standard pre-defined flags like __linux__, __LP64__, __APPLE__. Also, #ifdefs for unused systems is removed. This simplifies the code itself and also required build flags, making future maintenance and porting easier.

Needless to say (or maybe required, based on the discussion so far): This is tested, on Mac and Linux, from old systems (Debian back to 2009; SLC 6, Fedora 23) up to the current versions. So it is sure that the #defines used are really there and work as expected, and that the external libs have the required functionality.

This fixes #12


Commits


Last updated on 2017-12-15