uninstalled modules do not build .so files

2008-12-23 Thread Andy Wingo
Hi,

So, this is a resend, as for some reason the silliest of autotools
projects creates 300 kB tarballs. Attaching the files individually:
unpack in a directory of their own please.

***

Unpack the attached tarball (it will create its own directory). It is a
standard autotooled project with one file, foo.c.

Expected results: ./autogen.sh  make produces a .so file in .libs.

Actual results: No .so file is produced.

(Actual desired results: that the .so would be produced in the builddir
itself.)

What's the deal?

This is with libtool 2.2.6a.

Andy

AC_INIT(libtool-bug, 0.1)
AC_CONFIG_SRCDIR(foo.c)
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign])

AC_PROG_CC
AC_PROG_LIBTOOL

AC_OUTPUT([Makefile])
# -*- makefile-gmake -*-

noinst_LTLIBRARIES = libfoo.la

libfoo_la_SOURCES = foo.c
libfoo_la_LDFLAGS = -module
int func(void) 
{
  return 42;
}
___
http://lists.gnu.org/mailman/listinfo/libtool


Re: uninstalled modules do not build .so files

2008-12-23 Thread Roumen Petrov

Andy Wingo wrote:


Hi,

So, this is a resend, as for some reason the silliest of autotools
projects creates 300 kB tarballs. Attaching the files individually:
unpack in a directory of their own please.

***

Unpack the attached tarball (it will create its own directory). It is a
standard autotooled project with one file, foo.c.

Expected results: ./autogen.sh  make produces a .so file in .libs.

Actual results: No .so file is produced.


AC_ENABLE_SHARED ?

Roumen


___
http://lists.gnu.org/mailman/listinfo/libtool