rbouqueau / gpac

GPAC mirror from the SourceForge Subversion
GNU Lesser General Public License v2.1
0 stars 1 forks source link

[Bug] configure script does not honor --cc and --cpp options [sf#286] #286

Closed rbouqueau closed 10 years ago

rbouqueau commented 10 years ago

Reported by ryandesign on 2013-09-16 03:30 UTC The gpac 0.5.0 configure script advertises options --cc and --cpp for setting the C and C++ compilers:

$ ./configure --help

Usage: configure [options]
Options: [defaults in brackets after descriptions]

GPAC configuration options:
  --help                   print this message
  --prefix=PREFIX          install in PREFIX [/usr/local]
  --mandir=DIR             man documentation in DIR [PREFIX/man]

  --source-path=PATH       path of source code []
  --cross-prefix=PREFIX    use PREFIX for compile tools []
  --cc =CC                 use C   compiler CC  [gcc]
  --cpp=CPP                use C++ compiler CPP [g++]
[snip]

However they don't work:

$ ./configure --cc=/usr/bin/clang --cpp=/usr/bin/clang++

** System Configuration
Install prefix: /usr/local
Source path: /path/to/gpac
C   compiler: cc
C++ compiler: g++
make: make
CPU: x86_64
Big Endian: no
[snip]
rbouqueau commented 10 years ago

Updated by jeanlf on 2013-12-11 16:47 UTC

rbouqueau commented 10 years ago

Commented by jeanlf on 2013-12-11 16:47 UTC Now fixed on SVN, thanks for the report