[16565] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[26663] | 3 | # Generated by GNU Autoconf 2.68.
|
---|
[16565] | 4 | #
|
---|
[26663] | 5 | #
|
---|
[25149] | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
[26663] | 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
---|
| 8 | # Foundation, Inc.
|
---|
| 9 | #
|
---|
| 10 | #
|
---|
[16565] | 11 | # This configure script is free software; the Free Software Foundation
|
---|
| 12 | # gives unlimited permission to copy, distribute and modify it.
|
---|
[26663] | 13 | ## -------------------- ##
|
---|
| 14 | ## M4sh Initialization. ##
|
---|
| 15 | ## -------------------- ##
|
---|
[16565] | 16 |
|
---|
[25149] | 17 | # Be more Bourne compatible
|
---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[26663] | 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16565] | 20 | emulate sh
|
---|
| 21 | NULLCMD=:
|
---|
[25149] | 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16565] | 23 | # is contrary to our usage. Disable this feature.
|
---|
| 24 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25149] | 25 | setopt NO_GLOB_SUBST
|
---|
| 26 | else
|
---|
[26663] | 27 | case `(set -o) 2>/dev/null` in #(
|
---|
| 28 | *posix*) :
|
---|
| 29 | set -o posix ;; #(
|
---|
| 30 | *) :
|
---|
| 31 | ;;
|
---|
[25149] | 32 | esac
|
---|
[16565] | 33 | fi
|
---|
| 34 |
|
---|
[25149] | 35 |
|
---|
| 36 | as_nl='
|
---|
| 37 | '
|
---|
| 38 | export as_nl
|
---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[26663] | 43 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 44 | # but without wasting forks for bash or zsh.
|
---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 47 | as_echo='print -r --'
|
---|
| 48 | as_echo_n='print -rn --'
|
---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[25149] | 50 | as_echo='printf %s\n'
|
---|
| 51 | as_echo_n='printf %s'
|
---|
| 52 | else
|
---|
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 55 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 56 | else
|
---|
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 58 | as_echo_n_body='eval
|
---|
| 59 | arg=$1;
|
---|
[26663] | 60 | case $arg in #(
|
---|
[25149] | 61 | *"$as_nl"*)
|
---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 64 | esac;
|
---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 66 | '
|
---|
| 67 | export as_echo_n_body
|
---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 69 | fi
|
---|
| 70 | export as_echo_body
|
---|
| 71 | as_echo='sh -c $as_echo_body as_echo'
|
---|
| 72 | fi
|
---|
| 73 |
|
---|
| 74 | # The user is always right.
|
---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 76 | PATH_SEPARATOR=:
|
---|
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 79 | PATH_SEPARATOR=';'
|
---|
| 80 | }
|
---|
| 81 | fi
|
---|
| 82 |
|
---|
[16565] | 83 |
|
---|
[25149] | 84 | # IFS
|
---|
| 85 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 86 | # there to prevent editors from complaining about space-tab.
|
---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 88 | # splitting by setting IFS to empty value.)
|
---|
| 89 | IFS=" "" $as_nl"
|
---|
| 90 |
|
---|
| 91 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[26663] | 92 | as_myself=
|
---|
| 93 | case $0 in #((
|
---|
[25149] | 94 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 96 | for as_dir in $PATH
|
---|
| 97 | do
|
---|
| 98 | IFS=$as_save_IFS
|
---|
| 99 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 101 | done
|
---|
[25149] | 102 | IFS=$as_save_IFS
|
---|
| 103 |
|
---|
| 104 | ;;
|
---|
| 105 | esac
|
---|
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 107 | # in which case we are not to be found in the path.
|
---|
| 108 | if test "x$as_myself" = x; then
|
---|
| 109 | as_myself=$0
|
---|
| 110 | fi
|
---|
| 111 | if test ! -f "$as_myself"; then
|
---|
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[26663] | 113 | exit 1
|
---|
[25149] | 114 | fi
|
---|
| 115 |
|
---|
[26663] | 116 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 118 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 119 | # trigger a bug in pdksh 5.2.14.
|
---|
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 121 | do eval test x\${$as_var+set} = xset \
|
---|
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
[25149] | 123 | done
|
---|
[16565] | 124 | PS1='$ '
|
---|
| 125 | PS2='> '
|
---|
| 126 | PS4='+ '
|
---|
| 127 |
|
---|
| 128 | # NLS nuisances.
|
---|
[25149] | 129 | LC_ALL=C
|
---|
| 130 | export LC_ALL
|
---|
| 131 | LANGUAGE=C
|
---|
| 132 | export LANGUAGE
|
---|
[16565] | 133 |
|
---|
[25149] | 134 | # CDPATH.
|
---|
[26663] | 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
[23800] | 136 |
|
---|
[25149] | 137 | if test "x$CONFIG_SHELL" = x; then
|
---|
[26663] | 138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
---|
| 139 | emulate sh
|
---|
| 140 | NULLCMD=:
|
---|
| 141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
---|
| 142 | # is contrary to our usage. Disable this feature.
|
---|
| 143 | alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
---|
| 144 | setopt NO_GLOB_SUBST
|
---|
[25149] | 145 | else
|
---|
[26663] | 146 | case \`(set -o) 2>/dev/null\` in #(
|
---|
| 147 | *posix*) :
|
---|
| 148 | set -o posix ;; #(
|
---|
| 149 | *) :
|
---|
| 150 | ;;
|
---|
| 151 | esac
|
---|
[23800] | 152 | fi
|
---|
[26663] | 153 | "
|
---|
| 154 | as_required="as_fn_return () { (exit \$1); }
|
---|
| 155 | as_fn_success () { as_fn_return 0; }
|
---|
| 156 | as_fn_failure () { as_fn_return 1; }
|
---|
| 157 | as_fn_ret_success () { return 0; }
|
---|
| 158 | as_fn_ret_failure () { return 1; }
|
---|
[16565] | 159 |
|
---|
[25149] | 160 | exitcode=0
|
---|
[26663] | 161 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
| 162 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
| 163 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
| 164 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
| 165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
[23800] | 166 |
|
---|
[25149] | 167 | else
|
---|
[26663] | 168 | exitcode=1; echo positional parameters were not saved.
|
---|
[25149] | 169 | fi
|
---|
[26663] | 170 | test x\$exitcode = x0 || exit 1"
|
---|
| 171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
---|
| 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
---|
| 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
---|
| 174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
---|
| 175 | test \$(( 1 + 1 )) = 2 || exit 1"
|
---|
| 176 | if (eval "$as_required") 2>/dev/null; then :
|
---|
| 177 | as_have_required=yes
|
---|
[25149] | 178 | else
|
---|
[26663] | 179 | as_have_required=no
|
---|
[25149] | 180 | fi
|
---|
[26663] | 181 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
[25149] | 182 |
|
---|
| 183 | else
|
---|
[26663] | 184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 185 | as_found=false
|
---|
[23800] | 186 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 187 | do
|
---|
| 188 | IFS=$as_save_IFS
|
---|
| 189 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 190 | as_found=:
|
---|
| 191 | case $as_dir in #(
|
---|
[23800] | 192 | /*)
|
---|
[25149] | 193 | for as_base in sh bash ksh sh5; do
|
---|
[26663] | 194 | # Try only shells that exist, to save several forks.
|
---|
| 195 | as_shell=$as_dir/$as_base
|
---|
| 196 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
| 197 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 198 | CONFIG_SHELL=$as_shell as_have_required=yes
|
---|
| 199 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 200 | break 2
|
---|
| 201 | fi
|
---|
| 202 | fi
|
---|
[25149] | 203 | done;;
|
---|
| 204 | esac
|
---|
[26663] | 205 | as_found=false
|
---|
[25149] | 206 | done
|
---|
[26663] | 207 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
---|
| 208 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
---|
| 209 | CONFIG_SHELL=$SHELL as_have_required=yes
|
---|
| 210 | fi; }
|
---|
[25149] | 211 | IFS=$as_save_IFS
|
---|
| 212 |
|
---|
| 213 |
|
---|
[26663] | 214 | if test "x$CONFIG_SHELL" != x; then :
|
---|
| 215 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
| 216 | # neutralization value for shells without unset; and this also
|
---|
| 217 | # works around shells that cannot unset nonexistent variables.
|
---|
| 218 | # Preserve -v and -x to the replacement shell.
|
---|
| 219 | BASH_ENV=/dev/null
|
---|
| 220 | ENV=/dev/null
|
---|
| 221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
| 222 | export CONFIG_SHELL
|
---|
| 223 | case $- in # ((((
|
---|
| 224 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
| 225 | *v* ) as_opts=-v ;;
|
---|
| 226 | *x* ) as_opts=-x ;;
|
---|
| 227 | * ) as_opts= ;;
|
---|
| 228 | esac
|
---|
| 229 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
---|
[25149] | 230 | fi
|
---|
| 231 |
|
---|
[26663] | 232 | if test x$as_have_required = xno; then :
|
---|
| 233 | $as_echo "$0: This script requires a shell more modern than all"
|
---|
| 234 | $as_echo "$0: the shells that I found on your system."
|
---|
| 235 | if test x${ZSH_VERSION+set} = xset ; then
|
---|
| 236 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
---|
| 237 | $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
---|
| 238 | else
|
---|
| 239 | $as_echo "$0: Please tell [email protected] about your system,
|
---|
| 240 | $0: including any error possibly output before this
|
---|
| 241 | $0: message. Then install a modern shell, or manually run
|
---|
| 242 | $0: the script under such a shell if you do have one."
|
---|
| 243 | fi
|
---|
| 244 | exit 1
|
---|
[25149] | 245 | fi
|
---|
| 246 | fi
|
---|
| 247 | fi
|
---|
[26663] | 248 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 249 | export SHELL
|
---|
| 250 | # Unset more variables known to interfere with behavior of common tools.
|
---|
| 251 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
| 252 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
[25149] | 253 |
|
---|
[26663] | 254 | ## --------------------- ##
|
---|
| 255 | ## M4sh Shell Functions. ##
|
---|
| 256 | ## --------------------- ##
|
---|
| 257 | # as_fn_unset VAR
|
---|
| 258 | # ---------------
|
---|
| 259 | # Portably unset VAR.
|
---|
| 260 | as_fn_unset ()
|
---|
| 261 | {
|
---|
| 262 | { eval $1=; unset $1;}
|
---|
| 263 | }
|
---|
| 264 | as_unset=as_fn_unset
|
---|
[25149] | 265 |
|
---|
[26663] | 266 | # as_fn_set_status STATUS
|
---|
| 267 | # -----------------------
|
---|
| 268 | # Set $? to STATUS, without forking.
|
---|
| 269 | as_fn_set_status ()
|
---|
| 270 | {
|
---|
| 271 | return $1
|
---|
| 272 | } # as_fn_set_status
|
---|
[25149] | 273 |
|
---|
[26663] | 274 | # as_fn_exit STATUS
|
---|
| 275 | # -----------------
|
---|
| 276 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 277 | as_fn_exit ()
|
---|
| 278 | {
|
---|
| 279 | set +e
|
---|
| 280 | as_fn_set_status $1
|
---|
| 281 | exit $1
|
---|
| 282 | } # as_fn_exit
|
---|
[25149] | 283 |
|
---|
[26663] | 284 | # as_fn_mkdir_p
|
---|
| 285 | # -------------
|
---|
| 286 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 287 | as_fn_mkdir_p ()
|
---|
| 288 | {
|
---|
[25149] | 289 |
|
---|
[26663] | 290 | case $as_dir in #(
|
---|
| 291 | -*) as_dir=./$as_dir;;
|
---|
| 292 | esac
|
---|
| 293 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 294 | as_dirs=
|
---|
| 295 | while :; do
|
---|
| 296 | case $as_dir in #(
|
---|
| 297 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 298 | *) as_qdir=$as_dir;;
|
---|
| 299 | esac
|
---|
| 300 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 301 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 302 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 303 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 304 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 305 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 306 | $as_echo X"$as_dir" |
|
---|
| 307 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 308 | s//\1/
|
---|
| 309 | q
|
---|
| 310 | }
|
---|
| 311 | /^X\(\/\/\)[^/].*/{
|
---|
| 312 | s//\1/
|
---|
| 313 | q
|
---|
| 314 | }
|
---|
| 315 | /^X\(\/\/\)$/{
|
---|
| 316 | s//\1/
|
---|
| 317 | q
|
---|
| 318 | }
|
---|
| 319 | /^X\(\/\).*/{
|
---|
| 320 | s//\1/
|
---|
| 321 | q
|
---|
| 322 | }
|
---|
| 323 | s/.*/./; q'`
|
---|
| 324 | test -d "$as_dir" && break
|
---|
| 325 | done
|
---|
| 326 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 327 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
[23800] | 328 |
|
---|
[25149] | 329 |
|
---|
[26663] | 330 | } # as_fn_mkdir_p
|
---|
| 331 | # as_fn_append VAR VALUE
|
---|
| 332 | # ----------------------
|
---|
| 333 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 334 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 335 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 336 | # implementations.
|
---|
| 337 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 338 | eval 'as_fn_append ()
|
---|
| 339 | {
|
---|
| 340 | eval $1+=\$2
|
---|
| 341 | }'
|
---|
| 342 | else
|
---|
| 343 | as_fn_append ()
|
---|
| 344 | {
|
---|
| 345 | eval $1=\$$1\$2
|
---|
| 346 | }
|
---|
| 347 | fi # as_fn_append
|
---|
[25149] | 348 |
|
---|
[26663] | 349 | # as_fn_arith ARG...
|
---|
| 350 | # ------------------
|
---|
| 351 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 352 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 353 | # must be portable across $(()) and expr.
|
---|
| 354 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 355 | eval 'as_fn_arith ()
|
---|
| 356 | {
|
---|
| 357 | as_val=$(( $* ))
|
---|
| 358 | }'
|
---|
| 359 | else
|
---|
| 360 | as_fn_arith ()
|
---|
| 361 | {
|
---|
| 362 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 363 | }
|
---|
| 364 | fi # as_fn_arith
|
---|
[25149] | 365 |
|
---|
| 366 |
|
---|
[26663] | 367 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 368 | # ----------------------------------------
|
---|
| 369 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 370 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 371 | # script with STATUS, using 1 if that was 0.
|
---|
| 372 | as_fn_error ()
|
---|
| 373 | {
|
---|
| 374 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 375 | if test "$4"; then
|
---|
| 376 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 377 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 378 | fi
|
---|
| 379 | $as_echo "$as_me: error: $2" >&2
|
---|
| 380 | as_fn_exit $as_status
|
---|
| 381 | } # as_fn_error
|
---|
[25149] | 382 |
|
---|
[26663] | 383 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 384 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 385 | as_expr=expr
|
---|
[25149] | 386 | else
|
---|
[26663] | 387 | as_expr=false
|
---|
[25149] | 388 | fi
|
---|
| 389 |
|
---|
[26663] | 390 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
| 391 | as_basename=basename
|
---|
[25149] | 392 | else
|
---|
[26663] | 393 | as_basename=false
|
---|
[25149] | 394 | fi
|
---|
| 395 |
|
---|
[26663] | 396 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 397 | as_dirname=dirname
|
---|
[25149] | 398 | else
|
---|
[26663] | 399 | as_dirname=false
|
---|
[25149] | 400 | fi
|
---|
| 401 |
|
---|
[26663] | 402 | as_me=`$as_basename -- "$0" ||
|
---|
| 403 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 404 | X"$0" : 'X\(//\)$' \| \
|
---|
| 405 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 406 | $as_echo X/"$0" |
|
---|
| 407 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 408 | s//\1/
|
---|
| 409 | q
|
---|
| 410 | }
|
---|
| 411 | /^X\/\(\/\/\)$/{
|
---|
| 412 | s//\1/
|
---|
| 413 | q
|
---|
| 414 | }
|
---|
| 415 | /^X\/\(\/\).*/{
|
---|
| 416 | s//\1/
|
---|
| 417 | q
|
---|
| 418 | }
|
---|
| 419 | s/.*/./; q'`
|
---|
[25149] | 420 |
|
---|
[26663] | 421 | # Avoid depending upon Character Ranges.
|
---|
| 422 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 423 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 424 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 425 | as_cr_digits='0123456789'
|
---|
| 426 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[25149] | 427 |
|
---|
| 428 |
|
---|
[26663] | 429 | as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
---|
| 430 | as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
---|
| 431 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
---|
| 432 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
---|
| 433 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
[25149] | 434 | sed -n '
|
---|
| 435 | p
|
---|
| 436 | /[$]LINENO/=
|
---|
| 437 | ' <$as_myself |
|
---|
[16565] | 438 | sed '
|
---|
[25149] | 439 | s/[$]LINENO.*/&-/
|
---|
| 440 | t lineno
|
---|
| 441 | b
|
---|
| 442 | :lineno
|
---|
[16565] | 443 | N
|
---|
[25149] | 444 | :loop
|
---|
| 445 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16565] | 446 | t loop
|
---|
[25149] | 447 | s/-\n.*//
|
---|
[16565] | 448 | ' >$as_me.lineno &&
|
---|
[25149] | 449 | chmod +x "$as_me.lineno" ||
|
---|
[26663] | 450 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
---|
[16565] | 451 |
|
---|
| 452 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 453 | # (the dirname of $[0] is not the place where we might find the
|
---|
[25149] | 454 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 455 | . "./$as_me.lineno"
|
---|
[16565] | 456 | # Exit status is that of the last command.
|
---|
| 457 | exit
|
---|
| 458 | }
|
---|
| 459 |
|
---|
[25149] | 460 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[26663] | 461 | case `echo -n x` in #(((((
|
---|
[25149] | 462 | -n*)
|
---|
[26663] | 463 | case `echo 'xy\c'` in
|
---|
[25149] | 464 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[26663] | 465 | xy) ECHO_C='\c';;
|
---|
| 466 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 467 | ECHO_T=' ';;
|
---|
[25149] | 468 | esac;;
|
---|
| 469 | *)
|
---|
| 470 | ECHO_N='-n';;
|
---|
[16565] | 471 | esac
|
---|
[23800] | 472 |
|
---|
| 473 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[25149] | 474 | if test -d conf$$.dir; then
|
---|
| 475 | rm -f conf$$.dir/conf$$.file
|
---|
| 476 | else
|
---|
| 477 | rm -f conf$$.dir
|
---|
| 478 | mkdir conf$$.dir 2>/dev/null
|
---|
| 479 | fi
|
---|
| 480 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 481 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 482 | as_ln_s='ln -s'
|
---|
| 483 | # ... but there are two gotchas:
|
---|
| 484 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 485 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 486 | # In both cases, we have to default to `cp -p'.
|
---|
| 487 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 488 | as_ln_s='cp -p'
|
---|
| 489 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 490 | as_ln_s=ln
|
---|
| 491 | else
|
---|
[23800] | 492 | as_ln_s='cp -p'
|
---|
[16565] | 493 | fi
|
---|
| 494 | else
|
---|
| 495 | as_ln_s='cp -p'
|
---|
| 496 | fi
|
---|
[25149] | 497 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 498 | rmdir conf$$.dir 2>/dev/null
|
---|
[16565] | 499 |
|
---|
| 500 | if mkdir -p . 2>/dev/null; then
|
---|
[26663] | 501 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16565] | 502 | else
|
---|
| 503 | test -d ./-p && rmdir ./-p
|
---|
| 504 | as_mkdir_p=false
|
---|
| 505 | fi
|
---|
| 506 |
|
---|
[25149] | 507 | if test -x / >/dev/null 2>&1; then
|
---|
| 508 | as_test_x='test -x'
|
---|
| 509 | else
|
---|
| 510 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 511 | as_ls_L_option=L
|
---|
| 512 | else
|
---|
| 513 | as_ls_L_option=
|
---|
| 514 | fi
|
---|
| 515 | as_test_x='
|
---|
| 516 | eval sh -c '\''
|
---|
| 517 | if test -d "$1"; then
|
---|
| 518 | test -d "$1/.";
|
---|
| 519 | else
|
---|
[26663] | 520 | case $1 in #(
|
---|
[25149] | 521 | -*)set "./$1";;
|
---|
| 522 | esac;
|
---|
[26663] | 523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
[25149] | 524 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 525 | '\'' sh
|
---|
| 526 | '
|
---|
| 527 | fi
|
---|
| 528 | as_executable_p=$as_test_x
|
---|
[16565] | 529 |
|
---|
| 530 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 531 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 532 |
|
---|
| 533 | # Sed expression to map a string onto a valid variable name.
|
---|
| 534 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 535 |
|
---|
| 536 |
|
---|
[26663] | 537 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
| 538 | exec 6>&1
|
---|
[16565] | 539 |
|
---|
| 540 | # Name of the host.
|
---|
[26663] | 541 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
[16565] | 542 | # so uname gets run too.
|
---|
| 543 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 544 |
|
---|
| 545 | #
|
---|
| 546 | # Initializations.
|
---|
| 547 | #
|
---|
| 548 | ac_default_prefix=/usr/local
|
---|
[25149] | 549 | ac_clean_files=
|
---|
[16565] | 550 | ac_config_libobj_dir=.
|
---|
[25149] | 551 | LIBOBJS=
|
---|
[16565] | 552 | cross_compiling=no
|
---|
| 553 | subdirs=
|
---|
| 554 | MFLAGS=
|
---|
| 555 | MAKEFLAGS=
|
---|
| 556 |
|
---|
| 557 | # Identity of this package.
|
---|
| 558 | PACKAGE_NAME=
|
---|
| 559 | PACKAGE_TARNAME=
|
---|
| 560 | PACKAGE_VERSION=
|
---|
| 561 | PACKAGE_STRING=
|
---|
| 562 | PACKAGE_BUGREPORT=
|
---|
[26663] | 563 | PACKAGE_URL=
|
---|
[16565] | 564 |
|
---|
| 565 | # Factoring default headers for most tests.
|
---|
| 566 | ac_includes_default="\
|
---|
| 567 | #include <stdio.h>
|
---|
[25149] | 568 | #ifdef HAVE_SYS_TYPES_H
|
---|
[16565] | 569 | # include <sys/types.h>
|
---|
| 570 | #endif
|
---|
[25149] | 571 | #ifdef HAVE_SYS_STAT_H
|
---|
[16565] | 572 | # include <sys/stat.h>
|
---|
| 573 | #endif
|
---|
[25149] | 574 | #ifdef STDC_HEADERS
|
---|
[16565] | 575 | # include <stdlib.h>
|
---|
| 576 | # include <stddef.h>
|
---|
| 577 | #else
|
---|
[25149] | 578 | # ifdef HAVE_STDLIB_H
|
---|
[16565] | 579 | # include <stdlib.h>
|
---|
| 580 | # endif
|
---|
| 581 | #endif
|
---|
[25149] | 582 | #ifdef HAVE_STRING_H
|
---|
| 583 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[16565] | 584 | # include <memory.h>
|
---|
| 585 | # endif
|
---|
| 586 | # include <string.h>
|
---|
| 587 | #endif
|
---|
[25149] | 588 | #ifdef HAVE_STRINGS_H
|
---|
[16565] | 589 | # include <strings.h>
|
---|
| 590 | #endif
|
---|
[25149] | 591 | #ifdef HAVE_INTTYPES_H
|
---|
[16565] | 592 | # include <inttypes.h>
|
---|
| 593 | #endif
|
---|
[25149] | 594 | #ifdef HAVE_STDINT_H
|
---|
| 595 | # include <stdint.h>
|
---|
| 596 | #endif
|
---|
| 597 | #ifdef HAVE_UNISTD_H
|
---|
[16565] | 598 | # include <unistd.h>
|
---|
| 599 | #endif"
|
---|
| 600 |
|
---|
[25149] | 601 | enable_option_checking=no
|
---|
| 602 | ac_subst_vars='LTLIBOBJS
|
---|
| 603 | subdirs
|
---|
| 604 | MODULEDIRS
|
---|
| 605 | gsdlos
|
---|
| 606 | STATIC
|
---|
| 607 | LIBOBJS
|
---|
| 608 | ALLOCA
|
---|
| 609 | ANSI2KNR
|
---|
| 610 | U
|
---|
| 611 | EGREP
|
---|
| 612 | GREP
|
---|
| 613 | CPP
|
---|
| 614 | MICO_VER
|
---|
| 615 | ARCH_DEP_FLAGS
|
---|
| 616 | RANLIB
|
---|
| 617 | SET_MAKE
|
---|
| 618 | LN_S
|
---|
| 619 | INSTALL_DATA
|
---|
| 620 | INSTALL_SCRIPT
|
---|
| 621 | INSTALL_PROGRAM
|
---|
| 622 | target_os
|
---|
| 623 | target_vendor
|
---|
| 624 | target_cpu
|
---|
| 625 | target
|
---|
| 626 | host_os
|
---|
| 627 | host_vendor
|
---|
| 628 | host_cpu
|
---|
| 629 | host
|
---|
| 630 | build_os
|
---|
| 631 | build_vendor
|
---|
| 632 | build_cpu
|
---|
| 633 | build
|
---|
| 634 | YFLAGS
|
---|
| 635 | YACC
|
---|
| 636 | AWK
|
---|
| 637 | uudecode
|
---|
| 638 | JAVA
|
---|
| 639 | JAVACFLAGS
|
---|
| 640 | JAVAC
|
---|
| 641 | ac_ct_CXX
|
---|
| 642 | CXXFLAGS
|
---|
| 643 | CXX
|
---|
| 644 | OBJEXT
|
---|
| 645 | EXEEXT
|
---|
| 646 | ac_ct_CC
|
---|
| 647 | CPPFLAGS
|
---|
| 648 | CC
|
---|
| 649 | CFLAGS
|
---|
| 650 | LDFLAGS
|
---|
| 651 | USE_SQLITE
|
---|
| 652 | ENABLE_ACCENTFOLD
|
---|
| 653 | USE_GDBM
|
---|
| 654 | USE_JDBM
|
---|
| 655 | USE_WVWARE
|
---|
| 656 | ENABLE_JAVA
|
---|
| 657 | USE_YAZ
|
---|
| 658 | USE_Z3950
|
---|
| 659 | MICO_DIR
|
---|
| 660 | USE_CORBA
|
---|
| 661 | USE_LANGACTION
|
---|
| 662 | USE_FASTCGI
|
---|
| 663 | VERSION
|
---|
| 664 | PACKAGE
|
---|
| 665 | target_alias
|
---|
| 666 | host_alias
|
---|
| 667 | build_alias
|
---|
| 668 | LIBS
|
---|
| 669 | ECHO_T
|
---|
| 670 | ECHO_N
|
---|
| 671 | ECHO_C
|
---|
| 672 | DEFS
|
---|
| 673 | mandir
|
---|
| 674 | localedir
|
---|
| 675 | libdir
|
---|
| 676 | psdir
|
---|
| 677 | pdfdir
|
---|
| 678 | dvidir
|
---|
| 679 | htmldir
|
---|
| 680 | infodir
|
---|
| 681 | docdir
|
---|
| 682 | oldincludedir
|
---|
| 683 | includedir
|
---|
| 684 | localstatedir
|
---|
| 685 | sharedstatedir
|
---|
| 686 | sysconfdir
|
---|
| 687 | datadir
|
---|
| 688 | datarootdir
|
---|
| 689 | libexecdir
|
---|
| 690 | sbindir
|
---|
| 691 | bindir
|
---|
| 692 | program_transform_name
|
---|
| 693 | prefix
|
---|
| 694 | exec_prefix
|
---|
[26663] | 695 | PACKAGE_URL
|
---|
[25149] | 696 | PACKAGE_BUGREPORT
|
---|
| 697 | PACKAGE_STRING
|
---|
| 698 | PACKAGE_VERSION
|
---|
| 699 | PACKAGE_TARNAME
|
---|
| 700 | PACKAGE_NAME
|
---|
| 701 | PATH_SEPARATOR
|
---|
| 702 | SHELL'
|
---|
[16565] | 703 | ac_subst_files=''
|
---|
[25149] | 704 | ac_user_opts='
|
---|
| 705 | enable_option_checking
|
---|
| 706 | enable_corba
|
---|
| 707 | with_micodir
|
---|
| 708 | enable_z3950
|
---|
| 709 | enable_yaz
|
---|
| 710 | enable_java
|
---|
| 711 | enable_wvware
|
---|
| 712 | enable_jdbm
|
---|
| 713 | enable_gdbm
|
---|
| 714 | enable_accentfold
|
---|
| 715 | enable_sqlite
|
---|
| 716 | with_dmalloc
|
---|
| 717 | with_regex
|
---|
| 718 | '
|
---|
| 719 | ac_precious_vars='build_alias
|
---|
| 720 | host_alias
|
---|
| 721 | target_alias
|
---|
| 722 | CC
|
---|
| 723 | CFLAGS
|
---|
| 724 | LDFLAGS
|
---|
| 725 | LIBS
|
---|
| 726 | CPPFLAGS
|
---|
| 727 | CXX
|
---|
| 728 | CXXFLAGS
|
---|
| 729 | CCC
|
---|
| 730 | YACC
|
---|
| 731 | YFLAGS
|
---|
| 732 | CPP'
|
---|
| 733 | ac_subdirs_all='packages'
|
---|
[16565] | 734 |
|
---|
| 735 | # Initialize some variables set by options.
|
---|
| 736 | ac_init_help=
|
---|
| 737 | ac_init_version=false
|
---|
[25149] | 738 | ac_unrecognized_opts=
|
---|
| 739 | ac_unrecognized_sep=
|
---|
[16565] | 740 | # The variables have the same names as the options, with
|
---|
| 741 | # dashes changed to underlines.
|
---|
| 742 | cache_file=/dev/null
|
---|
| 743 | exec_prefix=NONE
|
---|
| 744 | no_create=
|
---|
| 745 | no_recursion=
|
---|
| 746 | prefix=NONE
|
---|
| 747 | program_prefix=NONE
|
---|
| 748 | program_suffix=NONE
|
---|
| 749 | program_transform_name=s,x,x,
|
---|
| 750 | silent=
|
---|
| 751 | site=
|
---|
| 752 | srcdir=
|
---|
| 753 | verbose=
|
---|
| 754 | x_includes=NONE
|
---|
| 755 | x_libraries=NONE
|
---|
| 756 |
|
---|
| 757 | # Installation directory options.
|
---|
| 758 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 759 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 760 | # by default will actually change.
|
---|
| 761 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[25149] | 762 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[16565] | 763 | bindir='${exec_prefix}/bin'
|
---|
| 764 | sbindir='${exec_prefix}/sbin'
|
---|
| 765 | libexecdir='${exec_prefix}/libexec'
|
---|
[25149] | 766 | datarootdir='${prefix}/share'
|
---|
| 767 | datadir='${datarootdir}'
|
---|
[16565] | 768 | sysconfdir='${prefix}/etc'
|
---|
| 769 | sharedstatedir='${prefix}/com'
|
---|
| 770 | localstatedir='${prefix}/var'
|
---|
| 771 | includedir='${prefix}/include'
|
---|
| 772 | oldincludedir='/usr/include'
|
---|
[25149] | 773 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 774 | infodir='${datarootdir}/info'
|
---|
| 775 | htmldir='${docdir}'
|
---|
| 776 | dvidir='${docdir}'
|
---|
| 777 | pdfdir='${docdir}'
|
---|
| 778 | psdir='${docdir}'
|
---|
| 779 | libdir='${exec_prefix}/lib'
|
---|
| 780 | localedir='${datarootdir}/locale'
|
---|
| 781 | mandir='${datarootdir}/man'
|
---|
[16565] | 782 |
|
---|
| 783 | ac_prev=
|
---|
[25149] | 784 | ac_dashdash=
|
---|
[16565] | 785 | for ac_option
|
---|
| 786 | do
|
---|
| 787 | # If the previous option needs an argument, assign it.
|
---|
| 788 | if test -n "$ac_prev"; then
|
---|
[25149] | 789 | eval $ac_prev=\$ac_option
|
---|
[16565] | 790 | ac_prev=
|
---|
| 791 | continue
|
---|
| 792 | fi
|
---|
| 793 |
|
---|
[25149] | 794 | case $ac_option in
|
---|
[26663] | 795 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 796 | *=) ac_optarg= ;;
|
---|
| 797 | *) ac_optarg=yes ;;
|
---|
[25149] | 798 | esac
|
---|
[16565] | 799 |
|
---|
| 800 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 801 |
|
---|
[25149] | 802 | case $ac_dashdash$ac_option in
|
---|
| 803 | --)
|
---|
| 804 | ac_dashdash=yes ;;
|
---|
[16565] | 805 |
|
---|
| 806 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 807 | ac_prev=bindir ;;
|
---|
| 808 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 809 | bindir=$ac_optarg ;;
|
---|
| 810 |
|
---|
| 811 | -build | --build | --buil | --bui | --bu)
|
---|
| 812 | ac_prev=build_alias ;;
|
---|
| 813 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 814 | build_alias=$ac_optarg ;;
|
---|
| 815 |
|
---|
| 816 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 817 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 818 | ac_prev=cache_file ;;
|
---|
| 819 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 820 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 821 | cache_file=$ac_optarg ;;
|
---|
| 822 |
|
---|
| 823 | --config-cache | -C)
|
---|
| 824 | cache_file=config.cache ;;
|
---|
| 825 |
|
---|
[25149] | 826 | -datadir | --datadir | --datadi | --datad)
|
---|
[16565] | 827 | ac_prev=datadir ;;
|
---|
[25149] | 828 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[16565] | 829 | datadir=$ac_optarg ;;
|
---|
| 830 |
|
---|
[25149] | 831 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 832 | | --dataroo | --dataro | --datar)
|
---|
| 833 | ac_prev=datarootdir ;;
|
---|
| 834 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 835 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 836 | datarootdir=$ac_optarg ;;
|
---|
| 837 |
|
---|
[16565] | 838 | -disable-* | --disable-*)
|
---|
[25149] | 839 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[16565] | 840 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 841 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26663] | 842 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[25149] | 843 | ac_useropt_orig=$ac_useropt
|
---|
| 844 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 845 | case $ac_user_opts in
|
---|
| 846 | *"
|
---|
| 847 | "enable_$ac_useropt"
|
---|
| 848 | "*) ;;
|
---|
| 849 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 850 | ac_unrecognized_sep=', ';;
|
---|
| 851 | esac
|
---|
| 852 | eval enable_$ac_useropt=no ;;
|
---|
[16565] | 853 |
|
---|
[25149] | 854 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 855 | ac_prev=docdir ;;
|
---|
| 856 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 857 | docdir=$ac_optarg ;;
|
---|
| 858 |
|
---|
| 859 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 860 | ac_prev=dvidir ;;
|
---|
| 861 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 862 | dvidir=$ac_optarg ;;
|
---|
| 863 |
|
---|
[16565] | 864 | -enable-* | --enable-*)
|
---|
[25149] | 865 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[16565] | 866 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 867 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26663] | 868 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[25149] | 869 | ac_useropt_orig=$ac_useropt
|
---|
| 870 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 871 | case $ac_user_opts in
|
---|
| 872 | *"
|
---|
| 873 | "enable_$ac_useropt"
|
---|
| 874 | "*) ;;
|
---|
| 875 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 876 | ac_unrecognized_sep=', ';;
|
---|
[16565] | 877 | esac
|
---|
[25149] | 878 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[16565] | 879 |
|
---|
| 880 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 881 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 882 | | --exec | --exe | --ex)
|
---|
| 883 | ac_prev=exec_prefix ;;
|
---|
| 884 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 885 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 886 | | --exec=* | --exe=* | --ex=*)
|
---|
| 887 | exec_prefix=$ac_optarg ;;
|
---|
| 888 |
|
---|
| 889 | -gas | --gas | --ga | --g)
|
---|
| 890 | # Obsolete; use --with-gas.
|
---|
| 891 | with_gas=yes ;;
|
---|
| 892 |
|
---|
| 893 | -help | --help | --hel | --he | -h)
|
---|
| 894 | ac_init_help=long ;;
|
---|
| 895 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 896 | ac_init_help=recursive ;;
|
---|
| 897 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 898 | ac_init_help=short ;;
|
---|
| 899 |
|
---|
| 900 | -host | --host | --hos | --ho)
|
---|
| 901 | ac_prev=host_alias ;;
|
---|
| 902 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 903 | host_alias=$ac_optarg ;;
|
---|
| 904 |
|
---|
[25149] | 905 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 906 | ac_prev=htmldir ;;
|
---|
| 907 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 908 | | --ht=*)
|
---|
| 909 | htmldir=$ac_optarg ;;
|
---|
| 910 |
|
---|
[16565] | 911 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 912 | | --includ | --inclu | --incl | --inc)
|
---|
| 913 | ac_prev=includedir ;;
|
---|
| 914 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 915 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 916 | includedir=$ac_optarg ;;
|
---|
| 917 |
|
---|
| 918 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 919 | ac_prev=infodir ;;
|
---|
| 920 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 921 | infodir=$ac_optarg ;;
|
---|
| 922 |
|
---|
| 923 | -libdir | --libdir | --libdi | --libd)
|
---|
| 924 | ac_prev=libdir ;;
|
---|
| 925 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 926 | libdir=$ac_optarg ;;
|
---|
| 927 |
|
---|
| 928 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 929 | | --libexe | --libex | --libe)
|
---|
| 930 | ac_prev=libexecdir ;;
|
---|
| 931 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 932 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 933 | libexecdir=$ac_optarg ;;
|
---|
| 934 |
|
---|
[25149] | 935 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 936 | ac_prev=localedir ;;
|
---|
| 937 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 938 | localedir=$ac_optarg ;;
|
---|
| 939 |
|
---|
[16565] | 940 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[25149] | 941 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[16565] | 942 | ac_prev=localstatedir ;;
|
---|
| 943 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[25149] | 944 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[16565] | 945 | localstatedir=$ac_optarg ;;
|
---|
| 946 |
|
---|
| 947 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 948 | ac_prev=mandir ;;
|
---|
| 949 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 950 | mandir=$ac_optarg ;;
|
---|
| 951 |
|
---|
| 952 | -nfp | --nfp | --nf)
|
---|
| 953 | # Obsolete; use --without-fp.
|
---|
| 954 | with_fp=no ;;
|
---|
| 955 |
|
---|
| 956 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 957 | | --no-cr | --no-c | -n)
|
---|
| 958 | no_create=yes ;;
|
---|
| 959 |
|
---|
| 960 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 961 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 962 | no_recursion=yes ;;
|
---|
| 963 |
|
---|
| 964 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 965 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 966 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 967 | ac_prev=oldincludedir ;;
|
---|
| 968 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 969 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 970 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 971 | oldincludedir=$ac_optarg ;;
|
---|
| 972 |
|
---|
| 973 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 974 | ac_prev=prefix ;;
|
---|
| 975 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 976 | prefix=$ac_optarg ;;
|
---|
| 977 |
|
---|
| 978 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 979 | | --program-pre | --program-pr | --program-p)
|
---|
| 980 | ac_prev=program_prefix ;;
|
---|
| 981 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 982 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 983 | program_prefix=$ac_optarg ;;
|
---|
| 984 |
|
---|
| 985 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 986 | | --program-suf | --program-su | --program-s)
|
---|
| 987 | ac_prev=program_suffix ;;
|
---|
| 988 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 989 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 990 | program_suffix=$ac_optarg ;;
|
---|
| 991 |
|
---|
| 992 | -program-transform-name | --program-transform-name \
|
---|
| 993 | | --program-transform-nam | --program-transform-na \
|
---|
| 994 | | --program-transform-n | --program-transform- \
|
---|
| 995 | | --program-transform | --program-transfor \
|
---|
| 996 | | --program-transfo | --program-transf \
|
---|
| 997 | | --program-trans | --program-tran \
|
---|
| 998 | | --progr-tra | --program-tr | --program-t)
|
---|
| 999 | ac_prev=program_transform_name ;;
|
---|
| 1000 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 1001 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1002 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1003 | | --program-transform=* | --program-transfor=* \
|
---|
| 1004 | | --program-transfo=* | --program-transf=* \
|
---|
| 1005 | | --program-trans=* | --program-tran=* \
|
---|
| 1006 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 1007 | program_transform_name=$ac_optarg ;;
|
---|
| 1008 |
|
---|
[25149] | 1009 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1010 | ac_prev=pdfdir ;;
|
---|
| 1011 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1012 | pdfdir=$ac_optarg ;;
|
---|
| 1013 |
|
---|
| 1014 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1015 | ac_prev=psdir ;;
|
---|
| 1016 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1017 | psdir=$ac_optarg ;;
|
---|
| 1018 |
|
---|
[16565] | 1019 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1020 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1021 | silent=yes ;;
|
---|
| 1022 |
|
---|
| 1023 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1024 | ac_prev=sbindir ;;
|
---|
| 1025 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1026 | | --sbi=* | --sb=*)
|
---|
| 1027 | sbindir=$ac_optarg ;;
|
---|
| 1028 |
|
---|
| 1029 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1030 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1031 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1032 | | --sha | --sh)
|
---|
| 1033 | ac_prev=sharedstatedir ;;
|
---|
| 1034 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1035 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1036 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1037 | | --sha=* | --sh=*)
|
---|
| 1038 | sharedstatedir=$ac_optarg ;;
|
---|
| 1039 |
|
---|
| 1040 | -site | --site | --sit)
|
---|
| 1041 | ac_prev=site ;;
|
---|
| 1042 | -site=* | --site=* | --sit=*)
|
---|
| 1043 | site=$ac_optarg ;;
|
---|
| 1044 |
|
---|
| 1045 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1046 | ac_prev=srcdir ;;
|
---|
| 1047 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1048 | srcdir=$ac_optarg ;;
|
---|
| 1049 |
|
---|
| 1050 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1051 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1052 | ac_prev=sysconfdir ;;
|
---|
| 1053 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1054 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1055 | sysconfdir=$ac_optarg ;;
|
---|
| 1056 |
|
---|
| 1057 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1058 | ac_prev=target_alias ;;
|
---|
| 1059 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1060 | target_alias=$ac_optarg ;;
|
---|
| 1061 |
|
---|
| 1062 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1063 | verbose=yes ;;
|
---|
| 1064 |
|
---|
| 1065 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1066 | ac_init_version=: ;;
|
---|
| 1067 |
|
---|
| 1068 | -with-* | --with-*)
|
---|
[25149] | 1069 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[16565] | 1070 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 1071 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26663] | 1072 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[25149] | 1073 | ac_useropt_orig=$ac_useropt
|
---|
| 1074 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1075 | case $ac_user_opts in
|
---|
| 1076 | *"
|
---|
| 1077 | "with_$ac_useropt"
|
---|
| 1078 | "*) ;;
|
---|
| 1079 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1080 | ac_unrecognized_sep=', ';;
|
---|
[16565] | 1081 | esac
|
---|
[25149] | 1082 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[16565] | 1083 |
|
---|
| 1084 | -without-* | --without-*)
|
---|
[25149] | 1085 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[16565] | 1086 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 1087 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26663] | 1088 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[25149] | 1089 | ac_useropt_orig=$ac_useropt
|
---|
| 1090 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1091 | case $ac_user_opts in
|
---|
| 1092 | *"
|
---|
| 1093 | "with_$ac_useropt"
|
---|
| 1094 | "*) ;;
|
---|
| 1095 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1096 | ac_unrecognized_sep=', ';;
|
---|
| 1097 | esac
|
---|
| 1098 | eval with_$ac_useropt=no ;;
|
---|
[16565] | 1099 |
|
---|
| 1100 | --x)
|
---|
| 1101 | # Obsolete; use --with-x.
|
---|
| 1102 | with_x=yes ;;
|
---|
| 1103 |
|
---|
| 1104 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1105 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1106 | ac_prev=x_includes ;;
|
---|
| 1107 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1108 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1109 | x_includes=$ac_optarg ;;
|
---|
| 1110 |
|
---|
| 1111 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1112 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1113 | ac_prev=x_libraries ;;
|
---|
| 1114 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1115 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1116 | x_libraries=$ac_optarg ;;
|
---|
| 1117 |
|
---|
[26663] | 1118 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1119 | Try \`$0 --help' for more information"
|
---|
[16565] | 1120 | ;;
|
---|
| 1121 |
|
---|
| 1122 | *=*)
|
---|
| 1123 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1124 | # Reject names that are not valid shell variable names.
|
---|
[26663] | 1125 | case $ac_envvar in #(
|
---|
| 1126 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
| 1127 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
| 1128 | esac
|
---|
[25149] | 1129 | eval $ac_envvar=\$ac_optarg
|
---|
[16565] | 1130 | export $ac_envvar ;;
|
---|
| 1131 |
|
---|
| 1132 | *)
|
---|
| 1133 | # FIXME: should be removed in autoconf 3.0.
|
---|
[25149] | 1134 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[16565] | 1135 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[25149] | 1136 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[26663] | 1137 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
---|
[16565] | 1138 | ;;
|
---|
| 1139 |
|
---|
| 1140 | esac
|
---|
| 1141 | done
|
---|
| 1142 |
|
---|
| 1143 | if test -n "$ac_prev"; then
|
---|
| 1144 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[26663] | 1145 | as_fn_error $? "missing argument to $ac_option"
|
---|
[16565] | 1146 | fi
|
---|
| 1147 |
|
---|
[25149] | 1148 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1149 | case $enable_option_checking in
|
---|
| 1150 | no) ;;
|
---|
[26663] | 1151 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
[25149] | 1152 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[16565] | 1153 | esac
|
---|
[25149] | 1154 | fi
|
---|
[16565] | 1155 |
|
---|
[25149] | 1156 | # Check all directory arguments for consistency.
|
---|
| 1157 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1158 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1159 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1160 | libdir localedir mandir
|
---|
[16565] | 1161 | do
|
---|
[25149] | 1162 | eval ac_val=\$$ac_var
|
---|
| 1163 | # Remove trailing slashes.
|
---|
[16565] | 1164 | case $ac_val in
|
---|
[25149] | 1165 | */ )
|
---|
| 1166 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1167 | eval $ac_var=\$ac_val;;
|
---|
[16565] | 1168 | esac
|
---|
[25149] | 1169 | # Be sure to have absolute directory names.
|
---|
| 1170 | case $ac_val in
|
---|
| 1171 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1172 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1173 | esac
|
---|
[26663] | 1174 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
[16565] | 1175 | done
|
---|
| 1176 |
|
---|
| 1177 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1178 | # used to hold the argument of --host etc.
|
---|
| 1179 | # FIXME: To remove some day.
|
---|
| 1180 | build=$build_alias
|
---|
| 1181 | host=$host_alias
|
---|
| 1182 | target=$target_alias
|
---|
| 1183 |
|
---|
| 1184 | # FIXME: To remove some day.
|
---|
| 1185 | if test "x$host_alias" != x; then
|
---|
| 1186 | if test "x$build_alias" = x; then
|
---|
| 1187 | cross_compiling=maybe
|
---|
[26663] | 1188 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
---|
| 1189 | If a cross compiler is detected then cross compile mode will be used" >&2
|
---|
[16565] | 1190 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1191 | cross_compiling=yes
|
---|
| 1192 | fi
|
---|
| 1193 | fi
|
---|
| 1194 |
|
---|
| 1195 | ac_tool_prefix=
|
---|
| 1196 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1197 |
|
---|
| 1198 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1199 |
|
---|
| 1200 |
|
---|
[25149] | 1201 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1202 | ac_ls_di=`ls -di .` &&
|
---|
| 1203 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
[26663] | 1204 | as_fn_error $? "working directory cannot be determined"
|
---|
[25149] | 1205 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
[26663] | 1206 | as_fn_error $? "pwd does not report name of working directory"
|
---|
[25149] | 1207 |
|
---|
| 1208 |
|
---|
[16565] | 1209 | # Find the source files, if location was not specified.
|
---|
| 1210 | if test -z "$srcdir"; then
|
---|
| 1211 | ac_srcdir_defaulted=yes
|
---|
[25149] | 1212 | # Try the directory containing this script, then the parent directory.
|
---|
| 1213 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1214 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1215 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1216 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1217 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1218 | $as_echo X"$as_myself" |
|
---|
| 1219 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1220 | s//\1/
|
---|
| 1221 | q
|
---|
| 1222 | }
|
---|
| 1223 | /^X\(\/\/\)[^/].*/{
|
---|
| 1224 | s//\1/
|
---|
| 1225 | q
|
---|
| 1226 | }
|
---|
| 1227 | /^X\(\/\/\)$/{
|
---|
| 1228 | s//\1/
|
---|
| 1229 | q
|
---|
| 1230 | }
|
---|
| 1231 | /^X\(\/\).*/{
|
---|
| 1232 | s//\1/
|
---|
| 1233 | q
|
---|
| 1234 | }
|
---|
| 1235 | s/.*/./; q'`
|
---|
[16565] | 1236 | srcdir=$ac_confdir
|
---|
[25149] | 1237 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[16565] | 1238 | srcdir=..
|
---|
| 1239 | fi
|
---|
| 1240 | else
|
---|
| 1241 | ac_srcdir_defaulted=no
|
---|
| 1242 | fi
|
---|
[25149] | 1243 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1244 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
[26663] | 1245 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
[25149] | 1246 | fi
|
---|
| 1247 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1248 | ac_abs_confdir=`(
|
---|
[26663] | 1249 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
[25149] | 1250 | pwd)`
|
---|
| 1251 | # When building in place, set srcdir=.
|
---|
| 1252 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1253 | srcdir=.
|
---|
[16565] | 1254 | fi
|
---|
[25149] | 1255 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1256 | # Double slashes in file names in object file debugging info
|
---|
| 1257 | # mess up M-x gdb in Emacs.
|
---|
| 1258 | case $srcdir in
|
---|
| 1259 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1260 | esac
|
---|
| 1261 | for ac_var in $ac_precious_vars; do
|
---|
| 1262 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1263 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1264 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1265 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1266 | done
|
---|
[16565] | 1267 |
|
---|
| 1268 | #
|
---|
| 1269 | # Report the --help message.
|
---|
| 1270 | #
|
---|
| 1271 | if test "$ac_init_help" = "long"; then
|
---|
| 1272 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1273 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1274 | cat <<_ACEOF
|
---|
| 1275 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1276 |
|
---|
| 1277 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1278 |
|
---|
| 1279 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1280 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1281 |
|
---|
| 1282 | Defaults for the options are specified in brackets.
|
---|
| 1283 |
|
---|
| 1284 | Configuration:
|
---|
| 1285 | -h, --help display this help and exit
|
---|
| 1286 | --help=short display options specific to this package
|
---|
| 1287 | --help=recursive display the short help of all the included packages
|
---|
| 1288 | -V, --version display version information and exit
|
---|
[26663] | 1289 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
[16565] | 1290 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1291 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1292 | -n, --no-create do not create output files
|
---|
| 1293 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1294 |
|
---|
| 1295 | Installation directories:
|
---|
| 1296 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[25149] | 1297 | [$ac_default_prefix]
|
---|
[16565] | 1298 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[25149] | 1299 | [PREFIX]
|
---|
[16565] | 1300 |
|
---|
| 1301 | By default, \`make install' will install all the files in
|
---|
| 1302 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1303 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1304 | for instance \`--prefix=\$HOME'.
|
---|
| 1305 |
|
---|
| 1306 | For better control, use the options below.
|
---|
| 1307 |
|
---|
| 1308 | Fine tuning of the installation directories:
|
---|
[25149] | 1309 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1310 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1311 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1312 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1313 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1314 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1315 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1316 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1317 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1318 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1319 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1320 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1321 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1322 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1323 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1324 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1325 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1326 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1327 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[16565] | 1328 | _ACEOF
|
---|
| 1329 |
|
---|
| 1330 | cat <<\_ACEOF
|
---|
| 1331 |
|
---|
| 1332 | System types:
|
---|
| 1333 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1334 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1335 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1336 | _ACEOF
|
---|
| 1337 | fi
|
---|
| 1338 |
|
---|
| 1339 | if test -n "$ac_init_help"; then
|
---|
| 1340 |
|
---|
| 1341 | cat <<\_ACEOF
|
---|
| 1342 |
|
---|
| 1343 | Optional Features:
|
---|
[25149] | 1344 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
[16565] | 1345 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1346 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1347 | --enable-corba Enable CORBA support
|
---|
| 1348 | --enable-z3950 Enable Z39.50 client support
|
---|
| 1349 | --disable-yaz Disable YAZ compilation
|
---|
[23356] | 1350 | --disable-java Disable Java compilation
|
---|
[23800] | 1351 | --disable-wvware Disable wvWare compilation
|
---|
[23356] | 1352 | --disable-jdbm Disable JDBM compilation
|
---|
| 1353 | --disable-gdbm Disable GDBM compilation
|
---|
[16565] | 1354 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
| 1355 | --disable-sqlite Disable SQLite support
|
---|
| 1356 |
|
---|
| 1357 | Optional Packages:
|
---|
| 1358 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1359 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1360 | --with-micodir Use installed MICO directory
|
---|
| 1361 | --with-dmalloc use dmalloc, as in
|
---|
| 1362 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1363 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1364 |
|
---|
| 1365 | Some influential environment variables:
|
---|
| 1366 | CC C compiler command
|
---|
| 1367 | CFLAGS C compiler flags
|
---|
| 1368 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1369 | nonstandard directory <lib dir>
|
---|
[25149] | 1370 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
[26663] | 1371 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
[25149] | 1372 | you have headers in a nonstandard directory <include dir>
|
---|
[16565] | 1373 | CXX C++ compiler command
|
---|
| 1374 | CXXFLAGS C++ compiler flags
|
---|
[26663] | 1375 | YACC The `Yet Another Compiler Compiler' implementation to use.
|
---|
| 1376 | Defaults to the first program found out of: `bison -y', `byacc',
|
---|
| 1377 | `yacc'.
|
---|
[25149] | 1378 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1379 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1380 | default value of `-d' given by some make applications.
|
---|
[16565] | 1381 | CPP C preprocessor
|
---|
| 1382 |
|
---|
| 1383 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1384 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1385 |
|
---|
[26663] | 1386 | Report bugs to the package provider.
|
---|
[16565] | 1387 | _ACEOF
|
---|
[25149] | 1388 | ac_status=$?
|
---|
[16565] | 1389 | fi
|
---|
| 1390 |
|
---|
| 1391 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1392 | # If there are subdirs, report their specific --help.
|
---|
| 1393 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[25149] | 1394 | test -d "$ac_dir" ||
|
---|
| 1395 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1396 | continue
|
---|
[16565] | 1397 | ac_builddir=.
|
---|
| 1398 |
|
---|
[25149] | 1399 | case "$ac_dir" in
|
---|
| 1400 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1401 | *)
|
---|
| 1402 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1403 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1404 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1405 | case $ac_top_builddir_sub in
|
---|
| 1406 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1407 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1408 | esac ;;
|
---|
| 1409 | esac
|
---|
| 1410 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1411 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1412 | # for backward compatibility:
|
---|
| 1413 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16565] | 1414 |
|
---|
| 1415 | case $srcdir in
|
---|
[25149] | 1416 | .) # We are building in place.
|
---|
[16565] | 1417 | ac_srcdir=.
|
---|
[25149] | 1418 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1419 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1420 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16565] | 1421 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 1422 | ac_top_srcdir=$srcdir
|
---|
| 1423 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1424 | *) # Relative name.
|
---|
| 1425 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1426 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1427 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16565] | 1428 | esac
|
---|
[25149] | 1429 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16565] | 1430 |
|
---|
[25149] | 1431 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1432 | # Check for guested configure.
|
---|
| 1433 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1434 | echo &&
|
---|
| 1435 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1436 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1437 | echo &&
|
---|
| 1438 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[16565] | 1439 | else
|
---|
[25149] | 1440 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1441 | fi || ac_status=$?
|
---|
| 1442 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[16565] | 1443 | done
|
---|
| 1444 | fi
|
---|
| 1445 |
|
---|
[25149] | 1446 | test -n "$ac_init_help" && exit $ac_status
|
---|
[16565] | 1447 | if $ac_init_version; then
|
---|
| 1448 | cat <<\_ACEOF
|
---|
[25149] | 1449 | configure
|
---|
[26663] | 1450 | generated by GNU Autoconf 2.68
|
---|
[16565] | 1451 |
|
---|
[26663] | 1452 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16565] | 1453 | This configure script is free software; the Free Software Foundation
|
---|
| 1454 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1455 | _ACEOF
|
---|
[25149] | 1456 | exit
|
---|
[16565] | 1457 | fi
|
---|
[26663] | 1458 |
|
---|
| 1459 | ## ------------------------ ##
|
---|
| 1460 | ## Autoconf initialization. ##
|
---|
| 1461 | ## ------------------------ ##
|
---|
| 1462 |
|
---|
| 1463 | # ac_fn_c_try_compile LINENO
|
---|
| 1464 | # --------------------------
|
---|
| 1465 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1466 | ac_fn_c_try_compile ()
|
---|
| 1467 | {
|
---|
| 1468 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1469 | rm -f conftest.$ac_objext
|
---|
| 1470 | if { { ac_try="$ac_compile"
|
---|
| 1471 | case "(($ac_try" in
|
---|
| 1472 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1473 | *) ac_try_echo=$ac_try;;
|
---|
| 1474 | esac
|
---|
| 1475 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1476 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1477 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1478 | ac_status=$?
|
---|
| 1479 | if test -s conftest.err; then
|
---|
| 1480 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1481 | cat conftest.er1 >&5
|
---|
| 1482 | mv -f conftest.er1 conftest.err
|
---|
| 1483 | fi
|
---|
| 1484 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1485 | test $ac_status = 0; } && {
|
---|
| 1486 | test -z "$ac_c_werror_flag" ||
|
---|
| 1487 | test ! -s conftest.err
|
---|
| 1488 | } && test -s conftest.$ac_objext; then :
|
---|
| 1489 | ac_retval=0
|
---|
| 1490 | else
|
---|
| 1491 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1492 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1493 |
|
---|
| 1494 | ac_retval=1
|
---|
| 1495 | fi
|
---|
| 1496 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1497 | as_fn_set_status $ac_retval
|
---|
| 1498 |
|
---|
| 1499 | } # ac_fn_c_try_compile
|
---|
| 1500 |
|
---|
| 1501 | # ac_fn_cxx_try_compile LINENO
|
---|
| 1502 | # ----------------------------
|
---|
| 1503 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1504 | ac_fn_cxx_try_compile ()
|
---|
| 1505 | {
|
---|
| 1506 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1507 | rm -f conftest.$ac_objext
|
---|
| 1508 | if { { ac_try="$ac_compile"
|
---|
| 1509 | case "(($ac_try" in
|
---|
| 1510 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1511 | *) ac_try_echo=$ac_try;;
|
---|
| 1512 | esac
|
---|
| 1513 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1514 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1515 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1516 | ac_status=$?
|
---|
| 1517 | if test -s conftest.err; then
|
---|
| 1518 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1519 | cat conftest.er1 >&5
|
---|
| 1520 | mv -f conftest.er1 conftest.err
|
---|
| 1521 | fi
|
---|
| 1522 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1523 | test $ac_status = 0; } && {
|
---|
| 1524 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 1525 | test ! -s conftest.err
|
---|
| 1526 | } && test -s conftest.$ac_objext; then :
|
---|
| 1527 | ac_retval=0
|
---|
| 1528 | else
|
---|
| 1529 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1530 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1531 |
|
---|
| 1532 | ac_retval=1
|
---|
| 1533 | fi
|
---|
| 1534 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1535 | as_fn_set_status $ac_retval
|
---|
| 1536 |
|
---|
| 1537 | } # ac_fn_cxx_try_compile
|
---|
| 1538 |
|
---|
| 1539 | # ac_fn_c_try_cpp LINENO
|
---|
| 1540 | # ----------------------
|
---|
| 1541 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1542 | ac_fn_c_try_cpp ()
|
---|
| 1543 | {
|
---|
| 1544 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1545 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 1546 | case "(($ac_try" in
|
---|
| 1547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1548 | *) ac_try_echo=$ac_try;;
|
---|
| 1549 | esac
|
---|
| 1550 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1551 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1552 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
| 1553 | ac_status=$?
|
---|
| 1554 | if test -s conftest.err; then
|
---|
| 1555 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1556 | cat conftest.er1 >&5
|
---|
| 1557 | mv -f conftest.er1 conftest.err
|
---|
| 1558 | fi
|
---|
| 1559 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1560 | test $ac_status = 0; } > conftest.i && {
|
---|
| 1561 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 1562 | test ! -s conftest.err
|
---|
| 1563 | }; then :
|
---|
| 1564 | ac_retval=0
|
---|
| 1565 | else
|
---|
| 1566 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1567 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1568 |
|
---|
| 1569 | ac_retval=1
|
---|
| 1570 | fi
|
---|
| 1571 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1572 | as_fn_set_status $ac_retval
|
---|
| 1573 |
|
---|
| 1574 | } # ac_fn_c_try_cpp
|
---|
| 1575 |
|
---|
| 1576 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
---|
| 1577 | # -------------------------------------------------------
|
---|
| 1578 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
---|
| 1579 | # the include files in INCLUDES and setting the cache variable VAR
|
---|
| 1580 | # accordingly.
|
---|
| 1581 | ac_fn_c_check_header_mongrel ()
|
---|
| 1582 | {
|
---|
| 1583 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1584 | if eval \${$3+:} false; then :
|
---|
| 1585 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1586 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1587 | if eval \${$3+:} false; then :
|
---|
| 1588 | $as_echo_n "(cached) " >&6
|
---|
| 1589 | fi
|
---|
| 1590 | eval ac_res=\$$3
|
---|
| 1591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1592 | $as_echo "$ac_res" >&6; }
|
---|
| 1593 | else
|
---|
| 1594 | # Is the header compilable?
|
---|
| 1595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
---|
| 1596 | $as_echo_n "checking $2 usability... " >&6; }
|
---|
| 1597 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1598 | /* end confdefs.h. */
|
---|
| 1599 | $4
|
---|
| 1600 | #include <$2>
|
---|
| 1601 | _ACEOF
|
---|
| 1602 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1603 | ac_header_compiler=yes
|
---|
| 1604 | else
|
---|
| 1605 | ac_header_compiler=no
|
---|
| 1606 | fi
|
---|
| 1607 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
---|
| 1609 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 1610 |
|
---|
| 1611 | # Is the header present?
|
---|
| 1612 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
---|
| 1613 | $as_echo_n "checking $2 presence... " >&6; }
|
---|
| 1614 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1615 | /* end confdefs.h. */
|
---|
| 1616 | #include <$2>
|
---|
| 1617 | _ACEOF
|
---|
| 1618 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 1619 | ac_header_preproc=yes
|
---|
| 1620 | else
|
---|
| 1621 | ac_header_preproc=no
|
---|
| 1622 | fi
|
---|
| 1623 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 1624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
---|
| 1625 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 1626 |
|
---|
| 1627 | # So? What about this header?
|
---|
| 1628 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
---|
| 1629 | yes:no: )
|
---|
| 1630 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 1631 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 1632 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1633 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1634 | ;;
|
---|
| 1635 | no:yes:* )
|
---|
| 1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
---|
| 1637 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
---|
| 1638 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
---|
| 1639 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
---|
| 1640 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
---|
| 1641 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
---|
| 1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 1643 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 1644 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1645 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1646 | ;;
|
---|
| 1647 | esac
|
---|
| 1648 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1649 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1650 | if eval \${$3+:} false; then :
|
---|
| 1651 | $as_echo_n "(cached) " >&6
|
---|
| 1652 | else
|
---|
| 1653 | eval "$3=\$ac_header_compiler"
|
---|
| 1654 | fi
|
---|
| 1655 | eval ac_res=\$$3
|
---|
| 1656 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1657 | $as_echo "$ac_res" >&6; }
|
---|
| 1658 | fi
|
---|
| 1659 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1660 |
|
---|
| 1661 | } # ac_fn_c_check_header_mongrel
|
---|
| 1662 |
|
---|
| 1663 | # ac_fn_c_try_run LINENO
|
---|
| 1664 | # ----------------------
|
---|
| 1665 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1666 | # that executables *can* be run.
|
---|
| 1667 | ac_fn_c_try_run ()
|
---|
| 1668 | {
|
---|
| 1669 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1670 | if { { ac_try="$ac_link"
|
---|
| 1671 | case "(($ac_try" in
|
---|
| 1672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1673 | *) ac_try_echo=$ac_try;;
|
---|
| 1674 | esac
|
---|
| 1675 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1676 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1677 | (eval "$ac_link") 2>&5
|
---|
| 1678 | ac_status=$?
|
---|
| 1679 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1680 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1681 | { { case "(($ac_try" in
|
---|
| 1682 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1683 | *) ac_try_echo=$ac_try;;
|
---|
| 1684 | esac
|
---|
| 1685 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1686 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1687 | (eval "$ac_try") 2>&5
|
---|
| 1688 | ac_status=$?
|
---|
| 1689 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1690 | test $ac_status = 0; }; }; then :
|
---|
| 1691 | ac_retval=0
|
---|
| 1692 | else
|
---|
| 1693 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1694 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1695 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1696 |
|
---|
| 1697 | ac_retval=$ac_status
|
---|
| 1698 | fi
|
---|
| 1699 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1700 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1701 | as_fn_set_status $ac_retval
|
---|
| 1702 |
|
---|
| 1703 | } # ac_fn_c_try_run
|
---|
| 1704 |
|
---|
| 1705 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
| 1706 | # -------------------------------------------------------
|
---|
| 1707 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
| 1708 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
| 1709 | ac_fn_c_check_header_compile ()
|
---|
| 1710 | {
|
---|
| 1711 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1712 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1713 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1714 | if eval \${$3+:} false; then :
|
---|
| 1715 | $as_echo_n "(cached) " >&6
|
---|
| 1716 | else
|
---|
| 1717 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1718 | /* end confdefs.h. */
|
---|
| 1719 | $4
|
---|
| 1720 | #include <$2>
|
---|
| 1721 | _ACEOF
|
---|
| 1722 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1723 | eval "$3=yes"
|
---|
| 1724 | else
|
---|
| 1725 | eval "$3=no"
|
---|
| 1726 | fi
|
---|
| 1727 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1728 | fi
|
---|
| 1729 | eval ac_res=\$$3
|
---|
| 1730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1731 | $as_echo "$ac_res" >&6; }
|
---|
| 1732 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1733 |
|
---|
| 1734 | } # ac_fn_c_check_header_compile
|
---|
| 1735 |
|
---|
| 1736 | # ac_fn_c_try_link LINENO
|
---|
| 1737 | # -----------------------
|
---|
| 1738 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1739 | ac_fn_c_try_link ()
|
---|
| 1740 | {
|
---|
| 1741 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1742 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 1743 | if { { ac_try="$ac_link"
|
---|
| 1744 | case "(($ac_try" in
|
---|
| 1745 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1746 | *) ac_try_echo=$ac_try;;
|
---|
| 1747 | esac
|
---|
| 1748 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1749 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1750 | (eval "$ac_link") 2>conftest.err
|
---|
| 1751 | ac_status=$?
|
---|
| 1752 | if test -s conftest.err; then
|
---|
| 1753 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1754 | cat conftest.er1 >&5
|
---|
| 1755 | mv -f conftest.er1 conftest.err
|
---|
| 1756 | fi
|
---|
| 1757 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1758 | test $ac_status = 0; } && {
|
---|
| 1759 | test -z "$ac_c_werror_flag" ||
|
---|
| 1760 | test ! -s conftest.err
|
---|
| 1761 | } && test -s conftest$ac_exeext && {
|
---|
| 1762 | test "$cross_compiling" = yes ||
|
---|
| 1763 | $as_test_x conftest$ac_exeext
|
---|
| 1764 | }; then :
|
---|
| 1765 | ac_retval=0
|
---|
| 1766 | else
|
---|
| 1767 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1768 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1769 |
|
---|
| 1770 | ac_retval=1
|
---|
| 1771 | fi
|
---|
| 1772 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
| 1773 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
| 1774 | # interfere with the next link command; also delete a directory that is
|
---|
| 1775 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
| 1776 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1777 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1778 | as_fn_set_status $ac_retval
|
---|
| 1779 |
|
---|
| 1780 | } # ac_fn_c_try_link
|
---|
| 1781 |
|
---|
| 1782 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
---|
| 1783 | # -------------------------------------------
|
---|
| 1784 | # Tests whether TYPE exists after having included INCLUDES, setting cache
|
---|
| 1785 | # variable VAR accordingly.
|
---|
| 1786 | ac_fn_c_check_type ()
|
---|
| 1787 | {
|
---|
| 1788 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1789 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1790 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1791 | if eval \${$3+:} false; then :
|
---|
| 1792 | $as_echo_n "(cached) " >&6
|
---|
| 1793 | else
|
---|
| 1794 | eval "$3=no"
|
---|
| 1795 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1796 | /* end confdefs.h. */
|
---|
| 1797 | $4
|
---|
| 1798 | int
|
---|
| 1799 | main ()
|
---|
| 1800 | {
|
---|
| 1801 | if (sizeof ($2))
|
---|
| 1802 | return 0;
|
---|
| 1803 | ;
|
---|
| 1804 | return 0;
|
---|
| 1805 | }
|
---|
| 1806 | _ACEOF
|
---|
| 1807 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1808 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1809 | /* end confdefs.h. */
|
---|
| 1810 | $4
|
---|
| 1811 | int
|
---|
| 1812 | main ()
|
---|
| 1813 | {
|
---|
| 1814 | if (sizeof (($2)))
|
---|
| 1815 | return 0;
|
---|
| 1816 | ;
|
---|
| 1817 | return 0;
|
---|
| 1818 | }
|
---|
| 1819 | _ACEOF
|
---|
| 1820 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1821 |
|
---|
| 1822 | else
|
---|
| 1823 | eval "$3=yes"
|
---|
| 1824 | fi
|
---|
| 1825 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1826 | fi
|
---|
| 1827 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1828 | fi
|
---|
| 1829 | eval ac_res=\$$3
|
---|
| 1830 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1831 | $as_echo "$ac_res" >&6; }
|
---|
| 1832 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1833 |
|
---|
| 1834 | } # ac_fn_c_check_type
|
---|
| 1835 |
|
---|
| 1836 | # ac_fn_c_check_func LINENO FUNC VAR
|
---|
| 1837 | # ----------------------------------
|
---|
| 1838 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
---|
| 1839 | ac_fn_c_check_func ()
|
---|
| 1840 | {
|
---|
| 1841 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1842 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1843 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1844 | if eval \${$3+:} false; then :
|
---|
| 1845 | $as_echo_n "(cached) " >&6
|
---|
| 1846 | else
|
---|
| 1847 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1848 | /* end confdefs.h. */
|
---|
| 1849 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
---|
| 1850 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 1851 | #define $2 innocuous_$2
|
---|
| 1852 |
|
---|
| 1853 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 1854 | which can conflict with char $2 (); below.
|
---|
| 1855 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 1856 | <limits.h> exists even on freestanding compilers. */
|
---|
| 1857 |
|
---|
| 1858 | #ifdef __STDC__
|
---|
| 1859 | # include <limits.h>
|
---|
| 1860 | #else
|
---|
| 1861 | # include <assert.h>
|
---|
| 1862 | #endif
|
---|
| 1863 |
|
---|
| 1864 | #undef $2
|
---|
| 1865 |
|
---|
| 1866 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 1867 | Use char because int might match the return type of a GCC
|
---|
| 1868 | builtin and then its argument prototype would still apply. */
|
---|
| 1869 | #ifdef __cplusplus
|
---|
| 1870 | extern "C"
|
---|
| 1871 | #endif
|
---|
| 1872 | char $2 ();
|
---|
| 1873 | /* The GNU C library defines this for functions which it implements
|
---|
| 1874 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 1875 | something starting with __ and the normal name is an alias. */
|
---|
| 1876 | #if defined __stub_$2 || defined __stub___$2
|
---|
| 1877 | choke me
|
---|
| 1878 | #endif
|
---|
| 1879 |
|
---|
| 1880 | int
|
---|
| 1881 | main ()
|
---|
| 1882 | {
|
---|
| 1883 | return $2 ();
|
---|
| 1884 | ;
|
---|
| 1885 | return 0;
|
---|
| 1886 | }
|
---|
| 1887 | _ACEOF
|
---|
| 1888 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 1889 | eval "$3=yes"
|
---|
| 1890 | else
|
---|
| 1891 | eval "$3=no"
|
---|
| 1892 | fi
|
---|
| 1893 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 1894 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 1895 | fi
|
---|
| 1896 | eval ac_res=\$$3
|
---|
| 1897 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1898 | $as_echo "$ac_res" >&6; }
|
---|
| 1899 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1900 |
|
---|
| 1901 | } # ac_fn_c_check_func
|
---|
| 1902 |
|
---|
| 1903 | # ac_fn_cxx_try_run LINENO
|
---|
| 1904 | # ------------------------
|
---|
| 1905 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1906 | # that executables *can* be run.
|
---|
| 1907 | ac_fn_cxx_try_run ()
|
---|
| 1908 | {
|
---|
| 1909 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1910 | if { { ac_try="$ac_link"
|
---|
| 1911 | case "(($ac_try" in
|
---|
| 1912 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1913 | *) ac_try_echo=$ac_try;;
|
---|
| 1914 | esac
|
---|
| 1915 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1916 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1917 | (eval "$ac_link") 2>&5
|
---|
| 1918 | ac_status=$?
|
---|
| 1919 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1920 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1921 | { { case "(($ac_try" in
|
---|
| 1922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1923 | *) ac_try_echo=$ac_try;;
|
---|
| 1924 | esac
|
---|
| 1925 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1926 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1927 | (eval "$ac_try") 2>&5
|
---|
| 1928 | ac_status=$?
|
---|
| 1929 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1930 | test $ac_status = 0; }; }; then :
|
---|
| 1931 | ac_retval=0
|
---|
| 1932 | else
|
---|
| 1933 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1934 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1935 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1936 |
|
---|
| 1937 | ac_retval=$ac_status
|
---|
| 1938 | fi
|
---|
| 1939 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1940 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1941 | as_fn_set_status $ac_retval
|
---|
| 1942 |
|
---|
| 1943 | } # ac_fn_cxx_try_run
|
---|
[25149] | 1944 | cat >config.log <<_ACEOF
|
---|
[16565] | 1945 | This file contains any messages produced by compilers while
|
---|
| 1946 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1947 |
|
---|
| 1948 | It was created by $as_me, which was
|
---|
[26663] | 1949 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[16565] | 1950 |
|
---|
| 1951 | $ $0 $@
|
---|
| 1952 |
|
---|
| 1953 | _ACEOF
|
---|
[25149] | 1954 | exec 5>>config.log
|
---|
[16565] | 1955 | {
|
---|
| 1956 | cat <<_ASUNAME
|
---|
| 1957 | ## --------- ##
|
---|
| 1958 | ## Platform. ##
|
---|
| 1959 | ## --------- ##
|
---|
| 1960 |
|
---|
| 1961 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1962 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1963 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1964 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1965 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1966 |
|
---|
| 1967 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1968 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1969 |
|
---|
| 1970 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1971 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1972 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[25149] | 1973 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[16565] | 1974 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1975 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1976 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1977 |
|
---|
| 1978 | _ASUNAME
|
---|
| 1979 |
|
---|
| 1980 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1981 | for as_dir in $PATH
|
---|
| 1982 | do
|
---|
| 1983 | IFS=$as_save_IFS
|
---|
| 1984 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 1985 | $as_echo "PATH: $as_dir"
|
---|
| 1986 | done
|
---|
[25149] | 1987 | IFS=$as_save_IFS
|
---|
[16565] | 1988 |
|
---|
| 1989 | } >&5
|
---|
| 1990 |
|
---|
| 1991 | cat >&5 <<_ACEOF
|
---|
| 1992 |
|
---|
| 1993 |
|
---|
| 1994 | ## ----------- ##
|
---|
| 1995 | ## Core tests. ##
|
---|
| 1996 | ## ----------- ##
|
---|
| 1997 |
|
---|
| 1998 | _ACEOF
|
---|
| 1999 |
|
---|
| 2000 |
|
---|
| 2001 | # Keep a trace of the command line.
|
---|
| 2002 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 2003 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 2004 | # Also quote any args containing shell meta-characters.
|
---|
| 2005 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 2006 | ac_configure_args=
|
---|
| 2007 | ac_configure_args0=
|
---|
| 2008 | ac_configure_args1=
|
---|
| 2009 | ac_must_keep_next=false
|
---|
| 2010 | for ac_pass in 1 2
|
---|
| 2011 | do
|
---|
| 2012 | for ac_arg
|
---|
| 2013 | do
|
---|
| 2014 | case $ac_arg in
|
---|
| 2015 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 2016 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 2017 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 2018 | continue ;;
|
---|
[25149] | 2019 | *\'*)
|
---|
| 2020 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16565] | 2021 | esac
|
---|
| 2022 | case $ac_pass in
|
---|
[26663] | 2023 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
[16565] | 2024 | 2)
|
---|
[26663] | 2025 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
[16565] | 2026 | if test $ac_must_keep_next = true; then
|
---|
| 2027 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 2028 | else
|
---|
| 2029 | case $ac_arg in
|
---|
| 2030 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 2031 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 2032 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 2033 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 2034 | case "$ac_configure_args0 " in
|
---|
| 2035 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 2036 | esac
|
---|
| 2037 | ;;
|
---|
| 2038 | -* ) ac_must_keep_next=true ;;
|
---|
| 2039 | esac
|
---|
| 2040 | fi
|
---|
[26663] | 2041 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
[16565] | 2042 | ;;
|
---|
| 2043 | esac
|
---|
| 2044 | done
|
---|
| 2045 | done
|
---|
[26663] | 2046 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 2047 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
[16565] | 2048 |
|
---|
| 2049 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 2050 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 2051 | # would cause problems or look ugly.
|
---|
[25149] | 2052 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 2053 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[16565] | 2054 | trap 'exit_status=$?
|
---|
| 2055 | # Save into config.log some information that might help in debugging.
|
---|
| 2056 | {
|
---|
| 2057 | echo
|
---|
| 2058 |
|
---|
[26663] | 2059 | $as_echo "## ---------------- ##
|
---|
[16565] | 2060 | ## Cache variables. ##
|
---|
[26663] | 2061 | ## ---------------- ##"
|
---|
[16565] | 2062 | echo
|
---|
| 2063 | # The following way of writing the cache mishandles newlines in values,
|
---|
[25149] | 2064 | (
|
---|
| 2065 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 2066 | eval ac_val=\$$ac_var
|
---|
| 2067 | case $ac_val in #(
|
---|
| 2068 | *${as_nl}*)
|
---|
| 2069 | case $ac_var in #(
|
---|
[26663] | 2070 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[25149] | 2071 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 2072 | esac
|
---|
| 2073 | case $ac_var in #(
|
---|
| 2074 | _ | IFS | as_nl) ;; #(
|
---|
| 2075 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[26663] | 2076 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
[25149] | 2077 | esac ;;
|
---|
| 2078 | esac
|
---|
| 2079 | done
|
---|
[16565] | 2080 | (set) 2>&1 |
|
---|
[25149] | 2081 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 2082 | *${as_nl}ac_space=\ *)
|
---|
[16565] | 2083 | sed -n \
|
---|
[25149] | 2084 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 2085 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 2086 | ;; #(
|
---|
[16565] | 2087 | *)
|
---|
[25149] | 2088 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16565] | 2089 | ;;
|
---|
[25149] | 2090 | esac |
|
---|
| 2091 | sort
|
---|
| 2092 | )
|
---|
[16565] | 2093 | echo
|
---|
| 2094 |
|
---|
[26663] | 2095 | $as_echo "## ----------------- ##
|
---|
[16565] | 2096 | ## Output variables. ##
|
---|
[26663] | 2097 | ## ----------------- ##"
|
---|
[16565] | 2098 | echo
|
---|
| 2099 | for ac_var in $ac_subst_vars
|
---|
| 2100 | do
|
---|
[25149] | 2101 | eval ac_val=\$$ac_var
|
---|
| 2102 | case $ac_val in
|
---|
| 2103 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2104 | esac
|
---|
| 2105 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16565] | 2106 | done | sort
|
---|
| 2107 | echo
|
---|
| 2108 |
|
---|
| 2109 | if test -n "$ac_subst_files"; then
|
---|
[26663] | 2110 | $as_echo "## ------------------- ##
|
---|
[25149] | 2111 | ## File substitutions. ##
|
---|
[26663] | 2112 | ## ------------------- ##"
|
---|
[16565] | 2113 | echo
|
---|
| 2114 | for ac_var in $ac_subst_files
|
---|
| 2115 | do
|
---|
[25149] | 2116 | eval ac_val=\$$ac_var
|
---|
| 2117 | case $ac_val in
|
---|
| 2118 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2119 | esac
|
---|
| 2120 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16565] | 2121 | done | sort
|
---|
| 2122 | echo
|
---|
| 2123 | fi
|
---|
| 2124 |
|
---|
| 2125 | if test -s confdefs.h; then
|
---|
[26663] | 2126 | $as_echo "## ----------- ##
|
---|
[16565] | 2127 | ## confdefs.h. ##
|
---|
[26663] | 2128 | ## ----------- ##"
|
---|
[16565] | 2129 | echo
|
---|
[25149] | 2130 | cat confdefs.h
|
---|
[16565] | 2131 | echo
|
---|
| 2132 | fi
|
---|
| 2133 | test "$ac_signal" != 0 &&
|
---|
[25149] | 2134 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 2135 | $as_echo "$as_me: exit $exit_status"
|
---|
[16565] | 2136 | } >&5
|
---|
[25149] | 2137 | rm -f core *.core core.conftest.* &&
|
---|
| 2138 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[16565] | 2139 | exit $exit_status
|
---|
[25149] | 2140 | ' 0
|
---|
[16565] | 2141 | for ac_signal in 1 2 13 15; do
|
---|
[26663] | 2142 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
[16565] | 2143 | done
|
---|
| 2144 | ac_signal=0
|
---|
| 2145 |
|
---|
| 2146 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[25149] | 2147 | rm -f -r conftest* confdefs.h
|
---|
[16565] | 2148 |
|
---|
[26663] | 2149 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 2150 |
|
---|
[16565] | 2151 | # Predefined preprocessor variables.
|
---|
| 2152 |
|
---|
| 2153 | cat >>confdefs.h <<_ACEOF
|
---|
| 2154 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 2155 | _ACEOF
|
---|
| 2156 |
|
---|
| 2157 | cat >>confdefs.h <<_ACEOF
|
---|
| 2158 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 2159 | _ACEOF
|
---|
| 2160 |
|
---|
| 2161 | cat >>confdefs.h <<_ACEOF
|
---|
| 2162 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 2163 | _ACEOF
|
---|
| 2164 |
|
---|
| 2165 | cat >>confdefs.h <<_ACEOF
|
---|
| 2166 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 2167 | _ACEOF
|
---|
| 2168 |
|
---|
| 2169 | cat >>confdefs.h <<_ACEOF
|
---|
| 2170 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 2171 | _ACEOF
|
---|
| 2172 |
|
---|
[26663] | 2173 | cat >>confdefs.h <<_ACEOF
|
---|
| 2174 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2175 | _ACEOF
|
---|
[16565] | 2176 |
|
---|
[26663] | 2177 |
|
---|
[16565] | 2178 | # Let the site file select an alternate cache file if it wants to.
|
---|
[25149] | 2179 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 2180 | ac_site_file1=NONE
|
---|
| 2181 | ac_site_file2=NONE
|
---|
| 2182 | if test -n "$CONFIG_SITE"; then
|
---|
[26663] | 2183 | # We do not want a PATH search for config.site.
|
---|
| 2184 | case $CONFIG_SITE in #((
|
---|
| 2185 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2186 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
| 2187 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2188 | esac
|
---|
[25149] | 2189 | elif test "x$prefix" != xNONE; then
|
---|
| 2190 | ac_site_file1=$prefix/share/config.site
|
---|
| 2191 | ac_site_file2=$prefix/etc/config.site
|
---|
| 2192 | else
|
---|
| 2193 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 2194 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[16565] | 2195 | fi
|
---|
[25149] | 2196 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2197 | do
|
---|
| 2198 | test "x$ac_site_file" = xNONE && continue
|
---|
[26663] | 2199 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
| 2200 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
[25149] | 2201 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[16565] | 2202 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[26663] | 2203 | . "$ac_site_file" \
|
---|
| 2204 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2205 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2206 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
| 2207 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16565] | 2208 | fi
|
---|
| 2209 | done
|
---|
| 2210 |
|
---|
| 2211 | if test -r "$cache_file"; then
|
---|
[26663] | 2212 | # Some versions of bash will fail to source /dev/null (special files
|
---|
| 2213 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
| 2214 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
| 2215 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
[25149] | 2216 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[16565] | 2217 | case $cache_file in
|
---|
[25149] | 2218 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2219 | *) . "./$cache_file";;
|
---|
[16565] | 2220 | esac
|
---|
| 2221 | fi
|
---|
| 2222 | else
|
---|
[26663] | 2223 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
[25149] | 2224 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[16565] | 2225 | >$cache_file
|
---|
| 2226 | fi
|
---|
| 2227 |
|
---|
| 2228 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 2229 | # value.
|
---|
| 2230 | ac_cache_corrupted=false
|
---|
[25149] | 2231 | for ac_var in $ac_precious_vars; do
|
---|
[16565] | 2232 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2233 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[25149] | 2234 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2235 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[16565] | 2236 | case $ac_old_set,$ac_new_set in
|
---|
| 2237 | set,)
|
---|
[26663] | 2238 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
[25149] | 2239 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[16565] | 2240 | ac_cache_corrupted=: ;;
|
---|
| 2241 | ,set)
|
---|
[26663] | 2242 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
[25149] | 2243 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[16565] | 2244 | ac_cache_corrupted=: ;;
|
---|
| 2245 | ,);;
|
---|
| 2246 | *)
|
---|
| 2247 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[25149] | 2248 | # differences in whitespace do not lead to failure.
|
---|
| 2249 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 2250 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 2251 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
[26663] | 2252 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
[25149] | 2253 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2254 | ac_cache_corrupted=:
|
---|
| 2255 | else
|
---|
[26663] | 2256 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
[25149] | 2257 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 2258 | eval $ac_var=\$ac_old_val
|
---|
| 2259 | fi
|
---|
[26663] | 2260 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
[25149] | 2261 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
[26663] | 2262 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
[25149] | 2263 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[16565] | 2264 | fi;;
|
---|
| 2265 | esac
|
---|
| 2266 | # Pass precious variables to config.status.
|
---|
| 2267 | if test "$ac_new_set" = set; then
|
---|
| 2268 | case $ac_new_val in
|
---|
[25149] | 2269 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16565] | 2270 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 2271 | esac
|
---|
| 2272 | case " $ac_configure_args " in
|
---|
| 2273 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[26663] | 2274 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
[16565] | 2275 | esac
|
---|
| 2276 | fi
|
---|
| 2277 | done
|
---|
| 2278 | if $ac_cache_corrupted; then
|
---|
[26663] | 2279 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2280 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26663] | 2281 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
[25149] | 2282 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
[26663] | 2283 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
[16565] | 2284 | fi
|
---|
[26663] | 2285 | ## -------------------- ##
|
---|
| 2286 | ## Main body of script. ##
|
---|
| 2287 | ## -------------------- ##
|
---|
[16565] | 2288 |
|
---|
[25149] | 2289 | ac_ext=c
|
---|
| 2290 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2291 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2292 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2293 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[23800] | 2294 |
|
---|
| 2295 |
|
---|
[25149] | 2296 | ac_config_headers="$ac_config_headers config.h"
|
---|
[23800] | 2297 |
|
---|
| 2298 |
|
---|
| 2299 |
|
---|
[16565] | 2300 | PACKAGE=gsdl
|
---|
[23356] | 2301 | VERSION=2.x-svn
|
---|
[16565] | 2302 | cat >>confdefs.h <<_ACEOF
|
---|
| 2303 | #define PACKAGE "$PACKAGE"
|
---|
| 2304 | _ACEOF
|
---|
| 2305 |
|
---|
| 2306 | cat >>confdefs.h <<_ACEOF
|
---|
| 2307 | #define VERSION "$VERSION"
|
---|
| 2308 | _ACEOF
|
---|
| 2309 |
|
---|
| 2310 |
|
---|
| 2311 |
|
---|
| 2312 |
|
---|
| 2313 | USE_FASTCGI=0
|
---|
| 2314 | if test USE_FASTCGI = 1; then
|
---|
[26663] | 2315 | $as_echo "#define USE_FASTCGI 1" >>confdefs.h
|
---|
[16565] | 2316 |
|
---|
| 2317 |
|
---|
| 2318 | fi
|
---|
| 2319 |
|
---|
| 2320 | if test USE_LANGACTION = 1; then
|
---|
[26663] | 2321 | $as_echo "#define USE_LANGACTION 1" >>confdefs.h
|
---|
[16565] | 2322 |
|
---|
| 2323 |
|
---|
| 2324 | fi
|
---|
| 2325 |
|
---|
[25149] | 2326 | # Check whether --enable-corba was given.
|
---|
[26663] | 2327 | if test "${enable_corba+set}" = set; then :
|
---|
[25149] | 2328 | enableval=$enable_corba; USE_CORBA=$enableval
|
---|
[16565] | 2329 | else
|
---|
[22058] | 2330 | USE_CORBA=no
|
---|
[25149] | 2331 | fi
|
---|
| 2332 |
|
---|
[22058] | 2333 | if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
|
---|
| 2334 | USE_CORBA=1
|
---|
[26663] | 2335 | $as_echo "#define USE_CORBA /**/" >>confdefs.h
|
---|
[16565] | 2336 |
|
---|
[22058] | 2337 | else
|
---|
| 2338 | USE_CORBA=0
|
---|
| 2339 | fi
|
---|
[16565] | 2340 |
|
---|
| 2341 |
|
---|
| 2342 |
|
---|
[25149] | 2343 | # Check whether --with-micodir was given.
|
---|
[26663] | 2344 | if test "${with_micodir+set}" = set; then :
|
---|
[25149] | 2345 | withval=$with_micodir; MICO_DIR=$withval
|
---|
[16565] | 2346 | else
|
---|
| 2347 | MICO_DIR="default"
|
---|
[25149] | 2348 | fi
|
---|
| 2349 |
|
---|
[16565] | 2350 | cat >>confdefs.h <<_ACEOF
|
---|
| 2351 | #define MICO_DIR "$MICO_DIR"
|
---|
| 2352 | _ACEOF
|
---|
| 2353 |
|
---|
| 2354 |
|
---|
| 2355 |
|
---|
[25149] | 2356 | # Check whether --enable-z3950 was given.
|
---|
[26663] | 2357 | if test "${enable_z3950+set}" = set; then :
|
---|
[25149] | 2358 | enableval=$enable_z3950; USE_Z3950=$enableval
|
---|
[16565] | 2359 | else
|
---|
[22058] | 2360 | USE_Z3950=no
|
---|
[25149] | 2361 | fi
|
---|
| 2362 |
|
---|
[22058] | 2363 | if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
|
---|
| 2364 | USE_Z3950=1
|
---|
[26663] | 2365 | $as_echo "#define USE_Z3950 /**/" >>confdefs.h
|
---|
[16565] | 2366 |
|
---|
[22058] | 2367 | else
|
---|
| 2368 | USE_Z3950=0
|
---|
[16565] | 2369 | fi
|
---|
| 2370 |
|
---|
[22058] | 2371 |
|
---|
[25149] | 2372 | # Check whether --enable-yaz was given.
|
---|
[26663] | 2373 | if test "${enable_yaz+set}" = set; then :
|
---|
[25149] | 2374 | enableval=$enable_yaz; USE_YAZ=$enableval
|
---|
[22058] | 2375 | else
|
---|
| 2376 | USE_YAZ=yes
|
---|
[25149] | 2377 | fi
|
---|
| 2378 |
|
---|
[22058] | 2379 | if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
|
---|
| 2380 | USE_YAZ=1
|
---|
[26663] | 2381 | $as_echo "#define USE_YAZ /**/" >>confdefs.h
|
---|
[22058] | 2382 |
|
---|
| 2383 | else
|
---|
[16565] | 2384 | USE_YAZ=0
|
---|
[22058] | 2385 | fi
|
---|
| 2386 |
|
---|
| 2387 |
|
---|
[25149] | 2388 | # Check whether --enable-java was given.
|
---|
[26663] | 2389 | if test "${enable_java+set}" = set; then :
|
---|
[25149] | 2390 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
[16565] | 2391 | else
|
---|
[23356] | 2392 | ENABLE_JAVA=yes
|
---|
[25149] | 2393 | fi
|
---|
| 2394 |
|
---|
[23356] | 2395 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 2396 | ENABLE_JAVA=1
|
---|
| 2397 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 2398 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 2399 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 2400 | echo "and JAVA respectively"
|
---|
| 2401 | export JAVA_HOME=
|
---|
| 2402 | fi
|
---|
| 2403 | else
|
---|
| 2404 | ENABLE_JAVA=0
|
---|
| 2405 | fi
|
---|
| 2406 |
|
---|
| 2407 |
|
---|
[25149] | 2408 | # Check whether --enable-wvware was given.
|
---|
[26663] | 2409 | if test "${enable_wvware+set}" = set; then :
|
---|
[25149] | 2410 | enableval=$enable_wvware; USE_WVWARE=$enableval
|
---|
[23356] | 2411 | else
|
---|
[23800] | 2412 | USE_WVWARE=yes
|
---|
[25149] | 2413 | fi
|
---|
| 2414 |
|
---|
[23800] | 2415 | if test $USE_WVWARE = "yes" -o $USE_WVWARE = "1" ; then
|
---|
| 2416 | USE_WVWARE=1
|
---|
[26663] | 2417 | $as_echo "#define USE_WVWARE /**/" >>confdefs.h
|
---|
[23800] | 2418 |
|
---|
| 2419 | else
|
---|
| 2420 | USE_WVWARE=0
|
---|
[23356] | 2421 | fi
|
---|
| 2422 |
|
---|
[23800] | 2423 |
|
---|
[25149] | 2424 | # Check whether --enable-jdbm was given.
|
---|
[26663] | 2425 | if test "${enable_jdbm+set}" = set; then :
|
---|
[25149] | 2426 | enableval=$enable_jdbm; USE_JDBM=$enableval
|
---|
[23800] | 2427 | else
|
---|
| 2428 | USE_JDBM=yes
|
---|
[25149] | 2429 | fi
|
---|
| 2430 |
|
---|
[23356] | 2431 | if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
|
---|
[22058] | 2432 | USE_JDBM=1
|
---|
[26663] | 2433 | $as_echo "#define USE_JDBM /**/" >>confdefs.h
|
---|
[16565] | 2434 |
|
---|
[22058] | 2435 | else
|
---|
| 2436 | USE_JDBM=0
|
---|
| 2437 | fi
|
---|
[16565] | 2438 |
|
---|
| 2439 |
|
---|
[25149] | 2440 | # Check whether --enable-gdbm was given.
|
---|
[26663] | 2441 | if test "${enable_gdbm+set}" = set; then :
|
---|
[25149] | 2442 | enableval=$enable_gdbm; USE_GDBM=$enableval
|
---|
[22058] | 2443 | else
|
---|
| 2444 | USE_GDBM=yes
|
---|
[25149] | 2445 | fi
|
---|
| 2446 |
|
---|
[22058] | 2447 | if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
|
---|
| 2448 | USE_GDBM=1
|
---|
[26663] | 2449 | $as_echo "#define USE_GDBM /**/" >>confdefs.h
|
---|
[22058] | 2450 |
|
---|
| 2451 | else
|
---|
| 2452 | USE_GDBM=0
|
---|
| 2453 | fi
|
---|
| 2454 |
|
---|
| 2455 |
|
---|
[25149] | 2456 | # Check whether --enable-accentfold was given.
|
---|
[26663] | 2457 | if test "${enable_accentfold+set}" = set; then :
|
---|
[25149] | 2458 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
[16565] | 2459 | else
|
---|
[22058] | 2460 | ENABLE_ACCENTFOLD=yes
|
---|
[25149] | 2461 | fi
|
---|
| 2462 |
|
---|
[22058] | 2463 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
[16565] | 2464 | ENABLE_ACCENTFOLD=1
|
---|
[26663] | 2465 | $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
|
---|
[16565] | 2466 |
|
---|
[22058] | 2467 | else
|
---|
| 2468 | ENABLE_ACCENTFOLD=0
|
---|
| 2469 | fi
|
---|
[16565] | 2470 |
|
---|
| 2471 |
|
---|
[25149] | 2472 | # Check whether --enable-sqlite was given.
|
---|
[26663] | 2473 | if test "${enable_sqlite+set}" = set; then :
|
---|
[25149] | 2474 | enableval=$enable_sqlite; USE_SQLITE=$enableval
|
---|
[16565] | 2475 | else
|
---|
[22058] | 2476 | USE_SQLITE=yes
|
---|
[25149] | 2477 | fi
|
---|
| 2478 |
|
---|
[22058] | 2479 | if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
|
---|
[16565] | 2480 | USE_SQLITE=1
|
---|
[26663] | 2481 | $as_echo "#define USE_SQLITE /**/" >>confdefs.h
|
---|
[16565] | 2482 |
|
---|
[22058] | 2483 | else
|
---|
| 2484 | USE_SQLITE=0
|
---|
| 2485 | fi
|
---|
[16565] | 2486 |
|
---|
| 2487 |
|
---|
| 2488 | LDFLAGS=$LDFLAGS
|
---|
| 2489 |
|
---|
| 2490 | if test -z "$CFLAGS"; then
|
---|
| 2491 | CFLAGS=-O2
|
---|
| 2492 | fi
|
---|
| 2493 |
|
---|
| 2494 |
|
---|
| 2495 |
|
---|
| 2496 | ac_ext=c
|
---|
| 2497 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2498 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2499 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2500 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2501 | if test -n "$ac_tool_prefix"; then
|
---|
| 2502 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2503 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[26663] | 2504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2505 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 2506 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2507 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 2508 | else
|
---|
| 2509 | if test -n "$CC"; then
|
---|
| 2510 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2511 | else
|
---|
| 2512 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2513 | for as_dir in $PATH
|
---|
| 2514 | do
|
---|
| 2515 | IFS=$as_save_IFS
|
---|
| 2516 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 2517 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2518 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 2519 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[26663] | 2520 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 2521 | break 2
|
---|
| 2522 | fi
|
---|
| 2523 | done
|
---|
[26663] | 2524 | done
|
---|
[25149] | 2525 | IFS=$as_save_IFS
|
---|
[16565] | 2526 |
|
---|
| 2527 | fi
|
---|
| 2528 | fi
|
---|
| 2529 | CC=$ac_cv_prog_CC
|
---|
| 2530 | if test -n "$CC"; then
|
---|
[26663] | 2531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2532 | $as_echo "$CC" >&6; }
|
---|
[16565] | 2533 | else
|
---|
[26663] | 2534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2535 | $as_echo "no" >&6; }
|
---|
[16565] | 2536 | fi
|
---|
| 2537 |
|
---|
[25149] | 2538 |
|
---|
[16565] | 2539 | fi
|
---|
| 2540 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2541 | ac_ct_CC=$CC
|
---|
| 2542 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2543 | set dummy gcc; ac_word=$2
|
---|
[26663] | 2544 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2545 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 2546 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
[25149] | 2547 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 2548 | else
|
---|
| 2549 | if test -n "$ac_ct_CC"; then
|
---|
| 2550 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2551 | else
|
---|
| 2552 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2553 | for as_dir in $PATH
|
---|
| 2554 | do
|
---|
| 2555 | IFS=$as_save_IFS
|
---|
| 2556 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 2557 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2558 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 2559 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[26663] | 2560 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 2561 | break 2
|
---|
| 2562 | fi
|
---|
| 2563 | done
|
---|
[26663] | 2564 | done
|
---|
[25149] | 2565 | IFS=$as_save_IFS
|
---|
[16565] | 2566 |
|
---|
| 2567 | fi
|
---|
| 2568 | fi
|
---|
| 2569 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2570 | if test -n "$ac_ct_CC"; then
|
---|
[26663] | 2571 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
[25149] | 2572 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16565] | 2573 | else
|
---|
[26663] | 2574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2575 | $as_echo "no" >&6; }
|
---|
[16565] | 2576 | fi
|
---|
| 2577 |
|
---|
[25149] | 2578 | if test "x$ac_ct_CC" = x; then
|
---|
| 2579 | CC=""
|
---|
| 2580 | else
|
---|
| 2581 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2582 | yes:)
|
---|
[26663] | 2583 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 2584 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2585 | ac_tool_warned=yes ;;
|
---|
| 2586 | esac
|
---|
| 2587 | CC=$ac_ct_CC
|
---|
| 2588 | fi
|
---|
[16565] | 2589 | else
|
---|
| 2590 | CC="$ac_cv_prog_CC"
|
---|
| 2591 | fi
|
---|
| 2592 |
|
---|
| 2593 | if test -z "$CC"; then
|
---|
[25149] | 2594 | if test -n "$ac_tool_prefix"; then
|
---|
| 2595 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[16565] | 2596 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[26663] | 2597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2598 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 2599 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2600 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 2601 | else
|
---|
| 2602 | if test -n "$CC"; then
|
---|
| 2603 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2604 | else
|
---|
| 2605 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2606 | for as_dir in $PATH
|
---|
| 2607 | do
|
---|
| 2608 | IFS=$as_save_IFS
|
---|
| 2609 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 2610 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2611 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 2612 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[26663] | 2613 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 2614 | break 2
|
---|
| 2615 | fi
|
---|
| 2616 | done
|
---|
[26663] | 2617 | done
|
---|
[25149] | 2618 | IFS=$as_save_IFS
|
---|
[16565] | 2619 |
|
---|
| 2620 | fi
|
---|
| 2621 | fi
|
---|
| 2622 | CC=$ac_cv_prog_CC
|
---|
| 2623 | if test -n "$CC"; then
|
---|
[26663] | 2624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2625 | $as_echo "$CC" >&6; }
|
---|
[16565] | 2626 | else
|
---|
[26663] | 2627 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2628 | $as_echo "no" >&6; }
|
---|
[16565] | 2629 | fi
|
---|
| 2630 |
|
---|
[25149] | 2631 |
|
---|
[23800] | 2632 | fi
|
---|
[16565] | 2633 | fi
|
---|
| 2634 | if test -z "$CC"; then
|
---|
| 2635 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2636 | set dummy cc; ac_word=$2
|
---|
[26663] | 2637 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2638 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 2639 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2640 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 2641 | else
|
---|
| 2642 | if test -n "$CC"; then
|
---|
| 2643 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2644 | else
|
---|
| 2645 | ac_prog_rejected=no
|
---|
| 2646 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2647 | for as_dir in $PATH
|
---|
| 2648 | do
|
---|
| 2649 | IFS=$as_save_IFS
|
---|
| 2650 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 2651 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2652 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 2653 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2654 | ac_prog_rejected=yes
|
---|
| 2655 | continue
|
---|
| 2656 | fi
|
---|
| 2657 | ac_cv_prog_CC="cc"
|
---|
[26663] | 2658 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 2659 | break 2
|
---|
| 2660 | fi
|
---|
| 2661 | done
|
---|
[26663] | 2662 | done
|
---|
[25149] | 2663 | IFS=$as_save_IFS
|
---|
[16565] | 2664 |
|
---|
| 2665 | if test $ac_prog_rejected = yes; then
|
---|
| 2666 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2667 | set dummy $ac_cv_prog_CC
|
---|
| 2668 | shift
|
---|
| 2669 | if test $# != 0; then
|
---|
| 2670 | # We chose a different compiler from the bogus one.
|
---|
| 2671 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2672 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2673 | shift
|
---|
| 2674 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2675 | fi
|
---|
| 2676 | fi
|
---|
| 2677 | fi
|
---|
| 2678 | fi
|
---|
| 2679 | CC=$ac_cv_prog_CC
|
---|
| 2680 | if test -n "$CC"; then
|
---|
[26663] | 2681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2682 | $as_echo "$CC" >&6; }
|
---|
[16565] | 2683 | else
|
---|
[26663] | 2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2685 | $as_echo "no" >&6; }
|
---|
[16565] | 2686 | fi
|
---|
| 2687 |
|
---|
[25149] | 2688 |
|
---|
[16565] | 2689 | fi
|
---|
| 2690 | if test -z "$CC"; then
|
---|
| 2691 | if test -n "$ac_tool_prefix"; then
|
---|
[25149] | 2692 | for ac_prog in cl.exe
|
---|
[16565] | 2693 | do
|
---|
| 2694 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2695 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[26663] | 2696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2697 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 2698 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2699 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 2700 | else
|
---|
| 2701 | if test -n "$CC"; then
|
---|
| 2702 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2703 | else
|
---|
| 2704 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2705 | for as_dir in $PATH
|
---|
| 2706 | do
|
---|
| 2707 | IFS=$as_save_IFS
|
---|
| 2708 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 2709 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2710 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 2711 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[26663] | 2712 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 2713 | break 2
|
---|
| 2714 | fi
|
---|
| 2715 | done
|
---|
[26663] | 2716 | done
|
---|
[25149] | 2717 | IFS=$as_save_IFS
|
---|
[16565] | 2718 |
|
---|
| 2719 | fi
|
---|
| 2720 | fi
|
---|
| 2721 | CC=$ac_cv_prog_CC
|
---|
| 2722 | if test -n "$CC"; then
|
---|
[26663] | 2723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2724 | $as_echo "$CC" >&6; }
|
---|
[16565] | 2725 | else
|
---|
[26663] | 2726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2727 | $as_echo "no" >&6; }
|
---|
[16565] | 2728 | fi
|
---|
| 2729 |
|
---|
[25149] | 2730 |
|
---|
[16565] | 2731 | test -n "$CC" && break
|
---|
| 2732 | done
|
---|
| 2733 | fi
|
---|
| 2734 | if test -z "$CC"; then
|
---|
| 2735 | ac_ct_CC=$CC
|
---|
[25149] | 2736 | for ac_prog in cl.exe
|
---|
[16565] | 2737 | do
|
---|
| 2738 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2739 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 2740 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2741 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 2742 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
[25149] | 2743 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 2744 | else
|
---|
| 2745 | if test -n "$ac_ct_CC"; then
|
---|
| 2746 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2747 | else
|
---|
| 2748 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2749 | for as_dir in $PATH
|
---|
| 2750 | do
|
---|
| 2751 | IFS=$as_save_IFS
|
---|
| 2752 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 2753 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2754 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 2755 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[26663] | 2756 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 2757 | break 2
|
---|
| 2758 | fi
|
---|
| 2759 | done
|
---|
[26663] | 2760 | done
|
---|
[25149] | 2761 | IFS=$as_save_IFS
|
---|
[16565] | 2762 |
|
---|
| 2763 | fi
|
---|
| 2764 | fi
|
---|
| 2765 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2766 | if test -n "$ac_ct_CC"; then
|
---|
[26663] | 2767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
[25149] | 2768 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16565] | 2769 | else
|
---|
[26663] | 2770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2771 | $as_echo "no" >&6; }
|
---|
[16565] | 2772 | fi
|
---|
| 2773 |
|
---|
[25149] | 2774 |
|
---|
[16565] | 2775 | test -n "$ac_ct_CC" && break
|
---|
| 2776 | done
|
---|
| 2777 |
|
---|
[25149] | 2778 | if test "x$ac_ct_CC" = x; then
|
---|
| 2779 | CC=""
|
---|
| 2780 | else
|
---|
| 2781 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2782 | yes:)
|
---|
[26663] | 2783 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 2784 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2785 | ac_tool_warned=yes ;;
|
---|
| 2786 | esac
|
---|
| 2787 | CC=$ac_ct_CC
|
---|
| 2788 | fi
|
---|
[16565] | 2789 | fi
|
---|
| 2790 |
|
---|
| 2791 | fi
|
---|
| 2792 |
|
---|
| 2793 |
|
---|
[26663] | 2794 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2795 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26663] | 2796 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
| 2797 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16565] | 2798 |
|
---|
| 2799 | # Provide some information about the compiler.
|
---|
[26663] | 2800 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
[25149] | 2801 | set X $ac_compile
|
---|
| 2802 | ac_compiler=$2
|
---|
[26663] | 2803 | for ac_option in --version -v -V -qversion; do
|
---|
| 2804 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
[25149] | 2805 | case "(($ac_try" in
|
---|
| 2806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2807 | *) ac_try_echo=$ac_try;;
|
---|
| 2808 | esac
|
---|
[26663] | 2809 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2810 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2811 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16565] | 2812 | ac_status=$?
|
---|
[26663] | 2813 | if test -s conftest.err; then
|
---|
| 2814 | sed '10a\
|
---|
| 2815 | ... rest of stderr output deleted ...
|
---|
| 2816 | 10q' conftest.err >conftest.er1
|
---|
| 2817 | cat conftest.er1 >&5
|
---|
| 2818 | fi
|
---|
| 2819 | rm -f conftest.er1 conftest.err
|
---|
| 2820 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2821 | test $ac_status = 0; }
|
---|
| 2822 | done
|
---|
[16565] | 2823 |
|
---|
[26663] | 2824 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 2825 | /* end confdefs.h. */
|
---|
| 2826 |
|
---|
| 2827 | int
|
---|
| 2828 | main ()
|
---|
| 2829 | {
|
---|
| 2830 |
|
---|
| 2831 | ;
|
---|
| 2832 | return 0;
|
---|
| 2833 | }
|
---|
| 2834 | _ACEOF
|
---|
| 2835 | ac_clean_files_save=$ac_clean_files
|
---|
[25149] | 2836 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[16565] | 2837 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2838 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2839 | # of exeext.
|
---|
[26663] | 2840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
---|
| 2841 | $as_echo_n "checking whether the C compiler works... " >&6; }
|
---|
[25149] | 2842 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 2843 |
|
---|
| 2844 | # The possible output files:
|
---|
| 2845 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2846 |
|
---|
| 2847 | ac_rmfiles=
|
---|
| 2848 | for ac_file in $ac_files
|
---|
| 2849 | do
|
---|
| 2850 | case $ac_file in
|
---|
| 2851 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2852 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2853 | esac
|
---|
| 2854 | done
|
---|
| 2855 | rm -f $ac_rmfiles
|
---|
| 2856 |
|
---|
[26663] | 2857 | if { { ac_try="$ac_link_default"
|
---|
[25149] | 2858 | case "(($ac_try" in
|
---|
| 2859 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2860 | *) ac_try_echo=$ac_try;;
|
---|
| 2861 | esac
|
---|
[26663] | 2862 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2863 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 2864 | (eval "$ac_link_default") 2>&5
|
---|
[23800] | 2865 | ac_status=$?
|
---|
[26663] | 2866 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2867 | test $ac_status = 0; }; then :
|
---|
[25149] | 2868 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2869 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2870 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2871 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2872 | # Autoconf.
|
---|
| 2873 | for ac_file in $ac_files ''
|
---|
[16565] | 2874 | do
|
---|
| 2875 | test -f "$ac_file" || continue
|
---|
| 2876 | case $ac_file in
|
---|
[25149] | 2877 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[16565] | 2878 | ;;
|
---|
| 2879 | [ab].out )
|
---|
| 2880 | # We found the default executable, but exeext='' is most
|
---|
| 2881 | # certainly right.
|
---|
| 2882 | break;;
|
---|
| 2883 | *.* )
|
---|
[26663] | 2884 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
[25149] | 2885 | then :; else
|
---|
| 2886 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2887 | fi
|
---|
| 2888 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2889 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2890 | # argument, so we may need to know it at that point already.
|
---|
| 2891 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2892 | # actually working.
|
---|
[16565] | 2893 | break;;
|
---|
| 2894 | * )
|
---|
| 2895 | break;;
|
---|
| 2896 | esac
|
---|
| 2897 | done
|
---|
[25149] | 2898 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2899 |
|
---|
[16565] | 2900 | else
|
---|
[25149] | 2901 | ac_file=''
|
---|
| 2902 | fi
|
---|
[26663] | 2903 | if test -z "$ac_file"; then :
|
---|
| 2904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2905 | $as_echo "no" >&6; }
|
---|
| 2906 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16565] | 2907 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2908 |
|
---|
[26663] | 2909 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2910 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26663] | 2911 | as_fn_error 77 "C compiler cannot create executables
|
---|
| 2912 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 2913 | else
|
---|
| 2914 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2915 | $as_echo "yes" >&6; }
|
---|
[16565] | 2916 | fi
|
---|
[26663] | 2917 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
---|
| 2918 | $as_echo_n "checking for C compiler default output file name... " >&6; }
|
---|
| 2919 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 2920 | $as_echo "$ac_file" >&6; }
|
---|
[16565] | 2921 | ac_exeext=$ac_cv_exeext
|
---|
| 2922 |
|
---|
[25149] | 2923 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[16565] | 2924 | ac_clean_files=$ac_clean_files_save
|
---|
[26663] | 2925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
[25149] | 2926 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
[26663] | 2927 | if { { ac_try="$ac_link"
|
---|
[25149] | 2928 | case "(($ac_try" in
|
---|
| 2929 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2930 | *) ac_try_echo=$ac_try;;
|
---|
| 2931 | esac
|
---|
[26663] | 2932 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2933 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 2934 | (eval "$ac_link") 2>&5
|
---|
[16565] | 2935 | ac_status=$?
|
---|
[26663] | 2936 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2937 | test $ac_status = 0; }; then :
|
---|
[16565] | 2938 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2939 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2940 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2941 | # `rm'.
|
---|
| 2942 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2943 | test -f "$ac_file" || continue
|
---|
| 2944 | case $ac_file in
|
---|
[25149] | 2945 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[16565] | 2946 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2947 | break;;
|
---|
| 2948 | * ) break;;
|
---|
| 2949 | esac
|
---|
| 2950 | done
|
---|
| 2951 | else
|
---|
[26663] | 2952 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2953 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26663] | 2954 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
| 2955 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16565] | 2956 | fi
|
---|
[26663] | 2957 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 2958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
[25149] | 2959 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[23800] | 2960 |
|
---|
[16565] | 2961 | rm -f conftest.$ac_ext
|
---|
| 2962 | EXEEXT=$ac_cv_exeext
|
---|
| 2963 | ac_exeext=$EXEEXT
|
---|
[26663] | 2964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 2965 | /* end confdefs.h. */
|
---|
| 2966 | #include <stdio.h>
|
---|
| 2967 | int
|
---|
| 2968 | main ()
|
---|
| 2969 | {
|
---|
| 2970 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 2971 | return ferror (f) || fclose (f) != 0;
|
---|
| 2972 |
|
---|
| 2973 | ;
|
---|
| 2974 | return 0;
|
---|
| 2975 | }
|
---|
| 2976 | _ACEOF
|
---|
| 2977 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 2978 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 2979 | # the compiler is broken, or we cross compile.
|
---|
| 2980 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 2981 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 2982 | if test "$cross_compiling" != yes; then
|
---|
| 2983 | { { ac_try="$ac_link"
|
---|
| 2984 | case "(($ac_try" in
|
---|
| 2985 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2986 | *) ac_try_echo=$ac_try;;
|
---|
| 2987 | esac
|
---|
| 2988 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2989 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2990 | (eval "$ac_link") 2>&5
|
---|
| 2991 | ac_status=$?
|
---|
| 2992 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2993 | test $ac_status = 0; }
|
---|
| 2994 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 2995 | { { case "(($ac_try" in
|
---|
| 2996 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2997 | *) ac_try_echo=$ac_try;;
|
---|
| 2998 | esac
|
---|
| 2999 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3000 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3001 | (eval "$ac_try") 2>&5
|
---|
| 3002 | ac_status=$?
|
---|
| 3003 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3004 | test $ac_status = 0; }; }; then
|
---|
| 3005 | cross_compiling=no
|
---|
| 3006 | else
|
---|
| 3007 | if test "$cross_compiling" = maybe; then
|
---|
| 3008 | cross_compiling=yes
|
---|
| 3009 | else
|
---|
| 3010 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3011 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3012 | as_fn_error $? "cannot run C compiled programs.
|
---|
| 3013 | If you meant to cross compile, use \`--host'.
|
---|
| 3014 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 3015 | fi
|
---|
| 3016 | fi
|
---|
| 3017 | fi
|
---|
| 3018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 3019 | $as_echo "$cross_compiling" >&6; }
|
---|
| 3020 |
|
---|
| 3021 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 3022 | ac_clean_files=$ac_clean_files_save
|
---|
| 3023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
[25149] | 3024 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
[26663] | 3025 | if ${ac_cv_objext+:} false; then :
|
---|
[25149] | 3026 | $as_echo_n "(cached) " >&6
|
---|
[23800] | 3027 | else
|
---|
[26663] | 3028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 3029 | /* end confdefs.h. */
|
---|
| 3030 |
|
---|
| 3031 | int
|
---|
| 3032 | main ()
|
---|
| 3033 | {
|
---|
| 3034 |
|
---|
| 3035 | ;
|
---|
| 3036 | return 0;
|
---|
| 3037 | }
|
---|
| 3038 | _ACEOF
|
---|
| 3039 | rm -f conftest.o conftest.obj
|
---|
[26663] | 3040 | if { { ac_try="$ac_compile"
|
---|
[25149] | 3041 | case "(($ac_try" in
|
---|
| 3042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3043 | *) ac_try_echo=$ac_try;;
|
---|
| 3044 | esac
|
---|
[26663] | 3045 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3046 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 3047 | (eval "$ac_compile") 2>&5
|
---|
[16565] | 3048 | ac_status=$?
|
---|
[26663] | 3049 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3050 | test $ac_status = 0; }; then :
|
---|
[25149] | 3051 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 3052 | test -f "$ac_file" || continue;
|
---|
[16565] | 3053 | case $ac_file in
|
---|
[25149] | 3054 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[16565] | 3055 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 3056 | break;;
|
---|
| 3057 | esac
|
---|
| 3058 | done
|
---|
| 3059 | else
|
---|
[25149] | 3060 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16565] | 3061 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3062 |
|
---|
[26663] | 3063 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 3064 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26663] | 3065 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
| 3066 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16565] | 3067 | fi
|
---|
| 3068 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 3069 | fi
|
---|
[26663] | 3070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
[25149] | 3071 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[16565] | 3072 | OBJEXT=$ac_cv_objext
|
---|
| 3073 | ac_objext=$OBJEXT
|
---|
[26663] | 3074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
[25149] | 3075 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
[26663] | 3076 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
[25149] | 3077 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 3078 | else
|
---|
[26663] | 3079 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 3080 | /* end confdefs.h. */
|
---|
| 3081 |
|
---|
| 3082 | int
|
---|
| 3083 | main ()
|
---|
| 3084 | {
|
---|
| 3085 | #ifndef __GNUC__
|
---|
| 3086 | choke me
|
---|
| 3087 | #endif
|
---|
| 3088 |
|
---|
| 3089 | ;
|
---|
| 3090 | return 0;
|
---|
| 3091 | }
|
---|
| 3092 | _ACEOF
|
---|
[26663] | 3093 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 3094 | ac_compiler_gnu=yes
|
---|
| 3095 | else
|
---|
[26663] | 3096 | ac_compiler_gnu=no
|
---|
[16565] | 3097 | fi
|
---|
[25149] | 3098 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 3099 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 3100 |
|
---|
| 3101 | fi
|
---|
[26663] | 3102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
[25149] | 3103 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 3104 | if test $ac_compiler_gnu = yes; then
|
---|
| 3105 | GCC=yes
|
---|
| 3106 | else
|
---|
| 3107 | GCC=
|
---|
| 3108 | fi
|
---|
[16565] | 3109 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 3110 | ac_save_CFLAGS=$CFLAGS
|
---|
[26663] | 3111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
[25149] | 3112 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
[26663] | 3113 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
[25149] | 3114 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 3115 | else
|
---|
[25149] | 3116 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 3117 | ac_c_werror_flag=yes
|
---|
| 3118 | ac_cv_prog_cc_g=no
|
---|
| 3119 | CFLAGS="-g"
|
---|
[26663] | 3120 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 3121 | /* end confdefs.h. */
|
---|
| 3122 |
|
---|
| 3123 | int
|
---|
| 3124 | main ()
|
---|
| 3125 | {
|
---|
| 3126 |
|
---|
| 3127 | ;
|
---|
| 3128 | return 0;
|
---|
| 3129 | }
|
---|
| 3130 | _ACEOF
|
---|
[26663] | 3131 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 3132 | ac_cv_prog_cc_g=yes
|
---|
| 3133 | else
|
---|
[26663] | 3134 | CFLAGS=""
|
---|
| 3135 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 3136 | /* end confdefs.h. */
|
---|
| 3137 |
|
---|
| 3138 | int
|
---|
| 3139 | main ()
|
---|
| 3140 | {
|
---|
| 3141 |
|
---|
| 3142 | ;
|
---|
| 3143 | return 0;
|
---|
| 3144 | }
|
---|
| 3145 | _ACEOF
|
---|
[26663] | 3146 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3147 |
|
---|
[25149] | 3148 | else
|
---|
[26663] | 3149 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
[25149] | 3150 | CFLAGS="-g"
|
---|
[26663] | 3151 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 3152 | /* end confdefs.h. */
|
---|
| 3153 |
|
---|
| 3154 | int
|
---|
| 3155 | main ()
|
---|
| 3156 | {
|
---|
| 3157 |
|
---|
| 3158 | ;
|
---|
| 3159 | return 0;
|
---|
| 3160 | }
|
---|
| 3161 | _ACEOF
|
---|
[26663] | 3162 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 3163 | ac_cv_prog_cc_g=yes
|
---|
| 3164 | fi
|
---|
[25149] | 3165 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 3166 | fi
|
---|
[25149] | 3167 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3168 | fi
|
---|
| 3169 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3170 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3171 | fi
|
---|
[26663] | 3172 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
[25149] | 3173 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[16565] | 3174 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 3175 | CFLAGS=$ac_save_CFLAGS
|
---|
| 3176 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 3177 | if test "$GCC" = yes; then
|
---|
| 3178 | CFLAGS="-g -O2"
|
---|
| 3179 | else
|
---|
| 3180 | CFLAGS="-g"
|
---|
| 3181 | fi
|
---|
| 3182 | else
|
---|
| 3183 | if test "$GCC" = yes; then
|
---|
| 3184 | CFLAGS="-O2"
|
---|
| 3185 | else
|
---|
| 3186 | CFLAGS=
|
---|
| 3187 | fi
|
---|
| 3188 | fi
|
---|
[26663] | 3189 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
[25149] | 3190 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
[26663] | 3191 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
[25149] | 3192 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 3193 | else
|
---|
[25149] | 3194 | ac_cv_prog_cc_c89=no
|
---|
[16565] | 3195 | ac_save_CC=$CC
|
---|
[26663] | 3196 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 3197 | /* end confdefs.h. */
|
---|
| 3198 | #include <stdarg.h>
|
---|
| 3199 | #include <stdio.h>
|
---|
| 3200 | #include <sys/types.h>
|
---|
| 3201 | #include <sys/stat.h>
|
---|
| 3202 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 3203 | struct buf { int x; };
|
---|
| 3204 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 3205 | static char *e (p, i)
|
---|
| 3206 | char **p;
|
---|
| 3207 | int i;
|
---|
| 3208 | {
|
---|
| 3209 | return p[i];
|
---|
| 3210 | }
|
---|
| 3211 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 3212 | {
|
---|
| 3213 | char *s;
|
---|
| 3214 | va_list v;
|
---|
| 3215 | va_start (v,p);
|
---|
| 3216 | s = g (p, va_arg (v,int));
|
---|
| 3217 | va_end (v);
|
---|
| 3218 | return s;
|
---|
| 3219 | }
|
---|
| 3220 |
|
---|
| 3221 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3222 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3223 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[25149] | 3224 | as 'x'. The following induces an error, until -std is added to get
|
---|
[16565] | 3225 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3226 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[25149] | 3227 | that's true only with -std. */
|
---|
[16565] | 3228 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3229 |
|
---|
[25149] | 3230 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3231 | inside strings and character constants. */
|
---|
| 3232 | #define FOO(x) 'x'
|
---|
| 3233 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3234 |
|
---|
[16565] | 3235 | int test (int i, double x);
|
---|
| 3236 | struct s1 {int (*f) (int a);};
|
---|
| 3237 | struct s2 {int (*f) (double a);};
|
---|
| 3238 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3239 | int argc;
|
---|
| 3240 | char **argv;
|
---|
| 3241 | int
|
---|
| 3242 | main ()
|
---|
| 3243 | {
|
---|
| 3244 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3245 | ;
|
---|
| 3246 | return 0;
|
---|
| 3247 | }
|
---|
| 3248 | _ACEOF
|
---|
[25149] | 3249 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3250 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[16565] | 3251 | do
|
---|
| 3252 | CC="$ac_save_CC $ac_arg"
|
---|
[26663] | 3253 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 3254 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[16565] | 3255 | fi
|
---|
[25149] | 3256 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3257 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[16565] | 3258 | done
|
---|
[25149] | 3259 | rm -f conftest.$ac_ext
|
---|
[16565] | 3260 | CC=$ac_save_CC
|
---|
| 3261 |
|
---|
| 3262 | fi
|
---|
[25149] | 3263 | # AC_CACHE_VAL
|
---|
| 3264 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3265 | x)
|
---|
[26663] | 3266 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
[25149] | 3267 | $as_echo "none needed" >&6; } ;;
|
---|
| 3268 | xno)
|
---|
[26663] | 3269 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
[25149] | 3270 | $as_echo "unsupported" >&6; } ;;
|
---|
[16565] | 3271 | *)
|
---|
[25149] | 3272 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
[26663] | 3273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
[25149] | 3274 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[16565] | 3275 | esac
|
---|
[26663] | 3276 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
[16565] | 3277 |
|
---|
[26663] | 3278 | fi
|
---|
[23800] | 3279 |
|
---|
[16565] | 3280 | ac_ext=c
|
---|
| 3281 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3282 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3283 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3284 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3285 |
|
---|
[25149] | 3286 | ac_ext=cpp
|
---|
[16565] | 3287 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 3288 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3289 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3290 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[25149] | 3291 | if test -z "$CXX"; then
|
---|
| 3292 | if test -n "$CCC"; then
|
---|
| 3293 | CXX=$CCC
|
---|
| 3294 | else
|
---|
| 3295 | if test -n "$ac_tool_prefix"; then
|
---|
| 3296 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16565] | 3297 | do
|
---|
| 3298 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 3299 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[26663] | 3300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3301 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3302 | if ${ac_cv_prog_CXX+:} false; then :
|
---|
[25149] | 3303 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 3304 | else
|
---|
| 3305 | if test -n "$CXX"; then
|
---|
| 3306 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 3307 | else
|
---|
| 3308 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3309 | for as_dir in $PATH
|
---|
| 3310 | do
|
---|
| 3311 | IFS=$as_save_IFS
|
---|
| 3312 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3313 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3314 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 3315 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[26663] | 3316 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 3317 | break 2
|
---|
| 3318 | fi
|
---|
| 3319 | done
|
---|
[26663] | 3320 | done
|
---|
[25149] | 3321 | IFS=$as_save_IFS
|
---|
[16565] | 3322 |
|
---|
| 3323 | fi
|
---|
| 3324 | fi
|
---|
| 3325 | CXX=$ac_cv_prog_CXX
|
---|
| 3326 | if test -n "$CXX"; then
|
---|
[26663] | 3327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
[25149] | 3328 | $as_echo "$CXX" >&6; }
|
---|
[16565] | 3329 | else
|
---|
[26663] | 3330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3331 | $as_echo "no" >&6; }
|
---|
[16565] | 3332 | fi
|
---|
| 3333 |
|
---|
[25149] | 3334 |
|
---|
[16565] | 3335 | test -n "$CXX" && break
|
---|
| 3336 | done
|
---|
| 3337 | fi
|
---|
| 3338 | if test -z "$CXX"; then
|
---|
| 3339 | ac_ct_CXX=$CXX
|
---|
[25149] | 3340 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16565] | 3341 | do
|
---|
| 3342 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3343 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 3344 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3345 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3346 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
---|
[25149] | 3347 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 3348 | else
|
---|
| 3349 | if test -n "$ac_ct_CXX"; then
|
---|
| 3350 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3351 | else
|
---|
| 3352 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3353 | for as_dir in $PATH
|
---|
| 3354 | do
|
---|
| 3355 | IFS=$as_save_IFS
|
---|
| 3356 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3357 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3358 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 3359 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[26663] | 3360 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 3361 | break 2
|
---|
| 3362 | fi
|
---|
| 3363 | done
|
---|
[26663] | 3364 | done
|
---|
[25149] | 3365 | IFS=$as_save_IFS
|
---|
[16565] | 3366 |
|
---|
| 3367 | fi
|
---|
| 3368 | fi
|
---|
| 3369 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3370 | if test -n "$ac_ct_CXX"; then
|
---|
[26663] | 3371 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
[25149] | 3372 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
[16565] | 3373 | else
|
---|
[26663] | 3374 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3375 | $as_echo "no" >&6; }
|
---|
[16565] | 3376 | fi
|
---|
| 3377 |
|
---|
[25149] | 3378 |
|
---|
[16565] | 3379 | test -n "$ac_ct_CXX" && break
|
---|
| 3380 | done
|
---|
| 3381 |
|
---|
[25149] | 3382 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3383 | CXX="g++"
|
---|
| 3384 | else
|
---|
| 3385 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3386 | yes:)
|
---|
[26663] | 3387 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 3388 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3389 | ac_tool_warned=yes ;;
|
---|
| 3390 | esac
|
---|
| 3391 | CXX=$ac_ct_CXX
|
---|
| 3392 | fi
|
---|
[16565] | 3393 | fi
|
---|
| 3394 |
|
---|
[25149] | 3395 | fi
|
---|
| 3396 | fi
|
---|
[16565] | 3397 | # Provide some information about the compiler.
|
---|
[26663] | 3398 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
[25149] | 3399 | set X $ac_compile
|
---|
| 3400 | ac_compiler=$2
|
---|
[26663] | 3401 | for ac_option in --version -v -V -qversion; do
|
---|
| 3402 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
[25149] | 3403 | case "(($ac_try" in
|
---|
| 3404 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3405 | *) ac_try_echo=$ac_try;;
|
---|
| 3406 | esac
|
---|
[26663] | 3407 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3408 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3409 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16565] | 3410 | ac_status=$?
|
---|
[26663] | 3411 | if test -s conftest.err; then
|
---|
| 3412 | sed '10a\
|
---|
| 3413 | ... rest of stderr output deleted ...
|
---|
| 3414 | 10q' conftest.err >conftest.er1
|
---|
| 3415 | cat conftest.er1 >&5
|
---|
| 3416 | fi
|
---|
| 3417 | rm -f conftest.er1 conftest.err
|
---|
| 3418 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3419 | test $ac_status = 0; }
|
---|
| 3420 | done
|
---|
[16565] | 3421 |
|
---|
[26663] | 3422 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
[25149] | 3423 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
[26663] | 3424 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
---|
[25149] | 3425 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 3426 | else
|
---|
[26663] | 3427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 3428 | /* end confdefs.h. */
|
---|
| 3429 |
|
---|
| 3430 | int
|
---|
| 3431 | main ()
|
---|
| 3432 | {
|
---|
| 3433 | #ifndef __GNUC__
|
---|
| 3434 | choke me
|
---|
| 3435 | #endif
|
---|
| 3436 |
|
---|
| 3437 | ;
|
---|
| 3438 | return 0;
|
---|
| 3439 | }
|
---|
| 3440 | _ACEOF
|
---|
[26663] | 3441 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 3442 | ac_compiler_gnu=yes
|
---|
| 3443 | else
|
---|
[26663] | 3444 | ac_compiler_gnu=no
|
---|
[16565] | 3445 | fi
|
---|
[25149] | 3446 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 3447 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3448 |
|
---|
| 3449 | fi
|
---|
[26663] | 3450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
[25149] | 3451 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3452 | if test $ac_compiler_gnu = yes; then
|
---|
| 3453 | GXX=yes
|
---|
| 3454 | else
|
---|
| 3455 | GXX=
|
---|
| 3456 | fi
|
---|
[16565] | 3457 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3458 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[26663] | 3459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
[25149] | 3460 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
[26663] | 3461 | if ${ac_cv_prog_cxx_g+:} false; then :
|
---|
[25149] | 3462 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 3463 | else
|
---|
[25149] | 3464 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3465 | ac_cxx_werror_flag=yes
|
---|
| 3466 | ac_cv_prog_cxx_g=no
|
---|
| 3467 | CXXFLAGS="-g"
|
---|
[26663] | 3468 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 3469 | /* end confdefs.h. */
|
---|
| 3470 |
|
---|
| 3471 | int
|
---|
| 3472 | main ()
|
---|
| 3473 | {
|
---|
| 3474 |
|
---|
| 3475 | ;
|
---|
| 3476 | return 0;
|
---|
| 3477 | }
|
---|
| 3478 | _ACEOF
|
---|
[26663] | 3479 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 3480 | ac_cv_prog_cxx_g=yes
|
---|
| 3481 | else
|
---|
[26663] | 3482 | CXXFLAGS=""
|
---|
| 3483 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[23356] | 3484 | /* end confdefs.h. */
|
---|
[25149] | 3485 |
|
---|
[23356] | 3486 | int
|
---|
| 3487 | main ()
|
---|
| 3488 | {
|
---|
[25149] | 3489 |
|
---|
[23356] | 3490 | ;
|
---|
| 3491 | return 0;
|
---|
| 3492 | }
|
---|
| 3493 | _ACEOF
|
---|
[26663] | 3494 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3495 |
|
---|
[23800] | 3496 | else
|
---|
[26663] | 3497 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
[25149] | 3498 | CXXFLAGS="-g"
|
---|
[26663] | 3499 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[23356] | 3500 | /* end confdefs.h. */
|
---|
[25149] | 3501 |
|
---|
[23356] | 3502 | int
|
---|
| 3503 | main ()
|
---|
| 3504 | {
|
---|
[25149] | 3505 |
|
---|
[23356] | 3506 | ;
|
---|
| 3507 | return 0;
|
---|
| 3508 | }
|
---|
| 3509 | _ACEOF
|
---|
[26663] | 3510 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 3511 | ac_cv_prog_cxx_g=yes
|
---|
[16565] | 3512 | fi
|
---|
[25149] | 3513 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 3514 | fi
|
---|
[25149] | 3515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3516 | fi
|
---|
| 3517 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3518 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3519 | fi
|
---|
[26663] | 3520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
[25149] | 3521 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
| 3522 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3523 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3524 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3525 | if test "$GXX" = yes; then
|
---|
| 3526 | CXXFLAGS="-g -O2"
|
---|
| 3527 | else
|
---|
| 3528 | CXXFLAGS="-g"
|
---|
| 3529 | fi
|
---|
| 3530 | else
|
---|
| 3531 | if test "$GXX" = yes; then
|
---|
| 3532 | CXXFLAGS="-O2"
|
---|
| 3533 | else
|
---|
| 3534 | CXXFLAGS=
|
---|
| 3535 | fi
|
---|
| 3536 | fi
|
---|
[23356] | 3537 | ac_ext=c
|
---|
| 3538 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3539 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3540 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3541 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3542 |
|
---|
| 3543 | if test $ENABLE_JAVA = "1" ; then
|
---|
| 3544 |
|
---|
| 3545 |
|
---|
| 3546 | if test "x$JAVAC" = x ; then
|
---|
| 3547 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3548 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
[16565] | 3549 | do
|
---|
[23356] | 3550 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3551 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 3552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3553 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3554 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3555 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3556 | else
|
---|
| 3557 | if test -n "$JAVAC"; then
|
---|
| 3558 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3559 | else
|
---|
| 3560 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3561 | for as_dir in $PATH
|
---|
| 3562 | do
|
---|
| 3563 | IFS=$as_save_IFS
|
---|
| 3564 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3565 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3566 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3567 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26663] | 3568 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3569 | break 2
|
---|
| 3570 | fi
|
---|
| 3571 | done
|
---|
[26663] | 3572 | done
|
---|
[25149] | 3573 | IFS=$as_save_IFS
|
---|
[23356] | 3574 |
|
---|
| 3575 | fi
|
---|
| 3576 | fi
|
---|
| 3577 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3578 | if test -n "$JAVAC"; then
|
---|
[26663] | 3579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3580 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3581 | else
|
---|
[26663] | 3582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3583 | $as_echo "no" >&6; }
|
---|
[23356] | 3584 | fi
|
---|
| 3585 |
|
---|
[25149] | 3586 |
|
---|
[23356] | 3587 | test -n "$JAVAC" && break
|
---|
| 3588 | done
|
---|
| 3589 |
|
---|
| 3590 | else
|
---|
| 3591 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3592 | do
|
---|
| 3593 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3594 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 3595 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3596 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3597 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3598 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3599 | else
|
---|
| 3600 | if test -n "$JAVAC"; then
|
---|
| 3601 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3602 | else
|
---|
| 3603 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3604 | for as_dir in $PATH
|
---|
| 3605 | do
|
---|
| 3606 | IFS=$as_save_IFS
|
---|
| 3607 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3608 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3609 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3610 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26663] | 3611 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3612 | break 2
|
---|
| 3613 | fi
|
---|
| 3614 | done
|
---|
[26663] | 3615 | done
|
---|
[25149] | 3616 | IFS=$as_save_IFS
|
---|
[23356] | 3617 |
|
---|
| 3618 | fi
|
---|
| 3619 | fi
|
---|
| 3620 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3621 | if test -n "$JAVAC"; then
|
---|
[26663] | 3622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3623 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3624 | else
|
---|
[26663] | 3625 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3626 | $as_echo "no" >&6; }
|
---|
[23356] | 3627 | fi
|
---|
| 3628 |
|
---|
[25149] | 3629 |
|
---|
[23356] | 3630 | test -n "$JAVAC" && break
|
---|
| 3631 | done
|
---|
| 3632 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3633 |
|
---|
| 3634 | fi
|
---|
[26663] | 3635 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
[23356] | 3636 | else
|
---|
| 3637 | echo "Checking for javac... $JAVAC"
|
---|
| 3638 | fi
|
---|
| 3639 |
|
---|
| 3640 |
|
---|
| 3641 |
|
---|
[26663] | 3642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
[25149] | 3643 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[26663] | 3644 | if ${ac_cv_prog_javac_works+:} false; then :
|
---|
[25149] | 3645 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3646 | else
|
---|
| 3647 |
|
---|
| 3648 | JAVA_TEST=Test.java
|
---|
| 3649 | CLASS_TEST=Test.class
|
---|
| 3650 | cat << \EOF > $JAVA_TEST
|
---|
[26663] | 3651 | /* #line 3651 "configure" */
|
---|
[23356] | 3652 | public class Test {
|
---|
[16565] | 3653 | }
|
---|
[23356] | 3654 | EOF
|
---|
| 3655 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26663] | 3656 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[16565] | 3657 | (eval $ac_try) 2>&5
|
---|
| 3658 | ac_status=$?
|
---|
[26663] | 3659 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3660 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 3661 | ac_cv_prog_javac_works=yes
|
---|
| 3662 | else
|
---|
[26663] | 3663 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3664 | echo "configure: failed program was:" >&5
|
---|
| 3665 | cat $JAVA_TEST >&5
|
---|
| 3666 | fi
|
---|
| 3667 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 3668 |
|
---|
| 3669 | fi
|
---|
[26663] | 3670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
[25149] | 3671 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 3672 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 3673 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 3674 | fi
|
---|
| 3675 |
|
---|
| 3676 |
|
---|
| 3677 |
|
---|
| 3678 |
|
---|
| 3679 | if test "x$JAVA" = x ; then
|
---|
| 3680 | if test x$JAVAPREFIX = x; then
|
---|
| 3681 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3682 | do
|
---|
| 3683 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3684 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 3685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3686 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3687 | if ${ac_cv_prog_JAVA+:} false; then :
|
---|
[25149] | 3688 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3689 | else
|
---|
| 3690 | if test -n "$JAVA"; then
|
---|
| 3691 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3692 | else
|
---|
| 3693 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3694 | for as_dir in $PATH
|
---|
| 3695 | do
|
---|
| 3696 | IFS=$as_save_IFS
|
---|
| 3697 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3698 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3699 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3700 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[26663] | 3701 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3702 | break 2
|
---|
| 3703 | fi
|
---|
| 3704 | done
|
---|
[26663] | 3705 | done
|
---|
[25149] | 3706 | IFS=$as_save_IFS
|
---|
[23356] | 3707 |
|
---|
| 3708 | fi
|
---|
| 3709 | fi
|
---|
| 3710 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3711 | if test -n "$JAVA"; then
|
---|
[26663] | 3712 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
[25149] | 3713 | $as_echo "$JAVA" >&6; }
|
---|
[23356] | 3714 | else
|
---|
[26663] | 3715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3716 | $as_echo "no" >&6; }
|
---|
[23356] | 3717 | fi
|
---|
| 3718 |
|
---|
[25149] | 3719 |
|
---|
[23356] | 3720 | test -n "$JAVA" && break
|
---|
| 3721 | done
|
---|
| 3722 |
|
---|
| 3723 | else
|
---|
| 3724 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3725 | do
|
---|
| 3726 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3727 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 3728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3729 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3730 | if ${ac_cv_prog_JAVA+:} false; then :
|
---|
[25149] | 3731 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3732 | else
|
---|
| 3733 | if test -n "$JAVA"; then
|
---|
| 3734 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3735 | else
|
---|
| 3736 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3737 | for as_dir in $PATH
|
---|
| 3738 | do
|
---|
| 3739 | IFS=$as_save_IFS
|
---|
| 3740 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3741 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3742 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3743 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[26663] | 3744 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3745 | break 2
|
---|
| 3746 | fi
|
---|
| 3747 | done
|
---|
[26663] | 3748 | done
|
---|
[25149] | 3749 | IFS=$as_save_IFS
|
---|
[23356] | 3750 |
|
---|
| 3751 | fi
|
---|
| 3752 | fi
|
---|
| 3753 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3754 | if test -n "$JAVA"; then
|
---|
[26663] | 3755 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
[25149] | 3756 | $as_echo "$JAVA" >&6; }
|
---|
[23356] | 3757 | else
|
---|
[26663] | 3758 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3759 | $as_echo "no" >&6; }
|
---|
[23356] | 3760 | fi
|
---|
| 3761 |
|
---|
[25149] | 3762 |
|
---|
[23356] | 3763 | test -n "$JAVA" && break
|
---|
| 3764 | done
|
---|
| 3765 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
| 3766 |
|
---|
| 3767 | fi
|
---|
[26663] | 3768 | test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
|
---|
[23356] | 3769 | fi
|
---|
| 3770 |
|
---|
| 3771 |
|
---|
| 3772 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
| 3773 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
[26663] | 3774 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3775 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3776 | if ${ac_cv_prog_uudecode+:} false; then :
|
---|
[25149] | 3777 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3778 | else
|
---|
| 3779 | if test -n "$uudecode"; then
|
---|
| 3780 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
| 3781 | else
|
---|
| 3782 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3783 | for as_dir in $PATH
|
---|
| 3784 | do
|
---|
| 3785 | IFS=$as_save_IFS
|
---|
| 3786 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3787 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3788 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3789 | ac_cv_prog_uudecode="yes"
|
---|
[26663] | 3790 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3791 | break 2
|
---|
| 3792 | fi
|
---|
| 3793 | done
|
---|
[26663] | 3794 | done
|
---|
[25149] | 3795 | IFS=$as_save_IFS
|
---|
[23356] | 3796 |
|
---|
| 3797 | fi
|
---|
| 3798 | fi
|
---|
| 3799 | uudecode=$ac_cv_prog_uudecode
|
---|
| 3800 | if test -n "$uudecode"; then
|
---|
[26663] | 3801 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
|
---|
[25149] | 3802 | $as_echo "$uudecode" >&6; }
|
---|
[23356] | 3803 | else
|
---|
[26663] | 3804 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3805 | $as_echo "no" >&6; }
|
---|
[23356] | 3806 | fi
|
---|
| 3807 |
|
---|
[25149] | 3808 |
|
---|
[23356] | 3809 | if test x$uudecode = xyes; then
|
---|
[26663] | 3810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
|
---|
[25149] | 3811 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
[26663] | 3812 | if ${ac_cv_prog_uudecode_base64+:} false; then :
|
---|
[25149] | 3813 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3814 | else
|
---|
| 3815 |
|
---|
| 3816 | cat << \EOF > Test.uue
|
---|
| 3817 | begin-base64 644 Test.class
|
---|
| 3818 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
| 3819 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
| 3820 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
| 3821 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
| 3822 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
| 3823 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
| 3824 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
| 3825 | ====
|
---|
| 3826 | EOF
|
---|
| 3827 | if uudecode$EXEEXT Test.uue; then
|
---|
| 3828 | ac_cv_prog_uudecode_base64=yes
|
---|
| 3829 | else
|
---|
[26663] | 3830 | echo "configure: 3830: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
[23356] | 3831 | echo "configure: failed file was:" >&5
|
---|
| 3832 | cat Test.uue >&5
|
---|
| 3833 | ac_cv_prog_uudecode_base64=no
|
---|
| 3834 | fi
|
---|
| 3835 | rm -f Test.uue
|
---|
| 3836 | fi
|
---|
[26663] | 3837 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
[25149] | 3838 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
[23356] | 3839 | fi
|
---|
| 3840 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3841 | rm -f Test.class
|
---|
[26663] | 3842 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
|
---|
[25149] | 3843 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
[23356] | 3844 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
[26663] | 3845 | as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
|
---|
[23356] | 3846 | fi
|
---|
| 3847 | if test x$ac_cv_prog_javac_works = x; then
|
---|
| 3848 |
|
---|
| 3849 | if test "x$JAVAC" = x ; then
|
---|
| 3850 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3851 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3852 | do
|
---|
| 3853 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3854 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 3855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3856 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3857 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3858 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3859 | else
|
---|
| 3860 | if test -n "$JAVAC"; then
|
---|
| 3861 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3862 | else
|
---|
| 3863 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3864 | for as_dir in $PATH
|
---|
| 3865 | do
|
---|
| 3866 | IFS=$as_save_IFS
|
---|
| 3867 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3868 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3869 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3870 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26663] | 3871 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3872 | break 2
|
---|
| 3873 | fi
|
---|
| 3874 | done
|
---|
[26663] | 3875 | done
|
---|
[25149] | 3876 | IFS=$as_save_IFS
|
---|
[23356] | 3877 |
|
---|
| 3878 | fi
|
---|
| 3879 | fi
|
---|
| 3880 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3881 | if test -n "$JAVAC"; then
|
---|
[26663] | 3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3883 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3884 | else
|
---|
[26663] | 3885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3886 | $as_echo "no" >&6; }
|
---|
[23356] | 3887 | fi
|
---|
| 3888 |
|
---|
[25149] | 3889 |
|
---|
[23356] | 3890 | test -n "$JAVAC" && break
|
---|
| 3891 | done
|
---|
| 3892 |
|
---|
| 3893 | else
|
---|
| 3894 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3895 | do
|
---|
| 3896 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3897 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 3898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3899 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 3900 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3901 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3902 | else
|
---|
| 3903 | if test -n "$JAVAC"; then
|
---|
| 3904 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3905 | else
|
---|
| 3906 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3907 | for as_dir in $PATH
|
---|
| 3908 | do
|
---|
| 3909 | IFS=$as_save_IFS
|
---|
| 3910 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 3911 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3912 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3913 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26663] | 3914 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3915 | break 2
|
---|
| 3916 | fi
|
---|
| 3917 | done
|
---|
[26663] | 3918 | done
|
---|
[25149] | 3919 | IFS=$as_save_IFS
|
---|
[23356] | 3920 |
|
---|
| 3921 | fi
|
---|
| 3922 | fi
|
---|
| 3923 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3924 | if test -n "$JAVAC"; then
|
---|
[26663] | 3925 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3926 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3927 | else
|
---|
[26663] | 3928 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3929 | $as_echo "no" >&6; }
|
---|
[23356] | 3930 | fi
|
---|
| 3931 |
|
---|
[25149] | 3932 |
|
---|
[23356] | 3933 | test -n "$JAVAC" && break
|
---|
| 3934 | done
|
---|
| 3935 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3936 |
|
---|
| 3937 | fi
|
---|
[26663] | 3938 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
[23356] | 3939 | else
|
---|
| 3940 | echo "Checking for javac... $JAVAC"
|
---|
| 3941 | fi
|
---|
| 3942 |
|
---|
| 3943 |
|
---|
| 3944 |
|
---|
[26663] | 3945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
[25149] | 3946 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[26663] | 3947 | if ${ac_cv_prog_javac_works+:} false; then :
|
---|
[25149] | 3948 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3949 | else
|
---|
| 3950 |
|
---|
| 3951 | JAVA_TEST=Test.java
|
---|
| 3952 | CLASS_TEST=Test.class
|
---|
| 3953 | cat << \EOF > $JAVA_TEST
|
---|
[26663] | 3954 | /* #line 3954 "configure" */
|
---|
[23356] | 3955 | public class Test {
|
---|
| 3956 | }
|
---|
| 3957 | EOF
|
---|
| 3958 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26663] | 3959 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[16565] | 3960 | (eval $ac_try) 2>&5
|
---|
| 3961 | ac_status=$?
|
---|
[26663] | 3962 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3963 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 3964 | ac_cv_prog_javac_works=yes
|
---|
[16565] | 3965 | else
|
---|
[26663] | 3966 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3967 | echo "configure: failed program was:" >&5
|
---|
| 3968 | cat $JAVA_TEST >&5
|
---|
| 3969 | fi
|
---|
| 3970 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
[16565] | 3971 |
|
---|
| 3972 | fi
|
---|
[26663] | 3973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
[25149] | 3974 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 3975 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 3976 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 3977 | fi
|
---|
| 3978 |
|
---|
| 3979 |
|
---|
| 3980 |
|
---|
| 3981 | fi
|
---|
| 3982 | fi
|
---|
[26663] | 3983 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
|
---|
[25149] | 3984 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
[26663] | 3985 | if ${ac_cv_prog_java_works+:} false; then :
|
---|
[25149] | 3986 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3987 | else
|
---|
| 3988 |
|
---|
| 3989 | JAVA_TEST=Test.java
|
---|
| 3990 | CLASS_TEST=Test.class
|
---|
| 3991 | TEST=Test
|
---|
| 3992 | cat << \EOF > $JAVA_TEST
|
---|
[26663] | 3993 | /* [#]line 3993 "configure" */
|
---|
[23356] | 3994 | public class Test {
|
---|
| 3995 | public static void main (String args[]) {
|
---|
| 3996 | System.exit (0);
|
---|
| 3997 | } }
|
---|
| 3998 | EOF
|
---|
| 3999 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 4000 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26663] | 4001 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[16565] | 4002 | (eval $ac_try) 2>&5
|
---|
| 4003 | ac_status=$?
|
---|
[26663] | 4004 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4005 | test $ac_status = 0; }; } && test -s $CLASS_TEST; then
|
---|
[23356] | 4006 | :
|
---|
| 4007 | else
|
---|
| 4008 | echo "configure: failed program was:" >&5
|
---|
| 4009 | cat $JAVA_TEST >&5
|
---|
[26663] | 4010 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 4011 | fi
|
---|
| 4012 | fi
|
---|
| 4013 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
[26663] | 4014 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[16565] | 4015 | (eval $ac_try) 2>&5
|
---|
| 4016 | ac_status=$?
|
---|
[26663] | 4017 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4018 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 4019 | ac_cv_prog_java_works=yes
|
---|
[16565] | 4020 | else
|
---|
[23356] | 4021 | echo "configure: failed program was:" >&5
|
---|
| 4022 | cat $JAVA_TEST >&5
|
---|
[26663] | 4023 | as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 4024 | fi
|
---|
| 4025 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
[16565] | 4026 |
|
---|
| 4027 | fi
|
---|
[26663] | 4028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
|
---|
[25149] | 4029 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
[16565] | 4030 |
|
---|
| 4031 |
|
---|
[23356] | 4032 |
|
---|
| 4033 | fi
|
---|
[16565] | 4034 | for ac_prog in gawk mawk nawk awk
|
---|
| 4035 | do
|
---|
| 4036 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4037 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 4038 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4039 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 4040 | if ${ac_cv_prog_AWK+:} false; then :
|
---|
[25149] | 4041 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4042 | else
|
---|
| 4043 | if test -n "$AWK"; then
|
---|
| 4044 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 4045 | else
|
---|
| 4046 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4047 | for as_dir in $PATH
|
---|
| 4048 | do
|
---|
| 4049 | IFS=$as_save_IFS
|
---|
| 4050 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 4051 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4052 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 4053 | ac_cv_prog_AWK="$ac_prog"
|
---|
[26663] | 4054 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 4055 | break 2
|
---|
| 4056 | fi
|
---|
| 4057 | done
|
---|
[26663] | 4058 | done
|
---|
[25149] | 4059 | IFS=$as_save_IFS
|
---|
[16565] | 4060 |
|
---|
| 4061 | fi
|
---|
| 4062 | fi
|
---|
| 4063 | AWK=$ac_cv_prog_AWK
|
---|
| 4064 | if test -n "$AWK"; then
|
---|
[26663] | 4065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
[25149] | 4066 | $as_echo "$AWK" >&6; }
|
---|
[16565] | 4067 | else
|
---|
[26663] | 4068 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4069 | $as_echo "no" >&6; }
|
---|
[16565] | 4070 | fi
|
---|
| 4071 |
|
---|
[25149] | 4072 |
|
---|
[16565] | 4073 | test -n "$AWK" && break
|
---|
| 4074 | done
|
---|
| 4075 |
|
---|
| 4076 | for ac_prog in 'bison -y' byacc
|
---|
| 4077 | do
|
---|
| 4078 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4079 | set dummy $ac_prog; ac_word=$2
|
---|
[26663] | 4080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4081 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 4082 | if ${ac_cv_prog_YACC+:} false; then :
|
---|
[25149] | 4083 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4084 | else
|
---|
| 4085 | if test -n "$YACC"; then
|
---|
| 4086 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 4087 | else
|
---|
| 4088 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4089 | for as_dir in $PATH
|
---|
| 4090 | do
|
---|
| 4091 | IFS=$as_save_IFS
|
---|
| 4092 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 4093 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4094 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 4095 | ac_cv_prog_YACC="$ac_prog"
|
---|
[26663] | 4096 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 4097 | break 2
|
---|
| 4098 | fi
|
---|
| 4099 | done
|
---|
[26663] | 4100 | done
|
---|
[25149] | 4101 | IFS=$as_save_IFS
|
---|
[16565] | 4102 |
|
---|
| 4103 | fi
|
---|
| 4104 | fi
|
---|
| 4105 | YACC=$ac_cv_prog_YACC
|
---|
| 4106 | if test -n "$YACC"; then
|
---|
[26663] | 4107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
---|
[25149] | 4108 | $as_echo "$YACC" >&6; }
|
---|
[16565] | 4109 | else
|
---|
[26663] | 4110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4111 | $as_echo "no" >&6; }
|
---|
[16565] | 4112 | fi
|
---|
| 4113 |
|
---|
[25149] | 4114 |
|
---|
[16565] | 4115 | test -n "$YACC" && break
|
---|
| 4116 | done
|
---|
| 4117 | test -n "$YACC" || YACC="yacc"
|
---|
| 4118 |
|
---|
| 4119 | ac_aux_dir=
|
---|
[25149] | 4120 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 4121 | if test -f "$ac_dir/install-sh"; then
|
---|
[16565] | 4122 | ac_aux_dir=$ac_dir
|
---|
| 4123 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 4124 | break
|
---|
[25149] | 4125 | elif test -f "$ac_dir/install.sh"; then
|
---|
[16565] | 4126 | ac_aux_dir=$ac_dir
|
---|
| 4127 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 4128 | break
|
---|
[25149] | 4129 | elif test -f "$ac_dir/shtool"; then
|
---|
[16565] | 4130 | ac_aux_dir=$ac_dir
|
---|
| 4131 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 4132 | break
|
---|
| 4133 | fi
|
---|
| 4134 | done
|
---|
| 4135 | if test -z "$ac_aux_dir"; then
|
---|
[26663] | 4136 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
[16565] | 4137 | fi
|
---|
| 4138 |
|
---|
[25149] | 4139 | # These three variables are undocumented and unsupported,
|
---|
| 4140 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 4141 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 4142 | # whose full name contains unusual characters.
|
---|
| 4143 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 4144 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 4145 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 4146 |
|
---|
| 4147 |
|
---|
[16565] | 4148 | # Make sure we can run config.sub.
|
---|
[25149] | 4149 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
[26663] | 4150 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
[16565] | 4151 |
|
---|
[26663] | 4152 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
[25149] | 4153 | $as_echo_n "checking build system type... " >&6; }
|
---|
[26663] | 4154 | if ${ac_cv_build+:} false; then :
|
---|
[25149] | 4155 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4156 | else
|
---|
[25149] | 4157 | ac_build_alias=$build_alias
|
---|
| 4158 | test "x$ac_build_alias" = x &&
|
---|
| 4159 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 4160 | test "x$ac_build_alias" = x &&
|
---|
[26663] | 4161 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
[25149] | 4162 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
[26663] | 4163 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
[16565] | 4164 |
|
---|
| 4165 | fi
|
---|
[26663] | 4166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
[25149] | 4167 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 4168 | case $ac_cv_build in
|
---|
| 4169 | *-*-*) ;;
|
---|
[26663] | 4170 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
---|
[25149] | 4171 | esac
|
---|
[16565] | 4172 | build=$ac_cv_build
|
---|
[25149] | 4173 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4174 | set x $ac_cv_build
|
---|
| 4175 | shift
|
---|
| 4176 | build_cpu=$1
|
---|
| 4177 | build_vendor=$2
|
---|
| 4178 | shift; shift
|
---|
| 4179 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4180 | # except with old shells:
|
---|
| 4181 | build_os=$*
|
---|
| 4182 | IFS=$ac_save_IFS
|
---|
| 4183 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[16565] | 4184 |
|
---|
| 4185 |
|
---|
[26663] | 4186 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
[25149] | 4187 | $as_echo_n "checking host system type... " >&6; }
|
---|
[26663] | 4188 | if ${ac_cv_host+:} false; then :
|
---|
[25149] | 4189 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4190 | else
|
---|
[25149] | 4191 | if test "x$host_alias" = x; then
|
---|
| 4192 | ac_cv_host=$ac_cv_build
|
---|
| 4193 | else
|
---|
| 4194 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
[26663] | 4195 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
[25149] | 4196 | fi
|
---|
[16565] | 4197 |
|
---|
| 4198 | fi
|
---|
[26663] | 4199 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
[25149] | 4200 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 4201 | case $ac_cv_host in
|
---|
| 4202 | *-*-*) ;;
|
---|
[26663] | 4203 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
---|
[25149] | 4204 | esac
|
---|
[16565] | 4205 | host=$ac_cv_host
|
---|
[25149] | 4206 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4207 | set x $ac_cv_host
|
---|
| 4208 | shift
|
---|
| 4209 | host_cpu=$1
|
---|
| 4210 | host_vendor=$2
|
---|
| 4211 | shift; shift
|
---|
| 4212 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4213 | # except with old shells:
|
---|
| 4214 | host_os=$*
|
---|
| 4215 | IFS=$ac_save_IFS
|
---|
| 4216 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[16565] | 4217 |
|
---|
| 4218 |
|
---|
[26663] | 4219 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
---|
[25149] | 4220 | $as_echo_n "checking target system type... " >&6; }
|
---|
[26663] | 4221 | if ${ac_cv_target+:} false; then :
|
---|
[25149] | 4222 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4223 | else
|
---|
[25149] | 4224 | if test "x$target_alias" = x; then
|
---|
| 4225 | ac_cv_target=$ac_cv_host
|
---|
| 4226 | else
|
---|
| 4227 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
[26663] | 4228 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
---|
[25149] | 4229 | fi
|
---|
[16565] | 4230 |
|
---|
| 4231 | fi
|
---|
[26663] | 4232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
---|
[25149] | 4233 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 4234 | case $ac_cv_target in
|
---|
| 4235 | *-*-*) ;;
|
---|
[26663] | 4236 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
---|
[25149] | 4237 | esac
|
---|
[16565] | 4238 | target=$ac_cv_target
|
---|
[25149] | 4239 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4240 | set x $ac_cv_target
|
---|
| 4241 | shift
|
---|
| 4242 | target_cpu=$1
|
---|
| 4243 | target_vendor=$2
|
---|
| 4244 | shift; shift
|
---|
| 4245 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4246 | # except with old shells:
|
---|
| 4247 | target_os=$*
|
---|
| 4248 | IFS=$ac_save_IFS
|
---|
| 4249 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[16565] | 4250 |
|
---|
| 4251 |
|
---|
| 4252 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 4253 | # will get canonicalized.
|
---|
| 4254 | test -n "$target_alias" &&
|
---|
| 4255 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 4256 | NONENONEs,x,x, &&
|
---|
| 4257 | program_prefix=${target_alias}-
|
---|
[26663] | 4258 |
|
---|
[16565] | 4259 | # Find a good install program. We prefer a C program (faster),
|
---|
| 4260 | # so one script is as good as another. But avoid the broken or
|
---|
| 4261 | # incompatible versions:
|
---|
| 4262 | # SysV /etc/install, /usr/sbin/install
|
---|
| 4263 | # SunOS /usr/etc/install
|
---|
| 4264 | # IRIX /sbin/install
|
---|
| 4265 | # AIX /bin/install
|
---|
| 4266 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 4267 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 4268 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 4269 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 4270 | # OS/2's system install, which has a completely different semantic
|
---|
| 4271 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[25149] | 4272 | # Reject install programs that cannot install multiple files.
|
---|
[26663] | 4273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
[25149] | 4274 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[16565] | 4275 | if test -z "$INSTALL"; then
|
---|
[26663] | 4276 | if ${ac_cv_path_install+:} false; then :
|
---|
[25149] | 4277 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4278 | else
|
---|
| 4279 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4280 | for as_dir in $PATH
|
---|
| 4281 | do
|
---|
| 4282 | IFS=$as_save_IFS
|
---|
| 4283 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 4284 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 4285 | case $as_dir/ in #((
|
---|
| 4286 | ./ | .// | /[cC]/* | \
|
---|
[16565] | 4287 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[26663] | 4288 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
[16565] | 4289 | /usr/ucb/* ) ;;
|
---|
| 4290 | *)
|
---|
| 4291 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 4292 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 4293 | # by default.
|
---|
| 4294 | for ac_prog in ginstall scoinst install; do
|
---|
| 4295 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4296 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[16565] | 4297 | if test $ac_prog = install &&
|
---|
| 4298 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4299 | # AIX install. It has an incompatible calling convention.
|
---|
| 4300 | :
|
---|
| 4301 | elif test $ac_prog = install &&
|
---|
| 4302 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4303 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 4304 | :
|
---|
| 4305 | else
|
---|
[25149] | 4306 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 4307 | echo one > conftest.one
|
---|
| 4308 | echo two > conftest.two
|
---|
| 4309 | mkdir conftest.dir
|
---|
| 4310 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 4311 | test -s conftest.one && test -s conftest.two &&
|
---|
| 4312 | test -s conftest.dir/conftest.one &&
|
---|
| 4313 | test -s conftest.dir/conftest.two
|
---|
| 4314 | then
|
---|
| 4315 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 4316 | break 3
|
---|
| 4317 | fi
|
---|
[16565] | 4318 | fi
|
---|
| 4319 | fi
|
---|
| 4320 | done
|
---|
| 4321 | done
|
---|
| 4322 | ;;
|
---|
| 4323 | esac
|
---|
[25149] | 4324 |
|
---|
[26663] | 4325 | done
|
---|
[25149] | 4326 | IFS=$as_save_IFS
|
---|
[16565] | 4327 |
|
---|
[25149] | 4328 | rm -rf conftest.one conftest.two conftest.dir
|
---|
[16565] | 4329 |
|
---|
| 4330 | fi
|
---|
| 4331 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 4332 | INSTALL=$ac_cv_path_install
|
---|
| 4333 | else
|
---|
[25149] | 4334 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 4335 | # value for INSTALL within a source directory, because that will
|
---|
[16565] | 4336 | # break other packages using the cache if that directory is
|
---|
[25149] | 4337 | # removed, or if the value is a relative name.
|
---|
[16565] | 4338 | INSTALL=$ac_install_sh
|
---|
| 4339 | fi
|
---|
| 4340 | fi
|
---|
[26663] | 4341 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
[25149] | 4342 | $as_echo "$INSTALL" >&6; }
|
---|
[16565] | 4343 |
|
---|
| 4344 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 4345 | # It thinks the first close brace ends the variable substitution.
|
---|
| 4346 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 4347 |
|
---|
| 4348 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 4349 |
|
---|
| 4350 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 4351 |
|
---|
[26663] | 4352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
---|
[25149] | 4353 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[16565] | 4354 | LN_S=$as_ln_s
|
---|
| 4355 | if test "$LN_S" = "ln -s"; then
|
---|
[26663] | 4356 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4357 | $as_echo "yes" >&6; }
|
---|
[16565] | 4358 | else
|
---|
[26663] | 4359 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
---|
[25149] | 4360 | $as_echo "no, using $LN_S" >&6; }
|
---|
[16565] | 4361 | fi
|
---|
| 4362 |
|
---|
[26663] | 4363 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
[25149] | 4364 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 4365 | set x ${MAKE-make}
|
---|
| 4366 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
[26663] | 4367 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
---|
[25149] | 4368 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4369 | else
|
---|
| 4370 | cat >conftest.make <<\_ACEOF
|
---|
[25149] | 4371 | SHELL = /bin/sh
|
---|
[16565] | 4372 | all:
|
---|
[25149] | 4373 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[16565] | 4374 | _ACEOF
|
---|
[26663] | 4375 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
[25149] | 4376 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 4377 | *@@@%%%=?*=@@@%%%*)
|
---|
| 4378 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 4379 | *)
|
---|
| 4380 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 4381 | esac
|
---|
[16565] | 4382 | rm -f conftest.make
|
---|
| 4383 | fi
|
---|
[25149] | 4384 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
[26663] | 4385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4386 | $as_echo "yes" >&6; }
|
---|
[16565] | 4387 | SET_MAKE=
|
---|
| 4388 | else
|
---|
[26663] | 4389 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4390 | $as_echo "no" >&6; }
|
---|
[16565] | 4391 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 4392 | fi
|
---|
| 4393 |
|
---|
| 4394 | if test -n "$ac_tool_prefix"; then
|
---|
| 4395 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 4396 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[26663] | 4397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4398 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 4399 | if ${ac_cv_prog_RANLIB+:} false; then :
|
---|
[25149] | 4400 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4401 | else
|
---|
| 4402 | if test -n "$RANLIB"; then
|
---|
| 4403 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 4404 | else
|
---|
| 4405 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4406 | for as_dir in $PATH
|
---|
| 4407 | do
|
---|
| 4408 | IFS=$as_save_IFS
|
---|
| 4409 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 4410 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4411 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 4412 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[26663] | 4413 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 4414 | break 2
|
---|
| 4415 | fi
|
---|
| 4416 | done
|
---|
[26663] | 4417 | done
|
---|
[25149] | 4418 | IFS=$as_save_IFS
|
---|
[16565] | 4419 |
|
---|
| 4420 | fi
|
---|
| 4421 | fi
|
---|
| 4422 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 4423 | if test -n "$RANLIB"; then
|
---|
[26663] | 4424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
---|
[25149] | 4425 | $as_echo "$RANLIB" >&6; }
|
---|
[16565] | 4426 | else
|
---|
[26663] | 4427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4428 | $as_echo "no" >&6; }
|
---|
[16565] | 4429 | fi
|
---|
| 4430 |
|
---|
[25149] | 4431 |
|
---|
[16565] | 4432 | fi
|
---|
| 4433 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 4434 | ac_ct_RANLIB=$RANLIB
|
---|
| 4435 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 4436 | set dummy ranlib; ac_word=$2
|
---|
[26663] | 4437 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4438 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26663] | 4439 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
---|
[25149] | 4440 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4441 | else
|
---|
| 4442 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 4443 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 4444 | else
|
---|
| 4445 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4446 | for as_dir in $PATH
|
---|
| 4447 | do
|
---|
| 4448 | IFS=$as_save_IFS
|
---|
| 4449 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 4450 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4451 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16565] | 4452 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[26663] | 4453 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16565] | 4454 | break 2
|
---|
| 4455 | fi
|
---|
| 4456 | done
|
---|
[26663] | 4457 | done
|
---|
[25149] | 4458 | IFS=$as_save_IFS
|
---|
[16565] | 4459 |
|
---|
| 4460 | fi
|
---|
| 4461 | fi
|
---|
| 4462 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 4463 | if test -n "$ac_ct_RANLIB"; then
|
---|
[26663] | 4464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
---|
[25149] | 4465 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
[16565] | 4466 | else
|
---|
[26663] | 4467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4468 | $as_echo "no" >&6; }
|
---|
[16565] | 4469 | fi
|
---|
| 4470 |
|
---|
[25149] | 4471 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 4472 | RANLIB=":"
|
---|
| 4473 | else
|
---|
| 4474 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4475 | yes:)
|
---|
[26663] | 4476 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 4477 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4478 | ac_tool_warned=yes ;;
|
---|
| 4479 | esac
|
---|
| 4480 | RANLIB=$ac_ct_RANLIB
|
---|
| 4481 | fi
|
---|
[16565] | 4482 | else
|
---|
| 4483 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 4484 | fi
|
---|
| 4485 |
|
---|
| 4486 |
|
---|
[26663] | 4487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
|
---|
[25149] | 4488 | $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
|
---|
[16565] | 4489 | arch_64bit=no
|
---|
| 4490 | case "$host_cpu" in
|
---|
| 4491 | x86_64) arch_64bit=yes ;;
|
---|
| 4492 | esac
|
---|
| 4493 |
|
---|
| 4494 | if test "$arch_64bit" = yes; then
|
---|
[26663] | 4495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4496 | $as_echo "yes" >&6; }
|
---|
| 4497 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 4498 | ARCH_DEP_FLAGS="-fPIC"
|
---|
[16565] | 4499 | fi
|
---|
| 4500 | else
|
---|
[26663] | 4501 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4502 | $as_echo "no" >&6; }
|
---|
| 4503 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 4504 | ARCH_DEP_FLAGS=
|
---|
[16565] | 4505 | fi
|
---|
| 4506 | fi
|
---|
[21432] | 4507 |
|
---|
[25149] | 4508 | export ARCH_DEP_FLAGS
|
---|
[21432] | 4509 |
|
---|
[16565] | 4510 |
|
---|
| 4511 |
|
---|
| 4512 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 4513 | if test $USE_CORBA = 1; then
|
---|
| 4514 |
|
---|
| 4515 | if test $MICO_DIR = "default"; then
|
---|
| 4516 | #do something
|
---|
| 4517 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 4518 | else
|
---|
| 4519 | #build the micotest program
|
---|
| 4520 | MICO_INC= ""
|
---|
| 4521 | if test $MICO_DIR != yes; then
|
---|
| 4522 | MICO_INC="-I $MICO_DIR"
|
---|
| 4523 | fi
|
---|
| 4524 | fi
|
---|
| 4525 |
|
---|
| 4526 | #get MICO_VER value
|
---|
| 4527 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 4528 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
| 4529 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
| 4530 | sh -c "rm micotest"
|
---|
| 4531 | sh -c "rm micotest.o"
|
---|
| 4532 |
|
---|
| 4533 | #do test of MICO_VER
|
---|
| 4534 | if test MICO_VER != 0; then
|
---|
[26663] | 4535 | $as_echo "#define MICO_VER 1" >>confdefs.h
|
---|
[16565] | 4536 |
|
---|
| 4537 |
|
---|
| 4538 | fi
|
---|
| 4539 | #end USE_CORBA test
|
---|
| 4540 | fi
|
---|
| 4541 |
|
---|
| 4542 |
|
---|
| 4543 | ac_ext=c
|
---|
| 4544 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4545 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4546 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4547 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[26663] | 4548 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
[25149] | 4549 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[16565] | 4550 | # On Suns, sometimes $CPP names a directory.
|
---|
| 4551 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 4552 | CPP=
|
---|
| 4553 | fi
|
---|
| 4554 | if test -z "$CPP"; then
|
---|
[26663] | 4555 | if ${ac_cv_prog_CPP+:} false; then :
|
---|
[25149] | 4556 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4557 | else
|
---|
| 4558 | # Double quotes because CPP needs to be expanded
|
---|
| 4559 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 4560 | do
|
---|
| 4561 | ac_preproc_ok=false
|
---|
| 4562 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4563 | do
|
---|
| 4564 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4565 | # with a fresh cross-compiler works.
|
---|
| 4566 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4567 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4568 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4569 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[26663] | 4570 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4571 | /* end confdefs.h. */
|
---|
| 4572 | #ifdef __STDC__
|
---|
| 4573 | # include <limits.h>
|
---|
| 4574 | #else
|
---|
| 4575 | # include <assert.h>
|
---|
| 4576 | #endif
|
---|
| 4577 | Syntax error
|
---|
| 4578 | _ACEOF
|
---|
[26663] | 4579 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4580 |
|
---|
[23800] | 4581 | else
|
---|
[16565] | 4582 | # Broken: fails on valid input.
|
---|
| 4583 | continue
|
---|
| 4584 | fi
|
---|
[26663] | 4585 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4586 |
|
---|
| 4587 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16565] | 4588 | # can be detected and how.
|
---|
[26663] | 4589 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4590 | /* end confdefs.h. */
|
---|
| 4591 | #include <ac_nonexistent.h>
|
---|
| 4592 | _ACEOF
|
---|
[26663] | 4593 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16565] | 4594 | # Broken: success on invalid input.
|
---|
| 4595 | continue
|
---|
| 4596 | else
|
---|
| 4597 | # Passes both tests.
|
---|
| 4598 | ac_preproc_ok=:
|
---|
| 4599 | break
|
---|
| 4600 | fi
|
---|
[26663] | 4601 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4602 |
|
---|
[16565] | 4603 | done
|
---|
| 4604 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[26663] | 4605 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4606 | if $ac_preproc_ok; then :
|
---|
[16565] | 4607 | break
|
---|
| 4608 | fi
|
---|
| 4609 |
|
---|
| 4610 | done
|
---|
| 4611 | ac_cv_prog_CPP=$CPP
|
---|
| 4612 |
|
---|
| 4613 | fi
|
---|
| 4614 | CPP=$ac_cv_prog_CPP
|
---|
| 4615 | else
|
---|
| 4616 | ac_cv_prog_CPP=$CPP
|
---|
| 4617 | fi
|
---|
[26663] | 4618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
[25149] | 4619 | $as_echo "$CPP" >&6; }
|
---|
[16565] | 4620 | ac_preproc_ok=false
|
---|
| 4621 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4622 | do
|
---|
| 4623 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4624 | # with a fresh cross-compiler works.
|
---|
| 4625 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4626 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4627 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4628 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[26663] | 4629 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4630 | /* end confdefs.h. */
|
---|
| 4631 | #ifdef __STDC__
|
---|
| 4632 | # include <limits.h>
|
---|
| 4633 | #else
|
---|
| 4634 | # include <assert.h>
|
---|
| 4635 | #endif
|
---|
| 4636 | Syntax error
|
---|
| 4637 | _ACEOF
|
---|
[26663] | 4638 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4639 |
|
---|
[23800] | 4640 | else
|
---|
[16565] | 4641 | # Broken: fails on valid input.
|
---|
| 4642 | continue
|
---|
| 4643 | fi
|
---|
[26663] | 4644 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4645 |
|
---|
| 4646 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16565] | 4647 | # can be detected and how.
|
---|
[26663] | 4648 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4649 | /* end confdefs.h. */
|
---|
| 4650 | #include <ac_nonexistent.h>
|
---|
| 4651 | _ACEOF
|
---|
[26663] | 4652 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16565] | 4653 | # Broken: success on invalid input.
|
---|
| 4654 | continue
|
---|
| 4655 | else
|
---|
| 4656 | # Passes both tests.
|
---|
| 4657 | ac_preproc_ok=:
|
---|
| 4658 | break
|
---|
| 4659 | fi
|
---|
[26663] | 4660 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4661 |
|
---|
[16565] | 4662 | done
|
---|
| 4663 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[26663] | 4664 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4665 | if $ac_preproc_ok; then :
|
---|
| 4666 |
|
---|
[16565] | 4667 | else
|
---|
[26663] | 4668 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 4669 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26663] | 4670 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
| 4671 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16565] | 4672 | fi
|
---|
| 4673 |
|
---|
| 4674 | ac_ext=c
|
---|
| 4675 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4676 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4677 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4678 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4679 |
|
---|
| 4680 |
|
---|
[26663] | 4681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
[25149] | 4682 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
[26663] | 4683 | if ${ac_cv_path_GREP+:} false; then :
|
---|
[25149] | 4684 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4685 | else
|
---|
[25149] | 4686 | if test -z "$GREP"; then
|
---|
| 4687 | ac_path_GREP_found=false
|
---|
| 4688 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4689 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4690 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4691 | do
|
---|
| 4692 | IFS=$as_save_IFS
|
---|
| 4693 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 4694 | for ac_prog in grep ggrep; do
|
---|
[25149] | 4695 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4696 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4697 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4698 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 4699 | # Check for GNU $ac_path_GREP
|
---|
| 4700 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4701 | *GNU*)
|
---|
| 4702 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4703 | *)
|
---|
| 4704 | ac_count=0
|
---|
| 4705 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4706 | while :
|
---|
| 4707 | do
|
---|
| 4708 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4709 | mv "conftest.tmp" "conftest.in"
|
---|
| 4710 | cp "conftest.in" "conftest.nl"
|
---|
| 4711 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 4712 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4713 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[26663] | 4714 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
[25149] | 4715 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4716 | # Best one so far, save it but keep looking for a better one
|
---|
| 4717 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4718 | ac_path_GREP_max=$ac_count
|
---|
[16565] | 4719 | fi
|
---|
[25149] | 4720 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4721 | test $ac_count -gt 10 && break
|
---|
| 4722 | done
|
---|
| 4723 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4724 | esac
|
---|
[16565] | 4725 |
|
---|
[25149] | 4726 | $ac_path_GREP_found && break 3
|
---|
| 4727 | done
|
---|
| 4728 | done
|
---|
[26663] | 4729 | done
|
---|
[25149] | 4730 | IFS=$as_save_IFS
|
---|
| 4731 | if test -z "$ac_cv_path_GREP"; then
|
---|
[26663] | 4732 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[25149] | 4733 | fi
|
---|
[16565] | 4734 | else
|
---|
[25149] | 4735 | ac_cv_path_GREP=$GREP
|
---|
[16565] | 4736 | fi
|
---|
| 4737 |
|
---|
[25149] | 4738 | fi
|
---|
[26663] | 4739 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
[25149] | 4740 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 4741 | GREP="$ac_cv_path_GREP"
|
---|
[16565] | 4742 |
|
---|
| 4743 |
|
---|
[26663] | 4744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
[25149] | 4745 | $as_echo_n "checking for egrep... " >&6; }
|
---|
[26663] | 4746 | if ${ac_cv_path_EGREP+:} false; then :
|
---|
[25149] | 4747 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4748 | else
|
---|
[25149] | 4749 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4750 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4751 | else
|
---|
| 4752 | if test -z "$EGREP"; then
|
---|
| 4753 | ac_path_EGREP_found=false
|
---|
| 4754 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4755 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4756 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4757 | do
|
---|
| 4758 | IFS=$as_save_IFS
|
---|
| 4759 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 4760 | for ac_prog in egrep; do
|
---|
[25149] | 4761 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4762 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4763 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4764 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4765 | # Check for GNU $ac_path_EGREP
|
---|
| 4766 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4767 | *GNU*)
|
---|
| 4768 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4769 | *)
|
---|
| 4770 | ac_count=0
|
---|
| 4771 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4772 | while :
|
---|
| 4773 | do
|
---|
| 4774 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4775 | mv "conftest.tmp" "conftest.in"
|
---|
| 4776 | cp "conftest.in" "conftest.nl"
|
---|
| 4777 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 4778 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4779 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[26663] | 4780 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
[25149] | 4781 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4782 | # Best one so far, save it but keep looking for a better one
|
---|
| 4783 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4784 | ac_path_EGREP_max=$ac_count
|
---|
| 4785 | fi
|
---|
| 4786 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4787 | test $ac_count -gt 10 && break
|
---|
| 4788 | done
|
---|
| 4789 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4790 | esac
|
---|
[16565] | 4791 |
|
---|
[25149] | 4792 | $ac_path_EGREP_found && break 3
|
---|
| 4793 | done
|
---|
| 4794 | done
|
---|
[26663] | 4795 | done
|
---|
[25149] | 4796 | IFS=$as_save_IFS
|
---|
| 4797 | if test -z "$ac_cv_path_EGREP"; then
|
---|
[26663] | 4798 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[25149] | 4799 | fi
|
---|
[16565] | 4800 | else
|
---|
[25149] | 4801 | ac_cv_path_EGREP=$EGREP
|
---|
[16565] | 4802 | fi
|
---|
| 4803 |
|
---|
[25149] | 4804 | fi
|
---|
[16565] | 4805 | fi
|
---|
[26663] | 4806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
[25149] | 4807 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 4808 | EGREP="$ac_cv_path_EGREP"
|
---|
[16565] | 4809 |
|
---|
[25149] | 4810 |
|
---|
[26663] | 4811 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
[25149] | 4812 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[26663] | 4813 | if ${ac_cv_header_stdc+:} false; then :
|
---|
[25149] | 4814 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 4815 | else
|
---|
[26663] | 4816 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4817 | /* end confdefs.h. */
|
---|
| 4818 | #include <stdlib.h>
|
---|
| 4819 | #include <stdarg.h>
|
---|
| 4820 | #include <string.h>
|
---|
| 4821 | #include <float.h>
|
---|
| 4822 |
|
---|
| 4823 | int
|
---|
| 4824 | main ()
|
---|
| 4825 | {
|
---|
| 4826 |
|
---|
| 4827 | ;
|
---|
| 4828 | return 0;
|
---|
| 4829 | }
|
---|
| 4830 | _ACEOF
|
---|
[26663] | 4831 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 4832 | ac_cv_header_stdc=yes
|
---|
| 4833 | else
|
---|
[26663] | 4834 | ac_cv_header_stdc=no
|
---|
[16565] | 4835 | fi
|
---|
[25149] | 4836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4837 |
|
---|
[16565] | 4838 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4839 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[26663] | 4840 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4841 | /* end confdefs.h. */
|
---|
| 4842 | #include <string.h>
|
---|
| 4843 |
|
---|
| 4844 | _ACEOF
|
---|
| 4845 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 4846 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 4847 |
|
---|
[16565] | 4848 | else
|
---|
| 4849 | ac_cv_header_stdc=no
|
---|
| 4850 | fi
|
---|
| 4851 | rm -f conftest*
|
---|
| 4852 |
|
---|
| 4853 | fi
|
---|
| 4854 |
|
---|
| 4855 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4856 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[26663] | 4857 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4858 | /* end confdefs.h. */
|
---|
| 4859 | #include <stdlib.h>
|
---|
| 4860 |
|
---|
| 4861 | _ACEOF
|
---|
| 4862 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 4863 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 4864 |
|
---|
[16565] | 4865 | else
|
---|
| 4866 | ac_cv_header_stdc=no
|
---|
| 4867 | fi
|
---|
| 4868 | rm -f conftest*
|
---|
| 4869 |
|
---|
| 4870 | fi
|
---|
| 4871 |
|
---|
| 4872 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4873 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[26663] | 4874 | if test "$cross_compiling" = yes; then :
|
---|
[16565] | 4875 | :
|
---|
| 4876 | else
|
---|
[26663] | 4877 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 4878 | /* end confdefs.h. */
|
---|
| 4879 | #include <ctype.h>
|
---|
[25149] | 4880 | #include <stdlib.h>
|
---|
[16565] | 4881 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4882 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4883 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4884 | #else
|
---|
| 4885 | # define ISLOWER(c) \
|
---|
| 4886 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4887 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4888 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4889 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4890 | #endif
|
---|
| 4891 |
|
---|
| 4892 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4893 | int
|
---|
| 4894 | main ()
|
---|
| 4895 | {
|
---|
| 4896 | int i;
|
---|
| 4897 | for (i = 0; i < 256; i++)
|
---|
| 4898 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4899 | || toupper (i) != TOUPPER (i))
|
---|
[25149] | 4900 | return 2;
|
---|
| 4901 | return 0;
|
---|
[16565] | 4902 | }
|
---|
| 4903 | _ACEOF
|
---|
[26663] | 4904 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 4905 |
|
---|
[23800] | 4906 | else
|
---|
[26663] | 4907 | ac_cv_header_stdc=no
|
---|
[16565] | 4908 | fi
|
---|
[26663] | 4909 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 4910 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16565] | 4911 | fi
|
---|
[25149] | 4912 |
|
---|
[16565] | 4913 | fi
|
---|
| 4914 | fi
|
---|
[26663] | 4915 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
[25149] | 4916 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16565] | 4917 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4918 |
|
---|
[26663] | 4919 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16565] | 4920 |
|
---|
| 4921 | fi
|
---|
| 4922 |
|
---|
| 4923 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
[23800] | 4924 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4925 | inttypes.h stdint.h unistd.h
|
---|
[26663] | 4926 | do :
|
---|
| 4927 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4928 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 4929 | "
|
---|
| 4930 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[23800] | 4931 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 4932 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[23800] | 4933 | _ACEOF
|
---|
[23356] | 4934 |
|
---|
[23800] | 4935 | fi
|
---|
[23356] | 4936 |
|
---|
[23800] | 4937 | done
|
---|
[23356] | 4938 |
|
---|
| 4939 |
|
---|
[25149] | 4940 |
|
---|
[26663] | 4941 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
---|
| 4942 | if test "x$ac_cv_header_minix_config_h" = xyes; then :
|
---|
[25149] | 4943 | MINIX=yes
|
---|
| 4944 | else
|
---|
| 4945 | MINIX=
|
---|
| 4946 | fi
|
---|
| 4947 |
|
---|
| 4948 |
|
---|
| 4949 | if test "$MINIX" = yes; then
|
---|
| 4950 |
|
---|
[26663] | 4951 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
---|
[25149] | 4952 |
|
---|
| 4953 |
|
---|
[26663] | 4954 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
---|
[25149] | 4955 |
|
---|
| 4956 |
|
---|
[26663] | 4957 | $as_echo "#define _MINIX 1" >>confdefs.h
|
---|
[25149] | 4958 |
|
---|
| 4959 | fi
|
---|
| 4960 |
|
---|
| 4961 |
|
---|
[26663] | 4962 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
[25149] | 4963 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
[26663] | 4964 | if ${ac_cv_safe_to_define___extensions__+:} false; then :
|
---|
[25149] | 4965 | $as_echo_n "(cached) " >&6
|
---|
| 4966 | else
|
---|
[26663] | 4967 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 4968 | /* end confdefs.h. */
|
---|
| 4969 |
|
---|
| 4970 | # define __EXTENSIONS__ 1
|
---|
| 4971 | $ac_includes_default
|
---|
| 4972 | int
|
---|
| 4973 | main ()
|
---|
| 4974 | {
|
---|
| 4975 |
|
---|
| 4976 | ;
|
---|
| 4977 | return 0;
|
---|
| 4978 | }
|
---|
| 4979 | _ACEOF
|
---|
[26663] | 4980 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 4981 | ac_cv_safe_to_define___extensions__=yes
|
---|
| 4982 | else
|
---|
[26663] | 4983 | ac_cv_safe_to_define___extensions__=no
|
---|
[25149] | 4984 | fi
|
---|
| 4985 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4986 | fi
|
---|
[26663] | 4987 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
[25149] | 4988 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 4989 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
[26663] | 4990 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
---|
[25149] | 4991 |
|
---|
[26663] | 4992 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
---|
[25149] | 4993 |
|
---|
[26663] | 4994 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
---|
[25149] | 4995 |
|
---|
[26663] | 4996 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
---|
[25149] | 4997 |
|
---|
[26663] | 4998 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
---|
[25149] | 4999 |
|
---|
| 5000 |
|
---|
[26663] | 5001 |
|
---|
| 5002 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
|
---|
[25149] | 5003 | $as_echo_n "checking for library containing strerror... " >&6; }
|
---|
[26663] | 5004 | if ${ac_cv_search_strerror+:} false; then :
|
---|
[25149] | 5005 | $as_echo_n "(cached) " >&6
|
---|
| 5006 | else
|
---|
| 5007 | ac_func_search_save_LIBS=$LIBS
|
---|
[26663] | 5008 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 5009 | /* end confdefs.h. */
|
---|
| 5010 |
|
---|
| 5011 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5012 | Use char because int might match the return type of a GCC
|
---|
| 5013 | builtin and then its argument prototype would still apply. */
|
---|
| 5014 | #ifdef __cplusplus
|
---|
| 5015 | extern "C"
|
---|
| 5016 | #endif
|
---|
| 5017 | char strerror ();
|
---|
| 5018 | int
|
---|
| 5019 | main ()
|
---|
| 5020 | {
|
---|
| 5021 | return strerror ();
|
---|
| 5022 | ;
|
---|
| 5023 | return 0;
|
---|
| 5024 | }
|
---|
| 5025 | _ACEOF
|
---|
| 5026 | for ac_lib in '' cposix; do
|
---|
| 5027 | if test -z "$ac_lib"; then
|
---|
| 5028 | ac_res="none required"
|
---|
[23800] | 5029 | else
|
---|
[25149] | 5030 | ac_res=-l$ac_lib
|
---|
| 5031 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
[23800] | 5032 | fi
|
---|
[26663] | 5033 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5034 | ac_cv_search_strerror=$ac_res
|
---|
[16565] | 5035 | fi
|
---|
[26663] | 5036 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5037 | conftest$ac_exeext
|
---|
| 5038 | if ${ac_cv_search_strerror+:} false; then :
|
---|
[25149] | 5039 | break
|
---|
| 5040 | fi
|
---|
| 5041 | done
|
---|
[26663] | 5042 | if ${ac_cv_search_strerror+:} false; then :
|
---|
| 5043 |
|
---|
[25149] | 5044 | else
|
---|
| 5045 | ac_cv_search_strerror=no
|
---|
| 5046 | fi
|
---|
| 5047 | rm conftest.$ac_ext
|
---|
| 5048 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5049 | fi
|
---|
[26663] | 5050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
|
---|
[25149] | 5051 | $as_echo "$ac_cv_search_strerror" >&6; }
|
---|
| 5052 | ac_res=$ac_cv_search_strerror
|
---|
[26663] | 5053 | if test "$ac_res" != no; then :
|
---|
[25149] | 5054 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
| 5055 |
|
---|
| 5056 | fi
|
---|
| 5057 |
|
---|
| 5058 |
|
---|
[26663] | 5059 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
[25149] | 5060 | $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
|
---|
[26663] | 5061 | if ${ac_cv_prog_cc_stdc+:} false; then :
|
---|
[25149] | 5062 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5063 | else
|
---|
| 5064 | ac_cv_prog_cc_stdc=no
|
---|
| 5065 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 5066 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 5067 | # breaks some systems' header files.
|
---|
| 5068 | # AIX -qlanglvl=ansi
|
---|
| 5069 | # Ultrix and OSF/1 -std1
|
---|
| 5070 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 5071 | # SVR4 -Xc
|
---|
| 5072 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 5073 | do
|
---|
| 5074 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[26663] | 5075 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5076 | /* end confdefs.h. */
|
---|
| 5077 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 5078 | choke me
|
---|
| 5079 | #endif
|
---|
| 5080 |
|
---|
| 5081 | int
|
---|
| 5082 | main ()
|
---|
| 5083 | {
|
---|
| 5084 | int test (int i, double x);
|
---|
| 5085 | struct s1 {int (*f) (int a);};
|
---|
| 5086 | struct s2 {int (*f) (double a);};
|
---|
| 5087 | ;
|
---|
| 5088 | return 0;
|
---|
| 5089 | }
|
---|
| 5090 | _ACEOF
|
---|
[26663] | 5091 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 5092 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 5093 | fi
|
---|
[25149] | 5094 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 5095 | done
|
---|
| 5096 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 5097 |
|
---|
| 5098 | fi
|
---|
| 5099 |
|
---|
[26663] | 5100 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
---|
[25149] | 5101 | $as_echo "$ac_cv_prog_cc_stdc" >&6; }
|
---|
[16565] | 5102 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 5103 | x|xno) ;;
|
---|
| 5104 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 5105 | esac
|
---|
| 5106 |
|
---|
| 5107 |
|
---|
[26663] | 5108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
---|
[25149] | 5109 | $as_echo_n "checking for function prototypes... " >&6; }
|
---|
[16565] | 5110 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[26663] | 5111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 5112 | $as_echo "yes" >&6; }
|
---|
[26663] | 5113 | $as_echo "#define PROTOTYPES 1" >>confdefs.h
|
---|
[16565] | 5114 |
|
---|
| 5115 | U= ANSI2KNR=
|
---|
| 5116 | else
|
---|
[26663] | 5117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 5118 | $as_echo "no" >&6; }
|
---|
[16565] | 5119 | U=_ ANSI2KNR=ansi2knr
|
---|
| 5120 | fi
|
---|
| 5121 |
|
---|
[26663] | 5122 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
---|
[25149] | 5123 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
[26663] | 5124 | if ${ac_cv_c_const+:} false; then :
|
---|
[25149] | 5125 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5126 | else
|
---|
[26663] | 5127 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5128 | /* end confdefs.h. */
|
---|
| 5129 |
|
---|
| 5130 | int
|
---|
| 5131 | main ()
|
---|
| 5132 | {
|
---|
| 5133 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 5134 | #ifndef __cplusplus
|
---|
| 5135 | /* Ultrix mips cc rejects this. */
|
---|
| 5136 | typedef int charset[2];
|
---|
[25149] | 5137 | const charset cs;
|
---|
[16565] | 5138 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[25149] | 5139 | char const *const *pcpcc;
|
---|
| 5140 | char **ppc;
|
---|
[16565] | 5141 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 5142 | struct point {int x, y;};
|
---|
| 5143 | static struct point const zero = {0,0};
|
---|
| 5144 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 5145 | It does not let you subtract one const X* pointer from another in
|
---|
| 5146 | an arm of an if-expression whose if-part is not a constant
|
---|
| 5147 | expression */
|
---|
| 5148 | const char *g = "string";
|
---|
[25149] | 5149 | pcpcc = &g + (g ? g-g : 0);
|
---|
[16565] | 5150 | /* HPUX 7.0 cc rejects these. */
|
---|
[25149] | 5151 | ++pcpcc;
|
---|
| 5152 | ppc = (char**) pcpcc;
|
---|
| 5153 | pcpcc = (char const *const *) ppc;
|
---|
[16565] | 5154 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 5155 | char *t;
|
---|
| 5156 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 5157 |
|
---|
| 5158 | *t++ = 0;
|
---|
[25149] | 5159 | if (s) return 0;
|
---|
[16565] | 5160 | }
|
---|
| 5161 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 5162 | int x[] = {25, 17};
|
---|
| 5163 | const int *foo = &x[0];
|
---|
| 5164 | ++foo;
|
---|
| 5165 | }
|
---|
| 5166 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 5167 | typedef const int *iptr;
|
---|
| 5168 | iptr p = 0;
|
---|
| 5169 | ++p;
|
---|
| 5170 | }
|
---|
| 5171 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 5172 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 5173 | struct s { int j; const int *ap[3]; };
|
---|
| 5174 | struct s *b; b->j = 5;
|
---|
| 5175 | }
|
---|
| 5176 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 5177 | const int foo = 10;
|
---|
[25149] | 5178 | if (!foo) return 0;
|
---|
[16565] | 5179 | }
|
---|
[25149] | 5180 | return !cs[0] && !zero.x;
|
---|
[16565] | 5181 | #endif
|
---|
| 5182 |
|
---|
| 5183 | ;
|
---|
| 5184 | return 0;
|
---|
| 5185 | }
|
---|
| 5186 | _ACEOF
|
---|
[26663] | 5187 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 5188 | ac_cv_c_const=yes
|
---|
| 5189 | else
|
---|
[26663] | 5190 | ac_cv_c_const=no
|
---|
[16565] | 5191 | fi
|
---|
[25149] | 5192 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 5193 | fi
|
---|
[26663] | 5194 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
---|
[25149] | 5195 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
[16565] | 5196 | if test $ac_cv_c_const = no; then
|
---|
| 5197 |
|
---|
[26663] | 5198 | $as_echo "#define const /**/" >>confdefs.h
|
---|
[16565] | 5199 |
|
---|
| 5200 | fi
|
---|
| 5201 |
|
---|
[26663] | 5202 | ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
---|
| 5203 | if test "x$ac_cv_type_off_t" = xyes; then :
|
---|
[16565] | 5204 |
|
---|
[25149] | 5205 | else
|
---|
| 5206 |
|
---|
[16565] | 5207 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5208 | #define off_t long int
|
---|
[16565] | 5209 | _ACEOF
|
---|
| 5210 |
|
---|
| 5211 | fi
|
---|
| 5212 |
|
---|
[26663] | 5213 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 5214 | if test "x$ac_cv_type_size_t" = xyes; then :
|
---|
[16565] | 5215 |
|
---|
[25149] | 5216 | else
|
---|
| 5217 |
|
---|
[16565] | 5218 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5219 | #define size_t unsigned int
|
---|
[16565] | 5220 | _ACEOF
|
---|
| 5221 |
|
---|
| 5222 | fi
|
---|
| 5223 |
|
---|
[26663] | 5224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
---|
[25149] | 5225 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
---|
[26663] | 5226 | if ${ac_cv_header_time+:} false; then :
|
---|
[25149] | 5227 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5228 | else
|
---|
[26663] | 5229 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5230 | /* end confdefs.h. */
|
---|
| 5231 | #include <sys/types.h>
|
---|
| 5232 | #include <sys/time.h>
|
---|
| 5233 | #include <time.h>
|
---|
| 5234 |
|
---|
| 5235 | int
|
---|
| 5236 | main ()
|
---|
| 5237 | {
|
---|
| 5238 | if ((struct tm *) 0)
|
---|
| 5239 | return 0;
|
---|
| 5240 | ;
|
---|
| 5241 | return 0;
|
---|
| 5242 | }
|
---|
| 5243 | _ACEOF
|
---|
[26663] | 5244 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 5245 | ac_cv_header_time=yes
|
---|
| 5246 | else
|
---|
[26663] | 5247 | ac_cv_header_time=no
|
---|
[16565] | 5248 | fi
|
---|
[25149] | 5249 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 5250 | fi
|
---|
[26663] | 5251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
---|
[25149] | 5252 | $as_echo "$ac_cv_header_time" >&6; }
|
---|
[16565] | 5253 | if test $ac_cv_header_time = yes; then
|
---|
| 5254 |
|
---|
[26663] | 5255 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
---|
[16565] | 5256 |
|
---|
| 5257 | fi
|
---|
| 5258 |
|
---|
[26663] | 5259 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
[25149] | 5260 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
---|
[26663] | 5261 | if ${ac_cv_struct_tm+:} false; then :
|
---|
[25149] | 5262 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5263 | else
|
---|
[26663] | 5264 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5265 | /* end confdefs.h. */
|
---|
| 5266 | #include <sys/types.h>
|
---|
| 5267 | #include <time.h>
|
---|
| 5268 |
|
---|
| 5269 | int
|
---|
| 5270 | main ()
|
---|
| 5271 | {
|
---|
[25149] | 5272 | struct tm tm;
|
---|
| 5273 | int *p = &tm.tm_sec;
|
---|
| 5274 | return !p;
|
---|
[16565] | 5275 | ;
|
---|
| 5276 | return 0;
|
---|
| 5277 | }
|
---|
| 5278 | _ACEOF
|
---|
[26663] | 5279 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 5280 | ac_cv_struct_tm=time.h
|
---|
| 5281 | else
|
---|
[26663] | 5282 | ac_cv_struct_tm=sys/time.h
|
---|
[16565] | 5283 | fi
|
---|
[25149] | 5284 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 5285 | fi
|
---|
[26663] | 5286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
---|
[25149] | 5287 | $as_echo "$ac_cv_struct_tm" >&6; }
|
---|
[16565] | 5288 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5289 |
|
---|
[26663] | 5290 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
---|
[16565] | 5291 |
|
---|
| 5292 | fi
|
---|
| 5293 |
|
---|
| 5294 |
|
---|
| 5295 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[26663] | 5296 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5297 | /* end confdefs.h. */
|
---|
| 5298 | #include <stdio.h>
|
---|
| 5299 |
|
---|
| 5300 | int
|
---|
| 5301 | main ()
|
---|
| 5302 | {
|
---|
| 5303 | FILE *rubbish = popen("yes", "r");
|
---|
| 5304 | ;
|
---|
| 5305 | return 0;
|
---|
| 5306 | }
|
---|
| 5307 | _ACEOF
|
---|
[26663] | 5308 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5309 |
|
---|
[23800] | 5310 | else
|
---|
[26663] | 5311 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[16565] | 5312 | fi
|
---|
[25149] | 5313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 5314 | fi
|
---|
| 5315 |
|
---|
| 5316 |
|
---|
[26663] | 5317 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
|
---|
[25149] | 5318 | $as_echo_n "checking for main in -lg... " >&6; }
|
---|
[26663] | 5319 | if ${ac_cv_lib_g_main+:} false; then :
|
---|
[25149] | 5320 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5321 | else
|
---|
| 5322 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5323 | LIBS="-lg $LIBS"
|
---|
[26663] | 5324 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5325 | /* end confdefs.h. */
|
---|
| 5326 |
|
---|
| 5327 |
|
---|
| 5328 | int
|
---|
| 5329 | main ()
|
---|
| 5330 | {
|
---|
[25149] | 5331 | return main ();
|
---|
[16565] | 5332 | ;
|
---|
| 5333 | return 0;
|
---|
| 5334 | }
|
---|
| 5335 | _ACEOF
|
---|
[26663] | 5336 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16565] | 5337 | ac_cv_lib_g_main=yes
|
---|
| 5338 | else
|
---|
[26663] | 5339 | ac_cv_lib_g_main=no
|
---|
[16565] | 5340 | fi
|
---|
[26663] | 5341 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5342 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16565] | 5343 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5344 | fi
|
---|
[26663] | 5345 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
|
---|
[25149] | 5346 | $as_echo "$ac_cv_lib_g_main" >&6; }
|
---|
[26663] | 5347 | if test "x$ac_cv_lib_g_main" = xyes; then :
|
---|
[16565] | 5348 | cat >>confdefs.h <<_ACEOF
|
---|
| 5349 | #define HAVE_LIBG 1
|
---|
| 5350 | _ACEOF
|
---|
| 5351 |
|
---|
| 5352 | LIBS="-lg $LIBS"
|
---|
| 5353 |
|
---|
| 5354 | fi
|
---|
| 5355 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
| 5356 |
|
---|
[26663] | 5357 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
---|
[25149] | 5358 | $as_echo_n "checking for main in -lm... " >&6; }
|
---|
[26663] | 5359 | if ${ac_cv_lib_m_main+:} false; then :
|
---|
[25149] | 5360 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5361 | else
|
---|
| 5362 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5363 | LIBS="-lm $LIBS"
|
---|
[26663] | 5364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5365 | /* end confdefs.h. */
|
---|
| 5366 |
|
---|
| 5367 |
|
---|
| 5368 | int
|
---|
| 5369 | main ()
|
---|
| 5370 | {
|
---|
[25149] | 5371 | return main ();
|
---|
[16565] | 5372 | ;
|
---|
| 5373 | return 0;
|
---|
| 5374 | }
|
---|
| 5375 | _ACEOF
|
---|
[26663] | 5376 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16565] | 5377 | ac_cv_lib_m_main=yes
|
---|
| 5378 | else
|
---|
[26663] | 5379 | ac_cv_lib_m_main=no
|
---|
[16565] | 5380 | fi
|
---|
[26663] | 5381 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5382 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16565] | 5383 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5384 | fi
|
---|
[26663] | 5385 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
---|
[25149] | 5386 | $as_echo "$ac_cv_lib_m_main" >&6; }
|
---|
[26663] | 5387 | if test "x$ac_cv_lib_m_main" = xyes; then :
|
---|
[16565] | 5388 | cat >>confdefs.h <<_ACEOF
|
---|
| 5389 | #define HAVE_LIBM 1
|
---|
| 5390 | _ACEOF
|
---|
| 5391 |
|
---|
| 5392 | LIBS="-lm $LIBS"
|
---|
| 5393 |
|
---|
| 5394 | fi
|
---|
| 5395 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
| 5396 |
|
---|
[26663] | 5397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
|
---|
[25149] | 5398 | $as_echo_n "checking for main in -lcrypt... " >&6; }
|
---|
[26663] | 5399 | if ${ac_cv_lib_crypt_main+:} false; then :
|
---|
[25149] | 5400 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5401 | else
|
---|
| 5402 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5403 | LIBS="-lcrypt $LIBS"
|
---|
[26663] | 5404 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5405 | /* end confdefs.h. */
|
---|
| 5406 |
|
---|
| 5407 |
|
---|
| 5408 | int
|
---|
| 5409 | main ()
|
---|
| 5410 | {
|
---|
[25149] | 5411 | return main ();
|
---|
[16565] | 5412 | ;
|
---|
| 5413 | return 0;
|
---|
| 5414 | }
|
---|
| 5415 | _ACEOF
|
---|
[26663] | 5416 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16565] | 5417 | ac_cv_lib_crypt_main=yes
|
---|
| 5418 | else
|
---|
[26663] | 5419 | ac_cv_lib_crypt_main=no
|
---|
[16565] | 5420 | fi
|
---|
[26663] | 5421 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5422 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16565] | 5423 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5424 | fi
|
---|
[26663] | 5425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
|
---|
[25149] | 5426 | $as_echo "$ac_cv_lib_crypt_main" >&6; }
|
---|
[26663] | 5427 | if test "x$ac_cv_lib_crypt_main" = xyes; then :
|
---|
[16565] | 5428 | cat >>confdefs.h <<_ACEOF
|
---|
| 5429 | #define HAVE_LIBCRYPT 1
|
---|
| 5430 | _ACEOF
|
---|
| 5431 |
|
---|
| 5432 | LIBS="-lcrypt $LIBS"
|
---|
| 5433 |
|
---|
| 5434 | fi
|
---|
| 5435 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 5436 |
|
---|
| 5437 | if test $ENABLE_ACCENTFOLD = 1; then
|
---|
[26663] | 5438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -liconv" >&5
|
---|
[25149] | 5439 | $as_echo_n "checking for main in -liconv... " >&6; }
|
---|
[26663] | 5440 | if ${ac_cv_lib_iconv_main+:} false; then :
|
---|
[25149] | 5441 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5442 | else
|
---|
| 5443 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5444 | LIBS="-liconv $LIBS"
|
---|
[26663] | 5445 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5446 | /* end confdefs.h. */
|
---|
| 5447 |
|
---|
| 5448 |
|
---|
| 5449 | int
|
---|
| 5450 | main ()
|
---|
| 5451 | {
|
---|
[25149] | 5452 | return main ();
|
---|
[16565] | 5453 | ;
|
---|
| 5454 | return 0;
|
---|
| 5455 | }
|
---|
| 5456 | _ACEOF
|
---|
[26663] | 5457 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16565] | 5458 | ac_cv_lib_iconv_main=yes
|
---|
| 5459 | else
|
---|
[26663] | 5460 | ac_cv_lib_iconv_main=no
|
---|
[16565] | 5461 | fi
|
---|
[26663] | 5462 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5463 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16565] | 5464 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5465 | fi
|
---|
[26663] | 5466 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_main" >&5
|
---|
[25149] | 5467 | $as_echo "$ac_cv_lib_iconv_main" >&6; }
|
---|
[26663] | 5468 | if test "x$ac_cv_lib_iconv_main" = xyes; then :
|
---|
[16565] | 5469 | cat >>confdefs.h <<_ACEOF
|
---|
| 5470 | #define HAVE_LIBICONV 1
|
---|
| 5471 | _ACEOF
|
---|
| 5472 |
|
---|
| 5473 | LIBS="-liconv $LIBS"
|
---|
| 5474 |
|
---|
| 5475 | fi
|
---|
| 5476 | ac_cv_lib_iconv=ac_cv_lib_iconv_main
|
---|
| 5477 |
|
---|
| 5478 | fi
|
---|
| 5479 |
|
---|
| 5480 | ac_header_dirent=no
|
---|
| 5481 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[25149] | 5482 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
[26663] | 5483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
---|
[25149] | 5484 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
---|
[26663] | 5485 | if eval \${$as_ac_Header+:} false; then :
|
---|
[25149] | 5486 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5487 | else
|
---|
[26663] | 5488 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5489 | /* end confdefs.h. */
|
---|
| 5490 | #include <sys/types.h>
|
---|
| 5491 | #include <$ac_hdr>
|
---|
| 5492 |
|
---|
| 5493 | int
|
---|
| 5494 | main ()
|
---|
| 5495 | {
|
---|
| 5496 | if ((DIR *) 0)
|
---|
| 5497 | return 0;
|
---|
| 5498 | ;
|
---|
| 5499 | return 0;
|
---|
| 5500 | }
|
---|
| 5501 | _ACEOF
|
---|
[26663] | 5502 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 5503 | eval "$as_ac_Header=yes"
|
---|
| 5504 | else
|
---|
[26663] | 5505 | eval "$as_ac_Header=no"
|
---|
[16565] | 5506 | fi
|
---|
[25149] | 5507 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 5508 | fi
|
---|
[26663] | 5509 | eval ac_res=\$$as_ac_Header
|
---|
| 5510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
[25149] | 5511 | $as_echo "$ac_res" >&6; }
|
---|
[26663] | 5512 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16565] | 5513 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5514 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[16565] | 5515 | _ACEOF
|
---|
| 5516 |
|
---|
| 5517 | ac_header_dirent=$ac_hdr; break
|
---|
| 5518 | fi
|
---|
| 5519 |
|
---|
| 5520 | done
|
---|
| 5521 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5522 | if test $ac_header_dirent = dirent.h; then
|
---|
[26663] | 5523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
[25149] | 5524 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[26663] | 5525 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5526 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5527 | else
|
---|
| 5528 | ac_func_search_save_LIBS=$LIBS
|
---|
[26663] | 5529 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5530 | /* end confdefs.h. */
|
---|
| 5531 |
|
---|
[25149] | 5532 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5533 | Use char because int might match the return type of a GCC
|
---|
| 5534 | builtin and then its argument prototype would still apply. */
|
---|
[16565] | 5535 | #ifdef __cplusplus
|
---|
| 5536 | extern "C"
|
---|
| 5537 | #endif
|
---|
| 5538 | char opendir ();
|
---|
| 5539 | int
|
---|
| 5540 | main ()
|
---|
| 5541 | {
|
---|
[25149] | 5542 | return opendir ();
|
---|
[16565] | 5543 | ;
|
---|
| 5544 | return 0;
|
---|
| 5545 | }
|
---|
| 5546 | _ACEOF
|
---|
[25149] | 5547 | for ac_lib in '' dir; do
|
---|
| 5548 | if test -z "$ac_lib"; then
|
---|
| 5549 | ac_res="none required"
|
---|
| 5550 | else
|
---|
| 5551 | ac_res=-l$ac_lib
|
---|
| 5552 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5553 | fi
|
---|
[26663] | 5554 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5555 | ac_cv_search_opendir=$ac_res
|
---|
[23800] | 5556 | fi
|
---|
[26663] | 5557 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5558 | conftest$ac_exeext
|
---|
| 5559 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5560 | break
|
---|
| 5561 | fi
|
---|
| 5562 | done
|
---|
[26663] | 5563 | if ${ac_cv_search_opendir+:} false; then :
|
---|
| 5564 |
|
---|
[16565] | 5565 | else
|
---|
[25149] | 5566 | ac_cv_search_opendir=no
|
---|
[16565] | 5567 | fi
|
---|
[25149] | 5568 | rm conftest.$ac_ext
|
---|
[16565] | 5569 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5570 | fi
|
---|
[26663] | 5571 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
[25149] | 5572 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5573 | ac_res=$ac_cv_search_opendir
|
---|
[26663] | 5574 | if test "$ac_res" != no; then :
|
---|
[25149] | 5575 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16565] | 5576 |
|
---|
| 5577 | fi
|
---|
| 5578 |
|
---|
| 5579 | else
|
---|
[26663] | 5580 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
[25149] | 5581 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[26663] | 5582 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5583 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5584 | else
|
---|
| 5585 | ac_func_search_save_LIBS=$LIBS
|
---|
[26663] | 5586 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5587 | /* end confdefs.h. */
|
---|
| 5588 |
|
---|
[25149] | 5589 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5590 | Use char because int might match the return type of a GCC
|
---|
| 5591 | builtin and then its argument prototype would still apply. */
|
---|
[16565] | 5592 | #ifdef __cplusplus
|
---|
| 5593 | extern "C"
|
---|
| 5594 | #endif
|
---|
| 5595 | char opendir ();
|
---|
| 5596 | int
|
---|
| 5597 | main ()
|
---|
| 5598 | {
|
---|
[25149] | 5599 | return opendir ();
|
---|
[16565] | 5600 | ;
|
---|
| 5601 | return 0;
|
---|
| 5602 | }
|
---|
| 5603 | _ACEOF
|
---|
[25149] | 5604 | for ac_lib in '' x; do
|
---|
| 5605 | if test -z "$ac_lib"; then
|
---|
| 5606 | ac_res="none required"
|
---|
| 5607 | else
|
---|
| 5608 | ac_res=-l$ac_lib
|
---|
| 5609 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5610 | fi
|
---|
[26663] | 5611 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5612 | ac_cv_search_opendir=$ac_res
|
---|
[23800] | 5613 | fi
|
---|
[26663] | 5614 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5615 | conftest$ac_exeext
|
---|
| 5616 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5617 | break
|
---|
| 5618 | fi
|
---|
| 5619 | done
|
---|
[26663] | 5620 | if ${ac_cv_search_opendir+:} false; then :
|
---|
| 5621 |
|
---|
[16565] | 5622 | else
|
---|
[25149] | 5623 | ac_cv_search_opendir=no
|
---|
[16565] | 5624 | fi
|
---|
[25149] | 5625 | rm conftest.$ac_ext
|
---|
[16565] | 5626 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5627 | fi
|
---|
[26663] | 5628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
[25149] | 5629 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5630 | ac_res=$ac_cv_search_opendir
|
---|
[26663] | 5631 | if test "$ac_res" != no; then :
|
---|
[25149] | 5632 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16565] | 5633 |
|
---|
| 5634 | fi
|
---|
| 5635 |
|
---|
| 5636 | fi
|
---|
| 5637 |
|
---|
[26663] | 5638 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
[25149] | 5639 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[26663] | 5640 | if ${ac_cv_header_stdc+:} false; then :
|
---|
[25149] | 5641 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5642 | else
|
---|
[26663] | 5643 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5644 | /* end confdefs.h. */
|
---|
| 5645 | #include <stdlib.h>
|
---|
| 5646 | #include <stdarg.h>
|
---|
| 5647 | #include <string.h>
|
---|
| 5648 | #include <float.h>
|
---|
| 5649 |
|
---|
| 5650 | int
|
---|
| 5651 | main ()
|
---|
| 5652 | {
|
---|
| 5653 |
|
---|
| 5654 | ;
|
---|
| 5655 | return 0;
|
---|
| 5656 | }
|
---|
| 5657 | _ACEOF
|
---|
[26663] | 5658 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16565] | 5659 | ac_cv_header_stdc=yes
|
---|
| 5660 | else
|
---|
[26663] | 5661 | ac_cv_header_stdc=no
|
---|
[16565] | 5662 | fi
|
---|
[25149] | 5663 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5664 |
|
---|
[16565] | 5665 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5666 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[26663] | 5667 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5668 | /* end confdefs.h. */
|
---|
| 5669 | #include <string.h>
|
---|
| 5670 |
|
---|
| 5671 | _ACEOF
|
---|
| 5672 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 5673 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5674 |
|
---|
[16565] | 5675 | else
|
---|
| 5676 | ac_cv_header_stdc=no
|
---|
| 5677 | fi
|
---|
| 5678 | rm -f conftest*
|
---|
| 5679 |
|
---|
| 5680 | fi
|
---|
| 5681 |
|
---|
| 5682 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5683 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[26663] | 5684 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5685 | /* end confdefs.h. */
|
---|
| 5686 | #include <stdlib.h>
|
---|
| 5687 |
|
---|
| 5688 | _ACEOF
|
---|
| 5689 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 5690 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5691 |
|
---|
[16565] | 5692 | else
|
---|
| 5693 | ac_cv_header_stdc=no
|
---|
| 5694 | fi
|
---|
| 5695 | rm -f conftest*
|
---|
| 5696 |
|
---|
| 5697 | fi
|
---|
| 5698 |
|
---|
| 5699 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5700 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[26663] | 5701 | if test "$cross_compiling" = yes; then :
|
---|
[16565] | 5702 | :
|
---|
| 5703 | else
|
---|
[26663] | 5704 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5705 | /* end confdefs.h. */
|
---|
| 5706 | #include <ctype.h>
|
---|
[25149] | 5707 | #include <stdlib.h>
|
---|
[16565] | 5708 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5709 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5710 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5711 | #else
|
---|
| 5712 | # define ISLOWER(c) \
|
---|
| 5713 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5714 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5715 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5716 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5717 | #endif
|
---|
| 5718 |
|
---|
| 5719 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5720 | int
|
---|
| 5721 | main ()
|
---|
| 5722 | {
|
---|
| 5723 | int i;
|
---|
| 5724 | for (i = 0; i < 256; i++)
|
---|
| 5725 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5726 | || toupper (i) != TOUPPER (i))
|
---|
[25149] | 5727 | return 2;
|
---|
| 5728 | return 0;
|
---|
[16565] | 5729 | }
|
---|
| 5730 | _ACEOF
|
---|
[26663] | 5731 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5732 |
|
---|
[23800] | 5733 | else
|
---|
[26663] | 5734 | ac_cv_header_stdc=no
|
---|
[16565] | 5735 | fi
|
---|
[26663] | 5736 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5737 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16565] | 5738 | fi
|
---|
[25149] | 5739 |
|
---|
[16565] | 5740 | fi
|
---|
| 5741 | fi
|
---|
[26663] | 5742 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
[25149] | 5743 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16565] | 5744 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5745 |
|
---|
[26663] | 5746 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16565] | 5747 |
|
---|
| 5748 | fi
|
---|
| 5749 |
|
---|
| 5750 | for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
|
---|
[26663] | 5751 | do :
|
---|
| 5752 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5753 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
---|
| 5754 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16565] | 5755 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5756 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[16565] | 5757 | _ACEOF
|
---|
| 5758 |
|
---|
| 5759 | fi
|
---|
| 5760 |
|
---|
| 5761 | done
|
---|
| 5762 |
|
---|
[26663] | 5763 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5764 | /* end confdefs.h. */
|
---|
| 5765 | #include <stdio.h>
|
---|
| 5766 |
|
---|
| 5767 | _ACEOF
|
---|
| 5768 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 5769 | $EGREP "fread" >/dev/null 2>&1; then :
|
---|
| 5770 | $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
|
---|
[16565] | 5771 |
|
---|
| 5772 | fi
|
---|
| 5773 | rm -f conftest*
|
---|
| 5774 |
|
---|
[26663] | 5775 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5776 | /* end confdefs.h. */
|
---|
| 5777 | #include <stdio.h>
|
---|
| 5778 |
|
---|
| 5779 | _ACEOF
|
---|
| 5780 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 5781 | $EGREP "fgetc" >/dev/null 2>&1; then :
|
---|
| 5782 | $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
|
---|
[16565] | 5783 |
|
---|
| 5784 | fi
|
---|
| 5785 | rm -f conftest*
|
---|
| 5786 |
|
---|
[26663] | 5787 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5788 | /* end confdefs.h. */
|
---|
| 5789 | #include <sys/procfs.h>
|
---|
| 5790 |
|
---|
| 5791 | _ACEOF
|
---|
| 5792 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 5793 | $EGREP "pr_brksize" >/dev/null 2>&1; then :
|
---|
| 5794 | $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
|
---|
[16565] | 5795 |
|
---|
| 5796 | fi
|
---|
| 5797 | rm -f conftest*
|
---|
| 5798 |
|
---|
| 5799 |
|
---|
| 5800 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5801 | # for constant arguments. Useless!
|
---|
[26663] | 5802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
---|
[25149] | 5803 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
[26663] | 5804 | if ${ac_cv_working_alloca_h+:} false; then :
|
---|
[25149] | 5805 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5806 | else
|
---|
[26663] | 5807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5808 | /* end confdefs.h. */
|
---|
| 5809 | #include <alloca.h>
|
---|
| 5810 | int
|
---|
| 5811 | main ()
|
---|
| 5812 | {
|
---|
| 5813 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[25149] | 5814 | if (p) return 0;
|
---|
[16565] | 5815 | ;
|
---|
| 5816 | return 0;
|
---|
| 5817 | }
|
---|
| 5818 | _ACEOF
|
---|
[26663] | 5819 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16565] | 5820 | ac_cv_working_alloca_h=yes
|
---|
| 5821 | else
|
---|
[26663] | 5822 | ac_cv_working_alloca_h=no
|
---|
[16565] | 5823 | fi
|
---|
[26663] | 5824 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5825 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16565] | 5826 | fi
|
---|
[26663] | 5827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
---|
[25149] | 5828 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
[16565] | 5829 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 5830 |
|
---|
[26663] | 5831 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
---|
[16565] | 5832 |
|
---|
| 5833 | fi
|
---|
| 5834 |
|
---|
[26663] | 5835 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
---|
[25149] | 5836 | $as_echo_n "checking for alloca... " >&6; }
|
---|
[26663] | 5837 | if ${ac_cv_func_alloca_works+:} false; then :
|
---|
[25149] | 5838 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5839 | else
|
---|
[26663] | 5840 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5841 | /* end confdefs.h. */
|
---|
| 5842 | #ifdef __GNUC__
|
---|
| 5843 | # define alloca __builtin_alloca
|
---|
| 5844 | #else
|
---|
| 5845 | # ifdef _MSC_VER
|
---|
| 5846 | # include <malloc.h>
|
---|
| 5847 | # define alloca _alloca
|
---|
| 5848 | # else
|
---|
[25149] | 5849 | # ifdef HAVE_ALLOCA_H
|
---|
[16565] | 5850 | # include <alloca.h>
|
---|
| 5851 | # else
|
---|
| 5852 | # ifdef _AIX
|
---|
| 5853 | #pragma alloca
|
---|
| 5854 | # else
|
---|
| 5855 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
[26663] | 5856 | void *alloca (size_t);
|
---|
[16565] | 5857 | # endif
|
---|
| 5858 | # endif
|
---|
| 5859 | # endif
|
---|
| 5860 | # endif
|
---|
| 5861 | #endif
|
---|
| 5862 |
|
---|
| 5863 | int
|
---|
| 5864 | main ()
|
---|
| 5865 | {
|
---|
| 5866 | char *p = (char *) alloca (1);
|
---|
[25149] | 5867 | if (p) return 0;
|
---|
[16565] | 5868 | ;
|
---|
| 5869 | return 0;
|
---|
| 5870 | }
|
---|
| 5871 | _ACEOF
|
---|
[26663] | 5872 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16565] | 5873 | ac_cv_func_alloca_works=yes
|
---|
| 5874 | else
|
---|
[26663] | 5875 | ac_cv_func_alloca_works=no
|
---|
[16565] | 5876 | fi
|
---|
[26663] | 5877 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5878 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16565] | 5879 | fi
|
---|
[26663] | 5880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
---|
[25149] | 5881 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
[16565] | 5882 |
|
---|
| 5883 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 5884 |
|
---|
[26663] | 5885 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
---|
[16565] | 5886 |
|
---|
| 5887 | else
|
---|
| 5888 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5889 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5890 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5891 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 5892 |
|
---|
[25149] | 5893 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[16565] | 5894 |
|
---|
[26663] | 5895 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
|
---|
[16565] | 5896 |
|
---|
| 5897 |
|
---|
[26663] | 5898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
[25149] | 5899 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
[26663] | 5900 | if ${ac_cv_os_cray+:} false; then :
|
---|
[25149] | 5901 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5902 | else
|
---|
[26663] | 5903 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5904 | /* end confdefs.h. */
|
---|
[25149] | 5905 | #if defined CRAY && ! defined CRAY2
|
---|
[16565] | 5906 | webecray
|
---|
| 5907 | #else
|
---|
| 5908 | wenotbecray
|
---|
| 5909 | #endif
|
---|
| 5910 |
|
---|
| 5911 | _ACEOF
|
---|
| 5912 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 5913 | $EGREP "webecray" >/dev/null 2>&1; then :
|
---|
[16565] | 5914 | ac_cv_os_cray=yes
|
---|
| 5915 | else
|
---|
| 5916 | ac_cv_os_cray=no
|
---|
| 5917 | fi
|
---|
| 5918 | rm -f conftest*
|
---|
| 5919 |
|
---|
| 5920 | fi
|
---|
[26663] | 5921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
---|
[25149] | 5922 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
[16565] | 5923 | if test $ac_cv_os_cray = yes; then
|
---|
| 5924 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[25149] | 5925 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[26663] | 5926 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 5927 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16565] | 5928 |
|
---|
| 5929 | cat >>confdefs.h <<_ACEOF
|
---|
| 5930 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 5931 | _ACEOF
|
---|
| 5932 |
|
---|
| 5933 | break
|
---|
| 5934 | fi
|
---|
| 5935 |
|
---|
| 5936 | done
|
---|
| 5937 | fi
|
---|
| 5938 |
|
---|
[26663] | 5939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
---|
[25149] | 5940 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
[26663] | 5941 | if ${ac_cv_c_stack_direction+:} false; then :
|
---|
[25149] | 5942 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5943 | else
|
---|
[26663] | 5944 | if test "$cross_compiling" = yes; then :
|
---|
[16565] | 5945 | ac_cv_c_stack_direction=0
|
---|
| 5946 | else
|
---|
[26663] | 5947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5948 | /* end confdefs.h. */
|
---|
[25149] | 5949 | $ac_includes_default
|
---|
[16565] | 5950 | int
|
---|
| 5951 | find_stack_direction ()
|
---|
| 5952 | {
|
---|
| 5953 | static char *addr = 0;
|
---|
| 5954 | auto char dummy;
|
---|
| 5955 | if (addr == 0)
|
---|
| 5956 | {
|
---|
| 5957 | addr = &dummy;
|
---|
| 5958 | return find_stack_direction ();
|
---|
| 5959 | }
|
---|
| 5960 | else
|
---|
| 5961 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5962 | }
|
---|
| 5963 |
|
---|
| 5964 | int
|
---|
| 5965 | main ()
|
---|
| 5966 | {
|
---|
[25149] | 5967 | return find_stack_direction () < 0;
|
---|
[16565] | 5968 | }
|
---|
| 5969 | _ACEOF
|
---|
[26663] | 5970 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
[16565] | 5971 | ac_cv_c_stack_direction=1
|
---|
| 5972 | else
|
---|
[26663] | 5973 | ac_cv_c_stack_direction=-1
|
---|
[16565] | 5974 | fi
|
---|
[26663] | 5975 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5976 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16565] | 5977 | fi
|
---|
[25149] | 5978 |
|
---|
[23800] | 5979 | fi
|
---|
[26663] | 5980 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
---|
[25149] | 5981 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
[16565] | 5982 | cat >>confdefs.h <<_ACEOF
|
---|
| 5983 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 5984 | _ACEOF
|
---|
| 5985 |
|
---|
| 5986 |
|
---|
| 5987 | fi
|
---|
| 5988 |
|
---|
| 5989 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[26663] | 5990 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
---|
[25149] | 5991 | $as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
---|
[26663] | 5992 | if ${ac_cv_prog_gcc_traditional+:} false; then :
|
---|
[25149] | 5993 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 5994 | else
|
---|
| 5995 | ac_pattern="Autoconf.*'x'"
|
---|
[26663] | 5996 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 5997 | /* end confdefs.h. */
|
---|
| 5998 | #include <sgtty.h>
|
---|
| 5999 | Autoconf TIOCGETP
|
---|
| 6000 | _ACEOF
|
---|
| 6001 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 6002 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16565] | 6003 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6004 | else
|
---|
| 6005 | ac_cv_prog_gcc_traditional=no
|
---|
| 6006 | fi
|
---|
| 6007 | rm -f conftest*
|
---|
| 6008 |
|
---|
| 6009 |
|
---|
| 6010 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[26663] | 6011 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6012 | /* end confdefs.h. */
|
---|
| 6013 | #include <termio.h>
|
---|
| 6014 | Autoconf TCGETA
|
---|
| 6015 | _ACEOF
|
---|
| 6016 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26663] | 6017 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16565] | 6018 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6019 | fi
|
---|
| 6020 | rm -f conftest*
|
---|
| 6021 |
|
---|
| 6022 | fi
|
---|
| 6023 | fi
|
---|
[26663] | 6024 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
[25149] | 6025 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[16565] | 6026 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 6027 | CC="$CC -traditional"
|
---|
| 6028 | fi
|
---|
| 6029 | fi
|
---|
| 6030 |
|
---|
[26663] | 6031 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
---|
[25149] | 6032 | $as_echo_n "checking return type of signal handlers... " >&6; }
|
---|
[26663] | 6033 | if ${ac_cv_type_signal+:} false; then :
|
---|
[25149] | 6034 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 6035 | else
|
---|
[26663] | 6036 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6037 | /* end confdefs.h. */
|
---|
| 6038 | #include <sys/types.h>
|
---|
| 6039 | #include <signal.h>
|
---|
| 6040 |
|
---|
| 6041 | int
|
---|
| 6042 | main ()
|
---|
| 6043 | {
|
---|
[25149] | 6044 | return *(signal (0, 0)) (0) == 1;
|
---|
[16565] | 6045 | ;
|
---|
| 6046 | return 0;
|
---|
| 6047 | }
|
---|
| 6048 | _ACEOF
|
---|
[26663] | 6049 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 6050 | ac_cv_type_signal=int
|
---|
[23356] | 6051 | else
|
---|
[26663] | 6052 | ac_cv_type_signal=void
|
---|
[16565] | 6053 | fi
|
---|
[25149] | 6054 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 6055 | fi
|
---|
[26663] | 6056 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
---|
[25149] | 6057 | $as_echo "$ac_cv_type_signal" >&6; }
|
---|
[16565] | 6058 |
|
---|
| 6059 | cat >>confdefs.h <<_ACEOF
|
---|
| 6060 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 6061 | _ACEOF
|
---|
| 6062 |
|
---|
| 6063 |
|
---|
| 6064 | for ac_func in vprintf
|
---|
[26663] | 6065 | do :
|
---|
| 6066 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
---|
| 6067 | if test "x$ac_cv_func_vprintf" = xyes; then :
|
---|
[16565] | 6068 | cat >>confdefs.h <<_ACEOF
|
---|
[26663] | 6069 | #define HAVE_VPRINTF 1
|
---|
[16565] | 6070 | _ACEOF
|
---|
| 6071 |
|
---|
[26663] | 6072 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
---|
| 6073 | if test "x$ac_cv_func__doprnt" = xyes; then :
|
---|
[16565] | 6074 |
|
---|
[26663] | 6075 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
---|
[16565] | 6076 |
|
---|
| 6077 | fi
|
---|
[25149] | 6078 |
|
---|
[23800] | 6079 | fi
|
---|
[16565] | 6080 | done
|
---|
| 6081 |
|
---|
| 6082 |
|
---|
| 6083 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[26663] | 6084 | do :
|
---|
| 6085 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6086 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 6087 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16565] | 6088 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 6089 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16565] | 6090 | _ACEOF
|
---|
| 6091 |
|
---|
| 6092 | fi
|
---|
| 6093 | done
|
---|
| 6094 |
|
---|
[26663] | 6095 | ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
|
---|
| 6096 | if test "x$ac_cv_func_ftruncate" = xyes; then :
|
---|
| 6097 | $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
|
---|
[16565] | 6098 |
|
---|
| 6099 | else
|
---|
[26663] | 6100 | case " $LIBOBJS " in
|
---|
| 6101 | *" ftruncate.$ac_objext "* ) ;;
|
---|
| 6102 | *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
|
---|
| 6103 | ;;
|
---|
[25149] | 6104 | esac
|
---|
[16565] | 6105 |
|
---|
| 6106 | fi
|
---|
[25149] | 6107 |
|
---|
[26663] | 6108 | ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
|
---|
| 6109 | if test "x$ac_cv_func_strstr" = xyes; then :
|
---|
| 6110 | $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
|
---|
[16565] | 6111 |
|
---|
| 6112 | else
|
---|
[25149] | 6113 | case " $LIBOBJS " in
|
---|
[26663] | 6114 | *" strstr.$ac_objext "* ) ;;
|
---|
| 6115 | *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
|
---|
[25149] | 6116 | ;;
|
---|
[16565] | 6117 | esac
|
---|
| 6118 |
|
---|
| 6119 | fi
|
---|
| 6120 |
|
---|
[26663] | 6121 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
|
---|
| 6122 | if test "x$ac_cv_func_strcasecmp" = xyes; then :
|
---|
| 6123 | $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
|
---|
[16565] | 6124 |
|
---|
[23800] | 6125 | else
|
---|
[26663] | 6126 | case " $LIBOBJS " in
|
---|
| 6127 | *" strcasecmp.$ac_objext "* ) ;;
|
---|
| 6128 | *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
|
---|
| 6129 | ;;
|
---|
| 6130 | esac
|
---|
[16565] | 6131 |
|
---|
[26663] | 6132 | fi
|
---|
[23800] | 6133 |
|
---|
| 6134 |
|
---|
| 6135 |
|
---|
[26663] | 6136 | ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
|
---|
| 6137 | if test "x$ac_cv_func_textdomain" = xyes; then :
|
---|
| 6138 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
---|
[23800] | 6139 |
|
---|
[16565] | 6140 | fi
|
---|
[25149] | 6141 |
|
---|
[16565] | 6142 |
|
---|
| 6143 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6144 | # ---------------------------------------------------------------------------
|
---|
[26663] | 6145 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
|
---|
[25149] | 6146 | $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
|
---|
[16565] | 6147 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[26663] | 6148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6149 | $as_echo "yes" >&6; }
|
---|
| 6150 | case " $LIBOBJS " in
|
---|
[16565] | 6151 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[25149] | 6152 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 6153 | ;;
|
---|
[16565] | 6154 | esac
|
---|
| 6155 |
|
---|
[26663] | 6156 | $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
|
---|
[16565] | 6157 |
|
---|
| 6158 | else
|
---|
[26663] | 6159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6160 | $as_echo "no" >&6; }
|
---|
[26663] | 6161 | for ac_func in valloc
|
---|
| 6162 | do :
|
---|
| 6163 | ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
|
---|
| 6164 | if test "x$ac_cv_func_valloc" = xyes; then :
|
---|
[16565] | 6165 | cat >>confdefs.h <<_ACEOF
|
---|
[26663] | 6166 | #define HAVE_VALLOC 1
|
---|
[16565] | 6167 | _ACEOF
|
---|
| 6168 |
|
---|
| 6169 | fi
|
---|
| 6170 | done
|
---|
| 6171 |
|
---|
| 6172 | fi
|
---|
| 6173 |
|
---|
| 6174 | # we cannot generate static libraries under Darwin
|
---|
[26663] | 6175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
|
---|
[25149] | 6176 | $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
|
---|
[16565] | 6177 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[26663] | 6178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6179 | $as_echo "yes" >&6; }
|
---|
[16565] | 6180 | STATIC=""
|
---|
| 6181 | else
|
---|
[26663] | 6182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6183 | $as_echo "no" >&6; }
|
---|
[16565] | 6184 | STATIC="-static "
|
---|
| 6185 | fi
|
---|
| 6186 |
|
---|
| 6187 |
|
---|
[26663] | 6188 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
|
---|
[25149] | 6189 | $as_echo_n "checking if malloc debugging is wanted... " >&6; }
|
---|
[16565] | 6190 |
|
---|
[25149] | 6191 | # Check whether --with-dmalloc was given.
|
---|
[26663] | 6192 | if test "${with_dmalloc+set}" = set; then :
|
---|
[25149] | 6193 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
[26663] | 6194 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6195 | $as_echo "yes" >&6; }
|
---|
[26663] | 6196 | $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
|
---|
[16565] | 6197 |
|
---|
| 6198 | LIBS="$LIBS -ldmalloc"
|
---|
| 6199 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6200 | else
|
---|
[26663] | 6201 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6202 | $as_echo "no" >&6; }
|
---|
[16565] | 6203 | fi
|
---|
| 6204 | else
|
---|
[26663] | 6205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6206 | $as_echo "no" >&6; }
|
---|
| 6207 | fi
|
---|
[16565] | 6208 |
|
---|
| 6209 |
|
---|
[26663] | 6210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
|
---|
[25149] | 6211 | $as_echo_n "checking which of rx or regex is wanted... " >&6; }
|
---|
| 6212 |
|
---|
| 6213 | # Check whether --with-regex was given.
|
---|
[26663] | 6214 | if test "${with_regex+set}" = set; then :
|
---|
[25149] | 6215 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[16565] | 6216 | ac_with_regex=1
|
---|
[26663] | 6217 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
|
---|
[25149] | 6218 | $as_echo "regex" >&6; }
|
---|
[26663] | 6219 | $as_echo "#define WITH_REGEX 1" >>confdefs.h
|
---|
[16565] | 6220 |
|
---|
[25149] | 6221 | case " $LIBOBJS " in
|
---|
[16565] | 6222 | *" regex.$ac_objext "* ) ;;
|
---|
[25149] | 6223 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 6224 | ;;
|
---|
[16565] | 6225 | esac
|
---|
| 6226 |
|
---|
| 6227 | fi
|
---|
[25149] | 6228 | fi
|
---|
| 6229 |
|
---|
[16565] | 6230 | if test -z "$ac_with_regex"; then
|
---|
[26663] | 6231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
|
---|
[25149] | 6232 | $as_echo "rx" >&6; }
|
---|
[26663] | 6233 | ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
|
---|
| 6234 | if test "x$ac_cv_func_re_rx_search" = xyes; then :
|
---|
[16565] | 6235 |
|
---|
| 6236 | else
|
---|
[25149] | 6237 | case " $LIBOBJS " in
|
---|
[16565] | 6238 | *" rx.$ac_objext "* ) ;;
|
---|
[25149] | 6239 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 6240 | ;;
|
---|
[16565] | 6241 | esac
|
---|
| 6242 |
|
---|
| 6243 | fi
|
---|
| 6244 |
|
---|
| 6245 | fi
|
---|
| 6246 |
|
---|
| 6247 |
|
---|
| 6248 | # ---------------------------------------------------------------------------
|
---|
| 6249 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25149] | 6250 | case " $LIBOBJS " in
|
---|
[16565] | 6251 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[25149] | 6252 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 6253 | ;;
|
---|
[16565] | 6254 | esac
|
---|
| 6255 |
|
---|
[25149] | 6256 | case " $LIBOBJS " in
|
---|
[16565] | 6257 | *" error.$ac_objext "* ) ;;
|
---|
[25149] | 6258 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6259 | ;;
|
---|
[16565] | 6260 | esac
|
---|
| 6261 |
|
---|
| 6262 | fi
|
---|
| 6263 |
|
---|
| 6264 |
|
---|
| 6265 | # ---------------------------------------------------------------------------
|
---|
| 6266 |
|
---|
[25149] | 6267 | ac_ext=cpp
|
---|
[16565] | 6268 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 6269 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 6270 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 6271 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 6272 |
|
---|
| 6273 |
|
---|
[26663] | 6274 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5
|
---|
[25149] | 6275 | $as_echo_n "checking that Perl 5 is available... " >&6; }
|
---|
[16565] | 6276 | success="no"
|
---|
| 6277 | pl_path="$PATH"
|
---|
| 6278 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 6279 | for pl_dir in $pl_path; do
|
---|
| 6280 | test -z "$pl_dir" && pl_dir=.
|
---|
| 6281 | if test -x $pl_dir/perl; then
|
---|
| 6282 | success="yes"
|
---|
| 6283 | break
|
---|
| 6284 | fi
|
---|
| 6285 | done
|
---|
| 6286 | IFS="$pl_save_ifs"
|
---|
| 6287 |
|
---|
| 6288 | if test $success = "yes"; then
|
---|
| 6289 | try=`perl configtest.pl` || try="0"
|
---|
| 6290 | try=`expr $try \> 5.000`
|
---|
| 6291 | if test $try = "1"; then
|
---|
[26663] | 6292 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
[25149] | 6293 | $as_echo "\"yes\"" >&6; }
|
---|
[16565] | 6294 | else
|
---|
| 6295 | success="no"
|
---|
| 6296 | fi
|
---|
| 6297 | fi
|
---|
| 6298 |
|
---|
| 6299 | if test $success = "no"; then
|
---|
[26663] | 6300 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
[25149] | 6301 | $as_echo "\"no\"" >&6; }
|
---|
[26663] | 6302 | as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5
|
---|
[16565] | 6303 | fi
|
---|
| 6304 |
|
---|
| 6305 | success=no
|
---|
[26663] | 6306 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
|
---|
[25149] | 6307 | $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
|
---|
[16565] | 6308 |
|
---|
[18214] | 6309 |
|
---|
[26663] | 6310 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6311 | /* end confdefs.h. */
|
---|
| 6312 | #include <vector>
|
---|
| 6313 |
|
---|
| 6314 | int
|
---|
| 6315 | main ()
|
---|
| 6316 | {
|
---|
| 6317 |
|
---|
| 6318 | ;
|
---|
| 6319 | return 0;
|
---|
| 6320 | }
|
---|
| 6321 | _ACEOF
|
---|
[26663] | 6322 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 6323 | success=yes
|
---|
| 6324 | fi
|
---|
[25149] | 6325 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6326 |
|
---|
[16565] | 6327 | if test $success = "no"; then
|
---|
[26663] | 6328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6329 | /* end confdefs.h. */
|
---|
| 6330 | #include <vector.h>
|
---|
| 6331 |
|
---|
| 6332 | int
|
---|
| 6333 | main ()
|
---|
| 6334 | {
|
---|
| 6335 |
|
---|
| 6336 | ;
|
---|
| 6337 | return 0;
|
---|
| 6338 | }
|
---|
| 6339 | _ACEOF
|
---|
[26663] | 6340 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 6341 | success="yes"
|
---|
| 6342 | fi
|
---|
[25149] | 6343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 6344 | fi
|
---|
| 6345 |
|
---|
| 6346 | if test $success = "no"; then
|
---|
[26663] | 6347 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6348 | /* end confdefs.h. */
|
---|
| 6349 | #include <ospace\\std\\vector>
|
---|
| 6350 |
|
---|
| 6351 | int
|
---|
| 6352 | main ()
|
---|
| 6353 | {
|
---|
| 6354 |
|
---|
| 6355 | ;
|
---|
| 6356 | return 0;
|
---|
| 6357 | }
|
---|
| 6358 | _ACEOF
|
---|
[26663] | 6359 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 6360 | success="yes"
|
---|
| 6361 | fi
|
---|
[25149] | 6362 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 6363 | fi
|
---|
| 6364 |
|
---|
| 6365 | if test $success = yes; then
|
---|
[26663] | 6366 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
[25149] | 6367 | $as_echo "\"no\"" >&6; }
|
---|
[16565] | 6368 | else
|
---|
[26663] | 6369 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
[25149] | 6370 | $as_echo "\"yes\"" >&6; }
|
---|
[26663] | 6371 | as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
|
---|
[16565] | 6372 | fi
|
---|
| 6373 |
|
---|
| 6374 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
| 6375 | # check for running bash under cygwin
|
---|
| 6376 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 6377 | then
|
---|
| 6378 | gsdlos=windows
|
---|
| 6379 | fi
|
---|
[26663] | 6380 | if test "x$crossOS" != "x" ; then
|
---|
| 6381 | gsdlos=$crossOS
|
---|
| 6382 | gsdlarch=""
|
---|
| 6383 | fi
|
---|
[16565] | 6384 |
|
---|
| 6385 |
|
---|
[26663] | 6386 |
|
---|
[16565] | 6387 | # check for endianness
|
---|
[26663] | 6388 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
---|
[25149] | 6389 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
---|
[26663] | 6390 | if ${ac_cv_c_bigendian+:} false; then :
|
---|
[25149] | 6391 | $as_echo_n "(cached) " >&6
|
---|
[16565] | 6392 | else
|
---|
[25149] | 6393 | ac_cv_c_bigendian=unknown
|
---|
| 6394 | # See if we're dealing with a universal compiler.
|
---|
[26663] | 6395 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6396 | /* end confdefs.h. */
|
---|
[25149] | 6397 | #ifndef __APPLE_CC__
|
---|
| 6398 | not a universal capable compiler
|
---|
| 6399 | #endif
|
---|
| 6400 | typedef int dummy;
|
---|
| 6401 |
|
---|
| 6402 | _ACEOF
|
---|
[26663] | 6403 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6404 |
|
---|
| 6405 | # Check for potential -arch flags. It is not universal unless
|
---|
[26663] | 6406 | # there are at least two -arch flags with different values.
|
---|
| 6407 | ac_arch=
|
---|
| 6408 | ac_prev=
|
---|
| 6409 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
---|
| 6410 | if test -n "$ac_prev"; then
|
---|
| 6411 | case $ac_word in
|
---|
| 6412 | i?86 | x86_64 | ppc | ppc64)
|
---|
| 6413 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
---|
| 6414 | ac_arch=$ac_word
|
---|
| 6415 | else
|
---|
| 6416 | ac_cv_c_bigendian=universal
|
---|
| 6417 | break
|
---|
| 6418 | fi
|
---|
| 6419 | ;;
|
---|
| 6420 | esac
|
---|
| 6421 | ac_prev=
|
---|
| 6422 | elif test "x$ac_word" = "x-arch"; then
|
---|
| 6423 | ac_prev=arch
|
---|
| 6424 | fi
|
---|
| 6425 | done
|
---|
[25149] | 6426 | fi
|
---|
| 6427 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6428 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6429 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
[26663] | 6430 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6431 | /* end confdefs.h. */
|
---|
[16565] | 6432 | #include <sys/types.h>
|
---|
[25149] | 6433 | #include <sys/param.h>
|
---|
[16565] | 6434 |
|
---|
| 6435 | int
|
---|
| 6436 | main ()
|
---|
| 6437 | {
|
---|
[25149] | 6438 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
---|
| 6439 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
---|
| 6440 | && LITTLE_ENDIAN)
|
---|
| 6441 | bogus endian macros
|
---|
| 6442 | #endif
|
---|
[16565] | 6443 |
|
---|
| 6444 | ;
|
---|
| 6445 | return 0;
|
---|
| 6446 | }
|
---|
| 6447 | _ACEOF
|
---|
[26663] | 6448 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 6449 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[26663] | 6450 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6451 | /* end confdefs.h. */
|
---|
| 6452 | #include <sys/types.h>
|
---|
[25149] | 6453 | #include <sys/param.h>
|
---|
[16565] | 6454 |
|
---|
| 6455 | int
|
---|
| 6456 | main ()
|
---|
| 6457 | {
|
---|
| 6458 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[25149] | 6459 | not big endian
|
---|
| 6460 | #endif
|
---|
[16565] | 6461 |
|
---|
| 6462 | ;
|
---|
| 6463 | return 0;
|
---|
| 6464 | }
|
---|
| 6465 | _ACEOF
|
---|
[26663] | 6466 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 6467 | ac_cv_c_bigendian=yes
|
---|
| 6468 | else
|
---|
[26663] | 6469 | ac_cv_c_bigendian=no
|
---|
[16565] | 6470 | fi
|
---|
[25149] | 6471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6472 | fi
|
---|
| 6473 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6474 | fi
|
---|
| 6475 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6476 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
---|
[26663] | 6477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6478 | /* end confdefs.h. */
|
---|
[25149] | 6479 | #include <limits.h>
|
---|
| 6480 |
|
---|
[16565] | 6481 | int
|
---|
| 6482 | main ()
|
---|
| 6483 | {
|
---|
[25149] | 6484 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
---|
| 6485 | bogus endian macros
|
---|
| 6486 | #endif
|
---|
| 6487 |
|
---|
[16565] | 6488 | ;
|
---|
| 6489 | return 0;
|
---|
| 6490 | }
|
---|
| 6491 | _ACEOF
|
---|
[26663] | 6492 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6493 | # It does; now see whether it defined to _BIG_ENDIAN or not.
|
---|
[26663] | 6494 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6495 | /* end confdefs.h. */
|
---|
| 6496 | #include <limits.h>
|
---|
| 6497 |
|
---|
| 6498 | int
|
---|
| 6499 | main ()
|
---|
| 6500 | {
|
---|
| 6501 | #ifndef _BIG_ENDIAN
|
---|
| 6502 | not big endian
|
---|
| 6503 | #endif
|
---|
| 6504 |
|
---|
| 6505 | ;
|
---|
| 6506 | return 0;
|
---|
| 6507 | }
|
---|
| 6508 | _ACEOF
|
---|
[26663] | 6509 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16565] | 6510 | ac_cv_c_bigendian=yes
|
---|
[25149] | 6511 | else
|
---|
[26663] | 6512 | ac_cv_c_bigendian=no
|
---|
[16565] | 6513 | fi
|
---|
[25149] | 6514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 6515 | fi
|
---|
[25149] | 6516 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6517 | fi
|
---|
| 6518 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6519 | # Compile a test program.
|
---|
[26663] | 6520 | if test "$cross_compiling" = yes; then :
|
---|
[25149] | 6521 | # Try to guess by grepping values from an object file.
|
---|
[26663] | 6522 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6523 | /* end confdefs.h. */
|
---|
| 6524 | short int ascii_mm[] =
|
---|
| 6525 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 6526 | short int ascii_ii[] =
|
---|
| 6527 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 6528 | int use_ascii (int i) {
|
---|
| 6529 | return ascii_mm[i] + ascii_ii[i];
|
---|
| 6530 | }
|
---|
| 6531 | short int ebcdic_ii[] =
|
---|
| 6532 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 6533 | short int ebcdic_mm[] =
|
---|
| 6534 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 6535 | int use_ebcdic (int i) {
|
---|
| 6536 | return ebcdic_mm[i] + ebcdic_ii[i];
|
---|
| 6537 | }
|
---|
| 6538 | extern int foo;
|
---|
| 6539 |
|
---|
| 6540 | int
|
---|
| 6541 | main ()
|
---|
| 6542 | {
|
---|
| 6543 | return use_ascii (foo) == use_ebcdic (foo);
|
---|
| 6544 | ;
|
---|
| 6545 | return 0;
|
---|
| 6546 | }
|
---|
| 6547 | _ACEOF
|
---|
[26663] | 6548 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6549 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
---|
| 6550 | ac_cv_c_bigendian=yes
|
---|
| 6551 | fi
|
---|
| 6552 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 6553 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 6554 | ac_cv_c_bigendian=no
|
---|
| 6555 | else
|
---|
| 6556 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 6557 | ac_cv_c_bigendian=unknown
|
---|
| 6558 | fi
|
---|
| 6559 | fi
|
---|
[16565] | 6560 | fi
|
---|
[25149] | 6561 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16565] | 6562 | else
|
---|
[26663] | 6563 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16565] | 6564 | /* end confdefs.h. */
|
---|
[25149] | 6565 | $ac_includes_default
|
---|
[16565] | 6566 | int
|
---|
| 6567 | main ()
|
---|
| 6568 | {
|
---|
[25149] | 6569 |
|
---|
| 6570 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 6571 | union
|
---|
| 6572 | {
|
---|
| 6573 | long int l;
|
---|
| 6574 | char c[sizeof (long int)];
|
---|
| 6575 | } u;
|
---|
| 6576 | u.l = 1;
|
---|
| 6577 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 6578 |
|
---|
| 6579 | ;
|
---|
| 6580 | return 0;
|
---|
[16565] | 6581 | }
|
---|
| 6582 | _ACEOF
|
---|
[26663] | 6583 | if ac_fn_cxx_try_run "$LINENO"; then :
|
---|
[16565] | 6584 | ac_cv_c_bigendian=no
|
---|
| 6585 | else
|
---|
[26663] | 6586 | ac_cv_c_bigendian=yes
|
---|
[16565] | 6587 | fi
|
---|
[26663] | 6588 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6589 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16565] | 6590 | fi
|
---|
[25149] | 6591 |
|
---|
| 6592 | fi
|
---|
[16565] | 6593 | fi
|
---|
[26663] | 6594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
---|
[25149] | 6595 | $as_echo "$ac_cv_c_bigendian" >&6; }
|
---|
| 6596 | case $ac_cv_c_bigendian in #(
|
---|
| 6597 | yes)
|
---|
[26663] | 6598 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
---|
[25149] | 6599 | ;; #(
|
---|
| 6600 | no)
|
---|
| 6601 | ;; #(
|
---|
| 6602 | universal)
|
---|
[16565] | 6603 |
|
---|
[26663] | 6604 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
---|
[25149] | 6605 |
|
---|
| 6606 | ;; #(
|
---|
| 6607 | *)
|
---|
[26663] | 6608 | as_fn_error $? "unknown endianness
|
---|
| 6609 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
---|
[25149] | 6610 | esac
|
---|
[16565] | 6611 |
|
---|
| 6612 | # ---------------------------------------------------------------------------
|
---|
| 6613 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25149] | 6614 | case " $LIBOBJS " in
|
---|
[16565] | 6615 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[25149] | 6616 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 6617 | ;;
|
---|
[16565] | 6618 | esac
|
---|
| 6619 |
|
---|
[25149] | 6620 | case " $LIBOBJS " in
|
---|
[16565] | 6621 | *" error.$ac_objext "* ) ;;
|
---|
[25149] | 6622 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6623 | ;;
|
---|
[16565] | 6624 | esac
|
---|
| 6625 |
|
---|
| 6626 | fi
|
---|
| 6627 |
|
---|
| 6628 | # ---------------------------------------------------------------------------
|
---|
| 6629 |
|
---|
| 6630 | moduleDirs=""
|
---|
| 6631 | MODULEDIRS=""
|
---|
[16594] | 6632 | if test -d modules ; then
|
---|
[16565] | 6633 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 6634 | if test -d "$x"; then
|
---|
| 6635 | d="$x/Makefile.in"
|
---|
| 6636 | if test -e "$d"; then
|
---|
| 6637 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 6638 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 6639 | fi
|
---|
| 6640 | fi
|
---|
| 6641 | done
|
---|
| 6642 | echo "Making $moduleDirs in modules directory"
|
---|
| 6643 |
|
---|
| 6644 | fi
|
---|
| 6645 |
|
---|
| 6646 |
|
---|
| 6647 | # ---------------------------------------------------------------------------
|
---|
| 6648 |
|
---|
| 6649 |
|
---|
| 6650 | subdirs="$subdirs packages"
|
---|
| 6651 |
|
---|
| 6652 |
|
---|
| 6653 | # the list of folders in the src folder
|
---|
| 6654 | srclist="src/hashfile/Makefile \
|
---|
[23356] | 6655 | src/phind/generate/Makefile \
|
---|
[23800] | 6656 | src/java/org/nzdl/gsdl/Makefile"
|
---|
[16565] | 6657 |
|
---|
[25149] | 6658 | ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
|
---|
| 6659 |
|
---|
[16565] | 6660 | cat >confcache <<\_ACEOF
|
---|
| 6661 | # This file is a shell script that caches the results of configure
|
---|
| 6662 | # tests run on this system so they can be shared between configure
|
---|
| 6663 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 6664 | # It is not useful on other systems. If it contains results you don't
|
---|
| 6665 | # want to keep, you may remove or edit it.
|
---|
| 6666 | #
|
---|
| 6667 | # config.status only pays attention to the cache file if you give it
|
---|
| 6668 | # the --recheck option to rerun configure.
|
---|
| 6669 | #
|
---|
| 6670 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6671 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6672 | # following values.
|
---|
| 6673 |
|
---|
| 6674 | _ACEOF
|
---|
| 6675 |
|
---|
| 6676 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6677 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[25149] | 6678 | # So, we kill variables containing newlines.
|
---|
[16565] | 6679 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6680 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[25149] | 6681 | (
|
---|
| 6682 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 6683 | eval ac_val=\$$ac_var
|
---|
| 6684 | case $ac_val in #(
|
---|
| 6685 | *${as_nl}*)
|
---|
| 6686 | case $ac_var in #(
|
---|
[26663] | 6687 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[25149] | 6688 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 6689 | esac
|
---|
| 6690 | case $ac_var in #(
|
---|
| 6691 | _ | IFS | as_nl) ;; #(
|
---|
| 6692 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[26663] | 6693 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
[25149] | 6694 | esac ;;
|
---|
| 6695 | esac
|
---|
| 6696 | done
|
---|
| 6697 |
|
---|
[16565] | 6698 | (set) 2>&1 |
|
---|
[25149] | 6699 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 6700 | *${as_nl}ac_space=\ *)
|
---|
[26663] | 6701 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 6702 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
[16565] | 6703 | sed -n \
|
---|
| 6704 | "s/'/'\\\\''/g;
|
---|
| 6705 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[25149] | 6706 | ;; #(
|
---|
[16565] | 6707 | *)
|
---|
| 6708 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[25149] | 6709 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16565] | 6710 | ;;
|
---|
[25149] | 6711 | esac |
|
---|
| 6712 | sort
|
---|
| 6713 | ) |
|
---|
[16565] | 6714 | sed '
|
---|
[25149] | 6715 | /^ac_cv_env_/b end
|
---|
[16565] | 6716 | t clear
|
---|
[25149] | 6717 | :clear
|
---|
[16565] | 6718 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6719 | t end
|
---|
[25149] | 6720 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6721 | :end' >>confcache
|
---|
| 6722 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 6723 | if test -w "$cache_file"; then
|
---|
[26663] | 6724 | if test "x$cache_file" != "x/dev/null"; then
|
---|
| 6725 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
[25149] | 6726 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[26663] | 6727 | if test ! -f "$cache_file" || test -h "$cache_file"; then
|
---|
| 6728 | cat confcache >"$cache_file"
|
---|
| 6729 | else
|
---|
| 6730 | case $cache_file in #(
|
---|
| 6731 | */* | ?:*)
|
---|
| 6732 | mv -f confcache "$cache_file"$$ &&
|
---|
| 6733 | mv -f "$cache_file"$$ "$cache_file" ;; #(
|
---|
| 6734 | *)
|
---|
| 6735 | mv -f confcache "$cache_file" ;;
|
---|
| 6736 | esac
|
---|
| 6737 | fi
|
---|
| 6738 | fi
|
---|
[16565] | 6739 | else
|
---|
[26663] | 6740 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
[25149] | 6741 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[16565] | 6742 | fi
|
---|
| 6743 | fi
|
---|
| 6744 | rm -f confcache
|
---|
| 6745 |
|
---|
| 6746 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6747 | # Let make expand exec_prefix.
|
---|
| 6748 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6749 |
|
---|
| 6750 | DEFS=-DHAVE_CONFIG_H
|
---|
| 6751 |
|
---|
| 6752 | ac_libobjs=
|
---|
| 6753 | ac_ltlibobjs=
|
---|
[26663] | 6754 | U=
|
---|
[16565] | 6755 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6756 | # 1. Remove the extension, and $U if already installed.
|
---|
[25149] | 6757 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 6758 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 6759 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 6760 | # will be set to the directory where LIBOBJS objects are built.
|
---|
[26663] | 6761 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 6762 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[16565] | 6763 | done
|
---|
| 6764 | LIBOBJS=$ac_libobjs
|
---|
| 6765 |
|
---|
| 6766 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6767 |
|
---|
| 6768 |
|
---|
| 6769 |
|
---|
[25149] | 6770 |
|
---|
[26663] | 6771 | : "${CONFIG_STATUS=./config.status}"
|
---|
[25149] | 6772 | ac_write_fail=0
|
---|
[16565] | 6773 | ac_clean_files_save=$ac_clean_files
|
---|
| 6774 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[26663] | 6775 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
[25149] | 6776 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
[26663] | 6777 | as_write_fail=0
|
---|
| 6778 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
[16565] | 6779 | #! $SHELL
|
---|
| 6780 | # Generated by $as_me.
|
---|
| 6781 | # Run this file to recreate the current configuration.
|
---|
| 6782 | # Compiler output produced by configure, useful for debugging
|
---|
| 6783 | # configure, is in config.log if it exists.
|
---|
| 6784 |
|
---|
| 6785 | debug=false
|
---|
| 6786 | ac_cs_recheck=false
|
---|
| 6787 | ac_cs_silent=false
|
---|
[26663] | 6788 |
|
---|
[16565] | 6789 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[26663] | 6790 | export SHELL
|
---|
| 6791 | _ASEOF
|
---|
| 6792 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 6793 | ## -------------------- ##
|
---|
| 6794 | ## M4sh Initialization. ##
|
---|
| 6795 | ## -------------------- ##
|
---|
[16565] | 6796 |
|
---|
[25149] | 6797 | # Be more Bourne compatible
|
---|
| 6798 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[26663] | 6799 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16565] | 6800 | emulate sh
|
---|
| 6801 | NULLCMD=:
|
---|
[25149] | 6802 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16565] | 6803 | # is contrary to our usage. Disable this feature.
|
---|
| 6804 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25149] | 6805 | setopt NO_GLOB_SUBST
|
---|
| 6806 | else
|
---|
[26663] | 6807 | case `(set -o) 2>/dev/null` in #(
|
---|
| 6808 | *posix*) :
|
---|
| 6809 | set -o posix ;; #(
|
---|
| 6810 | *) :
|
---|
| 6811 | ;;
|
---|
[25149] | 6812 | esac
|
---|
[16565] | 6813 | fi
|
---|
| 6814 |
|
---|
[25149] | 6815 |
|
---|
| 6816 | as_nl='
|
---|
| 6817 | '
|
---|
| 6818 | export as_nl
|
---|
| 6819 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 6820 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 6821 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6822 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[26663] | 6823 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 6824 | # but without wasting forks for bash or zsh.
|
---|
| 6825 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 6826 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6827 | as_echo='print -r --'
|
---|
| 6828 | as_echo_n='print -rn --'
|
---|
| 6829 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[25149] | 6830 | as_echo='printf %s\n'
|
---|
| 6831 | as_echo_n='printf %s'
|
---|
| 6832 | else
|
---|
| 6833 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 6834 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 6835 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 6836 | else
|
---|
| 6837 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 6838 | as_echo_n_body='eval
|
---|
| 6839 | arg=$1;
|
---|
[26663] | 6840 | case $arg in #(
|
---|
[25149] | 6841 | *"$as_nl"*)
|
---|
| 6842 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 6843 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 6844 | esac;
|
---|
| 6845 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 6846 | '
|
---|
| 6847 | export as_echo_n_body
|
---|
| 6848 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 6849 | fi
|
---|
| 6850 | export as_echo_body
|
---|
| 6851 | as_echo='sh -c $as_echo_body as_echo'
|
---|
| 6852 | fi
|
---|
| 6853 |
|
---|
| 6854 | # The user is always right.
|
---|
| 6855 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6856 | PATH_SEPARATOR=:
|
---|
| 6857 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 6858 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 6859 | PATH_SEPARATOR=';'
|
---|
| 6860 | }
|
---|
| 6861 | fi
|
---|
| 6862 |
|
---|
[16565] | 6863 |
|
---|
[25149] | 6864 | # IFS
|
---|
| 6865 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 6866 | # there to prevent editors from complaining about space-tab.
|
---|
| 6867 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 6868 | # splitting by setting IFS to empty value.)
|
---|
| 6869 | IFS=" "" $as_nl"
|
---|
| 6870 |
|
---|
| 6871 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[26663] | 6872 | as_myself=
|
---|
| 6873 | case $0 in #((
|
---|
[25149] | 6874 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6875 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6876 | for as_dir in $PATH
|
---|
| 6877 | do
|
---|
| 6878 | IFS=$as_save_IFS
|
---|
| 6879 | test -z "$as_dir" && as_dir=.
|
---|
[26663] | 6880 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6881 | done
|
---|
[25149] | 6882 | IFS=$as_save_IFS
|
---|
| 6883 |
|
---|
| 6884 | ;;
|
---|
| 6885 | esac
|
---|
| 6886 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6887 | # in which case we are not to be found in the path.
|
---|
| 6888 | if test "x$as_myself" = x; then
|
---|
| 6889 | as_myself=$0
|
---|
| 6890 | fi
|
---|
| 6891 | if test ! -f "$as_myself"; then
|
---|
| 6892 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[26663] | 6893 | exit 1
|
---|
[25149] | 6894 | fi
|
---|
| 6895 |
|
---|
[26663] | 6896 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 6897 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 6898 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 6899 | # trigger a bug in pdksh 5.2.14.
|
---|
| 6900 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 6901 | do eval test x\${$as_var+set} = xset \
|
---|
| 6902 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
[25149] | 6903 | done
|
---|
[16565] | 6904 | PS1='$ '
|
---|
| 6905 | PS2='> '
|
---|
| 6906 | PS4='+ '
|
---|
| 6907 |
|
---|
| 6908 | # NLS nuisances.
|
---|
[25149] | 6909 | LC_ALL=C
|
---|
| 6910 | export LC_ALL
|
---|
| 6911 | LANGUAGE=C
|
---|
| 6912 | export LANGUAGE
|
---|
[16565] | 6913 |
|
---|
[26663] | 6914 | # CDPATH.
|
---|
| 6915 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 6916 |
|
---|
| 6917 |
|
---|
| 6918 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 6919 | # ----------------------------------------
|
---|
| 6920 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 6921 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 6922 | # script with STATUS, using 1 if that was 0.
|
---|
| 6923 | as_fn_error ()
|
---|
| 6924 | {
|
---|
| 6925 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 6926 | if test "$4"; then
|
---|
| 6927 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 6928 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 6929 | fi
|
---|
| 6930 | $as_echo "$as_me: error: $2" >&2
|
---|
| 6931 | as_fn_exit $as_status
|
---|
| 6932 | } # as_fn_error
|
---|
| 6933 |
|
---|
| 6934 |
|
---|
| 6935 | # as_fn_set_status STATUS
|
---|
| 6936 | # -----------------------
|
---|
| 6937 | # Set $? to STATUS, without forking.
|
---|
| 6938 | as_fn_set_status ()
|
---|
| 6939 | {
|
---|
| 6940 | return $1
|
---|
| 6941 | } # as_fn_set_status
|
---|
| 6942 |
|
---|
| 6943 | # as_fn_exit STATUS
|
---|
| 6944 | # -----------------
|
---|
| 6945 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 6946 | as_fn_exit ()
|
---|
| 6947 | {
|
---|
| 6948 | set +e
|
---|
| 6949 | as_fn_set_status $1
|
---|
| 6950 | exit $1
|
---|
| 6951 | } # as_fn_exit
|
---|
| 6952 |
|
---|
| 6953 | # as_fn_unset VAR
|
---|
| 6954 | # ---------------
|
---|
| 6955 | # Portably unset VAR.
|
---|
| 6956 | as_fn_unset ()
|
---|
| 6957 | {
|
---|
| 6958 | { eval $1=; unset $1;}
|
---|
| 6959 | }
|
---|
| 6960 | as_unset=as_fn_unset
|
---|
| 6961 | # as_fn_append VAR VALUE
|
---|
| 6962 | # ----------------------
|
---|
| 6963 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 6964 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 6965 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 6966 | # implementations.
|
---|
| 6967 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 6968 | eval 'as_fn_append ()
|
---|
| 6969 | {
|
---|
| 6970 | eval $1+=\$2
|
---|
| 6971 | }'
|
---|
| 6972 | else
|
---|
| 6973 | as_fn_append ()
|
---|
| 6974 | {
|
---|
| 6975 | eval $1=\$$1\$2
|
---|
| 6976 | }
|
---|
| 6977 | fi # as_fn_append
|
---|
| 6978 |
|
---|
| 6979 | # as_fn_arith ARG...
|
---|
| 6980 | # ------------------
|
---|
| 6981 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 6982 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 6983 | # must be portable across $(()) and expr.
|
---|
| 6984 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 6985 | eval 'as_fn_arith ()
|
---|
| 6986 | {
|
---|
| 6987 | as_val=$(( $* ))
|
---|
| 6988 | }'
|
---|
| 6989 | else
|
---|
| 6990 | as_fn_arith ()
|
---|
| 6991 | {
|
---|
| 6992 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 6993 | }
|
---|
| 6994 | fi # as_fn_arith
|
---|
| 6995 |
|
---|
| 6996 |
|
---|
[25149] | 6997 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 6998 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16565] | 6999 | as_expr=expr
|
---|
| 7000 | else
|
---|
| 7001 | as_expr=false
|
---|
| 7002 | fi
|
---|
| 7003 |
|
---|
[25149] | 7004 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16565] | 7005 | as_basename=basename
|
---|
| 7006 | else
|
---|
| 7007 | as_basename=false
|
---|
| 7008 | fi
|
---|
| 7009 |
|
---|
[26663] | 7010 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 7011 | as_dirname=dirname
|
---|
| 7012 | else
|
---|
| 7013 | as_dirname=false
|
---|
| 7014 | fi
|
---|
[16565] | 7015 |
|
---|
[25149] | 7016 | as_me=`$as_basename -- "$0" ||
|
---|
[16565] | 7017 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7018 | X"$0" : 'X\(//\)$' \| \
|
---|
[25149] | 7019 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7020 | $as_echo X/"$0" |
|
---|
| 7021 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 7022 | s//\1/
|
---|
| 7023 | q
|
---|
| 7024 | }
|
---|
| 7025 | /^X\/\(\/\/\)$/{
|
---|
| 7026 | s//\1/
|
---|
| 7027 | q
|
---|
| 7028 | }
|
---|
| 7029 | /^X\/\(\/\).*/{
|
---|
| 7030 | s//\1/
|
---|
| 7031 | q
|
---|
| 7032 | }
|
---|
| 7033 | s/.*/./; q'`
|
---|
[16565] | 7034 |
|
---|
[26663] | 7035 | # Avoid depending upon Character Ranges.
|
---|
| 7036 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7037 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7038 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7039 | as_cr_digits='0123456789'
|
---|
| 7040 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[23800] | 7041 |
|
---|
[25149] | 7042 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[26663] | 7043 | case `echo -n x` in #(((((
|
---|
[25149] | 7044 | -n*)
|
---|
[26663] | 7045 | case `echo 'xy\c'` in
|
---|
[25149] | 7046 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[26663] | 7047 | xy) ECHO_C='\c';;
|
---|
| 7048 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 7049 | ECHO_T=' ';;
|
---|
[25149] | 7050 | esac;;
|
---|
| 7051 | *)
|
---|
| 7052 | ECHO_N='-n';;
|
---|
[16565] | 7053 | esac
|
---|
[23800] | 7054 |
|
---|
| 7055 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[25149] | 7056 | if test -d conf$$.dir; then
|
---|
| 7057 | rm -f conf$$.dir/conf$$.file
|
---|
| 7058 | else
|
---|
| 7059 | rm -f conf$$.dir
|
---|
| 7060 | mkdir conf$$.dir 2>/dev/null
|
---|
| 7061 | fi
|
---|
| 7062 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 7063 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7064 | as_ln_s='ln -s'
|
---|
| 7065 | # ... but there are two gotchas:
|
---|
| 7066 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 7067 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 7068 | # In both cases, we have to default to `cp -p'.
|
---|
| 7069 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 7070 | as_ln_s='cp -p'
|
---|
| 7071 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7072 | as_ln_s=ln
|
---|
| 7073 | else
|
---|
[23800] | 7074 | as_ln_s='cp -p'
|
---|
[16565] | 7075 | fi
|
---|
| 7076 | else
|
---|
| 7077 | as_ln_s='cp -p'
|
---|
| 7078 | fi
|
---|
[25149] | 7079 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 7080 | rmdir conf$$.dir 2>/dev/null
|
---|
[16565] | 7081 |
|
---|
[26663] | 7082 |
|
---|
| 7083 | # as_fn_mkdir_p
|
---|
| 7084 | # -------------
|
---|
| 7085 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 7086 | as_fn_mkdir_p ()
|
---|
| 7087 | {
|
---|
| 7088 |
|
---|
| 7089 | case $as_dir in #(
|
---|
| 7090 | -*) as_dir=./$as_dir;;
|
---|
| 7091 | esac
|
---|
| 7092 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 7093 | as_dirs=
|
---|
| 7094 | while :; do
|
---|
| 7095 | case $as_dir in #(
|
---|
| 7096 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 7097 | *) as_qdir=$as_dir;;
|
---|
| 7098 | esac
|
---|
| 7099 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 7100 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 7101 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7102 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 7103 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 7104 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7105 | $as_echo X"$as_dir" |
|
---|
| 7106 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7107 | s//\1/
|
---|
| 7108 | q
|
---|
| 7109 | }
|
---|
| 7110 | /^X\(\/\/\)[^/].*/{
|
---|
| 7111 | s//\1/
|
---|
| 7112 | q
|
---|
| 7113 | }
|
---|
| 7114 | /^X\(\/\/\)$/{
|
---|
| 7115 | s//\1/
|
---|
| 7116 | q
|
---|
| 7117 | }
|
---|
| 7118 | /^X\(\/\).*/{
|
---|
| 7119 | s//\1/
|
---|
| 7120 | q
|
---|
| 7121 | }
|
---|
| 7122 | s/.*/./; q'`
|
---|
| 7123 | test -d "$as_dir" && break
|
---|
| 7124 | done
|
---|
| 7125 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 7126 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 7127 |
|
---|
| 7128 |
|
---|
| 7129 | } # as_fn_mkdir_p
|
---|
[16565] | 7130 | if mkdir -p . 2>/dev/null; then
|
---|
[26663] | 7131 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16565] | 7132 | else
|
---|
| 7133 | test -d ./-p && rmdir ./-p
|
---|
| 7134 | as_mkdir_p=false
|
---|
| 7135 | fi
|
---|
| 7136 |
|
---|
[25149] | 7137 | if test -x / >/dev/null 2>&1; then
|
---|
| 7138 | as_test_x='test -x'
|
---|
| 7139 | else
|
---|
| 7140 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 7141 | as_ls_L_option=L
|
---|
| 7142 | else
|
---|
| 7143 | as_ls_L_option=
|
---|
| 7144 | fi
|
---|
| 7145 | as_test_x='
|
---|
| 7146 | eval sh -c '\''
|
---|
| 7147 | if test -d "$1"; then
|
---|
| 7148 | test -d "$1/.";
|
---|
| 7149 | else
|
---|
[26663] | 7150 | case $1 in #(
|
---|
[25149] | 7151 | -*)set "./$1";;
|
---|
| 7152 | esac;
|
---|
[26663] | 7153 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
[25149] | 7154 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 7155 | '\'' sh
|
---|
| 7156 | '
|
---|
| 7157 | fi
|
---|
| 7158 | as_executable_p=$as_test_x
|
---|
[16565] | 7159 |
|
---|
| 7160 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7161 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7162 |
|
---|
| 7163 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7164 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7165 |
|
---|
| 7166 |
|
---|
| 7167 | exec 6>&1
|
---|
[26663] | 7168 | ## ----------------------------------- ##
|
---|
| 7169 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 7170 | ## ----------------------------------- ##
|
---|
| 7171 | _ASEOF
|
---|
| 7172 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
[16565] | 7173 |
|
---|
[26663] | 7174 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7175 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
[16565] | 7176 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[25149] | 7177 | # values after options handling.
|
---|
| 7178 | ac_log="
|
---|
[16565] | 7179 | This file was extended by $as_me, which was
|
---|
[26663] | 7180 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[16565] | 7181 |
|
---|
| 7182 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 7183 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 7184 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 7185 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 7186 | $ $0 $@
|
---|
| 7187 |
|
---|
[25149] | 7188 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 7189 | "
|
---|
| 7190 |
|
---|
[16565] | 7191 | _ACEOF
|
---|
| 7192 |
|
---|
[25149] | 7193 | case $ac_config_files in *"
|
---|
| 7194 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 7195 | esac
|
---|
[16565] | 7196 |
|
---|
[25149] | 7197 | case $ac_config_headers in *"
|
---|
| 7198 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 7199 | esac
|
---|
[16565] | 7200 |
|
---|
| 7201 |
|
---|
[25149] | 7202 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7203 | # Files that config.status was made for.
|
---|
| 7204 | config_files="$ac_config_files"
|
---|
| 7205 | config_headers="$ac_config_headers"
|
---|
[16565] | 7206 |
|
---|
[25149] | 7207 | _ACEOF
|
---|
[16565] | 7208 |
|
---|
[25149] | 7209 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16565] | 7210 | ac_cs_usage="\
|
---|
[26663] | 7211 | \`$as_me' instantiates files and other configuration actions
|
---|
| 7212 | from templates according to the current configuration. Unless the files
|
---|
| 7213 | and actions are specified as TAGs, all are instantiated by default.
|
---|
[16565] | 7214 |
|
---|
[26663] | 7215 | Usage: $0 [OPTION]... [TAG]...
|
---|
[16565] | 7216 |
|
---|
| 7217 | -h, --help print this help, then exit
|
---|
[25149] | 7218 | -V, --version print version number and configuration settings, then exit
|
---|
[26663] | 7219 | --config print configuration, then exit
|
---|
[25149] | 7220 | -q, --quiet, --silent
|
---|
| 7221 | do not print progress messages
|
---|
[16565] | 7222 | -d, --debug don't remove temporary files
|
---|
| 7223 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[25149] | 7224 | --file=FILE[:TEMPLATE]
|
---|
| 7225 | instantiate the configuration file FILE
|
---|
| 7226 | --header=FILE[:TEMPLATE]
|
---|
| 7227 | instantiate the configuration header FILE
|
---|
[16565] | 7228 |
|
---|
| 7229 | Configuration files:
|
---|
| 7230 | $config_files
|
---|
| 7231 |
|
---|
| 7232 | Configuration headers:
|
---|
| 7233 | $config_headers
|
---|
| 7234 |
|
---|
[26663] | 7235 | Report bugs to the package provider."
|
---|
[25149] | 7236 |
|
---|
[23800] | 7237 | _ACEOF
|
---|
[25149] | 7238 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[26663] | 7239 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
[16565] | 7240 | ac_cs_version="\\
|
---|
| 7241 | config.status
|
---|
[26663] | 7242 | configured by $0, generated by GNU Autoconf 2.68,
|
---|
| 7243 | with options \\"\$ac_cs_config\\"
|
---|
[16565] | 7244 |
|
---|
[26663] | 7245 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16565] | 7246 | This config.status script is free software; the Free Software Foundation
|
---|
| 7247 | gives unlimited permission to copy, distribute and modify it."
|
---|
[25149] | 7248 |
|
---|
| 7249 | ac_pwd='$ac_pwd'
|
---|
| 7250 | srcdir='$srcdir'
|
---|
| 7251 | INSTALL='$INSTALL'
|
---|
| 7252 | AWK='$AWK'
|
---|
| 7253 | test -n "\$AWK" || AWK=awk
|
---|
[16565] | 7254 | _ACEOF
|
---|
| 7255 |
|
---|
[25149] | 7256 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7257 | # The default lists apply if the user does not specify any file.
|
---|
[16565] | 7258 | ac_need_defaults=:
|
---|
| 7259 | while test $# != 0
|
---|
| 7260 | do
|
---|
| 7261 | case $1 in
|
---|
[26663] | 7262 | --*=?*)
|
---|
[25149] | 7263 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7264 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[16565] | 7265 | ac_shift=:
|
---|
| 7266 | ;;
|
---|
[26663] | 7267 | --*=)
|
---|
| 7268 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7269 | ac_optarg=
|
---|
| 7270 | ac_shift=:
|
---|
| 7271 | ;;
|
---|
[25149] | 7272 | *)
|
---|
[16565] | 7273 | ac_option=$1
|
---|
| 7274 | ac_optarg=$2
|
---|
| 7275 | ac_shift=shift
|
---|
| 7276 | ;;
|
---|
| 7277 | esac
|
---|
| 7278 |
|
---|
| 7279 | case $ac_option in
|
---|
| 7280 | # Handling of the options.
|
---|
| 7281 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 7282 | ac_cs_recheck=: ;;
|
---|
[25149] | 7283 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 7284 | $as_echo "$ac_cs_version"; exit ;;
|
---|
[26663] | 7285 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 7286 | $as_echo "$ac_cs_config"; exit ;;
|
---|
[25149] | 7287 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[16565] | 7288 | debug=: ;;
|
---|
| 7289 | --file | --fil | --fi | --f )
|
---|
| 7290 | $ac_shift
|
---|
[25149] | 7291 | case $ac_optarg in
|
---|
| 7292 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[26663] | 7293 | '') as_fn_error $? "missing file argument" ;;
|
---|
[25149] | 7294 | esac
|
---|
[26663] | 7295 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
[16565] | 7296 | ac_need_defaults=false;;
|
---|
| 7297 | --header | --heade | --head | --hea )
|
---|
| 7298 | $ac_shift
|
---|
[25149] | 7299 | case $ac_optarg in
|
---|
| 7300 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7301 | esac
|
---|
[26663] | 7302 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
[16565] | 7303 | ac_need_defaults=false;;
|
---|
[25149] | 7304 | --he | --h)
|
---|
| 7305 | # Conflict between --help and --header
|
---|
[26663] | 7306 | as_fn_error $? "ambiguous option: \`$1'
|
---|
| 7307 | Try \`$0 --help' for more information.";;
|
---|
[25149] | 7308 | --help | --hel | -h )
|
---|
| 7309 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[16565] | 7310 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 7311 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 7312 | ac_cs_silent=: ;;
|
---|
| 7313 |
|
---|
| 7314 | # This is an error.
|
---|
[26663] | 7315 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
| 7316 | Try \`$0 --help' for more information." ;;
|
---|
[16565] | 7317 |
|
---|
[26663] | 7318 | *) as_fn_append ac_config_targets " $1"
|
---|
[25149] | 7319 | ac_need_defaults=false ;;
|
---|
[16565] | 7320 |
|
---|
| 7321 | esac
|
---|
| 7322 | shift
|
---|
| 7323 | done
|
---|
| 7324 |
|
---|
| 7325 | ac_configure_extra_args=
|
---|
| 7326 |
|
---|
| 7327 | if $ac_cs_silent; then
|
---|
| 7328 | exec 6>/dev/null
|
---|
| 7329 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 7330 | fi
|
---|
| 7331 |
|
---|
| 7332 | _ACEOF
|
---|
[25149] | 7333 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[16565] | 7334 | if \$ac_cs_recheck; then
|
---|
[25149] | 7335 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 7336 | shift
|
---|
| 7337 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 7338 | CONFIG_SHELL='$SHELL'
|
---|
| 7339 | export CONFIG_SHELL
|
---|
| 7340 | exec "\$@"
|
---|
[16565] | 7341 | fi
|
---|
| 7342 |
|
---|
| 7343 | _ACEOF
|
---|
[25149] | 7344 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7345 | exec 5>>config.log
|
---|
| 7346 | {
|
---|
| 7347 | echo
|
---|
| 7348 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7349 | ## Running $as_me. ##
|
---|
| 7350 | _ASBOX
|
---|
| 7351 | $as_echo "$ac_log"
|
---|
| 7352 | } >&5
|
---|
[16565] | 7353 |
|
---|
[25149] | 7354 | _ACEOF
|
---|
| 7355 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7356 | _ACEOF
|
---|
[16565] | 7357 |
|
---|
[25149] | 7358 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16565] | 7359 |
|
---|
[25149] | 7360 | # Handling of arguments.
|
---|
[16565] | 7361 | for ac_config_target in $ac_config_targets
|
---|
| 7362 | do
|
---|
[25149] | 7363 | case $ac_config_target in
|
---|
| 7364 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 7365 | "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
|
---|
| 7366 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 7367 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 7368 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 7369 |
|
---|
[26663] | 7370 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
---|
[16565] | 7371 | esac
|
---|
| 7372 | done
|
---|
| 7373 |
|
---|
[25149] | 7374 |
|
---|
[16565] | 7375 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7376 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7377 | # We use the long form for the default assignment because of an extremely
|
---|
| 7378 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7379 | if $ac_need_defaults; then
|
---|
| 7380 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7381 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7382 | fi
|
---|
| 7383 |
|
---|
| 7384 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[25149] | 7385 | # simply because there is no reason against having it here, and in addition,
|
---|
[16565] | 7386 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[25149] | 7387 | # Hook for its removal unless debugging.
|
---|
| 7388 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 7389 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[16565] | 7390 | $debug ||
|
---|
| 7391 | {
|
---|
[26663] | 7392 | tmp= ac_tmp=
|
---|
[25149] | 7393 | trap 'exit_status=$?
|
---|
[26663] | 7394 | : "${ac_tmp:=$tmp}"
|
---|
| 7395 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
---|
[25149] | 7396 | ' 0
|
---|
[26663] | 7397 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
[16565] | 7398 | }
|
---|
| 7399 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7400 |
|
---|
| 7401 | {
|
---|
[25149] | 7402 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[26663] | 7403 | test -d "$tmp"
|
---|
[16565] | 7404 | } ||
|
---|
| 7405 | {
|
---|
[25149] | 7406 | tmp=./conf$$-$RANDOM
|
---|
| 7407 | (umask 077 && mkdir "$tmp")
|
---|
[26663] | 7408 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
| 7409 | ac_tmp=$tmp
|
---|
[23356] | 7410 |
|
---|
[25149] | 7411 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 7412 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 7413 | # This happens for instance with `./config.status config.h'.
|
---|
| 7414 | if test -n "$CONFIG_FILES"; then
|
---|
| 7415 |
|
---|
| 7416 |
|
---|
[26663] | 7417 | ac_cr=`echo X | tr X '\015'`
|
---|
| 7418 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 7419 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 7420 | # point, so we can use a bashism as a fallback.
|
---|
| 7421 | if test "x$ac_cr" = x; then
|
---|
| 7422 | eval ac_cr=\$\'\\r\'
|
---|
| 7423 | fi
|
---|
[25149] | 7424 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 7425 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
| 7426 | ac_cs_awk_cr='\\r'
|
---|
| 7427 | else
|
---|
| 7428 | ac_cs_awk_cr=$ac_cr
|
---|
| 7429 | fi
|
---|
| 7430 |
|
---|
[26663] | 7431 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
---|
[23356] | 7432 | _ACEOF
|
---|
[16565] | 7433 |
|
---|
[23356] | 7434 |
|
---|
[25149] | 7435 | {
|
---|
| 7436 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 7437 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 7438 | echo "_ACEOF"
|
---|
| 7439 | } >conf$$subs.sh ||
|
---|
[26663] | 7440 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7441 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
[25149] | 7442 | ac_delim='%!_!# '
|
---|
| 7443 | for ac_last_try in false false false false false :; do
|
---|
| 7444 | . ./conf$$subs.sh ||
|
---|
[26663] | 7445 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[23356] | 7446 |
|
---|
[25149] | 7447 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 7448 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 7449 | break
|
---|
| 7450 | elif $ac_last_try; then
|
---|
[26663] | 7451 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[25149] | 7452 | else
|
---|
| 7453 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7454 | fi
|
---|
| 7455 | done
|
---|
| 7456 | rm -f conf$$subs.sh
|
---|
[16565] | 7457 |
|
---|
[25149] | 7458 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[26663] | 7459 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
[16565] | 7460 | _ACEOF
|
---|
[25149] | 7461 | sed -n '
|
---|
| 7462 | h
|
---|
| 7463 | s/^/S["/; s/!.*/"]=/
|
---|
| 7464 | p
|
---|
| 7465 | g
|
---|
| 7466 | s/^[^!]*!//
|
---|
| 7467 | :repl
|
---|
| 7468 | t repl
|
---|
| 7469 | s/'"$ac_delim"'$//
|
---|
| 7470 | t delim
|
---|
| 7471 | :nl
|
---|
| 7472 | h
|
---|
[26663] | 7473 | s/\(.\{148\}\)..*/\1/
|
---|
[25149] | 7474 | t more1
|
---|
| 7475 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 7476 | p
|
---|
| 7477 | n
|
---|
| 7478 | b repl
|
---|
| 7479 | :more1
|
---|
| 7480 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7481 | p
|
---|
| 7482 | g
|
---|
| 7483 | s/.\{148\}//
|
---|
| 7484 | t nl
|
---|
| 7485 | :delim
|
---|
| 7486 | h
|
---|
[26663] | 7487 | s/\(.\{148\}\)..*/\1/
|
---|
[25149] | 7488 | t more2
|
---|
| 7489 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 7490 | p
|
---|
| 7491 | b
|
---|
| 7492 | :more2
|
---|
| 7493 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7494 | p
|
---|
| 7495 | g
|
---|
| 7496 | s/.\{148\}//
|
---|
| 7497 | t delim
|
---|
| 7498 | ' <conf$$subs.awk | sed '
|
---|
| 7499 | /^[^""]/{
|
---|
| 7500 | N
|
---|
| 7501 | s/\n//
|
---|
| 7502 | }
|
---|
| 7503 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7504 | rm -f conf$$subs.awk
|
---|
| 7505 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7506 | _ACAWK
|
---|
[26663] | 7507 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
---|
[25149] | 7508 | for (key in S) S_is_set[key] = 1
|
---|
| 7509 | FS = ""
|
---|
[16565] | 7510 |
|
---|
[25149] | 7511 | }
|
---|
| 7512 | {
|
---|
| 7513 | line = $ 0
|
---|
| 7514 | nfields = split(line, field, "@")
|
---|
| 7515 | substed = 0
|
---|
| 7516 | len = length(field[1])
|
---|
| 7517 | for (i = 2; i < nfields; i++) {
|
---|
| 7518 | key = field[i]
|
---|
| 7519 | keylen = length(key)
|
---|
| 7520 | if (S_is_set[key]) {
|
---|
| 7521 | value = S[key]
|
---|
| 7522 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 7523 | len += length(value) + length(field[++i])
|
---|
| 7524 | substed = 1
|
---|
| 7525 | } else
|
---|
| 7526 | len += 1 + keylen
|
---|
| 7527 | }
|
---|
| 7528 |
|
---|
| 7529 | print line
|
---|
| 7530 | }
|
---|
| 7531 |
|
---|
| 7532 | _ACAWK
|
---|
| 7533 | _ACEOF
|
---|
| 7534 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7535 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 7536 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 7537 | else
|
---|
| 7538 | cat
|
---|
[26663] | 7539 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
---|
| 7540 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
[25149] | 7541 | _ACEOF
|
---|
| 7542 |
|
---|
[26663] | 7543 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 7544 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
[25149] | 7545 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7546 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7547 | if test "x$srcdir" = x.; then
|
---|
[26663] | 7548 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 7549 | h
|
---|
| 7550 | s///
|
---|
| 7551 | s/^/:/
|
---|
| 7552 | s/[ ]*$/:/
|
---|
| 7553 | s/:\$(srcdir):/:/g
|
---|
| 7554 | s/:\${srcdir}:/:/g
|
---|
| 7555 | s/:@srcdir@:/:/g
|
---|
| 7556 | s/^:*//
|
---|
[25149] | 7557 | s/:*$//
|
---|
[26663] | 7558 | x
|
---|
| 7559 | s/\(=[ ]*\).*/\1/
|
---|
| 7560 | G
|
---|
| 7561 | s/\n//
|
---|
[25149] | 7562 | s/^[^=]*=[ ]*$//
|
---|
| 7563 | }'
|
---|
| 7564 | fi
|
---|
| 7565 |
|
---|
| 7566 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[23800] | 7567 | fi # test -n "$CONFIG_FILES"
|
---|
[16565] | 7568 |
|
---|
[25149] | 7569 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 7570 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 7571 | # This happens for instance with `./config.status Makefile'.
|
---|
| 7572 | if test -n "$CONFIG_HEADERS"; then
|
---|
[26663] | 7573 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
---|
[25149] | 7574 | BEGIN {
|
---|
[16565] | 7575 | _ACEOF
|
---|
[25149] | 7576 |
|
---|
| 7577 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 7578 | # here-document in config.status, that substitutes the proper values into
|
---|
| 7579 | # config.h.in to produce config.h.
|
---|
| 7580 |
|
---|
| 7581 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 7582 | # handling of long lines.
|
---|
| 7583 | ac_delim='%!_!# '
|
---|
| 7584 | for ac_last_try in false false :; do
|
---|
[26663] | 7585 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 7586 | if test -z "$ac_tt"; then
|
---|
[25149] | 7587 | break
|
---|
| 7588 | elif $ac_last_try; then
|
---|
[26663] | 7589 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
[25149] | 7590 | else
|
---|
| 7591 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7592 | fi
|
---|
| 7593 | done
|
---|
| 7594 |
|
---|
| 7595 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 7596 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 7597 | # newline sequences.
|
---|
| 7598 |
|
---|
| 7599 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 7600 | sed -n '
|
---|
| 7601 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7602 | t rset
|
---|
| 7603 | :rset
|
---|
| 7604 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 7605 | t def
|
---|
| 7606 | d
|
---|
| 7607 | :def
|
---|
| 7608 | s/\\$//
|
---|
| 7609 | t bsnl
|
---|
| 7610 | s/["\\]/\\&/g
|
---|
| 7611 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7612 | D["\1"]=" \3"/p
|
---|
| 7613 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 7614 | d
|
---|
| 7615 | :bsnl
|
---|
| 7616 | s/["\\]/\\&/g
|
---|
| 7617 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7618 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 7619 | t cont
|
---|
| 7620 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 7621 | t cont
|
---|
| 7622 | d
|
---|
| 7623 | :cont
|
---|
| 7624 | n
|
---|
| 7625 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7626 | t clear
|
---|
| 7627 | :clear
|
---|
| 7628 | s/\\$//
|
---|
| 7629 | t bsnlc
|
---|
| 7630 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 7631 | d
|
---|
| 7632 | :bsnlc
|
---|
| 7633 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 7634 | b cont
|
---|
| 7635 | ' <confdefs.h | sed '
|
---|
| 7636 | s/'"$ac_delim"'/"\\\
|
---|
| 7637 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7638 |
|
---|
| 7639 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7640 | for (key in D) D_is_set[key] = 1
|
---|
| 7641 | FS = ""
|
---|
| 7642 | }
|
---|
| 7643 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 7644 | line = \$ 0
|
---|
| 7645 | split(line, arg, " ")
|
---|
| 7646 | if (arg[1] == "#") {
|
---|
| 7647 | defundef = arg[2]
|
---|
| 7648 | mac1 = arg[3]
|
---|
| 7649 | } else {
|
---|
| 7650 | defundef = substr(arg[1], 2)
|
---|
| 7651 | mac1 = arg[2]
|
---|
| 7652 | }
|
---|
| 7653 | split(mac1, mac2, "(") #)
|
---|
| 7654 | macro = mac2[1]
|
---|
| 7655 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 7656 | if (D_is_set[macro]) {
|
---|
| 7657 | # Preserve the white space surrounding the "#".
|
---|
| 7658 | print prefix "define", macro P[macro] D[macro]
|
---|
| 7659 | next
|
---|
| 7660 | } else {
|
---|
| 7661 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 7662 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 7663 | # on some systems where configure will not decide to define it.
|
---|
| 7664 | if (defundef == "undef") {
|
---|
| 7665 | print "/*", prefix defundef, macro, "*/"
|
---|
| 7666 | next
|
---|
| 7667 | }
|
---|
| 7668 | }
|
---|
| 7669 | }
|
---|
| 7670 | { print }
|
---|
| 7671 | _ACAWK
|
---|
| 7672 | _ACEOF
|
---|
| 7673 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[26663] | 7674 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
[25149] | 7675 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 7676 |
|
---|
| 7677 |
|
---|
| 7678 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
---|
| 7679 | shift
|
---|
| 7680 | for ac_tag
|
---|
| 7681 | do
|
---|
| 7682 | case $ac_tag in
|
---|
| 7683 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[16565] | 7684 | esac
|
---|
[25149] | 7685 | case $ac_mode$ac_tag in
|
---|
| 7686 | :[FHL]*:*);;
|
---|
[26663] | 7687 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
---|
[25149] | 7688 | :[FH]-) ac_tag=-:-;;
|
---|
| 7689 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 7690 | esac
|
---|
| 7691 | ac_save_IFS=$IFS
|
---|
| 7692 | IFS=:
|
---|
| 7693 | set x $ac_tag
|
---|
| 7694 | IFS=$ac_save_IFS
|
---|
| 7695 | shift
|
---|
| 7696 | ac_file=$1
|
---|
| 7697 | shift
|
---|
[16565] | 7698 |
|
---|
[25149] | 7699 | case $ac_mode in
|
---|
| 7700 | :L) ac_source=$1;;
|
---|
| 7701 | :[FH])
|
---|
| 7702 | ac_file_inputs=
|
---|
| 7703 | for ac_f
|
---|
| 7704 | do
|
---|
| 7705 | case $ac_f in
|
---|
[26663] | 7706 | -) ac_f="$ac_tmp/stdin";;
|
---|
[25149] | 7707 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 7708 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 7709 | # because $ac_f cannot contain `:'.
|
---|
| 7710 | test -f "$ac_f" ||
|
---|
| 7711 | case $ac_f in
|
---|
| 7712 | [\\/$]*) false;;
|
---|
| 7713 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 7714 | esac ||
|
---|
[26663] | 7715 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
---|
[25149] | 7716 | esac
|
---|
| 7717 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
[26663] | 7718 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
[25149] | 7719 | done
|
---|
| 7720 |
|
---|
| 7721 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7722 | # use $as_me), people would be surprised to read:
|
---|
| 7723 | # /* config.h. Generated by config.status. */
|
---|
| 7724 | configure_input='Generated from '`
|
---|
| 7725 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 7726 | `' by configure.'
|
---|
| 7727 | if test x"$ac_file" != x-; then
|
---|
| 7728 | configure_input="$ac_file. $configure_input"
|
---|
[26663] | 7729 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
[25149] | 7730 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 7731 | fi
|
---|
| 7732 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 7733 | case $configure_input in #(
|
---|
| 7734 | *\&* | *\|* | *\\* )
|
---|
| 7735 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 7736 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 7737 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 7738 | esac
|
---|
| 7739 |
|
---|
| 7740 | case $ac_tag in
|
---|
[26663] | 7741 | *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
---|
| 7742 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
[25149] | 7743 | esac
|
---|
| 7744 | ;;
|
---|
| 7745 | esac
|
---|
| 7746 |
|
---|
| 7747 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[16565] | 7748 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7749 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7750 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[25149] | 7751 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7752 | $as_echo X"$ac_file" |
|
---|
| 7753 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7754 | s//\1/
|
---|
| 7755 | q
|
---|
| 7756 | }
|
---|
| 7757 | /^X\(\/\/\)[^/].*/{
|
---|
| 7758 | s//\1/
|
---|
| 7759 | q
|
---|
| 7760 | }
|
---|
| 7761 | /^X\(\/\/\)$/{
|
---|
| 7762 | s//\1/
|
---|
| 7763 | q
|
---|
| 7764 | }
|
---|
| 7765 | /^X\(\/\).*/{
|
---|
| 7766 | s//\1/
|
---|
| 7767 | q
|
---|
| 7768 | }
|
---|
| 7769 | s/.*/./; q'`
|
---|
[26663] | 7770 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16565] | 7771 | ac_builddir=.
|
---|
| 7772 |
|
---|
[25149] | 7773 | case "$ac_dir" in
|
---|
| 7774 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7775 | *)
|
---|
| 7776 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7777 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7778 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7779 | case $ac_top_builddir_sub in
|
---|
| 7780 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7781 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7782 | esac ;;
|
---|
| 7783 | esac
|
---|
| 7784 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7785 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7786 | # for backward compatibility:
|
---|
| 7787 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16565] | 7788 |
|
---|
| 7789 | case $srcdir in
|
---|
[25149] | 7790 | .) # We are building in place.
|
---|
[16565] | 7791 | ac_srcdir=.
|
---|
[25149] | 7792 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7793 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7794 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16565] | 7795 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 7796 | ac_top_srcdir=$srcdir
|
---|
| 7797 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7798 | *) # Relative name.
|
---|
| 7799 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7800 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7801 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16565] | 7802 | esac
|
---|
[25149] | 7803 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16565] | 7804 |
|
---|
| 7805 |
|
---|
[25149] | 7806 | case $ac_mode in
|
---|
| 7807 | :F)
|
---|
| 7808 | #
|
---|
| 7809 | # CONFIG_FILE
|
---|
| 7810 | #
|
---|
[16565] | 7811 |
|
---|
| 7812 | case $INSTALL in
|
---|
| 7813 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[25149] | 7814 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[16565] | 7815 | esac
|
---|
[25149] | 7816 | _ACEOF
|
---|
[16565] | 7817 |
|
---|
[25149] | 7818 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7819 | # If the template does not know about datarootdir, expand it.
|
---|
| 7820 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 7821 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 7822 | ac_sed_dataroot='
|
---|
| 7823 | /datarootdir/ {
|
---|
| 7824 | p
|
---|
| 7825 | q
|
---|
| 7826 | }
|
---|
| 7827 | /@datadir@/p
|
---|
| 7828 | /@docdir@/p
|
---|
| 7829 | /@infodir@/p
|
---|
| 7830 | /@localedir@/p
|
---|
[26663] | 7831 | /@mandir@/p'
|
---|
[25149] | 7832 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 7833 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 7834 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
[26663] | 7835 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
[25149] | 7836 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
[23356] | 7837 | _ACEOF
|
---|
[25149] | 7838 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7839 | ac_datarootdir_hack='
|
---|
| 7840 | s&@datadir@&$datadir&g
|
---|
| 7841 | s&@docdir@&$docdir&g
|
---|
| 7842 | s&@infodir@&$infodir&g
|
---|
| 7843 | s&@localedir@&$localedir&g
|
---|
| 7844 | s&@mandir@&$mandir&g
|
---|
[26663] | 7845 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
[25149] | 7846 | esac
|
---|
| 7847 | _ACEOF
|
---|
| 7848 |
|
---|
| 7849 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 7850 | # Shell code in configure.ac might set extrasub.
|
---|
| 7851 | # FIXME: do we really want to maintain this feature?
|
---|
| 7852 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7853 | ac_sed_extra="$ac_vpsub
|
---|
[16565] | 7854 | $extrasub
|
---|
| 7855 | _ACEOF
|
---|
[25149] | 7856 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16565] | 7857 | :t
|
---|
| 7858 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[25149] | 7859 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 7860 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 7861 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 7862 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 7863 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 7864 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 7865 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 7866 | s&@builddir@&$ac_builddir&;t t
|
---|
| 7867 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 7868 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 7869 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 7870 | $ac_datarootdir_hack
|
---|
| 7871 | "
|
---|
[26663] | 7872 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
---|
| 7873 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16565] | 7874 |
|
---|
[25149] | 7875 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
[26663] | 7876 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 7877 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
---|
| 7878 | "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 7879 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7880 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
[25149] | 7881 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[26663] | 7882 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
[16565] | 7883 |
|
---|
[26663] | 7884 | rm -f "$ac_tmp/stdin"
|
---|
[16565] | 7885 | case $ac_file in
|
---|
[26663] | 7886 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
---|
| 7887 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
---|
[25149] | 7888 | esac \
|
---|
[26663] | 7889 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[25149] | 7890 | ;;
|
---|
| 7891 | :H)
|
---|
| 7892 | #
|
---|
| 7893 | # CONFIG_HEADER
|
---|
| 7894 | #
|
---|
| 7895 | if test x"$ac_file" != x-; then
|
---|
| 7896 | {
|
---|
| 7897 | $as_echo "/* $configure_input */" \
|
---|
[26663] | 7898 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 7899 | } >"$ac_tmp/config.h" \
|
---|
| 7900 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7901 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
---|
| 7902 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
[25149] | 7903 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[16565] | 7904 | else
|
---|
[25149] | 7905 | rm -f "$ac_file"
|
---|
[26663] | 7906 | mv "$ac_tmp/config.h" "$ac_file" \
|
---|
| 7907 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16565] | 7908 | fi
|
---|
| 7909 | else
|
---|
[25149] | 7910 | $as_echo "/* $configure_input */" \
|
---|
[26663] | 7911 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
---|
| 7912 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
[16565] | 7913 | fi
|
---|
[25149] | 7914 | ;;
|
---|
[16565] | 7915 |
|
---|
| 7916 |
|
---|
[25149] | 7917 | esac
|
---|
| 7918 |
|
---|
| 7919 | done # for ac_tag
|
---|
| 7920 |
|
---|
| 7921 |
|
---|
[26663] | 7922 | as_fn_exit 0
|
---|
[16565] | 7923 | _ACEOF
|
---|
| 7924 | ac_clean_files=$ac_clean_files_save
|
---|
| 7925 |
|
---|
[25149] | 7926 | test $ac_write_fail = 0 ||
|
---|
[26663] | 7927 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
[16565] | 7928 |
|
---|
[25149] | 7929 |
|
---|
[16565] | 7930 | # configure is writing to config.log, and then calls config.status.
|
---|
| 7931 | # config.status does its own redirection, appending to config.log.
|
---|
| 7932 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 7933 | # by configure, so config.status won't be able to write to it; its
|
---|
| 7934 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 7935 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 7936 | # appended to by config.status. When coming back to configure, we
|
---|
| 7937 | # need to make the FD available again.
|
---|
| 7938 | if test "$no_create" != yes; then
|
---|
| 7939 | ac_cs_success=:
|
---|
| 7940 | ac_config_status_args=
|
---|
| 7941 | test "$silent" = yes &&
|
---|
| 7942 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 7943 | exec 5>/dev/null
|
---|
| 7944 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 7945 | exec 5>>config.log
|
---|
| 7946 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 7947 | # would make configure fail if this is the last instruction.
|
---|
[26663] | 7948 | $ac_cs_success || as_fn_exit 1
|
---|
[16565] | 7949 | fi
|
---|
| 7950 |
|
---|
| 7951 | #
|
---|
| 7952 | # CONFIG_SUBDIRS section.
|
---|
| 7953 | #
|
---|
| 7954 | if test "$no_recursion" != yes; then
|
---|
| 7955 |
|
---|
[25149] | 7956 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
| 7957 | # so they do not pile up.
|
---|
[16565] | 7958 | ac_sub_configure_args=
|
---|
| 7959 | ac_prev=
|
---|
[25149] | 7960 | eval "set x $ac_configure_args"
|
---|
| 7961 | shift
|
---|
| 7962 | for ac_arg
|
---|
| 7963 | do
|
---|
[16565] | 7964 | if test -n "$ac_prev"; then
|
---|
| 7965 | ac_prev=
|
---|
| 7966 | continue
|
---|
| 7967 | fi
|
---|
| 7968 | case $ac_arg in
|
---|
| 7969 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 7970 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 7971 | ac_prev=cache_file ;;
|
---|
| 7972 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 7973 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 7974 | | --c=*)
|
---|
| 7975 | ;;
|
---|
| 7976 | --config-cache | -C)
|
---|
| 7977 | ;;
|
---|
| 7978 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 7979 | ac_prev=srcdir ;;
|
---|
| 7980 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 7981 | ;;
|
---|
| 7982 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 7983 | ac_prev=prefix ;;
|
---|
| 7984 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 7985 | ;;
|
---|
[25149] | 7986 | --disable-option-checking)
|
---|
| 7987 | ;;
|
---|
| 7988 | *)
|
---|
| 7989 | case $ac_arg in
|
---|
| 7990 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7991 | esac
|
---|
[26663] | 7992 | as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
---|
[16565] | 7993 | esac
|
---|
| 7994 | done
|
---|
| 7995 |
|
---|
| 7996 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 7997 | # in subdir configurations.
|
---|
[25149] | 7998 | ac_arg="--prefix=$prefix"
|
---|
| 7999 | case $ac_arg in
|
---|
| 8000 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8001 | esac
|
---|
| 8002 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[16565] | 8003 |
|
---|
[25149] | 8004 | # Pass --silent
|
---|
| 8005 | if test "$silent" = yes; then
|
---|
| 8006 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 8007 | fi
|
---|
| 8008 |
|
---|
| 8009 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
| 8010 | # different subdirs can have different --enable and --with options.
|
---|
| 8011 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
| 8012 |
|
---|
[16565] | 8013 | ac_popdir=`pwd`
|
---|
| 8014 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 8015 |
|
---|
| 8016 | # Do not complain, so a configure script can configure whichever
|
---|
| 8017 | # parts of a large source tree are present.
|
---|
[25149] | 8018 | test -d "$srcdir/$ac_dir" || continue
|
---|
[16565] | 8019 |
|
---|
[25149] | 8020 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
[26663] | 8021 | $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
---|
[25149] | 8022 | $as_echo "$ac_msg" >&6
|
---|
[26663] | 8023 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16565] | 8024 | ac_builddir=.
|
---|
| 8025 |
|
---|
[25149] | 8026 | case "$ac_dir" in
|
---|
| 8027 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8028 | *)
|
---|
| 8029 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 8030 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 8031 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 8032 | case $ac_top_builddir_sub in
|
---|
| 8033 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8034 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8035 | esac ;;
|
---|
| 8036 | esac
|
---|
| 8037 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8038 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8039 | # for backward compatibility:
|
---|
| 8040 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16565] | 8041 |
|
---|
| 8042 | case $srcdir in
|
---|
[25149] | 8043 | .) # We are building in place.
|
---|
[16565] | 8044 | ac_srcdir=.
|
---|
[25149] | 8045 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8046 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8047 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16565] | 8048 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 8049 | ac_top_srcdir=$srcdir
|
---|
| 8050 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8051 | *) # Relative name.
|
---|
| 8052 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8053 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8054 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16565] | 8055 | esac
|
---|
[25149] | 8056 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16565] | 8057 |
|
---|
| 8058 |
|
---|
[25149] | 8059 | cd "$ac_dir"
|
---|
[16565] | 8060 |
|
---|
| 8061 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[25149] | 8062 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 8063 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 8064 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 8065 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 8066 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 8067 | # This should be Cygnus configure.
|
---|
| 8068 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[16565] | 8069 | else
|
---|
[26663] | 8070 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
---|
[25149] | 8071 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[16565] | 8072 | ac_sub_configure=
|
---|
| 8073 | fi
|
---|
| 8074 |
|
---|
| 8075 | # The recursion is here.
|
---|
| 8076 | if test -n "$ac_sub_configure"; then
|
---|
| 8077 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 8078 | case $cache_file in
|
---|
| 8079 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[25149] | 8080 | *) # Relative name.
|
---|
| 8081 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[16565] | 8082 | esac
|
---|
| 8083 |
|
---|
[26663] | 8084 | { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
[25149] | 8085 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[16565] | 8086 | # The eval makes quoting arguments work.
|
---|
[25149] | 8087 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 8088 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
[26663] | 8089 | as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
---|
[16565] | 8090 | fi
|
---|
| 8091 |
|
---|
[25149] | 8092 | cd "$ac_popdir"
|
---|
[16565] | 8093 | done
|
---|
| 8094 | fi
|
---|
[25149] | 8095 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
[26663] | 8096 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
[25149] | 8097 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 8098 | fi
|
---|
[16565] | 8099 |
|
---|
| 8100 |
|
---|
| 8101 |
|
---|