Skip to content

Commit

Permalink
- Re-add stuff for OSX
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15790 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 11, 2013
1 parent fd3518f commit 1128d99
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions configure.in
Expand Up @@ -363,6 +363,24 @@ fi

AC_CHECK_HEADERS(locale.h libintl.h,[],[AC_MSG_ERROR([gettext headers not found])])

LIBS=""

AC_MSG_CHECKING([gettext linking])
AC_TRY_LINK([
#include <libintl.h>
], [
gettext("");
], [AC_MSG_RESULT([in C-library])],
[
LIBS="-lintl";
AC_TRY_LINK([
#include <libintl.h>
], [
gettext("");
], [AC_MSG_RESULT([in intl]);RT_LDFLAGS="$RT_LDFLAGS $LIBS"],
[AC_MSG_ERROR([no])])
])

LIBS="-lz -lhdf5 -lm"

CPPFLAGS_BAK=$CPPFLAGS
Expand Down

0 comments on commit 1128d99

Please sign in to comment.