autoconf
[Top][All Lists]
Advanced

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

RM: to -f or not to -f


From: Patrick Welche
Subject: RM: to -f or not to -f
Date: Thu, 29 Jul 2010 17:26:54 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

I just tried configuring libxml2 which has

        AC_PATH_PROG(RM, rm, /bin/rm)

in its configure.in. After running configure

        rm: libtoolT: No such file or directory
        Done configuring

Probably from

        cfgfile="${ofile}T"
        trap "$RM \"$cfgfile\"; exit 1" 1 2 15
        $RM "$cfgfile"

in config.status which in turn seems to be from _LT_CONFIG in
libtool/libltdl/m4/libtool.m4.

So, the AC_PATH_PROG(RM, rm, /bin/rm) means that libtool's RM=rm -f if
RM wasn't defined yet doesn't happen.

Any thoughts? (just to get rid of an harmless error message)
(BTW, autoconf, automake, libtool and libxml2 all from today's head)

Cheers,

Patrick



reply via email to

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