| 1 |
#! /bin/sh |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
# you may not use this file except in compliance with the License. |
| 5 |
# You may obtain a copy of the License at |
| 6 |
# |
| 7 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
# |
| 9 |
# Unless required by applicable law or agreed to in writing, software |
| 10 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
# See the License for the specific language governing permissions and |
| 13 |
# limitations under the License. |
| 14 |
# |
| 15 |
# Authors: |
| 16 |
# Oscar Koeroo <[email protected]> |
| 17 |
# Dennis van Dok <[email protected]> |
| 18 |
# Mischa Sall\'e <[email protected]> |
| 19 |
# NIKHEF Amsterdam, the Netherlands |
| 20 |
# <[email protected]> |
| 21 |
# |
| 22 |
|
| 23 |
set -x |
| 24 |
|
| 25 |
# On MacOS X, the GNU libtool is named `glibtool'. |
| 26 |
HOSTOS=`uname` |
| 27 |
LIBTOOLIZE=libtoolize |
| 28 |
if test "$HOSTOS"x = Darwinx; then |
| 29 |
LIBTOOLIZE=glibtoolize |
| 30 |
fi |
| 31 |
|
| 32 |
|
| 33 |
$LIBTOOLIZE --force --copy && \ |
| 34 |
aclocal -I project && \ |
| 35 |
autoheader --force && \ |
| 36 |
automake --add-missing --copy && \ |
| 37 |
autoconf || echo "Something went wrong! Check the above output." |
| 38 |
|