Issue 123683 - when --with-dmake-url is used configure shouldn't check for system dmake
Summary: when --with-dmake-url is used configure shouldn't check for system dmake
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: configure (show other issues)
Version: 4.0.1
Hardware: All Solaris
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: Andrea Pescetti
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-13 22:44 UTC by hajma
Modified: 2022-10-28 12:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: Simple


Attachments
patch (850 bytes, text/plain)
2013-11-13 22:44 UTC, hajma
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hajma 2013-11-13 22:44:50 UTC
Created attachment 81915 [details]
patch

The Solaris Studio compiler comes with a dmake binary, so when I want to have my cc and CC in the path, I have there dmake as well. This causes failure at the configure stage:
$ ./configure --disable-mozilla --disable-cups --with-system-python --enable-presenter-console --enable-wiki-publisher --enable-minimizer  --without-junit --with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 --with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
...
checking for dmake... checking for dmake... /export/home/hajma/Studio/bin/dmake
using system dmake
checking whether the found dmake is the right dmake... configure: WARNING: no
configure: error: please use --with-dmake-path or --with-dmake-url to specify dmake executable or source


I would expect that when  --with-dmake-url is used, the check for system dmake would be skipped.

attached patch worked for me
Comment 1 Andrea Pescetti 2013-12-29 18:25:54 UTC
Confirmed and fixed in trunk, thank you for the patch!
Comment 2 SVN Robot 2013-12-29 18:26:40 UTC
"pescetti" committed SVN revision 1554051 into trunk:
#i123683# Override system dmake if --with-dmake-path or --with-dmake-url is u...
Comment 3 SVN Robot 2014-01-27 08:23:47 UTC
"pescetti" committed SVN revision 1561602 into trunk:
#i123683# Override system dmake if --with-dmake-path or --with-dmake-url is u...
Comment 4 Andrea Pescetti 2014-01-27 08:51:50 UTC
For reference: fix was committed twice due to an accidental overwrite, see dev list for details.