/[libtool]/libtool/tests/tagdemo-conf.test
ViewVC logotype

Diff of /libtool/tests/tagdemo-conf.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by othman, Tue Feb 1 05:42:00 2000 UTC revision 1.2 by rboehne, Wed Jun 6 14:53:29 2001 UTC
# Line 0  Line 1 
1    #! /bin/sh
2    # tagdemo-conf.test - try configuring the ../tagdemo subdirectory
3    
4    # Test script header.
5    need_prefix=yes
6    if test -z "$srcdir"; then
7      srcdir=`echo "$0" | sed 's%/[^/]*$%%'`
8      test "$srcdir" = "$0" && srcdir=.
9      test "${VERBOSE+set}" != "set" && VERBOSE=yes
10    fi
11    . $srcdir/defs || exit 1
12    
13    # Maybe we have a VPATH build, in which case, create a new subdir.
14    test -d ../tagdemo || mkdir ../tagdemo
15    
16    # Change to our build directory.
17    cd ../tagdemo || exit 1
18    
19    # Possibly clean up the distribution.
20    if test -f Makefile; then
21      echo "= Running $make distclean in ../tagdemo"
22      $make distclean
23    fi
24    rm -f config.cache
25    
26    # Configure the demonstration.
27    echo "= Configuring in ../tagdemo (prefix=$prefix)"
28    CONFIG_SITE=/dev/null/config/site ${CONFIG_SHELL-/bin/sh} $srcdir/../tagdemo/configure --srcdir=$srcdir/../tagdemo --prefix=$prefix || exit 1
29    
30    if egrep '^build_old_libs=yes' libtool > /dev/null &&
31       egrep '^build_libtool_libs=yes' libtool > /dev/null; then :
32    else rm -f Makefile && exit 77
33    fi
34    
35    exit 0

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26