1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
$NetBSD: patch-ae,v 1.2 2006/02/21 22:40:47 wiz Exp $
--- autoconf/configure.in.orig 2002-03-01 06:33:37.000000000 +0000
+++ autoconf/configure.in
@@ -84,6 +84,7 @@ AC_PATH_PROG(MV, mv, mv)
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 @@ LIBS=$saved_LIBS
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"
@@ -331,6 +328,7 @@ AC_SUBST(AFTERSTEP_LIB)
AC_SUBST(ASIMAGE_LIB)
AC_SUBST(WIDGETS_LIB)
AC_SUBST(CONFIG_LIB)
+AC_SUBST(LDSTATIC)
AC_SUBST(LIBPROG)
AC_SUBST(LIBINSTALL)
AC_SUBST(DEFINE_XLOCALE)
|