Skip to content

Commit efa90d6

Browse files
committed
Install <host>-libtool, and libtool for non-cross.
0 parents  commit efa90d6

File tree

4 files changed

+74
-0
lines changed

4 files changed

+74
-0
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2014 Gentoo Foundation
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
# created by maintainer
5+
Makefile.in
6+
aclocal.m4
7+
autom4te.cache
8+
config.guess
9+
config.sub
10+
configure
11+
install-sh
12+
ltmain.sh
13+
m4
14+
missing
15+
16+
# created by configure
17+
Makefile
18+
config.log
19+
config.status
20+
libtool
21+
22+
# created by make
23+
*-libtool

Makefile.am

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2014 Gentoo Foundation
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
ACLOCAL_AMFLAGS = -I m4
5+
6+
BUILT_SOURCES = libtool $(host)-libtool
7+
CLEANFILES = $(host)-libtool
8+
9+
bin_SCRIPTS = $(host)-libtool
10+
if !CROSS_COMPILE
11+
bin_SCRIPTS += libtool
12+
endif
13+
14+
$(host)-libtool: libtool
15+
$(LN_S) libtool $@
16+
17+
EXTRA_DIST = bootstrap.sh

bootstrap.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#! /bin/sh
2+
# Copyright 2014 Gentoo Foundation
3+
# Distributed under the terms of the GNU General Public License v2
4+
5+
set -x
6+
7+
cd `dirname $0` || exit 1
8+
mkdir -p m4 || exit 1
9+
libtoolize --copy --install --force || exit 1
10+
aclocal -I m4 --install --warnings=all || exit 1
11+
automake --add-missing --copy --force-missing --ignore-deps --warnings=all || exit 1
12+
autoconf -I m4 --force --warnings=all --warnings=no-obsolete || exit 1
13+

configure.ac

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2014 Gentoo Foundation
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
AC_INIT([host-libtool],[0.1.0],[haubi@gentoo.org])
5+
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
6+
7+
AC_CONFIG_MACRO_DIR([m4])
8+
9+
LT_INIT([dlopen win32-dll shared static])
10+
11+
LT_LANG(C++)
12+
LT_LANG(Fortran 77)
13+
LT_LANG(Fortran)
14+
LT_LANG(Go)
15+
LT_LANG(Java)
16+
LT_LANG(Windows Resource)
17+
18+
AM_CONDITIONAL([CROSS_COMPILE], [test "x$host" != "x$build"])
19+
20+
AC_CONFIG_FILES([Makefile])
21+
AC_OUTPUT

0 commit comments

Comments
 (0)