[Top][All Lists]

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

Re: CFLAGS/LDFLAGS vs. --with

From: Bob Friesenhahn
Subject: Re: CFLAGS/LDFLAGS vs. --with
Date: Thu, 6 Aug 2009 17:57:01 -0500 (CDT)

On Thu, 6 Aug 2009, Murray S. Kucherawy wrote:

What is the general wisdom when deciding whether to add support for a new "-with" vs. just encouraging use of CFLAGS/LDFLAGS on the command line?

A problem with the "-with" approach is that it is impossible to achieve the flexibility offered to the user by CFLAGS/LDFLAGS and so something is bound to lose. For example, ordering of options in CFLAGS/LDFLAGS can influence which headers/libraries are used if there are multiple versions in multiple directories, but the "-with" approach hard-codes the ordering in the configure script where the user can't do anything about it (other than using CFLAGS/LDFLAGS).

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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