----- Original Message ----- > * Andrew Hughes <gnu.and...@redhat.com> [2014-05-21 12:22]: > > I'm not keen on the hardcoding of '-ljpeg' > > > > + LIBJPEG_LIBS := -ljpeg > > There's no pkg-config files for it. Any suggestions on how to get > something generic? >
I know there isn't at present. I still think it's better to be consistent and set the values in configure, even if at present they have to be hardcoded defaults. > > Could this not at least be conditionally assigned? (?=) > > It can still be overridden on the make command line: > > make LIBJPEG_LIBS=foo > > Is this not sufficient? > The make documentation is a little unclear here, and makes it sound like it will always be set if := or = is used. > Thanks, > Omair > > -- > PGP Key: 66484681 (http://pgp.mit.edu/) > Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681 > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07