Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/yasm/patched-yasm/aclocal.m4

Issue 6170009: Update our yasm copy to yasm 1.1.0 (Part 1: yasm side)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- 1 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2 2
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 4 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5 # This file is free software; the Free Software Foundation 5 # This file is free software; the Free Software Foundation
6 # gives unlimited permission to copy and/or distribute it, 6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved. 7 # with or without modifications, as long as this notice is preserved.
8 8
9 # This program is distributed in the hope that it will be useful, 9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 # PARTICULAR PURPOSE. 12 # PARTICULAR PURPOSE.
13 13
14 m4_ifndef([AC_AUTOCONF_VERSION], 14 m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(AC_AUTOCONF_VERSION, [2.61],, 16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17 [m4_warning([this file was generated for autoconf 2.61. 17 [m4_warning([this file was generated for autoconf 2.65.
18 You have another version of autoconf. It may work, but is not guaranteed to. 18 You have another version of autoconf. It may work, but is not guaranteed to.
19 If you have problems, you may need to regenerate the build system entirely. 19 If you have problems, you may need to regenerate the build system entirely.
20 To do so, use the procedure documented by the package, typically `autoreconf'.]) ]) 20 To do so, use the procedure documented by the package, typically `autoreconf'.]) ])
21 21
22 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. 22 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, In c.
23 # 23 #
24 # This file is free software; the Free Software Foundation 24 # This file is free software; the Free Software Foundation
25 # gives unlimited permission to copy and/or distribute it, 25 # gives unlimited permission to copy and/or distribute it,
26 # with or without modifications, as long as this notice is preserved. 26 # with or without modifications, as long as this notice is preserved.
27 27
28 # AM_AUTOMAKE_VERSION(VERSION) 28 # AM_AUTOMAKE_VERSION(VERSION)
29 # ---------------------------- 29 # ----------------------------
30 # Automake X.Y traces this macro to ensure aclocal.m4 has been 30 # Automake X.Y traces this macro to ensure aclocal.m4 has been
31 # generated from the m4 files accompanying Automake X.Y. 31 # generated from the m4 files accompanying Automake X.Y.
32 # (This private macro should not be called outside this file.) 32 # (This private macro should not be called outside this file.)
33 AC_DEFUN([AM_AUTOMAKE_VERSION], 33 AC_DEFUN([AM_AUTOMAKE_VERSION],
34 [am__api_version='1.10' 34 [am__api_version='1.11'
35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 35 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36 dnl require some minimum version. Point them to the right macro. 36 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.10.1], [], 37 m4_if([$1], [1.11.1], [],
38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 38 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39 ]) 39 ])
40 40
41 # _AM_AUTOCONF_VERSION(VERSION) 41 # _AM_AUTOCONF_VERSION(VERSION)
42 # ----------------------------- 42 # -----------------------------
43 # aclocal traces this macro to find the Autoconf version. 43 # aclocal traces this macro to find the Autoconf version.
44 # This is a private macro too. Using m4_define simplifies 44 # This is a private macro too. Using m4_define simplifies
45 # the logic in aclocal, which can simply ignore this definition. 45 # the logic in aclocal, which can simply ignore this definition.
46 m4_define([_AM_AUTOCONF_VERSION], []) 46 m4_define([_AM_AUTOCONF_VERSION], [])
47 47
48 # AM_SET_CURRENT_AUTOMAKE_VERSION 48 # AM_SET_CURRENT_AUTOMAKE_VERSION
49 # ------------------------------- 49 # -------------------------------
50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 50 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 51 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 52 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.10.1])dnl 53 [AM_AUTOMAKE_VERSION([1.11.1])dnl
54 m4_ifndef([AC_AUTOCONF_VERSION], 54 m4_ifndef([AC_AUTOCONF_VERSION],
55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 55 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) 56 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57 57
58 # AM_AUX_DIR_EXPAND -*- Autoconf -*- 58 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
59 59
60 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 60 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
61 # 61 #
62 # This file is free software; the Free Software Foundation 62 # This file is free software; the Free Software Foundation
63 # gives unlimited permission to copy and/or distribute it, 63 # gives unlimited permission to copy and/or distribute it,
64 # with or without modifications, as long as this notice is preserved. 64 # with or without modifications, as long as this notice is preserved.
65 65
66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets 66 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 AC_DEFUN([AM_AUX_DIR_EXPAND], 104 AC_DEFUN([AM_AUX_DIR_EXPAND],
105 [dnl Rely on autoconf to set up CDPATH properly. 105 [dnl Rely on autoconf to set up CDPATH properly.
106 AC_PREREQ([2.50])dnl 106 AC_PREREQ([2.50])dnl
107 # expand $ac_aux_dir to an absolute path 107 # expand $ac_aux_dir to an absolute path
108 am_aux_dir=`cd $ac_aux_dir && pwd` 108 am_aux_dir=`cd $ac_aux_dir && pwd`
109 ]) 109 ])
110 110
111 # AM_CONDITIONAL -*- Autoconf -*- 111 # AM_CONDITIONAL -*- Autoconf -*-
112 112
113 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 113 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114 # Free Software Foundation, Inc. 114 # Free Software Foundation, Inc.
115 # 115 #
116 # This file is free software; the Free Software Foundation 116 # This file is free software; the Free Software Foundation
117 # gives unlimited permission to copy and/or distribute it, 117 # gives unlimited permission to copy and/or distribute it,
118 # with or without modifications, as long as this notice is preserved. 118 # with or without modifications, as long as this notice is preserved.
119 119
120 # serial 8 120 # serial 9
121 121
122 # AM_CONDITIONAL(NAME, SHELL-CONDITION) 122 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
123 # ------------------------------------- 123 # -------------------------------------
124 # Define a conditional. 124 # Define a conditional.
125 AC_DEFUN([AM_CONDITIONAL], 125 AC_DEFUN([AM_CONDITIONAL],
126 [AC_PREREQ(2.52)dnl 126 [AC_PREREQ(2.52)dnl
127 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], 127 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
128 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl 128 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
129 AC_SUBST([$1_TRUE])dnl 129 AC_SUBST([$1_TRUE])dnl
130 AC_SUBST([$1_FALSE])dnl 130 AC_SUBST([$1_FALSE])dnl
131 _AM_SUBST_NOTMAKE([$1_TRUE])dnl 131 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
132 _AM_SUBST_NOTMAKE([$1_FALSE])dnl 132 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
133 m4_define([_AM_COND_VALUE_$1], [$2])dnl
133 if $2; then 134 if $2; then
134 $1_TRUE= 135 $1_TRUE=
135 $1_FALSE='#' 136 $1_FALSE='#'
136 else 137 else
137 $1_TRUE='#' 138 $1_TRUE='#'
138 $1_FALSE= 139 $1_FALSE=
139 fi 140 fi
140 AC_CONFIG_COMMANDS_PRE( 141 AC_CONFIG_COMMANDS_PRE(
141 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 142 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
142 AC_MSG_ERROR([[conditional "$1" was never defined. 143 AC_MSG_ERROR([[conditional "$1" was never defined.
143 Usually this means the macro was only invoked conditionally.]]) 144 Usually this means the macro was only invoked conditionally.]])
144 fi])]) 145 fi])])
145 146
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 147 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147 # Free Software Foundation, Inc. 148 # Free Software Foundation, Inc.
148 # 149 #
149 # This file is free software; the Free Software Foundation 150 # This file is free software; the Free Software Foundation
150 # gives unlimited permission to copy and/or distribute it, 151 # gives unlimited permission to copy and/or distribute it,
151 # with or without modifications, as long as this notice is preserved. 152 # with or without modifications, as long as this notice is preserved.
152 153
153 # serial 9 154 # serial 10
154 155
155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be 156 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156 # written in clear, in which case automake, when reading aclocal.m4, 157 # written in clear, in which case automake, when reading aclocal.m4,
157 # will think it sees a *use*, and therefore will trigger all it's 158 # will think it sees a *use*, and therefore will trigger all it's
158 # C support machinery. Also note that it means that autoscan, seeing 159 # C support machinery. Also note that it means that autoscan, seeing
159 # CC etc. in the Makefile, will ask for an AC_PROG_CC use... 160 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
160 161
161 162
162 # _AM_DEPENDENCIES(NAME) 163 # _AM_DEPENDENCIES(NAME)
163 # ---------------------- 164 # ----------------------
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 # both Tru64's cc and ICC support -MD to output dependencies as a 201 # both Tru64's cc and ICC support -MD to output dependencies as a
201 # side effect of compilation, but ICC will put the dependencies in 202 # side effect of compilation, but ICC will put the dependencies in
202 # the current directory while Tru64 will put them in the object 203 # the current directory while Tru64 will put them in the object
203 # directory. 204 # directory.
204 mkdir sub 205 mkdir sub
205 206
206 am_cv_$1_dependencies_compiler_type=none 207 am_cv_$1_dependencies_compiler_type=none
207 if test "$am_compiler_list" = ""; then 208 if test "$am_compiler_list" = ""; then
208 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` 209 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
209 fi 210 fi
211 am__universal=false
212 m4_case([$1], [CC],
213 [case " $depcc " in #(
214 *\ -arch\ *\ -arch\ *) am__universal=true ;;
215 esac],
216 [CXX],
217 [case " $depcc " in #(
218 *\ -arch\ *\ -arch\ *) am__universal=true ;;
219 esac])
220
210 for depmode in $am_compiler_list; do 221 for depmode in $am_compiler_list; do
211 # Setup a source with many dependencies, because some compilers 222 # Setup a source with many dependencies, because some compilers
212 # like to wrap large dependency lists on column 80 (with \), and 223 # like to wrap large dependency lists on column 80 (with \), and
213 # we should not choose a depcomp mode which is confused by this. 224 # we should not choose a depcomp mode which is confused by this.
214 # 225 #
215 # We need to recreate these files for each test, as the compiler may 226 # We need to recreate these files for each test, as the compiler may
216 # overwrite some of them when testing with obscure command lines. 227 # overwrite some of them when testing with obscure command lines.
217 # This happens at least with the AIX C compiler. 228 # This happens at least with the AIX C compiler.
218 : > sub/conftest.c 229 : > sub/conftest.c
219 for i in 1 2 3 4 5 6; do 230 for i in 1 2 3 4 5 6; do
220 echo '#include "conftst'$i'.h"' >> sub/conftest.c 231 echo '#include "conftst'$i'.h"' >> sub/conftest.c
221 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 232 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
222 # Solaris 8's {/usr,}/bin/sh. 233 # Solaris 8's {/usr,}/bin/sh.
223 touch sub/conftst$i.h 234 touch sub/conftst$i.h
224 done 235 done
225 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 236 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
226 237
238 # We check with `-c' and `-o' for the sake of the "dashmstdout"
239 # mode. It turns out that the SunPro C++ compiler does not properly
240 # handle `-M -o', and we need to detect this. Also, some Intel
241 # versions had trouble with output in subdirs
242 am__obj=sub/conftest.${OBJEXT-o}
243 am__minus_obj="-o $am__obj"
227 case $depmode in 244 case $depmode in
245 gcc)
246 # This depmode causes a compiler race in universal mode.
247 test "$am__universal" = false || continue
248 ;;
228 nosideeffect) 249 nosideeffect)
229 # after this tag, mechanisms are not by side-effect, so they'll 250 # after this tag, mechanisms are not by side-effect, so they'll
230 # only be used when explicitly requested 251 # only be used when explicitly requested
231 if test "x$enable_dependency_tracking" = xyes; then 252 if test "x$enable_dependency_tracking" = xyes; then
232 continue 253 continue
233 else 254 else
234 break 255 break
235 fi 256 fi
236 ;; 257 ;;
258 msvisualcpp | msvcmsys)
259 # This compiler won't grok `-c -o', but also, the minuso test has
260 # not run yet. These depmodes are late enough in the game, and
261 # so weak that their functioning should not be impacted.
262 am__obj=conftest.${OBJEXT-o}
263 am__minus_obj=
264 ;;
237 none) break ;; 265 none) break ;;
238 esac 266 esac
239 # We check with `-c' and `-o' for the sake of the "dashmstdout"
240 # mode. It turns out that the SunPro C++ compiler does not properly
241 # handle `-M -o', and we need to detect this.
242 if depmode=$depmode \ 267 if depmode=$depmode \
243 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 268 source=sub/conftest.c object=$am__obj \
244 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 269 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
245 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 270 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
246 >/dev/null 2>conftest.err && 271 >/dev/null 2>conftest.err &&
247 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 272 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
248 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 273 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
249 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 274 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
250 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 275 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
251 # icc doesn't choke on unknown options, it will just issue warnings 276 # icc doesn't choke on unknown options, it will just issue warnings
252 # or remarks (even with -Werror). So we grep stderr for any message 277 # or remarks (even with -Werror). So we grep stderr for any message
253 # that says an option was ignored or not supported. 278 # that says an option was ignored or not supported.
254 # When given -MP, icc 7.0 and 7.1 complain thusly: 279 # When given -MP, icc 7.0 and 7.1 complain thusly:
255 # icc: Command line warning: ignoring option '-M'; no argument required 280 # icc: Command line warning: ignoring option '-M'; no argument required
256 # The diagnosis changed in icc 8.0: 281 # The diagnosis changed in icc 8.0:
257 # icc: Command line remark: option '-MP' not supported 282 # icc: Command line remark: option '-MP' not supported
258 if (grep 'ignoring option' conftest.err || 283 if (grep 'ignoring option' conftest.err ||
259 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 284 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 am_depcomp="$ac_aux_dir/depcomp" 321 am_depcomp="$ac_aux_dir/depcomp"
297 AMDEPBACKSLASH='\' 322 AMDEPBACKSLASH='\'
298 fi 323 fi
299 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) 324 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
300 AC_SUBST([AMDEPBACKSLASH])dnl 325 AC_SUBST([AMDEPBACKSLASH])dnl
301 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl 326 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
302 ]) 327 ])
303 328
304 # Generate code to set up dependency tracking. -*- Autoconf -*- 329 # Generate code to set up dependency tracking. -*- Autoconf -*-
305 330
306 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 331 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
307 # Free Software Foundation, Inc. 332 # Free Software Foundation, Inc.
308 # 333 #
309 # This file is free software; the Free Software Foundation 334 # This file is free software; the Free Software Foundation
310 # gives unlimited permission to copy and/or distribute it, 335 # gives unlimited permission to copy and/or distribute it,
311 # with or without modifications, as long as this notice is preserved. 336 # with or without modifications, as long as this notice is preserved.
312 337
313 #serial 3 338 #serial 5
314 339
315 # _AM_OUTPUT_DEPENDENCY_COMMANDS 340 # _AM_OUTPUT_DEPENDENCY_COMMANDS
316 # ------------------------------ 341 # ------------------------------
317 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], 342 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
318 [for mf in $CONFIG_FILES; do 343 [{
319 # Strip MF so we end up with the name of the file. 344 # Autoconf 2.62 quotes --file arguments for eval, but not when files
320 mf=`echo "$mf" | sed -e 's/:.*$//'` 345 # are listed without --file. Let's play safe and only enable the eval
321 # Check whether this is an Automake generated Makefile or not. 346 # if we detect the quoting.
322 # We used to match only the files named `Makefile.in', but 347 case $CONFIG_FILES in
323 # some people rename them; so instead we look at the file content. 348 *\'*) eval set x "$CONFIG_FILES" ;;
324 # Grep'ing the first line is not enough: some people post-process 349 *) set x $CONFIG_FILES ;;
325 # each Makefile.in and add a new line on top of each file to say so. 350 esac
326 # Grep'ing the whole file is not good either: AIX grep has a line 351 shift
327 # limit of 2048, but all sed's we know have understand at least 4000. 352 for mf
328 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 353 do
329 dirpart=`AS_DIRNAME("$mf")` 354 # Strip MF so we end up with the name of the file.
330 else 355 mf=`echo "$mf" | sed -e 's/:.*$//'`
331 continue 356 # Check whether this is an Automake generated Makefile or not.
332 fi 357 # We used to match only the files named `Makefile.in', but
333 # Extract the definition of DEPDIR, am__include, and am__quote 358 # some people rename them; so instead we look at the file content.
334 # from the Makefile without running `make'. 359 # Grep'ing the first line is not enough: some people post-process
335 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 360 # each Makefile.in and add a new line on top of each file to say so.
336 test -z "$DEPDIR" && continue 361 # Grep'ing the whole file is not good either: AIX grep has a line
337 am__include=`sed -n 's/^am__include = //p' < "$mf"` 362 # limit of 2048, but all sed's we know have understand at least 4000.
338 test -z "am__include" && continue 363 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1 ; then
339 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 364 dirpart=`AS_DIRNAME("$mf")`
340 # When using ansi2knr, U may be empty or an underscore; expand it 365 else
341 U=`sed -n 's/^U = //p' < "$mf"` 366 continue
342 # Find all dependency output files, they are included files with 367 fi
343 # $(DEPDIR) in their names. We invoke sed twice because it is the 368 # Extract the definition of DEPDIR, am__include, and am__quote
344 # simplest approach to changing $(DEPDIR) to its actual value in the 369 # from the Makefile without running `make'.
345 # expansion. 370 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
346 for file in `sed -n " 371 test -z "$DEPDIR" && continue
347 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 372 am__include=`sed -n 's/^am__include = //p' < "$mf"`
348 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 373 test -z "am__include" && continue
349 # Make sure the directory exists. 374 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
350 test -f "$dirpart/$file" && continue 375 # When using ansi2knr, U may be empty or an underscore; expand it
351 fdir=`AS_DIRNAME(["$file"])` 376 U=`sed -n 's/^U = //p' < "$mf"`
352 AS_MKDIR_P([$dirpart/$fdir]) 377 # Find all dependency output files, they are included files with
353 # echo "creating $dirpart/$file" 378 # $(DEPDIR) in their names. We invoke sed twice because it is the
354 echo '# dummy' > "$dirpart/$file" 379 # simplest approach to changing $(DEPDIR) to its actual value in the
380 # expansion.
381 for file in `sed -n "
382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
383 » sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
384 # Make sure the directory exists.
385 test -f "$dirpart/$file" && continue
386 fdir=`AS_DIRNAME(["$file"])`
387 AS_MKDIR_P([$dirpart/$fdir])
388 # echo "creating $dirpart/$file"
389 echo '# dummy' > "$dirpart/$file"
390 done
355 done 391 done
356 done 392 }
357 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS 393 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
358 394
359 395
360 # AM_OUTPUT_DEPENDENCY_COMMANDS 396 # AM_OUTPUT_DEPENDENCY_COMMANDS
361 # ----------------------------- 397 # -----------------------------
362 # This macro should only be invoked once -- use via AC_REQUIRE. 398 # This macro should only be invoked once -- use via AC_REQUIRE.
363 # 399 #
364 # This code is only required when automatic dependency tracking 400 # This code is only required when automatic dependency tracking
365 # is enabled. FIXME. This creates each `.P' file that we will 401 # is enabled. FIXME. This creates each `.P' file that we will
366 # need in order to bootstrap the dependency handling code. 402 # need in order to bootstrap the dependency handling code.
(...skipping 24 matching lines...) Expand all
391 [Define if using the dmalloc debugging malloc package]) 427 [Define if using the dmalloc debugging malloc package])
392 LIBS="$LIBS -ldmalloc" 428 LIBS="$LIBS -ldmalloc"
393 LDFLAGS="$LDFLAGS -g" 429 LDFLAGS="$LDFLAGS -g"
394 else 430 else
395 AC_MSG_RESULT(no) 431 AC_MSG_RESULT(no)
396 fi], [AC_MSG_RESULT(no)]) 432 fi], [AC_MSG_RESULT(no)])
397 ]) 433 ])
398 434
399 AU_DEFUN([fp_WITH_DMALLOC], [AM_WITH_DMALLOC]) 435 AU_DEFUN([fp_WITH_DMALLOC], [AM_WITH_DMALLOC])
400 436
401 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 437 # Do all the work for Automake. -*- Autoconf -*-
402 # Free Software Foundation, Inc. 438
439 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
440 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
403 # 441 #
404 # This file is free software; the Free Software Foundation 442 # This file is free software; the Free Software Foundation
405 # gives unlimited permission to copy and/or distribute it, 443 # gives unlimited permission to copy and/or distribute it,
406 # with or without modifications, as long as this notice is preserved. 444 # with or without modifications, as long as this notice is preserved.
407 445
408 # serial 8 446 # serial 16
409
410 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
411 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
412
413 # Do all the work for Automake. -*- Autoconf -*-
414
415 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
416 # 2005, 2006, 2008 Free Software Foundation, Inc.
417 #
418 # This file is free software; the Free Software Foundation
419 # gives unlimited permission to copy and/or distribute it,
420 # with or without modifications, as long as this notice is preserved.
421
422 # serial 13
423 447
424 # This macro actually does too much. Some checks are only needed if 448 # This macro actually does too much. Some checks are only needed if
425 # your package does certain things. But this isn't really a big deal. 449 # your package does certain things. But this isn't really a big deal.
426 450
427 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 451 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
428 # AM_INIT_AUTOMAKE([OPTIONS]) 452 # AM_INIT_AUTOMAKE([OPTIONS])
429 # ----------------------------------------------- 453 # -----------------------------------------------
430 # The call with PACKAGE and VERSION arguments is the old style 454 # The call with PACKAGE and VERSION arguments is the old style
431 # call (pre autoconf-2.50), which is being phased out. PACKAGE 455 # call (pre autoconf-2.50), which is being phased out. PACKAGE
432 # and VERSION should now be passed to AC_INIT and removed from 456 # and VERSION should now be passed to AC_INIT and removed from
433 # the call to AM_INIT_AUTOMAKE. 457 # the call to AM_INIT_AUTOMAKE.
434 # We support both call styles for the transition. After 458 # We support both call styles for the transition. After
435 # the next Automake release, Autoconf can make the AC_INIT 459 # the next Automake release, Autoconf can make the AC_INIT
436 # arguments mandatory, and then we can depend on a new Autoconf 460 # arguments mandatory, and then we can depend on a new Autoconf
437 # release and drop the old call support. 461 # release and drop the old call support.
438 AC_DEFUN([AM_INIT_AUTOMAKE], 462 AC_DEFUN([AM_INIT_AUTOMAKE],
439 [AC_PREREQ([2.60])dnl 463 [AC_PREREQ([2.62])dnl
440 dnl Autoconf wants to disallow AM_ names. We explicitly allow 464 dnl Autoconf wants to disallow AM_ names. We explicitly allow
441 dnl the ones we care about. 465 dnl the ones we care about.
442 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl 466 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
443 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl 467 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
444 AC_REQUIRE([AC_PROG_INSTALL])dnl 468 AC_REQUIRE([AC_PROG_INSTALL])dnl
445 if test "`cd $srcdir && pwd`" != "`pwd`"; then 469 if test "`cd $srcdir && pwd`" != "`pwd`"; then
446 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 470 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
447 # is not polluted with repeated "-I." 471 # is not polluted with repeated "-I."
448 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl 472 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
449 # test to see if srcdir already configured 473 # test to see if srcdir already configured
(...skipping 30 matching lines...) Expand all
480 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 504 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
481 505
482 # Some tools Automake needs. 506 # Some tools Automake needs.
483 AC_REQUIRE([AM_SANITY_CHECK])dnl 507 AC_REQUIRE([AM_SANITY_CHECK])dnl
484 AC_REQUIRE([AC_ARG_PROGRAM])dnl 508 AC_REQUIRE([AC_ARG_PROGRAM])dnl
485 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) 509 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
486 AM_MISSING_PROG(AUTOCONF, autoconf) 510 AM_MISSING_PROG(AUTOCONF, autoconf)
487 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) 511 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
488 AM_MISSING_PROG(AUTOHEADER, autoheader) 512 AM_MISSING_PROG(AUTOHEADER, autoheader)
489 AM_MISSING_PROG(MAKEINFO, makeinfo) 513 AM_MISSING_PROG(MAKEINFO, makeinfo)
490 AM_PROG_INSTALL_SH 514 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
491 AM_PROG_INSTALL_STRIP 515 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
492 AC_REQUIRE([AM_PROG_MKDIR_P])dnl 516 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
493 # We need awk for the "check" target. The system "awk" is bad on 517 # We need awk for the "check" target. The system "awk" is bad on
494 # some platforms. 518 # some platforms.
495 AC_REQUIRE([AC_PROG_AWK])dnl 519 AC_REQUIRE([AC_PROG_AWK])dnl
496 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 520 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
497 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 521 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
498 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 522 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
499 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 523 » [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
500 » » » [_AM_PROG_TAR([v7])])]) 524 » » » [_AM_PROG_TAR([v7])])])
501 _AM_IF_OPTION([no-dependencies],, 525 _AM_IF_OPTION([no-dependencies],,
502 [AC_PROVIDE_IFELSE([AC_PROG_CC], 526 [AC_PROVIDE_IFELSE([AC_PROG_CC],
503 [_AM_DEPENDENCIES(CC)], 527 » » [_AM_DEPENDENCIES(CC)],
504 [define([AC_PROG_CC], 528 » » [define([AC_PROG_CC],
505 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl 529 » » » defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
506 AC_PROVIDE_IFELSE([AC_PROG_CXX], 530 AC_PROVIDE_IFELSE([AC_PROG_CXX],
507 [_AM_DEPENDENCIES(CXX)], 531 » » [_AM_DEPENDENCIES(CXX)],
508 [define([AC_PROG_CXX], 532 » » [define([AC_PROG_CXX],
509 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl 533 » » » defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
510 AC_PROVIDE_IFELSE([AC_PROG_OBJC], 534 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
511 [_AM_DEPENDENCIES(OBJC)], 535 » » [_AM_DEPENDENCIES(OBJC)],
512 [define([AC_PROG_OBJC], 536 » » [define([AC_PROG_OBJC],
513 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl 537 » » » defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
514 ]) 538 ])
539 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
540 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
541 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
542 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
543 AC_CONFIG_COMMANDS_PRE(dnl
544 [m4_provide_if([_AM_COMPILER_EXEEXT],
545 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
515 ]) 546 ])
516 547
548 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
549 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
550 dnl mangled by Autoconf and run in a shell conditional statement.
551 m4_define([_AC_COMPILER_EXEEXT],
552 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
553
517 554
518 # When config.status generates a header, we must update the stamp-h file. 555 # When config.status generates a header, we must update the stamp-h file.
519 # This file resides in the same directory as the config header 556 # This file resides in the same directory as the config header
520 # that is generated. The stamp files are numbered to have different names. 557 # that is generated. The stamp files are numbered to have different names.
521 558
522 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 559 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
523 # loop where config.status creates the headers, so we can generate 560 # loop where config.status creates the headers, so we can generate
524 # our stamp files there. 561 # our stamp files there.
525 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 562 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
526 [# Compute $1's index in $config_headers. 563 [# Compute $1's index in $config_headers.
527 _am_arg=$1 564 _am_arg=$1
528 _am_stamp_count=1 565 _am_stamp_count=1
529 for _am_header in $config_headers :; do 566 for _am_header in $config_headers :; do
530 case $_am_header in 567 case $_am_header in
531 $_am_arg | $_am_arg:* ) 568 $_am_arg | $_am_arg:* )
532 break ;; 569 break ;;
533 * ) 570 * )
534 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 571 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
535 esac 572 esac
536 done 573 done
537 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co unt]) 574 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co unt])
538 575
539 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 576 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
540 # 577 #
541 # This file is free software; the Free Software Foundation 578 # This file is free software; the Free Software Foundation
542 # gives unlimited permission to copy and/or distribute it, 579 # gives unlimited permission to copy and/or distribute it,
543 # with or without modifications, as long as this notice is preserved. 580 # with or without modifications, as long as this notice is preserved.
544 581
545 # AM_PROG_INSTALL_SH 582 # AM_PROG_INSTALL_SH
546 # ------------------ 583 # ------------------
547 # Define $install_sh. 584 # Define $install_sh.
548 AC_DEFUN([AM_PROG_INSTALL_SH], 585 AC_DEFUN([AM_PROG_INSTALL_SH],
549 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 586 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
550 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 587 if test x"${install_sh}" != xset; then
588 case $am_aux_dir in
589 *\ * | *\» *)
590 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
591 *)
592 install_sh="\${SHELL} $am_aux_dir/install-sh"
593 esac
594 fi
551 AC_SUBST(install_sh)]) 595 AC_SUBST(install_sh)])
552 596
553 # Copyright (C) 2003, 2005 Free Software Foundation, Inc. 597 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
554 # 598 #
555 # This file is free software; the Free Software Foundation 599 # This file is free software; the Free Software Foundation
556 # gives unlimited permission to copy and/or distribute it, 600 # gives unlimited permission to copy and/or distribute it,
557 # with or without modifications, as long as this notice is preserved. 601 # with or without modifications, as long as this notice is preserved.
558 602
559 # serial 2 603 # serial 2
560 604
561 # Check whether the underlying file-system supports filenames 605 # Check whether the underlying file-system supports filenames
562 # with a leading dot. For instance MS-DOS doesn't. 606 # with a leading dot. For instance MS-DOS doesn't.
563 AC_DEFUN([AM_SET_LEADING_DOT], 607 AC_DEFUN([AM_SET_LEADING_DOT],
564 [rm -rf .tst 2>/dev/null 608 [rm -rf .tst 2>/dev/null
565 mkdir .tst 2>/dev/null 609 mkdir .tst 2>/dev/null
566 if test -d .tst; then 610 if test -d .tst; then
567 am__leading_dot=. 611 am__leading_dot=.
568 else 612 else
569 am__leading_dot=_ 613 am__leading_dot=_
570 fi 614 fi
571 rmdir .tst 2>/dev/null 615 rmdir .tst 2>/dev/null
572 AC_SUBST([am__leading_dot])]) 616 AC_SUBST([am__leading_dot])])
573 617
574 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- 618 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
575 # From Jim Meyering 619 # From Jim Meyering
576 620
577 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 621 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
578 # Free Software Foundation, Inc. 622 # Free Software Foundation, Inc.
579 # 623 #
580 # This file is free software; the Free Software Foundation 624 # This file is free software; the Free Software Foundation
581 # gives unlimited permission to copy and/or distribute it, 625 # gives unlimited permission to copy and/or distribute it,
582 # with or without modifications, as long as this notice is preserved. 626 # with or without modifications, as long as this notice is preserved.
583 627
584 # serial 4 628 # serial 5
585 629
630 # AM_MAINTAINER_MODE([DEFAULT-MODE])
631 # ----------------------------------
632 # Control maintainer-specific portions of Makefiles.
633 # Default is to disable them, unless `enable' is passed literally.
634 # For symmetry, `disable' may be passed as well. Anyway, the user
635 # can override the default with the --enable/--disable switch.
586 AC_DEFUN([AM_MAINTAINER_MODE], 636 AC_DEFUN([AM_MAINTAINER_MODE],
587 [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) 637 [m4_case(m4_default([$1], [disable]),
588 dnl maintainer-mode is disabled by default 638 [enable], [m4_define([am_maintainer_other], [disable])],
589 AC_ARG_ENABLE(maintainer-mode, 639 [disable], [m4_define([am_maintainer_other], [enable])],
590 [ --enable-maintainer-mode enable make rules and dependencies not useful 640 [m4_define([am_maintainer_other], [enable])
641 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
642 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
643 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
644 AC_ARG_ENABLE([maintainer-mode],
645 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
591 (and sometimes confusing) to the casual installer], 646 (and sometimes confusing) to the casual installer],
592 USE_MAINTAINER_MODE=$enableval, 647 [USE_MAINTAINER_MODE=$enableval],
593 USE_MAINTAINER_MODE=no) 648 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
594 AC_MSG_RESULT([$USE_MAINTAINER_MODE]) 649 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
595 AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) 650 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
596 MAINT=$MAINTAINER_MODE_TRUE 651 MAINT=$MAINTAINER_MODE_TRUE
597 AC_SUBST(MAINT)dnl 652 AC_SUBST([MAINT])dnl
598 ] 653 ]
599 ) 654 )
600 655
601 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) 656 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
602 657
603 # Check to see how 'make' treats includes. -*- Autoconf -*- 658 # Check to see how 'make' treats includes. -*- Autoconf -*-
604 659
605 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 660 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
606 # 661 #
607 # This file is free software; the Free Software Foundation 662 # This file is free software; the Free Software Foundation
608 # gives unlimited permission to copy and/or distribute it, 663 # gives unlimited permission to copy and/or distribute it,
609 # with or without modifications, as long as this notice is preserved. 664 # with or without modifications, as long as this notice is preserved.
610 665
611 # serial 3 666 # serial 4
612 667
613 # AM_MAKE_INCLUDE() 668 # AM_MAKE_INCLUDE()
614 # ----------------- 669 # -----------------
615 # Check to see how make treats includes. 670 # Check to see how make treats includes.
616 AC_DEFUN([AM_MAKE_INCLUDE], 671 AC_DEFUN([AM_MAKE_INCLUDE],
617 [am_make=${MAKE-make} 672 [am_make=${MAKE-make}
618 cat > confinc << 'END' 673 cat > confinc << 'END'
619 am__doit: 674 am__doit:
620 » @echo done 675 » @echo this is the am__doit target
621 .PHONY: am__doit 676 .PHONY: am__doit
622 END 677 END
623 # If we don't find an include directive, just comment out the code. 678 # If we don't find an include directive, just comment out the code.
624 AC_MSG_CHECKING([for style of include used by $am_make]) 679 AC_MSG_CHECKING([for style of include used by $am_make])
625 am__include="#" 680 am__include="#"
626 am__quote= 681 am__quote=
627 _am_result=none 682 _am_result=none
628 # First try GNU make style include. 683 # First try GNU make style include.
629 echo "include confinc" > confmf 684 echo "include confinc" > confmf
630 # We grep out `Entering directory' and `Leaving directory' 685 # Ignore all kinds of additional output from `make'.
631 # messages which can occur if `w' ends up in MAKEFLAGS. 686 case `$am_make -s -f confmf 2> /dev/null` in #(
632 # In particular we don't look at `^make:' because GNU make might 687 *the\ am__doit\ target*)
633 # be invoked under some other name (usually "gmake"), in which 688 am__include=include
634 # case it prints its new name instead of `make'. 689 am__quote=
635 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done "; then 690 _am_result=GNU
636 am__include=include 691 ;;
637 am__quote= 692 esac
638 _am_result=GNU
639 fi
640 # Now try BSD make style include. 693 # Now try BSD make style include.
641 if test "$am__include" = "#"; then 694 if test "$am__include" = "#"; then
642 echo '.include "confinc"' > confmf 695 echo '.include "confinc"' > confmf
643 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 696 case `$am_make -s -f confmf 2> /dev/null` in #(
644 am__include=.include 697 *the\ am__doit\ target*)
645 am__quote="\"" 698 am__include=.include
646 _am_result=BSD 699 am__quote="\""
647 fi 700 _am_result=BSD
701 ;;
702 esac
648 fi 703 fi
649 AC_SUBST([am__include]) 704 AC_SUBST([am__include])
650 AC_SUBST([am__quote]) 705 AC_SUBST([am__quote])
651 AC_MSG_RESULT([$_am_result]) 706 AC_MSG_RESULT([$_am_result])
652 rm -f confinc confmf 707 rm -f confinc confmf
653 ]) 708 ])
654 709
655 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- 710 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
656 711
657 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 712 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
658 # Free Software Foundation, Inc. 713 # Free Software Foundation, Inc.
659 # 714 #
660 # This file is free software; the Free Software Foundation 715 # This file is free software; the Free Software Foundation
661 # gives unlimited permission to copy and/or distribute it, 716 # gives unlimited permission to copy and/or distribute it,
662 # with or without modifications, as long as this notice is preserved. 717 # with or without modifications, as long as this notice is preserved.
663 718
664 # serial 5 719 # serial 6
665 720
666 # AM_MISSING_PROG(NAME, PROGRAM) 721 # AM_MISSING_PROG(NAME, PROGRAM)
667 # ------------------------------ 722 # ------------------------------
668 AC_DEFUN([AM_MISSING_PROG], 723 AC_DEFUN([AM_MISSING_PROG],
669 [AC_REQUIRE([AM_MISSING_HAS_RUN]) 724 [AC_REQUIRE([AM_MISSING_HAS_RUN])
670 $1=${$1-"${am_missing_run}$2"} 725 $1=${$1-"${am_missing_run}$2"}
671 AC_SUBST($1)]) 726 AC_SUBST($1)])
672 727
673 728
674 # AM_MISSING_HAS_RUN 729 # AM_MISSING_HAS_RUN
675 # ------------------ 730 # ------------------
676 # Define MISSING if not defined so far and test if it supports --run. 731 # Define MISSING if not defined so far and test if it supports --run.
677 # If it does, set am_missing_run to use it, otherwise, to nothing. 732 # If it does, set am_missing_run to use it, otherwise, to nothing.
678 AC_DEFUN([AM_MISSING_HAS_RUN], 733 AC_DEFUN([AM_MISSING_HAS_RUN],
679 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl 734 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
680 AC_REQUIRE_AUX_FILE([missing])dnl 735 AC_REQUIRE_AUX_FILE([missing])dnl
681 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 736 if test x"${MISSING+set}" != xset; then
737 case $am_aux_dir in
738 *\ * | *\» *)
739 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
740 *)
741 MISSING="\${SHELL} $am_aux_dir/missing" ;;
742 esac
743 fi
682 # Use eval to expand $SHELL 744 # Use eval to expand $SHELL
683 if eval "$MISSING --run true"; then 745 if eval "$MISSING --run true"; then
684 am_missing_run="$MISSING --run " 746 am_missing_run="$MISSING --run "
685 else 747 else
686 am_missing_run= 748 am_missing_run=
687 AC_MSG_WARN([`missing' script is too old or missing]) 749 AC_MSG_WARN([`missing' script is too old or missing])
688 fi 750 fi
689 ]) 751 ])
690 752
691 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 753 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
(...skipping 17 matching lines...) Expand all
709 dnl MKDIR_P). 771 dnl MKDIR_P).
710 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl 772 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
711 case $mkdir_p in 773 case $mkdir_p in
712 [[\\/$]]* | ?:[[\\/]]*) ;; 774 [[\\/$]]* | ?:[[\\/]]*) ;;
713 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 775 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
714 esac 776 esac
715 ]) 777 ])
716 778
717 # Helper functions for option handling. -*- Autoconf -*- 779 # Helper functions for option handling. -*- Autoconf -*-
718 780
719 # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. 781 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
720 # 782 #
721 # This file is free software; the Free Software Foundation 783 # This file is free software; the Free Software Foundation
722 # gives unlimited permission to copy and/or distribute it, 784 # gives unlimited permission to copy and/or distribute it,
723 # with or without modifications, as long as this notice is preserved. 785 # with or without modifications, as long as this notice is preserved.
724 786
725 # serial 3 787 # serial 4
726 788
727 # _AM_MANGLE_OPTION(NAME) 789 # _AM_MANGLE_OPTION(NAME)
728 # ----------------------- 790 # -----------------------
729 AC_DEFUN([_AM_MANGLE_OPTION], 791 AC_DEFUN([_AM_MANGLE_OPTION],
730 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 792 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
731 793
732 # _AM_SET_OPTION(NAME) 794 # _AM_SET_OPTION(NAME)
733 # ------------------------------ 795 # ------------------------------
734 # Set option NAME. Presently that only means defining a flag for this option. 796 # Set option NAME. Presently that only means defining a flag for this option.
735 AC_DEFUN([_AM_SET_OPTION], 797 AC_DEFUN([_AM_SET_OPTION],
736 [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 798 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
737 799
738 # _AM_SET_OPTIONS(OPTIONS) 800 # _AM_SET_OPTIONS(OPTIONS)
739 # ---------------------------------- 801 # ----------------------------------
740 # OPTIONS is a space-separated list of Automake options. 802 # OPTIONS is a space-separated list of Automake options.
741 AC_DEFUN([_AM_SET_OPTIONS], 803 AC_DEFUN([_AM_SET_OPTIONS],
742 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 804 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
743 805
744 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 806 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
745 # ------------------------------------------- 807 # -------------------------------------------
746 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. 808 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
747 AC_DEFUN([_AM_IF_OPTION], 809 AC_DEFUN([_AM_IF_OPTION],
748 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 810 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
749 811
750 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 812 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009
751 # Free Software Foundation, Inc. 813 # Free Software Foundation, Inc.
752 # 814 #
753 # This file is free software; the Free Software Foundation 815 # This file is free software; the Free Software Foundation
754 # gives unlimited permission to copy and/or distribute it, 816 # gives unlimited permission to copy and/or distribute it,
755 # with or without modifications, as long as this notice is preserved. 817 # with or without modifications, as long as this notice is preserved.
756 818
757 # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) 819 # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
758 # --------------------------------------------------------------------------- 820 # ---------------------------------------------------------------------------
759 # Adds support for distributing Python modules and packages. To 821 # Adds support for distributing Python modules and packages. To
760 # install modules, copy them to $(pythondir), using the python_PYTHON 822 # install modules, copy them to $(pythondir), using the python_PYTHON
(...skipping 10 matching lines...) Expand all
771 # users will have to add the install directory to the PYTHONPATH 833 # users will have to add the install directory to the PYTHONPATH
772 # environment variable, or create a .pth file (see the python 834 # environment variable, or create a .pth file (see the python
773 # documentation for details). 835 # documentation for details).
774 # 836 #
775 # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will 837 # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
776 # cause an error if the version of python installed on the system 838 # cause an error if the version of python installed on the system
777 # doesn't meet the requirement. MINIMUM-VERSION should consist of 839 # doesn't meet the requirement. MINIMUM-VERSION should consist of
778 # numbers and dots only. 840 # numbers and dots only.
779 AC_DEFUN([AM_PATH_PYTHON], 841 AC_DEFUN([AM_PATH_PYTHON],
780 [ 842 [
781 dnl Find a Python interpreter. Python versions prior to 1.5 are not 843 dnl Find a Python interpreter. Python versions prior to 2.0 are not
782 dnl supported because the default installation locations changed from 844 dnl supported. (2.0 was released on October 16, 2000).
783 dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
784 dnl in 1.5.
785 m4_define_default([_AM_PYTHON_INTERPRETER_LIST], 845 m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
786 [python python2 python2.5 python2.4 python2.3 python2.2 dnl 846 [python python2 python3 python3.0 python2.5 python2.4 python 2.3 python2.2 dnl
787 python2.1 python2.0 python1.6 python1.5]) 847 python2.1 python2.0])
788 848
789 m4_if([$1],[],[ 849 m4_if([$1],[],[
790 dnl No version check is needed. 850 dnl No version check is needed.
791 # Find any Python interpreter. 851 # Find any Python interpreter.
792 if test -z "$PYTHON"; then 852 if test -z "$PYTHON"; then
793 AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) 853 AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :)
794 fi 854 fi
795 am_display_PYTHON=python 855 am_display_PYTHON=python
796 ], [ 856 ], [
797 dnl A version check is needed. 857 dnl A version check is needed.
(...skipping 26 matching lines...) Expand all
824 if test "$PYTHON" = :; then 884 if test "$PYTHON" = :; then
825 dnl Run any user-specified action, or abort. 885 dnl Run any user-specified action, or abort.
826 m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) 886 m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
827 else 887 else
828 888
829 dnl Query Python for its version number. Getting [:3] seems to be 889 dnl Query Python for its version number. Getting [:3] seems to be
830 dnl the best way to do this; it's what "site.py" does in the standard 890 dnl the best way to do this; it's what "site.py" does in the standard
831 dnl library. 891 dnl library.
832 892
833 AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], 893 AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
834 [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) 894 [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[ [:3]])"`])
835 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) 895 AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
836 896
837 dnl Use the values of $prefix and $exec_prefix for the corresponding 897 dnl Use the values of $prefix and $exec_prefix for the corresponding
838 dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made 898 dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
839 dnl distinct variables so they can be overridden if need be. However, 899 dnl distinct variables so they can be overridden if need be. However,
840 dnl general consensus is that you shouldn't need this ability. 900 dnl general consensus is that you shouldn't need this ability.
841 901
842 AC_SUBST([PYTHON_PREFIX], ['${prefix}']) 902 AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
843 AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) 903 AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
844 904
845 dnl At times (like when building shared libraries) you may want 905 dnl At times (like when building shared libraries) you may want
846 dnl to know which OS platform Python thinks this is. 906 dnl to know which OS platform Python thinks this is.
847 907
848 AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], 908 AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
849 [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) 909 [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platfor m)"`])
850 AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) 910 AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
851 911
852 912
853 dnl Set up 4 directories: 913 dnl Set up 4 directories:
854 914
855 dnl pythondir -- where to install python scripts. This is the 915 dnl pythondir -- where to install python scripts. This is the
856 dnl site-packages directory, not the python standard library 916 dnl site-packages directory, not the python standard library
857 dnl directory like in previous automake betas. This behavior 917 dnl directory like in previous automake betas. This behavior
858 dnl is more consistent with lispdir.m4 for example. 918 dnl is more consistent with lispdir.m4 for example.
859 dnl Query distutils for this directory. distutils does not exist in 919 dnl Query distutils for this directory. distutils does not exist in
860 dnl Python 1.5, so we fall back to the hardcoded directory if it 920 dnl Python 1.5, so we fall back to the hardcoded directory if it
861 dnl doesn't work. 921 dnl doesn't work.
862 AC_CACHE_CHECK([for $am_display_PYTHON script directory], 922 AC_CACHE_CHECK([for $am_display_PYTHON script directory],
863 [am_cv_python_pythondir], 923 [am_cv_python_pythondir],
864 [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || 924 [if test "x$prefix" = xNONE
865 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) 925 then
926 am_py_prefix=$ac_default_prefix
927 else
928 am_py_prefix=$prefix
929 fi
930 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysco nfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2> /dev/null ||
931 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
932 case $am_cv_python_pythondir in
933 $am_py_prefix*)
934 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
935 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__str ip_prefix,$PYTHON_PREFIX,"`
936 ;;
937 *)
938 case $am_py_prefix in
939 /usr|/System*) ;;
940 *)
941 » am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-p ackages
942 » ;;
943 esac
944 ;;
945 esac
946 ])
866 AC_SUBST([pythondir], [$am_cv_python_pythondir]) 947 AC_SUBST([pythondir], [$am_cv_python_pythondir])
867 948
868 dnl pkgpythondir -- $PACKAGE directory under pythondir. Was 949 dnl pkgpythondir -- $PACKAGE directory under pythondir. Was
869 dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is 950 dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
870 dnl more consistent with the rest of automake. 951 dnl more consistent with the rest of automake.
871 952
872 AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) 953 AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
873 954
874 dnl pyexecdir -- directory for installing python extension modules 955 dnl pyexecdir -- directory for installing python extension modules
875 dnl (shared libraries) 956 dnl (shared libraries)
876 dnl Query distutils for this directory. distutils does not exist in 957 dnl Query distutils for this directory. distutils does not exist in
877 dnl Python 1.5, so we fall back to the hardcoded directory if it 958 dnl Python 1.5, so we fall back to the hardcoded directory if it
878 dnl doesn't work. 959 dnl doesn't work.
879 AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], 960 AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
880 [am_cv_python_pyexecdir], 961 [am_cv_python_pyexecdir],
881 [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || 962 [if test "x$exec_prefix" = xNONE
882 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) 963 then
964 am_py_exec_prefix=$am_py_prefix
965 else
966 am_py_exec_prefix=$exec_prefix
967 fi
968 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysco nfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix') )" 2>/dev/null ||
969 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
970 case $am_cv_python_pyexecdir in
971 $am_py_exec_prefix*)
972 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
973 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__str ip_prefix,$PYTHON_EXEC_PREFIX,"`
974 ;;
975 *)
976 case $am_py_exec_prefix in
977 /usr|/System*) ;;
978 *)
979 » am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/ site-packages
980 » ;;
981 esac
982 ;;
983 esac
984 ])
883 AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) 985 AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
884 986
885 dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) 987 dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
886 988
887 AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) 989 AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
888 990
889 dnl Run any user-specified action. 991 dnl Run any user-specified action.
890 $2 992 $2
891 fi 993 fi
892 994
893 ]) 995 ])
894 996
895 997
896 # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) 998 # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
897 # --------------------------------------------------------------------------- 999 # ---------------------------------------------------------------------------
898 # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. 1000 # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
899 # Run ACTION-IF-FALSE otherwise. 1001 # Run ACTION-IF-FALSE otherwise.
900 # This test uses sys.hexversion instead of the string equivalent (first 1002 # This test uses sys.hexversion instead of the string equivalent (first
901 # word of sys.version), in order to cope with versions such as 2.2c1. 1003 # word of sys.version), in order to cope with versions such as 2.2c1.
902 # hexversion has been introduced in Python 1.5.2; it's probably not 1004 # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000).
903 # worth to support older versions (1.5.1 was released on October 31, 1998).
904 AC_DEFUN([AM_PYTHON_CHECK_VERSION], 1005 AC_DEFUN([AM_PYTHON_CHECK_VERSION],
905 [prog="import sys, string 1006 [prog="import sys
906 # split strings by '.' and convert to numeric. Append some zeros 1007 # split strings by '.' and convert to numeric. Append some zeros
907 # because we need at least 4 digits for the hex conversion. 1008 # because we need at least 4 digits for the hex conversion.
908 minver = map(int, string.split('$2', '.')) + [[0, 0, 0]] 1009 # map returns an iterator in Python 3.0 and a list in 2.x
1010 minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]]
909 minverhex = 0 1011 minverhex = 0
910 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]] 1012 # xrange is not present in Python 3.0 and range returns an iterator
1013 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]]
911 sys.exit(sys.hexversion < minverhex)" 1014 sys.exit(sys.hexversion < minverhex)"
912 AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) 1015 AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
913 1016
914 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 1017 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
915 # 1018 #
916 # This file is free software; the Free Software Foundation 1019 # This file is free software; the Free Software Foundation
917 # gives unlimited permission to copy and/or distribute it, 1020 # gives unlimited permission to copy and/or distribute it,
918 # with or without modifications, as long as this notice is preserved. 1021 # with or without modifications, as long as this notice is preserved.
919 1022
920 # AM_RUN_LOG(COMMAND) 1023 # AM_RUN_LOG(COMMAND)
921 # ------------------- 1024 # -------------------
922 # Run COMMAND, save the exit status in ac_status, and log it. 1025 # Run COMMAND, save the exit status in ac_status, and log it.
923 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) 1026 # (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
924 AC_DEFUN([AM_RUN_LOG], 1027 AC_DEFUN([AM_RUN_LOG],
925 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD 1028 [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
926 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD 1029 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
927 ac_status=$? 1030 ac_status=$?
928 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 1031 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
929 (exit $ac_status); }]) 1032 (exit $ac_status); }])
930 1033
931 # Check to make sure that the build environment is sane. -*- Autoconf -*- 1034 # Check to make sure that the build environment is sane. -*- Autoconf -*-
932 1035
933 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 1036 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
934 # Free Software Foundation, Inc. 1037 # Free Software Foundation, Inc.
935 # 1038 #
936 # This file is free software; the Free Software Foundation 1039 # This file is free software; the Free Software Foundation
937 # gives unlimited permission to copy and/or distribute it, 1040 # gives unlimited permission to copy and/or distribute it,
938 # with or without modifications, as long as this notice is preserved. 1041 # with or without modifications, as long as this notice is preserved.
939 1042
940 # serial 4 1043 # serial 5
941 1044
942 # AM_SANITY_CHECK 1045 # AM_SANITY_CHECK
943 # --------------- 1046 # ---------------
944 AC_DEFUN([AM_SANITY_CHECK], 1047 AC_DEFUN([AM_SANITY_CHECK],
945 [AC_MSG_CHECKING([whether build environment is sane]) 1048 [AC_MSG_CHECKING([whether build environment is sane])
946 # Just in case 1049 # Just in case
947 sleep 1 1050 sleep 1
948 echo timestamp > conftest.file 1051 echo timestamp > conftest.file
1052 # Reject unsafe characters in $srcdir or the absolute working directory
1053 # name. Accept space and tab only in the latter.
1054 am_lf='
1055 '
1056 case `pwd` in
1057 *[[\\\"\#\$\&\'\`$am_lf]]*)
1058 AC_MSG_ERROR([unsafe absolute working directory name]);;
1059 esac
1060 case $srcdir in
1061 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1062 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1063 esac
1064
949 # Do `set' in a subshell so we don't clobber the current shell's 1065 # Do `set' in a subshell so we don't clobber the current shell's
950 # arguments. Must try -L first in case configure is actually a 1066 # arguments. Must try -L first in case configure is actually a
951 # symlink; some systems play weird games with the mod time of symlinks 1067 # symlink; some systems play weird games with the mod time of symlinks
952 # (eg FreeBSD returns the mod time of the symlink's containing 1068 # (eg FreeBSD returns the mod time of the symlink's containing
953 # directory). 1069 # directory).
954 if ( 1070 if (
955 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1071 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
956 if test "$[*]" = "X"; then 1072 if test "$[*]" = "X"; then
957 # -L didn't work. 1073 # -L didn't work.
958 set X `ls -t $srcdir/configure conftest.file` 1074 set X `ls -t "$srcdir/configure" conftest.file`
959 fi 1075 fi
960 rm -f conftest.file 1076 rm -f conftest.file
961 if test "$[*]" != "X $srcdir/configure conftest.file" \ 1077 if test "$[*]" != "X $srcdir/configure conftest.file" \
962 && test "$[*]" != "X conftest.file $srcdir/configure"; then 1078 && test "$[*]" != "X conftest.file $srcdir/configure"; then
963 1079
964 # If neither matched, then we have a broken ls. This can happen 1080 # If neither matched, then we have a broken ls. This can happen
965 # if, for instance, CONFIG_SHELL is bash and it inherits a 1081 # if, for instance, CONFIG_SHELL is bash and it inherits a
966 # broken ls alias from the environment. This has actually 1082 # broken ls alias from the environment. This has actually
967 # happened. Such a system could not be considered "sane". 1083 # happened. Such a system could not be considered "sane".
968 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken 1084 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 # run `make install-strip'. However `strip' might not be the right 1117 # run `make install-strip'. However `strip' might not be the right
1002 # tool to use in cross-compilation environments, therefore Automake 1118 # tool to use in cross-compilation environments, therefore Automake
1003 # will honor the `STRIP' environment variable to overrule this program. 1119 # will honor the `STRIP' environment variable to overrule this program.
1004 dnl Don't test for $cross_compiling = yes, because it might be `maybe'. 1120 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
1005 if test "$cross_compiling" != no; then 1121 if test "$cross_compiling" != no; then
1006 AC_CHECK_TOOL([STRIP], [strip], :) 1122 AC_CHECK_TOOL([STRIP], [strip], :)
1007 fi 1123 fi
1008 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 1124 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1009 AC_SUBST([INSTALL_STRIP_PROGRAM])]) 1125 AC_SUBST([INSTALL_STRIP_PROGRAM])])
1010 1126
1011 # Copyright (C) 2006 Free Software Foundation, Inc. 1127 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1012 # 1128 #
1013 # This file is free software; the Free Software Foundation 1129 # This file is free software; the Free Software Foundation
1014 # gives unlimited permission to copy and/or distribute it, 1130 # gives unlimited permission to copy and/or distribute it,
1015 # with or without modifications, as long as this notice is preserved. 1131 # with or without modifications, as long as this notice is preserved.
1016 1132
1133 # serial 2
1134
1017 # _AM_SUBST_NOTMAKE(VARIABLE) 1135 # _AM_SUBST_NOTMAKE(VARIABLE)
1018 # --------------------------- 1136 # ---------------------------
1019 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. 1137 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1020 # This macro is traced by Automake. 1138 # This macro is traced by Automake.
1021 AC_DEFUN([_AM_SUBST_NOTMAKE]) 1139 AC_DEFUN([_AM_SUBST_NOTMAKE])
1022 1140
1141 # AM_SUBST_NOTMAKE(VARIABLE)
1142 # ---------------------------
1143 # Public sister of _AM_SUBST_NOTMAKE.
1144 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1145
1023 # Check how to create a tarball. -*- Autoconf -*- 1146 # Check how to create a tarball. -*- Autoconf -*-
1024 1147
1025 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. 1148 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
1026 # 1149 #
1027 # This file is free software; the Free Software Foundation 1150 # This file is free software; the Free Software Foundation
1028 # gives unlimited permission to copy and/or distribute it, 1151 # gives unlimited permission to copy and/or distribute it,
1029 # with or without modifications, as long as this notice is preserved. 1152 # with or without modifications, as long as this notice is preserved.
1030 1153
1031 # serial 2 1154 # serial 2
1032 1155
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 done 1233 done
1111 rm -rf conftest.dir 1234 rm -rf conftest.dir
1112 1235
1113 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 1236 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1114 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 1237 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1115 AC_SUBST([am__tar]) 1238 AC_SUBST([am__tar])
1116 AC_SUBST([am__untar]) 1239 AC_SUBST([am__untar])
1117 ]) # _AM_PROG_TAR 1240 ]) # _AM_PROG_TAR
1118 1241
1119 m4_include([m4/ax_create_stdint_h.m4]) 1242 m4_include([m4/ax_create_stdint_h.m4])
1243 m4_include([m4/cython.m4])
1120 m4_include([m4/gettext.m4]) 1244 m4_include([m4/gettext.m4])
1121 m4_include([m4/iconv.m4]) 1245 m4_include([m4/iconv.m4])
1122 m4_include([m4/lib-ld.m4]) 1246 m4_include([m4/lib-ld.m4])
1123 m4_include([m4/lib-link.m4]) 1247 m4_include([m4/lib-link.m4])
1124 m4_include([m4/lib-prefix.m4]) 1248 m4_include([m4/lib-prefix.m4])
1125 m4_include([m4/nls.m4]) 1249 m4_include([m4/nls.m4])
1126 m4_include([m4/po.m4]) 1250 m4_include([m4/po.m4])
1127 m4_include([m4/progtest.m4]) 1251 m4_include([m4/progtest.m4])
1128 m4_include([m4/pyrex.m4])
1129 m4_include([m4/pythonhead.m4]) 1252 m4_include([m4/pythonhead.m4])
OLDNEW
« no previous file with comments | « third_party/yasm/patched-yasm/Mkfiles/vc9/yasm.sln ('k') | third_party/yasm/patched-yasm/config.h.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698