File: libtoolize.sh

package info (click to toggle)
libsbml 5.20.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 117,108 kB
  • sloc: cpp: 469,781; xml: 364,270; ansic: 54,078; python: 12,540; makefile: 9,757; sh: 9,245; cs: 8,586; java: 8,151; perl: 6,133; ruby: 4,760; javascript: 1,605; php: 202; csh: 3
file content (38 lines) | stat: -rwxr-xr-x 825 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
#
# libtoolize.sh
#
# Please run this script when importing or updating libtool resources 
# for libSBML, and then run "make configure" to update configure.
#
# This script will create or update the following files:
#
#   config/ltmain.sh
#   config/config.guess
#   config/config.sub
#
# (*) config.guess and config.sub should be manually updated to the 
#     latest versions which are available at ftp://ftp.gnu.org/gnu/config
#

LIBTOOLIZE=libtoolize

set -e
set -x

#
# Creates config/{ltmain.sh, config.guess, config.sub}
#
if ${LIBTOOLIZE} --version | grep 'libtoolize (GNU libtool) 2'; then
  #
  # In libtool 2.2.x, "-i" optsion is required to copy missing 
  # auxiliary files.
  #
  ${LIBTOOLIZE} -c -f -i
else
  ${LIBTOOLIZE} -c -f
fi

set +x
echo "Please run ./autogen.sh to update configure script."