[Top][All Lists]

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

Correct expansion of auxdir; have missing use it

From: Tim Van Holder
Subject: Correct expansion of auxdir; have missing use it
Date: Mon, 13 Aug 2001 22:23:31 +0200

I updated cvs utoocnf to use the current cvs automake m4
macros (autoconf doesn't use aclocal), and spotted an
error message during configure: cd: config: no such file
or directory ('config' is autoconf's aux_dir).
The culprit seems to be AM_AUX_DIR_EXPAND; it cd's into
aux_dir to get the full path using pwd, but doesn't cd
back.  Then the check for missing tries to cd $aux_dir
again, which fails.
The solution was easy enough; have AUX_DIR_EXPAND use
a subshell, and have AM_PROG_MISSING use $am_aux_dir
(which, judging from the comments in auxdir.m4, was the
intention anyway).

2001-08-13  Tim Van Holder  <address@hidden>

        * m4/auxdir.m4: Use a subshell so our cwd doesn't
        get changed.
        * m4/missing.m4: Require AM_AUX_DIR_EXPAND and
        use $am_aux_dir.

Attachment: missing-use-auxdir.diff
Description: Binary data

reply via email to

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