57 lines
1.7 KiB
Bash
57 lines
1.7 KiB
Bash
|
#!/bin/bash
|
||
|
# bootstrap.sh -- Use this script to create generated files from the CVS dist
|
||
|
|
||
|
# This file is part of `distromatic', the QiLinux RPM tool for the distribution
|
||
|
# Copyright (C) 2006 by Davide Madrisan <davide.madrisan@gmail.com>
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify it under
|
||
|
# the terms of version 2 of the GNU General Public License as published by the
|
||
|
# Free Software Foundation.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful, but
|
||
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||
|
# See the GNU General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU General Public License along with
|
||
|
# this program; if not, write to the Free Software Foundation, Inc.,
|
||
|
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||
|
|
||
|
if expr a : '\(a\)' >/dev/null 2>&1; then
|
||
|
as_expr=expr
|
||
|
else
|
||
|
as_expr=false
|
||
|
fi
|
||
|
|
||
|
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
||
|
as_basename=basename
|
||
|
else
|
||
|
as_basename=false
|
||
|
fi
|
||
|
|
||
|
as_me=`$as_basename "$0" ||
|
||
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
||
|
X"$0" : 'X\(//\)$' \| \
|
||
|
X"$0" : 'X\(/\)$' \| \
|
||
|
: '\(.\)' 2>/dev/null ||
|
||
|
echo X/"$0" |
|
||
|
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
||
|
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
||
|
/^X\/\(\/\).*/{ s//\1/; q; }
|
||
|
s/.*/./; q'`
|
||
|
|
||
|
ac_aux_dir=config
|
||
|
|
||
|
test -f ./$ac_aux_dir/$as_me ||
|
||
|
{ echo "$as_me: error: run me from the package root folder" >&2
|
||
|
{ (exit 1); exit 1; }; }
|
||
|
|
||
|
set -x
|
||
|
|
||
|
aclocal -I $ac_aux_dir || exit 1
|
||
|
|
||
|
autoheader || exit 1
|
||
|
automake --gnu --add-missing --copy -Wobsolete -Woverride || exit 1
|
||
|
|
||
|
autoconf --warnings=all
|