Changeset 2984
- Timestamp:
- Oct 18, 2008, 11:31:33 PM (14 years ago)
- Location:
- powerpipo/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
powerpipo/trunk/bootstrap
r1818 r2984 1 1 #! /bin/sh 2 # $Id: bootstrap 1974 2008-04-04 11:32:24Z sam $ 2 3 3 # bootstrap: the ultimate bootstrap/autogen.sh script for autotools projects 4 # Copyright (c) 2002, 2003, 2004, 2005, 2006 Sam Hocevar <sam@zoy.org> 4 # bootstrap: generic bootstrap/autogen.sh script for autotools projects 5 # 6 # Copyright (c) 2002-2008 Sam Hocevar <sam@zoy.org> 5 7 # 6 8 # This program is free software. It comes without any warranty, to … … 27 29 28 30 # Check for needed features 29 auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([ \[ ]*\([^\] )]*\).*/\1/p' $conffile`"31 auxdir="`sed -ne 's/^[ \t]*A._CONFIG_AUX_DIR *([[ ]*\([^] )]*\).*/\1/p' $conffile`" 30 32 libtool="`grep -q '^[ \t]*A._PROG_LIBTOOL' $conffile && echo yes || echo no`" 31 33 header="`grep -q '^[ \t]*A._CONFIG_HEADER' $conffile && echo yes || echo no`" 32 aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am`" 34 makefile="`[ -f Makefile.am ] && echo yes || echo no`" 35 aclocalflags="`sed -ne 's/^[ \t]*ACLOCAL_AMFLAGS[ \t]*=//p' Makefile.am 2>/dev/null || :`" 33 36 34 37 # Check for automake 35 38 amvers="no" 36 for v in "-1.10" "110" "-1.9" "19" "-1.8" "18" "-1.7" "17" "-1.6" "16" "-1.5" "15"; do 37 if automake${v} --version >/dev/null 2>&1; then 38 amvers="${v}" 39 for v in 11 10 9 8 7 6 5; do 40 if automake-1.${v} --version >/dev/null 2>&1; then 41 amvers="-1.${v}" 42 break 43 elif automake1.${v} --version >/dev/null 2>&1; then 44 amvers="1.${v}" 39 45 break 40 46 fi … … 116 122 autoheader${acvers} 117 123 fi 118 #add --include-deps if you want to bootstrap with any other compiler than gcc 119 #automake${amvers} --add-missing --copy --include-deps 120 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 121 129 122 130 # Remove cruft that we no longer want -
powerpipo/trunk/configure.ac
r1818 r2984 5 5 AC_PREREQ(2.50) 6 6 AC_CONFIG_SRCDIR(src/main.c) 7 AC_CONFIG_AUX_DIR( autotools)7 AC_CONFIG_AUX_DIR(.auto) 8 8 AC_CANONICAL_SYSTEM 9 9
Note: See TracChangeset
for help on using the changeset viewer.