Bug 1653 - configure.in issues when run from another directory
configure.in issues when run from another directory
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.6
All All
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-24 03:18 UTC by Luke Mewburn
Modified: 2005-08-24 10:21 UTC (History)
0 users

See Also:


Attachments
configure.in version.h parsing fix (985 bytes, patch)
2004-08-24 03:20 UTC, Luke Mewburn
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Mewburn 2004-08-24 03:18:24 UTC
A common method of building is:
   mkdir work
   cd work
   ../configure [various options]
   make
so that you don't pollute your main source with build cruft.

samba 3.0.6 added configure functionality to extract & display the samba version
at configure time.  (This wasn't present in samba 3.0.5).
However, using the method above, configure prints:
     cat: include/version.h: No such file or directory
     SAMBA VERSION: 
     cat: include/version.h: No such file or directory

The fix is trivial; edit configure.in and change ``include/version.h'' to
``$srcdir/include/version.h'' on lines 11 & 14.  I can provide a patch if necessary.
Comment 1 Luke Mewburn 2004-08-24 03:20:33 UTC
Created attachment 613 [details]
configure.in version.h parsing fix
Comment 2 Tim Potter 2004-08-24 04:24:31 UTC
Checked in - thanks dude!
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:21:28 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.