Merge lp:~ubuntu-branches/ubuntu/quantal/sbsigntool/quantal-201210150903 into lp:ubuntu/quantal/sbsigntool

Proposed by Ubuntu Package Importer
Status: Needs review
Proposed branch: lp:~ubuntu-branches/ubuntu/quantal/sbsigntool/quantal-201210150903
Merge into: lp:ubuntu/quantal/sbsigntool
Diff against target: 7337 lines (+7234/-42) (has conflicts)
6 files modified
.pc/efi_arch_ia32.patch/configure (+6980/-0)
.pc/efi_arch_ia32.patch/configure.ac (+81/-0)
debian/changelog (+94/-42)
debian/control (+19/-0)
debian/patches/efi_arch_ia32.patch (+53/-0)
debian/rules (+7/-0)
Text conflict in .pc/efi_arch_ia32.patch/configure
Text conflict in .pc/efi_arch_ia32.patch/configure.ac
Text conflict in debian/changelog
Text conflict in debian/control
Text conflict in debian/patches/efi_arch_ia32.patch
Text conflict in debian/rules
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/quantal/sbsigntool/quantal-201210150903
Reviewer Review Type Date Requested Status
Ubuntu Development Team Pending
Review via email: mp+129625@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/quantal/sbsigntool reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/quantal/sbsigntool/quantal-201210150903. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

10. By Steve Langasek

debian/patches/efi_arch_ia32.patch: Use AC_CANONICAL_HOST, not uname -m,
to determine target. Closes LP: #1066038.

9. By Steve Langasek

releasing version 0.6-0ubuntu1

8. By Steve Langasek

* New upstream release.
  - Uses the new mount point for the efivars directory, for compatibility
    with the pending upstream kernel patches and compatibility with what
    mountall is doing. LP: #1063061.
  - Fixes sbverify verification of the pkcs7 bundles that Microsoft-signed
    binaries deliver to us, enabling us to do build-time verification of
    shim-signed.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.pc/efi_arch_ia32.patch/configure'
--- .pc/efi_arch_ia32.patch/configure 2012-10-11 17:24:56 +0000
+++ .pc/efi_arch_ia32.patch/configure 2012-10-15 09:17:18 +0000
@@ -1,3 +1,4 @@
1<<<<<<< TREE
1#! /bin/sh2#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.3# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for sbsigntool 0.6.4# Generated by GNU Autoconf 2.69 for sbsigntool 0.6.
@@ -6979,3 +6980,6982 @@
6979$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}6980$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6980fi6981fi
69816982
6983=======
6984#! /bin/sh
6985# Guess values for system-dependent variables and create Makefiles.
6986# Generated by GNU Autoconf 2.68 for sbsigntool 0.4.
6987#
6988# Report bugs to <jeremy.kerr@canonical.com>.
6989#
6990#
6991# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6992# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
6993# Foundation, Inc.
6994#
6995#
6996# This configure script is free software; the Free Software Foundation
6997# gives unlimited permission to copy, distribute and modify it.
6998## -------------------- ##
6999## M4sh Initialization. ##
7000## -------------------- ##
7001
7002# Be more Bourne compatible
7003DUALCASE=1; export DUALCASE # for MKS sh
7004if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7005 emulate sh
7006 NULLCMD=:
7007 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7008 # is contrary to our usage. Disable this feature.
7009 alias -g '${1+"$@"}'='"$@"'
7010 setopt NO_GLOB_SUBST
7011else
7012 case `(set -o) 2>/dev/null` in #(
7013 *posix*) :
7014 set -o posix ;; #(
7015 *) :
7016 ;;
7017esac
7018fi
7019
7020
7021as_nl='
7022'
7023export as_nl
7024# Printing a long string crashes Solaris 7 /usr/bin/printf.
7025as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7026as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7027as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7028# Prefer a ksh shell builtin over an external printf program on Solaris,
7029# but without wasting forks for bash or zsh.
7030if test -z "$BASH_VERSION$ZSH_VERSION" \
7031 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7032 as_echo='print -r --'
7033 as_echo_n='print -rn --'
7034elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7035 as_echo='printf %s\n'
7036 as_echo_n='printf %s'
7037else
7038 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7039 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7040 as_echo_n='/usr/ucb/echo -n'
7041 else
7042 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7043 as_echo_n_body='eval
7044 arg=$1;
7045 case $arg in #(
7046 *"$as_nl"*)
7047 expr "X$arg" : "X\\(.*\\)$as_nl";
7048 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7049 esac;
7050 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7051 '
7052 export as_echo_n_body
7053 as_echo_n='sh -c $as_echo_n_body as_echo'
7054 fi
7055 export as_echo_body
7056 as_echo='sh -c $as_echo_body as_echo'
7057fi
7058
7059# The user is always right.
7060if test "${PATH_SEPARATOR+set}" != set; then
7061 PATH_SEPARATOR=:
7062 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7063 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7064 PATH_SEPARATOR=';'
7065 }
7066fi
7067
7068
7069# IFS
7070# We need space, tab and new line, in precisely that order. Quoting is
7071# there to prevent editors from complaining about space-tab.
7072# (If _AS_PATH_WALK were called with IFS unset, it would disable word
7073# splitting by setting IFS to empty value.)
7074IFS=" "" $as_nl"
7075
7076# Find who we are. Look in the path if we contain no directory separator.
7077as_myself=
7078case $0 in #((
7079 *[\\/]* ) as_myself=$0 ;;
7080 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081for as_dir in $PATH
7082do
7083 IFS=$as_save_IFS
7084 test -z "$as_dir" && as_dir=.
7085 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7086 done
7087IFS=$as_save_IFS
7088
7089 ;;
7090esac
7091# We did not find ourselves, most probably we were run as `sh COMMAND'
7092# in which case we are not to be found in the path.
7093if test "x$as_myself" = x; then
7094 as_myself=$0
7095fi
7096if test ! -f "$as_myself"; then
7097 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7098 exit 1
7099fi
7100
7101# Unset variables that we do not need and which cause bugs (e.g. in
7102# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7103# suppresses any "Segmentation fault" message there. '((' could
7104# trigger a bug in pdksh 5.2.14.
7105for as_var in BASH_ENV ENV MAIL MAILPATH
7106do eval test x\${$as_var+set} = xset \
7107 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7108done
7109PS1='$ '
7110PS2='> '
7111PS4='+ '
7112
7113# NLS nuisances.
7114LC_ALL=C
7115export LC_ALL
7116LANGUAGE=C
7117export LANGUAGE
7118
7119# CDPATH.
7120(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7121
7122if test "x$CONFIG_SHELL" = x; then
7123 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
7124 emulate sh
7125 NULLCMD=:
7126 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
7127 # is contrary to our usage. Disable this feature.
7128 alias -g '\${1+\"\$@\"}'='\"\$@\"'
7129 setopt NO_GLOB_SUBST
7130else
7131 case \`(set -o) 2>/dev/null\` in #(
7132 *posix*) :
7133 set -o posix ;; #(
7134 *) :
7135 ;;
7136esac
7137fi
7138"
7139 as_required="as_fn_return () { (exit \$1); }
7140as_fn_success () { as_fn_return 0; }
7141as_fn_failure () { as_fn_return 1; }
7142as_fn_ret_success () { return 0; }
7143as_fn_ret_failure () { return 1; }
7144
7145exitcode=0
7146as_fn_success || { exitcode=1; echo as_fn_success failed.; }
7147as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
7148as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
7149as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
7150if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
7151
7152else
7153 exitcode=1; echo positional parameters were not saved.
7154fi
7155test x\$exitcode = x0 || exit 1"
7156 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
7157 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
7158 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
7159 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
7160test \$(( 1 + 1 )) = 2 || exit 1"
7161 if (eval "$as_required") 2>/dev/null; then :
7162 as_have_required=yes
7163else
7164 as_have_required=no
7165fi
7166 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
7167
7168else
7169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7170as_found=false
7171for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7172do
7173 IFS=$as_save_IFS
7174 test -z "$as_dir" && as_dir=.
7175 as_found=:
7176 case $as_dir in #(
7177 /*)
7178 for as_base in sh bash ksh sh5; do
7179 # Try only shells that exist, to save several forks.
7180 as_shell=$as_dir/$as_base
7181 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
7182 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
7183 CONFIG_SHELL=$as_shell as_have_required=yes
7184 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
7185 break 2
7186fi
7187fi
7188 done;;
7189 esac
7190 as_found=false
7191done
7192$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
7193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
7194 CONFIG_SHELL=$SHELL as_have_required=yes
7195fi; }
7196IFS=$as_save_IFS
7197
7198
7199 if test "x$CONFIG_SHELL" != x; then :
7200 # We cannot yet assume a decent shell, so we have to provide a
7201 # neutralization value for shells without unset; and this also
7202 # works around shells that cannot unset nonexistent variables.
7203 # Preserve -v and -x to the replacement shell.
7204 BASH_ENV=/dev/null
7205 ENV=/dev/null
7206 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
7207 export CONFIG_SHELL
7208 case $- in # ((((
7209 *v*x* | *x*v* ) as_opts=-vx ;;
7210 *v* ) as_opts=-v ;;
7211 *x* ) as_opts=-x ;;
7212 * ) as_opts= ;;
7213 esac
7214 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
7215fi
7216
7217 if test x$as_have_required = xno; then :
7218 $as_echo "$0: This script requires a shell more modern than all"
7219 $as_echo "$0: the shells that I found on your system."
7220 if test x${ZSH_VERSION+set} = xset ; then
7221 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
7222 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
7223 else
7224 $as_echo "$0: Please tell bug-autoconf@gnu.org and
7225$0: jeremy.kerr@canonical.com about your system, including
7226$0: any error possibly output before this message. Then
7227$0: install a modern shell, or manually run the script
7228$0: under such a shell if you do have one."
7229 fi
7230 exit 1
7231fi
7232fi
7233fi
7234SHELL=${CONFIG_SHELL-/bin/sh}
7235export SHELL
7236# Unset more variables known to interfere with behavior of common tools.
7237CLICOLOR_FORCE= GREP_OPTIONS=
7238unset CLICOLOR_FORCE GREP_OPTIONS
7239
7240## --------------------- ##
7241## M4sh Shell Functions. ##
7242## --------------------- ##
7243# as_fn_unset VAR
7244# ---------------
7245# Portably unset VAR.
7246as_fn_unset ()
7247{
7248 { eval $1=; unset $1;}
7249}
7250as_unset=as_fn_unset
7251
7252# as_fn_set_status STATUS
7253# -----------------------
7254# Set $? to STATUS, without forking.
7255as_fn_set_status ()
7256{
7257 return $1
7258} # as_fn_set_status
7259
7260# as_fn_exit STATUS
7261# -----------------
7262# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7263as_fn_exit ()
7264{
7265 set +e
7266 as_fn_set_status $1
7267 exit $1
7268} # as_fn_exit
7269
7270# as_fn_mkdir_p
7271# -------------
7272# Create "$as_dir" as a directory, including parents if necessary.
7273as_fn_mkdir_p ()
7274{
7275
7276 case $as_dir in #(
7277 -*) as_dir=./$as_dir;;
7278 esac
7279 test -d "$as_dir" || eval $as_mkdir_p || {
7280 as_dirs=
7281 while :; do
7282 case $as_dir in #(
7283 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7284 *) as_qdir=$as_dir;;
7285 esac
7286 as_dirs="'$as_qdir' $as_dirs"
7287 as_dir=`$as_dirname -- "$as_dir" ||
7288$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7289 X"$as_dir" : 'X\(//\)[^/]' \| \
7290 X"$as_dir" : 'X\(//\)$' \| \
7291 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7292$as_echo X"$as_dir" |
7293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7294 s//\1/
7295 q
7296 }
7297 /^X\(\/\/\)[^/].*/{
7298 s//\1/
7299 q
7300 }
7301 /^X\(\/\/\)$/{
7302 s//\1/
7303 q
7304 }
7305 /^X\(\/\).*/{
7306 s//\1/
7307 q
7308 }
7309 s/.*/./; q'`
7310 test -d "$as_dir" && break
7311 done
7312 test -z "$as_dirs" || eval "mkdir $as_dirs"
7313 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7314
7315
7316} # as_fn_mkdir_p
7317# as_fn_append VAR VALUE
7318# ----------------------
7319# Append the text in VALUE to the end of the definition contained in VAR. Take
7320# advantage of any shell optimizations that allow amortized linear growth over
7321# repeated appends, instead of the typical quadratic growth present in naive
7322# implementations.
7323if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7324 eval 'as_fn_append ()
7325 {
7326 eval $1+=\$2
7327 }'
7328else
7329 as_fn_append ()
7330 {
7331 eval $1=\$$1\$2
7332 }
7333fi # as_fn_append
7334
7335# as_fn_arith ARG...
7336# ------------------
7337# Perform arithmetic evaluation on the ARGs, and store the result in the
7338# global $as_val. Take advantage of shells that can avoid forks. The arguments
7339# must be portable across $(()) and expr.
7340if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7341 eval 'as_fn_arith ()
7342 {
7343 as_val=$(( $* ))
7344 }'
7345else
7346 as_fn_arith ()
7347 {
7348 as_val=`expr "$@" || test $? -eq 1`
7349 }
7350fi # as_fn_arith
7351
7352
7353# as_fn_error STATUS ERROR [LINENO LOG_FD]
7354# ----------------------------------------
7355# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7356# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7357# script with STATUS, using 1 if that was 0.
7358as_fn_error ()
7359{
7360 as_status=$1; test $as_status -eq 0 && as_status=1
7361 if test "$4"; then
7362 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7363 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7364 fi
7365 $as_echo "$as_me: error: $2" >&2
7366 as_fn_exit $as_status
7367} # as_fn_error
7368
7369if expr a : '\(a\)' >/dev/null 2>&1 &&
7370 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7371 as_expr=expr
7372else
7373 as_expr=false
7374fi
7375
7376if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7377 as_basename=basename
7378else
7379 as_basename=false
7380fi
7381
7382if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7383 as_dirname=dirname
7384else
7385 as_dirname=false
7386fi
7387
7388as_me=`$as_basename -- "$0" ||
7389$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7390 X"$0" : 'X\(//\)$' \| \
7391 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7392$as_echo X/"$0" |
7393 sed '/^.*\/\([^/][^/]*\)\/*$/{
7394 s//\1/
7395 q
7396 }
7397 /^X\/\(\/\/\)$/{
7398 s//\1/
7399 q
7400 }
7401 /^X\/\(\/\).*/{
7402 s//\1/
7403 q
7404 }
7405 s/.*/./; q'`
7406
7407# Avoid depending upon Character Ranges.
7408as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7409as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7410as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7411as_cr_digits='0123456789'
7412as_cr_alnum=$as_cr_Letters$as_cr_digits
7413
7414
7415 as_lineno_1=$LINENO as_lineno_1a=$LINENO
7416 as_lineno_2=$LINENO as_lineno_2a=$LINENO
7417 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
7418 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
7419 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
7420 sed -n '
7421 p
7422 /[$]LINENO/=
7423 ' <$as_myself |
7424 sed '
7425 s/[$]LINENO.*/&-/
7426 t lineno
7427 b
7428 :lineno
7429 N
7430 :loop
7431 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7432 t loop
7433 s/-\n.*//
7434 ' >$as_me.lineno &&
7435 chmod +x "$as_me.lineno" ||
7436 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
7437
7438 # Don't try to exec as it changes $[0], causing all sort of problems
7439 # (the dirname of $[0] is not the place where we might find the
7440 # original and so on. Autoconf is especially sensitive to this).
7441 . "./$as_me.lineno"
7442 # Exit status is that of the last command.
7443 exit
7444}
7445
7446ECHO_C= ECHO_N= ECHO_T=
7447case `echo -n x` in #(((((
7448-n*)
7449 case `echo 'xy\c'` in
7450 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7451 xy) ECHO_C='\c';;
7452 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7453 ECHO_T=' ';;
7454 esac;;
7455*)
7456 ECHO_N='-n';;
7457esac
7458
7459rm -f conf$$ conf$$.exe conf$$.file
7460if test -d conf$$.dir; then
7461 rm -f conf$$.dir/conf$$.file
7462else
7463 rm -f conf$$.dir
7464 mkdir conf$$.dir 2>/dev/null
7465fi
7466if (echo >conf$$.file) 2>/dev/null; then
7467 if ln -s conf$$.file conf$$ 2>/dev/null; then
7468 as_ln_s='ln -s'
7469 # ... but there are two gotchas:
7470 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7471 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7472 # In both cases, we have to default to `cp -p'.
7473 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7474 as_ln_s='cp -p'
7475 elif ln conf$$.file conf$$ 2>/dev/null; then
7476 as_ln_s=ln
7477 else
7478 as_ln_s='cp -p'
7479 fi
7480else
7481 as_ln_s='cp -p'
7482fi
7483rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7484rmdir conf$$.dir 2>/dev/null
7485
7486if mkdir -p . 2>/dev/null; then
7487 as_mkdir_p='mkdir -p "$as_dir"'
7488else
7489 test -d ./-p && rmdir ./-p
7490 as_mkdir_p=false
7491fi
7492
7493if test -x / >/dev/null 2>&1; then
7494 as_test_x='test -x'
7495else
7496 if ls -dL / >/dev/null 2>&1; then
7497 as_ls_L_option=L
7498 else
7499 as_ls_L_option=
7500 fi
7501 as_test_x='
7502 eval sh -c '\''
7503 if test -d "$1"; then
7504 test -d "$1/.";
7505 else
7506 case $1 in #(
7507 -*)set "./$1";;
7508 esac;
7509 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
7510 ???[sx]*):;;*)false;;esac;fi
7511 '\'' sh
7512 '
7513fi
7514as_executable_p=$as_test_x
7515
7516# Sed expression to map a string onto a valid CPP name.
7517as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7518
7519# Sed expression to map a string onto a valid variable name.
7520as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7521
7522
7523test -n "$DJDIR" || exec 7<&0 </dev/null
7524exec 6>&1
7525
7526# Name of the host.
7527# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
7528# so uname gets run too.
7529ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
7530
7531#
7532# Initializations.
7533#
7534ac_default_prefix=/usr/local
7535ac_clean_files=
7536ac_config_libobj_dir=.
7537LIBOBJS=
7538cross_compiling=no
7539subdirs=
7540MFLAGS=
7541MAKEFLAGS=
7542
7543# Identity of this package.
7544PACKAGE_NAME='sbsigntool'
7545PACKAGE_TARNAME='sbsigntool'
7546PACKAGE_VERSION='0.4'
7547PACKAGE_STRING='sbsigntool 0.4'
7548PACKAGE_BUGREPORT='jeremy.kerr@canonical.com'
7549PACKAGE_URL=''
7550
7551ac_unique_file="src/sbsign.c"
7552# Factoring default headers for most tests.
7553ac_includes_default="\
7554#include <stdio.h>
7555#ifdef HAVE_SYS_TYPES_H
7556# include <sys/types.h>
7557#endif
7558#ifdef HAVE_SYS_STAT_H
7559# include <sys/stat.h>
7560#endif
7561#ifdef STDC_HEADERS
7562# include <stdlib.h>
7563# include <stddef.h>
7564#else
7565# ifdef HAVE_STDLIB_H
7566# include <stdlib.h>
7567# endif
7568#endif
7569#ifdef HAVE_STRING_H
7570# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
7571# include <memory.h>
7572# endif
7573# include <string.h>
7574#endif
7575#ifdef HAVE_STRINGS_H
7576# include <strings.h>
7577#endif
7578#ifdef HAVE_INTTYPES_H
7579# include <inttypes.h>
7580#endif
7581#ifdef HAVE_STDINT_H
7582# include <stdint.h>
7583#endif
7584#ifdef HAVE_UNISTD_H
7585# include <unistd.h>
7586#endif"
7587
7588ac_subst_vars='am__EXEEXT_FALSE
7589am__EXEEXT_TRUE
7590LTLIBOBJS
7591LIBOBJS
7592EFI_CPPFLAGS
7593uuid_LIBS
7594uuid_CFLAGS
7595libcrypto_LIBS
7596libcrypto_CFLAGS
7597PKG_CONFIG_LIBDIR
7598PKG_CONFIG_PATH
7599PKG_CONFIG
7600HELP2MAN
7601EGREP
7602GREP
7603OBJCOPY
7604RANLIB
7605CPP
7606am__fastdepCCAS_FALSE
7607am__fastdepCCAS_TRUE
7608CCASDEPMODE
7609CCASFLAGS
7610CCAS
7611am__fastdepCC_FALSE
7612am__fastdepCC_TRUE
7613CCDEPMODE
7614am__nodep
7615AMDEPBACKSLASH
7616AMDEP_FALSE
7617AMDEP_TRUE
7618am__quote
7619am__include
7620DEPDIR
7621OBJEXT
7622EXEEXT
7623ac_ct_CC
7624CPPFLAGS
7625LDFLAGS
7626CFLAGS
7627CC
7628am__untar
7629am__tar
7630AMTAR
7631am__leading_dot
7632SET_MAKE
7633AWK
7634mkdir_p
7635MKDIR_P
7636INSTALL_STRIP_PROGRAM
7637STRIP
7638install_sh
7639MAKEINFO
7640AUTOHEADER
7641AUTOMAKE
7642AUTOCONF
7643ACLOCAL
7644VERSION
7645PACKAGE
7646CYGPATH_W
7647am__isrc
7648INSTALL_DATA
7649INSTALL_SCRIPT
7650INSTALL_PROGRAM
7651target_alias
7652host_alias
7653build_alias
7654LIBS
7655ECHO_T
7656ECHO_N
7657ECHO_C
7658DEFS
7659mandir
7660localedir
7661libdir
7662psdir
7663pdfdir
7664dvidir
7665htmldir
7666infodir
7667docdir
7668oldincludedir
7669includedir
7670localstatedir
7671sharedstatedir
7672sysconfdir
7673datadir
7674datarootdir
7675libexecdir
7676sbindir
7677bindir
7678program_transform_name
7679prefix
7680exec_prefix
7681PACKAGE_URL
7682PACKAGE_BUGREPORT
7683PACKAGE_STRING
7684PACKAGE_VERSION
7685PACKAGE_TARNAME
7686PACKAGE_NAME
7687PATH_SEPARATOR
7688SHELL'
7689ac_subst_files=''
7690ac_user_opts='
7691enable_option_checking
7692enable_dependency_tracking
7693'
7694 ac_precious_vars='build_alias
7695host_alias
7696target_alias
7697CC
7698CFLAGS
7699LDFLAGS
7700LIBS
7701CPPFLAGS
7702CCAS
7703CCASFLAGS
7704CPP
7705PKG_CONFIG
7706PKG_CONFIG_PATH
7707PKG_CONFIG_LIBDIR
7708libcrypto_CFLAGS
7709libcrypto_LIBS
7710uuid_CFLAGS
7711uuid_LIBS'
7712
7713
7714# Initialize some variables set by options.
7715ac_init_help=
7716ac_init_version=false
7717ac_unrecognized_opts=
7718ac_unrecognized_sep=
7719# The variables have the same names as the options, with
7720# dashes changed to underlines.
7721cache_file=/dev/null
7722exec_prefix=NONE
7723no_create=
7724no_recursion=
7725prefix=NONE
7726program_prefix=NONE
7727program_suffix=NONE
7728program_transform_name=s,x,x,
7729silent=
7730site=
7731srcdir=
7732verbose=
7733x_includes=NONE
7734x_libraries=NONE
7735
7736# Installation directory options.
7737# These are left unexpanded so users can "make install exec_prefix=/foo"
7738# and all the variables that are supposed to be based on exec_prefix
7739# by default will actually change.
7740# Use braces instead of parens because sh, perl, etc. also accept them.
7741# (The list follows the same order as the GNU Coding Standards.)
7742bindir='${exec_prefix}/bin'
7743sbindir='${exec_prefix}/sbin'
7744libexecdir='${exec_prefix}/libexec'
7745datarootdir='${prefix}/share'
7746datadir='${datarootdir}'
7747sysconfdir='${prefix}/etc'
7748sharedstatedir='${prefix}/com'
7749localstatedir='${prefix}/var'
7750includedir='${prefix}/include'
7751oldincludedir='/usr/include'
7752docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7753infodir='${datarootdir}/info'
7754htmldir='${docdir}'
7755dvidir='${docdir}'
7756pdfdir='${docdir}'
7757psdir='${docdir}'
7758libdir='${exec_prefix}/lib'
7759localedir='${datarootdir}/locale'
7760mandir='${datarootdir}/man'
7761
7762ac_prev=
7763ac_dashdash=
7764for ac_option
7765do
7766 # If the previous option needs an argument, assign it.
7767 if test -n "$ac_prev"; then
7768 eval $ac_prev=\$ac_option
7769 ac_prev=
7770 continue
7771 fi
7772
7773 case $ac_option in
7774 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
7775 *=) ac_optarg= ;;
7776 *) ac_optarg=yes ;;
7777 esac
7778
7779 # Accept the important Cygnus configure options, so we can diagnose typos.
7780
7781 case $ac_dashdash$ac_option in
7782 --)
7783 ac_dashdash=yes ;;
7784
7785 -bindir | --bindir | --bindi | --bind | --bin | --bi)
7786 ac_prev=bindir ;;
7787 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
7788 bindir=$ac_optarg ;;
7789
7790 -build | --build | --buil | --bui | --bu)
7791 ac_prev=build_alias ;;
7792 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
7793 build_alias=$ac_optarg ;;
7794
7795 -cache-file | --cache-file | --cache-fil | --cache-fi \
7796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7797 ac_prev=cache_file ;;
7798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
7800 cache_file=$ac_optarg ;;
7801
7802 --config-cache | -C)
7803 cache_file=config.cache ;;
7804
7805 -datadir | --datadir | --datadi | --datad)
7806 ac_prev=datadir ;;
7807 -datadir=* | --datadir=* | --datadi=* | --datad=*)
7808 datadir=$ac_optarg ;;
7809
7810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
7811 | --dataroo | --dataro | --datar)
7812 ac_prev=datarootdir ;;
7813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
7814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
7815 datarootdir=$ac_optarg ;;
7816
7817 -disable-* | --disable-*)
7818 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
7819 # Reject names that are not valid shell variable names.
7820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7821 as_fn_error $? "invalid feature name: $ac_useropt"
7822 ac_useropt_orig=$ac_useropt
7823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7824 case $ac_user_opts in
7825 *"
7826"enable_$ac_useropt"
7827"*) ;;
7828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
7829 ac_unrecognized_sep=', ';;
7830 esac
7831 eval enable_$ac_useropt=no ;;
7832
7833 -docdir | --docdir | --docdi | --doc | --do)
7834 ac_prev=docdir ;;
7835 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
7836 docdir=$ac_optarg ;;
7837
7838 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
7839 ac_prev=dvidir ;;
7840 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
7841 dvidir=$ac_optarg ;;
7842
7843 -enable-* | --enable-*)
7844 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
7845 # Reject names that are not valid shell variable names.
7846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
7847 as_fn_error $? "invalid feature name: $ac_useropt"
7848 ac_useropt_orig=$ac_useropt
7849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
7850 case $ac_user_opts in
7851 *"
7852"enable_$ac_useropt"
7853"*) ;;
7854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
7855 ac_unrecognized_sep=', ';;
7856 esac
7857 eval enable_$ac_useropt=\$ac_optarg ;;
7858
7859 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
7860 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
7861 | --exec | --exe | --ex)
7862 ac_prev=exec_prefix ;;
7863 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
7864 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
7865 | --exec=* | --exe=* | --ex=*)
7866 exec_prefix=$ac_optarg ;;
7867
7868 -gas | --gas | --ga | --g)
7869 # Obsolete; use --with-gas.
7870 with_gas=yes ;;
7871
7872 -help | --help | --hel | --he | -h)
7873 ac_init_help=long ;;
7874 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
7875 ac_init_help=recursive ;;
7876 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
7877 ac_init_help=short ;;
7878
7879 -host | --host | --hos | --ho)
7880 ac_prev=host_alias ;;
7881 -host=* | --host=* | --hos=* | --ho=*)
7882 host_alias=$ac_optarg ;;
7883
7884 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
7885 ac_prev=htmldir ;;
7886 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
7887 | --ht=*)
7888 htmldir=$ac_optarg ;;
7889
7890 -includedir | --includedir | --includedi | --included | --include \
7891 | --includ | --inclu | --incl | --inc)
7892 ac_prev=includedir ;;
7893 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
7894 | --includ=* | --inclu=* | --incl=* | --inc=*)
7895 includedir=$ac_optarg ;;
7896
7897 -infodir | --infodir | --infodi | --infod | --info | --inf)
7898 ac_prev=infodir ;;
7899 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
7900 infodir=$ac_optarg ;;
7901
7902 -libdir | --libdir | --libdi | --libd)
7903 ac_prev=libdir ;;
7904 -libdir=* | --libdir=* | --libdi=* | --libd=*)
7905 libdir=$ac_optarg ;;
7906
7907 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
7908 | --libexe | --libex | --libe)
7909 ac_prev=libexecdir ;;
7910 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
7911 | --libexe=* | --libex=* | --libe=*)
7912 libexecdir=$ac_optarg ;;
7913
7914 -localedir | --localedir | --localedi | --localed | --locale)
7915 ac_prev=localedir ;;
7916 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
7917 localedir=$ac_optarg ;;
7918
7919 -localstatedir | --localstatedir | --localstatedi | --localstated \
7920 | --localstate | --localstat | --localsta | --localst | --locals)
7921 ac_prev=localstatedir ;;
7922 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7923 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
7924 localstatedir=$ac_optarg ;;
7925
7926 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
7927 ac_prev=mandir ;;
7928 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
7929 mandir=$ac_optarg ;;
7930
7931 -nfp | --nfp | --nf)
7932 # Obsolete; use --without-fp.
7933 with_fp=no ;;
7934
7935 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7936 | --no-cr | --no-c | -n)
7937 no_create=yes ;;
7938
7939 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7940 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
7941 no_recursion=yes ;;
7942
7943 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
7944 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
7945 | --oldin | --oldi | --old | --ol | --o)
7946 ac_prev=oldincludedir ;;
7947 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
7948 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
7949 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
7950 oldincludedir=$ac_optarg ;;
7951
7952 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7953 ac_prev=prefix ;;
7954 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7955 prefix=$ac_optarg ;;
7956
7957 -program-prefix | --program-prefix | --program-prefi | --program-pref \
7958 | --program-pre | --program-pr | --program-p)
7959 ac_prev=program_prefix ;;
7960 -program-prefix=* | --program-prefix=* | --program-prefi=* \
7961 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
7962 program_prefix=$ac_optarg ;;
7963
7964 -program-suffix | --program-suffix | --program-suffi | --program-suff \
7965 | --program-suf | --program-su | --program-s)
7966 ac_prev=program_suffix ;;
7967 -program-suffix=* | --program-suffix=* | --program-suffi=* \
7968 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
7969 program_suffix=$ac_optarg ;;
7970
7971 -program-transform-name | --program-transform-name \
7972 | --program-transform-nam | --program-transform-na \
7973 | --program-transform-n | --program-transform- \
7974 | --program-transform | --program-transfor \
7975 | --program-transfo | --program-transf \
7976 | --program-trans | --program-tran \
7977 | --progr-tra | --program-tr | --program-t)
7978 ac_prev=program_transform_name ;;
7979 -program-transform-name=* | --program-transform-name=* \
7980 | --program-transform-nam=* | --program-transform-na=* \
7981 | --program-transform-n=* | --program-transform-=* \
7982 | --program-transform=* | --program-transfor=* \
7983 | --program-transfo=* | --program-transf=* \
7984 | --program-trans=* | --program-tran=* \
7985 | --progr-tra=* | --program-tr=* | --program-t=*)
7986 program_transform_name=$ac_optarg ;;
7987
7988 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
7989 ac_prev=pdfdir ;;
7990 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
7991 pdfdir=$ac_optarg ;;
7992
7993 -psdir | --psdir | --psdi | --psd | --ps)
7994 ac_prev=psdir ;;
7995 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
7996 psdir=$ac_optarg ;;
7997
7998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7999 | -silent | --silent | --silen | --sile | --sil)
8000 silent=yes ;;
8001
8002 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
8003 ac_prev=sbindir ;;
8004 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
8005 | --sbi=* | --sb=*)
8006 sbindir=$ac_optarg ;;
8007
8008 -sharedstatedir | --sharedstatedir | --sharedstatedi \
8009 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
8010 | --sharedst | --shareds | --shared | --share | --shar \
8011 | --sha | --sh)
8012 ac_prev=sharedstatedir ;;
8013 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
8014 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
8015 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
8016 | --sha=* | --sh=*)
8017 sharedstatedir=$ac_optarg ;;
8018
8019 -site | --site | --sit)
8020 ac_prev=site ;;
8021 -site=* | --site=* | --sit=*)
8022 site=$ac_optarg ;;
8023
8024 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8025 ac_prev=srcdir ;;
8026 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8027 srcdir=$ac_optarg ;;
8028
8029 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
8030 | --syscon | --sysco | --sysc | --sys | --sy)
8031 ac_prev=sysconfdir ;;
8032 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
8033 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
8034 sysconfdir=$ac_optarg ;;
8035
8036 -target | --target | --targe | --targ | --tar | --ta | --t)
8037 ac_prev=target_alias ;;
8038 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
8039 target_alias=$ac_optarg ;;
8040
8041 -v | -verbose | --verbose | --verbos | --verbo | --verb)
8042 verbose=yes ;;
8043
8044 -version | --version | --versio | --versi | --vers | -V)
8045 ac_init_version=: ;;
8046
8047 -with-* | --with-*)
8048 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
8049 # Reject names that are not valid shell variable names.
8050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8051 as_fn_error $? "invalid package name: $ac_useropt"
8052 ac_useropt_orig=$ac_useropt
8053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8054 case $ac_user_opts in
8055 *"
8056"with_$ac_useropt"
8057"*) ;;
8058 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
8059 ac_unrecognized_sep=', ';;
8060 esac
8061 eval with_$ac_useropt=\$ac_optarg ;;
8062
8063 -without-* | --without-*)
8064 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
8065 # Reject names that are not valid shell variable names.
8066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
8067 as_fn_error $? "invalid package name: $ac_useropt"
8068 ac_useropt_orig=$ac_useropt
8069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
8070 case $ac_user_opts in
8071 *"
8072"with_$ac_useropt"
8073"*) ;;
8074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
8075 ac_unrecognized_sep=', ';;
8076 esac
8077 eval with_$ac_useropt=no ;;
8078
8079 --x)
8080 # Obsolete; use --with-x.
8081 with_x=yes ;;
8082
8083 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
8084 | --x-incl | --x-inc | --x-in | --x-i)
8085 ac_prev=x_includes ;;
8086 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
8087 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
8088 x_includes=$ac_optarg ;;
8089
8090 -x-libraries | --x-libraries | --x-librarie | --x-librari \
8091 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
8092 ac_prev=x_libraries ;;
8093 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
8094 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
8095 x_libraries=$ac_optarg ;;
8096
8097 -*) as_fn_error $? "unrecognized option: \`$ac_option'
8098Try \`$0 --help' for more information"
8099 ;;
8100
8101 *=*)
8102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
8103 # Reject names that are not valid shell variable names.
8104 case $ac_envvar in #(
8105 '' | [0-9]* | *[!_$as_cr_alnum]* )
8106 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
8107 esac
8108 eval $ac_envvar=\$ac_optarg
8109 export $ac_envvar ;;
8110
8111 *)
8112 # FIXME: should be removed in autoconf 3.0.
8113 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
8114 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
8115 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
8116 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
8117 ;;
8118
8119 esac
8120done
8121
8122if test -n "$ac_prev"; then
8123 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
8124 as_fn_error $? "missing argument to $ac_option"
8125fi
8126
8127if test -n "$ac_unrecognized_opts"; then
8128 case $enable_option_checking in
8129 no) ;;
8130 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
8131 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
8132 esac
8133fi
8134
8135# Check all directory arguments for consistency.
8136for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
8137 datadir sysconfdir sharedstatedir localstatedir includedir \
8138 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
8139 libdir localedir mandir
8140do
8141 eval ac_val=\$$ac_var
8142 # Remove trailing slashes.
8143 case $ac_val in
8144 */ )
8145 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
8146 eval $ac_var=\$ac_val;;
8147 esac
8148 # Be sure to have absolute directory names.
8149 case $ac_val in
8150 [\\/$]* | ?:[\\/]* ) continue;;
8151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
8152 esac
8153 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
8154done
8155
8156# There might be people who depend on the old broken behavior: `$host'
8157# used to hold the argument of --host etc.
8158# FIXME: To remove some day.
8159build=$build_alias
8160host=$host_alias
8161target=$target_alias
8162
8163# FIXME: To remove some day.
8164if test "x$host_alias" != x; then
8165 if test "x$build_alias" = x; then
8166 cross_compiling=maybe
8167 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
8168 If a cross compiler is detected then cross compile mode will be used" >&2
8169 elif test "x$build_alias" != "x$host_alias"; then
8170 cross_compiling=yes
8171 fi
8172fi
8173
8174ac_tool_prefix=
8175test -n "$host_alias" && ac_tool_prefix=$host_alias-
8176
8177test "$silent" = yes && exec 6>/dev/null
8178
8179
8180ac_pwd=`pwd` && test -n "$ac_pwd" &&
8181ac_ls_di=`ls -di .` &&
8182ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
8183 as_fn_error $? "working directory cannot be determined"
8184test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
8185 as_fn_error $? "pwd does not report name of working directory"
8186
8187
8188# Find the source files, if location was not specified.
8189if test -z "$srcdir"; then
8190 ac_srcdir_defaulted=yes
8191 # Try the directory containing this script, then the parent directory.
8192 ac_confdir=`$as_dirname -- "$as_myself" ||
8193$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8194 X"$as_myself" : 'X\(//\)[^/]' \| \
8195 X"$as_myself" : 'X\(//\)$' \| \
8196 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
8197$as_echo X"$as_myself" |
8198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8199 s//\1/
8200 q
8201 }
8202 /^X\(\/\/\)[^/].*/{
8203 s//\1/
8204 q
8205 }
8206 /^X\(\/\/\)$/{
8207 s//\1/
8208 q
8209 }
8210 /^X\(\/\).*/{
8211 s//\1/
8212 q
8213 }
8214 s/.*/./; q'`
8215 srcdir=$ac_confdir
8216 if test ! -r "$srcdir/$ac_unique_file"; then
8217 srcdir=..
8218 fi
8219else
8220 ac_srcdir_defaulted=no
8221fi
8222if test ! -r "$srcdir/$ac_unique_file"; then
8223 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
8224 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
8225fi
8226ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
8227ac_abs_confdir=`(
8228 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
8229 pwd)`
8230# When building in place, set srcdir=.
8231if test "$ac_abs_confdir" = "$ac_pwd"; then
8232 srcdir=.
8233fi
8234# Remove unnecessary trailing slashes from srcdir.
8235# Double slashes in file names in object file debugging info
8236# mess up M-x gdb in Emacs.
8237case $srcdir in
8238*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
8239esac
8240for ac_var in $ac_precious_vars; do
8241 eval ac_env_${ac_var}_set=\${${ac_var}+set}
8242 eval ac_env_${ac_var}_value=\$${ac_var}
8243 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
8244 eval ac_cv_env_${ac_var}_value=\$${ac_var}
8245done
8246
8247#
8248# Report the --help message.
8249#
8250if test "$ac_init_help" = "long"; then
8251 # Omit some internal or obsolete options to make the list less imposing.
8252 # This message is too long to be a string in the A/UX 3.1 sh.
8253 cat <<_ACEOF
8254\`configure' configures sbsigntool 0.4 to adapt to many kinds of systems.
8255
8256Usage: $0 [OPTION]... [VAR=VALUE]...
8257
8258To assign environment variables (e.g., CC, CFLAGS...), specify them as
8259VAR=VALUE. See below for descriptions of some of the useful variables.
8260
8261Defaults for the options are specified in brackets.
8262
8263Configuration:
8264 -h, --help display this help and exit
8265 --help=short display options specific to this package
8266 --help=recursive display the short help of all the included packages
8267 -V, --version display version information and exit
8268 -q, --quiet, --silent do not print \`checking ...' messages
8269 --cache-file=FILE cache test results in FILE [disabled]
8270 -C, --config-cache alias for \`--cache-file=config.cache'
8271 -n, --no-create do not create output files
8272 --srcdir=DIR find the sources in DIR [configure dir or \`..']
8273
8274Installation directories:
8275 --prefix=PREFIX install architecture-independent files in PREFIX
8276 [$ac_default_prefix]
8277 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
8278 [PREFIX]
8279
8280By default, \`make install' will install all the files in
8281\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
8282an installation prefix other than \`$ac_default_prefix' using \`--prefix',
8283for instance \`--prefix=\$HOME'.
8284
8285For better control, use the options below.
8286
8287Fine tuning of the installation directories:
8288 --bindir=DIR user executables [EPREFIX/bin]
8289 --sbindir=DIR system admin executables [EPREFIX/sbin]
8290 --libexecdir=DIR program executables [EPREFIX/libexec]
8291 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
8292 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
8293 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
8294 --libdir=DIR object code libraries [EPREFIX/lib]
8295 --includedir=DIR C header files [PREFIX/include]
8296 --oldincludedir=DIR C header files for non-gcc [/usr/include]
8297 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
8298 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
8299 --infodir=DIR info documentation [DATAROOTDIR/info]
8300 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
8301 --mandir=DIR man documentation [DATAROOTDIR/man]
8302 --docdir=DIR documentation root [DATAROOTDIR/doc/sbsigntool]
8303 --htmldir=DIR html documentation [DOCDIR]
8304 --dvidir=DIR dvi documentation [DOCDIR]
8305 --pdfdir=DIR pdf documentation [DOCDIR]
8306 --psdir=DIR ps documentation [DOCDIR]
8307_ACEOF
8308
8309 cat <<\_ACEOF
8310
8311Program names:
8312 --program-prefix=PREFIX prepend PREFIX to installed program names
8313 --program-suffix=SUFFIX append SUFFIX to installed program names
8314 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
8315_ACEOF
8316fi
8317
8318if test -n "$ac_init_help"; then
8319 case $ac_init_help in
8320 short | recursive ) echo "Configuration of sbsigntool 0.4:";;
8321 esac
8322 cat <<\_ACEOF
8323
8324Optional Features:
8325 --disable-option-checking ignore unrecognized --enable/--with options
8326 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
8327 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
8328 --disable-dependency-tracking speeds up one-time build
8329 --enable-dependency-tracking do not reject slow dependency extractors
8330
8331Some influential environment variables:
8332 CC C compiler command
8333 CFLAGS C compiler flags
8334 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
8335 nonstandard directory <lib dir>
8336 LIBS libraries to pass to the linker, e.g. -l<library>
8337 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
8338 you have headers in a nonstandard directory <include dir>
8339 CCAS assembler compiler command (defaults to CC)
8340 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
8341 CPP C preprocessor
8342 PKG_CONFIG path to pkg-config utility
8343 PKG_CONFIG_PATH
8344 directories to add to pkg-config's search path
8345 PKG_CONFIG_LIBDIR
8346 path overriding pkg-config's built-in search path
8347 libcrypto_CFLAGS
8348 C compiler flags for libcrypto, overriding pkg-config
8349 libcrypto_LIBS
8350 linker flags for libcrypto, overriding pkg-config
8351 uuid_CFLAGS C compiler flags for uuid, overriding pkg-config
8352 uuid_LIBS linker flags for uuid, overriding pkg-config
8353
8354Use these variables to override the choices made by `configure' or to help
8355it to find libraries and programs with nonstandard names/locations.
8356
8357Report bugs to <jeremy.kerr@canonical.com>.
8358_ACEOF
8359ac_status=$?
8360fi
8361
8362if test "$ac_init_help" = "recursive"; then
8363 # If there are subdirs, report their specific --help.
8364 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
8365 test -d "$ac_dir" ||
8366 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
8367 continue
8368 ac_builddir=.
8369
8370case "$ac_dir" in
8371.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8372*)
8373 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8374 # A ".." for each directory in $ac_dir_suffix.
8375 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8376 case $ac_top_builddir_sub in
8377 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8378 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8379 esac ;;
8380esac
8381ac_abs_top_builddir=$ac_pwd
8382ac_abs_builddir=$ac_pwd$ac_dir_suffix
8383# for backward compatibility:
8384ac_top_builddir=$ac_top_build_prefix
8385
8386case $srcdir in
8387 .) # We are building in place.
8388 ac_srcdir=.
8389 ac_top_srcdir=$ac_top_builddir_sub
8390 ac_abs_top_srcdir=$ac_pwd ;;
8391 [\\/]* | ?:[\\/]* ) # Absolute name.
8392 ac_srcdir=$srcdir$ac_dir_suffix;
8393 ac_top_srcdir=$srcdir
8394 ac_abs_top_srcdir=$srcdir ;;
8395 *) # Relative name.
8396 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8397 ac_top_srcdir=$ac_top_build_prefix$srcdir
8398 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8399esac
8400ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8401
8402 cd "$ac_dir" || { ac_status=$?; continue; }
8403 # Check for guested configure.
8404 if test -f "$ac_srcdir/configure.gnu"; then
8405 echo &&
8406 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
8407 elif test -f "$ac_srcdir/configure"; then
8408 echo &&
8409 $SHELL "$ac_srcdir/configure" --help=recursive
8410 else
8411 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
8412 fi || ac_status=$?
8413 cd "$ac_pwd" || { ac_status=$?; break; }
8414 done
8415fi
8416
8417test -n "$ac_init_help" && exit $ac_status
8418if $ac_init_version; then
8419 cat <<\_ACEOF
8420sbsigntool configure 0.4
8421generated by GNU Autoconf 2.68
8422
8423Copyright (C) 2010 Free Software Foundation, Inc.
8424This configure script is free software; the Free Software Foundation
8425gives unlimited permission to copy, distribute and modify it.
8426_ACEOF
8427 exit
8428fi
8429
8430## ------------------------ ##
8431## Autoconf initialization. ##
8432## ------------------------ ##
8433
8434# ac_fn_c_try_compile LINENO
8435# --------------------------
8436# Try to compile conftest.$ac_ext, and return whether this succeeded.
8437ac_fn_c_try_compile ()
8438{
8439 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8440 rm -f conftest.$ac_objext
8441 if { { ac_try="$ac_compile"
8442case "(($ac_try" in
8443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8445esac
8446eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8447$as_echo "$ac_try_echo"; } >&5
8448 (eval "$ac_compile") 2>conftest.err
8449 ac_status=$?
8450 if test -s conftest.err; then
8451 grep -v '^ *+' conftest.err >conftest.er1
8452 cat conftest.er1 >&5
8453 mv -f conftest.er1 conftest.err
8454 fi
8455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8456 test $ac_status = 0; } && {
8457 test -z "$ac_c_werror_flag" ||
8458 test ! -s conftest.err
8459 } && test -s conftest.$ac_objext; then :
8460 ac_retval=0
8461else
8462 $as_echo "$as_me: failed program was:" >&5
8463sed 's/^/| /' conftest.$ac_ext >&5
8464
8465 ac_retval=1
8466fi
8467 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
8468 as_fn_set_status $ac_retval
8469
8470} # ac_fn_c_try_compile
8471
8472# ac_fn_c_try_cpp LINENO
8473# ----------------------
8474# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
8475ac_fn_c_try_cpp ()
8476{
8477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8478 if { { ac_try="$ac_cpp conftest.$ac_ext"
8479case "(($ac_try" in
8480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8481 *) ac_try_echo=$ac_try;;
8482esac
8483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8484$as_echo "$ac_try_echo"; } >&5
8485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
8486 ac_status=$?
8487 if test -s conftest.err; then
8488 grep -v '^ *+' conftest.err >conftest.er1
8489 cat conftest.er1 >&5
8490 mv -f conftest.er1 conftest.err
8491 fi
8492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8493 test $ac_status = 0; } > conftest.i && {
8494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 }; then :
8497 ac_retval=0
8498else
8499 $as_echo "$as_me: failed program was:" >&5
8500sed 's/^/| /' conftest.$ac_ext >&5
8501
8502 ac_retval=1
8503fi
8504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
8505 as_fn_set_status $ac_retval
8506
8507} # ac_fn_c_try_cpp
8508
8509# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
8510# -------------------------------------------------------
8511# Tests whether HEADER exists, giving a warning if it cannot be compiled using
8512# the include files in INCLUDES and setting the cache variable VAR
8513# accordingly.
8514ac_fn_c_check_header_mongrel ()
8515{
8516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8517 if eval \${$3+:} false; then :
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
8519$as_echo_n "checking for $2... " >&6; }
8520if eval \${$3+:} false; then :
8521 $as_echo_n "(cached) " >&6
8522fi
8523eval ac_res=\$$3
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8525$as_echo "$ac_res" >&6; }
8526else
8527 # Is the header compilable?
8528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
8529$as_echo_n "checking $2 usability... " >&6; }
8530cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531/* end confdefs.h. */
8532$4
8533#include <$2>
8534_ACEOF
8535if ac_fn_c_try_compile "$LINENO"; then :
8536 ac_header_compiler=yes
8537else
8538 ac_header_compiler=no
8539fi
8540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
8542$as_echo "$ac_header_compiler" >&6; }
8543
8544# Is the header present?
8545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
8546$as_echo_n "checking $2 presence... " >&6; }
8547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548/* end confdefs.h. */
8549#include <$2>
8550_ACEOF
8551if ac_fn_c_try_cpp "$LINENO"; then :
8552 ac_header_preproc=yes
8553else
8554 ac_header_preproc=no
8555fi
8556rm -f conftest.err conftest.i conftest.$ac_ext
8557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
8558$as_echo "$ac_header_preproc" >&6; }
8559
8560# So? What about this header?
8561case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
8562 yes:no: )
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
8564$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
8566$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
8567 ;;
8568 no:yes:* )
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
8570$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
8572$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
8574$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
8576$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
8578$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
8579( $as_echo "## ---------------------------------------- ##
8580## Report this to jeremy.kerr@canonical.com ##
8581## ---------------------------------------- ##"
8582 ) | sed "s/^/$as_me: WARNING: /" >&2
8583 ;;
8584esac
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
8586$as_echo_n "checking for $2... " >&6; }
8587if eval \${$3+:} false; then :
8588 $as_echo_n "(cached) " >&6
8589else
8590 eval "$3=\$ac_header_compiler"
8591fi
8592eval ac_res=\$$3
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8594$as_echo "$ac_res" >&6; }
8595fi
8596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
8597
8598} # ac_fn_c_check_header_mongrel
8599
8600# ac_fn_c_try_run LINENO
8601# ----------------------
8602# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
8603# that executables *can* be run.
8604ac_fn_c_try_run ()
8605{
8606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8607 if { { ac_try="$ac_link"
8608case "(($ac_try" in
8609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8610 *) ac_try_echo=$ac_try;;
8611esac
8612eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8613$as_echo "$ac_try_echo"; } >&5
8614 (eval "$ac_link") 2>&5
8615 ac_status=$?
8616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8617 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
8618 { { case "(($ac_try" in
8619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8620 *) ac_try_echo=$ac_try;;
8621esac
8622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8623$as_echo "$ac_try_echo"; } >&5
8624 (eval "$ac_try") 2>&5
8625 ac_status=$?
8626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8627 test $ac_status = 0; }; }; then :
8628 ac_retval=0
8629else
8630 $as_echo "$as_me: program exited with status $ac_status" >&5
8631 $as_echo "$as_me: failed program was:" >&5
8632sed 's/^/| /' conftest.$ac_ext >&5
8633
8634 ac_retval=$ac_status
8635fi
8636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
8637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
8638 as_fn_set_status $ac_retval
8639
8640} # ac_fn_c_try_run
8641
8642# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
8643# -------------------------------------------------------
8644# Tests whether HEADER exists and can be compiled using the include files in
8645# INCLUDES, setting the cache variable VAR accordingly.
8646ac_fn_c_check_header_compile ()
8647{
8648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
8650$as_echo_n "checking for $2... " >&6; }
8651if eval \${$3+:} false; then :
8652 $as_echo_n "(cached) " >&6
8653else
8654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8655/* end confdefs.h. */
8656$4
8657#include <$2>
8658_ACEOF
8659if ac_fn_c_try_compile "$LINENO"; then :
8660 eval "$3=yes"
8661else
8662 eval "$3=no"
8663fi
8664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8665fi
8666eval ac_res=\$$3
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8668$as_echo "$ac_res" >&6; }
8669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
8670
8671} # ac_fn_c_check_header_compile
8672cat >config.log <<_ACEOF
8673This file contains any messages produced by compilers while
8674running configure, to aid debugging if configure makes a mistake.
8675
8676It was created by sbsigntool $as_me 0.4, which was
8677generated by GNU Autoconf 2.68. Invocation command line was
8678
8679 $ $0 $@
8680
8681_ACEOF
8682exec 5>>config.log
8683{
8684cat <<_ASUNAME
8685## --------- ##
8686## Platform. ##
8687## --------- ##
8688
8689hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
8690uname -m = `(uname -m) 2>/dev/null || echo unknown`
8691uname -r = `(uname -r) 2>/dev/null || echo unknown`
8692uname -s = `(uname -s) 2>/dev/null || echo unknown`
8693uname -v = `(uname -v) 2>/dev/null || echo unknown`
8694
8695/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
8696/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
8697
8698/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
8699/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
8700/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
8701/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
8702/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
8703/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
8704/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
8705
8706_ASUNAME
8707
8708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8709for as_dir in $PATH
8710do
8711 IFS=$as_save_IFS
8712 test -z "$as_dir" && as_dir=.
8713 $as_echo "PATH: $as_dir"
8714 done
8715IFS=$as_save_IFS
8716
8717} >&5
8718
8719cat >&5 <<_ACEOF
8720
8721
8722## ----------- ##
8723## Core tests. ##
8724## ----------- ##
8725
8726_ACEOF
8727
8728
8729# Keep a trace of the command line.
8730# Strip out --no-create and --no-recursion so they do not pile up.
8731# Strip out --silent because we don't want to record it for future runs.
8732# Also quote any args containing shell meta-characters.
8733# Make two passes to allow for proper duplicate-argument suppression.
8734ac_configure_args=
8735ac_configure_args0=
8736ac_configure_args1=
8737ac_must_keep_next=false
8738for ac_pass in 1 2
8739do
8740 for ac_arg
8741 do
8742 case $ac_arg in
8743 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
8744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8745 | -silent | --silent | --silen | --sile | --sil)
8746 continue ;;
8747 *\'*)
8748 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8749 esac
8750 case $ac_pass in
8751 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
8752 2)
8753 as_fn_append ac_configure_args1 " '$ac_arg'"
8754 if test $ac_must_keep_next = true; then
8755 ac_must_keep_next=false # Got value, back to normal.
8756 else
8757 case $ac_arg in
8758 *=* | --config-cache | -C | -disable-* | --disable-* \
8759 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
8760 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
8761 | -with-* | --with-* | -without-* | --without-* | --x)
8762 case "$ac_configure_args0 " in
8763 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
8764 esac
8765 ;;
8766 -* ) ac_must_keep_next=true ;;
8767 esac
8768 fi
8769 as_fn_append ac_configure_args " '$ac_arg'"
8770 ;;
8771 esac
8772 done
8773done
8774{ ac_configure_args0=; unset ac_configure_args0;}
8775{ ac_configure_args1=; unset ac_configure_args1;}
8776
8777# When interrupted or exit'd, cleanup temporary files, and complete
8778# config.log. We remove comments because anyway the quotes in there
8779# would cause problems or look ugly.
8780# WARNING: Use '\'' to represent an apostrophe within the trap.
8781# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
8782trap 'exit_status=$?
8783 # Save into config.log some information that might help in debugging.
8784 {
8785 echo
8786
8787 $as_echo "## ---------------- ##
8788## Cache variables. ##
8789## ---------------- ##"
8790 echo
8791 # The following way of writing the cache mishandles newlines in values,
8792(
8793 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
8794 eval ac_val=\$$ac_var
8795 case $ac_val in #(
8796 *${as_nl}*)
8797 case $ac_var in #(
8798 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
8799$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
8800 esac
8801 case $ac_var in #(
8802 _ | IFS | as_nl) ;; #(
8803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8804 *) { eval $ac_var=; unset $ac_var;} ;;
8805 esac ;;
8806 esac
8807 done
8808 (set) 2>&1 |
8809 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
8810 *${as_nl}ac_space=\ *)
8811 sed -n \
8812 "s/'\''/'\''\\\\'\'''\''/g;
8813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
8814 ;; #(
8815 *)
8816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8817 ;;
8818 esac |
8819 sort
8820)
8821 echo
8822
8823 $as_echo "## ----------------- ##
8824## Output variables. ##
8825## ----------------- ##"
8826 echo
8827 for ac_var in $ac_subst_vars
8828 do
8829 eval ac_val=\$$ac_var
8830 case $ac_val in
8831 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
8832 esac
8833 $as_echo "$ac_var='\''$ac_val'\''"
8834 done | sort
8835 echo
8836
8837 if test -n "$ac_subst_files"; then
8838 $as_echo "## ------------------- ##
8839## File substitutions. ##
8840## ------------------- ##"
8841 echo
8842 for ac_var in $ac_subst_files
8843 do
8844 eval ac_val=\$$ac_var
8845 case $ac_val in
8846 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
8847 esac
8848 $as_echo "$ac_var='\''$ac_val'\''"
8849 done | sort
8850 echo
8851 fi
8852
8853 if test -s confdefs.h; then
8854 $as_echo "## ----------- ##
8855## confdefs.h. ##
8856## ----------- ##"
8857 echo
8858 cat confdefs.h
8859 echo
8860 fi
8861 test "$ac_signal" != 0 &&
8862 $as_echo "$as_me: caught signal $ac_signal"
8863 $as_echo "$as_me: exit $exit_status"
8864 } >&5
8865 rm -f core *.core core.conftest.* &&
8866 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
8867 exit $exit_status
8868' 0
8869for ac_signal in 1 2 13 15; do
8870 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
8871done
8872ac_signal=0
8873
8874# confdefs.h avoids OS command line length limits that DEFS can exceed.
8875rm -f -r conftest* confdefs.h
8876
8877$as_echo "/* confdefs.h */" > confdefs.h
8878
8879# Predefined preprocessor variables.
8880
8881cat >>confdefs.h <<_ACEOF
8882#define PACKAGE_NAME "$PACKAGE_NAME"
8883_ACEOF
8884
8885cat >>confdefs.h <<_ACEOF
8886#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
8887_ACEOF
8888
8889cat >>confdefs.h <<_ACEOF
8890#define PACKAGE_VERSION "$PACKAGE_VERSION"
8891_ACEOF
8892
8893cat >>confdefs.h <<_ACEOF
8894#define PACKAGE_STRING "$PACKAGE_STRING"
8895_ACEOF
8896
8897cat >>confdefs.h <<_ACEOF
8898#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
8899_ACEOF
8900
8901cat >>confdefs.h <<_ACEOF
8902#define PACKAGE_URL "$PACKAGE_URL"
8903_ACEOF
8904
8905
8906# Let the site file select an alternate cache file if it wants to.
8907# Prefer an explicitly selected file to automatically selected ones.
8908ac_site_file1=NONE
8909ac_site_file2=NONE
8910if test -n "$CONFIG_SITE"; then
8911 # We do not want a PATH search for config.site.
8912 case $CONFIG_SITE in #((
8913 -*) ac_site_file1=./$CONFIG_SITE;;
8914 */*) ac_site_file1=$CONFIG_SITE;;
8915 *) ac_site_file1=./$CONFIG_SITE;;
8916 esac
8917elif test "x$prefix" != xNONE; then
8918 ac_site_file1=$prefix/share/config.site
8919 ac_site_file2=$prefix/etc/config.site
8920else
8921 ac_site_file1=$ac_default_prefix/share/config.site
8922 ac_site_file2=$ac_default_prefix/etc/config.site
8923fi
8924for ac_site_file in "$ac_site_file1" "$ac_site_file2"
8925do
8926 test "x$ac_site_file" = xNONE && continue
8927 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
8929$as_echo "$as_me: loading site script $ac_site_file" >&6;}
8930 sed 's/^/| /' "$ac_site_file" >&5
8931 . "$ac_site_file" \
8932 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8934as_fn_error $? "failed to load site script $ac_site_file
8935See \`config.log' for more details" "$LINENO" 5; }
8936 fi
8937done
8938
8939if test -r "$cache_file"; then
8940 # Some versions of bash will fail to source /dev/null (special files
8941 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
8942 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
8944$as_echo "$as_me: loading cache $cache_file" >&6;}
8945 case $cache_file in
8946 [\\/]* | ?:[\\/]* ) . "$cache_file";;
8947 *) . "./$cache_file";;
8948 esac
8949 fi
8950else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
8952$as_echo "$as_me: creating cache $cache_file" >&6;}
8953 >$cache_file
8954fi
8955
8956# Check that the precious variables saved in the cache have kept the same
8957# value.
8958ac_cache_corrupted=false
8959for ac_var in $ac_precious_vars; do
8960 eval ac_old_set=\$ac_cv_env_${ac_var}_set
8961 eval ac_new_set=\$ac_env_${ac_var}_set
8962 eval ac_old_val=\$ac_cv_env_${ac_var}_value
8963 eval ac_new_val=\$ac_env_${ac_var}_value
8964 case $ac_old_set,$ac_new_set in
8965 set,)
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8967$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8968 ac_cache_corrupted=: ;;
8969 ,set)
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
8971$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
8972 ac_cache_corrupted=: ;;
8973 ,);;
8974 *)
8975 if test "x$ac_old_val" != "x$ac_new_val"; then
8976 # differences in whitespace do not lead to failure.
8977 ac_old_val_w=`echo x $ac_old_val`
8978 ac_new_val_w=`echo x $ac_new_val`
8979 if test "$ac_old_val_w" != "$ac_new_val_w"; then
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
8981$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
8982 ac_cache_corrupted=:
8983 else
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
8985$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
8986 eval $ac_var=\$ac_old_val
8987 fi
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
8989$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
8991$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
8992 fi;;
8993 esac
8994 # Pass precious variables to config.status.
8995 if test "$ac_new_set" = set; then
8996 case $ac_new_val in
8997 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
8998 *) ac_arg=$ac_var=$ac_new_val ;;
8999 esac
9000 case " $ac_configure_args " in
9001 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
9002 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
9003 esac
9004 fi
9005done
9006if $ac_cache_corrupted; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9008$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
9010$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
9011 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
9012fi
9013## -------------------- ##
9014## Main body of script. ##
9015## -------------------- ##
9016
9017ac_ext=c
9018ac_cpp='$CPP $CPPFLAGS'
9019ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9020ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9021ac_compiler_gnu=$ac_cv_c_compiler_gnu
9022
9023
9024
9025am__api_version='1.11'
9026
9027ac_aux_dir=
9028for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
9029 if test -f "$ac_dir/install-sh"; then
9030 ac_aux_dir=$ac_dir
9031 ac_install_sh="$ac_aux_dir/install-sh -c"
9032 break
9033 elif test -f "$ac_dir/install.sh"; then
9034 ac_aux_dir=$ac_dir
9035 ac_install_sh="$ac_aux_dir/install.sh -c"
9036 break
9037 elif test -f "$ac_dir/shtool"; then
9038 ac_aux_dir=$ac_dir
9039 ac_install_sh="$ac_aux_dir/shtool install -c"
9040 break
9041 fi
9042done
9043if test -z "$ac_aux_dir"; then
9044 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
9045fi
9046
9047# These three variables are undocumented and unsupported,
9048# and are intended to be withdrawn in a future Autoconf release.
9049# They can cause serious problems if a builder's source tree is in a directory
9050# whose full name contains unusual characters.
9051ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
9052ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
9053ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
9054
9055
9056# Find a good install program. We prefer a C program (faster),
9057# so one script is as good as another. But avoid the broken or
9058# incompatible versions:
9059# SysV /etc/install, /usr/sbin/install
9060# SunOS /usr/etc/install
9061# IRIX /sbin/install
9062# AIX /bin/install
9063# AmigaOS /C/install, which installs bootblocks on floppy discs
9064# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9065# AFS /usr/afsws/bin/install, which mishandles nonexistent args
9066# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9067# OS/2's system install, which has a completely different semantic
9068# ./install, which can be erroneously created by make from ./install.sh.
9069# Reject install programs that cannot install multiple files.
9070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
9071$as_echo_n "checking for a BSD-compatible install... " >&6; }
9072if test -z "$INSTALL"; then
9073if ${ac_cv_path_install+:} false; then :
9074 $as_echo_n "(cached) " >&6
9075else
9076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077for as_dir in $PATH
9078do
9079 IFS=$as_save_IFS
9080 test -z "$as_dir" && as_dir=.
9081 # Account for people who put trailing slashes in PATH elements.
9082case $as_dir/ in #((
9083 ./ | .// | /[cC]/* | \
9084 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
9085 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
9086 /usr/ucb/* ) ;;
9087 *)
9088 # OSF1 and SCO ODT 3.0 have their own names for install.
9089 # Don't use installbsd from OSF since it installs stuff as root
9090 # by default.
9091 for ac_prog in ginstall scoinst install; do
9092 for ac_exec_ext in '' $ac_executable_extensions; do
9093 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9094 if test $ac_prog = install &&
9095 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9096 # AIX install. It has an incompatible calling convention.
9097 :
9098 elif test $ac_prog = install &&
9099 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9100 # program-specific install script used by HP pwplus--don't use.
9101 :
9102 else
9103 rm -rf conftest.one conftest.two conftest.dir
9104 echo one > conftest.one
9105 echo two > conftest.two
9106 mkdir conftest.dir
9107 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
9108 test -s conftest.one && test -s conftest.two &&
9109 test -s conftest.dir/conftest.one &&
9110 test -s conftest.dir/conftest.two
9111 then
9112 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
9113 break 3
9114 fi
9115 fi
9116 fi
9117 done
9118 done
9119 ;;
9120esac
9121
9122 done
9123IFS=$as_save_IFS
9124
9125rm -rf conftest.one conftest.two conftest.dir
9126
9127fi
9128 if test "${ac_cv_path_install+set}" = set; then
9129 INSTALL=$ac_cv_path_install
9130 else
9131 # As a last resort, use the slow shell script. Don't cache a
9132 # value for INSTALL within a source directory, because that will
9133 # break other packages using the cache if that directory is
9134 # removed, or if the value is a relative name.
9135 INSTALL=$ac_install_sh
9136 fi
9137fi
9138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
9139$as_echo "$INSTALL" >&6; }
9140
9141# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9142# It thinks the first close brace ends the variable substitution.
9143test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
9144
9145test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
9146
9147test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
9148
9149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
9150$as_echo_n "checking whether build environment is sane... " >&6; }
9151# Just in case
9152sleep 1
9153echo timestamp > conftest.file
9154# Reject unsafe characters in $srcdir or the absolute working directory
9155# name. Accept space and tab only in the latter.
9156am_lf='
9157'
9158case `pwd` in
9159 *[\\\"\#\$\&\'\`$am_lf]*)
9160 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
9161esac
9162case $srcdir in
9163 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
9164 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
9165esac
9166
9167# Do `set' in a subshell so we don't clobber the current shell's
9168# arguments. Must try -L first in case configure is actually a
9169# symlink; some systems play weird games with the mod time of symlinks
9170# (eg FreeBSD returns the mod time of the symlink's containing
9171# directory).
9172if (
9173 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9174 if test "$*" = "X"; then
9175 # -L didn't work.
9176 set X `ls -t "$srcdir/configure" conftest.file`
9177 fi
9178 rm -f conftest.file
9179 if test "$*" != "X $srcdir/configure conftest.file" \
9180 && test "$*" != "X conftest.file $srcdir/configure"; then
9181
9182 # If neither matched, then we have a broken ls. This can happen
9183 # if, for instance, CONFIG_SHELL is bash and it inherits a
9184 # broken ls alias from the environment. This has actually
9185 # happened. Such a system could not be considered "sane".
9186 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
9187alias in your environment" "$LINENO" 5
9188 fi
9189
9190 test "$2" = conftest.file
9191 )
9192then
9193 # Ok.
9194 :
9195else
9196 as_fn_error $? "newly created file is older than distributed files!
9197Check your system clock" "$LINENO" 5
9198fi
9199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9200$as_echo "yes" >&6; }
9201test "$program_prefix" != NONE &&
9202 program_transform_name="s&^&$program_prefix&;$program_transform_name"
9203# Use a double $ so make ignores it.
9204test "$program_suffix" != NONE &&
9205 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
9206# Double any \ or $.
9207# By default was `s,x,x', remove it if useless.
9208ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
9209program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
9210
9211# expand $ac_aux_dir to an absolute path
9212am_aux_dir=`cd $ac_aux_dir && pwd`
9213
9214if test x"${MISSING+set}" != xset; then
9215 case $am_aux_dir in
9216 *\ * | *\ *)
9217 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
9218 *)
9219 MISSING="\${SHELL} $am_aux_dir/missing" ;;
9220 esac
9221fi
9222# Use eval to expand $SHELL
9223if eval "$MISSING --run true"; then
9224 am_missing_run="$MISSING --run "
9225else
9226 am_missing_run=
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
9228$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
9229fi
9230
9231if test x"${install_sh}" != xset; then
9232 case $am_aux_dir in
9233 *\ * | *\ *)
9234 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9235 *)
9236 install_sh="\${SHELL} $am_aux_dir/install-sh"
9237 esac
9238fi
9239
9240# Installed binaries are usually stripped using `strip' when the user
9241# run `make install-strip'. However `strip' might not be the right
9242# tool to use in cross-compilation environments, therefore Automake
9243# will honor the `STRIP' environment variable to overrule this program.
9244if test "$cross_compiling" != no; then
9245 if test -n "$ac_tool_prefix"; then
9246 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9247set dummy ${ac_tool_prefix}strip; ac_word=$2
9248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249$as_echo_n "checking for $ac_word... " >&6; }
9250if ${ac_cv_prog_STRIP+:} false; then :
9251 $as_echo_n "(cached) " >&6
9252else
9253 if test -n "$STRIP"; then
9254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9255else
9256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257for as_dir in $PATH
9258do
9259 IFS=$as_save_IFS
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9263 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9265 break 2
9266 fi
9267done
9268 done
9269IFS=$as_save_IFS
9270
9271fi
9272fi
9273STRIP=$ac_cv_prog_STRIP
9274if test -n "$STRIP"; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9276$as_echo "$STRIP" >&6; }
9277else
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279$as_echo "no" >&6; }
9280fi
9281
9282
9283fi
9284if test -z "$ac_cv_prog_STRIP"; then
9285 ac_ct_STRIP=$STRIP
9286 # Extract the first word of "strip", so it can be a program name with args.
9287set dummy strip; ac_word=$2
9288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9289$as_echo_n "checking for $ac_word... " >&6; }
9290if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9291 $as_echo_n "(cached) " >&6
9292else
9293 if test -n "$ac_ct_STRIP"; then
9294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9295else
9296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9297for as_dir in $PATH
9298do
9299 IFS=$as_save_IFS
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9303 ac_cv_prog_ac_ct_STRIP="strip"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9305 break 2
9306 fi
9307done
9308 done
9309IFS=$as_save_IFS
9310
9311fi
9312fi
9313ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9314if test -n "$ac_ct_STRIP"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9316$as_echo "$ac_ct_STRIP" >&6; }
9317else
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319$as_echo "no" >&6; }
9320fi
9321
9322 if test "x$ac_ct_STRIP" = x; then
9323 STRIP=":"
9324 else
9325 case $cross_compiling:$ac_tool_warned in
9326yes:)
9327{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9328$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9329ac_tool_warned=yes ;;
9330esac
9331 STRIP=$ac_ct_STRIP
9332 fi
9333else
9334 STRIP="$ac_cv_prog_STRIP"
9335fi
9336
9337fi
9338INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9339
9340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
9341$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
9342if test -z "$MKDIR_P"; then
9343 if ${ac_cv_path_mkdir+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345else
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
9348do
9349 IFS=$as_save_IFS
9350 test -z "$as_dir" && as_dir=.
9351 for ac_prog in mkdir gmkdir; do
9352 for ac_exec_ext in '' $ac_executable_extensions; do
9353 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
9354 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
9355 'mkdir (GNU coreutils) '* | \
9356 'mkdir (coreutils) '* | \
9357 'mkdir (fileutils) '4.1*)
9358 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
9359 break 3;;
9360 esac
9361 done
9362 done
9363 done
9364IFS=$as_save_IFS
9365
9366fi
9367
9368 test -d ./--version && rmdir ./--version
9369 if test "${ac_cv_path_mkdir+set}" = set; then
9370 MKDIR_P="$ac_cv_path_mkdir -p"
9371 else
9372 # As a last resort, use the slow shell script. Don't cache a
9373 # value for MKDIR_P within a source directory, because that will
9374 # break other packages using the cache if that directory is
9375 # removed, or if the value is a relative name.
9376 MKDIR_P="$ac_install_sh -d"
9377 fi
9378fi
9379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
9380$as_echo "$MKDIR_P" >&6; }
9381
9382mkdir_p="$MKDIR_P"
9383case $mkdir_p in
9384 [\\/$]* | ?:[\\/]*) ;;
9385 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
9386esac
9387
9388for ac_prog in gawk mawk nawk awk
9389do
9390 # Extract the first word of "$ac_prog", so it can be a program name with args.
9391set dummy $ac_prog; ac_word=$2
9392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9393$as_echo_n "checking for $ac_word... " >&6; }
9394if ${ac_cv_prog_AWK+:} false; then :
9395 $as_echo_n "(cached) " >&6
9396else
9397 if test -n "$AWK"; then
9398 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9399else
9400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9401for as_dir in $PATH
9402do
9403 IFS=$as_save_IFS
9404 test -z "$as_dir" && as_dir=.
9405 for ac_exec_ext in '' $ac_executable_extensions; do
9406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9407 ac_cv_prog_AWK="$ac_prog"
9408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9409 break 2
9410 fi
9411done
9412 done
9413IFS=$as_save_IFS
9414
9415fi
9416fi
9417AWK=$ac_cv_prog_AWK
9418if test -n "$AWK"; then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9420$as_echo "$AWK" >&6; }
9421else
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9423$as_echo "no" >&6; }
9424fi
9425
9426
9427 test -n "$AWK" && break
9428done
9429
9430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9431$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
9432set x ${MAKE-make}
9433ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9434if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436else
9437 cat >conftest.make <<\_ACEOF
9438SHELL = /bin/sh
9439all:
9440 @echo '@@@%%%=$(MAKE)=@@@%%%'
9441_ACEOF
9442# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9443case `${MAKE-make} -f conftest.make 2>/dev/null` in
9444 *@@@%%%=?*=@@@%%%*)
9445 eval ac_cv_prog_make_${ac_make}_set=yes;;
9446 *)
9447 eval ac_cv_prog_make_${ac_make}_set=no;;
9448esac
9449rm -f conftest.make
9450fi
9451if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9453$as_echo "yes" >&6; }
9454 SET_MAKE=
9455else
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9457$as_echo "no" >&6; }
9458 SET_MAKE="MAKE=${MAKE-make}"
9459fi
9460
9461rm -rf .tst 2>/dev/null
9462mkdir .tst 2>/dev/null
9463if test -d .tst; then
9464 am__leading_dot=.
9465else
9466 am__leading_dot=_
9467fi
9468rmdir .tst 2>/dev/null
9469
9470if test "`cd $srcdir && pwd`" != "`pwd`"; then
9471 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9472 # is not polluted with repeated "-I."
9473 am__isrc=' -I$(srcdir)'
9474 # test to see if srcdir already configured
9475 if test -f $srcdir/config.status; then
9476 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
9477 fi
9478fi
9479
9480# test whether we have cygpath
9481if test -z "$CYGPATH_W"; then
9482 if (cygpath --version) >/dev/null 2>/dev/null; then
9483 CYGPATH_W='cygpath -w'
9484 else
9485 CYGPATH_W=echo
9486 fi
9487fi
9488
9489
9490# Define the identity of the package.
9491 PACKAGE='sbsigntool'
9492 VERSION='0.4'
9493
9494
9495cat >>confdefs.h <<_ACEOF
9496#define PACKAGE "$PACKAGE"
9497_ACEOF
9498
9499
9500cat >>confdefs.h <<_ACEOF
9501#define VERSION "$VERSION"
9502_ACEOF
9503
9504# Some tools Automake needs.
9505
9506ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
9507
9508
9509AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
9510
9511
9512AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
9513
9514
9515AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
9516
9517
9518MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
9519
9520# We need awk for the "check" target. The system "awk" is bad on
9521# some platforms.
9522# Always define AMTAR for backward compatibility. Yes, it's still used
9523# in the wild :-( We should find a proper way to deprecate it ...
9524AMTAR='$${TAR-tar}'
9525
9526am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
9527
9528
9529
9530
9531
9532
9533
9534
9535ac_config_headers="$ac_config_headers config.h"
9536
9537
9538
9539DEPDIR="${am__leading_dot}deps"
9540
9541ac_config_commands="$ac_config_commands depfiles"
9542
9543
9544am_make=${MAKE-make}
9545cat > confinc << 'END'
9546am__doit:
9547 @echo this is the am__doit target
9548.PHONY: am__doit
9549END
9550# If we don't find an include directive, just comment out the code.
9551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
9552$as_echo_n "checking for style of include used by $am_make... " >&6; }
9553am__include="#"
9554am__quote=
9555_am_result=none
9556# First try GNU make style include.
9557echo "include confinc" > confmf
9558# Ignore all kinds of additional output from `make'.
9559case `$am_make -s -f confmf 2> /dev/null` in #(
9560*the\ am__doit\ target*)
9561 am__include=include
9562 am__quote=
9563 _am_result=GNU
9564 ;;
9565esac
9566# Now try BSD make style include.
9567if test "$am__include" = "#"; then
9568 echo '.include "confinc"' > confmf
9569 case `$am_make -s -f confmf 2> /dev/null` in #(
9570 *the\ am__doit\ target*)
9571 am__include=.include
9572 am__quote="\""
9573 _am_result=BSD
9574 ;;
9575 esac
9576fi
9577
9578
9579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
9580$as_echo "$_am_result" >&6; }
9581rm -f confinc confmf
9582
9583# Check whether --enable-dependency-tracking was given.
9584if test "${enable_dependency_tracking+set}" = set; then :
9585 enableval=$enable_dependency_tracking;
9586fi
9587
9588if test "x$enable_dependency_tracking" != xno; then
9589 am_depcomp="$ac_aux_dir/depcomp"
9590 AMDEPBACKSLASH='\'
9591 am__nodep='_no'
9592fi
9593 if test "x$enable_dependency_tracking" != xno; then
9594 AMDEP_TRUE=
9595 AMDEP_FALSE='#'
9596else
9597 AMDEP_TRUE='#'
9598 AMDEP_FALSE=
9599fi
9600
9601
9602ac_ext=c
9603ac_cpp='$CPP $CPPFLAGS'
9604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9606ac_compiler_gnu=$ac_cv_c_compiler_gnu
9607if test -n "$ac_tool_prefix"; then
9608 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9609set dummy ${ac_tool_prefix}gcc; ac_word=$2
9610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9611$as_echo_n "checking for $ac_word... " >&6; }
9612if ${ac_cv_prog_CC+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614else
9615 if test -n "$CC"; then
9616 ac_cv_prog_CC="$CC" # Let the user override the test.
9617else
9618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9619for as_dir in $PATH
9620do
9621 IFS=$as_save_IFS
9622 test -z "$as_dir" && as_dir=.
9623 for ac_exec_ext in '' $ac_executable_extensions; do
9624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9625 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9627 break 2
9628 fi
9629done
9630 done
9631IFS=$as_save_IFS
9632
9633fi
9634fi
9635CC=$ac_cv_prog_CC
9636if test -n "$CC"; then
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9638$as_echo "$CC" >&6; }
9639else
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9641$as_echo "no" >&6; }
9642fi
9643
9644
9645fi
9646if test -z "$ac_cv_prog_CC"; then
9647 ac_ct_CC=$CC
9648 # Extract the first word of "gcc", so it can be a program name with args.
9649set dummy gcc; ac_word=$2
9650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9651$as_echo_n "checking for $ac_word... " >&6; }
9652if ${ac_cv_prog_ac_ct_CC+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654else
9655 if test -n "$ac_ct_CC"; then
9656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9657else
9658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9659for as_dir in $PATH
9660do
9661 IFS=$as_save_IFS
9662 test -z "$as_dir" && as_dir=.
9663 for ac_exec_ext in '' $ac_executable_extensions; do
9664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9665 ac_cv_prog_ac_ct_CC="gcc"
9666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9667 break 2
9668 fi
9669done
9670 done
9671IFS=$as_save_IFS
9672
9673fi
9674fi
9675ac_ct_CC=$ac_cv_prog_ac_ct_CC
9676if test -n "$ac_ct_CC"; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
9678$as_echo "$ac_ct_CC" >&6; }
9679else
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9681$as_echo "no" >&6; }
9682fi
9683
9684 if test "x$ac_ct_CC" = x; then
9685 CC=""
9686 else
9687 case $cross_compiling:$ac_tool_warned in
9688yes:)
9689{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9690$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9691ac_tool_warned=yes ;;
9692esac
9693 CC=$ac_ct_CC
9694 fi
9695else
9696 CC="$ac_cv_prog_CC"
9697fi
9698
9699if test -z "$CC"; then
9700 if test -n "$ac_tool_prefix"; then
9701 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9702set dummy ${ac_tool_prefix}cc; ac_word=$2
9703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9704$as_echo_n "checking for $ac_word... " >&6; }
9705if ${ac_cv_prog_CC+:} false; then :
9706 $as_echo_n "(cached) " >&6
9707else
9708 if test -n "$CC"; then
9709 ac_cv_prog_CC="$CC" # Let the user override the test.
9710else
9711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9712for as_dir in $PATH
9713do
9714 IFS=$as_save_IFS
9715 test -z "$as_dir" && as_dir=.
9716 for ac_exec_ext in '' $ac_executable_extensions; do
9717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9718 ac_cv_prog_CC="${ac_tool_prefix}cc"
9719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9720 break 2
9721 fi
9722done
9723 done
9724IFS=$as_save_IFS
9725
9726fi
9727fi
9728CC=$ac_cv_prog_CC
9729if test -n "$CC"; then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9731$as_echo "$CC" >&6; }
9732else
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734$as_echo "no" >&6; }
9735fi
9736
9737
9738 fi
9739fi
9740if test -z "$CC"; then
9741 # Extract the first word of "cc", so it can be a program name with args.
9742set dummy cc; ac_word=$2
9743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9744$as_echo_n "checking for $ac_word... " >&6; }
9745if ${ac_cv_prog_CC+:} false; then :
9746 $as_echo_n "(cached) " >&6
9747else
9748 if test -n "$CC"; then
9749 ac_cv_prog_CC="$CC" # Let the user override the test.
9750else
9751 ac_prog_rejected=no
9752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9753for as_dir in $PATH
9754do
9755 IFS=$as_save_IFS
9756 test -z "$as_dir" && as_dir=.
9757 for ac_exec_ext in '' $ac_executable_extensions; do
9758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9759 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9760 ac_prog_rejected=yes
9761 continue
9762 fi
9763 ac_cv_prog_CC="cc"
9764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9765 break 2
9766 fi
9767done
9768 done
9769IFS=$as_save_IFS
9770
9771if test $ac_prog_rejected = yes; then
9772 # We found a bogon in the path, so make sure we never use it.
9773 set dummy $ac_cv_prog_CC
9774 shift
9775 if test $# != 0; then
9776 # We chose a different compiler from the bogus one.
9777 # However, it has the same basename, so the bogon will be chosen
9778 # first if we set CC to just the basename; use the full file name.
9779 shift
9780 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9781 fi
9782fi
9783fi
9784fi
9785CC=$ac_cv_prog_CC
9786if test -n "$CC"; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9788$as_echo "$CC" >&6; }
9789else
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9791$as_echo "no" >&6; }
9792fi
9793
9794
9795fi
9796if test -z "$CC"; then
9797 if test -n "$ac_tool_prefix"; then
9798 for ac_prog in cl.exe
9799 do
9800 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9801set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9803$as_echo_n "checking for $ac_word... " >&6; }
9804if ${ac_cv_prog_CC+:} false; then :
9805 $as_echo_n "(cached) " >&6
9806else
9807 if test -n "$CC"; then
9808 ac_cv_prog_CC="$CC" # Let the user override the test.
9809else
9810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9811for as_dir in $PATH
9812do
9813 IFS=$as_save_IFS
9814 test -z "$as_dir" && as_dir=.
9815 for ac_exec_ext in '' $ac_executable_extensions; do
9816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9817 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9819 break 2
9820 fi
9821done
9822 done
9823IFS=$as_save_IFS
9824
9825fi
9826fi
9827CC=$ac_cv_prog_CC
9828if test -n "$CC"; then
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
9830$as_echo "$CC" >&6; }
9831else
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9833$as_echo "no" >&6; }
9834fi
9835
9836
9837 test -n "$CC" && break
9838 done
9839fi
9840if test -z "$CC"; then
9841 ac_ct_CC=$CC
9842 for ac_prog in cl.exe
9843do
9844 # Extract the first word of "$ac_prog", so it can be a program name with args.
9845set dummy $ac_prog; ac_word=$2
9846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9847$as_echo_n "checking for $ac_word... " >&6; }
9848if ${ac_cv_prog_ac_ct_CC+:} false; then :
9849 $as_echo_n "(cached) " >&6
9850else
9851 if test -n "$ac_ct_CC"; then
9852 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9853else
9854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9855for as_dir in $PATH
9856do
9857 IFS=$as_save_IFS
9858 test -z "$as_dir" && as_dir=.
9859 for ac_exec_ext in '' $ac_executable_extensions; do
9860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9861 ac_cv_prog_ac_ct_CC="$ac_prog"
9862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9863 break 2
9864 fi
9865done
9866 done
9867IFS=$as_save_IFS
9868
9869fi
9870fi
9871ac_ct_CC=$ac_cv_prog_ac_ct_CC
9872if test -n "$ac_ct_CC"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
9874$as_echo "$ac_ct_CC" >&6; }
9875else
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9877$as_echo "no" >&6; }
9878fi
9879
9880
9881 test -n "$ac_ct_CC" && break
9882done
9883
9884 if test "x$ac_ct_CC" = x; then
9885 CC=""
9886 else
9887 case $cross_compiling:$ac_tool_warned in
9888yes:)
9889{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9890$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9891ac_tool_warned=yes ;;
9892esac
9893 CC=$ac_ct_CC
9894 fi
9895fi
9896
9897fi
9898
9899
9900test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9901$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9902as_fn_error $? "no acceptable C compiler found in \$PATH
9903See \`config.log' for more details" "$LINENO" 5; }
9904
9905# Provide some information about the compiler.
9906$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
9907set X $ac_compile
9908ac_compiler=$2
9909for ac_option in --version -v -V -qversion; do
9910 { { ac_try="$ac_compiler $ac_option >&5"
9911case "(($ac_try" in
9912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9913 *) ac_try_echo=$ac_try;;
9914esac
9915eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9916$as_echo "$ac_try_echo"; } >&5
9917 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9918 ac_status=$?
9919 if test -s conftest.err; then
9920 sed '10a\
9921... rest of stderr output deleted ...
9922 10q' conftest.err >conftest.er1
9923 cat conftest.er1 >&5
9924 fi
9925 rm -f conftest.er1 conftest.err
9926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9927 test $ac_status = 0; }
9928done
9929
9930cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931/* end confdefs.h. */
9932
9933int
9934main ()
9935{
9936
9937 ;
9938 return 0;
9939}
9940_ACEOF
9941ac_clean_files_save=$ac_clean_files
9942ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
9943# Try to create an executable without -o first, disregard a.out.
9944# It will help us diagnose broken compilers, and finding out an intuition
9945# of exeext.
9946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
9947$as_echo_n "checking whether the C compiler works... " >&6; }
9948ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9949
9950# The possible output files:
9951ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
9952
9953ac_rmfiles=
9954for ac_file in $ac_files
9955do
9956 case $ac_file in
9957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
9958 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
9959 esac
9960done
9961rm -f $ac_rmfiles
9962
9963if { { ac_try="$ac_link_default"
9964case "(($ac_try" in
9965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9966 *) ac_try_echo=$ac_try;;
9967esac
9968eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9969$as_echo "$ac_try_echo"; } >&5
9970 (eval "$ac_link_default") 2>&5
9971 ac_status=$?
9972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9973 test $ac_status = 0; }; then :
9974 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
9975# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
9976# in a Makefile. We should not override ac_cv_exeext if it was cached,
9977# so that the user can short-circuit this test for compilers unknown to
9978# Autoconf.
9979for ac_file in $ac_files ''
9980do
9981 test -f "$ac_file" || continue
9982 case $ac_file in
9983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
9984 ;;
9985 [ab].out )
9986 # We found the default executable, but exeext='' is most
9987 # certainly right.
9988 break;;
9989 *.* )
9990 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
9991 then :; else
9992 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9993 fi
9994 # We set ac_cv_exeext here because the later test for it is not
9995 # safe: cross compilers may not add the suffix if given an `-o'
9996 # argument, so we may need to know it at that point already.
9997 # Even if this section looks crufty: it has the advantage of
9998 # actually working.
9999 break;;
10000 * )
10001 break;;
10002 esac
10003done
10004test "$ac_cv_exeext" = no && ac_cv_exeext=
10005
10006else
10007 ac_file=''
10008fi
10009if test -z "$ac_file"; then :
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10011$as_echo "no" >&6; }
10012$as_echo "$as_me: failed program was:" >&5
10013sed 's/^/| /' conftest.$ac_ext >&5
10014
10015{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10016$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10017as_fn_error 77 "C compiler cannot create executables
10018See \`config.log' for more details" "$LINENO" 5; }
10019else
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10021$as_echo "yes" >&6; }
10022fi
10023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
10024$as_echo_n "checking for C compiler default output file name... " >&6; }
10025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
10026$as_echo "$ac_file" >&6; }
10027ac_exeext=$ac_cv_exeext
10028
10029rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
10030ac_clean_files=$ac_clean_files_save
10031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
10032$as_echo_n "checking for suffix of executables... " >&6; }
10033if { { ac_try="$ac_link"
10034case "(($ac_try" in
10035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10036 *) ac_try_echo=$ac_try;;
10037esac
10038eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10039$as_echo "$ac_try_echo"; } >&5
10040 (eval "$ac_link") 2>&5
10041 ac_status=$?
10042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10043 test $ac_status = 0; }; then :
10044 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10045# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10046# work properly (i.e., refer to `conftest.exe'), while it won't with
10047# `rm'.
10048for ac_file in conftest.exe conftest conftest.*; do
10049 test -f "$ac_file" || continue
10050 case $ac_file in
10051 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
10052 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10053 break;;
10054 * ) break;;
10055 esac
10056done
10057else
10058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10060as_fn_error $? "cannot compute suffix of executables: cannot compile and link
10061See \`config.log' for more details" "$LINENO" 5; }
10062fi
10063rm -f conftest conftest$ac_cv_exeext
10064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
10065$as_echo "$ac_cv_exeext" >&6; }
10066
10067rm -f conftest.$ac_ext
10068EXEEXT=$ac_cv_exeext
10069ac_exeext=$EXEEXT
10070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10071/* end confdefs.h. */
10072#include <stdio.h>
10073int
10074main ()
10075{
10076FILE *f = fopen ("conftest.out", "w");
10077 return ferror (f) || fclose (f) != 0;
10078
10079 ;
10080 return 0;
10081}
10082_ACEOF
10083ac_clean_files="$ac_clean_files conftest.out"
10084# Check that the compiler produces executables we can run. If not, either
10085# the compiler is broken, or we cross compile.
10086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
10087$as_echo_n "checking whether we are cross compiling... " >&6; }
10088if test "$cross_compiling" != yes; then
10089 { { ac_try="$ac_link"
10090case "(($ac_try" in
10091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10092 *) ac_try_echo=$ac_try;;
10093esac
10094eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10095$as_echo "$ac_try_echo"; } >&5
10096 (eval "$ac_link") 2>&5
10097 ac_status=$?
10098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10099 test $ac_status = 0; }
10100 if { ac_try='./conftest$ac_cv_exeext'
10101 { { case "(($ac_try" in
10102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10103 *) ac_try_echo=$ac_try;;
10104esac
10105eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10106$as_echo "$ac_try_echo"; } >&5
10107 (eval "$ac_try") 2>&5
10108 ac_status=$?
10109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10110 test $ac_status = 0; }; }; then
10111 cross_compiling=no
10112 else
10113 if test "$cross_compiling" = maybe; then
10114 cross_compiling=yes
10115 else
10116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10117$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10118as_fn_error $? "cannot run C compiled programs.
10119If you meant to cross compile, use \`--host'.
10120See \`config.log' for more details" "$LINENO" 5; }
10121 fi
10122 fi
10123fi
10124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
10125$as_echo "$cross_compiling" >&6; }
10126
10127rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
10128ac_clean_files=$ac_clean_files_save
10129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
10130$as_echo_n "checking for suffix of object files... " >&6; }
10131if ${ac_cv_objext+:} false; then :
10132 $as_echo_n "(cached) " >&6
10133else
10134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10135/* end confdefs.h. */
10136
10137int
10138main ()
10139{
10140
10141 ;
10142 return 0;
10143}
10144_ACEOF
10145rm -f conftest.o conftest.obj
10146if { { ac_try="$ac_compile"
10147case "(($ac_try" in
10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149 *) ac_try_echo=$ac_try;;
10150esac
10151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10152$as_echo "$ac_try_echo"; } >&5
10153 (eval "$ac_compile") 2>&5
10154 ac_status=$?
10155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10156 test $ac_status = 0; }; then :
10157 for ac_file in conftest.o conftest.obj conftest.*; do
10158 test -f "$ac_file" || continue;
10159 case $ac_file in
10160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
10161 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10162 break;;
10163 esac
10164done
10165else
10166 $as_echo "$as_me: failed program was:" >&5
10167sed 's/^/| /' conftest.$ac_ext >&5
10168
10169{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10170$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10171as_fn_error $? "cannot compute suffix of object files: cannot compile
10172See \`config.log' for more details" "$LINENO" 5; }
10173fi
10174rm -f conftest.$ac_cv_objext conftest.$ac_ext
10175fi
10176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
10177$as_echo "$ac_cv_objext" >&6; }
10178OBJEXT=$ac_cv_objext
10179ac_objext=$OBJEXT
10180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10181$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10182if ${ac_cv_c_compiler_gnu+:} false; then :
10183 $as_echo_n "(cached) " >&6
10184else
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186/* end confdefs.h. */
10187
10188int
10189main ()
10190{
10191#ifndef __GNUC__
10192 choke me
10193#endif
10194
10195 ;
10196 return 0;
10197}
10198_ACEOF
10199if ac_fn_c_try_compile "$LINENO"; then :
10200 ac_compiler_gnu=yes
10201else
10202 ac_compiler_gnu=no
10203fi
10204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10205ac_cv_c_compiler_gnu=$ac_compiler_gnu
10206
10207fi
10208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
10209$as_echo "$ac_cv_c_compiler_gnu" >&6; }
10210if test $ac_compiler_gnu = yes; then
10211 GCC=yes
10212else
10213 GCC=
10214fi
10215ac_test_CFLAGS=${CFLAGS+set}
10216ac_save_CFLAGS=$CFLAGS
10217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
10218$as_echo_n "checking whether $CC accepts -g... " >&6; }
10219if ${ac_cv_prog_cc_g+:} false; then :
10220 $as_echo_n "(cached) " >&6
10221else
10222 ac_save_c_werror_flag=$ac_c_werror_flag
10223 ac_c_werror_flag=yes
10224 ac_cv_prog_cc_g=no
10225 CFLAGS="-g"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227/* end confdefs.h. */
10228
10229int
10230main ()
10231{
10232
10233 ;
10234 return 0;
10235}
10236_ACEOF
10237if ac_fn_c_try_compile "$LINENO"; then :
10238 ac_cv_prog_cc_g=yes
10239else
10240 CFLAGS=""
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242/* end confdefs.h. */
10243
10244int
10245main ()
10246{
10247
10248 ;
10249 return 0;
10250}
10251_ACEOF
10252if ac_fn_c_try_compile "$LINENO"; then :
10253
10254else
10255 ac_c_werror_flag=$ac_save_c_werror_flag
10256 CFLAGS="-g"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258/* end confdefs.h. */
10259
10260int
10261main ()
10262{
10263
10264 ;
10265 return 0;
10266}
10267_ACEOF
10268if ac_fn_c_try_compile "$LINENO"; then :
10269 ac_cv_prog_cc_g=yes
10270fi
10271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10272fi
10273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10274fi
10275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10276 ac_c_werror_flag=$ac_save_c_werror_flag
10277fi
10278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
10279$as_echo "$ac_cv_prog_cc_g" >&6; }
10280if test "$ac_test_CFLAGS" = set; then
10281 CFLAGS=$ac_save_CFLAGS
10282elif test $ac_cv_prog_cc_g = yes; then
10283 if test "$GCC" = yes; then
10284 CFLAGS="-g -O2"
10285 else
10286 CFLAGS="-g"
10287 fi
10288else
10289 if test "$GCC" = yes; then
10290 CFLAGS="-O2"
10291 else
10292 CFLAGS=
10293 fi
10294fi
10295{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
10296$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
10297if ${ac_cv_prog_cc_c89+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299else
10300 ac_cv_prog_cc_c89=no
10301ac_save_CC=$CC
10302cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303/* end confdefs.h. */
10304#include <stdarg.h>
10305#include <stdio.h>
10306#include <sys/types.h>
10307#include <sys/stat.h>
10308/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10309struct buf { int x; };
10310FILE * (*rcsopen) (struct buf *, struct stat *, int);
10311static char *e (p, i)
10312 char **p;
10313 int i;
10314{
10315 return p[i];
10316}
10317static char *f (char * (*g) (char **, int), char **p, ...)
10318{
10319 char *s;
10320 va_list v;
10321 va_start (v,p);
10322 s = g (p, va_arg (v,int));
10323 va_end (v);
10324 return s;
10325}
10326
10327/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10328 function prototypes and stuff, but not '\xHH' hex character constants.
10329 These don't provoke an error unfortunately, instead are silently treated
10330 as 'x'. The following induces an error, until -std is added to get
10331 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10332 array size at least. It's necessary to write '\x00'==0 to get something
10333 that's true only with -std. */
10334int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10335
10336/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
10337 inside strings and character constants. */
10338#define FOO(x) 'x'
10339int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
10340
10341int test (int i, double x);
10342struct s1 {int (*f) (int a);};
10343struct s2 {int (*f) (double a);};
10344int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10345int argc;
10346char **argv;
10347int
10348main ()
10349{
10350return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10351 ;
10352 return 0;
10353}
10354_ACEOF
10355for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
10356 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10357do
10358 CC="$ac_save_CC $ac_arg"
10359 if ac_fn_c_try_compile "$LINENO"; then :
10360 ac_cv_prog_cc_c89=$ac_arg
10361fi
10362rm -f core conftest.err conftest.$ac_objext
10363 test "x$ac_cv_prog_cc_c89" != "xno" && break
10364done
10365rm -f conftest.$ac_ext
10366CC=$ac_save_CC
10367
10368fi
10369# AC_CACHE_VAL
10370case "x$ac_cv_prog_cc_c89" in
10371 x)
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10373$as_echo "none needed" >&6; } ;;
10374 xno)
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10376$as_echo "unsupported" >&6; } ;;
10377 *)
10378 CC="$CC $ac_cv_prog_cc_c89"
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
10380$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
10381esac
10382if test "x$ac_cv_prog_cc_c89" != xno; then :
10383
10384fi
10385
10386ac_ext=c
10387ac_cpp='$CPP $CPPFLAGS'
10388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10390ac_compiler_gnu=$ac_cv_c_compiler_gnu
10391
10392depcc="$CC" am_compiler_list=
10393
10394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10395$as_echo_n "checking dependency style of $depcc... " >&6; }
10396if ${am_cv_CC_dependencies_compiler_type+:} false; then :
10397 $as_echo_n "(cached) " >&6
10398else
10399 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10400 # We make a subdir and do the tests there. Otherwise we can end up
10401 # making bogus files that we don't know about and never remove. For
10402 # instance it was reported that on HP-UX the gcc test will end up
10403 # making a dummy file named `D' -- because `-MD' means `put the output
10404 # in D'.
10405 rm -rf conftest.dir
10406 mkdir conftest.dir
10407 # Copy depcomp to subdir because otherwise we won't find it if we're
10408 # using a relative directory.
10409 cp "$am_depcomp" conftest.dir
10410 cd conftest.dir
10411 # We will build objects and dependencies in a subdirectory because
10412 # it helps to detect inapplicable dependency modes. For instance
10413 # both Tru64's cc and ICC support -MD to output dependencies as a
10414 # side effect of compilation, but ICC will put the dependencies in
10415 # the current directory while Tru64 will put them in the object
10416 # directory.
10417 mkdir sub
10418
10419 am_cv_CC_dependencies_compiler_type=none
10420 if test "$am_compiler_list" = ""; then
10421 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10422 fi
10423 am__universal=false
10424 case " $depcc " in #(
10425 *\ -arch\ *\ -arch\ *) am__universal=true ;;
10426 esac
10427
10428 for depmode in $am_compiler_list; do
10429 # Setup a source with many dependencies, because some compilers
10430 # like to wrap large dependency lists on column 80 (with \), and
10431 # we should not choose a depcomp mode which is confused by this.
10432 #
10433 # We need to recreate these files for each test, as the compiler may
10434 # overwrite some of them when testing with obscure command lines.
10435 # This happens at least with the AIX C compiler.
10436 : > sub/conftest.c
10437 for i in 1 2 3 4 5 6; do
10438 echo '#include "conftst'$i'.h"' >> sub/conftest.c
10439 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10440 # Solaris 8's {/usr,}/bin/sh.
10441 touch sub/conftst$i.h
10442 done
10443 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10444
10445 # We check with `-c' and `-o' for the sake of the "dashmstdout"
10446 # mode. It turns out that the SunPro C++ compiler does not properly
10447 # handle `-M -o', and we need to detect this. Also, some Intel
10448 # versions had trouble with output in subdirs
10449 am__obj=sub/conftest.${OBJEXT-o}
10450 am__minus_obj="-o $am__obj"
10451 case $depmode in
10452 gcc)
10453 # This depmode causes a compiler race in universal mode.
10454 test "$am__universal" = false || continue
10455 ;;
10456 nosideeffect)
10457 # after this tag, mechanisms are not by side-effect, so they'll
10458 # only be used when explicitly requested
10459 if test "x$enable_dependency_tracking" = xyes; then
10460 continue
10461 else
10462 break
10463 fi
10464 ;;
10465 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
10466 # This compiler won't grok `-c -o', but also, the minuso test has
10467 # not run yet. These depmodes are late enough in the game, and
10468 # so weak that their functioning should not be impacted.
10469 am__obj=conftest.${OBJEXT-o}
10470 am__minus_obj=
10471 ;;
10472 none) break ;;
10473 esac
10474 if depmode=$depmode \
10475 source=sub/conftest.c object=$am__obj \
10476 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10477 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10478 >/dev/null 2>conftest.err &&
10479 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10480 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10481 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10482 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10483 # icc doesn't choke on unknown options, it will just issue warnings
10484 # or remarks (even with -Werror). So we grep stderr for any message
10485 # that says an option was ignored or not supported.
10486 # When given -MP, icc 7.0 and 7.1 complain thusly:
10487 # icc: Command line warning: ignoring option '-M'; no argument required
10488 # The diagnosis changed in icc 8.0:
10489 # icc: Command line remark: option '-MP' not supported
10490 if (grep 'ignoring option' conftest.err ||
10491 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10492 am_cv_CC_dependencies_compiler_type=$depmode
10493 break
10494 fi
10495 fi
10496 done
10497
10498 cd ..
10499 rm -rf conftest.dir
10500else
10501 am_cv_CC_dependencies_compiler_type=none
10502fi
10503
10504fi
10505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
10506$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
10507CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
10508
10509 if
10510 test "x$enable_dependency_tracking" != xno \
10511 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
10512 am__fastdepCC_TRUE=
10513 am__fastdepCC_FALSE='#'
10514else
10515 am__fastdepCC_TRUE='#'
10516 am__fastdepCC_FALSE=
10517fi
10518
10519
10520# By default we simply use the C compiler to build assembly code.
10521
10522test "${CCAS+set}" = set || CCAS=$CC
10523test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
10524
10525
10526
10527depcc="$CCAS" am_compiler_list=
10528
10529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10530$as_echo_n "checking dependency style of $depcc... " >&6; }
10531if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
10532 $as_echo_n "(cached) " >&6
10533else
10534 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10535 # We make a subdir and do the tests there. Otherwise we can end up
10536 # making bogus files that we don't know about and never remove. For
10537 # instance it was reported that on HP-UX the gcc test will end up
10538 # making a dummy file named `D' -- because `-MD' means `put the output
10539 # in D'.
10540 rm -rf conftest.dir
10541 mkdir conftest.dir
10542 # Copy depcomp to subdir because otherwise we won't find it if we're
10543 # using a relative directory.
10544 cp "$am_depcomp" conftest.dir
10545 cd conftest.dir
10546 # We will build objects and dependencies in a subdirectory because
10547 # it helps to detect inapplicable dependency modes. For instance
10548 # both Tru64's cc and ICC support -MD to output dependencies as a
10549 # side effect of compilation, but ICC will put the dependencies in
10550 # the current directory while Tru64 will put them in the object
10551 # directory.
10552 mkdir sub
10553
10554 am_cv_CCAS_dependencies_compiler_type=none
10555 if test "$am_compiler_list" = ""; then
10556 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10557 fi
10558 am__universal=false
10559
10560
10561 for depmode in $am_compiler_list; do
10562 # Setup a source with many dependencies, because some compilers
10563 # like to wrap large dependency lists on column 80 (with \), and
10564 # we should not choose a depcomp mode which is confused by this.
10565 #
10566 # We need to recreate these files for each test, as the compiler may
10567 # overwrite some of them when testing with obscure command lines.
10568 # This happens at least with the AIX C compiler.
10569 : > sub/conftest.c
10570 for i in 1 2 3 4 5 6; do
10571 echo '#include "conftst'$i'.h"' >> sub/conftest.c
10572 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10573 # Solaris 8's {/usr,}/bin/sh.
10574 touch sub/conftst$i.h
10575 done
10576 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10577
10578 # We check with `-c' and `-o' for the sake of the "dashmstdout"
10579 # mode. It turns out that the SunPro C++ compiler does not properly
10580 # handle `-M -o', and we need to detect this. Also, some Intel
10581 # versions had trouble with output in subdirs
10582 am__obj=sub/conftest.${OBJEXT-o}
10583 am__minus_obj="-o $am__obj"
10584 case $depmode in
10585 gcc)
10586 # This depmode causes a compiler race in universal mode.
10587 test "$am__universal" = false || continue
10588 ;;
10589 nosideeffect)
10590 # after this tag, mechanisms are not by side-effect, so they'll
10591 # only be used when explicitly requested
10592 if test "x$enable_dependency_tracking" = xyes; then
10593 continue
10594 else
10595 break
10596 fi
10597 ;;
10598 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
10599 # This compiler won't grok `-c -o', but also, the minuso test has
10600 # not run yet. These depmodes are late enough in the game, and
10601 # so weak that their functioning should not be impacted.
10602 am__obj=conftest.${OBJEXT-o}
10603 am__minus_obj=
10604 ;;
10605 none) break ;;
10606 esac
10607 if depmode=$depmode \
10608 source=sub/conftest.c object=$am__obj \
10609 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10610 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10611 >/dev/null 2>conftest.err &&
10612 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10613 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10614 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10615 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10616 # icc doesn't choke on unknown options, it will just issue warnings
10617 # or remarks (even with -Werror). So we grep stderr for any message
10618 # that says an option was ignored or not supported.
10619 # When given -MP, icc 7.0 and 7.1 complain thusly:
10620 # icc: Command line warning: ignoring option '-M'; no argument required
10621 # The diagnosis changed in icc 8.0:
10622 # icc: Command line remark: option '-MP' not supported
10623 if (grep 'ignoring option' conftest.err ||
10624 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10625 am_cv_CCAS_dependencies_compiler_type=$depmode
10626 break
10627 fi
10628 fi
10629 done
10630
10631 cd ..
10632 rm -rf conftest.dir
10633else
10634 am_cv_CCAS_dependencies_compiler_type=none
10635fi
10636
10637fi
10638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
10639$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
10640CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
10641
10642 if
10643 test "x$enable_dependency_tracking" != xno \
10644 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
10645 am__fastdepCCAS_TRUE=
10646 am__fastdepCCAS_FALSE='#'
10647else
10648 am__fastdepCCAS_TRUE='#'
10649 am__fastdepCCAS_FALSE=
10650fi
10651
10652
10653ac_ext=c
10654ac_cpp='$CPP $CPPFLAGS'
10655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10657ac_compiler_gnu=$ac_cv_c_compiler_gnu
10658if test -n "$ac_tool_prefix"; then
10659 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10660set dummy ${ac_tool_prefix}gcc; ac_word=$2
10661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10662$as_echo_n "checking for $ac_word... " >&6; }
10663if ${ac_cv_prog_CC+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665else
10666 if test -n "$CC"; then
10667 ac_cv_prog_CC="$CC" # Let the user override the test.
10668else
10669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10670for as_dir in $PATH
10671do
10672 IFS=$as_save_IFS
10673 test -z "$as_dir" && as_dir=.
10674 for ac_exec_ext in '' $ac_executable_extensions; do
10675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10676 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10678 break 2
10679 fi
10680done
10681 done
10682IFS=$as_save_IFS
10683
10684fi
10685fi
10686CC=$ac_cv_prog_CC
10687if test -n "$CC"; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10689$as_echo "$CC" >&6; }
10690else
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10692$as_echo "no" >&6; }
10693fi
10694
10695
10696fi
10697if test -z "$ac_cv_prog_CC"; then
10698 ac_ct_CC=$CC
10699 # Extract the first word of "gcc", so it can be a program name with args.
10700set dummy gcc; ac_word=$2
10701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10702$as_echo_n "checking for $ac_word... " >&6; }
10703if ${ac_cv_prog_ac_ct_CC+:} false; then :
10704 $as_echo_n "(cached) " >&6
10705else
10706 if test -n "$ac_ct_CC"; then
10707 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10708else
10709as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10710for as_dir in $PATH
10711do
10712 IFS=$as_save_IFS
10713 test -z "$as_dir" && as_dir=.
10714 for ac_exec_ext in '' $ac_executable_extensions; do
10715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10716 ac_cv_prog_ac_ct_CC="gcc"
10717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10718 break 2
10719 fi
10720done
10721 done
10722IFS=$as_save_IFS
10723
10724fi
10725fi
10726ac_ct_CC=$ac_cv_prog_ac_ct_CC
10727if test -n "$ac_ct_CC"; then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10729$as_echo "$ac_ct_CC" >&6; }
10730else
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10732$as_echo "no" >&6; }
10733fi
10734
10735 if test "x$ac_ct_CC" = x; then
10736 CC=""
10737 else
10738 case $cross_compiling:$ac_tool_warned in
10739yes:)
10740{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10741$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10742ac_tool_warned=yes ;;
10743esac
10744 CC=$ac_ct_CC
10745 fi
10746else
10747 CC="$ac_cv_prog_CC"
10748fi
10749
10750if test -z "$CC"; then
10751 if test -n "$ac_tool_prefix"; then
10752 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10753set dummy ${ac_tool_prefix}cc; ac_word=$2
10754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10755$as_echo_n "checking for $ac_word... " >&6; }
10756if ${ac_cv_prog_CC+:} false; then :
10757 $as_echo_n "(cached) " >&6
10758else
10759 if test -n "$CC"; then
10760 ac_cv_prog_CC="$CC" # Let the user override the test.
10761else
10762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10763for as_dir in $PATH
10764do
10765 IFS=$as_save_IFS
10766 test -z "$as_dir" && as_dir=.
10767 for ac_exec_ext in '' $ac_executable_extensions; do
10768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10769 ac_cv_prog_CC="${ac_tool_prefix}cc"
10770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10771 break 2
10772 fi
10773done
10774 done
10775IFS=$as_save_IFS
10776
10777fi
10778fi
10779CC=$ac_cv_prog_CC
10780if test -n "$CC"; then
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10782$as_echo "$CC" >&6; }
10783else
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10785$as_echo "no" >&6; }
10786fi
10787
10788
10789 fi
10790fi
10791if test -z "$CC"; then
10792 # Extract the first word of "cc", so it can be a program name with args.
10793set dummy cc; ac_word=$2
10794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10795$as_echo_n "checking for $ac_word... " >&6; }
10796if ${ac_cv_prog_CC+:} false; then :
10797 $as_echo_n "(cached) " >&6
10798else
10799 if test -n "$CC"; then
10800 ac_cv_prog_CC="$CC" # Let the user override the test.
10801else
10802 ac_prog_rejected=no
10803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10804for as_dir in $PATH
10805do
10806 IFS=$as_save_IFS
10807 test -z "$as_dir" && as_dir=.
10808 for ac_exec_ext in '' $ac_executable_extensions; do
10809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10810 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10811 ac_prog_rejected=yes
10812 continue
10813 fi
10814 ac_cv_prog_CC="cc"
10815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10816 break 2
10817 fi
10818done
10819 done
10820IFS=$as_save_IFS
10821
10822if test $ac_prog_rejected = yes; then
10823 # We found a bogon in the path, so make sure we never use it.
10824 set dummy $ac_cv_prog_CC
10825 shift
10826 if test $# != 0; then
10827 # We chose a different compiler from the bogus one.
10828 # However, it has the same basename, so the bogon will be chosen
10829 # first if we set CC to just the basename; use the full file name.
10830 shift
10831 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10832 fi
10833fi
10834fi
10835fi
10836CC=$ac_cv_prog_CC
10837if test -n "$CC"; then
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10839$as_echo "$CC" >&6; }
10840else
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10842$as_echo "no" >&6; }
10843fi
10844
10845
10846fi
10847if test -z "$CC"; then
10848 if test -n "$ac_tool_prefix"; then
10849 for ac_prog in cl.exe
10850 do
10851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10852set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10854$as_echo_n "checking for $ac_word... " >&6; }
10855if ${ac_cv_prog_CC+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857else
10858 if test -n "$CC"; then
10859 ac_cv_prog_CC="$CC" # Let the user override the test.
10860else
10861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10862for as_dir in $PATH
10863do
10864 IFS=$as_save_IFS
10865 test -z "$as_dir" && as_dir=.
10866 for ac_exec_ext in '' $ac_executable_extensions; do
10867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10868 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10870 break 2
10871 fi
10872done
10873 done
10874IFS=$as_save_IFS
10875
10876fi
10877fi
10878CC=$ac_cv_prog_CC
10879if test -n "$CC"; then
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10881$as_echo "$CC" >&6; }
10882else
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10884$as_echo "no" >&6; }
10885fi
10886
10887
10888 test -n "$CC" && break
10889 done
10890fi
10891if test -z "$CC"; then
10892 ac_ct_CC=$CC
10893 for ac_prog in cl.exe
10894do
10895 # Extract the first word of "$ac_prog", so it can be a program name with args.
10896set dummy $ac_prog; ac_word=$2
10897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10898$as_echo_n "checking for $ac_word... " >&6; }
10899if ${ac_cv_prog_ac_ct_CC+:} false; then :
10900 $as_echo_n "(cached) " >&6
10901else
10902 if test -n "$ac_ct_CC"; then
10903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10904else
10905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10906for as_dir in $PATH
10907do
10908 IFS=$as_save_IFS
10909 test -z "$as_dir" && as_dir=.
10910 for ac_exec_ext in '' $ac_executable_extensions; do
10911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10912 ac_cv_prog_ac_ct_CC="$ac_prog"
10913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10914 break 2
10915 fi
10916done
10917 done
10918IFS=$as_save_IFS
10919
10920fi
10921fi
10922ac_ct_CC=$ac_cv_prog_ac_ct_CC
10923if test -n "$ac_ct_CC"; then
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10925$as_echo "$ac_ct_CC" >&6; }
10926else
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928$as_echo "no" >&6; }
10929fi
10930
10931
10932 test -n "$ac_ct_CC" && break
10933done
10934
10935 if test "x$ac_ct_CC" = x; then
10936 CC=""
10937 else
10938 case $cross_compiling:$ac_tool_warned in
10939yes:)
10940{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10941$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10942ac_tool_warned=yes ;;
10943esac
10944 CC=$ac_ct_CC
10945 fi
10946fi
10947
10948fi
10949
10950
10951test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10952$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10953as_fn_error $? "no acceptable C compiler found in \$PATH
10954See \`config.log' for more details" "$LINENO" 5; }
10955
10956# Provide some information about the compiler.
10957$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
10958set X $ac_compile
10959ac_compiler=$2
10960for ac_option in --version -v -V -qversion; do
10961 { { ac_try="$ac_compiler $ac_option >&5"
10962case "(($ac_try" in
10963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10964 *) ac_try_echo=$ac_try;;
10965esac
10966eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10967$as_echo "$ac_try_echo"; } >&5
10968 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
10969 ac_status=$?
10970 if test -s conftest.err; then
10971 sed '10a\
10972... rest of stderr output deleted ...
10973 10q' conftest.err >conftest.er1
10974 cat conftest.er1 >&5
10975 fi
10976 rm -f conftest.er1 conftest.err
10977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10978 test $ac_status = 0; }
10979done
10980
10981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
10982$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
10983if ${ac_cv_c_compiler_gnu+:} false; then :
10984 $as_echo_n "(cached) " >&6
10985else
10986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10987/* end confdefs.h. */
10988
10989int
10990main ()
10991{
10992#ifndef __GNUC__
10993 choke me
10994#endif
10995
10996 ;
10997 return 0;
10998}
10999_ACEOF
11000if ac_fn_c_try_compile "$LINENO"; then :
11001 ac_compiler_gnu=yes
11002else
11003 ac_compiler_gnu=no
11004fi
11005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11006ac_cv_c_compiler_gnu=$ac_compiler_gnu
11007
11008fi
11009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11010$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11011if test $ac_compiler_gnu = yes; then
11012 GCC=yes
11013else
11014 GCC=
11015fi
11016ac_test_CFLAGS=${CFLAGS+set}
11017ac_save_CFLAGS=$CFLAGS
11018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11019$as_echo_n "checking whether $CC accepts -g... " >&6; }
11020if ${ac_cv_prog_cc_g+:} false; then :
11021 $as_echo_n "(cached) " >&6
11022else
11023 ac_save_c_werror_flag=$ac_c_werror_flag
11024 ac_c_werror_flag=yes
11025 ac_cv_prog_cc_g=no
11026 CFLAGS="-g"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028/* end confdefs.h. */
11029
11030int
11031main ()
11032{
11033
11034 ;
11035 return 0;
11036}
11037_ACEOF
11038if ac_fn_c_try_compile "$LINENO"; then :
11039 ac_cv_prog_cc_g=yes
11040else
11041 CFLAGS=""
11042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11043/* end confdefs.h. */
11044
11045int
11046main ()
11047{
11048
11049 ;
11050 return 0;
11051}
11052_ACEOF
11053if ac_fn_c_try_compile "$LINENO"; then :
11054
11055else
11056 ac_c_werror_flag=$ac_save_c_werror_flag
11057 CFLAGS="-g"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059/* end confdefs.h. */
11060
11061int
11062main ()
11063{
11064
11065 ;
11066 return 0;
11067}
11068_ACEOF
11069if ac_fn_c_try_compile "$LINENO"; then :
11070 ac_cv_prog_cc_g=yes
11071fi
11072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11073fi
11074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11075fi
11076rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11077 ac_c_werror_flag=$ac_save_c_werror_flag
11078fi
11079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11080$as_echo "$ac_cv_prog_cc_g" >&6; }
11081if test "$ac_test_CFLAGS" = set; then
11082 CFLAGS=$ac_save_CFLAGS
11083elif test $ac_cv_prog_cc_g = yes; then
11084 if test "$GCC" = yes; then
11085 CFLAGS="-g -O2"
11086 else
11087 CFLAGS="-g"
11088 fi
11089else
11090 if test "$GCC" = yes; then
11091 CFLAGS="-O2"
11092 else
11093 CFLAGS=
11094 fi
11095fi
11096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11097$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11098if ${ac_cv_prog_cc_c89+:} false; then :
11099 $as_echo_n "(cached) " >&6
11100else
11101 ac_cv_prog_cc_c89=no
11102ac_save_CC=$CC
11103cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104/* end confdefs.h. */
11105#include <stdarg.h>
11106#include <stdio.h>
11107#include <sys/types.h>
11108#include <sys/stat.h>
11109/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11110struct buf { int x; };
11111FILE * (*rcsopen) (struct buf *, struct stat *, int);
11112static char *e (p, i)
11113 char **p;
11114 int i;
11115{
11116 return p[i];
11117}
11118static char *f (char * (*g) (char **, int), char **p, ...)
11119{
11120 char *s;
11121 va_list v;
11122 va_start (v,p);
11123 s = g (p, va_arg (v,int));
11124 va_end (v);
11125 return s;
11126}
11127
11128/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11129 function prototypes and stuff, but not '\xHH' hex character constants.
11130 These don't provoke an error unfortunately, instead are silently treated
11131 as 'x'. The following induces an error, until -std is added to get
11132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11133 array size at least. It's necessary to write '\x00'==0 to get something
11134 that's true only with -std. */
11135int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11136
11137/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11138 inside strings and character constants. */
11139#define FOO(x) 'x'
11140int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11141
11142int test (int i, double x);
11143struct s1 {int (*f) (int a);};
11144struct s2 {int (*f) (double a);};
11145int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11146int argc;
11147char **argv;
11148int
11149main ()
11150{
11151return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11152 ;
11153 return 0;
11154}
11155_ACEOF
11156for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11158do
11159 CC="$ac_save_CC $ac_arg"
11160 if ac_fn_c_try_compile "$LINENO"; then :
11161 ac_cv_prog_cc_c89=$ac_arg
11162fi
11163rm -f core conftest.err conftest.$ac_objext
11164 test "x$ac_cv_prog_cc_c89" != "xno" && break
11165done
11166rm -f conftest.$ac_ext
11167CC=$ac_save_CC
11168
11169fi
11170# AC_CACHE_VAL
11171case "x$ac_cv_prog_cc_c89" in
11172 x)
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11174$as_echo "none needed" >&6; } ;;
11175 xno)
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11177$as_echo "unsupported" >&6; } ;;
11178 *)
11179 CC="$CC $ac_cv_prog_cc_c89"
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11181$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11182esac
11183if test "x$ac_cv_prog_cc_c89" != xno; then :
11184
11185fi
11186
11187ac_ext=c
11188ac_cpp='$CPP $CPPFLAGS'
11189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11191ac_compiler_gnu=$ac_cv_c_compiler_gnu
11192
11193depcc="$CC" am_compiler_list=
11194
11195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11196$as_echo_n "checking dependency style of $depcc... " >&6; }
11197if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11198 $as_echo_n "(cached) " >&6
11199else
11200 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11201 # We make a subdir and do the tests there. Otherwise we can end up
11202 # making bogus files that we don't know about and never remove. For
11203 # instance it was reported that on HP-UX the gcc test will end up
11204 # making a dummy file named `D' -- because `-MD' means `put the output
11205 # in D'.
11206 rm -rf conftest.dir
11207 mkdir conftest.dir
11208 # Copy depcomp to subdir because otherwise we won't find it if we're
11209 # using a relative directory.
11210 cp "$am_depcomp" conftest.dir
11211 cd conftest.dir
11212 # We will build objects and dependencies in a subdirectory because
11213 # it helps to detect inapplicable dependency modes. For instance
11214 # both Tru64's cc and ICC support -MD to output dependencies as a
11215 # side effect of compilation, but ICC will put the dependencies in
11216 # the current directory while Tru64 will put them in the object
11217 # directory.
11218 mkdir sub
11219
11220 am_cv_CC_dependencies_compiler_type=none
11221 if test "$am_compiler_list" = ""; then
11222 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11223 fi
11224 am__universal=false
11225 case " $depcc " in #(
11226 *\ -arch\ *\ -arch\ *) am__universal=true ;;
11227 esac
11228
11229 for depmode in $am_compiler_list; do
11230 # Setup a source with many dependencies, because some compilers
11231 # like to wrap large dependency lists on column 80 (with \), and
11232 # we should not choose a depcomp mode which is confused by this.
11233 #
11234 # We need to recreate these files for each test, as the compiler may
11235 # overwrite some of them when testing with obscure command lines.
11236 # This happens at least with the AIX C compiler.
11237 : > sub/conftest.c
11238 for i in 1 2 3 4 5 6; do
11239 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11240 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11241 # Solaris 8's {/usr,}/bin/sh.
11242 touch sub/conftst$i.h
11243 done
11244 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11245
11246 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11247 # mode. It turns out that the SunPro C++ compiler does not properly
11248 # handle `-M -o', and we need to detect this. Also, some Intel
11249 # versions had trouble with output in subdirs
11250 am__obj=sub/conftest.${OBJEXT-o}
11251 am__minus_obj="-o $am__obj"
11252 case $depmode in
11253 gcc)
11254 # This depmode causes a compiler race in universal mode.
11255 test "$am__universal" = false || continue
11256 ;;
11257 nosideeffect)
11258 # after this tag, mechanisms are not by side-effect, so they'll
11259 # only be used when explicitly requested
11260 if test "x$enable_dependency_tracking" = xyes; then
11261 continue
11262 else
11263 break
11264 fi
11265 ;;
11266 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11267 # This compiler won't grok `-c -o', but also, the minuso test has
11268 # not run yet. These depmodes are late enough in the game, and
11269 # so weak that their functioning should not be impacted.
11270 am__obj=conftest.${OBJEXT-o}
11271 am__minus_obj=
11272 ;;
11273 none) break ;;
11274 esac
11275 if depmode=$depmode \
11276 source=sub/conftest.c object=$am__obj \
11277 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11278 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11279 >/dev/null 2>conftest.err &&
11280 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11281 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11282 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11283 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11284 # icc doesn't choke on unknown options, it will just issue warnings
11285 # or remarks (even with -Werror). So we grep stderr for any message
11286 # that says an option was ignored or not supported.
11287 # When given -MP, icc 7.0 and 7.1 complain thusly:
11288 # icc: Command line warning: ignoring option '-M'; no argument required
11289 # The diagnosis changed in icc 8.0:
11290 # icc: Command line remark: option '-MP' not supported
11291 if (grep 'ignoring option' conftest.err ||
11292 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11293 am_cv_CC_dependencies_compiler_type=$depmode
11294 break
11295 fi
11296 fi
11297 done
11298
11299 cd ..
11300 rm -rf conftest.dir
11301else
11302 am_cv_CC_dependencies_compiler_type=none
11303fi
11304
11305fi
11306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11307$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11308CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11309
11310 if
11311 test "x$enable_dependency_tracking" != xno \
11312 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11313 am__fastdepCC_TRUE=
11314 am__fastdepCC_FALSE='#'
11315else
11316 am__fastdepCC_TRUE='#'
11317 am__fastdepCC_FALSE=
11318fi
11319
11320
11321if test "x$CC" != xcc; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11323$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11324else
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11326$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11327fi
11328set dummy $CC; ac_cc=`$as_echo "$2" |
11329 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11330if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
11331 $as_echo_n "(cached) " >&6
11332else
11333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11334/* end confdefs.h. */
11335
11336int
11337main ()
11338{
11339
11340 ;
11341 return 0;
11342}
11343_ACEOF
11344# Make sure it works both with $CC and with simple cc.
11345# We do the test twice because some compilers refuse to overwrite an
11346# existing .o file with -o, though they will create one.
11347ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11348rm -f conftest2.*
11349if { { case "(($ac_try" in
11350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351 *) ac_try_echo=$ac_try;;
11352esac
11353eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11354$as_echo "$ac_try_echo"; } >&5
11355 (eval "$ac_try") 2>&5
11356 ac_status=$?
11357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11358 test $ac_status = 0; } &&
11359 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11361 *) ac_try_echo=$ac_try;;
11362esac
11363eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11364$as_echo "$ac_try_echo"; } >&5
11365 (eval "$ac_try") 2>&5
11366 ac_status=$?
11367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11368 test $ac_status = 0; };
11369then
11370 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11371 if test "x$CC" != xcc; then
11372 # Test first that cc exists at all.
11373 if { ac_try='cc -c conftest.$ac_ext >&5'
11374 { { case "(($ac_try" in
11375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11376 *) ac_try_echo=$ac_try;;
11377esac
11378eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11379$as_echo "$ac_try_echo"; } >&5
11380 (eval "$ac_try") 2>&5
11381 ac_status=$?
11382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11383 test $ac_status = 0; }; }; then
11384 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11385 rm -f conftest2.*
11386 if { { case "(($ac_try" in
11387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11388 *) ac_try_echo=$ac_try;;
11389esac
11390eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11391$as_echo "$ac_try_echo"; } >&5
11392 (eval "$ac_try") 2>&5
11393 ac_status=$?
11394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11395 test $ac_status = 0; } &&
11396 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11398 *) ac_try_echo=$ac_try;;
11399esac
11400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11401$as_echo "$ac_try_echo"; } >&5
11402 (eval "$ac_try") 2>&5
11403 ac_status=$?
11404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405 test $ac_status = 0; };
11406 then
11407 # cc works too.
11408 :
11409 else
11410 # cc exists but doesn't like -o.
11411 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11412 fi
11413 fi
11414 fi
11415else
11416 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11417fi
11418rm -f core conftest*
11419
11420fi
11421if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11423$as_echo "yes" >&6; }
11424else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11426$as_echo "no" >&6; }
11427
11428$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11429
11430fi
11431
11432# FIXME: we rely on the cache variable name because
11433# there is no other way.
11434set dummy $CC
11435am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11436eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11437if test "$am_t" != yes; then
11438 # Losing compiler, so override with the script.
11439 # FIXME: It is wrong to rewrite CC.
11440 # But if we don't then we get into trouble of one sort or another.
11441 # A longer-term fix would be to have automake use am__CC in this case,
11442 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11443 CC="$am_aux_dir/compile $CC"
11444fi
11445
11446
11447ac_ext=c
11448ac_cpp='$CPP $CPPFLAGS'
11449ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11450ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11451ac_compiler_gnu=$ac_cv_c_compiler_gnu
11452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11453$as_echo_n "checking how to run the C preprocessor... " >&6; }
11454# On Suns, sometimes $CPP names a directory.
11455if test -n "$CPP" && test -d "$CPP"; then
11456 CPP=
11457fi
11458if test -z "$CPP"; then
11459 if ${ac_cv_prog_CPP+:} false; then :
11460 $as_echo_n "(cached) " >&6
11461else
11462 # Double quotes because CPP needs to be expanded
11463 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11464 do
11465 ac_preproc_ok=false
11466for ac_c_preproc_warn_flag in '' yes
11467do
11468 # Use a header file that comes with gcc, so configuring glibc
11469 # with a fresh cross-compiler works.
11470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11471 # <limits.h> exists even on freestanding compilers.
11472 # On the NeXT, cc -E runs the code through the compiler's parser,
11473 # not just through cpp. "Syntax error" is here to catch this case.
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475/* end confdefs.h. */
11476#ifdef __STDC__
11477# include <limits.h>
11478#else
11479# include <assert.h>
11480#endif
11481 Syntax error
11482_ACEOF
11483if ac_fn_c_try_cpp "$LINENO"; then :
11484
11485else
11486 # Broken: fails on valid input.
11487continue
11488fi
11489rm -f conftest.err conftest.i conftest.$ac_ext
11490
11491 # OK, works on sane cases. Now check whether nonexistent headers
11492 # can be detected and how.
11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494/* end confdefs.h. */
11495#include <ac_nonexistent.h>
11496_ACEOF
11497if ac_fn_c_try_cpp "$LINENO"; then :
11498 # Broken: success on invalid input.
11499continue
11500else
11501 # Passes both tests.
11502ac_preproc_ok=:
11503break
11504fi
11505rm -f conftest.err conftest.i conftest.$ac_ext
11506
11507done
11508# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11509rm -f conftest.i conftest.err conftest.$ac_ext
11510if $ac_preproc_ok; then :
11511 break
11512fi
11513
11514 done
11515 ac_cv_prog_CPP=$CPP
11516
11517fi
11518 CPP=$ac_cv_prog_CPP
11519else
11520 ac_cv_prog_CPP=$CPP
11521fi
11522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11523$as_echo "$CPP" >&6; }
11524ac_preproc_ok=false
11525for ac_c_preproc_warn_flag in '' yes
11526do
11527 # Use a header file that comes with gcc, so configuring glibc
11528 # with a fresh cross-compiler works.
11529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11530 # <limits.h> exists even on freestanding compilers.
11531 # On the NeXT, cc -E runs the code through the compiler's parser,
11532 # not just through cpp. "Syntax error" is here to catch this case.
11533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11534/* end confdefs.h. */
11535#ifdef __STDC__
11536# include <limits.h>
11537#else
11538# include <assert.h>
11539#endif
11540 Syntax error
11541_ACEOF
11542if ac_fn_c_try_cpp "$LINENO"; then :
11543
11544else
11545 # Broken: fails on valid input.
11546continue
11547fi
11548rm -f conftest.err conftest.i conftest.$ac_ext
11549
11550 # OK, works on sane cases. Now check whether nonexistent headers
11551 # can be detected and how.
11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11553/* end confdefs.h. */
11554#include <ac_nonexistent.h>
11555_ACEOF
11556if ac_fn_c_try_cpp "$LINENO"; then :
11557 # Broken: success on invalid input.
11558continue
11559else
11560 # Passes both tests.
11561ac_preproc_ok=:
11562break
11563fi
11564rm -f conftest.err conftest.i conftest.$ac_ext
11565
11566done
11567# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11568rm -f conftest.i conftest.err conftest.$ac_ext
11569if $ac_preproc_ok; then :
11570
11571else
11572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11573$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11574as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
11575See \`config.log' for more details" "$LINENO" 5; }
11576fi
11577
11578ac_ext=c
11579ac_cpp='$CPP $CPPFLAGS'
11580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11582ac_compiler_gnu=$ac_cv_c_compiler_gnu
11583
11584if test -n "$ac_tool_prefix"; then
11585 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11586set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11588$as_echo_n "checking for $ac_word... " >&6; }
11589if ${ac_cv_prog_RANLIB+:} false; then :
11590 $as_echo_n "(cached) " >&6
11591else
11592 if test -n "$RANLIB"; then
11593 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11594else
11595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596for as_dir in $PATH
11597do
11598 IFS=$as_save_IFS
11599 test -z "$as_dir" && as_dir=.
11600 for ac_exec_ext in '' $ac_executable_extensions; do
11601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11602 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11604 break 2
11605 fi
11606done
11607 done
11608IFS=$as_save_IFS
11609
11610fi
11611fi
11612RANLIB=$ac_cv_prog_RANLIB
11613if test -n "$RANLIB"; then
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
11615$as_echo "$RANLIB" >&6; }
11616else
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11618$as_echo "no" >&6; }
11619fi
11620
11621
11622fi
11623if test -z "$ac_cv_prog_RANLIB"; then
11624 ac_ct_RANLIB=$RANLIB
11625 # Extract the first word of "ranlib", so it can be a program name with args.
11626set dummy ranlib; ac_word=$2
11627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11628$as_echo_n "checking for $ac_word... " >&6; }
11629if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
11630 $as_echo_n "(cached) " >&6
11631else
11632 if test -n "$ac_ct_RANLIB"; then
11633 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11634else
11635as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636for as_dir in $PATH
11637do
11638 IFS=$as_save_IFS
11639 test -z "$as_dir" && as_dir=.
11640 for ac_exec_ext in '' $ac_executable_extensions; do
11641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11642 ac_cv_prog_ac_ct_RANLIB="ranlib"
11643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11644 break 2
11645 fi
11646done
11647 done
11648IFS=$as_save_IFS
11649
11650fi
11651fi
11652ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11653if test -n "$ac_ct_RANLIB"; then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
11655$as_echo "$ac_ct_RANLIB" >&6; }
11656else
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11658$as_echo "no" >&6; }
11659fi
11660
11661 if test "x$ac_ct_RANLIB" = x; then
11662 RANLIB=":"
11663 else
11664 case $cross_compiling:$ac_tool_warned in
11665yes:)
11666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11668ac_tool_warned=yes ;;
11669esac
11670 RANLIB=$ac_ct_RANLIB
11671 fi
11672else
11673 RANLIB="$ac_cv_prog_RANLIB"
11674fi
11675
11676
11677
11678if test -n "$ac_tool_prefix"; then
11679 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
11680set dummy ${ac_tool_prefix}objcopy; ac_word=$2
11681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11682$as_echo_n "checking for $ac_word... " >&6; }
11683if ${ac_cv_prog_OBJCOPY+:} false; then :
11684 $as_echo_n "(cached) " >&6
11685else
11686 if test -n "$OBJCOPY"; then
11687 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
11688else
11689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11690for as_dir in $PATH
11691do
11692 IFS=$as_save_IFS
11693 test -z "$as_dir" && as_dir=.
11694 for ac_exec_ext in '' $ac_executable_extensions; do
11695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11696 ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
11697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11698 break 2
11699 fi
11700done
11701 done
11702IFS=$as_save_IFS
11703
11704fi
11705fi
11706OBJCOPY=$ac_cv_prog_OBJCOPY
11707if test -n "$OBJCOPY"; then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
11709$as_echo "$OBJCOPY" >&6; }
11710else
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712$as_echo "no" >&6; }
11713fi
11714
11715
11716fi
11717if test -z "$ac_cv_prog_OBJCOPY"; then
11718 ac_ct_OBJCOPY=$OBJCOPY
11719 # Extract the first word of "objcopy", so it can be a program name with args.
11720set dummy objcopy; ac_word=$2
11721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11722$as_echo_n "checking for $ac_word... " >&6; }
11723if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725else
11726 if test -n "$ac_ct_OBJCOPY"; then
11727 ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
11728else
11729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11730for as_dir in $PATH
11731do
11732 IFS=$as_save_IFS
11733 test -z "$as_dir" && as_dir=.
11734 for ac_exec_ext in '' $ac_executable_extensions; do
11735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11736 ac_cv_prog_ac_ct_OBJCOPY="objcopy"
11737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11738 break 2
11739 fi
11740done
11741 done
11742IFS=$as_save_IFS
11743
11744fi
11745fi
11746ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
11747if test -n "$ac_ct_OBJCOPY"; then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
11749$as_echo "$ac_ct_OBJCOPY" >&6; }
11750else
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11752$as_echo "no" >&6; }
11753fi
11754
11755 if test "x$ac_ct_OBJCOPY" = x; then
11756 OBJCOPY=""
11757 else
11758 case $cross_compiling:$ac_tool_warned in
11759yes:)
11760{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11761$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11762ac_tool_warned=yes ;;
11763esac
11764 OBJCOPY=$ac_ct_OBJCOPY
11765 fi
11766else
11767 OBJCOPY="$ac_cv_prog_OBJCOPY"
11768fi
11769
11770if test -n "$ac_tool_prefix"; then
11771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11772set dummy ${ac_tool_prefix}strip; ac_word=$2
11773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774$as_echo_n "checking for $ac_word... " >&6; }
11775if ${ac_cv_prog_STRIP+:} false; then :
11776 $as_echo_n "(cached) " >&6
11777else
11778 if test -n "$STRIP"; then
11779 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11780else
11781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11782for as_dir in $PATH
11783do
11784 IFS=$as_save_IFS
11785 test -z "$as_dir" && as_dir=.
11786 for ac_exec_ext in '' $ac_executable_extensions; do
11787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11788 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11790 break 2
11791 fi
11792done
11793 done
11794IFS=$as_save_IFS
11795
11796fi
11797fi
11798STRIP=$ac_cv_prog_STRIP
11799if test -n "$STRIP"; then
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
11801$as_echo "$STRIP" >&6; }
11802else
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11804$as_echo "no" >&6; }
11805fi
11806
11807
11808fi
11809if test -z "$ac_cv_prog_STRIP"; then
11810 ac_ct_STRIP=$STRIP
11811 # Extract the first word of "strip", so it can be a program name with args.
11812set dummy strip; ac_word=$2
11813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11814$as_echo_n "checking for $ac_word... " >&6; }
11815if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
11816 $as_echo_n "(cached) " >&6
11817else
11818 if test -n "$ac_ct_STRIP"; then
11819 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11820else
11821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11822for as_dir in $PATH
11823do
11824 IFS=$as_save_IFS
11825 test -z "$as_dir" && as_dir=.
11826 for ac_exec_ext in '' $ac_executable_extensions; do
11827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11828 ac_cv_prog_ac_ct_STRIP="strip"
11829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11830 break 2
11831 fi
11832done
11833 done
11834IFS=$as_save_IFS
11835
11836fi
11837fi
11838ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11839if test -n "$ac_ct_STRIP"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
11841$as_echo "$ac_ct_STRIP" >&6; }
11842else
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11844$as_echo "no" >&6; }
11845fi
11846
11847 if test "x$ac_ct_STRIP" = x; then
11848 STRIP=""
11849 else
11850 case $cross_compiling:$ac_tool_warned in
11851yes:)
11852{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11853$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11854ac_tool_warned=yes ;;
11855esac
11856 STRIP=$ac_ct_STRIP
11857 fi
11858else
11859 STRIP="$ac_cv_prog_STRIP"
11860fi
11861
11862
11863
11864
11865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
11866$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
11867if ${ac_cv_path_GREP+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869else
11870 if test -z "$GREP"; then
11871 ac_path_GREP_found=false
11872 # Loop through the user's path and test for each of PROGNAME-LIST
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11875do
11876 IFS=$as_save_IFS
11877 test -z "$as_dir" && as_dir=.
11878 for ac_prog in grep ggrep; do
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
11881 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
11882# Check for GNU ac_path_GREP and select it if it is found.
11883 # Check for GNU $ac_path_GREP
11884case `"$ac_path_GREP" --version 2>&1` in
11885*GNU*)
11886 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
11887*)
11888 ac_count=0
11889 $as_echo_n 0123456789 >"conftest.in"
11890 while :
11891 do
11892 cat "conftest.in" "conftest.in" >"conftest.tmp"
11893 mv "conftest.tmp" "conftest.in"
11894 cp "conftest.in" "conftest.nl"
11895 $as_echo 'GREP' >> "conftest.nl"
11896 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11897 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11898 as_fn_arith $ac_count + 1 && ac_count=$as_val
11899 if test $ac_count -gt ${ac_path_GREP_max-0}; then
11900 # Best one so far, save it but keep looking for a better one
11901 ac_cv_path_GREP="$ac_path_GREP"
11902 ac_path_GREP_max=$ac_count
11903 fi
11904 # 10*(2^10) chars as input seems more than enough
11905 test $ac_count -gt 10 && break
11906 done
11907 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
11908esac
11909
11910 $ac_path_GREP_found && break 3
11911 done
11912 done
11913 done
11914IFS=$as_save_IFS
11915 if test -z "$ac_cv_path_GREP"; then
11916 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
11917 fi
11918else
11919 ac_cv_path_GREP=$GREP
11920fi
11921
11922fi
11923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
11924$as_echo "$ac_cv_path_GREP" >&6; }
11925 GREP="$ac_cv_path_GREP"
11926
11927
11928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
11929$as_echo_n "checking for egrep... " >&6; }
11930if ${ac_cv_path_EGREP+:} false; then :
11931 $as_echo_n "(cached) " >&6
11932else
11933 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
11934 then ac_cv_path_EGREP="$GREP -E"
11935 else
11936 if test -z "$EGREP"; then
11937 ac_path_EGREP_found=false
11938 # Loop through the user's path and test for each of PROGNAME-LIST
11939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11940for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
11941do
11942 IFS=$as_save_IFS
11943 test -z "$as_dir" && as_dir=.
11944 for ac_prog in egrep; do
11945 for ac_exec_ext in '' $ac_executable_extensions; do
11946 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
11947 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
11948# Check for GNU ac_path_EGREP and select it if it is found.
11949 # Check for GNU $ac_path_EGREP
11950case `"$ac_path_EGREP" --version 2>&1` in
11951*GNU*)
11952 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
11953*)
11954 ac_count=0
11955 $as_echo_n 0123456789 >"conftest.in"
11956 while :
11957 do
11958 cat "conftest.in" "conftest.in" >"conftest.tmp"
11959 mv "conftest.tmp" "conftest.in"
11960 cp "conftest.in" "conftest.nl"
11961 $as_echo 'EGREP' >> "conftest.nl"
11962 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
11963 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
11964 as_fn_arith $ac_count + 1 && ac_count=$as_val
11965 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
11966 # Best one so far, save it but keep looking for a better one
11967 ac_cv_path_EGREP="$ac_path_EGREP"
11968 ac_path_EGREP_max=$ac_count
11969 fi
11970 # 10*(2^10) chars as input seems more than enough
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: