How to "bake in" configure args

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

If you look at a recent version of BIND's named -V (which is not a gnu program, but bear with me), you can see a kitchen-sink like line like:

%/usr/local/sbin/named -v
BIND 9.11.27 (Extended Support Version) <id:99ca3c5>
%/usr/local/sbin/named -V
BIND 9.11.27 (Extended Support Version) <id:99ca3c5>
running on FreeBSD amd64 11.4-RELEASE-p3 FreeBSD 11.4-RELEASE-p3 #0: Tue Sep 1 08:22:33 UTC 2020 root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC built by make with '--localstatedir=/var' '--disable-linux-caps' '--with-randomdev=/dev/random' '--with-libxml2=/usr/local' ... 'STD_CDEFINES=-DDIG_SIGCHASE=1' '--with-openssl=/usr' '--enable-threads' '--with-tuning=default' '--disable-symtable' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/share/info/' '--build=amd64-portbld-freebsd11.4' 'build_alias=amd64-portbld-freebsd11.4' 'CC=cc' 'CFLAGS=-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ' 'LDFLAGS= -fstack-protector-strong ' 'LIBS=-L/usr/local/lib' 'CPPFLAGS=-DLIBICONV_PLUG -isystem /usr/local/include' 'CPP=cpp' 'PKG_CONFIG=pkgconf'

Is there an easy autoconf macro to get a full configure line saved somewhere it can be easily printed?

This doesn't feel like the same exact thing as the record-gcc-switches option as that's both specific to gcc. Or is it?

Is there a "standard" way to do this?  Google kind of fails for this.

-Dan

--

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
FB:  fb.com/DanielMahoneyIV
LI:   linkedin.com/in/gushi
Site:  http://www.gushi.org
---------------------------





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux