@@ -1714,7 +1714,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
17141714 lt_cv_sys_max_cmd_len=8192;
17151715 ;;
17161716
1717- bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
1717+ bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
17181718 # This has been around since 386BSD, at least. Likely further.
17191719 if test -x /sbin/sysctl; then
17201720 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
@@ -2655,7 +2655,7 @@ dgux*)
26552655 shlibpath_var=LD_LIBRARY_PATH
26562656 ;;
26572657
2658- freebsd* | dragonfly*)
2658+ freebsd* | dragonfly* | midnightbsd* )
26592659 # DragonFly does not have aout. When/if they implement a new
26602660 # versioning mechanism, adjust this.
26612661 if test -x /usr/bin/objformat; then
@@ -3488,7 +3488,7 @@ darwin* | rhapsody*)
34883488 lt_cv_deplibs_check_method=pass_all
34893489 ;;
34903490
3491- freebsd* | dragonfly*)
3491+ freebsd* | dragonfly* | midnightbsd* )
34923492 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
34933493 case $host_cpu in
34943494 i*86 )
@@ -4317,7 +4317,7 @@ m4_if([$1], [CXX], [
43174317 ;;
43184318 esac
43194319 ;;
4320- freebsd* | dragonfly*)
4320+ freebsd* | dragonfly* | midnightbsd* )
43214321 # FreeBSD uses GNU C++
43224322 ;;
43234323 hpux9* | hpux10* | hpux11*)
@@ -5650,7 +5650,7 @@ _LT_EOF
56505650 ;;
56515651
56525652 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
5653- freebsd* | dragonfly*)
5653+ freebsd* | dragonfly* | midnightbsd* )
56545654 _LT_TAGVAR(archive_cmds, $1 )='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
56555655 _LT_TAGVAR(hardcode_libdir_flag_spec, $1 )='-R$libdir'
56565656 _LT_TAGVAR(hardcode_direct, $1 )=yes
@@ -6760,7 +6760,7 @@ if test yes != "$_lt_caught_CXX_error"; then
67606760 _LT_TAGVAR(archive_cmds_need_lc, $1 )=no
67616761 ;;
67626762
6763- freebsd* | dragonfly*)
6763+ freebsd* | dragonfly* | midnightbsd* )
67646764 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
67656765 # conventions
67666766 _LT_TAGVAR(ld_shlibs, $1 )=yes
0 commit comments