Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
b06fb91e
Commit
b06fb91e
authored
16 years ago
by
Stefen Guzik
Browse files
Options
Downloads
Patches
Plain Diff
Details for cgns and hdf5 configuration
parent
29fb062b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.in
+21
-12
21 additions, 12 deletions
configure.in
with
21 additions
and
12 deletions
configure.in
+
21
−
12
View file @
b06fb91e
...
...
@@ -128,6 +128,9 @@ AC_ARG_ENABLE(cgns,
AC_ARG_ENABLE(occ,
AC_HELP_STRING([--enable-occ],
[enable OpenCascade support (default=no)]))
AC_ARG_ENABLE(hdf5,
AC_HELP_STRING([--enable-hdf5],
[enable HDF5 support (default=no)]))
AC_ARG_ENABLE(med,
AC_HELP_STRING([--enable-med],
[enable MED support (default=yes)]))
...
...
@@ -158,6 +161,7 @@ if test "x$enable_minimal" = "xyes"; then
enable_chaco=no;
enable_med=no;
enable_cgns=no;
enable_hdf5=no;
enable_zlib=no;
if test "x$enable_post" != "xyes"; then
enable_post=no;
...
...
@@ -658,27 +662,32 @@ if test "x$enable_fm" != "xno"; then
fi
fi
dnl Check for HDF5 (required by MED, needs zlib)
if test "x${ZLIB}" = "xyes"; then
if test "x$enable_med" != "xno"; then
if test "x${HDF5_PREFIX}" != "x"; then
LDFLAGS="-L${HDF5_PREFIX}/lib ${LDFLAGS}"
fi
AC_CHECK_LIB(hdf5,main,HDF5="yes",HDF5="no")
dnl Check for HDF5 (required by MED, needs zlib, and optional for cgns)
if test "x${HDF5_PREFIX}" != "x" -a "x$enable_hdf5" != "xno"; then
enable_hdf5=yes
fi
if test "x${ZLIB}" = "xyes" -a "x$enable_med" != "xno"; then
enable_hdf5=yes
fi
if test "x$enable_hdf5" = "xyes"; then
if test "x${HDF5_PREFIX}" != "x"; then
LDFLAGS="-L${HDF5_PREFIX}/lib ${LDFLAGS}"
fi
AC_CHECK_LIB(hdf5,main,HDF5="yes",HDF5="no")
if test "x${HDF5}" = "xyes"; then
LIBS="-lhdf5 ${LIBS}" # Necessary for CGNS with HDF5
fi
fi
dnl Check for CGNS
if test "x${CGNS_PREFIX}" != "x"; then
if test "x$enable_cgns" != "xno"; then
enable_cgns="yes"
fi
if test "x${CGNS_PREFIX}" != "x" -a "x$enable_cgns" != "xno"; then
enable_cgns="yes"
fi
if test "x$enable_cgns" = "xyes"; then
if test "x${CGNS_PREFIX}" != "x"; then
LDFLAGS="-L${CGNS_PREFIX}/lib ${LDFLAGS}"
fi
AC_CHECK_LIB(cgns,main,CGNS="yes",CGNS="no"
,-lhdf5
)
AC_CHECK_LIB(cgns,main,CGNS="yes",CGNS="no")
if test "x${CGNS}" = "xyes"; then
if test "x${CGNS_PREFIX}" = "x"; then
GMSH_LIBS="${GMSH_LIBS} -lcgns"
...
...
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