alanfalloon/dateutils

can't install

Closed this issue · 0 comments

reubano@tokpro [~/Documents/Projects/dateutils]$ sudo make
Password:
echo 0.1.1.3-0731 > .version-t && mv .version-t .version
make  all-recursive
Making all in lib
rm -f alloca.h-t alloca.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
      cat ./alloca.in.h; \
    } > alloca.h-t && \
    mv -f alloca.h-t alloca.h
/bin/sh ../build-aux/ylwrap ./parse-datetime.y \
                                  y.tab.c parse-datetime.c \
                                  y.tab.h parse-datetime.h \
                                  y.output parse-datetime.output \
                                  -- bison -y   && \
    mv parse-datetime.c parse-datetime.c-t && \
    mv parse-datetime.c-t ./parse-datetime.c
rm -f arg-nonnull.h-t arg-nonnull.h && \
    sed -n -e '/GL_ARG_NONNULL/,$p' \
      < ../build-aux/snippet/arg-nonnull.h \
      > arg-nonnull.h-t && \
    mv arg-nonnull.h-t arg-nonnull.h
rm -f c++defs.h-t c++defs.h && \
    sed -n -e '/_GL_CXXDEFS/,$p' \
      < ../build-aux/snippet/c++defs.h \
      > c++defs.h-t && \
    mv c++defs.h-t c++defs.h
rm -f warn-on-use.h-t warn-on-use.h && \
    sed -n -e '/^.ifndef/,$p' \
      < ../build-aux/snippet/warn-on-use.h \
      > warn-on-use.h-t && \
    mv warn-on-use.h-t warn-on-use.h
rm -f stdint.h-t stdint.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
          -e 's/@''HAVE_STDINT_H''@/1/g' \
          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
          -e 's|@''PRAGMA_COLUMNS''@||g' \
          -e 's|@''NEXT_STDINT_H''@|<stdint.h>|g' \
          -e 's/@''HAVE_SYS_TYPES_H''@/1/g' \
          -e 's/@''HAVE_INTTYPES_H''@/1/g' \
          -e 's/@''HAVE_SYS_INTTYPES_H''@/0/g' \
          -e 's/@''HAVE_SYS_BITYPES_H''@/0/g' \
          -e 's/@''HAVE_WCHAR_H''@/1/g' \
          -e 's/@''HAVE_LONG_LONG_INT''@/1/g' \
          -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/1/g' \
          -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \
          -e 's/@''BITSIZEOF_PTRDIFF_T''@/64/g' \
          -e 's/@''PTRDIFF_T_SUFFIX''@/l/g' \
          -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/32/g' \
          -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/1/g' \
          -e 's/@''SIG_ATOMIC_T_SUFFIX''@//g' \
          -e 's/@''BITSIZEOF_SIZE_T''@/64/g' \
          -e 's/@''SIZE_T_SUFFIX''@/ul/g' \
          -e 's/@''BITSIZEOF_WCHAR_T''@/32/g' \
          -e 's/@''HAVE_SIGNED_WCHAR_T''@/1/g' \
          -e 's/@''WCHAR_T_SUFFIX''@//g' \
          -e 's/@''BITSIZEOF_WINT_T''@/32/g' \
          -e 's/@''HAVE_SIGNED_WINT_T''@/1/g' \
          -e 's/@''WINT_T_SUFFIX''@//g' \
          < ./stdint.in.h; \
    } > stdint.h-t && \
    mv stdint.h-t stdint.h
rm -f stdlib.h-t stdlib.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
          -e 's|@''PRAGMA_COLUMNS''@||g' \
          -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \
          -e 's/@''GNULIB__EXIT''@/0/g' \
          -e 's/@''GNULIB_ATOLL''@/0/g' \
          -e 's/@''GNULIB_CALLOC_POSIX''@/0/g' \
          -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/0/g' \
          -e 's/@''GNULIB_GETLOADAVG''@/0/g' \
          -e 's/@''GNULIB_GETSUBOPT''@/0/g' \
          -e 's/@''GNULIB_GRANTPT''@/0/g' \
          -e 's/@''GNULIB_MALLOC_POSIX''@/0/g' \
          -e 's/@''GNULIB_MBTOWC''@/0/g' \
          -e 's/@''GNULIB_MKDTEMP''@/0/g' \
          -e 's/@''GNULIB_MKOSTEMP''@/0/g' \
          -e 's/@''GNULIB_MKOSTEMPS''@/0/g' \
          -e 's/@''GNULIB_MKSTEMP''@/0/g' \
          -e 's/@''GNULIB_MKSTEMPS''@/0/g' \
          -e 's/@''GNULIB_POSIX_OPENPT''@/0/g' \
          -e 's/@''GNULIB_PTSNAME''@/0/g' \
          -e 's/@''GNULIB_PTSNAME_R''@/0/g' \
          -e 's/@''GNULIB_PUTENV''@/0/g' \
          -e 's/@''GNULIB_RANDOM''@/0/g' \
          -e 's/@''GNULIB_RANDOM_R''@/0/g' \
          -e 's/@''GNULIB_REALLOC_POSIX''@/0/g' \
          -e 's/@''GNULIB_REALPATH''@/0/g' \
          -e 's/@''GNULIB_RPMATCH''@/0/g' \
          -e 's/@''GNULIB_SETENV''@/1/g' \
          -e 's/@''GNULIB_STRTOD''@/0/g' \
          -e 's/@''GNULIB_STRTOLL''@/0/g' \
          -e 's/@''GNULIB_STRTOULL''@/0/g' \
          -e 's/@''GNULIB_SYSTEM_POSIX''@/0/g' \
          -e 's/@''GNULIB_UNLOCKPT''@/0/g' \
          -e 's/@''GNULIB_UNSETENV''@/1/g' \
          -e 's/@''GNULIB_WCTOMB''@/0/g' \
          < ./stdlib.in.h | \
      sed -e 's|@''HAVE__EXIT''@|1|g' \
          -e 's|@''HAVE_ATOLL''@|1|g' \
          -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \
          -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \
          -e 's|@''HAVE_GETSUBOPT''@|1|g' \
          -e 's|@''HAVE_GRANTPT''@|1|g' \
          -e 's|@''HAVE_MKDTEMP''@|1|g' \
          -e 's|@''HAVE_MKOSTEMP''@|1|g' \
          -e 's|@''HAVE_MKOSTEMPS''@|1|g' \
          -e 's|@''HAVE_MKSTEMP''@|1|g' \
          -e 's|@''HAVE_MKSTEMPS''@|1|g' \
          -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \
          -e 's|@''HAVE_PTSNAME''@|1|g' \
          -e 's|@''HAVE_PTSNAME_R''@|1|g' \
          -e 's|@''HAVE_RANDOM''@|1|g' \
          -e 's|@''HAVE_RANDOM_H''@|1|g' \
          -e 's|@''HAVE_RANDOM_R''@|1|g' \
          -e 's|@''HAVE_REALPATH''@|1|g' \
          -e 's|@''HAVE_RPMATCH''@|1|g' \
          -e 's|@''HAVE_DECL_SETENV''@|1|g' \
          -e 's|@''HAVE_STRTOD''@|1|g' \
          -e 's|@''HAVE_STRTOLL''@|1|g' \
          -e 's|@''HAVE_STRTOULL''@|1|g' \
          -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \
          -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \
          -e 's|@''HAVE_UNLOCKPT''@|1|g' \
          -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \
          -e 's|@''REPLACE_CALLOC''@|0|g' \
          -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \
          -e 's|@''REPLACE_MALLOC''@|0|g' \
          -e 's|@''REPLACE_MBTOWC''@|0|g' \
          -e 's|@''REPLACE_MKSTEMP''@|0|g' \
          -e 's|@''REPLACE_PTSNAME_R''@|0|g' \
          -e 's|@''REPLACE_PUTENV''@|0|g' \
          -e 's|@''REPLACE_RANDOM_R''@|0|g' \
          -e 's|@''REPLACE_REALLOC''@|0|g' \
          -e 's|@''REPLACE_REALPATH''@|0|g' \
          -e 's|@''REPLACE_SETENV''@|1|g' \
          -e 's|@''REPLACE_STRTOD''@|0|g' \
          -e 's|@''REPLACE_UNSETENV''@|0|g' \
          -e 's|@''REPLACE_WCTOMB''@|0|g' \
          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
          -e '/definition of _Noreturn/r ../build-aux/snippet/_Noreturn.h' \
          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
    } > stdlib.h-t && \
    mv stdlib.h-t stdlib.h
rm -f string.h-t string.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
          -e 's|@''PRAGMA_COLUMNS''@||g' \
          -e 's|@''NEXT_STRING_H''@|<string.h>|g' \
          -e 's/@''GNULIB_FFSL''@/0/g' \
          -e 's/@''GNULIB_FFSLL''@/0/g' \
          -e 's/@''GNULIB_MBSLEN''@/0/g' \
          -e 's/@''GNULIB_MBSNLEN''@/0/g' \
          -e 's/@''GNULIB_MBSCHR''@/0/g' \
          -e 's/@''GNULIB_MBSRCHR''@/0/g' \
          -e 's/@''GNULIB_MBSSTR''@/0/g' \
          -e 's/@''GNULIB_MBSCASECMP''@/0/g' \
          -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \
          -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \
          -e 's/@''GNULIB_MBSCASESTR''@/0/g' \
          -e 's/@''GNULIB_MBSCSPN''@/0/g' \
          -e 's/@''GNULIB_MBSPBRK''@/0/g' \
          -e 's/@''GNULIB_MBSSPN''@/0/g' \
          -e 's/@''GNULIB_MBSSEP''@/0/g' \
          -e 's/@''GNULIB_MBSTOK_R''@/0/g' \
          -e 's/@''GNULIB_MEMCHR''@/0/g' \
          -e 's/@''GNULIB_MEMMEM''@/0/g' \
          -e 's/@''GNULIB_MEMPCPY''@/0/g' \
          -e 's/@''GNULIB_MEMRCHR''@/0/g' \
          -e 's/@''GNULIB_RAWMEMCHR''@/0/g' \
          -e 's/@''GNULIB_STPCPY''@/0/g' \
          -e 's/@''GNULIB_STPNCPY''@/0/g' \
          -e 's/@''GNULIB_STRCHRNUL''@/0/g' \
          -e 's/@''GNULIB_STRDUP''@/0/g' \
          -e 's/@''GNULIB_STRNCAT''@/0/g' \
          -e 's/@''GNULIB_STRNDUP''@/0/g' \
          -e 's/@''GNULIB_STRNLEN''@/0/g' \
          -e 's/@''GNULIB_STRPBRK''@/0/g' \
          -e 's/@''GNULIB_STRSEP''@/0/g' \
          -e 's/@''GNULIB_STRSTR''@/0/g' \
          -e 's/@''GNULIB_STRCASESTR''@/0/g' \
          -e 's/@''GNULIB_STRTOK_R''@/0/g' \
          -e 's/@''GNULIB_STRERROR''@/1/g' \
          -e 's/@''GNULIB_STRERROR_R''@/0/g' \
          -e 's/@''GNULIB_STRSIGNAL''@/0/g' \
          -e 's/@''GNULIB_STRVERSCMP''@/0/g' \
          < ./string.in.h | \
      sed -e 's|@''HAVE_FFSL''@|1|g' \
          -e 's|@''HAVE_FFSLL''@|1|g' \
          -e 's|@''HAVE_MBSLEN''@|0|g' \
          -e 's|@''HAVE_MEMCHR''@|1|g' \
          -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \
          -e 's|@''HAVE_MEMPCPY''@|1|g' \
          -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \
          -e 's|@''HAVE_RAWMEMCHR''@|1|g' \
          -e 's|@''HAVE_STPCPY''@|1|g' \
          -e 's|@''HAVE_STPNCPY''@|1|g' \
          -e 's|@''HAVE_STRCHRNUL''@|1|g' \
          -e 's|@''HAVE_DECL_STRDUP''@|1|g' \
          -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \
          -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \
          -e 's|@''HAVE_STRPBRK''@|1|g' \
          -e 's|@''HAVE_STRSEP''@|1|g' \
          -e 's|@''HAVE_STRCASESTR''@|1|g' \
          -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \
          -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \
          -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \
          -e 's|@''HAVE_STRVERSCMP''@|1|g' \
          -e 's|@''REPLACE_STPNCPY''@|0|g' \
          -e 's|@''REPLACE_MEMCHR''@|0|g' \
          -e 's|@''REPLACE_MEMMEM''@|0|g' \
          -e 's|@''REPLACE_STRCASESTR''@|0|g' \
          -e 's|@''REPLACE_STRCHRNUL''@|0|g' \
          -e 's|@''REPLACE_STRDUP''@|0|g' \
          -e 's|@''REPLACE_STRSTR''@|0|g' \
          -e 's|@''REPLACE_STRERROR''@|1|g' \
          -e 's|@''REPLACE_STRERROR_R''@|0|g' \
          -e 's|@''REPLACE_STRNCAT''@|0|g' \
          -e 's|@''REPLACE_STRNDUP''@|0|g' \
          -e 's|@''REPLACE_STRNLEN''@|0|g' \
          -e 's|@''REPLACE_STRSIGNAL''@|0|g' \
          -e 's|@''REPLACE_STRTOK_R''@|0|g' \
          -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \
          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
          < ./string.in.h; \
    } > string.h-t && \
    mv string.h-t string.h
/opt/local/bin/gmkdir -p sys
rm -f sys/time.h-t sys/time.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
          -e 's/@''HAVE_SYS_TIME_H''@/1/g' \
          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
          -e 's|@''PRAGMA_COLUMNS''@||g' \
          -e 's|@''NEXT_SYS_TIME_H''@|<sys/time.h>|g' \
          -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \
          -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
          -e 's/@''HAVE_GETTIMEOFDAY''@/1/g' \
          -e 's/@''HAVE_STRUCT_TIMEVAL''@/1/g' \
          -e 's/@''REPLACE_GETTIMEOFDAY''@/0/g' \
          -e 's/@''REPLACE_STRUCT_TIMEVAL''@/0/g' \
          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
          < ./sys_time.in.h; \
    } > sys/time.h-t && \
    mv sys/time.h-t sys/time.h
/opt/local/bin/gmkdir -p sys
rm -f sys/types.h-t sys/types.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
          -e 's|@''PRAGMA_COLUMNS''@||g' \
          -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \
          -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
          < ./sys_types.in.h; \
    } > sys/types.h-t && \
    mv sys/types.h-t sys/types.h
rm -f time.h-t time.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
          -e 's|@''PRAGMA_COLUMNS''@||g' \
          -e 's|@''NEXT_TIME_H''@|<time.h>|g' \
          -e 's/@''GNULIB_MKTIME''@/1/g' \
          -e 's/@''GNULIB_NANOSLEEP''@/0/g' \
          -e 's/@''GNULIB_STRPTIME''@/0/g' \
          -e 's/@''GNULIB_TIMEGM''@/0/g' \
          -e 's/@''GNULIB_TIME_R''@/1/g' \
          -e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \
          -e 's|@''HAVE_NANOSLEEP''@|1|g' \
          -e 's|@''HAVE_STRPTIME''@|1|g' \
          -e 's|@''HAVE_TIMEGM''@|1|g' \
          -e 's|@''REPLACE_LOCALTIME_R''@|0|g' \
          -e 's|@''REPLACE_MKTIME''@|1|g' \
          -e 's|@''REPLACE_NANOSLEEP''@|GNULIB_PORTCHECK|g' \
          -e 's|@''REPLACE_TIMEGM''@|GNULIB_PORTCHECK|g' \
          -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
          -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \
          -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \
          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h' \
          < ./time.in.h; \
    } > time.h-t && \
    mv time.h-t time.h
rm -f unistd.h-t unistd.h && \
    { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
      sed -e 's|@''GUARD_PREFIX''@|GL|g' \
          -e 's|@''HAVE_UNISTD_H''@|1|g' \
          -e 's|@''INCLUDE_NEXT''@|include_next|g' \
          -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
          -e 's|@''PRAGMA_COLUMNS''@||g' \
          -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
          -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
          -e 's/@''GNULIB_CHDIR''@/0/g' \
          -e 's/@''GNULIB_CHOWN''@/0/g' \
          -e 's/@''GNULIB_CLOSE''@/0/g' \
          -e 's/@''GNULIB_DUP''@/0/g' \
          -e 's/@''GNULIB_DUP2''@/0/g' \
          -e 's/@''GNULIB_DUP3''@/0/g' \
          -e 's/@''GNULIB_ENVIRON''@/1/g' \
          -e 's/@''GNULIB_EUIDACCESS''@/0/g' \
          -e 's/@''GNULIB_FACCESSAT''@/0/g' \
          -e 's/@''GNULIB_FCHDIR''@/0/g' \
          -e 's/@''GNULIB_FCHOWNAT''@/0/g' \
          -e 's/@''GNULIB_FDATASYNC''@/0/g' \
          -e 's/@''GNULIB_FSYNC''@/0/g' \
          -e 's/@''GNULIB_FTRUNCATE''@/0/g' \
          -e 's/@''GNULIB_GETCWD''@/0/g' \
          -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \
          -e 's/@''GNULIB_GETDTABLESIZE''@/0/g' \
          -e 's/@''GNULIB_GETGROUPS''@/0/g' \
          -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \
          -e 's/@''GNULIB_GETLOGIN''@/0/g' \
          -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \
          -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \
          -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \
          -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \
          -e 's/@''GNULIB_ISATTY''@/0/g' \
          -e 's/@''GNULIB_LCHOWN''@/0/g' \
          -e 's/@''GNULIB_LINK''@/0/g' \
          -e 's/@''GNULIB_LINKAT''@/0/g' \
          -e 's/@''GNULIB_LSEEK''@/0/g' \
          -e 's/@''GNULIB_PIPE''@/0/g' \
          -e 's/@''GNULIB_PIPE2''@/0/g' \
          -e 's/@''GNULIB_PREAD''@/0/g' \
          -e 's/@''GNULIB_PWRITE''@/0/g' \
          -e 's/@''GNULIB_READ''@/0/g' \
          -e 's/@''GNULIB_READLINK''@/0/g' \
          -e 's/@''GNULIB_READLINKAT''@/0/g' \
          -e 's/@''GNULIB_RMDIR''@/0/g' \
          -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \
          -e 's/@''GNULIB_SLEEP''@/0/g' \
          -e 's/@''GNULIB_SYMLINK''@/0/g' \
          -e 's/@''GNULIB_SYMLINKAT''@/0/g' \
          -e 's/@''GNULIB_TTYNAME_R''@/0/g' \
          -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0/g' \
          -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \
          -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \
          -e 's/@''GNULIB_UNLINK''@/0/g' \
          -e 's/@''GNULIB_UNLINKAT''@/0/g' \
          -e 's/@''GNULIB_USLEEP''@/0/g' \
          -e 's/@''GNULIB_WRITE''@/0/g' \
          < ./unistd.in.h | \
      sed -e 's|@''HAVE_CHOWN''@|1|g' \
          -e 's|@''HAVE_DUP2''@|1|g' \
          -e 's|@''HAVE_DUP3''@|1|g' \
          -e 's|@''HAVE_EUIDACCESS''@|1|g' \
          -e 's|@''HAVE_FACCESSAT''@|1|g' \
          -e 's|@''HAVE_FCHDIR''@|1|g' \
          -e 's|@''HAVE_FCHOWNAT''@|1|g' \
          -e 's|@''HAVE_FDATASYNC''@|1|g' \
          -e 's|@''HAVE_FSYNC''@|1|g' \
          -e 's|@''HAVE_FTRUNCATE''@|1|g' \
          -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
          -e 's|@''HAVE_GETGROUPS''@|1|g' \
          -e 's|@''HAVE_GETHOSTNAME''@|1|g' \
          -e 's|@''HAVE_GETLOGIN''@|1|g' \
          -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
          -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \
          -e 's|@''HAVE_LCHOWN''@|1|g' \
          -e 's|@''HAVE_LINK''@|1|g' \
          -e 's|@''HAVE_LINKAT''@|1|g' \
          -e 's|@''HAVE_PIPE''@|1|g' \
          -e 's|@''HAVE_PIPE2''@|1|g' \
          -e 's|@''HAVE_PREAD''@|1|g' \
          -e 's|@''HAVE_PWRITE''@|1|g' \
          -e 's|@''HAVE_READLINK''@|1|g' \
          -e 's|@''HAVE_READLINKAT''@|1|g' \
          -e 's|@''HAVE_SETHOSTNAME''@|1|g' \
          -e 's|@''HAVE_SLEEP''@|1|g' \
          -e 's|@''HAVE_SYMLINK''@|1|g' \
          -e 's|@''HAVE_SYMLINKAT''@|1|g' \
          -e 's|@''HAVE_UNLINKAT''@|1|g' \
          -e 's|@''HAVE_USLEEP''@|1|g' \
          -e 's|@''HAVE_DECL_ENVIRON''@|0|g' \
          -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
          -e 's|@''HAVE_DECL_FDATASYNC''@|1|g' \
          -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
          -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
          -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
          -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
          -e 's|@''HAVE_DECL_SETHOSTNAME''@|1|g' \
          -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
          -e 's|@''HAVE_OS_H''@|0|g' \
          -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
      | \
      sed -e 's|@''REPLACE_CHOWN''@|0|g' \
          -e 's|@''REPLACE_CLOSE''@|0|g' \
          -e 's|@''REPLACE_DUP''@|0|g' \
          -e 's|@''REPLACE_DUP2''@|0|g' \
          -e 's|@''REPLACE_FCHOWNAT''@|0|g' \
          -e 's|@''REPLACE_FTRUNCATE''@|0|g' \
          -e 's|@''REPLACE_GETCWD''@|0|g' \
          -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
          -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
          -e 's|@''REPLACE_GETGROUPS''@|0|g' \
          -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
          -e 's|@''REPLACE_ISATTY''@|0|g' \
          -e 's|@''REPLACE_LCHOWN''@|0|g' \
          -e 's|@''REPLACE_LINK''@|0|g' \
          -e 's|@''REPLACE_LINKAT''@|0|g' \
          -e 's|@''REPLACE_LSEEK''@|0|g' \
          -e 's|@''REPLACE_PREAD''@|0|g' \
          -e 's|@''REPLACE_PWRITE''@|0|g' \
          -e 's|@''REPLACE_READ''@|0|g' \
          -e 's|@''REPLACE_READLINK''@|0|g' \
          -e 's|@''REPLACE_RMDIR''@|0|g' \
          -e 's|@''REPLACE_SLEEP''@|0|g' \
          -e 's|@''REPLACE_SYMLINK''@|0|g' \
          -e 's|@''REPLACE_TTYNAME_R''@|0|g' \
          -e 's|@''REPLACE_UNLINK''@|0|g' \
          -e 's|@''REPLACE_UNLINKAT''@|0|g' \
          -e 's|@''REPLACE_USLEEP''@|0|g' \
          -e 's|@''REPLACE_WRITE''@|0|g' \
          -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
          -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
          -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
          -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
          -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
    } > unistd.h-t && \
    mv unistd.h-t unistd.h
make  all-recursive
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT c-ctype.o -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.o c-ctype.c
mv -f .deps/c-ctype.Tpo .deps/c-ctype.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT exitfail.o -MD -MP -MF .deps/exitfail.Tpo -c -o exitfail.o exitfail.c
mv -f .deps/exitfail.Tpo .deps/exitfail.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT fprintftime.o -MD -MP -MF .deps/fprintftime.Tpo -c -o fprintftime.o fprintftime.c
mv -f .deps/fprintftime.Tpo .deps/fprintftime.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT gettime.o -MD -MP -MF .deps/gettime.Tpo -c -o gettime.o gettime.c
mv -f .deps/gettime.Tpo .deps/gettime.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT malloca.o -MD -MP -MF .deps/malloca.Tpo -c -o malloca.o malloca.c
mv -f .deps/malloca.Tpo .deps/malloca.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT parse-datetime.o -MD -MP -MF .deps/parse-datetime.Tpo -c -o parse-datetime.o parse-datetime.c
mv -f .deps/parse-datetime.Tpo .deps/parse-datetime.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT strftime.o -MD -MP -MF .deps/strftime.Tpo -c -o strftime.o strftime.c
mv -f .deps/strftime.Tpo .deps/strftime.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT timespec.o -MD -MP -MF .deps/timespec.Tpo -c -o timespec.o timespec.c
mv -f .deps/timespec.Tpo .deps/timespec.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c
mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT xalloc-die.o -MD -MP -MF .deps/xalloc-die.Tpo -c -o xalloc-die.o xalloc-die.c
mv -f .deps/xalloc-die.Tpo .deps/xalloc-die.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
mv -f .deps/error.Tpo .deps/error.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT mktime.o -MD -MP -MF .deps/mktime.Tpo -c -o mktime.o mktime.c
mv -f .deps/mktime.Tpo .deps/mktime.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT setenv.o -MD -MP -MF .deps/setenv.Tpo -c -o setenv.o setenv.c
mv -f .deps/setenv.Tpo .deps/setenv.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT strerror.o -MD -MP -MF .deps/strerror.Tpo -c -o strerror.o strerror.c
mv -f .deps/strerror.Tpo .deps/strerror.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include     -g -O2 -MT strerror-override.o -MD -MP -MF .deps/strerror-override.Tpo -c -o strerror-override.o strerror-override.c
mv -f .deps/strerror-override.Tpo .deps/strerror-override.Po
rm -f libdateutils.a
ar cru libdateutils.a c-ctype.o exitfail.o fprintftime.o gettime.o malloca.o parse-datetime.o strftime.o timespec.o xmalloc.o xalloc-die.o error.o mktime.o setenv.o strerror.o strerror-override.o
ranlib libdateutils.a
Making all in src
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include  -I../lib   -g -O2 -MT dateadd.o -MD -MP -MF .deps/dateadd.Tpo -c -o dateadd.o dateadd.c
dateadd.c:18:18: error: argp.h: No such file or directory
dateadd.c:34: error: array type has incomplete element type
dateadd.c:35: error: field name not in record or union initializer
dateadd.c:35: error: (near initialization for ‘options’)
dateadd.c:35: error: field name not in record or union initializer
dateadd.c:35: error: (near initialization for ‘options’)
dateadd.c:35: error: field name not in record or union initializer
dateadd.c:35: error: (near initialization for ‘options’)
dateadd.c:35: error: field name not in record or union initializer
dateadd.c:35: error: (near initialization for ‘options’)
dateadd.c:36: error: field name not in record or union initializer
dateadd.c:36: error: (near initialization for ‘options’)
dateadd.c:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘arg_parser’
dateadd.c:42: error: variable ‘argp’ has initializer but incomplete type
dateadd.c:43: error: unknown field ‘options’ specified in initializer
dateadd.c:43: warning: excess elements in struct initializer
dateadd.c:43: warning: (near initialization for ‘argp’)
dateadd.c:44: error: unknown field ‘parser’ specified in initializer
dateadd.c:44: error: ‘arg_parser’ undeclared here (not in a function)
dateadd.c:44: warning: excess elements in struct initializer
dateadd.c:44: warning: (near initialization for ‘argp’)
dateadd.c:45: error: unknown field ‘args_doc’ specified in initializer
dateadd.c:45: warning: excess elements in struct initializer
dateadd.c:45: warning: (near initialization for ‘argp’)
dateadd.c:46: error: unknown field ‘doc’ specified in initializer
dateadd.c:53: warning: excess elements in struct initializer
dateadd.c:53: warning: (near initialization for ‘argp’)
dateadd.c:54: error: unknown field ‘children’ specified in initializer
dateadd.c:54: warning: excess elements in struct initializer
dateadd.c:54: warning: (near initialization for ‘argp’)
dateadd.c:55: error: unknown field ‘help_filter’ specified in initializer
dateadd.c:55: warning: excess elements in struct initializer
dateadd.c:55: warning: (near initialization for ‘argp’)
dateadd.c:56: error: unknown field ‘argp_domain’ specified in initializer
dateadd.c:56: warning: excess elements in struct initializer
dateadd.c:56: warning: (near initialization for ‘argp’)
dateadd.c: In function ‘main’:
dateadd.c:71: warning: implicit declaration of function ‘argp_parse’
dateadd.c: At top level:
dateadd.c:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘arg_parser’
make[2]: *** [dateadd.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2