Ignore:
Timestamp:
Mar 26, 2005, 11:27:30 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Use libtool for the static library generation; paves the way for a future shared library.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/bootstrap

    r367 r475  
    3838fi
    3939
     40libtoolize="no"
     41if glibtoolize --version >/dev/null 2>&1; then
     42  libtoolize="glibtoolize"
     43elif libtoolize --version >/dev/null 2>&1; then
     44  libtoolize="libtoolize"
     45fi
     46
     47if test "$libtoolize" = "no"; then
     48  set +x
     49  echo "$0: you need libtool"
     50  exit 1
     51fi
     52
    4053# Remove old cruft
    4154rm -f aclocal.m4 configure config.guess config.log config.sub config.cache config.h.in config.h compile ltmain.sh libtool ltconfig missing mkinstalldirs depcomp install-sh INSTALL
    4255rm -Rf autom4te.cache
    4356(cd autotools && rm -f config.guess config.sub missing mkinstalldirs compile ltmain.sh depcomp install-sh)
     57
     58${libtoolize} --copy --force
     59if test -f "ltmain.sh"; then
     60  echo "$0: working around a minor libtool issue"
     61  mv ltmain.sh autotools/
     62fi
    4463
    4564aclocal${amvers}
Note: See TracChangeset for help on using the changeset viewer.