more functions to io-file.c
This commit is contained in:
		@ -1,7 +1,7 @@
 | 
			
		||||
# Makefile.in generated by automake 1.15 from Makefile.am.
 | 
			
		||||
# Makefile.in generated by automake 1.16.1 from Makefile.am.
 | 
			
		||||
# @configure_input@
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This Makefile.in is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -141,7 +141,7 @@ am__recursive_targets = \
 | 
			
		||||
  $(RECURSIVE_CLEAN_TARGETS) \
 | 
			
		||||
  $(am__extra_recursive_targets)
 | 
			
		||||
AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
 | 
			
		||||
	cscope distdir dist dist-all distcheck
 | 
			
		||||
	cscope distdir distdir-am dist dist-all distcheck
 | 
			
		||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 | 
			
		||||
# Read a list of newline-separated strings from the standard input,
 | 
			
		||||
# and print each of them once, without duplicates.  Input order is
 | 
			
		||||
@ -166,8 +166,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \
 | 
			
		||||
	$(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \
 | 
			
		||||
	$(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \
 | 
			
		||||
	$(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing ac/ar-lib \
 | 
			
		||||
	ac/compile ac/config.guess ac/config.sub ac/depcomp \
 | 
			
		||||
	ac/install-sh ac/ltmain.sh ac/missing
 | 
			
		||||
	ac/compile ac/config.guess ac/config.sub ac/install-sh \
 | 
			
		||||
	ac/ltmain.sh ac/missing
 | 
			
		||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 | 
			
		||||
distdir = $(PACKAGE)-$(VERSION)
 | 
			
		||||
top_distdir = $(distdir)
 | 
			
		||||
@ -393,8 +393,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 | 
			
		||||
	    echo ' $(SHELL) ./config.status'; \
 | 
			
		||||
	    $(SHELL) ./config.status;; \
 | 
			
		||||
	  *) \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
 | 
			
		||||
	esac;
 | 
			
		||||
 | 
			
		||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 | 
			
		||||
@ -521,7 +521,10 @@ distclean-tags:
 | 
			
		||||
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 | 
			
		||||
	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
 | 
			
		||||
 | 
			
		||||
distdir: $(DISTFILES)
 | 
			
		||||
distdir: $(BUILT_SOURCES)
 | 
			
		||||
	$(MAKE) $(AM_MAKEFLAGS) distdir-am
 | 
			
		||||
 | 
			
		||||
distdir-am: $(DISTFILES)
 | 
			
		||||
	$(am__remove_distdir)
 | 
			
		||||
	test -d "$(distdir)" || mkdir "$(distdir)"
 | 
			
		||||
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								moo/ac/ar-lib
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								moo/ac/ar-lib
									
									
									
										generated
									
									
									
								
							@ -4,7 +4,7 @@
 | 
			
		||||
me=ar-lib
 | 
			
		||||
scriptversion=2012-03-01.08; # UTC
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2010-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2010-2018 Free Software Foundation, Inc.
 | 
			
		||||
# Written by Peter Rosin <peda@lysator.liu.se>.
 | 
			
		||||
#
 | 
			
		||||
# This program is free software; you can redistribute it and/or modify
 | 
			
		||||
@ -18,7 +18,7 @@ scriptversion=2012-03-01.08; # UTC
 | 
			
		||||
# GNU General Public License for more details.
 | 
			
		||||
#
 | 
			
		||||
# You should have received a copy of the GNU General Public License
 | 
			
		||||
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 | 
			
		||||
# As a special exception to the GNU General Public License, if you
 | 
			
		||||
# distribute this file as part of a program that contains a
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										13
									
								
								moo/ac/compile
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										13
									
								
								moo/ac/compile
									
									
									
										generated
									
									
									
								
							@ -1,9 +1,9 @@
 | 
			
		||||
#! /bin/sh
 | 
			
		||||
# Wrapper for compilers which do not understand '-c -o'.
 | 
			
		||||
 | 
			
		||||
scriptversion=2012-10-14.11; # UTC
 | 
			
		||||
scriptversion=2018-03-07.03; # UTC
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 | 
			
		||||
# Written by Tom Tromey <tromey@cygnus.com>.
 | 
			
		||||
#
 | 
			
		||||
# This program is free software; you can redistribute it and/or modify
 | 
			
		||||
@ -17,7 +17,7 @@ scriptversion=2012-10-14.11; # UTC
 | 
			
		||||
# GNU General Public License for more details.
 | 
			
		||||
#
 | 
			
		||||
# You should have received a copy of the GNU General Public License
 | 
			
		||||
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 | 
			
		||||
# As a special exception to the GNU General Public License, if you
 | 
			
		||||
# distribute this file as part of a program that contains a
 | 
			
		||||
@ -255,7 +255,8 @@ EOF
 | 
			
		||||
    echo "compile $scriptversion"
 | 
			
		||||
    exit $?
 | 
			
		||||
    ;;
 | 
			
		||||
  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
 | 
			
		||||
  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
 | 
			
		||||
  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
 | 
			
		||||
    func_cl_wrapper "$@"      # Doesn't return...
 | 
			
		||||
    ;;
 | 
			
		||||
esac
 | 
			
		||||
@ -339,9 +340,9 @@ exit $ret
 | 
			
		||||
# Local Variables:
 | 
			
		||||
# mode: shell-script
 | 
			
		||||
# sh-indentation: 2
 | 
			
		||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
 | 
			
		||||
# eval: (add-hook 'before-save-hook 'time-stamp)
 | 
			
		||||
# time-stamp-start: "scriptversion="
 | 
			
		||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
 | 
			
		||||
# time-stamp-time-zone: "UTC"
 | 
			
		||||
# time-stamp-time-zone: "UTC0"
 | 
			
		||||
# time-stamp-end: "; # UTC"
 | 
			
		||||
# End:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										757
									
								
								moo/ac/config.guess
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										757
									
								
								moo/ac/config.guess
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2765
									
								
								moo/ac/config.sub
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2765
									
								
								moo/ac/config.sub
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										10
									
								
								moo/ac/depcomp
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										10
									
								
								moo/ac/depcomp
									
									
									
										generated
									
									
									
								
							@ -1,9 +1,9 @@
 | 
			
		||||
#! /bin/sh
 | 
			
		||||
# depcomp - compile a program generating dependencies as side-effects
 | 
			
		||||
 | 
			
		||||
scriptversion=2013-05-30.07; # UTC
 | 
			
		||||
scriptversion=2018-03-07.03; # UTC
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This program is free software; you can redistribute it and/or modify
 | 
			
		||||
# it under the terms of the GNU General Public License as published by
 | 
			
		||||
@ -16,7 +16,7 @@ scriptversion=2013-05-30.07; # UTC
 | 
			
		||||
# GNU General Public License for more details.
 | 
			
		||||
 | 
			
		||||
# You should have received a copy of the GNU General Public License
 | 
			
		||||
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 | 
			
		||||
# As a special exception to the GNU General Public License, if you
 | 
			
		||||
# distribute this file as part of a program that contains a
 | 
			
		||||
@ -783,9 +783,9 @@ exit 0
 | 
			
		||||
# Local Variables:
 | 
			
		||||
# mode: shell-script
 | 
			
		||||
# sh-indentation: 2
 | 
			
		||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
 | 
			
		||||
# eval: (add-hook 'before-save-hook 'time-stamp)
 | 
			
		||||
# time-stamp-start: "scriptversion="
 | 
			
		||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
 | 
			
		||||
# time-stamp-time-zone: "UTC"
 | 
			
		||||
# time-stamp-time-zone: "UTC0"
 | 
			
		||||
# time-stamp-end: "; # UTC"
 | 
			
		||||
# End:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										47
									
								
								moo/ac/install-sh
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										47
									
								
								moo/ac/install-sh
									
									
									
										generated
									
									
									
								
							@ -1,7 +1,7 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
# install - install a program, script, or datafile
 | 
			
		||||
 | 
			
		||||
scriptversion=2013-12-25.23; # UTC
 | 
			
		||||
scriptversion=2018-03-11.20; # UTC
 | 
			
		||||
 | 
			
		||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
 | 
			
		||||
# later released in X11R6 (xc/config/util/install.sh) with the
 | 
			
		||||
@ -271,15 +271,18 @@ do
 | 
			
		||||
    fi
 | 
			
		||||
    dst=$dst_arg
 | 
			
		||||
 | 
			
		||||
    # If destination is a directory, append the input filename; won't work
 | 
			
		||||
    # if double slashes aren't ignored.
 | 
			
		||||
    # If destination is a directory, append the input filename.
 | 
			
		||||
    if test -d "$dst"; then
 | 
			
		||||
      if test "$is_target_a_directory" = never; then
 | 
			
		||||
        echo "$0: $dst_arg: Is a directory" >&2
 | 
			
		||||
        exit 1
 | 
			
		||||
      fi
 | 
			
		||||
      dstdir=$dst
 | 
			
		||||
      dst=$dstdir/`basename "$src"`
 | 
			
		||||
      dstbase=`basename "$src"`
 | 
			
		||||
      case $dst in
 | 
			
		||||
	*/) dst=$dst$dstbase;;
 | 
			
		||||
	*)  dst=$dst/$dstbase;;
 | 
			
		||||
      esac
 | 
			
		||||
      dstdir_status=0
 | 
			
		||||
    else
 | 
			
		||||
      dstdir=`dirname "$dst"`
 | 
			
		||||
@ -288,6 +291,11 @@ do
 | 
			
		||||
    fi
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
  case $dstdir in
 | 
			
		||||
    */) dstdirslash=$dstdir;;
 | 
			
		||||
    *)  dstdirslash=$dstdir/;;
 | 
			
		||||
  esac
 | 
			
		||||
 | 
			
		||||
  obsolete_mkdir_used=false
 | 
			
		||||
 | 
			
		||||
  if test $dstdir_status != 0; then
 | 
			
		||||
@ -324,34 +332,43 @@ do
 | 
			
		||||
            # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
 | 
			
		||||
            ;;
 | 
			
		||||
          *)
 | 
			
		||||
            # Note that $RANDOM variable is not portable (e.g. dash);  Use it
 | 
			
		||||
            # here however when possible just to lower collision chance.
 | 
			
		||||
            tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
 | 
			
		||||
            trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
 | 
			
		||||
 | 
			
		||||
            trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
 | 
			
		||||
 | 
			
		||||
            # Because "mkdir -p" follows existing symlinks and we likely work
 | 
			
		||||
            # directly in world-writeable /tmp, make sure that the '$tmpdir'
 | 
			
		||||
            # directory is successfully created first before we actually test
 | 
			
		||||
            # 'mkdir -p' feature.
 | 
			
		||||
            if (umask $mkdir_umask &&
 | 
			
		||||
                exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
 | 
			
		||||
                $mkdirprog $mkdir_mode "$tmpdir" &&
 | 
			
		||||
                exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
 | 
			
		||||
            then
 | 
			
		||||
              if test -z "$dir_arg" || {
 | 
			
		||||
                   # Check for POSIX incompatibilities with -m.
 | 
			
		||||
                   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
 | 
			
		||||
                   # other-writable bit of parent directory when it shouldn't.
 | 
			
		||||
                   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
 | 
			
		||||
                   ls_ld_tmpdir=`ls -ld "$tmpdir"`
 | 
			
		||||
                   test_tmpdir="$tmpdir/a"
 | 
			
		||||
                   ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
 | 
			
		||||
                   case $ls_ld_tmpdir in
 | 
			
		||||
                     d????-?r-*) different_mode=700;;
 | 
			
		||||
                     d????-?--*) different_mode=755;;
 | 
			
		||||
                     *) false;;
 | 
			
		||||
                   esac &&
 | 
			
		||||
                   $mkdirprog -m$different_mode -p -- "$tmpdir" && {
 | 
			
		||||
                     ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
 | 
			
		||||
                   $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
 | 
			
		||||
                     ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
 | 
			
		||||
                     test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
 | 
			
		||||
                   }
 | 
			
		||||
                 }
 | 
			
		||||
              then posix_mkdir=:
 | 
			
		||||
              fi
 | 
			
		||||
              rmdir "$tmpdir/d" "$tmpdir"
 | 
			
		||||
              rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
 | 
			
		||||
            else
 | 
			
		||||
              # Remove any dirs left behind by ancient mkdir implementations.
 | 
			
		||||
              rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
 | 
			
		||||
              rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
 | 
			
		||||
            fi
 | 
			
		||||
            trap '' 0;;
 | 
			
		||||
        esac;;
 | 
			
		||||
@ -427,8 +444,8 @@ do
 | 
			
		||||
  else
 | 
			
		||||
 | 
			
		||||
    # Make a couple of temp file names in the proper directory.
 | 
			
		||||
    dsttmp=$dstdir/_inst.$$_
 | 
			
		||||
    rmtmp=$dstdir/_rm.$$_
 | 
			
		||||
    dsttmp=${dstdirslash}_inst.$$_
 | 
			
		||||
    rmtmp=${dstdirslash}_rm.$$_
 | 
			
		||||
 | 
			
		||||
    # Trap to clean up those temp files at exit.
 | 
			
		||||
    trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
 | 
			
		||||
@ -493,9 +510,9 @@ do
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
# Local variables:
 | 
			
		||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
 | 
			
		||||
# eval: (add-hook 'before-save-hook 'time-stamp)
 | 
			
		||||
# time-stamp-start: "scriptversion="
 | 
			
		||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
 | 
			
		||||
# time-stamp-time-zone: "UTC"
 | 
			
		||||
# time-stamp-time-zone: "UTC0"
 | 
			
		||||
# time-stamp-end: "; # UTC"
 | 
			
		||||
# End:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								moo/ac/ltmain.sh
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								moo/ac/ltmain.sh
									
									
									
										generated
									
									
									
								
							@ -2124,7 +2124,7 @@ fi
 | 
			
		||||
# a configuration failure hint, and exit.
 | 
			
		||||
func_fatal_configuration ()
 | 
			
		||||
{
 | 
			
		||||
    func__fatal_error ${1+"$@"} \
 | 
			
		||||
    func_fatal_error ${1+"$@"} \
 | 
			
		||||
      "See the $PACKAGE documentation for more information." \
 | 
			
		||||
      "Fatal configuration error."
 | 
			
		||||
}
 | 
			
		||||
@ -7272,10 +7272,12 @@ func_mode_link ()
 | 
			
		||||
      # -tp=*                Portland pgcc target processor selection
 | 
			
		||||
      # --sysroot=*          for sysroot support
 | 
			
		||||
      # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
 | 
			
		||||
      # -specs=*             GCC specs files
 | 
			
		||||
      # -stdlib=*            select c++ std lib with clang
 | 
			
		||||
      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
 | 
			
		||||
      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
 | 
			
		||||
      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
 | 
			
		||||
      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
 | 
			
		||||
      -specs=*)
 | 
			
		||||
        func_quote_for_eval "$arg"
 | 
			
		||||
	arg=$func_quote_for_eval_result
 | 
			
		||||
        func_append compile_command " $arg"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										16
									
								
								moo/ac/missing
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										16
									
								
								moo/ac/missing
									
									
									
										generated
									
									
									
								
							@ -1,9 +1,9 @@
 | 
			
		||||
#! /bin/sh
 | 
			
		||||
# Common wrapper for a few potentially missing GNU programs.
 | 
			
		||||
 | 
			
		||||
scriptversion=2013-10-28.13; # UTC
 | 
			
		||||
scriptversion=2018-03-07.03; # UTC
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 | 
			
		||||
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
 | 
			
		||||
 | 
			
		||||
# This program is free software; you can redistribute it and/or modify
 | 
			
		||||
@ -17,7 +17,7 @@ scriptversion=2013-10-28.13; # UTC
 | 
			
		||||
# GNU General Public License for more details.
 | 
			
		||||
 | 
			
		||||
# You should have received a copy of the GNU General Public License
 | 
			
		||||
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 | 
			
		||||
# As a special exception to the GNU General Public License, if you
 | 
			
		||||
# distribute this file as part of a program that contains a
 | 
			
		||||
@ -101,9 +101,9 @@ else
 | 
			
		||||
  exit $st
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
perl_URL=http://www.perl.org/
 | 
			
		||||
flex_URL=http://flex.sourceforge.net/
 | 
			
		||||
gnu_software_URL=http://www.gnu.org/software
 | 
			
		||||
perl_URL=https://www.perl.org/
 | 
			
		||||
flex_URL=https://github.com/westes/flex
 | 
			
		||||
gnu_software_URL=https://www.gnu.org/software
 | 
			
		||||
 | 
			
		||||
program_details ()
 | 
			
		||||
{
 | 
			
		||||
@ -207,9 +207,9 @@ give_advice "$1" | sed -e '1s/^/WARNING: /' \
 | 
			
		||||
exit $st
 | 
			
		||||
 | 
			
		||||
# Local variables:
 | 
			
		||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
 | 
			
		||||
# eval: (add-hook 'before-save-hook 'time-stamp)
 | 
			
		||||
# time-stamp-start: "scriptversion="
 | 
			
		||||
# time-stamp-format: "%:y-%02m-%02d.%02H"
 | 
			
		||||
# time-stamp-time-zone: "UTC"
 | 
			
		||||
# time-stamp-time-zone: "UTC0"
 | 
			
		||||
# time-stamp-end: "; # UTC"
 | 
			
		||||
# End:
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										191
									
								
								moo/aclocal.m4
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										191
									
								
								moo/aclocal.m4
									
									
									
									
										vendored
									
									
								
							@ -1,6 +1,6 @@
 | 
			
		||||
# generated automatically by aclocal 1.15 -*- Autoconf -*-
 | 
			
		||||
# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -20,7 +20,7 @@ You have another version of autoconf.  It may work, but is not guaranteed to.
 | 
			
		||||
If you have problems, you may need to regenerate the build system entirely.
 | 
			
		||||
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2002-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2002-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
 | 
			
		||||
# generated from the m4 files accompanying Automake X.Y.
 | 
			
		||||
# (This private macro should not be called outside this file.)
 | 
			
		||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
 | 
			
		||||
[am__api_version='1.15'
 | 
			
		||||
[am__api_version='1.16'
 | 
			
		||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 | 
			
		||||
dnl require some minimum version.  Point them to the right macro.
 | 
			
		||||
m4_if([$1], [1.15], [],
 | 
			
		||||
m4_if([$1], [1.16.1], [],
 | 
			
		||||
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 | 
			
		||||
])
 | 
			
		||||
 | 
			
		||||
@ -51,12 +51,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
 | 
			
		||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 | 
			
		||||
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 | 
			
		||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
 | 
			
		||||
[AM_AUTOMAKE_VERSION([1.15])dnl
 | 
			
		||||
[AM_AUTOMAKE_VERSION([1.16.1])dnl
 | 
			
		||||
m4_ifndef([AC_AUTOCONF_VERSION],
 | 
			
		||||
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 | 
			
		||||
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2011-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -118,7 +118,7 @@ AC_SUBST([AR])dnl
 | 
			
		||||
 | 
			
		||||
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -170,7 +170,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
 | 
			
		||||
 | 
			
		||||
# AM_CONDITIONAL                                            -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -201,7 +201,7 @@ AC_CONFIG_COMMANDS_PRE(
 | 
			
		||||
Usually this means the macro was only invoked conditionally.]])
 | 
			
		||||
fi])])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -392,13 +392,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
 | 
			
		||||
 | 
			
		||||
# Generate code to set up dependency tracking.              -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
# with or without modifications, as long as this notice is preserved.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
 | 
			
		||||
# ------------------------------
 | 
			
		||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 | 
			
		||||
@ -406,49 +405,41 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 | 
			
		||||
  # Older Autoconf quotes --file arguments for eval, but not when files
 | 
			
		||||
  # are listed without --file.  Let's play safe and only enable the eval
 | 
			
		||||
  # if we detect the quoting.
 | 
			
		||||
  case $CONFIG_FILES in
 | 
			
		||||
  *\'*) eval set x "$CONFIG_FILES" ;;
 | 
			
		||||
  *)   set x $CONFIG_FILES ;;
 | 
			
		||||
  esac
 | 
			
		||||
  # TODO: see whether this extra hack can be removed once we start
 | 
			
		||||
  # requiring Autoconf 2.70 or later.
 | 
			
		||||
  AS_CASE([$CONFIG_FILES],
 | 
			
		||||
          [*\'*], [eval set x "$CONFIG_FILES"],
 | 
			
		||||
          [*], [set x $CONFIG_FILES])
 | 
			
		||||
  shift
 | 
			
		||||
  for mf
 | 
			
		||||
  # Used to flag and report bootstrapping failures.
 | 
			
		||||
  am_rc=0
 | 
			
		||||
  for am_mf
 | 
			
		||||
  do
 | 
			
		||||
    # Strip MF so we end up with the name of the file.
 | 
			
		||||
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 | 
			
		||||
    # Check whether this is an Automake generated Makefile or not.
 | 
			
		||||
    # We used to match only the files named 'Makefile.in', but
 | 
			
		||||
    # some people rename them; so instead we look at the file content.
 | 
			
		||||
    # Grep'ing the first line is not enough: some people post-process
 | 
			
		||||
    # each Makefile.in and add a new line on top of each file to say so.
 | 
			
		||||
    # Grep'ing the whole file is not good either: AIX grep has a line
 | 
			
		||||
    am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
 | 
			
		||||
    # Check whether this is an Automake generated Makefile which includes
 | 
			
		||||
    # dependency-tracking related rules and includes.
 | 
			
		||||
    # Grep'ing the whole file directly is not great: AIX grep has a line
 | 
			
		||||
    # limit of 2048, but all sed's we know have understand at least 4000.
 | 
			
		||||
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 | 
			
		||||
      dirpart=`AS_DIRNAME("$mf")`
 | 
			
		||||
    else
 | 
			
		||||
      continue
 | 
			
		||||
    fi
 | 
			
		||||
    # Extract the definition of DEPDIR, am__include, and am__quote
 | 
			
		||||
    # from the Makefile without running 'make'.
 | 
			
		||||
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 | 
			
		||||
    test -z "$DEPDIR" && continue
 | 
			
		||||
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 | 
			
		||||
    test -z "$am__include" && continue
 | 
			
		||||
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 | 
			
		||||
    # Find all dependency output files, they are included files with
 | 
			
		||||
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 | 
			
		||||
    # simplest approach to changing $(DEPDIR) to its actual value in the
 | 
			
		||||
    # expansion.
 | 
			
		||||
    for file in `sed -n "
 | 
			
		||||
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 | 
			
		||||
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 | 
			
		||||
      # Make sure the directory exists.
 | 
			
		||||
      test -f "$dirpart/$file" && continue
 | 
			
		||||
      fdir=`AS_DIRNAME(["$file"])`
 | 
			
		||||
      AS_MKDIR_P([$dirpart/$fdir])
 | 
			
		||||
      # echo "creating $dirpart/$file"
 | 
			
		||||
      echo '# dummy' > "$dirpart/$file"
 | 
			
		||||
    done
 | 
			
		||||
    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
 | 
			
		||||
      || continue
 | 
			
		||||
    am_dirpart=`AS_DIRNAME(["$am_mf"])`
 | 
			
		||||
    am_filepart=`AS_BASENAME(["$am_mf"])`
 | 
			
		||||
    AM_RUN_LOG([cd "$am_dirpart" \
 | 
			
		||||
      && sed -e '/# am--include-marker/d' "$am_filepart" \
 | 
			
		||||
        | $MAKE -f - am--depfiles]) || am_rc=$?
 | 
			
		||||
  done
 | 
			
		||||
  if test $am_rc -ne 0; then
 | 
			
		||||
    AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
 | 
			
		||||
    for automatic dependency tracking.  Try re-running configure with the
 | 
			
		||||
    '--disable-dependency-tracking' option to at least be able to build
 | 
			
		||||
    the package (albeit without support for automatic dependency tracking).])
 | 
			
		||||
  fi
 | 
			
		||||
  AS_UNSET([am_dirpart])
 | 
			
		||||
  AS_UNSET([am_filepart])
 | 
			
		||||
  AS_UNSET([am_mf])
 | 
			
		||||
  AS_UNSET([am_rc])
 | 
			
		||||
  rm -f conftest-deps.mk
 | 
			
		||||
}
 | 
			
		||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
 | 
			
		||||
 | 
			
		||||
@ -457,18 +448,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
 | 
			
		||||
# -----------------------------
 | 
			
		||||
# This macro should only be invoked once -- use via AC_REQUIRE.
 | 
			
		||||
#
 | 
			
		||||
# This code is only required when automatic dependency tracking
 | 
			
		||||
# is enabled.  FIXME.  This creates each '.P' file that we will
 | 
			
		||||
# need in order to bootstrap the dependency handling code.
 | 
			
		||||
# This code is only required when automatic dependency tracking is enabled.
 | 
			
		||||
# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
 | 
			
		||||
# order to bootstrap the dependency handling code.
 | 
			
		||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
 | 
			
		||||
[AC_CONFIG_COMMANDS([depfiles],
 | 
			
		||||
     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
 | 
			
		||||
     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
 | 
			
		||||
])
 | 
			
		||||
     [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
 | 
			
		||||
 | 
			
		||||
# Do all the work for Automake.                             -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -555,8 +545,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
 | 
			
		||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
 | 
			
		||||
# For better backward compatibility.  To be removed once Automake 1.9.x
 | 
			
		||||
# dies out for good.  For more background, see:
 | 
			
		||||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 | 
			
		||||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 | 
			
		||||
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 | 
			
		||||
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 | 
			
		||||
AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
 | 
			
		||||
# We need awk for the "check" target (and possibly the TAP driver).  The
 | 
			
		||||
# system "awk" is bad on some platforms.
 | 
			
		||||
@ -623,7 +613,7 @@ END
 | 
			
		||||
Aborting the configuration process, to ensure you take notice of the issue.
 | 
			
		||||
 | 
			
		||||
You can download and install GNU coreutils to get an 'rm' implementation
 | 
			
		||||
that behaves properly: <http://www.gnu.org/software/coreutils/>.
 | 
			
		||||
that behaves properly: <https://www.gnu.org/software/coreutils/>.
 | 
			
		||||
 | 
			
		||||
If you want to complete the configuration process using your problematic
 | 
			
		||||
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 | 
			
		||||
@ -665,7 +655,7 @@ for _am_header in $config_headers :; do
 | 
			
		||||
done
 | 
			
		||||
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -686,7 +676,7 @@ if test x"${install_sh+set}" != xset; then
 | 
			
		||||
fi
 | 
			
		||||
AC_SUBST([install_sh])])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2003-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2003-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -707,7 +697,7 @@ AC_SUBST([am__leading_dot])])
 | 
			
		||||
 | 
			
		||||
# Check to see how 'make' treats includes.	            -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -715,49 +705,42 @@ AC_SUBST([am__leading_dot])])
 | 
			
		||||
 | 
			
		||||
# AM_MAKE_INCLUDE()
 | 
			
		||||
# -----------------
 | 
			
		||||
# Check to see how make treats includes.
 | 
			
		||||
# Check whether make has an 'include' directive that can support all
 | 
			
		||||
# the idioms we need for our automatic dependency tracking code.
 | 
			
		||||
AC_DEFUN([AM_MAKE_INCLUDE],
 | 
			
		||||
[am_make=${MAKE-make}
 | 
			
		||||
cat > confinc << 'END'
 | 
			
		||||
[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
 | 
			
		||||
cat > confinc.mk << 'END'
 | 
			
		||||
am__doit:
 | 
			
		||||
	@echo this is the am__doit target
 | 
			
		||||
	@echo this is the am__doit target >confinc.out
 | 
			
		||||
.PHONY: am__doit
 | 
			
		||||
END
 | 
			
		||||
# If we don't find an include directive, just comment out the code.
 | 
			
		||||
AC_MSG_CHECKING([for style of include used by $am_make])
 | 
			
		||||
am__include="#"
 | 
			
		||||
am__quote=
 | 
			
		||||
_am_result=none
 | 
			
		||||
# First try GNU make style include.
 | 
			
		||||
echo "include confinc" > confmf
 | 
			
		||||
# Ignore all kinds of additional output from 'make'.
 | 
			
		||||
case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
			
		||||
*the\ am__doit\ target*)
 | 
			
		||||
  am__include=include
 | 
			
		||||
  am__quote=
 | 
			
		||||
  _am_result=GNU
 | 
			
		||||
  ;;
 | 
			
		||||
esac
 | 
			
		||||
# Now try BSD make style include.
 | 
			
		||||
if test "$am__include" = "#"; then
 | 
			
		||||
   echo '.include "confinc"' > confmf
 | 
			
		||||
   case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
			
		||||
   *the\ am__doit\ target*)
 | 
			
		||||
     am__include=.include
 | 
			
		||||
     am__quote="\""
 | 
			
		||||
     _am_result=BSD
 | 
			
		||||
     ;;
 | 
			
		||||
   esac
 | 
			
		||||
fi
 | 
			
		||||
AC_SUBST([am__include])
 | 
			
		||||
AC_SUBST([am__quote])
 | 
			
		||||
AC_MSG_RESULT([$_am_result])
 | 
			
		||||
rm -f confinc confmf
 | 
			
		||||
])
 | 
			
		||||
# BSD make does it like this.
 | 
			
		||||
echo '.include "confinc.mk" # ignored' > confmf.BSD
 | 
			
		||||
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
 | 
			
		||||
echo 'include confinc.mk # ignored' > confmf.GNU
 | 
			
		||||
_am_result=no
 | 
			
		||||
for s in GNU BSD; do
 | 
			
		||||
  AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
 | 
			
		||||
  AS_CASE([$?:`cat confinc.out 2>/dev/null`],
 | 
			
		||||
      ['0:this is the am__doit target'],
 | 
			
		||||
      [AS_CASE([$s],
 | 
			
		||||
          [BSD], [am__include='.include' am__quote='"'],
 | 
			
		||||
          [am__include='include' am__quote=''])])
 | 
			
		||||
  if test "$am__include" != "#"; then
 | 
			
		||||
    _am_result="yes ($s style)"
 | 
			
		||||
    break
 | 
			
		||||
  fi
 | 
			
		||||
done
 | 
			
		||||
rm -f confinc.* confmf.*
 | 
			
		||||
AC_MSG_RESULT([${_am_result}])
 | 
			
		||||
AC_SUBST([am__include])])
 | 
			
		||||
AC_SUBST([am__quote])])
 | 
			
		||||
 | 
			
		||||
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1997-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1997-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -796,7 +779,7 @@ fi
 | 
			
		||||
 | 
			
		||||
# Helper functions for option handling.                     -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -825,7 +808,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
 | 
			
		||||
AC_DEFUN([_AM_IF_OPTION],
 | 
			
		||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -872,7 +855,7 @@ AC_LANG_POP([C])])
 | 
			
		||||
# For backward compatibility.
 | 
			
		||||
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -891,7 +874,7 @@ AC_DEFUN([AM_RUN_LOG],
 | 
			
		||||
 | 
			
		||||
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -972,7 +955,7 @@ AC_CONFIG_COMMANDS_PRE(
 | 
			
		||||
rm -f conftest.file
 | 
			
		||||
])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2009-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2009-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -1032,7 +1015,7 @@ AC_SUBST([AM_BACKSLASH])dnl
 | 
			
		||||
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 | 
			
		||||
])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2001-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2001-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -1060,7 +1043,7 @@ fi
 | 
			
		||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 | 
			
		||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2006-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2006-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -1079,7 +1062,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 | 
			
		||||
 | 
			
		||||
# Check how to create a tarball.                            -*- Autoconf -*-
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 2004-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 2004-2018 Free Software Foundation, Inc.
 | 
			
		||||
#
 | 
			
		||||
# This file is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# Makefile.in generated by automake 1.15 from Makefile.am.
 | 
			
		||||
# Makefile.in generated by automake 1.16.1 from Makefile.am.
 | 
			
		||||
# @configure_input@
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This Makefile.in is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -144,7 +144,9 @@ am__v_at_0 = @
 | 
			
		||||
am__v_at_1 = 
 | 
			
		||||
DEFAULT_INCLUDES = 
 | 
			
		||||
depcomp = $(SHELL) $(top_srcdir)/ac/depcomp
 | 
			
		||||
am__depfiles_maybe = depfiles
 | 
			
		||||
am__maybe_remake_depfiles = depfiles
 | 
			
		||||
am__depfiles_remade = ./$(DEPDIR)/moo-main.Po \
 | 
			
		||||
	./$(DEPDIR)/moo_gtk-gtk-main.Po
 | 
			
		||||
am__mv = mv -f
 | 
			
		||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 | 
			
		||||
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 | 
			
		||||
@ -393,8 +395,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 | 
			
		||||
	  *config.status*) \
 | 
			
		||||
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 | 
			
		||||
	  *) \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
 | 
			
		||||
	esac;
 | 
			
		||||
 | 
			
		||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 | 
			
		||||
@ -469,8 +471,14 @@ mostlyclean-compile:
 | 
			
		||||
distclean-compile:
 | 
			
		||||
	-rm -f *.tab.c
 | 
			
		||||
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/moo-main.Po@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/moo_gtk-gtk-main.Po@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/moo-main.Po@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/moo_gtk-gtk-main.Po@am__quote@ # am--include-marker
 | 
			
		||||
 | 
			
		||||
$(am__depfiles_remade):
 | 
			
		||||
	@$(MKDIR_P) $(@D)
 | 
			
		||||
	@echo '# dummy' >$@-t && $(am__mv) $@-t $@
 | 
			
		||||
 | 
			
		||||
am--depfiles: $(am__depfiles_remade)
 | 
			
		||||
 | 
			
		||||
.c.o:
 | 
			
		||||
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 | 
			
		||||
@ -582,7 +590,10 @@ cscopelist-am: $(am__tagged_files)
 | 
			
		||||
distclean-tags:
 | 
			
		||||
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 | 
			
		||||
 | 
			
		||||
distdir: $(DISTFILES)
 | 
			
		||||
distdir: $(BUILT_SOURCES)
 | 
			
		||||
	$(MAKE) $(AM_MAKEFLAGS) distdir-am
 | 
			
		||||
 | 
			
		||||
distdir-am: $(DISTFILES)
 | 
			
		||||
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	list='$(DISTFILES)'; \
 | 
			
		||||
@ -654,7 +665,8 @@ clean: clean-am
 | 
			
		||||
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
 | 
			
		||||
 | 
			
		||||
distclean: distclean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/moo-main.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/moo_gtk-gtk-main.Po
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
distclean-am: clean-am distclean-compile distclean-generic \
 | 
			
		||||
	distclean-tags
 | 
			
		||||
@ -700,7 +712,8 @@ install-ps-am:
 | 
			
		||||
installcheck-am:
 | 
			
		||||
 | 
			
		||||
maintainer-clean: maintainer-clean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/moo-main.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/moo_gtk-gtk-main.Po
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
maintainer-clean-am: distclean-am maintainer-clean-generic
 | 
			
		||||
 | 
			
		||||
@ -721,7 +734,7 @@ uninstall-am: uninstall-binPROGRAMS
 | 
			
		||||
 | 
			
		||||
.MAKE: install-am install-strip
 | 
			
		||||
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
 | 
			
		||||
	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
 | 
			
		||||
	ctags ctags-am distclean distclean-compile distclean-generic \
 | 
			
		||||
	distclean-libtool distclean-tags distdir dvi dvi-am html \
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										191
									
								
								moo/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										191
									
								
								moo/configure
									
									
									
									
										vendored
									
									
								
							@ -736,7 +736,6 @@ am__nodep
 | 
			
		||||
AMDEPBACKSLASH
 | 
			
		||||
AMDEP_FALSE
 | 
			
		||||
AMDEP_TRUE
 | 
			
		||||
am__quote
 | 
			
		||||
am__include
 | 
			
		||||
DEPDIR
 | 
			
		||||
OBJEXT
 | 
			
		||||
@ -812,7 +811,8 @@ PACKAGE_VERSION
 | 
			
		||||
PACKAGE_TARNAME
 | 
			
		||||
PACKAGE_NAME
 | 
			
		||||
PATH_SEPARATOR
 | 
			
		||||
SHELL'
 | 
			
		||||
SHELL
 | 
			
		||||
am__quote'
 | 
			
		||||
ac_subst_files=''
 | 
			
		||||
ac_user_opts='
 | 
			
		||||
enable_option_checking
 | 
			
		||||
@ -2660,7 +2660,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 | 
			
		||||
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
am__api_version='1.15'
 | 
			
		||||
am__api_version='1.16'
 | 
			
		||||
 | 
			
		||||
# Find a good install program.  We prefer a C program (faster),
 | 
			
		||||
# so one script is as good as another.  But avoid the broken or
 | 
			
		||||
@ -3176,8 +3176,8 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 | 
			
		||||
 | 
			
		||||
# For better backward compatibility.  To be removed once Automake 1.9.x
 | 
			
		||||
# dies out for good.  For more background, see:
 | 
			
		||||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 | 
			
		||||
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 | 
			
		||||
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 | 
			
		||||
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 | 
			
		||||
mkdir_p='$(MKDIR_P)'
 | 
			
		||||
 | 
			
		||||
# We need awk for the "check" target (and possibly the TAP driver).  The
 | 
			
		||||
@ -3228,7 +3228,7 @@ END
 | 
			
		||||
Aborting the configuration process, to ensure you take notice of the issue.
 | 
			
		||||
 | 
			
		||||
You can download and install GNU coreutils to get an 'rm' implementation
 | 
			
		||||
that behaves properly: <http://www.gnu.org/software/coreutils/>.
 | 
			
		||||
that behaves properly: <https://www.gnu.org/software/coreutils/>.
 | 
			
		||||
 | 
			
		||||
If you want to complete the configuration process using your problematic
 | 
			
		||||
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 | 
			
		||||
@ -3243,45 +3243,45 @@ DEPDIR="${am__leading_dot}deps"
 | 
			
		||||
 | 
			
		||||
ac_config_commands="$ac_config_commands depfiles"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
am_make=${MAKE-make}
 | 
			
		||||
cat > confinc << 'END'
 | 
			
		||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
 | 
			
		||||
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
 | 
			
		||||
cat > confinc.mk << 'END'
 | 
			
		||||
am__doit:
 | 
			
		||||
	@echo this is the am__doit target
 | 
			
		||||
	@echo this is the am__doit target >confinc.out
 | 
			
		||||
.PHONY: am__doit
 | 
			
		||||
END
 | 
			
		||||
# If we don't find an include directive, just comment out the code.
 | 
			
		||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 | 
			
		||||
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 | 
			
		||||
am__include="#"
 | 
			
		||||
am__quote=
 | 
			
		||||
_am_result=none
 | 
			
		||||
# First try GNU make style include.
 | 
			
		||||
echo "include confinc" > confmf
 | 
			
		||||
# Ignore all kinds of additional output from 'make'.
 | 
			
		||||
case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
			
		||||
*the\ am__doit\ target*)
 | 
			
		||||
  am__include=include
 | 
			
		||||
  am__quote=
 | 
			
		||||
  _am_result=GNU
 | 
			
		||||
  ;;
 | 
			
		||||
esac
 | 
			
		||||
# Now try BSD make style include.
 | 
			
		||||
if test "$am__include" = "#"; then
 | 
			
		||||
   echo '.include "confinc"' > confmf
 | 
			
		||||
   case `$am_make -s -f confmf 2> /dev/null` in #(
 | 
			
		||||
   *the\ am__doit\ target*)
 | 
			
		||||
     am__include=.include
 | 
			
		||||
     am__quote="\""
 | 
			
		||||
     _am_result=BSD
 | 
			
		||||
# BSD make does it like this.
 | 
			
		||||
echo '.include "confinc.mk" # ignored' > confmf.BSD
 | 
			
		||||
# Other make implementations (GNU, Solaris 10, AIX) do it like this.
 | 
			
		||||
echo 'include confinc.mk # ignored' > confmf.GNU
 | 
			
		||||
_am_result=no
 | 
			
		||||
for s in GNU BSD; do
 | 
			
		||||
  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
 | 
			
		||||
   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
 | 
			
		||||
   ac_status=$?
 | 
			
		||||
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 | 
			
		||||
   (exit $ac_status); }
 | 
			
		||||
  case $?:`cat confinc.out 2>/dev/null` in #(
 | 
			
		||||
  '0:this is the am__doit target') :
 | 
			
		||||
    case $s in #(
 | 
			
		||||
  BSD) :
 | 
			
		||||
    am__include='.include' am__quote='"' ;; #(
 | 
			
		||||
  *) :
 | 
			
		||||
    am__include='include' am__quote='' ;;
 | 
			
		||||
esac ;; #(
 | 
			
		||||
  *) :
 | 
			
		||||
     ;;
 | 
			
		||||
   esac
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 | 
			
		||||
$as_echo "$_am_result" >&6; }
 | 
			
		||||
rm -f confinc confmf
 | 
			
		||||
esac
 | 
			
		||||
  if test "$am__include" != "#"; then
 | 
			
		||||
    _am_result="yes ($s style)"
 | 
			
		||||
    break
 | 
			
		||||
  fi
 | 
			
		||||
done
 | 
			
		||||
rm -f confinc.* confmf.*
 | 
			
		||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
 | 
			
		||||
$as_echo "${_am_result}" >&6; }
 | 
			
		||||
 | 
			
		||||
# Check whether --enable-dependency-tracking was given.
 | 
			
		||||
if test "${enable_dependency_tracking+set}" = set; then :
 | 
			
		||||
@ -22822,7 +22822,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 | 
			
		||||
#
 | 
			
		||||
# INIT-COMMANDS
 | 
			
		||||
#
 | 
			
		||||
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 | 
			
		||||
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# The HP-UX ksh and POSIX shell print the target directory to stdout
 | 
			
		||||
@ -23821,29 +23821,35 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
 | 
			
		||||
  # Older Autoconf quotes --file arguments for eval, but not when files
 | 
			
		||||
  # are listed without --file.  Let's play safe and only enable the eval
 | 
			
		||||
  # if we detect the quoting.
 | 
			
		||||
  case $CONFIG_FILES in
 | 
			
		||||
  *\'*) eval set x "$CONFIG_FILES" ;;
 | 
			
		||||
  *)   set x $CONFIG_FILES ;;
 | 
			
		||||
  esac
 | 
			
		||||
  # TODO: see whether this extra hack can be removed once we start
 | 
			
		||||
  # requiring Autoconf 2.70 or later.
 | 
			
		||||
  case $CONFIG_FILES in #(
 | 
			
		||||
  *\'*) :
 | 
			
		||||
    eval set x "$CONFIG_FILES" ;; #(
 | 
			
		||||
  *) :
 | 
			
		||||
    set x $CONFIG_FILES ;; #(
 | 
			
		||||
  *) :
 | 
			
		||||
     ;;
 | 
			
		||||
esac
 | 
			
		||||
  shift
 | 
			
		||||
  for mf
 | 
			
		||||
  # Used to flag and report bootstrapping failures.
 | 
			
		||||
  am_rc=0
 | 
			
		||||
  for am_mf
 | 
			
		||||
  do
 | 
			
		||||
    # Strip MF so we end up with the name of the file.
 | 
			
		||||
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 | 
			
		||||
    # Check whether this is an Automake generated Makefile or not.
 | 
			
		||||
    # We used to match only the files named 'Makefile.in', but
 | 
			
		||||
    # some people rename them; so instead we look at the file content.
 | 
			
		||||
    # Grep'ing the first line is not enough: some people post-process
 | 
			
		||||
    # each Makefile.in and add a new line on top of each file to say so.
 | 
			
		||||
    # Grep'ing the whole file is not good either: AIX grep has a line
 | 
			
		||||
    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
 | 
			
		||||
    # Check whether this is an Automake generated Makefile which includes
 | 
			
		||||
    # dependency-tracking related rules and includes.
 | 
			
		||||
    # Grep'ing the whole file directly is not great: AIX grep has a line
 | 
			
		||||
    # limit of 2048, but all sed's we know have understand at least 4000.
 | 
			
		||||
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 | 
			
		||||
      dirpart=`$as_dirname -- "$mf" ||
 | 
			
		||||
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
			
		||||
	 X"$mf" : 'X\(//\)[^/]' \| \
 | 
			
		||||
	 X"$mf" : 'X\(//\)$' \| \
 | 
			
		||||
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 | 
			
		||||
$as_echo X"$mf" |
 | 
			
		||||
    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
 | 
			
		||||
      || continue
 | 
			
		||||
    am_dirpart=`$as_dirname -- "$am_mf" ||
 | 
			
		||||
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
			
		||||
	 X"$am_mf" : 'X\(//\)[^/]' \| \
 | 
			
		||||
	 X"$am_mf" : 'X\(//\)$' \| \
 | 
			
		||||
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
 | 
			
		||||
$as_echo X"$am_mf" |
 | 
			
		||||
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
			
		||||
	    s//\1/
 | 
			
		||||
	    q
 | 
			
		||||
@ -23861,53 +23867,48 @@ $as_echo X"$mf" |
 | 
			
		||||
	    q
 | 
			
		||||
	  }
 | 
			
		||||
	  s/.*/./; q'`
 | 
			
		||||
    else
 | 
			
		||||
      continue
 | 
			
		||||
    fi
 | 
			
		||||
    # Extract the definition of DEPDIR, am__include, and am__quote
 | 
			
		||||
    # from the Makefile without running 'make'.
 | 
			
		||||
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 | 
			
		||||
    test -z "$DEPDIR" && continue
 | 
			
		||||
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 | 
			
		||||
    test -z "$am__include" && continue
 | 
			
		||||
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 | 
			
		||||
    # Find all dependency output files, they are included files with
 | 
			
		||||
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 | 
			
		||||
    # simplest approach to changing $(DEPDIR) to its actual value in the
 | 
			
		||||
    # expansion.
 | 
			
		||||
    for file in `sed -n "
 | 
			
		||||
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 | 
			
		||||
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 | 
			
		||||
      # Make sure the directory exists.
 | 
			
		||||
      test -f "$dirpart/$file" && continue
 | 
			
		||||
      fdir=`$as_dirname -- "$file" ||
 | 
			
		||||
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 | 
			
		||||
	 X"$file" : 'X\(//\)[^/]' \| \
 | 
			
		||||
	 X"$file" : 'X\(//\)$' \| \
 | 
			
		||||
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 | 
			
		||||
$as_echo X"$file" |
 | 
			
		||||
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 | 
			
		||||
    am_filepart=`$as_basename -- "$am_mf" ||
 | 
			
		||||
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
 | 
			
		||||
	 X"$am_mf" : 'X\(//\)$' \| \
 | 
			
		||||
	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
 | 
			
		||||
$as_echo X/"$am_mf" |
 | 
			
		||||
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 | 
			
		||||
	    s//\1/
 | 
			
		||||
	    q
 | 
			
		||||
	  }
 | 
			
		||||
	  /^X\(\/\/\)[^/].*/{
 | 
			
		||||
	  /^X\/\(\/\/\)$/{
 | 
			
		||||
	    s//\1/
 | 
			
		||||
	    q
 | 
			
		||||
	  }
 | 
			
		||||
	  /^X\(\/\/\)$/{
 | 
			
		||||
	    s//\1/
 | 
			
		||||
	    q
 | 
			
		||||
	  }
 | 
			
		||||
	  /^X\(\/\).*/{
 | 
			
		||||
	  /^X\/\(\/\).*/{
 | 
			
		||||
	    s//\1/
 | 
			
		||||
	    q
 | 
			
		||||
	  }
 | 
			
		||||
	  s/.*/./; q'`
 | 
			
		||||
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 | 
			
		||||
      # echo "creating $dirpart/$file"
 | 
			
		||||
      echo '# dummy' > "$dirpart/$file"
 | 
			
		||||
    done
 | 
			
		||||
    { echo "$as_me:$LINENO: cd "$am_dirpart" \
 | 
			
		||||
      && sed -e '/# am--include-marker/d' "$am_filepart" \
 | 
			
		||||
        | $MAKE -f - am--depfiles" >&5
 | 
			
		||||
   (cd "$am_dirpart" \
 | 
			
		||||
      && sed -e '/# am--include-marker/d' "$am_filepart" \
 | 
			
		||||
        | $MAKE -f - am--depfiles) >&5 2>&5
 | 
			
		||||
   ac_status=$?
 | 
			
		||||
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 | 
			
		||||
   (exit $ac_status); } || am_rc=$?
 | 
			
		||||
  done
 | 
			
		||||
  if test $am_rc -ne 0; then
 | 
			
		||||
    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 | 
			
		||||
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 | 
			
		||||
as_fn_error $? "Something went wrong bootstrapping makefile fragments
 | 
			
		||||
    for automatic dependency tracking.  Try re-running configure with the
 | 
			
		||||
    '--disable-dependency-tracking' option to at least be able to build
 | 
			
		||||
    the package (albeit without support for automatic dependency tracking).
 | 
			
		||||
See \`config.log' for more details" "$LINENO" 5; }
 | 
			
		||||
  fi
 | 
			
		||||
  { am_dirpart=; unset am_dirpart;}
 | 
			
		||||
  { am_filepart=; unset am_filepart;}
 | 
			
		||||
  { am_mf=; unset am_mf;}
 | 
			
		||||
  { am_rc=; unset am_rc;}
 | 
			
		||||
  rm -f conftest-deps.mk
 | 
			
		||||
}
 | 
			
		||||
 ;;
 | 
			
		||||
    "libtool":C)
 | 
			
		||||
 | 
			
		||||
@ -13,6 +13,11 @@ class FileAccessor(InputOutputStud) from "io.file"
 | 
			
		||||
{
 | 
			
		||||
	pooldic Flag
 | 
			
		||||
	{
 | 
			
		||||
		LOCK_EX    from "LOCK_EX",
 | 
			
		||||
		LOCK_NB    from "LOCK_NB",
 | 
			
		||||
		LOCK_SH    from "LOCK_SH",
 | 
			
		||||
		LOCK_UN    from "LOCK_UN",
 | 
			
		||||
 | 
			
		||||
		//O_RDONLY := 0,
 | 
			
		||||
		//O_WRONLY := 1
 | 
			
		||||
		O_CLOEXEC  from "O_CLOEXEC",
 | 
			
		||||
@ -31,7 +36,11 @@ class FileAccessor(InputOutputStud) from "io.file"
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	method(#primitive,#lenient) _open: path flags: flags.
 | 
			
		||||
	method(#primitive) _chmod: mode.
 | 
			
		||||
	method(#primitive) _chown: uid group: gid.
 | 
			
		||||
	method(#primitive) _lock: opcode.
 | 
			
		||||
	method(#primitive) _seek: offset whence: whence.
 | 
			
		||||
	method(#primitive) _truncate: size.
 | 
			
		||||
 | 
			
		||||
	method(#class) on: path for: flags
 | 
			
		||||
	{
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# Makefile.in generated by automake 1.15 from Makefile.am.
 | 
			
		||||
# Makefile.in generated by automake 1.16.1 from Makefile.am.
 | 
			
		||||
# @configure_input@
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This Makefile.in is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -196,7 +196,23 @@ am__v_at_0 = @
 | 
			
		||||
am__v_at_1 = 
 | 
			
		||||
DEFAULT_INCLUDES = 
 | 
			
		||||
depcomp = $(SHELL) $(top_srcdir)/ac/depcomp
 | 
			
		||||
am__depfiles_maybe = depfiles
 | 
			
		||||
am__maybe_remake_depfiles = depfiles
 | 
			
		||||
am__depfiles_remade = ./$(DEPDIR)/libmoo_la-bigint.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-comp.Plo ./$(DEPDIR)/libmoo_la-debug.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-decode.Plo ./$(DEPDIR)/libmoo_la-dic.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-err.Plo ./$(DEPDIR)/libmoo_la-exec.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-fmt.Plo ./$(DEPDIR)/libmoo_la-gc.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-heap.Plo ./$(DEPDIR)/libmoo_la-mb8.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-moo.Plo ./$(DEPDIR)/libmoo_la-number.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-obj.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-pf-basic.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-pf-sys.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-pf-utf8.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-rbt.Plo ./$(DEPDIR)/libmoo_la-sym.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-utf16.Plo ./$(DEPDIR)/libmoo_la-utf8.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_la-utl.Plo ./$(DEPDIR)/libmoox_la-opt.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoox_la-poll-msw.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoox_la-std.Plo
 | 
			
		||||
am__mv = mv -f
 | 
			
		||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 | 
			
		||||
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 | 
			
		||||
@ -520,8 +536,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 | 
			
		||||
	  *config.status*) \
 | 
			
		||||
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 | 
			
		||||
	  *) \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
 | 
			
		||||
	esac;
 | 
			
		||||
 | 
			
		||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 | 
			
		||||
@ -595,31 +611,37 @@ mostlyclean-compile:
 | 
			
		||||
distclean-compile:
 | 
			
		||||
	-rm -f *.tab.c
 | 
			
		||||
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-bigint.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-comp.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-debug.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-decode.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-dic.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-err.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-exec.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-fmt.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-gc.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-heap.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-mb8.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-moo.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-number.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-obj.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-basic.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-sys.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-utf8.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-rbt.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-sym.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utf16.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utf8.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utl.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoox_la-opt.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoox_la-poll-msw.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoox_la-std.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-bigint.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-comp.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-debug.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-decode.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-dic.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-err.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-exec.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-fmt.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-gc.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-heap.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-mb8.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-moo.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-number.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-obj.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-basic.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-sys.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-pf-utf8.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-rbt.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-sym.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utf16.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utf8.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_la-utl.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoox_la-opt.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoox_la-poll-msw.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoox_la-std.Plo@am__quote@ # am--include-marker
 | 
			
		||||
 | 
			
		||||
$(am__depfiles_remade):
 | 
			
		||||
	@$(MKDIR_P) $(@D)
 | 
			
		||||
	@echo '# dummy' >$@-t && $(am__mv) $@-t $@
 | 
			
		||||
 | 
			
		||||
am--depfiles: $(am__depfiles_remade)
 | 
			
		||||
 | 
			
		||||
.c.o:
 | 
			
		||||
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 | 
			
		||||
@ -899,7 +921,10 @@ cscopelist-am: $(am__tagged_files)
 | 
			
		||||
distclean-tags:
 | 
			
		||||
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 | 
			
		||||
 | 
			
		||||
distdir: $(DISTFILES)
 | 
			
		||||
distdir: $(BUILT_SOURCES)
 | 
			
		||||
	$(MAKE) $(AM_MAKEFLAGS) distdir-am
 | 
			
		||||
 | 
			
		||||
distdir-am: $(DISTFILES)
 | 
			
		||||
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	list='$(DISTFILES)'; \
 | 
			
		||||
@ -972,7 +997,31 @@ clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \
 | 
			
		||||
	mostlyclean-am
 | 
			
		||||
 | 
			
		||||
distclean: distclean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/libmoo_la-bigint.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-comp.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-debug.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-decode.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-dic.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-err.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-exec.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-fmt.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-gc.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-heap.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-mb8.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-moo.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-number.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-obj.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-pf-basic.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-pf-sys.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-pf-utf8.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-rbt.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-sym.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-utf16.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-utf8.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-utl.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoox_la-opt.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoox_la-poll-msw.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoox_la-std.Plo
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
distclean-am: clean-am distclean-compile distclean-generic \
 | 
			
		||||
	distclean-hdr distclean-tags
 | 
			
		||||
@ -1019,7 +1068,31 @@ install-ps-am:
 | 
			
		||||
installcheck-am:
 | 
			
		||||
 | 
			
		||||
maintainer-clean: maintainer-clean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/libmoo_la-bigint.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-comp.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-debug.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-decode.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-dic.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-err.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-exec.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-fmt.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-gc.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-heap.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-mb8.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-moo.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-number.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-obj.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-pf-basic.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-pf-sys.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-pf-utf8.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-rbt.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-sym.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-utf16.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-utf8.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_la-utl.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoox_la-opt.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoox_la-poll-msw.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoox_la-std.Plo
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
maintainer-clean-am: distclean-am maintainer-clean-generic
 | 
			
		||||
 | 
			
		||||
@ -1041,21 +1114,21 @@ uninstall-am: uninstall-pkgincludeHEADERS uninstall-pkglibLTLIBRARIES
 | 
			
		||||
	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
 | 
			
		||||
.MAKE: all install-am install-data-am install-strip uninstall-am
 | 
			
		||||
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
 | 
			
		||||
	clean-libtool clean-pkglibLTLIBRARIES cscopelist-am ctags \
 | 
			
		||||
	ctags-am distclean distclean-compile distclean-generic \
 | 
			
		||||
	distclean-hdr distclean-libtool distclean-tags distdir dvi \
 | 
			
		||||
	dvi-am html html-am info info-am install install-am \
 | 
			
		||||
	install-data install-data-am install-data-hook install-dvi \
 | 
			
		||||
	install-dvi-am install-exec install-exec-am install-html \
 | 
			
		||||
	install-html-am install-info install-info-am install-man \
 | 
			
		||||
	install-pdf install-pdf-am install-pkgincludeHEADERS \
 | 
			
		||||
	install-pkglibLTLIBRARIES install-ps install-ps-am \
 | 
			
		||||
	install-strip installcheck installcheck-am installdirs \
 | 
			
		||||
	maintainer-clean maintainer-clean-generic mostlyclean \
 | 
			
		||||
	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
 | 
			
		||||
	pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
 | 
			
		||||
	uninstall-hook uninstall-pkgincludeHEADERS \
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
 | 
			
		||||
	clean-generic clean-libtool clean-pkglibLTLIBRARIES \
 | 
			
		||||
	cscopelist-am ctags ctags-am distclean distclean-compile \
 | 
			
		||||
	distclean-generic distclean-hdr distclean-libtool \
 | 
			
		||||
	distclean-tags distdir dvi dvi-am html html-am info info-am \
 | 
			
		||||
	install install-am install-data install-data-am \
 | 
			
		||||
	install-data-hook install-dvi install-dvi-am install-exec \
 | 
			
		||||
	install-exec-am install-html install-html-am install-info \
 | 
			
		||||
	install-info-am install-man install-pdf install-pdf-am \
 | 
			
		||||
	install-pkgincludeHEADERS install-pkglibLTLIBRARIES install-ps \
 | 
			
		||||
	install-ps-am install-strip installcheck installcheck-am \
 | 
			
		||||
	installdirs maintainer-clean maintainer-clean-generic \
 | 
			
		||||
	mostlyclean mostlyclean-compile mostlyclean-generic \
 | 
			
		||||
	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
 | 
			
		||||
	uninstall-am uninstall-hook uninstall-pkgincludeHEADERS \
 | 
			
		||||
	uninstall-pkglibLTLIBRARIES
 | 
			
		||||
 | 
			
		||||
.PRECIOUS: Makefile
 | 
			
		||||
 | 
			
		||||
@ -374,13 +374,14 @@ int moo_inttoooi (moo_t* moo, moo_oop_t x, moo_ooi_t* i)
 | 
			
		||||
	n = moo_inttooow(moo, x, &w);
 | 
			
		||||
	if (n < 0) 
 | 
			
		||||
	{
 | 
			
		||||
		/* negative number negated to a positve number */
 | 
			
		||||
		MOO_STATIC_ASSERT (MOO_TYPE_MAX(moo_ooi_t) + MOO_TYPE_MIN(moo_ooi_t) == -1); /* assume 2's complement */
 | 
			
		||||
		if (w > (moo_oow_t)MOO_TYPE_MAX(moo_ooi_t) + 1)
 | 
			
		||||
		{
 | 
			
		||||
			moo_seterrnum (moo, MOO_ERANGE); /* not convertable. number too small */
 | 
			
		||||
			return 0;
 | 
			
		||||
		}
 | 
			
		||||
		*i = -w;
 | 
			
		||||
		*i = -w; /* negate back */
 | 
			
		||||
	}
 | 
			
		||||
	else if (n > 0) 
 | 
			
		||||
	{
 | 
			
		||||
@ -485,13 +486,14 @@ int moo_inttointmax (moo_t* moo, moo_oop_t x, moo_intmax_t* i)
 | 
			
		||||
	n = moo_inttouintmax(moo, x, &w);
 | 
			
		||||
	if (n < 0) 
 | 
			
		||||
	{
 | 
			
		||||
		/* negative number negated to a positve number */
 | 
			
		||||
		MOO_STATIC_ASSERT (MOO_TYPE_MAX(moo_intmax_t) + MOO_TYPE_MIN(moo_intmax_t) == -1); /* assume 2's complement */
 | 
			
		||||
		if (w > (moo_uintmax_t)MOO_TYPE_MAX(moo_intmax_t) + 1)
 | 
			
		||||
		{
 | 
			
		||||
			moo_seterrnum (moo, MOO_ERANGE); /* not convertable. number too small */
 | 
			
		||||
			return 0;
 | 
			
		||||
		}
 | 
			
		||||
		*i = -w;
 | 
			
		||||
		*i = -w; /* negate it back */
 | 
			
		||||
	}
 | 
			
		||||
	else if (n > 0) 
 | 
			
		||||
	{
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# Makefile.in generated by automake 1.15 from Makefile.am.
 | 
			
		||||
# Makefile.in generated by automake 1.16.1 from Makefile.am.
 | 
			
		||||
# @configure_input@
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This Makefile.in is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -231,7 +231,15 @@ am__v_at_0 = @
 | 
			
		||||
am__v_at_1 = 
 | 
			
		||||
DEFAULT_INCLUDES = 
 | 
			
		||||
depcomp = $(SHELL) $(top_srcdir)/ac/depcomp
 | 
			
		||||
am__depfiles_maybe = depfiles
 | 
			
		||||
am__maybe_remake_depfiles = depfiles
 | 
			
		||||
am__depfiles_remade = ./$(DEPDIR)/libmoo_con_la-_con.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_ffi_la-ffi.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_io_la-io-file.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_io_la-io.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_sck_la-sck-addr.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_sck_la-sck.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_stdio_la-stdio.Plo \
 | 
			
		||||
	./$(DEPDIR)/libmoo_x11_la-x11.Plo
 | 
			
		||||
am__mv = mv -f
 | 
			
		||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 | 
			
		||||
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 | 
			
		||||
@ -512,8 +520,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 | 
			
		||||
	  *config.status*) \
 | 
			
		||||
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 | 
			
		||||
	  *) \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
 | 
			
		||||
	esac;
 | 
			
		||||
 | 
			
		||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 | 
			
		||||
@ -595,14 +603,20 @@ mostlyclean-compile:
 | 
			
		||||
distclean-compile:
 | 
			
		||||
	-rm -f *.tab.c
 | 
			
		||||
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_con_la-_con.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_ffi_la-ffi.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_io_la-io-file.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_io_la-io.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_sck_la-sck-addr.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_sck_la-sck.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_stdio_la-stdio.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_x11_la-x11.Plo@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_con_la-_con.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_ffi_la-ffi.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_io_la-io-file.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_io_la-io.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_sck_la-sck-addr.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_sck_la-sck.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_stdio_la-stdio.Plo@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmoo_x11_la-x11.Plo@am__quote@ # am--include-marker
 | 
			
		||||
 | 
			
		||||
$(am__depfiles_remade):
 | 
			
		||||
	@$(MKDIR_P) $(@D)
 | 
			
		||||
	@echo '# dummy' >$@-t && $(am__mv) $@-t $@
 | 
			
		||||
 | 
			
		||||
am--depfiles: $(am__depfiles_remade)
 | 
			
		||||
 | 
			
		||||
.c.o:
 | 
			
		||||
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 | 
			
		||||
@ -742,7 +756,10 @@ cscopelist-am: $(am__tagged_files)
 | 
			
		||||
distclean-tags:
 | 
			
		||||
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 | 
			
		||||
 | 
			
		||||
distdir: $(DISTFILES)
 | 
			
		||||
distdir: $(BUILT_SOURCES)
 | 
			
		||||
	$(MAKE) $(AM_MAKEFLAGS) distdir-am
 | 
			
		||||
 | 
			
		||||
distdir-am: $(DISTFILES)
 | 
			
		||||
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	list='$(DISTFILES)'; \
 | 
			
		||||
@ -815,7 +832,14 @@ clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
 | 
			
		||||
	clean-pkgmodexecLTLIBRARIES mostlyclean-am
 | 
			
		||||
 | 
			
		||||
distclean: distclean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/libmoo_con_la-_con.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_ffi_la-ffi.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_io_la-io-file.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_io_la-io.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_sck_la-sck-addr.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_sck_la-sck.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_stdio_la-stdio.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_x11_la-x11.Plo
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
distclean-am: clean-am distclean-compile distclean-generic \
 | 
			
		||||
	distclean-tags
 | 
			
		||||
@ -861,7 +885,14 @@ install-ps-am:
 | 
			
		||||
installcheck-am:
 | 
			
		||||
 | 
			
		||||
maintainer-clean: maintainer-clean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/libmoo_con_la-_con.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_ffi_la-ffi.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_io_la-io-file.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_io_la-io.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_sck_la-sck-addr.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_sck_la-sck.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_stdio_la-stdio.Plo
 | 
			
		||||
	-rm -f ./$(DEPDIR)/libmoo_x11_la-x11.Plo
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
maintainer-clean-am: distclean-am maintainer-clean-generic
 | 
			
		||||
 | 
			
		||||
@ -882,8 +913,8 @@ uninstall-am: uninstall-pkgmodexecLTLIBRARIES
 | 
			
		||||
 | 
			
		||||
.MAKE: install-am install-strip
 | 
			
		||||
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
 | 
			
		||||
	clean-libtool clean-noinstLTLIBRARIES \
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
 | 
			
		||||
	clean-generic clean-libtool clean-noinstLTLIBRARIES \
 | 
			
		||||
	clean-pkgmodexecLTLIBRARIES cscopelist-am ctags ctags-am \
 | 
			
		||||
	distclean distclean-compile distclean-generic \
 | 
			
		||||
	distclean-libtool distclean-tags distdir dvi dvi-am html \
 | 
			
		||||
 | 
			
		||||
@ -29,10 +29,12 @@
 | 
			
		||||
#include "../lib/moo-utl.h"
 | 
			
		||||
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
#include <sys/socket.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
#include <unistd.h>
 | 
			
		||||
#include <sys/file.h>
 | 
			
		||||
#include <sys/stat.h>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#if !defined(O_CLOEXEC)
 | 
			
		||||
#	define O_CLOEXEC 0 /* since it's not defined, 0 results in no effect when bitwise-ORed. */
 | 
			
		||||
@ -111,6 +113,137 @@ oops:
 | 
			
		||||
	return MOO_PF_FAILURE;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static moo_pfrc_t pf_chmod_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
{
 | 
			
		||||
	oop_io_t io;
 | 
			
		||||
	moo_oop_t tmp;
 | 
			
		||||
	int fd, n;
 | 
			
		||||
	moo_oow_t mode;
 | 
			
		||||
 | 
			
		||||
	io = (oop_io_t)MOO_STACK_GETRCV(moo, nargs);
 | 
			
		||||
	MOO_PF_CHECK_RCV (moo, 
 | 
			
		||||
		MOO_OOP_IS_POINTER(io) && 
 | 
			
		||||
		MOO_OBJ_BYTESOF(io) >= (MOO_SIZEOF(*io) - MOO_SIZEOF(moo_obj_t)) &&
 | 
			
		||||
		MOO_OOP_IS_SMOOI(io->handle)
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
	fd = MOO_OOP_TO_SMOOI(io->handle);
 | 
			
		||||
	if (fd <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "bad IO handle - %d", fd);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	MOO_STATIC_ASSERT (MOO_TYPE_IS_UNSIGNED(mode_t));
 | 
			
		||||
 | 
			
		||||
	tmp = MOO_STACK_GETARG(moo, nargs, 0);
 | 
			
		||||
	if (moo_inttooow(moo, tmp, &mode) == 0 || mode > MOO_TYPE_MAX(mode_t))
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "invalid mode - %O", tmp);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	n = fchmod(fd, mode);
 | 
			
		||||
	if (n <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrwithsyserr (moo, 0, errno);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	MOO_STACK_SETRET (moo, nargs, MOO_SMOOI_TO_OOP(n));
 | 
			
		||||
	return MOO_PF_SUCCESS;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static moo_pfrc_t pf_chown_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
{
 | 
			
		||||
	oop_io_t io;
 | 
			
		||||
	moo_oop_t tmp;
 | 
			
		||||
	int fd, n;
 | 
			
		||||
	moo_ooi_t uid, gid;
 | 
			
		||||
 | 
			
		||||
	io = (oop_io_t)MOO_STACK_GETRCV(moo, nargs);
 | 
			
		||||
	MOO_PF_CHECK_RCV (moo, 
 | 
			
		||||
		MOO_OOP_IS_POINTER(io) && 
 | 
			
		||||
		MOO_OBJ_BYTESOF(io) >= (MOO_SIZEOF(*io) - MOO_SIZEOF(moo_obj_t)) &&
 | 
			
		||||
		MOO_OOP_IS_SMOOI(io->handle)
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
	fd = MOO_OOP_TO_SMOOI(io->handle);
 | 
			
		||||
	if (fd <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "bad IO handle - %d", fd);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	MOO_STATIC_ASSERT (MOO_TYPE_IS_UNSIGNED(uid_t));
 | 
			
		||||
	MOO_STATIC_ASSERT (MOO_TYPE_IS_UNSIGNED(gid_t));
 | 
			
		||||
 | 
			
		||||
	tmp = MOO_STACK_GETARG(moo, nargs, 0);
 | 
			
		||||
	if (moo_inttoooi(moo, tmp, &uid) == 0 || uid > MOO_TYPE_MAX(uid_t))
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "invalid uid - %O", tmp);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tmp = MOO_STACK_GETARG(moo, nargs, 1);
 | 
			
		||||
	if (moo_inttoooi(moo, tmp, &gid) == 0 || gid > MOO_TYPE_MAX(gid_t))
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "invalid gid - %O", tmp);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (uid <= -1) uid = (uid_t)-1;
 | 
			
		||||
	if (gid <= -1) gid = (gid_t)-1;
 | 
			
		||||
 | 
			
		||||
	n = fchown(fd, uid, gid);
 | 
			
		||||
	if (n <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrwithsyserr (moo, 0, errno);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	MOO_STACK_SETRET (moo, nargs, MOO_SMOOI_TO_OOP(n));
 | 
			
		||||
	return MOO_PF_SUCCESS;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static moo_pfrc_t pf_lock_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
{
 | 
			
		||||
	oop_io_t io;
 | 
			
		||||
	moo_oop_t tmp;
 | 
			
		||||
	int fd, n;
 | 
			
		||||
 | 
			
		||||
	io = (oop_io_t)MOO_STACK_GETRCV(moo, nargs);
 | 
			
		||||
	MOO_PF_CHECK_RCV (moo, 
 | 
			
		||||
		MOO_OOP_IS_POINTER(io) && 
 | 
			
		||||
		MOO_OBJ_BYTESOF(io) >= (MOO_SIZEOF(*io) - MOO_SIZEOF(moo_obj_t)) &&
 | 
			
		||||
		MOO_OOP_IS_SMOOI(io->handle)
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
	fd = MOO_OOP_TO_SMOOI(io->handle);
 | 
			
		||||
	if (fd <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "bad IO handle - %d", fd);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tmp = MOO_STACK_GETARG(moo, nargs, 0);
 | 
			
		||||
	if (!MOO_OOP_IS_SMOOI(tmp))
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "invalid operation code - %O", tmp);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	n = flock(fd, MOO_OOP_TO_SMOOI(tmp));
 | 
			
		||||
	if (n <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrwithsyserr (moo, 0, errno);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	MOO_STACK_SETRET (moo, nargs, MOO_SMOOI_TO_OOP(n));
 | 
			
		||||
	return MOO_PF_SUCCESS;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
static moo_pfrc_t pf_seek_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
{
 | 
			
		||||
@ -136,14 +269,14 @@ static moo_pfrc_t pf_seek_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tmp = MOO_STACK_GETARG(moo, nargs, 0);
 | 
			
		||||
	if (moo_inttointmax(moo, tmp, &offset) <= 0 || offset < MOO_TYPE_MIN(off_t) || offset > MOO_TYPE_MAX(off_t))
 | 
			
		||||
	if (moo_inttointmax(moo, tmp, &offset) == 0 || offset < MOO_TYPE_MIN(off_t) || offset > MOO_TYPE_MAX(off_t))
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "invalid offset - %O", tmp);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tmp = MOO_STACK_GETARG(moo, nargs, 1);
 | 
			
		||||
	if (moo_inttoooi(moo, tmp, &whence) <= 0)
 | 
			
		||||
	if (moo_inttoooi(moo, tmp, &whence) == 0)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "invalid whence - %O", tmp);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
@ -163,6 +296,46 @@ static moo_pfrc_t pf_seek_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
	return MOO_PF_SUCCESS;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static moo_pfrc_t pf_truncate_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
{
 | 
			
		||||
	oop_io_t io;
 | 
			
		||||
	moo_oop_t tmp;
 | 
			
		||||
	moo_intmax_t size; 
 | 
			
		||||
	int fd, n;
 | 
			
		||||
 | 
			
		||||
	io = (oop_io_t)MOO_STACK_GETRCV(moo, nargs);
 | 
			
		||||
	MOO_PF_CHECK_RCV (moo, 
 | 
			
		||||
		MOO_OOP_IS_POINTER(io) && 
 | 
			
		||||
		MOO_OBJ_BYTESOF(io) >= (MOO_SIZEOF(*io) - MOO_SIZEOF(moo_obj_t)) &&
 | 
			
		||||
		MOO_OOP_IS_SMOOI(io->handle)
 | 
			
		||||
	);
 | 
			
		||||
 | 
			
		||||
	fd = MOO_OOP_TO_SMOOI(io->handle);
 | 
			
		||||
	if (fd <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "bad IO handle - %d", fd);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tmp = MOO_STACK_GETARG(moo, nargs, 0);
 | 
			
		||||
	if (moo_inttointmax(moo, tmp, &size) == 0 || size < MOO_TYPE_MIN(off_t) || size > MOO_TYPE_MAX(off_t))
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrbfmt (moo, MOO_EINVAL, "invalid size - %O", tmp);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	n = ftruncate(fd, size);
 | 
			
		||||
	if (n <= -1)
 | 
			
		||||
	{
 | 
			
		||||
		moo_seterrwithsyserr (moo, 0, errno);
 | 
			
		||||
		return MOO_PF_FAILURE;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	MOO_STACK_SETRET (moo, nargs, MOO_SMOOI_TO_OOP(n));
 | 
			
		||||
	return MOO_PF_SUCCESS;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* TODO: posix_fallocate(), posix_fadvise(), fallocate() */
 | 
			
		||||
 | 
			
		||||
/* ------------------------------------------------------------------------ */
 | 
			
		||||
 | 
			
		||||
@ -173,13 +346,28 @@ static moo_pfrc_t pf_seek_file (moo_t* moo, moo_mod_t* mod, moo_ooi_t nargs)
 | 
			
		||||
 | 
			
		||||
static moo_pfinfo_t pfinfos[] =
 | 
			
		||||
{
 | 
			
		||||
	{ I, "chmod:",           { pf_chmod_file,    1, 1  }  },
 | 
			
		||||
	{ I, "chown:group:",     { pf_chown_file,    2, 2  }  },
 | 
			
		||||
	{ I, "lock:",            { pf_lock_file,     1, 1  }  },
 | 
			
		||||
	{ I, "open:flags:",      { pf_open_file,     2, 2  }  },
 | 
			
		||||
	{ I, "open:flags:mode:", { pf_open_file,     3, 3  }  },
 | 
			
		||||
	{ I, "seek:whence:",     { pf_seek_file,     2, 2  }  }
 | 
			
		||||
	{ I, "seek:whence:",     { pf_seek_file,     2, 2  }  },
 | 
			
		||||
	{ I, "truncate:",        { pf_truncate_file, 1, 1  }  }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static moo_pvinfo_t pvinfos[] = 
 | 
			
		||||
{
 | 
			
		||||
/*
 | 
			
		||||
	{ "F_RDLCK",    { MOO_PV_OOI, (const void*)F_RDLCK } },
 | 
			
		||||
	{ "F_UNLCK",    { MOO_PV_OOI, (const void*)F_UNLCK } },
 | 
			
		||||
	{ "F_WRLCK",    { MOO_PV_OOI, (const void*)F_WRLCK } },
 | 
			
		||||
*/
 | 
			
		||||
	{ "LOCK_EX",    { MOO_PV_OOI, (const void*)LOCK_EX } },
 | 
			
		||||
	{ "LOCK_NB",    { MOO_PV_OOI, (const void*)LOCK_NB } },
 | 
			
		||||
	{ "LOCK_SH",    { MOO_PV_OOI, (const void*)LOCK_SH } },
 | 
			
		||||
	{ "LOCK_UN",    { MOO_PV_OOI, (const void*)LOCK_UN } },
 | 
			
		||||
 | 
			
		||||
	{ "O_APPEND",   { MOO_PV_OOI, (const void*)O_APPEND } },
 | 
			
		||||
	{ "O_CLOEXEC",  { MOO_PV_OOI, (const void*)O_CLOEXEC } },
 | 
			
		||||
	{ "O_CREAT",    { MOO_PV_OOI, (const void*)O_CREAT } },
 | 
			
		||||
	{ "O_EXCL",     { MOO_PV_OOI, (const void*)O_EXCL } },
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# Makefile.in generated by automake 1.15 from Makefile.am.
 | 
			
		||||
# Makefile.in generated by automake 1.16.1 from Makefile.am.
 | 
			
		||||
# @configure_input@
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This Makefile.in is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -137,7 +137,9 @@ am__v_at_0 = @
 | 
			
		||||
am__v_at_1 = 
 | 
			
		||||
DEFAULT_INCLUDES = 
 | 
			
		||||
depcomp = $(SHELL) $(top_srcdir)/ac/depcomp
 | 
			
		||||
am__depfiles_maybe = depfiles
 | 
			
		||||
am__maybe_remake_depfiles = depfiles
 | 
			
		||||
am__depfiles_remade = ./$(DEPDIR)/t-001.Po ./$(DEPDIR)/t-002.Po \
 | 
			
		||||
	./$(DEPDIR)/t-003.Po ./$(DEPDIR)/t-004.Po
 | 
			
		||||
am__mv = mv -f
 | 
			
		||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
 | 
			
		||||
	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 | 
			
		||||
@ -383,8 +385,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 | 
			
		||||
	  *config.status*) \
 | 
			
		||||
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 | 
			
		||||
	  *) \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
 | 
			
		||||
	esac;
 | 
			
		||||
 | 
			
		||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 | 
			
		||||
@ -467,10 +469,16 @@ mostlyclean-compile:
 | 
			
		||||
distclean-compile:
 | 
			
		||||
	-rm -f *.tab.c
 | 
			
		||||
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-001.Po@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-002.Po@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-003.Po@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-004.Po@am__quote@
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-001.Po@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-002.Po@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-003.Po@am__quote@ # am--include-marker
 | 
			
		||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/t-004.Po@am__quote@ # am--include-marker
 | 
			
		||||
 | 
			
		||||
$(am__depfiles_remade):
 | 
			
		||||
	@$(MKDIR_P) $(@D)
 | 
			
		||||
	@echo '# dummy' >$@-t && $(am__mv) $@-t $@
 | 
			
		||||
 | 
			
		||||
am--depfiles: $(am__depfiles_remade)
 | 
			
		||||
 | 
			
		||||
.c.o:
 | 
			
		||||
@am__fastdepCC_TRUE@	$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
 | 
			
		||||
@ -554,7 +562,10 @@ cscopelist-am: $(am__tagged_files)
 | 
			
		||||
distclean-tags:
 | 
			
		||||
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 | 
			
		||||
 | 
			
		||||
distdir: $(DISTFILES)
 | 
			
		||||
distdir: $(BUILT_SOURCES)
 | 
			
		||||
	$(MAKE) $(AM_MAKEFLAGS) distdir-am
 | 
			
		||||
 | 
			
		||||
distdir-am: $(DISTFILES)
 | 
			
		||||
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	list='$(DISTFILES)'; \
 | 
			
		||||
@ -626,7 +637,10 @@ clean: clean-am
 | 
			
		||||
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
 | 
			
		||||
 | 
			
		||||
distclean: distclean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/t-001.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/t-002.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/t-003.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/t-004.Po
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
distclean-am: clean-am distclean-compile distclean-generic \
 | 
			
		||||
	distclean-tags
 | 
			
		||||
@ -672,7 +686,10 @@ install-ps-am:
 | 
			
		||||
installcheck-am:
 | 
			
		||||
 | 
			
		||||
maintainer-clean: maintainer-clean-am
 | 
			
		||||
	-rm -rf ./$(DEPDIR)
 | 
			
		||||
		-rm -f ./$(DEPDIR)/t-001.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/t-002.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/t-003.Po
 | 
			
		||||
	-rm -f ./$(DEPDIR)/t-004.Po
 | 
			
		||||
	-rm -f Makefile
 | 
			
		||||
maintainer-clean-am: distclean-am maintainer-clean-generic
 | 
			
		||||
 | 
			
		||||
@ -693,7 +710,7 @@ uninstall-am: uninstall-binPROGRAMS
 | 
			
		||||
 | 
			
		||||
.MAKE: install-am install-strip
 | 
			
		||||
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \
 | 
			
		||||
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
 | 
			
		||||
	clean-binPROGRAMS clean-generic clean-libtool cscopelist-am \
 | 
			
		||||
	ctags ctags-am distclean distclean-compile distclean-generic \
 | 
			
		||||
	distclean-libtool distclean-tags distdir dvi dvi-am html \
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,7 @@
 | 
			
		||||
# Makefile.in generated by automake 1.15 from Makefile.am.
 | 
			
		||||
# Makefile.in generated by automake 1.16.1 from Makefile.am.
 | 
			
		||||
# @configure_input@
 | 
			
		||||
 | 
			
		||||
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
 | 
			
		||||
# Copyright (C) 1994-2018 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
# This Makefile.in is free software; the Free Software Foundation
 | 
			
		||||
# gives unlimited permission to copy and/or distribute it,
 | 
			
		||||
@ -299,8 +299,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 | 
			
		||||
	  *config.status*) \
 | 
			
		||||
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 | 
			
		||||
	  *) \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 | 
			
		||||
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
 | 
			
		||||
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
 | 
			
		||||
	esac;
 | 
			
		||||
 | 
			
		||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 | 
			
		||||
@ -324,7 +324,10 @@ ctags CTAGS:
 | 
			
		||||
cscope cscopelist:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
distdir: $(DISTFILES)
 | 
			
		||||
distdir: $(BUILT_SOURCES)
 | 
			
		||||
	$(MAKE) $(AM_MAKEFLAGS) distdir-am
 | 
			
		||||
 | 
			
		||||
distdir-am: $(DISTFILES)
 | 
			
		||||
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 | 
			
		||||
	list='$(DISTFILES)'; \
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user