I'm trying to get ecasound to build with Macports jack and libsndfile. The bug seems to be that if you have libreadline on the include search path, the configure flag --disable-ncurses is ignored and ecasound can't compile.
LDFLAGS='-L/opt/local/lib'
CPPFLAGS='-I/opt/local/include'
eca-curses.cpp:127:39: error: unknown type name 'rl_completion_func_t'; did you mean 'rl_compentry_func_t'?
rl_attempted_completion_function = (rl_completion_func_t*)ecasound_completion;
^~~~~~~~~~~~~~~~~~~~
rl_compentry_func_t
When you use "configure --with-jack=/opt/local", it compiles fine but without libsndfile.
MacPorts currently has readline version 6.3.003.
I tried replacing the call to rl_completion_func_t with rl_compentry_func_t in eva-curses.cpp but it errors out with wrong callback arguments.
Sorry this is so complicated.
I'm guessing this issue could be fixed three different ways...
Thanks!