Red Hat Bugzilla – Bug 174556
Running 'curl-config --vernum' prints no output
Last modified: 2007-11-30 17:11:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051129 Firefox/1.6a1
Description of problem:
The 'curl-config' program produces no output when option '--vernum' is used. The program itself is a shell script, so a quick examination revealed that the 'vernum' bits of code in the 'case' block that handles the various options was missing the version information in the 'echo' statement that prints out the desired value. The fix is to add in the version info, and in the case of 'vernum' it is a hex value.
After adding the version as hex:
Things worked fine. As 'curl-config' is probably a generated file the problem may be a configuration problem during the build of the curl libraries.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. curl-config --vernum
Actual Results: No output.
Expected Results: A hex value should be printed, like '070f00'.
See the description above for the fix. The change is trivial.
Thank you for your bug report, this problem should be fixed in the last version
(curl-7.15.0-3). If there is any problem, please reopen this bug.