UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Submit Patch #4816 Implement C compiler check in ./configure
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "Not determined".
Issue basics
  • Type of issue
    Submit Patch
  • Category
    General
  • Targetted for
    Not determined
  • Status
    Closed
  • Priority
    1. Very low
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/patches/689 Item 689] imported from sourceforge.net tracker on 2013-01-28 20:46:59

Implement C compiler check in ./configure

Unless CC was given on the command line, ./configure used the default "cc", regardless of whether it existed. This is a problem on MinGW Win32, which only has "gcc". A Makefile.local was generated with several wrong entries, including the wrong compiler and available build targets.

This is probably not the most elegant bash scripting ever, but it works.
Errors out if CC given on command line, but doesn't exist.
If CC not given, looks for "cc" then "gcc", and errors out if neither is found.

Not included: similar check code for CXX.
===== Comments Ported from Sourceforge =====

====== tlh2000 (2012-10-15 11:01:52.828000) ======

will be in master soon
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif