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
500c1ba7
Commit
500c1ba7
authored
21 years ago
by
Thimo Neubauer
Browse files
Options
Downloads
Patches
Plain Diff
reuse variable with_<package> as string for a ./configure-summary
[[Imported from SVN: r223]]
parent
a7a37a86
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
m4/albert.m4
+6
-0
6 additions, 0 deletions
m4/albert.m4
m4/blas.m4
+6
-0
6 additions, 0 deletions
m4/blas.m4
m4/grape.m4
+6
-0
6 additions, 0 deletions
m4/grape.m4
m4/opengl.m4
+5
-2
5 additions, 2 deletions
m4/opengl.m4
with
23 additions
and
2 deletions
m4/albert.m4
+
6
−
0
View file @
500c1ba7
...
...
@@ -92,11 +92,17 @@ if test x$HAVE_ALBERT = x1 ; then
DUNE_PKG_LDFLAGS="$DUNE_PKG_LDFLAGS $ALBERT_LDFLAGS"
DUNE_PKG_LIBS="$DUNE_PKG_LIBS $ALBERT_LIBS"
DUNE_PKG_CPPFLAGS="$DUNE_PKG_CPPFLAGS $ALBERT_CPPFLAGS"
# set variable for summary
with_albert="yes"
else
echo no albert found...
AC_SUBST(ALBERT_LIBS, "")
AC_SUBST(ALBERT_LDFLAGS, "")
AC_SUBST(ALBERT_CPPFLAGS, "")
# set variable for summary
with_albert="no"
fi
# also tell automake
...
...
This diff is collapsed.
Click to expand it.
m4/blas.m4
+
6
−
0
View file @
500c1ba7
...
...
@@ -71,10 +71,16 @@ if test x$HAVE_BLAS = x1 ; then
# add to global list
DUNE_PKG_LDFLAGS="$DUNE_PKG_LDFLAGS $BLAS_LDFLAGS"
DUNE_PKG_LIBS="$DUNE_PKG_LIBS $BLAS_LIBS"
# set variable for summary
with_blas="yes"
else
echo "******** no BLAS Library is uesd. Enable with the --enable-blas option."
AC_SUBST(BLAS_LIBS, "")
AC_SUBST(BLAS_LDFLAGS, "")
# set variable for summary
with_blas="no"
fi
# also tell automake
...
...
This diff is collapsed.
Click to expand it.
m4/grape.m4
+
6
−
0
View file @
500c1ba7
...
...
@@ -69,6 +69,9 @@ if test "x$X_LIBS" != x ; then
AC_MSG_WARN([libgr not found in $GRAPEROOT!])])
fi
# pre-set variable for summary
with_grape="no"
# did it work?
if test x$HAVE_GRAPE = x1 ; then
AC_SUBST(GRAPE_LIBS, "$LIBS $GRAPE_LIBS")
...
...
@@ -80,6 +83,9 @@ if test "x$X_LIBS" != x ; then
DUNE_PKG_LDFLAGS="$DUNE_PKG_LDFLAGS $GRAPE_LDFLAGS"
DUNE_PKG_LIBS="$DUNE_PKG_LIBS $GRAPE_LIBS"
DUNE_PKG_CPPFLAGS="$DUNE_PKG_CPPFLAGS $GRAPE_CPPFLAGS"
# re-set variable correctly
with_grape="yes"
fi
# also tell automake
...
...
This diff is collapsed.
Click to expand it.
m4/opengl.m4
+
5
−
2
View file @
500c1ba7
...
...
@@ -5,9 +5,12 @@ AC_DEFUN([DUNE_PATH_OPENGL],[
AC_REQUIRE([AC_PROG_CC])
AC_CHECK_HEADERS(GL/gl.h)
AC_CHECK_LIB(GL, glNewList, [GL_LIBS="-lGL"], [have_gl=no])
AC_CHECK_LIB(GL, glNewList, [GL_LIBS="-lGL"], [have_gl=no])
# set variable for summary
with_opengl="no"
if test x$have_gl != xno ; then
AC_SUBST(GL_LIBS, $GL_LIBS)
with_opengl="yes"
fi
])
\ No newline at end of file
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