mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
* lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on
the output file in the `${datarootdir}' test.
This commit is contained in:
parent
2a801ac193
commit
8c65c51bf9
@ -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>
|
||||||
|
|
||||||
|
@ -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.])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user