Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
62be1caf
Commit
62be1caf
authored
7 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
configure: Bail out early if neither static nor shared libs are built
parent
c6496de3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+11
-11
11 additions, 11 deletions
configure
with
11 additions
and
11 deletions
configure
+
11
−
11
View file @
62be1caf
...
@@ -2857,6 +2857,17 @@ done
...
@@ -2857,6 +2857,17 @@ done
disabled logging
&&
logfile
=
/dev/null
disabled logging
&&
logfile
=
/dev/null
# we need to build at least one lib type
if
!
enabled_any static shared
;
then
cat
<<
EOF
At least one library type must be built.
Specify --enable-static to build the static libraries or --enable-shared to
build the shared libraries as well. To only build the shared libraries specify
--disable-static in addition to --enable-shared.
EOF
exit
1
fi
# Die early if licensing-related configure options are incompatible.
# Die early if licensing-related configure options are incompatible.
die_license_disabled
()
{
die_license_disabled
()
{
enabled
$1
||
{
enabled
$v
&&
die
"
$v
is
$1
and --enable-
$1
is not specified."
;
}
enabled
$1
||
{
enabled
$v
&&
die
"
$v
is
$1
and --enable-
$1
is not specified."
;
}
...
@@ -4184,17 +4195,6 @@ check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PI
...
@@ -4184,17 +4195,6 @@ check_cpp_condition stdlib.h "defined(__PIC__) || defined(__pic__) || defined(PI
set_default
$PATHS_LIST
set_default
$PATHS_LIST
set_default nm
set_default nm
# we need to build at least one lib type
if
!
enabled_any static shared
;
then
cat
<<
EOF
At least one library type must be built.
Specify --enable-static to build the static libraries or --enable-shared to
build the shared libraries as well. To only build the shared libraries specify
--disable-static in addition to --enable-shared.
EOF
exit
1
fi
disabled optimizations
||
check_cflags
-fomit-frame-pointer
disabled optimizations
||
check_cflags
-fomit-frame-pointer
enable_weak_pic
()
{
enable_weak_pic
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment