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

ruby-changes:28580

From: akr <ko1@a...>
Date: Fri, 10 May 2013 19:33:32 +0900 (JST)
Subject: [ruby-changes:28580] akr:r40632 (trunk): * configure.in: Reformat arguments of AC_CHECK_HEADERS and

akr	2013-05-10 19:33:18 +0900 (Fri, 10 May 2013)

  New Revision: 40632

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40632

  Log:
    * configure.in: Reformat arguments of AC_CHECK_HEADERS and
      AC_CHECK_FUNCS to track modifications easily.

  Modified files:
    trunk/ChangeLog
    trunk/configure.in

Index: configure.in
===================================================================
--- configure.in	(revision 40631)
+++ configure.in	(revision 40632)
@@ -994,12 +994,40 @@ AC_HEADER_DIRENT https://github.com/ruby/ruby/blob/trunk/configure.in#L994
 dnl AC_HEADER_STDC has been checked in AC_USE_SYSTEM_EXTENSIONS
 AC_HEADER_STDBOOL
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(limits.h sys/file.h sys/ioctl.h sys/syscall.h\
-		 fcntl.h sys/fcntl.h sys/select.h sys/time.h sys/times.h sys/param.h\
-		 syscall.h pwd.h grp.h a.out.h utime.h direct.h sys/resource.h \
-		 sys/mkdev.h sys/utime.h float.h ieeefp.h \
-		 ucontext.h intrinsics.h langinfo.h locale.h sys/sendfile.h time.h \
-		 net/socket.h sys/socket.h process.h sys/prctl.h atomic.h)
+AC_CHECK_HEADERS( \
+  limits.h \
+  sys/file.h \
+  sys/ioctl.h \
+  sys/syscall.h \
+  fcntl.h \
+  sys/fcntl.h \
+  sys/select.h \
+  sys/time.h \
+  sys/times.h \
+  sys/param.h \
+  syscall.h \
+  pwd.h \
+  grp.h \
+  a.out.h \
+  utime.h \
+  direct.h \
+  sys/resource.h \
+  sys/mkdev.h \
+  sys/utime.h \
+  float.h \
+  ieeefp.h \
+  ucontext.h \
+  intrinsics.h \
+  langinfo.h \
+  locale.h \
+  sys/sendfile.h \
+  time.h \
+  net/socket.h \
+  sys/socket.h \
+  process.h \
+  sys/prctl.h \
+  atomic.h \
+)
 
 dnl check for large file stuff
 mv confdefs.h confdefs1.h
@@ -1702,21 +1730,110 @@ if test x"$ac_cv_func_clock_gettime" != https://github.com/ruby/ruby/blob/trunk/configure.in#L1730
     AC_CHECK_FUNCS(clock_gettime)
 fi
 
-AC_CHECK_FUNCS(fmod killpg wait4 waitpid fork spawnv syscall __syscall chroot getcwd eaccess\
-	      truncate ftruncate ftello chsize times utimes utimensat fcntl lockf lstat\
-	      truncate64 ftruncate64 ftello64 fseeko fseeko64 \
-	      link symlink readlink readdir_r fsync fdatasync fchown posix_fadvise\
-	      setitimer setruid seteuid setreuid setresuid\
-	      setrgid setegid setregid setresgid issetugid pause lchown lchmod\
-	      getpgrp setpgrp getpgid setpgid initgroups getgroups setgroups\
-	      getpriority getrlimit setrlimit sysconf close \
-              getpwnam_r getgrnam_r endgrent \
-	      dlopen sigprocmask sigaction _setjmp _longjmp\
-	      getsid setsid telldir seekdir fchmod cosh sinh tanh log2 round llabs\
-	      setuid setgid daemon select_large_fdset setenv unsetenv\
-              mktime timegm gmtime_r gettimeofday poll ppoll\
-              pread sendfile shutdown sigaltstack dl_iterate_phdr\
-              dup dup3 pipe2 posix_memalign memalign ioctl mblen)
+AC_CHECK_FUNCS( \
+  fmod \
+  killpg \
+  wait4 \
+  waitpid \
+  fork \
+  spawnv \
+  syscall \
+  __syscall \
+  chroot \
+  getcwd \
+  eaccess \
+  truncate \
+  ftruncate \
+  ftello \
+  chsize \
+  times \
+  utimes \
+  utimensat \
+  fcntl \
+  lockf \
+  lstat \
+  truncate64 \
+  ftruncate64 \
+  ftello64 \
+  fseeko \
+  fseeko64 \
+  link \
+  symlink \
+  readlink \
+  readdir_r \
+  fsync \
+  fdatasync \
+  fchown \
+  posix_fadvise \
+  setitimer \
+  setruid \
+  seteuid \
+  setreuid \
+  setresuid \
+  setrgid \
+  setegid \
+  setregid \
+  setresgid \
+  issetugid \
+  pause \
+  lchown \
+  lchmod \
+  getpgrp \
+  setpgrp \
+  getpgid \
+  setpgid \
+  initgroups \
+  getgroups \
+  setgroups \
+  getpriority \
+  getrlimit \
+  setrlimit \
+  sysconf \
+  close \
+  getpwnam_r \
+  getgrnam_r \
+  endgrent \
+  dlopen \
+  sigprocmask \
+  sigaction \
+  _setjmp \
+  _longjmp \
+  getsid \
+  setsid \
+  telldir \
+  seekdir \
+  fchmod \
+  cosh \
+  sinh \
+  tanh \
+  log2 \
+  round \
+  llabs \
+  setuid \
+  setgid \
+  daemon \
+  select_large_fdset \
+  setenv \
+  unsetenv \
+  mktime \
+  timegm \
+  gmtime_r \
+  gettimeofday \
+  poll \
+  ppoll \
+  pread \
+  sendfile \
+  shutdown \
+  sigaltstack \
+  dl_iterate_phdr \
+  dup \
+  dup3 \
+  pipe2 \
+  posix_memalign \
+  memalign \
+  ioctl \
+  mblen \
+)
 
 AC_CACHE_CHECK(for sigsetjmp as a macro or function, ac_cv_func_sigsetjmp,
   [AC_TRY_COMPILE([
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40631)
+++ ChangeLog	(revision 40632)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri May 10 19:32:01 2013  Tanaka Akira  <akr@f...>
+
+	* configure.in: Reformat arguments of AC_CHECK_HEADERS and
+	  AC_CHECK_FUNCS to track modifications easily.
+
 Fri May 10 12:01:36 2013  Tanaka Akira  <akr@f...>
 
 	* configure.in: Don't link librt if clock_gettime is available in

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

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