diff Makeconf.in @ 4301:309ef552d7c6

[project @ 2003-01-21 21:49:00 by jwe]
author jwe
date Tue, 21 Jan 2003 21:49:00 +0000
parents 02fcb550f20c
children ebc2d8e4968b
line wrap: on
line diff
--- a/Makeconf.in	Tue Jan 21 16:19:14 2003 +0000
+++ b/Makeconf.in	Tue Jan 21 21:49:00 2003 +0000
@@ -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)