diff options
author | Timo Sirainen <cras@irssi.org> | 2000-10-04 10:42:13 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-10-04 10:42:13 +0000 |
commit | b3f988bf1633b5e14c08286c096ae793ae559312 (patch) | |
tree | 02fa2a8f83425bf182722294c63b81bd4d6268c1 | |
parent | 5798a32b1733f63e694d3038d73c0039afe79bbc (diff) | |
download | irssi-b3f988bf1633b5e14c08286c096ae793ae559312.zip |
For compatibility with older libtools.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@721 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 62a2111b..1e17fd28 100644 --- a/configure.in +++ b/configure.in @@ -13,6 +13,14 @@ AC_ARG_PROGRAM AM_PROG_LIBTOOL dnl * ahem.. :) we don't want static libraries for modules +if test "x$lt_target" = "x"; then + if "x$target" = "x"; then + lt_target="$host" + else + lt_target="$target" + fi +fi + ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ $libtool_flags --disable-static --output=libtool-static --no-verify $ac_aux_dir/ltmain.sh $lt_target \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } |