X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=configure;h=0c5420150d9daedeac15bda583a88f8ca0ff8156;hb=773afbfe3bb6ae0df1776016a080185e6094c8fb;hp=278bc9bbd5a5002a776988e3af25a29dedc5d959;hpb=64f5e9a893ca8a68165f918c195b6a2cf284b58c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/configure b/configure index 278bc9bbd..0c5420150 100755 --- a/configure +++ b/configure @@ -960,6 +960,7 @@ sub getosflags { if ($config{OSNAME} =~ /OpenBSD/i) { $config{MAKEPROG} = "gmake"; + $config{LDLIBS} = $config{LDLIBS} . " -lunwind"; chomp($foo = `eg++ -dumpversion | cut -c 1`); # theyre running the package version of gcc (eg++)... detect it and set up its version numbers. # if theyre not running this, configure lets the build continue but they probably wont manage to @@ -1229,6 +1230,21 @@ sub write_dynamic_modules_makefile { all: \$(MODULES) EOF + +if ($config{OSNAME} =~ /darwin/) { + print FILEHANDLE <