]>
cygwin.com Git - cygwin-apps/setup.git/blob - bootstrap.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
15 echo "Autotool bootstrapping failed. You will need to investigate and correct" ;
16 echo "before you can develop on this source tree"
23 # Make sure we are running in the right directory
24 if [ ! -f main.cc
]; then
25 echo "You must run this script from the directory containing it"
30 # Make sure cfgaux exists
33 # Bootstrap the autotool subsystems
34 echo "bootstrapping in $srcdir"
36 # bootstrap autoheader
37 bootstrap libtoolize
--automake
39 bootstrap automake
--foreign --add-missing
41 # Run bootstrap in required subdirs, iff it has not yet been run
42 echo "bootstrapping in $srcdir/libgetopt++"
43 cd libgetopt
++ && .
/bootstrap.sh
45 if test -n "$NOCONFIGURE"; then
46 echo "Skipping configure per request"
52 build
=`$srcdir/cfgaux/config.guess`
54 if hash i686-w64-mingw32-g
++ 2> /dev
/null
; then
55 host="i686-w64-mingw32"
56 elif hash i686-pc-mingw32-g
++ 2> /dev
/null
; then
57 host="i686-pc-mingw32"
58 elif hash x86_64-w64-mingw32-g
++ 2> /dev
/null
; then
59 host="x86_64-w64-mingw32"
61 echo "mingw32 or mingw64 target g++ required for building setup"
65 echo "running configure"
66 $srcdir/configure
-C --build=$build --host=$host "$@"
This page took 0.036655 seconds and 5 git commands to generate.