Changeset 2599
- Timestamp:
- Jul 29, 2008, 1:01:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/bootstrap
r2227 r2599 1 1 #! /bin/sh 2 # $Id: bootstrap 1966 2008-02-17 08:29:51Z sam $2 # $Id: bootstrap 2005 2008-07-16 20:51:50Z sam $ 3 3 4 4 # bootstrap: generic bootstrap/autogen.sh script for autotools projects … … 30 30 # Check for needed features 31 31 auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([[ ]*\([^] )]*\).*/\1/p' $conffile`" 32 libtool="`grep -q '^[ \t]*A._PROG_LIBTOOL' $conffile && echo yes || echo no`" 33 header="`grep -q '^[ \t]*A._CONFIG_HEADER' $conffile && echo yes || echo no`" 34 aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am`" 32 libtool="`grep '^[ \t]*A._PROG_LIBTOOL' $conffile >/dev/null 2>&1 && echo yes || echo no`" 33 header="`grep '^[ \t]*A._CONFIG_HEADER' $conffile >/dev/null 2>&1 && echo yes || echo no`" 34 makefile="`[ -f Makefile.am ] && echo yes || echo no`" 35 aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/null || :`" 35 36 36 37 # Check for automake … … 121 122 autoheader${acvers} 122 123 fi 123 #add --include-deps if you want to bootstrap with any other compiler than gcc 124 #automake${amvers} --add-missing --copy --include-deps 125 automake${amvers} --foreign --add-missing --copy 124 if test "$makefile" = "yes"; then 125 #add --include-deps if you want to bootstrap with any other compiler than gcc 126 #automake${amvers} --add-missing --copy --include-deps 127 automake${amvers} --foreign --add-missing --copy 128 fi 126 129 127 130 # Remove cruft that we no longer want
Note: See TracChangeset
for help on using the changeset viewer.