diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-08-09 16:41:59 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-08-09 16:41:59 +0000 |
commit | 84c25048bd1a08e1d66fc74c2b3681fe269d4a71 (patch) | |
tree | 0df13d3199a04b9ac8b3c576d9f4881593a87a36 /bootstrap.sh | |
parent | c4a12b6077ede4a6421d20814a69aa0bb0c1f828 (diff) |
Initial commit
git-svn-id: file:///home/lennart/svn/public/waproamd/trunk@3 022f378f-78c4-0310-b860-d162c87e6274
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..1a9ef00 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,39 @@ +#!/bin/sh +# $Id: bootstrap.sh 20 2003-07-10 16:21:55Z lennart $ + +# This file is part of wepkeyd. +# +# wepkeyd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# wepkeyd is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; 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 wepkeyd; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + +if [ "x$1" = "xam" ] ; then + set -ex + automake -a -c + ./config.status +else + set -ex + + make maintainer-clean || true + + rm -rf autom4te.cache + rm -f config.cache + + aclocal + autoheader + automake -a -c + autoconf -Wall + + ./configure --sysconfdir=/etc "$@" +fi + |