Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
617d53f4
Commit
617d53f4
authored
Sep 08, 2015
by
Timothy Gu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Reenable colorized warnings and check for tput's existence
Untested.
parent
12e6b64c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
configure
configure
+9
-1
No files found.
configure
View file @
617d53f4
...
...
@@ -416,6 +416,14 @@ EOF
}
quotes
=
'""'
if
test
-t
1
&&
which tput
>
/dev/null
;
then
ncolors
=
$(
tput colors
)
if
test
-n
"
$ncolors
"
&&
test
$ncolors
-ge
8
;
then
bold_color
=
$(
tput bold
)
warn_color
=
$(
tput setaf 3
)
reset_color
=
$(
tput sgr0
)
fi
fi
log
(){
echo
"
$@
"
>>
$logfile
...
...
@@ -6201,7 +6209,7 @@ echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH
cp_if_changed
$TMPH
libavutil/avconfig.h
if
test
-n
"
$WARNINGS
"
;
then
printf
"
\n
$WARNINGS
"
printf
"
\n
%s%s
$WARNINGS
%s"
"
$warn_color
"
"
$bold_color
"
"
$reset_color
"
enabled fatal_warnings
&&
exit
1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment