Changeset 3643
- Timestamp:
- Aug 25, 2009, 4:23:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/bootstrap
r2176 r3643 4 4 # bootstrap: generic bootstrap/autogen.sh script for autotools projects 5 5 # 6 # Copyright (c) 2002-200 7 Sam Hocevar <sam@zoy.org>6 # Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net> 7 7 # 8 8 # This program is free software. It comes without any warranty, to … … 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 pkgconfig="`grep -q '^[ \t]*PKG_PROG_PKG_CONFIG' $conffile && echo yes || echo no`" 34 header="`grep -q '^[ \t]*A._CONFIG_HEADER' $conffile && echo yes || echo no`" 35 aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am`" 32 pkgconfig="`grep '^[ \t]*PKG_PROG_PKG_CONFIG' $conffile >/dev/null 2>&1 && echo yes || echo no`" 33 libtool="`grep '^[ \t]*A._PROG_LIBTOOL' $conffile >/dev/null 2>&1 && echo yes || echo no`" 34 header="`grep '^[ \t]*A._CONFIG_HEADER' $conffile >/dev/null 2>&1 && echo yes || echo no`" 35 makefile="`[ -f Makefile.am ] && echo yes || echo no`" 36 aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/null || :`" 36 37 37 38 # Check for automake 38 39 amvers="no" 39 for v in 1 0 9 8 7 6 5; do40 for v in 11 10 9 8 7 6 5; do 40 41 if automake-1.${v} --version >/dev/null 2>&1; then 41 42 amvers="-1.${v}" … … 130 131 autoheader${acvers} 131 132 fi 132 #add --include-deps if you want to bootstrap with any other compiler than gcc 133 #automake${amvers} --add-missing --copy --include-deps 134 automake${amvers} --foreign --add-missing --copy 133 if test "$makefile" = "yes"; then 134 #add --include-deps if you want to bootstrap with any other compiler than gcc 135 #automake${amvers} --add-missing --copy --include-deps 136 automake${amvers} --foreign --add-missing --copy 137 fi 135 138 136 139 # Remove cruft that we no longer want
Note: See TracChangeset
for help on using the changeset viewer.