From: nobu@... Date: 2014-08-20T08:27:18+00:00 Subject: [ruby-core:64476] [ruby-trunk - Bug #10156] [Closed] Underquoted definition warning in configure.in Issue #10156 has been updated by Nobuyoshi Nakada. Status changed from Feedback to Closed % Done changed from 0 to 100 Applied in changeset r47226. ---------- configure.in: quote defun names * configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS), (RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE), (RUBY_STACK_GROW_DIRECTION): quote defun names, for some versions of autoconf possibly. [ruby-core:64473] [Bug #10156] ---------------------------------------- Bug #10156: Underquoted definition warning in configure.in https://bugs.ruby-lang.org/issues/10156#change-48420 * Author: Luiz Angelo Daros de Luca * Status: Closed * Priority: Normal * Assignee: Nobuyoshi Nakada * Category: build * Target version: next minor * ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux-gnu] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Hello, I'm getting this warning when compiling ruby: ~~~ configure.in:696: warning: underquoted definition of RUBY_TRY_CFLAGS ~~~ Which contains: ~~~ 695 696 AC_DEFUN(RUBY_TRY_CFLAGS, [ 697 AC_MSG_CHECKING([whether ]$1[ is accepted as CFLAGS]) 698 RUBY_WERROR_FLAG([ 699 CFLAGS="[$]CFLAGS $1" 700 AC_TRY_COMPILE([$4], [$5], 701 [$2 702 AC_MSG_RESULT(yes)], 703 [$3 704 AC_MSG_RESULT(no)]) 705 ]) 706 ]) 707 708 AC_DEFUN(RUBY_TRY_LDFLAGS, [ ~~~ A quick google says that "`AC_DEFUN(RUBY_TRY_CFLAGS,`..." should be "`AC_DEFUN([RUBY_TRY_CFLAGS],`...". Probably the same happens with `RUBY_TRY_LDFLAGS` but it did not generated warnings for me (not called?). I have no idea how to work with autoconf. Please, for anyone familiar with it, this is an easy fix. -- https://bugs.ruby-lang.org/