[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gta-list] Improvements to configure
From: |
Martin Lambers |
Subject: |
Re: [gta-list] Improvements to configure |
Date: |
Tue, 5 Feb 2013 07:48:14 +0100 |
Hi Volker!
Thank you very much for your comments.
On Tue, 05 Feb 2013 00:36:49 +0100, Volker Froehlich wrote:
> * The pcl pkconfig file is called pcl_io in Fedora.
> Configure expects it to be called pcl_io-1.6 though.
Fixed now: we use pcl_io, and then pcl_io-1.6 as a fallback. It is very
wrong to hardcode package versions into pkg-config file names, but that
is what PCL does when installed from source...
> * If g++ is not present, configure reports:
> "GCC atomic builtins not found. Please use a newer compiler."
>
> This is a bit misleading, I think.
I added a new check that tests if the C++ compiler actually works.
Strange that autoconf does not do this automatically like it does for
the C compiler.
> * The dcmtk library is in a sub-directory in Fedora.
> So are the headers of netpbm. Having CFLAGS and LIBS variables
> would be handy.
Is --with-dcmtk-prefix=DIR / --with-netpbm-prefix=DIR not enough? Is
it required to set CFLAGS and LIBS separately?
Neither DCMTK nor NetPBM provide pkg-config files, therefore I used
AC_LIB_HAVE_LINKFLAGS() (from gettext) as the next best method to
search for the libs. Do you have an alternative suggestion?
Best regards,
Martin