autotools woes

Armin Bauer <[email protected]>
Newsgroups gmane.comp.gnome.apps.multisync.devel
Message-ID <1081935297.750.14.camel@azrael>
Hi.

Since yesterday i had problems with building the plugins. the autotools
didnt append the .so to the libraries (libpalm_sync.0.0.0). Because of
this i could not install the plugin (they were not found during
loading).

sr/lib/libpisock.so  -Wl,--export-dynamic -Wl,-soname -Wl,libpalm_sync.0
-o .libs/libpalm_sync.0.0.0
(cd .libs && rm -f libpalm_sync.0 && ln -s libpalm_sync.0.0.0
libpalm_sync.0)
(cd .libs && rm -f libpalm_sync && ln -s libpalm_sync.0.0.0
libpalm_sync)

I guess that an update of the autotools broke this. I remembered a hint
i got on irc:

our autogen.sh file in multisync looks like this

      if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
        if test -z "$NO_LIBTOOLIZE" ; then
          echo "Running libtoolize..."
          libtoolize --force --copy
        fi
      fi

this has been correct some time ago but now it should be AC_PROG_LIBTOOL
By changing this i got the behaviuor i wanted (libpalm_sync.so.0.0.0)

usr/lib/libpisock.so  -Wl,--export-dynamic -Wl,-soname
-Wl,libpalm_sync.so.0 -o .libs/libpalm_sync.so.0.0.0
(cd .libs && rm -f libpalm_sync.so.0 && ln -s libpalm_sync.so.0.0.0
libpalm_sync.so.0)
(cd .libs && rm -f libpalm_sync.so && ln -s libpalm_sync.so.0.0.0
libpalm_sync.so)

could you please change the AM_PROG_LIBTOOL to AC_PROG_LIBTOOL (line
131) in your local copy, rebuild everything and see if it breaks
anything. Please tell me what happend so i can see if it is ok to commit
this change.

Armin



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.