~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to autoconf-lib-link/tests/rpath-1

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Common portion of all rpath-1* tests.
 
2
 
 
3
tmpfiles=""
 
4
trap 'rm -fr $tmpfiles' 1 2 3 15
 
5
 
 
6
builddir=`pwd`
 
7
global_top_auxdir=`cd "$top_srcdir"/config && pwd`
 
8
export global_top_auxdir
 
9
 
 
10
test -d tstdir || mkdir tstdir
 
11
 
 
12
tmpfiles="$tmpfiles $rp-prefix"
 
13
rm -rf $rp-prefix
 
14
mkdir $rp-prefix
 
15
 
 
16
tmpfiles="$tmpfiles tstdir/$rp-build1"
 
17
rm -rf tstdir/$rp-build1
 
18
mkdir tstdir/$rp-build1
 
19
(cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -)
 
20
(cd tstdir/$rp-build1
 
21
 ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1
 
22
 make > make.log 2>&1
 
23
 make install > install.log 2>&1
 
24
)
 
25
 
 
26
tmpfiles="$tmpfiles tstdir/$rp-build2"
 
27
rm -rf tstdir/$rp-build2
 
28
mkdir tstdir/$rp-build2
 
29
(cd $srcdir/rpathlx && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -)
 
30
(cd tstdir/$rp-build2
 
31
 ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix > configure.log 2>&1
 
32
 make > make.log 2>&1
 
33
 make check >> make.log
 
34
)
 
35
result=$?
 
36
 
 
37
rm -rf $tmpfiles
 
38
 
 
39
exit $result