diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2024-07-25 16:19:53 -0400 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2024-07-26 13:20:04 -0400 |
| commit | e798f45cc2417ae778e4790e3159654c90ba91fe (patch) | |
| tree | e67bae2299478e61209e46af6a0b7cad19cec141 | |
| parent | a65c205a1bce121821472c8e7658247a47e89047 (diff) | |
Error when --with-shared-gc doesn't specify a directory
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11248
| -rw-r--r-- | tool/m4/ruby_shared_gc.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/m4/ruby_shared_gc.m4 b/tool/m4/ruby_shared_gc.m4 index 4882bca057..6f77b96830 100644 --- a/tool/m4/ruby_shared_gc.m4 +++ b/tool/m4/ruby_shared_gc.m4 @@ -6,6 +6,10 @@ AC_ARG_WITH(shared-gc, [shared_gc_dir=$withval], [unset shared_gc_dir] ) +AS_IF([test "$shared_gc_dir" = yes], [ + AC_MSG_ERROR(you must specify a directory when using --with-shared-gc) +]) + AC_MSG_CHECKING([if building with shared GC support]) AS_IF([test x"$shared_gc_dir" != x], [ AC_MSG_RESULT([yes]) |
