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

Re: Does Debian supports backticks in the Makefile?



On Mon, Jul 11, 2022 at 10:28:39AM +0200, Thomas Schmitt wrote:
> Hi,
> 
> https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html
> 
>   #include <file>
>   This variant is used for system header files. It searches for a file
>   named file in a standard list of system directories. You can prepend
>   directories to this list with the -I option (see Invocation).
> 
>   #include "file"
>   This variant is used for header files of your own program. It searches
>   for a file named file first in the directory containing the current file,
>   then in the quote directories and then the same directories used for
>   <file>. You can prepend directories to the list of quote directories
>   with the -iquote option.
> 
> So "libpq-fe.h" has a wider search range than <libpq-fe.h> and cannot
> be to blame for not finding the file.

Yes, you're right. Thanks for the correction.

Still, I insist it should be called <libpq-fe.h> unless you /know/ you
want to supply your own header file.

[...]

> What does this command put out:
> 
>   pg_config --includedir

Yes, we're now all curious :-)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: