* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning

about literal '${datarootdir}' if a definition is found in the
output file.
This commit is contained in:
Ralf Wildenhues 2006-06-22 17:16:42 +00:00
parent d88b0fa532
commit cd56c8aa0f
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-06-22 Alexandre Julliard <julliard@winehq.org>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning
about literal '${datarootdir}' if a definition is found in the
output file.
2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Use "M4" rather than "m4" when appropriate.

1
configure vendored
View File

@ -3801,6 +3801,7 @@ $ac_datarootdir_hack
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
which seems to be undefined. Please make sure it is defined." >&5
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'

View File

@ -555,6 +555,7 @@ $ac_datarootdir_hack
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
{ ac_out=`sed -n '/^[[ ]]*datarootdir[[ ]]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
AC_MSG_WARN([$ac_file contains a reference to the variable `datarootdir'
which seems to be undefined. Please make sure it is defined.])