delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2006/08/30/00:49:07

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Tue, 29 Aug 2006 21:44:22 -0600
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: Difficulty with absolute paths in #include lines
In-reply-to: <200608300007.12879.juan.guerrero@gmx.de>
To: djgpp-workers AT delorie DOT com
Message-id: <fu1af2ddpl12n8ikrkefdik0m7r15a61rh@4ax.com>
Organization: Systematic Software
MIME-version: 1.0
X-Mailer: Forte Agent 1.93/32.576 English (American)
References: <200608300007 DOT 12879 DOT juan DOT guerrero AT gmx DOT de>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 30 Aug 2006 00:07:12 +0200, Juan Manuel Guerrero
<juan DOT guerrero AT gmx DOT de> wrote:

>While I was trying to port m4-1.4.6 I have noticed that latest configure scripts
>generated by autoconf 2.60 seems to produce certain header files that contain
>includes like this:
>
>#include <c:/djgpp/include/sys/stat.h>

If Unix-only code is generating this, it might not recognize this as a
DOS absolute path, and think it looked like a relative path, as it
does not start with "/"; so might omit matching and trimming the DOS
prefix "c:/djgpp/include/", to leave only the standard path
<sys/stat.h>. 

-- 
Thanks. Take care, Brian Inglis

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019