bug-libtool
[Top][All Lists]
Advanced

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

Wrong path in LIBTOOL_DEPS when ac_aux_dir not initialized before LT_INI


From: Jakub Bogusz
Subject: Wrong path in LIBTOOL_DEPS when ac_aux_dir not initialized before LT_INIT
Date: Mon, 8 Sep 2008 22:53:40 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

I reported it some time ago against libtool 2.2.4, now verified with
2.2.6. The test case is:

#v+
[configure.in]
AC_INIT([libtool-test], [0])
LT_INIT
AC_SUBST([LIBTOOL_DEPS])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT

[Makefile.in]
all: @LIBTOOL_DEPS@
#v-

Resulting Makefile with libtool 2.2.x up to 2.2.6:
#v+
all: /ltmain.sh
#v-

Workaround is to add AC_CONFIG_AUX_DIR_DEFAULT before LT_INIT:

#v+
[configure.in]
AC_INIT([libtool-test], [0])
AC_CONFIG_AUX_DIR_DEFAULT
LT_INIT
AC_SUBST([LIBTOOL_DEPS])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
#v-

Resulting (and expected) Makefile:
#v+
all: ./ltmain.sh
#v-

So I think that LT_INIT should AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])?


-- 
Jakub Bogusz    http://qboosh.pl/




reply via email to

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