From d651aeb61a34e047586806a3db434ac6390aad73 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 21 Dec 2005 10:36:01 +0000 Subject: Changed $CompileFlags to seperate $CompileFlags and $LinkerFlags git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2595 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 21d8fb5c4..9cb4d7518 100755 --- a/configure +++ b/configure @@ -872,7 +872,8 @@ EOF # Create a Modules List.. my $modules = ""; - my $flags = ""; + my $cmflags = ""; + my $liflags = ""; if ($config{OSNAME} =~ /CYGWIN/) { open(MODLIST,">include/modlist.h"); print MODLIST <) { + if ($_ =~ /^\/\* \$LinkerFlags: (.+) \*\/$/) { + close(FLAGS); + return $1; + } + } + close(FLAGS); + return undef; +} + sub show_splash { print "'\033[1;33m####\033[0m:'\033[1;33m##\033[0m::: \033[1;33m##\033[0m::'\033[1;33m######\033[0m::'\033[1;33m########\033[0m::'\033[1;33m####\033[0m:'\033[1;33m########\033[0m:::'\033[1;33m######\033[0m::'\033[1;33m########\033[0m::\n"; print ". \033[1;33m##\033[0m:: \033[1;33m###\033[0m:: \033[1;33m##\033[0m:'\033[1;33m##\033[0m... \033[1;33m##\033[0m: \033[1;33m##\033[0m.... \033[1;33m##\033[0m:. \033[1;33m##\033[0m:: \033[1;33m##\033[0m.... \033[1;33m##\033[0m:'\033[1;33m##\033[0m... \033[1;33m##\033[0m: \033[1;33m##\033[0m.... \033[1;33m##\033[0m:\n"; -- cgit v1.2.3