--- configure.orig 2016-04-28 17:55:03 UTC +++ configure @@ -2380,7 +2380,7 @@ case $_host_os in append_var LDFLAGS "-L$DEVKITPRO/libnds/lib" append_var LIBS "-lnds9" ;; - freebsd*) + dragonfly*|freebsd*) append_var LDFLAGS "-L/usr/local/lib" append_var CXXFLAGS "-I/usr/local/include" ;; @@ -3259,6 +3259,9 @@ case $_host_os in android | beos* | bsd* | darwin* | freebsd* | gnu* | gph-linux | haiku* | hpux* | iphone | ios7 | irix*| k*bsd*-gnu* | linux* | maemo | mint* | netbsd* | openbsd* | solaris* | sunos* | uclinux* | webos) _posix=yes ;; + dragonfly*) + _posix=yes + ;; os2-emx*) _posix=yes # FIXME: Really??? ;;