#! /bin/bash # Generated by configure. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=${CONFIG_SHELL-/bin/bash} ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by python $as_me 2.6, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " # Files that config.status was made for. config_files=" Makefile.pre Modules/Setup.config" config_headers=" pyconfig.h" ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Report bugs to ." ac_cs_version="\ python config.status 2.6 configured by ./configure, generated by GNU Autoconf 2.63, with options \"'arm-linux' '--target=arm-linux' '--prefix=/home/damonkohler/Python-2.6.2/android' '--host=linux' 'build_alias=arm-linux' 'host_alias=linux' 'target_alias=arm-linux' 'CC=agcc'\" Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='/home/damonkohler/Python-2.6.2' srcdir='.' INSTALL='/usr/bin/install -c' test -n "$AWK" || AWK=awk # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { $as_echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { $as_echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi if $ac_cs_recheck; then set X '/bin/bash' './configure' 'arm-linux' '--target=arm-linux' '--prefix=/home/damonkohler/Python-2.6.2/android' '--host=linux' 'build_alias=arm-linux' 'host_alias=linux' 'target_alias=arm-linux' 'CC=agcc' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 CONFIG_SHELL='/bin/bash' export CONFIG_SHELL exec "$@" fi exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "pyconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS pyconfig.h" ;; "Mac/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/Makefile" ;; "Mac/PythonLauncher/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/PythonLauncher/Makefile" ;; "Mac/IDLE/Makefile") CONFIG_FILES="$CONFIG_FILES Mac/IDLE/Makefile" ;; "Mac/Resources/framework/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/framework/Info.plist" ;; "Mac/Resources/app/Info.plist") CONFIG_FILES="$CONFIG_FILES Mac/Resources/app/Info.plist" ;; "Makefile.pre") CONFIG_FILES="$CONFIG_FILES Makefile.pre" ;; "Modules/Setup.config") CONFIG_FILES="$CONFIG_FILES Modules/Setup.config" ;; *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { $as_echo "$as_me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$tmp/subs1.awk" && cat >>"$tmp/subs1.awk" <<\_ACAWK && S["LTLIBOBJS"]="" S["SRCDIRS"]="Parser Grammar Objects Python Modules Mac" S["THREADHEADERS"]=" $(srcdir)/Python/thread_atheos.h $(srcdir)/Python/thread_beos.h $(srcdir)/Python/thread_cthread.h $(srcdir)/Python/thread_foobar.h $(srcdir)/Python"\ "/thread_lwp.h $(srcdir)/Python/thread_nt.h $(srcdir)/Python/thread_os2.h $(srcdir)/Python/thread_pth.h $(srcdir)/Python/thread_pthread.h $(srcdir)/P"\ "ython/thread_sgi.h $(srcdir)/Python/thread_solaris.h $(srcdir)/Python/thread_wince.h" S["UNICODE_OBJS"]="Objects/unicodeobject.o Objects/unicodectype.o" S["LIBC"]="" S["LIBM"]="-lm" S["HAVE_GETHOSTBYNAME"]="" S["HAVE_GETHOSTBYNAME_R"]="" S["HAVE_GETHOSTBYNAME_R_3_ARG"]="" S["HAVE_GETHOSTBYNAME_R_5_ARG"]="" S["HAVE_GETHOSTBYNAME_R_6_ARG"]="" S["LIBOBJS"]="" S["TRUE"]="true" S["MACHDEP_OBJS"]="" S["DYNLOADFILE"]="dynload_shlib.o" S["DLINCLDIR"]="." S["THREADOBJ"]="Python/thread.o" S["LDLAST"]="" S["USE_THREAD_MODULE"]="" S["SIGNAL_OBJS"]="" S["USE_SIGNAL_MODULE"]="" S["SHLIBS"]="$(LIBS)" S["CFLAGSFORSHARED"]="" S["LINKFORSHARED"]="-Xlinker -export-dynamic" S["CCSHARED"]="-fPIC" S["BLDSHARED"]="$(CC) -shared" S["LDSHARED"]="$(CC) -shared" S["SO"]=".so" S["LIBTOOL_CRUFT"]="" S["OTHER_LIBTOOL_OPT"]="" S["UNIVERSAL_ARCH_FLAGS"]="" S["BASECFLAGS"]="" S["OPT"]="-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes" S["LN"]="ln" S["INSTALL_DATA"]="${INSTALL} -m 644" S["INSTALL_SCRIPT"]="${INSTALL}" S["INSTALL_PROGRAM"]="${INSTALL}" S["SVNVERSION"]="svnversion $(srcdir)" S["AR"]="arm-eabi-ar" S["RANLIB"]="arm-eabi-ranlib" S["LINKCC"]="$(PURIFY) $(MAINCC)" S["RUNSHARED"]="" S["INSTSONAME"]="$(LDLIBRARY)" S["LDLIBRARYDIR"]="" S["BLDLIBRARY"]="$(LDLIBRARY)" S["DLLLIBRARY"]="" S["LDLIBRARY"]="libpython$(VERSION).a" S["LIBRARY"]="libpython$(VERSION).a" S["BUILDEXEEXT"]="" S["EGREP"]="/bin/grep -E" S["GREP"]="/bin/grep" S["CPP"]="agcc -E" S["MAINCC"]="$(CC)" S["CXX"]="agcc" S["OBJEXT"]="o" S["EXEEXT"]="" S["ac_ct_CC"]="" S["CPPFLAGS"]="" S["LDFLAGS"]="" S["CFLAGS"]="-g -O2" S["CC"]="agcc" S["EXPORT_MACOSX_DEPLOYMENT_TARGET"]="#" S["CONFIGURE_MACOSX_DEPLOYMENT_TARGET"]="" S["EXTRAMACHDEPPATH"]="" S["EXTRAPLATDIR"]="" S["SGI_ABI"]="" S["MACHDEP"]="linux2" S["FRAMEWORKUNIXTOOLSPREFIX"]="/home/damonkohler/Python-2.6.2/android" S["FRAMEWORKALTINSTALLLAST"]="" S["FRAMEWORKALTINSTALLFIRST"]="" S["FRAMEWORKINSTALLLAST"]="" S["FRAMEWORKINSTALLFIRST"]="" S["PYTHONFRAMEWORKINSTALLDIR"]="" S["PYTHONFRAMEWORKPREFIX"]="" S["PYTHONFRAMEWORKDIR"]="no-framework" S["PYTHONFRAMEWORKIDENTIFIER"]="org.python.python" S["PYTHONFRAMEWORK"]="" S["ARCH_RUN_32BIT"]="" S["UNIVERSALSDK"]="" S["CONFIG_ARGS"]=" 'arm-linux' '--target=arm-linux' '--prefix=/home/damonkohler/Python-2.6.2/android' '--host=linux' 'build_alias=arm-linux' 'host_alias=linux' 'targe"\ "t_alias=arm-linux' 'CC=agcc'" S["SOVERSION"]="1.0" S["VERSION"]="2.6" S["target_alias"]="arm-linux" S["host_alias"]="linux" S["build_alias"]="arm-linux" S["LIBS"]="-ldl " S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" S["DEFS"]="-DHAVE_CONFIG_H" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" S["libdir"]="${exec_prefix}/lib" S["psdir"]="${docdir}" S["pdfdir"]="${docdir}" S["dvidir"]="${docdir}" S["htmldir"]="${docdir}" S["infodir"]="${datarootdir}/info" S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" S["oldincludedir"]="/usr/include" S["includedir"]="${prefix}/include" S["localstatedir"]="${prefix}/var" S["sharedstatedir"]="${prefix}/com" S["sysconfdir"]="${prefix}/etc" S["datadir"]="${datarootdir}" S["datarootdir"]="${prefix}/share" S["libexecdir"]="${exec_prefix}/libexec" S["sbindir"]="${exec_prefix}/sbin" S["bindir"]="${exec_prefix}/bin" S["program_transform_name"]="s,x,x," S["prefix"]="/home/damonkohler/Python-2.6.2/android" S["exec_prefix"]="${prefix}" S["PACKAGE_BUGREPORT"]="http://www.python.org/python-bugs" S["PACKAGE_STRING"]="python 2.6" S["PACKAGE_VERSION"]="2.6" S["PACKAGE_TARNAME"]="python" S["PACKAGE_NAME"]="python" S["PATH_SEPARATOR"]=":" S["SHELL"]="/bin/bash" _ACAWK cat >>"$tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 $as_echo "$as_me: error: could not setup config files machinery" >&2;} { (exit 1); exit 1; }; } fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$tmp/defines.awk" <<\_ACAWK || BEGIN { D["_GNU_SOURCE"]=" 1" D["_NETBSD_SOURCE"]=" 1" D["__BSD_VISIBLE"]=" 1" D["_BSD_TYPES"]=" 1" D["_DARWIN_C_SOURCE"]=" 1" D["_XOPEN_SOURCE"]=" 600" D["_XOPEN_SOURCE_EXTENDED"]=" 1" D["_POSIX_C_SOURCE"]=" 200112L" D["STDC_HEADERS"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_STRING_H"]=" 1" D["HAVE_MEMORY_H"]=" 1" D["HAVE_STRINGS_H"]=" 1" D["HAVE_INTTYPES_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["__EXTENSIONS__"]=" 1" D["_ALL_SOURCE"]=" 1" D["_GNU_SOURCE"]=" 1" D["_POSIX_PTHREAD_SEMANTICS"]=" 1" D["_TANDEM_SOURCE"]=" 1" D["HAVE_ATTRIBUTE_FORMAT_PARSETUPLE"]=" 1" D["STDC_HEADERS"]=" 1" D["HAVE_ASM_TYPES_H"]=" 1" D["HAVE_DLFCN_H"]=" 1" D["HAVE_ERRNO_H"]=" 1" D["HAVE_FCNTL_H"]=" 1" D["HAVE_GRP_H"]=" 1" D["HAVE_POLL_H"]=" 1" D["HAVE_PTHREAD_H"]=" 1" D["HAVE_SIGNAL_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_TERMIOS_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["HAVE_UTIME_H"]=" 1" D["HAVE_SYS_EPOLL_H"]=" 1" D["HAVE_SYS_FILE_H"]=" 1" D["HAVE_SYS_PARAM_H"]=" 1" D["HAVE_SYS_POLL_H"]=" 1" D["HAVE_SYS_SELECT_H"]=" 1" D["HAVE_SYS_SOCKET_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_SYS_TIME_H"]=" 1" D["HAVE_SYS_TIMES_H"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_UN_H"]=" 1" D["HAVE_SYS_UTSNAME_H"]=" 1" D["HAVE_SYS_WAIT_H"]=" 1" D["HAVE_SYS_RESOURCE_H"]=" 1" D["HAVE_NETPACKET_PACKET_H"]=" 1" D["HAVE_LINUX_TIPC_H"]=" 1" D["HAVE_DIRENT_H"]=" 1" D["HAVE_LINUX_NETLINK_H"]=" 1" D["HAVE_MAKEDEV"]=" 1" D["_LARGEFILE_SOURCE"]=" 1" D["_FILE_OFFSET_BITS"]=" 64" D["RETSIGTYPE"]=" void" D["HAVE_SSIZE_T"]=" 1" D["SIZEOF_INT"]=" 4" D["SIZEOF_LONG"]=" 4" D["SIZEOF_VOID_P"]=" 4" D["SIZEOF_SHORT"]=" 2" D["SIZEOF_FLOAT"]=" 4" D["SIZEOF_DOUBLE"]=" 8" D["SIZEOF_FPOS_T"]=" 4" D["SIZEOF_SIZE_T"]=" 4" D["SIZEOF_PID_T"]=" 4" D["HAVE_LONG_LONG"]=" 1" D["SIZEOF_LONG_LONG"]=" 8" D["HAVE_LONG_DOUBLE"]=" 1" D["SIZEOF_LONG_DOUBLE"]=" 8" D["HAVE_C99_BOOL"]=" 1" D["SIZEOF__BOOL"]=" 1" D["HAVE_UINTPTR_T"]=" 1" D["SIZEOF_UINTPTR_T"]=" 4" D["SIZEOF_OFF_T"]=" 4" D["SIZEOF_TIME_T"]=" 4" D["SIZEOF_PTHREAD_T"]=" 4" D["SHLIB_EXT"]=" \".so\"" D["HAVE_LIBDL"]=" 1" D["_REENTRANT"]=" 1" D["WITH_THREAD"]=" 1" D["_POSIX_THREADS"]=" 1" D["HAVE_PTHREAD_SIGMASK"]=" 1" D["WITH_DOC_STRINGS"]=" 1" D["WITH_PYMALLOC"]=" 1" D["HAVE_DLOPEN"]=" 1" D["HAVE_DYNAMIC_LOADING"]=" 1" D["HAVE_ALARM"]=" 1" D["HAVE_SETITIMER"]=" 1" D["HAVE_GETITIMER"]=" 1" D["HAVE_CHOWN"]=" 1" D["HAVE_CLOCK"]=" 1" D["HAVE_EXECV"]=" 1" D["HAVE_FCHMOD"]=" 1" D["HAVE_FCHOWN"]=" 1" D["HAVE_FORK"]=" 1" D["HAVE_FPATHCONF"]=" 1" D["HAVE_FTIME"]=" 1" D["HAVE_FTRUNCATE"]=" 1" D["HAVE_GAI_STRERROR"]=" 1" D["HAVE_GETGROUPS"]=" 1" D["HAVE_GETLOGIN"]=" 1" D["HAVE_GETPEERNAME"]=" 1" D["HAVE_GETPGID"]=" 1" D["HAVE_GETPID"]=" 1" D["HAVE_GETPRIORITY"]=" 1" D["HAVE_KILL"]=" 1" D["HAVE_LCHOWN"]=" 1" D["HAVE_LSTAT"]=" 1" D["HAVE_MKNOD"]=" 1" D["HAVE_MKTIME"]=" 1" D["HAVE_MREMAP"]=" 1" D["HAVE_NICE"]=" 1" D["HAVE_PATHCONF"]=" 1" D["HAVE_PAUSE"]=" 1" D["HAVE_POLL"]=" 1" D["HAVE_PUTENV"]=" 1" D["HAVE_READLINK"]=" 1" D["HAVE_REALPATH"]=" 1" D["HAVE_SELECT"]=" 1" D["HAVE_SETEGID"]=" 1" D["HAVE_SETEUID"]=" 1" D["HAVE_SETGID"]=" 1" D["HAVE_SETLOCALE"]=" 1" D["HAVE_SETREGID"]=" 1" D["HAVE_SETREUID"]=" 1" D["HAVE_SETSID"]=" 1" D["HAVE_SETPGID"]=" 1" D["HAVE_SETPGRP"]=" 1" D["HAVE_SETUID"]=" 1" D["HAVE_SETVBUF"]=" 1" D["HAVE_SNPRINTF"]=" 1" D["HAVE_SIGACTION"]=" 1" D["HAVE_SIGINTERRUPT"]=" 1" D["HAVE_STRFTIME"]=" 1" D["HAVE_SYSCONF"]=" 1" D["HAVE_TCGETPGRP"]=" 1" D["HAVE_TCSETPGRP"]=" 1" D["HAVE_TEMPNAM"]=" 1" D["HAVE_TIMES"]=" 1" D["HAVE_TMPFILE"]=" 1" D["HAVE_TMPNAM"]=" 1" D["HAVE_TRUNCATE"]=" 1" D["HAVE_UNAME"]=" 1" D["HAVE_UNSETENV"]=" 1" D["HAVE_UTIMES"]=" 1" D["HAVE_WAITPID"]=" 1" D["HAVE_WAIT3"]=" 1" D["HAVE_WCSCOLL"]=" 1" D["HAVE_CHROOT"]=" 1" D["HAVE_LINK"]=" 1" D["HAVE_SYMLINK"]=" 1" D["HAVE_FCHDIR"]=" 1" D["HAVE_FSYNC"]=" 1" D["HAVE_FDATASYNC"]=" 1" D["HAVE_EPOLL"]=" 1" D["HAVE_FLOCK"]=" 1" D["HAVE_GETPAGESIZE"]=" 1" D["HAVE_ZLIB_COPY"]=" 1" D["HAVE_HSTRERROR"]=" 1" D["HAVE_INET_ATON"]=" 1" D["HAVE_INET_PTON"]=" 1" D["HAVE_SETGROUPS"]=" 1" D["HAVE_MEMMOVE"]=" 1" D["HAVE_FSEEKO"]=" 1" D["HAVE_FTELLO"]=" 1" D["HAVE_DUP2"]=" 1" D["HAVE_GETCWD"]=" 1" D["HAVE_STRDUP"]=" 1" D["HAVE_GETPGRP"]=" 1" D["HAVE_SETPGRP"]=" 1" D["HAVE_GETTIMEOFDAY"]=" 1" D["HAVE_DEVICE_MACROS"]=" 1" D["HAVE_GETNAMEINFO"]=" 1" D["TIME_WITH_SYS_TIME"]=" 1" D["HAVE_STRUCT_TM_TM_ZONE"]=" 1" D["HAVE_TM_ZONE"]=" 1" D["HAVE_STRUCT_STAT_ST_RDEV"]=" 1" D["HAVE_STRUCT_STAT_ST_BLKSIZE"]=" 1" D["HAVE_STRUCT_STAT_ST_BLOCKS"]=" 1" D["HAVE_ST_BLOCKS"]=" 1" D["SYS_SELECT_WITH_SYS_TIME"]=" 1" D["HAVE_ADDRINFO"]=" 1" D["HAVE_SOCKADDR_STORAGE"]=" 1" D["HAVE_PROTOTYPES"]=" 1" D["HAVE_STDARG_PROTOTYPES"]=" 1" D["HAVE_SOCKETPAIR"]=" 1" D["HAVE_GETHOSTBYNAME_R"]=" 1" D["HAVE_GETHOSTBYNAME_R"]=" 1" D["HAVE_GETHOSTBYNAME_R_6_ARG"]=" 1" D["HAVE_ACOSH"]=" 1" D["HAVE_ASINH"]=" 1" D["HAVE_ATANH"]=" 1" D["HAVE_COPYSIGN"]=" 1" D["HAVE_EXPM1"]=" 1" D["HAVE_FINITE"]=" 1" D["HAVE_HYPOT"]=" 1" D["HAVE_ISNAN"]=" 1" D["HAVE_LOG1P"]=" 1" D["HAVE_WCHAR_H"]=" 1" D["SIZEOF_WCHAR_T"]=" 1" D["Py_UNICODE_SIZE"]=" 2" D["Py_USING_UNICODE"]=" 1" D["PY_UNICODE_TYPE"]=" unsigned short" D["HAVE_GETC_UNLOCKED"]=" 1" D["HAVE_STRUCT_TM_TM_ZONE"]=" 1" D["HAVE_TM_ZONE"]=" 1" D["HAVE_DEV_PTMX"]=" 1" for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { line = $ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} { (exit 1); exit 1; }; } fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} ac_datarootdir_hack=' s&@datadir@&${datarootdir}&g s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g s&@infodir@&${datarootdir}/info&g s&@localedir@&${datarootdir}/locale&g s&@mandir@&${datarootdir}/man&g s&\${datarootdir}&${prefix}/share&g' ;; esac ac_sed_extra="/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// } :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 $as_echo "$as_me: error: could not create $ac_file" >&2;} { (exit 1); exit 1; }; } fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 $as_echo "$as_me: error: could not create -" >&2;} { (exit 1); exit 1; }; } fi ;; esac done # for ac_tag { (exit 0); exit 0; }