* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on

the output file in the `${datarootdir}' test.
This commit is contained in:
Ralf Wildenhues 2006-05-28 12:51:49 +00:00
parent 2a801ac193
commit 8c65c51bf9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
the output file in the `${datarootdir}' test.
2005-05-28 Stepan Kasal <kasal@ucw.cz> 2005-05-28 Stepan Kasal <kasal@ucw.cz>
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

View File

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