diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-23 23:35:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-23 23:35:33 +0000 |
commit | b53ef46a755afdbbeedc9589e7cfaed09e717df0 (patch) | |
tree | 80942872e325f2cf1f275a33b70fed7a364436cd /configure | |
parent | 2710741e10eb856f341e866bdc274e8a89463587 (diff) |
Make our makefile bsd compatible again :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6429 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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/; |