autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m4_divert_text


From: Russell Shaw
Subject: m4_divert_text
Date: Wed, 14 Sep 2016 22:26:45 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.1.0

Hi,

In binutils/configure.ac there is:

m4_divert_text([PARSE_ARGS],
[case $srcdir in
  *" "*)
m4_pushdef([AS_MESSAGE_LOG_FD], [])dnl
    AC_MSG_ERROR([path to source, $srcdir, contains spaces])
m4_popdef([AS_MESSAGE_LOG_FD])dnl
    ;;
esac
ac_subdirs_all=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
])


I can't find where it's used, and was wondering how one would use this 
definition.

Doesn't the pushdef/popdef pair make it useless?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]