[10737] | 1 | #! /bin/sh
|
---|
[26708] | 2 | # From configure.in Revision: 26707 .
|
---|
[10737] | 3 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[25173] | 4 | # Generated by GNU Autoconf 2.68.
|
---|
[10737] | 5 | #
|
---|
[25173] | 6 | #
|
---|
| 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
| 8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
---|
| 9 | # Foundation, Inc.
|
---|
| 10 | #
|
---|
| 11 | #
|
---|
[10737] | 12 | # This configure script is free software; the Free Software Foundation
|
---|
| 13 | # gives unlimited permission to copy, distribute and modify it.
|
---|
[25173] | 14 | ## -------------------- ##
|
---|
| 15 | ## M4sh Initialization. ##
|
---|
| 16 | ## -------------------- ##
|
---|
[10737] | 17 |
|
---|
[25173] | 18 | # Be more Bourne compatible
|
---|
| 19 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 20 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[10737] | 21 | emulate sh
|
---|
| 22 | NULLCMD=:
|
---|
[25173] | 23 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[10737] | 24 | # is contrary to our usage. Disable this feature.
|
---|
| 25 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25173] | 26 | setopt NO_GLOB_SUBST
|
---|
| 27 | else
|
---|
| 28 | case `(set -o) 2>/dev/null` in #(
|
---|
| 29 | *posix*) :
|
---|
| 30 | set -o posix ;; #(
|
---|
| 31 | *) :
|
---|
| 32 | ;;
|
---|
| 33 | esac
|
---|
[10737] | 34 | fi
|
---|
| 35 |
|
---|
[25173] | 36 |
|
---|
| 37 | as_nl='
|
---|
| 38 | '
|
---|
| 39 | export as_nl
|
---|
| 40 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 41 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 44 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 45 | # but without wasting forks for bash or zsh.
|
---|
| 46 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 47 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 48 | as_echo='print -r --'
|
---|
| 49 | as_echo_n='print -rn --'
|
---|
| 50 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 51 | as_echo='printf %s\n'
|
---|
| 52 | as_echo_n='printf %s'
|
---|
[10737] | 53 | else
|
---|
[25173] | 54 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 55 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 56 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 57 | else
|
---|
| 58 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 59 | as_echo_n_body='eval
|
---|
| 60 | arg=$1;
|
---|
| 61 | case $arg in #(
|
---|
| 62 | *"$as_nl"*)
|
---|
| 63 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 64 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 65 | esac;
|
---|
| 66 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 67 | '
|
---|
| 68 | export as_echo_n_body
|
---|
| 69 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 70 | fi
|
---|
| 71 | export as_echo_body
|
---|
| 72 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[10737] | 73 | fi
|
---|
| 74 |
|
---|
[25173] | 75 | # The user is always right.
|
---|
| 76 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 77 | PATH_SEPARATOR=:
|
---|
| 78 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 79 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 80 | PATH_SEPARATOR=';'
|
---|
| 81 | }
|
---|
| 82 | fi
|
---|
[10737] | 83 |
|
---|
[25173] | 84 |
|
---|
| 85 | # IFS
|
---|
| 86 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 87 | # there to prevent editors from complaining about space-tab.
|
---|
| 88 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 89 | # splitting by setting IFS to empty value.)
|
---|
| 90 | IFS=" "" $as_nl"
|
---|
| 91 |
|
---|
| 92 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 93 | as_myself=
|
---|
| 94 | case $0 in #((
|
---|
| 95 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 96 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 97 | for as_dir in $PATH
|
---|
| 98 | do
|
---|
| 99 | IFS=$as_save_IFS
|
---|
| 100 | test -z "$as_dir" && as_dir=.
|
---|
| 101 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 102 | done
|
---|
| 103 | IFS=$as_save_IFS
|
---|
| 104 |
|
---|
| 105 | ;;
|
---|
| 106 | esac
|
---|
| 107 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 108 | # in which case we are not to be found in the path.
|
---|
| 109 | if test "x$as_myself" = x; then
|
---|
| 110 | as_myself=$0
|
---|
| 111 | fi
|
---|
| 112 | if test ! -f "$as_myself"; then
|
---|
| 113 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 114 | exit 1
|
---|
| 115 | fi
|
---|
| 116 |
|
---|
| 117 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 118 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 119 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 120 | # trigger a bug in pdksh 5.2.14.
|
---|
| 121 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 122 | do eval test x\${$as_var+set} = xset \
|
---|
| 123 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 124 | done
|
---|
[10737] | 125 | PS1='$ '
|
---|
| 126 | PS2='> '
|
---|
| 127 | PS4='+ '
|
---|
| 128 |
|
---|
| 129 | # NLS nuisances.
|
---|
[25173] | 130 | LC_ALL=C
|
---|
| 131 | export LC_ALL
|
---|
| 132 | LANGUAGE=C
|
---|
| 133 | export LANGUAGE
|
---|
| 134 |
|
---|
| 135 | # CDPATH.
|
---|
| 136 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 137 |
|
---|
| 138 | if test "x$CONFIG_SHELL" = x; then
|
---|
| 139 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
---|
| 140 | emulate sh
|
---|
| 141 | NULLCMD=:
|
---|
| 142 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
---|
| 143 | # is contrary to our usage. Disable this feature.
|
---|
| 144 | alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
---|
| 145 | setopt NO_GLOB_SUBST
|
---|
| 146 | else
|
---|
| 147 | case \`(set -o) 2>/dev/null\` in #(
|
---|
| 148 | *posix*) :
|
---|
| 149 | set -o posix ;; #(
|
---|
| 150 | *) :
|
---|
| 151 | ;;
|
---|
| 152 | esac
|
---|
| 153 | fi
|
---|
| 154 | "
|
---|
| 155 | as_required="as_fn_return () { (exit \$1); }
|
---|
| 156 | as_fn_success () { as_fn_return 0; }
|
---|
| 157 | as_fn_failure () { as_fn_return 1; }
|
---|
| 158 | as_fn_ret_success () { return 0; }
|
---|
| 159 | as_fn_ret_failure () { return 1; }
|
---|
| 160 |
|
---|
| 161 | exitcode=0
|
---|
| 162 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
| 163 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
| 164 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
| 165 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
| 166 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
| 167 |
|
---|
| 168 | else
|
---|
| 169 | exitcode=1; echo positional parameters were not saved.
|
---|
| 170 | fi
|
---|
| 171 | test x\$exitcode = x0 || exit 1"
|
---|
| 172 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
---|
| 173 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
---|
| 174 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
---|
| 175 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
---|
| 176 | test \$(( 1 + 1 )) = 2 || exit 1"
|
---|
| 177 | if (eval "$as_required") 2>/dev/null; then :
|
---|
| 178 | as_have_required=yes
|
---|
| 179 | else
|
---|
| 180 | as_have_required=no
|
---|
| 181 | fi
|
---|
| 182 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
| 183 |
|
---|
| 184 | else
|
---|
| 185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 186 | as_found=false
|
---|
| 187 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
[10737] | 188 | do
|
---|
[25173] | 189 | IFS=$as_save_IFS
|
---|
| 190 | test -z "$as_dir" && as_dir=.
|
---|
| 191 | as_found=:
|
---|
| 192 | case $as_dir in #(
|
---|
| 193 | /*)
|
---|
| 194 | for as_base in sh bash ksh sh5; do
|
---|
| 195 | # Try only shells that exist, to save several forks.
|
---|
| 196 | as_shell=$as_dir/$as_base
|
---|
| 197 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
| 198 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 199 | CONFIG_SHELL=$as_shell as_have_required=yes
|
---|
| 200 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 201 | break 2
|
---|
| 202 | fi
|
---|
| 203 | fi
|
---|
| 204 | done;;
|
---|
| 205 | esac
|
---|
| 206 | as_found=false
|
---|
| 207 | done
|
---|
| 208 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
---|
| 209 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
---|
| 210 | CONFIG_SHELL=$SHELL as_have_required=yes
|
---|
| 211 | fi; }
|
---|
| 212 | IFS=$as_save_IFS
|
---|
| 213 |
|
---|
| 214 |
|
---|
| 215 | if test "x$CONFIG_SHELL" != x; then :
|
---|
| 216 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
| 217 | # neutralization value for shells without unset; and this also
|
---|
| 218 | # works around shells that cannot unset nonexistent variables.
|
---|
| 219 | # Preserve -v and -x to the replacement shell.
|
---|
| 220 | BASH_ENV=/dev/null
|
---|
| 221 | ENV=/dev/null
|
---|
| 222 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
| 223 | export CONFIG_SHELL
|
---|
| 224 | case $- in # ((((
|
---|
| 225 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
| 226 | *v* ) as_opts=-v ;;
|
---|
| 227 | *x* ) as_opts=-x ;;
|
---|
| 228 | * ) as_opts= ;;
|
---|
| 229 | esac
|
---|
| 230 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
---|
| 231 | fi
|
---|
| 232 |
|
---|
| 233 | if test x$as_have_required = xno; then :
|
---|
| 234 | $as_echo "$0: This script requires a shell more modern than all"
|
---|
| 235 | $as_echo "$0: the shells that I found on your system."
|
---|
| 236 | if test x${ZSH_VERSION+set} = xset ; then
|
---|
| 237 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
---|
| 238 | $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
---|
[10737] | 239 | else
|
---|
[25173] | 240 | $as_echo "$0: Please tell [email protected] about your system,
|
---|
| 241 | $0: including any error possibly output before this
|
---|
| 242 | $0: message. Then install a modern shell, or manually run
|
---|
| 243 | $0: the script under such a shell if you do have one."
|
---|
[10737] | 244 | fi
|
---|
[25173] | 245 | exit 1
|
---|
| 246 | fi
|
---|
| 247 | fi
|
---|
| 248 | fi
|
---|
| 249 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 250 | export SHELL
|
---|
| 251 | # Unset more variables known to interfere with behavior of common tools.
|
---|
| 252 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
| 253 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
[10737] | 254 |
|
---|
[25173] | 255 | ## --------------------- ##
|
---|
| 256 | ## M4sh Shell Functions. ##
|
---|
| 257 | ## --------------------- ##
|
---|
| 258 | # as_fn_unset VAR
|
---|
| 259 | # ---------------
|
---|
| 260 | # Portably unset VAR.
|
---|
| 261 | as_fn_unset ()
|
---|
| 262 | {
|
---|
| 263 | { eval $1=; unset $1;}
|
---|
| 264 | }
|
---|
| 265 | as_unset=as_fn_unset
|
---|
| 266 |
|
---|
| 267 | # as_fn_set_status STATUS
|
---|
| 268 | # -----------------------
|
---|
| 269 | # Set $? to STATUS, without forking.
|
---|
| 270 | as_fn_set_status ()
|
---|
| 271 | {
|
---|
| 272 | return $1
|
---|
| 273 | } # as_fn_set_status
|
---|
| 274 |
|
---|
| 275 | # as_fn_exit STATUS
|
---|
| 276 | # -----------------
|
---|
| 277 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 278 | as_fn_exit ()
|
---|
| 279 | {
|
---|
| 280 | set +e
|
---|
| 281 | as_fn_set_status $1
|
---|
| 282 | exit $1
|
---|
| 283 | } # as_fn_exit
|
---|
| 284 |
|
---|
| 285 | # as_fn_mkdir_p
|
---|
| 286 | # -------------
|
---|
| 287 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 288 | as_fn_mkdir_p ()
|
---|
| 289 | {
|
---|
| 290 |
|
---|
| 291 | case $as_dir in #(
|
---|
| 292 | -*) as_dir=./$as_dir;;
|
---|
| 293 | esac
|
---|
| 294 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 295 | as_dirs=
|
---|
| 296 | while :; do
|
---|
| 297 | case $as_dir in #(
|
---|
| 298 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 299 | *) as_qdir=$as_dir;;
|
---|
| 300 | esac
|
---|
| 301 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 302 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 303 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 304 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 305 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 306 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 307 | $as_echo X"$as_dir" |
|
---|
| 308 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 309 | s//\1/
|
---|
| 310 | q
|
---|
| 311 | }
|
---|
| 312 | /^X\(\/\/\)[^/].*/{
|
---|
| 313 | s//\1/
|
---|
| 314 | q
|
---|
| 315 | }
|
---|
| 316 | /^X\(\/\/\)$/{
|
---|
| 317 | s//\1/
|
---|
| 318 | q
|
---|
| 319 | }
|
---|
| 320 | /^X\(\/\).*/{
|
---|
| 321 | s//\1/
|
---|
| 322 | q
|
---|
| 323 | }
|
---|
| 324 | s/.*/./; q'`
|
---|
| 325 | test -d "$as_dir" && break
|
---|
| 326 | done
|
---|
| 327 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 328 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 329 |
|
---|
| 330 |
|
---|
| 331 | } # as_fn_mkdir_p
|
---|
| 332 | # as_fn_append VAR VALUE
|
---|
| 333 | # ----------------------
|
---|
| 334 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 335 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 336 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 337 | # implementations.
|
---|
| 338 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 339 | eval 'as_fn_append ()
|
---|
| 340 | {
|
---|
| 341 | eval $1+=\$2
|
---|
| 342 | }'
|
---|
| 343 | else
|
---|
| 344 | as_fn_append ()
|
---|
| 345 | {
|
---|
| 346 | eval $1=\$$1\$2
|
---|
| 347 | }
|
---|
| 348 | fi # as_fn_append
|
---|
| 349 |
|
---|
| 350 | # as_fn_arith ARG...
|
---|
| 351 | # ------------------
|
---|
| 352 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 353 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 354 | # must be portable across $(()) and expr.
|
---|
| 355 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 356 | eval 'as_fn_arith ()
|
---|
| 357 | {
|
---|
| 358 | as_val=$(( $* ))
|
---|
| 359 | }'
|
---|
| 360 | else
|
---|
| 361 | as_fn_arith ()
|
---|
| 362 | {
|
---|
| 363 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 364 | }
|
---|
| 365 | fi # as_fn_arith
|
---|
| 366 |
|
---|
| 367 |
|
---|
| 368 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 369 | # ----------------------------------------
|
---|
| 370 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 371 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 372 | # script with STATUS, using 1 if that was 0.
|
---|
| 373 | as_fn_error ()
|
---|
| 374 | {
|
---|
| 375 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 376 | if test "$4"; then
|
---|
| 377 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 378 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 379 | fi
|
---|
| 380 | $as_echo "$as_me: error: $2" >&2
|
---|
| 381 | as_fn_exit $as_status
|
---|
| 382 | } # as_fn_error
|
---|
| 383 |
|
---|
| 384 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 385 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[10737] | 386 | as_expr=expr
|
---|
| 387 | else
|
---|
| 388 | as_expr=false
|
---|
| 389 | fi
|
---|
| 390 |
|
---|
[25173] | 391 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[10737] | 392 | as_basename=basename
|
---|
| 393 | else
|
---|
| 394 | as_basename=false
|
---|
| 395 | fi
|
---|
| 396 |
|
---|
[25173] | 397 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 398 | as_dirname=dirname
|
---|
| 399 | else
|
---|
| 400 | as_dirname=false
|
---|
| 401 | fi
|
---|
[10737] | 402 |
|
---|
[25173] | 403 | as_me=`$as_basename -- "$0" ||
|
---|
[10737] | 404 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 405 | X"$0" : 'X\(//\)$' \| \
|
---|
[25173] | 406 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 407 | $as_echo X/"$0" |
|
---|
| 408 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 409 | s//\1/
|
---|
| 410 | q
|
---|
| 411 | }
|
---|
| 412 | /^X\/\(\/\/\)$/{
|
---|
| 413 | s//\1/
|
---|
| 414 | q
|
---|
| 415 | }
|
---|
| 416 | /^X\/\(\/\).*/{
|
---|
| 417 | s//\1/
|
---|
| 418 | q
|
---|
| 419 | }
|
---|
| 420 | s/.*/./; q'`
|
---|
[10737] | 421 |
|
---|
| 422 | # Avoid depending upon Character Ranges.
|
---|
| 423 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 424 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 425 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 426 | as_cr_digits='0123456789'
|
---|
| 427 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 428 |
|
---|
| 429 |
|
---|
[25173] | 430 | as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
---|
| 431 | as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
---|
| 432 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
---|
| 433 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
---|
| 434 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 435 | sed -n '
|
---|
| 436 | p
|
---|
| 437 | /[$]LINENO/=
|
---|
| 438 | ' <$as_myself |
|
---|
[10737] | 439 | sed '
|
---|
[25173] | 440 | s/[$]LINENO.*/&-/
|
---|
| 441 | t lineno
|
---|
| 442 | b
|
---|
| 443 | :lineno
|
---|
[10737] | 444 | N
|
---|
[25173] | 445 | :loop
|
---|
| 446 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[10737] | 447 | t loop
|
---|
[25173] | 448 | s/-\n.*//
|
---|
[10737] | 449 | ' >$as_me.lineno &&
|
---|
[25173] | 450 | chmod +x "$as_me.lineno" ||
|
---|
| 451 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
---|
[10737] | 452 |
|
---|
| 453 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 454 | # (the dirname of $[0] is not the place where we might find the
|
---|
[25173] | 455 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 456 | . "./$as_me.lineno"
|
---|
[10737] | 457 | # Exit status is that of the last command.
|
---|
| 458 | exit
|
---|
| 459 | }
|
---|
| 460 |
|
---|
[25173] | 461 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 462 | case `echo -n x` in #(((((
|
---|
| 463 | -n*)
|
---|
| 464 | case `echo 'xy\c'` in
|
---|
| 465 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 466 | xy) ECHO_C='\c';;
|
---|
| 467 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 468 | ECHO_T=' ';;
|
---|
| 469 | esac;;
|
---|
| 470 | *)
|
---|
| 471 | ECHO_N='-n';;
|
---|
[10737] | 472 | esac
|
---|
| 473 |
|
---|
[25173] | 474 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 475 | if test -d conf$$.dir; then
|
---|
| 476 | rm -f conf$$.dir/conf$$.file
|
---|
[10737] | 477 | else
|
---|
[25173] | 478 | rm -f conf$$.dir
|
---|
| 479 | mkdir conf$$.dir 2>/dev/null
|
---|
[10737] | 480 | fi
|
---|
[25173] | 481 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 482 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 483 | as_ln_s='ln -s'
|
---|
| 484 | # ... but there are two gotchas:
|
---|
| 485 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 486 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 487 | # In both cases, we have to default to `cp -p'.
|
---|
| 488 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 489 | as_ln_s='cp -p'
|
---|
| 490 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 491 | as_ln_s=ln
|
---|
| 492 | else
|
---|
[10737] | 493 | as_ln_s='cp -p'
|
---|
| 494 | fi
|
---|
| 495 | else
|
---|
| 496 | as_ln_s='cp -p'
|
---|
| 497 | fi
|
---|
[25173] | 498 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 499 | rmdir conf$$.dir 2>/dev/null
|
---|
[10737] | 500 |
|
---|
| 501 | if mkdir -p . 2>/dev/null; then
|
---|
[25173] | 502 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[10737] | 503 | else
|
---|
| 504 | test -d ./-p && rmdir ./-p
|
---|
| 505 | as_mkdir_p=false
|
---|
| 506 | fi
|
---|
| 507 |
|
---|
[25173] | 508 | if test -x / >/dev/null 2>&1; then
|
---|
| 509 | as_test_x='test -x'
|
---|
| 510 | else
|
---|
| 511 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 512 | as_ls_L_option=L
|
---|
| 513 | else
|
---|
| 514 | as_ls_L_option=
|
---|
| 515 | fi
|
---|
| 516 | as_test_x='
|
---|
| 517 | eval sh -c '\''
|
---|
| 518 | if test -d "$1"; then
|
---|
| 519 | test -d "$1/.";
|
---|
| 520 | else
|
---|
| 521 | case $1 in #(
|
---|
| 522 | -*)set "./$1";;
|
---|
| 523 | esac;
|
---|
| 524 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
| 525 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 526 | '\'' sh
|
---|
| 527 | '
|
---|
| 528 | fi
|
---|
| 529 | as_executable_p=$as_test_x
|
---|
[10737] | 530 |
|
---|
| 531 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 532 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 533 |
|
---|
| 534 | # Sed expression to map a string onto a valid variable name.
|
---|
| 535 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 536 |
|
---|
| 537 |
|
---|
[25173] | 538 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
| 539 | exec 6>&1
|
---|
[10737] | 540 |
|
---|
| 541 | # Name of the host.
|
---|
[25173] | 542 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
[10737] | 543 | # so uname gets run too.
|
---|
| 544 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 545 |
|
---|
| 546 | #
|
---|
| 547 | # Initializations.
|
---|
| 548 | #
|
---|
| 549 | ac_default_prefix=/usr/local
|
---|
[25173] | 550 | ac_clean_files=
|
---|
[10737] | 551 | ac_config_libobj_dir=.
|
---|
[25173] | 552 | LIBOBJS=
|
---|
[10737] | 553 | cross_compiling=no
|
---|
| 554 | subdirs=
|
---|
| 555 | MFLAGS=
|
---|
| 556 | MAKEFLAGS=
|
---|
| 557 |
|
---|
| 558 | # Identity of this package.
|
---|
| 559 | PACKAGE_NAME=
|
---|
| 560 | PACKAGE_TARNAME=
|
---|
| 561 | PACKAGE_VERSION=
|
---|
| 562 | PACKAGE_STRING=
|
---|
| 563 | PACKAGE_BUGREPORT=
|
---|
[25173] | 564 | PACKAGE_URL=
|
---|
[10737] | 565 |
|
---|
| 566 | ac_unique_file="jni/gdbmjava.c"
|
---|
| 567 | # Factoring default headers for most tests.
|
---|
| 568 | ac_includes_default="\
|
---|
| 569 | #include <stdio.h>
|
---|
[25173] | 570 | #ifdef HAVE_SYS_TYPES_H
|
---|
[10737] | 571 | # include <sys/types.h>
|
---|
| 572 | #endif
|
---|
[25173] | 573 | #ifdef HAVE_SYS_STAT_H
|
---|
[10737] | 574 | # include <sys/stat.h>
|
---|
| 575 | #endif
|
---|
[25173] | 576 | #ifdef STDC_HEADERS
|
---|
[10737] | 577 | # include <stdlib.h>
|
---|
| 578 | # include <stddef.h>
|
---|
| 579 | #else
|
---|
[25173] | 580 | # ifdef HAVE_STDLIB_H
|
---|
[10737] | 581 | # include <stdlib.h>
|
---|
| 582 | # endif
|
---|
| 583 | #endif
|
---|
[25173] | 584 | #ifdef HAVE_STRING_H
|
---|
| 585 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[10737] | 586 | # include <memory.h>
|
---|
| 587 | # endif
|
---|
| 588 | # include <string.h>
|
---|
| 589 | #endif
|
---|
[25173] | 590 | #ifdef HAVE_STRINGS_H
|
---|
[10737] | 591 | # include <strings.h>
|
---|
| 592 | #endif
|
---|
[25173] | 593 | #ifdef HAVE_INTTYPES_H
|
---|
[10737] | 594 | # include <inttypes.h>
|
---|
| 595 | #endif
|
---|
[25173] | 596 | #ifdef HAVE_STDINT_H
|
---|
| 597 | # include <stdint.h>
|
---|
| 598 | #endif
|
---|
| 599 | #ifdef HAVE_UNISTD_H
|
---|
[10737] | 600 | # include <unistd.h>
|
---|
| 601 | #endif"
|
---|
| 602 |
|
---|
[25173] | 603 | ac_subst_vars='LTLIBOBJS
|
---|
| 604 | LIBOBJS
|
---|
[26672] | 605 | JNILDFLAGS
|
---|
| 606 | JNICFLAGS
|
---|
[25173] | 607 | JNISUFFIX
|
---|
[26672] | 608 | JNIPREFIX
|
---|
[25173] | 609 | JNIINC
|
---|
| 610 | PKG
|
---|
| 611 | GDBM_INCLUDE
|
---|
| 612 | GDBM_LIBPATH
|
---|
| 613 | javagdbm_cv_path_java
|
---|
| 614 | javagdbm_cv_path_javah
|
---|
| 615 | JAVA_HOME
|
---|
| 616 | EGREP
|
---|
| 617 | GREP
|
---|
| 618 | CPP
|
---|
| 619 | ARCH_DEP_FLAGS
|
---|
| 620 | LN_S
|
---|
| 621 | INSTALL_DATA
|
---|
| 622 | INSTALL_SCRIPT
|
---|
| 623 | INSTALL_PROGRAM
|
---|
| 624 | OBJEXT
|
---|
| 625 | EXEEXT
|
---|
| 626 | ac_ct_CC
|
---|
| 627 | CPPFLAGS
|
---|
| 628 | LDFLAGS
|
---|
| 629 | CFLAGS
|
---|
| 630 | CC
|
---|
| 631 | target_os
|
---|
| 632 | target_vendor
|
---|
| 633 | target_cpu
|
---|
| 634 | target
|
---|
| 635 | host_os
|
---|
| 636 | host_vendor
|
---|
| 637 | host_cpu
|
---|
| 638 | host
|
---|
| 639 | build_os
|
---|
| 640 | build_vendor
|
---|
| 641 | build_cpu
|
---|
| 642 | build
|
---|
| 643 | target_alias
|
---|
| 644 | host_alias
|
---|
| 645 | build_alias
|
---|
| 646 | LIBS
|
---|
| 647 | ECHO_T
|
---|
| 648 | ECHO_N
|
---|
| 649 | ECHO_C
|
---|
| 650 | DEFS
|
---|
| 651 | mandir
|
---|
| 652 | localedir
|
---|
| 653 | libdir
|
---|
| 654 | psdir
|
---|
| 655 | pdfdir
|
---|
| 656 | dvidir
|
---|
| 657 | htmldir
|
---|
| 658 | infodir
|
---|
| 659 | docdir
|
---|
| 660 | oldincludedir
|
---|
| 661 | includedir
|
---|
| 662 | localstatedir
|
---|
| 663 | sharedstatedir
|
---|
| 664 | sysconfdir
|
---|
| 665 | datadir
|
---|
| 666 | datarootdir
|
---|
| 667 | libexecdir
|
---|
| 668 | sbindir
|
---|
| 669 | bindir
|
---|
| 670 | program_transform_name
|
---|
| 671 | prefix
|
---|
| 672 | exec_prefix
|
---|
| 673 | PACKAGE_URL
|
---|
| 674 | PACKAGE_BUGREPORT
|
---|
| 675 | PACKAGE_STRING
|
---|
| 676 | PACKAGE_VERSION
|
---|
| 677 | PACKAGE_TARNAME
|
---|
| 678 | PACKAGE_NAME
|
---|
| 679 | PATH_SEPARATOR
|
---|
| 680 | SHELL'
|
---|
[10737] | 681 | ac_subst_files=''
|
---|
[25173] | 682 | ac_user_opts='
|
---|
| 683 | enable_option_checking
|
---|
| 684 | with_gdbm
|
---|
| 685 | '
|
---|
| 686 | ac_precious_vars='build_alias
|
---|
| 687 | host_alias
|
---|
| 688 | target_alias
|
---|
| 689 | CC
|
---|
| 690 | CFLAGS
|
---|
| 691 | LDFLAGS
|
---|
| 692 | LIBS
|
---|
| 693 | CPPFLAGS
|
---|
| 694 | CPP'
|
---|
[10737] | 695 |
|
---|
[25173] | 696 |
|
---|
[10737] | 697 | # Initialize some variables set by options.
|
---|
| 698 | ac_init_help=
|
---|
| 699 | ac_init_version=false
|
---|
[25173] | 700 | ac_unrecognized_opts=
|
---|
| 701 | ac_unrecognized_sep=
|
---|
[10737] | 702 | # The variables have the same names as the options, with
|
---|
| 703 | # dashes changed to underlines.
|
---|
| 704 | cache_file=/dev/null
|
---|
| 705 | exec_prefix=NONE
|
---|
| 706 | no_create=
|
---|
| 707 | no_recursion=
|
---|
| 708 | prefix=NONE
|
---|
| 709 | program_prefix=NONE
|
---|
| 710 | program_suffix=NONE
|
---|
| 711 | program_transform_name=s,x,x,
|
---|
| 712 | silent=
|
---|
| 713 | site=
|
---|
| 714 | srcdir=
|
---|
| 715 | verbose=
|
---|
| 716 | x_includes=NONE
|
---|
| 717 | x_libraries=NONE
|
---|
| 718 |
|
---|
| 719 | # Installation directory options.
|
---|
| 720 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 721 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 722 | # by default will actually change.
|
---|
| 723 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[25173] | 724 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[10737] | 725 | bindir='${exec_prefix}/bin'
|
---|
| 726 | sbindir='${exec_prefix}/sbin'
|
---|
| 727 | libexecdir='${exec_prefix}/libexec'
|
---|
[25173] | 728 | datarootdir='${prefix}/share'
|
---|
| 729 | datadir='${datarootdir}'
|
---|
[10737] | 730 | sysconfdir='${prefix}/etc'
|
---|
| 731 | sharedstatedir='${prefix}/com'
|
---|
| 732 | localstatedir='${prefix}/var'
|
---|
| 733 | includedir='${prefix}/include'
|
---|
| 734 | oldincludedir='/usr/include'
|
---|
[25173] | 735 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 736 | infodir='${datarootdir}/info'
|
---|
| 737 | htmldir='${docdir}'
|
---|
| 738 | dvidir='${docdir}'
|
---|
| 739 | pdfdir='${docdir}'
|
---|
| 740 | psdir='${docdir}'
|
---|
| 741 | libdir='${exec_prefix}/lib'
|
---|
| 742 | localedir='${datarootdir}/locale'
|
---|
| 743 | mandir='${datarootdir}/man'
|
---|
[10737] | 744 |
|
---|
| 745 | ac_prev=
|
---|
[25173] | 746 | ac_dashdash=
|
---|
[10737] | 747 | for ac_option
|
---|
| 748 | do
|
---|
| 749 | # If the previous option needs an argument, assign it.
|
---|
| 750 | if test -n "$ac_prev"; then
|
---|
[25173] | 751 | eval $ac_prev=\$ac_option
|
---|
[10737] | 752 | ac_prev=
|
---|
| 753 | continue
|
---|
| 754 | fi
|
---|
| 755 |
|
---|
[25173] | 756 | case $ac_option in
|
---|
| 757 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 758 | *=) ac_optarg= ;;
|
---|
| 759 | *) ac_optarg=yes ;;
|
---|
| 760 | esac
|
---|
[10737] | 761 |
|
---|
| 762 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 763 |
|
---|
[25173] | 764 | case $ac_dashdash$ac_option in
|
---|
| 765 | --)
|
---|
| 766 | ac_dashdash=yes ;;
|
---|
[10737] | 767 |
|
---|
| 768 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 769 | ac_prev=bindir ;;
|
---|
| 770 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 771 | bindir=$ac_optarg ;;
|
---|
| 772 |
|
---|
| 773 | -build | --build | --buil | --bui | --bu)
|
---|
| 774 | ac_prev=build_alias ;;
|
---|
| 775 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 776 | build_alias=$ac_optarg ;;
|
---|
| 777 |
|
---|
| 778 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 779 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 780 | ac_prev=cache_file ;;
|
---|
| 781 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 782 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 783 | cache_file=$ac_optarg ;;
|
---|
| 784 |
|
---|
| 785 | --config-cache | -C)
|
---|
| 786 | cache_file=config.cache ;;
|
---|
| 787 |
|
---|
[25173] | 788 | -datadir | --datadir | --datadi | --datad)
|
---|
[10737] | 789 | ac_prev=datadir ;;
|
---|
[25173] | 790 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[10737] | 791 | datadir=$ac_optarg ;;
|
---|
| 792 |
|
---|
[25173] | 793 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 794 | | --dataroo | --dataro | --datar)
|
---|
| 795 | ac_prev=datarootdir ;;
|
---|
| 796 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 797 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 798 | datarootdir=$ac_optarg ;;
|
---|
| 799 |
|
---|
[10737] | 800 | -disable-* | --disable-*)
|
---|
[25173] | 801 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[10737] | 802 | # Reject names that are not valid shell variable names.
|
---|
[25173] | 803 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 804 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 805 | ac_useropt_orig=$ac_useropt
|
---|
| 806 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 807 | case $ac_user_opts in
|
---|
| 808 | *"
|
---|
| 809 | "enable_$ac_useropt"
|
---|
| 810 | "*) ;;
|
---|
| 811 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 812 | ac_unrecognized_sep=', ';;
|
---|
| 813 | esac
|
---|
| 814 | eval enable_$ac_useropt=no ;;
|
---|
[10737] | 815 |
|
---|
[25173] | 816 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 817 | ac_prev=docdir ;;
|
---|
| 818 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 819 | docdir=$ac_optarg ;;
|
---|
| 820 |
|
---|
| 821 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 822 | ac_prev=dvidir ;;
|
---|
| 823 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 824 | dvidir=$ac_optarg ;;
|
---|
| 825 |
|
---|
[10737] | 826 | -enable-* | --enable-*)
|
---|
[25173] | 827 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[10737] | 828 | # Reject names that are not valid shell variable names.
|
---|
[25173] | 829 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 830 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 831 | ac_useropt_orig=$ac_useropt
|
---|
| 832 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 833 | case $ac_user_opts in
|
---|
| 834 | *"
|
---|
| 835 | "enable_$ac_useropt"
|
---|
| 836 | "*) ;;
|
---|
| 837 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 838 | ac_unrecognized_sep=', ';;
|
---|
[10737] | 839 | esac
|
---|
[25173] | 840 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[10737] | 841 |
|
---|
| 842 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 843 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 844 | | --exec | --exe | --ex)
|
---|
| 845 | ac_prev=exec_prefix ;;
|
---|
| 846 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 847 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 848 | | --exec=* | --exe=* | --ex=*)
|
---|
| 849 | exec_prefix=$ac_optarg ;;
|
---|
| 850 |
|
---|
| 851 | -gas | --gas | --ga | --g)
|
---|
| 852 | # Obsolete; use --with-gas.
|
---|
| 853 | with_gas=yes ;;
|
---|
| 854 |
|
---|
| 855 | -help | --help | --hel | --he | -h)
|
---|
| 856 | ac_init_help=long ;;
|
---|
| 857 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 858 | ac_init_help=recursive ;;
|
---|
| 859 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 860 | ac_init_help=short ;;
|
---|
| 861 |
|
---|
| 862 | -host | --host | --hos | --ho)
|
---|
| 863 | ac_prev=host_alias ;;
|
---|
| 864 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 865 | host_alias=$ac_optarg ;;
|
---|
| 866 |
|
---|
[25173] | 867 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 868 | ac_prev=htmldir ;;
|
---|
| 869 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 870 | | --ht=*)
|
---|
| 871 | htmldir=$ac_optarg ;;
|
---|
| 872 |
|
---|
[10737] | 873 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 874 | | --includ | --inclu | --incl | --inc)
|
---|
| 875 | ac_prev=includedir ;;
|
---|
| 876 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 877 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 878 | includedir=$ac_optarg ;;
|
---|
| 879 |
|
---|
| 880 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 881 | ac_prev=infodir ;;
|
---|
| 882 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 883 | infodir=$ac_optarg ;;
|
---|
| 884 |
|
---|
| 885 | -libdir | --libdir | --libdi | --libd)
|
---|
| 886 | ac_prev=libdir ;;
|
---|
| 887 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 888 | libdir=$ac_optarg ;;
|
---|
| 889 |
|
---|
| 890 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 891 | | --libexe | --libex | --libe)
|
---|
| 892 | ac_prev=libexecdir ;;
|
---|
| 893 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 894 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 895 | libexecdir=$ac_optarg ;;
|
---|
| 896 |
|
---|
[25173] | 897 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 898 | ac_prev=localedir ;;
|
---|
| 899 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 900 | localedir=$ac_optarg ;;
|
---|
| 901 |
|
---|
[10737] | 902 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[25173] | 903 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[10737] | 904 | ac_prev=localstatedir ;;
|
---|
| 905 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[25173] | 906 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[10737] | 907 | localstatedir=$ac_optarg ;;
|
---|
| 908 |
|
---|
| 909 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 910 | ac_prev=mandir ;;
|
---|
| 911 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 912 | mandir=$ac_optarg ;;
|
---|
| 913 |
|
---|
| 914 | -nfp | --nfp | --nf)
|
---|
| 915 | # Obsolete; use --without-fp.
|
---|
| 916 | with_fp=no ;;
|
---|
| 917 |
|
---|
| 918 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 919 | | --no-cr | --no-c | -n)
|
---|
| 920 | no_create=yes ;;
|
---|
| 921 |
|
---|
| 922 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 923 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 924 | no_recursion=yes ;;
|
---|
| 925 |
|
---|
| 926 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 927 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 928 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 929 | ac_prev=oldincludedir ;;
|
---|
| 930 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 931 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 932 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 933 | oldincludedir=$ac_optarg ;;
|
---|
| 934 |
|
---|
| 935 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 936 | ac_prev=prefix ;;
|
---|
| 937 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 938 | prefix=$ac_optarg ;;
|
---|
| 939 |
|
---|
| 940 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 941 | | --program-pre | --program-pr | --program-p)
|
---|
| 942 | ac_prev=program_prefix ;;
|
---|
| 943 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 944 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 945 | program_prefix=$ac_optarg ;;
|
---|
| 946 |
|
---|
| 947 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 948 | | --program-suf | --program-su | --program-s)
|
---|
| 949 | ac_prev=program_suffix ;;
|
---|
| 950 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 951 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 952 | program_suffix=$ac_optarg ;;
|
---|
| 953 |
|
---|
| 954 | -program-transform-name | --program-transform-name \
|
---|
| 955 | | --program-transform-nam | --program-transform-na \
|
---|
| 956 | | --program-transform-n | --program-transform- \
|
---|
| 957 | | --program-transform | --program-transfor \
|
---|
| 958 | | --program-transfo | --program-transf \
|
---|
| 959 | | --program-trans | --program-tran \
|
---|
| 960 | | --progr-tra | --program-tr | --program-t)
|
---|
| 961 | ac_prev=program_transform_name ;;
|
---|
| 962 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 963 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 964 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 965 | | --program-transform=* | --program-transfor=* \
|
---|
| 966 | | --program-transfo=* | --program-transf=* \
|
---|
| 967 | | --program-trans=* | --program-tran=* \
|
---|
| 968 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 969 | program_transform_name=$ac_optarg ;;
|
---|
| 970 |
|
---|
[25173] | 971 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 972 | ac_prev=pdfdir ;;
|
---|
| 973 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 974 | pdfdir=$ac_optarg ;;
|
---|
| 975 |
|
---|
| 976 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 977 | ac_prev=psdir ;;
|
---|
| 978 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 979 | psdir=$ac_optarg ;;
|
---|
| 980 |
|
---|
[10737] | 981 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 982 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 983 | silent=yes ;;
|
---|
| 984 |
|
---|
| 985 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 986 | ac_prev=sbindir ;;
|
---|
| 987 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 988 | | --sbi=* | --sb=*)
|
---|
| 989 | sbindir=$ac_optarg ;;
|
---|
| 990 |
|
---|
| 991 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 992 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 993 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 994 | | --sha | --sh)
|
---|
| 995 | ac_prev=sharedstatedir ;;
|
---|
| 996 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 997 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 998 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 999 | | --sha=* | --sh=*)
|
---|
| 1000 | sharedstatedir=$ac_optarg ;;
|
---|
| 1001 |
|
---|
| 1002 | -site | --site | --sit)
|
---|
| 1003 | ac_prev=site ;;
|
---|
| 1004 | -site=* | --site=* | --sit=*)
|
---|
| 1005 | site=$ac_optarg ;;
|
---|
| 1006 |
|
---|
| 1007 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1008 | ac_prev=srcdir ;;
|
---|
| 1009 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1010 | srcdir=$ac_optarg ;;
|
---|
| 1011 |
|
---|
| 1012 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1013 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1014 | ac_prev=sysconfdir ;;
|
---|
| 1015 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1016 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1017 | sysconfdir=$ac_optarg ;;
|
---|
| 1018 |
|
---|
| 1019 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1020 | ac_prev=target_alias ;;
|
---|
| 1021 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1022 | target_alias=$ac_optarg ;;
|
---|
| 1023 |
|
---|
| 1024 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1025 | verbose=yes ;;
|
---|
| 1026 |
|
---|
| 1027 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1028 | ac_init_version=: ;;
|
---|
| 1029 |
|
---|
| 1030 | -with-* | --with-*)
|
---|
[25173] | 1031 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[10737] | 1032 | # Reject names that are not valid shell variable names.
|
---|
[25173] | 1033 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1034 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1035 | ac_useropt_orig=$ac_useropt
|
---|
| 1036 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1037 | case $ac_user_opts in
|
---|
| 1038 | *"
|
---|
| 1039 | "with_$ac_useropt"
|
---|
| 1040 | "*) ;;
|
---|
| 1041 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1042 | ac_unrecognized_sep=', ';;
|
---|
[10737] | 1043 | esac
|
---|
[25173] | 1044 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[10737] | 1045 |
|
---|
| 1046 | -without-* | --without-*)
|
---|
[25173] | 1047 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[10737] | 1048 | # Reject names that are not valid shell variable names.
|
---|
[25173] | 1049 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1050 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1051 | ac_useropt_orig=$ac_useropt
|
---|
| 1052 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1053 | case $ac_user_opts in
|
---|
| 1054 | *"
|
---|
| 1055 | "with_$ac_useropt"
|
---|
| 1056 | "*) ;;
|
---|
| 1057 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1058 | ac_unrecognized_sep=', ';;
|
---|
| 1059 | esac
|
---|
| 1060 | eval with_$ac_useropt=no ;;
|
---|
[10737] | 1061 |
|
---|
| 1062 | --x)
|
---|
| 1063 | # Obsolete; use --with-x.
|
---|
| 1064 | with_x=yes ;;
|
---|
| 1065 |
|
---|
| 1066 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1067 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1068 | ac_prev=x_includes ;;
|
---|
| 1069 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1070 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1071 | x_includes=$ac_optarg ;;
|
---|
| 1072 |
|
---|
| 1073 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1074 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1075 | ac_prev=x_libraries ;;
|
---|
| 1076 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1077 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1078 | x_libraries=$ac_optarg ;;
|
---|
| 1079 |
|
---|
[25173] | 1080 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1081 | Try \`$0 --help' for more information"
|
---|
[10737] | 1082 | ;;
|
---|
| 1083 |
|
---|
| 1084 | *=*)
|
---|
| 1085 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1086 | # Reject names that are not valid shell variable names.
|
---|
[25173] | 1087 | case $ac_envvar in #(
|
---|
| 1088 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
| 1089 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
| 1090 | esac
|
---|
| 1091 | eval $ac_envvar=\$ac_optarg
|
---|
[10737] | 1092 | export $ac_envvar ;;
|
---|
| 1093 |
|
---|
| 1094 | *)
|
---|
| 1095 | # FIXME: should be removed in autoconf 3.0.
|
---|
[25173] | 1096 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[10737] | 1097 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[25173] | 1098 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
| 1099 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
---|
[10737] | 1100 | ;;
|
---|
| 1101 |
|
---|
| 1102 | esac
|
---|
| 1103 | done
|
---|
| 1104 |
|
---|
| 1105 | if test -n "$ac_prev"; then
|
---|
| 1106 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[25173] | 1107 | as_fn_error $? "missing argument to $ac_option"
|
---|
[10737] | 1108 | fi
|
---|
| 1109 |
|
---|
[25173] | 1110 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1111 | case $enable_option_checking in
|
---|
| 1112 | no) ;;
|
---|
| 1113 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
| 1114 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[10737] | 1115 | esac
|
---|
[25173] | 1116 | fi
|
---|
[10737] | 1117 |
|
---|
[25173] | 1118 | # Check all directory arguments for consistency.
|
---|
| 1119 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1120 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1121 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1122 | libdir localedir mandir
|
---|
[10737] | 1123 | do
|
---|
[25173] | 1124 | eval ac_val=\$$ac_var
|
---|
| 1125 | # Remove trailing slashes.
|
---|
[10737] | 1126 | case $ac_val in
|
---|
[25173] | 1127 | */ )
|
---|
| 1128 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1129 | eval $ac_var=\$ac_val;;
|
---|
[10737] | 1130 | esac
|
---|
[25173] | 1131 | # Be sure to have absolute directory names.
|
---|
| 1132 | case $ac_val in
|
---|
| 1133 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1134 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1135 | esac
|
---|
| 1136 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
[10737] | 1137 | done
|
---|
| 1138 |
|
---|
| 1139 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1140 | # used to hold the argument of --host etc.
|
---|
| 1141 | # FIXME: To remove some day.
|
---|
| 1142 | build=$build_alias
|
---|
| 1143 | host=$host_alias
|
---|
| 1144 | target=$target_alias
|
---|
| 1145 |
|
---|
| 1146 | # FIXME: To remove some day.
|
---|
| 1147 | if test "x$host_alias" != x; then
|
---|
| 1148 | if test "x$build_alias" = x; then
|
---|
| 1149 | cross_compiling=maybe
|
---|
[25173] | 1150 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
---|
| 1151 | If a cross compiler is detected then cross compile mode will be used" >&2
|
---|
[10737] | 1152 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1153 | cross_compiling=yes
|
---|
| 1154 | fi
|
---|
| 1155 | fi
|
---|
| 1156 |
|
---|
| 1157 | ac_tool_prefix=
|
---|
| 1158 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1159 |
|
---|
| 1160 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1161 |
|
---|
| 1162 |
|
---|
[25173] | 1163 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1164 | ac_ls_di=`ls -di .` &&
|
---|
| 1165 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
| 1166 | as_fn_error $? "working directory cannot be determined"
|
---|
| 1167 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
| 1168 | as_fn_error $? "pwd does not report name of working directory"
|
---|
| 1169 |
|
---|
| 1170 |
|
---|
[10737] | 1171 | # Find the source files, if location was not specified.
|
---|
| 1172 | if test -z "$srcdir"; then
|
---|
| 1173 | ac_srcdir_defaulted=yes
|
---|
[25173] | 1174 | # Try the directory containing this script, then the parent directory.
|
---|
| 1175 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1176 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1177 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1178 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1179 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1180 | $as_echo X"$as_myself" |
|
---|
| 1181 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1182 | s//\1/
|
---|
| 1183 | q
|
---|
| 1184 | }
|
---|
| 1185 | /^X\(\/\/\)[^/].*/{
|
---|
| 1186 | s//\1/
|
---|
| 1187 | q
|
---|
| 1188 | }
|
---|
| 1189 | /^X\(\/\/\)$/{
|
---|
| 1190 | s//\1/
|
---|
| 1191 | q
|
---|
| 1192 | }
|
---|
| 1193 | /^X\(\/\).*/{
|
---|
| 1194 | s//\1/
|
---|
| 1195 | q
|
---|
| 1196 | }
|
---|
| 1197 | s/.*/./; q'`
|
---|
[10737] | 1198 | srcdir=$ac_confdir
|
---|
[25173] | 1199 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[10737] | 1200 | srcdir=..
|
---|
| 1201 | fi
|
---|
| 1202 | else
|
---|
| 1203 | ac_srcdir_defaulted=no
|
---|
| 1204 | fi
|
---|
[25173] | 1205 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1206 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
| 1207 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
[10737] | 1208 | fi
|
---|
[25173] | 1209 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1210 | ac_abs_confdir=`(
|
---|
| 1211 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
| 1212 | pwd)`
|
---|
| 1213 | # When building in place, set srcdir=.
|
---|
| 1214 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1215 | srcdir=.
|
---|
| 1216 | fi
|
---|
| 1217 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1218 | # Double slashes in file names in object file debugging info
|
---|
| 1219 | # mess up M-x gdb in Emacs.
|
---|
| 1220 | case $srcdir in
|
---|
| 1221 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1222 | esac
|
---|
| 1223 | for ac_var in $ac_precious_vars; do
|
---|
| 1224 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1225 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1226 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1227 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1228 | done
|
---|
[10737] | 1229 |
|
---|
| 1230 | #
|
---|
| 1231 | # Report the --help message.
|
---|
| 1232 | #
|
---|
| 1233 | if test "$ac_init_help" = "long"; then
|
---|
| 1234 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1235 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1236 | cat <<_ACEOF
|
---|
| 1237 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1238 |
|
---|
| 1239 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1240 |
|
---|
| 1241 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1242 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1243 |
|
---|
| 1244 | Defaults for the options are specified in brackets.
|
---|
| 1245 |
|
---|
| 1246 | Configuration:
|
---|
| 1247 | -h, --help display this help and exit
|
---|
| 1248 | --help=short display options specific to this package
|
---|
| 1249 | --help=recursive display the short help of all the included packages
|
---|
| 1250 | -V, --version display version information and exit
|
---|
[25173] | 1251 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
[10737] | 1252 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1253 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1254 | -n, --no-create do not create output files
|
---|
| 1255 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1256 |
|
---|
| 1257 | Installation directories:
|
---|
| 1258 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[25173] | 1259 | [$ac_default_prefix]
|
---|
[10737] | 1260 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[25173] | 1261 | [PREFIX]
|
---|
[10737] | 1262 |
|
---|
| 1263 | By default, \`make install' will install all the files in
|
---|
| 1264 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1265 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1266 | for instance \`--prefix=\$HOME'.
|
---|
| 1267 |
|
---|
| 1268 | For better control, use the options below.
|
---|
| 1269 |
|
---|
| 1270 | Fine tuning of the installation directories:
|
---|
[25173] | 1271 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1272 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1273 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1274 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1275 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1276 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1277 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1278 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1279 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1280 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1281 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1282 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1283 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1284 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1285 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1286 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1287 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1288 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1289 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[10737] | 1290 | _ACEOF
|
---|
| 1291 |
|
---|
| 1292 | cat <<\_ACEOF
|
---|
[18343] | 1293 |
|
---|
| 1294 | System types:
|
---|
| 1295 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1296 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1297 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
[10737] | 1298 | _ACEOF
|
---|
| 1299 | fi
|
---|
| 1300 |
|
---|
| 1301 | if test -n "$ac_init_help"; then
|
---|
| 1302 |
|
---|
| 1303 | cat <<\_ACEOF
|
---|
| 1304 |
|
---|
[10771] | 1305 | Optional Packages:
|
---|
| 1306 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1307 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1308 | --with-gdbm=dir Use local gdbm library and headers
|
---|
| 1309 |
|
---|
[10737] | 1310 | Some influential environment variables:
|
---|
| 1311 | CC C compiler command
|
---|
| 1312 | CFLAGS C compiler flags
|
---|
| 1313 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1314 | nonstandard directory <lib dir>
|
---|
[25173] | 1315 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
| 1316 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
| 1317 | you have headers in a nonstandard directory <include dir>
|
---|
[10737] | 1318 | CPP C preprocessor
|
---|
| 1319 |
|
---|
| 1320 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1321 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1322 |
|
---|
[25173] | 1323 | Report bugs to the package provider.
|
---|
[10737] | 1324 | _ACEOF
|
---|
[25173] | 1325 | ac_status=$?
|
---|
[10737] | 1326 | fi
|
---|
| 1327 |
|
---|
| 1328 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1329 | # If there are subdirs, report their specific --help.
|
---|
| 1330 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[25173] | 1331 | test -d "$ac_dir" ||
|
---|
| 1332 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1333 | continue
|
---|
[10737] | 1334 | ac_builddir=.
|
---|
| 1335 |
|
---|
[25173] | 1336 | case "$ac_dir" in
|
---|
| 1337 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1338 | *)
|
---|
| 1339 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1340 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1341 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1342 | case $ac_top_builddir_sub in
|
---|
| 1343 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1344 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1345 | esac ;;
|
---|
| 1346 | esac
|
---|
| 1347 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1348 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1349 | # for backward compatibility:
|
---|
| 1350 | ac_top_builddir=$ac_top_build_prefix
|
---|
[10737] | 1351 |
|
---|
| 1352 | case $srcdir in
|
---|
[25173] | 1353 | .) # We are building in place.
|
---|
[10737] | 1354 | ac_srcdir=.
|
---|
[25173] | 1355 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1356 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1357 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[10737] | 1358 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25173] | 1359 | ac_top_srcdir=$srcdir
|
---|
| 1360 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1361 | *) # Relative name.
|
---|
| 1362 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1363 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1364 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[10737] | 1365 | esac
|
---|
[25173] | 1366 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[10737] | 1367 |
|
---|
[25173] | 1368 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1369 | # Check for guested configure.
|
---|
| 1370 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1371 | echo &&
|
---|
| 1372 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1373 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1374 | echo &&
|
---|
| 1375 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[10737] | 1376 | else
|
---|
[25173] | 1377 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1378 | fi || ac_status=$?
|
---|
| 1379 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[10737] | 1380 | done
|
---|
| 1381 | fi
|
---|
| 1382 |
|
---|
[25173] | 1383 | test -n "$ac_init_help" && exit $ac_status
|
---|
[10737] | 1384 | if $ac_init_version; then
|
---|
| 1385 | cat <<\_ACEOF
|
---|
[25173] | 1386 | configure
|
---|
| 1387 | generated by GNU Autoconf 2.68
|
---|
[10737] | 1388 |
|
---|
[25173] | 1389 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[10737] | 1390 | This configure script is free software; the Free Software Foundation
|
---|
| 1391 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1392 | _ACEOF
|
---|
[25173] | 1393 | exit
|
---|
[10737] | 1394 | fi
|
---|
[25173] | 1395 |
|
---|
| 1396 | ## ------------------------ ##
|
---|
| 1397 | ## Autoconf initialization. ##
|
---|
| 1398 | ## ------------------------ ##
|
---|
| 1399 |
|
---|
| 1400 | # ac_fn_c_try_compile LINENO
|
---|
| 1401 | # --------------------------
|
---|
| 1402 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1403 | ac_fn_c_try_compile ()
|
---|
| 1404 | {
|
---|
| 1405 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1406 | rm -f conftest.$ac_objext
|
---|
| 1407 | if { { ac_try="$ac_compile"
|
---|
| 1408 | case "(($ac_try" in
|
---|
| 1409 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1410 | *) ac_try_echo=$ac_try;;
|
---|
| 1411 | esac
|
---|
| 1412 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1413 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1414 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1415 | ac_status=$?
|
---|
| 1416 | if test -s conftest.err; then
|
---|
| 1417 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1418 | cat conftest.er1 >&5
|
---|
| 1419 | mv -f conftest.er1 conftest.err
|
---|
| 1420 | fi
|
---|
| 1421 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1422 | test $ac_status = 0; } && {
|
---|
| 1423 | test -z "$ac_c_werror_flag" ||
|
---|
| 1424 | test ! -s conftest.err
|
---|
| 1425 | } && test -s conftest.$ac_objext; then :
|
---|
| 1426 | ac_retval=0
|
---|
| 1427 | else
|
---|
| 1428 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1429 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1430 |
|
---|
| 1431 | ac_retval=1
|
---|
| 1432 | fi
|
---|
| 1433 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1434 | as_fn_set_status $ac_retval
|
---|
| 1435 |
|
---|
| 1436 | } # ac_fn_c_try_compile
|
---|
| 1437 |
|
---|
| 1438 | # ac_fn_c_try_run LINENO
|
---|
| 1439 | # ----------------------
|
---|
| 1440 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1441 | # that executables *can* be run.
|
---|
| 1442 | ac_fn_c_try_run ()
|
---|
| 1443 | {
|
---|
| 1444 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1445 | if { { ac_try="$ac_link"
|
---|
| 1446 | case "(($ac_try" in
|
---|
| 1447 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1448 | *) ac_try_echo=$ac_try;;
|
---|
| 1449 | esac
|
---|
| 1450 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1451 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1452 | (eval "$ac_link") 2>&5
|
---|
| 1453 | ac_status=$?
|
---|
| 1454 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1455 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1456 | { { case "(($ac_try" in
|
---|
| 1457 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1458 | *) ac_try_echo=$ac_try;;
|
---|
| 1459 | esac
|
---|
| 1460 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1461 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1462 | (eval "$ac_try") 2>&5
|
---|
| 1463 | ac_status=$?
|
---|
| 1464 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1465 | test $ac_status = 0; }; }; then :
|
---|
| 1466 | ac_retval=0
|
---|
| 1467 | else
|
---|
| 1468 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1469 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1470 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1471 |
|
---|
| 1472 | ac_retval=$ac_status
|
---|
| 1473 | fi
|
---|
| 1474 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1475 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1476 | as_fn_set_status $ac_retval
|
---|
| 1477 |
|
---|
| 1478 | } # ac_fn_c_try_run
|
---|
| 1479 |
|
---|
| 1480 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
|
---|
| 1481 | # --------------------------------------------
|
---|
| 1482 | # Tries to find the compile-time value of EXPR in a program that includes
|
---|
| 1483 | # INCLUDES, setting VAR accordingly. Returns whether the value could be
|
---|
| 1484 | # computed
|
---|
| 1485 | ac_fn_c_compute_int ()
|
---|
| 1486 | {
|
---|
| 1487 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1488 | if test "$cross_compiling" = yes; then
|
---|
| 1489 | # Depending upon the size, compute the lo and hi bounds.
|
---|
| 1490 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1491 | /* end confdefs.h. */
|
---|
| 1492 | $4
|
---|
| 1493 | int
|
---|
| 1494 | main ()
|
---|
| 1495 | {
|
---|
| 1496 | static int test_array [1 - 2 * !(($2) >= 0)];
|
---|
| 1497 | test_array [0] = 0
|
---|
| 1498 |
|
---|
| 1499 | ;
|
---|
| 1500 | return 0;
|
---|
| 1501 | }
|
---|
| 1502 | _ACEOF
|
---|
| 1503 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1504 | ac_lo=0 ac_mid=0
|
---|
| 1505 | while :; do
|
---|
| 1506 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1507 | /* end confdefs.h. */
|
---|
| 1508 | $4
|
---|
| 1509 | int
|
---|
| 1510 | main ()
|
---|
| 1511 | {
|
---|
| 1512 | static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
---|
| 1513 | test_array [0] = 0
|
---|
| 1514 |
|
---|
| 1515 | ;
|
---|
| 1516 | return 0;
|
---|
| 1517 | }
|
---|
| 1518 | _ACEOF
|
---|
| 1519 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1520 | ac_hi=$ac_mid; break
|
---|
| 1521 | else
|
---|
| 1522 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val
|
---|
| 1523 | if test $ac_lo -le $ac_mid; then
|
---|
| 1524 | ac_lo= ac_hi=
|
---|
| 1525 | break
|
---|
| 1526 | fi
|
---|
| 1527 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
|
---|
| 1528 | fi
|
---|
| 1529 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1530 | done
|
---|
| 1531 | else
|
---|
| 1532 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1533 | /* end confdefs.h. */
|
---|
| 1534 | $4
|
---|
| 1535 | int
|
---|
| 1536 | main ()
|
---|
| 1537 | {
|
---|
| 1538 | static int test_array [1 - 2 * !(($2) < 0)];
|
---|
| 1539 | test_array [0] = 0
|
---|
| 1540 |
|
---|
| 1541 | ;
|
---|
| 1542 | return 0;
|
---|
| 1543 | }
|
---|
| 1544 | _ACEOF
|
---|
| 1545 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1546 | ac_hi=-1 ac_mid=-1
|
---|
| 1547 | while :; do
|
---|
| 1548 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1549 | /* end confdefs.h. */
|
---|
| 1550 | $4
|
---|
| 1551 | int
|
---|
| 1552 | main ()
|
---|
| 1553 | {
|
---|
| 1554 | static int test_array [1 - 2 * !(($2) >= $ac_mid)];
|
---|
| 1555 | test_array [0] = 0
|
---|
| 1556 |
|
---|
| 1557 | ;
|
---|
| 1558 | return 0;
|
---|
| 1559 | }
|
---|
| 1560 | _ACEOF
|
---|
| 1561 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1562 | ac_lo=$ac_mid; break
|
---|
| 1563 | else
|
---|
| 1564 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
|
---|
| 1565 | if test $ac_mid -le $ac_hi; then
|
---|
| 1566 | ac_lo= ac_hi=
|
---|
| 1567 | break
|
---|
| 1568 | fi
|
---|
| 1569 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
|
---|
| 1570 | fi
|
---|
| 1571 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1572 | done
|
---|
| 1573 | else
|
---|
| 1574 | ac_lo= ac_hi=
|
---|
| 1575 | fi
|
---|
| 1576 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1577 | fi
|
---|
| 1578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1579 | # Binary search between lo and hi bounds.
|
---|
| 1580 | while test "x$ac_lo" != "x$ac_hi"; do
|
---|
| 1581 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
|
---|
| 1582 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1583 | /* end confdefs.h. */
|
---|
| 1584 | $4
|
---|
| 1585 | int
|
---|
| 1586 | main ()
|
---|
| 1587 | {
|
---|
| 1588 | static int test_array [1 - 2 * !(($2) <= $ac_mid)];
|
---|
| 1589 | test_array [0] = 0
|
---|
| 1590 |
|
---|
| 1591 | ;
|
---|
| 1592 | return 0;
|
---|
| 1593 | }
|
---|
| 1594 | _ACEOF
|
---|
| 1595 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1596 | ac_hi=$ac_mid
|
---|
| 1597 | else
|
---|
| 1598 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
|
---|
| 1599 | fi
|
---|
| 1600 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1601 | done
|
---|
| 1602 | case $ac_lo in #((
|
---|
| 1603 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
|
---|
| 1604 | '') ac_retval=1 ;;
|
---|
| 1605 | esac
|
---|
| 1606 | else
|
---|
| 1607 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1608 | /* end confdefs.h. */
|
---|
| 1609 | $4
|
---|
| 1610 | static long int longval () { return $2; }
|
---|
| 1611 | static unsigned long int ulongval () { return $2; }
|
---|
| 1612 | #include <stdio.h>
|
---|
| 1613 | #include <stdlib.h>
|
---|
| 1614 | int
|
---|
| 1615 | main ()
|
---|
| 1616 | {
|
---|
| 1617 |
|
---|
| 1618 | FILE *f = fopen ("conftest.val", "w");
|
---|
| 1619 | if (! f)
|
---|
| 1620 | return 1;
|
---|
| 1621 | if (($2) < 0)
|
---|
| 1622 | {
|
---|
| 1623 | long int i = longval ();
|
---|
| 1624 | if (i != ($2))
|
---|
| 1625 | return 1;
|
---|
| 1626 | fprintf (f, "%ld", i);
|
---|
| 1627 | }
|
---|
| 1628 | else
|
---|
| 1629 | {
|
---|
| 1630 | unsigned long int i = ulongval ();
|
---|
| 1631 | if (i != ($2))
|
---|
| 1632 | return 1;
|
---|
| 1633 | fprintf (f, "%lu", i);
|
---|
| 1634 | }
|
---|
| 1635 | /* Do not output a trailing newline, as this causes \r\n confusion
|
---|
| 1636 | on some platforms. */
|
---|
| 1637 | return ferror (f) || fclose (f) != 0;
|
---|
| 1638 |
|
---|
| 1639 | ;
|
---|
| 1640 | return 0;
|
---|
| 1641 | }
|
---|
| 1642 | _ACEOF
|
---|
| 1643 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 1644 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0
|
---|
| 1645 | else
|
---|
| 1646 | ac_retval=1
|
---|
| 1647 | fi
|
---|
| 1648 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 1649 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
| 1650 | rm -f conftest.val
|
---|
| 1651 |
|
---|
| 1652 | fi
|
---|
| 1653 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1654 | as_fn_set_status $ac_retval
|
---|
| 1655 |
|
---|
| 1656 | } # ac_fn_c_compute_int
|
---|
| 1657 |
|
---|
| 1658 | # ac_fn_c_try_cpp LINENO
|
---|
| 1659 | # ----------------------
|
---|
| 1660 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1661 | ac_fn_c_try_cpp ()
|
---|
| 1662 | {
|
---|
| 1663 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1664 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 1665 | case "(($ac_try" in
|
---|
| 1666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1667 | *) ac_try_echo=$ac_try;;
|
---|
| 1668 | esac
|
---|
| 1669 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1670 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1671 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
| 1672 | ac_status=$?
|
---|
| 1673 | if test -s conftest.err; then
|
---|
| 1674 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1675 | cat conftest.er1 >&5
|
---|
| 1676 | mv -f conftest.er1 conftest.err
|
---|
| 1677 | fi
|
---|
| 1678 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1679 | test $ac_status = 0; } > conftest.i && {
|
---|
| 1680 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 1681 | test ! -s conftest.err
|
---|
| 1682 | }; then :
|
---|
| 1683 | ac_retval=0
|
---|
| 1684 | else
|
---|
| 1685 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1686 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1687 |
|
---|
| 1688 | ac_retval=1
|
---|
| 1689 | fi
|
---|
| 1690 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1691 | as_fn_set_status $ac_retval
|
---|
| 1692 |
|
---|
| 1693 | } # ac_fn_c_try_cpp
|
---|
| 1694 |
|
---|
| 1695 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
| 1696 | # -------------------------------------------------------
|
---|
| 1697 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
| 1698 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
| 1699 | ac_fn_c_check_header_compile ()
|
---|
| 1700 | {
|
---|
| 1701 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1703 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1704 | if eval \${$3+:} false; then :
|
---|
| 1705 | $as_echo_n "(cached) " >&6
|
---|
| 1706 | else
|
---|
| 1707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1708 | /* end confdefs.h. */
|
---|
| 1709 | $4
|
---|
| 1710 | #include <$2>
|
---|
| 1711 | _ACEOF
|
---|
| 1712 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1713 | eval "$3=yes"
|
---|
| 1714 | else
|
---|
| 1715 | eval "$3=no"
|
---|
| 1716 | fi
|
---|
| 1717 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1718 | fi
|
---|
| 1719 | eval ac_res=\$$3
|
---|
| 1720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1721 | $as_echo "$ac_res" >&6; }
|
---|
| 1722 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1723 |
|
---|
| 1724 | } # ac_fn_c_check_header_compile
|
---|
| 1725 |
|
---|
| 1726 | # ac_fn_c_try_link LINENO
|
---|
| 1727 | # -----------------------
|
---|
| 1728 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1729 | ac_fn_c_try_link ()
|
---|
| 1730 | {
|
---|
| 1731 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1732 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 1733 | if { { ac_try="$ac_link"
|
---|
| 1734 | case "(($ac_try" in
|
---|
| 1735 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1736 | *) ac_try_echo=$ac_try;;
|
---|
| 1737 | esac
|
---|
| 1738 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1739 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1740 | (eval "$ac_link") 2>conftest.err
|
---|
| 1741 | ac_status=$?
|
---|
| 1742 | if test -s conftest.err; then
|
---|
| 1743 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1744 | cat conftest.er1 >&5
|
---|
| 1745 | mv -f conftest.er1 conftest.err
|
---|
| 1746 | fi
|
---|
| 1747 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1748 | test $ac_status = 0; } && {
|
---|
| 1749 | test -z "$ac_c_werror_flag" ||
|
---|
| 1750 | test ! -s conftest.err
|
---|
| 1751 | } && test -s conftest$ac_exeext && {
|
---|
| 1752 | test "$cross_compiling" = yes ||
|
---|
| 1753 | $as_test_x conftest$ac_exeext
|
---|
| 1754 | }; then :
|
---|
| 1755 | ac_retval=0
|
---|
| 1756 | else
|
---|
| 1757 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1758 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1759 |
|
---|
| 1760 | ac_retval=1
|
---|
| 1761 | fi
|
---|
| 1762 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
| 1763 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
| 1764 | # interfere with the next link command; also delete a directory that is
|
---|
| 1765 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
| 1766 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1767 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1768 | as_fn_set_status $ac_retval
|
---|
| 1769 |
|
---|
| 1770 | } # ac_fn_c_try_link
|
---|
| 1771 | cat >config.log <<_ACEOF
|
---|
[10737] | 1772 | This file contains any messages produced by compilers while
|
---|
| 1773 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1774 |
|
---|
| 1775 | It was created by $as_me, which was
|
---|
[25173] | 1776 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[10737] | 1777 |
|
---|
| 1778 | $ $0 $@
|
---|
| 1779 |
|
---|
| 1780 | _ACEOF
|
---|
[25173] | 1781 | exec 5>>config.log
|
---|
[10737] | 1782 | {
|
---|
| 1783 | cat <<_ASUNAME
|
---|
| 1784 | ## --------- ##
|
---|
| 1785 | ## Platform. ##
|
---|
| 1786 | ## --------- ##
|
---|
| 1787 |
|
---|
| 1788 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1789 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1790 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1791 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1792 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1793 |
|
---|
| 1794 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1795 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1796 |
|
---|
| 1797 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1798 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1799 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[25173] | 1800 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[10737] | 1801 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1802 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1803 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1804 |
|
---|
| 1805 | _ASUNAME
|
---|
| 1806 |
|
---|
| 1807 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1808 | for as_dir in $PATH
|
---|
| 1809 | do
|
---|
| 1810 | IFS=$as_save_IFS
|
---|
| 1811 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 1812 | $as_echo "PATH: $as_dir"
|
---|
| 1813 | done
|
---|
| 1814 | IFS=$as_save_IFS
|
---|
[10737] | 1815 |
|
---|
| 1816 | } >&5
|
---|
| 1817 |
|
---|
| 1818 | cat >&5 <<_ACEOF
|
---|
| 1819 |
|
---|
| 1820 |
|
---|
| 1821 | ## ----------- ##
|
---|
| 1822 | ## Core tests. ##
|
---|
| 1823 | ## ----------- ##
|
---|
| 1824 |
|
---|
| 1825 | _ACEOF
|
---|
| 1826 |
|
---|
| 1827 |
|
---|
| 1828 | # Keep a trace of the command line.
|
---|
| 1829 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 1830 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1831 | # Also quote any args containing shell meta-characters.
|
---|
| 1832 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1833 | ac_configure_args=
|
---|
| 1834 | ac_configure_args0=
|
---|
| 1835 | ac_configure_args1=
|
---|
| 1836 | ac_must_keep_next=false
|
---|
| 1837 | for ac_pass in 1 2
|
---|
| 1838 | do
|
---|
| 1839 | for ac_arg
|
---|
| 1840 | do
|
---|
| 1841 | case $ac_arg in
|
---|
| 1842 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1843 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1844 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1845 | continue ;;
|
---|
[25173] | 1846 | *\'*)
|
---|
| 1847 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[10737] | 1848 | esac
|
---|
| 1849 | case $ac_pass in
|
---|
[25173] | 1850 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
[10737] | 1851 | 2)
|
---|
[25173] | 1852 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
[10737] | 1853 | if test $ac_must_keep_next = true; then
|
---|
| 1854 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1855 | else
|
---|
| 1856 | case $ac_arg in
|
---|
| 1857 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1858 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1859 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1860 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1861 | case "$ac_configure_args0 " in
|
---|
| 1862 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1863 | esac
|
---|
| 1864 | ;;
|
---|
| 1865 | -* ) ac_must_keep_next=true ;;
|
---|
| 1866 | esac
|
---|
| 1867 | fi
|
---|
[25173] | 1868 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
[10737] | 1869 | ;;
|
---|
| 1870 | esac
|
---|
| 1871 | done
|
---|
| 1872 | done
|
---|
[25173] | 1873 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 1874 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
[10737] | 1875 |
|
---|
| 1876 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1877 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1878 | # would cause problems or look ugly.
|
---|
[25173] | 1879 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 1880 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[10737] | 1881 | trap 'exit_status=$?
|
---|
| 1882 | # Save into config.log some information that might help in debugging.
|
---|
| 1883 | {
|
---|
| 1884 | echo
|
---|
| 1885 |
|
---|
[25173] | 1886 | $as_echo "## ---------------- ##
|
---|
[10737] | 1887 | ## Cache variables. ##
|
---|
[25173] | 1888 | ## ---------------- ##"
|
---|
[10737] | 1889 | echo
|
---|
| 1890 | # The following way of writing the cache mishandles newlines in values,
|
---|
[25173] | 1891 | (
|
---|
| 1892 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 1893 | eval ac_val=\$$ac_var
|
---|
| 1894 | case $ac_val in #(
|
---|
| 1895 | *${as_nl}*)
|
---|
| 1896 | case $ac_var in #(
|
---|
| 1897 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 1898 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 1899 | esac
|
---|
| 1900 | case $ac_var in #(
|
---|
| 1901 | _ | IFS | as_nl) ;; #(
|
---|
| 1902 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 1903 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 1904 | esac ;;
|
---|
| 1905 | esac
|
---|
| 1906 | done
|
---|
[10737] | 1907 | (set) 2>&1 |
|
---|
[25173] | 1908 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 1909 | *${as_nl}ac_space=\ *)
|
---|
[10737] | 1910 | sed -n \
|
---|
[25173] | 1911 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 1912 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 1913 | ;; #(
|
---|
[10737] | 1914 | *)
|
---|
[25173] | 1915 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[10737] | 1916 | ;;
|
---|
[25173] | 1917 | esac |
|
---|
| 1918 | sort
|
---|
| 1919 | )
|
---|
[10737] | 1920 | echo
|
---|
| 1921 |
|
---|
[25173] | 1922 | $as_echo "## ----------------- ##
|
---|
[10737] | 1923 | ## Output variables. ##
|
---|
[25173] | 1924 | ## ----------------- ##"
|
---|
[10737] | 1925 | echo
|
---|
| 1926 | for ac_var in $ac_subst_vars
|
---|
| 1927 | do
|
---|
[25173] | 1928 | eval ac_val=\$$ac_var
|
---|
| 1929 | case $ac_val in
|
---|
| 1930 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1931 | esac
|
---|
| 1932 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[10737] | 1933 | done | sort
|
---|
| 1934 | echo
|
---|
| 1935 |
|
---|
| 1936 | if test -n "$ac_subst_files"; then
|
---|
[25173] | 1937 | $as_echo "## ------------------- ##
|
---|
| 1938 | ## File substitutions. ##
|
---|
| 1939 | ## ------------------- ##"
|
---|
[10737] | 1940 | echo
|
---|
| 1941 | for ac_var in $ac_subst_files
|
---|
| 1942 | do
|
---|
[25173] | 1943 | eval ac_val=\$$ac_var
|
---|
| 1944 | case $ac_val in
|
---|
| 1945 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1946 | esac
|
---|
| 1947 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[10737] | 1948 | done | sort
|
---|
| 1949 | echo
|
---|
| 1950 | fi
|
---|
| 1951 |
|
---|
| 1952 | if test -s confdefs.h; then
|
---|
[25173] | 1953 | $as_echo "## ----------- ##
|
---|
[10737] | 1954 | ## confdefs.h. ##
|
---|
[25173] | 1955 | ## ----------- ##"
|
---|
[10737] | 1956 | echo
|
---|
[25173] | 1957 | cat confdefs.h
|
---|
[10737] | 1958 | echo
|
---|
| 1959 | fi
|
---|
| 1960 | test "$ac_signal" != 0 &&
|
---|
[25173] | 1961 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 1962 | $as_echo "$as_me: exit $exit_status"
|
---|
[10737] | 1963 | } >&5
|
---|
[25173] | 1964 | rm -f core *.core core.conftest.* &&
|
---|
| 1965 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[10737] | 1966 | exit $exit_status
|
---|
[25173] | 1967 | ' 0
|
---|
[10737] | 1968 | for ac_signal in 1 2 13 15; do
|
---|
[25173] | 1969 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
[10737] | 1970 | done
|
---|
| 1971 | ac_signal=0
|
---|
| 1972 |
|
---|
| 1973 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[25173] | 1974 | rm -f -r conftest* confdefs.h
|
---|
[10737] | 1975 |
|
---|
[25173] | 1976 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 1977 |
|
---|
[10737] | 1978 | # Predefined preprocessor variables.
|
---|
| 1979 |
|
---|
| 1980 | cat >>confdefs.h <<_ACEOF
|
---|
| 1981 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1982 | _ACEOF
|
---|
| 1983 |
|
---|
| 1984 | cat >>confdefs.h <<_ACEOF
|
---|
| 1985 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1986 | _ACEOF
|
---|
| 1987 |
|
---|
| 1988 | cat >>confdefs.h <<_ACEOF
|
---|
| 1989 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1990 | _ACEOF
|
---|
| 1991 |
|
---|
| 1992 | cat >>confdefs.h <<_ACEOF
|
---|
| 1993 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1994 | _ACEOF
|
---|
| 1995 |
|
---|
| 1996 | cat >>confdefs.h <<_ACEOF
|
---|
| 1997 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1998 | _ACEOF
|
---|
| 1999 |
|
---|
[25173] | 2000 | cat >>confdefs.h <<_ACEOF
|
---|
| 2001 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2002 | _ACEOF
|
---|
[10737] | 2003 |
|
---|
[25173] | 2004 |
|
---|
[10737] | 2005 | # Let the site file select an alternate cache file if it wants to.
|
---|
[25173] | 2006 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 2007 | ac_site_file1=NONE
|
---|
| 2008 | ac_site_file2=NONE
|
---|
| 2009 | if test -n "$CONFIG_SITE"; then
|
---|
| 2010 | # We do not want a PATH search for config.site.
|
---|
| 2011 | case $CONFIG_SITE in #((
|
---|
| 2012 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2013 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
| 2014 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2015 | esac
|
---|
| 2016 | elif test "x$prefix" != xNONE; then
|
---|
| 2017 | ac_site_file1=$prefix/share/config.site
|
---|
| 2018 | ac_site_file2=$prefix/etc/config.site
|
---|
| 2019 | else
|
---|
| 2020 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 2021 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[10737] | 2022 | fi
|
---|
[25173] | 2023 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2024 | do
|
---|
| 2025 | test "x$ac_site_file" = xNONE && continue
|
---|
| 2026 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
| 2027 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
| 2028 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[10737] | 2029 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[25173] | 2030 | . "$ac_site_file" \
|
---|
| 2031 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2032 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2033 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
[26706] | 2034 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[10737] | 2035 | fi
|
---|
| 2036 | done
|
---|
| 2037 |
|
---|
| 2038 | if test -r "$cache_file"; then
|
---|
[25173] | 2039 | # Some versions of bash will fail to source /dev/null (special files
|
---|
| 2040 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
| 2041 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
| 2042 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
| 2043 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[10737] | 2044 | case $cache_file in
|
---|
[25173] | 2045 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2046 | *) . "./$cache_file";;
|
---|
[10737] | 2047 | esac
|
---|
| 2048 | fi
|
---|
| 2049 | else
|
---|
[25173] | 2050 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
| 2051 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[10737] | 2052 | >$cache_file
|
---|
| 2053 | fi
|
---|
| 2054 |
|
---|
| 2055 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 2056 | # value.
|
---|
| 2057 | ac_cache_corrupted=false
|
---|
[25173] | 2058 | for ac_var in $ac_precious_vars; do
|
---|
[10737] | 2059 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2060 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[25173] | 2061 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2062 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[10737] | 2063 | case $ac_old_set,$ac_new_set in
|
---|
| 2064 | set,)
|
---|
[25173] | 2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 2066 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[10737] | 2067 | ac_cache_corrupted=: ;;
|
---|
| 2068 | ,set)
|
---|
[25173] | 2069 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 2070 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[10737] | 2071 | ac_cache_corrupted=: ;;
|
---|
| 2072 | ,);;
|
---|
| 2073 | *)
|
---|
| 2074 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[25173] | 2075 | # differences in whitespace do not lead to failure.
|
---|
| 2076 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 2077 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 2078 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
| 2079 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 2080 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2081 | ac_cache_corrupted=:
|
---|
| 2082 | else
|
---|
| 2083 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
| 2084 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 2085 | eval $ac_var=\$ac_old_val
|
---|
| 2086 | fi
|
---|
| 2087 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
| 2088 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
| 2089 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
| 2090 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[10737] | 2091 | fi;;
|
---|
| 2092 | esac
|
---|
| 2093 | # Pass precious variables to config.status.
|
---|
| 2094 | if test "$ac_new_set" = set; then
|
---|
| 2095 | case $ac_new_val in
|
---|
[25173] | 2096 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[10737] | 2097 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 2098 | esac
|
---|
| 2099 | case " $ac_configure_args " in
|
---|
| 2100 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[25173] | 2101 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
[10737] | 2102 | esac
|
---|
| 2103 | fi
|
---|
| 2104 | done
|
---|
| 2105 | if $ac_cache_corrupted; then
|
---|
[25173] | 2106 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2107 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2108 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
| 2109 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 2110 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
[10737] | 2111 | fi
|
---|
[25173] | 2112 | ## -------------------- ##
|
---|
| 2113 | ## Main body of script. ##
|
---|
| 2114 | ## -------------------- ##
|
---|
[10737] | 2115 |
|
---|
| 2116 | ac_ext=c
|
---|
| 2117 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2118 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2119 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2120 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2121 |
|
---|
| 2122 |
|
---|
| 2123 |
|
---|
| 2124 |
|
---|
[25173] | 2125 | # Check whether --with-gdbm was given.
|
---|
| 2126 | if test "${with_gdbm+set}" = set; then :
|
---|
| 2127 | withval=$with_gdbm; gdbmdir=$withval
|
---|
| 2128 | fi
|
---|
[10737] | 2129 |
|
---|
| 2130 |
|
---|
[18343] | 2131 | ac_aux_dir=
|
---|
[25173] | 2132 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 2133 | if test -f "$ac_dir/install-sh"; then
|
---|
[18343] | 2134 | ac_aux_dir=$ac_dir
|
---|
| 2135 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 2136 | break
|
---|
[25173] | 2137 | elif test -f "$ac_dir/install.sh"; then
|
---|
[18343] | 2138 | ac_aux_dir=$ac_dir
|
---|
| 2139 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 2140 | break
|
---|
[25173] | 2141 | elif test -f "$ac_dir/shtool"; then
|
---|
[18343] | 2142 | ac_aux_dir=$ac_dir
|
---|
| 2143 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 2144 | break
|
---|
| 2145 | fi
|
---|
| 2146 | done
|
---|
| 2147 | if test -z "$ac_aux_dir"; then
|
---|
[25173] | 2148 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
[18343] | 2149 | fi
|
---|
| 2150 |
|
---|
[25173] | 2151 | # These three variables are undocumented and unsupported,
|
---|
| 2152 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 2153 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 2154 | # whose full name contains unusual characters.
|
---|
| 2155 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 2156 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 2157 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 2158 |
|
---|
| 2159 |
|
---|
[18343] | 2160 | # Make sure we can run config.sub.
|
---|
[25173] | 2161 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
| 2162 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
[18343] | 2163 |
|
---|
[25173] | 2164 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
| 2165 | $as_echo_n "checking build system type... " >&6; }
|
---|
| 2166 | if ${ac_cv_build+:} false; then :
|
---|
| 2167 | $as_echo_n "(cached) " >&6
|
---|
[18343] | 2168 | else
|
---|
[25173] | 2169 | ac_build_alias=$build_alias
|
---|
| 2170 | test "x$ac_build_alias" = x &&
|
---|
| 2171 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 2172 | test "x$ac_build_alias" = x &&
|
---|
| 2173 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
| 2174 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
| 2175 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
[18343] | 2176 |
|
---|
| 2177 | fi
|
---|
[25173] | 2178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
| 2179 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 2180 | case $ac_cv_build in
|
---|
| 2181 | *-*-*) ;;
|
---|
[26706] | 2182 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
|
---|
[25173] | 2183 | esac
|
---|
[18343] | 2184 | build=$ac_cv_build
|
---|
[25173] | 2185 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 2186 | set x $ac_cv_build
|
---|
| 2187 | shift
|
---|
| 2188 | build_cpu=$1
|
---|
| 2189 | build_vendor=$2
|
---|
| 2190 | shift; shift
|
---|
| 2191 | # Remember, the first character of IFS is used to create $*,
|
---|
| 2192 | # except with old shells:
|
---|
| 2193 | build_os=$*
|
---|
| 2194 | IFS=$ac_save_IFS
|
---|
| 2195 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[18343] | 2196 |
|
---|
| 2197 |
|
---|
[25173] | 2198 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
| 2199 | $as_echo_n "checking host system type... " >&6; }
|
---|
| 2200 | if ${ac_cv_host+:} false; then :
|
---|
| 2201 | $as_echo_n "(cached) " >&6
|
---|
[18343] | 2202 | else
|
---|
[25173] | 2203 | if test "x$host_alias" = x; then
|
---|
| 2204 | ac_cv_host=$ac_cv_build
|
---|
| 2205 | else
|
---|
| 2206 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
| 2207 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
| 2208 | fi
|
---|
[18343] | 2209 |
|
---|
| 2210 | fi
|
---|
[25173] | 2211 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
| 2212 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 2213 | case $ac_cv_host in
|
---|
| 2214 | *-*-*) ;;
|
---|
[26706] | 2215 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
|
---|
[25173] | 2216 | esac
|
---|
[18343] | 2217 | host=$ac_cv_host
|
---|
[25173] | 2218 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 2219 | set x $ac_cv_host
|
---|
| 2220 | shift
|
---|
| 2221 | host_cpu=$1
|
---|
| 2222 | host_vendor=$2
|
---|
| 2223 | shift; shift
|
---|
| 2224 | # Remember, the first character of IFS is used to create $*,
|
---|
| 2225 | # except with old shells:
|
---|
| 2226 | host_os=$*
|
---|
| 2227 | IFS=$ac_save_IFS
|
---|
| 2228 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[18343] | 2229 |
|
---|
| 2230 |
|
---|
[25173] | 2231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
---|
| 2232 | $as_echo_n "checking target system type... " >&6; }
|
---|
| 2233 | if ${ac_cv_target+:} false; then :
|
---|
| 2234 | $as_echo_n "(cached) " >&6
|
---|
[18343] | 2235 | else
|
---|
[25173] | 2236 | if test "x$target_alias" = x; then
|
---|
| 2237 | ac_cv_target=$ac_cv_host
|
---|
| 2238 | else
|
---|
| 2239 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
| 2240 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
---|
| 2241 | fi
|
---|
[18343] | 2242 |
|
---|
| 2243 | fi
|
---|
[25173] | 2244 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
---|
| 2245 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 2246 | case $ac_cv_target in
|
---|
| 2247 | *-*-*) ;;
|
---|
[26706] | 2248 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
|
---|
[25173] | 2249 | esac
|
---|
[18343] | 2250 | target=$ac_cv_target
|
---|
[25173] | 2251 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 2252 | set x $ac_cv_target
|
---|
| 2253 | shift
|
---|
| 2254 | target_cpu=$1
|
---|
| 2255 | target_vendor=$2
|
---|
| 2256 | shift; shift
|
---|
| 2257 | # Remember, the first character of IFS is used to create $*,
|
---|
| 2258 | # except with old shells:
|
---|
| 2259 | target_os=$*
|
---|
| 2260 | IFS=$ac_save_IFS
|
---|
| 2261 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[18343] | 2262 |
|
---|
| 2263 |
|
---|
| 2264 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 2265 | # will get canonicalized.
|
---|
| 2266 | test -n "$target_alias" &&
|
---|
| 2267 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 2268 | NONENONEs,x,x, &&
|
---|
| 2269 | program_prefix=${target_alias}-
|
---|
| 2270 |
|
---|
[25173] | 2271 |
|
---|
[10737] | 2272 | # TODO: allow the user to specify whether they want a debugging
|
---|
| 2273 | # library or not?
|
---|
| 2274 |
|
---|
| 2275 | # check for compilers and other tools
|
---|
| 2276 | ac_ext=c
|
---|
| 2277 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2278 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2279 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2280 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2281 | if test -n "$ac_tool_prefix"; then
|
---|
| 2282 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2283 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[25173] | 2284 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2285 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2286 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 2287 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2288 | else
|
---|
| 2289 | if test -n "$CC"; then
|
---|
| 2290 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2291 | else
|
---|
| 2292 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2293 | for as_dir in $PATH
|
---|
| 2294 | do
|
---|
| 2295 | IFS=$as_save_IFS
|
---|
| 2296 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 2297 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2298 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 2299 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[25173] | 2300 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 2301 | break 2
|
---|
| 2302 | fi
|
---|
| 2303 | done
|
---|
[25173] | 2304 | done
|
---|
| 2305 | IFS=$as_save_IFS
|
---|
[10737] | 2306 |
|
---|
| 2307 | fi
|
---|
| 2308 | fi
|
---|
| 2309 | CC=$ac_cv_prog_CC
|
---|
| 2310 | if test -n "$CC"; then
|
---|
[25173] | 2311 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2312 | $as_echo "$CC" >&6; }
|
---|
[10737] | 2313 | else
|
---|
[25173] | 2314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2315 | $as_echo "no" >&6; }
|
---|
[10737] | 2316 | fi
|
---|
| 2317 |
|
---|
[25173] | 2318 |
|
---|
[10737] | 2319 | fi
|
---|
| 2320 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2321 | ac_ct_CC=$CC
|
---|
| 2322 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2323 | set dummy gcc; ac_word=$2
|
---|
[25173] | 2324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2325 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2326 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
| 2327 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2328 | else
|
---|
| 2329 | if test -n "$ac_ct_CC"; then
|
---|
| 2330 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2331 | else
|
---|
| 2332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2333 | for as_dir in $PATH
|
---|
| 2334 | do
|
---|
| 2335 | IFS=$as_save_IFS
|
---|
| 2336 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 2337 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2338 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 2339 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[25173] | 2340 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 2341 | break 2
|
---|
| 2342 | fi
|
---|
| 2343 | done
|
---|
[25173] | 2344 | done
|
---|
| 2345 | IFS=$as_save_IFS
|
---|
[10737] | 2346 |
|
---|
| 2347 | fi
|
---|
| 2348 | fi
|
---|
| 2349 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2350 | if test -n "$ac_ct_CC"; then
|
---|
[25173] | 2351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2352 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[10737] | 2353 | else
|
---|
[25173] | 2354 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2355 | $as_echo "no" >&6; }
|
---|
[10737] | 2356 | fi
|
---|
| 2357 |
|
---|
[25173] | 2358 | if test "x$ac_ct_CC" = x; then
|
---|
| 2359 | CC=""
|
---|
| 2360 | else
|
---|
| 2361 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2362 | yes:)
|
---|
| 2363 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2364 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2365 | ac_tool_warned=yes ;;
|
---|
| 2366 | esac
|
---|
| 2367 | CC=$ac_ct_CC
|
---|
| 2368 | fi
|
---|
[10737] | 2369 | else
|
---|
| 2370 | CC="$ac_cv_prog_CC"
|
---|
| 2371 | fi
|
---|
| 2372 |
|
---|
| 2373 | if test -z "$CC"; then
|
---|
[25173] | 2374 | if test -n "$ac_tool_prefix"; then
|
---|
| 2375 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[10737] | 2376 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[25173] | 2377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2378 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2379 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 2380 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2381 | else
|
---|
| 2382 | if test -n "$CC"; then
|
---|
| 2383 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2384 | else
|
---|
| 2385 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2386 | for as_dir in $PATH
|
---|
| 2387 | do
|
---|
| 2388 | IFS=$as_save_IFS
|
---|
| 2389 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 2390 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2391 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 2392 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[25173] | 2393 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 2394 | break 2
|
---|
| 2395 | fi
|
---|
| 2396 | done
|
---|
[25173] | 2397 | done
|
---|
| 2398 | IFS=$as_save_IFS
|
---|
[10737] | 2399 |
|
---|
| 2400 | fi
|
---|
| 2401 | fi
|
---|
| 2402 | CC=$ac_cv_prog_CC
|
---|
| 2403 | if test -n "$CC"; then
|
---|
[25173] | 2404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2405 | $as_echo "$CC" >&6; }
|
---|
[10737] | 2406 | else
|
---|
[25173] | 2407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2408 | $as_echo "no" >&6; }
|
---|
[10737] | 2409 | fi
|
---|
| 2410 |
|
---|
[25173] | 2411 |
|
---|
[10737] | 2412 | fi
|
---|
| 2413 | fi
|
---|
| 2414 | if test -z "$CC"; then
|
---|
| 2415 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2416 | set dummy cc; ac_word=$2
|
---|
[25173] | 2417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2418 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2419 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 2420 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2421 | else
|
---|
| 2422 | if test -n "$CC"; then
|
---|
| 2423 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2424 | else
|
---|
| 2425 | ac_prog_rejected=no
|
---|
| 2426 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2427 | for as_dir in $PATH
|
---|
| 2428 | do
|
---|
| 2429 | IFS=$as_save_IFS
|
---|
| 2430 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 2431 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2432 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 2433 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2434 | ac_prog_rejected=yes
|
---|
| 2435 | continue
|
---|
| 2436 | fi
|
---|
| 2437 | ac_cv_prog_CC="cc"
|
---|
[25173] | 2438 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 2439 | break 2
|
---|
| 2440 | fi
|
---|
| 2441 | done
|
---|
[25173] | 2442 | done
|
---|
| 2443 | IFS=$as_save_IFS
|
---|
[10737] | 2444 |
|
---|
| 2445 | if test $ac_prog_rejected = yes; then
|
---|
| 2446 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2447 | set dummy $ac_cv_prog_CC
|
---|
| 2448 | shift
|
---|
| 2449 | if test $# != 0; then
|
---|
| 2450 | # We chose a different compiler from the bogus one.
|
---|
| 2451 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2452 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2453 | shift
|
---|
| 2454 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2455 | fi
|
---|
| 2456 | fi
|
---|
| 2457 | fi
|
---|
| 2458 | fi
|
---|
| 2459 | CC=$ac_cv_prog_CC
|
---|
| 2460 | if test -n "$CC"; then
|
---|
[25173] | 2461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2462 | $as_echo "$CC" >&6; }
|
---|
[10737] | 2463 | else
|
---|
[25173] | 2464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2465 | $as_echo "no" >&6; }
|
---|
[10737] | 2466 | fi
|
---|
| 2467 |
|
---|
[25173] | 2468 |
|
---|
[10737] | 2469 | fi
|
---|
| 2470 | if test -z "$CC"; then
|
---|
| 2471 | if test -n "$ac_tool_prefix"; then
|
---|
[25173] | 2472 | for ac_prog in cl.exe
|
---|
[10737] | 2473 | do
|
---|
| 2474 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2475 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[25173] | 2476 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2477 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2478 | if ${ac_cv_prog_CC+:} false; then :
|
---|
| 2479 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2480 | else
|
---|
| 2481 | if test -n "$CC"; then
|
---|
| 2482 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2483 | else
|
---|
| 2484 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2485 | for as_dir in $PATH
|
---|
| 2486 | do
|
---|
| 2487 | IFS=$as_save_IFS
|
---|
| 2488 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 2489 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2490 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 2491 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[25173] | 2492 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 2493 | break 2
|
---|
| 2494 | fi
|
---|
| 2495 | done
|
---|
[25173] | 2496 | done
|
---|
| 2497 | IFS=$as_save_IFS
|
---|
[10737] | 2498 |
|
---|
| 2499 | fi
|
---|
| 2500 | fi
|
---|
| 2501 | CC=$ac_cv_prog_CC
|
---|
| 2502 | if test -n "$CC"; then
|
---|
[25173] | 2503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2504 | $as_echo "$CC" >&6; }
|
---|
[10737] | 2505 | else
|
---|
[25173] | 2506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2507 | $as_echo "no" >&6; }
|
---|
[10737] | 2508 | fi
|
---|
| 2509 |
|
---|
[25173] | 2510 |
|
---|
[10737] | 2511 | test -n "$CC" && break
|
---|
| 2512 | done
|
---|
| 2513 | fi
|
---|
| 2514 | if test -z "$CC"; then
|
---|
| 2515 | ac_ct_CC=$CC
|
---|
[25173] | 2516 | for ac_prog in cl.exe
|
---|
[10737] | 2517 | do
|
---|
| 2518 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2519 | set dummy $ac_prog; ac_word=$2
|
---|
[25173] | 2520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2521 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2522 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
| 2523 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2524 | else
|
---|
| 2525 | if test -n "$ac_ct_CC"; then
|
---|
| 2526 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2527 | else
|
---|
| 2528 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2529 | for as_dir in $PATH
|
---|
| 2530 | do
|
---|
| 2531 | IFS=$as_save_IFS
|
---|
| 2532 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 2533 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2534 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 2535 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[25173] | 2536 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 2537 | break 2
|
---|
| 2538 | fi
|
---|
| 2539 | done
|
---|
[25173] | 2540 | done
|
---|
| 2541 | IFS=$as_save_IFS
|
---|
[10737] | 2542 |
|
---|
| 2543 | fi
|
---|
| 2544 | fi
|
---|
| 2545 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2546 | if test -n "$ac_ct_CC"; then
|
---|
[25173] | 2547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2548 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[10737] | 2549 | else
|
---|
[25173] | 2550 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2551 | $as_echo "no" >&6; }
|
---|
[10737] | 2552 | fi
|
---|
| 2553 |
|
---|
[25173] | 2554 |
|
---|
[10737] | 2555 | test -n "$ac_ct_CC" && break
|
---|
| 2556 | done
|
---|
| 2557 |
|
---|
[25173] | 2558 | if test "x$ac_ct_CC" = x; then
|
---|
| 2559 | CC=""
|
---|
| 2560 | else
|
---|
| 2561 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2562 | yes:)
|
---|
| 2563 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2564 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2565 | ac_tool_warned=yes ;;
|
---|
| 2566 | esac
|
---|
| 2567 | CC=$ac_ct_CC
|
---|
| 2568 | fi
|
---|
[10737] | 2569 | fi
|
---|
| 2570 |
|
---|
| 2571 | fi
|
---|
| 2572 |
|
---|
| 2573 |
|
---|
[25173] | 2574 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2575 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2576 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
[26706] | 2577 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[10737] | 2578 |
|
---|
| 2579 | # Provide some information about the compiler.
|
---|
[25173] | 2580 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
| 2581 | set X $ac_compile
|
---|
| 2582 | ac_compiler=$2
|
---|
| 2583 | for ac_option in --version -v -V -qversion; do
|
---|
| 2584 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 2585 | case "(($ac_try" in
|
---|
| 2586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2587 | *) ac_try_echo=$ac_try;;
|
---|
| 2588 | esac
|
---|
| 2589 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2590 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2591 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[10737] | 2592 | ac_status=$?
|
---|
[25173] | 2593 | if test -s conftest.err; then
|
---|
| 2594 | sed '10a\
|
---|
| 2595 | ... rest of stderr output deleted ...
|
---|
| 2596 | 10q' conftest.err >conftest.er1
|
---|
| 2597 | cat conftest.er1 >&5
|
---|
| 2598 | fi
|
---|
| 2599 | rm -f conftest.er1 conftest.err
|
---|
| 2600 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2601 | test $ac_status = 0; }
|
---|
| 2602 | done
|
---|
[10737] | 2603 |
|
---|
[25173] | 2604 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 2605 | /* end confdefs.h. */
|
---|
| 2606 |
|
---|
| 2607 | int
|
---|
| 2608 | main ()
|
---|
| 2609 | {
|
---|
| 2610 |
|
---|
| 2611 | ;
|
---|
| 2612 | return 0;
|
---|
| 2613 | }
|
---|
| 2614 | _ACEOF
|
---|
| 2615 | ac_clean_files_save=$ac_clean_files
|
---|
[25173] | 2616 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[10737] | 2617 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2618 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2619 | # of exeext.
|
---|
[25173] | 2620 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
---|
| 2621 | $as_echo_n "checking whether the C compiler works... " >&6; }
|
---|
| 2622 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[10737] | 2623 |
|
---|
[25173] | 2624 | # The possible output files:
|
---|
| 2625 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2626 |
|
---|
| 2627 | ac_rmfiles=
|
---|
| 2628 | for ac_file in $ac_files
|
---|
[10737] | 2629 | do
|
---|
[25173] | 2630 | case $ac_file in
|
---|
| 2631 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2632 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2633 | esac
|
---|
| 2634 | done
|
---|
| 2635 | rm -f $ac_rmfiles
|
---|
| 2636 |
|
---|
| 2637 | if { { ac_try="$ac_link_default"
|
---|
| 2638 | case "(($ac_try" in
|
---|
| 2639 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2640 | *) ac_try_echo=$ac_try;;
|
---|
| 2641 | esac
|
---|
| 2642 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2643 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2644 | (eval "$ac_link_default") 2>&5
|
---|
| 2645 | ac_status=$?
|
---|
| 2646 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2647 | test $ac_status = 0; }; then :
|
---|
| 2648 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2649 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2650 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2651 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2652 | # Autoconf.
|
---|
| 2653 | for ac_file in $ac_files ''
|
---|
| 2654 | do
|
---|
[10737] | 2655 | test -f "$ac_file" || continue
|
---|
| 2656 | case $ac_file in
|
---|
[25173] | 2657 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[10737] | 2658 | ;;
|
---|
| 2659 | [ab].out )
|
---|
| 2660 | # We found the default executable, but exeext='' is most
|
---|
| 2661 | # certainly right.
|
---|
| 2662 | break;;
|
---|
| 2663 | *.* )
|
---|
[25173] | 2664 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
| 2665 | then :; else
|
---|
| 2666 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2667 | fi
|
---|
| 2668 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2669 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2670 | # argument, so we may need to know it at that point already.
|
---|
| 2671 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2672 | # actually working.
|
---|
[10737] | 2673 | break;;
|
---|
| 2674 | * )
|
---|
| 2675 | break;;
|
---|
| 2676 | esac
|
---|
| 2677 | done
|
---|
[25173] | 2678 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2679 |
|
---|
[10737] | 2680 | else
|
---|
[25173] | 2681 | ac_file=''
|
---|
| 2682 | fi
|
---|
| 2683 | if test -z "$ac_file"; then :
|
---|
| 2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2685 | $as_echo "no" >&6; }
|
---|
| 2686 | $as_echo "$as_me: failed program was:" >&5
|
---|
[10737] | 2687 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2688 |
|
---|
[25173] | 2689 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2690 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2691 | as_fn_error 77 "C compiler cannot create executables
|
---|
[26706] | 2692 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[25173] | 2693 | else
|
---|
| 2694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2695 | $as_echo "yes" >&6; }
|
---|
[10737] | 2696 | fi
|
---|
[25173] | 2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
---|
| 2698 | $as_echo_n "checking for C compiler default output file name... " >&6; }
|
---|
| 2699 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 2700 | $as_echo "$ac_file" >&6; }
|
---|
[10737] | 2701 | ac_exeext=$ac_cv_exeext
|
---|
| 2702 |
|
---|
[25173] | 2703 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[10737] | 2704 | ac_clean_files=$ac_clean_files_save
|
---|
[25173] | 2705 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
| 2706 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
| 2707 | if { { ac_try="$ac_link"
|
---|
| 2708 | case "(($ac_try" in
|
---|
| 2709 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2710 | *) ac_try_echo=$ac_try;;
|
---|
| 2711 | esac
|
---|
| 2712 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2713 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2714 | (eval "$ac_link") 2>&5
|
---|
[10737] | 2715 | ac_status=$?
|
---|
[25173] | 2716 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2717 | test $ac_status = 0; }; then :
|
---|
[10737] | 2718 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2719 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2720 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2721 | # `rm'.
|
---|
| 2722 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2723 | test -f "$ac_file" || continue
|
---|
| 2724 | case $ac_file in
|
---|
[25173] | 2725 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[10737] | 2726 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2727 | break;;
|
---|
| 2728 | * ) break;;
|
---|
| 2729 | esac
|
---|
| 2730 | done
|
---|
| 2731 | else
|
---|
[25173] | 2732 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2733 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2734 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
[26706] | 2735 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[10737] | 2736 | fi
|
---|
[25173] | 2737 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 2738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
| 2739 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[10737] | 2740 |
|
---|
| 2741 | rm -f conftest.$ac_ext
|
---|
| 2742 | EXEEXT=$ac_cv_exeext
|
---|
| 2743 | ac_exeext=$EXEEXT
|
---|
[25173] | 2744 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 2745 | /* end confdefs.h. */
|
---|
| 2746 | #include <stdio.h>
|
---|
| 2747 | int
|
---|
| 2748 | main ()
|
---|
| 2749 | {
|
---|
| 2750 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 2751 | return ferror (f) || fclose (f) != 0;
|
---|
| 2752 |
|
---|
| 2753 | ;
|
---|
| 2754 | return 0;
|
---|
| 2755 | }
|
---|
| 2756 | _ACEOF
|
---|
| 2757 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 2758 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 2759 | # the compiler is broken, or we cross compile.
|
---|
| 2760 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 2761 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 2762 | if test "$cross_compiling" != yes; then
|
---|
| 2763 | { { ac_try="$ac_link"
|
---|
| 2764 | case "(($ac_try" in
|
---|
| 2765 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2766 | *) ac_try_echo=$ac_try;;
|
---|
| 2767 | esac
|
---|
| 2768 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2769 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2770 | (eval "$ac_link") 2>&5
|
---|
| 2771 | ac_status=$?
|
---|
| 2772 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2773 | test $ac_status = 0; }
|
---|
| 2774 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 2775 | { { case "(($ac_try" in
|
---|
| 2776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2777 | *) ac_try_echo=$ac_try;;
|
---|
| 2778 | esac
|
---|
| 2779 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2780 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2781 | (eval "$ac_try") 2>&5
|
---|
| 2782 | ac_status=$?
|
---|
| 2783 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2784 | test $ac_status = 0; }; }; then
|
---|
| 2785 | cross_compiling=no
|
---|
| 2786 | else
|
---|
| 2787 | if test "$cross_compiling" = maybe; then
|
---|
| 2788 | cross_compiling=yes
|
---|
| 2789 | else
|
---|
| 2790 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2791 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2792 | as_fn_error $? "cannot run C compiled programs.
|
---|
| 2793 | If you meant to cross compile, use \`--host'.
|
---|
[26706] | 2794 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[25173] | 2795 | fi
|
---|
| 2796 | fi
|
---|
| 2797 | fi
|
---|
| 2798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 2799 | $as_echo "$cross_compiling" >&6; }
|
---|
| 2800 |
|
---|
| 2801 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 2802 | ac_clean_files=$ac_clean_files_save
|
---|
| 2803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
| 2804 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
| 2805 | if ${ac_cv_objext+:} false; then :
|
---|
| 2806 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2807 | else
|
---|
[25173] | 2808 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 2809 | /* end confdefs.h. */
|
---|
| 2810 |
|
---|
| 2811 | int
|
---|
| 2812 | main ()
|
---|
| 2813 | {
|
---|
| 2814 |
|
---|
| 2815 | ;
|
---|
| 2816 | return 0;
|
---|
| 2817 | }
|
---|
| 2818 | _ACEOF
|
---|
| 2819 | rm -f conftest.o conftest.obj
|
---|
[25173] | 2820 | if { { ac_try="$ac_compile"
|
---|
| 2821 | case "(($ac_try" in
|
---|
| 2822 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2823 | *) ac_try_echo=$ac_try;;
|
---|
| 2824 | esac
|
---|
| 2825 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2826 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2827 | (eval "$ac_compile") 2>&5
|
---|
[10737] | 2828 | ac_status=$?
|
---|
[25173] | 2829 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2830 | test $ac_status = 0; }; then :
|
---|
| 2831 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 2832 | test -f "$ac_file" || continue;
|
---|
[10737] | 2833 | case $ac_file in
|
---|
[25173] | 2834 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[10737] | 2835 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 2836 | break;;
|
---|
| 2837 | esac
|
---|
| 2838 | done
|
---|
| 2839 | else
|
---|
[25173] | 2840 | $as_echo "$as_me: failed program was:" >&5
|
---|
[10737] | 2841 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2842 |
|
---|
[25173] | 2843 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2844 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2845 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
[26706] | 2846 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[10737] | 2847 | fi
|
---|
| 2848 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 2849 | fi
|
---|
[25173] | 2850 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
| 2851 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[10737] | 2852 | OBJEXT=$ac_cv_objext
|
---|
| 2853 | ac_objext=$OBJEXT
|
---|
[25173] | 2854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
| 2855 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
| 2856 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
| 2857 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2858 | else
|
---|
[25173] | 2859 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 2860 | /* end confdefs.h. */
|
---|
| 2861 |
|
---|
| 2862 | int
|
---|
| 2863 | main ()
|
---|
| 2864 | {
|
---|
| 2865 | #ifndef __GNUC__
|
---|
| 2866 | choke me
|
---|
| 2867 | #endif
|
---|
| 2868 |
|
---|
| 2869 | ;
|
---|
| 2870 | return 0;
|
---|
| 2871 | }
|
---|
| 2872 | _ACEOF
|
---|
[25173] | 2873 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[10737] | 2874 | ac_compiler_gnu=yes
|
---|
| 2875 | else
|
---|
[25173] | 2876 | ac_compiler_gnu=no
|
---|
[10737] | 2877 | fi
|
---|
[25173] | 2878 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10737] | 2879 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 2880 |
|
---|
| 2881 | fi
|
---|
[25173] | 2882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 2883 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 2884 | if test $ac_compiler_gnu = yes; then
|
---|
| 2885 | GCC=yes
|
---|
| 2886 | else
|
---|
| 2887 | GCC=
|
---|
| 2888 | fi
|
---|
[10737] | 2889 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 2890 | ac_save_CFLAGS=$CFLAGS
|
---|
[25173] | 2891 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
| 2892 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
| 2893 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
| 2894 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2895 | else
|
---|
[25173] | 2896 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 2897 | ac_c_werror_flag=yes
|
---|
| 2898 | ac_cv_prog_cc_g=no
|
---|
| 2899 | CFLAGS="-g"
|
---|
| 2900 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 2901 | /* end confdefs.h. */
|
---|
| 2902 |
|
---|
| 2903 | int
|
---|
| 2904 | main ()
|
---|
| 2905 | {
|
---|
| 2906 |
|
---|
| 2907 | ;
|
---|
| 2908 | return 0;
|
---|
| 2909 | }
|
---|
| 2910 | _ACEOF
|
---|
[25173] | 2911 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[10737] | 2912 | ac_cv_prog_cc_g=yes
|
---|
| 2913 | else
|
---|
[25173] | 2914 | CFLAGS=""
|
---|
| 2915 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 2916 | /* end confdefs.h. */
|
---|
[10737] | 2917 |
|
---|
[25173] | 2918 | int
|
---|
| 2919 | main ()
|
---|
| 2920 | {
|
---|
| 2921 |
|
---|
| 2922 | ;
|
---|
| 2923 | return 0;
|
---|
| 2924 | }
|
---|
| 2925 | _ACEOF
|
---|
| 2926 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 2927 |
|
---|
| 2928 | else
|
---|
| 2929 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 2930 | CFLAGS="-g"
|
---|
| 2931 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 2932 | /* end confdefs.h. */
|
---|
| 2933 |
|
---|
| 2934 | int
|
---|
| 2935 | main ()
|
---|
| 2936 | {
|
---|
| 2937 |
|
---|
| 2938 | ;
|
---|
| 2939 | return 0;
|
---|
| 2940 | }
|
---|
| 2941 | _ACEOF
|
---|
| 2942 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 2943 | ac_cv_prog_cc_g=yes
|
---|
[10737] | 2944 | fi
|
---|
[25173] | 2945 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10737] | 2946 | fi
|
---|
[25173] | 2947 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2948 | fi
|
---|
| 2949 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2950 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 2951 | fi
|
---|
| 2952 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
| 2953 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[10737] | 2954 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 2955 | CFLAGS=$ac_save_CFLAGS
|
---|
| 2956 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 2957 | if test "$GCC" = yes; then
|
---|
| 2958 | CFLAGS="-g -O2"
|
---|
| 2959 | else
|
---|
| 2960 | CFLAGS="-g"
|
---|
| 2961 | fi
|
---|
| 2962 | else
|
---|
| 2963 | if test "$GCC" = yes; then
|
---|
| 2964 | CFLAGS="-O2"
|
---|
| 2965 | else
|
---|
| 2966 | CFLAGS=
|
---|
| 2967 | fi
|
---|
| 2968 | fi
|
---|
[25173] | 2969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
| 2970 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
| 2971 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
| 2972 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 2973 | else
|
---|
[25173] | 2974 | ac_cv_prog_cc_c89=no
|
---|
[10737] | 2975 | ac_save_CC=$CC
|
---|
[25173] | 2976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 2977 | /* end confdefs.h. */
|
---|
| 2978 | #include <stdarg.h>
|
---|
| 2979 | #include <stdio.h>
|
---|
| 2980 | #include <sys/types.h>
|
---|
| 2981 | #include <sys/stat.h>
|
---|
| 2982 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 2983 | struct buf { int x; };
|
---|
| 2984 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 2985 | static char *e (p, i)
|
---|
| 2986 | char **p;
|
---|
| 2987 | int i;
|
---|
| 2988 | {
|
---|
| 2989 | return p[i];
|
---|
| 2990 | }
|
---|
| 2991 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 2992 | {
|
---|
| 2993 | char *s;
|
---|
| 2994 | va_list v;
|
---|
| 2995 | va_start (v,p);
|
---|
| 2996 | s = g (p, va_arg (v,int));
|
---|
| 2997 | va_end (v);
|
---|
| 2998 | return s;
|
---|
| 2999 | }
|
---|
| 3000 |
|
---|
| 3001 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3002 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3003 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[25173] | 3004 | as 'x'. The following induces an error, until -std is added to get
|
---|
[10737] | 3005 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3006 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[25173] | 3007 | that's true only with -std. */
|
---|
[10737] | 3008 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3009 |
|
---|
[25173] | 3010 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3011 | inside strings and character constants. */
|
---|
| 3012 | #define FOO(x) 'x'
|
---|
| 3013 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3014 |
|
---|
[10737] | 3015 | int test (int i, double x);
|
---|
| 3016 | struct s1 {int (*f) (int a);};
|
---|
| 3017 | struct s2 {int (*f) (double a);};
|
---|
| 3018 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3019 | int argc;
|
---|
| 3020 | char **argv;
|
---|
| 3021 | int
|
---|
| 3022 | main ()
|
---|
| 3023 | {
|
---|
| 3024 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3025 | ;
|
---|
| 3026 | return 0;
|
---|
| 3027 | }
|
---|
| 3028 | _ACEOF
|
---|
[25173] | 3029 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3030 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[10737] | 3031 | do
|
---|
| 3032 | CC="$ac_save_CC $ac_arg"
|
---|
[25173] | 3033 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3034 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[10737] | 3035 | fi
|
---|
[25173] | 3036 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3037 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[10737] | 3038 | done
|
---|
[25173] | 3039 | rm -f conftest.$ac_ext
|
---|
[10737] | 3040 | CC=$ac_save_CC
|
---|
| 3041 |
|
---|
| 3042 | fi
|
---|
[25173] | 3043 | # AC_CACHE_VAL
|
---|
| 3044 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3045 | x)
|
---|
| 3046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
| 3047 | $as_echo "none needed" >&6; } ;;
|
---|
| 3048 | xno)
|
---|
| 3049 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
| 3050 | $as_echo "unsupported" >&6; } ;;
|
---|
[10737] | 3051 | *)
|
---|
[25173] | 3052 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
| 3053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
| 3054 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[10737] | 3055 | esac
|
---|
[25173] | 3056 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
[10737] | 3057 |
|
---|
| 3058 | fi
|
---|
| 3059 |
|
---|
| 3060 | ac_ext=c
|
---|
| 3061 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3062 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3063 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3064 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3065 |
|
---|
| 3066 | # Find a good install program. We prefer a C program (faster),
|
---|
| 3067 | # so one script is as good as another. But avoid the broken or
|
---|
| 3068 | # incompatible versions:
|
---|
| 3069 | # SysV /etc/install, /usr/sbin/install
|
---|
| 3070 | # SunOS /usr/etc/install
|
---|
| 3071 | # IRIX /sbin/install
|
---|
| 3072 | # AIX /bin/install
|
---|
| 3073 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 3074 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 3075 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 3076 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 3077 | # OS/2's system install, which has a completely different semantic
|
---|
| 3078 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[25173] | 3079 | # Reject install programs that cannot install multiple files.
|
---|
| 3080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
| 3081 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[10737] | 3082 | if test -z "$INSTALL"; then
|
---|
[25173] | 3083 | if ${ac_cv_path_install+:} false; then :
|
---|
| 3084 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3085 | else
|
---|
| 3086 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3087 | for as_dir in $PATH
|
---|
| 3088 | do
|
---|
| 3089 | IFS=$as_save_IFS
|
---|
| 3090 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 3091 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 3092 | case $as_dir/ in #((
|
---|
| 3093 | ./ | .// | /[cC]/* | \
|
---|
[10737] | 3094 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[25173] | 3095 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
[10737] | 3096 | /usr/ucb/* ) ;;
|
---|
| 3097 | *)
|
---|
| 3098 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 3099 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 3100 | # by default.
|
---|
| 3101 | for ac_prog in ginstall scoinst install; do
|
---|
| 3102 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25173] | 3103 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[10737] | 3104 | if test $ac_prog = install &&
|
---|
| 3105 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3106 | # AIX install. It has an incompatible calling convention.
|
---|
| 3107 | :
|
---|
| 3108 | elif test $ac_prog = install &&
|
---|
| 3109 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3110 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 3111 | :
|
---|
| 3112 | else
|
---|
[25173] | 3113 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 3114 | echo one > conftest.one
|
---|
| 3115 | echo two > conftest.two
|
---|
| 3116 | mkdir conftest.dir
|
---|
| 3117 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 3118 | test -s conftest.one && test -s conftest.two &&
|
---|
| 3119 | test -s conftest.dir/conftest.one &&
|
---|
| 3120 | test -s conftest.dir/conftest.two
|
---|
| 3121 | then
|
---|
| 3122 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 3123 | break 3
|
---|
| 3124 | fi
|
---|
[10737] | 3125 | fi
|
---|
| 3126 | fi
|
---|
| 3127 | done
|
---|
| 3128 | done
|
---|
| 3129 | ;;
|
---|
| 3130 | esac
|
---|
| 3131 |
|
---|
[25173] | 3132 | done
|
---|
| 3133 | IFS=$as_save_IFS
|
---|
[10737] | 3134 |
|
---|
[25173] | 3135 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 3136 |
|
---|
[10737] | 3137 | fi
|
---|
| 3138 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3139 | INSTALL=$ac_cv_path_install
|
---|
| 3140 | else
|
---|
[25173] | 3141 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 3142 | # value for INSTALL within a source directory, because that will
|
---|
[10737] | 3143 | # break other packages using the cache if that directory is
|
---|
[25173] | 3144 | # removed, or if the value is a relative name.
|
---|
[10737] | 3145 | INSTALL=$ac_install_sh
|
---|
| 3146 | fi
|
---|
| 3147 | fi
|
---|
[25173] | 3148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
| 3149 | $as_echo "$INSTALL" >&6; }
|
---|
[10737] | 3150 |
|
---|
| 3151 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3152 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3153 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3154 |
|
---|
| 3155 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 3156 |
|
---|
| 3157 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3158 |
|
---|
[25173] | 3159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
---|
| 3160 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[10737] | 3161 | LN_S=$as_ln_s
|
---|
| 3162 | if test "$LN_S" = "ln -s"; then
|
---|
[25173] | 3163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 3164 | $as_echo "yes" >&6; }
|
---|
[10737] | 3165 | else
|
---|
[25173] | 3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
---|
| 3167 | $as_echo "no, using $LN_S" >&6; }
|
---|
[10737] | 3168 | fi
|
---|
| 3169 |
|
---|
| 3170 |
|
---|
[25173] | 3171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
|
---|
| 3172 | $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
|
---|
[18343] | 3173 | arch_64bit=no
|
---|
| 3174 | case "$host_cpu" in
|
---|
| 3175 | x86_64) arch_64bit=yes ;;
|
---|
| 3176 | esac
|
---|
[10737] | 3177 |
|
---|
[18343] | 3178 | if test "$arch_64bit" = yes; then
|
---|
[25173] | 3179 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 3180 | $as_echo "yes" >&6; }
|
---|
| 3181 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 3182 | ARCH_DEP_FLAGS="-fPIC"
|
---|
| 3183 | gsdlarch='64'
|
---|
[18343] | 3184 | fi
|
---|
| 3185 | else
|
---|
[25173] | 3186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3187 | $as_echo "no" >&6; }
|
---|
| 3188 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 3189 | ARCH_DEP_FLAGS=
|
---|
| 3190 | gsdlarch='32'
|
---|
[18343] | 3191 | fi
|
---|
| 3192 | fi
|
---|
[21433] | 3193 |
|
---|
[25173] | 3194 | export ARCH_DEP_FLAGS
|
---|
[21433] | 3195 |
|
---|
[18343] | 3196 |
|
---|
| 3197 |
|
---|
[10737] | 3198 | ac_ext=c
|
---|
| 3199 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3200 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3201 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3202 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[25173] | 3203 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
| 3204 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[10737] | 3205 | # On Suns, sometimes $CPP names a directory.
|
---|
| 3206 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 3207 | CPP=
|
---|
| 3208 | fi
|
---|
| 3209 | if test -z "$CPP"; then
|
---|
[25173] | 3210 | if ${ac_cv_prog_CPP+:} false; then :
|
---|
| 3211 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3212 | else
|
---|
| 3213 | # Double quotes because CPP needs to be expanded
|
---|
| 3214 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 3215 | do
|
---|
| 3216 | ac_preproc_ok=false
|
---|
| 3217 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3218 | do
|
---|
| 3219 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3220 | # with a fresh cross-compiler works.
|
---|
| 3221 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3222 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3223 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3224 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[25173] | 3225 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3226 | /* end confdefs.h. */
|
---|
| 3227 | #ifdef __STDC__
|
---|
| 3228 | # include <limits.h>
|
---|
| 3229 | #else
|
---|
| 3230 | # include <assert.h>
|
---|
| 3231 | #endif
|
---|
| 3232 | Syntax error
|
---|
| 3233 | _ACEOF
|
---|
[25173] | 3234 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 3235 |
|
---|
[10737] | 3236 | else
|
---|
| 3237 | # Broken: fails on valid input.
|
---|
| 3238 | continue
|
---|
| 3239 | fi
|
---|
[25173] | 3240 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[10737] | 3241 |
|
---|
[25173] | 3242 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[10737] | 3243 | # can be detected and how.
|
---|
[25173] | 3244 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3245 | /* end confdefs.h. */
|
---|
| 3246 | #include <ac_nonexistent.h>
|
---|
| 3247 | _ACEOF
|
---|
[25173] | 3248 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[10737] | 3249 | # Broken: success on invalid input.
|
---|
| 3250 | continue
|
---|
| 3251 | else
|
---|
| 3252 | # Passes both tests.
|
---|
| 3253 | ac_preproc_ok=:
|
---|
| 3254 | break
|
---|
| 3255 | fi
|
---|
[25173] | 3256 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[10737] | 3257 |
|
---|
| 3258 | done
|
---|
| 3259 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[25173] | 3260 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 3261 | if $ac_preproc_ok; then :
|
---|
[10737] | 3262 | break
|
---|
| 3263 | fi
|
---|
| 3264 |
|
---|
| 3265 | done
|
---|
| 3266 | ac_cv_prog_CPP=$CPP
|
---|
| 3267 |
|
---|
| 3268 | fi
|
---|
| 3269 | CPP=$ac_cv_prog_CPP
|
---|
| 3270 | else
|
---|
| 3271 | ac_cv_prog_CPP=$CPP
|
---|
| 3272 | fi
|
---|
[25173] | 3273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
| 3274 | $as_echo "$CPP" >&6; }
|
---|
[10737] | 3275 | ac_preproc_ok=false
|
---|
| 3276 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3277 | do
|
---|
| 3278 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3279 | # with a fresh cross-compiler works.
|
---|
| 3280 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3281 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3282 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3283 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[25173] | 3284 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3285 | /* end confdefs.h. */
|
---|
| 3286 | #ifdef __STDC__
|
---|
| 3287 | # include <limits.h>
|
---|
| 3288 | #else
|
---|
| 3289 | # include <assert.h>
|
---|
| 3290 | #endif
|
---|
| 3291 | Syntax error
|
---|
| 3292 | _ACEOF
|
---|
[25173] | 3293 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 3294 |
|
---|
[10737] | 3295 | else
|
---|
| 3296 | # Broken: fails on valid input.
|
---|
| 3297 | continue
|
---|
| 3298 | fi
|
---|
[25173] | 3299 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[10737] | 3300 |
|
---|
[25173] | 3301 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[10737] | 3302 | # can be detected and how.
|
---|
[25173] | 3303 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3304 | /* end confdefs.h. */
|
---|
| 3305 | #include <ac_nonexistent.h>
|
---|
| 3306 | _ACEOF
|
---|
[25173] | 3307 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[10737] | 3308 | # Broken: success on invalid input.
|
---|
| 3309 | continue
|
---|
| 3310 | else
|
---|
| 3311 | # Passes both tests.
|
---|
| 3312 | ac_preproc_ok=:
|
---|
| 3313 | break
|
---|
| 3314 | fi
|
---|
[25173] | 3315 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[10737] | 3316 |
|
---|
| 3317 | done
|
---|
| 3318 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[25173] | 3319 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 3320 | if $ac_preproc_ok; then :
|
---|
| 3321 |
|
---|
[10737] | 3322 | else
|
---|
[25173] | 3323 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3324 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3325 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
[26706] | 3326 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[10737] | 3327 | fi
|
---|
| 3328 |
|
---|
| 3329 | ac_ext=c
|
---|
| 3330 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3331 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3332 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3333 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3334 |
|
---|
| 3335 |
|
---|
[25173] | 3336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
| 3337 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
| 3338 | if ${ac_cv_path_GREP+:} false; then :
|
---|
| 3339 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3340 | else
|
---|
[25173] | 3341 | if test -z "$GREP"; then
|
---|
| 3342 | ac_path_GREP_found=false
|
---|
| 3343 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 3344 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3345 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 3346 | do
|
---|
| 3347 | IFS=$as_save_IFS
|
---|
| 3348 | test -z "$as_dir" && as_dir=.
|
---|
| 3349 | for ac_prog in grep ggrep; do
|
---|
| 3350 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3351 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 3352 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 3353 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 3354 | # Check for GNU $ac_path_GREP
|
---|
| 3355 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 3356 | *GNU*)
|
---|
| 3357 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 3358 | *)
|
---|
| 3359 | ac_count=0
|
---|
| 3360 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 3361 | while :
|
---|
| 3362 | do
|
---|
| 3363 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 3364 | mv "conftest.tmp" "conftest.in"
|
---|
| 3365 | cp "conftest.in" "conftest.nl"
|
---|
| 3366 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 3367 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 3368 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 3369 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 3370 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 3371 | # Best one so far, save it but keep looking for a better one
|
---|
| 3372 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 3373 | ac_path_GREP_max=$ac_count
|
---|
[10737] | 3374 | fi
|
---|
[25173] | 3375 | # 10*(2^10) chars as input seems more than enough
|
---|
| 3376 | test $ac_count -gt 10 && break
|
---|
| 3377 | done
|
---|
| 3378 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 3379 | esac
|
---|
| 3380 |
|
---|
| 3381 | $ac_path_GREP_found && break 3
|
---|
| 3382 | done
|
---|
| 3383 | done
|
---|
| 3384 | done
|
---|
| 3385 | IFS=$as_save_IFS
|
---|
| 3386 | if test -z "$ac_cv_path_GREP"; then
|
---|
| 3387 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 3388 | fi
|
---|
| 3389 | else
|
---|
| 3390 | ac_cv_path_GREP=$GREP
|
---|
[10737] | 3391 | fi
|
---|
| 3392 |
|
---|
[25173] | 3393 | fi
|
---|
| 3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
| 3395 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 3396 | GREP="$ac_cv_path_GREP"
|
---|
[10737] | 3397 |
|
---|
[25173] | 3398 |
|
---|
| 3399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
| 3400 | $as_echo_n "checking for egrep... " >&6; }
|
---|
| 3401 | if ${ac_cv_path_EGREP+:} false; then :
|
---|
| 3402 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3403 | else
|
---|
[25173] | 3404 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 3405 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 3406 | else
|
---|
| 3407 | if test -z "$EGREP"; then
|
---|
| 3408 | ac_path_EGREP_found=false
|
---|
| 3409 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 3410 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3411 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 3412 | do
|
---|
| 3413 | IFS=$as_save_IFS
|
---|
| 3414 | test -z "$as_dir" && as_dir=.
|
---|
| 3415 | for ac_prog in egrep; do
|
---|
| 3416 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3417 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 3418 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 3419 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 3420 | # Check for GNU $ac_path_EGREP
|
---|
| 3421 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 3422 | *GNU*)
|
---|
| 3423 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 3424 | *)
|
---|
| 3425 | ac_count=0
|
---|
| 3426 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 3427 | while :
|
---|
| 3428 | do
|
---|
| 3429 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 3430 | mv "conftest.tmp" "conftest.in"
|
---|
| 3431 | cp "conftest.in" "conftest.nl"
|
---|
| 3432 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 3433 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 3434 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 3435 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 3436 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 3437 | # Best one so far, save it but keep looking for a better one
|
---|
| 3438 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 3439 | ac_path_EGREP_max=$ac_count
|
---|
| 3440 | fi
|
---|
| 3441 | # 10*(2^10) chars as input seems more than enough
|
---|
| 3442 | test $ac_count -gt 10 && break
|
---|
| 3443 | done
|
---|
| 3444 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 3445 | esac
|
---|
| 3446 |
|
---|
| 3447 | $ac_path_EGREP_found && break 3
|
---|
| 3448 | done
|
---|
| 3449 | done
|
---|
| 3450 | done
|
---|
| 3451 | IFS=$as_save_IFS
|
---|
| 3452 | if test -z "$ac_cv_path_EGREP"; then
|
---|
| 3453 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 3454 | fi
|
---|
| 3455 | else
|
---|
| 3456 | ac_cv_path_EGREP=$EGREP
|
---|
| 3457 | fi
|
---|
| 3458 |
|
---|
| 3459 | fi
|
---|
| 3460 | fi
|
---|
| 3461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
| 3462 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 3463 | EGREP="$ac_cv_path_EGREP"
|
---|
| 3464 |
|
---|
| 3465 |
|
---|
| 3466 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 3467 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 3468 | if ${ac_cv_header_stdc+:} false; then :
|
---|
| 3469 | $as_echo_n "(cached) " >&6
|
---|
| 3470 | else
|
---|
| 3471 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3472 | /* end confdefs.h. */
|
---|
| 3473 | #include <stdlib.h>
|
---|
| 3474 | #include <stdarg.h>
|
---|
| 3475 | #include <string.h>
|
---|
| 3476 | #include <float.h>
|
---|
| 3477 |
|
---|
| 3478 | int
|
---|
| 3479 | main ()
|
---|
| 3480 | {
|
---|
| 3481 |
|
---|
| 3482 | ;
|
---|
| 3483 | return 0;
|
---|
| 3484 | }
|
---|
| 3485 | _ACEOF
|
---|
[25173] | 3486 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[10737] | 3487 | ac_cv_header_stdc=yes
|
---|
| 3488 | else
|
---|
[25173] | 3489 | ac_cv_header_stdc=no
|
---|
[10737] | 3490 | fi
|
---|
[25173] | 3491 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10737] | 3492 |
|
---|
| 3493 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3494 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[25173] | 3495 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3496 | /* end confdefs.h. */
|
---|
| 3497 | #include <string.h>
|
---|
| 3498 |
|
---|
| 3499 | _ACEOF
|
---|
| 3500 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25173] | 3501 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 3502 |
|
---|
[10737] | 3503 | else
|
---|
| 3504 | ac_cv_header_stdc=no
|
---|
| 3505 | fi
|
---|
| 3506 | rm -f conftest*
|
---|
| 3507 |
|
---|
| 3508 | fi
|
---|
| 3509 |
|
---|
| 3510 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3511 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[25173] | 3512 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3513 | /* end confdefs.h. */
|
---|
| 3514 | #include <stdlib.h>
|
---|
| 3515 |
|
---|
| 3516 | _ACEOF
|
---|
| 3517 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25173] | 3518 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 3519 |
|
---|
[10737] | 3520 | else
|
---|
| 3521 | ac_cv_header_stdc=no
|
---|
| 3522 | fi
|
---|
| 3523 | rm -f conftest*
|
---|
| 3524 |
|
---|
| 3525 | fi
|
---|
| 3526 |
|
---|
| 3527 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3528 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[25173] | 3529 | if test "$cross_compiling" = yes; then :
|
---|
[10737] | 3530 | :
|
---|
| 3531 | else
|
---|
[25173] | 3532 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3533 | /* end confdefs.h. */
|
---|
| 3534 | #include <ctype.h>
|
---|
[25173] | 3535 | #include <stdlib.h>
|
---|
[10737] | 3536 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 3537 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 3538 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 3539 | #else
|
---|
| 3540 | # define ISLOWER(c) \
|
---|
| 3541 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 3542 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 3543 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 3544 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 3545 | #endif
|
---|
| 3546 |
|
---|
| 3547 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 3548 | int
|
---|
| 3549 | main ()
|
---|
| 3550 | {
|
---|
| 3551 | int i;
|
---|
| 3552 | for (i = 0; i < 256; i++)
|
---|
| 3553 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 3554 | || toupper (i) != TOUPPER (i))
|
---|
[25173] | 3555 | return 2;
|
---|
| 3556 | return 0;
|
---|
[10737] | 3557 | }
|
---|
| 3558 | _ACEOF
|
---|
[25173] | 3559 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 3560 |
|
---|
[10737] | 3561 | else
|
---|
[25173] | 3562 | ac_cv_header_stdc=no
|
---|
[10737] | 3563 | fi
|
---|
[25173] | 3564 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 3565 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[10737] | 3566 | fi
|
---|
[25173] | 3567 |
|
---|
[10737] | 3568 | fi
|
---|
| 3569 | fi
|
---|
[25173] | 3570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 3571 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[10737] | 3572 | if test $ac_cv_header_stdc = yes; then
|
---|
| 3573 |
|
---|
[25173] | 3574 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[10737] | 3575 |
|
---|
| 3576 | fi
|
---|
| 3577 |
|
---|
| 3578 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
| 3579 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 3580 | inttypes.h stdint.h unistd.h
|
---|
[25173] | 3581 | do :
|
---|
| 3582 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 3583 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 3584 | "
|
---|
| 3585 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[10737] | 3586 | cat >>confdefs.h <<_ACEOF
|
---|
[25173] | 3587 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[10737] | 3588 | _ACEOF
|
---|
| 3589 |
|
---|
| 3590 | fi
|
---|
| 3591 |
|
---|
| 3592 | done
|
---|
| 3593 |
|
---|
| 3594 |
|
---|
[25173] | 3595 | # The cast to long int works around a bug in the HP C Compiler
|
---|
| 3596 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
---|
| 3597 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
---|
| 3598 | # This bug is HP SR number 8606223364.
|
---|
| 3599 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
|
---|
| 3600 | $as_echo_n "checking size of void *... " >&6; }
|
---|
| 3601 | if ${ac_cv_sizeof_void_p+:} false; then :
|
---|
| 3602 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3603 | else
|
---|
[25173] | 3604 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
|
---|
[10737] | 3605 |
|
---|
| 3606 | else
|
---|
| 3607 | if test "$ac_cv_type_void_p" = yes; then
|
---|
[25173] | 3608 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3609 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3610 | as_fn_error 77 "cannot compute sizeof (void *)
|
---|
[26706] | 3611 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[25173] | 3612 | else
|
---|
| 3613 | ac_cv_sizeof_void_p=0
|
---|
| 3614 | fi
|
---|
[10737] | 3615 | fi
|
---|
| 3616 |
|
---|
| 3617 | fi
|
---|
[25173] | 3618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
|
---|
| 3619 | $as_echo "$ac_cv_sizeof_void_p" >&6; }
|
---|
[10737] | 3620 |
|
---|
| 3621 |
|
---|
| 3622 |
|
---|
| 3623 | cat >>confdefs.h <<_ACEOF
|
---|
| 3624 | #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
|
---|
| 3625 | _ACEOF
|
---|
| 3626 |
|
---|
| 3627 |
|
---|
[25173] | 3628 | # The cast to long int works around a bug in the HP C Compiler
|
---|
| 3629 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
---|
| 3630 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
---|
| 3631 | # This bug is HP SR number 8606223364.
|
---|
| 3632 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
|
---|
| 3633 | $as_echo_n "checking size of int... " >&6; }
|
---|
| 3634 | if ${ac_cv_sizeof_int+:} false; then :
|
---|
| 3635 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3636 | else
|
---|
[25173] | 3637 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
|
---|
[10737] | 3638 |
|
---|
| 3639 | else
|
---|
| 3640 | if test "$ac_cv_type_int" = yes; then
|
---|
[25173] | 3641 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3642 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3643 | as_fn_error 77 "cannot compute sizeof (int)
|
---|
[26706] | 3644 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[25173] | 3645 | else
|
---|
| 3646 | ac_cv_sizeof_int=0
|
---|
| 3647 | fi
|
---|
[10737] | 3648 | fi
|
---|
| 3649 |
|
---|
| 3650 | fi
|
---|
[25173] | 3651 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
|
---|
| 3652 | $as_echo "$ac_cv_sizeof_int" >&6; }
|
---|
[10737] | 3653 |
|
---|
| 3654 |
|
---|
| 3655 |
|
---|
| 3656 | cat >>confdefs.h <<_ACEOF
|
---|
| 3657 | #define SIZEOF_INT $ac_cv_sizeof_int
|
---|
| 3658 | _ACEOF
|
---|
| 3659 |
|
---|
| 3660 |
|
---|
[25173] | 3661 | # The cast to long int works around a bug in the HP C Compiler
|
---|
| 3662 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
---|
| 3663 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
---|
| 3664 | # This bug is HP SR number 8606223364.
|
---|
| 3665 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
|
---|
| 3666 | $as_echo_n "checking size of long... " >&6; }
|
---|
| 3667 | if ${ac_cv_sizeof_long+:} false; then :
|
---|
| 3668 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3669 | else
|
---|
[25173] | 3670 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
|
---|
[10737] | 3671 |
|
---|
| 3672 | else
|
---|
| 3673 | if test "$ac_cv_type_long" = yes; then
|
---|
[25173] | 3674 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3675 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3676 | as_fn_error 77 "cannot compute sizeof (long)
|
---|
[26706] | 3677 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[25173] | 3678 | else
|
---|
| 3679 | ac_cv_sizeof_long=0
|
---|
| 3680 | fi
|
---|
[10737] | 3681 | fi
|
---|
| 3682 |
|
---|
| 3683 | fi
|
---|
[25173] | 3684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
|
---|
| 3685 | $as_echo "$ac_cv_sizeof_long" >&6; }
|
---|
[10737] | 3686 |
|
---|
| 3687 |
|
---|
| 3688 |
|
---|
| 3689 | cat >>confdefs.h <<_ACEOF
|
---|
| 3690 | #define SIZEOF_LONG $ac_cv_sizeof_long
|
---|
| 3691 | _ACEOF
|
---|
| 3692 |
|
---|
| 3693 |
|
---|
| 3694 |
|
---|
| 3695 | ######## check for the JDK and tools within the JDK
|
---|
| 3696 | ######## look in the JAVA_HOME environment variable at configure-time
|
---|
[25173] | 3697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the JDK" >&5
|
---|
| 3698 | $as_echo_n "checking for the JDK... " >&6; }
|
---|
[10737] | 3699 | if test "z$JAVA_HOME" != z &&
|
---|
| 3700 | test -d $JAVA_HOME &&
|
---|
[26708] | 3701 | (test -d $JAVA_HOME/bin)
|
---|
| 3702 | # The following used to be the test, but failed on newer versions of MacOS
|
---|
| 3703 | # Cut back to something simpler, and rely on the later tests for JNIINC to confirm
|
---|
| 3704 | # files like 'jni.h' can be found
|
---|
| 3705 | # test -d $JAVA_HOME &&
|
---|
| 3706 | # (test -d $JAVA_HOME/include || test -d $JAVA_HOME/../Headers)
|
---|
[10737] | 3707 | then
|
---|
| 3708 |
|
---|
[25173] | 3709 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $JAVA_HOME" >&5
|
---|
| 3710 | $as_echo "found in $JAVA_HOME" >&6; }
|
---|
[10737] | 3711 | else
|
---|
[25173] | 3712 | as_fn_error $? "not found in \$JAVA_HOME" "$LINENO" 5
|
---|
[10737] | 3713 | fi
|
---|
| 3714 |
|
---|
| 3715 | # TODO: Check for specific header files in the JDK, or
|
---|
| 3716 | # functions/definitions within those headers?
|
---|
| 3717 |
|
---|
| 3718 | # TODO: guess which include directory to use under the JDK
|
---|
| 3719 |
|
---|
| 3720 | # Extract the first word of "javah", so it can be a program name with args.
|
---|
| 3721 | set dummy javah; ac_word=$2
|
---|
[25173] | 3722 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3723 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3724 | if ${ac_cv_path_javagdbm_cv_path_javah+:} false; then :
|
---|
| 3725 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3726 | else
|
---|
| 3727 | case $javagdbm_cv_path_javah in
|
---|
| 3728 | [\\/]* | ?:[\\/]*)
|
---|
| 3729 | ac_cv_path_javagdbm_cv_path_javah="$javagdbm_cv_path_javah" # Let the user override the test with a path.
|
---|
| 3730 | ;;
|
---|
| 3731 | *)
|
---|
| 3732 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3733 | for as_dir in $PATH
|
---|
| 3734 | do
|
---|
| 3735 | IFS=$as_save_IFS
|
---|
| 3736 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 3737 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3738 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 3739 | ac_cv_path_javagdbm_cv_path_javah="$as_dir/$ac_word$ac_exec_ext"
|
---|
[25173] | 3740 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 3741 | break 2
|
---|
| 3742 | fi
|
---|
| 3743 | done
|
---|
[25173] | 3744 | done
|
---|
| 3745 | IFS=$as_save_IFS
|
---|
[10737] | 3746 |
|
---|
| 3747 | test -z "$ac_cv_path_javagdbm_cv_path_javah" && ac_cv_path_javagdbm_cv_path_javah="missing_javah"
|
---|
| 3748 | ;;
|
---|
| 3749 | esac
|
---|
| 3750 | fi
|
---|
| 3751 | javagdbm_cv_path_javah=$ac_cv_path_javagdbm_cv_path_javah
|
---|
| 3752 | if test -n "$javagdbm_cv_path_javah"; then
|
---|
[25173] | 3753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_javah" >&5
|
---|
| 3754 | $as_echo "$javagdbm_cv_path_javah" >&6; }
|
---|
[10737] | 3755 | else
|
---|
[25173] | 3756 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3757 | $as_echo "no" >&6; }
|
---|
[10737] | 3758 | fi
|
---|
| 3759 |
|
---|
[25173] | 3760 |
|
---|
[10737] | 3761 | if test "$javagdbm_cv_path_javah" = missing_javah; then
|
---|
[25173] | 3762 | as_fn_error $? "javah not found." "$LINENO" 5
|
---|
[10737] | 3763 | fi
|
---|
| 3764 |
|
---|
| 3765 | # Extract the first word of "java", so it can be a program name with args.
|
---|
| 3766 | set dummy java; ac_word=$2
|
---|
[25173] | 3767 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3768 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3769 | if ${ac_cv_path_javagdbm_cv_path_java+:} false; then :
|
---|
| 3770 | $as_echo_n "(cached) " >&6
|
---|
[10737] | 3771 | else
|
---|
| 3772 | case $javagdbm_cv_path_java in
|
---|
| 3773 | [\\/]* | ?:[\\/]*)
|
---|
| 3774 | ac_cv_path_javagdbm_cv_path_java="$javagdbm_cv_path_java" # Let the user override the test with a path.
|
---|
| 3775 | ;;
|
---|
| 3776 | *)
|
---|
| 3777 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3778 | for as_dir in $PATH
|
---|
| 3779 | do
|
---|
| 3780 | IFS=$as_save_IFS
|
---|
| 3781 | test -z "$as_dir" && as_dir=.
|
---|
[25173] | 3782 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3783 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10737] | 3784 | ac_cv_path_javagdbm_cv_path_java="$as_dir/$ac_word$ac_exec_ext"
|
---|
[25173] | 3785 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10737] | 3786 | break 2
|
---|
| 3787 | fi
|
---|
| 3788 | done
|
---|
[25173] | 3789 | done
|
---|
| 3790 | IFS=$as_save_IFS
|
---|
[10737] | 3791 |
|
---|
| 3792 | test -z "$ac_cv_path_javagdbm_cv_path_java" && ac_cv_path_javagdbm_cv_path_java="missing"
|
---|
| 3793 | ;;
|
---|
| 3794 | esac
|
---|
| 3795 | fi
|
---|
| 3796 | javagdbm_cv_path_java=$ac_cv_path_javagdbm_cv_path_java
|
---|
| 3797 | if test -n "$javagdbm_cv_path_java"; then
|
---|
[25173] | 3798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_java" >&5
|
---|
| 3799 | $as_echo "$javagdbm_cv_path_java" >&6; }
|
---|
[10737] | 3800 | else
|
---|
[25173] | 3801 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3802 | $as_echo "no" >&6; }
|
---|
[10737] | 3803 | fi
|
---|
| 3804 |
|
---|
[25173] | 3805 |
|
---|
[10737] | 3806 | if test "$javagdbm_cv_path_java" = missing; then
|
---|
[25173] | 3807 | as_fn_error $? "java not found." "$LINENO" 5
|
---|
[10737] | 3808 | fi
|
---|
| 3809 |
|
---|
| 3810 | # check for gdbm library
|
---|
[10771] | 3811 | #AC_CHECK_LIB(gdbm, gdbm_open, [javagdbm_cv_lib_gdbm="-lgdbm"],
|
---|
| 3812 | # [javagdbm_cv_lib_gdbm=no])
|
---|
| 3813 | #if test "$javagdbm_cv_lib_gdbm" = "no"; then
|
---|
| 3814 | # AC_MSG_ERROR([no native gdbm library found.])
|
---|
| 3815 | #fi
|
---|
| 3816 | #LIBS="$javagdbm_cv_lib_gdbm"
|
---|
| 3817 |
|
---|
| 3818 | # gdbm stuff copied from gsdl [kjdon]
|
---|
| 3819 |
|
---|
| 3820 |
|
---|
[25173] | 3821 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that the GDBM library is available" >&5
|
---|
| 3822 | $as_echo_n "checking that the GDBM library is available... " >&6; }
|
---|
[10771] | 3823 | if test ! -z "$gdbmdir" ; then
|
---|
| 3824 | # look in given directory for header file
|
---|
| 3825 | if test -r $gdbmdir/include/gdbm.h ; then
|
---|
| 3826 | GDBM_INCLUDE="-I$gdbmdir/include" ;
|
---|
| 3827 | elif test -r $gdbmdir/gdbm.h ; then
|
---|
| 3828 | GDBM_INCLUDE="-I$gdbmdir" ;
|
---|
| 3829 | fi
|
---|
| 3830 |
|
---|
| 3831 | # look in given directory for library
|
---|
| 3832 | if test -r $gdbmdir/libgdbm.a ; then
|
---|
| 3833 | GDBM_LIBPATH="-L$gdbmdir" ;
|
---|
| 3834 | elif test -r $gdbmdir/lib/libgdbm.a ; then
|
---|
| 3835 | GDBM_LIBPATH="-L$gdbmdir/lib" ;
|
---|
| 3836 | elif test -r $gdbmdir/.libs/libgdbm.a ; then
|
---|
| 3837 | GDBM_LIBPATH="-L$gdbmdir/.libs" ;
|
---|
| 3838 | fi
|
---|
| 3839 |
|
---|
| 3840 | if test ! -z "$GDBM_LIBPATH" -a ! -z "$GDBM_INCLUDE" ; then
|
---|
[25173] | 3841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbmdir" >&5
|
---|
| 3842 | $as_echo "$gdbmdir" >&6; } ;
|
---|
[10771] | 3843 | else
|
---|
[25173] | 3844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&5
|
---|
| 3845 | $as_echo "can't find gdbm.h and libgdbm.a in $gdbmdir" >&6; };
|
---|
| 3846 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking looking for GDBM library in default locations" >&5
|
---|
| 3847 | $as_echo_n "checking looking for GDBM library in default locations... " >&6; }
|
---|
[10771] | 3848 | fi
|
---|
| 3849 | fi
|
---|
| 3850 |
|
---|
| 3851 | # look in default path and in /usr/local
|
---|
| 3852 | if test -z "$GDBM_INCLUDE" ; then
|
---|
| 3853 | # try in system directory
|
---|
[25173] | 3854 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10771] | 3855 | /* end confdefs.h. */
|
---|
| 3856 | #include <gdbm.h>
|
---|
| 3857 |
|
---|
| 3858 | int
|
---|
| 3859 | main ()
|
---|
| 3860 | {
|
---|
| 3861 |
|
---|
| 3862 | ;
|
---|
| 3863 | return 0;
|
---|
| 3864 | }
|
---|
| 3865 | _ACEOF
|
---|
[25173] | 3866 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[10771] | 3867 | success=yes
|
---|
[10737] | 3868 | else
|
---|
[25173] | 3869 | success=no
|
---|
[10771] | 3870 |
|
---|
| 3871 | fi
|
---|
[25173] | 3872 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10771] | 3873 |
|
---|
| 3874 | if test $success = "no"; then
|
---|
| 3875 | # last chance - look in /usr/local (eg FreeBSD)
|
---|
| 3876 | GDBM_LIBPATH=-L/usr/local/lib
|
---|
| 3877 | GDBM_INCLUDE=-I/usr/local/include
|
---|
| 3878 | ac_save_CXXFLAGS="$CXXFLAGS"
|
---|
| 3879 | ac_save_LIBS="$LIBS"
|
---|
| 3880 | CXXFLAGS="$CXXFLAGS -I/usr/local/include"
|
---|
| 3881 | LIBS="$LIBS -L/usr/local/lib -lgdbm"
|
---|
[25173] | 3882 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10737] | 3883 | /* end confdefs.h. */
|
---|
[10771] | 3884 | #include <gdbm.h>
|
---|
| 3885 | #include <stdio.h>
|
---|
[10737] | 3886 |
|
---|
| 3887 | int
|
---|
| 3888 | main ()
|
---|
| 3889 | {
|
---|
[10771] | 3890 | printf("%s",gdbm_version);
|
---|
[10737] | 3891 | ;
|
---|
| 3892 | return 0;
|
---|
| 3893 | }
|
---|
| 3894 | _ACEOF
|
---|
[25173] | 3895 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[10771] | 3896 | success=/usr/local
|
---|
[10737] | 3897 | else
|
---|
[25173] | 3898 | success=no
|
---|
[10737] | 3899 |
|
---|
| 3900 | fi
|
---|
[25173] | 3901 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 3902 | conftest$ac_exeext conftest.$ac_ext
|
---|
[10771] | 3903 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3904 | LIBS=$ac_save_LIBS
|
---|
| 3905 | fi
|
---|
[10737] | 3906 |
|
---|
[25173] | 3907 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $success" >&5
|
---|
| 3908 | $as_echo "$success" >&6; }
|
---|
[10771] | 3909 | if test $success = "no"; then
|
---|
[25173] | 3910 | as_fn_error $? "GDBM Library not available - cannot install" "$LINENO" 5
|
---|
[10771] | 3911 | fi
|
---|
[10737] | 3912 | fi
|
---|
[25173] | 3913 | $as_echo "#define HAVE_LIBGDBM 1" >>confdefs.h
|
---|
[10737] | 3914 |
|
---|
[10771] | 3915 |
|
---|
| 3916 |
|
---|
| 3917 |
|
---|
| 3918 |
|
---|
[10737] | 3919 | ########## set compiler options
|
---|
| 3920 | # TODO: is there a more appropriate way to guess which switches to use
|
---|
| 3921 | # with which systems/compilers?
|
---|
| 3922 | CFLAGS="-Wall -O2 -fpic"
|
---|
| 3923 | PKG="au.com.pharos.gdbm"
|
---|
| 3924 |
|
---|
| 3925 |
|
---|
| 3926 |
|
---|
| 3927 |
|
---|
| 3928 | # we need to set an extended JNI path for Mac OS/Darwin, as jni.h is on
|
---|
| 3929 | # a non-standard Path
|
---|
[10917] | 3930 | # is there a better way to do this??
|
---|
[25173] | 3931 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS to set JNI options" >&5
|
---|
| 3932 | $as_echo_n "checking for OS to set JNI options... " >&6; }
|
---|
[10917] | 3933 | # set defaults
|
---|
| 3934 | JNIINC=""
|
---|
[26672] | 3935 | JNIPREFIX="lib"
|
---|
[10917] | 3936 | JNISUFFIX="so"
|
---|
[26672] | 3937 | JNICFLAGS=""
|
---|
| 3938 | JNILDFLAGS="-shared"
|
---|
[10917] | 3939 |
|
---|
[10737] | 3940 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[25173] | 3941 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
|
---|
| 3942 | $as_echo "Darwin" >&6; }
|
---|
[10737] | 3943 | JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
|
---|
| 3944 | JNISUFFIX="jnilib"
|
---|
[26672] | 3945 | JNILDFLAGS="-dynamiclib -fno-common -single_module -framework JavaVM"
|
---|
[10737] | 3946 | fi
|
---|
[10917] | 3947 | if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
|
---|
[25173] | 3948 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5
|
---|
| 3949 | $as_echo "Solaris" >&6; }
|
---|
[10917] | 3950 | JNIINC="-I\$(JAVA_HOME)/include/solaris "
|
---|
| 3951 | fi
|
---|
| 3952 | if test "`(uname -s) 2> /dev/null`" = 'Linux'; then
|
---|
[25173] | 3953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
|
---|
| 3954 | $as_echo "Linux" >&6; }
|
---|
[26706] | 3955 | JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include "
|
---|
[10917] | 3956 | fi
|
---|
[10737] | 3957 |
|
---|
[26672] | 3958 | if test "x$crossOS" != "x" ; then
|
---|
| 3959 | if test "$crossOS" = "windows" ; then
|
---|
| 3960 | JNIINC="-I../java-windows-include/win32 -I../java-windows-include "
|
---|
| 3961 | JNICFLAGS="-Wall -D_JNI_IMPLEMENTATION_ -Wl,--kill-at"
|
---|
| 3962 | JNIPREFIX=""
|
---|
| 3963 | JNISUFFIX="dll"
|
---|
| 3964 | fi
|
---|
| 3965 | fi
|
---|
[10737] | 3966 |
|
---|
| 3967 |
|
---|
| 3968 |
|
---|
[10917] | 3969 |
|
---|
[26672] | 3970 |
|
---|
| 3971 |
|
---|
| 3972 |
|
---|
[10737] | 3973 | # write the output
|
---|
[25173] | 3974 | ac_config_files="$ac_config_files Makefile jni/Makefile java/Makefile"
|
---|
| 3975 |
|
---|
[10737] | 3976 | cat >confcache <<\_ACEOF
|
---|
| 3977 | # This file is a shell script that caches the results of configure
|
---|
| 3978 | # tests run on this system so they can be shared between configure
|
---|
| 3979 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 3980 | # It is not useful on other systems. If it contains results you don't
|
---|
| 3981 | # want to keep, you may remove or edit it.
|
---|
| 3982 | #
|
---|
| 3983 | # config.status only pays attention to the cache file if you give it
|
---|
| 3984 | # the --recheck option to rerun configure.
|
---|
| 3985 | #
|
---|
| 3986 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 3987 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 3988 | # following values.
|
---|
| 3989 |
|
---|
| 3990 | _ACEOF
|
---|
| 3991 |
|
---|
| 3992 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 3993 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[25173] | 3994 | # So, we kill variables containing newlines.
|
---|
[10737] | 3995 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 3996 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[25173] | 3997 | (
|
---|
| 3998 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 3999 | eval ac_val=\$$ac_var
|
---|
| 4000 | case $ac_val in #(
|
---|
| 4001 | *${as_nl}*)
|
---|
| 4002 | case $ac_var in #(
|
---|
| 4003 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 4004 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 4005 | esac
|
---|
| 4006 | case $ac_var in #(
|
---|
| 4007 | _ | IFS | as_nl) ;; #(
|
---|
| 4008 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 4009 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 4010 | esac ;;
|
---|
| 4011 | esac
|
---|
| 4012 | done
|
---|
| 4013 |
|
---|
[10737] | 4014 | (set) 2>&1 |
|
---|
[25173] | 4015 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 4016 | *${as_nl}ac_space=\ *)
|
---|
| 4017 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 4018 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
[10737] | 4019 | sed -n \
|
---|
| 4020 | "s/'/'\\\\''/g;
|
---|
| 4021 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[25173] | 4022 | ;; #(
|
---|
[10737] | 4023 | *)
|
---|
| 4024 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[25173] | 4025 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[10737] | 4026 | ;;
|
---|
[25173] | 4027 | esac |
|
---|
| 4028 | sort
|
---|
| 4029 | ) |
|
---|
[10737] | 4030 | sed '
|
---|
[25173] | 4031 | /^ac_cv_env_/b end
|
---|
[10737] | 4032 | t clear
|
---|
[25173] | 4033 | :clear
|
---|
[10737] | 4034 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 4035 | t end
|
---|
[25173] | 4036 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 4037 | :end' >>confcache
|
---|
| 4038 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 4039 | if test -w "$cache_file"; then
|
---|
| 4040 | if test "x$cache_file" != "x/dev/null"; then
|
---|
| 4041 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
| 4042 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
| 4043 | if test ! -f "$cache_file" || test -h "$cache_file"; then
|
---|
| 4044 | cat confcache >"$cache_file"
|
---|
| 4045 | else
|
---|
| 4046 | case $cache_file in #(
|
---|
| 4047 | */* | ?:*)
|
---|
| 4048 | mv -f confcache "$cache_file"$$ &&
|
---|
| 4049 | mv -f "$cache_file"$$ "$cache_file" ;; #(
|
---|
| 4050 | *)
|
---|
| 4051 | mv -f confcache "$cache_file" ;;
|
---|
| 4052 | esac
|
---|
| 4053 | fi
|
---|
| 4054 | fi
|
---|
[10737] | 4055 | else
|
---|
[25173] | 4056 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
| 4057 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[10737] | 4058 | fi
|
---|
| 4059 | fi
|
---|
| 4060 | rm -f confcache
|
---|
| 4061 |
|
---|
| 4062 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 4063 | # Let make expand exec_prefix.
|
---|
| 4064 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 4065 |
|
---|
| 4066 | # Transform confdefs.h into DEFS.
|
---|
| 4067 | # Protect against shell expansion while executing Makefile rules.
|
---|
| 4068 | # Protect against Makefile macro expansion.
|
---|
| 4069 | #
|
---|
| 4070 | # If the first sed substitution is executed (which looks for macros that
|
---|
[25173] | 4071 | # take arguments), then branch to the quote section. Otherwise,
|
---|
[10737] | 4072 | # look for a macro that doesn't take arguments.
|
---|
[25173] | 4073 | ac_script='
|
---|
| 4074 | :mline
|
---|
| 4075 | /\\$/{
|
---|
| 4076 | N
|
---|
| 4077 | s,\\\n,,
|
---|
| 4078 | b mline
|
---|
| 4079 | }
|
---|
[10737] | 4080 | t clear
|
---|
[25173] | 4081 | :clear
|
---|
| 4082 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
---|
[10737] | 4083 | t quote
|
---|
[25173] | 4084 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
---|
[10737] | 4085 | t quote
|
---|
[25173] | 4086 | b any
|
---|
| 4087 | :quote
|
---|
| 4088 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
---|
| 4089 | s/\[/\\&/g
|
---|
| 4090 | s/\]/\\&/g
|
---|
| 4091 | s/\$/$$/g
|
---|
| 4092 | H
|
---|
| 4093 | :any
|
---|
| 4094 | ${
|
---|
| 4095 | g
|
---|
| 4096 | s/^\n//
|
---|
| 4097 | s/\n/ /g
|
---|
| 4098 | p
|
---|
| 4099 | }
|
---|
| 4100 | '
|
---|
| 4101 | DEFS=`sed -n "$ac_script" confdefs.h`
|
---|
[10737] | 4102 |
|
---|
| 4103 |
|
---|
| 4104 | ac_libobjs=
|
---|
| 4105 | ac_ltlibobjs=
|
---|
[25173] | 4106 | U=
|
---|
[10737] | 4107 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 4108 | # 1. Remove the extension, and $U if already installed.
|
---|
[25173] | 4109 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 4110 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 4111 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 4112 | # will be set to the directory where LIBOBJS objects are built.
|
---|
| 4113 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 4114 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[10737] | 4115 | done
|
---|
| 4116 | LIBOBJS=$ac_libobjs
|
---|
| 4117 |
|
---|
| 4118 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 4119 |
|
---|
| 4120 |
|
---|
| 4121 |
|
---|
[25173] | 4122 | : "${CONFIG_STATUS=./config.status}"
|
---|
| 4123 | ac_write_fail=0
|
---|
[10737] | 4124 | ac_clean_files_save=$ac_clean_files
|
---|
| 4125 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[25173] | 4126 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
| 4127 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 4128 | as_write_fail=0
|
---|
| 4129 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
[10737] | 4130 | #! $SHELL
|
---|
| 4131 | # Generated by $as_me.
|
---|
| 4132 | # Run this file to recreate the current configuration.
|
---|
| 4133 | # Compiler output produced by configure, useful for debugging
|
---|
| 4134 | # configure, is in config.log if it exists.
|
---|
| 4135 |
|
---|
| 4136 | debug=false
|
---|
| 4137 | ac_cs_recheck=false
|
---|
| 4138 | ac_cs_silent=false
|
---|
[25173] | 4139 |
|
---|
[10737] | 4140 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[25173] | 4141 | export SHELL
|
---|
| 4142 | _ASEOF
|
---|
| 4143 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 4144 | ## -------------------- ##
|
---|
| 4145 | ## M4sh Initialization. ##
|
---|
| 4146 | ## -------------------- ##
|
---|
[10737] | 4147 |
|
---|
[25173] | 4148 | # Be more Bourne compatible
|
---|
| 4149 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 4150 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[10737] | 4151 | emulate sh
|
---|
| 4152 | NULLCMD=:
|
---|
[25173] | 4153 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[10737] | 4154 | # is contrary to our usage. Disable this feature.
|
---|
| 4155 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25173] | 4156 | setopt NO_GLOB_SUBST
|
---|
| 4157 | else
|
---|
| 4158 | case `(set -o) 2>/dev/null` in #(
|
---|
| 4159 | *posix*) :
|
---|
| 4160 | set -o posix ;; #(
|
---|
| 4161 | *) :
|
---|
| 4162 | ;;
|
---|
| 4163 | esac
|
---|
[10737] | 4164 | fi
|
---|
| 4165 |
|
---|
[25173] | 4166 |
|
---|
| 4167 | as_nl='
|
---|
| 4168 | '
|
---|
| 4169 | export as_nl
|
---|
| 4170 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 4171 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 4172 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 4173 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 4174 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 4175 | # but without wasting forks for bash or zsh.
|
---|
| 4176 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 4177 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 4178 | as_echo='print -r --'
|
---|
| 4179 | as_echo_n='print -rn --'
|
---|
| 4180 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 4181 | as_echo='printf %s\n'
|
---|
| 4182 | as_echo_n='printf %s'
|
---|
[10737] | 4183 | else
|
---|
[25173] | 4184 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 4185 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 4186 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 4187 | else
|
---|
| 4188 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 4189 | as_echo_n_body='eval
|
---|
| 4190 | arg=$1;
|
---|
| 4191 | case $arg in #(
|
---|
| 4192 | *"$as_nl"*)
|
---|
| 4193 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 4194 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 4195 | esac;
|
---|
| 4196 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 4197 | '
|
---|
| 4198 | export as_echo_n_body
|
---|
| 4199 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 4200 | fi
|
---|
| 4201 | export as_echo_body
|
---|
| 4202 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[10737] | 4203 | fi
|
---|
| 4204 |
|
---|
[25173] | 4205 | # The user is always right.
|
---|
| 4206 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 4207 | PATH_SEPARATOR=:
|
---|
| 4208 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 4209 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 4210 | PATH_SEPARATOR=';'
|
---|
| 4211 | }
|
---|
| 4212 | fi
|
---|
[10737] | 4213 |
|
---|
[25173] | 4214 |
|
---|
| 4215 | # IFS
|
---|
| 4216 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 4217 | # there to prevent editors from complaining about space-tab.
|
---|
| 4218 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 4219 | # splitting by setting IFS to empty value.)
|
---|
| 4220 | IFS=" "" $as_nl"
|
---|
| 4221 |
|
---|
| 4222 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 4223 | as_myself=
|
---|
| 4224 | case $0 in #((
|
---|
| 4225 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 4226 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4227 | for as_dir in $PATH
|
---|
| 4228 | do
|
---|
| 4229 | IFS=$as_save_IFS
|
---|
| 4230 | test -z "$as_dir" && as_dir=.
|
---|
| 4231 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 4232 | done
|
---|
| 4233 | IFS=$as_save_IFS
|
---|
| 4234 |
|
---|
| 4235 | ;;
|
---|
| 4236 | esac
|
---|
| 4237 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 4238 | # in which case we are not to be found in the path.
|
---|
| 4239 | if test "x$as_myself" = x; then
|
---|
| 4240 | as_myself=$0
|
---|
| 4241 | fi
|
---|
| 4242 | if test ! -f "$as_myself"; then
|
---|
| 4243 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 4244 | exit 1
|
---|
| 4245 | fi
|
---|
| 4246 |
|
---|
| 4247 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 4248 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 4249 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 4250 | # trigger a bug in pdksh 5.2.14.
|
---|
| 4251 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 4252 | do eval test x\${$as_var+set} = xset \
|
---|
| 4253 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 4254 | done
|
---|
[10737] | 4255 | PS1='$ '
|
---|
| 4256 | PS2='> '
|
---|
| 4257 | PS4='+ '
|
---|
| 4258 |
|
---|
| 4259 | # NLS nuisances.
|
---|
[25173] | 4260 | LC_ALL=C
|
---|
| 4261 | export LC_ALL
|
---|
| 4262 | LANGUAGE=C
|
---|
| 4263 | export LANGUAGE
|
---|
| 4264 |
|
---|
| 4265 | # CDPATH.
|
---|
| 4266 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 4267 |
|
---|
| 4268 |
|
---|
| 4269 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 4270 | # ----------------------------------------
|
---|
| 4271 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 4272 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 4273 | # script with STATUS, using 1 if that was 0.
|
---|
| 4274 | as_fn_error ()
|
---|
| 4275 | {
|
---|
| 4276 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 4277 | if test "$4"; then
|
---|
| 4278 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 4279 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
[10737] | 4280 | fi
|
---|
[25173] | 4281 | $as_echo "$as_me: error: $2" >&2
|
---|
| 4282 | as_fn_exit $as_status
|
---|
| 4283 | } # as_fn_error
|
---|
[10737] | 4284 |
|
---|
[25173] | 4285 |
|
---|
| 4286 | # as_fn_set_status STATUS
|
---|
| 4287 | # -----------------------
|
---|
| 4288 | # Set $? to STATUS, without forking.
|
---|
| 4289 | as_fn_set_status ()
|
---|
| 4290 | {
|
---|
| 4291 | return $1
|
---|
| 4292 | } # as_fn_set_status
|
---|
| 4293 |
|
---|
| 4294 | # as_fn_exit STATUS
|
---|
| 4295 | # -----------------
|
---|
| 4296 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 4297 | as_fn_exit ()
|
---|
| 4298 | {
|
---|
| 4299 | set +e
|
---|
| 4300 | as_fn_set_status $1
|
---|
| 4301 | exit $1
|
---|
| 4302 | } # as_fn_exit
|
---|
| 4303 |
|
---|
| 4304 | # as_fn_unset VAR
|
---|
| 4305 | # ---------------
|
---|
| 4306 | # Portably unset VAR.
|
---|
| 4307 | as_fn_unset ()
|
---|
| 4308 | {
|
---|
| 4309 | { eval $1=; unset $1;}
|
---|
| 4310 | }
|
---|
| 4311 | as_unset=as_fn_unset
|
---|
| 4312 | # as_fn_append VAR VALUE
|
---|
| 4313 | # ----------------------
|
---|
| 4314 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 4315 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 4316 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 4317 | # implementations.
|
---|
| 4318 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 4319 | eval 'as_fn_append ()
|
---|
| 4320 | {
|
---|
| 4321 | eval $1+=\$2
|
---|
| 4322 | }'
|
---|
| 4323 | else
|
---|
| 4324 | as_fn_append ()
|
---|
| 4325 | {
|
---|
| 4326 | eval $1=\$$1\$2
|
---|
| 4327 | }
|
---|
| 4328 | fi # as_fn_append
|
---|
| 4329 |
|
---|
| 4330 | # as_fn_arith ARG...
|
---|
| 4331 | # ------------------
|
---|
| 4332 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 4333 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 4334 | # must be portable across $(()) and expr.
|
---|
| 4335 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 4336 | eval 'as_fn_arith ()
|
---|
| 4337 | {
|
---|
| 4338 | as_val=$(( $* ))
|
---|
| 4339 | }'
|
---|
| 4340 | else
|
---|
| 4341 | as_fn_arith ()
|
---|
| 4342 | {
|
---|
| 4343 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 4344 | }
|
---|
| 4345 | fi # as_fn_arith
|
---|
| 4346 |
|
---|
| 4347 |
|
---|
| 4348 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 4349 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[10737] | 4350 | as_expr=expr
|
---|
| 4351 | else
|
---|
| 4352 | as_expr=false
|
---|
| 4353 | fi
|
---|
| 4354 |
|
---|
[25173] | 4355 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[10737] | 4356 | as_basename=basename
|
---|
| 4357 | else
|
---|
| 4358 | as_basename=false
|
---|
| 4359 | fi
|
---|
| 4360 |
|
---|
[25173] | 4361 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 4362 | as_dirname=dirname
|
---|
| 4363 | else
|
---|
| 4364 | as_dirname=false
|
---|
| 4365 | fi
|
---|
[10737] | 4366 |
|
---|
[25173] | 4367 | as_me=`$as_basename -- "$0" ||
|
---|
[10737] | 4368 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 4369 | X"$0" : 'X\(//\)$' \| \
|
---|
[25173] | 4370 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 4371 | $as_echo X/"$0" |
|
---|
| 4372 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 4373 | s//\1/
|
---|
| 4374 | q
|
---|
| 4375 | }
|
---|
| 4376 | /^X\/\(\/\/\)$/{
|
---|
| 4377 | s//\1/
|
---|
| 4378 | q
|
---|
| 4379 | }
|
---|
| 4380 | /^X\/\(\/\).*/{
|
---|
| 4381 | s//\1/
|
---|
| 4382 | q
|
---|
| 4383 | }
|
---|
| 4384 | s/.*/./; q'`
|
---|
[10737] | 4385 |
|
---|
| 4386 | # Avoid depending upon Character Ranges.
|
---|
| 4387 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 4388 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 4389 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 4390 | as_cr_digits='0123456789'
|
---|
| 4391 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 4392 |
|
---|
[25173] | 4393 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 4394 | case `echo -n x` in #(((((
|
---|
| 4395 | -n*)
|
---|
| 4396 | case `echo 'xy\c'` in
|
---|
| 4397 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 4398 | xy) ECHO_C='\c';;
|
---|
| 4399 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 4400 | ECHO_T=' ';;
|
---|
| 4401 | esac;;
|
---|
| 4402 | *)
|
---|
| 4403 | ECHO_N='-n';;
|
---|
[10737] | 4404 | esac
|
---|
| 4405 |
|
---|
[25173] | 4406 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 4407 | if test -d conf$$.dir; then
|
---|
| 4408 | rm -f conf$$.dir/conf$$.file
|
---|
[10737] | 4409 | else
|
---|
[25173] | 4410 | rm -f conf$$.dir
|
---|
| 4411 | mkdir conf$$.dir 2>/dev/null
|
---|
[10737] | 4412 | fi
|
---|
[25173] | 4413 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 4414 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 4415 | as_ln_s='ln -s'
|
---|
| 4416 | # ... but there are two gotchas:
|
---|
| 4417 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 4418 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 4419 | # In both cases, we have to default to `cp -p'.
|
---|
| 4420 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 4421 | as_ln_s='cp -p'
|
---|
| 4422 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 4423 | as_ln_s=ln
|
---|
| 4424 | else
|
---|
[10737] | 4425 | as_ln_s='cp -p'
|
---|
| 4426 | fi
|
---|
| 4427 | else
|
---|
| 4428 | as_ln_s='cp -p'
|
---|
| 4429 | fi
|
---|
[25173] | 4430 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 4431 | rmdir conf$$.dir 2>/dev/null
|
---|
[10737] | 4432 |
|
---|
[25173] | 4433 |
|
---|
| 4434 | # as_fn_mkdir_p
|
---|
| 4435 | # -------------
|
---|
| 4436 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 4437 | as_fn_mkdir_p ()
|
---|
| 4438 | {
|
---|
| 4439 |
|
---|
| 4440 | case $as_dir in #(
|
---|
| 4441 | -*) as_dir=./$as_dir;;
|
---|
| 4442 | esac
|
---|
| 4443 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 4444 | as_dirs=
|
---|
| 4445 | while :; do
|
---|
| 4446 | case $as_dir in #(
|
---|
| 4447 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 4448 | *) as_qdir=$as_dir;;
|
---|
| 4449 | esac
|
---|
| 4450 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 4451 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 4452 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4453 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 4454 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 4455 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 4456 | $as_echo X"$as_dir" |
|
---|
| 4457 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 4458 | s//\1/
|
---|
| 4459 | q
|
---|
| 4460 | }
|
---|
| 4461 | /^X\(\/\/\)[^/].*/{
|
---|
| 4462 | s//\1/
|
---|
| 4463 | q
|
---|
| 4464 | }
|
---|
| 4465 | /^X\(\/\/\)$/{
|
---|
| 4466 | s//\1/
|
---|
| 4467 | q
|
---|
| 4468 | }
|
---|
| 4469 | /^X\(\/\).*/{
|
---|
| 4470 | s//\1/
|
---|
| 4471 | q
|
---|
| 4472 | }
|
---|
| 4473 | s/.*/./; q'`
|
---|
| 4474 | test -d "$as_dir" && break
|
---|
| 4475 | done
|
---|
| 4476 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 4477 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 4478 |
|
---|
| 4479 |
|
---|
| 4480 | } # as_fn_mkdir_p
|
---|
[10737] | 4481 | if mkdir -p . 2>/dev/null; then
|
---|
[25173] | 4482 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[10737] | 4483 | else
|
---|
| 4484 | test -d ./-p && rmdir ./-p
|
---|
| 4485 | as_mkdir_p=false
|
---|
| 4486 | fi
|
---|
| 4487 |
|
---|
[25173] | 4488 | if test -x / >/dev/null 2>&1; then
|
---|
| 4489 | as_test_x='test -x'
|
---|
| 4490 | else
|
---|
| 4491 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 4492 | as_ls_L_option=L
|
---|
| 4493 | else
|
---|
| 4494 | as_ls_L_option=
|
---|
| 4495 | fi
|
---|
| 4496 | as_test_x='
|
---|
| 4497 | eval sh -c '\''
|
---|
| 4498 | if test -d "$1"; then
|
---|
| 4499 | test -d "$1/.";
|
---|
| 4500 | else
|
---|
| 4501 | case $1 in #(
|
---|
| 4502 | -*)set "./$1";;
|
---|
| 4503 | esac;
|
---|
| 4504 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
| 4505 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 4506 | '\'' sh
|
---|
| 4507 | '
|
---|
| 4508 | fi
|
---|
| 4509 | as_executable_p=$as_test_x
|
---|
[10737] | 4510 |
|
---|
| 4511 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 4512 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 4513 |
|
---|
| 4514 | # Sed expression to map a string onto a valid variable name.
|
---|
| 4515 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 4516 |
|
---|
| 4517 |
|
---|
| 4518 | exec 6>&1
|
---|
[25173] | 4519 | ## ----------------------------------- ##
|
---|
| 4520 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 4521 | ## ----------------------------------- ##
|
---|
| 4522 | _ASEOF
|
---|
| 4523 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
[10737] | 4524 |
|
---|
[25173] | 4525 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 4526 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
[10737] | 4527 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[25173] | 4528 | # values after options handling.
|
---|
| 4529 | ac_log="
|
---|
[10737] | 4530 | This file was extended by $as_me, which was
|
---|
[25173] | 4531 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[10737] | 4532 |
|
---|
| 4533 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 4534 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 4535 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 4536 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 4537 | $ $0 $@
|
---|
| 4538 |
|
---|
[25173] | 4539 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 4540 | "
|
---|
| 4541 |
|
---|
[10737] | 4542 | _ACEOF
|
---|
| 4543 |
|
---|
[25173] | 4544 | case $ac_config_files in *"
|
---|
| 4545 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 4546 | esac
|
---|
[10737] | 4547 |
|
---|
| 4548 |
|
---|
| 4549 |
|
---|
[25173] | 4550 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 4551 | # Files that config.status was made for.
|
---|
| 4552 | config_files="$ac_config_files"
|
---|
[10737] | 4553 |
|
---|
[25173] | 4554 | _ACEOF
|
---|
[10737] | 4555 |
|
---|
[25173] | 4556 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[10737] | 4557 | ac_cs_usage="\
|
---|
[25173] | 4558 | \`$as_me' instantiates files and other configuration actions
|
---|
| 4559 | from templates according to the current configuration. Unless the files
|
---|
| 4560 | and actions are specified as TAGs, all are instantiated by default.
|
---|
[10737] | 4561 |
|
---|
[25173] | 4562 | Usage: $0 [OPTION]... [TAG]...
|
---|
[10737] | 4563 |
|
---|
| 4564 | -h, --help print this help, then exit
|
---|
[25173] | 4565 | -V, --version print version number and configuration settings, then exit
|
---|
| 4566 | --config print configuration, then exit
|
---|
| 4567 | -q, --quiet, --silent
|
---|
| 4568 | do not print progress messages
|
---|
[10737] | 4569 | -d, --debug don't remove temporary files
|
---|
| 4570 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[25173] | 4571 | --file=FILE[:TEMPLATE]
|
---|
| 4572 | instantiate the configuration file FILE
|
---|
[10737] | 4573 |
|
---|
| 4574 | Configuration files:
|
---|
| 4575 | $config_files
|
---|
| 4576 |
|
---|
[25173] | 4577 | Report bugs to the package provider."
|
---|
| 4578 |
|
---|
[10737] | 4579 | _ACEOF
|
---|
[25173] | 4580 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 4581 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
[10737] | 4582 | ac_cs_version="\\
|
---|
| 4583 | config.status
|
---|
[25173] | 4584 | configured by $0, generated by GNU Autoconf 2.68,
|
---|
| 4585 | with options \\"\$ac_cs_config\\"
|
---|
[10737] | 4586 |
|
---|
[25173] | 4587 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[10737] | 4588 | This config.status script is free software; the Free Software Foundation
|
---|
| 4589 | gives unlimited permission to copy, distribute and modify it."
|
---|
[25173] | 4590 |
|
---|
| 4591 | ac_pwd='$ac_pwd'
|
---|
| 4592 | srcdir='$srcdir'
|
---|
| 4593 | INSTALL='$INSTALL'
|
---|
| 4594 | test -n "\$AWK" || AWK=awk
|
---|
[10737] | 4595 | _ACEOF
|
---|
| 4596 |
|
---|
[25173] | 4597 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 4598 | # The default lists apply if the user does not specify any file.
|
---|
[10737] | 4599 | ac_need_defaults=:
|
---|
| 4600 | while test $# != 0
|
---|
| 4601 | do
|
---|
| 4602 | case $1 in
|
---|
[25173] | 4603 | --*=?*)
|
---|
| 4604 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 4605 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[10737] | 4606 | ac_shift=:
|
---|
| 4607 | ;;
|
---|
[25173] | 4608 | --*=)
|
---|
| 4609 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 4610 | ac_optarg=
|
---|
| 4611 | ac_shift=:
|
---|
| 4612 | ;;
|
---|
| 4613 | *)
|
---|
[10737] | 4614 | ac_option=$1
|
---|
| 4615 | ac_optarg=$2
|
---|
| 4616 | ac_shift=shift
|
---|
| 4617 | ;;
|
---|
| 4618 | esac
|
---|
| 4619 |
|
---|
| 4620 | case $ac_option in
|
---|
| 4621 | # Handling of the options.
|
---|
| 4622 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 4623 | ac_cs_recheck=: ;;
|
---|
[25173] | 4624 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 4625 | $as_echo "$ac_cs_version"; exit ;;
|
---|
| 4626 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 4627 | $as_echo "$ac_cs_config"; exit ;;
|
---|
| 4628 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[10737] | 4629 | debug=: ;;
|
---|
| 4630 | --file | --fil | --fi | --f )
|
---|
| 4631 | $ac_shift
|
---|
[25173] | 4632 | case $ac_optarg in
|
---|
| 4633 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 4634 | '') as_fn_error $? "missing file argument" ;;
|
---|
| 4635 | esac
|
---|
| 4636 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
[10737] | 4637 | ac_need_defaults=false;;
|
---|
[25173] | 4638 | --he | --h | --help | --hel | -h )
|
---|
| 4639 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[10737] | 4640 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 4641 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 4642 | ac_cs_silent=: ;;
|
---|
| 4643 |
|
---|
| 4644 | # This is an error.
|
---|
[25173] | 4645 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
| 4646 | Try \`$0 --help' for more information." ;;
|
---|
[10737] | 4647 |
|
---|
[25173] | 4648 | *) as_fn_append ac_config_targets " $1"
|
---|
| 4649 | ac_need_defaults=false ;;
|
---|
[10737] | 4650 |
|
---|
| 4651 | esac
|
---|
| 4652 | shift
|
---|
| 4653 | done
|
---|
| 4654 |
|
---|
| 4655 | ac_configure_extra_args=
|
---|
| 4656 |
|
---|
| 4657 | if $ac_cs_silent; then
|
---|
| 4658 | exec 6>/dev/null
|
---|
| 4659 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 4660 | fi
|
---|
| 4661 |
|
---|
| 4662 | _ACEOF
|
---|
[25173] | 4663 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[10737] | 4664 | if \$ac_cs_recheck; then
|
---|
[25173] | 4665 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 4666 | shift
|
---|
| 4667 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 4668 | CONFIG_SHELL='$SHELL'
|
---|
| 4669 | export CONFIG_SHELL
|
---|
| 4670 | exec "\$@"
|
---|
[10737] | 4671 | fi
|
---|
| 4672 |
|
---|
| 4673 | _ACEOF
|
---|
[25173] | 4674 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 4675 | exec 5>>config.log
|
---|
| 4676 | {
|
---|
| 4677 | echo
|
---|
| 4678 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 4679 | ## Running $as_me. ##
|
---|
| 4680 | _ASBOX
|
---|
| 4681 | $as_echo "$ac_log"
|
---|
| 4682 | } >&5
|
---|
[10737] | 4683 |
|
---|
[25173] | 4684 | _ACEOF
|
---|
| 4685 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 4686 | _ACEOF
|
---|
[10737] | 4687 |
|
---|
[25173] | 4688 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[10737] | 4689 |
|
---|
[25173] | 4690 | # Handling of arguments.
|
---|
[10737] | 4691 | for ac_config_target in $ac_config_targets
|
---|
| 4692 | do
|
---|
[25173] | 4693 | case $ac_config_target in
|
---|
| 4694 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 4695 | "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
|
---|
| 4696 | "java/Makefile") CONFIG_FILES="$CONFIG_FILES java/Makefile" ;;
|
---|
| 4697 |
|
---|
[26706] | 4698 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
|
---|
[10737] | 4699 | esac
|
---|
| 4700 | done
|
---|
| 4701 |
|
---|
[25173] | 4702 |
|
---|
[10737] | 4703 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 4704 | # then the envvar interface is used. Set only those that are not.
|
---|
| 4705 | # We use the long form for the default assignment because of an extremely
|
---|
| 4706 | # bizarre bug on SunOS 4.1.3.
|
---|
| 4707 | if $ac_need_defaults; then
|
---|
| 4708 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 4709 | fi
|
---|
| 4710 |
|
---|
| 4711 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[25173] | 4712 | # simply because there is no reason against having it here, and in addition,
|
---|
[10737] | 4713 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[25173] | 4714 | # Hook for its removal unless debugging.
|
---|
| 4715 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 4716 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[10737] | 4717 | $debug ||
|
---|
| 4718 | {
|
---|
[25173] | 4719 | tmp= ac_tmp=
|
---|
| 4720 | trap 'exit_status=$?
|
---|
| 4721 | : "${ac_tmp:=$tmp}"
|
---|
| 4722 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
---|
| 4723 | ' 0
|
---|
| 4724 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
[10737] | 4725 | }
|
---|
| 4726 | # Create a (secure) tmp directory for tmp files.
|
---|
| 4727 |
|
---|
| 4728 | {
|
---|
[25173] | 4729 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
| 4730 | test -d "$tmp"
|
---|
[10737] | 4731 | } ||
|
---|
| 4732 | {
|
---|
[25173] | 4733 | tmp=./conf$$-$RANDOM
|
---|
| 4734 | (umask 077 && mkdir "$tmp")
|
---|
| 4735 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
| 4736 | ac_tmp=$tmp
|
---|
| 4737 |
|
---|
| 4738 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 4739 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 4740 | # This happens for instance with `./config.status config.h'.
|
---|
| 4741 | if test -n "$CONFIG_FILES"; then
|
---|
| 4742 |
|
---|
| 4743 |
|
---|
| 4744 | ac_cr=`echo X | tr X '\015'`
|
---|
| 4745 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 4746 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 4747 | # point, so we can use a bashism as a fallback.
|
---|
| 4748 | if test "x$ac_cr" = x; then
|
---|
| 4749 | eval ac_cr=\$\'\\r\'
|
---|
| 4750 | fi
|
---|
| 4751 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 4752 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
| 4753 | ac_cs_awk_cr='\\r'
|
---|
| 4754 | else
|
---|
| 4755 | ac_cs_awk_cr=$ac_cr
|
---|
| 4756 | fi
|
---|
| 4757 |
|
---|
| 4758 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
---|
| 4759 | _ACEOF
|
---|
| 4760 |
|
---|
| 4761 |
|
---|
[10737] | 4762 | {
|
---|
[25173] | 4763 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 4764 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 4765 | echo "_ACEOF"
|
---|
| 4766 | } >conf$$subs.sh ||
|
---|
| 4767 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 4768 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
| 4769 | ac_delim='%!_!# '
|
---|
| 4770 | for ac_last_try in false false false false false :; do
|
---|
| 4771 | . ./conf$$subs.sh ||
|
---|
| 4772 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 4773 |
|
---|
| 4774 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 4775 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 4776 | break
|
---|
| 4777 | elif $ac_last_try; then
|
---|
| 4778 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 4779 | else
|
---|
| 4780 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 4781 | fi
|
---|
| 4782 | done
|
---|
| 4783 | rm -f conf$$subs.sh
|
---|
| 4784 |
|
---|
| 4785 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 4786 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
| 4787 | _ACEOF
|
---|
| 4788 | sed -n '
|
---|
| 4789 | h
|
---|
| 4790 | s/^/S["/; s/!.*/"]=/
|
---|
| 4791 | p
|
---|
| 4792 | g
|
---|
| 4793 | s/^[^!]*!//
|
---|
| 4794 | :repl
|
---|
| 4795 | t repl
|
---|
| 4796 | s/'"$ac_delim"'$//
|
---|
| 4797 | t delim
|
---|
| 4798 | :nl
|
---|
| 4799 | h
|
---|
| 4800 | s/\(.\{148\}\)..*/\1/
|
---|
| 4801 | t more1
|
---|
| 4802 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 4803 | p
|
---|
| 4804 | n
|
---|
| 4805 | b repl
|
---|
| 4806 | :more1
|
---|
| 4807 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 4808 | p
|
---|
| 4809 | g
|
---|
| 4810 | s/.\{148\}//
|
---|
| 4811 | t nl
|
---|
| 4812 | :delim
|
---|
| 4813 | h
|
---|
| 4814 | s/\(.\{148\}\)..*/\1/
|
---|
| 4815 | t more2
|
---|
| 4816 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 4817 | p
|
---|
| 4818 | b
|
---|
| 4819 | :more2
|
---|
| 4820 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 4821 | p
|
---|
| 4822 | g
|
---|
| 4823 | s/.\{148\}//
|
---|
| 4824 | t delim
|
---|
| 4825 | ' <conf$$subs.awk | sed '
|
---|
| 4826 | /^[^""]/{
|
---|
| 4827 | N
|
---|
| 4828 | s/\n//
|
---|
[10737] | 4829 | }
|
---|
[25173] | 4830 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 4831 | rm -f conf$$subs.awk
|
---|
| 4832 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 4833 | _ACAWK
|
---|
| 4834 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
---|
| 4835 | for (key in S) S_is_set[key] = 1
|
---|
| 4836 | FS = ""
|
---|
[10737] | 4837 |
|
---|
[25173] | 4838 | }
|
---|
| 4839 | {
|
---|
| 4840 | line = $ 0
|
---|
| 4841 | nfields = split(line, field, "@")
|
---|
| 4842 | substed = 0
|
---|
| 4843 | len = length(field[1])
|
---|
| 4844 | for (i = 2; i < nfields; i++) {
|
---|
| 4845 | key = field[i]
|
---|
| 4846 | keylen = length(key)
|
---|
| 4847 | if (S_is_set[key]) {
|
---|
| 4848 | value = S[key]
|
---|
| 4849 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 4850 | len += length(value) + length(field[++i])
|
---|
| 4851 | substed = 1
|
---|
| 4852 | } else
|
---|
| 4853 | len += 1 + keylen
|
---|
| 4854 | }
|
---|
| 4855 |
|
---|
| 4856 | print line
|
---|
| 4857 | }
|
---|
| 4858 |
|
---|
| 4859 | _ACAWK
|
---|
[10737] | 4860 | _ACEOF
|
---|
[25173] | 4861 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 4862 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 4863 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 4864 | else
|
---|
| 4865 | cat
|
---|
| 4866 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
---|
| 4867 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
| 4868 | _ACEOF
|
---|
[10737] | 4869 |
|
---|
[25173] | 4870 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 4871 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
| 4872 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 4873 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 4874 | if test "x$srcdir" = x.; then
|
---|
| 4875 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 4876 | h
|
---|
| 4877 | s///
|
---|
| 4878 | s/^/:/
|
---|
| 4879 | s/[ ]*$/:/
|
---|
| 4880 | s/:\$(srcdir):/:/g
|
---|
| 4881 | s/:\${srcdir}:/:/g
|
---|
| 4882 | s/:@srcdir@:/:/g
|
---|
| 4883 | s/^:*//
|
---|
| 4884 | s/:*$//
|
---|
| 4885 | x
|
---|
| 4886 | s/\(=[ ]*\).*/\1/
|
---|
| 4887 | G
|
---|
| 4888 | s/\n//
|
---|
| 4889 | s/^[^=]*=[ ]*$//
|
---|
| 4890 | }'
|
---|
| 4891 | fi
|
---|
[10737] | 4892 |
|
---|
[25173] | 4893 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 4894 | fi # test -n "$CONFIG_FILES"
|
---|
[10737] | 4895 |
|
---|
| 4896 |
|
---|
[25173] | 4897 | eval set X " :F $CONFIG_FILES "
|
---|
| 4898 | shift
|
---|
| 4899 | for ac_tag
|
---|
| 4900 | do
|
---|
| 4901 | case $ac_tag in
|
---|
| 4902 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
| 4903 | esac
|
---|
| 4904 | case $ac_mode$ac_tag in
|
---|
| 4905 | :[FHL]*:*);;
|
---|
[26706] | 4906 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
|
---|
[25173] | 4907 | :[FH]-) ac_tag=-:-;;
|
---|
| 4908 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 4909 | esac
|
---|
| 4910 | ac_save_IFS=$IFS
|
---|
| 4911 | IFS=:
|
---|
| 4912 | set x $ac_tag
|
---|
| 4913 | IFS=$ac_save_IFS
|
---|
| 4914 | shift
|
---|
| 4915 | ac_file=$1
|
---|
| 4916 | shift
|
---|
[10737] | 4917 |
|
---|
[25173] | 4918 | case $ac_mode in
|
---|
| 4919 | :L) ac_source=$1;;
|
---|
| 4920 | :[FH])
|
---|
| 4921 | ac_file_inputs=
|
---|
| 4922 | for ac_f
|
---|
| 4923 | do
|
---|
| 4924 | case $ac_f in
|
---|
| 4925 | -) ac_f="$ac_tmp/stdin";;
|
---|
| 4926 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 4927 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 4928 | # because $ac_f cannot contain `:'.
|
---|
| 4929 | test -f "$ac_f" ||
|
---|
| 4930 | case $ac_f in
|
---|
| 4931 | [\\/$]*) false;;
|
---|
| 4932 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 4933 | esac ||
|
---|
[26706] | 4934 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
|
---|
[25173] | 4935 | esac
|
---|
| 4936 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
| 4937 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
| 4938 | done
|
---|
| 4939 |
|
---|
| 4940 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 4941 | # use $as_me), people would be surprised to read:
|
---|
| 4942 | # /* config.h. Generated by config.status. */
|
---|
| 4943 | configure_input='Generated from '`
|
---|
| 4944 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 4945 | `' by configure.'
|
---|
| 4946 | if test x"$ac_file" != x-; then
|
---|
| 4947 | configure_input="$ac_file. $configure_input"
|
---|
| 4948 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
| 4949 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
[10737] | 4950 | fi
|
---|
[25173] | 4951 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 4952 | case $configure_input in #(
|
---|
| 4953 | *\&* | *\|* | *\\* )
|
---|
| 4954 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 4955 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 4956 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 4957 | esac
|
---|
[10737] | 4958 |
|
---|
[25173] | 4959 | case $ac_tag in
|
---|
| 4960 | *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
---|
[26706] | 4961 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
[25173] | 4962 | esac
|
---|
| 4963 | ;;
|
---|
[10737] | 4964 | esac
|
---|
| 4965 |
|
---|
[25173] | 4966 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[10737] | 4967 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 4968 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 4969 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[25173] | 4970 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 4971 | $as_echo X"$ac_file" |
|
---|
| 4972 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 4973 | s//\1/
|
---|
| 4974 | q
|
---|
| 4975 | }
|
---|
| 4976 | /^X\(\/\/\)[^/].*/{
|
---|
| 4977 | s//\1/
|
---|
| 4978 | q
|
---|
| 4979 | }
|
---|
| 4980 | /^X\(\/\/\)$/{
|
---|
| 4981 | s//\1/
|
---|
| 4982 | q
|
---|
| 4983 | }
|
---|
| 4984 | /^X\(\/\).*/{
|
---|
| 4985 | s//\1/
|
---|
| 4986 | q
|
---|
| 4987 | }
|
---|
| 4988 | s/.*/./; q'`
|
---|
| 4989 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[10737] | 4990 | ac_builddir=.
|
---|
| 4991 |
|
---|
[25173] | 4992 | case "$ac_dir" in
|
---|
| 4993 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 4994 | *)
|
---|
| 4995 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 4996 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 4997 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 4998 | case $ac_top_builddir_sub in
|
---|
| 4999 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 5000 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 5001 | esac ;;
|
---|
| 5002 | esac
|
---|
| 5003 | ac_abs_top_builddir=$ac_pwd
|
---|
| 5004 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 5005 | # for backward compatibility:
|
---|
| 5006 | ac_top_builddir=$ac_top_build_prefix
|
---|
[10737] | 5007 |
|
---|
| 5008 | case $srcdir in
|
---|
[25173] | 5009 | .) # We are building in place.
|
---|
[10737] | 5010 | ac_srcdir=.
|
---|
[25173] | 5011 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 5012 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 5013 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[10737] | 5014 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25173] | 5015 | ac_top_srcdir=$srcdir
|
---|
| 5016 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 5017 | *) # Relative name.
|
---|
| 5018 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 5019 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 5020 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[10737] | 5021 | esac
|
---|
[25173] | 5022 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[10737] | 5023 |
|
---|
| 5024 |
|
---|
[25173] | 5025 | case $ac_mode in
|
---|
| 5026 | :F)
|
---|
| 5027 | #
|
---|
| 5028 | # CONFIG_FILE
|
---|
| 5029 | #
|
---|
[10737] | 5030 |
|
---|
| 5031 | case $INSTALL in
|
---|
| 5032 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[25173] | 5033 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[10737] | 5034 | esac
|
---|
[25173] | 5035 | _ACEOF
|
---|
[10737] | 5036 |
|
---|
[25173] | 5037 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 5038 | # If the template does not know about datarootdir, expand it.
|
---|
| 5039 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 5040 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 5041 | ac_sed_dataroot='
|
---|
| 5042 | /datarootdir/ {
|
---|
| 5043 | p
|
---|
| 5044 | q
|
---|
| 5045 | }
|
---|
| 5046 | /@datadir@/p
|
---|
| 5047 | /@docdir@/p
|
---|
| 5048 | /@infodir@/p
|
---|
| 5049 | /@localedir@/p
|
---|
| 5050 | /@mandir@/p'
|
---|
| 5051 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 5052 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 5053 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
| 5054 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
| 5055 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
| 5056 | _ACEOF
|
---|
| 5057 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 5058 | ac_datarootdir_hack='
|
---|
| 5059 | s&@datadir@&$datadir&g
|
---|
| 5060 | s&@docdir@&$docdir&g
|
---|
| 5061 | s&@infodir@&$infodir&g
|
---|
| 5062 | s&@localedir@&$localedir&g
|
---|
| 5063 | s&@mandir@&$mandir&g
|
---|
| 5064 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
| 5065 | esac
|
---|
| 5066 | _ACEOF
|
---|
[10737] | 5067 |
|
---|
[25173] | 5068 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 5069 | # Shell code in configure.ac might set extrasub.
|
---|
| 5070 | # FIXME: do we really want to maintain this feature?
|
---|
| 5071 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 5072 | ac_sed_extra="$ac_vpsub
|
---|
[10737] | 5073 | $extrasub
|
---|
| 5074 | _ACEOF
|
---|
[25173] | 5075 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[10737] | 5076 | :t
|
---|
| 5077 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[25173] | 5078 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 5079 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 5080 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 5081 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 5082 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 5083 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 5084 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 5085 | s&@builddir@&$ac_builddir&;t t
|
---|
| 5086 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 5087 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 5088 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 5089 | $ac_datarootdir_hack
|
---|
| 5090 | "
|
---|
| 5091 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
---|
| 5092 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[10737] | 5093 |
|
---|
[25173] | 5094 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 5095 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 5096 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
---|
| 5097 | "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 5098 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 5099 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
| 5100 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 5101 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
[10737] | 5102 |
|
---|
[25173] | 5103 | rm -f "$ac_tmp/stdin"
|
---|
| 5104 | case $ac_file in
|
---|
| 5105 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
---|
| 5106 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
---|
| 5107 | esac \
|
---|
| 5108 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 5109 | ;;
|
---|
[10737] | 5110 |
|
---|
[25173] | 5111 |
|
---|
| 5112 |
|
---|
| 5113 | esac
|
---|
| 5114 |
|
---|
| 5115 | done # for ac_tag
|
---|
| 5116 |
|
---|
| 5117 |
|
---|
| 5118 | as_fn_exit 0
|
---|
[10737] | 5119 | _ACEOF
|
---|
| 5120 | ac_clean_files=$ac_clean_files_save
|
---|
| 5121 |
|
---|
[25173] | 5122 | test $ac_write_fail = 0 ||
|
---|
| 5123 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
[10737] | 5124 |
|
---|
[25173] | 5125 |
|
---|
[10737] | 5126 | # configure is writing to config.log, and then calls config.status.
|
---|
| 5127 | # config.status does its own redirection, appending to config.log.
|
---|
| 5128 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 5129 | # by configure, so config.status won't be able to write to it; its
|
---|
| 5130 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 5131 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 5132 | # appended to by config.status. When coming back to configure, we
|
---|
| 5133 | # need to make the FD available again.
|
---|
| 5134 | if test "$no_create" != yes; then
|
---|
| 5135 | ac_cs_success=:
|
---|
| 5136 | ac_config_status_args=
|
---|
| 5137 | test "$silent" = yes &&
|
---|
| 5138 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 5139 | exec 5>/dev/null
|
---|
| 5140 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 5141 | exec 5>>config.log
|
---|
| 5142 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 5143 | # would make configure fail if this is the last instruction.
|
---|
[25173] | 5144 | $ac_cs_success || as_fn_exit 1
|
---|
[10737] | 5145 | fi
|
---|
[25173] | 5146 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
| 5147 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
| 5148 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 5149 | fi
|
---|
[10737] | 5150 |
|
---|