Linux configure-make-make install: how to check which options were used in configure

Arrismog
Arrismog used Ask the Experts™
on
Hello experts

I have a rather newbie question:

Is there any way to check with which options was the ./configure command executed for any installation under linux prior the make and make-install command?  

Thanks in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Yes.  If you have the makefile, check it out.  It should show the options.
./configure --help=short
Top Expert 2011

Commented:
Check "configure" file itself.
Search something like "Usage" , or simply type
./configure -h
or
./configure --help

It will show all the available options and descriptions. Each description might tell you what is the "default".

However, it depends on the software. Some software give you a lot of description some are not.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
@farzanj:
there's a Makefile in the install directory, but can't find any the options used during the config process

@farzanj and @ShareefHuddle:
I tried the configure --help command, but it shows the options available, not the options used during the compilation process :(

Author

Commented:
* @wesly_chen: I tried the configure --help command, but it shows the options available, not the options used during the compilation process :(
Top Expert 2011
Commented:
If you don't pass any option in ./configure
then in the Makefile it generates, you should see something like (at beginning of Makefile)
-----------
CFLAGS=-g -02....
LDFLAGS=...

prefix=...
INSTALL_OPTS=...
COMMAND_OPTS=...
INIT_OPTS=...
----------
Those are the options for complication and installation.

Actual complication needs what kind of libraries are defined in the source codes like <include ....h>.

Author

Commented:
@wesly_chen: Yep, that's what I was looking for :)  thanks!!

Author

Commented:
Yes, this was what I've been looking :) thanks a lot!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial