Giter Club home page Giter Club logo

alien-m4's Introduction

Alien::m4 linux macos windows cygwin msys2-mingw

Find or build GNU m4

SYNOPSIS

From a Perl script

use Alien::m4;
use Env qw( @PATH );
unshift @PATH, Alien::m4->bin_dir;  # m4 is now in your path

From Alien::Base Build.PL

use Alien:Base::ModuleBuild;
my $builder = Module::Build->new(
  ...
  alien_bin_requires => {
    'Alien::m4' => '0.07',
  },
  ...
);
$builder->create_build_script;

DESCRIPTION

This package can be used by other CPAN modules that require GNU m4.

METHODS

exe

my $m4 = Alien::m4->exe;

Returns the "name" of m4. Normally this is m4, but on some platforms it may be gm4 or gnum4, or whatever is specified by $ENV{M4}.

HELPERS

m4

%{m4}

Returns the name of the m4 command. Usually just m4.

CAVEATS

Why GNU m4? Many Unixen come with BSD or other variants of m4 which are perfectly good. Unfortunately, the main use case for this module is Alien::Autotools and friends. Autoconf requires the GNU m4, probably for political reasons, possibly for technical reasons. If you are using one of these Unixen, don't despair, you can usually install the GNU version of m4 either by building from source or by installing a binary package, with either the name gm4 or gnum4, and this module will find it, and Alien::Autotools will be able to use it.

AUTHOR

Graham Ollis [email protected]

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

alien-m4's People

Contributors

plicease avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

alien-m4's Issues

Install fail on Windows

Strawberry Perl 5.24.

perl -V
Summary of my perl5 (revision 5 version 24 subversion 1) configuration:

  Platform:
    osname=MSWin32, osvers=6.3, archname=MSWin32-x64-multi-thread
    uname='Win32 strawberry-perl 5.24.1.1 #1 Mon Jan 16 02:00:29 2017 x64'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags =' -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_I
MPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.9.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='long long', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++.exe', ldflags ='-s -L"C:\berrybrew\5.24.1_64\perl\lib\CORE" -L"C:\berrybrew\5.24.1_64\c\lib"'
    libpth=C:\berrybrew\5.24.1_64\c\lib C:\berrybrew\5.24.1_64\c\x86_64-w64-mingw32\lib C:\berrybrew\5.24.1_64\c\lib\gcc
\x86_64-w64-mingw32\4.9.2
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32
 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lneta
pi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl524.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=xs.dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-mdll -s -L"C:\berrybrew\5.24.1_64\perl\lib\CORE" -L"C:\berrybrew\5.24.1_64\c\lib"'


Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY
                        PERLIO_LAYERS PERL_COPY_ON_WRITE
                        PERL_DONT_CREATE_GVSV
                        PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
                        PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_INT
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO
                        USE_PERL_ATOF
  Built under MSWin32
  Compiled at Jan 16 2017 02:12:13
  @INC:
    C:/berrybrew/5.24.1_64/perl/site/lib/MSWin32-x64-multi-thread
    C:/berrybrew/5.24.1_64/perl/site/lib
    C:/berrybrew/5.24.1_64/perl/vendor/lib
    C:/berrybrew/5.24.1_64/perl/lib
    .
cpanm (App::cpanminus) 1.7042 on perl 5.024001 built for MSWin32-x64-multi-thread
Work directory is C:\Users\CWHITE~1/.cpanm/work/1497602335.7904
You have make C:\berrybrew\5.24.1_64\c\bin\dmake.exe
You have LWP 6.26
Falling back to Archive::Tar 2.26
Searching Alien::libtool24 () on cpanmetadb ...
--> Working on Alien::libtool24
Fetching http://www.cpan.org/authors/id/P/PL/PLICEASE/Alien-libtool24-0.04.tar.gz
-> OK
Unpacking Alien-libtool24-0.04.tar.gz
Entering Alien-libtool24-0.04
Checking configure dependencies from META.json
Checking if you have File::chdir 0 ... Yes (0.1010)
Checking if you have Alien::Base::ModuleBuild 0.023 ... Yes (0.040)
Checking if you have File::ShareDir 1.03 ... Yes (1.102)
Checking if you have Capture::Tiny 0 ... Yes (0.46)
Configuring Alien-libtool24-0.04
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-libtool24' version '0.04'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Alien::m4 0.04 ... No
Checking if you have Test::More 0.94 ... Yes (1.302085)
Checking if you have Alien::Base 0.023 ... Yes (0.042)
Checking if you have File::ShareDir 1.03 ... Yes (1.102)
Checking if you have Alien::MSYS 0 ... Yes (0.07)
==> Found dependencies: Alien::m4
Searching Alien::m4 (0.04) on cpanmetadb ...
--> Working on Alien::m4
Fetching http://www.cpan.org/authors/id/P/PL/PLICEASE/Alien-m4-0.09.tar.gz
-> OK
Unpacking Alien-m4-0.09.tar.gz
Entering Alien-m4-0.09
Checking configure dependencies from META.json
Checking if you have Alien::Build::MM 0.19 ... Yes (0.44)
Checking if you have Alien::Build 0.19 ... Yes (0.44)
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.30)
Configuring Alien-m4-0.09
Running Makefile.PL
'm4' is not recognized as an internal or external command,
operable program or batch file.
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Alien::m4
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have HTML::LinkExtor 0 ... Yes (3.69)
Checking if you have ExtUtils::MakeMaker 6.52 ... Yes (7.30)
Checking if you have IO::Zlib 0 ... Yes (1.10)
Checking if you have Archive::Tar 0 ... Yes (2.26)
Checking if you have URI::Escape 0 ... Yes (3.31)
Checking if you have Alien::Build 0.25 ... Yes (0.44)
Checking if you have Alien::Build::MM 0.25 ... Yes (0.44)
Checking if you have URI 0 ... Yes (1.71)
Checking if you have Test::More 0.94 ... Yes (1.302085)
Checking if you have Alien::Base 0.036 ... Yes (0.042)
Checking if you have Test2::Suite 0.000060 ... Yes (0.000070)
Checking if you have Sort::Versions 0 ... Yes (1.62)
Checking if you have Test::Alien 0 ... Yes (0.15)
Checking if you have HTTP::Tiny 0.044 ... Yes (0.070)
Checking if you have Alien::MSYS 0.07 ... Yes (0.07)
Building and testing Alien-m4-0.09
cp lib/Alien/m4.pm blib\lib/Alien/m4.pm
"C:\berrybrew\5.24.1_64\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e prefix site C:\berrybrew\5.24.1_64\perl\lib C:\berrybrew\5.24.1_64\perl\site\lib C:\berrybrew\5.24.1_64\perl\vendor\lib
main> prefix C:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4
"C:\berrybrew\5.24.1_64\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e version 0.09
"C:\berrybrew\5.24.1_64\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e download
Alien::Build::Plugin::Core::Download> decoding html
Alien::Build::Plugin::Core::Download> candidate *http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz
Alien::Build::Plugin::Core::Download> candidate  http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz.sig
Alien::Build::Plugin::Core::Download> candidate  http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz
Alien::Build::Plugin::Core::Download> candidate  http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz.sig
Alien::Build::Plugin::Core::Download> candidate  http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz
Alien::Build::Plugin::Core::Download> candidate  http://ftp.gnu.org/gnu/m4/m4-1.4.16.tar.gz.sig
Alien::Build::Plugin::Core::Download> candidate  http://ftp.gnu.org/gnu/m4/m4-1.4.15.tar.gz
Alien::Build::Plugin::Core::Download> candidate  http://ftp.gnu.org/gnu/m4/m4-1.4.15.tar.gz.sig
Alien::Build::Plugin::Core::Download> candidate  ...
Alien::Build::Plugin::Core::Download> setting version based on archive to 1.4.18
Alien::Build::Plugin::Core::Download> downloaded m4-1.4.18.tar.gz
"C:\berrybrew\5.24.1_64\perl\bin\perl.exe" -MAlien::Build::MM=cmd -e build
Alien::Build::CommandSequence> + sh configure --prefix=C:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4 --with-pic --disable-shared
configure: WARNING: unrecognized options: --with-pic, --disable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ar... (cached) ar
checking for ranlib... ranlib
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
configure: autobuild project... GNU M4
configure: autobuild revision... 1.4.18
configure: autobuild hostname... lappy
configure: autobuild timestamp... 20170616T083938Z
checking for unsigned long long int... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for setrlimit... no
checking for sigaltstack... no
checking for canonicalize_file_name... no
checking for getcwd... yes
checking for readlink... no
checking for realpath... no
checking for _set_invalid_parameter_handler... yes
checking for fcntl... no
checking for symlink... no
checking for mempcpy... yes
checking for fpurge... no
checking for __fpurge... no
checking for __freadahead... no
checking for __freading... no
checking for getdtablesize... no
checking for getprogname... no
checking for getexecname... no
checking for gettimeofday... yes
checking for lstat... no
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for mkstemp... yes
checking for nl_langinfo... no
checking for pipe2... no
checking for isblank... yes
checking for iswctype... yes
checking for link... no
checking for secure_getenv... no
checking for getuid... no
checking for geteuid... no
checking for getgid... no
checking for getegid... no
checking for sigaction... no
checking for siginterrupt... no
checking for snprintf... yes
checking for strndup... no
checking for pipe... no
checking for vasnprintf... no
checking for wcrtomb... yes
checking for iswcntrl... yes
checking for newlocale... no
checking for setenv... no
checking for sleep... yes
checking for strdup... yes
checking for wctob... yes
checking for nl_langinfo and CODESET... no
checking for a traditional french locale... French_France.1252
checking for ucontext.h... no
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/socket.h... no
checking for stdio_ext.h... no
checking for sys/stat.h... (cached) yes
checking for getopt.h... yes
checking for sys/time.h... yes
checking for langinfo.h... no
checking for limits.h... yes
checking for xlocale.h... no
checking for math.h... yes
checking for sys/mman.h... no
checking for malloc.h... yes
checking for sys/cdefs.h... yes
checking for spawn.h... no
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for sys/wait.h... no
checking for features.h... no
checking for wctype.h... yes
checking for dirent.h... yes
checking for inttypes.h... (cached) yes
checking for working C stack overflow detection... no
checking for ld used by gcc -std=gnu99... c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for libsigsegv... no, consider installing GNU libsigsegv
checking whether // is distinct from /... yes
checking whether realpath works... no
checking if environ is properly declared... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... no
checking for EMULTIHOP value... no
checking for ENOLINK value... no
checking for EOVERFLOW value... yes
checking whether strerror_r is declared... no
checking for strerror_r... no
checking whether strerror_r returns char *... no
checking for mode_t... yes
checking for sig_atomic_t... yes
checking for working fcntl.h... no
checking for pid_t... yes
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... no
checking whether long double and double are the same... no
checking whether stdin defaults to large file offsets... yes
checking for 64-bit off_t... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether fflush works on input streams... no
checking whether stat file-mode macros are broken... no
checking for nlink_t... no
checking whether ftello is declared... yes
checking for ftello... yes
checking whether ftello works... yes
checking whether getdtablesize is declared... no
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking winsock2.h usability... yes
checking winsock2.h presence... yes
checking for winsock2.h... yes
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... no
checking where to find the exponent in a 'double'... word 1 bit 20
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether byte ordering is bigendian... no
checking whether limits.h has ULLONG_WIDTH etc.... no
checking whether getc_unlocked is declared... no
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking for wchar_t... yes
checking for max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking for multithread API to use... none
checking whether lstat correctly handles trailing slash... no
checking for a sed that does not truncate output... /usr/bin/sed
checking whether malloc, realloc, calloc are POSIX compliant... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for mbstate_t... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... none
checking for a french Unicode locale... none
checking for mmap... no
checking whether memchr works... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... no
checking for promoted mode_t type... int
checking for library containing posix_spawn... no
checking for posix_spawn... no
checking for sigset_t... no
checking for SIGPIPE... no
checking for inline... inline
checking for uid_t in sys/types.h... no
checking whether C symbols are prefixed with underscore at the linker level... no
checking whether snprintf returns a byte count as in C99... no
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wint_t... yes
checking whether wint_t is too small... yes
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking whether strerror(0) succeeds... yes
checking whether strndup is declared... no
checking whether strnlen is declared... yes
checking whether strsignal is declared... no
checking whether sys_siglist is declared... no
checking whether strstr works... yes
checking whether ldexp() can be used without linking with libm... yes
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getchar_unlocked is declared... no
checking whether putc_unlocked is declared... no
checking whether putchar_unlocked is declared... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... yes
checking whether printf supports size specifiers as in C99... no
checking whether printf supports 'long double' arguments... no
checking whether printf supports infinite 'double' arguments... no
checking whether printf supports the 'a' and 'A' directives... no
checking whether printf supports the 'F' directive... no
checking whether printf supports the 'n' directive... no
checking whether printf supports the 'ls' directive... yes
checking whether printf supports the grouping flag... no
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... no
checking whether printf supports large precisions... no
checking whether printf survives out-of-memory conditions... guessing no
checking whether to use C++... no
checking whether ungetc works on arbitrary bytes... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... no
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for LC_MESSAGES... no
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether setenv is declared... no
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether strdup is declared... yes
checking whether unsetenv is declared... no
checking whether to enable assertions... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking for __builtin_expect... yes
checking whether sigaltstack is declared... no
checking for stack_t... no
checking for winsock2.h... (cached) yes
checking whether // is distinct from /... (cached) yes
checking whether dup2 works... no
checking for setdtablesize... no
checking for error_at_line... no
checking whether fflush works on input streams... (cached) no
checking whether fflush works on input streams... (cached) no
checking whether conversion from 'int' to 'long double' works... yes
checking for __fpending... no
checking whether fpurge is declared... no
checking whether frexp works... no
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... yes
checking whether frexpl works... no
checking for fseeko... (cached) yes
checking whether fflush works on input streams... (cached) no
checking for _fseeki64... yes
checking for ftello... (cached) yes
checking whether ftello works... (cached) yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether __argv is declared... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for _ftime... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking for libsigsegv... (cached) no, consider installing GNU libsigsegv
checking whether locale.h conforms to POSIX:2001... no
checking whether struct lconv is properly defined... no
checking for struct lconv.decimal_point... yes
checking whether lseek detects pipes... no
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL pwc argument... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... no
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking for mkdtemp... no
checking for working mkstemp... no
checking for obstacks that work with any size object... no
checking whether posix_spawn_file_actions_addclose works... no
checking whether posix_spawn_file_actions_adddup2 works... no
checking whether posix_spawn_file_actions_addopen works... no
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking for confstr... no
checking for sched_setparam... no
checking for sched_setscheduler... yes
checking for setegid... no
checking for seteuid... no
checking for vfork... no
checking whether frexp works... (cached) no
checking whether ldexp can be used without linking with libm... (cached) yes
checking whether frexpl() can be used without linking with libm... (cached) yes
checking whether frexpl works... (cached) no
checking whether ldexpl() can be used without linking with libm... yes
checking whether ldexpl works... yes
checking whether ldexpl is declared... yes
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for raise... yes
checking for rawmemchr... no
checking for working re_compile_pattern... no
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking whether isblank is declared... yes
checking whether rename honors trailing slash on destination... no
checking whether rename honors trailing slash on source... yes
checking whether rename manages hard links correctly... yes
checking whether rename manages existing destinations correctly... no
checking whether rmdir works... no
checking for __secure_getenv... no
checking for issetugid... no
checking for siginfo_t... no
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking for signbit macro... yes
checking for signbit compiler built-ins... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on directories... no
checking whether stat handles trailing slashes on files... yes
checking for va_copy... yes
checking for max_align_t... (cached) no
checking whether NULL can be used in arbitrary expressions... (cached) yes
checking which flavor of printf attribute matches inttypes macros... gnu
checking for strchrnul... no
checking for winsock2.h... (cached) yes
checking for working strnlen... yes
checking for strsignal... no
checking whether _sys_siglist is declared... no
checking whether strstr works in linear time... no
checking whether strstr works... (cached) yes
checking whether strtod obeys C99... yes
checking for nlink_t... (cached) no
checking for ptrdiff_t... yes
checking for vasprintf... yes
checking for vasprintf... (cached) yes
checking for nl_langinfo... (cached) no
checking for ptrdiff_t... (cached) yes
checking for waitid... no
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether wcrtomb return value is correct... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for stdint.h... (cached) yes
checking for a traditional french locale... (cached) French_France.1252
checking for a french Unicode locale... (cached) none
checking for a traditional french locale... (cached) French_France.1252
checking for a turkish Unicode locale... none
checking for closedir... yes
checking for dirfd... no
checking whether dirfd is declared... no
checking whether dirfd is a macro... no
checking how to get the file descriptor associated with an open DIR*... no_such_member
checking whether dup works... no
checking for flexible array member... yes
checking for getpagesize... yes
checking whether getpagesize is declared... no
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... no
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... no
checking where to find the exponent in a 'double'... (cached) word 1 bit 20
checking where to find the exponent in a 'float'... (cached) word 0 bit 23
checking where to find the exponent in a 'long double'... word 2 bit 0
checking for setlocale... yes
checking for uselocale... no
checking for a traditional french locale... (cached) French_France.1252
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking for a french Unicode locale... (cached) none
checking for mmap... (cached) no
checking for mmap... (cached) no
checking for a traditional french locale... (cached) French_France.1252
checking for a french Unicode locale... (cached) none
checking for opendir... yes
checking for putenv compatible with GNU and SVID... no
checking whether _putenv is declared... yes
checking for mmap... (cached) no
checking for mmap... (cached) no
checking for readdir... yes
checking for a traditional french locale... (cached) French_France.1252
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking whether sleep is declared... yes
checking for working sleep... no
checking for working stdalign.h... yes
checking for mmap... (cached) no
checking for mmap... (cached) no
checking for unsetenv... no
checking for a traditional french locale... (cached) French_France.1252
checking for a french Unicode locale... (cached) none
checking for a traditional japanese locale... (cached) none
checking for a transitional chinese locale... (cached) none
checking whether wctob works... no
checking whether an open file can be renamed... yes
checking if changeword is wanted... no
checking which shell to use for syscmd... /bin/sh
checking if malloc debugging is wanted... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating checks/Makefile
config.status: creating examples/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing stamp-h commands
configure: WARNING: unrecognized options: --with-pic, --disable-shared
Alien::Build::CommandSequence> + make
make  all-recursive
make[1]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
Making all in .
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
Making all in examples
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/examples'
Making all in lib
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
  GEN      alloca.h
  GEN      configmake.h
  GEN      errno.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      fcntl.h
  GEN      langinfo.h
  GEN      limits.h
  GEN      locale.h
  GEN      math.h
  GEN      signal.h
  GEN      unused-parameter.h
  GEN      spawn.h
  GEN      stddef.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      sys/wait.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
make  all-am
make[3]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
  CC       gl_avltree_oset.o
  CC       binary-io.o
  CC       c-ctype.o
  CC       c-stack.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       clean-temp.o
clean-temp.c: In function 'cleanup':
clean-temp.c:200:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
             int fd = (int) (uintptr_t) element;
                            ^
clean-temp.c: In function 'register_fd':
clean-temp.c:608:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   gl_list_add_first (descriptors, (void *) (uintptr_t) fd);
                                   ^
clean-temp.c: In function 'unregister_fd':
clean-temp.c:621:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   node = gl_list_search (fds, (void *) (uintptr_t) fd);
                               ^
  CC       cloexec.o
  CC       close-stream.o
  CC       closein.o
  CC       closeout.o
  CC       dirname.o
  CC       basename.o
  CC       dirname-lgpl.o
  CC       basename-lgpl.o
  CC       stripslash.o
  CC       execute.o
execute.c:69:0: warning: "close" redefined
 #define close nonintr_close
 ^
In file included from ./fcntl.h:67:0,
                 from execute.c:25:
./unistd.h:664:0: note: this is the location of the previous definition
 #   define close rpl_close
 ^
execute.c: In function 'execute':
execute.c:152:47: warning: passing argument 3 of 'spawnvpe' from incompatible pointer type
       exitcode = spawnvpe (P_WAIT, prog_path, (const char **) prog_argv,
                                               ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from ./fcntl.h:67,
                 from execute.c:25:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
execute.c:153:28: warning: passing argument 4 of 'spawnvpe' from incompatible pointer type
                            (const char **) environ);
                            ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from ./fcntl.h:67,
                 from execute.c:25:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
execute.c:160:54: warning: passing argument 3 of 'spawnvpe' from incompatible pointer type
           exitcode = spawnvpe (P_WAIT, prog_argv[0], (const char **) prog_argv,
                                                      ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from ./fcntl.h:67,
                 from execute.c:25:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
execute.c:161:32: warning: passing argument 4 of 'spawnvpe' from incompatible pointer type
                                (const char **) environ);
                                ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from ./fcntl.h:67,
                 from execute.c:25:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
  CC       exitfail.o
  CC       fatal-signal.o
  CC       fd-hook.o
  CC       fd-safer-flag.o
  CC       dup-safer-flag.o
  CC       filenamecat.o
  CC       filenamecat-lgpl.o
  CC       fopen-safer.o
  CC       freading.o
  CC       getprogname.o
  CC       hard-locale.o
  CC       gl_linkedhash_list.o
In file included from gl_linkedhash_list.c:89:0:
gl_anylinked_list2.h: In function 'gl_linked_nx_create':
gl_anylinked_list2.h:126:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
          : (size_t)(uintptr_t) node->value);
                    ^
gl_anylinked_list2.h: In function 'gl_linked_node_nx_set_value':
gl_anylinked_list2.h:188:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
          : (size_t)(uintptr_t) elt);
                    ^
gl_anylinked_list2.h: In function 'gl_linked_nx_set_at':
gl_anylinked_list2.h:285:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
          : (size_t)(uintptr_t) elt);
                    ^
gl_anylinked_list2.h: In function 'gl_linked_search_from_to':
gl_anylinked_list2.h:329:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
        : (size_t)(uintptr_t) elt);
                  ^
gl_anylinked_list2.h: In function 'gl_linked_indexof_from_to':
gl_anylinked_list2.h:485:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
        : (size_t)(uintptr_t) elt);
                  ^
gl_anylinked_list2.h: In function 'gl_linked_nx_add_first':
gl_anylinked_list2.h:609:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      : (size_t)(uintptr_t) node->value);
                ^
gl_anylinked_list2.h: In function 'gl_linked_nx_add_last':
gl_anylinked_list2.h:647:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      : (size_t)(uintptr_t) node->value);
                ^
gl_anylinked_list2.h: In function 'gl_linked_nx_add_before':
gl_anylinked_list2.h:685:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      : (size_t)(uintptr_t) new_node->value);
                ^
gl_anylinked_list2.h: In function 'gl_linked_nx_add_after':
gl_anylinked_list2.h:723:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      : (size_t)(uintptr_t) new_node->value);
                ^
gl_anylinked_list2.h: In function 'gl_linked_nx_add_at':
gl_anylinked_list2.h:766:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      : (size_t)(uintptr_t) new_node->value);
                ^
  CC       gl_list.o
  CC       localcharset.o
  CC       glthread/lock.o
  CC       malloca.o
  CC       math.o
  CC       memchr2.o
  CC       gl_oset.o
  CC       pipe2.o
  CC       pipe2-safer.o
  CC       printf-frexp.o
  CC       printf-frexpl.o
  CC       progname.o
  CC       quotearg.o
  CC       sig-handler.o
  CC       spawn-pipe.o
spawn-pipe.c:70:0: warning: "close" redefined
 #define close nonintr_close
 ^
In file included from spawn-pipe.h:23:0,
                 from spawn-pipe.c:22:
./unistd.h:664:0: note: this is the location of the previous definition
 #   define close rpl_close
 ^
spawn-pipe.c: In function 'create_pipe':
spawn-pipe.c:194:46: warning: passing argument 3 of 'spawnvpe' from incompatible pointer type
       child = spawnvpe (P_NOWAIT, prog_path, (const char **) prog_argv,
                                              ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from spawn-pipe.h:23,
                 from spawn-pipe.c:22:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
spawn-pipe.c:195:25: warning: passing argument 4 of 'spawnvpe' from incompatible pointer type
                         (const char **) environ);
                         ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from spawn-pipe.h:23,
                 from spawn-pipe.c:22:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
spawn-pipe.c:202:53: warning: passing argument 3 of 'spawnvpe' from incompatible pointer type
           child = spawnvpe (P_NOWAIT, prog_argv[0], (const char **) prog_argv,
                                                     ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from spawn-pipe.h:23,
                 from spawn-pipe.c:22:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
spawn-pipe.c:203:29: warning: passing argument 4 of 'spawnvpe' from incompatible pointer type
                             (const char **) environ);
                             ^
In file included from c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/unistd.h:11:0,
                 from ./unistd.h:40,
                 from spawn-pipe.h:23,
                 from spawn-pipe.c:22:
c:/berrybrew/5.24.1_64/c/x86_64-w64-mingw32/include/process.h:192:20: note: expected 'char * const*' but argument is of type 'const char **'
   intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
  CC       mkstemp-safer.o
  CC       tempname.o
  CC       glthread/threadlib.o
  CC       glthread/tls.o
  CC       tmpdir.o
  CC       unistd.o
  CC       dup-safer.o
  CC       fd-safer.o
  CC       pipe-safer.o
  CC       verror.o
  CC       version-etc.o
  CC       version-etc-fsf.o
  CC       wait-process.o
  CC       wctype-h.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       gl_xlist.o
  CC       xmalloca.o
  CC       gl_xoset.o
  CC       xprintf.o
  CC       xsize.o
  CC       xstrndup.o
  CC       xvasprintf.o
  CC       xasprintf.o
  CC       asnprintf.o
  CC       asprintf.o
  CC       canonicalize-lgpl.o
  CC       close.o
  CC       dup2.o
  CC       error.o
  CC       fclose.o
  CC       fcntl.o
  CC       fflush.o
  CC       fopen.o
  CC       fpending.o
  CC       fpurge.o
  CC       freadahead.o
  CC       frexp.o
  CC       frexpl.o
  CC       fseek.o
  CC       fseeko.o
  CC       fstat.o
  CC       getdtablesize.o
  CC       gettimeofday.o
  CC       localeconv.o
  CC       lseek.o
  CC       malloc.o
  CC       mbrtowc.o
  CC       mbsinit.o
  CC       mkdtemp.o
  CC       mkstemp.o
  CC       msvc-inval.o
  CC       msvc-nothrow.o
  CC       nl_langinfo.o
  CC       obstack.o
  CC       open.o
  CC       printf-args.o
  CC       printf-parse.o
  CC       raise.o
  CC       rawmemchr.o
  CC       readlink.o
  CC       regex.o
  CC       rename.o
  CC       rmdir.o
  CC       secure_getenv.o
  CC       sigaction.o
  CC       sigprocmask.o
  CC       snprintf.o
  CC       spawn_faction_addclose.o
  CC       spawn_faction_adddup2.o
  CC       spawn_faction_addopen.o
  CC       spawn_faction_destroy.o
  CC       spawn_faction_init.o
  CC       spawnattr_destroy.o
  CC       spawnattr_init.o
  CC       spawnattr_setflags.o
  CC       spawnattr_setsigmask.o
  CC       spawni.o
  CC       spawnp.o
  CC       stat.o
  CC       stdio-write.o
  CC       strchrnul.o
  CC       strerror.o
  CC       strerror-override.o
  CC       strndup.o
  CC       strsignal.o
  CC       strstr.o
  CC       vasnprintf.o
  CC       vasprintf.o
  CC       waitpid.o
  AR       libm4.a
  GEN      charset.alias
  GEN      ref-add.sed
  GEN      ref-del.sed
make[3]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
Making all in src
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/src'
  CC       m4.o
  CC       builtin.o
  CC       debug.o
  CC       eval.o
  CC       format.o
  CC       freeze.o
  CC       input.o
  CC       macro.o
  CC       output.o
  CC       path.o
  CC       symtab.o
  CCLD     m4.exe
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/src'
Making all in doc
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/doc'
Making all in checks
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/checks'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/checks'
Making all in tests
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/tests'
  GEN      c++defs.h
  GEN      warn-on-use.h
  GEN      ctype.h
  GEN      arg-nonnull.h
  GEN      dirent.h
  GEN      inttypes.h
  GEN      unused-parameter.h
make  all-recursive
make[3]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/tests'
Making all in .
make[4]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/tests'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/tests'
make[3]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/tests'
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/tests'
make[1]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
Alien::Build::CommandSequence> + make install
make  install-recursive
make[1]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
Making install in .
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
make[3]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
Making install in examples
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/examples'
make[3]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/examples'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/examples'
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/examples'
Making install in lib
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
make  install-am
make[3]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
make[4]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
if test no = no; then \
	  case 'mingw32' in \
	    darwin[56]*) \
	      need_charset_alias=true ;; \
	    darwin* | cygwin* | mingw* | pw32* | cegcc*) \
	      need_charset_alias=false ;; \
	    *) \
	      need_charset_alias=true ;; \
	  esac ; \
	else \
	  need_charset_alias=false ; \
	fi ; \
	if $need_charset_alias; then \
	  /bin/sh /c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/build-aux/install-sh -d C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib ; \
	fi ; \
	if test -f C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.alias; then \
	  sed -f ref-add.sed C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.alias > C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.tmp ; \
	  /usr/bin/install -c -m 644 C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.tmp C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.alias ; \
	  rm -f C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.tmp ; \
	else \
	  if $need_charset_alias; then \
	    sed -f ref-add.sed charset.alias > C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.tmp ; \
	    /usr/bin/install -c -m 644 C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.tmp C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.alias ; \
	    rm -f C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/lib/charset.tmp ; \
	  fi ; \
	fi
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
make[3]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/lib'
Making install in src
make[2]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/src'
make[3]: Entering directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/src'
 /usr/bin/mkdir -p 'C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:/berrybrew/5.24.1_64/perl/site/lib/auto/share/dist/Alien-m4/bin'
/usr/bin/mkdir: cannot create directory `C:/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/destdir_9qLSC:': No such file or directory
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/c/Users/CWHITE~1/.cpanm/work/1497602335.7904/Alien-m4-0.09/_alien/build_fT4f/m4-1.4.18'
make: *** [install] Error 2
external command failed at C:/berrybrew/5.24.1_64/perl/site/lib/Alien/Build/CommandSequence.pm line 49.
dmake.exe:  Error code 130, while making '_alien\mm\build'
-> FAIL Installing Alien::m4 failed. See C:\Users\CWHITE~1\.cpanm\work\1497602335.7904\build.log for details. Retry with --force to force install it.
-> FAIL Installing the dependencies failed: Module 'Alien::m4' is not installed
-> FAIL Bailing out the installation for Alien-libtool24-0.04.

Share install failure on Fedora 29

When forcing a share install, Alien::m4 fails to build on Fedora 29, kernel version 5.0.16-200.fc29.x86_64. Build log: https://paste.fedoraproject.org/paste/CbPOCU96aLrO8CKSsgur0w/raw

freadahead.c: In function 'freadahead':
freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."
  #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib."

Centos 7 does not exhibit the same issue.

add support for m4 version 1.4.19.0.4.gcd7f

There is a version of m4 with characters which is not recognized.
$ rpm -q m4
m4-1.4.19.0.4.gcd7f-alt1.x86_64

$ m4 --version
m4 (GNU M4) 1.4.19.0.4.gcd7f
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Rene' Seindal.

see
http://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/m4-1.4.19.0.4.gcd7f-alt1.src.rpm

proposed patch:

--- Alien-m4-0.20/alienfile	2021-06-22 19:36:22.354808420 +0000
+++ Alien-m4-0.20/alienfile	2021-06-22 19:37:41.542008089 +0000
@@ -15,7 +15,7 @@
   {
     my @stdout;
     capture { @stdout = `$command --version` };
-    if(defined $stdout[0] && $stdout[0] =~ /^(GNU |)m4/i && $stdout[0] =~ /([0-9\.]+)$/)
+    if(defined $stdout[0] && $stdout[0] =~ /^(GNU |)m4/i && $stdout[0] =~ /([0-9\.]+)(?:\.\w[\w\d\.]*)?$/)
     {
       my $version = $1;
       my @version = split /\./, $version;

Search for gm4

Some systems, like netbsd have m4 as a BSD m4. They may also have gm4 which is the GNU version of m4. Investigate the if we can use this. In particular autoconf style packages need to be able to find it.

share install on macOS builds a broken bin/m4

probably unrelated:

  CC       isnanf.o
  CC       isnanl.o
  CC       lstat.o
  CC       obstack.o
obstack.c:351:31: warning: incompatible pointer types initializing 'void (*)(void) __attribute__((noreturn))' with an expression of type 'void (void)' [-Wincompatible-pointer-types]
__attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
                              ^
1 warning generated.
  CC       open.o
  CC       printf-args.o
  CC       printf-parse.o

test fail:

PERL_DL_NONLAZY=1 "/Users/ollisg/perl5/perlbrew/perls/perl-5.30.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/00_diag.t ..
1..1
ok 1 - okay
#
#
#
# HARNESS_ACTIVE=1
# HARNESS_IS_VERBOSE=1
# HARNESS_OPTIONS=
# HARNESS_VERSION=3.42
# LANG=en_US.UTF-8
# LC_COLLATE=C
# MANPATH_WITHOUT_PERLBREW=/usr/local/share/man:/usr/share/man:/opt/X11/share/man:/Library/Developer/CommandLineTools/usr/share/man
# PATH_WITHOUT_PERLBREW=/Users/ollisg/opt/postgres/11.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/VMware Fusion.app/Contents/Public
# PERL5LIB=/Users/ollisg/dev/Alien-m4/.build/hawSySmOEV/blib/lib:/Users/ollisg/dev/Alien-m4/.build/hawSySmOEV/blib/arch:/Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/lib/perl5/darwin-2level:/Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/lib/perl5:/Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/lib/perl5
# PERLBREW_CSHRC_VERSION=0.80
# PERLBREW_HOME=/Users/ollisg/.perlbrew
# PERLBREW_LIB=dev
# PERLBREW_MANPATH=/Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/man:/Users/ollisg/perl5/perlbrew/perls/perl-5.30.0/man
# PERLBREW_PATH=/Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/bin:/Users/ollisg/perl5/perlbrew/bin:/Users/ollisg/perl5/perlbrew/perls/perl-5.30.0/bin
# PERLBREW_PERL=perl-5.30.0
# PERLBREW_ROOT=/Users/ollisg/perl5/perlbrew
# PERLBREW_VERSION=0.83
# PERL_CPANM_OPT=--mirror http://mirror.sydney.wdlabs.com/cpan/ --mirror-only
# PERL_DL_NONLAZY=1
# PERL_LOCAL_LIB_ROOT=/Users/ollisg/.perlbrew/libs/perl-5.30.0@dev
# PERL_MB_OPT=--install_base /Users/ollisg/.perlbrew/libs/perl-5.30.0@dev
# PERL_MM_OPT=INSTALL_BASE=/Users/ollisg/.perlbrew/libs/perl-5.30.0@dev
# PERL_USE_UNSAFE_INC=0
# SHELL=/bin/tcsh
#
#
#
# PERL5LIB path
# /Users/ollisg/dev/Alien-m4/.build/hawSySmOEV/blib/lib
# /Users/ollisg/dev/Alien-m4/.build/hawSySmOEV/blib/arch
# /Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/lib/perl5/darwin-2level
# /Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/lib/perl5
# /Users/ollisg/.perlbrew/libs/perl-5.30.0@dev/lib/perl5
#
#
#
# perl                5.030000
# Alien::Base         2.04
# Alien::Build        2.04
# Alien::Build::MM    2.04
# Capture::Tiny       0.48
# ExtUtils::MakeMaker 7.44
# Path::Tiny          0.110
# Test2::V0           0.000127
# Test::Alien         2.04
# Test::More          1.302171
#
#
#
# exe          = m4
# version      = unknown
# install_type = share
# msys?        = installed
#
#
#
ok
t/01_use.t ...
1..1
ok 1 - use Alien::m4;
ok
t/run.t ......
ok 1 - Alien::m4 responds to: cflags libs dynamic_libs bin_dir
not ok 2 - run m4 --version

# Failed test 'run m4 --version'
# at t/run.t line 6.
#   using /Users/ollisg/dev/Alien-m4/.build/hawSySmOEV/blib/lib/auto/share/dist/Alien-m4/bin/m4
#   killed with signal: 6
ok 3 - command exited with value 0
not ok 4 - command succeeded
# [cmd]
#   /Users/ollisg/dev/Alien-m4/.build/hawSySmOEV/blib/lib/auto/share/dist/Alien-m4/bin/m4 --version

# Failed test 'command succeeded'
# at t/run.t line 9.
#   command killed with 6
1..4
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests

Test Summary Report
-------------------
t/run.t    (Wstat: 512 Tests: 4 Failed: 2)
  Failed tests:  2, 4
  Non-zero exit status: 2
Files=3, Tests=6,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.39 cusr  0.04 csys =  0.46 CPU)
Result: FAIL
Failed 1/3 test programs. 2/6 subtests failed.
make: *** [test_dynamic] Error 2
error running make test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.