From b53ef46a755afdbbeedc9589e7cfaed09e717df0 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Jan 2007 23:35:33 +0000 Subject: Make our makefile bsd compatible again :/ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6429 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 8e7c062b0..c7da12236 100755 --- a/configure +++ b/configure @@ -1066,6 +1066,12 @@ EOF chomp(my $revision = getrevision()); $version = "$version(r$revision)"; + $modext = "so"; + if ($config{IS_DARWIN} ne "NO") + { + $modext = "dylib"; + } + # We can actually parse any file starting with . and ending with .inc, # but right now we only parse .inspircd.inc to form './inspircd' @@ -1087,6 +1093,7 @@ EOF $tmp =~ s/\@BASE_DIR\@/$config{BASE_DIR}/; $tmp =~ s/\@CONFIG_DIR\@/$config{CONFIG_DIR}/; $tmp =~ s/\@MODULE_DIR\@/$config{MODULE_DIR}/; + $tmp =~ s/\@MODULE_EXT\@/$modext/; $tmp =~ s/\@BINARY_DIR\@/$config{BINARY_DIR}/; $tmp =~ s/\@LIBRARY_DIR\@/$config{LIBRARY_DIR}/; $tmp =~ s/\@MODULES\@/$modules/; -- cgit v1.2.3