Skip to content

Commit

Permalink
- Make searching for rml.h simpler
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9580 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Aug 2, 2011
1 parent adfb3dc commit 3a509ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions configure
Expand Up @@ -4051,8 +4051,7 @@ done

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rml includefiles in $rmlhome" >&5
$as_echo_n "checking for rml includefiles in $rmlhome... " >&6; }
rmlinc=`find $rmlhome/include -follow -type d -name plain |grep include/plain`
if test -z "$rmlinc" ; then
if test ! -f "$rmlhome/include/plain/rml.h" ; then
as_fn_error $? "rml headers not found" "$LINENO" 5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
Expand Down
3 changes: 1 addition & 2 deletions configure.in
Expand Up @@ -130,8 +130,7 @@ AC_CHECK_HEADERS(sys/time.h sqlite3.h, [], [AC_MSG_ERROR(Missing header files)])
AC_CHECK_HEADERS(f2c.h, [], [LIBF2C=libf2c/libf2c.a])

AC_MSG_CHECKING([for rml includefiles in $rmlhome])
rmlinc=`find $rmlhome/include -follow -type d -name plain |grep include/plain`
if test -z "$rmlinc" ; then
if test ! -f "$rmlhome/include/plain/rml.h" ; then
AC_MSG_ERROR([rml headers not found])
AC_MSG_RESULT([no])
else
Expand Down

0 comments on commit 3a509ad

Please sign in to comment.