Skip to content

Commit

Permalink
- find readline on OS X (configure)
Browse files Browse the repository at this point in the history
- added VisualizationWidget to the ext project pro file
- neutered the SoQt stuff on OSX until we get it working
- added -framework Carbon and -lz to systemimpl for OS X compatibilty with Qt

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@3699 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
ericmeyers committed Oct 19, 2008
1 parent 2031b7f commit a9bd2a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Compiler/runtime/systemimpl.c
Expand Up @@ -1610,7 +1610,11 @@ void System_5finit(void)

qthome = getenv("QTHOME");
if (qthome && strlen(qthome)) {
#ifdef __APPLE_CC__
putenv("SENDDATALIBS=-lsendData -lQtNetwork -lQtCore -lQtGui -lz -framework Carbon");
#else
putenv("SENDDATALIBS=-lsendData -lQtNetwork -lQtCore -lQtGui");
#endif
} else {
putenv("SENDDATALIBS=-lsendData");
}
Expand Down
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -3310,7 +3310,7 @@ if test -d /home/pelab/pkg/gnu/lib ; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
else
readlinelib=`find /usr/lib /usr/local/lib -name libreadline.a | tail -1 | awk -F/ '{ total="";for (i = 1 ; i < NF; i++) total= total $i "/"; print total}'`
readlinelib=`find /usr/lib /usr/local/lib /opt/local/lib -name libreadline.a | tail -1 | awk -F/ '{ total="";for (i = 1 ; i < NF; i++) total= total $i "/"; print total}'`
if test -z "$readlinelib" ; then
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
Expand Down

0 comments on commit a9bd2a7

Please sign in to comment.