1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

Don't contaminate CFLAGS with stuff from RUBY_CFLAGS

This commit is contained in:
Jonas Fonseca 2006-01-20 16:17:09 +01:00 committed by Jonas Fonseca
parent 9ddadc3075
commit c8eebcd23b

View File

@ -90,16 +90,17 @@ if test "$CONFIG_RUBY" = "yes"; then
fi
fi
EL_RESTORE_FLAGS
if test "$CONFIG_RUBY" != "yes"; then
if test -n "$CONFIG_RUBY_WITHVAL" &&
test "$CONFIG_RUBY_WITHVAL" != no; then
AC_MSG_ERROR([Ruby not found])
fi
EL_RESTORE_FLAGS
else
EL_CONFIG(CONFIG_RUBY, [Ruby])
CFLAGS="$CFLAGS_X"
LIBS="$LIBS $RUBY_LIBS"
AC_SUBST(RUBY_CFLAGS)
AC_SUBST(RUBY_LIBS)
fi