Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
ea0c5c53
Commit
ea0c5c53
authored
16 years ago
by
Rémi Denis-Courmont
Browse files
Options
Downloads
Patches
Plain Diff
Look for config.h output in public header files
parent
311e5e3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Makefile.am
+3
-2
3 additions, 2 deletions
src/Makefile.am
src/check_headers
+14
-0
14 additions, 0 deletions
src/check_headers
with
17 additions
and
2 deletions
src/Makefile.am
+
3
−
2
View file @
ea0c5c53
...
...
@@ -444,8 +444,8 @@ check_PROGRAMS = \
test_headers
\
$(
NULL
)
dist_check_SCRIPTS
=
check_symbols
TESTS
=
$(
check_PROGRAMS
)
$(
dist_check_SCRIPTS
)
dist_check_SCRIPTS
=
check_symbols
check_headers
TESTS
=
$(
check_PROGRAMS
)
check_symbols
CFLAGS_tests
=
`
$(
VLC_CONFIG
)
--cflags
libvlc
`
...
...
@@ -478,6 +478,7 @@ check-local:
exit
1
;
\
fi
;
\
done
$(
srcdir
)
/check_headers
$(
dist_pkginclude_HEADERS
)
$(
pkginclude_HEADERS
)
FORCE
:
@
echo
"Generated source cannot be phony. Go away."
>
&2
...
...
This diff is collapsed.
Click to expand it.
src/check_headers
0 → 100755
+
14
−
0
View file @
ea0c5c53
#! /bin/sh
# Copyright © 2008 Rémi Denis-Courmont
cd
"
$(
dirname
"
$0
"
)
"
||
exit
$?
# Look for configure #defines in public headers.
# There are incorrect, as external users don't have our <config.h>.
regexp
=
"
$(
cat
../config.h.in |
\
sed
-n
-e
's/^#undef \([A-Z0-9_]*\)$/\1/p'
|
\
xargs |
\
sed
-e
's/ /\\\|/g'
)
"
!
grep
--
"
$regexp
"
"
$@
"
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