Hi all,

please find attached two tiny patches against latest trunk.

1. RML location should not be hardcoded to /usr but rather to the configuration prefix (might be /usr/local etc).

2. The sqlite directory was missing from the include flags in the runtime Makefile.in . I wonder how anybody could actually build that? sqlite installed? Anyway, maybe sqlite should not be distributed alongside openmodelica but rather be found from the configure script?

best regards,

christoph

ps: openmodelica builds now under fedora 14 if rml is installed (can be unzipped from the .deb). Nice work.

Index: configure.in
===================================================================
--- configure.in        (Revision 7241)
+++ configure.in        (Arbeitskopie)
@@ -84,8 +84,8 @@
   rmlhome=$RMLHOME
   AC_MSG_RESULT([$RMLHOME])
 else
-  AC_MSG_RESULT([/usr])
-  rmlhome=/usr
+  AC_MSG_RESULT([using installation prefix: $prefix])
+  rmlhome=$prefix
 fi
 
 AC_MSG_CHECKING([for rmlc])
Index: Compiler/runtime/Makefile.in
===================================================================
--- Compiler/runtime/Makefile.in        (Revision 7241)
+++ Compiler/runtime/Makefile.in        (Arbeitskopie)
@@ -24,7 +24,7 @@
 IDL    = @IDLCMD@
 CFLAGS +=  @CFLAGS@
 CXXFLAGS = $(CFLAGS)
-CPPFLAGS = -I$(RMLINCLUDE) -I$(top_builddir)/c_runtime -I$(srcdir) -I. 
$(CORBAINCL) -Ilpsolve
+CPPFLAGS = -I$(RMLINCLUDE) -I$(top_builddir)/c_runtime -I$(srcdir) -I. 
$(CORBAINCL) -Isqlite -Ilpsolve
 
 include Makefile.common
 

Reply via email to