/[pcre]/code/tags/pcre-8.11/autogen.sh
ViewVC logotype

Diff of /code/tags/pcre-8.11/autogen.sh

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

revision 134 by ph10, Mon Mar 26 16:00:17 2007 UTC revision 484 by ph10, Mon Jan 4 17:11:54 2010 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3  set -ex  set -ex
   
4  rm -rf autom4te.cache  rm -rf autom4te.cache
   
5  aclocal --force  aclocal --force
6    
7  libtoolize -c -f  # GNU libtool is named differently on some systems.  This code tries several
8    # variants like glibtoolize (MacOSX) and libtoolize1x (FreeBSD)
9    
10  autoconf -f -W all,no-obsolete  set +ex
11    echo "Looking for a version of libtoolize (which can have different names)..."
12    libtoolize=""
13    for l in glibtoolize libtoolize15 libtoolize14 libtoolize ; do
14        $l --version > /dev/null 2>&1
15        if [ $? = 0 ]; then
16            libtoolize=$l
17            echo "Found $l"
18            break
19        fi
20        echo "Did not find $l"
21    done
22    
23    if [ "x$libtoolize" == "x" ]; then
24        echo "Can't find libtoolize on your system"
25        exit 1
26    fi
27    
28    set -ex
29    $libtoolize -c -f
30    autoconf -f -W all,no-obsolete
31  autoheader -f -W all  autoheader -f -W all
   
32  automake -a -c -f -W all  automake -a -c -f -W all
33    
34  rm -rf autom4te.cache  rm -rf autom4te.cache
   
35  exit 0  exit 0
36    
37  # end autogen.sh  # end autogen.sh

Legend:
Removed from v.134  
changed lines
  Added in v.484

  ViewVC Help
Powered by ViewVC 1.1.5