mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-04 03:38:00 +02:00
Use square brackets (m4 quoting) instead of changequote
For more details, see: http://www.gnu.org/software/autoconf/manual/html_node/Changequote-is-Evil.html
This commit is contained in:
parent
cf33a006dc
commit
5c06992e62
1 changed files with 5 additions and 4 deletions
|
|
@ -1129,8 +1129,10 @@ if test x$dbus_win != xyes -a x$dbus_cygwin != xyes -a x$USE_MAINTAINER_MODE = x
|
|||
fi
|
||||
fi
|
||||
|
||||
if test "x$GCC" = "xyes"; then
|
||||
changequote(,)dnl
|
||||
dnl This whole "if" block is in m4 quotes ([]) because it uses them
|
||||
dnl for character ranges internally. m4 macros cannot be used inside this
|
||||
dnl block.
|
||||
[if test "x$GCC" = "xyes"; then
|
||||
case " $CFLAGS " in
|
||||
*[\ \ ]-Wall[\ \ ]*) ;;
|
||||
*) CFLAGS="$CFLAGS -Wall" ;;
|
||||
|
|
@ -1272,8 +1274,7 @@ if test "x$GCC" = "xyes"; then
|
|||
*) CFLAGS="$CFLAGS -pedantic" ;;
|
||||
esac
|
||||
fi
|
||||
changequote([,])dnl
|
||||
fi
|
||||
fi]
|
||||
|
||||
AC_SUBST(PIC_CFLAGS)
|
||||
AC_SUBST(PIC_LDFLAGS)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue