Skip to content

Commit

Permalink
- Fixed configure so that USE_CORBA is set correctly.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5387 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Apr 26, 2010
1 parent 5edb1dd commit dbd4671
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure
Expand Up @@ -4396,6 +4396,7 @@ $as_echo_n "checking mico version... " >&6; }
if ! $MICO --version; then
as_fn_error "failed to call $MICO" "$LINENO" 5
fi
USE_CORBA="-DUSE_CORBA -DUSE_MICO"
QT_USE_CORBA="USE_MICO"
CORBACFLAGS=-I`mico-config --prefix`/include;
CORBALIBS=`mico-config --libs`;
Expand Down Expand Up @@ -4448,6 +4449,7 @@ fi
if test "$USE_CORBA" = "no"; then
as_fn_error "failed to find orbit2" "$LINENO" 5
fi
USE_CORBA="-DUSE_CORBA -DUSE_ORBIT"
QT_USE_CORBA="USE_ORBIT2"
CORBACFLAGS=`orbit2-config --cflags`;
CORBALIBS=`orbit2-config --libs`;
Expand Down
2 changes: 2 additions & 0 deletions configure.in
Expand Up @@ -228,6 +228,7 @@ if test ! "$WANT_MICO" = "no"; then
if ! $MICO --version; then
AC_MSG_ERROR([failed to call $MICO])
fi
USE_CORBA="-DUSE_CORBA -DUSE_MICO"
QT_USE_CORBA="USE_MICO"
CORBACFLAGS=-I`mico-config --prefix`/include;
CORBALIBS=`mico-config --libs`;
Expand All @@ -243,6 +244,7 @@ elif test ! "$WANT_ORBIT2" = "no"; then
if test "$USE_CORBA" = "no"; then
AC_MSG_ERROR([failed to find orbit2])
fi
USE_CORBA="-DUSE_CORBA -DUSE_ORBIT"
QT_USE_CORBA="USE_ORBIT2"
CORBACFLAGS=`orbit2-config --cflags`;
CORBALIBS=`orbit2-config --libs`;
Expand Down

0 comments on commit dbd4671

Please sign in to comment.