2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.69 for mediagoblin 0.4.0.dev.
5 @%:@ Report bugs to <cwebber@gnu.org>.
8 @%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 ## -------------------- ##
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 :
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+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in @%:@(
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
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
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
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 :
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+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in @%:@(
173 set -o posix ;; @%:@(
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; }
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 :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || 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 :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
216 case $as_dir in @%:@(
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 :
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
239 if test "x$CONFIG_SHELL" != x; then :
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.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
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
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."
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
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 @%:@ Portably unset VAR.
292 { eval $1=; unset $1;}
296 @%:@ as_fn_set_status STATUS
297 @%:@ -----------------------
298 @%:@ Set @S|@? to STATUS, without forking.
302 } @%:@ as_fn_set_status
304 @%:@ as_fn_exit STATUS
305 @%:@ -----------------
306 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 @%:@ as_fn_executable_p FILE
363 @%:@ -----------------------
364 @%:@ Test if FILE is an executable regular file.
365 as_fn_executable_p ()
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 ()
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 :
400 as_val=`expr "$@" || test $? -eq 1`
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.
412 as_status=$1; test $as_status -eq 0 && as_status=1
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
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
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. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in @%:@(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
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'"
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'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
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`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
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'
587 ac_subst_vars='LTLIBOBJS
630 program_transform_name
643 enable_option_checking
646 ac_precious_vars='build_alias
654 # Initialize some variables set by options.
656 ac_init_version=false
657 ac_unrecognized_opts=
659 # The variables have the same names as the options, with
660 # dashes changed to underlines.
668 program_transform_name=s,x,x,
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'
698 libdir='${exec_prefix}/lib'
699 localedir='${datarootdir}/locale'
700 mandir='${datarootdir}/man'
706 # If the previous option needs an argument, assign it.
707 if test -n "$ac_prev"; then
708 eval $ac_prev=\$ac_option
714 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
719 # Accept the important Cygnus configure options, so we can diagnose typos.
721 case $ac_dashdash$ac_option in
725 -bindir | --bindir | --bindi | --bind | --bin | --bi)
727 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
730 -build | --build | --buil | --bui | --bu)
731 ac_prev=build_alias ;;
732 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
733 build_alias=$ac_optarg ;;
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 ;;
743 cache_file=config.cache ;;
745 -datadir | --datadir | --datadi | --datad)
747 -datadir=* | --datadir=* | --datadi=* | --datad=*)
748 datadir=$ac_optarg ;;
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 ;;
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
768 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
769 ac_unrecognized_sep=', ';;
771 eval enable_$ac_useropt=no ;;
773 -docdir | --docdir | --docdi | --doc | --do)
775 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
778 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
780 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
795 ac_unrecognized_sep=', ';;
797 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
808 -gas | --gas | --ga | --g)
809 # Obsolete; use --with-gas.
812 -help | --help | --hel | --he | -h)
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 ;;
819 -host | --host | --hos | --ho)
820 ac_prev=host_alias ;;
821 -host=* | --host=* | --hos=* | --ho=*)
822 host_alias=$ac_optarg ;;
824 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
826 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
828 htmldir=$ac_optarg ;;
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 ;;
837 -infodir | --infodir | --infodi | --infod | --info | --inf)
839 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
840 infodir=$ac_optarg ;;
842 -libdir | --libdir | --libdi | --libd)
844 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
854 -localedir | --localedir | --localedi | --localed | --locale)
856 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
857 localedir=$ac_optarg ;;
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 ;;
866 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
868 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
872 # Obsolete; use --without-fp.
875 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
876 | --no-cr | --no-c | -n)
879 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
880 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
892 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
894 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
928 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
930 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
933 -psdir | --psdir | --psdi | --psd | --ps)
935 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
939 | -silent | --silent | --silen | --sile | --sil)
942 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
944 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
946 sbindir=$ac_optarg ;;
948 -sharedstatedir | --sharedstatedir | --sharedstatedi \
949 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
950 | --sharedst | --shareds | --shared | --share | --shar \
952 ac_prev=sharedstatedir ;;
953 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
954 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
955 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
957 sharedstatedir=$ac_optarg ;;
959 -site | --site | --sit)
961 -site=* | --site=* | --sit=*)
964 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
966 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
981 -v | -verbose | --verbose | --verbos | --verbo | --verb)
984 -version | --version | --versio | --versi | --vers | -V)
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
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
999 ac_unrecognized_sep=', ';;
1001 eval with_$ac_useropt=\$ac_optarg ;;
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
1014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1015 ac_unrecognized_sep=', ';;
1017 eval with_$ac_useropt=no ;;
1020 # Obsolete; use --with-x.
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 ;;
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 ;;
1037 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1038 Try \`$0 --help' for more information"
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'" ;;
1048 eval $ac_envvar=\$ac_optarg
1049 export $ac_envvar ;;
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}"
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"
1067 if test -n "$ac_unrecognized_opts"; then
1068 case $enable_option_checking in
1070 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1071 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
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
1081 eval ac_val=\$$ac_var
1082 # Remove trailing slashes.
1085 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1086 eval $ac_var=\$ac_val;;
1088 # Be sure to have absolute directory names.
1090 [\\/$]* | ?:[\\/]* ) continue;;
1091 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1093 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
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.
1101 target=$target_alias
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
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115 test "$silent" = yes && exec 6>/dev/null
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"
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1158 ac_srcdir_defaulted=no
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"
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1176 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1186 # Report the --help message.
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.
1192 \`configure' configures mediagoblin 0.4.0.dev to adapt to many kinds of systems.
1194 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1199 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1223 For better control, use the options below.
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]
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:";;
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
1262 Some influential environment variables:
1263 PYTHON the Python interpreter
1265 flags to pass to the virtualenv command
1267 the Python-config program
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.
1272 Report bugs to <cwebber@gnu.org>.
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"; } ||
1286 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1302 .) # We are building in place.
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 ;;
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 ;;
1315 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1317 cd "$ac_dir" || { ac_status=$?; continue; }
1318 # Check for guested configure.
1319 if test -f "$ac_srcdir/configure.gnu"; then
1321 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1322 elif test -f "$ac_srcdir/configure"; then
1324 $SHELL "$ac_srcdir/configure" --help=recursive
1326 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1328 cd "$ac_pwd" || { ac_status=$?; break; }
1332 test -n "$ac_init_help" && exit $ac_status
1333 if $ac_init_version; then
1335 mediagoblin configure 0.4.0.dev
1336 generated by GNU Autoconf 2.69
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.
1345 ## ------------------------ ##
1346 ## Autoconf initialization. ##
1347 ## ------------------------ ##
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.
1355 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1356 if { { ac_try="$ac_link"
1358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1359 *) ac_try_echo=$ac_try;;
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
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;;
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
1375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1376 test $ac_status = 0; }; }; then :
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
1383 ac_retval=$ac_status
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
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.
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
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`
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`
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`
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430 test -z "$as_dir" && as_dir=.
1431 $as_echo "PATH: $as_dir"
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.
1455 ac_must_keep_next=false
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)
1466 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1469 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
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.
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 ;;
1484 -* ) ac_must_keep_next=true ;;
1487 as_fn_append ac_configure_args " '$ac_arg'"
1492 { ac_configure_args0=; unset ac_configure_args0;}
1493 { ac_configure_args1=; unset ac_configure_args1;}
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.
1505 $as_echo "## ---------------- ##
1506 ## Cache variables. ##
1507 ## ---------------- ##"
1509 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1520 _ | IFS | as_nl) ;; #(
1521 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1522 *) { eval $ac_var=; unset $ac_var;} ;;
1527 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1528 *${as_nl}ac_space=\ *)
1530 "s/'\''/'\''\\\\'\'''\''/g;
1531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1541 $as_echo "## ----------------- ##
1542 ## Output variables. ##
1543 ## ----------------- ##"
1545 for ac_var in $ac_subst_vars
1547 eval ac_val=\$$ac_var
1549 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1551 $as_echo "$ac_var='\''$ac_val'\''"
1555 if test -n "$ac_subst_files"; then
1556 $as_echo "## ------------------- ##
1557 ## File substitutions. ##
1558 ## ------------------- ##"
1560 for ac_var in $ac_subst_files
1562 eval ac_val=\$$ac_var
1564 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1566 $as_echo "$ac_var='\''$ac_val'\''"
1571 if test -s confdefs.h; then
1572 $as_echo "## ----------- ##
1579 test "$ac_signal" != 0 &&
1580 $as_echo "$as_me: caught signal $ac_signal"
1581 $as_echo "$as_me: exit $exit_status"
1583 rm -f core *.core core.conftest.* &&
1584 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1587 for ac_signal in 1 2 13 15; do
1588 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1592 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1593 rm -f -r conftest* confdefs.h
1595 $as_echo "/* confdefs.h */" > confdefs.h
1597 # Predefined preprocessor variables.
1599 cat >>confdefs.h <<_ACEOF
1600 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1603 cat >>confdefs.h <<_ACEOF
1604 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1607 cat >>confdefs.h <<_ACEOF
1608 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1611 cat >>confdefs.h <<_ACEOF
1612 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1615 cat >>confdefs.h <<_ACEOF
1616 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1619 cat >>confdefs.h <<_ACEOF
1620 @%:@define PACKAGE_URL "$PACKAGE_URL"
1624 # Let the site file select an alternate cache file if it wants to.
1625 # Prefer an explicitly selected file to automatically selected ones.
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;;
1635 elif test "x$prefix" != xNONE; then
1636 ac_site_file1=$prefix/share/config.site
1637 ac_site_file2=$prefix/etc/config.site
1639 ac_site_file1=$ac_default_prefix/share/config.site
1640 ac_site_file2=$ac_default_prefix/etc/config.site
1642 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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; }
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;}
1664 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1665 *) . "./$cache_file";;
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1670 $as_echo "$as_me: creating cache $cache_file" >&6;}
1674 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
1712 # Pass precious variables to config.status.
1713 if test "$ac_new_set" = set; then
1715 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1716 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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
1731 ## -------------------- ##
1732 ## Main body of script. ##
1733 ## -------------------- ##
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
1752 for ac_prog in python3.3 python3.2 python3.1 python3.0 python2.7 \
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
1765 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1792 $as_echo "no" >&6; }
1796 test -n "$PYTHON" && break
1805 for ac_prog in python3.3 python3.2 python3.1 python3.0 python2.7 \
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
1818 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1845 $as_echo "no" >&6; }
1849 test -n "$PYTHON" && break
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
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; }
1867 cat > conftest.$ac_ext <<_ACEOF
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]
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:
1886 if ac_fn_py_try_run "$LINENO"; then :
1887 pc_cv_python_req_version_2_7="yes"
1889 pc_cv_python_req_version_2_7="no"
1891 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1892 conftest.$ac_objext conftest.beam conftest.$ac_ext
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
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; }
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1911 $as_echo "yes" >&6; }
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
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; }
1929 cat > conftest.$ac_ext <<_ACEOF
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]
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:
1948 if ac_fn_py_try_run "$LINENO"; then :
1949 pc_cv_python_req_version_3_3_1="yes"
1951 pc_cv_python_req_version_3_3_1="no"
1953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1954 conftest.$ac_objext conftest.beam conftest.$ac_ext
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
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; }
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1973 $as_echo "yes" >&6; }
1983 # Support installing to a virtualenv via the --with-virtualenv
1986 @%:@ Check whether --with-virtualenv was given.
1987 if test "${with_virtualenv+set}" = set; then :
1988 withval=$with_virtualenv;
1993 if test "x$with_virtualenv" != xno; then :
1994 for ac_prog in virtualenv virtualenv3 virtualenv2
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
2003 if test -n "$VIRTUALENV"; then
2004 ac_cv_prog_VIRTUALENV="$VIRTUALENV" # Let the user override the test.
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2029 $as_echo "no" >&6; }
2033 test -n "$VIRTUALENV" && break
2035 test -n "$VIRTUALENV" || VIRTUALENV="no"
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; }
2053 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2054 if test -f "$ac_dir/install-sh"; then
2056 ac_install_sh="$ac_aux_dir/install-sh -c"
2058 elif test -f "$ac_dir/install.sh"; then
2060 ac_install_sh="$ac_aux_dir/install.sh -c"
2062 elif test -f "$ac_dir/shtool"; then
2064 ac_install_sh="$ac_aux_dir/shtool install -c"
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
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.
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
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
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
2109 test -d ./--version && rmdir ./--version
2110 if test "${ac_cv_path_mkdir+set}" = set; then
2111 MKDIR_P="$ac_cv_path_mkdir -p"
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"
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2121 $as_echo "$MKDIR_P" >&6; }
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
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
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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[\\/]* | \
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
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.
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.
2170 rm -rf conftest.one conftest.two conftest.dir
2171 echo one > conftest.one
2172 echo two > conftest.two
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
2179 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2192 rm -rf conftest.one conftest.two conftest.dir
2195 if test "${ac_cv_path_install+set}" = set; then
2196 INSTALL=$ac_cv_path_install
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
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2206 $as_echo "$INSTALL" >&6; }
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}'
2212 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2214 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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
2238 case $PYTHON_CONFIG in
2240 ac_cv_path_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test with a path.
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2267 $as_echo "no" >&6; }
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
2277 if test -x "$PYTHON_CONFIG"; then
2278 pc_cv_python_prefix=`$PYTHON_CONFIG --prefix 2>&5`
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
2287 if __name__ == '__main__':
2288 sys.exit(sys.prefix)
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
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
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
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
2312 pc_py_prefix=$ac_default_prefix
2314 pc_py_prefix=$prefix
2316 cat > conftest.$ac_ext <<_ACEOF
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>
2326 can_use_sysconfig = False
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')
2336 sitedir = sysconfig.get_path('purelib', vars={'base':'$pc_py_prefix'})
2338 if __name__ == '__main__':
2339 sys.stdout.write(sitedir)
2342 pc_cv_python_site_dir=`$PYTHON conftest.py`
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
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/,,"`
2354 case $pc_py_prefix in
2357 pc_cv_python_site_dir=lib/python$PYTHON_VERSION/site-packages
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
2368 pkgpythondir=\${pythondir}/$PACKAGE
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
2379 if test -x "$PYTHON_CONFIG"; then
2380 pc_cv_python_exec_prefix=`$PYTHON_CONFIG --exec-prefix 2>&5`
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
2389 if __name__ == '__main__':
2390 sys.exit(sys.exec_prefix)
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
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
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
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
2415 pc_py_exec_prefix=$pc_cv_python_prefix
2417 pc_py_exec_prefix=$pc_cv_python_exec_prefix
2419 cat > conftest.$ac_ext <<_ACEOF
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>
2429 can_use_sysconfig = False
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')
2439 sitedir = sysconfig.get_path('purelib', vars={'platbase':'$pc_py_exec_prefix'})
2441 if __name__ == '__main__':
2442 sys.stdout.write(sitedir)
2445 pc_cv_python_exec_dir=`$PYTHON conftest.py`
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/,,"`
2457 case $pc_py_exec_prefix in
2460 pc_cv_python_exec_dir=lib/python$PYTHON_VERSION/site-packages
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
2471 pkgpyexecdir=\${pyexecdir}/$PACKAGE
2500 ac_config_files="$ac_config_files Makefile setup.py"
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.
2509 # config.status only pays attention to the cache file if you give it
2510 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
2533 _ | IFS | as_nl) ;; #(
2534 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2535 *) { eval $ac_var=; unset $ac_var;} ;;
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 \.
2547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2550 # `set' quotes correctly as required by POSIX, so do not add quotes.
2551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2560 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2562 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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"
2572 case $cache_file in #(
2574 mv -f confcache "$cache_file"$$ &&
2575 mv -f "$cache_file"$$ "$cache_file" ;; #(
2577 mv -f confcache "$cache_file" ;;
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;}
2588 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2589 # Let make expand exec_prefix.
2590 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2592 # Transform confdefs.h into DEFS.
2593 # Protect against shell expansion while executing Makefile rules.
2594 # Protect against Makefile macro expansion.
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.
2608 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2610 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2614 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2627 DEFS=`sed -n "$ac_script" confdefs.h`
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'
2642 LIB@&t@OBJS=$ac_libobjs
2644 LTLIBOBJS=$ac_ltlibobjs
2648 : "${CONFIG_STATUS=./config.status}"
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;}
2655 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
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.
2666 SHELL=\${CONFIG_SHELL-$SHELL}
2669 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2670 ## -------------------- ##
2671 ## M4sh Initialization. ##
2672 ## -------------------- ##
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 :
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
2684 case `(set -o) 2>/dev/null` in @%:@(
2686 set -o posix ;; @%:@(
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'
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'
2714 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2715 as_echo_n_body='eval
2719 expr "X$arg" : "X\\(.*\\)$as_nl";
2720 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2722 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2724 export as_echo_n_body
2725 as_echo_n='sh -c $as_echo_n_body as_echo'
2728 as_echo='sh -c $as_echo_body as_echo'
2731 # The user is always right.
2732 if test "${PATH_SEPARATOR+set}" != set; then
2734 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2735 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
2748 # Find who we are. Look in the path if we contain no directory separator.
2751 *[\\/]* ) as_myself=$0 ;;
2752 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
2768 if test ! -f "$as_myself"; then
2769 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
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 || :
2792 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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.
2802 as_status=$1; test $as_status -eq 0 && as_status=1
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
2807 $as_echo "$as_me: error: $2" >&2
2808 as_fn_exit $as_status
2812 @%:@ as_fn_set_status STATUS
2813 @%:@ -----------------------
2814 @%:@ Set @S|@? to STATUS, without forking.
2818 } @%:@ as_fn_set_status
2820 @%:@ as_fn_exit STATUS
2821 @%:@ -----------------
2822 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2830 @%:@ as_fn_unset VAR
2831 @%:@ ---------------
2832 @%:@ Portably unset VAR.
2835 { eval $1=; unset $1;}
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 ()
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 ()
2869 as_val=`expr "$@" || test $? -eq 1`
2874 if expr a : '\(a\)' >/dev/null 2>&1 &&
2875 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2881 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2882 as_basename=basename
2887 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2893 as_me=`$as_basename -- "$0" ||
2894 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2895 X"$0" : 'X\(//\)$' \| \
2896 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2898 sed '/^.*\/\([^/][^/]*\)\/*$/{
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
2919 ECHO_C= ECHO_N= ECHO_T=
2920 case `echo -n x` in @%:@(((((
2922 case `echo 'xy\c'` in
2923 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2925 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2932 rm -f conf$$ conf$$.exe conf$$.file
2933 if test -d conf$$.dir; then
2934 rm -f conf$$.dir/conf$$.file
2937 mkdir conf$$.dir 2>/dev/null
2939 if (echo >conf$$.file) 2>/dev/null; then
2940 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
2948 elif ln conf$$.file conf$$ 2>/dev/null; then
2956 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2957 rmdir conf$$.dir 2>/dev/null
2962 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
2967 -*) as_dir=./$as_dir;;
2969 test -d "$as_dir" || eval $as_mkdir_p || {
2973 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2974 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3000 test -d "$as_dir" && break
3002 test -z "$as_dirs" || eval "mkdir $as_dirs"
3003 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3006 } @%:@ as_fn_mkdir_p
3007 if mkdir -p . 2>/dev/null; then
3008 as_mkdir_p='mkdir -p "$as_dir"'
3010 test -d ./-p && rmdir ./-p
3015 @%:@ as_fn_executable_p FILE
3016 @%:@ -----------------------
3017 @%:@ Test if FILE is an executable regular file.
3018 as_fn_executable_p ()
3020 test -f "$1" && test -x "$1"
3021 } @%:@ as_fn_executable_p
3023 as_executable_p=as_fn_executable_p
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'"
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'"
3033 ## ----------------------------------- ##
3034 ## Main body of $CONFIG_STATUS script. ##
3035 ## ----------------------------------- ##
3037 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
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.
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
3047 CONFIG_FILES = $CONFIG_FILES
3048 CONFIG_HEADERS = $CONFIG_HEADERS
3049 CONFIG_LINKS = $CONFIG_LINKS
3050 CONFIG_COMMANDS = $CONFIG_COMMANDS
3053 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3058 case $ac_config_files in *"
3059 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3065 # Files that config.status was made for.
3066 config_files="$ac_config_files"
3070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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.
3076 Usage: $0 [OPTION]... [TAG]...
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
3088 Configuration files:
3091 Report bugs to <cwebber@gnu.org>."
3094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3095 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3097 mediagoblin config.status 0.4.0.dev
3098 configured by $0, generated by GNU Autoconf 2.69,
3099 with options \\"\$ac_cs_config\\"
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."
3109 test -n "\$AWK" || AWK=awk
3112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3113 # The default lists apply if the user does not specify any file.
3119 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3120 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3124 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3136 # Handling of the options.
3137 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
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 )
3145 --file | --fil | --fi | --f )
3148 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3149 '') as_fn_error $? "missing file argument" ;;
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)
3160 -*) as_fn_error $? "unrecognized option: \`$1'
3161 Try \`$0 --help' for more information." ;;
3163 *) as_fn_append ac_config_targets " $1"
3164 ac_need_defaults=false ;;
3170 ac_configure_extra_args=
3172 if $ac_cs_silent; then
3174 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
3182 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3183 CONFIG_SHELL='$SHELL'
3189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3193 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
3194 @%:@@%:@ Running $as_me. @%:@@%:@
3200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3205 # Handling of arguments.
3206 for ac_config_target in $ac_config_targets
3208 case $ac_config_target in
3209 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3210 "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;;
3212 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
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
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'.
3234 trap 'exit_status=$?
3236 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3238 trap 'as_fn_exit 1' 1 2 13 15
3240 # Create a (secure) tmp directory for tmp files.
3243 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3247 tmp=./conf$$-$RANDOM
3248 (umask 077 && mkdir "$tmp")
3249 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
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
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\'
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
3272 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3277 echo "cat >conf$$subs.awk <<_ACEOF" &&
3278 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3282 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
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
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
3291 elif $ac_last_try; then
3292 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3300 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3304 s/^/S["/; s/!.*/"]=/
3314 s/\(.\{148\}\)..*/\1/
3316 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3321 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3328 s/\(.\{148\}\)..*/\1/
3330 s/["\\]/\\&/g; s/^/"/; s/$/"/
3334 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3339 ' <conf$$subs.awk | sed '
3344 ' >>$CONFIG_STATUS || ac_write_fail=1
3345 rm -f conf$$subs.awk
3346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3348 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3349 for (key in S) S_is_set[key] = 1
3355 nfields = split(line, field, "@")
3357 len = length(field[1])
3358 for (i = 2; i < nfields; i++) {
3360 keylen = length(key)
3361 if (S_is_set[key]) {
3363 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3364 len += length(value) + length(field[++i])
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"
3380 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3381 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
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[ ]*=[ ]*/{
3407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3408 fi # test -n "$CONFIG_FILES"
3411 eval set X " :F $CONFIG_FILES "
3416 :[FHLC]) ac_mode=$ac_tag; continue;;
3418 case $ac_mode$ac_tag in
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;;
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 `:'.
3446 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3448 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3450 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3451 as_fn_append ac_file_inputs " '$ac_f'"
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'
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;}
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;;
3474 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3503 as_dir="$ac_dir"; as_fn_mkdir_p
3507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
3523 .) # We are building in place.
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 ;;
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 ;;
3536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3546 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3547 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3551 [\\/$]* | ?:[\\/]* ) ;;
3552 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
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=
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;}
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' ;;
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
3594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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
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;}
3623 rm -f "$ac_tmp/stdin"
3625 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3626 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3640 ac_clean_files=$ac_clean_files_save
3642 test $ac_write_fail = 0 ||
3643 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
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
3656 ac_config_status_args=
3657 test "$silent" = yes &&
3658 ac_config_status_args="$ac_config_status_args --quiet"
3660 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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
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;}