autoconf
Привет всем!
Вот, ковыряюсь...
configure.ac:
....
AC_CHECK_FILE([/var/log/messages],, [HAVE_LOG="no"])
if test "$HAVE_LOG" = "no"; then
echo "Error: /var/log/messages missing";exit 1
fi
$ ./configure
...
checking for /var/log/messages... no
Error: /var/log/messages missing
Посмотрел в ./configure, файл проверяется так:
test -r /var/log/messages
От обычного пользователя этот файл прочитать нельзя.
Есть идеи, как это красиво обломать, и чтоб свой макрос не писать?
--
Матвийчук Олег aka Matvey, LRU#349092
http://mathway.narod.ru
I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public License.
Птичка Божия не знает не забот и не хлопот
Лишь летает и воняет, хриплым голосом поет King Crimson - Exiles
Reply to: