add pyconfigure stuff
[mediagoblin.git] / autom4te.cache / output.1
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.69 for mediagoblin 0.4.0.dev.
4 @%:@
5 @%:@ Report bugs to <cwebber@gnu.org>.
6 @%:@
7 @%:@
8 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 @%:@
10 @%:@
11 @%:@ This configure script is free software; the Free Software Foundation
12 @%:@ gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in @%:@(
28 *posix*) :
29 set -o posix ;; @%:@(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in @%:@(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in @%:@((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in @%:@ ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in @%:@(
172 *posix*) :
173 set -o posix ;; @%:@(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in @%:@(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in @%:@ ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and cwebber@gnu.org
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 @%:@ as_fn_unset VAR
288 @%:@ ---------------
289 @%:@ Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 @%:@ as_fn_set_status STATUS
297 @%:@ -----------------------
298 @%:@ Set @S|@? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } @%:@ as_fn_set_status
303
304 @%:@ as_fn_exit STATUS
305 @%:@ -----------------
306 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } @%:@ as_fn_exit
313
314 @%:@ as_fn_mkdir_p
315 @%:@ -------------
316 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360 } @%:@ as_fn_mkdir_p
361
362 @%:@ as_fn_executable_p FILE
363 @%:@ -----------------------
364 @%:@ Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } @%:@ as_fn_executable_p
369 @%:@ as_fn_append VAR VALUE
370 @%:@ ----------------------
371 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
372 @%:@ advantage of any shell optimizations that allow amortized linear growth over
373 @%:@ repeated appends, instead of the typical quadratic growth present in naive
374 @%:@ implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
387 @%:@ as_fn_arith ARG...
388 @%:@ ------------------
389 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
390 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
391 @%:@ must be portable across @S|@(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
405 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
406 @%:@ ----------------------------------------
407 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 @%:@ script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } @%:@ as_fn_error
420
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in @%:@(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIB@&t@OBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='mediagoblin'
581 PACKAGE_TARNAME='mediagoblin'
582 PACKAGE_VERSION='0.4.0.dev'
583 PACKAGE_STRING='mediagoblin 0.4.0.dev'
584 PACKAGE_BUGREPORT='cwebber@gnu.org'
585 PACKAGE_URL=''
586
587 ac_subst_vars='LTLIBOBJS
588 LIB@&t@OBJS
589 pkgpyexecdir
590 pyexecdir
591 PYTHON_EXEC_PREFIX
592 pkgpythondir
593 pythondir
594 PYTHON_PREFIX
595 PYTHON_CONFIG
596 INSTALL_DATA
597 INSTALL_SCRIPT
598 INSTALL_PROGRAM
599 MKDIR_P
600 VIRTUALENV_FLAGS
601 VIRTUALENV
602 PYTHON
603 target_alias
604 host_alias
605 build_alias
606 LIBS
607 ECHO_T
608 ECHO_N
609 ECHO_C
610 DEFS
611 mandir
612 localedir
613 libdir
614 psdir
615 pdfdir
616 dvidir
617 htmldir
618 infodir
619 docdir
620 oldincludedir
621 includedir
622 localstatedir
623 sharedstatedir
624 sysconfdir
625 datadir
626 datarootdir
627 libexecdir
628 sbindir
629 bindir
630 program_transform_name
631 prefix
632 exec_prefix
633 PACKAGE_URL
634 PACKAGE_BUGREPORT
635 PACKAGE_STRING
636 PACKAGE_VERSION
637 PACKAGE_TARNAME
638 PACKAGE_NAME
639 PATH_SEPARATOR
640 SHELL'
641 ac_subst_files=''
642 ac_user_opts='
643 enable_option_checking
644 with_virtualenv
645 '
646 ac_precious_vars='build_alias
647 host_alias
648 target_alias
649 PYTHON
650 VIRTUALENV_FLAGS
651 PYTHON_CONFIG'
652
653
654 # Initialize some variables set by options.
655 ac_init_help=
656 ac_init_version=false
657 ac_unrecognized_opts=
658 ac_unrecognized_sep=
659 # The variables have the same names as the options, with
660 # dashes changed to underlines.
661 cache_file=/dev/null
662 exec_prefix=NONE
663 no_create=
664 no_recursion=
665 prefix=NONE
666 program_prefix=NONE
667 program_suffix=NONE
668 program_transform_name=s,x,x,
669 silent=
670 site=
671 srcdir=
672 verbose=
673 x_includes=NONE
674 x_libraries=NONE
675
676 # Installation directory options.
677 # These are left unexpanded so users can "make install exec_prefix=/foo"
678 # and all the variables that are supposed to be based on exec_prefix
679 # by default will actually change.
680 # Use braces instead of parens because sh, perl, etc. also accept them.
681 # (The list follows the same order as the GNU Coding Standards.)
682 bindir='${exec_prefix}/bin'
683 sbindir='${exec_prefix}/sbin'
684 libexecdir='${exec_prefix}/libexec'
685 datarootdir='${prefix}/share'
686 datadir='${datarootdir}'
687 sysconfdir='${prefix}/etc'
688 sharedstatedir='${prefix}/com'
689 localstatedir='${prefix}/var'
690 includedir='${prefix}/include'
691 oldincludedir='/usr/include'
692 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
693 infodir='${datarootdir}/info'
694 htmldir='${docdir}'
695 dvidir='${docdir}'
696 pdfdir='${docdir}'
697 psdir='${docdir}'
698 libdir='${exec_prefix}/lib'
699 localedir='${datarootdir}/locale'
700 mandir='${datarootdir}/man'
701
702 ac_prev=
703 ac_dashdash=
704 for ac_option
705 do
706 # If the previous option needs an argument, assign it.
707 if test -n "$ac_prev"; then
708 eval $ac_prev=\$ac_option
709 ac_prev=
710 continue
711 fi
712
713 case $ac_option in
714 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
715 *=) ac_optarg= ;;
716 *) ac_optarg=yes ;;
717 esac
718
719 # Accept the important Cygnus configure options, so we can diagnose typos.
720
721 case $ac_dashdash$ac_option in
722 --)
723 ac_dashdash=yes ;;
724
725 -bindir | --bindir | --bindi | --bind | --bin | --bi)
726 ac_prev=bindir ;;
727 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
728 bindir=$ac_optarg ;;
729
730 -build | --build | --buil | --bui | --bu)
731 ac_prev=build_alias ;;
732 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
733 build_alias=$ac_optarg ;;
734
735 -cache-file | --cache-file | --cache-fil | --cache-fi \
736 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
737 ac_prev=cache_file ;;
738 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
739 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
740 cache_file=$ac_optarg ;;
741
742 --config-cache | -C)
743 cache_file=config.cache ;;
744
745 -datadir | --datadir | --datadi | --datad)
746 ac_prev=datadir ;;
747 -datadir=* | --datadir=* | --datadi=* | --datad=*)
748 datadir=$ac_optarg ;;
749
750 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
751 | --dataroo | --dataro | --datar)
752 ac_prev=datarootdir ;;
753 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
754 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
755 datarootdir=$ac_optarg ;;
756
757 -disable-* | --disable-*)
758 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
761 as_fn_error $? "invalid feature name: $ac_useropt"
762 ac_useropt_orig=$ac_useropt
763 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
764 case $ac_user_opts in
765 *"
766 "enable_$ac_useropt"
767 "*) ;;
768 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
769 ac_unrecognized_sep=', ';;
770 esac
771 eval enable_$ac_useropt=no ;;
772
773 -docdir | --docdir | --docdi | --doc | --do)
774 ac_prev=docdir ;;
775 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
776 docdir=$ac_optarg ;;
777
778 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
779 ac_prev=dvidir ;;
780 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
781 dvidir=$ac_optarg ;;
782
783 -enable-* | --enable-*)
784 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
787 as_fn_error $? "invalid feature name: $ac_useropt"
788 ac_useropt_orig=$ac_useropt
789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
790 case $ac_user_opts in
791 *"
792 "enable_$ac_useropt"
793 "*) ;;
794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
795 ac_unrecognized_sep=', ';;
796 esac
797 eval enable_$ac_useropt=\$ac_optarg ;;
798
799 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
800 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
801 | --exec | --exe | --ex)
802 ac_prev=exec_prefix ;;
803 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
804 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
805 | --exec=* | --exe=* | --ex=*)
806 exec_prefix=$ac_optarg ;;
807
808 -gas | --gas | --ga | --g)
809 # Obsolete; use --with-gas.
810 with_gas=yes ;;
811
812 -help | --help | --hel | --he | -h)
813 ac_init_help=long ;;
814 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
815 ac_init_help=recursive ;;
816 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
817 ac_init_help=short ;;
818
819 -host | --host | --hos | --ho)
820 ac_prev=host_alias ;;
821 -host=* | --host=* | --hos=* | --ho=*)
822 host_alias=$ac_optarg ;;
823
824 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
825 ac_prev=htmldir ;;
826 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
827 | --ht=*)
828 htmldir=$ac_optarg ;;
829
830 -includedir | --includedir | --includedi | --included | --include \
831 | --includ | --inclu | --incl | --inc)
832 ac_prev=includedir ;;
833 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
834 | --includ=* | --inclu=* | --incl=* | --inc=*)
835 includedir=$ac_optarg ;;
836
837 -infodir | --infodir | --infodi | --infod | --info | --inf)
838 ac_prev=infodir ;;
839 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
840 infodir=$ac_optarg ;;
841
842 -libdir | --libdir | --libdi | --libd)
843 ac_prev=libdir ;;
844 -libdir=* | --libdir=* | --libdi=* | --libd=*)
845 libdir=$ac_optarg ;;
846
847 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
848 | --libexe | --libex | --libe)
849 ac_prev=libexecdir ;;
850 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
851 | --libexe=* | --libex=* | --libe=*)
852 libexecdir=$ac_optarg ;;
853
854 -localedir | --localedir | --localedi | --localed | --locale)
855 ac_prev=localedir ;;
856 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
857 localedir=$ac_optarg ;;
858
859 -localstatedir | --localstatedir | --localstatedi | --localstated \
860 | --localstate | --localstat | --localsta | --localst | --locals)
861 ac_prev=localstatedir ;;
862 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
863 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
864 localstatedir=$ac_optarg ;;
865
866 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
867 ac_prev=mandir ;;
868 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
869 mandir=$ac_optarg ;;
870
871 -nfp | --nfp | --nf)
872 # Obsolete; use --without-fp.
873 with_fp=no ;;
874
875 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876 | --no-cr | --no-c | -n)
877 no_create=yes ;;
878
879 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
881 no_recursion=yes ;;
882
883 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
884 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
885 | --oldin | --oldi | --old | --ol | --o)
886 ac_prev=oldincludedir ;;
887 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
888 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
889 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
890 oldincludedir=$ac_optarg ;;
891
892 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
893 ac_prev=prefix ;;
894 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
895 prefix=$ac_optarg ;;
896
897 -program-prefix | --program-prefix | --program-prefi | --program-pref \
898 | --program-pre | --program-pr | --program-p)
899 ac_prev=program_prefix ;;
900 -program-prefix=* | --program-prefix=* | --program-prefi=* \
901 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
902 program_prefix=$ac_optarg ;;
903
904 -program-suffix | --program-suffix | --program-suffi | --program-suff \
905 | --program-suf | --program-su | --program-s)
906 ac_prev=program_suffix ;;
907 -program-suffix=* | --program-suffix=* | --program-suffi=* \
908 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
909 program_suffix=$ac_optarg ;;
910
911 -program-transform-name | --program-transform-name \
912 | --program-transform-nam | --program-transform-na \
913 | --program-transform-n | --program-transform- \
914 | --program-transform | --program-transfor \
915 | --program-transfo | --program-transf \
916 | --program-trans | --program-tran \
917 | --progr-tra | --program-tr | --program-t)
918 ac_prev=program_transform_name ;;
919 -program-transform-name=* | --program-transform-name=* \
920 | --program-transform-nam=* | --program-transform-na=* \
921 | --program-transform-n=* | --program-transform-=* \
922 | --program-transform=* | --program-transfor=* \
923 | --program-transfo=* | --program-transf=* \
924 | --program-trans=* | --program-tran=* \
925 | --progr-tra=* | --program-tr=* | --program-t=*)
926 program_transform_name=$ac_optarg ;;
927
928 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
929 ac_prev=pdfdir ;;
930 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
931 pdfdir=$ac_optarg ;;
932
933 -psdir | --psdir | --psdi | --psd | --ps)
934 ac_prev=psdir ;;
935 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
936 psdir=$ac_optarg ;;
937
938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
939 | -silent | --silent | --silen | --sile | --sil)
940 silent=yes ;;
941
942 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
943 ac_prev=sbindir ;;
944 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
945 | --sbi=* | --sb=*)
946 sbindir=$ac_optarg ;;
947
948 -sharedstatedir | --sharedstatedir | --sharedstatedi \
949 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
950 | --sharedst | --shareds | --shared | --share | --shar \
951 | --sha | --sh)
952 ac_prev=sharedstatedir ;;
953 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
954 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
955 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
956 | --sha=* | --sh=*)
957 sharedstatedir=$ac_optarg ;;
958
959 -site | --site | --sit)
960 ac_prev=site ;;
961 -site=* | --site=* | --sit=*)
962 site=$ac_optarg ;;
963
964 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
965 ac_prev=srcdir ;;
966 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
967 srcdir=$ac_optarg ;;
968
969 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
970 | --syscon | --sysco | --sysc | --sys | --sy)
971 ac_prev=sysconfdir ;;
972 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
973 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
974 sysconfdir=$ac_optarg ;;
975
976 -target | --target | --targe | --targ | --tar | --ta | --t)
977 ac_prev=target_alias ;;
978 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
979 target_alias=$ac_optarg ;;
980
981 -v | -verbose | --verbose | --verbos | --verbo | --verb)
982 verbose=yes ;;
983
984 -version | --version | --versio | --versi | --vers | -V)
985 ac_init_version=: ;;
986
987 -with-* | --with-*)
988 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991 as_fn_error $? "invalid package name: $ac_useropt"
992 ac_useropt_orig=$ac_useropt
993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
995 *"
996 "with_$ac_useropt"
997 "*) ;;
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1000 esac
1001 eval with_$ac_useropt=\$ac_optarg ;;
1002
1003 -without-* | --without-*)
1004 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007 as_fn_error $? "invalid package name: $ac_useropt"
1008 ac_useropt_orig=$ac_useropt
1009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010 case $ac_user_opts in
1011 *"
1012 "with_$ac_useropt"
1013 "*) ;;
1014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1015 ac_unrecognized_sep=', ';;
1016 esac
1017 eval with_$ac_useropt=no ;;
1018
1019 --x)
1020 # Obsolete; use --with-x.
1021 with_x=yes ;;
1022
1023 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1024 | --x-incl | --x-inc | --x-in | --x-i)
1025 ac_prev=x_includes ;;
1026 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1027 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1028 x_includes=$ac_optarg ;;
1029
1030 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1031 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1032 ac_prev=x_libraries ;;
1033 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1034 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1035 x_libraries=$ac_optarg ;;
1036
1037 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1038 Try \`$0 --help' for more information"
1039 ;;
1040
1041 *=*)
1042 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1043 # Reject names that are not valid shell variable names.
1044 case $ac_envvar in #(
1045 '' | [0-9]* | *[!_$as_cr_alnum]* )
1046 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1047 esac
1048 eval $ac_envvar=\$ac_optarg
1049 export $ac_envvar ;;
1050
1051 *)
1052 # FIXME: should be removed in autoconf 3.0.
1053 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1054 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1056 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1057 ;;
1058
1059 esac
1060 done
1061
1062 if test -n "$ac_prev"; then
1063 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1064 as_fn_error $? "missing argument to $ac_option"
1065 fi
1066
1067 if test -n "$ac_unrecognized_opts"; then
1068 case $enable_option_checking in
1069 no) ;;
1070 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1071 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1072 esac
1073 fi
1074
1075 # Check all directory arguments for consistency.
1076 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1077 datadir sysconfdir sharedstatedir localstatedir includedir \
1078 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1079 libdir localedir mandir
1080 do
1081 eval ac_val=\$$ac_var
1082 # Remove trailing slashes.
1083 case $ac_val in
1084 */ )
1085 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1086 eval $ac_var=\$ac_val;;
1087 esac
1088 # Be sure to have absolute directory names.
1089 case $ac_val in
1090 [\\/$]* | ?:[\\/]* ) continue;;
1091 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1092 esac
1093 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1094 done
1095
1096 # There might be people who depend on the old broken behavior: `$host'
1097 # used to hold the argument of --host etc.
1098 # FIXME: To remove some day.
1099 build=$build_alias
1100 host=$host_alias
1101 target=$target_alias
1102
1103 # FIXME: To remove some day.
1104 if test "x$host_alias" != x; then
1105 if test "x$build_alias" = x; then
1106 cross_compiling=maybe
1107 elif test "x$build_alias" != "x$host_alias"; then
1108 cross_compiling=yes
1109 fi
1110 fi
1111
1112 ac_tool_prefix=
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1114
1115 test "$silent" = yes && exec 6>/dev/null
1116
1117
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 as_fn_error $? "working directory cannot be determined"
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 as_fn_error $? "pwd does not report name of working directory"
1124
1125
1126 # Find the source files, if location was not specified.
1127 if test -z "$srcdir"; then
1128 ac_srcdir_defaulted=yes
1129 # Try the directory containing this script, then the parent directory.
1130 ac_confdir=`$as_dirname -- "$as_myself" ||
1131 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132 X"$as_myself" : 'X\(//\)[^/]' \| \
1133 X"$as_myself" : 'X\(//\)$' \| \
1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1135 $as_echo X"$as_myself" |
1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1137 s//\1/
1138 q
1139 }
1140 /^X\(\/\/\)[^/].*/{
1141 s//\1/
1142 q
1143 }
1144 /^X\(\/\/\)$/{
1145 s//\1/
1146 q
1147 }
1148 /^X\(\/\).*/{
1149 s//\1/
1150 q
1151 }
1152 s/.*/./; q'`
1153 srcdir=$ac_confdir
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1155 srcdir=..
1156 fi
1157 else
1158 ac_srcdir_defaulted=no
1159 fi
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1162 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1163 fi
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1165 ac_abs_confdir=`(
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1167 pwd)`
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1170 srcdir=.
1171 fi
1172 # Remove unnecessary trailing slashes from srcdir.
1173 # Double slashes in file names in object file debugging info
1174 # mess up M-x gdb in Emacs.
1175 case $srcdir in
1176 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1177 esac
1178 for ac_var in $ac_precious_vars; do
1179 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_env_${ac_var}_value=\$${ac_var}
1181 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1182 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1183 done
1184
1185 #
1186 # Report the --help message.
1187 #
1188 if test "$ac_init_help" = "long"; then
1189 # Omit some internal or obsolete options to make the list less imposing.
1190 # This message is too long to be a string in the A/UX 3.1 sh.
1191 cat <<_ACEOF
1192 \`configure' configures mediagoblin 0.4.0.dev to adapt to many kinds of systems.
1193
1194 Usage: $0 [OPTION]... [VAR=VALUE]...
1195
1196 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1197 VAR=VALUE. See below for descriptions of some of the useful variables.
1198
1199 Defaults for the options are specified in brackets.
1200
1201 Configuration:
1202 -h, --help display this help and exit
1203 --help=short display options specific to this package
1204 --help=recursive display the short help of all the included packages
1205 -V, --version display version information and exit
1206 -q, --quiet, --silent do not print \`checking ...' messages
1207 --cache-file=FILE cache test results in FILE [disabled]
1208 -C, --config-cache alias for \`--cache-file=config.cache'
1209 -n, --no-create do not create output files
1210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1211
1212 Installation directories:
1213 --prefix=PREFIX install architecture-independent files in PREFIX
1214 @<:@@S|@ac_default_prefix@:>@
1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1216 @<:@PREFIX@:>@
1217
1218 By default, \`make install' will install all the files in
1219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1220 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1221 for instance \`--prefix=\$HOME'.
1222
1223 For better control, use the options below.
1224
1225 Fine tuning of the installation directories:
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/mediagoblin@:>@
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
1245 _ACEOF
1246
1247 cat <<\_ACEOF
1248 _ACEOF
1249 fi
1250
1251 if test -n "$ac_init_help"; then
1252 case $ac_init_help in
1253 short | recursive ) echo "Configuration of mediagoblin 0.4.0.dev:";;
1254 esac
1255 cat <<\_ACEOF
1256
1257 Optional Packages:
1258 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1259 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1260 --with-virtualenv install to a Python virtualenv
1261
1262 Some influential environment variables:
1263 PYTHON the Python interpreter
1264 VIRTUALENV_FLAGS
1265 flags to pass to the virtualenv command
1266 PYTHON_CONFIG
1267 the Python-config program
1268
1269 Use these variables to override the choices made by `configure' or to help
1270 it to find libraries and programs with nonstandard names/locations.
1271
1272 Report bugs to <cwebber@gnu.org>.
1273 _ACEOF
1274 ac_status=$?
1275 fi
1276
1277 if test "$ac_init_help" = "recursive"; then
1278 # If there are subdirs, report their specific --help.
1279 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1280 test -d "$ac_dir" ||
1281 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1282 continue
1283 ac_builddir=.
1284
1285 case "$ac_dir" in
1286 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1287 *)
1288 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1289 # A ".." for each directory in $ac_dir_suffix.
1290 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1291 case $ac_top_builddir_sub in
1292 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1293 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1294 esac ;;
1295 esac
1296 ac_abs_top_builddir=$ac_pwd
1297 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1298 # for backward compatibility:
1299 ac_top_builddir=$ac_top_build_prefix
1300
1301 case $srcdir in
1302 .) # We are building in place.
1303 ac_srcdir=.
1304 ac_top_srcdir=$ac_top_builddir_sub
1305 ac_abs_top_srcdir=$ac_pwd ;;
1306 [\\/]* | ?:[\\/]* ) # Absolute name.
1307 ac_srcdir=$srcdir$ac_dir_suffix;
1308 ac_top_srcdir=$srcdir
1309 ac_abs_top_srcdir=$srcdir ;;
1310 *) # Relative name.
1311 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1312 ac_top_srcdir=$ac_top_build_prefix$srcdir
1313 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1314 esac
1315 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1316
1317 cd "$ac_dir" || { ac_status=$?; continue; }
1318 # Check for guested configure.
1319 if test -f "$ac_srcdir/configure.gnu"; then
1320 echo &&
1321 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1322 elif test -f "$ac_srcdir/configure"; then
1323 echo &&
1324 $SHELL "$ac_srcdir/configure" --help=recursive
1325 else
1326 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1327 fi || ac_status=$?
1328 cd "$ac_pwd" || { ac_status=$?; break; }
1329 done
1330 fi
1331
1332 test -n "$ac_init_help" && exit $ac_status
1333 if $ac_init_version; then
1334 cat <<\_ACEOF
1335 mediagoblin configure 0.4.0.dev
1336 generated by GNU Autoconf 2.69
1337
1338 Copyright (C) 2012 Free Software Foundation, Inc.
1339 This configure script is free software; the Free Software Foundation
1340 gives unlimited permission to copy, distribute and modify it.
1341 _ACEOF
1342 exit
1343 fi
1344
1345 ## ------------------------ ##
1346 ## Autoconf initialization. ##
1347 ## ------------------------ ##
1348
1349 @%:@ ac_fn_py_try_run LINENO
1350 @%:@ -----------------------
1351 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1352 @%:@ that executables *can* be run.
1353 ac_fn_py_try_run ()
1354 {
1355 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1356 if { { ac_try="$ac_link"
1357 case "(($ac_try" in
1358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1359 *) ac_try_echo=$ac_try;;
1360 esac
1361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1362 $as_echo "$ac_try_echo"; } >&5
1363 (eval "$ac_link") 2>&5
1364 ac_status=$?
1365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1366 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1367 { { case "(($ac_try" in
1368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1369 *) ac_try_echo=$ac_try;;
1370 esac
1371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1372 $as_echo "$ac_try_echo"; } >&5
1373 (eval "$ac_try") 2>&5
1374 ac_status=$?
1375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1376 test $ac_status = 0; }; }; then :
1377 ac_retval=0
1378 else
1379 $as_echo "$as_me: program exited with status $ac_status" >&5
1380 $as_echo "$as_me: failed program was:" >&5
1381 sed 's/^/| /' conftest.$ac_ext >&5
1382
1383 ac_retval=$ac_status
1384 fi
1385 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1386 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1387 as_fn_set_status $ac_retval
1388
1389 } @%:@ ac_fn_py_try_run
1390 cat >config.log <<_ACEOF
1391 This file contains any messages produced by compilers while
1392 running configure, to aid debugging if configure makes a mistake.
1393
1394 It was created by mediagoblin $as_me 0.4.0.dev, which was
1395 generated by GNU Autoconf 2.69. Invocation command line was
1396
1397 $ $0 $@
1398
1399 _ACEOF
1400 exec 5>>config.log
1401 {
1402 cat <<_ASUNAME
1403 ## --------- ##
1404 ## Platform. ##
1405 ## --------- ##
1406
1407 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1408 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1409 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1410 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1411 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1412
1413 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1414 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1415
1416 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1417 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1418 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1419 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1420 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1421 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1422 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1423
1424 _ASUNAME
1425
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1427 for as_dir in $PATH
1428 do
1429 IFS=$as_save_IFS
1430 test -z "$as_dir" && as_dir=.
1431 $as_echo "PATH: $as_dir"
1432 done
1433 IFS=$as_save_IFS
1434
1435 } >&5
1436
1437 cat >&5 <<_ACEOF
1438
1439
1440 ## ----------- ##
1441 ## Core tests. ##
1442 ## ----------- ##
1443
1444 _ACEOF
1445
1446
1447 # Keep a trace of the command line.
1448 # Strip out --no-create and --no-recursion so they do not pile up.
1449 # Strip out --silent because we don't want to record it for future runs.
1450 # Also quote any args containing shell meta-characters.
1451 # Make two passes to allow for proper duplicate-argument suppression.
1452 ac_configure_args=
1453 ac_configure_args0=
1454 ac_configure_args1=
1455 ac_must_keep_next=false
1456 for ac_pass in 1 2
1457 do
1458 for ac_arg
1459 do
1460 case $ac_arg in
1461 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1462 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1463 | -silent | --silent | --silen | --sile | --sil)
1464 continue ;;
1465 *\'*)
1466 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1467 esac
1468 case $ac_pass in
1469 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1470 2)
1471 as_fn_append ac_configure_args1 " '$ac_arg'"
1472 if test $ac_must_keep_next = true; then
1473 ac_must_keep_next=false # Got value, back to normal.
1474 else
1475 case $ac_arg in
1476 *=* | --config-cache | -C | -disable-* | --disable-* \
1477 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1478 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1479 | -with-* | --with-* | -without-* | --without-* | --x)
1480 case "$ac_configure_args0 " in
1481 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1482 esac
1483 ;;
1484 -* ) ac_must_keep_next=true ;;
1485 esac
1486 fi
1487 as_fn_append ac_configure_args " '$ac_arg'"
1488 ;;
1489 esac
1490 done
1491 done
1492 { ac_configure_args0=; unset ac_configure_args0;}
1493 { ac_configure_args1=; unset ac_configure_args1;}
1494
1495 # When interrupted or exit'd, cleanup temporary files, and complete
1496 # config.log. We remove comments because anyway the quotes in there
1497 # would cause problems or look ugly.
1498 # WARNING: Use '\'' to represent an apostrophe within the trap.
1499 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1500 trap 'exit_status=$?
1501 # Save into config.log some information that might help in debugging.
1502 {
1503 echo
1504
1505 $as_echo "## ---------------- ##
1506 ## Cache variables. ##
1507 ## ---------------- ##"
1508 echo
1509 # The following way of writing the cache mishandles newlines in values,
1510 (
1511 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1512 eval ac_val=\$$ac_var
1513 case $ac_val in #(
1514 *${as_nl}*)
1515 case $ac_var in #(
1516 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1517 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1518 esac
1519 case $ac_var in #(
1520 _ | IFS | as_nl) ;; #(
1521 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1522 *) { eval $ac_var=; unset $ac_var;} ;;
1523 esac ;;
1524 esac
1525 done
1526 (set) 2>&1 |
1527 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1528 *${as_nl}ac_space=\ *)
1529 sed -n \
1530 "s/'\''/'\''\\\\'\'''\''/g;
1531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1532 ;; #(
1533 *)
1534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1535 ;;
1536 esac |
1537 sort
1538 )
1539 echo
1540
1541 $as_echo "## ----------------- ##
1542 ## Output variables. ##
1543 ## ----------------- ##"
1544 echo
1545 for ac_var in $ac_subst_vars
1546 do
1547 eval ac_val=\$$ac_var
1548 case $ac_val in
1549 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1550 esac
1551 $as_echo "$ac_var='\''$ac_val'\''"
1552 done | sort
1553 echo
1554
1555 if test -n "$ac_subst_files"; then
1556 $as_echo "## ------------------- ##
1557 ## File substitutions. ##
1558 ## ------------------- ##"
1559 echo
1560 for ac_var in $ac_subst_files
1561 do
1562 eval ac_val=\$$ac_var
1563 case $ac_val in
1564 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1565 esac
1566 $as_echo "$ac_var='\''$ac_val'\''"
1567 done | sort
1568 echo
1569 fi
1570
1571 if test -s confdefs.h; then
1572 $as_echo "## ----------- ##
1573 ## confdefs.h. ##
1574 ## ----------- ##"
1575 echo
1576 cat confdefs.h
1577 echo
1578 fi
1579 test "$ac_signal" != 0 &&
1580 $as_echo "$as_me: caught signal $ac_signal"
1581 $as_echo "$as_me: exit $exit_status"
1582 } >&5
1583 rm -f core *.core core.conftest.* &&
1584 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1585 exit $exit_status
1586 ' 0
1587 for ac_signal in 1 2 13 15; do
1588 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1589 done
1590 ac_signal=0
1591
1592 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1593 rm -f -r conftest* confdefs.h
1594
1595 $as_echo "/* confdefs.h */" > confdefs.h
1596
1597 # Predefined preprocessor variables.
1598
1599 cat >>confdefs.h <<_ACEOF
1600 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1601 _ACEOF
1602
1603 cat >>confdefs.h <<_ACEOF
1604 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1605 _ACEOF
1606
1607 cat >>confdefs.h <<_ACEOF
1608 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1609 _ACEOF
1610
1611 cat >>confdefs.h <<_ACEOF
1612 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1613 _ACEOF
1614
1615 cat >>confdefs.h <<_ACEOF
1616 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1617 _ACEOF
1618
1619 cat >>confdefs.h <<_ACEOF
1620 @%:@define PACKAGE_URL "$PACKAGE_URL"
1621 _ACEOF
1622
1623
1624 # Let the site file select an alternate cache file if it wants to.
1625 # Prefer an explicitly selected file to automatically selected ones.
1626 ac_site_file1=NONE
1627 ac_site_file2=NONE
1628 if test -n "$CONFIG_SITE"; then
1629 # We do not want a PATH search for config.site.
1630 case $CONFIG_SITE in @%:@((
1631 -*) ac_site_file1=./$CONFIG_SITE;;
1632 */*) ac_site_file1=$CONFIG_SITE;;
1633 *) ac_site_file1=./$CONFIG_SITE;;
1634 esac
1635 elif test "x$prefix" != xNONE; then
1636 ac_site_file1=$prefix/share/config.site
1637 ac_site_file2=$prefix/etc/config.site
1638 else
1639 ac_site_file1=$ac_default_prefix/share/config.site
1640 ac_site_file2=$ac_default_prefix/etc/config.site
1641 fi
1642 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1643 do
1644 test "x$ac_site_file" = xNONE && continue
1645 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1647 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1648 sed 's/^/| /' "$ac_site_file" >&5
1649 . "$ac_site_file" \
1650 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1652 as_fn_error $? "failed to load site script $ac_site_file
1653 See \`config.log' for more details" "$LINENO" 5; }
1654 fi
1655 done
1656
1657 if test -r "$cache_file"; then
1658 # Some versions of bash will fail to source /dev/null (special files
1659 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1660 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1662 $as_echo "$as_me: loading cache $cache_file" >&6;}
1663 case $cache_file in
1664 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1665 *) . "./$cache_file";;
1666 esac
1667 fi
1668 else
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1670 $as_echo "$as_me: creating cache $cache_file" >&6;}
1671 >$cache_file
1672 fi
1673
1674 # Check that the precious variables saved in the cache have kept the same
1675 # value.
1676 ac_cache_corrupted=false
1677 for ac_var in $ac_precious_vars; do
1678 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1679 eval ac_new_set=\$ac_env_${ac_var}_set
1680 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1681 eval ac_new_val=\$ac_env_${ac_var}_value
1682 case $ac_old_set,$ac_new_set in
1683 set,)
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1685 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1687 ,set)
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1689 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1690 ac_cache_corrupted=: ;;
1691 ,);;
1692 *)
1693 if test "x$ac_old_val" != "x$ac_new_val"; then
1694 # differences in whitespace do not lead to failure.
1695 ac_old_val_w=`echo x $ac_old_val`
1696 ac_new_val_w=`echo x $ac_new_val`
1697 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1699 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1700 ac_cache_corrupted=:
1701 else
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1703 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1704 eval $ac_var=\$ac_old_val
1705 fi
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1707 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1709 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1710 fi;;
1711 esac
1712 # Pass precious variables to config.status.
1713 if test "$ac_new_set" = set; then
1714 case $ac_new_val in
1715 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1716 *) ac_arg=$ac_var=$ac_new_val ;;
1717 esac
1718 case " $ac_configure_args " in
1719 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1720 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1721 esac
1722 fi
1723 done
1724 if $ac_cache_corrupted; then
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1728 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1729 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1730 fi
1731 ## -------------------- ##
1732 ## Main body of script. ##
1733 ## -------------------- ##
1734
1735 ac_ext=c
1736 ac_cpp='$CPP $CPPFLAGS'
1737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752 for ac_prog in python3.3 python3.2 python3.1 python3.0 python2.7 \
1753 python3 \
1754 python2 python
1755 do
1756 # Extract the first word of "$ac_prog", so it can be a program name with args.
1757 set dummy $ac_prog; ac_word=$2
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1759 $as_echo_n "checking for $ac_word... " >&6; }
1760 if ${ac_cv_path_PYTHON+:} false; then :
1761 $as_echo_n "(cached) " >&6
1762 else
1763 case $PYTHON in
1764 [\\/]* | ?:[\\/]*)
1765 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1766 ;;
1767 *)
1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1769 for as_dir in $PATH
1770 do
1771 IFS=$as_save_IFS
1772 test -z "$as_dir" && as_dir=.
1773 for ac_exec_ext in '' $ac_executable_extensions; do
1774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1775 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1777 break 2
1778 fi
1779 done
1780 done
1781 IFS=$as_save_IFS
1782
1783 ;;
1784 esac
1785 fi
1786 PYTHON=$ac_cv_path_PYTHON
1787 if test -n "$PYTHON"; then
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
1789 $as_echo "$PYTHON" >&6; }
1790 else
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1792 $as_echo "no" >&6; }
1793 fi
1794
1795
1796 test -n "$PYTHON" && break
1797 done
1798
1799
1800
1801
1802
1803
1804
1805 for ac_prog in python3.3 python3.2 python3.1 python3.0 python2.7 \
1806 python3 \
1807 python2 python
1808 do
1809 # Extract the first word of "$ac_prog", so it can be a program name with args.
1810 set dummy $ac_prog; ac_word=$2
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1812 $as_echo_n "checking for $ac_word... " >&6; }
1813 if ${ac_cv_path_PYTHON+:} false; then :
1814 $as_echo_n "(cached) " >&6
1815 else
1816 case $PYTHON in
1817 [\\/]* | ?:[\\/]*)
1818 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1819 ;;
1820 *)
1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 for as_dir in $PATH
1823 do
1824 IFS=$as_save_IFS
1825 test -z "$as_dir" && as_dir=.
1826 for ac_exec_ext in '' $ac_executable_extensions; do
1827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1828 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 break 2
1831 fi
1832 done
1833 done
1834 IFS=$as_save_IFS
1835
1836 ;;
1837 esac
1838 fi
1839 PYTHON=$ac_cv_path_PYTHON
1840 if test -n "$PYTHON"; then
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
1842 $as_echo "$PYTHON" >&6; }
1843 else
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1845 $as_echo "no" >&6; }
1846 fi
1847
1848
1849 test -n "$PYTHON" && break
1850 done
1851
1852
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Python >= '2.7'" >&5
1854 $as_echo_n "checking if Python >= '2.7'... " >&6; }
1855 if ${pc_cv_python_min_version_2_7+:} false; then :
1856 $as_echo_n "(cached) " >&6
1857 else
1858 ac_ext=py
1859 ac_compile='chmod +x conftest.$ac_ext >&5'
1860 ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
1861 if test "$cross_compiling" = yes; then :
1862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1864 as_fn_error $? "cannot run test program while cross compiling
1865 See \`config.log' for more details" "$LINENO" 5; }
1866 else
1867 cat > conftest.$ac_ext <<_ACEOF
1868 @%:@!$PYTHON
1869 import sys
1870
1871 if __name__ == '__main__':
1872 # split strings by '.' and convert to numeric. Append some zeros
1873 # because we need at least 4 digits for the hex conversion.
1874 # map returns an iterator in Python 3.0 and a list in 2.x
1875 reqver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
1876 reqverhex = 0
1877 # xrange is not present in Python 3.0 and range returns an iterator
1878 for i in list(range(4)):
1879 reqverhex = (reqverhex << 8) + reqver[i]
1880 if sys.hexversion >= reqverhex:
1881 sys.exit()
1882 else:
1883 sys.exit(1)
1884
1885 _ACEOF
1886 if ac_fn_py_try_run "$LINENO"; then :
1887 pc_cv_python_req_version_2_7="yes"
1888 else
1889 pc_cv_python_req_version_2_7="no"
1890 fi
1891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1892 conftest.$ac_objext conftest.beam conftest.$ac_ext
1893 fi
1894
1895 ac_ext=c
1896 ac_cpp='$CPP $CPPFLAGS'
1897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1900
1901 fi
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_min_version_2_7" >&5
1903 $as_echo "$pc_cv_python_min_version_2_7" >&6; }
1904 if test "$pc_cv_python_req_version_2_7" = "no"; then :
1905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1907 as_fn_error $? "No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.
1908 See \`config.log' for more details" "$LINENO" 5; }
1909 else
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1911 $as_echo "yes" >&6; }
1912 fi
1913
1914
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Python <= '3.3.1'" >&5
1916 $as_echo_n "checking if Python <= '3.3.1'... " >&6; }
1917 if ${pc_cv_python_min_version_3_3_1+:} false; then :
1918 $as_echo_n "(cached) " >&6
1919 else
1920 ac_ext=py
1921 ac_compile='chmod +x conftest.$ac_ext >&5'
1922 ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
1923 if test "$cross_compiling" = yes; then :
1924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1926 as_fn_error $? "cannot run test program while cross compiling
1927 See \`config.log' for more details" "$LINENO" 5; }
1928 else
1929 cat > conftest.$ac_ext <<_ACEOF
1930 @%:@!$PYTHON
1931 import sys
1932
1933 if __name__ == '__main__':
1934 # split strings by '.' and convert to numeric. Append some zeros
1935 # because we need at least 4 digits for the hex conversion.
1936 # map returns an iterator in Python 3.0 and a list in 2.x
1937 reqver = list(map(int, '3.3.1'.split('.'))) + [0, 0, 0]
1938 reqverhex = 0
1939 # xrange is not present in Python 3.0 and range returns an iterator
1940 for i in list(range(4)):
1941 reqverhex = (reqverhex << 8) + reqver[i]
1942 if sys.hexversion <= reqverhex:
1943 sys.exit()
1944 else:
1945 sys.exit(1)
1946
1947 _ACEOF
1948 if ac_fn_py_try_run "$LINENO"; then :
1949 pc_cv_python_req_version_3_3_1="yes"
1950 else
1951 pc_cv_python_req_version_3_3_1="no"
1952 fi
1953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1954 conftest.$ac_objext conftest.beam conftest.$ac_ext
1955 fi
1956
1957 ac_ext=c
1958 ac_cpp='$CPP $CPPFLAGS'
1959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1962
1963 fi
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_min_version_3_3_1" >&5
1965 $as_echo "$pc_cv_python_min_version_3_3_1" >&6; }
1966 if test "$pc_cv_python_req_version_3_3_1" = "no"; then :
1967 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1969 as_fn_error $? "No compatible Python interpreter found. If you're sure that you have one, try setting the PYTHON environment variable to the location of the interpreter.
1970 See \`config.log' for more details" "$LINENO" 5; }
1971 else
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1973 $as_echo "yes" >&6; }
1974 fi
1975
1976
1977
1978
1979
1980
1981
1982
1983 # Support installing to a virtualenv via the --with-virtualenv
1984 # configure flag
1985
1986 @%:@ Check whether --with-virtualenv was given.
1987 if test "${with_virtualenv+set}" = set; then :
1988 withval=$with_virtualenv;
1989 else
1990 with_virtualenv=no
1991 fi
1992
1993 if test "x$with_virtualenv" != xno; then :
1994 for ac_prog in virtualenv virtualenv3 virtualenv2
1995 do
1996 # Extract the first word of "$ac_prog", so it can be a program name with args.
1997 set dummy $ac_prog; ac_word=$2
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1999 $as_echo_n "checking for $ac_word... " >&6; }
2000 if ${ac_cv_prog_VIRTUALENV+:} false; then :
2001 $as_echo_n "(cached) " >&6
2002 else
2003 if test -n "$VIRTUALENV"; then
2004 ac_cv_prog_VIRTUALENV="$VIRTUALENV" # Let the user override the test.
2005 else
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 for as_dir in $PATH
2008 do
2009 IFS=$as_save_IFS
2010 test -z "$as_dir" && as_dir=.
2011 for ac_exec_ext in '' $ac_executable_extensions; do
2012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2013 ac_cv_prog_VIRTUALENV="$ac_prog"
2014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2015 break 2
2016 fi
2017 done
2018 done
2019 IFS=$as_save_IFS
2020
2021 fi
2022 fi
2023 VIRTUALENV=$ac_cv_prog_VIRTUALENV
2024 if test -n "$VIRTUALENV"; then
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VIRTUALENV" >&5
2026 $as_echo "$VIRTUALENV" >&6; }
2027 else
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2029 $as_echo "no" >&6; }
2030 fi
2031
2032
2033 test -n "$VIRTUALENV" && break
2034 done
2035 test -n "$VIRTUALENV" || VIRTUALENV="no"
2036
2037 if test "x$VIRTUALENV" = xno; then :
2038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2040 as_fn_error $? "--with-virtualenv given but virtualenv could not be found
2041 See \`config.log' for more details" "$LINENO" 5; }
2042 fi
2043 else
2044 VIRTUALENV=no
2045
2046 fi
2047
2048
2049
2050
2051
2052 ac_aux_dir=
2053 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2054 if test -f "$ac_dir/install-sh"; then
2055 ac_aux_dir=$ac_dir
2056 ac_install_sh="$ac_aux_dir/install-sh -c"
2057 break
2058 elif test -f "$ac_dir/install.sh"; then
2059 ac_aux_dir=$ac_dir
2060 ac_install_sh="$ac_aux_dir/install.sh -c"
2061 break
2062 elif test -f "$ac_dir/shtool"; then
2063 ac_aux_dir=$ac_dir
2064 ac_install_sh="$ac_aux_dir/shtool install -c"
2065 break
2066 fi
2067 done
2068 if test -z "$ac_aux_dir"; then
2069 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2070 fi
2071
2072 # These three variables are undocumented and unsupported,
2073 # and are intended to be withdrawn in a future Autoconf release.
2074 # They can cause serious problems if a builder's source tree is in a directory
2075 # whose full name contains unusual characters.
2076 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2077 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2078 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2079
2080
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2082 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2083 if test -z "$MKDIR_P"; then
2084 if ${ac_cv_path_mkdir+:} false; then :
2085 $as_echo_n "(cached) " >&6
2086 else
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2089 do
2090 IFS=$as_save_IFS
2091 test -z "$as_dir" && as_dir=.
2092 for ac_prog in mkdir gmkdir; do
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2095 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2096 'mkdir (GNU coreutils) '* | \
2097 'mkdir (coreutils) '* | \
2098 'mkdir (fileutils) '4.1*)
2099 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2100 break 3;;
2101 esac
2102 done
2103 done
2104 done
2105 IFS=$as_save_IFS
2106
2107 fi
2108
2109 test -d ./--version && rmdir ./--version
2110 if test "${ac_cv_path_mkdir+set}" = set; then
2111 MKDIR_P="$ac_cv_path_mkdir -p"
2112 else
2113 # As a last resort, use the slow shell script. Don't cache a
2114 # value for MKDIR_P within a source directory, because that will
2115 # break other packages using the cache if that directory is
2116 # removed, or if the value is a relative name.
2117 MKDIR_P="$ac_install_sh -d"
2118 fi
2119 fi
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2121 $as_echo "$MKDIR_P" >&6; }
2122
2123 # Find a good install program. We prefer a C program (faster),
2124 # so one script is as good as another. But avoid the broken or
2125 # incompatible versions:
2126 # SysV /etc/install, /usr/sbin/install
2127 # SunOS /usr/etc/install
2128 # IRIX /sbin/install
2129 # AIX /bin/install
2130 # AmigaOS /C/install, which installs bootblocks on floppy discs
2131 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2132 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2133 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2134 # OS/2's system install, which has a completely different semantic
2135 # ./install, which can be erroneously created by make from ./install.sh.
2136 # Reject install programs that cannot install multiple files.
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2138 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2139 if test -z "$INSTALL"; then
2140 if ${ac_cv_path_install+:} false; then :
2141 $as_echo_n "(cached) " >&6
2142 else
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 # Account for people who put trailing slashes in PATH elements.
2149 case $as_dir/ in @%:@((
2150 ./ | .// | /[cC]/* | \
2151 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2152 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2153 /usr/ucb/* ) ;;
2154 *)
2155 # OSF1 and SCO ODT 3.0 have their own names for install.
2156 # Don't use installbsd from OSF since it installs stuff as root
2157 # by default.
2158 for ac_prog in ginstall scoinst install; do
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2161 if test $ac_prog = install &&
2162 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2163 # AIX install. It has an incompatible calling convention.
2164 :
2165 elif test $ac_prog = install &&
2166 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2167 # program-specific install script used by HP pwplus--don't use.
2168 :
2169 else
2170 rm -rf conftest.one conftest.two conftest.dir
2171 echo one > conftest.one
2172 echo two > conftest.two
2173 mkdir conftest.dir
2174 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2175 test -s conftest.one && test -s conftest.two &&
2176 test -s conftest.dir/conftest.one &&
2177 test -s conftest.dir/conftest.two
2178 then
2179 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2180 break 3
2181 fi
2182 fi
2183 fi
2184 done
2185 done
2186 ;;
2187 esac
2188
2189 done
2190 IFS=$as_save_IFS
2191
2192 rm -rf conftest.one conftest.two conftest.dir
2193
2194 fi
2195 if test "${ac_cv_path_install+set}" = set; then
2196 INSTALL=$ac_cv_path_install
2197 else
2198 # As a last resort, use the slow shell script. Don't cache a
2199 # value for INSTALL within a source directory, because that will
2200 # break other packages using the cache if that directory is
2201 # removed, or if the value is a relative name.
2202 INSTALL=$ac_install_sh
2203 fi
2204 fi
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2206 $as_echo "$INSTALL" >&6; }
2207
2208 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2209 # It thinks the first close brace ends the variable substitution.
2210 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2211
2212 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2213
2214 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231 # Extract the first word of "`basename $PYTHON`-config", so it can be a program name with args.
2232 set dummy `basename $PYTHON`-config; ac_word=$2
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 $as_echo_n "checking for $ac_word... " >&6; }
2235 if ${ac_cv_path_PYTHON_CONFIG+:} false; then :
2236 $as_echo_n "(cached) " >&6
2237 else
2238 case $PYTHON_CONFIG in
2239 [\\/]* | ?:[\\/]*)
2240 ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
2241 ;;
2242 *)
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 for as_dir in $PATH
2245 do
2246 IFS=$as_save_IFS
2247 test -z "$as_dir" && as_dir=.
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2250 ac_cv_path_PYTHON_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2252 break 2
2253 fi
2254 done
2255 done
2256 IFS=$as_save_IFS
2257
2258 ;;
2259 esac
2260 fi
2261 PYTHON_CONFIG=$ac_cv_path_PYTHON_CONFIG
2262 if test -n "$PYTHON_CONFIG"; then
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5
2264 $as_echo "$PYTHON_CONFIG" >&6; }
2265 else
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2267 $as_echo "no" >&6; }
2268 fi
2269
2270
2271
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python prefix" >&5
2273 $as_echo_n "checking for Python prefix... " >&6; }
2274 if ${pc_cv_python_prefix+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 if test -x "$PYTHON_CONFIG"; then
2278 pc_cv_python_prefix=`$PYTHON_CONFIG --prefix 2>&5`
2279 else
2280 ac_ext=py
2281 ac_compile='chmod +x conftest.$ac_ext >&5'
2282 ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
2283 pc_cv_python_prefix=cat > conftest.$ac_ext <<_ACEOF
2284 @%:@!$PYTHON
2285 import sys
2286
2287 if __name__ == '__main__':
2288 sys.exit(sys.prefix)
2289
2290 _ACEOF
2291 ac_ext=c
2292 ac_cpp='$CPP $CPPFLAGS'
2293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2296 fi
2297 fi
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_prefix" >&5
2299 $as_echo "$pc_cv_python_prefix" >&6; }
2300 PYTHON_PREFIX=$pc_cv_python_prefix
2301
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages directory" >&5
2303 $as_echo_n "checking for Python site-packages directory... " >&6; }
2304 if ${pc_cv_python_site_dir+:} false; then :
2305 $as_echo_n "(cached) " >&6
2306 else
2307 ac_ext=py
2308 ac_compile='chmod +x conftest.$ac_ext >&5'
2309 ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
2310 if test "x$prefix" = xNONE
2311 then
2312 pc_py_prefix=$ac_default_prefix
2313 else
2314 pc_py_prefix=$prefix
2315 fi
2316 cat > conftest.$ac_ext <<_ACEOF
2317
2318 @%:@!$PYTHON
2319 import sys
2320 from platform import python_implementation
2321 # sysconfig in CPython 2.7 doesn't work in virtualenv
2322 # <https://github.com/pypa/virtualenv/issues/118>
2323 try:
2324 import sysconfig
2325 except:
2326 can_use_sysconfig = False
2327 else:
2328 can_use_sysconfig = True
2329 if can_use_sysconfig:
2330 if python_implementation() == "CPython" and sys.version[:3] == '2.7':
2331 can_use_sysconfig = False
2332 if not can_use_sysconfig:
2333 from distutils import sysconfig
2334 sitedir = sysconfig.get_python_lib(False, False, prefix='$pc_py_prefix')
2335 else:
2336 sitedir = sysconfig.get_path('purelib', vars={'base':'$pc_py_prefix'})
2337
2338 if __name__ == '__main__':
2339 sys.stdout.write(sitedir)
2340
2341 _ACEOF
2342 pc_cv_python_site_dir=`$PYTHON conftest.py`
2343 ac_ext=c
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348 case $pc_cv_python_site_dir in
2349 $pc_py_prefix*)
2350 pc__strip_prefix=`echo "$pc_py_prefix" | sed 's|.|.|g'`
2351 pc_cv_python_site_dir=`echo "$pc_cv_python_site_dir" | sed "s,^$pc__strip_prefix/,,"`
2352 ;;
2353 *)
2354 case $pc_py_prefix in
2355 /usr|/System*) ;;
2356 *)
2357 pc_cv_python_site_dir=lib/python$PYTHON_VERSION/site-packages
2358 ;;
2359 esac
2360 ;;
2361 esac
2362
2363 fi
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_site_dir" >&5
2365 $as_echo "$pc_cv_python_site_dir" >&6; }
2366 pythondir=\${prefix}/$pc_cv_python_site_dir
2367
2368 pkgpythondir=\${pythondir}/$PACKAGE
2369
2370
2371
2372
2373
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python exec-prefix" >&5
2375 $as_echo_n "checking for Python exec-prefix... " >&6; }
2376 if ${pc_cv_python_exec_prefix+:} false; then :
2377 $as_echo_n "(cached) " >&6
2378 else
2379 if test -x "$PYTHON_CONFIG"; then
2380 pc_cv_python_exec_prefix=`$PYTHON_CONFIG --exec-prefix 2>&5`
2381 else
2382 ac_ext=py
2383 ac_compile='chmod +x conftest.$ac_ext >&5'
2384 ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
2385 pc_cv_python_exec_prefix=cat > conftest.$ac_ext <<_ACEOF
2386 @%:@!$PYTHON
2387 import sys
2388
2389 if __name__ == '__main__':
2390 sys.exit(sys.exec_prefix)
2391
2392 _ACEOF
2393 ac_ext=c
2394 ac_cpp='$CPP $CPPFLAGS'
2395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2398 fi
2399
2400 fi
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_exec_prefix" >&5
2402 $as_echo "$pc_cv_python_exec_prefix" >&6; }
2403 PYTHON_EXEC_PREFIX=$pc_cv_python_exec_prefix
2404
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python extension module directory" >&5
2406 $as_echo_n "checking for Python extension module directory... " >&6; }
2407 if ${pc_cv_python_exec_dir+:} false; then :
2408 $as_echo_n "(cached) " >&6
2409 else
2410 ac_ext=py
2411 ac_compile='chmod +x conftest.$ac_ext >&5'
2412 ac_link='chmod +x conftest.$ac_ext && cp conftest.$ac_ext conftest >&5'
2413 if test "x$pc_cv_python_exec_prefix" = xNONE
2414 then
2415 pc_py_exec_prefix=$pc_cv_python_prefix
2416 else
2417 pc_py_exec_prefix=$pc_cv_python_exec_prefix
2418 fi
2419 cat > conftest.$ac_ext <<_ACEOF
2420
2421 @%:@!$PYTHON
2422 import sys
2423 from platform import python_implementation
2424 # sysconfig in CPython 2.7 doesn't work in virtualenv
2425 # <https://github.com/pypa/virtualenv/issues/118>
2426 try:
2427 import sysconfig
2428 except:
2429 can_use_sysconfig = False
2430 else:
2431 can_use_sysconfig = True
2432 if can_use_sysconfig:
2433 if python_implementation() == "CPython" and sys.version[:3] == '2.7':
2434 can_use_sysconfig = False
2435 if not can_use_sysconfig:
2436 from distutils import sysconfig
2437 sitedir = sysconfig.get_python_lib(False, False, prefix='$pc_py__exec_prefix')
2438 else:
2439 sitedir = sysconfig.get_path('purelib', vars={'platbase':'$pc_py_exec_prefix'})
2440
2441 if __name__ == '__main__':
2442 sys.stdout.write(sitedir)
2443
2444 _ACEOF
2445 pc_cv_python_exec_dir=`$PYTHON conftest.py`
2446 ac_ext=c
2447 ac_cpp='$CPP $CPPFLAGS'
2448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451 case $pc_cv_python_exec_dir in
2452 $pc_py_exec_prefix*)
2453 pc__strip_prefix=`echo "$pc_py_exec_prefix" | sed 's|.|.|g'`
2454 pc_cv_python_exec_dir=`echo "$pc_cv_python_exec_dir" | sed "s,^$pc__strip_prefix/,,"`
2455 ;;
2456 *)
2457 case $pc_py_exec_prefix in
2458 /usr|/System*) ;;
2459 *)
2460 pc_cv_python_exec_dir=lib/python$PYTHON_VERSION/site-packages
2461 ;;
2462 esac
2463 ;;
2464 esac
2465
2466 fi
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pc_cv_python_exec_dir" >&5
2468 $as_echo "$pc_cv_python_exec_dir" >&6; }
2469 pyexecdir=\${exec_prefix}/$pc_cv_python_pyexecdir
2470
2471 pkgpyexecdir=\${pyexecdir}/$PACKAGE
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500 ac_config_files="$ac_config_files Makefile setup.py"
2501
2502 cat >confcache <<\_ACEOF
2503 # This file is a shell script that caches the results of configure
2504 # tests run on this system so they can be shared between configure
2505 # scripts and configure runs, see configure's option --config-cache.
2506 # It is not useful on other systems. If it contains results you don't
2507 # want to keep, you may remove or edit it.
2508 #
2509 # config.status only pays attention to the cache file if you give it
2510 # the --recheck option to rerun configure.
2511 #
2512 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2513 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2514 # following values.
2515
2516 _ACEOF
2517
2518 # The following way of writing the cache mishandles newlines in values,
2519 # but we know of no workaround that is simple, portable, and efficient.
2520 # So, we kill variables containing newlines.
2521 # Ultrix sh set writes to stderr and can't be redirected directly,
2522 # and sets the high bit in the cache file unless we assign to the vars.
2523 (
2524 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2525 eval ac_val=\$$ac_var
2526 case $ac_val in #(
2527 *${as_nl}*)
2528 case $ac_var in #(
2529 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2530 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2531 esac
2532 case $ac_var in #(
2533 _ | IFS | as_nl) ;; #(
2534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2535 *) { eval $ac_var=; unset $ac_var;} ;;
2536 esac ;;
2537 esac
2538 done
2539
2540 (set) 2>&1 |
2541 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2542 *${as_nl}ac_space=\ *)
2543 # `set' does not quote correctly, so add quotes: double-quote
2544 # substitution turns \\\\ into \\, and sed turns \\ into \.
2545 sed -n \
2546 "s/'/'\\\\''/g;
2547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2548 ;; #(
2549 *)
2550 # `set' quotes correctly as required by POSIX, so do not add quotes.
2551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2552 ;;
2553 esac |
2554 sort
2555 ) |
2556 sed '
2557 /^ac_cv_env_/b end
2558 t clear
2559 :clear
2560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2561 t end
2562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2563 :end' >>confcache
2564 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2565 if test -w "$cache_file"; then
2566 if test "x$cache_file" != "x/dev/null"; then
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2568 $as_echo "$as_me: updating cache $cache_file" >&6;}
2569 if test ! -f "$cache_file" || test -h "$cache_file"; then
2570 cat confcache >"$cache_file"
2571 else
2572 case $cache_file in #(
2573 */* | ?:*)
2574 mv -f confcache "$cache_file"$$ &&
2575 mv -f "$cache_file"$$ "$cache_file" ;; #(
2576 *)
2577 mv -f confcache "$cache_file" ;;
2578 esac
2579 fi
2580 fi
2581 else
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2583 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2584 fi
2585 fi
2586 rm -f confcache
2587
2588 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2589 # Let make expand exec_prefix.
2590 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2591
2592 # Transform confdefs.h into DEFS.
2593 # Protect against shell expansion while executing Makefile rules.
2594 # Protect against Makefile macro expansion.
2595 #
2596 # If the first sed substitution is executed (which looks for macros that
2597 # take arguments), then branch to the quote section. Otherwise,
2598 # look for a macro that doesn't take arguments.
2599 ac_script='
2600 :mline
2601 /\\$/{
2602 N
2603 s,\\\n,,
2604 b mline
2605 }
2606 t clear
2607 :clear
2608 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2609 t quote
2610 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2611 t quote
2612 b any
2613 :quote
2614 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2615 s/\[/\\&/g
2616 s/\]/\\&/g
2617 s/\$/$$/g
2618 H
2619 :any
2620 ${
2621 g
2622 s/^\n//
2623 s/\n/ /g
2624 p
2625 }
2626 '
2627 DEFS=`sed -n "$ac_script" confdefs.h`
2628
2629
2630 ac_libobjs=
2631 ac_ltlibobjs=
2632 U=
2633 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
2634 # 1. Remove the extension, and $U if already installed.
2635 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2636 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2637 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2638 # will be set to the directory where LIBOBJS objects are built.
2639 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2640 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2641 done
2642 LIB@&t@OBJS=$ac_libobjs
2643
2644 LTLIBOBJS=$ac_ltlibobjs
2645
2646
2647
2648 : "${CONFIG_STATUS=./config.status}"
2649 ac_write_fail=0
2650 ac_clean_files_save=$ac_clean_files
2651 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2653 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2654 as_write_fail=0
2655 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2656 #! $SHELL
2657 # Generated by $as_me.
2658 # Run this file to recreate the current configuration.
2659 # Compiler output produced by configure, useful for debugging
2660 # configure, is in config.log if it exists.
2661
2662 debug=false
2663 ac_cs_recheck=false
2664 ac_cs_silent=false
2665
2666 SHELL=\${CONFIG_SHELL-$SHELL}
2667 export SHELL
2668 _ASEOF
2669 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2670 ## -------------------- ##
2671 ## M4sh Initialization. ##
2672 ## -------------------- ##
2673
2674 # Be more Bourne compatible
2675 DUALCASE=1; export DUALCASE # for MKS sh
2676 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2677 emulate sh
2678 NULLCMD=:
2679 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2680 # is contrary to our usage. Disable this feature.
2681 alias -g '${1+"$@"}'='"$@"'
2682 setopt NO_GLOB_SUBST
2683 else
2684 case `(set -o) 2>/dev/null` in @%:@(
2685 *posix*) :
2686 set -o posix ;; @%:@(
2687 *) :
2688 ;;
2689 esac
2690 fi
2691
2692
2693 as_nl='
2694 '
2695 export as_nl
2696 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2697 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2698 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2699 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2700 # Prefer a ksh shell builtin over an external printf program on Solaris,
2701 # but without wasting forks for bash or zsh.
2702 if test -z "$BASH_VERSION$ZSH_VERSION" \
2703 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2704 as_echo='print -r --'
2705 as_echo_n='print -rn --'
2706 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2707 as_echo='printf %s\n'
2708 as_echo_n='printf %s'
2709 else
2710 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2711 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2712 as_echo_n='/usr/ucb/echo -n'
2713 else
2714 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2715 as_echo_n_body='eval
2716 arg=$1;
2717 case $arg in @%:@(
2718 *"$as_nl"*)
2719 expr "X$arg" : "X\\(.*\\)$as_nl";
2720 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2721 esac;
2722 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2723 '
2724 export as_echo_n_body
2725 as_echo_n='sh -c $as_echo_n_body as_echo'
2726 fi
2727 export as_echo_body
2728 as_echo='sh -c $as_echo_body as_echo'
2729 fi
2730
2731 # The user is always right.
2732 if test "${PATH_SEPARATOR+set}" != set; then
2733 PATH_SEPARATOR=:
2734 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2735 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2736 PATH_SEPARATOR=';'
2737 }
2738 fi
2739
2740
2741 # IFS
2742 # We need space, tab and new line, in precisely that order. Quoting is
2743 # there to prevent editors from complaining about space-tab.
2744 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2745 # splitting by setting IFS to empty value.)
2746 IFS=" "" $as_nl"
2747
2748 # Find who we are. Look in the path if we contain no directory separator.
2749 as_myself=
2750 case $0 in @%:@((
2751 *[\\/]* ) as_myself=$0 ;;
2752 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH
2754 do
2755 IFS=$as_save_IFS
2756 test -z "$as_dir" && as_dir=.
2757 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2758 done
2759 IFS=$as_save_IFS
2760
2761 ;;
2762 esac
2763 # We did not find ourselves, most probably we were run as `sh COMMAND'
2764 # in which case we are not to be found in the path.
2765 if test "x$as_myself" = x; then
2766 as_myself=$0
2767 fi
2768 if test ! -f "$as_myself"; then
2769 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2770 exit 1
2771 fi
2772
2773 # Unset variables that we do not need and which cause bugs (e.g. in
2774 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2775 # suppresses any "Segmentation fault" message there. '((' could
2776 # trigger a bug in pdksh 5.2.14.
2777 for as_var in BASH_ENV ENV MAIL MAILPATH
2778 do eval test x\${$as_var+set} = xset \
2779 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2780 done
2781 PS1='$ '
2782 PS2='> '
2783 PS4='+ '
2784
2785 # NLS nuisances.
2786 LC_ALL=C
2787 export LC_ALL
2788 LANGUAGE=C
2789 export LANGUAGE
2790
2791 # CDPATH.
2792 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2793
2794
2795 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
2796 @%:@ ----------------------------------------
2797 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2798 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2799 @%:@ script with STATUS, using 1 if that was 0.
2800 as_fn_error ()
2801 {
2802 as_status=$1; test $as_status -eq 0 && as_status=1
2803 if test "$4"; then
2804 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2806 fi
2807 $as_echo "$as_me: error: $2" >&2
2808 as_fn_exit $as_status
2809 } @%:@ as_fn_error
2810
2811
2812 @%:@ as_fn_set_status STATUS
2813 @%:@ -----------------------
2814 @%:@ Set @S|@? to STATUS, without forking.
2815 as_fn_set_status ()
2816 {
2817 return $1
2818 } @%:@ as_fn_set_status
2819
2820 @%:@ as_fn_exit STATUS
2821 @%:@ -----------------
2822 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2823 as_fn_exit ()
2824 {
2825 set +e
2826 as_fn_set_status $1
2827 exit $1
2828 } @%:@ as_fn_exit
2829
2830 @%:@ as_fn_unset VAR
2831 @%:@ ---------------
2832 @%:@ Portably unset VAR.
2833 as_fn_unset ()
2834 {
2835 { eval $1=; unset $1;}
2836 }
2837 as_unset=as_fn_unset
2838 @%:@ as_fn_append VAR VALUE
2839 @%:@ ----------------------
2840 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
2841 @%:@ advantage of any shell optimizations that allow amortized linear growth over
2842 @%:@ repeated appends, instead of the typical quadratic growth present in naive
2843 @%:@ implementations.
2844 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2845 eval 'as_fn_append ()
2846 {
2847 eval $1+=\$2
2848 }'
2849 else
2850 as_fn_append ()
2851 {
2852 eval $1=\$$1\$2
2853 }
2854 fi # as_fn_append
2855
2856 @%:@ as_fn_arith ARG...
2857 @%:@ ------------------
2858 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
2859 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
2860 @%:@ must be portable across @S|@(()) and expr.
2861 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2862 eval 'as_fn_arith ()
2863 {
2864 as_val=$(( $* ))
2865 }'
2866 else
2867 as_fn_arith ()
2868 {
2869 as_val=`expr "$@" || test $? -eq 1`
2870 }
2871 fi # as_fn_arith
2872
2873
2874 if expr a : '\(a\)' >/dev/null 2>&1 &&
2875 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2876 as_expr=expr
2877 else
2878 as_expr=false
2879 fi
2880
2881 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2882 as_basename=basename
2883 else
2884 as_basename=false
2885 fi
2886
2887 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2888 as_dirname=dirname
2889 else
2890 as_dirname=false
2891 fi
2892
2893 as_me=`$as_basename -- "$0" ||
2894 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2895 X"$0" : 'X\(//\)$' \| \
2896 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2897 $as_echo X/"$0" |
2898 sed '/^.*\/\([^/][^/]*\)\/*$/{
2899 s//\1/
2900 q
2901 }
2902 /^X\/\(\/\/\)$/{
2903 s//\1/
2904 q
2905 }
2906 /^X\/\(\/\).*/{
2907 s//\1/
2908 q
2909 }
2910 s/.*/./; q'`
2911
2912 # Avoid depending upon Character Ranges.
2913 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2914 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2915 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2916 as_cr_digits='0123456789'
2917 as_cr_alnum=$as_cr_Letters$as_cr_digits
2918
2919 ECHO_C= ECHO_N= ECHO_T=
2920 case `echo -n x` in @%:@(((((
2921 -n*)
2922 case `echo 'xy\c'` in
2923 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2924 xy) ECHO_C='\c';;
2925 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2926 ECHO_T=' ';;
2927 esac;;
2928 *)
2929 ECHO_N='-n';;
2930 esac
2931
2932 rm -f conf$$ conf$$.exe conf$$.file
2933 if test -d conf$$.dir; then
2934 rm -f conf$$.dir/conf$$.file
2935 else
2936 rm -f conf$$.dir
2937 mkdir conf$$.dir 2>/dev/null
2938 fi
2939 if (echo >conf$$.file) 2>/dev/null; then
2940 if ln -s conf$$.file conf$$ 2>/dev/null; then
2941 as_ln_s='ln -s'
2942 # ... but there are two gotchas:
2943 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2944 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2945 # In both cases, we have to default to `cp -pR'.
2946 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2947 as_ln_s='cp -pR'
2948 elif ln conf$$.file conf$$ 2>/dev/null; then
2949 as_ln_s=ln
2950 else
2951 as_ln_s='cp -pR'
2952 fi
2953 else
2954 as_ln_s='cp -pR'
2955 fi
2956 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2957 rmdir conf$$.dir 2>/dev/null
2958
2959
2960 @%:@ as_fn_mkdir_p
2961 @%:@ -------------
2962 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
2963 as_fn_mkdir_p ()
2964 {
2965
2966 case $as_dir in #(
2967 -*) as_dir=./$as_dir;;
2968 esac
2969 test -d "$as_dir" || eval $as_mkdir_p || {
2970 as_dirs=
2971 while :; do
2972 case $as_dir in #(
2973 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2974 *) as_qdir=$as_dir;;
2975 esac
2976 as_dirs="'$as_qdir' $as_dirs"
2977 as_dir=`$as_dirname -- "$as_dir" ||
2978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2979 X"$as_dir" : 'X\(//\)[^/]' \| \
2980 X"$as_dir" : 'X\(//\)$' \| \
2981 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2982 $as_echo X"$as_dir" |
2983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2984 s//\1/
2985 q
2986 }
2987 /^X\(\/\/\)[^/].*/{
2988 s//\1/
2989 q
2990 }
2991 /^X\(\/\/\)$/{
2992 s//\1/
2993 q
2994 }
2995 /^X\(\/\).*/{
2996 s//\1/
2997 q
2998 }
2999 s/.*/./; q'`
3000 test -d "$as_dir" && break
3001 done
3002 test -z "$as_dirs" || eval "mkdir $as_dirs"
3003 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3004
3005
3006 } @%:@ as_fn_mkdir_p
3007 if mkdir -p . 2>/dev/null; then
3008 as_mkdir_p='mkdir -p "$as_dir"'
3009 else
3010 test -d ./-p && rmdir ./-p
3011 as_mkdir_p=false
3012 fi
3013
3014
3015 @%:@ as_fn_executable_p FILE
3016 @%:@ -----------------------
3017 @%:@ Test if FILE is an executable regular file.
3018 as_fn_executable_p ()
3019 {
3020 test -f "$1" && test -x "$1"
3021 } @%:@ as_fn_executable_p
3022 as_test_x='test -x'
3023 as_executable_p=as_fn_executable_p
3024
3025 # Sed expression to map a string onto a valid CPP name.
3026 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3027
3028 # Sed expression to map a string onto a valid variable name.
3029 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3030
3031
3032 exec 6>&1
3033 ## ----------------------------------- ##
3034 ## Main body of $CONFIG_STATUS script. ##
3035 ## ----------------------------------- ##
3036 _ASEOF
3037 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3038
3039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3040 # Save the log message, to keep $0 and so on meaningful, and to
3041 # report actual input values of CONFIG_FILES etc. instead of their
3042 # values after options handling.
3043 ac_log="
3044 This file was extended by mediagoblin $as_me 0.4.0.dev, which was
3045 generated by GNU Autoconf 2.69. Invocation command line was
3046
3047 CONFIG_FILES = $CONFIG_FILES
3048 CONFIG_HEADERS = $CONFIG_HEADERS
3049 CONFIG_LINKS = $CONFIG_LINKS
3050 CONFIG_COMMANDS = $CONFIG_COMMANDS
3051 $ $0 $@
3052
3053 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3054 "
3055
3056 _ACEOF
3057
3058 case $ac_config_files in *"
3059 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3060 esac
3061
3062
3063
3064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3065 # Files that config.status was made for.
3066 config_files="$ac_config_files"
3067
3068 _ACEOF
3069
3070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3071 ac_cs_usage="\
3072 \`$as_me' instantiates files and other configuration actions
3073 from templates according to the current configuration. Unless the files
3074 and actions are specified as TAGs, all are instantiated by default.
3075
3076 Usage: $0 [OPTION]... [TAG]...
3077
3078 -h, --help print this help, then exit
3079 -V, --version print version number and configuration settings, then exit
3080 --config print configuration, then exit
3081 -q, --quiet, --silent
3082 do not print progress messages
3083 -d, --debug don't remove temporary files
3084 --recheck update $as_me by reconfiguring in the same conditions
3085 --file=FILE[:TEMPLATE]
3086 instantiate the configuration file FILE
3087
3088 Configuration files:
3089 $config_files
3090
3091 Report bugs to <cwebber@gnu.org>."
3092
3093 _ACEOF
3094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3095 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3096 ac_cs_version="\\
3097 mediagoblin config.status 0.4.0.dev
3098 configured by $0, generated by GNU Autoconf 2.69,
3099 with options \\"\$ac_cs_config\\"
3100
3101 Copyright (C) 2012 Free Software Foundation, Inc.
3102 This config.status script is free software; the Free Software Foundation
3103 gives unlimited permission to copy, distribute and modify it."
3104
3105 ac_pwd='$ac_pwd'
3106 srcdir='$srcdir'
3107 INSTALL='$INSTALL'
3108 MKDIR_P='$MKDIR_P'
3109 test -n "\$AWK" || AWK=awk
3110 _ACEOF
3111
3112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3113 # The default lists apply if the user does not specify any file.
3114 ac_need_defaults=:
3115 while test $# != 0
3116 do
3117 case $1 in
3118 --*=?*)
3119 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3120 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3121 ac_shift=:
3122 ;;
3123 --*=)
3124 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3125 ac_optarg=
3126 ac_shift=:
3127 ;;
3128 *)
3129 ac_option=$1
3130 ac_optarg=$2
3131 ac_shift=shift
3132 ;;
3133 esac
3134
3135 case $ac_option in
3136 # Handling of the options.
3137 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3138 ac_cs_recheck=: ;;
3139 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3140 $as_echo "$ac_cs_version"; exit ;;
3141 --config | --confi | --conf | --con | --co | --c )
3142 $as_echo "$ac_cs_config"; exit ;;
3143 --debug | --debu | --deb | --de | --d | -d )
3144 debug=: ;;
3145 --file | --fil | --fi | --f )
3146 $ac_shift
3147 case $ac_optarg in
3148 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3149 '') as_fn_error $? "missing file argument" ;;
3150 esac
3151 as_fn_append CONFIG_FILES " '$ac_optarg'"
3152 ac_need_defaults=false;;
3153 --he | --h | --help | --hel | -h )
3154 $as_echo "$ac_cs_usage"; exit ;;
3155 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3156 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3157 ac_cs_silent=: ;;
3158
3159 # This is an error.
3160 -*) as_fn_error $? "unrecognized option: \`$1'
3161 Try \`$0 --help' for more information." ;;
3162
3163 *) as_fn_append ac_config_targets " $1"
3164 ac_need_defaults=false ;;
3165
3166 esac
3167 shift
3168 done
3169
3170 ac_configure_extra_args=
3171
3172 if $ac_cs_silent; then
3173 exec 6>/dev/null
3174 ac_configure_extra_args="$ac_configure_extra_args --silent"
3175 fi
3176
3177 _ACEOF
3178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3179 if \$ac_cs_recheck; then
3180 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3181 shift
3182 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3183 CONFIG_SHELL='$SHELL'
3184 export CONFIG_SHELL
3185 exec "\$@"
3186 fi
3187
3188 _ACEOF
3189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3190 exec 5>>config.log
3191 {
3192 echo
3193 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
3194 @%:@@%:@ Running $as_me. @%:@@%:@
3195 _ASBOX
3196 $as_echo "$ac_log"
3197 } >&5
3198
3199 _ACEOF
3200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3201 _ACEOF
3202
3203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3204
3205 # Handling of arguments.
3206 for ac_config_target in $ac_config_targets
3207 do
3208 case $ac_config_target in
3209 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3210 "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;;
3211
3212 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3213 esac
3214 done
3215
3216
3217 # If the user did not use the arguments to specify the items to instantiate,
3218 # then the envvar interface is used. Set only those that are not.
3219 # We use the long form for the default assignment because of an extremely
3220 # bizarre bug on SunOS 4.1.3.
3221 if $ac_need_defaults; then
3222 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3223 fi
3224
3225 # Have a temporary directory for convenience. Make it in the build tree
3226 # simply because there is no reason against having it here, and in addition,
3227 # creating and moving files from /tmp can sometimes cause problems.
3228 # Hook for its removal unless debugging.
3229 # Note that there is a small window in which the directory will not be cleaned:
3230 # after its creation but before its name has been assigned to `$tmp'.
3231 $debug ||
3232 {
3233 tmp= ac_tmp=
3234 trap 'exit_status=$?
3235 : "${ac_tmp:=$tmp}"
3236 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3237 ' 0
3238 trap 'as_fn_exit 1' 1 2 13 15
3239 }
3240 # Create a (secure) tmp directory for tmp files.
3241
3242 {
3243 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3244 test -d "$tmp"
3245 } ||
3246 {
3247 tmp=./conf$$-$RANDOM
3248 (umask 077 && mkdir "$tmp")
3249 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3250 ac_tmp=$tmp
3251
3252 # Set up the scripts for CONFIG_FILES section.
3253 # No need to generate them if there are no CONFIG_FILES.
3254 # This happens for instance with `./config.status config.h'.
3255 if test -n "$CONFIG_FILES"; then
3256
3257
3258 ac_cr=`echo X | tr X '\015'`
3259 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3260 # But we know of no other shell where ac_cr would be empty at this
3261 # point, so we can use a bashism as a fallback.
3262 if test "x$ac_cr" = x; then
3263 eval ac_cr=\$\'\\r\'
3264 fi
3265 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3266 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3267 ac_cs_awk_cr='\\r'
3268 else
3269 ac_cs_awk_cr=$ac_cr
3270 fi
3271
3272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3273 _ACEOF
3274
3275
3276 {
3277 echo "cat >conf$$subs.awk <<_ACEOF" &&
3278 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3279 echo "_ACEOF"
3280 } >conf$$subs.sh ||
3281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3283 ac_delim='%!_!# '
3284 for ac_last_try in false false false false false :; do
3285 . ./conf$$subs.sh ||
3286 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3287
3288 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3289 if test $ac_delim_n = $ac_delim_num; then
3290 break
3291 elif $ac_last_try; then
3292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3293 else
3294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3295 fi
3296 done
3297 rm -f conf$$subs.sh
3298
3299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3300 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3301 _ACEOF
3302 sed -n '
3303 h
3304 s/^/S["/; s/!.*/"]=/
3305 p
3306 g
3307 s/^[^!]*!//
3308 :repl
3309 t repl
3310 s/'"$ac_delim"'$//
3311 t delim
3312 :nl
3313 h
3314 s/\(.\{148\}\)..*/\1/
3315 t more1
3316 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3317 p
3318 n
3319 b repl
3320 :more1
3321 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3322 p
3323 g
3324 s/.\{148\}//
3325 t nl
3326 :delim
3327 h
3328 s/\(.\{148\}\)..*/\1/
3329 t more2
3330 s/["\\]/\\&/g; s/^/"/; s/$/"/
3331 p
3332 b
3333 :more2
3334 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3335 p
3336 g
3337 s/.\{148\}//
3338 t delim
3339 ' <conf$$subs.awk | sed '
3340 /^[^""]/{
3341 N
3342 s/\n//
3343 }
3344 ' >>$CONFIG_STATUS || ac_write_fail=1
3345 rm -f conf$$subs.awk
3346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3347 _ACAWK
3348 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3349 for (key in S) S_is_set[key] = 1
3350 FS = "\a"
3351
3352 }
3353 {
3354 line = $ 0
3355 nfields = split(line, field, "@")
3356 substed = 0
3357 len = length(field[1])
3358 for (i = 2; i < nfields; i++) {
3359 key = field[i]
3360 keylen = length(key)
3361 if (S_is_set[key]) {
3362 value = S[key]
3363 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3364 len += length(value) + length(field[++i])
3365 substed = 1
3366 } else
3367 len += 1 + keylen
3368 }
3369
3370 print line
3371 }
3372
3373 _ACAWK
3374 _ACEOF
3375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3376 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3377 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3378 else
3379 cat
3380 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3381 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3382 _ACEOF
3383
3384 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3385 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3386 # trailing colons and then remove the whole line if VPATH becomes empty
3387 # (actually we leave an empty line to preserve line numbers).
3388 if test "x$srcdir" = x.; then
3389 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3390 h
3391 s///
3392 s/^/:/
3393 s/[ ]*$/:/
3394 s/:\$(srcdir):/:/g
3395 s/:\${srcdir}:/:/g
3396 s/:@srcdir@:/:/g
3397 s/^:*//
3398 s/:*$//
3399 x
3400 s/\(=[ ]*\).*/\1/
3401 G
3402 s/\n//
3403 s/^[^=]*=[ ]*$//
3404 }'
3405 fi
3406
3407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3408 fi # test -n "$CONFIG_FILES"
3409
3410
3411 eval set X " :F $CONFIG_FILES "
3412 shift
3413 for ac_tag
3414 do
3415 case $ac_tag in
3416 :[FHLC]) ac_mode=$ac_tag; continue;;
3417 esac
3418 case $ac_mode$ac_tag in
3419 :[FHL]*:*);;
3420 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3421 :[FH]-) ac_tag=-:-;;
3422 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3423 esac
3424 ac_save_IFS=$IFS
3425 IFS=:
3426 set x $ac_tag
3427 IFS=$ac_save_IFS
3428 shift
3429 ac_file=$1
3430 shift
3431
3432 case $ac_mode in
3433 :L) ac_source=$1;;
3434 :[FH])
3435 ac_file_inputs=
3436 for ac_f
3437 do
3438 case $ac_f in
3439 -) ac_f="$ac_tmp/stdin";;
3440 *) # Look for the file first in the build tree, then in the source tree
3441 # (if the path is not absolute). The absolute path cannot be DOS-style,
3442 # because $ac_f cannot contain `:'.
3443 test -f "$ac_f" ||
3444 case $ac_f in
3445 [\\/$]*) false;;
3446 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3447 esac ||
3448 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3449 esac
3450 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3451 as_fn_append ac_file_inputs " '$ac_f'"
3452 done
3453
3454 # Let's still pretend it is `configure' which instantiates (i.e., don't
3455 # use $as_me), people would be surprised to read:
3456 # /* config.h. Generated by config.status. */
3457 configure_input='Generated from '`
3458 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3459 `' by configure.'
3460 if test x"$ac_file" != x-; then
3461 configure_input="$ac_file. $configure_input"
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3463 $as_echo "$as_me: creating $ac_file" >&6;}
3464 fi
3465 # Neutralize special characters interpreted by sed in replacement strings.
3466 case $configure_input in #(
3467 *\&* | *\|* | *\\* )
3468 ac_sed_conf_input=`$as_echo "$configure_input" |
3469 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3470 *) ac_sed_conf_input=$configure_input;;
3471 esac
3472
3473 case $ac_tag in
3474 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3476 esac
3477 ;;
3478 esac
3479
3480 ac_dir=`$as_dirname -- "$ac_file" ||
3481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3482 X"$ac_file" : 'X\(//\)[^/]' \| \
3483 X"$ac_file" : 'X\(//\)$' \| \
3484 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3485 $as_echo X"$ac_file" |
3486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3487 s//\1/
3488 q
3489 }
3490 /^X\(\/\/\)[^/].*/{
3491 s//\1/
3492 q
3493 }
3494 /^X\(\/\/\)$/{
3495 s//\1/
3496 q
3497 }
3498 /^X\(\/\).*/{
3499 s//\1/
3500 q
3501 }
3502 s/.*/./; q'`
3503 as_dir="$ac_dir"; as_fn_mkdir_p
3504 ac_builddir=.
3505
3506 case "$ac_dir" in
3507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3508 *)
3509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3510 # A ".." for each directory in $ac_dir_suffix.
3511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3512 case $ac_top_builddir_sub in
3513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3515 esac ;;
3516 esac
3517 ac_abs_top_builddir=$ac_pwd
3518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3519 # for backward compatibility:
3520 ac_top_builddir=$ac_top_build_prefix
3521
3522 case $srcdir in
3523 .) # We are building in place.
3524 ac_srcdir=.
3525 ac_top_srcdir=$ac_top_builddir_sub
3526 ac_abs_top_srcdir=$ac_pwd ;;
3527 [\\/]* | ?:[\\/]* ) # Absolute name.
3528 ac_srcdir=$srcdir$ac_dir_suffix;
3529 ac_top_srcdir=$srcdir
3530 ac_abs_top_srcdir=$srcdir ;;
3531 *) # Relative name.
3532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3533 ac_top_srcdir=$ac_top_build_prefix$srcdir
3534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3535 esac
3536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3537
3538
3539 case $ac_mode in
3540 :F)
3541 #
3542 # CONFIG_FILE
3543 #
3544
3545 case $INSTALL in
3546 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3547 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3548 esac
3549 ac_MKDIR_P=$MKDIR_P
3550 case $MKDIR_P in
3551 [\\/$]* | ?:[\\/]* ) ;;
3552 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3553 esac
3554 _ACEOF
3555
3556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3557 # If the template does not know about datarootdir, expand it.
3558 # FIXME: This hack should be removed a few years after 2.60.
3559 ac_datarootdir_hack=; ac_datarootdir_seen=
3560 ac_sed_dataroot='
3561 /datarootdir/ {
3562 p
3563 q
3564 }
3565 /@datadir@/p
3566 /@docdir@/p
3567 /@infodir@/p
3568 /@localedir@/p
3569 /@mandir@/p'
3570 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3571 *datarootdir*) ac_datarootdir_seen=yes;;
3572 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3574 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3575 _ACEOF
3576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3577 ac_datarootdir_hack='
3578 s&@datadir@&$datadir&g
3579 s&@docdir@&$docdir&g
3580 s&@infodir@&$infodir&g
3581 s&@localedir@&$localedir&g
3582 s&@mandir@&$mandir&g
3583 s&\\\${datarootdir}&$datarootdir&g' ;;
3584 esac
3585 _ACEOF
3586
3587 # Neutralize VPATH when `$srcdir' = `.'.
3588 # Shell code in configure.ac might set extrasub.
3589 # FIXME: do we really want to maintain this feature?
3590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3591 ac_sed_extra="$ac_vpsub
3592 $extrasub
3593 _ACEOF
3594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3595 :t
3596 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3597 s|@configure_input@|$ac_sed_conf_input|;t t
3598 s&@top_builddir@&$ac_top_builddir_sub&;t t
3599 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3600 s&@srcdir@&$ac_srcdir&;t t
3601 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3602 s&@top_srcdir@&$ac_top_srcdir&;t t
3603 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3604 s&@builddir@&$ac_builddir&;t t
3605 s&@abs_builddir@&$ac_abs_builddir&;t t
3606 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3607 s&@INSTALL@&$ac_INSTALL&;t t
3608 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3609 $ac_datarootdir_hack
3610 "
3611 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3612 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3613
3614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3615 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3616 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3617 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3619 which seems to be undefined. Please make sure it is defined" >&5
3620 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3621 which seems to be undefined. Please make sure it is defined" >&2;}
3622
3623 rm -f "$ac_tmp/stdin"
3624 case $ac_file in
3625 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3626 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3627 esac \
3628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3629 ;;
3630
3631
3632
3633 esac
3634
3635 done # for ac_tag
3636
3637
3638 as_fn_exit 0
3639 _ACEOF
3640 ac_clean_files=$ac_clean_files_save
3641
3642 test $ac_write_fail = 0 ||
3643 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3644
3645
3646 # configure is writing to config.log, and then calls config.status.
3647 # config.status does its own redirection, appending to config.log.
3648 # Unfortunately, on DOS this fails, as config.log is still kept open
3649 # by configure, so config.status won't be able to write to it; its
3650 # output is simply discarded. So we exec the FD to /dev/null,
3651 # effectively closing config.log, so it can be properly (re)opened and
3652 # appended to by config.status. When coming back to configure, we
3653 # need to make the FD available again.
3654 if test "$no_create" != yes; then
3655 ac_cs_success=:
3656 ac_config_status_args=
3657 test "$silent" = yes &&
3658 ac_config_status_args="$ac_config_status_args --quiet"
3659 exec 5>/dev/null
3660 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3661 exec 5>>config.log
3662 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3663 # would make configure fail if this is the last instruction.
3664 $ac_cs_success || as_fn_exit 1
3665 fi
3666 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3668 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3669 fi
3670