]> cygwin.com Git - cygwin-apps/setup.git/blob - libgetopt++/bootstrap.sh
2002-04-14 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / libgetopt++ / bootstrap.sh
1 #! /bin/sh
2 # Used to setup the configure.in, autoheader and Makefile.in's if configure
3 # has not been generated. This script is only needed for developers when
4 # configure has not been run, or if a Makefile.am in a non-configured directory
5 # has been updated
6
7
8 bootstrap() {
9 if "$@"; then
10 true # Everything OK
11 else
12 echo "$1 failed"
13 echo "Autotool bootstrapping failed. You will need to investigate and correct" ;
14 echo "before you can develop on this source tree"
15 exit 1
16 fi
17 }
18
19 # Make sure cfgaux exists
20 mkdir -p cfgaux
21
22 # Bootstrap the autotool subsystems
23 bootstrap aclocal
24 bootstrap autoheader
25 bootstrap libtoolize --automake
26 bootstrap automake --foreign --add-missing
27 bootstrap autoconf
28
29 echo "Autotool bootstrapping complete."
This page took 0.036382 seconds and 5 git commands to generate.