autoconf
[Top][All Lists]
Advanced

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

Re: How to "bake in" configure args


From: Dan Mahoney (Gushi)
Subject: Re: How to "bake in" configure args
Date: Wed, 24 Mar 2021 03:47:30 -0700 (PDT)

On Tue, 23 Mar 2021, Bob Friesenhahn wrote:

On Tue, 23 Mar 2021, Dan Mahoney (Gushi) wrote:

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

I see that Gavin Smith already answered the question you asked, but GraphicsMagick took a different tact.

I didn't find that to be an "answer" so much as a request for more clarification.

"Is there a simple autoconf/automake macro that will just stuff the entire text string the user passed to configure, into a text string or a #define or something, which can be compiled into the binary". Something I can inherit in build.h.

I see numerous projects doing this, in various ways. I don't know if there's a "standard" way, but if there is, I'd like to use it, without introducing additional code complexity.

In looking at my project, and searching the generated config files, nothing compileable seems to have those args in it.

I'm nominally not a C coder, I'm just the guy who gets to answer support tickets and triage bug reports and get users to figure out if they installed their OS package, how that was set up and compiled.

-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
---------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]