| 1 | #! /bin/sh
|
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
|---|
| 3 | # Generated by GNU Autoconf 2.68.
|
|---|
| 4 | #
|
|---|
| 5 | #
|
|---|
| 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|---|
| 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
|---|
| 8 | # Foundation, Inc.
|
|---|
| 9 | #
|
|---|
| 10 | #
|
|---|
| 11 | # This configure script is free software; the Free Software Foundation
|
|---|
| 12 | # gives unlimited permission to copy, distribute and modify it.
|
|---|
| 13 | ## -------------------- ##
|
|---|
| 14 | ## M4sh Initialization. ##
|
|---|
| 15 | ## -------------------- ##
|
|---|
| 16 |
|
|---|
| 17 | # Be more Bourne compatible
|
|---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh
|
|---|
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|---|
| 20 | emulate sh
|
|---|
| 21 | NULLCMD=:
|
|---|
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|---|
| 23 | # is contrary to our usage. Disable this feature.
|
|---|
| 24 | alias -g '${1+"$@"}'='"$@"'
|
|---|
| 25 | setopt NO_GLOB_SUBST
|
|---|
| 26 | else
|
|---|
| 27 | case `(set -o) 2>/dev/null` in #(
|
|---|
| 28 | *posix*) :
|
|---|
| 29 | set -o posix ;; #(
|
|---|
| 30 | *) :
|
|---|
| 31 | ;;
|
|---|
| 32 | esac
|
|---|
| 33 | fi
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | as_nl='
|
|---|
| 37 | '
|
|---|
| 38 | export as_nl
|
|---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|---|
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
|---|
| 44 | # but without wasting forks for bash or zsh.
|
|---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|---|
| 47 | as_echo='print -r --'
|
|---|
| 48 | as_echo_n='print -rn --'
|
|---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|---|
| 50 | as_echo='printf %s\n'
|
|---|
| 51 | as_echo_n='printf %s'
|
|---|
| 52 | else
|
|---|
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|---|
| 55 | as_echo_n='/usr/ucb/echo -n'
|
|---|
| 56 | else
|
|---|
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|---|
| 58 | as_echo_n_body='eval
|
|---|
| 59 | arg=$1;
|
|---|
| 60 | case $arg in #(
|
|---|
| 61 | *"$as_nl"*)
|
|---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
|---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|---|
| 64 | esac;
|
|---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|---|
| 66 | '
|
|---|
| 67 | export as_echo_n_body
|
|---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
|---|
| 69 | fi
|
|---|
| 70 | export as_echo_body
|
|---|
| 71 | as_echo='sh -c $as_echo_body as_echo'
|
|---|
| 72 | fi
|
|---|
| 73 |
|
|---|
| 74 | # The user is always right.
|
|---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then
|
|---|
| 76 | PATH_SEPARATOR=:
|
|---|
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|---|
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|---|
| 79 | PATH_SEPARATOR=';'
|
|---|
| 80 | }
|
|---|
| 81 | fi
|
|---|
| 82 |
|
|---|
| 83 |
|
|---|
| 84 | # IFS
|
|---|
| 85 | # We need space, tab and new line, in precisely that order. Quoting is
|
|---|
| 86 | # there to prevent editors from complaining about space-tab.
|
|---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|---|
| 88 | # splitting by setting IFS to empty value.)
|
|---|
| 89 | IFS=" "" $as_nl"
|
|---|
| 90 |
|
|---|
| 91 | # Find who we are. Look in the path if we contain no directory separator.
|
|---|
| 92 | as_myself=
|
|---|
| 93 | case $0 in #((
|
|---|
| 94 | *[\\/]* ) as_myself=$0 ;;
|
|---|
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 96 | for as_dir in $PATH
|
|---|
| 97 | do
|
|---|
| 98 | IFS=$as_save_IFS
|
|---|
| 99 | test -z "$as_dir" && as_dir=.
|
|---|
| 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|---|
| 101 | done
|
|---|
| 102 | IFS=$as_save_IFS
|
|---|
| 103 |
|
|---|
| 104 | ;;
|
|---|
| 105 | esac
|
|---|
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
|---|
| 107 | # in which case we are not to be found in the path.
|
|---|
| 108 | if test "x$as_myself" = x; then
|
|---|
| 109 | as_myself=$0
|
|---|
| 110 | fi
|
|---|
| 111 | if test ! -f "$as_myself"; then
|
|---|
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|---|
| 113 | exit 1
|
|---|
| 114 | fi
|
|---|
| 115 |
|
|---|
| 116 | # Unset variables that we do not need and which cause bugs (e.g. in
|
|---|
| 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|---|
| 118 | # suppresses any "Segmentation fault" message there. '((' could
|
|---|
| 119 | # trigger a bug in pdksh 5.2.14.
|
|---|
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
|---|
| 121 | do eval test x\${$as_var+set} = xset \
|
|---|
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|---|
| 123 | done
|
|---|
| 124 | PS1='$ '
|
|---|
| 125 | PS2='> '
|
|---|
| 126 | PS4='+ '
|
|---|
| 127 |
|
|---|
| 128 | # NLS nuisances.
|
|---|
| 129 | LC_ALL=C
|
|---|
| 130 | export LC_ALL
|
|---|
| 131 | LANGUAGE=C
|
|---|
| 132 | export LANGUAGE
|
|---|
| 133 |
|
|---|
| 134 | # CDPATH.
|
|---|
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|---|
| 136 |
|
|---|
| 137 | if test "x$CONFIG_SHELL" = x; then
|
|---|
| 138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|---|
| 139 | emulate sh
|
|---|
| 140 | NULLCMD=:
|
|---|
| 141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|---|
| 142 | # is contrary to our usage. Disable this feature.
|
|---|
| 143 | alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|---|
| 144 | setopt NO_GLOB_SUBST
|
|---|
| 145 | else
|
|---|
| 146 | case \`(set -o) 2>/dev/null\` in #(
|
|---|
| 147 | *posix*) :
|
|---|
| 148 | set -o posix ;; #(
|
|---|
| 149 | *) :
|
|---|
| 150 | ;;
|
|---|
| 151 | esac
|
|---|
| 152 | fi
|
|---|
| 153 | "
|
|---|
| 154 | as_required="as_fn_return () { (exit \$1); }
|
|---|
| 155 | as_fn_success () { as_fn_return 0; }
|
|---|
| 156 | as_fn_failure () { as_fn_return 1; }
|
|---|
| 157 | as_fn_ret_success () { return 0; }
|
|---|
| 158 | as_fn_ret_failure () { return 1; }
|
|---|
| 159 |
|
|---|
| 160 | exitcode=0
|
|---|
| 161 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|---|
| 162 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|---|
| 163 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|---|
| 164 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|---|
| 165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|---|
| 166 |
|
|---|
| 167 | else
|
|---|
| 168 | exitcode=1; echo positional parameters were not saved.
|
|---|
| 169 | fi
|
|---|
| 170 | test x\$exitcode = x0 || exit 1"
|
|---|
| 171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|---|
| 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|---|
| 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|---|
| 174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
|
|---|
| 175 | if (eval "$as_required") 2>/dev/null; then :
|
|---|
| 176 | as_have_required=yes
|
|---|
| 177 | else
|
|---|
| 178 | as_have_required=no
|
|---|
| 179 | fi
|
|---|
| 180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|---|
| 181 |
|
|---|
| 182 | else
|
|---|
| 183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 184 | as_found=false
|
|---|
| 185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|---|
| 186 | do
|
|---|
| 187 | IFS=$as_save_IFS
|
|---|
| 188 | test -z "$as_dir" && as_dir=.
|
|---|
| 189 | as_found=:
|
|---|
| 190 | case $as_dir in #(
|
|---|
| 191 | /*)
|
|---|
| 192 | for as_base in sh bash ksh sh5; do
|
|---|
| 193 | # Try only shells that exist, to save several forks.
|
|---|
| 194 | as_shell=$as_dir/$as_base
|
|---|
| 195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|---|
| 196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|---|
| 197 | CONFIG_SHELL=$as_shell as_have_required=yes
|
|---|
| 198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|---|
| 199 | break 2
|
|---|
| 200 | fi
|
|---|
| 201 | fi
|
|---|
| 202 | done;;
|
|---|
| 203 | esac
|
|---|
| 204 | as_found=false
|
|---|
| 205 | done
|
|---|
| 206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|---|
| 207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|---|
| 208 | CONFIG_SHELL=$SHELL as_have_required=yes
|
|---|
| 209 | fi; }
|
|---|
| 210 | IFS=$as_save_IFS
|
|---|
| 211 |
|
|---|
| 212 |
|
|---|
| 213 | if test "x$CONFIG_SHELL" != x; then :
|
|---|
| 214 | # We cannot yet assume a decent shell, so we have to provide a
|
|---|
| 215 | # neutralization value for shells without unset; and this also
|
|---|
| 216 | # works around shells that cannot unset nonexistent variables.
|
|---|
| 217 | # Preserve -v and -x to the replacement shell.
|
|---|
| 218 | BASH_ENV=/dev/null
|
|---|
| 219 | ENV=/dev/null
|
|---|
| 220 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|---|
| 221 | export CONFIG_SHELL
|
|---|
| 222 | case $- in # ((((
|
|---|
| 223 | *v*x* | *x*v* ) as_opts=-vx ;;
|
|---|
| 224 | *v* ) as_opts=-v ;;
|
|---|
| 225 | *x* ) as_opts=-x ;;
|
|---|
| 226 | * ) as_opts= ;;
|
|---|
| 227 | esac
|
|---|
| 228 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
|---|
| 229 | fi
|
|---|
| 230 |
|
|---|
| 231 | if test x$as_have_required = xno; then :
|
|---|
| 232 | $as_echo "$0: This script requires a shell more modern than all"
|
|---|
| 233 | $as_echo "$0: the shells that I found on your system."
|
|---|
| 234 | if test x${ZSH_VERSION+set} = xset ; then
|
|---|
| 235 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|---|
| 236 | $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|---|
| 237 | else
|
|---|
| 238 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|---|
| 239 | $0: including any error possibly output before this
|
|---|
| 240 | $0: message. Then install a modern shell, or manually run
|
|---|
| 241 | $0: the script under such a shell if you do have one."
|
|---|
| 242 | fi
|
|---|
| 243 | exit 1
|
|---|
| 244 | fi
|
|---|
| 245 | fi
|
|---|
| 246 | fi
|
|---|
| 247 | SHELL=${CONFIG_SHELL-/bin/sh}
|
|---|
| 248 | export SHELL
|
|---|
| 249 | # Unset more variables known to interfere with behavior of common tools.
|
|---|
| 250 | CLICOLOR_FORCE= GREP_OPTIONS=
|
|---|
| 251 | unset CLICOLOR_FORCE GREP_OPTIONS
|
|---|
| 252 |
|
|---|
| 253 | ## --------------------- ##
|
|---|
| 254 | ## M4sh Shell Functions. ##
|
|---|
| 255 | ## --------------------- ##
|
|---|
| 256 | # as_fn_unset VAR
|
|---|
| 257 | # ---------------
|
|---|
| 258 | # Portably unset VAR.
|
|---|
| 259 | as_fn_unset ()
|
|---|
| 260 | {
|
|---|
| 261 | { eval $1=; unset $1;}
|
|---|
| 262 | }
|
|---|
| 263 | as_unset=as_fn_unset
|
|---|
| 264 |
|
|---|
| 265 | # as_fn_set_status STATUS
|
|---|
| 266 | # -----------------------
|
|---|
| 267 | # Set $? to STATUS, without forking.
|
|---|
| 268 | as_fn_set_status ()
|
|---|
| 269 | {
|
|---|
| 270 | return $1
|
|---|
| 271 | } # as_fn_set_status
|
|---|
| 272 |
|
|---|
| 273 | # as_fn_exit STATUS
|
|---|
| 274 | # -----------------
|
|---|
| 275 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|---|
| 276 | as_fn_exit ()
|
|---|
| 277 | {
|
|---|
| 278 | set +e
|
|---|
| 279 | as_fn_set_status $1
|
|---|
| 280 | exit $1
|
|---|
| 281 | } # as_fn_exit
|
|---|
| 282 |
|
|---|
| 283 | # as_fn_mkdir_p
|
|---|
| 284 | # -------------
|
|---|
| 285 | # Create "$as_dir" as a directory, including parents if necessary.
|
|---|
| 286 | as_fn_mkdir_p ()
|
|---|
| 287 | {
|
|---|
| 288 |
|
|---|
| 289 | case $as_dir in #(
|
|---|
| 290 | -*) as_dir=./$as_dir;;
|
|---|
| 291 | esac
|
|---|
| 292 | test -d "$as_dir" || eval $as_mkdir_p || {
|
|---|
| 293 | as_dirs=
|
|---|
| 294 | while :; do
|
|---|
| 295 | case $as_dir in #(
|
|---|
| 296 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|---|
| 297 | *) as_qdir=$as_dir;;
|
|---|
| 298 | esac
|
|---|
| 299 | as_dirs="'$as_qdir' $as_dirs"
|
|---|
| 300 | as_dir=`$as_dirname -- "$as_dir" ||
|
|---|
| 301 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 302 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
|---|
| 303 | X"$as_dir" : 'X\(//\)$' \| \
|
|---|
| 304 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 305 | $as_echo X"$as_dir" |
|
|---|
| 306 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|---|
| 307 | s//\1/
|
|---|
| 308 | q
|
|---|
| 309 | }
|
|---|
| 310 | /^X\(\/\/\)[^/].*/{
|
|---|
| 311 | s//\1/
|
|---|
| 312 | q
|
|---|
| 313 | }
|
|---|
| 314 | /^X\(\/\/\)$/{
|
|---|
| 315 | s//\1/
|
|---|
| 316 | q
|
|---|
| 317 | }
|
|---|
| 318 | /^X\(\/\).*/{
|
|---|
| 319 | s//\1/
|
|---|
| 320 | q
|
|---|
| 321 | }
|
|---|
| 322 | s/.*/./; q'`
|
|---|
| 323 | test -d "$as_dir" && break
|
|---|
| 324 | done
|
|---|
| 325 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|---|
| 326 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|---|
| 327 |
|
|---|
| 328 |
|
|---|
| 329 | } # as_fn_mkdir_p
|
|---|
| 330 | # as_fn_append VAR VALUE
|
|---|
| 331 | # ----------------------
|
|---|
| 332 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
|---|
| 333 | # advantage of any shell optimizations that allow amortized linear growth over
|
|---|
| 334 | # repeated appends, instead of the typical quadratic growth present in naive
|
|---|
| 335 | # implementations.
|
|---|
| 336 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|---|
| 337 | eval 'as_fn_append ()
|
|---|
| 338 | {
|
|---|
| 339 | eval $1+=\$2
|
|---|
| 340 | }'
|
|---|
| 341 | else
|
|---|
| 342 | as_fn_append ()
|
|---|
| 343 | {
|
|---|
| 344 | eval $1=\$$1\$2
|
|---|
| 345 | }
|
|---|
| 346 | fi # as_fn_append
|
|---|
| 347 |
|
|---|
| 348 | # as_fn_arith ARG...
|
|---|
| 349 | # ------------------
|
|---|
| 350 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
|---|
| 351 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|---|
| 352 | # must be portable across $(()) and expr.
|
|---|
| 353 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|---|
| 354 | eval 'as_fn_arith ()
|
|---|
| 355 | {
|
|---|
| 356 | as_val=$(( $* ))
|
|---|
| 357 | }'
|
|---|
| 358 | else
|
|---|
| 359 | as_fn_arith ()
|
|---|
| 360 | {
|
|---|
| 361 | as_val=`expr "$@" || test $? -eq 1`
|
|---|
| 362 | }
|
|---|
| 363 | fi # as_fn_arith
|
|---|
| 364 |
|
|---|
| 365 |
|
|---|
| 366 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|---|
| 367 | # ----------------------------------------
|
|---|
| 368 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|---|
| 369 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|---|
| 370 | # script with STATUS, using 1 if that was 0.
|
|---|
| 371 | as_fn_error ()
|
|---|
| 372 | {
|
|---|
| 373 | as_status=$1; test $as_status -eq 0 && as_status=1
|
|---|
| 374 | if test "$4"; then
|
|---|
| 375 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|---|
| 376 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|---|
| 377 | fi
|
|---|
| 378 | $as_echo "$as_me: error: $2" >&2
|
|---|
| 379 | as_fn_exit $as_status
|
|---|
| 380 | } # as_fn_error
|
|---|
| 381 |
|
|---|
| 382 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|---|
| 383 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|---|
| 384 | as_expr=expr
|
|---|
| 385 | else
|
|---|
| 386 | as_expr=false
|
|---|
| 387 | fi
|
|---|
| 388 |
|
|---|
| 389 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|---|
| 390 | as_basename=basename
|
|---|
| 391 | else
|
|---|
| 392 | as_basename=false
|
|---|
| 393 | fi
|
|---|
| 394 |
|
|---|
| 395 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|---|
| 396 | as_dirname=dirname
|
|---|
| 397 | else
|
|---|
| 398 | as_dirname=false
|
|---|
| 399 | fi
|
|---|
| 400 |
|
|---|
| 401 | as_me=`$as_basename -- "$0" ||
|
|---|
| 402 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|---|
| 403 | X"$0" : 'X\(//\)$' \| \
|
|---|
| 404 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 405 | $as_echo X/"$0" |
|
|---|
| 406 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|---|
| 407 | s//\1/
|
|---|
| 408 | q
|
|---|
| 409 | }
|
|---|
| 410 | /^X\/\(\/\/\)$/{
|
|---|
| 411 | s//\1/
|
|---|
| 412 | q
|
|---|
| 413 | }
|
|---|
| 414 | /^X\/\(\/\).*/{
|
|---|
| 415 | s//\1/
|
|---|
| 416 | q
|
|---|
| 417 | }
|
|---|
| 418 | s/.*/./; q'`
|
|---|
| 419 |
|
|---|
| 420 | # Avoid depending upon Character Ranges.
|
|---|
| 421 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|---|
| 422 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|---|
| 423 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|---|
| 424 | as_cr_digits='0123456789'
|
|---|
| 425 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|---|
| 426 |
|
|---|
| 427 |
|
|---|
| 428 | as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|---|
| 429 | as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|---|
| 430 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|---|
| 431 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|---|
| 432 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
|---|
| 433 | sed -n '
|
|---|
| 434 | p
|
|---|
| 435 | /[$]LINENO/=
|
|---|
| 436 | ' <$as_myself |
|
|---|
| 437 | sed '
|
|---|
| 438 | s/[$]LINENO.*/&-/
|
|---|
| 439 | t lineno
|
|---|
| 440 | b
|
|---|
| 441 | :lineno
|
|---|
| 442 | N
|
|---|
| 443 | :loop
|
|---|
| 444 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
|---|
| 445 | t loop
|
|---|
| 446 | s/-\n.*//
|
|---|
| 447 | ' >$as_me.lineno &&
|
|---|
| 448 | chmod +x "$as_me.lineno" ||
|
|---|
| 449 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|---|
| 450 |
|
|---|
| 451 | # Don't try to exec as it changes $[0], causing all sort of problems
|
|---|
| 452 | # (the dirname of $[0] is not the place where we might find the
|
|---|
| 453 | # original and so on. Autoconf is especially sensitive to this).
|
|---|
| 454 | . "./$as_me.lineno"
|
|---|
| 455 | # Exit status is that of the last command.
|
|---|
| 456 | exit
|
|---|
| 457 | }
|
|---|
| 458 |
|
|---|
| 459 | ECHO_C= ECHO_N= ECHO_T=
|
|---|
| 460 | case `echo -n x` in #(((((
|
|---|
| 461 | -n*)
|
|---|
| 462 | case `echo 'xy\c'` in
|
|---|
| 463 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|---|
| 464 | xy) ECHO_C='\c';;
|
|---|
| 465 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|---|
| 466 | ECHO_T=' ';;
|
|---|
| 467 | esac;;
|
|---|
| 468 | *)
|
|---|
| 469 | ECHO_N='-n';;
|
|---|
| 470 | esac
|
|---|
| 471 |
|
|---|
| 472 | rm -f conf$$ conf$$.exe conf$$.file
|
|---|
| 473 | if test -d conf$$.dir; then
|
|---|
| 474 | rm -f conf$$.dir/conf$$.file
|
|---|
| 475 | else
|
|---|
| 476 | rm -f conf$$.dir
|
|---|
| 477 | mkdir conf$$.dir 2>/dev/null
|
|---|
| 478 | fi
|
|---|
| 479 | if (echo >conf$$.file) 2>/dev/null; then
|
|---|
| 480 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|---|
| 481 | as_ln_s='ln -s'
|
|---|
| 482 | # ... but there are two gotchas:
|
|---|
| 483 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|---|
| 484 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|---|
| 485 | # In both cases, we have to default to `cp -p'.
|
|---|
| 486 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|---|
| 487 | as_ln_s='cp -p'
|
|---|
| 488 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
|---|
| 489 | as_ln_s=ln
|
|---|
| 490 | else
|
|---|
| 491 | as_ln_s='cp -p'
|
|---|
| 492 | fi
|
|---|
| 493 | else
|
|---|
| 494 | as_ln_s='cp -p'
|
|---|
| 495 | fi
|
|---|
| 496 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|---|
| 497 | rmdir conf$$.dir 2>/dev/null
|
|---|
| 498 |
|
|---|
| 499 | if mkdir -p . 2>/dev/null; then
|
|---|
| 500 | as_mkdir_p='mkdir -p "$as_dir"'
|
|---|
| 501 | else
|
|---|
| 502 | test -d ./-p && rmdir ./-p
|
|---|
| 503 | as_mkdir_p=false
|
|---|
| 504 | fi
|
|---|
| 505 |
|
|---|
| 506 | if test -x / >/dev/null 2>&1; then
|
|---|
| 507 | as_test_x='test -x'
|
|---|
| 508 | else
|
|---|
| 509 | if ls -dL / >/dev/null 2>&1; then
|
|---|
| 510 | as_ls_L_option=L
|
|---|
| 511 | else
|
|---|
| 512 | as_ls_L_option=
|
|---|
| 513 | fi
|
|---|
| 514 | as_test_x='
|
|---|
| 515 | eval sh -c '\''
|
|---|
| 516 | if test -d "$1"; then
|
|---|
| 517 | test -d "$1/.";
|
|---|
| 518 | else
|
|---|
| 519 | case $1 in #(
|
|---|
| 520 | -*)set "./$1";;
|
|---|
| 521 | esac;
|
|---|
| 522 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|---|
| 523 | ???[sx]*):;;*)false;;esac;fi
|
|---|
| 524 | '\'' sh
|
|---|
| 525 | '
|
|---|
| 526 | fi
|
|---|
| 527 | as_executable_p=$as_test_x
|
|---|
| 528 |
|
|---|
| 529 | # Sed expression to map a string onto a valid CPP name.
|
|---|
| 530 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|---|
| 531 |
|
|---|
| 532 | # Sed expression to map a string onto a valid variable name.
|
|---|
| 533 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|---|
| 534 |
|
|---|
| 535 |
|
|---|
| 536 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
|---|
| 537 | exec 6>&1
|
|---|
| 538 |
|
|---|
| 539 | # Name of the host.
|
|---|
| 540 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
|---|
| 541 | # so uname gets run too.
|
|---|
| 542 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
|---|
| 543 |
|
|---|
| 544 | #
|
|---|
| 545 | # Initializations.
|
|---|
| 546 | #
|
|---|
| 547 | ac_default_prefix=/usr/local
|
|---|
| 548 | ac_clean_files=
|
|---|
| 549 | ac_config_libobj_dir=.
|
|---|
| 550 | LIBOBJS=
|
|---|
| 551 | cross_compiling=no
|
|---|
| 552 | subdirs=
|
|---|
| 553 | MFLAGS=
|
|---|
| 554 | MAKEFLAGS=
|
|---|
| 555 |
|
|---|
| 556 | # Identity of this package.
|
|---|
| 557 | PACKAGE_NAME=
|
|---|
| 558 | PACKAGE_TARNAME=
|
|---|
| 559 | PACKAGE_VERSION=
|
|---|
| 560 | PACKAGE_STRING=
|
|---|
| 561 | PACKAGE_BUGREPORT=
|
|---|
| 562 | PACKAGE_URL=
|
|---|
| 563 |
|
|---|
| 564 | ac_unique_file="Makefile.in"
|
|---|
| 565 | ac_subst_vars='LTLIBOBJS
|
|---|
| 566 | LIBOBJS
|
|---|
| 567 | host_makefile_frag_path
|
|---|
| 568 | CCASFLAGS
|
|---|
| 569 | CCAS
|
|---|
| 570 | RANLIB
|
|---|
| 571 | LD
|
|---|
| 572 | AR
|
|---|
| 573 | AS
|
|---|
| 574 | am__fastdepCC_FALSE
|
|---|
| 575 | am__fastdepCC_TRUE
|
|---|
| 576 | CCDEPMODE
|
|---|
| 577 | AMDEPBACKSLASH
|
|---|
| 578 | AMDEP_FALSE
|
|---|
| 579 | AMDEP_TRUE
|
|---|
| 580 | am__quote
|
|---|
| 581 | am__include
|
|---|
| 582 | DEPDIR
|
|---|
| 583 | am__leading_dot
|
|---|
| 584 | CC
|
|---|
| 585 | INSTALL_DATA
|
|---|
| 586 | INSTALL_SCRIPT
|
|---|
| 587 | INSTALL_PROGRAM
|
|---|
| 588 | target_os
|
|---|
| 589 | target_vendor
|
|---|
| 590 | target_cpu
|
|---|
| 591 | target
|
|---|
| 592 | host_os
|
|---|
| 593 | host_vendor
|
|---|
| 594 | host_cpu
|
|---|
| 595 | host
|
|---|
| 596 | build_os
|
|---|
| 597 | build_vendor
|
|---|
| 598 | build_cpu
|
|---|
| 599 | build
|
|---|
| 600 | target_alias
|
|---|
| 601 | host_alias
|
|---|
| 602 | build_alias
|
|---|
| 603 | LIBS
|
|---|
| 604 | ECHO_T
|
|---|
| 605 | ECHO_N
|
|---|
| 606 | ECHO_C
|
|---|
| 607 | DEFS
|
|---|
| 608 | mandir
|
|---|
| 609 | localedir
|
|---|
| 610 | libdir
|
|---|
| 611 | psdir
|
|---|
| 612 | pdfdir
|
|---|
| 613 | dvidir
|
|---|
| 614 | htmldir
|
|---|
| 615 | infodir
|
|---|
| 616 | docdir
|
|---|
| 617 | oldincludedir
|
|---|
| 618 | includedir
|
|---|
| 619 | localstatedir
|
|---|
| 620 | sharedstatedir
|
|---|
| 621 | sysconfdir
|
|---|
| 622 | datadir
|
|---|
| 623 | datarootdir
|
|---|
| 624 | libexecdir
|
|---|
| 625 | sbindir
|
|---|
| 626 | bindir
|
|---|
| 627 | program_transform_name
|
|---|
| 628 | prefix
|
|---|
| 629 | exec_prefix
|
|---|
| 630 | PACKAGE_URL
|
|---|
| 631 | PACKAGE_BUGREPORT
|
|---|
| 632 | PACKAGE_STRING
|
|---|
| 633 | PACKAGE_VERSION
|
|---|
| 634 | PACKAGE_TARNAME
|
|---|
| 635 | PACKAGE_NAME
|
|---|
| 636 | PATH_SEPARATOR
|
|---|
| 637 | SHELL'
|
|---|
| 638 | ac_subst_files='host_makefile_frag'
|
|---|
| 639 | ac_user_opts='
|
|---|
| 640 | enable_option_checking
|
|---|
| 641 | enable_dependency_tracking
|
|---|
| 642 | '
|
|---|
| 643 | ac_precious_vars='build_alias
|
|---|
| 644 | host_alias
|
|---|
| 645 | target_alias
|
|---|
| 646 | CCAS
|
|---|
| 647 | CCASFLAGS'
|
|---|
| 648 |
|
|---|
| 649 |
|
|---|
| 650 | # Initialize some variables set by options.
|
|---|
| 651 | ac_init_help=
|
|---|
| 652 | ac_init_version=false
|
|---|
| 653 | ac_unrecognized_opts=
|
|---|
| 654 | ac_unrecognized_sep=
|
|---|
| 655 | # The variables have the same names as the options, with
|
|---|
| 656 | # dashes changed to underlines.
|
|---|
| 657 | cache_file=/dev/null
|
|---|
| 658 | exec_prefix=NONE
|
|---|
| 659 | no_create=
|
|---|
| 660 | no_recursion=
|
|---|
| 661 | prefix=NONE
|
|---|
| 662 | program_prefix=NONE
|
|---|
| 663 | program_suffix=NONE
|
|---|
| 664 | program_transform_name=s,x,x,
|
|---|
| 665 | silent=
|
|---|
| 666 | site=
|
|---|
| 667 | srcdir=
|
|---|
| 668 | verbose=
|
|---|
| 669 | x_includes=NONE
|
|---|
| 670 | x_libraries=NONE
|
|---|
| 671 |
|
|---|
| 672 | # Installation directory options.
|
|---|
| 673 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
|---|
| 674 | # and all the variables that are supposed to be based on exec_prefix
|
|---|
| 675 | # by default will actually change.
|
|---|
| 676 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
|---|
| 677 | # (The list follows the same order as the GNU Coding Standards.)
|
|---|
| 678 | bindir='${exec_prefix}/bin'
|
|---|
| 679 | sbindir='${exec_prefix}/sbin'
|
|---|
| 680 | libexecdir='${exec_prefix}/libexec'
|
|---|
| 681 | datarootdir='${prefix}/share'
|
|---|
| 682 | datadir='${datarootdir}'
|
|---|
| 683 | sysconfdir='${prefix}/etc'
|
|---|
| 684 | sharedstatedir='${prefix}/com'
|
|---|
| 685 | localstatedir='${prefix}/var'
|
|---|
| 686 | includedir='${prefix}/include'
|
|---|
| 687 | oldincludedir='/usr/include'
|
|---|
| 688 | docdir='${datarootdir}/doc/${PACKAGE}'
|
|---|
| 689 | infodir='${datarootdir}/info'
|
|---|
| 690 | htmldir='${docdir}'
|
|---|
| 691 | dvidir='${docdir}'
|
|---|
| 692 | pdfdir='${docdir}'
|
|---|
| 693 | psdir='${docdir}'
|
|---|
| 694 | libdir='${exec_prefix}/lib'
|
|---|
| 695 | localedir='${datarootdir}/locale'
|
|---|
| 696 | mandir='${datarootdir}/man'
|
|---|
| 697 |
|
|---|
| 698 | ac_prev=
|
|---|
| 699 | ac_dashdash=
|
|---|
| 700 | for ac_option
|
|---|
| 701 | do
|
|---|
| 702 | # If the previous option needs an argument, assign it.
|
|---|
| 703 | if test -n "$ac_prev"; then
|
|---|
| 704 | eval $ac_prev=\$ac_option
|
|---|
| 705 | ac_prev=
|
|---|
| 706 | continue
|
|---|
| 707 | fi
|
|---|
| 708 |
|
|---|
| 709 | case $ac_option in
|
|---|
| 710 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|---|
| 711 | *=) ac_optarg= ;;
|
|---|
| 712 | *) ac_optarg=yes ;;
|
|---|
| 713 | esac
|
|---|
| 714 |
|
|---|
| 715 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
|---|
| 716 |
|
|---|
| 717 | case $ac_dashdash$ac_option in
|
|---|
| 718 | --)
|
|---|
| 719 | ac_dashdash=yes ;;
|
|---|
| 720 |
|
|---|
| 721 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
|---|
| 722 | ac_prev=bindir ;;
|
|---|
| 723 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
|---|
| 724 | bindir=$ac_optarg ;;
|
|---|
| 725 |
|
|---|
| 726 | -build | --build | --buil | --bui | --bu)
|
|---|
| 727 | ac_prev=build_alias ;;
|
|---|
| 728 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
|---|
| 729 | build_alias=$ac_optarg ;;
|
|---|
| 730 |
|
|---|
| 731 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
|---|
| 732 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|---|
| 733 | ac_prev=cache_file ;;
|
|---|
| 734 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|---|
| 735 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
|---|
| 736 | cache_file=$ac_optarg ;;
|
|---|
| 737 |
|
|---|
| 738 | --config-cache | -C)
|
|---|
| 739 | cache_file=config.cache ;;
|
|---|
| 740 |
|
|---|
| 741 | -datadir | --datadir | --datadi | --datad)
|
|---|
| 742 | ac_prev=datadir ;;
|
|---|
| 743 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
|---|
| 744 | datadir=$ac_optarg ;;
|
|---|
| 745 |
|
|---|
| 746 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
|---|
| 747 | | --dataroo | --dataro | --datar)
|
|---|
| 748 | ac_prev=datarootdir ;;
|
|---|
| 749 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
|---|
| 750 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
|---|
| 751 | datarootdir=$ac_optarg ;;
|
|---|
| 752 |
|
|---|
| 753 | -disable-* | --disable-*)
|
|---|
| 754 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|---|
| 755 | # Reject names that are not valid shell variable names.
|
|---|
| 756 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|---|
| 757 | as_fn_error $? "invalid feature name: $ac_useropt"
|
|---|
| 758 | ac_useropt_orig=$ac_useropt
|
|---|
| 759 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|---|
| 760 | case $ac_user_opts in
|
|---|
| 761 | *"
|
|---|
| 762 | "enable_$ac_useropt"
|
|---|
| 763 | "*) ;;
|
|---|
| 764 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|---|
| 765 | ac_unrecognized_sep=', ';;
|
|---|
| 766 | esac
|
|---|
| 767 | eval enable_$ac_useropt=no ;;
|
|---|
| 768 |
|
|---|
| 769 | -docdir | --docdir | --docdi | --doc | --do)
|
|---|
| 770 | ac_prev=docdir ;;
|
|---|
| 771 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
|---|
| 772 | docdir=$ac_optarg ;;
|
|---|
| 773 |
|
|---|
| 774 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
|---|
| 775 | ac_prev=dvidir ;;
|
|---|
| 776 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
|---|
| 777 | dvidir=$ac_optarg ;;
|
|---|
| 778 |
|
|---|
| 779 | -enable-* | --enable-*)
|
|---|
| 780 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|---|
| 781 | # Reject names that are not valid shell variable names.
|
|---|
| 782 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|---|
| 783 | as_fn_error $? "invalid feature name: $ac_useropt"
|
|---|
| 784 | ac_useropt_orig=$ac_useropt
|
|---|
| 785 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|---|
| 786 | case $ac_user_opts in
|
|---|
| 787 | *"
|
|---|
| 788 | "enable_$ac_useropt"
|
|---|
| 789 | "*) ;;
|
|---|
| 790 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
|---|
| 791 | ac_unrecognized_sep=', ';;
|
|---|
| 792 | esac
|
|---|
| 793 | eval enable_$ac_useropt=\$ac_optarg ;;
|
|---|
| 794 |
|
|---|
| 795 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
|---|
| 796 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|---|
| 797 | | --exec | --exe | --ex)
|
|---|
| 798 | ac_prev=exec_prefix ;;
|
|---|
| 799 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
|---|
| 800 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
|---|
| 801 | | --exec=* | --exe=* | --ex=*)
|
|---|
| 802 | exec_prefix=$ac_optarg ;;
|
|---|
| 803 |
|
|---|
| 804 | -gas | --gas | --ga | --g)
|
|---|
| 805 | # Obsolete; use --with-gas.
|
|---|
| 806 | with_gas=yes ;;
|
|---|
| 807 |
|
|---|
| 808 | -help | --help | --hel | --he | -h)
|
|---|
| 809 | ac_init_help=long ;;
|
|---|
| 810 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
|---|
| 811 | ac_init_help=recursive ;;
|
|---|
| 812 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
|---|
| 813 | ac_init_help=short ;;
|
|---|
| 814 |
|
|---|
| 815 | -host | --host | --hos | --ho)
|
|---|
| 816 | ac_prev=host_alias ;;
|
|---|
| 817 | -host=* | --host=* | --hos=* | --ho=*)
|
|---|
| 818 | host_alias=$ac_optarg ;;
|
|---|
| 819 |
|
|---|
| 820 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
|---|
| 821 | ac_prev=htmldir ;;
|
|---|
| 822 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
|---|
| 823 | | --ht=*)
|
|---|
| 824 | htmldir=$ac_optarg ;;
|
|---|
| 825 |
|
|---|
| 826 | -includedir | --includedir | --includedi | --included | --include \
|
|---|
| 827 | | --includ | --inclu | --incl | --inc)
|
|---|
| 828 | ac_prev=includedir ;;
|
|---|
| 829 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
|---|
| 830 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
|---|
| 831 | includedir=$ac_optarg ;;
|
|---|
| 832 |
|
|---|
| 833 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
|---|
| 834 | ac_prev=infodir ;;
|
|---|
| 835 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
|---|
| 836 | infodir=$ac_optarg ;;
|
|---|
| 837 |
|
|---|
| 838 | -libdir | --libdir | --libdi | --libd)
|
|---|
| 839 | ac_prev=libdir ;;
|
|---|
| 840 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|---|
| 841 | libdir=$ac_optarg ;;
|
|---|
| 842 |
|
|---|
| 843 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
|---|
| 844 | | --libexe | --libex | --libe)
|
|---|
| 845 | ac_prev=libexecdir ;;
|
|---|
| 846 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
|---|
| 847 | | --libexe=* | --libex=* | --libe=*)
|
|---|
| 848 | libexecdir=$ac_optarg ;;
|
|---|
| 849 |
|
|---|
| 850 | -localedir | --localedir | --localedi | --localed | --locale)
|
|---|
| 851 | ac_prev=localedir ;;
|
|---|
| 852 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
|---|
| 853 | localedir=$ac_optarg ;;
|
|---|
| 854 |
|
|---|
| 855 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
|---|
| 856 | | --localstate | --localstat | --localsta | --localst | --locals)
|
|---|
| 857 | ac_prev=localstatedir ;;
|
|---|
| 858 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
|---|
| 859 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
|---|
| 860 | localstatedir=$ac_optarg ;;
|
|---|
| 861 |
|
|---|
| 862 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|---|
| 863 | ac_prev=mandir ;;
|
|---|
| 864 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
|---|
| 865 | mandir=$ac_optarg ;;
|
|---|
| 866 |
|
|---|
| 867 | -nfp | --nfp | --nf)
|
|---|
| 868 | # Obsolete; use --without-fp.
|
|---|
| 869 | with_fp=no ;;
|
|---|
| 870 |
|
|---|
| 871 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|---|
| 872 | | --no-cr | --no-c | -n)
|
|---|
| 873 | no_create=yes ;;
|
|---|
| 874 |
|
|---|
| 875 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|---|
| 876 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
|---|
| 877 | no_recursion=yes ;;
|
|---|
| 878 |
|
|---|
| 879 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
|---|
| 880 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
|---|
| 881 | | --oldin | --oldi | --old | --ol | --o)
|
|---|
| 882 | ac_prev=oldincludedir ;;
|
|---|
| 883 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
|---|
| 884 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
|---|
| 885 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
|---|
| 886 | oldincludedir=$ac_optarg ;;
|
|---|
| 887 |
|
|---|
| 888 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|---|
| 889 | ac_prev=prefix ;;
|
|---|
| 890 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|---|
| 891 | prefix=$ac_optarg ;;
|
|---|
| 892 |
|
|---|
| 893 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
|---|
| 894 | | --program-pre | --program-pr | --program-p)
|
|---|
| 895 | ac_prev=program_prefix ;;
|
|---|
| 896 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
|---|
| 897 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
|---|
| 898 | program_prefix=$ac_optarg ;;
|
|---|
| 899 |
|
|---|
| 900 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
|---|
| 901 | | --program-suf | --program-su | --program-s)
|
|---|
| 902 | ac_prev=program_suffix ;;
|
|---|
| 903 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
|---|
| 904 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
|---|
| 905 | program_suffix=$ac_optarg ;;
|
|---|
| 906 |
|
|---|
| 907 | -program-transform-name | --program-transform-name \
|
|---|
| 908 | | --program-transform-nam | --program-transform-na \
|
|---|
| 909 | | --program-transform-n | --program-transform- \
|
|---|
| 910 | | --program-transform | --program-transfor \
|
|---|
| 911 | | --program-transfo | --program-transf \
|
|---|
| 912 | | --program-trans | --program-tran \
|
|---|
| 913 | | --progr-tra | --program-tr | --program-t)
|
|---|
| 914 | ac_prev=program_transform_name ;;
|
|---|
| 915 | -program-transform-name=* | --program-transform-name=* \
|
|---|
| 916 | | --program-transform-nam=* | --program-transform-na=* \
|
|---|
| 917 | | --program-transform-n=* | --program-transform-=* \
|
|---|
| 918 | | --program-transform=* | --program-transfor=* \
|
|---|
| 919 | | --program-transfo=* | --program-transf=* \
|
|---|
| 920 | | --program-trans=* | --program-tran=* \
|
|---|
| 921 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
|---|
| 922 | program_transform_name=$ac_optarg ;;
|
|---|
| 923 |
|
|---|
| 924 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
|---|
| 925 | ac_prev=pdfdir ;;
|
|---|
| 926 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
|---|
| 927 | pdfdir=$ac_optarg ;;
|
|---|
| 928 |
|
|---|
| 929 | -psdir | --psdir | --psdi | --psd | --ps)
|
|---|
| 930 | ac_prev=psdir ;;
|
|---|
| 931 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
|---|
| 932 | psdir=$ac_optarg ;;
|
|---|
| 933 |
|
|---|
| 934 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|---|
| 935 | | -silent | --silent | --silen | --sile | --sil)
|
|---|
| 936 | silent=yes ;;
|
|---|
| 937 |
|
|---|
| 938 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
|---|
| 939 | ac_prev=sbindir ;;
|
|---|
| 940 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|---|
| 941 | | --sbi=* | --sb=*)
|
|---|
| 942 | sbindir=$ac_optarg ;;
|
|---|
| 943 |
|
|---|
| 944 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
|---|
| 945 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
|---|
| 946 | | --sharedst | --shareds | --shared | --share | --shar \
|
|---|
| 947 | | --sha | --sh)
|
|---|
| 948 | ac_prev=sharedstatedir ;;
|
|---|
| 949 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
|---|
| 950 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
|---|
| 951 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
|---|
| 952 | | --sha=* | --sh=*)
|
|---|
| 953 | sharedstatedir=$ac_optarg ;;
|
|---|
| 954 |
|
|---|
| 955 | -site | --site | --sit)
|
|---|
| 956 | ac_prev=site ;;
|
|---|
| 957 | -site=* | --site=* | --sit=*)
|
|---|
| 958 | site=$ac_optarg ;;
|
|---|
| 959 |
|
|---|
| 960 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|---|
| 961 | ac_prev=srcdir ;;
|
|---|
| 962 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|---|
| 963 | srcdir=$ac_optarg ;;
|
|---|
| 964 |
|
|---|
| 965 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
|---|
| 966 | | --syscon | --sysco | --sysc | --sys | --sy)
|
|---|
| 967 | ac_prev=sysconfdir ;;
|
|---|
| 968 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
|---|
| 969 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
|---|
| 970 | sysconfdir=$ac_optarg ;;
|
|---|
| 971 |
|
|---|
| 972 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
|---|
| 973 | ac_prev=target_alias ;;
|
|---|
| 974 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
|---|
| 975 | target_alias=$ac_optarg ;;
|
|---|
| 976 |
|
|---|
| 977 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
|---|
| 978 | verbose=yes ;;
|
|---|
| 979 |
|
|---|
| 980 | -version | --version | --versio | --versi | --vers | -V)
|
|---|
| 981 | ac_init_version=: ;;
|
|---|
| 982 |
|
|---|
| 983 | -with-* | --with-*)
|
|---|
| 984 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|---|
| 985 | # Reject names that are not valid shell variable names.
|
|---|
| 986 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|---|
| 987 | as_fn_error $? "invalid package name: $ac_useropt"
|
|---|
| 988 | ac_useropt_orig=$ac_useropt
|
|---|
| 989 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|---|
| 990 | case $ac_user_opts in
|
|---|
| 991 | *"
|
|---|
| 992 | "with_$ac_useropt"
|
|---|
| 993 | "*) ;;
|
|---|
| 994 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
|---|
| 995 | ac_unrecognized_sep=', ';;
|
|---|
| 996 | esac
|
|---|
| 997 | eval with_$ac_useropt=\$ac_optarg ;;
|
|---|
| 998 |
|
|---|
| 999 | -without-* | --without-*)
|
|---|
| 1000 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|---|
| 1001 | # Reject names that are not valid shell variable names.
|
|---|
| 1002 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|---|
| 1003 | as_fn_error $? "invalid package name: $ac_useropt"
|
|---|
| 1004 | ac_useropt_orig=$ac_useropt
|
|---|
| 1005 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|---|
| 1006 | case $ac_user_opts in
|
|---|
| 1007 | *"
|
|---|
| 1008 | "with_$ac_useropt"
|
|---|
| 1009 | "*) ;;
|
|---|
| 1010 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|---|
| 1011 | ac_unrecognized_sep=', ';;
|
|---|
| 1012 | esac
|
|---|
| 1013 | eval with_$ac_useropt=no ;;
|
|---|
| 1014 |
|
|---|
| 1015 | --x)
|
|---|
| 1016 | # Obsolete; use --with-x.
|
|---|
| 1017 | with_x=yes ;;
|
|---|
| 1018 |
|
|---|
| 1019 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
|---|
| 1020 | | --x-incl | --x-inc | --x-in | --x-i)
|
|---|
| 1021 | ac_prev=x_includes ;;
|
|---|
| 1022 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
|---|
| 1023 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
|---|
| 1024 | x_includes=$ac_optarg ;;
|
|---|
| 1025 |
|
|---|
| 1026 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
|---|
| 1027 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
|---|
| 1028 | ac_prev=x_libraries ;;
|
|---|
| 1029 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
|---|
| 1030 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
|---|
| 1031 | x_libraries=$ac_optarg ;;
|
|---|
| 1032 |
|
|---|
| 1033 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
|---|
| 1034 | Try \`$0 --help' for more information"
|
|---|
| 1035 | ;;
|
|---|
| 1036 |
|
|---|
| 1037 | *=*)
|
|---|
| 1038 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
|---|
| 1039 | # Reject names that are not valid shell variable names.
|
|---|
| 1040 | case $ac_envvar in #(
|
|---|
| 1041 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
|---|
| 1042 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
|---|
| 1043 | esac
|
|---|
| 1044 | eval $ac_envvar=\$ac_optarg
|
|---|
| 1045 | export $ac_envvar ;;
|
|---|
| 1046 |
|
|---|
| 1047 | *)
|
|---|
| 1048 | # FIXME: should be removed in autoconf 3.0.
|
|---|
| 1049 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|---|
| 1050 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
|---|
| 1051 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|---|
| 1052 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
|---|
| 1053 | ;;
|
|---|
| 1054 |
|
|---|
| 1055 | esac
|
|---|
| 1056 | done
|
|---|
| 1057 |
|
|---|
| 1058 | if test -n "$ac_prev"; then
|
|---|
| 1059 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
|---|
| 1060 | as_fn_error $? "missing argument to $ac_option"
|
|---|
| 1061 | fi
|
|---|
| 1062 |
|
|---|
| 1063 | if test -n "$ac_unrecognized_opts"; then
|
|---|
| 1064 | case $enable_option_checking in
|
|---|
| 1065 | no) ;;
|
|---|
| 1066 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
|---|
| 1067 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|---|
| 1068 | esac
|
|---|
| 1069 | fi
|
|---|
| 1070 |
|
|---|
| 1071 | # Check all directory arguments for consistency.
|
|---|
| 1072 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
|---|
| 1073 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
|---|
| 1074 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|---|
| 1075 | libdir localedir mandir
|
|---|
| 1076 | do
|
|---|
| 1077 | eval ac_val=\$$ac_var
|
|---|
| 1078 | # Remove trailing slashes.
|
|---|
| 1079 | case $ac_val in
|
|---|
| 1080 | */ )
|
|---|
| 1081 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|---|
| 1082 | eval $ac_var=\$ac_val;;
|
|---|
| 1083 | esac
|
|---|
| 1084 | # Be sure to have absolute directory names.
|
|---|
| 1085 | case $ac_val in
|
|---|
| 1086 | [\\/$]* | ?:[\\/]* ) continue;;
|
|---|
| 1087 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
|---|
| 1088 | esac
|
|---|
| 1089 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
|---|
| 1090 | done
|
|---|
| 1091 |
|
|---|
| 1092 | # There might be people who depend on the old broken behavior: `$host'
|
|---|
| 1093 | # used to hold the argument of --host etc.
|
|---|
| 1094 | # FIXME: To remove some day.
|
|---|
| 1095 | build=$build_alias
|
|---|
| 1096 | host=$host_alias
|
|---|
| 1097 | target=$target_alias
|
|---|
| 1098 |
|
|---|
| 1099 | # FIXME: To remove some day.
|
|---|
| 1100 | if test "x$host_alias" != x; then
|
|---|
| 1101 | if test "x$build_alias" = x; then
|
|---|
| 1102 | cross_compiling=maybe
|
|---|
| 1103 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
|---|
| 1104 | If a cross compiler is detected then cross compile mode will be used" >&2
|
|---|
| 1105 | elif test "x$build_alias" != "x$host_alias"; then
|
|---|
| 1106 | cross_compiling=yes
|
|---|
| 1107 | fi
|
|---|
| 1108 | fi
|
|---|
| 1109 |
|
|---|
| 1110 | ac_tool_prefix=
|
|---|
| 1111 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
|---|
| 1112 |
|
|---|
| 1113 | test "$silent" = yes && exec 6>/dev/null
|
|---|
| 1114 |
|
|---|
| 1115 |
|
|---|
| 1116 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
|---|
| 1117 | ac_ls_di=`ls -di .` &&
|
|---|
| 1118 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
|---|
| 1119 | as_fn_error $? "working directory cannot be determined"
|
|---|
| 1120 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
|---|
| 1121 | as_fn_error $? "pwd does not report name of working directory"
|
|---|
| 1122 |
|
|---|
| 1123 |
|
|---|
| 1124 | # Find the source files, if location was not specified.
|
|---|
| 1125 | if test -z "$srcdir"; then
|
|---|
| 1126 | ac_srcdir_defaulted=yes
|
|---|
| 1127 | # Try the directory containing this script, then the parent directory.
|
|---|
| 1128 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
|---|
| 1129 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 1130 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
|---|
| 1131 | X"$as_myself" : 'X\(//\)$' \| \
|
|---|
| 1132 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 1133 | $as_echo X"$as_myself" |
|
|---|
| 1134 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|---|
| 1135 | s//\1/
|
|---|
| 1136 | q
|
|---|
| 1137 | }
|
|---|
| 1138 | /^X\(\/\/\)[^/].*/{
|
|---|
| 1139 | s//\1/
|
|---|
| 1140 | q
|
|---|
| 1141 | }
|
|---|
| 1142 | /^X\(\/\/\)$/{
|
|---|
| 1143 | s//\1/
|
|---|
| 1144 | q
|
|---|
| 1145 | }
|
|---|
| 1146 | /^X\(\/\).*/{
|
|---|
| 1147 | s//\1/
|
|---|
| 1148 | q
|
|---|
| 1149 | }
|
|---|
| 1150 | s/.*/./; q'`
|
|---|
| 1151 | srcdir=$ac_confdir
|
|---|
| 1152 | if test ! -r "$srcdir/$ac_unique_file"; then
|
|---|
| 1153 | srcdir=..
|
|---|
| 1154 | fi
|
|---|
| 1155 | else
|
|---|
| 1156 | ac_srcdir_defaulted=no
|
|---|
| 1157 | fi
|
|---|
| 1158 | if test ! -r "$srcdir/$ac_unique_file"; then
|
|---|
| 1159 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
|---|
| 1160 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
|---|
| 1161 | fi
|
|---|
| 1162 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
|---|
| 1163 | ac_abs_confdir=`(
|
|---|
| 1164 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
|---|
| 1165 | pwd)`
|
|---|
| 1166 | # When building in place, set srcdir=.
|
|---|
| 1167 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|---|
| 1168 | srcdir=.
|
|---|
| 1169 | fi
|
|---|
| 1170 | # Remove unnecessary trailing slashes from srcdir.
|
|---|
| 1171 | # Double slashes in file names in object file debugging info
|
|---|
| 1172 | # mess up M-x gdb in Emacs.
|
|---|
| 1173 | case $srcdir in
|
|---|
| 1174 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
|---|
| 1175 | esac
|
|---|
| 1176 | for ac_var in $ac_precious_vars; do
|
|---|
| 1177 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
|---|
| 1178 | eval ac_env_${ac_var}_value=\$${ac_var}
|
|---|
| 1179 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
|---|
| 1180 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
|---|
| 1181 | done
|
|---|
| 1182 |
|
|---|
| 1183 | #
|
|---|
| 1184 | # Report the --help message.
|
|---|
| 1185 | #
|
|---|
| 1186 | if test "$ac_init_help" = "long"; then
|
|---|
| 1187 | # Omit some internal or obsolete options to make the list less imposing.
|
|---|
| 1188 | # This message is too long to be a string in the A/UX 3.1 sh.
|
|---|
| 1189 | cat <<_ACEOF
|
|---|
| 1190 | \`configure' configures this package to adapt to many kinds of systems.
|
|---|
| 1191 |
|
|---|
| 1192 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
|---|
| 1193 |
|
|---|
| 1194 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|---|
| 1195 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
|---|
| 1196 |
|
|---|
| 1197 | Defaults for the options are specified in brackets.
|
|---|
| 1198 |
|
|---|
| 1199 | Configuration:
|
|---|
| 1200 | -h, --help display this help and exit
|
|---|
| 1201 | --help=short display options specific to this package
|
|---|
| 1202 | --help=recursive display the short help of all the included packages
|
|---|
| 1203 | -V, --version display version information and exit
|
|---|
| 1204 | -q, --quiet, --silent do not print \`checking ...' messages
|
|---|
| 1205 | --cache-file=FILE cache test results in FILE [disabled]
|
|---|
| 1206 | -C, --config-cache alias for \`--cache-file=config.cache'
|
|---|
| 1207 | -n, --no-create do not create output files
|
|---|
| 1208 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|---|
| 1209 |
|
|---|
| 1210 | Installation directories:
|
|---|
| 1211 | --prefix=PREFIX install architecture-independent files in PREFIX
|
|---|
| 1212 | [$ac_default_prefix]
|
|---|
| 1213 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|---|
| 1214 | [PREFIX]
|
|---|
| 1215 |
|
|---|
| 1216 | By default, \`make install' will install all the files in
|
|---|
| 1217 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|---|
| 1218 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|---|
| 1219 | for instance \`--prefix=\$HOME'.
|
|---|
| 1220 |
|
|---|
| 1221 | For better control, use the options below.
|
|---|
| 1222 |
|
|---|
| 1223 | Fine tuning of the installation directories:
|
|---|
| 1224 | --bindir=DIR user executables [EPREFIX/bin]
|
|---|
| 1225 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
|---|
| 1226 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
|---|
| 1227 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|---|
| 1228 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|---|
| 1229 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|---|
| 1230 | --libdir=DIR object code libraries [EPREFIX/lib]
|
|---|
| 1231 | --includedir=DIR C header files [PREFIX/include]
|
|---|
| 1232 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|---|
| 1233 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|---|
| 1234 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|---|
| 1235 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
|---|
| 1236 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|---|
| 1237 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
|---|
| 1238 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|---|
| 1239 | --htmldir=DIR html documentation [DOCDIR]
|
|---|
| 1240 | --dvidir=DIR dvi documentation [DOCDIR]
|
|---|
| 1241 | --pdfdir=DIR pdf documentation [DOCDIR]
|
|---|
| 1242 | --psdir=DIR ps documentation [DOCDIR]
|
|---|
| 1243 | _ACEOF
|
|---|
| 1244 |
|
|---|
| 1245 | cat <<\_ACEOF
|
|---|
| 1246 |
|
|---|
| 1247 | Program names:
|
|---|
| 1248 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
|---|
| 1249 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
|---|
| 1250 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|---|
| 1251 |
|
|---|
| 1252 | System types:
|
|---|
| 1253 | --build=BUILD configure for building on BUILD [guessed]
|
|---|
| 1254 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
|---|
| 1255 | --target=TARGET configure for building compilers for TARGET [HOST]
|
|---|
| 1256 | _ACEOF
|
|---|
| 1257 | fi
|
|---|
| 1258 |
|
|---|
| 1259 | if test -n "$ac_init_help"; then
|
|---|
| 1260 |
|
|---|
| 1261 | cat <<\_ACEOF
|
|---|
| 1262 |
|
|---|
| 1263 | Optional Features:
|
|---|
| 1264 | --disable-option-checking ignore unrecognized --enable/--with options
|
|---|
| 1265 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|---|
| 1266 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|---|
| 1267 | --disable-dependency-tracking speeds up one-time build
|
|---|
| 1268 | --enable-dependency-tracking do not reject slow dependency extractors
|
|---|
| 1269 |
|
|---|
| 1270 | Some influential environment variables:
|
|---|
| 1271 | CCAS assembler compiler command (defaults to CC)
|
|---|
| 1272 | CCASFLAGS assembler compiler flags (defaults to CFLAGS)
|
|---|
| 1273 |
|
|---|
| 1274 | Use these variables to override the choices made by `configure' or to help
|
|---|
| 1275 | it to find libraries and programs with nonstandard names/locations.
|
|---|
| 1276 |
|
|---|
| 1277 | Report bugs to the package provider.
|
|---|
| 1278 | _ACEOF
|
|---|
| 1279 | ac_status=$?
|
|---|
| 1280 | fi
|
|---|
| 1281 |
|
|---|
| 1282 | if test "$ac_init_help" = "recursive"; then
|
|---|
| 1283 | # If there are subdirs, report their specific --help.
|
|---|
| 1284 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
|---|
| 1285 | test -d "$ac_dir" ||
|
|---|
| 1286 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|---|
| 1287 | continue
|
|---|
| 1288 | ac_builddir=.
|
|---|
| 1289 |
|
|---|
| 1290 | case "$ac_dir" in
|
|---|
| 1291 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|---|
| 1292 | *)
|
|---|
| 1293 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|---|
| 1294 | # A ".." for each directory in $ac_dir_suffix.
|
|---|
| 1295 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|---|
| 1296 | case $ac_top_builddir_sub in
|
|---|
| 1297 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|---|
| 1298 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|---|
| 1299 | esac ;;
|
|---|
| 1300 | esac
|
|---|
| 1301 | ac_abs_top_builddir=$ac_pwd
|
|---|
| 1302 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|---|
| 1303 | # for backward compatibility:
|
|---|
| 1304 | ac_top_builddir=$ac_top_build_prefix
|
|---|
| 1305 |
|
|---|
| 1306 | case $srcdir in
|
|---|
| 1307 | .) # We are building in place.
|
|---|
| 1308 | ac_srcdir=.
|
|---|
| 1309 | ac_top_srcdir=$ac_top_builddir_sub
|
|---|
| 1310 | ac_abs_top_srcdir=$ac_pwd ;;
|
|---|
| 1311 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
|---|
| 1312 | ac_srcdir=$srcdir$ac_dir_suffix;
|
|---|
| 1313 | ac_top_srcdir=$srcdir
|
|---|
| 1314 | ac_abs_top_srcdir=$srcdir ;;
|
|---|
| 1315 | *) # Relative name.
|
|---|
| 1316 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|---|
| 1317 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|---|
| 1318 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|---|
| 1319 | esac
|
|---|
| 1320 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|---|
| 1321 |
|
|---|
| 1322 | cd "$ac_dir" || { ac_status=$?; continue; }
|
|---|
| 1323 | # Check for guested configure.
|
|---|
| 1324 | if test -f "$ac_srcdir/configure.gnu"; then
|
|---|
| 1325 | echo &&
|
|---|
| 1326 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|---|
| 1327 | elif test -f "$ac_srcdir/configure"; then
|
|---|
| 1328 | echo &&
|
|---|
| 1329 | $SHELL "$ac_srcdir/configure" --help=recursive
|
|---|
| 1330 | else
|
|---|
| 1331 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|---|
| 1332 | fi || ac_status=$?
|
|---|
| 1333 | cd "$ac_pwd" || { ac_status=$?; break; }
|
|---|
| 1334 | done
|
|---|
| 1335 | fi
|
|---|
| 1336 |
|
|---|
| 1337 | test -n "$ac_init_help" && exit $ac_status
|
|---|
| 1338 | if $ac_init_version; then
|
|---|
| 1339 | cat <<\_ACEOF
|
|---|
| 1340 | configure
|
|---|
| 1341 | generated by GNU Autoconf 2.68
|
|---|
| 1342 |
|
|---|
| 1343 | Copyright (C) 2010 Free Software Foundation, Inc.
|
|---|
| 1344 | This configure script is free software; the Free Software Foundation
|
|---|
| 1345 | gives unlimited permission to copy, distribute and modify it.
|
|---|
| 1346 | _ACEOF
|
|---|
| 1347 | exit
|
|---|
| 1348 | fi
|
|---|
| 1349 |
|
|---|
| 1350 | ## ------------------------ ##
|
|---|
| 1351 | ## Autoconf initialization. ##
|
|---|
| 1352 | ## ------------------------ ##
|
|---|
| 1353 |
|
|---|
| 1354 | # ac_fn_c_try_compile LINENO
|
|---|
| 1355 | # --------------------------
|
|---|
| 1356 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|---|
| 1357 | ac_fn_c_try_compile ()
|
|---|
| 1358 | {
|
|---|
| 1359 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|---|
| 1360 | rm -f conftest.$ac_objext
|
|---|
| 1361 | if { { ac_try="$ac_compile"
|
|---|
| 1362 | case "(($ac_try" in
|
|---|
| 1363 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|---|
| 1364 | *) ac_try_echo=$ac_try;;
|
|---|
| 1365 | esac
|
|---|
| 1366 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|---|
| 1367 | $as_echo "$ac_try_echo"; } >&5
|
|---|
| 1368 | (eval "$ac_compile") 2>conftest.err
|
|---|
| 1369 | ac_status=$?
|
|---|
| 1370 | if test -s conftest.err; then
|
|---|
| 1371 | grep -v '^ *+' conftest.err >conftest.er1
|
|---|
| 1372 | cat conftest.er1 >&5
|
|---|
| 1373 | mv -f conftest.er1 conftest.err
|
|---|
| 1374 | fi
|
|---|
| 1375 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|---|
| 1376 | test $ac_status = 0; } && {
|
|---|
| 1377 | test -z "$ac_c_werror_flag" ||
|
|---|
| 1378 | test ! -s conftest.err
|
|---|
| 1379 | } && test -s conftest.$ac_objext; then :
|
|---|
| 1380 | ac_retval=0
|
|---|
| 1381 | else
|
|---|
| 1382 | $as_echo "$as_me: failed program was:" >&5
|
|---|
| 1383 | sed 's/^/| /' conftest.$ac_ext >&5
|
|---|
| 1384 |
|
|---|
| 1385 | ac_retval=1
|
|---|
| 1386 | fi
|
|---|
| 1387 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|---|
| 1388 | as_fn_set_status $ac_retval
|
|---|
| 1389 |
|
|---|
| 1390 | } # ac_fn_c_try_compile
|
|---|
| 1391 | cat >config.log <<_ACEOF
|
|---|
| 1392 | This file contains any messages produced by compilers while
|
|---|
| 1393 | running configure, to aid debugging if configure makes a mistake.
|
|---|
| 1394 |
|
|---|
| 1395 | It was created by $as_me, which was
|
|---|
| 1396 | generated by GNU Autoconf 2.68. Invocation command line was
|
|---|
| 1397 |
|
|---|
| 1398 | $ $0 $@
|
|---|
| 1399 |
|
|---|
| 1400 | _ACEOF
|
|---|
| 1401 | exec 5>>config.log
|
|---|
| 1402 | {
|
|---|
| 1403 | cat <<_ASUNAME
|
|---|
| 1404 | ## --------- ##
|
|---|
| 1405 | ## Platform. ##
|
|---|
| 1406 | ## --------- ##
|
|---|
| 1407 |
|
|---|
| 1408 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|---|
| 1409 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|---|
| 1410 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|---|
| 1411 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|---|
| 1412 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|---|
| 1413 |
|
|---|
| 1414 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|---|
| 1415 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|---|
| 1416 |
|
|---|
| 1417 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|---|
| 1418 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|---|
| 1419 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|---|
| 1420 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
|---|
| 1421 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
|---|
| 1422 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|---|
| 1423 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|---|
| 1424 |
|
|---|
| 1425 | _ASUNAME
|
|---|
| 1426 |
|
|---|
| 1427 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 1428 | for as_dir in $PATH
|
|---|
| 1429 | do
|
|---|
| 1430 | IFS=$as_save_IFS
|
|---|
| 1431 | test -z "$as_dir" && as_dir=.
|
|---|
| 1432 | $as_echo "PATH: $as_dir"
|
|---|
| 1433 | done
|
|---|
| 1434 | IFS=$as_save_IFS
|
|---|
| 1435 |
|
|---|
| 1436 | } >&5
|
|---|
| 1437 |
|
|---|
| 1438 | cat >&5 <<_ACEOF
|
|---|
| 1439 |
|
|---|
| 1440 |
|
|---|
| 1441 | ## ----------- ##
|
|---|
| 1442 | ## Core tests. ##
|
|---|
| 1443 | ## ----------- ##
|
|---|
| 1444 |
|
|---|
| 1445 | _ACEOF
|
|---|
| 1446 |
|
|---|
| 1447 |
|
|---|
| 1448 | # Keep a trace of the command line.
|
|---|
| 1449 | # Strip out --no-create and --no-recursion so they do not pile up.
|
|---|
| 1450 | # Strip out --silent because we don't want to record it for future runs.
|
|---|
| 1451 | # Also quote any args containing shell meta-characters.
|
|---|
| 1452 | # Make two passes to allow for proper duplicate-argument suppression.
|
|---|
| 1453 | ac_configure_args=
|
|---|
| 1454 | ac_configure_args0=
|
|---|
| 1455 | ac_configure_args1=
|
|---|
| 1456 | ac_must_keep_next=false
|
|---|
| 1457 | for ac_pass in 1 2
|
|---|
| 1458 | do
|
|---|
| 1459 | for ac_arg
|
|---|
| 1460 | do
|
|---|
| 1461 | case $ac_arg in
|
|---|
| 1462 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
|---|
| 1463 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|---|
| 1464 | | -silent | --silent | --silen | --sile | --sil)
|
|---|
| 1465 | continue ;;
|
|---|
| 1466 | *\'*)
|
|---|
| 1467 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|---|
| 1468 | esac
|
|---|
| 1469 | case $ac_pass in
|
|---|
| 1470 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
|---|
| 1471 | 2)
|
|---|
| 1472 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
|---|
| 1473 | if test $ac_must_keep_next = true; then
|
|---|
| 1474 | ac_must_keep_next=false # Got value, back to normal.
|
|---|
| 1475 | else
|
|---|
| 1476 | case $ac_arg in
|
|---|
| 1477 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
|---|
| 1478 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|---|
| 1479 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|---|
| 1480 | | -with-* | --with-* | -without-* | --without-* | --x)
|
|---|
| 1481 | case "$ac_configure_args0 " in
|
|---|
| 1482 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|---|
| 1483 | esac
|
|---|
| 1484 | ;;
|
|---|
| 1485 | -* ) ac_must_keep_next=true ;;
|
|---|
| 1486 | esac
|
|---|
| 1487 | fi
|
|---|
| 1488 | as_fn_append ac_configure_args " '$ac_arg'"
|
|---|
| 1489 | ;;
|
|---|
| 1490 | esac
|
|---|
| 1491 | done
|
|---|
| 1492 | done
|
|---|
| 1493 | { ac_configure_args0=; unset ac_configure_args0;}
|
|---|
| 1494 | { ac_configure_args1=; unset ac_configure_args1;}
|
|---|
| 1495 |
|
|---|
| 1496 | # When interrupted or exit'd, cleanup temporary files, and complete
|
|---|
| 1497 | # config.log. We remove comments because anyway the quotes in there
|
|---|
| 1498 | # would cause problems or look ugly.
|
|---|
| 1499 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
|---|
| 1500 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
|---|
| 1501 | trap 'exit_status=$?
|
|---|
| 1502 | # Save into config.log some information that might help in debugging.
|
|---|
| 1503 | {
|
|---|
| 1504 | echo
|
|---|
| 1505 |
|
|---|
| 1506 | $as_echo "## ---------------- ##
|
|---|
| 1507 | ## Cache variables. ##
|
|---|
| 1508 | ## ---------------- ##"
|
|---|
| 1509 | echo
|
|---|
| 1510 | # The following way of writing the cache mishandles newlines in values,
|
|---|
| 1511 | (
|
|---|
| 1512 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
|---|
| 1513 | eval ac_val=\$$ac_var
|
|---|
| 1514 | case $ac_val in #(
|
|---|
| 1515 | *${as_nl}*)
|
|---|
| 1516 | case $ac_var in #(
|
|---|
| 1517 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|---|
| 1518 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|---|
| 1519 | esac
|
|---|
| 1520 | case $ac_var in #(
|
|---|
| 1521 | _ | IFS | as_nl) ;; #(
|
|---|
| 1522 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|---|
| 1523 | *) { eval $ac_var=; unset $ac_var;} ;;
|
|---|
| 1524 | esac ;;
|
|---|
| 1525 | esac
|
|---|
| 1526 | done
|
|---|
| 1527 | (set) 2>&1 |
|
|---|
| 1528 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|---|
| 1529 | *${as_nl}ac_space=\ *)
|
|---|
| 1530 | sed -n \
|
|---|
| 1531 | "s/'\''/'\''\\\\'\'''\''/g;
|
|---|
| 1532 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
|---|
| 1533 | ;; #(
|
|---|
| 1534 | *)
|
|---|
| 1535 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
|---|
| 1536 | ;;
|
|---|
| 1537 | esac |
|
|---|
| 1538 | sort
|
|---|
| 1539 | )
|
|---|
| 1540 | echo
|
|---|
| 1541 |
|
|---|
| 1542 | $as_echo "## ----------------- ##
|
|---|
| 1543 | ## Output variables. ##
|
|---|
| 1544 | ## ----------------- ##"
|
|---|
| 1545 | echo
|
|---|
| 1546 | for ac_var in $ac_subst_vars
|
|---|
| 1547 | do
|
|---|
| 1548 | eval ac_val=\$$ac_var
|
|---|
| 1549 | case $ac_val in
|
|---|
| 1550 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|---|
| 1551 | esac
|
|---|
| 1552 | $as_echo "$ac_var='\''$ac_val'\''"
|
|---|
| 1553 | done | sort
|
|---|
| 1554 | echo
|
|---|
| 1555 |
|
|---|
| 1556 | if test -n "$ac_subst_files"; then
|
|---|
| 1557 | $as_echo "## ------------------- ##
|
|---|
| 1558 | ## File substitutions. ##
|
|---|
| 1559 | ## ------------------- ##"
|
|---|
| 1560 | echo
|
|---|
| 1561 | for ac_var in $ac_subst_files
|
|---|
| 1562 | do
|
|---|
| 1563 | eval ac_val=\$$ac_var
|
|---|
| 1564 | case $ac_val in
|
|---|
| 1565 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|---|
| 1566 | esac
|
|---|
| 1567 | $as_echo "$ac_var='\''$ac_val'\''"
|
|---|
| 1568 | done | sort
|
|---|
| 1569 | echo
|
|---|
| 1570 | fi
|
|---|
| 1571 |
|
|---|
| 1572 | if test -s confdefs.h; then
|
|---|
| 1573 | $as_echo "## ----------- ##
|
|---|
| 1574 | ## confdefs.h. ##
|
|---|
| 1575 | ## ----------- ##"
|
|---|
| 1576 | echo
|
|---|
| 1577 | cat confdefs.h
|
|---|
| 1578 | echo
|
|---|
| 1579 | fi
|
|---|
| 1580 | test "$ac_signal" != 0 &&
|
|---|
| 1581 | $as_echo "$as_me: caught signal $ac_signal"
|
|---|
| 1582 | $as_echo "$as_me: exit $exit_status"
|
|---|
| 1583 | } >&5
|
|---|
| 1584 | rm -f core *.core core.conftest.* &&
|
|---|
| 1585 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|---|
| 1586 | exit $exit_status
|
|---|
| 1587 | ' 0
|
|---|
| 1588 | for ac_signal in 1 2 13 15; do
|
|---|
| 1589 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
|---|
| 1590 | done
|
|---|
| 1591 | ac_signal=0
|
|---|
| 1592 |
|
|---|
| 1593 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|---|
| 1594 | rm -f -r conftest* confdefs.h
|
|---|
| 1595 |
|
|---|
| 1596 | $as_echo "/* confdefs.h */" > confdefs.h
|
|---|
| 1597 |
|
|---|
| 1598 | # Predefined preprocessor variables.
|
|---|
| 1599 |
|
|---|
| 1600 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1601 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
|---|
| 1602 | _ACEOF
|
|---|
| 1603 |
|
|---|
| 1604 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1605 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|---|
| 1606 | _ACEOF
|
|---|
| 1607 |
|
|---|
| 1608 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1609 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|---|
| 1610 | _ACEOF
|
|---|
| 1611 |
|
|---|
| 1612 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1613 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
|---|
| 1614 | _ACEOF
|
|---|
| 1615 |
|
|---|
| 1616 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1617 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|---|
| 1618 | _ACEOF
|
|---|
| 1619 |
|
|---|
| 1620 | cat >>confdefs.h <<_ACEOF
|
|---|
| 1621 | #define PACKAGE_URL "$PACKAGE_URL"
|
|---|
| 1622 | _ACEOF
|
|---|
| 1623 |
|
|---|
| 1624 |
|
|---|
| 1625 | # Let the site file select an alternate cache file if it wants to.
|
|---|
| 1626 | # Prefer an explicitly selected file to automatically selected ones.
|
|---|
| 1627 | ac_site_file1=NONE
|
|---|
| 1628 | ac_site_file2=NONE
|
|---|
| 1629 | if test -n "$CONFIG_SITE"; then
|
|---|
| 1630 | # We do not want a PATH search for config.site.
|
|---|
| 1631 | case $CONFIG_SITE in #((
|
|---|
| 1632 | -*) ac_site_file1=./$CONFIG_SITE;;
|
|---|
| 1633 | */*) ac_site_file1=$CONFIG_SITE;;
|
|---|
| 1634 | *) ac_site_file1=./$CONFIG_SITE;;
|
|---|
| 1635 | esac
|
|---|
| 1636 | elif test "x$prefix" != xNONE; then
|
|---|
| 1637 | ac_site_file1=$prefix/share/config.site
|
|---|
| 1638 | ac_site_file2=$prefix/etc/config.site
|
|---|
| 1639 | else
|
|---|
| 1640 | ac_site_file1=$ac_default_prefix/share/config.site
|
|---|
| 1641 | ac_site_file2=$ac_default_prefix/etc/config.site
|
|---|
| 1642 | fi
|
|---|
| 1643 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|---|
| 1644 | do
|
|---|
| 1645 | test "x$ac_site_file" = xNONE && continue
|
|---|
| 1646 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|---|
| 1647 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|---|
| 1648 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
|---|
| 1649 | sed 's/^/| /' "$ac_site_file" >&5
|
|---|
| 1650 | . "$ac_site_file" \
|
|---|
| 1651 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|---|
| 1652 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|---|
| 1653 | as_fn_error $? "failed to load site script $ac_site_file
|
|---|
| 1654 | See \`config.log' for more details" "$LINENO" 5; }
|
|---|
| 1655 | fi
|
|---|
| 1656 | done
|
|---|
| 1657 |
|
|---|
| 1658 | if test -r "$cache_file"; then
|
|---|
| 1659 | # Some versions of bash will fail to source /dev/null (special files
|
|---|
| 1660 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|---|
| 1661 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|---|
| 1662 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|---|
| 1663 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
|---|
| 1664 | case $cache_file in
|
|---|
| 1665 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|---|
| 1666 | *) . "./$cache_file";;
|
|---|
| 1667 | esac
|
|---|
| 1668 | fi
|
|---|
| 1669 | else
|
|---|
| 1670 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|---|
| 1671 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
|---|
| 1672 | >$cache_file
|
|---|
| 1673 | fi
|
|---|
| 1674 |
|
|---|
| 1675 | # Check that the precious variables saved in the cache have kept the same
|
|---|
| 1676 | # value.
|
|---|
| 1677 | ac_cache_corrupted=false
|
|---|
| 1678 | for ac_var in $ac_precious_vars; do
|
|---|
| 1679 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
|---|
| 1680 | eval ac_new_set=\$ac_env_${ac_var}_set
|
|---|
| 1681 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
|---|
| 1682 | eval ac_new_val=\$ac_env_${ac_var}_value
|
|---|
| 1683 | case $ac_old_set,$ac_new_set in
|
|---|
| 1684 | set,)
|
|---|
| 1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|---|
| 1686 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|---|
| 1687 | ac_cache_corrupted=: ;;
|
|---|
| 1688 | ,set)
|
|---|
| 1689 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|---|
| 1690 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|---|
| 1691 | ac_cache_corrupted=: ;;
|
|---|
| 1692 | ,);;
|
|---|
| 1693 | *)
|
|---|
| 1694 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
|---|
| 1695 | # differences in whitespace do not lead to failure.
|
|---|
| 1696 | ac_old_val_w=`echo x $ac_old_val`
|
|---|
| 1697 | ac_new_val_w=`echo x $ac_new_val`
|
|---|
| 1698 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
|---|
| 1699 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|---|
| 1700 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|---|
| 1701 | ac_cache_corrupted=:
|
|---|
| 1702 | else
|
|---|
| 1703 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|---|
| 1704 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|---|
| 1705 | eval $ac_var=\$ac_old_val
|
|---|
| 1706 | fi
|
|---|
| 1707 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|---|
| 1708 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|---|
| 1709 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|---|
| 1710 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
|---|
| 1711 | fi;;
|
|---|
| 1712 | esac
|
|---|
| 1713 | # Pass precious variables to config.status.
|
|---|
| 1714 | if test "$ac_new_set" = set; then
|
|---|
| 1715 | case $ac_new_val in
|
|---|
| 1716 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|---|
| 1717 | *) ac_arg=$ac_var=$ac_new_val ;;
|
|---|
| 1718 | esac
|
|---|
| 1719 | case " $ac_configure_args " in
|
|---|
| 1720 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
|---|
| 1721 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
|---|
| 1722 | esac
|
|---|
| 1723 | fi
|
|---|
| 1724 | done
|
|---|
| 1725 | if $ac_cache_corrupted; then
|
|---|
| 1726 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|---|
| 1727 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|---|
| 1728 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|---|
| 1729 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|---|
| 1730 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|---|
| 1731 | fi
|
|---|
| 1732 | ## -------------------- ##
|
|---|
| 1733 | ## Main body of script. ##
|
|---|
| 1734 | ## -------------------- ##
|
|---|
| 1735 |
|
|---|
| 1736 | ac_ext=c
|
|---|
| 1737 | ac_cpp='$CPP $CPPFLAGS'
|
|---|
| 1738 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|---|
| 1739 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|---|
| 1740 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|---|
| 1741 |
|
|---|
| 1742 |
|
|---|
| 1743 |
|
|---|
| 1744 | if test "$srcdir" = "." ; then
|
|---|
| 1745 | if test "${with_target_subdir}" != "." ; then
|
|---|
| 1746 | libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
|
|---|
| 1747 | else
|
|---|
| 1748 | libgloss_topdir="${srcdir}/${with_multisrctop}../.."
|
|---|
| 1749 | fi
|
|---|
| 1750 | else
|
|---|
| 1751 | libgloss_topdir="${srcdir}/../../.."
|
|---|
| 1752 | fi
|
|---|
| 1753 | ac_aux_dir=
|
|---|
| 1754 | for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
|
|---|
| 1755 | if test -f "$ac_dir/install-sh"; then
|
|---|
| 1756 | ac_aux_dir=$ac_dir
|
|---|
| 1757 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
|---|
| 1758 | break
|
|---|
| 1759 | elif test -f "$ac_dir/install.sh"; then
|
|---|
| 1760 | ac_aux_dir=$ac_dir
|
|---|
| 1761 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
|---|
| 1762 | break
|
|---|
| 1763 | elif test -f "$ac_dir/shtool"; then
|
|---|
| 1764 | ac_aux_dir=$ac_dir
|
|---|
| 1765 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
|---|
| 1766 | break
|
|---|
| 1767 | fi
|
|---|
| 1768 | done
|
|---|
| 1769 | if test -z "$ac_aux_dir"; then
|
|---|
| 1770 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
|
|---|
| 1771 | fi
|
|---|
| 1772 |
|
|---|
| 1773 | # These three variables are undocumented and unsupported,
|
|---|
| 1774 | # and are intended to be withdrawn in a future Autoconf release.
|
|---|
| 1775 | # They can cause serious problems if a builder's source tree is in a directory
|
|---|
| 1776 | # whose full name contains unusual characters.
|
|---|
| 1777 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|---|
| 1778 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|---|
| 1779 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|---|
| 1780 |
|
|---|
| 1781 |
|
|---|
| 1782 |
|
|---|
| 1783 | # Make sure we can run config.sub.
|
|---|
| 1784 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
|---|
| 1785 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|---|
| 1786 |
|
|---|
| 1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|---|
| 1788 | $as_echo_n "checking build system type... " >&6; }
|
|---|
| 1789 | if ${ac_cv_build+:} false; then :
|
|---|
| 1790 | $as_echo_n "(cached) " >&6
|
|---|
| 1791 | else
|
|---|
| 1792 | ac_build_alias=$build_alias
|
|---|
| 1793 | test "x$ac_build_alias" = x &&
|
|---|
| 1794 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
|---|
| 1795 | test "x$ac_build_alias" = x &&
|
|---|
| 1796 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
|---|
| 1797 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
|---|
| 1798 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|---|
| 1799 |
|
|---|
| 1800 | fi
|
|---|
| 1801 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|---|
| 1802 | $as_echo "$ac_cv_build" >&6; }
|
|---|
| 1803 | case $ac_cv_build in
|
|---|
| 1804 | *-*-*) ;;
|
|---|
| 1805 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
|---|
| 1806 | esac
|
|---|
| 1807 | build=$ac_cv_build
|
|---|
| 1808 | ac_save_IFS=$IFS; IFS='-'
|
|---|
| 1809 | set x $ac_cv_build
|
|---|
| 1810 | shift
|
|---|
| 1811 | build_cpu=$1
|
|---|
| 1812 | build_vendor=$2
|
|---|
| 1813 | shift; shift
|
|---|
| 1814 | # Remember, the first character of IFS is used to create $*,
|
|---|
| 1815 | # except with old shells:
|
|---|
| 1816 | build_os=$*
|
|---|
| 1817 | IFS=$ac_save_IFS
|
|---|
| 1818 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
|---|
| 1819 |
|
|---|
| 1820 |
|
|---|
| 1821 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|---|
| 1822 | $as_echo_n "checking host system type... " >&6; }
|
|---|
| 1823 | if ${ac_cv_host+:} false; then :
|
|---|
| 1824 | $as_echo_n "(cached) " >&6
|
|---|
| 1825 | else
|
|---|
| 1826 | if test "x$host_alias" = x; then
|
|---|
| 1827 | ac_cv_host=$ac_cv_build
|
|---|
| 1828 | else
|
|---|
| 1829 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
|---|
| 1830 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|---|
| 1831 | fi
|
|---|
| 1832 |
|
|---|
| 1833 | fi
|
|---|
| 1834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|---|
| 1835 | $as_echo "$ac_cv_host" >&6; }
|
|---|
| 1836 | case $ac_cv_host in
|
|---|
| 1837 | *-*-*) ;;
|
|---|
| 1838 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
|---|
| 1839 | esac
|
|---|
| 1840 | host=$ac_cv_host
|
|---|
| 1841 | ac_save_IFS=$IFS; IFS='-'
|
|---|
| 1842 | set x $ac_cv_host
|
|---|
| 1843 | shift
|
|---|
| 1844 | host_cpu=$1
|
|---|
| 1845 | host_vendor=$2
|
|---|
| 1846 | shift; shift
|
|---|
| 1847 | # Remember, the first character of IFS is used to create $*,
|
|---|
| 1848 | # except with old shells:
|
|---|
| 1849 | host_os=$*
|
|---|
| 1850 | IFS=$ac_save_IFS
|
|---|
| 1851 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
|---|
| 1852 |
|
|---|
| 1853 |
|
|---|
| 1854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
|---|
| 1855 | $as_echo_n "checking target system type... " >&6; }
|
|---|
| 1856 | if ${ac_cv_target+:} false; then :
|
|---|
| 1857 | $as_echo_n "(cached) " >&6
|
|---|
| 1858 | else
|
|---|
| 1859 | if test "x$target_alias" = x; then
|
|---|
| 1860 | ac_cv_target=$ac_cv_host
|
|---|
| 1861 | else
|
|---|
| 1862 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
|---|
| 1863 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
|---|
| 1864 | fi
|
|---|
| 1865 |
|
|---|
| 1866 | fi
|
|---|
| 1867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
|---|
| 1868 | $as_echo "$ac_cv_target" >&6; }
|
|---|
| 1869 | case $ac_cv_target in
|
|---|
| 1870 | *-*-*) ;;
|
|---|
| 1871 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
|---|
| 1872 | esac
|
|---|
| 1873 | target=$ac_cv_target
|
|---|
| 1874 | ac_save_IFS=$IFS; IFS='-'
|
|---|
| 1875 | set x $ac_cv_target
|
|---|
| 1876 | shift
|
|---|
| 1877 | target_cpu=$1
|
|---|
| 1878 | target_vendor=$2
|
|---|
| 1879 | shift; shift
|
|---|
| 1880 | # Remember, the first character of IFS is used to create $*,
|
|---|
| 1881 | # except with old shells:
|
|---|
| 1882 | target_os=$*
|
|---|
| 1883 | IFS=$ac_save_IFS
|
|---|
| 1884 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
|---|
| 1885 |
|
|---|
| 1886 |
|
|---|
| 1887 | # The aliases save the names the user supplied, while $host etc.
|
|---|
| 1888 | # will get canonicalized.
|
|---|
| 1889 | test -n "$target_alias" &&
|
|---|
| 1890 | test "$program_prefix$program_suffix$program_transform_name" = \
|
|---|
| 1891 | NONENONEs,x,x, &&
|
|---|
| 1892 | program_prefix=${target_alias}-
|
|---|
| 1893 |
|
|---|
| 1894 | test "$program_prefix" != NONE &&
|
|---|
| 1895 | program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|---|
| 1896 | # Use a double $ so make ignores it.
|
|---|
| 1897 | test "$program_suffix" != NONE &&
|
|---|
| 1898 | program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
|---|
| 1899 | # Double any \ or $.
|
|---|
| 1900 | # By default was `s,x,x', remove it if useless.
|
|---|
| 1901 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|---|
| 1902 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|---|
| 1903 |
|
|---|
| 1904 |
|
|---|
| 1905 | # Find a good install program. We prefer a C program (faster),
|
|---|
| 1906 | # so one script is as good as another. But avoid the broken or
|
|---|
| 1907 | # incompatible versions:
|
|---|
| 1908 | # SysV /etc/install, /usr/sbin/install
|
|---|
| 1909 | # SunOS /usr/etc/install
|
|---|
| 1910 | # IRIX /sbin/install
|
|---|
| 1911 | # AIX /bin/install
|
|---|
| 1912 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
|---|
| 1913 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|---|
| 1914 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|---|
| 1915 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|---|
| 1916 | # OS/2's system install, which has a completely different semantic
|
|---|
| 1917 | # ./install, which can be erroneously created by make from ./install.sh.
|
|---|
| 1918 | # Reject install programs that cannot install multiple files.
|
|---|
| 1919 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|---|
| 1920 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|---|
| 1921 | if test -z "$INSTALL"; then
|
|---|
| 1922 | if ${ac_cv_path_install+:} false; then :
|
|---|
| 1923 | $as_echo_n "(cached) " >&6
|
|---|
| 1924 | else
|
|---|
| 1925 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 1926 | for as_dir in $PATH
|
|---|
| 1927 | do
|
|---|
| 1928 | IFS=$as_save_IFS
|
|---|
| 1929 | test -z "$as_dir" && as_dir=.
|
|---|
| 1930 | # Account for people who put trailing slashes in PATH elements.
|
|---|
| 1931 | case $as_dir/ in #((
|
|---|
| 1932 | ./ | .// | /[cC]/* | \
|
|---|
| 1933 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|---|
| 1934 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
|---|
| 1935 | /usr/ucb/* ) ;;
|
|---|
| 1936 | *)
|
|---|
| 1937 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
|---|
| 1938 | # Don't use installbsd from OSF since it installs stuff as root
|
|---|
| 1939 | # by default.
|
|---|
| 1940 | for ac_prog in ginstall scoinst install; do
|
|---|
| 1941 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 1942 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|---|
| 1943 | if test $ac_prog = install &&
|
|---|
| 1944 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|---|
| 1945 | # AIX install. It has an incompatible calling convention.
|
|---|
| 1946 | :
|
|---|
| 1947 | elif test $ac_prog = install &&
|
|---|
| 1948 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|---|
| 1949 | # program-specific install script used by HP pwplus--don't use.
|
|---|
| 1950 | :
|
|---|
| 1951 | else
|
|---|
| 1952 | rm -rf conftest.one conftest.two conftest.dir
|
|---|
| 1953 | echo one > conftest.one
|
|---|
| 1954 | echo two > conftest.two
|
|---|
| 1955 | mkdir conftest.dir
|
|---|
| 1956 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|---|
| 1957 | test -s conftest.one && test -s conftest.two &&
|
|---|
| 1958 | test -s conftest.dir/conftest.one &&
|
|---|
| 1959 | test -s conftest.dir/conftest.two
|
|---|
| 1960 | then
|
|---|
| 1961 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|---|
| 1962 | break 3
|
|---|
| 1963 | fi
|
|---|
| 1964 | fi
|
|---|
| 1965 | fi
|
|---|
| 1966 | done
|
|---|
| 1967 | done
|
|---|
| 1968 | ;;
|
|---|
| 1969 | esac
|
|---|
| 1970 |
|
|---|
| 1971 | done
|
|---|
| 1972 | IFS=$as_save_IFS
|
|---|
| 1973 |
|
|---|
| 1974 | rm -rf conftest.one conftest.two conftest.dir
|
|---|
| 1975 |
|
|---|
| 1976 | fi
|
|---|
| 1977 | if test "${ac_cv_path_install+set}" = set; then
|
|---|
| 1978 | INSTALL=$ac_cv_path_install
|
|---|
| 1979 | else
|
|---|
| 1980 | # As a last resort, use the slow shell script. Don't cache a
|
|---|
| 1981 | # value for INSTALL within a source directory, because that will
|
|---|
| 1982 | # break other packages using the cache if that directory is
|
|---|
| 1983 | # removed, or if the value is a relative name.
|
|---|
| 1984 | INSTALL=$ac_install_sh
|
|---|
| 1985 | fi
|
|---|
| 1986 | fi
|
|---|
| 1987 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|---|
| 1988 | $as_echo "$INSTALL" >&6; }
|
|---|
| 1989 |
|
|---|
| 1990 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|---|
| 1991 | # It thinks the first close brace ends the variable substitution.
|
|---|
| 1992 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|---|
| 1993 |
|
|---|
| 1994 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|---|
| 1995 |
|
|---|
| 1996 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|---|
| 1997 |
|
|---|
| 1998 |
|
|---|
| 1999 | rm -rf .tst 2>/dev/null
|
|---|
| 2000 | mkdir .tst 2>/dev/null
|
|---|
| 2001 | if test -d .tst; then
|
|---|
| 2002 | am__leading_dot=.
|
|---|
| 2003 | else
|
|---|
| 2004 | am__leading_dot=_
|
|---|
| 2005 | fi
|
|---|
| 2006 | rmdir .tst 2>/dev/null
|
|---|
| 2007 |
|
|---|
| 2008 | DEPDIR="${am__leading_dot}deps"
|
|---|
| 2009 |
|
|---|
| 2010 | ac_config_commands="$ac_config_commands depfiles"
|
|---|
| 2011 |
|
|---|
| 2012 |
|
|---|
| 2013 | am_make=${MAKE-make}
|
|---|
| 2014 | cat > confinc << 'END'
|
|---|
| 2015 | am__doit:
|
|---|
| 2016 | @echo this is the am__doit target
|
|---|
| 2017 | .PHONY: am__doit
|
|---|
| 2018 | END
|
|---|
| 2019 | # If we don't find an include directive, just comment out the code.
|
|---|
| 2020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
|---|
| 2021 | $as_echo_n "checking for style of include used by $am_make... " >&6; }
|
|---|
| 2022 | am__include="#"
|
|---|
| 2023 | am__quote=
|
|---|
| 2024 | _am_result=none
|
|---|
| 2025 | # First try GNU make style include.
|
|---|
| 2026 | echo "include confinc" > confmf
|
|---|
| 2027 | # Ignore all kinds of additional output from `make'.
|
|---|
| 2028 | case `$am_make -s -f confmf 2> /dev/null` in #(
|
|---|
| 2029 | *the\ am__doit\ target*)
|
|---|
| 2030 | am__include=include
|
|---|
| 2031 | am__quote=
|
|---|
| 2032 | _am_result=GNU
|
|---|
| 2033 | ;;
|
|---|
| 2034 | esac
|
|---|
| 2035 | # Now try BSD make style include.
|
|---|
| 2036 | if test "$am__include" = "#"; then
|
|---|
| 2037 | echo '.include "confinc"' > confmf
|
|---|
| 2038 | case `$am_make -s -f confmf 2> /dev/null` in #(
|
|---|
| 2039 | *the\ am__doit\ target*)
|
|---|
| 2040 | am__include=.include
|
|---|
| 2041 | am__quote="\""
|
|---|
| 2042 | _am_result=BSD
|
|---|
| 2043 | ;;
|
|---|
| 2044 | esac
|
|---|
| 2045 | fi
|
|---|
| 2046 |
|
|---|
| 2047 |
|
|---|
| 2048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|---|
| 2049 | $as_echo "$_am_result" >&6; }
|
|---|
| 2050 | rm -f confinc confmf
|
|---|
| 2051 |
|
|---|
| 2052 | # Check whether --enable-dependency-tracking was given.
|
|---|
| 2053 | if test "${enable_dependency_tracking+set}" = set; then :
|
|---|
| 2054 | enableval=$enable_dependency_tracking;
|
|---|
| 2055 | fi
|
|---|
| 2056 |
|
|---|
| 2057 | if test "x$enable_dependency_tracking" != xno; then
|
|---|
| 2058 | am_depcomp="$ac_aux_dir/depcomp"
|
|---|
| 2059 | AMDEPBACKSLASH='\'
|
|---|
| 2060 | fi
|
|---|
| 2061 | if test "x$enable_dependency_tracking" != xno; then
|
|---|
| 2062 | AMDEP_TRUE=
|
|---|
| 2063 | AMDEP_FALSE='#'
|
|---|
| 2064 | else
|
|---|
| 2065 | AMDEP_TRUE='#'
|
|---|
| 2066 | AMDEP_FALSE=
|
|---|
| 2067 | fi
|
|---|
| 2068 |
|
|---|
| 2069 |
|
|---|
| 2070 | # Extract the first word of "gcc", so it can be a program name with args.
|
|---|
| 2071 | set dummy gcc; ac_word=$2
|
|---|
| 2072 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|---|
| 2073 | $as_echo_n "checking for $ac_word... " >&6; }
|
|---|
| 2074 | if ${ac_cv_prog_CC+:} false; then :
|
|---|
| 2075 | $as_echo_n "(cached) " >&6
|
|---|
| 2076 | else
|
|---|
| 2077 | if test -n "$CC"; then
|
|---|
| 2078 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
|---|
| 2079 | else
|
|---|
| 2080 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2081 | for as_dir in $PATH
|
|---|
| 2082 | do
|
|---|
| 2083 | IFS=$as_save_IFS
|
|---|
| 2084 | test -z "$as_dir" && as_dir=.
|
|---|
| 2085 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2086 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|---|
| 2087 | ac_cv_prog_CC="gcc"
|
|---|
| 2088 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2089 | break 2
|
|---|
| 2090 | fi
|
|---|
| 2091 | done
|
|---|
| 2092 | done
|
|---|
| 2093 | IFS=$as_save_IFS
|
|---|
| 2094 |
|
|---|
| 2095 | fi
|
|---|
| 2096 | fi
|
|---|
| 2097 | CC=$ac_cv_prog_CC
|
|---|
| 2098 | if test -n "$CC"; then
|
|---|
| 2099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|---|
| 2100 | $as_echo "$CC" >&6; }
|
|---|
| 2101 | else
|
|---|
| 2102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|---|
| 2103 | $as_echo "no" >&6; }
|
|---|
| 2104 | fi
|
|---|
| 2105 |
|
|---|
| 2106 |
|
|---|
| 2107 |
|
|---|
| 2108 | depcc="$CC" am_compiler_list=
|
|---|
| 2109 |
|
|---|
| 2110 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|---|
| 2111 | $as_echo_n "checking dependency style of $depcc... " >&6; }
|
|---|
| 2112 | if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
|---|
| 2113 | $as_echo_n "(cached) " >&6
|
|---|
| 2114 | else
|
|---|
| 2115 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|---|
| 2116 | # We make a subdir and do the tests there. Otherwise we can end up
|
|---|
| 2117 | # making bogus files that we don't know about and never remove. For
|
|---|
| 2118 | # instance it was reported that on HP-UX the gcc test will end up
|
|---|
| 2119 | # making a dummy file named `D' -- because `-MD' means `put the output
|
|---|
| 2120 | # in D'.
|
|---|
| 2121 | mkdir conftest.dir
|
|---|
| 2122 | # Copy depcomp to subdir because otherwise we won't find it if we're
|
|---|
| 2123 | # using a relative directory.
|
|---|
| 2124 | cp "$am_depcomp" conftest.dir
|
|---|
| 2125 | cd conftest.dir
|
|---|
| 2126 | # We will build objects and dependencies in a subdirectory because
|
|---|
| 2127 | # it helps to detect inapplicable dependency modes. For instance
|
|---|
| 2128 | # both Tru64's cc and ICC support -MD to output dependencies as a
|
|---|
| 2129 | # side effect of compilation, but ICC will put the dependencies in
|
|---|
| 2130 | # the current directory while Tru64 will put them in the object
|
|---|
| 2131 | # directory.
|
|---|
| 2132 | mkdir sub
|
|---|
| 2133 |
|
|---|
| 2134 | am_cv_CC_dependencies_compiler_type=none
|
|---|
| 2135 | if test "$am_compiler_list" = ""; then
|
|---|
| 2136 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
|---|
| 2137 | fi
|
|---|
| 2138 | am__universal=false
|
|---|
| 2139 | case " $depcc " in #(
|
|---|
| 2140 | *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|---|
| 2141 | esac
|
|---|
| 2142 |
|
|---|
| 2143 | for depmode in $am_compiler_list; do
|
|---|
| 2144 | # Setup a source with many dependencies, because some compilers
|
|---|
| 2145 | # like to wrap large dependency lists on column 80 (with \), and
|
|---|
| 2146 | # we should not choose a depcomp mode which is confused by this.
|
|---|
| 2147 | #
|
|---|
| 2148 | # We need to recreate these files for each test, as the compiler may
|
|---|
| 2149 | # overwrite some of them when testing with obscure command lines.
|
|---|
| 2150 | # This happens at least with the AIX C compiler.
|
|---|
| 2151 | : > sub/conftest.c
|
|---|
| 2152 | for i in 1 2 3 4 5 6; do
|
|---|
| 2153 | echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|---|
| 2154 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
|---|
| 2155 | # Solaris 8's {/usr,}/bin/sh.
|
|---|
| 2156 | touch sub/conftst$i.h
|
|---|
| 2157 | done
|
|---|
| 2158 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|---|
| 2159 |
|
|---|
| 2160 | # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|---|
| 2161 | # mode. It turns out that the SunPro C++ compiler does not properly
|
|---|
| 2162 | # handle `-M -o', and we need to detect this. Also, some Intel
|
|---|
| 2163 | # versions had trouble with output in subdirs
|
|---|
| 2164 | am__obj=sub/conftest.${OBJEXT-o}
|
|---|
| 2165 | am__minus_obj="-o $am__obj"
|
|---|
| 2166 | case $depmode in
|
|---|
| 2167 | gcc)
|
|---|
| 2168 | # This depmode causes a compiler race in universal mode.
|
|---|
| 2169 | test "$am__universal" = false || continue
|
|---|
| 2170 | ;;
|
|---|
| 2171 | nosideeffect)
|
|---|
| 2172 | # after this tag, mechanisms are not by side-effect, so they'll
|
|---|
| 2173 | # only be used when explicitly requested
|
|---|
| 2174 | if test "x$enable_dependency_tracking" = xyes; then
|
|---|
| 2175 | continue
|
|---|
| 2176 | else
|
|---|
| 2177 | break
|
|---|
| 2178 | fi
|
|---|
| 2179 | ;;
|
|---|
| 2180 | msvisualcpp | msvcmsys)
|
|---|
| 2181 | # This compiler won't grok `-c -o', but also, the minuso test has
|
|---|
| 2182 | # not run yet. These depmodes are late enough in the game, and
|
|---|
| 2183 | # so weak that their functioning should not be impacted.
|
|---|
| 2184 | am__obj=conftest.${OBJEXT-o}
|
|---|
| 2185 | am__minus_obj=
|
|---|
| 2186 | ;;
|
|---|
| 2187 | none) break ;;
|
|---|
| 2188 | esac
|
|---|
| 2189 | if depmode=$depmode \
|
|---|
| 2190 | source=sub/conftest.c object=$am__obj \
|
|---|
| 2191 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|---|
| 2192 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
|---|
| 2193 | >/dev/null 2>conftest.err &&
|
|---|
| 2194 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|---|
| 2195 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|---|
| 2196 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
|---|
| 2197 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|---|
| 2198 | # icc doesn't choke on unknown options, it will just issue warnings
|
|---|
| 2199 | # or remarks (even with -Werror). So we grep stderr for any message
|
|---|
| 2200 | # that says an option was ignored or not supported.
|
|---|
| 2201 | # When given -MP, icc 7.0 and 7.1 complain thusly:
|
|---|
| 2202 | # icc: Command line warning: ignoring option '-M'; no argument required
|
|---|
| 2203 | # The diagnosis changed in icc 8.0:
|
|---|
| 2204 | # icc: Command line remark: option '-MP' not supported
|
|---|
| 2205 | if (grep 'ignoring option' conftest.err ||
|
|---|
| 2206 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|---|
| 2207 | am_cv_CC_dependencies_compiler_type=$depmode
|
|---|
| 2208 | break
|
|---|
| 2209 | fi
|
|---|
| 2210 | fi
|
|---|
| 2211 | done
|
|---|
| 2212 |
|
|---|
| 2213 | cd ..
|
|---|
| 2214 | rm -rf conftest.dir
|
|---|
| 2215 | else
|
|---|
| 2216 | am_cv_CC_dependencies_compiler_type=none
|
|---|
| 2217 | fi
|
|---|
| 2218 |
|
|---|
| 2219 | fi
|
|---|
| 2220 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|---|
| 2221 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|---|
| 2222 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|---|
| 2223 |
|
|---|
| 2224 | if
|
|---|
| 2225 | test "x$enable_dependency_tracking" != xno \
|
|---|
| 2226 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
|---|
| 2227 | am__fastdepCC_TRUE=
|
|---|
| 2228 | am__fastdepCC_FALSE='#'
|
|---|
| 2229 | else
|
|---|
| 2230 | am__fastdepCC_TRUE='#'
|
|---|
| 2231 | am__fastdepCC_FALSE=
|
|---|
| 2232 | fi
|
|---|
| 2233 |
|
|---|
| 2234 |
|
|---|
| 2235 | if test -z "$CC"; then
|
|---|
| 2236 | # Extract the first word of "cc", so it can be a program name with args.
|
|---|
| 2237 | set dummy cc; ac_word=$2
|
|---|
| 2238 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|---|
| 2239 | $as_echo_n "checking for $ac_word... " >&6; }
|
|---|
| 2240 | if ${ac_cv_prog_CC+:} false; then :
|
|---|
| 2241 | $as_echo_n "(cached) " >&6
|
|---|
| 2242 | else
|
|---|
| 2243 | if test -n "$CC"; then
|
|---|
| 2244 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
|---|
| 2245 | else
|
|---|
| 2246 | ac_prog_rejected=no
|
|---|
| 2247 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2248 | for as_dir in $PATH
|
|---|
| 2249 | do
|
|---|
| 2250 | IFS=$as_save_IFS
|
|---|
| 2251 | test -z "$as_dir" && as_dir=.
|
|---|
| 2252 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2253 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|---|
| 2254 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
|---|
| 2255 | ac_prog_rejected=yes
|
|---|
| 2256 | continue
|
|---|
| 2257 | fi
|
|---|
| 2258 | ac_cv_prog_CC="cc"
|
|---|
| 2259 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2260 | break 2
|
|---|
| 2261 | fi
|
|---|
| 2262 | done
|
|---|
| 2263 | done
|
|---|
| 2264 | IFS=$as_save_IFS
|
|---|
| 2265 |
|
|---|
| 2266 | if test $ac_prog_rejected = yes; then
|
|---|
| 2267 | # We found a bogon in the path, so make sure we never use it.
|
|---|
| 2268 | set dummy $ac_cv_prog_CC
|
|---|
| 2269 | shift
|
|---|
| 2270 | if test $# != 0; then
|
|---|
| 2271 | # We chose a different compiler from the bogus one.
|
|---|
| 2272 | # However, it has the same basename, so the bogon will be chosen
|
|---|
| 2273 | # first if we set CC to just the basename; use the full file name.
|
|---|
| 2274 | shift
|
|---|
| 2275 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
|---|
| 2276 | fi
|
|---|
| 2277 | fi
|
|---|
| 2278 | fi
|
|---|
| 2279 | fi
|
|---|
| 2280 | CC=$ac_cv_prog_CC
|
|---|
| 2281 | if test -n "$CC"; then
|
|---|
| 2282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|---|
| 2283 | $as_echo "$CC" >&6; }
|
|---|
| 2284 | else
|
|---|
| 2285 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|---|
| 2286 | $as_echo "no" >&6; }
|
|---|
| 2287 | fi
|
|---|
| 2288 |
|
|---|
| 2289 |
|
|---|
| 2290 | test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
|
|---|
| 2291 | fi
|
|---|
| 2292 |
|
|---|
| 2293 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
|
|---|
| 2294 | $as_echo_n "checking whether we are using GNU C... " >&6; }
|
|---|
| 2295 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
|---|
| 2296 | $as_echo_n "(cached) " >&6
|
|---|
| 2297 | else
|
|---|
| 2298 | cat > conftest.c <<EOF
|
|---|
| 2299 | #ifdef __GNUC__
|
|---|
| 2300 | yes;
|
|---|
| 2301 | #endif
|
|---|
| 2302 | EOF
|
|---|
| 2303 | if { ac_try='${CC-cc} -E conftest.c'
|
|---|
| 2304 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
|---|
| 2305 | (eval $ac_try) 2>&5
|
|---|
| 2306 | ac_status=$?
|
|---|
| 2307 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|---|
| 2308 | test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
|
|---|
| 2309 | ac_cv_c_compiler_gnu=yes
|
|---|
| 2310 | else
|
|---|
| 2311 | ac_cv_c_compiler_gnu=no
|
|---|
| 2312 | fi
|
|---|
| 2313 | fi
|
|---|
| 2314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|---|
| 2315 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|---|
| 2316 |
|
|---|
| 2317 | if test $ac_cv_c_compiler_gnu = yes; then
|
|---|
| 2318 | GCC=yes
|
|---|
| 2319 | ac_test_CFLAGS="${CFLAGS+set}"
|
|---|
| 2320 | ac_save_CFLAGS="$CFLAGS"
|
|---|
| 2321 | CFLAGS=
|
|---|
| 2322 | ac_test_CFLAGS=${CFLAGS+set}
|
|---|
| 2323 | ac_save_CFLAGS=$CFLAGS
|
|---|
| 2324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|---|
| 2325 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|---|
| 2326 | if ${ac_cv_prog_cc_g+:} false; then :
|
|---|
| 2327 | $as_echo_n "(cached) " >&6
|
|---|
| 2328 | else
|
|---|
| 2329 | ac_save_c_werror_flag=$ac_c_werror_flag
|
|---|
| 2330 | ac_c_werror_flag=yes
|
|---|
| 2331 | ac_cv_prog_cc_g=no
|
|---|
| 2332 | CFLAGS="-g"
|
|---|
| 2333 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|---|
| 2334 | /* end confdefs.h. */
|
|---|
| 2335 |
|
|---|
| 2336 | int
|
|---|
| 2337 | main ()
|
|---|
| 2338 | {
|
|---|
| 2339 |
|
|---|
| 2340 | ;
|
|---|
| 2341 | return 0;
|
|---|
| 2342 | }
|
|---|
| 2343 | _ACEOF
|
|---|
| 2344 | if ac_fn_c_try_compile "$LINENO"; then :
|
|---|
| 2345 | ac_cv_prog_cc_g=yes
|
|---|
| 2346 | else
|
|---|
| 2347 | CFLAGS=""
|
|---|
| 2348 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|---|
| 2349 | /* end confdefs.h. */
|
|---|
| 2350 |
|
|---|
| 2351 | int
|
|---|
| 2352 | main ()
|
|---|
| 2353 | {
|
|---|
| 2354 |
|
|---|
| 2355 | ;
|
|---|
| 2356 | return 0;
|
|---|
| 2357 | }
|
|---|
| 2358 | _ACEOF
|
|---|
| 2359 | if ac_fn_c_try_compile "$LINENO"; then :
|
|---|
| 2360 |
|
|---|
| 2361 | else
|
|---|
| 2362 | ac_c_werror_flag=$ac_save_c_werror_flag
|
|---|
| 2363 | CFLAGS="-g"
|
|---|
| 2364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|---|
| 2365 | /* end confdefs.h. */
|
|---|
| 2366 |
|
|---|
| 2367 | int
|
|---|
| 2368 | main ()
|
|---|
| 2369 | {
|
|---|
| 2370 |
|
|---|
| 2371 | ;
|
|---|
| 2372 | return 0;
|
|---|
| 2373 | }
|
|---|
| 2374 | _ACEOF
|
|---|
| 2375 | if ac_fn_c_try_compile "$LINENO"; then :
|
|---|
| 2376 | ac_cv_prog_cc_g=yes
|
|---|
| 2377 | fi
|
|---|
| 2378 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|---|
| 2379 | fi
|
|---|
| 2380 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|---|
| 2381 | fi
|
|---|
| 2382 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|---|
| 2383 | ac_c_werror_flag=$ac_save_c_werror_flag
|
|---|
| 2384 | fi
|
|---|
| 2385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|---|
| 2386 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
|---|
| 2387 | if test "$ac_test_CFLAGS" = set; then
|
|---|
| 2388 | CFLAGS=$ac_save_CFLAGS
|
|---|
| 2389 | elif test $ac_cv_prog_cc_g = yes; then
|
|---|
| 2390 | if test "$GCC" = yes; then
|
|---|
| 2391 | CFLAGS="-g -O2"
|
|---|
| 2392 | else
|
|---|
| 2393 | CFLAGS="-g"
|
|---|
| 2394 | fi
|
|---|
| 2395 | else
|
|---|
| 2396 | if test "$GCC" = yes; then
|
|---|
| 2397 | CFLAGS="-O2"
|
|---|
| 2398 | else
|
|---|
| 2399 | CFLAGS=
|
|---|
| 2400 | fi
|
|---|
| 2401 | fi
|
|---|
| 2402 | if test "$ac_test_CFLAGS" = set; then
|
|---|
| 2403 | CFLAGS="$ac_save_CFLAGS"
|
|---|
| 2404 | elif test $ac_cv_prog_cc_g = yes; then
|
|---|
| 2405 | CFLAGS="-g -O2"
|
|---|
| 2406 | else
|
|---|
| 2407 | CFLAGS="-O2"
|
|---|
| 2408 | fi
|
|---|
| 2409 | else
|
|---|
| 2410 | GCC=
|
|---|
| 2411 | test "${CFLAGS+set}" = set || CFLAGS="-g"
|
|---|
| 2412 | fi
|
|---|
| 2413 |
|
|---|
| 2414 | AS=${AS-as}
|
|---|
| 2415 |
|
|---|
| 2416 | AR=${AR-ar}
|
|---|
| 2417 |
|
|---|
| 2418 | LD=${LD-ld}
|
|---|
| 2419 |
|
|---|
| 2420 | if test -n "$ac_tool_prefix"; then
|
|---|
| 2421 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
|---|
| 2422 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
|---|
| 2423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|---|
| 2424 | $as_echo_n "checking for $ac_word... " >&6; }
|
|---|
| 2425 | if ${ac_cv_prog_RANLIB+:} false; then :
|
|---|
| 2426 | $as_echo_n "(cached) " >&6
|
|---|
| 2427 | else
|
|---|
| 2428 | if test -n "$RANLIB"; then
|
|---|
| 2429 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|---|
| 2430 | else
|
|---|
| 2431 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2432 | for as_dir in $PATH
|
|---|
| 2433 | do
|
|---|
| 2434 | IFS=$as_save_IFS
|
|---|
| 2435 | test -z "$as_dir" && as_dir=.
|
|---|
| 2436 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2437 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|---|
| 2438 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
|---|
| 2439 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2440 | break 2
|
|---|
| 2441 | fi
|
|---|
| 2442 | done
|
|---|
| 2443 | done
|
|---|
| 2444 | IFS=$as_save_IFS
|
|---|
| 2445 |
|
|---|
| 2446 | fi
|
|---|
| 2447 | fi
|
|---|
| 2448 | RANLIB=$ac_cv_prog_RANLIB
|
|---|
| 2449 | if test -n "$RANLIB"; then
|
|---|
| 2450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|---|
| 2451 | $as_echo "$RANLIB" >&6; }
|
|---|
| 2452 | else
|
|---|
| 2453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|---|
| 2454 | $as_echo "no" >&6; }
|
|---|
| 2455 | fi
|
|---|
| 2456 |
|
|---|
| 2457 |
|
|---|
| 2458 | fi
|
|---|
| 2459 | if test -z "$ac_cv_prog_RANLIB"; then
|
|---|
| 2460 | ac_ct_RANLIB=$RANLIB
|
|---|
| 2461 | # Extract the first word of "ranlib", so it can be a program name with args.
|
|---|
| 2462 | set dummy ranlib; ac_word=$2
|
|---|
| 2463 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|---|
| 2464 | $as_echo_n "checking for $ac_word... " >&6; }
|
|---|
| 2465 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
|---|
| 2466 | $as_echo_n "(cached) " >&6
|
|---|
| 2467 | else
|
|---|
| 2468 | if test -n "$ac_ct_RANLIB"; then
|
|---|
| 2469 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|---|
| 2470 | else
|
|---|
| 2471 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2472 | for as_dir in $PATH
|
|---|
| 2473 | do
|
|---|
| 2474 | IFS=$as_save_IFS
|
|---|
| 2475 | test -z "$as_dir" && as_dir=.
|
|---|
| 2476 | for ac_exec_ext in '' $ac_executable_extensions; do
|
|---|
| 2477 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|---|
| 2478 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
|---|
| 2479 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|---|
| 2480 | break 2
|
|---|
| 2481 | fi
|
|---|
| 2482 | done
|
|---|
| 2483 | done
|
|---|
| 2484 | IFS=$as_save_IFS
|
|---|
| 2485 |
|
|---|
| 2486 | fi
|
|---|
| 2487 | fi
|
|---|
| 2488 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
|---|
| 2489 | if test -n "$ac_ct_RANLIB"; then
|
|---|
| 2490 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|---|
| 2491 | $as_echo "$ac_ct_RANLIB" >&6; }
|
|---|
| 2492 | else
|
|---|
| 2493 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|---|
| 2494 | $as_echo "no" >&6; }
|
|---|
| 2495 | fi
|
|---|
| 2496 |
|
|---|
| 2497 | if test "x$ac_ct_RANLIB" = x; then
|
|---|
| 2498 | RANLIB=":"
|
|---|
| 2499 | else
|
|---|
| 2500 | case $cross_compiling:$ac_tool_warned in
|
|---|
| 2501 | yes:)
|
|---|
| 2502 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|---|
| 2503 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|---|
| 2504 | ac_tool_warned=yes ;;
|
|---|
| 2505 | esac
|
|---|
| 2506 | RANLIB=$ac_ct_RANLIB
|
|---|
| 2507 | fi
|
|---|
| 2508 | else
|
|---|
| 2509 | RANLIB="$ac_cv_prog_RANLIB"
|
|---|
| 2510 | fi
|
|---|
| 2511 |
|
|---|
| 2512 | # By default we simply use the C compiler to build assembly code.
|
|---|
| 2513 |
|
|---|
| 2514 | test "${CCAS+set}" = set || CCAS=$CC
|
|---|
| 2515 | test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
|
|---|
| 2516 |
|
|---|
| 2517 |
|
|---|
| 2518 |
|
|---|
| 2519 |
|
|---|
| 2520 | host_makefile_frag=${srcdir}/../../config/default.mh
|
|---|
| 2521 |
|
|---|
| 2522 | host_makefile_frag_path=$host_makefile_frag
|
|---|
| 2523 |
|
|---|
| 2524 |
|
|---|
| 2525 |
|
|---|
| 2526 | ac_config_files="$ac_config_files Makefile"
|
|---|
| 2527 |
|
|---|
| 2528 | cat >confcache <<\_ACEOF
|
|---|
| 2529 | # This file is a shell script that caches the results of configure
|
|---|
| 2530 | # tests run on this system so they can be shared between configure
|
|---|
| 2531 | # scripts and configure runs, see configure's option --config-cache.
|
|---|
| 2532 | # It is not useful on other systems. If it contains results you don't
|
|---|
| 2533 | # want to keep, you may remove or edit it.
|
|---|
| 2534 | #
|
|---|
| 2535 | # config.status only pays attention to the cache file if you give it
|
|---|
| 2536 | # the --recheck option to rerun configure.
|
|---|
| 2537 | #
|
|---|
| 2538 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|---|
| 2539 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|---|
| 2540 | # following values.
|
|---|
| 2541 |
|
|---|
| 2542 | _ACEOF
|
|---|
| 2543 |
|
|---|
| 2544 | # The following way of writing the cache mishandles newlines in values,
|
|---|
| 2545 | # but we know of no workaround that is simple, portable, and efficient.
|
|---|
| 2546 | # So, we kill variables containing newlines.
|
|---|
| 2547 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
|---|
| 2548 | # and sets the high bit in the cache file unless we assign to the vars.
|
|---|
| 2549 | (
|
|---|
| 2550 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
|---|
| 2551 | eval ac_val=\$$ac_var
|
|---|
| 2552 | case $ac_val in #(
|
|---|
| 2553 | *${as_nl}*)
|
|---|
| 2554 | case $ac_var in #(
|
|---|
| 2555 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|---|
| 2556 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|---|
| 2557 | esac
|
|---|
| 2558 | case $ac_var in #(
|
|---|
| 2559 | _ | IFS | as_nl) ;; #(
|
|---|
| 2560 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|---|
| 2561 | *) { eval $ac_var=; unset $ac_var;} ;;
|
|---|
| 2562 | esac ;;
|
|---|
| 2563 | esac
|
|---|
| 2564 | done
|
|---|
| 2565 |
|
|---|
| 2566 | (set) 2>&1 |
|
|---|
| 2567 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
|---|
| 2568 | *${as_nl}ac_space=\ *)
|
|---|
| 2569 | # `set' does not quote correctly, so add quotes: double-quote
|
|---|
| 2570 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
|---|
| 2571 | sed -n \
|
|---|
| 2572 | "s/'/'\\\\''/g;
|
|---|
| 2573 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|---|
| 2574 | ;; #(
|
|---|
| 2575 | *)
|
|---|
| 2576 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
|---|
| 2577 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
|---|
| 2578 | ;;
|
|---|
| 2579 | esac |
|
|---|
| 2580 | sort
|
|---|
| 2581 | ) |
|
|---|
| 2582 | sed '
|
|---|
| 2583 | /^ac_cv_env_/b end
|
|---|
| 2584 | t clear
|
|---|
| 2585 | :clear
|
|---|
| 2586 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
|---|
| 2587 | t end
|
|---|
| 2588 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|---|
| 2589 | :end' >>confcache
|
|---|
| 2590 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
|---|
| 2591 | if test -w "$cache_file"; then
|
|---|
| 2592 | if test "x$cache_file" != "x/dev/null"; then
|
|---|
| 2593 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|---|
| 2594 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
|---|
| 2595 | if test ! -f "$cache_file" || test -h "$cache_file"; then
|
|---|
| 2596 | cat confcache >"$cache_file"
|
|---|
| 2597 | else
|
|---|
| 2598 | case $cache_file in #(
|
|---|
| 2599 | */* | ?:*)
|
|---|
| 2600 | mv -f confcache "$cache_file"$$ &&
|
|---|
| 2601 | mv -f "$cache_file"$$ "$cache_file" ;; #(
|
|---|
| 2602 | *)
|
|---|
| 2603 | mv -f confcache "$cache_file" ;;
|
|---|
| 2604 | esac
|
|---|
| 2605 | fi
|
|---|
| 2606 | fi
|
|---|
| 2607 | else
|
|---|
| 2608 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|---|
| 2609 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|---|
| 2610 | fi
|
|---|
| 2611 | fi
|
|---|
| 2612 | rm -f confcache
|
|---|
| 2613 |
|
|---|
| 2614 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|---|
| 2615 | # Let make expand exec_prefix.
|
|---|
| 2616 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|---|
| 2617 |
|
|---|
| 2618 | # Transform confdefs.h into DEFS.
|
|---|
| 2619 | # Protect against shell expansion while executing Makefile rules.
|
|---|
| 2620 | # Protect against Makefile macro expansion.
|
|---|
| 2621 | #
|
|---|
| 2622 | # If the first sed substitution is executed (which looks for macros that
|
|---|
| 2623 | # take arguments), then branch to the quote section. Otherwise,
|
|---|
| 2624 | # look for a macro that doesn't take arguments.
|
|---|
| 2625 | ac_script='
|
|---|
| 2626 | :mline
|
|---|
| 2627 | /\\$/{
|
|---|
| 2628 | N
|
|---|
| 2629 | s,\\\n,,
|
|---|
| 2630 | b mline
|
|---|
| 2631 | }
|
|---|
| 2632 | t clear
|
|---|
| 2633 | :clear
|
|---|
| 2634 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
|---|
| 2635 | t quote
|
|---|
| 2636 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
|---|
| 2637 | t quote
|
|---|
| 2638 | b any
|
|---|
| 2639 | :quote
|
|---|
| 2640 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
|---|
| 2641 | s/\[/\\&/g
|
|---|
| 2642 | s/\]/\\&/g
|
|---|
| 2643 | s/\$/$$/g
|
|---|
| 2644 | H
|
|---|
| 2645 | :any
|
|---|
| 2646 | ${
|
|---|
| 2647 | g
|
|---|
| 2648 | s/^\n//
|
|---|
| 2649 | s/\n/ /g
|
|---|
| 2650 | p
|
|---|
| 2651 | }
|
|---|
| 2652 | '
|
|---|
| 2653 | DEFS=`sed -n "$ac_script" confdefs.h`
|
|---|
| 2654 |
|
|---|
| 2655 |
|
|---|
| 2656 | ac_libobjs=
|
|---|
| 2657 | ac_ltlibobjs=
|
|---|
| 2658 | U=
|
|---|
| 2659 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
|---|
| 2660 | # 1. Remove the extension, and $U if already installed.
|
|---|
| 2661 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
|---|
| 2662 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|---|
| 2663 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
|---|
| 2664 | # will be set to the directory where LIBOBJS objects are built.
|
|---|
| 2665 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|---|
| 2666 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
|---|
| 2667 | done
|
|---|
| 2668 | LIBOBJS=$ac_libobjs
|
|---|
| 2669 |
|
|---|
| 2670 | LTLIBOBJS=$ac_ltlibobjs
|
|---|
| 2671 |
|
|---|
| 2672 |
|
|---|
| 2673 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
|---|
| 2674 | as_fn_error $? "conditional \"AMDEP\" was never defined.
|
|---|
| 2675 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|---|
| 2676 | fi
|
|---|
| 2677 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
|---|
| 2678 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
|---|
| 2679 | Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|---|
| 2680 | fi
|
|---|
| 2681 |
|
|---|
| 2682 | : "${CONFIG_STATUS=./config.status}"
|
|---|
| 2683 | ac_write_fail=0
|
|---|
| 2684 | ac_clean_files_save=$ac_clean_files
|
|---|
| 2685 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
|---|
| 2686 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|---|
| 2687 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|---|
| 2688 | as_write_fail=0
|
|---|
| 2689 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
|---|
| 2690 | #! $SHELL
|
|---|
| 2691 | # Generated by $as_me.
|
|---|
| 2692 | # Run this file to recreate the current configuration.
|
|---|
| 2693 | # Compiler output produced by configure, useful for debugging
|
|---|
| 2694 | # configure, is in config.log if it exists.
|
|---|
| 2695 |
|
|---|
| 2696 | debug=false
|
|---|
| 2697 | ac_cs_recheck=false
|
|---|
| 2698 | ac_cs_silent=false
|
|---|
| 2699 |
|
|---|
| 2700 | SHELL=\${CONFIG_SHELL-$SHELL}
|
|---|
| 2701 | export SHELL
|
|---|
| 2702 | _ASEOF
|
|---|
| 2703 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|---|
| 2704 | ## -------------------- ##
|
|---|
| 2705 | ## M4sh Initialization. ##
|
|---|
| 2706 | ## -------------------- ##
|
|---|
| 2707 |
|
|---|
| 2708 | # Be more Bourne compatible
|
|---|
| 2709 | DUALCASE=1; export DUALCASE # for MKS sh
|
|---|
| 2710 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
|---|
| 2711 | emulate sh
|
|---|
| 2712 | NULLCMD=:
|
|---|
| 2713 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|---|
| 2714 | # is contrary to our usage. Disable this feature.
|
|---|
| 2715 | alias -g '${1+"$@"}'='"$@"'
|
|---|
| 2716 | setopt NO_GLOB_SUBST
|
|---|
| 2717 | else
|
|---|
| 2718 | case `(set -o) 2>/dev/null` in #(
|
|---|
| 2719 | *posix*) :
|
|---|
| 2720 | set -o posix ;; #(
|
|---|
| 2721 | *) :
|
|---|
| 2722 | ;;
|
|---|
| 2723 | esac
|
|---|
| 2724 | fi
|
|---|
| 2725 |
|
|---|
| 2726 |
|
|---|
| 2727 | as_nl='
|
|---|
| 2728 | '
|
|---|
| 2729 | export as_nl
|
|---|
| 2730 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|---|
| 2731 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|---|
| 2732 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|---|
| 2733 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|---|
| 2734 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
|---|
| 2735 | # but without wasting forks for bash or zsh.
|
|---|
| 2736 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|---|
| 2737 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|---|
| 2738 | as_echo='print -r --'
|
|---|
| 2739 | as_echo_n='print -rn --'
|
|---|
| 2740 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|---|
| 2741 | as_echo='printf %s\n'
|
|---|
| 2742 | as_echo_n='printf %s'
|
|---|
| 2743 | else
|
|---|
| 2744 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|---|
| 2745 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|---|
| 2746 | as_echo_n='/usr/ucb/echo -n'
|
|---|
| 2747 | else
|
|---|
| 2748 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|---|
| 2749 | as_echo_n_body='eval
|
|---|
| 2750 | arg=$1;
|
|---|
| 2751 | case $arg in #(
|
|---|
| 2752 | *"$as_nl"*)
|
|---|
| 2753 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
|---|
| 2754 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|---|
| 2755 | esac;
|
|---|
| 2756 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|---|
| 2757 | '
|
|---|
| 2758 | export as_echo_n_body
|
|---|
| 2759 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
|---|
| 2760 | fi
|
|---|
| 2761 | export as_echo_body
|
|---|
| 2762 | as_echo='sh -c $as_echo_body as_echo'
|
|---|
| 2763 | fi
|
|---|
| 2764 |
|
|---|
| 2765 | # The user is always right.
|
|---|
| 2766 | if test "${PATH_SEPARATOR+set}" != set; then
|
|---|
| 2767 | PATH_SEPARATOR=:
|
|---|
| 2768 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|---|
| 2769 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|---|
| 2770 | PATH_SEPARATOR=';'
|
|---|
| 2771 | }
|
|---|
| 2772 | fi
|
|---|
| 2773 |
|
|---|
| 2774 |
|
|---|
| 2775 | # IFS
|
|---|
| 2776 | # We need space, tab and new line, in precisely that order. Quoting is
|
|---|
| 2777 | # there to prevent editors from complaining about space-tab.
|
|---|
| 2778 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|---|
| 2779 | # splitting by setting IFS to empty value.)
|
|---|
| 2780 | IFS=" "" $as_nl"
|
|---|
| 2781 |
|
|---|
| 2782 | # Find who we are. Look in the path if we contain no directory separator.
|
|---|
| 2783 | as_myself=
|
|---|
| 2784 | case $0 in #((
|
|---|
| 2785 | *[\\/]* ) as_myself=$0 ;;
|
|---|
| 2786 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|---|
| 2787 | for as_dir in $PATH
|
|---|
| 2788 | do
|
|---|
| 2789 | IFS=$as_save_IFS
|
|---|
| 2790 | test -z "$as_dir" && as_dir=.
|
|---|
| 2791 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|---|
| 2792 | done
|
|---|
| 2793 | IFS=$as_save_IFS
|
|---|
| 2794 |
|
|---|
| 2795 | ;;
|
|---|
| 2796 | esac
|
|---|
| 2797 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
|---|
| 2798 | # in which case we are not to be found in the path.
|
|---|
| 2799 | if test "x$as_myself" = x; then
|
|---|
| 2800 | as_myself=$0
|
|---|
| 2801 | fi
|
|---|
| 2802 | if test ! -f "$as_myself"; then
|
|---|
| 2803 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|---|
| 2804 | exit 1
|
|---|
| 2805 | fi
|
|---|
| 2806 |
|
|---|
| 2807 | # Unset variables that we do not need and which cause bugs (e.g. in
|
|---|
| 2808 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|---|
| 2809 | # suppresses any "Segmentation fault" message there. '((' could
|
|---|
| 2810 | # trigger a bug in pdksh 5.2.14.
|
|---|
| 2811 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
|---|
| 2812 | do eval test x\${$as_var+set} = xset \
|
|---|
| 2813 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|---|
| 2814 | done
|
|---|
| 2815 | PS1='$ '
|
|---|
| 2816 | PS2='> '
|
|---|
| 2817 | PS4='+ '
|
|---|
| 2818 |
|
|---|
| 2819 | # NLS nuisances.
|
|---|
| 2820 | LC_ALL=C
|
|---|
| 2821 | export LC_ALL
|
|---|
| 2822 | LANGUAGE=C
|
|---|
| 2823 | export LANGUAGE
|
|---|
| 2824 |
|
|---|
| 2825 | # CDPATH.
|
|---|
| 2826 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|---|
| 2827 |
|
|---|
| 2828 |
|
|---|
| 2829 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|---|
| 2830 | # ----------------------------------------
|
|---|
| 2831 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|---|
| 2832 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|---|
| 2833 | # script with STATUS, using 1 if that was 0.
|
|---|
| 2834 | as_fn_error ()
|
|---|
| 2835 | {
|
|---|
| 2836 | as_status=$1; test $as_status -eq 0 && as_status=1
|
|---|
| 2837 | if test "$4"; then
|
|---|
| 2838 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|---|
| 2839 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|---|
| 2840 | fi
|
|---|
| 2841 | $as_echo "$as_me: error: $2" >&2
|
|---|
| 2842 | as_fn_exit $as_status
|
|---|
| 2843 | } # as_fn_error
|
|---|
| 2844 |
|
|---|
| 2845 |
|
|---|
| 2846 | # as_fn_set_status STATUS
|
|---|
| 2847 | # -----------------------
|
|---|
| 2848 | # Set $? to STATUS, without forking.
|
|---|
| 2849 | as_fn_set_status ()
|
|---|
| 2850 | {
|
|---|
| 2851 | return $1
|
|---|
| 2852 | } # as_fn_set_status
|
|---|
| 2853 |
|
|---|
| 2854 | # as_fn_exit STATUS
|
|---|
| 2855 | # -----------------
|
|---|
| 2856 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|---|
| 2857 | as_fn_exit ()
|
|---|
| 2858 | {
|
|---|
| 2859 | set +e
|
|---|
| 2860 | as_fn_set_status $1
|
|---|
| 2861 | exit $1
|
|---|
| 2862 | } # as_fn_exit
|
|---|
| 2863 |
|
|---|
| 2864 | # as_fn_unset VAR
|
|---|
| 2865 | # ---------------
|
|---|
| 2866 | # Portably unset VAR.
|
|---|
| 2867 | as_fn_unset ()
|
|---|
| 2868 | {
|
|---|
| 2869 | { eval $1=; unset $1;}
|
|---|
| 2870 | }
|
|---|
| 2871 | as_unset=as_fn_unset
|
|---|
| 2872 | # as_fn_append VAR VALUE
|
|---|
| 2873 | # ----------------------
|
|---|
| 2874 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
|---|
| 2875 | # advantage of any shell optimizations that allow amortized linear growth over
|
|---|
| 2876 | # repeated appends, instead of the typical quadratic growth present in naive
|
|---|
| 2877 | # implementations.
|
|---|
| 2878 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|---|
| 2879 | eval 'as_fn_append ()
|
|---|
| 2880 | {
|
|---|
| 2881 | eval $1+=\$2
|
|---|
| 2882 | }'
|
|---|
| 2883 | else
|
|---|
| 2884 | as_fn_append ()
|
|---|
| 2885 | {
|
|---|
| 2886 | eval $1=\$$1\$2
|
|---|
| 2887 | }
|
|---|
| 2888 | fi # as_fn_append
|
|---|
| 2889 |
|
|---|
| 2890 | # as_fn_arith ARG...
|
|---|
| 2891 | # ------------------
|
|---|
| 2892 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
|---|
| 2893 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|---|
| 2894 | # must be portable across $(()) and expr.
|
|---|
| 2895 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|---|
| 2896 | eval 'as_fn_arith ()
|
|---|
| 2897 | {
|
|---|
| 2898 | as_val=$(( $* ))
|
|---|
| 2899 | }'
|
|---|
| 2900 | else
|
|---|
| 2901 | as_fn_arith ()
|
|---|
| 2902 | {
|
|---|
| 2903 | as_val=`expr "$@" || test $? -eq 1`
|
|---|
| 2904 | }
|
|---|
| 2905 | fi # as_fn_arith
|
|---|
| 2906 |
|
|---|
| 2907 |
|
|---|
| 2908 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|---|
| 2909 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|---|
| 2910 | as_expr=expr
|
|---|
| 2911 | else
|
|---|
| 2912 | as_expr=false
|
|---|
| 2913 | fi
|
|---|
| 2914 |
|
|---|
| 2915 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|---|
| 2916 | as_basename=basename
|
|---|
| 2917 | else
|
|---|
| 2918 | as_basename=false
|
|---|
| 2919 | fi
|
|---|
| 2920 |
|
|---|
| 2921 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|---|
| 2922 | as_dirname=dirname
|
|---|
| 2923 | else
|
|---|
| 2924 | as_dirname=false
|
|---|
| 2925 | fi
|
|---|
| 2926 |
|
|---|
| 2927 | as_me=`$as_basename -- "$0" ||
|
|---|
| 2928 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|---|
| 2929 | X"$0" : 'X\(//\)$' \| \
|
|---|
| 2930 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 2931 | $as_echo X/"$0" |
|
|---|
| 2932 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|---|
| 2933 | s//\1/
|
|---|
| 2934 | q
|
|---|
| 2935 | }
|
|---|
| 2936 | /^X\/\(\/\/\)$/{
|
|---|
| 2937 | s//\1/
|
|---|
| 2938 | q
|
|---|
| 2939 | }
|
|---|
| 2940 | /^X\/\(\/\).*/{
|
|---|
| 2941 | s//\1/
|
|---|
| 2942 | q
|
|---|
| 2943 | }
|
|---|
| 2944 | s/.*/./; q'`
|
|---|
| 2945 |
|
|---|
| 2946 | # Avoid depending upon Character Ranges.
|
|---|
| 2947 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|---|
| 2948 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|---|
| 2949 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|---|
| 2950 | as_cr_digits='0123456789'
|
|---|
| 2951 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|---|
| 2952 |
|
|---|
| 2953 | ECHO_C= ECHO_N= ECHO_T=
|
|---|
| 2954 | case `echo -n x` in #(((((
|
|---|
| 2955 | -n*)
|
|---|
| 2956 | case `echo 'xy\c'` in
|
|---|
| 2957 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|---|
| 2958 | xy) ECHO_C='\c';;
|
|---|
| 2959 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|---|
| 2960 | ECHO_T=' ';;
|
|---|
| 2961 | esac;;
|
|---|
| 2962 | *)
|
|---|
| 2963 | ECHO_N='-n';;
|
|---|
| 2964 | esac
|
|---|
| 2965 |
|
|---|
| 2966 | rm -f conf$$ conf$$.exe conf$$.file
|
|---|
| 2967 | if test -d conf$$.dir; then
|
|---|
| 2968 | rm -f conf$$.dir/conf$$.file
|
|---|
| 2969 | else
|
|---|
| 2970 | rm -f conf$$.dir
|
|---|
| 2971 | mkdir conf$$.dir 2>/dev/null
|
|---|
| 2972 | fi
|
|---|
| 2973 | if (echo >conf$$.file) 2>/dev/null; then
|
|---|
| 2974 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|---|
| 2975 | as_ln_s='ln -s'
|
|---|
| 2976 | # ... but there are two gotchas:
|
|---|
| 2977 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|---|
| 2978 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|---|
| 2979 | # In both cases, we have to default to `cp -p'.
|
|---|
| 2980 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|---|
| 2981 | as_ln_s='cp -p'
|
|---|
| 2982 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
|---|
| 2983 | as_ln_s=ln
|
|---|
| 2984 | else
|
|---|
| 2985 | as_ln_s='cp -p'
|
|---|
| 2986 | fi
|
|---|
| 2987 | else
|
|---|
| 2988 | as_ln_s='cp -p'
|
|---|
| 2989 | fi
|
|---|
| 2990 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|---|
| 2991 | rmdir conf$$.dir 2>/dev/null
|
|---|
| 2992 |
|
|---|
| 2993 |
|
|---|
| 2994 | # as_fn_mkdir_p
|
|---|
| 2995 | # -------------
|
|---|
| 2996 | # Create "$as_dir" as a directory, including parents if necessary.
|
|---|
| 2997 | as_fn_mkdir_p ()
|
|---|
| 2998 | {
|
|---|
| 2999 |
|
|---|
| 3000 | case $as_dir in #(
|
|---|
| 3001 | -*) as_dir=./$as_dir;;
|
|---|
| 3002 | esac
|
|---|
| 3003 | test -d "$as_dir" || eval $as_mkdir_p || {
|
|---|
| 3004 | as_dirs=
|
|---|
| 3005 | while :; do
|
|---|
| 3006 | case $as_dir in #(
|
|---|
| 3007 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|---|
| 3008 | *) as_qdir=$as_dir;;
|
|---|
| 3009 | esac
|
|---|
| 3010 | as_dirs="'$as_qdir' $as_dirs"
|
|---|
| 3011 | as_dir=`$as_dirname -- "$as_dir" ||
|
|---|
| 3012 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 3013 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
|---|
| 3014 | X"$as_dir" : 'X\(//\)$' \| \
|
|---|
| 3015 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 3016 | $as_echo X"$as_dir" |
|
|---|
| 3017 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|---|
| 3018 | s//\1/
|
|---|
| 3019 | q
|
|---|
| 3020 | }
|
|---|
| 3021 | /^X\(\/\/\)[^/].*/{
|
|---|
| 3022 | s//\1/
|
|---|
| 3023 | q
|
|---|
| 3024 | }
|
|---|
| 3025 | /^X\(\/\/\)$/{
|
|---|
| 3026 | s//\1/
|
|---|
| 3027 | q
|
|---|
| 3028 | }
|
|---|
| 3029 | /^X\(\/\).*/{
|
|---|
| 3030 | s//\1/
|
|---|
| 3031 | q
|
|---|
| 3032 | }
|
|---|
| 3033 | s/.*/./; q'`
|
|---|
| 3034 | test -d "$as_dir" && break
|
|---|
| 3035 | done
|
|---|
| 3036 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|---|
| 3037 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|---|
| 3038 |
|
|---|
| 3039 |
|
|---|
| 3040 | } # as_fn_mkdir_p
|
|---|
| 3041 | if mkdir -p . 2>/dev/null; then
|
|---|
| 3042 | as_mkdir_p='mkdir -p "$as_dir"'
|
|---|
| 3043 | else
|
|---|
| 3044 | test -d ./-p && rmdir ./-p
|
|---|
| 3045 | as_mkdir_p=false
|
|---|
| 3046 | fi
|
|---|
| 3047 |
|
|---|
| 3048 | if test -x / >/dev/null 2>&1; then
|
|---|
| 3049 | as_test_x='test -x'
|
|---|
| 3050 | else
|
|---|
| 3051 | if ls -dL / >/dev/null 2>&1; then
|
|---|
| 3052 | as_ls_L_option=L
|
|---|
| 3053 | else
|
|---|
| 3054 | as_ls_L_option=
|
|---|
| 3055 | fi
|
|---|
| 3056 | as_test_x='
|
|---|
| 3057 | eval sh -c '\''
|
|---|
| 3058 | if test -d "$1"; then
|
|---|
| 3059 | test -d "$1/.";
|
|---|
| 3060 | else
|
|---|
| 3061 | case $1 in #(
|
|---|
| 3062 | -*)set "./$1";;
|
|---|
| 3063 | esac;
|
|---|
| 3064 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|---|
| 3065 | ???[sx]*):;;*)false;;esac;fi
|
|---|
| 3066 | '\'' sh
|
|---|
| 3067 | '
|
|---|
| 3068 | fi
|
|---|
| 3069 | as_executable_p=$as_test_x
|
|---|
| 3070 |
|
|---|
| 3071 | # Sed expression to map a string onto a valid CPP name.
|
|---|
| 3072 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|---|
| 3073 |
|
|---|
| 3074 | # Sed expression to map a string onto a valid variable name.
|
|---|
| 3075 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|---|
| 3076 |
|
|---|
| 3077 |
|
|---|
| 3078 | exec 6>&1
|
|---|
| 3079 | ## ----------------------------------- ##
|
|---|
| 3080 | ## Main body of $CONFIG_STATUS script. ##
|
|---|
| 3081 | ## ----------------------------------- ##
|
|---|
| 3082 | _ASEOF
|
|---|
| 3083 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|---|
| 3084 |
|
|---|
| 3085 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3086 | # Save the log message, to keep $0 and so on meaningful, and to
|
|---|
| 3087 | # report actual input values of CONFIG_FILES etc. instead of their
|
|---|
| 3088 | # values after options handling.
|
|---|
| 3089 | ac_log="
|
|---|
| 3090 | This file was extended by $as_me, which was
|
|---|
| 3091 | generated by GNU Autoconf 2.68. Invocation command line was
|
|---|
| 3092 |
|
|---|
| 3093 | CONFIG_FILES = $CONFIG_FILES
|
|---|
| 3094 | CONFIG_HEADERS = $CONFIG_HEADERS
|
|---|
| 3095 | CONFIG_LINKS = $CONFIG_LINKS
|
|---|
| 3096 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|---|
| 3097 | $ $0 $@
|
|---|
| 3098 |
|
|---|
| 3099 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|---|
| 3100 | "
|
|---|
| 3101 |
|
|---|
| 3102 | _ACEOF
|
|---|
| 3103 |
|
|---|
| 3104 | case $ac_config_files in *"
|
|---|
| 3105 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|---|
| 3106 | esac
|
|---|
| 3107 |
|
|---|
| 3108 |
|
|---|
| 3109 |
|
|---|
| 3110 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3111 | # Files that config.status was made for.
|
|---|
| 3112 | config_files="$ac_config_files"
|
|---|
| 3113 | config_commands="$ac_config_commands"
|
|---|
| 3114 |
|
|---|
| 3115 | _ACEOF
|
|---|
| 3116 |
|
|---|
| 3117 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3118 | ac_cs_usage="\
|
|---|
| 3119 | \`$as_me' instantiates files and other configuration actions
|
|---|
| 3120 | from templates according to the current configuration. Unless the files
|
|---|
| 3121 | and actions are specified as TAGs, all are instantiated by default.
|
|---|
| 3122 |
|
|---|
| 3123 | Usage: $0 [OPTION]... [TAG]...
|
|---|
| 3124 |
|
|---|
| 3125 | -h, --help print this help, then exit
|
|---|
| 3126 | -V, --version print version number and configuration settings, then exit
|
|---|
| 3127 | --config print configuration, then exit
|
|---|
| 3128 | -q, --quiet, --silent
|
|---|
| 3129 | do not print progress messages
|
|---|
| 3130 | -d, --debug don't remove temporary files
|
|---|
| 3131 | --recheck update $as_me by reconfiguring in the same conditions
|
|---|
| 3132 | --file=FILE[:TEMPLATE]
|
|---|
| 3133 | instantiate the configuration file FILE
|
|---|
| 3134 |
|
|---|
| 3135 | Configuration files:
|
|---|
| 3136 | $config_files
|
|---|
| 3137 |
|
|---|
| 3138 | Configuration commands:
|
|---|
| 3139 | $config_commands
|
|---|
| 3140 |
|
|---|
| 3141 | Report bugs to the package provider."
|
|---|
| 3142 |
|
|---|
| 3143 | _ACEOF
|
|---|
| 3144 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3145 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|---|
| 3146 | ac_cs_version="\\
|
|---|
| 3147 | config.status
|
|---|
| 3148 | configured by $0, generated by GNU Autoconf 2.68,
|
|---|
| 3149 | with options \\"\$ac_cs_config\\"
|
|---|
| 3150 |
|
|---|
| 3151 | Copyright (C) 2010 Free Software Foundation, Inc.
|
|---|
| 3152 | This config.status script is free software; the Free Software Foundation
|
|---|
| 3153 | gives unlimited permission to copy, distribute and modify it."
|
|---|
| 3154 |
|
|---|
| 3155 | ac_pwd='$ac_pwd'
|
|---|
| 3156 | srcdir='$srcdir'
|
|---|
| 3157 | INSTALL='$INSTALL'
|
|---|
| 3158 | test -n "\$AWK" || AWK=awk
|
|---|
| 3159 | _ACEOF
|
|---|
| 3160 |
|
|---|
| 3161 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3162 | # The default lists apply if the user does not specify any file.
|
|---|
| 3163 | ac_need_defaults=:
|
|---|
| 3164 | while test $# != 0
|
|---|
| 3165 | do
|
|---|
| 3166 | case $1 in
|
|---|
| 3167 | --*=?*)
|
|---|
| 3168 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|---|
| 3169 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|---|
| 3170 | ac_shift=:
|
|---|
| 3171 | ;;
|
|---|
| 3172 | --*=)
|
|---|
| 3173 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|---|
| 3174 | ac_optarg=
|
|---|
| 3175 | ac_shift=:
|
|---|
| 3176 | ;;
|
|---|
| 3177 | *)
|
|---|
| 3178 | ac_option=$1
|
|---|
| 3179 | ac_optarg=$2
|
|---|
| 3180 | ac_shift=shift
|
|---|
| 3181 | ;;
|
|---|
| 3182 | esac
|
|---|
| 3183 |
|
|---|
| 3184 | case $ac_option in
|
|---|
| 3185 | # Handling of the options.
|
|---|
| 3186 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|---|
| 3187 | ac_cs_recheck=: ;;
|
|---|
| 3188 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|---|
| 3189 | $as_echo "$ac_cs_version"; exit ;;
|
|---|
| 3190 | --config | --confi | --conf | --con | --co | --c )
|
|---|
| 3191 | $as_echo "$ac_cs_config"; exit ;;
|
|---|
| 3192 | --debug | --debu | --deb | --de | --d | -d )
|
|---|
| 3193 | debug=: ;;
|
|---|
| 3194 | --file | --fil | --fi | --f )
|
|---|
| 3195 | $ac_shift
|
|---|
| 3196 | case $ac_optarg in
|
|---|
| 3197 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|---|
| 3198 | '') as_fn_error $? "missing file argument" ;;
|
|---|
| 3199 | esac
|
|---|
| 3200 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|---|
| 3201 | ac_need_defaults=false;;
|
|---|
| 3202 | --he | --h | --help | --hel | -h )
|
|---|
| 3203 | $as_echo "$ac_cs_usage"; exit ;;
|
|---|
| 3204 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|---|
| 3205 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|---|
| 3206 | ac_cs_silent=: ;;
|
|---|
| 3207 |
|
|---|
| 3208 | # This is an error.
|
|---|
| 3209 | -*) as_fn_error $? "unrecognized option: \`$1'
|
|---|
| 3210 | Try \`$0 --help' for more information." ;;
|
|---|
| 3211 |
|
|---|
| 3212 | *) as_fn_append ac_config_targets " $1"
|
|---|
| 3213 | ac_need_defaults=false ;;
|
|---|
| 3214 |
|
|---|
| 3215 | esac
|
|---|
| 3216 | shift
|
|---|
| 3217 | done
|
|---|
| 3218 |
|
|---|
| 3219 | ac_configure_extra_args=
|
|---|
| 3220 |
|
|---|
| 3221 | if $ac_cs_silent; then
|
|---|
| 3222 | exec 6>/dev/null
|
|---|
| 3223 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|---|
| 3224 | fi
|
|---|
| 3225 |
|
|---|
| 3226 | _ACEOF
|
|---|
| 3227 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3228 | if \$ac_cs_recheck; then
|
|---|
| 3229 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|---|
| 3230 | shift
|
|---|
| 3231 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|---|
| 3232 | CONFIG_SHELL='$SHELL'
|
|---|
| 3233 | export CONFIG_SHELL
|
|---|
| 3234 | exec "\$@"
|
|---|
| 3235 | fi
|
|---|
| 3236 |
|
|---|
| 3237 | _ACEOF
|
|---|
| 3238 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3239 | exec 5>>config.log
|
|---|
| 3240 | {
|
|---|
| 3241 | echo
|
|---|
| 3242 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|---|
| 3243 | ## Running $as_me. ##
|
|---|
| 3244 | _ASBOX
|
|---|
| 3245 | $as_echo "$ac_log"
|
|---|
| 3246 | } >&5
|
|---|
| 3247 |
|
|---|
| 3248 | _ACEOF
|
|---|
| 3249 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3250 | #
|
|---|
| 3251 | # INIT-COMMANDS
|
|---|
| 3252 | #
|
|---|
| 3253 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|---|
| 3254 | srcdir=${srcdir}
|
|---|
| 3255 | target=${target}
|
|---|
| 3256 | with_multisubdir=${with_multisubdir}
|
|---|
| 3257 | ac_configure_args="${ac_configure_args} --enable-multilib"
|
|---|
| 3258 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
|
|---|
| 3259 | libgloss_topdir=${libgloss_topdir}
|
|---|
| 3260 |
|
|---|
| 3261 |
|
|---|
| 3262 | _ACEOF
|
|---|
| 3263 |
|
|---|
| 3264 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3265 |
|
|---|
| 3266 | # Handling of arguments.
|
|---|
| 3267 | for ac_config_target in $ac_config_targets
|
|---|
| 3268 | do
|
|---|
| 3269 | case $ac_config_target in
|
|---|
| 3270 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|---|
| 3271 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|---|
| 3272 |
|
|---|
| 3273 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|---|
| 3274 | esac
|
|---|
| 3275 | done
|
|---|
| 3276 |
|
|---|
| 3277 |
|
|---|
| 3278 | # If the user did not use the arguments to specify the items to instantiate,
|
|---|
| 3279 | # then the envvar interface is used. Set only those that are not.
|
|---|
| 3280 | # We use the long form for the default assignment because of an extremely
|
|---|
| 3281 | # bizarre bug on SunOS 4.1.3.
|
|---|
| 3282 | if $ac_need_defaults; then
|
|---|
| 3283 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|---|
| 3284 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|---|
| 3285 | fi
|
|---|
| 3286 |
|
|---|
| 3287 | # Have a temporary directory for convenience. Make it in the build tree
|
|---|
| 3288 | # simply because there is no reason against having it here, and in addition,
|
|---|
| 3289 | # creating and moving files from /tmp can sometimes cause problems.
|
|---|
| 3290 | # Hook for its removal unless debugging.
|
|---|
| 3291 | # Note that there is a small window in which the directory will not be cleaned:
|
|---|
| 3292 | # after its creation but before its name has been assigned to `$tmp'.
|
|---|
| 3293 | $debug ||
|
|---|
| 3294 | {
|
|---|
| 3295 | tmp= ac_tmp=
|
|---|
| 3296 | trap 'exit_status=$?
|
|---|
| 3297 | : "${ac_tmp:=$tmp}"
|
|---|
| 3298 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|---|
| 3299 | ' 0
|
|---|
| 3300 | trap 'as_fn_exit 1' 1 2 13 15
|
|---|
| 3301 | }
|
|---|
| 3302 | # Create a (secure) tmp directory for tmp files.
|
|---|
| 3303 |
|
|---|
| 3304 | {
|
|---|
| 3305 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|---|
| 3306 | test -d "$tmp"
|
|---|
| 3307 | } ||
|
|---|
| 3308 | {
|
|---|
| 3309 | tmp=./conf$$-$RANDOM
|
|---|
| 3310 | (umask 077 && mkdir "$tmp")
|
|---|
| 3311 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
|---|
| 3312 | ac_tmp=$tmp
|
|---|
| 3313 |
|
|---|
| 3314 | # Set up the scripts for CONFIG_FILES section.
|
|---|
| 3315 | # No need to generate them if there are no CONFIG_FILES.
|
|---|
| 3316 | # This happens for instance with `./config.status config.h'.
|
|---|
| 3317 | if test -n "$CONFIG_FILES"; then
|
|---|
| 3318 |
|
|---|
| 3319 | if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
|
|---|
| 3320 | ac_cs_awk_getline=:
|
|---|
| 3321 | ac_cs_awk_pipe_init=
|
|---|
| 3322 | ac_cs_awk_read_file='
|
|---|
| 3323 | while ((getline aline < (F[key])) > 0)
|
|---|
| 3324 | print(aline)
|
|---|
| 3325 | close(F[key])'
|
|---|
| 3326 | ac_cs_awk_pipe_fini=
|
|---|
| 3327 | else
|
|---|
| 3328 | ac_cs_awk_getline=false
|
|---|
| 3329 | ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
|
|---|
| 3330 | ac_cs_awk_read_file='
|
|---|
| 3331 | print "|#_!!_#|"
|
|---|
| 3332 | print "cat " F[key] " &&"
|
|---|
| 3333 | '$ac_cs_awk_pipe_init
|
|---|
| 3334 | # The final `:' finishes the AND list.
|
|---|
| 3335 | ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
|
|---|
| 3336 | fi
|
|---|
| 3337 | ac_cr=`echo X | tr X '\015'`
|
|---|
| 3338 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|---|
| 3339 | # But we know of no other shell where ac_cr would be empty at this
|
|---|
| 3340 | # point, so we can use a bashism as a fallback.
|
|---|
| 3341 | if test "x$ac_cr" = x; then
|
|---|
| 3342 | eval ac_cr=\$\'\\r\'
|
|---|
| 3343 | fi
|
|---|
| 3344 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|---|
| 3345 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|---|
| 3346 | ac_cs_awk_cr='\\r'
|
|---|
| 3347 | else
|
|---|
| 3348 | ac_cs_awk_cr=$ac_cr
|
|---|
| 3349 | fi
|
|---|
| 3350 |
|
|---|
| 3351 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
|---|
| 3352 | _ACEOF
|
|---|
| 3353 |
|
|---|
| 3354 | # Create commands to substitute file output variables.
|
|---|
| 3355 | {
|
|---|
| 3356 | echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
|
|---|
| 3357 | echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
|
|---|
| 3358 | echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
|
|---|
| 3359 | echo "_ACAWK" &&
|
|---|
| 3360 | echo "_ACEOF"
|
|---|
| 3361 | } >conf$$files.sh &&
|
|---|
| 3362 | . ./conf$$files.sh ||
|
|---|
| 3363 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|---|
| 3364 | rm -f conf$$files.sh
|
|---|
| 3365 |
|
|---|
| 3366 | {
|
|---|
| 3367 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|---|
| 3368 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|---|
| 3369 | echo "_ACEOF"
|
|---|
| 3370 | } >conf$$subs.sh ||
|
|---|
| 3371 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|---|
| 3372 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
|---|
| 3373 | ac_delim='%!_!# '
|
|---|
| 3374 | for ac_last_try in false false false false false :; do
|
|---|
| 3375 | . ./conf$$subs.sh ||
|
|---|
| 3376 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|---|
| 3377 |
|
|---|
| 3378 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|---|
| 3379 | if test $ac_delim_n = $ac_delim_num; then
|
|---|
| 3380 | break
|
|---|
| 3381 | elif $ac_last_try; then
|
|---|
| 3382 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|---|
| 3383 | else
|
|---|
| 3384 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|---|
| 3385 | fi
|
|---|
| 3386 | done
|
|---|
| 3387 | rm -f conf$$subs.sh
|
|---|
| 3388 |
|
|---|
| 3389 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3390 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
|---|
| 3391 | _ACEOF
|
|---|
| 3392 | sed -n '
|
|---|
| 3393 | h
|
|---|
| 3394 | s/^/S["/; s/!.*/"]=/
|
|---|
| 3395 | p
|
|---|
| 3396 | g
|
|---|
| 3397 | s/^[^!]*!//
|
|---|
| 3398 | :repl
|
|---|
| 3399 | t repl
|
|---|
| 3400 | s/'"$ac_delim"'$//
|
|---|
| 3401 | t delim
|
|---|
| 3402 | :nl
|
|---|
| 3403 | h
|
|---|
| 3404 | s/\(.\{148\}\)..*/\1/
|
|---|
| 3405 | t more1
|
|---|
| 3406 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|---|
| 3407 | p
|
|---|
| 3408 | n
|
|---|
| 3409 | b repl
|
|---|
| 3410 | :more1
|
|---|
| 3411 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|---|
| 3412 | p
|
|---|
| 3413 | g
|
|---|
| 3414 | s/.\{148\}//
|
|---|
| 3415 | t nl
|
|---|
| 3416 | :delim
|
|---|
| 3417 | h
|
|---|
| 3418 | s/\(.\{148\}\)..*/\1/
|
|---|
| 3419 | t more2
|
|---|
| 3420 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|---|
| 3421 | p
|
|---|
| 3422 | b
|
|---|
| 3423 | :more2
|
|---|
| 3424 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|---|
| 3425 | p
|
|---|
| 3426 | g
|
|---|
| 3427 | s/.\{148\}//
|
|---|
| 3428 | t delim
|
|---|
| 3429 | ' <conf$$subs.awk | sed '
|
|---|
| 3430 | /^[^""]/{
|
|---|
| 3431 | N
|
|---|
| 3432 | s/\n//
|
|---|
| 3433 | }
|
|---|
| 3434 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
|---|
| 3435 | rm -f conf$$subs.awk
|
|---|
| 3436 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3437 | _ACAWK
|
|---|
| 3438 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
|---|
| 3439 | for (key in S) S_is_set[key] = 1
|
|---|
| 3440 | FS = ""
|
|---|
| 3441 | \$ac_cs_awk_pipe_init
|
|---|
| 3442 | }
|
|---|
| 3443 | {
|
|---|
| 3444 | line = $ 0
|
|---|
| 3445 | nfields = split(line, field, "@")
|
|---|
| 3446 | substed = 0
|
|---|
| 3447 | len = length(field[1])
|
|---|
| 3448 | for (i = 2; i < nfields; i++) {
|
|---|
| 3449 | key = field[i]
|
|---|
| 3450 | keylen = length(key)
|
|---|
| 3451 | if (S_is_set[key]) {
|
|---|
| 3452 | value = S[key]
|
|---|
| 3453 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|---|
| 3454 | len += length(value) + length(field[++i])
|
|---|
| 3455 | substed = 1
|
|---|
| 3456 | } else
|
|---|
| 3457 | len += 1 + keylen
|
|---|
| 3458 | }
|
|---|
| 3459 | if (nfields == 3 && !substed) {
|
|---|
| 3460 | key = field[2]
|
|---|
| 3461 | if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
|
|---|
| 3462 | \$ac_cs_awk_read_file
|
|---|
| 3463 | next
|
|---|
| 3464 | }
|
|---|
| 3465 | }
|
|---|
| 3466 | print line
|
|---|
| 3467 | }
|
|---|
| 3468 | \$ac_cs_awk_pipe_fini
|
|---|
| 3469 | _ACAWK
|
|---|
| 3470 | _ACEOF
|
|---|
| 3471 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3472 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|---|
| 3473 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|---|
| 3474 | else
|
|---|
| 3475 | cat
|
|---|
| 3476 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
|---|
| 3477 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|---|
| 3478 | _ACEOF
|
|---|
| 3479 |
|
|---|
| 3480 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
|---|
| 3481 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
|---|
| 3482 | # trailing colons and then remove the whole line if VPATH becomes empty
|
|---|
| 3483 | # (actually we leave an empty line to preserve line numbers).
|
|---|
| 3484 | if test "x$srcdir" = x.; then
|
|---|
| 3485 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|---|
| 3486 | h
|
|---|
| 3487 | s///
|
|---|
| 3488 | s/^/:/
|
|---|
| 3489 | s/[ ]*$/:/
|
|---|
| 3490 | s/:\$(srcdir):/:/g
|
|---|
| 3491 | s/:\${srcdir}:/:/g
|
|---|
| 3492 | s/:@srcdir@:/:/g
|
|---|
| 3493 | s/^:*//
|
|---|
| 3494 | s/:*$//
|
|---|
| 3495 | x
|
|---|
| 3496 | s/\(=[ ]*\).*/\1/
|
|---|
| 3497 | G
|
|---|
| 3498 | s/\n//
|
|---|
| 3499 | s/^[^=]*=[ ]*$//
|
|---|
| 3500 | }'
|
|---|
| 3501 | fi
|
|---|
| 3502 |
|
|---|
| 3503 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3504 | fi # test -n "$CONFIG_FILES"
|
|---|
| 3505 |
|
|---|
| 3506 |
|
|---|
| 3507 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
|
|---|
| 3508 | shift
|
|---|
| 3509 | for ac_tag
|
|---|
| 3510 | do
|
|---|
| 3511 | case $ac_tag in
|
|---|
| 3512 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
|---|
| 3513 | esac
|
|---|
| 3514 | case $ac_mode$ac_tag in
|
|---|
| 3515 | :[FHL]*:*);;
|
|---|
| 3516 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|---|
| 3517 | :[FH]-) ac_tag=-:-;;
|
|---|
| 3518 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|---|
| 3519 | esac
|
|---|
| 3520 | ac_save_IFS=$IFS
|
|---|
| 3521 | IFS=:
|
|---|
| 3522 | set x $ac_tag
|
|---|
| 3523 | IFS=$ac_save_IFS
|
|---|
| 3524 | shift
|
|---|
| 3525 | ac_file=$1
|
|---|
| 3526 | shift
|
|---|
| 3527 |
|
|---|
| 3528 | case $ac_mode in
|
|---|
| 3529 | :L) ac_source=$1;;
|
|---|
| 3530 | :[FH])
|
|---|
| 3531 | ac_file_inputs=
|
|---|
| 3532 | for ac_f
|
|---|
| 3533 | do
|
|---|
| 3534 | case $ac_f in
|
|---|
| 3535 | -) ac_f="$ac_tmp/stdin";;
|
|---|
| 3536 | *) # Look for the file first in the build tree, then in the source tree
|
|---|
| 3537 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
|---|
| 3538 | # because $ac_f cannot contain `:'.
|
|---|
| 3539 | test -f "$ac_f" ||
|
|---|
| 3540 | case $ac_f in
|
|---|
| 3541 | [\\/$]*) false;;
|
|---|
| 3542 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|---|
| 3543 | esac ||
|
|---|
| 3544 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|---|
| 3545 | esac
|
|---|
| 3546 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|---|
| 3547 | as_fn_append ac_file_inputs " '$ac_f'"
|
|---|
| 3548 | done
|
|---|
| 3549 |
|
|---|
| 3550 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
|---|
| 3551 | # use $as_me), people would be surprised to read:
|
|---|
| 3552 | # /* config.h. Generated by config.status. */
|
|---|
| 3553 | configure_input='Generated from '`
|
|---|
| 3554 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|---|
| 3555 | `' by configure.'
|
|---|
| 3556 | if test x"$ac_file" != x-; then
|
|---|
| 3557 | configure_input="$ac_file. $configure_input"
|
|---|
| 3558 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|---|
| 3559 | $as_echo "$as_me: creating $ac_file" >&6;}
|
|---|
| 3560 | fi
|
|---|
| 3561 | # Neutralize special characters interpreted by sed in replacement strings.
|
|---|
| 3562 | case $configure_input in #(
|
|---|
| 3563 | *\&* | *\|* | *\\* )
|
|---|
| 3564 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
|---|
| 3565 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|---|
| 3566 | *) ac_sed_conf_input=$configure_input;;
|
|---|
| 3567 | esac
|
|---|
| 3568 |
|
|---|
| 3569 | case $ac_tag in
|
|---|
| 3570 | *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
|---|
| 3571 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
|---|
| 3572 | esac
|
|---|
| 3573 | ;;
|
|---|
| 3574 | esac
|
|---|
| 3575 |
|
|---|
| 3576 | ac_dir=`$as_dirname -- "$ac_file" ||
|
|---|
| 3577 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 3578 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
|---|
| 3579 | X"$ac_file" : 'X\(//\)$' \| \
|
|---|
| 3580 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 3581 | $as_echo X"$ac_file" |
|
|---|
| 3582 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|---|
| 3583 | s//\1/
|
|---|
| 3584 | q
|
|---|
| 3585 | }
|
|---|
| 3586 | /^X\(\/\/\)[^/].*/{
|
|---|
| 3587 | s//\1/
|
|---|
| 3588 | q
|
|---|
| 3589 | }
|
|---|
| 3590 | /^X\(\/\/\)$/{
|
|---|
| 3591 | s//\1/
|
|---|
| 3592 | q
|
|---|
| 3593 | }
|
|---|
| 3594 | /^X\(\/\).*/{
|
|---|
| 3595 | s//\1/
|
|---|
| 3596 | q
|
|---|
| 3597 | }
|
|---|
| 3598 | s/.*/./; q'`
|
|---|
| 3599 | as_dir="$ac_dir"; as_fn_mkdir_p
|
|---|
| 3600 | ac_builddir=.
|
|---|
| 3601 |
|
|---|
| 3602 | case "$ac_dir" in
|
|---|
| 3603 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|---|
| 3604 | *)
|
|---|
| 3605 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|---|
| 3606 | # A ".." for each directory in $ac_dir_suffix.
|
|---|
| 3607 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|---|
| 3608 | case $ac_top_builddir_sub in
|
|---|
| 3609 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|---|
| 3610 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|---|
| 3611 | esac ;;
|
|---|
| 3612 | esac
|
|---|
| 3613 | ac_abs_top_builddir=$ac_pwd
|
|---|
| 3614 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|---|
| 3615 | # for backward compatibility:
|
|---|
| 3616 | ac_top_builddir=$ac_top_build_prefix
|
|---|
| 3617 |
|
|---|
| 3618 | case $srcdir in
|
|---|
| 3619 | .) # We are building in place.
|
|---|
| 3620 | ac_srcdir=.
|
|---|
| 3621 | ac_top_srcdir=$ac_top_builddir_sub
|
|---|
| 3622 | ac_abs_top_srcdir=$ac_pwd ;;
|
|---|
| 3623 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
|---|
| 3624 | ac_srcdir=$srcdir$ac_dir_suffix;
|
|---|
| 3625 | ac_top_srcdir=$srcdir
|
|---|
| 3626 | ac_abs_top_srcdir=$srcdir ;;
|
|---|
| 3627 | *) # Relative name.
|
|---|
| 3628 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|---|
| 3629 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|---|
| 3630 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|---|
| 3631 | esac
|
|---|
| 3632 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|---|
| 3633 |
|
|---|
| 3634 |
|
|---|
| 3635 | case $ac_mode in
|
|---|
| 3636 | :F)
|
|---|
| 3637 | #
|
|---|
| 3638 | # CONFIG_FILE
|
|---|
| 3639 | #
|
|---|
| 3640 |
|
|---|
| 3641 | case $INSTALL in
|
|---|
| 3642 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|---|
| 3643 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
|---|
| 3644 | esac
|
|---|
| 3645 | _ACEOF
|
|---|
| 3646 |
|
|---|
| 3647 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3648 | # If the template does not know about datarootdir, expand it.
|
|---|
| 3649 | # FIXME: This hack should be removed a few years after 2.60.
|
|---|
| 3650 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
|---|
| 3651 | ac_sed_dataroot='
|
|---|
| 3652 | /datarootdir/ {
|
|---|
| 3653 | p
|
|---|
| 3654 | q
|
|---|
| 3655 | }
|
|---|
| 3656 | /@datadir@/p
|
|---|
| 3657 | /@docdir@/p
|
|---|
| 3658 | /@infodir@/p
|
|---|
| 3659 | /@localedir@/p
|
|---|
| 3660 | /@mandir@/p'
|
|---|
| 3661 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
|---|
| 3662 | *datarootdir*) ac_datarootdir_seen=yes;;
|
|---|
| 3663 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|---|
| 3664 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|---|
| 3665 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|---|
| 3666 | _ACEOF
|
|---|
| 3667 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3668 | ac_datarootdir_hack='
|
|---|
| 3669 | s&@datadir@&$datadir&g
|
|---|
| 3670 | s&@docdir@&$docdir&g
|
|---|
| 3671 | s&@infodir@&$infodir&g
|
|---|
| 3672 | s&@localedir@&$localedir&g
|
|---|
| 3673 | s&@mandir@&$mandir&g
|
|---|
| 3674 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
|---|
| 3675 | esac
|
|---|
| 3676 | _ACEOF
|
|---|
| 3677 |
|
|---|
| 3678 | # Neutralize VPATH when `$srcdir' = `.'.
|
|---|
| 3679 | # Shell code in configure.ac might set extrasub.
|
|---|
| 3680 | # FIXME: do we really want to maintain this feature?
|
|---|
| 3681 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|---|
| 3682 | ac_sed_extra="$ac_vpsub
|
|---|
| 3683 | $extrasub
|
|---|
| 3684 | _ACEOF
|
|---|
| 3685 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|---|
| 3686 | :t
|
|---|
| 3687 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|---|
| 3688 | s|@configure_input@|$ac_sed_conf_input|;t t
|
|---|
| 3689 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|---|
| 3690 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
|---|
| 3691 | s&@srcdir@&$ac_srcdir&;t t
|
|---|
| 3692 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|---|
| 3693 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
|---|
| 3694 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|---|
| 3695 | s&@builddir@&$ac_builddir&;t t
|
|---|
| 3696 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
|---|
| 3697 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|---|
| 3698 | s&@INSTALL@&$ac_INSTALL&;t t
|
|---|
| 3699 | $ac_datarootdir_hack
|
|---|
| 3700 | "
|
|---|
| 3701 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
|
|---|
| 3702 | if $ac_cs_awk_getline; then
|
|---|
| 3703 | $AWK -f "$ac_tmp/subs.awk"
|
|---|
| 3704 | else
|
|---|
| 3705 | $AWK -f "$ac_tmp/subs.awk" | $SHELL
|
|---|
| 3706 | fi \
|
|---|
| 3707 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|---|
| 3708 |
|
|---|
| 3709 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|---|
| 3710 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
|---|
| 3711 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|---|
| 3712 | "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|---|
| 3713 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|---|
| 3714 | which seems to be undefined. Please make sure it is defined" >&5
|
|---|
| 3715 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|---|
| 3716 | which seems to be undefined. Please make sure it is defined" >&2;}
|
|---|
| 3717 |
|
|---|
| 3718 | rm -f "$ac_tmp/stdin"
|
|---|
| 3719 | case $ac_file in
|
|---|
| 3720 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
|---|
| 3721 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
|---|
| 3722 | esac \
|
|---|
| 3723 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|---|
| 3724 | ;;
|
|---|
| 3725 |
|
|---|
| 3726 |
|
|---|
| 3727 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|---|
| 3728 | $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|---|
| 3729 | ;;
|
|---|
| 3730 | esac
|
|---|
| 3731 |
|
|---|
| 3732 |
|
|---|
| 3733 | case $ac_file$ac_mode in
|
|---|
| 3734 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|---|
| 3735 | # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|---|
| 3736 | # are listed without --file. Let's play safe and only enable the eval
|
|---|
| 3737 | # if we detect the quoting.
|
|---|
| 3738 | case $CONFIG_FILES in
|
|---|
| 3739 | *\'*) eval set x "$CONFIG_FILES" ;;
|
|---|
| 3740 | *) set x $CONFIG_FILES ;;
|
|---|
| 3741 | esac
|
|---|
| 3742 | shift
|
|---|
| 3743 | for mf
|
|---|
| 3744 | do
|
|---|
| 3745 | # Strip MF so we end up with the name of the file.
|
|---|
| 3746 | mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|---|
| 3747 | # Check whether this is an Automake generated Makefile or not.
|
|---|
| 3748 | # We used to match only the files named `Makefile.in', but
|
|---|
| 3749 | # some people rename them; so instead we look at the file content.
|
|---|
| 3750 | # Grep'ing the first line is not enough: some people post-process
|
|---|
| 3751 | # each Makefile.in and add a new line on top of each file to say so.
|
|---|
| 3752 | # Grep'ing the whole file is not good either: AIX grep has a line
|
|---|
| 3753 | # limit of 2048, but all sed's we know have understand at least 4000.
|
|---|
| 3754 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|---|
| 3755 | dirpart=`$as_dirname -- "$mf" ||
|
|---|
| 3756 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 3757 | X"$mf" : 'X\(//\)[^/]' \| \
|
|---|
| 3758 | X"$mf" : 'X\(//\)$' \| \
|
|---|
| 3759 | X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 3760 | $as_echo X"$mf" |
|
|---|
| 3761 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|---|
| 3762 | s//\1/
|
|---|
| 3763 | q
|
|---|
| 3764 | }
|
|---|
| 3765 | /^X\(\/\/\)[^/].*/{
|
|---|
| 3766 | s//\1/
|
|---|
| 3767 | q
|
|---|
| 3768 | }
|
|---|
| 3769 | /^X\(\/\/\)$/{
|
|---|
| 3770 | s//\1/
|
|---|
| 3771 | q
|
|---|
| 3772 | }
|
|---|
| 3773 | /^X\(\/\).*/{
|
|---|
| 3774 | s//\1/
|
|---|
| 3775 | q
|
|---|
| 3776 | }
|
|---|
| 3777 | s/.*/./; q'`
|
|---|
| 3778 | else
|
|---|
| 3779 | continue
|
|---|
| 3780 | fi
|
|---|
| 3781 | # Extract the definition of DEPDIR, am__include, and am__quote
|
|---|
| 3782 | # from the Makefile without running `make'.
|
|---|
| 3783 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|---|
| 3784 | test -z "$DEPDIR" && continue
|
|---|
| 3785 | am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|---|
| 3786 | test -z "am__include" && continue
|
|---|
| 3787 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|---|
| 3788 | # When using ansi2knr, U may be empty or an underscore; expand it
|
|---|
| 3789 | U=`sed -n 's/^U = //p' < "$mf"`
|
|---|
| 3790 | # Find all dependency output files, they are included files with
|
|---|
| 3791 | # $(DEPDIR) in their names. We invoke sed twice because it is the
|
|---|
| 3792 | # simplest approach to changing $(DEPDIR) to its actual value in the
|
|---|
| 3793 | # expansion.
|
|---|
| 3794 | for file in `sed -n "
|
|---|
| 3795 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|---|
| 3796 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|---|
| 3797 | # Make sure the directory exists.
|
|---|
| 3798 | test -f "$dirpart/$file" && continue
|
|---|
| 3799 | fdir=`$as_dirname -- "$file" ||
|
|---|
| 3800 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|---|
| 3801 | X"$file" : 'X\(//\)[^/]' \| \
|
|---|
| 3802 | X"$file" : 'X\(//\)$' \| \
|
|---|
| 3803 | X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
|---|
| 3804 | $as_echo X"$file" |
|
|---|
| 3805 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|---|
| 3806 | s//\1/
|
|---|
| 3807 | q
|
|---|
| 3808 | }
|
|---|
| 3809 | /^X\(\/\/\)[^/].*/{
|
|---|
| 3810 | s//\1/
|
|---|
| 3811 | q
|
|---|
| 3812 | }
|
|---|
| 3813 | /^X\(\/\/\)$/{
|
|---|
| 3814 | s//\1/
|
|---|
| 3815 | q
|
|---|
| 3816 | }
|
|---|
| 3817 | /^X\(\/\).*/{
|
|---|
| 3818 | s//\1/
|
|---|
| 3819 | q
|
|---|
| 3820 | }
|
|---|
| 3821 | s/.*/./; q'`
|
|---|
| 3822 | as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|---|
| 3823 | # echo "creating $dirpart/$file"
|
|---|
| 3824 | echo '# dummy' > "$dirpart/$file"
|
|---|
| 3825 | done
|
|---|
| 3826 | done
|
|---|
| 3827 | }
|
|---|
| 3828 | ;;
|
|---|
| 3829 | "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
|
|---|
| 3830 |
|
|---|
| 3831 | esac
|
|---|
| 3832 | done # for ac_tag
|
|---|
| 3833 |
|
|---|
| 3834 |
|
|---|
| 3835 | as_fn_exit 0
|
|---|
| 3836 | _ACEOF
|
|---|
| 3837 | ac_clean_files=$ac_clean_files_save
|
|---|
| 3838 |
|
|---|
| 3839 | test $ac_write_fail = 0 ||
|
|---|
| 3840 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
|---|
| 3841 |
|
|---|
| 3842 |
|
|---|
| 3843 | # configure is writing to config.log, and then calls config.status.
|
|---|
| 3844 | # config.status does its own redirection, appending to config.log.
|
|---|
| 3845 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
|---|
| 3846 | # by configure, so config.status won't be able to write to it; its
|
|---|
| 3847 | # output is simply discarded. So we exec the FD to /dev/null,
|
|---|
| 3848 | # effectively closing config.log, so it can be properly (re)opened and
|
|---|
| 3849 | # appended to by config.status. When coming back to configure, we
|
|---|
| 3850 | # need to make the FD available again.
|
|---|
| 3851 | if test "$no_create" != yes; then
|
|---|
| 3852 | ac_cs_success=:
|
|---|
| 3853 | ac_config_status_args=
|
|---|
| 3854 | test "$silent" = yes &&
|
|---|
| 3855 | ac_config_status_args="$ac_config_status_args --quiet"
|
|---|
| 3856 | exec 5>/dev/null
|
|---|
| 3857 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
|---|
| 3858 | exec 5>>config.log
|
|---|
| 3859 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|---|
| 3860 | # would make configure fail if this is the last instruction.
|
|---|
| 3861 | $ac_cs_success || as_fn_exit 1
|
|---|
| 3862 | fi
|
|---|
| 3863 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|---|
| 3864 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|---|
| 3865 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|---|
| 3866 | fi
|
|---|
| 3867 |
|
|---|