Skip to content
Snippets Groups Projects
Commit 46c2bcb7 authored by Jorrit Fahlke's avatar Jorrit Fahlke
Browse files

Make the warning about deprecated cppflags nicer by wrapping it.

[[Imported from SVN: r5997]]
parent 9f1b00b1
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,10 @@ AC_DEFUN([DUNE_DEPRECATED_CPPFLAGS],
[
AH_VERBATIM([DEPRECATED_$1_USED],
[#ifdef DEPRECATED_$1_USED
#warning $3
]dnl Note we have to use a quadrigraph in the following call to m4_text_wrap
dnl since older versions of that macro are seriously broken when it comes to
dnl the #-character
m4_text_wrap([$3], [@%:@warning ])[
#endif])
AC_SUBST([$1], [$2" -D DEPRECATED_$1_USED"])
])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment