- Timestamp:
- Aug 18, 2014, 11:55:01 PM (8 years ago)
- Location:
- neercs/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
neercs/trunk/bootstrap
r4366 r4882 9 9 # and/or modify it under the terms of the Do What The Fuck You Want 10 10 # To Public License, Version 2, as published by Sam Hocevar. See 11 # http:// sam.zoy.org/wtfpl/COPYINGfor more details.11 # http://www.wtfpl.net/ for more details. 12 12 # 13 13 # The latest version of this script can be found at the following place: … … 37 37 # Check for automake 38 38 amvers="no" 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 for v in "" "-1.15" "-1.14" "-1.13" "-1.12" "-1.11"; do 40 if automake${v} --version > /dev/null 2>&1; then 41 amvers=${v} 45 42 break 46 43 fi 47 44 done 48 45 49 if test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then50 amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`"51 if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then52 amvers="no"53 else54 amvers=""55 fi56 fi57 58 46 if test "$amvers" = "no"; then 59 echo "$0: you need automake version 1.5 or later"47 echo "$0: automake not found" 60 48 exit 1 61 49 fi … … 71 59 72 60 if test "$acvers" = "no"; then 73 echo "$0: you need autoconf"61 echo "$0: autoconf not found" 74 62 exit 1 75 63 fi … … 90 78 91 79 if test "$libtoolize" = "no"; then 92 echo "$0: you need libtool"80 echo "$0: libtool not found" 93 81 exit 1 94 82 fi … … 98 86 if test "$pkgconfig" = "yes"; then 99 87 if ! pkg-config --version >/dev/null 2>&1; then 100 echo "$0: you need pkg-config"88 echo "$0: pkg-config not found" 101 89 exit 1 102 90 fi … … 110 98 mkdir "$auxdir" 111 99 fi 112 aclocalflags=" ${aclocalflags} -I $auxdir -I ."100 aclocalflags="-I $auxdir -I . ${aclocalflags}" 113 101 fi 102 103 # Honour M4PATH because sometimes M4 doesn't 104 save_IFS=$IFS 105 IFS=: 106 tmp="$M4PATH" 107 for x in $tmp; do 108 if test -n "$x"; then 109 aclocalflags="-I $x ${aclocalflags}" 110 fi 111 done 112 IFS=$save_IFS 114 113 115 114 # Explain what we are doing from now -
neercs/trunk/configure.ac
r4794 r4882 7 7 AC_CANONICAL_SYSTEM 8 8 9 AM_INIT_AUTOMAKE(neercs, 0.0) 10 AM_CONFIG_HEADER(config.h) 9 AM_INIT_AUTOMAKE([subdir-objects no-define tar-ustar silent-rules]) 11 10 12 11 AM_PROG_CC_C_O 13 12 AC_PROG_CPP 14 13 15 AC_CANONICAL_HOST 14 AC_CANONICAL_HOST 16 15 17 16 if test "$host_os" == "darwin10.2.0"; then … … 179 178 AM_CONDITIONAL(USE_LATEX, test "${LATEX}" != "no") 180 179 180 AM_CONFIG_HEADER(config.h) 181 181 AC_CONFIG_FILES([ 182 182 Makefile
Note: See TracChangeset
for help on using the changeset viewer.