2535 |
31 Jul 11 |
peter |
#! /bin/sh |
2535 |
31 Jul 11 |
peter |
# $Id$ |
2535 |
31 Jul 11 |
peter |
3 |
# |
3999 |
08 Oct 20 |
peter |
# Copyright (C) 2011, 2012, 2013, 2020 Peter Johansson |
2535 |
31 Jul 11 |
peter |
5 |
# |
2535 |
31 Jul 11 |
peter |
# This file is part of the yat library, http://dev.thep.lu.se/yat |
2535 |
31 Jul 11 |
peter |
7 |
# |
2535 |
31 Jul 11 |
peter |
# The yat library is free software; you can redistribute it |
2535 |
31 Jul 11 |
peter |
# and/or modify it under the terms of the GNU General Public License as |
2535 |
31 Jul 11 |
peter |
# published by the Free Software Foundation; either version 3 of the |
2535 |
31 Jul 11 |
peter |
# License, or (at your option) any later version. |
2535 |
31 Jul 11 |
peter |
12 |
# |
2535 |
31 Jul 11 |
peter |
# The yat library is distributed in the hope that it will be useful, |
2535 |
31 Jul 11 |
peter |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2535 |
31 Jul 11 |
peter |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
2535 |
31 Jul 11 |
peter |
# General Public License for more details. |
2535 |
31 Jul 11 |
peter |
17 |
# |
2535 |
31 Jul 11 |
peter |
# You should have received a copy of the GNU General Public License |
2535 |
31 Jul 11 |
peter |
# along with yat. If not, see <http://www.gnu.org/licenses/>. |
2535 |
31 Jul 11 |
peter |
20 |
|
2535 |
31 Jul 11 |
peter |
21 |
|
2537 |
31 Jul 11 |
peter |
# test macro YAT_PROG_MOVE_IF_CHANGE |
2535 |
31 Jul 11 |
peter |
23 |
|
2535 |
31 Jul 11 |
peter |
24 |
required="autoconf automake" |
2535 |
31 Jul 11 |
peter |
25 |
|
2535 |
31 Jul 11 |
peter |
26 |
set -e |
2535 |
31 Jul 11 |
peter |
27 |
|
3036 |
03 Jun 13 |
peter |
28 |
. test/init.sh || exit 99 |
2535 |
31 Jul 11 |
peter |
29 |
|
2535 |
31 Jul 11 |
peter |
30 |
cat >> configure.ac <<EOF |
2535 |
31 Jul 11 |
peter |
31 |
YAT_HAVE_SVN_WC |
2535 |
31 Jul 11 |
peter |
32 |
AC_CONFIG_FILES([Makefile]) |
2535 |
31 Jul 11 |
peter |
33 |
AC_OUTPUT |
2535 |
31 Jul 11 |
peter |
34 |
EOF |
2535 |
31 Jul 11 |
peter |
35 |
|
2535 |
31 Jul 11 |
peter |
36 |
cat > Makefile.am <<EOF |
2543 |
04 Aug 11 |
peter |
37 |
ACLOCAL_AMFLAGS = -I m4 |
2535 |
31 Jul 11 |
peter |
38 |
if HAVE_SVN_WC |
2535 |
31 Jul 11 |
peter |
39 |
all-local:; false |
2535 |
31 Jul 11 |
peter |
40 |
endif |
2535 |
31 Jul 11 |
peter |
41 |
EOF |
2535 |
31 Jul 11 |
peter |
42 |
|
2535 |
31 Jul 11 |
peter |
43 |
bootstrap |
3112 |
10 Nov 13 |
peter |
44 |
./configure $configure_opts |
2535 |
31 Jul 11 |
peter |
45 |
grep 'all-local' Makefile |
3945 |
20 Jul 20 |
peter |
46 |
$MAKE |
2535 |
31 Jul 11 |
peter |
47 |
exit_success; |