Skip to content

Commit

Permalink
- Fix for moved static readline location
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@12661 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 24, 2012
1 parent ae0290f commit f6228ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,11 @@ else
else
READLINELIB=$WANT_STATIC_READLINE/lib
fi
test -f $READLINELIB/*/libreadline.a && READLINELIB=`dirname $READLINELIB/*/libreadline.a`
LIBS="-lncurses $READLINELIB/libreadline.a"
AC_MSG_CHECKING([for static readline $LIBS])
AC_LINK_IFELSE([AC_LANG_CALL([], [rl_message])], [LIBREADLINE=$LIBS], [AC_MSG_ERROR([failed])])
AC_MSG_RESULT([$LIBREADLINE])
AC_MSG_RESULT([ok])
LIBS=""
fi
fi
Expand Down

0 comments on commit f6228ca

Please sign in to comment.