osx - How do you "echo" the last configure/make build --options within a source directory? -


when doing a gnu-style " ./configure, make, , install " - specific options, flags, etc... know, can black art.. , works 1 piece of software may not other...

now, imagine you had built package xyz.app options like...

% ./configure --with-1=2 usflag="-3 four" obscure_lib=l/lib/doihave

and gone ahead , used it. great. @ later point, you realize need omitted compile-time option, or maybe you've resolved dependency issue, etc... whatever reason, want recompile binary.

now... how can "recall" of options passed ./configure, verbatim, use same options, while possibly adding or subtracting some, time around?

i'm sure stuff buried somewhere in config.xxxx or aclocal or makefile.xx files, life of me, haven'e been able google 1 straight answer.

% file /usr/bin/$1 -->  mach-o 64-bit executable x86_64 % ld /usr/bin/$1   -->  -macosx_version_min not specificed, assuming 10.6 % make -d          -->  * 20 pages of makefile nonsense.... * % ./config.log     -->  * shows history, nothing interesting. * % ./config.status  -->  * strange sequence oddly similar "clean" * % ./configure -h   -->  * 500 options, none of "show-me=your-shit" * 

glibtoolize, otool, autoconf, automake, pkg-config... seem unwilling help. 1 close-call seems contents of xyz.pc file created pkg-config..

prefix=/usr/local  \  exec_prefix=${prefix}  \  libdir=${exec_prefix}/lib includedir=${prefix}/include  \  libs: -l${libdir} -lxyz-base  cflags: -i${includedir} -i${includedir}/xyz 

however, these seem environmental variables, not arguments actual config invocation... i'm sick of guessing... real way figure out original build arguments, can use them again, @ will...?

config.status has options in it; ./config.status --recheck re-runs configure original options. interrupt , reissue command (which show before running it), or edit config.status , add new parameters $ac_configure_extra_args.

i kinda wish they'd made easier this. once upon time head config.status original configure command. ./config.status --rerun args here have been nice.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -