From 2d8dd9a6c984d2245e93ec2fb38dc201d60aca4f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 4 Apr 2012 14:02:10 +0200 Subject: do not route qtmodule-configtests invocation through syncqt there is completely no reason to do it. Change-Id: Ie186ef4c1bbd12c256acb2fe374d12ebe777d6c9 Reviewed-by: Joerg Bornemann --- bin/syncqt | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'bin') diff --git a/bin/syncqt b/bin/syncqt index 30a870f195..dbde5b478c 100755 --- a/bin/syncqt +++ b/bin/syncqt @@ -104,7 +104,6 @@ my $create_private_headers = 1; my $module_fwd = ""; my $cache_module_fwd = 0; my $developer_build = 0; -my $makefile_generator = ""; my @modules_to_sync ; $force_relative = 1 if ( -d "/System/Library/Frameworks" ); @@ -143,7 +142,6 @@ sub showUsage print " fwd includes\n"; print " -developer-build Point libraries and binaries to a common directory for\n"; print " easy development\n"; - print " -generator Specify the makefile generator setting (e.g. 'UNIX')\n"; print " -help This help\n"; exit 0; } @@ -684,9 +682,6 @@ while ( @ARGV ) { } elsif($arg eq "-qtdir") { $var = "qtdir"; $val = shift @ARGV; - } elsif($arg eq "-generator") { - $var = "makefile_generator"; - $val = shift @ARGV; } elsif($arg =~/^-/) { print "Unknown option: $arg\n\n" if(!$var); showUsage(); @@ -770,8 +765,6 @@ while ( @ARGV ) { $cache_module_fwd = 1; } elsif ($var eq "developer_build") { $developer_build = 1; - } elsif ($var eq "makefile_generator") { - $makefile_generator = $val; } elsif ($var eq "output") { my $outdir = $val; if(checkRelative($outdir)) { @@ -1383,21 +1376,4 @@ if($check_includes) { } } -# Do configure tests now (pass some things along) -# fatal tests have a non zero return -# If the generator is not set (e.g. someone invoking syncqt as part of configure etc, then don't run tests either) -unless ($showonly || $makefile_generator eq '') { - my $configtests = dirname($0)."/qtmodule-configtests"; - if (! -f $configtests) { - $configtests = $qtbasedir."/bin/qtmodule-configtests"; - } - if (! -f $configtests) { - warn "Unable to locate qtmodule-configtests script - config tests disabled.\n"; - } else { - if (system($EXECUTABLE_NAME, $configtests, $basedir, $out_basedir, $qtbasedir, $makefile_generator)) { - die "$configtests exited with status $?"; - } - } -} - exit 0; -- cgit v1.2.3