aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-10 22:03:57 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-10 22:03:57 +0000
commit647e61cc6d9b13dd2799d2302ce9289a1627e36c (patch)
tree5172bfbe4df60948bf6d61ebea28366a51c03c12 /configure.in
parent104580e0bfb5aa2f79bc6c4c96935a8832f5f787 (diff)
downloadriscv-openocd-647e61cc6d9b13dd2799d2302ce9289a1627e36c.zip
riscv-openocd-647e61cc6d9b13dd2799d2302ce9289a1627e36c.tar.gz
riscv-openocd-647e61cc6d9b13dd2799d2302ce9289a1627e36c.tar.bz2
Extend autotools build to create shared library libopenocd with libtool:
- Add libtoolize step too bootstrap script; creates ltmain.sh script. - Add AC_PROG_LIBTOOL to configure.in to add libtool support to build. - Change Makefile.am library rules from static (_a) to libtool (_la). - Install libopenocd.{la,so,a} in $(libdir); update openocd link rules. - Extend MAINTAINERCLEANFILES in top-level Makefile.am to remove ltmain.sh. git-svn-id: svn://svn.berlios.de/openocd/trunk@1695 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index a6177e1..8256adb 100644
--- a/configure.in
+++ b/configure.in
@@ -787,6 +787,7 @@ AC_PROG_CC
AC_PROG_CC_C99
AM_PROG_CC_C_O
AC_PROG_RANLIB
+AC_PROG_LIBTOOL
# Look for environ alternatives. Possibility #1: is environ in unistd.h or stdlib.h?
AC_MSG_CHECKING([for environ in unistd.h and stdlib.h])