331 kx #! /bin/sh
331 kx # Guess values for system-dependent variables and create Makefiles.
331 kx # Generated by GNU Autoconf 2.71 for avahi 0.8.
331 kx #
331 kx # Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>.
331 kx #
331 kx #
331 kx # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
331 kx # Inc.
331 kx #
331 kx #
331 kx # This configure script is free software; the Free Software Foundation
331 kx # gives unlimited permission to copy, distribute and modify it.
331 kx ## -------------------- ##
331 kx ## M4sh Initialization. ##
331 kx ## -------------------- ##
331 kx
331 kx # Be more Bourne compatible
331 kx DUALCASE=1; export DUALCASE # for MKS sh
331 kx as_nop=:
331 kx if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
331 kx then :
331 kx emulate sh
331 kx NULLCMD=:
331 kx # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
331 kx # is contrary to our usage. Disable this feature.
331 kx alias -g '${1+"$@"}'='"$@"'
331 kx setopt NO_GLOB_SUBST
331 kx else $as_nop
331 kx case `(set -o) 2>/dev/null` in #(
331 kx *posix*) :
331 kx set -o posix ;; #(
331 kx *) :
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx
331 kx
331 kx # Reset variables that may have inherited troublesome values from
331 kx # the environment.
331 kx
331 kx # IFS needs to be set, to space, tab, and newline, in precisely that order.
331 kx # (If _AS_PATH_WALK were called with IFS unset, it would have the
331 kx # side effect of setting IFS to empty, thus disabling word splitting.)
331 kx # Quoting is to prevent editors from complaining about space-tab.
331 kx as_nl='
331 kx '
331 kx export as_nl
331 kx IFS=" "" $as_nl"
331 kx
331 kx PS1='$ '
331 kx PS2='> '
331 kx PS4='+ '
331 kx
331 kx # Ensure predictable behavior from utilities with locale-dependent output.
331 kx LC_ALL=C
331 kx export LC_ALL
331 kx LANGUAGE=C
331 kx export LANGUAGE
331 kx
331 kx # We cannot yet rely on "unset" to work, but we need these variables
331 kx # to be unset--not just set to an empty or harmless value--now, to
331 kx # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
331 kx # also avoids known problems related to "unset" and subshell syntax
331 kx # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
331 kx for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
331 kx do eval test \${$as_var+y} \
331 kx && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
331 kx done
331 kx
331 kx # Ensure that fds 0, 1, and 2 are open.
331 kx if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
331 kx if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
331 kx if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
331 kx
331 kx # The user is always right.
331 kx if ${PATH_SEPARATOR+false} :; then
331 kx PATH_SEPARATOR=:
331 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
331 kx (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
331 kx PATH_SEPARATOR=';'
331 kx }
331 kx fi
331 kx
331 kx
331 kx # Find who we are. Look in the path if we contain no directory separator.
331 kx as_myself=
331 kx case $0 in #((
331 kx *[\\/]* ) as_myself=$0 ;;
331 kx *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx test -r "$as_dir$0" && as_myself=$as_dir$0 && break
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx # We did not find ourselves, most probably we were run as `sh COMMAND'
331 kx # in which case we are not to be found in the path.
331 kx if test "x$as_myself" = x; then
331 kx as_myself=$0
331 kx fi
331 kx if test ! -f "$as_myself"; then
331 kx printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
331 kx exit 1
331 kx fi
331 kx
331 kx
331 kx # Use a proper internal environment variable to ensure we don't fall
331 kx # into an infinite loop, continuously re-executing ourselves.
331 kx if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
331 kx _as_can_reexec=no; export _as_can_reexec;
331 kx # We cannot yet assume a decent shell, so we have to provide a
331 kx # neutralization value for shells without unset; and this also
331 kx # works around shells that cannot unset nonexistent variables.
331 kx # Preserve -v and -x to the replacement shell.
331 kx BASH_ENV=/dev/null
331 kx ENV=/dev/null
331 kx (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
331 kx case $- in # ((((
331 kx *v*x* | *x*v* ) as_opts=-vx ;;
331 kx *v* ) as_opts=-v ;;
331 kx *x* ) as_opts=-x ;;
331 kx * ) as_opts= ;;
331 kx esac
331 kx exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
331 kx # Admittedly, this is quite paranoid, since all the known shells bail
331 kx # out after a failed `exec'.
331 kx printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
331 kx exit 255
331 kx fi
331 kx # We don't want this to propagate to other subprocesses.
331 kx { _as_can_reexec=; unset _as_can_reexec;}
331 kx if test "x$CONFIG_SHELL" = x; then
331 kx as_bourne_compatible="as_nop=:
331 kx if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
331 kx then :
331 kx emulate sh
331 kx NULLCMD=:
331 kx # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
331 kx # is contrary to our usage. Disable this feature.
331 kx alias -g '\${1+\"\$@\"}'='\"\$@\"'
331 kx setopt NO_GLOB_SUBST
331 kx else \$as_nop
331 kx case \`(set -o) 2>/dev/null\` in #(
331 kx *posix*) :
331 kx set -o posix ;; #(
331 kx *) :
331 kx ;;
331 kx esac
331 kx fi
331 kx "
331 kx as_required="as_fn_return () { (exit \$1); }
331 kx as_fn_success () { as_fn_return 0; }
331 kx as_fn_failure () { as_fn_return 1; }
331 kx as_fn_ret_success () { return 0; }
331 kx as_fn_ret_failure () { return 1; }
331 kx
331 kx exitcode=0
331 kx as_fn_success || { exitcode=1; echo as_fn_success failed.; }
331 kx as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
331 kx as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
331 kx as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
331 kx if ( set x; as_fn_ret_success y && test x = \"\$1\" )
331 kx then :
331 kx
331 kx else \$as_nop
331 kx exitcode=1; echo positional parameters were not saved.
331 kx fi
331 kx test x\$exitcode = x0 || exit 1
331 kx blah=\$(echo \$(echo blah))
331 kx test x\"\$blah\" = xblah || exit 1
331 kx test -x / || exit 1"
331 kx as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
331 kx as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
331 kx eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
331 kx test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
331 kx test \$(( 1 + 1 )) = 2 || exit 1
331 kx
331 kx test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
331 kx ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
331 kx ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
331 kx ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
331 kx PATH=/empty FPATH=/empty; export PATH FPATH
331 kx test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
331 kx || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
331 kx if (eval "$as_required") 2>/dev/null
331 kx then :
331 kx as_have_required=yes
331 kx else $as_nop
331 kx as_have_required=no
331 kx fi
331 kx if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
331 kx then :
331 kx
331 kx else $as_nop
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx as_found=false
331 kx for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx as_found=:
331 kx case $as_dir in #(
331 kx /*)
331 kx for as_base in sh bash ksh sh5; do
331 kx # Try only shells that exist, to save several forks.
331 kx as_shell=$as_dir$as_base
331 kx if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
331 kx as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
331 kx then :
331 kx CONFIG_SHELL=$as_shell as_have_required=yes
331 kx if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
331 kx then :
331 kx break 2
331 kx fi
331 kx fi
331 kx done;;
331 kx esac
331 kx as_found=false
331 kx done
331 kx IFS=$as_save_IFS
331 kx if $as_found
331 kx then :
331 kx
331 kx else $as_nop
331 kx if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
331 kx as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
331 kx then :
331 kx CONFIG_SHELL=$SHELL as_have_required=yes
331 kx fi
331 kx fi
331 kx
331 kx
331 kx if test "x$CONFIG_SHELL" != x
331 kx then :
331 kx export CONFIG_SHELL
331 kx # We cannot yet assume a decent shell, so we have to provide a
331 kx # neutralization value for shells without unset; and this also
331 kx # works around shells that cannot unset nonexistent variables.
331 kx # Preserve -v and -x to the replacement shell.
331 kx BASH_ENV=/dev/null
331 kx ENV=/dev/null
331 kx (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
331 kx case $- in # ((((
331 kx *v*x* | *x*v* ) as_opts=-vx ;;
331 kx *v* ) as_opts=-v ;;
331 kx *x* ) as_opts=-x ;;
331 kx * ) as_opts= ;;
331 kx esac
331 kx exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
331 kx # Admittedly, this is quite paranoid, since all the known shells bail
331 kx # out after a failed `exec'.
331 kx printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
331 kx exit 255
331 kx fi
331 kx
331 kx if test x$as_have_required = xno
331 kx then :
331 kx printf "%s\n" "$0: This script requires a shell more modern than all"
331 kx printf "%s\n" "$0: the shells that I found on your system."
331 kx if test ${ZSH_VERSION+y} ; then
331 kx printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
331 kx printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
331 kx else
331 kx printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and avahi (at) lists
331 kx $0: (dot) freedesktop (dot) org about your system,
331 kx $0: including any error possibly output before this
331 kx $0: message. Then install a modern shell, or manually run
331 kx $0: the script under such a shell if you do have one."
331 kx fi
331 kx exit 1
331 kx fi
331 kx fi
331 kx fi
331 kx SHELL=${CONFIG_SHELL-/bin/sh}
331 kx export SHELL
331 kx # Unset more variables known to interfere with behavior of common tools.
331 kx CLICOLOR_FORCE= GREP_OPTIONS=
331 kx unset CLICOLOR_FORCE GREP_OPTIONS
331 kx
331 kx ## --------------------- ##
331 kx ## M4sh Shell Functions. ##
331 kx ## --------------------- ##
331 kx # as_fn_unset VAR
331 kx # ---------------
331 kx # Portably unset VAR.
331 kx as_fn_unset ()
331 kx {
331 kx { eval $1=; unset $1;}
331 kx }
331 kx as_unset=as_fn_unset
331 kx
331 kx
331 kx # as_fn_set_status STATUS
331 kx # -----------------------
331 kx # Set $? to STATUS, without forking.
331 kx as_fn_set_status ()
331 kx {
331 kx return $1
331 kx } # as_fn_set_status
331 kx
331 kx # as_fn_exit STATUS
331 kx # -----------------
331 kx # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
331 kx as_fn_exit ()
331 kx {
331 kx set +e
331 kx as_fn_set_status $1
331 kx exit $1
331 kx } # as_fn_exit
331 kx # as_fn_nop
331 kx # ---------
331 kx # Do nothing but, unlike ":", preserve the value of $?.
331 kx as_fn_nop ()
331 kx {
331 kx return $?
331 kx }
331 kx as_nop=as_fn_nop
331 kx
331 kx # as_fn_mkdir_p
331 kx # -------------
331 kx # Create "$as_dir" as a directory, including parents if necessary.
331 kx as_fn_mkdir_p ()
331 kx {
331 kx
331 kx case $as_dir in #(
331 kx -*) as_dir=./$as_dir;;
331 kx esac
331 kx test -d "$as_dir" || eval $as_mkdir_p || {
331 kx as_dirs=
331 kx while :; do
331 kx case $as_dir in #(
331 kx *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 kx *) as_qdir=$as_dir;;
331 kx esac
331 kx as_dirs="'$as_qdir' $as_dirs"
331 kx as_dir=`$as_dirname -- "$as_dir" ||
331 kx $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 kx X"$as_dir" : 'X\(//\)[^/]' \| \
331 kx X"$as_dir" : 'X\(//\)$' \| \
331 kx X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X"$as_dir" |
331 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)[^/].*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx test -d "$as_dir" && break
331 kx done
331 kx test -z "$as_dirs" || eval "mkdir $as_dirs"
331 kx } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 kx
331 kx
331 kx } # as_fn_mkdir_p
331 kx
331 kx # as_fn_executable_p FILE
331 kx # -----------------------
331 kx # Test if FILE is an executable regular file.
331 kx as_fn_executable_p ()
331 kx {
331 kx test -f "$1" && test -x "$1"
331 kx } # as_fn_executable_p
331 kx # as_fn_append VAR VALUE
331 kx # ----------------------
331 kx # Append the text in VALUE to the end of the definition contained in VAR. Take
331 kx # advantage of any shell optimizations that allow amortized linear growth over
331 kx # repeated appends, instead of the typical quadratic growth present in naive
331 kx # implementations.
331 kx if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
331 kx then :
331 kx eval 'as_fn_append ()
331 kx {
331 kx eval $1+=\$2
331 kx }'
331 kx else $as_nop
331 kx as_fn_append ()
331 kx {
331 kx eval $1=\$$1\$2
331 kx }
331 kx fi # as_fn_append
331 kx
331 kx # as_fn_arith ARG...
331 kx # ------------------
331 kx # Perform arithmetic evaluation on the ARGs, and store the result in the
331 kx # global $as_val. Take advantage of shells that can avoid forks. The arguments
331 kx # must be portable across $(()) and expr.
331 kx if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
331 kx then :
331 kx eval 'as_fn_arith ()
331 kx {
331 kx as_val=$(( $* ))
331 kx }'
331 kx else $as_nop
331 kx as_fn_arith ()
331 kx {
331 kx as_val=`expr "$@" || test $? -eq 1`
331 kx }
331 kx fi # as_fn_arith
331 kx
331 kx # as_fn_nop
331 kx # ---------
331 kx # Do nothing but, unlike ":", preserve the value of $?.
331 kx as_fn_nop ()
331 kx {
331 kx return $?
331 kx }
331 kx as_nop=as_fn_nop
331 kx
331 kx # as_fn_error STATUS ERROR [LINENO LOG_FD]
331 kx # ----------------------------------------
331 kx # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
331 kx # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
331 kx # script with STATUS, using 1 if that was 0.
331 kx as_fn_error ()
331 kx {
331 kx as_status=$1; test $as_status -eq 0 && as_status=1
331 kx if test "$4"; then
331 kx as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
331 kx fi
331 kx printf "%s\n" "$as_me: error: $2" >&2
331 kx as_fn_exit $as_status
331 kx } # as_fn_error
331 kx
331 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
331 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
331 kx as_expr=expr
331 kx else
331 kx as_expr=false
331 kx fi
331 kx
331 kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
331 kx as_basename=basename
331 kx else
331 kx as_basename=false
331 kx fi
331 kx
331 kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
331 kx as_dirname=dirname
331 kx else
331 kx as_dirname=false
331 kx fi
331 kx
331 kx as_me=`$as_basename -- "$0" ||
331 kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
331 kx X"$0" : 'X\(//\)$' \| \
331 kx X"$0" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X/"$0" |
331 kx sed '/^.*\/\([^/][^/]*\)\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\/\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\/\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx
331 kx # Avoid depending upon Character Ranges.
331 kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
331 kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
331 kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
331 kx as_cr_digits='0123456789'
331 kx as_cr_alnum=$as_cr_Letters$as_cr_digits
331 kx
331 kx
331 kx as_lineno_1=$LINENO as_lineno_1a=$LINENO
331 kx as_lineno_2=$LINENO as_lineno_2a=$LINENO
331 kx eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
331 kx test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
331 kx # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
331 kx sed -n '
331 kx p
331 kx /[$]LINENO/=
331 kx ' <$as_myself |
331 kx sed '
331 kx s/[$]LINENO.*/&-/
331 kx t lineno
331 kx b
331 kx :lineno
331 kx N
331 kx :loop
331 kx s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
331 kx t loop
331 kx s/-\n.*//
331 kx ' >$as_me.lineno &&
331 kx chmod +x "$as_me.lineno" ||
331 kx { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
331 kx
331 kx # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
331 kx # already done that, so ensure we don't try to do so again and fall
331 kx # in an infinite loop. This has already happened in practice.
331 kx _as_can_reexec=no; export _as_can_reexec
331 kx # Don't try to exec as it changes $[0], causing all sort of problems
331 kx # (the dirname of $[0] is not the place where we might find the
331 kx # original and so on. Autoconf is especially sensitive to this).
331 kx . "./$as_me.lineno"
331 kx # Exit status is that of the last command.
331 kx exit
331 kx }
331 kx
331 kx
331 kx # Determine whether it's possible to make 'echo' print without a newline.
331 kx # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
331 kx # for compatibility with existing Makefiles.
331 kx ECHO_C= ECHO_N= ECHO_T=
331 kx case `echo -n x` in #(((((
331 kx -n*)
331 kx case `echo 'xy\c'` in
331 kx *c*) ECHO_T=' ';; # ECHO_T is single tab character.
331 kx xy) ECHO_C='\c';;
331 kx *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
331 kx ECHO_T=' ';;
331 kx esac;;
331 kx *)
331 kx ECHO_N='-n';;
331 kx esac
331 kx
331 kx # For backward compatibility with old third-party macros, we provide
331 kx # the shell variables $as_echo and $as_echo_n. New code should use
331 kx # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
331 kx as_echo='printf %s\n'
331 kx as_echo_n='printf %s'
331 kx
331 kx
331 kx rm -f conf$$ conf$$.exe conf$$.file
331 kx if test -d conf$$.dir; then
331 kx rm -f conf$$.dir/conf$$.file
331 kx else
331 kx rm -f conf$$.dir
331 kx mkdir conf$$.dir 2>/dev/null
331 kx fi
331 kx if (echo >conf$$.file) 2>/dev/null; then
331 kx if ln -s conf$$.file conf$$ 2>/dev/null; then
331 kx as_ln_s='ln -s'
331 kx # ... but there are two gotchas:
331 kx # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
331 kx # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
331 kx # In both cases, we have to default to `cp -pR'.
331 kx ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
331 kx as_ln_s='cp -pR'
331 kx elif ln conf$$.file conf$$ 2>/dev/null; then
331 kx as_ln_s=ln
331 kx else
331 kx as_ln_s='cp -pR'
331 kx fi
331 kx else
331 kx as_ln_s='cp -pR'
331 kx fi
331 kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
331 kx rmdir conf$$.dir 2>/dev/null
331 kx
331 kx if mkdir -p . 2>/dev/null; then
331 kx as_mkdir_p='mkdir -p "$as_dir"'
331 kx else
331 kx test -d ./-p && rmdir ./-p
331 kx as_mkdir_p=false
331 kx fi
331 kx
331 kx as_test_x='test -x'
331 kx as_executable_p=as_fn_executable_p
331 kx
331 kx # Sed expression to map a string onto a valid CPP name.
331 kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
331 kx
331 kx # Sed expression to map a string onto a valid variable name.
331 kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
331 kx
331 kx SHELL=${CONFIG_SHELL-/bin/sh}
331 kx
331 kx
331 kx test -n "$DJDIR" || exec 7<&0 </dev/null
331 kx exec 6>&1
331 kx
331 kx # Name of the host.
331 kx # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
331 kx # so uname gets run too.
331 kx ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
331 kx
331 kx #
331 kx # Initializations.
331 kx #
331 kx ac_default_prefix=/usr/local
331 kx ac_clean_files=
331 kx ac_config_libobj_dir=.
331 kx LIBOBJS=
331 kx cross_compiling=no
331 kx subdirs=
331 kx MFLAGS=
331 kx MAKEFLAGS=
331 kx
331 kx # Identity of this package.
331 kx PACKAGE_NAME='avahi'
331 kx PACKAGE_TARNAME='avahi'
331 kx PACKAGE_VERSION='0.8'
331 kx PACKAGE_STRING='avahi 0.8'
331 kx PACKAGE_BUGREPORT='avahi (at) lists (dot) freedesktop (dot) org'
331 kx PACKAGE_URL=''
331 kx
331 kx ac_unique_file="avahi-core/server.c"
331 kx # Factoring default headers for most tests.
331 kx ac_includes_default="\
331 kx #include <stddef.h>
331 kx #ifdef HAVE_STDIO_H
331 kx # include <stdio.h>
331 kx #endif
331 kx #ifdef HAVE_STDLIB_H
331 kx # include <stdlib.h>
331 kx #endif
331 kx #ifdef HAVE_STRING_H
331 kx # include <string.h>
331 kx #endif
331 kx #ifdef HAVE_INTTYPES_H
331 kx # include <inttypes.h>
331 kx #endif
331 kx #ifdef HAVE_STDINT_H
331 kx # include <stdint.h>
331 kx #endif
331 kx #ifdef HAVE_STRINGS_H
331 kx # include <strings.h>
331 kx #endif
331 kx #ifdef HAVE_SYS_TYPES_H
331 kx # include <sys/types.h>
331 kx #endif
331 kx #ifdef HAVE_SYS_STAT_H
331 kx # include <sys/stat.h>
331 kx #endif
331 kx #ifdef HAVE_UNISTD_H
331 kx # include <unistd.h>
331 kx #endif"
331 kx
331 kx ac_header_c_list=
331 kx gt_needs=
331 kx ac_subst_vars='am__EXEEXT_FALSE
331 kx am__EXEEXT_TRUE
331 kx LTLIBOBJS
331 kx HAVE_SYSTEMD_FALSE
331 kx HAVE_SYSTEMD_TRUE
331 kx systemdsystemunitdir
331 kx ENABLE_COMPAT_HOWL_FALSE
331 kx ENABLE_COMPAT_HOWL_TRUE
331 kx ENABLE_COMPAT_LIBDNS_SD_FALSE
331 kx ENABLE_COMPAT_LIBDNS_SD_TRUE
331 kx ENABLE_TESTS_FALSE
331 kx ENABLE_TESTS_TRUE
331 kx BUILD_MANPAGES_FALSE
331 kx BUILD_MANPAGES_TRUE
331 kx USE_XMLTOMAN_FALSE
331 kx USE_XMLTOMAN_TRUE
331 kx have_xmltoman
331 kx ENABLE_CORE_DOCS_FALSE
331 kx ENABLE_CORE_DOCS_TRUE
331 kx DOXYGEN_PAPER_SIZE
331 kx DX_COND_latex_FALSE
331 kx DX_COND_latex_TRUE
331 kx DX_COND_pdf_FALSE
331 kx DX_COND_pdf_TRUE
331 kx DX_PDFLATEX
331 kx DX_FLAG_pdf
331 kx DX_COND_ps_FALSE
331 kx DX_COND_ps_TRUE
331 kx DX_EGREP
331 kx DX_DVIPS
331 kx DX_MAKEINDEX
331 kx DX_LATEX
331 kx DX_FLAG_ps
331 kx DX_COND_html_FALSE
331 kx DX_COND_html_TRUE
331 kx DX_FLAG_html
331 kx DX_COND_chi_FALSE
331 kx DX_COND_chi_TRUE
331 kx DX_FLAG_chi
331 kx DX_COND_chm_FALSE
331 kx DX_COND_chm_TRUE
331 kx DX_HHC
331 kx DX_FLAG_chm
331 kx DX_COND_xml_FALSE
331 kx DX_COND_xml_TRUE
331 kx DX_FLAG_xml
331 kx DX_COND_rtf_FALSE
331 kx DX_COND_rtf_TRUE
331 kx DX_FLAG_rtf
331 kx DX_COND_man_FALSE
331 kx DX_COND_man_TRUE
331 kx DX_FLAG_man
331 kx DX_COND_dot_FALSE
331 kx DX_COND_dot_TRUE
331 kx DX_DOT
331 kx DX_FLAG_dot
331 kx DX_COND_doc_FALSE
331 kx DX_COND_doc_TRUE
331 kx DX_PERL
331 kx DX_DOXYGEN
331 kx DX_FLAG_doc
331 kx DX_ENV
331 kx DX_DOCDIR
331 kx DX_CONFIG
331 kx DX_PROJECT
331 kx interfacesdir
331 kx avahi_socket
331 kx avahi_runtime_dir
331 kx AVAHI_AUTOIPD_GROUP
331 kx AVAHI_AUTOIPD_USER
331 kx AVAHI_PRIV_ACCESS_GROUP
331 kx AVAHI_GROUP
331 kx AVAHI_USER
331 kx ENABLE_AUTOIPD_FALSE
331 kx ENABLE_AUTOIPD_TRUE
331 kx HAVE_MONODOC_FALSE
331 kx HAVE_MONODOC_TRUE
331 kx MONODOC_DIR
331 kx MDASSEMBLER
331 kx MONODOCER
331 kx MONODOC_LIBS
331 kx MONODOC_CFLAGS
331 kx HAVE_MONO_FALSE
331 kx HAVE_MONO_TRUE
331 kx GACUTIL
331 kx MCS
331 kx HAVE_PYTHON_DBUS_FALSE
331 kx HAVE_PYTHON_DBUS_TRUE
331 kx HAVE_PYGOBJECT_FALSE
331 kx HAVE_PYGOBJECT_TRUE
331 kx HAVE_PYTHON_FALSE
331 kx HAVE_PYTHON_TRUE
331 kx PYGOBJECT_LIBS
331 kx PYGOBJECT_CFLAGS
331 kx pkgpyexecdir
331 kx pyexecdir
331 kx pkgpythondir
331 kx pythondir
331 kx PYTHON_EXEC_PREFIX
331 kx PYTHON_PREFIX
331 kx PYTHON_PLATFORM
331 kx PYTHON_VERSION
331 kx PYTHON
331 kx HAVE_LIBDAEMON_FALSE
331 kx HAVE_LIBDAEMON_TRUE
331 kx LIBDAEMON_LIBS
331 kx LIBDAEMON_CFLAGS
331 kx HAVE_DBM_FALSE
331 kx HAVE_DBM_TRUE
331 kx HAVE_GDBM_FALSE
331 kx HAVE_GDBM_TRUE
331 kx HAVE_XML_FALSE
331 kx HAVE_XML_TRUE
331 kx XML_CFLAGS
331 kx XML_LIBS
331 kx HAVE_DBUS_FALSE
331 kx HAVE_DBUS_TRUE
331 kx DBUS_SYSTEM_BUS_DEFAULT_ADDRESS
331 kx DBUS_SYS_DIR
331 kx DBUS_LIBS
331 kx DBUS_CFLAGS
331 kx HAVE_GTK2OR3_FALSE
331 kx HAVE_GTK2OR3_TRUE
331 kx HAVE_GTK3_FALSE
331 kx HAVE_GTK3_TRUE
331 kx GTK30_LIBS
331 kx GTK30_CFLAGS
331 kx HAVE_GTK_FALSE
331 kx HAVE_GTK_TRUE
331 kx GTK20_LIBS
331 kx GTK20_CFLAGS
331 kx HAVE_QT5_FALSE
331 kx HAVE_QT5_TRUE
331 kx MOC_QT5
331 kx QT5_LIBS
331 kx QT5_CFLAGS
331 kx HAVE_QT4_FALSE
331 kx HAVE_QT4_TRUE
331 kx MOC_QT4
331 kx QT4_LIBS
331 kx QT4_CFLAGS
331 kx HAVE_QT3_FALSE
331 kx HAVE_QT3_TRUE
331 kx MOC_QT3
331 kx QT3_LIBS
331 kx QT3_CFLAGS
331 kx HAVE_LIBEVENT_FALSE
331 kx HAVE_LIBEVENT_TRUE
331 kx LIBEVENT_LIBS
331 kx LIBEVENT_CFLAGS
331 kx HAVE_INTROSPECTION_FALSE
331 kx HAVE_INTROSPECTION_TRUE
331 kx INTROSPECTION_MAKEFILE
331 kx INTROSPECTION_LIBS
331 kx INTROSPECTION_CFLAGS
331 kx INTROSPECTION_TYPELIBDIR
331 kx INTROSPECTION_GIRDIR
331 kx INTROSPECTION_GENERATE
331 kx INTROSPECTION_COMPILER
331 kx INTROSPECTION_SCANNER
331 kx HAVE_GOBJECT_FALSE
331 kx HAVE_GOBJECT_TRUE
331 kx GOBJECT_LIBS
331 kx GOBJECT_CFLAGS
331 kx HAVE_GLIB_FALSE
331 kx HAVE_GLIB_TRUE
331 kx GLIB20_LIBS
331 kx GLIB20_CFLAGS
331 kx PKG_CONFIG_LIBDIR
331 kx PKG_CONFIG_PATH
331 kx PKG_CONFIG
331 kx have_pkg_config
331 kx avahilocaledir
331 kx POSUB
331 kx LTLIBINTL
331 kx LIBINTL
331 kx INTLLIBS
331 kx LTLIBICONV
331 kx LIBICONV
331 kx INTL_MACOSX_LIBS
331 kx XGETTEXT_EXTRA_OPTIONS
331 kx MSGMERGE_FOR_MSGFMT_OPTION
331 kx MSGMERGE
331 kx XGETTEXT_015
331 kx XGETTEXT
331 kx GMSGFMT_015
331 kx GMSGFMT
331 kx MSGFMT
331 kx GETTEXT_MACRO_VERSION
331 kx USE_NLS
331 kx GETTEXT_PACKAGE
331 kx HAVE_KQUEUE_FALSE
331 kx HAVE_KQUEUE_TRUE
331 kx HAVE_INOTIFY_FALSE
331 kx HAVE_INOTIFY_TRUE
331 kx HAVE_DLOPEN_FALSE
331 kx HAVE_DLOPEN_TRUE
331 kx ENABLE_CHROOT_FALSE
331 kx ENABLE_CHROOT_TRUE
331 kx VISIBILITY_HIDDEN_CFLAGS
331 kx LIBOBJS
331 kx TARGET_SLACKWARE_FALSE
331 kx TARGET_SLACKWARE_TRUE
331 kx TARGET_RADIX_FALSE
331 kx TARGET_RADIX_TRUE
331 kx TARGET_FREEBSD_FALSE
331 kx TARGET_FREEBSD_TRUE
331 kx TARGET_NETBSD_FALSE
331 kx TARGET_NETBSD_TRUE
331 kx TARGET_DARWIN_FALSE
331 kx TARGET_DARWIN_TRUE
331 kx TARGET_MANDRIVA_FALSE
331 kx TARGET_MANDRIVA_TRUE
331 kx TARGET_FEDORA_FALSE
331 kx TARGET_FEDORA_TRUE
331 kx TARGET_ARCHLINUX_FALSE
331 kx TARGET_ARCHLINUX_TRUE
331 kx TARGET_DEBIAN_FALSE
331 kx TARGET_DEBIAN_TRUE
331 kx TARGET_GENTOO_FALSE
331 kx TARGET_GENTOO_TRUE
331 kx TARGET_SUSE_FALSE
331 kx TARGET_SUSE_TRUE
331 kx TARGET_LFS_FALSE
331 kx TARGET_LFS_TRUE
331 kx HAVE_SYS_SYSCTL_H_FALSE
331 kx HAVE_SYS_SYSCTL_H_TRUE
331 kx HAVE_SYS_FILIO_H_FALSE
331 kx HAVE_SYS_FILIO_H_TRUE
331 kx HAVE_PF_ROUTE_FALSE
331 kx HAVE_PF_ROUTE_TRUE
331 kx HAVE_NETLINK_FALSE
331 kx HAVE_NETLINK_TRUE
331 kx PTHREAD_CFLAGS
331 kx PTHREAD_LIBS
331 kx PTHREAD_CC
331 kx acx_pthread_config
331 kx CXXCPP
331 kx LT_SYS_LIBRARY_PATH
331 kx OTOOL64
331 kx OTOOL
331 kx LIPO
331 kx NMEDIT
331 kx DSYMUTIL
331 kx MANIFEST_TOOL
331 kx RANLIB
331 kx ac_ct_AR
331 kx AR
331 kx DLLTOOL
331 kx OBJDUMP
331 kx FILECMD
331 kx NM
331 kx ac_ct_DUMPBIN
331 kx DUMPBIN
331 kx LD
331 kx FGREP
331 kx SED
331 kx LIBTOOL
331 kx EGREP
331 kx GREP
331 kx LN_S
331 kx CPP
331 kx am__fastdepCXX_FALSE
331 kx am__fastdepCXX_TRUE
331 kx CXXDEPMODE
331 kx ac_ct_CXX
331 kx CXXFLAGS
331 kx CXX
331 kx am__fastdepCC_FALSE
331 kx am__fastdepCC_TRUE
331 kx CCDEPMODE
331 kx am__nodep
331 kx AMDEPBACKSLASH
331 kx AMDEP_FALSE
331 kx AMDEP_TRUE
331 kx am__include
331 kx DEPDIR
331 kx OBJEXT
331 kx EXEEXT
331 kx ac_ct_CC
331 kx CPPFLAGS
331 kx LDFLAGS
331 kx CFLAGS
331 kx CC
331 kx STOW
331 kx host_os
331 kx host_vendor
331 kx host_cpu
331 kx host
331 kx build_os
331 kx build_vendor
331 kx build_cpu
331 kx build
331 kx HOWL_COMPAT_VERSION
331 kx LIBAVAHI_COMPAT_HOWL_VERSION_INFO
331 kx LIBAVAHI_COMPAT_LIBDNS_SD_VERSION_INFO
331 kx LIBAVAHI_UI_VERSION_INFO
331 kx LIBAVAHI_QT5_VERSION_INFO
331 kx LIBAVAHI_QT4_VERSION_INFO
331 kx LIBAVAHI_QT3_VERSION_INFO
331 kx LIBAVAHI_GOBJECT_VERSION_INFO
331 kx LIBAVAHI_LIBEVENT_VERSION_INFO
331 kx LIBAVAHI_GLIB_VERSION_INFO
331 kx LIBAVAHI_CLIENT_VERSION_INFO
331 kx LIBAVAHI_CORE_VERSION_INFO
331 kx LIBAVAHI_COMMON_VERSION_INFO
331 kx AM_BACKSLASH
331 kx AM_DEFAULT_VERBOSITY
331 kx AM_DEFAULT_V
331 kx AM_V
331 kx CSCOPE
331 kx ETAGS
331 kx CTAGS
331 kx am__untar
331 kx am__tar
331 kx AMTAR
331 kx am__leading_dot
331 kx SET_MAKE
331 kx AWK
331 kx mkdir_p
331 kx MKDIR_P
331 kx INSTALL_STRIP_PROGRAM
331 kx STRIP
331 kx install_sh
331 kx MAKEINFO
331 kx AUTOHEADER
331 kx AUTOMAKE
331 kx AUTOCONF
331 kx ACLOCAL
331 kx VERSION
331 kx PACKAGE
331 kx CYGPATH_W
331 kx am__isrc
331 kx INSTALL_DATA
331 kx INSTALL_SCRIPT
331 kx INSTALL_PROGRAM
331 kx target_alias
331 kx host_alias
331 kx build_alias
331 kx LIBS
331 kx ECHO_T
331 kx ECHO_N
331 kx ECHO_C
331 kx DEFS
331 kx mandir
331 kx localedir
331 kx libdir
331 kx psdir
331 kx pdfdir
331 kx dvidir
331 kx htmldir
331 kx infodir
331 kx docdir
331 kx oldincludedir
331 kx includedir
331 kx runstatedir
331 kx localstatedir
331 kx sharedstatedir
331 kx sysconfdir
331 kx datadir
331 kx datarootdir
331 kx libexecdir
331 kx sbindir
331 kx bindir
331 kx program_transform_name
331 kx prefix
331 kx exec_prefix
331 kx PACKAGE_URL
331 kx PACKAGE_BUGREPORT
331 kx PACKAGE_STRING
331 kx PACKAGE_VERSION
331 kx PACKAGE_TARNAME
331 kx PACKAGE_NAME
331 kx PATH_SEPARATOR
331 kx SHELL
331 kx am__quote'
331 kx ac_subst_files=''
331 kx ac_user_opts='
331 kx enable_option_checking
331 kx enable_silent_rules
331 kx enable_dependency_tracking
331 kx enable_stack_protector
331 kx enable_shared
331 kx enable_static
331 kx with_pic
331 kx enable_fast_install
331 kx with_aix_soname
331 kx with_gnu_ld
331 kx with_sysroot
331 kx enable_libtool_lock
331 kx with_distro
331 kx enable_nls
331 kx enable_rpath
331 kx with_libiconv_prefix
331 kx with_libintl_prefix
331 kx enable_glib
331 kx enable_gobject
331 kx enable_introspection
331 kx enable_libevent
331 kx enable_qt3
331 kx enable_qt4
331 kx enable_qt5
331 kx enable_gtk
331 kx enable_gtk3
331 kx enable_dbus
331 kx with_dbus_sys
331 kx with_dbus_system_socket
331 kx with_xml
331 kx enable_dbm
331 kx enable_gdbm
331 kx enable_libdaemon
331 kx enable_python
331 kx with_python_sys_prefix
331 kx with_python_prefix
331 kx with_python_exec_prefix
331 kx enable_pygobject
331 kx enable_python_dbus
331 kx enable_mono
331 kx enable_monodoc
331 kx enable_autoipd
331 kx with_avahi_user
331 kx with_avahi_group
331 kx with_avahi_priv_access_group
331 kx with_autoipd_user
331 kx with_autoipd_group
331 kx enable_doxygen_doc
331 kx enable_doxygen_dot
331 kx enable_doxygen_man
331 kx enable_doxygen_rtf
331 kx enable_doxygen_xml
331 kx enable_doxygen_chm
331 kx enable_doxygen_chi
331 kx enable_doxygen_html
331 kx enable_doxygen_ps
331 kx enable_doxygen_pdf
331 kx enable_core_docs
331 kx enable_manpages
331 kx enable_xmltoman
331 kx enable_tests
331 kx enable_compat_libdns_sd
331 kx enable_compat_howl
331 kx with_systemdsystemunitdir
331 kx '
331 kx ac_precious_vars='build_alias
331 kx host_alias
331 kx target_alias
331 kx CC
331 kx CFLAGS
331 kx LDFLAGS
331 kx LIBS
331 kx CPPFLAGS
331 kx CXX
331 kx CXXFLAGS
331 kx CCC
331 kx CPP
331 kx LT_SYS_LIBRARY_PATH
331 kx CXXCPP
331 kx PKG_CONFIG
331 kx PKG_CONFIG_PATH
331 kx PKG_CONFIG_LIBDIR
331 kx GLIB20_CFLAGS
331 kx GLIB20_LIBS
331 kx GOBJECT_CFLAGS
331 kx GOBJECT_LIBS
331 kx LIBEVENT_CFLAGS
331 kx LIBEVENT_LIBS
331 kx QT3_CFLAGS
331 kx QT3_LIBS
331 kx QT4_CFLAGS
331 kx QT4_LIBS
331 kx QT5_CFLAGS
331 kx QT5_LIBS
331 kx GTK20_CFLAGS
331 kx GTK20_LIBS
331 kx GTK30_CFLAGS
331 kx GTK30_LIBS
331 kx DBUS_CFLAGS
331 kx DBUS_LIBS
331 kx LIBDAEMON_CFLAGS
331 kx LIBDAEMON_LIBS
331 kx PYTHON
331 kx PYGOBJECT_CFLAGS
331 kx PYGOBJECT_LIBS
331 kx MONODOC_CFLAGS
331 kx MONODOC_LIBS
331 kx DOXYGEN_PAPER_SIZE'
331 kx
331 kx
331 kx # Initialize some variables set by options.
331 kx ac_init_help=
331 kx ac_init_version=false
331 kx ac_unrecognized_opts=
331 kx ac_unrecognized_sep=
331 kx # The variables have the same names as the options, with
331 kx # dashes changed to underlines.
331 kx cache_file=/dev/null
331 kx exec_prefix=NONE
331 kx no_create=
331 kx no_recursion=
331 kx prefix=NONE
331 kx program_prefix=NONE
331 kx program_suffix=NONE
331 kx program_transform_name=s,x,x,
331 kx silent=
331 kx site=
331 kx srcdir=
331 kx verbose=
331 kx x_includes=NONE
331 kx x_libraries=NONE
331 kx
331 kx # Installation directory options.
331 kx # These are left unexpanded so users can "make install exec_prefix=/foo"
331 kx # and all the variables that are supposed to be based on exec_prefix
331 kx # by default will actually change.
331 kx # Use braces instead of parens because sh, perl, etc. also accept them.
331 kx # (The list follows the same order as the GNU Coding Standards.)
331 kx bindir='${exec_prefix}/bin'
331 kx sbindir='${exec_prefix}/sbin'
331 kx libexecdir='${exec_prefix}/libexec'
331 kx datarootdir='${prefix}/share'
331 kx datadir='${datarootdir}'
331 kx sysconfdir='${prefix}/etc'
331 kx sharedstatedir='${prefix}/com'
331 kx localstatedir='${prefix}/var'
331 kx runstatedir='${localstatedir}/run'
331 kx includedir='${prefix}/include'
331 kx oldincludedir='/usr/include'
331 kx docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
331 kx infodir='${datarootdir}/info'
331 kx htmldir='${docdir}'
331 kx dvidir='${docdir}'
331 kx pdfdir='${docdir}'
331 kx psdir='${docdir}'
331 kx libdir='${exec_prefix}/lib'
331 kx localedir='${datarootdir}/locale'
331 kx mandir='${datarootdir}/man'
331 kx
331 kx ac_prev=
331 kx ac_dashdash=
331 kx for ac_option
331 kx do
331 kx # If the previous option needs an argument, assign it.
331 kx if test -n "$ac_prev"; then
331 kx eval $ac_prev=\$ac_option
331 kx ac_prev=
331 kx continue
331 kx fi
331 kx
331 kx case $ac_option in
331 kx *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
331 kx *=) ac_optarg= ;;
331 kx *) ac_optarg=yes ;;
331 kx esac
331 kx
331 kx case $ac_dashdash$ac_option in
331 kx --)
331 kx ac_dashdash=yes ;;
331 kx
331 kx -bindir | --bindir | --bindi | --bind | --bin | --bi)
331 kx ac_prev=bindir ;;
331 kx -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
331 kx bindir=$ac_optarg ;;
331 kx
331 kx -build | --build | --buil | --bui | --bu)
331 kx ac_prev=build_alias ;;
331 kx -build=* | --build=* | --buil=* | --bui=* | --bu=*)
331 kx build_alias=$ac_optarg ;;
331 kx
331 kx -cache-file | --cache-file | --cache-fil | --cache-fi \
331 kx | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
331 kx ac_prev=cache_file ;;
331 kx -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
331 kx | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
331 kx cache_file=$ac_optarg ;;
331 kx
331 kx --config-cache | -C)
331 kx cache_file=config.cache ;;
331 kx
331 kx -datadir | --datadir | --datadi | --datad)
331 kx ac_prev=datadir ;;
331 kx -datadir=* | --datadir=* | --datadi=* | --datad=*)
331 kx datadir=$ac_optarg ;;
331 kx
331 kx -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
331 kx | --dataroo | --dataro | --datar)
331 kx ac_prev=datarootdir ;;
331 kx -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
331 kx | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
331 kx datarootdir=$ac_optarg ;;
331 kx
331 kx -disable-* | --disable-*)
331 kx ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
331 kx # Reject names that are not valid shell variable names.
331 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
331 kx as_fn_error $? "invalid feature name: \`$ac_useropt'"
331 kx ac_useropt_orig=$ac_useropt
331 kx ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
331 kx case $ac_user_opts in
331 kx *"
331 kx "enable_$ac_useropt"
331 kx "*) ;;
331 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
331 kx ac_unrecognized_sep=', ';;
331 kx esac
331 kx eval enable_$ac_useropt=no ;;
331 kx
331 kx -docdir | --docdir | --docdi | --doc | --do)
331 kx ac_prev=docdir ;;
331 kx -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
331 kx docdir=$ac_optarg ;;
331 kx
331 kx -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
331 kx ac_prev=dvidir ;;
331 kx -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
331 kx dvidir=$ac_optarg ;;
331 kx
331 kx -enable-* | --enable-*)
331 kx ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
331 kx # Reject names that are not valid shell variable names.
331 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
331 kx as_fn_error $? "invalid feature name: \`$ac_useropt'"
331 kx ac_useropt_orig=$ac_useropt
331 kx ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
331 kx case $ac_user_opts in
331 kx *"
331 kx "enable_$ac_useropt"
331 kx "*) ;;
331 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
331 kx ac_unrecognized_sep=', ';;
331 kx esac
331 kx eval enable_$ac_useropt=\$ac_optarg ;;
331 kx
331 kx -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
331 kx | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
331 kx | --exec | --exe | --ex)
331 kx ac_prev=exec_prefix ;;
331 kx -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
331 kx | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
331 kx | --exec=* | --exe=* | --ex=*)
331 kx exec_prefix=$ac_optarg ;;
331 kx
331 kx -gas | --gas | --ga | --g)
331 kx # Obsolete; use --with-gas.
331 kx with_gas=yes ;;
331 kx
331 kx -help | --help | --hel | --he | -h)
331 kx ac_init_help=long ;;
331 kx -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
331 kx ac_init_help=recursive ;;
331 kx -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
331 kx ac_init_help=short ;;
331 kx
331 kx -host | --host | --hos | --ho)
331 kx ac_prev=host_alias ;;
331 kx -host=* | --host=* | --hos=* | --ho=*)
331 kx host_alias=$ac_optarg ;;
331 kx
331 kx -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
331 kx ac_prev=htmldir ;;
331 kx -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
331 kx | --ht=*)
331 kx htmldir=$ac_optarg ;;
331 kx
331 kx -includedir | --includedir | --includedi | --included | --include \
331 kx | --includ | --inclu | --incl | --inc)
331 kx ac_prev=includedir ;;
331 kx -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
331 kx | --includ=* | --inclu=* | --incl=* | --inc=*)
331 kx includedir=$ac_optarg ;;
331 kx
331 kx -infodir | --infodir | --infodi | --infod | --info | --inf)
331 kx ac_prev=infodir ;;
331 kx -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
331 kx infodir=$ac_optarg ;;
331 kx
331 kx -libdir | --libdir | --libdi | --libd)
331 kx ac_prev=libdir ;;
331 kx -libdir=* | --libdir=* | --libdi=* | --libd=*)
331 kx libdir=$ac_optarg ;;
331 kx
331 kx -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
331 kx | --libexe | --libex | --libe)
331 kx ac_prev=libexecdir ;;
331 kx -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
331 kx | --libexe=* | --libex=* | --libe=*)
331 kx libexecdir=$ac_optarg ;;
331 kx
331 kx -localedir | --localedir | --localedi | --localed | --locale)
331 kx ac_prev=localedir ;;
331 kx -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
331 kx localedir=$ac_optarg ;;
331 kx
331 kx -localstatedir | --localstatedir | --localstatedi | --localstated \
331 kx | --localstate | --localstat | --localsta | --localst | --locals)
331 kx ac_prev=localstatedir ;;
331 kx -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
331 kx | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
331 kx localstatedir=$ac_optarg ;;
331 kx
331 kx -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
331 kx ac_prev=mandir ;;
331 kx -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
331 kx mandir=$ac_optarg ;;
331 kx
331 kx -nfp | --nfp | --nf)
331 kx # Obsolete; use --without-fp.
331 kx with_fp=no ;;
331 kx
331 kx -no-create | --no-create | --no-creat | --no-crea | --no-cre \
331 kx | --no-cr | --no-c | -n)
331 kx no_create=yes ;;
331 kx
331 kx -no-recursion | --no-recursion | --no-recursio | --no-recursi \
331 kx | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
331 kx no_recursion=yes ;;
331 kx
331 kx -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
331 kx | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
331 kx | --oldin | --oldi | --old | --ol | --o)
331 kx ac_prev=oldincludedir ;;
331 kx -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
331 kx | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
331 kx | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
331 kx oldincludedir=$ac_optarg ;;
331 kx
331 kx -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
331 kx ac_prev=prefix ;;
331 kx -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
331 kx prefix=$ac_optarg ;;
331 kx
331 kx -program-prefix | --program-prefix | --program-prefi | --program-pref \
331 kx | --program-pre | --program-pr | --program-p)
331 kx ac_prev=program_prefix ;;
331 kx -program-prefix=* | --program-prefix=* | --program-prefi=* \
331 kx | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
331 kx program_prefix=$ac_optarg ;;
331 kx
331 kx -program-suffix | --program-suffix | --program-suffi | --program-suff \
331 kx | --program-suf | --program-su | --program-s)
331 kx ac_prev=program_suffix ;;
331 kx -program-suffix=* | --program-suffix=* | --program-suffi=* \
331 kx | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
331 kx program_suffix=$ac_optarg ;;
331 kx
331 kx -program-transform-name | --program-transform-name \
331 kx | --program-transform-nam | --program-transform-na \
331 kx | --program-transform-n | --program-transform- \
331 kx | --program-transform | --program-transfor \
331 kx | --program-transfo | --program-transf \
331 kx | --program-trans | --program-tran \
331 kx | --progr-tra | --program-tr | --program-t)
331 kx ac_prev=program_transform_name ;;
331 kx -program-transform-name=* | --program-transform-name=* \
331 kx | --program-transform-nam=* | --program-transform-na=* \
331 kx | --program-transform-n=* | --program-transform-=* \
331 kx | --program-transform=* | --program-transfor=* \
331 kx | --program-transfo=* | --program-transf=* \
331 kx | --program-trans=* | --program-tran=* \
331 kx | --progr-tra=* | --program-tr=* | --program-t=*)
331 kx program_transform_name=$ac_optarg ;;
331 kx
331 kx -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
331 kx ac_prev=pdfdir ;;
331 kx -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
331 kx pdfdir=$ac_optarg ;;
331 kx
331 kx -psdir | --psdir | --psdi | --psd | --ps)
331 kx ac_prev=psdir ;;
331 kx -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
331 kx psdir=$ac_optarg ;;
331 kx
331 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
331 kx | -silent | --silent | --silen | --sile | --sil)
331 kx silent=yes ;;
331 kx
331 kx -runstatedir | --runstatedir | --runstatedi | --runstated \
331 kx | --runstate | --runstat | --runsta | --runst | --runs \
331 kx | --run | --ru | --r)
331 kx ac_prev=runstatedir ;;
331 kx -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
331 kx | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
331 kx | --run=* | --ru=* | --r=*)
331 kx runstatedir=$ac_optarg ;;
331 kx
331 kx -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
331 kx ac_prev=sbindir ;;
331 kx -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
331 kx | --sbi=* | --sb=*)
331 kx sbindir=$ac_optarg ;;
331 kx
331 kx -sharedstatedir | --sharedstatedir | --sharedstatedi \
331 kx | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
331 kx | --sharedst | --shareds | --shared | --share | --shar \
331 kx | --sha | --sh)
331 kx ac_prev=sharedstatedir ;;
331 kx -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
331 kx | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
331 kx | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
331 kx | --sha=* | --sh=*)
331 kx sharedstatedir=$ac_optarg ;;
331 kx
331 kx -site | --site | --sit)
331 kx ac_prev=site ;;
331 kx -site=* | --site=* | --sit=*)
331 kx site=$ac_optarg ;;
331 kx
331 kx -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
331 kx ac_prev=srcdir ;;
331 kx -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
331 kx srcdir=$ac_optarg ;;
331 kx
331 kx -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
331 kx | --syscon | --sysco | --sysc | --sys | --sy)
331 kx ac_prev=sysconfdir ;;
331 kx -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
331 kx | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
331 kx sysconfdir=$ac_optarg ;;
331 kx
331 kx -target | --target | --targe | --targ | --tar | --ta | --t)
331 kx ac_prev=target_alias ;;
331 kx -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
331 kx target_alias=$ac_optarg ;;
331 kx
331 kx -v | -verbose | --verbose | --verbos | --verbo | --verb)
331 kx verbose=yes ;;
331 kx
331 kx -version | --version | --versio | --versi | --vers | -V)
331 kx ac_init_version=: ;;
331 kx
331 kx -with-* | --with-*)
331 kx ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
331 kx # Reject names that are not valid shell variable names.
331 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
331 kx as_fn_error $? "invalid package name: \`$ac_useropt'"
331 kx ac_useropt_orig=$ac_useropt
331 kx ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
331 kx case $ac_user_opts in
331 kx *"
331 kx "with_$ac_useropt"
331 kx "*) ;;
331 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
331 kx ac_unrecognized_sep=', ';;
331 kx esac
331 kx eval with_$ac_useropt=\$ac_optarg ;;
331 kx
331 kx -without-* | --without-*)
331 kx ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
331 kx # Reject names that are not valid shell variable names.
331 kx expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
331 kx as_fn_error $? "invalid package name: \`$ac_useropt'"
331 kx ac_useropt_orig=$ac_useropt
331 kx ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
331 kx case $ac_user_opts in
331 kx *"
331 kx "with_$ac_useropt"
331 kx "*) ;;
331 kx *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
331 kx ac_unrecognized_sep=', ';;
331 kx esac
331 kx eval with_$ac_useropt=no ;;
331 kx
331 kx --x)
331 kx # Obsolete; use --with-x.
331 kx with_x=yes ;;
331 kx
331 kx -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
331 kx | --x-incl | --x-inc | --x-in | --x-i)
331 kx ac_prev=x_includes ;;
331 kx -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
331 kx | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
331 kx x_includes=$ac_optarg ;;
331 kx
331 kx -x-libraries | --x-libraries | --x-librarie | --x-librari \
331 kx | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
331 kx ac_prev=x_libraries ;;
331 kx -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
331 kx | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
331 kx x_libraries=$ac_optarg ;;
331 kx
331 kx -*) as_fn_error $? "unrecognized option: \`$ac_option'
331 kx Try \`$0 --help' for more information"
331 kx ;;
331 kx
331 kx *=*)
331 kx ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
331 kx # Reject names that are not valid shell variable names.
331 kx case $ac_envvar in #(
331 kx '' | [0-9]* | *[!_$as_cr_alnum]* )
331 kx as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
331 kx esac
331 kx eval $ac_envvar=\$ac_optarg
331 kx export $ac_envvar ;;
331 kx
331 kx *)
331 kx # FIXME: should be removed in autoconf 3.0.
331 kx printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
331 kx expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
331 kx printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
331 kx : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
331 kx ;;
331 kx
331 kx esac
331 kx done
331 kx
331 kx if test -n "$ac_prev"; then
331 kx ac_option=--`echo $ac_prev | sed 's/_/-/g'`
331 kx as_fn_error $? "missing argument to $ac_option"
331 kx fi
331 kx
331 kx if test -n "$ac_unrecognized_opts"; then
331 kx case $enable_option_checking in
331 kx no) ;;
331 kx fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
331 kx *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
331 kx esac
331 kx fi
331 kx
331 kx # Check all directory arguments for consistency.
331 kx for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
331 kx datadir sysconfdir sharedstatedir localstatedir includedir \
331 kx oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
331 kx libdir localedir mandir runstatedir
331 kx do
331 kx eval ac_val=\$$ac_var
331 kx # Remove trailing slashes.
331 kx case $ac_val in
331 kx */ )
331 kx ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
331 kx eval $ac_var=\$ac_val;;
331 kx esac
331 kx # Be sure to have absolute directory names.
331 kx case $ac_val in
331 kx [\\/$]* | ?:[\\/]* ) continue;;
331 kx NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
331 kx esac
331 kx as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
331 kx done
331 kx
331 kx # There might be people who depend on the old broken behavior: `$host'
331 kx # used to hold the argument of --host etc.
331 kx # FIXME: To remove some day.
331 kx build=$build_alias
331 kx host=$host_alias
331 kx target=$target_alias
331 kx
331 kx # FIXME: To remove some day.
331 kx if test "x$host_alias" != x; then
331 kx if test "x$build_alias" = x; then
331 kx cross_compiling=maybe
331 kx elif test "x$build_alias" != "x$host_alias"; then
331 kx cross_compiling=yes
331 kx fi
331 kx fi
331 kx
331 kx ac_tool_prefix=
331 kx test -n "$host_alias" && ac_tool_prefix=$host_alias-
331 kx
331 kx test "$silent" = yes && exec 6>/dev/null
331 kx
331 kx
331 kx ac_pwd=`pwd` && test -n "$ac_pwd" &&
331 kx ac_ls_di=`ls -di .` &&
331 kx ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
331 kx as_fn_error $? "working directory cannot be determined"
331 kx test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
331 kx as_fn_error $? "pwd does not report name of working directory"
331 kx
331 kx
331 kx # Find the source files, if location was not specified.
331 kx if test -z "$srcdir"; then
331 kx ac_srcdir_defaulted=yes
331 kx # Try the directory containing this script, then the parent directory.
331 kx ac_confdir=`$as_dirname -- "$as_myself" ||
331 kx $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 kx X"$as_myself" : 'X\(//\)[^/]' \| \
331 kx X"$as_myself" : 'X\(//\)$' \| \
331 kx X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X"$as_myself" |
331 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)[^/].*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx srcdir=$ac_confdir
331 kx if test ! -r "$srcdir/$ac_unique_file"; then
331 kx srcdir=..
331 kx fi
331 kx else
331 kx ac_srcdir_defaulted=no
331 kx fi
331 kx if test ! -r "$srcdir/$ac_unique_file"; then
331 kx test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
331 kx as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
331 kx fi
331 kx ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
331 kx ac_abs_confdir=`(
331 kx cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
331 kx pwd)`
331 kx # When building in place, set srcdir=.
331 kx if test "$ac_abs_confdir" = "$ac_pwd"; then
331 kx srcdir=.
331 kx fi
331 kx # Remove unnecessary trailing slashes from srcdir.
331 kx # Double slashes in file names in object file debugging info
331 kx # mess up M-x gdb in Emacs.
331 kx case $srcdir in
331 kx */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
331 kx esac
331 kx for ac_var in $ac_precious_vars; do
331 kx eval ac_env_${ac_var}_set=\${${ac_var}+set}
331 kx eval ac_env_${ac_var}_value=\$${ac_var}
331 kx eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
331 kx eval ac_cv_env_${ac_var}_value=\$${ac_var}
331 kx done
331 kx
331 kx #
331 kx # Report the --help message.
331 kx #
331 kx if test "$ac_init_help" = "long"; then
331 kx # Omit some internal or obsolete options to make the list less imposing.
331 kx # This message is too long to be a string in the A/UX 3.1 sh.
331 kx cat <<_ACEOF
331 kx \`configure' configures avahi 0.8 to adapt to many kinds of systems.
331 kx
331 kx Usage: $0 [OPTION]... [VAR=VALUE]...
331 kx
331 kx To assign environment variables (e.g., CC, CFLAGS...), specify them as
331 kx VAR=VALUE. See below for descriptions of some of the useful variables.
331 kx
331 kx Defaults for the options are specified in brackets.
331 kx
331 kx Configuration:
331 kx -h, --help display this help and exit
331 kx --help=short display options specific to this package
331 kx --help=recursive display the short help of all the included packages
331 kx -V, --version display version information and exit
331 kx -q, --quiet, --silent do not print \`checking ...' messages
331 kx --cache-file=FILE cache test results in FILE [disabled]
331 kx -C, --config-cache alias for \`--cache-file=config.cache'
331 kx -n, --no-create do not create output files
331 kx --srcdir=DIR find the sources in DIR [configure dir or \`..']
331 kx
331 kx Installation directories:
331 kx --prefix=PREFIX install architecture-independent files in PREFIX
331 kx [$ac_default_prefix]
331 kx --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
331 kx [PREFIX]
331 kx
331 kx By default, \`make install' will install all the files in
331 kx \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
331 kx an installation prefix other than \`$ac_default_prefix' using \`--prefix',
331 kx for instance \`--prefix=\$HOME'.
331 kx
331 kx For better control, use the options below.
331 kx
331 kx Fine tuning of the installation directories:
331 kx --bindir=DIR user executables [EPREFIX/bin]
331 kx --sbindir=DIR system admin executables [EPREFIX/sbin]
331 kx --libexecdir=DIR program executables [EPREFIX/libexec]
331 kx --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
331 kx --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
331 kx --localstatedir=DIR modifiable single-machine data [PREFIX/var]
331 kx --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
331 kx --libdir=DIR object code libraries [EPREFIX/lib]
331 kx --includedir=DIR C header files [PREFIX/include]
331 kx --oldincludedir=DIR C header files for non-gcc [/usr/include]
331 kx --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
331 kx --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
331 kx --infodir=DIR info documentation [DATAROOTDIR/info]
331 kx --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
331 kx --mandir=DIR man documentation [DATAROOTDIR/man]
331 kx --docdir=DIR documentation root [DATAROOTDIR/doc/avahi]
331 kx --htmldir=DIR html documentation [DOCDIR]
331 kx --dvidir=DIR dvi documentation [DOCDIR]
331 kx --pdfdir=DIR pdf documentation [DOCDIR]
331 kx --psdir=DIR ps documentation [DOCDIR]
331 kx _ACEOF
331 kx
331 kx cat <<\_ACEOF
331 kx
331 kx Program names:
331 kx --program-prefix=PREFIX prepend PREFIX to installed program names
331 kx --program-suffix=SUFFIX append SUFFIX to installed program names
331 kx --program-transform-name=PROGRAM run sed PROGRAM on installed program names
331 kx
331 kx System types:
331 kx --build=BUILD configure for building on BUILD [guessed]
331 kx --host=HOST cross-compile to build programs to run on HOST [BUILD]
331 kx _ACEOF
331 kx fi
331 kx
331 kx if test -n "$ac_init_help"; then
331 kx case $ac_init_help in
331 kx short | recursive ) echo "Configuration of avahi 0.8:";;
331 kx esac
331 kx cat <<\_ACEOF
331 kx
331 kx Optional Features:
331 kx --disable-option-checking ignore unrecognized --enable/--with options
331 kx --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
331 kx --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
331 kx --enable-silent-rules less verbose build output (undo: "make V=1")
331 kx --disable-silent-rules verbose build output (undo: "make V=0")
331 kx --enable-dependency-tracking
331 kx do not reject slow dependency extractors
331 kx --disable-dependency-tracking
331 kx speeds up one-time build
331 kx --disable-stack-protector
331 kx Disable GCC's/libc's stack-smashing protection
331 kx --enable-shared[=PKGS] build shared libraries [default=yes]
331 kx --enable-static[=PKGS] build static libraries [default=yes]
331 kx --enable-fast-install[=PKGS]
331 kx optimize for fast installation [default=yes]
331 kx --disable-libtool-lock avoid locking (might break parallel builds)
331 kx --disable-nls do not use Native Language Support
331 kx --disable-rpath do not hardcode runtime library paths
331 kx --disable-glib Disable use of GLib
331 kx --disable-gobject Disable use of GLib GObject
331 kx --enable-introspection=[no/auto/yes]
331 kx Enable introspection for this build
331 kx --disable-libevent Disable use of libevent
331 kx --enable-qt3 Enable building of Qt3 mainloop integration
331 kx --disable-qt4 Disable building of Qt4Core mainloop integration
331 kx --disable-qt5 Disable building of Qt5Core mainloop integration
331 kx --disable-gtk Disable use of GTK+ 2
331 kx --disable-gtk3 Disable use of GTK+ 3
331 kx --disable-dbus Disable use of D-Bus
331 kx --enable-dbm Enable use of DBM
331 kx --disable-gdbm Disable use of GDBM
331 kx --disable-libdaemon Disable use of libdaemon
331 kx --disable-python Disable scripts that depends on python
331 kx --disable-pygobject Disable use of Python GObject
331 kx --disable-python-dbus Disable use of D-Bus in Python
331 kx --disable-mono Disable mono bindings
331 kx --disable-monodoc Disable documentation for mono bindings
331 kx --disable-autoipd Disable building of avahi-autoipd
331 kx --disable-doxygen-doc don't generate any doxygen documentation
331 kx --disable-doxygen-dot don't generate graphics for doxygen documentation
331 kx --enable-doxygen-man generate doxygen manual pages
331 kx --enable-doxygen-rtf generate doxygen RTF documentation
331 kx --disable-doxygen-xml don't generate doxygen XML documentation
331 kx --enable-doxygen-chm generate doxygen compressed HTML help documentation
331 kx --enable-doxygen-chi generate doxygen seperate compressed HTML help index
331 kx file
331 kx --disable-doxygen-html don't generate doxygen plain HTML documentation
331 kx --enable-doxygen-ps generate doxygen PostScript documentation
331 kx --enable-doxygen-pdf generate doxygen PDF documentation
331 kx --enable-core-docs Enable building of documentation for avahi-core
331 kx --disable-manpages Disable building and installation of man pages
331 kx --disable-xmltoman Disable rebuilding of man pages with xmltoman
331 kx --enable-tests Enable building of tests and examples
331 kx --enable-compat-libdns_sd
331 kx Enable compatibility layer for libdns_sd
331 kx --enable-compat-howl Enable compatibility layer for HOWL
331 kx
331 kx Optional Packages:
331 kx --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
331 kx --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
331 kx --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
331 kx both]
331 kx --with-aix-soname=aix|svr4|both
331 kx shared library versioning (aka "SONAME") variant to
331 kx provide on AIX, [default=aix].
331 kx --with-gnu-ld assume the C compiler uses GNU ld [default=no]
331 kx --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
331 kx compiler's sysroot if not specified).
331 kx --with-distro=DISTRO Specify the distribution to target: One of lfs,
331 kx debian, gentoo, archlinux, fedora, mandriva, darwin,
331 kx netbsd, freebsd, slackware, radix or none
331 kx --with-gnu-ld assume the C compiler uses GNU ld [default=no]
331 kx --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
331 kx --without-libiconv-prefix don't search for libiconv in includedir and libdir
331 kx --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
331 kx --without-libintl-prefix don't search for libintl in includedir and libdir
331 kx --with-dbus-sys=<dir> Path to D-Bus system.d directory
331 kx --with-dbus-system-address=<address>
331 kx Path to the D-Bus system socket, you probably want
331 kx to put unix:path= at the start. Only needed for very
331 kx old D-Bus releases
331 kx --with-xml=expat/bsdxml/none
331 kx XML library to use
331 kx --with-python-sys-prefix
331 kx use Python's sys.prefix and sys.exec_prefix values
331 kx --with-python_prefix override the default PYTHON_PREFIX
331 kx --with-python_exec_prefix
331 kx override the default PYTHON_EXEC_PREFIX
331 kx --with-avahi-user=<user>
331 kx User for running avahi-daemon (avahi)
331 kx --with-avahi-group=<group>
331 kx Group for running avahi-daemon (avahi)
331 kx --with-avahi-priv-access-group=<group>
331 kx Priviliged access group for Avahi clients (netdev)
331 kx --with-autoipd-user=<user>
331 kx User for running the avahi-autoipd daemon
331 kx (avahi-autoipd)
331 kx --with-autoipd-group=<group>
331 kx Group for running the avahi-autoipd daemon
331 kx (avahi-autoipd)
331 kx --with-systemdsystemunitdir=DIR
331 kx Directory for systemd service files
331 kx
331 kx Some influential environment variables:
331 kx CC C compiler command
331 kx CFLAGS C compiler flags
331 kx LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
331 kx nonstandard directory <lib dir>
331 kx LIBS libraries to pass to the linker, e.g. -l<library>
331 kx CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
331 kx you have headers in a nonstandard directory <include dir>
331 kx CXX C++ compiler command
331 kx CXXFLAGS C++ compiler flags
331 kx CPP C preprocessor
331 kx LT_SYS_LIBRARY_PATH
331 kx User-defined run-time library search path.
331 kx CXXCPP C++ preprocessor
331 kx PKG_CONFIG path to pkg-config utility
331 kx PKG_CONFIG_PATH
331 kx directories to add to pkg-config's search path
331 kx PKG_CONFIG_LIBDIR
331 kx path overriding pkg-config's built-in search path
331 kx GLIB20_CFLAGS
331 kx C compiler flags for GLIB20, overriding pkg-config
331 kx GLIB20_LIBS linker flags for GLIB20, overriding pkg-config
331 kx GOBJECT_CFLAGS
331 kx C compiler flags for GOBJECT, overriding pkg-config
331 kx GOBJECT_LIBS
331 kx linker flags for GOBJECT, overriding pkg-config
331 kx LIBEVENT_CFLAGS
331 kx C compiler flags for LIBEVENT, overriding pkg-config
331 kx LIBEVENT_LIBS
331 kx linker flags for LIBEVENT, overriding pkg-config
331 kx QT3_CFLAGS C compiler flags for QT3, overriding pkg-config
331 kx QT3_LIBS linker flags for QT3, overriding pkg-config
331 kx QT4_CFLAGS C compiler flags for QT4, overriding pkg-config
331 kx QT4_LIBS linker flags for QT4, overriding pkg-config
331 kx QT5_CFLAGS C compiler flags for QT5, overriding pkg-config
331 kx QT5_LIBS linker flags for QT5, overriding pkg-config
331 kx GTK20_CFLAGS
331 kx C compiler flags for GTK20, overriding pkg-config
331 kx GTK20_LIBS linker flags for GTK20, overriding pkg-config
331 kx GTK30_CFLAGS
331 kx C compiler flags for GTK30, overriding pkg-config
331 kx GTK30_LIBS linker flags for GTK30, overriding pkg-config
331 kx DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
331 kx DBUS_LIBS linker flags for DBUS, overriding pkg-config
331 kx LIBDAEMON_CFLAGS
331 kx C compiler flags for LIBDAEMON, overriding pkg-config
331 kx LIBDAEMON_LIBS
331 kx linker flags for LIBDAEMON, overriding pkg-config
331 kx PYTHON the Python interpreter
331 kx PYGOBJECT_CFLAGS
331 kx C compiler flags for PYGOBJECT, overriding pkg-config
331 kx PYGOBJECT_LIBS
331 kx linker flags for PYGOBJECT, overriding pkg-config
331 kx MONODOC_CFLAGS
331 kx C compiler flags for MONODOC, overriding pkg-config
331 kx MONODOC_LIBS
331 kx linker flags for MONODOC, overriding pkg-config
331 kx DOXYGEN_PAPER_SIZE
331 kx a4wide (default), a4, letter, legal or executive
331 kx
331 kx Use these variables to override the choices made by `configure' or to help
331 kx it to find libraries and programs with nonstandard names/locations.
331 kx
331 kx Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>.
331 kx _ACEOF
331 kx ac_status=$?
331 kx fi
331 kx
331 kx if test "$ac_init_help" = "recursive"; then
331 kx # If there are subdirs, report their specific --help.
331 kx for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
331 kx test -d "$ac_dir" ||
331 kx { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
331 kx continue
331 kx ac_builddir=.
331 kx
331 kx case "$ac_dir" in
331 kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
331 kx *)
331 kx ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
331 kx # A ".." for each directory in $ac_dir_suffix.
331 kx ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
331 kx case $ac_top_builddir_sub in
331 kx "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
331 kx *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
331 kx esac ;;
331 kx esac
331 kx ac_abs_top_builddir=$ac_pwd
331 kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
331 kx # for backward compatibility:
331 kx ac_top_builddir=$ac_top_build_prefix
331 kx
331 kx case $srcdir in
331 kx .) # We are building in place.
331 kx ac_srcdir=.
331 kx ac_top_srcdir=$ac_top_builddir_sub
331 kx ac_abs_top_srcdir=$ac_pwd ;;
331 kx [\\/]* | ?:[\\/]* ) # Absolute name.
331 kx ac_srcdir=$srcdir$ac_dir_suffix;
331 kx ac_top_srcdir=$srcdir
331 kx ac_abs_top_srcdir=$srcdir ;;
331 kx *) # Relative name.
331 kx ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
331 kx ac_top_srcdir=$ac_top_build_prefix$srcdir
331 kx ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
331 kx esac
331 kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
331 kx
331 kx cd "$ac_dir" || { ac_status=$?; continue; }
331 kx # Check for configure.gnu first; this name is used for a wrapper for
331 kx # Metaconfig's "Configure" on case-insensitive file systems.
331 kx if test -f "$ac_srcdir/configure.gnu"; then
331 kx echo &&
331 kx $SHELL "$ac_srcdir/configure.gnu" --help=recursive
331 kx elif test -f "$ac_srcdir/configure"; then
331 kx echo &&
331 kx $SHELL "$ac_srcdir/configure" --help=recursive
331 kx else
331 kx printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
331 kx fi || ac_status=$?
331 kx cd "$ac_pwd" || { ac_status=$?; break; }
331 kx done
331 kx fi
331 kx
331 kx test -n "$ac_init_help" && exit $ac_status
331 kx if $ac_init_version; then
331 kx cat <<\_ACEOF
331 kx avahi configure 0.8
331 kx generated by GNU Autoconf 2.71
331 kx
331 kx Copyright (C) 2021 Free Software Foundation, Inc.
331 kx This configure script is free software; the Free Software Foundation
331 kx gives unlimited permission to copy, distribute and modify it.
331 kx _ACEOF
331 kx exit
331 kx fi
331 kx
331 kx ## ------------------------ ##
331 kx ## Autoconf initialization. ##
331 kx ## ------------------------ ##
331 kx
331 kx # ac_fn_c_try_compile LINENO
331 kx # --------------------------
331 kx # Try to compile conftest.$ac_ext, and return whether this succeeded.
331 kx ac_fn_c_try_compile ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx rm -f conftest.$ac_objext conftest.beam
331 kx if { { ac_try="$ac_compile"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_compile") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx grep -v '^ *+' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx mv -f conftest.er1 conftest.err
331 kx fi
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && {
331 kx test -z "$ac_c_werror_flag" ||
331 kx test ! -s conftest.err
331 kx } && test -s conftest.$ac_objext
331 kx then :
331 kx ac_retval=0
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx ac_retval=1
331 kx fi
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx as_fn_set_status $ac_retval
331 kx
331 kx } # ac_fn_c_try_compile
331 kx
331 kx # ac_fn_cxx_try_compile LINENO
331 kx # ----------------------------
331 kx # Try to compile conftest.$ac_ext, and return whether this succeeded.
331 kx ac_fn_cxx_try_compile ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx rm -f conftest.$ac_objext conftest.beam
331 kx if { { ac_try="$ac_compile"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_compile") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx grep -v '^ *+' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx mv -f conftest.er1 conftest.err
331 kx fi
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && {
331 kx test -z "$ac_cxx_werror_flag" ||
331 kx test ! -s conftest.err
331 kx } && test -s conftest.$ac_objext
331 kx then :
331 kx ac_retval=0
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx ac_retval=1
331 kx fi
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx as_fn_set_status $ac_retval
331 kx
331 kx } # ac_fn_cxx_try_compile
331 kx
331 kx # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
331 kx # -------------------------------------------------------
331 kx # Tests whether HEADER exists and can be compiled using the include files in
331 kx # INCLUDES, setting the cache variable VAR accordingly.
331 kx ac_fn_c_check_header_compile ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
331 kx printf %s "checking for $2... " >&6; }
331 kx if eval test \${$3+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $4
331 kx #include <$2>
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx eval "$3=yes"
331 kx else $as_nop
331 kx eval "$3=no"
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx eval ac_res=\$$3
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
331 kx printf "%s\n" "$ac_res" >&6; }
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx
331 kx } # ac_fn_c_check_header_compile
331 kx
331 kx # ac_fn_c_try_cpp LINENO
331 kx # ----------------------
331 kx # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
331 kx ac_fn_c_try_cpp ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx if { { ac_try="$ac_cpp conftest.$ac_ext"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx grep -v '^ *+' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx mv -f conftest.er1 conftest.err
331 kx fi
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } > conftest.i && {
331 kx test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
331 kx test ! -s conftest.err
331 kx }
331 kx then :
331 kx ac_retval=0
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx ac_retval=1
331 kx fi
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx as_fn_set_status $ac_retval
331 kx
331 kx } # ac_fn_c_try_cpp
331 kx
331 kx # ac_fn_c_try_link LINENO
331 kx # -----------------------
331 kx # Try to link conftest.$ac_ext, and return whether this succeeded.
331 kx ac_fn_c_try_link ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
331 kx if { { ac_try="$ac_link"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_link") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx grep -v '^ *+' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx mv -f conftest.er1 conftest.err
331 kx fi
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && {
331 kx test -z "$ac_c_werror_flag" ||
331 kx test ! -s conftest.err
331 kx } && test -s conftest$ac_exeext && {
331 kx test "$cross_compiling" = yes ||
331 kx test -x conftest$ac_exeext
331 kx }
331 kx then :
331 kx ac_retval=0
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx ac_retval=1
331 kx fi
331 kx # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
331 kx # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
331 kx # interfere with the next link command; also delete a directory that is
331 kx # left behind by Apple's compiler. We do this before executing the actions.
331 kx rm -rf conftest.dSYM conftest_ipa8_conftest.oo
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx as_fn_set_status $ac_retval
331 kx
331 kx } # ac_fn_c_try_link
331 kx
331 kx # ac_fn_c_check_func LINENO FUNC VAR
331 kx # ----------------------------------
331 kx # Tests whether FUNC exists, setting the cache variable VAR accordingly
331 kx ac_fn_c_check_func ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
331 kx printf %s "checking for $2... " >&6; }
331 kx if eval test \${$3+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
331 kx For example, HP-UX 11i <limits.h> declares gettimeofday. */
331 kx #define $2 innocuous_$2
331 kx
331 kx /* System header to define __stub macros and hopefully few prototypes,
331 kx which can conflict with char $2 (); below. */
331 kx
331 kx #include <limits.h>
331 kx #undef $2
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx #ifdef __cplusplus
331 kx extern "C"
331 kx #endif
331 kx char $2 ();
331 kx /* The GNU C library defines this for functions which it implements
331 kx to always fail with ENOSYS. Some functions are actually named
331 kx something starting with __ and the normal name is an alias. */
331 kx #if defined __stub_$2 || defined __stub___$2
331 kx choke me
331 kx #endif
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx return $2 ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx eval "$3=yes"
331 kx else $as_nop
331 kx eval "$3=no"
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx fi
331 kx eval ac_res=\$$3
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
331 kx printf "%s\n" "$ac_res" >&6; }
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx
331 kx } # ac_fn_c_check_func
331 kx
331 kx # ac_fn_cxx_try_cpp LINENO
331 kx # ------------------------
331 kx # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
331 kx ac_fn_cxx_try_cpp ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx if { { ac_try="$ac_cpp conftest.$ac_ext"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx grep -v '^ *+' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx mv -f conftest.er1 conftest.err
331 kx fi
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } > conftest.i && {
331 kx test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
331 kx test ! -s conftest.err
331 kx }
331 kx then :
331 kx ac_retval=0
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx ac_retval=1
331 kx fi
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx as_fn_set_status $ac_retval
331 kx
331 kx } # ac_fn_cxx_try_cpp
331 kx
331 kx # ac_fn_cxx_try_link LINENO
331 kx # -------------------------
331 kx # Try to link conftest.$ac_ext, and return whether this succeeded.
331 kx ac_fn_cxx_try_link ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
331 kx if { { ac_try="$ac_link"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_link") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx grep -v '^ *+' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx mv -f conftest.er1 conftest.err
331 kx fi
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && {
331 kx test -z "$ac_cxx_werror_flag" ||
331 kx test ! -s conftest.err
331 kx } && test -s conftest$ac_exeext && {
331 kx test "$cross_compiling" = yes ||
331 kx test -x conftest$ac_exeext
331 kx }
331 kx then :
331 kx ac_retval=0
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx ac_retval=1
331 kx fi
331 kx # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
331 kx # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
331 kx # interfere with the next link command; also delete a directory that is
331 kx # left behind by Apple's compiler. We do this before executing the actions.
331 kx rm -rf conftest.dSYM conftest_ipa8_conftest.oo
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx as_fn_set_status $ac_retval
331 kx
331 kx } # ac_fn_cxx_try_link
331 kx
331 kx # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
331 kx # -------------------------------------------
331 kx # Tests whether TYPE exists after having included INCLUDES, setting cache
331 kx # variable VAR accordingly.
331 kx ac_fn_c_check_type ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
331 kx printf %s "checking for $2... " >&6; }
331 kx if eval test \${$3+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx eval "$3=no"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $4
331 kx int
331 kx main (void)
331 kx {
331 kx if (sizeof ($2))
331 kx return 0;
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $4
331 kx int
331 kx main (void)
331 kx {
331 kx if (sizeof (($2)))
331 kx return 0;
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx eval "$3=yes"
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx eval ac_res=\$$3
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
331 kx printf "%s\n" "$ac_res" >&6; }
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx
331 kx } # ac_fn_c_check_type
331 kx
331 kx # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
331 kx # ------------------------------------------------------------------
331 kx # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
331 kx # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
331 kx ac_fn_check_decl ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx as_decl_name=`echo $2|sed 's/ *(.*//'`
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
331 kx printf %s "checking whether $as_decl_name is declared... " >&6; }
331 kx if eval test \${$3+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
331 kx eval ac_save_FLAGS=\$$6
331 kx as_fn_append $6 " $5"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $4
331 kx int
331 kx main (void)
331 kx {
331 kx #ifndef $as_decl_name
331 kx #ifdef __cplusplus
331 kx (void) $as_decl_use;
331 kx #else
331 kx (void) $as_decl_name;
331 kx #endif
331 kx #endif
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx eval "$3=yes"
331 kx else $as_nop
331 kx eval "$3=no"
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx eval $6=\$ac_save_FLAGS
331 kx
331 kx fi
331 kx eval ac_res=\$$3
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
331 kx printf "%s\n" "$ac_res" >&6; }
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx
331 kx } # ac_fn_check_decl
331 kx
331 kx # ac_fn_c_try_run LINENO
331 kx # ----------------------
331 kx # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
331 kx # executables *can* be run.
331 kx ac_fn_c_try_run ()
331 kx {
331 kx as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx if { { ac_try="$ac_link"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_link") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
331 kx { { case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_try") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; }
331 kx then :
331 kx ac_retval=0
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: program exited with status $ac_status" >&5
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx ac_retval=$ac_status
331 kx fi
331 kx rm -rf conftest.dSYM conftest_ipa8_conftest.oo
331 kx eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
331 kx as_fn_set_status $ac_retval
331 kx
331 kx } # ac_fn_c_try_run
331 kx ac_configure_args_raw=
331 kx for ac_arg
331 kx do
331 kx case $ac_arg in
331 kx *\'*)
331 kx ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
331 kx esac
331 kx as_fn_append ac_configure_args_raw " '$ac_arg'"
331 kx done
331 kx
331 kx case $ac_configure_args_raw in
331 kx *$as_nl*)
331 kx ac_safe_unquote= ;;
331 kx *)
331 kx ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
331 kx ac_unsafe_a="$ac_unsafe_z#~"
331 kx ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
331 kx ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
331 kx esac
331 kx
331 kx cat >config.log <<_ACEOF
331 kx This file contains any messages produced by compilers while
331 kx running configure, to aid debugging if configure makes a mistake.
331 kx
331 kx It was created by avahi $as_me 0.8, which was
331 kx generated by GNU Autoconf 2.71. Invocation command line was
331 kx
331 kx $ $0$ac_configure_args_raw
331 kx
331 kx _ACEOF
331 kx exec 5>>config.log
331 kx {
331 kx cat <<_ASUNAME
331 kx ## --------- ##
331 kx ## Platform. ##
331 kx ## --------- ##
331 kx
331 kx hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
331 kx uname -m = `(uname -m) 2>/dev/null || echo unknown`
331 kx uname -r = `(uname -r) 2>/dev/null || echo unknown`
331 kx uname -s = `(uname -s) 2>/dev/null || echo unknown`
331 kx uname -v = `(uname -v) 2>/dev/null || echo unknown`
331 kx
331 kx /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
331 kx /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
331 kx
331 kx /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
331 kx /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
331 kx /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
331 kx /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
331 kx /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
331 kx /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
331 kx /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
331 kx
331 kx _ASUNAME
331 kx
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx printf "%s\n" "PATH: $as_dir"
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx } >&5
331 kx
331 kx cat >&5 <<_ACEOF
331 kx
331 kx
331 kx ## ----------- ##
331 kx ## Core tests. ##
331 kx ## ----------- ##
331 kx
331 kx _ACEOF
331 kx
331 kx
331 kx # Keep a trace of the command line.
331 kx # Strip out --no-create and --no-recursion so they do not pile up.
331 kx # Strip out --silent because we don't want to record it for future runs.
331 kx # Also quote any args containing shell meta-characters.
331 kx # Make two passes to allow for proper duplicate-argument suppression.
331 kx ac_configure_args=
331 kx ac_configure_args0=
331 kx ac_configure_args1=
331 kx ac_must_keep_next=false
331 kx for ac_pass in 1 2
331 kx do
331 kx for ac_arg
331 kx do
331 kx case $ac_arg in
331 kx -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
331 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
331 kx | -silent | --silent | --silen | --sile | --sil)
331 kx continue ;;
331 kx *\'*)
331 kx ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
331 kx esac
331 kx case $ac_pass in
331 kx 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
331 kx 2)
331 kx as_fn_append ac_configure_args1 " '$ac_arg'"
331 kx if test $ac_must_keep_next = true; then
331 kx ac_must_keep_next=false # Got value, back to normal.
331 kx else
331 kx case $ac_arg in
331 kx *=* | --config-cache | -C | -disable-* | --disable-* \
331 kx | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
331 kx | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
331 kx | -with-* | --with-* | -without-* | --without-* | --x)
331 kx case "$ac_configure_args0 " in
331 kx "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
331 kx esac
331 kx ;;
331 kx -* ) ac_must_keep_next=true ;;
331 kx esac
331 kx fi
331 kx as_fn_append ac_configure_args " '$ac_arg'"
331 kx ;;
331 kx esac
331 kx done
331 kx done
331 kx { ac_configure_args0=; unset ac_configure_args0;}
331 kx { ac_configure_args1=; unset ac_configure_args1;}
331 kx
331 kx # When interrupted or exit'd, cleanup temporary files, and complete
331 kx # config.log. We remove comments because anyway the quotes in there
331 kx # would cause problems or look ugly.
331 kx # WARNING: Use '\'' to represent an apostrophe within the trap.
331 kx # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
331 kx trap 'exit_status=$?
331 kx # Sanitize IFS.
331 kx IFS=" "" $as_nl"
331 kx # Save into config.log some information that might help in debugging.
331 kx {
331 kx echo
331 kx
331 kx printf "%s\n" "## ---------------- ##
331 kx ## Cache variables. ##
331 kx ## ---------------- ##"
331 kx echo
331 kx # The following way of writing the cache mishandles newlines in values,
331 kx (
331 kx for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
331 kx eval ac_val=\$$ac_var
331 kx case $ac_val in #(
331 kx *${as_nl}*)
331 kx case $ac_var in #(
331 kx *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
331 kx printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
331 kx esac
331 kx case $ac_var in #(
331 kx _ | IFS | as_nl) ;; #(
331 kx BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
331 kx *) { eval $ac_var=; unset $ac_var;} ;;
331 kx esac ;;
331 kx esac
331 kx done
331 kx (set) 2>&1 |
331 kx case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
331 kx *${as_nl}ac_space=\ *)
331 kx sed -n \
331 kx "s/'\''/'\''\\\\'\'''\''/g;
331 kx s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
331 kx ;; #(
331 kx *)
331 kx sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
331 kx ;;
331 kx esac |
331 kx sort
331 kx )
331 kx echo
331 kx
331 kx printf "%s\n" "## ----------------- ##
331 kx ## Output variables. ##
331 kx ## ----------------- ##"
331 kx echo
331 kx for ac_var in $ac_subst_vars
331 kx do
331 kx eval ac_val=\$$ac_var
331 kx case $ac_val in
331 kx *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
331 kx esac
331 kx printf "%s\n" "$ac_var='\''$ac_val'\''"
331 kx done | sort
331 kx echo
331 kx
331 kx if test -n "$ac_subst_files"; then
331 kx printf "%s\n" "## ------------------- ##
331 kx ## File substitutions. ##
331 kx ## ------------------- ##"
331 kx echo
331 kx for ac_var in $ac_subst_files
331 kx do
331 kx eval ac_val=\$$ac_var
331 kx case $ac_val in
331 kx *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
331 kx esac
331 kx printf "%s\n" "$ac_var='\''$ac_val'\''"
331 kx done | sort
331 kx echo
331 kx fi
331 kx
331 kx if test -s confdefs.h; then
331 kx printf "%s\n" "## ----------- ##
331 kx ## confdefs.h. ##
331 kx ## ----------- ##"
331 kx echo
331 kx cat confdefs.h
331 kx echo
331 kx fi
331 kx test "$ac_signal" != 0 &&
331 kx printf "%s\n" "$as_me: caught signal $ac_signal"
331 kx printf "%s\n" "$as_me: exit $exit_status"
331 kx } >&5
331 kx rm -f core *.core core.conftest.* &&
331 kx rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
331 kx exit $exit_status
331 kx ' 0
331 kx for ac_signal in 1 2 13 15; do
331 kx trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
331 kx done
331 kx ac_signal=0
331 kx
331 kx # confdefs.h avoids OS command line length limits that DEFS can exceed.
331 kx rm -f -r conftest* confdefs.h
331 kx
331 kx printf "%s\n" "/* confdefs.h */" > confdefs.h
331 kx
331 kx # Predefined preprocessor variables.
331 kx
331 kx printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
331 kx
331 kx
331 kx # Let the site file select an alternate cache file if it wants to.
331 kx # Prefer an explicitly selected file to automatically selected ones.
331 kx if test -n "$CONFIG_SITE"; then
331 kx ac_site_files="$CONFIG_SITE"
331 kx elif test "x$prefix" != xNONE; then
331 kx ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
331 kx else
331 kx ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
331 kx fi
331 kx
331 kx for ac_site_file in $ac_site_files
331 kx do
331 kx case $ac_site_file in #(
331 kx */*) :
331 kx ;; #(
331 kx *) :
331 kx ac_site_file=./$ac_site_file ;;
331 kx esac
331 kx if test -f "$ac_site_file" && test -r "$ac_site_file"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
331 kx printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
331 kx sed 's/^/| /' "$ac_site_file" >&5
331 kx . "$ac_site_file" \
331 kx || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "failed to load site script $ac_site_file
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx done
331 kx
331 kx if test -r "$cache_file"; then
331 kx # Some versions of bash will fail to source /dev/null (special files
331 kx # actually), so we avoid doing that. DJGPP emulates it as a regular file.
331 kx if test /dev/null != "$cache_file" && test -f "$cache_file"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
331 kx printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
331 kx case $cache_file in
331 kx [\\/]* | ?:[\\/]* ) . "$cache_file";;
331 kx *) . "./$cache_file";;
331 kx esac
331 kx fi
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
331 kx printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
331 kx >$cache_file
331 kx fi
331 kx
331 kx # Test code for whether the C compiler supports C89 (global declarations)
331 kx ac_c_conftest_c89_globals='
331 kx /* Does the compiler advertise C89 conformance?
331 kx Do not test the value of __STDC__, because some compilers set it to 0
331 kx while being otherwise adequately conformant. */
331 kx #if !defined __STDC__
331 kx # error "Compiler does not advertise C89 conformance"
331 kx #endif
331 kx
331 kx #include <stddef.h>
331 kx #include <stdarg.h>
331 kx struct stat;
331 kx /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
331 kx struct buf { int x; };
331 kx struct buf * (*rcsopen) (struct buf *, struct stat *, int);
331 kx static char *e (p, i)
331 kx char **p;
331 kx int i;
331 kx {
331 kx return p[i];
331 kx }
331 kx static char *f (char * (*g) (char **, int), char **p, ...)
331 kx {
331 kx char *s;
331 kx va_list v;
331 kx va_start (v,p);
331 kx s = g (p, va_arg (v,int));
331 kx va_end (v);
331 kx return s;
331 kx }
331 kx
331 kx /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
331 kx function prototypes and stuff, but not \xHH hex character constants.
331 kx These do not provoke an error unfortunately, instead are silently treated
331 kx as an "x". The following induces an error, until -std is added to get
331 kx proper ANSI mode. Curiously \x00 != x always comes out true, for an
331 kx array size at least. It is necessary to write \x00 == 0 to get something
331 kx that is true only with -std. */
331 kx int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
331 kx
331 kx /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
331 kx inside strings and character constants. */
331 kx #define FOO(x) '\''x'\''
331 kx int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
331 kx
331 kx int test (int i, double x);
331 kx struct s1 {int (*f) (int a);};
331 kx struct s2 {int (*f) (double a);};
331 kx int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
331 kx int, int);'
331 kx
331 kx # Test code for whether the C compiler supports C89 (body of main).
331 kx ac_c_conftest_c89_main='
331 kx ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
331 kx '
331 kx
331 kx # Test code for whether the C compiler supports C99 (global declarations)
331 kx ac_c_conftest_c99_globals='
331 kx // Does the compiler advertise C99 conformance?
331 kx #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
331 kx # error "Compiler does not advertise C99 conformance"
331 kx #endif
331 kx
331 kx #include <stdbool.h>
331 kx extern int puts (const char *);
331 kx extern int printf (const char *, ...);
331 kx extern int dprintf (int, const char *, ...);
331 kx extern void *malloc (size_t);
331 kx
331 kx // Check varargs macros. These examples are taken from C99 6.10.3.5.
331 kx // dprintf is used instead of fprintf to avoid needing to declare
331 kx // FILE and stderr.
331 kx #define debug(...) dprintf (2, __VA_ARGS__)
331 kx #define showlist(...) puts (#__VA_ARGS__)
331 kx #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
331 kx static void
331 kx test_varargs_macros (void)
331 kx {
331 kx int x = 1234;
331 kx int y = 5678;
331 kx debug ("Flag");
331 kx debug ("X = %d\n", x);
331 kx showlist (The first, second, and third items.);
331 kx report (x>y, "x is %d but y is %d", x, y);
331 kx }
331 kx
331 kx // Check long long types.
331 kx #define BIG64 18446744073709551615ull
331 kx #define BIG32 4294967295ul
331 kx #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
331 kx #if !BIG_OK
331 kx #error "your preprocessor is broken"
331 kx #endif
331 kx #if BIG_OK
331 kx #else
331 kx #error "your preprocessor is broken"
331 kx #endif
331 kx static long long int bignum = -9223372036854775807LL;
331 kx static unsigned long long int ubignum = BIG64;
331 kx
331 kx struct incomplete_array
331 kx {
331 kx int datasize;
331 kx double data[];
331 kx };
331 kx
331 kx struct named_init {
331 kx int number;
331 kx const wchar_t *name;
331 kx double average;
331 kx };
331 kx
331 kx typedef const char *ccp;
331 kx
331 kx static inline int
331 kx test_restrict (ccp restrict text)
331 kx {
331 kx // See if C++-style comments work.
331 kx // Iterate through items via the restricted pointer.
331 kx // Also check for declarations in for loops.
331 kx for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
331 kx continue;
331 kx return 0;
331 kx }
331 kx
331 kx // Check varargs and va_copy.
331 kx static bool
331 kx test_varargs (const char *format, ...)
331 kx {
331 kx va_list args;
331 kx va_start (args, format);
331 kx va_list args_copy;
331 kx va_copy (args_copy, args);
331 kx
331 kx const char *str = "";
331 kx int number = 0;
331 kx float fnumber = 0;
331 kx
331 kx while (*format)
331 kx {
331 kx switch (*format++)
331 kx {
331 kx case '\''s'\'': // string
331 kx str = va_arg (args_copy, const char *);
331 kx break;
331 kx case '\''d'\'': // int
331 kx number = va_arg (args_copy, int);
331 kx break;
331 kx case '\''f'\'': // float
331 kx fnumber = va_arg (args_copy, double);
331 kx break;
331 kx default:
331 kx break;
331 kx }
331 kx }
331 kx va_end (args_copy);
331 kx va_end (args);
331 kx
331 kx return *str && number && fnumber;
331 kx }
331 kx '
331 kx
331 kx # Test code for whether the C compiler supports C99 (body of main).
331 kx ac_c_conftest_c99_main='
331 kx // Check bool.
331 kx _Bool success = false;
331 kx success |= (argc != 0);
331 kx
331 kx // Check restrict.
331 kx if (test_restrict ("String literal") == 0)
331 kx success = true;
331 kx char *restrict newvar = "Another string";
331 kx
331 kx // Check varargs.
331 kx success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
331 kx test_varargs_macros ();
331 kx
331 kx // Check flexible array members.
331 kx struct incomplete_array *ia =
331 kx malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
331 kx ia->datasize = 10;
331 kx for (int i = 0; i < ia->datasize; ++i)
331 kx ia->data[i] = i * 1.234;
331 kx
331 kx // Check named initializers.
331 kx struct named_init ni = {
331 kx .number = 34,
331 kx .name = L"Test wide string",
331 kx .average = 543.34343,
331 kx };
331 kx
331 kx ni.number = 58;
331 kx
331 kx int dynamic_array[ni.number];
331 kx dynamic_array[0] = argv[0][0];
331 kx dynamic_array[ni.number - 1] = 543;
331 kx
331 kx // work around unused variable warnings
331 kx ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
331 kx || dynamic_array[ni.number - 1] != 543);
331 kx '
331 kx
331 kx # Test code for whether the C compiler supports C11 (global declarations)
331 kx ac_c_conftest_c11_globals='
331 kx // Does the compiler advertise C11 conformance?
331 kx #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
331 kx # error "Compiler does not advertise C11 conformance"
331 kx #endif
331 kx
331 kx // Check _Alignas.
331 kx char _Alignas (double) aligned_as_double;
331 kx char _Alignas (0) no_special_alignment;
331 kx extern char aligned_as_int;
331 kx char _Alignas (0) _Alignas (int) aligned_as_int;
331 kx
331 kx // Check _Alignof.
331 kx enum
331 kx {
331 kx int_alignment = _Alignof (int),
331 kx int_array_alignment = _Alignof (int[100]),
331 kx char_alignment = _Alignof (char)
331 kx };
331 kx _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
331 kx
331 kx // Check _Noreturn.
331 kx int _Noreturn does_not_return (void) { for (;;) continue; }
331 kx
331 kx // Check _Static_assert.
331 kx struct test_static_assert
331 kx {
331 kx int x;
331 kx _Static_assert (sizeof (int) <= sizeof (long int),
331 kx "_Static_assert does not work in struct");
331 kx long int y;
331 kx };
331 kx
331 kx // Check UTF-8 literals.
331 kx #define u8 syntax error!
331 kx char const utf8_literal[] = u8"happens to be ASCII" "another string";
331 kx
331 kx // Check duplicate typedefs.
331 kx typedef long *long_ptr;
331 kx typedef long int *long_ptr;
331 kx typedef long_ptr long_ptr;
331 kx
331 kx // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
331 kx struct anonymous
331 kx {
331 kx union {
331 kx struct { int i; int j; };
331 kx struct { int k; long int l; } w;
331 kx };
331 kx int m;
331 kx } v1;
331 kx '
331 kx
331 kx # Test code for whether the C compiler supports C11 (body of main).
331 kx ac_c_conftest_c11_main='
331 kx _Static_assert ((offsetof (struct anonymous, i)
331 kx == offsetof (struct anonymous, w.k)),
331 kx "Anonymous union alignment botch");
331 kx v1.i = 2;
331 kx v1.w.k = 5;
331 kx ok |= v1.i != 5;
331 kx '
331 kx
331 kx # Test code for whether the C compiler supports C11 (complete).
331 kx ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
331 kx ${ac_c_conftest_c99_globals}
331 kx ${ac_c_conftest_c11_globals}
331 kx
331 kx int
331 kx main (int argc, char **argv)
331 kx {
331 kx int ok = 0;
331 kx ${ac_c_conftest_c89_main}
331 kx ${ac_c_conftest_c99_main}
331 kx ${ac_c_conftest_c11_main}
331 kx return ok;
331 kx }
331 kx "
331 kx
331 kx # Test code for whether the C compiler supports C99 (complete).
331 kx ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
331 kx ${ac_c_conftest_c99_globals}
331 kx
331 kx int
331 kx main (int argc, char **argv)
331 kx {
331 kx int ok = 0;
331 kx ${ac_c_conftest_c89_main}
331 kx ${ac_c_conftest_c99_main}
331 kx return ok;
331 kx }
331 kx "
331 kx
331 kx # Test code for whether the C compiler supports C89 (complete).
331 kx ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
331 kx
331 kx int
331 kx main (int argc, char **argv)
331 kx {
331 kx int ok = 0;
331 kx ${ac_c_conftest_c89_main}
331 kx return ok;
331 kx }
331 kx "
331 kx
331 kx # Test code for whether the C++ compiler supports C++98 (global declarations)
331 kx ac_cxx_conftest_cxx98_globals='
331 kx // Does the compiler advertise C++98 conformance?
331 kx #if !defined __cplusplus || __cplusplus < 199711L
331 kx # error "Compiler does not advertise C++98 conformance"
331 kx #endif
331 kx
331 kx // These inclusions are to reject old compilers that
331 kx // lack the unsuffixed header files.
331 kx #include <cstdlib>
331 kx #include <exception>
331 kx
331 kx // <cassert> and <cstring> are *not* freestanding headers in C++98.
331 kx extern void assert (int);
331 kx namespace std {
331 kx extern int strcmp (const char *, const char *);
331 kx }
331 kx
331 kx // Namespaces, exceptions, and templates were all added after "C++ 2.0".
331 kx using std::exception;
331 kx using std::strcmp;
331 kx
331 kx namespace {
331 kx
331 kx void test_exception_syntax()
331 kx {
331 kx try {
331 kx throw "test";
331 kx } catch (const char *s) {
331 kx // Extra parentheses suppress a warning when building autoconf itself,
331 kx // due to lint rules shared with more typical C programs.
331 kx assert (!(strcmp) (s, "test"));
331 kx }
331 kx }
331 kx
331 kx template <typename T> struct test_template
331 kx {
331 kx T const val;
331 kx explicit test_template(T t) : val(t) {}
331 kx template <typename U> T add(U u) { return static_cast<T>(u) + val; }
331 kx };
331 kx
331 kx } // anonymous namespace
331 kx '
331 kx
331 kx # Test code for whether the C++ compiler supports C++98 (body of main)
331 kx ac_cxx_conftest_cxx98_main='
331 kx assert (argc);
331 kx assert (! argv[0]);
331 kx {
331 kx test_exception_syntax ();
331 kx test_template<double> tt (2.0);
331 kx assert (tt.add (4) == 6.0);
331 kx assert (true && !false);
331 kx }
331 kx '
331 kx
331 kx # Test code for whether the C++ compiler supports C++11 (global declarations)
331 kx ac_cxx_conftest_cxx11_globals='
331 kx // Does the compiler advertise C++ 2011 conformance?
331 kx #if !defined __cplusplus || __cplusplus < 201103L
331 kx # error "Compiler does not advertise C++11 conformance"
331 kx #endif
331 kx
331 kx namespace cxx11test
331 kx {
331 kx constexpr int get_val() { return 20; }
331 kx
331 kx struct testinit
331 kx {
331 kx int i;
331 kx double d;
331 kx };
331 kx
331 kx class delegate
331 kx {
331 kx public:
331 kx delegate(int n) : n(n) {}
331 kx delegate(): delegate(2354) {}
331 kx
331 kx virtual int getval() { return this->n; };
331 kx protected:
331 kx int n;
331 kx };
331 kx
331 kx class overridden : public delegate
331 kx {
331 kx public:
331 kx overridden(int n): delegate(n) {}
331 kx virtual int getval() override final { return this->n * 2; }
331 kx };
331 kx
331 kx class nocopy
331 kx {
331 kx public:
331 kx nocopy(int i): i(i) {}
331 kx nocopy() = default;
331 kx nocopy(const nocopy&) = delete;
331 kx nocopy & operator=(const nocopy&) = delete;
331 kx private:
331 kx int i;
331 kx };
331 kx
331 kx // for testing lambda expressions
331 kx template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
331 kx {
331 kx return f(v);
331 kx }
331 kx
331 kx // for testing variadic templates and trailing return types
331 kx template <typename V> auto sum(V first) -> V
331 kx {
331 kx return first;
331 kx }
331 kx template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
331 kx {
331 kx return first + sum(rest...);
331 kx }
331 kx }
331 kx '
331 kx
331 kx # Test code for whether the C++ compiler supports C++11 (body of main)
331 kx ac_cxx_conftest_cxx11_main='
331 kx {
331 kx // Test auto and decltype
331 kx auto a1 = 6538;
331 kx auto a2 = 48573953.4;
331 kx auto a3 = "String literal";
331 kx
331 kx int total = 0;
331 kx for (auto i = a3; *i; ++i) { total += *i; }
331 kx
331 kx decltype(a2) a4 = 34895.034;
331 kx }
331 kx {
331 kx // Test constexpr
331 kx short sa[cxx11test::get_val()] = { 0 };
331 kx }
331 kx {
331 kx // Test initializer lists
331 kx cxx11test::testinit il = { 4323, 435234.23544 };
331 kx }
331 kx {
331 kx // Test range-based for
331 kx int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
331 kx 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
331 kx for (auto &x : array) { x += 23; }
331 kx }
331 kx {
331 kx // Test lambda expressions
331 kx using cxx11test::eval;
331 kx assert (eval ([](int x) { return x*2; }, 21) == 42);
331 kx double d = 2.0;
331 kx assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
331 kx assert (d == 5.0);
331 kx assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
331 kx assert (d == 5.0);
331 kx }
331 kx {
331 kx // Test use of variadic templates
331 kx using cxx11test::sum;
331 kx auto a = sum(1);
331 kx auto b = sum(1, 2);
331 kx auto c = sum(1.0, 2.0, 3.0);
331 kx }
331 kx {
331 kx // Test constructor delegation
331 kx cxx11test::delegate d1;
331 kx cxx11test::delegate d2();
331 kx cxx11test::delegate d3(45);
331 kx }
331 kx {
331 kx // Test override and final
331 kx cxx11test::overridden o1(55464);
331 kx }
331 kx {
331 kx // Test nullptr
331 kx char *c = nullptr;
331 kx }
331 kx {
331 kx // Test template brackets
331 kx test_template<::test_template<int>> v(test_template<int>(12));
331 kx }
331 kx {
331 kx // Unicode literals
331 kx char const *utf8 = u8"UTF-8 string \u2500";
331 kx char16_t const *utf16 = u"UTF-8 string \u2500";
331 kx char32_t const *utf32 = U"UTF-32 string \u2500";
331 kx }
331 kx '
331 kx
331 kx # Test code for whether the C compiler supports C++11 (complete).
331 kx ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
331 kx ${ac_cxx_conftest_cxx11_globals}
331 kx
331 kx int
331 kx main (int argc, char **argv)
331 kx {
331 kx int ok = 0;
331 kx ${ac_cxx_conftest_cxx98_main}
331 kx ${ac_cxx_conftest_cxx11_main}
331 kx return ok;
331 kx }
331 kx "
331 kx
331 kx # Test code for whether the C compiler supports C++98 (complete).
331 kx ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
331 kx int
331 kx main (int argc, char **argv)
331 kx {
331 kx int ok = 0;
331 kx ${ac_cxx_conftest_cxx98_main}
331 kx return ok;
331 kx }
331 kx "
331 kx
331 kx as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
331 kx as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
331 kx as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
331 kx as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
331 kx as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
331 kx as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
331 kx as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
331 kx as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
331 kx as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
331 kx as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
331 kx as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
331 kx as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
331 kx as_fn_append ac_header_c_list " sys/select.h sys_select_h HAVE_SYS_SELECT_H"
331 kx as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H"
331 kx gt_needs="$gt_needs "
331 kx
331 kx # Auxiliary files required by this configure script.
331 kx ac_aux_files="config.rpath ltmain.sh compile config.guess config.sub missing install-sh"
331 kx
331 kx # Locations in which to look for auxiliary files.
331 kx ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
331 kx
331 kx # Search for a directory containing all of the required auxiliary files,
331 kx # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
331 kx # If we don't find one directory that contains all the files we need,
331 kx # we report the set of missing files from the *first* directory in
331 kx # $ac_aux_dir_candidates and give up.
331 kx ac_missing_aux_files=""
331 kx ac_first_candidate=:
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx as_found=false
331 kx for as_dir in $ac_aux_dir_candidates
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx as_found=:
331 kx
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
331 kx ac_aux_dir_found=yes
331 kx ac_install_sh=
331 kx for ac_aux in $ac_aux_files
331 kx do
331 kx # As a special case, if "install-sh" is required, that requirement
331 kx # can be satisfied by any of "install-sh", "install.sh", or "shtool",
331 kx # and $ac_install_sh is set appropriately for whichever one is found.
331 kx if test x"$ac_aux" = x"install-sh"
331 kx then
331 kx if test -f "${as_dir}install-sh"; then
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
331 kx ac_install_sh="${as_dir}install-sh -c"
331 kx elif test -f "${as_dir}install.sh"; then
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
331 kx ac_install_sh="${as_dir}install.sh -c"
331 kx elif test -f "${as_dir}shtool"; then
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
331 kx ac_install_sh="${as_dir}shtool install -c"
331 kx else
331 kx ac_aux_dir_found=no
331 kx if $ac_first_candidate; then
331 kx ac_missing_aux_files="${ac_missing_aux_files} install-sh"
331 kx else
331 kx break
331 kx fi
331 kx fi
331 kx else
331 kx if test -f "${as_dir}${ac_aux}"; then
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
331 kx else
331 kx ac_aux_dir_found=no
331 kx if $ac_first_candidate; then
331 kx ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
331 kx else
331 kx break
331 kx fi
331 kx fi
331 kx fi
331 kx done
331 kx if test "$ac_aux_dir_found" = yes; then
331 kx ac_aux_dir="$as_dir"
331 kx break
331 kx fi
331 kx ac_first_candidate=false
331 kx
331 kx as_found=false
331 kx done
331 kx IFS=$as_save_IFS
331 kx if $as_found
331 kx then :
331 kx
331 kx else $as_nop
331 kx as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
331 kx fi
331 kx
331 kx
331 kx # These three variables are undocumented and unsupported,
331 kx # and are intended to be withdrawn in a future Autoconf release.
331 kx # They can cause serious problems if a builder's source tree is in a directory
331 kx # whose full name contains unusual characters.
331 kx if test -f "${ac_aux_dir}config.guess"; then
331 kx ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
331 kx fi
331 kx if test -f "${ac_aux_dir}config.sub"; then
331 kx ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
331 kx fi
331 kx if test -f "$ac_aux_dir/configure"; then
331 kx ac_configure="$SHELL ${ac_aux_dir}configure"
331 kx fi
331 kx
331 kx # Check that the precious variables saved in the cache have kept the same
331 kx # value.
331 kx ac_cache_corrupted=false
331 kx for ac_var in $ac_precious_vars; do
331 kx eval ac_old_set=\$ac_cv_env_${ac_var}_set
331 kx eval ac_new_set=\$ac_env_${ac_var}_set
331 kx eval ac_old_val=\$ac_cv_env_${ac_var}_value
331 kx eval ac_new_val=\$ac_env_${ac_var}_value
331 kx case $ac_old_set,$ac_new_set in
331 kx set,)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
331 kx printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
331 kx ac_cache_corrupted=: ;;
331 kx ,set)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
331 kx printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
331 kx ac_cache_corrupted=: ;;
331 kx ,);;
331 kx *)
331 kx if test "x$ac_old_val" != "x$ac_new_val"; then
331 kx # differences in whitespace do not lead to failure.
331 kx ac_old_val_w=`echo x $ac_old_val`
331 kx ac_new_val_w=`echo x $ac_new_val`
331 kx if test "$ac_old_val_w" != "$ac_new_val_w"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
331 kx printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
331 kx ac_cache_corrupted=:
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
331 kx printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
331 kx eval $ac_var=\$ac_old_val
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
331 kx printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
331 kx printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
331 kx fi;;
331 kx esac
331 kx # Pass precious variables to config.status.
331 kx if test "$ac_new_set" = set; then
331 kx case $ac_new_val in
331 kx *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
331 kx *) ac_arg=$ac_var=$ac_new_val ;;
331 kx esac
331 kx case " $ac_configure_args " in
331 kx *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
331 kx *) as_fn_append ac_configure_args " '$ac_arg'" ;;
331 kx esac
331 kx fi
331 kx done
331 kx if $ac_cache_corrupted; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
331 kx printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
331 kx as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
331 kx and start over" "$LINENO" 5
331 kx fi
331 kx ## -------------------- ##
331 kx ## Main body of script. ##
331 kx ## -------------------- ##
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx
331 kx
331 kx ac_config_headers="$ac_config_headers config.h"
331 kx
331 kx am__api_version='1.16'
331 kx
331 kx
331 kx
331 kx # Find a good install program. We prefer a C program (faster),
331 kx # so one script is as good as another. But avoid the broken or
331 kx # incompatible versions:
331 kx # SysV /etc/install, /usr/sbin/install
331 kx # SunOS /usr/etc/install
331 kx # IRIX /sbin/install
331 kx # AIX /bin/install
331 kx # AmigaOS /C/install, which installs bootblocks on floppy discs
331 kx # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
331 kx # AFS /usr/afsws/bin/install, which mishandles nonexistent args
331 kx # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
331 kx # OS/2's system install, which has a completely different semantic
331 kx # ./install, which can be erroneously created by make from ./install.sh.
331 kx # Reject install programs that cannot install multiple files.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
331 kx printf %s "checking for a BSD-compatible install... " >&6; }
331 kx if test -z "$INSTALL"; then
331 kx if test ${ac_cv_path_install+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx # Account for fact that we put trailing slashes in our PATH walk.
331 kx case $as_dir in #((
331 kx ./ | /[cC]/* | \
331 kx /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
331 kx ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
331 kx /usr/ucb/* ) ;;
331 kx *)
331 kx # OSF1 and SCO ODT 3.0 have their own names for install.
331 kx # Don't use installbsd from OSF since it installs stuff as root
331 kx # by default.
331 kx for ac_prog in ginstall scoinst install; do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
331 kx if test $ac_prog = install &&
331 kx grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
331 kx # AIX install. It has an incompatible calling convention.
331 kx :
331 kx elif test $ac_prog = install &&
331 kx grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
331 kx # program-specific install script used by HP pwplus--don't use.
331 kx :
331 kx else
331 kx rm -rf conftest.one conftest.two conftest.dir
331 kx echo one > conftest.one
331 kx echo two > conftest.two
331 kx mkdir conftest.dir
331 kx if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
331 kx test -s conftest.one && test -s conftest.two &&
331 kx test -s conftest.dir/conftest.one &&
331 kx test -s conftest.dir/conftest.two
331 kx then
331 kx ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
331 kx break 3
331 kx fi
331 kx fi
331 kx fi
331 kx done
331 kx done
331 kx ;;
331 kx esac
331 kx
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx rm -rf conftest.one conftest.two conftest.dir
331 kx
331 kx fi
331 kx if test ${ac_cv_path_install+y}; then
331 kx INSTALL=$ac_cv_path_install
331 kx else
331 kx # As a last resort, use the slow shell script. Don't cache a
331 kx # value for INSTALL within a source directory, because that will
331 kx # break other packages using the cache if that directory is
331 kx # removed, or if the value is a relative name.
331 kx INSTALL=$ac_install_sh
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
331 kx printf "%s\n" "$INSTALL" >&6; }
331 kx
331 kx # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
331 kx # It thinks the first close brace ends the variable substitution.
331 kx test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
331 kx
331 kx test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
331 kx
331 kx test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
331 kx printf %s "checking whether build environment is sane... " >&6; }
331 kx # Reject unsafe characters in $srcdir or the absolute working directory
331 kx # name. Accept space and tab only in the latter.
331 kx am_lf='
331 kx '
331 kx case `pwd` in
331 kx *[\\\"\#\$\&\'\`$am_lf]*)
331 kx as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
331 kx esac
331 kx case $srcdir in
331 kx *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
331 kx as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
331 kx esac
331 kx
331 kx # Do 'set' in a subshell so we don't clobber the current shell's
331 kx # arguments. Must try -L first in case configure is actually a
331 kx # symlink; some systems play weird games with the mod time of symlinks
331 kx # (eg FreeBSD returns the mod time of the symlink's containing
331 kx # directory).
331 kx if (
331 kx am_has_slept=no
331 kx for am_try in 1 2; do
331 kx echo "timestamp, slept: $am_has_slept" > conftest.file
331 kx set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
331 kx if test "$*" = "X"; then
331 kx # -L didn't work.
331 kx set X `ls -t "$srcdir/configure" conftest.file`
331 kx fi
331 kx if test "$*" != "X $srcdir/configure conftest.file" \
331 kx && test "$*" != "X conftest.file $srcdir/configure"; then
331 kx
331 kx # If neither matched, then we have a broken ls. This can happen
331 kx # if, for instance, CONFIG_SHELL is bash and it inherits a
331 kx # broken ls alias from the environment. This has actually
331 kx # happened. Such a system could not be considered "sane".
331 kx as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
331 kx alias in your environment" "$LINENO" 5
331 kx fi
331 kx if test "$2" = conftest.file || test $am_try -eq 2; then
331 kx break
331 kx fi
331 kx # Just in case.
331 kx sleep 1
331 kx am_has_slept=yes
331 kx done
331 kx test "$2" = conftest.file
331 kx )
331 kx then
331 kx # Ok.
331 kx :
331 kx else
331 kx as_fn_error $? "newly created file is older than distributed files!
331 kx Check your system clock" "$LINENO" 5
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx # If we didn't sleep, we still need to ensure time stamps of config.status and
331 kx # generated files are strictly newer.
331 kx am_sleep_pid=
331 kx if grep 'slept: no' conftest.file >/dev/null 2>&1; then
331 kx ( sleep 1 ) &
331 kx am_sleep_pid=$!
331 kx fi
331 kx
331 kx rm -f conftest.file
331 kx
331 kx test "$program_prefix" != NONE &&
331 kx program_transform_name="s&^&$program_prefix&;$program_transform_name"
331 kx # Use a double $ so make ignores it.
331 kx test "$program_suffix" != NONE &&
331 kx program_transform_name="s&\$&$program_suffix&;$program_transform_name"
331 kx # Double any \ or $.
331 kx # By default was `s,x,x', remove it if useless.
331 kx ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
331 kx program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
331 kx
331 kx
331 kx # Expand $ac_aux_dir to an absolute path.
331 kx am_aux_dir=`cd "$ac_aux_dir" && pwd`
331 kx
331 kx
331 kx if test x"${MISSING+set}" != xset; then
331 kx MISSING="\${SHELL} '$am_aux_dir/missing'"
331 kx fi
331 kx # Use eval to expand $SHELL
331 kx if eval "$MISSING --is-lightweight"; then
331 kx am_missing_run="$MISSING "
331 kx else
331 kx am_missing_run=
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
331 kx printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
331 kx fi
331 kx
331 kx if test x"${install_sh+set}" != xset; then
331 kx case $am_aux_dir in
331 kx *\ * | *\ *)
331 kx install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
331 kx *)
331 kx install_sh="\${SHELL} $am_aux_dir/install-sh"
331 kx esac
331 kx fi
331 kx
331 kx # Installed binaries are usually stripped using 'strip' when the user
331 kx # run "make install-strip". However 'strip' might not be the right
331 kx # tool to use in cross-compilation environments, therefore Automake
331 kx # will honor the 'STRIP' environment variable to overrule this program.
331 kx if test "$cross_compiling" != no; then
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}strip; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_STRIP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$STRIP"; then
331 kx ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_STRIP="${ac_tool_prefix}strip"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx STRIP=$ac_cv_prog_STRIP
331 kx if test -n "$STRIP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
331 kx printf "%s\n" "$STRIP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_STRIP"; then
331 kx ac_ct_STRIP=$STRIP
331 kx # Extract the first word of "strip", so it can be a program name with args.
331 kx set dummy strip; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_STRIP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_STRIP"; then
331 kx ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_STRIP="strip"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
331 kx if test -n "$ac_ct_STRIP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
331 kx printf "%s\n" "$ac_ct_STRIP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_STRIP" = x; then
331 kx STRIP=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx STRIP=$ac_ct_STRIP
331 kx fi
331 kx else
331 kx STRIP="$ac_cv_prog_STRIP"
331 kx fi
331 kx
331 kx fi
331 kx INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
331 kx printf %s "checking for a race-free mkdir -p... " >&6; }
331 kx if test -z "$MKDIR_P"; then
331 kx if test ${ac_cv_path_mkdir+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_prog in mkdir gmkdir; do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
331 kx case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
331 kx 'mkdir ('*'coreutils) '* | \
331 kx 'BusyBox '* | \
331 kx 'mkdir (fileutils) '4.1*)
331 kx ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
331 kx break 3;;
331 kx esac
331 kx done
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx
331 kx test -d ./--version && rmdir ./--version
331 kx if test ${ac_cv_path_mkdir+y}; then
331 kx MKDIR_P="$ac_cv_path_mkdir -p"
331 kx else
331 kx # As a last resort, use the slow shell script. Don't cache a
331 kx # value for MKDIR_P within a source directory, because that will
331 kx # break other packages using the cache if that directory is
331 kx # removed, or if the value is a relative name.
331 kx MKDIR_P="$ac_install_sh -d"
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
331 kx printf "%s\n" "$MKDIR_P" >&6; }
331 kx
331 kx for ac_prog in gawk mawk nawk awk
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_AWK+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$AWK"; then
331 kx ac_cv_prog_AWK="$AWK" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_AWK="$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx AWK=$ac_cv_prog_AWK
331 kx if test -n "$AWK"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
331 kx printf "%s\n" "$AWK" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$AWK" && break
331 kx done
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
331 kx printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
331 kx set x ${MAKE-make}
331 kx ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
331 kx if eval test \${ac_cv_prog_make_${ac_make}_set+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat >conftest.make <<\_ACEOF
331 kx SHELL = /bin/sh
331 kx all:
331 kx @echo '@@@%%%=$(MAKE)=@@@%%%'
331 kx _ACEOF
331 kx # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
331 kx case `${MAKE-make} -f conftest.make 2>/dev/null` in
331 kx *@@@%%%=?*=@@@%%%*)
331 kx eval ac_cv_prog_make_${ac_make}_set=yes;;
331 kx *)
331 kx eval ac_cv_prog_make_${ac_make}_set=no;;
331 kx esac
331 kx rm -f conftest.make
331 kx fi
331 kx if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx SET_MAKE=
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx SET_MAKE="MAKE=${MAKE-make}"
331 kx fi
331 kx
331 kx rm -rf .tst 2>/dev/null
331 kx mkdir .tst 2>/dev/null
331 kx if test -d .tst; then
331 kx am__leading_dot=.
331 kx else
331 kx am__leading_dot=_
331 kx fi
331 kx rmdir .tst 2>/dev/null
331 kx
331 kx # Check whether --enable-silent-rules was given.
331 kx if test ${enable_silent_rules+y}
331 kx then :
331 kx enableval=$enable_silent_rules;
331 kx fi
331 kx
331 kx case $enable_silent_rules in # (((
331 kx yes) AM_DEFAULT_VERBOSITY=0;;
331 kx no) AM_DEFAULT_VERBOSITY=1;;
331 kx *) AM_DEFAULT_VERBOSITY=1;;
331 kx esac
331 kx am_make=${MAKE-make}
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
331 kx printf %s "checking whether $am_make supports nested variables... " >&6; }
331 kx if test ${am_cv_make_support_nested_variables+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if printf "%s\n" 'TRUE=$(BAR$(V))
331 kx BAR0=false
331 kx BAR1=true
331 kx V=1
331 kx am__doit:
331 kx @$(TRUE)
331 kx .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
331 kx am_cv_make_support_nested_variables=yes
331 kx else
331 kx am_cv_make_support_nested_variables=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
331 kx printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
331 kx if test $am_cv_make_support_nested_variables = yes; then
331 kx AM_V='$(V)'
331 kx AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
331 kx else
331 kx AM_V=$AM_DEFAULT_VERBOSITY
331 kx AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
331 kx fi
331 kx AM_BACKSLASH='\'
331 kx
331 kx if test "`cd $srcdir && pwd`" != "`pwd`"; then
331 kx # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
331 kx # is not polluted with repeated "-I."
331 kx am__isrc=' -I$(srcdir)'
331 kx # test to see if srcdir already configured
331 kx if test -f $srcdir/config.status; then
331 kx as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
331 kx fi
331 kx fi
331 kx
331 kx # test whether we have cygpath
331 kx if test -z "$CYGPATH_W"; then
331 kx if (cygpath --version) >/dev/null 2>/dev/null; then
331 kx CYGPATH_W='cygpath -w'
331 kx else
331 kx CYGPATH_W=echo
331 kx fi
331 kx fi
331 kx
331 kx
331 kx # Define the identity of the package.
331 kx PACKAGE='avahi'
331 kx VERSION='0.8'
331 kx
331 kx
331 kx printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
331 kx
331 kx
331 kx printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
331 kx
331 kx # Some tools Automake needs.
331 kx
331 kx ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
331 kx
331 kx
331 kx AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
331 kx
331 kx
331 kx AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
331 kx
331 kx
331 kx AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
331 kx
331 kx
331 kx MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
331 kx
331 kx # For better backward compatibility. To be removed once Automake 1.9.x
331 kx # dies out for good. For more background, see:
331 kx # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
331 kx # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
331 kx mkdir_p='$(MKDIR_P)'
331 kx
331 kx # We need awk for the "check" target (and possibly the TAP driver). The
331 kx # system "awk" is bad on some platforms.
331 kx # Always define AMTAR for backward compatibility. Yes, it's still used
331 kx # in the wild :-( We should find a proper way to deprecate it ...
331 kx AMTAR='$${TAR-tar}'
331 kx
331 kx
331 kx # We'll loop over all known methods to create a tar archive until one works.
331 kx _am_tools='gnutar pax cpio none'
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
331 kx printf %s "checking how to create a pax tar archive... " >&6; }
331 kx
331 kx # Go ahead even if we have the value already cached. We do so because we
331 kx # need to set the values for the 'am__tar' and 'am__untar' variables.
331 kx _am_tools=${am_cv_prog_tar_pax-$_am_tools}
331 kx
331 kx for _am_tool in $_am_tools; do
331 kx case $_am_tool in
331 kx gnutar)
331 kx for _am_tar in tar gnutar gtar; do
331 kx { echo "$as_me:$LINENO: $_am_tar --version" >&5
331 kx ($_am_tar --version) >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); } && break
331 kx done
331 kx am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
331 kx am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
331 kx am__untar="$_am_tar -xf -"
331 kx ;;
331 kx plaintar)
331 kx # Must skip GNU tar: if it does not support --format= it doesn't create
331 kx # ustar tarball either.
331 kx (tar --version) >/dev/null 2>&1 && continue
331 kx am__tar='tar chf - "$$tardir"'
331 kx am__tar_='tar chf - "$tardir"'
331 kx am__untar='tar xf -'
331 kx ;;
331 kx pax)
331 kx am__tar='pax -L -x pax -w "$$tardir"'
331 kx am__tar_='pax -L -x pax -w "$tardir"'
331 kx am__untar='pax -r'
331 kx ;;
331 kx cpio)
331 kx am__tar='find "$$tardir" -print | cpio -o -H pax -L'
331 kx am__tar_='find "$tardir" -print | cpio -o -H pax -L'
331 kx am__untar='cpio -i -H pax -d'
331 kx ;;
331 kx none)
331 kx am__tar=false
331 kx am__tar_=false
331 kx am__untar=false
331 kx ;;
331 kx esac
331 kx
331 kx # If the value was cached, stop now. We just wanted to have am__tar
331 kx # and am__untar set.
331 kx test -n "${am_cv_prog_tar_pax}" && break
331 kx
331 kx # tar/untar a dummy directory, and stop if the command works.
331 kx rm -rf conftest.dir
331 kx mkdir conftest.dir
331 kx echo GrepMe > conftest.dir/file
331 kx { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
331 kx (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); }
331 kx rm -rf conftest.dir
331 kx if test -s conftest.tar; then
331 kx { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
331 kx ($am__untar <conftest.tar) >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); }
331 kx { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
331 kx (cat conftest.dir/file) >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); }
331 kx grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
331 kx fi
331 kx done
331 kx rm -rf conftest.dir
331 kx
331 kx if test ${am_cv_prog_tar_pax+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx am_cv_prog_tar_pax=$_am_tool
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
331 kx printf "%s\n" "$am_cv_prog_tar_pax" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Variables for tags utilities; see am/tags.am
331 kx if test -z "$CTAGS"; then
331 kx CTAGS=ctags
331 kx fi
331 kx
331 kx if test -z "$ETAGS"; then
331 kx ETAGS=etags
331 kx fi
331 kx
331 kx if test -z "$CSCOPE"; then
331 kx CSCOPE=cscope
331 kx fi
331 kx
331 kx
331 kx
331 kx # POSIX will say in a future version that running "rm -f" with no argument
331 kx # is OK; and we want to be able to make that assumption in our Makefile
331 kx # recipes. So use an aggressive probe to check that the usage we want is
331 kx # actually supported "in the wild" to an acceptable degree.
331 kx # See automake bug#10828.
331 kx # To make any issue more visible, cause the running configure to be aborted
331 kx # by default if the 'rm' program in use doesn't match our expectations; the
331 kx # user can still override this though.
331 kx if rm -f && rm -fr && rm -rf; then : OK; else
331 kx cat >&2 <<'END'
331 kx Oops!
331 kx
331 kx Your 'rm' program seems unable to run without file operands specified
331 kx on the command line, even when the '-f' option is present. This is contrary
331 kx to the behaviour of most rm programs out there, and not conforming with
331 kx the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
331 kx
331 kx Please tell bug-automake@gnu.org about your system, including the value
331 kx of your $PATH and any error possibly output before this message. This
331 kx can help us improve future automake versions.
331 kx
331 kx END
331 kx if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
331 kx echo 'Configuration will proceed anyway, since you have set the' >&2
331 kx echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
331 kx echo >&2
331 kx else
331 kx cat >&2 <<'END'
331 kx Aborting the configuration process, to ensure you take notice of the issue.
331 kx
331 kx You can download and install GNU coreutils to get an 'rm' implementation
331 kx that behaves properly: <https://www.gnu.org/software/coreutils/>.
331 kx
331 kx If you want to complete the configuration process using your problematic
331 kx 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
331 kx to "yes", and re-run configure.
331 kx
331 kx END
331 kx as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
331 kx fi
331 kx fi
331 kx
331 kx
331 kx PACKAGE_URL=http://avahi.org/
331 kx
331 kx
331 kx LIBAVAHI_COMMON_VERSION_INFO=8:4:5
331 kx
331 kx LIBAVAHI_CORE_VERSION_INFO=8:0:1
331 kx
331 kx LIBAVAHI_CLIENT_VERSION_INFO=5:9:2
331 kx
331 kx LIBAVAHI_GLIB_VERSION_INFO=1:2:0
331 kx
331 kx LIBAVAHI_LIBEVENT_VERSION_INFO=1:0:0
331 kx
331 kx LIBAVAHI_GOBJECT_VERSION_INFO=0:5:0
331 kx
331 kx LIBAVAHI_QT3_VERSION_INFO=1:2:0
331 kx
331 kx LIBAVAHI_QT4_VERSION_INFO=1:2:0
331 kx
331 kx LIBAVAHI_QT5_VERSION_INFO=1:2:0
331 kx
331 kx LIBAVAHI_UI_VERSION_INFO=1:4:1
331 kx
331 kx
331 kx # Do not touch these, since they we took this version-info from upstream HOWL/Bonjour
331 kx LIBAVAHI_COMPAT_LIBDNS_SD_VERSION_INFO=1:0:0
331 kx
331 kx LIBAVAHI_COMPAT_HOWL_VERSION_INFO=0:0:0
331 kx
331 kx HOWL_COMPAT_VERSION=0.9.8
331 kx
331 kx
331 kx
331 kx
331 kx # Make sure we can run config.sub.
331 kx $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
331 kx as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
331 kx printf %s "checking build system type... " >&6; }
331 kx if test ${ac_cv_build+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_build_alias=$build_alias
331 kx test "x$ac_build_alias" = x &&
331 kx ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
331 kx test "x$ac_build_alias" = x &&
331 kx as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
331 kx ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
331 kx as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
331 kx printf "%s\n" "$ac_cv_build" >&6; }
331 kx case $ac_cv_build in
331 kx *-*-*) ;;
331 kx *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
331 kx esac
331 kx build=$ac_cv_build
331 kx ac_save_IFS=$IFS; IFS='-'
331 kx set x $ac_cv_build
331 kx shift
331 kx build_cpu=$1
331 kx build_vendor=$2
331 kx shift; shift
331 kx # Remember, the first character of IFS is used to create $*,
331 kx # except with old shells:
331 kx build_os=$*
331 kx IFS=$ac_save_IFS
331 kx case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
331 kx printf %s "checking host system type... " >&6; }
331 kx if test ${ac_cv_host+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test "x$host_alias" = x; then
331 kx ac_cv_host=$ac_cv_build
331 kx else
331 kx ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
331 kx as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
331 kx printf "%s\n" "$ac_cv_host" >&6; }
331 kx case $ac_cv_host in
331 kx *-*-*) ;;
331 kx *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
331 kx esac
331 kx host=$ac_cv_host
331 kx ac_save_IFS=$IFS; IFS='-'
331 kx set x $ac_cv_host
331 kx shift
331 kx host_cpu=$1
331 kx host_vendor=$2
331 kx shift; shift
331 kx # Remember, the first character of IFS is used to create $*,
331 kx # except with old shells:
331 kx host_os=$*
331 kx IFS=$ac_save_IFS
331 kx case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
331 kx
331 kx
331 kx
331 kx # Check whether --enable-silent-rules was given.
331 kx if test ${enable_silent_rules+y}
331 kx then :
331 kx enableval=$enable_silent_rules;
331 kx fi
331 kx
331 kx case $enable_silent_rules in # (((
331 kx yes) AM_DEFAULT_VERBOSITY=0;;
331 kx no) AM_DEFAULT_VERBOSITY=1;;
331 kx *) AM_DEFAULT_VERBOSITY=0;;
331 kx esac
331 kx am_make=${MAKE-make}
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
331 kx printf %s "checking whether $am_make supports nested variables... " >&6; }
331 kx if test ${am_cv_make_support_nested_variables+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if printf "%s\n" 'TRUE=$(BAR$(V))
331 kx BAR0=false
331 kx BAR1=true
331 kx V=1
331 kx am__doit:
331 kx @$(TRUE)
331 kx .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
331 kx am_cv_make_support_nested_variables=yes
331 kx else
331 kx am_cv_make_support_nested_variables=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
331 kx printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
331 kx if test $am_cv_make_support_nested_variables = yes; then
331 kx AM_V='$(V)'
331 kx AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
331 kx else
331 kx AM_V=$AM_DEFAULT_VERBOSITY
331 kx AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
331 kx fi
331 kx AM_BACKSLASH='\'
331 kx
331 kx
331 kx # Extract the first word of "stow", so it can be a program name with args.
331 kx set dummy stow; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_STOW+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$STOW"; then
331 kx ac_cv_prog_STOW="$STOW" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_STOW="yes"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx test -z "$ac_cv_prog_STOW" && ac_cv_prog_STOW="no"
331 kx fi
331 kx fi
331 kx STOW=$ac_cv_prog_STOW
331 kx if test -n "$STOW"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STOW" >&5
331 kx printf "%s\n" "$STOW" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx
331 kx if test "x$STOW" = "xyes" && test -d /usr/local/stow
331 kx then :
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
331 kx printf "%s\n" "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
331 kx ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
331 kx
331 kx fi
331 kx
331 kx # Checks for programs.
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}gcc; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$CC"; then
331 kx ac_cv_prog_CC="$CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_CC="${ac_tool_prefix}gcc"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx CC=$ac_cv_prog_CC
331 kx if test -n "$CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
331 kx printf "%s\n" "$CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_CC"; then
331 kx ac_ct_CC=$CC
331 kx # Extract the first word of "gcc", so it can be a program name with args.
331 kx set dummy gcc; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_CC"; then
331 kx ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_CC="gcc"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
331 kx if test -n "$ac_ct_CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
331 kx printf "%s\n" "$ac_ct_CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_CC" = x; then
331 kx CC=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx CC=$ac_ct_CC
331 kx fi
331 kx else
331 kx CC="$ac_cv_prog_CC"
331 kx fi
331 kx
331 kx if test -z "$CC"; then
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}cc; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$CC"; then
331 kx ac_cv_prog_CC="$CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_CC="${ac_tool_prefix}cc"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx CC=$ac_cv_prog_CC
331 kx if test -n "$CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
331 kx printf "%s\n" "$CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx fi
331 kx if test -z "$CC"; then
331 kx # Extract the first word of "cc", so it can be a program name with args.
331 kx set dummy cc; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$CC"; then
331 kx ac_cv_prog_CC="$CC" # Let the user override the test.
331 kx else
331 kx ac_prog_rejected=no
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
331 kx ac_prog_rejected=yes
331 kx continue
331 kx fi
331 kx ac_cv_prog_CC="cc"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx if test $ac_prog_rejected = yes; then
331 kx # We found a bogon in the path, so make sure we never use it.
331 kx set dummy $ac_cv_prog_CC
331 kx shift
331 kx if test $# != 0; then
331 kx # We chose a different compiler from the bogus one.
331 kx # However, it has the same basename, so the bogon will be chosen
331 kx # first if we set CC to just the basename; use the full file name.
331 kx shift
331 kx ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx CC=$ac_cv_prog_CC
331 kx if test -n "$CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
331 kx printf "%s\n" "$CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$CC"; then
331 kx if test -n "$ac_tool_prefix"; then
331 kx for ac_prog in cl.exe
331 kx do
331 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$CC"; then
331 kx ac_cv_prog_CC="$CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx CC=$ac_cv_prog_CC
331 kx if test -n "$CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
331 kx printf "%s\n" "$CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$CC" && break
331 kx done
331 kx fi
331 kx if test -z "$CC"; then
331 kx ac_ct_CC=$CC
331 kx for ac_prog in cl.exe
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_CC"; then
331 kx ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_CC="$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
331 kx if test -n "$ac_ct_CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
331 kx printf "%s\n" "$ac_ct_CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$ac_ct_CC" && break
331 kx done
331 kx
331 kx if test "x$ac_ct_CC" = x; then
331 kx CC=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx CC=$ac_ct_CC
331 kx fi
331 kx fi
331 kx
331 kx fi
331 kx if test -z "$CC"; then
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}clang; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$CC"; then
331 kx ac_cv_prog_CC="$CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_CC="${ac_tool_prefix}clang"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx CC=$ac_cv_prog_CC
331 kx if test -n "$CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
331 kx printf "%s\n" "$CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_CC"; then
331 kx ac_ct_CC=$CC
331 kx # Extract the first word of "clang", so it can be a program name with args.
331 kx set dummy clang; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_CC"; then
331 kx ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_CC="clang"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_CC=$ac_cv_prog_ac_ct_CC
331 kx if test -n "$ac_ct_CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
331 kx printf "%s\n" "$ac_ct_CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_CC" = x; then
331 kx CC=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx CC=$ac_ct_CC
331 kx fi
331 kx else
331 kx CC="$ac_cv_prog_CC"
331 kx fi
331 kx
331 kx fi
331 kx
331 kx
331 kx test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "no acceptable C compiler found in \$PATH
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx
331 kx # Provide some information about the compiler.
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
331 kx set X $ac_compile
331 kx ac_compiler=$2
331 kx for ac_option in --version -v -V -qversion -version; do
331 kx { { ac_try="$ac_compiler $ac_option >&5"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_compiler $ac_option >&5") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx sed '10a\
331 kx ... rest of stderr output deleted ...
331 kx 10q' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx fi
331 kx rm -f conftest.er1 conftest.err
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx done
331 kx
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx ac_clean_files_save=$ac_clean_files
331 kx ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
331 kx # Try to create an executable without -o first, disregard a.out.
331 kx # It will help us diagnose broken compilers, and finding out an intuition
331 kx # of exeext.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
331 kx printf %s "checking whether the C compiler works... " >&6; }
331 kx ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
331 kx
331 kx # The possible output files:
331 kx ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
331 kx
331 kx ac_rmfiles=
331 kx for ac_file in $ac_files
331 kx do
331 kx case $ac_file in
331 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
331 kx * ) ac_rmfiles="$ac_rmfiles $ac_file";;
331 kx esac
331 kx done
331 kx rm -f $ac_rmfiles
331 kx
331 kx if { { ac_try="$ac_link_default"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_link_default") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx then :
331 kx # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
331 kx # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
331 kx # in a Makefile. We should not override ac_cv_exeext if it was cached,
331 kx # so that the user can short-circuit this test for compilers unknown to
331 kx # Autoconf.
331 kx for ac_file in $ac_files ''
331 kx do
331 kx test -f "$ac_file" || continue
331 kx case $ac_file in
331 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
331 kx ;;
331 kx [ab].out )
331 kx # We found the default executable, but exeext='' is most
331 kx # certainly right.
331 kx break;;
331 kx *.* )
331 kx if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
331 kx then :; else
331 kx ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
331 kx fi
331 kx # We set ac_cv_exeext here because the later test for it is not
331 kx # safe: cross compilers may not add the suffix if given an `-o'
331 kx # argument, so we may need to know it at that point already.
331 kx # Even if this section looks crufty: it has the advantage of
331 kx # actually working.
331 kx break;;
331 kx * )
331 kx break;;
331 kx esac
331 kx done
331 kx test "$ac_cv_exeext" = no && ac_cv_exeext=
331 kx
331 kx else $as_nop
331 kx ac_file=''
331 kx fi
331 kx if test -z "$ac_file"
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error 77 "C compiler cannot create executables
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
331 kx printf %s "checking for C compiler default output file name... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
331 kx printf "%s\n" "$ac_file" >&6; }
331 kx ac_exeext=$ac_cv_exeext
331 kx
331 kx rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
331 kx ac_clean_files=$ac_clean_files_save
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
331 kx printf %s "checking for suffix of executables... " >&6; }
331 kx if { { ac_try="$ac_link"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_link") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx then :
331 kx # If both `conftest.exe' and `conftest' are `present' (well, observable)
331 kx # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
331 kx # work properly (i.e., refer to `conftest.exe'), while it won't with
331 kx # `rm'.
331 kx for ac_file in conftest.exe conftest conftest.*; do
331 kx test -f "$ac_file" || continue
331 kx case $ac_file in
331 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
331 kx *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
331 kx break;;
331 kx * ) break;;
331 kx esac
331 kx done
331 kx else $as_nop
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "cannot compute suffix of executables: cannot compile and link
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx rm -f conftest conftest$ac_cv_exeext
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
331 kx printf "%s\n" "$ac_cv_exeext" >&6; }
331 kx
331 kx rm -f conftest.$ac_ext
331 kx EXEEXT=$ac_cv_exeext
331 kx ac_exeext=$EXEEXT
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <stdio.h>
331 kx int
331 kx main (void)
331 kx {
331 kx FILE *f = fopen ("conftest.out", "w");
331 kx return ferror (f) || fclose (f) != 0;
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx ac_clean_files="$ac_clean_files conftest.out"
331 kx # Check that the compiler produces executables we can run. If not, either
331 kx # the compiler is broken, or we cross compile.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
331 kx printf %s "checking whether we are cross compiling... " >&6; }
331 kx if test "$cross_compiling" != yes; then
331 kx { { ac_try="$ac_link"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_link") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx if { ac_try='./conftest$ac_cv_exeext'
331 kx { { case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_try") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; }; then
331 kx cross_compiling=no
331 kx else
331 kx if test "$cross_compiling" = maybe; then
331 kx cross_compiling=yes
331 kx else
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error 77 "cannot run C compiled programs.
331 kx If you meant to cross compile, use \`--host'.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
331 kx printf "%s\n" "$cross_compiling" >&6; }
331 kx
331 kx rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
331 kx ac_clean_files=$ac_clean_files_save
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
331 kx printf %s "checking for suffix of object files... " >&6; }
331 kx if test ${ac_cv_objext+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx rm -f conftest.o conftest.obj
331 kx if { { ac_try="$ac_compile"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_compile") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx then :
331 kx for ac_file in conftest.o conftest.obj conftest.*; do
331 kx test -f "$ac_file" || continue;
331 kx case $ac_file in
331 kx *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
331 kx *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
331 kx break;;
331 kx esac
331 kx done
331 kx else $as_nop
331 kx printf "%s\n" "$as_me: failed program was:" >&5
331 kx sed 's/^/| /' conftest.$ac_ext >&5
331 kx
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "cannot compute suffix of object files: cannot compile
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx rm -f conftest.$ac_cv_objext conftest.$ac_ext
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
331 kx printf "%s\n" "$ac_cv_objext" >&6; }
331 kx OBJEXT=$ac_cv_objext
331 kx ac_objext=$OBJEXT
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
331 kx printf %s "checking whether the compiler supports GNU C... " >&6; }
331 kx if test ${ac_cv_c_compiler_gnu+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx #ifndef __GNUC__
331 kx choke me
331 kx #endif
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_compiler_gnu=yes
331 kx else $as_nop
331 kx ac_compiler_gnu=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ac_cv_c_compiler_gnu=$ac_compiler_gnu
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
331 kx printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx if test $ac_compiler_gnu = yes; then
331 kx GCC=yes
331 kx else
331 kx GCC=
331 kx fi
331 kx ac_test_CFLAGS=${CFLAGS+y}
331 kx ac_save_CFLAGS=$CFLAGS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
331 kx printf %s "checking whether $CC accepts -g... " >&6; }
331 kx if test ${ac_cv_prog_cc_g+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_save_c_werror_flag=$ac_c_werror_flag
331 kx ac_c_werror_flag=yes
331 kx ac_cv_prog_cc_g=no
331 kx CFLAGS="-g"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cc_g=yes
331 kx else $as_nop
331 kx CFLAGS=""
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx ac_c_werror_flag=$ac_save_c_werror_flag
331 kx CFLAGS="-g"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cc_g=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ac_c_werror_flag=$ac_save_c_werror_flag
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
331 kx printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
331 kx if test $ac_test_CFLAGS; then
331 kx CFLAGS=$ac_save_CFLAGS
331 kx elif test $ac_cv_prog_cc_g = yes; then
331 kx if test "$GCC" = yes; then
331 kx CFLAGS="-g -O2"
331 kx else
331 kx CFLAGS="-g"
331 kx fi
331 kx else
331 kx if test "$GCC" = yes; then
331 kx CFLAGS="-O2"
331 kx else
331 kx CFLAGS=
331 kx fi
331 kx fi
331 kx ac_prog_cc_stdc=no
331 kx if test x$ac_prog_cc_stdc = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
331 kx printf %s "checking for $CC option to enable C11 features... " >&6; }
331 kx if test ${ac_cv_prog_cc_c11+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_cv_prog_cc_c11=no
331 kx ac_save_CC=$CC
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_c_conftest_c11_program
331 kx _ACEOF
331 kx for ac_arg in '' -std=gnu11
331 kx do
331 kx CC="$ac_save_CC $ac_arg"
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cc_c11=$ac_arg
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam
331 kx test "x$ac_cv_prog_cc_c11" != "xno" && break
331 kx done
331 kx rm -f conftest.$ac_ext
331 kx CC=$ac_save_CC
331 kx fi
331 kx
331 kx if test "x$ac_cv_prog_cc_c11" = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
331 kx printf "%s\n" "unsupported" >&6; }
331 kx else $as_nop
331 kx if test "x$ac_cv_prog_cc_c11" = x
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
331 kx printf "%s\n" "none needed" >&6; }
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
331 kx printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
331 kx CC="$CC $ac_cv_prog_cc_c11"
331 kx fi
331 kx ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
331 kx ac_prog_cc_stdc=c11
331 kx fi
331 kx fi
331 kx if test x$ac_prog_cc_stdc = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
331 kx printf %s "checking for $CC option to enable C99 features... " >&6; }
331 kx if test ${ac_cv_prog_cc_c99+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_cv_prog_cc_c99=no
331 kx ac_save_CC=$CC
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_c_conftest_c99_program
331 kx _ACEOF
331 kx for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
331 kx do
331 kx CC="$ac_save_CC $ac_arg"
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cc_c99=$ac_arg
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam
331 kx test "x$ac_cv_prog_cc_c99" != "xno" && break
331 kx done
331 kx rm -f conftest.$ac_ext
331 kx CC=$ac_save_CC
331 kx fi
331 kx
331 kx if test "x$ac_cv_prog_cc_c99" = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
331 kx printf "%s\n" "unsupported" >&6; }
331 kx else $as_nop
331 kx if test "x$ac_cv_prog_cc_c99" = x
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
331 kx printf "%s\n" "none needed" >&6; }
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
331 kx printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
331 kx CC="$CC $ac_cv_prog_cc_c99"
331 kx fi
331 kx ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
331 kx ac_prog_cc_stdc=c99
331 kx fi
331 kx fi
331 kx if test x$ac_prog_cc_stdc = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
331 kx printf %s "checking for $CC option to enable C89 features... " >&6; }
331 kx if test ${ac_cv_prog_cc_c89+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_cv_prog_cc_c89=no
331 kx ac_save_CC=$CC
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_c_conftest_c89_program
331 kx _ACEOF
331 kx for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
331 kx do
331 kx CC="$ac_save_CC $ac_arg"
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cc_c89=$ac_arg
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam
331 kx test "x$ac_cv_prog_cc_c89" != "xno" && break
331 kx done
331 kx rm -f conftest.$ac_ext
331 kx CC=$ac_save_CC
331 kx fi
331 kx
331 kx if test "x$ac_cv_prog_cc_c89" = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
331 kx printf "%s\n" "unsupported" >&6; }
331 kx else $as_nop
331 kx if test "x$ac_cv_prog_cc_c89" = x
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
331 kx printf "%s\n" "none needed" >&6; }
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
331 kx printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
331 kx CC="$CC $ac_cv_prog_cc_c89"
331 kx fi
331 kx ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
331 kx ac_prog_cc_stdc=c89
331 kx fi
331 kx fi
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
331 kx printf %s "checking whether $CC understands -c and -o together... " >&6; }
331 kx if test ${am_cv_prog_cc_c_o+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx # Make sure it works both with $CC and with simple cc.
331 kx # Following AC_PROG_CC_C_O, we do the test twice because some
331 kx # compilers refuse to overwrite an existing .o file with -o,
331 kx # though they will create one.
331 kx am_cv_prog_cc_c_o=yes
331 kx for am_i in 1 2; do
331 kx if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
331 kx ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); } \
331 kx && test -f conftest2.$ac_objext; then
331 kx : OK
331 kx else
331 kx am_cv_prog_cc_c_o=no
331 kx break
331 kx fi
331 kx done
331 kx rm -f core conftest*
331 kx unset am_i
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
331 kx printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
331 kx if test "$am_cv_prog_cc_c_o" != yes; then
331 kx # Losing compiler, so override with the script.
331 kx # FIXME: It is wrong to rewrite CC.
331 kx # But if we don't then we get into trouble of one sort or another.
331 kx # A longer-term fix would be to have automake use am__CC in this case,
331 kx # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
331 kx CC="$am_aux_dir/compile $CC"
331 kx fi
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx DEPDIR="${am__leading_dot}deps"
331 kx
331 kx ac_config_commands="$ac_config_commands depfiles"
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
331 kx printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
331 kx cat > confinc.mk << 'END'
331 kx am__doit:
331 kx @echo this is the am__doit target >confinc.out
331 kx .PHONY: am__doit
331 kx END
331 kx am__include="#"
331 kx am__quote=
331 kx # BSD make does it like this.
331 kx echo '.include "confinc.mk" # ignored' > confmf.BSD
331 kx # Other make implementations (GNU, Solaris 10, AIX) do it like this.
331 kx echo 'include confinc.mk # ignored' > confmf.GNU
331 kx _am_result=no
331 kx for s in GNU BSD; do
331 kx { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
331 kx (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); }
331 kx case $?:`cat confinc.out 2>/dev/null` in #(
331 kx '0:this is the am__doit target') :
331 kx case $s in #(
331 kx BSD) :
331 kx am__include='.include' am__quote='"' ;; #(
331 kx *) :
331 kx am__include='include' am__quote='' ;;
331 kx esac ;; #(
331 kx *) :
331 kx ;;
331 kx esac
331 kx if test "$am__include" != "#"; then
331 kx _am_result="yes ($s style)"
331 kx break
331 kx fi
331 kx done
331 kx rm -f confinc.* confmf.*
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
331 kx printf "%s\n" "${_am_result}" >&6; }
331 kx
331 kx # Check whether --enable-dependency-tracking was given.
331 kx if test ${enable_dependency_tracking+y}
331 kx then :
331 kx enableval=$enable_dependency_tracking;
331 kx fi
331 kx
331 kx if test "x$enable_dependency_tracking" != xno; then
331 kx am_depcomp="$ac_aux_dir/depcomp"
331 kx AMDEPBACKSLASH='\'
331 kx am__nodep='_no'
331 kx fi
331 kx if test "x$enable_dependency_tracking" != xno; then
331 kx AMDEP_TRUE=
331 kx AMDEP_FALSE='#'
331 kx else
331 kx AMDEP_TRUE='#'
331 kx AMDEP_FALSE=
331 kx fi
331 kx
331 kx
331 kx
331 kx depcc="$CC" am_compiler_list=
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
331 kx printf %s "checking dependency style of $depcc... " >&6; }
331 kx if test ${am_cv_CC_dependencies_compiler_type+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
331 kx # We make a subdir and do the tests there. Otherwise we can end up
331 kx # making bogus files that we don't know about and never remove. For
331 kx # instance it was reported that on HP-UX the gcc test will end up
331 kx # making a dummy file named 'D' -- because '-MD' means "put the output
331 kx # in D".
331 kx rm -rf conftest.dir
331 kx mkdir conftest.dir
331 kx # Copy depcomp to subdir because otherwise we won't find it if we're
331 kx # using a relative directory.
331 kx cp "$am_depcomp" conftest.dir
331 kx cd conftest.dir
331 kx # We will build objects and dependencies in a subdirectory because
331 kx # it helps to detect inapplicable dependency modes. For instance
331 kx # both Tru64's cc and ICC support -MD to output dependencies as a
331 kx # side effect of compilation, but ICC will put the dependencies in
331 kx # the current directory while Tru64 will put them in the object
331 kx # directory.
331 kx mkdir sub
331 kx
331 kx am_cv_CC_dependencies_compiler_type=none
331 kx if test "$am_compiler_list" = ""; then
331 kx am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
331 kx fi
331 kx am__universal=false
331 kx case " $depcc " in #(
331 kx *\ -arch\ *\ -arch\ *) am__universal=true ;;
331 kx esac
331 kx
331 kx for depmode in $am_compiler_list; do
331 kx # Setup a source with many dependencies, because some compilers
331 kx # like to wrap large dependency lists on column 80 (with \), and
331 kx # we should not choose a depcomp mode which is confused by this.
331 kx #
331 kx # We need to recreate these files for each test, as the compiler may
331 kx # overwrite some of them when testing with obscure command lines.
331 kx # This happens at least with the AIX C compiler.
331 kx : > sub/conftest.c
331 kx for i in 1 2 3 4 5 6; do
331 kx echo '#include "conftst'$i'.h"' >> sub/conftest.c
331 kx # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
331 kx # Solaris 10 /bin/sh.
331 kx echo '/* dummy */' > sub/conftst$i.h
331 kx done
331 kx echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
331 kx
331 kx # We check with '-c' and '-o' for the sake of the "dashmstdout"
331 kx # mode. It turns out that the SunPro C++ compiler does not properly
331 kx # handle '-M -o', and we need to detect this. Also, some Intel
331 kx # versions had trouble with output in subdirs.
331 kx am__obj=sub/conftest.${OBJEXT-o}
331 kx am__minus_obj="-o $am__obj"
331 kx case $depmode in
331 kx gcc)
331 kx # This depmode causes a compiler race in universal mode.
331 kx test "$am__universal" = false || continue
331 kx ;;
331 kx nosideeffect)
331 kx # After this tag, mechanisms are not by side-effect, so they'll
331 kx # only be used when explicitly requested.
331 kx if test "x$enable_dependency_tracking" = xyes; then
331 kx continue
331 kx else
331 kx break
331 kx fi
331 kx ;;
331 kx msvc7 | msvc7msys | msvisualcpp | msvcmsys)
331 kx # This compiler won't grok '-c -o', but also, the minuso test has
331 kx # not run yet. These depmodes are late enough in the game, and
331 kx # so weak that their functioning should not be impacted.
331 kx am__obj=conftest.${OBJEXT-o}
331 kx am__minus_obj=
331 kx ;;
331 kx none) break ;;
331 kx esac
331 kx if depmode=$depmode \
331 kx source=sub/conftest.c object=$am__obj \
331 kx depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
331 kx $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
331 kx >/dev/null 2>conftest.err &&
331 kx grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
331 kx grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
331 kx grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
331 kx ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
331 kx # icc doesn't choke on unknown options, it will just issue warnings
331 kx # or remarks (even with -Werror). So we grep stderr for any message
331 kx # that says an option was ignored or not supported.
331 kx # When given -MP, icc 7.0 and 7.1 complain thusly:
331 kx # icc: Command line warning: ignoring option '-M'; no argument required
331 kx # The diagnosis changed in icc 8.0:
331 kx # icc: Command line remark: option '-MP' not supported
331 kx if (grep 'ignoring option' conftest.err ||
331 kx grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
331 kx am_cv_CC_dependencies_compiler_type=$depmode
331 kx break
331 kx fi
331 kx fi
331 kx done
331 kx
331 kx cd ..
331 kx rm -rf conftest.dir
331 kx else
331 kx am_cv_CC_dependencies_compiler_type=none
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
331 kx printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
331 kx CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
331 kx
331 kx if
331 kx test "x$enable_dependency_tracking" != xno \
331 kx && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
331 kx am__fastdepCC_TRUE=
331 kx am__fastdepCC_FALSE='#'
331 kx else
331 kx am__fastdepCC_TRUE='#'
331 kx am__fastdepCC_FALSE=
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx ac_ext=cpp
331 kx ac_cpp='$CXXCPP $CPPFLAGS'
331 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
331 kx if test -z "$CXX"; then
331 kx if test -n "$CCC"; then
331 kx CXX=$CCC
331 kx else
331 kx if test -n "$ac_tool_prefix"; then
331 kx for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
331 kx do
331 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$CXX"; then
331 kx ac_cv_prog_CXX="$CXX" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx CXX=$ac_cv_prog_CXX
331 kx if test -n "$CXX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
331 kx printf "%s\n" "$CXX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$CXX" && break
331 kx done
331 kx fi
331 kx if test -z "$CXX"; then
331 kx ac_ct_CXX=$CXX
331 kx for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_CXX"; then
331 kx ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_CXX="$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
331 kx if test -n "$ac_ct_CXX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
331 kx printf "%s\n" "$ac_ct_CXX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$ac_ct_CXX" && break
331 kx done
331 kx
331 kx if test "x$ac_ct_CXX" = x; then
331 kx CXX="g++"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx CXX=$ac_ct_CXX
331 kx fi
331 kx fi
331 kx
331 kx fi
331 kx fi
331 kx # Provide some information about the compiler.
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
331 kx set X $ac_compile
331 kx ac_compiler=$2
331 kx for ac_option in --version -v -V -qversion; do
331 kx { { ac_try="$ac_compiler $ac_option >&5"
331 kx case "(($ac_try" in
331 kx *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
331 kx *) ac_try_echo=$ac_try;;
331 kx esac
331 kx eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
331 kx printf "%s\n" "$ac_try_echo"; } >&5
331 kx (eval "$ac_compiler $ac_option >&5") 2>conftest.err
331 kx ac_status=$?
331 kx if test -s conftest.err; then
331 kx sed '10a\
331 kx ... rest of stderr output deleted ...
331 kx 10q' conftest.err >conftest.er1
331 kx cat conftest.er1 >&5
331 kx fi
331 kx rm -f conftest.er1 conftest.err
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx done
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
331 kx printf %s "checking whether the compiler supports GNU C++... " >&6; }
331 kx if test ${ac_cv_cxx_compiler_gnu+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx #ifndef __GNUC__
331 kx choke me
331 kx #endif
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx ac_compiler_gnu=yes
331 kx else $as_nop
331 kx ac_compiler_gnu=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
331 kx printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
331 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
331 kx
331 kx if test $ac_compiler_gnu = yes; then
331 kx GXX=yes
331 kx else
331 kx GXX=
331 kx fi
331 kx ac_test_CXXFLAGS=${CXXFLAGS+y}
331 kx ac_save_CXXFLAGS=$CXXFLAGS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
331 kx printf %s "checking whether $CXX accepts -g... " >&6; }
331 kx if test ${ac_cv_prog_cxx_g+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_save_cxx_werror_flag=$ac_cxx_werror_flag
331 kx ac_cxx_werror_flag=yes
331 kx ac_cv_prog_cxx_g=no
331 kx CXXFLAGS="-g"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cxx_g=yes
331 kx else $as_nop
331 kx CXXFLAGS=""
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx ac_cxx_werror_flag=$ac_save_cxx_werror_flag
331 kx CXXFLAGS="-g"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cxx_g=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ac_cxx_werror_flag=$ac_save_cxx_werror_flag
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
331 kx printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
331 kx if test $ac_test_CXXFLAGS; then
331 kx CXXFLAGS=$ac_save_CXXFLAGS
331 kx elif test $ac_cv_prog_cxx_g = yes; then
331 kx if test "$GXX" = yes; then
331 kx CXXFLAGS="-g -O2"
331 kx else
331 kx CXXFLAGS="-g"
331 kx fi
331 kx else
331 kx if test "$GXX" = yes; then
331 kx CXXFLAGS="-O2"
331 kx else
331 kx CXXFLAGS=
331 kx fi
331 kx fi
331 kx ac_prog_cxx_stdcxx=no
331 kx if test x$ac_prog_cxx_stdcxx = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
331 kx printf %s "checking for $CXX option to enable C++11 features... " >&6; }
331 kx if test ${ac_cv_prog_cxx_11+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_cv_prog_cxx_11=no
331 kx ac_save_CXX=$CXX
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_cxx_conftest_cxx11_program
331 kx _ACEOF
331 kx for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
331 kx do
331 kx CXX="$ac_save_CXX $ac_arg"
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cxx_cxx11=$ac_arg
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam
331 kx test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
331 kx done
331 kx rm -f conftest.$ac_ext
331 kx CXX=$ac_save_CXX
331 kx fi
331 kx
331 kx if test "x$ac_cv_prog_cxx_cxx11" = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
331 kx printf "%s\n" "unsupported" >&6; }
331 kx else $as_nop
331 kx if test "x$ac_cv_prog_cxx_cxx11" = x
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
331 kx printf "%s\n" "none needed" >&6; }
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
331 kx printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
331 kx CXX="$CXX $ac_cv_prog_cxx_cxx11"
331 kx fi
331 kx ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
331 kx ac_prog_cxx_stdcxx=cxx11
331 kx fi
331 kx fi
331 kx if test x$ac_prog_cxx_stdcxx = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
331 kx printf %s "checking for $CXX option to enable C++98 features... " >&6; }
331 kx if test ${ac_cv_prog_cxx_98+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_cv_prog_cxx_98=no
331 kx ac_save_CXX=$CXX
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_cxx_conftest_cxx98_program
331 kx _ACEOF
331 kx for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
331 kx do
331 kx CXX="$ac_save_CXX $ac_arg"
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_prog_cxx_cxx98=$ac_arg
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam
331 kx test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
331 kx done
331 kx rm -f conftest.$ac_ext
331 kx CXX=$ac_save_CXX
331 kx fi
331 kx
331 kx if test "x$ac_cv_prog_cxx_cxx98" = xno
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
331 kx printf "%s\n" "unsupported" >&6; }
331 kx else $as_nop
331 kx if test "x$ac_cv_prog_cxx_cxx98" = x
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
331 kx printf "%s\n" "none needed" >&6; }
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
331 kx printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
331 kx CXX="$CXX $ac_cv_prog_cxx_cxx98"
331 kx fi
331 kx ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
331 kx ac_prog_cxx_stdcxx=cxx98
331 kx fi
331 kx fi
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx depcc="$CXX" am_compiler_list=
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
331 kx printf %s "checking dependency style of $depcc... " >&6; }
331 kx if test ${am_cv_CXX_dependencies_compiler_type+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
331 kx # We make a subdir and do the tests there. Otherwise we can end up
331 kx # making bogus files that we don't know about and never remove. For
331 kx # instance it was reported that on HP-UX the gcc test will end up
331 kx # making a dummy file named 'D' -- because '-MD' means "put the output
331 kx # in D".
331 kx rm -rf conftest.dir
331 kx mkdir conftest.dir
331 kx # Copy depcomp to subdir because otherwise we won't find it if we're
331 kx # using a relative directory.
331 kx cp "$am_depcomp" conftest.dir
331 kx cd conftest.dir
331 kx # We will build objects and dependencies in a subdirectory because
331 kx # it helps to detect inapplicable dependency modes. For instance
331 kx # both Tru64's cc and ICC support -MD to output dependencies as a
331 kx # side effect of compilation, but ICC will put the dependencies in
331 kx # the current directory while Tru64 will put them in the object
331 kx # directory.
331 kx mkdir sub
331 kx
331 kx am_cv_CXX_dependencies_compiler_type=none
331 kx if test "$am_compiler_list" = ""; then
331 kx am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
331 kx fi
331 kx am__universal=false
331 kx case " $depcc " in #(
331 kx *\ -arch\ *\ -arch\ *) am__universal=true ;;
331 kx esac
331 kx
331 kx for depmode in $am_compiler_list; do
331 kx # Setup a source with many dependencies, because some compilers
331 kx # like to wrap large dependency lists on column 80 (with \), and
331 kx # we should not choose a depcomp mode which is confused by this.
331 kx #
331 kx # We need to recreate these files for each test, as the compiler may
331 kx # overwrite some of them when testing with obscure command lines.
331 kx # This happens at least with the AIX C compiler.
331 kx : > sub/conftest.c
331 kx for i in 1 2 3 4 5 6; do
331 kx echo '#include "conftst'$i'.h"' >> sub/conftest.c
331 kx # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
331 kx # Solaris 10 /bin/sh.
331 kx echo '/* dummy */' > sub/conftst$i.h
331 kx done
331 kx echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
331 kx
331 kx # We check with '-c' and '-o' for the sake of the "dashmstdout"
331 kx # mode. It turns out that the SunPro C++ compiler does not properly
331 kx # handle '-M -o', and we need to detect this. Also, some Intel
331 kx # versions had trouble with output in subdirs.
331 kx am__obj=sub/conftest.${OBJEXT-o}
331 kx am__minus_obj="-o $am__obj"
331 kx case $depmode in
331 kx gcc)
331 kx # This depmode causes a compiler race in universal mode.
331 kx test "$am__universal" = false || continue
331 kx ;;
331 kx nosideeffect)
331 kx # After this tag, mechanisms are not by side-effect, so they'll
331 kx # only be used when explicitly requested.
331 kx if test "x$enable_dependency_tracking" = xyes; then
331 kx continue
331 kx else
331 kx break
331 kx fi
331 kx ;;
331 kx msvc7 | msvc7msys | msvisualcpp | msvcmsys)
331 kx # This compiler won't grok '-c -o', but also, the minuso test has
331 kx # not run yet. These depmodes are late enough in the game, and
331 kx # so weak that their functioning should not be impacted.
331 kx am__obj=conftest.${OBJEXT-o}
331 kx am__minus_obj=
331 kx ;;
331 kx none) break ;;
331 kx esac
331 kx if depmode=$depmode \
331 kx source=sub/conftest.c object=$am__obj \
331 kx depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
331 kx $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
331 kx >/dev/null 2>conftest.err &&
331 kx grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
331 kx grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
331 kx grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
331 kx ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
331 kx # icc doesn't choke on unknown options, it will just issue warnings
331 kx # or remarks (even with -Werror). So we grep stderr for any message
331 kx # that says an option was ignored or not supported.
331 kx # When given -MP, icc 7.0 and 7.1 complain thusly:
331 kx # icc: Command line warning: ignoring option '-M'; no argument required
331 kx # The diagnosis changed in icc 8.0:
331 kx # icc: Command line remark: option '-MP' not supported
331 kx if (grep 'ignoring option' conftest.err ||
331 kx grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
331 kx am_cv_CXX_dependencies_compiler_type=$depmode
331 kx break
331 kx fi
331 kx fi
331 kx done
331 kx
331 kx cd ..
331 kx rm -rf conftest.dir
331 kx else
331 kx am_cv_CXX_dependencies_compiler_type=none
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
331 kx printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; }
331 kx CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
331 kx
331 kx if
331 kx test "x$enable_dependency_tracking" != xno \
331 kx && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
331 kx am__fastdepCXX_TRUE=
331 kx am__fastdepCXX_FALSE='#'
331 kx else
331 kx am__fastdepCXX_TRUE='#'
331 kx am__fastdepCXX_FALSE=
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx ac_header= ac_cache=
331 kx for ac_item in $ac_header_c_list
331 kx do
331 kx if test $ac_cache; then
331 kx ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
331 kx if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
331 kx printf "%s\n" "#define $ac_item 1" >> confdefs.h
331 kx fi
331 kx ac_header= ac_cache=
331 kx elif test $ac_header; then
331 kx ac_cache=$ac_item
331 kx else
331 kx ac_header=$ac_item
331 kx fi
331 kx done
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
331 kx then :
331 kx
331 kx printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
331 kx printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
331 kx if test ${ac_cv_safe_to_define___extensions__+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx # define __EXTENSIONS__ 1
331 kx $ac_includes_default
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_safe_to_define___extensions__=yes
331 kx else $as_nop
331 kx ac_cv_safe_to_define___extensions__=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
331 kx printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
331 kx printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
331 kx if test ${ac_cv_should_define__xopen_source+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_cv_should_define__xopen_source=no
331 kx if test $ac_cv_header_wchar_h = yes
331 kx then :
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #include <wchar.h>
331 kx mbstate_t x;
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #define _XOPEN_SOURCE 500
331 kx #include <wchar.h>
331 kx mbstate_t x;
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_should_define__xopen_source=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
331 kx printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
331 kx
331 kx printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
331 kx
331 kx if test $ac_cv_header_minix_config_h = yes
331 kx then :
331 kx MINIX=yes
331 kx printf "%s\n" "#define _MINIX 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
331 kx
331 kx printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
331 kx
331 kx else $as_nop
331 kx MINIX=
331 kx fi
331 kx if test $ac_cv_safe_to_define___extensions__ = yes
331 kx then :
331 kx printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
331 kx
331 kx fi
331 kx if test $ac_cv_should_define__xopen_source = yes
331 kx then :
331 kx printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
331 kx printf %s "checking how to run the C preprocessor... " >&6; }
331 kx # On Suns, sometimes $CPP names a directory.
331 kx if test -n "$CPP" && test -d "$CPP"; then
331 kx CPP=
331 kx fi
331 kx if test -z "$CPP"; then
331 kx if test ${ac_cv_prog_CPP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx # Double quotes because $CC needs to be expanded
331 kx for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
331 kx do
331 kx ac_preproc_ok=false
331 kx for ac_c_preproc_warn_flag in '' yes
331 kx do
331 kx # Use a header file that comes with gcc, so configuring glibc
331 kx # with a fresh cross-compiler works.
331 kx # On the NeXT, cc -E runs the code through the compiler's parser,
331 kx # not just through cpp. "Syntax error" is here to catch this case.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <limits.h>
331 kx Syntax error
331 kx _ACEOF
331 kx if ac_fn_c_try_cpp "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx # Broken: fails on valid input.
331 kx continue
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx # OK, works on sane cases. Now check whether nonexistent headers
331 kx # can be detected and how.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <ac_nonexistent.h>
331 kx _ACEOF
331 kx if ac_fn_c_try_cpp "$LINENO"
331 kx then :
331 kx # Broken: success on invalid input.
331 kx continue
331 kx else $as_nop
331 kx # Passes both tests.
331 kx ac_preproc_ok=:
331 kx break
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx done
331 kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
331 kx rm -f conftest.i conftest.err conftest.$ac_ext
331 kx if $ac_preproc_ok
331 kx then :
331 kx break
331 kx fi
331 kx
331 kx done
331 kx ac_cv_prog_CPP=$CPP
331 kx
331 kx fi
331 kx CPP=$ac_cv_prog_CPP
331 kx else
331 kx ac_cv_prog_CPP=$CPP
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
331 kx printf "%s\n" "$CPP" >&6; }
331 kx ac_preproc_ok=false
331 kx for ac_c_preproc_warn_flag in '' yes
331 kx do
331 kx # Use a header file that comes with gcc, so configuring glibc
331 kx # with a fresh cross-compiler works.
331 kx # On the NeXT, cc -E runs the code through the compiler's parser,
331 kx # not just through cpp. "Syntax error" is here to catch this case.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <limits.h>
331 kx Syntax error
331 kx _ACEOF
331 kx if ac_fn_c_try_cpp "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx # Broken: fails on valid input.
331 kx continue
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx # OK, works on sane cases. Now check whether nonexistent headers
331 kx # can be detected and how.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <ac_nonexistent.h>
331 kx _ACEOF
331 kx if ac_fn_c_try_cpp "$LINENO"
331 kx then :
331 kx # Broken: success on invalid input.
331 kx continue
331 kx else $as_nop
331 kx # Passes both tests.
331 kx ac_preproc_ok=:
331 kx break
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx done
331 kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
331 kx rm -f conftest.i conftest.err conftest.$ac_ext
331 kx if $ac_preproc_ok
331 kx then :
331 kx
331 kx else $as_nop
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
331 kx printf %s "checking whether ln -s works... " >&6; }
331 kx LN_S=$as_ln_s
331 kx if test "$LN_S" = "ln -s"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
331 kx printf "%s\n" "no, using $LN_S" >&6; }
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
331 kx printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
331 kx set x ${MAKE-make}
331 kx ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
331 kx if eval test \${ac_cv_prog_make_${ac_make}_set+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat >conftest.make <<\_ACEOF
331 kx SHELL = /bin/sh
331 kx all:
331 kx @echo '@@@%%%=$(MAKE)=@@@%%%'
331 kx _ACEOF
331 kx # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
331 kx case `${MAKE-make} -f conftest.make 2>/dev/null` in
331 kx *@@@%%%=?*=@@@%%%*)
331 kx eval ac_cv_prog_make_${ac_make}_set=yes;;
331 kx *)
331 kx eval ac_cv_prog_make_${ac_make}_set=no;;
331 kx esac
331 kx rm -f conftest.make
331 kx fi
331 kx if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx SET_MAKE=
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx SET_MAKE="MAKE=${MAKE-make}"
331 kx fi
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
331 kx printf %s "checking for grep that handles long lines and -e... " >&6; }
331 kx if test ${ac_cv_path_GREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -z "$GREP"; then
331 kx ac_path_GREP_found=false
331 kx # Loop through the user's path and test for each of PROGNAME-LIST
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_prog in grep ggrep
331 kx do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
331 kx as_fn_executable_p "$ac_path_GREP" || continue
331 kx # Check for GNU ac_path_GREP and select it if it is found.
331 kx # Check for GNU $ac_path_GREP
331 kx case `"$ac_path_GREP" --version 2>&1` in
331 kx *GNU*)
331 kx ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
331 kx *)
331 kx ac_count=0
331 kx printf %s 0123456789 >"conftest.in"
331 kx while :
331 kx do
331 kx cat "conftest.in" "conftest.in" >"conftest.tmp"
331 kx mv "conftest.tmp" "conftest.in"
331 kx cp "conftest.in" "conftest.nl"
331 kx printf "%s\n" 'GREP' >> "conftest.nl"
331 kx "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
331 kx diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
331 kx as_fn_arith $ac_count + 1 && ac_count=$as_val
331 kx if test $ac_count -gt ${ac_path_GREP_max-0}; then
331 kx # Best one so far, save it but keep looking for a better one
331 kx ac_cv_path_GREP="$ac_path_GREP"
331 kx ac_path_GREP_max=$ac_count
331 kx fi
331 kx # 10*(2^10) chars as input seems more than enough
331 kx test $ac_count -gt 10 && break
331 kx done
331 kx rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
331 kx esac
331 kx
331 kx $ac_path_GREP_found && break 3
331 kx done
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx if test -z "$ac_cv_path_GREP"; then
331 kx as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
331 kx fi
331 kx else
331 kx ac_cv_path_GREP=$GREP
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
331 kx printf "%s\n" "$ac_cv_path_GREP" >&6; }
331 kx GREP="$ac_cv_path_GREP"
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
331 kx printf %s "checking for egrep... " >&6; }
331 kx if test ${ac_cv_path_EGREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
331 kx then ac_cv_path_EGREP="$GREP -E"
331 kx else
331 kx if test -z "$EGREP"; then
331 kx ac_path_EGREP_found=false
331 kx # Loop through the user's path and test for each of PROGNAME-LIST
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_prog in egrep
331 kx do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
331 kx as_fn_executable_p "$ac_path_EGREP" || continue
331 kx # Check for GNU ac_path_EGREP and select it if it is found.
331 kx # Check for GNU $ac_path_EGREP
331 kx case `"$ac_path_EGREP" --version 2>&1` in
331 kx *GNU*)
331 kx ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
331 kx *)
331 kx ac_count=0
331 kx printf %s 0123456789 >"conftest.in"
331 kx while :
331 kx do
331 kx cat "conftest.in" "conftest.in" >"conftest.tmp"
331 kx mv "conftest.tmp" "conftest.in"
331 kx cp "conftest.in" "conftest.nl"
331 kx printf "%s\n" 'EGREP' >> "conftest.nl"
331 kx "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
331 kx diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
331 kx as_fn_arith $ac_count + 1 && ac_count=$as_val
331 kx if test $ac_count -gt ${ac_path_EGREP_max-0}; then
331 kx # Best one so far, save it but keep looking for a better one
331 kx ac_cv_path_EGREP="$ac_path_EGREP"
331 kx ac_path_EGREP_max=$ac_count
331 kx fi
331 kx # 10*(2^10) chars as input seems more than enough
331 kx test $ac_count -gt 10 && break
331 kx done
331 kx rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
331 kx esac
331 kx
331 kx $ac_path_EGREP_found && break 3
331 kx done
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx if test -z "$ac_cv_path_EGREP"; then
331 kx as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
331 kx fi
331 kx else
331 kx ac_cv_path_EGREP=$EGREP
331 kx fi
331 kx
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
331 kx printf "%s\n" "$ac_cv_path_EGREP" >&6; }
331 kx EGREP="$ac_cv_path_EGREP"
331 kx
331 kx
331 kx if test $ac_cv_c_compiler_gnu = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
331 kx printf %s "checking whether $CC needs -traditional... " >&6; }
331 kx if test ${ac_cv_prog_gcc_traditional+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_pattern="Autoconf.*'x'"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <sgtty.h>
331 kx Autoconf TIOCGETP
331 kx _ACEOF
331 kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
331 kx $EGREP "$ac_pattern" >/dev/null 2>&1
331 kx then :
331 kx ac_cv_prog_gcc_traditional=yes
331 kx else $as_nop
331 kx ac_cv_prog_gcc_traditional=no
331 kx fi
331 kx rm -rf conftest*
331 kx
331 kx
331 kx if test $ac_cv_prog_gcc_traditional = no; then
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <termio.h>
331 kx Autoconf TCGETA
331 kx _ACEOF
331 kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
331 kx $EGREP "$ac_pattern" >/dev/null 2>&1
331 kx then :
331 kx ac_cv_prog_gcc_traditional=yes
331 kx fi
331 kx rm -rf conftest*
331 kx
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
331 kx printf "%s\n" "$ac_cv_prog_gcc_traditional" >&6; }
331 kx if test $ac_cv_prog_gcc_traditional = yes; then
331 kx CC="$CC -traditional"
331 kx fi
331 kx fi
331 kx
331 kx
331 kx # -fstack-protector
331 kx # Check whether --enable-stack-protector was given.
331 kx if test ${enable_stack_protector+y}
331 kx then :
331 kx enableval=$enable_stack_protector; case "${enableval}" in
331 kx yes) enable_ssp=yes ;;
331 kx no) enable_ssp=no ;;
331 kx *) as_fn_error $? "invalid value ${enableval} for --disable-stack-protector" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx enable_ssp=yes
331 kx fi
331 kx
331 kx
331 kx if test x"$enable_ssp" = x"yes" && test x"$GCC" != x"yes"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Disabling stack-smashing protection because compiler is not GCC" >&5
331 kx printf "%s\n" "$as_me: Disabling stack-smashing protection because compiler is not GCC" >&6;}
331 kx enable_ssp=no
331 kx fi
331 kx
331 kx if test x"$enable_ssp" = x"yes"; then
331 kx # Check for broken ssp in libc: http://www.avahi.org/ticket/105
331 kx # libc's brokenness will get in the way regardless of whether -lssp is
331 kx # provided, but provide it anyway (otherwise non-libc ssp would wrongly
331 kx # break here)
331 kx
331 kx # Get -lssp if it exists
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
331 kx printf %s "checking whether libssp exists... " >&6; }
331 kx if test ${ssp_cv_lib+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ssp_old_libs="$LIBS"
331 kx LIBS="$LIBS -lssp"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ssp_cv_lib=yes
331 kx else $as_nop
331 kx ssp_cv_lib=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS="$ssp_old_libs"
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
331 kx printf "%s\n" "$ssp_cv_lib" >&6; }
331 kx if test $ssp_cv_lib = yes; then
331 kx LIBS="$LIBS -lssp"
331 kx fi
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stack-smashing protection is available" >&5
331 kx printf %s "checking whether stack-smashing protection is available... " >&6; }
331 kx ssp_old_cflags="$CFLAGS"
331 kx ssp_old_ldflags="$LDFLAGS"
331 kx CFLAGS="$CFLAGS -Werror -fstack-protector-all -fPIC"
331 kx LDFLAGS="$LDFLAGS -Wl,-z,defs"
331 kx cat confdefs.h > conftest.c
331 kx cat >>conftest.c <<_ACEOF
331 kx void test_broken_ssp(c)
331 kx const char *c;
331 kx {
331 kx char arr[123], *p; /* beware of possible double-braces if copying this */
331 kx for (p = arr; *c; ++p) {
331 kx *p = *c;
331 kx ++c;
331 kx }
331 kx }
331 kx _ACEOF
331 kx rm -f conftest.o
331 kx
331 kx if $CC -c $CFLAGS $CPPFLAGS -o conftest.o conftest.c >/dev/null 2>&1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stack-smashing protection is buggy" >&5
331 kx printf %s "checking whether stack-smashing protection is buggy... " >&6; }
331 kx if $CC -o conftest.so $LDFLAGS -shared conftest.o $LIBS >/dev/null 2>&1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx enable_ssp=no
331 kx fi
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx rm -f conftest.c conftest.o conftest.so
331 kx
331 kx CFLAGS="$ssp_old_cflags"
331 kx LDFLAGS="$ssp_old_ldflags"
331 kx fi
331 kx
331 kx if test x"$enable_ssp" = x"yes"; then
331 kx # Do this the long way so we don't call GCC_STACK_PROTECT_LIB twice
331 kx
331 kx
331 kx if test "X$CC" != "X"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
331 kx printf %s "checking whether ${CC} accepts -fstack-protector... " >&6; }
331 kx if test ${ssp_cv_cc+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ssp_old_cflags="$CFLAGS"
331 kx CFLAGS="$CFLAGS -fstack-protector -Werror"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ssp_cv_cc=yes
331 kx else $as_nop
331 kx ssp_cv_cc=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx CFLAGS="$ssp_old_cflags"
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
331 kx printf "%s\n" "$ssp_cv_cc" >&6; }
331 kx if test $ssp_cv_cc = yes; then
331 kx CFLAGS="$CFLAGS -fstack-protector"
331 kx
331 kx printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h
331 kx
331 kx fi
331 kx fi
331 kx
331 kx
331 kx ac_ext=cpp
331 kx ac_cpp='$CXXCPP $CPPFLAGS'
331 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
331 kx
331 kx
331 kx
331 kx
331 kx if test "X$CXX" != "X"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CXX} accepts -fstack-protector" >&5
331 kx printf %s "checking whether ${CXX} accepts -fstack-protector... " >&6; }
331 kx if test ${ssp_cv_cxx+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ssp_old_cxxflags="$CXXFLAGS"
331 kx CXXFLAGS="$CXXFLAGS -fstack-protector -Werror"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx ssp_cv_cxx=yes
331 kx else $as_nop
331 kx ssp_cv_cxx=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx CXXFLAGS="$ssp_old_cxxflags"
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cxx" >&5
331 kx printf "%s\n" "$ssp_cv_cxx" >&6; }
331 kx if test $ssp_cv_cxx = yes; then
331 kx CXXFLAGS="$CXXFLAGS -fstack-protector"
331 kx
331 kx printf "%s\n" "#define ENABLE_SSP_CXX 1" >>confdefs.h
331 kx
331 kx fi
331 kx fi
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx # XXX: Update the enable_ssp value now for output later?
331 kx fi
331 kx
331 kx # libtool stuff
331 kx case `pwd` in
331 kx *\ * | *\ *)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
331 kx printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx macro_version='2.4.7'
331 kx macro_revision='2.4.7'
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx ltmain=$ac_aux_dir/ltmain.sh
331 kx
331 kx # Backslashify metacharacters that are still active within
331 kx # double-quoted strings.
331 kx sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
331 kx
331 kx # Same as above, but do not quote variable references.
331 kx double_quote_subst='s/\(["`\\]\)/\\\1/g'
331 kx
331 kx # Sed substitution to delay expansion of an escaped shell variable in a
331 kx # double_quote_subst'ed string.
331 kx delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
331 kx
331 kx # Sed substitution to delay expansion of an escaped single quote.
331 kx delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
331 kx
331 kx # Sed substitution to avoid accidental globbing in evaled expressions
331 kx no_glob_subst='s/\*/\\\*/g'
331 kx
331 kx ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
331 kx ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
331 kx ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
331 kx printf %s "checking how to print strings... " >&6; }
331 kx # Test print first, because it will be a builtin if present.
331 kx if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
331 kx test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
331 kx ECHO='print -r --'
331 kx elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
331 kx ECHO='printf %s\n'
331 kx else
331 kx # Use this function as a fallback that always works.
331 kx func_fallback_echo ()
331 kx {
331 kx eval 'cat <<_LTECHO_EOF
331 kx $1
331 kx _LTECHO_EOF'
331 kx }
331 kx ECHO='func_fallback_echo'
331 kx fi
331 kx
331 kx # func_echo_all arg...
331 kx # Invoke $ECHO with all args, space-separated.
331 kx func_echo_all ()
331 kx {
331 kx $ECHO ""
331 kx }
331 kx
331 kx case $ECHO in
331 kx printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
331 kx printf "%s\n" "printf" >&6; } ;;
331 kx print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
331 kx printf "%s\n" "print -r" >&6; } ;;
331 kx *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
331 kx printf "%s\n" "cat" >&6; } ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
331 kx printf %s "checking for a sed that does not truncate output... " >&6; }
331 kx if test ${ac_cv_path_SED+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
331 kx for ac_i in 1 2 3 4 5 6 7; do
331 kx ac_script="$ac_script$as_nl$ac_script"
331 kx done
331 kx echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
331 kx { ac_script=; unset ac_script;}
331 kx if test -z "$SED"; then
331 kx ac_path_SED_found=false
331 kx # Loop through the user's path and test for each of PROGNAME-LIST
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_prog in sed gsed
331 kx do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
331 kx as_fn_executable_p "$ac_path_SED" || continue
331 kx # Check for GNU ac_path_SED and select it if it is found.
331 kx # Check for GNU $ac_path_SED
331 kx case `"$ac_path_SED" --version 2>&1` in
331 kx *GNU*)
331 kx ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
331 kx *)
331 kx ac_count=0
331 kx printf %s 0123456789 >"conftest.in"
331 kx while :
331 kx do
331 kx cat "conftest.in" "conftest.in" >"conftest.tmp"
331 kx mv "conftest.tmp" "conftest.in"
331 kx cp "conftest.in" "conftest.nl"
331 kx printf "%s\n" '' >> "conftest.nl"
331 kx "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
331 kx diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
331 kx as_fn_arith $ac_count + 1 && ac_count=$as_val
331 kx if test $ac_count -gt ${ac_path_SED_max-0}; then
331 kx # Best one so far, save it but keep looking for a better one
331 kx ac_cv_path_SED="$ac_path_SED"
331 kx ac_path_SED_max=$ac_count
331 kx fi
331 kx # 10*(2^10) chars as input seems more than enough
331 kx test $ac_count -gt 10 && break
331 kx done
331 kx rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
331 kx esac
331 kx
331 kx $ac_path_SED_found && break 3
331 kx done
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx if test -z "$ac_cv_path_SED"; then
331 kx as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
331 kx fi
331 kx else
331 kx ac_cv_path_SED=$SED
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
331 kx printf "%s\n" "$ac_cv_path_SED" >&6; }
331 kx SED="$ac_cv_path_SED"
331 kx rm -f conftest.sed
331 kx
331 kx test -z "$SED" && SED=sed
331 kx Xsed="$SED -e 1s/^X//"
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
331 kx printf %s "checking for fgrep... " >&6; }
331 kx if test ${ac_cv_path_FGREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
331 kx then ac_cv_path_FGREP="$GREP -F"
331 kx else
331 kx if test -z "$FGREP"; then
331 kx ac_path_FGREP_found=false
331 kx # Loop through the user's path and test for each of PROGNAME-LIST
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_prog in fgrep
331 kx do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
331 kx as_fn_executable_p "$ac_path_FGREP" || continue
331 kx # Check for GNU ac_path_FGREP and select it if it is found.
331 kx # Check for GNU $ac_path_FGREP
331 kx case `"$ac_path_FGREP" --version 2>&1` in
331 kx *GNU*)
331 kx ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
331 kx *)
331 kx ac_count=0
331 kx printf %s 0123456789 >"conftest.in"
331 kx while :
331 kx do
331 kx cat "conftest.in" "conftest.in" >"conftest.tmp"
331 kx mv "conftest.tmp" "conftest.in"
331 kx cp "conftest.in" "conftest.nl"
331 kx printf "%s\n" 'FGREP' >> "conftest.nl"
331 kx "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
331 kx diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
331 kx as_fn_arith $ac_count + 1 && ac_count=$as_val
331 kx if test $ac_count -gt ${ac_path_FGREP_max-0}; then
331 kx # Best one so far, save it but keep looking for a better one
331 kx ac_cv_path_FGREP="$ac_path_FGREP"
331 kx ac_path_FGREP_max=$ac_count
331 kx fi
331 kx # 10*(2^10) chars as input seems more than enough
331 kx test $ac_count -gt 10 && break
331 kx done
331 kx rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
331 kx esac
331 kx
331 kx $ac_path_FGREP_found && break 3
331 kx done
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx if test -z "$ac_cv_path_FGREP"; then
331 kx as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
331 kx fi
331 kx else
331 kx ac_cv_path_FGREP=$FGREP
331 kx fi
331 kx
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
331 kx printf "%s\n" "$ac_cv_path_FGREP" >&6; }
331 kx FGREP="$ac_cv_path_FGREP"
331 kx
331 kx
331 kx test -z "$GREP" && GREP=grep
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Check whether --with-gnu-ld was given.
331 kx if test ${with_gnu_ld+y}
331 kx then :
331 kx withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
331 kx else $as_nop
331 kx with_gnu_ld=no
331 kx fi
331 kx
331 kx ac_prog=ld
331 kx if test yes = "$GCC"; then
331 kx # Check if gcc -print-prog-name=ld gives a path.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
331 kx printf %s "checking for ld used by $CC... " >&6; }
331 kx case $host in
331 kx *-*-mingw*)
331 kx # gcc leaves a trailing carriage return, which upsets mingw
331 kx ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
331 kx *)
331 kx ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
331 kx esac
331 kx case $ac_prog in
331 kx # Accept absolute paths.
331 kx [\\/]* | ?:[\\/]*)
331 kx re_direlt='/[^/][^/]*/\.\./'
331 kx # Canonicalize the pathname of ld
331 kx ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
331 kx while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
331 kx ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
331 kx done
331 kx test -z "$LD" && LD=$ac_prog
331 kx ;;
331 kx "")
331 kx # If it fails, then pretend we aren't using GCC.
331 kx ac_prog=ld
331 kx ;;
331 kx *)
331 kx # If it is relative, then search for the first ld in PATH.
331 kx with_gnu_ld=unknown
331 kx ;;
331 kx esac
331 kx elif test yes = "$with_gnu_ld"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
331 kx printf %s "checking for GNU ld... " >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
331 kx printf %s "checking for non-GNU ld... " >&6; }
331 kx fi
331 kx if test ${lt_cv_path_LD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -z "$LD"; then
331 kx lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
331 kx for ac_dir in $PATH; do
331 kx IFS=$lt_save_ifs
331 kx test -z "$ac_dir" && ac_dir=.
331 kx if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
331 kx lt_cv_path_LD=$ac_dir/$ac_prog
331 kx # Check to see if the program is GNU ld. I'd rather use --version,
331 kx # but apparently some variants of GNU ld only accept -v.
331 kx # Break only if it was the GNU/non-GNU ld that we prefer.
331 kx case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
331 kx *GNU* | *'with BFD'*)
331 kx test no != "$with_gnu_ld" && break
331 kx ;;
331 kx *)
331 kx test yes != "$with_gnu_ld" && break
331 kx ;;
331 kx esac
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx else
331 kx lt_cv_path_LD=$LD # Let the user override the test with a path.
331 kx fi
331 kx fi
331 kx
331 kx LD=$lt_cv_path_LD
331 kx if test -n "$LD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
331 kx printf "%s\n" "$LD" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
331 kx printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
331 kx if test ${lt_cv_prog_gnu_ld+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx # I'd rather use --version here, but apparently some GNU lds only accept -v.
331 kx case `$LD -v 2>&1 </dev/null` in
331 kx *GNU* | *'with BFD'*)
331 kx lt_cv_prog_gnu_ld=yes
331 kx ;;
331 kx *)
331 kx lt_cv_prog_gnu_ld=no
331 kx ;;
331 kx esac
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
331 kx printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
331 kx with_gnu_ld=$lt_cv_prog_gnu_ld
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
331 kx printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
331 kx if test ${lt_cv_path_NM+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$NM"; then
331 kx # Let the user override the test.
331 kx lt_cv_path_NM=$NM
331 kx else
331 kx lt_nm_to_check=${ac_tool_prefix}nm
331 kx if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
331 kx lt_nm_to_check="$lt_nm_to_check nm"
331 kx fi
331 kx for lt_tmp_nm in $lt_nm_to_check; do
331 kx lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
331 kx for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
331 kx IFS=$lt_save_ifs
331 kx test -z "$ac_dir" && ac_dir=.
331 kx tmp_nm=$ac_dir/$lt_tmp_nm
331 kx if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
331 kx # Check to see if the nm accepts a BSD-compat flag.
331 kx # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
331 kx # nm: unknown option "B" ignored
331 kx # Tru64's nm complains that /dev/null is an invalid object file
331 kx # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
331 kx case $build_os in
331 kx mingw*) lt_bad_file=conftest.nm/nofile ;;
331 kx *) lt_bad_file=/dev/null ;;
331 kx esac
331 kx case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
331 kx *$lt_bad_file* | *'Invalid file or object type'*)
331 kx lt_cv_path_NM="$tmp_nm -B"
331 kx break 2
331 kx ;;
331 kx *)
331 kx case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
331 kx */dev/null*)
331 kx lt_cv_path_NM="$tmp_nm -p"
331 kx break 2
331 kx ;;
331 kx *)
331 kx lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
331 kx continue # so that we can try to find one that supports BSD flags
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx done
331 kx : ${lt_cv_path_NM=no}
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
331 kx printf "%s\n" "$lt_cv_path_NM" >&6; }
331 kx if test no != "$lt_cv_path_NM"; then
331 kx NM=$lt_cv_path_NM
331 kx else
331 kx # Didn't find any BSD compatible name lister, look for dumpbin.
331 kx if test -n "$DUMPBIN"; then :
331 kx # Let the user override the test.
331 kx else
331 kx if test -n "$ac_tool_prefix"; then
331 kx for ac_prog in dumpbin "link -dump"
331 kx do
331 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_DUMPBIN+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$DUMPBIN"; then
331 kx ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx DUMPBIN=$ac_cv_prog_DUMPBIN
331 kx if test -n "$DUMPBIN"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
331 kx printf "%s\n" "$DUMPBIN" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$DUMPBIN" && break
331 kx done
331 kx fi
331 kx if test -z "$DUMPBIN"; then
331 kx ac_ct_DUMPBIN=$DUMPBIN
331 kx for ac_prog in dumpbin "link -dump"
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_DUMPBIN"; then
331 kx ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
331 kx if test -n "$ac_ct_DUMPBIN"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
331 kx printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$ac_ct_DUMPBIN" && break
331 kx done
331 kx
331 kx if test "x$ac_ct_DUMPBIN" = x; then
331 kx DUMPBIN=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DUMPBIN=$ac_ct_DUMPBIN
331 kx fi
331 kx fi
331 kx
331 kx case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
331 kx *COFF*)
331 kx DUMPBIN="$DUMPBIN -symbols -headers"
331 kx ;;
331 kx *)
331 kx DUMPBIN=:
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx if test : != "$DUMPBIN"; then
331 kx NM=$DUMPBIN
331 kx fi
331 kx fi
331 kx test -z "$NM" && NM=nm
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
331 kx printf %s "checking the name lister ($NM) interface... " >&6; }
331 kx if test ${lt_cv_nm_interface+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_nm_interface="BSD nm"
331 kx echo "int some_variable = 0;" > conftest.$ac_ext
331 kx (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
331 kx (eval "$ac_compile" 2>conftest.err)
331 kx cat conftest.err >&5
331 kx (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
331 kx (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
331 kx cat conftest.err >&5
331 kx (eval echo "\"\$as_me:$LINENO: output\"" >&5)
331 kx cat conftest.out >&5
331 kx if $GREP 'External.*some_variable' conftest.out > /dev/null; then
331 kx lt_cv_nm_interface="MS dumpbin"
331 kx fi
331 kx rm -f conftest*
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
331 kx printf "%s\n" "$lt_cv_nm_interface" >&6; }
331 kx
331 kx # find the maximum length of command line arguments
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
331 kx printf %s "checking the maximum length of command line arguments... " >&6; }
331 kx if test ${lt_cv_sys_max_cmd_len+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx i=0
331 kx teststring=ABCD
331 kx
331 kx case $build_os in
331 kx msdosdjgpp*)
331 kx # On DJGPP, this test can blow up pretty badly due to problems in libc
331 kx # (any single argument exceeding 2000 bytes causes a buffer overrun
331 kx # during glob expansion). Even if it were fixed, the result of this
331 kx # check would be larger than it should be.
331 kx lt_cv_sys_max_cmd_len=12288; # 12K is about right
331 kx ;;
331 kx
331 kx gnu*)
331 kx # Under GNU Hurd, this test is not required because there is
331 kx # no limit to the length of command line arguments.
331 kx # Libtool will interpret -1 as no limit whatsoever
331 kx lt_cv_sys_max_cmd_len=-1;
331 kx ;;
331 kx
331 kx cygwin* | mingw* | cegcc*)
331 kx # On Win9x/ME, this test blows up -- it succeeds, but takes
331 kx # about 5 minutes as the teststring grows exponentially.
331 kx # Worse, since 9x/ME are not pre-emptively multitasking,
331 kx # you end up with a "frozen" computer, even though with patience
331 kx # the test eventually succeeds (with a max line length of 256k).
331 kx # Instead, let's just punt: use the minimum linelength reported by
331 kx # all of the supported platforms: 8192 (on NT/2K/XP).
331 kx lt_cv_sys_max_cmd_len=8192;
331 kx ;;
331 kx
331 kx mint*)
331 kx # On MiNT this can take a long time and run out of memory.
331 kx lt_cv_sys_max_cmd_len=8192;
331 kx ;;
331 kx
331 kx amigaos*)
331 kx # On AmigaOS with pdksh, this test takes hours, literally.
331 kx # So we just punt and use a minimum line length of 8192.
331 kx lt_cv_sys_max_cmd_len=8192;
331 kx ;;
331 kx
331 kx bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
331 kx # This has been around since 386BSD, at least. Likely further.
331 kx if test -x /sbin/sysctl; then
331 kx lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
331 kx elif test -x /usr/sbin/sysctl; then
331 kx lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
331 kx else
331 kx lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
331 kx fi
331 kx # And add a safety zone
331 kx lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
331 kx lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
331 kx ;;
331 kx
331 kx interix*)
331 kx # We know the value 262144 and hardcode it with a safety zone (like BSD)
331 kx lt_cv_sys_max_cmd_len=196608
331 kx ;;
331 kx
331 kx os2*)
331 kx # The test takes a long time on OS/2.
331 kx lt_cv_sys_max_cmd_len=8192
331 kx ;;
331 kx
331 kx osf*)
331 kx # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
331 kx # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
331 kx # nice to cause kernel panics so lets avoid the loop below.
331 kx # First set a reasonable default.
331 kx lt_cv_sys_max_cmd_len=16384
331 kx #
331 kx if test -x /sbin/sysconfig; then
331 kx case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
331 kx *1*) lt_cv_sys_max_cmd_len=-1 ;;
331 kx esac
331 kx fi
331 kx ;;
331 kx sco3.2v5*)
331 kx lt_cv_sys_max_cmd_len=102400
331 kx ;;
331 kx sysv5* | sco5v6* | sysv4.2uw2*)
331 kx kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
331 kx if test -n "$kargmax"; then
331 kx lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
331 kx else
331 kx lt_cv_sys_max_cmd_len=32768
331 kx fi
331 kx ;;
331 kx *)
331 kx lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
331 kx if test -n "$lt_cv_sys_max_cmd_len" && \
331 kx test undefined != "$lt_cv_sys_max_cmd_len"; then
331 kx lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
331 kx lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
331 kx else
331 kx # Make teststring a little bigger before we do anything with it.
331 kx # a 1K string should be a reasonable start.
331 kx for i in 1 2 3 4 5 6 7 8; do
331 kx teststring=$teststring$teststring
331 kx done
331 kx SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
331 kx # If test is not a shell built-in, we'll probably end up computing a
331 kx # maximum length that is only half of the actual maximum length, but
331 kx # we can't tell.
331 kx while { test X`env echo "$teststring$teststring" 2>/dev/null` \
331 kx = "X$teststring$teststring"; } >/dev/null 2>&1 &&
331 kx test 17 != "$i" # 1/2 MB should be enough
331 kx do
331 kx i=`expr $i + 1`
331 kx teststring=$teststring$teststring
331 kx done
331 kx # Only check the string length outside the loop.
331 kx lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
331 kx teststring=
331 kx # Add a significant safety factor because C++ compilers can tack on
331 kx # massive amounts of additional arguments before passing them to the
331 kx # linker. It appears as though 1/2 is a usable value.
331 kx lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx
331 kx if test -n "$lt_cv_sys_max_cmd_len"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
331 kx printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
331 kx printf "%s\n" "none" >&6; }
331 kx fi
331 kx max_cmd_len=$lt_cv_sys_max_cmd_len
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx : ${CP="cp -f"}
331 kx : ${MV="mv -f"}
331 kx : ${RM="rm -f"}
331 kx
331 kx if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
331 kx lt_unset=unset
331 kx else
331 kx lt_unset=false
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # test EBCDIC or ASCII
331 kx case `echo X|tr X '\101'` in
331 kx A) # ASCII based system
331 kx # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
331 kx lt_SP2NL='tr \040 \012'
331 kx lt_NL2SP='tr \015\012 \040\040'
331 kx ;;
331 kx *) # EBCDIC based system
331 kx lt_SP2NL='tr \100 \n'
331 kx lt_NL2SP='tr \r\n \100\100'
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
331 kx printf %s "checking how to convert $build file names to $host format... " >&6; }
331 kx if test ${lt_cv_to_host_file_cmd+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $host in
331 kx *-*-mingw* )
331 kx case $build in
331 kx *-*-mingw* ) # actually msys
331 kx lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
331 kx ;;
331 kx *-*-cygwin* )
331 kx lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
331 kx ;;
331 kx * ) # otherwise, assume *nix
331 kx lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
331 kx ;;
331 kx esac
331 kx ;;
331 kx *-*-cygwin* )
331 kx case $build in
331 kx *-*-mingw* ) # actually msys
331 kx lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
331 kx ;;
331 kx *-*-cygwin* )
331 kx lt_cv_to_host_file_cmd=func_convert_file_noop
331 kx ;;
331 kx * ) # otherwise, assume *nix
331 kx lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
331 kx ;;
331 kx esac
331 kx ;;
331 kx * ) # unhandled hosts (and "normal" native builds)
331 kx lt_cv_to_host_file_cmd=func_convert_file_noop
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx
331 kx to_host_file_cmd=$lt_cv_to_host_file_cmd
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
331 kx printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
331 kx printf %s "checking how to convert $build file names to toolchain format... " >&6; }
331 kx if test ${lt_cv_to_tool_file_cmd+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx #assume ordinary cross tools, or native build.
331 kx lt_cv_to_tool_file_cmd=func_convert_file_noop
331 kx case $host in
331 kx *-*-mingw* )
331 kx case $build in
331 kx *-*-mingw* ) # actually msys
331 kx lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx
331 kx to_tool_file_cmd=$lt_cv_to_tool_file_cmd
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
331 kx printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
331 kx printf %s "checking for $LD option to reload object files... " >&6; }
331 kx if test ${lt_cv_ld_reload_flag+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_ld_reload_flag='-r'
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
331 kx printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
331 kx reload_flag=$lt_cv_ld_reload_flag
331 kx case $reload_flag in
331 kx "" | " "*) ;;
331 kx *) reload_flag=" $reload_flag" ;;
331 kx esac
331 kx reload_cmds='$LD$reload_flag -o $output$reload_objs'
331 kx case $host_os in
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx if test yes != "$GCC"; then
331 kx reload_cmds=false
331 kx fi
331 kx ;;
331 kx darwin*)
331 kx if test yes = "$GCC"; then
331 kx reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
331 kx else
331 kx reload_cmds='$LD$reload_flag -o $output$reload_objs'
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}file; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_FILECMD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$FILECMD"; then
331 kx ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_FILECMD="${ac_tool_prefix}file"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx FILECMD=$ac_cv_prog_FILECMD
331 kx if test -n "$FILECMD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
331 kx printf "%s\n" "$FILECMD" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_FILECMD"; then
331 kx ac_ct_FILECMD=$FILECMD
331 kx # Extract the first word of "file", so it can be a program name with args.
331 kx set dummy file; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_FILECMD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_FILECMD"; then
331 kx ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_FILECMD="file"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
331 kx if test -n "$ac_ct_FILECMD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
331 kx printf "%s\n" "$ac_ct_FILECMD" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_FILECMD" = x; then
331 kx FILECMD=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx FILECMD=$ac_ct_FILECMD
331 kx fi
331 kx else
331 kx FILECMD="$ac_cv_prog_FILECMD"
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}objdump; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_OBJDUMP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$OBJDUMP"; then
331 kx ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx OBJDUMP=$ac_cv_prog_OBJDUMP
331 kx if test -n "$OBJDUMP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
331 kx printf "%s\n" "$OBJDUMP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_OBJDUMP"; then
331 kx ac_ct_OBJDUMP=$OBJDUMP
331 kx # Extract the first word of "objdump", so it can be a program name with args.
331 kx set dummy objdump; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_OBJDUMP"; then
331 kx ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_OBJDUMP="objdump"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
331 kx if test -n "$ac_ct_OBJDUMP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
331 kx printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_OBJDUMP" = x; then
331 kx OBJDUMP="false"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx OBJDUMP=$ac_ct_OBJDUMP
331 kx fi
331 kx else
331 kx OBJDUMP="$ac_cv_prog_OBJDUMP"
331 kx fi
331 kx
331 kx test -z "$OBJDUMP" && OBJDUMP=objdump
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
331 kx printf %s "checking how to recognize dependent libraries... " >&6; }
331 kx if test ${lt_cv_deplibs_check_method+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_file_magic_cmd='$MAGIC_CMD'
331 kx lt_cv_file_magic_test_file=
331 kx lt_cv_deplibs_check_method='unknown'
331 kx # Need to set the preceding variable on all platforms that support
331 kx # interlibrary dependencies.
331 kx # 'none' -- dependencies not supported.
331 kx # 'unknown' -- same as none, but documents that we really don't know.
331 kx # 'pass_all' -- all dependencies passed with no checks.
331 kx # 'test_compile' -- check by making test program.
331 kx # 'file_magic [[regex]]' -- check by looking for files in library path
331 kx # that responds to the $file_magic_cmd with a given extended regex.
331 kx # If you have 'file' or equivalent on your system and you're not sure
331 kx # whether 'pass_all' will *always* work, you probably want this one.
331 kx
331 kx case $host_os in
331 kx aix[4-9]*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx beos*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx bsdi[45]*)
331 kx lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
331 kx lt_cv_file_magic_cmd='$FILECMD -L'
331 kx lt_cv_file_magic_test_file=/shlib/libc.so
331 kx ;;
331 kx
331 kx cygwin*)
331 kx # func_win32_libid is a shell function defined in ltmain.sh
331 kx lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
331 kx lt_cv_file_magic_cmd='func_win32_libid'
331 kx ;;
331 kx
331 kx mingw* | pw32*)
331 kx # Base MSYS/MinGW do not provide the 'file' command needed by
331 kx # func_win32_libid shell function, so use a weaker test based on 'objdump',
331 kx # unless we find 'file', for example because we are cross-compiling.
331 kx if ( file / ) >/dev/null 2>&1; then
331 kx lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
331 kx lt_cv_file_magic_cmd='func_win32_libid'
331 kx else
331 kx # Keep this pattern in sync with the one in func_win32_libid.
331 kx lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
331 kx lt_cv_file_magic_cmd='$OBJDUMP -f'
331 kx fi
331 kx ;;
331 kx
331 kx cegcc*)
331 kx # use the weaker test based on 'objdump'. See mingw*.
331 kx lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
331 kx lt_cv_file_magic_cmd='$OBJDUMP -f'
331 kx ;;
331 kx
331 kx darwin* | rhapsody*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx freebsd* | dragonfly* | midnightbsd*)
331 kx if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
331 kx case $host_cpu in
331 kx i*86 )
331 kx # Not sure whether the presence of OpenBSD here was a mistake.
331 kx # Let's accept both of them until this is cleared up.
331 kx lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
331 kx lt_cv_file_magic_cmd=$FILECMD
331 kx lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
331 kx ;;
331 kx esac
331 kx else
331 kx lt_cv_deplibs_check_method=pass_all
331 kx fi
331 kx ;;
331 kx
331 kx haiku*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx hpux10.20* | hpux11*)
331 kx lt_cv_file_magic_cmd=$FILECMD
331 kx case $host_cpu in
331 kx ia64*)
331 kx lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
331 kx lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
331 kx ;;
331 kx hppa*64*)
331 kx lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
331 kx lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
331 kx ;;
331 kx *)
331 kx lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
331 kx lt_cv_file_magic_test_file=/usr/lib/libc.sl
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx interix[3-9]*)
331 kx # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
331 kx lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
331 kx ;;
331 kx
331 kx irix5* | irix6* | nonstopux*)
331 kx case $LD in
331 kx *-32|*"-32 ") libmagic=32-bit;;
331 kx *-n32|*"-n32 ") libmagic=N32;;
331 kx *-64|*"-64 ") libmagic=64-bit;;
331 kx *) libmagic=never-match;;
331 kx esac
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx # This must be glibc/ELF.
331 kx linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx netbsd*)
331 kx if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
331 kx lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
331 kx else
331 kx lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
331 kx fi
331 kx ;;
331 kx
331 kx newos6*)
331 kx lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
331 kx lt_cv_file_magic_cmd=$FILECMD
331 kx lt_cv_file_magic_test_file=/usr/lib/libnls.so
331 kx ;;
331 kx
331 kx *nto* | *qnx*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx openbsd* | bitrig*)
331 kx if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
331 kx lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
331 kx else
331 kx lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
331 kx fi
331 kx ;;
331 kx
331 kx osf3* | osf4* | osf5*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx rdos*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx solaris*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx
331 kx sysv4 | sysv4.3*)
331 kx case $host_vendor in
331 kx motorola)
331 kx lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
331 kx lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
331 kx ;;
331 kx ncr)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx sequent)
331 kx lt_cv_file_magic_cmd='/bin/file'
331 kx lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
331 kx ;;
331 kx sni)
331 kx lt_cv_file_magic_cmd='/bin/file'
331 kx lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
331 kx lt_cv_file_magic_test_file=/lib/libc.so
331 kx ;;
331 kx siemens)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx pc)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx tpf*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx os2*)
331 kx lt_cv_deplibs_check_method=pass_all
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
331 kx printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
331 kx
331 kx file_magic_glob=
331 kx want_nocaseglob=no
331 kx if test "$build" = "$host"; then
331 kx case $host_os in
331 kx mingw* | pw32*)
331 kx if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
331 kx want_nocaseglob=yes
331 kx else
331 kx file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
331 kx fi
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx file_magic_cmd=$lt_cv_file_magic_cmd
331 kx deplibs_check_method=$lt_cv_deplibs_check_method
331 kx test -z "$deplibs_check_method" && deplibs_check_method=unknown
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}dlltool; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_DLLTOOL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$DLLTOOL"; then
331 kx ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx DLLTOOL=$ac_cv_prog_DLLTOOL
331 kx if test -n "$DLLTOOL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
331 kx printf "%s\n" "$DLLTOOL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_DLLTOOL"; then
331 kx ac_ct_DLLTOOL=$DLLTOOL
331 kx # Extract the first word of "dlltool", so it can be a program name with args.
331 kx set dummy dlltool; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_DLLTOOL"; then
331 kx ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_DLLTOOL="dlltool"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
331 kx if test -n "$ac_ct_DLLTOOL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
331 kx printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_DLLTOOL" = x; then
331 kx DLLTOOL="false"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DLLTOOL=$ac_ct_DLLTOOL
331 kx fi
331 kx else
331 kx DLLTOOL="$ac_cv_prog_DLLTOOL"
331 kx fi
331 kx
331 kx test -z "$DLLTOOL" && DLLTOOL=dlltool
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
331 kx printf %s "checking how to associate runtime and link libraries... " >&6; }
331 kx if test ${lt_cv_sharedlib_from_linklib_cmd+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_sharedlib_from_linklib_cmd='unknown'
331 kx
331 kx case $host_os in
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx # two different shell functions defined in ltmain.sh;
331 kx # decide which one to use based on capabilities of $DLLTOOL
331 kx case `$DLLTOOL --help 2>&1` in
331 kx *--identify-strict*)
331 kx lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
331 kx ;;
331 kx *)
331 kx lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
331 kx ;;
331 kx esac
331 kx ;;
331 kx *)
331 kx # fallback: assume linklib IS sharedlib
331 kx lt_cv_sharedlib_from_linklib_cmd=$ECHO
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
331 kx printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
331 kx sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
331 kx test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx for ac_prog in ar
331 kx do
331 kx # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_tool_prefix$ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_AR+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$AR"; then
331 kx ac_cv_prog_AR="$AR" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx AR=$ac_cv_prog_AR
331 kx if test -n "$AR"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
331 kx printf "%s\n" "$AR" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$AR" && break
331 kx done
331 kx fi
331 kx if test -z "$AR"; then
331 kx ac_ct_AR=$AR
331 kx for ac_prog in ar
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_AR+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_AR"; then
331 kx ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_AR="$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_AR=$ac_cv_prog_ac_ct_AR
331 kx if test -n "$ac_ct_AR"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
331 kx printf "%s\n" "$ac_ct_AR" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$ac_ct_AR" && break
331 kx done
331 kx
331 kx if test "x$ac_ct_AR" = x; then
331 kx AR="false"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx AR=$ac_ct_AR
331 kx fi
331 kx fi
331 kx
331 kx : ${AR=ar}
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Use ARFLAGS variable as AR's operation code to sync the variable naming with
331 kx # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
331 kx # higher priority because thats what people were doing historically (setting
331 kx # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
331 kx # variable obsoleted/removed.
331 kx
331 kx test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
331 kx lt_ar_flags=$AR_FLAGS
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
331 kx # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
331 kx printf %s "checking for archiver @FILE support... " >&6; }
331 kx if test ${lt_cv_ar_at_file+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_ar_at_file=no
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx echo conftest.$ac_objext > conftest.lst
331 kx lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
331 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
331 kx (eval $lt_ar_try) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx if test 0 -eq "$ac_status"; then
331 kx # Ensure the archiver fails upon bogus file names.
331 kx rm -f conftest.$ac_objext libconftest.a
331 kx { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
331 kx (eval $lt_ar_try) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx if test 0 -ne "$ac_status"; then
331 kx lt_cv_ar_at_file=@
331 kx fi
331 kx fi
331 kx rm -f conftest.* libconftest.a
331 kx
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
331 kx printf "%s\n" "$lt_cv_ar_at_file" >&6; }
331 kx
331 kx if test no = "$lt_cv_ar_at_file"; then
331 kx archiver_list_spec=
331 kx else
331 kx archiver_list_spec=$lt_cv_ar_at_file
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}strip; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_STRIP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$STRIP"; then
331 kx ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_STRIP="${ac_tool_prefix}strip"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx STRIP=$ac_cv_prog_STRIP
331 kx if test -n "$STRIP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
331 kx printf "%s\n" "$STRIP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_STRIP"; then
331 kx ac_ct_STRIP=$STRIP
331 kx # Extract the first word of "strip", so it can be a program name with args.
331 kx set dummy strip; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_STRIP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_STRIP"; then
331 kx ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_STRIP="strip"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
331 kx if test -n "$ac_ct_STRIP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
331 kx printf "%s\n" "$ac_ct_STRIP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_STRIP" = x; then
331 kx STRIP=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx STRIP=$ac_ct_STRIP
331 kx fi
331 kx else
331 kx STRIP="$ac_cv_prog_STRIP"
331 kx fi
331 kx
331 kx test -z "$STRIP" && STRIP=:
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}ranlib; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_RANLIB+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$RANLIB"; then
331 kx ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx RANLIB=$ac_cv_prog_RANLIB
331 kx if test -n "$RANLIB"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
331 kx printf "%s\n" "$RANLIB" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_RANLIB"; then
331 kx ac_ct_RANLIB=$RANLIB
331 kx # Extract the first word of "ranlib", so it can be a program name with args.
331 kx set dummy ranlib; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_RANLIB+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_RANLIB"; then
331 kx ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_RANLIB="ranlib"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
331 kx if test -n "$ac_ct_RANLIB"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
331 kx printf "%s\n" "$ac_ct_RANLIB" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_RANLIB" = x; then
331 kx RANLIB=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx RANLIB=$ac_ct_RANLIB
331 kx fi
331 kx else
331 kx RANLIB="$ac_cv_prog_RANLIB"
331 kx fi
331 kx
331 kx test -z "$RANLIB" && RANLIB=:
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Determine commands to create old-style static archives.
331 kx old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
331 kx old_postinstall_cmds='chmod 644 $oldlib'
331 kx old_postuninstall_cmds=
331 kx
331 kx if test -n "$RANLIB"; then
331 kx case $host_os in
331 kx bitrig* | openbsd*)
331 kx old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
331 kx ;;
331 kx *)
331 kx old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
331 kx ;;
331 kx esac
331 kx old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
331 kx fi
331 kx
331 kx case $host_os in
331 kx darwin*)
331 kx lock_old_archive_extraction=yes ;;
331 kx *)
331 kx lock_old_archive_extraction=no ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # If no C compiler was specified, use CC.
331 kx LTCC=${LTCC-"$CC"}
331 kx
331 kx # If no C compiler flags were specified, use CFLAGS.
331 kx LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
331 kx
331 kx # Allow CC to be a program name with arguments.
331 kx compiler=$CC
331 kx
331 kx
331 kx # Check for command to grab the raw symbol name followed by C symbol from nm.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
331 kx printf %s "checking command to parse $NM output from $compiler object... " >&6; }
331 kx if test ${lt_cv_sys_global_symbol_pipe+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx # These are sane defaults that work on at least a few old systems.
331 kx # [They come from Ultrix. What could be older than Ultrix?!! ;)]
331 kx
331 kx # Character class describing NM global symbol codes.
331 kx symcode='[BCDEGRST]'
331 kx
331 kx # Regexp to match symbols that can be accessed directly from C.
331 kx sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
331 kx
331 kx # Define system-specific variables.
331 kx case $host_os in
331 kx aix*)
331 kx symcode='[BCDT]'
331 kx ;;
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx symcode='[ABCDGISTW]'
331 kx ;;
331 kx hpux*)
331 kx if test ia64 = "$host_cpu"; then
331 kx symcode='[ABCDEGRST]'
331 kx fi
331 kx ;;
331 kx irix* | nonstopux*)
331 kx symcode='[BCDEGRST]'
331 kx ;;
331 kx osf*)
331 kx symcode='[BCDEGQRST]'
331 kx ;;
331 kx solaris*)
331 kx symcode='[BDRT]'
331 kx ;;
331 kx sco3.2v5*)
331 kx symcode='[DT]'
331 kx ;;
331 kx sysv4.2uw2*)
331 kx symcode='[DT]'
331 kx ;;
331 kx sysv5* | sco5v6* | unixware* | OpenUNIX*)
331 kx symcode='[ABDT]'
331 kx ;;
331 kx sysv4)
331 kx symcode='[DFNSTU]'
331 kx ;;
331 kx esac
331 kx
331 kx # If we're using GNU nm, then use its standard symbol codes.
331 kx case `$NM -V 2>&1` in
331 kx *GNU* | *'with BFD'*)
331 kx symcode='[ABCDGIRSTW]' ;;
331 kx esac
331 kx
331 kx if test "$lt_cv_nm_interface" = "MS dumpbin"; then
331 kx # Gets list of data symbols to import.
331 kx lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
331 kx # Adjust the below global symbol transforms to fixup imported variables.
331 kx lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
331 kx lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
331 kx lt_c_name_lib_hook="\
331 kx -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
331 kx -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
331 kx else
331 kx # Disable hooks by default.
331 kx lt_cv_sys_global_symbol_to_import=
331 kx lt_cdecl_hook=
331 kx lt_c_name_hook=
331 kx lt_c_name_lib_hook=
331 kx fi
331 kx
331 kx # Transform an extracted symbol line into a proper C declaration.
331 kx # Some systems (esp. on ia64) link data and code symbols differently,
331 kx # so use this general approach.
331 kx lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
331 kx $lt_cdecl_hook\
331 kx " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
331 kx " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
331 kx
331 kx # Transform an extracted symbol line into symbol name and symbol address
331 kx lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
331 kx $lt_c_name_hook\
331 kx " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
331 kx " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
331 kx
331 kx # Transform an extracted symbol line into symbol name with lib prefix and
331 kx # symbol address.
331 kx lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
331 kx $lt_c_name_lib_hook\
331 kx " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
331 kx " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
331 kx " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
331 kx
331 kx # Handle CRLF in mingw tool chain
331 kx opt_cr=
331 kx case $build_os in
331 kx mingw*)
331 kx opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
331 kx ;;
331 kx esac
331 kx
331 kx # Try without a prefix underscore, then with it.
331 kx for ac_symprfx in "" "_"; do
331 kx
331 kx # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
331 kx symxfrm="\\1 $ac_symprfx\\2 \\2"
331 kx
331 kx # Write the raw and C identifiers.
331 kx if test "$lt_cv_nm_interface" = "MS dumpbin"; then
331 kx # Fake it for dumpbin and say T for any non-static function,
331 kx # D for any global variable and I for any imported variable.
331 kx # Also find C++ and __fastcall symbols from MSVC++ or ICC,
331 kx # which start with @ or ?.
331 kx lt_cv_sys_global_symbol_pipe="$AWK '"\
331 kx " {last_section=section; section=\$ 3};"\
331 kx " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
331 kx " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
331 kx " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
331 kx " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
331 kx " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
331 kx " \$ 0!~/External *\|/{next};"\
331 kx " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
331 kx " {if(hide[section]) next};"\
331 kx " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
331 kx " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
331 kx " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
331 kx " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
331 kx " ' prfx=^$ac_symprfx"
331 kx else
331 kx lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
331 kx fi
331 kx lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
331 kx
331 kx # Check to see that the pipe works correctly.
331 kx pipe_works=no
331 kx
331 kx rm -f conftest*
331 kx cat > conftest.$ac_ext <<_LT_EOF
331 kx #ifdef __cplusplus
331 kx extern "C" {
331 kx #endif
331 kx char nm_test_var;
331 kx void nm_test_func(void);
331 kx void nm_test_func(void){}
331 kx #ifdef __cplusplus
331 kx }
331 kx #endif
331 kx int main(){nm_test_var='a';nm_test_func();return(0);}
331 kx _LT_EOF
331 kx
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx # Now try to grab the symbols.
331 kx nlist=conftest.nm
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
331 kx (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && test -s "$nlist"; then
331 kx # Try sorting and uniquifying the output.
331 kx if sort "$nlist" | uniq > "$nlist"T; then
331 kx mv -f "$nlist"T "$nlist"
331 kx else
331 kx rm -f "$nlist"T
331 kx fi
331 kx
331 kx # Make sure that we snagged all the symbols we need.
331 kx if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
331 kx if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
331 kx cat <<_LT_EOF > conftest.$ac_ext
331 kx /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
331 kx #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
331 kx /* DATA imports from DLLs on WIN32 can't be const, because runtime
331 kx relocations are performed -- see ld's documentation on pseudo-relocs. */
331 kx # define LT_DLSYM_CONST
331 kx #elif defined __osf__
331 kx /* This system does not cope well with relocations in const data. */
331 kx # define LT_DLSYM_CONST
331 kx #else
331 kx # define LT_DLSYM_CONST const
331 kx #endif
331 kx
331 kx #ifdef __cplusplus
331 kx extern "C" {
331 kx #endif
331 kx
331 kx _LT_EOF
331 kx # Now generate the symbol file.
331 kx eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
331 kx
331 kx cat <<_LT_EOF >> conftest.$ac_ext
331 kx
331 kx /* The mapping between symbol names and symbols. */
331 kx LT_DLSYM_CONST struct {
331 kx const char *name;
331 kx void *address;
331 kx }
331 kx lt__PROGRAM__LTX_preloaded_symbols[] =
331 kx {
331 kx { "@PROGRAM@", (void *) 0 },
331 kx _LT_EOF
331 kx $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
331 kx cat <<\_LT_EOF >> conftest.$ac_ext
331 kx {0, (void *) 0}
331 kx };
331 kx
331 kx /* This works around a problem in FreeBSD linker */
331 kx #ifdef FREEBSD_WORKAROUND
331 kx static const void *lt_preloaded_setup() {
331 kx return lt__PROGRAM__LTX_preloaded_symbols;
331 kx }
331 kx #endif
331 kx
331 kx #ifdef __cplusplus
331 kx }
331 kx #endif
331 kx _LT_EOF
331 kx # Now try linking the two files.
331 kx mv conftest.$ac_objext conftstm.$ac_objext
331 kx lt_globsym_save_LIBS=$LIBS
331 kx lt_globsym_save_CFLAGS=$CFLAGS
331 kx LIBS=conftstm.$ac_objext
331 kx CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
331 kx (eval $ac_link) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && test -s conftest$ac_exeext; then
331 kx pipe_works=yes
331 kx fi
331 kx LIBS=$lt_globsym_save_LIBS
331 kx CFLAGS=$lt_globsym_save_CFLAGS
331 kx else
331 kx echo "cannot find nm_test_func in $nlist" >&5
331 kx fi
331 kx else
331 kx echo "cannot find nm_test_var in $nlist" >&5
331 kx fi
331 kx else
331 kx echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
331 kx fi
331 kx else
331 kx echo "$progname: failed program was:" >&5
331 kx cat conftest.$ac_ext >&5
331 kx fi
331 kx rm -rf conftest* conftst*
331 kx
331 kx # Do not use the global_symbol_pipe unless it works.
331 kx if test yes = "$pipe_works"; then
331 kx break
331 kx else
331 kx lt_cv_sys_global_symbol_pipe=
331 kx fi
331 kx done
331 kx
331 kx fi
331 kx
331 kx if test -z "$lt_cv_sys_global_symbol_pipe"; then
331 kx lt_cv_sys_global_symbol_to_cdecl=
331 kx fi
331 kx if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
331 kx printf "%s\n" "failed" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
331 kx printf "%s\n" "ok" >&6; }
331 kx fi
331 kx
331 kx # Response file support.
331 kx if test "$lt_cv_nm_interface" = "MS dumpbin"; then
331 kx nm_file_list_spec='@'
331 kx elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
331 kx nm_file_list_spec='@'
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
331 kx printf %s "checking for sysroot... " >&6; }
331 kx
331 kx # Check whether --with-sysroot was given.
331 kx if test ${with_sysroot+y}
331 kx then :
331 kx withval=$with_sysroot;
331 kx else $as_nop
331 kx with_sysroot=no
331 kx fi
331 kx
331 kx
331 kx lt_sysroot=
331 kx case $with_sysroot in #(
331 kx yes)
331 kx if test yes = "$GCC"; then
331 kx lt_sysroot=`$CC --print-sysroot 2>/dev/null`
331 kx fi
331 kx ;; #(
331 kx /*)
331 kx lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
331 kx ;; #(
331 kx no|'')
331 kx ;; #(
331 kx *)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
331 kx printf "%s\n" "$with_sysroot" >&6; }
331 kx as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
331 kx printf "%s\n" "${lt_sysroot:-no}" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
331 kx printf %s "checking for a working dd... " >&6; }
331 kx if test ${ac_cv_path_lt_DD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx printf 0123456789abcdef0123456789abcdef >conftest.i
331 kx cat conftest.i conftest.i >conftest2.i
331 kx : ${lt_DD:=$DD}
331 kx if test -z "$lt_DD"; then
331 kx ac_path_lt_DD_found=false
331 kx # Loop through the user's path and test for each of PROGNAME-LIST
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_prog in dd
331 kx do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
331 kx as_fn_executable_p "$ac_path_lt_DD" || continue
331 kx if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
331 kx cmp -s conftest.i conftest.out \
331 kx && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
331 kx fi
331 kx $ac_path_lt_DD_found && break 3
331 kx done
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx if test -z "$ac_cv_path_lt_DD"; then
331 kx :
331 kx fi
331 kx else
331 kx ac_cv_path_lt_DD=$lt_DD
331 kx fi
331 kx
331 kx rm -f conftest.i conftest2.i conftest.out
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
331 kx printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
331 kx printf %s "checking how to truncate binary pipes... " >&6; }
331 kx if test ${lt_cv_truncate_bin+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx printf 0123456789abcdef0123456789abcdef >conftest.i
331 kx cat conftest.i conftest.i >conftest2.i
331 kx lt_cv_truncate_bin=
331 kx if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
331 kx cmp -s conftest.i conftest.out \
331 kx && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
331 kx fi
331 kx rm -f conftest.i conftest2.i conftest.out
331 kx test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
331 kx printf "%s\n" "$lt_cv_truncate_bin" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
331 kx func_cc_basename ()
331 kx {
331 kx for cc_temp in $*""; do
331 kx case $cc_temp in
331 kx compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
331 kx distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
331 kx \-*) ;;
331 kx *) break;;
331 kx esac
331 kx done
331 kx func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
331 kx }
331 kx
331 kx # Check whether --enable-libtool-lock was given.
331 kx if test ${enable_libtool_lock+y}
331 kx then :
331 kx enableval=$enable_libtool_lock;
331 kx fi
331 kx
331 kx test no = "$enable_libtool_lock" || enable_libtool_lock=yes
331 kx
331 kx # Some flags need to be propagated to the compiler or linker for good
331 kx # libtool support.
331 kx case $host in
331 kx ia64-*-hpux*)
331 kx # Find out what ABI is being produced by ac_compile, and set mode
331 kx # options accordingly.
331 kx echo 'int i;' > conftest.$ac_ext
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx case `$FILECMD conftest.$ac_objext` in
331 kx *ELF-32*)
331 kx HPUX_IA64_MODE=32
331 kx ;;
331 kx *ELF-64*)
331 kx HPUX_IA64_MODE=64
331 kx ;;
331 kx esac
331 kx fi
331 kx rm -rf conftest*
331 kx ;;
331 kx *-*-irix6*)
331 kx # Find out what ABI is being produced by ac_compile, and set linker
331 kx # options accordingly.
331 kx echo '#line '$LINENO' "configure"' > conftest.$ac_ext
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx if test yes = "$lt_cv_prog_gnu_ld"; then
331 kx case `$FILECMD conftest.$ac_objext` in
331 kx *32-bit*)
331 kx LD="${LD-ld} -melf32bsmip"
331 kx ;;
331 kx *N32*)
331 kx LD="${LD-ld} -melf32bmipn32"
331 kx ;;
331 kx *64-bit*)
331 kx LD="${LD-ld} -melf64bmip"
331 kx ;;
331 kx esac
331 kx else
331 kx case `$FILECMD conftest.$ac_objext` in
331 kx *32-bit*)
331 kx LD="${LD-ld} -32"
331 kx ;;
331 kx *N32*)
331 kx LD="${LD-ld} -n32"
331 kx ;;
331 kx *64-bit*)
331 kx LD="${LD-ld} -64"
331 kx ;;
331 kx esac
331 kx fi
331 kx fi
331 kx rm -rf conftest*
331 kx ;;
331 kx
331 kx mips64*-*linux*)
331 kx # Find out what ABI is being produced by ac_compile, and set linker
331 kx # options accordingly.
331 kx echo '#line '$LINENO' "configure"' > conftest.$ac_ext
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx emul=elf
331 kx case `$FILECMD conftest.$ac_objext` in
331 kx *32-bit*)
331 kx emul="${emul}32"
331 kx ;;
331 kx *64-bit*)
331 kx emul="${emul}64"
331 kx ;;
331 kx esac
331 kx case `$FILECMD conftest.$ac_objext` in
331 kx *MSB*)
331 kx emul="${emul}btsmip"
331 kx ;;
331 kx *LSB*)
331 kx emul="${emul}ltsmip"
331 kx ;;
331 kx esac
331 kx case `$FILECMD conftest.$ac_objext` in
331 kx *N32*)
331 kx emul="${emul}n32"
331 kx ;;
331 kx esac
331 kx LD="${LD-ld} -m $emul"
331 kx fi
331 kx rm -rf conftest*
331 kx ;;
331 kx
331 kx x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
331 kx s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
331 kx # Find out what ABI is being produced by ac_compile, and set linker
331 kx # options accordingly. Note that the listed cases only cover the
331 kx # situations where additional linker options are needed (such as when
331 kx # doing 32-bit compilation for a host where ld defaults to 64-bit, or
331 kx # vice versa); the common cases where no linker options are needed do
331 kx # not appear in the list.
331 kx echo 'int i;' > conftest.$ac_ext
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx case `$FILECMD conftest.o` in
331 kx *32-bit*)
331 kx case $host in
331 kx x86_64-*kfreebsd*-gnu)
331 kx LD="${LD-ld} -m elf_i386_fbsd"
331 kx ;;
331 kx x86_64-*linux*)
331 kx case `$FILECMD conftest.o` in
331 kx *x86-64*)
331 kx LD="${LD-ld} -m elf32_x86_64"
331 kx ;;
331 kx *)
331 kx LD="${LD-ld} -m elf_i386"
331 kx ;;
331 kx esac
331 kx ;;
331 kx powerpc64le-*linux*)
331 kx LD="${LD-ld} -m elf32lppclinux"
331 kx ;;
331 kx powerpc64-*linux*)
331 kx LD="${LD-ld} -m elf32ppclinux"
331 kx ;;
331 kx s390x-*linux*)
331 kx LD="${LD-ld} -m elf_s390"
331 kx ;;
331 kx sparc64-*linux*)
331 kx LD="${LD-ld} -m elf32_sparc"
331 kx ;;
331 kx esac
331 kx ;;
331 kx *64-bit*)
331 kx case $host in
331 kx x86_64-*kfreebsd*-gnu)
331 kx LD="${LD-ld} -m elf_x86_64_fbsd"
331 kx ;;
331 kx x86_64-*linux*)
331 kx LD="${LD-ld} -m elf_x86_64"
331 kx ;;
331 kx powerpcle-*linux*)
331 kx LD="${LD-ld} -m elf64lppc"
331 kx ;;
331 kx powerpc-*linux*)
331 kx LD="${LD-ld} -m elf64ppc"
331 kx ;;
331 kx s390*-*linux*|s390*-*tpf*)
331 kx LD="${LD-ld} -m elf64_s390"
331 kx ;;
331 kx sparc*-*linux*)
331 kx LD="${LD-ld} -m elf64_sparc"
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx fi
331 kx rm -rf conftest*
331 kx ;;
331 kx
331 kx *-*-sco3.2v5*)
331 kx # On SCO OpenServer 5, we need -belf to get full-featured binaries.
331 kx SAVE_CFLAGS=$CFLAGS
331 kx CFLAGS="$CFLAGS -belf"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
331 kx printf %s "checking whether the C compiler needs -belf... " >&6; }
331 kx if test ${lt_cv_cc_needs_belf+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx lt_cv_cc_needs_belf=yes
331 kx else $as_nop
331 kx lt_cv_cc_needs_belf=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
331 kx printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
331 kx if test yes != "$lt_cv_cc_needs_belf"; then
331 kx # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
331 kx CFLAGS=$SAVE_CFLAGS
331 kx fi
331 kx ;;
331 kx *-*solaris*)
331 kx # Find out what ABI is being produced by ac_compile, and set linker
331 kx # options accordingly.
331 kx echo 'int i;' > conftest.$ac_ext
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx case `$FILECMD conftest.o` in
331 kx *64-bit*)
331 kx case $lt_cv_prog_gnu_ld in
331 kx yes*)
331 kx case $host in
331 kx i?86-*-solaris*|x86_64-*-solaris*)
331 kx LD="${LD-ld} -m elf_x86_64"
331 kx ;;
331 kx sparc*-*-solaris*)
331 kx LD="${LD-ld} -m elf64_sparc"
331 kx ;;
331 kx esac
331 kx # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
331 kx if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
331 kx LD=${LD-ld}_sol2
331 kx fi
331 kx ;;
331 kx *)
331 kx if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
331 kx LD="${LD-ld} -64"
331 kx fi
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx fi
331 kx rm -rf conftest*
331 kx ;;
331 kx esac
331 kx
331 kx need_locks=$enable_libtool_lock
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}mt; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_MANIFEST_TOOL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$MANIFEST_TOOL"; then
331 kx ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
331 kx if test -n "$MANIFEST_TOOL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
331 kx printf "%s\n" "$MANIFEST_TOOL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
331 kx ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
331 kx # Extract the first word of "mt", so it can be a program name with args.
331 kx set dummy mt; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_MANIFEST_TOOL"; then
331 kx ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
331 kx if test -n "$ac_ct_MANIFEST_TOOL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
331 kx printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_MANIFEST_TOOL" = x; then
331 kx MANIFEST_TOOL=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
331 kx fi
331 kx else
331 kx MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
331 kx fi
331 kx
331 kx test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
331 kx printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
331 kx if test ${lt_cv_path_mainfest_tool+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_path_mainfest_tool=no
331 kx echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
331 kx $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
331 kx cat conftest.err >&5
331 kx if $GREP 'Manifest Tool' conftest.out > /dev/null; then
331 kx lt_cv_path_mainfest_tool=yes
331 kx fi
331 kx rm -f conftest*
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
331 kx printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
331 kx if test yes != "$lt_cv_path_mainfest_tool"; then
331 kx MANIFEST_TOOL=:
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx case $host_os in
331 kx rhapsody* | darwin*)
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_DSYMUTIL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$DSYMUTIL"; then
331 kx ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx DSYMUTIL=$ac_cv_prog_DSYMUTIL
331 kx if test -n "$DSYMUTIL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
331 kx printf "%s\n" "$DSYMUTIL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_DSYMUTIL"; then
331 kx ac_ct_DSYMUTIL=$DSYMUTIL
331 kx # Extract the first word of "dsymutil", so it can be a program name with args.
331 kx set dummy dsymutil; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_DSYMUTIL"; then
331 kx ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
331 kx if test -n "$ac_ct_DSYMUTIL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
331 kx printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_DSYMUTIL" = x; then
331 kx DSYMUTIL=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DSYMUTIL=$ac_ct_DSYMUTIL
331 kx fi
331 kx else
331 kx DSYMUTIL="$ac_cv_prog_DSYMUTIL"
331 kx fi
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}nmedit; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_NMEDIT+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$NMEDIT"; then
331 kx ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx NMEDIT=$ac_cv_prog_NMEDIT
331 kx if test -n "$NMEDIT"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
331 kx printf "%s\n" "$NMEDIT" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_NMEDIT"; then
331 kx ac_ct_NMEDIT=$NMEDIT
331 kx # Extract the first word of "nmedit", so it can be a program name with args.
331 kx set dummy nmedit; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_NMEDIT+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_NMEDIT"; then
331 kx ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_NMEDIT="nmedit"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
331 kx if test -n "$ac_ct_NMEDIT"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
331 kx printf "%s\n" "$ac_ct_NMEDIT" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_NMEDIT" = x; then
331 kx NMEDIT=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx NMEDIT=$ac_ct_NMEDIT
331 kx fi
331 kx else
331 kx NMEDIT="$ac_cv_prog_NMEDIT"
331 kx fi
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}lipo; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_LIPO+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$LIPO"; then
331 kx ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx LIPO=$ac_cv_prog_LIPO
331 kx if test -n "$LIPO"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
331 kx printf "%s\n" "$LIPO" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_LIPO"; then
331 kx ac_ct_LIPO=$LIPO
331 kx # Extract the first word of "lipo", so it can be a program name with args.
331 kx set dummy lipo; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_LIPO+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_LIPO"; then
331 kx ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_LIPO="lipo"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
331 kx if test -n "$ac_ct_LIPO"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
331 kx printf "%s\n" "$ac_ct_LIPO" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_LIPO" = x; then
331 kx LIPO=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx LIPO=$ac_ct_LIPO
331 kx fi
331 kx else
331 kx LIPO="$ac_cv_prog_LIPO"
331 kx fi
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}otool; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_OTOOL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$OTOOL"; then
331 kx ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx OTOOL=$ac_cv_prog_OTOOL
331 kx if test -n "$OTOOL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
331 kx printf "%s\n" "$OTOOL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_OTOOL"; then
331 kx ac_ct_OTOOL=$OTOOL
331 kx # Extract the first word of "otool", so it can be a program name with args.
331 kx set dummy otool; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_OTOOL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_OTOOL"; then
331 kx ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_OTOOL="otool"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
331 kx if test -n "$ac_ct_OTOOL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
331 kx printf "%s\n" "$ac_ct_OTOOL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_OTOOL" = x; then
331 kx OTOOL=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx OTOOL=$ac_ct_OTOOL
331 kx fi
331 kx else
331 kx OTOOL="$ac_cv_prog_OTOOL"
331 kx fi
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}otool64; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_OTOOL64+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$OTOOL64"; then
331 kx ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx OTOOL64=$ac_cv_prog_OTOOL64
331 kx if test -n "$OTOOL64"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
331 kx printf "%s\n" "$OTOOL64" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_prog_OTOOL64"; then
331 kx ac_ct_OTOOL64=$OTOOL64
331 kx # Extract the first word of "otool64", so it can be a program name with args.
331 kx set dummy otool64; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_ac_ct_OTOOL64+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$ac_ct_OTOOL64"; then
331 kx ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_ac_ct_OTOOL64="otool64"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
331 kx if test -n "$ac_ct_OTOOL64"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
331 kx printf "%s\n" "$ac_ct_OTOOL64" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_ct_OTOOL64" = x; then
331 kx OTOOL64=":"
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx OTOOL64=$ac_ct_OTOOL64
331 kx fi
331 kx else
331 kx OTOOL64="$ac_cv_prog_OTOOL64"
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
331 kx printf %s "checking for -single_module linker flag... " >&6; }
331 kx if test ${lt_cv_apple_cc_single_mod+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_apple_cc_single_mod=no
331 kx if test -z "$LT_MULTI_MODULE"; then
331 kx # By default we will add the -single_module flag. You can override
331 kx # by either setting the environment variable LT_MULTI_MODULE
331 kx # non-empty at configure time, or by adding -multi_module to the
331 kx # link flags.
331 kx rm -rf libconftest.dylib*
331 kx echo "int foo(void){return 1;}" > conftest.c
331 kx echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
331 kx -dynamiclib -Wl,-single_module conftest.c" >&5
331 kx $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
331 kx -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
331 kx _lt_result=$?
331 kx # If there is a non-empty error log, and "single_module"
331 kx # appears in it, assume the flag caused a linker warning
331 kx if test -s conftest.err && $GREP single_module conftest.err; then
331 kx cat conftest.err >&5
331 kx # Otherwise, if the output was created with a 0 exit code from
331 kx # the compiler, it worked.
331 kx elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
331 kx lt_cv_apple_cc_single_mod=yes
331 kx else
331 kx cat conftest.err >&5
331 kx fi
331 kx rm -rf libconftest.dylib*
331 kx rm -f conftest.*
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
331 kx printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
331 kx printf %s "checking for -exported_symbols_list linker flag... " >&6; }
331 kx if test ${lt_cv_ld_exported_symbols_list+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_ld_exported_symbols_list=no
331 kx save_LDFLAGS=$LDFLAGS
331 kx echo "_main" > conftest.sym
331 kx LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx lt_cv_ld_exported_symbols_list=yes
331 kx else $as_nop
331 kx lt_cv_ld_exported_symbols_list=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LDFLAGS=$save_LDFLAGS
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
331 kx printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
331 kx printf %s "checking for -force_load linker flag... " >&6; }
331 kx if test ${lt_cv_ld_force_load+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_ld_force_load=no
331 kx cat > conftest.c << _LT_EOF
331 kx int forced_loaded() { return 2;}
331 kx _LT_EOF
331 kx echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
331 kx $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
331 kx echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
331 kx $AR $AR_FLAGS libconftest.a conftest.o 2>&5
331 kx echo "$RANLIB libconftest.a" >&5
331 kx $RANLIB libconftest.a 2>&5
331 kx cat > conftest.c << _LT_EOF
331 kx int main() { return 0;}
331 kx _LT_EOF
331 kx echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
331 kx $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
331 kx _lt_result=$?
331 kx if test -s conftest.err && $GREP force_load conftest.err; then
331 kx cat conftest.err >&5
331 kx elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
331 kx lt_cv_ld_force_load=yes
331 kx else
331 kx cat conftest.err >&5
331 kx fi
331 kx rm -f conftest.err libconftest.a conftest conftest.c
331 kx rm -rf conftest.dSYM
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
331 kx printf "%s\n" "$lt_cv_ld_force_load" >&6; }
331 kx case $host_os in
331 kx rhapsody* | darwin1.[012])
331 kx _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
331 kx darwin1.*)
331 kx _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
331 kx darwin*)
331 kx case $MACOSX_DEPLOYMENT_TARGET,$host in
331 kx 10.[012],*|,*powerpc*-darwin[5-8]*)
331 kx _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
331 kx *)
331 kx _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx if test yes = "$lt_cv_apple_cc_single_mod"; then
331 kx _lt_dar_single_mod='$single_module'
331 kx fi
331 kx if test yes = "$lt_cv_ld_exported_symbols_list"; then
331 kx _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
331 kx else
331 kx _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
331 kx fi
331 kx if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
331 kx _lt_dsymutil='~$DSYMUTIL $lib || :'
331 kx else
331 kx _lt_dsymutil=
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx # func_munge_path_list VARIABLE PATH
331 kx # -----------------------------------
331 kx # VARIABLE is name of variable containing _space_ separated list of
331 kx # directories to be munged by the contents of PATH, which is string
331 kx # having a format:
331 kx # "DIR[:DIR]:"
331 kx # string "DIR[ DIR]" will be prepended to VARIABLE
331 kx # ":DIR[:DIR]"
331 kx # string "DIR[ DIR]" will be appended to VARIABLE
331 kx # "DIRP[:DIRP]::[DIRA:]DIRA"
331 kx # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
331 kx # "DIRA[ DIRA]" will be appended to VARIABLE
331 kx # "DIR[:DIR]"
331 kx # VARIABLE will be replaced by "DIR[ DIR]"
331 kx func_munge_path_list ()
331 kx {
331 kx case x$2 in
331 kx x)
331 kx ;;
331 kx *:)
331 kx eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
331 kx ;;
331 kx x:*)
331 kx eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
331 kx ;;
331 kx *::*)
331 kx eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
331 kx eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
331 kx ;;
331 kx *)
331 kx eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
331 kx ;;
331 kx esac
331 kx }
331 kx
331 kx ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
331 kx "
331 kx if test "x$ac_cv_header_dlfcn_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx
331 kx
331 kx func_stripname_cnf ()
331 kx {
331 kx case $2 in
331 kx .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
331 kx *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
331 kx esac
331 kx } # func_stripname_cnf
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Set options
331 kx
331 kx
331 kx
331 kx enable_dlopen=no
331 kx
331 kx
331 kx enable_win32_dll=no
331 kx
331 kx
331 kx # Check whether --enable-shared was given.
331 kx if test ${enable_shared+y}
331 kx then :
331 kx enableval=$enable_shared; p=${PACKAGE-default}
331 kx case $enableval in
331 kx yes) enable_shared=yes ;;
331 kx no) enable_shared=no ;;
331 kx *)
331 kx enable_shared=no
331 kx # Look at the argument we got. We use all the common list separators.
331 kx lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
331 kx for pkg in $enableval; do
331 kx IFS=$lt_save_ifs
331 kx if test "X$pkg" = "X$p"; then
331 kx enable_shared=yes
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx ;;
331 kx esac
331 kx else $as_nop
331 kx enable_shared=yes
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Check whether --enable-static was given.
331 kx if test ${enable_static+y}
331 kx then :
331 kx enableval=$enable_static; p=${PACKAGE-default}
331 kx case $enableval in
331 kx yes) enable_static=yes ;;
331 kx no) enable_static=no ;;
331 kx *)
331 kx enable_static=no
331 kx # Look at the argument we got. We use all the common list separators.
331 kx lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
331 kx for pkg in $enableval; do
331 kx IFS=$lt_save_ifs
331 kx if test "X$pkg" = "X$p"; then
331 kx enable_static=yes
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx ;;
331 kx esac
331 kx else $as_nop
331 kx enable_static=yes
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Check whether --with-pic was given.
331 kx if test ${with_pic+y}
331 kx then :
331 kx withval=$with_pic; lt_p=${PACKAGE-default}
331 kx case $withval in
331 kx yes|no) pic_mode=$withval ;;
331 kx *)
331 kx pic_mode=default
331 kx # Look at the argument we got. We use all the common list separators.
331 kx lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
331 kx for lt_pkg in $withval; do
331 kx IFS=$lt_save_ifs
331 kx if test "X$lt_pkg" = "X$lt_p"; then
331 kx pic_mode=yes
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx ;;
331 kx esac
331 kx else $as_nop
331 kx pic_mode=default
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Check whether --enable-fast-install was given.
331 kx if test ${enable_fast_install+y}
331 kx then :
331 kx enableval=$enable_fast_install; p=${PACKAGE-default}
331 kx case $enableval in
331 kx yes) enable_fast_install=yes ;;
331 kx no) enable_fast_install=no ;;
331 kx *)
331 kx enable_fast_install=no
331 kx # Look at the argument we got. We use all the common list separators.
331 kx lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
331 kx for pkg in $enableval; do
331 kx IFS=$lt_save_ifs
331 kx if test "X$pkg" = "X$p"; then
331 kx enable_fast_install=yes
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx ;;
331 kx esac
331 kx else $as_nop
331 kx enable_fast_install=yes
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx shared_archive_member_spec=
331 kx case $host,$enable_shared in
331 kx power*-*-aix[5-9]*,yes)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
331 kx printf %s "checking which variant of shared library versioning to provide... " >&6; }
331 kx
331 kx # Check whether --with-aix-soname was given.
331 kx if test ${with_aix_soname+y}
331 kx then :
331 kx withval=$with_aix_soname; case $withval in
331 kx aix|svr4|both)
331 kx ;;
331 kx *)
331 kx as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx lt_cv_with_aix_soname=$with_aix_soname
331 kx else $as_nop
331 kx if test ${lt_cv_with_aix_soname+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_with_aix_soname=aix
331 kx fi
331 kx
331 kx with_aix_soname=$lt_cv_with_aix_soname
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
331 kx printf "%s\n" "$with_aix_soname" >&6; }
331 kx if test aix != "$with_aix_soname"; then
331 kx # For the AIX way of multilib, we name the shared archive member
331 kx # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
331 kx # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
331 kx # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
331 kx # the AIX toolchain works better with OBJECT_MODE set (default 32).
331 kx if test 64 = "${OBJECT_MODE-32}"; then
331 kx shared_archive_member_spec=shr_64
331 kx else
331 kx shared_archive_member_spec=shr
331 kx fi
331 kx fi
331 kx ;;
331 kx *)
331 kx with_aix_soname=aix
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # This can be used to rebuild libtool when needed
331 kx LIBTOOL_DEPS=$ltmain
331 kx
331 kx # Always use our own libtool.
331 kx LIBTOOL='$(SHELL) $(top_builddir)/libtool'
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx test -z "$LN_S" && LN_S="ln -s"
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "${ZSH_VERSION+set}"; then
331 kx setopt NO_GLOB_SUBST
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
331 kx printf %s "checking for objdir... " >&6; }
331 kx if test ${lt_cv_objdir+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx rm -f .libs 2>/dev/null
331 kx mkdir .libs 2>/dev/null
331 kx if test -d .libs; then
331 kx lt_cv_objdir=.libs
331 kx else
331 kx # MS-DOS does not allow filenames that begin with a dot.
331 kx lt_cv_objdir=_libs
331 kx fi
331 kx rmdir .libs 2>/dev/null
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
331 kx printf "%s\n" "$lt_cv_objdir" >&6; }
331 kx objdir=$lt_cv_objdir
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
331 kx
331 kx
331 kx
331 kx
331 kx case $host_os in
331 kx aix3*)
331 kx # AIX sometimes has problems with the GCC collect2 program. For some
331 kx # reason, if we set the COLLECT_NAMES environment variable, the problems
331 kx # vanish in a puff of smoke.
331 kx if test set != "${COLLECT_NAMES+set}"; then
331 kx COLLECT_NAMES=
331 kx export COLLECT_NAMES
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx # Global variables:
331 kx ofile=libtool
331 kx can_build_shared=yes
331 kx
331 kx # All known linkers require a '.a' archive for static linking (except MSVC and
331 kx # ICC, which need '.lib').
331 kx libext=a
331 kx
331 kx with_gnu_ld=$lt_cv_prog_gnu_ld
331 kx
331 kx old_CC=$CC
331 kx old_CFLAGS=$CFLAGS
331 kx
331 kx # Set sane defaults for various variables
331 kx test -z "$CC" && CC=cc
331 kx test -z "$LTCC" && LTCC=$CC
331 kx test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
331 kx test -z "$LD" && LD=ld
331 kx test -z "$ac_objext" && ac_objext=o
331 kx
331 kx func_cc_basename $compiler
331 kx cc_basename=$func_cc_basename_result
331 kx
331 kx
331 kx # Only perform the check for file, if the check method requires it
331 kx test -z "$MAGIC_CMD" && MAGIC_CMD=file
331 kx case $deplibs_check_method in
331 kx file_magic*)
331 kx if test "$file_magic_cmd" = '$MAGIC_CMD'; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
331 kx printf %s "checking for ${ac_tool_prefix}file... " >&6; }
331 kx if test ${lt_cv_path_MAGIC_CMD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MAGIC_CMD in
331 kx [\\/*] | ?:[\\/]*)
331 kx lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx lt_save_MAGIC_CMD=$MAGIC_CMD
331 kx lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
331 kx ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
331 kx for ac_dir in $ac_dummy; do
331 kx IFS=$lt_save_ifs
331 kx test -z "$ac_dir" && ac_dir=.
331 kx if test -f "$ac_dir/${ac_tool_prefix}file"; then
331 kx lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
331 kx if test -n "$file_magic_test_file"; then
331 kx case $deplibs_check_method in
331 kx "file_magic "*)
331 kx file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
331 kx MAGIC_CMD=$lt_cv_path_MAGIC_CMD
331 kx if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
331 kx $EGREP "$file_magic_regex" > /dev/null; then
331 kx :
331 kx else
331 kx cat <<_LT_EOF 1>&2
331 kx
331 kx *** Warning: the command libtool uses to detect shared libraries,
331 kx *** $file_magic_cmd, produces output that libtool cannot recognize.
331 kx *** The result is that libtool may fail to recognize shared libraries
331 kx *** as such. This will affect the creation of libtool libraries that
331 kx *** depend on shared libraries, but programs linked with such libtool
331 kx *** libraries will work regardless of this problem. Nevertheless, you
331 kx *** may want to report the problem to your system manager and/or to
331 kx *** bug-libtool@gnu.org
331 kx
331 kx _LT_EOF
331 kx fi ;;
331 kx esac
331 kx fi
331 kx break
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx MAGIC_CMD=$lt_save_MAGIC_CMD
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx MAGIC_CMD=$lt_cv_path_MAGIC_CMD
331 kx if test -n "$MAGIC_CMD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
331 kx printf "%s\n" "$MAGIC_CMD" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -z "$lt_cv_path_MAGIC_CMD"; then
331 kx if test -n "$ac_tool_prefix"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
331 kx printf %s "checking for file... " >&6; }
331 kx if test ${lt_cv_path_MAGIC_CMD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MAGIC_CMD in
331 kx [\\/*] | ?:[\\/]*)
331 kx lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx lt_save_MAGIC_CMD=$MAGIC_CMD
331 kx lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
331 kx ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
331 kx for ac_dir in $ac_dummy; do
331 kx IFS=$lt_save_ifs
331 kx test -z "$ac_dir" && ac_dir=.
331 kx if test -f "$ac_dir/file"; then
331 kx lt_cv_path_MAGIC_CMD=$ac_dir/"file"
331 kx if test -n "$file_magic_test_file"; then
331 kx case $deplibs_check_method in
331 kx "file_magic "*)
331 kx file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
331 kx MAGIC_CMD=$lt_cv_path_MAGIC_CMD
331 kx if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
331 kx $EGREP "$file_magic_regex" > /dev/null; then
331 kx :
331 kx else
331 kx cat <<_LT_EOF 1>&2
331 kx
331 kx *** Warning: the command libtool uses to detect shared libraries,
331 kx *** $file_magic_cmd, produces output that libtool cannot recognize.
331 kx *** The result is that libtool may fail to recognize shared libraries
331 kx *** as such. This will affect the creation of libtool libraries that
331 kx *** depend on shared libraries, but programs linked with such libtool
331 kx *** libraries will work regardless of this problem. Nevertheless, you
331 kx *** may want to report the problem to your system manager and/or to
331 kx *** bug-libtool@gnu.org
331 kx
331 kx _LT_EOF
331 kx fi ;;
331 kx esac
331 kx fi
331 kx break
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx MAGIC_CMD=$lt_save_MAGIC_CMD
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx MAGIC_CMD=$lt_cv_path_MAGIC_CMD
331 kx if test -n "$MAGIC_CMD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
331 kx printf "%s\n" "$MAGIC_CMD" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx else
331 kx MAGIC_CMD=:
331 kx fi
331 kx fi
331 kx
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx # Use C for the default configuration in the libtool script
331 kx
331 kx lt_save_CC=$CC
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx # Source file extension for C test sources.
331 kx ac_ext=c
331 kx
331 kx # Object file extension for compiled C test sources.
331 kx objext=o
331 kx objext=$objext
331 kx
331 kx # Code to be used in simple compile tests
331 kx lt_simple_compile_test_code="int some_variable = 0;"
331 kx
331 kx # Code to be used in simple link tests
331 kx lt_simple_link_test_code='int main(){return(0);}'
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # If no C compiler was specified, use CC.
331 kx LTCC=${LTCC-"$CC"}
331 kx
331 kx # If no C compiler flags were specified, use CFLAGS.
331 kx LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
331 kx
331 kx # Allow CC to be a program name with arguments.
331 kx compiler=$CC
331 kx
331 kx # Save the default compiler, since it gets overwritten when the other
331 kx # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
331 kx compiler_DEFAULT=$CC
331 kx
331 kx # save warnings/boilerplate of simple test code
331 kx ac_outfile=conftest.$ac_objext
331 kx echo "$lt_simple_compile_test_code" >conftest.$ac_ext
331 kx eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
331 kx _lt_compiler_boilerplate=`cat conftest.err`
331 kx $RM conftest*
331 kx
331 kx ac_outfile=conftest.$ac_objext
331 kx echo "$lt_simple_link_test_code" >conftest.$ac_ext
331 kx eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
331 kx _lt_linker_boilerplate=`cat conftest.err`
331 kx $RM -r conftest*
331 kx
331 kx
331 kx ## CAVEAT EMPTOR:
331 kx ## There is no encapsulation within the following macros, do not change
331 kx ## the running order or otherwise move them around unless you know exactly
331 kx ## what you are doing...
331 kx if test -n "$compiler"; then
331 kx
331 kx lt_prog_compiler_no_builtin_flag=
331 kx
331 kx if test yes = "$GCC"; then
331 kx case $cc_basename in
331 kx nvcc*)
331 kx lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
331 kx *)
331 kx lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
331 kx esac
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
331 kx printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
331 kx if test ${lt_cv_prog_compiler_rtti_exceptions+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_rtti_exceptions=no
331 kx ac_outfile=conftest.$ac_objext
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
331 kx # Insert the option either (1) after the last *FLAGS variable, or
331 kx # (2) before a word containing "conftest.", or (3) at the end.
331 kx # Note that $ac_compile itself does not contain backslashes and begins
331 kx # with a dollar sign (not a hyphen), so the echo should work correctly.
331 kx # The option is referenced via a variable to avoid confusing sed.
331 kx lt_compile=`echo "$ac_compile" | $SED \
331 kx -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
331 kx -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 kx -e 's:$: $lt_compiler_flag:'`
331 kx (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
331 kx (eval "$lt_compile" 2>conftest.err)
331 kx ac_status=$?
331 kx cat conftest.err >&5
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx if (exit $ac_status) && test -s "$ac_outfile"; then
331 kx # The compiler can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings other than the usual output.
331 kx $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
331 kx $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
331 kx if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_rtti_exceptions=yes
331 kx fi
331 kx fi
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
331 kx
331 kx if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
331 kx lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
331 kx else
331 kx :
331 kx fi
331 kx
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx lt_prog_compiler_wl=
331 kx lt_prog_compiler_pic=
331 kx lt_prog_compiler_static=
331 kx
331 kx
331 kx if test yes = "$GCC"; then
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_static='-static'
331 kx
331 kx case $host_os in
331 kx aix*)
331 kx # All AIX code is PIC.
331 kx if test ia64 = "$host_cpu"; then
331 kx # AIX 5 now supports IA64 processor
331 kx lt_prog_compiler_static='-Bstatic'
331 kx fi
331 kx lt_prog_compiler_pic='-fPIC'
331 kx ;;
331 kx
331 kx amigaos*)
331 kx case $host_cpu in
331 kx powerpc)
331 kx # see comment about AmigaOS4 .so support
331 kx lt_prog_compiler_pic='-fPIC'
331 kx ;;
331 kx m68k)
331 kx # FIXME: we need at least 68020 code to build shared libraries, but
331 kx # adding the '-m68020' flag to GCC prevents building anything better,
331 kx # like '-m68040'.
331 kx lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
331 kx # PIC is the default for these OSes.
331 kx ;;
331 kx
331 kx mingw* | cygwin* | pw32* | os2* | cegcc*)
331 kx # This hack is so that the source file can tell whether it is being
331 kx # built for inclusion in a dll (and should export symbols for example).
331 kx # Although the cygwin gcc ignores -fPIC, still need this for old-style
331 kx # (--disable-auto-import) libraries
331 kx lt_prog_compiler_pic='-DDLL_EXPORT'
331 kx case $host_os in
331 kx os2*)
331 kx lt_prog_compiler_static='$wl-static'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx darwin* | rhapsody*)
331 kx # PIC is the default on this platform
331 kx # Common symbols not allowed in MH_DYLIB files
331 kx lt_prog_compiler_pic='-fno-common'
331 kx ;;
331 kx
331 kx haiku*)
331 kx # PIC is the default for Haiku.
331 kx # The "-static" flag exists, but is broken.
331 kx lt_prog_compiler_static=
331 kx ;;
331 kx
331 kx hpux*)
331 kx # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
331 kx # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
331 kx # sets the default TLS model and affects inlining.
331 kx case $host_cpu in
331 kx hppa*64*)
331 kx # +Z the default
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_pic='-fPIC'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx interix[3-9]*)
331 kx # Interix 3.x gcc -fpic/-fPIC options generate broken code.
331 kx # Instead, we relocate shared libraries at runtime.
331 kx ;;
331 kx
331 kx msdosdjgpp*)
331 kx # Just because we use GCC doesn't mean we suddenly get shared libraries
331 kx # on systems that don't support them.
331 kx lt_prog_compiler_can_build_shared=no
331 kx enable_shared=no
331 kx ;;
331 kx
331 kx *nto* | *qnx*)
331 kx # QNX uses GNU C++, but need to define -shared option too, otherwise
331 kx # it will coredump.
331 kx lt_prog_compiler_pic='-fPIC -shared'
331 kx ;;
331 kx
331 kx sysv4*MP*)
331 kx if test -d /usr/nec; then
331 kx lt_prog_compiler_pic=-Kconform_pic
331 kx fi
331 kx ;;
331 kx
331 kx *)
331 kx lt_prog_compiler_pic='-fPIC'
331 kx ;;
331 kx esac
331 kx
331 kx case $cc_basename in
331 kx nvcc*) # Cuda Compiler Driver 2.2
331 kx lt_prog_compiler_wl='-Xlinker '
331 kx if test -n "$lt_prog_compiler_pic"; then
331 kx lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
331 kx fi
331 kx ;;
331 kx esac
331 kx else
331 kx # PORTME Check for flag to pass linker flags through the system compiler.
331 kx case $host_os in
331 kx aix*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx if test ia64 = "$host_cpu"; then
331 kx # AIX 5 now supports IA64 processor
331 kx lt_prog_compiler_static='-Bstatic'
331 kx else
331 kx lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
331 kx fi
331 kx ;;
331 kx
331 kx darwin* | rhapsody*)
331 kx # PIC is the default on this platform
331 kx # Common symbols not allowed in MH_DYLIB files
331 kx lt_prog_compiler_pic='-fno-common'
331 kx case $cc_basename in
331 kx nagfor*)
331 kx # NAG Fortran compiler
331 kx lt_prog_compiler_wl='-Wl,-Wl,,'
331 kx lt_prog_compiler_pic='-PIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx mingw* | cygwin* | pw32* | os2* | cegcc*)
331 kx # This hack is so that the source file can tell whether it is being
331 kx # built for inclusion in a dll (and should export symbols for example).
331 kx lt_prog_compiler_pic='-DDLL_EXPORT'
331 kx case $host_os in
331 kx os2*)
331 kx lt_prog_compiler_static='$wl-static'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx hpux9* | hpux10* | hpux11*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
331 kx # not for PA HP-UX.
331 kx case $host_cpu in
331 kx hppa*64*|ia64*)
331 kx # +Z the default
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_pic='+Z'
331 kx ;;
331 kx esac
331 kx # Is there a better lt_prog_compiler_static that works with the bundled CC?
331 kx lt_prog_compiler_static='$wl-a ${wl}archive'
331 kx ;;
331 kx
331 kx irix5* | irix6* | nonstopux*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx # PIC (with -KPIC) is the default.
331 kx lt_prog_compiler_static='-non_shared'
331 kx ;;
331 kx
331 kx linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
331 kx case $cc_basename in
331 kx # old Intel for x86_64, which still supported -KPIC.
331 kx ecc*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-static'
331 kx ;;
331 kx # icc used to be incompatible with GCC.
331 kx # ICC 10 doesn't accept -KPIC any more.
331 kx icc* | ifort*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-fPIC'
331 kx lt_prog_compiler_static='-static'
331 kx ;;
331 kx # Lahey Fortran 8.1.
331 kx lf95*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='--shared'
331 kx lt_prog_compiler_static='--static'
331 kx ;;
331 kx nagfor*)
331 kx # NAG Fortran compiler
331 kx lt_prog_compiler_wl='-Wl,-Wl,,'
331 kx lt_prog_compiler_pic='-PIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx tcc*)
331 kx # Fabrice Bellard et al's Tiny C Compiler
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-fPIC'
331 kx lt_prog_compiler_static='-static'
331 kx ;;
331 kx pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
331 kx # Portland Group compilers (*not* the Pentium gcc compiler,
331 kx # which looks to be a dead project)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-fpic'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx ccc*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx # All Alpha code is PIC.
331 kx lt_prog_compiler_static='-non_shared'
331 kx ;;
331 kx xl* | bgxl* | bgf* | mpixl*)
331 kx # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-qpic'
331 kx lt_prog_compiler_static='-qstaticlink'
331 kx ;;
331 kx *)
331 kx case `$CC -V 2>&1 | $SED 5q` in
331 kx *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
331 kx # Sun Fortran 8.3 passes all unrecognized flags to the linker
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx lt_prog_compiler_wl=''
331 kx ;;
331 kx *Sun\ F* | *Sun*Fortran*)
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx lt_prog_compiler_wl='-Qoption ld '
331 kx ;;
331 kx *Sun\ C*)
331 kx # Sun C 5.9
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx lt_prog_compiler_wl='-Wl,'
331 kx ;;
331 kx *Intel*\ [CF]*Compiler*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-fPIC'
331 kx lt_prog_compiler_static='-static'
331 kx ;;
331 kx *Portland\ Group*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-fpic'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx newsos6)
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx
331 kx *nto* | *qnx*)
331 kx # QNX uses GNU C++, but need to define -shared option too, otherwise
331 kx # it will coredump.
331 kx lt_prog_compiler_pic='-fPIC -shared'
331 kx ;;
331 kx
331 kx osf3* | osf4* | osf5*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx # All OSF/1 code is PIC.
331 kx lt_prog_compiler_static='-non_shared'
331 kx ;;
331 kx
331 kx rdos*)
331 kx lt_prog_compiler_static='-non_shared'
331 kx ;;
331 kx
331 kx solaris*)
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx case $cc_basename in
331 kx f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
331 kx lt_prog_compiler_wl='-Qoption ld ';;
331 kx *)
331 kx lt_prog_compiler_wl='-Wl,';;
331 kx esac
331 kx ;;
331 kx
331 kx sunos4*)
331 kx lt_prog_compiler_wl='-Qoption ld '
331 kx lt_prog_compiler_pic='-PIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx
331 kx sysv4 | sysv4.2uw2* | sysv4.3*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx
331 kx sysv4*MP*)
331 kx if test -d /usr/nec; then
331 kx lt_prog_compiler_pic='-Kconform_pic'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx fi
331 kx ;;
331 kx
331 kx sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_pic='-KPIC'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx
331 kx unicos*)
331 kx lt_prog_compiler_wl='-Wl,'
331 kx lt_prog_compiler_can_build_shared=no
331 kx ;;
331 kx
331 kx uts4*)
331 kx lt_prog_compiler_pic='-pic'
331 kx lt_prog_compiler_static='-Bstatic'
331 kx ;;
331 kx
331 kx *)
331 kx lt_prog_compiler_can_build_shared=no
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx case $host_os in
331 kx # For platforms that do not support PIC, -DPIC is meaningless:
331 kx *djgpp*)
331 kx lt_prog_compiler_pic=
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
331 kx ;;
331 kx esac
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
331 kx printf %s "checking for $compiler option to produce PIC... " >&6; }
331 kx if test ${lt_cv_prog_compiler_pic+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
331 kx lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
331 kx
331 kx #
331 kx # Check to make sure the PIC flag actually works.
331 kx #
331 kx if test -n "$lt_prog_compiler_pic"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
331 kx printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
331 kx if test ${lt_cv_prog_compiler_pic_works+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_pic_works=no
331 kx ac_outfile=conftest.$ac_objext
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
331 kx # Insert the option either (1) after the last *FLAGS variable, or
331 kx # (2) before a word containing "conftest.", or (3) at the end.
331 kx # Note that $ac_compile itself does not contain backslashes and begins
331 kx # with a dollar sign (not a hyphen), so the echo should work correctly.
331 kx # The option is referenced via a variable to avoid confusing sed.
331 kx lt_compile=`echo "$ac_compile" | $SED \
331 kx -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
331 kx -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 kx -e 's:$: $lt_compiler_flag:'`
331 kx (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
331 kx (eval "$lt_compile" 2>conftest.err)
331 kx ac_status=$?
331 kx cat conftest.err >&5
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx if (exit $ac_status) && test -s "$ac_outfile"; then
331 kx # The compiler can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings other than the usual output.
331 kx $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
331 kx $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
331 kx if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_pic_works=yes
331 kx fi
331 kx fi
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
331 kx
331 kx if test yes = "$lt_cv_prog_compiler_pic_works"; then
331 kx case $lt_prog_compiler_pic in
331 kx "" | " "*) ;;
331 kx *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
331 kx esac
331 kx else
331 kx lt_prog_compiler_pic=
331 kx lt_prog_compiler_can_build_shared=no
331 kx fi
331 kx
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx #
331 kx # Check to make sure the static flag actually works.
331 kx #
331 kx wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
331 kx printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
331 kx if test ${lt_cv_prog_compiler_static_works+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_static_works=no
331 kx save_LDFLAGS=$LDFLAGS
331 kx LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
331 kx echo "$lt_simple_link_test_code" > conftest.$ac_ext
331 kx if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
331 kx # The linker can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings
331 kx if test -s conftest.err; then
331 kx # Append any errors to the config.log.
331 kx cat conftest.err 1>&5
331 kx $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
331 kx $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
331 kx if diff conftest.exp conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_static_works=yes
331 kx fi
331 kx else
331 kx lt_cv_prog_compiler_static_works=yes
331 kx fi
331 kx fi
331 kx $RM -r conftest*
331 kx LDFLAGS=$save_LDFLAGS
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
331 kx
331 kx if test yes = "$lt_cv_prog_compiler_static_works"; then
331 kx :
331 kx else
331 kx lt_prog_compiler_static=
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
331 kx printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
331 kx if test ${lt_cv_prog_compiler_c_o+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_c_o=no
331 kx $RM -r conftest 2>/dev/null
331 kx mkdir conftest
331 kx cd conftest
331 kx mkdir out
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx
331 kx lt_compiler_flag="-o out/conftest2.$ac_objext"
331 kx # Insert the option either (1) after the last *FLAGS variable, or
331 kx # (2) before a word containing "conftest.", or (3) at the end.
331 kx # Note that $ac_compile itself does not contain backslashes and begins
331 kx # with a dollar sign (not a hyphen), so the echo should work correctly.
331 kx lt_compile=`echo "$ac_compile" | $SED \
331 kx -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
331 kx -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 kx -e 's:$: $lt_compiler_flag:'`
331 kx (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
331 kx (eval "$lt_compile" 2>out/conftest.err)
331 kx ac_status=$?
331 kx cat out/conftest.err >&5
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx if (exit $ac_status) && test -s out/conftest2.$ac_objext
331 kx then
331 kx # The compiler can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings
331 kx $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
331 kx $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
331 kx if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_c_o=yes
331 kx fi
331 kx fi
331 kx chmod u+w . 2>&5
331 kx $RM conftest*
331 kx # SGI C++ compiler will create directory out/ii_files/ for
331 kx # template instantiation
331 kx test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
331 kx $RM out/* && rmdir out
331 kx cd ..
331 kx $RM -r conftest
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
331 kx printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
331 kx if test ${lt_cv_prog_compiler_c_o+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_c_o=no
331 kx $RM -r conftest 2>/dev/null
331 kx mkdir conftest
331 kx cd conftest
331 kx mkdir out
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx
331 kx lt_compiler_flag="-o out/conftest2.$ac_objext"
331 kx # Insert the option either (1) after the last *FLAGS variable, or
331 kx # (2) before a word containing "conftest.", or (3) at the end.
331 kx # Note that $ac_compile itself does not contain backslashes and begins
331 kx # with a dollar sign (not a hyphen), so the echo should work correctly.
331 kx lt_compile=`echo "$ac_compile" | $SED \
331 kx -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
331 kx -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 kx -e 's:$: $lt_compiler_flag:'`
331 kx (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
331 kx (eval "$lt_compile" 2>out/conftest.err)
331 kx ac_status=$?
331 kx cat out/conftest.err >&5
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx if (exit $ac_status) && test -s out/conftest2.$ac_objext
331 kx then
331 kx # The compiler can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings
331 kx $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
331 kx $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
331 kx if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_c_o=yes
331 kx fi
331 kx fi
331 kx chmod u+w . 2>&5
331 kx $RM conftest*
331 kx # SGI C++ compiler will create directory out/ii_files/ for
331 kx # template instantiation
331 kx test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
331 kx $RM out/* && rmdir out
331 kx cd ..
331 kx $RM -r conftest
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx hard_links=nottested
331 kx if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
331 kx # do not overwrite the value of need_locks provided by the user
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
331 kx printf %s "checking if we can lock with hard links... " >&6; }
331 kx hard_links=yes
331 kx $RM conftest*
331 kx ln conftest.a conftest.b 2>/dev/null && hard_links=no
331 kx touch conftest.a
331 kx ln conftest.a conftest.b 2>&5 || hard_links=no
331 kx ln conftest.a conftest.b 2>/dev/null && hard_links=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
331 kx printf "%s\n" "$hard_links" >&6; }
331 kx if test no = "$hard_links"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
331 kx printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
331 kx need_locks=warn
331 kx fi
331 kx else
331 kx need_locks=no
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
331 kx printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
331 kx
331 kx runpath_var=
331 kx allow_undefined_flag=
331 kx always_export_symbols=no
331 kx archive_cmds=
331 kx archive_expsym_cmds=
331 kx compiler_needs_object=no
331 kx enable_shared_with_static_runtimes=no
331 kx export_dynamic_flag_spec=
331 kx export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
331 kx hardcode_automatic=no
331 kx hardcode_direct=no
331 kx hardcode_direct_absolute=no
331 kx hardcode_libdir_flag_spec=
331 kx hardcode_libdir_separator=
331 kx hardcode_minus_L=no
331 kx hardcode_shlibpath_var=unsupported
331 kx inherit_rpath=no
331 kx link_all_deplibs=unknown
331 kx module_cmds=
331 kx module_expsym_cmds=
331 kx old_archive_from_new_cmds=
331 kx old_archive_from_expsyms_cmds=
331 kx thread_safe_flag_spec=
331 kx whole_archive_flag_spec=
331 kx # include_expsyms should be a list of space-separated symbols to be *always*
331 kx # included in the symbol list
331 kx include_expsyms=
331 kx # exclude_expsyms can be an extended regexp of symbols to exclude
331 kx # it will be wrapped by ' (' and ')$', so one must not match beginning or
331 kx # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
331 kx # as well as any symbol that contains 'd'.
331 kx exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
331 kx # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
331 kx # platforms (ab)use it in PIC code, but their linkers get confused if
331 kx # the symbol is explicitly referenced. Since portable code cannot
331 kx # rely on this symbol name, it's probably fine to never include it in
331 kx # preloaded symbol tables.
331 kx # Exclude shared library initialization/finalization symbols.
331 kx extract_expsyms_cmds=
331 kx
331 kx case $host_os in
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
331 kx # When not using gcc, we currently assume that we are using
331 kx # Microsoft Visual C++ or Intel C++ Compiler.
331 kx if test yes != "$GCC"; then
331 kx with_gnu_ld=no
331 kx fi
331 kx ;;
331 kx interix*)
331 kx # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
331 kx with_gnu_ld=yes
331 kx ;;
331 kx openbsd* | bitrig*)
331 kx with_gnu_ld=no
331 kx ;;
331 kx esac
331 kx
331 kx ld_shlibs=yes
331 kx
331 kx # On some targets, GNU ld is compatible enough with the native linker
331 kx # that we're better off using the native interface for both.
331 kx lt_use_gnu_ld_interface=no
331 kx if test yes = "$with_gnu_ld"; then
331 kx case $host_os in
331 kx aix*)
331 kx # The AIX port of GNU ld has always aspired to compatibility
331 kx # with the native linker. However, as the warning in the GNU ld
331 kx # block says, versions before 2.19.5* couldn't really create working
331 kx # shared libraries, regardless of the interface used.
331 kx case `$LD -v 2>&1` in
331 kx *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
331 kx *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
331 kx *\ \(GNU\ Binutils\)\ [3-9]*) ;;
331 kx *)
331 kx lt_use_gnu_ld_interface=yes
331 kx ;;
331 kx esac
331 kx ;;
331 kx *)
331 kx lt_use_gnu_ld_interface=yes
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx if test yes = "$lt_use_gnu_ld_interface"; then
331 kx # If archive_cmds runs LD, not CC, wlarc should be empty
331 kx wlarc='$wl'
331 kx
331 kx # Set some defaults for GNU ld with shared library support. These
331 kx # are reset later if shared libraries are not supported. Putting them
331 kx # here allows them to be overridden if necessary.
331 kx runpath_var=LD_RUN_PATH
331 kx hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
331 kx export_dynamic_flag_spec='$wl--export-dynamic'
331 kx # ancient GNU ld didn't support --whole-archive et. al.
331 kx if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
331 kx whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
331 kx else
331 kx whole_archive_flag_spec=
331 kx fi
331 kx supports_anon_versioning=no
331 kx case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
331 kx *GNU\ gold*) supports_anon_versioning=yes ;;
331 kx *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
331 kx *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
331 kx *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
331 kx *\ 2.11.*) ;; # other 2.11 versions
331 kx *) supports_anon_versioning=yes ;;
331 kx esac
331 kx
331 kx # See if GNU ld supports shared libraries.
331 kx case $host_os in
331 kx aix[3-9]*)
331 kx # On AIX/PPC, the GNU linker is very broken
331 kx if test ia64 != "$host_cpu"; then
331 kx ld_shlibs=no
331 kx cat <<_LT_EOF 1>&2
331 kx
331 kx *** Warning: the GNU linker, at least up to release 2.19, is reported
331 kx *** to be unable to reliably create shared libraries on AIX.
331 kx *** Therefore, libtool is disabling shared libraries support. If you
331 kx *** really care for shared libraries, you may want to install binutils
331 kx *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
331 kx *** You will then need to restart the configuration process.
331 kx
331 kx _LT_EOF
331 kx fi
331 kx ;;
331 kx
331 kx amigaos*)
331 kx case $host_cpu in
331 kx powerpc)
331 kx # see comment about AmigaOS4 .so support
331 kx archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds=''
331 kx ;;
331 kx m68k)
331 kx archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_minus_L=yes
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx beos*)
331 kx if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
331 kx allow_undefined_flag=unsupported
331 kx # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
331 kx # support --undefined. This deserves some investigation. FIXME
331 kx archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx ;;
331 kx
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
331 kx # as there is no search path for DLLs.
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx export_dynamic_flag_spec='$wl--export-all-symbols'
331 kx allow_undefined_flag=unsupported
331 kx always_export_symbols=no
331 kx enable_shared_with_static_runtimes=yes
331 kx export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
331 kx exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
331 kx
331 kx if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
331 kx archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
331 kx # If the export-symbols file already is a .def file, use it as
331 kx # is; otherwise, prepend EXPORTS...
331 kx archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
331 kx cp $export_symbols $output_objdir/$soname.def;
331 kx else
331 kx echo EXPORTS > $output_objdir/$soname.def;
331 kx cat $export_symbols >> $output_objdir/$soname.def;
331 kx fi~
331 kx $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx ;;
331 kx
331 kx haiku*)
331 kx archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx link_all_deplibs=yes
331 kx ;;
331 kx
331 kx os2*)
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_minus_L=yes
331 kx allow_undefined_flag=unsupported
331 kx shrext_cmds=.dll
331 kx archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
331 kx $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
331 kx $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
331 kx $ECHO EXPORTS >> $output_objdir/$libname.def~
331 kx emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
331 kx $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
331 kx emximp -o $lib $output_objdir/$libname.def'
331 kx archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
331 kx $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
331 kx $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
331 kx $ECHO EXPORTS >> $output_objdir/$libname.def~
331 kx prefix_cmds="$SED"~
331 kx if test EXPORTS = "`$SED 1q $export_symbols`"; then
331 kx prefix_cmds="$prefix_cmds -e 1d";
331 kx fi~
331 kx prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
331 kx cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
331 kx $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
331 kx emximp -o $lib $output_objdir/$libname.def'
331 kx old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
331 kx enable_shared_with_static_runtimes=yes
331 kx file_list_spec='@'
331 kx ;;
331 kx
331 kx interix[3-9]*)
331 kx hardcode_direct=no
331 kx hardcode_shlibpath_var=no
331 kx hardcode_libdir_flag_spec='$wl-rpath,$libdir'
331 kx export_dynamic_flag_spec='$wl-E'
331 kx # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
331 kx # Instead, shared libraries are loaded at an image base (0x10000000 by
331 kx # default) and relocated if they conflict, which is a slow very memory
331 kx # consuming and fragmenting process. To avoid this, we pick a random,
331 kx # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
331 kx # time. Moving up from 0x10000000 also allows more sbrk(2) space.
331 kx archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
331 kx archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
331 kx ;;
331 kx
331 kx gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
331 kx tmp_diet=no
331 kx if test linux-dietlibc = "$host_os"; then
331 kx case $cc_basename in
331 kx diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
331 kx esac
331 kx fi
331 kx if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
331 kx && test no = "$tmp_diet"
331 kx then
331 kx tmp_addflag=' $pic_flag'
331 kx tmp_sharedflag='-shared'
331 kx case $cc_basename,$host_cpu in
331 kx pgcc*) # Portland Group C compiler
331 kx whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
331 kx tmp_addflag=' $pic_flag'
331 kx ;;
331 kx pgf77* | pgf90* | pgf95* | pgfortran*)
331 kx # Portland Group f77 and f90 compilers
331 kx whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
331 kx tmp_addflag=' $pic_flag -Mnomain' ;;
331 kx ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
331 kx tmp_addflag=' -i_dynamic' ;;
331 kx efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
331 kx tmp_addflag=' -i_dynamic -nofor_main' ;;
331 kx ifc* | ifort*) # Intel Fortran compiler
331 kx tmp_addflag=' -nofor_main' ;;
331 kx lf95*) # Lahey Fortran 8.1
331 kx whole_archive_flag_spec=
331 kx tmp_sharedflag='--shared' ;;
331 kx nagfor*) # NAGFOR 5.3
331 kx tmp_sharedflag='-Wl,-shared' ;;
331 kx xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
331 kx tmp_sharedflag='-qmkshrobj'
331 kx tmp_addflag= ;;
331 kx nvcc*) # Cuda Compiler Driver 2.2
331 kx whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
331 kx compiler_needs_object=yes
331 kx ;;
331 kx esac
331 kx case `$CC -V 2>&1 | $SED 5q` in
331 kx *Sun\ C*) # Sun C 5.9
331 kx whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
331 kx compiler_needs_object=yes
331 kx tmp_sharedflag='-G' ;;
331 kx *Sun\ F*) # Sun Fortran 8.3
331 kx tmp_sharedflag='-G' ;;
331 kx esac
331 kx archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx
331 kx if test yes = "$supports_anon_versioning"; then
331 kx archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
331 kx cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
331 kx echo "local: *; };" >> $output_objdir/$libname.ver~
331 kx $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
331 kx fi
331 kx
331 kx case $cc_basename in
331 kx tcc*)
331 kx export_dynamic_flag_spec='-rdynamic'
331 kx ;;
331 kx xlf* | bgf* | bgxlf* | mpixlf*)
331 kx # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
331 kx whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
331 kx hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
331 kx archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
331 kx if test yes = "$supports_anon_versioning"; then
331 kx archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
331 kx cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
331 kx echo "local: *; };" >> $output_objdir/$libname.ver~
331 kx $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
331 kx fi
331 kx ;;
331 kx esac
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx ;;
331 kx
331 kx netbsd*)
331 kx if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
331 kx archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
331 kx wlarc=
331 kx else
331 kx archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx fi
331 kx ;;
331 kx
331 kx solaris*)
331 kx if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
331 kx ld_shlibs=no
331 kx cat <<_LT_EOF 1>&2
331 kx
331 kx *** Warning: The releases 2.8.* of the GNU linker cannot reliably
331 kx *** create shared libraries on Solaris systems. Therefore, libtool
331 kx *** is disabling shared libraries support. We urge you to upgrade GNU
331 kx *** binutils to release 2.9.1 or newer. Another option is to modify
331 kx *** your PATH or compiler configuration so that the native linker is
331 kx *** used, and then restart.
331 kx
331 kx _LT_EOF
331 kx elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
331 kx archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx ;;
331 kx
331 kx sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
331 kx case `$LD -v 2>&1` in
331 kx *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
331 kx ld_shlibs=no
331 kx cat <<_LT_EOF 1>&2
331 kx
331 kx *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
331 kx *** reliably create shared libraries on SCO systems. Therefore, libtool
331 kx *** is disabling shared libraries support. We urge you to upgrade GNU
331 kx *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
331 kx *** your PATH or compiler configuration so that the native linker is
331 kx *** used, and then restart.
331 kx
331 kx _LT_EOF
331 kx ;;
331 kx *)
331 kx # For security reasons, it is highly recommended that you always
331 kx # use absolute paths for naming shared libraries, and exclude the
331 kx # DT_RUNPATH tag from executables and libraries. But doing so
331 kx # requires that you compile everything twice, which is a pain.
331 kx if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
331 kx hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
331 kx archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx sunos4*)
331 kx archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
331 kx wlarc=
331 kx hardcode_direct=yes
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx *)
331 kx if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
331 kx archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx if test no = "$ld_shlibs"; then
331 kx runpath_var=
331 kx hardcode_libdir_flag_spec=
331 kx export_dynamic_flag_spec=
331 kx whole_archive_flag_spec=
331 kx fi
331 kx else
331 kx # PORTME fill in a description of your system's linker (not GNU ld)
331 kx case $host_os in
331 kx aix3*)
331 kx allow_undefined_flag=unsupported
331 kx always_export_symbols=yes
331 kx archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
331 kx # Note: this linker hardcodes the directories in LIBPATH if there
331 kx # are no directories specified by -L.
331 kx hardcode_minus_L=yes
331 kx if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
331 kx # Neither direct hardcoding nor static linking is supported with a
331 kx # broken collect2.
331 kx hardcode_direct=unsupported
331 kx fi
331 kx ;;
331 kx
331 kx aix[4-9]*)
331 kx if test ia64 = "$host_cpu"; then
331 kx # On IA64, the linker does run time linking by default, so we don't
331 kx # have to do anything special.
331 kx aix_use_runtimelinking=no
331 kx exp_sym_flag='-Bexport'
331 kx no_entry_flag=
331 kx else
331 kx # If we're using GNU nm, then we don't want the "-C" option.
331 kx # -C means demangle to GNU nm, but means don't demangle to AIX nm.
331 kx # Without the "-l" option, or with the "-B" option, AIX nm treats
331 kx # weak defined symbols like other global defined symbols, whereas
331 kx # GNU nm marks them as "W".
331 kx # While the 'weak' keyword is ignored in the Export File, we need
331 kx # it in the Import File for the 'aix-soname' feature, so we have
331 kx # to replace the "-B" option with "-P" for AIX nm.
331 kx if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
331 kx export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
331 kx else
331 kx export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
331 kx fi
331 kx aix_use_runtimelinking=no
331 kx
331 kx # Test if we are trying to use run time linking or normal
331 kx # AIX style linking. If -brtl is somewhere in LDFLAGS, we
331 kx # have runtime linking enabled, and use it for executables.
331 kx # For shared libraries, we enable/disable runtime linking
331 kx # depending on the kind of the shared library created -
331 kx # when "with_aix_soname,aix_use_runtimelinking" is:
331 kx # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
331 kx # "aix,yes" lib.so shared, rtl:yes, for executables
331 kx # lib.a static archive
331 kx # "both,no" lib.so.V(shr.o) shared, rtl:yes
331 kx # lib.a(lib.so.V) shared, rtl:no, for executables
331 kx # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
331 kx # lib.a(lib.so.V) shared, rtl:no
331 kx # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
331 kx # lib.a static archive
331 kx case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
331 kx for ld_flag in $LDFLAGS; do
331 kx if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
331 kx aix_use_runtimelinking=yes
331 kx break
331 kx fi
331 kx done
331 kx if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
331 kx # With aix-soname=svr4, we create the lib.so.V shared archives only,
331 kx # so we don't have lib.a shared libs to link our executables.
331 kx # We have to force runtime linking in this case.
331 kx aix_use_runtimelinking=yes
331 kx LDFLAGS="$LDFLAGS -Wl,-brtl"
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx exp_sym_flag='-bexport'
331 kx no_entry_flag='-bnoentry'
331 kx fi
331 kx
331 kx # When large executables or shared objects are built, AIX ld can
331 kx # have problems creating the table of contents. If linking a library
331 kx # or program results in "error TOC overflow" add -mminimal-toc to
331 kx # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
331 kx # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
331 kx
331 kx archive_cmds=''
331 kx hardcode_direct=yes
331 kx hardcode_direct_absolute=yes
331 kx hardcode_libdir_separator=':'
331 kx link_all_deplibs=yes
331 kx file_list_spec='$wl-f,'
331 kx case $with_aix_soname,$aix_use_runtimelinking in
331 kx aix,*) ;; # traditional, no import file
331 kx svr4,* | *,yes) # use import file
331 kx # The Import File defines what to hardcode.
331 kx hardcode_direct=no
331 kx hardcode_direct_absolute=no
331 kx ;;
331 kx esac
331 kx
331 kx if test yes = "$GCC"; then
331 kx case $host_os in aix4.[012]|aix4.[012].*)
331 kx # We only want to do this on AIX 4.2 and lower, the check
331 kx # below for broken collect2 doesn't work under 4.3+
331 kx collect2name=`$CC -print-prog-name=collect2`
331 kx if test -f "$collect2name" &&
331 kx strings "$collect2name" | $GREP resolve_lib_name >/dev/null
331 kx then
331 kx # We have reworked collect2
331 kx :
331 kx else
331 kx # We have old collect2
331 kx hardcode_direct=unsupported
331 kx # It fails to find uninstalled libraries when the uninstalled
331 kx # path is not listed in the libpath. Setting hardcode_minus_L
331 kx # to unsupported forces relinking
331 kx hardcode_minus_L=yes
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_libdir_separator=
331 kx fi
331 kx ;;
331 kx esac
331 kx shared_flag='-shared'
331 kx if test yes = "$aix_use_runtimelinking"; then
331 kx shared_flag="$shared_flag "'$wl-G'
331 kx fi
331 kx # Need to ensure runtime linking is disabled for the traditional
331 kx # shared library, or the linker may eventually find shared libraries
331 kx # /with/ Import File - we do not want to mix them.
331 kx shared_flag_aix='-shared'
331 kx shared_flag_svr4='-shared $wl-G'
331 kx else
331 kx # not using gcc
331 kx if test ia64 = "$host_cpu"; then
331 kx # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
331 kx # chokes on -Wl,-G. The following line is correct:
331 kx shared_flag='-G'
331 kx else
331 kx if test yes = "$aix_use_runtimelinking"; then
331 kx shared_flag='$wl-G'
331 kx else
331 kx shared_flag='$wl-bM:SRE'
331 kx fi
331 kx shared_flag_aix='$wl-bM:SRE'
331 kx shared_flag_svr4='$wl-G'
331 kx fi
331 kx fi
331 kx
331 kx export_dynamic_flag_spec='$wl-bexpall'
331 kx # It seems that -bexpall does not export symbols beginning with
331 kx # underscore (_), so it is better to generate a list of symbols to export.
331 kx always_export_symbols=yes
331 kx if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
331 kx # Warning - without using the other runtime loading flags (-brtl),
331 kx # -berok will link without error, but may produce a broken library.
331 kx allow_undefined_flag='-berok'
331 kx # Determine the default libpath from the value encoded in an
331 kx # empty executable.
331 kx if test set = "${lt_cv_aix_libpath+set}"; then
331 kx aix_libpath=$lt_cv_aix_libpath
331 kx else
331 kx if test ${lt_cv_aix_libpath_+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx
331 kx lt_aix_libpath_sed='
331 kx /Import File Strings/,/^$/ {
331 kx /^0/ {
331 kx s/^0 *\([^ ]*\) *$/\1/
331 kx p
331 kx }
331 kx }'
331 kx lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx # Check for a 64-bit object if we didn't find anything.
331 kx if test -z "$lt_cv_aix_libpath_"; then
331 kx lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx fi
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx if test -z "$lt_cv_aix_libpath_"; then
331 kx lt_cv_aix_libpath_=/usr/lib:/lib
331 kx fi
331 kx
331 kx fi
331 kx
331 kx aix_libpath=$lt_cv_aix_libpath_
331 kx fi
331 kx
331 kx hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
331 kx archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
331 kx else
331 kx if test ia64 = "$host_cpu"; then
331 kx hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
331 kx allow_undefined_flag="-z nodefs"
331 kx archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
331 kx else
331 kx # Determine the default libpath from the value encoded in an
331 kx # empty executable.
331 kx if test set = "${lt_cv_aix_libpath+set}"; then
331 kx aix_libpath=$lt_cv_aix_libpath
331 kx else
331 kx if test ${lt_cv_aix_libpath_+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx
331 kx lt_aix_libpath_sed='
331 kx /Import File Strings/,/^$/ {
331 kx /^0/ {
331 kx s/^0 *\([^ ]*\) *$/\1/
331 kx p
331 kx }
331 kx }'
331 kx lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx # Check for a 64-bit object if we didn't find anything.
331 kx if test -z "$lt_cv_aix_libpath_"; then
331 kx lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx fi
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx if test -z "$lt_cv_aix_libpath_"; then
331 kx lt_cv_aix_libpath_=/usr/lib:/lib
331 kx fi
331 kx
331 kx fi
331 kx
331 kx aix_libpath=$lt_cv_aix_libpath_
331 kx fi
331 kx
331 kx hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
331 kx # Warning - without using the other run time loading flags,
331 kx # -berok will link without error, but may produce a broken library.
331 kx no_undefined_flag=' $wl-bernotok'
331 kx allow_undefined_flag=' $wl-berok'
331 kx if test yes = "$with_gnu_ld"; then
331 kx # We only use this code for GNU lds that support --whole-archive.
331 kx whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
331 kx else
331 kx # Exported symbols can be pulled into shared objects from archives
331 kx whole_archive_flag_spec='$convenience'
331 kx fi
331 kx archive_cmds_need_lc=yes
331 kx archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
331 kx # -brtl affects multiple linker settings, -berok does not and is overridden later
331 kx compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
331 kx if test svr4 != "$with_aix_soname"; then
331 kx # This is similar to how AIX traditionally builds its shared libraries.
331 kx archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
331 kx fi
331 kx if test aix != "$with_aix_soname"; then
331 kx archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
331 kx else
331 kx # used by -dlpreopen to get the symbols
331 kx archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
331 kx fi
331 kx archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
331 kx fi
331 kx fi
331 kx ;;
331 kx
331 kx amigaos*)
331 kx case $host_cpu in
331 kx powerpc)
331 kx # see comment about AmigaOS4 .so support
331 kx archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds=''
331 kx ;;
331 kx m68k)
331 kx archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_minus_L=yes
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx bsdi[45]*)
331 kx export_dynamic_flag_spec=-rdynamic
331 kx ;;
331 kx
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx # When not using gcc, we currently assume that we are using
331 kx # Microsoft Visual C++ or Intel C++ Compiler.
331 kx # hardcode_libdir_flag_spec is actually meaningless, as there is
331 kx # no search path for DLLs.
331 kx case $cc_basename in
331 kx cl* | icl*)
331 kx # Native MSVC or ICC
331 kx hardcode_libdir_flag_spec=' '
331 kx allow_undefined_flag=unsupported
331 kx always_export_symbols=yes
331 kx file_list_spec='@'
331 kx # Tell ltmain to make .lib files, not .a files.
331 kx libext=lib
331 kx # Tell ltmain to make .dll files, not .so files.
331 kx shrext_cmds=.dll
331 kx # FIXME: Setting linknames here is a bad hack.
331 kx archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
331 kx archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
331 kx cp "$export_symbols" "$output_objdir/$soname.def";
331 kx echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
331 kx else
331 kx $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
331 kx fi~
331 kx $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
331 kx linknames='
331 kx # The linker will not automatically build a static lib if we build a DLL.
331 kx # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
331 kx enable_shared_with_static_runtimes=yes
331 kx exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
331 kx export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
331 kx # Don't use ranlib
331 kx old_postinstall_cmds='chmod 644 $oldlib'
331 kx postlink_cmds='lt_outputfile="@OUTPUT@"~
331 kx lt_tool_outputfile="@TOOL_OUTPUT@"~
331 kx case $lt_outputfile in
331 kx *.exe|*.EXE) ;;
331 kx *)
331 kx lt_outputfile=$lt_outputfile.exe
331 kx lt_tool_outputfile=$lt_tool_outputfile.exe
331 kx ;;
331 kx esac~
331 kx if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
331 kx $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
331 kx $RM "$lt_outputfile.manifest";
331 kx fi'
331 kx ;;
331 kx *)
331 kx # Assume MSVC and ICC wrapper
331 kx hardcode_libdir_flag_spec=' '
331 kx allow_undefined_flag=unsupported
331 kx # Tell ltmain to make .lib files, not .a files.
331 kx libext=lib
331 kx # Tell ltmain to make .dll files, not .so files.
331 kx shrext_cmds=.dll
331 kx # FIXME: Setting linknames here is a bad hack.
331 kx archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
331 kx # The linker will automatically build a .lib file if we build a DLL.
331 kx old_archive_from_new_cmds='true'
331 kx # FIXME: Should let the user specify the lib program.
331 kx old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
331 kx enable_shared_with_static_runtimes=yes
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx darwin* | rhapsody*)
331 kx
331 kx
331 kx archive_cmds_need_lc=no
331 kx hardcode_direct=no
331 kx hardcode_automatic=yes
331 kx hardcode_shlibpath_var=unsupported
331 kx if test yes = "$lt_cv_ld_force_load"; then
331 kx whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
331 kx
331 kx else
331 kx whole_archive_flag_spec=''
331 kx fi
331 kx link_all_deplibs=yes
331 kx allow_undefined_flag=$_lt_dar_allow_undefined
331 kx case $cc_basename in
331 kx ifort*|nagfor*) _lt_dar_can_shared=yes ;;
331 kx *) _lt_dar_can_shared=$GCC ;;
331 kx esac
331 kx if test yes = "$_lt_dar_can_shared"; then
331 kx output_verbose_link_cmd=func_echo_all
331 kx archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
331 kx module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
331 kx archive_expsym_cmds="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
331 kx module_expsym_cmds="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
331 kx
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx
331 kx ;;
331 kx
331 kx dgux*)
331 kx archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
331 kx # support. Future versions do this automatically, but an explicit c++rt0.o
331 kx # does not break anything, and helps significantly (at the cost of a little
331 kx # extra space).
331 kx freebsd2.2*)
331 kx archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
331 kx hardcode_libdir_flag_spec='-R$libdir'
331 kx hardcode_direct=yes
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx # Unfortunately, older versions of FreeBSD 2 do not have this feature.
331 kx freebsd2.*)
331 kx archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_direct=yes
331 kx hardcode_minus_L=yes
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
331 kx freebsd* | dragonfly* | midnightbsd*)
331 kx archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
331 kx hardcode_libdir_flag_spec='-R$libdir'
331 kx hardcode_direct=yes
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx hpux9*)
331 kx if test yes = "$GCC"; then
331 kx archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
331 kx else
331 kx archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
331 kx fi
331 kx hardcode_libdir_flag_spec='$wl+b $wl$libdir'
331 kx hardcode_libdir_separator=:
331 kx hardcode_direct=yes
331 kx
331 kx # hardcode_minus_L: Not really in the search PATH,
331 kx # but as the default location of the library.
331 kx hardcode_minus_L=yes
331 kx export_dynamic_flag_spec='$wl-E'
331 kx ;;
331 kx
331 kx hpux10*)
331 kx if test yes,no = "$GCC,$with_gnu_ld"; then
331 kx archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
331 kx else
331 kx archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
331 kx fi
331 kx if test no = "$with_gnu_ld"; then
331 kx hardcode_libdir_flag_spec='$wl+b $wl$libdir'
331 kx hardcode_libdir_separator=:
331 kx hardcode_direct=yes
331 kx hardcode_direct_absolute=yes
331 kx export_dynamic_flag_spec='$wl-E'
331 kx # hardcode_minus_L: Not really in the search PATH,
331 kx # but as the default location of the library.
331 kx hardcode_minus_L=yes
331 kx fi
331 kx ;;
331 kx
331 kx hpux11*)
331 kx if test yes,no = "$GCC,$with_gnu_ld"; then
331 kx case $host_cpu in
331 kx hppa*64*)
331 kx archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx ia64*)
331 kx archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx *)
331 kx archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx esac
331 kx else
331 kx case $host_cpu in
331 kx hppa*64*)
331 kx archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx ia64*)
331 kx archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx *)
331 kx
331 kx # Older versions of the 11.00 compiler do not understand -b yet
331 kx # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
331 kx printf %s "checking if $CC understands -b... " >&6; }
331 kx if test ${lt_cv_prog_compiler__b+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler__b=no
331 kx save_LDFLAGS=$LDFLAGS
331 kx LDFLAGS="$LDFLAGS -b"
331 kx echo "$lt_simple_link_test_code" > conftest.$ac_ext
331 kx if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
331 kx # The linker can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings
331 kx if test -s conftest.err; then
331 kx # Append any errors to the config.log.
331 kx cat conftest.err 1>&5
331 kx $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
331 kx $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
331 kx if diff conftest.exp conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler__b=yes
331 kx fi
331 kx else
331 kx lt_cv_prog_compiler__b=yes
331 kx fi
331 kx fi
331 kx $RM -r conftest*
331 kx LDFLAGS=$save_LDFLAGS
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
331 kx
331 kx if test yes = "$lt_cv_prog_compiler__b"; then
331 kx archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
331 kx else
331 kx archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
331 kx fi
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx if test no = "$with_gnu_ld"; then
331 kx hardcode_libdir_flag_spec='$wl+b $wl$libdir'
331 kx hardcode_libdir_separator=:
331 kx
331 kx case $host_cpu in
331 kx hppa*64*|ia64*)
331 kx hardcode_direct=no
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx *)
331 kx hardcode_direct=yes
331 kx hardcode_direct_absolute=yes
331 kx export_dynamic_flag_spec='$wl-E'
331 kx
331 kx # hardcode_minus_L: Not really in the search PATH,
331 kx # but as the default location of the library.
331 kx hardcode_minus_L=yes
331 kx ;;
331 kx esac
331 kx fi
331 kx ;;
331 kx
331 kx irix5* | irix6* | nonstopux*)
331 kx if test yes = "$GCC"; then
331 kx archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
331 kx # Try to use the -exported_symbol ld option, if it does not
331 kx # work, assume that -exports_file does not work either and
331 kx # implicitly export all symbols.
331 kx # This should be the same for all languages, so no per-tag cache variable.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
331 kx printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
331 kx if test ${lt_cv_irix_exported_symbol+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx save_LDFLAGS=$LDFLAGS
331 kx LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx int foo (void) { return 0; }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx lt_cv_irix_exported_symbol=yes
331 kx else $as_nop
331 kx lt_cv_irix_exported_symbol=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LDFLAGS=$save_LDFLAGS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
331 kx printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
331 kx if test yes = "$lt_cv_irix_exported_symbol"; then
331 kx archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
331 kx fi
331 kx else
331 kx archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
331 kx archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
331 kx fi
331 kx archive_cmds_need_lc='no'
331 kx hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
331 kx hardcode_libdir_separator=:
331 kx inherit_rpath=yes
331 kx link_all_deplibs=yes
331 kx ;;
331 kx
331 kx linux*)
331 kx case $cc_basename in
331 kx tcc*)
331 kx # Fabrice Bellard et al's Tiny C Compiler
331 kx ld_shlibs=yes
331 kx archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx netbsd*)
331 kx if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
331 kx archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
331 kx else
331 kx archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
331 kx fi
331 kx hardcode_libdir_flag_spec='-R$libdir'
331 kx hardcode_direct=yes
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx newsos6)
331 kx archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_direct=yes
331 kx hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
331 kx hardcode_libdir_separator=:
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx *nto* | *qnx*)
331 kx ;;
331 kx
331 kx openbsd* | bitrig*)
331 kx if test -f /usr/libexec/ld.so; then
331 kx hardcode_direct=yes
331 kx hardcode_shlibpath_var=no
331 kx hardcode_direct_absolute=yes
331 kx if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
331 kx archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
331 kx hardcode_libdir_flag_spec='$wl-rpath,$libdir'
331 kx export_dynamic_flag_spec='$wl-E'
331 kx else
331 kx archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
331 kx hardcode_libdir_flag_spec='$wl-rpath,$libdir'
331 kx fi
331 kx else
331 kx ld_shlibs=no
331 kx fi
331 kx ;;
331 kx
331 kx os2*)
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_minus_L=yes
331 kx allow_undefined_flag=unsupported
331 kx shrext_cmds=.dll
331 kx archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
331 kx $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
331 kx $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
331 kx $ECHO EXPORTS >> $output_objdir/$libname.def~
331 kx emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
331 kx $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
331 kx emximp -o $lib $output_objdir/$libname.def'
331 kx archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
331 kx $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
331 kx $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
331 kx $ECHO EXPORTS >> $output_objdir/$libname.def~
331 kx prefix_cmds="$SED"~
331 kx if test EXPORTS = "`$SED 1q $export_symbols`"; then
331 kx prefix_cmds="$prefix_cmds -e 1d";
331 kx fi~
331 kx prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
331 kx cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
331 kx $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
331 kx emximp -o $lib $output_objdir/$libname.def'
331 kx old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
331 kx enable_shared_with_static_runtimes=yes
331 kx file_list_spec='@'
331 kx ;;
331 kx
331 kx osf3*)
331 kx if test yes = "$GCC"; then
331 kx allow_undefined_flag=' $wl-expect_unresolved $wl\*'
331 kx archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
331 kx else
331 kx allow_undefined_flag=' -expect_unresolved \*'
331 kx archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
331 kx fi
331 kx archive_cmds_need_lc='no'
331 kx hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
331 kx hardcode_libdir_separator=:
331 kx ;;
331 kx
331 kx osf4* | osf5*) # as osf3* with the addition of -msym flag
331 kx if test yes = "$GCC"; then
331 kx allow_undefined_flag=' $wl-expect_unresolved $wl\*'
331 kx archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
331 kx hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
331 kx else
331 kx allow_undefined_flag=' -expect_unresolved \*'
331 kx archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
331 kx archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
331 kx $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
331 kx
331 kx # Both c and cxx compiler support -rpath directly
331 kx hardcode_libdir_flag_spec='-rpath $libdir'
331 kx fi
331 kx archive_cmds_need_lc='no'
331 kx hardcode_libdir_separator=:
331 kx ;;
331 kx
331 kx solaris*)
331 kx no_undefined_flag=' -z defs'
331 kx if test yes = "$GCC"; then
331 kx wlarc='$wl'
331 kx archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
331 kx $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
331 kx else
331 kx case `$CC -V 2>&1` in
331 kx *"Compilers 5.0"*)
331 kx wlarc=''
331 kx archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
331 kx $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
331 kx ;;
331 kx *)
331 kx wlarc='$wl'
331 kx archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
331 kx $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
331 kx ;;
331 kx esac
331 kx fi
331 kx hardcode_libdir_flag_spec='-R$libdir'
331 kx hardcode_shlibpath_var=no
331 kx case $host_os in
331 kx solaris2.[0-5] | solaris2.[0-5].*) ;;
331 kx *)
331 kx # The compiler driver will combine and reorder linker options,
331 kx # but understands '-z linker_flag'. GCC discards it without '$wl',
331 kx # but is careful enough not to reorder.
331 kx # Supported since Solaris 2.6 (maybe 2.5.1?)
331 kx if test yes = "$GCC"; then
331 kx whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
331 kx else
331 kx whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
331 kx fi
331 kx ;;
331 kx esac
331 kx link_all_deplibs=yes
331 kx ;;
331 kx
331 kx sunos4*)
331 kx if test sequent = "$host_vendor"; then
331 kx # Use $CC to link under sequent, because it throws in some extra .o
331 kx # files that make .init and .fini sections work.
331 kx archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx else
331 kx archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
331 kx fi
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_direct=yes
331 kx hardcode_minus_L=yes
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx sysv4)
331 kx case $host_vendor in
331 kx sni)
331 kx archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_direct=yes # is this really true???
331 kx ;;
331 kx siemens)
331 kx ## LD is ld it makes a PLAMLIB
331 kx ## CC just makes a GrossModule.
331 kx archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
331 kx reload_cmds='$CC -r -o $output$reload_objs'
331 kx hardcode_direct=no
331 kx ;;
331 kx motorola)
331 kx archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_direct=no #Motorola manual says yes, but my tests say they lie
331 kx ;;
331 kx esac
331 kx runpath_var='LD_RUN_PATH'
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx sysv4.3*)
331 kx archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_shlibpath_var=no
331 kx export_dynamic_flag_spec='-Bexport'
331 kx ;;
331 kx
331 kx sysv4*MP*)
331 kx if test -d /usr/nec; then
331 kx archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_shlibpath_var=no
331 kx runpath_var=LD_RUN_PATH
331 kx hardcode_runpath_var=yes
331 kx ld_shlibs=yes
331 kx fi
331 kx ;;
331 kx
331 kx sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
331 kx no_undefined_flag='$wl-z,text'
331 kx archive_cmds_need_lc=no
331 kx hardcode_shlibpath_var=no
331 kx runpath_var='LD_RUN_PATH'
331 kx
331 kx if test yes = "$GCC"; then
331 kx archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx else
331 kx archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx fi
331 kx ;;
331 kx
331 kx sysv5* | sco3.2v5* | sco5v6*)
331 kx # Note: We CANNOT use -z defs as we might desire, because we do not
331 kx # link with -lc, and that would cause any symbols used from libc to
331 kx # always be unresolved, which means just about no library would
331 kx # ever link correctly. If we're not using GNU ld we use -z text
331 kx # though, which does catch some bad symbols but isn't as heavy-handed
331 kx # as -z defs.
331 kx no_undefined_flag='$wl-z,text'
331 kx allow_undefined_flag='$wl-z,nodefs'
331 kx archive_cmds_need_lc=no
331 kx hardcode_shlibpath_var=no
331 kx hardcode_libdir_flag_spec='$wl-R,$libdir'
331 kx hardcode_libdir_separator=':'
331 kx link_all_deplibs=yes
331 kx export_dynamic_flag_spec='$wl-Bexport'
331 kx runpath_var='LD_RUN_PATH'
331 kx
331 kx if test yes = "$GCC"; then
331 kx archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx else
331 kx archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx fi
331 kx ;;
331 kx
331 kx uts4*)
331 kx archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx hardcode_shlibpath_var=no
331 kx ;;
331 kx
331 kx *)
331 kx ld_shlibs=no
331 kx ;;
331 kx esac
331 kx
331 kx if test sni = "$host_vendor"; then
331 kx case $host in
331 kx sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
331 kx export_dynamic_flag_spec='$wl-Blargedynsym'
331 kx ;;
331 kx esac
331 kx fi
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
331 kx printf "%s\n" "$ld_shlibs" >&6; }
331 kx test no = "$ld_shlibs" && can_build_shared=no
331 kx
331 kx with_gnu_ld=$with_gnu_ld
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx #
331 kx # Do we need to explicitly link libc?
331 kx #
331 kx case "x$archive_cmds_need_lc" in
331 kx x|xyes)
331 kx # Assume -lc should be added
331 kx archive_cmds_need_lc=yes
331 kx
331 kx if test yes,yes = "$GCC,$enable_shared"; then
331 kx case $archive_cmds in
331 kx *'~'*)
331 kx # FIXME: we may have to deal with multi-command sequences.
331 kx ;;
331 kx '$CC '*)
331 kx # Test whether the compiler implicitly links with -lc since on some
331 kx # systems, -lgcc has to come before -lc. If gcc already passes -lc
331 kx # to ld, don't add -lc before -lgcc.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
331 kx printf %s "checking whether -lc should be explicitly linked in... " >&6; }
331 kx if test ${lt_cv_archive_cmds_need_lc+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx $RM conftest*
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } 2>conftest.err; then
331 kx soname=conftest
331 kx lib=conftest
331 kx libobjs=conftest.$ac_objext
331 kx deplibs=
331 kx wl=$lt_prog_compiler_wl
331 kx pic_flag=$lt_prog_compiler_pic
331 kx compiler_flags=-v
331 kx linker_flags=-v
331 kx verstring=
331 kx output_objdir=.
331 kx libname=conftest
331 kx lt_save_allow_undefined_flag=$allow_undefined_flag
331 kx allow_undefined_flag=
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
331 kx (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx then
331 kx lt_cv_archive_cmds_need_lc=no
331 kx else
331 kx lt_cv_archive_cmds_need_lc=yes
331 kx fi
331 kx allow_undefined_flag=$lt_save_allow_undefined_flag
331 kx else
331 kx cat conftest.err 1>&5
331 kx fi
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
331 kx printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
331 kx archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
331 kx ;;
331 kx esac
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
331 kx printf %s "checking dynamic linker characteristics... " >&6; }
331 kx
331 kx if test yes = "$GCC"; then
331 kx case $host_os in
331 kx darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
331 kx *) lt_awk_arg='/^libraries:/' ;;
331 kx esac
331 kx case $host_os in
331 kx mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
331 kx *) lt_sed_strip_eq='s|=/|/|g' ;;
331 kx esac
331 kx lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
331 kx case $lt_search_path_spec in
331 kx *\;*)
331 kx # if the path contains ";" then we assume it to be the separator
331 kx # otherwise default to the standard path separator (i.e. ":") - it is
331 kx # assumed that no part of a normal pathname contains ";" but that should
331 kx # okay in the real world where ";" in dirpaths is itself problematic.
331 kx lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
331 kx ;;
331 kx *)
331 kx lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
331 kx ;;
331 kx esac
331 kx # Ok, now we have the path, separated by spaces, we can step through it
331 kx # and add multilib dir if necessary...
331 kx lt_tmp_lt_search_path_spec=
331 kx lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
331 kx # ...but if some path component already ends with the multilib dir we assume
331 kx # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
331 kx case "$lt_multi_os_dir; $lt_search_path_spec " in
331 kx "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
331 kx lt_multi_os_dir=
331 kx ;;
331 kx esac
331 kx for lt_sys_path in $lt_search_path_spec; do
331 kx if test -d "$lt_sys_path$lt_multi_os_dir"; then
331 kx lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
331 kx elif test -n "$lt_multi_os_dir"; then
331 kx test -d "$lt_sys_path" && \
331 kx lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
331 kx fi
331 kx done
331 kx lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
331 kx BEGIN {RS = " "; FS = "/|\n";} {
331 kx lt_foo = "";
331 kx lt_count = 0;
331 kx for (lt_i = NF; lt_i > 0; lt_i--) {
331 kx if ($lt_i != "" && $lt_i != ".") {
331 kx if ($lt_i == "..") {
331 kx lt_count++;
331 kx } else {
331 kx if (lt_count == 0) {
331 kx lt_foo = "/" $lt_i lt_foo;
331 kx } else {
331 kx lt_count--;
331 kx }
331 kx }
331 kx }
331 kx }
331 kx if (lt_foo != "") { lt_freq[lt_foo]++; }
331 kx if (lt_freq[lt_foo] == 1) { print lt_foo; }
331 kx }'`
331 kx # AWK program above erroneously prepends '/' to C:/dos/paths
331 kx # for these hosts.
331 kx case $host_os in
331 kx mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
331 kx $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
331 kx esac
331 kx sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
331 kx else
331 kx sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
331 kx fi
331 kx library_names_spec=
331 kx libname_spec='lib$name'
331 kx soname_spec=
331 kx shrext_cmds=.so
331 kx postinstall_cmds=
331 kx postuninstall_cmds=
331 kx finish_cmds=
331 kx finish_eval=
331 kx shlibpath_var=
331 kx shlibpath_overrides_runpath=unknown
331 kx version_type=none
331 kx dynamic_linker="$host_os ld.so"
331 kx sys_lib_dlsearch_path_spec="/lib /usr/lib"
331 kx need_lib_prefix=unknown
331 kx hardcode_into_libs=no
331 kx
331 kx # when you set need_version to no, make sure it does not cause -set_version
331 kx # flags to be left without arguments
331 kx need_version=unknown
331 kx
331 kx
331 kx
331 kx case $host_os in
331 kx aix3*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
331 kx shlibpath_var=LIBPATH
331 kx
331 kx # AIX 3 has no versioning support, so we append a major version to the name.
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx ;;
331 kx
331 kx aix[4-9]*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx hardcode_into_libs=yes
331 kx if test ia64 = "$host_cpu"; then
331 kx # AIX 5 supports IA64
331 kx library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx else
331 kx # With GCC up to 2.95.x, collect2 would create an import file
331 kx # for dependence libraries. The import file would start with
331 kx # the line '#! .'. This would cause the generated library to
331 kx # depend on '.', always an invalid library. This was fixed in
331 kx # development snapshots of GCC prior to 3.0.
331 kx case $host_os in
331 kx aix4 | aix4.[01] | aix4.[01].*)
331 kx if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
331 kx echo ' yes '
331 kx echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
331 kx :
331 kx else
331 kx can_build_shared=no
331 kx fi
331 kx ;;
331 kx esac
331 kx # Using Import Files as archive members, it is possible to support
331 kx # filename-based versioning of shared library archives on AIX. While
331 kx # this would work for both with and without runtime linking, it will
331 kx # prevent static linking of such archives. So we do filename-based
331 kx # shared library versioning with .so extension only, which is used
331 kx # when both runtime linking and shared linking is enabled.
331 kx # Unfortunately, runtime linking may impact performance, so we do
331 kx # not want this to be the default eventually. Also, we use the
331 kx # versioned .so libs for executables only if there is the -brtl
331 kx # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
331 kx # To allow for filename-based versioning support, we need to create
331 kx # libNAME.so.V as an archive file, containing:
331 kx # *) an Import File, referring to the versioned filename of the
331 kx # archive as well as the shared archive member, telling the
331 kx # bitwidth (32 or 64) of that shared object, and providing the
331 kx # list of exported symbols of that shared object, eventually
331 kx # decorated with the 'weak' keyword
331 kx # *) the shared object with the F_LOADONLY flag set, to really avoid
331 kx # it being seen by the linker.
331 kx # At run time we better use the real file rather than another symlink,
331 kx # but for link time we create the symlink libNAME.so -> libNAME.so.V
331 kx
331 kx case $with_aix_soname,$aix_use_runtimelinking in
331 kx # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
331 kx # soname into executable. Probably we can add versioning support to
331 kx # collect2, so additional links can be useful in future.
331 kx aix,yes) # traditional libtool
331 kx dynamic_linker='AIX unversionable lib.so'
331 kx # If using run time linking (on AIX 4.2 or later) use lib<name>.so
331 kx # instead of lib<name>.a to let people know that these are not
331 kx # typical AIX shared libraries.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx ;;
331 kx aix,no) # traditional AIX only
331 kx dynamic_linker='AIX lib.a(lib.so.V)'
331 kx # We preserve .a as extension for shared libraries through AIX4.2
331 kx # and later when we are not doing run time linking.
331 kx library_names_spec='$libname$release.a $libname.a'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx ;;
331 kx svr4,*) # full svr4 only
331 kx dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
331 kx library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
331 kx # We do not specify a path in Import Files, so LIBPATH fires.
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx *,yes) # both, prefer svr4
331 kx dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
331 kx library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
331 kx # unpreferred sharedlib libNAME.a needs extra handling
331 kx postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
331 kx postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
331 kx # We do not specify a path in Import Files, so LIBPATH fires.
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx *,no) # both, prefer aix
331 kx dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
331 kx library_names_spec='$libname$release.a $libname.a'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
331 kx postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
331 kx postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
331 kx ;;
331 kx esac
331 kx shlibpath_var=LIBPATH
331 kx fi
331 kx ;;
331 kx
331 kx amigaos*)
331 kx case $host_cpu in
331 kx powerpc)
331 kx # Since July 2007 AmigaOS4 officially supports .so libraries.
331 kx # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx ;;
331 kx m68k)
331 kx library_names_spec='$libname.ixlibrary $libname.a'
331 kx # Create ${libname}_ixlibrary.a entries in /sys/libs.
331 kx finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx beos*)
331 kx library_names_spec='$libname$shared_ext'
331 kx dynamic_linker="$host_os ld.so"
331 kx shlibpath_var=LIBRARY_PATH
331 kx ;;
331 kx
331 kx bsdi[45]*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
331 kx sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
331 kx # the default ld.so.conf also contains /usr/contrib/lib and
331 kx # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
331 kx # libtool to hard-code these into programs
331 kx ;;
331 kx
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx version_type=windows
331 kx shrext_cmds=.dll
331 kx need_version=no
331 kx need_lib_prefix=no
331 kx
331 kx case $GCC,$cc_basename in
331 kx yes,*)
331 kx # gcc
331 kx library_names_spec='$libname.dll.a'
331 kx # DLL is installed to $(libdir)/../bin by postinstall_cmds
331 kx postinstall_cmds='base_file=`basename \$file`~
331 kx dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
331 kx dldir=$destdir/`dirname \$dlpath`~
331 kx test -d \$dldir || mkdir -p \$dldir~
331 kx $install_prog $dir/$dlname \$dldir/$dlname~
331 kx chmod a+x \$dldir/$dlname~
331 kx if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
331 kx eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
331 kx fi'
331 kx postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
331 kx dlpath=$dir/\$dldll~
331 kx $RM \$dlpath'
331 kx shlibpath_overrides_runpath=yes
331 kx
331 kx case $host_os in
331 kx cygwin*)
331 kx # Cygwin DLLs use 'cyg' prefix rather than 'lib'
331 kx soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx
331 kx sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
331 kx ;;
331 kx mingw* | cegcc*)
331 kx # MinGW DLLs use traditional 'lib' prefix
331 kx soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx ;;
331 kx pw32*)
331 kx # pw32 DLLs use 'pw' prefix rather than 'lib'
331 kx library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx ;;
331 kx esac
331 kx dynamic_linker='Win32 ld.exe'
331 kx ;;
331 kx
331 kx *,cl* | *,icl*)
331 kx # Native MSVC or ICC
331 kx libname_spec='$name'
331 kx soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx library_names_spec='$libname.dll.lib'
331 kx
331 kx case $build_os in
331 kx mingw*)
331 kx sys_lib_search_path_spec=
331 kx lt_save_ifs=$IFS
331 kx IFS=';'
331 kx for lt_path in $LIB
331 kx do
331 kx IFS=$lt_save_ifs
331 kx # Let DOS variable expansion print the short 8.3 style file name.
331 kx lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
331 kx sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
331 kx done
331 kx IFS=$lt_save_ifs
331 kx # Convert to MSYS style.
331 kx sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
331 kx ;;
331 kx cygwin*)
331 kx # Convert to unix form, then to dos form, then back to unix form
331 kx # but this time dos style (no spaces!) so that the unix form looks
331 kx # like /cygdrive/c/PROGRA~1:/cygdr...
331 kx sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
331 kx sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
331 kx sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
331 kx ;;
331 kx *)
331 kx sys_lib_search_path_spec=$LIB
331 kx if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
331 kx # It is most probably a Windows format PATH.
331 kx sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
331 kx else
331 kx sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
331 kx fi
331 kx # FIXME: find the short name or the path components, as spaces are
331 kx # common. (e.g. "Program Files" -> "PROGRA~1")
331 kx ;;
331 kx esac
331 kx
331 kx # DLL is installed to $(libdir)/../bin by postinstall_cmds
331 kx postinstall_cmds='base_file=`basename \$file`~
331 kx dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
331 kx dldir=$destdir/`dirname \$dlpath`~
331 kx test -d \$dldir || mkdir -p \$dldir~
331 kx $install_prog $dir/$dlname \$dldir/$dlname'
331 kx postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
331 kx dlpath=$dir/\$dldll~
331 kx $RM \$dlpath'
331 kx shlibpath_overrides_runpath=yes
331 kx dynamic_linker='Win32 link.exe'
331 kx ;;
331 kx
331 kx *)
331 kx # Assume MSVC and ICC wrapper
331 kx library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
331 kx dynamic_linker='Win32 ld.exe'
331 kx ;;
331 kx esac
331 kx # FIXME: first we should search . and the directory the executable is in
331 kx shlibpath_var=PATH
331 kx ;;
331 kx
331 kx darwin* | rhapsody*)
331 kx dynamic_linker="$host_os dyld"
331 kx version_type=darwin
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
331 kx soname_spec='$libname$release$major$shared_ext'
331 kx shlibpath_overrides_runpath=yes
331 kx shlibpath_var=DYLD_LIBRARY_PATH
331 kx shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
331 kx
331 kx sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
331 kx sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
331 kx ;;
331 kx
331 kx dgux*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx ;;
331 kx
331 kx freebsd* | dragonfly* | midnightbsd*)
331 kx # DragonFly does not have aout. When/if they implement a new
331 kx # versioning mechanism, adjust this.
331 kx if test -x /usr/bin/objformat; then
331 kx objformat=`/usr/bin/objformat`
331 kx else
331 kx case $host_os in
331 kx freebsd[23].*) objformat=aout ;;
331 kx *) objformat=elf ;;
331 kx esac
331 kx fi
331 kx version_type=freebsd-$objformat
331 kx case $version_type in
331 kx freebsd-elf*)
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx need_version=no
331 kx need_lib_prefix=no
331 kx ;;
331 kx freebsd-*)
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx need_version=yes
331 kx ;;
331 kx esac
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx case $host_os in
331 kx freebsd2.*)
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx freebsd3.[01]* | freebsdelf3.[01]*)
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
331 kx freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx *) # from 4.6 on, and DragonFly
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx haiku*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx dynamic_linker="$host_os runtime_loader"
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx hpux9* | hpux10* | hpux11*)
331 kx # Give a soname corresponding to the major version so that dld.sl refuses to
331 kx # link against other versions.
331 kx version_type=sunos
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx case $host_cpu in
331 kx ia64*)
331 kx shrext_cmds='.so'
331 kx hardcode_into_libs=yes
331 kx dynamic_linker="$host_os dld.so"
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx if test 32 = "$HPUX_IA64_MODE"; then
331 kx sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
331 kx sys_lib_dlsearch_path_spec=/usr/lib/hpux32
331 kx else
331 kx sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
331 kx sys_lib_dlsearch_path_spec=/usr/lib/hpux64
331 kx fi
331 kx ;;
331 kx hppa*64*)
331 kx shrext_cmds='.sl'
331 kx hardcode_into_libs=yes
331 kx dynamic_linker="$host_os dld.sl"
331 kx shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
331 kx shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
331 kx sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
331 kx ;;
331 kx *)
331 kx shrext_cmds='.sl'
331 kx dynamic_linker="$host_os dld.sl"
331 kx shlibpath_var=SHLIB_PATH
331 kx shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx ;;
331 kx esac
331 kx # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
331 kx postinstall_cmds='chmod 555 $lib'
331 kx # or fails outright, so override atomically:
331 kx install_override_mode=555
331 kx ;;
331 kx
331 kx interix[3-9]*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx irix5* | irix6* | nonstopux*)
331 kx case $host_os in
331 kx nonstopux*) version_type=nonstopux ;;
331 kx *)
331 kx if test yes = "$lt_cv_prog_gnu_ld"; then
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx else
331 kx version_type=irix
331 kx fi ;;
331 kx esac
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
331 kx case $host_os in
331 kx irix5* | nonstopux*)
331 kx libsuff= shlibsuff=
331 kx ;;
331 kx *)
331 kx case $LD in # libtool.m4 will add one of these switches to LD
331 kx *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
331 kx libsuff= shlibsuff= libmagic=32-bit;;
331 kx *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
331 kx libsuff=32 shlibsuff=N32 libmagic=N32;;
331 kx *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
331 kx libsuff=64 shlibsuff=64 libmagic=64-bit;;
331 kx *) libsuff= shlibsuff= libmagic=never-match;;
331 kx esac
331 kx ;;
331 kx esac
331 kx shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
331 kx shlibpath_overrides_runpath=no
331 kx sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
331 kx sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx # No shared lib support for Linux oldld, aout, or coff.
331 kx linux*oldld* | linux*aout* | linux*coff*)
331 kx dynamic_linker=no
331 kx ;;
331 kx
331 kx linux*android*)
331 kx version_type=none # Android doesn't support versioned libraries.
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext'
331 kx soname_spec='$libname$release$shared_ext'
331 kx finish_cmds=
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx
331 kx # This implies no fast_install, which is unacceptable.
331 kx # Some rework will be needed to allow for fast_install
331 kx # before this can be enabled.
331 kx hardcode_into_libs=yes
331 kx
331 kx dynamic_linker='Android linker'
331 kx # Don't embed -rpath directories since the linker doesn't support them.
331 kx hardcode_libdir_flag_spec='-L$libdir'
331 kx ;;
331 kx
331 kx # This must be glibc/ELF.
331 kx linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx
331 kx # Some binutils ld are patched to set DT_RUNPATH
331 kx if test ${lt_cv_shlibpath_overrides_runpath+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_shlibpath_overrides_runpath=no
331 kx save_LDFLAGS=$LDFLAGS
331 kx save_libdir=$libdir
331 kx eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
331 kx LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
331 kx then :
331 kx lt_cv_shlibpath_overrides_runpath=yes
331 kx fi
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LDFLAGS=$save_LDFLAGS
331 kx libdir=$save_libdir
331 kx
331 kx fi
331 kx
331 kx shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
331 kx
331 kx # This implies no fast_install, which is unacceptable.
331 kx # Some rework will be needed to allow for fast_install
331 kx # before this can be enabled.
331 kx hardcode_into_libs=yes
331 kx
331 kx # Ideally, we could use ldconfig to report *all* directores which are
331 kx # searched for libraries, however this is still not possible. Aside from not
331 kx # being certain /sbin/ldconfig is available, command
331 kx # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
331 kx # even though it is searched at run-time. Try to do the best guess by
331 kx # appending ld.so.conf contents (and includes) to the search path.
331 kx if test -f /etc/ld.so.conf; then
331 kx lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
331 kx sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
331 kx fi
331 kx
331 kx # We used to test for /lib/ld.so.1 and disable shared libraries on
331 kx # powerpc, because MkLinux only supported shared libraries with the
331 kx # GNU dynamic linker. Since this was broken with cross compilers,
331 kx # most powerpc-linux boxes support dynamic linking these days and
331 kx # people can always --disable-shared, the test was removed, and we
331 kx # assume the GNU/Linux dynamic linker is in use.
331 kx dynamic_linker='GNU/Linux ld.so'
331 kx ;;
331 kx
331 kx netbsd*)
331 kx version_type=sunos
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
331 kx dynamic_linker='NetBSD (a.out) ld.so'
331 kx else
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx dynamic_linker='NetBSD ld.elf_so'
331 kx fi
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx newsos6)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx
331 kx *nto* | *qnx*)
331 kx version_type=qnx
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx dynamic_linker='ldqnx.so'
331 kx ;;
331 kx
331 kx openbsd* | bitrig*)
331 kx version_type=sunos
331 kx sys_lib_dlsearch_path_spec=/usr/lib
331 kx need_lib_prefix=no
331 kx if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
331 kx need_version=no
331 kx else
331 kx need_version=yes
331 kx fi
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx
331 kx os2*)
331 kx libname_spec='$name'
331 kx version_type=windows
331 kx shrext_cmds=.dll
331 kx need_version=no
331 kx need_lib_prefix=no
331 kx # OS/2 can only load a DLL with a base name of 8 characters or less.
331 kx soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
331 kx v=$($ECHO $release$versuffix | tr -d .-);
331 kx n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
331 kx $ECHO $n$v`$shared_ext'
331 kx library_names_spec='${libname}_dll.$libext'
331 kx dynamic_linker='OS/2 ld.exe'
331 kx shlibpath_var=BEGINLIBPATH
331 kx sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
331 kx sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
331 kx postinstall_cmds='base_file=`basename \$file`~
331 kx dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
331 kx dldir=$destdir/`dirname \$dlpath`~
331 kx test -d \$dldir || mkdir -p \$dldir~
331 kx $install_prog $dir/$dlname \$dldir/$dlname~
331 kx chmod a+x \$dldir/$dlname~
331 kx if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
331 kx eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
331 kx fi'
331 kx postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
331 kx dlpath=$dir/\$dldll~
331 kx $RM \$dlpath'
331 kx ;;
331 kx
331 kx osf3* | osf4* | osf5*)
331 kx version_type=osf
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
331 kx sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
331 kx ;;
331 kx
331 kx rdos*)
331 kx dynamic_linker=no
331 kx ;;
331 kx
331 kx solaris*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx # ldd complains unless libraries are executable
331 kx postinstall_cmds='chmod +x $lib'
331 kx ;;
331 kx
331 kx sunos4*)
331 kx version_type=sunos
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx if test yes = "$with_gnu_ld"; then
331 kx need_lib_prefix=no
331 kx fi
331 kx need_version=yes
331 kx ;;
331 kx
331 kx sysv4 | sysv4.3*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx case $host_vendor in
331 kx sni)
331 kx shlibpath_overrides_runpath=no
331 kx need_lib_prefix=no
331 kx runpath_var=LD_RUN_PATH
331 kx ;;
331 kx siemens)
331 kx need_lib_prefix=no
331 kx ;;
331 kx motorola)
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx shlibpath_overrides_runpath=no
331 kx sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx sysv4*MP*)
331 kx if test -d /usr/nec; then
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
331 kx soname_spec='$libname$shared_ext.$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx fi
331 kx ;;
331 kx
331 kx sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
331 kx version_type=sco
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx if test yes = "$with_gnu_ld"; then
331 kx sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
331 kx else
331 kx sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
331 kx case $host_os in
331 kx sco3.2v5*)
331 kx sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
331 kx ;;
331 kx esac
331 kx fi
331 kx sys_lib_dlsearch_path_spec='/usr/lib'
331 kx ;;
331 kx
331 kx tpf*)
331 kx # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx uts4*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx ;;
331 kx
331 kx *)
331 kx dynamic_linker=no
331 kx ;;
331 kx esac
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
331 kx printf "%s\n" "$dynamic_linker" >&6; }
331 kx test no = "$dynamic_linker" && can_build_shared=no
331 kx
331 kx variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
331 kx if test yes = "$GCC"; then
331 kx variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
331 kx fi
331 kx
331 kx if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
331 kx sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
331 kx fi
331 kx
331 kx if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
331 kx sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
331 kx fi
331 kx
331 kx # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
331 kx configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
331 kx
331 kx # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
331 kx func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
331 kx
331 kx # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
331 kx configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
331 kx printf %s "checking how to hardcode library paths into programs... " >&6; }
331 kx hardcode_action=
331 kx if test -n "$hardcode_libdir_flag_spec" ||
331 kx test -n "$runpath_var" ||
331 kx test yes = "$hardcode_automatic"; then
331 kx
331 kx # We can hardcode non-existent directories.
331 kx if test no != "$hardcode_direct" &&
331 kx # If the only mechanism to avoid hardcoding is shlibpath_var, we
331 kx # have to relink, otherwise we might link with an installed library
331 kx # when we should be linking with a yet-to-be-installed one
331 kx ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
331 kx test no != "$hardcode_minus_L"; then
331 kx # Linking always hardcodes the temporary library directory.
331 kx hardcode_action=relink
331 kx else
331 kx # We can link without hardcoding, and we can hardcode nonexisting dirs.
331 kx hardcode_action=immediate
331 kx fi
331 kx else
331 kx # We cannot hardcode anything, or else we can only hardcode existing
331 kx # directories.
331 kx hardcode_action=unsupported
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
331 kx printf "%s\n" "$hardcode_action" >&6; }
331 kx
331 kx if test relink = "$hardcode_action" ||
331 kx test yes = "$inherit_rpath"; then
331 kx # Fast installation is not supported
331 kx enable_fast_install=no
331 kx elif test yes = "$shlibpath_overrides_runpath" ||
331 kx test no = "$enable_shared"; then
331 kx # Fast installation is not necessary
331 kx enable_fast_install=needless
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test yes != "$enable_dlopen"; then
331 kx enable_dlopen=unknown
331 kx enable_dlopen_self=unknown
331 kx enable_dlopen_self_static=unknown
331 kx else
331 kx lt_cv_dlopen=no
331 kx lt_cv_dlopen_libs=
331 kx
331 kx case $host_os in
331 kx beos*)
331 kx lt_cv_dlopen=load_add_on
331 kx lt_cv_dlopen_libs=
331 kx lt_cv_dlopen_self=yes
331 kx ;;
331 kx
331 kx mingw* | pw32* | cegcc*)
331 kx lt_cv_dlopen=LoadLibrary
331 kx lt_cv_dlopen_libs=
331 kx ;;
331 kx
331 kx cygwin*)
331 kx lt_cv_dlopen=dlopen
331 kx lt_cv_dlopen_libs=
331 kx ;;
331 kx
331 kx darwin*)
331 kx # if libdl is installed we need to link against it
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
331 kx printf %s "checking for dlopen in -ldl... " >&6; }
331 kx if test ${ac_cv_lib_dl_dlopen+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-ldl $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char dlopen ();
331 kx int
331 kx main (void)
331 kx {
331 kx return dlopen ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_dl_dlopen=yes
331 kx else $as_nop
331 kx ac_cv_lib_dl_dlopen=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
331 kx printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
331 kx if test "x$ac_cv_lib_dl_dlopen" = xyes
331 kx then :
331 kx lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
331 kx else $as_nop
331 kx
331 kx lt_cv_dlopen=dyld
331 kx lt_cv_dlopen_libs=
331 kx lt_cv_dlopen_self=yes
331 kx
331 kx fi
331 kx
331 kx ;;
331 kx
331 kx tpf*)
331 kx # Don't try to run any link tests for TPF. We know it's impossible
331 kx # because TPF is a cross-compiler, and we know how we open DSOs.
331 kx lt_cv_dlopen=dlopen
331 kx lt_cv_dlopen_libs=
331 kx lt_cv_dlopen_self=no
331 kx ;;
331 kx
331 kx *)
331 kx ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
331 kx if test "x$ac_cv_func_shl_load" = xyes
331 kx then :
331 kx lt_cv_dlopen=shl_load
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
331 kx printf %s "checking for shl_load in -ldld... " >&6; }
331 kx if test ${ac_cv_lib_dld_shl_load+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-ldld $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char shl_load ();
331 kx int
331 kx main (void)
331 kx {
331 kx return shl_load ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_dld_shl_load=yes
331 kx else $as_nop
331 kx ac_cv_lib_dld_shl_load=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
331 kx printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
331 kx if test "x$ac_cv_lib_dld_shl_load" = xyes
331 kx then :
331 kx lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
331 kx else $as_nop
331 kx ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
331 kx if test "x$ac_cv_func_dlopen" = xyes
331 kx then :
331 kx lt_cv_dlopen=dlopen
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
331 kx printf %s "checking for dlopen in -ldl... " >&6; }
331 kx if test ${ac_cv_lib_dl_dlopen+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-ldl $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char dlopen ();
331 kx int
331 kx main (void)
331 kx {
331 kx return dlopen ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_dl_dlopen=yes
331 kx else $as_nop
331 kx ac_cv_lib_dl_dlopen=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
331 kx printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
331 kx if test "x$ac_cv_lib_dl_dlopen" = xyes
331 kx then :
331 kx lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
331 kx printf %s "checking for dlopen in -lsvld... " >&6; }
331 kx if test ${ac_cv_lib_svld_dlopen+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-lsvld $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char dlopen ();
331 kx int
331 kx main (void)
331 kx {
331 kx return dlopen ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_svld_dlopen=yes
331 kx else $as_nop
331 kx ac_cv_lib_svld_dlopen=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
331 kx printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
331 kx if test "x$ac_cv_lib_svld_dlopen" = xyes
331 kx then :
331 kx lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
331 kx printf %s "checking for dld_link in -ldld... " >&6; }
331 kx if test ${ac_cv_lib_dld_dld_link+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-ldld $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char dld_link ();
331 kx int
331 kx main (void)
331 kx {
331 kx return dld_link ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_dld_dld_link=yes
331 kx else $as_nop
331 kx ac_cv_lib_dld_dld_link=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
331 kx printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
331 kx if test "x$ac_cv_lib_dld_dld_link" = xyes
331 kx then :
331 kx lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx ;;
331 kx esac
331 kx
331 kx if test no = "$lt_cv_dlopen"; then
331 kx enable_dlopen=no
331 kx else
331 kx enable_dlopen=yes
331 kx fi
331 kx
331 kx case $lt_cv_dlopen in
331 kx dlopen)
331 kx save_CPPFLAGS=$CPPFLAGS
331 kx test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
331 kx
331 kx save_LDFLAGS=$LDFLAGS
331 kx wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
331 kx
331 kx save_LIBS=$LIBS
331 kx LIBS="$lt_cv_dlopen_libs $LIBS"
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
331 kx printf %s "checking whether a program can dlopen itself... " >&6; }
331 kx if test ${lt_cv_dlopen_self+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test yes = "$cross_compiling"; then :
331 kx lt_cv_dlopen_self=cross
331 kx else
331 kx lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
331 kx lt_status=$lt_dlunknown
331 kx cat > conftest.$ac_ext <<_LT_EOF
331 kx #line $LINENO "configure"
331 kx #include "confdefs.h"
331 kx
331 kx #if HAVE_DLFCN_H
331 kx #include <dlfcn.h>
331 kx #endif
331 kx
331 kx #include <stdio.h>
331 kx
331 kx #ifdef RTLD_GLOBAL
331 kx # define LT_DLGLOBAL RTLD_GLOBAL
331 kx #else
331 kx # ifdef DL_GLOBAL
331 kx # define LT_DLGLOBAL DL_GLOBAL
331 kx # else
331 kx # define LT_DLGLOBAL 0
331 kx # endif
331 kx #endif
331 kx
331 kx /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
331 kx find out it does not work in some platform. */
331 kx #ifndef LT_DLLAZY_OR_NOW
331 kx # ifdef RTLD_LAZY
331 kx # define LT_DLLAZY_OR_NOW RTLD_LAZY
331 kx # else
331 kx # ifdef DL_LAZY
331 kx # define LT_DLLAZY_OR_NOW DL_LAZY
331 kx # else
331 kx # ifdef RTLD_NOW
331 kx # define LT_DLLAZY_OR_NOW RTLD_NOW
331 kx # else
331 kx # ifdef DL_NOW
331 kx # define LT_DLLAZY_OR_NOW DL_NOW
331 kx # else
331 kx # define LT_DLLAZY_OR_NOW 0
331 kx # endif
331 kx # endif
331 kx # endif
331 kx # endif
331 kx #endif
331 kx
331 kx /* When -fvisibility=hidden is used, assume the code has been annotated
331 kx correspondingly for the symbols needed. */
331 kx #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
331 kx int fnord () __attribute__((visibility("default")));
331 kx #endif
331 kx
331 kx int fnord () { return 42; }
331 kx int main ()
331 kx {
331 kx void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
331 kx int status = $lt_dlunknown;
331 kx
331 kx if (self)
331 kx {
331 kx if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
331 kx else
331 kx {
331 kx if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
331 kx else puts (dlerror ());
331 kx }
331 kx /* dlclose (self); */
331 kx }
331 kx else
331 kx puts (dlerror ());
331 kx
331 kx return status;
331 kx }
331 kx _LT_EOF
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
331 kx (eval $ac_link) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
331 kx (./conftest; exit; ) >&5 2>/dev/null
331 kx lt_status=$?
331 kx case x$lt_status in
331 kx x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
331 kx x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
331 kx x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
331 kx esac
331 kx else :
331 kx # compilation failed
331 kx lt_cv_dlopen_self=no
331 kx fi
331 kx fi
331 kx rm -fr conftest*
331 kx
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
331 kx printf "%s\n" "$lt_cv_dlopen_self" >&6; }
331 kx
331 kx if test yes = "$lt_cv_dlopen_self"; then
331 kx wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
331 kx printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
331 kx if test ${lt_cv_dlopen_self_static+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test yes = "$cross_compiling"; then :
331 kx lt_cv_dlopen_self_static=cross
331 kx else
331 kx lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
331 kx lt_status=$lt_dlunknown
331 kx cat > conftest.$ac_ext <<_LT_EOF
331 kx #line $LINENO "configure"
331 kx #include "confdefs.h"
331 kx
331 kx #if HAVE_DLFCN_H
331 kx #include <dlfcn.h>
331 kx #endif
331 kx
331 kx #include <stdio.h>
331 kx
331 kx #ifdef RTLD_GLOBAL
331 kx # define LT_DLGLOBAL RTLD_GLOBAL
331 kx #else
331 kx # ifdef DL_GLOBAL
331 kx # define LT_DLGLOBAL DL_GLOBAL
331 kx # else
331 kx # define LT_DLGLOBAL 0
331 kx # endif
331 kx #endif
331 kx
331 kx /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
331 kx find out it does not work in some platform. */
331 kx #ifndef LT_DLLAZY_OR_NOW
331 kx # ifdef RTLD_LAZY
331 kx # define LT_DLLAZY_OR_NOW RTLD_LAZY
331 kx # else
331 kx # ifdef DL_LAZY
331 kx # define LT_DLLAZY_OR_NOW DL_LAZY
331 kx # else
331 kx # ifdef RTLD_NOW
331 kx # define LT_DLLAZY_OR_NOW RTLD_NOW
331 kx # else
331 kx # ifdef DL_NOW
331 kx # define LT_DLLAZY_OR_NOW DL_NOW
331 kx # else
331 kx # define LT_DLLAZY_OR_NOW 0
331 kx # endif
331 kx # endif
331 kx # endif
331 kx # endif
331 kx #endif
331 kx
331 kx /* When -fvisibility=hidden is used, assume the code has been annotated
331 kx correspondingly for the symbols needed. */
331 kx #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
331 kx int fnord () __attribute__((visibility("default")));
331 kx #endif
331 kx
331 kx int fnord () { return 42; }
331 kx int main ()
331 kx {
331 kx void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
331 kx int status = $lt_dlunknown;
331 kx
331 kx if (self)
331 kx {
331 kx if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
331 kx else
331 kx {
331 kx if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
331 kx else puts (dlerror ());
331 kx }
331 kx /* dlclose (self); */
331 kx }
331 kx else
331 kx puts (dlerror ());
331 kx
331 kx return status;
331 kx }
331 kx _LT_EOF
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
331 kx (eval $ac_link) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
331 kx (./conftest; exit; ) >&5 2>/dev/null
331 kx lt_status=$?
331 kx case x$lt_status in
331 kx x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
331 kx x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
331 kx x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
331 kx esac
331 kx else :
331 kx # compilation failed
331 kx lt_cv_dlopen_self_static=no
331 kx fi
331 kx fi
331 kx rm -fr conftest*
331 kx
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
331 kx printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
331 kx fi
331 kx
331 kx CPPFLAGS=$save_CPPFLAGS
331 kx LDFLAGS=$save_LDFLAGS
331 kx LIBS=$save_LIBS
331 kx ;;
331 kx esac
331 kx
331 kx case $lt_cv_dlopen_self in
331 kx yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
331 kx *) enable_dlopen_self=unknown ;;
331 kx esac
331 kx
331 kx case $lt_cv_dlopen_self_static in
331 kx yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
331 kx *) enable_dlopen_self_static=unknown ;;
331 kx esac
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx striplib=
331 kx old_striplib=
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
331 kx printf %s "checking whether stripping libraries is possible... " >&6; }
331 kx if test -z "$STRIP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx else
331 kx if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
331 kx old_striplib="$STRIP --strip-debug"
331 kx striplib="$STRIP --strip-unneeded"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx case $host_os in
331 kx darwin*)
331 kx # FIXME - insert some real tests, host_os isn't really good enough
331 kx striplib="$STRIP -x"
331 kx old_striplib="$STRIP -S"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx ;;
331 kx freebsd*)
331 kx if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
331 kx old_striplib="$STRIP --strip-debug"
331 kx striplib="$STRIP --strip-unneeded"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx ;;
331 kx *)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx ;;
331 kx esac
331 kx fi
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Report what library types will actually be built
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
331 kx printf %s "checking if libtool supports shared libraries... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
331 kx printf "%s\n" "$can_build_shared" >&6; }
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
331 kx printf %s "checking whether to build shared libraries... " >&6; }
331 kx test no = "$can_build_shared" && enable_shared=no
331 kx
331 kx # On AIX, shared libraries and static libraries use the same namespace, and
331 kx # are all built from PIC.
331 kx case $host_os in
331 kx aix3*)
331 kx test yes = "$enable_shared" && enable_static=no
331 kx if test -n "$RANLIB"; then
331 kx archive_cmds="$archive_cmds~\$RANLIB \$lib"
331 kx postinstall_cmds='$RANLIB $lib'
331 kx fi
331 kx ;;
331 kx
331 kx aix[4-9]*)
331 kx if test ia64 != "$host_cpu"; then
331 kx case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
331 kx yes,aix,yes) ;; # shared object as lib.so file only
331 kx yes,svr4,*) ;; # shared object as lib.so archive member only
331 kx yes,*) enable_static=no ;; # shared object in lib.a archive as well
331 kx esac
331 kx fi
331 kx ;;
331 kx esac
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
331 kx printf "%s\n" "$enable_shared" >&6; }
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
331 kx printf %s "checking whether to build static libraries... " >&6; }
331 kx # Make sure either enable_shared or enable_static is yes.
331 kx test yes = "$enable_shared" || enable_static=yes
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
331 kx printf "%s\n" "$enable_static" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx fi
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx CC=$lt_save_CC
331 kx
331 kx if test -n "$CXX" && ( test no != "$CXX" &&
331 kx ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
331 kx (test g++ != "$CXX"))); then
331 kx ac_ext=cpp
331 kx ac_cpp='$CXXCPP $CPPFLAGS'
331 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
331 kx printf %s "checking how to run the C++ preprocessor... " >&6; }
331 kx if test -z "$CXXCPP"; then
331 kx if test ${ac_cv_prog_CXXCPP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx # Double quotes because $CXX needs to be expanded
331 kx for CXXCPP in "$CXX -E" cpp /lib/cpp
331 kx do
331 kx ac_preproc_ok=false
331 kx for ac_cxx_preproc_warn_flag in '' yes
331 kx do
331 kx # Use a header file that comes with gcc, so configuring glibc
331 kx # with a fresh cross-compiler works.
331 kx # On the NeXT, cc -E runs the code through the compiler's parser,
331 kx # not just through cpp. "Syntax error" is here to catch this case.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <limits.h>
331 kx Syntax error
331 kx _ACEOF
331 kx if ac_fn_cxx_try_cpp "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx # Broken: fails on valid input.
331 kx continue
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx # OK, works on sane cases. Now check whether nonexistent headers
331 kx # can be detected and how.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <ac_nonexistent.h>
331 kx _ACEOF
331 kx if ac_fn_cxx_try_cpp "$LINENO"
331 kx then :
331 kx # Broken: success on invalid input.
331 kx continue
331 kx else $as_nop
331 kx # Passes both tests.
331 kx ac_preproc_ok=:
331 kx break
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx done
331 kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
331 kx rm -f conftest.i conftest.err conftest.$ac_ext
331 kx if $ac_preproc_ok
331 kx then :
331 kx break
331 kx fi
331 kx
331 kx done
331 kx ac_cv_prog_CXXCPP=$CXXCPP
331 kx
331 kx fi
331 kx CXXCPP=$ac_cv_prog_CXXCPP
331 kx else
331 kx ac_cv_prog_CXXCPP=$CXXCPP
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
331 kx printf "%s\n" "$CXXCPP" >&6; }
331 kx ac_preproc_ok=false
331 kx for ac_cxx_preproc_warn_flag in '' yes
331 kx do
331 kx # Use a header file that comes with gcc, so configuring glibc
331 kx # with a fresh cross-compiler works.
331 kx # On the NeXT, cc -E runs the code through the compiler's parser,
331 kx # not just through cpp. "Syntax error" is here to catch this case.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <limits.h>
331 kx Syntax error
331 kx _ACEOF
331 kx if ac_fn_cxx_try_cpp "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx # Broken: fails on valid input.
331 kx continue
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx # OK, works on sane cases. Now check whether nonexistent headers
331 kx # can be detected and how.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <ac_nonexistent.h>
331 kx _ACEOF
331 kx if ac_fn_cxx_try_cpp "$LINENO"
331 kx then :
331 kx # Broken: success on invalid input.
331 kx continue
331 kx else $as_nop
331 kx # Passes both tests.
331 kx ac_preproc_ok=:
331 kx break
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx done
331 kx # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
331 kx rm -f conftest.i conftest.err conftest.$ac_ext
331 kx if $ac_preproc_ok
331 kx then :
331 kx
331 kx else $as_nop
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx else
331 kx _lt_caught_CXX_error=yes
331 kx fi
331 kx
331 kx ac_ext=cpp
331 kx ac_cpp='$CXXCPP $CPPFLAGS'
331 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
331 kx
331 kx archive_cmds_need_lc_CXX=no
331 kx allow_undefined_flag_CXX=
331 kx always_export_symbols_CXX=no
331 kx archive_expsym_cmds_CXX=
331 kx compiler_needs_object_CXX=no
331 kx export_dynamic_flag_spec_CXX=
331 kx hardcode_direct_CXX=no
331 kx hardcode_direct_absolute_CXX=no
331 kx hardcode_libdir_flag_spec_CXX=
331 kx hardcode_libdir_separator_CXX=
331 kx hardcode_minus_L_CXX=no
331 kx hardcode_shlibpath_var_CXX=unsupported
331 kx hardcode_automatic_CXX=no
331 kx inherit_rpath_CXX=no
331 kx module_cmds_CXX=
331 kx module_expsym_cmds_CXX=
331 kx link_all_deplibs_CXX=unknown
331 kx old_archive_cmds_CXX=$old_archive_cmds
331 kx reload_flag_CXX=$reload_flag
331 kx reload_cmds_CXX=$reload_cmds
331 kx no_undefined_flag_CXX=
331 kx whole_archive_flag_spec_CXX=
331 kx enable_shared_with_static_runtimes_CXX=no
331 kx
331 kx # Source file extension for C++ test sources.
331 kx ac_ext=cpp
331 kx
331 kx # Object file extension for compiled C++ test sources.
331 kx objext=o
331 kx objext_CXX=$objext
331 kx
331 kx # No sense in running all these tests if we already determined that
331 kx # the CXX compiler isn't working. Some variables (like enable_shared)
331 kx # are currently assumed to apply to all compilers on this platform,
331 kx # and will be corrupted by setting them based on a non-working compiler.
331 kx if test yes != "$_lt_caught_CXX_error"; then
331 kx # Code to be used in simple compile tests
331 kx lt_simple_compile_test_code="int some_variable = 0;"
331 kx
331 kx # Code to be used in simple link tests
331 kx lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
331 kx
331 kx # ltmain only uses $CC for tagged configurations so make sure $CC is set.
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # If no C compiler was specified, use CC.
331 kx LTCC=${LTCC-"$CC"}
331 kx
331 kx # If no C compiler flags were specified, use CFLAGS.
331 kx LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
331 kx
331 kx # Allow CC to be a program name with arguments.
331 kx compiler=$CC
331 kx
331 kx
331 kx # save warnings/boilerplate of simple test code
331 kx ac_outfile=conftest.$ac_objext
331 kx echo "$lt_simple_compile_test_code" >conftest.$ac_ext
331 kx eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
331 kx _lt_compiler_boilerplate=`cat conftest.err`
331 kx $RM conftest*
331 kx
331 kx ac_outfile=conftest.$ac_objext
331 kx echo "$lt_simple_link_test_code" >conftest.$ac_ext
331 kx eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
331 kx _lt_linker_boilerplate=`cat conftest.err`
331 kx $RM -r conftest*
331 kx
331 kx
331 kx # Allow CC to be a program name with arguments.
331 kx lt_save_CC=$CC
331 kx lt_save_CFLAGS=$CFLAGS
331 kx lt_save_LD=$LD
331 kx lt_save_GCC=$GCC
331 kx GCC=$GXX
331 kx lt_save_with_gnu_ld=$with_gnu_ld
331 kx lt_save_path_LD=$lt_cv_path_LD
331 kx if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
331 kx lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
331 kx else
331 kx $as_unset lt_cv_prog_gnu_ld
331 kx fi
331 kx if test -n "${lt_cv_path_LDCXX+set}"; then
331 kx lt_cv_path_LD=$lt_cv_path_LDCXX
331 kx else
331 kx $as_unset lt_cv_path_LD
331 kx fi
331 kx test -z "${LDCXX+set}" || LD=$LDCXX
331 kx CC=${CXX-"c++"}
331 kx CFLAGS=$CXXFLAGS
331 kx compiler=$CC
331 kx compiler_CXX=$CC
331 kx func_cc_basename $compiler
331 kx cc_basename=$func_cc_basename_result
331 kx
331 kx
331 kx if test -n "$compiler"; then
331 kx # We don't want -fno-exception when compiling C++ code, so set the
331 kx # no_builtin_flag separately
331 kx if test yes = "$GXX"; then
331 kx lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
331 kx else
331 kx lt_prog_compiler_no_builtin_flag_CXX=
331 kx fi
331 kx
331 kx if test yes = "$GXX"; then
331 kx # Set up default GNU C++ configuration
331 kx
331 kx
331 kx
331 kx # Check whether --with-gnu-ld was given.
331 kx if test ${with_gnu_ld+y}
331 kx then :
331 kx withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
331 kx else $as_nop
331 kx with_gnu_ld=no
331 kx fi
331 kx
331 kx ac_prog=ld
331 kx if test yes = "$GCC"; then
331 kx # Check if gcc -print-prog-name=ld gives a path.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
331 kx printf %s "checking for ld used by $CC... " >&6; }
331 kx case $host in
331 kx *-*-mingw*)
331 kx # gcc leaves a trailing carriage return, which upsets mingw
331 kx ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
331 kx *)
331 kx ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
331 kx esac
331 kx case $ac_prog in
331 kx # Accept absolute paths.
331 kx [\\/]* | ?:[\\/]*)
331 kx re_direlt='/[^/][^/]*/\.\./'
331 kx # Canonicalize the pathname of ld
331 kx ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
331 kx while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
331 kx ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
331 kx done
331 kx test -z "$LD" && LD=$ac_prog
331 kx ;;
331 kx "")
331 kx # If it fails, then pretend we aren't using GCC.
331 kx ac_prog=ld
331 kx ;;
331 kx *)
331 kx # If it is relative, then search for the first ld in PATH.
331 kx with_gnu_ld=unknown
331 kx ;;
331 kx esac
331 kx elif test yes = "$with_gnu_ld"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
331 kx printf %s "checking for GNU ld... " >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
331 kx printf %s "checking for non-GNU ld... " >&6; }
331 kx fi
331 kx if test ${lt_cv_path_LD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -z "$LD"; then
331 kx lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
331 kx for ac_dir in $PATH; do
331 kx IFS=$lt_save_ifs
331 kx test -z "$ac_dir" && ac_dir=.
331 kx if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
331 kx lt_cv_path_LD=$ac_dir/$ac_prog
331 kx # Check to see if the program is GNU ld. I'd rather use --version,
331 kx # but apparently some variants of GNU ld only accept -v.
331 kx # Break only if it was the GNU/non-GNU ld that we prefer.
331 kx case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
331 kx *GNU* | *'with BFD'*)
331 kx test no != "$with_gnu_ld" && break
331 kx ;;
331 kx *)
331 kx test yes != "$with_gnu_ld" && break
331 kx ;;
331 kx esac
331 kx fi
331 kx done
331 kx IFS=$lt_save_ifs
331 kx else
331 kx lt_cv_path_LD=$LD # Let the user override the test with a path.
331 kx fi
331 kx fi
331 kx
331 kx LD=$lt_cv_path_LD
331 kx if test -n "$LD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
331 kx printf "%s\n" "$LD" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
331 kx printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
331 kx if test ${lt_cv_prog_gnu_ld+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx # I'd rather use --version here, but apparently some GNU lds only accept -v.
331 kx case `$LD -v 2>&1 </dev/null` in
331 kx *GNU* | *'with BFD'*)
331 kx lt_cv_prog_gnu_ld=yes
331 kx ;;
331 kx *)
331 kx lt_cv_prog_gnu_ld=no
331 kx ;;
331 kx esac
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
331 kx printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
331 kx with_gnu_ld=$lt_cv_prog_gnu_ld
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Check if GNU C++ uses GNU ld as the underlying linker, since the
331 kx # archiving commands below assume that GNU ld is being used.
331 kx if test yes = "$with_gnu_ld"; then
331 kx archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
331 kx export_dynamic_flag_spec_CXX='$wl--export-dynamic'
331 kx
331 kx # If archive_cmds runs LD, not CC, wlarc should be empty
331 kx # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
331 kx # investigate it a little bit more. (MM)
331 kx wlarc='$wl'
331 kx
331 kx # ancient GNU ld didn't support --whole-archive et. al.
331 kx if eval "`$CC -print-prog-name=ld` --help 2>&1" |
331 kx $GREP 'no-whole-archive' > /dev/null; then
331 kx whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
331 kx else
331 kx whole_archive_flag_spec_CXX=
331 kx fi
331 kx else
331 kx with_gnu_ld=no
331 kx wlarc=
331 kx
331 kx # A generic and very simple default shared library creation
331 kx # command for GNU C++ for the case where it uses the native
331 kx # linker, instead of GNU ld. If possible, this setting should
331 kx # overridden to take advantage of the native linker features on
331 kx # the platform it is being used on.
331 kx archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
331 kx fi
331 kx
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
331 kx
331 kx else
331 kx GXX=no
331 kx with_gnu_ld=no
331 kx wlarc=
331 kx fi
331 kx
331 kx # PORTME: fill in a description of your system's C++ link characteristics
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
331 kx printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
331 kx ld_shlibs_CXX=yes
331 kx case $host_os in
331 kx aix3*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx aix[4-9]*)
331 kx if test ia64 = "$host_cpu"; then
331 kx # On IA64, the linker does run time linking by default, so we don't
331 kx # have to do anything special.
331 kx aix_use_runtimelinking=no
331 kx exp_sym_flag='-Bexport'
331 kx no_entry_flag=
331 kx else
331 kx aix_use_runtimelinking=no
331 kx
331 kx # Test if we are trying to use run time linking or normal
331 kx # AIX style linking. If -brtl is somewhere in LDFLAGS, we
331 kx # have runtime linking enabled, and use it for executables.
331 kx # For shared libraries, we enable/disable runtime linking
331 kx # depending on the kind of the shared library created -
331 kx # when "with_aix_soname,aix_use_runtimelinking" is:
331 kx # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
331 kx # "aix,yes" lib.so shared, rtl:yes, for executables
331 kx # lib.a static archive
331 kx # "both,no" lib.so.V(shr.o) shared, rtl:yes
331 kx # lib.a(lib.so.V) shared, rtl:no, for executables
331 kx # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
331 kx # lib.a(lib.so.V) shared, rtl:no
331 kx # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
331 kx # lib.a static archive
331 kx case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
331 kx for ld_flag in $LDFLAGS; do
331 kx case $ld_flag in
331 kx *-brtl*)
331 kx aix_use_runtimelinking=yes
331 kx break
331 kx ;;
331 kx esac
331 kx done
331 kx if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
331 kx # With aix-soname=svr4, we create the lib.so.V shared archives only,
331 kx # so we don't have lib.a shared libs to link our executables.
331 kx # We have to force runtime linking in this case.
331 kx aix_use_runtimelinking=yes
331 kx LDFLAGS="$LDFLAGS -Wl,-brtl"
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx exp_sym_flag='-bexport'
331 kx no_entry_flag='-bnoentry'
331 kx fi
331 kx
331 kx # When large executables or shared objects are built, AIX ld can
331 kx # have problems creating the table of contents. If linking a library
331 kx # or program results in "error TOC overflow" add -mminimal-toc to
331 kx # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
331 kx # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
331 kx
331 kx archive_cmds_CXX=''
331 kx hardcode_direct_CXX=yes
331 kx hardcode_direct_absolute_CXX=yes
331 kx hardcode_libdir_separator_CXX=':'
331 kx link_all_deplibs_CXX=yes
331 kx file_list_spec_CXX='$wl-f,'
331 kx case $with_aix_soname,$aix_use_runtimelinking in
331 kx aix,*) ;; # no import file
331 kx svr4,* | *,yes) # use import file
331 kx # The Import File defines what to hardcode.
331 kx hardcode_direct_CXX=no
331 kx hardcode_direct_absolute_CXX=no
331 kx ;;
331 kx esac
331 kx
331 kx if test yes = "$GXX"; then
331 kx case $host_os in aix4.[012]|aix4.[012].*)
331 kx # We only want to do this on AIX 4.2 and lower, the check
331 kx # below for broken collect2 doesn't work under 4.3+
331 kx collect2name=`$CC -print-prog-name=collect2`
331 kx if test -f "$collect2name" &&
331 kx strings "$collect2name" | $GREP resolve_lib_name >/dev/null
331 kx then
331 kx # We have reworked collect2
331 kx :
331 kx else
331 kx # We have old collect2
331 kx hardcode_direct_CXX=unsupported
331 kx # It fails to find uninstalled libraries when the uninstalled
331 kx # path is not listed in the libpath. Setting hardcode_minus_L
331 kx # to unsupported forces relinking
331 kx hardcode_minus_L_CXX=yes
331 kx hardcode_libdir_flag_spec_CXX='-L$libdir'
331 kx hardcode_libdir_separator_CXX=
331 kx fi
331 kx esac
331 kx shared_flag='-shared'
331 kx if test yes = "$aix_use_runtimelinking"; then
331 kx shared_flag=$shared_flag' $wl-G'
331 kx fi
331 kx # Need to ensure runtime linking is disabled for the traditional
331 kx # shared library, or the linker may eventually find shared libraries
331 kx # /with/ Import File - we do not want to mix them.
331 kx shared_flag_aix='-shared'
331 kx shared_flag_svr4='-shared $wl-G'
331 kx else
331 kx # not using gcc
331 kx if test ia64 = "$host_cpu"; then
331 kx # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
331 kx # chokes on -Wl,-G. The following line is correct:
331 kx shared_flag='-G'
331 kx else
331 kx if test yes = "$aix_use_runtimelinking"; then
331 kx shared_flag='$wl-G'
331 kx else
331 kx shared_flag='$wl-bM:SRE'
331 kx fi
331 kx shared_flag_aix='$wl-bM:SRE'
331 kx shared_flag_svr4='$wl-G'
331 kx fi
331 kx fi
331 kx
331 kx export_dynamic_flag_spec_CXX='$wl-bexpall'
331 kx # It seems that -bexpall does not export symbols beginning with
331 kx # underscore (_), so it is better to generate a list of symbols to
331 kx # export.
331 kx always_export_symbols_CXX=yes
331 kx if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
331 kx # Warning - without using the other runtime loading flags (-brtl),
331 kx # -berok will link without error, but may produce a broken library.
331 kx # The "-G" linker flag allows undefined symbols.
331 kx no_undefined_flag_CXX='-bernotok'
331 kx # Determine the default libpath from the value encoded in an empty
331 kx # executable.
331 kx if test set = "${lt_cv_aix_libpath+set}"; then
331 kx aix_libpath=$lt_cv_aix_libpath
331 kx else
331 kx if test ${lt_cv_aix_libpath__CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_link "$LINENO"
331 kx then :
331 kx
331 kx lt_aix_libpath_sed='
331 kx /Import File Strings/,/^$/ {
331 kx /^0/ {
331 kx s/^0 *\([^ ]*\) *$/\1/
331 kx p
331 kx }
331 kx }'
331 kx lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx # Check for a 64-bit object if we didn't find anything.
331 kx if test -z "$lt_cv_aix_libpath__CXX"; then
331 kx lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx fi
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx if test -z "$lt_cv_aix_libpath__CXX"; then
331 kx lt_cv_aix_libpath__CXX=/usr/lib:/lib
331 kx fi
331 kx
331 kx fi
331 kx
331 kx aix_libpath=$lt_cv_aix_libpath__CXX
331 kx fi
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
331 kx
331 kx archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
331 kx else
331 kx if test ia64 = "$host_cpu"; then
331 kx hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
331 kx allow_undefined_flag_CXX="-z nodefs"
331 kx archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
331 kx else
331 kx # Determine the default libpath from the value encoded in an
331 kx # empty executable.
331 kx if test set = "${lt_cv_aix_libpath+set}"; then
331 kx aix_libpath=$lt_cv_aix_libpath
331 kx else
331 kx if test ${lt_cv_aix_libpath__CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_link "$LINENO"
331 kx then :
331 kx
331 kx lt_aix_libpath_sed='
331 kx /Import File Strings/,/^$/ {
331 kx /^0/ {
331 kx s/^0 *\([^ ]*\) *$/\1/
331 kx p
331 kx }
331 kx }'
331 kx lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx # Check for a 64-bit object if we didn't find anything.
331 kx if test -z "$lt_cv_aix_libpath__CXX"; then
331 kx lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
331 kx fi
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx if test -z "$lt_cv_aix_libpath__CXX"; then
331 kx lt_cv_aix_libpath__CXX=/usr/lib:/lib
331 kx fi
331 kx
331 kx fi
331 kx
331 kx aix_libpath=$lt_cv_aix_libpath__CXX
331 kx fi
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
331 kx # Warning - without using the other run time loading flags,
331 kx # -berok will link without error, but may produce a broken library.
331 kx no_undefined_flag_CXX=' $wl-bernotok'
331 kx allow_undefined_flag_CXX=' $wl-berok'
331 kx if test yes = "$with_gnu_ld"; then
331 kx # We only use this code for GNU lds that support --whole-archive.
331 kx whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
331 kx else
331 kx # Exported symbols can be pulled into shared objects from archives
331 kx whole_archive_flag_spec_CXX='$convenience'
331 kx fi
331 kx archive_cmds_need_lc_CXX=yes
331 kx archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
331 kx # -brtl affects multiple linker settings, -berok does not and is overridden later
331 kx compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
331 kx if test svr4 != "$with_aix_soname"; then
331 kx # This is similar to how AIX traditionally builds its shared
331 kx # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
331 kx archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
331 kx fi
331 kx if test aix != "$with_aix_soname"; then
331 kx archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
331 kx else
331 kx # used by -dlpreopen to get the symbols
331 kx archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
331 kx fi
331 kx archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
331 kx fi
331 kx fi
331 kx ;;
331 kx
331 kx beos*)
331 kx if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
331 kx allow_undefined_flag_CXX=unsupported
331 kx # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
331 kx # support --undefined. This deserves some investigation. FIXME
331 kx archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx else
331 kx ld_shlibs_CXX=no
331 kx fi
331 kx ;;
331 kx
331 kx chorus*)
331 kx case $cc_basename in
331 kx *)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx case $GXX,$cc_basename in
331 kx ,cl* | no,cl* | ,icl* | no,icl*)
331 kx # Native MSVC or ICC
331 kx # hardcode_libdir_flag_spec is actually meaningless, as there is
331 kx # no search path for DLLs.
331 kx hardcode_libdir_flag_spec_CXX=' '
331 kx allow_undefined_flag_CXX=unsupported
331 kx always_export_symbols_CXX=yes
331 kx file_list_spec_CXX='@'
331 kx # Tell ltmain to make .lib files, not .a files.
331 kx libext=lib
331 kx # Tell ltmain to make .dll files, not .so files.
331 kx shrext_cmds=.dll
331 kx # FIXME: Setting linknames here is a bad hack.
331 kx archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
331 kx archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
331 kx cp "$export_symbols" "$output_objdir/$soname.def";
331 kx echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
331 kx else
331 kx $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
331 kx fi~
331 kx $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
331 kx linknames='
331 kx # The linker will not automatically build a static lib if we build a DLL.
331 kx # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
331 kx enable_shared_with_static_runtimes_CXX=yes
331 kx # Don't use ranlib
331 kx old_postinstall_cmds_CXX='chmod 644 $oldlib'
331 kx postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
331 kx lt_tool_outputfile="@TOOL_OUTPUT@"~
331 kx case $lt_outputfile in
331 kx *.exe|*.EXE) ;;
331 kx *)
331 kx lt_outputfile=$lt_outputfile.exe
331 kx lt_tool_outputfile=$lt_tool_outputfile.exe
331 kx ;;
331 kx esac~
331 kx func_to_tool_file "$lt_outputfile"~
331 kx if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
331 kx $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
331 kx $RM "$lt_outputfile.manifest";
331 kx fi'
331 kx ;;
331 kx *)
331 kx # g++
331 kx # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
331 kx # as there is no search path for DLLs.
331 kx hardcode_libdir_flag_spec_CXX='-L$libdir'
331 kx export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
331 kx allow_undefined_flag_CXX=unsupported
331 kx always_export_symbols_CXX=no
331 kx enable_shared_with_static_runtimes_CXX=yes
331 kx
331 kx if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
331 kx archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
331 kx # If the export-symbols file already is a .def file, use it as
331 kx # is; otherwise, prepend EXPORTS...
331 kx archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
331 kx cp $export_symbols $output_objdir/$soname.def;
331 kx else
331 kx echo EXPORTS > $output_objdir/$soname.def;
331 kx cat $export_symbols >> $output_objdir/$soname.def;
331 kx fi~
331 kx $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
331 kx else
331 kx ld_shlibs_CXX=no
331 kx fi
331 kx ;;
331 kx esac
331 kx ;;
331 kx darwin* | rhapsody*)
331 kx
331 kx
331 kx archive_cmds_need_lc_CXX=no
331 kx hardcode_direct_CXX=no
331 kx hardcode_automatic_CXX=yes
331 kx hardcode_shlibpath_var_CXX=unsupported
331 kx if test yes = "$lt_cv_ld_force_load"; then
331 kx whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
331 kx
331 kx else
331 kx whole_archive_flag_spec_CXX=''
331 kx fi
331 kx link_all_deplibs_CXX=yes
331 kx allow_undefined_flag_CXX=$_lt_dar_allow_undefined
331 kx case $cc_basename in
331 kx ifort*|nagfor*) _lt_dar_can_shared=yes ;;
331 kx *) _lt_dar_can_shared=$GCC ;;
331 kx esac
331 kx if test yes = "$_lt_dar_can_shared"; then
331 kx output_verbose_link_cmd=func_echo_all
331 kx archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
331 kx module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
331 kx archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
331 kx module_expsym_cmds_CXX="$SED -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
331 kx if test yes != "$lt_cv_apple_cc_single_mod"; then
331 kx archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
331 kx archive_expsym_cmds_CXX="$SED 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
331 kx fi
331 kx
331 kx else
331 kx ld_shlibs_CXX=no
331 kx fi
331 kx
331 kx ;;
331 kx
331 kx os2*)
331 kx hardcode_libdir_flag_spec_CXX='-L$libdir'
331 kx hardcode_minus_L_CXX=yes
331 kx allow_undefined_flag_CXX=unsupported
331 kx shrext_cmds=.dll
331 kx archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
331 kx $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
331 kx $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
331 kx $ECHO EXPORTS >> $output_objdir/$libname.def~
331 kx emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
331 kx $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
331 kx emximp -o $lib $output_objdir/$libname.def'
331 kx archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
331 kx $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
331 kx $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
331 kx $ECHO EXPORTS >> $output_objdir/$libname.def~
331 kx prefix_cmds="$SED"~
331 kx if test EXPORTS = "`$SED 1q $export_symbols`"; then
331 kx prefix_cmds="$prefix_cmds -e 1d";
331 kx fi~
331 kx prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
331 kx cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
331 kx $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
331 kx emximp -o $lib $output_objdir/$libname.def'
331 kx old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
331 kx enable_shared_with_static_runtimes_CXX=yes
331 kx file_list_spec_CXX='@'
331 kx ;;
331 kx
331 kx dgux*)
331 kx case $cc_basename in
331 kx ec++*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx ghcx*)
331 kx # Green Hills C++ Compiler
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx *)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx freebsd2.*)
331 kx # C++ shared libraries reported to be fairly broken before
331 kx # switch to ELF
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx
331 kx freebsd-elf*)
331 kx archive_cmds_need_lc_CXX=no
331 kx ;;
331 kx
331 kx freebsd* | dragonfly* | midnightbsd*)
331 kx # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
331 kx # conventions
331 kx ld_shlibs_CXX=yes
331 kx ;;
331 kx
331 kx haiku*)
331 kx archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx link_all_deplibs_CXX=yes
331 kx ;;
331 kx
331 kx hpux9*)
331 kx hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
331 kx hardcode_libdir_separator_CXX=:
331 kx export_dynamic_flag_spec_CXX='$wl-E'
331 kx hardcode_direct_CXX=yes
331 kx hardcode_minus_L_CXX=yes # Not in the search PATH,
331 kx # but as the default
331 kx # location of the library.
331 kx
331 kx case $cc_basename in
331 kx CC*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx aCC*)
331 kx archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx #
331 kx # There doesn't appear to be a way to prevent this compiler from
331 kx # explicitly linking system object files so we need to strip them
331 kx # from the output so that they don't get included in the library
331 kx # dependencies.
331 kx output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
331 kx ;;
331 kx *)
331 kx if test yes = "$GXX"; then
331 kx archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
331 kx else
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx fi
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx hpux10*|hpux11*)
331 kx if test no = "$with_gnu_ld"; then
331 kx hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
331 kx hardcode_libdir_separator_CXX=:
331 kx
331 kx case $host_cpu in
331 kx hppa*64*|ia64*)
331 kx ;;
331 kx *)
331 kx export_dynamic_flag_spec_CXX='$wl-E'
331 kx ;;
331 kx esac
331 kx fi
331 kx case $host_cpu in
331 kx hppa*64*|ia64*)
331 kx hardcode_direct_CXX=no
331 kx hardcode_shlibpath_var_CXX=no
331 kx ;;
331 kx *)
331 kx hardcode_direct_CXX=yes
331 kx hardcode_direct_absolute_CXX=yes
331 kx hardcode_minus_L_CXX=yes # Not in the search PATH,
331 kx # but as the default
331 kx # location of the library.
331 kx ;;
331 kx esac
331 kx
331 kx case $cc_basename in
331 kx CC*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx aCC*)
331 kx case $host_cpu in
331 kx hppa*64*)
331 kx archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx ;;
331 kx ia64*)
331 kx archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx ;;
331 kx *)
331 kx archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx ;;
331 kx esac
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx #
331 kx # There doesn't appear to be a way to prevent this compiler from
331 kx # explicitly linking system object files so we need to strip them
331 kx # from the output so that they don't get included in the library
331 kx # dependencies.
331 kx output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
331 kx ;;
331 kx *)
331 kx if test yes = "$GXX"; then
331 kx if test no = "$with_gnu_ld"; then
331 kx case $host_cpu in
331 kx hppa*64*)
331 kx archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx ;;
331 kx ia64*)
331 kx archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx ;;
331 kx *)
331 kx archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx ;;
331 kx esac
331 kx fi
331 kx else
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx fi
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx interix[3-9]*)
331 kx hardcode_direct_CXX=no
331 kx hardcode_shlibpath_var_CXX=no
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
331 kx export_dynamic_flag_spec_CXX='$wl-E'
331 kx # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
331 kx # Instead, shared libraries are loaded at an image base (0x10000000 by
331 kx # default) and relocated if they conflict, which is a slow very memory
331 kx # consuming and fragmenting process. To avoid this, we pick a random,
331 kx # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
331 kx # time. Moving up from 0x10000000 also allows more sbrk(2) space.
331 kx archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
331 kx archive_expsym_cmds_CXX='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
331 kx ;;
331 kx irix5* | irix6*)
331 kx case $cc_basename in
331 kx CC*)
331 kx # SGI C++
331 kx archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
331 kx
331 kx # Archives containing C++ object files must be created using
331 kx # "CC -ar", where "CC" is the IRIX C++ compiler. This is
331 kx # necessary to make sure instantiated templates are included
331 kx # in the archive.
331 kx old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
331 kx ;;
331 kx *)
331 kx if test yes = "$GXX"; then
331 kx if test no = "$with_gnu_ld"; then
331 kx archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
331 kx else
331 kx archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
331 kx fi
331 kx fi
331 kx link_all_deplibs_CXX=yes
331 kx ;;
331 kx esac
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
331 kx hardcode_libdir_separator_CXX=:
331 kx inherit_rpath_CXX=yes
331 kx ;;
331 kx
331 kx linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
331 kx case $cc_basename in
331 kx KCC*)
331 kx # Kuck and Associates, Inc. (KAI) C++ Compiler
331 kx
331 kx # KCC will only create a shared library if the output file
331 kx # ends with ".so" (or ".sl" for HP-UX), so rename the library
331 kx # to its proper name (with version) after linking.
331 kx archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
331 kx archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx #
331 kx # There doesn't appear to be a way to prevent this compiler from
331 kx # explicitly linking system object files so we need to strip them
331 kx # from the output so that they don't get included in the library
331 kx # dependencies.
331 kx output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
331 kx export_dynamic_flag_spec_CXX='$wl--export-dynamic'
331 kx
331 kx # Archives containing C++ object files must be created using
331 kx # "CC -Bstatic", where "CC" is the KAI C++ compiler.
331 kx old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
331 kx ;;
331 kx icpc* | ecpc* )
331 kx # Intel C++
331 kx with_gnu_ld=yes
331 kx # version 8.0 and above of icpc choke on multiply defined symbols
331 kx # if we add $predep_objects and $postdep_objects, however 7.1 and
331 kx # earlier do not add the objects themselves.
331 kx case `$CC -V 2>&1` in
331 kx *"Version 7."*)
331 kx archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx ;;
331 kx *) # Version 8.0 or newer
331 kx tmp_idyn=
331 kx case $host_cpu in
331 kx ia64*) tmp_idyn=' -i_dynamic';;
331 kx esac
331 kx archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx ;;
331 kx esac
331 kx archive_cmds_need_lc_CXX=no
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
331 kx export_dynamic_flag_spec_CXX='$wl--export-dynamic'
331 kx whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
331 kx ;;
331 kx pgCC* | pgcpp*)
331 kx # Portland Group C++ compiler
331 kx case `$CC -V` in
331 kx *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
331 kx prelink_cmds_CXX='tpldir=Template.dir~
331 kx rm -rf $tpldir~
331 kx $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
331 kx compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
331 kx old_archive_cmds_CXX='tpldir=Template.dir~
331 kx rm -rf $tpldir~
331 kx $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
331 kx $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
331 kx $RANLIB $oldlib'
331 kx archive_cmds_CXX='tpldir=Template.dir~
331 kx rm -rf $tpldir~
331 kx $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
331 kx $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='tpldir=Template.dir~
331 kx rm -rf $tpldir~
331 kx $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
331 kx $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx ;;
331 kx *) # Version 6 and above use weak symbols
331 kx archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
331 kx ;;
331 kx esac
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
331 kx export_dynamic_flag_spec_CXX='$wl--export-dynamic'
331 kx whole_archive_flag_spec_CXX='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
331 kx ;;
331 kx cxx*)
331 kx # Compaq C++
331 kx archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
331 kx
331 kx runpath_var=LD_RUN_PATH
331 kx hardcode_libdir_flag_spec_CXX='-rpath $libdir'
331 kx hardcode_libdir_separator_CXX=:
331 kx
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx #
331 kx # There doesn't appear to be a way to prevent this compiler from
331 kx # explicitly linking system object files so we need to strip them
331 kx # from the output so that they don't get included in the library
331 kx # dependencies.
331 kx output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
331 kx ;;
331 kx xl* | mpixl* | bgxl*)
331 kx # IBM XL 8.0 on PPC, with GNU ld
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
331 kx export_dynamic_flag_spec_CXX='$wl--export-dynamic'
331 kx archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
331 kx if test yes = "$supports_anon_versioning"; then
331 kx archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
331 kx cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
331 kx echo "local: *; };" >> $output_objdir/$libname.ver~
331 kx $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
331 kx fi
331 kx ;;
331 kx *)
331 kx case `$CC -V 2>&1 | $SED 5q` in
331 kx *Sun\ C*)
331 kx # Sun C++ 5.9
331 kx no_undefined_flag_CXX=' -zdefs'
331 kx archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
331 kx hardcode_libdir_flag_spec_CXX='-R$libdir'
331 kx whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
331 kx compiler_needs_object_CXX=yes
331 kx
331 kx # Not sure whether something based on
331 kx # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
331 kx # would be better.
331 kx output_verbose_link_cmd='func_echo_all'
331 kx
331 kx # Archives containing C++ object files must be created using
331 kx # "CC -xar", where "CC" is the Sun C++ compiler. This is
331 kx # necessary to make sure instantiated templates are included
331 kx # in the archive.
331 kx old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx lynxos*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx
331 kx m88k*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx
331 kx mvs*)
331 kx case $cc_basename in
331 kx cxx*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx *)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx netbsd*)
331 kx if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
331 kx archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
331 kx wlarc=
331 kx hardcode_libdir_flag_spec_CXX='-R$libdir'
331 kx hardcode_direct_CXX=yes
331 kx hardcode_shlibpath_var_CXX=no
331 kx fi
331 kx # Workaround some broken pre-1.5 toolchains
331 kx output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
331 kx ;;
331 kx
331 kx *nto* | *qnx*)
331 kx ld_shlibs_CXX=yes
331 kx ;;
331 kx
331 kx openbsd* | bitrig*)
331 kx if test -f /usr/libexec/ld.so; then
331 kx hardcode_direct_CXX=yes
331 kx hardcode_shlibpath_var_CXX=no
331 kx hardcode_direct_absolute_CXX=yes
331 kx archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
331 kx if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
331 kx archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
331 kx export_dynamic_flag_spec_CXX='$wl-E'
331 kx whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
331 kx fi
331 kx output_verbose_link_cmd=func_echo_all
331 kx else
331 kx ld_shlibs_CXX=no
331 kx fi
331 kx ;;
331 kx
331 kx osf3* | osf4* | osf5*)
331 kx case $cc_basename in
331 kx KCC*)
331 kx # Kuck and Associates, Inc. (KAI) C++ Compiler
331 kx
331 kx # KCC will only create a shared library if the output file
331 kx # ends with ".so" (or ".sl" for HP-UX), so rename the library
331 kx # to its proper name (with version) after linking.
331 kx archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
331 kx hardcode_libdir_separator_CXX=:
331 kx
331 kx # Archives containing C++ object files must be created using
331 kx # the KAI C++ compiler.
331 kx case $host in
331 kx osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
331 kx *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
331 kx esac
331 kx ;;
331 kx RCC*)
331 kx # Rational C++ 2.4.1
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx cxx*)
331 kx case $host in
331 kx osf3*)
331 kx allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
331 kx archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
331 kx ;;
331 kx *)
331 kx allow_undefined_flag_CXX=' -expect_unresolved \*'
331 kx archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
331 kx archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
331 kx echo "-hidden">> $lib.exp~
331 kx $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
331 kx $RM $lib.exp'
331 kx hardcode_libdir_flag_spec_CXX='-rpath $libdir'
331 kx ;;
331 kx esac
331 kx
331 kx hardcode_libdir_separator_CXX=:
331 kx
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx #
331 kx # There doesn't appear to be a way to prevent this compiler from
331 kx # explicitly linking system object files so we need to strip them
331 kx # from the output so that they don't get included in the library
331 kx # dependencies.
331 kx output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
331 kx ;;
331 kx *)
331 kx if test yes,no = "$GXX,$with_gnu_ld"; then
331 kx allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
331 kx case $host in
331 kx osf3*)
331 kx archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
331 kx ;;
331 kx *)
331 kx archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
331 kx ;;
331 kx esac
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
331 kx hardcode_libdir_separator_CXX=:
331 kx
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
331 kx
331 kx else
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx fi
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx psos*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx
331 kx sunos4*)
331 kx case $cc_basename in
331 kx CC*)
331 kx # Sun C++ 4.x
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx lcc*)
331 kx # Lucid
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx *)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx solaris*)
331 kx case $cc_basename in
331 kx CC* | sunCC*)
331 kx # Sun C++ 4.2, 5.x and Centerline C++
331 kx archive_cmds_need_lc_CXX=yes
331 kx no_undefined_flag_CXX=' -zdefs'
331 kx archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
331 kx archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
331 kx $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
331 kx
331 kx hardcode_libdir_flag_spec_CXX='-R$libdir'
331 kx hardcode_shlibpath_var_CXX=no
331 kx case $host_os in
331 kx solaris2.[0-5] | solaris2.[0-5].*) ;;
331 kx *)
331 kx # The compiler driver will combine and reorder linker options,
331 kx # but understands '-z linker_flag'.
331 kx # Supported since Solaris 2.6 (maybe 2.5.1?)
331 kx whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
331 kx ;;
331 kx esac
331 kx link_all_deplibs_CXX=yes
331 kx
331 kx output_verbose_link_cmd='func_echo_all'
331 kx
331 kx # Archives containing C++ object files must be created using
331 kx # "CC -xar", where "CC" is the Sun C++ compiler. This is
331 kx # necessary to make sure instantiated templates are included
331 kx # in the archive.
331 kx old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
331 kx ;;
331 kx gcx*)
331 kx # Green Hills C++ Compiler
331 kx archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
331 kx
331 kx # The C++ compiler must be used to create the archive.
331 kx old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
331 kx ;;
331 kx *)
331 kx # GNU C++ compiler with Solaris linker
331 kx if test yes,no = "$GXX,$with_gnu_ld"; then
331 kx no_undefined_flag_CXX=' $wl-z ${wl}defs'
331 kx if $CC --version | $GREP -v '^2\.7' > /dev/null; then
331 kx archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
331 kx $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
331 kx
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
331 kx else
331 kx # g++ 2.7 appears to require '-G' NOT '-shared' on this
331 kx # platform.
331 kx archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
331 kx archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
331 kx $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
331 kx
331 kx # Commands to make compiler produce verbose output that lists
331 kx # what "hidden" libraries, object files and flags are used when
331 kx # linking a shared library.
331 kx output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
331 kx fi
331 kx
331 kx hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
331 kx case $host_os in
331 kx solaris2.[0-5] | solaris2.[0-5].*) ;;
331 kx *)
331 kx whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
331 kx ;;
331 kx esac
331 kx fi
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
331 kx no_undefined_flag_CXX='$wl-z,text'
331 kx archive_cmds_need_lc_CXX=no
331 kx hardcode_shlibpath_var_CXX=no
331 kx runpath_var='LD_RUN_PATH'
331 kx
331 kx case $cc_basename in
331 kx CC*)
331 kx archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx *)
331 kx archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx sysv5* | sco3.2v5* | sco5v6*)
331 kx # Note: We CANNOT use -z defs as we might desire, because we do not
331 kx # link with -lc, and that would cause any symbols used from libc to
331 kx # always be unresolved, which means just about no library would
331 kx # ever link correctly. If we're not using GNU ld we use -z text
331 kx # though, which does catch some bad symbols but isn't as heavy-handed
331 kx # as -z defs.
331 kx no_undefined_flag_CXX='$wl-z,text'
331 kx allow_undefined_flag_CXX='$wl-z,nodefs'
331 kx archive_cmds_need_lc_CXX=no
331 kx hardcode_shlibpath_var_CXX=no
331 kx hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
331 kx hardcode_libdir_separator_CXX=':'
331 kx link_all_deplibs_CXX=yes
331 kx export_dynamic_flag_spec_CXX='$wl-Bexport'
331 kx runpath_var='LD_RUN_PATH'
331 kx
331 kx case $cc_basename in
331 kx CC*)
331 kx archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
331 kx '"$old_archive_cmds_CXX"
331 kx reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
331 kx '"$reload_cmds_CXX"
331 kx ;;
331 kx *)
331 kx archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx tandem*)
331 kx case $cc_basename in
331 kx NCC*)
331 kx # NonStop-UX NCC 3.20
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx *)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx vxworks*)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx
331 kx *)
331 kx # FIXME: insert proper C++ library support
331 kx ld_shlibs_CXX=no
331 kx ;;
331 kx esac
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
331 kx printf "%s\n" "$ld_shlibs_CXX" >&6; }
331 kx test no = "$ld_shlibs_CXX" && can_build_shared=no
331 kx
331 kx GCC_CXX=$GXX
331 kx LD_CXX=$LD
331 kx
331 kx ## CAVEAT EMPTOR:
331 kx ## There is no encapsulation within the following macros, do not change
331 kx ## the running order or otherwise move them around unless you know exactly
331 kx ## what you are doing...
331 kx # Dependencies to place before and after the object being linked:
331 kx predep_objects_CXX=
331 kx postdep_objects_CXX=
331 kx predeps_CXX=
331 kx postdeps_CXX=
331 kx compiler_lib_search_path_CXX=
331 kx
331 kx cat > conftest.$ac_ext <<_LT_EOF
331 kx class Foo
331 kx {
331 kx public:
331 kx Foo (void) { a = 0; }
331 kx private:
331 kx int a;
331 kx };
331 kx _LT_EOF
331 kx
331 kx
331 kx _lt_libdeps_save_CFLAGS=$CFLAGS
331 kx case "$CC $CFLAGS " in #(
331 kx *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
331 kx *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
331 kx *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
331 kx esac
331 kx
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx # Parse the compiler output and extract the necessary
331 kx # objects, libraries and library flags.
331 kx
331 kx # Sentinel used to keep track of whether or not we are before
331 kx # the conftest object file.
331 kx pre_test_object_deps_done=no
331 kx
331 kx for p in `eval "$output_verbose_link_cmd"`; do
331 kx case $prev$p in
331 kx
331 kx -L* | -R* | -l*)
331 kx # Some compilers place space between "-{L,R}" and the path.
331 kx # Remove the space.
331 kx if test x-L = "$p" ||
331 kx test x-R = "$p"; then
331 kx prev=$p
331 kx continue
331 kx fi
331 kx
331 kx # Expand the sysroot to ease extracting the directories later.
331 kx if test -z "$prev"; then
331 kx case $p in
331 kx -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
331 kx -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
331 kx -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
331 kx esac
331 kx fi
331 kx case $p in
331 kx =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
331 kx esac
331 kx if test no = "$pre_test_object_deps_done"; then
331 kx case $prev in
331 kx -L | -R)
331 kx # Internal compiler library paths should come after those
331 kx # provided the user. The postdeps already come after the
331 kx # user supplied libs so there is no need to process them.
331 kx if test -z "$compiler_lib_search_path_CXX"; then
331 kx compiler_lib_search_path_CXX=$prev$p
331 kx else
331 kx compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
331 kx fi
331 kx ;;
331 kx # The "-l" case would never come before the object being
331 kx # linked, so don't bother handling this case.
331 kx esac
331 kx else
331 kx if test -z "$postdeps_CXX"; then
331 kx postdeps_CXX=$prev$p
331 kx else
331 kx postdeps_CXX="${postdeps_CXX} $prev$p"
331 kx fi
331 kx fi
331 kx prev=
331 kx ;;
331 kx
331 kx *.lto.$objext) ;; # Ignore GCC LTO objects
331 kx *.$objext)
331 kx # This assumes that the test object file only shows up
331 kx # once in the compiler output.
331 kx if test "$p" = "conftest.$objext"; then
331 kx pre_test_object_deps_done=yes
331 kx continue
331 kx fi
331 kx
331 kx if test no = "$pre_test_object_deps_done"; then
331 kx if test -z "$predep_objects_CXX"; then
331 kx predep_objects_CXX=$p
331 kx else
331 kx predep_objects_CXX="$predep_objects_CXX $p"
331 kx fi
331 kx else
331 kx if test -z "$postdep_objects_CXX"; then
331 kx postdep_objects_CXX=$p
331 kx else
331 kx postdep_objects_CXX="$postdep_objects_CXX $p"
331 kx fi
331 kx fi
331 kx ;;
331 kx
331 kx *) ;; # Ignore the rest.
331 kx
331 kx esac
331 kx done
331 kx
331 kx # Clean up.
331 kx rm -f a.out a.exe
331 kx else
331 kx echo "libtool.m4: error: problem compiling CXX test program"
331 kx fi
331 kx
331 kx $RM -f confest.$objext
331 kx CFLAGS=$_lt_libdeps_save_CFLAGS
331 kx
331 kx # PORTME: override above test on systems where it is broken
331 kx case $host_os in
331 kx interix[3-9]*)
331 kx # Interix 3.5 installs completely hosed .la files for C++, so rather than
331 kx # hack all around it, let's just trust "g++" to DTRT.
331 kx predep_objects_CXX=
331 kx postdep_objects_CXX=
331 kx postdeps_CXX=
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx case " $postdeps_CXX " in
331 kx *" -lc "*) archive_cmds_need_lc_CXX=no ;;
331 kx esac
331 kx compiler_lib_search_dirs_CXX=
331 kx if test -n "${compiler_lib_search_path_CXX}"; then
331 kx compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx lt_prog_compiler_wl_CXX=
331 kx lt_prog_compiler_pic_CXX=
331 kx lt_prog_compiler_static_CXX=
331 kx
331 kx
331 kx # C++ specific cases for pic, static, wl, etc.
331 kx if test yes = "$GXX"; then
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_static_CXX='-static'
331 kx
331 kx case $host_os in
331 kx aix*)
331 kx # All AIX code is PIC.
331 kx if test ia64 = "$host_cpu"; then
331 kx # AIX 5 now supports IA64 processor
331 kx lt_prog_compiler_static_CXX='-Bstatic'
331 kx fi
331 kx lt_prog_compiler_pic_CXX='-fPIC'
331 kx ;;
331 kx
331 kx amigaos*)
331 kx case $host_cpu in
331 kx powerpc)
331 kx # see comment about AmigaOS4 .so support
331 kx lt_prog_compiler_pic_CXX='-fPIC'
331 kx ;;
331 kx m68k)
331 kx # FIXME: we need at least 68020 code to build shared libraries, but
331 kx # adding the '-m68020' flag to GCC prevents building anything better,
331 kx # like '-m68040'.
331 kx lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
331 kx # PIC is the default for these OSes.
331 kx ;;
331 kx mingw* | cygwin* | os2* | pw32* | cegcc*)
331 kx # This hack is so that the source file can tell whether it is being
331 kx # built for inclusion in a dll (and should export symbols for example).
331 kx # Although the cygwin gcc ignores -fPIC, still need this for old-style
331 kx # (--disable-auto-import) libraries
331 kx lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
331 kx case $host_os in
331 kx os2*)
331 kx lt_prog_compiler_static_CXX='$wl-static'
331 kx ;;
331 kx esac
331 kx ;;
331 kx darwin* | rhapsody*)
331 kx # PIC is the default on this platform
331 kx # Common symbols not allowed in MH_DYLIB files
331 kx lt_prog_compiler_pic_CXX='-fno-common'
331 kx ;;
331 kx *djgpp*)
331 kx # DJGPP does not support shared libraries at all
331 kx lt_prog_compiler_pic_CXX=
331 kx ;;
331 kx haiku*)
331 kx # PIC is the default for Haiku.
331 kx # The "-static" flag exists, but is broken.
331 kx lt_prog_compiler_static_CXX=
331 kx ;;
331 kx interix[3-9]*)
331 kx # Interix 3.x gcc -fpic/-fPIC options generate broken code.
331 kx # Instead, we relocate shared libraries at runtime.
331 kx ;;
331 kx sysv4*MP*)
331 kx if test -d /usr/nec; then
331 kx lt_prog_compiler_pic_CXX=-Kconform_pic
331 kx fi
331 kx ;;
331 kx hpux*)
331 kx # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
331 kx # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
331 kx # sets the default TLS model and affects inlining.
331 kx case $host_cpu in
331 kx hppa*64*)
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_pic_CXX='-fPIC'
331 kx ;;
331 kx esac
331 kx ;;
331 kx *qnx* | *nto*)
331 kx # QNX uses GNU C++, but need to define -shared option too, otherwise
331 kx # it will coredump.
331 kx lt_prog_compiler_pic_CXX='-fPIC -shared'
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_pic_CXX='-fPIC'
331 kx ;;
331 kx esac
331 kx else
331 kx case $host_os in
331 kx aix[4-9]*)
331 kx # All AIX code is PIC.
331 kx if test ia64 = "$host_cpu"; then
331 kx # AIX 5 now supports IA64 processor
331 kx lt_prog_compiler_static_CXX='-Bstatic'
331 kx else
331 kx lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
331 kx fi
331 kx ;;
331 kx chorus*)
331 kx case $cc_basename in
331 kx cxch68*)
331 kx # Green Hills C++ Compiler
331 kx # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
331 kx ;;
331 kx esac
331 kx ;;
331 kx mingw* | cygwin* | os2* | pw32* | cegcc*)
331 kx # This hack is so that the source file can tell whether it is being
331 kx # built for inclusion in a dll (and should export symbols for example).
331 kx lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
331 kx ;;
331 kx dgux*)
331 kx case $cc_basename in
331 kx ec++*)
331 kx lt_prog_compiler_pic_CXX='-KPIC'
331 kx ;;
331 kx ghcx*)
331 kx # Green Hills C++ Compiler
331 kx lt_prog_compiler_pic_CXX='-pic'
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx freebsd* | dragonfly* | midnightbsd*)
331 kx # FreeBSD uses GNU C++
331 kx ;;
331 kx hpux9* | hpux10* | hpux11*)
331 kx case $cc_basename in
331 kx CC*)
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
331 kx if test ia64 != "$host_cpu"; then
331 kx lt_prog_compiler_pic_CXX='+Z'
331 kx fi
331 kx ;;
331 kx aCC*)
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
331 kx case $host_cpu in
331 kx hppa*64*|ia64*)
331 kx # +Z the default
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_pic_CXX='+Z'
331 kx ;;
331 kx esac
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx interix*)
331 kx # This is c89, which is MS Visual C++ (no shared libs)
331 kx # Anyone wants to do a port?
331 kx ;;
331 kx irix5* | irix6* | nonstopux*)
331 kx case $cc_basename in
331 kx CC*)
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_static_CXX='-non_shared'
331 kx # CC pic flag -KPIC is the default.
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
331 kx case $cc_basename in
331 kx KCC*)
331 kx # KAI C++ Compiler
331 kx lt_prog_compiler_wl_CXX='--backend -Wl,'
331 kx lt_prog_compiler_pic_CXX='-fPIC'
331 kx ;;
331 kx ecpc* )
331 kx # old Intel C++ for x86_64, which still supported -KPIC.
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_pic_CXX='-KPIC'
331 kx lt_prog_compiler_static_CXX='-static'
331 kx ;;
331 kx icpc* )
331 kx # Intel C++, used to be incompatible with GCC.
331 kx # ICC 10 doesn't accept -KPIC any more.
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_pic_CXX='-fPIC'
331 kx lt_prog_compiler_static_CXX='-static'
331 kx ;;
331 kx pgCC* | pgcpp*)
331 kx # Portland Group C++ compiler
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_pic_CXX='-fpic'
331 kx lt_prog_compiler_static_CXX='-Bstatic'
331 kx ;;
331 kx cxx*)
331 kx # Compaq C++
331 kx # Make sure the PIC flag is empty. It appears that all Alpha
331 kx # Linux and Compaq Tru64 Unix objects are PIC.
331 kx lt_prog_compiler_pic_CXX=
331 kx lt_prog_compiler_static_CXX='-non_shared'
331 kx ;;
331 kx xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
331 kx # IBM XL 8.0, 9.0 on PPC and BlueGene
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_pic_CXX='-qpic'
331 kx lt_prog_compiler_static_CXX='-qstaticlink'
331 kx ;;
331 kx *)
331 kx case `$CC -V 2>&1 | $SED 5q` in
331 kx *Sun\ C*)
331 kx # Sun C++ 5.9
331 kx lt_prog_compiler_pic_CXX='-KPIC'
331 kx lt_prog_compiler_static_CXX='-Bstatic'
331 kx lt_prog_compiler_wl_CXX='-Qoption ld '
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx ;;
331 kx lynxos*)
331 kx ;;
331 kx m88k*)
331 kx ;;
331 kx mvs*)
331 kx case $cc_basename in
331 kx cxx*)
331 kx lt_prog_compiler_pic_CXX='-W c,exportall'
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx netbsd*)
331 kx ;;
331 kx *qnx* | *nto*)
331 kx # QNX uses GNU C++, but need to define -shared option too, otherwise
331 kx # it will coredump.
331 kx lt_prog_compiler_pic_CXX='-fPIC -shared'
331 kx ;;
331 kx osf3* | osf4* | osf5*)
331 kx case $cc_basename in
331 kx KCC*)
331 kx lt_prog_compiler_wl_CXX='--backend -Wl,'
331 kx ;;
331 kx RCC*)
331 kx # Rational C++ 2.4.1
331 kx lt_prog_compiler_pic_CXX='-pic'
331 kx ;;
331 kx cxx*)
331 kx # Digital/Compaq C++
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx # Make sure the PIC flag is empty. It appears that all Alpha
331 kx # Linux and Compaq Tru64 Unix objects are PIC.
331 kx lt_prog_compiler_pic_CXX=
331 kx lt_prog_compiler_static_CXX='-non_shared'
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx psos*)
331 kx ;;
331 kx solaris*)
331 kx case $cc_basename in
331 kx CC* | sunCC*)
331 kx # Sun C++ 4.2, 5.x and Centerline C++
331 kx lt_prog_compiler_pic_CXX='-KPIC'
331 kx lt_prog_compiler_static_CXX='-Bstatic'
331 kx lt_prog_compiler_wl_CXX='-Qoption ld '
331 kx ;;
331 kx gcx*)
331 kx # Green Hills C++ Compiler
331 kx lt_prog_compiler_pic_CXX='-PIC'
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx sunos4*)
331 kx case $cc_basename in
331 kx CC*)
331 kx # Sun C++ 4.x
331 kx lt_prog_compiler_pic_CXX='-pic'
331 kx lt_prog_compiler_static_CXX='-Bstatic'
331 kx ;;
331 kx lcc*)
331 kx # Lucid
331 kx lt_prog_compiler_pic_CXX='-pic'
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
331 kx case $cc_basename in
331 kx CC*)
331 kx lt_prog_compiler_wl_CXX='-Wl,'
331 kx lt_prog_compiler_pic_CXX='-KPIC'
331 kx lt_prog_compiler_static_CXX='-Bstatic'
331 kx ;;
331 kx esac
331 kx ;;
331 kx tandem*)
331 kx case $cc_basename in
331 kx NCC*)
331 kx # NonStop-UX NCC 3.20
331 kx lt_prog_compiler_pic_CXX='-KPIC'
331 kx ;;
331 kx *)
331 kx ;;
331 kx esac
331 kx ;;
331 kx vxworks*)
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_can_build_shared_CXX=no
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx case $host_os in
331 kx # For platforms that do not support PIC, -DPIC is meaningless:
331 kx *djgpp*)
331 kx lt_prog_compiler_pic_CXX=
331 kx ;;
331 kx *)
331 kx lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
331 kx ;;
331 kx esac
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
331 kx printf %s "checking for $compiler option to produce PIC... " >&6; }
331 kx if test ${lt_cv_prog_compiler_pic_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_pic_CXX" >&6; }
331 kx lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
331 kx
331 kx #
331 kx # Check to make sure the PIC flag actually works.
331 kx #
331 kx if test -n "$lt_prog_compiler_pic_CXX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
331 kx printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
331 kx if test ${lt_cv_prog_compiler_pic_works_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_pic_works_CXX=no
331 kx ac_outfile=conftest.$ac_objext
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
331 kx # Insert the option either (1) after the last *FLAGS variable, or
331 kx # (2) before a word containing "conftest.", or (3) at the end.
331 kx # Note that $ac_compile itself does not contain backslashes and begins
331 kx # with a dollar sign (not a hyphen), so the echo should work correctly.
331 kx # The option is referenced via a variable to avoid confusing sed.
331 kx lt_compile=`echo "$ac_compile" | $SED \
331 kx -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
331 kx -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 kx -e 's:$: $lt_compiler_flag:'`
331 kx (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
331 kx (eval "$lt_compile" 2>conftest.err)
331 kx ac_status=$?
331 kx cat conftest.err >&5
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx if (exit $ac_status) && test -s "$ac_outfile"; then
331 kx # The compiler can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings other than the usual output.
331 kx $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
331 kx $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
331 kx if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_pic_works_CXX=yes
331 kx fi
331 kx fi
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
331 kx
331 kx if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
331 kx case $lt_prog_compiler_pic_CXX in
331 kx "" | " "*) ;;
331 kx *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
331 kx esac
331 kx else
331 kx lt_prog_compiler_pic_CXX=
331 kx lt_prog_compiler_can_build_shared_CXX=no
331 kx fi
331 kx
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx #
331 kx # Check to make sure the static flag actually works.
331 kx #
331 kx wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
331 kx printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
331 kx if test ${lt_cv_prog_compiler_static_works_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_static_works_CXX=no
331 kx save_LDFLAGS=$LDFLAGS
331 kx LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
331 kx echo "$lt_simple_link_test_code" > conftest.$ac_ext
331 kx if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
331 kx # The linker can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings
331 kx if test -s conftest.err; then
331 kx # Append any errors to the config.log.
331 kx cat conftest.err 1>&5
331 kx $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
331 kx $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
331 kx if diff conftest.exp conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_static_works_CXX=yes
331 kx fi
331 kx else
331 kx lt_cv_prog_compiler_static_works_CXX=yes
331 kx fi
331 kx fi
331 kx $RM -r conftest*
331 kx LDFLAGS=$save_LDFLAGS
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_static_works_CXX" >&6; }
331 kx
331 kx if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
331 kx :
331 kx else
331 kx lt_prog_compiler_static_CXX=
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
331 kx printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
331 kx if test ${lt_cv_prog_compiler_c_o_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_c_o_CXX=no
331 kx $RM -r conftest 2>/dev/null
331 kx mkdir conftest
331 kx cd conftest
331 kx mkdir out
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx
331 kx lt_compiler_flag="-o out/conftest2.$ac_objext"
331 kx # Insert the option either (1) after the last *FLAGS variable, or
331 kx # (2) before a word containing "conftest.", or (3) at the end.
331 kx # Note that $ac_compile itself does not contain backslashes and begins
331 kx # with a dollar sign (not a hyphen), so the echo should work correctly.
331 kx lt_compile=`echo "$ac_compile" | $SED \
331 kx -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
331 kx -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 kx -e 's:$: $lt_compiler_flag:'`
331 kx (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
331 kx (eval "$lt_compile" 2>out/conftest.err)
331 kx ac_status=$?
331 kx cat out/conftest.err >&5
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx if (exit $ac_status) && test -s out/conftest2.$ac_objext
331 kx then
331 kx # The compiler can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings
331 kx $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
331 kx $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
331 kx if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_c_o_CXX=yes
331 kx fi
331 kx fi
331 kx chmod u+w . 2>&5
331 kx $RM conftest*
331 kx # SGI C++ compiler will create directory out/ii_files/ for
331 kx # template instantiation
331 kx test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
331 kx $RM out/* && rmdir out
331 kx cd ..
331 kx $RM -r conftest
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
331 kx printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
331 kx if test ${lt_cv_prog_compiler_c_o_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_prog_compiler_c_o_CXX=no
331 kx $RM -r conftest 2>/dev/null
331 kx mkdir conftest
331 kx cd conftest
331 kx mkdir out
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx
331 kx lt_compiler_flag="-o out/conftest2.$ac_objext"
331 kx # Insert the option either (1) after the last *FLAGS variable, or
331 kx # (2) before a word containing "conftest.", or (3) at the end.
331 kx # Note that $ac_compile itself does not contain backslashes and begins
331 kx # with a dollar sign (not a hyphen), so the echo should work correctly.
331 kx lt_compile=`echo "$ac_compile" | $SED \
331 kx -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
331 kx -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
331 kx -e 's:$: $lt_compiler_flag:'`
331 kx (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
331 kx (eval "$lt_compile" 2>out/conftest.err)
331 kx ac_status=$?
331 kx cat out/conftest.err >&5
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx if (exit $ac_status) && test -s out/conftest2.$ac_objext
331 kx then
331 kx # The compiler can only warn and ignore the option if not recognized
331 kx # So say no if there are warnings
331 kx $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
331 kx $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
331 kx if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
331 kx lt_cv_prog_compiler_c_o_CXX=yes
331 kx fi
331 kx fi
331 kx chmod u+w . 2>&5
331 kx $RM conftest*
331 kx # SGI C++ compiler will create directory out/ii_files/ for
331 kx # template instantiation
331 kx test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
331 kx $RM out/* && rmdir out
331 kx cd ..
331 kx $RM -r conftest
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
331 kx printf "%s\n" "$lt_cv_prog_compiler_c_o_CXX" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx hard_links=nottested
331 kx if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
331 kx # do not overwrite the value of need_locks provided by the user
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
331 kx printf %s "checking if we can lock with hard links... " >&6; }
331 kx hard_links=yes
331 kx $RM conftest*
331 kx ln conftest.a conftest.b 2>/dev/null && hard_links=no
331 kx touch conftest.a
331 kx ln conftest.a conftest.b 2>&5 || hard_links=no
331 kx ln conftest.a conftest.b 2>/dev/null && hard_links=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
331 kx printf "%s\n" "$hard_links" >&6; }
331 kx if test no = "$hard_links"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
331 kx printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
331 kx need_locks=warn
331 kx fi
331 kx else
331 kx need_locks=no
331 kx fi
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
331 kx printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
331 kx
331 kx export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
331 kx exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
331 kx case $host_os in
331 kx aix[4-9]*)
331 kx # If we're using GNU nm, then we don't want the "-C" option.
331 kx # -C means demangle to GNU nm, but means don't demangle to AIX nm.
331 kx # Without the "-l" option, or with the "-B" option, AIX nm treats
331 kx # weak defined symbols like other global defined symbols, whereas
331 kx # GNU nm marks them as "W".
331 kx # While the 'weak' keyword is ignored in the Export File, we need
331 kx # it in the Import File for the 'aix-soname' feature, so we have
331 kx # to replace the "-B" option with "-P" for AIX nm.
331 kx if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
331 kx export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
331 kx else
331 kx export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
331 kx fi
331 kx ;;
331 kx pw32*)
331 kx export_symbols_cmds_CXX=$ltdll_cmds
331 kx ;;
331 kx cygwin* | mingw* | cegcc*)
331 kx case $cc_basename in
331 kx cl* | icl*)
331 kx exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
331 kx ;;
331 kx *)
331 kx export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
331 kx exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
331 kx ;;
331 kx esac
331 kx ;;
331 kx *)
331 kx export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
331 kx ;;
331 kx esac
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
331 kx printf "%s\n" "$ld_shlibs_CXX" >&6; }
331 kx test no = "$ld_shlibs_CXX" && can_build_shared=no
331 kx
331 kx with_gnu_ld_CXX=$with_gnu_ld
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx #
331 kx # Do we need to explicitly link libc?
331 kx #
331 kx case "x$archive_cmds_need_lc_CXX" in
331 kx x|xyes)
331 kx # Assume -lc should be added
331 kx archive_cmds_need_lc_CXX=yes
331 kx
331 kx if test yes,yes = "$GCC,$enable_shared"; then
331 kx case $archive_cmds_CXX in
331 kx *'~'*)
331 kx # FIXME: we may have to deal with multi-command sequences.
331 kx ;;
331 kx '$CC '*)
331 kx # Test whether the compiler implicitly links with -lc since on some
331 kx # systems, -lgcc has to come before -lc. If gcc already passes -lc
331 kx # to ld, don't add -lc before -lgcc.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
331 kx printf %s "checking whether -lc should be explicitly linked in... " >&6; }
331 kx if test ${lt_cv_archive_cmds_need_lc_CXX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx $RM conftest*
331 kx echo "$lt_simple_compile_test_code" > conftest.$ac_ext
331 kx
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
331 kx (eval $ac_compile) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; } 2>conftest.err; then
331 kx soname=conftest
331 kx lib=conftest
331 kx libobjs=conftest.$ac_objext
331 kx deplibs=
331 kx wl=$lt_prog_compiler_wl_CXX
331 kx pic_flag=$lt_prog_compiler_pic_CXX
331 kx compiler_flags=-v
331 kx linker_flags=-v
331 kx verstring=
331 kx output_objdir=.
331 kx libname=conftest
331 kx lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
331 kx allow_undefined_flag_CXX=
331 kx if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
331 kx (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }
331 kx then
331 kx lt_cv_archive_cmds_need_lc_CXX=no
331 kx else
331 kx lt_cv_archive_cmds_need_lc_CXX=yes
331 kx fi
331 kx allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
331 kx else
331 kx cat conftest.err 1>&5
331 kx fi
331 kx $RM conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
331 kx printf "%s\n" "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
331 kx archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
331 kx ;;
331 kx esac
331 kx fi
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
331 kx printf %s "checking dynamic linker characteristics... " >&6; }
331 kx
331 kx library_names_spec=
331 kx libname_spec='lib$name'
331 kx soname_spec=
331 kx shrext_cmds=.so
331 kx postinstall_cmds=
331 kx postuninstall_cmds=
331 kx finish_cmds=
331 kx finish_eval=
331 kx shlibpath_var=
331 kx shlibpath_overrides_runpath=unknown
331 kx version_type=none
331 kx dynamic_linker="$host_os ld.so"
331 kx sys_lib_dlsearch_path_spec="/lib /usr/lib"
331 kx need_lib_prefix=unknown
331 kx hardcode_into_libs=no
331 kx
331 kx # when you set need_version to no, make sure it does not cause -set_version
331 kx # flags to be left without arguments
331 kx need_version=unknown
331 kx
331 kx
331 kx
331 kx case $host_os in
331 kx aix3*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
331 kx shlibpath_var=LIBPATH
331 kx
331 kx # AIX 3 has no versioning support, so we append a major version to the name.
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx ;;
331 kx
331 kx aix[4-9]*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx hardcode_into_libs=yes
331 kx if test ia64 = "$host_cpu"; then
331 kx # AIX 5 supports IA64
331 kx library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx else
331 kx # With GCC up to 2.95.x, collect2 would create an import file
331 kx # for dependence libraries. The import file would start with
331 kx # the line '#! .'. This would cause the generated library to
331 kx # depend on '.', always an invalid library. This was fixed in
331 kx # development snapshots of GCC prior to 3.0.
331 kx case $host_os in
331 kx aix4 | aix4.[01] | aix4.[01].*)
331 kx if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
331 kx echo ' yes '
331 kx echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
331 kx :
331 kx else
331 kx can_build_shared=no
331 kx fi
331 kx ;;
331 kx esac
331 kx # Using Import Files as archive members, it is possible to support
331 kx # filename-based versioning of shared library archives on AIX. While
331 kx # this would work for both with and without runtime linking, it will
331 kx # prevent static linking of such archives. So we do filename-based
331 kx # shared library versioning with .so extension only, which is used
331 kx # when both runtime linking and shared linking is enabled.
331 kx # Unfortunately, runtime linking may impact performance, so we do
331 kx # not want this to be the default eventually. Also, we use the
331 kx # versioned .so libs for executables only if there is the -brtl
331 kx # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
331 kx # To allow for filename-based versioning support, we need to create
331 kx # libNAME.so.V as an archive file, containing:
331 kx # *) an Import File, referring to the versioned filename of the
331 kx # archive as well as the shared archive member, telling the
331 kx # bitwidth (32 or 64) of that shared object, and providing the
331 kx # list of exported symbols of that shared object, eventually
331 kx # decorated with the 'weak' keyword
331 kx # *) the shared object with the F_LOADONLY flag set, to really avoid
331 kx # it being seen by the linker.
331 kx # At run time we better use the real file rather than another symlink,
331 kx # but for link time we create the symlink libNAME.so -> libNAME.so.V
331 kx
331 kx case $with_aix_soname,$aix_use_runtimelinking in
331 kx # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
331 kx # soname into executable. Probably we can add versioning support to
331 kx # collect2, so additional links can be useful in future.
331 kx aix,yes) # traditional libtool
331 kx dynamic_linker='AIX unversionable lib.so'
331 kx # If using run time linking (on AIX 4.2 or later) use lib<name>.so
331 kx # instead of lib<name>.a to let people know that these are not
331 kx # typical AIX shared libraries.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx ;;
331 kx aix,no) # traditional AIX only
331 kx dynamic_linker='AIX lib.a(lib.so.V)'
331 kx # We preserve .a as extension for shared libraries through AIX4.2
331 kx # and later when we are not doing run time linking.
331 kx library_names_spec='$libname$release.a $libname.a'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx ;;
331 kx svr4,*) # full svr4 only
331 kx dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
331 kx library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
331 kx # We do not specify a path in Import Files, so LIBPATH fires.
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx *,yes) # both, prefer svr4
331 kx dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
331 kx library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
331 kx # unpreferred sharedlib libNAME.a needs extra handling
331 kx postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
331 kx postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
331 kx # We do not specify a path in Import Files, so LIBPATH fires.
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx *,no) # both, prefer aix
331 kx dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
331 kx library_names_spec='$libname$release.a $libname.a'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
331 kx postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
331 kx postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
331 kx ;;
331 kx esac
331 kx shlibpath_var=LIBPATH
331 kx fi
331 kx ;;
331 kx
331 kx amigaos*)
331 kx case $host_cpu in
331 kx powerpc)
331 kx # Since July 2007 AmigaOS4 officially supports .so libraries.
331 kx # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx ;;
331 kx m68k)
331 kx library_names_spec='$libname.ixlibrary $libname.a'
331 kx # Create ${libname}_ixlibrary.a entries in /sys/libs.
331 kx finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx beos*)
331 kx library_names_spec='$libname$shared_ext'
331 kx dynamic_linker="$host_os ld.so"
331 kx shlibpath_var=LIBRARY_PATH
331 kx ;;
331 kx
331 kx bsdi[45]*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
331 kx sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
331 kx # the default ld.so.conf also contains /usr/contrib/lib and
331 kx # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
331 kx # libtool to hard-code these into programs
331 kx ;;
331 kx
331 kx cygwin* | mingw* | pw32* | cegcc*)
331 kx version_type=windows
331 kx shrext_cmds=.dll
331 kx need_version=no
331 kx need_lib_prefix=no
331 kx
331 kx case $GCC,$cc_basename in
331 kx yes,*)
331 kx # gcc
331 kx library_names_spec='$libname.dll.a'
331 kx # DLL is installed to $(libdir)/../bin by postinstall_cmds
331 kx postinstall_cmds='base_file=`basename \$file`~
331 kx dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
331 kx dldir=$destdir/`dirname \$dlpath`~
331 kx test -d \$dldir || mkdir -p \$dldir~
331 kx $install_prog $dir/$dlname \$dldir/$dlname~
331 kx chmod a+x \$dldir/$dlname~
331 kx if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
331 kx eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
331 kx fi'
331 kx postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
331 kx dlpath=$dir/\$dldll~
331 kx $RM \$dlpath'
331 kx shlibpath_overrides_runpath=yes
331 kx
331 kx case $host_os in
331 kx cygwin*)
331 kx # Cygwin DLLs use 'cyg' prefix rather than 'lib'
331 kx soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx
331 kx ;;
331 kx mingw* | cegcc*)
331 kx # MinGW DLLs use traditional 'lib' prefix
331 kx soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx ;;
331 kx pw32*)
331 kx # pw32 DLLs use 'pw' prefix rather than 'lib'
331 kx library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx ;;
331 kx esac
331 kx dynamic_linker='Win32 ld.exe'
331 kx ;;
331 kx
331 kx *,cl* | *,icl*)
331 kx # Native MSVC or ICC
331 kx libname_spec='$name'
331 kx soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
331 kx library_names_spec='$libname.dll.lib'
331 kx
331 kx case $build_os in
331 kx mingw*)
331 kx sys_lib_search_path_spec=
331 kx lt_save_ifs=$IFS
331 kx IFS=';'
331 kx for lt_path in $LIB
331 kx do
331 kx IFS=$lt_save_ifs
331 kx # Let DOS variable expansion print the short 8.3 style file name.
331 kx lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
331 kx sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
331 kx done
331 kx IFS=$lt_save_ifs
331 kx # Convert to MSYS style.
331 kx sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
331 kx ;;
331 kx cygwin*)
331 kx # Convert to unix form, then to dos form, then back to unix form
331 kx # but this time dos style (no spaces!) so that the unix form looks
331 kx # like /cygdrive/c/PROGRA~1:/cygdr...
331 kx sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
331 kx sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
331 kx sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
331 kx ;;
331 kx *)
331 kx sys_lib_search_path_spec=$LIB
331 kx if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
331 kx # It is most probably a Windows format PATH.
331 kx sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
331 kx else
331 kx sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
331 kx fi
331 kx # FIXME: find the short name or the path components, as spaces are
331 kx # common. (e.g. "Program Files" -> "PROGRA~1")
331 kx ;;
331 kx esac
331 kx
331 kx # DLL is installed to $(libdir)/../bin by postinstall_cmds
331 kx postinstall_cmds='base_file=`basename \$file`~
331 kx dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
331 kx dldir=$destdir/`dirname \$dlpath`~
331 kx test -d \$dldir || mkdir -p \$dldir~
331 kx $install_prog $dir/$dlname \$dldir/$dlname'
331 kx postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
331 kx dlpath=$dir/\$dldll~
331 kx $RM \$dlpath'
331 kx shlibpath_overrides_runpath=yes
331 kx dynamic_linker='Win32 link.exe'
331 kx ;;
331 kx
331 kx *)
331 kx # Assume MSVC and ICC wrapper
331 kx library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
331 kx dynamic_linker='Win32 ld.exe'
331 kx ;;
331 kx esac
331 kx # FIXME: first we should search . and the directory the executable is in
331 kx shlibpath_var=PATH
331 kx ;;
331 kx
331 kx darwin* | rhapsody*)
331 kx dynamic_linker="$host_os dyld"
331 kx version_type=darwin
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
331 kx soname_spec='$libname$release$major$shared_ext'
331 kx shlibpath_overrides_runpath=yes
331 kx shlibpath_var=DYLD_LIBRARY_PATH
331 kx shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
331 kx
331 kx sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
331 kx ;;
331 kx
331 kx dgux*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx ;;
331 kx
331 kx freebsd* | dragonfly* | midnightbsd*)
331 kx # DragonFly does not have aout. When/if they implement a new
331 kx # versioning mechanism, adjust this.
331 kx if test -x /usr/bin/objformat; then
331 kx objformat=`/usr/bin/objformat`
331 kx else
331 kx case $host_os in
331 kx freebsd[23].*) objformat=aout ;;
331 kx *) objformat=elf ;;
331 kx esac
331 kx fi
331 kx version_type=freebsd-$objformat
331 kx case $version_type in
331 kx freebsd-elf*)
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx need_version=no
331 kx need_lib_prefix=no
331 kx ;;
331 kx freebsd-*)
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx need_version=yes
331 kx ;;
331 kx esac
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx case $host_os in
331 kx freebsd2.*)
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx freebsd3.[01]* | freebsdelf3.[01]*)
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
331 kx freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx *) # from 4.6 on, and DragonFly
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx haiku*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx dynamic_linker="$host_os runtime_loader"
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx hpux9* | hpux10* | hpux11*)
331 kx # Give a soname corresponding to the major version so that dld.sl refuses to
331 kx # link against other versions.
331 kx version_type=sunos
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx case $host_cpu in
331 kx ia64*)
331 kx shrext_cmds='.so'
331 kx hardcode_into_libs=yes
331 kx dynamic_linker="$host_os dld.so"
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx if test 32 = "$HPUX_IA64_MODE"; then
331 kx sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
331 kx sys_lib_dlsearch_path_spec=/usr/lib/hpux32
331 kx else
331 kx sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
331 kx sys_lib_dlsearch_path_spec=/usr/lib/hpux64
331 kx fi
331 kx ;;
331 kx hppa*64*)
331 kx shrext_cmds='.sl'
331 kx hardcode_into_libs=yes
331 kx dynamic_linker="$host_os dld.sl"
331 kx shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
331 kx shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
331 kx sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
331 kx ;;
331 kx *)
331 kx shrext_cmds='.sl'
331 kx dynamic_linker="$host_os dld.sl"
331 kx shlibpath_var=SHLIB_PATH
331 kx shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx ;;
331 kx esac
331 kx # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
331 kx postinstall_cmds='chmod 555 $lib'
331 kx # or fails outright, so override atomically:
331 kx install_override_mode=555
331 kx ;;
331 kx
331 kx interix[3-9]*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx irix5* | irix6* | nonstopux*)
331 kx case $host_os in
331 kx nonstopux*) version_type=nonstopux ;;
331 kx *)
331 kx if test yes = "$lt_cv_prog_gnu_ld"; then
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx else
331 kx version_type=irix
331 kx fi ;;
331 kx esac
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
331 kx case $host_os in
331 kx irix5* | nonstopux*)
331 kx libsuff= shlibsuff=
331 kx ;;
331 kx *)
331 kx case $LD in # libtool.m4 will add one of these switches to LD
331 kx *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
331 kx libsuff= shlibsuff= libmagic=32-bit;;
331 kx *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
331 kx libsuff=32 shlibsuff=N32 libmagic=N32;;
331 kx *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
331 kx libsuff=64 shlibsuff=64 libmagic=64-bit;;
331 kx *) libsuff= shlibsuff= libmagic=never-match;;
331 kx esac
331 kx ;;
331 kx esac
331 kx shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
331 kx shlibpath_overrides_runpath=no
331 kx sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
331 kx sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx # No shared lib support for Linux oldld, aout, or coff.
331 kx linux*oldld* | linux*aout* | linux*coff*)
331 kx dynamic_linker=no
331 kx ;;
331 kx
331 kx linux*android*)
331 kx version_type=none # Android doesn't support versioned libraries.
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext'
331 kx soname_spec='$libname$release$shared_ext'
331 kx finish_cmds=
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx
331 kx # This implies no fast_install, which is unacceptable.
331 kx # Some rework will be needed to allow for fast_install
331 kx # before this can be enabled.
331 kx hardcode_into_libs=yes
331 kx
331 kx dynamic_linker='Android linker'
331 kx # Don't embed -rpath directories since the linker doesn't support them.
331 kx hardcode_libdir_flag_spec_CXX='-L$libdir'
331 kx ;;
331 kx
331 kx # This must be glibc/ELF.
331 kx linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx
331 kx # Some binutils ld are patched to set DT_RUNPATH
331 kx if test ${lt_cv_shlibpath_overrides_runpath+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx lt_cv_shlibpath_overrides_runpath=no
331 kx save_LDFLAGS=$LDFLAGS
331 kx save_libdir=$libdir
331 kx eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
331 kx LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_link "$LINENO"
331 kx then :
331 kx if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
331 kx then :
331 kx lt_cv_shlibpath_overrides_runpath=yes
331 kx fi
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LDFLAGS=$save_LDFLAGS
331 kx libdir=$save_libdir
331 kx
331 kx fi
331 kx
331 kx shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
331 kx
331 kx # This implies no fast_install, which is unacceptable.
331 kx # Some rework will be needed to allow for fast_install
331 kx # before this can be enabled.
331 kx hardcode_into_libs=yes
331 kx
331 kx # Ideally, we could use ldconfig to report *all* directores which are
331 kx # searched for libraries, however this is still not possible. Aside from not
331 kx # being certain /sbin/ldconfig is available, command
331 kx # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
331 kx # even though it is searched at run-time. Try to do the best guess by
331 kx # appending ld.so.conf contents (and includes) to the search path.
331 kx if test -f /etc/ld.so.conf; then
331 kx lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
331 kx sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
331 kx fi
331 kx
331 kx # We used to test for /lib/ld.so.1 and disable shared libraries on
331 kx # powerpc, because MkLinux only supported shared libraries with the
331 kx # GNU dynamic linker. Since this was broken with cross compilers,
331 kx # most powerpc-linux boxes support dynamic linking these days and
331 kx # people can always --disable-shared, the test was removed, and we
331 kx # assume the GNU/Linux dynamic linker is in use.
331 kx dynamic_linker='GNU/Linux ld.so'
331 kx ;;
331 kx
331 kx netbsd*)
331 kx version_type=sunos
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
331 kx dynamic_linker='NetBSD (a.out) ld.so'
331 kx else
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx dynamic_linker='NetBSD ld.elf_so'
331 kx fi
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx newsos6)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx
331 kx *nto* | *qnx*)
331 kx version_type=qnx
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx dynamic_linker='ldqnx.so'
331 kx ;;
331 kx
331 kx openbsd* | bitrig*)
331 kx version_type=sunos
331 kx sys_lib_dlsearch_path_spec=/usr/lib
331 kx need_lib_prefix=no
331 kx if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
331 kx need_version=no
331 kx else
331 kx need_version=yes
331 kx fi
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx ;;
331 kx
331 kx os2*)
331 kx libname_spec='$name'
331 kx version_type=windows
331 kx shrext_cmds=.dll
331 kx need_version=no
331 kx need_lib_prefix=no
331 kx # OS/2 can only load a DLL with a base name of 8 characters or less.
331 kx soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
331 kx v=$($ECHO $release$versuffix | tr -d .-);
331 kx n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
331 kx $ECHO $n$v`$shared_ext'
331 kx library_names_spec='${libname}_dll.$libext'
331 kx dynamic_linker='OS/2 ld.exe'
331 kx shlibpath_var=BEGINLIBPATH
331 kx sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
331 kx sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
331 kx postinstall_cmds='base_file=`basename \$file`~
331 kx dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
331 kx dldir=$destdir/`dirname \$dlpath`~
331 kx test -d \$dldir || mkdir -p \$dldir~
331 kx $install_prog $dir/$dlname \$dldir/$dlname~
331 kx chmod a+x \$dldir/$dlname~
331 kx if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
331 kx eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
331 kx fi'
331 kx postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
331 kx dlpath=$dir/\$dldll~
331 kx $RM \$dlpath'
331 kx ;;
331 kx
331 kx osf3* | osf4* | osf5*)
331 kx version_type=osf
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
331 kx sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
331 kx ;;
331 kx
331 kx rdos*)
331 kx dynamic_linker=no
331 kx ;;
331 kx
331 kx solaris*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx # ldd complains unless libraries are executable
331 kx postinstall_cmds='chmod +x $lib'
331 kx ;;
331 kx
331 kx sunos4*)
331 kx version_type=sunos
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
331 kx finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx if test yes = "$with_gnu_ld"; then
331 kx need_lib_prefix=no
331 kx fi
331 kx need_version=yes
331 kx ;;
331 kx
331 kx sysv4 | sysv4.3*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx case $host_vendor in
331 kx sni)
331 kx shlibpath_overrides_runpath=no
331 kx need_lib_prefix=no
331 kx runpath_var=LD_RUN_PATH
331 kx ;;
331 kx siemens)
331 kx need_lib_prefix=no
331 kx ;;
331 kx motorola)
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx shlibpath_overrides_runpath=no
331 kx sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
331 kx ;;
331 kx esac
331 kx ;;
331 kx
331 kx sysv4*MP*)
331 kx if test -d /usr/nec; then
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
331 kx soname_spec='$libname$shared_ext.$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx fi
331 kx ;;
331 kx
331 kx sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
331 kx version_type=sco
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=yes
331 kx hardcode_into_libs=yes
331 kx if test yes = "$with_gnu_ld"; then
331 kx sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
331 kx else
331 kx sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
331 kx case $host_os in
331 kx sco3.2v5*)
331 kx sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
331 kx ;;
331 kx esac
331 kx fi
331 kx sys_lib_dlsearch_path_spec='/usr/lib'
331 kx ;;
331 kx
331 kx tpf*)
331 kx # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx need_lib_prefix=no
331 kx need_version=no
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx shlibpath_overrides_runpath=no
331 kx hardcode_into_libs=yes
331 kx ;;
331 kx
331 kx uts4*)
331 kx version_type=linux # correct to gnu/linux during the next big refactor
331 kx library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
331 kx soname_spec='$libname$release$shared_ext$major'
331 kx shlibpath_var=LD_LIBRARY_PATH
331 kx ;;
331 kx
331 kx *)
331 kx dynamic_linker=no
331 kx ;;
331 kx esac
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
331 kx printf "%s\n" "$dynamic_linker" >&6; }
331 kx test no = "$dynamic_linker" && can_build_shared=no
331 kx
331 kx variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
331 kx if test yes = "$GCC"; then
331 kx variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
331 kx fi
331 kx
331 kx if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
331 kx sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
331 kx fi
331 kx
331 kx if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
331 kx sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
331 kx fi
331 kx
331 kx # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
331 kx configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
331 kx
331 kx # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
331 kx func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
331 kx
331 kx # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
331 kx configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
331 kx printf %s "checking how to hardcode library paths into programs... " >&6; }
331 kx hardcode_action_CXX=
331 kx if test -n "$hardcode_libdir_flag_spec_CXX" ||
331 kx test -n "$runpath_var_CXX" ||
331 kx test yes = "$hardcode_automatic_CXX"; then
331 kx
331 kx # We can hardcode non-existent directories.
331 kx if test no != "$hardcode_direct_CXX" &&
331 kx # If the only mechanism to avoid hardcoding is shlibpath_var, we
331 kx # have to relink, otherwise we might link with an installed library
331 kx # when we should be linking with a yet-to-be-installed one
331 kx ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
331 kx test no != "$hardcode_minus_L_CXX"; then
331 kx # Linking always hardcodes the temporary library directory.
331 kx hardcode_action_CXX=relink
331 kx else
331 kx # We can link without hardcoding, and we can hardcode nonexisting dirs.
331 kx hardcode_action_CXX=immediate
331 kx fi
331 kx else
331 kx # We cannot hardcode anything, or else we can only hardcode existing
331 kx # directories.
331 kx hardcode_action_CXX=unsupported
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
331 kx printf "%s\n" "$hardcode_action_CXX" >&6; }
331 kx
331 kx if test relink = "$hardcode_action_CXX" ||
331 kx test yes = "$inherit_rpath_CXX"; then
331 kx # Fast installation is not supported
331 kx enable_fast_install=no
331 kx elif test yes = "$shlibpath_overrides_runpath" ||
331 kx test no = "$enable_shared"; then
331 kx # Fast installation is not necessary
331 kx enable_fast_install=needless
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx fi # test -n "$compiler"
331 kx
331 kx CC=$lt_save_CC
331 kx CFLAGS=$lt_save_CFLAGS
331 kx LDCXX=$LD
331 kx LD=$lt_save_LD
331 kx GCC=$lt_save_GCC
331 kx with_gnu_ld=$lt_save_with_gnu_ld
331 kx lt_cv_path_LDCXX=$lt_cv_path_LD
331 kx lt_cv_path_LD=$lt_save_path_LD
331 kx lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
331 kx lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
331 kx fi # test yes != "$_lt_caught_CXX_error"
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx ac_config_commands="$ac_config_commands libtool"
331 kx
331 kx
331 kx
331 kx
331 kx # Only expand once:
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
331 kx printf %s "checking whether the C++ compiler works... " >&6; }
331 kx if test ${avahi_cv_sys_cxx_works+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx ac_ext=cpp
331 kx ac_cpp='$CXXCPP $CPPFLAGS'
331 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
331 kx
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx int main() { return 0; }
331 kx _ACEOF
331 kx if ac_fn_cxx_try_compile "$LINENO"
331 kx then :
331 kx avahi_cv_sys_cxx_works=yes
331 kx else $as_nop
331 kx avahi_cv_sys_cxx_works=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $avahi_cv_sys_cxx_works" >&5
331 kx printf "%s\n" "$avahi_cv_sys_cxx_works" >&6; }
331 kx if [ "x$avahi_cv_sys_cxx_works" = "xno" ]; then
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The C++ compiler does not work
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx acx_pthread_ok=no
331 kx
331 kx # We used to check for pthread.h first, but this fails if pthread.h
331 kx # requires special compiler flags (e.g. on True64 or Sequent).
331 kx # It gets checked for in the link test anyway.
331 kx
331 kx # First of all, check if the user has set any of the PTHREAD_LIBS,
331 kx # etcetera environment variables, and if threads linking works using
331 kx # them:
331 kx if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
331 kx save_CFLAGS="$CFLAGS"
331 kx CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
331 kx save_LIBS="$LIBS"
331 kx LIBS="$PTHREAD_LIBS $LIBS"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
331 kx printf %s "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char pthread_join ();
331 kx int
331 kx main (void)
331 kx {
331 kx return pthread_join ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx acx_pthread_ok=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
331 kx printf "%s\n" "$acx_pthread_ok" >&6; }
331 kx if test x"$acx_pthread_ok" = xno; then
331 kx PTHREAD_LIBS=""
331 kx PTHREAD_CFLAGS=""
331 kx fi
331 kx LIBS="$save_LIBS"
331 kx CFLAGS="$save_CFLAGS"
331 kx fi
331 kx
331 kx # We must check for the threads library under a number of different
331 kx # names; the ordering is very important because some systems
331 kx # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
331 kx # libraries is broken (non-POSIX).
331 kx
331 kx # Create a list of thread flags to try. Items starting with a "-" are
331 kx # C compiler flags, and other items are library names, except for "none"
331 kx # which indicates that we try without any flags at all, and "pthread-config"
331 kx # which is a program returning the flags for the Pth emulation library.
331 kx
331 kx acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
331 kx
331 kx # The ordering *is* (sometimes) important. Some notes on the
331 kx # individual items follow:
331 kx
331 kx # pthreads: AIX (must check this before -lpthread)
331 kx # none: in case threads are in libc; should be tried before -Kthread and
331 kx # other compiler flags to prevent continual compiler warnings
331 kx # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
331 kx # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
331 kx # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
331 kx # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
331 kx # -pthreads: Solaris/gcc
331 kx # -mthreads: Mingw32/gcc, Lynx/gcc
331 kx # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
331 kx # doesn't hurt to check since this sometimes defines pthreads too;
331 kx # also defines -D_REENTRANT)
331 kx # ... -mt is also the pthreads flag for HP/aCC
331 kx # pthread: Linux, etcetera
331 kx # --thread-safe: KAI C++
331 kx # pthread-config: use pthread-config program (for GNU Pth library)
331 kx
331 kx case "${host_cpu}-${host_os}" in
331 kx *solaris*)
331 kx
331 kx # On Solaris (at least, for some versions), libc contains stubbed
331 kx # (non-functional) versions of the pthreads routines, so link-based
331 kx # tests will erroneously succeed. (We need to link with -pthreads/-mt/
331 kx # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
331 kx # a function called by this macro, so we could check for that, but
331 kx # who knows whether they'll stub that too in a future libc.) So,
331 kx # we'll just look for -pthreads and -lpthread first:
331 kx
331 kx acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
331 kx ;;
331 kx esac
331 kx
331 kx if test x"$acx_pthread_ok" = xno; then
331 kx for flag in $acx_pthread_flags; do
331 kx
331 kx case $flag in
331 kx none)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
331 kx printf %s "checking whether pthreads work without any flags... " >&6; }
331 kx ;;
331 kx
331 kx -*)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
331 kx printf %s "checking whether pthreads work with $flag... " >&6; }
331 kx PTHREAD_CFLAGS="$flag"
331 kx ;;
331 kx
331 kx pthread-config)
331 kx # Extract the first word of "pthread-config", so it can be a program name with args.
331 kx set dummy pthread-config; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_acx_pthread_config+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$acx_pthread_config"; then
331 kx ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_acx_pthread_config="yes"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
331 kx fi
331 kx fi
331 kx acx_pthread_config=$ac_cv_prog_acx_pthread_config
331 kx if test -n "$acx_pthread_config"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
331 kx printf "%s\n" "$acx_pthread_config" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx if test x"$acx_pthread_config" = xno; then continue; fi
331 kx PTHREAD_CFLAGS="`pthread-config --cflags`"
331 kx PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
331 kx ;;
331 kx
331 kx *)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
331 kx printf %s "checking for the pthreads library -l$flag... " >&6; }
331 kx PTHREAD_LIBS="-l$flag"
331 kx ;;
331 kx esac
331 kx
331 kx save_LIBS="$LIBS"
331 kx save_CFLAGS="$CFLAGS"
331 kx LIBS="$PTHREAD_LIBS $LIBS"
331 kx CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
331 kx
331 kx # Check for various functions. We must include pthread.h,
331 kx # since some functions may be macros. (On the Sequent, we
331 kx # need a special flag -Kthread to make this header compile.)
331 kx # We check for pthread_join because it is in -lpthread on IRIX
331 kx # while pthread_create is in libc. We check for pthread_attr_init
331 kx # due to DEC craziness with -lpthreads. We check for
331 kx # pthread_cleanup_push because it is one of the few pthread
331 kx # functions on Solaris that doesn't have a non-functional libc stub.
331 kx # We try pthread_create on general principles.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <pthread.h>
331 kx int
331 kx main (void)
331 kx {
331 kx pthread_t th; pthread_join(th, 0);
331 kx pthread_attr_init(0); pthread_cleanup_push(0, 0);
331 kx pthread_create(0,0,0,0); pthread_cleanup_pop(0);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx acx_pthread_ok=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx
331 kx LIBS="$save_LIBS"
331 kx CFLAGS="$save_CFLAGS"
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
331 kx printf "%s\n" "$acx_pthread_ok" >&6; }
331 kx if test "x$acx_pthread_ok" = xyes; then
331 kx break;
331 kx fi
331 kx
331 kx PTHREAD_LIBS=""
331 kx PTHREAD_CFLAGS=""
331 kx done
331 kx fi
331 kx
331 kx # Various other checks:
331 kx if test "x$acx_pthread_ok" = xyes; then
331 kx save_LIBS="$LIBS"
331 kx LIBS="$PTHREAD_LIBS $LIBS"
331 kx save_CFLAGS="$CFLAGS"
331 kx CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
331 kx
331 kx # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
331 kx printf %s "checking for joinable pthread attribute... " >&6; }
331 kx attr_name=unknown
331 kx for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <pthread.h>
331 kx int
331 kx main (void)
331 kx {
331 kx int attr=$attr; return attr;
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx attr_name=$attr; break
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx done
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
331 kx printf "%s\n" "$attr_name" >&6; }
331 kx if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
331 kx
331 kx printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $attr_name" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
331 kx printf %s "checking if more special flags are required for pthreads... " >&6; }
331 kx flag=no
331 kx case "${host_cpu}-${host_os}" in
331 kx *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
331 kx *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
331 kx esac
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
331 kx printf "%s\n" "${flag}" >&6; }
331 kx if test "x$flag" != xno; then
331 kx PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
331 kx fi
331 kx
331 kx LIBS="$save_LIBS"
331 kx CFLAGS="$save_CFLAGS"
331 kx # More AIX lossage: must compile with xlc_r or cc_r
331 kx if test x"$GCC" != xyes; then
331 kx for ac_prog in xlc_r cc_r
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_PTHREAD_CC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$PTHREAD_CC"; then
331 kx ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_PTHREAD_CC="$ac_prog"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx fi
331 kx fi
331 kx PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
331 kx if test -n "$PTHREAD_CC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
331 kx printf "%s\n" "$PTHREAD_CC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$PTHREAD_CC" && break
331 kx done
331 kx test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
331 kx
331 kx else
331 kx PTHREAD_CC=$CC
331 kx fi
331 kx
331 kx # The next part tries to detect GCC inconsistency with -shared on some
331 kx # architectures and systems. The problem is that in certain
331 kx # configurations, when -shared is specified, GCC "forgets" to
331 kx # internally use various flags which are still necessary.
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to check for GCC pthread/shared inconsistencies" >&5
331 kx printf %s "checking whether to check for GCC pthread/shared inconsistencies... " >&6; }
331 kx check_inconsistencies=yes
331 kx case "${host_cpu}-${host_os}" in
331 kx *-darwin*) check_inconsistencies=no ;;
331 kx esac
331 kx if test x"$GCC" != xyes -o "x$check_inconsistencies" != xyes ; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx # In order not to create several levels of indentation, we test
331 kx # the value of "$ok" until we find out the cure or run out of
331 kx # ideas.
331 kx ok="no"
331 kx
331 kx #
331 kx # Prepare the flags
331 kx #
331 kx save_CFLAGS="$CFLAGS"
331 kx save_LIBS="$LIBS"
331 kx save_CC="$CC"
331 kx # Try with the flags determined by the earlier checks.
331 kx #
331 kx # -Wl,-z,defs forces link-time symbol resolution, so that the
331 kx # linking checks with -shared actually have any value
331 kx #
331 kx # FIXME: -fPIC is required for -shared on many architectures,
331 kx # so we specify it here, but the right way would probably be to
331 kx # properly detect whether it is actually required.
331 kx CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS"
331 kx LIBS="$PTHREAD_LIBS $LIBS"
331 kx CC="$PTHREAD_CC"
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -pthread is sufficient with -shared" >&5
331 kx printf %s "checking whether -pthread is sufficient with -shared... " >&6; }
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <pthread.h>
331 kx int
331 kx main (void)
331 kx {
331 kx pthread_t th; pthread_join(th, 0);
331 kx pthread_attr_init(0); pthread_cleanup_push(0, 0);
331 kx pthread_create(0,0,0,0); pthread_cleanup_pop(0);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ok=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx
331 kx if test "x$ok" = xyes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx #
331 kx # Linux gcc on some architectures such as mips/mipsel forgets
331 kx # about -lpthread
331 kx #
331 kx if test x"$ok" = xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lpthread fixes that" >&5
331 kx printf %s "checking whether -lpthread fixes that... " >&6; }
331 kx LIBS="-lpthread $PTHREAD_LIBS $save_LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <pthread.h>
331 kx int
331 kx main (void)
331 kx {
331 kx pthread_t th; pthread_join(th, 0);
331 kx pthread_attr_init(0); pthread_cleanup_push(0, 0);
331 kx pthread_create(0,0,0,0); pthread_cleanup_pop(0);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ok=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx
331 kx if test "x$ok" = xyes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx PTHREAD_LIBS="-lpthread $PTHREAD_LIBS"
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx fi
331 kx #
331 kx # FreeBSD 4.10 gcc forgets to use -lc_r instead of -lc
331 kx #
331 kx if test x"$ok" = xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc_r fixes that" >&5
331 kx printf %s "checking whether -lc_r fixes that... " >&6; }
331 kx LIBS="-lc_r $PTHREAD_LIBS $save_LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <pthread.h>
331 kx int
331 kx main (void)
331 kx {
331 kx pthread_t th; pthread_join(th, 0);
331 kx pthread_attr_init(0); pthread_cleanup_push(0, 0);
331 kx pthread_create(0,0,0,0); pthread_cleanup_pop(0);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ok=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx
331 kx if test "x$ok" = xyes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx PTHREAD_LIBS="-lc_r $PTHREAD_LIBS"
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx fi
331 kx if test x"$ok" = xno; then
331 kx # OK, we have run out of ideas
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
331 kx printf "%s\n" "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
331 kx
331 kx # so it's not safe to assume that we may use pthreads
331 kx acx_pthread_ok=no
331 kx fi
331 kx
331 kx CFLAGS="$save_CFLAGS"
331 kx LIBS="$save_LIBS"
331 kx CC="$save_CC"
331 kx fi
331 kx else
331 kx PTHREAD_CC="$CC"
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
331 kx if test x"$acx_pthread_ok" = xyes; then
331 kx
331 kx printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
331 kx
331 kx :
331 kx else
331 kx acx_pthread_ok=no
331 kx as_fn_error $? "Missing POSIX Threads support" "$LINENO" 5
331 kx fi
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx
331 kx #
331 kx # Check for netlink.h
331 kx #
331 kx ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" "
331 kx #include <sys/socket.h>
331 kx #include <asm/types.h>
331 kx
331 kx "
331 kx if test "x$ac_cv_header_linux_netlink_h" = xyes
331 kx then :
331 kx HAVE_NETLINK=yes
331 kx
331 kx printf "%s\n" "#define HAVE_NETLINK /**/" >>confdefs.h
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx if test x"$HAVE_NETLINK" = xyes ; then
331 kx HAVE_NETLINK_TRUE=
331 kx HAVE_NETLINK_FALSE='#'
331 kx else
331 kx HAVE_NETLINK_TRUE='#'
331 kx HAVE_NETLINK_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for net/route.h
331 kx #
331 kx ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "
331 kx #include <sys/types.h>
331 kx #include <sys/socket.h>
331 kx #include <net/if_dl.h>
331 kx
331 kx "
331 kx if test "x$ac_cv_header_net_route_h" = xyes
331 kx then :
331 kx HAVE_PF_ROUTE=yes
331 kx
331 kx printf "%s\n" "#define HAVE_PF_ROUTE /**/" >>confdefs.h
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx if test x"$HAVE_PF_ROUTE" = xyes ; then
331 kx HAVE_PF_ROUTE_TRUE=
331 kx HAVE_PF_ROUTE_FALSE='#'
331 kx else
331 kx HAVE_PF_ROUTE_TRUE='#'
331 kx HAVE_PF_ROUTE_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for sys/filio.h; needed for FIONREAD on Solaris
331 kx #
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "
331 kx
331 kx "
331 kx if test "x$ac_cv_header_sys_filio_h" = xyes
331 kx then :
331 kx HAVE_SYS_FILIO_H=yes
331 kx
331 kx printf "%s\n" "#define HAVE_SYS_FILIO_H /**/" >>confdefs.h
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx if test x"$HAVE_SYS_FILIO_H" = xyes ; then
331 kx HAVE_SYS_FILIO_H_TRUE=
331 kx HAVE_SYS_FILIO_H_FALSE='#'
331 kx else
331 kx HAVE_SYS_FILIO_H_TRUE='#'
331 kx HAVE_SYS_FILIO_H_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for sys/sysctl.h; not present on Solaris
331 kx #
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "
331 kx #include <sys/types.h>
331 kx #include <sys/socket.h>
331 kx #include <sys/param.h>
331 kx
331 kx "
331 kx if test "x$ac_cv_header_sys_sysctl_h" = xyes
331 kx then :
331 kx HAVE_SYS_SYSCTL=yes
331 kx
331 kx printf "%s\n" "#define HAVE_SYS_SYSCTL_H /**/" >>confdefs.h
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx if test x"$HAVE_SYS_SYSCTL_H" = xyes ; then
331 kx HAVE_SYS_SYSCTL_H_TRUE=
331 kx HAVE_SYS_SYSCTL_H_FALSE='#'
331 kx else
331 kx HAVE_SYS_SYSCTL_H_TRUE='#'
331 kx HAVE_SYS_SYSCTL_H_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for lifconf struct; only present on Solaris
331 kx #
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct lifconf" >&5
331 kx printf %s "checking for struct lifconf... " >&6; }
331 kx if test ${avahi_cv_has_struct_lifconf+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <sys/socket.h>
331 kx #include <net/if.h>
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx sizeof (struct lifconf);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx avahi_cv_has_struct_lifconf=yes
331 kx else $as_nop
331 kx avahi_cv_has_struct_lifconf=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $avahi_cv_has_struct_lifconf" >&5
331 kx printf "%s\n" "$avahi_cv_has_struct_lifconf" >&6; }
331 kx if test $avahi_cv_has_struct_lifconf = yes; then
331 kx
331 kx printf "%s\n" "#define HAVE_STRUCT_LIFCONF 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx #
331 kx # Check for struct ip_mreqn
331 kx #
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct ip_mreqn" >&5
331 kx printf %s "checking for struct ip_mreqn... " >&6; }
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <netinet/in.h>
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx struct ip_mreqn mreq;
331 kx mreq.imr_address.s_addr = 0;
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx
331 kx # Yes, we have it...
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx printf "%s\n" "#define HAVE_STRUCT_IP_MREQN /**/" >>confdefs.h
331 kx
331 kx
331 kx else $as_nop
331 kx
331 kx # We'll just have to try and use struct ip_mreq
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct ip_mreq" >&5
331 kx printf %s "checking for struct ip_mreq... " >&6; }
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <netinet/in.h>
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx struct ip_mreq mreq;
331 kx mreq.imr_interface.s_addr = 0;
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx
331 kx # Yes, we have it...
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx printf "%s\n" "#define HAVE_STRUCT_IP_MREQ /**/" >>confdefs.h
331 kx
331 kx
331 kx else $as_nop
331 kx
331 kx # No multicast support
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx
331 kx #
331 kx # Detecting the linux distribution for specific things like init scripts.
331 kx #
331 kx
331 kx # Check whether --with-distro was given.
331 kx if test ${with_distro+y}
331 kx then :
331 kx withval=$with_distro;
331 kx fi
331 kx
331 kx if test "z$with_distro" = "z"; then
331 kx if test "$cross_compiling" = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&5
331 kx printf "%s\n" "$as_me: WARNING: Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)" >&2;}
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/lfs-release" >&5
331 kx printf %s "checking for /etc/lfs-release... " >&6; }
331 kx if test ${ac_cv_file__etc_lfs_release+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/lfs-release"; then
331 kx ac_cv_file__etc_lfs_release=yes
331 kx else
331 kx ac_cv_file__etc_lfs_release=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_lfs_release" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_lfs_release" >&6; }
331 kx if test "x$ac_cv_file__etc_lfs_release" = xyes
331 kx then :
331 kx with_distro="lfs"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/SuSE-release" >&5
331 kx printf %s "checking for /etc/SuSE-release... " >&6; }
331 kx if test ${ac_cv_file__etc_SuSE_release+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/SuSE-release"; then
331 kx ac_cv_file__etc_SuSE_release=yes
331 kx else
331 kx ac_cv_file__etc_SuSE_release=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_SuSE_release" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_SuSE_release" >&6; }
331 kx if test "x$ac_cv_file__etc_SuSE_release" = xyes
331 kx then :
331 kx with_distro="suse"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/gentoo-release" >&5
331 kx printf %s "checking for /etc/gentoo-release... " >&6; }
331 kx if test ${ac_cv_file__etc_gentoo_release+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/gentoo-release"; then
331 kx ac_cv_file__etc_gentoo_release=yes
331 kx else
331 kx ac_cv_file__etc_gentoo_release=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_gentoo_release" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_gentoo_release" >&6; }
331 kx if test "x$ac_cv_file__etc_gentoo_release" = xyes
331 kx then :
331 kx with_distro="gentoo"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/arch-release" >&5
331 kx printf %s "checking for /etc/arch-release... " >&6; }
331 kx if test ${ac_cv_file__etc_arch_release+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/arch-release"; then
331 kx ac_cv_file__etc_arch_release=yes
331 kx else
331 kx ac_cv_file__etc_arch_release=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_arch_release" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_arch_release" >&6; }
331 kx if test "x$ac_cv_file__etc_arch_release" = xyes
331 kx then :
331 kx with_distro="archlinux"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/debian_version" >&5
331 kx printf %s "checking for /etc/debian_version... " >&6; }
331 kx if test ${ac_cv_file__etc_debian_version+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/debian_version"; then
331 kx ac_cv_file__etc_debian_version=yes
331 kx else
331 kx ac_cv_file__etc_debian_version=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_debian_version" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_debian_version" >&6; }
331 kx if test "x$ac_cv_file__etc_debian_version" = xyes
331 kx then :
331 kx with_distro="debian"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/redhat-release" >&5
331 kx printf %s "checking for /etc/redhat-release... " >&6; }
331 kx if test ${ac_cv_file__etc_redhat_release+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/redhat-release"; then
331 kx ac_cv_file__etc_redhat_release=yes
331 kx else
331 kx ac_cv_file__etc_redhat_release=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_redhat_release" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_redhat_release" >&6; }
331 kx if test "x$ac_cv_file__etc_redhat_release" = xyes
331 kx then :
331 kx with_distro="fedora"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/mandriva-release" >&5
331 kx printf %s "checking for /etc/mandriva-release... " >&6; }
331 kx if test ${ac_cv_file__etc_mandriva_release+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/mandriva-release"; then
331 kx ac_cv_file__etc_mandriva_release=yes
331 kx else
331 kx ac_cv_file__etc_mandriva_release=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_mandriva_release" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_mandriva_release" >&6; }
331 kx if test "x$ac_cv_file__etc_mandriva_release" = xyes
331 kx then :
331 kx with_distro="mandriva"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/slackware-version" >&5
331 kx printf %s "checking for /etc/slackware-version... " >&6; }
331 kx if test ${ac_cv_file__etc_slackware_version+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/slackware-version"; then
331 kx ac_cv_file__etc_slackware_version=yes
331 kx else
331 kx ac_cv_file__etc_slackware_version=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_slackware_version" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_slackware_version" >&6; }
331 kx if test "x$ac_cv_file__etc_slackware_version" = xyes
331 kx then :
331 kx with_distro="slackware"
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /etc/radix-version" >&5
331 kx printf %s "checking for /etc/radix-version... " >&6; }
331 kx if test ${ac_cv_file__etc_radix_version+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx test "$cross_compiling" = yes &&
331 kx as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
331 kx if test -r "/etc/radix-version"; then
331 kx ac_cv_file__etc_radix_version=yes
331 kx else
331 kx ac_cv_file__etc_radix_version=no
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__etc_radix_version" >&5
331 kx printf "%s\n" "$ac_cv_file__etc_radix_version" >&6; }
331 kx if test "x$ac_cv_file__etc_radix_version" = xyes
331 kx then :
331 kx with_distro="radix"
331 kx fi
331 kx
331 kx fi
331 kx if test "z$with_distro" = "z"; then
331 kx with_distro=`uname -s`
331 kx fi
331 kx fi
331 kx with_distro=`echo ${with_distro} | tr '[:upper:]' '[:lower:]' `
331 kx
331 kx case $with_distro in
331 kx lfs|debian|gentoo|archlinux|suse|fedora|mandriva|darwin|freebsd|slackware|radix|none)
331 kx ;;
331 kx netbsd)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&5
331 kx printf "%s\n" "$as_me: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&2;}
331 kx ;;
331 kx linux)
331 kx as_fn_error $? "Linux distribution autodetection failed, you must specify the distribution to target using --with-distro=DISTRO, set DISTRO to none if your distribution is not supported." "$LINENO" 5
331 kx ;;
331 kx *)
331 kx as_fn_error $? "Your distribution (${with_distro}) is not yet supported, init scripts and D-Bus configuration will not be installed! (patches welcome), you can specify --with-distro=none to skip this check" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx if test x"$with_distro" = xlfs; then
331 kx TARGET_LFS_TRUE=
331 kx TARGET_LFS_FALSE='#'
331 kx else
331 kx TARGET_LFS_TRUE='#'
331 kx TARGET_LFS_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xsuse; then
331 kx TARGET_SUSE_TRUE=
331 kx TARGET_SUSE_FALSE='#'
331 kx else
331 kx TARGET_SUSE_TRUE='#'
331 kx TARGET_SUSE_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xgentoo; then
331 kx TARGET_GENTOO_TRUE=
331 kx TARGET_GENTOO_FALSE='#'
331 kx else
331 kx TARGET_GENTOO_TRUE='#'
331 kx TARGET_GENTOO_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xdebian; then
331 kx TARGET_DEBIAN_TRUE=
331 kx TARGET_DEBIAN_FALSE='#'
331 kx else
331 kx TARGET_DEBIAN_TRUE='#'
331 kx TARGET_DEBIAN_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xarchlinux; then
331 kx TARGET_ARCHLINUX_TRUE=
331 kx TARGET_ARCHLINUX_FALSE='#'
331 kx else
331 kx TARGET_ARCHLINUX_TRUE='#'
331 kx TARGET_ARCHLINUX_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xfedora; then
331 kx TARGET_FEDORA_TRUE=
331 kx TARGET_FEDORA_FALSE='#'
331 kx else
331 kx TARGET_FEDORA_TRUE='#'
331 kx TARGET_FEDORA_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xmandriva; then
331 kx TARGET_MANDRIVA_TRUE=
331 kx TARGET_MANDRIVA_FALSE='#'
331 kx else
331 kx TARGET_MANDRIVA_TRUE='#'
331 kx TARGET_MANDRIVA_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xdarwin; then
331 kx TARGET_DARWIN_TRUE=
331 kx TARGET_DARWIN_FALSE='#'
331 kx else
331 kx TARGET_DARWIN_TRUE='#'
331 kx TARGET_DARWIN_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xnetbsd; then
331 kx TARGET_NETBSD_TRUE=
331 kx TARGET_NETBSD_FALSE='#'
331 kx else
331 kx TARGET_NETBSD_TRUE='#'
331 kx TARGET_NETBSD_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xfreebsd; then
331 kx TARGET_FREEBSD_TRUE=
331 kx TARGET_FREEBSD_FALSE='#'
331 kx else
331 kx TARGET_FREEBSD_TRUE='#'
331 kx TARGET_FREEBSD_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xslackware; then
331 kx TARGET_SLACKWARE_TRUE=
331 kx TARGET_SLACKWARE_FALSE='#'
331 kx else
331 kx TARGET_SLACKWARE_TRUE='#'
331 kx TARGET_SLACKWARE_FALSE=
331 kx fi
331 kx
331 kx if test x"$with_distro" = xradix; then
331 kx TARGET_RADIX_TRUE=
331 kx TARGET_RADIX_FALSE='#'
331 kx else
331 kx TARGET_RADIX_TRUE='#'
331 kx TARGET_RADIX_FALSE=
331 kx fi
331 kx
331 kx
331 kx test_gcc_flag() {
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx int main() {}
331 kx _ACEOF
331 kx $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null
331 kx ret=$?
331 kx rm -f conftest.o
331 kx return $ret
331 kx }
331 kx
331 kx # If using GCC specify some additional parameters
331 kx if test "x$GCC" = "xyes" ; then
331 kx
331 kx DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual -fno-strict-aliasing"
331 kx
331 kx if test "x$HAVE_NETLINK" = "xyes" ; then
331 kx # Test whether rtnetlink.h can be included when compiled with -std=c99
331 kx # some distributions (e.g. archlinux) have broken headers that dont
331 kx # define __u64 with -std=c99
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking checking whether rtnetlink.h can be included with -std=c99" >&5
331 kx printf %s "checking checking whether rtnetlink.h can be included with -std=c99... " >&6; }
331 kx OLDCFLAGS="$CFLAGS"
331 kx CFLAGS="-std=c99"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <linux/rtnetlink.h>
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx use_stdc99=yes
331 kx else $as_nop
331 kx use_stdc99=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx
331 kx if test x"$use_stdc99" = xyes; then
331 kx DESIRED_FLAGS="-std=c99 $DESIRED_FLAGS"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx CFLAGS="$OLDCFLAGS"
331 kx else
331 kx DESIRED_FLAGS="-std=c99 $DESIRED_FLAGS"
331 kx fi
331 kx
331 kx for flag in $DESIRED_FLAGS ; do
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $flag" >&5
331 kx printf %s "checking whether $CC accepts $flag... " >&6; }
331 kx if test_gcc_flag $flag ; then
331 kx CFLAGS="$CFLAGS $flag"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx done
331 kx fi
331 kx
331 kx # Checks for header files.
331 kx # Autoupdate added the next two lines to ensure that your configure
331 kx # script's behavior did not change. They are probably safe to remove.
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
331 kx printf %s "checking for egrep... " >&6; }
331 kx if test ${ac_cv_path_EGREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
331 kx then ac_cv_path_EGREP="$GREP -E"
331 kx else
331 kx if test -z "$EGREP"; then
331 kx ac_path_EGREP_found=false
331 kx # Loop through the user's path and test for each of PROGNAME-LIST
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_prog in egrep
331 kx do
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
331 kx as_fn_executable_p "$ac_path_EGREP" || continue
331 kx # Check for GNU ac_path_EGREP and select it if it is found.
331 kx # Check for GNU $ac_path_EGREP
331 kx case `"$ac_path_EGREP" --version 2>&1` in
331 kx *GNU*)
331 kx ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
331 kx *)
331 kx ac_count=0
331 kx printf %s 0123456789 >"conftest.in"
331 kx while :
331 kx do
331 kx cat "conftest.in" "conftest.in" >"conftest.tmp"
331 kx mv "conftest.tmp" "conftest.in"
331 kx cp "conftest.in" "conftest.nl"
331 kx printf "%s\n" 'EGREP' >> "conftest.nl"
331 kx "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
331 kx diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
331 kx as_fn_arith $ac_count + 1 && ac_count=$as_val
331 kx if test $ac_count -gt ${ac_path_EGREP_max-0}; then
331 kx # Best one so far, save it but keep looking for a better one
331 kx ac_cv_path_EGREP="$ac_path_EGREP"
331 kx ac_path_EGREP_max=$ac_count
331 kx fi
331 kx # 10*(2^10) chars as input seems more than enough
331 kx test $ac_count -gt 10 && break
331 kx done
331 kx rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
331 kx esac
331 kx
331 kx $ac_path_EGREP_found && break 3
331 kx done
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx if test -z "$ac_cv_path_EGREP"; then
331 kx as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
331 kx fi
331 kx else
331 kx ac_cv_path_EGREP=$EGREP
331 kx fi
331 kx
331 kx fi
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
331 kx printf "%s\n" "$ac_cv_path_EGREP" >&6; }
331 kx EGREP="$ac_cv_path_EGREP"
331 kx
331 kx
331 kx
331 kx ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_arpa_inet_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_fcntl_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_inttypes_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_limits_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_netinet_in_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_stdlib_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_string_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_sys_ioctl_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_sys_socket_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_sys_time_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_unistd_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_netdb_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_syslog_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
331 kx if test "x$ac_cv_type__Bool" = xyes
331 kx then :
331 kx
331 kx printf "%s\n" "#define HAVE__BOOL 1" >>confdefs.h
331 kx
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
331 kx printf %s "checking for stdbool.h that conforms to C99... " >&6; }
331 kx if test ${ac_cv_header_stdbool_h+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <stdbool.h>
331 kx
331 kx #ifndef __bool_true_false_are_defined
331 kx #error "__bool_true_false_are_defined is not defined"
331 kx #endif
331 kx char a[__bool_true_false_are_defined == 1 ? 1 : -1];
331 kx
331 kx /* Regardless of whether this is C++ or "_Bool" is a
331 kx valid type name, "true" and "false" should be usable
331 kx in #if expressions and integer constant expressions,
331 kx and "bool" should be a valid type name. */
331 kx
331 kx #if !true
331 kx #error "'true' is not true"
331 kx #endif
331 kx #if true != 1
331 kx #error "'true' is not equal to 1"
331 kx #endif
331 kx char b[true == 1 ? 1 : -1];
331 kx char c[true];
331 kx
331 kx #if false
331 kx #error "'false' is not false"
331 kx #endif
331 kx #if false != 0
331 kx #error "'false' is not equal to 0"
331 kx #endif
331 kx char d[false == 0 ? 1 : -1];
331 kx
331 kx enum { e = false, f = true, g = false * true, h = true * 256 };
331 kx
331 kx char i[(bool) 0.5 == true ? 1 : -1];
331 kx char j[(bool) 0.0 == false ? 1 : -1];
331 kx char k[sizeof (bool) > 0 ? 1 : -1];
331 kx
331 kx struct sb { bool s: 1; bool t; } s;
331 kx char l[sizeof s.t > 0 ? 1 : -1];
331 kx
331 kx /* The following fails for
331 kx HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
331 kx bool m[h];
331 kx char n[sizeof m == h * sizeof m[0] ? 1 : -1];
331 kx char o[-1 - (bool) 0 < 0 ? 1 : -1];
331 kx /* Catch a bug in an HP-UX C compiler. See
331 kx https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
331 kx https://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
331 kx */
331 kx bool p = true;
331 kx bool *pp = &p;
331 kx
331 kx /* C 1999 specifies that bool, true, and false are to be
331 kx macros, but C++ 2011 and later overrule this. */
331 kx #if __cplusplus < 201103
331 kx #ifndef bool
331 kx #error "bool is not defined"
331 kx #endif
331 kx #ifndef false
331 kx #error "false is not defined"
331 kx #endif
331 kx #ifndef true
331 kx #error "true is not defined"
331 kx #endif
331 kx #endif
331 kx
331 kx /* If _Bool is available, repeat with it all the tests
331 kx above that used bool. */
331 kx #ifdef HAVE__BOOL
331 kx struct sB { _Bool s: 1; _Bool t; } t;
331 kx
331 kx char q[(_Bool) 0.5 == true ? 1 : -1];
331 kx char r[(_Bool) 0.0 == false ? 1 : -1];
331 kx char u[sizeof (_Bool) > 0 ? 1 : -1];
331 kx char v[sizeof t.t > 0 ? 1 : -1];
331 kx
331 kx _Bool w[h];
331 kx char x[sizeof m == h * sizeof m[0] ? 1 : -1];
331 kx char y[-1 - (_Bool) 0 < 0 ? 1 : -1];
331 kx _Bool z = true;
331 kx _Bool *pz = &p;
331 kx #endif
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx bool ps = &s;
331 kx *pp |= p;
331 kx *pp |= ! p;
331 kx
331 kx #ifdef HAVE__BOOL
331 kx _Bool pt = &t;
331 kx *pz |= z;
331 kx *pz |= ! z;
331 kx #endif
331 kx
331 kx /* Refer to every declared value, so they cannot be
331 kx discarded as unused. */
331 kx return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
331 kx + !l + !m + !n + !o + !p + !pp + !ps
331 kx #ifdef HAVE__BOOL
331 kx + !q + !r + !u + !v + !w + !x + !y + !z + !pt
331 kx #endif
331 kx );
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_header_stdbool_h=yes
331 kx else $as_nop
331 kx ac_cv_header_stdbool_h=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
331 kx printf "%s\n" "$ac_cv_header_stdbool_h" >&6; }
331 kx
331 kx if test $ac_cv_header_stdbool_h = yes; then
331 kx
331 kx printf "%s\n" "#define HAVE_STDBOOL_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx
331 kx # Checks for typedefs, structures, and compiler characteristics.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
331 kx printf %s "checking for an ANSI C-conforming const... " >&6; }
331 kx if test ${ac_cv_c_const+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx #ifndef __cplusplus
331 kx /* Ultrix mips cc rejects this sort of thing. */
331 kx typedef int charset[2];
331 kx const charset cs = { 0, 0 };
331 kx /* SunOS 4.1.1 cc rejects this. */
331 kx char const *const *pcpcc;
331 kx char **ppc;
331 kx /* NEC SVR4.0.2 mips cc rejects this. */
331 kx struct point {int x, y;};
331 kx static struct point const zero = {0,0};
331 kx /* IBM XL C 1.02.0.0 rejects this.
331 kx It does not let you subtract one const X* pointer from another in
331 kx an arm of an if-expression whose if-part is not a constant
331 kx expression */
331 kx const char *g = "string";
331 kx pcpcc = &g + (g ? g-g : 0);
331 kx /* HPUX 7.0 cc rejects these. */
331 kx ++pcpcc;
331 kx ppc = (char**) pcpcc;
331 kx pcpcc = (char const *const *) ppc;
331 kx { /* SCO 3.2v4 cc rejects this sort of thing. */
331 kx char tx;
331 kx char *t = &tx;
331 kx char const *s = 0 ? (char *) 0 : (char const *) 0;
331 kx
331 kx *t++ = 0;
331 kx if (s) return 0;
331 kx }
331 kx { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
331 kx int x[] = {25, 17};
331 kx const int *foo = &x[0];
331 kx ++foo;
331 kx }
331 kx { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
331 kx typedef const int *iptr;
331 kx iptr p = 0;
331 kx ++p;
331 kx }
331 kx { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
331 kx "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
331 kx struct s { int j; const int *ap[3]; } bx;
331 kx struct s *b = &bx; b->j = 5;
331 kx }
331 kx { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
331 kx const int foo = 10;
331 kx if (!foo) return 0;
331 kx }
331 kx return !cs[0] && !zero.x;
331 kx #endif
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_c_const=yes
331 kx else $as_nop
331 kx ac_cv_c_const=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
331 kx printf "%s\n" "$ac_cv_c_const" >&6; }
331 kx if test $ac_cv_c_const = no; then
331 kx
331 kx printf "%s\n" "#define const /**/" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
331 kx if test "x$ac_cv_type_size_t" = xyes
331 kx then :
331 kx
331 kx else $as_nop
331 kx
331 kx printf "%s\n" "#define size_t unsigned int" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx
331 kx
331 kx # Obsolete code to be removed.
331 kx if test $ac_cv_header_sys_time_h = yes; then
331 kx
331 kx printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
331 kx
331 kx fi
331 kx # End of obsolete code.
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
331 kx printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
331 kx if test ${ac_cv_header_sys_wait_h+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <sys/types.h>
331 kx #include <sys/wait.h>
331 kx #ifndef WEXITSTATUS
331 kx # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
331 kx #endif
331 kx #ifndef WIFEXITED
331 kx # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
331 kx #endif
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx int s;
331 kx wait (&s);
331 kx s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_header_sys_wait_h=yes
331 kx else $as_nop
331 kx ac_cv_header_sys_wait_h=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
331 kx printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; }
331 kx if test $ac_cv_header_sys_wait_h = yes; then
331 kx
331 kx printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx
331 kx # Solaris stuff
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
331 kx printf %s "checking for library containing inet_ntop... " >&6; }
331 kx if test ${ac_cv_search_inet_ntop+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_func_search_save_LIBS=$LIBS
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char inet_ntop ();
331 kx int
331 kx main (void)
331 kx {
331 kx return inet_ntop ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx for ac_lib in '' nsl
331 kx do
331 kx if test -z "$ac_lib"; then
331 kx ac_res="none required"
331 kx else
331 kx ac_res=-l$ac_lib
331 kx LIBS="-l$ac_lib $ac_func_search_save_LIBS"
331 kx fi
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_search_inet_ntop=$ac_res
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext
331 kx if test ${ac_cv_search_inet_ntop+y}
331 kx then :
331 kx break
331 kx fi
331 kx done
331 kx if test ${ac_cv_search_inet_ntop+y}
331 kx then :
331 kx
331 kx else $as_nop
331 kx ac_cv_search_inet_ntop=no
331 kx fi
331 kx rm conftest.$ac_ext
331 kx LIBS=$ac_func_search_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
331 kx printf "%s\n" "$ac_cv_search_inet_ntop" >&6; }
331 kx ac_res=$ac_cv_search_inet_ntop
331 kx if test "$ac_res" != no
331 kx then :
331 kx test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing recv" >&5
331 kx printf %s "checking for library containing recv... " >&6; }
331 kx if test ${ac_cv_search_recv+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_func_search_save_LIBS=$LIBS
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char recv ();
331 kx int
331 kx main (void)
331 kx {
331 kx return recv ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx for ac_lib in '' socket
331 kx do
331 kx if test -z "$ac_lib"; then
331 kx ac_res="none required"
331 kx else
331 kx ac_res=-l$ac_lib
331 kx LIBS="-l$ac_lib $ac_func_search_save_LIBS"
331 kx fi
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_search_recv=$ac_res
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext
331 kx if test ${ac_cv_search_recv+y}
331 kx then :
331 kx break
331 kx fi
331 kx done
331 kx if test ${ac_cv_search_recv+y}
331 kx then :
331 kx
331 kx else $as_nop
331 kx ac_cv_search_recv=no
331 kx fi
331 kx rm conftest.$ac_ext
331 kx LIBS=$ac_func_search_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_recv" >&5
331 kx printf "%s\n" "$ac_cv_search_recv" >&6; }
331 kx ac_res=$ac_cv_search_recv
331 kx if test "$ac_res" != no
331 kx then :
331 kx test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
331 kx printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
331 kx if test ${ac_cv_c_undeclared_builtin_options+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_save_CFLAGS=$CFLAGS
331 kx ac_cv_c_undeclared_builtin_options='cannot detect'
331 kx for ac_arg in '' -fno-builtin; do
331 kx CFLAGS="$ac_save_CFLAGS $ac_arg"
331 kx # This test program should *not* compile successfully.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx (void) strchr;
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx # This test program should compile successfully.
331 kx # No library function is consistently available on
331 kx # freestanding implementations, so test against a dummy
331 kx # declaration. Include always-available headers on the
331 kx # off chance that they somehow elicit warnings.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <float.h>
331 kx #include <limits.h>
331 kx #include <stdarg.h>
331 kx #include <stddef.h>
331 kx extern void ac_decl (int, char *);
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx (void) ac_decl (0, (char *) 0);
331 kx (void) ac_decl;
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx if test x"$ac_arg" = x
331 kx then :
331 kx ac_cv_c_undeclared_builtin_options='none needed'
331 kx else $as_nop
331 kx ac_cv_c_undeclared_builtin_options=$ac_arg
331 kx fi
331 kx break
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx done
331 kx CFLAGS=$ac_save_CFLAGS
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
331 kx printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
331 kx case $ac_cv_c_undeclared_builtin_options in #(
331 kx 'cannot detect') :
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "cannot make $CC report undeclared builtins
331 kx See \`config.log' for more details" "$LINENO" 5; } ;; #(
331 kx 'none needed') :
331 kx ac_c_undeclared_builtin_options='' ;; #(
331 kx *) :
331 kx ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
331 kx esac
331 kx
331 kx ac_fn_check_decl "$LINENO" "CMSG_SPACE" "ac_cv_have_decl_CMSG_SPACE" "#include <sys/socket.h>
331 kx " "$ac_c_undeclared_builtin_options" "CFLAGS"
331 kx if test "x$ac_cv_have_decl_CMSG_SPACE" = xyes
331 kx then :
331 kx
331 kx else $as_nop
331 kx CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
331 kx fi
331 kx
331 kx # Checks for library functions.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
331 kx printf %s "checking for working memcmp... " >&6; }
331 kx if test ${ac_cv_func_memcmp_working+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test "$cross_compiling" = yes
331 kx then :
331 kx ac_cv_func_memcmp_working=no
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_includes_default
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx /* Some versions of memcmp are not 8-bit clean. */
331 kx char c0 = '\100', c1 = '\200', c2 = '\201';
331 kx if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
331 kx return 1;
331 kx
331 kx /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
331 kx or more and with at least one buffer not starting on a 4-byte boundary.
331 kx William Lewis provided this test program. */
331 kx {
331 kx char foo[21];
331 kx char bar[21];
331 kx int i;
331 kx for (i = 0; i < 4; i++)
331 kx {
331 kx char *a = foo + i;
331 kx char *b = bar + i;
331 kx strcpy (a, "--------01111111");
331 kx strcpy (b, "--------10000000");
331 kx if (memcmp (a, b, 16) >= 0)
331 kx return 1;
331 kx }
331 kx return 0;
331 kx }
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_run "$LINENO"
331 kx then :
331 kx ac_cv_func_memcmp_working=yes
331 kx else $as_nop
331 kx ac_cv_func_memcmp_working=no
331 kx fi
331 kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
331 kx conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
331 kx printf "%s\n" "$ac_cv_func_memcmp_working" >&6; }
331 kx test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
331 kx *" memcmp.$ac_objext "* ) ;;
331 kx *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
331 kx printf %s "checking types of arguments for select... " >&6; }
331 kx if test ${ac_cv_func_select_args+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_cv_func_select_args='int,int *,struct timeval *'
331 kx for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
331 kx for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
331 kx for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_includes_default
331 kx #ifdef HAVE_SYS_SELECT_H
331 kx # include <sys/select.h>
331 kx #endif
331 kx #ifdef HAVE_SYS_SOCKET_H
331 kx # include <sys/socket.h>
331 kx #endif
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx extern int select ($ac_arg1,
331 kx $ac_arg234, $ac_arg234, $ac_arg234,
331 kx $ac_arg5);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx done
331 kx done
331 kx done
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
331 kx printf "%s\n" "$ac_cv_func_select_args" >&6; }
331 kx ac_save_IFS=$IFS; IFS=','
331 kx set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
331 kx IFS=$ac_save_IFS
331 kx shift
331 kx
331 kx printf "%s\n" "#define SELECT_TYPE_ARG1 $1" >>confdefs.h
331 kx
331 kx
331 kx printf "%s\n" "#define SELECT_TYPE_ARG234 ($2)" >>confdefs.h
331 kx
331 kx
331 kx printf "%s\n" "#define SELECT_TYPE_ARG5 ($3)" >>confdefs.h
331 kx
331 kx rm -rf conftest*
331 kx
331 kx # avahi_malloc actually returns NULL for avahi_malloc(0), so it does not matter
331 kx # whether libc's malloc does too. (Same for realloc.)
331 kx #AC_FUNC_MALLOC
331 kx #AC_FUNC_REALLOC
331 kx ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
331 kx if test "x$ac_cv_func_gethostname" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "memchr" "ac_cv_func_memchr"
331 kx if test "x$ac_cv_func_memchr" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_MEMCHR 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
331 kx if test "x$ac_cv_func_memmove" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
331 kx if test "x$ac_cv_func_memset" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir"
331 kx if test "x$ac_cv_func_mkdir" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_MKDIR 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select"
331 kx if test "x$ac_cv_func_select" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
331 kx if test "x$ac_cv_func_socket" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SOCKET 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
331 kx if test "x$ac_cv_func_strchr" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
331 kx if test "x$ac_cv_func_strcspn" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRCSPN 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
331 kx if test "x$ac_cv_func_strdup" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRDUP 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
331 kx if test "x$ac_cv_func_strerror" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
331 kx if test "x$ac_cv_func_strrchr" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
331 kx if test "x$ac_cv_func_strspn" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRSPN 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
331 kx if test "x$ac_cv_func_strstr" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRSTR 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
331 kx if test "x$ac_cv_func_uname" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_UNAME 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid"
331 kx if test "x$ac_cv_func_setresuid" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SETRESUID 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "setreuid" "ac_cv_func_setreuid"
331 kx if test "x$ac_cv_func_setreuid" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SETREUID 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "setresgid" "ac_cv_func_setresgid"
331 kx if test "x$ac_cv_func_setresgid" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SETRESGID 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "setregid" "ac_cv_func_setregid"
331 kx if test "x$ac_cv_func_setregid" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SETREGID 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
331 kx if test "x$ac_cv_func_strcasecmp" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
331 kx if test "x$ac_cv_func_gettimeofday" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv"
331 kx if test "x$ac_cv_func_putenv" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
331 kx if test "x$ac_cv_func_strncasecmp" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
331 kx if test "x$ac_cv_func_strlcpy" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
331 kx if test "x$ac_cv_func_gethostbyname" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
331 kx if test "x$ac_cv_func_seteuid" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "setegid" "ac_cv_func_setegid"
331 kx if test "x$ac_cv_func_setegid" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SETEGID 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
331 kx if test "x$ac_cv_func_setproctitle" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "getprogname" "ac_cv_func_getprogname"
331 kx if test "x$ac_cv_func_getprogname" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_GETPROGNAME 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
331 kx printf %s "checking for uid_t in sys/types.h... " >&6; }
331 kx if test ${ac_cv_type_uid_t+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <sys/types.h>
331 kx
331 kx _ACEOF
331 kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
331 kx $EGREP "uid_t" >/dev/null 2>&1
331 kx then :
331 kx ac_cv_type_uid_t=yes
331 kx else $as_nop
331 kx ac_cv_type_uid_t=no
331 kx fi
331 kx rm -rf conftest*
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
331 kx printf "%s\n" "$ac_cv_type_uid_t" >&6; }
331 kx if test $ac_cv_type_uid_t = no; then
331 kx
331 kx printf "%s\n" "#define uid_t int" >>confdefs.h
331 kx
331 kx
331 kx printf "%s\n" "#define gid_t int" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
331 kx printf %s "checking for working chown... " >&6; }
331 kx if test ${ac_cv_func_chown_works+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test "$cross_compiling" = yes
331 kx then :
331 kx case "$host_os" in # ((
331 kx # Guess yes on glibc systems.
331 kx *-gnu*) ac_cv_func_chown_works=yes ;;
331 kx # If we don't know, assume the worst.
331 kx *) ac_cv_func_chown_works=no ;;
331 kx esac
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_includes_default
331 kx #include <fcntl.h>
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx char *f = "conftest.chown";
331 kx struct stat before, after;
331 kx
331 kx if (creat (f, 0600) < 0)
331 kx return 1;
331 kx if (stat (f, &before) < 0)
331 kx return 1;
331 kx if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
331 kx return 1;
331 kx if (stat (f, &after) < 0)
331 kx return 1;
331 kx return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_run "$LINENO"
331 kx then :
331 kx ac_cv_func_chown_works=yes
331 kx else $as_nop
331 kx ac_cv_func_chown_works=no
331 kx fi
331 kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
331 kx conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx
331 kx rm -f conftest.chown
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
331 kx printf "%s\n" "$ac_cv_func_chown_works" >&6; }
331 kx if test $ac_cv_func_chown_works = yes; then
331 kx
331 kx printf "%s\n" "#define HAVE_CHOWN 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
331 kx printf %s "checking whether lstat correctly handles trailing slash... " >&6; }
331 kx if test ${ac_cv_func_lstat_dereferences_slashed_symlink+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx rm -f conftest.sym conftest.file
331 kx echo >conftest.file
331 kx if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
331 kx if test "$cross_compiling" = yes
331 kx then :
331 kx case "$host_os" in # ((
331 kx # Guess yes on glibc systems.
331 kx *-gnu*) ac_cv_func_lstat_dereferences_slashed_symlink=yes ;;
331 kx # If we don't know, assume the worst.
331 kx *) ac_cv_func_lstat_dereferences_slashed_symlink=no ;;
331 kx esac
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_includes_default
331 kx int
331 kx main (void)
331 kx {
331 kx struct stat sbuf;
331 kx /* Linux will dereference the symlink and fail, as required by POSIX.
331 kx That is better in the sense that it means we will not
331 kx have to compile and use the lstat wrapper. */
331 kx return lstat ("conftest.sym/", &sbuf) == 0;
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_run "$LINENO"
331 kx then :
331 kx ac_cv_func_lstat_dereferences_slashed_symlink=yes
331 kx else $as_nop
331 kx ac_cv_func_lstat_dereferences_slashed_symlink=no
331 kx fi
331 kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
331 kx conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx
331 kx else
331 kx # If the `ln -s' command failed, then we probably don't even
331 kx # have an lstat function.
331 kx ac_cv_func_lstat_dereferences_slashed_symlink=no
331 kx fi
331 kx rm -f conftest.sym conftest.file
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
331 kx printf "%s\n" "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
331 kx
331 kx test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
331 kx
331 kx printf "%s\n" "#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1" >>confdefs.h
331 kx
331 kx
331 kx if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
331 kx case " $LIBOBJS " in
331 kx *" lstat.$ac_objext "* ) ;;
331 kx *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
331 kx printf %s "checking whether stat accepts an empty string... " >&6; }
331 kx if test ${ac_cv_func_stat_empty_string_bug+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test "$cross_compiling" = yes
331 kx then :
331 kx ac_cv_func_stat_empty_string_bug=yes
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx $ac_includes_default
331 kx int
331 kx main (void)
331 kx {
331 kx struct stat sbuf;
331 kx return stat ("", &sbuf) == 0;
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_run "$LINENO"
331 kx then :
331 kx ac_cv_func_stat_empty_string_bug=no
331 kx else $as_nop
331 kx ac_cv_func_stat_empty_string_bug=yes
331 kx fi
331 kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
331 kx conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
331 kx printf "%s\n" "$ac_cv_func_stat_empty_string_bug" >&6; }
331 kx if test $ac_cv_func_stat_empty_string_bug = yes; then
331 kx case " $LIBOBJS " in
331 kx *" stat.$ac_objext "* ) ;;
331 kx *) LIBOBJS="$LIBOBJS stat.$ac_objext"
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx printf "%s\n" "#define HAVE_STAT_EMPTY_STRING_BUG 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
331 kx if test "x$ac_cv_type_mode_t" = xyes
331 kx then :
331 kx
331 kx else $as_nop
331 kx
331 kx printf "%s\n" "#define mode_t int" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx
331 kx ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
331 kx "
331 kx if test "x$ac_cv_type_pid_t" = xyes
331 kx then :
331 kx
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #if defined _WIN64 && !defined __CYGWIN__
331 kx LLP64
331 kx #endif
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_pid_type='int'
331 kx else $as_nop
331 kx ac_pid_type='__int64'
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx
331 kx printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx
331 kx ac_fn_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
331 kx if test "x$ac_cv_have_decl_environ" = xyes
331 kx then :
331 kx ac_have_decl=1
331 kx else $as_nop
331 kx ac_have_decl=0
331 kx fi
331 kx printf "%s\n" "#define HAVE_DECL_ENVIRON $ac_have_decl" >>confdefs.h
331 kx
331 kx
331 kx # check if gcc's -fvisibility is supported
331 kx
331 kx save_CFLAGS="$CFLAGS"
331 kx VISIBILITY_HIDDEN_CFLAGS=""
331 kx OPTION=-fvisibility=hidden
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gcc $OPTION support" >&5
331 kx printf %s "checking for gcc $OPTION support... " >&6; }
331 kx
331 kx CFLAGS="$CFLAGS $OPTION"
331 kx
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx int default_vis __attribute__ ((visibility("default")));
331 kx int hidden_vis __attribute__ ((visibility("hidden")));
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx ac_visibility_supported=yes
331 kx else $as_nop
331 kx ac_visibility_supported=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_visibility_supported" >&5
331 kx printf "%s\n" "$ac_visibility_supported" >&6; }
331 kx
331 kx if test x"$ac_visibility_supported" = xyes; then
331 kx
331 kx printf "%s\n" "#define HAVE_GCC_VISIBILITY 1" >>confdefs.h
331 kx
331 kx VISIBILITY_HIDDEN_CFLAGS="$OPTION -DHAVE_VISIBILITY_HIDDEN"
331 kx
331 kx printf "%s\n" "#define HAVE_VISIBILITY_HIDDEN /**/" >>confdefs.h
331 kx
331 kx else
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx
331 kx CFLAGS="$save_CFLAGS"
331 kx
331 kx
331 kx enable_chroot=yes
331 kx for ac_header in sys/capability.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_sys_capability_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SYS_CAPABILITY_H 1" >>confdefs.h
331 kx
331 kx else $as_nop
331 kx enable_chroot=no
331 kx fi
331 kx
331 kx done
331 kx for ac_header in sys/prctl.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_sys_prctl_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
331 kx
331 kx else $as_nop
331 kx enable_chroot=no
331 kx fi
331 kx
331 kx done
331 kx
331 kx for ac_func in chroot
331 kx do :
331 kx ac_fn_c_check_func "$LINENO" "chroot" "ac_cv_func_chroot"
331 kx if test "x$ac_cv_func_chroot" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_CHROOT 1" >>confdefs.h
331 kx
331 kx else $as_nop
331 kx enable_chroot=no
331 kx fi
331 kx
331 kx done
331 kx
331 kx if test "x$enable_chroot" = "xyes"; then
331 kx ENABLE_CHROOT_TRUE=
331 kx ENABLE_CHROOT_FALSE='#'
331 kx else
331 kx ENABLE_CHROOT_TRUE='#'
331 kx ENABLE_CHROOT_FALSE=
331 kx fi
331 kx
331 kx
331 kx if test "x$enable_chroot" = "xyes" ; then
331 kx
331 kx printf "%s\n" "#define ENABLE_CHROOT 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
331 kx printf %s "checking for dlopen in -ldl... " >&6; }
331 kx if test ${ac_cv_lib_dl_dlopen+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-ldl $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char dlopen ();
331 kx int
331 kx main (void)
331 kx {
331 kx return dlopen ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_dl_dlopen=yes
331 kx else $as_nop
331 kx ac_cv_lib_dl_dlopen=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
331 kx printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
331 kx if test "x$ac_cv_lib_dl_dlopen" = xyes
331 kx then :
331 kx for ac_header in dlfcn.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_dlfcn_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
331 kx HAVE_DLOPEN=yes
331 kx else $as_nop
331 kx HAVE_DLOPEN=no
331 kx fi
331 kx
331 kx done
331 kx else $as_nop
331 kx HAVE_DLOPEN=no
331 kx fi
331 kx
331 kx if test "x$HAVE_DLOPEN" = "xyes" ; then
331 kx
331 kx printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h
331 kx
331 kx fi
331 kx if test "x$HAVE_DLOPEN" = "xyes"; then
331 kx HAVE_DLOPEN_TRUE=
331 kx HAVE_DLOPEN_FALSE='#'
331 kx else
331 kx HAVE_DLOPEN_TRUE='#'
331 kx HAVE_DLOPEN_FALSE=
331 kx fi
331 kx
331 kx
331 kx have_inotify=no
331 kx for ac_header in sys/inotify.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_sys_inotify_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
331 kx have_inotify=yes
331 kx fi
331 kx
331 kx done
331 kx
331 kx if test "x$have_inotify" = "xyes"; then
331 kx HAVE_INOTIFY_TRUE=
331 kx HAVE_INOTIFY_FALSE='#'
331 kx else
331 kx HAVE_INOTIFY_TRUE='#'
331 kx HAVE_INOTIFY_FALSE=
331 kx fi
331 kx
331 kx
331 kx if test "x$have_inotify" = "xyes" ; then
331 kx
331 kx printf "%s\n" "#define HAVE_INOTIFY 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx have_kqueue=yes
331 kx
331 kx for ac_func in kqueue
331 kx do :
331 kx ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
331 kx if test "x$ac_cv_func_kqueue" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
331 kx
331 kx else $as_nop
331 kx have_kqueue=no
331 kx fi
331 kx
331 kx done
331 kx
331 kx if test "x$have_kqueue" = "xyes"; then
331 kx HAVE_KQUEUE_TRUE=
331 kx HAVE_KQUEUE_FALSE='#'
331 kx else
331 kx HAVE_KQUEUE_TRUE='#'
331 kx HAVE_KQUEUE_FALSE=
331 kx fi
331 kx
331 kx
331 kx if test "x$have_kqueue" = "xyes" ; then
331 kx
331 kx printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx GETTEXT_PACKAGE=avahi
331 kx
331 kx
331 kx printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
331 kx printf %s "checking whether NLS is requested... " >&6; }
331 kx # Check whether --enable-nls was given.
331 kx if test ${enable_nls+y}
331 kx then :
331 kx enableval=$enable_nls; USE_NLS=$enableval
331 kx else $as_nop
331 kx USE_NLS=yes
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
331 kx printf "%s\n" "$USE_NLS" >&6; }
331 kx
331 kx
331 kx
331 kx
331 kx GETTEXT_MACRO_VERSION=0.20
331 kx
331 kx
331 kx
331 kx
331 kx # Prepare PATH_SEPARATOR.
331 kx # The user is always right.
331 kx if test "${PATH_SEPARATOR+set}" != set; then
331 kx # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
331 kx # contains only /bin. Note that ksh looks also at the FPATH variable,
331 kx # so we have to set that as well for the test.
331 kx PATH_SEPARATOR=:
331 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx || PATH_SEPARATOR=';'
331 kx }
331 kx fi
331 kx
331 kx # Find out how to test for executable files. Don't use a zero-byte file,
331 kx # as systems may use methods other than mode bits to determine executability.
331 kx cat >conf$$.file <<_ASEOF
331 kx #! /bin/sh
331 kx exit 0
331 kx _ASEOF
331 kx chmod +x conf$$.file
331 kx if test -x conf$$.file >/dev/null 2>&1; then
331 kx ac_executable_p="test -x"
331 kx else
331 kx ac_executable_p="test -f"
331 kx fi
331 kx rm -f conf$$.file
331 kx
331 kx # Extract the first word of "msgfmt", so it can be a program name with args.
331 kx set dummy msgfmt; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MSGFMT+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case "$MSGFMT" in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
331 kx for ac_dir in $PATH; do
331 kx IFS="$ac_save_IFS"
331 kx test -z "$ac_dir" && ac_dir=.
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
331 kx echo "$as_me: trying $ac_dir/$ac_word..." >&5
331 kx if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
331 kx (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
331 kx ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
331 kx break 2
331 kx fi
331 kx fi
331 kx done
331 kx done
331 kx IFS="$ac_save_IFS"
331 kx test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
331 kx ;;
331 kx esac
331 kx fi
331 kx MSGFMT="$ac_cv_path_MSGFMT"
331 kx if test "$MSGFMT" != ":"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
331 kx printf "%s\n" "$MSGFMT" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx # Extract the first word of "gmsgfmt", so it can be a program name with args.
331 kx set dummy gmsgfmt; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_GMSGFMT+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $GMSGFMT in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
331 kx ;;
331 kx esac
331 kx fi
331 kx GMSGFMT=$ac_cv_path_GMSGFMT
331 kx if test -n "$GMSGFMT"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
331 kx printf "%s\n" "$GMSGFMT" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx
331 kx case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
331 kx '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
331 kx *) GMSGFMT_015=$GMSGFMT ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx # Prepare PATH_SEPARATOR.
331 kx # The user is always right.
331 kx if test "${PATH_SEPARATOR+set}" != set; then
331 kx # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
331 kx # contains only /bin. Note that ksh looks also at the FPATH variable,
331 kx # so we have to set that as well for the test.
331 kx PATH_SEPARATOR=:
331 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx || PATH_SEPARATOR=';'
331 kx }
331 kx fi
331 kx
331 kx # Find out how to test for executable files. Don't use a zero-byte file,
331 kx # as systems may use methods other than mode bits to determine executability.
331 kx cat >conf$$.file <<_ASEOF
331 kx #! /bin/sh
331 kx exit 0
331 kx _ASEOF
331 kx chmod +x conf$$.file
331 kx if test -x conf$$.file >/dev/null 2>&1; then
331 kx ac_executable_p="test -x"
331 kx else
331 kx ac_executable_p="test -f"
331 kx fi
331 kx rm -f conf$$.file
331 kx
331 kx # Extract the first word of "xgettext", so it can be a program name with args.
331 kx set dummy xgettext; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_XGETTEXT+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case "$XGETTEXT" in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
331 kx for ac_dir in $PATH; do
331 kx IFS="$ac_save_IFS"
331 kx test -z "$ac_dir" && ac_dir=.
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
331 kx echo "$as_me: trying $ac_dir/$ac_word..." >&5
331 kx if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
331 kx (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
331 kx ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
331 kx break 2
331 kx fi
331 kx fi
331 kx done
331 kx done
331 kx IFS="$ac_save_IFS"
331 kx test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
331 kx ;;
331 kx esac
331 kx fi
331 kx XGETTEXT="$ac_cv_path_XGETTEXT"
331 kx if test "$XGETTEXT" != ":"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
331 kx printf "%s\n" "$XGETTEXT" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx rm -f messages.po
331 kx
331 kx case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
331 kx '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
331 kx *) XGETTEXT_015=$XGETTEXT ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx # Prepare PATH_SEPARATOR.
331 kx # The user is always right.
331 kx if test "${PATH_SEPARATOR+set}" != set; then
331 kx # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
331 kx # contains only /bin. Note that ksh looks also at the FPATH variable,
331 kx # so we have to set that as well for the test.
331 kx PATH_SEPARATOR=:
331 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx || PATH_SEPARATOR=';'
331 kx }
331 kx fi
331 kx
331 kx # Find out how to test for executable files. Don't use a zero-byte file,
331 kx # as systems may use methods other than mode bits to determine executability.
331 kx cat >conf$$.file <<_ASEOF
331 kx #! /bin/sh
331 kx exit 0
331 kx _ASEOF
331 kx chmod +x conf$$.file
331 kx if test -x conf$$.file >/dev/null 2>&1; then
331 kx ac_executable_p="test -x"
331 kx else
331 kx ac_executable_p="test -f"
331 kx fi
331 kx rm -f conf$$.file
331 kx
331 kx # Extract the first word of "msgmerge", so it can be a program name with args.
331 kx set dummy msgmerge; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MSGMERGE+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case "$MSGMERGE" in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
331 kx for ac_dir in $PATH; do
331 kx IFS="$ac_save_IFS"
331 kx test -z "$ac_dir" && ac_dir=.
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
331 kx echo "$as_me: trying $ac_dir/$ac_word..." >&5
331 kx if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
331 kx ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
331 kx break 2
331 kx fi
331 kx fi
331 kx done
331 kx done
331 kx IFS="$ac_save_IFS"
331 kx test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
331 kx ;;
331 kx esac
331 kx fi
331 kx MSGMERGE="$ac_cv_path_MSGMERGE"
331 kx if test "$MSGMERGE" != ":"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
331 kx printf "%s\n" "$MSGMERGE" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx if LC_ALL=C $MSGMERGE --help | grep ' --for-msgfmt ' >/dev/null; then
331 kx MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt'
331 kx else
331 kx if LC_ALL=C $MSGMERGE --help | grep ' --no-fuzzy-matching ' >/dev/null; then
331 kx MSGMERGE_FOR_MSGFMT_OPTION='--no-fuzzy-matching --no-location --quiet'
331 kx else
331 kx MSGMERGE_FOR_MSGFMT_OPTION='--no-location --quiet'
331 kx fi
331 kx fi
331 kx
331 kx
331 kx test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
331 kx
331 kx
331 kx ac_config_commands="$ac_config_commands po-directories"
331 kx
331 kx
331 kx
331 kx if test "X$prefix" = "XNONE"; then
331 kx acl_final_prefix="$ac_default_prefix"
331 kx else
331 kx acl_final_prefix="$prefix"
331 kx fi
331 kx if test "X$exec_prefix" = "XNONE"; then
331 kx acl_final_exec_prefix='${prefix}'
331 kx else
331 kx acl_final_exec_prefix="$exec_prefix"
331 kx fi
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx
331 kx
331 kx # Check whether --with-gnu-ld was given.
331 kx if test ${with_gnu_ld+y}
331 kx then :
331 kx withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
331 kx else $as_nop
331 kx with_gnu_ld=no
331 kx fi
331 kx
331 kx # Prepare PATH_SEPARATOR.
331 kx # The user is always right.
331 kx if test "${PATH_SEPARATOR+set}" != set; then
331 kx # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
331 kx # contains only /bin. Note that ksh looks also at the FPATH variable,
331 kx # so we have to set that as well for the test.
331 kx PATH_SEPARATOR=:
331 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
331 kx || PATH_SEPARATOR=';'
331 kx }
331 kx fi
331 kx
331 kx if test -n "$LD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld" >&5
331 kx printf %s "checking for ld... " >&6; }
331 kx elif test "$GCC" = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
331 kx printf %s "checking for ld used by $CC... " >&6; }
331 kx elif test "$with_gnu_ld" = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
331 kx printf %s "checking for GNU ld... " >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
331 kx printf %s "checking for non-GNU ld... " >&6; }
331 kx fi
331 kx if test -n "$LD"; then
331 kx # Let the user override the test with a path.
331 kx :
331 kx else
331 kx if test ${acl_cv_path_LD+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx acl_cv_path_LD= # Final result of this test
331 kx ac_prog=ld # Program to search in $PATH
331 kx if test "$GCC" = yes; then
331 kx # Check if gcc -print-prog-name=ld gives a path.
331 kx case $host in
331 kx *-*-mingw*)
331 kx # gcc leaves a trailing carriage return which upsets mingw
331 kx acl_output=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
331 kx *)
331 kx acl_output=`($CC -print-prog-name=ld) 2>&5` ;;
331 kx esac
331 kx case $acl_output in
331 kx # Accept absolute paths.
331 kx [\\/]* | ?:[\\/]*)
331 kx re_direlt='/[^/][^/]*/\.\./'
331 kx # Canonicalize the pathname of ld
331 kx acl_output=`echo "$acl_output" | sed 's%\\\\%/%g'`
331 kx while echo "$acl_output" | grep "$re_direlt" > /dev/null 2>&1; do
331 kx acl_output=`echo $acl_output | sed "s%$re_direlt%/%"`
331 kx done
331 kx # Got the pathname. No search in PATH is needed.
331 kx acl_cv_path_LD="$acl_output"
331 kx ac_prog=
331 kx ;;
331 kx "")
331 kx # If it fails, then pretend we aren't using GCC.
331 kx ;;
331 kx *)
331 kx # If it is relative, then search for the first ld in PATH.
331 kx with_gnu_ld=unknown
331 kx ;;
331 kx esac
331 kx fi
331 kx if test -n "$ac_prog"; then
331 kx # Search for $ac_prog in $PATH.
331 kx acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
331 kx for ac_dir in $PATH; do
331 kx IFS="$acl_save_ifs"
331 kx test -z "$ac_dir" && ac_dir=.
331 kx if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
331 kx acl_cv_path_LD="$ac_dir/$ac_prog"
331 kx # Check to see if the program is GNU ld. I'd rather use --version,
331 kx # but apparently some variants of GNU ld only accept -v.
331 kx # Break only if it was the GNU/non-GNU ld that we prefer.
331 kx case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
331 kx *GNU* | *'with BFD'*)
331 kx test "$with_gnu_ld" != no && break
331 kx ;;
331 kx *)
331 kx test "$with_gnu_ld" != yes && break
331 kx ;;
331 kx esac
331 kx fi
331 kx done
331 kx IFS="$acl_save_ifs"
331 kx fi
331 kx case $host in
331 kx *-*-aix*)
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __powerpc64__ || defined __LP64__
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx # The compiler produces 64-bit code. Add option '-b64' so that the
331 kx # linker groks 64-bit object files.
331 kx case "$acl_cv_path_LD " in
331 kx *" -b64 "*) ;;
331 kx *) acl_cv_path_LD="$acl_cv_path_LD -b64" ;;
331 kx esac
331 kx
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx sparc64-*-netbsd*)
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __sparcv9 || defined __arch64__
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx
331 kx else $as_nop
331 kx # The compiler produces 32-bit code. Add option '-m elf32_sparc'
331 kx # so that the linker groks 32-bit object files.
331 kx case "$acl_cv_path_LD " in
331 kx *" -m elf32_sparc "*) ;;
331 kx *) acl_cv_path_LD="$acl_cv_path_LD -m elf32_sparc" ;;
331 kx esac
331 kx
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx
331 kx LD="$acl_cv_path_LD"
331 kx fi
331 kx if test -n "$LD"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
331 kx printf "%s\n" "$LD" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
331 kx printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
331 kx if test ${acl_cv_prog_gnu_ld+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx # I'd rather use --version here, but apparently some GNU lds only accept -v.
331 kx case `$LD -v 2>&1 </dev/null` in
331 kx *GNU* | *'with BFD'*)
331 kx acl_cv_prog_gnu_ld=yes
331 kx ;;
331 kx *)
331 kx acl_cv_prog_gnu_ld=no
331 kx ;;
331 kx esac
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
331 kx printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
331 kx with_gnu_ld=$acl_cv_prog_gnu_ld
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
331 kx printf %s "checking for shared library run path origin... " >&6; }
331 kx if test ${acl_cv_rpath+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
331 kx ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
331 kx . ./conftest.sh
331 kx rm -f ./conftest.sh
331 kx acl_cv_rpath=done
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
331 kx printf "%s\n" "$acl_cv_rpath" >&6; }
331 kx wl="$acl_cv_wl"
331 kx acl_libext="$acl_cv_libext"
331 kx acl_shlibext="$acl_cv_shlibext"
331 kx acl_libname_spec="$acl_cv_libname_spec"
331 kx acl_library_names_spec="$acl_cv_library_names_spec"
331 kx acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
331 kx acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
331 kx acl_hardcode_direct="$acl_cv_hardcode_direct"
331 kx acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
331 kx # Check whether --enable-rpath was given.
331 kx if test ${enable_rpath+y}
331 kx then :
331 kx enableval=$enable_rpath; :
331 kx else $as_nop
331 kx enable_rpath=yes
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking 32-bit host C ABI" >&5
331 kx printf %s "checking 32-bit host C ABI... " >&6; }
331 kx if test ${gl_cv_host_cpu_c_abi_32bit+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$gl_cv_host_cpu_c_abi"; then
331 kx case "$gl_cv_host_cpu_c_abi" in
331 kx i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc)
331 kx gl_cv_host_cpu_c_abi_32bit=yes ;;
331 kx x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 )
331 kx gl_cv_host_cpu_c_abi_32bit=no ;;
331 kx *)
331 kx gl_cv_host_cpu_c_abi_32bit=unknown ;;
331 kx esac
331 kx else
331 kx case "$host_cpu" in
331 kx
331 kx # CPUs that only support a 32-bit ABI.
331 kx arc \
331 kx | bfin \
331 kx | cris* \
331 kx | csky \
331 kx | epiphany \
331 kx | ft32 \
331 kx | h8300 \
331 kx | m68k \
331 kx | microblaze | microblazeel \
331 kx | nds32 | nds32le | nds32be \
331 kx | nios2 | nios2eb | nios2el \
331 kx | or1k* \
331 kx | or32 \
331 kx | sh | sh1234 | sh1234elb \
331 kx | tic6x \
331 kx | xtensa* )
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx ;;
331 kx
331 kx # CPUs that only support a 64-bit ABI.
331 kx alpha | alphaev[4-8] | alphaev56 | alphapca5[67] | alphaev6[78] \
331 kx | mmix )
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx ;;
331 kx
331 kx i[34567]86 )
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx ;;
331 kx
331 kx x86_64 )
331 kx # On x86_64 systems, the C compiler may be generating code in one of
331 kx # these ABIs:
331 kx # - 64-bit instruction set, 64-bit pointers, 64-bit 'long': x86_64.
331 kx # - 64-bit instruction set, 64-bit pointers, 32-bit 'long': x86_64
331 kx # with native Windows (mingw, MSVC).
331 kx # - 64-bit instruction set, 32-bit pointers, 32-bit 'long': x86_64-x32.
331 kx # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': i386.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if (defined __x86_64__ || defined __amd64__ \
331 kx || defined _M_X64 || defined _M_AMD64) \
331 kx && !(defined __ILP32__ || defined _ILP32)
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx arm* | aarch64 )
331 kx # Assume arm with EABI.
331 kx # On arm64 systems, the C compiler may be generating code in one of
331 kx # these ABIs:
331 kx # - aarch64 instruction set, 64-bit pointers, 64-bit 'long': arm64.
331 kx # - aarch64 instruction set, 32-bit pointers, 32-bit 'long': arm64-ilp32.
331 kx # - 32-bit instruction set, 32-bit pointers, 32-bit 'long': arm or armhf.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __aarch64__ && !(defined __ILP32__ || defined _ILP32)
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx hppa1.0 | hppa1.1 | hppa2.0* | hppa64 )
331 kx # On hppa, the C compiler may be generating 32-bit code or 64-bit
331 kx # code. In the latter case, it defines _LP64 and __LP64__.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #ifdef __LP64__
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx ia64* )
331 kx # On ia64 on HP-UX, the C compiler may be generating 64-bit code or
331 kx # 32-bit code. In the latter case, it defines _ILP32.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #ifdef _ILP32
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx mips* )
331 kx # We should also check for (_MIPS_SZPTR == 64), but gcc keeps this
331 kx # at 32.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined _MIPS_SZLONG && (_MIPS_SZLONG == 64)
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx powerpc* )
331 kx # Different ABIs are in use on AIX vs. Mac OS X vs. Linux,*BSD.
331 kx # No need to distinguish them here; the caller may distinguish
331 kx # them based on the OS.
331 kx # On powerpc64 systems, the C compiler may still be generating
331 kx # 32-bit code. And on powerpc-ibm-aix systems, the C compiler may
331 kx # be generating 64-bit code.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __powerpc64__ || defined __LP64__
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx rs6000 )
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx ;;
331 kx
331 kx riscv32 | riscv64 )
331 kx # There are 6 ABIs: ilp32, ilp32f, ilp32d, lp64, lp64f, lp64d.
331 kx # Size of 'long' and 'void *':
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __LP64__
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx s390* )
331 kx # On s390x, the C compiler may be generating 64-bit (= s390x) code
331 kx # or 31-bit (= s390) code.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __LP64__ || defined __s390x__
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx sparc | sparc64 )
331 kx # UltraSPARCs running Linux have `uname -m` = "sparc64", but the
331 kx # C compiler still generates 32-bit code.
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __sparcv9 || defined __arch64__
331 kx int ok;
331 kx #else
331 kx error fail
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if ac_fn_c_try_compile "$LINENO"
331 kx then :
331 kx gl_cv_host_cpu_c_abi_32bit=no
331 kx else $as_nop
331 kx gl_cv_host_cpu_c_abi_32bit=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx ;;
331 kx
331 kx *)
331 kx gl_cv_host_cpu_c_abi_32bit=unknown
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_host_cpu_c_abi_32bit" >&5
331 kx printf "%s\n" "$gl_cv_host_cpu_c_abi_32bit" >&6; }
331 kx
331 kx HOST_CPU_C_ABI_32BIT="$gl_cv_host_cpu_c_abi_32bit"
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ELF binary format" >&5
331 kx printf %s "checking for ELF binary format... " >&6; }
331 kx if test ${gl_cv_elf+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #if defined __ELF__ || (defined __linux__ && defined __EDG__)
331 kx Extensible Linking Format
331 kx #endif
331 kx
331 kx _ACEOF
331 kx if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
331 kx $EGREP "Extensible Linking Format" >/dev/null 2>&1
331 kx then :
331 kx gl_cv_elf=yes
331 kx else $as_nop
331 kx gl_cv_elf=no
331 kx fi
331 kx rm -rf conftest*
331 kx
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_elf" >&5
331 kx printf "%s\n" "$gl_cv_elf" >&6; }
331 kx if test $gl_cv_elf = yes; then
331 kx # Extract the ELF class of a file (5th byte) in decimal.
331 kx # Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
331 kx if od -A x < /dev/null >/dev/null 2>/dev/null; then
331 kx # Use POSIX od.
331 kx func_elfclass ()
331 kx {
331 kx od -A n -t d1 -j 4 -N 1
331 kx }
331 kx else
331 kx # Use BSD hexdump.
331 kx func_elfclass ()
331 kx {
331 kx dd bs=1 count=1 skip=4 2>/dev/null | hexdump -e '1/1 "%3d "'
331 kx echo
331 kx }
331 kx fi
331 kx # Use 'expr', not 'test', to compare the values of func_elfclass, because on
331 kx # Solaris 11 OpenIndiana and Solaris 11 OmniOS, the result is 001 or 002,
331 kx # not 1 or 2.
331 kx case $HOST_CPU_C_ABI_32BIT in
331 kx yes)
331 kx # 32-bit ABI.
331 kx acl_is_expected_elfclass ()
331 kx {
331 kx expr "`func_elfclass | sed -e 's/[ ]//g'`" = 1 > /dev/null
331 kx }
331 kx ;;
331 kx no)
331 kx # 64-bit ABI.
331 kx acl_is_expected_elfclass ()
331 kx {
331 kx expr "`func_elfclass | sed -e 's/[ ]//g'`" = 2 > /dev/null
331 kx }
331 kx ;;
331 kx *)
331 kx # Unknown.
331 kx acl_is_expected_elfclass ()
331 kx {
331 kx :
331 kx }
331 kx ;;
331 kx esac
331 kx else
331 kx acl_is_expected_elfclass ()
331 kx {
331 kx :
331 kx }
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the common suffixes of directories in the library search path" >&5
331 kx printf %s "checking for the common suffixes of directories in the library search path... " >&6; }
331 kx if test ${acl_cv_libdirstems+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx acl_libdirstem=lib
331 kx acl_libdirstem2=
331 kx acl_libdirstem3=
331 kx case "$host_os" in
331 kx solaris*)
331 kx if test $HOST_CPU_C_ABI_32BIT = no; then
331 kx acl_libdirstem2=lib/64
331 kx case "$host_cpu" in
331 kx sparc*) acl_libdirstem3=lib/sparcv9 ;;
331 kx i*86 | x86_64) acl_libdirstem3=lib/amd64 ;;
331 kx esac
331 kx fi
331 kx ;;
331 kx *)
331 kx searchpath=`(LC_ALL=C $CC $CPPFLAGS $CFLAGS -print-search-dirs) 2>/dev/null \
331 kx | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
331 kx if test $HOST_CPU_C_ABI_32BIT != no; then
331 kx # 32-bit or unknown ABI.
331 kx if test -d /usr/lib32; then
331 kx acl_libdirstem2=lib32
331 kx fi
331 kx fi
331 kx if test $HOST_CPU_C_ABI_32BIT != yes; then
331 kx # 64-bit or unknown ABI.
331 kx if test -d /usr/lib64; then
331 kx acl_libdirstem3=lib64
331 kx fi
331 kx fi
331 kx if test -n "$searchpath"; then
331 kx acl_save_IFS="${IFS= }"; IFS=":"
331 kx for searchdir in $searchpath; do
331 kx if test -d "$searchdir"; then
331 kx case "$searchdir" in
331 kx */lib32/ | */lib32 ) acl_libdirstem2=lib32 ;;
331 kx */lib64/ | */lib64 ) acl_libdirstem3=lib64 ;;
331 kx */../ | */.. )
331 kx # Better ignore directories of this form. They are misleading.
331 kx ;;
331 kx *) searchdir=`cd "$searchdir" && pwd`
331 kx case "$searchdir" in
331 kx */lib32 ) acl_libdirstem2=lib32 ;;
331 kx */lib64 ) acl_libdirstem3=lib64 ;;
331 kx esac ;;
331 kx esac
331 kx fi
331 kx done
331 kx IFS="$acl_save_IFS"
331 kx if test $HOST_CPU_C_ABI_32BIT = yes; then
331 kx # 32-bit ABI.
331 kx acl_libdirstem3=
331 kx fi
331 kx if test $HOST_CPU_C_ABI_32BIT = no; then
331 kx # 64-bit ABI.
331 kx acl_libdirstem2=
331 kx fi
331 kx fi
331 kx ;;
331 kx esac
331 kx test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
331 kx test -n "$acl_libdirstem3" || acl_libdirstem3="$acl_libdirstem"
331 kx acl_cv_libdirstems="$acl_libdirstem,$acl_libdirstem2,$acl_libdirstem3"
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libdirstems" >&5
331 kx printf "%s\n" "$acl_cv_libdirstems" >&6; }
331 kx acl_libdirstem=`echo "$acl_cv_libdirstems" | sed -e 's/,.*//'`
331 kx acl_libdirstem2=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,//' -e 's/,.*//'`
331 kx acl_libdirstem3=`echo "$acl_cv_libdirstems" | sed -e 's/^[^,]*,[^,]*,//' -e 's/,.*//'`
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx use_additional=yes
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx
331 kx eval additional_includedir=\"$includedir\"
331 kx eval additional_libdir=\"$libdir\"
331 kx eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
331 kx eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
331 kx
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx
331 kx # Check whether --with-libiconv-prefix was given.
331 kx if test ${with_libiconv_prefix+y}
331 kx then :
331 kx withval=$with_libiconv_prefix;
331 kx if test "X$withval" = "Xno"; then
331 kx use_additional=no
331 kx else
331 kx if test "X$withval" = "X"; then
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx
331 kx eval additional_includedir=\"$includedir\"
331 kx eval additional_libdir=\"$libdir\"
331 kx eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
331 kx eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
331 kx
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx else
331 kx additional_includedir="$withval/include"
331 kx additional_libdir="$withval/$acl_libdirstem"
331 kx additional_libdir2="$withval/$acl_libdirstem2"
331 kx additional_libdir3="$withval/$acl_libdirstem3"
331 kx fi
331 kx fi
331 kx
331 kx fi
331 kx
331 kx if test "X$additional_libdir2" = "X$additional_libdir"; then
331 kx additional_libdir2=
331 kx fi
331 kx if test "X$additional_libdir3" = "X$additional_libdir"; then
331 kx additional_libdir3=
331 kx fi
331 kx LIBICONV=
331 kx LTLIBICONV=
331 kx INCICONV=
331 kx LIBICONV_PREFIX=
331 kx HAVE_LIBICONV=
331 kx rpathdirs=
331 kx ltrpathdirs=
331 kx names_already_handled=
331 kx names_next_round='iconv '
331 kx while test -n "$names_next_round"; do
331 kx names_this_round="$names_next_round"
331 kx names_next_round=
331 kx for name in $names_this_round; do
331 kx already_handled=
331 kx for n in $names_already_handled; do
331 kx if test "$n" = "$name"; then
331 kx already_handled=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$already_handled"; then
331 kx names_already_handled="$names_already_handled $name"
331 kx uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
331 kx eval value=\"\$HAVE_LIB$uppername\"
331 kx if test -n "$value"; then
331 kx if test "$value" = yes; then
331 kx eval value=\"\$LIB$uppername\"
331 kx test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
331 kx eval value=\"\$LTLIB$uppername\"
331 kx test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
331 kx else
331 kx :
331 kx fi
331 kx else
331 kx found_dir=
331 kx found_la=
331 kx found_so=
331 kx found_a=
331 kx eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
331 kx if test -n "$acl_shlibext"; then
331 kx shrext=".$acl_shlibext" # typically: shrext=.so
331 kx else
331 kx shrext=
331 kx fi
331 kx if test $use_additional = yes; then
331 kx for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
331 kx if test "X$found_dir" = "X"; then
331 kx eval dir=\$$additional_libdir_variable
331 kx if test -n "$dir"; then
331 kx if test -n "$acl_shlibext"; then
331 kx if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext"
331 kx else
331 kx if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
331 kx ver=`(cd "$dir" && \
331 kx for f in "$libname$shrext".*; do echo "$f"; done \
331 kx | sed -e "s,^$libname$shrext\\\\.,," \
331 kx | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
331 kx | sed 1q ) 2>/dev/null`
331 kx if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext.$ver"
331 kx fi
331 kx else
331 kx eval library_names=\"$acl_library_names_spec\"
331 kx for f in $library_names; do
331 kx if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$f"
331 kx break
331 kx fi
331 kx done
331 kx fi
331 kx fi
331 kx fi
331 kx if test "X$found_dir" = "X"; then
331 kx if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
331 kx found_dir="$dir"
331 kx found_a="$dir/$libname.$acl_libext"
331 kx fi
331 kx fi
331 kx if test "X$found_dir" != "X"; then
331 kx if test -f "$dir/$libname.la"; then
331 kx found_la="$dir/$libname.la"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx done
331 kx fi
331 kx if test "X$found_dir" = "X"; then
331 kx for x in $LDFLAGS $LTLIBICONV; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx case "$x" in
331 kx -L*)
331 kx dir=`echo "X$x" | sed -e 's/^X-L//'`
331 kx if test -n "$acl_shlibext"; then
331 kx if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext"
331 kx else
331 kx if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
331 kx ver=`(cd "$dir" && \
331 kx for f in "$libname$shrext".*; do echo "$f"; done \
331 kx | sed -e "s,^$libname$shrext\\\\.,," \
331 kx | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
331 kx | sed 1q ) 2>/dev/null`
331 kx if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext.$ver"
331 kx fi
331 kx else
331 kx eval library_names=\"$acl_library_names_spec\"
331 kx for f in $library_names; do
331 kx if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$f"
331 kx break
331 kx fi
331 kx done
331 kx fi
331 kx fi
331 kx fi
331 kx if test "X$found_dir" = "X"; then
331 kx if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
331 kx found_dir="$dir"
331 kx found_a="$dir/$libname.$acl_libext"
331 kx fi
331 kx fi
331 kx if test "X$found_dir" != "X"; then
331 kx if test -f "$dir/$libname.la"; then
331 kx found_la="$dir/$libname.la"
331 kx fi
331 kx fi
331 kx ;;
331 kx esac
331 kx if test "X$found_dir" != "X"; then
331 kx break
331 kx fi
331 kx done
331 kx fi
331 kx if test "X$found_dir" != "X"; then
331 kx LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
331 kx if test "X$found_so" != "X"; then
331 kx if test "$enable_rpath" = no \
331 kx || test "X$found_dir" = "X/usr/$acl_libdirstem" \
331 kx || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
331 kx || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
331 kx else
331 kx haveit=
331 kx for x in $ltrpathdirs; do
331 kx if test "X$x" = "X$found_dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx ltrpathdirs="$ltrpathdirs $found_dir"
331 kx fi
331 kx if test "$acl_hardcode_direct" = yes; then
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
331 kx else
331 kx if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
331 kx haveit=
331 kx for x in $rpathdirs; do
331 kx if test "X$x" = "X$found_dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx rpathdirs="$rpathdirs $found_dir"
331 kx fi
331 kx else
331 kx haveit=
331 kx for x in $LDFLAGS $LIBICONV; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-L$found_dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
331 kx fi
331 kx if test "$acl_hardcode_minus_L" != no; then
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
331 kx else
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx else
331 kx if test "X$found_a" != "X"; then
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
331 kx else
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
331 kx fi
331 kx fi
331 kx additional_includedir=
331 kx case "$found_dir" in
331 kx */$acl_libdirstem | */$acl_libdirstem/)
331 kx basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
331 kx if test "$name" = 'iconv'; then
331 kx LIBICONV_PREFIX="$basedir"
331 kx fi
331 kx additional_includedir="$basedir/include"
331 kx ;;
331 kx */$acl_libdirstem2 | */$acl_libdirstem2/)
331 kx basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
331 kx if test "$name" = 'iconv'; then
331 kx LIBICONV_PREFIX="$basedir"
331 kx fi
331 kx additional_includedir="$basedir/include"
331 kx ;;
331 kx */$acl_libdirstem3 | */$acl_libdirstem3/)
331 kx basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
331 kx if test "$name" = 'iconv'; then
331 kx LIBICONV_PREFIX="$basedir"
331 kx fi
331 kx additional_includedir="$basedir/include"
331 kx ;;
331 kx esac
331 kx if test "X$additional_includedir" != "X"; then
331 kx if test "X$additional_includedir" != "X/usr/include"; then
331 kx haveit=
331 kx if test "X$additional_includedir" = "X/usr/local/include"; then
331 kx if test -n "$GCC"; then
331 kx case $host_os in
331 kx linux* | gnu* | k*bsd*-gnu) haveit=yes;;
331 kx esac
331 kx fi
331 kx fi
331 kx if test -z "$haveit"; then
331 kx for x in $CPPFLAGS $INCICONV; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-I$additional_includedir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx if test -d "$additional_includedir"; then
331 kx INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx if test -n "$found_la"; then
331 kx save_libdir="$libdir"
331 kx case "$found_la" in
331 kx */* | *\\*) . "$found_la" ;;
331 kx *) . "./$found_la" ;;
331 kx esac
331 kx libdir="$save_libdir"
331 kx for dep in $dependency_libs; do
331 kx case "$dep" in
331 kx -L*)
331 kx dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
331 kx if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
331 kx && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
331 kx && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
331 kx haveit=
331 kx if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
331 kx || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
331 kx || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
331 kx if test -n "$GCC"; then
331 kx case $host_os in
331 kx linux* | gnu* | k*bsd*-gnu) haveit=yes;;
331 kx esac
331 kx fi
331 kx fi
331 kx if test -z "$haveit"; then
331 kx haveit=
331 kx for x in $LDFLAGS $LIBICONV; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-L$dependency_libdir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx if test -d "$dependency_libdir"; then
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }-L$dependency_libdir"
331 kx fi
331 kx fi
331 kx haveit=
331 kx for x in $LDFLAGS $LTLIBICONV; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-L$dependency_libdir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx if test -d "$dependency_libdir"; then
331 kx LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$dependency_libdir"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx ;;
331 kx -R*)
331 kx dir=`echo "X$dep" | sed -e 's/^X-R//'`
331 kx if test "$enable_rpath" != no; then
331 kx haveit=
331 kx for x in $rpathdirs; do
331 kx if test "X$x" = "X$dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx rpathdirs="$rpathdirs $dir"
331 kx fi
331 kx haveit=
331 kx for x in $ltrpathdirs; do
331 kx if test "X$x" = "X$dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx ltrpathdirs="$ltrpathdirs $dir"
331 kx fi
331 kx fi
331 kx ;;
331 kx -l*)
331 kx dep=`echo "X$dep" | sed -e 's/^X-l//'`
331 kx if test "X$dep" != Xc \
331 kx || case $host_os in
331 kx linux* | gnu* | k*bsd*-gnu) false ;;
331 kx *) true ;;
331 kx esac; then
331 kx names_next_round="$names_next_round $dep"
331 kx fi
331 kx ;;
331 kx *.la)
331 kx names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
331 kx ;;
331 kx *)
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
331 kx LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
331 kx ;;
331 kx esac
331 kx done
331 kx fi
331 kx else
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
331 kx LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
331 kx fi
331 kx fi
331 kx fi
331 kx done
331 kx done
331 kx if test "X$rpathdirs" != "X"; then
331 kx if test -n "$acl_hardcode_libdir_separator"; then
331 kx alldirs=
331 kx for found_dir in $rpathdirs; do
331 kx alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
331 kx done
331 kx acl_save_libdir="$libdir"
331 kx libdir="$alldirs"
331 kx eval flag=\"$acl_hardcode_libdir_flag_spec\"
331 kx libdir="$acl_save_libdir"
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
331 kx else
331 kx for found_dir in $rpathdirs; do
331 kx acl_save_libdir="$libdir"
331 kx libdir="$found_dir"
331 kx eval flag=\"$acl_hardcode_libdir_flag_spec\"
331 kx libdir="$acl_save_libdir"
331 kx LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
331 kx done
331 kx fi
331 kx fi
331 kx if test "X$ltrpathdirs" != "X"; then
331 kx for found_dir in $ltrpathdirs; do
331 kx LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
331 kx done
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
331 kx printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
331 kx if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx gt_save_LIBS="$LIBS"
331 kx LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <CoreFoundation/CFPreferences.h>
331 kx int
331 kx main (void)
331 kx {
331 kx CFPreferencesCopyAppValue(NULL, NULL)
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx gt_cv_func_CFPreferencesCopyAppValue=yes
331 kx else $as_nop
331 kx gt_cv_func_CFPreferencesCopyAppValue=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS="$gt_save_LIBS"
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
331 kx printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
331 kx if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
331 kx
331 kx printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyPreferredLanguages" >&5
331 kx printf %s "checking for CFLocaleCopyPreferredLanguages... " >&6; }
331 kx if test ${gt_cv_func_CFLocaleCopyPreferredLanguages+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx gt_save_LIBS="$LIBS"
331 kx LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <CoreFoundation/CFLocale.h>
331 kx int
331 kx main (void)
331 kx {
331 kx CFLocaleCopyPreferredLanguages();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx gt_cv_func_CFLocaleCopyPreferredLanguages=yes
331 kx else $as_nop
331 kx gt_cv_func_CFLocaleCopyPreferredLanguages=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS="$gt_save_LIBS"
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyPreferredLanguages" >&5
331 kx printf "%s\n" "$gt_cv_func_CFLocaleCopyPreferredLanguages" >&6; }
331 kx if test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
331 kx
331 kx printf "%s\n" "#define HAVE_CFLOCALECOPYPREFERREDLANGUAGES 1" >>confdefs.h
331 kx
331 kx fi
331 kx INTL_MACOSX_LIBS=
331 kx if test $gt_cv_func_CFPreferencesCopyAppValue = yes \
331 kx || test $gt_cv_func_CFLocaleCopyPreferredLanguages = yes; then
331 kx INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx LIBINTL=
331 kx LTLIBINTL=
331 kx POSUB=
331 kx
331 kx case " $gt_needs " in
331 kx *" need-formatstring-macros "*) gt_api_version=3 ;;
331 kx *" need-ngettext "*) gt_api_version=2 ;;
331 kx *) gt_api_version=1 ;;
331 kx esac
331 kx gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
331 kx gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
331 kx
331 kx if test "$USE_NLS" = "yes"; then
331 kx gt_use_preinstalled_gnugettext=no
331 kx
331 kx
331 kx if test $gt_api_version -ge 3; then
331 kx gt_revision_test_code='
331 kx #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
331 kx #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
331 kx #endif
331 kx typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
331 kx '
331 kx else
331 kx gt_revision_test_code=
331 kx fi
331 kx if test $gt_api_version -ge 2; then
331 kx gt_expression_test_code=' + * ngettext ("", "", 0)'
331 kx else
331 kx gt_expression_test_code=
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
331 kx printf %s "checking for GNU gettext in libc... " >&6; }
331 kx if eval test \${$gt_func_gnugettext_libc+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #include <libintl.h>
331 kx #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
331 kx extern int _nl_msg_cat_cntr;
331 kx extern int *_nl_domain_bindings;
331 kx #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
331 kx #else
331 kx #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
331 kx #endif
331 kx $gt_revision_test_code
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx bindtextdomain ("", "");
331 kx return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx eval "$gt_func_gnugettext_libc=yes"
331 kx else $as_nop
331 kx eval "$gt_func_gnugettext_libc=no"
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx fi
331 kx eval ac_res=\$$gt_func_gnugettext_libc
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
331 kx printf "%s\n" "$ac_res" >&6; }
331 kx
331 kx if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx am_save_CPPFLAGS="$CPPFLAGS"
331 kx
331 kx for element in $INCICONV; do
331 kx haveit=
331 kx for x in $CPPFLAGS; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X$element"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
331 kx fi
331 kx done
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
331 kx printf %s "checking for iconv... " >&6; }
331 kx if test ${am_cv_func_iconv+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx am_cv_func_iconv="no, consider installing GNU libiconv"
331 kx am_cv_lib_iconv=no
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #include <stdlib.h>
331 kx #include <iconv.h>
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx iconv_t cd = iconv_open("","");
331 kx iconv(cd,NULL,NULL,NULL,NULL);
331 kx iconv_close(cd);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx am_cv_func_iconv=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx if test "$am_cv_func_iconv" != yes; then
331 kx am_save_LIBS="$LIBS"
331 kx LIBS="$LIBS $LIBICONV"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #include <stdlib.h>
331 kx #include <iconv.h>
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx iconv_t cd = iconv_open("","");
331 kx iconv(cd,NULL,NULL,NULL,NULL);
331 kx iconv_close(cd);
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx am_cv_lib_iconv=yes
331 kx am_cv_func_iconv=yes
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS="$am_save_LIBS"
331 kx fi
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
331 kx printf "%s\n" "$am_cv_func_iconv" >&6; }
331 kx if test "$am_cv_func_iconv" = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
331 kx printf %s "checking for working iconv... " >&6; }
331 kx if test ${am_cv_func_iconv_works+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx am_save_LIBS="$LIBS"
331 kx if test $am_cv_lib_iconv = yes; then
331 kx LIBS="$LIBS $LIBICONV"
331 kx fi
331 kx am_cv_func_iconv_works=no
331 kx for ac_iconv_const in '' 'const'; do
331 kx if test "$cross_compiling" = yes
331 kx then :
331 kx case "$host_os" in
331 kx aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
331 kx *) am_cv_func_iconv_works="guessing yes" ;;
331 kx esac
331 kx else $as_nop
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #include <iconv.h>
331 kx #include <string.h>
331 kx
331 kx #ifndef ICONV_CONST
331 kx # define ICONV_CONST $ac_iconv_const
331 kx #endif
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx int result = 0;
331 kx /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
331 kx successful returns. This is even documented in
331 kx <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
331 kx {
331 kx iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
331 kx if (cd_utf8_to_88591 != (iconv_t)(-1))
331 kx {
331 kx static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
331 kx char buf[10];
331 kx ICONV_CONST char *inptr = input;
331 kx size_t inbytesleft = strlen (input);
331 kx char *outptr = buf;
331 kx size_t outbytesleft = sizeof (buf);
331 kx size_t res = iconv (cd_utf8_to_88591,
331 kx &inptr, &inbytesleft,
331 kx &outptr, &outbytesleft);
331 kx if (res == 0)
331 kx result |= 1;
331 kx iconv_close (cd_utf8_to_88591);
331 kx }
331 kx }
331 kx /* Test against Solaris 10 bug: Failures are not distinguishable from
331 kx successful returns. */
331 kx {
331 kx iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
331 kx if (cd_ascii_to_88591 != (iconv_t)(-1))
331 kx {
331 kx static ICONV_CONST char input[] = "\263";
331 kx char buf[10];
331 kx ICONV_CONST char *inptr = input;
331 kx size_t inbytesleft = strlen (input);
331 kx char *outptr = buf;
331 kx size_t outbytesleft = sizeof (buf);
331 kx size_t res = iconv (cd_ascii_to_88591,
331 kx &inptr, &inbytesleft,
331 kx &outptr, &outbytesleft);
331 kx if (res == 0)
331 kx result |= 2;
331 kx iconv_close (cd_ascii_to_88591);
331 kx }
331 kx }
331 kx /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
331 kx {
331 kx iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
331 kx if (cd_88591_to_utf8 != (iconv_t)(-1))
331 kx {
331 kx static ICONV_CONST char input[] = "\304";
331 kx static char buf[2] = { (char)0xDE, (char)0xAD };
331 kx ICONV_CONST char *inptr = input;
331 kx size_t inbytesleft = 1;
331 kx char *outptr = buf;
331 kx size_t outbytesleft = 1;
331 kx size_t res = iconv (cd_88591_to_utf8,
331 kx &inptr, &inbytesleft,
331 kx &outptr, &outbytesleft);
331 kx if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
331 kx result |= 4;
331 kx iconv_close (cd_88591_to_utf8);
331 kx }
331 kx }
331 kx #if 0 /* This bug could be worked around by the caller. */
331 kx /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
331 kx {
331 kx iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
331 kx if (cd_88591_to_utf8 != (iconv_t)(-1))
331 kx {
331 kx static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
331 kx char buf[50];
331 kx ICONV_CONST char *inptr = input;
331 kx size_t inbytesleft = strlen (input);
331 kx char *outptr = buf;
331 kx size_t outbytesleft = sizeof (buf);
331 kx size_t res = iconv (cd_88591_to_utf8,
331 kx &inptr, &inbytesleft,
331 kx &outptr, &outbytesleft);
331 kx if ((int)res > 0)
331 kx result |= 8;
331 kx iconv_close (cd_88591_to_utf8);
331 kx }
331 kx }
331 kx #endif
331 kx /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
331 kx provided. */
331 kx {
331 kx /* Try standardized names. */
331 kx iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
331 kx /* Try IRIX, OSF/1 names. */
331 kx iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
331 kx /* Try AIX names. */
331 kx iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
331 kx /* Try HP-UX names. */
331 kx iconv_t cd4 = iconv_open ("utf8", "eucJP");
331 kx if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
331 kx && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
331 kx result |= 16;
331 kx if (cd1 != (iconv_t)(-1))
331 kx iconv_close (cd1);
331 kx if (cd2 != (iconv_t)(-1))
331 kx iconv_close (cd2);
331 kx if (cd3 != (iconv_t)(-1))
331 kx iconv_close (cd3);
331 kx if (cd4 != (iconv_t)(-1))
331 kx iconv_close (cd4);
331 kx }
331 kx return result;
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_run "$LINENO"
331 kx then :
331 kx am_cv_func_iconv_works=yes
331 kx fi
331 kx rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
331 kx conftest.$ac_objext conftest.beam conftest.$ac_ext
331 kx fi
331 kx
331 kx test "$am_cv_func_iconv_works" = no || break
331 kx done
331 kx LIBS="$am_save_LIBS"
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
331 kx printf "%s\n" "$am_cv_func_iconv_works" >&6; }
331 kx case "$am_cv_func_iconv_works" in
331 kx *no) am_func_iconv=no am_cv_lib_iconv=no ;;
331 kx *) am_func_iconv=yes ;;
331 kx esac
331 kx else
331 kx am_func_iconv=no am_cv_lib_iconv=no
331 kx fi
331 kx if test "$am_func_iconv" = yes; then
331 kx
331 kx printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
331 kx
331 kx fi
331 kx if test "$am_cv_lib_iconv" = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
331 kx printf %s "checking how to link with libiconv... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
331 kx printf "%s\n" "$LIBICONV" >&6; }
331 kx else
331 kx CPPFLAGS="$am_save_CPPFLAGS"
331 kx LIBICONV=
331 kx LTLIBICONV=
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx use_additional=yes
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx
331 kx eval additional_includedir=\"$includedir\"
331 kx eval additional_libdir=\"$libdir\"
331 kx eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
331 kx eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
331 kx
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx
331 kx # Check whether --with-libintl-prefix was given.
331 kx if test ${with_libintl_prefix+y}
331 kx then :
331 kx withval=$with_libintl_prefix;
331 kx if test "X$withval" = "Xno"; then
331 kx use_additional=no
331 kx else
331 kx if test "X$withval" = "X"; then
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx
331 kx eval additional_includedir=\"$includedir\"
331 kx eval additional_libdir=\"$libdir\"
331 kx eval additional_libdir2=\"$exec_prefix/$acl_libdirstem2\"
331 kx eval additional_libdir3=\"$exec_prefix/$acl_libdirstem3\"
331 kx
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx else
331 kx additional_includedir="$withval/include"
331 kx additional_libdir="$withval/$acl_libdirstem"
331 kx additional_libdir2="$withval/$acl_libdirstem2"
331 kx additional_libdir3="$withval/$acl_libdirstem3"
331 kx fi
331 kx fi
331 kx
331 kx fi
331 kx
331 kx if test "X$additional_libdir2" = "X$additional_libdir"; then
331 kx additional_libdir2=
331 kx fi
331 kx if test "X$additional_libdir3" = "X$additional_libdir"; then
331 kx additional_libdir3=
331 kx fi
331 kx LIBINTL=
331 kx LTLIBINTL=
331 kx INCINTL=
331 kx LIBINTL_PREFIX=
331 kx HAVE_LIBINTL=
331 kx rpathdirs=
331 kx ltrpathdirs=
331 kx names_already_handled=
331 kx names_next_round='intl '
331 kx while test -n "$names_next_round"; do
331 kx names_this_round="$names_next_round"
331 kx names_next_round=
331 kx for name in $names_this_round; do
331 kx already_handled=
331 kx for n in $names_already_handled; do
331 kx if test "$n" = "$name"; then
331 kx already_handled=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$already_handled"; then
331 kx names_already_handled="$names_already_handled $name"
331 kx uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
331 kx eval value=\"\$HAVE_LIB$uppername\"
331 kx if test -n "$value"; then
331 kx if test "$value" = yes; then
331 kx eval value=\"\$LIB$uppername\"
331 kx test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
331 kx eval value=\"\$LTLIB$uppername\"
331 kx test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
331 kx else
331 kx :
331 kx fi
331 kx else
331 kx found_dir=
331 kx found_la=
331 kx found_so=
331 kx found_a=
331 kx eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
331 kx if test -n "$acl_shlibext"; then
331 kx shrext=".$acl_shlibext" # typically: shrext=.so
331 kx else
331 kx shrext=
331 kx fi
331 kx if test $use_additional = yes; then
331 kx for additional_libdir_variable in additional_libdir additional_libdir2 additional_libdir3; do
331 kx if test "X$found_dir" = "X"; then
331 kx eval dir=\$$additional_libdir_variable
331 kx if test -n "$dir"; then
331 kx if test -n "$acl_shlibext"; then
331 kx if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext"
331 kx else
331 kx if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
331 kx ver=`(cd "$dir" && \
331 kx for f in "$libname$shrext".*; do echo "$f"; done \
331 kx | sed -e "s,^$libname$shrext\\\\.,," \
331 kx | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
331 kx | sed 1q ) 2>/dev/null`
331 kx if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext.$ver"
331 kx fi
331 kx else
331 kx eval library_names=\"$acl_library_names_spec\"
331 kx for f in $library_names; do
331 kx if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$f"
331 kx break
331 kx fi
331 kx done
331 kx fi
331 kx fi
331 kx fi
331 kx if test "X$found_dir" = "X"; then
331 kx if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
331 kx found_dir="$dir"
331 kx found_a="$dir/$libname.$acl_libext"
331 kx fi
331 kx fi
331 kx if test "X$found_dir" != "X"; then
331 kx if test -f "$dir/$libname.la"; then
331 kx found_la="$dir/$libname.la"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx done
331 kx fi
331 kx if test "X$found_dir" = "X"; then
331 kx for x in $LDFLAGS $LTLIBINTL; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx case "$x" in
331 kx -L*)
331 kx dir=`echo "X$x" | sed -e 's/^X-L//'`
331 kx if test -n "$acl_shlibext"; then
331 kx if test -f "$dir/$libname$shrext" && acl_is_expected_elfclass < "$dir/$libname$shrext"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext"
331 kx else
331 kx if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
331 kx ver=`(cd "$dir" && \
331 kx for f in "$libname$shrext".*; do echo "$f"; done \
331 kx | sed -e "s,^$libname$shrext\\\\.,," \
331 kx | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
331 kx | sed 1q ) 2>/dev/null`
331 kx if test -n "$ver" && test -f "$dir/$libname$shrext.$ver" && acl_is_expected_elfclass < "$dir/$libname$shrext.$ver"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$libname$shrext.$ver"
331 kx fi
331 kx else
331 kx eval library_names=\"$acl_library_names_spec\"
331 kx for f in $library_names; do
331 kx if test -f "$dir/$f" && acl_is_expected_elfclass < "$dir/$f"; then
331 kx found_dir="$dir"
331 kx found_so="$dir/$f"
331 kx break
331 kx fi
331 kx done
331 kx fi
331 kx fi
331 kx fi
331 kx if test "X$found_dir" = "X"; then
331 kx if test -f "$dir/$libname.$acl_libext" && ${AR-ar} -p "$dir/$libname.$acl_libext" | acl_is_expected_elfclass; then
331 kx found_dir="$dir"
331 kx found_a="$dir/$libname.$acl_libext"
331 kx fi
331 kx fi
331 kx if test "X$found_dir" != "X"; then
331 kx if test -f "$dir/$libname.la"; then
331 kx found_la="$dir/$libname.la"
331 kx fi
331 kx fi
331 kx ;;
331 kx esac
331 kx if test "X$found_dir" != "X"; then
331 kx break
331 kx fi
331 kx done
331 kx fi
331 kx if test "X$found_dir" != "X"; then
331 kx LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
331 kx if test "X$found_so" != "X"; then
331 kx if test "$enable_rpath" = no \
331 kx || test "X$found_dir" = "X/usr/$acl_libdirstem" \
331 kx || test "X$found_dir" = "X/usr/$acl_libdirstem2" \
331 kx || test "X$found_dir" = "X/usr/$acl_libdirstem3"; then
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
331 kx else
331 kx haveit=
331 kx for x in $ltrpathdirs; do
331 kx if test "X$x" = "X$found_dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx ltrpathdirs="$ltrpathdirs $found_dir"
331 kx fi
331 kx if test "$acl_hardcode_direct" = yes; then
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
331 kx else
331 kx if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
331 kx haveit=
331 kx for x in $rpathdirs; do
331 kx if test "X$x" = "X$found_dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx rpathdirs="$rpathdirs $found_dir"
331 kx fi
331 kx else
331 kx haveit=
331 kx for x in $LDFLAGS $LIBINTL; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-L$found_dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
331 kx fi
331 kx if test "$acl_hardcode_minus_L" != no; then
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
331 kx else
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx else
331 kx if test "X$found_a" != "X"; then
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
331 kx else
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
331 kx fi
331 kx fi
331 kx additional_includedir=
331 kx case "$found_dir" in
331 kx */$acl_libdirstem | */$acl_libdirstem/)
331 kx basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
331 kx if test "$name" = 'intl'; then
331 kx LIBINTL_PREFIX="$basedir"
331 kx fi
331 kx additional_includedir="$basedir/include"
331 kx ;;
331 kx */$acl_libdirstem2 | */$acl_libdirstem2/)
331 kx basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
331 kx if test "$name" = 'intl'; then
331 kx LIBINTL_PREFIX="$basedir"
331 kx fi
331 kx additional_includedir="$basedir/include"
331 kx ;;
331 kx */$acl_libdirstem3 | */$acl_libdirstem3/)
331 kx basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem3/"'*$,,'`
331 kx if test "$name" = 'intl'; then
331 kx LIBINTL_PREFIX="$basedir"
331 kx fi
331 kx additional_includedir="$basedir/include"
331 kx ;;
331 kx esac
331 kx if test "X$additional_includedir" != "X"; then
331 kx if test "X$additional_includedir" != "X/usr/include"; then
331 kx haveit=
331 kx if test "X$additional_includedir" = "X/usr/local/include"; then
331 kx if test -n "$GCC"; then
331 kx case $host_os in
331 kx linux* | gnu* | k*bsd*-gnu) haveit=yes;;
331 kx esac
331 kx fi
331 kx fi
331 kx if test -z "$haveit"; then
331 kx for x in $CPPFLAGS $INCINTL; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-I$additional_includedir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx if test -d "$additional_includedir"; then
331 kx INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx if test -n "$found_la"; then
331 kx save_libdir="$libdir"
331 kx case "$found_la" in
331 kx */* | *\\*) . "$found_la" ;;
331 kx *) . "./$found_la" ;;
331 kx esac
331 kx libdir="$save_libdir"
331 kx for dep in $dependency_libs; do
331 kx case "$dep" in
331 kx -L*)
331 kx dependency_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
331 kx if test "X$dependency_libdir" != "X/usr/$acl_libdirstem" \
331 kx && test "X$dependency_libdir" != "X/usr/$acl_libdirstem2" \
331 kx && test "X$dependency_libdir" != "X/usr/$acl_libdirstem3"; then
331 kx haveit=
331 kx if test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem" \
331 kx || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem2" \
331 kx || test "X$dependency_libdir" = "X/usr/local/$acl_libdirstem3"; then
331 kx if test -n "$GCC"; then
331 kx case $host_os in
331 kx linux* | gnu* | k*bsd*-gnu) haveit=yes;;
331 kx esac
331 kx fi
331 kx fi
331 kx if test -z "$haveit"; then
331 kx haveit=
331 kx for x in $LDFLAGS $LIBINTL; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-L$dependency_libdir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx if test -d "$dependency_libdir"; then
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }-L$dependency_libdir"
331 kx fi
331 kx fi
331 kx haveit=
331 kx for x in $LDFLAGS $LTLIBINTL; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X-L$dependency_libdir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx if test -d "$dependency_libdir"; then
331 kx LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$dependency_libdir"
331 kx fi
331 kx fi
331 kx fi
331 kx fi
331 kx ;;
331 kx -R*)
331 kx dir=`echo "X$dep" | sed -e 's/^X-R//'`
331 kx if test "$enable_rpath" != no; then
331 kx haveit=
331 kx for x in $rpathdirs; do
331 kx if test "X$x" = "X$dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx rpathdirs="$rpathdirs $dir"
331 kx fi
331 kx haveit=
331 kx for x in $ltrpathdirs; do
331 kx if test "X$x" = "X$dir"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx ltrpathdirs="$ltrpathdirs $dir"
331 kx fi
331 kx fi
331 kx ;;
331 kx -l*)
331 kx dep=`echo "X$dep" | sed -e 's/^X-l//'`
331 kx if test "X$dep" != Xc \
331 kx || case $host_os in
331 kx linux* | gnu* | k*bsd*-gnu) false ;;
331 kx *) true ;;
331 kx esac; then
331 kx names_next_round="$names_next_round $dep"
331 kx fi
331 kx ;;
331 kx *.la)
331 kx names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
331 kx ;;
331 kx *)
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
331 kx LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
331 kx ;;
331 kx esac
331 kx done
331 kx fi
331 kx else
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
331 kx LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
331 kx fi
331 kx fi
331 kx fi
331 kx done
331 kx done
331 kx if test "X$rpathdirs" != "X"; then
331 kx if test -n "$acl_hardcode_libdir_separator"; then
331 kx alldirs=
331 kx for found_dir in $rpathdirs; do
331 kx alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
331 kx done
331 kx acl_save_libdir="$libdir"
331 kx libdir="$alldirs"
331 kx eval flag=\"$acl_hardcode_libdir_flag_spec\"
331 kx libdir="$acl_save_libdir"
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
331 kx else
331 kx for found_dir in $rpathdirs; do
331 kx acl_save_libdir="$libdir"
331 kx libdir="$found_dir"
331 kx eval flag=\"$acl_hardcode_libdir_flag_spec\"
331 kx libdir="$acl_save_libdir"
331 kx LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
331 kx done
331 kx fi
331 kx fi
331 kx if test "X$ltrpathdirs" != "X"; then
331 kx for found_dir in $ltrpathdirs; do
331 kx LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
331 kx done
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
331 kx printf %s "checking for GNU gettext in libintl... " >&6; }
331 kx if eval test \${$gt_func_gnugettext_libintl+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx gt_save_CPPFLAGS="$CPPFLAGS"
331 kx CPPFLAGS="$CPPFLAGS $INCINTL"
331 kx gt_save_LIBS="$LIBS"
331 kx LIBS="$LIBS $LIBINTL"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #include <libintl.h>
331 kx #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
331 kx extern int _nl_msg_cat_cntr;
331 kx extern
331 kx #ifdef __cplusplus
331 kx "C"
331 kx #endif
331 kx const char *_nl_expand_alias (const char *);
331 kx #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
331 kx #else
331 kx #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
331 kx #endif
331 kx $gt_revision_test_code
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx bindtextdomain ("", "");
331 kx return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx eval "$gt_func_gnugettext_libintl=yes"
331 kx else $as_nop
331 kx eval "$gt_func_gnugettext_libintl=no"
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
331 kx LIBS="$LIBS $LIBICONV"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx #include <libintl.h>
331 kx #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
331 kx extern int _nl_msg_cat_cntr;
331 kx extern
331 kx #ifdef __cplusplus
331 kx "C"
331 kx #endif
331 kx const char *_nl_expand_alias (const char *);
331 kx #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
331 kx #else
331 kx #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
331 kx #endif
331 kx $gt_revision_test_code
331 kx
331 kx int
331 kx main (void)
331 kx {
331 kx
331 kx bindtextdomain ("", "");
331 kx return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
331 kx
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx LIBINTL="$LIBINTL $LIBICONV"
331 kx LTLIBINTL="$LTLIBINTL $LTLIBICONV"
331 kx eval "$gt_func_gnugettext_libintl=yes"
331 kx
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx fi
331 kx CPPFLAGS="$gt_save_CPPFLAGS"
331 kx LIBS="$gt_save_LIBS"
331 kx fi
331 kx eval ac_res=\$$gt_func_gnugettext_libintl
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
331 kx printf "%s\n" "$ac_res" >&6; }
331 kx fi
331 kx
331 kx if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
331 kx || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
331 kx && test "$PACKAGE" != gettext-runtime \
331 kx && test "$PACKAGE" != gettext-tools; }; then
331 kx gt_use_preinstalled_gnugettext=yes
331 kx else
331 kx LIBINTL=
331 kx LTLIBINTL=
331 kx INCINTL=
331 kx fi
331 kx
331 kx
331 kx
331 kx if test -n "$INTL_MACOSX_LIBS"; then
331 kx if test "$gt_use_preinstalled_gnugettext" = "yes" \
331 kx || test "$nls_cv_use_gnu_gettext" = "yes"; then
331 kx LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
331 kx LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
331 kx fi
331 kx fi
331 kx
331 kx if test "$gt_use_preinstalled_gnugettext" = "yes" \
331 kx || test "$nls_cv_use_gnu_gettext" = "yes"; then
331 kx
331 kx printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
331 kx
331 kx else
331 kx USE_NLS=no
331 kx fi
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
331 kx printf %s "checking whether to use NLS... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
331 kx printf "%s\n" "$USE_NLS" >&6; }
331 kx if test "$USE_NLS" = "yes"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
331 kx printf %s "checking where the gettext function comes from... " >&6; }
331 kx if test "$gt_use_preinstalled_gnugettext" = "yes"; then
331 kx if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
331 kx gt_source="external libintl"
331 kx else
331 kx gt_source="libc"
331 kx fi
331 kx else
331 kx gt_source="included intl directory"
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
331 kx printf "%s\n" "$gt_source" >&6; }
331 kx fi
331 kx
331 kx if test "$USE_NLS" = "yes"; then
331 kx
331 kx if test "$gt_use_preinstalled_gnugettext" = "yes"; then
331 kx if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
331 kx printf %s "checking how to link with libintl... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
331 kx printf "%s\n" "$LIBINTL" >&6; }
331 kx
331 kx for element in $INCINTL; do
331 kx haveit=
331 kx for x in $CPPFLAGS; do
331 kx
331 kx acl_save_prefix="$prefix"
331 kx prefix="$acl_final_prefix"
331 kx acl_save_exec_prefix="$exec_prefix"
331 kx exec_prefix="$acl_final_exec_prefix"
331 kx eval x=\"$x\"
331 kx exec_prefix="$acl_save_exec_prefix"
331 kx prefix="$acl_save_prefix"
331 kx
331 kx if test "X$x" = "X$element"; then
331 kx haveit=yes
331 kx break
331 kx fi
331 kx done
331 kx if test -z "$haveit"; then
331 kx CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
331 kx fi
331 kx done
331 kx
331 kx fi
331 kx
331 kx
331 kx printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
331 kx
331 kx
331 kx printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx POSUB=po
331 kx fi
331 kx
331 kx
331 kx
331 kx INTLLIBS="$LIBINTL"
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx avahilocaledir='${prefix}/${DATADIRNAME}/locale'
331 kx
331 kx
331 kx # Check for pkg-config manually first, as if its not installed the
331 kx # PKG_PROG_PKG_CONFIG macro won't be defined.
331 kx # Extract the first word of "pkg-config", so it can be a program name with args.
331 kx set dummy pkg-config; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_have_pkg_config+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$have_pkg_config"; then
331 kx ac_cv_prog_have_pkg_config="$have_pkg_config" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_have_pkg_config="yes"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx test -z "$ac_cv_prog_have_pkg_config" && ac_cv_prog_have_pkg_config="no"
331 kx fi
331 kx fi
331 kx have_pkg_config=$ac_cv_prog_have_pkg_config
331 kx if test -n "$have_pkg_config"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_pkg_config" >&5
331 kx printf "%s\n" "$have_pkg_config" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx
331 kx if test x"$have_pkg_config" = "xno"; then
331 kx as_fn_error $? "pkg-config is required to install this program" "$LINENO" 5
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_PKG_CONFIG+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $PKG_CONFIG in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx PKG_CONFIG=$ac_cv_path_PKG_CONFIG
331 kx if test -n "$PKG_CONFIG"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
331 kx printf "%s\n" "$PKG_CONFIG" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_PKG_CONFIG"; then
331 kx ac_pt_PKG_CONFIG=$PKG_CONFIG
331 kx # Extract the first word of "pkg-config", so it can be a program name with args.
331 kx set dummy pkg-config; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_PKG_CONFIG in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
331 kx if test -n "$ac_pt_PKG_CONFIG"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
331 kx printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_PKG_CONFIG" = x; then
331 kx PKG_CONFIG=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx PKG_CONFIG=$ac_pt_PKG_CONFIG
331 kx fi
331 kx else
331 kx PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
331 kx fi
331 kx
331 kx fi
331 kx if test -n "$PKG_CONFIG"; then
331 kx _pkg_min_version=0.9.0
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
331 kx printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
331 kx if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx PKG_CONFIG=""
331 kx fi
331 kx fi
331 kx
331 kx #
331 kx # Check for GLIB 2.0
331 kx #
331 kx # Check whether --enable-glib was given.
331 kx if test ${enable_glib+y}
331 kx then :
331 kx enableval=$enable_glib; case "${enableval}" in
331 kx yes) HAVE_GLIB=yes ;;
331 kx no) HAVE_GLIB=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-glib" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_GLIB=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_GLIB" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4.0 " >&5
331 kx printf %s "checking for glib-2.0 >= 2.4.0 ... " >&6; }
331 kx
331 kx if test -n "$GLIB20_CFLAGS"; then
331 kx pkg_cv_GLIB20_CFLAGS="$GLIB20_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GLIB20_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.4.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$GLIB20_LIBS"; then
331 kx pkg_cv_GLIB20_LIBS="$GLIB20_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GLIB20_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.4.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx GLIB20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " glib-2.0 >= 2.4.0 " 2>&1`
331 kx else
331 kx GLIB20_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " glib-2.0 >= 2.4.0 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$GLIB20_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( glib-2.0 >= 2.4.0 ) were not met:
331 kx
331 kx $GLIB20_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables GLIB20_CFLAGS
331 kx and GLIB20_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables GLIB20_CFLAGS
331 kx and GLIB20_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx GLIB20_CFLAGS=$pkg_cv_GLIB20_CFLAGS
331 kx GLIB20_LIBS=$pkg_cv_GLIB20_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test "x$HAVE_GLIB" = "xyes"; then
331 kx HAVE_GLIB_TRUE=
331 kx HAVE_GLIB_FALSE='#'
331 kx else
331 kx HAVE_GLIB_TRUE='#'
331 kx HAVE_GLIB_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for GLIB's gobject 2.0
331 kx #
331 kx # Check whether --enable-gobject was given.
331 kx if test ${enable_gobject+y}
331 kx then :
331 kx enableval=$enable_gobject; case "${enableval}" in
331 kx yes) HAVE_GOBJECT=yes ;;
331 kx no) HAVE_GOBJECT=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-gobject" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_GOBJECT=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_GOBJECT" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4.0 gobject-2.0 " >&5
331 kx printf %s "checking for glib-2.0 >= 2.4.0 gobject-2.0 ... " >&6; }
331 kx
331 kx if test -n "$GOBJECT_CFLAGS"; then
331 kx pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 gobject-2.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags " glib-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$GOBJECT_LIBS"; then
331 kx pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" glib-2.0 >= 2.4.0 gobject-2.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " glib-2.0 >= 2.4.0 gobject-2.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs " glib-2.0 >= 2.4.0 gobject-2.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " glib-2.0 >= 2.4.0 gobject-2.0 " 2>&1`
331 kx else
331 kx GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " glib-2.0 >= 2.4.0 gobject-2.0 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$GOBJECT_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( glib-2.0 >= 2.4.0 gobject-2.0 ) were not met:
331 kx
331 kx $GOBJECT_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables GOBJECT_CFLAGS
331 kx and GOBJECT_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables GOBJECT_CFLAGS
331 kx and GOBJECT_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
331 kx GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test "x$HAVE_GOBJECT" = "xyes"; then
331 kx HAVE_GOBJECT_TRUE=
331 kx HAVE_GOBJECT_FALSE='#'
331 kx else
331 kx HAVE_GOBJECT_TRUE='#'
331 kx HAVE_GOBJECT_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Introspection support.
331 kx #
331 kx
331 kx
331 kx
331 kx # Check whether --enable-introspection was given.
331 kx if test ${enable_introspection+y}
331 kx then :
331 kx enableval=$enable_introspection;
331 kx else $as_nop
331 kx enable_introspection=auto
331 kx fi
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
331 kx printf %s "checking for gobject-introspection... " >&6; }
331 kx
331 kx case $enable_introspection in #(
331 kx no) :
331 kx found_introspection="no (disabled, use --enable-introspection to enable)"
331 kx ;; #(
331 kx yes) :
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx :
331 kx else
331 kx as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
331 kx fi
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx found_introspection=yes
331 kx else
331 kx as_fn_error $? "You need to have gobject-introspection >= 0.9.5 installed to build avahi" "$LINENO" 5
331 kx fi
331 kx ;; #(
331 kx auto) :
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.5\""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.5") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx found_introspection=yes
331 kx else
331 kx found_introspection=no
331 kx fi
331 kx ;; #(
331 kx *) :
331 kx as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
331 kx printf "%s\n" "$found_introspection" >&6; }
331 kx
331 kx INTROSPECTION_SCANNER=
331 kx INTROSPECTION_COMPILER=
331 kx INTROSPECTION_GENERATE=
331 kx INTROSPECTION_GIRDIR=
331 kx INTROSPECTION_TYPELIBDIR=
331 kx if test "x$found_introspection" = "xyes"; then
331 kx INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
331 kx INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
331 kx INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
331 kx INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
331 kx INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
331 kx INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
331 kx INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
331 kx INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test "x$found_introspection" = "xyes"; then
331 kx HAVE_INTROSPECTION_TRUE=
331 kx HAVE_INTROSPECTION_FALSE='#'
331 kx else
331 kx HAVE_INTROSPECTION_TRUE='#'
331 kx HAVE_INTROSPECTION_FALSE=
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx #
331 kx # Check for libevent 2.0.21
331 kx #
331 kx # Check whether --enable-libevent was given.
331 kx if test ${enable_libevent+y}
331 kx then :
331 kx enableval=$enable_libevent; case "${enableval}" in
331 kx yes) HAVE_LIBEVENT=yes ;;
331 kx no) HAVE_LIBEVENT=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-libevent" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_LIBEVENT=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_LIBEVENT" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libevent >= 2.0.21 " >&5
331 kx printf %s "checking for libevent >= 2.0.21 ... " >&6; }
331 kx
331 kx if test -n "$LIBEVENT_CFLAGS"; then
331 kx pkg_cv_LIBEVENT_CFLAGS="$LIBEVENT_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libevent >= 2.0.21 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " libevent >= 2.0.21 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_LIBEVENT_CFLAGS=`$PKG_CONFIG --cflags " libevent >= 2.0.21 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$LIBEVENT_LIBS"; then
331 kx pkg_cv_LIBEVENT_LIBS="$LIBEVENT_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libevent >= 2.0.21 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " libevent >= 2.0.21 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_LIBEVENT_LIBS=`$PKG_CONFIG --libs " libevent >= 2.0.21 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx LIBEVENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libevent >= 2.0.21 " 2>&1`
331 kx else
331 kx LIBEVENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libevent >= 2.0.21 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$LIBEVENT_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( libevent >= 2.0.21 ) were not met:
331 kx
331 kx $LIBEVENT_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables LIBEVENT_CFLAGS
331 kx and LIBEVENT_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables LIBEVENT_CFLAGS
331 kx and LIBEVENT_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx LIBEVENT_CFLAGS=$pkg_cv_LIBEVENT_CFLAGS
331 kx LIBEVENT_LIBS=$pkg_cv_LIBEVENT_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test "x$HAVE_LIBEVENT" = "xyes"; then
331 kx HAVE_LIBEVENT_TRUE=
331 kx HAVE_LIBEVENT_FALSE='#'
331 kx else
331 kx HAVE_LIBEVENT_TRUE='#'
331 kx HAVE_LIBEVENT_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for Qt 3
331 kx #
331 kx # Check whether --enable-qt3 was given.
331 kx if test ${enable_qt3+y}
331 kx then :
331 kx enableval=$enable_qt3; case "${enableval}" in
331 kx yes) HAVE_QT3=yes ;;
331 kx no) HAVE_QT3=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-qt3" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_QT3=no
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_QT3" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for qt-mt >= 3.0.0 " >&5
331 kx printf %s "checking for qt-mt >= 3.0.0 ... " >&6; }
331 kx
331 kx if test -n "$QT3_CFLAGS"; then
331 kx pkg_cv_QT3_CFLAGS="$QT3_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" qt-mt >= 3.0.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " qt-mt >= 3.0.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_QT3_CFLAGS=`$PKG_CONFIG --cflags " qt-mt >= 3.0.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$QT3_LIBS"; then
331 kx pkg_cv_QT3_LIBS="$QT3_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" qt-mt >= 3.0.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " qt-mt >= 3.0.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_QT3_LIBS=`$PKG_CONFIG --libs " qt-mt >= 3.0.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx QT3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " qt-mt >= 3.0.0 " 2>&1`
331 kx else
331 kx QT3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " qt-mt >= 3.0.0 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$QT3_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( qt-mt >= 3.0.0 ) were not met:
331 kx
331 kx $QT3_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables QT3_CFLAGS
331 kx and QT3_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables QT3_CFLAGS
331 kx and QT3_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx QT3_CFLAGS=$pkg_cv_QT3_CFLAGS
331 kx QT3_LIBS=$pkg_cv_QT3_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx QT3_PREFIX="`$PKG_CONFIG --variable=prefix qt-mt`/bin"
331 kx for ac_prog in moc-qt3 moc
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MOC_QT3+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MOC_QT3 in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MOC_QT3="$MOC_QT3" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $QT3_PREFIX
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_MOC_QT3="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx MOC_QT3=$ac_cv_path_MOC_QT3
331 kx if test -n "$MOC_QT3"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC_QT3" >&5
331 kx printf "%s\n" "$MOC_QT3" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$MOC_QT3" && break
331 kx done
331 kx test -n "$MOC_QT3" || MOC_QT3="no"
331 kx
331 kx if test "$MOC_QT3" = no; then
331 kx as_fn_error $? "Could not find QT3 moc" "$LINENO" 5
331 kx fi
331 kx
331 kx fi
331 kx if test "x$HAVE_QT3" = "xyes"; then
331 kx HAVE_QT3_TRUE=
331 kx HAVE_QT3_FALSE='#'
331 kx else
331 kx HAVE_QT3_TRUE='#'
331 kx HAVE_QT3_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for Qt 4
331 kx #
331 kx # Check whether --enable-qt4 was given.
331 kx if test ${enable_qt4+y}
331 kx then :
331 kx enableval=$enable_qt4; case "${enableval}" in
331 kx yes) HAVE_QT4=yes ;;
331 kx no) HAVE_QT4=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-qt4" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_QT4=no
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_QT4" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for QtCore >= 4.0.0 " >&5
331 kx printf %s "checking for QtCore >= 4.0.0 ... " >&6; }
331 kx
331 kx if test -n "$QT4_CFLAGS"; then
331 kx pkg_cv_QT4_CFLAGS="$QT4_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" QtCore >= 4.0.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " QtCore >= 4.0.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_QT4_CFLAGS=`$PKG_CONFIG --cflags " QtCore >= 4.0.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$QT4_LIBS"; then
331 kx pkg_cv_QT4_LIBS="$QT4_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" QtCore >= 4.0.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " QtCore >= 4.0.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_QT4_LIBS=`$PKG_CONFIG --libs " QtCore >= 4.0.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx QT4_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " QtCore >= 4.0.0 " 2>&1`
331 kx else
331 kx QT4_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " QtCore >= 4.0.0 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$QT4_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( QtCore >= 4.0.0 ) were not met:
331 kx
331 kx $QT4_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables QT4_CFLAGS
331 kx and QT4_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables QT4_CFLAGS
331 kx and QT4_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx QT4_CFLAGS=$pkg_cv_QT4_CFLAGS
331 kx QT4_LIBS=$pkg_cv_QT4_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx QT4_PREFIX="`$PKG_CONFIG --variable=prefix QtCore`/bin"
331 kx for ac_prog in moc-qt4 moc
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MOC_QT4+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MOC_QT4 in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MOC_QT4="$MOC_QT4" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $QT4_PREFIX
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_MOC_QT4="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx MOC_QT4=$ac_cv_path_MOC_QT4
331 kx if test -n "$MOC_QT4"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC_QT4" >&5
331 kx printf "%s\n" "$MOC_QT4" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$MOC_QT4" && break
331 kx done
331 kx test -n "$MOC_QT4" || MOC_QT4="no"
331 kx
331 kx if test "$MOC_QT4" = no; then
331 kx as_fn_error $? "Could not find QT4 moc" "$LINENO" 5
331 kx fi
331 kx
331 kx fi
331 kx if test "x$HAVE_QT4" = "xyes"; then
331 kx HAVE_QT4_TRUE=
331 kx HAVE_QT4_FALSE='#'
331 kx else
331 kx HAVE_QT4_TRUE='#'
331 kx HAVE_QT4_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for Qt 5
331 kx #
331 kx # Check whether --enable-qt5 was given.
331 kx if test ${enable_qt5+y}
331 kx then :
331 kx enableval=$enable_qt5; case "${enableval}" in
331 kx yes) HAVE_QT5=yes ;;
331 kx no) HAVE_QT5=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-qt5" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_QT5=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_QT5" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Qt5Core >= 5.0.0 " >&5
331 kx printf %s "checking for Qt5Core >= 5.0.0 ... " >&6; }
331 kx
331 kx if test -n "$QT5_CFLAGS"; then
331 kx pkg_cv_QT5_CFLAGS="$QT5_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" Qt5Core >= 5.0.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " Qt5Core >= 5.0.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_QT5_CFLAGS=`$PKG_CONFIG --cflags " Qt5Core >= 5.0.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$QT5_LIBS"; then
331 kx pkg_cv_QT5_LIBS="$QT5_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" Qt5Core >= 5.0.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " Qt5Core >= 5.0.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_QT5_LIBS=`$PKG_CONFIG --libs " Qt5Core >= 5.0.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx QT5_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " Qt5Core >= 5.0.0 " 2>&1`
331 kx else
331 kx QT5_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " Qt5Core >= 5.0.0 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$QT5_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( Qt5Core >= 5.0.0 ) were not met:
331 kx
331 kx $QT5_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables QT5_CFLAGS
331 kx and QT5_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables QT5_CFLAGS
331 kx and QT5_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx QT5_CFLAGS=$pkg_cv_QT5_CFLAGS
331 kx QT5_LIBS=$pkg_cv_QT5_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx ac_ext=cpp
331 kx ac_cpp='$CXXCPP $CPPFLAGS'
331 kx ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
331 kx
331 kx save_CPPFLAGS="$CPPFLAGS"
331 kx CPPFLAGS="$CPPFLAGS $QT5_CFLAGS"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Qt works without -fPIC" >&5
331 kx printf %s "checking whether Qt works without -fPIC... " >&6; }
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <QtCore>
331 kx _ACEOF
331 kx if ac_fn_cxx_try_cpp "$LINENO"
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else $as_nop
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether Qt works with -fPIC" >&5
331 kx printf %s "checking whether Qt works with -fPIC... " >&6; }
331 kx CPPFLAGS="$CPPFLAGS -fPIC"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx #include <QtCore>
331 kx _ACEOF
331 kx if ac_fn_cxx_try_cpp "$LINENO"
331 kx then :
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx QT5_CFLAGS="$QT5_CFLAGS -fPIC"
331 kx
331 kx else $as_nop
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "Couldn't compile Qt without -fPIC nor with -fPIC" "$LINENO" 5
331 kx
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx
331 kx fi
331 kx rm -f conftest.err conftest.i conftest.$ac_ext
331 kx CPPFLAGS="$save_CPPFLAGS"
331 kx ac_ext=c
331 kx ac_cpp='$CPP $CPPFLAGS'
331 kx ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
331 kx ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
331 kx ac_compiler_gnu=$ac_cv_c_compiler_gnu
331 kx
331 kx
331 kx
331 kx
331 kx QT5_PREFIX="`$PKG_CONFIG --variable=host_bins Qt5Core`"
331 kx for ac_prog in moc-qt5 moc
331 kx do
331 kx # Extract the first word of "$ac_prog", so it can be a program name with args.
331 kx set dummy $ac_prog; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MOC_QT5+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MOC_QT5 in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MOC_QT5="$MOC_QT5" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $QT5_PREFIX
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_MOC_QT5="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx MOC_QT5=$ac_cv_path_MOC_QT5
331 kx if test -n "$MOC_QT5"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MOC_QT5" >&5
331 kx printf "%s\n" "$MOC_QT5" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx test -n "$MOC_QT5" && break
331 kx done
331 kx test -n "$MOC_QT5" || MOC_QT5="no"
331 kx
331 kx if test "$MOC_QT5" = no; then
331 kx as_fn_error $? "Could not find QT5 moc" "$LINENO" 5
331 kx fi
331 kx
331 kx fi
331 kx if test "x$HAVE_QT5" = "xyes"; then
331 kx HAVE_QT5_TRUE=
331 kx HAVE_QT5_FALSE='#'
331 kx else
331 kx HAVE_QT5_TRUE='#'
331 kx HAVE_QT5_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for GTK+ 2.0
331 kx #
331 kx # Check whether --enable-gtk was given.
331 kx if test ${enable_gtk+y}
331 kx then :
331 kx enableval=$enable_gtk; case "${enableval}" in
331 kx yes) HAVE_GTK=yes ;;
331 kx no) HAVE_GTK=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-gtk" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_GTK=no
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_GTK" = "xyes" ; then
331 kx # Check for GTK 2.0
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.14.0 " >&5
331 kx printf %s "checking for gtk+-2.0 >= 2.14.0 ... " >&6; }
331 kx
331 kx if test -n "$GTK20_CFLAGS"; then
331 kx pkg_cv_GTK20_CFLAGS="$GTK20_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 >= 2.14.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " gtk+-2.0 >= 2.14.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GTK20_CFLAGS=`$PKG_CONFIG --cflags " gtk+-2.0 >= 2.14.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$GTK20_LIBS"; then
331 kx pkg_cv_GTK20_LIBS="$GTK20_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-2.0 >= 2.14.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " gtk+-2.0 >= 2.14.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GTK20_LIBS=`$PKG_CONFIG --libs " gtk+-2.0 >= 2.14.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx GTK20_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " gtk+-2.0 >= 2.14.0 " 2>&1`
331 kx else
331 kx GTK20_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " gtk+-2.0 >= 2.14.0 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$GTK20_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( gtk+-2.0 >= 2.14.0 ) were not met:
331 kx
331 kx $GTK20_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables GTK20_CFLAGS
331 kx and GTK20_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables GTK20_CFLAGS
331 kx and GTK20_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx GTK20_CFLAGS=$pkg_cv_GTK20_CFLAGS
331 kx GTK20_LIBS=$pkg_cv_GTK20_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test "x$HAVE_GTK" = "xyes"; then
331 kx HAVE_GTK_TRUE=
331 kx HAVE_GTK_FALSE='#'
331 kx else
331 kx HAVE_GTK_TRUE='#'
331 kx HAVE_GTK_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for GTK+ 3.0
331 kx #
331 kx # Check whether --enable-gtk3 was given.
331 kx if test ${enable_gtk3+y}
331 kx then :
331 kx enableval=$enable_gtk3; case "${enableval}" in
331 kx yes) HAVE_GTK3=yes ;;
331 kx no) HAVE_GTK3=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-gtk3" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_GTK3=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_GTK3" = "xyes" ; then
331 kx # Check for GTK 3.0
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 " >&5
331 kx printf %s "checking for gtk+-3.0 ... " >&6; }
331 kx
331 kx if test -n "$GTK30_CFLAGS"; then
331 kx pkg_cv_GTK30_CFLAGS="$GTK30_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-3.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " gtk+-3.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GTK30_CFLAGS=`$PKG_CONFIG --cflags " gtk+-3.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$GTK30_LIBS"; then
331 kx pkg_cv_GTK30_LIBS="$GTK30_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gtk+-3.0 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " gtk+-3.0 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_GTK30_LIBS=`$PKG_CONFIG --libs " gtk+-3.0 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx GTK30_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " gtk+-3.0 " 2>&1`
331 kx else
331 kx GTK30_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " gtk+-3.0 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$GTK30_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( gtk+-3.0 ) were not met:
331 kx
331 kx $GTK30_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables GTK30_CFLAGS
331 kx and GTK30_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables GTK30_CFLAGS
331 kx and GTK30_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx GTK30_CFLAGS=$pkg_cv_GTK30_CFLAGS
331 kx GTK30_LIBS=$pkg_cv_GTK30_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test "x$HAVE_GTK3" = "xyes"; then
331 kx HAVE_GTK3_TRUE=
331 kx HAVE_GTK3_FALSE='#'
331 kx else
331 kx HAVE_GTK3_TRUE='#'
331 kx HAVE_GTK3_FALSE=
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_GTK3" = "xyes" -o "x$HAVE_GTK" = "xyes" ; then
331 kx HAVE_GTK2OR3_TRUE=
331 kx HAVE_GTK2OR3_FALSE='#'
331 kx else
331 kx HAVE_GTK2OR3_TRUE='#'
331 kx HAVE_GTK2OR3_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # D-Bus
331 kx #
331 kx # Check whether --enable-dbus was given.
331 kx if test ${enable_dbus+y}
331 kx then :
331 kx enableval=$enable_dbus; case "${enableval}" in
331 kx yes) HAVE_DBUS=yes ;;
331 kx no) HAVE_DBUS=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-dbus" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_DBUS=yes
331 kx fi
331 kx
331 kx
331 kx
331 kx # Check whether --with-dbus-sys was given.
331 kx if test ${with_dbus_sys+y}
331 kx then :
331 kx withval=$with_dbus_sys;
331 kx fi
331 kx
331 kx
331 kx # Check whether --with-dbus-system-socket was given.
331 kx if test ${with_dbus_system_socket+y}
331 kx then :
331 kx withval=$with_dbus_system_socket;
331 kx fi
331 kx
331 kx
331 kx DBUS_VERSION="Disabled"
331 kx DBUS_SYS_DIR="Disabled"
331 kx DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="Disabled"
331 kx if test "x$HAVE_DBUS" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dbus-1 >= 0.34 " >&5
331 kx printf %s "checking for dbus-1 >= 0.34 ... " >&6; }
331 kx
331 kx if test -n "$DBUS_CFLAGS"; then
331 kx pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 0.34 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " dbus-1 >= 0.34 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags " dbus-1 >= 0.34 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$DBUS_LIBS"; then
331 kx pkg_cv_DBUS_LIBS="$DBUS_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" dbus-1 >= 0.34 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " dbus-1 >= 0.34 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs " dbus-1 >= 0.34 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " dbus-1 >= 0.34 " 2>&1`
331 kx else
331 kx DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " dbus-1 >= 0.34 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$DBUS_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( dbus-1 >= 0.34 ) were not met:
331 kx
331 kx $DBUS_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables DBUS_CFLAGS
331 kx and DBUS_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables DBUS_CFLAGS
331 kx and DBUS_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
331 kx DBUS_LIBS=$pkg_cv_DBUS_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx printf "%s\n" "#define HAVE_DBUS 1" >>confdefs.h
331 kx
331 kx
331 kx DBUS_VERSION=`$PKG_CONFIG dbus-1 --modversion`
331 kx DBUS_VERSION_MAJOR=`echo $DBUS_VERSION | awk -F. '{print $1}'`
331 kx DBUS_VERSION_MINOR=`echo $DBUS_VERSION | awk -F. '{print $2}'`
331 kx DBUS_VERSION_MICRO=`echo $DBUS_VERSION | awk -F. '{print $3}'`
331 kx if test "z$DBUS_VERSION_MAJOR" = "z"; then
331 kx DBUS_VERSION_MAJOR="0"
331 kx fi
331 kx if test "z$DBUS_VERSION_MINOR" = "z"; then
331 kx DBUS_VERSION_MINOR="0"
331 kx fi
331 kx if test "z$DBUS_VERSION_MICRO" = "z"; then
331 kx DBUS_VERSION_MICRO="0"
331 kx fi
331 kx
331 kx if test "z$DBUS_VERSION_MAJOR" = "z0" -a "z$DBUS_VERSION_MINOR" = "z0" -a "z$DBUS_VERSION_MICRO" = "z0"; then
331 kx echo "Error: Couldn't determine the version of your D-Bus package."
331 kx echo " This is probably an error in this script, please report it"
331 kx echo " along with the following information:"
331 kx echo " Base D-Buss version ='$DBUS_VERSION'"
331 kx echo " DBUS_VERSION_MAJOR='$DBUS_VERSION_MAJOR'"
331 kx echo " DBUS_VERSION_MINOR='$DBUS_VERSION_MINOR'"
331 kx echo " DBUS_VERSION_MICRO='$DBUS_VERSION_MICRO'"
331 kx exit 1
331 kx else
331 kx echo "Your D-Bus version is $DBUS_VERSION_MAJOR,$DBUS_VERSION_MINOR,$DBUS_VERSION_MICRO."
331 kx DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
331 kx DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
331 kx DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
331 kx fi
331 kx
331 kx DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
331 kx
331 kx
331 kx
331 kx if ! test -z "$with_dbus_sys" ; then
331 kx DBUS_SYS_DIR="$with_dbus_sys"
331 kx else
331 kx DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
331 kx fi
331 kx
331 kx
331 kx if ! test -z "$with_dbus_system_address" ; then
331 kx DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="$with_dbus_system_address"
331 kx else
331 kx # This is ugly, but D-Bus doesn't export this address for us
331 kx # so we have to guess, pretty much all setups i've seen have
331 kx # it in /var/lib/dbus or /var/run/dbus, and its defaulted to
331 kx # /var/run upstream so we will try guess first then default
331 kx # to /var/run/dbus.
331 kx
331 kx DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=/var/run/dbus/system_bus_socket"
331 kx TRY_SOCKETS="/var/lib/dbus/system_bus_socket /var/run/dbus/system_bus_socket ${localstatedir}/run/dbus/system_bus_socket ${prefix}/var/run/dbus/system_bus_socket"
331 kx for sock in $TRY_SOCKETS; do
331 kx if test -S $sock; then
331 kx DBUS_SYSTEM_BUS_DEFAULT_ADDRESS="unix:path=$sock"
331 kx fi
331 kx done
331 kx fi
331 kx
331 kx
331 kx SAVED_LIBS="$LIBS"
331 kx LIBS="$LIBS $DBUS_LIBS"
331 kx ac_fn_c_check_func "$LINENO" "dbus_connection_close" "ac_cv_func_dbus_connection_close"
331 kx if test "x$ac_cv_func_dbus_connection_close" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_DBUS_CONNECTION_CLOSE 1" >>confdefs.h
331 kx
331 kx fi
331 kx ac_fn_c_check_func "$LINENO" "dbus_bus_get_private" "ac_cv_func_dbus_bus_get_private"
331 kx if test "x$ac_cv_func_dbus_bus_get_private" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_DBUS_BUS_GET_PRIVATE 1" >>confdefs.h
331 kx
331 kx fi
331 kx
331 kx LIBS="$SAVED_LIBS"
331 kx fi
331 kx if test "x$HAVE_DBUS" = "xyes"; then
331 kx HAVE_DBUS_TRUE=
331 kx HAVE_DBUS_FALSE='#'
331 kx else
331 kx HAVE_DBUS_TRUE='#'
331 kx HAVE_DBUS_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Expat
331 kx #
331 kx
331 kx # Check whether --with-xml was given.
331 kx if test ${with_xml+y}
331 kx then :
331 kx withval=$with_xml;
331 kx fi
331 kx
331 kx use_expat=false
331 kx use_bsdxml=false
331 kx
331 kx # See what we have
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
331 kx printf %s "checking for XML_ParserCreate in -lexpat... " >&6; }
331 kx if test ${ac_cv_lib_expat_XML_ParserCreate+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-lexpat $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char XML_ParserCreate ();
331 kx int
331 kx main (void)
331 kx {
331 kx return XML_ParserCreate ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_expat_XML_ParserCreate=yes
331 kx else $as_nop
331 kx ac_cv_lib_expat_XML_ParserCreate=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
331 kx printf "%s\n" "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
331 kx if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
331 kx then :
331 kx for ac_header in expat.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_expat_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_EXPAT_H 1" >>confdefs.h
331 kx have_expat=true
331 kx else $as_nop
331 kx have_expat=false
331 kx fi
331 kx
331 kx done
331 kx else $as_nop
331 kx have_expat=false
331 kx fi
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lbsdxml" >&5
331 kx printf %s "checking for XML_ParserCreate in -lbsdxml... " >&6; }
331 kx if test ${ac_cv_lib_bsdxml_XML_ParserCreate+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-lbsdxml $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char XML_ParserCreate ();
331 kx int
331 kx main (void)
331 kx {
331 kx return XML_ParserCreate ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_bsdxml_XML_ParserCreate=yes
331 kx else $as_nop
331 kx ac_cv_lib_bsdxml_XML_ParserCreate=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsdxml_XML_ParserCreate" >&5
331 kx printf "%s\n" "$ac_cv_lib_bsdxml_XML_ParserCreate" >&6; }
331 kx if test "x$ac_cv_lib_bsdxml_XML_ParserCreate" = xyes
331 kx then :
331 kx for ac_header in bsdxml.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "bsdxml.h" "ac_cv_header_bsdxml_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_bsdxml_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_BSDXML_H 1" >>confdefs.h
331 kx have_bsdxml=true
331 kx else $as_nop
331 kx have_bsdxml=false
331 kx fi
331 kx
331 kx done
331 kx else $as_nop
331 kx have_bsdxml=false
331 kx fi
331 kx
331 kx
331 kx if test "x$with_xml" = "xnone"; then
331 kx :
331 kx elif test "x$with_xml" = "xexpat"; then
331 kx use_expat=true
331 kx if ! $have_expat ; then
331 kx as_fn_error $? "*** libexpat requested, but not found ***" "$LINENO" 5
331 kx fi
331 kx elif test "x$with_xml" = "xbsdxml"; then
331 kx use_bsdxml=true
331 kx if ! $have_bsdxml ; then
331 kx as_fn_error $? "*** libbsdxml requested, but not found ***" "$LINENO" 5
331 kx fi
331 kx elif test "x$with_xml" != "x"; then
331 kx as_fn_error $? "*** unknown with-xml option ***" "$LINENO" 5
331 kx else
331 kx if $have_expat ; then
331 kx use_expat=true
331 kx elif $have_bsdxml ; then
331 kx use_bsdxml=true
331 kx else
331 kx as_fn_error $? "*** neither libexpat not libbsdxml could be found ***" "$LINENO" 5
331 kx fi
331 kx fi
331 kx
331 kx if $use_expat; then
331 kx with_xml=expat
331 kx XML_CFLAGS=-DUSE_EXPAT_H
331 kx XML_LIBS=-lexpat
331 kx fi
331 kx if $use_bsdxml; then
331 kx with_xml=bsdxml
331 kx XML_CFLAGS=-DUSE_BSDXML_H
331 kx XML_LIBS=-lbsdxml
331 kx fi
331 kx
331 kx
331 kx
331 kx if $use_expat || $use_bsdxml; then
331 kx HAVE_XML=yes
331 kx fi
331 kx
331 kx if test "x$HAVE_XML" = "xyes"; then
331 kx HAVE_XML_TRUE=
331 kx HAVE_XML_FALSE='#'
331 kx else
331 kx HAVE_XML_TRUE='#'
331 kx HAVE_XML_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # GDBM
331 kx #
331 kx #
331 kx # Check for dbm
331 kx #
331 kx # Check whether --enable-dbm was given.
331 kx if test ${enable_dbm+y}
331 kx then :
331 kx enableval=$enable_dbm; case "${enableval}" in
331 kx yes) HAVE_DBM=yes ;;
331 kx no) HAVE_DBM=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-dbm" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_DBM=no
331 kx fi
331 kx
331 kx
331 kx # Check whether --enable-gdbm was given.
331 kx if test ${enable_gdbm+y}
331 kx then :
331 kx enableval=$enable_gdbm; case "${enableval}" in
331 kx yes) HAVE_GDBM=yes ;;
331 kx no) HAVE_GDBM=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --disable-gdbm" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_GDBM=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_GDBM" = "xyes" ; then
331 kx if test "x$HAVE_DBM" = "xyes" ; then
331 kx as_fn_error $? "*** --enable-gdbm and --enable-dbm both specified ***" "$LINENO" 5
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5
331 kx printf %s "checking for gdbm_open in -lgdbm... " >&6; }
331 kx if test ${ac_cv_lib_gdbm_gdbm_open+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx ac_check_lib_save_LIBS=$LIBS
331 kx LIBS="-lgdbm $LIBS"
331 kx cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331 kx /* end confdefs.h. */
331 kx
331 kx /* Override any GCC internal prototype to avoid an error.
331 kx Use char because int might match the return type of a GCC
331 kx builtin and then its argument prototype would still apply. */
331 kx char gdbm_open ();
331 kx int
331 kx main (void)
331 kx {
331 kx return gdbm_open ();
331 kx ;
331 kx return 0;
331 kx }
331 kx _ACEOF
331 kx if ac_fn_c_try_link "$LINENO"
331 kx then :
331 kx ac_cv_lib_gdbm_gdbm_open=yes
331 kx else $as_nop
331 kx ac_cv_lib_gdbm_gdbm_open=no
331 kx fi
331 kx rm -f core conftest.err conftest.$ac_objext conftest.beam \
331 kx conftest$ac_exeext conftest.$ac_ext
331 kx LIBS=$ac_check_lib_save_LIBS
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5
331 kx printf "%s\n" "$ac_cv_lib_gdbm_gdbm_open" >&6; }
331 kx if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes
331 kx then :
331 kx for ac_header in gdbm.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_gdbm_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_GDBM_H 1" >>confdefs.h
331 kx have_gdbm=true
331 kx else $as_nop
331 kx have_gdbm=false
331 kx fi
331 kx
331 kx done
331 kx else $as_nop
331 kx have_gdbm=false
331 kx fi
331 kx
331 kx
331 kx if ! $have_gdbm ; then
331 kx as_fn_error $? "*** libgdbm not found ***" "$LINENO" 5
331 kx fi
331 kx
331 kx printf "%s\n" "#define HAVE_GDBM /**/" >>confdefs.h
331 kx
331 kx else
331 kx if test "x$HAVE_DBM" = "xyes" ; then
331 kx for ac_header in ndbm.h
331 kx do :
331 kx ac_fn_c_check_header_compile "$LINENO" "ndbm.h" "ac_cv_header_ndbm_h" "$ac_includes_default"
331 kx if test "x$ac_cv_header_ndbm_h" = xyes
331 kx then :
331 kx printf "%s\n" "#define HAVE_NDBM_H 1" >>confdefs.h
331 kx have_dbm=true
331 kx else $as_nop
331 kx have_dbm=false
331 kx fi
331 kx
331 kx done
331 kx
331 kx if ! $have_dbm ; then
331 kx as_fn_error $? "*** dbm not found ***" "$LINENO" 5
331 kx fi
331 kx
331 kx printf "%s\n" "#define HAVE_DBM /**/" >>confdefs.h
331 kx
331 kx fi
331 kx fi
331 kx if test "x$HAVE_GDBM" = "xyes"; then
331 kx HAVE_GDBM_TRUE=
331 kx HAVE_GDBM_FALSE='#'
331 kx else
331 kx HAVE_GDBM_TRUE='#'
331 kx HAVE_GDBM_FALSE=
331 kx fi
331 kx
331 kx if test "x$HAVE_DBM" = "xyes"; then
331 kx HAVE_DBM_TRUE=
331 kx HAVE_DBM_FALSE='#'
331 kx else
331 kx HAVE_DBM_TRUE='#'
331 kx HAVE_DBM_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # libdaemon
331 kx #
331 kx # Check whether --enable-libdaemon was given.
331 kx if test ${enable_libdaemon+y}
331 kx then :
331 kx enableval=$enable_libdaemon; case "${enableval}" in
331 kx yes) HAVE_LIBDAEMON=yes ;;
331 kx no) HAVE_LIBDAEMON=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-libdaemon" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_LIBDAEMON=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_LIBDAEMON" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libdaemon >= 0.14 " >&5
331 kx printf %s "checking for libdaemon >= 0.14 ... " >&6; }
331 kx
331 kx if test -n "$LIBDAEMON_CFLAGS"; then
331 kx pkg_cv_LIBDAEMON_CFLAGS="$LIBDAEMON_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libdaemon >= 0.14 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " libdaemon >= 0.14 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_LIBDAEMON_CFLAGS=`$PKG_CONFIG --cflags " libdaemon >= 0.14 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$LIBDAEMON_LIBS"; then
331 kx pkg_cv_LIBDAEMON_LIBS="$LIBDAEMON_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" libdaemon >= 0.14 \""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors " libdaemon >= 0.14 ") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_LIBDAEMON_LIBS=`$PKG_CONFIG --libs " libdaemon >= 0.14 " 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx LIBDAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs " libdaemon >= 0.14 " 2>&1`
331 kx else
331 kx LIBDAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs " libdaemon >= 0.14 " 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$LIBDAEMON_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements ( libdaemon >= 0.14 ) were not met:
331 kx
331 kx $LIBDAEMON_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables LIBDAEMON_CFLAGS
331 kx and LIBDAEMON_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables LIBDAEMON_CFLAGS
331 kx and LIBDAEMON_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx LIBDAEMON_CFLAGS=$pkg_cv_LIBDAEMON_CFLAGS
331 kx LIBDAEMON_LIBS=$pkg_cv_LIBDAEMON_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test "x$HAVE_LIBDAEMON" = "xyes"; then
331 kx HAVE_LIBDAEMON_TRUE=
331 kx HAVE_LIBDAEMON_FALSE='#'
331 kx else
331 kx HAVE_LIBDAEMON_TRUE='#'
331 kx HAVE_LIBDAEMON_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Python stuff
331 kx #
331 kx # Check whether --enable-python was given.
331 kx if test ${enable_python+y}
331 kx then :
331 kx enableval=$enable_python; case "${enableval}" in
331 kx yes) HAVE_PYTHON=yes ;;
331 kx no) HAVE_PYTHON=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-python" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_PYTHON=yes
331 kx fi
331 kx
331 kx
331 kx HAVE_PYTHON_DBUS=no
331 kx HAVE_PYGOBJECT=no
331 kx
331 kx if test "x$HAVE_PYTHON" = "xyes" ; then
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx if test -n "$PYTHON"; then
331 kx # If the user set $PYTHON, use it and don't search something else.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
331 kx printf %s "checking whether $PYTHON version is >= 2.6... " >&6; }
331 kx prog="import sys
331 kx # split strings by '.' and convert to numeric. Append some zeros
331 kx # because we need at least 4 digits for the hex conversion.
331 kx # map returns an iterator in Python 3.0 and a list in 2.x
331 kx minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
331 kx minverhex = 0
331 kx # xrange is not present in Python 3.0 and range returns an iterator
331 kx for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
331 kx sys.exit(sys.hexversion < minverhex)"
331 kx if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
331 kx ($PYTHON -c "$prog") >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); }
331 kx then :
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else $as_nop
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "Python interpreter is too old" "$LINENO" 5
331 kx fi
331 kx am_display_PYTHON=$PYTHON
331 kx else
331 kx # Otherwise, try each interpreter until we find one that satisfies
331 kx # VERSION.
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
331 kx printf %s "checking for a Python interpreter with version >= 2.6... " >&6; }
331 kx if test ${am_cv_pathless_PYTHON+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx for am_cv_pathless_PYTHON in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
331 kx test "$am_cv_pathless_PYTHON" = none && break
331 kx prog="import sys
331 kx # split strings by '.' and convert to numeric. Append some zeros
331 kx # because we need at least 4 digits for the hex conversion.
331 kx # map returns an iterator in Python 3.0 and a list in 2.x
331 kx minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
331 kx minverhex = 0
331 kx # xrange is not present in Python 3.0 and range returns an iterator
331 kx for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
331 kx sys.exit(sys.hexversion < minverhex)"
331 kx if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
331 kx ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); }
331 kx then :
331 kx break
331 kx fi
331 kx done
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
331 kx printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
331 kx # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
331 kx if test "$am_cv_pathless_PYTHON" = none; then
331 kx PYTHON=:
331 kx else
331 kx # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
331 kx set dummy $am_cv_pathless_PYTHON; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_PYTHON+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $PYTHON in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx PYTHON=$ac_cv_path_PYTHON
331 kx if test -n "$PYTHON"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
331 kx printf "%s\n" "$PYTHON" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx am_display_PYTHON=$am_cv_pathless_PYTHON
331 kx fi
331 kx
331 kx
331 kx if test "$PYTHON" = :; then
331 kx as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
331 kx else
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
331 kx printf %s "checking for $am_display_PYTHON version... " >&6; }
331 kx if test ${am_cv_python_version+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
331 kx printf "%s\n" "$am_cv_python_version" >&6; }
331 kx PYTHON_VERSION=$am_cv_python_version
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
331 kx printf %s "checking for $am_display_PYTHON platform... " >&6; }
331 kx if test ${am_cv_python_platform+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
331 kx printf "%s\n" "$am_cv_python_platform" >&6; }
331 kx PYTHON_PLATFORM=$am_cv_python_platform
331 kx
331 kx
331 kx if test "x$prefix" = xNONE; then
331 kx am__usable_prefix=$ac_default_prefix
331 kx else
331 kx am__usable_prefix=$prefix
331 kx fi
331 kx
331 kx # Allow user to request using sys.* values from Python,
331 kx # instead of the GNU $prefix values.
331 kx
331 kx # Check whether --with-python-sys-prefix was given.
331 kx if test ${with_python_sys_prefix+y}
331 kx then :
331 kx withval=$with_python_sys_prefix; am_use_python_sys=:
331 kx else $as_nop
331 kx am_use_python_sys=false
331 kx fi
331 kx
331 kx
331 kx # Allow user to override whatever the default Python prefix is.
331 kx
331 kx # Check whether --with-python_prefix was given.
331 kx if test ${with_python_prefix+y}
331 kx then :
331 kx withval=$with_python_prefix; am_python_prefix_subst=$withval
331 kx am_cv_python_prefix=$withval
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
331 kx printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
331 kx printf "%s\n" "$am_cv_python_prefix" >&6; }
331 kx else $as_nop
331 kx
331 kx if $am_use_python_sys; then
331 kx # using python sys.prefix value, not GNU
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
331 kx printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
331 kx if test ${am_cv_python_prefix+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
331 kx printf "%s\n" "$am_cv_python_prefix" >&6; }
331 kx
331 kx case $am_cv_python_prefix in
331 kx $am__usable_prefix*)
331 kx am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
331 kx am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
331 kx ;;
331 kx *)
331 kx am_python_prefix_subst=$am_cv_python_prefix
331 kx ;;
331 kx esac
331 kx else # using GNU prefix value, not python sys.prefix
331 kx am_python_prefix_subst='${prefix}'
331 kx am_python_prefix=$am_python_prefix_subst
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
331 kx printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
331 kx printf "%s\n" "$am_python_prefix" >&6; }
331 kx fi
331 kx fi
331 kx
331 kx # Substituting python_prefix_subst value.
331 kx PYTHON_PREFIX=$am_python_prefix_subst
331 kx
331 kx
331 kx # emacs-page Now do it all over again for Python exec_prefix, but with yet
331 kx # another conditional: fall back to regular prefix if that was specified.
331 kx
331 kx # Check whether --with-python_exec_prefix was given.
331 kx if test ${with_python_exec_prefix+y}
331 kx then :
331 kx withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
331 kx am_cv_python_exec_prefix=$withval
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
331 kx printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
331 kx printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
331 kx else $as_nop
331 kx
331 kx # no explicit --with-python_exec_prefix, but if
331 kx # --with-python_prefix was given, use its value for python_exec_prefix too.
331 kx if test -n "$with_python_prefix"
331 kx then :
331 kx am_python_exec_prefix_subst=$with_python_prefix
331 kx am_cv_python_exec_prefix=$with_python_prefix
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
331 kx printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
331 kx printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
331 kx else $as_nop
331 kx
331 kx # Set am__usable_exec_prefix whether using GNU or Python values,
331 kx # since we use that variable for pyexecdir.
331 kx if test "x$exec_prefix" = xNONE; then
331 kx am__usable_exec_prefix=$am__usable_prefix
331 kx else
331 kx am__usable_exec_prefix=$exec_prefix
331 kx fi
331 kx #
331 kx if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
331 kx printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
331 kx if test ${am_cv_python_exec_prefix+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
331 kx printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
331 kx case $am_cv_python_exec_prefix in
331 kx $am__usable_exec_prefix*)
331 kx am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
331 kx am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
331 kx ;;
331 kx *)
331 kx am_python_exec_prefix_subst=$am_cv_python_exec_prefix
331 kx ;;
331 kx esac
331 kx else # using GNU $exec_prefix, not python sys.exec_prefix
331 kx am_python_exec_prefix_subst='${exec_prefix}'
331 kx am_python_exec_prefix=$am_python_exec_prefix_subst
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
331 kx printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
331 kx printf "%s\n" "$am_python_exec_prefix" >&6; }
331 kx fi
331 kx fi
331 kx fi
331 kx
331 kx # Substituting python_exec_prefix_subst.
331 kx PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
331 kx
331 kx
331 kx # Factor out some code duplication into this shell variable.
331 kx am_python_setup_sysconfig="\
331 kx import sys
331 kx # Prefer sysconfig over distutils.sysconfig, for better compatibility
331 kx # with python 3.x. See automake bug#10227.
331 kx try:
331 kx import sysconfig
331 kx except ImportError:
331 kx can_use_sysconfig = 0
331 kx else:
331 kx can_use_sysconfig = 1
331 kx # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
331 kx # <https://github.com/pypa/virtualenv/issues/118>
331 kx try:
331 kx from platform import python_implementation
331 kx if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
331 kx can_use_sysconfig = 0
331 kx except ImportError:
331 kx pass"
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
331 kx printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
331 kx if test ${am_cv_python_pythondir+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test "x$am_cv_python_prefix" = x; then
331 kx am_py_prefix=$am__usable_prefix
331 kx else
331 kx am_py_prefix=$am_cv_python_prefix
331 kx fi
331 kx am_cv_python_pythondir=`$PYTHON -c "
331 kx $am_python_setup_sysconfig
331 kx if can_use_sysconfig:
331 kx sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
331 kx else:
331 kx from distutils import sysconfig
331 kx sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
331 kx sys.stdout.write(sitedir)"`
331 kx #
331 kx case $am_cv_python_pythondir in
331 kx $am_py_prefix*)
331 kx am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
331 kx am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
331 kx ;;
331 kx *)
331 kx case $am_py_prefix in
331 kx /usr|/System*) ;;
331 kx *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
331 kx printf "%s\n" "$am_cv_python_pythondir" >&6; }
331 kx pythondir=$am_cv_python_pythondir
331 kx
331 kx
331 kx pkgpythondir=\${pythondir}/$PACKAGE
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
331 kx printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
331 kx if test ${am_cv_python_pyexecdir+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test "x$am_cv_python_exec_prefix" = x; then
331 kx am_py_exec_prefix=$am__usable_exec_prefix
331 kx else
331 kx am_py_exec_prefix=$am_cv_python_exec_prefix
331 kx fi
331 kx am_cv_python_pyexecdir=`$PYTHON -c "
331 kx $am_python_setup_sysconfig
331 kx if can_use_sysconfig:
331 kx sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
331 kx else:
331 kx from distutils import sysconfig
331 kx sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
331 kx sys.stdout.write(sitedir)"`
331 kx #
331 kx case $am_cv_python_pyexecdir in
331 kx $am_py_exec_prefix*)
331 kx am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
331 kx am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
331 kx ;;
331 kx *)
331 kx case $am_py_exec_prefix in
331 kx /usr|/System*) ;;
331 kx *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
331 kx ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
331 kx printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
331 kx pyexecdir=$am_cv_python_pyexecdir
331 kx
331 kx
331 kx pkgpyexecdir=\${pyexecdir}/$PACKAGE
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx
331 kx # Check whether --enable-pygobject was given.
331 kx if test ${enable_pygobject+y}
331 kx then :
331 kx enableval=$enable_pygobject; case "${enableval}" in
331 kx yes) HAVE_PYGOBJECT=yes ;;
331 kx no) HAVE_PYGOBJECT=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-pygobject" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_PYGOBJECT=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_PYGOBJECT" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pygobject-3.0" >&5
331 kx printf %s "checking for pygobject-3.0... " >&6; }
331 kx
331 kx if test -n "$PYGOBJECT_CFLAGS"; then
331 kx pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0\""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors "pygobject-3.0") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0" 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$PYGOBJECT_LIBS"; then
331 kx pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0\""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors "pygobject-3.0") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pygobject-3.0" 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0" 2>&1`
331 kx else
331 kx PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0" 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$PYGOBJECT_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Could not find Python GObject" "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "Could not find Python GObject" "$LINENO" 5
331 kx else
331 kx PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS
331 kx PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_DBUS" = "xyes" ; then
331 kx # Check whether --enable-python-dbus was given.
331 kx if test ${enable_python_dbus+y}
331 kx then :
331 kx enableval=$enable_python_dbus; case "${enableval}" in
331 kx yes) HAVE_PYTHON_DBUS=yes ;;
331 kx no) HAVE_PYTHON_DBUS=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-python-dbus" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_PYTHON_DBUS=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_PYTHON_DBUS" = "xyes"; then
331 kx
331 kx py_mod_var=`echo dbus'_' | sed 'y%./+-%__p_%'`
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python module dbus" >&5
331 kx printf %s "checking for python module dbus... " >&6; }
331 kx if eval test \${py_cv_mod_$py_mod_var+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx prog="
331 kx import sys
331 kx try:
331 kx import dbus
331 kx except ImportError:
331 kx sys.exit(1)
331 kx except:
331 kx sys.exit(0)
331 kx sys.exit(0)"
331 kx if $PYTHON -c "$prog" 1>&5 2>&5
331 kx then
331 kx eval "py_cv_mod_$py_mod_var=yes"
331 kx else
331 kx eval "py_cv_mod_$py_mod_var=no"
331 kx fi
331 kx
331 kx fi
331 kx
331 kx py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
331 kx if test "x$py_val" != xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "Could not find Python module dbus" "$LINENO" 5
331 kx fi
331 kx
331 kx fi
331 kx
331 kx
331 kx py_mod_var=`echo socket'_' | sed 'y%./+-%__p_%'`
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python module socket" >&5
331 kx printf %s "checking for python module socket... " >&6; }
331 kx if eval test \${py_cv_mod_$py_mod_var+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx prog="
331 kx import sys
331 kx try:
331 kx import socket
331 kx except ImportError:
331 kx sys.exit(1)
331 kx except:
331 kx sys.exit(0)
331 kx sys.exit(0)"
331 kx if $PYTHON -c "$prog" 1>&5 2>&5
331 kx then
331 kx eval "py_cv_mod_$py_mod_var=yes"
331 kx else
331 kx eval "py_cv_mod_$py_mod_var=no"
331 kx fi
331 kx
331 kx fi
331 kx
331 kx py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
331 kx if test "x$py_val" != xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "Could not find Python module socket" "$LINENO" 5
331 kx fi
331 kx
331 kx if test "x$HAVE_GDBM" = "xyes" || test "x$HAVE_DBM" = "xyes"; then
331 kx
331 kx py_mod_var=`echo anydbm'_' | sed 'y%./+-%__p_%'`
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python module anydbm" >&5
331 kx printf %s "checking for python module anydbm... " >&6; }
331 kx if eval test \${py_cv_mod_$py_mod_var+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx prog="
331 kx import sys
331 kx try:
331 kx import anydbm
331 kx except ImportError:
331 kx sys.exit(1)
331 kx except:
331 kx sys.exit(0)
331 kx sys.exit(0)"
331 kx if $PYTHON -c "$prog" 1>&5 2>&5
331 kx then
331 kx eval "py_cv_mod_$py_mod_var=yes"
331 kx else
331 kx eval "py_cv_mod_$py_mod_var=no"
331 kx fi
331 kx
331 kx fi
331 kx
331 kx py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
331 kx if test "x$py_val" != xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx
331 kx py_mod_var=`echo dbm'_' | sed 'y%./+-%__p_%'`
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python module dbm" >&5
331 kx printf %s "checking for python module dbm... " >&6; }
331 kx if eval test \${py_cv_mod_$py_mod_var+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx prog="
331 kx import sys
331 kx try:
331 kx import dbm
331 kx except ImportError:
331 kx sys.exit(1)
331 kx except:
331 kx sys.exit(0)
331 kx sys.exit(0)"
331 kx if $PYTHON -c "$prog" 1>&5 2>&5
331 kx then
331 kx eval "py_cv_mod_$py_mod_var=yes"
331 kx else
331 kx eval "py_cv_mod_$py_mod_var=no"
331 kx fi
331 kx
331 kx fi
331 kx
331 kx py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
331 kx if test "x$py_val" != xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "Could not find Python module dbm" "$LINENO" 5
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx fi
331 kx if test "x$HAVE_DBM" = "xyes"; then
331 kx
331 kx py_mod_var=`echo dbm.ndbm'_' | sed 'y%./+-%__p_%'`
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python module dbm.ndbm" >&5
331 kx printf %s "checking for python module dbm.ndbm... " >&6; }
331 kx if eval test \${py_cv_mod_$py_mod_var+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx prog="
331 kx import sys
331 kx try:
331 kx import dbm.ndbm
331 kx except ImportError:
331 kx sys.exit(1)
331 kx except:
331 kx sys.exit(0)
331 kx sys.exit(0)"
331 kx if $PYTHON -c "$prog" 1>&5 2>&5
331 kx then
331 kx eval "py_cv_mod_$py_mod_var=yes"
331 kx else
331 kx eval "py_cv_mod_$py_mod_var=no"
331 kx fi
331 kx
331 kx fi
331 kx
331 kx py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
331 kx if test "x$py_val" != xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx
331 kx py_mod_var=`echo dbm'_' | sed 'y%./+-%__p_%'`
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python module dbm" >&5
331 kx printf %s "checking for python module dbm... " >&6; }
331 kx if eval test \${py_cv_mod_$py_mod_var+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx
331 kx prog="
331 kx import sys
331 kx try:
331 kx import dbm
331 kx except ImportError:
331 kx sys.exit(1)
331 kx except:
331 kx sys.exit(0)
331 kx sys.exit(0)"
331 kx if $PYTHON -c "$prog" 1>&5 2>&5
331 kx then
331 kx eval "py_cv_mod_$py_mod_var=yes"
331 kx else
331 kx eval "py_cv_mod_$py_mod_var=no"
331 kx fi
331 kx
331 kx fi
331 kx
331 kx py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
331 kx if test "x$py_val" != xno; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx as_fn_error $? "Could not find Python module dbm.ndbm or dbm" "$LINENO" 5
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx fi
331 kx fi
331 kx fi
331 kx if test "x$HAVE_PYTHON" = "xyes" ; then
331 kx HAVE_PYTHON_TRUE=
331 kx HAVE_PYTHON_FALSE='#'
331 kx else
331 kx HAVE_PYTHON_TRUE='#'
331 kx HAVE_PYTHON_FALSE=
331 kx fi
331 kx
331 kx if test "x$HAVE_PYGOBJECT" = "xyes"; then
331 kx HAVE_PYGOBJECT_TRUE=
331 kx HAVE_PYGOBJECT_FALSE='#'
331 kx else
331 kx HAVE_PYGOBJECT_TRUE='#'
331 kx HAVE_PYGOBJECT_FALSE=
331 kx fi
331 kx
331 kx if test "x$HAVE_PYTHON_DBUS" = "xyes"; then
331 kx HAVE_PYTHON_DBUS_TRUE=
331 kx HAVE_PYTHON_DBUS_FALSE='#'
331 kx else
331 kx HAVE_PYTHON_DBUS_TRUE='#'
331 kx HAVE_PYTHON_DBUS_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for mono stuff
331 kx #
331 kx HAVE_MONO=no
331 kx if test "x$HAVE_DBUS" = "xyes" ; then
331 kx # Check whether --enable-mono was given.
331 kx if test ${enable_mono+y}
331 kx then :
331 kx enableval=$enable_mono; case "${enableval}" in
331 kx yes) HAVE_MONO=yes ;;
331 kx no) HAVE_MONO=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-mono" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_MONO=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_MONO" = "xyes" ; then
331 kx # Extract the first word of "mcs", so it can be a program name with args.
331 kx set dummy mcs; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MCS+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MCS in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_MCS="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx MCS=$ac_cv_path_MCS
331 kx if test -n "$MCS"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MCS" >&5
331 kx printf "%s\n" "$MCS" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx if test "x$MCS" = "x" ; then
331 kx as_fn_error $? "Can not find \"mcs\" - The Mono C-Sharp Compiler) in your PATH" "$LINENO" 5
331 kx fi
331 kx
331 kx # Extract the first word of "gacutil", so it can be a program name with args.
331 kx set dummy gacutil; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_GACUTIL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $GACUTIL in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_GACUTIL="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx GACUTIL=$ac_cv_path_GACUTIL
331 kx if test -n "$GACUTIL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GACUTIL" >&5
331 kx printf "%s\n" "$GACUTIL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx if test "x$GACUTIL" = "x" ; then
331 kx as_fn_error $? "Can not find \"gacutil\" in your PATH" "$LINENO" 5
331 kx fi
331 kx
331 kx
331 kx
331 kx fi
331 kx fi
331 kx if test "x$HAVE_MONO" = "xyes"; then
331 kx HAVE_MONO_TRUE=
331 kx HAVE_MONO_FALSE='#'
331 kx else
331 kx HAVE_MONO_TRUE='#'
331 kx HAVE_MONO_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Check for monodoc stuff
331 kx #
331 kx HAVE_MONODOC=no
331 kx # Check whether --enable-monodoc was given.
331 kx if test ${enable_monodoc+y}
331 kx then :
331 kx enableval=$enable_monodoc; case "${enableval}" in
331 kx yes) HAVE_MONODOC=yes ;;
331 kx no) HAVE_MONODOC=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-monodoc" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx HAVE_MONODOC=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$HAVE_MONO" = "xyes" && test "x$HAVE_MONODOC" = "xyes" ; then
331 kx
331 kx pkg_failed=no
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for monodoc >= 1.1.8" >&5
331 kx printf %s "checking for monodoc >= 1.1.8... " >&6; }
331 kx
331 kx if test -n "$MONODOC_CFLAGS"; then
331 kx pkg_cv_MONODOC_CFLAGS="$MONODOC_CFLAGS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"monodoc >= 1.1.8\""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors "monodoc >= 1.1.8") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_MONODOC_CFLAGS=`$PKG_CONFIG --cflags "monodoc >= 1.1.8" 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx if test -n "$MONODOC_LIBS"; then
331 kx pkg_cv_MONODOC_LIBS="$MONODOC_LIBS"
331 kx elif test -n "$PKG_CONFIG"; then
331 kx if test -n "$PKG_CONFIG" && \
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"monodoc >= 1.1.8\""; } >&5
331 kx ($PKG_CONFIG --exists --print-errors "monodoc >= 1.1.8") 2>&5
331 kx ac_status=$?
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
331 kx test $ac_status = 0; }; then
331 kx pkg_cv_MONODOC_LIBS=`$PKG_CONFIG --libs "monodoc >= 1.1.8" 2>/dev/null`
331 kx test "x$?" != "x0" && pkg_failed=yes
331 kx else
331 kx pkg_failed=yes
331 kx fi
331 kx else
331 kx pkg_failed=untried
331 kx fi
331 kx
331 kx
331 kx
331 kx if test $pkg_failed = yes; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx
331 kx if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
331 kx _pkg_short_errors_supported=yes
331 kx else
331 kx _pkg_short_errors_supported=no
331 kx fi
331 kx if test $_pkg_short_errors_supported = yes; then
331 kx MONODOC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "monodoc >= 1.1.8" 2>&1`
331 kx else
331 kx MONODOC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "monodoc >= 1.1.8" 2>&1`
331 kx fi
331 kx # Put the nasty error message in config.log where it belongs
331 kx echo "$MONODOC_PKG_ERRORS" >&5
331 kx
331 kx as_fn_error $? "Package requirements (monodoc >= 1.1.8) were not met:
331 kx
331 kx $MONODOC_PKG_ERRORS
331 kx
331 kx Consider adjusting the PKG_CONFIG_PATH environment variable if you
331 kx installed software in a non-standard prefix.
331 kx
331 kx Alternatively, you may set the environment variables MONODOC_CFLAGS
331 kx and MONODOC_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details." "$LINENO" 5
331 kx elif test $pkg_failed = untried; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
331 kx is in your PATH or set the PKG_CONFIG environment variable to the full
331 kx path to pkg-config.
331 kx
331 kx Alternatively, you may set the environment variables MONODOC_CFLAGS
331 kx and MONODOC_LIBS to avoid the need to call pkg-config.
331 kx See the pkg-config man page for more details.
331 kx
331 kx To get pkg-config, see <http://pkg-config.freedesktop.org/>.
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx else
331 kx MONODOC_CFLAGS=$pkg_cv_MONODOC_CFLAGS
331 kx MONODOC_LIBS=$pkg_cv_MONODOC_LIBS
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
331 kx printf "%s\n" "yes" >&6; }
331 kx
331 kx fi
331 kx MONODOC_DIR=`$PKG_CONFIG --variable=sourcesdir monodoc`
331 kx
331 kx # Extract the first word of "monodocer", so it can be a program name with args.
331 kx set dummy monodocer; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MONODOCER+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MONODOCER in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_MONODOCER="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx MONODOCER=$ac_cv_path_MONODOCER
331 kx if test -n "$MONODOCER"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MONODOCER" >&5
331 kx printf "%s\n" "$MONODOCER" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx # Extract the first word of "mdassembler", so it can be a program name with args.
331 kx set dummy mdassembler; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_MDASSEMBLER+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $MDASSEMBLER in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_MDASSEMBLER="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx MDASSEMBLER=$ac_cv_path_MDASSEMBLER
331 kx if test -n "$MDASSEMBLER"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MDASSEMBLER" >&5
331 kx printf "%s\n" "$MDASSEMBLER" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx fi
331 kx if test "x$HAVE_MONODOC" = "xyes"; then
331 kx HAVE_MONODOC_TRUE=
331 kx HAVE_MONODOC_FALSE='#'
331 kx else
331 kx HAVE_MONODOC_TRUE='#'
331 kx HAVE_MONODOC_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Build autoipd?
331 kx #
331 kx # Check whether --enable-autoipd was given.
331 kx if test ${enable_autoipd+y}
331 kx then :
331 kx enableval=$enable_autoipd; case "${enableval}" in
331 kx yes) ENABLE_AUTOIPD=yes ;;
331 kx no) ENABLE_AUTOIPD=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --disable-autoipd" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx ENABLE_AUTOIPD=yes
331 kx fi
331 kx
331 kx
331 kx if test "x$ENABLE_AUTOIPD" = "xyes"; then
331 kx ENABLE_AUTOIPD_TRUE=
331 kx ENABLE_AUTOIPD_FALSE='#'
331 kx else
331 kx ENABLE_AUTOIPD_TRUE='#'
331 kx ENABLE_AUTOIPD_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Defining users and groups
331 kx #
331 kx
331 kx # Check whether --with-avahi_user was given.
331 kx if test ${with_avahi_user+y}
331 kx then :
331 kx withval=$with_avahi_user;
331 kx fi
331 kx
331 kx if test -z "$with_avahi_user" ; then
331 kx AVAHI_USER=avahi
331 kx else
331 kx AVAHI_USER=$with_avahi_user
331 kx fi
331 kx
331 kx
331 kx printf "%s\n" "#define AVAHI_USER \"$AVAHI_USER\"" >>confdefs.h
331 kx
331 kx
331 kx
331 kx # Check whether --with-avahi_group was given.
331 kx if test ${with_avahi_group+y}
331 kx then :
331 kx withval=$with_avahi_group;
331 kx fi
331 kx
331 kx if test -z "$with_avahi_group" ; then
331 kx AVAHI_GROUP=avahi
331 kx else
331 kx AVAHI_GROUP=$with_avahi_group
331 kx fi
331 kx
331 kx
331 kx printf "%s\n" "#define AVAHI_GROUP \"$AVAHI_GROUP\"" >>confdefs.h
331 kx
331 kx
331 kx
331 kx # Check whether --with-avahi_priv_access_group was given.
331 kx if test ${with_avahi_priv_access_group+y}
331 kx then :
331 kx withval=$with_avahi_priv_access_group;
331 kx fi
331 kx
331 kx if test -z "$with_avahi_priv_access_group" ; then
331 kx AVAHI_PRIV_ACCESS_GROUP=netdev
331 kx else
331 kx AVAHI_PRIV_ACCESS_GROUP=$with_avahi_priv_access_group
331 kx fi
331 kx
331 kx
331 kx printf "%s\n" "#define AVAHI_PRIV_ACCESS_GROUP \"$AVAHI_PRIV_ACCESS_GROUP\"" >>confdefs.h
331 kx
331 kx
331 kx
331 kx # Check whether --with-autoipd_user was given.
331 kx if test ${with_autoipd_user+y}
331 kx then :
331 kx withval=$with_autoipd_user;
331 kx fi
331 kx
331 kx if test -z "$with_autoipd_user" ; then
331 kx AVAHI_AUTOIPD_USER=avahi-autoipd
331 kx else
331 kx AVAHI_AUTOIPD_USER=$with_autoipd_user
331 kx fi
331 kx
331 kx
331 kx printf "%s\n" "#define AVAHI_AUTOIPD_USER \"$AVAHI_AUTOIPD_USER\"" >>confdefs.h
331 kx
331 kx
331 kx
331 kx # Check whether --with-autoipd_group was given.
331 kx if test ${with_autoipd_group+y}
331 kx then :
331 kx withval=$with_autoipd_group;
331 kx fi
331 kx
331 kx if test -z "$with_autoipd_group" ; then
331 kx AVAHI_AUTOIPD_GROUP=avahi-autoipd
331 kx else
331 kx AVAHI_AUTOIPD_GROUP=$with_autoipd_group
331 kx fi
331 kx
331 kx
331 kx printf "%s\n" "#define AVAHI_AUTOIPD_GROUP \"$AVAHI_AUTOIPD_GROUP\"" >>confdefs.h
331 kx
331 kx
331 kx #
331 kx # Avahi runtime dir
331 kx #
331 kx avahi_runtime_dir="/run"
331 kx avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket"
331 kx
331 kx
331 kx
331 kx #
331 kx # Avahi interfaces dir
331 kx #
331 kx if test "x$HAVE_PYTHON_DBUS" = "xyes" -o "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes"; then
331 kx interfacesdir="${datadir}/${PACKAGE}/interfaces/"
331 kx
331 kx fi
331 kx
331 kx #
331 kx # Doxygen
331 kx #
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Files:
331 kx DX_PROJECT=avahi
331 kx
331 kx DX_CONFIG=doxygen.cfg
331 kx
331 kx DX_DOCDIR=doxygen
331 kx
331 kx
331 kx # Environment variables used inside doxygen.cfg:
331 kx DX_ENV="$DX_ENV SRCDIR='$srcdir'"
331 kx
331 kx DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
331 kx
331 kx DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
331 kx
331 kx DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
331 kx
331 kx
331 kx # Doxygen itself:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-doc was given.
331 kx if test ${enable_doxygen_doc+y}
331 kx then :
331 kx enableval=$enable_doxygen_doc;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_doc=1
331 kx
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_doc=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_doc=1
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_doc" = 1; then
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}doxygen; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_DOXYGEN+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_DOXYGEN in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
331 kx if test -n "$DX_DOXYGEN"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
331 kx printf "%s\n" "$DX_DOXYGEN" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_DOXYGEN"; then
331 kx ac_pt_DX_DOXYGEN=$DX_DOXYGEN
331 kx # Extract the first word of "doxygen", so it can be a program name with args.
331 kx set dummy doxygen; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_DOXYGEN+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_DOXYGEN in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
331 kx if test -n "$ac_pt_DX_DOXYGEN"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
331 kx printf "%s\n" "$ac_pt_DX_DOXYGEN" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_DOXYGEN" = x; then
331 kx DX_DOXYGEN=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_DOXYGEN=$ac_pt_DX_DOXYGEN
331 kx fi
331 kx else
331 kx DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
331 kx DX_FLAG_doc=0
331 kx
331 kx fi
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}perl; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_PERL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_PERL in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_PERL="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_PERL=$ac_cv_path_DX_PERL
331 kx if test -n "$DX_PERL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
331 kx printf "%s\n" "$DX_PERL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_PERL"; then
331 kx ac_pt_DX_PERL=$DX_PERL
331 kx # Extract the first word of "perl", so it can be a program name with args.
331 kx set dummy perl; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_PERL+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_PERL in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_PERL="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
331 kx if test -n "$ac_pt_DX_PERL"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
331 kx printf "%s\n" "$ac_pt_DX_PERL" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_PERL" = x; then
331 kx DX_PERL=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_PERL=$ac_pt_DX_PERL
331 kx fi
331 kx else
331 kx DX_PERL="$ac_cv_path_DX_PERL"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_doc$DX_PERL" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
331 kx DX_FLAG_doc=0
331 kx
331 kx fi
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_doc" = 1; then
331 kx if :; then
331 kx DX_COND_doc_TRUE=
331 kx DX_COND_doc_FALSE='#'
331 kx else
331 kx DX_COND_doc_TRUE='#'
331 kx DX_COND_doc_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_doc_TRUE=
331 kx DX_COND_doc_FALSE='#'
331 kx else
331 kx DX_COND_doc_TRUE='#'
331 kx DX_COND_doc_FALSE=
331 kx fi
331 kx
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # Dot for graphics:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-dot was given.
331 kx if test ${enable_doxygen_dot+y}
331 kx then :
331 kx enableval=$enable_doxygen_dot;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_dot=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_dot=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_dot=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_dot" = 1; then
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}dot; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_DOT+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_DOT in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_DOT="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_DOT=$ac_cv_path_DX_DOT
331 kx if test -n "$DX_DOT"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
331 kx printf "%s\n" "$DX_DOT" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_DOT"; then
331 kx ac_pt_DX_DOT=$DX_DOT
331 kx # Extract the first word of "dot", so it can be a program name with args.
331 kx set dummy dot; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_DOT+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_DOT in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_DOT="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
331 kx if test -n "$ac_pt_DX_DOT"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
331 kx printf "%s\n" "$ac_pt_DX_DOT" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_DOT" = x; then
331 kx DX_DOT=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_DOT=$ac_pt_DX_DOT
331 kx fi
331 kx else
331 kx DX_DOT="$ac_cv_path_DX_DOT"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_dot$DX_DOT" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
331 kx DX_FLAG_dot=0
331 kx
331 kx fi
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_dot" = 1; then
331 kx if :; then
331 kx DX_COND_dot_TRUE=
331 kx DX_COND_dot_FALSE='#'
331 kx else
331 kx DX_COND_dot_TRUE='#'
331 kx DX_COND_dot_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV HAVE_DOT='YES'"
331 kx
331 kx DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_dot_TRUE=
331 kx DX_COND_dot_FALSE='#'
331 kx else
331 kx DX_COND_dot_TRUE='#'
331 kx DX_COND_dot_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV HAVE_DOT='NO'"
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # Man pages generation:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-man was given.
331 kx if test ${enable_doxygen_man+y}
331 kx then :
331 kx enableval=$enable_doxygen_man;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_man=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_man=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_man=0
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_man" = 1; then
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_man" = 1; then
331 kx if :; then
331 kx DX_COND_man_TRUE=
331 kx DX_COND_man_FALSE='#'
331 kx else
331 kx DX_COND_man_TRUE='#'
331 kx DX_COND_man_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_MAN='YES'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_man_TRUE=
331 kx DX_COND_man_FALSE='#'
331 kx else
331 kx DX_COND_man_TRUE='#'
331 kx DX_COND_man_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_MAN='NO'"
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # RTF file generation:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-rtf was given.
331 kx if test ${enable_doxygen_rtf+y}
331 kx then :
331 kx enableval=$enable_doxygen_rtf;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_rtf=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_rtf=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_rtf=0
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_rtf" = 1; then
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_rtf" = 1; then
331 kx if :; then
331 kx DX_COND_rtf_TRUE=
331 kx DX_COND_rtf_FALSE='#'
331 kx else
331 kx DX_COND_rtf_TRUE='#'
331 kx DX_COND_rtf_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_RTF='YES'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_rtf_TRUE=
331 kx DX_COND_rtf_FALSE='#'
331 kx else
331 kx DX_COND_rtf_TRUE='#'
331 kx DX_COND_rtf_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_RTF='NO'"
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # XML file generation:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-xml was given.
331 kx if test ${enable_doxygen_xml+y}
331 kx then :
331 kx enableval=$enable_doxygen_xml;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_xml=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_xml=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_xml=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_xml" = 1; then
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_xml" = 1; then
331 kx if :; then
331 kx DX_COND_xml_TRUE=
331 kx DX_COND_xml_FALSE='#'
331 kx else
331 kx DX_COND_xml_TRUE='#'
331 kx DX_COND_xml_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_XML='YES'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_xml_TRUE=
331 kx DX_COND_xml_FALSE='#'
331 kx else
331 kx DX_COND_xml_TRUE='#'
331 kx DX_COND_xml_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_XML='NO'"
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # (Compressed) HTML help generation:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-chm was given.
331 kx if test ${enable_doxygen_chm+y}
331 kx then :
331 kx enableval=$enable_doxygen_chm;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_chm=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_chm=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_chm=0
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_chm" = 1; then
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}hhc; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_HHC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_HHC in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_HHC="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_HHC=$ac_cv_path_DX_HHC
331 kx if test -n "$DX_HHC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
331 kx printf "%s\n" "$DX_HHC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_HHC"; then
331 kx ac_pt_DX_HHC=$DX_HHC
331 kx # Extract the first word of "hhc", so it can be a program name with args.
331 kx set dummy hhc; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_HHC+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_HHC in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_HHC="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
331 kx if test -n "$ac_pt_DX_HHC"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
331 kx printf "%s\n" "$ac_pt_DX_HHC" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_HHC" = x; then
331 kx DX_HHC=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_HHC=$ac_pt_DX_HHC
331 kx fi
331 kx else
331 kx DX_HHC="$ac_cv_path_DX_HHC"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_chm$DX_HHC" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
331 kx DX_FLAG_chm=0
331 kx
331 kx fi
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_chm" = 1; then
331 kx if :; then
331 kx DX_COND_chm_TRUE=
331 kx DX_COND_chm_FALSE='#'
331 kx else
331 kx DX_COND_chm_TRUE='#'
331 kx DX_COND_chm_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_HTML='YES'"
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_chm_TRUE=
331 kx DX_COND_chm_FALSE='#'
331 kx else
331 kx DX_COND_chm_TRUE='#'
331 kx DX_COND_chm_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # Seperate CHI file generation.
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-chi was given.
331 kx if test ${enable_doxygen_chi+y}
331 kx then :
331 kx enableval=$enable_doxygen_chi;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_chi=1
331 kx
331 kx
331 kx test "$DX_FLAG_chm" = "1" \
331 kx || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_chi=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_chi=0
331 kx
331 kx
331 kx test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_chi" = 1; then
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_chi" = 1; then
331 kx if :; then
331 kx DX_COND_chi_TRUE=
331 kx DX_COND_chi_FALSE='#'
331 kx else
331 kx DX_COND_chi_TRUE='#'
331 kx DX_COND_chi_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_CHI='YES'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_chi_TRUE=
331 kx DX_COND_chi_FALSE='#'
331 kx else
331 kx DX_COND_chi_TRUE='#'
331 kx DX_COND_chi_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_CHI='NO'"
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # Plain HTML pages generation:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-html was given.
331 kx if test ${enable_doxygen_html+y}
331 kx then :
331 kx enableval=$enable_doxygen_html;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_html=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
331 kx
331 kx test "$DX_FLAG_chm" = "0" \
331 kx || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_html=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_html=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
331 kx
331 kx
331 kx test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_html" = 1; then
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_html" = 1; then
331 kx if :; then
331 kx DX_COND_html_TRUE=
331 kx DX_COND_html_FALSE='#'
331 kx else
331 kx DX_COND_html_TRUE='#'
331 kx DX_COND_html_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_HTML='YES'"
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_html_TRUE=
331 kx DX_COND_html_FALSE='#'
331 kx else
331 kx DX_COND_html_TRUE='#'
331 kx DX_COND_html_FALSE=
331 kx fi
331 kx
331 kx test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # PostScript file generation:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-ps was given.
331 kx if test ${enable_doxygen_ps+y}
331 kx then :
331 kx enableval=$enable_doxygen_ps;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_ps=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_ps=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_ps=0
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_ps" = 1; then
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}latex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_LATEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_LATEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_LATEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_LATEX=$ac_cv_path_DX_LATEX
331 kx if test -n "$DX_LATEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
331 kx printf "%s\n" "$DX_LATEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_LATEX"; then
331 kx ac_pt_DX_LATEX=$DX_LATEX
331 kx # Extract the first word of "latex", so it can be a program name with args.
331 kx set dummy latex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_LATEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_LATEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_LATEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
331 kx if test -n "$ac_pt_DX_LATEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
331 kx printf "%s\n" "$ac_pt_DX_LATEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_LATEX" = x; then
331 kx DX_LATEX=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_LATEX=$ac_pt_DX_LATEX
331 kx fi
331 kx else
331 kx DX_LATEX="$ac_cv_path_DX_LATEX"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_ps$DX_LATEX" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
331 kx DX_FLAG_ps=0
331 kx
331 kx fi
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}makeindex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_MAKEINDEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_MAKEINDEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
331 kx if test -n "$DX_MAKEINDEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
331 kx printf "%s\n" "$DX_MAKEINDEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_MAKEINDEX"; then
331 kx ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
331 kx # Extract the first word of "makeindex", so it can be a program name with args.
331 kx set dummy makeindex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_MAKEINDEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_MAKEINDEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
331 kx if test -n "$ac_pt_DX_MAKEINDEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
331 kx printf "%s\n" "$ac_pt_DX_MAKEINDEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_MAKEINDEX" = x; then
331 kx DX_MAKEINDEX=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
331 kx fi
331 kx else
331 kx DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
331 kx DX_FLAG_ps=0
331 kx
331 kx fi
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}dvips; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_DVIPS+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_DVIPS in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_DVIPS="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_DVIPS=$ac_cv_path_DX_DVIPS
331 kx if test -n "$DX_DVIPS"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
331 kx printf "%s\n" "$DX_DVIPS" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_DVIPS"; then
331 kx ac_pt_DX_DVIPS=$DX_DVIPS
331 kx # Extract the first word of "dvips", so it can be a program name with args.
331 kx set dummy dvips; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_DVIPS+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_DVIPS in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_DVIPS="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
331 kx if test -n "$ac_pt_DX_DVIPS"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
331 kx printf "%s\n" "$ac_pt_DX_DVIPS" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_DVIPS" = x; then
331 kx DX_DVIPS=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_DVIPS=$ac_pt_DX_DVIPS
331 kx fi
331 kx else
331 kx DX_DVIPS="$ac_cv_path_DX_DVIPS"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
331 kx DX_FLAG_ps=0
331 kx
331 kx fi
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}egrep; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_EGREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_EGREP in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_EGREP=$ac_cv_path_DX_EGREP
331 kx if test -n "$DX_EGREP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
331 kx printf "%s\n" "$DX_EGREP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_EGREP"; then
331 kx ac_pt_DX_EGREP=$DX_EGREP
331 kx # Extract the first word of "egrep", so it can be a program name with args.
331 kx set dummy egrep; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_EGREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_EGREP in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
331 kx if test -n "$ac_pt_DX_EGREP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
331 kx printf "%s\n" "$ac_pt_DX_EGREP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_EGREP" = x; then
331 kx DX_EGREP=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_EGREP=$ac_pt_DX_EGREP
331 kx fi
331 kx else
331 kx DX_EGREP="$ac_cv_path_DX_EGREP"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_ps$DX_EGREP" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
331 kx DX_FLAG_ps=0
331 kx
331 kx fi
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_ps" = 1; then
331 kx if :; then
331 kx DX_COND_ps_TRUE=
331 kx DX_COND_ps_FALSE='#'
331 kx else
331 kx DX_COND_ps_TRUE='#'
331 kx DX_COND_ps_FALSE=
331 kx fi
331 kx
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_ps_TRUE=
331 kx DX_COND_ps_FALSE='#'
331 kx else
331 kx DX_COND_ps_TRUE='#'
331 kx DX_COND_ps_FALSE=
331 kx fi
331 kx
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # PDF file generation:
331 kx
331 kx
331 kx
331 kx # Check whether --enable-doxygen-pdf was given.
331 kx if test ${enable_doxygen_pdf+y}
331 kx then :
331 kx enableval=$enable_doxygen_pdf;
331 kx case "$enableval" in
331 kx #(
331 kx y|Y|yes|Yes|YES)
331 kx DX_FLAG_pdf=1
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" \
331 kx || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
331 kx
331 kx ;; #(
331 kx n|N|no|No|NO)
331 kx DX_FLAG_pdf=0
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx else $as_nop
331 kx
331 kx DX_FLAG_pdf=0
331 kx
331 kx
331 kx test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
331 kx
331 kx
331 kx
331 kx fi
331 kx
331 kx if test "$DX_FLAG_pdf" = 1; then
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_PDFLATEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_PDFLATEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_PDFLATEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
331 kx if test -n "$DX_PDFLATEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
331 kx printf "%s\n" "$DX_PDFLATEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_PDFLATEX"; then
331 kx ac_pt_DX_PDFLATEX=$DX_PDFLATEX
331 kx # Extract the first word of "pdflatex", so it can be a program name with args.
331 kx set dummy pdflatex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_PDFLATEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_PDFLATEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
331 kx if test -n "$ac_pt_DX_PDFLATEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
331 kx printf "%s\n" "$ac_pt_DX_PDFLATEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_PDFLATEX" = x; then
331 kx DX_PDFLATEX=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_PDFLATEX=$ac_pt_DX_PDFLATEX
331 kx fi
331 kx else
331 kx DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
331 kx DX_FLAG_pdf=0
331 kx
331 kx fi
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}makeindex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_MAKEINDEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_MAKEINDEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
331 kx if test -n "$DX_MAKEINDEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
331 kx printf "%s\n" "$DX_MAKEINDEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_MAKEINDEX"; then
331 kx ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
331 kx # Extract the first word of "makeindex", so it can be a program name with args.
331 kx set dummy makeindex; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_MAKEINDEX+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_MAKEINDEX in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
331 kx if test -n "$ac_pt_DX_MAKEINDEX"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
331 kx printf "%s\n" "$ac_pt_DX_MAKEINDEX" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_MAKEINDEX" = x; then
331 kx DX_MAKEINDEX=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
331 kx fi
331 kx else
331 kx DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
331 kx DX_FLAG_pdf=0
331 kx
331 kx fi
331 kx
331 kx
331 kx if test -n "$ac_tool_prefix"; then
331 kx # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
331 kx set dummy ${ac_tool_prefix}egrep; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_DX_EGREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $DX_EGREP in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx DX_EGREP=$ac_cv_path_DX_EGREP
331 kx if test -n "$DX_EGREP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
331 kx printf "%s\n" "$DX_EGREP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx if test -z "$ac_cv_path_DX_EGREP"; then
331 kx ac_pt_DX_EGREP=$DX_EGREP
331 kx # Extract the first word of "egrep", so it can be a program name with args.
331 kx set dummy egrep; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_path_ac_pt_DX_EGREP+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx case $ac_pt_DX_EGREP in
331 kx [\\/]* | ?:[\\/]*)
331 kx ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
331 kx ;;
331 kx *)
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_path_ac_pt_DX_EGREP="$as_dir$ac_word$ac_exec_ext"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx fi
331 kx ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
331 kx if test -n "$ac_pt_DX_EGREP"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
331 kx printf "%s\n" "$ac_pt_DX_EGREP" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx if test "x$ac_pt_DX_EGREP" = x; then
331 kx DX_EGREP=""
331 kx else
331 kx case $cross_compiling:$ac_tool_warned in
331 kx yes:)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
331 kx printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
331 kx ac_tool_warned=yes ;;
331 kx esac
331 kx DX_EGREP=$ac_pt_DX_EGREP
331 kx fi
331 kx else
331 kx DX_EGREP="$ac_cv_path_DX_EGREP"
331 kx fi
331 kx
331 kx if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
331 kx printf "%s\n" "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
331 kx DX_FLAG_pdf=0
331 kx
331 kx fi
331 kx
331 kx :
331 kx fi
331 kx if test "$DX_FLAG_pdf" = 1; then
331 kx if :; then
331 kx DX_COND_pdf_TRUE=
331 kx DX_COND_pdf_FALSE='#'
331 kx else
331 kx DX_COND_pdf_TRUE='#'
331 kx DX_COND_pdf_FALSE=
331 kx fi
331 kx
331 kx
331 kx :
331 kx else
331 kx if false; then
331 kx DX_COND_pdf_TRUE=
331 kx DX_COND_pdf_FALSE='#'
331 kx else
331 kx DX_COND_pdf_TRUE='#'
331 kx DX_COND_pdf_FALSE=
331 kx fi
331 kx
331 kx
331 kx :
331 kx fi
331 kx
331 kx
331 kx # LaTeX generation for PS and/or PDF:
331 kx if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
331 kx if :; then
331 kx DX_COND_latex_TRUE=
331 kx DX_COND_latex_FALSE='#'
331 kx else
331 kx DX_COND_latex_TRUE='#'
331 kx DX_COND_latex_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
331 kx
331 kx else
331 kx if false; then
331 kx DX_COND_latex_TRUE=
331 kx DX_COND_latex_FALSE='#'
331 kx else
331 kx DX_COND_latex_TRUE='#'
331 kx DX_COND_latex_FALSE=
331 kx fi
331 kx
331 kx DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
331 kx
331 kx fi
331 kx
331 kx # Paper size for PS and/or PDF:
331 kx
331 kx case "$DOXYGEN_PAPER_SIZE" in
331 kx #(
331 kx "")
331 kx DOXYGEN_PAPER_SIZE=""
331 kx
331 kx ;; #(
331 kx a4wide|a4|letter|legal|executive)
331 kx DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
331 kx
331 kx ;; #(
331 kx *)
331 kx as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
331 kx ;;
331 kx esac
331 kx
331 kx #For debugging:
331 kx #echo DX_FLAG_doc=$DX_FLAG_doc
331 kx #echo DX_FLAG_dot=$DX_FLAG_dot
331 kx #echo DX_FLAG_man=$DX_FLAG_man
331 kx #echo DX_FLAG_html=$DX_FLAG_html
331 kx #echo DX_FLAG_chm=$DX_FLAG_chm
331 kx #echo DX_FLAG_chi=$DX_FLAG_chi
331 kx #echo DX_FLAG_rtf=$DX_FLAG_rtf
331 kx #echo DX_FLAG_xml=$DX_FLAG_xml
331 kx #echo DX_FLAG_pdf=$DX_FLAG_pdf
331 kx #echo DX_FLAG_ps=$DX_FLAG_ps
331 kx #echo DX_ENV=$DX_ENV
331 kx
331 kx
331 kx # Check whether --enable-core-docs was given.
331 kx if test ${enable_core_docs+y}
331 kx then :
331 kx enableval=$enable_core_docs; case "${enableval}" in
331 kx yes) ENABLE_CORE_DOCS=yes ;;
331 kx no) ENABLE_CORE_DOCS=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-core-docs" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx ENABLE_CORE_DOCS=no
331 kx fi
331 kx
331 kx
331 kx if test "x$ENABLE_CORE_DOCS" = xyes; then
331 kx ENABLE_CORE_DOCS_TRUE=
331 kx ENABLE_CORE_DOCS_FALSE='#'
331 kx else
331 kx ENABLE_CORE_DOCS_TRUE='#'
331 kx ENABLE_CORE_DOCS_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Build and Install man pages
331 kx #
331 kx # Check whether --enable-manpages was given.
331 kx if test ${enable_manpages+y}
331 kx then :
331 kx enableval=$enable_manpages; case "${enableval}" in
331 kx yes) manpages=yes ;;
331 kx no) manpages=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --disable-manpages" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx manpages=yes
331 kx fi
331 kx
331 kx
331 kx if test x$manpages = xyes ; then
331 kx #
331 kx # XMLTOMAN manpage generation
331 kx #
331 kx # Check whether --enable-xmltoman was given.
331 kx if test ${enable_xmltoman+y}
331 kx then :
331 kx enableval=$enable_xmltoman; case "${enableval}" in
331 kx yes) xmltoman=yes ;;
331 kx no) xmltoman=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --disable-xmltoman" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx xmltoman=yes
331 kx fi
331 kx
331 kx
331 kx if test x$xmltoman = xyes ; then
331 kx # Extract the first word of "xmltoman", so it can be a program name with args.
331 kx set dummy xmltoman; ac_word=$2
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
331 kx printf %s "checking for $ac_word... " >&6; }
331 kx if test ${ac_cv_prog_have_xmltoman+y}
331 kx then :
331 kx printf %s "(cached) " >&6
331 kx else $as_nop
331 kx if test -n "$have_xmltoman"; then
331 kx ac_cv_prog_have_xmltoman="$have_xmltoman" # Let the user override the test.
331 kx else
331 kx as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx for ac_exec_ext in '' $ac_executable_extensions; do
331 kx if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
331 kx ac_cv_prog_have_xmltoman="yes"
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
331 kx break 2
331 kx fi
331 kx done
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx test -z "$ac_cv_prog_have_xmltoman" && ac_cv_prog_have_xmltoman="no"
331 kx fi
331 kx fi
331 kx have_xmltoman=$ac_cv_prog_have_xmltoman
331 kx if test -n "$have_xmltoman"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_xmltoman" >&5
331 kx printf "%s\n" "$have_xmltoman" >&6; }
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
331 kx printf "%s\n" "no" >&6; }
331 kx fi
331 kx
331 kx
331 kx fi
331 kx
331 kx if test x$have_xmltoman = xno -o x$xmltoman = xno; then
331 kx if ! test -e $srcdir/man/avahi-daemon.8 ; then
331 kx as_fn_error $? "*** xmltoman was not found or was disabled, it is required to build the manpages as they have not been pre-built, install xmltoman, pass --disable-manpages or dont pass --disable-xmltoman" "$LINENO" 5
331 kx exit 1
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: *** Not rebuilding man pages as xmltoman is not found ***" >&5
331 kx printf "%s\n" "$as_me: WARNING: *** Not rebuilding man pages as xmltoman is not found ***" >&2;}
331 kx xmltoman=no
331 kx fi
331 kx fi
331 kx if test "x$xmltoman" = xyes; then
331 kx USE_XMLTOMAN_TRUE=
331 kx USE_XMLTOMAN_FALSE='#'
331 kx else
331 kx USE_XMLTOMAN_TRUE='#'
331 kx USE_XMLTOMAN_FALSE=
331 kx fi
331 kx
331 kx if test "x$manpages" = xyes; then
331 kx BUILD_MANPAGES_TRUE=
331 kx BUILD_MANPAGES_FALSE='#'
331 kx else
331 kx BUILD_MANPAGES_TRUE='#'
331 kx BUILD_MANPAGES_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Conditionally compile test and example programs
331 kx #
331 kx # Check whether --enable-tests was given.
331 kx if test ${enable_tests+y}
331 kx then :
331 kx enableval=$enable_tests; case "${enableval}" in
331 kx yes) ENABLE_TESTS=yes ;;
331 kx no) ENABLE_TESTS=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-tests" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx ENABLE_TESTS=no
331 kx fi
331 kx
331 kx
331 kx if test "x$ENABLE_TESTS" = "xyes"; then
331 kx ENABLE_TESTS_TRUE=
331 kx ENABLE_TESTS_FALSE='#'
331 kx else
331 kx ENABLE_TESTS_TRUE='#'
331 kx ENABLE_TESTS_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Optionally enable libdns_sd compatibility support
331 kx #
331 kx # Check whether --enable-compat-libdns_sd was given.
331 kx if test ${enable_compat_libdns_sd+y}
331 kx then :
331 kx enableval=$enable_compat_libdns_sd; case "${enableval}" in
331 kx yes) ENABLE_COMPAT_LIBDNS_SD=yes ;;
331 kx no) ENABLE_COMPAT_LIBDNS_SD=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-compat-libdns_sd" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx ENABLE_COMPAT_LIBDNS_SD=no
331 kx fi
331 kx
331 kx
331 kx if test "x$ENABLE_COMPAT_LIBDNS_SD" = "xyes"; then
331 kx ENABLE_COMPAT_LIBDNS_SD_TRUE=
331 kx ENABLE_COMPAT_LIBDNS_SD_FALSE='#'
331 kx else
331 kx ENABLE_COMPAT_LIBDNS_SD_TRUE='#'
331 kx ENABLE_COMPAT_LIBDNS_SD_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # Optionally enable HOWL compatibility support
331 kx #
331 kx # Check whether --enable-compat-howl was given.
331 kx if test ${enable_compat_howl+y}
331 kx then :
331 kx enableval=$enable_compat_howl; case "${enableval}" in
331 kx yes) ENABLE_COMPAT_HOWL=yes ;;
331 kx no) ENABLE_COMPAT_HOWL=no ;;
331 kx *) as_fn_error $? "bad value ${enableval} for --enable-compat-howl" "$LINENO" 5 ;;
331 kx esac
331 kx else $as_nop
331 kx ENABLE_COMPAT_HOWL=no
331 kx fi
331 kx
331 kx
331 kx if test "x$ENABLE_COMPAT_HOWL" = "xyes"; then
331 kx ENABLE_COMPAT_HOWL_TRUE=
331 kx ENABLE_COMPAT_HOWL_FALSE='#'
331 kx else
331 kx ENABLE_COMPAT_HOWL_TRUE='#'
331 kx ENABLE_COMPAT_HOWL_FALSE=
331 kx fi
331 kx
331 kx
331 kx #
331 kx # systemd
331 kx #
331 kx
331 kx # Check whether --with-systemdsystemunitdir was given.
331 kx if test ${with_systemdsystemunitdir+y}
331 kx then :
331 kx withval=$with_systemdsystemunitdir;
331 kx else $as_nop
331 kx with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
331 kx fi
331 kx
331 kx if test "x$with_systemdsystemunitdir" != xno; then
331 kx systemdsystemunitdir=$with_systemdsystemunitdir
331 kx
331 kx fi
331 kx if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
331 kx HAVE_SYSTEMD_TRUE=
331 kx HAVE_SYSTEMD_FALSE='#'
331 kx else
331 kx HAVE_SYSTEMD_TRUE='#'
331 kx HAVE_SYSTEMD_FALSE=
331 kx fi
331 kx
331 kx
331 kx # ==========================================================================
331 kx ac_config_files="$ac_config_files Makefile avahi-common/Makefile avahi-core/Makefile avahi-glib/Makefile avahi-gobject/Makefile avahi-qt/Makefile avahi-daemon/Makefile avahi-daemon/avahi-dbus.conf avahi-discover-standalone/Makefile avahi-client/Makefile initscript/Makefile initscript/debian/Makefile initscript/gentoo/Makefile initscript/suse/Makefile initscript/fedora/Makefile initscript/lfs/Makefile initscript/mandriva/Makefile initscript/darwin/Makefile initscript/freebsd/Makefile initscript/slackware/Makefile initscript/radix/Makefile avahi-dnsconfd/Makefile avahi-utils/Makefile avahi-python/Makefile avahi-python/avahi/Makefile avahi-python/avahi-discover/Makefile examples/Makefile common/Makefile man/Makefile tests/Makefile service-type-database/Makefile avahi-sharp/Makefile avahi-ui-sharp/Makefile avahi-compat-libdns_sd/Makefile avahi-compat-howl/Makefile avahi-compat-howl/samples/Makefile avahi-autoipd/Makefile avahi-ui/Makefile avahi-libevent/Makefile po/Makefile.in"
331 kx
331 kx cat >confcache <<\_ACEOF
331 kx # This file is a shell script that caches the results of configure
331 kx # tests run on this system so they can be shared between configure
331 kx # scripts and configure runs, see configure's option --config-cache.
331 kx # It is not useful on other systems. If it contains results you don't
331 kx # want to keep, you may remove or edit it.
331 kx #
331 kx # config.status only pays attention to the cache file if you give it
331 kx # the --recheck option to rerun configure.
331 kx #
331 kx # `ac_cv_env_foo' variables (set or unset) will be overridden when
331 kx # loading this file, other *unset* `ac_cv_foo' will be assigned the
331 kx # following values.
331 kx
331 kx _ACEOF
331 kx
331 kx # The following way of writing the cache mishandles newlines in values,
331 kx # but we know of no workaround that is simple, portable, and efficient.
331 kx # So, we kill variables containing newlines.
331 kx # Ultrix sh set writes to stderr and can't be redirected directly,
331 kx # and sets the high bit in the cache file unless we assign to the vars.
331 kx (
331 kx for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
331 kx eval ac_val=\$$ac_var
331 kx case $ac_val in #(
331 kx *${as_nl}*)
331 kx case $ac_var in #(
331 kx *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
331 kx printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
331 kx esac
331 kx case $ac_var in #(
331 kx _ | IFS | as_nl) ;; #(
331 kx BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
331 kx *) { eval $ac_var=; unset $ac_var;} ;;
331 kx esac ;;
331 kx esac
331 kx done
331 kx
331 kx (set) 2>&1 |
331 kx case $as_nl`(ac_space=' '; set) 2>&1` in #(
331 kx *${as_nl}ac_space=\ *)
331 kx # `set' does not quote correctly, so add quotes: double-quote
331 kx # substitution turns \\\\ into \\, and sed turns \\ into \.
331 kx sed -n \
331 kx "s/'/'\\\\''/g;
331 kx s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
331 kx ;; #(
331 kx *)
331 kx # `set' quotes correctly as required by POSIX, so do not add quotes.
331 kx sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
331 kx ;;
331 kx esac |
331 kx sort
331 kx ) |
331 kx sed '
331 kx /^ac_cv_env_/b end
331 kx t clear
331 kx :clear
331 kx s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
331 kx t end
331 kx s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
331 kx :end' >>confcache
331 kx if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
331 kx if test -w "$cache_file"; then
331 kx if test "x$cache_file" != "x/dev/null"; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
331 kx printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
331 kx if test ! -f "$cache_file" || test -h "$cache_file"; then
331 kx cat confcache >"$cache_file"
331 kx else
331 kx case $cache_file in #(
331 kx */* | ?:*)
331 kx mv -f confcache "$cache_file"$$ &&
331 kx mv -f "$cache_file"$$ "$cache_file" ;; #(
331 kx *)
331 kx mv -f confcache "$cache_file" ;;
331 kx esac
331 kx fi
331 kx fi
331 kx else
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
331 kx printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
331 kx fi
331 kx fi
331 kx rm -f confcache
331 kx
331 kx test "x$prefix" = xNONE && prefix=$ac_default_prefix
331 kx # Let make expand exec_prefix.
331 kx test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
331 kx
331 kx DEFS=-DHAVE_CONFIG_H
331 kx
331 kx ac_libobjs=
331 kx ac_ltlibobjs=
331 kx U=
331 kx for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
331 kx # 1. Remove the extension, and $U if already installed.
331 kx ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
331 kx ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
331 kx # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
331 kx # will be set to the directory where LIBOBJS objects are built.
331 kx as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
331 kx as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
331 kx done
331 kx LIBOBJS=$ac_libobjs
331 kx
331 kx LTLIBOBJS=$ac_ltlibobjs
331 kx
331 kx
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
331 kx printf %s "checking that generated files are newer than configure... " >&6; }
331 kx if test -n "$am_sleep_pid"; then
331 kx # Hide warnings about reused PIDs.
331 kx wait $am_sleep_pid 2>/dev/null
331 kx fi
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
331 kx printf "%s\n" "done" >&6; }
331 kx if test -n "$EXEEXT"; then
331 kx am__EXEEXT_TRUE=
331 kx am__EXEEXT_FALSE='#'
331 kx else
331 kx am__EXEEXT_TRUE='#'
331 kx am__EXEEXT_FALSE=
331 kx fi
331 kx
331 kx if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
331 kx as_fn_error $? "conditional \"AMDEP\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
331 kx as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
331 kx as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_NETLINK\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_PF_ROUTE_TRUE}" && test -z "${HAVE_PF_ROUTE_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_PF_ROUTE\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_SYS_FILIO_H_TRUE}" && test -z "${HAVE_SYS_FILIO_H_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_SYS_FILIO_H\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_SYS_SYSCTL_H_TRUE}" && test -z "${HAVE_SYS_SYSCTL_H_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_SYS_SYSCTL_H\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_LFS_TRUE}" && test -z "${TARGET_LFS_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_LFS\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_SUSE_TRUE}" && test -z "${TARGET_SUSE_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_SUSE\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_GENTOO_TRUE}" && test -z "${TARGET_GENTOO_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_GENTOO\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_DEBIAN_TRUE}" && test -z "${TARGET_DEBIAN_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_DEBIAN\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_ARCHLINUX_TRUE}" && test -z "${TARGET_ARCHLINUX_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_ARCHLINUX\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_FEDORA_TRUE}" && test -z "${TARGET_FEDORA_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_FEDORA\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_MANDRIVA_TRUE}" && test -z "${TARGET_MANDRIVA_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_MANDRIVA\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_DARWIN_TRUE}" && test -z "${TARGET_DARWIN_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_DARWIN\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_NETBSD_TRUE}" && test -z "${TARGET_NETBSD_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_NETBSD\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_FREEBSD_TRUE}" && test -z "${TARGET_FREEBSD_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_FREEBSD\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_SLACKWARE_TRUE}" && test -z "${TARGET_SLACKWARE_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_SLACKWARE\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${TARGET_RADIX_TRUE}" && test -z "${TARGET_RADIX_FALSE}"; then
331 kx as_fn_error $? "conditional \"TARGET_RADIX\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${ENABLE_CHROOT_TRUE}" && test -z "${ENABLE_CHROOT_FALSE}"; then
331 kx as_fn_error $? "conditional \"ENABLE_CHROOT\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_DLOPEN_TRUE}" && test -z "${HAVE_DLOPEN_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_DLOPEN\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_INOTIFY_TRUE}" && test -z "${HAVE_INOTIFY_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_INOTIFY\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_KQUEUE_TRUE}" && test -z "${HAVE_KQUEUE_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_KQUEUE\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_GOBJECT_TRUE}" && test -z "${HAVE_GOBJECT_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_GOBJECT\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_LIBEVENT_TRUE}" && test -z "${HAVE_LIBEVENT_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_LIBEVENT\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_QT3_TRUE}" && test -z "${HAVE_QT3_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_QT3\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_QT4_TRUE}" && test -z "${HAVE_QT4_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_QT4\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_QT5_TRUE}" && test -z "${HAVE_QT5_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_QT5\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_GTK3_TRUE}" && test -z "${HAVE_GTK3_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_GTK3\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_GTK2OR3_TRUE}" && test -z "${HAVE_GTK2OR3_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_GTK2OR3\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_DBUS\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_XML_TRUE}" && test -z "${HAVE_XML_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_XML\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_GDBM_TRUE}" && test -z "${HAVE_GDBM_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_GDBM\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_DBM_TRUE}" && test -z "${HAVE_DBM_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_DBM\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_LIBDAEMON_TRUE}" && test -z "${HAVE_LIBDAEMON_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_LIBDAEMON\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_PYGOBJECT_TRUE}" && test -z "${HAVE_PYGOBJECT_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_PYGOBJECT\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_PYTHON_DBUS_TRUE}" && test -z "${HAVE_PYTHON_DBUS_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_PYTHON_DBUS\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_MONO_TRUE}" && test -z "${HAVE_MONO_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_MONO\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_MONODOC_TRUE}" && test -z "${HAVE_MONODOC_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_MONODOC\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${ENABLE_AUTOIPD_TRUE}" && test -z "${ENABLE_AUTOIPD_FALSE}"; then
331 kx as_fn_error $? "conditional \"ENABLE_AUTOIPD\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_man\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_man\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_html\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_html\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
331 kx as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${ENABLE_CORE_DOCS_TRUE}" && test -z "${ENABLE_CORE_DOCS_FALSE}"; then
331 kx as_fn_error $? "conditional \"ENABLE_CORE_DOCS\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${USE_XMLTOMAN_TRUE}" && test -z "${USE_XMLTOMAN_FALSE}"; then
331 kx as_fn_error $? "conditional \"USE_XMLTOMAN\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${BUILD_MANPAGES_TRUE}" && test -z "${BUILD_MANPAGES_FALSE}"; then
331 kx as_fn_error $? "conditional \"BUILD_MANPAGES\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
331 kx as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${ENABLE_COMPAT_LIBDNS_SD_TRUE}" && test -z "${ENABLE_COMPAT_LIBDNS_SD_FALSE}"; then
331 kx as_fn_error $? "conditional \"ENABLE_COMPAT_LIBDNS_SD\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${ENABLE_COMPAT_HOWL_TRUE}" && test -z "${ENABLE_COMPAT_HOWL_FALSE}"; then
331 kx as_fn_error $? "conditional \"ENABLE_COMPAT_HOWL\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then
331 kx as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined.
331 kx Usually this means the macro was only invoked conditionally." "$LINENO" 5
331 kx fi
331 kx
331 kx : "${CONFIG_STATUS=./config.status}"
331 kx ac_write_fail=0
331 kx ac_clean_files_save=$ac_clean_files
331 kx ac_clean_files="$ac_clean_files $CONFIG_STATUS"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
331 kx printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
331 kx as_write_fail=0
331 kx cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
331 kx #! $SHELL
331 kx # Generated by $as_me.
331 kx # Run this file to recreate the current configuration.
331 kx # Compiler output produced by configure, useful for debugging
331 kx # configure, is in config.log if it exists.
331 kx
331 kx debug=false
331 kx ac_cs_recheck=false
331 kx ac_cs_silent=false
331 kx
331 kx SHELL=\${CONFIG_SHELL-$SHELL}
331 kx export SHELL
331 kx _ASEOF
331 kx cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
331 kx ## -------------------- ##
331 kx ## M4sh Initialization. ##
331 kx ## -------------------- ##
331 kx
331 kx # Be more Bourne compatible
331 kx DUALCASE=1; export DUALCASE # for MKS sh
331 kx as_nop=:
331 kx if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
331 kx then :
331 kx emulate sh
331 kx NULLCMD=:
331 kx # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
331 kx # is contrary to our usage. Disable this feature.
331 kx alias -g '${1+"$@"}'='"$@"'
331 kx setopt NO_GLOB_SUBST
331 kx else $as_nop
331 kx case `(set -o) 2>/dev/null` in #(
331 kx *posix*) :
331 kx set -o posix ;; #(
331 kx *) :
331 kx ;;
331 kx esac
331 kx fi
331 kx
331 kx
331 kx
331 kx # Reset variables that may have inherited troublesome values from
331 kx # the environment.
331 kx
331 kx # IFS needs to be set, to space, tab, and newline, in precisely that order.
331 kx # (If _AS_PATH_WALK were called with IFS unset, it would have the
331 kx # side effect of setting IFS to empty, thus disabling word splitting.)
331 kx # Quoting is to prevent editors from complaining about space-tab.
331 kx as_nl='
331 kx '
331 kx export as_nl
331 kx IFS=" "" $as_nl"
331 kx
331 kx PS1='$ '
331 kx PS2='> '
331 kx PS4='+ '
331 kx
331 kx # Ensure predictable behavior from utilities with locale-dependent output.
331 kx LC_ALL=C
331 kx export LC_ALL
331 kx LANGUAGE=C
331 kx export LANGUAGE
331 kx
331 kx # We cannot yet rely on "unset" to work, but we need these variables
331 kx # to be unset--not just set to an empty or harmless value--now, to
331 kx # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
331 kx # also avoids known problems related to "unset" and subshell syntax
331 kx # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
331 kx for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
331 kx do eval test \${$as_var+y} \
331 kx && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
331 kx done
331 kx
331 kx # Ensure that fds 0, 1, and 2 are open.
331 kx if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
331 kx if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
331 kx if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
331 kx
331 kx # The user is always right.
331 kx if ${PATH_SEPARATOR+false} :; then
331 kx PATH_SEPARATOR=:
331 kx (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
331 kx (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
331 kx PATH_SEPARATOR=';'
331 kx }
331 kx fi
331 kx
331 kx
331 kx # Find who we are. Look in the path if we contain no directory separator.
331 kx as_myself=
331 kx case $0 in #((
331 kx *[\\/]* ) as_myself=$0 ;;
331 kx *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
331 kx for as_dir in $PATH
331 kx do
331 kx IFS=$as_save_IFS
331 kx case $as_dir in #(((
331 kx '') as_dir=./ ;;
331 kx */) ;;
331 kx *) as_dir=$as_dir/ ;;
331 kx esac
331 kx test -r "$as_dir$0" && as_myself=$as_dir$0 && break
331 kx done
331 kx IFS=$as_save_IFS
331 kx
331 kx ;;
331 kx esac
331 kx # We did not find ourselves, most probably we were run as `sh COMMAND'
331 kx # in which case we are not to be found in the path.
331 kx if test "x$as_myself" = x; then
331 kx as_myself=$0
331 kx fi
331 kx if test ! -f "$as_myself"; then
331 kx printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
331 kx exit 1
331 kx fi
331 kx
331 kx
331 kx
331 kx # as_fn_error STATUS ERROR [LINENO LOG_FD]
331 kx # ----------------------------------------
331 kx # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
331 kx # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
331 kx # script with STATUS, using 1 if that was 0.
331 kx as_fn_error ()
331 kx {
331 kx as_status=$1; test $as_status -eq 0 && as_status=1
331 kx if test "$4"; then
331 kx as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
331 kx printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
331 kx fi
331 kx printf "%s\n" "$as_me: error: $2" >&2
331 kx as_fn_exit $as_status
331 kx } # as_fn_error
331 kx
331 kx
331 kx
331 kx # as_fn_set_status STATUS
331 kx # -----------------------
331 kx # Set $? to STATUS, without forking.
331 kx as_fn_set_status ()
331 kx {
331 kx return $1
331 kx } # as_fn_set_status
331 kx
331 kx # as_fn_exit STATUS
331 kx # -----------------
331 kx # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
331 kx as_fn_exit ()
331 kx {
331 kx set +e
331 kx as_fn_set_status $1
331 kx exit $1
331 kx } # as_fn_exit
331 kx
331 kx # as_fn_unset VAR
331 kx # ---------------
331 kx # Portably unset VAR.
331 kx as_fn_unset ()
331 kx {
331 kx { eval $1=; unset $1;}
331 kx }
331 kx as_unset=as_fn_unset
331 kx
331 kx # as_fn_append VAR VALUE
331 kx # ----------------------
331 kx # Append the text in VALUE to the end of the definition contained in VAR. Take
331 kx # advantage of any shell optimizations that allow amortized linear growth over
331 kx # repeated appends, instead of the typical quadratic growth present in naive
331 kx # implementations.
331 kx if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
331 kx then :
331 kx eval 'as_fn_append ()
331 kx {
331 kx eval $1+=\$2
331 kx }'
331 kx else $as_nop
331 kx as_fn_append ()
331 kx {
331 kx eval $1=\$$1\$2
331 kx }
331 kx fi # as_fn_append
331 kx
331 kx # as_fn_arith ARG...
331 kx # ------------------
331 kx # Perform arithmetic evaluation on the ARGs, and store the result in the
331 kx # global $as_val. Take advantage of shells that can avoid forks. The arguments
331 kx # must be portable across $(()) and expr.
331 kx if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
331 kx then :
331 kx eval 'as_fn_arith ()
331 kx {
331 kx as_val=$(( $* ))
331 kx }'
331 kx else $as_nop
331 kx as_fn_arith ()
331 kx {
331 kx as_val=`expr "$@" || test $? -eq 1`
331 kx }
331 kx fi # as_fn_arith
331 kx
331 kx
331 kx if expr a : '\(a\)' >/dev/null 2>&1 &&
331 kx test "X`expr 00001 : '.*\(...\)'`" = X001; then
331 kx as_expr=expr
331 kx else
331 kx as_expr=false
331 kx fi
331 kx
331 kx if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
331 kx as_basename=basename
331 kx else
331 kx as_basename=false
331 kx fi
331 kx
331 kx if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
331 kx as_dirname=dirname
331 kx else
331 kx as_dirname=false
331 kx fi
331 kx
331 kx as_me=`$as_basename -- "$0" ||
331 kx $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
331 kx X"$0" : 'X\(//\)$' \| \
331 kx X"$0" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X/"$0" |
331 kx sed '/^.*\/\([^/][^/]*\)\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\/\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\/\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx
331 kx # Avoid depending upon Character Ranges.
331 kx as_cr_letters='abcdefghijklmnopqrstuvwxyz'
331 kx as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
331 kx as_cr_Letters=$as_cr_letters$as_cr_LETTERS
331 kx as_cr_digits='0123456789'
331 kx as_cr_alnum=$as_cr_Letters$as_cr_digits
331 kx
331 kx
331 kx # Determine whether it's possible to make 'echo' print without a newline.
331 kx # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
331 kx # for compatibility with existing Makefiles.
331 kx ECHO_C= ECHO_N= ECHO_T=
331 kx case `echo -n x` in #(((((
331 kx -n*)
331 kx case `echo 'xy\c'` in
331 kx *c*) ECHO_T=' ';; # ECHO_T is single tab character.
331 kx xy) ECHO_C='\c';;
331 kx *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
331 kx ECHO_T=' ';;
331 kx esac;;
331 kx *)
331 kx ECHO_N='-n';;
331 kx esac
331 kx
331 kx # For backward compatibility with old third-party macros, we provide
331 kx # the shell variables $as_echo and $as_echo_n. New code should use
331 kx # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
331 kx as_echo='printf %s\n'
331 kx as_echo_n='printf %s'
331 kx
331 kx rm -f conf$$ conf$$.exe conf$$.file
331 kx if test -d conf$$.dir; then
331 kx rm -f conf$$.dir/conf$$.file
331 kx else
331 kx rm -f conf$$.dir
331 kx mkdir conf$$.dir 2>/dev/null
331 kx fi
331 kx if (echo >conf$$.file) 2>/dev/null; then
331 kx if ln -s conf$$.file conf$$ 2>/dev/null; then
331 kx as_ln_s='ln -s'
331 kx # ... but there are two gotchas:
331 kx # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
331 kx # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
331 kx # In both cases, we have to default to `cp -pR'.
331 kx ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
331 kx as_ln_s='cp -pR'
331 kx elif ln conf$$.file conf$$ 2>/dev/null; then
331 kx as_ln_s=ln
331 kx else
331 kx as_ln_s='cp -pR'
331 kx fi
331 kx else
331 kx as_ln_s='cp -pR'
331 kx fi
331 kx rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
331 kx rmdir conf$$.dir 2>/dev/null
331 kx
331 kx
331 kx # as_fn_mkdir_p
331 kx # -------------
331 kx # Create "$as_dir" as a directory, including parents if necessary.
331 kx as_fn_mkdir_p ()
331 kx {
331 kx
331 kx case $as_dir in #(
331 kx -*) as_dir=./$as_dir;;
331 kx esac
331 kx test -d "$as_dir" || eval $as_mkdir_p || {
331 kx as_dirs=
331 kx while :; do
331 kx case $as_dir in #(
331 kx *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 kx *) as_qdir=$as_dir;;
331 kx esac
331 kx as_dirs="'$as_qdir' $as_dirs"
331 kx as_dir=`$as_dirname -- "$as_dir" ||
331 kx $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 kx X"$as_dir" : 'X\(//\)[^/]' \| \
331 kx X"$as_dir" : 'X\(//\)$' \| \
331 kx X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X"$as_dir" |
331 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)[^/].*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx test -d "$as_dir" && break
331 kx done
331 kx test -z "$as_dirs" || eval "mkdir $as_dirs"
331 kx } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 kx
331 kx
331 kx } # as_fn_mkdir_p
331 kx if mkdir -p . 2>/dev/null; then
331 kx as_mkdir_p='mkdir -p "$as_dir"'
331 kx else
331 kx test -d ./-p && rmdir ./-p
331 kx as_mkdir_p=false
331 kx fi
331 kx
331 kx
331 kx # as_fn_executable_p FILE
331 kx # -----------------------
331 kx # Test if FILE is an executable regular file.
331 kx as_fn_executable_p ()
331 kx {
331 kx test -f "$1" && test -x "$1"
331 kx } # as_fn_executable_p
331 kx as_test_x='test -x'
331 kx as_executable_p=as_fn_executable_p
331 kx
331 kx # Sed expression to map a string onto a valid CPP name.
331 kx as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
331 kx
331 kx # Sed expression to map a string onto a valid variable name.
331 kx as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
331 kx
331 kx
331 kx exec 6>&1
331 kx ## ----------------------------------- ##
331 kx ## Main body of $CONFIG_STATUS script. ##
331 kx ## ----------------------------------- ##
331 kx _ASEOF
331 kx test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
331 kx
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx # Save the log message, to keep $0 and so on meaningful, and to
331 kx # report actual input values of CONFIG_FILES etc. instead of their
331 kx # values after options handling.
331 kx ac_log="
331 kx This file was extended by avahi $as_me 0.8, which was
331 kx generated by GNU Autoconf 2.71. Invocation command line was
331 kx
331 kx CONFIG_FILES = $CONFIG_FILES
331 kx CONFIG_HEADERS = $CONFIG_HEADERS
331 kx CONFIG_LINKS = $CONFIG_LINKS
331 kx CONFIG_COMMANDS = $CONFIG_COMMANDS
331 kx $ $0 $@
331 kx
331 kx on `(hostname || uname -n) 2>/dev/null | sed 1q`
331 kx "
331 kx
331 kx _ACEOF
331 kx
331 kx case $ac_config_files in *"
331 kx "*) set x $ac_config_files; shift; ac_config_files=$*;;
331 kx esac
331 kx
331 kx case $ac_config_headers in *"
331 kx "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
331 kx esac
331 kx
331 kx
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx # Files that config.status was made for.
331 kx config_files="$ac_config_files"
331 kx config_headers="$ac_config_headers"
331 kx config_commands="$ac_config_commands"
331 kx
331 kx _ACEOF
331 kx
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx ac_cs_usage="\
331 kx \`$as_me' instantiates files and other configuration actions
331 kx from templates according to the current configuration. Unless the files
331 kx and actions are specified as TAGs, all are instantiated by default.
331 kx
331 kx Usage: $0 [OPTION]... [TAG]...
331 kx
331 kx -h, --help print this help, then exit
331 kx -V, --version print version number and configuration settings, then exit
331 kx --config print configuration, then exit
331 kx -q, --quiet, --silent
331 kx do not print progress messages
331 kx -d, --debug don't remove temporary files
331 kx --recheck update $as_me by reconfiguring in the same conditions
331 kx --file=FILE[:TEMPLATE]
331 kx instantiate the configuration file FILE
331 kx --header=FILE[:TEMPLATE]
331 kx instantiate the configuration header FILE
331 kx
331 kx Configuration files:
331 kx $config_files
331 kx
331 kx Configuration headers:
331 kx $config_headers
331 kx
331 kx Configuration commands:
331 kx $config_commands
331 kx
331 kx Report bugs to <avahi (at) lists (dot) freedesktop (dot) org>."
331 kx
331 kx _ACEOF
331 kx ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
331 kx ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx ac_cs_config='$ac_cs_config_escaped'
331 kx ac_cs_version="\\
331 kx avahi config.status 0.8
331 kx configured by $0, generated by GNU Autoconf 2.71,
331 kx with options \\"\$ac_cs_config\\"
331 kx
331 kx Copyright (C) 2021 Free Software Foundation, Inc.
331 kx This config.status script is free software; the Free Software Foundation
331 kx gives unlimited permission to copy, distribute and modify it."
331 kx
331 kx ac_pwd='$ac_pwd'
331 kx srcdir='$srcdir'
331 kx INSTALL='$INSTALL'
331 kx MKDIR_P='$MKDIR_P'
331 kx AWK='$AWK'
331 kx test -n "\$AWK" || AWK=awk
331 kx _ACEOF
331 kx
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx # The default lists apply if the user does not specify any file.
331 kx ac_need_defaults=:
331 kx while test $# != 0
331 kx do
331 kx case $1 in
331 kx --*=?*)
331 kx ac_option=`expr "X$1" : 'X\([^=]*\)='`
331 kx ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
331 kx ac_shift=:
331 kx ;;
331 kx --*=)
331 kx ac_option=`expr "X$1" : 'X\([^=]*\)='`
331 kx ac_optarg=
331 kx ac_shift=:
331 kx ;;
331 kx *)
331 kx ac_option=$1
331 kx ac_optarg=$2
331 kx ac_shift=shift
331 kx ;;
331 kx esac
331 kx
331 kx case $ac_option in
331 kx # Handling of the options.
331 kx -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
331 kx ac_cs_recheck=: ;;
331 kx --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
331 kx printf "%s\n" "$ac_cs_version"; exit ;;
331 kx --config | --confi | --conf | --con | --co | --c )
331 kx printf "%s\n" "$ac_cs_config"; exit ;;
331 kx --debug | --debu | --deb | --de | --d | -d )
331 kx debug=: ;;
331 kx --file | --fil | --fi | --f )
331 kx $ac_shift
331 kx case $ac_optarg in
331 kx *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
331 kx '') as_fn_error $? "missing file argument" ;;
331 kx esac
331 kx as_fn_append CONFIG_FILES " '$ac_optarg'"
331 kx ac_need_defaults=false;;
331 kx --header | --heade | --head | --hea )
331 kx $ac_shift
331 kx case $ac_optarg in
331 kx *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
331 kx esac
331 kx as_fn_append CONFIG_HEADERS " '$ac_optarg'"
331 kx ac_need_defaults=false;;
331 kx --he | --h)
331 kx # Conflict between --help and --header
331 kx as_fn_error $? "ambiguous option: \`$1'
331 kx Try \`$0 --help' for more information.";;
331 kx --help | --hel | -h )
331 kx printf "%s\n" "$ac_cs_usage"; exit ;;
331 kx -q | -quiet | --quiet | --quie | --qui | --qu | --q \
331 kx | -silent | --silent | --silen | --sile | --sil | --si | --s)
331 kx ac_cs_silent=: ;;
331 kx
331 kx # This is an error.
331 kx -*) as_fn_error $? "unrecognized option: \`$1'
331 kx Try \`$0 --help' for more information." ;;
331 kx
331 kx *) as_fn_append ac_config_targets " $1"
331 kx ac_need_defaults=false ;;
331 kx
331 kx esac
331 kx shift
331 kx done
331 kx
331 kx ac_configure_extra_args=
331 kx
331 kx if $ac_cs_silent; then
331 kx exec 6>/dev/null
331 kx ac_configure_extra_args="$ac_configure_extra_args --silent"
331 kx fi
331 kx
331 kx _ACEOF
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx if \$ac_cs_recheck; then
331 kx set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
331 kx shift
331 kx \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
331 kx CONFIG_SHELL='$SHELL'
331 kx export CONFIG_SHELL
331 kx exec "\$@"
331 kx fi
331 kx
331 kx _ACEOF
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx exec 5>>config.log
331 kx {
331 kx echo
331 kx sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
331 kx ## Running $as_me. ##
331 kx _ASBOX
331 kx printf "%s\n" "$ac_log"
331 kx } >&5
331 kx
331 kx _ACEOF
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx #
331 kx # INIT-COMMANDS
331 kx #
331 kx AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
331 kx
331 kx
331 kx # The HP-UX ksh and POSIX shell print the target directory to stdout
331 kx # if CDPATH is set.
331 kx (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
331 kx
331 kx sed_quote_subst='$sed_quote_subst'
331 kx double_quote_subst='$double_quote_subst'
331 kx delay_variable_subst='$delay_variable_subst'
331 kx macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
331 kx macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
331 kx enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
331 kx enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
331 kx pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
331 kx enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
331 kx shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
331 kx SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
331 kx ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
331 kx PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
331 kx host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
331 kx host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
331 kx host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
331 kx build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
331 kx build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
331 kx build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
331 kx SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
331 kx Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
331 kx GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
331 kx EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
331 kx FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
331 kx LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
331 kx NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
331 kx LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
331 kx max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
331 kx ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
331 kx exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
331 kx lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
331 kx lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
331 kx lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
331 kx reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
331 kx reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
331 kx FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
331 kx OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
331 kx deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
331 kx file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
331 kx file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
331 kx want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
331 kx DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
331 kx sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
331 kx AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
331 kx lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
331 kx AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
331 kx archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
331 kx STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
331 kx RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
331 kx old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
331 kx old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
331 kx old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
331 kx lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
331 kx CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
331 kx CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
331 kx compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
331 kx GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
331 kx nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
331 kx lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
331 kx objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
331 kx MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
331 kx need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
331 kx MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
331 kx DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
331 kx NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
331 kx LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
331 kx OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
331 kx OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
331 kx libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
331 kx shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
331 kx extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
331 kx archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
331 kx enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
331 kx export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
331 kx whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
331 kx compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
331 kx old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
331 kx old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
331 kx archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
331 kx archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
331 kx module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
331 kx module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
331 kx with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
331 kx allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
331 kx no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
331 kx inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
331 kx link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
331 kx always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
331 kx export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
331 kx exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
331 kx include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
331 kx prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
331 kx postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
331 kx file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
331 kx variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
331 kx need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
331 kx need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
331 kx version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
331 kx runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
331 kx shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
331 kx shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
331 kx libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
331 kx library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
331 kx soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
331 kx install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
331 kx postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
331 kx postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
331 kx finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
331 kx finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
331 kx sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
331 kx configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
331 kx configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
331 kx enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
331 kx enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
331 kx enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
331 kx old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
331 kx striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
331 kx compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
331 kx predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
331 kx postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
331 kx predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
331 kx postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
331 kx compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
331 kx LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
331 kx reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
331 kx reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
331 kx GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
331 kx lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
331 kx lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
331 kx archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
331 kx enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
331 kx export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
331 kx whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
331 kx compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
331 kx old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
331 kx allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
331 kx no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
331 kx inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
331 kx link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
331 kx always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
331 kx export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
331 kx include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
331 kx prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
331 kx file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
331 kx hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
331 kx compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
331 kx predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
331 kx postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
331 kx predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
331 kx postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
331 kx compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
331 kx
331 kx LTCC='$LTCC'
331 kx LTCFLAGS='$LTCFLAGS'
331 kx compiler='$compiler_DEFAULT'
331 kx
331 kx # A function that is used when there is no print builtin or printf.
331 kx func_fallback_echo ()
331 kx {
331 kx eval 'cat <<_LTECHO_EOF
331 kx \$1
331 kx _LTECHO_EOF'
331 kx }
331 kx
331 kx # Quote evaled strings.
331 kx for var in SHELL \
331 kx ECHO \
331 kx PATH_SEPARATOR \
331 kx SED \
331 kx GREP \
331 kx EGREP \
331 kx FGREP \
331 kx LD \
331 kx NM \
331 kx LN_S \
331 kx lt_SP2NL \
331 kx lt_NL2SP \
331 kx reload_flag \
331 kx FILECMD \
331 kx OBJDUMP \
331 kx deplibs_check_method \
331 kx file_magic_cmd \
331 kx file_magic_glob \
331 kx want_nocaseglob \
331 kx DLLTOOL \
331 kx sharedlib_from_linklib_cmd \
331 kx AR \
331 kx archiver_list_spec \
331 kx STRIP \
331 kx RANLIB \
331 kx CC \
331 kx CFLAGS \
331 kx compiler \
331 kx lt_cv_sys_global_symbol_pipe \
331 kx lt_cv_sys_global_symbol_to_cdecl \
331 kx lt_cv_sys_global_symbol_to_import \
331 kx lt_cv_sys_global_symbol_to_c_name_address \
331 kx lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
331 kx lt_cv_nm_interface \
331 kx nm_file_list_spec \
331 kx lt_cv_truncate_bin \
331 kx lt_prog_compiler_no_builtin_flag \
331 kx lt_prog_compiler_pic \
331 kx lt_prog_compiler_wl \
331 kx lt_prog_compiler_static \
331 kx lt_cv_prog_compiler_c_o \
331 kx need_locks \
331 kx MANIFEST_TOOL \
331 kx DSYMUTIL \
331 kx NMEDIT \
331 kx LIPO \
331 kx OTOOL \
331 kx OTOOL64 \
331 kx shrext_cmds \
331 kx export_dynamic_flag_spec \
331 kx whole_archive_flag_spec \
331 kx compiler_needs_object \
331 kx with_gnu_ld \
331 kx allow_undefined_flag \
331 kx no_undefined_flag \
331 kx hardcode_libdir_flag_spec \
331 kx hardcode_libdir_separator \
331 kx exclude_expsyms \
331 kx include_expsyms \
331 kx file_list_spec \
331 kx variables_saved_for_relink \
331 kx libname_spec \
331 kx library_names_spec \
331 kx soname_spec \
331 kx install_override_mode \
331 kx finish_eval \
331 kx old_striplib \
331 kx striplib \
331 kx compiler_lib_search_dirs \
331 kx predep_objects \
331 kx postdep_objects \
331 kx predeps \
331 kx postdeps \
331 kx compiler_lib_search_path \
331 kx LD_CXX \
331 kx reload_flag_CXX \
331 kx compiler_CXX \
331 kx lt_prog_compiler_no_builtin_flag_CXX \
331 kx lt_prog_compiler_pic_CXX \
331 kx lt_prog_compiler_wl_CXX \
331 kx lt_prog_compiler_static_CXX \
331 kx lt_cv_prog_compiler_c_o_CXX \
331 kx export_dynamic_flag_spec_CXX \
331 kx whole_archive_flag_spec_CXX \
331 kx compiler_needs_object_CXX \
331 kx with_gnu_ld_CXX \
331 kx allow_undefined_flag_CXX \
331 kx no_undefined_flag_CXX \
331 kx hardcode_libdir_flag_spec_CXX \
331 kx hardcode_libdir_separator_CXX \
331 kx exclude_expsyms_CXX \
331 kx include_expsyms_CXX \
331 kx file_list_spec_CXX \
331 kx compiler_lib_search_dirs_CXX \
331 kx predep_objects_CXX \
331 kx postdep_objects_CXX \
331 kx predeps_CXX \
331 kx postdeps_CXX \
331 kx compiler_lib_search_path_CXX; do
331 kx case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
331 kx *[\\\\\\\`\\"\\\$]*)
331 kx eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
331 kx ;;
331 kx *)
331 kx eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
331 kx ;;
331 kx esac
331 kx done
331 kx
331 kx # Double-quote double-evaled strings.
331 kx for var in reload_cmds \
331 kx old_postinstall_cmds \
331 kx old_postuninstall_cmds \
331 kx old_archive_cmds \
331 kx extract_expsyms_cmds \
331 kx old_archive_from_new_cmds \
331 kx old_archive_from_expsyms_cmds \
331 kx archive_cmds \
331 kx archive_expsym_cmds \
331 kx module_cmds \
331 kx module_expsym_cmds \
331 kx export_symbols_cmds \
331 kx prelink_cmds \
331 kx postlink_cmds \
331 kx postinstall_cmds \
331 kx postuninstall_cmds \
331 kx finish_cmds \
331 kx sys_lib_search_path_spec \
331 kx configure_time_dlsearch_path \
331 kx configure_time_lt_sys_library_path \
331 kx reload_cmds_CXX \
331 kx old_archive_cmds_CXX \
331 kx old_archive_from_new_cmds_CXX \
331 kx old_archive_from_expsyms_cmds_CXX \
331 kx archive_cmds_CXX \
331 kx archive_expsym_cmds_CXX \
331 kx module_cmds_CXX \
331 kx module_expsym_cmds_CXX \
331 kx export_symbols_cmds_CXX \
331 kx prelink_cmds_CXX \
331 kx postlink_cmds_CXX; do
331 kx case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
331 kx *[\\\\\\\`\\"\\\$]*)
331 kx eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
331 kx ;;
331 kx *)
331 kx eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
331 kx ;;
331 kx esac
331 kx done
331 kx
331 kx ac_aux_dir='$ac_aux_dir'
331 kx
331 kx # See if we are running on zsh, and set the options that allow our
331 kx # commands through without removal of \ escapes INIT.
331 kx if test -n "\${ZSH_VERSION+set}"; then
331 kx setopt NO_GLOB_SUBST
331 kx fi
331 kx
331 kx
331 kx PACKAGE='$PACKAGE'
331 kx VERSION='$VERSION'
331 kx RM='$RM'
331 kx ofile='$ofile'
331 kx
331 kx
331 kx
331 kx
331 kx
331 kx # Capture the value of obsolete ALL_LINGUAS because we need it to compute
331 kx # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
331 kx OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
331 kx # Capture the value of LINGUAS because we need it to compute CATALOGS.
331 kx LINGUAS="${LINGUAS-%UNSET%}"
331 kx
331 kx
331 kx _ACEOF
331 kx
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx
331 kx # Handling of arguments.
331 kx for ac_config_target in $ac_config_targets
331 kx do
331 kx case $ac_config_target in
331 kx "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
331 kx "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
331 kx "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
331 kx "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
331 kx "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
331 kx "avahi-common/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-common/Makefile" ;;
331 kx "avahi-core/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-core/Makefile" ;;
331 kx "avahi-glib/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-glib/Makefile" ;;
331 kx "avahi-gobject/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-gobject/Makefile" ;;
331 kx "avahi-qt/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-qt/Makefile" ;;
331 kx "avahi-daemon/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-daemon/Makefile" ;;
331 kx "avahi-daemon/avahi-dbus.conf") CONFIG_FILES="$CONFIG_FILES avahi-daemon/avahi-dbus.conf" ;;
331 kx "avahi-discover-standalone/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-discover-standalone/Makefile" ;;
331 kx "avahi-client/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-client/Makefile" ;;
331 kx "initscript/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/Makefile" ;;
331 kx "initscript/debian/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/debian/Makefile" ;;
331 kx "initscript/gentoo/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/gentoo/Makefile" ;;
331 kx "initscript/suse/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/suse/Makefile" ;;
331 kx "initscript/fedora/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/fedora/Makefile" ;;
331 kx "initscript/lfs/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/lfs/Makefile" ;;
331 kx "initscript/mandriva/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/mandriva/Makefile" ;;
331 kx "initscript/darwin/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/darwin/Makefile" ;;
331 kx "initscript/freebsd/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/freebsd/Makefile" ;;
331 kx "initscript/slackware/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/slackware/Makefile" ;;
331 kx "initscript/radix/Makefile") CONFIG_FILES="$CONFIG_FILES initscript/radix/Makefile" ;;
331 kx "avahi-dnsconfd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-dnsconfd/Makefile" ;;
331 kx "avahi-utils/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-utils/Makefile" ;;
331 kx "avahi-python/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/Makefile" ;;
331 kx "avahi-python/avahi/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/avahi/Makefile" ;;
331 kx "avahi-python/avahi-discover/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-python/avahi-discover/Makefile" ;;
331 kx "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
331 kx "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
331 kx "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
331 kx "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
331 kx "service-type-database/Makefile") CONFIG_FILES="$CONFIG_FILES service-type-database/Makefile" ;;
331 kx "avahi-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-sharp/Makefile" ;;
331 kx "avahi-ui-sharp/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-ui-sharp/Makefile" ;;
331 kx "avahi-compat-libdns_sd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-libdns_sd/Makefile" ;;
331 kx "avahi-compat-howl/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-howl/Makefile" ;;
331 kx "avahi-compat-howl/samples/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-compat-howl/samples/Makefile" ;;
331 kx "avahi-autoipd/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-autoipd/Makefile" ;;
331 kx "avahi-ui/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-ui/Makefile" ;;
331 kx "avahi-libevent/Makefile") CONFIG_FILES="$CONFIG_FILES avahi-libevent/Makefile" ;;
331 kx "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
331 kx
331 kx *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
331 kx esac
331 kx done
331 kx
331 kx
331 kx # If the user did not use the arguments to specify the items to instantiate,
331 kx # then the envvar interface is used. Set only those that are not.
331 kx # We use the long form for the default assignment because of an extremely
331 kx # bizarre bug on SunOS 4.1.3.
331 kx if $ac_need_defaults; then
331 kx test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
331 kx test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
331 kx test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
331 kx fi
331 kx
331 kx # Have a temporary directory for convenience. Make it in the build tree
331 kx # simply because there is no reason against having it here, and in addition,
331 kx # creating and moving files from /tmp can sometimes cause problems.
331 kx # Hook for its removal unless debugging.
331 kx # Note that there is a small window in which the directory will not be cleaned:
331 kx # after its creation but before its name has been assigned to `$tmp'.
331 kx $debug ||
331 kx {
331 kx tmp= ac_tmp=
331 kx trap 'exit_status=$?
331 kx : "${ac_tmp:=$tmp}"
331 kx { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
331 kx ' 0
331 kx trap 'as_fn_exit 1' 1 2 13 15
331 kx }
331 kx # Create a (secure) tmp directory for tmp files.
331 kx
331 kx {
331 kx tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
331 kx test -d "$tmp"
331 kx } ||
331 kx {
331 kx tmp=./conf$$-$RANDOM
331 kx (umask 077 && mkdir "$tmp")
331 kx } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
331 kx ac_tmp=$tmp
331 kx
331 kx # Set up the scripts for CONFIG_FILES section.
331 kx # No need to generate them if there are no CONFIG_FILES.
331 kx # This happens for instance with `./config.status config.h'.
331 kx if test -n "$CONFIG_FILES"; then
331 kx
331 kx
331 kx ac_cr=`echo X | tr X '\015'`
331 kx # On cygwin, bash can eat \r inside `` if the user requested igncr.
331 kx # But we know of no other shell where ac_cr would be empty at this
331 kx # point, so we can use a bashism as a fallback.
331 kx if test "x$ac_cr" = x; then
331 kx eval ac_cr=\$\'\\r\'
331 kx fi
331 kx ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
331 kx if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
331 kx ac_cs_awk_cr='\\r'
331 kx else
331 kx ac_cs_awk_cr=$ac_cr
331 kx fi
331 kx
331 kx echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
331 kx _ACEOF
331 kx
331 kx
331 kx {
331 kx echo "cat >conf$$subs.awk <<_ACEOF" &&
331 kx echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
331 kx echo "_ACEOF"
331 kx } >conf$$subs.sh ||
331 kx as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
331 kx ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
331 kx ac_delim='%!_!# '
331 kx for ac_last_try in false false false false false :; do
331 kx . ./conf$$subs.sh ||
331 kx as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
331 kx
331 kx ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
331 kx if test $ac_delim_n = $ac_delim_num; then
331 kx break
331 kx elif $ac_last_try; then
331 kx as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
331 kx else
331 kx ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
331 kx fi
331 kx done
331 kx rm -f conf$$subs.sh
331 kx
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
331 kx _ACEOF
331 kx sed -n '
331 kx h
331 kx s/^/S["/; s/!.*/"]=/
331 kx p
331 kx g
331 kx s/^[^!]*!//
331 kx :repl
331 kx t repl
331 kx s/'"$ac_delim"'$//
331 kx t delim
331 kx :nl
331 kx h
331 kx s/\(.\{148\}\)..*/\1/
331 kx t more1
331 kx s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
331 kx p
331 kx n
331 kx b repl
331 kx :more1
331 kx s/["\\]/\\&/g; s/^/"/; s/$/"\\/
331 kx p
331 kx g
331 kx s/.\{148\}//
331 kx t nl
331 kx :delim
331 kx h
331 kx s/\(.\{148\}\)..*/\1/
331 kx t more2
331 kx s/["\\]/\\&/g; s/^/"/; s/$/"/
331 kx p
331 kx b
331 kx :more2
331 kx s/["\\]/\\&/g; s/^/"/; s/$/"\\/
331 kx p
331 kx g
331 kx s/.\{148\}//
331 kx t delim
331 kx ' <conf$$subs.awk | sed '
331 kx /^[^""]/{
331 kx N
331 kx s/\n//
331 kx }
331 kx ' >>$CONFIG_STATUS || ac_write_fail=1
331 kx rm -f conf$$subs.awk
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx _ACAWK
331 kx cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
331 kx for (key in S) S_is_set[key] = 1
331 kx FS = ""
331 kx
331 kx }
331 kx {
331 kx line = $ 0
331 kx nfields = split(line, field, "@")
331 kx substed = 0
331 kx len = length(field[1])
331 kx for (i = 2; i < nfields; i++) {
331 kx key = field[i]
331 kx keylen = length(key)
331 kx if (S_is_set[key]) {
331 kx value = S[key]
331 kx line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
331 kx len += length(value) + length(field[++i])
331 kx substed = 1
331 kx } else
331 kx len += 1 + keylen
331 kx }
331 kx
331 kx print line
331 kx }
331 kx
331 kx _ACAWK
331 kx _ACEOF
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
331 kx sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
331 kx else
331 kx cat
331 kx fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
331 kx || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
331 kx _ACEOF
331 kx
331 kx # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
331 kx # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
331 kx # trailing colons and then remove the whole line if VPATH becomes empty
331 kx # (actually we leave an empty line to preserve line numbers).
331 kx if test "x$srcdir" = x.; then
331 kx ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
331 kx h
331 kx s///
331 kx s/^/:/
331 kx s/[ ]*$/:/
331 kx s/:\$(srcdir):/:/g
331 kx s/:\${srcdir}:/:/g
331 kx s/:@srcdir@:/:/g
331 kx s/^:*//
331 kx s/:*$//
331 kx x
331 kx s/\(=[ ]*\).*/\1/
331 kx G
331 kx s/\n//
331 kx s/^[^=]*=[ ]*$//
331 kx }'
331 kx fi
331 kx
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx fi # test -n "$CONFIG_FILES"
331 kx
331 kx # Set up the scripts for CONFIG_HEADERS section.
331 kx # No need to generate them if there are no CONFIG_HEADERS.
331 kx # This happens for instance with `./config.status Makefile'.
331 kx if test -n "$CONFIG_HEADERS"; then
331 kx cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
331 kx BEGIN {
331 kx _ACEOF
331 kx
331 kx # Transform confdefs.h into an awk script `defines.awk', embedded as
331 kx # here-document in config.status, that substitutes the proper values into
331 kx # config.h.in to produce config.h.
331 kx
331 kx # Create a delimiter string that does not exist in confdefs.h, to ease
331 kx # handling of long lines.
331 kx ac_delim='%!_!# '
331 kx for ac_last_try in false false :; do
331 kx ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
331 kx if test -z "$ac_tt"; then
331 kx break
331 kx elif $ac_last_try; then
331 kx as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
331 kx else
331 kx ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
331 kx fi
331 kx done
331 kx
331 kx # For the awk script, D is an array of macro values keyed by name,
331 kx # likewise P contains macro parameters if any. Preserve backslash
331 kx # newline sequences.
331 kx
331 kx ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
331 kx sed -n '
331 kx s/.\{148\}/&'"$ac_delim"'/g
331 kx t rset
331 kx :rset
331 kx s/^[ ]*#[ ]*define[ ][ ]*/ /
331 kx t def
331 kx d
331 kx :def
331 kx s/\\$//
331 kx t bsnl
331 kx s/["\\]/\\&/g
331 kx s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
331 kx D["\1"]=" \3"/p
331 kx s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
331 kx d
331 kx :bsnl
331 kx s/["\\]/\\&/g
331 kx s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
331 kx D["\1"]=" \3\\\\\\n"\\/p
331 kx t cont
331 kx s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
331 kx t cont
331 kx d
331 kx :cont
331 kx n
331 kx s/.\{148\}/&'"$ac_delim"'/g
331 kx t clear
331 kx :clear
331 kx s/\\$//
331 kx t bsnlc
331 kx s/["\\]/\\&/g; s/^/"/; s/$/"/p
331 kx d
331 kx :bsnlc
331 kx s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
331 kx b cont
331 kx ' <confdefs.h | sed '
331 kx s/'"$ac_delim"'/"\\\
331 kx "/g' >>$CONFIG_STATUS || ac_write_fail=1
331 kx
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx for (key in D) D_is_set[key] = 1
331 kx FS = ""
331 kx }
331 kx /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
331 kx line = \$ 0
331 kx split(line, arg, " ")
331 kx if (arg[1] == "#") {
331 kx defundef = arg[2]
331 kx mac1 = arg[3]
331 kx } else {
331 kx defundef = substr(arg[1], 2)
331 kx mac1 = arg[2]
331 kx }
331 kx split(mac1, mac2, "(") #)
331 kx macro = mac2[1]
331 kx prefix = substr(line, 1, index(line, defundef) - 1)
331 kx if (D_is_set[macro]) {
331 kx # Preserve the white space surrounding the "#".
331 kx print prefix "define", macro P[macro] D[macro]
331 kx next
331 kx } else {
331 kx # Replace #undef with comments. This is necessary, for example,
331 kx # in the case of _POSIX_SOURCE, which is predefined and required
331 kx # on some systems where configure will not decide to define it.
331 kx if (defundef == "undef") {
331 kx print "/*", prefix defundef, macro, "*/"
331 kx next
331 kx }
331 kx }
331 kx }
331 kx { print }
331 kx _ACAWK
331 kx _ACEOF
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
331 kx fi # test -n "$CONFIG_HEADERS"
331 kx
331 kx
331 kx eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
331 kx shift
331 kx for ac_tag
331 kx do
331 kx case $ac_tag in
331 kx :[FHLC]) ac_mode=$ac_tag; continue;;
331 kx esac
331 kx case $ac_mode$ac_tag in
331 kx :[FHL]*:*);;
331 kx :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
331 kx :[FH]-) ac_tag=-:-;;
331 kx :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
331 kx esac
331 kx ac_save_IFS=$IFS
331 kx IFS=:
331 kx set x $ac_tag
331 kx IFS=$ac_save_IFS
331 kx shift
331 kx ac_file=$1
331 kx shift
331 kx
331 kx case $ac_mode in
331 kx :L) ac_source=$1;;
331 kx :[FH])
331 kx ac_file_inputs=
331 kx for ac_f
331 kx do
331 kx case $ac_f in
331 kx -) ac_f="$ac_tmp/stdin";;
331 kx *) # Look for the file first in the build tree, then in the source tree
331 kx # (if the path is not absolute). The absolute path cannot be DOS-style,
331 kx # because $ac_f cannot contain `:'.
331 kx test -f "$ac_f" ||
331 kx case $ac_f in
331 kx [\\/$]*) false;;
331 kx *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
331 kx esac ||
331 kx as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
331 kx esac
331 kx case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
331 kx as_fn_append ac_file_inputs " '$ac_f'"
331 kx done
331 kx
331 kx # Let's still pretend it is `configure' which instantiates (i.e., don't
331 kx # use $as_me), people would be surprised to read:
331 kx # /* config.h. Generated by config.status. */
331 kx configure_input='Generated from '`
331 kx printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
331 kx `' by configure.'
331 kx if test x"$ac_file" != x-; then
331 kx configure_input="$ac_file. $configure_input"
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
331 kx printf "%s\n" "$as_me: creating $ac_file" >&6;}
331 kx fi
331 kx # Neutralize special characters interpreted by sed in replacement strings.
331 kx case $configure_input in #(
331 kx *\&* | *\|* | *\\* )
331 kx ac_sed_conf_input=`printf "%s\n" "$configure_input" |
331 kx sed 's/[\\\\&|]/\\\\&/g'`;; #(
331 kx *) ac_sed_conf_input=$configure_input;;
331 kx esac
331 kx
331 kx case $ac_tag in
331 kx *:-:* | *:-) cat >"$ac_tmp/stdin" \
331 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
331 kx esac
331 kx ;;
331 kx esac
331 kx
331 kx ac_dir=`$as_dirname -- "$ac_file" ||
331 kx $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 kx X"$ac_file" : 'X\(//\)[^/]' \| \
331 kx X"$ac_file" : 'X\(//\)$' \| \
331 kx X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X"$ac_file" |
331 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)[^/].*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx as_dir="$ac_dir"; as_fn_mkdir_p
331 kx ac_builddir=.
331 kx
331 kx case "$ac_dir" in
331 kx .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
331 kx *)
331 kx ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
331 kx # A ".." for each directory in $ac_dir_suffix.
331 kx ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
331 kx case $ac_top_builddir_sub in
331 kx "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
331 kx *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
331 kx esac ;;
331 kx esac
331 kx ac_abs_top_builddir=$ac_pwd
331 kx ac_abs_builddir=$ac_pwd$ac_dir_suffix
331 kx # for backward compatibility:
331 kx ac_top_builddir=$ac_top_build_prefix
331 kx
331 kx case $srcdir in
331 kx .) # We are building in place.
331 kx ac_srcdir=.
331 kx ac_top_srcdir=$ac_top_builddir_sub
331 kx ac_abs_top_srcdir=$ac_pwd ;;
331 kx [\\/]* | ?:[\\/]* ) # Absolute name.
331 kx ac_srcdir=$srcdir$ac_dir_suffix;
331 kx ac_top_srcdir=$srcdir
331 kx ac_abs_top_srcdir=$srcdir ;;
331 kx *) # Relative name.
331 kx ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
331 kx ac_top_srcdir=$ac_top_build_prefix$srcdir
331 kx ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
331 kx esac
331 kx ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
331 kx
331 kx
331 kx case $ac_mode in
331 kx :F)
331 kx #
331 kx # CONFIG_FILE
331 kx #
331 kx
331 kx case $INSTALL in
331 kx [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
331 kx *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
331 kx esac
331 kx ac_MKDIR_P=$MKDIR_P
331 kx case $MKDIR_P in
331 kx [\\/$]* | ?:[\\/]* ) ;;
331 kx */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
331 kx esac
331 kx _ACEOF
331 kx
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx # If the template does not know about datarootdir, expand it.
331 kx # FIXME: This hack should be removed a few years after 2.60.
331 kx ac_datarootdir_hack=; ac_datarootdir_seen=
331 kx ac_sed_dataroot='
331 kx /datarootdir/ {
331 kx p
331 kx q
331 kx }
331 kx /@datadir@/p
331 kx /@docdir@/p
331 kx /@infodir@/p
331 kx /@localedir@/p
331 kx /@mandir@/p'
331 kx case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
331 kx *datarootdir*) ac_datarootdir_seen=yes;;
331 kx *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
331 kx printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
331 kx _ACEOF
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx ac_datarootdir_hack='
331 kx s&@datadir@&$datadir&g
331 kx s&@docdir@&$docdir&g
331 kx s&@infodir@&$infodir&g
331 kx s&@localedir@&$localedir&g
331 kx s&@mandir@&$mandir&g
331 kx s&\\\${datarootdir}&$datarootdir&g' ;;
331 kx esac
331 kx _ACEOF
331 kx
331 kx # Neutralize VPATH when `$srcdir' = `.'.
331 kx # Shell code in configure.ac might set extrasub.
331 kx # FIXME: do we really want to maintain this feature?
331 kx cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
331 kx ac_sed_extra="$ac_vpsub
331 kx $extrasub
331 kx _ACEOF
331 kx cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
331 kx :t
331 kx /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
331 kx s|@configure_input@|$ac_sed_conf_input|;t t
331 kx s&@top_builddir@&$ac_top_builddir_sub&;t t
331 kx s&@top_build_prefix@&$ac_top_build_prefix&;t t
331 kx s&@srcdir@&$ac_srcdir&;t t
331 kx s&@abs_srcdir@&$ac_abs_srcdir&;t t
331 kx s&@top_srcdir@&$ac_top_srcdir&;t t
331 kx s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
331 kx s&@builddir@&$ac_builddir&;t t
331 kx s&@abs_builddir@&$ac_abs_builddir&;t t
331 kx s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
331 kx s&@INSTALL@&$ac_INSTALL&;t t
331 kx s&@MKDIR_P@&$ac_MKDIR_P&;t t
331 kx $ac_datarootdir_hack
331 kx "
331 kx eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
331 kx >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
331 kx
331 kx test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
331 kx { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
331 kx { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
331 kx "$ac_tmp/out"`; test -z "$ac_out"; } &&
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
331 kx which seems to be undefined. Please make sure it is defined" >&5
331 kx printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
331 kx which seems to be undefined. Please make sure it is defined" >&2;}
331 kx
331 kx rm -f "$ac_tmp/stdin"
331 kx case $ac_file in
331 kx -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
331 kx *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
331 kx esac \
331 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5
331 kx ;;
331 kx :H)
331 kx #
331 kx # CONFIG_HEADER
331 kx #
331 kx if test x"$ac_file" != x-; then
331 kx {
331 kx printf "%s\n" "/* $configure_input */" >&1 \
331 kx && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
331 kx } >"$ac_tmp/config.h" \
331 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5
331 kx if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
331 kx printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
331 kx else
331 kx rm -f "$ac_file"
331 kx mv "$ac_tmp/config.h" "$ac_file" \
331 kx || as_fn_error $? "could not create $ac_file" "$LINENO" 5
331 kx fi
331 kx else
331 kx printf "%s\n" "/* $configure_input */" >&1 \
331 kx && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
331 kx || as_fn_error $? "could not create -" "$LINENO" 5
331 kx fi
331 kx # Compute "$ac_file"'s index in $config_headers.
331 kx _am_arg="$ac_file"
331 kx _am_stamp_count=1
331 kx for _am_header in $config_headers :; do
331 kx case $_am_header in
331 kx $_am_arg | $_am_arg:* )
331 kx break ;;
331 kx * )
331 kx _am_stamp_count=`expr $_am_stamp_count + 1` ;;
331 kx esac
331 kx done
331 kx echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
331 kx $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 kx X"$_am_arg" : 'X\(//\)[^/]' \| \
331 kx X"$_am_arg" : 'X\(//\)$' \| \
331 kx X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X"$_am_arg" |
331 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)[^/].*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`/stamp-h$_am_stamp_count
331 kx ;;
331 kx
331 kx :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
331 kx printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx case $ac_file$ac_mode in
331 kx "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
331 kx # Older Autoconf quotes --file arguments for eval, but not when files
331 kx # are listed without --file. Let's play safe and only enable the eval
331 kx # if we detect the quoting.
331 kx # TODO: see whether this extra hack can be removed once we start
331 kx # requiring Autoconf 2.70 or later.
331 kx case $CONFIG_FILES in #(
331 kx *\'*) :
331 kx eval set x "$CONFIG_FILES" ;; #(
331 kx *) :
331 kx set x $CONFIG_FILES ;; #(
331 kx *) :
331 kx ;;
331 kx esac
331 kx shift
331 kx # Used to flag and report bootstrapping failures.
331 kx am_rc=0
331 kx for am_mf
331 kx do
331 kx # Strip MF so we end up with the name of the file.
331 kx am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
331 kx # Check whether this is an Automake generated Makefile which includes
331 kx # dependency-tracking related rules and includes.
331 kx # Grep'ing the whole file directly is not great: AIX grep has a line
331 kx # limit of 2048, but all sed's we know have understand at least 4000.
331 kx sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
331 kx || continue
331 kx am_dirpart=`$as_dirname -- "$am_mf" ||
331 kx $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 kx X"$am_mf" : 'X\(//\)[^/]' \| \
331 kx X"$am_mf" : 'X\(//\)$' \| \
331 kx X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X"$am_mf" |
331 kx sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)[^/].*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx am_filepart=`$as_basename -- "$am_mf" ||
331 kx $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
331 kx X"$am_mf" : 'X\(//\)$' \| \
331 kx X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
331 kx printf "%s\n" X/"$am_mf" |
331 kx sed '/^.*\/\([^/][^/]*\)\/*$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\/\(\/\/\)$/{
331 kx s//\1/
331 kx q
331 kx }
331 kx /^X\/\(\/\).*/{
331 kx s//\1/
331 kx q
331 kx }
331 kx s/.*/./; q'`
331 kx { echo "$as_me:$LINENO: cd "$am_dirpart" \
331 kx && sed -e '/# am--include-marker/d' "$am_filepart" \
331 kx | $MAKE -f - am--depfiles" >&5
331 kx (cd "$am_dirpart" \
331 kx && sed -e '/# am--include-marker/d' "$am_filepart" \
331 kx | $MAKE -f - am--depfiles) >&5 2>&5
331 kx ac_status=$?
331 kx echo "$as_me:$LINENO: \$? = $ac_status" >&5
331 kx (exit $ac_status); } || am_rc=$?
331 kx done
331 kx if test $am_rc -ne 0; then
331 kx { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
331 kx printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
331 kx as_fn_error $? "Something went wrong bootstrapping makefile fragments
331 kx for automatic dependency tracking. If GNU make was not used, consider
331 kx re-running the configure script with MAKE=\"gmake\" (or whatever is
331 kx necessary). You can also try re-running configure with the
331 kx '--disable-dependency-tracking' option to at least be able to build
331 kx the package (albeit without support for automatic dependency tracking).
331 kx See \`config.log' for more details" "$LINENO" 5; }
331 kx fi
331 kx { am_dirpart=; unset am_dirpart;}
331 kx { am_filepart=; unset am_filepart;}
331 kx { am_mf=; unset am_mf;}
331 kx { am_rc=; unset am_rc;}
331 kx rm -f conftest-deps.mk
331 kx }
331 kx ;;
331 kx "libtool":C)
331 kx
331 kx # See if we are running on zsh, and set the options that allow our
331 kx # commands through without removal of \ escapes.
331 kx if test -n "${ZSH_VERSION+set}"; then
331 kx setopt NO_GLOB_SUBST
331 kx fi
331 kx
331 kx cfgfile=${ofile}T
331 kx trap "$RM \"$cfgfile\"; exit 1" 1 2 15
331 kx $RM "$cfgfile"
331 kx
331 kx cat <<_LT_EOF >> "$cfgfile"
331 kx #! $SHELL
331 kx # Generated automatically by $as_me ($PACKAGE) $VERSION
331 kx # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
331 kx # NOTE: Changes made to this file will be lost: look at ltmain.sh.
331 kx
331 kx # Provide generalized library-building support services.
331 kx # Written by Gordon Matzigkeit, 1996
331 kx
331 kx # Copyright (C) 2014 Free Software Foundation, Inc.
331 kx # This is free software; see the source for copying conditions. There is NO
331 kx # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
331 kx
331 kx # GNU Libtool is free software; you can redistribute it and/or modify
331 kx # it under the terms of the GNU General Public License as published by
331 kx # the Free Software Foundation; either version 2 of of the License, or
331 kx # (at your option) any later version.
331 kx #
331 kx # As a special exception to the GNU General Public License, if you
331 kx # distribute this file as part of a program or library that is built
331 kx # using GNU Libtool, you may include this file under the same
331 kx # distribution terms that you use for the rest of that program.
331 kx #
331 kx # GNU Libtool is distributed in the hope that it will be useful, but
331 kx # WITHOUT ANY WARRANTY; without even the implied warranty of
331 kx # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
331 kx # GNU General Public License for more details.
331 kx #
331 kx # You should have received a copy of the GNU General Public License
331 kx # along with this program. If not, see <http://www.gnu.org/licenses/>.
331 kx
331 kx
331 kx # The names of the tagged configurations supported by this script.
331 kx available_tags='CXX '
331 kx
331 kx # Configured defaults for sys_lib_dlsearch_path munging.
331 kx : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
331 kx
331 kx # ### BEGIN LIBTOOL CONFIG
331 kx
331 kx # Which release of libtool.m4 was used?
331 kx macro_version=$macro_version
331 kx macro_revision=$macro_revision
331 kx
331 kx # Whether or not to build shared libraries.
331 kx build_libtool_libs=$enable_shared
331 kx
331 kx # Whether or not to build static libraries.
331 kx build_old_libs=$enable_static
331 kx
331 kx # What type of objects to build.
331 kx pic_mode=$pic_mode
331 kx
331 kx # Whether or not to optimize for fast installation.
331 kx fast_install=$enable_fast_install
331 kx
331 kx # Shared archive member basename,for filename based shared library versioning on AIX.
331 kx shared_archive_member_spec=$shared_archive_member_spec
331 kx
331 kx # Shell to use when invoking shell scripts.
331 kx SHELL=$lt_SHELL
331 kx
331 kx # An echo program that protects backslashes.
331 kx ECHO=$lt_ECHO
331 kx
331 kx # The PATH separator for the build system.
331 kx PATH_SEPARATOR=$lt_PATH_SEPARATOR
331 kx
331 kx # The host system.
331 kx host_alias=$host_alias
331 kx host=$host
331 kx host_os=$host_os
331 kx
331 kx # The build system.
331 kx build_alias=$build_alias
331 kx build=$build
331 kx build_os=$build_os
331 kx
331 kx # A sed program that does not truncate output.
331 kx SED=$lt_SED
331 kx
331 kx # Sed that helps us avoid accidentally triggering echo(1) options like -n.
331 kx Xsed="\$SED -e 1s/^X//"
331 kx
331 kx # A grep program that handles long lines.
331 kx GREP=$lt_GREP
331 kx
331 kx # An ERE matcher.
331 kx EGREP=$lt_EGREP
331 kx
331 kx # A literal string matcher.
331 kx FGREP=$lt_FGREP
331 kx
331 kx # A BSD- or MS-compatible name lister.
331 kx NM=$lt_NM
331 kx
331 kx # Whether we need soft or hard links.
331 kx LN_S=$lt_LN_S
331 kx
331 kx # What is the maximum length of a command?
331 kx max_cmd_len=$max_cmd_len
331 kx
331 kx # Object file suffix (normally "o").
331 kx objext=$ac_objext
331 kx
331 kx # Executable file suffix (normally "").
331 kx exeext=$exeext
331 kx
331 kx # whether the shell understands "unset".
331 kx lt_unset=$lt_unset
331 kx
331 kx # turn spaces into newlines.
331 kx SP2NL=$lt_lt_SP2NL
331 kx
331 kx # turn newlines into spaces.
331 kx NL2SP=$lt_lt_NL2SP
331 kx
331 kx # convert \$build file names to \$host format.
331 kx to_host_file_cmd=$lt_cv_to_host_file_cmd
331 kx
331 kx # convert \$build files to toolchain format.
331 kx to_tool_file_cmd=$lt_cv_to_tool_file_cmd
331 kx
331 kx # A file(cmd) program that detects file types.
331 kx FILECMD=$lt_FILECMD
331 kx
331 kx # An object symbol dumper.
331 kx OBJDUMP=$lt_OBJDUMP
331 kx
331 kx # Method to check whether dependent libraries are shared objects.
331 kx deplibs_check_method=$lt_deplibs_check_method
331 kx
331 kx # Command to use when deplibs_check_method = "file_magic".
331 kx file_magic_cmd=$lt_file_magic_cmd
331 kx
331 kx # How to find potential files when deplibs_check_method = "file_magic".
331 kx file_magic_glob=$lt_file_magic_glob
331 kx
331 kx # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
331 kx want_nocaseglob=$lt_want_nocaseglob
331 kx
331 kx # DLL creation program.
331 kx DLLTOOL=$lt_DLLTOOL
331 kx
331 kx # Command to associate shared and link libraries.
331 kx sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
331 kx
331 kx # The archiver.
331 kx AR=$lt_AR
331 kx
331 kx # Flags to create an archive (by configure).
331 kx lt_ar_flags=$lt_ar_flags
331 kx
331 kx # Flags to create an archive.
331 kx AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
331 kx
331 kx # How to feed a file listing to the archiver.
331 kx archiver_list_spec=$lt_archiver_list_spec
331 kx
331 kx # A symbol stripping program.
331 kx STRIP=$lt_STRIP
331 kx
331 kx # Commands used to install an old-style archive.
331 kx RANLIB=$lt_RANLIB
331 kx old_postinstall_cmds=$lt_old_postinstall_cmds
331 kx old_postuninstall_cmds=$lt_old_postuninstall_cmds
331 kx
331 kx # Whether to use a lock for old archive extraction.
331 kx lock_old_archive_extraction=$lock_old_archive_extraction
331 kx
331 kx # A C compiler.
331 kx LTCC=$lt_CC
331 kx
331 kx # LTCC compiler flags.
331 kx LTCFLAGS=$lt_CFLAGS
331 kx
331 kx # Take the output of nm and produce a listing of raw symbols and C names.
331 kx global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
331 kx
331 kx # Transform the output of nm in a proper C declaration.
331 kx global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
331 kx
331 kx # Transform the output of nm into a list of symbols to manually relocate.
331 kx global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
331 kx
331 kx # Transform the output of nm in a C name address pair.
331 kx global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
331 kx
331 kx # Transform the output of nm in a C name address pair when lib prefix is needed.
331 kx global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
331 kx
331 kx # The name lister interface.
331 kx nm_interface=$lt_lt_cv_nm_interface
331 kx
331 kx # Specify filename containing input files for \$NM.
331 kx nm_file_list_spec=$lt_nm_file_list_spec
331 kx
331 kx # The root where to search for dependent libraries,and where our libraries should be installed.
331 kx lt_sysroot=$lt_sysroot
331 kx
331 kx # Command to truncate a binary pipe.
331 kx lt_truncate_bin=$lt_lt_cv_truncate_bin
331 kx
331 kx # The name of the directory that contains temporary libtool files.
331 kx objdir=$objdir
331 kx
331 kx # Used to examine libraries when file_magic_cmd begins with "file".
331 kx MAGIC_CMD=$MAGIC_CMD
331 kx
331 kx # Must we lock files when doing compilation?
331 kx need_locks=$lt_need_locks
331 kx
331 kx # Manifest tool.
331 kx MANIFEST_TOOL=$lt_MANIFEST_TOOL
331 kx
331 kx # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
331 kx DSYMUTIL=$lt_DSYMUTIL
331 kx
331 kx # Tool to change global to local symbols on Mac OS X.
331 kx NMEDIT=$lt_NMEDIT
331 kx
331 kx # Tool to manipulate fat objects and archives on Mac OS X.
331 kx LIPO=$lt_LIPO
331 kx
331 kx # ldd/readelf like tool for Mach-O binaries on Mac OS X.
331 kx OTOOL=$lt_OTOOL
331 kx
331 kx # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
331 kx OTOOL64=$lt_OTOOL64
331 kx
331 kx # Old archive suffix (normally "a").
331 kx libext=$libext
331 kx
331 kx # Shared library suffix (normally ".so").
331 kx shrext_cmds=$lt_shrext_cmds
331 kx
331 kx # The commands to extract the exported symbol list from a shared archive.
331 kx extract_expsyms_cmds=$lt_extract_expsyms_cmds
331 kx
331 kx # Variables whose values should be saved in libtool wrapper scripts and
331 kx # restored at link time.
331 kx variables_saved_for_relink=$lt_variables_saved_for_relink
331 kx
331 kx # Do we need the "lib" prefix for modules?
331 kx need_lib_prefix=$need_lib_prefix
331 kx
331 kx # Do we need a version for libraries?
331 kx need_version=$need_version
331 kx
331 kx # Library versioning type.
331 kx version_type=$version_type
331 kx
331 kx # Shared library runtime path variable.
331 kx runpath_var=$runpath_var
331 kx
331 kx # Shared library path variable.
331 kx shlibpath_var=$shlibpath_var
331 kx
331 kx # Is shlibpath searched before the hard-coded library search path?
331 kx shlibpath_overrides_runpath=$shlibpath_overrides_runpath
331 kx
331 kx # Format of library name prefix.
331 kx libname_spec=$lt_libname_spec
331 kx
331 kx # List of archive names. First name is the real one, the rest are links.
331 kx # The last name is the one that the linker finds with -lNAME
331 kx library_names_spec=$lt_library_names_spec
331 kx
331 kx # The coded name of the library, if different from the real name.
331 kx soname_spec=$lt_soname_spec
331 kx
331 kx # Permission mode override for installation of shared libraries.
331 kx install_override_mode=$lt_install_override_mode
331 kx
331 kx # Command to use after installation of a shared archive.
331 kx postinstall_cmds=$lt_postinstall_cmds
331 kx
331 kx # Command to use after uninstallation of a shared archive.
331 kx postuninstall_cmds=$lt_postuninstall_cmds
331 kx
331 kx # Commands used to finish a libtool library installation in a directory.
331 kx finish_cmds=$lt_finish_cmds
331 kx
331 kx # As "finish_cmds", except a single script fragment to be evaled but
331 kx # not shown.
331 kx finish_eval=$lt_finish_eval
331 kx
331 kx # Whether we should hardcode library paths into libraries.
331 kx hardcode_into_libs=$hardcode_into_libs
331 kx
331 kx # Compile-time system search path for libraries.
331 kx sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
331 kx
331 kx # Detected run-time system search path for libraries.
331 kx sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
331 kx
331 kx # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
331 kx configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
331 kx
331 kx # Whether dlopen is supported.
331 kx dlopen_support=$enable_dlopen
331 kx
331 kx # Whether dlopen of programs is supported.
331 kx dlopen_self=$enable_dlopen_self
331 kx
331 kx # Whether dlopen of statically linked programs is supported.
331 kx dlopen_self_static=$enable_dlopen_self_static
331 kx
331 kx # Commands to strip libraries.
331 kx old_striplib=$lt_old_striplib
331 kx striplib=$lt_striplib
331 kx
331 kx
331 kx # The linker used to build libraries.
331 kx LD=$lt_LD
331 kx
331 kx # How to create reloadable object files.
331 kx reload_flag=$lt_reload_flag
331 kx reload_cmds=$lt_reload_cmds
331 kx
331 kx # Commands used to build an old-style archive.
331 kx old_archive_cmds=$lt_old_archive_cmds
331 kx
331 kx # A language specific compiler.
331 kx CC=$lt_compiler
331 kx
331 kx # Is the compiler the GNU compiler?
331 kx with_gcc=$GCC
331 kx
331 kx # Compiler flag to turn off builtin functions.
331 kx no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
331 kx
331 kx # Additional compiler flags for building library objects.
331 kx pic_flag=$lt_lt_prog_compiler_pic
331 kx
331 kx # How to pass a linker flag through the compiler.
331 kx wl=$lt_lt_prog_compiler_wl
331 kx
331 kx # Compiler flag to prevent dynamic linking.
331 kx link_static_flag=$lt_lt_prog_compiler_static
331 kx
331 kx # Does compiler simultaneously support -c and -o options?
331 kx compiler_c_o=$lt_lt_cv_prog_compiler_c_o
331 kx
331 kx # Whether or not to add -lc for building shared libraries.
331 kx build_libtool_need_lc=$archive_cmds_need_lc
331 kx
331 kx # Whether or not to disallow shared libs when runtime libs are static.
331 kx allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
331 kx
331 kx # Compiler flag to allow reflexive dlopens.
331 kx export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
331 kx
331 kx # Compiler flag to generate shared objects directly from archives.
331 kx whole_archive_flag_spec=$lt_whole_archive_flag_spec
331 kx
331 kx # Whether the compiler copes with passing no objects directly.
331 kx compiler_needs_object=$lt_compiler_needs_object
331 kx
331 kx # Create an old-style archive from a shared archive.
331 kx old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
331 kx
331 kx # Create a temporary old-style archive to link instead of a shared archive.
331 kx old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
331 kx
331 kx # Commands used to build a shared archive.
331 kx archive_cmds=$lt_archive_cmds
331 kx archive_expsym_cmds=$lt_archive_expsym_cmds
331 kx
331 kx # Commands used to build a loadable module if different from building
331 kx # a shared archive.
331 kx module_cmds=$lt_module_cmds
331 kx module_expsym_cmds=$lt_module_expsym_cmds
331 kx
331 kx # Whether we are building with GNU ld or not.
331 kx with_gnu_ld=$lt_with_gnu_ld
331 kx
331 kx # Flag that allows shared libraries with undefined symbols to be built.
331 kx allow_undefined_flag=$lt_allow_undefined_flag
331 kx
331 kx # Flag that enforces no undefined symbols.
331 kx no_undefined_flag=$lt_no_undefined_flag
331 kx
331 kx # Flag to hardcode \$libdir into a binary during linking.
331 kx # This must work even if \$libdir does not exist
331 kx hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
331 kx
331 kx # Whether we need a single "-rpath" flag with a separated argument.
331 kx hardcode_libdir_separator=$lt_hardcode_libdir_separator
331 kx
331 kx # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
331 kx # DIR into the resulting binary.
331 kx hardcode_direct=$hardcode_direct
331 kx
331 kx # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
331 kx # DIR into the resulting binary and the resulting library dependency is
331 kx # "absolute",i.e impossible to change by setting \$shlibpath_var if the
331 kx # library is relocated.
331 kx hardcode_direct_absolute=$hardcode_direct_absolute
331 kx
331 kx # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
331 kx # into the resulting binary.
331 kx hardcode_minus_L=$hardcode_minus_L
331 kx
331 kx # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
331 kx # into the resulting binary.
331 kx hardcode_shlibpath_var=$hardcode_shlibpath_var
331 kx
331 kx # Set to "yes" if building a shared library automatically hardcodes DIR
331 kx # into the library and all subsequent libraries and executables linked
331 kx # against it.
331 kx hardcode_automatic=$hardcode_automatic
331 kx
331 kx # Set to yes if linker adds runtime paths of dependent libraries
331 kx # to runtime path list.
331 kx inherit_rpath=$inherit_rpath
331 kx
331 kx # Whether libtool must link a program against all its dependency libraries.
331 kx link_all_deplibs=$link_all_deplibs
331 kx
331 kx # Set to "yes" if exported symbols are required.
331 kx always_export_symbols=$always_export_symbols
331 kx
331 kx # The commands to list exported symbols.
331 kx export_symbols_cmds=$lt_export_symbols_cmds
331 kx
331 kx # Symbols that should not be listed in the preloaded symbols.
331 kx exclude_expsyms=$lt_exclude_expsyms
331 kx
331 kx # Symbols that must always be exported.
331 kx include_expsyms=$lt_include_expsyms
331 kx
331 kx # Commands necessary for linking programs (against libraries) with templates.
331 kx prelink_cmds=$lt_prelink_cmds
331 kx
331 kx # Commands necessary for finishing linking programs.
331 kx postlink_cmds=$lt_postlink_cmds
331 kx
331 kx # Specify filename containing input files.
331 kx file_list_spec=$lt_file_list_spec
331 kx
331 kx # How to hardcode a shared library path into an executable.
331 kx hardcode_action=$hardcode_action
331 kx
331 kx # The directories searched by this compiler when creating a shared library.
331 kx compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
331 kx
331 kx # Dependencies to place before and after the objects being linked to
331 kx # create a shared library.
331 kx predep_objects=$lt_predep_objects
331 kx postdep_objects=$lt_postdep_objects
331 kx predeps=$lt_predeps
331 kx postdeps=$lt_postdeps
331 kx
331 kx # The library search path used internally by the compiler when linking
331 kx # a shared library.
331 kx compiler_lib_search_path=$lt_compiler_lib_search_path
331 kx
331 kx # ### END LIBTOOL CONFIG
331 kx
331 kx _LT_EOF
331 kx
331 kx cat <<'_LT_EOF' >> "$cfgfile"
331 kx
331 kx # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
331 kx
331 kx # func_munge_path_list VARIABLE PATH
331 kx # -----------------------------------
331 kx # VARIABLE is name of variable containing _space_ separated list of
331 kx # directories to be munged by the contents of PATH, which is string
331 kx # having a format:
331 kx # "DIR[:DIR]:"
331 kx # string "DIR[ DIR]" will be prepended to VARIABLE
331 kx # ":DIR[:DIR]"
331 kx # string "DIR[ DIR]" will be appended to VARIABLE
331 kx # "DIRP[:DIRP]::[DIRA:]DIRA"
331 kx # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
331 kx # "DIRA[ DIRA]" will be appended to VARIABLE
331 kx # "DIR[:DIR]"
331 kx # VARIABLE will be replaced by "DIR[ DIR]"
331 kx func_munge_path_list ()
331 kx {
331 kx case x$2 in
331 kx x)
331 kx ;;
331 kx *:)
331 kx eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
331 kx ;;
331 kx x:*)
331 kx eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
331 kx ;;
331 kx *::*)
331 kx eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
331 kx eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
331 kx ;;
331 kx *)
331 kx eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
331 kx ;;
331 kx esac
331 kx }
331 kx
331 kx
331 kx # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
331 kx func_cc_basename ()
331 kx {
331 kx for cc_temp in $*""; do
331 kx case $cc_temp in
331 kx compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
331 kx distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
331 kx \-*) ;;
331 kx *) break;;
331 kx esac
331 kx done
331 kx func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
331 kx }
331 kx
331 kx
331 kx # ### END FUNCTIONS SHARED WITH CONFIGURE
331 kx
331 kx _LT_EOF
331 kx
331 kx case $host_os in
331 kx aix3*)
331 kx cat <<\_LT_EOF >> "$cfgfile"
331 kx # AIX sometimes has problems with the GCC collect2 program. For some
331 kx # reason, if we set the COLLECT_NAMES environment variable, the problems
331 kx # vanish in a puff of smoke.
331 kx if test set != "${COLLECT_NAMES+set}"; then
331 kx COLLECT_NAMES=
331 kx export COLLECT_NAMES
331 kx fi
331 kx _LT_EOF
331 kx ;;
331 kx esac
331 kx
331 kx
331 kx
331 kx ltmain=$ac_aux_dir/ltmain.sh
331 kx
331 kx
331 kx # We use sed instead of cat because bash on DJGPP gets confused if
331 kx # if finds mixed CR/LF and LF-only lines. Since sed operates in
331 kx # text mode, it properly converts lines to CR/LF. This bash problem
331 kx # is reportedly fixed, but why not run on old versions too?
331 kx $SED '$q' "$ltmain" >> "$cfgfile" \
331 kx || (rm -f "$cfgfile"; exit 1)
331 kx
331 kx mv -f "$cfgfile" "$ofile" ||
331 kx (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
331 kx chmod +x "$ofile"
331 kx
331 kx
331 kx cat <<_LT_EOF >> "$ofile"
331 kx
331 kx # ### BEGIN LIBTOOL TAG CONFIG: CXX
331 kx
331 kx # The linker used to build libraries.
331 kx LD=$lt_LD_CXX
331 kx
331 kx # How to create reloadable object files.
331 kx reload_flag=$lt_reload_flag_CXX
331 kx reload_cmds=$lt_reload_cmds_CXX
331 kx
331 kx # Commands used to build an old-style archive.
331 kx old_archive_cmds=$lt_old_archive_cmds_CXX
331 kx
331 kx # A language specific compiler.
331 kx CC=$lt_compiler_CXX
331 kx
331 kx # Is the compiler the GNU compiler?
331 kx with_gcc=$GCC_CXX
331 kx
331 kx # Compiler flag to turn off builtin functions.
331 kx no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
331 kx
331 kx # Additional compiler flags for building library objects.
331 kx pic_flag=$lt_lt_prog_compiler_pic_CXX
331 kx
331 kx # How to pass a linker flag through the compiler.
331 kx wl=$lt_lt_prog_compiler_wl_CXX
331 kx
331 kx # Compiler flag to prevent dynamic linking.
331 kx link_static_flag=$lt_lt_prog_compiler_static_CXX
331 kx
331 kx # Does compiler simultaneously support -c and -o options?
331 kx compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
331 kx
331 kx # Whether or not to add -lc for building shared libraries.
331 kx build_libtool_need_lc=$archive_cmds_need_lc_CXX
331 kx
331 kx # Whether or not to disallow shared libs when runtime libs are static.
331 kx allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
331 kx
331 kx # Compiler flag to allow reflexive dlopens.
331 kx export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
331 kx
331 kx # Compiler flag to generate shared objects directly from archives.
331 kx whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
331 kx
331 kx # Whether the compiler copes with passing no objects directly.
331 kx compiler_needs_object=$lt_compiler_needs_object_CXX
331 kx
331 kx # Create an old-style archive from a shared archive.
331 kx old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
331 kx
331 kx # Create a temporary old-style archive to link instead of a shared archive.
331 kx old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
331 kx
331 kx # Commands used to build a shared archive.
331 kx archive_cmds=$lt_archive_cmds_CXX
331 kx archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
331 kx
331 kx # Commands used to build a loadable module if different from building
331 kx # a shared archive.
331 kx module_cmds=$lt_module_cmds_CXX
331 kx module_expsym_cmds=$lt_module_expsym_cmds_CXX
331 kx
331 kx # Whether we are building with GNU ld or not.
331 kx with_gnu_ld=$lt_with_gnu_ld_CXX
331 kx
331 kx # Flag that allows shared libraries with undefined symbols to be built.
331 kx allow_undefined_flag=$lt_allow_undefined_flag_CXX
331 kx
331 kx # Flag that enforces no undefined symbols.
331 kx no_undefined_flag=$lt_no_undefined_flag_CXX
331 kx
331 kx # Flag to hardcode \$libdir into a binary during linking.
331 kx # This must work even if \$libdir does not exist
331 kx hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
331 kx
331 kx # Whether we need a single "-rpath" flag with a separated argument.
331 kx hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
331 kx
331 kx # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
331 kx # DIR into the resulting binary.
331 kx hardcode_direct=$hardcode_direct_CXX
331 kx
331 kx # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
331 kx # DIR into the resulting binary and the resulting library dependency is
331 kx # "absolute",i.e impossible to change by setting \$shlibpath_var if the
331 kx # library is relocated.
331 kx hardcode_direct_absolute=$hardcode_direct_absolute_CXX
331 kx
331 kx # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
331 kx # into the resulting binary.
331 kx hardcode_minus_L=$hardcode_minus_L_CXX
331 kx
331 kx # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
331 kx # into the resulting binary.
331 kx hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
331 kx
331 kx # Set to "yes" if building a shared library automatically hardcodes DIR
331 kx # into the library and all subsequent libraries and executables linked
331 kx # against it.
331 kx hardcode_automatic=$hardcode_automatic_CXX
331 kx
331 kx # Set to yes if linker adds runtime paths of dependent libraries
331 kx # to runtime path list.
331 kx inherit_rpath=$inherit_rpath_CXX
331 kx
331 kx # Whether libtool must link a program against all its dependency libraries.
331 kx link_all_deplibs=$link_all_deplibs_CXX
331 kx
331 kx # Set to "yes" if exported symbols are required.
331 kx always_export_symbols=$always_export_symbols_CXX
331 kx
331 kx # The commands to list exported symbols.
331 kx export_symbols_cmds=$lt_export_symbols_cmds_CXX
331 kx
331 kx # Symbols that should not be listed in the preloaded symbols.
331 kx exclude_expsyms=$lt_exclude_expsyms_CXX
331 kx
331 kx # Symbols that must always be exported.
331 kx include_expsyms=$lt_include_expsyms_CXX
331 kx
331 kx # Commands necessary for linking programs (against libraries) with templates.
331 kx prelink_cmds=$lt_prelink_cmds_CXX
331 kx
331 kx # Commands necessary for finishing linking programs.
331 kx postlink_cmds=$lt_postlink_cmds_CXX
331 kx
331 kx # Specify filename containing input files.
331 kx file_list_spec=$lt_file_list_spec_CXX
331 kx
331 kx # How to hardcode a shared library path into an executable.
331 kx hardcode_action=$hardcode_action_CXX
331 kx
331 kx # The directories searched by this compiler when creating a shared library.
331 kx compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
331 kx
331 kx # Dependencies to place before and after the objects being linked to
331 kx # create a shared library.
331 kx predep_objects=$lt_predep_objects_CXX
331 kx postdep_objects=$lt_postdep_objects_CXX
331 kx predeps=$lt_predeps_CXX
331 kx postdeps=$lt_postdeps_CXX
331 kx
331 kx # The library search path used internally by the compiler when linking
331 kx # a shared library.
331 kx compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
331 kx
331 kx # ### END LIBTOOL TAG CONFIG: CXX
331 kx _LT_EOF
331 kx
331 kx ;;
331 kx "po-directories":C)
331 kx for ac_file in $CONFIG_FILES; do
331 kx # Support "outfile[:infile[:infile...]]"
331 kx case "$ac_file" in
331 kx *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
331 kx esac
331 kx # PO directories have a Makefile.in generated from Makefile.in.in.
331 kx case "$ac_file" in */Makefile.in)
331 kx # Adjust a relative srcdir.
331 kx ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
331 kx ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
331 kx ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
331 kx # In autoconf-2.13 it is called $ac_given_srcdir.
331 kx # In autoconf-2.50 it is called $srcdir.
331 kx test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
331 kx case "$ac_given_srcdir" in
331 kx .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
331 kx /*) top_srcdir="$ac_given_srcdir" ;;
331 kx *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
331 kx esac
331 kx # Treat a directory as a PO directory if and only if it has a
331 kx # POTFILES.in file. This allows packages to have multiple PO
331 kx # directories under different names or in different locations.
331 kx if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
331 kx rm -f "$ac_dir/POTFILES"
331 kx test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
331 kx gt_tab=`printf '\t'`
331 kx cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
331 kx POMAKEFILEDEPS="POTFILES.in"
331 kx # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
331 kx # on $ac_dir but don't depend on user-specified configuration
331 kx # parameters.
331 kx if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
331 kx # The LINGUAS file contains the set of available languages.
331 kx if test -n "$OBSOLETE_ALL_LINGUAS"; then
331 kx test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
331 kx fi
331 kx ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
331 kx POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
331 kx else
331 kx # The set of available languages was given in configure.in.
331 kx ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
331 kx fi
331 kx # Compute POFILES
331 kx # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
331 kx # Compute UPDATEPOFILES
331 kx # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
331 kx # Compute DUMMYPOFILES
331 kx # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
331 kx # Compute GMOFILES
331 kx # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
331 kx case "$ac_given_srcdir" in
331 kx .) srcdirpre= ;;
331 kx *) srcdirpre='$(srcdir)/' ;;
331 kx esac
331 kx POFILES=
331 kx UPDATEPOFILES=
331 kx DUMMYPOFILES=
331 kx GMOFILES=
331 kx for lang in $ALL_LINGUAS; do
331 kx POFILES="$POFILES $srcdirpre$lang.po"
331 kx UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
331 kx DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
331 kx GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
331 kx done
331 kx # CATALOGS depends on both $ac_dir and the user's LINGUAS
331 kx # environment variable.
331 kx INST_LINGUAS=
331 kx if test -n "$ALL_LINGUAS"; then
331 kx for presentlang in $ALL_LINGUAS; do
331 kx useit=no
331 kx if test "%UNSET%" != "$LINGUAS"; then
331 kx desiredlanguages="$LINGUAS"
331 kx else
331 kx desiredlanguages="$ALL_LINGUAS"
331 kx fi
331 kx for desiredlang in $desiredlanguages; do
331 kx # Use the presentlang catalog if desiredlang is
331 kx # a. equal to presentlang, or
331 kx # b. a variant of presentlang (because in this case,
331 kx # presentlang can be used as a fallback for messages
331 kx # which are not translated in the desiredlang catalog).
331 kx case "$desiredlang" in
331 kx "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
331 kx useit=yes
331 kx ;;
331 kx esac
331 kx done
331 kx if test $useit = yes; then
331 kx INST_LINGUAS="$INST_LINGUAS $presentlang"
331 kx fi
331 kx done
331 kx fi
331 kx CATALOGS=
331 kx if test -n "$INST_LINGUAS"; then
331 kx for lang in $INST_LINGUAS; do
331 kx CATALOGS="$CATALOGS $lang.gmo"
331 kx done
331 kx fi
331 kx test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
331 kx sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
331 kx for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
331 kx if test -f "$f"; then
331 kx case "$f" in
331 kx *.orig | *.bak | *~) ;;
331 kx *) cat "$f" >> "$ac_dir/Makefile" ;;
331 kx esac
331 kx fi
331 kx done
331 kx fi
331 kx ;;
331 kx esac
331 kx done ;;
331 kx
331 kx esac
331 kx done # for ac_tag
331 kx
331 kx
331 kx as_fn_exit 0
331 kx _ACEOF
331 kx ac_clean_files=$ac_clean_files_save
331 kx
331 kx test $ac_write_fail = 0 ||
331 kx as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
331 kx
331 kx
331 kx # configure is writing to config.log, and then calls config.status.
331 kx # config.status does its own redirection, appending to config.log.
331 kx # Unfortunately, on DOS this fails, as config.log is still kept open
331 kx # by configure, so config.status won't be able to write to it; its
331 kx # output is simply discarded. So we exec the FD to /dev/null,
331 kx # effectively closing config.log, so it can be properly (re)opened and
331 kx # appended to by config.status. When coming back to configure, we
331 kx # need to make the FD available again.
331 kx if test "$no_create" != yes; then
331 kx ac_cs_success=:
331 kx ac_config_status_args=
331 kx test "$silent" = yes &&
331 kx ac_config_status_args="$ac_config_status_args --quiet"
331 kx exec 5>/dev/null
331 kx $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
331 kx exec 5>>config.log
331 kx # Use ||, not &&, to avoid exiting from the if with $? = 1, which
331 kx # would make configure fail if this is the last instruction.
331 kx $ac_cs_success || as_fn_exit 1
331 kx fi
331 kx if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
331 kx { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
331 kx printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
331 kx fi
331 kx
331 kx
331 kx # ==========================================================================
331 kx echo "
331 kx ---{ $PACKAGE_NAME $VERSION }---
331 kx
331 kx prefix: ${prefix}
331 kx sysconfdir: ${sysconfdir}
331 kx localstatedir: ${localstatedir}
331 kx avahi socket: ${avahi_socket}
331 kx dbus-1 system.d dir: ${DBUS_SYS_DIR}
331 kx dbus-1 version: ${DBUS_VERSION}
331 kx dbus-1 system socket: ${DBUS_SYSTEM_BUS_DEFAULT_ADDRESS}
331 kx C Compiler: ${CC}
331 kx CFLAGS: ${CFLAGS}
331 kx Enable GLIB: ${HAVE_GLIB}
331 kx Enable GLIB GObject: ${HAVE_GOBJECT}
331 kx Enable GObject Introspection: ${found_introspection}
331 kx Enable GTK 2.0: ${HAVE_GTK}
331 kx Enable GTK 3.0: ${HAVE_GTK3}
331 kx Enable D-Bus: ${HAVE_DBUS}
331 kx With XML: ${with_xml}
331 kx Enable GDBM: ${HAVE_GDBM}
331 kx Enable DBM: ${HAVE_DBM}
331 kx Enable libdaemon: ${HAVE_LIBDAEMON}
331 kx Enable Python: ${HAVE_PYTHON}
331 kx Enable pygobject: ${HAVE_PYGOBJECT}
331 kx Enable python-dbus: ${HAVE_PYTHON_DBUS}
331 kx Enable QT3: ${HAVE_QT3}
331 kx Enable QT4: ${HAVE_QT4}
331 kx Enable QT5: ${HAVE_QT5}
331 kx Enable Mono: ${HAVE_MONO}
331 kx Enable Monodoc: ${HAVE_MONODOC}
331 kx Distribution/OS: ${with_distro}
331 kx User for avahi-daemon: ${AVAHI_USER}
331 kx Group for avahi-daemon: ${AVAHI_GROUP}
331 kx Priviliged access group for Avahi clients: ${AVAHI_PRIV_ACCESS_GROUP}
331 kx User for avahi-autoipd: ${AVAHI_AUTOIPD_USER}
331 kx Group for avahi-autoipd: ${AVAHI_AUTOIPD_GROUP}
331 kx Enable chroot(): ${enable_chroot}
331 kx Enable Linux inotify: ${have_inotify}
331 kx Enable stack-smashing protection: ${enable_ssp}
331 kx systemd unit directory: ${with_systemdsystemunitdir}
331 kx "
331 kx
331 kx BUILD_DAEMON="no (You need libdaemon and expat/bsdxml!)"
331 kx
331 kx if test "x$HAVE_XML" = "xyes" -a "x$HAVE_LIBDAEMON" = "xyes" ; then
331 kx BUILD_DAEMON=yes
331 kx fi
331 kx
331 kx BUILD_PYTHON="no (You need python, pygobject and python-dbus!)"
331 kx
331 kx if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" -a "x$HAVE_PYTHON" = "xyes" -a "x$HAVE_PYTHON_DBUS" = "xyes" -a "x$HAVE_PYGOBJECT" = "xyes" ; then
331 kx BUILD_PYTHON=yes
331 kx fi
331 kx
331 kx BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)"
331 kx
331 kx if test "x$HAVE_DBUS" = "xyes" ; then
331 kx BUILD_CLIENT=yes
331 kx fi
331 kx
331 kx if test "x$ENABLE_COMPAT_LIBDNS_SD" = "xyes" -a "x$BUILD_CLIENT" != "xyes" ; then
331 kx ENABLE_COMPAT_LIBDNS_SD="no (You need libavahi-client!)"
331 kx fi
331 kx if test "x$ENABLE_COMPAT_HOWL" = "xyes" -a "x$BUILD_CLIENT" != "xyes" ; then
331 kx ENABLE_COMPAT_HOWL="no (You need libavahi-client!)"
331 kx fi
331 kx if test "x$ENABLE_AUTOIPD" = "xyes" -a "x$HAVE_LIBDAEMON" != "xyes" ; then
331 kx ENABLE_AUTOIPD="no (You need libdaemon!)"
331 kx fi
331 kx
331 kx HAVE_GTK2OR3=no
331 kx if test "x$HAVE_GTK" = "xyes" -o "x$HAVE_GTK3" = "xyes" ; then
331 kx HAVE_GTK2OR3=yes
331 kx fi
331 kx
331 kx BUILD_UI="no"
331 kx if test "x$HAVE_GTK2OR3" = "xyes" -a "x$BUILD_CLIENT" = "xyes" ; then
331 kx BUILD_UI="yes"
331 kx fi
331 kx
331 kx BUILD_GOBJECT="no"
331 kx if test "x$BUILD_CLIENT" = "xyes" -a "x$HAVE_GOBJECT" = "xyes" ; then
331 kx BUILD_GOBJECT="yes"
331 kx fi
331 kx
331 kx echo "\
331 kx Building libavahi-core yes
331 kx Building avahi-daemon: ${BUILD_DAEMON}
331 kx Building avahi-dnsconfd: ${BUILD_DAEMON}
331 kx Building libavahi-client: ${BUILD_CLIENT}
331 kx Building avahi-utils: ${BUILD_CLIENT}
331 kx Building avahi-python: ${BUILD_PYTHON}
331 kx Building libavahi-glib: ${HAVE_GLIB}
331 kx Building libavahi-gobject: ${BUILD_GOBJECT}
331 kx Building avahi-discover-standalone: ${HAVE_GTK2OR3}
331 kx Building libavahi-qt3: ${HAVE_QT3}
331 kx Building libavahi-qt4: ${HAVE_QT4}
331 kx Building libavahi-qt5: ${HAVE_QT5}
331 kx Building avahi-sharp: ${HAVE_MONO}
331 kx Building avahi-compat-libdns_sd: ${ENABLE_COMPAT_LIBDNS_SD}
331 kx Building avahi-compat-howl: ${ENABLE_COMPAT_HOWL}
331 kx Building tests: ${ENABLE_TESTS}
331 kx Building avahi-core documentation: ${ENABLE_CORE_DOCS}
331 kx Building avahi-autoipd: ${ENABLE_AUTOIPD}
331 kx Building libavahi-ui: ${BUILD_UI}
331 kx Building libavahi-libevent: ${HAVE_LIBEVENT}
331 kx "
331 kx