On 4 Apr 2000, Alexandre Oliva wrote:

> On Apr  4, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
> 
> >>>>>> "Bob" == Bob Friesenhahn <[EMAIL PROTECTED]> writes:
> Bob> I have been using AM_ENABLE_SHARED(no) AM_ENABLE_STATIC(yes)
> Bob> AC_PROG_LIBTOOL
> 
> > Will probably disappear if you move to AC_, not AM_.  Untested.
> 
> Why would it disappear?  One just `indir's the other.

And it doesn't disappear.  From the generated configure's help output:

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-dependency-tracking Speeds up one-time builds
  --enable-dependency-tracking  Do not reject slow dependency extractors
  --enable-shared=PKGS  build shared libraries default=yes
  --enable-static=PKGS  build static libraries default=yes
  --enable-fast-install=PKGS  optimize for fast installation default=yes
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-shared=PKGS  build shared libraries default=no
  --enable-static=PKGS  build static libraries default=yes

This is the relevant configure.in code:

#
# Configure libtool and ltdl
#
AC_LIBLTDL_CONVENIENCE
# Substitute INCLTDL and LIBLTDL in the Makefiles
AC_SUBST(INCLTDL)
AC_SUBST(LIBLTDL)
# Check for dlopen support
AC_LIBTOOL_DLOPEN
AC_LIBTOOL_SETUP
# Configure libtool
AC_ENABLE_SHARED(no)
AC_ENABLE_STATIC(yes)
AC_PROG_LIBTOOL

Am I doing something in the wrong order?

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen

Reply via email to