Skip to content

Commit

Permalink
Check for pthreads
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16271 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Jun 10, 2013
1 parent 579c691 commit b170eee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure.in
Expand Up @@ -382,6 +382,10 @@ AC_TRY_LINK([

LIBS=""

AC_CHECK_LIB(pthread,pthread_self,[RT_LDFLAGS="$RT_LDFLAGS $LIBS"],[AC_MSG_ERROR([pthreads not found])])

LIBS=""

dnl should we use ipopt?

AC_ARG_WITH(ipopt, [ --with-ipopt=DIR use ipopt for initialization],
Expand Down

0 comments on commit b170eee

Please sign in to comment.