# HG changeset patch # User jwe # Date 1043185740 0 # Node ID 309ef552d7c6267b2771bc7c407fa12c13134338 # Parent a370ad9112dda9879c6b22738ef69b48f4f36cca [project @ 2003-01-21 21:49:00 by jwe] diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-21 John W. Eaton + + * Makeconf.in (MKOCTFILE_INCFLAGS): Skip -I$(includedir) if + $(includedir) is /usr/include. + 2003-01-16 Mumit Khan * Makeconf.in (SED): Export to subshells. diff --git a/Makeconf.in b/Makeconf.in --- a/Makeconf.in +++ b/Makeconf.in @@ -282,8 +282,13 @@ canonical_host_type = @canonical_host_type@ # The -I flags to use for the mkoctfile script. -MKOCTFILE_INCFLAGS = \ - -I$(octincludedir) -I$(octincludedir)/octave -I$(includedir) +ifeq ($(includedir,/usr/include) + MKOCTFILE_INCFLAGS = \ + -I$(octincludedir) -I$(octincludedir)/octave +else + MKOCTFILE_INCFLAGS = \ + -I$(octincludedir) -I$(octincludedir)/octave -I$(includedir) +endif # The -L flags to use for the mkoctfile scrip (for --link-stand-alone) MKOCTFILE_LFLAGS = -L$(octlibdir)