[Top][All Lists]

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

Re: Libtool?

From: Akim Demaille
Subject: Re: Libtool?
Date: Fri, 27 Jun 2003 14:08:49 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

 > Did you sort this out yet?


 > It means the ltdl.m4 you are pulling in to aclocal.m4 does not match
 > the ltdl.c you are using.  Specifically you should have (among other
 > things) 'AC_CHECK_FUNCS([closedir opendir readdir])' in AC_LIB_LTDL.

How about having a grep ltdl.c in the ltdl.m4 macros to check that
they match?

Well, I have the problem that I get # serial 6 AC_LIB_LTDL from
/usr/local/share/aclocal/ltdl.m4, but "libtoolize --copy --force"
insists on leaving serial 5 in config/.

Actually, it leaves nothing.  I guess I still have local copies I
should not have here.  I removed all the config/*.m4, ran bootstrap,
and it works now.

I was not aware that the policy for Libtool was not to import the M4
macros now, isn't it?


checking for a sed that does not truncate output... /bin/sed
checking ... ./configure: line 4179: ${+set}: bad substitution



echo "$as_me:$LINENO: result: $SED" >&5
echo "${ECHO_T}$SED" >&6

echo "$as_me:$LINENO: checking " >&5
echo $ECHO_N "checking ... $ECHO_C" >&6
if test "${+set}" = set; then                <==========================
  echo $ECHO_N "(cached) $ECHO_C" >&6
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
   # Insert the option either (1) after the last *FLAGS variable, or
   # (2) before a word containing "conftest.", or (3) at the end.
   # Note that $ac_compile itself does not contain backslashes and begins
   # with a dollar sign (not a hyphen), so the echo should work correctly.
   # The option is referenced via a variable to avoid confusing sed.
   lt_compile=`echo "$ac_compile" | $SED \
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \


~/src/m4 % make
...cd . && /bin/sh ./config.status config.h
config.status: creating config.h
...smake  all-recursive
Making all in po
smake: 'all' is up to date.
Making all in config
smake: '../config/options.m4' does not exist.
smake: '../config/libtool.m4' does not exist.
smake: '../config/ltdl.m4' does not exist.
smake: '../config/protos.m4' does not exist.
smake: '../config/dmalloc.m4' does not exist.
smake: Couldn't make 'all'.
smake: Couldn't make 'all-recursive'.
smake: Couldn't make 'all'.

So, what is expected behavior wrt Libtool macros?

reply via email to

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