[562] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[23356] | 3 | # Generated by GNU Autoconf 2.67.
|
---|
[562] | 4 | #
|
---|
[22378] | 5 | #
|
---|
| 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
[23356] | 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
---|
| 8 | # Foundation, Inc.
|
---|
[22378] | 9 | #
|
---|
| 10 | #
|
---|
[562] | 11 | # This configure script is free software; the Free Software Foundation
|
---|
| 12 | # gives unlimited permission to copy, distribute and modify it.
|
---|
[22378] | 13 | ## -------------------- ##
|
---|
| 14 | ## M4sh Initialization. ##
|
---|
| 15 | ## -------------------- ##
|
---|
[562] | 16 |
|
---|
[22378] | 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 :
|
---|
[8756] | 20 | emulate sh
|
---|
| 21 | NULLCMD=:
|
---|
[22378] | 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[8756] | 23 | # is contrary to our usage. Disable this feature.
|
---|
| 24 | alias -g '${1+"$@"}'='"$@"'
|
---|
[22378] | 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
|
---|
[8756] | 33 | fi
|
---|
| 34 |
|
---|
[22378] | 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'
|
---|
[8756] | 52 | else
|
---|
[22378] | 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'
|
---|
[8756] | 72 | fi
|
---|
| 73 |
|
---|
[22378] | 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
|
---|
[8756] | 82 |
|
---|
[22378] | 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
|
---|
[8756] | 123 | PS1='$ '
|
---|
| 124 | PS2='> '
|
---|
| 125 | PS4='+ '
|
---|
| 126 |
|
---|
| 127 | # NLS nuisances.
|
---|
[22378] | 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
|
---|
[8756] | 186 | do
|
---|
[22378] | 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."
|
---|
[8756] | 230 | else
|
---|
[22378] | 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."
|
---|
[8756] | 235 | fi
|
---|
[22378] | 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
|
---|
[8756] | 245 |
|
---|
[22378] | 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"
|
---|
[23356] | 319 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
[22378] | 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 |
|
---|
[23356] | 359 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 360 | # ----------------------------------------
|
---|
[22378] | 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
|
---|
[23356] | 363 | # script with STATUS, using 1 if that was 0.
|
---|
[22378] | 364 | as_fn_error ()
|
---|
| 365 | {
|
---|
[23356] | 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
|
---|
[22378] | 370 | fi
|
---|
[23356] | 371 | $as_echo "$as_me: error: $2" >&2
|
---|
[22378] | 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
|
---|
[8756] | 377 | as_expr=expr
|
---|
| 378 | else
|
---|
| 379 | as_expr=false
|
---|
| 380 | fi
|
---|
| 381 |
|
---|
[22378] | 382 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[8756] | 383 | as_basename=basename
|
---|
| 384 | else
|
---|
| 385 | as_basename=false
|
---|
| 386 | fi
|
---|
| 387 |
|
---|
[22378] | 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
|
---|
[8756] | 393 |
|
---|
[22378] | 394 | as_me=`$as_basename -- "$0" ||
|
---|
[8756] | 395 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 396 | X"$0" : 'X\(//\)$' \| \
|
---|
[22378] | 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'`
|
---|
[8756] | 412 |
|
---|
[20853] | 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
|
---|
[8756] | 419 |
|
---|
| 420 |
|
---|
[22378] | 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 |
|
---|
[8756] | 430 | sed '
|
---|
[22378] | 431 | s/[$]LINENO.*/&-/
|
---|
| 432 | t lineno
|
---|
| 433 | b
|
---|
| 434 | :lineno
|
---|
[8756] | 435 | N
|
---|
[22378] | 436 | :loop
|
---|
| 437 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[8756] | 438 | t loop
|
---|
[22378] | 439 | s/-\n.*//
|
---|
[8756] | 440 | ' >$as_me.lineno &&
|
---|
[22378] | 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; }
|
---|
[8756] | 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
|
---|
[22378] | 446 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 447 | . "./$as_me.lineno"
|
---|
[8756] | 448 | # Exit status is that of the last command.
|
---|
| 449 | exit
|
---|
| 450 | }
|
---|
| 451 |
|
---|
[22378] | 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';;
|
---|
[8756] | 463 | esac
|
---|
| 464 |
|
---|
[22378] | 465 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 466 | if test -d conf$$.dir; then
|
---|
| 467 | rm -f conf$$.dir/conf$$.file
|
---|
[8756] | 468 | else
|
---|
[22378] | 469 | rm -f conf$$.dir
|
---|
| 470 | mkdir conf$$.dir 2>/dev/null
|
---|
[8756] | 471 | fi
|
---|
[22378] | 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
|
---|
[8756] | 484 | as_ln_s='cp -p'
|
---|
[20853] | 485 | fi
|
---|
[8756] | 486 | else
|
---|
| 487 | as_ln_s='cp -p'
|
---|
| 488 | fi
|
---|
[22378] | 489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 490 | rmdir conf$$.dir 2>/dev/null
|
---|
[8756] | 491 |
|
---|
| 492 | if mkdir -p . 2>/dev/null; then
|
---|
[22378] | 493 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[8756] | 494 | else
|
---|
| 495 | test -d ./-p && rmdir ./-p
|
---|
| 496 | as_mkdir_p=false
|
---|
| 497 | fi
|
---|
| 498 |
|
---|
[22378] | 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
|
---|
[8756] | 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 |
|
---|
[22378] | 529 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
| 530 | exec 6>&1
|
---|
[8756] | 531 |
|
---|
| 532 | # Name of the host.
|
---|
[23356] | 533 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
[8756] | 534 | # so uname gets run too.
|
---|
| 535 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 536 |
|
---|
| 537 | #
|
---|
| 538 | # Initializations.
|
---|
| 539 | #
|
---|
[562] | 540 | ac_default_prefix=/usr/local
|
---|
[22378] | 541 | ac_clean_files=
|
---|
[8756] | 542 | ac_config_libobj_dir=.
|
---|
[22378] | 543 | LIBOBJS=
|
---|
[8756] | 544 | cross_compiling=no
|
---|
| 545 | subdirs=
|
---|
| 546 | MFLAGS=
|
---|
| 547 | MAKEFLAGS=
|
---|
[562] | 548 |
|
---|
[8756] | 549 | # Identity of this package.
|
---|
| 550 | PACKAGE_NAME=
|
---|
| 551 | PACKAGE_TARNAME=
|
---|
| 552 | PACKAGE_VERSION=
|
---|
| 553 | PACKAGE_STRING=
|
---|
| 554 | PACKAGE_BUGREPORT=
|
---|
[22378] | 555 | PACKAGE_URL=
|
---|
[8756] | 556 |
|
---|
| 557 | # Factoring default headers for most tests.
|
---|
| 558 | ac_includes_default="\
|
---|
| 559 | #include <stdio.h>
|
---|
[22378] | 560 | #ifdef HAVE_SYS_TYPES_H
|
---|
[8756] | 561 | # include <sys/types.h>
|
---|
| 562 | #endif
|
---|
[22378] | 563 | #ifdef HAVE_SYS_STAT_H
|
---|
[8756] | 564 | # include <sys/stat.h>
|
---|
| 565 | #endif
|
---|
[22378] | 566 | #ifdef STDC_HEADERS
|
---|
[8756] | 567 | # include <stdlib.h>
|
---|
| 568 | # include <stddef.h>
|
---|
| 569 | #else
|
---|
[22378] | 570 | # ifdef HAVE_STDLIB_H
|
---|
[8756] | 571 | # include <stdlib.h>
|
---|
| 572 | # endif
|
---|
| 573 | #endif
|
---|
[22378] | 574 | #ifdef HAVE_STRING_H
|
---|
| 575 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[8756] | 576 | # include <memory.h>
|
---|
| 577 | # endif
|
---|
| 578 | # include <string.h>
|
---|
| 579 | #endif
|
---|
[22378] | 580 | #ifdef HAVE_STRINGS_H
|
---|
[8756] | 581 | # include <strings.h>
|
---|
| 582 | #endif
|
---|
[22378] | 583 | #ifdef HAVE_INTTYPES_H
|
---|
[8756] | 584 | # include <inttypes.h>
|
---|
| 585 | #endif
|
---|
[22378] | 586 | #ifdef HAVE_STDINT_H
|
---|
| 587 | # include <stdint.h>
|
---|
| 588 | #endif
|
---|
| 589 | #ifdef HAVE_UNISTD_H
|
---|
[8756] | 590 | # include <unistd.h>
|
---|
| 591 | #endif"
|
---|
| 592 |
|
---|
[22378] | 593 | enable_option_checking=no
|
---|
| 594 | ac_subst_vars='LTLIBOBJS
|
---|
| 595 | subdirs
|
---|
| 596 | MODULEDIRS
|
---|
| 597 | gsdlos
|
---|
| 598 | STATIC
|
---|
| 599 | LIBOBJS
|
---|
| 600 | ALLOCA
|
---|
| 601 | ANSI2KNR
|
---|
| 602 | U
|
---|
| 603 | EGREP
|
---|
| 604 | GREP
|
---|
| 605 | CPP
|
---|
| 606 | MICO_VER
|
---|
| 607 | COMPAT32BITFLAGS
|
---|
| 608 | RANLIB
|
---|
| 609 | SET_MAKE
|
---|
| 610 | LN_S
|
---|
| 611 | INSTALL_DATA
|
---|
| 612 | INSTALL_SCRIPT
|
---|
| 613 | INSTALL_PROGRAM
|
---|
| 614 | target_os
|
---|
| 615 | target_vendor
|
---|
| 616 | target_cpu
|
---|
| 617 | target
|
---|
| 618 | host_os
|
---|
| 619 | host_vendor
|
---|
| 620 | host_cpu
|
---|
| 621 | host
|
---|
| 622 | build_os
|
---|
| 623 | build_vendor
|
---|
| 624 | build_cpu
|
---|
| 625 | build
|
---|
| 626 | YFLAGS
|
---|
| 627 | YACC
|
---|
| 628 | AWK
|
---|
| 629 | ac_ct_CXX
|
---|
| 630 | CXXFLAGS
|
---|
| 631 | CXX
|
---|
| 632 | OBJEXT
|
---|
| 633 | EXEEXT
|
---|
| 634 | ac_ct_CC
|
---|
| 635 | CPPFLAGS
|
---|
| 636 | CC
|
---|
| 637 | CFLAGS
|
---|
| 638 | LDFLAGS
|
---|
| 639 | ENABLE_LUCENE
|
---|
| 640 | ENABLE_MGPP
|
---|
| 641 | ENABLE_MG
|
---|
| 642 | ENABLE_JNI
|
---|
| 643 | USE_APACHE_HTTPD
|
---|
| 644 | USE_SQLITE
|
---|
| 645 | ENABLE_ACCENTFOLD
|
---|
| 646 | USE_GDBM
|
---|
| 647 | USE_JDBM
|
---|
| 648 | USE_YAZ
|
---|
| 649 | USE_Z3950
|
---|
[23356] | 650 | ENABLE_JAVA
|
---|
[22378] | 651 | MICO_DIR
|
---|
| 652 | USE_CORBA
|
---|
| 653 | USE_LANGACTION
|
---|
| 654 | USE_FASTCGI
|
---|
| 655 | VERSION
|
---|
| 656 | PACKAGE
|
---|
| 657 | target_alias
|
---|
| 658 | host_alias
|
---|
| 659 | build_alias
|
---|
| 660 | LIBS
|
---|
| 661 | ECHO_T
|
---|
| 662 | ECHO_N
|
---|
| 663 | ECHO_C
|
---|
| 664 | DEFS
|
---|
| 665 | mandir
|
---|
| 666 | localedir
|
---|
| 667 | libdir
|
---|
| 668 | psdir
|
---|
| 669 | pdfdir
|
---|
| 670 | dvidir
|
---|
| 671 | htmldir
|
---|
| 672 | infodir
|
---|
| 673 | docdir
|
---|
| 674 | oldincludedir
|
---|
| 675 | includedir
|
---|
| 676 | localstatedir
|
---|
| 677 | sharedstatedir
|
---|
| 678 | sysconfdir
|
---|
| 679 | datadir
|
---|
| 680 | datarootdir
|
---|
| 681 | libexecdir
|
---|
| 682 | sbindir
|
---|
| 683 | bindir
|
---|
| 684 | program_transform_name
|
---|
| 685 | prefix
|
---|
| 686 | exec_prefix
|
---|
| 687 | PACKAGE_URL
|
---|
| 688 | PACKAGE_BUGREPORT
|
---|
| 689 | PACKAGE_STRING
|
---|
| 690 | PACKAGE_VERSION
|
---|
| 691 | PACKAGE_TARNAME
|
---|
| 692 | PACKAGE_NAME
|
---|
| 693 | PATH_SEPARATOR
|
---|
| 694 | SHELL'
|
---|
[8756] | 695 | ac_subst_files=''
|
---|
[22378] | 696 | ac_user_opts='
|
---|
| 697 | enable_option_checking
|
---|
| 698 | enable_corba
|
---|
| 699 | with_micodir
|
---|
[23356] | 700 | enable_java
|
---|
[22378] | 701 | enable_z3950
|
---|
| 702 | enable_yaz
|
---|
| 703 | enable_jdbm
|
---|
| 704 | enable_gdbm
|
---|
| 705 | enable_accentfold
|
---|
| 706 | enable_sqlite
|
---|
| 707 | enable_apache_httpd
|
---|
| 708 | enable_jni
|
---|
| 709 | enable_mg
|
---|
| 710 | enable_mgpp
|
---|
| 711 | enable_lucene
|
---|
| 712 | with_dmalloc
|
---|
| 713 | with_regex
|
---|
| 714 | '
|
---|
| 715 | ac_precious_vars='build_alias
|
---|
| 716 | host_alias
|
---|
| 717 | target_alias
|
---|
| 718 | CC
|
---|
| 719 | CFLAGS
|
---|
| 720 | LDFLAGS
|
---|
| 721 | LIBS
|
---|
| 722 | CPPFLAGS
|
---|
| 723 | CXX
|
---|
| 724 | CXXFLAGS
|
---|
| 725 | CCC
|
---|
| 726 | YACC
|
---|
| 727 | YFLAGS
|
---|
| 728 | CPP'
|
---|
| 729 | ac_subdirs_all='common-src
|
---|
| 730 | build-src
|
---|
| 731 | runtime-src'
|
---|
[8756] | 732 |
|
---|
[562] | 733 | # Initialize some variables set by options.
|
---|
[8756] | 734 | ac_init_help=
|
---|
| 735 | ac_init_version=false
|
---|
[22378] | 736 | ac_unrecognized_opts=
|
---|
| 737 | ac_unrecognized_sep=
|
---|
[562] | 738 | # The variables have the same names as the options, with
|
---|
| 739 | # dashes changed to underlines.
|
---|
[8756] | 740 | cache_file=/dev/null
|
---|
[562] | 741 | exec_prefix=NONE
|
---|
| 742 | no_create=
|
---|
| 743 | no_recursion=
|
---|
| 744 | prefix=NONE
|
---|
| 745 | program_prefix=NONE
|
---|
| 746 | program_suffix=NONE
|
---|
| 747 | program_transform_name=s,x,x,
|
---|
| 748 | silent=
|
---|
| 749 | site=
|
---|
| 750 | srcdir=
|
---|
| 751 | verbose=
|
---|
| 752 | x_includes=NONE
|
---|
| 753 | x_libraries=NONE
|
---|
[8756] | 754 |
|
---|
| 755 | # Installation directory options.
|
---|
| 756 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 757 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 758 | # by default will actually change.
|
---|
| 759 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[22378] | 760 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[562] | 761 | bindir='${exec_prefix}/bin'
|
---|
| 762 | sbindir='${exec_prefix}/sbin'
|
---|
| 763 | libexecdir='${exec_prefix}/libexec'
|
---|
[22378] | 764 | datarootdir='${prefix}/share'
|
---|
| 765 | datadir='${datarootdir}'
|
---|
[562] | 766 | sysconfdir='${prefix}/etc'
|
---|
| 767 | sharedstatedir='${prefix}/com'
|
---|
| 768 | localstatedir='${prefix}/var'
|
---|
| 769 | includedir='${prefix}/include'
|
---|
| 770 | oldincludedir='/usr/include'
|
---|
[22378] | 771 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 772 | infodir='${datarootdir}/info'
|
---|
| 773 | htmldir='${docdir}'
|
---|
| 774 | dvidir='${docdir}'
|
---|
| 775 | pdfdir='${docdir}'
|
---|
| 776 | psdir='${docdir}'
|
---|
| 777 | libdir='${exec_prefix}/lib'
|
---|
| 778 | localedir='${datarootdir}/locale'
|
---|
| 779 | mandir='${datarootdir}/man'
|
---|
[562] | 780 |
|
---|
| 781 | ac_prev=
|
---|
[22378] | 782 | ac_dashdash=
|
---|
[562] | 783 | for ac_option
|
---|
| 784 | do
|
---|
| 785 | # If the previous option needs an argument, assign it.
|
---|
| 786 | if test -n "$ac_prev"; then
|
---|
[22378] | 787 | eval $ac_prev=\$ac_option
|
---|
[562] | 788 | ac_prev=
|
---|
| 789 | continue
|
---|
| 790 | fi
|
---|
| 791 |
|
---|
[22378] | 792 | case $ac_option in
|
---|
[23356] | 793 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 794 | *=) ac_optarg= ;;
|
---|
| 795 | *) ac_optarg=yes ;;
|
---|
[22378] | 796 | esac
|
---|
[562] | 797 |
|
---|
| 798 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 799 |
|
---|
[22378] | 800 | case $ac_dashdash$ac_option in
|
---|
| 801 | --)
|
---|
| 802 | ac_dashdash=yes ;;
|
---|
[562] | 803 |
|
---|
| 804 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 805 | ac_prev=bindir ;;
|
---|
| 806 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
[8756] | 807 | bindir=$ac_optarg ;;
|
---|
[562] | 808 |
|
---|
| 809 | -build | --build | --buil | --bui | --bu)
|
---|
[8756] | 810 | ac_prev=build_alias ;;
|
---|
[562] | 811 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
[8756] | 812 | build_alias=$ac_optarg ;;
|
---|
[562] | 813 |
|
---|
| 814 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 815 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 816 | ac_prev=cache_file ;;
|
---|
| 817 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 818 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
[8756] | 819 | cache_file=$ac_optarg ;;
|
---|
[562] | 820 |
|
---|
[8756] | 821 | --config-cache | -C)
|
---|
| 822 | cache_file=config.cache ;;
|
---|
| 823 |
|
---|
[22378] | 824 | -datadir | --datadir | --datadi | --datad)
|
---|
[562] | 825 | ac_prev=datadir ;;
|
---|
[22378] | 826 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[8756] | 827 | datadir=$ac_optarg ;;
|
---|
[562] | 828 |
|
---|
[22378] | 829 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 830 | | --dataroo | --dataro | --datar)
|
---|
| 831 | ac_prev=datarootdir ;;
|
---|
| 832 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 833 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 834 | datarootdir=$ac_optarg ;;
|
---|
| 835 |
|
---|
[562] | 836 | -disable-* | --disable-*)
|
---|
[22378] | 837 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[562] | 838 | # Reject names that are not valid shell variable names.
|
---|
[22378] | 839 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[23356] | 840 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[22378] | 841 | ac_useropt_orig=$ac_useropt
|
---|
| 842 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 843 | case $ac_user_opts in
|
---|
| 844 | *"
|
---|
| 845 | "enable_$ac_useropt"
|
---|
| 846 | "*) ;;
|
---|
| 847 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 848 | ac_unrecognized_sep=', ';;
|
---|
| 849 | esac
|
---|
| 850 | eval enable_$ac_useropt=no ;;
|
---|
[562] | 851 |
|
---|
[22378] | 852 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 853 | ac_prev=docdir ;;
|
---|
| 854 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 855 | docdir=$ac_optarg ;;
|
---|
| 856 |
|
---|
| 857 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 858 | ac_prev=dvidir ;;
|
---|
| 859 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 860 | dvidir=$ac_optarg ;;
|
---|
| 861 |
|
---|
[562] | 862 | -enable-* | --enable-*)
|
---|
[22378] | 863 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[562] | 864 | # Reject names that are not valid shell variable names.
|
---|
[22378] | 865 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[23356] | 866 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[22378] | 867 | ac_useropt_orig=$ac_useropt
|
---|
| 868 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 869 | case $ac_user_opts in
|
---|
| 870 | *"
|
---|
| 871 | "enable_$ac_useropt"
|
---|
| 872 | "*) ;;
|
---|
| 873 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 874 | ac_unrecognized_sep=', ';;
|
---|
[20853] | 875 | esac
|
---|
[22378] | 876 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[562] | 877 |
|
---|
| 878 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 879 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 880 | | --exec | --exe | --ex)
|
---|
| 881 | ac_prev=exec_prefix ;;
|
---|
| 882 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 883 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 884 | | --exec=* | --exe=* | --ex=*)
|
---|
[8756] | 885 | exec_prefix=$ac_optarg ;;
|
---|
[562] | 886 |
|
---|
| 887 | -gas | --gas | --ga | --g)
|
---|
| 888 | # Obsolete; use --with-gas.
|
---|
| 889 | with_gas=yes ;;
|
---|
| 890 |
|
---|
[8756] | 891 | -help | --help | --hel | --he | -h)
|
---|
| 892 | ac_init_help=long ;;
|
---|
| 893 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 894 | ac_init_help=recursive ;;
|
---|
| 895 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 896 | ac_init_help=short ;;
|
---|
[562] | 897 |
|
---|
| 898 | -host | --host | --hos | --ho)
|
---|
[8756] | 899 | ac_prev=host_alias ;;
|
---|
[562] | 900 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
[8756] | 901 | host_alias=$ac_optarg ;;
|
---|
[562] | 902 |
|
---|
[22378] | 903 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 904 | ac_prev=htmldir ;;
|
---|
| 905 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 906 | | --ht=*)
|
---|
| 907 | htmldir=$ac_optarg ;;
|
---|
| 908 |
|
---|
[562] | 909 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 910 | | --includ | --inclu | --incl | --inc)
|
---|
| 911 | ac_prev=includedir ;;
|
---|
| 912 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 913 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
[8756] | 914 | includedir=$ac_optarg ;;
|
---|
[562] | 915 |
|
---|
| 916 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 917 | ac_prev=infodir ;;
|
---|
| 918 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
[8756] | 919 | infodir=$ac_optarg ;;
|
---|
[562] | 920 |
|
---|
| 921 | -libdir | --libdir | --libdi | --libd)
|
---|
| 922 | ac_prev=libdir ;;
|
---|
| 923 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
[8756] | 924 | libdir=$ac_optarg ;;
|
---|
[562] | 925 |
|
---|
| 926 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 927 | | --libexe | --libex | --libe)
|
---|
| 928 | ac_prev=libexecdir ;;
|
---|
| 929 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 930 | | --libexe=* | --libex=* | --libe=*)
|
---|
[8756] | 931 | libexecdir=$ac_optarg ;;
|
---|
[562] | 932 |
|
---|
[22378] | 933 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 934 | ac_prev=localedir ;;
|
---|
| 935 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 936 | localedir=$ac_optarg ;;
|
---|
| 937 |
|
---|
[562] | 938 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[22378] | 939 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[562] | 940 | ac_prev=localstatedir ;;
|
---|
| 941 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[22378] | 942 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[8756] | 943 | localstatedir=$ac_optarg ;;
|
---|
[562] | 944 |
|
---|
| 945 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 946 | ac_prev=mandir ;;
|
---|
| 947 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
[8756] | 948 | mandir=$ac_optarg ;;
|
---|
[562] | 949 |
|
---|
| 950 | -nfp | --nfp | --nf)
|
---|
| 951 | # Obsolete; use --without-fp.
|
---|
| 952 | with_fp=no ;;
|
---|
| 953 |
|
---|
| 954 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
[8756] | 955 | | --no-cr | --no-c | -n)
|
---|
[562] | 956 | no_create=yes ;;
|
---|
| 957 |
|
---|
| 958 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 959 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 960 | no_recursion=yes ;;
|
---|
| 961 |
|
---|
| 962 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 963 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 964 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 965 | ac_prev=oldincludedir ;;
|
---|
| 966 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 967 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 968 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
[8756] | 969 | oldincludedir=$ac_optarg ;;
|
---|
[562] | 970 |
|
---|
| 971 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 972 | ac_prev=prefix ;;
|
---|
| 973 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
[8756] | 974 | prefix=$ac_optarg ;;
|
---|
[562] | 975 |
|
---|
| 976 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 977 | | --program-pre | --program-pr | --program-p)
|
---|
| 978 | ac_prev=program_prefix ;;
|
---|
| 979 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 980 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
[8756] | 981 | program_prefix=$ac_optarg ;;
|
---|
[562] | 982 |
|
---|
| 983 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 984 | | --program-suf | --program-su | --program-s)
|
---|
| 985 | ac_prev=program_suffix ;;
|
---|
| 986 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 987 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
[8756] | 988 | program_suffix=$ac_optarg ;;
|
---|
[562] | 989 |
|
---|
| 990 | -program-transform-name | --program-transform-name \
|
---|
| 991 | | --program-transform-nam | --program-transform-na \
|
---|
| 992 | | --program-transform-n | --program-transform- \
|
---|
| 993 | | --program-transform | --program-transfor \
|
---|
| 994 | | --program-transfo | --program-transf \
|
---|
| 995 | | --program-trans | --program-tran \
|
---|
| 996 | | --progr-tra | --program-tr | --program-t)
|
---|
| 997 | ac_prev=program_transform_name ;;
|
---|
| 998 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 999 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1000 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1001 | | --program-transform=* | --program-transfor=* \
|
---|
| 1002 | | --program-transfo=* | --program-transf=* \
|
---|
| 1003 | | --program-trans=* | --program-tran=* \
|
---|
| 1004 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
[8756] | 1005 | program_transform_name=$ac_optarg ;;
|
---|
[562] | 1006 |
|
---|
[22378] | 1007 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1008 | ac_prev=pdfdir ;;
|
---|
| 1009 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1010 | pdfdir=$ac_optarg ;;
|
---|
| 1011 |
|
---|
| 1012 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1013 | ac_prev=psdir ;;
|
---|
| 1014 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1015 | psdir=$ac_optarg ;;
|
---|
| 1016 |
|
---|
[562] | 1017 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1018 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1019 | silent=yes ;;
|
---|
| 1020 |
|
---|
| 1021 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1022 | ac_prev=sbindir ;;
|
---|
| 1023 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1024 | | --sbi=* | --sb=*)
|
---|
[8756] | 1025 | sbindir=$ac_optarg ;;
|
---|
[562] | 1026 |
|
---|
| 1027 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1028 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1029 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1030 | | --sha | --sh)
|
---|
| 1031 | ac_prev=sharedstatedir ;;
|
---|
| 1032 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1033 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1034 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1035 | | --sha=* | --sh=*)
|
---|
[8756] | 1036 | sharedstatedir=$ac_optarg ;;
|
---|
[562] | 1037 |
|
---|
| 1038 | -site | --site | --sit)
|
---|
| 1039 | ac_prev=site ;;
|
---|
| 1040 | -site=* | --site=* | --sit=*)
|
---|
[8756] | 1041 | site=$ac_optarg ;;
|
---|
[562] | 1042 |
|
---|
| 1043 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1044 | ac_prev=srcdir ;;
|
---|
| 1045 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
[8756] | 1046 | srcdir=$ac_optarg ;;
|
---|
[562] | 1047 |
|
---|
| 1048 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1049 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1050 | ac_prev=sysconfdir ;;
|
---|
| 1051 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1052 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
[8756] | 1053 | sysconfdir=$ac_optarg ;;
|
---|
[562] | 1054 |
|
---|
| 1055 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
[8756] | 1056 | ac_prev=target_alias ;;
|
---|
[562] | 1057 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
[8756] | 1058 | target_alias=$ac_optarg ;;
|
---|
[562] | 1059 |
|
---|
| 1060 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1061 | verbose=yes ;;
|
---|
| 1062 |
|
---|
[8756] | 1063 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1064 | ac_init_version=: ;;
|
---|
[562] | 1065 |
|
---|
| 1066 | -with-* | --with-*)
|
---|
[22378] | 1067 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[562] | 1068 | # Reject names that are not valid shell variable names.
|
---|
[22378] | 1069 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[23356] | 1070 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[22378] | 1071 | ac_useropt_orig=$ac_useropt
|
---|
| 1072 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1073 | case $ac_user_opts in
|
---|
| 1074 | *"
|
---|
| 1075 | "with_$ac_useropt"
|
---|
| 1076 | "*) ;;
|
---|
| 1077 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1078 | ac_unrecognized_sep=', ';;
|
---|
[20853] | 1079 | esac
|
---|
[22378] | 1080 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[562] | 1081 |
|
---|
| 1082 | -without-* | --without-*)
|
---|
[22378] | 1083 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[562] | 1084 | # Reject names that are not valid shell variable names.
|
---|
[22378] | 1085 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[23356] | 1086 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[22378] | 1087 | ac_useropt_orig=$ac_useropt
|
---|
| 1088 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1089 | case $ac_user_opts in
|
---|
| 1090 | *"
|
---|
| 1091 | "with_$ac_useropt"
|
---|
| 1092 | "*) ;;
|
---|
| 1093 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1094 | ac_unrecognized_sep=', ';;
|
---|
| 1095 | esac
|
---|
| 1096 | eval with_$ac_useropt=no ;;
|
---|
[562] | 1097 |
|
---|
| 1098 | --x)
|
---|
| 1099 | # Obsolete; use --with-x.
|
---|
| 1100 | with_x=yes ;;
|
---|
| 1101 |
|
---|
| 1102 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1103 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1104 | ac_prev=x_includes ;;
|
---|
| 1105 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1106 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
[8756] | 1107 | x_includes=$ac_optarg ;;
|
---|
[562] | 1108 |
|
---|
| 1109 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1110 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1111 | ac_prev=x_libraries ;;
|
---|
| 1112 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1113 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
[8756] | 1114 | x_libraries=$ac_optarg ;;
|
---|
[562] | 1115 |
|
---|
[23356] | 1116 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1117 | Try \`$0 --help' for more information"
|
---|
[562] | 1118 | ;;
|
---|
| 1119 |
|
---|
[8756] | 1120 | *=*)
|
---|
| 1121 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1122 | # Reject names that are not valid shell variable names.
|
---|
[22378] | 1123 | case $ac_envvar in #(
|
---|
| 1124 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
[23356] | 1125 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
[22378] | 1126 | esac
|
---|
| 1127 | eval $ac_envvar=\$ac_optarg
|
---|
[8756] | 1128 | export $ac_envvar ;;
|
---|
| 1129 |
|
---|
[562] | 1130 | *)
|
---|
[8756] | 1131 | # FIXME: should be removed in autoconf 3.0.
|
---|
[22378] | 1132 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[8756] | 1133 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[22378] | 1134 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[8756] | 1135 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
[562] | 1136 | ;;
|
---|
| 1137 |
|
---|
| 1138 | esac
|
---|
| 1139 | done
|
---|
| 1140 |
|
---|
| 1141 | if test -n "$ac_prev"; then
|
---|
[8756] | 1142 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[23356] | 1143 | as_fn_error $? "missing argument to $ac_option"
|
---|
[562] | 1144 | fi
|
---|
| 1145 |
|
---|
[22378] | 1146 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1147 | case $enable_option_checking in
|
---|
| 1148 | no) ;;
|
---|
[23356] | 1149 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
[22378] | 1150 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[8756] | 1151 | esac
|
---|
[22378] | 1152 | fi
|
---|
[8200] | 1153 |
|
---|
[22378] | 1154 | # Check all directory arguments for consistency.
|
---|
| 1155 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1156 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1157 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1158 | libdir localedir mandir
|
---|
[20853] | 1159 | do
|
---|
[22378] | 1160 | eval ac_val=\$$ac_var
|
---|
| 1161 | # Remove trailing slashes.
|
---|
[20853] | 1162 | case $ac_val in
|
---|
[22378] | 1163 | */ )
|
---|
| 1164 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1165 | eval $ac_var=\$ac_val;;
|
---|
[20853] | 1166 | esac
|
---|
[22378] | 1167 | # Be sure to have absolute directory names.
|
---|
| 1168 | case $ac_val in
|
---|
| 1169 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1170 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1171 | esac
|
---|
[23356] | 1172 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
[20853] | 1173 | done
|
---|
| 1174 |
|
---|
[8756] | 1175 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1176 | # used to hold the argument of --host etc.
|
---|
| 1177 | # FIXME: To remove some day.
|
---|
| 1178 | build=$build_alias
|
---|
| 1179 | host=$host_alias
|
---|
| 1180 | target=$target_alias
|
---|
[562] | 1181 |
|
---|
[8756] | 1182 | # FIXME: To remove some day.
|
---|
| 1183 | if test "x$host_alias" != x; then
|
---|
| 1184 | if test "x$build_alias" = x; then
|
---|
| 1185 | cross_compiling=maybe
|
---|
[23356] | 1186 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
---|
| 1187 | If a cross compiler is detected then cross compile mode will be used" >&2
|
---|
[8756] | 1188 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1189 | cross_compiling=yes
|
---|
| 1190 | fi
|
---|
| 1191 | fi
|
---|
[562] | 1192 |
|
---|
[8756] | 1193 | ac_tool_prefix=
|
---|
| 1194 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
[562] | 1195 |
|
---|
[8756] | 1196 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1197 |
|
---|
| 1198 |
|
---|
[22378] | 1199 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1200 | ac_ls_di=`ls -di .` &&
|
---|
| 1201 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
[23356] | 1202 | as_fn_error $? "working directory cannot be determined"
|
---|
[22378] | 1203 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
[23356] | 1204 | as_fn_error $? "pwd does not report name of working directory"
|
---|
[22378] | 1205 |
|
---|
| 1206 |
|
---|
[562] | 1207 | # Find the source files, if location was not specified.
|
---|
| 1208 | if test -z "$srcdir"; then
|
---|
| 1209 | ac_srcdir_defaulted=yes
|
---|
[22378] | 1210 | # Try the directory containing this script, then the parent directory.
|
---|
| 1211 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1212 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1213 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1214 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1215 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1216 | $as_echo X"$as_myself" |
|
---|
| 1217 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1218 | s//\1/
|
---|
| 1219 | q
|
---|
| 1220 | }
|
---|
| 1221 | /^X\(\/\/\)[^/].*/{
|
---|
| 1222 | s//\1/
|
---|
| 1223 | q
|
---|
| 1224 | }
|
---|
| 1225 | /^X\(\/\/\)$/{
|
---|
| 1226 | s//\1/
|
---|
| 1227 | q
|
---|
| 1228 | }
|
---|
| 1229 | /^X\(\/\).*/{
|
---|
| 1230 | s//\1/
|
---|
| 1231 | q
|
---|
| 1232 | }
|
---|
| 1233 | s/.*/./; q'`
|
---|
[562] | 1234 | srcdir=$ac_confdir
|
---|
[22378] | 1235 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[562] | 1236 | srcdir=..
|
---|
| 1237 | fi
|
---|
| 1238 | else
|
---|
| 1239 | ac_srcdir_defaulted=no
|
---|
| 1240 | fi
|
---|
[22378] | 1241 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1242 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
[23356] | 1243 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
[20842] | 1244 | fi
|
---|
[22378] | 1245 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1246 | ac_abs_confdir=`(
|
---|
[23356] | 1247 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
[22378] | 1248 | pwd)`
|
---|
| 1249 | # When building in place, set srcdir=.
|
---|
| 1250 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1251 | srcdir=.
|
---|
| 1252 | fi
|
---|
| 1253 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1254 | # Double slashes in file names in object file debugging info
|
---|
| 1255 | # mess up M-x gdb in Emacs.
|
---|
| 1256 | case $srcdir in
|
---|
| 1257 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1258 | esac
|
---|
| 1259 | for ac_var in $ac_precious_vars; do
|
---|
| 1260 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1261 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1262 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1263 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1264 | done
|
---|
[562] | 1265 |
|
---|
[8756] | 1266 | #
|
---|
| 1267 | # Report the --help message.
|
---|
| 1268 | #
|
---|
| 1269 | if test "$ac_init_help" = "long"; then
|
---|
| 1270 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1271 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1272 | cat <<_ACEOF
|
---|
| 1273 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1274 |
|
---|
| 1275 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1276 |
|
---|
| 1277 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1278 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1279 |
|
---|
| 1280 | Defaults for the options are specified in brackets.
|
---|
| 1281 |
|
---|
| 1282 | Configuration:
|
---|
| 1283 | -h, --help display this help and exit
|
---|
| 1284 | --help=short display options specific to this package
|
---|
| 1285 | --help=recursive display the short help of all the included packages
|
---|
| 1286 | -V, --version display version information and exit
|
---|
[23356] | 1287 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
[8756] | 1288 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1289 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1290 | -n, --no-create do not create output files
|
---|
| 1291 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1292 |
|
---|
| 1293 | Installation directories:
|
---|
| 1294 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[22378] | 1295 | [$ac_default_prefix]
|
---|
[8756] | 1296 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[22378] | 1297 | [PREFIX]
|
---|
[8756] | 1298 |
|
---|
| 1299 | By default, \`make install' will install all the files in
|
---|
| 1300 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1301 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1302 | for instance \`--prefix=\$HOME'.
|
---|
| 1303 |
|
---|
| 1304 | For better control, use the options below.
|
---|
| 1305 |
|
---|
| 1306 | Fine tuning of the installation directories:
|
---|
[22378] | 1307 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1308 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1309 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1310 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1311 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1312 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1313 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1314 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1315 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1316 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1317 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1318 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1319 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1320 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1321 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1322 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1323 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1324 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1325 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[8756] | 1326 | _ACEOF
|
---|
| 1327 |
|
---|
| 1328 | cat <<\_ACEOF
|
---|
| 1329 |
|
---|
| 1330 | System types:
|
---|
| 1331 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1332 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1333 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1334 | _ACEOF
|
---|
| 1335 | fi
|
---|
| 1336 |
|
---|
| 1337 | if test -n "$ac_init_help"; then
|
---|
| 1338 |
|
---|
| 1339 | cat <<\_ACEOF
|
---|
| 1340 |
|
---|
| 1341 | Optional Features:
|
---|
[22378] | 1342 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
[8756] | 1343 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1344 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1345 | --enable-corba Enable CORBA support
|
---|
[23356] | 1346 | --disable-java Disable Java compilation
|
---|
[8756] | 1347 | --enable-z3950 Enable Z39.50 client support
|
---|
[15816] | 1348 | --disable-yaz Disable YAZ compilation
|
---|
[23356] | 1349 | --disable-jdbm Disable JDBM compilation
|
---|
| 1350 | --disable-gdbm Disable GDBM compilation
|
---|
[15816] | 1351 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
[16288] | 1352 | --disable-sqlite Disable SQLite support
|
---|
[23356] | 1353 | --enable-apache-httpd Enable Apache httpd support
|
---|
| 1354 | --enable-jni Enable JNI compilation
|
---|
| 1355 | --disable-mg Disable MG compilation
|
---|
| 1356 | --disable-mgpp Disable MGPP compilation
|
---|
[21330] | 1357 | --disable-lucene Disable Lucene compilation
|
---|
[8756] | 1358 |
|
---|
| 1359 | Optional Packages:
|
---|
| 1360 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1361 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1362 | --with-micodir Use installed MICO directory
|
---|
| 1363 | --with-dmalloc use dmalloc, as in
|
---|
| 1364 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1365 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1366 |
|
---|
| 1367 | Some influential environment variables:
|
---|
| 1368 | CC C compiler command
|
---|
| 1369 | CFLAGS C compiler flags
|
---|
| 1370 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1371 | nonstandard directory <lib dir>
|
---|
[22378] | 1372 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
| 1373 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
| 1374 | you have headers in a nonstandard directory <include dir>
|
---|
[8756] | 1375 | CXX C++ compiler command
|
---|
| 1376 | CXXFLAGS C++ compiler flags
|
---|
[22378] | 1377 | YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
---|
| 1378 | the first program found out of: `bison -y', `byacc', `yacc'.
|
---|
| 1379 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1380 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1381 | default value of `-d' given by some make applications.
|
---|
[8756] | 1382 | CPP C preprocessor
|
---|
| 1383 |
|
---|
| 1384 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1385 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1386 |
|
---|
[22378] | 1387 | Report bugs to the package provider.
|
---|
[8756] | 1388 | _ACEOF
|
---|
[22378] | 1389 | ac_status=$?
|
---|
[8756] | 1390 | fi
|
---|
| 1391 |
|
---|
| 1392 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1393 | # If there are subdirs, report their specific --help.
|
---|
| 1394 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[22378] | 1395 | test -d "$ac_dir" ||
|
---|
| 1396 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1397 | continue
|
---|
[8756] | 1398 | ac_builddir=.
|
---|
| 1399 |
|
---|
[22378] | 1400 | case "$ac_dir" in
|
---|
| 1401 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1402 | *)
|
---|
| 1403 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1404 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1405 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1406 | case $ac_top_builddir_sub in
|
---|
| 1407 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1408 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1409 | esac ;;
|
---|
| 1410 | esac
|
---|
| 1411 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1412 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1413 | # for backward compatibility:
|
---|
| 1414 | ac_top_builddir=$ac_top_build_prefix
|
---|
[8756] | 1415 |
|
---|
| 1416 | case $srcdir in
|
---|
[22378] | 1417 | .) # We are building in place.
|
---|
[8756] | 1418 | ac_srcdir=.
|
---|
[22378] | 1419 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1420 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1421 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[8756] | 1422 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[22378] | 1423 | ac_top_srcdir=$srcdir
|
---|
| 1424 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1425 | *) # Relative name.
|
---|
| 1426 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1427 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1428 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[8756] | 1429 | esac
|
---|
[22378] | 1430 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[8756] | 1431 |
|
---|
[22378] | 1432 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1433 | # Check for guested configure.
|
---|
| 1434 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1435 | echo &&
|
---|
| 1436 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1437 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1438 | echo &&
|
---|
| 1439 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[8756] | 1440 | else
|
---|
[22378] | 1441 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1442 | fi || ac_status=$?
|
---|
| 1443 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[8756] | 1444 | done
|
---|
| 1445 | fi
|
---|
| 1446 |
|
---|
[22378] | 1447 | test -n "$ac_init_help" && exit $ac_status
|
---|
[8756] | 1448 | if $ac_init_version; then
|
---|
| 1449 | cat <<\_ACEOF
|
---|
[22378] | 1450 | configure
|
---|
[23356] | 1451 | generated by GNU Autoconf 2.67
|
---|
[8756] | 1452 |
|
---|
[23356] | 1453 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[8756] | 1454 | This configure script is free software; the Free Software Foundation
|
---|
| 1455 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1456 | _ACEOF
|
---|
[22378] | 1457 | exit
|
---|
[8756] | 1458 | fi
|
---|
[22378] | 1459 |
|
---|
| 1460 | ## ------------------------ ##
|
---|
| 1461 | ## Autoconf initialization. ##
|
---|
| 1462 | ## ------------------------ ##
|
---|
| 1463 |
|
---|
| 1464 | # ac_fn_c_try_compile LINENO
|
---|
| 1465 | # --------------------------
|
---|
| 1466 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1467 | ac_fn_c_try_compile ()
|
---|
| 1468 | {
|
---|
| 1469 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1470 | rm -f conftest.$ac_objext
|
---|
| 1471 | if { { ac_try="$ac_compile"
|
---|
| 1472 | case "(($ac_try" in
|
---|
| 1473 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1474 | *) ac_try_echo=$ac_try;;
|
---|
| 1475 | esac
|
---|
| 1476 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1477 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1478 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1479 | ac_status=$?
|
---|
| 1480 | if test -s conftest.err; then
|
---|
| 1481 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1482 | cat conftest.er1 >&5
|
---|
| 1483 | mv -f conftest.er1 conftest.err
|
---|
| 1484 | fi
|
---|
| 1485 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1486 | test $ac_status = 0; } && {
|
---|
| 1487 | test -z "$ac_c_werror_flag" ||
|
---|
| 1488 | test ! -s conftest.err
|
---|
| 1489 | } && test -s conftest.$ac_objext; then :
|
---|
| 1490 | ac_retval=0
|
---|
| 1491 | else
|
---|
| 1492 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1493 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1494 |
|
---|
| 1495 | ac_retval=1
|
---|
| 1496 | fi
|
---|
| 1497 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1498 | as_fn_set_status $ac_retval
|
---|
| 1499 |
|
---|
| 1500 | } # ac_fn_c_try_compile
|
---|
| 1501 |
|
---|
| 1502 | # ac_fn_cxx_try_compile LINENO
|
---|
| 1503 | # ----------------------------
|
---|
| 1504 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1505 | ac_fn_cxx_try_compile ()
|
---|
| 1506 | {
|
---|
| 1507 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1508 | rm -f conftest.$ac_objext
|
---|
| 1509 | if { { ac_try="$ac_compile"
|
---|
| 1510 | case "(($ac_try" in
|
---|
| 1511 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1512 | *) ac_try_echo=$ac_try;;
|
---|
| 1513 | esac
|
---|
| 1514 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1515 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1516 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1517 | ac_status=$?
|
---|
| 1518 | if test -s conftest.err; then
|
---|
| 1519 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1520 | cat conftest.er1 >&5
|
---|
| 1521 | mv -f conftest.er1 conftest.err
|
---|
| 1522 | fi
|
---|
| 1523 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1524 | test $ac_status = 0; } && {
|
---|
| 1525 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 1526 | test ! -s conftest.err
|
---|
| 1527 | } && test -s conftest.$ac_objext; then :
|
---|
| 1528 | ac_retval=0
|
---|
| 1529 | else
|
---|
| 1530 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1531 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1532 |
|
---|
| 1533 | ac_retval=1
|
---|
| 1534 | fi
|
---|
| 1535 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1536 | as_fn_set_status $ac_retval
|
---|
| 1537 |
|
---|
| 1538 | } # ac_fn_cxx_try_compile
|
---|
| 1539 |
|
---|
| 1540 | # ac_fn_c_try_cpp LINENO
|
---|
| 1541 | # ----------------------
|
---|
| 1542 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1543 | ac_fn_c_try_cpp ()
|
---|
| 1544 | {
|
---|
| 1545 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1546 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 1547 | case "(($ac_try" in
|
---|
| 1548 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1549 | *) ac_try_echo=$ac_try;;
|
---|
| 1550 | esac
|
---|
| 1551 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1552 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1553 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
| 1554 | ac_status=$?
|
---|
| 1555 | if test -s conftest.err; then
|
---|
| 1556 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1557 | cat conftest.er1 >&5
|
---|
| 1558 | mv -f conftest.er1 conftest.err
|
---|
| 1559 | fi
|
---|
| 1560 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
[23356] | 1561 | test $ac_status = 0; } > conftest.i && {
|
---|
[22378] | 1562 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 1563 | test ! -s conftest.err
|
---|
| 1564 | }; then :
|
---|
| 1565 | ac_retval=0
|
---|
| 1566 | else
|
---|
| 1567 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1568 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1569 |
|
---|
| 1570 | ac_retval=1
|
---|
| 1571 | fi
|
---|
| 1572 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1573 | as_fn_set_status $ac_retval
|
---|
| 1574 |
|
---|
| 1575 | } # ac_fn_c_try_cpp
|
---|
| 1576 |
|
---|
| 1577 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
---|
| 1578 | # -------------------------------------------------------
|
---|
| 1579 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
---|
| 1580 | # the include files in INCLUDES and setting the cache variable VAR
|
---|
| 1581 | # accordingly.
|
---|
| 1582 | ac_fn_c_check_header_mongrel ()
|
---|
| 1583 | {
|
---|
| 1584 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
[23356] | 1585 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
[22378] | 1586 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1587 | $as_echo_n "checking for $2... " >&6; }
|
---|
[23356] | 1588 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
[22378] | 1589 | $as_echo_n "(cached) " >&6
|
---|
| 1590 | fi
|
---|
| 1591 | eval ac_res=\$$3
|
---|
| 1592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1593 | $as_echo "$ac_res" >&6; }
|
---|
| 1594 | else
|
---|
| 1595 | # Is the header compilable?
|
---|
| 1596 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
---|
| 1597 | $as_echo_n "checking $2 usability... " >&6; }
|
---|
| 1598 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1599 | /* end confdefs.h. */
|
---|
| 1600 | $4
|
---|
| 1601 | #include <$2>
|
---|
| 1602 | _ACEOF
|
---|
| 1603 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1604 | ac_header_compiler=yes
|
---|
| 1605 | else
|
---|
| 1606 | ac_header_compiler=no
|
---|
| 1607 | fi
|
---|
| 1608 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1609 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
---|
| 1610 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 1611 |
|
---|
| 1612 | # Is the header present?
|
---|
| 1613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
---|
| 1614 | $as_echo_n "checking $2 presence... " >&6; }
|
---|
| 1615 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1616 | /* end confdefs.h. */
|
---|
| 1617 | #include <$2>
|
---|
| 1618 | _ACEOF
|
---|
| 1619 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 1620 | ac_header_preproc=yes
|
---|
| 1621 | else
|
---|
| 1622 | ac_header_preproc=no
|
---|
| 1623 | fi
|
---|
[23356] | 1624 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[22378] | 1625 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
---|
| 1626 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 1627 |
|
---|
| 1628 | # So? What about this header?
|
---|
| 1629 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
---|
| 1630 | yes:no: )
|
---|
| 1631 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 1632 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 1633 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1634 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1635 | ;;
|
---|
| 1636 | no:yes:* )
|
---|
| 1637 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
---|
| 1638 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
---|
| 1639 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
---|
| 1640 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
---|
| 1641 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
---|
| 1642 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
---|
| 1643 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 1644 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 1645 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1646 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1647 | ;;
|
---|
| 1648 | esac
|
---|
| 1649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1650 | $as_echo_n "checking for $2... " >&6; }
|
---|
[23356] | 1651 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
[22378] | 1652 | $as_echo_n "(cached) " >&6
|
---|
| 1653 | else
|
---|
| 1654 | eval "$3=\$ac_header_compiler"
|
---|
| 1655 | fi
|
---|
| 1656 | eval ac_res=\$$3
|
---|
| 1657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1658 | $as_echo "$ac_res" >&6; }
|
---|
| 1659 | fi
|
---|
| 1660 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1661 |
|
---|
| 1662 | } # ac_fn_c_check_header_mongrel
|
---|
| 1663 |
|
---|
| 1664 | # ac_fn_c_try_run LINENO
|
---|
| 1665 | # ----------------------
|
---|
| 1666 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1667 | # that executables *can* be run.
|
---|
| 1668 | ac_fn_c_try_run ()
|
---|
| 1669 | {
|
---|
| 1670 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1671 | if { { ac_try="$ac_link"
|
---|
| 1672 | case "(($ac_try" in
|
---|
| 1673 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1674 | *) ac_try_echo=$ac_try;;
|
---|
| 1675 | esac
|
---|
| 1676 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1677 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1678 | (eval "$ac_link") 2>&5
|
---|
| 1679 | ac_status=$?
|
---|
| 1680 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1681 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1682 | { { case "(($ac_try" in
|
---|
| 1683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1684 | *) ac_try_echo=$ac_try;;
|
---|
| 1685 | esac
|
---|
| 1686 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1687 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1688 | (eval "$ac_try") 2>&5
|
---|
| 1689 | ac_status=$?
|
---|
| 1690 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1691 | test $ac_status = 0; }; }; then :
|
---|
| 1692 | ac_retval=0
|
---|
| 1693 | else
|
---|
| 1694 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1695 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1696 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1697 |
|
---|
| 1698 | ac_retval=$ac_status
|
---|
| 1699 | fi
|
---|
| 1700 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1701 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1702 | as_fn_set_status $ac_retval
|
---|
| 1703 |
|
---|
| 1704 | } # ac_fn_c_try_run
|
---|
| 1705 |
|
---|
| 1706 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
| 1707 | # -------------------------------------------------------
|
---|
| 1708 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
| 1709 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
| 1710 | ac_fn_c_check_header_compile ()
|
---|
| 1711 | {
|
---|
| 1712 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1714 | $as_echo_n "checking for $2... " >&6; }
|
---|
[23356] | 1715 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
[22378] | 1716 | $as_echo_n "(cached) " >&6
|
---|
| 1717 | else
|
---|
| 1718 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1719 | /* end confdefs.h. */
|
---|
| 1720 | $4
|
---|
| 1721 | #include <$2>
|
---|
| 1722 | _ACEOF
|
---|
| 1723 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1724 | eval "$3=yes"
|
---|
| 1725 | else
|
---|
| 1726 | eval "$3=no"
|
---|
| 1727 | fi
|
---|
| 1728 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1729 | fi
|
---|
| 1730 | eval ac_res=\$$3
|
---|
| 1731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1732 | $as_echo "$ac_res" >&6; }
|
---|
| 1733 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1734 |
|
---|
| 1735 | } # ac_fn_c_check_header_compile
|
---|
| 1736 |
|
---|
| 1737 | # ac_fn_c_try_link LINENO
|
---|
| 1738 | # -----------------------
|
---|
| 1739 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1740 | ac_fn_c_try_link ()
|
---|
| 1741 | {
|
---|
| 1742 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1743 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 1744 | if { { ac_try="$ac_link"
|
---|
| 1745 | case "(($ac_try" in
|
---|
| 1746 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1747 | *) ac_try_echo=$ac_try;;
|
---|
| 1748 | esac
|
---|
| 1749 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1750 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1751 | (eval "$ac_link") 2>conftest.err
|
---|
| 1752 | ac_status=$?
|
---|
| 1753 | if test -s conftest.err; then
|
---|
| 1754 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1755 | cat conftest.er1 >&5
|
---|
| 1756 | mv -f conftest.er1 conftest.err
|
---|
| 1757 | fi
|
---|
| 1758 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1759 | test $ac_status = 0; } && {
|
---|
| 1760 | test -z "$ac_c_werror_flag" ||
|
---|
| 1761 | test ! -s conftest.err
|
---|
| 1762 | } && test -s conftest$ac_exeext && {
|
---|
| 1763 | test "$cross_compiling" = yes ||
|
---|
| 1764 | $as_test_x conftest$ac_exeext
|
---|
| 1765 | }; then :
|
---|
| 1766 | ac_retval=0
|
---|
| 1767 | else
|
---|
| 1768 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1769 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1770 |
|
---|
| 1771 | ac_retval=1
|
---|
| 1772 | fi
|
---|
| 1773 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
| 1774 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
| 1775 | # interfere with the next link command; also delete a directory that is
|
---|
| 1776 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
| 1777 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1778 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1779 | as_fn_set_status $ac_retval
|
---|
| 1780 |
|
---|
| 1781 | } # ac_fn_c_try_link
|
---|
| 1782 |
|
---|
| 1783 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
---|
| 1784 | # -------------------------------------------
|
---|
| 1785 | # Tests whether TYPE exists after having included INCLUDES, setting cache
|
---|
| 1786 | # variable VAR accordingly.
|
---|
| 1787 | ac_fn_c_check_type ()
|
---|
| 1788 | {
|
---|
| 1789 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1790 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1791 | $as_echo_n "checking for $2... " >&6; }
|
---|
[23356] | 1792 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
[22378] | 1793 | $as_echo_n "(cached) " >&6
|
---|
| 1794 | else
|
---|
| 1795 | eval "$3=no"
|
---|
| 1796 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1797 | /* end confdefs.h. */
|
---|
| 1798 | $4
|
---|
| 1799 | int
|
---|
| 1800 | main ()
|
---|
| 1801 | {
|
---|
| 1802 | if (sizeof ($2))
|
---|
| 1803 | return 0;
|
---|
| 1804 | ;
|
---|
| 1805 | return 0;
|
---|
| 1806 | }
|
---|
| 1807 | _ACEOF
|
---|
| 1808 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1810 | /* end confdefs.h. */
|
---|
| 1811 | $4
|
---|
| 1812 | int
|
---|
| 1813 | main ()
|
---|
| 1814 | {
|
---|
| 1815 | if (sizeof (($2)))
|
---|
| 1816 | return 0;
|
---|
| 1817 | ;
|
---|
| 1818 | return 0;
|
---|
| 1819 | }
|
---|
| 1820 | _ACEOF
|
---|
| 1821 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1822 |
|
---|
| 1823 | else
|
---|
| 1824 | eval "$3=yes"
|
---|
| 1825 | fi
|
---|
| 1826 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1827 | fi
|
---|
| 1828 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1829 | fi
|
---|
| 1830 | eval ac_res=\$$3
|
---|
| 1831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1832 | $as_echo "$ac_res" >&6; }
|
---|
| 1833 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1834 |
|
---|
| 1835 | } # ac_fn_c_check_type
|
---|
| 1836 |
|
---|
| 1837 | # ac_fn_c_check_func LINENO FUNC VAR
|
---|
| 1838 | # ----------------------------------
|
---|
| 1839 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
---|
| 1840 | ac_fn_c_check_func ()
|
---|
| 1841 | {
|
---|
| 1842 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1844 | $as_echo_n "checking for $2... " >&6; }
|
---|
[23356] | 1845 | if eval "test \"\${$3+set}\"" = set; then :
|
---|
[22378] | 1846 | $as_echo_n "(cached) " >&6
|
---|
| 1847 | else
|
---|
| 1848 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1849 | /* end confdefs.h. */
|
---|
| 1850 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
---|
| 1851 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 1852 | #define $2 innocuous_$2
|
---|
| 1853 |
|
---|
| 1854 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 1855 | which can conflict with char $2 (); below.
|
---|
| 1856 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 1857 | <limits.h> exists even on freestanding compilers. */
|
---|
| 1858 |
|
---|
| 1859 | #ifdef __STDC__
|
---|
| 1860 | # include <limits.h>
|
---|
| 1861 | #else
|
---|
| 1862 | # include <assert.h>
|
---|
| 1863 | #endif
|
---|
| 1864 |
|
---|
| 1865 | #undef $2
|
---|
| 1866 |
|
---|
| 1867 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 1868 | Use char because int might match the return type of a GCC
|
---|
| 1869 | builtin and then its argument prototype would still apply. */
|
---|
| 1870 | #ifdef __cplusplus
|
---|
| 1871 | extern "C"
|
---|
| 1872 | #endif
|
---|
| 1873 | char $2 ();
|
---|
| 1874 | /* The GNU C library defines this for functions which it implements
|
---|
| 1875 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 1876 | something starting with __ and the normal name is an alias. */
|
---|
| 1877 | #if defined __stub_$2 || defined __stub___$2
|
---|
| 1878 | choke me
|
---|
| 1879 | #endif
|
---|
| 1880 |
|
---|
| 1881 | int
|
---|
| 1882 | main ()
|
---|
| 1883 | {
|
---|
| 1884 | return $2 ();
|
---|
| 1885 | ;
|
---|
| 1886 | return 0;
|
---|
| 1887 | }
|
---|
| 1888 | _ACEOF
|
---|
| 1889 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 1890 | eval "$3=yes"
|
---|
| 1891 | else
|
---|
| 1892 | eval "$3=no"
|
---|
| 1893 | fi
|
---|
| 1894 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 1895 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 1896 | fi
|
---|
| 1897 | eval ac_res=\$$3
|
---|
| 1898 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1899 | $as_echo "$ac_res" >&6; }
|
---|
| 1900 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1901 |
|
---|
| 1902 | } # ac_fn_c_check_func
|
---|
| 1903 |
|
---|
| 1904 | # ac_fn_cxx_try_run LINENO
|
---|
| 1905 | # ------------------------
|
---|
| 1906 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1907 | # that executables *can* be run.
|
---|
| 1908 | ac_fn_cxx_try_run ()
|
---|
| 1909 | {
|
---|
| 1910 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1911 | if { { ac_try="$ac_link"
|
---|
| 1912 | case "(($ac_try" in
|
---|
| 1913 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1914 | *) ac_try_echo=$ac_try;;
|
---|
| 1915 | esac
|
---|
| 1916 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1917 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1918 | (eval "$ac_link") 2>&5
|
---|
| 1919 | ac_status=$?
|
---|
| 1920 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1921 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1922 | { { case "(($ac_try" in
|
---|
| 1923 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1924 | *) ac_try_echo=$ac_try;;
|
---|
| 1925 | esac
|
---|
| 1926 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1927 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1928 | (eval "$ac_try") 2>&5
|
---|
| 1929 | ac_status=$?
|
---|
| 1930 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1931 | test $ac_status = 0; }; }; then :
|
---|
| 1932 | ac_retval=0
|
---|
| 1933 | else
|
---|
| 1934 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1935 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1936 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1937 |
|
---|
| 1938 | ac_retval=$ac_status
|
---|
| 1939 | fi
|
---|
| 1940 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1941 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
---|
| 1942 | as_fn_set_status $ac_retval
|
---|
| 1943 |
|
---|
| 1944 | } # ac_fn_cxx_try_run
|
---|
| 1945 | cat >config.log <<_ACEOF
|
---|
[8756] | 1946 | This file contains any messages produced by compilers while
|
---|
| 1947 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1948 |
|
---|
| 1949 | It was created by $as_me, which was
|
---|
[23356] | 1950 | generated by GNU Autoconf 2.67. Invocation command line was
|
---|
[8756] | 1951 |
|
---|
| 1952 | $ $0 $@
|
---|
| 1953 |
|
---|
| 1954 | _ACEOF
|
---|
[22378] | 1955 | exec 5>>config.log
|
---|
[8756] | 1956 | {
|
---|
| 1957 | cat <<_ASUNAME
|
---|
| 1958 | ## --------- ##
|
---|
| 1959 | ## Platform. ##
|
---|
| 1960 | ## --------- ##
|
---|
| 1961 |
|
---|
| 1962 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1963 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1964 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1965 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1966 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1967 |
|
---|
| 1968 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1969 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1970 |
|
---|
| 1971 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1972 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1973 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[22378] | 1974 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[8756] | 1975 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1976 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1977 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1978 |
|
---|
| 1979 | _ASUNAME
|
---|
| 1980 |
|
---|
| 1981 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1982 | for as_dir in $PATH
|
---|
| 1983 | do
|
---|
| 1984 | IFS=$as_save_IFS
|
---|
| 1985 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 1986 | $as_echo "PATH: $as_dir"
|
---|
| 1987 | done
|
---|
| 1988 | IFS=$as_save_IFS
|
---|
[8756] | 1989 |
|
---|
| 1990 | } >&5
|
---|
| 1991 |
|
---|
| 1992 | cat >&5 <<_ACEOF
|
---|
| 1993 |
|
---|
| 1994 |
|
---|
| 1995 | ## ----------- ##
|
---|
| 1996 | ## Core tests. ##
|
---|
| 1997 | ## ----------- ##
|
---|
| 1998 |
|
---|
| 1999 | _ACEOF
|
---|
| 2000 |
|
---|
| 2001 |
|
---|
| 2002 | # Keep a trace of the command line.
|
---|
| 2003 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 2004 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 2005 | # Also quote any args containing shell meta-characters.
|
---|
| 2006 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 2007 | ac_configure_args=
|
---|
| 2008 | ac_configure_args0=
|
---|
| 2009 | ac_configure_args1=
|
---|
| 2010 | ac_must_keep_next=false
|
---|
| 2011 | for ac_pass in 1 2
|
---|
| 2012 | do
|
---|
| 2013 | for ac_arg
|
---|
| 2014 | do
|
---|
| 2015 | case $ac_arg in
|
---|
| 2016 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 2017 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 2018 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 2019 | continue ;;
|
---|
[22378] | 2020 | *\'*)
|
---|
| 2021 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[8756] | 2022 | esac
|
---|
| 2023 | case $ac_pass in
|
---|
[22378] | 2024 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
[8756] | 2025 | 2)
|
---|
[22378] | 2026 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
[8756] | 2027 | if test $ac_must_keep_next = true; then
|
---|
| 2028 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 2029 | else
|
---|
| 2030 | case $ac_arg in
|
---|
| 2031 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 2032 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 2033 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 2034 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 2035 | case "$ac_configure_args0 " in
|
---|
| 2036 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 2037 | esac
|
---|
| 2038 | ;;
|
---|
| 2039 | -* ) ac_must_keep_next=true ;;
|
---|
| 2040 | esac
|
---|
| 2041 | fi
|
---|
[22378] | 2042 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
[8756] | 2043 | ;;
|
---|
| 2044 | esac
|
---|
| 2045 | done
|
---|
| 2046 | done
|
---|
[22378] | 2047 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 2048 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
[8756] | 2049 |
|
---|
| 2050 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 2051 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 2052 | # would cause problems or look ugly.
|
---|
[22378] | 2053 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 2054 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[8756] | 2055 | trap 'exit_status=$?
|
---|
| 2056 | # Save into config.log some information that might help in debugging.
|
---|
| 2057 | {
|
---|
| 2058 | echo
|
---|
| 2059 |
|
---|
[23356] | 2060 | $as_echo "## ---------------- ##
|
---|
[8756] | 2061 | ## Cache variables. ##
|
---|
[23356] | 2062 | ## ---------------- ##"
|
---|
[8756] | 2063 | echo
|
---|
| 2064 | # The following way of writing the cache mishandles newlines in values,
|
---|
[22378] | 2065 | (
|
---|
| 2066 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 2067 | eval ac_val=\$$ac_var
|
---|
| 2068 | case $ac_val in #(
|
---|
| 2069 | *${as_nl}*)
|
---|
| 2070 | case $ac_var in #(
|
---|
| 2071 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 2072 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 2073 | esac
|
---|
| 2074 | case $ac_var in #(
|
---|
| 2075 | _ | IFS | as_nl) ;; #(
|
---|
| 2076 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 2077 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 2078 | esac ;;
|
---|
| 2079 | esac
|
---|
| 2080 | done
|
---|
[8756] | 2081 | (set) 2>&1 |
|
---|
[22378] | 2082 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 2083 | *${as_nl}ac_space=\ *)
|
---|
[8756] | 2084 | sed -n \
|
---|
[22378] | 2085 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 2086 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 2087 | ;; #(
|
---|
[8756] | 2088 | *)
|
---|
[22378] | 2089 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[8756] | 2090 | ;;
|
---|
[22378] | 2091 | esac |
|
---|
| 2092 | sort
|
---|
| 2093 | )
|
---|
[8756] | 2094 | echo
|
---|
| 2095 |
|
---|
[23356] | 2096 | $as_echo "## ----------------- ##
|
---|
[8756] | 2097 | ## Output variables. ##
|
---|
[23356] | 2098 | ## ----------------- ##"
|
---|
[8756] | 2099 | echo
|
---|
| 2100 | for ac_var in $ac_subst_vars
|
---|
| 2101 | do
|
---|
[22378] | 2102 | eval ac_val=\$$ac_var
|
---|
| 2103 | case $ac_val in
|
---|
| 2104 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2105 | esac
|
---|
| 2106 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[8756] | 2107 | done | sort
|
---|
| 2108 | echo
|
---|
| 2109 |
|
---|
| 2110 | if test -n "$ac_subst_files"; then
|
---|
[23356] | 2111 | $as_echo "## ------------------- ##
|
---|
[22378] | 2112 | ## File substitutions. ##
|
---|
[23356] | 2113 | ## ------------------- ##"
|
---|
[8756] | 2114 | echo
|
---|
| 2115 | for ac_var in $ac_subst_files
|
---|
| 2116 | do
|
---|
[22378] | 2117 | eval ac_val=\$$ac_var
|
---|
| 2118 | case $ac_val in
|
---|
| 2119 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2120 | esac
|
---|
| 2121 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[8756] | 2122 | done | sort
|
---|
| 2123 | echo
|
---|
| 2124 | fi
|
---|
| 2125 |
|
---|
| 2126 | if test -s confdefs.h; then
|
---|
[23356] | 2127 | $as_echo "## ----------- ##
|
---|
[8756] | 2128 | ## confdefs.h. ##
|
---|
[23356] | 2129 | ## ----------- ##"
|
---|
[8756] | 2130 | echo
|
---|
[22378] | 2131 | cat confdefs.h
|
---|
[8756] | 2132 | echo
|
---|
| 2133 | fi
|
---|
| 2134 | test "$ac_signal" != 0 &&
|
---|
[22378] | 2135 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 2136 | $as_echo "$as_me: exit $exit_status"
|
---|
[8756] | 2137 | } >&5
|
---|
[22378] | 2138 | rm -f core *.core core.conftest.* &&
|
---|
| 2139 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[8756] | 2140 | exit $exit_status
|
---|
[22378] | 2141 | ' 0
|
---|
[8756] | 2142 | for ac_signal in 1 2 13 15; do
|
---|
[22378] | 2143 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
[8756] | 2144 | done
|
---|
| 2145 | ac_signal=0
|
---|
| 2146 |
|
---|
| 2147 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[22378] | 2148 | rm -f -r conftest* confdefs.h
|
---|
[8756] | 2149 |
|
---|
[22378] | 2150 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 2151 |
|
---|
[8756] | 2152 | # Predefined preprocessor variables.
|
---|
| 2153 |
|
---|
| 2154 | cat >>confdefs.h <<_ACEOF
|
---|
| 2155 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 2156 | _ACEOF
|
---|
| 2157 |
|
---|
| 2158 | cat >>confdefs.h <<_ACEOF
|
---|
| 2159 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 2160 | _ACEOF
|
---|
| 2161 |
|
---|
| 2162 | cat >>confdefs.h <<_ACEOF
|
---|
| 2163 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 2164 | _ACEOF
|
---|
| 2165 |
|
---|
| 2166 | cat >>confdefs.h <<_ACEOF
|
---|
| 2167 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 2168 | _ACEOF
|
---|
| 2169 |
|
---|
| 2170 | cat >>confdefs.h <<_ACEOF
|
---|
| 2171 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 2172 | _ACEOF
|
---|
| 2173 |
|
---|
[22378] | 2174 | cat >>confdefs.h <<_ACEOF
|
---|
| 2175 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2176 | _ACEOF
|
---|
[8756] | 2177 |
|
---|
[22378] | 2178 |
|
---|
[8756] | 2179 | # Let the site file select an alternate cache file if it wants to.
|
---|
[22378] | 2180 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 2181 | ac_site_file1=NONE
|
---|
| 2182 | ac_site_file2=NONE
|
---|
| 2183 | if test -n "$CONFIG_SITE"; then
|
---|
[23356] | 2184 | # We do not want a PATH search for config.site.
|
---|
| 2185 | case $CONFIG_SITE in #((
|
---|
| 2186 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2187 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
| 2188 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2189 | esac
|
---|
[22378] | 2190 | elif test "x$prefix" != xNONE; then
|
---|
| 2191 | ac_site_file1=$prefix/share/config.site
|
---|
| 2192 | ac_site_file2=$prefix/etc/config.site
|
---|
| 2193 | else
|
---|
| 2194 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 2195 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[562] | 2196 | fi
|
---|
[22378] | 2197 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2198 | do
|
---|
| 2199 | test "x$ac_site_file" = xNONE && continue
|
---|
| 2200 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
| 2201 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
| 2202 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[8756] | 2203 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[23356] | 2204 | . "$ac_site_file" \
|
---|
| 2205 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2206 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2207 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
| 2208 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[562] | 2209 | fi
|
---|
| 2210 | done
|
---|
| 2211 |
|
---|
| 2212 | if test -r "$cache_file"; then
|
---|
[22378] | 2213 | # Some versions of bash will fail to source /dev/null (special files
|
---|
| 2214 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
| 2215 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
| 2216 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
| 2217 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[8756] | 2218 | case $cache_file in
|
---|
[22378] | 2219 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2220 | *) . "./$cache_file";;
|
---|
[8756] | 2221 | esac
|
---|
| 2222 | fi
|
---|
[562] | 2223 | else
|
---|
[22378] | 2224 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
| 2225 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[8756] | 2226 | >$cache_file
|
---|
[562] | 2227 | fi
|
---|
| 2228 |
|
---|
[8756] | 2229 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 2230 | # value.
|
---|
| 2231 | ac_cache_corrupted=false
|
---|
[22378] | 2232 | for ac_var in $ac_precious_vars; do
|
---|
[8756] | 2233 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2234 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[22378] | 2235 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2236 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[8756] | 2237 | case $ac_old_set,$ac_new_set in
|
---|
| 2238 | set,)
|
---|
[22378] | 2239 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 2240 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[8756] | 2241 | ac_cache_corrupted=: ;;
|
---|
| 2242 | ,set)
|
---|
[22378] | 2243 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 2244 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[8756] | 2245 | ac_cache_corrupted=: ;;
|
---|
| 2246 | ,);;
|
---|
| 2247 | *)
|
---|
| 2248 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[22378] | 2249 | # differences in whitespace do not lead to failure.
|
---|
| 2250 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 2251 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 2252 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
| 2253 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 2254 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2255 | ac_cache_corrupted=:
|
---|
| 2256 | else
|
---|
| 2257 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
| 2258 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 2259 | eval $ac_var=\$ac_old_val
|
---|
| 2260 | fi
|
---|
| 2261 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
| 2262 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
| 2263 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
| 2264 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[8756] | 2265 | fi;;
|
---|
| 2266 | esac
|
---|
| 2267 | # Pass precious variables to config.status.
|
---|
| 2268 | if test "$ac_new_set" = set; then
|
---|
| 2269 | case $ac_new_val in
|
---|
[22378] | 2270 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[8756] | 2271 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 2272 | esac
|
---|
| 2273 | case " $ac_configure_args " in
|
---|
| 2274 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[22378] | 2275 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
[8756] | 2276 | esac
|
---|
| 2277 | fi
|
---|
| 2278 | done
|
---|
| 2279 | if $ac_cache_corrupted; then
|
---|
[22378] | 2280 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2281 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2282 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
| 2283 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
[23356] | 2284 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
[8756] | 2285 | fi
|
---|
[22378] | 2286 | ## -------------------- ##
|
---|
| 2287 | ## Main body of script. ##
|
---|
| 2288 | ## -------------------- ##
|
---|
[8756] | 2289 |
|
---|
[20853] | 2290 | ac_ext=c
|
---|
| 2291 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2292 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2293 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2294 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[562] | 2295 |
|
---|
| 2296 |
|
---|
[22378] | 2297 | ac_config_headers="$ac_config_headers config.h"
|
---|
[562] | 2298 |
|
---|
[8200] | 2299 |
|
---|
[562] | 2300 | PACKAGE=gsdl
|
---|
[23356] | 2301 | VERSION=2.x-svn
|
---|
[8756] | 2302 | cat >>confdefs.h <<_ACEOF
|
---|
[562] | 2303 | #define PACKAGE "$PACKAGE"
|
---|
[8756] | 2304 | _ACEOF
|
---|
[562] | 2305 |
|
---|
[8756] | 2306 | cat >>confdefs.h <<_ACEOF
|
---|
[562] | 2307 | #define VERSION "$VERSION"
|
---|
[8756] | 2308 | _ACEOF
|
---|
[562] | 2309 |
|
---|
[8200] | 2310 |
|
---|
| 2311 |
|
---|
| 2312 |
|
---|
[18487] | 2313 |
|
---|
[567] | 2314 | USE_FASTCGI=0
|
---|
| 2315 | if test USE_FASTCGI = 1; then
|
---|
[22378] | 2316 | $as_echo "#define USE_FASTCGI 1" >>confdefs.h
|
---|
[567] | 2317 |
|
---|
[8200] | 2318 |
|
---|
[3631] | 2319 | fi
|
---|
[567] | 2320 |
|
---|
[3631] | 2321 | if test USE_LANGACTION = 1; then
|
---|
[22378] | 2322 | $as_echo "#define USE_LANGACTION 1" >>confdefs.h
|
---|
[3631] | 2323 |
|
---|
[8200] | 2324 |
|
---|
[567] | 2325 | fi
|
---|
| 2326 |
|
---|
[22378] | 2327 | # Check whether --enable-corba was given.
|
---|
| 2328 | if test "${enable_corba+set}" = set; then :
|
---|
| 2329 | enableval=$enable_corba; USE_CORBA=$enableval
|
---|
[1860] | 2330 | else
|
---|
[21724] | 2331 | USE_CORBA=no
|
---|
[22378] | 2332 | fi
|
---|
| 2333 |
|
---|
[21724] | 2334 | if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
|
---|
| 2335 | USE_CORBA=1
|
---|
[22378] | 2336 | $as_echo "#define USE_CORBA /**/" >>confdefs.h
|
---|
[1860] | 2337 |
|
---|
[21724] | 2338 | else
|
---|
| 2339 | USE_CORBA=0
|
---|
| 2340 | fi
|
---|
[8200] | 2341 |
|
---|
| 2342 |
|
---|
[8756] | 2343 |
|
---|
[22378] | 2344 | # Check whether --with-micodir was given.
|
---|
| 2345 | if test "${with_micodir+set}" = set; then :
|
---|
| 2346 | withval=$with_micodir; MICO_DIR=$withval
|
---|
[1860] | 2347 | else
|
---|
[2471] | 2348 | MICO_DIR="default"
|
---|
[22378] | 2349 | fi
|
---|
| 2350 |
|
---|
[8756] | 2351 | cat >>confdefs.h <<_ACEOF
|
---|
[2297] | 2352 | #define MICO_DIR "$MICO_DIR"
|
---|
[8756] | 2353 | _ACEOF
|
---|
[1860] | 2354 |
|
---|
[8200] | 2355 |
|
---|
| 2356 |
|
---|
[23356] | 2357 | # Check whether --enable-java was given.
|
---|
| 2358 | if test "${enable_java+set}" = set; then :
|
---|
| 2359 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
| 2360 | else
|
---|
| 2361 | ENABLE_JAVA=yes
|
---|
| 2362 | fi
|
---|
| 2363 |
|
---|
| 2364 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 2365 | ENABLE_JAVA=1
|
---|
| 2366 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 2367 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 2368 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 2369 | echo "and JAVA respectively"
|
---|
| 2370 | export JAVA_HOME=
|
---|
| 2371 | fi
|
---|
| 2372 | else
|
---|
| 2373 | ENABLE_JAVA=0
|
---|
| 2374 | fi
|
---|
| 2375 |
|
---|
| 2376 |
|
---|
[22378] | 2377 | # Check whether --enable-z3950 was given.
|
---|
| 2378 | if test "${enable_z3950+set}" = set; then :
|
---|
| 2379 | enableval=$enable_z3950; USE_Z3950=$enableval
|
---|
[1938] | 2380 | else
|
---|
[21724] | 2381 | USE_Z3950=no
|
---|
[22378] | 2382 | fi
|
---|
| 2383 |
|
---|
[21724] | 2384 | if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
|
---|
| 2385 | USE_Z3950=1
|
---|
[22378] | 2386 | $as_echo "#define USE_Z3950 /**/" >>confdefs.h
|
---|
[1938] | 2387 |
|
---|
[21724] | 2388 | else
|
---|
| 2389 | USE_Z3950=0
|
---|
[2297] | 2390 | fi
|
---|
[1938] | 2391 |
|
---|
[21724] | 2392 |
|
---|
[22378] | 2393 | # Check whether --enable-yaz was given.
|
---|
| 2394 | if test "${enable_yaz+set}" = set; then :
|
---|
| 2395 | enableval=$enable_yaz; USE_YAZ=$enableval
|
---|
[12492] | 2396 | else
|
---|
[21724] | 2397 | USE_YAZ=yes
|
---|
[22378] | 2398 | fi
|
---|
| 2399 |
|
---|
[21724] | 2400 | if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
|
---|
[12492] | 2401 | USE_YAZ=1
|
---|
[22378] | 2402 | $as_echo "#define USE_YAZ /**/" >>confdefs.h
|
---|
[8756] | 2403 |
|
---|
[21724] | 2404 | else
|
---|
| 2405 | USE_YAZ=0
|
---|
| 2406 | fi
|
---|
[12492] | 2407 |
|
---|
| 2408 |
|
---|
[22378] | 2409 | # Check whether --enable-jdbm was given.
|
---|
| 2410 | if test "${enable_jdbm+set}" = set; then :
|
---|
| 2411 | enableval=$enable_jdbm; USE_JDBM=$enableval
|
---|
[22058] | 2412 | else
|
---|
| 2413 | USE_JDBM=yes
|
---|
[22378] | 2414 | fi
|
---|
| 2415 |
|
---|
[23356] | 2416 | if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
|
---|
[22058] | 2417 | USE_JDBM=1
|
---|
[22378] | 2418 | $as_echo "#define USE_JDBM /**/" >>confdefs.h
|
---|
[22058] | 2419 |
|
---|
| 2420 | else
|
---|
| 2421 | USE_JDBM=0
|
---|
| 2422 | fi
|
---|
| 2423 |
|
---|
| 2424 |
|
---|
[22378] | 2425 | # Check whether --enable-gdbm was given.
|
---|
| 2426 | if test "${enable_gdbm+set}" = set; then :
|
---|
| 2427 | enableval=$enable_gdbm; USE_GDBM=$enableval
|
---|
[22058] | 2428 | else
|
---|
| 2429 | USE_GDBM=yes
|
---|
[22378] | 2430 | fi
|
---|
| 2431 |
|
---|
[22058] | 2432 | if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
|
---|
| 2433 | USE_GDBM=1
|
---|
[22378] | 2434 | $as_echo "#define USE_GDBM /**/" >>confdefs.h
|
---|
[22058] | 2435 |
|
---|
| 2436 | else
|
---|
| 2437 | USE_GDBM=0
|
---|
| 2438 | fi
|
---|
| 2439 |
|
---|
| 2440 |
|
---|
[22378] | 2441 | # Check whether --enable-accentfold was given.
|
---|
| 2442 | if test "${enable_accentfold+set}" = set; then :
|
---|
| 2443 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
[12922] | 2444 | else
|
---|
[21724] | 2445 | ENABLE_ACCENTFOLD=yes
|
---|
[22378] | 2446 | fi
|
---|
| 2447 |
|
---|
[21724] | 2448 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
[12922] | 2449 | ENABLE_ACCENTFOLD=1
|
---|
[22378] | 2450 | $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
|
---|
[12922] | 2451 |
|
---|
[21724] | 2452 | else
|
---|
| 2453 | ENABLE_ACCENTFOLD=0
|
---|
| 2454 | fi
|
---|
[12922] | 2455 |
|
---|
[15901] | 2456 |
|
---|
[22378] | 2457 | # Check whether --enable-sqlite was given.
|
---|
| 2458 | if test "${enable_sqlite+set}" = set; then :
|
---|
| 2459 | enableval=$enable_sqlite; USE_SQLITE=$enableval
|
---|
[16288] | 2460 | else
|
---|
[21724] | 2461 | USE_SQLITE=yes
|
---|
[22378] | 2462 | fi
|
---|
| 2463 |
|
---|
[21724] | 2464 | if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
|
---|
[15794] | 2465 | USE_SQLITE=1
|
---|
[22378] | 2466 | $as_echo "#define USE_SQLITE /**/" >>confdefs.h
|
---|
[12922] | 2467 |
|
---|
[21724] | 2468 | else
|
---|
| 2469 | USE_SQLITE=0
|
---|
| 2470 | fi
|
---|
[15794] | 2471 |
|
---|
[15901] | 2472 |
|
---|
[21377] | 2473 | if test -d runtime-src; then
|
---|
[22378] | 2474 | # Check whether --enable-apache-httpd was given.
|
---|
| 2475 | if test "${enable_apache_httpd+set}" = set; then :
|
---|
| 2476 | enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval
|
---|
[19263] | 2477 | else
|
---|
[21724] | 2478 | USE_APACHE_HTTPD=no
|
---|
[22378] | 2479 | fi
|
---|
| 2480 |
|
---|
[21724] | 2481 | if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then
|
---|
| 2482 | USE_APACHE_HTTPD=1
|
---|
[22378] | 2483 | $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h
|
---|
[18487] | 2484 |
|
---|
[21724] | 2485 | else
|
---|
| 2486 | USE_APACHE_HTTPD=0
|
---|
| 2487 | fi
|
---|
[18487] | 2488 |
|
---|
[21377] | 2489 | fi
|
---|
[18487] | 2490 |
|
---|
[22378] | 2491 | # Check whether --enable-jni was given.
|
---|
| 2492 | if test "${enable_jni+set}" = set; then :
|
---|
| 2493 | enableval=$enable_jni; ENABLE_JNI=$enableval
|
---|
[21366] | 2494 | else
|
---|
| 2495 | ENABLE_JNI=no
|
---|
[22378] | 2496 | fi
|
---|
| 2497 |
|
---|
[23356] | 2498 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
|
---|
[21366] | 2499 | ENABLE_JNI=1
|
---|
[22378] | 2500 | $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
|
---|
[18487] | 2501 |
|
---|
[21366] | 2502 | else
|
---|
| 2503 | ENABLE_JNI=0
|
---|
| 2504 | fi
|
---|
| 2505 |
|
---|
| 2506 |
|
---|
[22378] | 2507 | # Check whether --enable-mg was given.
|
---|
| 2508 | if test "${enable_mg+set}" = set; then :
|
---|
| 2509 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
[21330] | 2510 | else
|
---|
| 2511 | ENABLE_MG=yes
|
---|
[22378] | 2512 | fi
|
---|
| 2513 |
|
---|
[21330] | 2514 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 2515 | ENABLE_MG=1
|
---|
[22378] | 2516 | $as_echo "#define ENABLE_MG /**/" >>confdefs.h
|
---|
[21330] | 2517 |
|
---|
| 2518 | else
|
---|
| 2519 | ENABLE_MG=0
|
---|
| 2520 | fi
|
---|
| 2521 |
|
---|
| 2522 |
|
---|
| 2523 |
|
---|
[22378] | 2524 | # Check whether --enable-mgpp was given.
|
---|
| 2525 | if test "${enable_mgpp+set}" = set; then :
|
---|
| 2526 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
[21330] | 2527 | else
|
---|
| 2528 | ENABLE_MGPP=yes
|
---|
[22378] | 2529 | fi
|
---|
| 2530 |
|
---|
[21330] | 2531 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 2532 | ENABLE_MGPP=1
|
---|
[22378] | 2533 | $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
|
---|
[21330] | 2534 |
|
---|
| 2535 | else
|
---|
| 2536 | ENABLE_MGPP=0
|
---|
| 2537 | fi
|
---|
| 2538 |
|
---|
| 2539 |
|
---|
[22378] | 2540 | # Check whether --enable-lucene was given.
|
---|
| 2541 | if test "${enable_lucene+set}" = set; then :
|
---|
| 2542 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
[21330] | 2543 | else
|
---|
| 2544 | ENABLE_LUCENE=yes
|
---|
[22378] | 2545 | fi
|
---|
| 2546 |
|
---|
[23356] | 2547 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
|
---|
[21330] | 2548 | ENABLE_LUCENE=1
|
---|
[22378] | 2549 | $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
|
---|
[21330] | 2550 |
|
---|
| 2551 | else
|
---|
| 2552 | ENABLE_LUCENE=0
|
---|
| 2553 | fi
|
---|
| 2554 |
|
---|
| 2555 |
|
---|
| 2556 |
|
---|
[14169] | 2557 | LDFLAGS=$LDFLAGS
|
---|
[15551] | 2558 |
|
---|
[1722] | 2559 | if test -z "$CFLAGS"; then
|
---|
[794] | 2560 | CFLAGS=-O2
|
---|
[1722] | 2561 | fi
|
---|
[576] | 2562 |
|
---|
| 2563 |
|
---|
[15551] | 2564 |
|
---|
[8756] | 2565 | ac_ext=c
|
---|
| 2566 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2567 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2568 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2569 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2570 | if test -n "$ac_tool_prefix"; then
|
---|
| 2571 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2572 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[22378] | 2573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2574 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2575 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2576 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 2577 | else
|
---|
| 2578 | if test -n "$CC"; then
|
---|
| 2579 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2580 | else
|
---|
| 2581 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2582 | for as_dir in $PATH
|
---|
| 2583 | do
|
---|
| 2584 | IFS=$as_save_IFS
|
---|
| 2585 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 2586 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2587 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 2588 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[22378] | 2589 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 2590 | break 2
|
---|
| 2591 | fi
|
---|
| 2592 | done
|
---|
[22378] | 2593 | done
|
---|
| 2594 | IFS=$as_save_IFS
|
---|
[8756] | 2595 |
|
---|
| 2596 | fi
|
---|
| 2597 | fi
|
---|
| 2598 | CC=$ac_cv_prog_CC
|
---|
| 2599 | if test -n "$CC"; then
|
---|
[22378] | 2600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2601 | $as_echo "$CC" >&6; }
|
---|
[8756] | 2602 | else
|
---|
[22378] | 2603 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2604 | $as_echo "no" >&6; }
|
---|
[8756] | 2605 | fi
|
---|
| 2606 |
|
---|
[22378] | 2607 |
|
---|
[8756] | 2608 | fi
|
---|
| 2609 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2610 | ac_ct_CC=$CC
|
---|
| 2611 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
[562] | 2612 | set dummy gcc; ac_word=$2
|
---|
[22378] | 2613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2614 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2615 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
---|
| 2616 | $as_echo_n "(cached) " >&6
|
---|
[562] | 2617 | else
|
---|
[8756] | 2618 | if test -n "$ac_ct_CC"; then
|
---|
| 2619 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2620 | else
|
---|
| 2621 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2622 | for as_dir in $PATH
|
---|
| 2623 | do
|
---|
| 2624 | IFS=$as_save_IFS
|
---|
| 2625 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 2626 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2627 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 2628 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[22378] | 2629 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 2630 | break 2
|
---|
| 2631 | fi
|
---|
| 2632 | done
|
---|
[22378] | 2633 | done
|
---|
| 2634 | IFS=$as_save_IFS
|
---|
[8756] | 2635 |
|
---|
| 2636 | fi
|
---|
| 2637 | fi
|
---|
| 2638 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2639 | if test -n "$ac_ct_CC"; then
|
---|
[22378] | 2640 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2641 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[8756] | 2642 | else
|
---|
[22378] | 2643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2644 | $as_echo "no" >&6; }
|
---|
[8756] | 2645 | fi
|
---|
| 2646 |
|
---|
[22378] | 2647 | if test "x$ac_ct_CC" = x; then
|
---|
| 2648 | CC=""
|
---|
| 2649 | else
|
---|
| 2650 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2651 | yes:)
|
---|
| 2652 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2653 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2654 | ac_tool_warned=yes ;;
|
---|
| 2655 | esac
|
---|
| 2656 | CC=$ac_ct_CC
|
---|
| 2657 | fi
|
---|
[8756] | 2658 | else
|
---|
| 2659 | CC="$ac_cv_prog_CC"
|
---|
| 2660 | fi
|
---|
| 2661 |
|
---|
| 2662 | if test -z "$CC"; then
|
---|
[22378] | 2663 | if test -n "$ac_tool_prefix"; then
|
---|
| 2664 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[8756] | 2665 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[22378] | 2666 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2667 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2668 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2669 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 2670 | else
|
---|
[562] | 2671 | if test -n "$CC"; then
|
---|
| 2672 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2673 | else
|
---|
[8756] | 2674 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2675 | for as_dir in $PATH
|
---|
| 2676 | do
|
---|
| 2677 | IFS=$as_save_IFS
|
---|
| 2678 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 2679 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2680 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 2681 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[22378] | 2682 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 2683 | break 2
|
---|
| 2684 | fi
|
---|
| 2685 | done
|
---|
[22378] | 2686 | done
|
---|
| 2687 | IFS=$as_save_IFS
|
---|
[8756] | 2688 |
|
---|
[562] | 2689 | fi
|
---|
| 2690 | fi
|
---|
[8756] | 2691 | CC=$ac_cv_prog_CC
|
---|
[562] | 2692 | if test -n "$CC"; then
|
---|
[22378] | 2693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2694 | $as_echo "$CC" >&6; }
|
---|
[562] | 2695 | else
|
---|
[22378] | 2696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2697 | $as_echo "no" >&6; }
|
---|
[562] | 2698 | fi
|
---|
| 2699 |
|
---|
[22378] | 2700 |
|
---|
[20853] | 2701 | fi
|
---|
[8756] | 2702 | fi
|
---|
[562] | 2703 | if test -z "$CC"; then
|
---|
| 2704 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2705 | set dummy cc; ac_word=$2
|
---|
[22378] | 2706 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2707 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2708 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2709 | $as_echo_n "(cached) " >&6
|
---|
[562] | 2710 | else
|
---|
| 2711 | if test -n "$CC"; then
|
---|
| 2712 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2713 | else
|
---|
| 2714 | ac_prog_rejected=no
|
---|
[8756] | 2715 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2716 | for as_dir in $PATH
|
---|
| 2717 | do
|
---|
| 2718 | IFS=$as_save_IFS
|
---|
| 2719 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 2720 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2721 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 2722 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2723 | ac_prog_rejected=yes
|
---|
| 2724 | continue
|
---|
| 2725 | fi
|
---|
| 2726 | ac_cv_prog_CC="cc"
|
---|
[22378] | 2727 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 2728 | break 2
|
---|
| 2729 | fi
|
---|
| 2730 | done
|
---|
[22378] | 2731 | done
|
---|
| 2732 | IFS=$as_save_IFS
|
---|
[8756] | 2733 |
|
---|
[562] | 2734 | if test $ac_prog_rejected = yes; then
|
---|
| 2735 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2736 | set dummy $ac_cv_prog_CC
|
---|
| 2737 | shift
|
---|
[8756] | 2738 | if test $# != 0; then
|
---|
[562] | 2739 | # We chose a different compiler from the bogus one.
|
---|
| 2740 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2741 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2742 | shift
|
---|
[8756] | 2743 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
[562] | 2744 | fi
|
---|
| 2745 | fi
|
---|
| 2746 | fi
|
---|
| 2747 | fi
|
---|
[8756] | 2748 | CC=$ac_cv_prog_CC
|
---|
[562] | 2749 | if test -n "$CC"; then
|
---|
[22378] | 2750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2751 | $as_echo "$CC" >&6; }
|
---|
[562] | 2752 | else
|
---|
[22378] | 2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2754 | $as_echo "no" >&6; }
|
---|
[562] | 2755 | fi
|
---|
| 2756 |
|
---|
[22378] | 2757 |
|
---|
[8756] | 2758 | fi
|
---|
| 2759 | if test -z "$CC"; then
|
---|
| 2760 | if test -n "$ac_tool_prefix"; then
|
---|
[22378] | 2761 | for ac_prog in cl.exe
|
---|
[8756] | 2762 | do
|
---|
| 2763 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2764 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[22378] | 2765 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2766 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2767 | if test "${ac_cv_prog_CC+set}" = set; then :
|
---|
| 2768 | $as_echo_n "(cached) " >&6
|
---|
[562] | 2769 | else
|
---|
| 2770 | if test -n "$CC"; then
|
---|
| 2771 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2772 | else
|
---|
[8756] | 2773 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2774 | for as_dir in $PATH
|
---|
| 2775 | do
|
---|
| 2776 | IFS=$as_save_IFS
|
---|
| 2777 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 2778 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2779 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 2780 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[22378] | 2781 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 2782 | break 2
|
---|
| 2783 | fi
|
---|
| 2784 | done
|
---|
[22378] | 2785 | done
|
---|
| 2786 | IFS=$as_save_IFS
|
---|
[8756] | 2787 |
|
---|
[562] | 2788 | fi
|
---|
| 2789 | fi
|
---|
[8756] | 2790 | CC=$ac_cv_prog_CC
|
---|
[562] | 2791 | if test -n "$CC"; then
|
---|
[22378] | 2792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
| 2793 | $as_echo "$CC" >&6; }
|
---|
[562] | 2794 | else
|
---|
[22378] | 2795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2796 | $as_echo "no" >&6; }
|
---|
[562] | 2797 | fi
|
---|
[8756] | 2798 |
|
---|
[22378] | 2799 |
|
---|
[8756] | 2800 | test -n "$CC" && break
|
---|
| 2801 | done
|
---|
| 2802 | fi
|
---|
| 2803 | if test -z "$CC"; then
|
---|
| 2804 | ac_ct_CC=$CC
|
---|
[22378] | 2805 | for ac_prog in cl.exe
|
---|
[8756] | 2806 | do
|
---|
| 2807 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2808 | set dummy $ac_prog; ac_word=$2
|
---|
[22378] | 2809 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 2810 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 2811 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
---|
| 2812 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 2813 | else
|
---|
| 2814 | if test -n "$ac_ct_CC"; then
|
---|
| 2815 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2816 | else
|
---|
| 2817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2818 | for as_dir in $PATH
|
---|
| 2819 | do
|
---|
| 2820 | IFS=$as_save_IFS
|
---|
| 2821 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 2822 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 2823 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 2824 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[22378] | 2825 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 2826 | break 2
|
---|
[8200] | 2827 | fi
|
---|
[8756] | 2828 | done
|
---|
[22378] | 2829 | done
|
---|
| 2830 | IFS=$as_save_IFS
|
---|
[8756] | 2831 |
|
---|
[562] | 2832 | fi
|
---|
[8756] | 2833 | fi
|
---|
| 2834 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2835 | if test -n "$ac_ct_CC"; then
|
---|
[22378] | 2836 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
| 2837 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[8756] | 2838 | else
|
---|
[22378] | 2839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2840 | $as_echo "no" >&6; }
|
---|
[8756] | 2841 | fi
|
---|
[562] | 2842 |
|
---|
[22378] | 2843 |
|
---|
[8756] | 2844 | test -n "$ac_ct_CC" && break
|
---|
| 2845 | done
|
---|
[562] | 2846 |
|
---|
[22378] | 2847 | if test "x$ac_ct_CC" = x; then
|
---|
| 2848 | CC=""
|
---|
| 2849 | else
|
---|
| 2850 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2851 | yes:)
|
---|
| 2852 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 2853 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2854 | ac_tool_warned=yes ;;
|
---|
| 2855 | esac
|
---|
| 2856 | CC=$ac_ct_CC
|
---|
| 2857 | fi
|
---|
[8756] | 2858 | fi
|
---|
[562] | 2859 |
|
---|
[8756] | 2860 | fi
|
---|
[562] | 2861 |
|
---|
| 2862 |
|
---|
[22378] | 2863 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2864 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[23356] | 2865 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
| 2866 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[8756] | 2867 |
|
---|
| 2868 | # Provide some information about the compiler.
|
---|
[22378] | 2869 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
| 2870 | set X $ac_compile
|
---|
| 2871 | ac_compiler=$2
|
---|
| 2872 | for ac_option in --version -v -V -qversion; do
|
---|
| 2873 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 2874 | case "(($ac_try" in
|
---|
| 2875 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2876 | *) ac_try_echo=$ac_try;;
|
---|
| 2877 | esac
|
---|
| 2878 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2879 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2880 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[8756] | 2881 | ac_status=$?
|
---|
[22378] | 2882 | if test -s conftest.err; then
|
---|
| 2883 | sed '10a\
|
---|
| 2884 | ... rest of stderr output deleted ...
|
---|
| 2885 | 10q' conftest.err >conftest.er1
|
---|
| 2886 | cat conftest.er1 >&5
|
---|
| 2887 | fi
|
---|
| 2888 | rm -f conftest.er1 conftest.err
|
---|
| 2889 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2890 | test $ac_status = 0; }
|
---|
| 2891 | done
|
---|
[8756] | 2892 |
|
---|
[22378] | 2893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 2894 | /* end confdefs.h. */
|
---|
| 2895 |
|
---|
| 2896 | int
|
---|
| 2897 | main ()
|
---|
| 2898 | {
|
---|
| 2899 |
|
---|
| 2900 | ;
|
---|
| 2901 | return 0;
|
---|
| 2902 | }
|
---|
| 2903 | _ACEOF
|
---|
| 2904 | ac_clean_files_save=$ac_clean_files
|
---|
[22378] | 2905 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[8756] | 2906 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2907 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2908 | # of exeext.
|
---|
[22378] | 2909 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
---|
| 2910 | $as_echo_n "checking whether the C compiler works... " >&6; }
|
---|
| 2911 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[20853] | 2912 |
|
---|
[22378] | 2913 | # The possible output files:
|
---|
| 2914 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2915 |
|
---|
| 2916 | ac_rmfiles=
|
---|
| 2917 | for ac_file in $ac_files
|
---|
[8756] | 2918 | do
|
---|
[22378] | 2919 | case $ac_file in
|
---|
| 2920 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2921 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2922 | esac
|
---|
| 2923 | done
|
---|
| 2924 | rm -f $ac_rmfiles
|
---|
| 2925 |
|
---|
| 2926 | if { { ac_try="$ac_link_default"
|
---|
| 2927 | case "(($ac_try" in
|
---|
| 2928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2929 | *) ac_try_echo=$ac_try;;
|
---|
| 2930 | esac
|
---|
| 2931 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2932 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2933 | (eval "$ac_link_default") 2>&5
|
---|
| 2934 | ac_status=$?
|
---|
| 2935 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2936 | test $ac_status = 0; }; then :
|
---|
| 2937 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2938 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2939 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2940 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2941 | # Autoconf.
|
---|
| 2942 | for ac_file in $ac_files ''
|
---|
| 2943 | do
|
---|
[8756] | 2944 | test -f "$ac_file" || continue
|
---|
| 2945 | case $ac_file in
|
---|
[22378] | 2946 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[8756] | 2947 | ;;
|
---|
| 2948 | [ab].out )
|
---|
| 2949 | # We found the default executable, but exeext='' is most
|
---|
| 2950 | # certainly right.
|
---|
| 2951 | break;;
|
---|
| 2952 | *.* )
|
---|
[22378] | 2953 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
| 2954 | then :; else
|
---|
| 2955 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2956 | fi
|
---|
| 2957 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2958 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2959 | # argument, so we may need to know it at that point already.
|
---|
| 2960 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2961 | # actually working.
|
---|
[8756] | 2962 | break;;
|
---|
| 2963 | * )
|
---|
| 2964 | break;;
|
---|
| 2965 | esac
|
---|
| 2966 | done
|
---|
[22378] | 2967 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2968 |
|
---|
[8756] | 2969 | else
|
---|
[22378] | 2970 | ac_file=''
|
---|
| 2971 | fi
|
---|
| 2972 | if test -z "$ac_file"; then :
|
---|
| 2973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2974 | $as_echo "no" >&6; }
|
---|
| 2975 | $as_echo "$as_me: failed program was:" >&5
|
---|
[8756] | 2976 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2977 |
|
---|
[22378] | 2978 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2979 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[23356] | 2980 | as_fn_error 77 "C compiler cannot create executables
|
---|
| 2981 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[22378] | 2982 | else
|
---|
| 2983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2984 | $as_echo "yes" >&6; }
|
---|
[8756] | 2985 | fi
|
---|
[22378] | 2986 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
---|
| 2987 | $as_echo_n "checking for C compiler default output file name... " >&6; }
|
---|
| 2988 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 2989 | $as_echo "$ac_file" >&6; }
|
---|
[8756] | 2990 | ac_exeext=$ac_cv_exeext
|
---|
| 2991 |
|
---|
[22378] | 2992 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[8756] | 2993 | ac_clean_files=$ac_clean_files_save
|
---|
[22378] | 2994 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
| 2995 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
| 2996 | if { { ac_try="$ac_link"
|
---|
| 2997 | case "(($ac_try" in
|
---|
| 2998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2999 | *) ac_try_echo=$ac_try;;
|
---|
| 3000 | esac
|
---|
| 3001 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3002 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3003 | (eval "$ac_link") 2>&5
|
---|
[8756] | 3004 | ac_status=$?
|
---|
[22378] | 3005 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3006 | test $ac_status = 0; }; then :
|
---|
[8756] | 3007 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 3008 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 3009 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 3010 | # `rm'.
|
---|
| 3011 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 3012 | test -f "$ac_file" || continue
|
---|
| 3013 | case $ac_file in
|
---|
[22378] | 3014 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[8756] | 3015 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 3016 | break;;
|
---|
| 3017 | * ) break;;
|
---|
| 3018 | esac
|
---|
| 3019 | done
|
---|
| 3020 | else
|
---|
[22378] | 3021 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3022 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[23356] | 3023 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
| 3024 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[562] | 3025 | fi
|
---|
[22378] | 3026 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 3027 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
| 3028 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[562] | 3029 |
|
---|
[8756] | 3030 | rm -f conftest.$ac_ext
|
---|
| 3031 | EXEEXT=$ac_cv_exeext
|
---|
| 3032 | ac_exeext=$EXEEXT
|
---|
[22378] | 3033 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3034 | /* end confdefs.h. */
|
---|
| 3035 | #include <stdio.h>
|
---|
| 3036 | int
|
---|
| 3037 | main ()
|
---|
| 3038 | {
|
---|
| 3039 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 3040 | return ferror (f) || fclose (f) != 0;
|
---|
| 3041 |
|
---|
| 3042 | ;
|
---|
| 3043 | return 0;
|
---|
| 3044 | }
|
---|
| 3045 | _ACEOF
|
---|
| 3046 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 3047 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 3048 | # the compiler is broken, or we cross compile.
|
---|
| 3049 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 3050 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 3051 | if test "$cross_compiling" != yes; then
|
---|
| 3052 | { { ac_try="$ac_link"
|
---|
| 3053 | case "(($ac_try" in
|
---|
| 3054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3055 | *) ac_try_echo=$ac_try;;
|
---|
| 3056 | esac
|
---|
| 3057 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3058 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3059 | (eval "$ac_link") 2>&5
|
---|
| 3060 | ac_status=$?
|
---|
| 3061 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3062 | test $ac_status = 0; }
|
---|
| 3063 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 3064 | { { case "(($ac_try" in
|
---|
| 3065 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3066 | *) ac_try_echo=$ac_try;;
|
---|
| 3067 | esac
|
---|
| 3068 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3069 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3070 | (eval "$ac_try") 2>&5
|
---|
| 3071 | ac_status=$?
|
---|
| 3072 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3073 | test $ac_status = 0; }; }; then
|
---|
| 3074 | cross_compiling=no
|
---|
| 3075 | else
|
---|
| 3076 | if test "$cross_compiling" = maybe; then
|
---|
| 3077 | cross_compiling=yes
|
---|
| 3078 | else
|
---|
| 3079 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3080 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[23356] | 3081 | as_fn_error $? "cannot run C compiled programs.
|
---|
[22378] | 3082 | If you meant to cross compile, use \`--host'.
|
---|
[23356] | 3083 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[22378] | 3084 | fi
|
---|
| 3085 | fi
|
---|
| 3086 | fi
|
---|
| 3087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 3088 | $as_echo "$cross_compiling" >&6; }
|
---|
| 3089 |
|
---|
| 3090 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 3091 | ac_clean_files=$ac_clean_files_save
|
---|
| 3092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
| 3093 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
| 3094 | if test "${ac_cv_objext+set}" = set; then :
|
---|
| 3095 | $as_echo_n "(cached) " >&6
|
---|
[562] | 3096 | else
|
---|
[22378] | 3097 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 3098 | /* end confdefs.h. */
|
---|
| 3099 |
|
---|
| 3100 | int
|
---|
| 3101 | main ()
|
---|
| 3102 | {
|
---|
| 3103 |
|
---|
| 3104 | ;
|
---|
| 3105 | return 0;
|
---|
| 3106 | }
|
---|
| 3107 | _ACEOF
|
---|
| 3108 | rm -f conftest.o conftest.obj
|
---|
[22378] | 3109 | if { { ac_try="$ac_compile"
|
---|
| 3110 | case "(($ac_try" in
|
---|
| 3111 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3112 | *) ac_try_echo=$ac_try;;
|
---|
| 3113 | esac
|
---|
| 3114 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3115 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3116 | (eval "$ac_compile") 2>&5
|
---|
[8756] | 3117 | ac_status=$?
|
---|
[22378] | 3118 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3119 | test $ac_status = 0; }; then :
|
---|
| 3120 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 3121 | test -f "$ac_file" || continue;
|
---|
[8756] | 3122 | case $ac_file in
|
---|
[22378] | 3123 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[8756] | 3124 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 3125 | break;;
|
---|
| 3126 | esac
|
---|
| 3127 | done
|
---|
[562] | 3128 | else
|
---|
[22378] | 3129 | $as_echo "$as_me: failed program was:" >&5
|
---|
[8756] | 3130 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3131 |
|
---|
[22378] | 3132 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3133 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[23356] | 3134 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
| 3135 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[562] | 3136 | fi
|
---|
[8756] | 3137 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
[562] | 3138 | fi
|
---|
[22378] | 3139 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
| 3140 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[8756] | 3141 | OBJEXT=$ac_cv_objext
|
---|
| 3142 | ac_objext=$OBJEXT
|
---|
[22378] | 3143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
| 3144 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
| 3145 | if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
---|
| 3146 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3147 | else
|
---|
[22378] | 3148 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 3149 | /* end confdefs.h. */
|
---|
[562] | 3150 |
|
---|
[8756] | 3151 | int
|
---|
| 3152 | main ()
|
---|
| 3153 | {
|
---|
| 3154 | #ifndef __GNUC__
|
---|
| 3155 | choke me
|
---|
| 3156 | #endif
|
---|
[562] | 3157 |
|
---|
[8756] | 3158 | ;
|
---|
| 3159 | return 0;
|
---|
| 3160 | }
|
---|
| 3161 | _ACEOF
|
---|
[22378] | 3162 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[8756] | 3163 | ac_compiler_gnu=yes
|
---|
[562] | 3164 | else
|
---|
[22378] | 3165 | ac_compiler_gnu=no
|
---|
[562] | 3166 | fi
|
---|
[22378] | 3167 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3168 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
[562] | 3169 |
|
---|
[8756] | 3170 | fi
|
---|
[22378] | 3171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 3172 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 3173 | if test $ac_compiler_gnu = yes; then
|
---|
| 3174 | GCC=yes
|
---|
| 3175 | else
|
---|
| 3176 | GCC=
|
---|
| 3177 | fi
|
---|
[8756] | 3178 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 3179 | ac_save_CFLAGS=$CFLAGS
|
---|
[22378] | 3180 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
| 3181 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
| 3182 | if test "${ac_cv_prog_cc_g+set}" = set; then :
|
---|
| 3183 | $as_echo_n "(cached) " >&6
|
---|
[562] | 3184 | else
|
---|
[22378] | 3185 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 3186 | ac_c_werror_flag=yes
|
---|
| 3187 | ac_cv_prog_cc_g=no
|
---|
| 3188 | CFLAGS="-g"
|
---|
| 3189 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 3190 | /* end confdefs.h. */
|
---|
| 3191 |
|
---|
| 3192 | int
|
---|
| 3193 | main ()
|
---|
| 3194 | {
|
---|
| 3195 |
|
---|
| 3196 | ;
|
---|
| 3197 | return 0;
|
---|
| 3198 | }
|
---|
| 3199 | _ACEOF
|
---|
[22378] | 3200 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[562] | 3201 | ac_cv_prog_cc_g=yes
|
---|
| 3202 | else
|
---|
[22378] | 3203 | CFLAGS=""
|
---|
| 3204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3205 | /* end confdefs.h. */
|
---|
[8200] | 3206 |
|
---|
[22378] | 3207 | int
|
---|
| 3208 | main ()
|
---|
| 3209 | {
|
---|
| 3210 |
|
---|
| 3211 | ;
|
---|
| 3212 | return 0;
|
---|
| 3213 | }
|
---|
| 3214 | _ACEOF
|
---|
| 3215 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3216 |
|
---|
| 3217 | else
|
---|
| 3218 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3219 | CFLAGS="-g"
|
---|
| 3220 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3221 | /* end confdefs.h. */
|
---|
| 3222 |
|
---|
| 3223 | int
|
---|
| 3224 | main ()
|
---|
| 3225 | {
|
---|
| 3226 |
|
---|
| 3227 | ;
|
---|
| 3228 | return 0;
|
---|
| 3229 | }
|
---|
| 3230 | _ACEOF
|
---|
| 3231 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3232 | ac_cv_prog_cc_g=yes
|
---|
[562] | 3233 | fi
|
---|
[22378] | 3234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3235 | fi
|
---|
[22378] | 3236 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3237 | fi
|
---|
| 3238 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3239 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3240 | fi
|
---|
| 3241 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
| 3242 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[562] | 3243 | if test "$ac_test_CFLAGS" = set; then
|
---|
[8756] | 3244 | CFLAGS=$ac_save_CFLAGS
|
---|
[562] | 3245 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 3246 | if test "$GCC" = yes; then
|
---|
| 3247 | CFLAGS="-g -O2"
|
---|
| 3248 | else
|
---|
| 3249 | CFLAGS="-g"
|
---|
| 3250 | fi
|
---|
| 3251 | else
|
---|
| 3252 | if test "$GCC" = yes; then
|
---|
| 3253 | CFLAGS="-O2"
|
---|
| 3254 | else
|
---|
| 3255 | CFLAGS=
|
---|
| 3256 | fi
|
---|
| 3257 | fi
|
---|
[22378] | 3258 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
| 3259 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
| 3260 | if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
---|
| 3261 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3262 | else
|
---|
[22378] | 3263 | ac_cv_prog_cc_c89=no
|
---|
[8756] | 3264 | ac_save_CC=$CC
|
---|
[22378] | 3265 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 3266 | /* end confdefs.h. */
|
---|
| 3267 | #include <stdarg.h>
|
---|
| 3268 | #include <stdio.h>
|
---|
| 3269 | #include <sys/types.h>
|
---|
| 3270 | #include <sys/stat.h>
|
---|
| 3271 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 3272 | struct buf { int x; };
|
---|
| 3273 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 3274 | static char *e (p, i)
|
---|
| 3275 | char **p;
|
---|
| 3276 | int i;
|
---|
| 3277 | {
|
---|
| 3278 | return p[i];
|
---|
| 3279 | }
|
---|
| 3280 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 3281 | {
|
---|
| 3282 | char *s;
|
---|
| 3283 | va_list v;
|
---|
| 3284 | va_start (v,p);
|
---|
| 3285 | s = g (p, va_arg (v,int));
|
---|
| 3286 | va_end (v);
|
---|
| 3287 | return s;
|
---|
| 3288 | }
|
---|
[8200] | 3289 |
|
---|
[8756] | 3290 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3291 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3292 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[22378] | 3293 | as 'x'. The following induces an error, until -std is added to get
|
---|
[8756] | 3294 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3295 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[22378] | 3296 | that's true only with -std. */
|
---|
[8756] | 3297 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3298 |
|
---|
[22378] | 3299 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3300 | inside strings and character constants. */
|
---|
| 3301 | #define FOO(x) 'x'
|
---|
| 3302 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3303 |
|
---|
[8756] | 3304 | int test (int i, double x);
|
---|
| 3305 | struct s1 {int (*f) (int a);};
|
---|
| 3306 | struct s2 {int (*f) (double a);};
|
---|
| 3307 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3308 | int argc;
|
---|
| 3309 | char **argv;
|
---|
| 3310 | int
|
---|
| 3311 | main ()
|
---|
| 3312 | {
|
---|
| 3313 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3314 | ;
|
---|
| 3315 | return 0;
|
---|
| 3316 | }
|
---|
| 3317 | _ACEOF
|
---|
[22378] | 3318 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3319 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[562] | 3320 | do
|
---|
[8756] | 3321 | CC="$ac_save_CC $ac_arg"
|
---|
[22378] | 3322 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3323 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[562] | 3324 | fi
|
---|
[22378] | 3325 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3326 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[8756] | 3327 | done
|
---|
[22378] | 3328 | rm -f conftest.$ac_ext
|
---|
[8756] | 3329 | CC=$ac_save_CC
|
---|
| 3330 |
|
---|
[562] | 3331 | fi
|
---|
[22378] | 3332 | # AC_CACHE_VAL
|
---|
| 3333 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3334 | x)
|
---|
| 3335 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
| 3336 | $as_echo "none needed" >&6; } ;;
|
---|
| 3337 | xno)
|
---|
| 3338 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
| 3339 | $as_echo "unsupported" >&6; } ;;
|
---|
[8756] | 3340 | *)
|
---|
[22378] | 3341 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
| 3342 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
| 3343 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[8756] | 3344 | esac
|
---|
[22378] | 3345 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
[8756] | 3346 |
|
---|
[20853] | 3347 | fi
|
---|
| 3348 |
|
---|
[8756] | 3349 | ac_ext=c
|
---|
| 3350 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3351 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3352 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3353 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[8200] | 3354 |
|
---|
[22378] | 3355 | ac_ext=cpp
|
---|
[8200] | 3356 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
[8756] | 3357 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3358 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3359 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[22378] | 3360 | if test -z "$CXX"; then
|
---|
| 3361 | if test -n "$CCC"; then
|
---|
| 3362 | CXX=$CCC
|
---|
| 3363 | else
|
---|
| 3364 | if test -n "$ac_tool_prefix"; then
|
---|
| 3365 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[8756] | 3366 | do
|
---|
| 3367 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 3368 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[22378] | 3369 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3370 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3371 | if test "${ac_cv_prog_CXX+set}" = set; then :
|
---|
| 3372 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3373 | else
|
---|
| 3374 | if test -n "$CXX"; then
|
---|
| 3375 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 3376 | else
|
---|
| 3377 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3378 | for as_dir in $PATH
|
---|
| 3379 | do
|
---|
| 3380 | IFS=$as_save_IFS
|
---|
| 3381 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 3382 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3383 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 3384 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[22378] | 3385 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 3386 | break 2
|
---|
| 3387 | fi
|
---|
| 3388 | done
|
---|
[22378] | 3389 | done
|
---|
| 3390 | IFS=$as_save_IFS
|
---|
[8200] | 3391 |
|
---|
[8756] | 3392 | fi
|
---|
| 3393 | fi
|
---|
| 3394 | CXX=$ac_cv_prog_CXX
|
---|
| 3395 | if test -n "$CXX"; then
|
---|
[22378] | 3396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
| 3397 | $as_echo "$CXX" >&6; }
|
---|
[8756] | 3398 | else
|
---|
[22378] | 3399 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3400 | $as_echo "no" >&6; }
|
---|
[8756] | 3401 | fi
|
---|
[8200] | 3402 |
|
---|
[22378] | 3403 |
|
---|
[8756] | 3404 | test -n "$CXX" && break
|
---|
| 3405 | done
|
---|
| 3406 | fi
|
---|
| 3407 | if test -z "$CXX"; then
|
---|
| 3408 | ac_ct_CXX=$CXX
|
---|
[22378] | 3409 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[8756] | 3410 | do
|
---|
| 3411 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3412 | set dummy $ac_prog; ac_word=$2
|
---|
[22378] | 3413 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3414 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3415 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
---|
| 3416 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3417 | else
|
---|
| 3418 | if test -n "$ac_ct_CXX"; then
|
---|
| 3419 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3420 | else
|
---|
| 3421 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3422 | for as_dir in $PATH
|
---|
| 3423 | do
|
---|
| 3424 | IFS=$as_save_IFS
|
---|
| 3425 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 3426 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3427 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 3428 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[22378] | 3429 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 3430 | break 2
|
---|
| 3431 | fi
|
---|
| 3432 | done
|
---|
[22378] | 3433 | done
|
---|
| 3434 | IFS=$as_save_IFS
|
---|
[8200] | 3435 |
|
---|
[8756] | 3436 | fi
|
---|
| 3437 | fi
|
---|
| 3438 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3439 | if test -n "$ac_ct_CXX"; then
|
---|
[22378] | 3440 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
| 3441 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
[3631] | 3442 | else
|
---|
[22378] | 3443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3444 | $as_echo "no" >&6; }
|
---|
[3631] | 3445 | fi
|
---|
[562] | 3446 |
|
---|
[22378] | 3447 |
|
---|
[8756] | 3448 | test -n "$ac_ct_CXX" && break
|
---|
| 3449 | done
|
---|
| 3450 |
|
---|
[22378] | 3451 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3452 | CXX="g++"
|
---|
| 3453 | else
|
---|
| 3454 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3455 | yes:)
|
---|
| 3456 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 3457 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3458 | ac_tool_warned=yes ;;
|
---|
| 3459 | esac
|
---|
| 3460 | CXX=$ac_ct_CXX
|
---|
| 3461 | fi
|
---|
[3631] | 3462 | fi
|
---|
[562] | 3463 |
|
---|
[22378] | 3464 | fi
|
---|
| 3465 | fi
|
---|
[8756] | 3466 | # Provide some information about the compiler.
|
---|
[22378] | 3467 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
| 3468 | set X $ac_compile
|
---|
| 3469 | ac_compiler=$2
|
---|
| 3470 | for ac_option in --version -v -V -qversion; do
|
---|
| 3471 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
| 3472 | case "(($ac_try" in
|
---|
| 3473 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3474 | *) ac_try_echo=$ac_try;;
|
---|
| 3475 | esac
|
---|
| 3476 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3477 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3478 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[8756] | 3479 | ac_status=$?
|
---|
[22378] | 3480 | if test -s conftest.err; then
|
---|
| 3481 | sed '10a\
|
---|
| 3482 | ... rest of stderr output deleted ...
|
---|
| 3483 | 10q' conftest.err >conftest.er1
|
---|
| 3484 | cat conftest.er1 >&5
|
---|
| 3485 | fi
|
---|
| 3486 | rm -f conftest.er1 conftest.err
|
---|
| 3487 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3488 | test $ac_status = 0; }
|
---|
| 3489 | done
|
---|
[8756] | 3490 |
|
---|
[22378] | 3491 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 3492 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
| 3493 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
---|
| 3494 | $as_echo_n "(cached) " >&6
|
---|
[3631] | 3495 | else
|
---|
[22378] | 3496 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 3497 | /* end confdefs.h. */
|
---|
| 3498 |
|
---|
| 3499 | int
|
---|
| 3500 | main ()
|
---|
| 3501 | {
|
---|
| 3502 | #ifndef __GNUC__
|
---|
| 3503 | choke me
|
---|
[3631] | 3504 | #endif
|
---|
[8756] | 3505 |
|
---|
| 3506 | ;
|
---|
| 3507 | return 0;
|
---|
| 3508 | }
|
---|
| 3509 | _ACEOF
|
---|
[22378] | 3510 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[8756] | 3511 | ac_compiler_gnu=yes
|
---|
[8200] | 3512 | else
|
---|
[22378] | 3513 | ac_compiler_gnu=no
|
---|
[8200] | 3514 | fi
|
---|
[22378] | 3515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 3516 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3517 |
|
---|
[8200] | 3518 | fi
|
---|
[22378] | 3519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 3520 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3521 | if test $ac_compiler_gnu = yes; then
|
---|
| 3522 | GXX=yes
|
---|
| 3523 | else
|
---|
| 3524 | GXX=
|
---|
| 3525 | fi
|
---|
[8756] | 3526 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3527 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[22378] | 3528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
| 3529 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
| 3530 | if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
---|
| 3531 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3532 | else
|
---|
[22378] | 3533 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3534 | ac_cxx_werror_flag=yes
|
---|
| 3535 | ac_cv_prog_cxx_g=no
|
---|
| 3536 | CXXFLAGS="-g"
|
---|
| 3537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 3538 | /* end confdefs.h. */
|
---|
[3631] | 3539 |
|
---|
[8756] | 3540 | int
|
---|
| 3541 | main ()
|
---|
| 3542 | {
|
---|
[8200] | 3543 |
|
---|
[8756] | 3544 | ;
|
---|
| 3545 | return 0;
|
---|
| 3546 | }
|
---|
| 3547 | _ACEOF
|
---|
[22378] | 3548 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[562] | 3549 | ac_cv_prog_cxx_g=yes
|
---|
| 3550 | else
|
---|
[22378] | 3551 | CXXFLAGS=""
|
---|
| 3552 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3553 | /* end confdefs.h. */
|
---|
[8200] | 3554 |
|
---|
[8756] | 3555 | int
|
---|
| 3556 | main ()
|
---|
| 3557 | {
|
---|
[22378] | 3558 |
|
---|
[8756] | 3559 | ;
|
---|
| 3560 | return 0;
|
---|
| 3561 | }
|
---|
| 3562 | _ACEOF
|
---|
[22378] | 3563 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3564 |
|
---|
[8756] | 3565 | else
|
---|
[22378] | 3566 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3567 | CXXFLAGS="-g"
|
---|
| 3568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3569 | /* end confdefs.h. */
|
---|
[3063] | 3570 |
|
---|
[8756] | 3571 | int
|
---|
| 3572 | main ()
|
---|
| 3573 | {
|
---|
[22378] | 3574 |
|
---|
[8756] | 3575 | ;
|
---|
| 3576 | return 0;
|
---|
| 3577 | }
|
---|
| 3578 | _ACEOF
|
---|
[22378] | 3579 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3580 | ac_cv_prog_cxx_g=yes
|
---|
| 3581 | fi
|
---|
| 3582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3583 | fi
|
---|
| 3584 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3585 | fi
|
---|
| 3586 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3587 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3588 | fi
|
---|
| 3589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 3590 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
| 3591 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3592 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3593 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3594 | if test "$GXX" = yes; then
|
---|
| 3595 | CXXFLAGS="-g -O2"
|
---|
| 3596 | else
|
---|
| 3597 | CXXFLAGS="-g"
|
---|
| 3598 | fi
|
---|
[8756] | 3599 | else
|
---|
[22378] | 3600 | if test "$GXX" = yes; then
|
---|
| 3601 | CXXFLAGS="-O2"
|
---|
| 3602 | else
|
---|
| 3603 | CXXFLAGS=
|
---|
| 3604 | fi
|
---|
[8756] | 3605 | fi
|
---|
| 3606 | ac_ext=c
|
---|
| 3607 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3608 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3609 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3610 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3611 |
|
---|
| 3612 | for ac_prog in gawk mawk nawk awk
|
---|
[3063] | 3613 | do
|
---|
[8756] | 3614 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
[687] | 3615 | set dummy $ac_prog; ac_word=$2
|
---|
[22378] | 3616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3617 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3618 | if test "${ac_cv_prog_AWK+set}" = set; then :
|
---|
| 3619 | $as_echo_n "(cached) " >&6
|
---|
[687] | 3620 | else
|
---|
| 3621 | if test -n "$AWK"; then
|
---|
| 3622 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 3623 | else
|
---|
[8756] | 3624 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3625 | for as_dir in $PATH
|
---|
| 3626 | do
|
---|
| 3627 | IFS=$as_save_IFS
|
---|
| 3628 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 3629 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3630 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 3631 | ac_cv_prog_AWK="$ac_prog"
|
---|
[22378] | 3632 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 3633 | break 2
|
---|
| 3634 | fi
|
---|
| 3635 | done
|
---|
[22378] | 3636 | done
|
---|
| 3637 | IFS=$as_save_IFS
|
---|
[8756] | 3638 |
|
---|
[687] | 3639 | fi
|
---|
| 3640 | fi
|
---|
[8756] | 3641 | AWK=$ac_cv_prog_AWK
|
---|
[687] | 3642 | if test -n "$AWK"; then
|
---|
[22378] | 3643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
| 3644 | $as_echo "$AWK" >&6; }
|
---|
[687] | 3645 | else
|
---|
[22378] | 3646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3647 | $as_echo "no" >&6; }
|
---|
[687] | 3648 | fi
|
---|
| 3649 |
|
---|
[22378] | 3650 |
|
---|
[8756] | 3651 | test -n "$AWK" && break
|
---|
[687] | 3652 | done
|
---|
| 3653 |
|
---|
| 3654 | for ac_prog in 'bison -y' byacc
|
---|
| 3655 | do
|
---|
[8756] | 3656 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
[687] | 3657 | set dummy $ac_prog; ac_word=$2
|
---|
[22378] | 3658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3659 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3660 | if test "${ac_cv_prog_YACC+set}" = set; then :
|
---|
| 3661 | $as_echo_n "(cached) " >&6
|
---|
[687] | 3662 | else
|
---|
| 3663 | if test -n "$YACC"; then
|
---|
| 3664 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 3665 | else
|
---|
[8756] | 3666 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3667 | for as_dir in $PATH
|
---|
| 3668 | do
|
---|
| 3669 | IFS=$as_save_IFS
|
---|
| 3670 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 3671 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3672 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 3673 | ac_cv_prog_YACC="$ac_prog"
|
---|
[22378] | 3674 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 3675 | break 2
|
---|
| 3676 | fi
|
---|
| 3677 | done
|
---|
[22378] | 3678 | done
|
---|
| 3679 | IFS=$as_save_IFS
|
---|
[8756] | 3680 |
|
---|
[687] | 3681 | fi
|
---|
| 3682 | fi
|
---|
[8756] | 3683 | YACC=$ac_cv_prog_YACC
|
---|
[687] | 3684 | if test -n "$YACC"; then
|
---|
[22378] | 3685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
---|
| 3686 | $as_echo "$YACC" >&6; }
|
---|
[687] | 3687 | else
|
---|
[22378] | 3688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3689 | $as_echo "no" >&6; }
|
---|
[687] | 3690 | fi
|
---|
| 3691 |
|
---|
[22378] | 3692 |
|
---|
[8756] | 3693 | test -n "$YACC" && break
|
---|
[687] | 3694 | done
|
---|
| 3695 | test -n "$YACC" || YACC="yacc"
|
---|
| 3696 |
|
---|
[703] | 3697 | ac_aux_dir=
|
---|
[22378] | 3698 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
[23356] | 3699 | if test -f "$ac_dir/install-sh"; then
|
---|
| 3700 | ac_aux_dir=$ac_dir
|
---|
| 3701 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 3702 | break
|
---|
| 3703 | elif test -f "$ac_dir/install.sh"; then
|
---|
| 3704 | ac_aux_dir=$ac_dir
|
---|
| 3705 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 3706 | break
|
---|
| 3707 | elif test -f "$ac_dir/shtool"; then
|
---|
| 3708 | ac_aux_dir=$ac_dir
|
---|
| 3709 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 3710 | break
|
---|
| 3711 | fi
|
---|
[703] | 3712 | done
|
---|
| 3713 | if test -z "$ac_aux_dir"; then
|
---|
[23356] | 3714 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
[703] | 3715 | fi
|
---|
| 3716 |
|
---|
[22378] | 3717 | # These three variables are undocumented and unsupported,
|
---|
| 3718 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 3719 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 3720 | # whose full name contains unusual characters.
|
---|
| 3721 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 3722 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 3723 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 3724 |
|
---|
| 3725 |
|
---|
[8756] | 3726 | # Make sure we can run config.sub.
|
---|
[22378] | 3727 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
[23356] | 3728 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
[2279] | 3729 |
|
---|
[22378] | 3730 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
| 3731 | $as_echo_n "checking build system type... " >&6; }
|
---|
| 3732 | if test "${ac_cv_build+set}" = set; then :
|
---|
| 3733 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3734 | else
|
---|
[22378] | 3735 | ac_build_alias=$build_alias
|
---|
| 3736 | test "x$ac_build_alias" = x &&
|
---|
| 3737 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 3738 | test "x$ac_build_alias" = x &&
|
---|
[23356] | 3739 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
[22378] | 3740 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
[23356] | 3741 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
[2279] | 3742 |
|
---|
| 3743 | fi
|
---|
[22378] | 3744 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
| 3745 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 3746 | case $ac_cv_build in
|
---|
| 3747 | *-*-*) ;;
|
---|
[23356] | 3748 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
|
---|
[22378] | 3749 | esac
|
---|
[8756] | 3750 | build=$ac_cv_build
|
---|
[22378] | 3751 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3752 | set x $ac_cv_build
|
---|
| 3753 | shift
|
---|
| 3754 | build_cpu=$1
|
---|
| 3755 | build_vendor=$2
|
---|
| 3756 | shift; shift
|
---|
| 3757 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3758 | # except with old shells:
|
---|
| 3759 | build_os=$*
|
---|
| 3760 | IFS=$ac_save_IFS
|
---|
| 3761 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[2279] | 3762 |
|
---|
| 3763 |
|
---|
[22378] | 3764 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
| 3765 | $as_echo_n "checking host system type... " >&6; }
|
---|
| 3766 | if test "${ac_cv_host+set}" = set; then :
|
---|
| 3767 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3768 | else
|
---|
[22378] | 3769 | if test "x$host_alias" = x; then
|
---|
| 3770 | ac_cv_host=$ac_cv_build
|
---|
| 3771 | else
|
---|
| 3772 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
[23356] | 3773 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
[22378] | 3774 | fi
|
---|
[2279] | 3775 |
|
---|
[8756] | 3776 | fi
|
---|
[22378] | 3777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
| 3778 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 3779 | case $ac_cv_host in
|
---|
| 3780 | *-*-*) ;;
|
---|
[23356] | 3781 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
|
---|
[22378] | 3782 | esac
|
---|
[8756] | 3783 | host=$ac_cv_host
|
---|
[22378] | 3784 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3785 | set x $ac_cv_host
|
---|
| 3786 | shift
|
---|
| 3787 | host_cpu=$1
|
---|
| 3788 | host_vendor=$2
|
---|
| 3789 | shift; shift
|
---|
| 3790 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3791 | # except with old shells:
|
---|
| 3792 | host_os=$*
|
---|
| 3793 | IFS=$ac_save_IFS
|
---|
| 3794 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[8200] | 3795 |
|
---|
| 3796 |
|
---|
[22378] | 3797 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
---|
| 3798 | $as_echo_n "checking target system type... " >&6; }
|
---|
| 3799 | if test "${ac_cv_target+set}" = set; then :
|
---|
| 3800 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 3801 | else
|
---|
[22378] | 3802 | if test "x$target_alias" = x; then
|
---|
| 3803 | ac_cv_target=$ac_cv_host
|
---|
| 3804 | else
|
---|
| 3805 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
[23356] | 3806 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
---|
[22378] | 3807 | fi
|
---|
[8200] | 3808 |
|
---|
[8756] | 3809 | fi
|
---|
[22378] | 3810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
---|
| 3811 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 3812 | case $ac_cv_target in
|
---|
| 3813 | *-*-*) ;;
|
---|
[23356] | 3814 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;;
|
---|
[22378] | 3815 | esac
|
---|
[8756] | 3816 | target=$ac_cv_target
|
---|
[22378] | 3817 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3818 | set x $ac_cv_target
|
---|
| 3819 | shift
|
---|
| 3820 | target_cpu=$1
|
---|
| 3821 | target_vendor=$2
|
---|
| 3822 | shift; shift
|
---|
| 3823 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3824 | # except with old shells:
|
---|
| 3825 | target_os=$*
|
---|
| 3826 | IFS=$ac_save_IFS
|
---|
| 3827 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[8200] | 3828 |
|
---|
| 3829 |
|
---|
[8756] | 3830 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 3831 | # will get canonicalized.
|
---|
| 3832 | test -n "$target_alias" &&
|
---|
[2279] | 3833 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 3834 | NONENONEs,x,x, &&
|
---|
| 3835 | program_prefix=${target_alias}-
|
---|
[22378] | 3836 |
|
---|
[703] | 3837 | # Find a good install program. We prefer a C program (faster),
|
---|
| 3838 | # so one script is as good as another. But avoid the broken or
|
---|
| 3839 | # incompatible versions:
|
---|
| 3840 | # SysV /etc/install, /usr/sbin/install
|
---|
| 3841 | # SunOS /usr/etc/install
|
---|
| 3842 | # IRIX /sbin/install
|
---|
| 3843 | # AIX /bin/install
|
---|
[8756] | 3844 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
[703] | 3845 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 3846 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 3847 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
[8756] | 3848 | # OS/2's system install, which has a completely different semantic
|
---|
[703] | 3849 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[22378] | 3850 | # Reject install programs that cannot install multiple files.
|
---|
| 3851 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
| 3852 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[703] | 3853 | if test -z "$INSTALL"; then
|
---|
[22378] | 3854 | if test "${ac_cv_path_install+set}" = set; then :
|
---|
| 3855 | $as_echo_n "(cached) " >&6
|
---|
[703] | 3856 | else
|
---|
[8756] | 3857 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3858 | for as_dir in $PATH
|
---|
| 3859 | do
|
---|
| 3860 | IFS=$as_save_IFS
|
---|
| 3861 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 3862 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 3863 | case $as_dir/ in #((
|
---|
| 3864 | ./ | .// | /[cC]/* | \
|
---|
[8756] | 3865 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[22378] | 3866 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
[8756] | 3867 | /usr/ucb/* ) ;;
|
---|
| 3868 | *)
|
---|
| 3869 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 3870 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 3871 | # by default.
|
---|
| 3872 | for ac_prog in ginstall scoinst install; do
|
---|
| 3873 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22378] | 3874 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[703] | 3875 | if test $ac_prog = install &&
|
---|
[8756] | 3876 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
[703] | 3877 | # AIX install. It has an incompatible calling convention.
|
---|
| 3878 | :
|
---|
[8756] | 3879 | elif test $ac_prog = install &&
|
---|
| 3880 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3881 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 3882 | :
|
---|
[703] | 3883 | else
|
---|
[22378] | 3884 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 3885 | echo one > conftest.one
|
---|
| 3886 | echo two > conftest.two
|
---|
| 3887 | mkdir conftest.dir
|
---|
| 3888 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 3889 | test -s conftest.one && test -s conftest.two &&
|
---|
| 3890 | test -s conftest.dir/conftest.one &&
|
---|
| 3891 | test -s conftest.dir/conftest.two
|
---|
| 3892 | then
|
---|
| 3893 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 3894 | break 3
|
---|
| 3895 | fi
|
---|
[703] | 3896 | fi
|
---|
| 3897 | fi
|
---|
| 3898 | done
|
---|
[8756] | 3899 | done
|
---|
| 3900 | ;;
|
---|
| 3901 | esac
|
---|
[703] | 3902 |
|
---|
[22378] | 3903 | done
|
---|
| 3904 | IFS=$as_save_IFS
|
---|
[8756] | 3905 |
|
---|
[22378] | 3906 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 3907 |
|
---|
[703] | 3908 | fi
|
---|
| 3909 | if test "${ac_cv_path_install+set}" = set; then
|
---|
[8756] | 3910 | INSTALL=$ac_cv_path_install
|
---|
[703] | 3911 | else
|
---|
[22378] | 3912 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 3913 | # value for INSTALL within a source directory, because that will
|
---|
[703] | 3914 | # break other packages using the cache if that directory is
|
---|
[22378] | 3915 | # removed, or if the value is a relative name.
|
---|
[8756] | 3916 | INSTALL=$ac_install_sh
|
---|
[703] | 3917 | fi
|
---|
| 3918 | fi
|
---|
[22378] | 3919 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
| 3920 | $as_echo "$INSTALL" >&6; }
|
---|
[703] | 3921 |
|
---|
| 3922 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3923 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3924 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3925 |
|
---|
[8756] | 3926 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
[703] | 3927 |
|
---|
| 3928 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3929 |
|
---|
[22378] | 3930 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
---|
| 3931 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[8756] | 3932 | LN_S=$as_ln_s
|
---|
| 3933 | if test "$LN_S" = "ln -s"; then
|
---|
[22378] | 3934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 3935 | $as_echo "yes" >&6; }
|
---|
[562] | 3936 | else
|
---|
[22378] | 3937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
---|
| 3938 | $as_echo "no, using $LN_S" >&6; }
|
---|
[562] | 3939 | fi
|
---|
| 3940 |
|
---|
[22378] | 3941 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 3942 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 3943 | set x ${MAKE-make}
|
---|
| 3944 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
[23356] | 3945 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
|
---|
[22378] | 3946 | $as_echo_n "(cached) " >&6
|
---|
[562] | 3947 | else
|
---|
[8756] | 3948 | cat >conftest.make <<\_ACEOF
|
---|
[22378] | 3949 | SHELL = /bin/sh
|
---|
[562] | 3950 | all:
|
---|
[22378] | 3951 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[8756] | 3952 | _ACEOF
|
---|
[23356] | 3953 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
[22378] | 3954 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 3955 | *@@@%%%=?*=@@@%%%*)
|
---|
| 3956 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 3957 | *)
|
---|
| 3958 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 3959 | esac
|
---|
[8756] | 3960 | rm -f conftest.make
|
---|
[562] | 3961 | fi
|
---|
[22378] | 3962 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
| 3963 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 3964 | $as_echo "yes" >&6; }
|
---|
[562] | 3965 | SET_MAKE=
|
---|
| 3966 | else
|
---|
[22378] | 3967 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 3968 | $as_echo "no" >&6; }
|
---|
[562] | 3969 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 3970 | fi
|
---|
| 3971 |
|
---|
[8756] | 3972 | if test -n "$ac_tool_prefix"; then
|
---|
| 3973 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 3974 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[22378] | 3975 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 3976 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 3977 | if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
---|
| 3978 | $as_echo_n "(cached) " >&6
|
---|
[562] | 3979 | else
|
---|
| 3980 | if test -n "$RANLIB"; then
|
---|
| 3981 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 3982 | else
|
---|
[8756] | 3983 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3984 | for as_dir in $PATH
|
---|
| 3985 | do
|
---|
| 3986 | IFS=$as_save_IFS
|
---|
| 3987 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 3988 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3989 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 3990 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[22378] | 3991 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 3992 | break 2
|
---|
| 3993 | fi
|
---|
| 3994 | done
|
---|
[22378] | 3995 | done
|
---|
| 3996 | IFS=$as_save_IFS
|
---|
[8756] | 3997 |
|
---|
[562] | 3998 | fi
|
---|
| 3999 | fi
|
---|
[8756] | 4000 | RANLIB=$ac_cv_prog_RANLIB
|
---|
[562] | 4001 | if test -n "$RANLIB"; then
|
---|
[22378] | 4002 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
---|
| 4003 | $as_echo "$RANLIB" >&6; }
|
---|
[562] | 4004 | else
|
---|
[22378] | 4005 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4006 | $as_echo "no" >&6; }
|
---|
[562] | 4007 | fi
|
---|
| 4008 |
|
---|
[22378] | 4009 |
|
---|
[8756] | 4010 | fi
|
---|
| 4011 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 4012 | ac_ct_RANLIB=$RANLIB
|
---|
| 4013 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 4014 | set dummy ranlib; ac_word=$2
|
---|
[22378] | 4015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4016 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4017 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
---|
| 4018 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 4019 | else
|
---|
| 4020 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 4021 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 4022 | else
|
---|
| 4023 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4024 | for as_dir in $PATH
|
---|
| 4025 | do
|
---|
| 4026 | IFS=$as_save_IFS
|
---|
| 4027 | test -z "$as_dir" && as_dir=.
|
---|
[22378] | 4028 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4029 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[8756] | 4030 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[22378] | 4031 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[8756] | 4032 | break 2
|
---|
| 4033 | fi
|
---|
| 4034 | done
|
---|
[22378] | 4035 | done
|
---|
| 4036 | IFS=$as_save_IFS
|
---|
[562] | 4037 |
|
---|
[8756] | 4038 | fi
|
---|
| 4039 | fi
|
---|
| 4040 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 4041 | if test -n "$ac_ct_RANLIB"; then
|
---|
[22378] | 4042 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
---|
| 4043 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
[8756] | 4044 | else
|
---|
[22378] | 4045 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4046 | $as_echo "no" >&6; }
|
---|
[8756] | 4047 | fi
|
---|
| 4048 |
|
---|
[22378] | 4049 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 4050 | RANLIB=":"
|
---|
| 4051 | else
|
---|
| 4052 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4053 | yes:)
|
---|
| 4054 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 4055 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4056 | ac_tool_warned=yes ;;
|
---|
| 4057 | esac
|
---|
| 4058 | RANLIB=$ac_ct_RANLIB
|
---|
| 4059 | fi
|
---|
[8756] | 4060 | else
|
---|
| 4061 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 4062 | fi
|
---|
| 4063 |
|
---|
| 4064 |
|
---|
[22378] | 4065 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
|
---|
| 4066 | $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
|
---|
[15551] | 4067 | arch_64bit=no
|
---|
| 4068 | case "$host_cpu" in
|
---|
| 4069 | x86_64) arch_64bit=yes ;;
|
---|
| 4070 | esac
|
---|
| 4071 |
|
---|
| 4072 | if test "$arch_64bit" = yes; then
|
---|
[22378] | 4073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4074 | $as_echo "yes" >&6; }
|
---|
[15551] | 4075 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
[22378] | 4076 | if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then
|
---|
| 4077 | COMPAT32BITFLAGS="-m32"
|
---|
| 4078 | fi
|
---|
[15551] | 4079 | fi
|
---|
| 4080 | else
|
---|
[22378] | 4081 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4082 | $as_echo "no" >&6; }
|
---|
[15551] | 4083 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 4084 | COMPAT32BITFLAGS=
|
---|
| 4085 | fi
|
---|
| 4086 | fi
|
---|
[21432] | 4087 |
|
---|
[15551] | 4088 | export COMPAT32BITFLAGS
|
---|
| 4089 |
|
---|
| 4090 |
|
---|
| 4091 |
|
---|
[2173] | 4092 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 4093 | if test $USE_CORBA = 1; then
|
---|
| 4094 |
|
---|
[2213] | 4095 | if test $MICO_DIR = "default"; then
|
---|
[2173] | 4096 | #do something
|
---|
| 4097 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 4098 | else
|
---|
| 4099 | #build the micotest program
|
---|
| 4100 | MICO_INC= ""
|
---|
| 4101 | if test $MICO_DIR != yes; then
|
---|
| 4102 | MICO_INC="-I $MICO_DIR"
|
---|
| 4103 | fi
|
---|
| 4104 | fi
|
---|
| 4105 |
|
---|
| 4106 | #get MICO_VER value
|
---|
| 4107 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 4108 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
[2214] | 4109 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
[2173] | 4110 | sh -c "rm micotest"
|
---|
| 4111 | sh -c "rm micotest.o"
|
---|
| 4112 |
|
---|
| 4113 | #do test of MICO_VER
|
---|
| 4114 | if test MICO_VER != 0; then
|
---|
[22378] | 4115 | $as_echo "#define MICO_VER 1" >>confdefs.h
|
---|
[2173] | 4116 |
|
---|
[8200] | 4117 |
|
---|
[2173] | 4118 | fi
|
---|
| 4119 | #end USE_CORBA test
|
---|
| 4120 | fi
|
---|
| 4121 |
|
---|
[8756] | 4122 |
|
---|
| 4123 | ac_ext=c
|
---|
| 4124 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4125 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4126 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4127 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[22378] | 4128 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
| 4129 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[687] | 4130 | # On Suns, sometimes $CPP names a directory.
|
---|
| 4131 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 4132 | CPP=
|
---|
| 4133 | fi
|
---|
| 4134 | if test -z "$CPP"; then
|
---|
[22378] | 4135 | if test "${ac_cv_prog_CPP+set}" = set; then :
|
---|
| 4136 | $as_echo_n "(cached) " >&6
|
---|
[687] | 4137 | else
|
---|
[8756] | 4138 | # Double quotes because CPP needs to be expanded
|
---|
| 4139 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 4140 | do
|
---|
| 4141 | ac_preproc_ok=false
|
---|
| 4142 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4143 | do
|
---|
| 4144 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4145 | # with a fresh cross-compiler works.
|
---|
| 4146 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4147 | # <limits.h> exists even on freestanding compilers.
|
---|
[687] | 4148 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
[8756] | 4149 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[22378] | 4150 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4151 | /* end confdefs.h. */
|
---|
| 4152 | #ifdef __STDC__
|
---|
| 4153 | # include <limits.h>
|
---|
| 4154 | #else
|
---|
| 4155 | # include <assert.h>
|
---|
| 4156 | #endif
|
---|
| 4157 | Syntax error
|
---|
| 4158 | _ACEOF
|
---|
[22378] | 4159 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4160 |
|
---|
[20853] | 4161 | else
|
---|
[8756] | 4162 | # Broken: fails on valid input.
|
---|
| 4163 | continue
|
---|
| 4164 | fi
|
---|
[23356] | 4165 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[8756] | 4166 |
|
---|
[22378] | 4167 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[8756] | 4168 | # can be detected and how.
|
---|
[22378] | 4169 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4170 | /* end confdefs.h. */
|
---|
| 4171 | #include <ac_nonexistent.h>
|
---|
| 4172 | _ACEOF
|
---|
[22378] | 4173 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[8756] | 4174 | # Broken: success on invalid input.
|
---|
| 4175 | continue
|
---|
| 4176 | else
|
---|
| 4177 | # Passes both tests.
|
---|
| 4178 | ac_preproc_ok=:
|
---|
| 4179 | break
|
---|
| 4180 | fi
|
---|
[23356] | 4181 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[8756] | 4182 |
|
---|
| 4183 | done
|
---|
| 4184 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[23356] | 4185 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
[22378] | 4186 | if $ac_preproc_ok; then :
|
---|
[8756] | 4187 | break
|
---|
| 4188 | fi
|
---|
| 4189 |
|
---|
| 4190 | done
|
---|
| 4191 | ac_cv_prog_CPP=$CPP
|
---|
| 4192 |
|
---|
| 4193 | fi
|
---|
| 4194 | CPP=$ac_cv_prog_CPP
|
---|
| 4195 | else
|
---|
| 4196 | ac_cv_prog_CPP=$CPP
|
---|
| 4197 | fi
|
---|
[22378] | 4198 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
| 4199 | $as_echo "$CPP" >&6; }
|
---|
[8756] | 4200 | ac_preproc_ok=false
|
---|
| 4201 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4202 | do
|
---|
| 4203 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4204 | # with a fresh cross-compiler works.
|
---|
| 4205 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4206 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4207 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4208 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[22378] | 4209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4210 | /* end confdefs.h. */
|
---|
| 4211 | #ifdef __STDC__
|
---|
| 4212 | # include <limits.h>
|
---|
| 4213 | #else
|
---|
| 4214 | # include <assert.h>
|
---|
| 4215 | #endif
|
---|
| 4216 | Syntax error
|
---|
| 4217 | _ACEOF
|
---|
[22378] | 4218 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4219 |
|
---|
[20853] | 4220 | else
|
---|
[8756] | 4221 | # Broken: fails on valid input.
|
---|
| 4222 | continue
|
---|
[687] | 4223 | fi
|
---|
[23356] | 4224 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[8756] | 4225 |
|
---|
[22378] | 4226 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[8756] | 4227 | # can be detected and how.
|
---|
[22378] | 4228 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4229 | /* end confdefs.h. */
|
---|
| 4230 | #include <ac_nonexistent.h>
|
---|
| 4231 | _ACEOF
|
---|
[22378] | 4232 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[8756] | 4233 | # Broken: success on invalid input.
|
---|
| 4234 | continue
|
---|
| 4235 | else
|
---|
| 4236 | # Passes both tests.
|
---|
| 4237 | ac_preproc_ok=:
|
---|
| 4238 | break
|
---|
[687] | 4239 | fi
|
---|
[23356] | 4240 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[8756] | 4241 |
|
---|
| 4242 | done
|
---|
| 4243 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[23356] | 4244 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
[22378] | 4245 | if $ac_preproc_ok; then :
|
---|
| 4246 |
|
---|
[8756] | 4247 | else
|
---|
[22378] | 4248 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 4249 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[23356] | 4250 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
| 4251 | See \`config.log' for more details" "$LINENO" 5 ; }
|
---|
[8200] | 4252 | fi
|
---|
[8756] | 4253 |
|
---|
| 4254 | ac_ext=c
|
---|
| 4255 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4256 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4257 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4258 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4259 |
|
---|
| 4260 |
|
---|
[22378] | 4261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
| 4262 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
| 4263 | if test "${ac_cv_path_GREP+set}" = set; then :
|
---|
| 4264 | $as_echo_n "(cached) " >&6
|
---|
[687] | 4265 | else
|
---|
[22378] | 4266 | if test -z "$GREP"; then
|
---|
| 4267 | ac_path_GREP_found=false
|
---|
| 4268 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4269 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4270 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4271 | do
|
---|
| 4272 | IFS=$as_save_IFS
|
---|
| 4273 | test -z "$as_dir" && as_dir=.
|
---|
| 4274 | for ac_prog in grep ggrep; do
|
---|
| 4275 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4276 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4277 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4278 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 4279 | # Check for GNU $ac_path_GREP
|
---|
| 4280 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4281 | *GNU*)
|
---|
| 4282 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4283 | *)
|
---|
| 4284 | ac_count=0
|
---|
| 4285 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4286 | while :
|
---|
| 4287 | do
|
---|
| 4288 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4289 | mv "conftest.tmp" "conftest.in"
|
---|
| 4290 | cp "conftest.in" "conftest.nl"
|
---|
| 4291 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 4292 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4293 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4294 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 4295 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4296 | # Best one so far, save it but keep looking for a better one
|
---|
| 4297 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4298 | ac_path_GREP_max=$ac_count
|
---|
[8756] | 4299 | fi
|
---|
[22378] | 4300 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4301 | test $ac_count -gt 10 && break
|
---|
| 4302 | done
|
---|
| 4303 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4304 | esac
|
---|
[687] | 4305 |
|
---|
[22378] | 4306 | $ac_path_GREP_found && break 3
|
---|
| 4307 | done
|
---|
| 4308 | done
|
---|
| 4309 | done
|
---|
| 4310 | IFS=$as_save_IFS
|
---|
| 4311 | if test -z "$ac_cv_path_GREP"; then
|
---|
[23356] | 4312 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[22378] | 4313 | fi
|
---|
[687] | 4314 | else
|
---|
[22378] | 4315 | ac_cv_path_GREP=$GREP
|
---|
[687] | 4316 | fi
|
---|
| 4317 |
|
---|
[22378] | 4318 | fi
|
---|
| 4319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
| 4320 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 4321 | GREP="$ac_cv_path_GREP"
|
---|
[8200] | 4322 |
|
---|
[687] | 4323 |
|
---|
[22378] | 4324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
| 4325 | $as_echo_n "checking for egrep... " >&6; }
|
---|
| 4326 | if test "${ac_cv_path_EGREP+set}" = set; then :
|
---|
| 4327 | $as_echo_n "(cached) " >&6
|
---|
[687] | 4328 | else
|
---|
[22378] | 4329 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4330 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4331 | else
|
---|
| 4332 | if test -z "$EGREP"; then
|
---|
| 4333 | ac_path_EGREP_found=false
|
---|
| 4334 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4335 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4336 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4337 | do
|
---|
| 4338 | IFS=$as_save_IFS
|
---|
| 4339 | test -z "$as_dir" && as_dir=.
|
---|
| 4340 | for ac_prog in egrep; do
|
---|
| 4341 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4342 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4343 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4344 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4345 | # Check for GNU $ac_path_EGREP
|
---|
| 4346 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4347 | *GNU*)
|
---|
| 4348 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4349 | *)
|
---|
| 4350 | ac_count=0
|
---|
| 4351 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4352 | while :
|
---|
| 4353 | do
|
---|
| 4354 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4355 | mv "conftest.tmp" "conftest.in"
|
---|
| 4356 | cp "conftest.in" "conftest.nl"
|
---|
| 4357 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 4358 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4359 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4360 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
| 4361 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4362 | # Best one so far, save it but keep looking for a better one
|
---|
| 4363 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4364 | ac_path_EGREP_max=$ac_count
|
---|
| 4365 | fi
|
---|
| 4366 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4367 | test $ac_count -gt 10 && break
|
---|
| 4368 | done
|
---|
| 4369 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4370 | esac
|
---|
[8756] | 4371 |
|
---|
[22378] | 4372 | $ac_path_EGREP_found && break 3
|
---|
| 4373 | done
|
---|
| 4374 | done
|
---|
| 4375 | done
|
---|
| 4376 | IFS=$as_save_IFS
|
---|
| 4377 | if test -z "$ac_cv_path_EGREP"; then
|
---|
[23356] | 4378 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[22378] | 4379 | fi
|
---|
[687] | 4380 | else
|
---|
[22378] | 4381 | ac_cv_path_EGREP=$EGREP
|
---|
[8756] | 4382 | fi
|
---|
| 4383 |
|
---|
[22378] | 4384 | fi
|
---|
[8756] | 4385 | fi
|
---|
[22378] | 4386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
| 4387 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 4388 | EGREP="$ac_cv_path_EGREP"
|
---|
[8756] | 4389 |
|
---|
[22378] | 4390 |
|
---|
| 4391 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 4392 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 4393 | if test "${ac_cv_header_stdc+set}" = set; then :
|
---|
| 4394 | $as_echo_n "(cached) " >&6
|
---|
[687] | 4395 | else
|
---|
[22378] | 4396 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4397 | /* end confdefs.h. */
|
---|
| 4398 | #include <stdlib.h>
|
---|
| 4399 | #include <stdarg.h>
|
---|
| 4400 | #include <string.h>
|
---|
| 4401 | #include <float.h>
|
---|
| 4402 |
|
---|
| 4403 | int
|
---|
| 4404 | main ()
|
---|
| 4405 | {
|
---|
| 4406 |
|
---|
| 4407 | ;
|
---|
| 4408 | return 0;
|
---|
| 4409 | }
|
---|
| 4410 | _ACEOF
|
---|
[22378] | 4411 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[8756] | 4412 | ac_cv_header_stdc=yes
|
---|
| 4413 | else
|
---|
[22378] | 4414 | ac_cv_header_stdc=no
|
---|
[687] | 4415 | fi
|
---|
[22378] | 4416 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 4417 |
|
---|
| 4418 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4419 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[22378] | 4420 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4421 | /* end confdefs.h. */
|
---|
| 4422 | #include <string.h>
|
---|
| 4423 |
|
---|
| 4424 | _ACEOF
|
---|
| 4425 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 4426 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 4427 |
|
---|
[8756] | 4428 | else
|
---|
| 4429 | ac_cv_header_stdc=no
|
---|
| 4430 | fi
|
---|
[8200] | 4431 | rm -f conftest*
|
---|
[8756] | 4432 |
|
---|
[687] | 4433 | fi
|
---|
[8756] | 4434 |
|
---|
| 4435 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4436 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[22378] | 4437 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4438 | /* end confdefs.h. */
|
---|
| 4439 | #include <stdlib.h>
|
---|
| 4440 |
|
---|
| 4441 | _ACEOF
|
---|
| 4442 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 4443 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 4444 |
|
---|
[8756] | 4445 | else
|
---|
| 4446 | ac_cv_header_stdc=no
|
---|
| 4447 | fi
|
---|
| 4448 | rm -f conftest*
|
---|
| 4449 |
|
---|
| 4450 | fi
|
---|
| 4451 |
|
---|
| 4452 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4453 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[22378] | 4454 | if test "$cross_compiling" = yes; then :
|
---|
[8756] | 4455 | :
|
---|
| 4456 | else
|
---|
[22378] | 4457 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4458 | /* end confdefs.h. */
|
---|
| 4459 | #include <ctype.h>
|
---|
[22378] | 4460 | #include <stdlib.h>
|
---|
[8756] | 4461 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4462 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4463 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4464 | #else
|
---|
| 4465 | # define ISLOWER(c) \
|
---|
| 4466 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4467 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4468 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4469 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4470 | #endif
|
---|
| 4471 |
|
---|
| 4472 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4473 | int
|
---|
| 4474 | main ()
|
---|
| 4475 | {
|
---|
| 4476 | int i;
|
---|
| 4477 | for (i = 0; i < 256; i++)
|
---|
| 4478 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4479 | || toupper (i) != TOUPPER (i))
|
---|
[22378] | 4480 | return 2;
|
---|
| 4481 | return 0;
|
---|
[8756] | 4482 | }
|
---|
| 4483 | _ACEOF
|
---|
[22378] | 4484 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 4485 |
|
---|
[8756] | 4486 | else
|
---|
[22378] | 4487 | ac_cv_header_stdc=no
|
---|
[8756] | 4488 | fi
|
---|
[22378] | 4489 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 4490 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[8756] | 4491 | fi
|
---|
[22378] | 4492 |
|
---|
[8756] | 4493 | fi
|
---|
| 4494 | fi
|
---|
[22378] | 4495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 4496 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[8756] | 4497 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4498 |
|
---|
[22378] | 4499 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[8756] | 4500 |
|
---|
| 4501 | fi
|
---|
| 4502 |
|
---|
| 4503 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
[22378] | 4504 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4505 | inttypes.h stdint.h unistd.h
|
---|
| 4506 | do :
|
---|
| 4507 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4508 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 4509 | "
|
---|
[23356] | 4510 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[22378] | 4511 | cat >>confdefs.h <<_ACEOF
|
---|
| 4512 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 4513 | _ACEOF
|
---|
[8756] | 4514 |
|
---|
[22378] | 4515 | fi
|
---|
[8756] | 4516 |
|
---|
[22378] | 4517 | done
|
---|
[8756] | 4518 |
|
---|
| 4519 |
|
---|
| 4520 |
|
---|
[22378] | 4521 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
---|
| 4522 | if test "x$ac_cv_header_minix_config_h" = x""yes; then :
|
---|
| 4523 | MINIX=yes
|
---|
| 4524 | else
|
---|
| 4525 | MINIX=
|
---|
| 4526 | fi
|
---|
[8756] | 4527 |
|
---|
| 4528 |
|
---|
[22378] | 4529 | if test "$MINIX" = yes; then
|
---|
[8756] | 4530 |
|
---|
[22378] | 4531 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
---|
[8756] | 4532 |
|
---|
[22378] | 4533 |
|
---|
| 4534 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
---|
| 4535 |
|
---|
| 4536 |
|
---|
| 4537 | $as_echo "#define _MINIX 1" >>confdefs.h
|
---|
| 4538 |
|
---|
| 4539 | fi
|
---|
| 4540 |
|
---|
| 4541 |
|
---|
| 4542 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
| 4543 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
| 4544 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
|
---|
| 4545 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 4546 | else
|
---|
[22378] | 4547 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4548 | /* end confdefs.h. */
|
---|
| 4549 |
|
---|
[22378] | 4550 | # define __EXTENSIONS__ 1
|
---|
| 4551 | $ac_includes_default
|
---|
| 4552 | int
|
---|
| 4553 | main ()
|
---|
| 4554 | {
|
---|
| 4555 |
|
---|
| 4556 | ;
|
---|
| 4557 | return 0;
|
---|
| 4558 | }
|
---|
[8756] | 4559 | _ACEOF
|
---|
[22378] | 4560 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 4561 | ac_cv_safe_to_define___extensions__=yes
|
---|
[8756] | 4562 | else
|
---|
[22378] | 4563 | ac_cv_safe_to_define___extensions__=no
|
---|
[8756] | 4564 | fi
|
---|
[22378] | 4565 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[8756] | 4566 | fi
|
---|
[22378] | 4567 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
| 4568 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 4569 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
| 4570 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
---|
[8756] | 4571 |
|
---|
[22378] | 4572 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
---|
[8756] | 4573 |
|
---|
[22378] | 4574 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
---|
[8756] | 4575 |
|
---|
[22378] | 4576 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
---|
[8756] | 4577 |
|
---|
[22378] | 4578 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
---|
| 4579 |
|
---|
| 4580 |
|
---|
| 4581 |
|
---|
| 4582 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
|
---|
| 4583 | $as_echo_n "checking for library containing strerror... " >&6; }
|
---|
| 4584 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
| 4585 | $as_echo_n "(cached) " >&6
|
---|
[8756] | 4586 | else
|
---|
[22378] | 4587 | ac_func_search_save_LIBS=$LIBS
|
---|
| 4588 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4589 | /* end confdefs.h. */
|
---|
| 4590 |
|
---|
[22378] | 4591 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 4592 | Use char because int might match the return type of a GCC
|
---|
| 4593 | builtin and then its argument prototype would still apply. */
|
---|
| 4594 | #ifdef __cplusplus
|
---|
| 4595 | extern "C"
|
---|
| 4596 | #endif
|
---|
| 4597 | char strerror ();
|
---|
| 4598 | int
|
---|
| 4599 | main ()
|
---|
| 4600 | {
|
---|
| 4601 | return strerror ();
|
---|
| 4602 | ;
|
---|
| 4603 | return 0;
|
---|
| 4604 | }
|
---|
[8756] | 4605 | _ACEOF
|
---|
[22378] | 4606 | for ac_lib in '' cposix; do
|
---|
| 4607 | if test -z "$ac_lib"; then
|
---|
| 4608 | ac_res="none required"
|
---|
[20853] | 4609 | else
|
---|
[22378] | 4610 | ac_res=-l$ac_lib
|
---|
| 4611 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
[20853] | 4612 | fi
|
---|
[22378] | 4613 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 4614 | ac_cv_search_strerror=$ac_res
|
---|
[20853] | 4615 | fi
|
---|
[22378] | 4616 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 4617 | conftest$ac_exeext
|
---|
| 4618 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
| 4619 | break
|
---|
[8756] | 4620 | fi
|
---|
[22378] | 4621 | done
|
---|
| 4622 | if test "${ac_cv_search_strerror+set}" = set; then :
|
---|
[8756] | 4623 |
|
---|
| 4624 | else
|
---|
[22378] | 4625 | ac_cv_search_strerror=no
|
---|
[8756] | 4626 | fi
|
---|
[22378] | 4627 | rm conftest.$ac_ext
|
---|
| 4628 | LIBS=$ac_func_search_save_LIBS
|
---|
| 4629 | fi
|
---|
| 4630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
|
---|
| 4631 | $as_echo "$ac_cv_search_strerror" >&6; }
|
---|
| 4632 | ac_res=$ac_cv_search_strerror
|
---|
| 4633 | if test "$ac_res" != no; then :
|
---|
| 4634 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[8756] | 4635 |
|
---|
| 4636 | fi
|
---|
[687] | 4637 |
|
---|
[8756] | 4638 |
|
---|
[22378] | 4639 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
| 4640 | $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
|
---|
| 4641 | if test "${ac_cv_prog_cc_stdc+set}" = set; then :
|
---|
| 4642 | $as_echo_n "(cached) " >&6
|
---|
[700] | 4643 | else
|
---|
| 4644 | ac_cv_prog_cc_stdc=no
|
---|
| 4645 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 4646 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 4647 | # breaks some systems' header files.
|
---|
| 4648 | # AIX -qlanglvl=ansi
|
---|
| 4649 | # Ultrix and OSF/1 -std1
|
---|
| 4650 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 4651 | # SVR4 -Xc
|
---|
| 4652 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 4653 | do
|
---|
| 4654 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[22378] | 4655 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4656 | /* end confdefs.h. */
|
---|
[700] | 4657 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 4658 | choke me
|
---|
[8756] | 4659 | #endif
|
---|
[700] | 4660 |
|
---|
[8756] | 4661 | int
|
---|
| 4662 | main ()
|
---|
| 4663 | {
|
---|
[700] | 4664 | int test (int i, double x);
|
---|
| 4665 | struct s1 {int (*f) (int a);};
|
---|
| 4666 | struct s2 {int (*f) (double a);};
|
---|
[8756] | 4667 | ;
|
---|
| 4668 | return 0;
|
---|
| 4669 | }
|
---|
| 4670 | _ACEOF
|
---|
[22378] | 4671 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[700] | 4672 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 4673 | fi
|
---|
[22378] | 4674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[700] | 4675 | done
|
---|
| 4676 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 4677 |
|
---|
| 4678 | fi
|
---|
| 4679 |
|
---|
[22378] | 4680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 4681 | $as_echo "$ac_cv_prog_cc_stdc" >&6; }
|
---|
[700] | 4682 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 4683 | x|xno) ;;
|
---|
| 4684 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 4685 | esac
|
---|
| 4686 |
|
---|
[8200] | 4687 |
|
---|
[22378] | 4688 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
---|
| 4689 | $as_echo_n "checking for function prototypes... " >&6; }
|
---|
[700] | 4690 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[22378] | 4691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 4692 | $as_echo "yes" >&6; }
|
---|
| 4693 | $as_echo "#define PROTOTYPES 1" >>confdefs.h
|
---|
[700] | 4694 |
|
---|
| 4695 | U= ANSI2KNR=
|
---|
| 4696 | else
|
---|
[22378] | 4697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4698 | $as_echo "no" >&6; }
|
---|
[700] | 4699 | U=_ ANSI2KNR=ansi2knr
|
---|
| 4700 | fi
|
---|
| 4701 |
|
---|
[22378] | 4702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
---|
| 4703 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
| 4704 | if test "${ac_cv_c_const+set}" = set; then :
|
---|
| 4705 | $as_echo_n "(cached) " >&6
|
---|
[687] | 4706 | else
|
---|
[22378] | 4707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4708 | /* end confdefs.h. */
|
---|
[8200] | 4709 |
|
---|
[8756] | 4710 | int
|
---|
| 4711 | main ()
|
---|
| 4712 | {
|
---|
| 4713 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 4714 | #ifndef __cplusplus
|
---|
| 4715 | /* Ultrix mips cc rejects this. */
|
---|
| 4716 | typedef int charset[2];
|
---|
[22378] | 4717 | const charset cs;
|
---|
[8756] | 4718 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[22378] | 4719 | char const *const *pcpcc;
|
---|
| 4720 | char **ppc;
|
---|
[8756] | 4721 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 4722 | struct point {int x, y;};
|
---|
| 4723 | static struct point const zero = {0,0};
|
---|
| 4724 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 4725 | It does not let you subtract one const X* pointer from another in
|
---|
| 4726 | an arm of an if-expression whose if-part is not a constant
|
---|
| 4727 | expression */
|
---|
| 4728 | const char *g = "string";
|
---|
[22378] | 4729 | pcpcc = &g + (g ? g-g : 0);
|
---|
[8756] | 4730 | /* HPUX 7.0 cc rejects these. */
|
---|
[22378] | 4731 | ++pcpcc;
|
---|
| 4732 | ppc = (char**) pcpcc;
|
---|
| 4733 | pcpcc = (char const *const *) ppc;
|
---|
[8756] | 4734 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 4735 | char *t;
|
---|
| 4736 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
[8200] | 4737 |
|
---|
[8756] | 4738 | *t++ = 0;
|
---|
[22378] | 4739 | if (s) return 0;
|
---|
[8756] | 4740 | }
|
---|
| 4741 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 4742 | int x[] = {25, 17};
|
---|
| 4743 | const int *foo = &x[0];
|
---|
| 4744 | ++foo;
|
---|
| 4745 | }
|
---|
| 4746 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 4747 | typedef const int *iptr;
|
---|
| 4748 | iptr p = 0;
|
---|
| 4749 | ++p;
|
---|
| 4750 | }
|
---|
| 4751 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 4752 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 4753 | struct s { int j; const int *ap[3]; };
|
---|
| 4754 | struct s *b; b->j = 5;
|
---|
| 4755 | }
|
---|
| 4756 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 4757 | const int foo = 10;
|
---|
[22378] | 4758 | if (!foo) return 0;
|
---|
[8756] | 4759 | }
|
---|
[22378] | 4760 | return !cs[0] && !zero.x;
|
---|
[8756] | 4761 | #endif
|
---|
[8200] | 4762 |
|
---|
[8756] | 4763 | ;
|
---|
| 4764 | return 0;
|
---|
[3631] | 4765 | }
|
---|
[8756] | 4766 | _ACEOF
|
---|
[22378] | 4767 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[687] | 4768 | ac_cv_c_const=yes
|
---|
| 4769 | else
|
---|
[22378] | 4770 | ac_cv_c_const=no
|
---|
[687] | 4771 | fi
|
---|
[22378] | 4772 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4773 | fi
|
---|
[22378] | 4774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
---|
| 4775 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
[3631] | 4776 | if test $ac_cv_c_const = no; then
|
---|
[687] | 4777 |
|
---|
[22378] | 4778 | $as_echo "#define const /**/" >>confdefs.h
|
---|
[8756] | 4779 |
|
---|
[687] | 4780 | fi
|
---|
| 4781 |
|
---|
[22378] | 4782 | ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
---|
| 4783 | if test "x$ac_cv_type_off_t" = x""yes; then :
|
---|
[687] | 4784 |
|
---|
| 4785 | else
|
---|
| 4786 |
|
---|
[8756] | 4787 | cat >>confdefs.h <<_ACEOF
|
---|
[22378] | 4788 | #define off_t long int
|
---|
[8756] | 4789 | _ACEOF
|
---|
[687] | 4790 |
|
---|
| 4791 | fi
|
---|
[8200] | 4792 |
|
---|
[22378] | 4793 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 4794 | if test "x$ac_cv_type_size_t" = x""yes; then :
|
---|
[8200] | 4795 |
|
---|
[687] | 4796 | else
|
---|
[8200] | 4797 |
|
---|
[8756] | 4798 | cat >>confdefs.h <<_ACEOF
|
---|
[22378] | 4799 | #define size_t unsigned int
|
---|
[8756] | 4800 | _ACEOF
|
---|
[687] | 4801 |
|
---|
| 4802 | fi
|
---|
| 4803 |
|
---|
[22378] | 4804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 4805 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
---|
| 4806 | if test "${ac_cv_header_time+set}" = set; then :
|
---|
| 4807 | $as_echo_n "(cached) " >&6
|
---|
[687] | 4808 | else
|
---|
[22378] | 4809 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4810 | /* end confdefs.h. */
|
---|
[687] | 4811 | #include <sys/types.h>
|
---|
| 4812 | #include <sys/time.h>
|
---|
| 4813 | #include <time.h>
|
---|
[8756] | 4814 |
|
---|
| 4815 | int
|
---|
| 4816 | main ()
|
---|
| 4817 | {
|
---|
| 4818 | if ((struct tm *) 0)
|
---|
| 4819 | return 0;
|
---|
| 4820 | ;
|
---|
| 4821 | return 0;
|
---|
| 4822 | }
|
---|
| 4823 | _ACEOF
|
---|
[22378] | 4824 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[687] | 4825 | ac_cv_header_time=yes
|
---|
| 4826 | else
|
---|
[22378] | 4827 | ac_cv_header_time=no
|
---|
[687] | 4828 | fi
|
---|
[22378] | 4829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4830 | fi
|
---|
[22378] | 4831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
---|
| 4832 | $as_echo "$ac_cv_header_time" >&6; }
|
---|
[8756] | 4833 | if test $ac_cv_header_time = yes; then
|
---|
[8200] | 4834 |
|
---|
[22378] | 4835 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
---|
[687] | 4836 |
|
---|
| 4837 | fi
|
---|
| 4838 |
|
---|
[22378] | 4839 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 4840 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
---|
| 4841 | if test "${ac_cv_struct_tm+set}" = set; then :
|
---|
| 4842 | $as_echo_n "(cached) " >&6
|
---|
[687] | 4843 | else
|
---|
[22378] | 4844 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4845 | /* end confdefs.h. */
|
---|
[687] | 4846 | #include <sys/types.h>
|
---|
| 4847 | #include <time.h>
|
---|
[8756] | 4848 |
|
---|
| 4849 | int
|
---|
| 4850 | main ()
|
---|
| 4851 | {
|
---|
[22378] | 4852 | struct tm tm;
|
---|
| 4853 | int *p = &tm.tm_sec;
|
---|
| 4854 | return !p;
|
---|
[8756] | 4855 | ;
|
---|
| 4856 | return 0;
|
---|
| 4857 | }
|
---|
| 4858 | _ACEOF
|
---|
[22378] | 4859 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[687] | 4860 | ac_cv_struct_tm=time.h
|
---|
| 4861 | else
|
---|
[22378] | 4862 | ac_cv_struct_tm=sys/time.h
|
---|
[687] | 4863 | fi
|
---|
[22378] | 4864 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4865 | fi
|
---|
[22378] | 4866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
---|
| 4867 | $as_echo "$ac_cv_struct_tm" >&6; }
|
---|
[8756] | 4868 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
[8200] | 4869 |
|
---|
[22378] | 4870 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
---|
[687] | 4871 |
|
---|
| 4872 | fi
|
---|
| 4873 |
|
---|
[8200] | 4874 |
|
---|
[687] | 4875 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[22378] | 4876 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4877 | /* end confdefs.h. */
|
---|
[687] | 4878 | #include <stdio.h>
|
---|
| 4879 |
|
---|
[8756] | 4880 | int
|
---|
| 4881 | main ()
|
---|
| 4882 | {
|
---|
| 4883 | FILE *rubbish = popen("yes", "r");
|
---|
| 4884 | ;
|
---|
| 4885 | return 0;
|
---|
| 4886 | }
|
---|
| 4887 | _ACEOF
|
---|
[22378] | 4888 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 4889 |
|
---|
[687] | 4890 | else
|
---|
[22378] | 4891 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[687] | 4892 | fi
|
---|
[22378] | 4893 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 4894 | fi
|
---|
| 4895 |
|
---|
[8200] | 4896 |
|
---|
[22378] | 4897 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
|
---|
| 4898 | $as_echo_n "checking for main in -lg... " >&6; }
|
---|
| 4899 | if test "${ac_cv_lib_g_main+set}" = set; then :
|
---|
| 4900 | $as_echo_n "(cached) " >&6
|
---|
[562] | 4901 | else
|
---|
[8756] | 4902 | ac_check_lib_save_LIBS=$LIBS
|
---|
[562] | 4903 | LIBS="-lg $LIBS"
|
---|
[22378] | 4904 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4905 | /* end confdefs.h. */
|
---|
[562] | 4906 |
|
---|
[8756] | 4907 |
|
---|
| 4908 | int
|
---|
| 4909 | main ()
|
---|
| 4910 | {
|
---|
[22378] | 4911 | return main ();
|
---|
[8756] | 4912 | ;
|
---|
| 4913 | return 0;
|
---|
| 4914 | }
|
---|
| 4915 | _ACEOF
|
---|
[22378] | 4916 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[8756] | 4917 | ac_cv_lib_g_main=yes
|
---|
[562] | 4918 | else
|
---|
[22378] | 4919 | ac_cv_lib_g_main=no
|
---|
[562] | 4920 | fi
|
---|
[22378] | 4921 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 4922 | conftest$ac_exeext conftest.$ac_ext
|
---|
[8756] | 4923 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 4924 | fi
|
---|
[22378] | 4925 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
|
---|
| 4926 | $as_echo "$ac_cv_lib_g_main" >&6; }
|
---|
| 4927 | if test "x$ac_cv_lib_g_main" = x""yes; then :
|
---|
[8756] | 4928 | cat >>confdefs.h <<_ACEOF
|
---|
| 4929 | #define HAVE_LIBG 1
|
---|
| 4930 | _ACEOF
|
---|
[562] | 4931 |
|
---|
| 4932 | LIBS="-lg $LIBS"
|
---|
| 4933 |
|
---|
| 4934 | fi
|
---|
[8756] | 4935 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
[562] | 4936 |
|
---|
[22378] | 4937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
---|
| 4938 | $as_echo_n "checking for main in -lm... " >&6; }
|
---|
| 4939 | if test "${ac_cv_lib_m_main+set}" = set; then :
|
---|
| 4940 | $as_echo_n "(cached) " >&6
|
---|
[562] | 4941 | else
|
---|
[8756] | 4942 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4943 | LIBS="-lm $LIBS"
|
---|
[22378] | 4944 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4945 | /* end confdefs.h. */
|
---|
[8200] | 4946 |
|
---|
[562] | 4947 |
|
---|
[8756] | 4948 | int
|
---|
| 4949 | main ()
|
---|
| 4950 | {
|
---|
[22378] | 4951 | return main ();
|
---|
[8756] | 4952 | ;
|
---|
| 4953 | return 0;
|
---|
| 4954 | }
|
---|
| 4955 | _ACEOF
|
---|
[22378] | 4956 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[8756] | 4957 | ac_cv_lib_m_main=yes
|
---|
[8200] | 4958 | else
|
---|
[22378] | 4959 | ac_cv_lib_m_main=no
|
---|
[562] | 4960 | fi
|
---|
[22378] | 4961 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 4962 | conftest$ac_exeext conftest.$ac_ext
|
---|
[8756] | 4963 | LIBS=$ac_check_lib_save_LIBS
|
---|
[562] | 4964 | fi
|
---|
[22378] | 4965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
---|
| 4966 | $as_echo "$ac_cv_lib_m_main" >&6; }
|
---|
| 4967 | if test "x$ac_cv_lib_m_main" = x""yes; then :
|
---|
[8756] | 4968 | cat >>confdefs.h <<_ACEOF
|
---|
| 4969 | #define HAVE_LIBM 1
|
---|
| 4970 | _ACEOF
|
---|
[562] | 4971 |
|
---|
| 4972 | LIBS="-lm $LIBS"
|
---|
| 4973 |
|
---|
| 4974 | fi
|
---|
[8756] | 4975 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
[562] | 4976 |
|
---|
[22378] | 4977 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
|
---|
| 4978 | $as_echo_n "checking for main in -lcrypt... " >&6; }
|
---|
| 4979 | if test "${ac_cv_lib_crypt_main+set}" = set; then :
|
---|
| 4980 | $as_echo_n "(cached) " >&6
|
---|
[562] | 4981 | else
|
---|
[8756] | 4982 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 4983 | LIBS="-lcrypt $LIBS"
|
---|
[22378] | 4984 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 4985 | /* end confdefs.h. */
|
---|
[562] | 4986 |
|
---|
[8756] | 4987 |
|
---|
| 4988 | int
|
---|
| 4989 | main ()
|
---|
| 4990 | {
|
---|
[22378] | 4991 | return main ();
|
---|
[8756] | 4992 | ;
|
---|
| 4993 | return 0;
|
---|
| 4994 | }
|
---|
| 4995 | _ACEOF
|
---|
[22378] | 4996 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[8756] | 4997 | ac_cv_lib_crypt_main=yes
|
---|
[562] | 4998 | else
|
---|
[22378] | 4999 | ac_cv_lib_crypt_main=no
|
---|
[562] | 5000 | fi
|
---|
[22378] | 5001 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5002 | conftest$ac_exeext conftest.$ac_ext
|
---|
[8756] | 5003 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5004 | fi
|
---|
[22378] | 5005 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 5006 | $as_echo "$ac_cv_lib_crypt_main" >&6; }
|
---|
| 5007 | if test "x$ac_cv_lib_crypt_main" = x""yes; then :
|
---|
[8756] | 5008 | cat >>confdefs.h <<_ACEOF
|
---|
| 5009 | #define HAVE_LIBCRYPT 1
|
---|
| 5010 | _ACEOF
|
---|
[562] | 5011 |
|
---|
[8756] | 5012 | LIBS="-lcrypt $LIBS"
|
---|
[562] | 5013 |
|
---|
| 5014 | fi
|
---|
[8756] | 5015 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
[562] | 5016 |
|
---|
[20842] | 5017 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 5018 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 5019 | #fi
|
---|
[562] | 5020 |
|
---|
[687] | 5021 | ac_header_dirent=no
|
---|
[8756] | 5022 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[22378] | 5023 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
| 5024 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
---|
| 5025 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
---|
[23356] | 5026 | if eval "test \"\${$as_ac_Header+set}\"" = set; then :
|
---|
[22378] | 5027 | $as_echo_n "(cached) " >&6
|
---|
[562] | 5028 | else
|
---|
[22378] | 5029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5030 | /* end confdefs.h. */
|
---|
[687] | 5031 | #include <sys/types.h>
|
---|
| 5032 | #include <$ac_hdr>
|
---|
[8756] | 5033 |
|
---|
| 5034 | int
|
---|
| 5035 | main ()
|
---|
| 5036 | {
|
---|
| 5037 | if ((DIR *) 0)
|
---|
| 5038 | return 0;
|
---|
| 5039 | ;
|
---|
| 5040 | return 0;
|
---|
| 5041 | }
|
---|
| 5042 | _ACEOF
|
---|
[22378] | 5043 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[8756] | 5044 | eval "$as_ac_Header=yes"
|
---|
[562] | 5045 | else
|
---|
[22378] | 5046 | eval "$as_ac_Header=no"
|
---|
[687] | 5047 | fi
|
---|
[22378] | 5048 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 5049 | fi
|
---|
[22378] | 5050 | eval ac_res=\$$as_ac_Header
|
---|
| 5051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 5052 | $as_echo "$ac_res" >&6; }
|
---|
[23356] | 5053 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[8756] | 5054 | cat >>confdefs.h <<_ACEOF
|
---|
[22378] | 5055 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[8756] | 5056 | _ACEOF
|
---|
| 5057 |
|
---|
| 5058 | ac_header_dirent=$ac_hdr; break
|
---|
[687] | 5059 | fi
|
---|
[8756] | 5060 |
|
---|
[687] | 5061 | done
|
---|
| 5062 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5063 | if test $ac_header_dirent = dirent.h; then
|
---|
[22378] | 5064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
| 5065 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
| 5066 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5067 | $as_echo_n "(cached) " >&6
|
---|
[687] | 5068 | else
|
---|
[8756] | 5069 | ac_func_search_save_LIBS=$LIBS
|
---|
[22378] | 5070 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5071 | /* end confdefs.h. */
|
---|
| 5072 |
|
---|
[22378] | 5073 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5074 | Use char because int might match the return type of a GCC
|
---|
| 5075 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 5076 | #ifdef __cplusplus
|
---|
| 5077 | extern "C"
|
---|
| 5078 | #endif
|
---|
| 5079 | char opendir ();
|
---|
| 5080 | int
|
---|
| 5081 | main ()
|
---|
| 5082 | {
|
---|
[22378] | 5083 | return opendir ();
|
---|
[8756] | 5084 | ;
|
---|
| 5085 | return 0;
|
---|
| 5086 | }
|
---|
| 5087 | _ACEOF
|
---|
[22378] | 5088 | for ac_lib in '' dir; do
|
---|
| 5089 | if test -z "$ac_lib"; then
|
---|
| 5090 | ac_res="none required"
|
---|
| 5091 | else
|
---|
| 5092 | ac_res=-l$ac_lib
|
---|
| 5093 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5094 | fi
|
---|
| 5095 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5096 | ac_cv_search_opendir=$ac_res
|
---|
[687] | 5097 | fi
|
---|
[22378] | 5098 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5099 | conftest$ac_exeext
|
---|
| 5100 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5101 | break
|
---|
| 5102 | fi
|
---|
| 5103 | done
|
---|
| 5104 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
[8200] | 5105 |
|
---|
| 5106 | else
|
---|
[22378] | 5107 | ac_cv_search_opendir=no
|
---|
[687] | 5108 | fi
|
---|
[22378] | 5109 | rm conftest.$ac_ext
|
---|
[8756] | 5110 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5111 | fi
|
---|
[22378] | 5112 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
| 5113 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5114 | ac_res=$ac_cv_search_opendir
|
---|
| 5115 | if test "$ac_res" != no; then :
|
---|
| 5116 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[687] | 5117 |
|
---|
[8756] | 5118 | fi
|
---|
| 5119 |
|
---|
[687] | 5120 | else
|
---|
[22378] | 5121 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
| 5122 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
| 5123 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5124 | $as_echo_n "(cached) " >&6
|
---|
[687] | 5125 | else
|
---|
[8756] | 5126 | ac_func_search_save_LIBS=$LIBS
|
---|
[22378] | 5127 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5128 | /* end confdefs.h. */
|
---|
| 5129 |
|
---|
[22378] | 5130 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5131 | Use char because int might match the return type of a GCC
|
---|
| 5132 | builtin and then its argument prototype would still apply. */
|
---|
[8756] | 5133 | #ifdef __cplusplus
|
---|
| 5134 | extern "C"
|
---|
| 5135 | #endif
|
---|
| 5136 | char opendir ();
|
---|
| 5137 | int
|
---|
| 5138 | main ()
|
---|
| 5139 | {
|
---|
[22378] | 5140 | return opendir ();
|
---|
[8756] | 5141 | ;
|
---|
| 5142 | return 0;
|
---|
| 5143 | }
|
---|
| 5144 | _ACEOF
|
---|
[22378] | 5145 | for ac_lib in '' x; do
|
---|
| 5146 | if test -z "$ac_lib"; then
|
---|
| 5147 | ac_res="none required"
|
---|
| 5148 | else
|
---|
| 5149 | ac_res=-l$ac_lib
|
---|
| 5150 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5151 | fi
|
---|
| 5152 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 5153 | ac_cv_search_opendir=$ac_res
|
---|
[562] | 5154 | fi
|
---|
[22378] | 5155 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5156 | conftest$ac_exeext
|
---|
| 5157 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
| 5158 | break
|
---|
| 5159 | fi
|
---|
| 5160 | done
|
---|
| 5161 | if test "${ac_cv_search_opendir+set}" = set; then :
|
---|
[8200] | 5162 |
|
---|
| 5163 | else
|
---|
[22378] | 5164 | ac_cv_search_opendir=no
|
---|
[562] | 5165 | fi
|
---|
[22378] | 5166 | rm conftest.$ac_ext
|
---|
[8756] | 5167 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5168 | fi
|
---|
[22378] | 5169 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
| 5170 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5171 | ac_res=$ac_cv_search_opendir
|
---|
| 5172 | if test "$ac_res" != no; then :
|
---|
| 5173 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[562] | 5174 |
|
---|
[687] | 5175 | fi
|
---|
| 5176 |
|
---|
[8756] | 5177 | fi
|
---|
| 5178 |
|
---|
[22378] | 5179 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
| 5180 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
| 5181 | if test "${ac_cv_header_stdc+set}" = set; then :
|
---|
| 5182 | $as_echo_n "(cached) " >&6
|
---|
[562] | 5183 | else
|
---|
[22378] | 5184 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5185 | /* end confdefs.h. */
|
---|
[562] | 5186 | #include <stdlib.h>
|
---|
| 5187 | #include <stdarg.h>
|
---|
| 5188 | #include <string.h>
|
---|
| 5189 | #include <float.h>
|
---|
[8756] | 5190 |
|
---|
| 5191 | int
|
---|
| 5192 | main ()
|
---|
| 5193 | {
|
---|
| 5194 |
|
---|
| 5195 | ;
|
---|
| 5196 | return 0;
|
---|
| 5197 | }
|
---|
| 5198 | _ACEOF
|
---|
[22378] | 5199 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[562] | 5200 | ac_cv_header_stdc=yes
|
---|
| 5201 | else
|
---|
[22378] | 5202 | ac_cv_header_stdc=no
|
---|
[562] | 5203 | fi
|
---|
[22378] | 5204 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5205 |
|
---|
| 5206 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5207 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[22378] | 5208 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5209 | /* end confdefs.h. */
|
---|
[562] | 5210 | #include <string.h>
|
---|
[8756] | 5211 |
|
---|
| 5212 | _ACEOF
|
---|
[562] | 5213 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5214 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5215 |
|
---|
[562] | 5216 | else
|
---|
| 5217 | ac_cv_header_stdc=no
|
---|
| 5218 | fi
|
---|
| 5219 | rm -f conftest*
|
---|
| 5220 |
|
---|
| 5221 | fi
|
---|
| 5222 |
|
---|
| 5223 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5224 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[22378] | 5225 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5226 | /* end confdefs.h. */
|
---|
[562] | 5227 | #include <stdlib.h>
|
---|
[8756] | 5228 |
|
---|
| 5229 | _ACEOF
|
---|
[562] | 5230 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5231 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5232 |
|
---|
[562] | 5233 | else
|
---|
| 5234 | ac_cv_header_stdc=no
|
---|
| 5235 | fi
|
---|
| 5236 | rm -f conftest*
|
---|
| 5237 |
|
---|
| 5238 | fi
|
---|
| 5239 |
|
---|
| 5240 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5241 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[22378] | 5242 | if test "$cross_compiling" = yes; then :
|
---|
[562] | 5243 | :
|
---|
| 5244 | else
|
---|
[22378] | 5245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5246 | /* end confdefs.h. */
|
---|
[562] | 5247 | #include <ctype.h>
|
---|
[22378] | 5248 | #include <stdlib.h>
|
---|
[8756] | 5249 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5250 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5251 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5252 | #else
|
---|
| 5253 | # define ISLOWER(c) \
|
---|
| 5254 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5255 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5256 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5257 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5258 | #endif
|
---|
| 5259 |
|
---|
[8200] | 5260 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
[8756] | 5261 | int
|
---|
| 5262 | main ()
|
---|
| 5263 | {
|
---|
| 5264 | int i;
|
---|
| 5265 | for (i = 0; i < 256; i++)
|
---|
| 5266 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5267 | || toupper (i) != TOUPPER (i))
|
---|
[22378] | 5268 | return 2;
|
---|
| 5269 | return 0;
|
---|
[8756] | 5270 | }
|
---|
| 5271 | _ACEOF
|
---|
[22378] | 5272 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5273 |
|
---|
[562] | 5274 | else
|
---|
[22378] | 5275 | ac_cv_header_stdc=no
|
---|
[562] | 5276 | fi
|
---|
[22378] | 5277 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5278 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[562] | 5279 | fi
|
---|
[22378] | 5280 |
|
---|
[562] | 5281 | fi
|
---|
| 5282 | fi
|
---|
[22378] | 5283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
| 5284 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[8756] | 5285 | if test $ac_cv_header_stdc = yes; then
|
---|
[8200] | 5286 |
|
---|
[22378] | 5287 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[562] | 5288 |
|
---|
| 5289 | fi
|
---|
| 5290 |
|
---|
[10181] | 5291 | 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
|
---|
[22378] | 5292 | do :
|
---|
| 5293 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5294 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
---|
[23356] | 5295 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[8756] | 5296 | cat >>confdefs.h <<_ACEOF
|
---|
[22378] | 5297 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[8756] | 5298 | _ACEOF
|
---|
| 5299 |
|
---|
| 5300 | fi
|
---|
| 5301 |
|
---|
[562] | 5302 | done
|
---|
| 5303 |
|
---|
[22378] | 5304 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5305 | /* end confdefs.h. */
|
---|
[687] | 5306 | #include <stdio.h>
|
---|
[8756] | 5307 |
|
---|
| 5308 | _ACEOF
|
---|
[687] | 5309 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5310 | $EGREP "fread" >/dev/null 2>&1; then :
|
---|
| 5311 | $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
|
---|
[562] | 5312 |
|
---|
[687] | 5313 | fi
|
---|
| 5314 | rm -f conftest*
|
---|
| 5315 |
|
---|
[22378] | 5316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5317 | /* end confdefs.h. */
|
---|
[687] | 5318 | #include <stdio.h>
|
---|
[8756] | 5319 |
|
---|
| 5320 | _ACEOF
|
---|
[687] | 5321 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5322 | $EGREP "fgetc" >/dev/null 2>&1; then :
|
---|
| 5323 | $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
|
---|
[687] | 5324 |
|
---|
| 5325 | fi
|
---|
| 5326 | rm -f conftest*
|
---|
| 5327 |
|
---|
[22378] | 5328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5329 | /* end confdefs.h. */
|
---|
[687] | 5330 | #include <sys/procfs.h>
|
---|
[8756] | 5331 |
|
---|
| 5332 | _ACEOF
|
---|
[687] | 5333 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5334 | $EGREP "pr_brksize" >/dev/null 2>&1; then :
|
---|
| 5335 | $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
|
---|
[687] | 5336 |
|
---|
| 5337 | fi
|
---|
| 5338 | rm -f conftest*
|
---|
| 5339 |
|
---|
[8200] | 5340 |
|
---|
[687] | 5341 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5342 | # for constant arguments. Useless!
|
---|
[22378] | 5343 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
---|
| 5344 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
| 5345 | if test "${ac_cv_working_alloca_h+set}" = set; then :
|
---|
| 5346 | $as_echo_n "(cached) " >&6
|
---|
[562] | 5347 | else
|
---|
[22378] | 5348 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5349 | /* end confdefs.h. */
|
---|
[687] | 5350 | #include <alloca.h>
|
---|
[8756] | 5351 | int
|
---|
| 5352 | main ()
|
---|
| 5353 | {
|
---|
| 5354 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[22378] | 5355 | if (p) return 0;
|
---|
[8756] | 5356 | ;
|
---|
| 5357 | return 0;
|
---|
| 5358 | }
|
---|
| 5359 | _ACEOF
|
---|
[22378] | 5360 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[8756] | 5361 | ac_cv_working_alloca_h=yes
|
---|
[562] | 5362 | else
|
---|
[22378] | 5363 | ac_cv_working_alloca_h=no
|
---|
[562] | 5364 | fi
|
---|
[22378] | 5365 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5366 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 5367 | fi
|
---|
[22378] | 5368 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
---|
| 5369 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
[8756] | 5370 | if test $ac_cv_working_alloca_h = yes; then
|
---|
[562] | 5371 |
|
---|
[22378] | 5372 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
---|
[562] | 5373 |
|
---|
| 5374 | fi
|
---|
| 5375 |
|
---|
[22378] | 5376 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
---|
| 5377 | $as_echo_n "checking for alloca... " >&6; }
|
---|
| 5378 | if test "${ac_cv_func_alloca_works+set}" = set; then :
|
---|
| 5379 | $as_echo_n "(cached) " >&6
|
---|
[562] | 5380 | else
|
---|
[22378] | 5381 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5382 | /* end confdefs.h. */
|
---|
[687] | 5383 | #ifdef __GNUC__
|
---|
| 5384 | # define alloca __builtin_alloca
|
---|
| 5385 | #else
|
---|
| 5386 | # ifdef _MSC_VER
|
---|
| 5387 | # include <malloc.h>
|
---|
| 5388 | # define alloca _alloca
|
---|
| 5389 | # else
|
---|
[22378] | 5390 | # ifdef HAVE_ALLOCA_H
|
---|
[687] | 5391 | # include <alloca.h>
|
---|
| 5392 | # else
|
---|
| 5393 | # ifdef _AIX
|
---|
| 5394 | #pragma alloca
|
---|
| 5395 | # else
|
---|
| 5396 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 5397 | char *alloca ();
|
---|
| 5398 | # endif
|
---|
| 5399 | # endif
|
---|
| 5400 | # endif
|
---|
| 5401 | # endif
|
---|
| 5402 | #endif
|
---|
| 5403 |
|
---|
[8756] | 5404 | int
|
---|
| 5405 | main ()
|
---|
| 5406 | {
|
---|
| 5407 | char *p = (char *) alloca (1);
|
---|
[22378] | 5408 | if (p) return 0;
|
---|
[8756] | 5409 | ;
|
---|
| 5410 | return 0;
|
---|
| 5411 | }
|
---|
| 5412 | _ACEOF
|
---|
[22378] | 5413 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[687] | 5414 | ac_cv_func_alloca_works=yes
|
---|
[562] | 5415 | else
|
---|
[22378] | 5416 | ac_cv_func_alloca_works=no
|
---|
[562] | 5417 | fi
|
---|
[22378] | 5418 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5419 | conftest$ac_exeext conftest.$ac_ext
|
---|
[562] | 5420 | fi
|
---|
[22378] | 5421 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
---|
| 5422 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
[562] | 5423 |
|
---|
[687] | 5424 | if test $ac_cv_func_alloca_works = yes; then
|
---|
[8756] | 5425 |
|
---|
[22378] | 5426 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
---|
[562] | 5427 |
|
---|
[8756] | 5428 | else
|
---|
| 5429 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5430 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5431 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5432 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
[8200] | 5433 |
|
---|
[22378] | 5434 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[8756] | 5435 |
|
---|
[22378] | 5436 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
|
---|
[562] | 5437 |
|
---|
[8200] | 5438 |
|
---|
[22378] | 5439 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 5440 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
| 5441 | if test "${ac_cv_os_cray+set}" = set; then :
|
---|
| 5442 | $as_echo_n "(cached) " >&6
|
---|
[687] | 5443 | else
|
---|
[22378] | 5444 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5445 | /* end confdefs.h. */
|
---|
[22378] | 5446 | #if defined CRAY && ! defined CRAY2
|
---|
[687] | 5447 | webecray
|
---|
| 5448 | #else
|
---|
| 5449 | wenotbecray
|
---|
| 5450 | #endif
|
---|
[562] | 5451 |
|
---|
[8756] | 5452 | _ACEOF
|
---|
[687] | 5453 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5454 | $EGREP "webecray" >/dev/null 2>&1; then :
|
---|
[687] | 5455 | ac_cv_os_cray=yes
|
---|
| 5456 | else
|
---|
| 5457 | ac_cv_os_cray=no
|
---|
| 5458 | fi
|
---|
| 5459 | rm -f conftest*
|
---|
[562] | 5460 |
|
---|
[687] | 5461 | fi
|
---|
[22378] | 5462 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
---|
| 5463 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
[687] | 5464 | if test $ac_cv_os_cray = yes; then
|
---|
[8756] | 5465 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[22378] | 5466 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5467 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
[23356] | 5468 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[8756] | 5469 |
|
---|
| 5470 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5471 | #define CRAY_STACKSEG_END $ac_func
|
---|
[8756] | 5472 | _ACEOF
|
---|
[562] | 5473 |
|
---|
[8756] | 5474 | break
|
---|
[687] | 5475 | fi
|
---|
[562] | 5476 |
|
---|
[8756] | 5477 | done
|
---|
[687] | 5478 | fi
|
---|
| 5479 |
|
---|
[22378] | 5480 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
---|
| 5481 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
| 5482 | if test "${ac_cv_c_stack_direction+set}" = set; then :
|
---|
| 5483 | $as_echo_n "(cached) " >&6
|
---|
[687] | 5484 | else
|
---|
[22378] | 5485 | if test "$cross_compiling" = yes; then :
|
---|
[687] | 5486 | ac_cv_c_stack_direction=0
|
---|
| 5487 | else
|
---|
[22378] | 5488 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5489 | /* end confdefs.h. */
|
---|
[22378] | 5490 | $ac_includes_default
|
---|
[8756] | 5491 | int
|
---|
[687] | 5492 | find_stack_direction ()
|
---|
| 5493 | {
|
---|
| 5494 | static char *addr = 0;
|
---|
| 5495 | auto char dummy;
|
---|
| 5496 | if (addr == 0)
|
---|
| 5497 | {
|
---|
| 5498 | addr = &dummy;
|
---|
| 5499 | return find_stack_direction ();
|
---|
| 5500 | }
|
---|
| 5501 | else
|
---|
| 5502 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5503 | }
|
---|
[8756] | 5504 |
|
---|
| 5505 | int
|
---|
[687] | 5506 | main ()
|
---|
| 5507 | {
|
---|
[22378] | 5508 | return find_stack_direction () < 0;
|
---|
[687] | 5509 | }
|
---|
[8756] | 5510 | _ACEOF
|
---|
[22378] | 5511 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
[687] | 5512 | ac_cv_c_stack_direction=1
|
---|
[562] | 5513 | else
|
---|
[22378] | 5514 | ac_cv_c_stack_direction=-1
|
---|
[562] | 5515 | fi
|
---|
[22378] | 5516 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5517 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[687] | 5518 | fi
|
---|
[22378] | 5519 |
|
---|
[687] | 5520 | fi
|
---|
[22378] | 5521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
---|
| 5522 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
[8756] | 5523 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5524 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
[8756] | 5525 | _ACEOF
|
---|
[687] | 5526 |
|
---|
[8756] | 5527 |
|
---|
[687] | 5528 | fi
|
---|
| 5529 |
|
---|
[8756] | 5530 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[22378] | 5531 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
---|
| 5532 | $as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
---|
| 5533 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
|
---|
| 5534 | $as_echo_n "(cached) " >&6
|
---|
[687] | 5535 | else
|
---|
| 5536 | ac_pattern="Autoconf.*'x'"
|
---|
[22378] | 5537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5538 | /* end confdefs.h. */
|
---|
[687] | 5539 | #include <sgtty.h>
|
---|
| 5540 | Autoconf TIOCGETP
|
---|
[8756] | 5541 | _ACEOF
|
---|
[687] | 5542 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5543 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[687] | 5544 | ac_cv_prog_gcc_traditional=yes
|
---|
| 5545 | else
|
---|
| 5546 | ac_cv_prog_gcc_traditional=no
|
---|
| 5547 | fi
|
---|
[562] | 5548 | rm -f conftest*
|
---|
[687] | 5549 |
|
---|
[8200] | 5550 |
|
---|
[687] | 5551 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[22378] | 5552 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5553 | /* end confdefs.h. */
|
---|
[687] | 5554 | #include <termio.h>
|
---|
| 5555 | Autoconf TCGETA
|
---|
[8756] | 5556 | _ACEOF
|
---|
[687] | 5557 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[22378] | 5558 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[687] | 5559 | ac_cv_prog_gcc_traditional=yes
|
---|
[562] | 5560 | fi
|
---|
[687] | 5561 | rm -f conftest*
|
---|
[562] | 5562 |
|
---|
[687] | 5563 | fi
|
---|
| 5564 | fi
|
---|
[22378] | 5565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 5566 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[687] | 5567 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 5568 | CC="$CC -traditional"
|
---|
| 5569 | fi
|
---|
| 5570 | fi
|
---|
| 5571 |
|
---|
[22378] | 5572 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
---|
| 5573 | $as_echo_n "checking return type of signal handlers... " >&6; }
|
---|
| 5574 | if test "${ac_cv_type_signal+set}" = set; then :
|
---|
| 5575 | $as_echo_n "(cached) " >&6
|
---|
[687] | 5576 | else
|
---|
[22378] | 5577 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5578 | /* end confdefs.h. */
|
---|
[687] | 5579 | #include <sys/types.h>
|
---|
| 5580 | #include <signal.h>
|
---|
[562] | 5581 |
|
---|
[8756] | 5582 | int
|
---|
| 5583 | main ()
|
---|
| 5584 | {
|
---|
[22378] | 5585 | return *(signal (0, 0)) (0) == 1;
|
---|
[8756] | 5586 | ;
|
---|
| 5587 | return 0;
|
---|
| 5588 | }
|
---|
| 5589 | _ACEOF
|
---|
[22378] | 5590 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5591 | ac_cv_type_signal=int
|
---|
| 5592 | else
|
---|
[20853] | 5593 | ac_cv_type_signal=void
|
---|
[562] | 5594 | fi
|
---|
[22378] | 5595 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[562] | 5596 | fi
|
---|
[22378] | 5597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
---|
| 5598 | $as_echo "$ac_cv_type_signal" >&6; }
|
---|
[562] | 5599 |
|
---|
[8756] | 5600 | cat >>confdefs.h <<_ACEOF
|
---|
[687] | 5601 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
[8756] | 5602 | _ACEOF
|
---|
[562] | 5603 |
|
---|
[8200] | 5604 |
|
---|
[8756] | 5605 | for ac_func in vprintf
|
---|
[22378] | 5606 | do :
|
---|
| 5607 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
---|
| 5608 | if test "x$ac_cv_func_vprintf" = x""yes; then :
|
---|
[8756] | 5609 | cat >>confdefs.h <<_ACEOF
|
---|
[22378] | 5610 | #define HAVE_VPRINTF 1
|
---|
[8756] | 5611 | _ACEOF
|
---|
[8200] | 5612 |
|
---|
[22378] | 5613 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
---|
| 5614 | if test "x$ac_cv_func__doprnt" = x""yes; then :
|
---|
[8200] | 5615 |
|
---|
[22378] | 5616 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
---|
[8756] | 5617 |
|
---|
[562] | 5618 | fi
|
---|
| 5619 |
|
---|
| 5620 | fi
|
---|
[8756] | 5621 | done
|
---|
[562] | 5622 |
|
---|
[8756] | 5623 |
|
---|
[788] | 5624 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[22378] | 5625 | do :
|
---|
| 5626 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 5627 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
[23356] | 5628 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[8756] | 5629 | cat >>confdefs.h <<_ACEOF
|
---|
[22378] | 5630 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[8756] | 5631 | _ACEOF
|
---|
[8200] | 5632 |
|
---|
[687] | 5633 | fi
|
---|
| 5634 | done
|
---|
| 5635 |
|
---|
[23356] | 5636 | ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
|
---|
| 5637 | if test "x$ac_cv_func_ftruncate" = x""yes; then :
|
---|
| 5638 | $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
|
---|
[8200] | 5639 |
|
---|
[687] | 5640 | else
|
---|
[22378] | 5641 | case " $LIBOBJS " in
|
---|
[23356] | 5642 | *" ftruncate.$ac_objext "* ) ;;
|
---|
| 5643 | *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
|
---|
[22378] | 5644 | ;;
|
---|
[8756] | 5645 | esac
|
---|
| 5646 |
|
---|
[687] | 5647 | fi
|
---|
| 5648 |
|
---|
[23356] | 5649 | ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
|
---|
| 5650 | if test "x$ac_cv_func_strstr" = x""yes; then :
|
---|
| 5651 | $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
|
---|
[8200] | 5652 |
|
---|
[23356] | 5653 | else
|
---|
| 5654 | case " $LIBOBJS " in
|
---|
| 5655 | *" strstr.$ac_objext "* ) ;;
|
---|
| 5656 | *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
|
---|
| 5657 | ;;
|
---|
| 5658 | esac
|
---|
[8200] | 5659 |
|
---|
[23356] | 5660 | fi
|
---|
| 5661 |
|
---|
| 5662 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
|
---|
| 5663 | if test "x$ac_cv_func_strcasecmp" = x""yes; then :
|
---|
| 5664 | $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
|
---|
| 5665 |
|
---|
| 5666 | else
|
---|
| 5667 | case " $LIBOBJS " in
|
---|
| 5668 | *" strcasecmp.$ac_objext "* ) ;;
|
---|
| 5669 | *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
|
---|
| 5670 | ;;
|
---|
| 5671 | esac
|
---|
| 5672 |
|
---|
| 5673 | fi
|
---|
| 5674 |
|
---|
| 5675 |
|
---|
| 5676 |
|
---|
[22378] | 5677 | ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
|
---|
| 5678 | if test "x$ac_cv_func_textdomain" = x""yes; then :
|
---|
| 5679 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
---|
[8756] | 5680 |
|
---|
[3705] | 5681 | fi
|
---|
[8200] | 5682 |
|
---|
[3705] | 5683 |
|
---|
[687] | 5684 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 5685 | # ---------------------------------------------------------------------------
|
---|
[22378] | 5686 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
|
---|
| 5687 | $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
|
---|
[687] | 5688 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[22378] | 5689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 5690 | $as_echo "yes" >&6; }
|
---|
| 5691 | case " $LIBOBJS " in
|
---|
[8756] | 5692 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[22378] | 5693 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 5694 | ;;
|
---|
[8756] | 5695 | esac
|
---|
| 5696 |
|
---|
[22378] | 5697 | $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
|
---|
[687] | 5698 |
|
---|
| 5699 | else
|
---|
[22378] | 5700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5701 | $as_echo "no" >&6; }
|
---|
| 5702 | for ac_func in valloc
|
---|
| 5703 | do :
|
---|
| 5704 | ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
|
---|
| 5705 | if test "x$ac_cv_func_valloc" = x""yes; then :
|
---|
[8756] | 5706 | cat >>confdefs.h <<_ACEOF
|
---|
[22378] | 5707 | #define HAVE_VALLOC 1
|
---|
[8756] | 5708 | _ACEOF
|
---|
[8200] | 5709 |
|
---|
[687] | 5710 | fi
|
---|
| 5711 | done
|
---|
| 5712 |
|
---|
| 5713 | fi
|
---|
| 5714 |
|
---|
[8200] | 5715 | # we cannot generate static libraries under Darwin
|
---|
[22378] | 5716 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
|
---|
| 5717 | $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
|
---|
[8200] | 5718 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[22378] | 5719 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 5720 | $as_echo "yes" >&6; }
|
---|
[8200] | 5721 | STATIC=""
|
---|
| 5722 | else
|
---|
[22378] | 5723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5724 | $as_echo "no" >&6; }
|
---|
[8200] | 5725 | STATIC="-static "
|
---|
| 5726 | fi
|
---|
[3631] | 5727 |
|
---|
[8200] | 5728 |
|
---|
[22378] | 5729 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
|
---|
| 5730 | $as_echo_n "checking if malloc debugging is wanted... " >&6; }
|
---|
[8756] | 5731 |
|
---|
[22378] | 5732 | # Check whether --with-dmalloc was given.
|
---|
| 5733 | if test "${with_dmalloc+set}" = set; then :
|
---|
| 5734 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
| 5735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 5736 | $as_echo "yes" >&6; }
|
---|
| 5737 | $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
|
---|
[687] | 5738 |
|
---|
[700] | 5739 | LIBS="$LIBS -ldmalloc"
|
---|
| 5740 | LDFLAGS="$LDFLAGS -g"
|
---|
| 5741 | else
|
---|
[22378] | 5742 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5743 | $as_echo "no" >&6; }
|
---|
[700] | 5744 | fi
|
---|
| 5745 | else
|
---|
[22378] | 5746 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 5747 | $as_echo "no" >&6; }
|
---|
| 5748 | fi
|
---|
[700] | 5749 |
|
---|
| 5750 |
|
---|
[22378] | 5751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
|
---|
| 5752 | $as_echo_n "checking which of rx or regex is wanted... " >&6; }
|
---|
| 5753 |
|
---|
| 5754 | # Check whether --with-regex was given.
|
---|
| 5755 | if test "${with_regex+set}" = set; then :
|
---|
| 5756 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[700] | 5757 | ac_with_regex=1
|
---|
[22378] | 5758 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
|
---|
| 5759 | $as_echo "regex" >&6; }
|
---|
| 5760 | $as_echo "#define WITH_REGEX 1" >>confdefs.h
|
---|
[700] | 5761 |
|
---|
[22378] | 5762 | case " $LIBOBJS " in
|
---|
[8756] | 5763 | *" regex.$ac_objext "* ) ;;
|
---|
[22378] | 5764 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 5765 | ;;
|
---|
[8756] | 5766 | esac
|
---|
| 5767 |
|
---|
[700] | 5768 | fi
|
---|
[22378] | 5769 | fi
|
---|
| 5770 |
|
---|
[700] | 5771 | if test -z "$ac_with_regex"; then
|
---|
[22378] | 5772 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
|
---|
| 5773 | $as_echo "rx" >&6; }
|
---|
| 5774 | ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
|
---|
| 5775 | if test "x$ac_cv_func_re_rx_search" = x""yes; then :
|
---|
[8756] | 5776 |
|
---|
[700] | 5777 | else
|
---|
[22378] | 5778 | case " $LIBOBJS " in
|
---|
[8756] | 5779 | *" rx.$ac_objext "* ) ;;
|
---|
[22378] | 5780 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 5781 | ;;
|
---|
[8756] | 5782 | esac
|
---|
| 5783 |
|
---|
[700] | 5784 | fi
|
---|
| 5785 |
|
---|
| 5786 | fi
|
---|
| 5787 |
|
---|
[8200] | 5788 |
|
---|
[687] | 5789 | # ---------------------------------------------------------------------------
|
---|
| 5790 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[22378] | 5791 | case " $LIBOBJS " in
|
---|
[8756] | 5792 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[22378] | 5793 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 5794 | ;;
|
---|
[8756] | 5795 | esac
|
---|
| 5796 |
|
---|
[22378] | 5797 | case " $LIBOBJS " in
|
---|
[8756] | 5798 | *" error.$ac_objext "* ) ;;
|
---|
[22378] | 5799 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 5800 | ;;
|
---|
[8756] | 5801 | esac
|
---|
| 5802 |
|
---|
[687] | 5803 | fi
|
---|
| 5804 |
|
---|
[8200] | 5805 |
|
---|
[687] | 5806 | # ---------------------------------------------------------------------------
|
---|
| 5807 |
|
---|
[22378] | 5808 | ac_ext=cpp
|
---|
[687] | 5809 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
[8756] | 5810 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 5811 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 5812 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[687] | 5813 |
|
---|
[8200] | 5814 |
|
---|
[22378] | 5815 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5
|
---|
| 5816 | $as_echo_n "checking that Perl 5 is available... " >&6; }
|
---|
[687] | 5817 | success="no"
|
---|
| 5818 | pl_path="$PATH"
|
---|
| 5819 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 5820 | for pl_dir in $pl_path; do
|
---|
| 5821 | test -z "$pl_dir" && pl_dir=.
|
---|
| 5822 | if test -x $pl_dir/perl; then
|
---|
| 5823 | success="yes"
|
---|
| 5824 | break
|
---|
| 5825 | fi
|
---|
| 5826 | done
|
---|
| 5827 | IFS="$pl_save_ifs"
|
---|
| 5828 |
|
---|
| 5829 | if test $success = "yes"; then
|
---|
| 5830 | try=`perl configtest.pl` || try="0"
|
---|
| 5831 | try=`expr $try \> 5.000`
|
---|
| 5832 | if test $try = "1"; then
|
---|
[22378] | 5833 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
| 5834 | $as_echo "\"yes\"" >&6; }
|
---|
[687] | 5835 | else
|
---|
| 5836 | success="no"
|
---|
| 5837 | fi
|
---|
| 5838 | fi
|
---|
| 5839 |
|
---|
| 5840 | if test $success = "no"; then
|
---|
[22378] | 5841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
| 5842 | $as_echo "\"no\"" >&6; }
|
---|
[23356] | 5843 | as_fn_error $? "\"Perl 5 not available - cannot install\"" "$LINENO" 5
|
---|
[687] | 5844 | fi
|
---|
| 5845 |
|
---|
| 5846 | success=no
|
---|
[22378] | 5847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
|
---|
| 5848 | $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
|
---|
[687] | 5849 |
|
---|
[18214] | 5850 |
|
---|
[22378] | 5851 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5852 | /* end confdefs.h. */
|
---|
[687] | 5853 | #include <vector>
|
---|
| 5854 |
|
---|
[8756] | 5855 | int
|
---|
| 5856 | main ()
|
---|
| 5857 | {
|
---|
[687] | 5858 |
|
---|
[8756] | 5859 | ;
|
---|
| 5860 | return 0;
|
---|
| 5861 | }
|
---|
| 5862 | _ACEOF
|
---|
[22378] | 5863 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[687] | 5864 | success=yes
|
---|
| 5865 | fi
|
---|
[22378] | 5866 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 5867 |
|
---|
| 5868 | if test $success = "no"; then
|
---|
[22378] | 5869 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5870 | /* end confdefs.h. */
|
---|
[687] | 5871 | #include <vector.h>
|
---|
| 5872 |
|
---|
[8756] | 5873 | int
|
---|
| 5874 | main ()
|
---|
| 5875 | {
|
---|
[687] | 5876 |
|
---|
[8756] | 5877 | ;
|
---|
| 5878 | return 0;
|
---|
| 5879 | }
|
---|
| 5880 | _ACEOF
|
---|
[22378] | 5881 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[687] | 5882 | success="yes"
|
---|
| 5883 | fi
|
---|
[22378] | 5884 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 5885 | fi
|
---|
| 5886 |
|
---|
| 5887 | if test $success = "no"; then
|
---|
[22378] | 5888 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[8756] | 5889 | /* end confdefs.h. */
|
---|
[687] | 5890 | #include <ospace\\std\\vector>
|
---|
| 5891 |
|
---|
[8756] | 5892 | int
|
---|
| 5893 | main ()
|
---|
| 5894 | {
|
---|
[687] | 5895 |
|
---|
[8756] | 5896 | ;
|
---|
| 5897 | return 0;
|
---|
| 5898 | }
|
---|
| 5899 | _ACEOF
|
---|
[22378] | 5900 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[687] | 5901 | success="yes"
|
---|
| 5902 | fi
|
---|
[22378] | 5903 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[687] | 5904 | fi
|
---|
| 5905 |
|
---|
| 5906 | if test $success = yes; then
|
---|
[22378] | 5907 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
| 5908 | $as_echo "\"no\"" >&6; }
|
---|
[687] | 5909 | else
|
---|
[22378] | 5910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
| 5911 | $as_echo "\"yes\"" >&6; }
|
---|
[23356] | 5912 | as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
|
---|
[687] | 5913 | fi
|
---|
| 5914 |
|
---|
[2950] | 5915 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
[2951] | 5916 | # check for running bash under cygwin
|
---|
| 5917 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 5918 | then
|
---|
| 5919 | gsdlos=windows
|
---|
| 5920 | fi
|
---|
[687] | 5921 |
|
---|
[8200] | 5922 |
|
---|
[10856] | 5923 | # check for endianness
|
---|
[22378] | 5924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
---|
| 5925 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
---|
| 5926 | if test "${ac_cv_c_bigendian+set}" = set; then :
|
---|
| 5927 | $as_echo_n "(cached) " >&6
|
---|
[10856] | 5928 | else
|
---|
[22378] | 5929 | ac_cv_c_bigendian=unknown
|
---|
| 5930 | # See if we're dealing with a universal compiler.
|
---|
| 5931 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 5932 | /* end confdefs.h. */
|
---|
| 5933 | #ifndef __APPLE_CC__
|
---|
| 5934 | not a universal capable compiler
|
---|
| 5935 | #endif
|
---|
| 5936 | typedef int dummy;
|
---|
| 5937 |
|
---|
[10856] | 5938 | _ACEOF
|
---|
[22378] | 5939 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 5940 |
|
---|
| 5941 | # Check for potential -arch flags. It is not universal unless
|
---|
| 5942 | # there are at least two -arch flags with different values.
|
---|
| 5943 | ac_arch=
|
---|
| 5944 | ac_prev=
|
---|
| 5945 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
---|
| 5946 | if test -n "$ac_prev"; then
|
---|
| 5947 | case $ac_word in
|
---|
| 5948 | i?86 | x86_64 | ppc | ppc64)
|
---|
| 5949 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
---|
| 5950 | ac_arch=$ac_word
|
---|
| 5951 | else
|
---|
| 5952 | ac_cv_c_bigendian=universal
|
---|
| 5953 | break
|
---|
| 5954 | fi
|
---|
| 5955 | ;;
|
---|
| 5956 | esac
|
---|
| 5957 | ac_prev=
|
---|
| 5958 | elif test "x$ac_word" = "x-arch"; then
|
---|
| 5959 | ac_prev=arch
|
---|
| 5960 | fi
|
---|
| 5961 | done
|
---|
| 5962 | fi
|
---|
| 5963 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5964 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 5965 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
| 5966 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10856] | 5967 | /* end confdefs.h. */
|
---|
| 5968 | #include <sys/types.h>
|
---|
[22378] | 5969 | #include <sys/param.h>
|
---|
[10856] | 5970 |
|
---|
| 5971 | int
|
---|
| 5972 | main ()
|
---|
| 5973 | {
|
---|
[22378] | 5974 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
---|
| 5975 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
---|
| 5976 | && LITTLE_ENDIAN)
|
---|
| 5977 | bogus endian macros
|
---|
| 5978 | #endif
|
---|
[10856] | 5979 |
|
---|
| 5980 | ;
|
---|
| 5981 | return 0;
|
---|
| 5982 | }
|
---|
| 5983 | _ACEOF
|
---|
[22378] | 5984 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[10856] | 5985 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[22378] | 5986 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10856] | 5987 | /* end confdefs.h. */
|
---|
| 5988 | #include <sys/types.h>
|
---|
[22378] | 5989 | #include <sys/param.h>
|
---|
[10856] | 5990 |
|
---|
| 5991 | int
|
---|
| 5992 | main ()
|
---|
| 5993 | {
|
---|
| 5994 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[22378] | 5995 | not big endian
|
---|
| 5996 | #endif
|
---|
[10856] | 5997 |
|
---|
| 5998 | ;
|
---|
| 5999 | return 0;
|
---|
| 6000 | }
|
---|
| 6001 | _ACEOF
|
---|
[22378] | 6002 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[10856] | 6003 | ac_cv_c_bigendian=yes
|
---|
| 6004 | else
|
---|
[22378] | 6005 | ac_cv_c_bigendian=no
|
---|
[10856] | 6006 | fi
|
---|
[22378] | 6007 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6008 | fi
|
---|
| 6009 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6010 | fi
|
---|
| 6011 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6012 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
---|
| 6013 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6014 | /* end confdefs.h. */
|
---|
| 6015 | #include <limits.h>
|
---|
[10856] | 6016 |
|
---|
[22378] | 6017 | int
|
---|
| 6018 | main ()
|
---|
| 6019 | {
|
---|
| 6020 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
---|
| 6021 | bogus endian macros
|
---|
| 6022 | #endif
|
---|
| 6023 |
|
---|
| 6024 | ;
|
---|
| 6025 | return 0;
|
---|
| 6026 | }
|
---|
[10856] | 6027 | _ACEOF
|
---|
[22378] | 6028 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6029 | # It does; now see whether it defined to _BIG_ENDIAN or not.
|
---|
| 6030 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10856] | 6031 | /* end confdefs.h. */
|
---|
[22378] | 6032 | #include <limits.h>
|
---|
| 6033 |
|
---|
[10856] | 6034 | int
|
---|
| 6035 | main ()
|
---|
| 6036 | {
|
---|
[22378] | 6037 | #ifndef _BIG_ENDIAN
|
---|
| 6038 | not big endian
|
---|
| 6039 | #endif
|
---|
| 6040 |
|
---|
[10856] | 6041 | ;
|
---|
| 6042 | return 0;
|
---|
| 6043 | }
|
---|
| 6044 | _ACEOF
|
---|
[22378] | 6045 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[10856] | 6046 | ac_cv_c_bigendian=yes
|
---|
[22378] | 6047 | else
|
---|
| 6048 | ac_cv_c_bigendian=no
|
---|
[10856] | 6049 | fi
|
---|
[22378] | 6050 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 6051 | fi
|
---|
[22378] | 6052 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6053 | fi
|
---|
| 6054 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6055 | # Compile a test program.
|
---|
| 6056 | if test "$cross_compiling" = yes; then :
|
---|
| 6057 | # Try to guess by grepping values from an object file.
|
---|
| 6058 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 6059 | /* end confdefs.h. */
|
---|
| 6060 | short int ascii_mm[] =
|
---|
| 6061 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 6062 | short int ascii_ii[] =
|
---|
| 6063 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 6064 | int use_ascii (int i) {
|
---|
| 6065 | return ascii_mm[i] + ascii_ii[i];
|
---|
| 6066 | }
|
---|
| 6067 | short int ebcdic_ii[] =
|
---|
| 6068 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 6069 | short int ebcdic_mm[] =
|
---|
| 6070 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 6071 | int use_ebcdic (int i) {
|
---|
| 6072 | return ebcdic_mm[i] + ebcdic_ii[i];
|
---|
| 6073 | }
|
---|
| 6074 | extern int foo;
|
---|
[10856] | 6075 |
|
---|
[22378] | 6076 | int
|
---|
| 6077 | main ()
|
---|
| 6078 | {
|
---|
| 6079 | return use_ascii (foo) == use_ebcdic (foo);
|
---|
| 6080 | ;
|
---|
| 6081 | return 0;
|
---|
| 6082 | }
|
---|
| 6083 | _ACEOF
|
---|
| 6084 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 6085 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
---|
| 6086 | ac_cv_c_bigendian=yes
|
---|
| 6087 | fi
|
---|
| 6088 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 6089 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 6090 | ac_cv_c_bigendian=no
|
---|
| 6091 | else
|
---|
| 6092 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 6093 | ac_cv_c_bigendian=unknown
|
---|
| 6094 | fi
|
---|
| 6095 | fi
|
---|
[10856] | 6096 | fi
|
---|
[22378] | 6097 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10856] | 6098 | else
|
---|
[22378] | 6099 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[10856] | 6100 | /* end confdefs.h. */
|
---|
[22378] | 6101 | $ac_includes_default
|
---|
[10856] | 6102 | int
|
---|
| 6103 | main ()
|
---|
| 6104 | {
|
---|
[22378] | 6105 |
|
---|
| 6106 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 6107 | union
|
---|
| 6108 | {
|
---|
| 6109 | long int l;
|
---|
| 6110 | char c[sizeof (long int)];
|
---|
| 6111 | } u;
|
---|
| 6112 | u.l = 1;
|
---|
| 6113 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 6114 |
|
---|
| 6115 | ;
|
---|
| 6116 | return 0;
|
---|
[10856] | 6117 | }
|
---|
| 6118 | _ACEOF
|
---|
[22378] | 6119 | if ac_fn_cxx_try_run "$LINENO"; then :
|
---|
[10856] | 6120 | ac_cv_c_bigendian=no
|
---|
| 6121 | else
|
---|
[22378] | 6122 | ac_cv_c_bigendian=yes
|
---|
[10856] | 6123 | fi
|
---|
[22378] | 6124 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6125 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[10856] | 6126 | fi
|
---|
[22378] | 6127 |
|
---|
| 6128 | fi
|
---|
[10856] | 6129 | fi
|
---|
[22378] | 6130 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
---|
| 6131 | $as_echo "$ac_cv_c_bigendian" >&6; }
|
---|
| 6132 | case $ac_cv_c_bigendian in #(
|
---|
| 6133 | yes)
|
---|
| 6134 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
---|
| 6135 | ;; #(
|
---|
| 6136 | no)
|
---|
| 6137 | ;; #(
|
---|
| 6138 | universal)
|
---|
[10856] | 6139 |
|
---|
[22378] | 6140 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
---|
[10856] | 6141 |
|
---|
[22378] | 6142 | ;; #(
|
---|
| 6143 | *)
|
---|
[23356] | 6144 | as_fn_error $? "unknown endianness
|
---|
| 6145 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
---|
[22378] | 6146 | esac
|
---|
| 6147 |
|
---|
[687] | 6148 | # ---------------------------------------------------------------------------
|
---|
| 6149 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[22378] | 6150 | case " $LIBOBJS " in
|
---|
[8756] | 6151 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[22378] | 6152 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 6153 | ;;
|
---|
[8756] | 6154 | esac
|
---|
| 6155 |
|
---|
[22378] | 6156 | case " $LIBOBJS " in
|
---|
[8756] | 6157 | *" error.$ac_objext "* ) ;;
|
---|
[22378] | 6158 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6159 | ;;
|
---|
[8756] | 6160 | esac
|
---|
| 6161 |
|
---|
[687] | 6162 | fi
|
---|
| 6163 |
|
---|
[3063] | 6164 | # ---------------------------------------------------------------------------
|
---|
[687] | 6165 |
|
---|
[3063] | 6166 | moduleDirs=""
|
---|
| 6167 | MODULEDIRS=""
|
---|
[16619] | 6168 | if test -d modules ; then
|
---|
[15300] | 6169 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 6170 | if test -d "$x"; then
|
---|
| 6171 | d="$x/Makefile.in"
|
---|
| 6172 | if test -e "$d"; then
|
---|
| 6173 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 6174 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 6175 | fi
|
---|
[3063] | 6176 | fi
|
---|
[15300] | 6177 | done
|
---|
| 6178 | echo "Making $moduleDirs in modules directory"
|
---|
[3063] | 6179 |
|
---|
[15300] | 6180 | fi
|
---|
[8200] | 6181 |
|
---|
[15300] | 6182 |
|
---|
[687] | 6183 | # ---------------------------------------------------------------------------
|
---|
[1675] | 6184 |
|
---|
[13777] | 6185 | # indexers needs a bindir option to get the binaries into the right place
|
---|
| 6186 | gsdlprefix=`pwd`
|
---|
[19264] | 6187 | ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos --libdir=$gsdlprefix/lib/$gsdlos"
|
---|
[20853] | 6188 |
|
---|
| 6189 |
|
---|
[21377] | 6190 | subdirs="$subdirs common-src"
|
---|
[8756] | 6191 |
|
---|
[21377] | 6192 | subdirs="$subdirs build-src"
|
---|
| 6193 |
|
---|
| 6194 |
|
---|
[3063] | 6195 | # the list of folders in the src folder
|
---|
[16572] | 6196 | srclist="common-src/Makefile \
|
---|
[21377] | 6197 | build-src/Makefile"
|
---|
| 6198 |
|
---|
| 6199 | if test -d runtime-src; then
|
---|
[22378] | 6200 | subdirs="$subdirs runtime-src"
|
---|
[21377] | 6201 |
|
---|
| 6202 | srclist="$srclist \
|
---|
[16572] | 6203 | runtime-src/Makefile"
|
---|
[21377] | 6204 | fi
|
---|
[3063] | 6205 |
|
---|
[22378] | 6206 | ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
|
---|
| 6207 |
|
---|
[8756] | 6208 | cat >confcache <<\_ACEOF
|
---|
[562] | 6209 | # This file is a shell script that caches the results of configure
|
---|
| 6210 | # tests run on this system so they can be shared between configure
|
---|
[8756] | 6211 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 6212 | # It is not useful on other systems. If it contains results you don't
|
---|
| 6213 | # want to keep, you may remove or edit it.
|
---|
[562] | 6214 | #
|
---|
[8756] | 6215 | # config.status only pays attention to the cache file if you give it
|
---|
| 6216 | # the --recheck option to rerun configure.
|
---|
[562] | 6217 | #
|
---|
[8756] | 6218 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6219 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6220 | # following values.
|
---|
| 6221 |
|
---|
| 6222 | _ACEOF
|
---|
| 6223 |
|
---|
[562] | 6224 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6225 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[22378] | 6226 | # So, we kill variables containing newlines.
|
---|
[562] | 6227 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6228 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[22378] | 6229 | (
|
---|
| 6230 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 6231 | eval ac_val=\$$ac_var
|
---|
| 6232 | case $ac_val in #(
|
---|
| 6233 | *${as_nl}*)
|
---|
| 6234 | case $ac_var in #(
|
---|
| 6235 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
| 6236 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 6237 | esac
|
---|
| 6238 | case $ac_var in #(
|
---|
| 6239 | _ | IFS | as_nl) ;; #(
|
---|
| 6240 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
| 6241 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
| 6242 | esac ;;
|
---|
| 6243 | esac
|
---|
| 6244 | done
|
---|
| 6245 |
|
---|
[8756] | 6246 | (set) 2>&1 |
|
---|
[22378] | 6247 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 6248 | *${as_nl}ac_space=\ *)
|
---|
| 6249 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 6250 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
[8756] | 6251 | sed -n \
|
---|
| 6252 | "s/'/'\\\\''/g;
|
---|
| 6253 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[22378] | 6254 | ;; #(
|
---|
[8756] | 6255 | *)
|
---|
| 6256 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[22378] | 6257 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[8756] | 6258 | ;;
|
---|
[22378] | 6259 | esac |
|
---|
| 6260 | sort
|
---|
| 6261 | ) |
|
---|
[8756] | 6262 | sed '
|
---|
[22378] | 6263 | /^ac_cv_env_/b end
|
---|
[8756] | 6264 | t clear
|
---|
[22378] | 6265 | :clear
|
---|
[8756] | 6266 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6267 | t end
|
---|
[22378] | 6268 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6269 | :end' >>confcache
|
---|
| 6270 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 6271 | if test -w "$cache_file"; then
|
---|
| 6272 | test "x$cache_file" != "x/dev/null" &&
|
---|
| 6273 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
| 6274 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[8756] | 6275 | cat confcache >$cache_file
|
---|
[562] | 6276 | else
|
---|
[22378] | 6277 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
| 6278 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[562] | 6279 | fi
|
---|
| 6280 | fi
|
---|
| 6281 | rm -f confcache
|
---|
| 6282 |
|
---|
| 6283 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6284 | # Let make expand exec_prefix.
|
---|
| 6285 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6286 |
|
---|
[687] | 6287 | DEFS=-DHAVE_CONFIG_H
|
---|
[562] | 6288 |
|
---|
[8756] | 6289 | ac_libobjs=
|
---|
| 6290 | ac_ltlibobjs=
|
---|
[23356] | 6291 | U=
|
---|
[8756] | 6292 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6293 | # 1. Remove the extension, and $U if already installed.
|
---|
[22378] | 6294 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 6295 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 6296 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 6297 | # will be set to the directory where LIBOBJS objects are built.
|
---|
| 6298 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 6299 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[8756] | 6300 | done
|
---|
| 6301 | LIBOBJS=$ac_libobjs
|
---|
| 6302 |
|
---|
| 6303 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6304 |
|
---|
| 6305 |
|
---|
| 6306 |
|
---|
[22378] | 6307 |
|
---|
[562] | 6308 | : ${CONFIG_STATUS=./config.status}
|
---|
[22378] | 6309 | ac_write_fail=0
|
---|
[8756] | 6310 | ac_clean_files_save=$ac_clean_files
|
---|
| 6311 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[22378] | 6312 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
| 6313 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 6314 | as_write_fail=0
|
---|
| 6315 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
[8756] | 6316 | #! $SHELL
|
---|
| 6317 | # Generated by $as_me.
|
---|
[562] | 6318 | # Run this file to recreate the current configuration.
|
---|
| 6319 | # Compiler output produced by configure, useful for debugging
|
---|
[8756] | 6320 | # configure, is in config.log if it exists.
|
---|
[562] | 6321 |
|
---|
[8756] | 6322 | debug=false
|
---|
| 6323 | ac_cs_recheck=false
|
---|
| 6324 | ac_cs_silent=false
|
---|
[22378] | 6325 |
|
---|
[8756] | 6326 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[22378] | 6327 | export SHELL
|
---|
| 6328 | _ASEOF
|
---|
| 6329 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 6330 | ## -------------------- ##
|
---|
| 6331 | ## M4sh Initialization. ##
|
---|
| 6332 | ## -------------------- ##
|
---|
[8756] | 6333 |
|
---|
[22378] | 6334 | # Be more Bourne compatible
|
---|
| 6335 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
| 6336 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[8756] | 6337 | emulate sh
|
---|
| 6338 | NULLCMD=:
|
---|
[22378] | 6339 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[8756] | 6340 | # is contrary to our usage. Disable this feature.
|
---|
| 6341 | alias -g '${1+"$@"}'='"$@"'
|
---|
[22378] | 6342 | setopt NO_GLOB_SUBST
|
---|
| 6343 | else
|
---|
| 6344 | case `(set -o) 2>/dev/null` in #(
|
---|
| 6345 | *posix*) :
|
---|
| 6346 | set -o posix ;; #(
|
---|
| 6347 | *) :
|
---|
| 6348 | ;;
|
---|
| 6349 | esac
|
---|
[8756] | 6350 | fi
|
---|
| 6351 |
|
---|
[22378] | 6352 |
|
---|
| 6353 | as_nl='
|
---|
| 6354 | '
|
---|
| 6355 | export as_nl
|
---|
| 6356 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 6357 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 6358 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6359 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6360 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 6361 | # but without wasting forks for bash or zsh.
|
---|
| 6362 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 6363 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6364 | as_echo='print -r --'
|
---|
| 6365 | as_echo_n='print -rn --'
|
---|
| 6366 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6367 | as_echo='printf %s\n'
|
---|
| 6368 | as_echo_n='printf %s'
|
---|
[8756] | 6369 | else
|
---|
[22378] | 6370 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 6371 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 6372 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 6373 | else
|
---|
| 6374 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 6375 | as_echo_n_body='eval
|
---|
| 6376 | arg=$1;
|
---|
| 6377 | case $arg in #(
|
---|
| 6378 | *"$as_nl"*)
|
---|
| 6379 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 6380 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 6381 | esac;
|
---|
| 6382 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 6383 | '
|
---|
| 6384 | export as_echo_n_body
|
---|
| 6385 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 6386 | fi
|
---|
| 6387 | export as_echo_body
|
---|
| 6388 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[8756] | 6389 | fi
|
---|
| 6390 |
|
---|
[22378] | 6391 | # The user is always right.
|
---|
| 6392 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6393 | PATH_SEPARATOR=:
|
---|
| 6394 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 6395 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 6396 | PATH_SEPARATOR=';'
|
---|
| 6397 | }
|
---|
| 6398 | fi
|
---|
[8756] | 6399 |
|
---|
[22378] | 6400 |
|
---|
| 6401 | # IFS
|
---|
| 6402 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 6403 | # there to prevent editors from complaining about space-tab.
|
---|
| 6404 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 6405 | # splitting by setting IFS to empty value.)
|
---|
| 6406 | IFS=" "" $as_nl"
|
---|
| 6407 |
|
---|
| 6408 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 6409 | case $0 in #((
|
---|
| 6410 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6411 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6412 | for as_dir in $PATH
|
---|
| 6413 | do
|
---|
| 6414 | IFS=$as_save_IFS
|
---|
| 6415 | test -z "$as_dir" && as_dir=.
|
---|
| 6416 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6417 | done
|
---|
| 6418 | IFS=$as_save_IFS
|
---|
| 6419 |
|
---|
| 6420 | ;;
|
---|
| 6421 | esac
|
---|
| 6422 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6423 | # in which case we are not to be found in the path.
|
---|
| 6424 | if test "x$as_myself" = x; then
|
---|
| 6425 | as_myself=$0
|
---|
| 6426 | fi
|
---|
| 6427 | if test ! -f "$as_myself"; then
|
---|
| 6428 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 6429 | exit 1
|
---|
| 6430 | fi
|
---|
| 6431 |
|
---|
| 6432 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 6433 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 6434 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 6435 | # trigger a bug in pdksh 5.2.14.
|
---|
| 6436 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 6437 | do eval test x\${$as_var+set} = xset \
|
---|
| 6438 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
| 6439 | done
|
---|
[8756] | 6440 | PS1='$ '
|
---|
| 6441 | PS2='> '
|
---|
| 6442 | PS4='+ '
|
---|
| 6443 |
|
---|
| 6444 | # NLS nuisances.
|
---|
[22378] | 6445 | LC_ALL=C
|
---|
| 6446 | export LC_ALL
|
---|
| 6447 | LANGUAGE=C
|
---|
| 6448 | export LANGUAGE
|
---|
| 6449 |
|
---|
| 6450 | # CDPATH.
|
---|
| 6451 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 6452 |
|
---|
| 6453 |
|
---|
[23356] | 6454 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 6455 | # ----------------------------------------
|
---|
[22378] | 6456 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 6457 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
[23356] | 6458 | # script with STATUS, using 1 if that was 0.
|
---|
[22378] | 6459 | as_fn_error ()
|
---|
| 6460 | {
|
---|
[23356] | 6461 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 6462 | if test "$4"; then
|
---|
| 6463 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 6464 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
[8756] | 6465 | fi
|
---|
[23356] | 6466 | $as_echo "$as_me: error: $2" >&2
|
---|
[22378] | 6467 | as_fn_exit $as_status
|
---|
| 6468 | } # as_fn_error
|
---|
[562] | 6469 |
|
---|
[22378] | 6470 |
|
---|
| 6471 | # as_fn_set_status STATUS
|
---|
| 6472 | # -----------------------
|
---|
| 6473 | # Set $? to STATUS, without forking.
|
---|
| 6474 | as_fn_set_status ()
|
---|
| 6475 | {
|
---|
| 6476 | return $1
|
---|
| 6477 | } # as_fn_set_status
|
---|
| 6478 |
|
---|
| 6479 | # as_fn_exit STATUS
|
---|
| 6480 | # -----------------
|
---|
| 6481 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 6482 | as_fn_exit ()
|
---|
| 6483 | {
|
---|
| 6484 | set +e
|
---|
| 6485 | as_fn_set_status $1
|
---|
| 6486 | exit $1
|
---|
| 6487 | } # as_fn_exit
|
---|
| 6488 |
|
---|
| 6489 | # as_fn_unset VAR
|
---|
| 6490 | # ---------------
|
---|
| 6491 | # Portably unset VAR.
|
---|
| 6492 | as_fn_unset ()
|
---|
| 6493 | {
|
---|
| 6494 | { eval $1=; unset $1;}
|
---|
| 6495 | }
|
---|
| 6496 | as_unset=as_fn_unset
|
---|
| 6497 | # as_fn_append VAR VALUE
|
---|
| 6498 | # ----------------------
|
---|
| 6499 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 6500 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 6501 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 6502 | # implementations.
|
---|
| 6503 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 6504 | eval 'as_fn_append ()
|
---|
| 6505 | {
|
---|
| 6506 | eval $1+=\$2
|
---|
| 6507 | }'
|
---|
| 6508 | else
|
---|
| 6509 | as_fn_append ()
|
---|
| 6510 | {
|
---|
| 6511 | eval $1=\$$1\$2
|
---|
| 6512 | }
|
---|
| 6513 | fi # as_fn_append
|
---|
| 6514 |
|
---|
| 6515 | # as_fn_arith ARG...
|
---|
| 6516 | # ------------------
|
---|
| 6517 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 6518 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 6519 | # must be portable across $(()) and expr.
|
---|
| 6520 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 6521 | eval 'as_fn_arith ()
|
---|
| 6522 | {
|
---|
| 6523 | as_val=$(( $* ))
|
---|
| 6524 | }'
|
---|
| 6525 | else
|
---|
| 6526 | as_fn_arith ()
|
---|
| 6527 | {
|
---|
| 6528 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 6529 | }
|
---|
| 6530 | fi # as_fn_arith
|
---|
| 6531 |
|
---|
| 6532 |
|
---|
| 6533 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 6534 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[8756] | 6535 | as_expr=expr
|
---|
| 6536 | else
|
---|
| 6537 | as_expr=false
|
---|
| 6538 | fi
|
---|
[562] | 6539 |
|
---|
[22378] | 6540 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[8756] | 6541 | as_basename=basename
|
---|
| 6542 | else
|
---|
| 6543 | as_basename=false
|
---|
| 6544 | fi
|
---|
[562] | 6545 |
|
---|
[22378] | 6546 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 6547 | as_dirname=dirname
|
---|
| 6548 | else
|
---|
| 6549 | as_dirname=false
|
---|
| 6550 | fi
|
---|
[562] | 6551 |
|
---|
[22378] | 6552 | as_me=`$as_basename -- "$0" ||
|
---|
[8756] | 6553 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 6554 | X"$0" : 'X\(//\)$' \| \
|
---|
[22378] | 6555 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 6556 | $as_echo X/"$0" |
|
---|
| 6557 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 6558 | s//\1/
|
---|
| 6559 | q
|
---|
| 6560 | }
|
---|
| 6561 | /^X\/\(\/\/\)$/{
|
---|
| 6562 | s//\1/
|
---|
| 6563 | q
|
---|
| 6564 | }
|
---|
| 6565 | /^X\/\(\/\).*/{
|
---|
| 6566 | s//\1/
|
---|
| 6567 | q
|
---|
| 6568 | }
|
---|
| 6569 | s/.*/./; q'`
|
---|
[3631] | 6570 |
|
---|
[20853] | 6571 | # Avoid depending upon Character Ranges.
|
---|
| 6572 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 6573 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 6574 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 6575 | as_cr_digits='0123456789'
|
---|
| 6576 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[8756] | 6577 |
|
---|
[22378] | 6578 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 6579 | case `echo -n x` in #(((((
|
---|
| 6580 | -n*)
|
---|
| 6581 | case `echo 'xy\c'` in
|
---|
| 6582 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 6583 | xy) ECHO_C='\c';;
|
---|
| 6584 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 6585 | ECHO_T=' ';;
|
---|
| 6586 | esac;;
|
---|
| 6587 | *)
|
---|
| 6588 | ECHO_N='-n';;
|
---|
[8756] | 6589 | esac
|
---|
| 6590 |
|
---|
[22378] | 6591 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 6592 | if test -d conf$$.dir; then
|
---|
| 6593 | rm -f conf$$.dir/conf$$.file
|
---|
[8756] | 6594 | else
|
---|
[22378] | 6595 | rm -f conf$$.dir
|
---|
| 6596 | mkdir conf$$.dir 2>/dev/null
|
---|
[8756] | 6597 | fi
|
---|
[22378] | 6598 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 6599 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 6600 | as_ln_s='ln -s'
|
---|
| 6601 | # ... but there are two gotchas:
|
---|
| 6602 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 6603 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 6604 | # In both cases, we have to default to `cp -p'.
|
---|
| 6605 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 6606 | as_ln_s='cp -p'
|
---|
| 6607 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 6608 | as_ln_s=ln
|
---|
| 6609 | else
|
---|
[8756] | 6610 | as_ln_s='cp -p'
|
---|
[20853] | 6611 | fi
|
---|
[8756] | 6612 | else
|
---|
| 6613 | as_ln_s='cp -p'
|
---|
| 6614 | fi
|
---|
[22378] | 6615 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 6616 | rmdir conf$$.dir 2>/dev/null
|
---|
[8756] | 6617 |
|
---|
[22378] | 6618 |
|
---|
| 6619 | # as_fn_mkdir_p
|
---|
| 6620 | # -------------
|
---|
| 6621 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 6622 | as_fn_mkdir_p ()
|
---|
| 6623 | {
|
---|
| 6624 |
|
---|
| 6625 | case $as_dir in #(
|
---|
| 6626 | -*) as_dir=./$as_dir;;
|
---|
| 6627 | esac
|
---|
| 6628 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 6629 | as_dirs=
|
---|
| 6630 | while :; do
|
---|
| 6631 | case $as_dir in #(
|
---|
| 6632 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 6633 | *) as_qdir=$as_dir;;
|
---|
| 6634 | esac
|
---|
| 6635 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 6636 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 6637 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 6638 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 6639 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 6640 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 6641 | $as_echo X"$as_dir" |
|
---|
| 6642 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 6643 | s//\1/
|
---|
| 6644 | q
|
---|
| 6645 | }
|
---|
| 6646 | /^X\(\/\/\)[^/].*/{
|
---|
| 6647 | s//\1/
|
---|
| 6648 | q
|
---|
| 6649 | }
|
---|
| 6650 | /^X\(\/\/\)$/{
|
---|
| 6651 | s//\1/
|
---|
| 6652 | q
|
---|
| 6653 | }
|
---|
| 6654 | /^X\(\/\).*/{
|
---|
| 6655 | s//\1/
|
---|
| 6656 | q
|
---|
| 6657 | }
|
---|
| 6658 | s/.*/./; q'`
|
---|
| 6659 | test -d "$as_dir" && break
|
---|
| 6660 | done
|
---|
| 6661 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
[23356] | 6662 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
[22378] | 6663 |
|
---|
| 6664 |
|
---|
| 6665 | } # as_fn_mkdir_p
|
---|
[8756] | 6666 | if mkdir -p . 2>/dev/null; then
|
---|
[22378] | 6667 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[8756] | 6668 | else
|
---|
| 6669 | test -d ./-p && rmdir ./-p
|
---|
| 6670 | as_mkdir_p=false
|
---|
| 6671 | fi
|
---|
| 6672 |
|
---|
[22378] | 6673 | if test -x / >/dev/null 2>&1; then
|
---|
| 6674 | as_test_x='test -x'
|
---|
| 6675 | else
|
---|
| 6676 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 6677 | as_ls_L_option=L
|
---|
| 6678 | else
|
---|
| 6679 | as_ls_L_option=
|
---|
| 6680 | fi
|
---|
| 6681 | as_test_x='
|
---|
| 6682 | eval sh -c '\''
|
---|
| 6683 | if test -d "$1"; then
|
---|
| 6684 | test -d "$1/.";
|
---|
| 6685 | else
|
---|
| 6686 | case $1 in #(
|
---|
| 6687 | -*)set "./$1";;
|
---|
| 6688 | esac;
|
---|
| 6689 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
| 6690 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 6691 | '\'' sh
|
---|
| 6692 | '
|
---|
| 6693 | fi
|
---|
| 6694 | as_executable_p=$as_test_x
|
---|
[8756] | 6695 |
|
---|
| 6696 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 6697 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 6698 |
|
---|
| 6699 | # Sed expression to map a string onto a valid variable name.
|
---|
| 6700 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 6701 |
|
---|
| 6702 |
|
---|
| 6703 | exec 6>&1
|
---|
[22378] | 6704 | ## ----------------------------------- ##
|
---|
| 6705 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 6706 | ## ----------------------------------- ##
|
---|
| 6707 | _ASEOF
|
---|
| 6708 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
[8756] | 6709 |
|
---|
[22378] | 6710 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 6711 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
[8756] | 6712 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[22378] | 6713 | # values after options handling.
|
---|
| 6714 | ac_log="
|
---|
[8756] | 6715 | This file was extended by $as_me, which was
|
---|
[23356] | 6716 | generated by GNU Autoconf 2.67. Invocation command line was
|
---|
[8756] | 6717 |
|
---|
| 6718 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 6719 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 6720 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 6721 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 6722 | $ $0 $@
|
---|
| 6723 |
|
---|
[22378] | 6724 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 6725 | "
|
---|
| 6726 |
|
---|
[8756] | 6727 | _ACEOF
|
---|
| 6728 |
|
---|
[22378] | 6729 | case $ac_config_files in *"
|
---|
| 6730 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 6731 | esac
|
---|
[8756] | 6732 |
|
---|
[22378] | 6733 | case $ac_config_headers in *"
|
---|
| 6734 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 6735 | esac
|
---|
[8756] | 6736 |
|
---|
[20853] | 6737 |
|
---|
[22378] | 6738 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 6739 | # Files that config.status was made for.
|
---|
| 6740 | config_files="$ac_config_files"
|
---|
| 6741 | config_headers="$ac_config_headers"
|
---|
[20853] | 6742 |
|
---|
[22378] | 6743 | _ACEOF
|
---|
[20853] | 6744 |
|
---|
[22378] | 6745 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[8756] | 6746 | ac_cs_usage="\
|
---|
[22378] | 6747 | \`$as_me' instantiates files and other configuration actions
|
---|
| 6748 | from templates according to the current configuration. Unless the files
|
---|
| 6749 | and actions are specified as TAGs, all are instantiated by default.
|
---|
[8756] | 6750 |
|
---|
[22378] | 6751 | Usage: $0 [OPTION]... [TAG]...
|
---|
[8756] | 6752 |
|
---|
| 6753 | -h, --help print this help, then exit
|
---|
[22378] | 6754 | -V, --version print version number and configuration settings, then exit
|
---|
| 6755 | --config print configuration, then exit
|
---|
| 6756 | -q, --quiet, --silent
|
---|
| 6757 | do not print progress messages
|
---|
[8756] | 6758 | -d, --debug don't remove temporary files
|
---|
| 6759 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[22378] | 6760 | --file=FILE[:TEMPLATE]
|
---|
| 6761 | instantiate the configuration file FILE
|
---|
| 6762 | --header=FILE[:TEMPLATE]
|
---|
| 6763 | instantiate the configuration header FILE
|
---|
[8756] | 6764 |
|
---|
| 6765 | Configuration files:
|
---|
| 6766 | $config_files
|
---|
| 6767 |
|
---|
| 6768 | Configuration headers:
|
---|
| 6769 | $config_headers
|
---|
| 6770 |
|
---|
[22378] | 6771 | Report bugs to the package provider."
|
---|
| 6772 |
|
---|
[20853] | 6773 | _ACEOF
|
---|
[22378] | 6774 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 6775 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
[8756] | 6776 | ac_cs_version="\\
|
---|
| 6777 | config.status
|
---|
[23356] | 6778 | configured by $0, generated by GNU Autoconf 2.67,
|
---|
[22378] | 6779 | with options \\"\$ac_cs_config\\"
|
---|
[8756] | 6780 |
|
---|
[23356] | 6781 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[8756] | 6782 | This config.status script is free software; the Free Software Foundation
|
---|
| 6783 | gives unlimited permission to copy, distribute and modify it."
|
---|
[22378] | 6784 |
|
---|
| 6785 | ac_pwd='$ac_pwd'
|
---|
| 6786 | srcdir='$srcdir'
|
---|
| 6787 | INSTALL='$INSTALL'
|
---|
| 6788 | AWK='$AWK'
|
---|
| 6789 | test -n "\$AWK" || AWK=awk
|
---|
[8756] | 6790 | _ACEOF
|
---|
| 6791 |
|
---|
[22378] | 6792 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 6793 | # The default lists apply if the user does not specify any file.
|
---|
[8756] | 6794 | ac_need_defaults=:
|
---|
| 6795 | while test $# != 0
|
---|
| 6796 | do
|
---|
| 6797 | case $1 in
|
---|
[23356] | 6798 | --*=?*)
|
---|
[22378] | 6799 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 6800 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[8756] | 6801 | ac_shift=:
|
---|
| 6802 | ;;
|
---|
[23356] | 6803 | --*=)
|
---|
| 6804 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 6805 | ac_optarg=
|
---|
| 6806 | ac_shift=:
|
---|
| 6807 | ;;
|
---|
[22378] | 6808 | *)
|
---|
[8756] | 6809 | ac_option=$1
|
---|
| 6810 | ac_optarg=$2
|
---|
| 6811 | ac_shift=shift
|
---|
| 6812 | ;;
|
---|
| 6813 | esac
|
---|
| 6814 |
|
---|
| 6815 | case $ac_option in
|
---|
| 6816 | # Handling of the options.
|
---|
| 6817 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 6818 | ac_cs_recheck=: ;;
|
---|
[22378] | 6819 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 6820 | $as_echo "$ac_cs_version"; exit ;;
|
---|
| 6821 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 6822 | $as_echo "$ac_cs_config"; exit ;;
|
---|
| 6823 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[8756] | 6824 | debug=: ;;
|
---|
| 6825 | --file | --fil | --fi | --f )
|
---|
| 6826 | $ac_shift
|
---|
[22378] | 6827 | case $ac_optarg in
|
---|
| 6828 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[23356] | 6829 | '') as_fn_error $? "missing file argument" ;;
|
---|
[22378] | 6830 | esac
|
---|
| 6831 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
[8756] | 6832 | ac_need_defaults=false;;
|
---|
| 6833 | --header | --heade | --head | --hea )
|
---|
| 6834 | $ac_shift
|
---|
[22378] | 6835 | case $ac_optarg in
|
---|
| 6836 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 6837 | esac
|
---|
| 6838 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
[8756] | 6839 | ac_need_defaults=false;;
|
---|
[22378] | 6840 | --he | --h)
|
---|
| 6841 | # Conflict between --help and --header
|
---|
[23356] | 6842 | as_fn_error $? "ambiguous option: \`$1'
|
---|
[22378] | 6843 | Try \`$0 --help' for more information.";;
|
---|
| 6844 | --help | --hel | -h )
|
---|
| 6845 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[8756] | 6846 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 6847 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 6848 | ac_cs_silent=: ;;
|
---|
| 6849 |
|
---|
| 6850 | # This is an error.
|
---|
[23356] | 6851 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
[22378] | 6852 | Try \`$0 --help' for more information." ;;
|
---|
[8756] | 6853 |
|
---|
[22378] | 6854 | *) as_fn_append ac_config_targets " $1"
|
---|
| 6855 | ac_need_defaults=false ;;
|
---|
[8756] | 6856 |
|
---|
| 6857 | esac
|
---|
| 6858 | shift
|
---|
[8200] | 6859 | done
|
---|
[8756] | 6860 |
|
---|
| 6861 | ac_configure_extra_args=
|
---|
| 6862 |
|
---|
| 6863 | if $ac_cs_silent; then
|
---|
| 6864 | exec 6>/dev/null
|
---|
| 6865 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
[8200] | 6866 | fi
|
---|
[562] | 6867 |
|
---|
[8756] | 6868 | _ACEOF
|
---|
[22378] | 6869 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[8756] | 6870 | if \$ac_cs_recheck; then
|
---|
[22378] | 6871 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 6872 | shift
|
---|
| 6873 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 6874 | CONFIG_SHELL='$SHELL'
|
---|
| 6875 | export CONFIG_SHELL
|
---|
| 6876 | exec "\$@"
|
---|
[8756] | 6877 | fi
|
---|
[8200] | 6878 |
|
---|
[8756] | 6879 | _ACEOF
|
---|
[22378] | 6880 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 6881 | exec 5>>config.log
|
---|
| 6882 | {
|
---|
| 6883 | echo
|
---|
| 6884 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 6885 | ## Running $as_me. ##
|
---|
| 6886 | _ASBOX
|
---|
| 6887 | $as_echo "$ac_log"
|
---|
| 6888 | } >&5
|
---|
[8756] | 6889 |
|
---|
[22378] | 6890 | _ACEOF
|
---|
| 6891 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 6892 | _ACEOF
|
---|
[8756] | 6893 |
|
---|
[22378] | 6894 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[20853] | 6895 |
|
---|
[22378] | 6896 | # Handling of arguments.
|
---|
[8756] | 6897 | for ac_config_target in $ac_config_targets
|
---|
| 6898 | do
|
---|
[22378] | 6899 | case $ac_config_target in
|
---|
| 6900 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 6901 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 6902 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 6903 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 6904 |
|
---|
[23356] | 6905 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
|
---|
[562] | 6906 | esac
|
---|
[8756] | 6907 | done
|
---|
[562] | 6908 |
|
---|
[22378] | 6909 |
|
---|
[8756] | 6910 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 6911 | # then the envvar interface is used. Set only those that are not.
|
---|
| 6912 | # We use the long form for the default assignment because of an extremely
|
---|
| 6913 | # bizarre bug on SunOS 4.1.3.
|
---|
| 6914 | if $ac_need_defaults; then
|
---|
| 6915 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 6916 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 6917 | fi
|
---|
[8200] | 6918 |
|
---|
[8756] | 6919 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[22378] | 6920 | # simply because there is no reason against having it here, and in addition,
|
---|
[8756] | 6921 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[22378] | 6922 | # Hook for its removal unless debugging.
|
---|
| 6923 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 6924 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[8756] | 6925 | $debug ||
|
---|
| 6926 | {
|
---|
[22378] | 6927 | tmp=
|
---|
| 6928 | trap 'exit_status=$?
|
---|
| 6929 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
| 6930 | ' 0
|
---|
| 6931 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
[8756] | 6932 | }
|
---|
| 6933 | # Create a (secure) tmp directory for tmp files.
|
---|
| 6934 |
|
---|
| 6935 | {
|
---|
[22378] | 6936 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[8756] | 6937 | test -n "$tmp" && test -d "$tmp"
|
---|
| 6938 | } ||
|
---|
| 6939 | {
|
---|
[22378] | 6940 | tmp=./conf$$-$RANDOM
|
---|
| 6941 | (umask 077 && mkdir "$tmp")
|
---|
[23356] | 6942 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
[22378] | 6943 |
|
---|
| 6944 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 6945 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 6946 | # This happens for instance with `./config.status config.h'.
|
---|
| 6947 | if test -n "$CONFIG_FILES"; then
|
---|
| 6948 |
|
---|
| 6949 |
|
---|
| 6950 | ac_cr=`echo X | tr X '\015'`
|
---|
| 6951 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 6952 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 6953 | # point, so we can use a bashism as a fallback.
|
---|
| 6954 | if test "x$ac_cr" = x; then
|
---|
| 6955 | eval ac_cr=\$\'\\r\'
|
---|
| 6956 | fi
|
---|
| 6957 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 6958 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
[23356] | 6959 | ac_cs_awk_cr='\\r'
|
---|
[22378] | 6960 | else
|
---|
| 6961 | ac_cs_awk_cr=$ac_cr
|
---|
| 6962 | fi
|
---|
| 6963 |
|
---|
| 6964 | echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
---|
| 6965 | _ACEOF
|
---|
| 6966 |
|
---|
| 6967 |
|
---|
[8756] | 6968 | {
|
---|
[22378] | 6969 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 6970 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 6971 | echo "_ACEOF"
|
---|
| 6972 | } >conf$$subs.sh ||
|
---|
[23356] | 6973 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 6974 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
[22378] | 6975 | ac_delim='%!_!# '
|
---|
| 6976 | for ac_last_try in false false false false false :; do
|
---|
| 6977 | . ./conf$$subs.sh ||
|
---|
[23356] | 6978 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[22378] | 6979 |
|
---|
| 6980 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 6981 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 6982 | break
|
---|
| 6983 | elif $ac_last_try; then
|
---|
[23356] | 6984 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[22378] | 6985 | else
|
---|
| 6986 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 6987 | fi
|
---|
| 6988 | done
|
---|
| 6989 | rm -f conf$$subs.sh
|
---|
| 6990 |
|
---|
| 6991 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 6992 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
---|
| 6993 | _ACEOF
|
---|
| 6994 | sed -n '
|
---|
| 6995 | h
|
---|
| 6996 | s/^/S["/; s/!.*/"]=/
|
---|
| 6997 | p
|
---|
| 6998 | g
|
---|
| 6999 | s/^[^!]*!//
|
---|
| 7000 | :repl
|
---|
| 7001 | t repl
|
---|
| 7002 | s/'"$ac_delim"'$//
|
---|
| 7003 | t delim
|
---|
| 7004 | :nl
|
---|
| 7005 | h
|
---|
| 7006 | s/\(.\{148\}\)..*/\1/
|
---|
| 7007 | t more1
|
---|
| 7008 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 7009 | p
|
---|
| 7010 | n
|
---|
| 7011 | b repl
|
---|
| 7012 | :more1
|
---|
| 7013 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7014 | p
|
---|
| 7015 | g
|
---|
| 7016 | s/.\{148\}//
|
---|
| 7017 | t nl
|
---|
| 7018 | :delim
|
---|
| 7019 | h
|
---|
| 7020 | s/\(.\{148\}\)..*/\1/
|
---|
| 7021 | t more2
|
---|
| 7022 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 7023 | p
|
---|
| 7024 | b
|
---|
| 7025 | :more2
|
---|
| 7026 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7027 | p
|
---|
| 7028 | g
|
---|
| 7029 | s/.\{148\}//
|
---|
| 7030 | t delim
|
---|
| 7031 | ' <conf$$subs.awk | sed '
|
---|
| 7032 | /^[^""]/{
|
---|
| 7033 | N
|
---|
| 7034 | s/\n//
|
---|
[8756] | 7035 | }
|
---|
[22378] | 7036 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7037 | rm -f conf$$subs.awk
|
---|
| 7038 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7039 | _ACAWK
|
---|
| 7040 | cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
---|
| 7041 | for (key in S) S_is_set[key] = 1
|
---|
| 7042 | FS = ""
|
---|
[8756] | 7043 |
|
---|
[22378] | 7044 | }
|
---|
| 7045 | {
|
---|
| 7046 | line = $ 0
|
---|
| 7047 | nfields = split(line, field, "@")
|
---|
| 7048 | substed = 0
|
---|
| 7049 | len = length(field[1])
|
---|
| 7050 | for (i = 2; i < nfields; i++) {
|
---|
| 7051 | key = field[i]
|
---|
| 7052 | keylen = length(key)
|
---|
| 7053 | if (S_is_set[key]) {
|
---|
| 7054 | value = S[key]
|
---|
| 7055 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 7056 | len += length(value) + length(field[++i])
|
---|
| 7057 | substed = 1
|
---|
| 7058 | } else
|
---|
| 7059 | len += 1 + keylen
|
---|
| 7060 | }
|
---|
| 7061 |
|
---|
| 7062 | print line
|
---|
| 7063 | }
|
---|
| 7064 |
|
---|
| 7065 | _ACAWK
|
---|
[20853] | 7066 | _ACEOF
|
---|
[22378] | 7067 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7068 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 7069 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 7070 | else
|
---|
| 7071 | cat
|
---|
| 7072 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
---|
[23356] | 7073 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
[22378] | 7074 | _ACEOF
|
---|
[20853] | 7075 |
|
---|
[23356] | 7076 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 7077 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
[22378] | 7078 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7079 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7080 | if test "x$srcdir" = x.; then
|
---|
[23356] | 7081 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 7082 | h
|
---|
| 7083 | s///
|
---|
| 7084 | s/^/:/
|
---|
| 7085 | s/[ ]*$/:/
|
---|
| 7086 | s/:\$(srcdir):/:/g
|
---|
| 7087 | s/:\${srcdir}:/:/g
|
---|
| 7088 | s/:@srcdir@:/:/g
|
---|
| 7089 | s/^:*//
|
---|
[22378] | 7090 | s/:*$//
|
---|
[23356] | 7091 | x
|
---|
| 7092 | s/\(=[ ]*\).*/\1/
|
---|
| 7093 | G
|
---|
| 7094 | s/\n//
|
---|
[22378] | 7095 | s/^[^=]*=[ ]*$//
|
---|
| 7096 | }'
|
---|
| 7097 | fi
|
---|
[20853] | 7098 |
|
---|
[22378] | 7099 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7100 | fi # test -n "$CONFIG_FILES"
|
---|
[8756] | 7101 |
|
---|
[22378] | 7102 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 7103 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 7104 | # This happens for instance with `./config.status Makefile'.
|
---|
| 7105 | if test -n "$CONFIG_HEADERS"; then
|
---|
| 7106 | cat >"$tmp/defines.awk" <<\_ACAWK ||
|
---|
| 7107 | BEGIN {
|
---|
[8756] | 7108 | _ACEOF
|
---|
| 7109 |
|
---|
[22378] | 7110 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 7111 | # here-document in config.status, that substitutes the proper values into
|
---|
| 7112 | # config.h.in to produce config.h.
|
---|
| 7113 |
|
---|
| 7114 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 7115 | # handling of long lines.
|
---|
| 7116 | ac_delim='%!_!# '
|
---|
| 7117 | for ac_last_try in false false :; do
|
---|
| 7118 | ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 7119 | if test -z "$ac_t"; then
|
---|
| 7120 | break
|
---|
| 7121 | elif $ac_last_try; then
|
---|
[23356] | 7122 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
[22378] | 7123 | else
|
---|
| 7124 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
[562] | 7125 | fi
|
---|
[22378] | 7126 | done
|
---|
[562] | 7127 |
|
---|
[22378] | 7128 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 7129 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 7130 | # newline sequences.
|
---|
| 7131 |
|
---|
| 7132 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 7133 | sed -n '
|
---|
| 7134 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7135 | t rset
|
---|
| 7136 | :rset
|
---|
| 7137 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 7138 | t def
|
---|
| 7139 | d
|
---|
| 7140 | :def
|
---|
| 7141 | s/\\$//
|
---|
| 7142 | t bsnl
|
---|
| 7143 | s/["\\]/\\&/g
|
---|
| 7144 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7145 | D["\1"]=" \3"/p
|
---|
| 7146 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 7147 | d
|
---|
| 7148 | :bsnl
|
---|
| 7149 | s/["\\]/\\&/g
|
---|
| 7150 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7151 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 7152 | t cont
|
---|
| 7153 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 7154 | t cont
|
---|
| 7155 | d
|
---|
| 7156 | :cont
|
---|
| 7157 | n
|
---|
| 7158 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7159 | t clear
|
---|
| 7160 | :clear
|
---|
| 7161 | s/\\$//
|
---|
| 7162 | t bsnlc
|
---|
| 7163 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 7164 | d
|
---|
| 7165 | :bsnlc
|
---|
| 7166 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 7167 | b cont
|
---|
| 7168 | ' <confdefs.h | sed '
|
---|
| 7169 | s/'"$ac_delim"'/"\\\
|
---|
| 7170 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7171 |
|
---|
| 7172 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7173 | for (key in D) D_is_set[key] = 1
|
---|
| 7174 | FS = ""
|
---|
| 7175 | }
|
---|
| 7176 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 7177 | line = \$ 0
|
---|
| 7178 | split(line, arg, " ")
|
---|
| 7179 | if (arg[1] == "#") {
|
---|
| 7180 | defundef = arg[2]
|
---|
| 7181 | mac1 = arg[3]
|
---|
| 7182 | } else {
|
---|
| 7183 | defundef = substr(arg[1], 2)
|
---|
| 7184 | mac1 = arg[2]
|
---|
| 7185 | }
|
---|
| 7186 | split(mac1, mac2, "(") #)
|
---|
| 7187 | macro = mac2[1]
|
---|
| 7188 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 7189 | if (D_is_set[macro]) {
|
---|
| 7190 | # Preserve the white space surrounding the "#".
|
---|
| 7191 | print prefix "define", macro P[macro] D[macro]
|
---|
| 7192 | next
|
---|
| 7193 | } else {
|
---|
| 7194 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 7195 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 7196 | # on some systems where configure will not decide to define it.
|
---|
| 7197 | if (defundef == "undef") {
|
---|
| 7198 | print "/*", prefix defundef, macro, "*/"
|
---|
| 7199 | next
|
---|
| 7200 | }
|
---|
| 7201 | }
|
---|
| 7202 | }
|
---|
| 7203 | { print }
|
---|
| 7204 | _ACAWK
|
---|
[8756] | 7205 | _ACEOF
|
---|
[22378] | 7206 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[23356] | 7207 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
[22378] | 7208 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 7209 |
|
---|
| 7210 |
|
---|
| 7211 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
---|
| 7212 | shift
|
---|
| 7213 | for ac_tag
|
---|
| 7214 | do
|
---|
| 7215 | case $ac_tag in
|
---|
| 7216 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[562] | 7217 | esac
|
---|
[22378] | 7218 | case $ac_mode$ac_tag in
|
---|
| 7219 | :[FHL]*:*);;
|
---|
[23356] | 7220 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
|
---|
[22378] | 7221 | :[FH]-) ac_tag=-:-;;
|
---|
| 7222 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 7223 | esac
|
---|
| 7224 | ac_save_IFS=$IFS
|
---|
| 7225 | IFS=:
|
---|
| 7226 | set x $ac_tag
|
---|
| 7227 | IFS=$ac_save_IFS
|
---|
| 7228 | shift
|
---|
| 7229 | ac_file=$1
|
---|
| 7230 | shift
|
---|
[562] | 7231 |
|
---|
[22378] | 7232 | case $ac_mode in
|
---|
| 7233 | :L) ac_source=$1;;
|
---|
| 7234 | :[FH])
|
---|
| 7235 | ac_file_inputs=
|
---|
| 7236 | for ac_f
|
---|
| 7237 | do
|
---|
| 7238 | case $ac_f in
|
---|
| 7239 | -) ac_f="$tmp/stdin";;
|
---|
| 7240 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 7241 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 7242 | # because $ac_f cannot contain `:'.
|
---|
| 7243 | test -f "$ac_f" ||
|
---|
| 7244 | case $ac_f in
|
---|
| 7245 | [\\/$]*) false;;
|
---|
| 7246 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 7247 | esac ||
|
---|
[23356] | 7248 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
|
---|
[22378] | 7249 | esac
|
---|
| 7250 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
| 7251 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
| 7252 | done
|
---|
| 7253 |
|
---|
| 7254 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7255 | # use $as_me), people would be surprised to read:
|
---|
| 7256 | # /* config.h. Generated by config.status. */
|
---|
| 7257 | configure_input='Generated from '`
|
---|
| 7258 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 7259 | `' by configure.'
|
---|
| 7260 | if test x"$ac_file" != x-; then
|
---|
| 7261 | configure_input="$ac_file. $configure_input"
|
---|
| 7262 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
| 7263 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 7264 | fi
|
---|
| 7265 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 7266 | case $configure_input in #(
|
---|
| 7267 | *\&* | *\|* | *\\* )
|
---|
| 7268 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 7269 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 7270 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 7271 | esac
|
---|
| 7272 |
|
---|
| 7273 | case $ac_tag in
|
---|
| 7274 | *:-:* | *:-) cat >"$tmp/stdin" \
|
---|
[23356] | 7275 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
[22378] | 7276 | esac
|
---|
| 7277 | ;;
|
---|
| 7278 | esac
|
---|
| 7279 |
|
---|
| 7280 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[8756] | 7281 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7282 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7283 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[22378] | 7284 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7285 | $as_echo X"$ac_file" |
|
---|
| 7286 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7287 | s//\1/
|
---|
| 7288 | q
|
---|
| 7289 | }
|
---|
| 7290 | /^X\(\/\/\)[^/].*/{
|
---|
| 7291 | s//\1/
|
---|
| 7292 | q
|
---|
| 7293 | }
|
---|
| 7294 | /^X\(\/\/\)$/{
|
---|
| 7295 | s//\1/
|
---|
| 7296 | q
|
---|
| 7297 | }
|
---|
| 7298 | /^X\(\/\).*/{
|
---|
| 7299 | s//\1/
|
---|
| 7300 | q
|
---|
| 7301 | }
|
---|
| 7302 | s/.*/./; q'`
|
---|
| 7303 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[8756] | 7304 | ac_builddir=.
|
---|
| 7305 |
|
---|
[22378] | 7306 | case "$ac_dir" in
|
---|
| 7307 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7308 | *)
|
---|
| 7309 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7310 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7311 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7312 | case $ac_top_builddir_sub in
|
---|
| 7313 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7314 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7315 | esac ;;
|
---|
| 7316 | esac
|
---|
| 7317 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7318 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7319 | # for backward compatibility:
|
---|
| 7320 | ac_top_builddir=$ac_top_build_prefix
|
---|
[8756] | 7321 |
|
---|
| 7322 | case $srcdir in
|
---|
[22378] | 7323 | .) # We are building in place.
|
---|
[8756] | 7324 | ac_srcdir=.
|
---|
[22378] | 7325 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7326 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7327 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[8756] | 7328 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[22378] | 7329 | ac_top_srcdir=$srcdir
|
---|
| 7330 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7331 | *) # Relative name.
|
---|
| 7332 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7333 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7334 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[8756] | 7335 | esac
|
---|
[22378] | 7336 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[8756] | 7337 |
|
---|
| 7338 |
|
---|
[22378] | 7339 | case $ac_mode in
|
---|
| 7340 | :F)
|
---|
| 7341 | #
|
---|
| 7342 | # CONFIG_FILE
|
---|
| 7343 | #
|
---|
[8756] | 7344 |
|
---|
| 7345 | case $INSTALL in
|
---|
| 7346 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[22378] | 7347 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[8200] | 7348 | esac
|
---|
[22378] | 7349 | _ACEOF
|
---|
[562] | 7350 |
|
---|
[22378] | 7351 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7352 | # If the template does not know about datarootdir, expand it.
|
---|
| 7353 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 7354 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 7355 | ac_sed_dataroot='
|
---|
| 7356 | /datarootdir/ {
|
---|
| 7357 | p
|
---|
| 7358 | q
|
---|
| 7359 | }
|
---|
| 7360 | /@datadir@/p
|
---|
| 7361 | /@docdir@/p
|
---|
| 7362 | /@infodir@/p
|
---|
| 7363 | /@localedir@/p
|
---|
| 7364 | /@mandir@/p'
|
---|
| 7365 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 7366 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 7367 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
| 7368 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
| 7369 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
| 7370 | _ACEOF
|
---|
| 7371 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7372 | ac_datarootdir_hack='
|
---|
| 7373 | s&@datadir@&$datadir&g
|
---|
| 7374 | s&@docdir@&$docdir&g
|
---|
| 7375 | s&@infodir@&$infodir&g
|
---|
| 7376 | s&@localedir@&$localedir&g
|
---|
| 7377 | s&@mandir@&$mandir&g
|
---|
| 7378 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
| 7379 | esac
|
---|
| 7380 | _ACEOF
|
---|
[562] | 7381 |
|
---|
[22378] | 7382 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 7383 | # Shell code in configure.ac might set extrasub.
|
---|
| 7384 | # FIXME: do we really want to maintain this feature?
|
---|
| 7385 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7386 | ac_sed_extra="$ac_vpsub
|
---|
[8756] | 7387 | $extrasub
|
---|
| 7388 | _ACEOF
|
---|
[22378] | 7389 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[8756] | 7390 | :t
|
---|
| 7391 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[22378] | 7392 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 7393 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 7394 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 7395 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 7396 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 7397 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 7398 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 7399 | s&@builddir@&$ac_builddir&;t t
|
---|
| 7400 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 7401 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 7402 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 7403 | $ac_datarootdir_hack
|
---|
| 7404 | "
|
---|
| 7405 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
---|
[23356] | 7406 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[8756] | 7407 |
|
---|
[22378] | 7408 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 7409 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 7410 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 7411 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[23356] | 7412 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
[22378] | 7413 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[23356] | 7414 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
[8756] | 7415 |
|
---|
[22378] | 7416 | rm -f "$tmp/stdin"
|
---|
[8756] | 7417 | case $ac_file in
|
---|
[22378] | 7418 | -) cat "$tmp/out" && rm -f "$tmp/out";;
|
---|
| 7419 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
---|
| 7420 | esac \
|
---|
[23356] | 7421 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[22378] | 7422 | ;;
|
---|
| 7423 | :H)
|
---|
| 7424 | #
|
---|
| 7425 | # CONFIG_HEADER
|
---|
| 7426 | #
|
---|
[8756] | 7427 | if test x"$ac_file" != x-; then
|
---|
[22378] | 7428 | {
|
---|
| 7429 | $as_echo "/* $configure_input */" \
|
---|
| 7430 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 7431 | } >"$tmp/config.h" \
|
---|
[23356] | 7432 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[22378] | 7433 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
---|
| 7434 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
| 7435 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[8756] | 7436 | else
|
---|
[22378] | 7437 | rm -f "$ac_file"
|
---|
| 7438 | mv "$tmp/config.h" "$ac_file" \
|
---|
[23356] | 7439 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[687] | 7440 | fi
|
---|
[8756] | 7441 | else
|
---|
[22378] | 7442 | $as_echo "/* $configure_input */" \
|
---|
| 7443 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
---|
[23356] | 7444 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
[687] | 7445 | fi
|
---|
[22378] | 7446 | ;;
|
---|
[8200] | 7447 |
|
---|
[687] | 7448 |
|
---|
[22378] | 7449 | esac
|
---|
| 7450 |
|
---|
| 7451 | done # for ac_tag
|
---|
| 7452 |
|
---|
| 7453 |
|
---|
| 7454 | as_fn_exit 0
|
---|
[8756] | 7455 | _ACEOF
|
---|
| 7456 | ac_clean_files=$ac_clean_files_save
|
---|
[562] | 7457 |
|
---|
[22378] | 7458 | test $ac_write_fail = 0 ||
|
---|
[23356] | 7459 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
[8756] | 7460 |
|
---|
[22378] | 7461 |
|
---|
[8756] | 7462 | # configure is writing to config.log, and then calls config.status.
|
---|
| 7463 | # config.status does its own redirection, appending to config.log.
|
---|
| 7464 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 7465 | # by configure, so config.status won't be able to write to it; its
|
---|
| 7466 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 7467 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 7468 | # appended to by config.status. When coming back to configure, we
|
---|
| 7469 | # need to make the FD available again.
|
---|
| 7470 | if test "$no_create" != yes; then
|
---|
| 7471 | ac_cs_success=:
|
---|
| 7472 | ac_config_status_args=
|
---|
| 7473 | test "$silent" = yes &&
|
---|
| 7474 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 7475 | exec 5>/dev/null
|
---|
| 7476 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 7477 | exec 5>>config.log
|
---|
| 7478 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 7479 | # would make configure fail if this is the last instruction.
|
---|
[23356] | 7480 | $ac_cs_success || as_fn_exit 1
|
---|
[8756] | 7481 | fi
|
---|
| 7482 |
|
---|
| 7483 | #
|
---|
| 7484 | # CONFIG_SUBDIRS section.
|
---|
| 7485 | #
|
---|
[1675] | 7486 | if test "$no_recursion" != yes; then
|
---|
[562] | 7487 |
|
---|
[22378] | 7488 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
| 7489 | # so they do not pile up.
|
---|
[1675] | 7490 | ac_sub_configure_args=
|
---|
| 7491 | ac_prev=
|
---|
[22378] | 7492 | eval "set x $ac_configure_args"
|
---|
| 7493 | shift
|
---|
| 7494 | for ac_arg
|
---|
| 7495 | do
|
---|
[1675] | 7496 | if test -n "$ac_prev"; then
|
---|
| 7497 | ac_prev=
|
---|
| 7498 | continue
|
---|
| 7499 | fi
|
---|
[8756] | 7500 | case $ac_arg in
|
---|
[1675] | 7501 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 7502 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 7503 | ac_prev=cache_file ;;
|
---|
| 7504 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
[8756] | 7505 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 7506 | | --c=*)
|
---|
[1675] | 7507 | ;;
|
---|
[8756] | 7508 | --config-cache | -C)
|
---|
| 7509 | ;;
|
---|
[1675] | 7510 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 7511 | ac_prev=srcdir ;;
|
---|
| 7512 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 7513 | ;;
|
---|
[8756] | 7514 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 7515 | ac_prev=prefix ;;
|
---|
| 7516 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 7517 | ;;
|
---|
[22378] | 7518 | --disable-option-checking)
|
---|
| 7519 | ;;
|
---|
| 7520 | *)
|
---|
| 7521 | case $ac_arg in
|
---|
| 7522 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7523 | esac
|
---|
| 7524 | as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
---|
[1675] | 7525 | esac
|
---|
| 7526 | done
|
---|
[562] | 7527 |
|
---|
[8756] | 7528 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 7529 | # in subdir configurations.
|
---|
[22378] | 7530 | ac_arg="--prefix=$prefix"
|
---|
| 7531 | case $ac_arg in
|
---|
| 7532 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7533 | esac
|
---|
| 7534 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[1570] | 7535 |
|
---|
[22378] | 7536 | # Pass --silent
|
---|
| 7537 | if test "$silent" = yes; then
|
---|
| 7538 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 7539 | fi
|
---|
| 7540 |
|
---|
| 7541 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
| 7542 | # different subdirs can have different --enable and --with options.
|
---|
| 7543 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
| 7544 |
|
---|
[8756] | 7545 | ac_popdir=`pwd`
|
---|
| 7546 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 7547 |
|
---|
[1675] | 7548 | # Do not complain, so a configure script can configure whichever
|
---|
| 7549 | # parts of a large source tree are present.
|
---|
[22378] | 7550 | test -d "$srcdir/$ac_dir" || continue
|
---|
[1675] | 7551 |
|
---|
[22378] | 7552 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
| 7553 | $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
---|
| 7554 | $as_echo "$ac_msg" >&6
|
---|
| 7555 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[8756] | 7556 | ac_builddir=.
|
---|
[1675] | 7557 |
|
---|
[22378] | 7558 | case "$ac_dir" in
|
---|
| 7559 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7560 | *)
|
---|
| 7561 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7562 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7563 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7564 | case $ac_top_builddir_sub in
|
---|
| 7565 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7566 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7567 | esac ;;
|
---|
| 7568 | esac
|
---|
| 7569 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7570 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7571 | # for backward compatibility:
|
---|
| 7572 | ac_top_builddir=$ac_top_build_prefix
|
---|
[1675] | 7573 |
|
---|
[8756] | 7574 | case $srcdir in
|
---|
[22378] | 7575 | .) # We are building in place.
|
---|
[8756] | 7576 | ac_srcdir=.
|
---|
[22378] | 7577 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7578 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7579 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[8756] | 7580 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[22378] | 7581 | ac_top_srcdir=$srcdir
|
---|
| 7582 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7583 | *) # Relative name.
|
---|
| 7584 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7585 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7586 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[8756] | 7587 | esac
|
---|
[22378] | 7588 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[1675] | 7589 |
|
---|
| 7590 |
|
---|
[22378] | 7591 | cd "$ac_dir"
|
---|
[8756] | 7592 |
|
---|
[1675] | 7593 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[22378] | 7594 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 7595 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 7596 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 7597 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 7598 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 7599 | # This should be Cygnus configure.
|
---|
| 7600 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[1675] | 7601 | else
|
---|
[22378] | 7602 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
---|
| 7603 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[1675] | 7604 | ac_sub_configure=
|
---|
| 7605 | fi
|
---|
| 7606 |
|
---|
| 7607 | # The recursion is here.
|
---|
| 7608 | if test -n "$ac_sub_configure"; then
|
---|
| 7609 | # Make the cache file name correct relative to the subdirectory.
|
---|
[8756] | 7610 | case $cache_file in
|
---|
| 7611 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[22378] | 7612 | *) # Relative name.
|
---|
| 7613 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[1675] | 7614 | esac
|
---|
| 7615 |
|
---|
[22378] | 7616 | { $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
|
---|
| 7617 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[1675] | 7618 | # The eval makes quoting arguments work.
|
---|
[22378] | 7619 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 7620 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
[23356] | 7621 | as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
---|
[1675] | 7622 | fi
|
---|
| 7623 |
|
---|
[22378] | 7624 | cd "$ac_popdir"
|
---|
[1675] | 7625 | done
|
---|
| 7626 | fi
|
---|
[22378] | 7627 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
| 7628 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
| 7629 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 7630 | fi
|
---|
[1675] | 7631 |
|
---|
[8200] | 7632 |
|
---|
| 7633 |
|
---|