[前][次][番号順一覧][スレッド一覧]

ruby-changes:41890

From: nobu <ko1@a...>
Date: Sun, 28 Feb 2016 22:53:45 +0900 (JST)
Subject: [ruby-changes:41890] nobu:r53964 (trunk): configure.in: no leading spaces

nobu	2016-02-28 22:54:32 +0900 (Sun, 28 Feb 2016)

  New Revision: 53964

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53964

  Log:
    configure.in: no leading spaces
    
    * configure.in (cflags, cppflags): remove unnecessary leading
      spaces.

  Modified files:
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 53963)
+++ configure.in	(revision 53964)
@@ -4142,8 +4142,8 @@ if test "${ARCH_FLAG}"; then https://github.com/ruby/ruby/blob/trunk/configure.in#L4142
 fi
 warnflags="$rb_cv_warnflags"
 AC_SUBST(cppflags)dnl
-AC_SUBST(cflags, ["$orig_cflags "'${optflags} ${debugflags} ${warnflags}'])dnl
-AC_SUBST(cxxflags, ["$orig_cxxflags "'${optflags} ${debugflags} ${warnflags}'])dnl
+AC_SUBST(cflags, ["${orig_cflags:+$orig_cflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
+AC_SUBST(cxxflags, ["${orig_cxxflags:+$orig_cxxflags }"'${optflags} ${debugflags} ${warnflags}'])dnl
 AC_SUBST(optflags)dnl
 AC_SUBST(debugflags)dnl
 AC_SUBST(warnflags)dnl

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]