Hello,

 

I am trying to understand how ptxdist decides which configuration options to pass.  My specific case is that I want to make a package for cifs-utils.  I could not find any rules file for this, but I read in the manual that if a source package is “autotoolized”, i.e., contains a simple “configure” script, there is no need for a rules file – I assume it will simply call ./configure, with the necessary parameters to enable cross compiling.

 

However, it seems to add other things too, and I can’t figure out where it finds these options.  When I do this:

 

ptxdist prepare cifs-utils

 

and look in the build-target/cifs-utils-5.2/config.log, I see that it has been configured with –disable-cifsupcall –disable-cifscreds –disable-cifsidmap –disable-cifsacl, among some other stuff.  But if I go into this directory myself and do a simple ./configure there, then these flags are *not* added.

 

So how does “ptxdist prepare” decide what exactly to add to the ./configure command line?

 

Kind thanks in advance,

Sander Stoks