From 658bfd183905576ed5f4dbe57a2ee82711b6ac93 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Apr 2013 13:14:42 +0200 Subject: tagging ychat-0.7.9.0 --- src/configure | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/configure') 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; -- cgit v1.2.3