I think I have a workaround to fix this problem:
First I've copied the directory "/usr/share/apps/kdevappwizard/" to "$HOME/.kde/share/apps/". Next I've extract the archive "$HOME/.kde/share/apps/kdevappwizard/template-common/incadmin.tar.gz" and I've replaced the old file "ltmain.sh" with the new one from "/usr/share/libtool/config/ltmain.sh".
Then I've packed them again to a new file named "incadmin.tar.gz" and
replaced the old archive with the new one. Now the script ltmain.sh
creates a current libtool while compilation and my source code compiles
without any error.
I have attached my new archive "incadmin.tar.gz" with the new file "ltmain.sh" included. Hope this will help.、
qian@qian:~/work/sdf/debug/src$ libtool --version
ltmain.sh (GNU libtool) 2.2.6
Written by Gordon Matzigkeit <email@example.com>, 1996
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.