mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Don't contaminate CFLAGS with stuff from RUBY_CFLAGS
This commit is contained in:
parent
9ddadc3075
commit
c8eebcd23b
@ -90,16 +90,17 @@ if test "$CONFIG_RUBY" = "yes"; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
EL_RESTORE_FLAGS
|
||||||
|
|
||||||
if test "$CONFIG_RUBY" != "yes"; then
|
if test "$CONFIG_RUBY" != "yes"; then
|
||||||
if test -n "$CONFIG_RUBY_WITHVAL" &&
|
if test -n "$CONFIG_RUBY_WITHVAL" &&
|
||||||
test "$CONFIG_RUBY_WITHVAL" != no; then
|
test "$CONFIG_RUBY_WITHVAL" != no; then
|
||||||
AC_MSG_ERROR([Ruby not found])
|
AC_MSG_ERROR([Ruby not found])
|
||||||
fi
|
fi
|
||||||
EL_RESTORE_FLAGS
|
|
||||||
else
|
else
|
||||||
EL_CONFIG(CONFIG_RUBY, [Ruby])
|
EL_CONFIG(CONFIG_RUBY, [Ruby])
|
||||||
|
|
||||||
CFLAGS="$CFLAGS_X"
|
LIBS="$LIBS $RUBY_LIBS"
|
||||||
AC_SUBST(RUBY_CFLAGS)
|
AC_SUBST(RUBY_CFLAGS)
|
||||||
AC_SUBST(RUBY_LIBS)
|
AC_SUBST(RUBY_LIBS)
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user