ardagnir / athame

Full vim for your shell (bash, zsh, gdb, python, etc)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot build master at OSX 10.13.3

talbergs opened this issue · comments

This is the output:

checking build system type... x86_64-apple-darwin17.4.0
checking host system type... x86_64-apple-darwin17.4.0

Beginning configuration for readline-7.0 for x86_64-apple-darwin17.4.0

checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
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 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... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
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 gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for ssize_t... yes
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for fcntl... yes
checking for kill... yes
checking for lstat... yes
checking for readlink... yes
checking for memmove... yes
checking for pselect... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strpbrk... yes
checking for tcgetattr... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for isxdigit... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for working strcoll... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for memory.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/ptem.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for type of signal functions... posix
checking if signal handlers must be reinstalled when invoked... no
checking for presence of POSIX-style sigsetjmp/siglongjmp... present
checking for lstat... yes
checking whether or not strcoll and strcmp differ... no
checking whether the ctype macros accept non-ascii characters... yes
checking whether getpw functions are declared in pwd.h... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for sig_atomic_t in signal.h... yes
checking whether signal handlers are of type void... yes
checking for TIOCSTAT in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
checking for struct dirent.d_ino... yes
checking for struct dirent.d_fileno... yes
checking libaudit.h usability... no
checking libaudit.h presence... no
checking for libaudit.h... no
checking whether AUDIT_USER_TTY is declared... no
checking for tgetent... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking mbstr.h usability... no
checking mbstr.h presence... no
checking for mbstr.h... no
checking for mbrlen... yes
checking for mbscasecmp... no
checking for mbscmp... no
checking for mbsnrtowcs... yes
checking for mbsrtowcs... yes
checking for mbschr... no
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... yes
checking for wcwidth... yes
checking for wctype... yes
checking for wcswidth... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for iswctype... yes
checking for nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking for wcwidth broken with unicode combining characters... no
checking configuration for building shared libraries... supported
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating shlib/Makefile
config.status: creating readline.pc
config.status: creating config.h
config.status: executing default commands
rm -f readline.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 complete.c
complete.c:1155:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:1155:23: note: place parentheses around the assignment to silence this warning
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
                      ^
             (                                                             )
complete.c:1155:23: note: use '==' to turn this assignment into an equality comparison
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
                      ^
                      ==
complete.c:2232:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (string = (*entry_function) (text, matches))
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
complete.c:2232:17: note: place parentheses around the assignment to silence this warning
  while (string = (*entry_function) (text, matches))
                ^
         (                                         )
complete.c:2232:17: note: use '==' to turn this assignment into an equality comparison
  while (string = (*entry_function) (text, matches))
                ^
                ==
complete.c:2306:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (entry = getpwent ())
         ~~~~~~^~~~~~~~~~~~~
complete.c:2306:16: note: place parentheses around the assignment to silence this warning
  while (entry = getpwent ())
               ^
         (                  )
complete.c:2306:16: note: use '==' to turn this assignment into an equality comparison
  while (entry = getpwent ())
               ^
               ==
3 warnings generated.
rm -f bind.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 bind.c
bind.c:479:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = l = 0; c = seq[i]; i++)
                  ~~^~~~~~~~
bind.c:479:21: note: place parentheses around the assignment to silence this warning
  for (i = l = 0; c = seq[i]; i++)
                    ^
                  (         )
bind.c:479:21: note: use '==' to turn this assignment into an equality comparison
  for (i = l = 0; c = seq[i]; i++)
                    ^
                    ==
bind.c:1258:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = start,passc = 0; c = string[i]; i++)
                            ~~^~~~~~~~~~~
bind.c:1258:31: note: place parentheses around the assignment to silence this warning
  for (i = start,passc = 0; c = string[i]; i++)
                              ^
                            (            )
bind.c:1258:31: note: use '==' to turn this assignment into an equality comparison
  for (i = start,passc = 0; c = string[i]; i++)
                              ^
                              ==
bind.c:2369:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = 0; name = names[i]; i++)
              ~~~~~^~~~~~~~~~
bind.c:2369:20: note: place parentheses around the assignment to silence this warning
  for (i = 0; name = names[i]; i++)
                   ^
              (              )
bind.c:2369:20: note: use '==' to turn this assignment into an equality comparison
  for (i = 0; name = names[i]; i++)
                   ^
                   ==
3 warnings generated.
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 input.c
input.c:455:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (c = _rl_next_macro_key ())
          ~~^~~~~~~~~~~~~~~~~~~~~~~
input.c:455:13: note: place parentheses around the assignment to silence this warning
      if (c = _rl_next_macro_key ())
            ^
          (                        )
input.c:455:13: note: use '==' to turn this assignment into an equality comparison
      if (c = _rl_next_macro_key ())
            ^
            ==
1 warning generated.
rm -f callback.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 text.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 nls.c
rm -f misc.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 misc.c
misc.c:458:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (ul = (UNDO_LIST *)entry->data)
          ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:458:14: note: place parentheses around the assignment to silence this warning
      if (ul = (UNDO_LIST *)entry->data)
             ^
          (                            )
misc.c:458:14: note: use '==' to turn this assignment into an equality comparison
      if (ul = (UNDO_LIST *)entry->data)
             ^
             ==
misc.c:505:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (ul = (UNDO_LIST *)hent->data)
          ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
misc.c:505:14: note: place parentheses around the assignment to silence this warning
      if (ul = (UNDO_LIST *)hent->data)
             ^
          (                           )
misc.c:505:14: note: use '==' to turn this assignment into an equality comparison
      if (ul = (UNDO_LIST *)hent->data)
             ^
             ==
2 warnings generated.
rm -f history.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 histexpand.c
histexpand.c:212:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (local_index = i; c = string[i]; i++)
                        ~~^~~~~~~~~~~
histexpand.c:212:27: note: place parentheses around the assignment to silence this warning
  for (local_index = i; c = string[i]; i++)
                          ^
                        (            )
histexpand.c:212:27: note: use '==' to turn this assignment into an equality comparison
  for (local_index = i; c = string[i]; i++)
                          ^
                          ==
1 warning generated.
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 shell.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 mbutil.c
rm -f tilde.o
gcc -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -DREADLINE_LIBRARY -c ./tilde.c
./tilde.c:199:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (result = strchr (string, '~'))
      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
./tilde.c:199:14: note: place parentheses around the assignment to silence this warning
  if (result = strchr (string, '~'))
             ^
      (                            )
./tilde.c:199:14: note: use '==' to turn this assignment into an equality comparison
  if (result = strchr (string, '~'))
             ^
             ==
1 warning generated.
rm -f colors.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 colors.c
rm -f parse-colors.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 parse-colors.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 xmalloc.c
rm -f xfree.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 xfree.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H   -I. -I.  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; /Library/Developer/CommandLineTools/usr/bin/make  all )
rm -f readline.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o readline.o ../readline.c
mv readline.o readline.so
rm -f vi_mode.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o vi_mode.o ../vi_mode.c
mv vi_mode.o vi_mode.so
rm -f funmap.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o funmap.o ../funmap.c
mv funmap.o funmap.so
rm -f keymaps.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o keymaps.o ../keymaps.c
mv keymaps.o keymaps.so
rm -f parens.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o parens.o ../parens.c
mv parens.o parens.so
rm -f search.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o search.o ../search.c
mv search.o search.so
rm -f rltty.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o rltty.o ../rltty.c
mv rltty.o rltty.so
rm -f complete.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o complete.o ../complete.c
../complete.c:1155:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../complete.c:1155:23: note: place parentheses around the assignment to silence this warning
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
                      ^
             (                                                             )
../complete.c:1155:23: note: use '==' to turn this assignment into an equality comparison
      while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
                      ^
                      ==
../complete.c:2232:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (string = (*entry_function) (text, matches))
         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../complete.c:2232:17: note: place parentheses around the assignment to silence this warning
  while (string = (*entry_function) (text, matches))
                ^
         (                                         )
../complete.c:2232:17: note: use '==' to turn this assignment into an equality comparison
  while (string = (*entry_function) (text, matches))
                ^
                ==
../complete.c:2306:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (entry = getpwent ())
         ~~~~~~^~~~~~~~~~~~~
../complete.c:2306:16: note: place parentheses around the assignment to silence this warning
  while (entry = getpwent ())
               ^
         (                  )
../complete.c:2306:16: note: use '==' to turn this assignment into an equality comparison
  while (entry = getpwent ())
               ^
               ==
3 warnings generated.
mv complete.o complete.so
rm -f bind.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o bind.o ../bind.c
../bind.c:479:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = l = 0; c = seq[i]; i++)
                  ~~^~~~~~~~
../bind.c:479:21: note: place parentheses around the assignment to silence this warning
  for (i = l = 0; c = seq[i]; i++)
                    ^
                  (         )
../bind.c:479:21: note: use '==' to turn this assignment into an equality comparison
  for (i = l = 0; c = seq[i]; i++)
                    ^
                    ==
../bind.c:1258:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = start,passc = 0; c = string[i]; i++)
                            ~~^~~~~~~~~~~
../bind.c:1258:31: note: place parentheses around the assignment to silence this warning
  for (i = start,passc = 0; c = string[i]; i++)
                              ^
                            (            )
../bind.c:1258:31: note: use '==' to turn this assignment into an equality comparison
  for (i = start,passc = 0; c = string[i]; i++)
                              ^
                              ==
../bind.c:2369:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = 0; name = names[i]; i++)
              ~~~~~^~~~~~~~~~
../bind.c:2369:20: note: place parentheses around the assignment to silence this warning
  for (i = 0; name = names[i]; i++)
                   ^
              (              )
../bind.c:2369:20: note: use '==' to turn this assignment into an equality comparison
  for (i = 0; name = names[i]; i++)
                   ^
                   ==
3 warnings generated.
mv bind.o bind.so
rm -f isearch.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o isearch.o ../isearch.c
mv isearch.o isearch.so
rm -f display.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o display.o ../display.c
mv display.o display.so
rm -f signals.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o signals.o ../signals.c
mv signals.o signals.so
rm -f util.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o util.o ../util.c
mv util.o util.so
rm -f kill.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o kill.o ../kill.c
mv kill.o kill.so
rm -f undo.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o undo.o ../undo.c
mv undo.o undo.so
rm -f macro.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o macro.o ../macro.c
mv macro.o macro.so
rm -f input.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o input.o ../input.c
../input.c:455:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (c = _rl_next_macro_key ())
          ~~^~~~~~~~~~~~~~~~~~~~~~~
../input.c:455:13: note: place parentheses around the assignment to silence this warning
      if (c = _rl_next_macro_key ())
            ^
          (                        )
../input.c:455:13: note: use '==' to turn this assignment into an equality comparison
      if (c = _rl_next_macro_key ())
            ^
            ==
1 warning generated.
mv input.o input.so
rm -f callback.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o callback.o ../callback.c
mv callback.o callback.so
rm -f terminal.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o terminal.o ../terminal.c
mv terminal.o terminal.so
rm -f text.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o text.o ../text.c
mv text.o text.so
rm -f nls.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o nls.o ../nls.c
mv nls.o nls.so
rm -f misc.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o misc.o ../misc.c
../misc.c:458:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (ul = (UNDO_LIST *)entry->data)
          ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../misc.c:458:14: note: place parentheses around the assignment to silence this warning
      if (ul = (UNDO_LIST *)entry->data)
             ^
          (                            )
../misc.c:458:14: note: use '==' to turn this assignment into an equality comparison
      if (ul = (UNDO_LIST *)entry->data)
             ^
             ==
../misc.c:505:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (ul = (UNDO_LIST *)hent->data)
          ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
../misc.c:505:14: note: place parentheses around the assignment to silence this warning
      if (ul = (UNDO_LIST *)hent->data)
             ^
          (                           )
../misc.c:505:14: note: use '==' to turn this assignment into an equality comparison
      if (ul = (UNDO_LIST *)hent->data)
             ^
             ==
2 warnings generated.
mv misc.o misc.so
rm -f history.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o history.o ../history.c
mv history.o history.so
rm -f histexpand.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o histexpand.o ../histexpand.c
../histexpand.c:212:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (local_index = i; c = string[i]; i++)
                        ~~^~~~~~~~~~~
../histexpand.c:212:27: note: place parentheses around the assignment to silence this warning
  for (local_index = i; c = string[i]; i++)
                          ^
                        (            )
../histexpand.c:212:27: note: use '==' to turn this assignment into an equality comparison
  for (local_index = i; c = string[i]; i++)
                          ^
                          ==
1 warning generated.
mv histexpand.o histexpand.so
rm -f histfile.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o histfile.o ../histfile.c
mv histfile.o histfile.so
rm -f histsearch.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o histsearch.o ../histsearch.c
mv histsearch.o histsearch.so
rm -f shell.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o shell.o ../shell.c
mv shell.o shell.so
rm -f mbutil.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o mbutil.o ../mbutil.c
mv mbutil.o mbutil.so
rm -f tilde.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -DREADLINE_LIBRARY -c -o tilde.o ../tilde.c
../tilde.c:199:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (result = strchr (string, '~'))
      ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
../tilde.c:199:14: note: place parentheses around the assignment to silence this warning
  if (result = strchr (string, '~'))
             ^
      (                            )
../tilde.c:199:14: note: use '==' to turn this assignment into an equality comparison
  if (result = strchr (string, '~'))
             ^
             ==
1 warning generated.
mv tilde.o tilde.so
rm -f colors.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o colors.o ../colors.c
mv colors.o colors.so
rm -f parse-colors.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o parse-colors.o ../parse-colors.c
mv parse-colors.o parse-colors.so
rm -f xmalloc.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o xmalloc.o ../xmalloc.c
mv xmalloc.o xmalloc.so
rm -f xfree.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o xfree.o ../xfree.c
mv xfree.o xfree.so
rm -f compat.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o compat.o ../compat.c
mv compat.o compat.so
rm -f athame.so
gcc -c -DHAVE_CONFIG_H   -I. -I.. -I..  -DRL_LIBRARY_VERSION='"7.0"' -DVIMBED_LOCATION='"/usr/lib/athame_readline"' -DATHAME_VIM_BIN='"/usr/local/bin/vim"' -DATHAME_USE_JOBS_DEFAULT='1' -std=c99 -fno-common -o athame.o ../athame.c
In file included from ../athame.c:43:
../athame_intermediary.h:106:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
  return rl_done || rl_num_chars_to_read > 0 && rl_end >= rl_num_chars_to_read;
                 ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../athame_intermediary.h:106:46: note: place parentheses around the '&&' expression to silence this warning
  return rl_done || rl_num_chars_to_read > 0 && rl_end >= rl_num_chars_to_read;
                                             ^
                    (                                                         )
In file included from ../athame.c:44:
../athame_util.h:341:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (history_line = ap_get_history_next()) {
         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
../athame_util.h:341:23: note: place parentheses around the assignment to silence this warning
  while (history_line = ap_get_history_next()) {
                      ^
         (                                   )
../athame_util.h:341:23: note: use '==' to turn this assignment into an equality comparison
  while (history_line = ap_get_history_next()) {
                      ^
                      ==
../athame_util.h:344:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    while (history_line = strstr(history_line, "\n")) {
           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../athame_util.h:344:25: note: place parentheses around the assignment to silence this warning
    while (history_line = strstr(history_line, "\n")) {
                        ^
           (                                        )
../athame_util.h:344:25: note: use '==' to turn this assignment into an equality comparison
    while (history_line = strstr(history_line, "\n")) {
                        ^
                        ==
../athame_util.h:1217:1: error: unknown type name 'sighandler_t'
sighandler_t old_sigint = 0;
^
../athame_util.h:1238:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (sig_result = (int)ap_handle_signals()) {
          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../athame_util.h:1238:22: note: place parentheses around the assignment to silence this warning
      if (sig_result = (int)ap_handle_signals()) {
                     ^
          (                                    )
../athame_util.h:1238:22: note: use '==' to turn this assignment into an equality comparison
      if (sig_result = (int)ap_handle_signals()) {
                     ^
                     ==
4 warnings and 1 error generated.
make[1]: *** [athame.so] Error 1
make: *** [shared] Error 2

Tried branches "osx" and "1.0", same error ../athame_util.h:1217:1: error: unknown type name 'sighandler_t'

I don't have a Mac to test this on right now, but you might be able to fix it by adding "typedef void (*sighandler_t) (int);" to the top of athame.c

Tried that, no success. Parts of output:

Test Failed
Failed tests: 1 2 3 4 5

If i press "v" to view failures, every tests complains is dyld: Library not loaded: /usr/lib/libreadline.7.dylib

What now?
v: view failures
C: *DANGEROUS* continue anyway
x: exit
C
Installing Readline with Athame...
/bin/sh ./support/mkinstalldirs /usr/include \
		/usr/include/readline /usr/lib \
		/usr/share/info /usr/share/man/man3 /usr/share/doc/readline
mkdir -p -- /usr/share/doc/readline
mkdir: /usr/share/doc/readline: Operation not permitted
make: [installdirs] Error 1 (ignored)
for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h athame.h; do \
		/usr/bin/install -c -m 644 ./$f /usr/include/readline ; \
	done
install: /usr/include/readline/readline.h: Operation not permitted
install: /usr/include/readline/chardefs.h: Operation not permitted
install: /usr/include/readline/keymaps.h: Operation not permitted
install: /usr/include/readline/history.h: Operation not permitted
install: /usr/include/readline/tilde.h: Operation not permitted
install: /usr/include/readline/rlstdc.h: Operation not permitted
install: /usr/include/readline/rlconf.h: Operation not permitted
install: /usr/include/readline/rltypedefs.h: Operation not permitted
install: /usr/include/readline/athame.h: Operation not permitted
make: *** [install-headers] Error 71

tried running as sudo ./readline_athame_setup.sh

Sorry for the delayed response.

There are 2 problems here:

  1. There's some linking problem in setting up the test. There's a good chance it won't affect actual Athame, but since breaking bash is super annoying, I'd not recommend continuing without the test (unless you use a different bash version, see my recommendation below).
  2. The "Operation not permitted" is because newer versions of OS X don't let you change a bunch of system files, even with root. You can disable this, but I wouldn't recommend it (see above). I'll try and add something about this to the Athame docs when I get a chance.

My recommendation, for anybody who is really determined to install Athame on OS X and is running into similar problems, is to install a local readline and bash. (Haven't tried it out recently, but it should be ./readline_athame_setup.sh --prefix="$HOME/.local" --nosudo --notest and ./bash_readline_setup.sh --prefix="$HOME/.local" --with-installed-readline="$HOME/.local" --nosudo). Then you can run the Athame version of bash with ./local/bash and if it's horribly broken, your regular shell is still usable. You can always symlink it later. Plus, it avoids the "Operation not permitted" error.

I had forgotten about this amazing project. Now using Arch and no problems on getting hands on this. As a side-note - I now use fish as daily repl - they have their own realdline thingy.

Sorry to dig up an old question. This is the first hit on Google searching for OS X and undeclared identifier for sighandler_t.

I believe you want something like this:

#if defined(__APPLE__)
static sig_t old_sigint ;
#else
static sighandler_t old_sigint ;
#endif

And then:

old_sigint = signal(SIGINT, new_sigint);

Here's your authority to use sig_t... According to the signal(3) man page on OS X:

$ man signal
...

SIGNAL(3)                BSD Library Functions Manual                SIGNAL(3)

NAME
     signal -- simplified software signal facilities

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <signal.h>

     void (*signal(int sig, void (*func)(int)))(int);

     or in the equivalent but easier to read typedef'd version:

     typedef void (*sig_t) (int);

     sig_t
     signal(int sig, sig_t func);
...

Regarding this on OS X:

install: /usr/include/readline/readline.h: Operation not permitted
install: /usr/include/readline/chardefs.h: Operation not permitted
...

I believe it is due to Apple's new System Integrity Protection. You should install into /usr/local, not /usr. You have to jump through some hoops to install into /usr. /usr is not impossible, but it is very painful.

Also, for readline on OS X, your CFLAGS and CXXFLAGS should include -DNEED_EXTERN_PC.