summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
committerPaul Buetow <paul@buetow.org>2013-04-06 13:14:42 +0200
commit658bfd183905576ed5f4dbe57a2ee82711b6ac93 (patch)
tree08cf25d1a1fb09b643a65c5b237c52bce791f307 /src/configure
parent42b79aa5c591dde88e78922a519802f948d9ea60 (diff)
tagging ychat-0.7.9.0ychat-0.7.9.0
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/configure b/src/configure
index 125890c..973e85a 100755
--- a/src/configure
+++ b/src/configure
@@ -70,7 +70,7 @@ perl -e '
remove_from_array("libmysqlclient.so",\@libs);
}
- if ( /\/\/#define NCURSES/ )
+ elsif ( /\/\/#define NCURSES/ )
{
remove_from_array("ncurses.h",\@headers);
remove_from_array("libncurses.so",\@libs);
@@ -158,21 +158,19 @@ perl -e '
print Fout "\t\@if ! test -d `dirname ../obj/$ofile`; then mkdir -p `dirname ../obj/$ofile`; fi\n";
my $class = $ofile;
$class =~ s/\.o//;
-
- my $text;
if ( $class =~ /contrib\/.+/ )
{
my $dirname = `dirname $class`;
- $text = "\t\@echo -n \"Contributed class $class \"\n";
+ print Fout "\t\@echo -n \"Compiling contributed class $class \"\n";
}
else
{
- $text = "\t\@echo -n \"Base class $class \"\n";
+ print Fout "\t\@echo -n \"Compiling base class $class \"\n";
}
print Fout "\t\@\$(CC) \$(CFLAGS) \$(INCLUDES) $args -c -o ../obj/$ofile $cppfile\n";
- print Fout $text."\t\@du -hc ../obj/$ofile | tail -n 1 | sed s/total// | sed \"s/ //g\"\n";
+ print Fout "\t\@du -hc ../obj/$ofile | tail -n 1 | sed s/total// | sed \"s/ //g\"\n";
}
close Fout;