configure revision 9509569d873051b47d1cf38acd2ce6963115f289
224N/A# Guess values for system-dependent variables and create Makefiles. 224N/A# Generated by GNU Autoconf 2.69. 224N/A# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 224N/A# This configure script is free software; the Free Software Foundation 224N/A# gives unlimited permission to copy, distribute and modify it. 224N/A## -------------------- ## 224N/A## M4sh Initialization. ## 224N/A## -------------------- ## 224N/A# Be more Bourne compatible 224N/A # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 844N/A # is contrary to our usage. Disable this feature. 224N/A alias -g
'${1+"$@"}'=
'"$@"' 224N/Aas_echo=
'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 224N/Aas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 224N/Aas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 224N/A# Prefer a ksh shell builtin over an external printf program on Solaris, 224N/A# but without wasting forks for bash or zsh. 224N/Aif test -z "$BASH_VERSION$ZSH_VERSION" \ 224N/A && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 224N/Aelif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 224N/A as_echo_body='eval expr "X$1" :
"X\\(.*\\)"' 224N/A# The user is always right. 224N/Aif test "${PATH_SEPARATOR+set}" != set; then 224N/A# We need space, tab and new line, in precisely that order. Quoting is 224N/A# there to prevent editors from complaining about space-tab. 224N/A# (If _AS_PATH_WALK were called with IFS unset, it would disable word 224N/A# splitting by setting IFS to empty value.) 224N/A# Find who we are. Look in the path if we contain no directory separator. 224N/A *[\\/]* ) as_myself=$0 ;; 224N/A *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224N/A test -z "$as_dir" && as_dir=. 224N/A test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 224N/A# We did not find ourselves, most probably we were run as `sh COMMAND' 224N/A# in which case we are not to be found in the path. 224N/A# Unset variables that we do not need and which cause bugs (e.g. in 224N/A# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 224N/A# suppresses any "Segmentation fault" message there. '((' could 224N/A# trigger a bug in pdksh 5.2.14. 224N/A# Use a proper internal environment variable to ensure we don't fall 224N/A # into an infinite loop, continuously re-executing ourselves. 224N/A # We cannot yet assume a decent shell, so we have to provide a 224N/A# neutralization value for shells without unset; and this also 224N/A# works around shells that cannot unset nonexistent variables. 224N/A# Preserve -v and -x to the replacement shell. 224N/A# Admittedly, this is quite paranoid, since all the known shells bail 224N/A# out after a failed `exec'. 224N/A # We don't want this to propagate to other subprocesses. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' case \`(set -o) 2>/dev/null\` in #( as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : exitcode=1; echo positional parameters were not saved. test x\$exitcode = x0 || exit 1 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" # Try only shells that exist, to save several forks. # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." $as_echo "$0: be upgraded to zsh 4.3.4 or later." $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." # Unset more variables known to interfere with behavior of common tools. ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. # Create "$as_dir" as a directory, including parents if necessary. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. test -f "$1" && test -x "$1" # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/
dev/
null;
then :
# Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/
dev/
null;
then :
# as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. test "X`expr 00001 : '.*\(...\)'`" =
X001;
then $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || sed '/^.*\/\([^/][^/]*\)\/*$/{ # Avoid depending upon Character Ranges. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. # 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). # Exit status is that of the last command. case `echo -n x` in #((((( *c*)
ECHO_T=
' ';;
# ECHO_T is single tab character. # ... 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 -pR'. test -d ./-p &&
rmdir ./-p
# Sed expression to map a string onto a valid CPP name. # Sed expression to map a string onto a valid variable name. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # Identity of this package. # Initialize some variables set by options. # The variables have the same names as the options, with # dashes changed to underlines. # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) docdir=
'${datarootdir}/doc/${PACKAGE}' # If the previous option needs an argument, assign it. # Accept the important Cygnus configure options, so we can diagnose typos. # Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names. | --
exec-
pref | --
exec-
pre | --
exec-
pr | --
exec-p | --
exec- \
| --
exec-
pref=* | --
exec-
pre=* | --
exec-
pr=* | --
exec-p=* | --
exec-=* \
| --
exec=* | --
exe=* | --
ex=*)
# Obsolete; use --with-gas. # Obsolete; use --without-fp. # Reject names that are not valid shell variable names. # Reject names that are not valid shell variable names. # Obsolete; use --with-x. | --x-
incl=* | --x-
inc=* | --x-
in=* | --x-i=*)
Try \`$0 --help' for more information" # Reject names that are not valid shell variable names. # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&
2 # Check all directory arguments for consistency. # Remove trailing slashes. # Be sure to have absolute directory names. [\\/$]* | ?:[\\/]* )
continue;;
# There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. # FIXME: To remove some day. as_fn_error $?
"working directory cannot be determined" as_fn_error $?
"pwd does not report name of working directory" # Find the source files, if location was not specified. # Try the directory containing this script, then the parent directory. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ # When building in place, set srcdir=. # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. # Report the --help message. # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. \`configure' configures this package to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] Report bugs to the package provider. if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || .) 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/ ;; ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix .) # We are building in place. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_abs_top_srcdir=$srcdir ;; 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 ;; ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 cd "$ac_pwd" || { ac_status=$?; break; } test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || } && test -s conftest.$ac_objext; then : $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # interfere with the next link command; also delete a directory that is # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.69. Invocation command line was hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. # Save into config.log some information that might help in debugging. $as_echo "## ---------------- ## # The following way of writing the cache mishandles newlines in values, for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( "s/'\''/'\''\\\\'\'''\''/g; *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; ## File substitutions. ## ## ------------------- ##" *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; for ac_signal in 1 2 13 15; do # confdefs.h avoids OS command line length limits that DEFS can exceed. # Predefined preprocessor variables. #define PACKAGE_NAME "$PACKAGE_NAME" #define PACKAGE_TARNAME "$PACKAGE_TARNAME" #define PACKAGE_VERSION "$PACKAGE_VERSION" #define PACKAGE_STRING "$PACKAGE_STRING" #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" #define PACKAGE_URL "$PACKAGE_URL" # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; elif test "x$prefix" != xNONE; then for ac_site_file in "$ac_site_file1" "$ac_site_file2" test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 as_fn_error $? "failed to load site script $ac_site_file # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. # Check that the precious variables saved in the cache have kept the same eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value # differences in whitespace do not lead to failure. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ## -------------------- ## ## Main body of script. ## ## -------------------- ## # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 if ${ac_cv_prog_CC+:} false; then : ac_cv_prog_CC="$CC" # Let the user override the test. # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 if ${ac_cv_prog_ac_ct_CC+:} false; then : ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. ac_cv_prog_ac_ct_CC="gcc" # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 if ${ac_cv_prog_CC+:} false; then : ac_cv_prog_CC="$CC" # Let the user override the test. # Extract the first word of "cc", so it can be a program name with args. if ${ac_cv_prog_CC+:} false; then : ac_cv_prog_CC="$CC" # Let the user override the test. # We found a bogon in the path, so make sure we never use it. # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. if ${ac_cv_prog_CC+:} false; then : ac_cv_prog_CC="$CC" # Let the user override the test. # Extract the first word of "$ac_prog", so it can be a program name with args. if ${ac_cv_prog_ac_ct_CC+:} false; then : ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 ac_clean_files_save=$ac_clean_files # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; if { { ac_try="$ac_link_default" *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # We found the default executable, but exeext='' is most # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of $as_echo_n "checking for C compiler default output file name... " >&6; } $as_echo_n "checking for suffix of executables... " >&6; } # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will as_fn_error $? "cannot compute suffix of executables: cannot compile and link FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. $as_echo_n "checking whether we are cross compiling... " >&6; } if { ac_try='./conftest$ac_cv_exeext' If you meant to cross compile, use \`--host'. $as_echo_n "checking for suffix of object files... " >&6; } as_fn_error $? "cannot compute suffix of object files: cannot compile $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *f (char * (*g) (char **, int), char **p, ...) s = g (p, va_arg (v,int)); /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ $as_echo_n "checking for clock_gettime in -lrt... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ as_fn_error $? "cannot run test program while cross compiling # We don't want to set -lpthread as that break # the ability to choose threads library at final # link time and is not valid for all architectures. if test "X$GCC" = "Xyes"; then $as_echo_n "checking for gcc -pthread support... " >&6; }; printf("%x\n", pthread_create); $as_echo_n "checking for pthread_create in -lpthread... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ return pthread_create (); #define HAVE_LIBPTHREAD 1 $as_echo_n "checking for thread_create in -lthr... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ $as_echo_n "checking for pthread_create in -lc_r... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ return pthread_create (); $as_echo_n "checking for pthread_create in -lc... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ return pthread_create (); $as_echo_n "checking for pthread_create in -lpthread... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ return pthread_create (); #define HAVE_LIBPTHREAD 1 $as_echo_n "checking for __pthread_create in -lpthread... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ char __pthread_create (); return __pthread_create (); #define HAVE_LIBPTHREAD 1 $as_echo_n "checking for __pthread_create_system in -lpthread... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ char __pthread_create_system (); return __pthread_create_system (); #define HAVE_LIBPTHREAD 1 $as_echo_n "checking for pthread_create in -lc_r... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ return pthread_create (); $as_echo_n "checking for pthread_create in -lc... " >&6; } /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ return pthread_create (); # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do case $as_nl`(ac_space=' '; set) 2>&1` in #( # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. # `set' quotes correctly as required by POSIX, so do not add quotes. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ # Let make expand exec_prefix. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g # 1. Remove the extension, and $U if already installed. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. SHELL=\${CONFIG_SHELL-$SHELL} ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' 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 # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo_body='eval expr "X$1" : "X\\(.*\\)"' # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # 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.) # Find who we are. Look in the path if we contain no directory separator. *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break # 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. # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : test "X`expr 00001 : '.*\(...\)'`" = X001; then $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || sed '/^.*\/\([^/][^/]*\)\/*$/{ # Avoid depending upon Character Ranges. case `echo -n x` in #((((( *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null # ... 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 -pR'. # Create "$as_dir" as a directory, including parents if necessary. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ test -d ./-p && rmdir ./-p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. test -f "$1" && test -x "$1" # Sed expression to map a string onto a valid CPP name. # Sed expression to map a string onto a valid variable name. ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## # 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. This file was extended by $as_me, which was generated by GNU Autoconf 2.69. Invocation command line was # Files that config.status was made for. config_files="$ac_config_files" \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions instantiate the configuration file FILE Report bugs to the package provider." ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." test -n "\$AWK" || AWK=awk # The default lists apply if the user does not specify any file. # Handling of the options. Try \`$0 --help' for more information." ;; set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX # 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. # 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'. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status trap 'as_fn_exit 1' 1 2 13 15 # Create a (secure) tmp directory for tmp files. # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. echo "cat >conf$$subs.awk <<_ACEOF" && cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ s/["\\]/\\&/g; s/^/"/; s/$/"\\/ s/["\\]/\\&/g; s/^/"/; s/$/"/ s/["\\]/\\&/g; s/^/"/; s/$/"\\/ cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 nfields = split(line, field, "@") for (i = 2; i < nfields; i++) { line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). fi # test -n "$CONFIG_FILES" *) # 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 `:'. # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' # Neutralize special characters interpreted by sed in replacement strings. sed 's/[\\\\&|]/\\\\&/g'`;; #( sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ # A ".." for each directory in $ac_dir_suffix. # for backward compatibility: .) # We are building in place. [\\/]* | ?:[\\/]* ) # Absolute name. # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. s&@localedir@&$localedir&g s&\\\${datarootdir}&$datarootdir&g' ;; # Neutralize VPATH when `$srcdir' = `.'. # FIXME: do we really want to maintain this feature? { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 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' # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction.