Bug#2417: Problems creating dynamic libs in own projects
Joachim Eibl
Joachim.Eibl at gmx.de
Sun Dec 12 22:16:11 UTC 1999
Package: kdevelop
Version: 1.0beta4.1
Severity: wishlist
Bugreport ID : 22:54,12.12.99
Originator : Joachim Eibl
E-Mail : Joachim.Eibl at gmx.de
Subject : Dynamic libs in own projects
Error Class : change-request
Error Location : acinclude.m4 (template)
Priority : low
Bug Description ---------------------------
I wanted to make shared libraries using autoconf, etc.
But it never worked with the original acinclude.m4 that was put into
the directory during initial project creation.
Here is the relevant piece of code:
AC_DEFUN(KDE_DO_IT_ALL,
[
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
AM_INIT_AUTOMAKE($1, $2)
*********Problem************************
AM_DISABLE_LIBRARIES
******************************************
AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
AC_CHECK_COMPILERS
KDE_PROG_LIBTOOL
AM_KDE_WITH_NLS
AC_PATH_KDE
])
How to repeat the error -------------------
Bugfix or Workaround ----------------------
After removing the "AM_DISABLE_LIBRARIES"-command everything
worked.
Since I don't know why this command is there in the first place, I'm not
sure, that it may be removed for other projects.
(It took me more than a day to find the bug.)
KDeveloper is great! Good job!
Joachim Eibl
System Information ------------------------
KDevelop version : 1.0beta4.1
KDE version :
QT version :
OS/Distribution :
Compiler :
misc :
--
Sent through Global Message Exchange - http://www.gmx.net
More information about the KDevelop-devel
mailing list