-I order

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Fri Mar 9 06:32:02 EST 2001


On 8 Mar 2001, Per Starback wrote:

> When I built openssh 2.5.1p2 on AIX it included /usr/local/include
> for me.  That's in configure:
> 
>         case "$host" in
>         *-*-aix*)
>         	AFS_LIBS="-lld"
>         	CPPFLAGS="$CPPFLAGS -I/usr/local/include"
>                 [...]
> 
> Then when including "config.h" in openbsd-compat/openbsd-compat.h
> that found some old /usr/local/include/config.h I had instead of
> the config.h that it meant to use.  I suggest using another order for
> those -I arguments.
> 

The better place for this would be in the  Makefile.in files.  However I
would love to know what broken application calls it's header file
'config.h'. =) 

CPPFLAGS=@CPPFLAGS@ -I. -I$(srcdir)/openbsd-compat -I$(srcdir) $(PATHS) @DEFS@

Should be considered changed to:

CPPFLAGS=-I. -I$(srcdir)/openbsd-compat -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@

- Ben






More information about the openssh-unix-dev mailing list