only for -force-static; it should be removed soon, before people
start to use it
1998-12-16 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * ltmain.in (-DSTATIC): changed to -DLIBTOOL_STATIC, and defined
+ only for -force-static; it should be removed soon, before people
+ start to use it
+
* configure.in (AC_CONFIG_SUBDIRS): added libltdl
* Makefile.am (SUBDIRS): build libltdl by default
(DIST_SUBDIRS): simplify distribution of demo and mdemo
# Only build a position-dependent object if we build old libraries.
if test "$build_old_libs" = yes; then
- command="$base_compile -DSTATIC $srcfile"
+ command="$base_compile $srcfile"
+ if test "$force_static" = yes; then
+ command="$command -DLIBTOOL_STATIC"
+ fi
if test "$compiler_c_o" = yes; then
command="$command -o $obj"
output_obj="$obj"