Changeset 29807 in webkit


Ignore:
Timestamp:
Jan 26, 2008 4:32:49 AM (16 years ago)
Author:
mrowe@apple.com
Message:

Fix http://bugs.webkit.org/show_bug.cgi?id=17007 ([GTK] autogen.sh attempts to use "libtoolize" on the Mac).

Reviewed by Alp Toker.

libtoolize is installed as glibtoolize on Mac OS X to avoid naming conflicts
with other system commands. Check for the presence of glibtoolize if libtoolize
cannot be found.

  • autogen.sh:
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r29741 r29807  
     12008-01-26  Mark Rowe  <mrowe@apple.com>
     2
     3        Reviewed by Alp Toker.
     4
     5        Fix http://bugs.webkit.org/show_bug.cgi?id=17007.
     6        Bug 17007: [GTK] autogen.sh attempts to use "libtoolize" on the Mac
     7
     8        libtoolize is installed as glibtoolize on Mac OS X to avoid naming conflicts
     9        with other system commands.  Check for the presence of glibtoolize if libtoolize
     10        cannot be found.
     11
     12        * autogen.sh:
     13
    1142008-01-23  Alp Toker  <alp@atoker.com>
    215
  • trunk/autogen.sh

    r29663 r29807  
    1212
    1313(autoconf --version) < /dev/null > /dev/null 2>&1 || {
    14         echo
    15         echo "You must have autoconf installed to compile $PROJECT."
    16         echo "Install the appropriate package for your distribution,"
    17         echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
    18         DIE=1
     14    echo
     15    echo "You must have autoconf installed to compile $PROJECT."
     16    echo "Install the appropriate package for your distribution,"
     17    echo "or get the source tarball at http://ftp.gnu.org/gnu/autoconf/"
     18    DIE=1
    1919}
    2020
    2121(automake --version) < /dev/null > /dev/null 2>&1 || {
    22         echo
    23         echo "You must have automake installed to compile $PROJECT."
    24         echo "Install the appropriate package for your distribution,"
    25         echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
    26         DIE=1
     22    echo
     23    echo "You must have automake installed to compile $PROJECT."
     24    echo "Install the appropriate package for your distribution,"
     25    echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
     26    DIE=1
     27}
     28
     29LIBTOOLIZE=libtoolize
     30($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
     31    LIBTOOLIZE=glibtoolize
     32    ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
     33        echo
     34        echo "You must have libtool installed to compile $PROJECT."
     35        echo "Install the appropriate package for your distribution,"
     36        echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
     37        DIE=1
     38    }
    2739}
    2840
    2941if test "$DIE" -eq 1; then
    30         exit 1
     42    exit 1
    3143fi
    3244
     
    3648
    3749aclocal || exit $?
    38 libtoolize --force || exit $?
     50$LIBTOOLIZE --force || exit $?
    3951autoheader || exit $?
    4052automake --foreign --add-missing || exit $?
Note: See TracChangeset for help on using the changeset viewer.