[16568] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[23356] | 3 | # Generated by GNU Autoconf 2.67.
|
---|
[16568] | 4 | #
|
---|
[23356] | 5 | #
|
---|
| 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
| 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
---|
| 8 | # Foundation, Inc.
|
---|
| 9 | #
|
---|
| 10 | #
|
---|
[16568] | 11 | # This configure script is free software; the Free Software Foundation
|
---|
| 12 | # gives unlimited permission to copy, distribute and modify it.
|
---|
[23356] | 13 | ## -------------------- ##
|
---|
| 14 | ## M4sh Initialization. ##
|
---|
| 15 | ## -------------------- ##
|
---|
[16568] | 16 |
|
---|
[23356] | 17 | # Be more Bourne compatible
|
---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16568] | 20 | emulate sh
|
---|
| 21 | NULLCMD=:
|
---|
[23356] | 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16568] | 23 | # is contrary to our usage. Disable this feature.
|
---|
| 24 | alias -g '${1+"$@"}'='"$@"'
|
---|
[23356] | 25 | setopt NO_GLOB_SUBST
|
---|
| 26 | else
|
---|
| 27 | case `(set -o) 2>/dev/null` in #(
|
---|
| 28 | *posix*) :
|
---|
| 29 | set -o posix ;; #(
|
---|
| 30 | *) :
|
---|
| 31 | ;;
|
---|
| 32 | esac
|
---|
[16568] | 33 | fi
|
---|
| 34 |
|
---|
[23356] | 35 |
|
---|
| 36 | as_nl='
|
---|
| 37 | '
|
---|
| 38 | export as_nl
|
---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 44 | # but without wasting forks for bash or zsh.
|
---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 47 | as_echo='print -r --'
|
---|
| 48 | as_echo_n='print -rn --'
|
---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 50 | as_echo='printf %s\n'
|
---|
| 51 | as_echo_n='printf %s'
|
---|
[16568] | 52 | else
|
---|
[23356] | 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 55 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 56 | else
|
---|
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 58 | as_echo_n_body='eval
|
---|
| 59 | arg=$1;
|
---|
| 60 | case $arg in #(
|
---|
| 61 | *"$as_nl"*)
|
---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 64 | esac;
|
---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 66 | '
|
---|
| 67 | export as_echo_n_body
|
---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 69 | fi
|
---|
| 70 | export as_echo_body
|
---|
| 71 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[16568] | 72 | fi
|
---|
| 73 |
|
---|
[23356] | 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
|
---|
[16568] | 82 |
|
---|
[23356] | 83 |
|
---|
| 84 | # IFS
|
---|
| 85 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 86 | # there to prevent editors from complaining about space-tab.
|
---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 88 | # splitting by setting IFS to empty value.)
|
---|
| 89 | IFS=" "" $as_nl"
|
---|
| 90 |
|
---|
| 91 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 92 | case $0 in #((
|
---|
| 93 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 95 | for as_dir in $PATH
|
---|
| 96 | do
|
---|
| 97 | IFS=$as_save_IFS
|
---|
| 98 | test -z "$as_dir" && as_dir=.
|
---|
| 99 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 100 | done
|
---|
| 101 | IFS=$as_save_IFS
|
---|
| 102 |
|
---|
| 103 | ;;
|
---|
| 104 | esac
|
---|
| 105 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 106 | # in which case we are not to be found in the path.
|
---|
| 107 | if test "x$as_myself" = x; then
|
---|
| 108 | as_myself=$0
|
---|
| 109 | fi
|
---|
| 110 | if test ! -f "$as_myself"; then
|
---|
| 111 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 112 | exit 1
|
---|
| 113 | fi
|
---|
| 114 |
|
---|
| 115 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 116 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 117 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 118 | # trigger a bug in pdksh 5.2.14.
|
---|
| 119 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 120 | do eval test x\${$as_var+set} = xset \
|
---|
| 121 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 122 | done
|
---|
[16568] | 123 | PS1='$ '
|
---|
| 124 | PS2='> '
|
---|
| 125 | PS4='+ '
|
---|
| 126 |
|
---|
| 127 | # NLS nuisances.
|
---|
[23356] | 128 | LC_ALL=C
|
---|
| 129 | export LC_ALL
|
---|
| 130 | LANGUAGE=C
|
---|
| 131 | export LANGUAGE
|
---|
| 132 |
|
---|
| 133 | # CDPATH.
|
---|
| 134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 135 |
|
---|
| 136 | if test "x$CONFIG_SHELL" = x; then
|
---|
| 137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
---|
| 138 | emulate sh
|
---|
| 139 | NULLCMD=:
|
---|
| 140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
---|
| 141 | # is contrary to our usage. Disable this feature.
|
---|
| 142 | alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
---|
| 143 | setopt NO_GLOB_SUBST
|
---|
| 144 | else
|
---|
| 145 | case \`(set -o) 2>/dev/null\` in #(
|
---|
| 146 | *posix*) :
|
---|
| 147 | set -o posix ;; #(
|
---|
| 148 | *) :
|
---|
| 149 | ;;
|
---|
| 150 | esac
|
---|
| 151 | fi
|
---|
| 152 | "
|
---|
| 153 | as_required="as_fn_return () { (exit \$1); }
|
---|
| 154 | as_fn_success () { as_fn_return 0; }
|
---|
| 155 | as_fn_failure () { as_fn_return 1; }
|
---|
| 156 | as_fn_ret_success () { return 0; }
|
---|
| 157 | as_fn_ret_failure () { return 1; }
|
---|
| 158 |
|
---|
| 159 | exitcode=0
|
---|
| 160 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
| 161 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
| 162 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
| 163 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
| 164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
| 165 |
|
---|
| 166 | else
|
---|
| 167 | exitcode=1; echo positional parameters were not saved.
|
---|
| 168 | fi
|
---|
| 169 | test x\$exitcode = x0 || exit 1"
|
---|
| 170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
---|
| 171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
---|
| 172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
---|
| 173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
---|
| 174 | test \$(( 1 + 1 )) = 2 || exit 1"
|
---|
| 175 | if (eval "$as_required") 2>/dev/null; then :
|
---|
| 176 | as_have_required=yes
|
---|
| 177 | else
|
---|
| 178 | as_have_required=no
|
---|
| 179 | fi
|
---|
| 180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
| 181 |
|
---|
| 182 | else
|
---|
| 183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 184 | as_found=false
|
---|
| 185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
[16568] | 186 | do
|
---|
[23356] | 187 | IFS=$as_save_IFS
|
---|
| 188 | test -z "$as_dir" && as_dir=.
|
---|
| 189 | as_found=:
|
---|
| 190 | case $as_dir in #(
|
---|
| 191 | /*)
|
---|
| 192 | for as_base in sh bash ksh sh5; do
|
---|
| 193 | # Try only shells that exist, to save several forks.
|
---|
| 194 | as_shell=$as_dir/$as_base
|
---|
| 195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
| 196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 197 | CONFIG_SHELL=$as_shell as_have_required=yes
|
---|
| 198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 199 | break 2
|
---|
| 200 | fi
|
---|
| 201 | fi
|
---|
| 202 | done;;
|
---|
| 203 | esac
|
---|
| 204 | as_found=false
|
---|
| 205 | done
|
---|
| 206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
---|
| 207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
---|
| 208 | CONFIG_SHELL=$SHELL as_have_required=yes
|
---|
| 209 | fi; }
|
---|
| 210 | IFS=$as_save_IFS
|
---|
| 211 |
|
---|
| 212 |
|
---|
| 213 | if test "x$CONFIG_SHELL" != x; then :
|
---|
| 214 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
| 215 | # neutralization value for shells without unset; and this also
|
---|
| 216 | # works around shells that cannot unset nonexistent variables.
|
---|
| 217 | BASH_ENV=/dev/null
|
---|
| 218 | ENV=/dev/null
|
---|
| 219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
| 220 | export CONFIG_SHELL
|
---|
| 221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
---|
| 222 | fi
|
---|
| 223 |
|
---|
| 224 | if test x$as_have_required = xno; then :
|
---|
| 225 | $as_echo "$0: This script requires a shell more modern than all"
|
---|
| 226 | $as_echo "$0: the shells that I found on your system."
|
---|
| 227 | if test x${ZSH_VERSION+set} = xset ; then
|
---|
| 228 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
---|
| 229 | $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
---|
[16568] | 230 | else
|
---|
[23356] | 231 | $as_echo "$0: Please tell [email protected] about your system,
|
---|
| 232 | $0: including any error possibly output before this
|
---|
| 233 | $0: message. Then install a modern shell, or manually run
|
---|
| 234 | $0: the script under such a shell if you do have one."
|
---|
[16568] | 235 | fi
|
---|
[23356] | 236 | exit 1
|
---|
| 237 | fi
|
---|
| 238 | fi
|
---|
| 239 | fi
|
---|
| 240 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 241 | export SHELL
|
---|
| 242 | # Unset more variables known to interfere with behavior of common tools.
|
---|
| 243 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
| 244 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
[16568] | 245 |
|
---|
[23356] | 246 | ## --------------------- ##
|
---|
| 247 | ## M4sh Shell Functions. ##
|
---|
| 248 | ## --------------------- ##
|
---|
| 249 | # as_fn_unset VAR
|
---|
| 250 | # ---------------
|
---|
| 251 | # Portably unset VAR.
|
---|
| 252 | as_fn_unset ()
|
---|
| 253 | {
|
---|
| 254 | { eval $1=; unset $1;}
|
---|
| 255 | }
|
---|
| 256 | as_unset=as_fn_unset
|
---|
| 257 |
|
---|
| 258 | # as_fn_set_status STATUS
|
---|
| 259 | # -----------------------
|
---|
| 260 | # Set $? to STATUS, without forking.
|
---|
| 261 | as_fn_set_status ()
|
---|
| 262 | {
|
---|
| 263 | return $1
|
---|
| 264 | } # as_fn_set_status
|
---|
| 265 |
|
---|
| 266 | # as_fn_exit STATUS
|
---|
| 267 | # -----------------
|
---|
| 268 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 269 | as_fn_exit ()
|
---|
| 270 | {
|
---|
| 271 | set +e
|
---|
| 272 | as_fn_set_status $1
|
---|
| 273 | exit $1
|
---|
| 274 | } # as_fn_exit
|
---|
| 275 |
|
---|
| 276 | # as_fn_mkdir_p
|
---|
| 277 | # -------------
|
---|
| 278 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 279 | as_fn_mkdir_p ()
|
---|
| 280 | {
|
---|
| 281 |
|
---|
| 282 | case $as_dir in #(
|
---|
| 283 | -*) as_dir=./$as_dir;;
|
---|
| 284 | esac
|
---|
| 285 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 286 | as_dirs=
|
---|
| 287 | while :; do
|
---|
| 288 | case $as_dir in #(
|
---|
| 289 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 290 | *) as_qdir=$as_dir;;
|
---|
| 291 | esac
|
---|
| 292 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 293 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 294 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 295 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 296 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 297 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 298 | $as_echo X"$as_dir" |
|
---|
| 299 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 300 | s//\1/
|
---|
| 301 | q
|
---|
| 302 | }
|
---|
| 303 | /^X\(\/\/\)[^/].*/{
|
---|
| 304 | s//\1/
|
---|
| 305 | q
|
---|
| 306 | }
|
---|
| 307 | /^X\(\/\/\)$/{
|
---|
| 308 | s//\1/
|
---|
| 309 | q
|
---|
| 310 | }
|
---|
| 311 | /^X\(\/\).*/{
|
---|
| 312 | s//\1/
|
---|
| 313 | q
|
---|
| 314 | }
|
---|
| 315 | s/.*/./; q'`
|
---|
| 316 | test -d "$as_dir" && break
|
---|
| 317 | done
|
---|
| 318 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 319 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 320 |
|
---|
| 321 |
|
---|
| 322 | } # as_fn_mkdir_p
|
---|
| 323 | # as_fn_append VAR VALUE
|
---|
| 324 | # ----------------------
|
---|
| 325 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 326 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 327 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 328 | # implementations.
|
---|
| 329 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 330 | eval 'as_fn_append ()
|
---|
| 331 | {
|
---|
| 332 | eval $1+=\$2
|
---|
| 333 | }'
|
---|
| 334 | else
|
---|
| 335 | as_fn_append ()
|
---|
| 336 | {
|
---|
| 337 | eval $1=\$$1\$2
|
---|
| 338 | }
|
---|
| 339 | fi # as_fn_append
|
---|
| 340 |
|
---|
| 341 | # as_fn_arith ARG...
|
---|
| 342 | # ------------------
|
---|
| 343 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 344 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 345 | # must be portable across $(()) and expr.
|
---|
| 346 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 347 | eval 'as_fn_arith ()
|
---|
| 348 | {
|
---|
| 349 | as_val=$(( $* ))
|
---|
| 350 | }'
|
---|
| 351 | else
|
---|
| 352 | as_fn_arith ()
|
---|
| 353 | {
|
---|
| 354 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 355 | }
|
---|
| 356 | fi # as_fn_arith
|
---|
| 357 |
|
---|
| 358 |
|
---|
| 359 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 360 | # ----------------------------------------
|
---|
| 361 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 362 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 363 | # script with STATUS, using 1 if that was 0.
|
---|
| 364 | as_fn_error ()
|
---|
| 365 | {
|
---|
| 366 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 367 | if test "$4"; then
|
---|
| 368 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 369 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 370 | fi
|
---|
| 371 | $as_echo "$as_me: error: $2" >&2
|
---|
| 372 | as_fn_exit $as_status
|
---|
| 373 | } # as_fn_error
|
---|
| 374 |
|
---|
| 375 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 376 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16568] | 377 | as_expr=expr
|
---|
| 378 | else
|
---|
| 379 | as_expr=false
|
---|
| 380 | fi
|
---|
| 381 |
|
---|
[23356] | 382 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16568] | 383 | as_basename=basename
|
---|
| 384 | else
|
---|
| 385 | as_basename=false
|
---|
| 386 | fi
|
---|
| 387 |
|
---|
[23356] | 388 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 389 | as_dirname=dirname
|
---|
| 390 | else
|
---|
| 391 | as_dirname=false
|
---|
| 392 | fi
|
---|
[16568] | 393 |
|
---|
[23356] | 394 | as_me=`$as_basename -- "$0" ||
|
---|
[16568] | 395 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 396 | X"$0" : 'X\(//\)$' \| \
|
---|
[23356] | 397 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 398 | $as_echo X/"$0" |
|
---|
| 399 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 400 | s//\1/
|
---|
| 401 | q
|
---|
| 402 | }
|
---|
| 403 | /^X\/\(\/\/\)$/{
|
---|
| 404 | s//\1/
|
---|
| 405 | q
|
---|
| 406 | }
|
---|
| 407 | /^X\/\(\/\).*/{
|
---|
| 408 | s//\1/
|
---|
| 409 | q
|
---|
| 410 | }
|
---|
| 411 | s/.*/./; q'`
|
---|
[16568] | 412 |
|
---|
[20854] | 413 | # Avoid depending upon Character Ranges.
|
---|
| 414 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 415 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 416 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 417 | as_cr_digits='0123456789'
|
---|
| 418 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[16568] | 419 |
|
---|
| 420 |
|
---|
[23356] | 421 | as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
---|
| 422 | as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
---|
| 423 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
---|
| 424 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
---|
| 425 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 426 | sed -n '
|
---|
| 427 | p
|
---|
| 428 | /[$]LINENO/=
|
---|
| 429 | ' <$as_myself |
|
---|
[16568] | 430 | sed '
|
---|
[23356] | 431 | s/[$]LINENO.*/&-/
|
---|
| 432 | t lineno
|
---|
| 433 | b
|
---|
| 434 | :lineno
|
---|
[16568] | 435 | N
|
---|
[23356] | 436 | :loop
|
---|
| 437 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16568] | 438 | t loop
|
---|
[23356] | 439 | s/-\n.*//
|
---|
[16568] | 440 | ' >$as_me.lineno &&
|
---|
[23356] | 441 | chmod +x "$as_me.lineno" ||
|
---|
| 442 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
---|
[16568] | 443 |
|
---|
| 444 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 445 | # (the dirname of $[0] is not the place where we might find the
|
---|
[23356] | 446 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 447 | . "./$as_me.lineno"
|
---|
[16568] | 448 | # Exit status is that of the last command.
|
---|
| 449 | exit
|
---|
| 450 | }
|
---|
| 451 |
|
---|
[23356] | 452 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 453 | case `echo -n x` in #(((((
|
---|
| 454 | -n*)
|
---|
| 455 | case `echo 'xy\c'` in
|
---|
| 456 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 457 | xy) ECHO_C='\c';;
|
---|
| 458 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 459 | ECHO_T=' ';;
|
---|
| 460 | esac;;
|
---|
| 461 | *)
|
---|
| 462 | ECHO_N='-n';;
|
---|
[16568] | 463 | esac
|
---|
| 464 |
|
---|
[23356] | 465 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 466 | if test -d conf$$.dir; then
|
---|
| 467 | rm -f conf$$.dir/conf$$.file
|
---|
[16568] | 468 | else
|
---|
[23356] | 469 | rm -f conf$$.dir
|
---|
| 470 | mkdir conf$$.dir 2>/dev/null
|
---|
[16568] | 471 | fi
|
---|
[23356] | 472 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 473 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 474 | as_ln_s='ln -s'
|
---|
| 475 | # ... but there are two gotchas:
|
---|
| 476 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 477 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 478 | # In both cases, we have to default to `cp -p'.
|
---|
| 479 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 480 | as_ln_s='cp -p'
|
---|
| 481 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 482 | as_ln_s=ln
|
---|
| 483 | else
|
---|
[16568] | 484 | as_ln_s='cp -p'
|
---|
[20854] | 485 | fi
|
---|
[16568] | 486 | else
|
---|
| 487 | as_ln_s='cp -p'
|
---|
| 488 | fi
|
---|
[23356] | 489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 490 | rmdir conf$$.dir 2>/dev/null
|
---|
[16568] | 491 |
|
---|
| 492 | if mkdir -p . 2>/dev/null; then
|
---|
[23356] | 493 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16568] | 494 | else
|
---|
| 495 | test -d ./-p && rmdir ./-p
|
---|
| 496 | as_mkdir_p=false
|
---|
| 497 | fi
|
---|
| 498 |
|
---|
[23356] | 499 | if test -x / >/dev/null 2>&1; then
|
---|
| 500 | as_test_x='test -x'
|
---|
| 501 | else
|
---|
| 502 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 503 | as_ls_L_option=L
|
---|
| 504 | else
|
---|
| 505 | as_ls_L_option=
|
---|
| 506 | fi
|
---|
| 507 | as_test_x='
|
---|
| 508 | eval sh -c '\''
|
---|
| 509 | if test -d "$1"; then
|
---|
| 510 | test -d "$1/.";
|
---|
| 511 | else
|
---|
| 512 | case $1 in #(
|
---|
| 513 | -*)set "./$1";;
|
---|
| 514 | esac;
|
---|
| 515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
| 516 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 517 | '\'' sh
|
---|
| 518 | '
|
---|
| 519 | fi
|
---|
| 520 | as_executable_p=$as_test_x
|
---|
[16568] | 521 |
|
---|
| 522 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 523 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 524 |
|
---|
| 525 | # Sed expression to map a string onto a valid variable name.
|
---|
| 526 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 527 |
|
---|
| 528 |
|
---|
[23356] | 529 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
| 530 | exec 6>&1
|
---|
[16568] | 531 |
|
---|
| 532 | # Name of the host.
|
---|
[23356] | 533 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
[16568] | 534 | # so uname gets run too.
|
---|
| 535 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 536 |
|
---|
| 537 | #
|
---|
| 538 | # Initializations.
|
---|
| 539 | #
|
---|
| 540 | ac_default_prefix=/usr/local
|
---|
[23356] | 541 | ac_clean_files=
|
---|
[16568] | 542 | ac_config_libobj_dir=.
|
---|
[23356] | 543 | LIBOBJS=
|
---|
[16568] | 544 | cross_compiling=no
|
---|
| 545 | subdirs=
|
---|
| 546 | MFLAGS=
|
---|
| 547 | MAKEFLAGS=
|
---|
| 548 |
|
---|
| 549 | # Identity of this package.
|
---|
| 550 | PACKAGE_NAME=
|
---|
| 551 | PACKAGE_TARNAME=
|
---|
| 552 | PACKAGE_VERSION=
|
---|
| 553 | PACKAGE_STRING=
|
---|
| 554 | PACKAGE_BUGREPORT=
|
---|
[23356] | 555 | PACKAGE_URL=
|
---|
[16568] | 556 |
|
---|
| 557 | # Factoring default headers for most tests.
|
---|
| 558 | ac_includes_default="\
|
---|
| 559 | #include <stdio.h>
|
---|
[23356] | 560 | #ifdef HAVE_SYS_TYPES_H
|
---|
[16568] | 561 | # include <sys/types.h>
|
---|
| 562 | #endif
|
---|
[23356] | 563 | #ifdef HAVE_SYS_STAT_H
|
---|
[16568] | 564 | # include <sys/stat.h>
|
---|
| 565 | #endif
|
---|
[23356] | 566 | #ifdef STDC_HEADERS
|
---|
[16568] | 567 | # include <stdlib.h>
|
---|
| 568 | # include <stddef.h>
|
---|
| 569 | #else
|
---|
[23356] | 570 | # ifdef HAVE_STDLIB_H
|
---|
[16568] | 571 | # include <stdlib.h>
|
---|
| 572 | # endif
|
---|
| 573 | #endif
|
---|
[23356] | 574 | #ifdef HAVE_STRING_H
|
---|
| 575 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[16568] | 576 | # include <memory.h>
|
---|
| 577 | # endif
|
---|
| 578 | # include <string.h>
|
---|
| 579 | #endif
|
---|
[23356] | 580 | #ifdef HAVE_STRINGS_H
|
---|
[16568] | 581 | # include <strings.h>
|
---|
| 582 | #endif
|
---|
[23356] | 583 | #ifdef HAVE_INTTYPES_H
|
---|
[16568] | 584 | # include <inttypes.h>
|
---|
| 585 | #endif
|
---|
[23356] | 586 | #ifdef HAVE_STDINT_H
|
---|
| 587 | # include <stdint.h>
|
---|
| 588 | #endif
|
---|
| 589 | #ifdef HAVE_UNISTD_H
|
---|
[16568] | 590 | # include <unistd.h>
|
---|
| 591 | #endif"
|
---|
| 592 |
|
---|
[23356] | 593 | enable_option_checking=no
|
---|
| 594 | ac_subst_vars='LTLIBOBJS
|
---|
| 595 | subdirs
|
---|
| 596 | MODULEDIRS
|
---|
| 597 | gsdlos
|
---|
| 598 | STATIC
|
---|
| 599 | LIBOBJS
|
---|
| 600 | ALLOCA
|
---|
| 601 | ANSI2KNR
|
---|
| 602 | U
|
---|
| 603 | EGREP
|
---|
| 604 | GREP
|
---|
| 605 | CPP
|
---|
| 606 | MICO_VER
|
---|
| 607 | COMPAT32BITFLAGS
|
---|
| 608 | RANLIB
|
---|
| 609 | SET_MAKE
|
---|
| 610 | LN_S
|
---|
| 611 | INSTALL_DATA
|
---|
| 612 | INSTALL_SCRIPT
|
---|
| 613 | INSTALL_PROGRAM
|
---|
| 614 | target_os
|
---|
| 615 | target_vendor
|
---|
| 616 | target_cpu
|
---|
| 617 | target
|
---|
| 618 | host_os
|
---|
| 619 | host_vendor
|
---|
| 620 | host_cpu
|
---|
| 621 | host
|
---|
| 622 | build_os
|
---|
| 623 | build_vendor
|
---|
| 624 | build_cpu
|
---|
| 625 | build
|
---|
| 626 | YFLAGS
|
---|
| 627 | YACC
|
---|
| 628 | AWK
|
---|
| 629 | uudecode
|
---|
| 630 | JAVA
|
---|
| 631 | JAVACFLAGS
|
---|
| 632 | JAVAC
|
---|
| 633 | ac_ct_CXX
|
---|
| 634 | CXXFLAGS
|
---|
| 635 | CXX
|
---|
| 636 | OBJEXT
|
---|
| 637 | EXEEXT
|
---|
| 638 | ac_ct_CC
|
---|
| 639 | CPPFLAGS
|
---|
| 640 | CC
|
---|
| 641 | CFLAGS
|
---|
| 642 | LDFLAGS
|
---|
| 643 | ENABLE_LUCENE
|
---|
| 644 | ENABLE_MGPP
|
---|
| 645 | ENABLE_MG
|
---|
| 646 | USE_APACHE_HTTPD
|
---|
| 647 | USE_SQLITE
|
---|
| 648 | ENABLE_ACCENTFOLD
|
---|
| 649 | USE_GDBM
|
---|
| 650 | USE_JDBM
|
---|
| 651 | ENABLE_JAVA
|
---|
| 652 | USE_YAZ
|
---|
| 653 | USE_Z3950
|
---|
| 654 | MICO_DIR
|
---|
| 655 | USE_CORBA
|
---|
| 656 | USE_LANGACTION
|
---|
| 657 | USE_FASTCGI
|
---|
| 658 | VERSION
|
---|
| 659 | PACKAGE
|
---|
| 660 | target_alias
|
---|
| 661 | host_alias
|
---|
| 662 | build_alias
|
---|
| 663 | LIBS
|
---|
| 664 | ECHO_T
|
---|
| 665 | ECHO_N
|
---|
| 666 | ECHO_C
|
---|
| 667 | DEFS
|
---|
| 668 | mandir
|
---|
| 669 | localedir
|
---|
| 670 | libdir
|
---|
| 671 | psdir
|
---|
| 672 | pdfdir
|
---|
| 673 | dvidir
|
---|
| 674 | htmldir
|
---|
| 675 | infodir
|
---|
| 676 | docdir
|
---|
| 677 | oldincludedir
|
---|
| 678 | includedir
|
---|
| 679 | localstatedir
|
---|
| 680 | sharedstatedir
|
---|
| 681 | sysconfdir
|
---|
| 682 | datadir
|
---|
| 683 | datarootdir
|
---|
| 684 | libexecdir
|
---|
| 685 | sbindir
|
---|
| 686 | bindir
|
---|
| 687 | program_transform_name
|
---|
| 688 | prefix
|
---|
| 689 | exec_prefix
|
---|
| 690 | PACKAGE_URL
|
---|
| 691 | PACKAGE_BUGREPORT
|
---|
| 692 | PACKAGE_STRING
|
---|
| 693 | PACKAGE_VERSION
|
---|
| 694 | PACKAGE_TARNAME
|
---|
| 695 | PACKAGE_NAME
|
---|
| 696 | PATH_SEPARATOR
|
---|
| 697 | SHELL'
|
---|
[16568] | 698 | ac_subst_files=''
|
---|
[23356] | 699 | ac_user_opts='
|
---|
| 700 | enable_option_checking
|
---|
| 701 | enable_corba
|
---|
| 702 | with_micodir
|
---|
| 703 | enable_z3950
|
---|
| 704 | enable_yaz
|
---|
| 705 | enable_java
|
---|
| 706 | enable_jdbm
|
---|
| 707 | enable_gdbm
|
---|
| 708 | enable_accentfold
|
---|
| 709 | enable_sqlite
|
---|
| 710 | enable_apache_httpd
|
---|
| 711 | enable_mg
|
---|
| 712 | enable_mgpp
|
---|
| 713 | enable_lucene
|
---|
| 714 | with_dmalloc
|
---|
| 715 | with_regex
|
---|
| 716 | '
|
---|
| 717 | ac_precious_vars='build_alias
|
---|
| 718 | host_alias
|
---|
| 719 | target_alias
|
---|
| 720 | CC
|
---|
| 721 | CFLAGS
|
---|
| 722 | LDFLAGS
|
---|
| 723 | LIBS
|
---|
| 724 | CPPFLAGS
|
---|
| 725 | CXX
|
---|
| 726 | CXXFLAGS
|
---|
| 727 | CCC
|
---|
| 728 | YACC
|
---|
| 729 | YFLAGS
|
---|
| 730 | CPP'
|
---|
| 731 | ac_subdirs_all='packages'
|
---|
[16568] | 732 |
|
---|
| 733 | # Initialize some variables set by options.
|
---|
| 734 | ac_init_help=
|
---|
| 735 | ac_init_version=false
|
---|
[23356] | 736 | ac_unrecognized_opts=
|
---|
| 737 | ac_unrecognized_sep=
|
---|
[16568] | 738 | # The variables have the same names as the options, with
|
---|
| 739 | # dashes changed to underlines.
|
---|
| 740 | cache_file=/dev/null
|
---|
| 741 | exec_prefix=NONE
|
---|
| 742 | no_create=
|
---|
| 743 | no_recursion=
|
---|
| 744 | prefix=NONE
|
---|
| 745 | program_prefix=NONE
|
---|
| 746 | program_suffix=NONE
|
---|
| 747 | program_transform_name=s,x,x,
|
---|
| 748 | silent=
|
---|
| 749 | site=
|
---|
| 750 | srcdir=
|
---|
| 751 | verbose=
|
---|
| 752 | x_includes=NONE
|
---|
| 753 | x_libraries=NONE
|
---|
| 754 |
|
---|
| 755 | # Installation directory options.
|
---|
| 756 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 757 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 758 | # by default will actually change.
|
---|
| 759 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[23356] | 760 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[16568] | 761 | bindir='${exec_prefix}/bin'
|
---|
| 762 | sbindir='${exec_prefix}/sbin'
|
---|
| 763 | libexecdir='${exec_prefix}/libexec'
|
---|
[23356] | 764 | datarootdir='${prefix}/share'
|
---|
| 765 | datadir='${datarootdir}'
|
---|
[16568] | 766 | sysconfdir='${prefix}/etc'
|
---|
| 767 | sharedstatedir='${prefix}/com'
|
---|
| 768 | localstatedir='${prefix}/var'
|
---|
| 769 | includedir='${prefix}/include'
|
---|
| 770 | oldincludedir='/usr/include'
|
---|
[23356] | 771 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 772 | infodir='${datarootdir}/info'
|
---|
| 773 | htmldir='${docdir}'
|
---|
| 774 | dvidir='${docdir}'
|
---|
| 775 | pdfdir='${docdir}'
|
---|
| 776 | psdir='${docdir}'
|
---|
| 777 | libdir='${exec_prefix}/lib'
|
---|
| 778 | localedir='${datarootdir}/locale'
|
---|
| 779 | mandir='${datarootdir}/man'
|
---|
[16568] | 780 |
|
---|
| 781 | ac_prev=
|
---|
[23356] | 782 | ac_dashdash=
|
---|
[16568] | 783 | for ac_option
|
---|
| 784 | do
|
---|
| 785 | # If the previous option needs an argument, assign it.
|
---|
| 786 | if test -n "$ac_prev"; then
|
---|
[23356] | 787 | eval $ac_prev=\$ac_option
|
---|
[16568] | 788 | ac_prev=
|
---|
| 789 | continue
|
---|
| 790 | fi
|
---|
| 791 |
|
---|
[23356] | 792 | case $ac_option in
|
---|
| 793 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 794 | *=) ac_optarg= ;;
|
---|
| 795 | *) ac_optarg=yes ;;
|
---|
| 796 | esac
|
---|
[16568] | 797 |
|
---|
| 798 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 799 |
|
---|
[23356] | 800 | case $ac_dashdash$ac_option in
|
---|
| 801 | --)
|
---|
| 802 | ac_dashdash=yes ;;
|
---|
[16568] | 803 |
|
---|
| 804 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 805 | ac_prev=bindir ;;
|
---|
| 806 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 807 | bindir=$ac_optarg ;;
|
---|
| 808 |
|
---|
| 809 | -build | --build | --buil | --bui | --bu)
|
---|
| 810 | ac_prev=build_alias ;;
|
---|
| 811 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 812 | build_alias=$ac_optarg ;;
|
---|
| 813 |
|
---|
| 814 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 815 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 816 | ac_prev=cache_file ;;
|
---|
| 817 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 818 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 819 | cache_file=$ac_optarg ;;
|
---|
| 820 |
|
---|
| 821 | --config-cache | -C)
|
---|
| 822 | cache_file=config.cache ;;
|
---|
| 823 |
|
---|
[23356] | 824 | -datadir | --datadir | --datadi | --datad)
|
---|
[16568] | 825 | ac_prev=datadir ;;
|
---|
[23356] | 826 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[16568] | 827 | datadir=$ac_optarg ;;
|
---|
| 828 |
|
---|
[23356] | 829 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 830 | | --dataroo | --dataro | --datar)
|
---|
| 831 | ac_prev=datarootdir ;;
|
---|
| 832 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 833 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 834 | datarootdir=$ac_optarg ;;
|
---|
| 835 |
|
---|
[16568] | 836 | -disable-* | --disable-*)
|
---|
[23356] | 837 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[16568] | 838 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 839 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 840 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 841 | ac_useropt_orig=$ac_useropt
|
---|
| 842 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 843 | case $ac_user_opts in
|
---|
| 844 | *"
|
---|
| 845 | "enable_$ac_useropt"
|
---|
| 846 | "*) ;;
|
---|
| 847 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 848 | ac_unrecognized_sep=', ';;
|
---|
| 849 | esac
|
---|
| 850 | eval enable_$ac_useropt=no ;;
|
---|
[16568] | 851 |
|
---|
[23356] | 852 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 853 | ac_prev=docdir ;;
|
---|
| 854 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 855 | docdir=$ac_optarg ;;
|
---|
| 856 |
|
---|
| 857 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 858 | ac_prev=dvidir ;;
|
---|
| 859 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 860 | dvidir=$ac_optarg ;;
|
---|
| 861 |
|
---|
[16568] | 862 | -enable-* | --enable-*)
|
---|
[23356] | 863 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[16568] | 864 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 865 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 866 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 867 | ac_useropt_orig=$ac_useropt
|
---|
| 868 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 869 | case $ac_user_opts in
|
---|
| 870 | *"
|
---|
| 871 | "enable_$ac_useropt"
|
---|
| 872 | "*) ;;
|
---|
| 873 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 874 | ac_unrecognized_sep=', ';;
|
---|
[20854] | 875 | esac
|
---|
[23356] | 876 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[16568] | 877 |
|
---|
| 878 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 879 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 880 | | --exec | --exe | --ex)
|
---|
| 881 | ac_prev=exec_prefix ;;
|
---|
| 882 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 883 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 884 | | --exec=* | --exe=* | --ex=*)
|
---|
| 885 | exec_prefix=$ac_optarg ;;
|
---|
| 886 |
|
---|
| 887 | -gas | --gas | --ga | --g)
|
---|
| 888 | # Obsolete; use --with-gas.
|
---|
| 889 | with_gas=yes ;;
|
---|
| 890 |
|
---|
| 891 | -help | --help | --hel | --he | -h)
|
---|
| 892 | ac_init_help=long ;;
|
---|
| 893 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 894 | ac_init_help=recursive ;;
|
---|
| 895 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 896 | ac_init_help=short ;;
|
---|
| 897 |
|
---|
| 898 | -host | --host | --hos | --ho)
|
---|
| 899 | ac_prev=host_alias ;;
|
---|
| 900 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 901 | host_alias=$ac_optarg ;;
|
---|
| 902 |
|
---|
[23356] | 903 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 904 | ac_prev=htmldir ;;
|
---|
| 905 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 906 | | --ht=*)
|
---|
| 907 | htmldir=$ac_optarg ;;
|
---|
| 908 |
|
---|
[16568] | 909 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 910 | | --includ | --inclu | --incl | --inc)
|
---|
| 911 | ac_prev=includedir ;;
|
---|
| 912 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 913 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 914 | includedir=$ac_optarg ;;
|
---|
| 915 |
|
---|
| 916 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 917 | ac_prev=infodir ;;
|
---|
| 918 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 919 | infodir=$ac_optarg ;;
|
---|
| 920 |
|
---|
| 921 | -libdir | --libdir | --libdi | --libd)
|
---|
| 922 | ac_prev=libdir ;;
|
---|
| 923 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 924 | libdir=$ac_optarg ;;
|
---|
| 925 |
|
---|
| 926 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 927 | | --libexe | --libex | --libe)
|
---|
| 928 | ac_prev=libexecdir ;;
|
---|
| 929 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 930 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 931 | libexecdir=$ac_optarg ;;
|
---|
| 932 |
|
---|
[23356] | 933 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 934 | ac_prev=localedir ;;
|
---|
| 935 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 936 | localedir=$ac_optarg ;;
|
---|
| 937 |
|
---|
[16568] | 938 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[23356] | 939 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[16568] | 940 | ac_prev=localstatedir ;;
|
---|
| 941 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[23356] | 942 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[16568] | 943 | localstatedir=$ac_optarg ;;
|
---|
| 944 |
|
---|
| 945 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 946 | ac_prev=mandir ;;
|
---|
| 947 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 948 | mandir=$ac_optarg ;;
|
---|
| 949 |
|
---|
| 950 | -nfp | --nfp | --nf)
|
---|
| 951 | # Obsolete; use --without-fp.
|
---|
| 952 | with_fp=no ;;
|
---|
| 953 |
|
---|
| 954 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 955 | | --no-cr | --no-c | -n)
|
---|
| 956 | no_create=yes ;;
|
---|
| 957 |
|
---|
| 958 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 959 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 960 | no_recursion=yes ;;
|
---|
| 961 |
|
---|
| 962 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 963 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 964 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 965 | ac_prev=oldincludedir ;;
|
---|
| 966 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 967 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 968 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 969 | oldincludedir=$ac_optarg ;;
|
---|
| 970 |
|
---|
| 971 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 972 | ac_prev=prefix ;;
|
---|
| 973 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 974 | prefix=$ac_optarg ;;
|
---|
| 975 |
|
---|
| 976 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 977 | | --program-pre | --program-pr | --program-p)
|
---|
| 978 | ac_prev=program_prefix ;;
|
---|
| 979 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 980 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 981 | program_prefix=$ac_optarg ;;
|
---|
| 982 |
|
---|
| 983 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 984 | | --program-suf | --program-su | --program-s)
|
---|
| 985 | ac_prev=program_suffix ;;
|
---|
| 986 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 987 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 988 | program_suffix=$ac_optarg ;;
|
---|
| 989 |
|
---|
| 990 | -program-transform-name | --program-transform-name \
|
---|
| 991 | | --program-transform-nam | --program-transform-na \
|
---|
| 992 | | --program-transform-n | --program-transform- \
|
---|
| 993 | | --program-transform | --program-transfor \
|
---|
| 994 | | --program-transfo | --program-transf \
|
---|
| 995 | | --program-trans | --program-tran \
|
---|
| 996 | | --progr-tra | --program-tr | --program-t)
|
---|
| 997 | ac_prev=program_transform_name ;;
|
---|
| 998 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 999 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1000 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1001 | | --program-transform=* | --program-transfor=* \
|
---|
| 1002 | | --program-transfo=* | --program-transf=* \
|
---|
| 1003 | | --program-trans=* | --program-tran=* \
|
---|
| 1004 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 1005 | program_transform_name=$ac_optarg ;;
|
---|
| 1006 |
|
---|
[23356] | 1007 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1008 | ac_prev=pdfdir ;;
|
---|
| 1009 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1010 | pdfdir=$ac_optarg ;;
|
---|
| 1011 |
|
---|
| 1012 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1013 | ac_prev=psdir ;;
|
---|
| 1014 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1015 | psdir=$ac_optarg ;;
|
---|
| 1016 |
|
---|
[16568] | 1017 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1018 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1019 | silent=yes ;;
|
---|
| 1020 |
|
---|
| 1021 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1022 | ac_prev=sbindir ;;
|
---|
| 1023 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1024 | | --sbi=* | --sb=*)
|
---|
| 1025 | sbindir=$ac_optarg ;;
|
---|
| 1026 |
|
---|
| 1027 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1028 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1029 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1030 | | --sha | --sh)
|
---|
| 1031 | ac_prev=sharedstatedir ;;
|
---|
| 1032 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1033 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1034 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1035 | | --sha=* | --sh=*)
|
---|
| 1036 | sharedstatedir=$ac_optarg ;;
|
---|
| 1037 |
|
---|
| 1038 | -site | --site | --sit)
|
---|
| 1039 | ac_prev=site ;;
|
---|
| 1040 | -site=* | --site=* | --sit=*)
|
---|
| 1041 | site=$ac_optarg ;;
|
---|
| 1042 |
|
---|
| 1043 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1044 | ac_prev=srcdir ;;
|
---|
| 1045 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1046 | srcdir=$ac_optarg ;;
|
---|
| 1047 |
|
---|
| 1048 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1049 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1050 | ac_prev=sysconfdir ;;
|
---|
| 1051 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1052 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1053 | sysconfdir=$ac_optarg ;;
|
---|
| 1054 |
|
---|
| 1055 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1056 | ac_prev=target_alias ;;
|
---|
| 1057 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1058 | target_alias=$ac_optarg ;;
|
---|
| 1059 |
|
---|
| 1060 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1061 | verbose=yes ;;
|
---|
| 1062 |
|
---|
| 1063 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1064 | ac_init_version=: ;;
|
---|
| 1065 |
|
---|
| 1066 | -with-* | --with-*)
|
---|
[23356] | 1067 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[16568] | 1068 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1069 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1070 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1071 | ac_useropt_orig=$ac_useropt
|
---|
| 1072 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1073 | case $ac_user_opts in
|
---|
| 1074 | *"
|
---|
| 1075 | "with_$ac_useropt"
|
---|
| 1076 | "*) ;;
|
---|
| 1077 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1078 | ac_unrecognized_sep=', ';;
|
---|
[20854] | 1079 | esac
|
---|
[23356] | 1080 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[16568] | 1081 |
|
---|
| 1082 | -without-* | --without-*)
|
---|
[23356] | 1083 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[16568] | 1084 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1085 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1086 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1087 | ac_useropt_orig=$ac_useropt
|
---|
| 1088 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1089 | case $ac_user_opts in
|
---|
| 1090 | *"
|
---|
| 1091 | "with_$ac_useropt"
|
---|
| 1092 | "*) ;;
|
---|
| 1093 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1094 | ac_unrecognized_sep=', ';;
|
---|
| 1095 | esac
|
---|
| 1096 | eval with_$ac_useropt=no ;;
|
---|
[16568] | 1097 |
|
---|
| 1098 | --x)
|
---|
| 1099 | # Obsolete; use --with-x.
|
---|
| 1100 | with_x=yes ;;
|
---|
| 1101 |
|
---|
| 1102 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1103 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1104 | ac_prev=x_includes ;;
|
---|
| 1105 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1106 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1107 | x_includes=$ac_optarg ;;
|
---|
| 1108 |
|
---|
| 1109 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1110 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1111 | ac_prev=x_libraries ;;
|
---|
| 1112 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1113 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1114 | x_libraries=$ac_optarg ;;
|
---|
| 1115 |
|
---|
[23356] | 1116 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1117 | Try \`$0 --help' for more information"
|
---|
[16568] | 1118 | ;;
|
---|
| 1119 |
|
---|
| 1120 | *=*)
|
---|
| 1121 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1122 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1123 | case $ac_envvar in #(
|
---|
| 1124 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
| 1125 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
| 1126 | esac
|
---|
| 1127 | eval $ac_envvar=\$ac_optarg
|
---|
[16568] | 1128 | export $ac_envvar ;;
|
---|
| 1129 |
|
---|
| 1130 | *)
|
---|
| 1131 | # FIXME: should be removed in autoconf 3.0.
|
---|
[23356] | 1132 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[16568] | 1133 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[23356] | 1134 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[16568] | 1135 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 1136 | ;;
|
---|
| 1137 |
|
---|
| 1138 | esac
|
---|
| 1139 | done
|
---|
| 1140 |
|
---|
| 1141 | if test -n "$ac_prev"; then
|
---|
| 1142 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[23356] | 1143 | as_fn_error $? "missing argument to $ac_option"
|
---|
[16568] | 1144 | fi
|
---|
| 1145 |
|
---|
[23356] | 1146 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1147 | case $enable_option_checking in
|
---|
| 1148 | no) ;;
|
---|
| 1149 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
| 1150 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[16568] | 1151 | esac
|
---|
[23356] | 1152 | fi
|
---|
[16568] | 1153 |
|
---|
[23356] | 1154 | # Check all directory arguments for consistency.
|
---|
| 1155 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1156 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1157 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1158 | libdir localedir mandir
|
---|
[20854] | 1159 | do
|
---|
[23356] | 1160 | eval ac_val=\$$ac_var
|
---|
| 1161 | # Remove trailing slashes.
|
---|
[20854] | 1162 | case $ac_val in
|
---|
[23356] | 1163 | */ )
|
---|
| 1164 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1165 | eval $ac_var=\$ac_val;;
|
---|
[20854] | 1166 | esac
|
---|
[23356] | 1167 | # Be sure to have absolute directory names.
|
---|
| 1168 | case $ac_val in
|
---|
| 1169 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1170 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1171 | esac
|
---|
| 1172 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
[20854] | 1173 | done
|
---|
| 1174 |
|
---|
[16568] | 1175 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1176 | # used to hold the argument of --host etc.
|
---|
| 1177 | # FIXME: To remove some day.
|
---|
| 1178 | build=$build_alias
|
---|
| 1179 | host=$host_alias
|
---|
| 1180 | target=$target_alias
|
---|
| 1181 |
|
---|
| 1182 | # FIXME: To remove some day.
|
---|
| 1183 | if test "x$host_alias" != x; then
|
---|
| 1184 | if test "x$build_alias" = x; then
|
---|
| 1185 | cross_compiling=maybe
|
---|
[23356] | 1186 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
---|
| 1187 | If a cross compiler is detected then cross compile mode will be used" >&2
|
---|
[16568] | 1188 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1189 | cross_compiling=yes
|
---|
| 1190 | fi
|
---|
| 1191 | fi
|
---|
| 1192 |
|
---|
| 1193 | ac_tool_prefix=
|
---|
| 1194 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1195 |
|
---|
| 1196 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1197 |
|
---|
| 1198 |
|
---|
[23356] | 1199 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1200 | ac_ls_di=`ls -di .` &&
|
---|
| 1201 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
| 1202 | as_fn_error $? "working directory cannot be determined"
|
---|
| 1203 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
| 1204 | as_fn_error $? "pwd does not report name of working directory"
|
---|
| 1205 |
|
---|
| 1206 |
|
---|
[16568] | 1207 | # Find the source files, if location was not specified.
|
---|
| 1208 | if test -z "$srcdir"; then
|
---|
| 1209 | ac_srcdir_defaulted=yes
|
---|
[23356] | 1210 | # Try the directory containing this script, then the parent directory.
|
---|
| 1211 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1212 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1213 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1214 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1215 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1216 | $as_echo X"$as_myself" |
|
---|
| 1217 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1218 | s//\1/
|
---|
| 1219 | q
|
---|
| 1220 | }
|
---|
| 1221 | /^X\(\/\/\)[^/].*/{
|
---|
| 1222 | s//\1/
|
---|
| 1223 | q
|
---|
| 1224 | }
|
---|
| 1225 | /^X\(\/\/\)$/{
|
---|
| 1226 | s//\1/
|
---|
| 1227 | q
|
---|
| 1228 | }
|
---|
| 1229 | /^X\(\/\).*/{
|
---|
| 1230 | s//\1/
|
---|
| 1231 | q
|
---|
| 1232 | }
|
---|
| 1233 | s/.*/./; q'`
|
---|
[16568] | 1234 | srcdir=$ac_confdir
|
---|
[23356] | 1235 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[16568] | 1236 | srcdir=..
|
---|
| 1237 | fi
|
---|
| 1238 | else
|
---|
| 1239 | ac_srcdir_defaulted=no
|
---|
| 1240 | fi
|
---|
[23356] | 1241 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1242 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
| 1243 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
[20848] | 1244 | fi
|
---|
[23356] | 1245 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1246 | ac_abs_confdir=`(
|
---|
| 1247 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
| 1248 | pwd)`
|
---|
| 1249 | # When building in place, set srcdir=.
|
---|
| 1250 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1251 | srcdir=.
|
---|
| 1252 | fi
|
---|
| 1253 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1254 | # Double slashes in file names in object file debugging info
|
---|
| 1255 | # mess up M-x gdb in Emacs.
|
---|
| 1256 | case $srcdir in
|
---|
| 1257 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1258 | esac
|
---|
| 1259 | for ac_var in $ac_precious_vars; do
|
---|
| 1260 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1261 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1262 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1263 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1264 | done
|
---|
[16568] | 1265 |
|
---|
| 1266 | #
|
---|
| 1267 | # Report the --help message.
|
---|
| 1268 | #
|
---|
| 1269 | if test "$ac_init_help" = "long"; then
|
---|
| 1270 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1271 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1272 | cat <<_ACEOF
|
---|
| 1273 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1274 |
|
---|
| 1275 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1276 |
|
---|
| 1277 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1278 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1279 |
|
---|
| 1280 | Defaults for the options are specified in brackets.
|
---|
| 1281 |
|
---|
| 1282 | Configuration:
|
---|
| 1283 | -h, --help display this help and exit
|
---|
| 1284 | --help=short display options specific to this package
|
---|
| 1285 | --help=recursive display the short help of all the included packages
|
---|
| 1286 | -V, --version display version information and exit
|
---|
[23356] | 1287 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
[16568] | 1288 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1289 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1290 | -n, --no-create do not create output files
|
---|
| 1291 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1292 |
|
---|
| 1293 | Installation directories:
|
---|
| 1294 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[23356] | 1295 | [$ac_default_prefix]
|
---|
[16568] | 1296 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[23356] | 1297 | [PREFIX]
|
---|
[16568] | 1298 |
|
---|
| 1299 | By default, \`make install' will install all the files in
|
---|
| 1300 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1301 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1302 | for instance \`--prefix=\$HOME'.
|
---|
| 1303 |
|
---|
| 1304 | For better control, use the options below.
|
---|
| 1305 |
|
---|
| 1306 | Fine tuning of the installation directories:
|
---|
[23356] | 1307 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1308 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1309 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1310 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1311 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1312 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1313 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1314 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1315 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1316 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1317 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1318 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1319 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1320 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1321 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1322 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1323 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1324 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1325 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[16568] | 1326 | _ACEOF
|
---|
| 1327 |
|
---|
| 1328 | cat <<\_ACEOF
|
---|
| 1329 |
|
---|
| 1330 | System types:
|
---|
| 1331 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1332 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1333 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1334 | _ACEOF
|
---|
| 1335 | fi
|
---|
| 1336 |
|
---|
| 1337 | if test -n "$ac_init_help"; then
|
---|
| 1338 |
|
---|
| 1339 | cat <<\_ACEOF
|
---|
| 1340 |
|
---|
| 1341 | Optional Features:
|
---|
[23356] | 1342 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
[16568] | 1343 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1344 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1345 | --enable-corba Enable CORBA support
|
---|
| 1346 | --enable-z3950 Enable Z39.50 client support
|
---|
| 1347 | --disable-yaz Disable YAZ compilation
|
---|
[23356] | 1348 | --disable-java Disable Java compilation
|
---|
[22058] | 1349 | --disable-jdbm Disable JDBM compilation
|
---|
| 1350 | --disable-gdbm Disable GDBM compilation
|
---|
[16568] | 1351 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
| 1352 | --disable-sqlite Disable SQLite support
|
---|
[20854] | 1353 | --enable-apache-httpd Enable Apache httpd support
|
---|
[21329] | 1354 | --disable-mg Disable MG compilation
|
---|
| 1355 | --disable-mgpp Disable MGPP compilation
|
---|
| 1356 | --disable-lucene Disable Lucene compilation
|
---|
[16568] | 1357 |
|
---|
| 1358 | Optional Packages:
|
---|
| 1359 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1360 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1361 | --with-micodir Use installed MICO directory
|
---|
| 1362 | --with-dmalloc use dmalloc, as in
|
---|
| 1363 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1364 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1365 |
|
---|
| 1366 | Some influential environment variables:
|
---|
| 1367 | CC C compiler command
|
---|
| 1368 | CFLAGS C compiler flags
|
---|
| 1369 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1370 | nonstandard directory <lib dir>
|
---|
[23356] | 1371 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
| 1372 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
| 1373 | you have headers in a nonstandard directory <include dir>
|
---|
[16568] | 1374 | CXX C++ compiler command
|
---|
| 1375 | CXXFLAGS C++ compiler flags
|
---|
[23356] | 1376 | YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
---|
| 1377 | the first program found out of: `bison -y', `byacc', `yacc'.
|
---|
| 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.
|
---|
[16568] | 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 |
|
---|
[23356] | 1386 | Report bugs to the package provider.
|
---|
[16568] | 1387 | _ACEOF
|
---|
[23356] | 1388 | ac_status=$?
|
---|
[16568] | 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
|
---|
[23356] | 1394 | test -d "$ac_dir" ||
|
---|
| 1395 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1396 | continue
|
---|
[16568] | 1397 | ac_builddir=.
|
---|
| 1398 |
|
---|
[23356] | 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
|
---|
[16568] | 1414 |
|
---|
| 1415 | case $srcdir in
|
---|
[23356] | 1416 | .) # We are building in place.
|
---|
[16568] | 1417 | ac_srcdir=.
|
---|
[23356] | 1418 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1419 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1420 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16568] | 1421 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 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 ;;
|
---|
[16568] | 1428 | esac
|
---|
[23356] | 1429 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16568] | 1430 |
|
---|
[23356] | 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
|
---|
[16568] | 1439 | else
|
---|
[23356] | 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; }
|
---|
[16568] | 1443 | done
|
---|
| 1444 | fi
|
---|
| 1445 |
|
---|
[23356] | 1446 | test -n "$ac_init_help" && exit $ac_status
|
---|
[16568] | 1447 | if $ac_init_version; then
|
---|
| 1448 | cat <<\_ACEOF
|
---|
[23356] | 1449 | configure
|
---|
| 1450 | generated by GNU Autoconf 2.67
|
---|
[16568] | 1451 |
|
---|
[23356] | 1452 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16568] | 1453 | This configure script is free software; the Free Software Foundation
|
---|
| 1454 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1455 | _ACEOF
|
---|
[23356] | 1456 | exit
|
---|
[16568] | 1457 | fi
|
---|
[23356] | 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; test "x$as_lineno_stack" = x && { as_lineno=; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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 "test \"\${$3+set}\"" = set; then :
|
---|
| 1585 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1586 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1587 | if eval "test \"\${$3+set}\"" = set; 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 "test \"\${$3+set}\"" = set; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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 "test \"\${$3+set}\"" = set; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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 "test \"\${$3+set}\"" = set; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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 "test \"\${$3+set}\"" = set; 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; test "x$as_lineno_stack" = x && { as_lineno=; 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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1941 | as_fn_set_status $ac_retval
|
---|
| 1942 |
|
---|
| 1943 | } # ac_fn_cxx_try_run
|
---|
| 1944 | cat >config.log <<_ACEOF
|
---|
[16568] | 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
|
---|
[23356] | 1949 | generated by GNU Autoconf 2.67. Invocation command line was
|
---|
[16568] | 1950 |
|
---|
| 1951 | $ $0 $@
|
---|
| 1952 |
|
---|
| 1953 | _ACEOF
|
---|
[23356] | 1954 | exec 5>>config.log
|
---|
[16568] | 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`
|
---|
[23356] | 1973 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[16568] | 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=.
|
---|
[23356] | 1985 | $as_echo "PATH: $as_dir"
|
---|
| 1986 | done
|
---|
| 1987 | IFS=$as_save_IFS
|
---|
[16568] | 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 ;;
|
---|
[23356] | 2019 | *\'*)
|
---|
| 2020 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16568] | 2021 | esac
|
---|
| 2022 | case $ac_pass in
|
---|
[23356] | 2023 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
[16568] | 2024 | 2)
|
---|
[23356] | 2025 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
[16568] | 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
|
---|
[23356] | 2041 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
[16568] | 2042 | ;;
|
---|
| 2043 | esac
|
---|
| 2044 | done
|
---|
| 2045 | done
|
---|
[23356] | 2046 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 2047 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
[16568] | 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.
|
---|
[23356] | 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.
|
---|
[16568] | 2054 | trap 'exit_status=$?
|
---|
| 2055 | # Save into config.log some information that might help in debugging.
|
---|
| 2056 | {
|
---|
| 2057 | echo
|
---|
| 2058 |
|
---|
[23356] | 2059 | $as_echo "## ---------------- ##
|
---|
[16568] | 2060 | ## Cache variables. ##
|
---|
[23356] | 2061 | ## ---------------- ##"
|
---|
[16568] | 2062 | echo
|
---|
| 2063 | # The following way of writing the cache mishandles newlines in values,
|
---|
[23356] | 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 #(
|
---|
| 2070 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 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= ;; #(
|
---|
| 2076 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 2077 | esac ;;
|
---|
| 2078 | esac
|
---|
| 2079 | done
|
---|
[16568] | 2080 | (set) 2>&1 |
|
---|
[23356] | 2081 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 2082 | *${as_nl}ac_space=\ *)
|
---|
[16568] | 2083 | sed -n \
|
---|
[23356] | 2084 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 2085 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 2086 | ;; #(
|
---|
[16568] | 2087 | *)
|
---|
[23356] | 2088 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16568] | 2089 | ;;
|
---|
[23356] | 2090 | esac |
|
---|
| 2091 | sort
|
---|
| 2092 | )
|
---|
[16568] | 2093 | echo
|
---|
| 2094 |
|
---|
[23356] | 2095 | $as_echo "## ----------------- ##
|
---|
[16568] | 2096 | ## Output variables. ##
|
---|
[23356] | 2097 | ## ----------------- ##"
|
---|
[16568] | 2098 | echo
|
---|
| 2099 | for ac_var in $ac_subst_vars
|
---|
| 2100 | do
|
---|
[23356] | 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'\''"
|
---|
[16568] | 2106 | done | sort
|
---|
| 2107 | echo
|
---|
| 2108 |
|
---|
| 2109 | if test -n "$ac_subst_files"; then
|
---|
[23356] | 2110 | $as_echo "## ------------------- ##
|
---|
| 2111 | ## File substitutions. ##
|
---|
| 2112 | ## ------------------- ##"
|
---|
[16568] | 2113 | echo
|
---|
| 2114 | for ac_var in $ac_subst_files
|
---|
| 2115 | do
|
---|
[23356] | 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'\''"
|
---|
[16568] | 2121 | done | sort
|
---|
| 2122 | echo
|
---|
| 2123 | fi
|
---|
| 2124 |
|
---|
| 2125 | if test -s confdefs.h; then
|
---|
[23356] | 2126 | $as_echo "## ----------- ##
|
---|
[16568] | 2127 | ## confdefs.h. ##
|
---|
[23356] | 2128 | ## ----------- ##"
|
---|
[16568] | 2129 | echo
|
---|
[23356] | 2130 | cat confdefs.h
|
---|
[16568] | 2131 | echo
|
---|
| 2132 | fi
|
---|
| 2133 | test "$ac_signal" != 0 &&
|
---|
[23356] | 2134 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 2135 | $as_echo "$as_me: exit $exit_status"
|
---|
[16568] | 2136 | } >&5
|
---|
[23356] | 2137 | rm -f core *.core core.conftest.* &&
|
---|
| 2138 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[16568] | 2139 | exit $exit_status
|
---|
[23356] | 2140 | ' 0
|
---|
[16568] | 2141 | for ac_signal in 1 2 13 15; do
|
---|
[23356] | 2142 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
[16568] | 2143 | done
|
---|
| 2144 | ac_signal=0
|
---|
| 2145 |
|
---|
| 2146 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[23356] | 2147 | rm -f -r conftest* confdefs.h
|
---|
[16568] | 2148 |
|
---|
[23356] | 2149 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 2150 |
|
---|
[16568] | 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 |
|
---|
[23356] | 2173 | cat >>confdefs.h <<_ACEOF
|
---|
| 2174 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2175 | _ACEOF
|
---|
[16568] | 2176 |
|
---|
[23356] | 2177 |
|
---|
[16568] | 2178 | # Let the site file select an alternate cache file if it wants to.
|
---|
[23356] | 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
|
---|
| 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
|
---|
| 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
|
---|
[16568] | 2195 | fi
|
---|
[23356] | 2196 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2197 | do
|
---|
| 2198 | test "x$ac_site_file" = xNONE && continue
|
---|
| 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
|
---|
| 2201 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[16568] | 2202 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[23356] | 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 ; }
|
---|
[16568] | 2208 | fi
|
---|
| 2209 | done
|
---|
| 2210 |
|
---|
| 2211 | if test -r "$cache_file"; then
|
---|
[23356] | 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
|
---|
| 2216 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[16568] | 2217 | case $cache_file in
|
---|
[23356] | 2218 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2219 | *) . "./$cache_file";;
|
---|
[16568] | 2220 | esac
|
---|
| 2221 | fi
|
---|
| 2222 | else
|
---|
[23356] | 2223 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
| 2224 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[16568] | 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
|
---|
[23356] | 2231 | for ac_var in $ac_precious_vars; do
|
---|
[16568] | 2232 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2233 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[23356] | 2234 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2235 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[16568] | 2236 | case $ac_old_set,$ac_new_set in
|
---|
| 2237 | set,)
|
---|
[23356] | 2238 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 2239 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[16568] | 2240 | ac_cache_corrupted=: ;;
|
---|
| 2241 | ,set)
|
---|
[23356] | 2242 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 2243 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[16568] | 2244 | ac_cache_corrupted=: ;;
|
---|
| 2245 | ,);;
|
---|
| 2246 | *)
|
---|
| 2247 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[23356] | 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
|
---|
| 2252 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 2253 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2254 | ac_cache_corrupted=:
|
---|
| 2255 | else
|
---|
| 2256 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
| 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
|
---|
| 2260 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
| 2261 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
| 2262 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
| 2263 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[16568] | 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
|
---|
[23356] | 2269 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16568] | 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.
|
---|
[23356] | 2274 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
[16568] | 2275 | esac
|
---|
| 2276 | fi
|
---|
| 2277 | done
|
---|
| 2278 | if $ac_cache_corrupted; then
|
---|
[23356] | 2279 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2280 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2281 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
| 2282 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 2283 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
[16568] | 2284 | fi
|
---|
[23356] | 2285 | ## -------------------- ##
|
---|
| 2286 | ## Main body of script. ##
|
---|
| 2287 | ## -------------------- ##
|
---|
[16568] | 2288 |
|
---|
[20854] | 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
|
---|
[16568] | 2294 |
|
---|
| 2295 |
|
---|
[23356] | 2296 | ac_config_headers="$ac_config_headers config.h"
|
---|
[16568] | 2297 |
|
---|
| 2298 |
|
---|
| 2299 |
|
---|
| 2300 |
|
---|
| 2301 | PACKAGE=gsdl
|
---|
[23356] | 2302 | VERSION=2.x-svn
|
---|
[16568] | 2303 | cat >>confdefs.h <<_ACEOF
|
---|
| 2304 | #define PACKAGE "$PACKAGE"
|
---|
| 2305 | _ACEOF
|
---|
| 2306 |
|
---|
| 2307 | cat >>confdefs.h <<_ACEOF
|
---|
| 2308 | #define VERSION "$VERSION"
|
---|
| 2309 | _ACEOF
|
---|
| 2310 |
|
---|
| 2311 |
|
---|
| 2312 |
|
---|
| 2313 |
|
---|
| 2314 | USE_FASTCGI=0
|
---|
| 2315 | if test USE_FASTCGI = 1; then
|
---|
[23356] | 2316 | $as_echo "#define USE_FASTCGI 1" >>confdefs.h
|
---|
[16568] | 2317 |
|
---|
| 2318 |
|
---|
| 2319 | fi
|
---|
| 2320 |
|
---|
| 2321 | if test USE_LANGACTION = 1; then
|
---|
[23356] | 2322 | $as_echo "#define USE_LANGACTION 1" >>confdefs.h
|
---|
[16568] | 2323 |
|
---|
| 2324 |
|
---|
| 2325 | fi
|
---|
| 2326 |
|
---|
[23356] | 2327 | # Check whether --enable-corba was given.
|
---|
| 2328 | if test "${enable_corba+set}" = set; then :
|
---|
| 2329 | enableval=$enable_corba; USE_CORBA=$enableval
|
---|
[16568] | 2330 | else
|
---|
[22058] | 2331 | USE_CORBA=no
|
---|
[23356] | 2332 | fi
|
---|
| 2333 |
|
---|
[22058] | 2334 | if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
|
---|
| 2335 | USE_CORBA=1
|
---|
[23356] | 2336 | $as_echo "#define USE_CORBA /**/" >>confdefs.h
|
---|
[16568] | 2337 |
|
---|
[22058] | 2338 | else
|
---|
| 2339 | USE_CORBA=0
|
---|
| 2340 | fi
|
---|
[16568] | 2341 |
|
---|
| 2342 |
|
---|
| 2343 |
|
---|
[23356] | 2344 | # Check whether --with-micodir was given.
|
---|
| 2345 | if test "${with_micodir+set}" = set; then :
|
---|
| 2346 | withval=$with_micodir; MICO_DIR=$withval
|
---|
[16568] | 2347 | else
|
---|
| 2348 | MICO_DIR="default"
|
---|
[23356] | 2349 | fi
|
---|
| 2350 |
|
---|
[16568] | 2351 | cat >>confdefs.h <<_ACEOF
|
---|
| 2352 | #define MICO_DIR "$MICO_DIR"
|
---|
| 2353 | _ACEOF
|
---|
| 2354 |
|
---|
| 2355 |
|
---|
| 2356 |
|
---|
[23356] | 2357 | # Check whether --enable-z3950 was given.
|
---|
| 2358 | if test "${enable_z3950+set}" = set; then :
|
---|
| 2359 | enableval=$enable_z3950; USE_Z3950=$enableval
|
---|
[16568] | 2360 | else
|
---|
[22058] | 2361 | USE_Z3950=no
|
---|
[23356] | 2362 | fi
|
---|
| 2363 |
|
---|
[22058] | 2364 | if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
|
---|
| 2365 | USE_Z3950=1
|
---|
[23356] | 2366 | $as_echo "#define USE_Z3950 /**/" >>confdefs.h
|
---|
[16568] | 2367 |
|
---|
[22058] | 2368 | else
|
---|
| 2369 | USE_Z3950=0
|
---|
[16568] | 2370 | fi
|
---|
| 2371 |
|
---|
[22058] | 2372 |
|
---|
[23356] | 2373 | # Check whether --enable-yaz was given.
|
---|
| 2374 | if test "${enable_yaz+set}" = set; then :
|
---|
| 2375 | enableval=$enable_yaz; USE_YAZ=$enableval
|
---|
[22058] | 2376 | else
|
---|
| 2377 | USE_YAZ=yes
|
---|
[23356] | 2378 | fi
|
---|
| 2379 |
|
---|
[22058] | 2380 | if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
|
---|
| 2381 | USE_YAZ=1
|
---|
[23356] | 2382 | $as_echo "#define USE_YAZ /**/" >>confdefs.h
|
---|
[22058] | 2383 |
|
---|
| 2384 | else
|
---|
[20854] | 2385 | USE_YAZ=0
|
---|
[22058] | 2386 | fi
|
---|
| 2387 |
|
---|
| 2388 |
|
---|
[23356] | 2389 | # Check whether --enable-java was given.
|
---|
| 2390 | if test "${enable_java+set}" = set; then :
|
---|
| 2391 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
[16568] | 2392 | else
|
---|
[23356] | 2393 | ENABLE_JAVA=yes
|
---|
| 2394 | fi
|
---|
| 2395 |
|
---|
| 2396 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 2397 | ENABLE_JAVA=1
|
---|
| 2398 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 2399 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 2400 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 2401 | echo "and JAVA respectively"
|
---|
| 2402 | export JAVA_HOME=
|
---|
| 2403 | fi
|
---|
| 2404 | else
|
---|
| 2405 | ENABLE_JAVA=0
|
---|
| 2406 | fi
|
---|
| 2407 |
|
---|
| 2408 |
|
---|
| 2409 | # Check whether --enable-jdbm was given.
|
---|
| 2410 | if test "${enable_jdbm+set}" = set; then :
|
---|
| 2411 | enableval=$enable_jdbm; USE_JDBM=$enableval
|
---|
| 2412 | else
|
---|
[22058] | 2413 | USE_JDBM=yes
|
---|
[23356] | 2414 | fi
|
---|
| 2415 |
|
---|
| 2416 | if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
|
---|
[22058] | 2417 | USE_JDBM=1
|
---|
[23356] | 2418 | $as_echo "#define USE_JDBM /**/" >>confdefs.h
|
---|
[16568] | 2419 |
|
---|
[22058] | 2420 | else
|
---|
| 2421 | USE_JDBM=0
|
---|
| 2422 | fi
|
---|
[16568] | 2423 |
|
---|
| 2424 |
|
---|
[23356] | 2425 | # Check whether --enable-gdbm was given.
|
---|
| 2426 | if test "${enable_gdbm+set}" = set; then :
|
---|
| 2427 | enableval=$enable_gdbm; USE_GDBM=$enableval
|
---|
[22058] | 2428 | else
|
---|
| 2429 | USE_GDBM=yes
|
---|
[23356] | 2430 | fi
|
---|
| 2431 |
|
---|
[22058] | 2432 | if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
|
---|
| 2433 | USE_GDBM=1
|
---|
[23356] | 2434 | $as_echo "#define USE_GDBM /**/" >>confdefs.h
|
---|
[22058] | 2435 |
|
---|
| 2436 | else
|
---|
| 2437 | USE_GDBM=0
|
---|
| 2438 | fi
|
---|
| 2439 |
|
---|
| 2440 |
|
---|
[23356] | 2441 | # Check whether --enable-accentfold was given.
|
---|
| 2442 | if test "${enable_accentfold+set}" = set; then :
|
---|
| 2443 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
[16568] | 2444 | else
|
---|
[22058] | 2445 | ENABLE_ACCENTFOLD=yes
|
---|
[23356] | 2446 | fi
|
---|
| 2447 |
|
---|
[22058] | 2448 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
[16568] | 2449 | ENABLE_ACCENTFOLD=1
|
---|
[23356] | 2450 | $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
|
---|
[16568] | 2451 |
|
---|
[22058] | 2452 | else
|
---|
| 2453 | ENABLE_ACCENTFOLD=0
|
---|
| 2454 | fi
|
---|
[16568] | 2455 |
|
---|
| 2456 |
|
---|
[23356] | 2457 | # Check whether --enable-sqlite was given.
|
---|
| 2458 | if test "${enable_sqlite+set}" = set; then :
|
---|
| 2459 | enableval=$enable_sqlite; USE_SQLITE=$enableval
|
---|
[16568] | 2460 | else
|
---|
[22058] | 2461 | USE_SQLITE=yes
|
---|
[23356] | 2462 | fi
|
---|
| 2463 |
|
---|
[22058] | 2464 | if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
|
---|
[16568] | 2465 | USE_SQLITE=1
|
---|
[23356] | 2466 | $as_echo "#define USE_SQLITE /**/" >>confdefs.h
|
---|
[16568] | 2467 |
|
---|
[22058] | 2468 | else
|
---|
| 2469 | USE_SQLITE=0
|
---|
| 2470 | fi
|
---|
[16568] | 2471 |
|
---|
| 2472 |
|
---|
[23356] | 2473 | # Check whether --enable-apache-httpd was given.
|
---|
| 2474 | if test "${enable_apache_httpd+set}" = set; then :
|
---|
| 2475 | enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval
|
---|
[20848] | 2476 | else
|
---|
[22058] | 2477 | USE_APACHE_HTTPD=no
|
---|
[23356] | 2478 | fi
|
---|
| 2479 |
|
---|
[22068] | 2480 | if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then
|
---|
| 2481 | USE_APACHE_HTTPD=1
|
---|
[23356] | 2482 | $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h
|
---|
[18487] | 2483 |
|
---|
[22068] | 2484 | else
|
---|
| 2485 | USE_APACHE_HTTPD=0
|
---|
[22058] | 2486 | fi
|
---|
[18487] | 2487 |
|
---|
[22068] | 2488 |
|
---|
| 2489 |
|
---|
[23356] | 2490 | # Check whether --enable-mg was given.
|
---|
| 2491 | if test "${enable_mg+set}" = set; then :
|
---|
| 2492 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
[21329] | 2493 | else
|
---|
| 2494 | ENABLE_MG=yes
|
---|
[23356] | 2495 | fi
|
---|
| 2496 |
|
---|
[21329] | 2497 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 2498 | ENABLE_MG=1
|
---|
[23356] | 2499 | $as_echo "#define ENABLE_MG /**/" >>confdefs.h
|
---|
[18487] | 2500 |
|
---|
[21329] | 2501 | else
|
---|
| 2502 | ENABLE_MG=0
|
---|
| 2503 | fi
|
---|
| 2504 |
|
---|
| 2505 |
|
---|
[23356] | 2506 | # Check whether --enable-mgpp was given.
|
---|
| 2507 | if test "${enable_mgpp+set}" = set; then :
|
---|
| 2508 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
[21329] | 2509 | else
|
---|
| 2510 | ENABLE_MGPP=yes
|
---|
[23356] | 2511 | fi
|
---|
| 2512 |
|
---|
[21329] | 2513 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 2514 | ENABLE_MGPP=1
|
---|
[23356] | 2515 | $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
|
---|
[21329] | 2516 |
|
---|
| 2517 | else
|
---|
| 2518 | ENABLE_MGPP=0
|
---|
| 2519 | fi
|
---|
| 2520 |
|
---|
| 2521 |
|
---|
[23356] | 2522 | # Check whether --enable-lucene was given.
|
---|
| 2523 | if test "${enable_lucene+set}" = set; then :
|
---|
| 2524 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
[21329] | 2525 | else
|
---|
| 2526 | ENABLE_LUCENE=yes
|
---|
[23356] | 2527 | fi
|
---|
| 2528 |
|
---|
| 2529 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
|
---|
[21329] | 2530 | ENABLE_LUCENE=1
|
---|
[23356] | 2531 | $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
|
---|
[21329] | 2532 |
|
---|
| 2533 | else
|
---|
| 2534 | ENABLE_LUCENE=0
|
---|
| 2535 | fi
|
---|
| 2536 |
|
---|
| 2537 |
|
---|
[16568] | 2538 | LDFLAGS=$LDFLAGS
|
---|
| 2539 |
|
---|
| 2540 | if test -z "$CFLAGS"; then
|
---|
| 2541 | CFLAGS=-O2
|
---|
| 2542 | fi
|
---|
| 2543 |
|
---|
| 2544 |
|
---|
| 2545 |
|
---|
| 2546 | ac_ext=c
|
---|
| 2547 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2548 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2549 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2550 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2551 | if test -n "$ac_tool_prefix"; then
|
---|
| 2552 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2553 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[23356] | 2554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2555 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2556 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2557 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 2558 | else
|
---|
| 2559 | if test -n "$CC"; then
|
---|
| 2560 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2561 | else
|
---|
| 2562 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2563 | for as_dir in $PATH
|
---|
| 2564 | do
|
---|
| 2565 | IFS=$as_save_IFS
|
---|
| 2566 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2567 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2568 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2569 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[23356] | 2570 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 2571 | break 2
|
---|
| 2572 | fi
|
---|
| 2573 | done
|
---|
[23356] | 2574 | done
|
---|
| 2575 | IFS=$as_save_IFS
|
---|
[16568] | 2576 |
|
---|
| 2577 | fi
|
---|
| 2578 | fi
|
---|
| 2579 | CC=$ac_cv_prog_CC
|
---|
| 2580 | if test -n "$CC"; then
|
---|
[23356] | 2581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2582 | $as_echo "$CC" >&6; }
|
---|
[16568] | 2583 | else
|
---|
[23356] | 2584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2585 | $as_echo "no" >&6; }
|
---|
[16568] | 2586 | fi
|
---|
| 2587 |
|
---|
[23356] | 2588 |
|
---|
[16568] | 2589 | fi
|
---|
| 2590 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2591 | ac_ct_CC=$CC
|
---|
| 2592 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2593 | set dummy gcc; ac_word=$2
|
---|
[23356] | 2594 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2595 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2596 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
---|
| 2597 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 2598 | else
|
---|
| 2599 | if test -n "$ac_ct_CC"; then
|
---|
| 2600 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2601 | else
|
---|
| 2602 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2603 | for as_dir in $PATH
|
---|
| 2604 | do
|
---|
| 2605 | IFS=$as_save_IFS
|
---|
| 2606 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2607 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2608 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2609 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[23356] | 2610 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 2611 | break 2
|
---|
| 2612 | fi
|
---|
| 2613 | done
|
---|
[23356] | 2614 | done
|
---|
| 2615 | IFS=$as_save_IFS
|
---|
[16568] | 2616 |
|
---|
| 2617 | fi
|
---|
| 2618 | fi
|
---|
| 2619 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2620 | if test -n "$ac_ct_CC"; then
|
---|
[23356] | 2621 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2622 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16568] | 2623 | else
|
---|
[23356] | 2624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2625 | $as_echo "no" >&6; }
|
---|
[16568] | 2626 | fi
|
---|
| 2627 |
|
---|
[23356] | 2628 | if test "x$ac_ct_CC" = x; then
|
---|
| 2629 | CC=""
|
---|
| 2630 | else
|
---|
| 2631 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2632 | yes:)
|
---|
| 2633 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2634 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2635 | ac_tool_warned=yes ;;
|
---|
| 2636 | esac
|
---|
| 2637 | CC=$ac_ct_CC
|
---|
| 2638 | fi
|
---|
[16568] | 2639 | else
|
---|
| 2640 | CC="$ac_cv_prog_CC"
|
---|
| 2641 | fi
|
---|
| 2642 |
|
---|
| 2643 | if test -z "$CC"; then
|
---|
[23356] | 2644 | if test -n "$ac_tool_prefix"; then
|
---|
| 2645 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[16568] | 2646 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[23356] | 2647 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2648 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2649 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2650 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 2651 | else
|
---|
| 2652 | if test -n "$CC"; then
|
---|
| 2653 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2654 | else
|
---|
| 2655 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2656 | for as_dir in $PATH
|
---|
| 2657 | do
|
---|
| 2658 | IFS=$as_save_IFS
|
---|
| 2659 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2660 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2661 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2662 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[23356] | 2663 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 2664 | break 2
|
---|
| 2665 | fi
|
---|
| 2666 | done
|
---|
[23356] | 2667 | done
|
---|
| 2668 | IFS=$as_save_IFS
|
---|
[16568] | 2669 |
|
---|
| 2670 | fi
|
---|
| 2671 | fi
|
---|
| 2672 | CC=$ac_cv_prog_CC
|
---|
| 2673 | if test -n "$CC"; then
|
---|
[23356] | 2674 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2675 | $as_echo "$CC" >&6; }
|
---|
[16568] | 2676 | else
|
---|
[23356] | 2677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2678 | $as_echo "no" >&6; }
|
---|
[16568] | 2679 | fi
|
---|
| 2680 |
|
---|
[23356] | 2681 |
|
---|
[20854] | 2682 | fi
|
---|
[16568] | 2683 | fi
|
---|
| 2684 | if test -z "$CC"; then
|
---|
| 2685 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2686 | set dummy cc; ac_word=$2
|
---|
[23356] | 2687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2688 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2689 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2690 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 2691 | else
|
---|
| 2692 | if test -n "$CC"; then
|
---|
| 2693 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2694 | else
|
---|
| 2695 | ac_prog_rejected=no
|
---|
| 2696 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2697 | for as_dir in $PATH
|
---|
| 2698 | do
|
---|
| 2699 | IFS=$as_save_IFS
|
---|
| 2700 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2701 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2702 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2703 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2704 | ac_prog_rejected=yes
|
---|
| 2705 | continue
|
---|
| 2706 | fi
|
---|
| 2707 | ac_cv_prog_CC="cc"
|
---|
[23356] | 2708 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 2709 | break 2
|
---|
| 2710 | fi
|
---|
| 2711 | done
|
---|
[23356] | 2712 | done
|
---|
| 2713 | IFS=$as_save_IFS
|
---|
[16568] | 2714 |
|
---|
| 2715 | if test $ac_prog_rejected = yes; then
|
---|
| 2716 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2717 | set dummy $ac_cv_prog_CC
|
---|
| 2718 | shift
|
---|
| 2719 | if test $# != 0; then
|
---|
| 2720 | # We chose a different compiler from the bogus one.
|
---|
| 2721 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2722 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2723 | shift
|
---|
| 2724 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2725 | fi
|
---|
| 2726 | fi
|
---|
| 2727 | fi
|
---|
| 2728 | fi
|
---|
| 2729 | CC=$ac_cv_prog_CC
|
---|
| 2730 | if test -n "$CC"; then
|
---|
[23356] | 2731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2732 | $as_echo "$CC" >&6; }
|
---|
[16568] | 2733 | else
|
---|
[23356] | 2734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2735 | $as_echo "no" >&6; }
|
---|
[16568] | 2736 | fi
|
---|
| 2737 |
|
---|
[23356] | 2738 |
|
---|
[16568] | 2739 | fi
|
---|
| 2740 | if test -z "$CC"; then
|
---|
| 2741 | if test -n "$ac_tool_prefix"; then
|
---|
[23356] | 2742 | for ac_prog in cl.exe
|
---|
[16568] | 2743 | do
|
---|
| 2744 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2745 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[23356] | 2746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2747 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2748 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2749 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 2750 | else
|
---|
| 2751 | if test -n "$CC"; then
|
---|
| 2752 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2753 | else
|
---|
| 2754 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2755 | for as_dir in $PATH
|
---|
| 2756 | do
|
---|
| 2757 | IFS=$as_save_IFS
|
---|
| 2758 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2759 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2760 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2761 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[23356] | 2762 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 2763 | break 2
|
---|
| 2764 | fi
|
---|
| 2765 | done
|
---|
[23356] | 2766 | done
|
---|
| 2767 | IFS=$as_save_IFS
|
---|
[16568] | 2768 |
|
---|
| 2769 | fi
|
---|
| 2770 | fi
|
---|
| 2771 | CC=$ac_cv_prog_CC
|
---|
| 2772 | if test -n "$CC"; then
|
---|
[23356] | 2773 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2774 | $as_echo "$CC" >&6; }
|
---|
[16568] | 2775 | else
|
---|
[23356] | 2776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2777 | $as_echo "no" >&6; }
|
---|
[16568] | 2778 | fi
|
---|
| 2779 |
|
---|
[23356] | 2780 |
|
---|
[16568] | 2781 | test -n "$CC" && break
|
---|
| 2782 | done
|
---|
| 2783 | fi
|
---|
| 2784 | if test -z "$CC"; then
|
---|
| 2785 | ac_ct_CC=$CC
|
---|
[23356] | 2786 | for ac_prog in cl.exe
|
---|
[16568] | 2787 | do
|
---|
| 2788 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2789 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 2790 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2791 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2792 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
---|
| 2793 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 2794 | else
|
---|
| 2795 | if test -n "$ac_ct_CC"; then
|
---|
| 2796 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2797 | else
|
---|
| 2798 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2799 | for as_dir in $PATH
|
---|
| 2800 | do
|
---|
| 2801 | IFS=$as_save_IFS
|
---|
| 2802 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2803 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2804 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2805 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[23356] | 2806 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 2807 | break 2
|
---|
| 2808 | fi
|
---|
| 2809 | done
|
---|
[23356] | 2810 | done
|
---|
| 2811 | IFS=$as_save_IFS
|
---|
[16568] | 2812 |
|
---|
| 2813 | fi
|
---|
| 2814 | fi
|
---|
| 2815 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2816 | if test -n "$ac_ct_CC"; then
|
---|
[23356] | 2817 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2818 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16568] | 2819 | else
|
---|
[23356] | 2820 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2821 | $as_echo "no" >&6; }
|
---|
[16568] | 2822 | fi
|
---|
| 2823 |
|
---|
[23356] | 2824 |
|
---|
[16568] | 2825 | test -n "$ac_ct_CC" && break
|
---|
| 2826 | done
|
---|
| 2827 |
|
---|
[23356] | 2828 | if test "x$ac_ct_CC" = x; then
|
---|
| 2829 | CC=""
|
---|
| 2830 | else
|
---|
| 2831 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2832 | yes:)
|
---|
| 2833 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2834 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2835 | ac_tool_warned=yes ;;
|
---|
| 2836 | esac
|
---|
| 2837 | CC=$ac_ct_CC
|
---|
| 2838 | fi
|
---|
[16568] | 2839 | fi
|
---|
| 2840 |
|
---|
| 2841 | fi
|
---|
| 2842 |
|
---|
| 2843 |
|
---|
[23356] | 2844 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2845 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2846 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
| 2847 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16568] | 2848 |
|
---|
| 2849 | # Provide some information about the compiler.
|
---|
[23356] | 2850 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
| 2851 | set X $ac_compile
|
---|
| 2852 | ac_compiler=$2
|
---|
| 2853 | for ac_option in --version -v -V -qversion; do
|
---|
| 2854 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 2855 | case "(($ac_try" in
|
---|
| 2856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2857 | *) ac_try_echo=$ac_try;;
|
---|
| 2858 | esac
|
---|
| 2859 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2860 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2861 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16568] | 2862 | ac_status=$?
|
---|
[23356] | 2863 | if test -s conftest.err; then
|
---|
| 2864 | sed '10a\
|
---|
| 2865 | ... rest of stderr output deleted ...
|
---|
| 2866 | 10q' conftest.err >conftest.er1
|
---|
| 2867 | cat conftest.er1 >&5
|
---|
| 2868 | fi
|
---|
| 2869 | rm -f conftest.er1 conftest.err
|
---|
| 2870 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2871 | test $ac_status = 0; }
|
---|
| 2872 | done
|
---|
[16568] | 2873 |
|
---|
[23356] | 2874 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 2875 | /* end confdefs.h. */
|
---|
| 2876 |
|
---|
| 2877 | int
|
---|
| 2878 | main ()
|
---|
| 2879 | {
|
---|
| 2880 |
|
---|
| 2881 | ;
|
---|
| 2882 | return 0;
|
---|
| 2883 | }
|
---|
| 2884 | _ACEOF
|
---|
| 2885 | ac_clean_files_save=$ac_clean_files
|
---|
[23356] | 2886 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[16568] | 2887 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2888 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2889 | # of exeext.
|
---|
[23356] | 2890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
---|
| 2891 | $as_echo_n "checking whether the C compiler works... " >&6; }
|
---|
| 2892 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[20854] | 2893 |
|
---|
[23356] | 2894 | # The possible output files:
|
---|
| 2895 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2896 |
|
---|
| 2897 | ac_rmfiles=
|
---|
| 2898 | for ac_file in $ac_files
|
---|
[16568] | 2899 | do
|
---|
[23356] | 2900 | case $ac_file in
|
---|
| 2901 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2902 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2903 | esac
|
---|
| 2904 | done
|
---|
| 2905 | rm -f $ac_rmfiles
|
---|
| 2906 |
|
---|
| 2907 | if { { ac_try="$ac_link_default"
|
---|
| 2908 | case "(($ac_try" in
|
---|
| 2909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2910 | *) ac_try_echo=$ac_try;;
|
---|
| 2911 | esac
|
---|
| 2912 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2913 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2914 | (eval "$ac_link_default") 2>&5
|
---|
| 2915 | ac_status=$?
|
---|
| 2916 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2917 | test $ac_status = 0; }; then :
|
---|
| 2918 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2919 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2920 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2921 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2922 | # Autoconf.
|
---|
| 2923 | for ac_file in $ac_files ''
|
---|
| 2924 | do
|
---|
[16568] | 2925 | test -f "$ac_file" || continue
|
---|
| 2926 | case $ac_file in
|
---|
[23356] | 2927 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[16568] | 2928 | ;;
|
---|
| 2929 | [ab].out )
|
---|
| 2930 | # We found the default executable, but exeext='' is most
|
---|
| 2931 | # certainly right.
|
---|
| 2932 | break;;
|
---|
| 2933 | *.* )
|
---|
[23356] | 2934 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
| 2935 | then :; else
|
---|
| 2936 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2937 | fi
|
---|
| 2938 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2939 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2940 | # argument, so we may need to know it at that point already.
|
---|
| 2941 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2942 | # actually working.
|
---|
[16568] | 2943 | break;;
|
---|
| 2944 | * )
|
---|
| 2945 | break;;
|
---|
| 2946 | esac
|
---|
| 2947 | done
|
---|
[23356] | 2948 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2949 |
|
---|
[16568] | 2950 | else
|
---|
[23356] | 2951 | ac_file=''
|
---|
| 2952 | fi
|
---|
| 2953 | if test -z "$ac_file"; then :
|
---|
| 2954 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2955 | $as_echo "no" >&6; }
|
---|
| 2956 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16568] | 2957 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2958 |
|
---|
[23356] | 2959 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2960 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2961 | as_fn_error 77 "C compiler cannot create executables
|
---|
| 2962 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
| 2963 | else
|
---|
| 2964 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2965 | $as_echo "yes" >&6; }
|
---|
[16568] | 2966 | fi
|
---|
[23356] | 2967 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
---|
| 2968 | $as_echo_n "checking for C compiler default output file name... " >&6; }
|
---|
| 2969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 2970 | $as_echo "$ac_file" >&6; }
|
---|
[16568] | 2971 | ac_exeext=$ac_cv_exeext
|
---|
| 2972 |
|
---|
[23356] | 2973 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[16568] | 2974 | ac_clean_files=$ac_clean_files_save
|
---|
[23356] | 2975 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
| 2976 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
| 2977 | if { { ac_try="$ac_link"
|
---|
| 2978 | case "(($ac_try" in
|
---|
| 2979 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2980 | *) ac_try_echo=$ac_try;;
|
---|
| 2981 | esac
|
---|
| 2982 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2983 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2984 | (eval "$ac_link") 2>&5
|
---|
[16568] | 2985 | ac_status=$?
|
---|
[23356] | 2986 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2987 | test $ac_status = 0; }; then :
|
---|
[16568] | 2988 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2989 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2990 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2991 | # `rm'.
|
---|
| 2992 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2993 | test -f "$ac_file" || continue
|
---|
| 2994 | case $ac_file in
|
---|
[23356] | 2995 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[16568] | 2996 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2997 | break;;
|
---|
| 2998 | * ) break;;
|
---|
| 2999 | esac
|
---|
| 3000 | done
|
---|
| 3001 | else
|
---|
[23356] | 3002 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3003 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3004 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
| 3005 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16568] | 3006 | fi
|
---|
[23356] | 3007 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 3008 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
| 3009 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[16568] | 3010 |
|
---|
| 3011 | rm -f conftest.$ac_ext
|
---|
| 3012 | EXEEXT=$ac_cv_exeext
|
---|
| 3013 | ac_exeext=$EXEEXT
|
---|
[23356] | 3014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3015 | /* end confdefs.h. */
|
---|
| 3016 | #include <stdio.h>
|
---|
| 3017 | int
|
---|
| 3018 | main ()
|
---|
| 3019 | {
|
---|
| 3020 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 3021 | return ferror (f) || fclose (f) != 0;
|
---|
| 3022 |
|
---|
| 3023 | ;
|
---|
| 3024 | return 0;
|
---|
| 3025 | }
|
---|
| 3026 | _ACEOF
|
---|
| 3027 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 3028 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 3029 | # the compiler is broken, or we cross compile.
|
---|
| 3030 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 3031 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 3032 | if test "$cross_compiling" != yes; then
|
---|
| 3033 | { { ac_try="$ac_link"
|
---|
| 3034 | case "(($ac_try" in
|
---|
| 3035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3036 | *) ac_try_echo=$ac_try;;
|
---|
| 3037 | esac
|
---|
| 3038 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3039 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3040 | (eval "$ac_link") 2>&5
|
---|
| 3041 | ac_status=$?
|
---|
| 3042 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3043 | test $ac_status = 0; }
|
---|
| 3044 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 3045 | { { case "(($ac_try" in
|
---|
| 3046 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3047 | *) ac_try_echo=$ac_try;;
|
---|
| 3048 | esac
|
---|
| 3049 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3050 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3051 | (eval "$ac_try") 2>&5
|
---|
| 3052 | ac_status=$?
|
---|
| 3053 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3054 | test $ac_status = 0; }; }; then
|
---|
| 3055 | cross_compiling=no
|
---|
| 3056 | else
|
---|
| 3057 | if test "$cross_compiling" = maybe; then
|
---|
| 3058 | cross_compiling=yes
|
---|
| 3059 | else
|
---|
| 3060 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3061 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3062 | as_fn_error $? "cannot run C compiled programs.
|
---|
| 3063 | If you meant to cross compile, use \`--host'.
|
---|
| 3064 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
| 3065 | fi
|
---|
| 3066 | fi
|
---|
| 3067 | fi
|
---|
| 3068 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 3069 | $as_echo "$cross_compiling" >&6; }
|
---|
| 3070 |
|
---|
| 3071 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 3072 | ac_clean_files=$ac_clean_files_save
|
---|
| 3073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
| 3074 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
| 3075 | if test "${ac_cv_objext+set}" = set; then :
|
---|
| 3076 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3077 | else
|
---|
[23356] | 3078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 3079 | /* end confdefs.h. */
|
---|
| 3080 |
|
---|
| 3081 | int
|
---|
| 3082 | main ()
|
---|
| 3083 | {
|
---|
| 3084 |
|
---|
| 3085 | ;
|
---|
| 3086 | return 0;
|
---|
| 3087 | }
|
---|
| 3088 | _ACEOF
|
---|
| 3089 | rm -f conftest.o conftest.obj
|
---|
[23356] | 3090 | if { { ac_try="$ac_compile"
|
---|
| 3091 | case "(($ac_try" in
|
---|
| 3092 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3093 | *) ac_try_echo=$ac_try;;
|
---|
| 3094 | esac
|
---|
| 3095 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3096 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3097 | (eval "$ac_compile") 2>&5
|
---|
[16568] | 3098 | ac_status=$?
|
---|
[23356] | 3099 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3100 | test $ac_status = 0; }; then :
|
---|
| 3101 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 3102 | test -f "$ac_file" || continue;
|
---|
[16568] | 3103 | case $ac_file in
|
---|
[23356] | 3104 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[16568] | 3105 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 3106 | break;;
|
---|
| 3107 | esac
|
---|
| 3108 | done
|
---|
| 3109 | else
|
---|
[23356] | 3110 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16568] | 3111 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3112 |
|
---|
[23356] | 3113 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3114 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3115 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
| 3116 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16568] | 3117 | fi
|
---|
| 3118 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 3119 | fi
|
---|
[23356] | 3120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
| 3121 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[16568] | 3122 | OBJEXT=$ac_cv_objext
|
---|
| 3123 | ac_objext=$OBJEXT
|
---|
[23356] | 3124 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
| 3125 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
| 3126 | if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
---|
| 3127 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3128 | else
|
---|
[23356] | 3129 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 3130 | /* end confdefs.h. */
|
---|
| 3131 |
|
---|
| 3132 | int
|
---|
| 3133 | main ()
|
---|
| 3134 | {
|
---|
| 3135 | #ifndef __GNUC__
|
---|
| 3136 | choke me
|
---|
| 3137 | #endif
|
---|
| 3138 |
|
---|
| 3139 | ;
|
---|
| 3140 | return 0;
|
---|
| 3141 | }
|
---|
| 3142 | _ACEOF
|
---|
[23356] | 3143 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 3144 | ac_compiler_gnu=yes
|
---|
| 3145 | else
|
---|
[23356] | 3146 | ac_compiler_gnu=no
|
---|
[16568] | 3147 | fi
|
---|
[23356] | 3148 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 3149 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 3150 |
|
---|
| 3151 | fi
|
---|
[23356] | 3152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 3153 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 3154 | if test $ac_compiler_gnu = yes; then
|
---|
| 3155 | GCC=yes
|
---|
| 3156 | else
|
---|
| 3157 | GCC=
|
---|
| 3158 | fi
|
---|
[16568] | 3159 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 3160 | ac_save_CFLAGS=$CFLAGS
|
---|
[23356] | 3161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
| 3162 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
| 3163 | if test "${ac_cv_prog_cc_g+set}" = set; then :
|
---|
| 3164 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3165 | else
|
---|
[23356] | 3166 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 3167 | ac_c_werror_flag=yes
|
---|
| 3168 | ac_cv_prog_cc_g=no
|
---|
| 3169 | CFLAGS="-g"
|
---|
| 3170 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 3171 | /* end confdefs.h. */
|
---|
| 3172 |
|
---|
| 3173 | int
|
---|
| 3174 | main ()
|
---|
| 3175 | {
|
---|
| 3176 |
|
---|
| 3177 | ;
|
---|
| 3178 | return 0;
|
---|
| 3179 | }
|
---|
| 3180 | _ACEOF
|
---|
[23356] | 3181 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 3182 | ac_cv_prog_cc_g=yes
|
---|
| 3183 | else
|
---|
[23356] | 3184 | CFLAGS=""
|
---|
| 3185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3186 | /* end confdefs.h. */
|
---|
[16568] | 3187 |
|
---|
[23356] | 3188 | int
|
---|
| 3189 | main ()
|
---|
| 3190 | {
|
---|
| 3191 |
|
---|
| 3192 | ;
|
---|
| 3193 | return 0;
|
---|
| 3194 | }
|
---|
| 3195 | _ACEOF
|
---|
| 3196 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3197 |
|
---|
| 3198 | else
|
---|
| 3199 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3200 | CFLAGS="-g"
|
---|
| 3201 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3202 | /* end confdefs.h. */
|
---|
| 3203 |
|
---|
| 3204 | int
|
---|
| 3205 | main ()
|
---|
| 3206 | {
|
---|
| 3207 |
|
---|
| 3208 | ;
|
---|
| 3209 | return 0;
|
---|
| 3210 | }
|
---|
| 3211 | _ACEOF
|
---|
| 3212 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3213 | ac_cv_prog_cc_g=yes
|
---|
[16568] | 3214 | fi
|
---|
[23356] | 3215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 3216 | fi
|
---|
[23356] | 3217 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3218 | fi
|
---|
| 3219 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3220 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3221 | fi
|
---|
| 3222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
| 3223 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[16568] | 3224 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 3225 | CFLAGS=$ac_save_CFLAGS
|
---|
| 3226 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 3227 | if test "$GCC" = yes; then
|
---|
| 3228 | CFLAGS="-g -O2"
|
---|
| 3229 | else
|
---|
| 3230 | CFLAGS="-g"
|
---|
| 3231 | fi
|
---|
| 3232 | else
|
---|
| 3233 | if test "$GCC" = yes; then
|
---|
| 3234 | CFLAGS="-O2"
|
---|
| 3235 | else
|
---|
| 3236 | CFLAGS=
|
---|
| 3237 | fi
|
---|
| 3238 | fi
|
---|
[23356] | 3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
| 3240 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
| 3241 | if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
---|
| 3242 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3243 | else
|
---|
[23356] | 3244 | ac_cv_prog_cc_c89=no
|
---|
[16568] | 3245 | ac_save_CC=$CC
|
---|
[23356] | 3246 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 3247 | /* end confdefs.h. */
|
---|
| 3248 | #include <stdarg.h>
|
---|
| 3249 | #include <stdio.h>
|
---|
| 3250 | #include <sys/types.h>
|
---|
| 3251 | #include <sys/stat.h>
|
---|
| 3252 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 3253 | struct buf { int x; };
|
---|
| 3254 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 3255 | static char *e (p, i)
|
---|
| 3256 | char **p;
|
---|
| 3257 | int i;
|
---|
| 3258 | {
|
---|
| 3259 | return p[i];
|
---|
| 3260 | }
|
---|
| 3261 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 3262 | {
|
---|
| 3263 | char *s;
|
---|
| 3264 | va_list v;
|
---|
| 3265 | va_start (v,p);
|
---|
| 3266 | s = g (p, va_arg (v,int));
|
---|
| 3267 | va_end (v);
|
---|
| 3268 | return s;
|
---|
| 3269 | }
|
---|
| 3270 |
|
---|
| 3271 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3272 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3273 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[23356] | 3274 | as 'x'. The following induces an error, until -std is added to get
|
---|
[16568] | 3275 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3276 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[23356] | 3277 | that's true only with -std. */
|
---|
[16568] | 3278 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3279 |
|
---|
[23356] | 3280 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3281 | inside strings and character constants. */
|
---|
| 3282 | #define FOO(x) 'x'
|
---|
| 3283 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3284 |
|
---|
[16568] | 3285 | int test (int i, double x);
|
---|
| 3286 | struct s1 {int (*f) (int a);};
|
---|
| 3287 | struct s2 {int (*f) (double a);};
|
---|
| 3288 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3289 | int argc;
|
---|
| 3290 | char **argv;
|
---|
| 3291 | int
|
---|
| 3292 | main ()
|
---|
| 3293 | {
|
---|
| 3294 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3295 | ;
|
---|
| 3296 | return 0;
|
---|
| 3297 | }
|
---|
| 3298 | _ACEOF
|
---|
[23356] | 3299 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3300 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[16568] | 3301 | do
|
---|
| 3302 | CC="$ac_save_CC $ac_arg"
|
---|
[23356] | 3303 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3304 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[16568] | 3305 | fi
|
---|
[23356] | 3306 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3307 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[16568] | 3308 | done
|
---|
[23356] | 3309 | rm -f conftest.$ac_ext
|
---|
[16568] | 3310 | CC=$ac_save_CC
|
---|
| 3311 |
|
---|
| 3312 | fi
|
---|
[23356] | 3313 | # AC_CACHE_VAL
|
---|
| 3314 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3315 | x)
|
---|
| 3316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
| 3317 | $as_echo "none needed" >&6; } ;;
|
---|
| 3318 | xno)
|
---|
| 3319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
| 3320 | $as_echo "unsupported" >&6; } ;;
|
---|
[16568] | 3321 | *)
|
---|
[23356] | 3322 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
| 3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
| 3324 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[16568] | 3325 | esac
|
---|
[23356] | 3326 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
[16568] | 3327 |
|
---|
[20854] | 3328 | fi
|
---|
| 3329 |
|
---|
[16568] | 3330 | ac_ext=c
|
---|
| 3331 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3332 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3333 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3334 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3335 |
|
---|
[23356] | 3336 | ac_ext=cpp
|
---|
[16568] | 3337 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 3338 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3339 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3340 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[23356] | 3341 | if test -z "$CXX"; then
|
---|
| 3342 | if test -n "$CCC"; then
|
---|
| 3343 | CXX=$CCC
|
---|
| 3344 | else
|
---|
| 3345 | if test -n "$ac_tool_prefix"; then
|
---|
| 3346 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16568] | 3347 | do
|
---|
| 3348 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 3349 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[23356] | 3350 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3351 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3352 | if test "${ac_cv_prog_CXX+set}" = set; then :
|
---|
| 3353 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3354 | else
|
---|
| 3355 | if test -n "$CXX"; then
|
---|
| 3356 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 3357 | else
|
---|
| 3358 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3359 | for as_dir in $PATH
|
---|
| 3360 | do
|
---|
| 3361 | IFS=$as_save_IFS
|
---|
| 3362 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 3363 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3364 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 3365 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[23356] | 3366 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 3367 | break 2
|
---|
| 3368 | fi
|
---|
| 3369 | done
|
---|
[23356] | 3370 | done
|
---|
| 3371 | IFS=$as_save_IFS
|
---|
[16568] | 3372 |
|
---|
| 3373 | fi
|
---|
| 3374 | fi
|
---|
| 3375 | CXX=$ac_cv_prog_CXX
|
---|
| 3376 | if test -n "$CXX"; then
|
---|
[23356] | 3377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
| 3378 | $as_echo "$CXX" >&6; }
|
---|
[16568] | 3379 | else
|
---|
[23356] | 3380 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3381 | $as_echo "no" >&6; }
|
---|
[16568] | 3382 | fi
|
---|
| 3383 |
|
---|
[23356] | 3384 |
|
---|
[16568] | 3385 | test -n "$CXX" && break
|
---|
| 3386 | done
|
---|
| 3387 | fi
|
---|
| 3388 | if test -z "$CXX"; then
|
---|
| 3389 | ac_ct_CXX=$CXX
|
---|
[23356] | 3390 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16568] | 3391 | do
|
---|
| 3392 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3393 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3395 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3396 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
---|
| 3397 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3398 | else
|
---|
| 3399 | if test -n "$ac_ct_CXX"; then
|
---|
| 3400 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3401 | else
|
---|
| 3402 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3403 | for as_dir in $PATH
|
---|
| 3404 | do
|
---|
| 3405 | IFS=$as_save_IFS
|
---|
| 3406 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 3407 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3408 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 3409 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[23356] | 3410 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 3411 | break 2
|
---|
| 3412 | fi
|
---|
| 3413 | done
|
---|
[23356] | 3414 | done
|
---|
| 3415 | IFS=$as_save_IFS
|
---|
[16568] | 3416 |
|
---|
| 3417 | fi
|
---|
| 3418 | fi
|
---|
| 3419 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3420 | if test -n "$ac_ct_CXX"; then
|
---|
[23356] | 3421 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
| 3422 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
[16568] | 3423 | else
|
---|
[23356] | 3424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3425 | $as_echo "no" >&6; }
|
---|
[16568] | 3426 | fi
|
---|
| 3427 |
|
---|
[23356] | 3428 |
|
---|
[16568] | 3429 | test -n "$ac_ct_CXX" && break
|
---|
| 3430 | done
|
---|
| 3431 |
|
---|
[23356] | 3432 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3433 | CXX="g++"
|
---|
| 3434 | else
|
---|
| 3435 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3436 | yes:)
|
---|
| 3437 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 3438 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3439 | ac_tool_warned=yes ;;
|
---|
| 3440 | esac
|
---|
| 3441 | CXX=$ac_ct_CXX
|
---|
| 3442 | fi
|
---|
[16568] | 3443 | fi
|
---|
| 3444 |
|
---|
[23356] | 3445 | fi
|
---|
| 3446 | fi
|
---|
[16568] | 3447 | # Provide some information about the compiler.
|
---|
[23356] | 3448 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
| 3449 | set X $ac_compile
|
---|
| 3450 | ac_compiler=$2
|
---|
| 3451 | for ac_option in --version -v -V -qversion; do
|
---|
| 3452 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 3453 | case "(($ac_try" in
|
---|
| 3454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3455 | *) ac_try_echo=$ac_try;;
|
---|
| 3456 | esac
|
---|
| 3457 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3458 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3459 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16568] | 3460 | ac_status=$?
|
---|
[23356] | 3461 | if test -s conftest.err; then
|
---|
| 3462 | sed '10a\
|
---|
| 3463 | ... rest of stderr output deleted ...
|
---|
| 3464 | 10q' conftest.err >conftest.er1
|
---|
| 3465 | cat conftest.er1 >&5
|
---|
| 3466 | fi
|
---|
| 3467 | rm -f conftest.er1 conftest.err
|
---|
| 3468 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3469 | test $ac_status = 0; }
|
---|
| 3470 | done
|
---|
[16568] | 3471 |
|
---|
[23356] | 3472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 3473 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
| 3474 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
---|
| 3475 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3476 | else
|
---|
[23356] | 3477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 3478 | /* end confdefs.h. */
|
---|
| 3479 |
|
---|
| 3480 | int
|
---|
| 3481 | main ()
|
---|
| 3482 | {
|
---|
| 3483 | #ifndef __GNUC__
|
---|
| 3484 | choke me
|
---|
| 3485 | #endif
|
---|
| 3486 |
|
---|
| 3487 | ;
|
---|
| 3488 | return 0;
|
---|
| 3489 | }
|
---|
| 3490 | _ACEOF
|
---|
[23356] | 3491 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 3492 | ac_compiler_gnu=yes
|
---|
| 3493 | else
|
---|
[23356] | 3494 | ac_compiler_gnu=no
|
---|
[16568] | 3495 | fi
|
---|
[23356] | 3496 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 3497 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3498 |
|
---|
| 3499 | fi
|
---|
[23356] | 3500 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 3501 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3502 | if test $ac_compiler_gnu = yes; then
|
---|
| 3503 | GXX=yes
|
---|
| 3504 | else
|
---|
| 3505 | GXX=
|
---|
| 3506 | fi
|
---|
[16568] | 3507 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3508 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[23356] | 3509 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
| 3510 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
| 3511 | if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
---|
| 3512 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 3513 | else
|
---|
[23356] | 3514 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3515 | ac_cxx_werror_flag=yes
|
---|
| 3516 | ac_cv_prog_cxx_g=no
|
---|
| 3517 | CXXFLAGS="-g"
|
---|
| 3518 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 3519 | /* end confdefs.h. */
|
---|
| 3520 |
|
---|
| 3521 | int
|
---|
| 3522 | main ()
|
---|
| 3523 | {
|
---|
| 3524 |
|
---|
| 3525 | ;
|
---|
| 3526 | return 0;
|
---|
| 3527 | }
|
---|
| 3528 | _ACEOF
|
---|
[23356] | 3529 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 3530 | ac_cv_prog_cxx_g=yes
|
---|
| 3531 | else
|
---|
[23356] | 3532 | CXXFLAGS=""
|
---|
| 3533 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3534 | /* end confdefs.h. */
|
---|
[16568] | 3535 |
|
---|
[23356] | 3536 | int
|
---|
| 3537 | main ()
|
---|
| 3538 | {
|
---|
| 3539 |
|
---|
| 3540 | ;
|
---|
| 3541 | return 0;
|
---|
| 3542 | }
|
---|
| 3543 | _ACEOF
|
---|
| 3544 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3545 |
|
---|
| 3546 | else
|
---|
| 3547 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3548 | CXXFLAGS="-g"
|
---|
| 3549 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3550 | /* end confdefs.h. */
|
---|
| 3551 |
|
---|
| 3552 | int
|
---|
| 3553 | main ()
|
---|
| 3554 | {
|
---|
| 3555 |
|
---|
| 3556 | ;
|
---|
| 3557 | return 0;
|
---|
| 3558 | }
|
---|
| 3559 | _ACEOF
|
---|
| 3560 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3561 | ac_cv_prog_cxx_g=yes
|
---|
[20854] | 3562 | fi
|
---|
[23356] | 3563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[20854] | 3564 | fi
|
---|
[23356] | 3565 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3566 | fi
|
---|
| 3567 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3568 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3569 | fi
|
---|
| 3570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 3571 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
[20854] | 3572 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3573 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3574 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3575 | if test "$GXX" = yes; then
|
---|
| 3576 | CXXFLAGS="-g -O2"
|
---|
| 3577 | else
|
---|
| 3578 | CXXFLAGS="-g"
|
---|
| 3579 | fi
|
---|
| 3580 | else
|
---|
| 3581 | if test "$GXX" = yes; then
|
---|
| 3582 | CXXFLAGS="-O2"
|
---|
| 3583 | else
|
---|
| 3584 | CXXFLAGS=
|
---|
| 3585 | fi
|
---|
| 3586 | fi
|
---|
[23356] | 3587 | ac_ext=c
|
---|
| 3588 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3589 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3590 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3591 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3592 |
|
---|
| 3593 | if test $ENABLE_JAVA = "1" ; then
|
---|
| 3594 |
|
---|
| 3595 |
|
---|
| 3596 | if test "x$JAVAC" = x ; then
|
---|
| 3597 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3598 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
[20854] | 3599 | do
|
---|
[23356] | 3600 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3601 | set dummy $ac_prog; ac_word=$2
|
---|
| 3602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3603 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3604 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 3605 | $as_echo_n "(cached) " >&6
|
---|
| 3606 | else
|
---|
| 3607 | if test -n "$JAVAC"; then
|
---|
| 3608 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3609 | else
|
---|
| 3610 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3611 | for as_dir in $PATH
|
---|
| 3612 | do
|
---|
| 3613 | IFS=$as_save_IFS
|
---|
| 3614 | test -z "$as_dir" && as_dir=.
|
---|
| 3615 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3616 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3617 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 3618 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3619 | break 2
|
---|
| 3620 | fi
|
---|
| 3621 | done
|
---|
| 3622 | done
|
---|
| 3623 | IFS=$as_save_IFS
|
---|
| 3624 |
|
---|
| 3625 | fi
|
---|
| 3626 | fi
|
---|
| 3627 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3628 | if test -n "$JAVAC"; then
|
---|
| 3629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 3630 | $as_echo "$JAVAC" >&6; }
|
---|
| 3631 | else
|
---|
| 3632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3633 | $as_echo "no" >&6; }
|
---|
| 3634 | fi
|
---|
| 3635 |
|
---|
| 3636 |
|
---|
| 3637 | test -n "$JAVAC" && break
|
---|
| 3638 | done
|
---|
| 3639 |
|
---|
| 3640 | else
|
---|
| 3641 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3642 | do
|
---|
| 3643 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3644 | set dummy $ac_prog; ac_word=$2
|
---|
| 3645 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3646 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3647 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 3648 | $as_echo_n "(cached) " >&6
|
---|
| 3649 | else
|
---|
| 3650 | if test -n "$JAVAC"; then
|
---|
| 3651 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3652 | else
|
---|
| 3653 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3654 | for as_dir in $PATH
|
---|
| 3655 | do
|
---|
| 3656 | IFS=$as_save_IFS
|
---|
| 3657 | test -z "$as_dir" && as_dir=.
|
---|
| 3658 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3659 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3660 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 3661 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3662 | break 2
|
---|
| 3663 | fi
|
---|
| 3664 | done
|
---|
| 3665 | done
|
---|
| 3666 | IFS=$as_save_IFS
|
---|
| 3667 |
|
---|
| 3668 | fi
|
---|
| 3669 | fi
|
---|
| 3670 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3671 | if test -n "$JAVAC"; then
|
---|
| 3672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 3673 | $as_echo "$JAVAC" >&6; }
|
---|
| 3674 | else
|
---|
| 3675 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3676 | $as_echo "no" >&6; }
|
---|
| 3677 | fi
|
---|
| 3678 |
|
---|
| 3679 |
|
---|
| 3680 | test -n "$JAVAC" && break
|
---|
| 3681 | done
|
---|
| 3682 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3683 |
|
---|
| 3684 | fi
|
---|
| 3685 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
| 3686 | else
|
---|
| 3687 | echo "Checking for javac... $JAVAC"
|
---|
| 3688 | fi
|
---|
| 3689 |
|
---|
| 3690 |
|
---|
| 3691 |
|
---|
| 3692 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
| 3693 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
| 3694 | if test "${ac_cv_prog_javac_works+set}" = set; then :
|
---|
| 3695 | $as_echo_n "(cached) " >&6
|
---|
| 3696 | else
|
---|
| 3697 |
|
---|
| 3698 | JAVA_TEST=Test.java
|
---|
| 3699 | CLASS_TEST=Test.class
|
---|
| 3700 | cat << \EOF > $JAVA_TEST
|
---|
| 3701 | /* #line 3701 "configure" */
|
---|
| 3702 | public class Test {
|
---|
[16568] | 3703 | }
|
---|
[23356] | 3704 | EOF
|
---|
| 3705 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
| 3706 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[20854] | 3707 | (eval $ac_try) 2>&5
|
---|
| 3708 | ac_status=$?
|
---|
[23356] | 3709 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3710 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
| 3711 | ac_cv_prog_javac_works=yes
|
---|
| 3712 | else
|
---|
| 3713 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 3714 | echo "configure: failed program was:" >&5
|
---|
| 3715 | cat $JAVA_TEST >&5
|
---|
| 3716 | fi
|
---|
| 3717 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 3718 |
|
---|
| 3719 | fi
|
---|
| 3720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
| 3721 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
| 3722 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 3723 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 3724 | fi
|
---|
| 3725 |
|
---|
| 3726 |
|
---|
| 3727 |
|
---|
| 3728 |
|
---|
| 3729 | if test "x$JAVA" = x ; then
|
---|
| 3730 | if test x$JAVAPREFIX = x; then
|
---|
| 3731 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3732 | do
|
---|
| 3733 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3734 | set dummy $ac_prog; ac_word=$2
|
---|
| 3735 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3736 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3737 | if test "${ac_cv_prog_JAVA+set}" = set; then :
|
---|
| 3738 | $as_echo_n "(cached) " >&6
|
---|
| 3739 | else
|
---|
| 3740 | if test -n "$JAVA"; then
|
---|
| 3741 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3742 | else
|
---|
| 3743 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3744 | for as_dir in $PATH
|
---|
| 3745 | do
|
---|
| 3746 | IFS=$as_save_IFS
|
---|
| 3747 | test -z "$as_dir" && as_dir=.
|
---|
| 3748 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3749 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3750 | ac_cv_prog_JAVA="$ac_prog"
|
---|
| 3751 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3752 | break 2
|
---|
| 3753 | fi
|
---|
| 3754 | done
|
---|
| 3755 | done
|
---|
| 3756 | IFS=$as_save_IFS
|
---|
| 3757 |
|
---|
| 3758 | fi
|
---|
| 3759 | fi
|
---|
| 3760 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3761 | if test -n "$JAVA"; then
|
---|
| 3762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
| 3763 | $as_echo "$JAVA" >&6; }
|
---|
| 3764 | else
|
---|
| 3765 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3766 | $as_echo "no" >&6; }
|
---|
| 3767 | fi
|
---|
| 3768 |
|
---|
| 3769 |
|
---|
| 3770 | test -n "$JAVA" && break
|
---|
| 3771 | done
|
---|
| 3772 |
|
---|
| 3773 | else
|
---|
| 3774 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3775 | do
|
---|
| 3776 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3777 | set dummy $ac_prog; ac_word=$2
|
---|
| 3778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3779 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3780 | if test "${ac_cv_prog_JAVA+set}" = set; then :
|
---|
| 3781 | $as_echo_n "(cached) " >&6
|
---|
| 3782 | else
|
---|
| 3783 | if test -n "$JAVA"; then
|
---|
| 3784 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3785 | else
|
---|
| 3786 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3787 | for as_dir in $PATH
|
---|
| 3788 | do
|
---|
| 3789 | IFS=$as_save_IFS
|
---|
| 3790 | test -z "$as_dir" && as_dir=.
|
---|
| 3791 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3792 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3793 | ac_cv_prog_JAVA="$ac_prog"
|
---|
| 3794 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3795 | break 2
|
---|
| 3796 | fi
|
---|
| 3797 | done
|
---|
| 3798 | done
|
---|
| 3799 | IFS=$as_save_IFS
|
---|
| 3800 |
|
---|
| 3801 | fi
|
---|
| 3802 | fi
|
---|
| 3803 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3804 | if test -n "$JAVA"; then
|
---|
| 3805 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
| 3806 | $as_echo "$JAVA" >&6; }
|
---|
| 3807 | else
|
---|
| 3808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3809 | $as_echo "no" >&6; }
|
---|
| 3810 | fi
|
---|
| 3811 |
|
---|
| 3812 |
|
---|
| 3813 | test -n "$JAVA" && break
|
---|
| 3814 | done
|
---|
| 3815 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
| 3816 |
|
---|
| 3817 | fi
|
---|
| 3818 | test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
|
---|
| 3819 | fi
|
---|
| 3820 |
|
---|
| 3821 |
|
---|
| 3822 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
| 3823 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
| 3824 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3825 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3826 | if test "${ac_cv_prog_uudecode+set}" = set; then :
|
---|
| 3827 | $as_echo_n "(cached) " >&6
|
---|
| 3828 | else
|
---|
| 3829 | if test -n "$uudecode"; then
|
---|
| 3830 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
| 3831 | else
|
---|
| 3832 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3833 | for as_dir in $PATH
|
---|
| 3834 | do
|
---|
| 3835 | IFS=$as_save_IFS
|
---|
| 3836 | test -z "$as_dir" && as_dir=.
|
---|
| 3837 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3838 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3839 | ac_cv_prog_uudecode="yes"
|
---|
| 3840 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3841 | break 2
|
---|
| 3842 | fi
|
---|
| 3843 | done
|
---|
| 3844 | done
|
---|
| 3845 | IFS=$as_save_IFS
|
---|
| 3846 |
|
---|
| 3847 | fi
|
---|
| 3848 | fi
|
---|
| 3849 | uudecode=$ac_cv_prog_uudecode
|
---|
| 3850 | if test -n "$uudecode"; then
|
---|
| 3851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
|
---|
| 3852 | $as_echo "$uudecode" >&6; }
|
---|
| 3853 | else
|
---|
| 3854 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3855 | $as_echo "no" >&6; }
|
---|
| 3856 | fi
|
---|
| 3857 |
|
---|
| 3858 |
|
---|
| 3859 | if test x$uudecode = xyes; then
|
---|
| 3860 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
|
---|
| 3861 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
| 3862 | if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
|
---|
| 3863 | $as_echo_n "(cached) " >&6
|
---|
| 3864 | else
|
---|
| 3865 |
|
---|
| 3866 | cat << \EOF > Test.uue
|
---|
| 3867 | begin-base64 644 Test.class
|
---|
| 3868 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
| 3869 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
| 3870 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
| 3871 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
| 3872 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
| 3873 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
| 3874 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
| 3875 | ====
|
---|
| 3876 | EOF
|
---|
| 3877 | if uudecode$EXEEXT Test.uue; then
|
---|
| 3878 | ac_cv_prog_uudecode_base64=yes
|
---|
| 3879 | else
|
---|
| 3880 | echo "configure: 3880: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
| 3881 | echo "configure: failed file was:" >&5
|
---|
| 3882 | cat Test.uue >&5
|
---|
| 3883 | ac_cv_prog_uudecode_base64=no
|
---|
| 3884 | fi
|
---|
| 3885 | rm -f Test.uue
|
---|
| 3886 | fi
|
---|
| 3887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
| 3888 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
| 3889 | fi
|
---|
| 3890 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3891 | rm -f Test.class
|
---|
| 3892 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
|
---|
| 3893 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
| 3894 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
| 3895 | as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
|
---|
| 3896 | fi
|
---|
| 3897 | if test x$ac_cv_prog_javac_works = x; then
|
---|
| 3898 |
|
---|
| 3899 | if test "x$JAVAC" = x ; then
|
---|
| 3900 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3901 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3902 | do
|
---|
| 3903 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3904 | set dummy $ac_prog; ac_word=$2
|
---|
| 3905 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3906 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3907 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 3908 | $as_echo_n "(cached) " >&6
|
---|
| 3909 | else
|
---|
| 3910 | if test -n "$JAVAC"; then
|
---|
| 3911 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3912 | else
|
---|
| 3913 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3914 | for as_dir in $PATH
|
---|
| 3915 | do
|
---|
| 3916 | IFS=$as_save_IFS
|
---|
| 3917 | test -z "$as_dir" && as_dir=.
|
---|
| 3918 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3919 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3920 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 3921 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3922 | break 2
|
---|
| 3923 | fi
|
---|
| 3924 | done
|
---|
| 3925 | done
|
---|
| 3926 | IFS=$as_save_IFS
|
---|
| 3927 |
|
---|
| 3928 | fi
|
---|
| 3929 | fi
|
---|
| 3930 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3931 | if test -n "$JAVAC"; then
|
---|
| 3932 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 3933 | $as_echo "$JAVAC" >&6; }
|
---|
| 3934 | else
|
---|
| 3935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3936 | $as_echo "no" >&6; }
|
---|
| 3937 | fi
|
---|
| 3938 |
|
---|
| 3939 |
|
---|
| 3940 | test -n "$JAVAC" && break
|
---|
| 3941 | done
|
---|
| 3942 |
|
---|
| 3943 | else
|
---|
| 3944 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3945 | do
|
---|
| 3946 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3947 | set dummy $ac_prog; ac_word=$2
|
---|
| 3948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3949 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3950 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 3951 | $as_echo_n "(cached) " >&6
|
---|
| 3952 | else
|
---|
| 3953 | if test -n "$JAVAC"; then
|
---|
| 3954 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3955 | else
|
---|
| 3956 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3957 | for as_dir in $PATH
|
---|
| 3958 | do
|
---|
| 3959 | IFS=$as_save_IFS
|
---|
| 3960 | test -z "$as_dir" && as_dir=.
|
---|
| 3961 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3962 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3963 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 3964 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3965 | break 2
|
---|
| 3966 | fi
|
---|
| 3967 | done
|
---|
| 3968 | done
|
---|
| 3969 | IFS=$as_save_IFS
|
---|
| 3970 |
|
---|
| 3971 | fi
|
---|
| 3972 | fi
|
---|
| 3973 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3974 | if test -n "$JAVAC"; then
|
---|
| 3975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 3976 | $as_echo "$JAVAC" >&6; }
|
---|
| 3977 | else
|
---|
| 3978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3979 | $as_echo "no" >&6; }
|
---|
| 3980 | fi
|
---|
| 3981 |
|
---|
| 3982 |
|
---|
| 3983 | test -n "$JAVAC" && break
|
---|
| 3984 | done
|
---|
| 3985 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3986 |
|
---|
| 3987 | fi
|
---|
| 3988 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
| 3989 | else
|
---|
| 3990 | echo "Checking for javac... $JAVAC"
|
---|
| 3991 | fi
|
---|
| 3992 |
|
---|
| 3993 |
|
---|
| 3994 |
|
---|
| 3995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
| 3996 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
| 3997 | if test "${ac_cv_prog_javac_works+set}" = set; then :
|
---|
| 3998 | $as_echo_n "(cached) " >&6
|
---|
| 3999 | else
|
---|
| 4000 |
|
---|
| 4001 | JAVA_TEST=Test.java
|
---|
| 4002 | CLASS_TEST=Test.class
|
---|
| 4003 | cat << \EOF > $JAVA_TEST
|
---|
| 4004 | /* #line 4004 "configure" */
|
---|
| 4005 | public class Test {
|
---|
| 4006 | }
|
---|
| 4007 | EOF
|
---|
| 4008 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
| 4009 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[20854] | 4010 | (eval $ac_try) 2>&5
|
---|
| 4011 | ac_status=$?
|
---|
[23356] | 4012 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4013 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
| 4014 | ac_cv_prog_javac_works=yes
|
---|
[16568] | 4015 | else
|
---|
[23356] | 4016 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 4017 | echo "configure: failed program was:" >&5
|
---|
| 4018 | cat $JAVA_TEST >&5
|
---|
| 4019 | fi
|
---|
| 4020 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
[16568] | 4021 |
|
---|
[20854] | 4022 | fi
|
---|
[23356] | 4023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
| 4024 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
| 4025 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 4026 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 4027 | fi
|
---|
| 4028 |
|
---|
| 4029 |
|
---|
| 4030 |
|
---|
| 4031 | fi
|
---|
| 4032 | fi
|
---|
| 4033 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
|
---|
| 4034 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
| 4035 | if test "${ac_cv_prog_java_works+set}" = set; then :
|
---|
| 4036 | $as_echo_n "(cached) " >&6
|
---|
| 4037 | else
|
---|
| 4038 |
|
---|
| 4039 | JAVA_TEST=Test.java
|
---|
| 4040 | CLASS_TEST=Test.class
|
---|
| 4041 | TEST=Test
|
---|
| 4042 | cat << \EOF > $JAVA_TEST
|
---|
| 4043 | /* [#]line 4043 "configure" */
|
---|
| 4044 | public class Test {
|
---|
| 4045 | public static void main (String args[]) {
|
---|
| 4046 | System.exit (0);
|
---|
| 4047 | } }
|
---|
| 4048 | EOF
|
---|
| 4049 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 4050 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
| 4051 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[20854] | 4052 | (eval $ac_try) 2>&5
|
---|
| 4053 | ac_status=$?
|
---|
[23356] | 4054 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4055 | test $ac_status = 0; }; } && test -s $CLASS_TEST; then
|
---|
| 4056 | :
|
---|
| 4057 | else
|
---|
| 4058 | echo "configure: failed program was:" >&5
|
---|
| 4059 | cat $JAVA_TEST >&5
|
---|
| 4060 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 4061 | fi
|
---|
| 4062 | fi
|
---|
| 4063 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
| 4064 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[20854] | 4065 | (eval $ac_try) 2>&5
|
---|
| 4066 | ac_status=$?
|
---|
[23356] | 4067 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4068 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
| 4069 | ac_cv_prog_java_works=yes
|
---|
[16568] | 4070 | else
|
---|
[23356] | 4071 | echo "configure: failed program was:" >&5
|
---|
| 4072 | cat $JAVA_TEST >&5
|
---|
| 4073 | as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 4074 | fi
|
---|
| 4075 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
[16568] | 4076 |
|
---|
| 4077 | fi
|
---|
[23356] | 4078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
|
---|
| 4079 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
[16568] | 4080 |
|
---|
| 4081 |
|
---|
[23356] | 4082 |
|
---|
| 4083 | fi
|
---|
[16568] | 4084 | for ac_prog in gawk mawk nawk awk
|
---|
| 4085 | do
|
---|
| 4086 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4087 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 4088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4089 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4090 | if test "${ac_cv_prog_AWK+set}" = set; then :
|
---|
| 4091 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4092 | else
|
---|
| 4093 | if test -n "$AWK"; then
|
---|
| 4094 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 4095 | else
|
---|
| 4096 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4097 | for as_dir in $PATH
|
---|
| 4098 | do
|
---|
| 4099 | IFS=$as_save_IFS
|
---|
| 4100 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4101 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4102 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 4103 | ac_cv_prog_AWK="$ac_prog"
|
---|
[23356] | 4104 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 4105 | break 2
|
---|
| 4106 | fi
|
---|
| 4107 | done
|
---|
[23356] | 4108 | done
|
---|
| 4109 | IFS=$as_save_IFS
|
---|
[16568] | 4110 |
|
---|
| 4111 | fi
|
---|
| 4112 | fi
|
---|
| 4113 | AWK=$ac_cv_prog_AWK
|
---|
| 4114 | if test -n "$AWK"; then
|
---|
[23356] | 4115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
| 4116 | $as_echo "$AWK" >&6; }
|
---|
[16568] | 4117 | else
|
---|
[23356] | 4118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4119 | $as_echo "no" >&6; }
|
---|
[16568] | 4120 | fi
|
---|
| 4121 |
|
---|
[23356] | 4122 |
|
---|
[16568] | 4123 | test -n "$AWK" && break
|
---|
| 4124 | done
|
---|
| 4125 |
|
---|
| 4126 | for ac_prog in 'bison -y' byacc
|
---|
| 4127 | do
|
---|
| 4128 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4129 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 4130 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4131 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4132 | if test "${ac_cv_prog_YACC+set}" = set; then :
|
---|
| 4133 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4134 | else
|
---|
| 4135 | if test -n "$YACC"; then
|
---|
| 4136 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 4137 | else
|
---|
| 4138 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4139 | for as_dir in $PATH
|
---|
| 4140 | do
|
---|
| 4141 | IFS=$as_save_IFS
|
---|
| 4142 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4143 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4144 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 4145 | ac_cv_prog_YACC="$ac_prog"
|
---|
[23356] | 4146 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 4147 | break 2
|
---|
| 4148 | fi
|
---|
| 4149 | done
|
---|
[23356] | 4150 | done
|
---|
| 4151 | IFS=$as_save_IFS
|
---|
[16568] | 4152 |
|
---|
| 4153 | fi
|
---|
| 4154 | fi
|
---|
| 4155 | YACC=$ac_cv_prog_YACC
|
---|
| 4156 | if test -n "$YACC"; then
|
---|
[23356] | 4157 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
---|
| 4158 | $as_echo "$YACC" >&6; }
|
---|
[16568] | 4159 | else
|
---|
[23356] | 4160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4161 | $as_echo "no" >&6; }
|
---|
[16568] | 4162 | fi
|
---|
| 4163 |
|
---|
[23356] | 4164 |
|
---|
[16568] | 4165 | test -n "$YACC" && break
|
---|
| 4166 | done
|
---|
| 4167 | test -n "$YACC" || YACC="yacc"
|
---|
| 4168 |
|
---|
| 4169 | ac_aux_dir=
|
---|
[23356] | 4170 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 4171 | if test -f "$ac_dir/install-sh"; then
|
---|
[16568] | 4172 | ac_aux_dir=$ac_dir
|
---|
| 4173 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 4174 | break
|
---|
[23356] | 4175 | elif test -f "$ac_dir/install.sh"; then
|
---|
[16568] | 4176 | ac_aux_dir=$ac_dir
|
---|
| 4177 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 4178 | break
|
---|
[23356] | 4179 | elif test -f "$ac_dir/shtool"; then
|
---|
[16568] | 4180 | ac_aux_dir=$ac_dir
|
---|
| 4181 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 4182 | break
|
---|
| 4183 | fi
|
---|
| 4184 | done
|
---|
| 4185 | if test -z "$ac_aux_dir"; then
|
---|
[23356] | 4186 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
[16568] | 4187 | fi
|
---|
| 4188 |
|
---|
[23356] | 4189 | # These three variables are undocumented and unsupported,
|
---|
| 4190 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 4191 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 4192 | # whose full name contains unusual characters.
|
---|
| 4193 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 4194 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 4195 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 4196 |
|
---|
| 4197 |
|
---|
[16568] | 4198 | # Make sure we can run config.sub.
|
---|
[23356] | 4199 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
| 4200 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
[16568] | 4201 |
|
---|
[23356] | 4202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
| 4203 | $as_echo_n "checking build system type... " >&6; }
|
---|
| 4204 | if test "${ac_cv_build+set}" = set; then :
|
---|
| 4205 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4206 | else
|
---|
[23356] | 4207 | ac_build_alias=$build_alias
|
---|
| 4208 | test "x$ac_build_alias" = x &&
|
---|
| 4209 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 4210 | test "x$ac_build_alias" = x &&
|
---|
| 4211 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
| 4212 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
| 4213 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
[16568] | 4214 |
|
---|
| 4215 | fi
|
---|
[23356] | 4216 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
| 4217 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 4218 | case $ac_cv_build in
|
---|
| 4219 | *-*-*) ;;
|
---|
| 4220 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
|
---|
| 4221 | esac
|
---|
[16568] | 4222 | build=$ac_cv_build
|
---|
[23356] | 4223 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4224 | set x $ac_cv_build
|
---|
| 4225 | shift
|
---|
| 4226 | build_cpu=$1
|
---|
| 4227 | build_vendor=$2
|
---|
| 4228 | shift; shift
|
---|
| 4229 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4230 | # except with old shells:
|
---|
| 4231 | build_os=$*
|
---|
| 4232 | IFS=$ac_save_IFS
|
---|
| 4233 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[16568] | 4234 |
|
---|
| 4235 |
|
---|
[23356] | 4236 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
| 4237 | $as_echo_n "checking host system type... " >&6; }
|
---|
| 4238 | if test "${ac_cv_host+set}" = set; then :
|
---|
| 4239 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4240 | else
|
---|
[23356] | 4241 | if test "x$host_alias" = x; then
|
---|
| 4242 | ac_cv_host=$ac_cv_build
|
---|
| 4243 | else
|
---|
| 4244 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
| 4245 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
| 4246 | fi
|
---|
[16568] | 4247 |
|
---|
| 4248 | fi
|
---|
[23356] | 4249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
| 4250 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 4251 | case $ac_cv_host in
|
---|
| 4252 | *-*-*) ;;
|
---|
| 4253 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
|
---|
| 4254 | esac
|
---|
[16568] | 4255 | host=$ac_cv_host
|
---|
[23356] | 4256 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4257 | set x $ac_cv_host
|
---|
| 4258 | shift
|
---|
| 4259 | host_cpu=$1
|
---|
| 4260 | host_vendor=$2
|
---|
| 4261 | shift; shift
|
---|
| 4262 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4263 | # except with old shells:
|
---|
| 4264 | host_os=$*
|
---|
| 4265 | IFS=$ac_save_IFS
|
---|
| 4266 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[16568] | 4267 |
|
---|
| 4268 |
|
---|
[23356] | 4269 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
---|
| 4270 | $as_echo_n "checking target system type... " >&6; }
|
---|
| 4271 | if test "${ac_cv_target+set}" = set; then :
|
---|
| 4272 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4273 | else
|
---|
[23356] | 4274 | if test "x$target_alias" = x; then
|
---|
| 4275 | ac_cv_target=$ac_cv_host
|
---|
| 4276 | else
|
---|
| 4277 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
| 4278 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
---|
| 4279 | fi
|
---|
[16568] | 4280 |
|
---|
| 4281 | fi
|
---|
[23356] | 4282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
---|
| 4283 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 4284 | case $ac_cv_target in
|
---|
| 4285 | *-*-*) ;;
|
---|
| 4286 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
|
---|
| 4287 | esac
|
---|
[16568] | 4288 | target=$ac_cv_target
|
---|
[23356] | 4289 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4290 | set x $ac_cv_target
|
---|
| 4291 | shift
|
---|
| 4292 | target_cpu=$1
|
---|
| 4293 | target_vendor=$2
|
---|
| 4294 | shift; shift
|
---|
| 4295 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4296 | # except with old shells:
|
---|
| 4297 | target_os=$*
|
---|
| 4298 | IFS=$ac_save_IFS
|
---|
| 4299 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[16568] | 4300 |
|
---|
| 4301 |
|
---|
| 4302 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 4303 | # will get canonicalized.
|
---|
| 4304 | test -n "$target_alias" &&
|
---|
| 4305 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 4306 | NONENONEs,x,x, &&
|
---|
| 4307 | program_prefix=${target_alias}-
|
---|
[23356] | 4308 |
|
---|
[16568] | 4309 | # Find a good install program. We prefer a C program (faster),
|
---|
| 4310 | # so one script is as good as another. But avoid the broken or
|
---|
| 4311 | # incompatible versions:
|
---|
| 4312 | # SysV /etc/install, /usr/sbin/install
|
---|
| 4313 | # SunOS /usr/etc/install
|
---|
| 4314 | # IRIX /sbin/install
|
---|
| 4315 | # AIX /bin/install
|
---|
| 4316 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 4317 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 4318 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 4319 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 4320 | # OS/2's system install, which has a completely different semantic
|
---|
| 4321 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[23356] | 4322 | # Reject install programs that cannot install multiple files.
|
---|
| 4323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
| 4324 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[16568] | 4325 | if test -z "$INSTALL"; then
|
---|
[23356] | 4326 | if test "${ac_cv_path_install+set}" = set; then :
|
---|
| 4327 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4328 | else
|
---|
| 4329 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4330 | for as_dir in $PATH
|
---|
| 4331 | do
|
---|
| 4332 | IFS=$as_save_IFS
|
---|
| 4333 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4334 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 4335 | case $as_dir/ in #((
|
---|
| 4336 | ./ | .// | /[cC]/* | \
|
---|
[16568] | 4337 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[23356] | 4338 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
[16568] | 4339 | /usr/ucb/* ) ;;
|
---|
| 4340 | *)
|
---|
| 4341 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 4342 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 4343 | # by default.
|
---|
| 4344 | for ac_prog in ginstall scoinst install; do
|
---|
| 4345 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 4346 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[16568] | 4347 | if test $ac_prog = install &&
|
---|
| 4348 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4349 | # AIX install. It has an incompatible calling convention.
|
---|
| 4350 | :
|
---|
| 4351 | elif test $ac_prog = install &&
|
---|
| 4352 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4353 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 4354 | :
|
---|
| 4355 | else
|
---|
[23356] | 4356 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 4357 | echo one > conftest.one
|
---|
| 4358 | echo two > conftest.two
|
---|
| 4359 | mkdir conftest.dir
|
---|
| 4360 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 4361 | test -s conftest.one && test -s conftest.two &&
|
---|
| 4362 | test -s conftest.dir/conftest.one &&
|
---|
| 4363 | test -s conftest.dir/conftest.two
|
---|
| 4364 | then
|
---|
| 4365 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 4366 | break 3
|
---|
| 4367 | fi
|
---|
[16568] | 4368 | fi
|
---|
| 4369 | fi
|
---|
| 4370 | done
|
---|
| 4371 | done
|
---|
| 4372 | ;;
|
---|
| 4373 | esac
|
---|
| 4374 |
|
---|
[23356] | 4375 | done
|
---|
| 4376 | IFS=$as_save_IFS
|
---|
[16568] | 4377 |
|
---|
[23356] | 4378 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 4379 |
|
---|
[16568] | 4380 | fi
|
---|
| 4381 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 4382 | INSTALL=$ac_cv_path_install
|
---|
| 4383 | else
|
---|
[23356] | 4384 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 4385 | # value for INSTALL within a source directory, because that will
|
---|
[16568] | 4386 | # break other packages using the cache if that directory is
|
---|
[23356] | 4387 | # removed, or if the value is a relative name.
|
---|
[16568] | 4388 | INSTALL=$ac_install_sh
|
---|
| 4389 | fi
|
---|
| 4390 | fi
|
---|
[23356] | 4391 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
| 4392 | $as_echo "$INSTALL" >&6; }
|
---|
[16568] | 4393 |
|
---|
| 4394 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 4395 | # It thinks the first close brace ends the variable substitution.
|
---|
| 4396 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 4397 |
|
---|
| 4398 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 4399 |
|
---|
| 4400 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 4401 |
|
---|
[23356] | 4402 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
---|
| 4403 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[16568] | 4404 | LN_S=$as_ln_s
|
---|
| 4405 | if test "$LN_S" = "ln -s"; then
|
---|
[23356] | 4406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4407 | $as_echo "yes" >&6; }
|
---|
[16568] | 4408 | else
|
---|
[23356] | 4409 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
---|
| 4410 | $as_echo "no, using $LN_S" >&6; }
|
---|
[16568] | 4411 | fi
|
---|
| 4412 |
|
---|
[23356] | 4413 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 4414 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 4415 | set x ${MAKE-make}
|
---|
| 4416 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
| 4417 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
|
---|
| 4418 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4419 | else
|
---|
| 4420 | cat >conftest.make <<\_ACEOF
|
---|
[23356] | 4421 | SHELL = /bin/sh
|
---|
[16568] | 4422 | all:
|
---|
[23356] | 4423 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[16568] | 4424 | _ACEOF
|
---|
[23356] | 4425 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
| 4426 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 4427 | *@@@%%%=?*=@@@%%%*)
|
---|
| 4428 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 4429 | *)
|
---|
| 4430 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 4431 | esac
|
---|
[16568] | 4432 | rm -f conftest.make
|
---|
| 4433 | fi
|
---|
[23356] | 4434 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
| 4435 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4436 | $as_echo "yes" >&6; }
|
---|
[16568] | 4437 | SET_MAKE=
|
---|
| 4438 | else
|
---|
[23356] | 4439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4440 | $as_echo "no" >&6; }
|
---|
[16568] | 4441 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 4442 | fi
|
---|
| 4443 |
|
---|
| 4444 | if test -n "$ac_tool_prefix"; then
|
---|
| 4445 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 4446 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[23356] | 4447 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4448 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4449 | if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
---|
| 4450 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4451 | else
|
---|
| 4452 | if test -n "$RANLIB"; then
|
---|
| 4453 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 4454 | else
|
---|
| 4455 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4456 | for as_dir in $PATH
|
---|
| 4457 | do
|
---|
| 4458 | IFS=$as_save_IFS
|
---|
| 4459 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4460 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4461 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 4462 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[23356] | 4463 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 4464 | break 2
|
---|
| 4465 | fi
|
---|
| 4466 | done
|
---|
[23356] | 4467 | done
|
---|
| 4468 | IFS=$as_save_IFS
|
---|
[16568] | 4469 |
|
---|
| 4470 | fi
|
---|
| 4471 | fi
|
---|
| 4472 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 4473 | if test -n "$RANLIB"; then
|
---|
[23356] | 4474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
---|
| 4475 | $as_echo "$RANLIB" >&6; }
|
---|
[16568] | 4476 | else
|
---|
[23356] | 4477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4478 | $as_echo "no" >&6; }
|
---|
[16568] | 4479 | fi
|
---|
| 4480 |
|
---|
[23356] | 4481 |
|
---|
[16568] | 4482 | fi
|
---|
| 4483 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 4484 | ac_ct_RANLIB=$RANLIB
|
---|
| 4485 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 4486 | set dummy ranlib; ac_word=$2
|
---|
[23356] | 4487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4488 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4489 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
---|
| 4490 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4491 | else
|
---|
| 4492 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 4493 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 4494 | else
|
---|
| 4495 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4496 | for as_dir in $PATH
|
---|
| 4497 | do
|
---|
| 4498 | IFS=$as_save_IFS
|
---|
| 4499 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4500 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4501 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 4502 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[23356] | 4503 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16568] | 4504 | break 2
|
---|
| 4505 | fi
|
---|
| 4506 | done
|
---|
[23356] | 4507 | done
|
---|
| 4508 | IFS=$as_save_IFS
|
---|
[16568] | 4509 |
|
---|
| 4510 | fi
|
---|
| 4511 | fi
|
---|
| 4512 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 4513 | if test -n "$ac_ct_RANLIB"; then
|
---|
[23356] | 4514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
---|
| 4515 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
[16568] | 4516 | else
|
---|
[23356] | 4517 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4518 | $as_echo "no" >&6; }
|
---|
[16568] | 4519 | fi
|
---|
| 4520 |
|
---|
[23356] | 4521 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 4522 | RANLIB=":"
|
---|
| 4523 | else
|
---|
| 4524 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4525 | yes:)
|
---|
| 4526 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 4527 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4528 | ac_tool_warned=yes ;;
|
---|
| 4529 | esac
|
---|
| 4530 | RANLIB=$ac_ct_RANLIB
|
---|
| 4531 | fi
|
---|
[16568] | 4532 | else
|
---|
| 4533 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 4534 | fi
|
---|
| 4535 |
|
---|
| 4536 |
|
---|
[23356] | 4537 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
|
---|
| 4538 | $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
|
---|
[16568] | 4539 | arch_64bit=no
|
---|
| 4540 | case "$host_cpu" in
|
---|
| 4541 | x86_64) arch_64bit=yes ;;
|
---|
| 4542 | esac
|
---|
| 4543 |
|
---|
| 4544 | if test "$arch_64bit" = yes; then
|
---|
[23356] | 4545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4546 | $as_echo "yes" >&6; }
|
---|
[16568] | 4547 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 4548 | COMPAT32BITFLAGS="-m32"
|
---|
| 4549 | fi
|
---|
| 4550 | else
|
---|
[23356] | 4551 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4552 | $as_echo "no" >&6; }
|
---|
[16568] | 4553 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 4554 | COMPAT32BITFLAGS=
|
---|
| 4555 | fi
|
---|
| 4556 | fi
|
---|
[21432] | 4557 |
|
---|
| 4558 | # Only need compat32bitflag if using MG or MGPP
|
---|
| 4559 | if test "$ENABLE_MG" = "0" ; then
|
---|
| 4560 | COMPAT32BITFLAGS=
|
---|
| 4561 | else
|
---|
| 4562 | if test "$ENABLE_MGPP" = "0" ; then
|
---|
| 4563 | COMPAT32BITFLAGS=
|
---|
| 4564 | fi
|
---|
| 4565 | fi
|
---|
| 4566 |
|
---|
[16568] | 4567 | export COMPAT32BITFLAGS
|
---|
| 4568 |
|
---|
| 4569 |
|
---|
| 4570 |
|
---|
| 4571 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 4572 | if test $USE_CORBA = 1; then
|
---|
| 4573 |
|
---|
| 4574 | if test $MICO_DIR = "default"; then
|
---|
| 4575 | #do something
|
---|
| 4576 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 4577 | else
|
---|
| 4578 | #build the micotest program
|
---|
| 4579 | MICO_INC= ""
|
---|
| 4580 | if test $MICO_DIR != yes; then
|
---|
| 4581 | MICO_INC="-I $MICO_DIR"
|
---|
| 4582 | fi
|
---|
| 4583 | fi
|
---|
| 4584 |
|
---|
| 4585 | #get MICO_VER value
|
---|
| 4586 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 4587 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
| 4588 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
| 4589 | sh -c "rm micotest"
|
---|
| 4590 | sh -c "rm micotest.o"
|
---|
| 4591 |
|
---|
| 4592 | #do test of MICO_VER
|
---|
| 4593 | if test MICO_VER != 0; then
|
---|
[23356] | 4594 | $as_echo "#define MICO_VER 1" >>confdefs.h
|
---|
[16568] | 4595 |
|
---|
| 4596 |
|
---|
| 4597 | fi
|
---|
| 4598 | #end USE_CORBA test
|
---|
| 4599 | fi
|
---|
| 4600 |
|
---|
| 4601 |
|
---|
| 4602 | ac_ext=c
|
---|
| 4603 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4604 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4605 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4606 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[23356] | 4607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
| 4608 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[16568] | 4609 | # On Suns, sometimes $CPP names a directory.
|
---|
| 4610 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 4611 | CPP=
|
---|
| 4612 | fi
|
---|
| 4613 | if test -z "$CPP"; then
|
---|
[23356] | 4614 | if test "${ac_cv_prog_CPP+set}" = set; then :
|
---|
| 4615 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4616 | else
|
---|
| 4617 | # Double quotes because CPP needs to be expanded
|
---|
| 4618 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 4619 | do
|
---|
| 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.
|
---|
[23356] | 4629 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4630 | /* end confdefs.h. */
|
---|
| 4631 | #ifdef __STDC__
|
---|
| 4632 | # include <limits.h>
|
---|
| 4633 | #else
|
---|
| 4634 | # include <assert.h>
|
---|
| 4635 | #endif
|
---|
| 4636 | Syntax error
|
---|
| 4637 | _ACEOF
|
---|
[23356] | 4638 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4639 |
|
---|
[20854] | 4640 | else
|
---|
[16568] | 4641 | # Broken: fails on valid input.
|
---|
| 4642 | continue
|
---|
| 4643 | fi
|
---|
[23356] | 4644 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16568] | 4645 |
|
---|
[23356] | 4646 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16568] | 4647 | # can be detected and how.
|
---|
[23356] | 4648 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4649 | /* end confdefs.h. */
|
---|
| 4650 | #include <ac_nonexistent.h>
|
---|
| 4651 | _ACEOF
|
---|
[23356] | 4652 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16568] | 4653 | # Broken: success on invalid input.
|
---|
| 4654 | continue
|
---|
| 4655 | else
|
---|
| 4656 | # Passes both tests.
|
---|
| 4657 | ac_preproc_ok=:
|
---|
| 4658 | break
|
---|
| 4659 | fi
|
---|
[23356] | 4660 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16568] | 4661 |
|
---|
| 4662 | done
|
---|
| 4663 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[23356] | 4664 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4665 | if $ac_preproc_ok; then :
|
---|
[16568] | 4666 | break
|
---|
| 4667 | fi
|
---|
| 4668 |
|
---|
| 4669 | done
|
---|
| 4670 | ac_cv_prog_CPP=$CPP
|
---|
| 4671 |
|
---|
| 4672 | fi
|
---|
| 4673 | CPP=$ac_cv_prog_CPP
|
---|
| 4674 | else
|
---|
| 4675 | ac_cv_prog_CPP=$CPP
|
---|
| 4676 | fi
|
---|
[23356] | 4677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
| 4678 | $as_echo "$CPP" >&6; }
|
---|
[16568] | 4679 | ac_preproc_ok=false
|
---|
| 4680 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4681 | do
|
---|
| 4682 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4683 | # with a fresh cross-compiler works.
|
---|
| 4684 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4685 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4686 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4687 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[23356] | 4688 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4689 | /* end confdefs.h. */
|
---|
| 4690 | #ifdef __STDC__
|
---|
| 4691 | # include <limits.h>
|
---|
| 4692 | #else
|
---|
| 4693 | # include <assert.h>
|
---|
| 4694 | #endif
|
---|
| 4695 | Syntax error
|
---|
| 4696 | _ACEOF
|
---|
[23356] | 4697 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4698 |
|
---|
[20854] | 4699 | else
|
---|
[16568] | 4700 | # Broken: fails on valid input.
|
---|
| 4701 | continue
|
---|
| 4702 | fi
|
---|
[23356] | 4703 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16568] | 4704 |
|
---|
[23356] | 4705 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16568] | 4706 | # can be detected and how.
|
---|
[23356] | 4707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4708 | /* end confdefs.h. */
|
---|
| 4709 | #include <ac_nonexistent.h>
|
---|
| 4710 | _ACEOF
|
---|
[23356] | 4711 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16568] | 4712 | # Broken: success on invalid input.
|
---|
| 4713 | continue
|
---|
| 4714 | else
|
---|
| 4715 | # Passes both tests.
|
---|
| 4716 | ac_preproc_ok=:
|
---|
| 4717 | break
|
---|
| 4718 | fi
|
---|
[23356] | 4719 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16568] | 4720 |
|
---|
| 4721 | done
|
---|
| 4722 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[23356] | 4723 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4724 | if $ac_preproc_ok; then :
|
---|
| 4725 |
|
---|
[16568] | 4726 | else
|
---|
[23356] | 4727 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 4728 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 4729 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
| 4730 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16568] | 4731 | fi
|
---|
| 4732 |
|
---|
| 4733 | ac_ext=c
|
---|
| 4734 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4735 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4736 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4737 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4738 |
|
---|
| 4739 |
|
---|
[23356] | 4740 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
| 4741 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
| 4742 | if test "${ac_cv_path_GREP+set}" = set; then :
|
---|
| 4743 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4744 | else
|
---|
[23356] | 4745 | if test -z "$GREP"; then
|
---|
| 4746 | ac_path_GREP_found=false
|
---|
| 4747 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4748 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4749 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4750 | do
|
---|
| 4751 | IFS=$as_save_IFS
|
---|
| 4752 | test -z "$as_dir" && as_dir=.
|
---|
| 4753 | for ac_prog in grep ggrep; do
|
---|
| 4754 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4755 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4756 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4757 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 4758 | # Check for GNU $ac_path_GREP
|
---|
| 4759 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4760 | *GNU*)
|
---|
| 4761 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4762 | *)
|
---|
| 4763 | ac_count=0
|
---|
| 4764 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4765 | while :
|
---|
| 4766 | do
|
---|
| 4767 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4768 | mv "conftest.tmp" "conftest.in"
|
---|
| 4769 | cp "conftest.in" "conftest.nl"
|
---|
| 4770 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 4771 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4772 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4773 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 4774 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4775 | # Best one so far, save it but keep looking for a better one
|
---|
| 4776 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4777 | ac_path_GREP_max=$ac_count
|
---|
[16568] | 4778 | fi
|
---|
[23356] | 4779 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4780 | test $ac_count -gt 10 && break
|
---|
| 4781 | done
|
---|
| 4782 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4783 | esac
|
---|
[16568] | 4784 |
|
---|
[23356] | 4785 | $ac_path_GREP_found && break 3
|
---|
| 4786 | done
|
---|
| 4787 | done
|
---|
| 4788 | done
|
---|
| 4789 | IFS=$as_save_IFS
|
---|
| 4790 | if test -z "$ac_cv_path_GREP"; then
|
---|
| 4791 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 4792 | fi
|
---|
[16568] | 4793 | else
|
---|
[23356] | 4794 | ac_cv_path_GREP=$GREP
|
---|
[16568] | 4795 | fi
|
---|
| 4796 |
|
---|
[23356] | 4797 | fi
|
---|
| 4798 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
| 4799 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 4800 | GREP="$ac_cv_path_GREP"
|
---|
[16568] | 4801 |
|
---|
| 4802 |
|
---|
[23356] | 4803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
| 4804 | $as_echo_n "checking for egrep... " >&6; }
|
---|
| 4805 | if test "${ac_cv_path_EGREP+set}" = set; then :
|
---|
| 4806 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4807 | else
|
---|
[23356] | 4808 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4809 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4810 | else
|
---|
| 4811 | if test -z "$EGREP"; then
|
---|
| 4812 | ac_path_EGREP_found=false
|
---|
| 4813 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4814 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4815 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4816 | do
|
---|
| 4817 | IFS=$as_save_IFS
|
---|
| 4818 | test -z "$as_dir" && as_dir=.
|
---|
| 4819 | for ac_prog in egrep; do
|
---|
| 4820 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4821 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4822 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4823 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4824 | # Check for GNU $ac_path_EGREP
|
---|
| 4825 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4826 | *GNU*)
|
---|
| 4827 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4828 | *)
|
---|
| 4829 | ac_count=0
|
---|
| 4830 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4831 | while :
|
---|
| 4832 | do
|
---|
| 4833 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4834 | mv "conftest.tmp" "conftest.in"
|
---|
| 4835 | cp "conftest.in" "conftest.nl"
|
---|
| 4836 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 4837 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4838 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4839 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 4840 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4841 | # Best one so far, save it but keep looking for a better one
|
---|
| 4842 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4843 | ac_path_EGREP_max=$ac_count
|
---|
| 4844 | fi
|
---|
| 4845 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4846 | test $ac_count -gt 10 && break
|
---|
| 4847 | done
|
---|
| 4848 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4849 | esac
|
---|
[16568] | 4850 |
|
---|
[23356] | 4851 | $ac_path_EGREP_found && break 3
|
---|
| 4852 | done
|
---|
| 4853 | done
|
---|
| 4854 | done
|
---|
| 4855 | IFS=$as_save_IFS
|
---|
| 4856 | if test -z "$ac_cv_path_EGREP"; then
|
---|
| 4857 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 4858 | fi
|
---|
[16568] | 4859 | else
|
---|
[23356] | 4860 | ac_cv_path_EGREP=$EGREP
|
---|
[16568] | 4861 | fi
|
---|
| 4862 |
|
---|
[23356] | 4863 | fi
|
---|
[16568] | 4864 | fi
|
---|
[23356] | 4865 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
| 4866 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 4867 | EGREP="$ac_cv_path_EGREP"
|
---|
[16568] | 4868 |
|
---|
[23356] | 4869 |
|
---|
| 4870 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 4871 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 4872 | if test "${ac_cv_header_stdc+set}" = set; then :
|
---|
| 4873 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 4874 | else
|
---|
[23356] | 4875 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4876 | /* end confdefs.h. */
|
---|
| 4877 | #include <stdlib.h>
|
---|
| 4878 | #include <stdarg.h>
|
---|
| 4879 | #include <string.h>
|
---|
| 4880 | #include <float.h>
|
---|
| 4881 |
|
---|
| 4882 | int
|
---|
| 4883 | main ()
|
---|
| 4884 | {
|
---|
| 4885 |
|
---|
| 4886 | ;
|
---|
| 4887 | return 0;
|
---|
| 4888 | }
|
---|
| 4889 | _ACEOF
|
---|
[23356] | 4890 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 4891 | ac_cv_header_stdc=yes
|
---|
| 4892 | else
|
---|
[23356] | 4893 | ac_cv_header_stdc=no
|
---|
[16568] | 4894 | fi
|
---|
[23356] | 4895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4896 |
|
---|
| 4897 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4898 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[23356] | 4899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4900 | /* end confdefs.h. */
|
---|
| 4901 | #include <string.h>
|
---|
| 4902 |
|
---|
| 4903 | _ACEOF
|
---|
| 4904 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 4905 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 4906 |
|
---|
[16568] | 4907 | else
|
---|
| 4908 | ac_cv_header_stdc=no
|
---|
| 4909 | fi
|
---|
| 4910 | rm -f conftest*
|
---|
| 4911 |
|
---|
| 4912 | fi
|
---|
| 4913 |
|
---|
| 4914 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4915 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[23356] | 4916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4917 | /* end confdefs.h. */
|
---|
| 4918 | #include <stdlib.h>
|
---|
| 4919 |
|
---|
| 4920 | _ACEOF
|
---|
| 4921 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 4922 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 4923 |
|
---|
[16568] | 4924 | else
|
---|
| 4925 | ac_cv_header_stdc=no
|
---|
| 4926 | fi
|
---|
| 4927 | rm -f conftest*
|
---|
| 4928 |
|
---|
| 4929 | fi
|
---|
| 4930 |
|
---|
| 4931 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4932 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[23356] | 4933 | if test "$cross_compiling" = yes; then :
|
---|
[16568] | 4934 | :
|
---|
| 4935 | else
|
---|
[23356] | 4936 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 4937 | /* end confdefs.h. */
|
---|
| 4938 | #include <ctype.h>
|
---|
[23356] | 4939 | #include <stdlib.h>
|
---|
[16568] | 4940 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4941 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4942 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4943 | #else
|
---|
| 4944 | # define ISLOWER(c) \
|
---|
| 4945 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4946 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4947 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4948 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4949 | #endif
|
---|
| 4950 |
|
---|
| 4951 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4952 | int
|
---|
| 4953 | main ()
|
---|
| 4954 | {
|
---|
| 4955 | int i;
|
---|
| 4956 | for (i = 0; i < 256; i++)
|
---|
| 4957 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4958 | || toupper (i) != TOUPPER (i))
|
---|
[23356] | 4959 | return 2;
|
---|
| 4960 | return 0;
|
---|
[16568] | 4961 | }
|
---|
| 4962 | _ACEOF
|
---|
[23356] | 4963 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 4964 |
|
---|
[16568] | 4965 | else
|
---|
[23356] | 4966 | ac_cv_header_stdc=no
|
---|
[16568] | 4967 | fi
|
---|
[23356] | 4968 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 4969 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16568] | 4970 | fi
|
---|
[23356] | 4971 |
|
---|
[16568] | 4972 | fi
|
---|
| 4973 | fi
|
---|
[23356] | 4974 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 4975 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16568] | 4976 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4977 |
|
---|
[23356] | 4978 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16568] | 4979 |
|
---|
| 4980 | fi
|
---|
| 4981 |
|
---|
| 4982 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
[23356] | 4983 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4984 | inttypes.h stdint.h unistd.h
|
---|
| 4985 | do :
|
---|
| 4986 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4987 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 4988 | "
|
---|
| 4989 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
| 4990 | cat >>confdefs.h <<_ACEOF
|
---|
| 4991 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 4992 | _ACEOF
|
---|
[16568] | 4993 |
|
---|
[23356] | 4994 | fi
|
---|
[16568] | 4995 |
|
---|
[23356] | 4996 | done
|
---|
[16568] | 4997 |
|
---|
| 4998 |
|
---|
| 4999 |
|
---|
[23356] | 5000 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
---|
| 5001 | if test "x$ac_cv_header_minix_config_h" = x""yes; then :
|
---|
| 5002 | MINIX=yes
|
---|
| 5003 | else
|
---|
| 5004 | MINIX=
|
---|
| 5005 | fi
|
---|
[16568] | 5006 |
|
---|
| 5007 |
|
---|
[23356] | 5008 | if test "$MINIX" = yes; then
|
---|
[16568] | 5009 |
|
---|
[23356] | 5010 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
---|
[16568] | 5011 |
|
---|
[23356] | 5012 |
|
---|
| 5013 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
---|
| 5014 |
|
---|
| 5015 |
|
---|
| 5016 | $as_echo "#define _MINIX 1" >>confdefs.h
|
---|
| 5017 |
|
---|
| 5018 | fi
|
---|
| 5019 |
|
---|
| 5020 |
|
---|
| 5021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
| 5022 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
| 5023 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
|
---|
| 5024 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5025 | else
|
---|
[23356] | 5026 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5027 | /* end confdefs.h. */
|
---|
| 5028 |
|
---|
[23356] | 5029 | # define __EXTENSIONS__ 1
|
---|
| 5030 | $ac_includes_default
|
---|
| 5031 | int
|
---|
| 5032 | main ()
|
---|
| 5033 | {
|
---|
| 5034 |
|
---|
| 5035 | ;
|
---|
| 5036 | return 0;
|
---|
| 5037 | }
|
---|
[16568] | 5038 | _ACEOF
|
---|
[23356] | 5039 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5040 | ac_cv_safe_to_define___extensions__=yes
|
---|
[16568] | 5041 | else
|
---|
[23356] | 5042 | ac_cv_safe_to_define___extensions__=no
|
---|
[16568] | 5043 | fi
|
---|
[23356] | 5044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5045 | fi
|
---|
[23356] | 5046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
| 5047 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 5048 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
| 5049 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
---|
[16568] | 5050 |
|
---|
[23356] | 5051 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
---|
[16568] | 5052 |
|
---|
[23356] | 5053 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
---|
[16568] | 5054 |
|
---|
[23356] | 5055 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
---|
[16568] | 5056 |
|
---|
[23356] | 5057 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
---|
| 5058 |
|
---|
| 5059 |
|
---|
| 5060 |
|
---|
| 5061 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
|
---|
| 5062 | $as_echo_n "checking for library containing strerror... " >&6; }
|
---|
| 5063 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
| 5064 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5065 | else
|
---|
[23356] | 5066 | ac_func_search_save_LIBS=$LIBS
|
---|
| 5067 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5068 | /* end confdefs.h. */
|
---|
| 5069 |
|
---|
[23356] | 5070 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5071 | Use char because int might match the return type of a GCC
|
---|
| 5072 | builtin and then its argument prototype would still apply. */
|
---|
| 5073 | #ifdef __cplusplus
|
---|
| 5074 | extern "C"
|
---|
| 5075 | #endif
|
---|
| 5076 | char strerror ();
|
---|
| 5077 | int
|
---|
| 5078 | main ()
|
---|
| 5079 | {
|
---|
| 5080 | return strerror ();
|
---|
| 5081 | ;
|
---|
| 5082 | return 0;
|
---|
| 5083 | }
|
---|
[16568] | 5084 | _ACEOF
|
---|
[23356] | 5085 | for ac_lib in '' cposix; do
|
---|
| 5086 | if test -z "$ac_lib"; then
|
---|
| 5087 | ac_res="none required"
|
---|
[20854] | 5088 | else
|
---|
[23356] | 5089 | ac_res=-l$ac_lib
|
---|
| 5090 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
[20854] | 5091 | fi
|
---|
[23356] | 5092 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5093 | ac_cv_search_strerror=$ac_res
|
---|
[20854] | 5094 | fi
|
---|
[23356] | 5095 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5096 | conftest$ac_exeext
|
---|
| 5097 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
| 5098 | break
|
---|
[16568] | 5099 | fi
|
---|
[23356] | 5100 | done
|
---|
| 5101 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
[16568] | 5102 |
|
---|
| 5103 | else
|
---|
[23356] | 5104 | ac_cv_search_strerror=no
|
---|
[16568] | 5105 | fi
|
---|
[23356] | 5106 | rm conftest.$ac_ext
|
---|
| 5107 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5108 | fi
|
---|
| 5109 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
|
---|
| 5110 | $as_echo "$ac_cv_search_strerror" >&6; }
|
---|
| 5111 | ac_res=$ac_cv_search_strerror
|
---|
| 5112 | if test "$ac_res" != no; then :
|
---|
| 5113 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16568] | 5114 |
|
---|
| 5115 | fi
|
---|
| 5116 |
|
---|
| 5117 |
|
---|
[23356] | 5118 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
| 5119 | $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
|
---|
| 5120 | if test "${ac_cv_prog_cc_stdc+set}" = set; then :
|
---|
| 5121 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5122 | else
|
---|
| 5123 | ac_cv_prog_cc_stdc=no
|
---|
| 5124 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 5125 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 5126 | # breaks some systems' header files.
|
---|
| 5127 | # AIX -qlanglvl=ansi
|
---|
| 5128 | # Ultrix and OSF/1 -std1
|
---|
| 5129 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 5130 | # SVR4 -Xc
|
---|
| 5131 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 5132 | do
|
---|
| 5133 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[23356] | 5134 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5135 | /* end confdefs.h. */
|
---|
| 5136 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 5137 | choke me
|
---|
| 5138 | #endif
|
---|
| 5139 |
|
---|
| 5140 | int
|
---|
| 5141 | main ()
|
---|
| 5142 | {
|
---|
| 5143 | int test (int i, double x);
|
---|
| 5144 | struct s1 {int (*f) (int a);};
|
---|
| 5145 | struct s2 {int (*f) (double a);};
|
---|
| 5146 | ;
|
---|
| 5147 | return 0;
|
---|
| 5148 | }
|
---|
| 5149 | _ACEOF
|
---|
[23356] | 5150 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 5151 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 5152 | fi
|
---|
[23356] | 5153 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5154 | done
|
---|
| 5155 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 5156 |
|
---|
| 5157 | fi
|
---|
| 5158 |
|
---|
[23356] | 5159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 5160 | $as_echo "$ac_cv_prog_cc_stdc" >&6; }
|
---|
[16568] | 5161 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 5162 | x|xno) ;;
|
---|
| 5163 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 5164 | esac
|
---|
| 5165 |
|
---|
| 5166 |
|
---|
[23356] | 5167 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
---|
| 5168 | $as_echo_n "checking for function prototypes... " >&6; }
|
---|
[16568] | 5169 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[23356] | 5170 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 5171 | $as_echo "yes" >&6; }
|
---|
| 5172 | $as_echo "#define PROTOTYPES 1" >>confdefs.h
|
---|
[16568] | 5173 |
|
---|
| 5174 | U= ANSI2KNR=
|
---|
| 5175 | else
|
---|
[23356] | 5176 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5177 | $as_echo "no" >&6; }
|
---|
[16568] | 5178 | U=_ ANSI2KNR=ansi2knr
|
---|
| 5179 | fi
|
---|
| 5180 |
|
---|
[23356] | 5181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
---|
| 5182 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
| 5183 | if test "${ac_cv_c_const+set}" = set; then :
|
---|
| 5184 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5185 | else
|
---|
[23356] | 5186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5187 | /* end confdefs.h. */
|
---|
| 5188 |
|
---|
| 5189 | int
|
---|
| 5190 | main ()
|
---|
| 5191 | {
|
---|
| 5192 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 5193 | #ifndef __cplusplus
|
---|
| 5194 | /* Ultrix mips cc rejects this. */
|
---|
| 5195 | typedef int charset[2];
|
---|
[23356] | 5196 | const charset cs;
|
---|
[16568] | 5197 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[23356] | 5198 | char const *const *pcpcc;
|
---|
| 5199 | char **ppc;
|
---|
[16568] | 5200 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 5201 | struct point {int x, y;};
|
---|
| 5202 | static struct point const zero = {0,0};
|
---|
| 5203 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 5204 | It does not let you subtract one const X* pointer from another in
|
---|
| 5205 | an arm of an if-expression whose if-part is not a constant
|
---|
| 5206 | expression */
|
---|
| 5207 | const char *g = "string";
|
---|
[23356] | 5208 | pcpcc = &g + (g ? g-g : 0);
|
---|
[16568] | 5209 | /* HPUX 7.0 cc rejects these. */
|
---|
[23356] | 5210 | ++pcpcc;
|
---|
| 5211 | ppc = (char**) pcpcc;
|
---|
| 5212 | pcpcc = (char const *const *) ppc;
|
---|
[16568] | 5213 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 5214 | char *t;
|
---|
| 5215 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 5216 |
|
---|
| 5217 | *t++ = 0;
|
---|
[23356] | 5218 | if (s) return 0;
|
---|
[16568] | 5219 | }
|
---|
| 5220 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 5221 | int x[] = {25, 17};
|
---|
| 5222 | const int *foo = &x[0];
|
---|
| 5223 | ++foo;
|
---|
| 5224 | }
|
---|
| 5225 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 5226 | typedef const int *iptr;
|
---|
| 5227 | iptr p = 0;
|
---|
| 5228 | ++p;
|
---|
| 5229 | }
|
---|
| 5230 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 5231 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 5232 | struct s { int j; const int *ap[3]; };
|
---|
| 5233 | struct s *b; b->j = 5;
|
---|
| 5234 | }
|
---|
| 5235 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 5236 | const int foo = 10;
|
---|
[23356] | 5237 | if (!foo) return 0;
|
---|
[16568] | 5238 | }
|
---|
[23356] | 5239 | return !cs[0] && !zero.x;
|
---|
[16568] | 5240 | #endif
|
---|
| 5241 |
|
---|
| 5242 | ;
|
---|
| 5243 | return 0;
|
---|
| 5244 | }
|
---|
| 5245 | _ACEOF
|
---|
[23356] | 5246 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 5247 | ac_cv_c_const=yes
|
---|
| 5248 | else
|
---|
[23356] | 5249 | ac_cv_c_const=no
|
---|
[16568] | 5250 | fi
|
---|
[23356] | 5251 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5252 | fi
|
---|
[23356] | 5253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
---|
| 5254 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
[16568] | 5255 | if test $ac_cv_c_const = no; then
|
---|
| 5256 |
|
---|
[23356] | 5257 | $as_echo "#define const /**/" >>confdefs.h
|
---|
[16568] | 5258 |
|
---|
| 5259 | fi
|
---|
| 5260 |
|
---|
[23356] | 5261 | ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
---|
| 5262 | if test "x$ac_cv_type_off_t" = x""yes; then :
|
---|
[16568] | 5263 |
|
---|
| 5264 | else
|
---|
| 5265 |
|
---|
| 5266 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5267 | #define off_t long int
|
---|
[16568] | 5268 | _ACEOF
|
---|
| 5269 |
|
---|
| 5270 | fi
|
---|
| 5271 |
|
---|
[23356] | 5272 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 5273 | if test "x$ac_cv_type_size_t" = x""yes; then :
|
---|
[16568] | 5274 |
|
---|
| 5275 | else
|
---|
| 5276 |
|
---|
| 5277 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5278 | #define size_t unsigned int
|
---|
[16568] | 5279 | _ACEOF
|
---|
| 5280 |
|
---|
| 5281 | fi
|
---|
| 5282 |
|
---|
[23356] | 5283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 5284 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
---|
| 5285 | if test "${ac_cv_header_time+set}" = set; then :
|
---|
| 5286 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5287 | else
|
---|
[23356] | 5288 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5289 | /* end confdefs.h. */
|
---|
| 5290 | #include <sys/types.h>
|
---|
| 5291 | #include <sys/time.h>
|
---|
| 5292 | #include <time.h>
|
---|
| 5293 |
|
---|
| 5294 | int
|
---|
| 5295 | main ()
|
---|
| 5296 | {
|
---|
| 5297 | if ((struct tm *) 0)
|
---|
| 5298 | return 0;
|
---|
| 5299 | ;
|
---|
| 5300 | return 0;
|
---|
| 5301 | }
|
---|
| 5302 | _ACEOF
|
---|
[23356] | 5303 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 5304 | ac_cv_header_time=yes
|
---|
| 5305 | else
|
---|
[23356] | 5306 | ac_cv_header_time=no
|
---|
[16568] | 5307 | fi
|
---|
[23356] | 5308 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5309 | fi
|
---|
[23356] | 5310 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
---|
| 5311 | $as_echo "$ac_cv_header_time" >&6; }
|
---|
[16568] | 5312 | if test $ac_cv_header_time = yes; then
|
---|
| 5313 |
|
---|
[23356] | 5314 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
---|
[16568] | 5315 |
|
---|
| 5316 | fi
|
---|
| 5317 |
|
---|
[23356] | 5318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 5319 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
---|
| 5320 | if test "${ac_cv_struct_tm+set}" = set; then :
|
---|
| 5321 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5322 | else
|
---|
[23356] | 5323 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5324 | /* end confdefs.h. */
|
---|
| 5325 | #include <sys/types.h>
|
---|
| 5326 | #include <time.h>
|
---|
| 5327 |
|
---|
| 5328 | int
|
---|
| 5329 | main ()
|
---|
| 5330 | {
|
---|
[23356] | 5331 | struct tm tm;
|
---|
| 5332 | int *p = &tm.tm_sec;
|
---|
| 5333 | return !p;
|
---|
[16568] | 5334 | ;
|
---|
| 5335 | return 0;
|
---|
| 5336 | }
|
---|
| 5337 | _ACEOF
|
---|
[23356] | 5338 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 5339 | ac_cv_struct_tm=time.h
|
---|
| 5340 | else
|
---|
[23356] | 5341 | ac_cv_struct_tm=sys/time.h
|
---|
[16568] | 5342 | fi
|
---|
[23356] | 5343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5344 | fi
|
---|
[23356] | 5345 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
---|
| 5346 | $as_echo "$ac_cv_struct_tm" >&6; }
|
---|
[16568] | 5347 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5348 |
|
---|
[23356] | 5349 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
---|
[16568] | 5350 |
|
---|
| 5351 | fi
|
---|
| 5352 |
|
---|
| 5353 |
|
---|
| 5354 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[23356] | 5355 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5356 | /* end confdefs.h. */
|
---|
| 5357 | #include <stdio.h>
|
---|
| 5358 |
|
---|
| 5359 | int
|
---|
| 5360 | main ()
|
---|
| 5361 | {
|
---|
| 5362 | FILE *rubbish = popen("yes", "r");
|
---|
| 5363 | ;
|
---|
| 5364 | return 0;
|
---|
| 5365 | }
|
---|
| 5366 | _ACEOF
|
---|
[23356] | 5367 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5368 |
|
---|
[16568] | 5369 | else
|
---|
[23356] | 5370 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[16568] | 5371 | fi
|
---|
[23356] | 5372 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5373 | fi
|
---|
| 5374 |
|
---|
| 5375 |
|
---|
[23356] | 5376 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
|
---|
| 5377 | $as_echo_n "checking for main in -lg... " >&6; }
|
---|
| 5378 | if test "${ac_cv_lib_g_main+set}" = set; then :
|
---|
| 5379 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5380 | else
|
---|
| 5381 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5382 | LIBS="-lg $LIBS"
|
---|
[23356] | 5383 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5384 | /* end confdefs.h. */
|
---|
| 5385 |
|
---|
| 5386 |
|
---|
| 5387 | int
|
---|
| 5388 | main ()
|
---|
| 5389 | {
|
---|
[23356] | 5390 | return main ();
|
---|
[16568] | 5391 | ;
|
---|
| 5392 | return 0;
|
---|
| 5393 | }
|
---|
| 5394 | _ACEOF
|
---|
[23356] | 5395 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16568] | 5396 | ac_cv_lib_g_main=yes
|
---|
| 5397 | else
|
---|
[23356] | 5398 | ac_cv_lib_g_main=no
|
---|
[16568] | 5399 | fi
|
---|
[23356] | 5400 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5401 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16568] | 5402 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5403 | fi
|
---|
[23356] | 5404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
|
---|
| 5405 | $as_echo "$ac_cv_lib_g_main" >&6; }
|
---|
| 5406 | if test "x$ac_cv_lib_g_main" = x""yes; then :
|
---|
[16568] | 5407 | cat >>confdefs.h <<_ACEOF
|
---|
| 5408 | #define HAVE_LIBG 1
|
---|
| 5409 | _ACEOF
|
---|
| 5410 |
|
---|
| 5411 | LIBS="-lg $LIBS"
|
---|
| 5412 |
|
---|
| 5413 | fi
|
---|
| 5414 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
| 5415 |
|
---|
[23356] | 5416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
---|
| 5417 | $as_echo_n "checking for main in -lm... " >&6; }
|
---|
| 5418 | if test "${ac_cv_lib_m_main+set}" = set; then :
|
---|
| 5419 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5420 | else
|
---|
| 5421 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5422 | LIBS="-lm $LIBS"
|
---|
[23356] | 5423 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5424 | /* end confdefs.h. */
|
---|
| 5425 |
|
---|
| 5426 |
|
---|
| 5427 | int
|
---|
| 5428 | main ()
|
---|
| 5429 | {
|
---|
[23356] | 5430 | return main ();
|
---|
[16568] | 5431 | ;
|
---|
| 5432 | return 0;
|
---|
| 5433 | }
|
---|
| 5434 | _ACEOF
|
---|
[23356] | 5435 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16568] | 5436 | ac_cv_lib_m_main=yes
|
---|
| 5437 | else
|
---|
[23356] | 5438 | ac_cv_lib_m_main=no
|
---|
[16568] | 5439 | fi
|
---|
[23356] | 5440 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5441 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16568] | 5442 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5443 | fi
|
---|
[23356] | 5444 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
---|
| 5445 | $as_echo "$ac_cv_lib_m_main" >&6; }
|
---|
| 5446 | if test "x$ac_cv_lib_m_main" = x""yes; then :
|
---|
[16568] | 5447 | cat >>confdefs.h <<_ACEOF
|
---|
| 5448 | #define HAVE_LIBM 1
|
---|
| 5449 | _ACEOF
|
---|
| 5450 |
|
---|
| 5451 | LIBS="-lm $LIBS"
|
---|
| 5452 |
|
---|
| 5453 | fi
|
---|
| 5454 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
| 5455 |
|
---|
[23356] | 5456 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
|
---|
| 5457 | $as_echo_n "checking for main in -lcrypt... " >&6; }
|
---|
| 5458 | if test "${ac_cv_lib_crypt_main+set}" = set; then :
|
---|
| 5459 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5460 | else
|
---|
| 5461 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5462 | LIBS="-lcrypt $LIBS"
|
---|
[23356] | 5463 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5464 | /* end confdefs.h. */
|
---|
| 5465 |
|
---|
| 5466 |
|
---|
| 5467 | int
|
---|
| 5468 | main ()
|
---|
| 5469 | {
|
---|
[23356] | 5470 | return main ();
|
---|
[16568] | 5471 | ;
|
---|
| 5472 | return 0;
|
---|
| 5473 | }
|
---|
| 5474 | _ACEOF
|
---|
[23356] | 5475 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16568] | 5476 | ac_cv_lib_crypt_main=yes
|
---|
| 5477 | else
|
---|
[23356] | 5478 | ac_cv_lib_crypt_main=no
|
---|
[16568] | 5479 | fi
|
---|
[23356] | 5480 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5481 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16568] | 5482 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5483 | fi
|
---|
[23356] | 5484 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 5485 | $as_echo "$ac_cv_lib_crypt_main" >&6; }
|
---|
| 5486 | if test "x$ac_cv_lib_crypt_main" = x""yes; then :
|
---|
[16568] | 5487 | cat >>confdefs.h <<_ACEOF
|
---|
| 5488 | #define HAVE_LIBCRYPT 1
|
---|
| 5489 | _ACEOF
|
---|
| 5490 |
|
---|
| 5491 | LIBS="-lcrypt $LIBS"
|
---|
| 5492 |
|
---|
| 5493 | fi
|
---|
| 5494 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 5495 |
|
---|
[20848] | 5496 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 5497 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 5498 | #fi
|
---|
[16568] | 5499 |
|
---|
| 5500 | ac_header_dirent=no
|
---|
| 5501 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[23356] | 5502 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
| 5503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
---|
| 5504 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
---|
| 5505 | if eval "test \"\${$as_ac_Header+set}\"" = set; then :
|
---|
| 5506 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5507 | else
|
---|
[23356] | 5508 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5509 | /* end confdefs.h. */
|
---|
| 5510 | #include <sys/types.h>
|
---|
| 5511 | #include <$ac_hdr>
|
---|
| 5512 |
|
---|
| 5513 | int
|
---|
| 5514 | main ()
|
---|
| 5515 | {
|
---|
| 5516 | if ((DIR *) 0)
|
---|
| 5517 | return 0;
|
---|
| 5518 | ;
|
---|
| 5519 | return 0;
|
---|
| 5520 | }
|
---|
| 5521 | _ACEOF
|
---|
[23356] | 5522 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 5523 | eval "$as_ac_Header=yes"
|
---|
| 5524 | else
|
---|
[23356] | 5525 | eval "$as_ac_Header=no"
|
---|
[16568] | 5526 | fi
|
---|
[23356] | 5527 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5528 | fi
|
---|
[23356] | 5529 | eval ac_res=\$$as_ac_Header
|
---|
| 5530 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 5531 | $as_echo "$ac_res" >&6; }
|
---|
| 5532 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16568] | 5533 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5534 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[16568] | 5535 | _ACEOF
|
---|
| 5536 |
|
---|
| 5537 | ac_header_dirent=$ac_hdr; break
|
---|
| 5538 | fi
|
---|
| 5539 |
|
---|
| 5540 | done
|
---|
| 5541 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5542 | if test $ac_header_dirent = dirent.h; then
|
---|
[23356] | 5543 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
| 5544 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
| 5545 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5546 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5547 | else
|
---|
| 5548 | ac_func_search_save_LIBS=$LIBS
|
---|
[23356] | 5549 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5550 | /* end confdefs.h. */
|
---|
| 5551 |
|
---|
[23356] | 5552 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5553 | Use char because int might match the return type of a GCC
|
---|
| 5554 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 5555 | #ifdef __cplusplus
|
---|
| 5556 | extern "C"
|
---|
| 5557 | #endif
|
---|
| 5558 | char opendir ();
|
---|
| 5559 | int
|
---|
| 5560 | main ()
|
---|
| 5561 | {
|
---|
[23356] | 5562 | return opendir ();
|
---|
[16568] | 5563 | ;
|
---|
| 5564 | return 0;
|
---|
| 5565 | }
|
---|
| 5566 | _ACEOF
|
---|
[23356] | 5567 | for ac_lib in '' dir; do
|
---|
| 5568 | if test -z "$ac_lib"; then
|
---|
| 5569 | ac_res="none required"
|
---|
| 5570 | else
|
---|
| 5571 | ac_res=-l$ac_lib
|
---|
| 5572 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5573 | fi
|
---|
| 5574 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5575 | ac_cv_search_opendir=$ac_res
|
---|
[16568] | 5576 | fi
|
---|
[23356] | 5577 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5578 | conftest$ac_exeext
|
---|
| 5579 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5580 | break
|
---|
| 5581 | fi
|
---|
| 5582 | done
|
---|
| 5583 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
[16568] | 5584 |
|
---|
| 5585 | else
|
---|
[23356] | 5586 | ac_cv_search_opendir=no
|
---|
[16568] | 5587 | fi
|
---|
[23356] | 5588 | rm conftest.$ac_ext
|
---|
[16568] | 5589 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5590 | fi
|
---|
[23356] | 5591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
| 5592 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5593 | ac_res=$ac_cv_search_opendir
|
---|
| 5594 | if test "$ac_res" != no; then :
|
---|
| 5595 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16568] | 5596 |
|
---|
| 5597 | fi
|
---|
| 5598 |
|
---|
| 5599 | else
|
---|
[23356] | 5600 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
| 5601 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
| 5602 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5603 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5604 | else
|
---|
| 5605 | ac_func_search_save_LIBS=$LIBS
|
---|
[23356] | 5606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5607 | /* end confdefs.h. */
|
---|
| 5608 |
|
---|
[23356] | 5609 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5610 | Use char because int might match the return type of a GCC
|
---|
| 5611 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 5612 | #ifdef __cplusplus
|
---|
| 5613 | extern "C"
|
---|
| 5614 | #endif
|
---|
| 5615 | char opendir ();
|
---|
| 5616 | int
|
---|
| 5617 | main ()
|
---|
| 5618 | {
|
---|
[23356] | 5619 | return opendir ();
|
---|
[16568] | 5620 | ;
|
---|
| 5621 | return 0;
|
---|
| 5622 | }
|
---|
| 5623 | _ACEOF
|
---|
[23356] | 5624 | for ac_lib in '' x; do
|
---|
| 5625 | if test -z "$ac_lib"; then
|
---|
| 5626 | ac_res="none required"
|
---|
| 5627 | else
|
---|
| 5628 | ac_res=-l$ac_lib
|
---|
| 5629 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5630 | fi
|
---|
| 5631 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5632 | ac_cv_search_opendir=$ac_res
|
---|
[16568] | 5633 | fi
|
---|
[23356] | 5634 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5635 | conftest$ac_exeext
|
---|
| 5636 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5637 | break
|
---|
| 5638 | fi
|
---|
| 5639 | done
|
---|
| 5640 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
[16568] | 5641 |
|
---|
| 5642 | else
|
---|
[23356] | 5643 | ac_cv_search_opendir=no
|
---|
[16568] | 5644 | fi
|
---|
[23356] | 5645 | rm conftest.$ac_ext
|
---|
[16568] | 5646 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5647 | fi
|
---|
[23356] | 5648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
| 5649 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5650 | ac_res=$ac_cv_search_opendir
|
---|
| 5651 | if test "$ac_res" != no; then :
|
---|
| 5652 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16568] | 5653 |
|
---|
| 5654 | fi
|
---|
| 5655 |
|
---|
| 5656 | fi
|
---|
| 5657 |
|
---|
[23356] | 5658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 5659 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 5660 | if test "${ac_cv_header_stdc+set}" = set; then :
|
---|
| 5661 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5662 | else
|
---|
[23356] | 5663 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5664 | /* end confdefs.h. */
|
---|
| 5665 | #include <stdlib.h>
|
---|
| 5666 | #include <stdarg.h>
|
---|
| 5667 | #include <string.h>
|
---|
| 5668 | #include <float.h>
|
---|
| 5669 |
|
---|
| 5670 | int
|
---|
| 5671 | main ()
|
---|
| 5672 | {
|
---|
| 5673 |
|
---|
| 5674 | ;
|
---|
| 5675 | return 0;
|
---|
| 5676 | }
|
---|
| 5677 | _ACEOF
|
---|
[23356] | 5678 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16568] | 5679 | ac_cv_header_stdc=yes
|
---|
| 5680 | else
|
---|
[23356] | 5681 | ac_cv_header_stdc=no
|
---|
[16568] | 5682 | fi
|
---|
[23356] | 5683 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5684 |
|
---|
| 5685 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5686 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[23356] | 5687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5688 | /* end confdefs.h. */
|
---|
| 5689 | #include <string.h>
|
---|
| 5690 |
|
---|
| 5691 | _ACEOF
|
---|
| 5692 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5693 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5694 |
|
---|
[16568] | 5695 | else
|
---|
| 5696 | ac_cv_header_stdc=no
|
---|
| 5697 | fi
|
---|
| 5698 | rm -f conftest*
|
---|
| 5699 |
|
---|
| 5700 | fi
|
---|
| 5701 |
|
---|
| 5702 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5703 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[23356] | 5704 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5705 | /* end confdefs.h. */
|
---|
| 5706 | #include <stdlib.h>
|
---|
| 5707 |
|
---|
| 5708 | _ACEOF
|
---|
| 5709 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5710 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5711 |
|
---|
[16568] | 5712 | else
|
---|
| 5713 | ac_cv_header_stdc=no
|
---|
| 5714 | fi
|
---|
| 5715 | rm -f conftest*
|
---|
| 5716 |
|
---|
| 5717 | fi
|
---|
| 5718 |
|
---|
| 5719 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5720 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[23356] | 5721 | if test "$cross_compiling" = yes; then :
|
---|
[16568] | 5722 | :
|
---|
| 5723 | else
|
---|
[23356] | 5724 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5725 | /* end confdefs.h. */
|
---|
| 5726 | #include <ctype.h>
|
---|
[23356] | 5727 | #include <stdlib.h>
|
---|
[16568] | 5728 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5729 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5730 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5731 | #else
|
---|
| 5732 | # define ISLOWER(c) \
|
---|
| 5733 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5734 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5735 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5736 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5737 | #endif
|
---|
| 5738 |
|
---|
| 5739 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5740 | int
|
---|
| 5741 | main ()
|
---|
| 5742 | {
|
---|
| 5743 | int i;
|
---|
| 5744 | for (i = 0; i < 256; i++)
|
---|
| 5745 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5746 | || toupper (i) != TOUPPER (i))
|
---|
[23356] | 5747 | return 2;
|
---|
| 5748 | return 0;
|
---|
[16568] | 5749 | }
|
---|
| 5750 | _ACEOF
|
---|
[23356] | 5751 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5752 |
|
---|
[16568] | 5753 | else
|
---|
[23356] | 5754 | ac_cv_header_stdc=no
|
---|
[16568] | 5755 | fi
|
---|
[23356] | 5756 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5757 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16568] | 5758 | fi
|
---|
[23356] | 5759 |
|
---|
[16568] | 5760 | fi
|
---|
| 5761 | fi
|
---|
[23356] | 5762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 5763 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16568] | 5764 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5765 |
|
---|
[23356] | 5766 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16568] | 5767 |
|
---|
| 5768 | fi
|
---|
| 5769 |
|
---|
| 5770 | 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
|
---|
[23356] | 5771 | do :
|
---|
| 5772 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5773 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
---|
| 5774 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16568] | 5775 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5776 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[16568] | 5777 | _ACEOF
|
---|
| 5778 |
|
---|
| 5779 | fi
|
---|
| 5780 |
|
---|
| 5781 | done
|
---|
| 5782 |
|
---|
[23356] | 5783 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5784 | /* end confdefs.h. */
|
---|
| 5785 | #include <stdio.h>
|
---|
| 5786 |
|
---|
| 5787 | _ACEOF
|
---|
| 5788 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5789 | $EGREP "fread" >/dev/null 2>&1; then :
|
---|
| 5790 | $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
|
---|
[16568] | 5791 |
|
---|
| 5792 | fi
|
---|
| 5793 | rm -f conftest*
|
---|
| 5794 |
|
---|
[23356] | 5795 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5796 | /* end confdefs.h. */
|
---|
| 5797 | #include <stdio.h>
|
---|
| 5798 |
|
---|
| 5799 | _ACEOF
|
---|
| 5800 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5801 | $EGREP "fgetc" >/dev/null 2>&1; then :
|
---|
| 5802 | $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
|
---|
[16568] | 5803 |
|
---|
| 5804 | fi
|
---|
| 5805 | rm -f conftest*
|
---|
| 5806 |
|
---|
[23356] | 5807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5808 | /* end confdefs.h. */
|
---|
| 5809 | #include <sys/procfs.h>
|
---|
| 5810 |
|
---|
| 5811 | _ACEOF
|
---|
| 5812 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5813 | $EGREP "pr_brksize" >/dev/null 2>&1; then :
|
---|
| 5814 | $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
|
---|
[16568] | 5815 |
|
---|
| 5816 | fi
|
---|
| 5817 | rm -f conftest*
|
---|
| 5818 |
|
---|
| 5819 |
|
---|
| 5820 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5821 | # for constant arguments. Useless!
|
---|
[23356] | 5822 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
---|
| 5823 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
| 5824 | if test "${ac_cv_working_alloca_h+set}" = set; then :
|
---|
| 5825 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5826 | else
|
---|
[23356] | 5827 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5828 | /* end confdefs.h. */
|
---|
| 5829 | #include <alloca.h>
|
---|
| 5830 | int
|
---|
| 5831 | main ()
|
---|
| 5832 | {
|
---|
| 5833 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[23356] | 5834 | if (p) return 0;
|
---|
[16568] | 5835 | ;
|
---|
| 5836 | return 0;
|
---|
| 5837 | }
|
---|
| 5838 | _ACEOF
|
---|
[23356] | 5839 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16568] | 5840 | ac_cv_working_alloca_h=yes
|
---|
| 5841 | else
|
---|
[23356] | 5842 | ac_cv_working_alloca_h=no
|
---|
[16568] | 5843 | fi
|
---|
[23356] | 5844 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5845 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16568] | 5846 | fi
|
---|
[23356] | 5847 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
---|
| 5848 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
[16568] | 5849 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 5850 |
|
---|
[23356] | 5851 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
---|
[16568] | 5852 |
|
---|
| 5853 | fi
|
---|
| 5854 |
|
---|
[23356] | 5855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
---|
| 5856 | $as_echo_n "checking for alloca... " >&6; }
|
---|
| 5857 | if test "${ac_cv_func_alloca_works+set}" = set; then :
|
---|
| 5858 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5859 | else
|
---|
[23356] | 5860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5861 | /* end confdefs.h. */
|
---|
| 5862 | #ifdef __GNUC__
|
---|
| 5863 | # define alloca __builtin_alloca
|
---|
| 5864 | #else
|
---|
| 5865 | # ifdef _MSC_VER
|
---|
| 5866 | # include <malloc.h>
|
---|
| 5867 | # define alloca _alloca
|
---|
| 5868 | # else
|
---|
[23356] | 5869 | # ifdef HAVE_ALLOCA_H
|
---|
[16568] | 5870 | # include <alloca.h>
|
---|
| 5871 | # else
|
---|
| 5872 | # ifdef _AIX
|
---|
| 5873 | #pragma alloca
|
---|
| 5874 | # else
|
---|
| 5875 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 5876 | char *alloca ();
|
---|
| 5877 | # endif
|
---|
| 5878 | # endif
|
---|
| 5879 | # endif
|
---|
| 5880 | # endif
|
---|
| 5881 | #endif
|
---|
| 5882 |
|
---|
| 5883 | int
|
---|
| 5884 | main ()
|
---|
| 5885 | {
|
---|
| 5886 | char *p = (char *) alloca (1);
|
---|
[23356] | 5887 | if (p) return 0;
|
---|
[16568] | 5888 | ;
|
---|
| 5889 | return 0;
|
---|
| 5890 | }
|
---|
| 5891 | _ACEOF
|
---|
[23356] | 5892 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16568] | 5893 | ac_cv_func_alloca_works=yes
|
---|
| 5894 | else
|
---|
[23356] | 5895 | ac_cv_func_alloca_works=no
|
---|
[16568] | 5896 | fi
|
---|
[23356] | 5897 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5898 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16568] | 5899 | fi
|
---|
[23356] | 5900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
---|
| 5901 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
[16568] | 5902 |
|
---|
| 5903 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 5904 |
|
---|
[23356] | 5905 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
---|
[16568] | 5906 |
|
---|
| 5907 | else
|
---|
| 5908 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5909 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5910 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5911 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 5912 |
|
---|
[23356] | 5913 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[16568] | 5914 |
|
---|
[23356] | 5915 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
|
---|
[16568] | 5916 |
|
---|
| 5917 |
|
---|
[23356] | 5918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 5919 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
| 5920 | if test "${ac_cv_os_cray+set}" = set; then :
|
---|
| 5921 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5922 | else
|
---|
[23356] | 5923 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5924 | /* end confdefs.h. */
|
---|
[23356] | 5925 | #if defined CRAY && ! defined CRAY2
|
---|
[16568] | 5926 | webecray
|
---|
| 5927 | #else
|
---|
| 5928 | wenotbecray
|
---|
| 5929 | #endif
|
---|
| 5930 |
|
---|
| 5931 | _ACEOF
|
---|
| 5932 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5933 | $EGREP "webecray" >/dev/null 2>&1; then :
|
---|
[16568] | 5934 | ac_cv_os_cray=yes
|
---|
| 5935 | else
|
---|
| 5936 | ac_cv_os_cray=no
|
---|
| 5937 | fi
|
---|
| 5938 | rm -f conftest*
|
---|
| 5939 |
|
---|
| 5940 | fi
|
---|
[23356] | 5941 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
---|
| 5942 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
[16568] | 5943 | if test $ac_cv_os_cray = yes; then
|
---|
| 5944 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[23356] | 5945 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5946 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 5947 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16568] | 5948 |
|
---|
| 5949 | cat >>confdefs.h <<_ACEOF
|
---|
| 5950 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 5951 | _ACEOF
|
---|
| 5952 |
|
---|
| 5953 | break
|
---|
| 5954 | fi
|
---|
| 5955 |
|
---|
| 5956 | done
|
---|
| 5957 | fi
|
---|
| 5958 |
|
---|
[23356] | 5959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
---|
| 5960 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
| 5961 | if test "${ac_cv_c_stack_direction+set}" = set; then :
|
---|
| 5962 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 5963 | else
|
---|
[23356] | 5964 | if test "$cross_compiling" = yes; then :
|
---|
[16568] | 5965 | ac_cv_c_stack_direction=0
|
---|
| 5966 | else
|
---|
[23356] | 5967 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 5968 | /* end confdefs.h. */
|
---|
[23356] | 5969 | $ac_includes_default
|
---|
[16568] | 5970 | int
|
---|
| 5971 | find_stack_direction ()
|
---|
| 5972 | {
|
---|
| 5973 | static char *addr = 0;
|
---|
| 5974 | auto char dummy;
|
---|
| 5975 | if (addr == 0)
|
---|
| 5976 | {
|
---|
| 5977 | addr = &dummy;
|
---|
| 5978 | return find_stack_direction ();
|
---|
| 5979 | }
|
---|
| 5980 | else
|
---|
| 5981 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5982 | }
|
---|
| 5983 |
|
---|
| 5984 | int
|
---|
| 5985 | main ()
|
---|
| 5986 | {
|
---|
[23356] | 5987 | return find_stack_direction () < 0;
|
---|
[16568] | 5988 | }
|
---|
| 5989 | _ACEOF
|
---|
[23356] | 5990 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
[16568] | 5991 | ac_cv_c_stack_direction=1
|
---|
| 5992 | else
|
---|
[23356] | 5993 | ac_cv_c_stack_direction=-1
|
---|
[16568] | 5994 | fi
|
---|
[23356] | 5995 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5996 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16568] | 5997 | fi
|
---|
[23356] | 5998 |
|
---|
[16568] | 5999 | fi
|
---|
[23356] | 6000 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
---|
| 6001 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
[16568] | 6002 | cat >>confdefs.h <<_ACEOF
|
---|
| 6003 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 6004 | _ACEOF
|
---|
| 6005 |
|
---|
| 6006 |
|
---|
| 6007 | fi
|
---|
| 6008 |
|
---|
| 6009 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[23356] | 6010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
---|
| 6011 | $as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
---|
| 6012 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
|
---|
| 6013 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 6014 | else
|
---|
| 6015 | ac_pattern="Autoconf.*'x'"
|
---|
[23356] | 6016 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6017 | /* end confdefs.h. */
|
---|
| 6018 | #include <sgtty.h>
|
---|
| 6019 | Autoconf TIOCGETP
|
---|
| 6020 | _ACEOF
|
---|
| 6021 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 6022 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16568] | 6023 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6024 | else
|
---|
| 6025 | ac_cv_prog_gcc_traditional=no
|
---|
| 6026 | fi
|
---|
| 6027 | rm -f conftest*
|
---|
| 6028 |
|
---|
| 6029 |
|
---|
| 6030 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[23356] | 6031 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6032 | /* end confdefs.h. */
|
---|
| 6033 | #include <termio.h>
|
---|
| 6034 | Autoconf TCGETA
|
---|
| 6035 | _ACEOF
|
---|
| 6036 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 6037 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16568] | 6038 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6039 | fi
|
---|
| 6040 | rm -f conftest*
|
---|
| 6041 |
|
---|
| 6042 | fi
|
---|
| 6043 | fi
|
---|
[23356] | 6044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 6045 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[16568] | 6046 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 6047 | CC="$CC -traditional"
|
---|
| 6048 | fi
|
---|
| 6049 | fi
|
---|
| 6050 |
|
---|
[23356] | 6051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
---|
| 6052 | $as_echo_n "checking return type of signal handlers... " >&6; }
|
---|
| 6053 | if test "${ac_cv_type_signal+set}" = set; then :
|
---|
| 6054 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 6055 | else
|
---|
[23356] | 6056 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6057 | /* end confdefs.h. */
|
---|
| 6058 | #include <sys/types.h>
|
---|
| 6059 | #include <signal.h>
|
---|
| 6060 |
|
---|
| 6061 | int
|
---|
| 6062 | main ()
|
---|
| 6063 | {
|
---|
[23356] | 6064 | return *(signal (0, 0)) (0) == 1;
|
---|
[16568] | 6065 | ;
|
---|
| 6066 | return 0;
|
---|
| 6067 | }
|
---|
| 6068 | _ACEOF
|
---|
[23356] | 6069 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 6070 | ac_cv_type_signal=int
|
---|
| 6071 | else
|
---|
[20854] | 6072 | ac_cv_type_signal=void
|
---|
[16568] | 6073 | fi
|
---|
[23356] | 6074 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6075 | fi
|
---|
[23356] | 6076 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
---|
| 6077 | $as_echo "$ac_cv_type_signal" >&6; }
|
---|
[16568] | 6078 |
|
---|
| 6079 | cat >>confdefs.h <<_ACEOF
|
---|
| 6080 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 6081 | _ACEOF
|
---|
| 6082 |
|
---|
| 6083 |
|
---|
| 6084 | for ac_func in vprintf
|
---|
[23356] | 6085 | do :
|
---|
| 6086 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
---|
| 6087 | if test "x$ac_cv_func_vprintf" = x""yes; then :
|
---|
[16568] | 6088 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6089 | #define HAVE_VPRINTF 1
|
---|
[16568] | 6090 | _ACEOF
|
---|
| 6091 |
|
---|
[23356] | 6092 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
---|
| 6093 | if test "x$ac_cv_func__doprnt" = x""yes; then :
|
---|
[16568] | 6094 |
|
---|
[23356] | 6095 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
---|
[16568] | 6096 |
|
---|
| 6097 | fi
|
---|
| 6098 |
|
---|
| 6099 | fi
|
---|
| 6100 | done
|
---|
| 6101 |
|
---|
| 6102 |
|
---|
| 6103 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[23356] | 6104 | do :
|
---|
| 6105 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6106 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 6107 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16568] | 6108 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6109 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16568] | 6110 | _ACEOF
|
---|
| 6111 |
|
---|
| 6112 | fi
|
---|
| 6113 | done
|
---|
| 6114 |
|
---|
[23356] | 6115 | ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
|
---|
| 6116 | if test "x$ac_cv_func_ftruncate" = x""yes; then :
|
---|
| 6117 | $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
|
---|
[16568] | 6118 |
|
---|
| 6119 | else
|
---|
[23356] | 6120 | case " $LIBOBJS " in
|
---|
| 6121 | *" ftruncate.$ac_objext "* ) ;;
|
---|
| 6122 | *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
|
---|
| 6123 | ;;
|
---|
| 6124 | esac
|
---|
[16568] | 6125 |
|
---|
[23356] | 6126 | fi
|
---|
[16568] | 6127 |
|
---|
[23356] | 6128 | ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
|
---|
| 6129 | if test "x$ac_cv_func_strstr" = x""yes; then :
|
---|
| 6130 | $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
|
---|
[16568] | 6131 |
|
---|
| 6132 | else
|
---|
[23356] | 6133 | case " $LIBOBJS " in
|
---|
| 6134 | *" strstr.$ac_objext "* ) ;;
|
---|
| 6135 | *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
|
---|
| 6136 | ;;
|
---|
| 6137 | esac
|
---|
[16568] | 6138 |
|
---|
| 6139 | fi
|
---|
| 6140 |
|
---|
[23356] | 6141 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
|
---|
| 6142 | if test "x$ac_cv_func_strcasecmp" = x""yes; then :
|
---|
| 6143 | $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
|
---|
| 6144 |
|
---|
[16568] | 6145 | else
|
---|
[23356] | 6146 | case " $LIBOBJS " in
|
---|
| 6147 | *" strcasecmp.$ac_objext "* ) ;;
|
---|
| 6148 | *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
|
---|
| 6149 | ;;
|
---|
[16568] | 6150 | esac
|
---|
| 6151 |
|
---|
| 6152 | fi
|
---|
| 6153 |
|
---|
| 6154 |
|
---|
| 6155 |
|
---|
[23356] | 6156 | ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
|
---|
| 6157 | if test "x$ac_cv_func_textdomain" = x""yes; then :
|
---|
| 6158 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
---|
[16568] | 6159 |
|
---|
| 6160 | fi
|
---|
| 6161 |
|
---|
| 6162 |
|
---|
| 6163 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6164 | # ---------------------------------------------------------------------------
|
---|
[23356] | 6165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
|
---|
| 6166 | $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
|
---|
[16568] | 6167 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[23356] | 6168 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 6169 | $as_echo "yes" >&6; }
|
---|
| 6170 | case " $LIBOBJS " in
|
---|
[16568] | 6171 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[23356] | 6172 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 6173 | ;;
|
---|
[16568] | 6174 | esac
|
---|
| 6175 |
|
---|
[23356] | 6176 | $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
|
---|
[16568] | 6177 |
|
---|
| 6178 | else
|
---|
[23356] | 6179 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6180 | $as_echo "no" >&6; }
|
---|
| 6181 | for ac_func in valloc
|
---|
| 6182 | do :
|
---|
| 6183 | ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
|
---|
| 6184 | if test "x$ac_cv_func_valloc" = x""yes; then :
|
---|
[16568] | 6185 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6186 | #define HAVE_VALLOC 1
|
---|
[16568] | 6187 | _ACEOF
|
---|
| 6188 |
|
---|
| 6189 | fi
|
---|
| 6190 | done
|
---|
| 6191 |
|
---|
| 6192 | fi
|
---|
| 6193 |
|
---|
| 6194 | # we cannot generate static libraries under Darwin
|
---|
[23356] | 6195 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
|
---|
| 6196 | $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
|
---|
[16568] | 6197 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[23356] | 6198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 6199 | $as_echo "yes" >&6; }
|
---|
[16568] | 6200 | STATIC=""
|
---|
| 6201 | else
|
---|
[23356] | 6202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6203 | $as_echo "no" >&6; }
|
---|
[16568] | 6204 | STATIC="-static "
|
---|
| 6205 | fi
|
---|
| 6206 |
|
---|
| 6207 |
|
---|
[23356] | 6208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
|
---|
| 6209 | $as_echo_n "checking if malloc debugging is wanted... " >&6; }
|
---|
[16568] | 6210 |
|
---|
[23356] | 6211 | # Check whether --with-dmalloc was given.
|
---|
| 6212 | if test "${with_dmalloc+set}" = set; then :
|
---|
| 6213 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
| 6214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 6215 | $as_echo "yes" >&6; }
|
---|
| 6216 | $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
|
---|
[16568] | 6217 |
|
---|
| 6218 | LIBS="$LIBS -ldmalloc"
|
---|
| 6219 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6220 | else
|
---|
[23356] | 6221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6222 | $as_echo "no" >&6; }
|
---|
[16568] | 6223 | fi
|
---|
| 6224 | else
|
---|
[23356] | 6225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6226 | $as_echo "no" >&6; }
|
---|
| 6227 | fi
|
---|
[16568] | 6228 |
|
---|
| 6229 |
|
---|
[23356] | 6230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
|
---|
| 6231 | $as_echo_n "checking which of rx or regex is wanted... " >&6; }
|
---|
| 6232 |
|
---|
| 6233 | # Check whether --with-regex was given.
|
---|
| 6234 | if test "${with_regex+set}" = set; then :
|
---|
| 6235 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[16568] | 6236 | ac_with_regex=1
|
---|
[23356] | 6237 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
|
---|
| 6238 | $as_echo "regex" >&6; }
|
---|
| 6239 | $as_echo "#define WITH_REGEX 1" >>confdefs.h
|
---|
[16568] | 6240 |
|
---|
[23356] | 6241 | case " $LIBOBJS " in
|
---|
[16568] | 6242 | *" regex.$ac_objext "* ) ;;
|
---|
[23356] | 6243 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 6244 | ;;
|
---|
[16568] | 6245 | esac
|
---|
| 6246 |
|
---|
| 6247 | fi
|
---|
[23356] | 6248 | fi
|
---|
| 6249 |
|
---|
[16568] | 6250 | if test -z "$ac_with_regex"; then
|
---|
[23356] | 6251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
|
---|
| 6252 | $as_echo "rx" >&6; }
|
---|
| 6253 | ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
|
---|
| 6254 | if test "x$ac_cv_func_re_rx_search" = x""yes; then :
|
---|
[16568] | 6255 |
|
---|
| 6256 | else
|
---|
[23356] | 6257 | case " $LIBOBJS " in
|
---|
[16568] | 6258 | *" rx.$ac_objext "* ) ;;
|
---|
[23356] | 6259 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 6260 | ;;
|
---|
[16568] | 6261 | esac
|
---|
| 6262 |
|
---|
| 6263 | fi
|
---|
| 6264 |
|
---|
| 6265 | fi
|
---|
| 6266 |
|
---|
| 6267 |
|
---|
| 6268 | # ---------------------------------------------------------------------------
|
---|
| 6269 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[23356] | 6270 | case " $LIBOBJS " in
|
---|
[16568] | 6271 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[23356] | 6272 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 6273 | ;;
|
---|
[16568] | 6274 | esac
|
---|
| 6275 |
|
---|
[23356] | 6276 | case " $LIBOBJS " in
|
---|
[16568] | 6277 | *" error.$ac_objext "* ) ;;
|
---|
[23356] | 6278 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6279 | ;;
|
---|
[16568] | 6280 | esac
|
---|
| 6281 |
|
---|
| 6282 | fi
|
---|
| 6283 |
|
---|
| 6284 |
|
---|
| 6285 | # ---------------------------------------------------------------------------
|
---|
| 6286 |
|
---|
[23356] | 6287 | ac_ext=cpp
|
---|
[16568] | 6288 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 6289 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 6290 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 6291 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 6292 |
|
---|
| 6293 |
|
---|
[23356] | 6294 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5
|
---|
| 6295 | $as_echo_n "checking that Perl 5 is available... " >&6; }
|
---|
[16568] | 6296 | success="no"
|
---|
| 6297 | pl_path="$PATH"
|
---|
| 6298 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 6299 | for pl_dir in $pl_path; do
|
---|
| 6300 | test -z "$pl_dir" && pl_dir=.
|
---|
| 6301 | if test -x $pl_dir/perl; then
|
---|
| 6302 | success="yes"
|
---|
| 6303 | break
|
---|
| 6304 | fi
|
---|
| 6305 | done
|
---|
| 6306 | IFS="$pl_save_ifs"
|
---|
| 6307 |
|
---|
| 6308 | success=no
|
---|
[23356] | 6309 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
|
---|
| 6310 | $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
|
---|
[16568] | 6311 |
|
---|
[18214] | 6312 |
|
---|
[23356] | 6313 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6314 | /* end confdefs.h. */
|
---|
| 6315 | #include <vector>
|
---|
| 6316 |
|
---|
| 6317 | int
|
---|
| 6318 | main ()
|
---|
| 6319 | {
|
---|
| 6320 |
|
---|
| 6321 | ;
|
---|
| 6322 | return 0;
|
---|
| 6323 | }
|
---|
| 6324 | _ACEOF
|
---|
[23356] | 6325 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 6326 | success=yes
|
---|
| 6327 | fi
|
---|
[23356] | 6328 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6329 |
|
---|
| 6330 | if test $success = "no"; then
|
---|
[23356] | 6331 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6332 | /* end confdefs.h. */
|
---|
| 6333 | #include <vector.h>
|
---|
| 6334 |
|
---|
| 6335 | int
|
---|
| 6336 | main ()
|
---|
| 6337 | {
|
---|
| 6338 |
|
---|
| 6339 | ;
|
---|
| 6340 | return 0;
|
---|
| 6341 | }
|
---|
| 6342 | _ACEOF
|
---|
[23356] | 6343 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 6344 | success="yes"
|
---|
| 6345 | fi
|
---|
[23356] | 6346 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6347 | fi
|
---|
| 6348 |
|
---|
| 6349 | if test $success = "no"; then
|
---|
[23356] | 6350 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6351 | /* end confdefs.h. */
|
---|
| 6352 | #include <ospace\\std\\vector>
|
---|
| 6353 |
|
---|
| 6354 | int
|
---|
| 6355 | main ()
|
---|
| 6356 | {
|
---|
| 6357 |
|
---|
| 6358 | ;
|
---|
| 6359 | return 0;
|
---|
| 6360 | }
|
---|
| 6361 | _ACEOF
|
---|
[23356] | 6362 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 6363 | success="yes"
|
---|
| 6364 | fi
|
---|
[23356] | 6365 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6366 | fi
|
---|
| 6367 |
|
---|
| 6368 | if test $success = yes; then
|
---|
[23356] | 6369 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
| 6370 | $as_echo "\"no\"" >&6; }
|
---|
[16568] | 6371 | else
|
---|
[23356] | 6372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
| 6373 | $as_echo "\"yes\"" >&6; }
|
---|
| 6374 | as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
|
---|
[16568] | 6375 | fi
|
---|
| 6376 |
|
---|
| 6377 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
| 6378 | # check for running bash under cygwin
|
---|
| 6379 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 6380 | then
|
---|
| 6381 | gsdlos=windows
|
---|
| 6382 | fi
|
---|
| 6383 |
|
---|
| 6384 |
|
---|
| 6385 | # check for endianness
|
---|
[23356] | 6386 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
---|
| 6387 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
---|
| 6388 | if test "${ac_cv_c_bigendian+set}" = set; then :
|
---|
| 6389 | $as_echo_n "(cached) " >&6
|
---|
[16568] | 6390 | else
|
---|
[23356] | 6391 | ac_cv_c_bigendian=unknown
|
---|
| 6392 | # See if we're dealing with a universal compiler.
|
---|
| 6393 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6394 | /* end confdefs.h. */
|
---|
| 6395 | #ifndef __APPLE_CC__
|
---|
| 6396 | not a universal capable compiler
|
---|
| 6397 | #endif
|
---|
| 6398 | typedef int dummy;
|
---|
| 6399 |
|
---|
[16568] | 6400 | _ACEOF
|
---|
[23356] | 6401 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6402 |
|
---|
| 6403 | # Check for potential -arch flags. It is not universal unless
|
---|
| 6404 | # there are at least two -arch flags with different values.
|
---|
| 6405 | ac_arch=
|
---|
| 6406 | ac_prev=
|
---|
| 6407 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
---|
| 6408 | if test -n "$ac_prev"; then
|
---|
| 6409 | case $ac_word in
|
---|
| 6410 | i?86 | x86_64 | ppc | ppc64)
|
---|
| 6411 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
---|
| 6412 | ac_arch=$ac_word
|
---|
| 6413 | else
|
---|
| 6414 | ac_cv_c_bigendian=universal
|
---|
| 6415 | break
|
---|
| 6416 | fi
|
---|
| 6417 | ;;
|
---|
| 6418 | esac
|
---|
| 6419 | ac_prev=
|
---|
| 6420 | elif test "x$ac_word" = "x-arch"; then
|
---|
| 6421 | ac_prev=arch
|
---|
| 6422 | fi
|
---|
| 6423 | done
|
---|
| 6424 | fi
|
---|
| 6425 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6426 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6427 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
| 6428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6429 | /* end confdefs.h. */
|
---|
| 6430 | #include <sys/types.h>
|
---|
[23356] | 6431 | #include <sys/param.h>
|
---|
[16568] | 6432 |
|
---|
| 6433 | int
|
---|
| 6434 | main ()
|
---|
| 6435 | {
|
---|
[23356] | 6436 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
---|
| 6437 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
---|
| 6438 | && LITTLE_ENDIAN)
|
---|
| 6439 | bogus endian macros
|
---|
| 6440 | #endif
|
---|
[16568] | 6441 |
|
---|
| 6442 | ;
|
---|
| 6443 | return 0;
|
---|
| 6444 | }
|
---|
| 6445 | _ACEOF
|
---|
[23356] | 6446 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 6447 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[23356] | 6448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6449 | /* end confdefs.h. */
|
---|
| 6450 | #include <sys/types.h>
|
---|
[23356] | 6451 | #include <sys/param.h>
|
---|
[16568] | 6452 |
|
---|
| 6453 | int
|
---|
| 6454 | main ()
|
---|
| 6455 | {
|
---|
| 6456 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[23356] | 6457 | not big endian
|
---|
| 6458 | #endif
|
---|
[16568] | 6459 |
|
---|
| 6460 | ;
|
---|
| 6461 | return 0;
|
---|
| 6462 | }
|
---|
| 6463 | _ACEOF
|
---|
[23356] | 6464 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 6465 | ac_cv_c_bigendian=yes
|
---|
| 6466 | else
|
---|
[23356] | 6467 | ac_cv_c_bigendian=no
|
---|
[16568] | 6468 | fi
|
---|
[23356] | 6469 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6470 | fi
|
---|
| 6471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6472 | fi
|
---|
| 6473 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6474 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
---|
| 6475 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6476 | /* end confdefs.h. */
|
---|
| 6477 | #include <limits.h>
|
---|
[16568] | 6478 |
|
---|
[23356] | 6479 | int
|
---|
| 6480 | main ()
|
---|
| 6481 | {
|
---|
| 6482 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
---|
| 6483 | bogus endian macros
|
---|
| 6484 | #endif
|
---|
| 6485 |
|
---|
| 6486 | ;
|
---|
| 6487 | return 0;
|
---|
| 6488 | }
|
---|
[16568] | 6489 | _ACEOF
|
---|
[23356] | 6490 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6491 | # It does; now see whether it defined to _BIG_ENDIAN or not.
|
---|
| 6492 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6493 | /* end confdefs.h. */
|
---|
[23356] | 6494 | #include <limits.h>
|
---|
| 6495 |
|
---|
[16568] | 6496 | int
|
---|
| 6497 | main ()
|
---|
| 6498 | {
|
---|
[23356] | 6499 | #ifndef _BIG_ENDIAN
|
---|
| 6500 | not big endian
|
---|
| 6501 | #endif
|
---|
| 6502 |
|
---|
[16568] | 6503 | ;
|
---|
| 6504 | return 0;
|
---|
| 6505 | }
|
---|
| 6506 | _ACEOF
|
---|
[23356] | 6507 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16568] | 6508 | ac_cv_c_bigendian=yes
|
---|
[23356] | 6509 | else
|
---|
| 6510 | ac_cv_c_bigendian=no
|
---|
[16568] | 6511 | fi
|
---|
[23356] | 6512 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6513 | fi
|
---|
[23356] | 6514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6515 | fi
|
---|
| 6516 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6517 | # Compile a test program.
|
---|
| 6518 | if test "$cross_compiling" = yes; then :
|
---|
| 6519 | # Try to guess by grepping values from an object file.
|
---|
| 6520 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6521 | /* end confdefs.h. */
|
---|
| 6522 | short int ascii_mm[] =
|
---|
| 6523 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 6524 | short int ascii_ii[] =
|
---|
| 6525 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 6526 | int use_ascii (int i) {
|
---|
| 6527 | return ascii_mm[i] + ascii_ii[i];
|
---|
| 6528 | }
|
---|
| 6529 | short int ebcdic_ii[] =
|
---|
| 6530 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 6531 | short int ebcdic_mm[] =
|
---|
| 6532 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 6533 | int use_ebcdic (int i) {
|
---|
| 6534 | return ebcdic_mm[i] + ebcdic_ii[i];
|
---|
| 6535 | }
|
---|
| 6536 | extern int foo;
|
---|
[16568] | 6537 |
|
---|
[23356] | 6538 | int
|
---|
| 6539 | main ()
|
---|
| 6540 | {
|
---|
| 6541 | return use_ascii (foo) == use_ebcdic (foo);
|
---|
| 6542 | ;
|
---|
| 6543 | return 0;
|
---|
| 6544 | }
|
---|
| 6545 | _ACEOF
|
---|
| 6546 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6547 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
---|
| 6548 | ac_cv_c_bigendian=yes
|
---|
| 6549 | fi
|
---|
| 6550 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 6551 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 6552 | ac_cv_c_bigendian=no
|
---|
| 6553 | else
|
---|
| 6554 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 6555 | ac_cv_c_bigendian=unknown
|
---|
| 6556 | fi
|
---|
| 6557 | fi
|
---|
[16568] | 6558 | fi
|
---|
[23356] | 6559 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6560 | else
|
---|
[23356] | 6561 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16568] | 6562 | /* end confdefs.h. */
|
---|
[23356] | 6563 | $ac_includes_default
|
---|
[16568] | 6564 | int
|
---|
| 6565 | main ()
|
---|
| 6566 | {
|
---|
[23356] | 6567 |
|
---|
| 6568 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 6569 | union
|
---|
| 6570 | {
|
---|
| 6571 | long int l;
|
---|
| 6572 | char c[sizeof (long int)];
|
---|
| 6573 | } u;
|
---|
| 6574 | u.l = 1;
|
---|
| 6575 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 6576 |
|
---|
| 6577 | ;
|
---|
| 6578 | return 0;
|
---|
[16568] | 6579 | }
|
---|
| 6580 | _ACEOF
|
---|
[23356] | 6581 | if ac_fn_cxx_try_run "$LINENO"; then :
|
---|
[16568] | 6582 | ac_cv_c_bigendian=no
|
---|
| 6583 | else
|
---|
[23356] | 6584 | ac_cv_c_bigendian=yes
|
---|
[16568] | 6585 | fi
|
---|
[23356] | 6586 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6587 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16568] | 6588 | fi
|
---|
[23356] | 6589 |
|
---|
| 6590 | fi
|
---|
[16568] | 6591 | fi
|
---|
[23356] | 6592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
---|
| 6593 | $as_echo "$ac_cv_c_bigendian" >&6; }
|
---|
| 6594 | case $ac_cv_c_bigendian in #(
|
---|
| 6595 | yes)
|
---|
| 6596 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
---|
| 6597 | ;; #(
|
---|
| 6598 | no)
|
---|
| 6599 | ;; #(
|
---|
| 6600 | universal)
|
---|
[16568] | 6601 |
|
---|
[23356] | 6602 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
---|
[16568] | 6603 |
|
---|
[23356] | 6604 | ;; #(
|
---|
| 6605 | *)
|
---|
| 6606 | as_fn_error $? "unknown endianness
|
---|
| 6607 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
---|
| 6608 | esac
|
---|
| 6609 |
|
---|
[16568] | 6610 | # ---------------------------------------------------------------------------
|
---|
| 6611 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[23356] | 6612 | case " $LIBOBJS " in
|
---|
[16568] | 6613 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[23356] | 6614 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 6615 | ;;
|
---|
[16568] | 6616 | esac
|
---|
| 6617 |
|
---|
[23356] | 6618 | case " $LIBOBJS " in
|
---|
[16568] | 6619 | *" error.$ac_objext "* ) ;;
|
---|
[23356] | 6620 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6621 | ;;
|
---|
[16568] | 6622 | esac
|
---|
| 6623 |
|
---|
| 6624 | fi
|
---|
| 6625 |
|
---|
| 6626 | # ---------------------------------------------------------------------------
|
---|
| 6627 |
|
---|
| 6628 |
|
---|
| 6629 | moduleDirs=""
|
---|
| 6630 | MODULEDIRS=""
|
---|
[19825] | 6631 | if test -d modules ; then
|
---|
[16568] | 6632 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 6633 | if test -d "$x"; then
|
---|
| 6634 | d="$x/Makefile.in"
|
---|
| 6635 | if test -e "$d"; then
|
---|
| 6636 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 6637 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 6638 | fi
|
---|
| 6639 | fi
|
---|
| 6640 | done
|
---|
| 6641 | echo "Making $moduleDirs in modules directory"
|
---|
| 6642 |
|
---|
| 6643 | fi
|
---|
| 6644 |
|
---|
| 6645 |
|
---|
[20854] | 6646 |
|
---|
| 6647 |
|
---|
[16568] | 6648 | subdirs="$subdirs packages"
|
---|
| 6649 |
|
---|
| 6650 |
|
---|
| 6651 | # the list of folders in the src folder
|
---|
| 6652 | srclist="src/colservr/Makefile \
|
---|
| 6653 | src/corba/Makefile \
|
---|
| 6654 | src/protocol/Makefile \
|
---|
| 6655 | src/recpt/Makefile \
|
---|
| 6656 | src/oaiservr/Makefile \
|
---|
[23356] | 6657 | src/z3950/Makefile \
|
---|
| 6658 | src/java/org/nzdl/gsdl/GsdlCollageApplet/Makefile \
|
---|
| 6659 | src/java/org/nzdl/gsdl/Phind/Makefile"
|
---|
[16568] | 6660 |
|
---|
[23356] | 6661 | ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
|
---|
| 6662 |
|
---|
[16568] | 6663 | cat >confcache <<\_ACEOF
|
---|
| 6664 | # This file is a shell script that caches the results of configure
|
---|
| 6665 | # tests run on this system so they can be shared between configure
|
---|
| 6666 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 6667 | # It is not useful on other systems. If it contains results you don't
|
---|
| 6668 | # want to keep, you may remove or edit it.
|
---|
| 6669 | #
|
---|
| 6670 | # config.status only pays attention to the cache file if you give it
|
---|
| 6671 | # the --recheck option to rerun configure.
|
---|
| 6672 | #
|
---|
| 6673 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6674 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6675 | # following values.
|
---|
| 6676 |
|
---|
| 6677 | _ACEOF
|
---|
| 6678 |
|
---|
| 6679 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6680 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[23356] | 6681 | # So, we kill variables containing newlines.
|
---|
[16568] | 6682 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6683 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[23356] | 6684 | (
|
---|
| 6685 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 6686 | eval ac_val=\$$ac_var
|
---|
| 6687 | case $ac_val in #(
|
---|
| 6688 | *${as_nl}*)
|
---|
| 6689 | case $ac_var in #(
|
---|
| 6690 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 6691 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 6692 | esac
|
---|
| 6693 | case $ac_var in #(
|
---|
| 6694 | _ | IFS | as_nl) ;; #(
|
---|
| 6695 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 6696 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 6697 | esac ;;
|
---|
| 6698 | esac
|
---|
| 6699 | done
|
---|
| 6700 |
|
---|
[16568] | 6701 | (set) 2>&1 |
|
---|
[23356] | 6702 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 6703 | *${as_nl}ac_space=\ *)
|
---|
| 6704 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 6705 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
[16568] | 6706 | sed -n \
|
---|
| 6707 | "s/'/'\\\\''/g;
|
---|
| 6708 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[23356] | 6709 | ;; #(
|
---|
[16568] | 6710 | *)
|
---|
| 6711 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[23356] | 6712 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16568] | 6713 | ;;
|
---|
[23356] | 6714 | esac |
|
---|
| 6715 | sort
|
---|
| 6716 | ) |
|
---|
[16568] | 6717 | sed '
|
---|
[23356] | 6718 | /^ac_cv_env_/b end
|
---|
[16568] | 6719 | t clear
|
---|
[23356] | 6720 | :clear
|
---|
[16568] | 6721 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6722 | t end
|
---|
[23356] | 6723 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6724 | :end' >>confcache
|
---|
| 6725 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 6726 | if test -w "$cache_file"; then
|
---|
| 6727 | test "x$cache_file" != "x/dev/null" &&
|
---|
| 6728 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
| 6729 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[16568] | 6730 | cat confcache >$cache_file
|
---|
| 6731 | else
|
---|
[23356] | 6732 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
| 6733 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[16568] | 6734 | fi
|
---|
| 6735 | fi
|
---|
| 6736 | rm -f confcache
|
---|
| 6737 |
|
---|
| 6738 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6739 | # Let make expand exec_prefix.
|
---|
| 6740 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6741 |
|
---|
| 6742 | DEFS=-DHAVE_CONFIG_H
|
---|
| 6743 |
|
---|
| 6744 | ac_libobjs=
|
---|
| 6745 | ac_ltlibobjs=
|
---|
[23356] | 6746 | U=
|
---|
[16568] | 6747 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6748 | # 1. Remove the extension, and $U if already installed.
|
---|
[23356] | 6749 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 6750 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 6751 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 6752 | # will be set to the directory where LIBOBJS objects are built.
|
---|
| 6753 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 6754 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[16568] | 6755 | done
|
---|
| 6756 | LIBOBJS=$ac_libobjs
|
---|
| 6757 |
|
---|
| 6758 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6759 |
|
---|
| 6760 |
|
---|
| 6761 |
|
---|
[23356] | 6762 |
|
---|
[16568] | 6763 | : ${CONFIG_STATUS=./config.status}
|
---|
[23356] | 6764 | ac_write_fail=0
|
---|
[16568] | 6765 | ac_clean_files_save=$ac_clean_files
|
---|
| 6766 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[23356] | 6767 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
| 6768 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 6769 | as_write_fail=0
|
---|
| 6770 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
[16568] | 6771 | #! $SHELL
|
---|
| 6772 | # Generated by $as_me.
|
---|
| 6773 | # Run this file to recreate the current configuration.
|
---|
| 6774 | # Compiler output produced by configure, useful for debugging
|
---|
| 6775 | # configure, is in config.log if it exists.
|
---|
| 6776 |
|
---|
| 6777 | debug=false
|
---|
| 6778 | ac_cs_recheck=false
|
---|
| 6779 | ac_cs_silent=false
|
---|
[23356] | 6780 |
|
---|
[16568] | 6781 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[23356] | 6782 | export SHELL
|
---|
| 6783 | _ASEOF
|
---|
| 6784 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 6785 | ## -------------------- ##
|
---|
| 6786 | ## M4sh Initialization. ##
|
---|
| 6787 | ## -------------------- ##
|
---|
[16568] | 6788 |
|
---|
[23356] | 6789 | # Be more Bourne compatible
|
---|
| 6790 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 6791 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16568] | 6792 | emulate sh
|
---|
| 6793 | NULLCMD=:
|
---|
[23356] | 6794 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16568] | 6795 | # is contrary to our usage. Disable this feature.
|
---|
| 6796 | alias -g '${1+"$@"}'='"$@"'
|
---|
[23356] | 6797 | setopt NO_GLOB_SUBST
|
---|
| 6798 | else
|
---|
| 6799 | case `(set -o) 2>/dev/null` in #(
|
---|
| 6800 | *posix*) :
|
---|
| 6801 | set -o posix ;; #(
|
---|
| 6802 | *) :
|
---|
| 6803 | ;;
|
---|
| 6804 | esac
|
---|
[16568] | 6805 | fi
|
---|
| 6806 |
|
---|
[23356] | 6807 |
|
---|
| 6808 | as_nl='
|
---|
| 6809 | '
|
---|
| 6810 | export as_nl
|
---|
| 6811 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 6812 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 6813 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6814 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6815 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 6816 | # but without wasting forks for bash or zsh.
|
---|
| 6817 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 6818 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6819 | as_echo='print -r --'
|
---|
| 6820 | as_echo_n='print -rn --'
|
---|
| 6821 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6822 | as_echo='printf %s\n'
|
---|
| 6823 | as_echo_n='printf %s'
|
---|
[16568] | 6824 | else
|
---|
[23356] | 6825 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 6826 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 6827 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 6828 | else
|
---|
| 6829 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 6830 | as_echo_n_body='eval
|
---|
| 6831 | arg=$1;
|
---|
| 6832 | case $arg in #(
|
---|
| 6833 | *"$as_nl"*)
|
---|
| 6834 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 6835 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 6836 | esac;
|
---|
| 6837 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 6838 | '
|
---|
| 6839 | export as_echo_n_body
|
---|
| 6840 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 6841 | fi
|
---|
| 6842 | export as_echo_body
|
---|
| 6843 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[16568] | 6844 | fi
|
---|
| 6845 |
|
---|
[23356] | 6846 | # The user is always right.
|
---|
| 6847 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6848 | PATH_SEPARATOR=:
|
---|
| 6849 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 6850 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 6851 | PATH_SEPARATOR=';'
|
---|
| 6852 | }
|
---|
| 6853 | fi
|
---|
[16568] | 6854 |
|
---|
[23356] | 6855 |
|
---|
| 6856 | # IFS
|
---|
| 6857 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 6858 | # there to prevent editors from complaining about space-tab.
|
---|
| 6859 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 6860 | # splitting by setting IFS to empty value.)
|
---|
| 6861 | IFS=" "" $as_nl"
|
---|
| 6862 |
|
---|
| 6863 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 6864 | case $0 in #((
|
---|
| 6865 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6866 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6867 | for as_dir in $PATH
|
---|
| 6868 | do
|
---|
| 6869 | IFS=$as_save_IFS
|
---|
| 6870 | test -z "$as_dir" && as_dir=.
|
---|
| 6871 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6872 | done
|
---|
| 6873 | IFS=$as_save_IFS
|
---|
| 6874 |
|
---|
| 6875 | ;;
|
---|
| 6876 | esac
|
---|
| 6877 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6878 | # in which case we are not to be found in the path.
|
---|
| 6879 | if test "x$as_myself" = x; then
|
---|
| 6880 | as_myself=$0
|
---|
| 6881 | fi
|
---|
| 6882 | if test ! -f "$as_myself"; then
|
---|
| 6883 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 6884 | exit 1
|
---|
| 6885 | fi
|
---|
| 6886 |
|
---|
| 6887 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 6888 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 6889 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 6890 | # trigger a bug in pdksh 5.2.14.
|
---|
| 6891 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 6892 | do eval test x\${$as_var+set} = xset \
|
---|
| 6893 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 6894 | done
|
---|
[16568] | 6895 | PS1='$ '
|
---|
| 6896 | PS2='> '
|
---|
| 6897 | PS4='+ '
|
---|
| 6898 |
|
---|
| 6899 | # NLS nuisances.
|
---|
[23356] | 6900 | LC_ALL=C
|
---|
| 6901 | export LC_ALL
|
---|
| 6902 | LANGUAGE=C
|
---|
| 6903 | export LANGUAGE
|
---|
| 6904 |
|
---|
| 6905 | # CDPATH.
|
---|
| 6906 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 6907 |
|
---|
| 6908 |
|
---|
| 6909 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 6910 | # ----------------------------------------
|
---|
| 6911 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 6912 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 6913 | # script with STATUS, using 1 if that was 0.
|
---|
| 6914 | as_fn_error ()
|
---|
| 6915 | {
|
---|
| 6916 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 6917 | if test "$4"; then
|
---|
| 6918 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 6919 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
[16568] | 6920 | fi
|
---|
[23356] | 6921 | $as_echo "$as_me: error: $2" >&2
|
---|
| 6922 | as_fn_exit $as_status
|
---|
| 6923 | } # as_fn_error
|
---|
[16568] | 6924 |
|
---|
[23356] | 6925 |
|
---|
| 6926 | # as_fn_set_status STATUS
|
---|
| 6927 | # -----------------------
|
---|
| 6928 | # Set $? to STATUS, without forking.
|
---|
| 6929 | as_fn_set_status ()
|
---|
| 6930 | {
|
---|
| 6931 | return $1
|
---|
| 6932 | } # as_fn_set_status
|
---|
| 6933 |
|
---|
| 6934 | # as_fn_exit STATUS
|
---|
| 6935 | # -----------------
|
---|
| 6936 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 6937 | as_fn_exit ()
|
---|
| 6938 | {
|
---|
| 6939 | set +e
|
---|
| 6940 | as_fn_set_status $1
|
---|
| 6941 | exit $1
|
---|
| 6942 | } # as_fn_exit
|
---|
| 6943 |
|
---|
| 6944 | # as_fn_unset VAR
|
---|
| 6945 | # ---------------
|
---|
| 6946 | # Portably unset VAR.
|
---|
| 6947 | as_fn_unset ()
|
---|
| 6948 | {
|
---|
| 6949 | { eval $1=; unset $1;}
|
---|
| 6950 | }
|
---|
| 6951 | as_unset=as_fn_unset
|
---|
| 6952 | # as_fn_append VAR VALUE
|
---|
| 6953 | # ----------------------
|
---|
| 6954 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 6955 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 6956 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 6957 | # implementations.
|
---|
| 6958 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 6959 | eval 'as_fn_append ()
|
---|
| 6960 | {
|
---|
| 6961 | eval $1+=\$2
|
---|
| 6962 | }'
|
---|
| 6963 | else
|
---|
| 6964 | as_fn_append ()
|
---|
| 6965 | {
|
---|
| 6966 | eval $1=\$$1\$2
|
---|
| 6967 | }
|
---|
| 6968 | fi # as_fn_append
|
---|
| 6969 |
|
---|
| 6970 | # as_fn_arith ARG...
|
---|
| 6971 | # ------------------
|
---|
| 6972 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 6973 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 6974 | # must be portable across $(()) and expr.
|
---|
| 6975 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 6976 | eval 'as_fn_arith ()
|
---|
| 6977 | {
|
---|
| 6978 | as_val=$(( $* ))
|
---|
| 6979 | }'
|
---|
| 6980 | else
|
---|
| 6981 | as_fn_arith ()
|
---|
| 6982 | {
|
---|
| 6983 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 6984 | }
|
---|
| 6985 | fi # as_fn_arith
|
---|
| 6986 |
|
---|
| 6987 |
|
---|
| 6988 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 6989 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16568] | 6990 | as_expr=expr
|
---|
| 6991 | else
|
---|
| 6992 | as_expr=false
|
---|
| 6993 | fi
|
---|
| 6994 |
|
---|
[23356] | 6995 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16568] | 6996 | as_basename=basename
|
---|
| 6997 | else
|
---|
| 6998 | as_basename=false
|
---|
| 6999 | fi
|
---|
| 7000 |
|
---|
[23356] | 7001 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 7002 | as_dirname=dirname
|
---|
| 7003 | else
|
---|
| 7004 | as_dirname=false
|
---|
| 7005 | fi
|
---|
[16568] | 7006 |
|
---|
[23356] | 7007 | as_me=`$as_basename -- "$0" ||
|
---|
[16568] | 7008 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7009 | X"$0" : 'X\(//\)$' \| \
|
---|
[23356] | 7010 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7011 | $as_echo X/"$0" |
|
---|
| 7012 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 7013 | s//\1/
|
---|
| 7014 | q
|
---|
| 7015 | }
|
---|
| 7016 | /^X\/\(\/\/\)$/{
|
---|
| 7017 | s//\1/
|
---|
| 7018 | q
|
---|
| 7019 | }
|
---|
| 7020 | /^X\/\(\/\).*/{
|
---|
| 7021 | s//\1/
|
---|
| 7022 | q
|
---|
| 7023 | }
|
---|
| 7024 | s/.*/./; q'`
|
---|
[16568] | 7025 |
|
---|
[20854] | 7026 | # Avoid depending upon Character Ranges.
|
---|
| 7027 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7028 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7029 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7030 | as_cr_digits='0123456789'
|
---|
| 7031 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[16568] | 7032 |
|
---|
[23356] | 7033 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 7034 | case `echo -n x` in #(((((
|
---|
| 7035 | -n*)
|
---|
| 7036 | case `echo 'xy\c'` in
|
---|
| 7037 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 7038 | xy) ECHO_C='\c';;
|
---|
| 7039 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 7040 | ECHO_T=' ';;
|
---|
| 7041 | esac;;
|
---|
| 7042 | *)
|
---|
| 7043 | ECHO_N='-n';;
|
---|
[16568] | 7044 | esac
|
---|
| 7045 |
|
---|
[23356] | 7046 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 7047 | if test -d conf$$.dir; then
|
---|
| 7048 | rm -f conf$$.dir/conf$$.file
|
---|
[16568] | 7049 | else
|
---|
[23356] | 7050 | rm -f conf$$.dir
|
---|
| 7051 | mkdir conf$$.dir 2>/dev/null
|
---|
[16568] | 7052 | fi
|
---|
[23356] | 7053 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 7054 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7055 | as_ln_s='ln -s'
|
---|
| 7056 | # ... but there are two gotchas:
|
---|
| 7057 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 7058 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 7059 | # In both cases, we have to default to `cp -p'.
|
---|
| 7060 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 7061 | as_ln_s='cp -p'
|
---|
| 7062 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7063 | as_ln_s=ln
|
---|
| 7064 | else
|
---|
[16568] | 7065 | as_ln_s='cp -p'
|
---|
[20854] | 7066 | fi
|
---|
[16568] | 7067 | else
|
---|
| 7068 | as_ln_s='cp -p'
|
---|
| 7069 | fi
|
---|
[23356] | 7070 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 7071 | rmdir conf$$.dir 2>/dev/null
|
---|
[16568] | 7072 |
|
---|
[23356] | 7073 |
|
---|
| 7074 | # as_fn_mkdir_p
|
---|
| 7075 | # -------------
|
---|
| 7076 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 7077 | as_fn_mkdir_p ()
|
---|
| 7078 | {
|
---|
| 7079 |
|
---|
| 7080 | case $as_dir in #(
|
---|
| 7081 | -*) as_dir=./$as_dir;;
|
---|
| 7082 | esac
|
---|
| 7083 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 7084 | as_dirs=
|
---|
| 7085 | while :; do
|
---|
| 7086 | case $as_dir in #(
|
---|
| 7087 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 7088 | *) as_qdir=$as_dir;;
|
---|
| 7089 | esac
|
---|
| 7090 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 7091 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 7092 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7093 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 7094 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 7095 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7096 | $as_echo X"$as_dir" |
|
---|
| 7097 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7098 | s//\1/
|
---|
| 7099 | q
|
---|
| 7100 | }
|
---|
| 7101 | /^X\(\/\/\)[^/].*/{
|
---|
| 7102 | s//\1/
|
---|
| 7103 | q
|
---|
| 7104 | }
|
---|
| 7105 | /^X\(\/\/\)$/{
|
---|
| 7106 | s//\1/
|
---|
| 7107 | q
|
---|
| 7108 | }
|
---|
| 7109 | /^X\(\/\).*/{
|
---|
| 7110 | s//\1/
|
---|
| 7111 | q
|
---|
| 7112 | }
|
---|
| 7113 | s/.*/./; q'`
|
---|
| 7114 | test -d "$as_dir" && break
|
---|
| 7115 | done
|
---|
| 7116 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 7117 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 7118 |
|
---|
| 7119 |
|
---|
| 7120 | } # as_fn_mkdir_p
|
---|
[16568] | 7121 | if mkdir -p . 2>/dev/null; then
|
---|
[23356] | 7122 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16568] | 7123 | else
|
---|
| 7124 | test -d ./-p && rmdir ./-p
|
---|
| 7125 | as_mkdir_p=false
|
---|
| 7126 | fi
|
---|
| 7127 |
|
---|
[23356] | 7128 | if test -x / >/dev/null 2>&1; then
|
---|
| 7129 | as_test_x='test -x'
|
---|
| 7130 | else
|
---|
| 7131 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 7132 | as_ls_L_option=L
|
---|
| 7133 | else
|
---|
| 7134 | as_ls_L_option=
|
---|
| 7135 | fi
|
---|
| 7136 | as_test_x='
|
---|
| 7137 | eval sh -c '\''
|
---|
| 7138 | if test -d "$1"; then
|
---|
| 7139 | test -d "$1/.";
|
---|
| 7140 | else
|
---|
| 7141 | case $1 in #(
|
---|
| 7142 | -*)set "./$1";;
|
---|
| 7143 | esac;
|
---|
| 7144 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
| 7145 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 7146 | '\'' sh
|
---|
| 7147 | '
|
---|
| 7148 | fi
|
---|
| 7149 | as_executable_p=$as_test_x
|
---|
[16568] | 7150 |
|
---|
| 7151 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7152 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7153 |
|
---|
| 7154 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7155 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7156 |
|
---|
| 7157 |
|
---|
| 7158 | exec 6>&1
|
---|
[23356] | 7159 | ## ----------------------------------- ##
|
---|
| 7160 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 7161 | ## ----------------------------------- ##
|
---|
| 7162 | _ASEOF
|
---|
| 7163 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
[16568] | 7164 |
|
---|
[23356] | 7165 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7166 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
[16568] | 7167 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[23356] | 7168 | # values after options handling.
|
---|
| 7169 | ac_log="
|
---|
[16568] | 7170 | This file was extended by $as_me, which was
|
---|
[23356] | 7171 | generated by GNU Autoconf 2.67. Invocation command line was
|
---|
[16568] | 7172 |
|
---|
| 7173 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 7174 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 7175 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 7176 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 7177 | $ $0 $@
|
---|
| 7178 |
|
---|
[23356] | 7179 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 7180 | "
|
---|
| 7181 |
|
---|
[16568] | 7182 | _ACEOF
|
---|
| 7183 |
|
---|
[23356] | 7184 | case $ac_config_files in *"
|
---|
| 7185 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 7186 | esac
|
---|
[16568] | 7187 |
|
---|
[23356] | 7188 | case $ac_config_headers in *"
|
---|
| 7189 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 7190 | esac
|
---|
[16568] | 7191 |
|
---|
[20854] | 7192 |
|
---|
[23356] | 7193 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7194 | # Files that config.status was made for.
|
---|
| 7195 | config_files="$ac_config_files"
|
---|
| 7196 | config_headers="$ac_config_headers"
|
---|
[20854] | 7197 |
|
---|
[23356] | 7198 | _ACEOF
|
---|
[20854] | 7199 |
|
---|
[23356] | 7200 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16568] | 7201 | ac_cs_usage="\
|
---|
[23356] | 7202 | \`$as_me' instantiates files and other configuration actions
|
---|
| 7203 | from templates according to the current configuration. Unless the files
|
---|
| 7204 | and actions are specified as TAGs, all are instantiated by default.
|
---|
[16568] | 7205 |
|
---|
[23356] | 7206 | Usage: $0 [OPTION]... [TAG]...
|
---|
[16568] | 7207 |
|
---|
| 7208 | -h, --help print this help, then exit
|
---|
[23356] | 7209 | -V, --version print version number and configuration settings, then exit
|
---|
| 7210 | --config print configuration, then exit
|
---|
| 7211 | -q, --quiet, --silent
|
---|
| 7212 | do not print progress messages
|
---|
[16568] | 7213 | -d, --debug don't remove temporary files
|
---|
| 7214 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[23356] | 7215 | --file=FILE[:TEMPLATE]
|
---|
| 7216 | instantiate the configuration file FILE
|
---|
| 7217 | --header=FILE[:TEMPLATE]
|
---|
| 7218 | instantiate the configuration header FILE
|
---|
[16568] | 7219 |
|
---|
| 7220 | Configuration files:
|
---|
| 7221 | $config_files
|
---|
| 7222 |
|
---|
| 7223 | Configuration headers:
|
---|
| 7224 | $config_headers
|
---|
| 7225 |
|
---|
[23356] | 7226 | Report bugs to the package provider."
|
---|
| 7227 |
|
---|
[20854] | 7228 | _ACEOF
|
---|
[23356] | 7229 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7230 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
[16568] | 7231 | ac_cs_version="\\
|
---|
| 7232 | config.status
|
---|
[23356] | 7233 | configured by $0, generated by GNU Autoconf 2.67,
|
---|
| 7234 | with options \\"\$ac_cs_config\\"
|
---|
[16568] | 7235 |
|
---|
[23356] | 7236 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16568] | 7237 | This config.status script is free software; the Free Software Foundation
|
---|
| 7238 | gives unlimited permission to copy, distribute and modify it."
|
---|
[23356] | 7239 |
|
---|
| 7240 | ac_pwd='$ac_pwd'
|
---|
| 7241 | srcdir='$srcdir'
|
---|
| 7242 | INSTALL='$INSTALL'
|
---|
| 7243 | AWK='$AWK'
|
---|
| 7244 | test -n "\$AWK" || AWK=awk
|
---|
[16568] | 7245 | _ACEOF
|
---|
| 7246 |
|
---|
[23356] | 7247 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7248 | # The default lists apply if the user does not specify any file.
|
---|
[16568] | 7249 | ac_need_defaults=:
|
---|
| 7250 | while test $# != 0
|
---|
| 7251 | do
|
---|
| 7252 | case $1 in
|
---|
[23356] | 7253 | --*=?*)
|
---|
| 7254 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7255 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[16568] | 7256 | ac_shift=:
|
---|
| 7257 | ;;
|
---|
[23356] | 7258 | --*=)
|
---|
| 7259 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7260 | ac_optarg=
|
---|
| 7261 | ac_shift=:
|
---|
| 7262 | ;;
|
---|
| 7263 | *)
|
---|
[16568] | 7264 | ac_option=$1
|
---|
| 7265 | ac_optarg=$2
|
---|
| 7266 | ac_shift=shift
|
---|
| 7267 | ;;
|
---|
| 7268 | esac
|
---|
| 7269 |
|
---|
| 7270 | case $ac_option in
|
---|
| 7271 | # Handling of the options.
|
---|
| 7272 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 7273 | ac_cs_recheck=: ;;
|
---|
[23356] | 7274 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 7275 | $as_echo "$ac_cs_version"; exit ;;
|
---|
| 7276 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 7277 | $as_echo "$ac_cs_config"; exit ;;
|
---|
| 7278 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[16568] | 7279 | debug=: ;;
|
---|
| 7280 | --file | --fil | --fi | --f )
|
---|
| 7281 | $ac_shift
|
---|
[23356] | 7282 | case $ac_optarg in
|
---|
| 7283 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7284 | '') as_fn_error $? "missing file argument" ;;
|
---|
| 7285 | esac
|
---|
| 7286 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
[16568] | 7287 | ac_need_defaults=false;;
|
---|
| 7288 | --header | --heade | --head | --hea )
|
---|
| 7289 | $ac_shift
|
---|
[23356] | 7290 | case $ac_optarg in
|
---|
| 7291 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7292 | esac
|
---|
| 7293 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
[16568] | 7294 | ac_need_defaults=false;;
|
---|
[23356] | 7295 | --he | --h)
|
---|
| 7296 | # Conflict between --help and --header
|
---|
| 7297 | as_fn_error $? "ambiguous option: \`$1'
|
---|
| 7298 | Try \`$0 --help' for more information.";;
|
---|
| 7299 | --help | --hel | -h )
|
---|
| 7300 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[16568] | 7301 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 7302 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 7303 | ac_cs_silent=: ;;
|
---|
| 7304 |
|
---|
| 7305 | # This is an error.
|
---|
[23356] | 7306 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
| 7307 | Try \`$0 --help' for more information." ;;
|
---|
[16568] | 7308 |
|
---|
[23356] | 7309 | *) as_fn_append ac_config_targets " $1"
|
---|
| 7310 | ac_need_defaults=false ;;
|
---|
[16568] | 7311 |
|
---|
| 7312 | esac
|
---|
| 7313 | shift
|
---|
| 7314 | done
|
---|
| 7315 |
|
---|
| 7316 | ac_configure_extra_args=
|
---|
| 7317 |
|
---|
| 7318 | if $ac_cs_silent; then
|
---|
| 7319 | exec 6>/dev/null
|
---|
| 7320 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 7321 | fi
|
---|
| 7322 |
|
---|
| 7323 | _ACEOF
|
---|
[23356] | 7324 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[16568] | 7325 | if \$ac_cs_recheck; then
|
---|
[23356] | 7326 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 7327 | shift
|
---|
| 7328 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 7329 | CONFIG_SHELL='$SHELL'
|
---|
| 7330 | export CONFIG_SHELL
|
---|
| 7331 | exec "\$@"
|
---|
[16568] | 7332 | fi
|
---|
| 7333 |
|
---|
| 7334 | _ACEOF
|
---|
[23356] | 7335 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7336 | exec 5>>config.log
|
---|
| 7337 | {
|
---|
| 7338 | echo
|
---|
| 7339 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7340 | ## Running $as_me. ##
|
---|
| 7341 | _ASBOX
|
---|
| 7342 | $as_echo "$ac_log"
|
---|
| 7343 | } >&5
|
---|
[16568] | 7344 |
|
---|
[23356] | 7345 | _ACEOF
|
---|
| 7346 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7347 | _ACEOF
|
---|
[16568] | 7348 |
|
---|
[23356] | 7349 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[20854] | 7350 |
|
---|
[23356] | 7351 | # Handling of arguments.
|
---|
[16568] | 7352 | for ac_config_target in $ac_config_targets
|
---|
| 7353 | do
|
---|
[23356] | 7354 | case $ac_config_target in
|
---|
| 7355 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 7356 | "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
|
---|
| 7357 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 7358 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 7359 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 7360 |
|
---|
| 7361 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
|
---|
[16568] | 7362 | esac
|
---|
| 7363 | done
|
---|
| 7364 |
|
---|
[23356] | 7365 |
|
---|
[16568] | 7366 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7367 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7368 | # We use the long form for the default assignment because of an extremely
|
---|
| 7369 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7370 | if $ac_need_defaults; then
|
---|
| 7371 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7372 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7373 | fi
|
---|
| 7374 |
|
---|
| 7375 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[23356] | 7376 | # simply because there is no reason against having it here, and in addition,
|
---|
[16568] | 7377 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[23356] | 7378 | # Hook for its removal unless debugging.
|
---|
| 7379 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 7380 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[16568] | 7381 | $debug ||
|
---|
| 7382 | {
|
---|
[23356] | 7383 | tmp=
|
---|
| 7384 | trap 'exit_status=$?
|
---|
| 7385 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
| 7386 | ' 0
|
---|
| 7387 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
[16568] | 7388 | }
|
---|
| 7389 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7390 |
|
---|
| 7391 | {
|
---|
[23356] | 7392 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[16568] | 7393 | test -n "$tmp" && test -d "$tmp"
|
---|
| 7394 | } ||
|
---|
| 7395 | {
|
---|
[23356] | 7396 | tmp=./conf$$-$RANDOM
|
---|
| 7397 | (umask 077 && mkdir "$tmp")
|
---|
| 7398 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
| 7399 |
|
---|
| 7400 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 7401 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 7402 | # This happens for instance with `./config.status config.h'.
|
---|
| 7403 | if test -n "$CONFIG_FILES"; then
|
---|
| 7404 |
|
---|
| 7405 |
|
---|
| 7406 | ac_cr=`echo X | tr X '\015'`
|
---|
| 7407 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 7408 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 7409 | # point, so we can use a bashism as a fallback.
|
---|
| 7410 | if test "x$ac_cr" = x; then
|
---|
| 7411 | eval ac_cr=\$\'\\r\'
|
---|
| 7412 | fi
|
---|
| 7413 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 7414 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
| 7415 | ac_cs_awk_cr='\\r'
|
---|
| 7416 | else
|
---|
| 7417 | ac_cs_awk_cr=$ac_cr
|
---|
| 7418 | fi
|
---|
| 7419 |
|
---|
| 7420 | echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
---|
| 7421 | _ACEOF
|
---|
| 7422 |
|
---|
| 7423 |
|
---|
[16568] | 7424 | {
|
---|
[23356] | 7425 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 7426 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 7427 | echo "_ACEOF"
|
---|
| 7428 | } >conf$$subs.sh ||
|
---|
| 7429 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7430 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
| 7431 | ac_delim='%!_!# '
|
---|
| 7432 | for ac_last_try in false false false false false :; do
|
---|
| 7433 | . ./conf$$subs.sh ||
|
---|
| 7434 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7435 |
|
---|
| 7436 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 7437 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 7438 | break
|
---|
| 7439 | elif $ac_last_try; then
|
---|
| 7440 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7441 | else
|
---|
| 7442 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7443 | fi
|
---|
| 7444 | done
|
---|
| 7445 | rm -f conf$$subs.sh
|
---|
| 7446 |
|
---|
| 7447 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7448 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
---|
| 7449 | _ACEOF
|
---|
| 7450 | sed -n '
|
---|
| 7451 | h
|
---|
| 7452 | s/^/S["/; s/!.*/"]=/
|
---|
| 7453 | p
|
---|
| 7454 | g
|
---|
| 7455 | s/^[^!]*!//
|
---|
| 7456 | :repl
|
---|
| 7457 | t repl
|
---|
| 7458 | s/'"$ac_delim"'$//
|
---|
| 7459 | t delim
|
---|
| 7460 | :nl
|
---|
| 7461 | h
|
---|
| 7462 | s/\(.\{148\}\)..*/\1/
|
---|
| 7463 | t more1
|
---|
| 7464 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 7465 | p
|
---|
| 7466 | n
|
---|
| 7467 | b repl
|
---|
| 7468 | :more1
|
---|
| 7469 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7470 | p
|
---|
| 7471 | g
|
---|
| 7472 | s/.\{148\}//
|
---|
| 7473 | t nl
|
---|
| 7474 | :delim
|
---|
| 7475 | h
|
---|
| 7476 | s/\(.\{148\}\)..*/\1/
|
---|
| 7477 | t more2
|
---|
| 7478 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 7479 | p
|
---|
| 7480 | b
|
---|
| 7481 | :more2
|
---|
| 7482 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7483 | p
|
---|
| 7484 | g
|
---|
| 7485 | s/.\{148\}//
|
---|
| 7486 | t delim
|
---|
| 7487 | ' <conf$$subs.awk | sed '
|
---|
| 7488 | /^[^""]/{
|
---|
| 7489 | N
|
---|
| 7490 | s/\n//
|
---|
[16568] | 7491 | }
|
---|
[23356] | 7492 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7493 | rm -f conf$$subs.awk
|
---|
| 7494 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7495 | _ACAWK
|
---|
| 7496 | cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
---|
| 7497 | for (key in S) S_is_set[key] = 1
|
---|
| 7498 | FS = ""
|
---|
[16568] | 7499 |
|
---|
[23356] | 7500 | }
|
---|
| 7501 | {
|
---|
| 7502 | line = $ 0
|
---|
| 7503 | nfields = split(line, field, "@")
|
---|
| 7504 | substed = 0
|
---|
| 7505 | len = length(field[1])
|
---|
| 7506 | for (i = 2; i < nfields; i++) {
|
---|
| 7507 | key = field[i]
|
---|
| 7508 | keylen = length(key)
|
---|
| 7509 | if (S_is_set[key]) {
|
---|
| 7510 | value = S[key]
|
---|
| 7511 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 7512 | len += length(value) + length(field[++i])
|
---|
| 7513 | substed = 1
|
---|
| 7514 | } else
|
---|
| 7515 | len += 1 + keylen
|
---|
| 7516 | }
|
---|
| 7517 |
|
---|
| 7518 | print line
|
---|
| 7519 | }
|
---|
| 7520 |
|
---|
| 7521 | _ACAWK
|
---|
[20854] | 7522 | _ACEOF
|
---|
[23356] | 7523 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7524 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 7525 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 7526 | else
|
---|
| 7527 | cat
|
---|
| 7528 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
---|
| 7529 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
| 7530 | _ACEOF
|
---|
[20854] | 7531 |
|
---|
[23356] | 7532 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 7533 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
| 7534 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7535 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7536 | if test "x$srcdir" = x.; then
|
---|
| 7537 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 7538 | h
|
---|
| 7539 | s///
|
---|
| 7540 | s/^/:/
|
---|
| 7541 | s/[ ]*$/:/
|
---|
| 7542 | s/:\$(srcdir):/:/g
|
---|
| 7543 | s/:\${srcdir}:/:/g
|
---|
| 7544 | s/:@srcdir@:/:/g
|
---|
| 7545 | s/^:*//
|
---|
| 7546 | s/:*$//
|
---|
| 7547 | x
|
---|
| 7548 | s/\(=[ ]*\).*/\1/
|
---|
| 7549 | G
|
---|
| 7550 | s/\n//
|
---|
| 7551 | s/^[^=]*=[ ]*$//
|
---|
| 7552 | }'
|
---|
| 7553 | fi
|
---|
[20854] | 7554 |
|
---|
[23356] | 7555 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7556 | fi # test -n "$CONFIG_FILES"
|
---|
[16568] | 7557 |
|
---|
[23356] | 7558 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 7559 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 7560 | # This happens for instance with `./config.status Makefile'.
|
---|
| 7561 | if test -n "$CONFIG_HEADERS"; then
|
---|
| 7562 | cat >"$tmp/defines.awk" <<\_ACAWK ||
|
---|
| 7563 | BEGIN {
|
---|
[16568] | 7564 | _ACEOF
|
---|
| 7565 |
|
---|
[23356] | 7566 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 7567 | # here-document in config.status, that substitutes the proper values into
|
---|
| 7568 | # config.h.in to produce config.h.
|
---|
| 7569 |
|
---|
| 7570 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 7571 | # handling of long lines.
|
---|
| 7572 | ac_delim='%!_!# '
|
---|
| 7573 | for ac_last_try in false false :; do
|
---|
| 7574 | ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 7575 | if test -z "$ac_t"; then
|
---|
| 7576 | break
|
---|
| 7577 | elif $ac_last_try; then
|
---|
| 7578 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
| 7579 | else
|
---|
| 7580 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
[16568] | 7581 | fi
|
---|
[23356] | 7582 | done
|
---|
[16568] | 7583 |
|
---|
[23356] | 7584 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 7585 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 7586 | # newline sequences.
|
---|
| 7587 |
|
---|
| 7588 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 7589 | sed -n '
|
---|
| 7590 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7591 | t rset
|
---|
| 7592 | :rset
|
---|
| 7593 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 7594 | t def
|
---|
| 7595 | d
|
---|
| 7596 | :def
|
---|
| 7597 | s/\\$//
|
---|
| 7598 | t bsnl
|
---|
| 7599 | s/["\\]/\\&/g
|
---|
| 7600 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7601 | D["\1"]=" \3"/p
|
---|
| 7602 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 7603 | d
|
---|
| 7604 | :bsnl
|
---|
| 7605 | s/["\\]/\\&/g
|
---|
| 7606 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7607 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 7608 | t cont
|
---|
| 7609 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 7610 | t cont
|
---|
| 7611 | d
|
---|
| 7612 | :cont
|
---|
| 7613 | n
|
---|
| 7614 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7615 | t clear
|
---|
| 7616 | :clear
|
---|
| 7617 | s/\\$//
|
---|
| 7618 | t bsnlc
|
---|
| 7619 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 7620 | d
|
---|
| 7621 | :bsnlc
|
---|
| 7622 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 7623 | b cont
|
---|
| 7624 | ' <confdefs.h | sed '
|
---|
| 7625 | s/'"$ac_delim"'/"\\\
|
---|
| 7626 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7627 |
|
---|
| 7628 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7629 | for (key in D) D_is_set[key] = 1
|
---|
| 7630 | FS = ""
|
---|
| 7631 | }
|
---|
| 7632 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 7633 | line = \$ 0
|
---|
| 7634 | split(line, arg, " ")
|
---|
| 7635 | if (arg[1] == "#") {
|
---|
| 7636 | defundef = arg[2]
|
---|
| 7637 | mac1 = arg[3]
|
---|
| 7638 | } else {
|
---|
| 7639 | defundef = substr(arg[1], 2)
|
---|
| 7640 | mac1 = arg[2]
|
---|
| 7641 | }
|
---|
| 7642 | split(mac1, mac2, "(") #)
|
---|
| 7643 | macro = mac2[1]
|
---|
| 7644 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 7645 | if (D_is_set[macro]) {
|
---|
| 7646 | # Preserve the white space surrounding the "#".
|
---|
| 7647 | print prefix "define", macro P[macro] D[macro]
|
---|
| 7648 | next
|
---|
| 7649 | } else {
|
---|
| 7650 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 7651 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 7652 | # on some systems where configure will not decide to define it.
|
---|
| 7653 | if (defundef == "undef") {
|
---|
| 7654 | print "/*", prefix defundef, macro, "*/"
|
---|
| 7655 | next
|
---|
| 7656 | }
|
---|
| 7657 | }
|
---|
| 7658 | }
|
---|
| 7659 | { print }
|
---|
| 7660 | _ACAWK
|
---|
[16568] | 7661 | _ACEOF
|
---|
[23356] | 7662 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7663 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
| 7664 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 7665 |
|
---|
| 7666 |
|
---|
| 7667 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
---|
| 7668 | shift
|
---|
| 7669 | for ac_tag
|
---|
| 7670 | do
|
---|
| 7671 | case $ac_tag in
|
---|
| 7672 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[16568] | 7673 | esac
|
---|
[23356] | 7674 | case $ac_mode$ac_tag in
|
---|
| 7675 | :[FHL]*:*);;
|
---|
| 7676 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
|
---|
| 7677 | :[FH]-) ac_tag=-:-;;
|
---|
| 7678 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 7679 | esac
|
---|
| 7680 | ac_save_IFS=$IFS
|
---|
| 7681 | IFS=:
|
---|
| 7682 | set x $ac_tag
|
---|
| 7683 | IFS=$ac_save_IFS
|
---|
| 7684 | shift
|
---|
| 7685 | ac_file=$1
|
---|
| 7686 | shift
|
---|
[16568] | 7687 |
|
---|
[23356] | 7688 | case $ac_mode in
|
---|
| 7689 | :L) ac_source=$1;;
|
---|
| 7690 | :[FH])
|
---|
| 7691 | ac_file_inputs=
|
---|
| 7692 | for ac_f
|
---|
| 7693 | do
|
---|
| 7694 | case $ac_f in
|
---|
| 7695 | -) ac_f="$tmp/stdin";;
|
---|
| 7696 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 7697 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 7698 | # because $ac_f cannot contain `:'.
|
---|
| 7699 | test -f "$ac_f" ||
|
---|
| 7700 | case $ac_f in
|
---|
| 7701 | [\\/$]*) false;;
|
---|
| 7702 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 7703 | esac ||
|
---|
| 7704 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
|
---|
| 7705 | esac
|
---|
| 7706 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
| 7707 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
| 7708 | done
|
---|
| 7709 |
|
---|
| 7710 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7711 | # use $as_me), people would be surprised to read:
|
---|
| 7712 | # /* config.h. Generated by config.status. */
|
---|
| 7713 | configure_input='Generated from '`
|
---|
| 7714 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 7715 | `' by configure.'
|
---|
| 7716 | if test x"$ac_file" != x-; then
|
---|
| 7717 | configure_input="$ac_file. $configure_input"
|
---|
| 7718 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
| 7719 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 7720 | fi
|
---|
| 7721 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 7722 | case $configure_input in #(
|
---|
| 7723 | *\&* | *\|* | *\\* )
|
---|
| 7724 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 7725 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 7726 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 7727 | esac
|
---|
| 7728 |
|
---|
| 7729 | case $ac_tag in
|
---|
| 7730 | *:-:* | *:-) cat >"$tmp/stdin" \
|
---|
| 7731 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
| 7732 | esac
|
---|
| 7733 | ;;
|
---|
| 7734 | esac
|
---|
| 7735 |
|
---|
| 7736 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[16568] | 7737 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7738 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7739 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[23356] | 7740 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7741 | $as_echo X"$ac_file" |
|
---|
| 7742 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7743 | s//\1/
|
---|
| 7744 | q
|
---|
| 7745 | }
|
---|
| 7746 | /^X\(\/\/\)[^/].*/{
|
---|
| 7747 | s//\1/
|
---|
| 7748 | q
|
---|
| 7749 | }
|
---|
| 7750 | /^X\(\/\/\)$/{
|
---|
| 7751 | s//\1/
|
---|
| 7752 | q
|
---|
| 7753 | }
|
---|
| 7754 | /^X\(\/\).*/{
|
---|
| 7755 | s//\1/
|
---|
| 7756 | q
|
---|
| 7757 | }
|
---|
| 7758 | s/.*/./; q'`
|
---|
| 7759 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16568] | 7760 | ac_builddir=.
|
---|
| 7761 |
|
---|
[23356] | 7762 | case "$ac_dir" in
|
---|
| 7763 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7764 | *)
|
---|
| 7765 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7766 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7767 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7768 | case $ac_top_builddir_sub in
|
---|
| 7769 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7770 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7771 | esac ;;
|
---|
| 7772 | esac
|
---|
| 7773 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7774 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7775 | # for backward compatibility:
|
---|
| 7776 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16568] | 7777 |
|
---|
| 7778 | case $srcdir in
|
---|
[23356] | 7779 | .) # We are building in place.
|
---|
[16568] | 7780 | ac_srcdir=.
|
---|
[23356] | 7781 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7782 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7783 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16568] | 7784 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 7785 | ac_top_srcdir=$srcdir
|
---|
| 7786 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7787 | *) # Relative name.
|
---|
| 7788 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7789 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7790 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16568] | 7791 | esac
|
---|
[23356] | 7792 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16568] | 7793 |
|
---|
| 7794 |
|
---|
[23356] | 7795 | case $ac_mode in
|
---|
| 7796 | :F)
|
---|
| 7797 | #
|
---|
| 7798 | # CONFIG_FILE
|
---|
| 7799 | #
|
---|
[16568] | 7800 |
|
---|
| 7801 | case $INSTALL in
|
---|
| 7802 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[23356] | 7803 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[16568] | 7804 | esac
|
---|
[23356] | 7805 | _ACEOF
|
---|
[16568] | 7806 |
|
---|
[23356] | 7807 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7808 | # If the template does not know about datarootdir, expand it.
|
---|
| 7809 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 7810 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 7811 | ac_sed_dataroot='
|
---|
| 7812 | /datarootdir/ {
|
---|
| 7813 | p
|
---|
| 7814 | q
|
---|
| 7815 | }
|
---|
| 7816 | /@datadir@/p
|
---|
| 7817 | /@docdir@/p
|
---|
| 7818 | /@infodir@/p
|
---|
| 7819 | /@localedir@/p
|
---|
| 7820 | /@mandir@/p'
|
---|
| 7821 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 7822 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 7823 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
| 7824 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
| 7825 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
| 7826 | _ACEOF
|
---|
| 7827 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7828 | ac_datarootdir_hack='
|
---|
| 7829 | s&@datadir@&$datadir&g
|
---|
| 7830 | s&@docdir@&$docdir&g
|
---|
| 7831 | s&@infodir@&$infodir&g
|
---|
| 7832 | s&@localedir@&$localedir&g
|
---|
| 7833 | s&@mandir@&$mandir&g
|
---|
| 7834 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
| 7835 | esac
|
---|
| 7836 | _ACEOF
|
---|
[16568] | 7837 |
|
---|
[23356] | 7838 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 7839 | # Shell code in configure.ac might set extrasub.
|
---|
| 7840 | # FIXME: do we really want to maintain this feature?
|
---|
| 7841 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7842 | ac_sed_extra="$ac_vpsub
|
---|
[16568] | 7843 | $extrasub
|
---|
| 7844 | _ACEOF
|
---|
[23356] | 7845 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16568] | 7846 | :t
|
---|
| 7847 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[23356] | 7848 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 7849 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 7850 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 7851 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 7852 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 7853 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 7854 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 7855 | s&@builddir@&$ac_builddir&;t t
|
---|
| 7856 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 7857 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 7858 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 7859 | $ac_datarootdir_hack
|
---|
| 7860 | "
|
---|
| 7861 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
---|
| 7862 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16568] | 7863 |
|
---|
[23356] | 7864 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 7865 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 7866 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 7867 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7868 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
| 7869 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7870 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
[16568] | 7871 |
|
---|
[23356] | 7872 | rm -f "$tmp/stdin"
|
---|
[16568] | 7873 | case $ac_file in
|
---|
[23356] | 7874 | -) cat "$tmp/out" && rm -f "$tmp/out";;
|
---|
| 7875 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
---|
| 7876 | esac \
|
---|
| 7877 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7878 | ;;
|
---|
| 7879 | :H)
|
---|
| 7880 | #
|
---|
| 7881 | # CONFIG_HEADER
|
---|
| 7882 | #
|
---|
[16568] | 7883 | if test x"$ac_file" != x-; then
|
---|
[23356] | 7884 | {
|
---|
| 7885 | $as_echo "/* $configure_input */" \
|
---|
| 7886 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 7887 | } >"$tmp/config.h" \
|
---|
| 7888 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7889 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
---|
| 7890 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
| 7891 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[16568] | 7892 | else
|
---|
[23356] | 7893 | rm -f "$ac_file"
|
---|
| 7894 | mv "$tmp/config.h" "$ac_file" \
|
---|
| 7895 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16568] | 7896 | fi
|
---|
| 7897 | else
|
---|
[23356] | 7898 | $as_echo "/* $configure_input */" \
|
---|
| 7899 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
---|
| 7900 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
[16568] | 7901 | fi
|
---|
[23356] | 7902 | ;;
|
---|
[16568] | 7903 |
|
---|
| 7904 |
|
---|
[23356] | 7905 | esac
|
---|
| 7906 |
|
---|
| 7907 | done # for ac_tag
|
---|
| 7908 |
|
---|
| 7909 |
|
---|
| 7910 | as_fn_exit 0
|
---|
[16568] | 7911 | _ACEOF
|
---|
| 7912 | ac_clean_files=$ac_clean_files_save
|
---|
| 7913 |
|
---|
[23356] | 7914 | test $ac_write_fail = 0 ||
|
---|
| 7915 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
[16568] | 7916 |
|
---|
[23356] | 7917 |
|
---|
[16568] | 7918 | # configure is writing to config.log, and then calls config.status.
|
---|
| 7919 | # config.status does its own redirection, appending to config.log.
|
---|
| 7920 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 7921 | # by configure, so config.status won't be able to write to it; its
|
---|
| 7922 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 7923 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 7924 | # appended to by config.status. When coming back to configure, we
|
---|
| 7925 | # need to make the FD available again.
|
---|
| 7926 | if test "$no_create" != yes; then
|
---|
| 7927 | ac_cs_success=:
|
---|
| 7928 | ac_config_status_args=
|
---|
| 7929 | test "$silent" = yes &&
|
---|
| 7930 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 7931 | exec 5>/dev/null
|
---|
| 7932 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 7933 | exec 5>>config.log
|
---|
| 7934 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 7935 | # would make configure fail if this is the last instruction.
|
---|
[23356] | 7936 | $ac_cs_success || as_fn_exit 1
|
---|
[16568] | 7937 | fi
|
---|
| 7938 |
|
---|
| 7939 | #
|
---|
| 7940 | # CONFIG_SUBDIRS section.
|
---|
| 7941 | #
|
---|
| 7942 | if test "$no_recursion" != yes; then
|
---|
| 7943 |
|
---|
[23356] | 7944 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
| 7945 | # so they do not pile up.
|
---|
[16568] | 7946 | ac_sub_configure_args=
|
---|
| 7947 | ac_prev=
|
---|
[23356] | 7948 | eval "set x $ac_configure_args"
|
---|
| 7949 | shift
|
---|
| 7950 | for ac_arg
|
---|
| 7951 | do
|
---|
[16568] | 7952 | if test -n "$ac_prev"; then
|
---|
| 7953 | ac_prev=
|
---|
| 7954 | continue
|
---|
| 7955 | fi
|
---|
| 7956 | case $ac_arg in
|
---|
| 7957 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 7958 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 7959 | ac_prev=cache_file ;;
|
---|
| 7960 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 7961 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 7962 | | --c=*)
|
---|
| 7963 | ;;
|
---|
| 7964 | --config-cache | -C)
|
---|
| 7965 | ;;
|
---|
| 7966 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 7967 | ac_prev=srcdir ;;
|
---|
| 7968 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 7969 | ;;
|
---|
| 7970 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 7971 | ac_prev=prefix ;;
|
---|
| 7972 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 7973 | ;;
|
---|
[23356] | 7974 | --disable-option-checking)
|
---|
| 7975 | ;;
|
---|
| 7976 | *)
|
---|
| 7977 | case $ac_arg in
|
---|
| 7978 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7979 | esac
|
---|
| 7980 | as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
---|
[16568] | 7981 | esac
|
---|
| 7982 | done
|
---|
| 7983 |
|
---|
| 7984 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 7985 | # in subdir configurations.
|
---|
[23356] | 7986 | ac_arg="--prefix=$prefix"
|
---|
| 7987 | case $ac_arg in
|
---|
| 7988 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7989 | esac
|
---|
| 7990 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[16568] | 7991 |
|
---|
[23356] | 7992 | # Pass --silent
|
---|
| 7993 | if test "$silent" = yes; then
|
---|
| 7994 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 7995 | fi
|
---|
| 7996 |
|
---|
| 7997 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
| 7998 | # different subdirs can have different --enable and --with options.
|
---|
| 7999 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
| 8000 |
|
---|
[16568] | 8001 | ac_popdir=`pwd`
|
---|
| 8002 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 8003 |
|
---|
| 8004 | # Do not complain, so a configure script can configure whichever
|
---|
| 8005 | # parts of a large source tree are present.
|
---|
[23356] | 8006 | test -d "$srcdir/$ac_dir" || continue
|
---|
[16568] | 8007 |
|
---|
[23356] | 8008 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
| 8009 | $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
---|
| 8010 | $as_echo "$ac_msg" >&6
|
---|
| 8011 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16568] | 8012 | ac_builddir=.
|
---|
| 8013 |
|
---|
[23356] | 8014 | case "$ac_dir" in
|
---|
| 8015 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8016 | *)
|
---|
| 8017 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 8018 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 8019 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 8020 | case $ac_top_builddir_sub in
|
---|
| 8021 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8022 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8023 | esac ;;
|
---|
| 8024 | esac
|
---|
| 8025 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8026 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8027 | # for backward compatibility:
|
---|
| 8028 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16568] | 8029 |
|
---|
| 8030 | case $srcdir in
|
---|
[23356] | 8031 | .) # We are building in place.
|
---|
[16568] | 8032 | ac_srcdir=.
|
---|
[23356] | 8033 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8034 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8035 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16568] | 8036 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 8037 | ac_top_srcdir=$srcdir
|
---|
| 8038 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8039 | *) # Relative name.
|
---|
| 8040 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8041 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8042 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16568] | 8043 | esac
|
---|
[23356] | 8044 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16568] | 8045 |
|
---|
| 8046 |
|
---|
[23356] | 8047 | cd "$ac_dir"
|
---|
[16568] | 8048 |
|
---|
| 8049 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[23356] | 8050 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 8051 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 8052 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 8053 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 8054 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 8055 | # This should be Cygnus configure.
|
---|
| 8056 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[16568] | 8057 | else
|
---|
[23356] | 8058 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
---|
| 8059 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[16568] | 8060 | ac_sub_configure=
|
---|
| 8061 | fi
|
---|
| 8062 |
|
---|
| 8063 | # The recursion is here.
|
---|
| 8064 | if test -n "$ac_sub_configure"; then
|
---|
| 8065 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 8066 | case $cache_file in
|
---|
| 8067 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[23356] | 8068 | *) # Relative name.
|
---|
| 8069 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[16568] | 8070 | esac
|
---|
| 8071 |
|
---|
[23356] | 8072 | { $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
|
---|
| 8073 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[16568] | 8074 | # The eval makes quoting arguments work.
|
---|
[23356] | 8075 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 8076 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
| 8077 | as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
---|
[16568] | 8078 | fi
|
---|
| 8079 |
|
---|
[23356] | 8080 | cd "$ac_popdir"
|
---|
[16568] | 8081 | done
|
---|
| 8082 | fi
|
---|
[23356] | 8083 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
| 8084 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
| 8085 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 8086 | fi
|
---|
[16568] | 8087 |
|
---|
| 8088 |
|
---|
| 8089 |
|
---|