Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Timo Koch
dune-common
Commits
8f9aa28e
Commit
8f9aa28e
authored
15 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
avoid aclocal 'expanded before it was required' warnings
[[Imported from SVN: r5768]]
parent
626c8271
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
bin/dunecontrol
+1
-15
1 addition, 15 deletions
bin/dunecontrol
m4/dune_all.m4
+16
-0
16 additions, 0 deletions
m4/dune_all.m4
with
17 additions
and
15 deletions
bin/dunecontrol
+
1
−
15
View file @
8f9aa28e
...
...
@@ -642,26 +642,12 @@ m4_define([DUNE_AC_INIT],[
AC_SUBST([DUNE_MOD_NAME], [
$name
])
AC_SUBST([DUNE_MAINTAINER_NAME], [
$maintainer
])
DUNE_PARSE_MODULE_VERSION([
$name
], [
$version
])
# don't build shared libs per default, this is way better for debugging...
m4_ifdef([LT_INIT],
[LT_INIT([disable-shared])],
[AC_DEFUN([LT_OUTPUT])])
AC_DISABLE_SHARED
# LT_INIT([disable-shared])
REQUIRES="
$requires
"
AC_SUBST(REQUIRES, [
$REQUIRES
])
AC_CONFIG_MACRO_DIR([m4])
])
AC_DEFUN([DUNE_CHECK_MOD_DEPENDENCIES], [
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CPP])
AC_REQUIRE([AC_PROG_CXX])
# AC_REQUIRE([AC_PROG_CXXCPP])
AC_REQUIRE([AC_PROG_LIBTOOL])
# AC_REQUIRE([AC_LIBTOOL_LANG_CXX_CONFIG])
# m4_ifdef([],[AC_LIBTOOL_LANG_CXX_CONFIG])
EOF
### initialize AM_CONDITIONAL for suggestions that were not found
for
name
in
$(
eval echo
\$
SUGS_
$mainmod
)
;
do
...
...
This diff is collapsed.
Click to expand it.
m4/dune_all.m4
+
16
−
0
View file @
8f9aa28e
...
...
@@ -19,6 +19,22 @@ AC_DEFUN([DUNE_CHECK_ALL],[
AS_IF([test "x$enabledist" = "xyes"],[
AM_CONDITIONAL(DUNEWEB, false)])
dnl check the compilers
AC_REQUIRE([PKG_PROG_PKG_CONFIG])
AC_REQUIRE([AC_PROG_CC])
AC_REQUIRE([AC_PROG_CPP])
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([AC_PROG_CXXCPP])
AC_REQUIRE([AC_PROG_F77])
AC_REQUIRE([AC_PROG_LIBTOOL])
# don't build shared libs per default, this is way better for debugging...
m4_ifdef([LT_INIT], [],
[
AC_DEFUN([LT_OUTPUT])
AC_DEFUN([LT_INIT], [AC_DISABLE_SHARED])
])
LT_INIT([disable-shared])
dnl check dependencies of this module
dnl this test is autogenerated for each module
AC_REQUIRE([DUNE_CHECK_MOD_DEPENDENCIES])
...
...
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