debug library is only static

"Dr. Uwe Girlich" <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
Hello list!

And here comes a small integration problem:

If I try to generate a full debug library with
./configure --enable-debug --enable-verbose-debug --enable-shared
it does not generate a shared library (even with --enable-shared).

The attached patch corrects this.

It would be better to have a debug library with a different name, so that
both (production and debug) can be installed in the same directory. The work-
around for me is to have re-configure with a different --prefix and install the
debug library in a different path.

Bye, Uwe

-- 
Dr. Uwe Girlich              email: [email protected]
Philosys Software GmbH       www: www.philosys.de
Edisonstrasse 6              phone: +49 89 321407-44
D-85716 Unterschleissheim    fax: +49 89 321407-12
library-debug.diff (text/plain, 378 B)
diff -u -r --exclude='*.o' ngpt-2.0.1-orig/aclocal.m4 ngpt-2.0.1/aclocal.m4
--- ngpt-2.0.1-orig/aclocal.m4	Fri Jun 21 18:55:18 2002
+++ ngpt-2.0.1/aclocal.m4	Tue Sep  3 08:41:13 2002
@@ -484,6 +484,8 @@
         *-*-mvs* ) 
 	    # Don't turn off shared libaries on OS/390.
 	    ;;
+	*-*-linux* )
+	    ;;
 	* )
 	    if test ".$msg" = .enabled; then
 	      enable_shared=no
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.