[16566] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[23356] | 3 | # Generated by GNU Autoconf 2.67.
|
---|
[16566] | 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 | #
|
---|
[16566] | 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 | ## -------------------- ##
|
---|
[16566] | 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 :
|
---|
[16566] | 20 | emulate sh
|
---|
| 21 | NULLCMD=:
|
---|
[23356] | 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16566] | 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
|
---|
[16566] | 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'
|
---|
[16566] | 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'
|
---|
[16566] | 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
|
---|
[16566] | 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
|
---|
[16566] | 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
|
---|
[16566] | 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."
|
---|
[16566] | 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."
|
---|
[16566] | 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
|
---|
[16566] | 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
|
---|
[16566] | 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
|
---|
[16566] | 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
|
---|
[16566] | 393 |
|
---|
[23356] | 394 | as_me=`$as_basename -- "$0" ||
|
---|
[16566] | 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'`
|
---|
[16566] | 412 |
|
---|
[21327] | 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
|
---|
[16566] | 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 |
|
---|
[16566] | 430 | sed '
|
---|
[23356] | 431 | s/[$]LINENO.*/&-/
|
---|
| 432 | t lineno
|
---|
| 433 | b
|
---|
| 434 | :lineno
|
---|
[16566] | 435 | N
|
---|
[23356] | 436 | :loop
|
---|
| 437 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16566] | 438 | t loop
|
---|
[23356] | 439 | s/-\n.*//
|
---|
[16566] | 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; }
|
---|
[16566] | 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"
|
---|
[16566] | 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';;
|
---|
[16566] | 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
|
---|
[16566] | 468 | else
|
---|
[23356] | 469 | rm -f conf$$.dir
|
---|
| 470 | mkdir conf$$.dir 2>/dev/null
|
---|
[16566] | 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
|
---|
[16566] | 484 | as_ln_s='cp -p'
|
---|
[21327] | 485 | fi
|
---|
[16566] | 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
|
---|
[16566] | 491 |
|
---|
| 492 | if mkdir -p . 2>/dev/null; then
|
---|
[23356] | 493 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16566] | 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
|
---|
[16566] | 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
|
---|
[16566] | 531 |
|
---|
| 532 | # Name of the host.
|
---|
[23356] | 533 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
[16566] | 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=
|
---|
[16566] | 542 | ac_config_libobj_dir=.
|
---|
[23356] | 543 | LIBOBJS=
|
---|
[16566] | 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=
|
---|
[16566] | 556 |
|
---|
| 557 | ac_unique_file="src/lib/text_t.h"
|
---|
| 558 | # Factoring default headers for most tests.
|
---|
| 559 | ac_includes_default="\
|
---|
| 560 | #include <stdio.h>
|
---|
[23356] | 561 | #ifdef HAVE_SYS_TYPES_H
|
---|
[16566] | 562 | # include <sys/types.h>
|
---|
| 563 | #endif
|
---|
[23356] | 564 | #ifdef HAVE_SYS_STAT_H
|
---|
[16566] | 565 | # include <sys/stat.h>
|
---|
| 566 | #endif
|
---|
[23356] | 567 | #ifdef STDC_HEADERS
|
---|
[16566] | 568 | # include <stdlib.h>
|
---|
| 569 | # include <stddef.h>
|
---|
| 570 | #else
|
---|
[23356] | 571 | # ifdef HAVE_STDLIB_H
|
---|
[16566] | 572 | # include <stdlib.h>
|
---|
| 573 | # endif
|
---|
| 574 | #endif
|
---|
[23356] | 575 | #ifdef HAVE_STRING_H
|
---|
| 576 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[16566] | 577 | # include <memory.h>
|
---|
| 578 | # endif
|
---|
| 579 | # include <string.h>
|
---|
| 580 | #endif
|
---|
[23356] | 581 | #ifdef HAVE_STRINGS_H
|
---|
[16566] | 582 | # include <strings.h>
|
---|
| 583 | #endif
|
---|
[23356] | 584 | #ifdef HAVE_INTTYPES_H
|
---|
[16566] | 585 | # include <inttypes.h>
|
---|
| 586 | #endif
|
---|
[23356] | 587 | #ifdef HAVE_STDINT_H
|
---|
| 588 | # include <stdint.h>
|
---|
| 589 | #endif
|
---|
| 590 | #ifdef HAVE_UNISTD_H
|
---|
[16566] | 591 | # include <unistd.h>
|
---|
| 592 | #endif"
|
---|
| 593 |
|
---|
[23356] | 594 | enable_option_checking=no
|
---|
| 595 | ac_subst_vars='LTLIBOBJS
|
---|
| 596 | subdirs
|
---|
| 597 | MODULEDIRS
|
---|
| 598 | gsdlos
|
---|
| 599 | STATIC
|
---|
| 600 | LIBOBJS
|
---|
| 601 | ALLOCA
|
---|
| 602 | ANSI2KNR
|
---|
| 603 | U
|
---|
| 604 | EGREP
|
---|
| 605 | GREP
|
---|
| 606 | CPP
|
---|
| 607 | MICO_VER
|
---|
| 608 | COMPAT32BITFLAGS
|
---|
| 609 | RANLIB
|
---|
| 610 | SET_MAKE
|
---|
| 611 | LN_S
|
---|
| 612 | INSTALL_DATA
|
---|
| 613 | INSTALL_SCRIPT
|
---|
| 614 | INSTALL_PROGRAM
|
---|
| 615 | target_os
|
---|
| 616 | target_vendor
|
---|
| 617 | target_cpu
|
---|
| 618 | target
|
---|
| 619 | host_os
|
---|
| 620 | host_vendor
|
---|
| 621 | host_cpu
|
---|
| 622 | host
|
---|
| 623 | build_os
|
---|
| 624 | build_vendor
|
---|
| 625 | build_cpu
|
---|
| 626 | build
|
---|
| 627 | YFLAGS
|
---|
| 628 | YACC
|
---|
| 629 | AWK
|
---|
| 630 | JAVACFLAGS
|
---|
| 631 | JAVAC
|
---|
| 632 | uudecode
|
---|
| 633 | JAVA
|
---|
| 634 | ac_ct_CXX
|
---|
| 635 | CXXFLAGS
|
---|
| 636 | CXX
|
---|
| 637 | OBJEXT
|
---|
| 638 | EXEEXT
|
---|
| 639 | ac_ct_CC
|
---|
| 640 | CPPFLAGS
|
---|
| 641 | CC
|
---|
| 642 | CFLAGS
|
---|
| 643 | LDFLAGS
|
---|
| 644 | ENABLE_LUCENE
|
---|
| 645 | ENABLE_MGPP
|
---|
| 646 | ENABLE_MG
|
---|
| 647 | ENABLE_JNI
|
---|
| 648 | USE_SQLITE
|
---|
| 649 | ENABLE_ACCENTFOLD
|
---|
| 650 | USE_GDBM
|
---|
| 651 | USE_JDBM
|
---|
| 652 | ENABLE_JAVA
|
---|
| 653 | USE_YAZ
|
---|
| 654 | USE_Z3950
|
---|
| 655 | MICO_DIR
|
---|
| 656 | USE_CORBA
|
---|
| 657 | USE_LANGACTION
|
---|
| 658 | USE_FASTCGI
|
---|
| 659 | VERSION
|
---|
| 660 | PACKAGE
|
---|
| 661 | target_alias
|
---|
| 662 | host_alias
|
---|
| 663 | build_alias
|
---|
| 664 | LIBS
|
---|
| 665 | ECHO_T
|
---|
| 666 | ECHO_N
|
---|
| 667 | ECHO_C
|
---|
| 668 | DEFS
|
---|
| 669 | mandir
|
---|
| 670 | localedir
|
---|
| 671 | libdir
|
---|
| 672 | psdir
|
---|
| 673 | pdfdir
|
---|
| 674 | dvidir
|
---|
| 675 | htmldir
|
---|
| 676 | infodir
|
---|
| 677 | docdir
|
---|
| 678 | oldincludedir
|
---|
| 679 | includedir
|
---|
| 680 | localstatedir
|
---|
| 681 | sharedstatedir
|
---|
| 682 | sysconfdir
|
---|
| 683 | datadir
|
---|
| 684 | datarootdir
|
---|
| 685 | libexecdir
|
---|
| 686 | sbindir
|
---|
| 687 | bindir
|
---|
| 688 | program_transform_name
|
---|
| 689 | prefix
|
---|
| 690 | exec_prefix
|
---|
| 691 | PACKAGE_URL
|
---|
| 692 | PACKAGE_BUGREPORT
|
---|
| 693 | PACKAGE_STRING
|
---|
| 694 | PACKAGE_VERSION
|
---|
| 695 | PACKAGE_TARNAME
|
---|
| 696 | PACKAGE_NAME
|
---|
| 697 | PATH_SEPARATOR
|
---|
| 698 | SHELL'
|
---|
[16566] | 699 | ac_subst_files=''
|
---|
[23356] | 700 | ac_user_opts='
|
---|
| 701 | enable_option_checking
|
---|
| 702 | enable_corba
|
---|
| 703 | with_micodir
|
---|
| 704 | enable_z3950
|
---|
| 705 | enable_yaz
|
---|
| 706 | enable_java
|
---|
| 707 | enable_jdbm
|
---|
| 708 | enable_gdbm
|
---|
| 709 | enable_accentfold
|
---|
| 710 | enable_sqlite
|
---|
| 711 | enable_jni
|
---|
| 712 | enable_mg
|
---|
| 713 | enable_mgpp
|
---|
| 714 | enable_lucene
|
---|
| 715 | with_dmalloc
|
---|
| 716 | with_regex
|
---|
| 717 | '
|
---|
| 718 | ac_precious_vars='build_alias
|
---|
| 719 | host_alias
|
---|
| 720 | target_alias
|
---|
| 721 | CC
|
---|
| 722 | CFLAGS
|
---|
| 723 | LDFLAGS
|
---|
| 724 | LIBS
|
---|
| 725 | CPPFLAGS
|
---|
| 726 | CXX
|
---|
| 727 | CXXFLAGS
|
---|
| 728 | CCC
|
---|
| 729 | YACC
|
---|
| 730 | YFLAGS
|
---|
| 731 | CPP'
|
---|
| 732 | ac_subdirs_all='packages
|
---|
| 733 | indexers'
|
---|
[16566] | 734 |
|
---|
| 735 | # Initialize some variables set by options.
|
---|
| 736 | ac_init_help=
|
---|
| 737 | ac_init_version=false
|
---|
[23356] | 738 | ac_unrecognized_opts=
|
---|
| 739 | ac_unrecognized_sep=
|
---|
[16566] | 740 | # The variables have the same names as the options, with
|
---|
| 741 | # dashes changed to underlines.
|
---|
| 742 | cache_file=/dev/null
|
---|
| 743 | exec_prefix=NONE
|
---|
| 744 | no_create=
|
---|
| 745 | no_recursion=
|
---|
| 746 | prefix=NONE
|
---|
| 747 | program_prefix=NONE
|
---|
| 748 | program_suffix=NONE
|
---|
| 749 | program_transform_name=s,x,x,
|
---|
| 750 | silent=
|
---|
| 751 | site=
|
---|
| 752 | srcdir=
|
---|
| 753 | verbose=
|
---|
| 754 | x_includes=NONE
|
---|
| 755 | x_libraries=NONE
|
---|
| 756 |
|
---|
| 757 | # Installation directory options.
|
---|
| 758 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 759 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 760 | # by default will actually change.
|
---|
| 761 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[23356] | 762 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[16566] | 763 | bindir='${exec_prefix}/bin'
|
---|
| 764 | sbindir='${exec_prefix}/sbin'
|
---|
| 765 | libexecdir='${exec_prefix}/libexec'
|
---|
[23356] | 766 | datarootdir='${prefix}/share'
|
---|
| 767 | datadir='${datarootdir}'
|
---|
[16566] | 768 | sysconfdir='${prefix}/etc'
|
---|
| 769 | sharedstatedir='${prefix}/com'
|
---|
| 770 | localstatedir='${prefix}/var'
|
---|
| 771 | includedir='${prefix}/include'
|
---|
| 772 | oldincludedir='/usr/include'
|
---|
[23356] | 773 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 774 | infodir='${datarootdir}/info'
|
---|
| 775 | htmldir='${docdir}'
|
---|
| 776 | dvidir='${docdir}'
|
---|
| 777 | pdfdir='${docdir}'
|
---|
| 778 | psdir='${docdir}'
|
---|
| 779 | libdir='${exec_prefix}/lib'
|
---|
| 780 | localedir='${datarootdir}/locale'
|
---|
| 781 | mandir='${datarootdir}/man'
|
---|
[16566] | 782 |
|
---|
| 783 | ac_prev=
|
---|
[23356] | 784 | ac_dashdash=
|
---|
[16566] | 785 | for ac_option
|
---|
| 786 | do
|
---|
| 787 | # If the previous option needs an argument, assign it.
|
---|
| 788 | if test -n "$ac_prev"; then
|
---|
[23356] | 789 | eval $ac_prev=\$ac_option
|
---|
[16566] | 790 | ac_prev=
|
---|
| 791 | continue
|
---|
| 792 | fi
|
---|
| 793 |
|
---|
[23356] | 794 | case $ac_option in
|
---|
| 795 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 796 | *=) ac_optarg= ;;
|
---|
| 797 | *) ac_optarg=yes ;;
|
---|
| 798 | esac
|
---|
[16566] | 799 |
|
---|
| 800 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 801 |
|
---|
[23356] | 802 | case $ac_dashdash$ac_option in
|
---|
| 803 | --)
|
---|
| 804 | ac_dashdash=yes ;;
|
---|
[16566] | 805 |
|
---|
| 806 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 807 | ac_prev=bindir ;;
|
---|
| 808 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 809 | bindir=$ac_optarg ;;
|
---|
| 810 |
|
---|
| 811 | -build | --build | --buil | --bui | --bu)
|
---|
| 812 | ac_prev=build_alias ;;
|
---|
| 813 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 814 | build_alias=$ac_optarg ;;
|
---|
| 815 |
|
---|
| 816 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 817 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 818 | ac_prev=cache_file ;;
|
---|
| 819 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 820 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 821 | cache_file=$ac_optarg ;;
|
---|
| 822 |
|
---|
| 823 | --config-cache | -C)
|
---|
| 824 | cache_file=config.cache ;;
|
---|
| 825 |
|
---|
[23356] | 826 | -datadir | --datadir | --datadi | --datad)
|
---|
[16566] | 827 | ac_prev=datadir ;;
|
---|
[23356] | 828 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[16566] | 829 | datadir=$ac_optarg ;;
|
---|
| 830 |
|
---|
[23356] | 831 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 832 | | --dataroo | --dataro | --datar)
|
---|
| 833 | ac_prev=datarootdir ;;
|
---|
| 834 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 835 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 836 | datarootdir=$ac_optarg ;;
|
---|
| 837 |
|
---|
[16566] | 838 | -disable-* | --disable-*)
|
---|
[23356] | 839 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[16566] | 840 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 841 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 842 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 843 | ac_useropt_orig=$ac_useropt
|
---|
| 844 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 845 | case $ac_user_opts in
|
---|
| 846 | *"
|
---|
| 847 | "enable_$ac_useropt"
|
---|
| 848 | "*) ;;
|
---|
| 849 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 850 | ac_unrecognized_sep=', ';;
|
---|
| 851 | esac
|
---|
| 852 | eval enable_$ac_useropt=no ;;
|
---|
[16566] | 853 |
|
---|
[23356] | 854 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 855 | ac_prev=docdir ;;
|
---|
| 856 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 857 | docdir=$ac_optarg ;;
|
---|
| 858 |
|
---|
| 859 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 860 | ac_prev=dvidir ;;
|
---|
| 861 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 862 | dvidir=$ac_optarg ;;
|
---|
| 863 |
|
---|
[16566] | 864 | -enable-* | --enable-*)
|
---|
[23356] | 865 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[16566] | 866 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 867 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 868 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
| 869 | ac_useropt_orig=$ac_useropt
|
---|
| 870 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 871 | case $ac_user_opts in
|
---|
| 872 | *"
|
---|
| 873 | "enable_$ac_useropt"
|
---|
| 874 | "*) ;;
|
---|
| 875 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 876 | ac_unrecognized_sep=', ';;
|
---|
[21327] | 877 | esac
|
---|
[23356] | 878 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[16566] | 879 |
|
---|
| 880 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 881 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 882 | | --exec | --exe | --ex)
|
---|
| 883 | ac_prev=exec_prefix ;;
|
---|
| 884 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 885 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 886 | | --exec=* | --exe=* | --ex=*)
|
---|
| 887 | exec_prefix=$ac_optarg ;;
|
---|
| 888 |
|
---|
| 889 | -gas | --gas | --ga | --g)
|
---|
| 890 | # Obsolete; use --with-gas.
|
---|
| 891 | with_gas=yes ;;
|
---|
| 892 |
|
---|
| 893 | -help | --help | --hel | --he | -h)
|
---|
| 894 | ac_init_help=long ;;
|
---|
| 895 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 896 | ac_init_help=recursive ;;
|
---|
| 897 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 898 | ac_init_help=short ;;
|
---|
| 899 |
|
---|
| 900 | -host | --host | --hos | --ho)
|
---|
| 901 | ac_prev=host_alias ;;
|
---|
| 902 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 903 | host_alias=$ac_optarg ;;
|
---|
| 904 |
|
---|
[23356] | 905 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 906 | ac_prev=htmldir ;;
|
---|
| 907 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 908 | | --ht=*)
|
---|
| 909 | htmldir=$ac_optarg ;;
|
---|
| 910 |
|
---|
[16566] | 911 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 912 | | --includ | --inclu | --incl | --inc)
|
---|
| 913 | ac_prev=includedir ;;
|
---|
| 914 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 915 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 916 | includedir=$ac_optarg ;;
|
---|
| 917 |
|
---|
| 918 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 919 | ac_prev=infodir ;;
|
---|
| 920 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 921 | infodir=$ac_optarg ;;
|
---|
| 922 |
|
---|
| 923 | -libdir | --libdir | --libdi | --libd)
|
---|
| 924 | ac_prev=libdir ;;
|
---|
| 925 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 926 | libdir=$ac_optarg ;;
|
---|
| 927 |
|
---|
| 928 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 929 | | --libexe | --libex | --libe)
|
---|
| 930 | ac_prev=libexecdir ;;
|
---|
| 931 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 932 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 933 | libexecdir=$ac_optarg ;;
|
---|
| 934 |
|
---|
[23356] | 935 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 936 | ac_prev=localedir ;;
|
---|
| 937 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 938 | localedir=$ac_optarg ;;
|
---|
| 939 |
|
---|
[16566] | 940 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[23356] | 941 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[16566] | 942 | ac_prev=localstatedir ;;
|
---|
| 943 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[23356] | 944 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[16566] | 945 | localstatedir=$ac_optarg ;;
|
---|
| 946 |
|
---|
| 947 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 948 | ac_prev=mandir ;;
|
---|
| 949 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 950 | mandir=$ac_optarg ;;
|
---|
| 951 |
|
---|
| 952 | -nfp | --nfp | --nf)
|
---|
| 953 | # Obsolete; use --without-fp.
|
---|
| 954 | with_fp=no ;;
|
---|
| 955 |
|
---|
| 956 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 957 | | --no-cr | --no-c | -n)
|
---|
| 958 | no_create=yes ;;
|
---|
| 959 |
|
---|
| 960 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 961 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 962 | no_recursion=yes ;;
|
---|
| 963 |
|
---|
| 964 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 965 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 966 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 967 | ac_prev=oldincludedir ;;
|
---|
| 968 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 969 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 970 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 971 | oldincludedir=$ac_optarg ;;
|
---|
| 972 |
|
---|
| 973 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 974 | ac_prev=prefix ;;
|
---|
| 975 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 976 | prefix=$ac_optarg ;;
|
---|
| 977 |
|
---|
| 978 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 979 | | --program-pre | --program-pr | --program-p)
|
---|
| 980 | ac_prev=program_prefix ;;
|
---|
| 981 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 982 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 983 | program_prefix=$ac_optarg ;;
|
---|
| 984 |
|
---|
| 985 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 986 | | --program-suf | --program-su | --program-s)
|
---|
| 987 | ac_prev=program_suffix ;;
|
---|
| 988 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 989 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 990 | program_suffix=$ac_optarg ;;
|
---|
| 991 |
|
---|
| 992 | -program-transform-name | --program-transform-name \
|
---|
| 993 | | --program-transform-nam | --program-transform-na \
|
---|
| 994 | | --program-transform-n | --program-transform- \
|
---|
| 995 | | --program-transform | --program-transfor \
|
---|
| 996 | | --program-transfo | --program-transf \
|
---|
| 997 | | --program-trans | --program-tran \
|
---|
| 998 | | --progr-tra | --program-tr | --program-t)
|
---|
| 999 | ac_prev=program_transform_name ;;
|
---|
| 1000 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 1001 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1002 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1003 | | --program-transform=* | --program-transfor=* \
|
---|
| 1004 | | --program-transfo=* | --program-transf=* \
|
---|
| 1005 | | --program-trans=* | --program-tran=* \
|
---|
| 1006 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 1007 | program_transform_name=$ac_optarg ;;
|
---|
| 1008 |
|
---|
[23356] | 1009 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1010 | ac_prev=pdfdir ;;
|
---|
| 1011 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1012 | pdfdir=$ac_optarg ;;
|
---|
| 1013 |
|
---|
| 1014 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1015 | ac_prev=psdir ;;
|
---|
| 1016 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1017 | psdir=$ac_optarg ;;
|
---|
| 1018 |
|
---|
[16566] | 1019 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1020 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1021 | silent=yes ;;
|
---|
| 1022 |
|
---|
| 1023 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1024 | ac_prev=sbindir ;;
|
---|
| 1025 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1026 | | --sbi=* | --sb=*)
|
---|
| 1027 | sbindir=$ac_optarg ;;
|
---|
| 1028 |
|
---|
| 1029 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1030 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1031 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1032 | | --sha | --sh)
|
---|
| 1033 | ac_prev=sharedstatedir ;;
|
---|
| 1034 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1035 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1036 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1037 | | --sha=* | --sh=*)
|
---|
| 1038 | sharedstatedir=$ac_optarg ;;
|
---|
| 1039 |
|
---|
| 1040 | -site | --site | --sit)
|
---|
| 1041 | ac_prev=site ;;
|
---|
| 1042 | -site=* | --site=* | --sit=*)
|
---|
| 1043 | site=$ac_optarg ;;
|
---|
| 1044 |
|
---|
| 1045 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1046 | ac_prev=srcdir ;;
|
---|
| 1047 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1048 | srcdir=$ac_optarg ;;
|
---|
| 1049 |
|
---|
| 1050 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1051 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1052 | ac_prev=sysconfdir ;;
|
---|
| 1053 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1054 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1055 | sysconfdir=$ac_optarg ;;
|
---|
| 1056 |
|
---|
| 1057 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1058 | ac_prev=target_alias ;;
|
---|
| 1059 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1060 | target_alias=$ac_optarg ;;
|
---|
| 1061 |
|
---|
| 1062 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1063 | verbose=yes ;;
|
---|
| 1064 |
|
---|
| 1065 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1066 | ac_init_version=: ;;
|
---|
| 1067 |
|
---|
| 1068 | -with-* | --with-*)
|
---|
[23356] | 1069 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[16566] | 1070 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1071 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1072 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1073 | ac_useropt_orig=$ac_useropt
|
---|
| 1074 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1075 | case $ac_user_opts in
|
---|
| 1076 | *"
|
---|
| 1077 | "with_$ac_useropt"
|
---|
| 1078 | "*) ;;
|
---|
| 1079 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1080 | ac_unrecognized_sep=', ';;
|
---|
[21327] | 1081 | esac
|
---|
[23356] | 1082 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[16566] | 1083 |
|
---|
| 1084 | -without-* | --without-*)
|
---|
[23356] | 1085 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[16566] | 1086 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1087 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
| 1088 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
| 1089 | ac_useropt_orig=$ac_useropt
|
---|
| 1090 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1091 | case $ac_user_opts in
|
---|
| 1092 | *"
|
---|
| 1093 | "with_$ac_useropt"
|
---|
| 1094 | "*) ;;
|
---|
| 1095 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1096 | ac_unrecognized_sep=', ';;
|
---|
| 1097 | esac
|
---|
| 1098 | eval with_$ac_useropt=no ;;
|
---|
[16566] | 1099 |
|
---|
| 1100 | --x)
|
---|
| 1101 | # Obsolete; use --with-x.
|
---|
| 1102 | with_x=yes ;;
|
---|
| 1103 |
|
---|
| 1104 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1105 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1106 | ac_prev=x_includes ;;
|
---|
| 1107 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1108 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1109 | x_includes=$ac_optarg ;;
|
---|
| 1110 |
|
---|
| 1111 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1112 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1113 | ac_prev=x_libraries ;;
|
---|
| 1114 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1115 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1116 | x_libraries=$ac_optarg ;;
|
---|
| 1117 |
|
---|
[23356] | 1118 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1119 | Try \`$0 --help' for more information"
|
---|
[16566] | 1120 | ;;
|
---|
| 1121 |
|
---|
| 1122 | *=*)
|
---|
| 1123 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1124 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1125 | case $ac_envvar in #(
|
---|
| 1126 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
| 1127 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
| 1128 | esac
|
---|
| 1129 | eval $ac_envvar=\$ac_optarg
|
---|
[16566] | 1130 | export $ac_envvar ;;
|
---|
| 1131 |
|
---|
| 1132 | *)
|
---|
| 1133 | # FIXME: should be removed in autoconf 3.0.
|
---|
[23356] | 1134 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[16566] | 1135 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[23356] | 1136 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[16566] | 1137 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 1138 | ;;
|
---|
| 1139 |
|
---|
| 1140 | esac
|
---|
| 1141 | done
|
---|
| 1142 |
|
---|
| 1143 | if test -n "$ac_prev"; then
|
---|
| 1144 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[23356] | 1145 | as_fn_error $? "missing argument to $ac_option"
|
---|
[16566] | 1146 | fi
|
---|
| 1147 |
|
---|
[23356] | 1148 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1149 | case $enable_option_checking in
|
---|
| 1150 | no) ;;
|
---|
| 1151 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
| 1152 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[16566] | 1153 | esac
|
---|
[23356] | 1154 | fi
|
---|
[16566] | 1155 |
|
---|
[23356] | 1156 | # Check all directory arguments for consistency.
|
---|
| 1157 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1158 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1159 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1160 | libdir localedir mandir
|
---|
[21327] | 1161 | do
|
---|
[23356] | 1162 | eval ac_val=\$$ac_var
|
---|
| 1163 | # Remove trailing slashes.
|
---|
[21327] | 1164 | case $ac_val in
|
---|
[23356] | 1165 | */ )
|
---|
| 1166 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1167 | eval $ac_var=\$ac_val;;
|
---|
[21327] | 1168 | esac
|
---|
[23356] | 1169 | # Be sure to have absolute directory names.
|
---|
| 1170 | case $ac_val in
|
---|
| 1171 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1172 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1173 | esac
|
---|
| 1174 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
[21327] | 1175 | done
|
---|
| 1176 |
|
---|
[16566] | 1177 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1178 | # used to hold the argument of --host etc.
|
---|
| 1179 | # FIXME: To remove some day.
|
---|
| 1180 | build=$build_alias
|
---|
| 1181 | host=$host_alias
|
---|
| 1182 | target=$target_alias
|
---|
| 1183 |
|
---|
| 1184 | # FIXME: To remove some day.
|
---|
| 1185 | if test "x$host_alias" != x; then
|
---|
| 1186 | if test "x$build_alias" = x; then
|
---|
| 1187 | cross_compiling=maybe
|
---|
[23356] | 1188 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
---|
| 1189 | If a cross compiler is detected then cross compile mode will be used" >&2
|
---|
[16566] | 1190 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1191 | cross_compiling=yes
|
---|
| 1192 | fi
|
---|
| 1193 | fi
|
---|
| 1194 |
|
---|
| 1195 | ac_tool_prefix=
|
---|
| 1196 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1197 |
|
---|
| 1198 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1199 |
|
---|
| 1200 |
|
---|
[23356] | 1201 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1202 | ac_ls_di=`ls -di .` &&
|
---|
| 1203 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
| 1204 | as_fn_error $? "working directory cannot be determined"
|
---|
| 1205 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
| 1206 | as_fn_error $? "pwd does not report name of working directory"
|
---|
| 1207 |
|
---|
| 1208 |
|
---|
[16566] | 1209 | # Find the source files, if location was not specified.
|
---|
| 1210 | if test -z "$srcdir"; then
|
---|
| 1211 | ac_srcdir_defaulted=yes
|
---|
[23356] | 1212 | # Try the directory containing this script, then the parent directory.
|
---|
| 1213 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1214 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1215 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1216 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1217 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1218 | $as_echo X"$as_myself" |
|
---|
| 1219 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1220 | s//\1/
|
---|
| 1221 | q
|
---|
| 1222 | }
|
---|
| 1223 | /^X\(\/\/\)[^/].*/{
|
---|
| 1224 | s//\1/
|
---|
| 1225 | q
|
---|
| 1226 | }
|
---|
| 1227 | /^X\(\/\/\)$/{
|
---|
| 1228 | s//\1/
|
---|
| 1229 | q
|
---|
| 1230 | }
|
---|
| 1231 | /^X\(\/\).*/{
|
---|
| 1232 | s//\1/
|
---|
| 1233 | q
|
---|
| 1234 | }
|
---|
| 1235 | s/.*/./; q'`
|
---|
[16566] | 1236 | srcdir=$ac_confdir
|
---|
[23356] | 1237 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[16566] | 1238 | srcdir=..
|
---|
| 1239 | fi
|
---|
| 1240 | else
|
---|
| 1241 | ac_srcdir_defaulted=no
|
---|
| 1242 | fi
|
---|
[23356] | 1243 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1244 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
| 1245 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
[20846] | 1246 | fi
|
---|
[23356] | 1247 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1248 | ac_abs_confdir=`(
|
---|
| 1249 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
| 1250 | pwd)`
|
---|
| 1251 | # When building in place, set srcdir=.
|
---|
| 1252 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1253 | srcdir=.
|
---|
| 1254 | fi
|
---|
| 1255 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1256 | # Double slashes in file names in object file debugging info
|
---|
| 1257 | # mess up M-x gdb in Emacs.
|
---|
| 1258 | case $srcdir in
|
---|
| 1259 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1260 | esac
|
---|
| 1261 | for ac_var in $ac_precious_vars; do
|
---|
| 1262 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1263 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1264 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1265 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1266 | done
|
---|
[16566] | 1267 |
|
---|
| 1268 | #
|
---|
| 1269 | # Report the --help message.
|
---|
| 1270 | #
|
---|
| 1271 | if test "$ac_init_help" = "long"; then
|
---|
| 1272 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1273 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1274 | cat <<_ACEOF
|
---|
| 1275 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1276 |
|
---|
| 1277 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1278 |
|
---|
| 1279 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1280 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1281 |
|
---|
| 1282 | Defaults for the options are specified in brackets.
|
---|
| 1283 |
|
---|
| 1284 | Configuration:
|
---|
| 1285 | -h, --help display this help and exit
|
---|
| 1286 | --help=short display options specific to this package
|
---|
| 1287 | --help=recursive display the short help of all the included packages
|
---|
| 1288 | -V, --version display version information and exit
|
---|
[23356] | 1289 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
[16566] | 1290 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1291 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1292 | -n, --no-create do not create output files
|
---|
| 1293 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1294 |
|
---|
| 1295 | Installation directories:
|
---|
| 1296 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[23356] | 1297 | [$ac_default_prefix]
|
---|
[16566] | 1298 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[23356] | 1299 | [PREFIX]
|
---|
[16566] | 1300 |
|
---|
| 1301 | By default, \`make install' will install all the files in
|
---|
| 1302 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1303 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1304 | for instance \`--prefix=\$HOME'.
|
---|
| 1305 |
|
---|
| 1306 | For better control, use the options below.
|
---|
| 1307 |
|
---|
| 1308 | Fine tuning of the installation directories:
|
---|
[23356] | 1309 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1310 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1311 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1312 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1313 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1314 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1315 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1316 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1317 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1318 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1319 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1320 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1321 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1322 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1323 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1324 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1325 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1326 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1327 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[16566] | 1328 | _ACEOF
|
---|
| 1329 |
|
---|
| 1330 | cat <<\_ACEOF
|
---|
| 1331 |
|
---|
| 1332 | System types:
|
---|
| 1333 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1334 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1335 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1336 | _ACEOF
|
---|
| 1337 | fi
|
---|
| 1338 |
|
---|
| 1339 | if test -n "$ac_init_help"; then
|
---|
| 1340 |
|
---|
| 1341 | cat <<\_ACEOF
|
---|
| 1342 |
|
---|
| 1343 | Optional Features:
|
---|
[23356] | 1344 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
[16566] | 1345 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1346 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1347 | --enable-corba Enable CORBA support
|
---|
| 1348 | --enable-z3950 Enable Z39.50 client support
|
---|
| 1349 | --disable-yaz Disable YAZ compilation
|
---|
[23356] | 1350 | --disable-java Disable Java compilation
|
---|
[22058] | 1351 | --disable-jdbm Disable JDBM compilation
|
---|
| 1352 | --disable-gdbm Disable GDBM compilation
|
---|
[16566] | 1353 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
| 1354 | --disable-sqlite Disable SQLite support
|
---|
[21365] | 1355 | --enable-jni Enable JNI compilation
|
---|
[21327] | 1356 | --disable-mg Disable MG compilation
|
---|
| 1357 | --disable-mgpp Disable MGPP compilation
|
---|
| 1358 | --disable-lucene Disable Lucene compilation
|
---|
[16566] | 1359 |
|
---|
| 1360 | Optional Packages:
|
---|
| 1361 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1362 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1363 | --with-micodir Use installed MICO directory
|
---|
| 1364 | --with-dmalloc use dmalloc, as in
|
---|
| 1365 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1366 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1367 |
|
---|
| 1368 | Some influential environment variables:
|
---|
| 1369 | CC C compiler command
|
---|
| 1370 | CFLAGS C compiler flags
|
---|
| 1371 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1372 | nonstandard directory <lib dir>
|
---|
[23356] | 1373 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
| 1374 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
| 1375 | you have headers in a nonstandard directory <include dir>
|
---|
[16566] | 1376 | CXX C++ compiler command
|
---|
| 1377 | CXXFLAGS C++ compiler flags
|
---|
[23356] | 1378 | YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
---|
| 1379 | the first program found out of: `bison -y', `byacc', `yacc'.
|
---|
| 1380 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1381 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1382 | default value of `-d' given by some make applications.
|
---|
[16566] | 1383 | CPP C preprocessor
|
---|
| 1384 |
|
---|
| 1385 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1386 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1387 |
|
---|
[23356] | 1388 | Report bugs to the package provider.
|
---|
[16566] | 1389 | _ACEOF
|
---|
[23356] | 1390 | ac_status=$?
|
---|
[16566] | 1391 | fi
|
---|
| 1392 |
|
---|
| 1393 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1394 | # If there are subdirs, report their specific --help.
|
---|
| 1395 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[23356] | 1396 | test -d "$ac_dir" ||
|
---|
| 1397 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1398 | continue
|
---|
[16566] | 1399 | ac_builddir=.
|
---|
| 1400 |
|
---|
[23356] | 1401 | case "$ac_dir" in
|
---|
| 1402 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1403 | *)
|
---|
| 1404 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1405 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1406 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1407 | case $ac_top_builddir_sub in
|
---|
| 1408 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1409 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1410 | esac ;;
|
---|
| 1411 | esac
|
---|
| 1412 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1413 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1414 | # for backward compatibility:
|
---|
| 1415 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 1416 |
|
---|
| 1417 | case $srcdir in
|
---|
[23356] | 1418 | .) # We are building in place.
|
---|
[16566] | 1419 | ac_srcdir=.
|
---|
[23356] | 1420 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1421 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1422 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 1423 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 1424 | ac_top_srcdir=$srcdir
|
---|
| 1425 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1426 | *) # Relative name.
|
---|
| 1427 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1428 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1429 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 1430 | esac
|
---|
[23356] | 1431 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 1432 |
|
---|
[23356] | 1433 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1434 | # Check for guested configure.
|
---|
| 1435 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1436 | echo &&
|
---|
| 1437 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1438 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1439 | echo &&
|
---|
| 1440 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[16566] | 1441 | else
|
---|
[23356] | 1442 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1443 | fi || ac_status=$?
|
---|
| 1444 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[16566] | 1445 | done
|
---|
| 1446 | fi
|
---|
| 1447 |
|
---|
[23356] | 1448 | test -n "$ac_init_help" && exit $ac_status
|
---|
[16566] | 1449 | if $ac_init_version; then
|
---|
| 1450 | cat <<\_ACEOF
|
---|
[23356] | 1451 | configure
|
---|
| 1452 | generated by GNU Autoconf 2.67
|
---|
[16566] | 1453 |
|
---|
[23356] | 1454 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16566] | 1455 | This configure script is free software; the Free Software Foundation
|
---|
| 1456 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1457 | _ACEOF
|
---|
[23356] | 1458 | exit
|
---|
[16566] | 1459 | fi
|
---|
[23356] | 1460 |
|
---|
| 1461 | ## ------------------------ ##
|
---|
| 1462 | ## Autoconf initialization. ##
|
---|
| 1463 | ## ------------------------ ##
|
---|
| 1464 |
|
---|
| 1465 | # ac_fn_c_try_compile LINENO
|
---|
| 1466 | # --------------------------
|
---|
| 1467 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1468 | ac_fn_c_try_compile ()
|
---|
| 1469 | {
|
---|
| 1470 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1471 | rm -f conftest.$ac_objext
|
---|
| 1472 | if { { ac_try="$ac_compile"
|
---|
| 1473 | case "(($ac_try" in
|
---|
| 1474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1475 | *) ac_try_echo=$ac_try;;
|
---|
| 1476 | esac
|
---|
| 1477 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1478 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1479 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1480 | ac_status=$?
|
---|
| 1481 | if test -s conftest.err; then
|
---|
| 1482 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1483 | cat conftest.er1 >&5
|
---|
| 1484 | mv -f conftest.er1 conftest.err
|
---|
| 1485 | fi
|
---|
| 1486 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1487 | test $ac_status = 0; } && {
|
---|
| 1488 | test -z "$ac_c_werror_flag" ||
|
---|
| 1489 | test ! -s conftest.err
|
---|
| 1490 | } && test -s conftest.$ac_objext; then :
|
---|
| 1491 | ac_retval=0
|
---|
| 1492 | else
|
---|
| 1493 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1494 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1495 |
|
---|
| 1496 | ac_retval=1
|
---|
| 1497 | fi
|
---|
| 1498 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1499 | as_fn_set_status $ac_retval
|
---|
| 1500 |
|
---|
| 1501 | } # ac_fn_c_try_compile
|
---|
| 1502 |
|
---|
| 1503 | # ac_fn_cxx_try_compile LINENO
|
---|
| 1504 | # ----------------------------
|
---|
| 1505 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1506 | ac_fn_cxx_try_compile ()
|
---|
| 1507 | {
|
---|
| 1508 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1509 | rm -f conftest.$ac_objext
|
---|
| 1510 | if { { ac_try="$ac_compile"
|
---|
| 1511 | case "(($ac_try" in
|
---|
| 1512 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1513 | *) ac_try_echo=$ac_try;;
|
---|
| 1514 | esac
|
---|
| 1515 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1516 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1517 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1518 | ac_status=$?
|
---|
| 1519 | if test -s conftest.err; then
|
---|
| 1520 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1521 | cat conftest.er1 >&5
|
---|
| 1522 | mv -f conftest.er1 conftest.err
|
---|
| 1523 | fi
|
---|
| 1524 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1525 | test $ac_status = 0; } && {
|
---|
| 1526 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 1527 | test ! -s conftest.err
|
---|
| 1528 | } && test -s conftest.$ac_objext; then :
|
---|
| 1529 | ac_retval=0
|
---|
| 1530 | else
|
---|
| 1531 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1532 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1533 |
|
---|
| 1534 | ac_retval=1
|
---|
| 1535 | fi
|
---|
| 1536 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1537 | as_fn_set_status $ac_retval
|
---|
| 1538 |
|
---|
| 1539 | } # ac_fn_cxx_try_compile
|
---|
| 1540 |
|
---|
| 1541 | # ac_fn_c_try_cpp LINENO
|
---|
| 1542 | # ----------------------
|
---|
| 1543 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1544 | ac_fn_c_try_cpp ()
|
---|
| 1545 | {
|
---|
| 1546 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1547 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 1548 | case "(($ac_try" in
|
---|
| 1549 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1550 | *) ac_try_echo=$ac_try;;
|
---|
| 1551 | esac
|
---|
| 1552 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1553 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1554 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
| 1555 | ac_status=$?
|
---|
| 1556 | if test -s conftest.err; then
|
---|
| 1557 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1558 | cat conftest.er1 >&5
|
---|
| 1559 | mv -f conftest.er1 conftest.err
|
---|
| 1560 | fi
|
---|
| 1561 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1562 | test $ac_status = 0; } > conftest.i && {
|
---|
| 1563 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 1564 | test ! -s conftest.err
|
---|
| 1565 | }; then :
|
---|
| 1566 | ac_retval=0
|
---|
| 1567 | else
|
---|
| 1568 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1569 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1570 |
|
---|
| 1571 | ac_retval=1
|
---|
| 1572 | fi
|
---|
| 1573 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1574 | as_fn_set_status $ac_retval
|
---|
| 1575 |
|
---|
| 1576 | } # ac_fn_c_try_cpp
|
---|
| 1577 |
|
---|
| 1578 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
---|
| 1579 | # -------------------------------------------------------
|
---|
| 1580 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
---|
| 1581 | # the include files in INCLUDES and setting the cache variable VAR
|
---|
| 1582 | # accordingly.
|
---|
| 1583 | ac_fn_c_check_header_mongrel ()
|
---|
| 1584 | {
|
---|
| 1585 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1586 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
| 1587 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1588 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1589 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
| 1590 | $as_echo_n "(cached) " >&6
|
---|
| 1591 | fi
|
---|
| 1592 | eval ac_res=\$$3
|
---|
| 1593 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1594 | $as_echo "$ac_res" >&6; }
|
---|
| 1595 | else
|
---|
| 1596 | # Is the header compilable?
|
---|
| 1597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
---|
| 1598 | $as_echo_n "checking $2 usability... " >&6; }
|
---|
| 1599 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1600 | /* end confdefs.h. */
|
---|
| 1601 | $4
|
---|
| 1602 | #include <$2>
|
---|
| 1603 | _ACEOF
|
---|
| 1604 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1605 | ac_header_compiler=yes
|
---|
| 1606 | else
|
---|
| 1607 | ac_header_compiler=no
|
---|
| 1608 | fi
|
---|
| 1609 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
---|
| 1611 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 1612 |
|
---|
| 1613 | # Is the header present?
|
---|
| 1614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
---|
| 1615 | $as_echo_n "checking $2 presence... " >&6; }
|
---|
| 1616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1617 | /* end confdefs.h. */
|
---|
| 1618 | #include <$2>
|
---|
| 1619 | _ACEOF
|
---|
| 1620 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 1621 | ac_header_preproc=yes
|
---|
| 1622 | else
|
---|
| 1623 | ac_header_preproc=no
|
---|
| 1624 | fi
|
---|
| 1625 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 1626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
---|
| 1627 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 1628 |
|
---|
| 1629 | # So? What about this header?
|
---|
| 1630 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
---|
| 1631 | yes:no: )
|
---|
| 1632 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 1633 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 1634 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1635 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1636 | ;;
|
---|
| 1637 | no:yes:* )
|
---|
| 1638 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
---|
| 1639 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
---|
| 1640 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
---|
| 1641 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
---|
| 1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
---|
| 1643 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
---|
| 1644 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 1645 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 1646 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1647 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1648 | ;;
|
---|
| 1649 | esac
|
---|
| 1650 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1651 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1652 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
| 1653 | $as_echo_n "(cached) " >&6
|
---|
| 1654 | else
|
---|
| 1655 | eval "$3=\$ac_header_compiler"
|
---|
| 1656 | fi
|
---|
| 1657 | eval ac_res=\$$3
|
---|
| 1658 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1659 | $as_echo "$ac_res" >&6; }
|
---|
| 1660 | fi
|
---|
| 1661 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1662 |
|
---|
| 1663 | } # ac_fn_c_check_header_mongrel
|
---|
| 1664 |
|
---|
| 1665 | # ac_fn_c_try_run LINENO
|
---|
| 1666 | # ----------------------
|
---|
| 1667 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1668 | # that executables *can* be run.
|
---|
| 1669 | ac_fn_c_try_run ()
|
---|
| 1670 | {
|
---|
| 1671 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1672 | if { { ac_try="$ac_link"
|
---|
| 1673 | case "(($ac_try" in
|
---|
| 1674 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1675 | *) ac_try_echo=$ac_try;;
|
---|
| 1676 | esac
|
---|
| 1677 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1678 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1679 | (eval "$ac_link") 2>&5
|
---|
| 1680 | ac_status=$?
|
---|
| 1681 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1682 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1683 | { { case "(($ac_try" in
|
---|
| 1684 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1685 | *) ac_try_echo=$ac_try;;
|
---|
| 1686 | esac
|
---|
| 1687 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1688 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1689 | (eval "$ac_try") 2>&5
|
---|
| 1690 | ac_status=$?
|
---|
| 1691 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1692 | test $ac_status = 0; }; }; then :
|
---|
| 1693 | ac_retval=0
|
---|
| 1694 | else
|
---|
| 1695 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1696 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1697 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1698 |
|
---|
| 1699 | ac_retval=$ac_status
|
---|
| 1700 | fi
|
---|
| 1701 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1702 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1703 | as_fn_set_status $ac_retval
|
---|
| 1704 |
|
---|
| 1705 | } # ac_fn_c_try_run
|
---|
| 1706 |
|
---|
| 1707 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
| 1708 | # -------------------------------------------------------
|
---|
| 1709 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
| 1710 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
| 1711 | ac_fn_c_check_header_compile ()
|
---|
| 1712 | {
|
---|
| 1713 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1715 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1716 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
| 1717 | $as_echo_n "(cached) " >&6
|
---|
| 1718 | else
|
---|
| 1719 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1720 | /* end confdefs.h. */
|
---|
| 1721 | $4
|
---|
| 1722 | #include <$2>
|
---|
| 1723 | _ACEOF
|
---|
| 1724 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1725 | eval "$3=yes"
|
---|
| 1726 | else
|
---|
| 1727 | eval "$3=no"
|
---|
| 1728 | fi
|
---|
| 1729 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1730 | fi
|
---|
| 1731 | eval ac_res=\$$3
|
---|
| 1732 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1733 | $as_echo "$ac_res" >&6; }
|
---|
| 1734 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1735 |
|
---|
| 1736 | } # ac_fn_c_check_header_compile
|
---|
| 1737 |
|
---|
| 1738 | # ac_fn_c_try_link LINENO
|
---|
| 1739 | # -----------------------
|
---|
| 1740 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1741 | ac_fn_c_try_link ()
|
---|
| 1742 | {
|
---|
| 1743 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1744 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 1745 | if { { ac_try="$ac_link"
|
---|
| 1746 | case "(($ac_try" in
|
---|
| 1747 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1748 | *) ac_try_echo=$ac_try;;
|
---|
| 1749 | esac
|
---|
| 1750 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1751 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1752 | (eval "$ac_link") 2>conftest.err
|
---|
| 1753 | ac_status=$?
|
---|
| 1754 | if test -s conftest.err; then
|
---|
| 1755 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1756 | cat conftest.er1 >&5
|
---|
| 1757 | mv -f conftest.er1 conftest.err
|
---|
| 1758 | fi
|
---|
| 1759 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1760 | test $ac_status = 0; } && {
|
---|
| 1761 | test -z "$ac_c_werror_flag" ||
|
---|
| 1762 | test ! -s conftest.err
|
---|
| 1763 | } && test -s conftest$ac_exeext && {
|
---|
| 1764 | test "$cross_compiling" = yes ||
|
---|
| 1765 | $as_test_x conftest$ac_exeext
|
---|
| 1766 | }; then :
|
---|
| 1767 | ac_retval=0
|
---|
| 1768 | else
|
---|
| 1769 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1770 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1771 |
|
---|
| 1772 | ac_retval=1
|
---|
| 1773 | fi
|
---|
| 1774 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
| 1775 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
| 1776 | # interfere with the next link command; also delete a directory that is
|
---|
| 1777 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
| 1778 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1779 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1780 | as_fn_set_status $ac_retval
|
---|
| 1781 |
|
---|
| 1782 | } # ac_fn_c_try_link
|
---|
| 1783 |
|
---|
| 1784 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
---|
| 1785 | # -------------------------------------------
|
---|
| 1786 | # Tests whether TYPE exists after having included INCLUDES, setting cache
|
---|
| 1787 | # variable VAR accordingly.
|
---|
| 1788 | ac_fn_c_check_type ()
|
---|
| 1789 | {
|
---|
| 1790 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1791 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1792 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1793 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
| 1794 | $as_echo_n "(cached) " >&6
|
---|
| 1795 | else
|
---|
| 1796 | eval "$3=no"
|
---|
| 1797 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1798 | /* end confdefs.h. */
|
---|
| 1799 | $4
|
---|
| 1800 | int
|
---|
| 1801 | main ()
|
---|
| 1802 | {
|
---|
| 1803 | if (sizeof ($2))
|
---|
| 1804 | return 0;
|
---|
| 1805 | ;
|
---|
| 1806 | return 0;
|
---|
| 1807 | }
|
---|
| 1808 | _ACEOF
|
---|
| 1809 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1810 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1811 | /* end confdefs.h. */
|
---|
| 1812 | $4
|
---|
| 1813 | int
|
---|
| 1814 | main ()
|
---|
| 1815 | {
|
---|
| 1816 | if (sizeof (($2)))
|
---|
| 1817 | return 0;
|
---|
| 1818 | ;
|
---|
| 1819 | return 0;
|
---|
| 1820 | }
|
---|
| 1821 | _ACEOF
|
---|
| 1822 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1823 |
|
---|
| 1824 | else
|
---|
| 1825 | eval "$3=yes"
|
---|
| 1826 | fi
|
---|
| 1827 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1828 | fi
|
---|
| 1829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1830 | fi
|
---|
| 1831 | eval ac_res=\$$3
|
---|
| 1832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1833 | $as_echo "$ac_res" >&6; }
|
---|
| 1834 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1835 |
|
---|
| 1836 | } # ac_fn_c_check_type
|
---|
| 1837 |
|
---|
| 1838 | # ac_fn_c_check_func LINENO FUNC VAR
|
---|
| 1839 | # ----------------------------------
|
---|
| 1840 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
---|
| 1841 | ac_fn_c_check_func ()
|
---|
| 1842 | {
|
---|
| 1843 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1844 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1845 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1846 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
| 1847 | $as_echo_n "(cached) " >&6
|
---|
| 1848 | else
|
---|
| 1849 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1850 | /* end confdefs.h. */
|
---|
| 1851 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
---|
| 1852 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 1853 | #define $2 innocuous_$2
|
---|
| 1854 |
|
---|
| 1855 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 1856 | which can conflict with char $2 (); below.
|
---|
| 1857 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 1858 | <limits.h> exists even on freestanding compilers. */
|
---|
| 1859 |
|
---|
| 1860 | #ifdef __STDC__
|
---|
| 1861 | # include <limits.h>
|
---|
| 1862 | #else
|
---|
| 1863 | # include <assert.h>
|
---|
| 1864 | #endif
|
---|
| 1865 |
|
---|
| 1866 | #undef $2
|
---|
| 1867 |
|
---|
| 1868 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 1869 | Use char because int might match the return type of a GCC
|
---|
| 1870 | builtin and then its argument prototype would still apply. */
|
---|
| 1871 | #ifdef __cplusplus
|
---|
| 1872 | extern "C"
|
---|
| 1873 | #endif
|
---|
| 1874 | char $2 ();
|
---|
| 1875 | /* The GNU C library defines this for functions which it implements
|
---|
| 1876 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 1877 | something starting with __ and the normal name is an alias. */
|
---|
| 1878 | #if defined __stub_$2 || defined __stub___$2
|
---|
| 1879 | choke me
|
---|
| 1880 | #endif
|
---|
| 1881 |
|
---|
| 1882 | int
|
---|
| 1883 | main ()
|
---|
| 1884 | {
|
---|
| 1885 | return $2 ();
|
---|
| 1886 | ;
|
---|
| 1887 | return 0;
|
---|
| 1888 | }
|
---|
| 1889 | _ACEOF
|
---|
| 1890 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 1891 | eval "$3=yes"
|
---|
| 1892 | else
|
---|
| 1893 | eval "$3=no"
|
---|
| 1894 | fi
|
---|
| 1895 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 1896 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 1897 | fi
|
---|
| 1898 | eval ac_res=\$$3
|
---|
| 1899 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1900 | $as_echo "$ac_res" >&6; }
|
---|
| 1901 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1902 |
|
---|
| 1903 | } # ac_fn_c_check_func
|
---|
| 1904 |
|
---|
| 1905 | # ac_fn_cxx_try_run LINENO
|
---|
| 1906 | # ------------------------
|
---|
| 1907 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1908 | # that executables *can* be run.
|
---|
| 1909 | ac_fn_cxx_try_run ()
|
---|
| 1910 | {
|
---|
| 1911 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1912 | if { { ac_try="$ac_link"
|
---|
| 1913 | case "(($ac_try" in
|
---|
| 1914 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1915 | *) ac_try_echo=$ac_try;;
|
---|
| 1916 | esac
|
---|
| 1917 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1918 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1919 | (eval "$ac_link") 2>&5
|
---|
| 1920 | ac_status=$?
|
---|
| 1921 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1922 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1923 | { { case "(($ac_try" in
|
---|
| 1924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1925 | *) ac_try_echo=$ac_try;;
|
---|
| 1926 | esac
|
---|
| 1927 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1928 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1929 | (eval "$ac_try") 2>&5
|
---|
| 1930 | ac_status=$?
|
---|
| 1931 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1932 | test $ac_status = 0; }; }; then :
|
---|
| 1933 | ac_retval=0
|
---|
| 1934 | else
|
---|
| 1935 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1936 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1937 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1938 |
|
---|
| 1939 | ac_retval=$ac_status
|
---|
| 1940 | fi
|
---|
| 1941 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1942 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1943 | as_fn_set_status $ac_retval
|
---|
| 1944 |
|
---|
| 1945 | } # ac_fn_cxx_try_run
|
---|
| 1946 | cat >config.log <<_ACEOF
|
---|
[16566] | 1947 | This file contains any messages produced by compilers while
|
---|
| 1948 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1949 |
|
---|
| 1950 | It was created by $as_me, which was
|
---|
[23356] | 1951 | generated by GNU Autoconf 2.67. Invocation command line was
|
---|
[16566] | 1952 |
|
---|
| 1953 | $ $0 $@
|
---|
| 1954 |
|
---|
| 1955 | _ACEOF
|
---|
[23356] | 1956 | exec 5>>config.log
|
---|
[16566] | 1957 | {
|
---|
| 1958 | cat <<_ASUNAME
|
---|
| 1959 | ## --------- ##
|
---|
| 1960 | ## Platform. ##
|
---|
| 1961 | ## --------- ##
|
---|
| 1962 |
|
---|
| 1963 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1964 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1965 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1966 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1967 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1968 |
|
---|
| 1969 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1970 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1971 |
|
---|
| 1972 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1973 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1974 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[23356] | 1975 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[16566] | 1976 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1977 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1978 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1979 |
|
---|
| 1980 | _ASUNAME
|
---|
| 1981 |
|
---|
| 1982 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1983 | for as_dir in $PATH
|
---|
| 1984 | do
|
---|
| 1985 | IFS=$as_save_IFS
|
---|
| 1986 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 1987 | $as_echo "PATH: $as_dir"
|
---|
| 1988 | done
|
---|
| 1989 | IFS=$as_save_IFS
|
---|
[16566] | 1990 |
|
---|
| 1991 | } >&5
|
---|
| 1992 |
|
---|
| 1993 | cat >&5 <<_ACEOF
|
---|
| 1994 |
|
---|
| 1995 |
|
---|
| 1996 | ## ----------- ##
|
---|
| 1997 | ## Core tests. ##
|
---|
| 1998 | ## ----------- ##
|
---|
| 1999 |
|
---|
| 2000 | _ACEOF
|
---|
| 2001 |
|
---|
| 2002 |
|
---|
| 2003 | # Keep a trace of the command line.
|
---|
| 2004 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 2005 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 2006 | # Also quote any args containing shell meta-characters.
|
---|
| 2007 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 2008 | ac_configure_args=
|
---|
| 2009 | ac_configure_args0=
|
---|
| 2010 | ac_configure_args1=
|
---|
| 2011 | ac_must_keep_next=false
|
---|
| 2012 | for ac_pass in 1 2
|
---|
| 2013 | do
|
---|
| 2014 | for ac_arg
|
---|
| 2015 | do
|
---|
| 2016 | case $ac_arg in
|
---|
| 2017 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 2018 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 2019 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 2020 | continue ;;
|
---|
[23356] | 2021 | *\'*)
|
---|
| 2022 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16566] | 2023 | esac
|
---|
| 2024 | case $ac_pass in
|
---|
[23356] | 2025 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
[16566] | 2026 | 2)
|
---|
[23356] | 2027 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
[16566] | 2028 | if test $ac_must_keep_next = true; then
|
---|
| 2029 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 2030 | else
|
---|
| 2031 | case $ac_arg in
|
---|
| 2032 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 2033 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 2034 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 2035 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 2036 | case "$ac_configure_args0 " in
|
---|
| 2037 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 2038 | esac
|
---|
| 2039 | ;;
|
---|
| 2040 | -* ) ac_must_keep_next=true ;;
|
---|
| 2041 | esac
|
---|
| 2042 | fi
|
---|
[23356] | 2043 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
[16566] | 2044 | ;;
|
---|
| 2045 | esac
|
---|
| 2046 | done
|
---|
| 2047 | done
|
---|
[23356] | 2048 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 2049 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
[16566] | 2050 |
|
---|
| 2051 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 2052 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 2053 | # would cause problems or look ugly.
|
---|
[23356] | 2054 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 2055 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[16566] | 2056 | trap 'exit_status=$?
|
---|
| 2057 | # Save into config.log some information that might help in debugging.
|
---|
| 2058 | {
|
---|
| 2059 | echo
|
---|
| 2060 |
|
---|
[23356] | 2061 | $as_echo "## ---------------- ##
|
---|
[16566] | 2062 | ## Cache variables. ##
|
---|
[23356] | 2063 | ## ---------------- ##"
|
---|
[16566] | 2064 | echo
|
---|
| 2065 | # The following way of writing the cache mishandles newlines in values,
|
---|
[23356] | 2066 | (
|
---|
| 2067 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 2068 | eval ac_val=\$$ac_var
|
---|
| 2069 | case $ac_val in #(
|
---|
| 2070 | *${as_nl}*)
|
---|
| 2071 | case $ac_var in #(
|
---|
| 2072 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 2073 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 2074 | esac
|
---|
| 2075 | case $ac_var in #(
|
---|
| 2076 | _ | IFS | as_nl) ;; #(
|
---|
| 2077 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 2078 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 2079 | esac ;;
|
---|
| 2080 | esac
|
---|
| 2081 | done
|
---|
[16566] | 2082 | (set) 2>&1 |
|
---|
[23356] | 2083 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 2084 | *${as_nl}ac_space=\ *)
|
---|
[16566] | 2085 | sed -n \
|
---|
[23356] | 2086 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 2087 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 2088 | ;; #(
|
---|
[16566] | 2089 | *)
|
---|
[23356] | 2090 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16566] | 2091 | ;;
|
---|
[23356] | 2092 | esac |
|
---|
| 2093 | sort
|
---|
| 2094 | )
|
---|
[16566] | 2095 | echo
|
---|
| 2096 |
|
---|
[23356] | 2097 | $as_echo "## ----------------- ##
|
---|
[16566] | 2098 | ## Output variables. ##
|
---|
[23356] | 2099 | ## ----------------- ##"
|
---|
[16566] | 2100 | echo
|
---|
| 2101 | for ac_var in $ac_subst_vars
|
---|
| 2102 | do
|
---|
[23356] | 2103 | eval ac_val=\$$ac_var
|
---|
| 2104 | case $ac_val in
|
---|
| 2105 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2106 | esac
|
---|
| 2107 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16566] | 2108 | done | sort
|
---|
| 2109 | echo
|
---|
| 2110 |
|
---|
| 2111 | if test -n "$ac_subst_files"; then
|
---|
[23356] | 2112 | $as_echo "## ------------------- ##
|
---|
| 2113 | ## File substitutions. ##
|
---|
| 2114 | ## ------------------- ##"
|
---|
[16566] | 2115 | echo
|
---|
| 2116 | for ac_var in $ac_subst_files
|
---|
| 2117 | do
|
---|
[23356] | 2118 | eval ac_val=\$$ac_var
|
---|
| 2119 | case $ac_val in
|
---|
| 2120 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2121 | esac
|
---|
| 2122 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16566] | 2123 | done | sort
|
---|
| 2124 | echo
|
---|
| 2125 | fi
|
---|
| 2126 |
|
---|
| 2127 | if test -s confdefs.h; then
|
---|
[23356] | 2128 | $as_echo "## ----------- ##
|
---|
[16566] | 2129 | ## confdefs.h. ##
|
---|
[23356] | 2130 | ## ----------- ##"
|
---|
[16566] | 2131 | echo
|
---|
[23356] | 2132 | cat confdefs.h
|
---|
[16566] | 2133 | echo
|
---|
| 2134 | fi
|
---|
| 2135 | test "$ac_signal" != 0 &&
|
---|
[23356] | 2136 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 2137 | $as_echo "$as_me: exit $exit_status"
|
---|
[16566] | 2138 | } >&5
|
---|
[23356] | 2139 | rm -f core *.core core.conftest.* &&
|
---|
| 2140 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[16566] | 2141 | exit $exit_status
|
---|
[23356] | 2142 | ' 0
|
---|
[16566] | 2143 | for ac_signal in 1 2 13 15; do
|
---|
[23356] | 2144 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
[16566] | 2145 | done
|
---|
| 2146 | ac_signal=0
|
---|
| 2147 |
|
---|
| 2148 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[23356] | 2149 | rm -f -r conftest* confdefs.h
|
---|
[16566] | 2150 |
|
---|
[23356] | 2151 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 2152 |
|
---|
[16566] | 2153 | # Predefined preprocessor variables.
|
---|
| 2154 |
|
---|
| 2155 | cat >>confdefs.h <<_ACEOF
|
---|
| 2156 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 2157 | _ACEOF
|
---|
| 2158 |
|
---|
| 2159 | cat >>confdefs.h <<_ACEOF
|
---|
| 2160 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 2161 | _ACEOF
|
---|
| 2162 |
|
---|
| 2163 | cat >>confdefs.h <<_ACEOF
|
---|
| 2164 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 2165 | _ACEOF
|
---|
| 2166 |
|
---|
| 2167 | cat >>confdefs.h <<_ACEOF
|
---|
| 2168 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 2169 | _ACEOF
|
---|
| 2170 |
|
---|
| 2171 | cat >>confdefs.h <<_ACEOF
|
---|
| 2172 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 2173 | _ACEOF
|
---|
| 2174 |
|
---|
[23356] | 2175 | cat >>confdefs.h <<_ACEOF
|
---|
| 2176 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2177 | _ACEOF
|
---|
[16566] | 2178 |
|
---|
[23356] | 2179 |
|
---|
[16566] | 2180 | # Let the site file select an alternate cache file if it wants to.
|
---|
[23356] | 2181 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 2182 | ac_site_file1=NONE
|
---|
| 2183 | ac_site_file2=NONE
|
---|
| 2184 | if test -n "$CONFIG_SITE"; then
|
---|
| 2185 | # We do not want a PATH search for config.site.
|
---|
| 2186 | case $CONFIG_SITE in #((
|
---|
| 2187 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2188 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
| 2189 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2190 | esac
|
---|
| 2191 | elif test "x$prefix" != xNONE; then
|
---|
| 2192 | ac_site_file1=$prefix/share/config.site
|
---|
| 2193 | ac_site_file2=$prefix/etc/config.site
|
---|
| 2194 | else
|
---|
| 2195 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 2196 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[16566] | 2197 | fi
|
---|
[23356] | 2198 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2199 | do
|
---|
| 2200 | test "x$ac_site_file" = xNONE && continue
|
---|
| 2201 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
| 2202 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
| 2203 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[16566] | 2204 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[23356] | 2205 | . "$ac_site_file" \
|
---|
| 2206 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2207 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2208 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
| 2209 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16566] | 2210 | fi
|
---|
| 2211 | done
|
---|
| 2212 |
|
---|
| 2213 | if test -r "$cache_file"; then
|
---|
[23356] | 2214 | # Some versions of bash will fail to source /dev/null (special files
|
---|
| 2215 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
| 2216 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
| 2217 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
| 2218 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[16566] | 2219 | case $cache_file in
|
---|
[23356] | 2220 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2221 | *) . "./$cache_file";;
|
---|
[16566] | 2222 | esac
|
---|
| 2223 | fi
|
---|
| 2224 | else
|
---|
[23356] | 2225 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
| 2226 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[16566] | 2227 | >$cache_file
|
---|
| 2228 | fi
|
---|
| 2229 |
|
---|
| 2230 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 2231 | # value.
|
---|
| 2232 | ac_cache_corrupted=false
|
---|
[23356] | 2233 | for ac_var in $ac_precious_vars; do
|
---|
[16566] | 2234 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2235 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[23356] | 2236 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2237 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[16566] | 2238 | case $ac_old_set,$ac_new_set in
|
---|
| 2239 | set,)
|
---|
[23356] | 2240 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 2241 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[16566] | 2242 | ac_cache_corrupted=: ;;
|
---|
| 2243 | ,set)
|
---|
[23356] | 2244 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 2245 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[16566] | 2246 | ac_cache_corrupted=: ;;
|
---|
| 2247 | ,);;
|
---|
| 2248 | *)
|
---|
| 2249 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[23356] | 2250 | # differences in whitespace do not lead to failure.
|
---|
| 2251 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 2252 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 2253 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
| 2254 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 2255 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2256 | ac_cache_corrupted=:
|
---|
| 2257 | else
|
---|
| 2258 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
| 2259 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 2260 | eval $ac_var=\$ac_old_val
|
---|
| 2261 | fi
|
---|
| 2262 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
| 2263 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
| 2264 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
| 2265 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[16566] | 2266 | fi;;
|
---|
| 2267 | esac
|
---|
| 2268 | # Pass precious variables to config.status.
|
---|
| 2269 | if test "$ac_new_set" = set; then
|
---|
| 2270 | case $ac_new_val in
|
---|
[23356] | 2271 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16566] | 2272 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 2273 | esac
|
---|
| 2274 | case " $ac_configure_args " in
|
---|
| 2275 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[23356] | 2276 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
[16566] | 2277 | esac
|
---|
| 2278 | fi
|
---|
| 2279 | done
|
---|
| 2280 | if $ac_cache_corrupted; then
|
---|
[23356] | 2281 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2282 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2283 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
| 2284 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 2285 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
[16566] | 2286 | fi
|
---|
[23356] | 2287 | ## -------------------- ##
|
---|
| 2288 | ## Main body of script. ##
|
---|
| 2289 | ## -------------------- ##
|
---|
[16566] | 2290 |
|
---|
[21327] | 2291 | ac_ext=c
|
---|
| 2292 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2293 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2294 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2295 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[16566] | 2296 |
|
---|
| 2297 |
|
---|
[23356] | 2298 | ac_config_headers="$ac_config_headers config.h"
|
---|
[16566] | 2299 |
|
---|
| 2300 |
|
---|
| 2301 |
|
---|
| 2302 |
|
---|
| 2303 |
|
---|
| 2304 | PACKAGE=gsdl
|
---|
[23356] | 2305 | VERSION=2.x-svn
|
---|
[16566] | 2306 | cat >>confdefs.h <<_ACEOF
|
---|
| 2307 | #define PACKAGE "$PACKAGE"
|
---|
| 2308 | _ACEOF
|
---|
| 2309 |
|
---|
| 2310 | cat >>confdefs.h <<_ACEOF
|
---|
| 2311 | #define VERSION "$VERSION"
|
---|
| 2312 | _ACEOF
|
---|
| 2313 |
|
---|
| 2314 |
|
---|
| 2315 |
|
---|
| 2316 |
|
---|
| 2317 | USE_FASTCGI=0
|
---|
| 2318 | if test USE_FASTCGI = 1; then
|
---|
[23356] | 2319 | $as_echo "#define USE_FASTCGI 1" >>confdefs.h
|
---|
[16566] | 2320 |
|
---|
| 2321 |
|
---|
| 2322 | fi
|
---|
| 2323 |
|
---|
| 2324 | if test USE_LANGACTION = 1; then
|
---|
[23356] | 2325 | $as_echo "#define USE_LANGACTION 1" >>confdefs.h
|
---|
[16566] | 2326 |
|
---|
| 2327 |
|
---|
| 2328 | fi
|
---|
| 2329 |
|
---|
[23356] | 2330 | # Check whether --enable-corba was given.
|
---|
| 2331 | if test "${enable_corba+set}" = set; then :
|
---|
| 2332 | enableval=$enable_corba; USE_CORBA=$enableval
|
---|
[16566] | 2333 | else
|
---|
[22058] | 2334 | USE_CORBA=no
|
---|
[23356] | 2335 | fi
|
---|
| 2336 |
|
---|
[22058] | 2337 | if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
|
---|
| 2338 | USE_CORBA=1
|
---|
[23356] | 2339 | $as_echo "#define USE_CORBA /**/" >>confdefs.h
|
---|
[16566] | 2340 |
|
---|
[22058] | 2341 | else
|
---|
| 2342 | USE_CORBA=0
|
---|
| 2343 | fi
|
---|
[16566] | 2344 |
|
---|
| 2345 |
|
---|
| 2346 |
|
---|
[23356] | 2347 | # Check whether --with-micodir was given.
|
---|
| 2348 | if test "${with_micodir+set}" = set; then :
|
---|
| 2349 | withval=$with_micodir; MICO_DIR=$withval
|
---|
[16566] | 2350 | else
|
---|
| 2351 | MICO_DIR="default"
|
---|
[23356] | 2352 | fi
|
---|
| 2353 |
|
---|
[16566] | 2354 | cat >>confdefs.h <<_ACEOF
|
---|
| 2355 | #define MICO_DIR "$MICO_DIR"
|
---|
| 2356 | _ACEOF
|
---|
| 2357 |
|
---|
| 2358 |
|
---|
| 2359 |
|
---|
[23356] | 2360 | # Check whether --enable-z3950 was given.
|
---|
| 2361 | if test "${enable_z3950+set}" = set; then :
|
---|
| 2362 | enableval=$enable_z3950; USE_Z3950=$enableval
|
---|
[16566] | 2363 | else
|
---|
[22058] | 2364 | USE_Z3950=no
|
---|
[23356] | 2365 | fi
|
---|
| 2366 |
|
---|
[22058] | 2367 | if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
|
---|
| 2368 | USE_Z3950=1
|
---|
[23356] | 2369 | $as_echo "#define USE_Z3950 /**/" >>confdefs.h
|
---|
[16566] | 2370 |
|
---|
[22058] | 2371 | else
|
---|
| 2372 | USE_Z3950=0
|
---|
[16566] | 2373 | fi
|
---|
| 2374 |
|
---|
[22058] | 2375 |
|
---|
[23356] | 2376 | # Check whether --enable-yaz was given.
|
---|
| 2377 | if test "${enable_yaz+set}" = set; then :
|
---|
| 2378 | enableval=$enable_yaz; USE_YAZ=$enableval
|
---|
[22058] | 2379 | else
|
---|
| 2380 | USE_YAZ=yes
|
---|
[23356] | 2381 | fi
|
---|
| 2382 |
|
---|
[22058] | 2383 | if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
|
---|
| 2384 | USE_YAZ=1
|
---|
[23356] | 2385 | $as_echo "#define USE_YAZ /**/" >>confdefs.h
|
---|
[22058] | 2386 |
|
---|
| 2387 | else
|
---|
[21327] | 2388 | USE_YAZ=0
|
---|
[22058] | 2389 | fi
|
---|
| 2390 |
|
---|
| 2391 |
|
---|
[23356] | 2392 | # Check whether --enable-java was given.
|
---|
| 2393 | if test "${enable_java+set}" = set; then :
|
---|
| 2394 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
[16566] | 2395 | else
|
---|
[23356] | 2396 | ENABLE_JAVA=yes
|
---|
| 2397 | fi
|
---|
| 2398 |
|
---|
| 2399 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 2400 | ENABLE_JAVA=1
|
---|
| 2401 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 2402 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 2403 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 2404 | echo "and JAVA respectively"
|
---|
| 2405 | export JAVA_HOME=
|
---|
| 2406 | fi
|
---|
| 2407 | else
|
---|
| 2408 | ENABLE_JAVA=0
|
---|
| 2409 | fi
|
---|
| 2410 |
|
---|
| 2411 |
|
---|
| 2412 | # Check whether --enable-jdbm was given.
|
---|
| 2413 | if test "${enable_jdbm+set}" = set; then :
|
---|
| 2414 | enableval=$enable_jdbm; USE_JDBM=$enableval
|
---|
| 2415 | else
|
---|
[22058] | 2416 | USE_JDBM=yes
|
---|
[23356] | 2417 | fi
|
---|
| 2418 |
|
---|
| 2419 | if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
|
---|
[22058] | 2420 | USE_JDBM=1
|
---|
[23356] | 2421 | $as_echo "#define USE_JDBM /**/" >>confdefs.h
|
---|
[16566] | 2422 |
|
---|
[22058] | 2423 | else
|
---|
| 2424 | USE_JDBM=0
|
---|
| 2425 | fi
|
---|
[16566] | 2426 |
|
---|
| 2427 |
|
---|
[23356] | 2428 | # Check whether --enable-gdbm was given.
|
---|
| 2429 | if test "${enable_gdbm+set}" = set; then :
|
---|
| 2430 | enableval=$enable_gdbm; USE_GDBM=$enableval
|
---|
[16566] | 2431 | else
|
---|
[22058] | 2432 | USE_GDBM=yes
|
---|
[23356] | 2433 | fi
|
---|
| 2434 |
|
---|
[22058] | 2435 | if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
|
---|
| 2436 | USE_GDBM=1
|
---|
[23356] | 2437 | $as_echo "#define USE_GDBM /**/" >>confdefs.h
|
---|
[16566] | 2438 |
|
---|
[22058] | 2439 | else
|
---|
| 2440 | USE_GDBM=0
|
---|
| 2441 | fi
|
---|
[16566] | 2442 |
|
---|
| 2443 |
|
---|
[23356] | 2444 | # Check whether --enable-accentfold was given.
|
---|
| 2445 | if test "${enable_accentfold+set}" = set; then :
|
---|
| 2446 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
[21409] | 2447 | else
|
---|
[22058] | 2448 | ENABLE_ACCENTFOLD=yes
|
---|
[23356] | 2449 | fi
|
---|
| 2450 |
|
---|
[22058] | 2451 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
| 2452 | ENABLE_ACCENTFOLD=1
|
---|
[23356] | 2453 | $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
|
---|
[21409] | 2454 |
|
---|
[21418] | 2455 | else
|
---|
[22058] | 2456 | ENABLE_ACCENTFOLD=0
|
---|
[21418] | 2457 | fi
|
---|
[21409] | 2458 |
|
---|
| 2459 |
|
---|
[22058] | 2460 |
|
---|
[23356] | 2461 | # Check whether --enable-sqlite was given.
|
---|
| 2462 | if test "${enable_sqlite+set}" = set; then :
|
---|
| 2463 | enableval=$enable_sqlite; USE_SQLITE=$enableval
|
---|
[16566] | 2464 | else
|
---|
[22058] | 2465 | USE_SQLITE=yes
|
---|
[23356] | 2466 | fi
|
---|
| 2467 |
|
---|
[22058] | 2468 | if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
|
---|
[16566] | 2469 | USE_SQLITE=1
|
---|
[23356] | 2470 | $as_echo "#define USE_SQLITE /**/" >>confdefs.h
|
---|
[16566] | 2471 |
|
---|
[22058] | 2472 | else
|
---|
| 2473 | USE_SQLITE=0
|
---|
| 2474 | fi
|
---|
[16566] | 2475 |
|
---|
| 2476 |
|
---|
[23356] | 2477 | # Check whether --enable-jni was given.
|
---|
| 2478 | if test "${enable_jni+set}" = set; then :
|
---|
| 2479 | enableval=$enable_jni; ENABLE_JNI=$enableval
|
---|
[21365] | 2480 | else
|
---|
| 2481 | ENABLE_JNI=no
|
---|
[23356] | 2482 | fi
|
---|
| 2483 |
|
---|
| 2484 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
|
---|
[21365] | 2485 | ENABLE_JNI=1
|
---|
[23356] | 2486 | $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
|
---|
[21365] | 2487 |
|
---|
| 2488 | else
|
---|
| 2489 | ENABLE_JNI=0
|
---|
| 2490 | fi
|
---|
| 2491 |
|
---|
| 2492 |
|
---|
[23356] | 2493 | # Check whether --enable-mg was given.
|
---|
| 2494 | if test "${enable_mg+set}" = set; then :
|
---|
| 2495 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
[21327] | 2496 | else
|
---|
| 2497 | ENABLE_MG=yes
|
---|
[23356] | 2498 | fi
|
---|
| 2499 |
|
---|
[21327] | 2500 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 2501 | ENABLE_MG=1
|
---|
[23356] | 2502 | $as_echo "#define ENABLE_MG /**/" >>confdefs.h
|
---|
[21327] | 2503 |
|
---|
| 2504 | else
|
---|
| 2505 | ENABLE_MG=0
|
---|
| 2506 | fi
|
---|
| 2507 |
|
---|
| 2508 |
|
---|
[23356] | 2509 | # Check whether --enable-mgpp was given.
|
---|
| 2510 | if test "${enable_mgpp+set}" = set; then :
|
---|
| 2511 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
[21327] | 2512 | else
|
---|
| 2513 | ENABLE_MGPP=yes
|
---|
[23356] | 2514 | fi
|
---|
| 2515 |
|
---|
[21327] | 2516 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 2517 | ENABLE_MGPP=1
|
---|
[23356] | 2518 | $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
|
---|
[21327] | 2519 |
|
---|
| 2520 | else
|
---|
| 2521 | ENABLE_MGPP=0
|
---|
| 2522 | fi
|
---|
| 2523 |
|
---|
| 2524 |
|
---|
[23356] | 2525 | # Check whether --enable-lucene was given.
|
---|
| 2526 | if test "${enable_lucene+set}" = set; then :
|
---|
| 2527 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
[21327] | 2528 | else
|
---|
| 2529 | ENABLE_LUCENE=yes
|
---|
[23356] | 2530 | fi
|
---|
| 2531 |
|
---|
| 2532 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
|
---|
[21327] | 2533 | ENABLE_LUCENE=1
|
---|
[23356] | 2534 | $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
|
---|
[21327] | 2535 |
|
---|
| 2536 | else
|
---|
| 2537 | ENABLE_LUCENE=0
|
---|
| 2538 | fi
|
---|
| 2539 |
|
---|
| 2540 |
|
---|
| 2541 |
|
---|
[16566] | 2542 | LDFLAGS=$LDFLAGS
|
---|
| 2543 |
|
---|
| 2544 | if test -z "$CFLAGS"; then
|
---|
| 2545 | CFLAGS=-O2
|
---|
| 2546 | fi
|
---|
| 2547 |
|
---|
| 2548 |
|
---|
| 2549 |
|
---|
| 2550 | ac_ext=c
|
---|
| 2551 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2552 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2553 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2554 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2555 | if test -n "$ac_tool_prefix"; then
|
---|
| 2556 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2557 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[23356] | 2558 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2559 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2560 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2561 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2562 | else
|
---|
| 2563 | if test -n "$CC"; then
|
---|
| 2564 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2565 | else
|
---|
| 2566 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2567 | for as_dir in $PATH
|
---|
| 2568 | do
|
---|
| 2569 | IFS=$as_save_IFS
|
---|
| 2570 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2571 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2572 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2573 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[23356] | 2574 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2575 | break 2
|
---|
| 2576 | fi
|
---|
| 2577 | done
|
---|
[23356] | 2578 | done
|
---|
| 2579 | IFS=$as_save_IFS
|
---|
[16566] | 2580 |
|
---|
| 2581 | fi
|
---|
| 2582 | fi
|
---|
| 2583 | CC=$ac_cv_prog_CC
|
---|
| 2584 | if test -n "$CC"; then
|
---|
[23356] | 2585 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2586 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2587 | else
|
---|
[23356] | 2588 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2589 | $as_echo "no" >&6; }
|
---|
[16566] | 2590 | fi
|
---|
| 2591 |
|
---|
[23356] | 2592 |
|
---|
[16566] | 2593 | fi
|
---|
| 2594 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2595 | ac_ct_CC=$CC
|
---|
| 2596 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2597 | set dummy gcc; ac_word=$2
|
---|
[23356] | 2598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2599 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2600 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
---|
| 2601 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2602 | else
|
---|
| 2603 | if test -n "$ac_ct_CC"; then
|
---|
| 2604 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2605 | else
|
---|
| 2606 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2607 | for as_dir in $PATH
|
---|
| 2608 | do
|
---|
| 2609 | IFS=$as_save_IFS
|
---|
| 2610 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2611 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2612 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2613 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[23356] | 2614 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2615 | break 2
|
---|
| 2616 | fi
|
---|
| 2617 | done
|
---|
[23356] | 2618 | done
|
---|
| 2619 | IFS=$as_save_IFS
|
---|
[16566] | 2620 |
|
---|
| 2621 | fi
|
---|
| 2622 | fi
|
---|
| 2623 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2624 | if test -n "$ac_ct_CC"; then
|
---|
[23356] | 2625 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2626 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16566] | 2627 | else
|
---|
[23356] | 2628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2629 | $as_echo "no" >&6; }
|
---|
[16566] | 2630 | fi
|
---|
| 2631 |
|
---|
[23356] | 2632 | if test "x$ac_ct_CC" = x; then
|
---|
| 2633 | CC=""
|
---|
| 2634 | else
|
---|
| 2635 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2636 | yes:)
|
---|
| 2637 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2638 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2639 | ac_tool_warned=yes ;;
|
---|
| 2640 | esac
|
---|
| 2641 | CC=$ac_ct_CC
|
---|
| 2642 | fi
|
---|
[16566] | 2643 | else
|
---|
| 2644 | CC="$ac_cv_prog_CC"
|
---|
| 2645 | fi
|
---|
| 2646 |
|
---|
| 2647 | if test -z "$CC"; then
|
---|
[23356] | 2648 | if test -n "$ac_tool_prefix"; then
|
---|
| 2649 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[16566] | 2650 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[23356] | 2651 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2652 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2653 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2654 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2655 | else
|
---|
| 2656 | if test -n "$CC"; then
|
---|
| 2657 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2658 | else
|
---|
| 2659 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2660 | for as_dir in $PATH
|
---|
| 2661 | do
|
---|
| 2662 | IFS=$as_save_IFS
|
---|
| 2663 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2664 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2665 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2666 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[23356] | 2667 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2668 | break 2
|
---|
| 2669 | fi
|
---|
| 2670 | done
|
---|
[23356] | 2671 | done
|
---|
| 2672 | IFS=$as_save_IFS
|
---|
[16566] | 2673 |
|
---|
| 2674 | fi
|
---|
| 2675 | fi
|
---|
| 2676 | CC=$ac_cv_prog_CC
|
---|
| 2677 | if test -n "$CC"; then
|
---|
[23356] | 2678 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2679 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2680 | else
|
---|
[23356] | 2681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2682 | $as_echo "no" >&6; }
|
---|
[16566] | 2683 | fi
|
---|
| 2684 |
|
---|
[23356] | 2685 |
|
---|
[21327] | 2686 | fi
|
---|
[16566] | 2687 | fi
|
---|
| 2688 | if test -z "$CC"; then
|
---|
| 2689 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2690 | set dummy cc; ac_word=$2
|
---|
[23356] | 2691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2692 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2693 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2694 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2695 | else
|
---|
| 2696 | if test -n "$CC"; then
|
---|
| 2697 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2698 | else
|
---|
| 2699 | ac_prog_rejected=no
|
---|
| 2700 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2701 | for as_dir in $PATH
|
---|
| 2702 | do
|
---|
| 2703 | IFS=$as_save_IFS
|
---|
| 2704 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2705 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2706 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2707 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2708 | ac_prog_rejected=yes
|
---|
| 2709 | continue
|
---|
| 2710 | fi
|
---|
| 2711 | ac_cv_prog_CC="cc"
|
---|
[23356] | 2712 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2713 | break 2
|
---|
| 2714 | fi
|
---|
| 2715 | done
|
---|
[23356] | 2716 | done
|
---|
| 2717 | IFS=$as_save_IFS
|
---|
[16566] | 2718 |
|
---|
| 2719 | if test $ac_prog_rejected = yes; then
|
---|
| 2720 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2721 | set dummy $ac_cv_prog_CC
|
---|
| 2722 | shift
|
---|
| 2723 | if test $# != 0; then
|
---|
| 2724 | # We chose a different compiler from the bogus one.
|
---|
| 2725 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2726 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2727 | shift
|
---|
| 2728 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2729 | fi
|
---|
| 2730 | fi
|
---|
| 2731 | fi
|
---|
| 2732 | fi
|
---|
| 2733 | CC=$ac_cv_prog_CC
|
---|
| 2734 | if test -n "$CC"; then
|
---|
[23356] | 2735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2736 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2737 | else
|
---|
[23356] | 2738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2739 | $as_echo "no" >&6; }
|
---|
[16566] | 2740 | fi
|
---|
| 2741 |
|
---|
[23356] | 2742 |
|
---|
[16566] | 2743 | fi
|
---|
| 2744 | if test -z "$CC"; then
|
---|
| 2745 | if test -n "$ac_tool_prefix"; then
|
---|
[23356] | 2746 | for ac_prog in cl.exe
|
---|
[16566] | 2747 | do
|
---|
| 2748 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2749 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[23356] | 2750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2751 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2752 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2753 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2754 | else
|
---|
| 2755 | if test -n "$CC"; then
|
---|
| 2756 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2757 | else
|
---|
| 2758 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2759 | for as_dir in $PATH
|
---|
| 2760 | do
|
---|
| 2761 | IFS=$as_save_IFS
|
---|
| 2762 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2763 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2764 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2765 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[23356] | 2766 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2767 | break 2
|
---|
| 2768 | fi
|
---|
| 2769 | done
|
---|
[23356] | 2770 | done
|
---|
| 2771 | IFS=$as_save_IFS
|
---|
[16566] | 2772 |
|
---|
| 2773 | fi
|
---|
| 2774 | fi
|
---|
| 2775 | CC=$ac_cv_prog_CC
|
---|
| 2776 | if test -n "$CC"; then
|
---|
[23356] | 2777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2778 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2779 | else
|
---|
[23356] | 2780 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2781 | $as_echo "no" >&6; }
|
---|
[16566] | 2782 | fi
|
---|
| 2783 |
|
---|
[23356] | 2784 |
|
---|
[16566] | 2785 | test -n "$CC" && break
|
---|
| 2786 | done
|
---|
| 2787 | fi
|
---|
| 2788 | if test -z "$CC"; then
|
---|
| 2789 | ac_ct_CC=$CC
|
---|
[23356] | 2790 | for ac_prog in cl.exe
|
---|
[16566] | 2791 | do
|
---|
| 2792 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2793 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 2794 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2795 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2796 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
---|
| 2797 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2798 | else
|
---|
| 2799 | if test -n "$ac_ct_CC"; then
|
---|
| 2800 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2801 | else
|
---|
| 2802 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2803 | for as_dir in $PATH
|
---|
| 2804 | do
|
---|
| 2805 | IFS=$as_save_IFS
|
---|
| 2806 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 2807 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2808 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2809 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[23356] | 2810 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2811 | break 2
|
---|
| 2812 | fi
|
---|
| 2813 | done
|
---|
[23356] | 2814 | done
|
---|
| 2815 | IFS=$as_save_IFS
|
---|
[16566] | 2816 |
|
---|
| 2817 | fi
|
---|
| 2818 | fi
|
---|
| 2819 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2820 | if test -n "$ac_ct_CC"; then
|
---|
[23356] | 2821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2822 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16566] | 2823 | else
|
---|
[23356] | 2824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2825 | $as_echo "no" >&6; }
|
---|
[16566] | 2826 | fi
|
---|
| 2827 |
|
---|
[23356] | 2828 |
|
---|
[16566] | 2829 | test -n "$ac_ct_CC" && break
|
---|
| 2830 | done
|
---|
| 2831 |
|
---|
[23356] | 2832 | if test "x$ac_ct_CC" = x; then
|
---|
| 2833 | CC=""
|
---|
| 2834 | else
|
---|
| 2835 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2836 | yes:)
|
---|
| 2837 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2838 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2839 | ac_tool_warned=yes ;;
|
---|
| 2840 | esac
|
---|
| 2841 | CC=$ac_ct_CC
|
---|
| 2842 | fi
|
---|
[16566] | 2843 | fi
|
---|
| 2844 |
|
---|
| 2845 | fi
|
---|
| 2846 |
|
---|
| 2847 |
|
---|
[23356] | 2848 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2849 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2850 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
| 2851 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16566] | 2852 |
|
---|
| 2853 | # Provide some information about the compiler.
|
---|
[23356] | 2854 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
| 2855 | set X $ac_compile
|
---|
| 2856 | ac_compiler=$2
|
---|
| 2857 | for ac_option in --version -v -V -qversion; do
|
---|
| 2858 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 2859 | case "(($ac_try" in
|
---|
| 2860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2861 | *) ac_try_echo=$ac_try;;
|
---|
| 2862 | esac
|
---|
| 2863 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2864 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2865 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16566] | 2866 | ac_status=$?
|
---|
[23356] | 2867 | if test -s conftest.err; then
|
---|
| 2868 | sed '10a\
|
---|
| 2869 | ... rest of stderr output deleted ...
|
---|
| 2870 | 10q' conftest.err >conftest.er1
|
---|
| 2871 | cat conftest.er1 >&5
|
---|
| 2872 | fi
|
---|
| 2873 | rm -f conftest.er1 conftest.err
|
---|
| 2874 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2875 | test $ac_status = 0; }
|
---|
| 2876 | done
|
---|
[16566] | 2877 |
|
---|
[23356] | 2878 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 2879 | /* end confdefs.h. */
|
---|
| 2880 |
|
---|
| 2881 | int
|
---|
| 2882 | main ()
|
---|
| 2883 | {
|
---|
| 2884 |
|
---|
| 2885 | ;
|
---|
| 2886 | return 0;
|
---|
| 2887 | }
|
---|
| 2888 | _ACEOF
|
---|
| 2889 | ac_clean_files_save=$ac_clean_files
|
---|
[23356] | 2890 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[16566] | 2891 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2892 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2893 | # of exeext.
|
---|
[23356] | 2894 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
---|
| 2895 | $as_echo_n "checking whether the C compiler works... " >&6; }
|
---|
| 2896 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[21327] | 2897 |
|
---|
[23356] | 2898 | # The possible output files:
|
---|
| 2899 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2900 |
|
---|
| 2901 | ac_rmfiles=
|
---|
| 2902 | for ac_file in $ac_files
|
---|
[16566] | 2903 | do
|
---|
[23356] | 2904 | case $ac_file in
|
---|
| 2905 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2906 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2907 | esac
|
---|
| 2908 | done
|
---|
| 2909 | rm -f $ac_rmfiles
|
---|
| 2910 |
|
---|
| 2911 | if { { ac_try="$ac_link_default"
|
---|
| 2912 | case "(($ac_try" in
|
---|
| 2913 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2914 | *) ac_try_echo=$ac_try;;
|
---|
| 2915 | esac
|
---|
| 2916 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2917 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2918 | (eval "$ac_link_default") 2>&5
|
---|
| 2919 | ac_status=$?
|
---|
| 2920 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2921 | test $ac_status = 0; }; then :
|
---|
| 2922 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2923 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2924 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2925 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2926 | # Autoconf.
|
---|
| 2927 | for ac_file in $ac_files ''
|
---|
| 2928 | do
|
---|
[16566] | 2929 | test -f "$ac_file" || continue
|
---|
| 2930 | case $ac_file in
|
---|
[23356] | 2931 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[16566] | 2932 | ;;
|
---|
| 2933 | [ab].out )
|
---|
| 2934 | # We found the default executable, but exeext='' is most
|
---|
| 2935 | # certainly right.
|
---|
| 2936 | break;;
|
---|
| 2937 | *.* )
|
---|
[23356] | 2938 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
| 2939 | then :; else
|
---|
| 2940 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2941 | fi
|
---|
| 2942 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2943 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2944 | # argument, so we may need to know it at that point already.
|
---|
| 2945 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2946 | # actually working.
|
---|
[16566] | 2947 | break;;
|
---|
| 2948 | * )
|
---|
| 2949 | break;;
|
---|
| 2950 | esac
|
---|
| 2951 | done
|
---|
[23356] | 2952 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2953 |
|
---|
[16566] | 2954 | else
|
---|
[23356] | 2955 | ac_file=''
|
---|
| 2956 | fi
|
---|
| 2957 | if test -z "$ac_file"; then :
|
---|
| 2958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2959 | $as_echo "no" >&6; }
|
---|
| 2960 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16566] | 2961 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2962 |
|
---|
[23356] | 2963 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2964 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2965 | as_fn_error 77 "C compiler cannot create executables
|
---|
| 2966 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
| 2967 | else
|
---|
| 2968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2969 | $as_echo "yes" >&6; }
|
---|
[16566] | 2970 | fi
|
---|
[23356] | 2971 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
---|
| 2972 | $as_echo_n "checking for C compiler default output file name... " >&6; }
|
---|
| 2973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 2974 | $as_echo "$ac_file" >&6; }
|
---|
[16566] | 2975 | ac_exeext=$ac_cv_exeext
|
---|
| 2976 |
|
---|
[23356] | 2977 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[16566] | 2978 | ac_clean_files=$ac_clean_files_save
|
---|
[23356] | 2979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
| 2980 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
| 2981 | if { { ac_try="$ac_link"
|
---|
| 2982 | case "(($ac_try" in
|
---|
| 2983 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2984 | *) ac_try_echo=$ac_try;;
|
---|
| 2985 | esac
|
---|
| 2986 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2987 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2988 | (eval "$ac_link") 2>&5
|
---|
[16566] | 2989 | ac_status=$?
|
---|
[23356] | 2990 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2991 | test $ac_status = 0; }; then :
|
---|
[16566] | 2992 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2993 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2994 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2995 | # `rm'.
|
---|
| 2996 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2997 | test -f "$ac_file" || continue
|
---|
| 2998 | case $ac_file in
|
---|
[23356] | 2999 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[16566] | 3000 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 3001 | break;;
|
---|
| 3002 | * ) break;;
|
---|
| 3003 | esac
|
---|
| 3004 | done
|
---|
| 3005 | else
|
---|
[23356] | 3006 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3007 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3008 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
| 3009 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16566] | 3010 | fi
|
---|
[23356] | 3011 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 3012 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
| 3013 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[16566] | 3014 |
|
---|
| 3015 | rm -f conftest.$ac_ext
|
---|
| 3016 | EXEEXT=$ac_cv_exeext
|
---|
| 3017 | ac_exeext=$EXEEXT
|
---|
[23356] | 3018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3019 | /* end confdefs.h. */
|
---|
| 3020 | #include <stdio.h>
|
---|
| 3021 | int
|
---|
| 3022 | main ()
|
---|
| 3023 | {
|
---|
| 3024 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 3025 | return ferror (f) || fclose (f) != 0;
|
---|
| 3026 |
|
---|
| 3027 | ;
|
---|
| 3028 | return 0;
|
---|
| 3029 | }
|
---|
| 3030 | _ACEOF
|
---|
| 3031 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 3032 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 3033 | # the compiler is broken, or we cross compile.
|
---|
| 3034 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 3035 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 3036 | if test "$cross_compiling" != yes; then
|
---|
| 3037 | { { ac_try="$ac_link"
|
---|
| 3038 | case "(($ac_try" in
|
---|
| 3039 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3040 | *) ac_try_echo=$ac_try;;
|
---|
| 3041 | esac
|
---|
| 3042 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3043 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3044 | (eval "$ac_link") 2>&5
|
---|
| 3045 | ac_status=$?
|
---|
| 3046 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3047 | test $ac_status = 0; }
|
---|
| 3048 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 3049 | { { case "(($ac_try" in
|
---|
| 3050 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3051 | *) ac_try_echo=$ac_try;;
|
---|
| 3052 | esac
|
---|
| 3053 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3054 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3055 | (eval "$ac_try") 2>&5
|
---|
| 3056 | ac_status=$?
|
---|
| 3057 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3058 | test $ac_status = 0; }; }; then
|
---|
| 3059 | cross_compiling=no
|
---|
| 3060 | else
|
---|
| 3061 | if test "$cross_compiling" = maybe; then
|
---|
| 3062 | cross_compiling=yes
|
---|
| 3063 | else
|
---|
| 3064 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3065 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3066 | as_fn_error $? "cannot run C compiled programs.
|
---|
| 3067 | If you meant to cross compile, use \`--host'.
|
---|
| 3068 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
| 3069 | fi
|
---|
| 3070 | fi
|
---|
| 3071 | fi
|
---|
| 3072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 3073 | $as_echo "$cross_compiling" >&6; }
|
---|
| 3074 |
|
---|
| 3075 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 3076 | ac_clean_files=$ac_clean_files_save
|
---|
| 3077 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
| 3078 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
| 3079 | if test "${ac_cv_objext+set}" = set; then :
|
---|
| 3080 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3081 | else
|
---|
[23356] | 3082 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3083 | /* end confdefs.h. */
|
---|
| 3084 |
|
---|
| 3085 | int
|
---|
| 3086 | main ()
|
---|
| 3087 | {
|
---|
| 3088 |
|
---|
| 3089 | ;
|
---|
| 3090 | return 0;
|
---|
| 3091 | }
|
---|
| 3092 | _ACEOF
|
---|
| 3093 | rm -f conftest.o conftest.obj
|
---|
[23356] | 3094 | if { { ac_try="$ac_compile"
|
---|
| 3095 | case "(($ac_try" in
|
---|
| 3096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3097 | *) ac_try_echo=$ac_try;;
|
---|
| 3098 | esac
|
---|
| 3099 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3100 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3101 | (eval "$ac_compile") 2>&5
|
---|
[16566] | 3102 | ac_status=$?
|
---|
[23356] | 3103 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3104 | test $ac_status = 0; }; then :
|
---|
| 3105 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 3106 | test -f "$ac_file" || continue;
|
---|
[16566] | 3107 | case $ac_file in
|
---|
[23356] | 3108 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[16566] | 3109 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 3110 | break;;
|
---|
| 3111 | esac
|
---|
| 3112 | done
|
---|
| 3113 | else
|
---|
[23356] | 3114 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16566] | 3115 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3116 |
|
---|
[23356] | 3117 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3118 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3119 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
| 3120 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16566] | 3121 | fi
|
---|
| 3122 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 3123 | fi
|
---|
[23356] | 3124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
| 3125 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[16566] | 3126 | OBJEXT=$ac_cv_objext
|
---|
| 3127 | ac_objext=$OBJEXT
|
---|
[23356] | 3128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
| 3129 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
| 3130 | if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
---|
| 3131 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3132 | else
|
---|
[23356] | 3133 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3134 | /* end confdefs.h. */
|
---|
| 3135 |
|
---|
| 3136 | int
|
---|
| 3137 | main ()
|
---|
| 3138 | {
|
---|
| 3139 | #ifndef __GNUC__
|
---|
| 3140 | choke me
|
---|
| 3141 | #endif
|
---|
| 3142 |
|
---|
| 3143 | ;
|
---|
| 3144 | return 0;
|
---|
| 3145 | }
|
---|
| 3146 | _ACEOF
|
---|
[23356] | 3147 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 3148 | ac_compiler_gnu=yes
|
---|
| 3149 | else
|
---|
[23356] | 3150 | ac_compiler_gnu=no
|
---|
[16566] | 3151 | fi
|
---|
[23356] | 3152 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3153 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 3154 |
|
---|
| 3155 | fi
|
---|
[23356] | 3156 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 3157 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 3158 | if test $ac_compiler_gnu = yes; then
|
---|
| 3159 | GCC=yes
|
---|
| 3160 | else
|
---|
| 3161 | GCC=
|
---|
| 3162 | fi
|
---|
[16566] | 3163 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 3164 | ac_save_CFLAGS=$CFLAGS
|
---|
[23356] | 3165 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
| 3166 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
| 3167 | if test "${ac_cv_prog_cc_g+set}" = set; then :
|
---|
| 3168 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3169 | else
|
---|
[23356] | 3170 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 3171 | ac_c_werror_flag=yes
|
---|
| 3172 | ac_cv_prog_cc_g=no
|
---|
| 3173 | CFLAGS="-g"
|
---|
| 3174 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3175 | /* end confdefs.h. */
|
---|
| 3176 |
|
---|
| 3177 | int
|
---|
| 3178 | main ()
|
---|
| 3179 | {
|
---|
| 3180 |
|
---|
| 3181 | ;
|
---|
| 3182 | return 0;
|
---|
| 3183 | }
|
---|
| 3184 | _ACEOF
|
---|
[23356] | 3185 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 3186 | ac_cv_prog_cc_g=yes
|
---|
| 3187 | else
|
---|
[23356] | 3188 | CFLAGS=""
|
---|
| 3189 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3190 | /* end confdefs.h. */
|
---|
[16566] | 3191 |
|
---|
[23356] | 3192 | int
|
---|
| 3193 | main ()
|
---|
| 3194 | {
|
---|
| 3195 |
|
---|
| 3196 | ;
|
---|
| 3197 | return 0;
|
---|
| 3198 | }
|
---|
| 3199 | _ACEOF
|
---|
| 3200 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3201 |
|
---|
| 3202 | else
|
---|
| 3203 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3204 | CFLAGS="-g"
|
---|
| 3205 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3206 | /* end confdefs.h. */
|
---|
| 3207 |
|
---|
| 3208 | int
|
---|
| 3209 | main ()
|
---|
| 3210 | {
|
---|
| 3211 |
|
---|
| 3212 | ;
|
---|
| 3213 | return 0;
|
---|
| 3214 | }
|
---|
| 3215 | _ACEOF
|
---|
| 3216 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3217 | ac_cv_prog_cc_g=yes
|
---|
[16566] | 3218 | fi
|
---|
[23356] | 3219 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3220 | fi
|
---|
[23356] | 3221 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3222 | fi
|
---|
| 3223 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3224 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3225 | fi
|
---|
| 3226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
| 3227 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[16566] | 3228 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 3229 | CFLAGS=$ac_save_CFLAGS
|
---|
| 3230 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 3231 | if test "$GCC" = yes; then
|
---|
| 3232 | CFLAGS="-g -O2"
|
---|
| 3233 | else
|
---|
| 3234 | CFLAGS="-g"
|
---|
| 3235 | fi
|
---|
| 3236 | else
|
---|
| 3237 | if test "$GCC" = yes; then
|
---|
| 3238 | CFLAGS="-O2"
|
---|
| 3239 | else
|
---|
| 3240 | CFLAGS=
|
---|
| 3241 | fi
|
---|
| 3242 | fi
|
---|
[23356] | 3243 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
| 3244 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
| 3245 | if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
---|
| 3246 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3247 | else
|
---|
[23356] | 3248 | ac_cv_prog_cc_c89=no
|
---|
[16566] | 3249 | ac_save_CC=$CC
|
---|
[23356] | 3250 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3251 | /* end confdefs.h. */
|
---|
| 3252 | #include <stdarg.h>
|
---|
| 3253 | #include <stdio.h>
|
---|
| 3254 | #include <sys/types.h>
|
---|
| 3255 | #include <sys/stat.h>
|
---|
| 3256 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 3257 | struct buf { int x; };
|
---|
| 3258 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 3259 | static char *e (p, i)
|
---|
| 3260 | char **p;
|
---|
| 3261 | int i;
|
---|
| 3262 | {
|
---|
| 3263 | return p[i];
|
---|
| 3264 | }
|
---|
| 3265 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 3266 | {
|
---|
| 3267 | char *s;
|
---|
| 3268 | va_list v;
|
---|
| 3269 | va_start (v,p);
|
---|
| 3270 | s = g (p, va_arg (v,int));
|
---|
| 3271 | va_end (v);
|
---|
| 3272 | return s;
|
---|
| 3273 | }
|
---|
| 3274 |
|
---|
| 3275 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3276 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3277 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[23356] | 3278 | as 'x'. The following induces an error, until -std is added to get
|
---|
[16566] | 3279 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3280 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[23356] | 3281 | that's true only with -std. */
|
---|
[16566] | 3282 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3283 |
|
---|
[23356] | 3284 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3285 | inside strings and character constants. */
|
---|
| 3286 | #define FOO(x) 'x'
|
---|
| 3287 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3288 |
|
---|
[16566] | 3289 | int test (int i, double x);
|
---|
| 3290 | struct s1 {int (*f) (int a);};
|
---|
| 3291 | struct s2 {int (*f) (double a);};
|
---|
| 3292 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3293 | int argc;
|
---|
| 3294 | char **argv;
|
---|
| 3295 | int
|
---|
| 3296 | main ()
|
---|
| 3297 | {
|
---|
| 3298 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3299 | ;
|
---|
| 3300 | return 0;
|
---|
| 3301 | }
|
---|
| 3302 | _ACEOF
|
---|
[23356] | 3303 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3304 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[16566] | 3305 | do
|
---|
| 3306 | CC="$ac_save_CC $ac_arg"
|
---|
[23356] | 3307 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3308 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[16566] | 3309 | fi
|
---|
[23356] | 3310 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3311 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[16566] | 3312 | done
|
---|
[23356] | 3313 | rm -f conftest.$ac_ext
|
---|
[16566] | 3314 | CC=$ac_save_CC
|
---|
| 3315 |
|
---|
| 3316 | fi
|
---|
[23356] | 3317 | # AC_CACHE_VAL
|
---|
| 3318 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3319 | x)
|
---|
| 3320 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
| 3321 | $as_echo "none needed" >&6; } ;;
|
---|
| 3322 | xno)
|
---|
| 3323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
| 3324 | $as_echo "unsupported" >&6; } ;;
|
---|
[16566] | 3325 | *)
|
---|
[23356] | 3326 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
| 3327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
| 3328 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[16566] | 3329 | esac
|
---|
[23356] | 3330 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
[16566] | 3331 |
|
---|
[21327] | 3332 | fi
|
---|
| 3333 |
|
---|
[16566] | 3334 | ac_ext=c
|
---|
| 3335 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3336 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3337 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3338 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3339 |
|
---|
[23356] | 3340 | ac_ext=cpp
|
---|
[16566] | 3341 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 3342 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3343 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3344 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[23356] | 3345 | if test -z "$CXX"; then
|
---|
| 3346 | if test -n "$CCC"; then
|
---|
| 3347 | CXX=$CCC
|
---|
| 3348 | else
|
---|
| 3349 | if test -n "$ac_tool_prefix"; then
|
---|
| 3350 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16566] | 3351 | do
|
---|
| 3352 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 3353 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[23356] | 3354 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3355 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3356 | if test "${ac_cv_prog_CXX+set}" = set; then :
|
---|
| 3357 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3358 | else
|
---|
| 3359 | if test -n "$CXX"; then
|
---|
| 3360 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 3361 | else
|
---|
| 3362 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3363 | for as_dir in $PATH
|
---|
| 3364 | do
|
---|
| 3365 | IFS=$as_save_IFS
|
---|
| 3366 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 3367 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3368 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 3369 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[23356] | 3370 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 3371 | break 2
|
---|
| 3372 | fi
|
---|
| 3373 | done
|
---|
[23356] | 3374 | done
|
---|
| 3375 | IFS=$as_save_IFS
|
---|
[16566] | 3376 |
|
---|
| 3377 | fi
|
---|
| 3378 | fi
|
---|
| 3379 | CXX=$ac_cv_prog_CXX
|
---|
| 3380 | if test -n "$CXX"; then
|
---|
[23356] | 3381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
| 3382 | $as_echo "$CXX" >&6; }
|
---|
[16566] | 3383 | else
|
---|
[23356] | 3384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3385 | $as_echo "no" >&6; }
|
---|
[16566] | 3386 | fi
|
---|
| 3387 |
|
---|
[23356] | 3388 |
|
---|
[16566] | 3389 | test -n "$CXX" && break
|
---|
| 3390 | done
|
---|
| 3391 | fi
|
---|
| 3392 | if test -z "$CXX"; then
|
---|
| 3393 | ac_ct_CXX=$CXX
|
---|
[23356] | 3394 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16566] | 3395 | do
|
---|
| 3396 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3397 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 3398 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3399 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3400 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
---|
| 3401 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3402 | else
|
---|
| 3403 | if test -n "$ac_ct_CXX"; then
|
---|
| 3404 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3405 | else
|
---|
| 3406 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3407 | for as_dir in $PATH
|
---|
| 3408 | do
|
---|
| 3409 | IFS=$as_save_IFS
|
---|
| 3410 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 3411 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3412 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 3413 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[23356] | 3414 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 3415 | break 2
|
---|
| 3416 | fi
|
---|
| 3417 | done
|
---|
[23356] | 3418 | done
|
---|
| 3419 | IFS=$as_save_IFS
|
---|
[16566] | 3420 |
|
---|
| 3421 | fi
|
---|
| 3422 | fi
|
---|
| 3423 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3424 | if test -n "$ac_ct_CXX"; then
|
---|
[23356] | 3425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
| 3426 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
[16566] | 3427 | else
|
---|
[23356] | 3428 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3429 | $as_echo "no" >&6; }
|
---|
[16566] | 3430 | fi
|
---|
| 3431 |
|
---|
[23356] | 3432 |
|
---|
[16566] | 3433 | test -n "$ac_ct_CXX" && break
|
---|
| 3434 | done
|
---|
| 3435 |
|
---|
[23356] | 3436 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3437 | CXX="g++"
|
---|
| 3438 | else
|
---|
| 3439 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3440 | yes:)
|
---|
| 3441 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 3442 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3443 | ac_tool_warned=yes ;;
|
---|
| 3444 | esac
|
---|
| 3445 | CXX=$ac_ct_CXX
|
---|
| 3446 | fi
|
---|
[16566] | 3447 | fi
|
---|
| 3448 |
|
---|
[23356] | 3449 | fi
|
---|
| 3450 | fi
|
---|
[16566] | 3451 | # Provide some information about the compiler.
|
---|
[23356] | 3452 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
| 3453 | set X $ac_compile
|
---|
| 3454 | ac_compiler=$2
|
---|
| 3455 | for ac_option in --version -v -V -qversion; do
|
---|
| 3456 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 3457 | case "(($ac_try" in
|
---|
| 3458 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3459 | *) ac_try_echo=$ac_try;;
|
---|
| 3460 | esac
|
---|
| 3461 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3462 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3463 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16566] | 3464 | ac_status=$?
|
---|
[23356] | 3465 | if test -s conftest.err; then
|
---|
| 3466 | sed '10a\
|
---|
| 3467 | ... rest of stderr output deleted ...
|
---|
| 3468 | 10q' conftest.err >conftest.er1
|
---|
| 3469 | cat conftest.er1 >&5
|
---|
| 3470 | fi
|
---|
| 3471 | rm -f conftest.er1 conftest.err
|
---|
| 3472 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3473 | test $ac_status = 0; }
|
---|
| 3474 | done
|
---|
[16566] | 3475 |
|
---|
[23356] | 3476 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 3477 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
| 3478 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
---|
| 3479 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3480 | else
|
---|
[23356] | 3481 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3482 | /* end confdefs.h. */
|
---|
| 3483 |
|
---|
| 3484 | int
|
---|
| 3485 | main ()
|
---|
| 3486 | {
|
---|
| 3487 | #ifndef __GNUC__
|
---|
| 3488 | choke me
|
---|
| 3489 | #endif
|
---|
| 3490 |
|
---|
| 3491 | ;
|
---|
| 3492 | return 0;
|
---|
| 3493 | }
|
---|
| 3494 | _ACEOF
|
---|
[23356] | 3495 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 3496 | ac_compiler_gnu=yes
|
---|
| 3497 | else
|
---|
[23356] | 3498 | ac_compiler_gnu=no
|
---|
[16566] | 3499 | fi
|
---|
[23356] | 3500 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3501 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3502 |
|
---|
| 3503 | fi
|
---|
[23356] | 3504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 3505 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3506 | if test $ac_compiler_gnu = yes; then
|
---|
| 3507 | GXX=yes
|
---|
| 3508 | else
|
---|
| 3509 | GXX=
|
---|
| 3510 | fi
|
---|
[16566] | 3511 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3512 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[23356] | 3513 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
| 3514 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
| 3515 | if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
---|
| 3516 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3517 | else
|
---|
[23356] | 3518 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3519 | ac_cxx_werror_flag=yes
|
---|
| 3520 | ac_cv_prog_cxx_g=no
|
---|
| 3521 | CXXFLAGS="-g"
|
---|
| 3522 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3523 | /* end confdefs.h. */
|
---|
| 3524 |
|
---|
| 3525 | int
|
---|
| 3526 | main ()
|
---|
| 3527 | {
|
---|
| 3528 |
|
---|
| 3529 | ;
|
---|
| 3530 | return 0;
|
---|
| 3531 | }
|
---|
| 3532 | _ACEOF
|
---|
[23356] | 3533 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 3534 | ac_cv_prog_cxx_g=yes
|
---|
| 3535 | else
|
---|
[23356] | 3536 | CXXFLAGS=""
|
---|
| 3537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3538 | /* end confdefs.h. */
|
---|
[16566] | 3539 |
|
---|
[23356] | 3540 | int
|
---|
| 3541 | main ()
|
---|
| 3542 | {
|
---|
| 3543 |
|
---|
| 3544 | ;
|
---|
| 3545 | return 0;
|
---|
| 3546 | }
|
---|
| 3547 | _ACEOF
|
---|
| 3548 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3549 |
|
---|
| 3550 | else
|
---|
| 3551 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3552 | CXXFLAGS="-g"
|
---|
| 3553 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3554 | /* end confdefs.h. */
|
---|
| 3555 |
|
---|
| 3556 | int
|
---|
| 3557 | main ()
|
---|
| 3558 | {
|
---|
| 3559 |
|
---|
| 3560 | ;
|
---|
| 3561 | return 0;
|
---|
| 3562 | }
|
---|
| 3563 | _ACEOF
|
---|
| 3564 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3565 | ac_cv_prog_cxx_g=yes
|
---|
[21327] | 3566 | fi
|
---|
[23356] | 3567 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[21327] | 3568 | fi
|
---|
[23356] | 3569 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3570 | fi
|
---|
| 3571 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3572 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3573 | fi
|
---|
| 3574 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 3575 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
[21327] | 3576 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3577 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3578 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3579 | if test "$GXX" = yes; then
|
---|
| 3580 | CXXFLAGS="-g -O2"
|
---|
| 3581 | else
|
---|
| 3582 | CXXFLAGS="-g"
|
---|
| 3583 | fi
|
---|
| 3584 | else
|
---|
| 3585 | if test "$GXX" = yes; then
|
---|
| 3586 | CXXFLAGS="-O2"
|
---|
| 3587 | else
|
---|
| 3588 | CXXFLAGS=
|
---|
| 3589 | fi
|
---|
| 3590 | fi
|
---|
[23356] | 3591 | ac_ext=c
|
---|
| 3592 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3593 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3594 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3595 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3596 |
|
---|
| 3597 | if test $ENABLE_JAVA = "1" ; then
|
---|
| 3598 |
|
---|
| 3599 |
|
---|
| 3600 | if test "x$JAVA" = x ; then
|
---|
| 3601 | if test x$JAVAPREFIX = x; then
|
---|
| 3602 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
[21327] | 3603 | do
|
---|
[23356] | 3604 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3605 | set dummy $ac_prog; ac_word=$2
|
---|
| 3606 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3607 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3608 | if test "${ac_cv_prog_JAVA+set}" = set; then :
|
---|
| 3609 | $as_echo_n "(cached) " >&6
|
---|
| 3610 | else
|
---|
| 3611 | if test -n "$JAVA"; then
|
---|
| 3612 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3613 | else
|
---|
| 3614 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3615 | for as_dir in $PATH
|
---|
| 3616 | do
|
---|
| 3617 | IFS=$as_save_IFS
|
---|
| 3618 | test -z "$as_dir" && as_dir=.
|
---|
| 3619 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3620 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3621 | ac_cv_prog_JAVA="$ac_prog"
|
---|
| 3622 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3623 | break 2
|
---|
| 3624 | fi
|
---|
| 3625 | done
|
---|
| 3626 | done
|
---|
| 3627 | IFS=$as_save_IFS
|
---|
| 3628 |
|
---|
| 3629 | fi
|
---|
| 3630 | fi
|
---|
| 3631 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3632 | if test -n "$JAVA"; then
|
---|
| 3633 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
| 3634 | $as_echo "$JAVA" >&6; }
|
---|
| 3635 | else
|
---|
| 3636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3637 | $as_echo "no" >&6; }
|
---|
| 3638 | fi
|
---|
| 3639 |
|
---|
| 3640 |
|
---|
| 3641 | test -n "$JAVA" && break
|
---|
| 3642 | done
|
---|
| 3643 |
|
---|
| 3644 | else
|
---|
| 3645 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3646 | do
|
---|
| 3647 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3648 | set dummy $ac_prog; ac_word=$2
|
---|
| 3649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3650 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3651 | if test "${ac_cv_prog_JAVA+set}" = set; then :
|
---|
| 3652 | $as_echo_n "(cached) " >&6
|
---|
| 3653 | else
|
---|
| 3654 | if test -n "$JAVA"; then
|
---|
| 3655 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3656 | else
|
---|
| 3657 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3658 | for as_dir in $PATH
|
---|
| 3659 | do
|
---|
| 3660 | IFS=$as_save_IFS
|
---|
| 3661 | test -z "$as_dir" && as_dir=.
|
---|
| 3662 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3663 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3664 | ac_cv_prog_JAVA="$ac_prog"
|
---|
| 3665 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3666 | break 2
|
---|
| 3667 | fi
|
---|
| 3668 | done
|
---|
| 3669 | done
|
---|
| 3670 | IFS=$as_save_IFS
|
---|
| 3671 |
|
---|
| 3672 | fi
|
---|
| 3673 | fi
|
---|
| 3674 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3675 | if test -n "$JAVA"; then
|
---|
| 3676 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
| 3677 | $as_echo "$JAVA" >&6; }
|
---|
| 3678 | else
|
---|
| 3679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3680 | $as_echo "no" >&6; }
|
---|
| 3681 | fi
|
---|
| 3682 |
|
---|
| 3683 |
|
---|
| 3684 | test -n "$JAVA" && break
|
---|
| 3685 | done
|
---|
| 3686 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
| 3687 |
|
---|
| 3688 | fi
|
---|
| 3689 | test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
|
---|
| 3690 | fi
|
---|
| 3691 |
|
---|
| 3692 |
|
---|
| 3693 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
| 3694 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
| 3695 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3696 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3697 | if test "${ac_cv_prog_uudecode+set}" = set; then :
|
---|
| 3698 | $as_echo_n "(cached) " >&6
|
---|
| 3699 | else
|
---|
| 3700 | if test -n "$uudecode"; then
|
---|
| 3701 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
| 3702 | else
|
---|
| 3703 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3704 | for as_dir in $PATH
|
---|
| 3705 | do
|
---|
| 3706 | IFS=$as_save_IFS
|
---|
| 3707 | test -z "$as_dir" && as_dir=.
|
---|
| 3708 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3709 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3710 | ac_cv_prog_uudecode="yes"
|
---|
| 3711 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3712 | break 2
|
---|
| 3713 | fi
|
---|
| 3714 | done
|
---|
| 3715 | done
|
---|
| 3716 | IFS=$as_save_IFS
|
---|
| 3717 |
|
---|
| 3718 | fi
|
---|
| 3719 | fi
|
---|
| 3720 | uudecode=$ac_cv_prog_uudecode
|
---|
| 3721 | if test -n "$uudecode"; then
|
---|
| 3722 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
|
---|
| 3723 | $as_echo "$uudecode" >&6; }
|
---|
| 3724 | else
|
---|
| 3725 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3726 | $as_echo "no" >&6; }
|
---|
| 3727 | fi
|
---|
| 3728 |
|
---|
| 3729 |
|
---|
| 3730 | if test x$uudecode = xyes; then
|
---|
| 3731 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
|
---|
| 3732 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
| 3733 | if test "${ac_cv_prog_uudecode_base64+set}" = set; then :
|
---|
| 3734 | $as_echo_n "(cached) " >&6
|
---|
| 3735 | else
|
---|
| 3736 |
|
---|
| 3737 | cat << \EOF > Test.uue
|
---|
| 3738 | begin-base64 644 Test.class
|
---|
| 3739 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
| 3740 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
| 3741 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
| 3742 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
| 3743 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
| 3744 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
| 3745 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
| 3746 | ====
|
---|
| 3747 | EOF
|
---|
| 3748 | if uudecode$EXEEXT Test.uue; then
|
---|
| 3749 | ac_cv_prog_uudecode_base64=yes
|
---|
| 3750 | else
|
---|
| 3751 | echo "configure: 3751: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
| 3752 | echo "configure: failed file was:" >&5
|
---|
| 3753 | cat Test.uue >&5
|
---|
| 3754 | ac_cv_prog_uudecode_base64=no
|
---|
| 3755 | fi
|
---|
| 3756 | rm -f Test.uue
|
---|
| 3757 | fi
|
---|
| 3758 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
| 3759 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
| 3760 | fi
|
---|
| 3761 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3762 | rm -f Test.class
|
---|
| 3763 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
|
---|
| 3764 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
| 3765 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
| 3766 | as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
|
---|
| 3767 | fi
|
---|
| 3768 | if test x$ac_cv_prog_javac_works = x; then
|
---|
| 3769 |
|
---|
| 3770 | if test "x$JAVAC" = x ; then
|
---|
| 3771 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3772 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3773 | do
|
---|
| 3774 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3775 | set dummy $ac_prog; ac_word=$2
|
---|
| 3776 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3777 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3778 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 3779 | $as_echo_n "(cached) " >&6
|
---|
| 3780 | else
|
---|
| 3781 | if test -n "$JAVAC"; then
|
---|
| 3782 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3783 | else
|
---|
| 3784 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3785 | for as_dir in $PATH
|
---|
| 3786 | do
|
---|
| 3787 | IFS=$as_save_IFS
|
---|
| 3788 | test -z "$as_dir" && as_dir=.
|
---|
| 3789 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3790 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3791 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 3792 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3793 | break 2
|
---|
| 3794 | fi
|
---|
| 3795 | done
|
---|
| 3796 | done
|
---|
| 3797 | IFS=$as_save_IFS
|
---|
| 3798 |
|
---|
| 3799 | fi
|
---|
| 3800 | fi
|
---|
| 3801 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3802 | if test -n "$JAVAC"; then
|
---|
| 3803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 3804 | $as_echo "$JAVAC" >&6; }
|
---|
| 3805 | else
|
---|
| 3806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3807 | $as_echo "no" >&6; }
|
---|
| 3808 | fi
|
---|
| 3809 |
|
---|
| 3810 |
|
---|
| 3811 | test -n "$JAVAC" && break
|
---|
| 3812 | done
|
---|
| 3813 |
|
---|
| 3814 | else
|
---|
| 3815 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3816 | do
|
---|
| 3817 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3818 | set dummy $ac_prog; ac_word=$2
|
---|
| 3819 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3820 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3821 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 3822 | $as_echo_n "(cached) " >&6
|
---|
| 3823 | else
|
---|
| 3824 | if test -n "$JAVAC"; then
|
---|
| 3825 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3826 | else
|
---|
| 3827 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3828 | for as_dir in $PATH
|
---|
| 3829 | do
|
---|
| 3830 | IFS=$as_save_IFS
|
---|
| 3831 | test -z "$as_dir" && as_dir=.
|
---|
| 3832 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3833 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3834 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 3835 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3836 | break 2
|
---|
| 3837 | fi
|
---|
| 3838 | done
|
---|
| 3839 | done
|
---|
| 3840 | IFS=$as_save_IFS
|
---|
| 3841 |
|
---|
| 3842 | fi
|
---|
| 3843 | fi
|
---|
| 3844 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3845 | if test -n "$JAVAC"; then
|
---|
| 3846 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 3847 | $as_echo "$JAVAC" >&6; }
|
---|
| 3848 | else
|
---|
| 3849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3850 | $as_echo "no" >&6; }
|
---|
| 3851 | fi
|
---|
| 3852 |
|
---|
| 3853 |
|
---|
| 3854 | test -n "$JAVAC" && break
|
---|
| 3855 | done
|
---|
| 3856 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3857 |
|
---|
| 3858 | fi
|
---|
| 3859 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
| 3860 | else
|
---|
| 3861 | echo "Checking for javac... $JAVAC"
|
---|
| 3862 | fi
|
---|
| 3863 |
|
---|
| 3864 |
|
---|
| 3865 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
| 3866 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
| 3867 | if test "${ac_cv_prog_javac_works+set}" = set; then :
|
---|
| 3868 | $as_echo_n "(cached) " >&6
|
---|
| 3869 | else
|
---|
| 3870 |
|
---|
| 3871 | JAVA_TEST=Test.java
|
---|
| 3872 | CLASS_TEST=Test.class
|
---|
| 3873 | cat << \EOF > $JAVA_TEST
|
---|
| 3874 | /* #line 3874 "configure" */
|
---|
| 3875 | public class Test {
|
---|
[16566] | 3876 | }
|
---|
[23356] | 3877 | EOF
|
---|
| 3878 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
| 3879 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
| 3880 | (eval $ac_try) 2>&5
|
---|
[16566] | 3881 | ac_status=$?
|
---|
[23356] | 3882 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3883 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
| 3884 | ac_cv_prog_javac_works=yes
|
---|
| 3885 | else
|
---|
| 3886 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 3887 | echo "configure: failed program was:" >&5
|
---|
| 3888 | cat $JAVA_TEST >&5
|
---|
| 3889 | fi
|
---|
| 3890 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 3891 |
|
---|
| 3892 | fi
|
---|
| 3893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
| 3894 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
| 3895 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 3896 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 3897 | fi
|
---|
| 3898 |
|
---|
| 3899 |
|
---|
| 3900 |
|
---|
| 3901 | fi
|
---|
| 3902 | fi
|
---|
| 3903 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
|
---|
| 3904 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
| 3905 | if test "${ac_cv_prog_java_works+set}" = set; then :
|
---|
| 3906 | $as_echo_n "(cached) " >&6
|
---|
| 3907 | else
|
---|
| 3908 |
|
---|
| 3909 | JAVA_TEST=Test.java
|
---|
| 3910 | CLASS_TEST=Test.class
|
---|
| 3911 | TEST=Test
|
---|
| 3912 | cat << \EOF > $JAVA_TEST
|
---|
| 3913 | /* [#]line 3913 "configure" */
|
---|
| 3914 | public class Test {
|
---|
| 3915 | public static void main (String args[]) {
|
---|
| 3916 | System.exit (0);
|
---|
| 3917 | } }
|
---|
| 3918 | EOF
|
---|
| 3919 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3920 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
| 3921 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 3922 | (eval $ac_try) 2>&5
|
---|
| 3923 | ac_status=$?
|
---|
[23356] | 3924 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3925 | test $ac_status = 0; }; } && test -s $CLASS_TEST; then
|
---|
| 3926 | :
|
---|
| 3927 | else
|
---|
| 3928 | echo "configure: failed program was:" >&5
|
---|
| 3929 | cat $JAVA_TEST >&5
|
---|
| 3930 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 3931 | fi
|
---|
| 3932 | fi
|
---|
| 3933 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
| 3934 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 3935 | (eval $ac_try) 2>&5
|
---|
| 3936 | ac_status=$?
|
---|
[23356] | 3937 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3938 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
| 3939 | ac_cv_prog_java_works=yes
|
---|
[16566] | 3940 | else
|
---|
[23356] | 3941 | echo "configure: failed program was:" >&5
|
---|
| 3942 | cat $JAVA_TEST >&5
|
---|
| 3943 | as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 3944 | fi
|
---|
| 3945 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
[16566] | 3946 |
|
---|
[21327] | 3947 | fi
|
---|
[23356] | 3948 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
|
---|
| 3949 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
| 3950 |
|
---|
| 3951 |
|
---|
| 3952 |
|
---|
| 3953 |
|
---|
| 3954 | if test "x$JAVAC" = x ; then
|
---|
| 3955 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3956 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3957 | do
|
---|
| 3958 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3959 | set dummy $ac_prog; ac_word=$2
|
---|
| 3960 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3961 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3962 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 3963 | $as_echo_n "(cached) " >&6
|
---|
| 3964 | else
|
---|
| 3965 | if test -n "$JAVAC"; then
|
---|
| 3966 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3967 | else
|
---|
| 3968 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3969 | for as_dir in $PATH
|
---|
| 3970 | do
|
---|
| 3971 | IFS=$as_save_IFS
|
---|
| 3972 | test -z "$as_dir" && as_dir=.
|
---|
| 3973 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3974 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3975 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 3976 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3977 | break 2
|
---|
| 3978 | fi
|
---|
| 3979 | done
|
---|
| 3980 | done
|
---|
| 3981 | IFS=$as_save_IFS
|
---|
| 3982 |
|
---|
| 3983 | fi
|
---|
| 3984 | fi
|
---|
| 3985 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3986 | if test -n "$JAVAC"; then
|
---|
| 3987 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 3988 | $as_echo "$JAVAC" >&6; }
|
---|
| 3989 | else
|
---|
| 3990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3991 | $as_echo "no" >&6; }
|
---|
| 3992 | fi
|
---|
| 3993 |
|
---|
| 3994 |
|
---|
| 3995 | test -n "$JAVAC" && break
|
---|
| 3996 | done
|
---|
| 3997 |
|
---|
| 3998 | else
|
---|
| 3999 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 4000 | do
|
---|
| 4001 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4002 | set dummy $ac_prog; ac_word=$2
|
---|
| 4003 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4004 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4005 | if test "${ac_cv_prog_JAVAC+set}" = set; then :
|
---|
| 4006 | $as_echo_n "(cached) " >&6
|
---|
| 4007 | else
|
---|
| 4008 | if test -n "$JAVAC"; then
|
---|
| 4009 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 4010 | else
|
---|
| 4011 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4012 | for as_dir in $PATH
|
---|
| 4013 | do
|
---|
| 4014 | IFS=$as_save_IFS
|
---|
| 4015 | test -z "$as_dir" && as_dir=.
|
---|
| 4016 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4017 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 4018 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
| 4019 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4020 | break 2
|
---|
| 4021 | fi
|
---|
| 4022 | done
|
---|
| 4023 | done
|
---|
| 4024 | IFS=$as_save_IFS
|
---|
| 4025 |
|
---|
| 4026 | fi
|
---|
| 4027 | fi
|
---|
| 4028 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 4029 | if test -n "$JAVAC"; then
|
---|
| 4030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
| 4031 | $as_echo "$JAVAC" >&6; }
|
---|
| 4032 | else
|
---|
| 4033 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4034 | $as_echo "no" >&6; }
|
---|
| 4035 | fi
|
---|
| 4036 |
|
---|
| 4037 |
|
---|
| 4038 | test -n "$JAVAC" && break
|
---|
| 4039 | done
|
---|
| 4040 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 4041 |
|
---|
| 4042 | fi
|
---|
| 4043 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
| 4044 | else
|
---|
| 4045 | echo "Checking for javac... $JAVAC"
|
---|
| 4046 | fi
|
---|
| 4047 |
|
---|
| 4048 |
|
---|
| 4049 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
| 4050 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
| 4051 | if test "${ac_cv_prog_javac_works+set}" = set; then :
|
---|
| 4052 | $as_echo_n "(cached) " >&6
|
---|
| 4053 | else
|
---|
| 4054 |
|
---|
| 4055 | JAVA_TEST=Test.java
|
---|
| 4056 | CLASS_TEST=Test.class
|
---|
| 4057 | cat << \EOF > $JAVA_TEST
|
---|
| 4058 | /* #line 4058 "configure" */
|
---|
| 4059 | public class Test {
|
---|
[16566] | 4060 | }
|
---|
[23356] | 4061 | EOF
|
---|
| 4062 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
| 4063 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 4064 | (eval $ac_try) 2>&5
|
---|
| 4065 | ac_status=$?
|
---|
[23356] | 4066 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4067 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
| 4068 | ac_cv_prog_javac_works=yes
|
---|
[16566] | 4069 | else
|
---|
[23356] | 4070 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
| 4071 | echo "configure: failed program was:" >&5
|
---|
| 4072 | cat $JAVA_TEST >&5
|
---|
| 4073 | fi
|
---|
| 4074 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
[16566] | 4075 |
|
---|
| 4076 | fi
|
---|
[23356] | 4077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
| 4078 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
| 4079 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 4080 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
[16566] | 4081 | fi
|
---|
| 4082 |
|
---|
| 4083 |
|
---|
[23356] | 4084 |
|
---|
| 4085 | fi
|
---|
[16566] | 4086 | for ac_prog in gawk mawk nawk awk
|
---|
| 4087 | do
|
---|
| 4088 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4089 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 4090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4091 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4092 | if test "${ac_cv_prog_AWK+set}" = set; then :
|
---|
| 4093 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4094 | else
|
---|
| 4095 | if test -n "$AWK"; then
|
---|
| 4096 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 4097 | else
|
---|
| 4098 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4099 | for as_dir in $PATH
|
---|
| 4100 | do
|
---|
| 4101 | IFS=$as_save_IFS
|
---|
| 4102 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4103 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4104 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4105 | ac_cv_prog_AWK="$ac_prog"
|
---|
[23356] | 4106 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4107 | break 2
|
---|
| 4108 | fi
|
---|
| 4109 | done
|
---|
[23356] | 4110 | done
|
---|
| 4111 | IFS=$as_save_IFS
|
---|
[16566] | 4112 |
|
---|
| 4113 | fi
|
---|
| 4114 | fi
|
---|
| 4115 | AWK=$ac_cv_prog_AWK
|
---|
| 4116 | if test -n "$AWK"; then
|
---|
[23356] | 4117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
| 4118 | $as_echo "$AWK" >&6; }
|
---|
[16566] | 4119 | else
|
---|
[23356] | 4120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4121 | $as_echo "no" >&6; }
|
---|
[16566] | 4122 | fi
|
---|
| 4123 |
|
---|
[23356] | 4124 |
|
---|
[16566] | 4125 | test -n "$AWK" && break
|
---|
| 4126 | done
|
---|
| 4127 |
|
---|
| 4128 | for ac_prog in 'bison -y' byacc
|
---|
| 4129 | do
|
---|
| 4130 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4131 | set dummy $ac_prog; ac_word=$2
|
---|
[23356] | 4132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4133 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4134 | if test "${ac_cv_prog_YACC+set}" = set; then :
|
---|
| 4135 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4136 | else
|
---|
| 4137 | if test -n "$YACC"; then
|
---|
| 4138 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 4139 | else
|
---|
| 4140 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4141 | for as_dir in $PATH
|
---|
| 4142 | do
|
---|
| 4143 | IFS=$as_save_IFS
|
---|
| 4144 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4145 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4146 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4147 | ac_cv_prog_YACC="$ac_prog"
|
---|
[23356] | 4148 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4149 | break 2
|
---|
| 4150 | fi
|
---|
| 4151 | done
|
---|
[23356] | 4152 | done
|
---|
| 4153 | IFS=$as_save_IFS
|
---|
[16566] | 4154 |
|
---|
| 4155 | fi
|
---|
| 4156 | fi
|
---|
| 4157 | YACC=$ac_cv_prog_YACC
|
---|
| 4158 | if test -n "$YACC"; then
|
---|
[23356] | 4159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
---|
| 4160 | $as_echo "$YACC" >&6; }
|
---|
[16566] | 4161 | else
|
---|
[23356] | 4162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4163 | $as_echo "no" >&6; }
|
---|
[16566] | 4164 | fi
|
---|
| 4165 |
|
---|
[23356] | 4166 |
|
---|
[16566] | 4167 | test -n "$YACC" && break
|
---|
| 4168 | done
|
---|
| 4169 | test -n "$YACC" || YACC="yacc"
|
---|
| 4170 |
|
---|
| 4171 | ac_aux_dir=
|
---|
[23356] | 4172 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 4173 | if test -f "$ac_dir/install-sh"; then
|
---|
[16566] | 4174 | ac_aux_dir=$ac_dir
|
---|
| 4175 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 4176 | break
|
---|
[23356] | 4177 | elif test -f "$ac_dir/install.sh"; then
|
---|
[16566] | 4178 | ac_aux_dir=$ac_dir
|
---|
| 4179 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 4180 | break
|
---|
[23356] | 4181 | elif test -f "$ac_dir/shtool"; then
|
---|
[16566] | 4182 | ac_aux_dir=$ac_dir
|
---|
| 4183 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 4184 | break
|
---|
| 4185 | fi
|
---|
| 4186 | done
|
---|
| 4187 | if test -z "$ac_aux_dir"; then
|
---|
[23356] | 4188 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
[16566] | 4189 | fi
|
---|
| 4190 |
|
---|
[23356] | 4191 | # These three variables are undocumented and unsupported,
|
---|
| 4192 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 4193 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 4194 | # whose full name contains unusual characters.
|
---|
| 4195 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 4196 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 4197 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 4198 |
|
---|
| 4199 |
|
---|
[16566] | 4200 | # Make sure we can run config.sub.
|
---|
[23356] | 4201 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
| 4202 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
[16566] | 4203 |
|
---|
[23356] | 4204 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
| 4205 | $as_echo_n "checking build system type... " >&6; }
|
---|
| 4206 | if test "${ac_cv_build+set}" = set; then :
|
---|
| 4207 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4208 | else
|
---|
[23356] | 4209 | ac_build_alias=$build_alias
|
---|
| 4210 | test "x$ac_build_alias" = x &&
|
---|
| 4211 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 4212 | test "x$ac_build_alias" = x &&
|
---|
| 4213 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
| 4214 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
| 4215 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
[16566] | 4216 |
|
---|
| 4217 | fi
|
---|
[23356] | 4218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
| 4219 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 4220 | case $ac_cv_build in
|
---|
| 4221 | *-*-*) ;;
|
---|
| 4222 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
|
---|
| 4223 | esac
|
---|
[16566] | 4224 | build=$ac_cv_build
|
---|
[23356] | 4225 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4226 | set x $ac_cv_build
|
---|
| 4227 | shift
|
---|
| 4228 | build_cpu=$1
|
---|
| 4229 | build_vendor=$2
|
---|
| 4230 | shift; shift
|
---|
| 4231 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4232 | # except with old shells:
|
---|
| 4233 | build_os=$*
|
---|
| 4234 | IFS=$ac_save_IFS
|
---|
| 4235 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4236 |
|
---|
| 4237 |
|
---|
[23356] | 4238 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
| 4239 | $as_echo_n "checking host system type... " >&6; }
|
---|
| 4240 | if test "${ac_cv_host+set}" = set; then :
|
---|
| 4241 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4242 | else
|
---|
[23356] | 4243 | if test "x$host_alias" = x; then
|
---|
| 4244 | ac_cv_host=$ac_cv_build
|
---|
| 4245 | else
|
---|
| 4246 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
| 4247 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
| 4248 | fi
|
---|
[16566] | 4249 |
|
---|
| 4250 | fi
|
---|
[23356] | 4251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
| 4252 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 4253 | case $ac_cv_host in
|
---|
| 4254 | *-*-*) ;;
|
---|
| 4255 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
|
---|
| 4256 | esac
|
---|
[16566] | 4257 | host=$ac_cv_host
|
---|
[23356] | 4258 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4259 | set x $ac_cv_host
|
---|
| 4260 | shift
|
---|
| 4261 | host_cpu=$1
|
---|
| 4262 | host_vendor=$2
|
---|
| 4263 | shift; shift
|
---|
| 4264 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4265 | # except with old shells:
|
---|
| 4266 | host_os=$*
|
---|
| 4267 | IFS=$ac_save_IFS
|
---|
| 4268 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4269 |
|
---|
| 4270 |
|
---|
[23356] | 4271 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
---|
| 4272 | $as_echo_n "checking target system type... " >&6; }
|
---|
| 4273 | if test "${ac_cv_target+set}" = set; then :
|
---|
| 4274 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4275 | else
|
---|
[23356] | 4276 | if test "x$target_alias" = x; then
|
---|
| 4277 | ac_cv_target=$ac_cv_host
|
---|
| 4278 | else
|
---|
| 4279 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
| 4280 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
---|
| 4281 | fi
|
---|
[16566] | 4282 |
|
---|
| 4283 | fi
|
---|
[23356] | 4284 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
---|
| 4285 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 4286 | case $ac_cv_target in
|
---|
| 4287 | *-*-*) ;;
|
---|
| 4288 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
|
---|
| 4289 | esac
|
---|
[16566] | 4290 | target=$ac_cv_target
|
---|
[23356] | 4291 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4292 | set x $ac_cv_target
|
---|
| 4293 | shift
|
---|
| 4294 | target_cpu=$1
|
---|
| 4295 | target_vendor=$2
|
---|
| 4296 | shift; shift
|
---|
| 4297 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4298 | # except with old shells:
|
---|
| 4299 | target_os=$*
|
---|
| 4300 | IFS=$ac_save_IFS
|
---|
| 4301 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4302 |
|
---|
| 4303 |
|
---|
| 4304 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 4305 | # will get canonicalized.
|
---|
| 4306 | test -n "$target_alias" &&
|
---|
| 4307 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 4308 | NONENONEs,x,x, &&
|
---|
| 4309 | program_prefix=${target_alias}-
|
---|
[23356] | 4310 |
|
---|
[16566] | 4311 | # Find a good install program. We prefer a C program (faster),
|
---|
| 4312 | # so one script is as good as another. But avoid the broken or
|
---|
| 4313 | # incompatible versions:
|
---|
| 4314 | # SysV /etc/install, /usr/sbin/install
|
---|
| 4315 | # SunOS /usr/etc/install
|
---|
| 4316 | # IRIX /sbin/install
|
---|
| 4317 | # AIX /bin/install
|
---|
| 4318 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 4319 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 4320 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 4321 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 4322 | # OS/2's system install, which has a completely different semantic
|
---|
| 4323 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[23356] | 4324 | # Reject install programs that cannot install multiple files.
|
---|
| 4325 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
| 4326 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[16566] | 4327 | if test -z "$INSTALL"; then
|
---|
[23356] | 4328 | if test "${ac_cv_path_install+set}" = set; then :
|
---|
| 4329 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4330 | else
|
---|
| 4331 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4332 | for as_dir in $PATH
|
---|
| 4333 | do
|
---|
| 4334 | IFS=$as_save_IFS
|
---|
| 4335 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4336 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 4337 | case $as_dir/ in #((
|
---|
| 4338 | ./ | .// | /[cC]/* | \
|
---|
[16566] | 4339 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[23356] | 4340 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
[16566] | 4341 | /usr/ucb/* ) ;;
|
---|
| 4342 | *)
|
---|
| 4343 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 4344 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 4345 | # by default.
|
---|
| 4346 | for ac_prog in ginstall scoinst install; do
|
---|
| 4347 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 4348 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[16566] | 4349 | if test $ac_prog = install &&
|
---|
| 4350 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4351 | # AIX install. It has an incompatible calling convention.
|
---|
| 4352 | :
|
---|
| 4353 | elif test $ac_prog = install &&
|
---|
| 4354 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4355 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 4356 | :
|
---|
| 4357 | else
|
---|
[23356] | 4358 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 4359 | echo one > conftest.one
|
---|
| 4360 | echo two > conftest.two
|
---|
| 4361 | mkdir conftest.dir
|
---|
| 4362 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 4363 | test -s conftest.one && test -s conftest.two &&
|
---|
| 4364 | test -s conftest.dir/conftest.one &&
|
---|
| 4365 | test -s conftest.dir/conftest.two
|
---|
| 4366 | then
|
---|
| 4367 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 4368 | break 3
|
---|
| 4369 | fi
|
---|
[16566] | 4370 | fi
|
---|
| 4371 | fi
|
---|
| 4372 | done
|
---|
| 4373 | done
|
---|
| 4374 | ;;
|
---|
| 4375 | esac
|
---|
| 4376 |
|
---|
[23356] | 4377 | done
|
---|
| 4378 | IFS=$as_save_IFS
|
---|
[16566] | 4379 |
|
---|
[23356] | 4380 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 4381 |
|
---|
[16566] | 4382 | fi
|
---|
| 4383 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 4384 | INSTALL=$ac_cv_path_install
|
---|
| 4385 | else
|
---|
[23356] | 4386 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 4387 | # value for INSTALL within a source directory, because that will
|
---|
[16566] | 4388 | # break other packages using the cache if that directory is
|
---|
[23356] | 4389 | # removed, or if the value is a relative name.
|
---|
[16566] | 4390 | INSTALL=$ac_install_sh
|
---|
| 4391 | fi
|
---|
| 4392 | fi
|
---|
[23356] | 4393 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
| 4394 | $as_echo "$INSTALL" >&6; }
|
---|
[16566] | 4395 |
|
---|
| 4396 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 4397 | # It thinks the first close brace ends the variable substitution.
|
---|
| 4398 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 4399 |
|
---|
| 4400 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 4401 |
|
---|
| 4402 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 4403 |
|
---|
[23356] | 4404 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
---|
| 4405 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[16566] | 4406 | LN_S=$as_ln_s
|
---|
| 4407 | if test "$LN_S" = "ln -s"; then
|
---|
[23356] | 4408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4409 | $as_echo "yes" >&6; }
|
---|
[16566] | 4410 | else
|
---|
[23356] | 4411 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
---|
| 4412 | $as_echo "no, using $LN_S" >&6; }
|
---|
[16566] | 4413 | fi
|
---|
| 4414 |
|
---|
[23356] | 4415 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 4416 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 4417 | set x ${MAKE-make}
|
---|
| 4418 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
| 4419 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
|
---|
| 4420 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4421 | else
|
---|
| 4422 | cat >conftest.make <<\_ACEOF
|
---|
[23356] | 4423 | SHELL = /bin/sh
|
---|
[16566] | 4424 | all:
|
---|
[23356] | 4425 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[16566] | 4426 | _ACEOF
|
---|
[23356] | 4427 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
| 4428 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 4429 | *@@@%%%=?*=@@@%%%*)
|
---|
| 4430 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 4431 | *)
|
---|
| 4432 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 4433 | esac
|
---|
[16566] | 4434 | rm -f conftest.make
|
---|
| 4435 | fi
|
---|
[23356] | 4436 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
| 4437 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4438 | $as_echo "yes" >&6; }
|
---|
[16566] | 4439 | SET_MAKE=
|
---|
| 4440 | else
|
---|
[23356] | 4441 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4442 | $as_echo "no" >&6; }
|
---|
[16566] | 4443 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 4444 | fi
|
---|
| 4445 |
|
---|
| 4446 | if test -n "$ac_tool_prefix"; then
|
---|
| 4447 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 4448 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[23356] | 4449 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4450 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4451 | if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
---|
| 4452 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4453 | else
|
---|
| 4454 | if test -n "$RANLIB"; then
|
---|
| 4455 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 4456 | else
|
---|
| 4457 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4458 | for as_dir in $PATH
|
---|
| 4459 | do
|
---|
| 4460 | IFS=$as_save_IFS
|
---|
| 4461 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4462 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4463 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4464 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[23356] | 4465 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4466 | break 2
|
---|
| 4467 | fi
|
---|
| 4468 | done
|
---|
[23356] | 4469 | done
|
---|
| 4470 | IFS=$as_save_IFS
|
---|
[16566] | 4471 |
|
---|
| 4472 | fi
|
---|
| 4473 | fi
|
---|
| 4474 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 4475 | if test -n "$RANLIB"; then
|
---|
[23356] | 4476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
---|
| 4477 | $as_echo "$RANLIB" >&6; }
|
---|
[16566] | 4478 | else
|
---|
[23356] | 4479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4480 | $as_echo "no" >&6; }
|
---|
[16566] | 4481 | fi
|
---|
| 4482 |
|
---|
[23356] | 4483 |
|
---|
[16566] | 4484 | fi
|
---|
| 4485 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 4486 | ac_ct_RANLIB=$RANLIB
|
---|
| 4487 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 4488 | set dummy ranlib; ac_word=$2
|
---|
[23356] | 4489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4490 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4491 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
---|
| 4492 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4493 | else
|
---|
| 4494 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 4495 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 4496 | else
|
---|
| 4497 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4498 | for as_dir in $PATH
|
---|
| 4499 | do
|
---|
| 4500 | IFS=$as_save_IFS
|
---|
| 4501 | test -z "$as_dir" && as_dir=.
|
---|
[23356] | 4502 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4503 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4504 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[23356] | 4505 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4506 | break 2
|
---|
| 4507 | fi
|
---|
| 4508 | done
|
---|
[23356] | 4509 | done
|
---|
| 4510 | IFS=$as_save_IFS
|
---|
[16566] | 4511 |
|
---|
| 4512 | fi
|
---|
| 4513 | fi
|
---|
| 4514 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 4515 | if test -n "$ac_ct_RANLIB"; then
|
---|
[23356] | 4516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
---|
| 4517 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
[16566] | 4518 | else
|
---|
[23356] | 4519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4520 | $as_echo "no" >&6; }
|
---|
[16566] | 4521 | fi
|
---|
| 4522 |
|
---|
[23356] | 4523 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 4524 | RANLIB=":"
|
---|
| 4525 | else
|
---|
| 4526 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4527 | yes:)
|
---|
| 4528 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 4529 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4530 | ac_tool_warned=yes ;;
|
---|
| 4531 | esac
|
---|
| 4532 | RANLIB=$ac_ct_RANLIB
|
---|
| 4533 | fi
|
---|
[16566] | 4534 | else
|
---|
| 4535 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 4536 | fi
|
---|
| 4537 |
|
---|
| 4538 |
|
---|
[23356] | 4539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
|
---|
| 4540 | $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
|
---|
[16566] | 4541 | arch_64bit=no
|
---|
| 4542 | case "$host_cpu" in
|
---|
| 4543 | x86_64) arch_64bit=yes ;;
|
---|
| 4544 | esac
|
---|
| 4545 |
|
---|
| 4546 | if test "$arch_64bit" = yes; then
|
---|
[23356] | 4547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4548 | $as_echo "yes" >&6; }
|
---|
[16566] | 4549 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 4550 | COMPAT32BITFLAGS="-m32"
|
---|
| 4551 | fi
|
---|
| 4552 | else
|
---|
[23356] | 4553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4554 | $as_echo "no" >&6; }
|
---|
[16566] | 4555 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 4556 | COMPAT32BITFLAGS=
|
---|
| 4557 | fi
|
---|
| 4558 | fi
|
---|
[21432] | 4559 |
|
---|
| 4560 | # Only need compat32bitflag if using MG or MGPP
|
---|
| 4561 | if test "$ENABLE_MG" = "0" ; then
|
---|
| 4562 | COMPAT32BITFLAGS=
|
---|
| 4563 | else
|
---|
| 4564 | if test "$ENABLE_MGPP" = "0" ; then
|
---|
| 4565 | COMPAT32BITFLAGS=
|
---|
| 4566 | fi
|
---|
| 4567 | fi
|
---|
| 4568 |
|
---|
[16566] | 4569 | export COMPAT32BITFLAGS
|
---|
| 4570 |
|
---|
| 4571 |
|
---|
| 4572 |
|
---|
| 4573 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 4574 | if test $USE_CORBA = 1; then
|
---|
| 4575 |
|
---|
| 4576 | if test $MICO_DIR = "default"; then
|
---|
| 4577 | #do something
|
---|
| 4578 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 4579 | else
|
---|
| 4580 | #build the micotest program
|
---|
| 4581 | MICO_INC= ""
|
---|
| 4582 | if test $MICO_DIR != yes; then
|
---|
| 4583 | MICO_INC="-I $MICO_DIR"
|
---|
| 4584 | fi
|
---|
| 4585 | fi
|
---|
| 4586 |
|
---|
| 4587 | #get MICO_VER value
|
---|
| 4588 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 4589 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
| 4590 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
| 4591 | sh -c "rm micotest"
|
---|
| 4592 | sh -c "rm micotest.o"
|
---|
| 4593 |
|
---|
| 4594 | #do test of MICO_VER
|
---|
| 4595 | if test MICO_VER != 0; then
|
---|
[23356] | 4596 | $as_echo "#define MICO_VER 1" >>confdefs.h
|
---|
[16566] | 4597 |
|
---|
| 4598 |
|
---|
| 4599 | fi
|
---|
| 4600 | #end USE_CORBA test
|
---|
| 4601 | fi
|
---|
| 4602 |
|
---|
| 4603 |
|
---|
| 4604 | ac_ext=c
|
---|
| 4605 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4606 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4607 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4608 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[23356] | 4609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
| 4610 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[16566] | 4611 | # On Suns, sometimes $CPP names a directory.
|
---|
| 4612 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 4613 | CPP=
|
---|
| 4614 | fi
|
---|
| 4615 | if test -z "$CPP"; then
|
---|
[23356] | 4616 | if test "${ac_cv_prog_CPP+set}" = set; then :
|
---|
| 4617 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4618 | else
|
---|
| 4619 | # Double quotes because CPP needs to be expanded
|
---|
| 4620 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 4621 | do
|
---|
| 4622 | ac_preproc_ok=false
|
---|
| 4623 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4624 | do
|
---|
| 4625 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4626 | # with a fresh cross-compiler works.
|
---|
| 4627 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4628 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4629 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4630 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[23356] | 4631 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4632 | /* end confdefs.h. */
|
---|
| 4633 | #ifdef __STDC__
|
---|
| 4634 | # include <limits.h>
|
---|
| 4635 | #else
|
---|
| 4636 | # include <assert.h>
|
---|
| 4637 | #endif
|
---|
| 4638 | Syntax error
|
---|
| 4639 | _ACEOF
|
---|
[23356] | 4640 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4641 |
|
---|
[21327] | 4642 | else
|
---|
[16566] | 4643 | # Broken: fails on valid input.
|
---|
| 4644 | continue
|
---|
| 4645 | fi
|
---|
[23356] | 4646 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16566] | 4647 |
|
---|
[23356] | 4648 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16566] | 4649 | # can be detected and how.
|
---|
[23356] | 4650 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4651 | /* end confdefs.h. */
|
---|
| 4652 | #include <ac_nonexistent.h>
|
---|
| 4653 | _ACEOF
|
---|
[23356] | 4654 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16566] | 4655 | # Broken: success on invalid input.
|
---|
| 4656 | continue
|
---|
| 4657 | else
|
---|
| 4658 | # Passes both tests.
|
---|
| 4659 | ac_preproc_ok=:
|
---|
| 4660 | break
|
---|
| 4661 | fi
|
---|
[23356] | 4662 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16566] | 4663 |
|
---|
| 4664 | done
|
---|
| 4665 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[23356] | 4666 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4667 | if $ac_preproc_ok; then :
|
---|
[16566] | 4668 | break
|
---|
| 4669 | fi
|
---|
| 4670 |
|
---|
| 4671 | done
|
---|
| 4672 | ac_cv_prog_CPP=$CPP
|
---|
| 4673 |
|
---|
| 4674 | fi
|
---|
| 4675 | CPP=$ac_cv_prog_CPP
|
---|
| 4676 | else
|
---|
| 4677 | ac_cv_prog_CPP=$CPP
|
---|
| 4678 | fi
|
---|
[23356] | 4679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
| 4680 | $as_echo "$CPP" >&6; }
|
---|
[16566] | 4681 | ac_preproc_ok=false
|
---|
| 4682 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4683 | do
|
---|
| 4684 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4685 | # with a fresh cross-compiler works.
|
---|
| 4686 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4687 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4688 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4689 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[23356] | 4690 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4691 | /* end confdefs.h. */
|
---|
| 4692 | #ifdef __STDC__
|
---|
| 4693 | # include <limits.h>
|
---|
| 4694 | #else
|
---|
| 4695 | # include <assert.h>
|
---|
| 4696 | #endif
|
---|
| 4697 | Syntax error
|
---|
| 4698 | _ACEOF
|
---|
[23356] | 4699 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4700 |
|
---|
[21327] | 4701 | else
|
---|
[16566] | 4702 | # Broken: fails on valid input.
|
---|
| 4703 | continue
|
---|
| 4704 | fi
|
---|
[23356] | 4705 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16566] | 4706 |
|
---|
[23356] | 4707 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16566] | 4708 | # can be detected and how.
|
---|
[23356] | 4709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4710 | /* end confdefs.h. */
|
---|
| 4711 | #include <ac_nonexistent.h>
|
---|
| 4712 | _ACEOF
|
---|
[23356] | 4713 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16566] | 4714 | # Broken: success on invalid input.
|
---|
| 4715 | continue
|
---|
| 4716 | else
|
---|
| 4717 | # Passes both tests.
|
---|
| 4718 | ac_preproc_ok=:
|
---|
| 4719 | break
|
---|
| 4720 | fi
|
---|
[23356] | 4721 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[16566] | 4722 |
|
---|
| 4723 | done
|
---|
| 4724 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[23356] | 4725 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4726 | if $ac_preproc_ok; then :
|
---|
| 4727 |
|
---|
[16566] | 4728 | else
|
---|
[23356] | 4729 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 4730 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 4731 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
| 4732 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[16566] | 4733 | fi
|
---|
| 4734 |
|
---|
| 4735 | ac_ext=c
|
---|
| 4736 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4737 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4738 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4739 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4740 |
|
---|
| 4741 |
|
---|
[23356] | 4742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
| 4743 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
| 4744 | if test "${ac_cv_path_GREP+set}" = set; then :
|
---|
| 4745 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4746 | else
|
---|
[23356] | 4747 | if test -z "$GREP"; then
|
---|
| 4748 | ac_path_GREP_found=false
|
---|
| 4749 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4750 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4751 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4752 | do
|
---|
| 4753 | IFS=$as_save_IFS
|
---|
| 4754 | test -z "$as_dir" && as_dir=.
|
---|
| 4755 | for ac_prog in grep ggrep; do
|
---|
| 4756 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4757 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4758 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4759 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 4760 | # Check for GNU $ac_path_GREP
|
---|
| 4761 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4762 | *GNU*)
|
---|
| 4763 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4764 | *)
|
---|
| 4765 | ac_count=0
|
---|
| 4766 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4767 | while :
|
---|
| 4768 | do
|
---|
| 4769 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4770 | mv "conftest.tmp" "conftest.in"
|
---|
| 4771 | cp "conftest.in" "conftest.nl"
|
---|
| 4772 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 4773 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4774 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4775 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 4776 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4777 | # Best one so far, save it but keep looking for a better one
|
---|
| 4778 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4779 | ac_path_GREP_max=$ac_count
|
---|
[16566] | 4780 | fi
|
---|
[23356] | 4781 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4782 | test $ac_count -gt 10 && break
|
---|
| 4783 | done
|
---|
| 4784 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4785 | esac
|
---|
[16566] | 4786 |
|
---|
[23356] | 4787 | $ac_path_GREP_found && break 3
|
---|
| 4788 | done
|
---|
| 4789 | done
|
---|
| 4790 | done
|
---|
| 4791 | IFS=$as_save_IFS
|
---|
| 4792 | if test -z "$ac_cv_path_GREP"; then
|
---|
| 4793 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 4794 | fi
|
---|
[16566] | 4795 | else
|
---|
[23356] | 4796 | ac_cv_path_GREP=$GREP
|
---|
[16566] | 4797 | fi
|
---|
| 4798 |
|
---|
[23356] | 4799 | fi
|
---|
| 4800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
| 4801 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 4802 | GREP="$ac_cv_path_GREP"
|
---|
[16566] | 4803 |
|
---|
| 4804 |
|
---|
[23356] | 4805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
| 4806 | $as_echo_n "checking for egrep... " >&6; }
|
---|
| 4807 | if test "${ac_cv_path_EGREP+set}" = set; then :
|
---|
| 4808 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4809 | else
|
---|
[23356] | 4810 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4811 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4812 | else
|
---|
| 4813 | if test -z "$EGREP"; then
|
---|
| 4814 | ac_path_EGREP_found=false
|
---|
| 4815 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4816 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4817 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4818 | do
|
---|
| 4819 | IFS=$as_save_IFS
|
---|
| 4820 | test -z "$as_dir" && as_dir=.
|
---|
| 4821 | for ac_prog in egrep; do
|
---|
| 4822 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4823 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4824 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4825 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4826 | # Check for GNU $ac_path_EGREP
|
---|
| 4827 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4828 | *GNU*)
|
---|
| 4829 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4830 | *)
|
---|
| 4831 | ac_count=0
|
---|
| 4832 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4833 | while :
|
---|
| 4834 | do
|
---|
| 4835 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4836 | mv "conftest.tmp" "conftest.in"
|
---|
| 4837 | cp "conftest.in" "conftest.nl"
|
---|
| 4838 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 4839 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4840 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4841 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 4842 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4843 | # Best one so far, save it but keep looking for a better one
|
---|
| 4844 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4845 | ac_path_EGREP_max=$ac_count
|
---|
| 4846 | fi
|
---|
| 4847 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4848 | test $ac_count -gt 10 && break
|
---|
| 4849 | done
|
---|
| 4850 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4851 | esac
|
---|
[16566] | 4852 |
|
---|
[23356] | 4853 | $ac_path_EGREP_found && break 3
|
---|
| 4854 | done
|
---|
| 4855 | done
|
---|
| 4856 | done
|
---|
| 4857 | IFS=$as_save_IFS
|
---|
| 4858 | if test -z "$ac_cv_path_EGREP"; then
|
---|
| 4859 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
| 4860 | fi
|
---|
[16566] | 4861 | else
|
---|
[23356] | 4862 | ac_cv_path_EGREP=$EGREP
|
---|
[16566] | 4863 | fi
|
---|
| 4864 |
|
---|
[23356] | 4865 | fi
|
---|
[16566] | 4866 | fi
|
---|
[23356] | 4867 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
| 4868 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 4869 | EGREP="$ac_cv_path_EGREP"
|
---|
[16566] | 4870 |
|
---|
[23356] | 4871 |
|
---|
| 4872 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 4873 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 4874 | if test "${ac_cv_header_stdc+set}" = set; then :
|
---|
| 4875 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4876 | else
|
---|
[23356] | 4877 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4878 | /* end confdefs.h. */
|
---|
| 4879 | #include <stdlib.h>
|
---|
| 4880 | #include <stdarg.h>
|
---|
| 4881 | #include <string.h>
|
---|
| 4882 | #include <float.h>
|
---|
| 4883 |
|
---|
| 4884 | int
|
---|
| 4885 | main ()
|
---|
| 4886 | {
|
---|
| 4887 |
|
---|
| 4888 | ;
|
---|
| 4889 | return 0;
|
---|
| 4890 | }
|
---|
| 4891 | _ACEOF
|
---|
[23356] | 4892 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 4893 | ac_cv_header_stdc=yes
|
---|
| 4894 | else
|
---|
[23356] | 4895 | ac_cv_header_stdc=no
|
---|
[16566] | 4896 | fi
|
---|
[23356] | 4897 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 4898 |
|
---|
| 4899 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4900 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[23356] | 4901 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4902 | /* end confdefs.h. */
|
---|
| 4903 | #include <string.h>
|
---|
| 4904 |
|
---|
| 4905 | _ACEOF
|
---|
| 4906 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 4907 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 4908 |
|
---|
[16566] | 4909 | else
|
---|
| 4910 | ac_cv_header_stdc=no
|
---|
| 4911 | fi
|
---|
| 4912 | rm -f conftest*
|
---|
| 4913 |
|
---|
| 4914 | fi
|
---|
| 4915 |
|
---|
| 4916 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4917 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[23356] | 4918 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4919 | /* end confdefs.h. */
|
---|
| 4920 | #include <stdlib.h>
|
---|
| 4921 |
|
---|
| 4922 | _ACEOF
|
---|
| 4923 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 4924 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 4925 |
|
---|
[16566] | 4926 | else
|
---|
| 4927 | ac_cv_header_stdc=no
|
---|
| 4928 | fi
|
---|
| 4929 | rm -f conftest*
|
---|
| 4930 |
|
---|
| 4931 | fi
|
---|
| 4932 |
|
---|
| 4933 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4934 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[23356] | 4935 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 4936 | :
|
---|
| 4937 | else
|
---|
[23356] | 4938 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4939 | /* end confdefs.h. */
|
---|
| 4940 | #include <ctype.h>
|
---|
[23356] | 4941 | #include <stdlib.h>
|
---|
[16566] | 4942 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4943 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4944 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4945 | #else
|
---|
| 4946 | # define ISLOWER(c) \
|
---|
| 4947 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4948 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4949 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4950 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4951 | #endif
|
---|
| 4952 |
|
---|
| 4953 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4954 | int
|
---|
| 4955 | main ()
|
---|
| 4956 | {
|
---|
| 4957 | int i;
|
---|
| 4958 | for (i = 0; i < 256; i++)
|
---|
| 4959 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4960 | || toupper (i) != TOUPPER (i))
|
---|
[23356] | 4961 | return 2;
|
---|
| 4962 | return 0;
|
---|
[16566] | 4963 | }
|
---|
| 4964 | _ACEOF
|
---|
[23356] | 4965 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 4966 |
|
---|
[16566] | 4967 | else
|
---|
[23356] | 4968 | ac_cv_header_stdc=no
|
---|
[16566] | 4969 | fi
|
---|
[23356] | 4970 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 4971 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 4972 | fi
|
---|
[23356] | 4973 |
|
---|
[16566] | 4974 | fi
|
---|
| 4975 | fi
|
---|
[23356] | 4976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 4977 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16566] | 4978 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4979 |
|
---|
[23356] | 4980 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16566] | 4981 |
|
---|
| 4982 | fi
|
---|
| 4983 |
|
---|
| 4984 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
[23356] | 4985 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4986 | inttypes.h stdint.h unistd.h
|
---|
| 4987 | do :
|
---|
| 4988 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4989 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 4990 | "
|
---|
| 4991 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
| 4992 | cat >>confdefs.h <<_ACEOF
|
---|
| 4993 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 4994 | _ACEOF
|
---|
[16566] | 4995 |
|
---|
[23356] | 4996 | fi
|
---|
[16566] | 4997 |
|
---|
[23356] | 4998 | done
|
---|
[16566] | 4999 |
|
---|
| 5000 |
|
---|
| 5001 |
|
---|
[23356] | 5002 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
---|
| 5003 | if test "x$ac_cv_header_minix_config_h" = x""yes; then :
|
---|
| 5004 | MINIX=yes
|
---|
| 5005 | else
|
---|
| 5006 | MINIX=
|
---|
| 5007 | fi
|
---|
[16566] | 5008 |
|
---|
| 5009 |
|
---|
[23356] | 5010 | if test "$MINIX" = yes; then
|
---|
[16566] | 5011 |
|
---|
[23356] | 5012 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
---|
[16566] | 5013 |
|
---|
[23356] | 5014 |
|
---|
| 5015 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
---|
| 5016 |
|
---|
| 5017 |
|
---|
| 5018 | $as_echo "#define _MINIX 1" >>confdefs.h
|
---|
| 5019 |
|
---|
| 5020 | fi
|
---|
| 5021 |
|
---|
| 5022 |
|
---|
| 5023 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
| 5024 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
| 5025 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
|
---|
| 5026 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5027 | else
|
---|
[23356] | 5028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5029 | /* end confdefs.h. */
|
---|
| 5030 |
|
---|
[23356] | 5031 | # define __EXTENSIONS__ 1
|
---|
| 5032 | $ac_includes_default
|
---|
| 5033 | int
|
---|
| 5034 | main ()
|
---|
| 5035 | {
|
---|
| 5036 |
|
---|
| 5037 | ;
|
---|
| 5038 | return 0;
|
---|
| 5039 | }
|
---|
[16566] | 5040 | _ACEOF
|
---|
[23356] | 5041 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5042 | ac_cv_safe_to_define___extensions__=yes
|
---|
[16566] | 5043 | else
|
---|
[23356] | 5044 | ac_cv_safe_to_define___extensions__=no
|
---|
[16566] | 5045 | fi
|
---|
[23356] | 5046 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5047 | fi
|
---|
[23356] | 5048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
| 5049 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 5050 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
| 5051 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
---|
[16566] | 5052 |
|
---|
[23356] | 5053 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
---|
[16566] | 5054 |
|
---|
[23356] | 5055 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
---|
[16566] | 5056 |
|
---|
[23356] | 5057 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
---|
[16566] | 5058 |
|
---|
[23356] | 5059 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
---|
| 5060 |
|
---|
| 5061 |
|
---|
| 5062 |
|
---|
| 5063 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
|
---|
| 5064 | $as_echo_n "checking for library containing strerror... " >&6; }
|
---|
| 5065 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
| 5066 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5067 | else
|
---|
[23356] | 5068 | ac_func_search_save_LIBS=$LIBS
|
---|
| 5069 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5070 | /* end confdefs.h. */
|
---|
| 5071 |
|
---|
[23356] | 5072 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5073 | Use char because int might match the return type of a GCC
|
---|
| 5074 | builtin and then its argument prototype would still apply. */
|
---|
| 5075 | #ifdef __cplusplus
|
---|
| 5076 | extern "C"
|
---|
| 5077 | #endif
|
---|
| 5078 | char strerror ();
|
---|
| 5079 | int
|
---|
| 5080 | main ()
|
---|
| 5081 | {
|
---|
| 5082 | return strerror ();
|
---|
| 5083 | ;
|
---|
| 5084 | return 0;
|
---|
| 5085 | }
|
---|
[16566] | 5086 | _ACEOF
|
---|
[23356] | 5087 | for ac_lib in '' cposix; do
|
---|
| 5088 | if test -z "$ac_lib"; then
|
---|
| 5089 | ac_res="none required"
|
---|
[21327] | 5090 | else
|
---|
[23356] | 5091 | ac_res=-l$ac_lib
|
---|
| 5092 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
[21327] | 5093 | fi
|
---|
[23356] | 5094 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5095 | ac_cv_search_strerror=$ac_res
|
---|
[21327] | 5096 | fi
|
---|
[23356] | 5097 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5098 | conftest$ac_exeext
|
---|
| 5099 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
| 5100 | break
|
---|
[16566] | 5101 | fi
|
---|
[23356] | 5102 | done
|
---|
| 5103 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
[16566] | 5104 |
|
---|
| 5105 | else
|
---|
[23356] | 5106 | ac_cv_search_strerror=no
|
---|
[16566] | 5107 | fi
|
---|
[23356] | 5108 | rm conftest.$ac_ext
|
---|
| 5109 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5110 | fi
|
---|
| 5111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
|
---|
| 5112 | $as_echo "$ac_cv_search_strerror" >&6; }
|
---|
| 5113 | ac_res=$ac_cv_search_strerror
|
---|
| 5114 | if test "$ac_res" != no; then :
|
---|
| 5115 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16566] | 5116 |
|
---|
| 5117 | fi
|
---|
| 5118 |
|
---|
| 5119 |
|
---|
[23356] | 5120 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
| 5121 | $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
|
---|
| 5122 | if test "${ac_cv_prog_cc_stdc+set}" = set; then :
|
---|
| 5123 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5124 | else
|
---|
| 5125 | ac_cv_prog_cc_stdc=no
|
---|
| 5126 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 5127 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 5128 | # breaks some systems' header files.
|
---|
| 5129 | # AIX -qlanglvl=ansi
|
---|
| 5130 | # Ultrix and OSF/1 -std1
|
---|
| 5131 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 5132 | # SVR4 -Xc
|
---|
| 5133 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 5134 | do
|
---|
| 5135 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[23356] | 5136 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5137 | /* end confdefs.h. */
|
---|
| 5138 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 5139 | choke me
|
---|
| 5140 | #endif
|
---|
| 5141 |
|
---|
| 5142 | int
|
---|
| 5143 | main ()
|
---|
| 5144 | {
|
---|
| 5145 | int test (int i, double x);
|
---|
| 5146 | struct s1 {int (*f) (int a);};
|
---|
| 5147 | struct s2 {int (*f) (double a);};
|
---|
| 5148 | ;
|
---|
| 5149 | return 0;
|
---|
| 5150 | }
|
---|
| 5151 | _ACEOF
|
---|
[23356] | 5152 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5153 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 5154 | fi
|
---|
[23356] | 5155 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5156 | done
|
---|
| 5157 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 5158 |
|
---|
| 5159 | fi
|
---|
| 5160 |
|
---|
[23356] | 5161 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 5162 | $as_echo "$ac_cv_prog_cc_stdc" >&6; }
|
---|
[16566] | 5163 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 5164 | x|xno) ;;
|
---|
| 5165 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 5166 | esac
|
---|
| 5167 |
|
---|
| 5168 |
|
---|
[23356] | 5169 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
---|
| 5170 | $as_echo_n "checking for function prototypes... " >&6; }
|
---|
[16566] | 5171 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[23356] | 5172 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 5173 | $as_echo "yes" >&6; }
|
---|
| 5174 | $as_echo "#define PROTOTYPES 1" >>confdefs.h
|
---|
[16566] | 5175 |
|
---|
| 5176 | U= ANSI2KNR=
|
---|
| 5177 | else
|
---|
[23356] | 5178 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5179 | $as_echo "no" >&6; }
|
---|
[16566] | 5180 | U=_ ANSI2KNR=ansi2knr
|
---|
| 5181 | fi
|
---|
| 5182 |
|
---|
[23356] | 5183 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
---|
| 5184 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
| 5185 | if test "${ac_cv_c_const+set}" = set; then :
|
---|
| 5186 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5187 | else
|
---|
[23356] | 5188 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5189 | /* end confdefs.h. */
|
---|
| 5190 |
|
---|
| 5191 | int
|
---|
| 5192 | main ()
|
---|
| 5193 | {
|
---|
| 5194 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 5195 | #ifndef __cplusplus
|
---|
| 5196 | /* Ultrix mips cc rejects this. */
|
---|
| 5197 | typedef int charset[2];
|
---|
[23356] | 5198 | const charset cs;
|
---|
[16566] | 5199 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[23356] | 5200 | char const *const *pcpcc;
|
---|
| 5201 | char **ppc;
|
---|
[16566] | 5202 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 5203 | struct point {int x, y;};
|
---|
| 5204 | static struct point const zero = {0,0};
|
---|
| 5205 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 5206 | It does not let you subtract one const X* pointer from another in
|
---|
| 5207 | an arm of an if-expression whose if-part is not a constant
|
---|
| 5208 | expression */
|
---|
| 5209 | const char *g = "string";
|
---|
[23356] | 5210 | pcpcc = &g + (g ? g-g : 0);
|
---|
[16566] | 5211 | /* HPUX 7.0 cc rejects these. */
|
---|
[23356] | 5212 | ++pcpcc;
|
---|
| 5213 | ppc = (char**) pcpcc;
|
---|
| 5214 | pcpcc = (char const *const *) ppc;
|
---|
[16566] | 5215 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 5216 | char *t;
|
---|
| 5217 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 5218 |
|
---|
| 5219 | *t++ = 0;
|
---|
[23356] | 5220 | if (s) return 0;
|
---|
[16566] | 5221 | }
|
---|
| 5222 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 5223 | int x[] = {25, 17};
|
---|
| 5224 | const int *foo = &x[0];
|
---|
| 5225 | ++foo;
|
---|
| 5226 | }
|
---|
| 5227 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 5228 | typedef const int *iptr;
|
---|
| 5229 | iptr p = 0;
|
---|
| 5230 | ++p;
|
---|
| 5231 | }
|
---|
| 5232 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 5233 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 5234 | struct s { int j; const int *ap[3]; };
|
---|
| 5235 | struct s *b; b->j = 5;
|
---|
| 5236 | }
|
---|
| 5237 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 5238 | const int foo = 10;
|
---|
[23356] | 5239 | if (!foo) return 0;
|
---|
[16566] | 5240 | }
|
---|
[23356] | 5241 | return !cs[0] && !zero.x;
|
---|
[16566] | 5242 | #endif
|
---|
| 5243 |
|
---|
| 5244 | ;
|
---|
| 5245 | return 0;
|
---|
| 5246 | }
|
---|
| 5247 | _ACEOF
|
---|
[23356] | 5248 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5249 | ac_cv_c_const=yes
|
---|
| 5250 | else
|
---|
[23356] | 5251 | ac_cv_c_const=no
|
---|
[16566] | 5252 | fi
|
---|
[23356] | 5253 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5254 | fi
|
---|
[23356] | 5255 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
---|
| 5256 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
[16566] | 5257 | if test $ac_cv_c_const = no; then
|
---|
| 5258 |
|
---|
[23356] | 5259 | $as_echo "#define const /**/" >>confdefs.h
|
---|
[16566] | 5260 |
|
---|
| 5261 | fi
|
---|
| 5262 |
|
---|
[23356] | 5263 | ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
---|
| 5264 | if test "x$ac_cv_type_off_t" = x""yes; then :
|
---|
[16566] | 5265 |
|
---|
| 5266 | else
|
---|
| 5267 |
|
---|
| 5268 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5269 | #define off_t long int
|
---|
[16566] | 5270 | _ACEOF
|
---|
| 5271 |
|
---|
| 5272 | fi
|
---|
| 5273 |
|
---|
[23356] | 5274 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 5275 | if test "x$ac_cv_type_size_t" = x""yes; then :
|
---|
[16566] | 5276 |
|
---|
| 5277 | else
|
---|
| 5278 |
|
---|
| 5279 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5280 | #define size_t unsigned int
|
---|
[16566] | 5281 | _ACEOF
|
---|
| 5282 |
|
---|
| 5283 | fi
|
---|
| 5284 |
|
---|
[23356] | 5285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 5286 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
---|
| 5287 | if test "${ac_cv_header_time+set}" = set; then :
|
---|
| 5288 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5289 | else
|
---|
[23356] | 5290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5291 | /* end confdefs.h. */
|
---|
| 5292 | #include <sys/types.h>
|
---|
| 5293 | #include <sys/time.h>
|
---|
| 5294 | #include <time.h>
|
---|
| 5295 |
|
---|
| 5296 | int
|
---|
| 5297 | main ()
|
---|
| 5298 | {
|
---|
| 5299 | if ((struct tm *) 0)
|
---|
| 5300 | return 0;
|
---|
| 5301 | ;
|
---|
| 5302 | return 0;
|
---|
| 5303 | }
|
---|
| 5304 | _ACEOF
|
---|
[23356] | 5305 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5306 | ac_cv_header_time=yes
|
---|
| 5307 | else
|
---|
[23356] | 5308 | ac_cv_header_time=no
|
---|
[16566] | 5309 | fi
|
---|
[23356] | 5310 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5311 | fi
|
---|
[23356] | 5312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
---|
| 5313 | $as_echo "$ac_cv_header_time" >&6; }
|
---|
[16566] | 5314 | if test $ac_cv_header_time = yes; then
|
---|
| 5315 |
|
---|
[23356] | 5316 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
---|
[16566] | 5317 |
|
---|
| 5318 | fi
|
---|
| 5319 |
|
---|
[23356] | 5320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 5321 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
---|
| 5322 | if test "${ac_cv_struct_tm+set}" = set; then :
|
---|
| 5323 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5324 | else
|
---|
[23356] | 5325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5326 | /* end confdefs.h. */
|
---|
| 5327 | #include <sys/types.h>
|
---|
| 5328 | #include <time.h>
|
---|
| 5329 |
|
---|
| 5330 | int
|
---|
| 5331 | main ()
|
---|
| 5332 | {
|
---|
[23356] | 5333 | struct tm tm;
|
---|
| 5334 | int *p = &tm.tm_sec;
|
---|
| 5335 | return !p;
|
---|
[16566] | 5336 | ;
|
---|
| 5337 | return 0;
|
---|
| 5338 | }
|
---|
| 5339 | _ACEOF
|
---|
[23356] | 5340 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5341 | ac_cv_struct_tm=time.h
|
---|
| 5342 | else
|
---|
[23356] | 5343 | ac_cv_struct_tm=sys/time.h
|
---|
[16566] | 5344 | fi
|
---|
[23356] | 5345 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5346 | fi
|
---|
[23356] | 5347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
---|
| 5348 | $as_echo "$ac_cv_struct_tm" >&6; }
|
---|
[16566] | 5349 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5350 |
|
---|
[23356] | 5351 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
---|
[16566] | 5352 |
|
---|
| 5353 | fi
|
---|
| 5354 |
|
---|
| 5355 |
|
---|
| 5356 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[23356] | 5357 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5358 | /* end confdefs.h. */
|
---|
| 5359 | #include <stdio.h>
|
---|
| 5360 |
|
---|
| 5361 | int
|
---|
| 5362 | main ()
|
---|
| 5363 | {
|
---|
| 5364 | FILE *rubbish = popen("yes", "r");
|
---|
| 5365 | ;
|
---|
| 5366 | return 0;
|
---|
| 5367 | }
|
---|
| 5368 | _ACEOF
|
---|
[23356] | 5369 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5370 |
|
---|
[16566] | 5371 | else
|
---|
[23356] | 5372 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[16566] | 5373 | fi
|
---|
[23356] | 5374 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5375 | fi
|
---|
| 5376 |
|
---|
| 5377 |
|
---|
[23356] | 5378 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
|
---|
| 5379 | $as_echo_n "checking for main in -lg... " >&6; }
|
---|
| 5380 | if test "${ac_cv_lib_g_main+set}" = set; then :
|
---|
| 5381 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5382 | else
|
---|
| 5383 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5384 | LIBS="-lg $LIBS"
|
---|
[23356] | 5385 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5386 | /* end confdefs.h. */
|
---|
| 5387 |
|
---|
| 5388 |
|
---|
| 5389 | int
|
---|
| 5390 | main ()
|
---|
| 5391 | {
|
---|
[23356] | 5392 | return main ();
|
---|
[16566] | 5393 | ;
|
---|
| 5394 | return 0;
|
---|
| 5395 | }
|
---|
| 5396 | _ACEOF
|
---|
[23356] | 5397 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5398 | ac_cv_lib_g_main=yes
|
---|
| 5399 | else
|
---|
[23356] | 5400 | ac_cv_lib_g_main=no
|
---|
[16566] | 5401 | fi
|
---|
[23356] | 5402 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5403 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5404 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5405 | fi
|
---|
[23356] | 5406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
|
---|
| 5407 | $as_echo "$ac_cv_lib_g_main" >&6; }
|
---|
| 5408 | if test "x$ac_cv_lib_g_main" = x""yes; then :
|
---|
[16566] | 5409 | cat >>confdefs.h <<_ACEOF
|
---|
| 5410 | #define HAVE_LIBG 1
|
---|
| 5411 | _ACEOF
|
---|
| 5412 |
|
---|
| 5413 | LIBS="-lg $LIBS"
|
---|
| 5414 |
|
---|
| 5415 | fi
|
---|
| 5416 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
| 5417 |
|
---|
[23356] | 5418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
---|
| 5419 | $as_echo_n "checking for main in -lm... " >&6; }
|
---|
| 5420 | if test "${ac_cv_lib_m_main+set}" = set; then :
|
---|
| 5421 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5422 | else
|
---|
| 5423 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5424 | LIBS="-lm $LIBS"
|
---|
[23356] | 5425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5426 | /* end confdefs.h. */
|
---|
| 5427 |
|
---|
| 5428 |
|
---|
| 5429 | int
|
---|
| 5430 | main ()
|
---|
| 5431 | {
|
---|
[23356] | 5432 | return main ();
|
---|
[16566] | 5433 | ;
|
---|
| 5434 | return 0;
|
---|
| 5435 | }
|
---|
| 5436 | _ACEOF
|
---|
[23356] | 5437 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5438 | ac_cv_lib_m_main=yes
|
---|
| 5439 | else
|
---|
[23356] | 5440 | ac_cv_lib_m_main=no
|
---|
[16566] | 5441 | fi
|
---|
[23356] | 5442 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5443 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5444 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5445 | fi
|
---|
[23356] | 5446 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
---|
| 5447 | $as_echo "$ac_cv_lib_m_main" >&6; }
|
---|
| 5448 | if test "x$ac_cv_lib_m_main" = x""yes; then :
|
---|
[16566] | 5449 | cat >>confdefs.h <<_ACEOF
|
---|
| 5450 | #define HAVE_LIBM 1
|
---|
| 5451 | _ACEOF
|
---|
| 5452 |
|
---|
| 5453 | LIBS="-lm $LIBS"
|
---|
| 5454 |
|
---|
| 5455 | fi
|
---|
| 5456 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
| 5457 |
|
---|
[23356] | 5458 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
|
---|
| 5459 | $as_echo_n "checking for main in -lcrypt... " >&6; }
|
---|
| 5460 | if test "${ac_cv_lib_crypt_main+set}" = set; then :
|
---|
| 5461 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5462 | else
|
---|
| 5463 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5464 | LIBS="-lcrypt $LIBS"
|
---|
[23356] | 5465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5466 | /* end confdefs.h. */
|
---|
| 5467 |
|
---|
| 5468 |
|
---|
| 5469 | int
|
---|
| 5470 | main ()
|
---|
| 5471 | {
|
---|
[23356] | 5472 | return main ();
|
---|
[16566] | 5473 | ;
|
---|
| 5474 | return 0;
|
---|
| 5475 | }
|
---|
| 5476 | _ACEOF
|
---|
[23356] | 5477 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5478 | ac_cv_lib_crypt_main=yes
|
---|
| 5479 | else
|
---|
[23356] | 5480 | ac_cv_lib_crypt_main=no
|
---|
[16566] | 5481 | fi
|
---|
[23356] | 5482 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5483 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5484 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5485 | fi
|
---|
[23356] | 5486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 5487 | $as_echo "$ac_cv_lib_crypt_main" >&6; }
|
---|
| 5488 | if test "x$ac_cv_lib_crypt_main" = x""yes; then :
|
---|
[16566] | 5489 | cat >>confdefs.h <<_ACEOF
|
---|
| 5490 | #define HAVE_LIBCRYPT 1
|
---|
| 5491 | _ACEOF
|
---|
| 5492 |
|
---|
| 5493 | LIBS="-lcrypt $LIBS"
|
---|
| 5494 |
|
---|
| 5495 | fi
|
---|
| 5496 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 5497 |
|
---|
[20846] | 5498 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 5499 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 5500 | #fi
|
---|
[16566] | 5501 |
|
---|
| 5502 | ac_header_dirent=no
|
---|
| 5503 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[23356] | 5504 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
| 5505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
---|
| 5506 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
---|
| 5507 | if eval "test \"\${$as_ac_Header+set}\"" = set; then :
|
---|
| 5508 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5509 | else
|
---|
[23356] | 5510 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5511 | /* end confdefs.h. */
|
---|
| 5512 | #include <sys/types.h>
|
---|
| 5513 | #include <$ac_hdr>
|
---|
| 5514 |
|
---|
| 5515 | int
|
---|
| 5516 | main ()
|
---|
| 5517 | {
|
---|
| 5518 | if ((DIR *) 0)
|
---|
| 5519 | return 0;
|
---|
| 5520 | ;
|
---|
| 5521 | return 0;
|
---|
| 5522 | }
|
---|
| 5523 | _ACEOF
|
---|
[23356] | 5524 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5525 | eval "$as_ac_Header=yes"
|
---|
| 5526 | else
|
---|
[23356] | 5527 | eval "$as_ac_Header=no"
|
---|
[16566] | 5528 | fi
|
---|
[23356] | 5529 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5530 | fi
|
---|
[23356] | 5531 | eval ac_res=\$$as_ac_Header
|
---|
| 5532 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 5533 | $as_echo "$ac_res" >&6; }
|
---|
| 5534 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16566] | 5535 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5536 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[16566] | 5537 | _ACEOF
|
---|
| 5538 |
|
---|
| 5539 | ac_header_dirent=$ac_hdr; break
|
---|
| 5540 | fi
|
---|
| 5541 |
|
---|
| 5542 | done
|
---|
| 5543 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5544 | if test $ac_header_dirent = dirent.h; then
|
---|
[23356] | 5545 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
| 5546 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
| 5547 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5548 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5549 | else
|
---|
| 5550 | ac_func_search_save_LIBS=$LIBS
|
---|
[23356] | 5551 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5552 | /* end confdefs.h. */
|
---|
| 5553 |
|
---|
[23356] | 5554 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5555 | Use char because int might match the return type of a GCC
|
---|
| 5556 | builtin and then its argument prototype would still apply. */
|
---|
[16566] | 5557 | #ifdef __cplusplus
|
---|
| 5558 | extern "C"
|
---|
| 5559 | #endif
|
---|
| 5560 | char opendir ();
|
---|
| 5561 | int
|
---|
| 5562 | main ()
|
---|
| 5563 | {
|
---|
[23356] | 5564 | return opendir ();
|
---|
[16566] | 5565 | ;
|
---|
| 5566 | return 0;
|
---|
| 5567 | }
|
---|
| 5568 | _ACEOF
|
---|
[23356] | 5569 | for ac_lib in '' dir; do
|
---|
| 5570 | if test -z "$ac_lib"; then
|
---|
| 5571 | ac_res="none required"
|
---|
| 5572 | else
|
---|
| 5573 | ac_res=-l$ac_lib
|
---|
| 5574 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5575 | fi
|
---|
| 5576 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5577 | ac_cv_search_opendir=$ac_res
|
---|
[16566] | 5578 | fi
|
---|
[23356] | 5579 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5580 | conftest$ac_exeext
|
---|
| 5581 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5582 | break
|
---|
| 5583 | fi
|
---|
| 5584 | done
|
---|
| 5585 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
[16566] | 5586 |
|
---|
| 5587 | else
|
---|
[23356] | 5588 | ac_cv_search_opendir=no
|
---|
[16566] | 5589 | fi
|
---|
[23356] | 5590 | rm conftest.$ac_ext
|
---|
[16566] | 5591 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5592 | fi
|
---|
[23356] | 5593 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
| 5594 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5595 | ac_res=$ac_cv_search_opendir
|
---|
| 5596 | if test "$ac_res" != no; then :
|
---|
| 5597 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16566] | 5598 |
|
---|
| 5599 | fi
|
---|
| 5600 |
|
---|
| 5601 | else
|
---|
[23356] | 5602 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
| 5603 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
| 5604 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5605 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5606 | else
|
---|
| 5607 | ac_func_search_save_LIBS=$LIBS
|
---|
[23356] | 5608 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5609 | /* end confdefs.h. */
|
---|
| 5610 |
|
---|
[23356] | 5611 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5612 | Use char because int might match the return type of a GCC
|
---|
| 5613 | builtin and then its argument prototype would still apply. */
|
---|
[16566] | 5614 | #ifdef __cplusplus
|
---|
| 5615 | extern "C"
|
---|
| 5616 | #endif
|
---|
| 5617 | char opendir ();
|
---|
| 5618 | int
|
---|
| 5619 | main ()
|
---|
| 5620 | {
|
---|
[23356] | 5621 | return opendir ();
|
---|
[16566] | 5622 | ;
|
---|
| 5623 | return 0;
|
---|
| 5624 | }
|
---|
| 5625 | _ACEOF
|
---|
[23356] | 5626 | for ac_lib in '' x; do
|
---|
| 5627 | if test -z "$ac_lib"; then
|
---|
| 5628 | ac_res="none required"
|
---|
| 5629 | else
|
---|
| 5630 | ac_res=-l$ac_lib
|
---|
| 5631 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5632 | fi
|
---|
| 5633 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5634 | ac_cv_search_opendir=$ac_res
|
---|
[16566] | 5635 | fi
|
---|
[23356] | 5636 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5637 | conftest$ac_exeext
|
---|
| 5638 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5639 | break
|
---|
| 5640 | fi
|
---|
| 5641 | done
|
---|
| 5642 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
[16566] | 5643 |
|
---|
| 5644 | else
|
---|
[23356] | 5645 | ac_cv_search_opendir=no
|
---|
[16566] | 5646 | fi
|
---|
[23356] | 5647 | rm conftest.$ac_ext
|
---|
[16566] | 5648 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5649 | fi
|
---|
[23356] | 5650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
| 5651 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5652 | ac_res=$ac_cv_search_opendir
|
---|
| 5653 | if test "$ac_res" != no; then :
|
---|
| 5654 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16566] | 5655 |
|
---|
| 5656 | fi
|
---|
| 5657 |
|
---|
| 5658 | fi
|
---|
| 5659 |
|
---|
[23356] | 5660 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 5661 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 5662 | if test "${ac_cv_header_stdc+set}" = set; then :
|
---|
| 5663 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5664 | else
|
---|
[23356] | 5665 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5666 | /* end confdefs.h. */
|
---|
| 5667 | #include <stdlib.h>
|
---|
| 5668 | #include <stdarg.h>
|
---|
| 5669 | #include <string.h>
|
---|
| 5670 | #include <float.h>
|
---|
| 5671 |
|
---|
| 5672 | int
|
---|
| 5673 | main ()
|
---|
| 5674 | {
|
---|
| 5675 |
|
---|
| 5676 | ;
|
---|
| 5677 | return 0;
|
---|
| 5678 | }
|
---|
| 5679 | _ACEOF
|
---|
[23356] | 5680 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5681 | ac_cv_header_stdc=yes
|
---|
| 5682 | else
|
---|
[23356] | 5683 | ac_cv_header_stdc=no
|
---|
[16566] | 5684 | fi
|
---|
[23356] | 5685 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5686 |
|
---|
| 5687 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5688 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[23356] | 5689 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5690 | /* end confdefs.h. */
|
---|
| 5691 | #include <string.h>
|
---|
| 5692 |
|
---|
| 5693 | _ACEOF
|
---|
| 5694 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5695 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5696 |
|
---|
[16566] | 5697 | else
|
---|
| 5698 | ac_cv_header_stdc=no
|
---|
| 5699 | fi
|
---|
| 5700 | rm -f conftest*
|
---|
| 5701 |
|
---|
| 5702 | fi
|
---|
| 5703 |
|
---|
| 5704 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5705 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[23356] | 5706 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5707 | /* end confdefs.h. */
|
---|
| 5708 | #include <stdlib.h>
|
---|
| 5709 |
|
---|
| 5710 | _ACEOF
|
---|
| 5711 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5712 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5713 |
|
---|
[16566] | 5714 | else
|
---|
| 5715 | ac_cv_header_stdc=no
|
---|
| 5716 | fi
|
---|
| 5717 | rm -f conftest*
|
---|
| 5718 |
|
---|
| 5719 | fi
|
---|
| 5720 |
|
---|
| 5721 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5722 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[23356] | 5723 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 5724 | :
|
---|
| 5725 | else
|
---|
[23356] | 5726 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5727 | /* end confdefs.h. */
|
---|
| 5728 | #include <ctype.h>
|
---|
[23356] | 5729 | #include <stdlib.h>
|
---|
[16566] | 5730 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5731 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5732 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5733 | #else
|
---|
| 5734 | # define ISLOWER(c) \
|
---|
| 5735 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5736 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5737 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5738 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5739 | #endif
|
---|
| 5740 |
|
---|
| 5741 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5742 | int
|
---|
| 5743 | main ()
|
---|
| 5744 | {
|
---|
| 5745 | int i;
|
---|
| 5746 | for (i = 0; i < 256; i++)
|
---|
| 5747 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5748 | || toupper (i) != TOUPPER (i))
|
---|
[23356] | 5749 | return 2;
|
---|
| 5750 | return 0;
|
---|
[16566] | 5751 | }
|
---|
| 5752 | _ACEOF
|
---|
[23356] | 5753 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5754 |
|
---|
[16566] | 5755 | else
|
---|
[23356] | 5756 | ac_cv_header_stdc=no
|
---|
[16566] | 5757 | fi
|
---|
[23356] | 5758 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5759 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 5760 | fi
|
---|
[23356] | 5761 |
|
---|
[16566] | 5762 | fi
|
---|
| 5763 | fi
|
---|
[23356] | 5764 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 5765 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16566] | 5766 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5767 |
|
---|
[23356] | 5768 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16566] | 5769 |
|
---|
| 5770 | fi
|
---|
| 5771 |
|
---|
| 5772 | 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] | 5773 | do :
|
---|
| 5774 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5775 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
---|
| 5776 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16566] | 5777 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5778 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[16566] | 5779 | _ACEOF
|
---|
| 5780 |
|
---|
| 5781 | fi
|
---|
| 5782 |
|
---|
| 5783 | done
|
---|
| 5784 |
|
---|
[23356] | 5785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5786 | /* end confdefs.h. */
|
---|
| 5787 | #include <stdio.h>
|
---|
| 5788 |
|
---|
| 5789 | _ACEOF
|
---|
| 5790 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5791 | $EGREP "fread" >/dev/null 2>&1; then :
|
---|
| 5792 | $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
|
---|
[16566] | 5793 |
|
---|
| 5794 | fi
|
---|
| 5795 | rm -f conftest*
|
---|
| 5796 |
|
---|
[23356] | 5797 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5798 | /* end confdefs.h. */
|
---|
| 5799 | #include <stdio.h>
|
---|
| 5800 |
|
---|
| 5801 | _ACEOF
|
---|
| 5802 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5803 | $EGREP "fgetc" >/dev/null 2>&1; then :
|
---|
| 5804 | $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
|
---|
[16566] | 5805 |
|
---|
| 5806 | fi
|
---|
| 5807 | rm -f conftest*
|
---|
| 5808 |
|
---|
[23356] | 5809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5810 | /* end confdefs.h. */
|
---|
| 5811 | #include <sys/procfs.h>
|
---|
| 5812 |
|
---|
| 5813 | _ACEOF
|
---|
| 5814 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5815 | $EGREP "pr_brksize" >/dev/null 2>&1; then :
|
---|
| 5816 | $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
|
---|
[16566] | 5817 |
|
---|
| 5818 | fi
|
---|
| 5819 | rm -f conftest*
|
---|
| 5820 |
|
---|
| 5821 |
|
---|
| 5822 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5823 | # for constant arguments. Useless!
|
---|
[23356] | 5824 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
---|
| 5825 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
| 5826 | if test "${ac_cv_working_alloca_h+set}" = set; then :
|
---|
| 5827 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5828 | else
|
---|
[23356] | 5829 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5830 | /* end confdefs.h. */
|
---|
| 5831 | #include <alloca.h>
|
---|
| 5832 | int
|
---|
| 5833 | main ()
|
---|
| 5834 | {
|
---|
| 5835 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[23356] | 5836 | if (p) return 0;
|
---|
[16566] | 5837 | ;
|
---|
| 5838 | return 0;
|
---|
| 5839 | }
|
---|
| 5840 | _ACEOF
|
---|
[23356] | 5841 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5842 | ac_cv_working_alloca_h=yes
|
---|
| 5843 | else
|
---|
[23356] | 5844 | ac_cv_working_alloca_h=no
|
---|
[16566] | 5845 | fi
|
---|
[23356] | 5846 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5847 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5848 | fi
|
---|
[23356] | 5849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
---|
| 5850 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
[16566] | 5851 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 5852 |
|
---|
[23356] | 5853 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
---|
[16566] | 5854 |
|
---|
| 5855 | fi
|
---|
| 5856 |
|
---|
[23356] | 5857 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
---|
| 5858 | $as_echo_n "checking for alloca... " >&6; }
|
---|
| 5859 | if test "${ac_cv_func_alloca_works+set}" = set; then :
|
---|
| 5860 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5861 | else
|
---|
[23356] | 5862 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5863 | /* end confdefs.h. */
|
---|
| 5864 | #ifdef __GNUC__
|
---|
| 5865 | # define alloca __builtin_alloca
|
---|
| 5866 | #else
|
---|
| 5867 | # ifdef _MSC_VER
|
---|
| 5868 | # include <malloc.h>
|
---|
| 5869 | # define alloca _alloca
|
---|
| 5870 | # else
|
---|
[23356] | 5871 | # ifdef HAVE_ALLOCA_H
|
---|
[16566] | 5872 | # include <alloca.h>
|
---|
| 5873 | # else
|
---|
| 5874 | # ifdef _AIX
|
---|
| 5875 | #pragma alloca
|
---|
| 5876 | # else
|
---|
| 5877 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 5878 | char *alloca ();
|
---|
| 5879 | # endif
|
---|
| 5880 | # endif
|
---|
| 5881 | # endif
|
---|
| 5882 | # endif
|
---|
| 5883 | #endif
|
---|
| 5884 |
|
---|
| 5885 | int
|
---|
| 5886 | main ()
|
---|
| 5887 | {
|
---|
| 5888 | char *p = (char *) alloca (1);
|
---|
[23356] | 5889 | if (p) return 0;
|
---|
[16566] | 5890 | ;
|
---|
| 5891 | return 0;
|
---|
| 5892 | }
|
---|
| 5893 | _ACEOF
|
---|
[23356] | 5894 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5895 | ac_cv_func_alloca_works=yes
|
---|
| 5896 | else
|
---|
[23356] | 5897 | ac_cv_func_alloca_works=no
|
---|
[16566] | 5898 | fi
|
---|
[23356] | 5899 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5900 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5901 | fi
|
---|
[23356] | 5902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
---|
| 5903 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
[16566] | 5904 |
|
---|
| 5905 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 5906 |
|
---|
[23356] | 5907 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
---|
[16566] | 5908 |
|
---|
| 5909 | else
|
---|
| 5910 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5911 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5912 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5913 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 5914 |
|
---|
[23356] | 5915 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[16566] | 5916 |
|
---|
[23356] | 5917 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
|
---|
[16566] | 5918 |
|
---|
| 5919 |
|
---|
[23356] | 5920 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 5921 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
| 5922 | if test "${ac_cv_os_cray+set}" = set; then :
|
---|
| 5923 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5924 | else
|
---|
[23356] | 5925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5926 | /* end confdefs.h. */
|
---|
[23356] | 5927 | #if defined CRAY && ! defined CRAY2
|
---|
[16566] | 5928 | webecray
|
---|
| 5929 | #else
|
---|
| 5930 | wenotbecray
|
---|
| 5931 | #endif
|
---|
| 5932 |
|
---|
| 5933 | _ACEOF
|
---|
| 5934 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 5935 | $EGREP "webecray" >/dev/null 2>&1; then :
|
---|
[16566] | 5936 | ac_cv_os_cray=yes
|
---|
| 5937 | else
|
---|
| 5938 | ac_cv_os_cray=no
|
---|
| 5939 | fi
|
---|
| 5940 | rm -f conftest*
|
---|
| 5941 |
|
---|
| 5942 | fi
|
---|
[23356] | 5943 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
---|
| 5944 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
[16566] | 5945 | if test $ac_cv_os_cray = yes; then
|
---|
| 5946 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[23356] | 5947 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5948 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 5949 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16566] | 5950 |
|
---|
| 5951 | cat >>confdefs.h <<_ACEOF
|
---|
| 5952 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 5953 | _ACEOF
|
---|
| 5954 |
|
---|
| 5955 | break
|
---|
| 5956 | fi
|
---|
| 5957 |
|
---|
| 5958 | done
|
---|
| 5959 | fi
|
---|
| 5960 |
|
---|
[23356] | 5961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
---|
| 5962 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
| 5963 | if test "${ac_cv_c_stack_direction+set}" = set; then :
|
---|
| 5964 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5965 | else
|
---|
[23356] | 5966 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 5967 | ac_cv_c_stack_direction=0
|
---|
| 5968 | else
|
---|
[23356] | 5969 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5970 | /* end confdefs.h. */
|
---|
[23356] | 5971 | $ac_includes_default
|
---|
[16566] | 5972 | int
|
---|
| 5973 | find_stack_direction ()
|
---|
| 5974 | {
|
---|
| 5975 | static char *addr = 0;
|
---|
| 5976 | auto char dummy;
|
---|
| 5977 | if (addr == 0)
|
---|
| 5978 | {
|
---|
| 5979 | addr = &dummy;
|
---|
| 5980 | return find_stack_direction ();
|
---|
| 5981 | }
|
---|
| 5982 | else
|
---|
| 5983 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5984 | }
|
---|
| 5985 |
|
---|
| 5986 | int
|
---|
| 5987 | main ()
|
---|
| 5988 | {
|
---|
[23356] | 5989 | return find_stack_direction () < 0;
|
---|
[16566] | 5990 | }
|
---|
| 5991 | _ACEOF
|
---|
[23356] | 5992 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
[16566] | 5993 | ac_cv_c_stack_direction=1
|
---|
| 5994 | else
|
---|
[23356] | 5995 | ac_cv_c_stack_direction=-1
|
---|
[16566] | 5996 | fi
|
---|
[23356] | 5997 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5998 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 5999 | fi
|
---|
[23356] | 6000 |
|
---|
[16566] | 6001 | fi
|
---|
[23356] | 6002 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
---|
| 6003 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
[16566] | 6004 | cat >>confdefs.h <<_ACEOF
|
---|
| 6005 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 6006 | _ACEOF
|
---|
| 6007 |
|
---|
| 6008 |
|
---|
| 6009 | fi
|
---|
| 6010 |
|
---|
| 6011 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[23356] | 6012 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
---|
| 6013 | $as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
---|
| 6014 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
|
---|
| 6015 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6016 | else
|
---|
| 6017 | ac_pattern="Autoconf.*'x'"
|
---|
[23356] | 6018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6019 | /* end confdefs.h. */
|
---|
| 6020 | #include <sgtty.h>
|
---|
| 6021 | Autoconf TIOCGETP
|
---|
| 6022 | _ACEOF
|
---|
| 6023 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 6024 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16566] | 6025 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6026 | else
|
---|
| 6027 | ac_cv_prog_gcc_traditional=no
|
---|
| 6028 | fi
|
---|
| 6029 | rm -f conftest*
|
---|
| 6030 |
|
---|
| 6031 |
|
---|
| 6032 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[23356] | 6033 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6034 | /* end confdefs.h. */
|
---|
| 6035 | #include <termio.h>
|
---|
| 6036 | Autoconf TCGETA
|
---|
| 6037 | _ACEOF
|
---|
| 6038 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[23356] | 6039 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16566] | 6040 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6041 | fi
|
---|
| 6042 | rm -f conftest*
|
---|
| 6043 |
|
---|
| 6044 | fi
|
---|
| 6045 | fi
|
---|
[23356] | 6046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 6047 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[16566] | 6048 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 6049 | CC="$CC -traditional"
|
---|
| 6050 | fi
|
---|
| 6051 | fi
|
---|
| 6052 |
|
---|
[23356] | 6053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
---|
| 6054 | $as_echo_n "checking return type of signal handlers... " >&6; }
|
---|
| 6055 | if test "${ac_cv_type_signal+set}" = set; then :
|
---|
| 6056 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6057 | else
|
---|
[23356] | 6058 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6059 | /* end confdefs.h. */
|
---|
| 6060 | #include <sys/types.h>
|
---|
| 6061 | #include <signal.h>
|
---|
| 6062 |
|
---|
| 6063 | int
|
---|
| 6064 | main ()
|
---|
| 6065 | {
|
---|
[23356] | 6066 | return *(signal (0, 0)) (0) == 1;
|
---|
[16566] | 6067 | ;
|
---|
| 6068 | return 0;
|
---|
| 6069 | }
|
---|
| 6070 | _ACEOF
|
---|
[23356] | 6071 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 6072 | ac_cv_type_signal=int
|
---|
| 6073 | else
|
---|
[21327] | 6074 | ac_cv_type_signal=void
|
---|
[16566] | 6075 | fi
|
---|
[23356] | 6076 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6077 | fi
|
---|
[23356] | 6078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
---|
| 6079 | $as_echo "$ac_cv_type_signal" >&6; }
|
---|
[16566] | 6080 |
|
---|
| 6081 | cat >>confdefs.h <<_ACEOF
|
---|
| 6082 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 6083 | _ACEOF
|
---|
| 6084 |
|
---|
| 6085 |
|
---|
| 6086 | for ac_func in vprintf
|
---|
[23356] | 6087 | do :
|
---|
| 6088 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
---|
| 6089 | if test "x$ac_cv_func_vprintf" = x""yes; then :
|
---|
[16566] | 6090 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6091 | #define HAVE_VPRINTF 1
|
---|
[16566] | 6092 | _ACEOF
|
---|
| 6093 |
|
---|
[23356] | 6094 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
---|
| 6095 | if test "x$ac_cv_func__doprnt" = x""yes; then :
|
---|
[16566] | 6096 |
|
---|
[23356] | 6097 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
---|
[16566] | 6098 |
|
---|
| 6099 | fi
|
---|
| 6100 |
|
---|
| 6101 | fi
|
---|
| 6102 | done
|
---|
| 6103 |
|
---|
| 6104 |
|
---|
| 6105 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[23356] | 6106 | do :
|
---|
| 6107 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6108 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 6109 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16566] | 6110 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6111 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16566] | 6112 | _ACEOF
|
---|
| 6113 |
|
---|
| 6114 | fi
|
---|
| 6115 | done
|
---|
| 6116 |
|
---|
[23356] | 6117 | ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
|
---|
| 6118 | if test "x$ac_cv_func_ftruncate" = x""yes; then :
|
---|
| 6119 | $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
|
---|
[16566] | 6120 |
|
---|
| 6121 | else
|
---|
[23356] | 6122 | case " $LIBOBJS " in
|
---|
| 6123 | *" ftruncate.$ac_objext "* ) ;;
|
---|
| 6124 | *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
|
---|
| 6125 | ;;
|
---|
| 6126 | esac
|
---|
[16566] | 6127 |
|
---|
[23356] | 6128 | fi
|
---|
[16566] | 6129 |
|
---|
[23356] | 6130 | ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
|
---|
| 6131 | if test "x$ac_cv_func_strstr" = x""yes; then :
|
---|
| 6132 | $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
|
---|
[16566] | 6133 |
|
---|
| 6134 | else
|
---|
[23356] | 6135 | case " $LIBOBJS " in
|
---|
| 6136 | *" strstr.$ac_objext "* ) ;;
|
---|
| 6137 | *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
|
---|
| 6138 | ;;
|
---|
| 6139 | esac
|
---|
[16566] | 6140 |
|
---|
| 6141 | fi
|
---|
| 6142 |
|
---|
[23356] | 6143 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
|
---|
| 6144 | if test "x$ac_cv_func_strcasecmp" = x""yes; then :
|
---|
| 6145 | $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
|
---|
| 6146 |
|
---|
[16566] | 6147 | else
|
---|
[23356] | 6148 | case " $LIBOBJS " in
|
---|
| 6149 | *" strcasecmp.$ac_objext "* ) ;;
|
---|
| 6150 | *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
|
---|
| 6151 | ;;
|
---|
[16566] | 6152 | esac
|
---|
| 6153 |
|
---|
| 6154 | fi
|
---|
| 6155 |
|
---|
| 6156 |
|
---|
| 6157 |
|
---|
[23356] | 6158 | ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
|
---|
| 6159 | if test "x$ac_cv_func_textdomain" = x""yes; then :
|
---|
| 6160 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
---|
[16566] | 6161 |
|
---|
| 6162 | fi
|
---|
| 6163 |
|
---|
| 6164 |
|
---|
| 6165 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6166 | # ---------------------------------------------------------------------------
|
---|
[23356] | 6167 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
|
---|
| 6168 | $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
|
---|
[16566] | 6169 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[23356] | 6170 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 6171 | $as_echo "yes" >&6; }
|
---|
| 6172 | case " $LIBOBJS " in
|
---|
[16566] | 6173 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[23356] | 6174 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 6175 | ;;
|
---|
[16566] | 6176 | esac
|
---|
| 6177 |
|
---|
[23356] | 6178 | $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
|
---|
[16566] | 6179 |
|
---|
| 6180 | else
|
---|
[23356] | 6181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6182 | $as_echo "no" >&6; }
|
---|
| 6183 | for ac_func in valloc
|
---|
| 6184 | do :
|
---|
| 6185 | ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
|
---|
| 6186 | if test "x$ac_cv_func_valloc" = x""yes; then :
|
---|
[16566] | 6187 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6188 | #define HAVE_VALLOC 1
|
---|
[16566] | 6189 | _ACEOF
|
---|
| 6190 |
|
---|
| 6191 | fi
|
---|
| 6192 | done
|
---|
| 6193 |
|
---|
| 6194 | fi
|
---|
| 6195 |
|
---|
| 6196 | # we cannot generate static libraries under Darwin
|
---|
[23356] | 6197 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
|
---|
| 6198 | $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
|
---|
[16566] | 6199 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[23356] | 6200 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 6201 | $as_echo "yes" >&6; }
|
---|
[16566] | 6202 | STATIC=""
|
---|
| 6203 | else
|
---|
[23356] | 6204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6205 | $as_echo "no" >&6; }
|
---|
[16566] | 6206 | STATIC="-static "
|
---|
| 6207 | fi
|
---|
| 6208 |
|
---|
| 6209 |
|
---|
[23356] | 6210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
|
---|
| 6211 | $as_echo_n "checking if malloc debugging is wanted... " >&6; }
|
---|
[16566] | 6212 |
|
---|
[23356] | 6213 | # Check whether --with-dmalloc was given.
|
---|
| 6214 | if test "${with_dmalloc+set}" = set; then :
|
---|
| 6215 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
| 6216 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 6217 | $as_echo "yes" >&6; }
|
---|
| 6218 | $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
|
---|
[16566] | 6219 |
|
---|
| 6220 | LIBS="$LIBS -ldmalloc"
|
---|
| 6221 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6222 | else
|
---|
[23356] | 6223 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6224 | $as_echo "no" >&6; }
|
---|
[16566] | 6225 | fi
|
---|
| 6226 | else
|
---|
[23356] | 6227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 6228 | $as_echo "no" >&6; }
|
---|
| 6229 | fi
|
---|
[16566] | 6230 |
|
---|
| 6231 |
|
---|
[23356] | 6232 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
|
---|
| 6233 | $as_echo_n "checking which of rx or regex is wanted... " >&6; }
|
---|
| 6234 |
|
---|
| 6235 | # Check whether --with-regex was given.
|
---|
| 6236 | if test "${with_regex+set}" = set; then :
|
---|
| 6237 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[16566] | 6238 | ac_with_regex=1
|
---|
[23356] | 6239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
|
---|
| 6240 | $as_echo "regex" >&6; }
|
---|
| 6241 | $as_echo "#define WITH_REGEX 1" >>confdefs.h
|
---|
[16566] | 6242 |
|
---|
[23356] | 6243 | case " $LIBOBJS " in
|
---|
[16566] | 6244 | *" regex.$ac_objext "* ) ;;
|
---|
[23356] | 6245 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 6246 | ;;
|
---|
[16566] | 6247 | esac
|
---|
| 6248 |
|
---|
| 6249 | fi
|
---|
[23356] | 6250 | fi
|
---|
| 6251 |
|
---|
[16566] | 6252 | if test -z "$ac_with_regex"; then
|
---|
[23356] | 6253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
|
---|
| 6254 | $as_echo "rx" >&6; }
|
---|
| 6255 | ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
|
---|
| 6256 | if test "x$ac_cv_func_re_rx_search" = x""yes; then :
|
---|
[16566] | 6257 |
|
---|
| 6258 | else
|
---|
[23356] | 6259 | case " $LIBOBJS " in
|
---|
[16566] | 6260 | *" rx.$ac_objext "* ) ;;
|
---|
[23356] | 6261 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 6262 | ;;
|
---|
[16566] | 6263 | esac
|
---|
| 6264 |
|
---|
| 6265 | fi
|
---|
| 6266 |
|
---|
| 6267 | fi
|
---|
| 6268 |
|
---|
| 6269 |
|
---|
| 6270 | # ---------------------------------------------------------------------------
|
---|
| 6271 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[23356] | 6272 | case " $LIBOBJS " in
|
---|
[16566] | 6273 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[23356] | 6274 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 6275 | ;;
|
---|
[16566] | 6276 | esac
|
---|
| 6277 |
|
---|
[23356] | 6278 | case " $LIBOBJS " in
|
---|
[16566] | 6279 | *" error.$ac_objext "* ) ;;
|
---|
[23356] | 6280 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6281 | ;;
|
---|
[16566] | 6282 | esac
|
---|
| 6283 |
|
---|
| 6284 | fi
|
---|
| 6285 |
|
---|
| 6286 |
|
---|
| 6287 | # ---------------------------------------------------------------------------
|
---|
| 6288 |
|
---|
[23356] | 6289 | ac_ext=cpp
|
---|
[16566] | 6290 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 6291 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 6292 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 6293 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 6294 |
|
---|
| 6295 |
|
---|
| 6296 | success=no
|
---|
[23356] | 6297 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
|
---|
| 6298 | $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
|
---|
[16566] | 6299 |
|
---|
[18214] | 6300 |
|
---|
[23356] | 6301 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6302 | /* end confdefs.h. */
|
---|
| 6303 | #include <vector>
|
---|
| 6304 |
|
---|
| 6305 | int
|
---|
| 6306 | main ()
|
---|
| 6307 | {
|
---|
| 6308 |
|
---|
| 6309 | ;
|
---|
| 6310 | return 0;
|
---|
| 6311 | }
|
---|
| 6312 | _ACEOF
|
---|
[23356] | 6313 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6314 | success=yes
|
---|
| 6315 | fi
|
---|
[23356] | 6316 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6317 |
|
---|
| 6318 | if test $success = "no"; then
|
---|
[23356] | 6319 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6320 | /* end confdefs.h. */
|
---|
| 6321 | #include <vector.h>
|
---|
| 6322 |
|
---|
| 6323 | int
|
---|
| 6324 | main ()
|
---|
| 6325 | {
|
---|
| 6326 |
|
---|
| 6327 | ;
|
---|
| 6328 | return 0;
|
---|
| 6329 | }
|
---|
| 6330 | _ACEOF
|
---|
[23356] | 6331 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6332 | success="yes"
|
---|
| 6333 | fi
|
---|
[23356] | 6334 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6335 | fi
|
---|
| 6336 |
|
---|
| 6337 | if test $success = "no"; then
|
---|
[23356] | 6338 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6339 | /* end confdefs.h. */
|
---|
| 6340 | #include <ospace\\std\\vector>
|
---|
| 6341 |
|
---|
| 6342 | int
|
---|
| 6343 | main ()
|
---|
| 6344 | {
|
---|
| 6345 |
|
---|
| 6346 | ;
|
---|
| 6347 | return 0;
|
---|
| 6348 | }
|
---|
| 6349 | _ACEOF
|
---|
[23356] | 6350 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6351 | success="yes"
|
---|
| 6352 | fi
|
---|
[23356] | 6353 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6354 | fi
|
---|
| 6355 |
|
---|
| 6356 | if test $success = yes; then
|
---|
[23356] | 6357 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
| 6358 | $as_echo "\"no\"" >&6; }
|
---|
[16566] | 6359 | else
|
---|
[23356] | 6360 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
| 6361 | $as_echo "\"yes\"" >&6; }
|
---|
| 6362 | as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
|
---|
[16566] | 6363 | fi
|
---|
| 6364 |
|
---|
| 6365 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
| 6366 | # check for running bash under cygwin
|
---|
| 6367 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 6368 | then
|
---|
| 6369 | gsdlos=windows
|
---|
| 6370 | fi
|
---|
| 6371 |
|
---|
| 6372 |
|
---|
| 6373 | # check for endianness
|
---|
[23356] | 6374 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
---|
| 6375 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
---|
| 6376 | if test "${ac_cv_c_bigendian+set}" = set; then :
|
---|
| 6377 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6378 | else
|
---|
[23356] | 6379 | ac_cv_c_bigendian=unknown
|
---|
| 6380 | # See if we're dealing with a universal compiler.
|
---|
| 6381 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6382 | /* end confdefs.h. */
|
---|
| 6383 | #ifndef __APPLE_CC__
|
---|
| 6384 | not a universal capable compiler
|
---|
| 6385 | #endif
|
---|
| 6386 | typedef int dummy;
|
---|
| 6387 |
|
---|
[16566] | 6388 | _ACEOF
|
---|
[23356] | 6389 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6390 |
|
---|
| 6391 | # Check for potential -arch flags. It is not universal unless
|
---|
| 6392 | # there are at least two -arch flags with different values.
|
---|
| 6393 | ac_arch=
|
---|
| 6394 | ac_prev=
|
---|
| 6395 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
---|
| 6396 | if test -n "$ac_prev"; then
|
---|
| 6397 | case $ac_word in
|
---|
| 6398 | i?86 | x86_64 | ppc | ppc64)
|
---|
| 6399 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
---|
| 6400 | ac_arch=$ac_word
|
---|
| 6401 | else
|
---|
| 6402 | ac_cv_c_bigendian=universal
|
---|
| 6403 | break
|
---|
| 6404 | fi
|
---|
| 6405 | ;;
|
---|
| 6406 | esac
|
---|
| 6407 | ac_prev=
|
---|
| 6408 | elif test "x$ac_word" = "x-arch"; then
|
---|
| 6409 | ac_prev=arch
|
---|
| 6410 | fi
|
---|
| 6411 | done
|
---|
| 6412 | fi
|
---|
| 6413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6414 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6415 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
| 6416 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6417 | /* end confdefs.h. */
|
---|
| 6418 | #include <sys/types.h>
|
---|
[23356] | 6419 | #include <sys/param.h>
|
---|
[16566] | 6420 |
|
---|
| 6421 | int
|
---|
| 6422 | main ()
|
---|
| 6423 | {
|
---|
[23356] | 6424 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
---|
| 6425 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
---|
| 6426 | && LITTLE_ENDIAN)
|
---|
| 6427 | bogus endian macros
|
---|
| 6428 | #endif
|
---|
[16566] | 6429 |
|
---|
| 6430 | ;
|
---|
| 6431 | return 0;
|
---|
| 6432 | }
|
---|
| 6433 | _ACEOF
|
---|
[23356] | 6434 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6435 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[23356] | 6436 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6437 | /* end confdefs.h. */
|
---|
| 6438 | #include <sys/types.h>
|
---|
[23356] | 6439 | #include <sys/param.h>
|
---|
[16566] | 6440 |
|
---|
| 6441 | int
|
---|
| 6442 | main ()
|
---|
| 6443 | {
|
---|
| 6444 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[23356] | 6445 | not big endian
|
---|
| 6446 | #endif
|
---|
[16566] | 6447 |
|
---|
| 6448 | ;
|
---|
| 6449 | return 0;
|
---|
| 6450 | }
|
---|
| 6451 | _ACEOF
|
---|
[23356] | 6452 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6453 | ac_cv_c_bigendian=yes
|
---|
| 6454 | else
|
---|
[23356] | 6455 | ac_cv_c_bigendian=no
|
---|
[16566] | 6456 | fi
|
---|
[23356] | 6457 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6458 | fi
|
---|
| 6459 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6460 | fi
|
---|
| 6461 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6462 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
---|
| 6463 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6464 | /* end confdefs.h. */
|
---|
| 6465 | #include <limits.h>
|
---|
[16566] | 6466 |
|
---|
[23356] | 6467 | int
|
---|
| 6468 | main ()
|
---|
| 6469 | {
|
---|
| 6470 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
---|
| 6471 | bogus endian macros
|
---|
| 6472 | #endif
|
---|
| 6473 |
|
---|
| 6474 | ;
|
---|
| 6475 | return 0;
|
---|
| 6476 | }
|
---|
[16566] | 6477 | _ACEOF
|
---|
[23356] | 6478 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6479 | # It does; now see whether it defined to _BIG_ENDIAN or not.
|
---|
| 6480 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6481 | /* end confdefs.h. */
|
---|
[23356] | 6482 | #include <limits.h>
|
---|
| 6483 |
|
---|
[16566] | 6484 | int
|
---|
| 6485 | main ()
|
---|
| 6486 | {
|
---|
[23356] | 6487 | #ifndef _BIG_ENDIAN
|
---|
| 6488 | not big endian
|
---|
| 6489 | #endif
|
---|
| 6490 |
|
---|
[16566] | 6491 | ;
|
---|
| 6492 | return 0;
|
---|
| 6493 | }
|
---|
| 6494 | _ACEOF
|
---|
[23356] | 6495 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6496 | ac_cv_c_bigendian=yes
|
---|
[23356] | 6497 | else
|
---|
| 6498 | ac_cv_c_bigendian=no
|
---|
[16566] | 6499 | fi
|
---|
[23356] | 6500 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6501 | fi
|
---|
[23356] | 6502 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6503 | fi
|
---|
| 6504 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6505 | # Compile a test program.
|
---|
| 6506 | if test "$cross_compiling" = yes; then :
|
---|
| 6507 | # Try to guess by grepping values from an object file.
|
---|
| 6508 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6509 | /* end confdefs.h. */
|
---|
| 6510 | short int ascii_mm[] =
|
---|
| 6511 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 6512 | short int ascii_ii[] =
|
---|
| 6513 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 6514 | int use_ascii (int i) {
|
---|
| 6515 | return ascii_mm[i] + ascii_ii[i];
|
---|
| 6516 | }
|
---|
| 6517 | short int ebcdic_ii[] =
|
---|
| 6518 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 6519 | short int ebcdic_mm[] =
|
---|
| 6520 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 6521 | int use_ebcdic (int i) {
|
---|
| 6522 | return ebcdic_mm[i] + ebcdic_ii[i];
|
---|
| 6523 | }
|
---|
| 6524 | extern int foo;
|
---|
[16566] | 6525 |
|
---|
[23356] | 6526 | int
|
---|
| 6527 | main ()
|
---|
| 6528 | {
|
---|
| 6529 | return use_ascii (foo) == use_ebcdic (foo);
|
---|
| 6530 | ;
|
---|
| 6531 | return 0;
|
---|
| 6532 | }
|
---|
| 6533 | _ACEOF
|
---|
| 6534 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6535 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
---|
| 6536 | ac_cv_c_bigendian=yes
|
---|
| 6537 | fi
|
---|
| 6538 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 6539 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 6540 | ac_cv_c_bigendian=no
|
---|
| 6541 | else
|
---|
| 6542 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 6543 | ac_cv_c_bigendian=unknown
|
---|
| 6544 | fi
|
---|
| 6545 | fi
|
---|
[16566] | 6546 | fi
|
---|
[23356] | 6547 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6548 | else
|
---|
[23356] | 6549 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6550 | /* end confdefs.h. */
|
---|
[23356] | 6551 | $ac_includes_default
|
---|
[16566] | 6552 | int
|
---|
| 6553 | main ()
|
---|
| 6554 | {
|
---|
[23356] | 6555 |
|
---|
| 6556 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 6557 | union
|
---|
| 6558 | {
|
---|
| 6559 | long int l;
|
---|
| 6560 | char c[sizeof (long int)];
|
---|
| 6561 | } u;
|
---|
| 6562 | u.l = 1;
|
---|
| 6563 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 6564 |
|
---|
| 6565 | ;
|
---|
| 6566 | return 0;
|
---|
[16566] | 6567 | }
|
---|
| 6568 | _ACEOF
|
---|
[23356] | 6569 | if ac_fn_cxx_try_run "$LINENO"; then :
|
---|
[16566] | 6570 | ac_cv_c_bigendian=no
|
---|
| 6571 | else
|
---|
[23356] | 6572 | ac_cv_c_bigendian=yes
|
---|
[16566] | 6573 | fi
|
---|
[23356] | 6574 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6575 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 6576 | fi
|
---|
[23356] | 6577 |
|
---|
| 6578 | fi
|
---|
[16566] | 6579 | fi
|
---|
[23356] | 6580 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
---|
| 6581 | $as_echo "$ac_cv_c_bigendian" >&6; }
|
---|
| 6582 | case $ac_cv_c_bigendian in #(
|
---|
| 6583 | yes)
|
---|
| 6584 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
---|
| 6585 | ;; #(
|
---|
| 6586 | no)
|
---|
| 6587 | ;; #(
|
---|
| 6588 | universal)
|
---|
[16566] | 6589 |
|
---|
[23356] | 6590 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
---|
[16566] | 6591 |
|
---|
[23356] | 6592 | ;; #(
|
---|
| 6593 | *)
|
---|
| 6594 | as_fn_error $? "unknown endianness
|
---|
| 6595 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
---|
| 6596 | esac
|
---|
| 6597 |
|
---|
[16566] | 6598 | # ---------------------------------------------------------------------------
|
---|
| 6599 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[23356] | 6600 | case " $LIBOBJS " in
|
---|
[16566] | 6601 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[23356] | 6602 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 6603 | ;;
|
---|
[16566] | 6604 | esac
|
---|
| 6605 |
|
---|
[23356] | 6606 | case " $LIBOBJS " in
|
---|
[16566] | 6607 | *" error.$ac_objext "* ) ;;
|
---|
[23356] | 6608 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6609 | ;;
|
---|
[16566] | 6610 | esac
|
---|
| 6611 |
|
---|
| 6612 | fi
|
---|
| 6613 |
|
---|
| 6614 | # ---------------------------------------------------------------------------
|
---|
| 6615 |
|
---|
| 6616 |
|
---|
| 6617 | moduleDirs=""
|
---|
| 6618 | MODULEDIRS=""
|
---|
[16593] | 6619 | if test -d modules ; then
|
---|
[16566] | 6620 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 6621 | if test -d "$x"; then
|
---|
| 6622 | d="$x/Makefile.in"
|
---|
| 6623 | if test -e "$d"; then
|
---|
| 6624 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 6625 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 6626 | fi
|
---|
| 6627 | fi
|
---|
| 6628 | done
|
---|
| 6629 | echo "Making $moduleDirs in modules directory"
|
---|
| 6630 |
|
---|
| 6631 | fi
|
---|
| 6632 |
|
---|
| 6633 |
|
---|
| 6634 | # ---------------------------------------------------------------------------
|
---|
| 6635 |
|
---|
[21327] | 6636 |
|
---|
| 6637 |
|
---|
[20832] | 6638 | subdirs="$subdirs packages"
|
---|
[16566] | 6639 |
|
---|
| 6640 |
|
---|
[20832] | 6641 | commonsrcprefix=`pwd`
|
---|
| 6642 | ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv"
|
---|
| 6643 | subdirs="$subdirs indexers"
|
---|
| 6644 |
|
---|
| 6645 |
|
---|
[16566] | 6646 | # the list of folders in the src folder
|
---|
| 6647 | srclist="src/lib/Makefile \
|
---|
| 6648 | src/gdbmedit/db2txt/Makefile \
|
---|
| 6649 | src/gdbmedit/txt2db/Makefile \
|
---|
| 6650 | src/gdbmedit/gdbmget/Makefile \
|
---|
| 6651 | src/gdbmedit/gdbmset/Makefile \
|
---|
[20832] | 6652 | src/gdbmedit/gdbmkeys/Makefile \
|
---|
| 6653 | src/gdbmedit/gdbmdel/Makefile \
|
---|
[23356] | 6654 | src/getpw/Makefile \
|
---|
| 6655 | src/jdbmedit/Makefile"
|
---|
[16566] | 6656 |
|
---|
[23356] | 6657 | ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
|
---|
| 6658 |
|
---|
[16566] | 6659 | cat >confcache <<\_ACEOF
|
---|
| 6660 | # This file is a shell script that caches the results of configure
|
---|
| 6661 | # tests run on this system so they can be shared between configure
|
---|
| 6662 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 6663 | # It is not useful on other systems. If it contains results you don't
|
---|
| 6664 | # want to keep, you may remove or edit it.
|
---|
| 6665 | #
|
---|
| 6666 | # config.status only pays attention to the cache file if you give it
|
---|
| 6667 | # the --recheck option to rerun configure.
|
---|
| 6668 | #
|
---|
| 6669 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6670 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6671 | # following values.
|
---|
| 6672 |
|
---|
| 6673 | _ACEOF
|
---|
| 6674 |
|
---|
| 6675 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6676 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[23356] | 6677 | # So, we kill variables containing newlines.
|
---|
[16566] | 6678 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6679 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[23356] | 6680 | (
|
---|
| 6681 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 6682 | eval ac_val=\$$ac_var
|
---|
| 6683 | case $ac_val in #(
|
---|
| 6684 | *${as_nl}*)
|
---|
| 6685 | case $ac_var in #(
|
---|
| 6686 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 6687 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 6688 | esac
|
---|
| 6689 | case $ac_var in #(
|
---|
| 6690 | _ | IFS | as_nl) ;; #(
|
---|
| 6691 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 6692 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 6693 | esac ;;
|
---|
| 6694 | esac
|
---|
| 6695 | done
|
---|
| 6696 |
|
---|
[16566] | 6697 | (set) 2>&1 |
|
---|
[23356] | 6698 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 6699 | *${as_nl}ac_space=\ *)
|
---|
| 6700 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 6701 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
[16566] | 6702 | sed -n \
|
---|
| 6703 | "s/'/'\\\\''/g;
|
---|
| 6704 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[23356] | 6705 | ;; #(
|
---|
[16566] | 6706 | *)
|
---|
| 6707 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[23356] | 6708 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16566] | 6709 | ;;
|
---|
[23356] | 6710 | esac |
|
---|
| 6711 | sort
|
---|
| 6712 | ) |
|
---|
[16566] | 6713 | sed '
|
---|
[23356] | 6714 | /^ac_cv_env_/b end
|
---|
[16566] | 6715 | t clear
|
---|
[23356] | 6716 | :clear
|
---|
[16566] | 6717 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6718 | t end
|
---|
[23356] | 6719 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6720 | :end' >>confcache
|
---|
| 6721 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 6722 | if test -w "$cache_file"; then
|
---|
| 6723 | test "x$cache_file" != "x/dev/null" &&
|
---|
| 6724 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
| 6725 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[16566] | 6726 | cat confcache >$cache_file
|
---|
| 6727 | else
|
---|
[23356] | 6728 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
| 6729 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[16566] | 6730 | fi
|
---|
| 6731 | fi
|
---|
| 6732 | rm -f confcache
|
---|
| 6733 |
|
---|
| 6734 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6735 | # Let make expand exec_prefix.
|
---|
| 6736 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6737 |
|
---|
| 6738 | DEFS=-DHAVE_CONFIG_H
|
---|
| 6739 |
|
---|
| 6740 | ac_libobjs=
|
---|
| 6741 | ac_ltlibobjs=
|
---|
[23356] | 6742 | U=
|
---|
[16566] | 6743 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6744 | # 1. Remove the extension, and $U if already installed.
|
---|
[23356] | 6745 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 6746 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 6747 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 6748 | # will be set to the directory where LIBOBJS objects are built.
|
---|
| 6749 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 6750 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[16566] | 6751 | done
|
---|
| 6752 | LIBOBJS=$ac_libobjs
|
---|
| 6753 |
|
---|
| 6754 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6755 |
|
---|
| 6756 |
|
---|
| 6757 |
|
---|
[23356] | 6758 |
|
---|
[16566] | 6759 | : ${CONFIG_STATUS=./config.status}
|
---|
[23356] | 6760 | ac_write_fail=0
|
---|
[16566] | 6761 | ac_clean_files_save=$ac_clean_files
|
---|
| 6762 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[23356] | 6763 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
| 6764 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 6765 | as_write_fail=0
|
---|
| 6766 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
[16566] | 6767 | #! $SHELL
|
---|
| 6768 | # Generated by $as_me.
|
---|
| 6769 | # Run this file to recreate the current configuration.
|
---|
| 6770 | # Compiler output produced by configure, useful for debugging
|
---|
| 6771 | # configure, is in config.log if it exists.
|
---|
| 6772 |
|
---|
| 6773 | debug=false
|
---|
| 6774 | ac_cs_recheck=false
|
---|
| 6775 | ac_cs_silent=false
|
---|
[23356] | 6776 |
|
---|
[16566] | 6777 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[23356] | 6778 | export SHELL
|
---|
| 6779 | _ASEOF
|
---|
| 6780 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 6781 | ## -------------------- ##
|
---|
| 6782 | ## M4sh Initialization. ##
|
---|
| 6783 | ## -------------------- ##
|
---|
[16566] | 6784 |
|
---|
[23356] | 6785 | # Be more Bourne compatible
|
---|
| 6786 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 6787 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16566] | 6788 | emulate sh
|
---|
| 6789 | NULLCMD=:
|
---|
[23356] | 6790 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16566] | 6791 | # is contrary to our usage. Disable this feature.
|
---|
| 6792 | alias -g '${1+"$@"}'='"$@"'
|
---|
[23356] | 6793 | setopt NO_GLOB_SUBST
|
---|
| 6794 | else
|
---|
| 6795 | case `(set -o) 2>/dev/null` in #(
|
---|
| 6796 | *posix*) :
|
---|
| 6797 | set -o posix ;; #(
|
---|
| 6798 | *) :
|
---|
| 6799 | ;;
|
---|
| 6800 | esac
|
---|
[16566] | 6801 | fi
|
---|
| 6802 |
|
---|
[23356] | 6803 |
|
---|
| 6804 | as_nl='
|
---|
| 6805 | '
|
---|
| 6806 | export as_nl
|
---|
| 6807 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 6808 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 6809 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6810 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6811 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 6812 | # but without wasting forks for bash or zsh.
|
---|
| 6813 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 6814 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6815 | as_echo='print -r --'
|
---|
| 6816 | as_echo_n='print -rn --'
|
---|
| 6817 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6818 | as_echo='printf %s\n'
|
---|
| 6819 | as_echo_n='printf %s'
|
---|
[16566] | 6820 | else
|
---|
[23356] | 6821 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 6822 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 6823 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 6824 | else
|
---|
| 6825 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 6826 | as_echo_n_body='eval
|
---|
| 6827 | arg=$1;
|
---|
| 6828 | case $arg in #(
|
---|
| 6829 | *"$as_nl"*)
|
---|
| 6830 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 6831 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 6832 | esac;
|
---|
| 6833 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 6834 | '
|
---|
| 6835 | export as_echo_n_body
|
---|
| 6836 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 6837 | fi
|
---|
| 6838 | export as_echo_body
|
---|
| 6839 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[16566] | 6840 | fi
|
---|
| 6841 |
|
---|
[23356] | 6842 | # The user is always right.
|
---|
| 6843 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6844 | PATH_SEPARATOR=:
|
---|
| 6845 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 6846 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 6847 | PATH_SEPARATOR=';'
|
---|
| 6848 | }
|
---|
| 6849 | fi
|
---|
[16566] | 6850 |
|
---|
[23356] | 6851 |
|
---|
| 6852 | # IFS
|
---|
| 6853 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 6854 | # there to prevent editors from complaining about space-tab.
|
---|
| 6855 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 6856 | # splitting by setting IFS to empty value.)
|
---|
| 6857 | IFS=" "" $as_nl"
|
---|
| 6858 |
|
---|
| 6859 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 6860 | case $0 in #((
|
---|
| 6861 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6862 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6863 | for as_dir in $PATH
|
---|
| 6864 | do
|
---|
| 6865 | IFS=$as_save_IFS
|
---|
| 6866 | test -z "$as_dir" && as_dir=.
|
---|
| 6867 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6868 | done
|
---|
| 6869 | IFS=$as_save_IFS
|
---|
| 6870 |
|
---|
| 6871 | ;;
|
---|
| 6872 | esac
|
---|
| 6873 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6874 | # in which case we are not to be found in the path.
|
---|
| 6875 | if test "x$as_myself" = x; then
|
---|
| 6876 | as_myself=$0
|
---|
| 6877 | fi
|
---|
| 6878 | if test ! -f "$as_myself"; then
|
---|
| 6879 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 6880 | exit 1
|
---|
| 6881 | fi
|
---|
| 6882 |
|
---|
| 6883 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 6884 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 6885 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 6886 | # trigger a bug in pdksh 5.2.14.
|
---|
| 6887 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 6888 | do eval test x\${$as_var+set} = xset \
|
---|
| 6889 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 6890 | done
|
---|
[16566] | 6891 | PS1='$ '
|
---|
| 6892 | PS2='> '
|
---|
| 6893 | PS4='+ '
|
---|
| 6894 |
|
---|
| 6895 | # NLS nuisances.
|
---|
[23356] | 6896 | LC_ALL=C
|
---|
| 6897 | export LC_ALL
|
---|
| 6898 | LANGUAGE=C
|
---|
| 6899 | export LANGUAGE
|
---|
| 6900 |
|
---|
| 6901 | # CDPATH.
|
---|
| 6902 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 6903 |
|
---|
| 6904 |
|
---|
| 6905 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 6906 | # ----------------------------------------
|
---|
| 6907 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 6908 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 6909 | # script with STATUS, using 1 if that was 0.
|
---|
| 6910 | as_fn_error ()
|
---|
| 6911 | {
|
---|
| 6912 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 6913 | if test "$4"; then
|
---|
| 6914 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 6915 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
[16566] | 6916 | fi
|
---|
[23356] | 6917 | $as_echo "$as_me: error: $2" >&2
|
---|
| 6918 | as_fn_exit $as_status
|
---|
| 6919 | } # as_fn_error
|
---|
[16566] | 6920 |
|
---|
[23356] | 6921 |
|
---|
| 6922 | # as_fn_set_status STATUS
|
---|
| 6923 | # -----------------------
|
---|
| 6924 | # Set $? to STATUS, without forking.
|
---|
| 6925 | as_fn_set_status ()
|
---|
| 6926 | {
|
---|
| 6927 | return $1
|
---|
| 6928 | } # as_fn_set_status
|
---|
| 6929 |
|
---|
| 6930 | # as_fn_exit STATUS
|
---|
| 6931 | # -----------------
|
---|
| 6932 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 6933 | as_fn_exit ()
|
---|
| 6934 | {
|
---|
| 6935 | set +e
|
---|
| 6936 | as_fn_set_status $1
|
---|
| 6937 | exit $1
|
---|
| 6938 | } # as_fn_exit
|
---|
| 6939 |
|
---|
| 6940 | # as_fn_unset VAR
|
---|
| 6941 | # ---------------
|
---|
| 6942 | # Portably unset VAR.
|
---|
| 6943 | as_fn_unset ()
|
---|
| 6944 | {
|
---|
| 6945 | { eval $1=; unset $1;}
|
---|
| 6946 | }
|
---|
| 6947 | as_unset=as_fn_unset
|
---|
| 6948 | # as_fn_append VAR VALUE
|
---|
| 6949 | # ----------------------
|
---|
| 6950 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 6951 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 6952 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 6953 | # implementations.
|
---|
| 6954 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 6955 | eval 'as_fn_append ()
|
---|
| 6956 | {
|
---|
| 6957 | eval $1+=\$2
|
---|
| 6958 | }'
|
---|
| 6959 | else
|
---|
| 6960 | as_fn_append ()
|
---|
| 6961 | {
|
---|
| 6962 | eval $1=\$$1\$2
|
---|
| 6963 | }
|
---|
| 6964 | fi # as_fn_append
|
---|
| 6965 |
|
---|
| 6966 | # as_fn_arith ARG...
|
---|
| 6967 | # ------------------
|
---|
| 6968 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 6969 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 6970 | # must be portable across $(()) and expr.
|
---|
| 6971 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 6972 | eval 'as_fn_arith ()
|
---|
| 6973 | {
|
---|
| 6974 | as_val=$(( $* ))
|
---|
| 6975 | }'
|
---|
| 6976 | else
|
---|
| 6977 | as_fn_arith ()
|
---|
| 6978 | {
|
---|
| 6979 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 6980 | }
|
---|
| 6981 | fi # as_fn_arith
|
---|
| 6982 |
|
---|
| 6983 |
|
---|
| 6984 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 6985 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16566] | 6986 | as_expr=expr
|
---|
| 6987 | else
|
---|
| 6988 | as_expr=false
|
---|
| 6989 | fi
|
---|
| 6990 |
|
---|
[23356] | 6991 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16566] | 6992 | as_basename=basename
|
---|
| 6993 | else
|
---|
| 6994 | as_basename=false
|
---|
| 6995 | fi
|
---|
| 6996 |
|
---|
[23356] | 6997 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 6998 | as_dirname=dirname
|
---|
| 6999 | else
|
---|
| 7000 | as_dirname=false
|
---|
| 7001 | fi
|
---|
[16566] | 7002 |
|
---|
[23356] | 7003 | as_me=`$as_basename -- "$0" ||
|
---|
[16566] | 7004 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7005 | X"$0" : 'X\(//\)$' \| \
|
---|
[23356] | 7006 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7007 | $as_echo X/"$0" |
|
---|
| 7008 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 7009 | s//\1/
|
---|
| 7010 | q
|
---|
| 7011 | }
|
---|
| 7012 | /^X\/\(\/\/\)$/{
|
---|
| 7013 | s//\1/
|
---|
| 7014 | q
|
---|
| 7015 | }
|
---|
| 7016 | /^X\/\(\/\).*/{
|
---|
| 7017 | s//\1/
|
---|
| 7018 | q
|
---|
| 7019 | }
|
---|
| 7020 | s/.*/./; q'`
|
---|
[16566] | 7021 |
|
---|
[21327] | 7022 | # Avoid depending upon Character Ranges.
|
---|
| 7023 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7024 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7025 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7026 | as_cr_digits='0123456789'
|
---|
| 7027 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[16566] | 7028 |
|
---|
[23356] | 7029 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 7030 | case `echo -n x` in #(((((
|
---|
| 7031 | -n*)
|
---|
| 7032 | case `echo 'xy\c'` in
|
---|
| 7033 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 7034 | xy) ECHO_C='\c';;
|
---|
| 7035 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 7036 | ECHO_T=' ';;
|
---|
| 7037 | esac;;
|
---|
| 7038 | *)
|
---|
| 7039 | ECHO_N='-n';;
|
---|
[16566] | 7040 | esac
|
---|
| 7041 |
|
---|
[23356] | 7042 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 7043 | if test -d conf$$.dir; then
|
---|
| 7044 | rm -f conf$$.dir/conf$$.file
|
---|
[16566] | 7045 | else
|
---|
[23356] | 7046 | rm -f conf$$.dir
|
---|
| 7047 | mkdir conf$$.dir 2>/dev/null
|
---|
[16566] | 7048 | fi
|
---|
[23356] | 7049 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 7050 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7051 | as_ln_s='ln -s'
|
---|
| 7052 | # ... but there are two gotchas:
|
---|
| 7053 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 7054 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 7055 | # In both cases, we have to default to `cp -p'.
|
---|
| 7056 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 7057 | as_ln_s='cp -p'
|
---|
| 7058 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7059 | as_ln_s=ln
|
---|
| 7060 | else
|
---|
[16566] | 7061 | as_ln_s='cp -p'
|
---|
[21327] | 7062 | fi
|
---|
[16566] | 7063 | else
|
---|
| 7064 | as_ln_s='cp -p'
|
---|
| 7065 | fi
|
---|
[23356] | 7066 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 7067 | rmdir conf$$.dir 2>/dev/null
|
---|
[16566] | 7068 |
|
---|
[23356] | 7069 |
|
---|
| 7070 | # as_fn_mkdir_p
|
---|
| 7071 | # -------------
|
---|
| 7072 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 7073 | as_fn_mkdir_p ()
|
---|
| 7074 | {
|
---|
| 7075 |
|
---|
| 7076 | case $as_dir in #(
|
---|
| 7077 | -*) as_dir=./$as_dir;;
|
---|
| 7078 | esac
|
---|
| 7079 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 7080 | as_dirs=
|
---|
| 7081 | while :; do
|
---|
| 7082 | case $as_dir in #(
|
---|
| 7083 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 7084 | *) as_qdir=$as_dir;;
|
---|
| 7085 | esac
|
---|
| 7086 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 7087 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 7088 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7089 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 7090 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 7091 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7092 | $as_echo X"$as_dir" |
|
---|
| 7093 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7094 | s//\1/
|
---|
| 7095 | q
|
---|
| 7096 | }
|
---|
| 7097 | /^X\(\/\/\)[^/].*/{
|
---|
| 7098 | s//\1/
|
---|
| 7099 | q
|
---|
| 7100 | }
|
---|
| 7101 | /^X\(\/\/\)$/{
|
---|
| 7102 | s//\1/
|
---|
| 7103 | q
|
---|
| 7104 | }
|
---|
| 7105 | /^X\(\/\).*/{
|
---|
| 7106 | s//\1/
|
---|
| 7107 | q
|
---|
| 7108 | }
|
---|
| 7109 | s/.*/./; q'`
|
---|
| 7110 | test -d "$as_dir" && break
|
---|
| 7111 | done
|
---|
| 7112 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 7113 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 7114 |
|
---|
| 7115 |
|
---|
| 7116 | } # as_fn_mkdir_p
|
---|
[16566] | 7117 | if mkdir -p . 2>/dev/null; then
|
---|
[23356] | 7118 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16566] | 7119 | else
|
---|
| 7120 | test -d ./-p && rmdir ./-p
|
---|
| 7121 | as_mkdir_p=false
|
---|
| 7122 | fi
|
---|
| 7123 |
|
---|
[23356] | 7124 | if test -x / >/dev/null 2>&1; then
|
---|
| 7125 | as_test_x='test -x'
|
---|
| 7126 | else
|
---|
| 7127 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 7128 | as_ls_L_option=L
|
---|
| 7129 | else
|
---|
| 7130 | as_ls_L_option=
|
---|
| 7131 | fi
|
---|
| 7132 | as_test_x='
|
---|
| 7133 | eval sh -c '\''
|
---|
| 7134 | if test -d "$1"; then
|
---|
| 7135 | test -d "$1/.";
|
---|
| 7136 | else
|
---|
| 7137 | case $1 in #(
|
---|
| 7138 | -*)set "./$1";;
|
---|
| 7139 | esac;
|
---|
| 7140 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
| 7141 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 7142 | '\'' sh
|
---|
| 7143 | '
|
---|
| 7144 | fi
|
---|
| 7145 | as_executable_p=$as_test_x
|
---|
[16566] | 7146 |
|
---|
| 7147 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7148 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7149 |
|
---|
| 7150 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7151 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7152 |
|
---|
| 7153 |
|
---|
| 7154 | exec 6>&1
|
---|
[23356] | 7155 | ## ----------------------------------- ##
|
---|
| 7156 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 7157 | ## ----------------------------------- ##
|
---|
| 7158 | _ASEOF
|
---|
| 7159 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
[16566] | 7160 |
|
---|
[23356] | 7161 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7162 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
[16566] | 7163 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[23356] | 7164 | # values after options handling.
|
---|
| 7165 | ac_log="
|
---|
[16566] | 7166 | This file was extended by $as_me, which was
|
---|
[23356] | 7167 | generated by GNU Autoconf 2.67. Invocation command line was
|
---|
[16566] | 7168 |
|
---|
| 7169 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 7170 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 7171 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 7172 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 7173 | $ $0 $@
|
---|
| 7174 |
|
---|
[23356] | 7175 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 7176 | "
|
---|
| 7177 |
|
---|
[16566] | 7178 | _ACEOF
|
---|
| 7179 |
|
---|
[23356] | 7180 | case $ac_config_files in *"
|
---|
| 7181 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 7182 | esac
|
---|
[16566] | 7183 |
|
---|
[23356] | 7184 | case $ac_config_headers in *"
|
---|
| 7185 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 7186 | esac
|
---|
[16566] | 7187 |
|
---|
[21327] | 7188 |
|
---|
[23356] | 7189 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7190 | # Files that config.status was made for.
|
---|
| 7191 | config_files="$ac_config_files"
|
---|
| 7192 | config_headers="$ac_config_headers"
|
---|
[21327] | 7193 |
|
---|
[23356] | 7194 | _ACEOF
|
---|
[21327] | 7195 |
|
---|
[23356] | 7196 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16566] | 7197 | ac_cs_usage="\
|
---|
[23356] | 7198 | \`$as_me' instantiates files and other configuration actions
|
---|
| 7199 | from templates according to the current configuration. Unless the files
|
---|
| 7200 | and actions are specified as TAGs, all are instantiated by default.
|
---|
[16566] | 7201 |
|
---|
[23356] | 7202 | Usage: $0 [OPTION]... [TAG]...
|
---|
[16566] | 7203 |
|
---|
| 7204 | -h, --help print this help, then exit
|
---|
[23356] | 7205 | -V, --version print version number and configuration settings, then exit
|
---|
| 7206 | --config print configuration, then exit
|
---|
| 7207 | -q, --quiet, --silent
|
---|
| 7208 | do not print progress messages
|
---|
[16566] | 7209 | -d, --debug don't remove temporary files
|
---|
| 7210 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[23356] | 7211 | --file=FILE[:TEMPLATE]
|
---|
| 7212 | instantiate the configuration file FILE
|
---|
| 7213 | --header=FILE[:TEMPLATE]
|
---|
| 7214 | instantiate the configuration header FILE
|
---|
[16566] | 7215 |
|
---|
| 7216 | Configuration files:
|
---|
| 7217 | $config_files
|
---|
| 7218 |
|
---|
| 7219 | Configuration headers:
|
---|
| 7220 | $config_headers
|
---|
| 7221 |
|
---|
[23356] | 7222 | Report bugs to the package provider."
|
---|
| 7223 |
|
---|
[21327] | 7224 | _ACEOF
|
---|
[23356] | 7225 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7226 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
[16566] | 7227 | ac_cs_version="\\
|
---|
| 7228 | config.status
|
---|
[23356] | 7229 | configured by $0, generated by GNU Autoconf 2.67,
|
---|
| 7230 | with options \\"\$ac_cs_config\\"
|
---|
[16566] | 7231 |
|
---|
[23356] | 7232 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16566] | 7233 | This config.status script is free software; the Free Software Foundation
|
---|
| 7234 | gives unlimited permission to copy, distribute and modify it."
|
---|
[23356] | 7235 |
|
---|
| 7236 | ac_pwd='$ac_pwd'
|
---|
| 7237 | srcdir='$srcdir'
|
---|
| 7238 | INSTALL='$INSTALL'
|
---|
| 7239 | AWK='$AWK'
|
---|
| 7240 | test -n "\$AWK" || AWK=awk
|
---|
[16566] | 7241 | _ACEOF
|
---|
| 7242 |
|
---|
[23356] | 7243 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7244 | # The default lists apply if the user does not specify any file.
|
---|
[16566] | 7245 | ac_need_defaults=:
|
---|
| 7246 | while test $# != 0
|
---|
| 7247 | do
|
---|
| 7248 | case $1 in
|
---|
[23356] | 7249 | --*=?*)
|
---|
| 7250 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7251 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[16566] | 7252 | ac_shift=:
|
---|
| 7253 | ;;
|
---|
[23356] | 7254 | --*=)
|
---|
| 7255 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7256 | ac_optarg=
|
---|
| 7257 | ac_shift=:
|
---|
| 7258 | ;;
|
---|
| 7259 | *)
|
---|
[16566] | 7260 | ac_option=$1
|
---|
| 7261 | ac_optarg=$2
|
---|
| 7262 | ac_shift=shift
|
---|
| 7263 | ;;
|
---|
| 7264 | esac
|
---|
| 7265 |
|
---|
| 7266 | case $ac_option in
|
---|
| 7267 | # Handling of the options.
|
---|
| 7268 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 7269 | ac_cs_recheck=: ;;
|
---|
[23356] | 7270 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 7271 | $as_echo "$ac_cs_version"; exit ;;
|
---|
| 7272 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 7273 | $as_echo "$ac_cs_config"; exit ;;
|
---|
| 7274 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[16566] | 7275 | debug=: ;;
|
---|
| 7276 | --file | --fil | --fi | --f )
|
---|
| 7277 | $ac_shift
|
---|
[23356] | 7278 | case $ac_optarg in
|
---|
| 7279 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7280 | '') as_fn_error $? "missing file argument" ;;
|
---|
| 7281 | esac
|
---|
| 7282 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
[16566] | 7283 | ac_need_defaults=false;;
|
---|
| 7284 | --header | --heade | --head | --hea )
|
---|
| 7285 | $ac_shift
|
---|
[23356] | 7286 | case $ac_optarg in
|
---|
| 7287 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7288 | esac
|
---|
| 7289 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
[16566] | 7290 | ac_need_defaults=false;;
|
---|
[23356] | 7291 | --he | --h)
|
---|
| 7292 | # Conflict between --help and --header
|
---|
| 7293 | as_fn_error $? "ambiguous option: \`$1'
|
---|
| 7294 | Try \`$0 --help' for more information.";;
|
---|
| 7295 | --help | --hel | -h )
|
---|
| 7296 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[16566] | 7297 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 7298 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 7299 | ac_cs_silent=: ;;
|
---|
| 7300 |
|
---|
| 7301 | # This is an error.
|
---|
[23356] | 7302 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
| 7303 | Try \`$0 --help' for more information." ;;
|
---|
[16566] | 7304 |
|
---|
[23356] | 7305 | *) as_fn_append ac_config_targets " $1"
|
---|
| 7306 | ac_need_defaults=false ;;
|
---|
[16566] | 7307 |
|
---|
| 7308 | esac
|
---|
| 7309 | shift
|
---|
| 7310 | done
|
---|
| 7311 |
|
---|
| 7312 | ac_configure_extra_args=
|
---|
| 7313 |
|
---|
| 7314 | if $ac_cs_silent; then
|
---|
| 7315 | exec 6>/dev/null
|
---|
| 7316 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 7317 | fi
|
---|
| 7318 |
|
---|
| 7319 | _ACEOF
|
---|
[23356] | 7320 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[16566] | 7321 | if \$ac_cs_recheck; then
|
---|
[23356] | 7322 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 7323 | shift
|
---|
| 7324 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 7325 | CONFIG_SHELL='$SHELL'
|
---|
| 7326 | export CONFIG_SHELL
|
---|
| 7327 | exec "\$@"
|
---|
[16566] | 7328 | fi
|
---|
| 7329 |
|
---|
| 7330 | _ACEOF
|
---|
[23356] | 7331 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7332 | exec 5>>config.log
|
---|
| 7333 | {
|
---|
| 7334 | echo
|
---|
| 7335 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7336 | ## Running $as_me. ##
|
---|
| 7337 | _ASBOX
|
---|
| 7338 | $as_echo "$ac_log"
|
---|
| 7339 | } >&5
|
---|
[16566] | 7340 |
|
---|
[23356] | 7341 | _ACEOF
|
---|
| 7342 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7343 | _ACEOF
|
---|
[16566] | 7344 |
|
---|
[23356] | 7345 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[21327] | 7346 |
|
---|
[23356] | 7347 | # Handling of arguments.
|
---|
[16566] | 7348 | for ac_config_target in $ac_config_targets
|
---|
| 7349 | do
|
---|
[23356] | 7350 | case $ac_config_target in
|
---|
| 7351 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 7352 | "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
|
---|
| 7353 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 7354 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 7355 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 7356 |
|
---|
| 7357 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
|
---|
[16566] | 7358 | esac
|
---|
| 7359 | done
|
---|
| 7360 |
|
---|
[23356] | 7361 |
|
---|
[16566] | 7362 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7363 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7364 | # We use the long form for the default assignment because of an extremely
|
---|
| 7365 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7366 | if $ac_need_defaults; then
|
---|
| 7367 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7368 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7369 | fi
|
---|
| 7370 |
|
---|
| 7371 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[23356] | 7372 | # simply because there is no reason against having it here, and in addition,
|
---|
[16566] | 7373 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[23356] | 7374 | # Hook for its removal unless debugging.
|
---|
| 7375 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 7376 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[16566] | 7377 | $debug ||
|
---|
| 7378 | {
|
---|
[23356] | 7379 | tmp=
|
---|
| 7380 | trap 'exit_status=$?
|
---|
| 7381 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
| 7382 | ' 0
|
---|
| 7383 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
[16566] | 7384 | }
|
---|
| 7385 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7386 |
|
---|
| 7387 | {
|
---|
[23356] | 7388 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[16566] | 7389 | test -n "$tmp" && test -d "$tmp"
|
---|
| 7390 | } ||
|
---|
| 7391 | {
|
---|
[23356] | 7392 | tmp=./conf$$-$RANDOM
|
---|
| 7393 | (umask 077 && mkdir "$tmp")
|
---|
| 7394 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
| 7395 |
|
---|
| 7396 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 7397 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 7398 | # This happens for instance with `./config.status config.h'.
|
---|
| 7399 | if test -n "$CONFIG_FILES"; then
|
---|
| 7400 |
|
---|
| 7401 |
|
---|
| 7402 | ac_cr=`echo X | tr X '\015'`
|
---|
| 7403 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 7404 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 7405 | # point, so we can use a bashism as a fallback.
|
---|
| 7406 | if test "x$ac_cr" = x; then
|
---|
| 7407 | eval ac_cr=\$\'\\r\'
|
---|
| 7408 | fi
|
---|
| 7409 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 7410 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
| 7411 | ac_cs_awk_cr='\\r'
|
---|
| 7412 | else
|
---|
| 7413 | ac_cs_awk_cr=$ac_cr
|
---|
| 7414 | fi
|
---|
| 7415 |
|
---|
| 7416 | echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
---|
| 7417 | _ACEOF
|
---|
| 7418 |
|
---|
| 7419 |
|
---|
[16566] | 7420 | {
|
---|
[23356] | 7421 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 7422 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 7423 | echo "_ACEOF"
|
---|
| 7424 | } >conf$$subs.sh ||
|
---|
| 7425 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7426 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
| 7427 | ac_delim='%!_!# '
|
---|
| 7428 | for ac_last_try in false false false false false :; do
|
---|
| 7429 | . ./conf$$subs.sh ||
|
---|
| 7430 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7431 |
|
---|
| 7432 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 7433 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 7434 | break
|
---|
| 7435 | elif $ac_last_try; then
|
---|
| 7436 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7437 | else
|
---|
| 7438 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7439 | fi
|
---|
| 7440 | done
|
---|
| 7441 | rm -f conf$$subs.sh
|
---|
| 7442 |
|
---|
| 7443 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7444 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
---|
| 7445 | _ACEOF
|
---|
| 7446 | sed -n '
|
---|
| 7447 | h
|
---|
| 7448 | s/^/S["/; s/!.*/"]=/
|
---|
| 7449 | p
|
---|
| 7450 | g
|
---|
| 7451 | s/^[^!]*!//
|
---|
| 7452 | :repl
|
---|
| 7453 | t repl
|
---|
| 7454 | s/'"$ac_delim"'$//
|
---|
| 7455 | t delim
|
---|
| 7456 | :nl
|
---|
| 7457 | h
|
---|
| 7458 | s/\(.\{148\}\)..*/\1/
|
---|
| 7459 | t more1
|
---|
| 7460 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 7461 | p
|
---|
| 7462 | n
|
---|
| 7463 | b repl
|
---|
| 7464 | :more1
|
---|
| 7465 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7466 | p
|
---|
| 7467 | g
|
---|
| 7468 | s/.\{148\}//
|
---|
| 7469 | t nl
|
---|
| 7470 | :delim
|
---|
| 7471 | h
|
---|
| 7472 | s/\(.\{148\}\)..*/\1/
|
---|
| 7473 | t more2
|
---|
| 7474 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 7475 | p
|
---|
| 7476 | b
|
---|
| 7477 | :more2
|
---|
| 7478 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7479 | p
|
---|
| 7480 | g
|
---|
| 7481 | s/.\{148\}//
|
---|
| 7482 | t delim
|
---|
| 7483 | ' <conf$$subs.awk | sed '
|
---|
| 7484 | /^[^""]/{
|
---|
| 7485 | N
|
---|
| 7486 | s/\n//
|
---|
[16566] | 7487 | }
|
---|
[23356] | 7488 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7489 | rm -f conf$$subs.awk
|
---|
| 7490 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7491 | _ACAWK
|
---|
| 7492 | cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
---|
| 7493 | for (key in S) S_is_set[key] = 1
|
---|
| 7494 | FS = ""
|
---|
[16566] | 7495 |
|
---|
[23356] | 7496 | }
|
---|
| 7497 | {
|
---|
| 7498 | line = $ 0
|
---|
| 7499 | nfields = split(line, field, "@")
|
---|
| 7500 | substed = 0
|
---|
| 7501 | len = length(field[1])
|
---|
| 7502 | for (i = 2; i < nfields; i++) {
|
---|
| 7503 | key = field[i]
|
---|
| 7504 | keylen = length(key)
|
---|
| 7505 | if (S_is_set[key]) {
|
---|
| 7506 | value = S[key]
|
---|
| 7507 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 7508 | len += length(value) + length(field[++i])
|
---|
| 7509 | substed = 1
|
---|
| 7510 | } else
|
---|
| 7511 | len += 1 + keylen
|
---|
| 7512 | }
|
---|
| 7513 |
|
---|
| 7514 | print line
|
---|
| 7515 | }
|
---|
| 7516 |
|
---|
| 7517 | _ACAWK
|
---|
[21327] | 7518 | _ACEOF
|
---|
[23356] | 7519 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7520 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 7521 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 7522 | else
|
---|
| 7523 | cat
|
---|
| 7524 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
---|
| 7525 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
| 7526 | _ACEOF
|
---|
[21327] | 7527 |
|
---|
[23356] | 7528 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 7529 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
| 7530 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7531 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7532 | if test "x$srcdir" = x.; then
|
---|
| 7533 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 7534 | h
|
---|
| 7535 | s///
|
---|
| 7536 | s/^/:/
|
---|
| 7537 | s/[ ]*$/:/
|
---|
| 7538 | s/:\$(srcdir):/:/g
|
---|
| 7539 | s/:\${srcdir}:/:/g
|
---|
| 7540 | s/:@srcdir@:/:/g
|
---|
| 7541 | s/^:*//
|
---|
| 7542 | s/:*$//
|
---|
| 7543 | x
|
---|
| 7544 | s/\(=[ ]*\).*/\1/
|
---|
| 7545 | G
|
---|
| 7546 | s/\n//
|
---|
| 7547 | s/^[^=]*=[ ]*$//
|
---|
| 7548 | }'
|
---|
| 7549 | fi
|
---|
[21327] | 7550 |
|
---|
[23356] | 7551 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7552 | fi # test -n "$CONFIG_FILES"
|
---|
[16566] | 7553 |
|
---|
[23356] | 7554 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 7555 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 7556 | # This happens for instance with `./config.status Makefile'.
|
---|
| 7557 | if test -n "$CONFIG_HEADERS"; then
|
---|
| 7558 | cat >"$tmp/defines.awk" <<\_ACAWK ||
|
---|
| 7559 | BEGIN {
|
---|
[16566] | 7560 | _ACEOF
|
---|
| 7561 |
|
---|
[23356] | 7562 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 7563 | # here-document in config.status, that substitutes the proper values into
|
---|
| 7564 | # config.h.in to produce config.h.
|
---|
| 7565 |
|
---|
| 7566 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 7567 | # handling of long lines.
|
---|
| 7568 | ac_delim='%!_!# '
|
---|
| 7569 | for ac_last_try in false false :; do
|
---|
| 7570 | ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 7571 | if test -z "$ac_t"; then
|
---|
| 7572 | break
|
---|
| 7573 | elif $ac_last_try; then
|
---|
| 7574 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
| 7575 | else
|
---|
| 7576 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
[16566] | 7577 | fi
|
---|
[23356] | 7578 | done
|
---|
[16566] | 7579 |
|
---|
[23356] | 7580 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 7581 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 7582 | # newline sequences.
|
---|
| 7583 |
|
---|
| 7584 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 7585 | sed -n '
|
---|
| 7586 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7587 | t rset
|
---|
| 7588 | :rset
|
---|
| 7589 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 7590 | t def
|
---|
| 7591 | d
|
---|
| 7592 | :def
|
---|
| 7593 | s/\\$//
|
---|
| 7594 | t bsnl
|
---|
| 7595 | s/["\\]/\\&/g
|
---|
| 7596 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7597 | D["\1"]=" \3"/p
|
---|
| 7598 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 7599 | d
|
---|
| 7600 | :bsnl
|
---|
| 7601 | s/["\\]/\\&/g
|
---|
| 7602 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7603 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 7604 | t cont
|
---|
| 7605 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 7606 | t cont
|
---|
| 7607 | d
|
---|
| 7608 | :cont
|
---|
| 7609 | n
|
---|
| 7610 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7611 | t clear
|
---|
| 7612 | :clear
|
---|
| 7613 | s/\\$//
|
---|
| 7614 | t bsnlc
|
---|
| 7615 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 7616 | d
|
---|
| 7617 | :bsnlc
|
---|
| 7618 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 7619 | b cont
|
---|
| 7620 | ' <confdefs.h | sed '
|
---|
| 7621 | s/'"$ac_delim"'/"\\\
|
---|
| 7622 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7623 |
|
---|
| 7624 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7625 | for (key in D) D_is_set[key] = 1
|
---|
| 7626 | FS = ""
|
---|
| 7627 | }
|
---|
| 7628 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 7629 | line = \$ 0
|
---|
| 7630 | split(line, arg, " ")
|
---|
| 7631 | if (arg[1] == "#") {
|
---|
| 7632 | defundef = arg[2]
|
---|
| 7633 | mac1 = arg[3]
|
---|
| 7634 | } else {
|
---|
| 7635 | defundef = substr(arg[1], 2)
|
---|
| 7636 | mac1 = arg[2]
|
---|
| 7637 | }
|
---|
| 7638 | split(mac1, mac2, "(") #)
|
---|
| 7639 | macro = mac2[1]
|
---|
| 7640 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 7641 | if (D_is_set[macro]) {
|
---|
| 7642 | # Preserve the white space surrounding the "#".
|
---|
| 7643 | print prefix "define", macro P[macro] D[macro]
|
---|
| 7644 | next
|
---|
| 7645 | } else {
|
---|
| 7646 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 7647 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 7648 | # on some systems where configure will not decide to define it.
|
---|
| 7649 | if (defundef == "undef") {
|
---|
| 7650 | print "/*", prefix defundef, macro, "*/"
|
---|
| 7651 | next
|
---|
| 7652 | }
|
---|
| 7653 | }
|
---|
| 7654 | }
|
---|
| 7655 | { print }
|
---|
| 7656 | _ACAWK
|
---|
[16566] | 7657 | _ACEOF
|
---|
[23356] | 7658 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7659 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
| 7660 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 7661 |
|
---|
| 7662 |
|
---|
| 7663 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
---|
| 7664 | shift
|
---|
| 7665 | for ac_tag
|
---|
| 7666 | do
|
---|
| 7667 | case $ac_tag in
|
---|
| 7668 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[16566] | 7669 | esac
|
---|
[23356] | 7670 | case $ac_mode$ac_tag in
|
---|
| 7671 | :[FHL]*:*);;
|
---|
| 7672 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
|
---|
| 7673 | :[FH]-) ac_tag=-:-;;
|
---|
| 7674 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 7675 | esac
|
---|
| 7676 | ac_save_IFS=$IFS
|
---|
| 7677 | IFS=:
|
---|
| 7678 | set x $ac_tag
|
---|
| 7679 | IFS=$ac_save_IFS
|
---|
| 7680 | shift
|
---|
| 7681 | ac_file=$1
|
---|
| 7682 | shift
|
---|
[16566] | 7683 |
|
---|
[23356] | 7684 | case $ac_mode in
|
---|
| 7685 | :L) ac_source=$1;;
|
---|
| 7686 | :[FH])
|
---|
| 7687 | ac_file_inputs=
|
---|
| 7688 | for ac_f
|
---|
| 7689 | do
|
---|
| 7690 | case $ac_f in
|
---|
| 7691 | -) ac_f="$tmp/stdin";;
|
---|
| 7692 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 7693 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 7694 | # because $ac_f cannot contain `:'.
|
---|
| 7695 | test -f "$ac_f" ||
|
---|
| 7696 | case $ac_f in
|
---|
| 7697 | [\\/$]*) false;;
|
---|
| 7698 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 7699 | esac ||
|
---|
| 7700 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
|
---|
| 7701 | esac
|
---|
| 7702 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
| 7703 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
| 7704 | done
|
---|
| 7705 |
|
---|
| 7706 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7707 | # use $as_me), people would be surprised to read:
|
---|
| 7708 | # /* config.h. Generated by config.status. */
|
---|
| 7709 | configure_input='Generated from '`
|
---|
| 7710 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 7711 | `' by configure.'
|
---|
| 7712 | if test x"$ac_file" != x-; then
|
---|
| 7713 | configure_input="$ac_file. $configure_input"
|
---|
| 7714 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
| 7715 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 7716 | fi
|
---|
| 7717 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 7718 | case $configure_input in #(
|
---|
| 7719 | *\&* | *\|* | *\\* )
|
---|
| 7720 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 7721 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 7722 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 7723 | esac
|
---|
| 7724 |
|
---|
| 7725 | case $ac_tag in
|
---|
| 7726 | *:-:* | *:-) cat >"$tmp/stdin" \
|
---|
| 7727 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
| 7728 | esac
|
---|
| 7729 | ;;
|
---|
| 7730 | esac
|
---|
| 7731 |
|
---|
| 7732 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[16566] | 7733 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7734 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7735 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[23356] | 7736 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7737 | $as_echo X"$ac_file" |
|
---|
| 7738 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7739 | s//\1/
|
---|
| 7740 | q
|
---|
| 7741 | }
|
---|
| 7742 | /^X\(\/\/\)[^/].*/{
|
---|
| 7743 | s//\1/
|
---|
| 7744 | q
|
---|
| 7745 | }
|
---|
| 7746 | /^X\(\/\/\)$/{
|
---|
| 7747 | s//\1/
|
---|
| 7748 | q
|
---|
| 7749 | }
|
---|
| 7750 | /^X\(\/\).*/{
|
---|
| 7751 | s//\1/
|
---|
| 7752 | q
|
---|
| 7753 | }
|
---|
| 7754 | s/.*/./; q'`
|
---|
| 7755 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16566] | 7756 | ac_builddir=.
|
---|
| 7757 |
|
---|
[23356] | 7758 | case "$ac_dir" in
|
---|
| 7759 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7760 | *)
|
---|
| 7761 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7762 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7763 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7764 | case $ac_top_builddir_sub in
|
---|
| 7765 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7766 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7767 | esac ;;
|
---|
| 7768 | esac
|
---|
| 7769 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7770 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7771 | # for backward compatibility:
|
---|
| 7772 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 7773 |
|
---|
| 7774 | case $srcdir in
|
---|
[23356] | 7775 | .) # We are building in place.
|
---|
[16566] | 7776 | ac_srcdir=.
|
---|
[23356] | 7777 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7778 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7779 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 7780 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 7781 | ac_top_srcdir=$srcdir
|
---|
| 7782 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7783 | *) # Relative name.
|
---|
| 7784 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7785 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7786 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 7787 | esac
|
---|
[23356] | 7788 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 7789 |
|
---|
| 7790 |
|
---|
[23356] | 7791 | case $ac_mode in
|
---|
| 7792 | :F)
|
---|
| 7793 | #
|
---|
| 7794 | # CONFIG_FILE
|
---|
| 7795 | #
|
---|
[16566] | 7796 |
|
---|
| 7797 | case $INSTALL in
|
---|
| 7798 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[23356] | 7799 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[16566] | 7800 | esac
|
---|
[23356] | 7801 | _ACEOF
|
---|
[16566] | 7802 |
|
---|
[23356] | 7803 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7804 | # If the template does not know about datarootdir, expand it.
|
---|
| 7805 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 7806 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 7807 | ac_sed_dataroot='
|
---|
| 7808 | /datarootdir/ {
|
---|
| 7809 | p
|
---|
| 7810 | q
|
---|
| 7811 | }
|
---|
| 7812 | /@datadir@/p
|
---|
| 7813 | /@docdir@/p
|
---|
| 7814 | /@infodir@/p
|
---|
| 7815 | /@localedir@/p
|
---|
| 7816 | /@mandir@/p'
|
---|
| 7817 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 7818 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 7819 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
| 7820 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
| 7821 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
| 7822 | _ACEOF
|
---|
| 7823 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7824 | ac_datarootdir_hack='
|
---|
| 7825 | s&@datadir@&$datadir&g
|
---|
| 7826 | s&@docdir@&$docdir&g
|
---|
| 7827 | s&@infodir@&$infodir&g
|
---|
| 7828 | s&@localedir@&$localedir&g
|
---|
| 7829 | s&@mandir@&$mandir&g
|
---|
| 7830 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
| 7831 | esac
|
---|
| 7832 | _ACEOF
|
---|
[16566] | 7833 |
|
---|
[23356] | 7834 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 7835 | # Shell code in configure.ac might set extrasub.
|
---|
| 7836 | # FIXME: do we really want to maintain this feature?
|
---|
| 7837 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7838 | ac_sed_extra="$ac_vpsub
|
---|
[16566] | 7839 | $extrasub
|
---|
| 7840 | _ACEOF
|
---|
[23356] | 7841 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16566] | 7842 | :t
|
---|
| 7843 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[23356] | 7844 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 7845 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 7846 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 7847 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 7848 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 7849 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 7850 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 7851 | s&@builddir@&$ac_builddir&;t t
|
---|
| 7852 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 7853 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 7854 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 7855 | $ac_datarootdir_hack
|
---|
| 7856 | "
|
---|
| 7857 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
---|
| 7858 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16566] | 7859 |
|
---|
[23356] | 7860 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 7861 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 7862 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 7863 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7864 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
| 7865 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7866 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
[16566] | 7867 |
|
---|
[23356] | 7868 | rm -f "$tmp/stdin"
|
---|
[16566] | 7869 | case $ac_file in
|
---|
[23356] | 7870 | -) cat "$tmp/out" && rm -f "$tmp/out";;
|
---|
| 7871 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
---|
| 7872 | esac \
|
---|
| 7873 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7874 | ;;
|
---|
| 7875 | :H)
|
---|
| 7876 | #
|
---|
| 7877 | # CONFIG_HEADER
|
---|
| 7878 | #
|
---|
[16566] | 7879 | if test x"$ac_file" != x-; then
|
---|
[23356] | 7880 | {
|
---|
| 7881 | $as_echo "/* $configure_input */" \
|
---|
| 7882 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 7883 | } >"$tmp/config.h" \
|
---|
| 7884 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7885 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
---|
| 7886 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
| 7887 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[16566] | 7888 | else
|
---|
[23356] | 7889 | rm -f "$ac_file"
|
---|
| 7890 | mv "$tmp/config.h" "$ac_file" \
|
---|
| 7891 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16566] | 7892 | fi
|
---|
| 7893 | else
|
---|
[23356] | 7894 | $as_echo "/* $configure_input */" \
|
---|
| 7895 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
---|
| 7896 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
[16566] | 7897 | fi
|
---|
[23356] | 7898 | ;;
|
---|
[16566] | 7899 |
|
---|
| 7900 |
|
---|
[23356] | 7901 | esac
|
---|
| 7902 |
|
---|
| 7903 | done # for ac_tag
|
---|
| 7904 |
|
---|
| 7905 |
|
---|
| 7906 | as_fn_exit 0
|
---|
[16566] | 7907 | _ACEOF
|
---|
| 7908 | ac_clean_files=$ac_clean_files_save
|
---|
| 7909 |
|
---|
[23356] | 7910 | test $ac_write_fail = 0 ||
|
---|
| 7911 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
[16566] | 7912 |
|
---|
[23356] | 7913 |
|
---|
[16566] | 7914 | # configure is writing to config.log, and then calls config.status.
|
---|
| 7915 | # config.status does its own redirection, appending to config.log.
|
---|
| 7916 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 7917 | # by configure, so config.status won't be able to write to it; its
|
---|
| 7918 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 7919 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 7920 | # appended to by config.status. When coming back to configure, we
|
---|
| 7921 | # need to make the FD available again.
|
---|
| 7922 | if test "$no_create" != yes; then
|
---|
| 7923 | ac_cs_success=:
|
---|
| 7924 | ac_config_status_args=
|
---|
| 7925 | test "$silent" = yes &&
|
---|
| 7926 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 7927 | exec 5>/dev/null
|
---|
| 7928 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 7929 | exec 5>>config.log
|
---|
| 7930 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 7931 | # would make configure fail if this is the last instruction.
|
---|
[23356] | 7932 | $ac_cs_success || as_fn_exit 1
|
---|
[16566] | 7933 | fi
|
---|
| 7934 |
|
---|
| 7935 | #
|
---|
| 7936 | # CONFIG_SUBDIRS section.
|
---|
| 7937 | #
|
---|
| 7938 | if test "$no_recursion" != yes; then
|
---|
| 7939 |
|
---|
[23356] | 7940 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
| 7941 | # so they do not pile up.
|
---|
[16566] | 7942 | ac_sub_configure_args=
|
---|
| 7943 | ac_prev=
|
---|
[23356] | 7944 | eval "set x $ac_configure_args"
|
---|
| 7945 | shift
|
---|
| 7946 | for ac_arg
|
---|
| 7947 | do
|
---|
[16566] | 7948 | if test -n "$ac_prev"; then
|
---|
| 7949 | ac_prev=
|
---|
| 7950 | continue
|
---|
| 7951 | fi
|
---|
| 7952 | case $ac_arg in
|
---|
| 7953 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 7954 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 7955 | ac_prev=cache_file ;;
|
---|
| 7956 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 7957 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 7958 | | --c=*)
|
---|
| 7959 | ;;
|
---|
| 7960 | --config-cache | -C)
|
---|
| 7961 | ;;
|
---|
| 7962 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 7963 | ac_prev=srcdir ;;
|
---|
| 7964 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 7965 | ;;
|
---|
| 7966 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 7967 | ac_prev=prefix ;;
|
---|
| 7968 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 7969 | ;;
|
---|
[23356] | 7970 | --disable-option-checking)
|
---|
| 7971 | ;;
|
---|
| 7972 | *)
|
---|
| 7973 | case $ac_arg in
|
---|
| 7974 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7975 | esac
|
---|
| 7976 | as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
---|
[16566] | 7977 | esac
|
---|
| 7978 | done
|
---|
| 7979 |
|
---|
| 7980 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 7981 | # in subdir configurations.
|
---|
[23356] | 7982 | ac_arg="--prefix=$prefix"
|
---|
| 7983 | case $ac_arg in
|
---|
| 7984 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7985 | esac
|
---|
| 7986 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[16566] | 7987 |
|
---|
[23356] | 7988 | # Pass --silent
|
---|
| 7989 | if test "$silent" = yes; then
|
---|
| 7990 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 7991 | fi
|
---|
| 7992 |
|
---|
| 7993 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
| 7994 | # different subdirs can have different --enable and --with options.
|
---|
| 7995 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
| 7996 |
|
---|
[16566] | 7997 | ac_popdir=`pwd`
|
---|
| 7998 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 7999 |
|
---|
| 8000 | # Do not complain, so a configure script can configure whichever
|
---|
| 8001 | # parts of a large source tree are present.
|
---|
[23356] | 8002 | test -d "$srcdir/$ac_dir" || continue
|
---|
[16566] | 8003 |
|
---|
[23356] | 8004 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
| 8005 | $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
---|
| 8006 | $as_echo "$ac_msg" >&6
|
---|
| 8007 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16566] | 8008 | ac_builddir=.
|
---|
| 8009 |
|
---|
[23356] | 8010 | case "$ac_dir" in
|
---|
| 8011 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8012 | *)
|
---|
| 8013 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 8014 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 8015 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 8016 | case $ac_top_builddir_sub in
|
---|
| 8017 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8018 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8019 | esac ;;
|
---|
| 8020 | esac
|
---|
| 8021 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8022 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8023 | # for backward compatibility:
|
---|
| 8024 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 8025 |
|
---|
| 8026 | case $srcdir in
|
---|
[23356] | 8027 | .) # We are building in place.
|
---|
[16566] | 8028 | ac_srcdir=.
|
---|
[23356] | 8029 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8030 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8031 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 8032 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 8033 | ac_top_srcdir=$srcdir
|
---|
| 8034 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8035 | *) # Relative name.
|
---|
| 8036 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8037 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8038 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 8039 | esac
|
---|
[23356] | 8040 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 8041 |
|
---|
| 8042 |
|
---|
[23356] | 8043 | cd "$ac_dir"
|
---|
[16566] | 8044 |
|
---|
| 8045 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[23356] | 8046 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 8047 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 8048 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 8049 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 8050 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 8051 | # This should be Cygnus configure.
|
---|
| 8052 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[16566] | 8053 | else
|
---|
[23356] | 8054 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
---|
| 8055 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[16566] | 8056 | ac_sub_configure=
|
---|
| 8057 | fi
|
---|
| 8058 |
|
---|
| 8059 | # The recursion is here.
|
---|
| 8060 | if test -n "$ac_sub_configure"; then
|
---|
| 8061 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 8062 | case $cache_file in
|
---|
| 8063 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[23356] | 8064 | *) # Relative name.
|
---|
| 8065 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[16566] | 8066 | esac
|
---|
| 8067 |
|
---|
[23356] | 8068 | { $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
|
---|
| 8069 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[16566] | 8070 | # The eval makes quoting arguments work.
|
---|
[23356] | 8071 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 8072 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
| 8073 | as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
---|
[16566] | 8074 | fi
|
---|
| 8075 |
|
---|
[23356] | 8076 | cd "$ac_popdir"
|
---|
[16566] | 8077 | done
|
---|
| 8078 | fi
|
---|
[23356] | 8079 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
| 8080 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
| 8081 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 8082 | fi
|
---|
[16566] | 8083 |
|
---|
| 8084 |
|
---|
| 8085 |
|
---|