$NetBSD: patch-ae,v 1.3 2002/03/04 19:16:06 fredb Exp $ --- autoconf/configure.in.orig Fri Mar 1 00:33:37 2002 +++ autoconf/configure.in @@ -84,6 +84,7 @@ AC_PATH_PROG(CP, cp, cp) AC_PATH_PROG(MKDIR, mkdir, mkdir) AC_PATH_PROG(PERL, perl, perl) +AC_PATH_PROG(LIBTOOL, libtool, libtool) dnl# let's check for endiannes of our box AC_C_BIGENDIAN @@ -263,20 +264,16 @@ dnl# AFTERSTEP_LIB="-lafterstep" dnl# ASIMAGE_LIB="-lasimage" dnl# WIDGETS_LIB="-lWidgets" +AFTERSTEP_LIB="../../lib/libafterstep.la" +ASIMAGE_LIB="../../asimagelib/libasimage.la" +WIDGETS_LIB="../Script/Widgets/libWidgets.la" +CONFIG_LIB="../Config/libasConfig.la" +LIBPROG='$(PROG)' +LIBINSTALL="install.dyn" if test "x$enable_staticlibs" = "xyes"; then - AFTERSTEP_LIB="../../lib/libafterstep.a" - ASIMAGE_LIB="../../asimagelib/libasimage.a" - WIDGETS_LIB="../Script/Widgets/libWidgets.a" - CONFIG_LIB="../Config/libasConfig.a" - LIBPROG='$(PROG)' - LIBINSTALL="" + LDSTATIC="-static" else - AFTERSTEP_LIB="../../lib/libafterstep.so" - ASIMAGE_LIB="../../asimagelib/libasimage.so" - WIDGETS_LIB="../Script/Widgets/libWidgets.so" - CONFIG_LIB="../Config/libasConfig.so" - LIBPROG='$(DYNPROG)' - LIBINSTALL="install.dyn" + LDSTATIC="" fi ASIMAGE_LIB="$ASIMAGE_LIB $LIB_MATH"