dparrish / libcli

Libcli provides a shared library for including a Cisco-like command-line interface into other software. It's a telnet interface which supports command-line editing, history, authentication and callbacks for a user-definable function tree.
https://dparrish.com/link/libcli
GNU Lesser General Public License v2.1
296 stars 147 forks source link

Compile on OS X and FreeBSD #3

Closed geoffgarside closed 13 years ago

geoffgarside commented 13 years ago

Tweaks a few header file includes and Makefile rules to permit building libcli on Mac OS X and FreeBSD.

The OS detection in the Makefile is GNU Make specific and does not appear to function in BSD Make, this shouldn't be a problem though as gmake is available to FreeBSD via its ports tree.

I'm not terribly certain of the implications of the OS definition at the top of the Makefile for Windows hosts, I don't have one with a toolchain on to test with unfortunately.

dparrish commented 13 years ago

Thanks, pulled and merged.