How to know ./configure arguments ?

I’m facing a problem with ekiga and my webcam. It seems that ptlib isn’t compiled with v4L support by default (only V4L2). So to solve my problem, I need to recompile my own ptlib library.

To do that I need to know what “common” argments are to be passed to compile it, there are many “–enable-XXX” flags available for ./configure script.

I want to enable at least the same option as the current version of ptlib distributed by the community (plus --enable-v4l of course).

So is there a way to know for every library/package what options WERE used to compile them ?

Can I find these informations in the “debug” rpm of the library ?

Or can I see them somewhere else (in buildservice ?)

This is a general question, not only related to ptlib, it is applicable to any program/library.

Thanks for your help !


Use the ./configure --help from the source tarball or unpack a src rpm
and look at the spec file.

When rebuilding a src rpm you can pass missed features when you rebuild
it, but I generally just modify a spec file according to my needs and
rebuild the rpm.

Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel
up 2 days 0:21, 1 user, load average: 0.28, 0.20, 0.15
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Hmm ok …

That’s the way to go, rebuild the rpm using the source RPM from the src-oss repository !

I’ve learned something today :slight_smile:

I still have to read a little about it, spec file and command to run, but it should be indeed more easy this way, rather than downloading the sources from sourceforge (in my case), and trying to build it “from scratch”.

Yesterday I finally solved my problem using ALL --enableXXX, but I’ll try tonight your solution, just to improve my opensuse knowledges …

thanks a lot.