source:
downloads/openal-0.0.8/admin/autotools/m4/alut_eval_stderr.m4
@
17
Last change on this file since 17 was 17, checked in by landauf, 16 years ago | |
---|---|
File size: 401 bytes |
Line | |
---|---|
1 | # ALUT_EVAL_STDERR(COMMAND) |
2 | # ------------------------- |
3 | # Eval COMMAND, save its stderr (without lines resulting from shell tracing) |
4 | # into the file conftest.err and the exit status in the variable alut_status. |
5 | AC_DEFUN([ALUT_EVAL_STDERR], |
6 | [{ (eval $1) 2>conftest.er1 |
7 | alut_status=$? |
8 | grep -v '^ *+' conftest.er1 >conftest.err |
9 | rm -f conftest.er1 |
10 | (exit $alut_status); }[]dnl |
11 | ])# ALUT_EVAL_STDERR |
Note: See TracBrowser
for help on using the repository browser.