mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.in: noral blocks
* configure.in: use noral blocks instead of dnl, so that matching parentheses would match. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e32dd8b391
commit
2ed9b46b4f
1 changed files with 12 additions and 12 deletions
24
configure.in
24
configure.in
|
@ -1,6 +1,6 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl {
|
|
||||||
AC_INIT()
|
AC_INIT()
|
||||||
|
{
|
||||||
AC_CONFIG_AUX_DIR(tool)
|
AC_CONFIG_AUX_DIR(tool)
|
||||||
|
|
||||||
AC_PREREQ(2.60)
|
AC_PREREQ(2.60)
|
||||||
|
@ -9,7 +9,7 @@ AC_DEFUN([RUBY_PREREQ_AC],
|
||||||
[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), [-1],
|
[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), [-1],
|
||||||
AC_MSG_ERROR([Autoconf version ]$1[ or higher is required]$2))])
|
AC_MSG_ERROR([Autoconf version ]$1[ or higher is required]$2))])
|
||||||
|
|
||||||
dnl environment section {
|
{ # environment section
|
||||||
|
|
||||||
AC_ARG_WITH(baseruby,
|
AC_ARG_WITH(baseruby,
|
||||||
AS_HELP_STRING([--with-baseruby=RUBY], [use RUBY as baseruby; RUBY is the pathname of ruby]),
|
AS_HELP_STRING([--with-baseruby=RUBY], [use RUBY as baseruby; RUBY is the pathname of ruby]),
|
||||||
|
@ -506,8 +506,8 @@ rm -fr conf$$.dir
|
||||||
AC_MSG_RESULT([$CHDIR])
|
AC_MSG_RESULT([$CHDIR])
|
||||||
AC_SUBST(CHDIR)
|
AC_SUBST(CHDIR)
|
||||||
|
|
||||||
dnl }
|
}
|
||||||
dnl compiler section {
|
{ # compiler section
|
||||||
|
|
||||||
AC_DEFUN([RUBY_WERROR_FLAG], [dnl
|
AC_DEFUN([RUBY_WERROR_FLAG], [dnl
|
||||||
save_CFLAGS="$CFLAGS"
|
save_CFLAGS="$CFLAGS"
|
||||||
|
@ -1066,8 +1066,8 @@ fi
|
||||||
|
|
||||||
RUBY_APPEND_OPTION(XCFLAGS, -DRUBY_EXPORT)
|
RUBY_APPEND_OPTION(XCFLAGS, -DRUBY_EXPORT)
|
||||||
|
|
||||||
dnl }
|
}
|
||||||
dnl header and library section {
|
{ # header and library section
|
||||||
|
|
||||||
dnl Check whether we need to define sys_nerr locally
|
dnl Check whether we need to define sys_nerr locally
|
||||||
AC_CHECK_DECLS([sys_nerr], [], [], [$ac_includes_default
|
AC_CHECK_DECLS([sys_nerr], [], [], [$ac_includes_default
|
||||||
|
@ -2117,8 +2117,8 @@ AC_ARG_WITH(valgrind,
|
||||||
AS_IF([test x$with_valgrind != xno],
|
AS_IF([test x$with_valgrind != xno],
|
||||||
[AC_CHECK_HEADERS(valgrind/memcheck.h)])
|
[AC_CHECK_HEADERS(valgrind/memcheck.h)])
|
||||||
|
|
||||||
dnl }
|
}
|
||||||
dnl runtime section {
|
{ # runtime section
|
||||||
|
|
||||||
dnl wheather use dln_a_out or not
|
dnl wheather use dln_a_out or not
|
||||||
AC_ARG_WITH(dln-a-out,
|
AC_ARG_WITH(dln-a-out,
|
||||||
|
@ -2690,8 +2690,8 @@ if test "$EXEEXT" = .exe; then
|
||||||
AC_SUBST(EXECUTABLE_EXTS)
|
AC_SUBST(EXECUTABLE_EXTS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl }
|
}
|
||||||
dnl build section {
|
{ # build section
|
||||||
|
|
||||||
dnl build rdoc index if requested
|
dnl build rdoc index if requested
|
||||||
RDOCTARGET=""
|
RDOCTARGET=""
|
||||||
|
@ -3302,5 +3302,5 @@ AC_CONFIG_FILES($ruby_pc:template/ruby.pc.in,
|
||||||
[ruby_pc='$ruby_pc' PKG_CONFIG='$PKG_CONFIG'])
|
[ruby_pc='$ruby_pc' PKG_CONFIG='$PKG_CONFIG'])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
dnl }
|
}
|
||||||
dnl }
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue