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
dcff702c
Commit
dcff702c
authored
14 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
split cxx0x related m4 files
[[Imported from SVN: r6305]]
parent
0dbd80ca
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/Makefile.am
+4
-2
4 additions, 2 deletions
m4/Makefile.am
m4/cxx0x_compiler.m4
+24
-0
24 additions, 0 deletions
m4/cxx0x_compiler.m4
m4/cxx0x_nullptr.m4
+17
-0
17 additions, 0 deletions
m4/cxx0x_nullptr.m4
m4/cxx0x_static_assert.m4
+15
-0
15 additions, 0 deletions
m4/cxx0x_static_assert.m4
with
60 additions
and
2 deletions
m4/Makefile.am
+
4
−
2
View file @
dcff702c
...
...
@@ -5,10 +5,13 @@ ALLM4S = \
acx_lapack.m4
\
acx_mpi.m4
\
acx_pthread.m4
\
ax_boost_base.m4
\
ax_boost_base.m4
\
ax_check_gl.m4
\
ax_lang_compiler_ms.m4
\
boost_fusion.m4
\
cxx0x_compiler.m4
\
cxx0x_nullptr.m4
\
cxx0x_static_assert.m4
\
dune.m4
\
dune_all.m4
\
dune_autobuild.m4
\
...
...
@@ -35,7 +38,6 @@ ALLM4S = \
pardiso.m4
\
parmetis.m4
\
shared_ptr.m4
\
static_assert.m4
\
superlu-dist.m4
\
superlu.m4
\
xdr.m4
...
...
This diff is collapsed.
Click to expand it.
m4/
static_ass
er
t
.m4
→
m4/
cxx0x_compil
er.m4
+
24
−
0
View file @
dcff702c
...
...
@@ -22,37 +22,3 @@ AC_DEFUN([GXX0X],[
AC_LANG_POP
fi
])
AC_DEFUN([STATIC_ASSERT_CHECK],[
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([GXX0X])
AC_LANG_PUSH([C++])
AC_MSG_CHECKING([whether static_assert is supported])
AC_TRY_COMPILE([],[static_assert(true,"MSG")], [
HAVE_STATIC_ASSERT=yes
AC_MSG_RESULT(yes)], [
HAVE_STATIC_ASSERT=no
AC_MSG_RESULT(no)])
if test "x$HAVE_STATIC_ASSERT" = xyes; then
AC_DEFINE(HAVE_STATIC_ASSERT, 1, [Define to 1 if static_assert is supported])
fi
AC_LANG_POP
])
AC_DEFUN([NULLPTR_CHECK],[
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([GXX0X])
AC_LANG_PUSH([C++])
AC_MSG_CHECKING([whether nullptr is supported])
AC_TRY_COMPILE([],[typedef nullptr_t peng;
char* ch = nullptr;
], [
HAVE_NULLPTR=yes
AC_MSG_RESULT(yes)], [
HAVE_NULLPTR=no
AC_MSG_RESULT(no)])
if test "x$HAVE_NULLPTR" = xyes; then
AC_DEFINE(HAVE_NULLPTR, 1, [Define to 1 if nullptr is supported])
fi
AC_LANG_POP
])
This diff is collapsed.
Click to expand it.
m4/cxx0x_nullptr.m4
0 → 100644
+
17
−
0
View file @
dcff702c
AC_DEFUN([NULLPTR_CHECK],[
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([GXX0X])
AC_LANG_PUSH([C++])
AC_MSG_CHECKING([whether nullptr is supported])
AC_TRY_COMPILE([],[typedef nullptr_t peng;
char* ch = nullptr;
], [
HAVE_NULLPTR=yes
AC_MSG_RESULT(yes)], [
HAVE_NULLPTR=no
AC_MSG_RESULT(no)])
if test "x$HAVE_NULLPTR" = xyes; then
AC_DEFINE(HAVE_NULLPTR, 1, [Define to 1 if nullptr is supported])
fi
AC_LANG_POP
])
This diff is collapsed.
Click to expand it.
m4/cxx0x_static_assert.m4
0 → 100644
+
15
−
0
View file @
dcff702c
AC_DEFUN([STATIC_ASSERT_CHECK],[
AC_REQUIRE([AC_PROG_CXX])
AC_REQUIRE([GXX0X])
AC_LANG_PUSH([C++])
AC_MSG_CHECKING([whether static_assert is supported])
AC_TRY_COMPILE([],[static_assert(true,"MSG")], [
HAVE_STATIC_ASSERT=yes
AC_MSG_RESULT(yes)], [
HAVE_STATIC_ASSERT=no
AC_MSG_RESULT(no)])
if test "x$HAVE_STATIC_ASSERT" = xyes; then
AC_DEFINE(HAVE_STATIC_ASSERT, 1, [Define to 1 if static_assert is supported])
fi
AC_LANG_POP
])
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