Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
pub
frama-c
Commits
2866a7f2
Commit
2866a7f2
authored
2 years ago
by
Allan Blanchard
Committed by
Patrick Baudin
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[dune] configure plugin list
parent
146af245
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
configure.in
+31
-0
31 additions, 0 deletions
configure.in
with
34 additions
and
0 deletions
.gitignore
+
3
−
0
View file @
2866a7f2
...
...
@@ -39,6 +39,9 @@ autom4te.cache
.Makefile.plugin.generated
.ocamldebug
# This file is generated (on need) during configure
/src/plugins/dune
#lint
/.lint/
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
31
−
0
View file @
2866a7f2
...
...
@@ -577,6 +577,37 @@ AC_CONFIG_FILES([share/Makefile.config], [chmod a-w share/Makefile.config])
AC_OUTPUT()
###########
# Plugins #
###########
rm -f src/plugins/.disabled
rm -f src/plugins/dune
m4_foreach_w([__plugin],m4_esyscmd([ls src/plugins]),
[
m4_define([plugin_dir],[src/plugins/__plugin])
m4_syscmd(test -d plugin_dir)
m4_define([is_plugin],m4_sysval)
m4_if(is_plugin,0,[
AC_ARG_ENABLE(
__plugin,
AC_HELP_STRING([--disable-__plugin], [Disable __plugin]),
[ENABLE___plugin=$enableval],
[ENABLE___plugin=yes]
)
if test "$ENABLE___plugin" = no ; then
echo "__plugin" >> src/plugins/.disabled
fi
],)
])
if test -f src/plugins/.disabled ; then
echo "(data_only_dirs $(cat src/plugins/.disabled))" > src/plugins/dune
chmod a-w src/plugins/dune
rm src/plugins/.disabled
fi
###########
# Summary #
###########
...
...
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