summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2009-06-16 10:44:40 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-06-16 10:44:40 (GMT)
commiteb045ff23575b0f49eedb2a41f224596e3424609 (patch)
tree47823f8c426c95140209b059b83a5e78290e0c67
parent0d5e9562ebb8392ccb2dc2bc67098e8d8852252f (diff)
downloadQt-eb045ff23575b0f49eedb2a41f224596e3424609.zip
Qt-eb045ff23575b0f49eedb2a41f224596e3424609.tar.gz
Qt-eb045ff23575b0f49eedb2a41f224596e3424609.tar.bz2
Revert "properly indent embedded awk code"
This reverts commit ce20a20f33a02f8e716ffe5a675115d7677da462.
-rwxr-xr-xconfigure22
1 files changed, 11 insertions, 11 deletions
diff --git a/configure b/configure
index ece117b..4cf7499 100755
--- a/configure
+++ b/configure
@@ -7035,9 +7035,9 @@ BEGIN {
FNR == 1 {
if ( input_file ) {
- if ( ! target_file )
- target_file = third
- print input_file >target_file
+ if ( ! target_file )
+ target_file = third
+ print input_file >target_file
}
matched_target = 0
@@ -7048,32 +7048,32 @@ FNR == 1 {
/^(TARGET.*=)/ {
if ( \$3 == "moc" || \$3 ~ /^Qt/ ) {
- target_file = first
+ target_file = first
matched_target = 1
}
}
matched_target == 0 && /^(TEMPLATE.*=)/ {
if ( \$3 == "subdirs" )
- target_file = second
+ target_file = second
else if ( \$3 == "lib" )
- template_lib = 1
+ template_lib = 1
else
- target_file = third
+ target_file = third
}
matched_target == 0 && template_lib == 1 && /^(CONFIG.*=)/ {
if ( \$0 ~ /plugin/ )
target_file = third
else
- target_file = second
+ target_file = second
}
END {
if ( input_file ) {
- if ( ! target_file )
- target_file = third
- print input_file >>target_file
+ if ( ! target_file )
+ target_file = third
+ print input_file >>target_file
}
}