$NetBSD: patch-configure-alt,v 1.2 2015/06/10 14:59:43 joerg Exp $ Use default CFLAGS and LDFLAGS. Add DragolFly support. --- configure-alt.orig 2014-04-08 14:02:27.000000000 +0000 +++ configure-alt @@ -64,6 +64,7 @@ echo case `uname` in Darwin) true ${os_type:=MAC_OSX} ;; Linux) true ${os_type:=LINUX} ;; + DragonFly) true ${os_type:=_BSD} ;; FreeBSD) true ${os_type:=_BSD} ;; NetBSD) true ${os_type:=_BSD} ;; OpenBSD) true ${os_type:=_BSD} ;; @@ -180,7 +181,7 @@ cat > test-readline.c < char ** -test_completion (char * text, int start, int end) { +test_completion (const char * text, int start, int end) { return NULL; } @@ -188,7 +189,7 @@ int main(int argc, char** argv) { rl_readline_name = "test"; - rl_attempted_completion_function = (CPPFunction *)test_completion; + rl_attempted_completion_function = test_completion; readline(NULL); add_history("test"); @@ -474,8 +475,8 @@ fi cat > makefile_build <