Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
ea0c5c53
Commit
ea0c5c53
authored
May 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look for config.h output in public header files
parent
311e5e3a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
src/Makefile.am
src/Makefile.am
+3
-2
src/check_headers
src/check_headers
+14
-0
No files found.
src/Makefile.am
View file @
ea0c5c53
...
@@ -444,8 +444,8 @@ check_PROGRAMS = \
...
@@ -444,8 +444,8 @@ check_PROGRAMS = \
test_headers
\
test_headers
\
$(NULL)
$(NULL)
dist_check_SCRIPTS
=
check_symbols
dist_check_SCRIPTS
=
check_symbols
check_headers
TESTS
=
$(check_PROGRAMS)
$(dist_check_SCRIPTS)
TESTS
=
$(check_PROGRAMS)
check_symbols
CFLAGS_tests
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
CFLAGS_tests
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
...
@@ -478,6 +478,7 @@ check-local:
...
@@ -478,6 +478,7 @@ check-local:
exit
1
;
\
exit
1
;
\
fi
;
\
fi
;
\
done
done
$(srcdir)
/check_headers
$(dist_pkginclude_HEADERS)
$(pkginclude_HEADERS)
FORCE
:
FORCE
:
@
echo
"Generated source cannot be phony. Go away."
>
&2
@
echo
"Generated source cannot be phony. Go away."
>
&2
...
...
src/check_headers
0 → 100755
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
"
"
$@
"
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