[16566] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[26565] | 3 | # Generated by GNU Autoconf 2.68.
|
---|
[16566] | 4 | #
|
---|
[26565] | 5 | #
|
---|
[25149] | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
[26565] | 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
|
---|
| 8 | # Foundation, Inc.
|
---|
| 9 | #
|
---|
| 10 | #
|
---|
[16566] | 11 | # This configure script is free software; the Free Software Foundation
|
---|
| 12 | # gives unlimited permission to copy, distribute and modify it.
|
---|
[26565] | 13 | ## -------------------- ##
|
---|
| 14 | ## M4sh Initialization. ##
|
---|
| 15 | ## -------------------- ##
|
---|
[16566] | 16 |
|
---|
[25149] | 17 | # Be more Bourne compatible
|
---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[26565] | 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16566] | 20 | emulate sh
|
---|
| 21 | NULLCMD=:
|
---|
[25149] | 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16566] | 23 | # is contrary to our usage. Disable this feature.
|
---|
| 24 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25149] | 25 | setopt NO_GLOB_SUBST
|
---|
| 26 | else
|
---|
[26565] | 27 | case `(set -o) 2>/dev/null` in #(
|
---|
| 28 | *posix*) :
|
---|
| 29 | set -o posix ;; #(
|
---|
| 30 | *) :
|
---|
| 31 | ;;
|
---|
[25149] | 32 | esac
|
---|
[16566] | 33 | fi
|
---|
| 34 |
|
---|
[25149] | 35 |
|
---|
| 36 | as_nl='
|
---|
| 37 | '
|
---|
| 38 | export as_nl
|
---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[26565] | 43 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 44 | # but without wasting forks for bash or zsh.
|
---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 47 | as_echo='print -r --'
|
---|
| 48 | as_echo_n='print -rn --'
|
---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[25149] | 50 | as_echo='printf %s\n'
|
---|
| 51 | as_echo_n='printf %s'
|
---|
| 52 | else
|
---|
| 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 55 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 56 | else
|
---|
| 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 58 | as_echo_n_body='eval
|
---|
| 59 | arg=$1;
|
---|
[26565] | 60 | case $arg in #(
|
---|
[25149] | 61 | *"$as_nl"*)
|
---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 64 | esac;
|
---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 66 | '
|
---|
| 67 | export as_echo_n_body
|
---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 69 | fi
|
---|
| 70 | export as_echo_body
|
---|
| 71 | as_echo='sh -c $as_echo_body as_echo'
|
---|
| 72 | fi
|
---|
| 73 |
|
---|
| 74 | # The user is always right.
|
---|
| 75 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 76 | PATH_SEPARATOR=:
|
---|
| 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 79 | PATH_SEPARATOR=';'
|
---|
| 80 | }
|
---|
| 81 | fi
|
---|
| 82 |
|
---|
[16566] | 83 |
|
---|
[25149] | 84 | # IFS
|
---|
| 85 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 86 | # there to prevent editors from complaining about space-tab.
|
---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 88 | # splitting by setting IFS to empty value.)
|
---|
| 89 | IFS=" "" $as_nl"
|
---|
| 90 |
|
---|
| 91 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[26565] | 92 | as_myself=
|
---|
| 93 | case $0 in #((
|
---|
[25149] | 94 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 96 | for as_dir in $PATH
|
---|
| 97 | do
|
---|
| 98 | IFS=$as_save_IFS
|
---|
| 99 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 101 | done
|
---|
[25149] | 102 | IFS=$as_save_IFS
|
---|
| 103 |
|
---|
| 104 | ;;
|
---|
| 105 | esac
|
---|
| 106 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 107 | # in which case we are not to be found in the path.
|
---|
| 108 | if test "x$as_myself" = x; then
|
---|
| 109 | as_myself=$0
|
---|
| 110 | fi
|
---|
| 111 | if test ! -f "$as_myself"; then
|
---|
| 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[26565] | 113 | exit 1
|
---|
[25149] | 114 | fi
|
---|
| 115 |
|
---|
[26565] | 116 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 118 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 119 | # trigger a bug in pdksh 5.2.14.
|
---|
| 120 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 121 | do eval test x\${$as_var+set} = xset \
|
---|
| 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
[25149] | 123 | done
|
---|
[16566] | 124 | PS1='$ '
|
---|
| 125 | PS2='> '
|
---|
| 126 | PS4='+ '
|
---|
| 127 |
|
---|
| 128 | # NLS nuisances.
|
---|
[25149] | 129 | LC_ALL=C
|
---|
| 130 | export LC_ALL
|
---|
| 131 | LANGUAGE=C
|
---|
| 132 | export LANGUAGE
|
---|
[16566] | 133 |
|
---|
[25149] | 134 | # CDPATH.
|
---|
[26565] | 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
[24874] | 136 |
|
---|
[25149] | 137 | if test "x$CONFIG_SHELL" = x; then
|
---|
[26565] | 138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
---|
| 139 | emulate sh
|
---|
| 140 | NULLCMD=:
|
---|
| 141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
---|
| 142 | # is contrary to our usage. Disable this feature.
|
---|
| 143 | alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
---|
| 144 | setopt NO_GLOB_SUBST
|
---|
[25149] | 145 | else
|
---|
[26565] | 146 | case \`(set -o) 2>/dev/null\` in #(
|
---|
| 147 | *posix*) :
|
---|
| 148 | set -o posix ;; #(
|
---|
| 149 | *) :
|
---|
| 150 | ;;
|
---|
| 151 | esac
|
---|
[24874] | 152 | fi
|
---|
[26565] | 153 | "
|
---|
| 154 | as_required="as_fn_return () { (exit \$1); }
|
---|
| 155 | as_fn_success () { as_fn_return 0; }
|
---|
| 156 | as_fn_failure () { as_fn_return 1; }
|
---|
| 157 | as_fn_ret_success () { return 0; }
|
---|
| 158 | as_fn_ret_failure () { return 1; }
|
---|
[16566] | 159 |
|
---|
[25149] | 160 | exitcode=0
|
---|
[26565] | 161 | as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
---|
| 162 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
---|
| 163 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
---|
| 164 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
---|
| 165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
---|
[24874] | 166 |
|
---|
[25149] | 167 | else
|
---|
[26565] | 168 | exitcode=1; echo positional parameters were not saved.
|
---|
[25149] | 169 | fi
|
---|
[26565] | 170 | test x\$exitcode = x0 || exit 1"
|
---|
| 171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
---|
| 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
---|
| 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
---|
| 174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
---|
| 175 | test \$(( 1 + 1 )) = 2 || exit 1"
|
---|
| 176 | if (eval "$as_required") 2>/dev/null; then :
|
---|
| 177 | as_have_required=yes
|
---|
[25149] | 178 | else
|
---|
[26565] | 179 | as_have_required=no
|
---|
[25149] | 180 | fi
|
---|
[26565] | 181 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
---|
[25149] | 182 |
|
---|
| 183 | else
|
---|
[26565] | 184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 185 | as_found=false
|
---|
[24874] | 186 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 187 | do
|
---|
| 188 | IFS=$as_save_IFS
|
---|
| 189 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 190 | as_found=:
|
---|
| 191 | case $as_dir in #(
|
---|
[24874] | 192 | /*)
|
---|
[25149] | 193 | for as_base in sh bash ksh sh5; do
|
---|
[26565] | 194 | # Try only shells that exist, to save several forks.
|
---|
| 195 | as_shell=$as_dir/$as_base
|
---|
| 196 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
| 197 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 198 | CONFIG_SHELL=$as_shell as_have_required=yes
|
---|
| 199 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
---|
| 200 | break 2
|
---|
| 201 | fi
|
---|
| 202 | fi
|
---|
[25149] | 203 | done;;
|
---|
| 204 | esac
|
---|
[26565] | 205 | as_found=false
|
---|
[25149] | 206 | done
|
---|
[26565] | 207 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
---|
| 208 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
---|
| 209 | CONFIG_SHELL=$SHELL as_have_required=yes
|
---|
| 210 | fi; }
|
---|
[25149] | 211 | IFS=$as_save_IFS
|
---|
| 212 |
|
---|
| 213 |
|
---|
[26565] | 214 | if test "x$CONFIG_SHELL" != x; then :
|
---|
| 215 | # We cannot yet assume a decent shell, so we have to provide a
|
---|
| 216 | # neutralization value for shells without unset; and this also
|
---|
| 217 | # works around shells that cannot unset nonexistent variables.
|
---|
| 218 | # Preserve -v and -x to the replacement shell.
|
---|
| 219 | BASH_ENV=/dev/null
|
---|
| 220 | ENV=/dev/null
|
---|
| 221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
---|
| 222 | export CONFIG_SHELL
|
---|
| 223 | case $- in # ((((
|
---|
| 224 | *v*x* | *x*v* ) as_opts=-vx ;;
|
---|
| 225 | *v* ) as_opts=-v ;;
|
---|
| 226 | *x* ) as_opts=-x ;;
|
---|
| 227 | * ) as_opts= ;;
|
---|
| 228 | esac
|
---|
| 229 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
|
---|
[25149] | 230 | fi
|
---|
| 231 |
|
---|
[26565] | 232 | if test x$as_have_required = xno; then :
|
---|
| 233 | $as_echo "$0: This script requires a shell more modern than all"
|
---|
| 234 | $as_echo "$0: the shells that I found on your system."
|
---|
| 235 | if test x${ZSH_VERSION+set} = xset ; then
|
---|
| 236 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
---|
| 237 | $as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
---|
| 238 | else
|
---|
| 239 | $as_echo "$0: Please tell [email protected] about your system,
|
---|
| 240 | $0: including any error possibly output before this
|
---|
| 241 | $0: message. Then install a modern shell, or manually run
|
---|
| 242 | $0: the script under such a shell if you do have one."
|
---|
| 243 | fi
|
---|
| 244 | exit 1
|
---|
[25149] | 245 | fi
|
---|
| 246 | fi
|
---|
| 247 | fi
|
---|
[26565] | 248 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 249 | export SHELL
|
---|
| 250 | # Unset more variables known to interfere with behavior of common tools.
|
---|
| 251 | CLICOLOR_FORCE= GREP_OPTIONS=
|
---|
| 252 | unset CLICOLOR_FORCE GREP_OPTIONS
|
---|
[25149] | 253 |
|
---|
[26565] | 254 | ## --------------------- ##
|
---|
| 255 | ## M4sh Shell Functions. ##
|
---|
| 256 | ## --------------------- ##
|
---|
| 257 | # as_fn_unset VAR
|
---|
| 258 | # ---------------
|
---|
| 259 | # Portably unset VAR.
|
---|
| 260 | as_fn_unset ()
|
---|
| 261 | {
|
---|
| 262 | { eval $1=; unset $1;}
|
---|
| 263 | }
|
---|
| 264 | as_unset=as_fn_unset
|
---|
[25149] | 265 |
|
---|
[26565] | 266 | # as_fn_set_status STATUS
|
---|
| 267 | # -----------------------
|
---|
| 268 | # Set $? to STATUS, without forking.
|
---|
| 269 | as_fn_set_status ()
|
---|
| 270 | {
|
---|
| 271 | return $1
|
---|
| 272 | } # as_fn_set_status
|
---|
[25149] | 273 |
|
---|
[26565] | 274 | # as_fn_exit STATUS
|
---|
| 275 | # -----------------
|
---|
| 276 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 277 | as_fn_exit ()
|
---|
| 278 | {
|
---|
| 279 | set +e
|
---|
| 280 | as_fn_set_status $1
|
---|
| 281 | exit $1
|
---|
| 282 | } # as_fn_exit
|
---|
[25149] | 283 |
|
---|
[26565] | 284 | # as_fn_mkdir_p
|
---|
| 285 | # -------------
|
---|
| 286 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 287 | as_fn_mkdir_p ()
|
---|
| 288 | {
|
---|
[25149] | 289 |
|
---|
[26565] | 290 | case $as_dir in #(
|
---|
| 291 | -*) as_dir=./$as_dir;;
|
---|
| 292 | esac
|
---|
| 293 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 294 | as_dirs=
|
---|
| 295 | while :; do
|
---|
| 296 | case $as_dir in #(
|
---|
| 297 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 298 | *) as_qdir=$as_dir;;
|
---|
| 299 | esac
|
---|
| 300 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 301 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 302 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 303 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 304 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 305 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 306 | $as_echo X"$as_dir" |
|
---|
| 307 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 308 | s//\1/
|
---|
| 309 | q
|
---|
| 310 | }
|
---|
| 311 | /^X\(\/\/\)[^/].*/{
|
---|
| 312 | s//\1/
|
---|
| 313 | q
|
---|
| 314 | }
|
---|
| 315 | /^X\(\/\/\)$/{
|
---|
| 316 | s//\1/
|
---|
| 317 | q
|
---|
| 318 | }
|
---|
| 319 | /^X\(\/\).*/{
|
---|
| 320 | s//\1/
|
---|
| 321 | q
|
---|
| 322 | }
|
---|
| 323 | s/.*/./; q'`
|
---|
| 324 | test -d "$as_dir" && break
|
---|
| 325 | done
|
---|
| 326 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 327 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
[24874] | 328 |
|
---|
[25149] | 329 |
|
---|
[26565] | 330 | } # as_fn_mkdir_p
|
---|
| 331 | # as_fn_append VAR VALUE
|
---|
| 332 | # ----------------------
|
---|
| 333 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 334 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 335 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 336 | # implementations.
|
---|
| 337 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 338 | eval 'as_fn_append ()
|
---|
| 339 | {
|
---|
| 340 | eval $1+=\$2
|
---|
| 341 | }'
|
---|
| 342 | else
|
---|
| 343 | as_fn_append ()
|
---|
| 344 | {
|
---|
| 345 | eval $1=\$$1\$2
|
---|
| 346 | }
|
---|
| 347 | fi # as_fn_append
|
---|
[25149] | 348 |
|
---|
[26565] | 349 | # as_fn_arith ARG...
|
---|
| 350 | # ------------------
|
---|
| 351 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 352 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 353 | # must be portable across $(()) and expr.
|
---|
| 354 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 355 | eval 'as_fn_arith ()
|
---|
| 356 | {
|
---|
| 357 | as_val=$(( $* ))
|
---|
| 358 | }'
|
---|
| 359 | else
|
---|
| 360 | as_fn_arith ()
|
---|
| 361 | {
|
---|
| 362 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 363 | }
|
---|
| 364 | fi # as_fn_arith
|
---|
[25149] | 365 |
|
---|
| 366 |
|
---|
[26565] | 367 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 368 | # ----------------------------------------
|
---|
| 369 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 370 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 371 | # script with STATUS, using 1 if that was 0.
|
---|
| 372 | as_fn_error ()
|
---|
| 373 | {
|
---|
| 374 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 375 | if test "$4"; then
|
---|
| 376 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 377 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 378 | fi
|
---|
| 379 | $as_echo "$as_me: error: $2" >&2
|
---|
| 380 | as_fn_exit $as_status
|
---|
| 381 | } # as_fn_error
|
---|
[25149] | 382 |
|
---|
[26565] | 383 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 384 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 385 | as_expr=expr
|
---|
[25149] | 386 | else
|
---|
[26565] | 387 | as_expr=false
|
---|
[25149] | 388 | fi
|
---|
| 389 |
|
---|
[26565] | 390 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
| 391 | as_basename=basename
|
---|
[25149] | 392 | else
|
---|
[26565] | 393 | as_basename=false
|
---|
[25149] | 394 | fi
|
---|
| 395 |
|
---|
[26565] | 396 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 397 | as_dirname=dirname
|
---|
[25149] | 398 | else
|
---|
[26565] | 399 | as_dirname=false
|
---|
[25149] | 400 | fi
|
---|
| 401 |
|
---|
[26565] | 402 | as_me=`$as_basename -- "$0" ||
|
---|
| 403 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 404 | X"$0" : 'X\(//\)$' \| \
|
---|
| 405 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 406 | $as_echo X/"$0" |
|
---|
| 407 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 408 | s//\1/
|
---|
| 409 | q
|
---|
| 410 | }
|
---|
| 411 | /^X\/\(\/\/\)$/{
|
---|
| 412 | s//\1/
|
---|
| 413 | q
|
---|
| 414 | }
|
---|
| 415 | /^X\/\(\/\).*/{
|
---|
| 416 | s//\1/
|
---|
| 417 | q
|
---|
| 418 | }
|
---|
| 419 | s/.*/./; q'`
|
---|
[25149] | 420 |
|
---|
[26565] | 421 | # Avoid depending upon Character Ranges.
|
---|
| 422 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 423 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 424 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 425 | as_cr_digits='0123456789'
|
---|
| 426 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[25149] | 427 |
|
---|
| 428 |
|
---|
[26565] | 429 | as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
---|
| 430 | as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
---|
| 431 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
---|
| 432 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
---|
| 433 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
[25149] | 434 | sed -n '
|
---|
| 435 | p
|
---|
| 436 | /[$]LINENO/=
|
---|
| 437 | ' <$as_myself |
|
---|
[16566] | 438 | sed '
|
---|
[25149] | 439 | s/[$]LINENO.*/&-/
|
---|
| 440 | t lineno
|
---|
| 441 | b
|
---|
| 442 | :lineno
|
---|
[16566] | 443 | N
|
---|
[25149] | 444 | :loop
|
---|
| 445 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16566] | 446 | t loop
|
---|
[25149] | 447 | s/-\n.*//
|
---|
[16566] | 448 | ' >$as_me.lineno &&
|
---|
[25149] | 449 | chmod +x "$as_me.lineno" ||
|
---|
[26565] | 450 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
---|
[16566] | 451 |
|
---|
| 452 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 453 | # (the dirname of $[0] is not the place where we might find the
|
---|
[25149] | 454 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 455 | . "./$as_me.lineno"
|
---|
[16566] | 456 | # Exit status is that of the last command.
|
---|
| 457 | exit
|
---|
| 458 | }
|
---|
| 459 |
|
---|
[25149] | 460 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[26565] | 461 | case `echo -n x` in #(((((
|
---|
[25149] | 462 | -n*)
|
---|
[26565] | 463 | case `echo 'xy\c'` in
|
---|
[25149] | 464 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[26565] | 465 | xy) ECHO_C='\c';;
|
---|
| 466 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 467 | ECHO_T=' ';;
|
---|
[25149] | 468 | esac;;
|
---|
| 469 | *)
|
---|
| 470 | ECHO_N='-n';;
|
---|
[16566] | 471 | esac
|
---|
[24874] | 472 |
|
---|
| 473 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[25149] | 474 | if test -d conf$$.dir; then
|
---|
| 475 | rm -f conf$$.dir/conf$$.file
|
---|
| 476 | else
|
---|
| 477 | rm -f conf$$.dir
|
---|
| 478 | mkdir conf$$.dir 2>/dev/null
|
---|
| 479 | fi
|
---|
| 480 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 481 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 482 | as_ln_s='ln -s'
|
---|
| 483 | # ... but there are two gotchas:
|
---|
| 484 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 485 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 486 | # In both cases, we have to default to `cp -p'.
|
---|
| 487 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 488 | as_ln_s='cp -p'
|
---|
| 489 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 490 | as_ln_s=ln
|
---|
| 491 | else
|
---|
[24874] | 492 | as_ln_s='cp -p'
|
---|
[21327] | 493 | fi
|
---|
[16566] | 494 | else
|
---|
| 495 | as_ln_s='cp -p'
|
---|
| 496 | fi
|
---|
[25149] | 497 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 498 | rmdir conf$$.dir 2>/dev/null
|
---|
[16566] | 499 |
|
---|
| 500 | if mkdir -p . 2>/dev/null; then
|
---|
[26565] | 501 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16566] | 502 | else
|
---|
| 503 | test -d ./-p && rmdir ./-p
|
---|
| 504 | as_mkdir_p=false
|
---|
| 505 | fi
|
---|
| 506 |
|
---|
[25149] | 507 | if test -x / >/dev/null 2>&1; then
|
---|
| 508 | as_test_x='test -x'
|
---|
| 509 | else
|
---|
| 510 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 511 | as_ls_L_option=L
|
---|
| 512 | else
|
---|
| 513 | as_ls_L_option=
|
---|
| 514 | fi
|
---|
| 515 | as_test_x='
|
---|
| 516 | eval sh -c '\''
|
---|
| 517 | if test -d "$1"; then
|
---|
| 518 | test -d "$1/.";
|
---|
| 519 | else
|
---|
[26565] | 520 | case $1 in #(
|
---|
[25149] | 521 | -*)set "./$1";;
|
---|
| 522 | esac;
|
---|
[26565] | 523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
[25149] | 524 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 525 | '\'' sh
|
---|
| 526 | '
|
---|
| 527 | fi
|
---|
| 528 | as_executable_p=$as_test_x
|
---|
[16566] | 529 |
|
---|
| 530 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 531 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 532 |
|
---|
| 533 | # Sed expression to map a string onto a valid variable name.
|
---|
| 534 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 535 |
|
---|
| 536 |
|
---|
[26565] | 537 | test -n "$DJDIR" || exec 7<&0 </dev/null
|
---|
| 538 | exec 6>&1
|
---|
[16566] | 539 |
|
---|
| 540 | # Name of the host.
|
---|
[26565] | 541 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
---|
[16566] | 542 | # so uname gets run too.
|
---|
| 543 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 544 |
|
---|
| 545 | #
|
---|
| 546 | # Initializations.
|
---|
| 547 | #
|
---|
| 548 | ac_default_prefix=/usr/local
|
---|
[25149] | 549 | ac_clean_files=
|
---|
[16566] | 550 | ac_config_libobj_dir=.
|
---|
[25149] | 551 | LIBOBJS=
|
---|
[16566] | 552 | cross_compiling=no
|
---|
| 553 | subdirs=
|
---|
| 554 | MFLAGS=
|
---|
| 555 | MAKEFLAGS=
|
---|
| 556 |
|
---|
| 557 | # Identity of this package.
|
---|
| 558 | PACKAGE_NAME=
|
---|
| 559 | PACKAGE_TARNAME=
|
---|
| 560 | PACKAGE_VERSION=
|
---|
| 561 | PACKAGE_STRING=
|
---|
| 562 | PACKAGE_BUGREPORT=
|
---|
[26565] | 563 | PACKAGE_URL=
|
---|
[16566] | 564 |
|
---|
| 565 | ac_unique_file="src/lib/text_t.h"
|
---|
| 566 | # Factoring default headers for most tests.
|
---|
| 567 | ac_includes_default="\
|
---|
| 568 | #include <stdio.h>
|
---|
[25149] | 569 | #ifdef HAVE_SYS_TYPES_H
|
---|
[16566] | 570 | # include <sys/types.h>
|
---|
| 571 | #endif
|
---|
[25149] | 572 | #ifdef HAVE_SYS_STAT_H
|
---|
[16566] | 573 | # include <sys/stat.h>
|
---|
| 574 | #endif
|
---|
[25149] | 575 | #ifdef STDC_HEADERS
|
---|
[16566] | 576 | # include <stdlib.h>
|
---|
| 577 | # include <stddef.h>
|
---|
| 578 | #else
|
---|
[25149] | 579 | # ifdef HAVE_STDLIB_H
|
---|
[16566] | 580 | # include <stdlib.h>
|
---|
| 581 | # endif
|
---|
| 582 | #endif
|
---|
[25149] | 583 | #ifdef HAVE_STRING_H
|
---|
| 584 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[16566] | 585 | # include <memory.h>
|
---|
| 586 | # endif
|
---|
| 587 | # include <string.h>
|
---|
| 588 | #endif
|
---|
[25149] | 589 | #ifdef HAVE_STRINGS_H
|
---|
[16566] | 590 | # include <strings.h>
|
---|
| 591 | #endif
|
---|
[25149] | 592 | #ifdef HAVE_INTTYPES_H
|
---|
[16566] | 593 | # include <inttypes.h>
|
---|
| 594 | #endif
|
---|
[25149] | 595 | #ifdef HAVE_STDINT_H
|
---|
| 596 | # include <stdint.h>
|
---|
| 597 | #endif
|
---|
| 598 | #ifdef HAVE_UNISTD_H
|
---|
[16566] | 599 | # include <unistd.h>
|
---|
| 600 | #endif"
|
---|
| 601 |
|
---|
[25149] | 602 | enable_option_checking=no
|
---|
| 603 | ac_subst_vars='LTLIBOBJS
|
---|
| 604 | subdirs
|
---|
| 605 | MODULEDIRS
|
---|
| 606 | gsdlarch
|
---|
| 607 | gsdlos
|
---|
| 608 | STATIC
|
---|
| 609 | LIBOBJS
|
---|
| 610 | ALLOCA
|
---|
| 611 | ANSI2KNR
|
---|
| 612 | U
|
---|
| 613 | EGREP
|
---|
| 614 | GREP
|
---|
| 615 | CPP
|
---|
| 616 | MICO_VER
|
---|
| 617 | ARCH_DEP_FLAGS
|
---|
[26808] | 618 | STRIP
|
---|
[25149] | 619 | RANLIB
|
---|
| 620 | SET_MAKE
|
---|
| 621 | LN_S
|
---|
| 622 | INSTALL_DATA
|
---|
| 623 | INSTALL_SCRIPT
|
---|
| 624 | INSTALL_PROGRAM
|
---|
| 625 | target_os
|
---|
| 626 | target_vendor
|
---|
| 627 | target_cpu
|
---|
| 628 | target
|
---|
| 629 | host_os
|
---|
| 630 | host_vendor
|
---|
| 631 | host_cpu
|
---|
| 632 | host
|
---|
| 633 | build_os
|
---|
| 634 | build_vendor
|
---|
| 635 | build_cpu
|
---|
| 636 | build
|
---|
| 637 | YFLAGS
|
---|
| 638 | YACC
|
---|
| 639 | AWK
|
---|
| 640 | JAVACFLAGS
|
---|
| 641 | JAVAC
|
---|
| 642 | uudecode
|
---|
| 643 | JAVA
|
---|
| 644 | ac_ct_CXX
|
---|
| 645 | CXXFLAGS
|
---|
| 646 | CXX
|
---|
| 647 | OBJEXT
|
---|
| 648 | EXEEXT
|
---|
| 649 | ac_ct_CC
|
---|
| 650 | CPPFLAGS
|
---|
| 651 | CC
|
---|
| 652 | CFLAGS
|
---|
| 653 | LDFLAGS
|
---|
| 654 | ENABLE_LUCENE
|
---|
| 655 | ENABLE_MGPP
|
---|
| 656 | ENABLE_MG
|
---|
| 657 | ENABLE_JNI
|
---|
| 658 | USE_SQLITE
|
---|
| 659 | ENABLE_ACCENTFOLD
|
---|
| 660 | USE_GDBM
|
---|
| 661 | USE_JDBM
|
---|
| 662 | ENABLE_JAVA
|
---|
| 663 | USE_YAZ
|
---|
| 664 | USE_Z3950
|
---|
| 665 | MICO_DIR
|
---|
| 666 | USE_CORBA
|
---|
| 667 | USE_LANGACTION
|
---|
| 668 | USE_FASTCGI
|
---|
| 669 | VERSION
|
---|
| 670 | PACKAGE
|
---|
| 671 | target_alias
|
---|
| 672 | host_alias
|
---|
| 673 | build_alias
|
---|
| 674 | LIBS
|
---|
| 675 | ECHO_T
|
---|
| 676 | ECHO_N
|
---|
| 677 | ECHO_C
|
---|
| 678 | DEFS
|
---|
| 679 | mandir
|
---|
| 680 | localedir
|
---|
| 681 | libdir
|
---|
| 682 | psdir
|
---|
| 683 | pdfdir
|
---|
| 684 | dvidir
|
---|
| 685 | htmldir
|
---|
| 686 | infodir
|
---|
| 687 | docdir
|
---|
| 688 | oldincludedir
|
---|
| 689 | includedir
|
---|
| 690 | localstatedir
|
---|
| 691 | sharedstatedir
|
---|
| 692 | sysconfdir
|
---|
| 693 | datadir
|
---|
| 694 | datarootdir
|
---|
| 695 | libexecdir
|
---|
| 696 | sbindir
|
---|
| 697 | bindir
|
---|
| 698 | program_transform_name
|
---|
| 699 | prefix
|
---|
| 700 | exec_prefix
|
---|
[26565] | 701 | PACKAGE_URL
|
---|
[25149] | 702 | PACKAGE_BUGREPORT
|
---|
| 703 | PACKAGE_STRING
|
---|
| 704 | PACKAGE_VERSION
|
---|
| 705 | PACKAGE_TARNAME
|
---|
| 706 | PACKAGE_NAME
|
---|
| 707 | PATH_SEPARATOR
|
---|
| 708 | SHELL'
|
---|
[16566] | 709 | ac_subst_files=''
|
---|
[25149] | 710 | ac_user_opts='
|
---|
| 711 | enable_option_checking
|
---|
| 712 | enable_corba
|
---|
| 713 | with_micodir
|
---|
| 714 | enable_z3950
|
---|
| 715 | enable_yaz
|
---|
| 716 | enable_java
|
---|
| 717 | enable_jdbm
|
---|
| 718 | enable_gdbm
|
---|
| 719 | enable_accentfold
|
---|
| 720 | enable_sqlite
|
---|
| 721 | enable_jni
|
---|
| 722 | enable_mg
|
---|
| 723 | enable_mgpp
|
---|
| 724 | enable_lucene
|
---|
| 725 | with_dmalloc
|
---|
| 726 | with_regex
|
---|
| 727 | '
|
---|
| 728 | ac_precious_vars='build_alias
|
---|
| 729 | host_alias
|
---|
| 730 | target_alias
|
---|
| 731 | CC
|
---|
| 732 | CFLAGS
|
---|
| 733 | LDFLAGS
|
---|
| 734 | LIBS
|
---|
| 735 | CPPFLAGS
|
---|
| 736 | CXX
|
---|
| 737 | CXXFLAGS
|
---|
| 738 | CCC
|
---|
| 739 | YACC
|
---|
| 740 | YFLAGS
|
---|
| 741 | CPP'
|
---|
| 742 | ac_subdirs_all='packages
|
---|
| 743 | indexers'
|
---|
[16566] | 744 |
|
---|
| 745 | # Initialize some variables set by options.
|
---|
| 746 | ac_init_help=
|
---|
| 747 | ac_init_version=false
|
---|
[25149] | 748 | ac_unrecognized_opts=
|
---|
| 749 | ac_unrecognized_sep=
|
---|
[16566] | 750 | # The variables have the same names as the options, with
|
---|
| 751 | # dashes changed to underlines.
|
---|
| 752 | cache_file=/dev/null
|
---|
| 753 | exec_prefix=NONE
|
---|
| 754 | no_create=
|
---|
| 755 | no_recursion=
|
---|
| 756 | prefix=NONE
|
---|
| 757 | program_prefix=NONE
|
---|
| 758 | program_suffix=NONE
|
---|
| 759 | program_transform_name=s,x,x,
|
---|
| 760 | silent=
|
---|
| 761 | site=
|
---|
| 762 | srcdir=
|
---|
| 763 | verbose=
|
---|
| 764 | x_includes=NONE
|
---|
| 765 | x_libraries=NONE
|
---|
| 766 |
|
---|
| 767 | # Installation directory options.
|
---|
| 768 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 769 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 770 | # by default will actually change.
|
---|
| 771 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[25149] | 772 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[16566] | 773 | bindir='${exec_prefix}/bin'
|
---|
| 774 | sbindir='${exec_prefix}/sbin'
|
---|
| 775 | libexecdir='${exec_prefix}/libexec'
|
---|
[25149] | 776 | datarootdir='${prefix}/share'
|
---|
| 777 | datadir='${datarootdir}'
|
---|
[16566] | 778 | sysconfdir='${prefix}/etc'
|
---|
| 779 | sharedstatedir='${prefix}/com'
|
---|
| 780 | localstatedir='${prefix}/var'
|
---|
| 781 | includedir='${prefix}/include'
|
---|
| 782 | oldincludedir='/usr/include'
|
---|
[25149] | 783 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 784 | infodir='${datarootdir}/info'
|
---|
| 785 | htmldir='${docdir}'
|
---|
| 786 | dvidir='${docdir}'
|
---|
| 787 | pdfdir='${docdir}'
|
---|
| 788 | psdir='${docdir}'
|
---|
| 789 | libdir='${exec_prefix}/lib'
|
---|
| 790 | localedir='${datarootdir}/locale'
|
---|
| 791 | mandir='${datarootdir}/man'
|
---|
[16566] | 792 |
|
---|
| 793 | ac_prev=
|
---|
[25149] | 794 | ac_dashdash=
|
---|
[16566] | 795 | for ac_option
|
---|
| 796 | do
|
---|
| 797 | # If the previous option needs an argument, assign it.
|
---|
| 798 | if test -n "$ac_prev"; then
|
---|
[25149] | 799 | eval $ac_prev=\$ac_option
|
---|
[16566] | 800 | ac_prev=
|
---|
| 801 | continue
|
---|
| 802 | fi
|
---|
| 803 |
|
---|
[25149] | 804 | case $ac_option in
|
---|
[26565] | 805 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 806 | *=) ac_optarg= ;;
|
---|
| 807 | *) ac_optarg=yes ;;
|
---|
[25149] | 808 | esac
|
---|
[16566] | 809 |
|
---|
| 810 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 811 |
|
---|
[25149] | 812 | case $ac_dashdash$ac_option in
|
---|
| 813 | --)
|
---|
| 814 | ac_dashdash=yes ;;
|
---|
[16566] | 815 |
|
---|
| 816 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 817 | ac_prev=bindir ;;
|
---|
| 818 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 819 | bindir=$ac_optarg ;;
|
---|
| 820 |
|
---|
| 821 | -build | --build | --buil | --bui | --bu)
|
---|
| 822 | ac_prev=build_alias ;;
|
---|
| 823 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 824 | build_alias=$ac_optarg ;;
|
---|
| 825 |
|
---|
| 826 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 827 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 828 | ac_prev=cache_file ;;
|
---|
| 829 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 830 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 831 | cache_file=$ac_optarg ;;
|
---|
| 832 |
|
---|
| 833 | --config-cache | -C)
|
---|
| 834 | cache_file=config.cache ;;
|
---|
| 835 |
|
---|
[25149] | 836 | -datadir | --datadir | --datadi | --datad)
|
---|
[16566] | 837 | ac_prev=datadir ;;
|
---|
[25149] | 838 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[16566] | 839 | datadir=$ac_optarg ;;
|
---|
| 840 |
|
---|
[25149] | 841 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 842 | | --dataroo | --dataro | --datar)
|
---|
| 843 | ac_prev=datarootdir ;;
|
---|
| 844 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 845 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 846 | datarootdir=$ac_optarg ;;
|
---|
| 847 |
|
---|
[16566] | 848 | -disable-* | --disable-*)
|
---|
[25149] | 849 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[16566] | 850 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 851 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 852 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[25149] | 853 | ac_useropt_orig=$ac_useropt
|
---|
| 854 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 855 | case $ac_user_opts in
|
---|
| 856 | *"
|
---|
| 857 | "enable_$ac_useropt"
|
---|
| 858 | "*) ;;
|
---|
| 859 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 860 | ac_unrecognized_sep=', ';;
|
---|
| 861 | esac
|
---|
| 862 | eval enable_$ac_useropt=no ;;
|
---|
[16566] | 863 |
|
---|
[25149] | 864 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 865 | ac_prev=docdir ;;
|
---|
| 866 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 867 | docdir=$ac_optarg ;;
|
---|
| 868 |
|
---|
| 869 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 870 | ac_prev=dvidir ;;
|
---|
| 871 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 872 | dvidir=$ac_optarg ;;
|
---|
| 873 |
|
---|
[16566] | 874 | -enable-* | --enable-*)
|
---|
[25149] | 875 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[16566] | 876 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 877 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 878 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[25149] | 879 | ac_useropt_orig=$ac_useropt
|
---|
| 880 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 881 | case $ac_user_opts in
|
---|
| 882 | *"
|
---|
| 883 | "enable_$ac_useropt"
|
---|
| 884 | "*) ;;
|
---|
| 885 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 886 | ac_unrecognized_sep=', ';;
|
---|
[21327] | 887 | esac
|
---|
[25149] | 888 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[16566] | 889 |
|
---|
| 890 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 891 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 892 | | --exec | --exe | --ex)
|
---|
| 893 | ac_prev=exec_prefix ;;
|
---|
| 894 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 895 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 896 | | --exec=* | --exe=* | --ex=*)
|
---|
| 897 | exec_prefix=$ac_optarg ;;
|
---|
| 898 |
|
---|
| 899 | -gas | --gas | --ga | --g)
|
---|
| 900 | # Obsolete; use --with-gas.
|
---|
| 901 | with_gas=yes ;;
|
---|
| 902 |
|
---|
| 903 | -help | --help | --hel | --he | -h)
|
---|
| 904 | ac_init_help=long ;;
|
---|
| 905 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 906 | ac_init_help=recursive ;;
|
---|
| 907 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 908 | ac_init_help=short ;;
|
---|
| 909 |
|
---|
| 910 | -host | --host | --hos | --ho)
|
---|
| 911 | ac_prev=host_alias ;;
|
---|
| 912 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 913 | host_alias=$ac_optarg ;;
|
---|
| 914 |
|
---|
[25149] | 915 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 916 | ac_prev=htmldir ;;
|
---|
| 917 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 918 | | --ht=*)
|
---|
| 919 | htmldir=$ac_optarg ;;
|
---|
| 920 |
|
---|
[16566] | 921 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 922 | | --includ | --inclu | --incl | --inc)
|
---|
| 923 | ac_prev=includedir ;;
|
---|
| 924 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 925 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 926 | includedir=$ac_optarg ;;
|
---|
| 927 |
|
---|
| 928 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 929 | ac_prev=infodir ;;
|
---|
| 930 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 931 | infodir=$ac_optarg ;;
|
---|
| 932 |
|
---|
| 933 | -libdir | --libdir | --libdi | --libd)
|
---|
| 934 | ac_prev=libdir ;;
|
---|
| 935 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 936 | libdir=$ac_optarg ;;
|
---|
| 937 |
|
---|
| 938 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 939 | | --libexe | --libex | --libe)
|
---|
| 940 | ac_prev=libexecdir ;;
|
---|
| 941 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 942 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 943 | libexecdir=$ac_optarg ;;
|
---|
| 944 |
|
---|
[25149] | 945 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 946 | ac_prev=localedir ;;
|
---|
| 947 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 948 | localedir=$ac_optarg ;;
|
---|
| 949 |
|
---|
[16566] | 950 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[25149] | 951 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[16566] | 952 | ac_prev=localstatedir ;;
|
---|
| 953 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[25149] | 954 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[16566] | 955 | localstatedir=$ac_optarg ;;
|
---|
| 956 |
|
---|
| 957 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 958 | ac_prev=mandir ;;
|
---|
| 959 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 960 | mandir=$ac_optarg ;;
|
---|
| 961 |
|
---|
| 962 | -nfp | --nfp | --nf)
|
---|
| 963 | # Obsolete; use --without-fp.
|
---|
| 964 | with_fp=no ;;
|
---|
| 965 |
|
---|
| 966 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 967 | | --no-cr | --no-c | -n)
|
---|
| 968 | no_create=yes ;;
|
---|
| 969 |
|
---|
| 970 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 971 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 972 | no_recursion=yes ;;
|
---|
| 973 |
|
---|
| 974 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 975 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 976 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 977 | ac_prev=oldincludedir ;;
|
---|
| 978 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 979 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 980 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 981 | oldincludedir=$ac_optarg ;;
|
---|
| 982 |
|
---|
| 983 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 984 | ac_prev=prefix ;;
|
---|
| 985 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 986 | prefix=$ac_optarg ;;
|
---|
| 987 |
|
---|
| 988 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 989 | | --program-pre | --program-pr | --program-p)
|
---|
| 990 | ac_prev=program_prefix ;;
|
---|
| 991 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 992 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 993 | program_prefix=$ac_optarg ;;
|
---|
| 994 |
|
---|
| 995 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 996 | | --program-suf | --program-su | --program-s)
|
---|
| 997 | ac_prev=program_suffix ;;
|
---|
| 998 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 999 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 1000 | program_suffix=$ac_optarg ;;
|
---|
| 1001 |
|
---|
| 1002 | -program-transform-name | --program-transform-name \
|
---|
| 1003 | | --program-transform-nam | --program-transform-na \
|
---|
| 1004 | | --program-transform-n | --program-transform- \
|
---|
| 1005 | | --program-transform | --program-transfor \
|
---|
| 1006 | | --program-transfo | --program-transf \
|
---|
| 1007 | | --program-trans | --program-tran \
|
---|
| 1008 | | --progr-tra | --program-tr | --program-t)
|
---|
| 1009 | ac_prev=program_transform_name ;;
|
---|
| 1010 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 1011 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1012 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1013 | | --program-transform=* | --program-transfor=* \
|
---|
| 1014 | | --program-transfo=* | --program-transf=* \
|
---|
| 1015 | | --program-trans=* | --program-tran=* \
|
---|
| 1016 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 1017 | program_transform_name=$ac_optarg ;;
|
---|
| 1018 |
|
---|
[25149] | 1019 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1020 | ac_prev=pdfdir ;;
|
---|
| 1021 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1022 | pdfdir=$ac_optarg ;;
|
---|
| 1023 |
|
---|
| 1024 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1025 | ac_prev=psdir ;;
|
---|
| 1026 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1027 | psdir=$ac_optarg ;;
|
---|
| 1028 |
|
---|
[16566] | 1029 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1030 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1031 | silent=yes ;;
|
---|
| 1032 |
|
---|
| 1033 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1034 | ac_prev=sbindir ;;
|
---|
| 1035 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1036 | | --sbi=* | --sb=*)
|
---|
| 1037 | sbindir=$ac_optarg ;;
|
---|
| 1038 |
|
---|
| 1039 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1040 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1041 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1042 | | --sha | --sh)
|
---|
| 1043 | ac_prev=sharedstatedir ;;
|
---|
| 1044 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1045 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1046 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1047 | | --sha=* | --sh=*)
|
---|
| 1048 | sharedstatedir=$ac_optarg ;;
|
---|
| 1049 |
|
---|
| 1050 | -site | --site | --sit)
|
---|
| 1051 | ac_prev=site ;;
|
---|
| 1052 | -site=* | --site=* | --sit=*)
|
---|
| 1053 | site=$ac_optarg ;;
|
---|
| 1054 |
|
---|
| 1055 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1056 | ac_prev=srcdir ;;
|
---|
| 1057 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1058 | srcdir=$ac_optarg ;;
|
---|
| 1059 |
|
---|
| 1060 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1061 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1062 | ac_prev=sysconfdir ;;
|
---|
| 1063 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1064 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1065 | sysconfdir=$ac_optarg ;;
|
---|
| 1066 |
|
---|
| 1067 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1068 | ac_prev=target_alias ;;
|
---|
| 1069 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1070 | target_alias=$ac_optarg ;;
|
---|
| 1071 |
|
---|
| 1072 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1073 | verbose=yes ;;
|
---|
| 1074 |
|
---|
| 1075 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1076 | ac_init_version=: ;;
|
---|
| 1077 |
|
---|
| 1078 | -with-* | --with-*)
|
---|
[25149] | 1079 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[16566] | 1080 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 1081 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 1082 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[25149] | 1083 | ac_useropt_orig=$ac_useropt
|
---|
| 1084 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1085 | case $ac_user_opts in
|
---|
| 1086 | *"
|
---|
| 1087 | "with_$ac_useropt"
|
---|
| 1088 | "*) ;;
|
---|
| 1089 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1090 | ac_unrecognized_sep=', ';;
|
---|
[21327] | 1091 | esac
|
---|
[25149] | 1092 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[16566] | 1093 |
|
---|
| 1094 | -without-* | --without-*)
|
---|
[25149] | 1095 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[16566] | 1096 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 1097 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 1098 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[25149] | 1099 | ac_useropt_orig=$ac_useropt
|
---|
| 1100 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1101 | case $ac_user_opts in
|
---|
| 1102 | *"
|
---|
| 1103 | "with_$ac_useropt"
|
---|
| 1104 | "*) ;;
|
---|
| 1105 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1106 | ac_unrecognized_sep=', ';;
|
---|
| 1107 | esac
|
---|
| 1108 | eval with_$ac_useropt=no ;;
|
---|
[16566] | 1109 |
|
---|
| 1110 | --x)
|
---|
| 1111 | # Obsolete; use --with-x.
|
---|
| 1112 | with_x=yes ;;
|
---|
| 1113 |
|
---|
| 1114 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1115 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1116 | ac_prev=x_includes ;;
|
---|
| 1117 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1118 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1119 | x_includes=$ac_optarg ;;
|
---|
| 1120 |
|
---|
| 1121 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1122 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1123 | ac_prev=x_libraries ;;
|
---|
| 1124 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1125 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1126 | x_libraries=$ac_optarg ;;
|
---|
| 1127 |
|
---|
[26565] | 1128 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1129 | Try \`$0 --help' for more information"
|
---|
[16566] | 1130 | ;;
|
---|
| 1131 |
|
---|
| 1132 | *=*)
|
---|
| 1133 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1134 | # Reject names that are not valid shell variable names.
|
---|
[26565] | 1135 | case $ac_envvar in #(
|
---|
| 1136 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
| 1137 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
| 1138 | esac
|
---|
[25149] | 1139 | eval $ac_envvar=\$ac_optarg
|
---|
[16566] | 1140 | export $ac_envvar ;;
|
---|
| 1141 |
|
---|
| 1142 | *)
|
---|
| 1143 | # FIXME: should be removed in autoconf 3.0.
|
---|
[25149] | 1144 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[16566] | 1145 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[25149] | 1146 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[26565] | 1147 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
---|
[16566] | 1148 | ;;
|
---|
| 1149 |
|
---|
| 1150 | esac
|
---|
| 1151 | done
|
---|
| 1152 |
|
---|
| 1153 | if test -n "$ac_prev"; then
|
---|
| 1154 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[26565] | 1155 | as_fn_error $? "missing argument to $ac_option"
|
---|
[16566] | 1156 | fi
|
---|
| 1157 |
|
---|
[25149] | 1158 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1159 | case $enable_option_checking in
|
---|
| 1160 | no) ;;
|
---|
[26565] | 1161 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
[25149] | 1162 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[16566] | 1163 | esac
|
---|
[25149] | 1164 | fi
|
---|
[16566] | 1165 |
|
---|
[25149] | 1166 | # Check all directory arguments for consistency.
|
---|
| 1167 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1168 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1169 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1170 | libdir localedir mandir
|
---|
[21327] | 1171 | do
|
---|
[25149] | 1172 | eval ac_val=\$$ac_var
|
---|
| 1173 | # Remove trailing slashes.
|
---|
[21327] | 1174 | case $ac_val in
|
---|
[25149] | 1175 | */ )
|
---|
| 1176 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1177 | eval $ac_var=\$ac_val;;
|
---|
[21327] | 1178 | esac
|
---|
[25149] | 1179 | # Be sure to have absolute directory names.
|
---|
| 1180 | case $ac_val in
|
---|
| 1181 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1182 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1183 | esac
|
---|
[26565] | 1184 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
[21327] | 1185 | done
|
---|
| 1186 |
|
---|
[16566] | 1187 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1188 | # used to hold the argument of --host etc.
|
---|
| 1189 | # FIXME: To remove some day.
|
---|
| 1190 | build=$build_alias
|
---|
| 1191 | host=$host_alias
|
---|
| 1192 | target=$target_alias
|
---|
| 1193 |
|
---|
| 1194 | # FIXME: To remove some day.
|
---|
| 1195 | if test "x$host_alias" != x; then
|
---|
| 1196 | if test "x$build_alias" = x; then
|
---|
| 1197 | cross_compiling=maybe
|
---|
[26565] | 1198 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
---|
| 1199 | If a cross compiler is detected then cross compile mode will be used" >&2
|
---|
[16566] | 1200 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1201 | cross_compiling=yes
|
---|
| 1202 | fi
|
---|
| 1203 | fi
|
---|
| 1204 |
|
---|
| 1205 | ac_tool_prefix=
|
---|
| 1206 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1207 |
|
---|
| 1208 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1209 |
|
---|
| 1210 |
|
---|
[25149] | 1211 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1212 | ac_ls_di=`ls -di .` &&
|
---|
| 1213 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
[26565] | 1214 | as_fn_error $? "working directory cannot be determined"
|
---|
[25149] | 1215 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
[26565] | 1216 | as_fn_error $? "pwd does not report name of working directory"
|
---|
[25149] | 1217 |
|
---|
| 1218 |
|
---|
[16566] | 1219 | # Find the source files, if location was not specified.
|
---|
| 1220 | if test -z "$srcdir"; then
|
---|
| 1221 | ac_srcdir_defaulted=yes
|
---|
[25149] | 1222 | # Try the directory containing this script, then the parent directory.
|
---|
| 1223 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1224 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1225 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1226 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1227 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1228 | $as_echo X"$as_myself" |
|
---|
| 1229 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1230 | s//\1/
|
---|
| 1231 | q
|
---|
| 1232 | }
|
---|
| 1233 | /^X\(\/\/\)[^/].*/{
|
---|
| 1234 | s//\1/
|
---|
| 1235 | q
|
---|
| 1236 | }
|
---|
| 1237 | /^X\(\/\/\)$/{
|
---|
| 1238 | s//\1/
|
---|
| 1239 | q
|
---|
| 1240 | }
|
---|
| 1241 | /^X\(\/\).*/{
|
---|
| 1242 | s//\1/
|
---|
| 1243 | q
|
---|
| 1244 | }
|
---|
| 1245 | s/.*/./; q'`
|
---|
[16566] | 1246 | srcdir=$ac_confdir
|
---|
[25149] | 1247 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[16566] | 1248 | srcdir=..
|
---|
| 1249 | fi
|
---|
| 1250 | else
|
---|
| 1251 | ac_srcdir_defaulted=no
|
---|
| 1252 | fi
|
---|
[25149] | 1253 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1254 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
[26565] | 1255 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
[25149] | 1256 | fi
|
---|
| 1257 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1258 | ac_abs_confdir=`(
|
---|
[26565] | 1259 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
[25149] | 1260 | pwd)`
|
---|
| 1261 | # When building in place, set srcdir=.
|
---|
| 1262 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1263 | srcdir=.
|
---|
[20846] | 1264 | fi
|
---|
[25149] | 1265 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1266 | # Double slashes in file names in object file debugging info
|
---|
| 1267 | # mess up M-x gdb in Emacs.
|
---|
| 1268 | case $srcdir in
|
---|
| 1269 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1270 | esac
|
---|
| 1271 | for ac_var in $ac_precious_vars; do
|
---|
| 1272 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1273 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1274 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1275 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1276 | done
|
---|
[16566] | 1277 |
|
---|
| 1278 | #
|
---|
| 1279 | # Report the --help message.
|
---|
| 1280 | #
|
---|
| 1281 | if test "$ac_init_help" = "long"; then
|
---|
| 1282 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1283 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1284 | cat <<_ACEOF
|
---|
| 1285 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1286 |
|
---|
| 1287 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1288 |
|
---|
| 1289 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1290 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1291 |
|
---|
| 1292 | Defaults for the options are specified in brackets.
|
---|
| 1293 |
|
---|
| 1294 | Configuration:
|
---|
| 1295 | -h, --help display this help and exit
|
---|
| 1296 | --help=short display options specific to this package
|
---|
| 1297 | --help=recursive display the short help of all the included packages
|
---|
| 1298 | -V, --version display version information and exit
|
---|
[26565] | 1299 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
[16566] | 1300 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1301 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1302 | -n, --no-create do not create output files
|
---|
| 1303 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1304 |
|
---|
| 1305 | Installation directories:
|
---|
| 1306 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[25149] | 1307 | [$ac_default_prefix]
|
---|
[16566] | 1308 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[25149] | 1309 | [PREFIX]
|
---|
[16566] | 1310 |
|
---|
| 1311 | By default, \`make install' will install all the files in
|
---|
| 1312 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1313 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1314 | for instance \`--prefix=\$HOME'.
|
---|
| 1315 |
|
---|
| 1316 | For better control, use the options below.
|
---|
| 1317 |
|
---|
| 1318 | Fine tuning of the installation directories:
|
---|
[25149] | 1319 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1320 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1321 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1322 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1323 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1324 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1325 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1326 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1327 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1328 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1329 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1330 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1331 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1332 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1333 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1334 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1335 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1336 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1337 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[16566] | 1338 | _ACEOF
|
---|
| 1339 |
|
---|
| 1340 | cat <<\_ACEOF
|
---|
| 1341 |
|
---|
| 1342 | System types:
|
---|
| 1343 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1344 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1345 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1346 | _ACEOF
|
---|
| 1347 | fi
|
---|
| 1348 |
|
---|
| 1349 | if test -n "$ac_init_help"; then
|
---|
| 1350 |
|
---|
| 1351 | cat <<\_ACEOF
|
---|
| 1352 |
|
---|
| 1353 | Optional Features:
|
---|
[25149] | 1354 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
[16566] | 1355 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1356 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1357 | --enable-corba Enable CORBA support
|
---|
| 1358 | --enable-z3950 Enable Z39.50 client support
|
---|
| 1359 | --disable-yaz Disable YAZ compilation
|
---|
[23356] | 1360 | --disable-java Disable Java compilation
|
---|
[22058] | 1361 | --disable-jdbm Disable JDBM compilation
|
---|
| 1362 | --disable-gdbm Disable GDBM compilation
|
---|
[16566] | 1363 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
| 1364 | --disable-sqlite Disable SQLite support
|
---|
[21365] | 1365 | --enable-jni Enable JNI compilation
|
---|
[21327] | 1366 | --disable-mg Disable MG compilation
|
---|
| 1367 | --disable-mgpp Disable MGPP compilation
|
---|
| 1368 | --disable-lucene Disable Lucene compilation
|
---|
[16566] | 1369 |
|
---|
| 1370 | Optional Packages:
|
---|
| 1371 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1372 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1373 | --with-micodir Use installed MICO directory
|
---|
| 1374 | --with-dmalloc use dmalloc, as in
|
---|
| 1375 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1376 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1377 |
|
---|
| 1378 | Some influential environment variables:
|
---|
| 1379 | CC C compiler command
|
---|
| 1380 | CFLAGS C compiler flags
|
---|
| 1381 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1382 | nonstandard directory <lib dir>
|
---|
[25149] | 1383 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
[26565] | 1384 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
[25149] | 1385 | you have headers in a nonstandard directory <include dir>
|
---|
[16566] | 1386 | CXX C++ compiler command
|
---|
| 1387 | CXXFLAGS C++ compiler flags
|
---|
[26565] | 1388 | YACC The `Yet Another Compiler Compiler' implementation to use.
|
---|
| 1389 | Defaults to the first program found out of: `bison -y', `byacc',
|
---|
| 1390 | `yacc'.
|
---|
[25149] | 1391 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1392 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1393 | default value of `-d' given by some make applications.
|
---|
[16566] | 1394 | CPP C preprocessor
|
---|
| 1395 |
|
---|
| 1396 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1397 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1398 |
|
---|
[26565] | 1399 | Report bugs to the package provider.
|
---|
[16566] | 1400 | _ACEOF
|
---|
[25149] | 1401 | ac_status=$?
|
---|
[16566] | 1402 | fi
|
---|
| 1403 |
|
---|
| 1404 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1405 | # If there are subdirs, report their specific --help.
|
---|
| 1406 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[25149] | 1407 | test -d "$ac_dir" ||
|
---|
| 1408 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1409 | continue
|
---|
[16566] | 1410 | ac_builddir=.
|
---|
| 1411 |
|
---|
[25149] | 1412 | case "$ac_dir" in
|
---|
| 1413 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1414 | *)
|
---|
| 1415 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1416 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1417 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1418 | case $ac_top_builddir_sub in
|
---|
| 1419 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1420 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1421 | esac ;;
|
---|
| 1422 | esac
|
---|
| 1423 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1424 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1425 | # for backward compatibility:
|
---|
| 1426 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 1427 |
|
---|
| 1428 | case $srcdir in
|
---|
[25149] | 1429 | .) # We are building in place.
|
---|
[16566] | 1430 | ac_srcdir=.
|
---|
[25149] | 1431 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1432 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1433 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 1434 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 1435 | ac_top_srcdir=$srcdir
|
---|
| 1436 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1437 | *) # Relative name.
|
---|
| 1438 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1439 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1440 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 1441 | esac
|
---|
[25149] | 1442 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 1443 |
|
---|
[25149] | 1444 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1445 | # Check for guested configure.
|
---|
| 1446 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1447 | echo &&
|
---|
| 1448 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1449 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1450 | echo &&
|
---|
| 1451 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[16566] | 1452 | else
|
---|
[25149] | 1453 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1454 | fi || ac_status=$?
|
---|
| 1455 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[16566] | 1456 | done
|
---|
| 1457 | fi
|
---|
| 1458 |
|
---|
[25149] | 1459 | test -n "$ac_init_help" && exit $ac_status
|
---|
[16566] | 1460 | if $ac_init_version; then
|
---|
| 1461 | cat <<\_ACEOF
|
---|
[25149] | 1462 | configure
|
---|
[26565] | 1463 | generated by GNU Autoconf 2.68
|
---|
[16566] | 1464 |
|
---|
[26565] | 1465 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16566] | 1466 | This configure script is free software; the Free Software Foundation
|
---|
| 1467 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1468 | _ACEOF
|
---|
[25149] | 1469 | exit
|
---|
[16566] | 1470 | fi
|
---|
[26565] | 1471 |
|
---|
| 1472 | ## ------------------------ ##
|
---|
| 1473 | ## Autoconf initialization. ##
|
---|
| 1474 | ## ------------------------ ##
|
---|
| 1475 |
|
---|
| 1476 | # ac_fn_c_try_compile LINENO
|
---|
| 1477 | # --------------------------
|
---|
| 1478 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1479 | ac_fn_c_try_compile ()
|
---|
| 1480 | {
|
---|
| 1481 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1482 | rm -f conftest.$ac_objext
|
---|
| 1483 | if { { ac_try="$ac_compile"
|
---|
| 1484 | case "(($ac_try" in
|
---|
| 1485 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1486 | *) ac_try_echo=$ac_try;;
|
---|
| 1487 | esac
|
---|
| 1488 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1489 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1490 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1491 | ac_status=$?
|
---|
| 1492 | if test -s conftest.err; then
|
---|
| 1493 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1494 | cat conftest.er1 >&5
|
---|
| 1495 | mv -f conftest.er1 conftest.err
|
---|
| 1496 | fi
|
---|
| 1497 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1498 | test $ac_status = 0; } && {
|
---|
| 1499 | test -z "$ac_c_werror_flag" ||
|
---|
| 1500 | test ! -s conftest.err
|
---|
| 1501 | } && test -s conftest.$ac_objext; then :
|
---|
| 1502 | ac_retval=0
|
---|
| 1503 | else
|
---|
| 1504 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1505 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1506 |
|
---|
| 1507 | ac_retval=1
|
---|
| 1508 | fi
|
---|
| 1509 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1510 | as_fn_set_status $ac_retval
|
---|
| 1511 |
|
---|
| 1512 | } # ac_fn_c_try_compile
|
---|
| 1513 |
|
---|
| 1514 | # ac_fn_cxx_try_compile LINENO
|
---|
| 1515 | # ----------------------------
|
---|
| 1516 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1517 | ac_fn_cxx_try_compile ()
|
---|
| 1518 | {
|
---|
| 1519 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1520 | rm -f conftest.$ac_objext
|
---|
| 1521 | if { { ac_try="$ac_compile"
|
---|
| 1522 | case "(($ac_try" in
|
---|
| 1523 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1524 | *) ac_try_echo=$ac_try;;
|
---|
| 1525 | esac
|
---|
| 1526 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1527 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1528 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1529 | ac_status=$?
|
---|
| 1530 | if test -s conftest.err; then
|
---|
| 1531 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1532 | cat conftest.er1 >&5
|
---|
| 1533 | mv -f conftest.er1 conftest.err
|
---|
| 1534 | fi
|
---|
| 1535 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1536 | test $ac_status = 0; } && {
|
---|
| 1537 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 1538 | test ! -s conftest.err
|
---|
| 1539 | } && test -s conftest.$ac_objext; then :
|
---|
| 1540 | ac_retval=0
|
---|
| 1541 | else
|
---|
| 1542 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1543 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1544 |
|
---|
| 1545 | ac_retval=1
|
---|
| 1546 | fi
|
---|
| 1547 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1548 | as_fn_set_status $ac_retval
|
---|
| 1549 |
|
---|
| 1550 | } # ac_fn_cxx_try_compile
|
---|
| 1551 |
|
---|
| 1552 | # ac_fn_c_try_cpp LINENO
|
---|
| 1553 | # ----------------------
|
---|
| 1554 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1555 | ac_fn_c_try_cpp ()
|
---|
| 1556 | {
|
---|
| 1557 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1558 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 1559 | case "(($ac_try" in
|
---|
| 1560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1561 | *) ac_try_echo=$ac_try;;
|
---|
| 1562 | esac
|
---|
| 1563 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1564 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1565 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
| 1566 | ac_status=$?
|
---|
| 1567 | if test -s conftest.err; then
|
---|
| 1568 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1569 | cat conftest.er1 >&5
|
---|
| 1570 | mv -f conftest.er1 conftest.err
|
---|
| 1571 | fi
|
---|
| 1572 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1573 | test $ac_status = 0; } > conftest.i && {
|
---|
| 1574 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 1575 | test ! -s conftest.err
|
---|
| 1576 | }; then :
|
---|
| 1577 | ac_retval=0
|
---|
| 1578 | else
|
---|
| 1579 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1580 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1581 |
|
---|
| 1582 | ac_retval=1
|
---|
| 1583 | fi
|
---|
| 1584 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1585 | as_fn_set_status $ac_retval
|
---|
| 1586 |
|
---|
| 1587 | } # ac_fn_c_try_cpp
|
---|
| 1588 |
|
---|
| 1589 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
---|
| 1590 | # -------------------------------------------------------
|
---|
| 1591 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
---|
| 1592 | # the include files in INCLUDES and setting the cache variable VAR
|
---|
| 1593 | # accordingly.
|
---|
| 1594 | ac_fn_c_check_header_mongrel ()
|
---|
| 1595 | {
|
---|
| 1596 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1597 | if eval \${$3+:} false; then :
|
---|
| 1598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1599 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1600 | if eval \${$3+:} false; then :
|
---|
| 1601 | $as_echo_n "(cached) " >&6
|
---|
| 1602 | fi
|
---|
| 1603 | eval ac_res=\$$3
|
---|
| 1604 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1605 | $as_echo "$ac_res" >&6; }
|
---|
| 1606 | else
|
---|
| 1607 | # Is the header compilable?
|
---|
| 1608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
---|
| 1609 | $as_echo_n "checking $2 usability... " >&6; }
|
---|
| 1610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1611 | /* end confdefs.h. */
|
---|
| 1612 | $4
|
---|
| 1613 | #include <$2>
|
---|
| 1614 | _ACEOF
|
---|
| 1615 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1616 | ac_header_compiler=yes
|
---|
| 1617 | else
|
---|
| 1618 | ac_header_compiler=no
|
---|
| 1619 | fi
|
---|
| 1620 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1621 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
---|
| 1622 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 1623 |
|
---|
| 1624 | # Is the header present?
|
---|
| 1625 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
---|
| 1626 | $as_echo_n "checking $2 presence... " >&6; }
|
---|
| 1627 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1628 | /* end confdefs.h. */
|
---|
| 1629 | #include <$2>
|
---|
| 1630 | _ACEOF
|
---|
| 1631 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 1632 | ac_header_preproc=yes
|
---|
| 1633 | else
|
---|
| 1634 | ac_header_preproc=no
|
---|
| 1635 | fi
|
---|
| 1636 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 1637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
---|
| 1638 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 1639 |
|
---|
| 1640 | # So? What about this header?
|
---|
| 1641 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
---|
| 1642 | yes:no: )
|
---|
| 1643 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 1644 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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 | no:yes:* )
|
---|
| 1649 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
---|
| 1650 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
---|
| 1651 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
---|
| 1652 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
---|
| 1653 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
---|
| 1654 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
---|
| 1655 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 1656 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 1657 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1658 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1659 | ;;
|
---|
| 1660 | esac
|
---|
| 1661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1662 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1663 | if eval \${$3+:} false; then :
|
---|
| 1664 | $as_echo_n "(cached) " >&6
|
---|
| 1665 | else
|
---|
| 1666 | eval "$3=\$ac_header_compiler"
|
---|
| 1667 | fi
|
---|
| 1668 | eval ac_res=\$$3
|
---|
| 1669 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1670 | $as_echo "$ac_res" >&6; }
|
---|
| 1671 | fi
|
---|
| 1672 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1673 |
|
---|
| 1674 | } # ac_fn_c_check_header_mongrel
|
---|
| 1675 |
|
---|
| 1676 | # ac_fn_c_try_run LINENO
|
---|
| 1677 | # ----------------------
|
---|
| 1678 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1679 | # that executables *can* be run.
|
---|
| 1680 | ac_fn_c_try_run ()
|
---|
| 1681 | {
|
---|
| 1682 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1683 | if { { ac_try="$ac_link"
|
---|
| 1684 | case "(($ac_try" in
|
---|
| 1685 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1686 | *) ac_try_echo=$ac_try;;
|
---|
| 1687 | esac
|
---|
| 1688 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1689 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1690 | (eval "$ac_link") 2>&5
|
---|
| 1691 | ac_status=$?
|
---|
| 1692 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1693 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1694 | { { case "(($ac_try" in
|
---|
| 1695 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1696 | *) ac_try_echo=$ac_try;;
|
---|
| 1697 | esac
|
---|
| 1698 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1699 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1700 | (eval "$ac_try") 2>&5
|
---|
| 1701 | ac_status=$?
|
---|
| 1702 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1703 | test $ac_status = 0; }; }; then :
|
---|
| 1704 | ac_retval=0
|
---|
| 1705 | else
|
---|
| 1706 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1707 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1708 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1709 |
|
---|
| 1710 | ac_retval=$ac_status
|
---|
| 1711 | fi
|
---|
| 1712 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1713 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1714 | as_fn_set_status $ac_retval
|
---|
| 1715 |
|
---|
| 1716 | } # ac_fn_c_try_run
|
---|
| 1717 |
|
---|
| 1718 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
| 1719 | # -------------------------------------------------------
|
---|
| 1720 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
| 1721 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
| 1722 | ac_fn_c_check_header_compile ()
|
---|
| 1723 | {
|
---|
| 1724 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1725 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1726 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1727 | if eval \${$3+:} false; then :
|
---|
| 1728 | $as_echo_n "(cached) " >&6
|
---|
| 1729 | else
|
---|
| 1730 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1731 | /* end confdefs.h. */
|
---|
| 1732 | $4
|
---|
| 1733 | #include <$2>
|
---|
| 1734 | _ACEOF
|
---|
| 1735 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1736 | eval "$3=yes"
|
---|
| 1737 | else
|
---|
| 1738 | eval "$3=no"
|
---|
| 1739 | fi
|
---|
| 1740 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1741 | fi
|
---|
| 1742 | eval ac_res=\$$3
|
---|
| 1743 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1744 | $as_echo "$ac_res" >&6; }
|
---|
| 1745 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1746 |
|
---|
| 1747 | } # ac_fn_c_check_header_compile
|
---|
| 1748 |
|
---|
| 1749 | # ac_fn_c_try_link LINENO
|
---|
| 1750 | # -----------------------
|
---|
| 1751 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1752 | ac_fn_c_try_link ()
|
---|
| 1753 | {
|
---|
| 1754 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1755 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 1756 | if { { ac_try="$ac_link"
|
---|
| 1757 | case "(($ac_try" in
|
---|
| 1758 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1759 | *) ac_try_echo=$ac_try;;
|
---|
| 1760 | esac
|
---|
| 1761 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1762 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1763 | (eval "$ac_link") 2>conftest.err
|
---|
| 1764 | ac_status=$?
|
---|
| 1765 | if test -s conftest.err; then
|
---|
| 1766 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1767 | cat conftest.er1 >&5
|
---|
| 1768 | mv -f conftest.er1 conftest.err
|
---|
| 1769 | fi
|
---|
| 1770 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1771 | test $ac_status = 0; } && {
|
---|
| 1772 | test -z "$ac_c_werror_flag" ||
|
---|
| 1773 | test ! -s conftest.err
|
---|
| 1774 | } && test -s conftest$ac_exeext && {
|
---|
| 1775 | test "$cross_compiling" = yes ||
|
---|
| 1776 | $as_test_x conftest$ac_exeext
|
---|
| 1777 | }; then :
|
---|
| 1778 | ac_retval=0
|
---|
| 1779 | else
|
---|
| 1780 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1781 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1782 |
|
---|
| 1783 | ac_retval=1
|
---|
| 1784 | fi
|
---|
| 1785 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
| 1786 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
| 1787 | # interfere with the next link command; also delete a directory that is
|
---|
| 1788 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
| 1789 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1790 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1791 | as_fn_set_status $ac_retval
|
---|
| 1792 |
|
---|
| 1793 | } # ac_fn_c_try_link
|
---|
| 1794 |
|
---|
| 1795 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
---|
| 1796 | # -------------------------------------------
|
---|
| 1797 | # Tests whether TYPE exists after having included INCLUDES, setting cache
|
---|
| 1798 | # variable VAR accordingly.
|
---|
| 1799 | ac_fn_c_check_type ()
|
---|
| 1800 | {
|
---|
| 1801 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1803 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1804 | if eval \${$3+:} false; then :
|
---|
| 1805 | $as_echo_n "(cached) " >&6
|
---|
| 1806 | else
|
---|
| 1807 | eval "$3=no"
|
---|
| 1808 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1809 | /* end confdefs.h. */
|
---|
| 1810 | $4
|
---|
| 1811 | int
|
---|
| 1812 | main ()
|
---|
| 1813 | {
|
---|
| 1814 | if (sizeof ($2))
|
---|
| 1815 | return 0;
|
---|
| 1816 | ;
|
---|
| 1817 | return 0;
|
---|
| 1818 | }
|
---|
| 1819 | _ACEOF
|
---|
| 1820 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1821 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1822 | /* end confdefs.h. */
|
---|
| 1823 | $4
|
---|
| 1824 | int
|
---|
| 1825 | main ()
|
---|
| 1826 | {
|
---|
| 1827 | if (sizeof (($2)))
|
---|
| 1828 | return 0;
|
---|
| 1829 | ;
|
---|
| 1830 | return 0;
|
---|
| 1831 | }
|
---|
| 1832 | _ACEOF
|
---|
| 1833 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1834 |
|
---|
| 1835 | else
|
---|
| 1836 | eval "$3=yes"
|
---|
| 1837 | fi
|
---|
| 1838 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1839 | fi
|
---|
| 1840 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1841 | fi
|
---|
| 1842 | eval ac_res=\$$3
|
---|
| 1843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1844 | $as_echo "$ac_res" >&6; }
|
---|
| 1845 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1846 |
|
---|
| 1847 | } # ac_fn_c_check_type
|
---|
| 1848 |
|
---|
| 1849 | # ac_fn_c_check_func LINENO FUNC VAR
|
---|
| 1850 | # ----------------------------------
|
---|
| 1851 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
---|
| 1852 | ac_fn_c_check_func ()
|
---|
| 1853 | {
|
---|
| 1854 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1855 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1856 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1857 | if eval \${$3+:} false; then :
|
---|
| 1858 | $as_echo_n "(cached) " >&6
|
---|
| 1859 | else
|
---|
| 1860 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1861 | /* end confdefs.h. */
|
---|
| 1862 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
---|
| 1863 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 1864 | #define $2 innocuous_$2
|
---|
| 1865 |
|
---|
| 1866 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 1867 | which can conflict with char $2 (); below.
|
---|
| 1868 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 1869 | <limits.h> exists even on freestanding compilers. */
|
---|
| 1870 |
|
---|
| 1871 | #ifdef __STDC__
|
---|
| 1872 | # include <limits.h>
|
---|
| 1873 | #else
|
---|
| 1874 | # include <assert.h>
|
---|
| 1875 | #endif
|
---|
| 1876 |
|
---|
| 1877 | #undef $2
|
---|
| 1878 |
|
---|
| 1879 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 1880 | Use char because int might match the return type of a GCC
|
---|
| 1881 | builtin and then its argument prototype would still apply. */
|
---|
| 1882 | #ifdef __cplusplus
|
---|
| 1883 | extern "C"
|
---|
| 1884 | #endif
|
---|
| 1885 | char $2 ();
|
---|
| 1886 | /* The GNU C library defines this for functions which it implements
|
---|
| 1887 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 1888 | something starting with __ and the normal name is an alias. */
|
---|
| 1889 | #if defined __stub_$2 || defined __stub___$2
|
---|
| 1890 | choke me
|
---|
| 1891 | #endif
|
---|
| 1892 |
|
---|
| 1893 | int
|
---|
| 1894 | main ()
|
---|
| 1895 | {
|
---|
| 1896 | return $2 ();
|
---|
| 1897 | ;
|
---|
| 1898 | return 0;
|
---|
| 1899 | }
|
---|
| 1900 | _ACEOF
|
---|
| 1901 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 1902 | eval "$3=yes"
|
---|
| 1903 | else
|
---|
| 1904 | eval "$3=no"
|
---|
| 1905 | fi
|
---|
| 1906 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 1907 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 1908 | fi
|
---|
| 1909 | eval ac_res=\$$3
|
---|
| 1910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1911 | $as_echo "$ac_res" >&6; }
|
---|
| 1912 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1913 |
|
---|
| 1914 | } # ac_fn_c_check_func
|
---|
| 1915 |
|
---|
| 1916 | # ac_fn_cxx_try_run LINENO
|
---|
| 1917 | # ------------------------
|
---|
| 1918 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1919 | # that executables *can* be run.
|
---|
| 1920 | ac_fn_cxx_try_run ()
|
---|
| 1921 | {
|
---|
| 1922 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1923 | if { { ac_try="$ac_link"
|
---|
| 1924 | case "(($ac_try" in
|
---|
| 1925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1926 | *) ac_try_echo=$ac_try;;
|
---|
| 1927 | esac
|
---|
| 1928 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1929 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1930 | (eval "$ac_link") 2>&5
|
---|
| 1931 | ac_status=$?
|
---|
| 1932 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1933 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1934 | { { case "(($ac_try" in
|
---|
| 1935 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1936 | *) ac_try_echo=$ac_try;;
|
---|
| 1937 | esac
|
---|
| 1938 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1939 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1940 | (eval "$ac_try") 2>&5
|
---|
| 1941 | ac_status=$?
|
---|
| 1942 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1943 | test $ac_status = 0; }; }; then :
|
---|
| 1944 | ac_retval=0
|
---|
| 1945 | else
|
---|
| 1946 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1947 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1948 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1949 |
|
---|
| 1950 | ac_retval=$ac_status
|
---|
| 1951 | fi
|
---|
| 1952 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1953 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1954 | as_fn_set_status $ac_retval
|
---|
| 1955 |
|
---|
| 1956 | } # ac_fn_cxx_try_run
|
---|
[25149] | 1957 | cat >config.log <<_ACEOF
|
---|
[16566] | 1958 | This file contains any messages produced by compilers while
|
---|
| 1959 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1960 |
|
---|
| 1961 | It was created by $as_me, which was
|
---|
[26565] | 1962 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[16566] | 1963 |
|
---|
| 1964 | $ $0 $@
|
---|
| 1965 |
|
---|
| 1966 | _ACEOF
|
---|
[25149] | 1967 | exec 5>>config.log
|
---|
[16566] | 1968 | {
|
---|
| 1969 | cat <<_ASUNAME
|
---|
| 1970 | ## --------- ##
|
---|
| 1971 | ## Platform. ##
|
---|
| 1972 | ## --------- ##
|
---|
| 1973 |
|
---|
| 1974 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1975 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1976 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1977 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1978 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1979 |
|
---|
| 1980 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1981 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1982 |
|
---|
| 1983 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1984 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1985 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[25149] | 1986 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[16566] | 1987 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1988 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1989 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1990 |
|
---|
| 1991 | _ASUNAME
|
---|
| 1992 |
|
---|
| 1993 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1994 | for as_dir in $PATH
|
---|
| 1995 | do
|
---|
| 1996 | IFS=$as_save_IFS
|
---|
| 1997 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 1998 | $as_echo "PATH: $as_dir"
|
---|
| 1999 | done
|
---|
[25149] | 2000 | IFS=$as_save_IFS
|
---|
[16566] | 2001 |
|
---|
| 2002 | } >&5
|
---|
| 2003 |
|
---|
| 2004 | cat >&5 <<_ACEOF
|
---|
| 2005 |
|
---|
| 2006 |
|
---|
| 2007 | ## ----------- ##
|
---|
| 2008 | ## Core tests. ##
|
---|
| 2009 | ## ----------- ##
|
---|
| 2010 |
|
---|
| 2011 | _ACEOF
|
---|
| 2012 |
|
---|
| 2013 |
|
---|
| 2014 | # Keep a trace of the command line.
|
---|
| 2015 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 2016 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 2017 | # Also quote any args containing shell meta-characters.
|
---|
| 2018 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 2019 | ac_configure_args=
|
---|
| 2020 | ac_configure_args0=
|
---|
| 2021 | ac_configure_args1=
|
---|
| 2022 | ac_must_keep_next=false
|
---|
| 2023 | for ac_pass in 1 2
|
---|
| 2024 | do
|
---|
| 2025 | for ac_arg
|
---|
| 2026 | do
|
---|
| 2027 | case $ac_arg in
|
---|
| 2028 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 2029 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 2030 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 2031 | continue ;;
|
---|
[25149] | 2032 | *\'*)
|
---|
| 2033 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16566] | 2034 | esac
|
---|
| 2035 | case $ac_pass in
|
---|
[26565] | 2036 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
[16566] | 2037 | 2)
|
---|
[26565] | 2038 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
[16566] | 2039 | if test $ac_must_keep_next = true; then
|
---|
| 2040 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 2041 | else
|
---|
| 2042 | case $ac_arg in
|
---|
| 2043 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 2044 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 2045 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 2046 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 2047 | case "$ac_configure_args0 " in
|
---|
| 2048 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 2049 | esac
|
---|
| 2050 | ;;
|
---|
| 2051 | -* ) ac_must_keep_next=true ;;
|
---|
| 2052 | esac
|
---|
| 2053 | fi
|
---|
[26565] | 2054 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
[16566] | 2055 | ;;
|
---|
| 2056 | esac
|
---|
| 2057 | done
|
---|
| 2058 | done
|
---|
[26565] | 2059 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 2060 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
[16566] | 2061 |
|
---|
| 2062 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 2063 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 2064 | # would cause problems or look ugly.
|
---|
[25149] | 2065 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 2066 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[16566] | 2067 | trap 'exit_status=$?
|
---|
| 2068 | # Save into config.log some information that might help in debugging.
|
---|
| 2069 | {
|
---|
| 2070 | echo
|
---|
| 2071 |
|
---|
[26565] | 2072 | $as_echo "## ---------------- ##
|
---|
[16566] | 2073 | ## Cache variables. ##
|
---|
[26565] | 2074 | ## ---------------- ##"
|
---|
[16566] | 2075 | echo
|
---|
| 2076 | # The following way of writing the cache mishandles newlines in values,
|
---|
[25149] | 2077 | (
|
---|
| 2078 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 2079 | eval ac_val=\$$ac_var
|
---|
| 2080 | case $ac_val in #(
|
---|
| 2081 | *${as_nl}*)
|
---|
| 2082 | case $ac_var in #(
|
---|
[26565] | 2083 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[25149] | 2084 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 2085 | esac
|
---|
| 2086 | case $ac_var in #(
|
---|
| 2087 | _ | IFS | as_nl) ;; #(
|
---|
| 2088 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[26565] | 2089 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
[25149] | 2090 | esac ;;
|
---|
| 2091 | esac
|
---|
| 2092 | done
|
---|
[16566] | 2093 | (set) 2>&1 |
|
---|
[25149] | 2094 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 2095 | *${as_nl}ac_space=\ *)
|
---|
[16566] | 2096 | sed -n \
|
---|
[25149] | 2097 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 2098 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 2099 | ;; #(
|
---|
[16566] | 2100 | *)
|
---|
[25149] | 2101 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16566] | 2102 | ;;
|
---|
[25149] | 2103 | esac |
|
---|
| 2104 | sort
|
---|
| 2105 | )
|
---|
[16566] | 2106 | echo
|
---|
| 2107 |
|
---|
[26565] | 2108 | $as_echo "## ----------------- ##
|
---|
[16566] | 2109 | ## Output variables. ##
|
---|
[26565] | 2110 | ## ----------------- ##"
|
---|
[16566] | 2111 | echo
|
---|
| 2112 | for ac_var in $ac_subst_vars
|
---|
| 2113 | do
|
---|
[25149] | 2114 | eval ac_val=\$$ac_var
|
---|
| 2115 | case $ac_val in
|
---|
| 2116 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2117 | esac
|
---|
| 2118 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16566] | 2119 | done | sort
|
---|
| 2120 | echo
|
---|
| 2121 |
|
---|
| 2122 | if test -n "$ac_subst_files"; then
|
---|
[26565] | 2123 | $as_echo "## ------------------- ##
|
---|
[25149] | 2124 | ## File substitutions. ##
|
---|
[26565] | 2125 | ## ------------------- ##"
|
---|
[16566] | 2126 | echo
|
---|
| 2127 | for ac_var in $ac_subst_files
|
---|
| 2128 | do
|
---|
[25149] | 2129 | eval ac_val=\$$ac_var
|
---|
| 2130 | case $ac_val in
|
---|
| 2131 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2132 | esac
|
---|
| 2133 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16566] | 2134 | done | sort
|
---|
| 2135 | echo
|
---|
| 2136 | fi
|
---|
| 2137 |
|
---|
| 2138 | if test -s confdefs.h; then
|
---|
[26565] | 2139 | $as_echo "## ----------- ##
|
---|
[16566] | 2140 | ## confdefs.h. ##
|
---|
[26565] | 2141 | ## ----------- ##"
|
---|
[16566] | 2142 | echo
|
---|
[25149] | 2143 | cat confdefs.h
|
---|
[16566] | 2144 | echo
|
---|
| 2145 | fi
|
---|
| 2146 | test "$ac_signal" != 0 &&
|
---|
[25149] | 2147 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 2148 | $as_echo "$as_me: exit $exit_status"
|
---|
[16566] | 2149 | } >&5
|
---|
[25149] | 2150 | rm -f core *.core core.conftest.* &&
|
---|
| 2151 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[16566] | 2152 | exit $exit_status
|
---|
[25149] | 2153 | ' 0
|
---|
[16566] | 2154 | for ac_signal in 1 2 13 15; do
|
---|
[26565] | 2155 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
[16566] | 2156 | done
|
---|
| 2157 | ac_signal=0
|
---|
| 2158 |
|
---|
| 2159 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[25149] | 2160 | rm -f -r conftest* confdefs.h
|
---|
[16566] | 2161 |
|
---|
[26565] | 2162 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 2163 |
|
---|
[16566] | 2164 | # Predefined preprocessor variables.
|
---|
| 2165 |
|
---|
| 2166 | cat >>confdefs.h <<_ACEOF
|
---|
| 2167 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 2168 | _ACEOF
|
---|
| 2169 |
|
---|
| 2170 | cat >>confdefs.h <<_ACEOF
|
---|
| 2171 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 2172 | _ACEOF
|
---|
| 2173 |
|
---|
| 2174 | cat >>confdefs.h <<_ACEOF
|
---|
| 2175 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 2176 | _ACEOF
|
---|
| 2177 |
|
---|
| 2178 | cat >>confdefs.h <<_ACEOF
|
---|
| 2179 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 2180 | _ACEOF
|
---|
| 2181 |
|
---|
| 2182 | cat >>confdefs.h <<_ACEOF
|
---|
| 2183 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 2184 | _ACEOF
|
---|
| 2185 |
|
---|
[26565] | 2186 | cat >>confdefs.h <<_ACEOF
|
---|
| 2187 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2188 | _ACEOF
|
---|
[16566] | 2189 |
|
---|
[26565] | 2190 |
|
---|
[16566] | 2191 | # Let the site file select an alternate cache file if it wants to.
|
---|
[25149] | 2192 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 2193 | ac_site_file1=NONE
|
---|
| 2194 | ac_site_file2=NONE
|
---|
| 2195 | if test -n "$CONFIG_SITE"; then
|
---|
[26565] | 2196 | # We do not want a PATH search for config.site.
|
---|
| 2197 | case $CONFIG_SITE in #((
|
---|
| 2198 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2199 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
| 2200 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2201 | esac
|
---|
[25149] | 2202 | elif test "x$prefix" != xNONE; then
|
---|
| 2203 | ac_site_file1=$prefix/share/config.site
|
---|
| 2204 | ac_site_file2=$prefix/etc/config.site
|
---|
| 2205 | else
|
---|
| 2206 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 2207 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[16566] | 2208 | fi
|
---|
[25149] | 2209 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2210 | do
|
---|
| 2211 | test "x$ac_site_file" = xNONE && continue
|
---|
[26565] | 2212 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
| 2213 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
[25149] | 2214 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[16566] | 2215 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[26565] | 2216 | . "$ac_site_file" \
|
---|
| 2217 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2218 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2219 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
| 2220 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 2221 | fi
|
---|
| 2222 | done
|
---|
| 2223 |
|
---|
| 2224 | if test -r "$cache_file"; then
|
---|
[26565] | 2225 | # Some versions of bash will fail to source /dev/null (special files
|
---|
| 2226 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
| 2227 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
| 2228 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
[25149] | 2229 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[16566] | 2230 | case $cache_file in
|
---|
[25149] | 2231 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2232 | *) . "./$cache_file";;
|
---|
[16566] | 2233 | esac
|
---|
| 2234 | fi
|
---|
| 2235 | else
|
---|
[26565] | 2236 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
[25149] | 2237 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[16566] | 2238 | >$cache_file
|
---|
| 2239 | fi
|
---|
| 2240 |
|
---|
| 2241 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 2242 | # value.
|
---|
| 2243 | ac_cache_corrupted=false
|
---|
[25149] | 2244 | for ac_var in $ac_precious_vars; do
|
---|
[16566] | 2245 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2246 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[25149] | 2247 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2248 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[16566] | 2249 | case $ac_old_set,$ac_new_set in
|
---|
| 2250 | set,)
|
---|
[26565] | 2251 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
[25149] | 2252 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[16566] | 2253 | ac_cache_corrupted=: ;;
|
---|
| 2254 | ,set)
|
---|
[26565] | 2255 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
[25149] | 2256 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[16566] | 2257 | ac_cache_corrupted=: ;;
|
---|
| 2258 | ,);;
|
---|
| 2259 | *)
|
---|
| 2260 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[25149] | 2261 | # differences in whitespace do not lead to failure.
|
---|
| 2262 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 2263 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 2264 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
[26565] | 2265 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
[25149] | 2266 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2267 | ac_cache_corrupted=:
|
---|
| 2268 | else
|
---|
[26565] | 2269 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
[25149] | 2270 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 2271 | eval $ac_var=\$ac_old_val
|
---|
| 2272 | fi
|
---|
[26565] | 2273 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
[25149] | 2274 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
[26565] | 2275 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
[25149] | 2276 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[16566] | 2277 | fi;;
|
---|
| 2278 | esac
|
---|
| 2279 | # Pass precious variables to config.status.
|
---|
| 2280 | if test "$ac_new_set" = set; then
|
---|
| 2281 | case $ac_new_val in
|
---|
[25149] | 2282 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16566] | 2283 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 2284 | esac
|
---|
| 2285 | case " $ac_configure_args " in
|
---|
| 2286 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[26565] | 2287 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
[16566] | 2288 | esac
|
---|
| 2289 | fi
|
---|
| 2290 | done
|
---|
| 2291 | if $ac_cache_corrupted; then
|
---|
[26565] | 2292 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2293 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 2294 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
[25149] | 2295 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
[26565] | 2296 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
[16566] | 2297 | fi
|
---|
[26565] | 2298 | ## -------------------- ##
|
---|
| 2299 | ## Main body of script. ##
|
---|
| 2300 | ## -------------------- ##
|
---|
[16566] | 2301 |
|
---|
[25149] | 2302 | ac_ext=c
|
---|
| 2303 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2304 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2305 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2306 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[24874] | 2307 |
|
---|
| 2308 |
|
---|
[25149] | 2309 | ac_config_headers="$ac_config_headers config.h"
|
---|
[24874] | 2310 |
|
---|
| 2311 |
|
---|
| 2312 |
|
---|
| 2313 |
|
---|
| 2314 |
|
---|
[16566] | 2315 | PACKAGE=gsdl
|
---|
[23356] | 2316 | VERSION=2.x-svn
|
---|
[16566] | 2317 | cat >>confdefs.h <<_ACEOF
|
---|
| 2318 | #define PACKAGE "$PACKAGE"
|
---|
| 2319 | _ACEOF
|
---|
| 2320 |
|
---|
| 2321 | cat >>confdefs.h <<_ACEOF
|
---|
| 2322 | #define VERSION "$VERSION"
|
---|
| 2323 | _ACEOF
|
---|
| 2324 |
|
---|
| 2325 |
|
---|
| 2326 |
|
---|
| 2327 |
|
---|
| 2328 | USE_FASTCGI=0
|
---|
| 2329 | if test USE_FASTCGI = 1; then
|
---|
[26565] | 2330 | $as_echo "#define USE_FASTCGI 1" >>confdefs.h
|
---|
[16566] | 2331 |
|
---|
| 2332 |
|
---|
| 2333 | fi
|
---|
| 2334 |
|
---|
| 2335 | if test USE_LANGACTION = 1; then
|
---|
[26565] | 2336 | $as_echo "#define USE_LANGACTION 1" >>confdefs.h
|
---|
[16566] | 2337 |
|
---|
| 2338 |
|
---|
| 2339 | fi
|
---|
| 2340 |
|
---|
[25149] | 2341 | # Check whether --enable-corba was given.
|
---|
[26565] | 2342 | if test "${enable_corba+set}" = set; then :
|
---|
[25149] | 2343 | enableval=$enable_corba; USE_CORBA=$enableval
|
---|
[16566] | 2344 | else
|
---|
[22058] | 2345 | USE_CORBA=no
|
---|
[25149] | 2346 | fi
|
---|
| 2347 |
|
---|
[22058] | 2348 | if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
|
---|
| 2349 | USE_CORBA=1
|
---|
[26565] | 2350 | $as_echo "#define USE_CORBA /**/" >>confdefs.h
|
---|
[16566] | 2351 |
|
---|
[22058] | 2352 | else
|
---|
| 2353 | USE_CORBA=0
|
---|
| 2354 | fi
|
---|
[16566] | 2355 |
|
---|
| 2356 |
|
---|
| 2357 |
|
---|
[25149] | 2358 | # Check whether --with-micodir was given.
|
---|
[26565] | 2359 | if test "${with_micodir+set}" = set; then :
|
---|
[25149] | 2360 | withval=$with_micodir; MICO_DIR=$withval
|
---|
[16566] | 2361 | else
|
---|
| 2362 | MICO_DIR="default"
|
---|
[25149] | 2363 | fi
|
---|
| 2364 |
|
---|
[16566] | 2365 | cat >>confdefs.h <<_ACEOF
|
---|
| 2366 | #define MICO_DIR "$MICO_DIR"
|
---|
| 2367 | _ACEOF
|
---|
| 2368 |
|
---|
| 2369 |
|
---|
| 2370 |
|
---|
[25149] | 2371 | # Check whether --enable-z3950 was given.
|
---|
[26565] | 2372 | if test "${enable_z3950+set}" = set; then :
|
---|
[25149] | 2373 | enableval=$enable_z3950; USE_Z3950=$enableval
|
---|
[16566] | 2374 | else
|
---|
[22058] | 2375 | USE_Z3950=no
|
---|
[25149] | 2376 | fi
|
---|
| 2377 |
|
---|
[22058] | 2378 | if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
|
---|
| 2379 | USE_Z3950=1
|
---|
[26565] | 2380 | $as_echo "#define USE_Z3950 /**/" >>confdefs.h
|
---|
[16566] | 2381 |
|
---|
[22058] | 2382 | else
|
---|
| 2383 | USE_Z3950=0
|
---|
[16566] | 2384 | fi
|
---|
| 2385 |
|
---|
[22058] | 2386 |
|
---|
[25149] | 2387 | # Check whether --enable-yaz was given.
|
---|
[26565] | 2388 | if test "${enable_yaz+set}" = set; then :
|
---|
[25149] | 2389 | enableval=$enable_yaz; USE_YAZ=$enableval
|
---|
[22058] | 2390 | else
|
---|
| 2391 | USE_YAZ=yes
|
---|
[25149] | 2392 | fi
|
---|
| 2393 |
|
---|
[22058] | 2394 | if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
|
---|
| 2395 | USE_YAZ=1
|
---|
[26565] | 2396 | $as_echo "#define USE_YAZ /**/" >>confdefs.h
|
---|
[22058] | 2397 |
|
---|
| 2398 | else
|
---|
[21327] | 2399 | USE_YAZ=0
|
---|
[22058] | 2400 | fi
|
---|
| 2401 |
|
---|
| 2402 |
|
---|
[25149] | 2403 | # Check whether --enable-java was given.
|
---|
[26565] | 2404 | if test "${enable_java+set}" = set; then :
|
---|
[25149] | 2405 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
[16566] | 2406 | else
|
---|
[23356] | 2407 | ENABLE_JAVA=yes
|
---|
[25149] | 2408 | fi
|
---|
| 2409 |
|
---|
[23356] | 2410 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 2411 | ENABLE_JAVA=1
|
---|
| 2412 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 2413 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 2414 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 2415 | echo "and JAVA respectively"
|
---|
| 2416 | export JAVA_HOME=
|
---|
| 2417 | fi
|
---|
| 2418 | else
|
---|
| 2419 | ENABLE_JAVA=0
|
---|
| 2420 | fi
|
---|
| 2421 |
|
---|
| 2422 |
|
---|
[25149] | 2423 | # Check whether --enable-jdbm was given.
|
---|
[26565] | 2424 | if test "${enable_jdbm+set}" = set; then :
|
---|
[25149] | 2425 | enableval=$enable_jdbm; USE_JDBM=$enableval
|
---|
[23356] | 2426 | else
|
---|
[22058] | 2427 | USE_JDBM=yes
|
---|
[25149] | 2428 | fi
|
---|
| 2429 |
|
---|
[23356] | 2430 | if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
|
---|
[22058] | 2431 | USE_JDBM=1
|
---|
[26565] | 2432 | $as_echo "#define USE_JDBM /**/" >>confdefs.h
|
---|
[16566] | 2433 |
|
---|
[22058] | 2434 | else
|
---|
| 2435 | USE_JDBM=0
|
---|
| 2436 | fi
|
---|
[16566] | 2437 |
|
---|
| 2438 |
|
---|
[25149] | 2439 | # Check whether --enable-gdbm was given.
|
---|
[26565] | 2440 | if test "${enable_gdbm+set}" = set; then :
|
---|
[25149] | 2441 | enableval=$enable_gdbm; USE_GDBM=$enableval
|
---|
[16566] | 2442 | else
|
---|
[22058] | 2443 | USE_GDBM=yes
|
---|
[25149] | 2444 | fi
|
---|
| 2445 |
|
---|
[22058] | 2446 | if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
|
---|
| 2447 | USE_GDBM=1
|
---|
[26565] | 2448 | $as_echo "#define USE_GDBM /**/" >>confdefs.h
|
---|
[16566] | 2449 |
|
---|
[22058] | 2450 | else
|
---|
| 2451 | USE_GDBM=0
|
---|
| 2452 | fi
|
---|
[16566] | 2453 |
|
---|
| 2454 |
|
---|
[25149] | 2455 | # Check whether --enable-accentfold was given.
|
---|
[26565] | 2456 | if test "${enable_accentfold+set}" = set; then :
|
---|
[25149] | 2457 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
[21409] | 2458 | else
|
---|
[22058] | 2459 | ENABLE_ACCENTFOLD=yes
|
---|
[25149] | 2460 | fi
|
---|
| 2461 |
|
---|
[22058] | 2462 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
| 2463 | ENABLE_ACCENTFOLD=1
|
---|
[26565] | 2464 | $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
|
---|
[21409] | 2465 |
|
---|
[21418] | 2466 | else
|
---|
[22058] | 2467 | ENABLE_ACCENTFOLD=0
|
---|
[21418] | 2468 | fi
|
---|
[21409] | 2469 |
|
---|
| 2470 |
|
---|
[22058] | 2471 |
|
---|
[25149] | 2472 | # Check whether --enable-sqlite was given.
|
---|
[26565] | 2473 | if test "${enable_sqlite+set}" = set; then :
|
---|
[25149] | 2474 | enableval=$enable_sqlite; USE_SQLITE=$enableval
|
---|
[16566] | 2475 | else
|
---|
[22058] | 2476 | USE_SQLITE=yes
|
---|
[25149] | 2477 | fi
|
---|
| 2478 |
|
---|
[22058] | 2479 | if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
|
---|
[16566] | 2480 | USE_SQLITE=1
|
---|
[26565] | 2481 | $as_echo "#define USE_SQLITE /**/" >>confdefs.h
|
---|
[16566] | 2482 |
|
---|
[22058] | 2483 | else
|
---|
| 2484 | USE_SQLITE=0
|
---|
| 2485 | fi
|
---|
[16566] | 2486 |
|
---|
| 2487 |
|
---|
[25149] | 2488 | # Check whether --enable-jni was given.
|
---|
[26565] | 2489 | if test "${enable_jni+set}" = set; then :
|
---|
[25149] | 2490 | enableval=$enable_jni; ENABLE_JNI=$enableval
|
---|
[21365] | 2491 | else
|
---|
| 2492 | ENABLE_JNI=no
|
---|
[25149] | 2493 | fi
|
---|
| 2494 |
|
---|
[23356] | 2495 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
|
---|
[21365] | 2496 | ENABLE_JNI=1
|
---|
[26565] | 2497 | $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
|
---|
[21365] | 2498 |
|
---|
| 2499 | else
|
---|
| 2500 | ENABLE_JNI=0
|
---|
| 2501 | fi
|
---|
| 2502 |
|
---|
| 2503 |
|
---|
[25149] | 2504 | # Check whether --enable-mg was given.
|
---|
[26565] | 2505 | if test "${enable_mg+set}" = set; then :
|
---|
[25149] | 2506 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
[21327] | 2507 | else
|
---|
| 2508 | ENABLE_MG=yes
|
---|
[25149] | 2509 | fi
|
---|
| 2510 |
|
---|
[21327] | 2511 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 2512 | ENABLE_MG=1
|
---|
[26565] | 2513 | $as_echo "#define ENABLE_MG /**/" >>confdefs.h
|
---|
[21327] | 2514 |
|
---|
| 2515 | else
|
---|
| 2516 | ENABLE_MG=0
|
---|
| 2517 | fi
|
---|
| 2518 |
|
---|
| 2519 |
|
---|
[25149] | 2520 | # Check whether --enable-mgpp was given.
|
---|
[26565] | 2521 | if test "${enable_mgpp+set}" = set; then :
|
---|
[25149] | 2522 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
[21327] | 2523 | else
|
---|
| 2524 | ENABLE_MGPP=yes
|
---|
[25149] | 2525 | fi
|
---|
| 2526 |
|
---|
[21327] | 2527 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 2528 | ENABLE_MGPP=1
|
---|
[26565] | 2529 | $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
|
---|
[21327] | 2530 |
|
---|
| 2531 | else
|
---|
| 2532 | ENABLE_MGPP=0
|
---|
| 2533 | fi
|
---|
| 2534 |
|
---|
| 2535 |
|
---|
[25149] | 2536 | # Check whether --enable-lucene was given.
|
---|
[26565] | 2537 | if test "${enable_lucene+set}" = set; then :
|
---|
[25149] | 2538 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
[21327] | 2539 | else
|
---|
| 2540 | ENABLE_LUCENE=yes
|
---|
[25149] | 2541 | fi
|
---|
| 2542 |
|
---|
[23356] | 2543 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
|
---|
[21327] | 2544 | ENABLE_LUCENE=1
|
---|
[26565] | 2545 | $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
|
---|
[21327] | 2546 |
|
---|
| 2547 | else
|
---|
| 2548 | ENABLE_LUCENE=0
|
---|
| 2549 | fi
|
---|
| 2550 |
|
---|
| 2551 |
|
---|
| 2552 |
|
---|
[16566] | 2553 | LDFLAGS=$LDFLAGS
|
---|
| 2554 |
|
---|
| 2555 | if test -z "$CFLAGS"; then
|
---|
| 2556 | CFLAGS=-O2
|
---|
| 2557 | fi
|
---|
| 2558 |
|
---|
| 2559 |
|
---|
| 2560 |
|
---|
| 2561 | ac_ext=c
|
---|
| 2562 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2563 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2564 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2565 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2566 | if test -n "$ac_tool_prefix"; then
|
---|
| 2567 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2568 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[26565] | 2569 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2570 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2571 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2572 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2573 | else
|
---|
| 2574 | if test -n "$CC"; then
|
---|
| 2575 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2576 | else
|
---|
| 2577 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2578 | for as_dir in $PATH
|
---|
| 2579 | do
|
---|
| 2580 | IFS=$as_save_IFS
|
---|
| 2581 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2582 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2583 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2584 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[26565] | 2585 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2586 | break 2
|
---|
| 2587 | fi
|
---|
| 2588 | done
|
---|
[26565] | 2589 | done
|
---|
[25149] | 2590 | IFS=$as_save_IFS
|
---|
[16566] | 2591 |
|
---|
| 2592 | fi
|
---|
| 2593 | fi
|
---|
| 2594 | CC=$ac_cv_prog_CC
|
---|
| 2595 | if test -n "$CC"; then
|
---|
[26565] | 2596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2597 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2598 | else
|
---|
[26565] | 2599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2600 | $as_echo "no" >&6; }
|
---|
[16566] | 2601 | fi
|
---|
| 2602 |
|
---|
[25149] | 2603 |
|
---|
[16566] | 2604 | fi
|
---|
| 2605 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2606 | ac_ct_CC=$CC
|
---|
| 2607 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2608 | set dummy gcc; ac_word=$2
|
---|
[26565] | 2609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2610 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2611 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
[25149] | 2612 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2613 | else
|
---|
| 2614 | if test -n "$ac_ct_CC"; then
|
---|
| 2615 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2616 | else
|
---|
| 2617 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2618 | for as_dir in $PATH
|
---|
| 2619 | do
|
---|
| 2620 | IFS=$as_save_IFS
|
---|
| 2621 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2622 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2623 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2624 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[26565] | 2625 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2626 | break 2
|
---|
| 2627 | fi
|
---|
| 2628 | done
|
---|
[26565] | 2629 | done
|
---|
[25149] | 2630 | IFS=$as_save_IFS
|
---|
[16566] | 2631 |
|
---|
| 2632 | fi
|
---|
| 2633 | fi
|
---|
| 2634 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2635 | if test -n "$ac_ct_CC"; then
|
---|
[26565] | 2636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
[25149] | 2637 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16566] | 2638 | else
|
---|
[26565] | 2639 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2640 | $as_echo "no" >&6; }
|
---|
[16566] | 2641 | fi
|
---|
| 2642 |
|
---|
[25149] | 2643 | if test "x$ac_ct_CC" = x; then
|
---|
| 2644 | CC=""
|
---|
| 2645 | else
|
---|
| 2646 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2647 | yes:)
|
---|
[26565] | 2648 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 2649 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2650 | ac_tool_warned=yes ;;
|
---|
| 2651 | esac
|
---|
| 2652 | CC=$ac_ct_CC
|
---|
| 2653 | fi
|
---|
[16566] | 2654 | else
|
---|
| 2655 | CC="$ac_cv_prog_CC"
|
---|
| 2656 | fi
|
---|
| 2657 |
|
---|
| 2658 | if test -z "$CC"; then
|
---|
[25149] | 2659 | if test -n "$ac_tool_prefix"; then
|
---|
| 2660 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[16566] | 2661 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[26565] | 2662 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2663 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2664 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2665 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2666 | else
|
---|
| 2667 | if test -n "$CC"; then
|
---|
| 2668 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2669 | else
|
---|
| 2670 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2671 | for as_dir in $PATH
|
---|
| 2672 | do
|
---|
| 2673 | IFS=$as_save_IFS
|
---|
| 2674 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2675 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2676 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2677 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[26565] | 2678 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2679 | break 2
|
---|
| 2680 | fi
|
---|
| 2681 | done
|
---|
[26565] | 2682 | done
|
---|
[25149] | 2683 | IFS=$as_save_IFS
|
---|
[16566] | 2684 |
|
---|
| 2685 | fi
|
---|
| 2686 | fi
|
---|
| 2687 | CC=$ac_cv_prog_CC
|
---|
| 2688 | if test -n "$CC"; then
|
---|
[26565] | 2689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2690 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2691 | else
|
---|
[26565] | 2692 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2693 | $as_echo "no" >&6; }
|
---|
[16566] | 2694 | fi
|
---|
| 2695 |
|
---|
[25149] | 2696 |
|
---|
[24874] | 2697 | fi
|
---|
[16566] | 2698 | fi
|
---|
| 2699 | if test -z "$CC"; then
|
---|
| 2700 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2701 | set dummy cc; ac_word=$2
|
---|
[26565] | 2702 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2703 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2704 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2705 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2706 | else
|
---|
| 2707 | if test -n "$CC"; then
|
---|
| 2708 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2709 | else
|
---|
| 2710 | ac_prog_rejected=no
|
---|
| 2711 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2712 | for as_dir in $PATH
|
---|
| 2713 | do
|
---|
| 2714 | IFS=$as_save_IFS
|
---|
| 2715 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2716 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2717 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2718 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2719 | ac_prog_rejected=yes
|
---|
| 2720 | continue
|
---|
| 2721 | fi
|
---|
| 2722 | ac_cv_prog_CC="cc"
|
---|
[26565] | 2723 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2724 | break 2
|
---|
| 2725 | fi
|
---|
| 2726 | done
|
---|
[26565] | 2727 | done
|
---|
[25149] | 2728 | IFS=$as_save_IFS
|
---|
[16566] | 2729 |
|
---|
| 2730 | if test $ac_prog_rejected = yes; then
|
---|
| 2731 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2732 | set dummy $ac_cv_prog_CC
|
---|
| 2733 | shift
|
---|
| 2734 | if test $# != 0; then
|
---|
| 2735 | # We chose a different compiler from the bogus one.
|
---|
| 2736 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2737 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2738 | shift
|
---|
| 2739 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2740 | fi
|
---|
| 2741 | fi
|
---|
| 2742 | fi
|
---|
| 2743 | fi
|
---|
| 2744 | CC=$ac_cv_prog_CC
|
---|
| 2745 | if test -n "$CC"; then
|
---|
[26565] | 2746 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2747 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2748 | else
|
---|
[26565] | 2749 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2750 | $as_echo "no" >&6; }
|
---|
[16566] | 2751 | fi
|
---|
| 2752 |
|
---|
[25149] | 2753 |
|
---|
[16566] | 2754 | fi
|
---|
| 2755 | if test -z "$CC"; then
|
---|
| 2756 | if test -n "$ac_tool_prefix"; then
|
---|
[25149] | 2757 | for ac_prog in cl.exe
|
---|
[16566] | 2758 | do
|
---|
| 2759 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2760 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[26565] | 2761 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2762 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2763 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2764 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2765 | else
|
---|
| 2766 | if test -n "$CC"; then
|
---|
| 2767 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2768 | else
|
---|
| 2769 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2770 | for as_dir in $PATH
|
---|
| 2771 | do
|
---|
| 2772 | IFS=$as_save_IFS
|
---|
| 2773 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2774 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2775 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2776 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[26565] | 2777 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2778 | break 2
|
---|
| 2779 | fi
|
---|
| 2780 | done
|
---|
[26565] | 2781 | done
|
---|
[25149] | 2782 | IFS=$as_save_IFS
|
---|
[16566] | 2783 |
|
---|
| 2784 | fi
|
---|
| 2785 | fi
|
---|
| 2786 | CC=$ac_cv_prog_CC
|
---|
| 2787 | if test -n "$CC"; then
|
---|
[26565] | 2788 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2789 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2790 | else
|
---|
[26565] | 2791 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2792 | $as_echo "no" >&6; }
|
---|
[16566] | 2793 | fi
|
---|
| 2794 |
|
---|
[25149] | 2795 |
|
---|
[16566] | 2796 | test -n "$CC" && break
|
---|
| 2797 | done
|
---|
| 2798 | fi
|
---|
| 2799 | if test -z "$CC"; then
|
---|
| 2800 | ac_ct_CC=$CC
|
---|
[25149] | 2801 | for ac_prog in cl.exe
|
---|
[16566] | 2802 | do
|
---|
| 2803 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2804 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 2805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2806 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2807 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
[25149] | 2808 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2809 | else
|
---|
| 2810 | if test -n "$ac_ct_CC"; then
|
---|
| 2811 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2812 | else
|
---|
| 2813 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2814 | for as_dir in $PATH
|
---|
| 2815 | do
|
---|
| 2816 | IFS=$as_save_IFS
|
---|
| 2817 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2818 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2819 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2820 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[26565] | 2821 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2822 | break 2
|
---|
| 2823 | fi
|
---|
| 2824 | done
|
---|
[26565] | 2825 | done
|
---|
[25149] | 2826 | IFS=$as_save_IFS
|
---|
[16566] | 2827 |
|
---|
| 2828 | fi
|
---|
| 2829 | fi
|
---|
| 2830 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2831 | if test -n "$ac_ct_CC"; then
|
---|
[26565] | 2832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
[25149] | 2833 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16566] | 2834 | else
|
---|
[26565] | 2835 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2836 | $as_echo "no" >&6; }
|
---|
[16566] | 2837 | fi
|
---|
| 2838 |
|
---|
[25149] | 2839 |
|
---|
[16566] | 2840 | test -n "$ac_ct_CC" && break
|
---|
| 2841 | done
|
---|
| 2842 |
|
---|
[25149] | 2843 | if test "x$ac_ct_CC" = x; then
|
---|
| 2844 | CC=""
|
---|
| 2845 | else
|
---|
| 2846 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2847 | yes:)
|
---|
[26565] | 2848 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 2849 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2850 | ac_tool_warned=yes ;;
|
---|
| 2851 | esac
|
---|
| 2852 | CC=$ac_ct_CC
|
---|
| 2853 | fi
|
---|
[16566] | 2854 | fi
|
---|
| 2855 |
|
---|
| 2856 | fi
|
---|
| 2857 |
|
---|
| 2858 |
|
---|
[26565] | 2859 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2860 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 2861 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
| 2862 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 2863 |
|
---|
| 2864 | # Provide some information about the compiler.
|
---|
[26565] | 2865 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
[25149] | 2866 | set X $ac_compile
|
---|
| 2867 | ac_compiler=$2
|
---|
[26565] | 2868 | for ac_option in --version -v -V -qversion; do
|
---|
| 2869 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
[25149] | 2870 | case "(($ac_try" in
|
---|
| 2871 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2872 | *) ac_try_echo=$ac_try;;
|
---|
| 2873 | esac
|
---|
[26565] | 2874 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2875 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2876 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16566] | 2877 | ac_status=$?
|
---|
[26565] | 2878 | if test -s conftest.err; then
|
---|
| 2879 | sed '10a\
|
---|
| 2880 | ... rest of stderr output deleted ...
|
---|
| 2881 | 10q' conftest.err >conftest.er1
|
---|
| 2882 | cat conftest.er1 >&5
|
---|
| 2883 | fi
|
---|
| 2884 | rm -f conftest.er1 conftest.err
|
---|
| 2885 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2886 | test $ac_status = 0; }
|
---|
| 2887 | done
|
---|
[16566] | 2888 |
|
---|
[26565] | 2889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 2890 | /* end confdefs.h. */
|
---|
| 2891 |
|
---|
| 2892 | int
|
---|
| 2893 | main ()
|
---|
| 2894 | {
|
---|
| 2895 |
|
---|
| 2896 | ;
|
---|
| 2897 | return 0;
|
---|
| 2898 | }
|
---|
| 2899 | _ACEOF
|
---|
| 2900 | ac_clean_files_save=$ac_clean_files
|
---|
[25149] | 2901 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[16566] | 2902 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2903 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2904 | # of exeext.
|
---|
[26565] | 2905 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
---|
| 2906 | $as_echo_n "checking whether the C compiler works... " >&6; }
|
---|
[25149] | 2907 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 2908 |
|
---|
| 2909 | # The possible output files:
|
---|
| 2910 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2911 |
|
---|
| 2912 | ac_rmfiles=
|
---|
| 2913 | for ac_file in $ac_files
|
---|
| 2914 | do
|
---|
| 2915 | case $ac_file in
|
---|
| 2916 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2917 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2918 | esac
|
---|
| 2919 | done
|
---|
| 2920 | rm -f $ac_rmfiles
|
---|
| 2921 |
|
---|
[26565] | 2922 | if { { ac_try="$ac_link_default"
|
---|
[25149] | 2923 | case "(($ac_try" in
|
---|
| 2924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2925 | *) ac_try_echo=$ac_try;;
|
---|
| 2926 | esac
|
---|
[26565] | 2927 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2928 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 2929 | (eval "$ac_link_default") 2>&5
|
---|
[24874] | 2930 | ac_status=$?
|
---|
[26565] | 2931 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2932 | test $ac_status = 0; }; then :
|
---|
[25149] | 2933 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2934 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2935 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2936 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2937 | # Autoconf.
|
---|
| 2938 | for ac_file in $ac_files ''
|
---|
[16566] | 2939 | do
|
---|
| 2940 | test -f "$ac_file" || continue
|
---|
| 2941 | case $ac_file in
|
---|
[25149] | 2942 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[16566] | 2943 | ;;
|
---|
| 2944 | [ab].out )
|
---|
| 2945 | # We found the default executable, but exeext='' is most
|
---|
| 2946 | # certainly right.
|
---|
| 2947 | break;;
|
---|
| 2948 | *.* )
|
---|
[26565] | 2949 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
[25149] | 2950 | then :; else
|
---|
| 2951 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2952 | fi
|
---|
| 2953 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2954 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2955 | # argument, so we may need to know it at that point already.
|
---|
| 2956 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2957 | # actually working.
|
---|
[16566] | 2958 | break;;
|
---|
| 2959 | * )
|
---|
| 2960 | break;;
|
---|
| 2961 | esac
|
---|
| 2962 | done
|
---|
[25149] | 2963 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2964 |
|
---|
[16566] | 2965 | else
|
---|
[25149] | 2966 | ac_file=''
|
---|
| 2967 | fi
|
---|
[26565] | 2968 | if test -z "$ac_file"; then :
|
---|
| 2969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2970 | $as_echo "no" >&6; }
|
---|
| 2971 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16566] | 2972 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2973 |
|
---|
[26565] | 2974 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2975 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 2976 | as_fn_error 77 "C compiler cannot create executables
|
---|
| 2977 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 2978 | else
|
---|
| 2979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2980 | $as_echo "yes" >&6; }
|
---|
[16566] | 2981 | fi
|
---|
[26565] | 2982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
---|
| 2983 | $as_echo_n "checking for C compiler default output file name... " >&6; }
|
---|
| 2984 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 2985 | $as_echo "$ac_file" >&6; }
|
---|
[16566] | 2986 | ac_exeext=$ac_cv_exeext
|
---|
| 2987 |
|
---|
[25149] | 2988 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[16566] | 2989 | ac_clean_files=$ac_clean_files_save
|
---|
[26565] | 2990 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
[25149] | 2991 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
[26565] | 2992 | if { { ac_try="$ac_link"
|
---|
[25149] | 2993 | case "(($ac_try" in
|
---|
| 2994 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2995 | *) ac_try_echo=$ac_try;;
|
---|
| 2996 | esac
|
---|
[26565] | 2997 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2998 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 2999 | (eval "$ac_link") 2>&5
|
---|
[16566] | 3000 | ac_status=$?
|
---|
[26565] | 3001 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3002 | test $ac_status = 0; }; then :
|
---|
[16566] | 3003 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 3004 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 3005 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 3006 | # `rm'.
|
---|
| 3007 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 3008 | test -f "$ac_file" || continue
|
---|
| 3009 | case $ac_file in
|
---|
[25149] | 3010 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[16566] | 3011 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 3012 | break;;
|
---|
| 3013 | * ) break;;
|
---|
| 3014 | esac
|
---|
| 3015 | done
|
---|
| 3016 | else
|
---|
[26565] | 3017 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 3018 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 3019 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
| 3020 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 3021 | fi
|
---|
[26565] | 3022 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 3023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
[25149] | 3024 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[24874] | 3025 |
|
---|
[16566] | 3026 | rm -f conftest.$ac_ext
|
---|
| 3027 | EXEEXT=$ac_cv_exeext
|
---|
| 3028 | ac_exeext=$EXEEXT
|
---|
[26565] | 3029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3030 | /* end confdefs.h. */
|
---|
| 3031 | #include <stdio.h>
|
---|
| 3032 | int
|
---|
| 3033 | main ()
|
---|
| 3034 | {
|
---|
| 3035 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 3036 | return ferror (f) || fclose (f) != 0;
|
---|
| 3037 |
|
---|
| 3038 | ;
|
---|
| 3039 | return 0;
|
---|
| 3040 | }
|
---|
| 3041 | _ACEOF
|
---|
| 3042 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 3043 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 3044 | # the compiler is broken, or we cross compile.
|
---|
| 3045 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 3046 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 3047 | if test "$cross_compiling" != yes; then
|
---|
| 3048 | { { ac_try="$ac_link"
|
---|
| 3049 | case "(($ac_try" in
|
---|
| 3050 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3051 | *) ac_try_echo=$ac_try;;
|
---|
| 3052 | esac
|
---|
| 3053 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3054 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3055 | (eval "$ac_link") 2>&5
|
---|
| 3056 | ac_status=$?
|
---|
| 3057 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3058 | test $ac_status = 0; }
|
---|
| 3059 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 3060 | { { case "(($ac_try" in
|
---|
| 3061 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3062 | *) ac_try_echo=$ac_try;;
|
---|
| 3063 | esac
|
---|
| 3064 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3065 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3066 | (eval "$ac_try") 2>&5
|
---|
| 3067 | ac_status=$?
|
---|
| 3068 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3069 | test $ac_status = 0; }; }; then
|
---|
| 3070 | cross_compiling=no
|
---|
| 3071 | else
|
---|
| 3072 | if test "$cross_compiling" = maybe; then
|
---|
| 3073 | cross_compiling=yes
|
---|
| 3074 | else
|
---|
| 3075 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3076 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3077 | as_fn_error $? "cannot run C compiled programs.
|
---|
| 3078 | If you meant to cross compile, use \`--host'.
|
---|
| 3079 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 3080 | fi
|
---|
| 3081 | fi
|
---|
| 3082 | fi
|
---|
| 3083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 3084 | $as_echo "$cross_compiling" >&6; }
|
---|
| 3085 |
|
---|
| 3086 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 3087 | ac_clean_files=$ac_clean_files_save
|
---|
| 3088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
[25149] | 3089 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
[26565] | 3090 | if ${ac_cv_objext+:} false; then :
|
---|
[25149] | 3091 | $as_echo_n "(cached) " >&6
|
---|
[24874] | 3092 | else
|
---|
[26565] | 3093 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3094 | /* end confdefs.h. */
|
---|
| 3095 |
|
---|
| 3096 | int
|
---|
| 3097 | main ()
|
---|
| 3098 | {
|
---|
| 3099 |
|
---|
| 3100 | ;
|
---|
| 3101 | return 0;
|
---|
| 3102 | }
|
---|
| 3103 | _ACEOF
|
---|
| 3104 | rm -f conftest.o conftest.obj
|
---|
[26565] | 3105 | if { { ac_try="$ac_compile"
|
---|
[25149] | 3106 | case "(($ac_try" in
|
---|
| 3107 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3108 | *) ac_try_echo=$ac_try;;
|
---|
| 3109 | esac
|
---|
[26565] | 3110 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3111 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 3112 | (eval "$ac_compile") 2>&5
|
---|
[16566] | 3113 | ac_status=$?
|
---|
[26565] | 3114 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3115 | test $ac_status = 0; }; then :
|
---|
[25149] | 3116 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 3117 | test -f "$ac_file" || continue;
|
---|
[16566] | 3118 | case $ac_file in
|
---|
[25149] | 3119 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[16566] | 3120 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 3121 | break;;
|
---|
| 3122 | esac
|
---|
| 3123 | done
|
---|
| 3124 | else
|
---|
[25149] | 3125 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16566] | 3126 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3127 |
|
---|
[26565] | 3128 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 3129 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 3130 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
| 3131 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 3132 | fi
|
---|
| 3133 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 3134 | fi
|
---|
[26565] | 3135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
[25149] | 3136 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[16566] | 3137 | OBJEXT=$ac_cv_objext
|
---|
| 3138 | ac_objext=$OBJEXT
|
---|
[26565] | 3139 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
[25149] | 3140 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
[26565] | 3141 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
[25149] | 3142 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3143 | else
|
---|
[26565] | 3144 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3145 | /* end confdefs.h. */
|
---|
| 3146 |
|
---|
| 3147 | int
|
---|
| 3148 | main ()
|
---|
| 3149 | {
|
---|
| 3150 | #ifndef __GNUC__
|
---|
| 3151 | choke me
|
---|
| 3152 | #endif
|
---|
| 3153 |
|
---|
| 3154 | ;
|
---|
| 3155 | return 0;
|
---|
| 3156 | }
|
---|
| 3157 | _ACEOF
|
---|
[26565] | 3158 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 3159 | ac_compiler_gnu=yes
|
---|
| 3160 | else
|
---|
[26565] | 3161 | ac_compiler_gnu=no
|
---|
[16566] | 3162 | fi
|
---|
[25149] | 3163 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3164 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 3165 |
|
---|
| 3166 | fi
|
---|
[26565] | 3167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
[25149] | 3168 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 3169 | if test $ac_compiler_gnu = yes; then
|
---|
| 3170 | GCC=yes
|
---|
| 3171 | else
|
---|
| 3172 | GCC=
|
---|
| 3173 | fi
|
---|
[16566] | 3174 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 3175 | ac_save_CFLAGS=$CFLAGS
|
---|
[26565] | 3176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
[25149] | 3177 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
[26565] | 3178 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
[25149] | 3179 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3180 | else
|
---|
[25149] | 3181 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 3182 | ac_c_werror_flag=yes
|
---|
| 3183 | ac_cv_prog_cc_g=no
|
---|
| 3184 | CFLAGS="-g"
|
---|
[26565] | 3185 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3186 | /* end confdefs.h. */
|
---|
| 3187 |
|
---|
| 3188 | int
|
---|
| 3189 | main ()
|
---|
| 3190 | {
|
---|
| 3191 |
|
---|
| 3192 | ;
|
---|
| 3193 | return 0;
|
---|
| 3194 | }
|
---|
| 3195 | _ACEOF
|
---|
[26565] | 3196 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 3197 | ac_cv_prog_cc_g=yes
|
---|
| 3198 | else
|
---|
[26565] | 3199 | CFLAGS=""
|
---|
| 3200 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 3201 | /* end confdefs.h. */
|
---|
| 3202 |
|
---|
| 3203 | int
|
---|
| 3204 | main ()
|
---|
| 3205 | {
|
---|
| 3206 |
|
---|
| 3207 | ;
|
---|
| 3208 | return 0;
|
---|
| 3209 | }
|
---|
| 3210 | _ACEOF
|
---|
[26565] | 3211 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3212 |
|
---|
[25149] | 3213 | else
|
---|
[26565] | 3214 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
[25149] | 3215 | CFLAGS="-g"
|
---|
[26565] | 3216 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 3217 | /* end confdefs.h. */
|
---|
| 3218 |
|
---|
| 3219 | int
|
---|
| 3220 | main ()
|
---|
| 3221 | {
|
---|
| 3222 |
|
---|
| 3223 | ;
|
---|
| 3224 | return 0;
|
---|
| 3225 | }
|
---|
| 3226 | _ACEOF
|
---|
[26565] | 3227 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 3228 | ac_cv_prog_cc_g=yes
|
---|
| 3229 | fi
|
---|
[25149] | 3230 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3231 | fi
|
---|
[25149] | 3232 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3233 | fi
|
---|
| 3234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3235 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3236 | fi
|
---|
[26565] | 3237 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
[25149] | 3238 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[16566] | 3239 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 3240 | CFLAGS=$ac_save_CFLAGS
|
---|
| 3241 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 3242 | if test "$GCC" = yes; then
|
---|
| 3243 | CFLAGS="-g -O2"
|
---|
| 3244 | else
|
---|
| 3245 | CFLAGS="-g"
|
---|
| 3246 | fi
|
---|
| 3247 | else
|
---|
| 3248 | if test "$GCC" = yes; then
|
---|
| 3249 | CFLAGS="-O2"
|
---|
| 3250 | else
|
---|
| 3251 | CFLAGS=
|
---|
| 3252 | fi
|
---|
| 3253 | fi
|
---|
[26565] | 3254 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
[25149] | 3255 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
[26565] | 3256 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
[25149] | 3257 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3258 | else
|
---|
[25149] | 3259 | ac_cv_prog_cc_c89=no
|
---|
[16566] | 3260 | ac_save_CC=$CC
|
---|
[26565] | 3261 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3262 | /* end confdefs.h. */
|
---|
| 3263 | #include <stdarg.h>
|
---|
| 3264 | #include <stdio.h>
|
---|
| 3265 | #include <sys/types.h>
|
---|
| 3266 | #include <sys/stat.h>
|
---|
| 3267 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 3268 | struct buf { int x; };
|
---|
| 3269 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 3270 | static char *e (p, i)
|
---|
| 3271 | char **p;
|
---|
| 3272 | int i;
|
---|
| 3273 | {
|
---|
| 3274 | return p[i];
|
---|
| 3275 | }
|
---|
| 3276 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 3277 | {
|
---|
| 3278 | char *s;
|
---|
| 3279 | va_list v;
|
---|
| 3280 | va_start (v,p);
|
---|
| 3281 | s = g (p, va_arg (v,int));
|
---|
| 3282 | va_end (v);
|
---|
| 3283 | return s;
|
---|
| 3284 | }
|
---|
| 3285 |
|
---|
| 3286 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3287 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3288 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[25149] | 3289 | as 'x'. The following induces an error, until -std is added to get
|
---|
[16566] | 3290 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3291 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[25149] | 3292 | that's true only with -std. */
|
---|
[16566] | 3293 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3294 |
|
---|
[25149] | 3295 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3296 | inside strings and character constants. */
|
---|
| 3297 | #define FOO(x) 'x'
|
---|
| 3298 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3299 |
|
---|
[16566] | 3300 | int test (int i, double x);
|
---|
| 3301 | struct s1 {int (*f) (int a);};
|
---|
| 3302 | struct s2 {int (*f) (double a);};
|
---|
| 3303 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3304 | int argc;
|
---|
| 3305 | char **argv;
|
---|
| 3306 | int
|
---|
| 3307 | main ()
|
---|
| 3308 | {
|
---|
| 3309 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3310 | ;
|
---|
| 3311 | return 0;
|
---|
| 3312 | }
|
---|
| 3313 | _ACEOF
|
---|
[25149] | 3314 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3315 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[16566] | 3316 | do
|
---|
| 3317 | CC="$ac_save_CC $ac_arg"
|
---|
[26565] | 3318 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 3319 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[16566] | 3320 | fi
|
---|
[25149] | 3321 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3322 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[16566] | 3323 | done
|
---|
[25149] | 3324 | rm -f conftest.$ac_ext
|
---|
[16566] | 3325 | CC=$ac_save_CC
|
---|
| 3326 |
|
---|
| 3327 | fi
|
---|
[25149] | 3328 | # AC_CACHE_VAL
|
---|
| 3329 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3330 | x)
|
---|
[26565] | 3331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
[25149] | 3332 | $as_echo "none needed" >&6; } ;;
|
---|
| 3333 | xno)
|
---|
[26565] | 3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
[25149] | 3335 | $as_echo "unsupported" >&6; } ;;
|
---|
[16566] | 3336 | *)
|
---|
[25149] | 3337 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
[26565] | 3338 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
[25149] | 3339 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[16566] | 3340 | esac
|
---|
[26565] | 3341 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
[16566] | 3342 |
|
---|
[26565] | 3343 | fi
|
---|
[24874] | 3344 |
|
---|
[16566] | 3345 | ac_ext=c
|
---|
| 3346 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3347 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3348 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3349 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3350 |
|
---|
[25149] | 3351 | ac_ext=cpp
|
---|
[16566] | 3352 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 3353 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3354 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3355 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[25149] | 3356 | if test -z "$CXX"; then
|
---|
| 3357 | if test -n "$CCC"; then
|
---|
| 3358 | CXX=$CCC
|
---|
| 3359 | else
|
---|
| 3360 | if test -n "$ac_tool_prefix"; then
|
---|
| 3361 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16566] | 3362 | do
|
---|
| 3363 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 3364 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[26565] | 3365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3366 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3367 | if ${ac_cv_prog_CXX+:} false; then :
|
---|
[25149] | 3368 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3369 | else
|
---|
| 3370 | if test -n "$CXX"; then
|
---|
| 3371 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 3372 | else
|
---|
| 3373 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3374 | for as_dir in $PATH
|
---|
| 3375 | do
|
---|
| 3376 | IFS=$as_save_IFS
|
---|
| 3377 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3378 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3379 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 3380 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[26565] | 3381 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 3382 | break 2
|
---|
| 3383 | fi
|
---|
| 3384 | done
|
---|
[26565] | 3385 | done
|
---|
[25149] | 3386 | IFS=$as_save_IFS
|
---|
[16566] | 3387 |
|
---|
| 3388 | fi
|
---|
| 3389 | fi
|
---|
| 3390 | CXX=$ac_cv_prog_CXX
|
---|
| 3391 | if test -n "$CXX"; then
|
---|
[26565] | 3392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
[25149] | 3393 | $as_echo "$CXX" >&6; }
|
---|
[16566] | 3394 | else
|
---|
[26565] | 3395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3396 | $as_echo "no" >&6; }
|
---|
[16566] | 3397 | fi
|
---|
| 3398 |
|
---|
[25149] | 3399 |
|
---|
[16566] | 3400 | test -n "$CXX" && break
|
---|
| 3401 | done
|
---|
| 3402 | fi
|
---|
| 3403 | if test -z "$CXX"; then
|
---|
| 3404 | ac_ct_CXX=$CXX
|
---|
[25149] | 3405 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16566] | 3406 | do
|
---|
| 3407 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3408 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3410 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3411 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
---|
[25149] | 3412 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3413 | else
|
---|
| 3414 | if test -n "$ac_ct_CXX"; then
|
---|
| 3415 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3416 | else
|
---|
| 3417 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3418 | for as_dir in $PATH
|
---|
| 3419 | do
|
---|
| 3420 | IFS=$as_save_IFS
|
---|
| 3421 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3422 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3423 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 3424 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[26565] | 3425 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 3426 | break 2
|
---|
| 3427 | fi
|
---|
| 3428 | done
|
---|
[26565] | 3429 | done
|
---|
[25149] | 3430 | IFS=$as_save_IFS
|
---|
[16566] | 3431 |
|
---|
| 3432 | fi
|
---|
| 3433 | fi
|
---|
| 3434 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3435 | if test -n "$ac_ct_CXX"; then
|
---|
[26565] | 3436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
[25149] | 3437 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
[16566] | 3438 | else
|
---|
[26565] | 3439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3440 | $as_echo "no" >&6; }
|
---|
[16566] | 3441 | fi
|
---|
| 3442 |
|
---|
[25149] | 3443 |
|
---|
[16566] | 3444 | test -n "$ac_ct_CXX" && break
|
---|
| 3445 | done
|
---|
| 3446 |
|
---|
[25149] | 3447 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3448 | CXX="g++"
|
---|
| 3449 | else
|
---|
| 3450 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3451 | yes:)
|
---|
[26565] | 3452 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 3453 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3454 | ac_tool_warned=yes ;;
|
---|
| 3455 | esac
|
---|
| 3456 | CXX=$ac_ct_CXX
|
---|
| 3457 | fi
|
---|
[16566] | 3458 | fi
|
---|
| 3459 |
|
---|
[25149] | 3460 | fi
|
---|
| 3461 | fi
|
---|
[16566] | 3462 | # Provide some information about the compiler.
|
---|
[26565] | 3463 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
[25149] | 3464 | set X $ac_compile
|
---|
| 3465 | ac_compiler=$2
|
---|
[26565] | 3466 | for ac_option in --version -v -V -qversion; do
|
---|
| 3467 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
[25149] | 3468 | case "(($ac_try" in
|
---|
| 3469 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3470 | *) ac_try_echo=$ac_try;;
|
---|
| 3471 | esac
|
---|
[26565] | 3472 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3473 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3474 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16566] | 3475 | ac_status=$?
|
---|
[26565] | 3476 | if test -s conftest.err; then
|
---|
| 3477 | sed '10a\
|
---|
| 3478 | ... rest of stderr output deleted ...
|
---|
| 3479 | 10q' conftest.err >conftest.er1
|
---|
| 3480 | cat conftest.er1 >&5
|
---|
| 3481 | fi
|
---|
| 3482 | rm -f conftest.er1 conftest.err
|
---|
| 3483 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3484 | test $ac_status = 0; }
|
---|
| 3485 | done
|
---|
[16566] | 3486 |
|
---|
[26565] | 3487 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
[25149] | 3488 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
[26565] | 3489 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
---|
[25149] | 3490 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3491 | else
|
---|
[26565] | 3492 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3493 | /* end confdefs.h. */
|
---|
| 3494 |
|
---|
| 3495 | int
|
---|
| 3496 | main ()
|
---|
| 3497 | {
|
---|
| 3498 | #ifndef __GNUC__
|
---|
| 3499 | choke me
|
---|
| 3500 | #endif
|
---|
| 3501 |
|
---|
| 3502 | ;
|
---|
| 3503 | return 0;
|
---|
| 3504 | }
|
---|
| 3505 | _ACEOF
|
---|
[26565] | 3506 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 3507 | ac_compiler_gnu=yes
|
---|
| 3508 | else
|
---|
[26565] | 3509 | ac_compiler_gnu=no
|
---|
[16566] | 3510 | fi
|
---|
[25149] | 3511 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3512 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3513 |
|
---|
| 3514 | fi
|
---|
[26565] | 3515 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
[25149] | 3516 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3517 | if test $ac_compiler_gnu = yes; then
|
---|
| 3518 | GXX=yes
|
---|
| 3519 | else
|
---|
| 3520 | GXX=
|
---|
| 3521 | fi
|
---|
[16566] | 3522 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3523 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[26565] | 3524 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
[25149] | 3525 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
[26565] | 3526 | if ${ac_cv_prog_cxx_g+:} false; then :
|
---|
[25149] | 3527 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3528 | else
|
---|
[25149] | 3529 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3530 | ac_cxx_werror_flag=yes
|
---|
| 3531 | ac_cv_prog_cxx_g=no
|
---|
| 3532 | CXXFLAGS="-g"
|
---|
[26565] | 3533 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3534 | /* end confdefs.h. */
|
---|
| 3535 |
|
---|
| 3536 | int
|
---|
| 3537 | main ()
|
---|
| 3538 | {
|
---|
| 3539 |
|
---|
| 3540 | ;
|
---|
| 3541 | return 0;
|
---|
| 3542 | }
|
---|
| 3543 | _ACEOF
|
---|
[26565] | 3544 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 3545 | ac_cv_prog_cxx_g=yes
|
---|
| 3546 | else
|
---|
[26565] | 3547 | CXXFLAGS=""
|
---|
| 3548 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[23356] | 3549 | /* end confdefs.h. */
|
---|
[25149] | 3550 |
|
---|
[23356] | 3551 | int
|
---|
| 3552 | main ()
|
---|
| 3553 | {
|
---|
[25149] | 3554 |
|
---|
[23356] | 3555 | ;
|
---|
| 3556 | return 0;
|
---|
| 3557 | }
|
---|
| 3558 | _ACEOF
|
---|
[26565] | 3559 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3560 |
|
---|
[24874] | 3561 | else
|
---|
[26565] | 3562 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
[25149] | 3563 | CXXFLAGS="-g"
|
---|
[26565] | 3564 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[23356] | 3565 | /* end confdefs.h. */
|
---|
[25149] | 3566 |
|
---|
[23356] | 3567 | int
|
---|
| 3568 | main ()
|
---|
| 3569 | {
|
---|
[25149] | 3570 |
|
---|
[23356] | 3571 | ;
|
---|
| 3572 | return 0;
|
---|
| 3573 | }
|
---|
| 3574 | _ACEOF
|
---|
[26565] | 3575 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 3576 | ac_cv_prog_cxx_g=yes
|
---|
[21327] | 3577 | fi
|
---|
[25149] | 3578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[21327] | 3579 | fi
|
---|
[25149] | 3580 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3581 | fi
|
---|
| 3582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3583 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3584 | fi
|
---|
[26565] | 3585 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
[25149] | 3586 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
| 3587 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3588 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3589 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3590 | if test "$GXX" = yes; then
|
---|
| 3591 | CXXFLAGS="-g -O2"
|
---|
| 3592 | else
|
---|
| 3593 | CXXFLAGS="-g"
|
---|
| 3594 | fi
|
---|
| 3595 | else
|
---|
| 3596 | if test "$GXX" = yes; then
|
---|
| 3597 | CXXFLAGS="-O2"
|
---|
| 3598 | else
|
---|
| 3599 | CXXFLAGS=
|
---|
| 3600 | fi
|
---|
| 3601 | fi
|
---|
[23356] | 3602 | ac_ext=c
|
---|
| 3603 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3604 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3605 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3606 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3607 |
|
---|
| 3608 | if test $ENABLE_JAVA = "1" ; then
|
---|
| 3609 |
|
---|
| 3610 |
|
---|
| 3611 | if test "x$JAVA" = x ; then
|
---|
| 3612 | if test x$JAVAPREFIX = x; then
|
---|
| 3613 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
[21327] | 3614 | do
|
---|
[23356] | 3615 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3616 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3617 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3618 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3619 | if ${ac_cv_prog_JAVA+:} false; then :
|
---|
[25149] | 3620 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3621 | else
|
---|
| 3622 | if test -n "$JAVA"; then
|
---|
| 3623 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3624 | else
|
---|
| 3625 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3626 | for as_dir in $PATH
|
---|
| 3627 | do
|
---|
| 3628 | IFS=$as_save_IFS
|
---|
| 3629 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3630 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3631 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3632 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[26565] | 3633 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3634 | break 2
|
---|
| 3635 | fi
|
---|
| 3636 | done
|
---|
[26565] | 3637 | done
|
---|
[25149] | 3638 | IFS=$as_save_IFS
|
---|
[23356] | 3639 |
|
---|
| 3640 | fi
|
---|
| 3641 | fi
|
---|
| 3642 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3643 | if test -n "$JAVA"; then
|
---|
[26565] | 3644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
[25149] | 3645 | $as_echo "$JAVA" >&6; }
|
---|
[23356] | 3646 | else
|
---|
[26565] | 3647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3648 | $as_echo "no" >&6; }
|
---|
[23356] | 3649 | fi
|
---|
| 3650 |
|
---|
[25149] | 3651 |
|
---|
[23356] | 3652 | test -n "$JAVA" && break
|
---|
| 3653 | done
|
---|
| 3654 |
|
---|
| 3655 | else
|
---|
| 3656 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3657 | do
|
---|
| 3658 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3659 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3660 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3661 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3662 | if ${ac_cv_prog_JAVA+:} false; then :
|
---|
[25149] | 3663 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3664 | else
|
---|
| 3665 | if test -n "$JAVA"; then
|
---|
| 3666 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3667 | else
|
---|
| 3668 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3669 | for as_dir in $PATH
|
---|
| 3670 | do
|
---|
| 3671 | IFS=$as_save_IFS
|
---|
| 3672 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3673 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3674 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3675 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[26565] | 3676 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3677 | break 2
|
---|
| 3678 | fi
|
---|
| 3679 | done
|
---|
[26565] | 3680 | done
|
---|
[25149] | 3681 | IFS=$as_save_IFS
|
---|
[23356] | 3682 |
|
---|
| 3683 | fi
|
---|
| 3684 | fi
|
---|
| 3685 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3686 | if test -n "$JAVA"; then
|
---|
[26565] | 3687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
[25149] | 3688 | $as_echo "$JAVA" >&6; }
|
---|
[23356] | 3689 | else
|
---|
[26565] | 3690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3691 | $as_echo "no" >&6; }
|
---|
[23356] | 3692 | fi
|
---|
| 3693 |
|
---|
[25149] | 3694 |
|
---|
[23356] | 3695 | test -n "$JAVA" && break
|
---|
| 3696 | done
|
---|
| 3697 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
| 3698 |
|
---|
| 3699 | fi
|
---|
[26565] | 3700 | test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
|
---|
[23356] | 3701 | fi
|
---|
| 3702 |
|
---|
| 3703 |
|
---|
| 3704 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
| 3705 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
[26565] | 3706 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3707 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3708 | if ${ac_cv_prog_uudecode+:} false; then :
|
---|
[25149] | 3709 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3710 | else
|
---|
| 3711 | if test -n "$uudecode"; then
|
---|
| 3712 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
| 3713 | else
|
---|
| 3714 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3715 | for as_dir in $PATH
|
---|
| 3716 | do
|
---|
| 3717 | IFS=$as_save_IFS
|
---|
| 3718 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3719 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3720 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3721 | ac_cv_prog_uudecode="yes"
|
---|
[26565] | 3722 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3723 | break 2
|
---|
| 3724 | fi
|
---|
| 3725 | done
|
---|
[26565] | 3726 | done
|
---|
[25149] | 3727 | IFS=$as_save_IFS
|
---|
[23356] | 3728 |
|
---|
| 3729 | fi
|
---|
| 3730 | fi
|
---|
| 3731 | uudecode=$ac_cv_prog_uudecode
|
---|
| 3732 | if test -n "$uudecode"; then
|
---|
[26565] | 3733 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
|
---|
[25149] | 3734 | $as_echo "$uudecode" >&6; }
|
---|
[23356] | 3735 | else
|
---|
[26565] | 3736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3737 | $as_echo "no" >&6; }
|
---|
[23356] | 3738 | fi
|
---|
| 3739 |
|
---|
[25149] | 3740 |
|
---|
[23356] | 3741 | if test x$uudecode = xyes; then
|
---|
[26565] | 3742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
|
---|
[25149] | 3743 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
[26565] | 3744 | if ${ac_cv_prog_uudecode_base64+:} false; then :
|
---|
[25149] | 3745 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3746 | else
|
---|
| 3747 |
|
---|
| 3748 | cat << \EOF > Test.uue
|
---|
| 3749 | begin-base64 644 Test.class
|
---|
| 3750 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
| 3751 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
| 3752 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
| 3753 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
| 3754 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
| 3755 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
| 3756 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
| 3757 | ====
|
---|
| 3758 | EOF
|
---|
| 3759 | if uudecode$EXEEXT Test.uue; then
|
---|
| 3760 | ac_cv_prog_uudecode_base64=yes
|
---|
| 3761 | else
|
---|
[26808] | 3762 | echo "configure: 3762: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
[23356] | 3763 | echo "configure: failed file was:" >&5
|
---|
| 3764 | cat Test.uue >&5
|
---|
| 3765 | ac_cv_prog_uudecode_base64=no
|
---|
| 3766 | fi
|
---|
| 3767 | rm -f Test.uue
|
---|
| 3768 | fi
|
---|
[26565] | 3769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
[25149] | 3770 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
[23356] | 3771 | fi
|
---|
| 3772 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3773 | rm -f Test.class
|
---|
[26565] | 3774 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
|
---|
[25149] | 3775 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
[23356] | 3776 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
[26565] | 3777 | as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
|
---|
[23356] | 3778 | fi
|
---|
| 3779 | if test x$ac_cv_prog_javac_works = x; then
|
---|
| 3780 |
|
---|
| 3781 | if test "x$JAVAC" = x ; then
|
---|
| 3782 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3783 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3784 | do
|
---|
| 3785 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3786 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3788 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3789 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3790 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3791 | else
|
---|
| 3792 | if test -n "$JAVAC"; then
|
---|
| 3793 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3794 | else
|
---|
| 3795 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3796 | for as_dir in $PATH
|
---|
| 3797 | do
|
---|
| 3798 | IFS=$as_save_IFS
|
---|
| 3799 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3800 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3801 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3802 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 3803 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3804 | break 2
|
---|
| 3805 | fi
|
---|
| 3806 | done
|
---|
[26565] | 3807 | done
|
---|
[25149] | 3808 | IFS=$as_save_IFS
|
---|
[23356] | 3809 |
|
---|
| 3810 | fi
|
---|
| 3811 | fi
|
---|
| 3812 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3813 | if test -n "$JAVAC"; then
|
---|
[26565] | 3814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3815 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3816 | else
|
---|
[26565] | 3817 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3818 | $as_echo "no" >&6; }
|
---|
[23356] | 3819 | fi
|
---|
| 3820 |
|
---|
[25149] | 3821 |
|
---|
[23356] | 3822 | test -n "$JAVAC" && break
|
---|
| 3823 | done
|
---|
| 3824 |
|
---|
| 3825 | else
|
---|
| 3826 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3827 | do
|
---|
| 3828 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3829 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3831 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3832 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3833 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3834 | else
|
---|
| 3835 | if test -n "$JAVAC"; then
|
---|
| 3836 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3837 | else
|
---|
| 3838 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3839 | for as_dir in $PATH
|
---|
| 3840 | do
|
---|
| 3841 | IFS=$as_save_IFS
|
---|
| 3842 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3843 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3844 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3845 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 3846 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3847 | break 2
|
---|
| 3848 | fi
|
---|
| 3849 | done
|
---|
[26565] | 3850 | done
|
---|
[25149] | 3851 | IFS=$as_save_IFS
|
---|
[23356] | 3852 |
|
---|
| 3853 | fi
|
---|
| 3854 | fi
|
---|
| 3855 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3856 | if test -n "$JAVAC"; then
|
---|
[26565] | 3857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3858 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3859 | else
|
---|
[26565] | 3860 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3861 | $as_echo "no" >&6; }
|
---|
[23356] | 3862 | fi
|
---|
| 3863 |
|
---|
[25149] | 3864 |
|
---|
[23356] | 3865 | test -n "$JAVAC" && break
|
---|
| 3866 | done
|
---|
| 3867 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3868 |
|
---|
| 3869 | fi
|
---|
[26565] | 3870 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
[23356] | 3871 | else
|
---|
| 3872 | echo "Checking for javac... $JAVAC"
|
---|
| 3873 | fi
|
---|
| 3874 |
|
---|
| 3875 |
|
---|
[26565] | 3876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
[25149] | 3877 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[26565] | 3878 | if ${ac_cv_prog_javac_works+:} false; then :
|
---|
[25149] | 3879 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3880 | else
|
---|
| 3881 |
|
---|
| 3882 | JAVA_TEST=Test.java
|
---|
| 3883 | CLASS_TEST=Test.class
|
---|
| 3884 | cat << \EOF > $JAVA_TEST
|
---|
[26808] | 3885 | /* #line 3885 "configure" */
|
---|
[23356] | 3886 | public class Test {
|
---|
[16566] | 3887 | }
|
---|
[23356] | 3888 | EOF
|
---|
| 3889 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26565] | 3890 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[23356] | 3891 | (eval $ac_try) 2>&5
|
---|
[16566] | 3892 | ac_status=$?
|
---|
[26565] | 3893 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3894 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 3895 | ac_cv_prog_javac_works=yes
|
---|
| 3896 | else
|
---|
[26565] | 3897 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3898 | echo "configure: failed program was:" >&5
|
---|
| 3899 | cat $JAVA_TEST >&5
|
---|
| 3900 | fi
|
---|
| 3901 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 3902 |
|
---|
| 3903 | fi
|
---|
[26565] | 3904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
[25149] | 3905 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 3906 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 3907 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 3908 | fi
|
---|
| 3909 |
|
---|
| 3910 |
|
---|
| 3911 |
|
---|
| 3912 | fi
|
---|
| 3913 | fi
|
---|
[26565] | 3914 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
|
---|
[25149] | 3915 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
[26565] | 3916 | if ${ac_cv_prog_java_works+:} false; then :
|
---|
[25149] | 3917 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3918 | else
|
---|
| 3919 |
|
---|
| 3920 | JAVA_TEST=Test.java
|
---|
| 3921 | CLASS_TEST=Test.class
|
---|
| 3922 | TEST=Test
|
---|
| 3923 | cat << \EOF > $JAVA_TEST
|
---|
[26808] | 3924 | /* [#]line 3924 "configure" */
|
---|
[23356] | 3925 | public class Test {
|
---|
| 3926 | public static void main (String args[]) {
|
---|
| 3927 | System.exit (0);
|
---|
| 3928 | } }
|
---|
| 3929 | EOF
|
---|
| 3930 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3931 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26565] | 3932 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 3933 | (eval $ac_try) 2>&5
|
---|
| 3934 | ac_status=$?
|
---|
[26565] | 3935 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3936 | test $ac_status = 0; }; } && test -s $CLASS_TEST; then
|
---|
[23356] | 3937 | :
|
---|
| 3938 | else
|
---|
| 3939 | echo "configure: failed program was:" >&5
|
---|
| 3940 | cat $JAVA_TEST >&5
|
---|
[26565] | 3941 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3942 | fi
|
---|
| 3943 | fi
|
---|
| 3944 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
[26565] | 3945 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 3946 | (eval $ac_try) 2>&5
|
---|
| 3947 | ac_status=$?
|
---|
[26565] | 3948 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3949 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 3950 | ac_cv_prog_java_works=yes
|
---|
[16566] | 3951 | else
|
---|
[23356] | 3952 | echo "configure: failed program was:" >&5
|
---|
| 3953 | cat $JAVA_TEST >&5
|
---|
[26565] | 3954 | as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3955 | fi
|
---|
| 3956 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
[16566] | 3957 |
|
---|
[21327] | 3958 | fi
|
---|
[26565] | 3959 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
|
---|
[25149] | 3960 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
[23356] | 3961 |
|
---|
| 3962 |
|
---|
| 3963 |
|
---|
| 3964 |
|
---|
| 3965 | if test "x$JAVAC" = x ; then
|
---|
| 3966 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3967 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3968 | do
|
---|
| 3969 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3970 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3971 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3972 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3973 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3974 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3975 | else
|
---|
| 3976 | if test -n "$JAVAC"; then
|
---|
| 3977 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3978 | else
|
---|
| 3979 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3980 | for as_dir in $PATH
|
---|
| 3981 | do
|
---|
| 3982 | IFS=$as_save_IFS
|
---|
| 3983 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3984 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3985 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3986 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 3987 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3988 | break 2
|
---|
| 3989 | fi
|
---|
| 3990 | done
|
---|
[26565] | 3991 | done
|
---|
[25149] | 3992 | IFS=$as_save_IFS
|
---|
[23356] | 3993 |
|
---|
| 3994 | fi
|
---|
| 3995 | fi
|
---|
| 3996 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3997 | if test -n "$JAVAC"; then
|
---|
[26565] | 3998 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3999 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 4000 | else
|
---|
[26565] | 4001 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4002 | $as_echo "no" >&6; }
|
---|
[23356] | 4003 | fi
|
---|
| 4004 |
|
---|
[25149] | 4005 |
|
---|
[23356] | 4006 | test -n "$JAVAC" && break
|
---|
| 4007 | done
|
---|
| 4008 |
|
---|
| 4009 | else
|
---|
| 4010 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 4011 | do
|
---|
| 4012 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4013 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 4014 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4015 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4016 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 4017 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 4018 | else
|
---|
| 4019 | if test -n "$JAVAC"; then
|
---|
| 4020 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 4021 | else
|
---|
| 4022 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4023 | for as_dir in $PATH
|
---|
| 4024 | do
|
---|
| 4025 | IFS=$as_save_IFS
|
---|
| 4026 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4027 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4028 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 4029 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 4030 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 4031 | break 2
|
---|
| 4032 | fi
|
---|
| 4033 | done
|
---|
[26565] | 4034 | done
|
---|
[25149] | 4035 | IFS=$as_save_IFS
|
---|
[23356] | 4036 |
|
---|
| 4037 | fi
|
---|
| 4038 | fi
|
---|
| 4039 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 4040 | if test -n "$JAVAC"; then
|
---|
[26565] | 4041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 4042 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 4043 | else
|
---|
[26565] | 4044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4045 | $as_echo "no" >&6; }
|
---|
[23356] | 4046 | fi
|
---|
| 4047 |
|
---|
[25149] | 4048 |
|
---|
[23356] | 4049 | test -n "$JAVAC" && break
|
---|
| 4050 | done
|
---|
| 4051 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 4052 |
|
---|
| 4053 | fi
|
---|
[26565] | 4054 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
[23356] | 4055 | else
|
---|
| 4056 | echo "Checking for javac... $JAVAC"
|
---|
| 4057 | fi
|
---|
| 4058 |
|
---|
| 4059 |
|
---|
[26565] | 4060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
[25149] | 4061 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[26565] | 4062 | if ${ac_cv_prog_javac_works+:} false; then :
|
---|
[25149] | 4063 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 4064 | else
|
---|
| 4065 |
|
---|
| 4066 | JAVA_TEST=Test.java
|
---|
| 4067 | CLASS_TEST=Test.class
|
---|
| 4068 | cat << \EOF > $JAVA_TEST
|
---|
[26808] | 4069 | /* #line 4069 "configure" */
|
---|
[23356] | 4070 | public class Test {
|
---|
[16566] | 4071 | }
|
---|
[23356] | 4072 | EOF
|
---|
| 4073 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26565] | 4074 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 4075 | (eval $ac_try) 2>&5
|
---|
| 4076 | ac_status=$?
|
---|
[26565] | 4077 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4078 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 4079 | ac_cv_prog_javac_works=yes
|
---|
[16566] | 4080 | else
|
---|
[26565] | 4081 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 4082 | echo "configure: failed program was:" >&5
|
---|
| 4083 | cat $JAVA_TEST >&5
|
---|
| 4084 | fi
|
---|
| 4085 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
[16566] | 4086 |
|
---|
| 4087 | fi
|
---|
[26565] | 4088 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
[25149] | 4089 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 4090 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 4091 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
[16566] | 4092 | fi
|
---|
| 4093 |
|
---|
| 4094 |
|
---|
[23356] | 4095 |
|
---|
| 4096 | fi
|
---|
[16566] | 4097 | for ac_prog in gawk mawk nawk awk
|
---|
| 4098 | do
|
---|
| 4099 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4100 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 4101 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4102 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4103 | if ${ac_cv_prog_AWK+:} false; then :
|
---|
[25149] | 4104 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4105 | else
|
---|
| 4106 | if test -n "$AWK"; then
|
---|
| 4107 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 4108 | else
|
---|
| 4109 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4110 | for as_dir in $PATH
|
---|
| 4111 | do
|
---|
| 4112 | IFS=$as_save_IFS
|
---|
| 4113 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4114 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4115 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4116 | ac_cv_prog_AWK="$ac_prog"
|
---|
[26565] | 4117 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4118 | break 2
|
---|
| 4119 | fi
|
---|
| 4120 | done
|
---|
[26565] | 4121 | done
|
---|
[25149] | 4122 | IFS=$as_save_IFS
|
---|
[16566] | 4123 |
|
---|
| 4124 | fi
|
---|
| 4125 | fi
|
---|
| 4126 | AWK=$ac_cv_prog_AWK
|
---|
| 4127 | if test -n "$AWK"; then
|
---|
[26565] | 4128 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
[25149] | 4129 | $as_echo "$AWK" >&6; }
|
---|
[16566] | 4130 | else
|
---|
[26565] | 4131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4132 | $as_echo "no" >&6; }
|
---|
[16566] | 4133 | fi
|
---|
| 4134 |
|
---|
[25149] | 4135 |
|
---|
[16566] | 4136 | test -n "$AWK" && break
|
---|
| 4137 | done
|
---|
| 4138 |
|
---|
| 4139 | for ac_prog in 'bison -y' byacc
|
---|
| 4140 | do
|
---|
| 4141 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4142 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 4143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4144 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4145 | if ${ac_cv_prog_YACC+:} false; then :
|
---|
[25149] | 4146 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4147 | else
|
---|
| 4148 | if test -n "$YACC"; then
|
---|
| 4149 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 4150 | else
|
---|
| 4151 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4152 | for as_dir in $PATH
|
---|
| 4153 | do
|
---|
| 4154 | IFS=$as_save_IFS
|
---|
| 4155 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4156 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4157 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4158 | ac_cv_prog_YACC="$ac_prog"
|
---|
[26565] | 4159 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4160 | break 2
|
---|
| 4161 | fi
|
---|
| 4162 | done
|
---|
[26565] | 4163 | done
|
---|
[25149] | 4164 | IFS=$as_save_IFS
|
---|
[16566] | 4165 |
|
---|
| 4166 | fi
|
---|
| 4167 | fi
|
---|
| 4168 | YACC=$ac_cv_prog_YACC
|
---|
| 4169 | if test -n "$YACC"; then
|
---|
[26565] | 4170 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
---|
[25149] | 4171 | $as_echo "$YACC" >&6; }
|
---|
[16566] | 4172 | else
|
---|
[26565] | 4173 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4174 | $as_echo "no" >&6; }
|
---|
[16566] | 4175 | fi
|
---|
| 4176 |
|
---|
[25149] | 4177 |
|
---|
[16566] | 4178 | test -n "$YACC" && break
|
---|
| 4179 | done
|
---|
| 4180 | test -n "$YACC" || YACC="yacc"
|
---|
| 4181 |
|
---|
| 4182 | ac_aux_dir=
|
---|
[25149] | 4183 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 4184 | if test -f "$ac_dir/install-sh"; then
|
---|
[16566] | 4185 | ac_aux_dir=$ac_dir
|
---|
| 4186 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 4187 | break
|
---|
[25149] | 4188 | elif test -f "$ac_dir/install.sh"; then
|
---|
[16566] | 4189 | ac_aux_dir=$ac_dir
|
---|
| 4190 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 4191 | break
|
---|
[25149] | 4192 | elif test -f "$ac_dir/shtool"; then
|
---|
[16566] | 4193 | ac_aux_dir=$ac_dir
|
---|
| 4194 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 4195 | break
|
---|
| 4196 | fi
|
---|
| 4197 | done
|
---|
| 4198 | if test -z "$ac_aux_dir"; then
|
---|
[26565] | 4199 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
[16566] | 4200 | fi
|
---|
| 4201 |
|
---|
[25149] | 4202 | # These three variables are undocumented and unsupported,
|
---|
| 4203 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 4204 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 4205 | # whose full name contains unusual characters.
|
---|
| 4206 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 4207 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 4208 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 4209 |
|
---|
| 4210 |
|
---|
[16566] | 4211 | # Make sure we can run config.sub.
|
---|
[25149] | 4212 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
[26565] | 4213 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
[16566] | 4214 |
|
---|
[26565] | 4215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
[25149] | 4216 | $as_echo_n "checking build system type... " >&6; }
|
---|
[26565] | 4217 | if ${ac_cv_build+:} false; then :
|
---|
[25149] | 4218 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4219 | else
|
---|
[25149] | 4220 | ac_build_alias=$build_alias
|
---|
| 4221 | test "x$ac_build_alias" = x &&
|
---|
| 4222 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 4223 | test "x$ac_build_alias" = x &&
|
---|
[26565] | 4224 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
[25149] | 4225 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
[26565] | 4226 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
[16566] | 4227 |
|
---|
| 4228 | fi
|
---|
[26565] | 4229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
[25149] | 4230 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 4231 | case $ac_cv_build in
|
---|
| 4232 | *-*-*) ;;
|
---|
[26565] | 4233 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
---|
[25149] | 4234 | esac
|
---|
[16566] | 4235 | build=$ac_cv_build
|
---|
[25149] | 4236 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4237 | set x $ac_cv_build
|
---|
| 4238 | shift
|
---|
| 4239 | build_cpu=$1
|
---|
| 4240 | build_vendor=$2
|
---|
| 4241 | shift; shift
|
---|
| 4242 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4243 | # except with old shells:
|
---|
| 4244 | build_os=$*
|
---|
| 4245 | IFS=$ac_save_IFS
|
---|
| 4246 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4247 |
|
---|
| 4248 |
|
---|
[26565] | 4249 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
[25149] | 4250 | $as_echo_n "checking host system type... " >&6; }
|
---|
[26565] | 4251 | if ${ac_cv_host+:} false; then :
|
---|
[25149] | 4252 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4253 | else
|
---|
[25149] | 4254 | if test "x$host_alias" = x; then
|
---|
| 4255 | ac_cv_host=$ac_cv_build
|
---|
| 4256 | else
|
---|
| 4257 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
[26565] | 4258 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
[25149] | 4259 | fi
|
---|
[16566] | 4260 |
|
---|
| 4261 | fi
|
---|
[26565] | 4262 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
[25149] | 4263 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 4264 | case $ac_cv_host in
|
---|
| 4265 | *-*-*) ;;
|
---|
[26565] | 4266 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
---|
[25149] | 4267 | esac
|
---|
[16566] | 4268 | host=$ac_cv_host
|
---|
[25149] | 4269 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4270 | set x $ac_cv_host
|
---|
| 4271 | shift
|
---|
| 4272 | host_cpu=$1
|
---|
| 4273 | host_vendor=$2
|
---|
| 4274 | shift; shift
|
---|
| 4275 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4276 | # except with old shells:
|
---|
| 4277 | host_os=$*
|
---|
| 4278 | IFS=$ac_save_IFS
|
---|
| 4279 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4280 |
|
---|
| 4281 |
|
---|
[26565] | 4282 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
---|
[25149] | 4283 | $as_echo_n "checking target system type... " >&6; }
|
---|
[26565] | 4284 | if ${ac_cv_target+:} false; then :
|
---|
[25149] | 4285 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4286 | else
|
---|
[25149] | 4287 | if test "x$target_alias" = x; then
|
---|
| 4288 | ac_cv_target=$ac_cv_host
|
---|
| 4289 | else
|
---|
| 4290 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
[26565] | 4291 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
---|
[25149] | 4292 | fi
|
---|
[16566] | 4293 |
|
---|
| 4294 | fi
|
---|
[26565] | 4295 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
---|
[25149] | 4296 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 4297 | case $ac_cv_target in
|
---|
| 4298 | *-*-*) ;;
|
---|
[26565] | 4299 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
---|
[25149] | 4300 | esac
|
---|
[16566] | 4301 | target=$ac_cv_target
|
---|
[25149] | 4302 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4303 | set x $ac_cv_target
|
---|
| 4304 | shift
|
---|
| 4305 | target_cpu=$1
|
---|
| 4306 | target_vendor=$2
|
---|
| 4307 | shift; shift
|
---|
| 4308 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4309 | # except with old shells:
|
---|
| 4310 | target_os=$*
|
---|
| 4311 | IFS=$ac_save_IFS
|
---|
| 4312 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4313 |
|
---|
| 4314 |
|
---|
| 4315 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 4316 | # will get canonicalized.
|
---|
| 4317 | test -n "$target_alias" &&
|
---|
| 4318 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 4319 | NONENONEs,x,x, &&
|
---|
| 4320 | program_prefix=${target_alias}-
|
---|
[26565] | 4321 |
|
---|
[16566] | 4322 | # Find a good install program. We prefer a C program (faster),
|
---|
| 4323 | # so one script is as good as another. But avoid the broken or
|
---|
| 4324 | # incompatible versions:
|
---|
| 4325 | # SysV /etc/install, /usr/sbin/install
|
---|
| 4326 | # SunOS /usr/etc/install
|
---|
| 4327 | # IRIX /sbin/install
|
---|
| 4328 | # AIX /bin/install
|
---|
| 4329 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 4330 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 4331 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 4332 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 4333 | # OS/2's system install, which has a completely different semantic
|
---|
| 4334 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[25149] | 4335 | # Reject install programs that cannot install multiple files.
|
---|
[26565] | 4336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
[25149] | 4337 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[16566] | 4338 | if test -z "$INSTALL"; then
|
---|
[26565] | 4339 | if ${ac_cv_path_install+:} false; then :
|
---|
[25149] | 4340 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4341 | else
|
---|
| 4342 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4343 | for as_dir in $PATH
|
---|
| 4344 | do
|
---|
| 4345 | IFS=$as_save_IFS
|
---|
| 4346 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4347 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 4348 | case $as_dir/ in #((
|
---|
| 4349 | ./ | .// | /[cC]/* | \
|
---|
[16566] | 4350 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[26565] | 4351 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
[16566] | 4352 | /usr/ucb/* ) ;;
|
---|
| 4353 | *)
|
---|
| 4354 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 4355 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 4356 | # by default.
|
---|
| 4357 | for ac_prog in ginstall scoinst install; do
|
---|
| 4358 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4359 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[16566] | 4360 | if test $ac_prog = install &&
|
---|
| 4361 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4362 | # AIX install. It has an incompatible calling convention.
|
---|
| 4363 | :
|
---|
| 4364 | elif test $ac_prog = install &&
|
---|
| 4365 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4366 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 4367 | :
|
---|
| 4368 | else
|
---|
[25149] | 4369 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 4370 | echo one > conftest.one
|
---|
| 4371 | echo two > conftest.two
|
---|
| 4372 | mkdir conftest.dir
|
---|
| 4373 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 4374 | test -s conftest.one && test -s conftest.two &&
|
---|
| 4375 | test -s conftest.dir/conftest.one &&
|
---|
| 4376 | test -s conftest.dir/conftest.two
|
---|
| 4377 | then
|
---|
| 4378 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 4379 | break 3
|
---|
| 4380 | fi
|
---|
[16566] | 4381 | fi
|
---|
| 4382 | fi
|
---|
| 4383 | done
|
---|
| 4384 | done
|
---|
| 4385 | ;;
|
---|
| 4386 | esac
|
---|
[25149] | 4387 |
|
---|
[26565] | 4388 | done
|
---|
[25149] | 4389 | IFS=$as_save_IFS
|
---|
[16566] | 4390 |
|
---|
[25149] | 4391 | rm -rf conftest.one conftest.two conftest.dir
|
---|
[16566] | 4392 |
|
---|
| 4393 | fi
|
---|
| 4394 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 4395 | INSTALL=$ac_cv_path_install
|
---|
| 4396 | else
|
---|
[25149] | 4397 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 4398 | # value for INSTALL within a source directory, because that will
|
---|
[16566] | 4399 | # break other packages using the cache if that directory is
|
---|
[25149] | 4400 | # removed, or if the value is a relative name.
|
---|
[16566] | 4401 | INSTALL=$ac_install_sh
|
---|
| 4402 | fi
|
---|
| 4403 | fi
|
---|
[26565] | 4404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
[25149] | 4405 | $as_echo "$INSTALL" >&6; }
|
---|
[16566] | 4406 |
|
---|
| 4407 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 4408 | # It thinks the first close brace ends the variable substitution.
|
---|
| 4409 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 4410 |
|
---|
| 4411 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 4412 |
|
---|
| 4413 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 4414 |
|
---|
[26565] | 4415 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
---|
[25149] | 4416 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[16566] | 4417 | LN_S=$as_ln_s
|
---|
| 4418 | if test "$LN_S" = "ln -s"; then
|
---|
[26565] | 4419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4420 | $as_echo "yes" >&6; }
|
---|
[16566] | 4421 | else
|
---|
[26565] | 4422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
---|
[25149] | 4423 | $as_echo "no, using $LN_S" >&6; }
|
---|
[16566] | 4424 | fi
|
---|
| 4425 |
|
---|
[26565] | 4426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
[25149] | 4427 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 4428 | set x ${MAKE-make}
|
---|
| 4429 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
[26565] | 4430 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
---|
[25149] | 4431 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4432 | else
|
---|
| 4433 | cat >conftest.make <<\_ACEOF
|
---|
[25149] | 4434 | SHELL = /bin/sh
|
---|
[16566] | 4435 | all:
|
---|
[25149] | 4436 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[16566] | 4437 | _ACEOF
|
---|
[26565] | 4438 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
[25149] | 4439 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 4440 | *@@@%%%=?*=@@@%%%*)
|
---|
| 4441 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 4442 | *)
|
---|
| 4443 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 4444 | esac
|
---|
[16566] | 4445 | rm -f conftest.make
|
---|
| 4446 | fi
|
---|
[25149] | 4447 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
[26565] | 4448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4449 | $as_echo "yes" >&6; }
|
---|
[16566] | 4450 | SET_MAKE=
|
---|
| 4451 | else
|
---|
[26565] | 4452 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4453 | $as_echo "no" >&6; }
|
---|
[16566] | 4454 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 4455 | fi
|
---|
| 4456 |
|
---|
| 4457 | if test -n "$ac_tool_prefix"; then
|
---|
| 4458 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 4459 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[26565] | 4460 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4461 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4462 | if ${ac_cv_prog_RANLIB+:} false; then :
|
---|
[25149] | 4463 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4464 | else
|
---|
| 4465 | if test -n "$RANLIB"; then
|
---|
| 4466 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 4467 | else
|
---|
| 4468 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4469 | for as_dir in $PATH
|
---|
| 4470 | do
|
---|
| 4471 | IFS=$as_save_IFS
|
---|
| 4472 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4473 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4474 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4475 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[26565] | 4476 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4477 | break 2
|
---|
| 4478 | fi
|
---|
| 4479 | done
|
---|
[26565] | 4480 | done
|
---|
[25149] | 4481 | IFS=$as_save_IFS
|
---|
[16566] | 4482 |
|
---|
| 4483 | fi
|
---|
| 4484 | fi
|
---|
| 4485 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 4486 | if test -n "$RANLIB"; then
|
---|
[26565] | 4487 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
---|
[25149] | 4488 | $as_echo "$RANLIB" >&6; }
|
---|
[16566] | 4489 | else
|
---|
[26565] | 4490 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4491 | $as_echo "no" >&6; }
|
---|
[16566] | 4492 | fi
|
---|
| 4493 |
|
---|
[25149] | 4494 |
|
---|
[16566] | 4495 | fi
|
---|
| 4496 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 4497 | ac_ct_RANLIB=$RANLIB
|
---|
| 4498 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 4499 | set dummy ranlib; ac_word=$2
|
---|
[26565] | 4500 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4501 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4502 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
---|
[25149] | 4503 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4504 | else
|
---|
| 4505 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 4506 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 4507 | else
|
---|
| 4508 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4509 | for as_dir in $PATH
|
---|
| 4510 | do
|
---|
| 4511 | IFS=$as_save_IFS
|
---|
| 4512 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4513 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4514 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4515 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[26565] | 4516 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4517 | break 2
|
---|
| 4518 | fi
|
---|
| 4519 | done
|
---|
[26565] | 4520 | done
|
---|
[25149] | 4521 | IFS=$as_save_IFS
|
---|
[16566] | 4522 |
|
---|
| 4523 | fi
|
---|
| 4524 | fi
|
---|
| 4525 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 4526 | if test -n "$ac_ct_RANLIB"; then
|
---|
[26565] | 4527 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
---|
[25149] | 4528 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
[16566] | 4529 | else
|
---|
[26565] | 4530 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4531 | $as_echo "no" >&6; }
|
---|
[16566] | 4532 | fi
|
---|
| 4533 |
|
---|
[25149] | 4534 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 4535 | RANLIB=":"
|
---|
| 4536 | else
|
---|
| 4537 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4538 | yes:)
|
---|
[26565] | 4539 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 4540 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4541 | ac_tool_warned=yes ;;
|
---|
| 4542 | esac
|
---|
| 4543 | RANLIB=$ac_ct_RANLIB
|
---|
| 4544 | fi
|
---|
[16566] | 4545 | else
|
---|
| 4546 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 4547 | fi
|
---|
| 4548 |
|
---|
[26808] | 4549 | if test -n "$ac_tool_prefix"; then
|
---|
| 4550 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
---|
| 4551 | set dummy ${ac_tool_prefix}strip; ac_word=$2
|
---|
| 4552 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4553 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4554 | if ${ac_cv_prog_STRIP+:} false; then :
|
---|
| 4555 | $as_echo_n "(cached) " >&6
|
---|
| 4556 | else
|
---|
| 4557 | if test -n "$STRIP"; then
|
---|
| 4558 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
---|
| 4559 | else
|
---|
| 4560 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4561 | for as_dir in $PATH
|
---|
| 4562 | do
|
---|
| 4563 | IFS=$as_save_IFS
|
---|
| 4564 | test -z "$as_dir" && as_dir=.
|
---|
| 4565 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4566 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 4567 | ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
---|
| 4568 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4569 | break 2
|
---|
| 4570 | fi
|
---|
| 4571 | done
|
---|
| 4572 | done
|
---|
| 4573 | IFS=$as_save_IFS
|
---|
[16566] | 4574 |
|
---|
[26808] | 4575 | fi
|
---|
| 4576 | fi
|
---|
| 4577 | STRIP=$ac_cv_prog_STRIP
|
---|
| 4578 | if test -n "$STRIP"; then
|
---|
| 4579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
---|
| 4580 | $as_echo "$STRIP" >&6; }
|
---|
| 4581 | else
|
---|
| 4582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4583 | $as_echo "no" >&6; }
|
---|
| 4584 | fi
|
---|
| 4585 |
|
---|
| 4586 |
|
---|
| 4587 | fi
|
---|
| 4588 | if test -z "$ac_cv_prog_STRIP"; then
|
---|
| 4589 | ac_ct_STRIP=$STRIP
|
---|
| 4590 | # Extract the first word of "strip", so it can be a program name with args.
|
---|
| 4591 | set dummy strip; ac_word=$2
|
---|
| 4592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
| 4593 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
| 4594 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
---|
| 4595 | $as_echo_n "(cached) " >&6
|
---|
| 4596 | else
|
---|
| 4597 | if test -n "$ac_ct_STRIP"; then
|
---|
| 4598 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
---|
| 4599 | else
|
---|
| 4600 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4601 | for as_dir in $PATH
|
---|
| 4602 | do
|
---|
| 4603 | IFS=$as_save_IFS
|
---|
| 4604 | test -z "$as_dir" && as_dir=.
|
---|
| 4605 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4606 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 4607 | ac_cv_prog_ac_ct_STRIP="strip"
|
---|
| 4608 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 4609 | break 2
|
---|
| 4610 | fi
|
---|
| 4611 | done
|
---|
| 4612 | done
|
---|
| 4613 | IFS=$as_save_IFS
|
---|
| 4614 |
|
---|
| 4615 | fi
|
---|
| 4616 | fi
|
---|
| 4617 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
---|
| 4618 | if test -n "$ac_ct_STRIP"; then
|
---|
| 4619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
---|
| 4620 | $as_echo "$ac_ct_STRIP" >&6; }
|
---|
| 4621 | else
|
---|
| 4622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 4623 | $as_echo "no" >&6; }
|
---|
| 4624 | fi
|
---|
| 4625 |
|
---|
| 4626 | if test "x$ac_ct_STRIP" = x; then
|
---|
| 4627 | STRIP=""
|
---|
| 4628 | else
|
---|
| 4629 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4630 | yes:)
|
---|
| 4631 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
| 4632 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4633 | ac_tool_warned=yes ;;
|
---|
| 4634 | esac
|
---|
| 4635 | STRIP=$ac_ct_STRIP
|
---|
| 4636 | fi
|
---|
| 4637 | else
|
---|
| 4638 | STRIP="$ac_cv_prog_STRIP"
|
---|
| 4639 | fi
|
---|
| 4640 |
|
---|
| 4641 |
|
---|
[26565] | 4642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
|
---|
[25149] | 4643 | $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
|
---|
[16566] | 4644 | arch_64bit=no
|
---|
| 4645 | case "$host_cpu" in
|
---|
| 4646 | x86_64) arch_64bit=yes ;;
|
---|
| 4647 | esac
|
---|
| 4648 |
|
---|
| 4649 | if test "$arch_64bit" = yes; then
|
---|
[26565] | 4650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4651 | $as_echo "yes" >&6; }
|
---|
| 4652 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 4653 | ARCH_DEP_FLAGS="-fPIC"
|
---|
[24901] | 4654 | gsdlarch='64'
|
---|
[16566] | 4655 | fi
|
---|
| 4656 | else
|
---|
[26565] | 4657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4658 | $as_echo "no" >&6; }
|
---|
| 4659 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 4660 | ARCH_DEP_FLAGS=
|
---|
[24901] | 4661 | gsdlarch='32'
|
---|
[16566] | 4662 | fi
|
---|
| 4663 | fi
|
---|
[21432] | 4664 |
|
---|
[25149] | 4665 | export ARCH_DEP_FLAGS
|
---|
[21432] | 4666 |
|
---|
[16566] | 4667 |
|
---|
| 4668 |
|
---|
| 4669 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 4670 | if test $USE_CORBA = 1; then
|
---|
| 4671 |
|
---|
| 4672 | if test $MICO_DIR = "default"; then
|
---|
| 4673 | #do something
|
---|
| 4674 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 4675 | else
|
---|
| 4676 | #build the micotest program
|
---|
| 4677 | MICO_INC= ""
|
---|
| 4678 | if test $MICO_DIR != yes; then
|
---|
| 4679 | MICO_INC="-I $MICO_DIR"
|
---|
| 4680 | fi
|
---|
| 4681 | fi
|
---|
| 4682 |
|
---|
| 4683 | #get MICO_VER value
|
---|
| 4684 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 4685 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
| 4686 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
| 4687 | sh -c "rm micotest"
|
---|
| 4688 | sh -c "rm micotest.o"
|
---|
| 4689 |
|
---|
| 4690 | #do test of MICO_VER
|
---|
| 4691 | if test MICO_VER != 0; then
|
---|
[26565] | 4692 | $as_echo "#define MICO_VER 1" >>confdefs.h
|
---|
[16566] | 4693 |
|
---|
| 4694 |
|
---|
| 4695 | fi
|
---|
| 4696 | #end USE_CORBA test
|
---|
| 4697 | fi
|
---|
| 4698 |
|
---|
| 4699 |
|
---|
| 4700 | ac_ext=c
|
---|
| 4701 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4702 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4703 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4704 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[26565] | 4705 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
[25149] | 4706 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[16566] | 4707 | # On Suns, sometimes $CPP names a directory.
|
---|
| 4708 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 4709 | CPP=
|
---|
| 4710 | fi
|
---|
| 4711 | if test -z "$CPP"; then
|
---|
[26565] | 4712 | if ${ac_cv_prog_CPP+:} false; then :
|
---|
[25149] | 4713 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4714 | else
|
---|
| 4715 | # Double quotes because CPP needs to be expanded
|
---|
| 4716 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 4717 | do
|
---|
| 4718 | ac_preproc_ok=false
|
---|
| 4719 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4720 | do
|
---|
| 4721 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4722 | # with a fresh cross-compiler works.
|
---|
| 4723 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4724 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4725 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4726 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[26565] | 4727 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4728 | /* end confdefs.h. */
|
---|
| 4729 | #ifdef __STDC__
|
---|
| 4730 | # include <limits.h>
|
---|
| 4731 | #else
|
---|
| 4732 | # include <assert.h>
|
---|
| 4733 | #endif
|
---|
| 4734 | Syntax error
|
---|
| 4735 | _ACEOF
|
---|
[26565] | 4736 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4737 |
|
---|
[24874] | 4738 | else
|
---|
[16566] | 4739 | # Broken: fails on valid input.
|
---|
| 4740 | continue
|
---|
| 4741 | fi
|
---|
[26565] | 4742 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4743 |
|
---|
| 4744 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16566] | 4745 | # can be detected and how.
|
---|
[26565] | 4746 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4747 | /* end confdefs.h. */
|
---|
| 4748 | #include <ac_nonexistent.h>
|
---|
| 4749 | _ACEOF
|
---|
[26565] | 4750 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16566] | 4751 | # Broken: success on invalid input.
|
---|
| 4752 | continue
|
---|
| 4753 | else
|
---|
| 4754 | # Passes both tests.
|
---|
| 4755 | ac_preproc_ok=:
|
---|
| 4756 | break
|
---|
| 4757 | fi
|
---|
[26565] | 4758 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4759 |
|
---|
[16566] | 4760 | done
|
---|
| 4761 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[26565] | 4762 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4763 | if $ac_preproc_ok; then :
|
---|
[16566] | 4764 | break
|
---|
| 4765 | fi
|
---|
| 4766 |
|
---|
| 4767 | done
|
---|
| 4768 | ac_cv_prog_CPP=$CPP
|
---|
| 4769 |
|
---|
| 4770 | fi
|
---|
| 4771 | CPP=$ac_cv_prog_CPP
|
---|
| 4772 | else
|
---|
| 4773 | ac_cv_prog_CPP=$CPP
|
---|
| 4774 | fi
|
---|
[26565] | 4775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
[25149] | 4776 | $as_echo "$CPP" >&6; }
|
---|
[16566] | 4777 | ac_preproc_ok=false
|
---|
| 4778 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4779 | do
|
---|
| 4780 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4781 | # with a fresh cross-compiler works.
|
---|
| 4782 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4783 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4784 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4785 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[26565] | 4786 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4787 | /* end confdefs.h. */
|
---|
| 4788 | #ifdef __STDC__
|
---|
| 4789 | # include <limits.h>
|
---|
| 4790 | #else
|
---|
| 4791 | # include <assert.h>
|
---|
| 4792 | #endif
|
---|
| 4793 | Syntax error
|
---|
| 4794 | _ACEOF
|
---|
[26565] | 4795 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4796 |
|
---|
[24874] | 4797 | else
|
---|
[16566] | 4798 | # Broken: fails on valid input.
|
---|
| 4799 | continue
|
---|
| 4800 | fi
|
---|
[26565] | 4801 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4802 |
|
---|
| 4803 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16566] | 4804 | # can be detected and how.
|
---|
[26565] | 4805 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4806 | /* end confdefs.h. */
|
---|
| 4807 | #include <ac_nonexistent.h>
|
---|
| 4808 | _ACEOF
|
---|
[26565] | 4809 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16566] | 4810 | # Broken: success on invalid input.
|
---|
| 4811 | continue
|
---|
| 4812 | else
|
---|
| 4813 | # Passes both tests.
|
---|
| 4814 | ac_preproc_ok=:
|
---|
| 4815 | break
|
---|
| 4816 | fi
|
---|
[26565] | 4817 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4818 |
|
---|
[16566] | 4819 | done
|
---|
| 4820 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[26565] | 4821 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4822 | if $ac_preproc_ok; then :
|
---|
| 4823 |
|
---|
[16566] | 4824 | else
|
---|
[26565] | 4825 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 4826 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 4827 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
| 4828 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 4829 | fi
|
---|
| 4830 |
|
---|
| 4831 | ac_ext=c
|
---|
| 4832 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4833 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4834 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4835 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4836 |
|
---|
| 4837 |
|
---|
[26565] | 4838 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
[25149] | 4839 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
[26565] | 4840 | if ${ac_cv_path_GREP+:} false; then :
|
---|
[25149] | 4841 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4842 | else
|
---|
[25149] | 4843 | if test -z "$GREP"; then
|
---|
| 4844 | ac_path_GREP_found=false
|
---|
| 4845 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4846 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4847 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4848 | do
|
---|
| 4849 | IFS=$as_save_IFS
|
---|
| 4850 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4851 | for ac_prog in grep ggrep; do
|
---|
[25149] | 4852 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4853 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4854 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4855 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 4856 | # Check for GNU $ac_path_GREP
|
---|
| 4857 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4858 | *GNU*)
|
---|
| 4859 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4860 | *)
|
---|
| 4861 | ac_count=0
|
---|
| 4862 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4863 | while :
|
---|
| 4864 | do
|
---|
| 4865 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4866 | mv "conftest.tmp" "conftest.in"
|
---|
| 4867 | cp "conftest.in" "conftest.nl"
|
---|
| 4868 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 4869 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4870 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[26565] | 4871 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
[25149] | 4872 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4873 | # Best one so far, save it but keep looking for a better one
|
---|
| 4874 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4875 | ac_path_GREP_max=$ac_count
|
---|
[16566] | 4876 | fi
|
---|
[25149] | 4877 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4878 | test $ac_count -gt 10 && break
|
---|
| 4879 | done
|
---|
| 4880 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4881 | esac
|
---|
[16566] | 4882 |
|
---|
[25149] | 4883 | $ac_path_GREP_found && break 3
|
---|
| 4884 | done
|
---|
| 4885 | done
|
---|
[26565] | 4886 | done
|
---|
[25149] | 4887 | IFS=$as_save_IFS
|
---|
| 4888 | if test -z "$ac_cv_path_GREP"; then
|
---|
[26565] | 4889 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[25149] | 4890 | fi
|
---|
[16566] | 4891 | else
|
---|
[25149] | 4892 | ac_cv_path_GREP=$GREP
|
---|
[16566] | 4893 | fi
|
---|
| 4894 |
|
---|
[25149] | 4895 | fi
|
---|
[26565] | 4896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
[25149] | 4897 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 4898 | GREP="$ac_cv_path_GREP"
|
---|
[16566] | 4899 |
|
---|
| 4900 |
|
---|
[26565] | 4901 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
[25149] | 4902 | $as_echo_n "checking for egrep... " >&6; }
|
---|
[26565] | 4903 | if ${ac_cv_path_EGREP+:} false; then :
|
---|
[25149] | 4904 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4905 | else
|
---|
[25149] | 4906 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4907 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4908 | else
|
---|
| 4909 | if test -z "$EGREP"; then
|
---|
| 4910 | ac_path_EGREP_found=false
|
---|
| 4911 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4912 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4913 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4914 | do
|
---|
| 4915 | IFS=$as_save_IFS
|
---|
| 4916 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4917 | for ac_prog in egrep; do
|
---|
[25149] | 4918 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4919 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4920 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4921 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4922 | # Check for GNU $ac_path_EGREP
|
---|
| 4923 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4924 | *GNU*)
|
---|
| 4925 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4926 | *)
|
---|
| 4927 | ac_count=0
|
---|
| 4928 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4929 | while :
|
---|
| 4930 | do
|
---|
| 4931 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4932 | mv "conftest.tmp" "conftest.in"
|
---|
| 4933 | cp "conftest.in" "conftest.nl"
|
---|
| 4934 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 4935 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4936 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[26565] | 4937 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
[25149] | 4938 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4939 | # Best one so far, save it but keep looking for a better one
|
---|
| 4940 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4941 | ac_path_EGREP_max=$ac_count
|
---|
| 4942 | fi
|
---|
| 4943 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4944 | test $ac_count -gt 10 && break
|
---|
| 4945 | done
|
---|
| 4946 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4947 | esac
|
---|
[16566] | 4948 |
|
---|
[25149] | 4949 | $ac_path_EGREP_found && break 3
|
---|
| 4950 | done
|
---|
| 4951 | done
|
---|
[26565] | 4952 | done
|
---|
[25149] | 4953 | IFS=$as_save_IFS
|
---|
| 4954 | if test -z "$ac_cv_path_EGREP"; then
|
---|
[26565] | 4955 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[25149] | 4956 | fi
|
---|
[16566] | 4957 | else
|
---|
[25149] | 4958 | ac_cv_path_EGREP=$EGREP
|
---|
[16566] | 4959 | fi
|
---|
| 4960 |
|
---|
[25149] | 4961 | fi
|
---|
[16566] | 4962 | fi
|
---|
[26565] | 4963 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
[25149] | 4964 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 4965 | EGREP="$ac_cv_path_EGREP"
|
---|
[16566] | 4966 |
|
---|
[25149] | 4967 |
|
---|
[26565] | 4968 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
[25149] | 4969 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[26565] | 4970 | if ${ac_cv_header_stdc+:} false; then :
|
---|
[25149] | 4971 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4972 | else
|
---|
[26565] | 4973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4974 | /* end confdefs.h. */
|
---|
| 4975 | #include <stdlib.h>
|
---|
| 4976 | #include <stdarg.h>
|
---|
| 4977 | #include <string.h>
|
---|
| 4978 | #include <float.h>
|
---|
| 4979 |
|
---|
| 4980 | int
|
---|
| 4981 | main ()
|
---|
| 4982 | {
|
---|
| 4983 |
|
---|
| 4984 | ;
|
---|
| 4985 | return 0;
|
---|
| 4986 | }
|
---|
| 4987 | _ACEOF
|
---|
[26565] | 4988 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 4989 | ac_cv_header_stdc=yes
|
---|
| 4990 | else
|
---|
[26565] | 4991 | ac_cv_header_stdc=no
|
---|
[16566] | 4992 | fi
|
---|
[25149] | 4993 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4994 |
|
---|
[16566] | 4995 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4996 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[26565] | 4997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4998 | /* end confdefs.h. */
|
---|
| 4999 | #include <string.h>
|
---|
| 5000 |
|
---|
| 5001 | _ACEOF
|
---|
| 5002 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5003 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5004 |
|
---|
[16566] | 5005 | else
|
---|
| 5006 | ac_cv_header_stdc=no
|
---|
| 5007 | fi
|
---|
| 5008 | rm -f conftest*
|
---|
| 5009 |
|
---|
| 5010 | fi
|
---|
| 5011 |
|
---|
| 5012 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5013 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[26565] | 5014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5015 | /* end confdefs.h. */
|
---|
| 5016 | #include <stdlib.h>
|
---|
| 5017 |
|
---|
| 5018 | _ACEOF
|
---|
| 5019 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5020 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5021 |
|
---|
[16566] | 5022 | else
|
---|
| 5023 | ac_cv_header_stdc=no
|
---|
| 5024 | fi
|
---|
| 5025 | rm -f conftest*
|
---|
| 5026 |
|
---|
| 5027 | fi
|
---|
| 5028 |
|
---|
| 5029 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5030 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[26565] | 5031 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 5032 | :
|
---|
| 5033 | else
|
---|
[26565] | 5034 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5035 | /* end confdefs.h. */
|
---|
| 5036 | #include <ctype.h>
|
---|
[25149] | 5037 | #include <stdlib.h>
|
---|
[16566] | 5038 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5039 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5040 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5041 | #else
|
---|
| 5042 | # define ISLOWER(c) \
|
---|
| 5043 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5044 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5045 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5046 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5047 | #endif
|
---|
| 5048 |
|
---|
| 5049 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5050 | int
|
---|
| 5051 | main ()
|
---|
| 5052 | {
|
---|
| 5053 | int i;
|
---|
| 5054 | for (i = 0; i < 256; i++)
|
---|
| 5055 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5056 | || toupper (i) != TOUPPER (i))
|
---|
[25149] | 5057 | return 2;
|
---|
| 5058 | return 0;
|
---|
[16566] | 5059 | }
|
---|
| 5060 | _ACEOF
|
---|
[26565] | 5061 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5062 |
|
---|
[24874] | 5063 | else
|
---|
[26565] | 5064 | ac_cv_header_stdc=no
|
---|
[16566] | 5065 | fi
|
---|
[26565] | 5066 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5067 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 5068 | fi
|
---|
[25149] | 5069 |
|
---|
[16566] | 5070 | fi
|
---|
| 5071 | fi
|
---|
[26565] | 5072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
[25149] | 5073 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16566] | 5074 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5075 |
|
---|
[26565] | 5076 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16566] | 5077 |
|
---|
| 5078 | fi
|
---|
| 5079 |
|
---|
| 5080 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
[24874] | 5081 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 5082 | inttypes.h stdint.h unistd.h
|
---|
[26565] | 5083 | do :
|
---|
| 5084 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5085 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 5086 | "
|
---|
| 5087 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[24874] | 5088 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5089 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[24874] | 5090 | _ACEOF
|
---|
[23356] | 5091 |
|
---|
[24874] | 5092 | fi
|
---|
[23356] | 5093 |
|
---|
[24874] | 5094 | done
|
---|
[23356] | 5095 |
|
---|
| 5096 |
|
---|
[25149] | 5097 |
|
---|
[26565] | 5098 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
---|
| 5099 | if test "x$ac_cv_header_minix_config_h" = xyes; then :
|
---|
[25149] | 5100 | MINIX=yes
|
---|
| 5101 | else
|
---|
| 5102 | MINIX=
|
---|
| 5103 | fi
|
---|
| 5104 |
|
---|
| 5105 |
|
---|
| 5106 | if test "$MINIX" = yes; then
|
---|
| 5107 |
|
---|
[26565] | 5108 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5109 |
|
---|
| 5110 |
|
---|
[26565] | 5111 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
---|
[25149] | 5112 |
|
---|
| 5113 |
|
---|
[26565] | 5114 | $as_echo "#define _MINIX 1" >>confdefs.h
|
---|
[25149] | 5115 |
|
---|
| 5116 | fi
|
---|
| 5117 |
|
---|
| 5118 |
|
---|
[26565] | 5119 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
[25149] | 5120 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
[26565] | 5121 | if ${ac_cv_safe_to_define___extensions__+:} false; then :
|
---|
[25149] | 5122 | $as_echo_n "(cached) " >&6
|
---|
| 5123 | else
|
---|
[26565] | 5124 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 5125 | /* end confdefs.h. */
|
---|
| 5126 |
|
---|
| 5127 | # define __EXTENSIONS__ 1
|
---|
| 5128 | $ac_includes_default
|
---|
| 5129 | int
|
---|
| 5130 | main ()
|
---|
| 5131 | {
|
---|
| 5132 |
|
---|
| 5133 | ;
|
---|
| 5134 | return 0;
|
---|
| 5135 | }
|
---|
| 5136 | _ACEOF
|
---|
[26565] | 5137 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 5138 | ac_cv_safe_to_define___extensions__=yes
|
---|
| 5139 | else
|
---|
[26565] | 5140 | ac_cv_safe_to_define___extensions__=no
|
---|
[25149] | 5141 | fi
|
---|
| 5142 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5143 | fi
|
---|
[26565] | 5144 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
[25149] | 5145 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 5146 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
[26565] | 5147 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
---|
[25149] | 5148 |
|
---|
[26565] | 5149 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5150 |
|
---|
[26565] | 5151 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5152 |
|
---|
[26565] | 5153 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
---|
[25149] | 5154 |
|
---|
[26565] | 5155 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5156 |
|
---|
| 5157 |
|
---|
[26565] | 5158 |
|
---|
| 5159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
|
---|
[25149] | 5160 | $as_echo_n "checking for library containing strerror... " >&6; }
|
---|
[26565] | 5161 | if ${ac_cv_search_strerror+:} false; then :
|
---|
[25149] | 5162 | $as_echo_n "(cached) " >&6
|
---|
| 5163 | else
|
---|
| 5164 | ac_func_search_save_LIBS=$LIBS
|
---|
[26565] | 5165 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 5166 | /* end confdefs.h. */
|
---|
| 5167 |
|
---|
| 5168 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5169 | Use char because int might match the return type of a GCC
|
---|
| 5170 | builtin and then its argument prototype would still apply. */
|
---|
| 5171 | #ifdef __cplusplus
|
---|
| 5172 | extern "C"
|
---|
| 5173 | #endif
|
---|
| 5174 | char strerror ();
|
---|
| 5175 | int
|
---|
| 5176 | main ()
|
---|
| 5177 | {
|
---|
| 5178 | return strerror ();
|
---|
| 5179 | ;
|
---|
| 5180 | return 0;
|
---|
| 5181 | }
|
---|
| 5182 | _ACEOF
|
---|
| 5183 | for ac_lib in '' cposix; do
|
---|
| 5184 | if test -z "$ac_lib"; then
|
---|
| 5185 | ac_res="none required"
|
---|
[24874] | 5186 | else
|
---|
[25149] | 5187 | ac_res=-l$ac_lib
|
---|
| 5188 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
[24874] | 5189 | fi
|
---|
[26565] | 5190 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5191 | ac_cv_search_strerror=$ac_res
|
---|
[16566] | 5192 | fi
|
---|
[26565] | 5193 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5194 | conftest$ac_exeext
|
---|
| 5195 | if ${ac_cv_search_strerror+:} false; then :
|
---|
[25149] | 5196 | break
|
---|
| 5197 | fi
|
---|
| 5198 | done
|
---|
[26565] | 5199 | if ${ac_cv_search_strerror+:} false; then :
|
---|
| 5200 |
|
---|
[25149] | 5201 | else
|
---|
| 5202 | ac_cv_search_strerror=no
|
---|
| 5203 | fi
|
---|
| 5204 | rm conftest.$ac_ext
|
---|
| 5205 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5206 | fi
|
---|
[26565] | 5207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
|
---|
[25149] | 5208 | $as_echo "$ac_cv_search_strerror" >&6; }
|
---|
| 5209 | ac_res=$ac_cv_search_strerror
|
---|
[26565] | 5210 | if test "$ac_res" != no; then :
|
---|
[25149] | 5211 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
| 5212 |
|
---|
| 5213 | fi
|
---|
| 5214 |
|
---|
| 5215 |
|
---|
[26565] | 5216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
[25149] | 5217 | $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
|
---|
[26565] | 5218 | if ${ac_cv_prog_cc_stdc+:} false; then :
|
---|
[25149] | 5219 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5220 | else
|
---|
| 5221 | ac_cv_prog_cc_stdc=no
|
---|
| 5222 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 5223 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 5224 | # breaks some systems' header files.
|
---|
| 5225 | # AIX -qlanglvl=ansi
|
---|
| 5226 | # Ultrix and OSF/1 -std1
|
---|
| 5227 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 5228 | # SVR4 -Xc
|
---|
| 5229 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 5230 | do
|
---|
| 5231 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[26565] | 5232 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5233 | /* end confdefs.h. */
|
---|
| 5234 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 5235 | choke me
|
---|
| 5236 | #endif
|
---|
| 5237 |
|
---|
| 5238 | int
|
---|
| 5239 | main ()
|
---|
| 5240 | {
|
---|
| 5241 | int test (int i, double x);
|
---|
| 5242 | struct s1 {int (*f) (int a);};
|
---|
| 5243 | struct s2 {int (*f) (double a);};
|
---|
| 5244 | ;
|
---|
| 5245 | return 0;
|
---|
| 5246 | }
|
---|
| 5247 | _ACEOF
|
---|
[26565] | 5248 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5249 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 5250 | fi
|
---|
[25149] | 5251 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5252 | done
|
---|
| 5253 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 5254 |
|
---|
| 5255 | fi
|
---|
| 5256 |
|
---|
[26565] | 5257 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
---|
[25149] | 5258 | $as_echo "$ac_cv_prog_cc_stdc" >&6; }
|
---|
[16566] | 5259 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 5260 | x|xno) ;;
|
---|
| 5261 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 5262 | esac
|
---|
| 5263 |
|
---|
| 5264 |
|
---|
[26565] | 5265 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
---|
[25149] | 5266 | $as_echo_n "checking for function prototypes... " >&6; }
|
---|
[16566] | 5267 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[26565] | 5268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 5269 | $as_echo "yes" >&6; }
|
---|
[26565] | 5270 | $as_echo "#define PROTOTYPES 1" >>confdefs.h
|
---|
[16566] | 5271 |
|
---|
| 5272 | U= ANSI2KNR=
|
---|
| 5273 | else
|
---|
[26565] | 5274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 5275 | $as_echo "no" >&6; }
|
---|
[16566] | 5276 | U=_ ANSI2KNR=ansi2knr
|
---|
| 5277 | fi
|
---|
| 5278 |
|
---|
[26565] | 5279 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
---|
[25149] | 5280 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
[26565] | 5281 | if ${ac_cv_c_const+:} false; then :
|
---|
[25149] | 5282 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5283 | else
|
---|
[26565] | 5284 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5285 | /* end confdefs.h. */
|
---|
| 5286 |
|
---|
| 5287 | int
|
---|
| 5288 | main ()
|
---|
| 5289 | {
|
---|
| 5290 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 5291 | #ifndef __cplusplus
|
---|
| 5292 | /* Ultrix mips cc rejects this. */
|
---|
| 5293 | typedef int charset[2];
|
---|
[25149] | 5294 | const charset cs;
|
---|
[16566] | 5295 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[25149] | 5296 | char const *const *pcpcc;
|
---|
| 5297 | char **ppc;
|
---|
[16566] | 5298 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 5299 | struct point {int x, y;};
|
---|
| 5300 | static struct point const zero = {0,0};
|
---|
| 5301 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 5302 | It does not let you subtract one const X* pointer from another in
|
---|
| 5303 | an arm of an if-expression whose if-part is not a constant
|
---|
| 5304 | expression */
|
---|
| 5305 | const char *g = "string";
|
---|
[25149] | 5306 | pcpcc = &g + (g ? g-g : 0);
|
---|
[16566] | 5307 | /* HPUX 7.0 cc rejects these. */
|
---|
[25149] | 5308 | ++pcpcc;
|
---|
| 5309 | ppc = (char**) pcpcc;
|
---|
| 5310 | pcpcc = (char const *const *) ppc;
|
---|
[16566] | 5311 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 5312 | char *t;
|
---|
| 5313 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 5314 |
|
---|
| 5315 | *t++ = 0;
|
---|
[25149] | 5316 | if (s) return 0;
|
---|
[16566] | 5317 | }
|
---|
| 5318 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 5319 | int x[] = {25, 17};
|
---|
| 5320 | const int *foo = &x[0];
|
---|
| 5321 | ++foo;
|
---|
| 5322 | }
|
---|
| 5323 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 5324 | typedef const int *iptr;
|
---|
| 5325 | iptr p = 0;
|
---|
| 5326 | ++p;
|
---|
| 5327 | }
|
---|
| 5328 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 5329 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 5330 | struct s { int j; const int *ap[3]; };
|
---|
| 5331 | struct s *b; b->j = 5;
|
---|
| 5332 | }
|
---|
| 5333 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 5334 | const int foo = 10;
|
---|
[25149] | 5335 | if (!foo) return 0;
|
---|
[16566] | 5336 | }
|
---|
[25149] | 5337 | return !cs[0] && !zero.x;
|
---|
[16566] | 5338 | #endif
|
---|
| 5339 |
|
---|
| 5340 | ;
|
---|
| 5341 | return 0;
|
---|
| 5342 | }
|
---|
| 5343 | _ACEOF
|
---|
[26565] | 5344 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5345 | ac_cv_c_const=yes
|
---|
| 5346 | else
|
---|
[26565] | 5347 | ac_cv_c_const=no
|
---|
[16566] | 5348 | fi
|
---|
[25149] | 5349 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5350 | fi
|
---|
[26565] | 5351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
---|
[25149] | 5352 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
[16566] | 5353 | if test $ac_cv_c_const = no; then
|
---|
| 5354 |
|
---|
[26565] | 5355 | $as_echo "#define const /**/" >>confdefs.h
|
---|
[16566] | 5356 |
|
---|
| 5357 | fi
|
---|
| 5358 |
|
---|
[26565] | 5359 | ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
---|
| 5360 | if test "x$ac_cv_type_off_t" = xyes; then :
|
---|
[16566] | 5361 |
|
---|
[25149] | 5362 | else
|
---|
| 5363 |
|
---|
[16566] | 5364 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5365 | #define off_t long int
|
---|
[16566] | 5366 | _ACEOF
|
---|
| 5367 |
|
---|
| 5368 | fi
|
---|
| 5369 |
|
---|
[26565] | 5370 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 5371 | if test "x$ac_cv_type_size_t" = xyes; then :
|
---|
[16566] | 5372 |
|
---|
[25149] | 5373 | else
|
---|
| 5374 |
|
---|
[16566] | 5375 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5376 | #define size_t unsigned int
|
---|
[16566] | 5377 | _ACEOF
|
---|
| 5378 |
|
---|
| 5379 | fi
|
---|
| 5380 |
|
---|
[26565] | 5381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
---|
[25149] | 5382 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
---|
[26565] | 5383 | if ${ac_cv_header_time+:} false; then :
|
---|
[25149] | 5384 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5385 | else
|
---|
[26565] | 5386 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5387 | /* end confdefs.h. */
|
---|
| 5388 | #include <sys/types.h>
|
---|
| 5389 | #include <sys/time.h>
|
---|
| 5390 | #include <time.h>
|
---|
| 5391 |
|
---|
| 5392 | int
|
---|
| 5393 | main ()
|
---|
| 5394 | {
|
---|
| 5395 | if ((struct tm *) 0)
|
---|
| 5396 | return 0;
|
---|
| 5397 | ;
|
---|
| 5398 | return 0;
|
---|
| 5399 | }
|
---|
| 5400 | _ACEOF
|
---|
[26565] | 5401 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5402 | ac_cv_header_time=yes
|
---|
| 5403 | else
|
---|
[26565] | 5404 | ac_cv_header_time=no
|
---|
[16566] | 5405 | fi
|
---|
[25149] | 5406 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5407 | fi
|
---|
[26565] | 5408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
---|
[25149] | 5409 | $as_echo "$ac_cv_header_time" >&6; }
|
---|
[16566] | 5410 | if test $ac_cv_header_time = yes; then
|
---|
| 5411 |
|
---|
[26565] | 5412 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
---|
[16566] | 5413 |
|
---|
| 5414 | fi
|
---|
| 5415 |
|
---|
[26565] | 5416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
[25149] | 5417 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
---|
[26565] | 5418 | if ${ac_cv_struct_tm+:} false; then :
|
---|
[25149] | 5419 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5420 | else
|
---|
[26565] | 5421 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5422 | /* end confdefs.h. */
|
---|
| 5423 | #include <sys/types.h>
|
---|
| 5424 | #include <time.h>
|
---|
| 5425 |
|
---|
| 5426 | int
|
---|
| 5427 | main ()
|
---|
| 5428 | {
|
---|
[25149] | 5429 | struct tm tm;
|
---|
| 5430 | int *p = &tm.tm_sec;
|
---|
| 5431 | return !p;
|
---|
[16566] | 5432 | ;
|
---|
| 5433 | return 0;
|
---|
| 5434 | }
|
---|
| 5435 | _ACEOF
|
---|
[26565] | 5436 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5437 | ac_cv_struct_tm=time.h
|
---|
| 5438 | else
|
---|
[26565] | 5439 | ac_cv_struct_tm=sys/time.h
|
---|
[16566] | 5440 | fi
|
---|
[25149] | 5441 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5442 | fi
|
---|
[26565] | 5443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
---|
[25149] | 5444 | $as_echo "$ac_cv_struct_tm" >&6; }
|
---|
[16566] | 5445 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5446 |
|
---|
[26565] | 5447 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
---|
[16566] | 5448 |
|
---|
| 5449 | fi
|
---|
| 5450 |
|
---|
| 5451 |
|
---|
| 5452 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[26565] | 5453 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5454 | /* end confdefs.h. */
|
---|
| 5455 | #include <stdio.h>
|
---|
| 5456 |
|
---|
| 5457 | int
|
---|
| 5458 | main ()
|
---|
| 5459 | {
|
---|
| 5460 | FILE *rubbish = popen("yes", "r");
|
---|
| 5461 | ;
|
---|
| 5462 | return 0;
|
---|
| 5463 | }
|
---|
| 5464 | _ACEOF
|
---|
[26565] | 5465 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5466 |
|
---|
[24874] | 5467 | else
|
---|
[26565] | 5468 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[16566] | 5469 | fi
|
---|
[25149] | 5470 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5471 | fi
|
---|
| 5472 |
|
---|
| 5473 |
|
---|
[26565] | 5474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
|
---|
[25149] | 5475 | $as_echo_n "checking for main in -lg... " >&6; }
|
---|
[26565] | 5476 | if ${ac_cv_lib_g_main+:} false; then :
|
---|
[25149] | 5477 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5478 | else
|
---|
| 5479 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5480 | LIBS="-lg $LIBS"
|
---|
[26565] | 5481 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5482 | /* end confdefs.h. */
|
---|
| 5483 |
|
---|
| 5484 |
|
---|
| 5485 | int
|
---|
| 5486 | main ()
|
---|
| 5487 | {
|
---|
[25149] | 5488 | return main ();
|
---|
[16566] | 5489 | ;
|
---|
| 5490 | return 0;
|
---|
| 5491 | }
|
---|
| 5492 | _ACEOF
|
---|
[26565] | 5493 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5494 | ac_cv_lib_g_main=yes
|
---|
| 5495 | else
|
---|
[26565] | 5496 | ac_cv_lib_g_main=no
|
---|
[16566] | 5497 | fi
|
---|
[26565] | 5498 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5499 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5500 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5501 | fi
|
---|
[26565] | 5502 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
|
---|
[25149] | 5503 | $as_echo "$ac_cv_lib_g_main" >&6; }
|
---|
[26565] | 5504 | if test "x$ac_cv_lib_g_main" = xyes; then :
|
---|
[16566] | 5505 | cat >>confdefs.h <<_ACEOF
|
---|
| 5506 | #define HAVE_LIBG 1
|
---|
| 5507 | _ACEOF
|
---|
| 5508 |
|
---|
| 5509 | LIBS="-lg $LIBS"
|
---|
| 5510 |
|
---|
| 5511 | fi
|
---|
| 5512 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
| 5513 |
|
---|
[26565] | 5514 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
---|
[25149] | 5515 | $as_echo_n "checking for main in -lm... " >&6; }
|
---|
[26565] | 5516 | if ${ac_cv_lib_m_main+:} false; then :
|
---|
[25149] | 5517 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5518 | else
|
---|
| 5519 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5520 | LIBS="-lm $LIBS"
|
---|
[26565] | 5521 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5522 | /* end confdefs.h. */
|
---|
| 5523 |
|
---|
| 5524 |
|
---|
| 5525 | int
|
---|
| 5526 | main ()
|
---|
| 5527 | {
|
---|
[25149] | 5528 | return main ();
|
---|
[16566] | 5529 | ;
|
---|
| 5530 | return 0;
|
---|
| 5531 | }
|
---|
| 5532 | _ACEOF
|
---|
[26565] | 5533 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5534 | ac_cv_lib_m_main=yes
|
---|
| 5535 | else
|
---|
[26565] | 5536 | ac_cv_lib_m_main=no
|
---|
[16566] | 5537 | fi
|
---|
[26565] | 5538 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5539 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5540 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5541 | fi
|
---|
[26565] | 5542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
---|
[25149] | 5543 | $as_echo "$ac_cv_lib_m_main" >&6; }
|
---|
[26565] | 5544 | if test "x$ac_cv_lib_m_main" = xyes; then :
|
---|
[16566] | 5545 | cat >>confdefs.h <<_ACEOF
|
---|
| 5546 | #define HAVE_LIBM 1
|
---|
| 5547 | _ACEOF
|
---|
| 5548 |
|
---|
| 5549 | LIBS="-lm $LIBS"
|
---|
| 5550 |
|
---|
| 5551 | fi
|
---|
| 5552 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
| 5553 |
|
---|
[26565] | 5554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
|
---|
[25149] | 5555 | $as_echo_n "checking for main in -lcrypt... " >&6; }
|
---|
[26565] | 5556 | if ${ac_cv_lib_crypt_main+:} false; then :
|
---|
[25149] | 5557 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5558 | else
|
---|
| 5559 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5560 | LIBS="-lcrypt $LIBS"
|
---|
[26565] | 5561 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5562 | /* end confdefs.h. */
|
---|
| 5563 |
|
---|
| 5564 |
|
---|
| 5565 | int
|
---|
| 5566 | main ()
|
---|
| 5567 | {
|
---|
[25149] | 5568 | return main ();
|
---|
[16566] | 5569 | ;
|
---|
| 5570 | return 0;
|
---|
| 5571 | }
|
---|
| 5572 | _ACEOF
|
---|
[26565] | 5573 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5574 | ac_cv_lib_crypt_main=yes
|
---|
| 5575 | else
|
---|
[26565] | 5576 | ac_cv_lib_crypt_main=no
|
---|
[16566] | 5577 | fi
|
---|
[26565] | 5578 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5579 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5580 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5581 | fi
|
---|
[26565] | 5582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
|
---|
[25149] | 5583 | $as_echo "$ac_cv_lib_crypt_main" >&6; }
|
---|
[26565] | 5584 | if test "x$ac_cv_lib_crypt_main" = xyes; then :
|
---|
[16566] | 5585 | cat >>confdefs.h <<_ACEOF
|
---|
| 5586 | #define HAVE_LIBCRYPT 1
|
---|
| 5587 | _ACEOF
|
---|
| 5588 |
|
---|
| 5589 | LIBS="-lcrypt $LIBS"
|
---|
| 5590 |
|
---|
| 5591 | fi
|
---|
| 5592 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 5593 |
|
---|
[20846] | 5594 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 5595 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 5596 | #fi
|
---|
[16566] | 5597 |
|
---|
| 5598 | ac_header_dirent=no
|
---|
| 5599 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[25149] | 5600 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
[26565] | 5601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
---|
[25149] | 5602 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
---|
[26565] | 5603 | if eval \${$as_ac_Header+:} false; then :
|
---|
[25149] | 5604 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5605 | else
|
---|
[26565] | 5606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5607 | /* end confdefs.h. */
|
---|
| 5608 | #include <sys/types.h>
|
---|
| 5609 | #include <$ac_hdr>
|
---|
| 5610 |
|
---|
| 5611 | int
|
---|
| 5612 | main ()
|
---|
| 5613 | {
|
---|
| 5614 | if ((DIR *) 0)
|
---|
| 5615 | return 0;
|
---|
| 5616 | ;
|
---|
| 5617 | return 0;
|
---|
| 5618 | }
|
---|
| 5619 | _ACEOF
|
---|
[26565] | 5620 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5621 | eval "$as_ac_Header=yes"
|
---|
| 5622 | else
|
---|
[26565] | 5623 | eval "$as_ac_Header=no"
|
---|
[16566] | 5624 | fi
|
---|
[25149] | 5625 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5626 | fi
|
---|
[26565] | 5627 | eval ac_res=\$$as_ac_Header
|
---|
| 5628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
[25149] | 5629 | $as_echo "$ac_res" >&6; }
|
---|
[26565] | 5630 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16566] | 5631 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5632 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[16566] | 5633 | _ACEOF
|
---|
| 5634 |
|
---|
| 5635 | ac_header_dirent=$ac_hdr; break
|
---|
| 5636 | fi
|
---|
| 5637 |
|
---|
| 5638 | done
|
---|
| 5639 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5640 | if test $ac_header_dirent = dirent.h; then
|
---|
[26565] | 5641 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
[25149] | 5642 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[26565] | 5643 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5644 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5645 | else
|
---|
| 5646 | ac_func_search_save_LIBS=$LIBS
|
---|
[26565] | 5647 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5648 | /* end confdefs.h. */
|
---|
| 5649 |
|
---|
[25149] | 5650 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5651 | Use char because int might match the return type of a GCC
|
---|
| 5652 | builtin and then its argument prototype would still apply. */
|
---|
[16566] | 5653 | #ifdef __cplusplus
|
---|
| 5654 | extern "C"
|
---|
| 5655 | #endif
|
---|
| 5656 | char opendir ();
|
---|
| 5657 | int
|
---|
| 5658 | main ()
|
---|
| 5659 | {
|
---|
[25149] | 5660 | return opendir ();
|
---|
[16566] | 5661 | ;
|
---|
| 5662 | return 0;
|
---|
| 5663 | }
|
---|
| 5664 | _ACEOF
|
---|
[25149] | 5665 | for ac_lib in '' dir; do
|
---|
| 5666 | if test -z "$ac_lib"; then
|
---|
| 5667 | ac_res="none required"
|
---|
| 5668 | else
|
---|
| 5669 | ac_res=-l$ac_lib
|
---|
| 5670 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5671 | fi
|
---|
[26565] | 5672 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5673 | ac_cv_search_opendir=$ac_res
|
---|
[24874] | 5674 | fi
|
---|
[26565] | 5675 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5676 | conftest$ac_exeext
|
---|
| 5677 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5678 | break
|
---|
| 5679 | fi
|
---|
| 5680 | done
|
---|
[26565] | 5681 | if ${ac_cv_search_opendir+:} false; then :
|
---|
| 5682 |
|
---|
[16566] | 5683 | else
|
---|
[25149] | 5684 | ac_cv_search_opendir=no
|
---|
[16566] | 5685 | fi
|
---|
[25149] | 5686 | rm conftest.$ac_ext
|
---|
[16566] | 5687 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5688 | fi
|
---|
[26565] | 5689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
[25149] | 5690 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5691 | ac_res=$ac_cv_search_opendir
|
---|
[26565] | 5692 | if test "$ac_res" != no; then :
|
---|
[25149] | 5693 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16566] | 5694 |
|
---|
| 5695 | fi
|
---|
| 5696 |
|
---|
| 5697 | else
|
---|
[26565] | 5698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
[25149] | 5699 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[26565] | 5700 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5701 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5702 | else
|
---|
| 5703 | ac_func_search_save_LIBS=$LIBS
|
---|
[26565] | 5704 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5705 | /* end confdefs.h. */
|
---|
| 5706 |
|
---|
[25149] | 5707 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5708 | Use char because int might match the return type of a GCC
|
---|
| 5709 | builtin and then its argument prototype would still apply. */
|
---|
[16566] | 5710 | #ifdef __cplusplus
|
---|
| 5711 | extern "C"
|
---|
| 5712 | #endif
|
---|
| 5713 | char opendir ();
|
---|
| 5714 | int
|
---|
| 5715 | main ()
|
---|
| 5716 | {
|
---|
[25149] | 5717 | return opendir ();
|
---|
[16566] | 5718 | ;
|
---|
| 5719 | return 0;
|
---|
| 5720 | }
|
---|
| 5721 | _ACEOF
|
---|
[25149] | 5722 | for ac_lib in '' x; do
|
---|
| 5723 | if test -z "$ac_lib"; then
|
---|
| 5724 | ac_res="none required"
|
---|
| 5725 | else
|
---|
| 5726 | ac_res=-l$ac_lib
|
---|
| 5727 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5728 | fi
|
---|
[26565] | 5729 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5730 | ac_cv_search_opendir=$ac_res
|
---|
[24874] | 5731 | fi
|
---|
[26565] | 5732 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5733 | conftest$ac_exeext
|
---|
| 5734 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5735 | break
|
---|
| 5736 | fi
|
---|
| 5737 | done
|
---|
[26565] | 5738 | if ${ac_cv_search_opendir+:} false; then :
|
---|
| 5739 |
|
---|
[16566] | 5740 | else
|
---|
[25149] | 5741 | ac_cv_search_opendir=no
|
---|
[16566] | 5742 | fi
|
---|
[25149] | 5743 | rm conftest.$ac_ext
|
---|
[16566] | 5744 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5745 | fi
|
---|
[26565] | 5746 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
[25149] | 5747 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5748 | ac_res=$ac_cv_search_opendir
|
---|
[26565] | 5749 | if test "$ac_res" != no; then :
|
---|
[25149] | 5750 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16566] | 5751 |
|
---|
| 5752 | fi
|
---|
| 5753 |
|
---|
| 5754 | fi
|
---|
| 5755 |
|
---|
[26565] | 5756 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
[25149] | 5757 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[26565] | 5758 | if ${ac_cv_header_stdc+:} false; then :
|
---|
[25149] | 5759 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5760 | else
|
---|
[26565] | 5761 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5762 | /* end confdefs.h. */
|
---|
| 5763 | #include <stdlib.h>
|
---|
| 5764 | #include <stdarg.h>
|
---|
| 5765 | #include <string.h>
|
---|
| 5766 | #include <float.h>
|
---|
| 5767 |
|
---|
| 5768 | int
|
---|
| 5769 | main ()
|
---|
| 5770 | {
|
---|
| 5771 |
|
---|
| 5772 | ;
|
---|
| 5773 | return 0;
|
---|
| 5774 | }
|
---|
| 5775 | _ACEOF
|
---|
[26565] | 5776 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5777 | ac_cv_header_stdc=yes
|
---|
| 5778 | else
|
---|
[26565] | 5779 | ac_cv_header_stdc=no
|
---|
[16566] | 5780 | fi
|
---|
[25149] | 5781 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5782 |
|
---|
[16566] | 5783 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5784 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[26565] | 5785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5786 | /* end confdefs.h. */
|
---|
| 5787 | #include <string.h>
|
---|
| 5788 |
|
---|
| 5789 | _ACEOF
|
---|
| 5790 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5791 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5792 |
|
---|
[16566] | 5793 | else
|
---|
| 5794 | ac_cv_header_stdc=no
|
---|
| 5795 | fi
|
---|
| 5796 | rm -f conftest*
|
---|
| 5797 |
|
---|
| 5798 | fi
|
---|
| 5799 |
|
---|
| 5800 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5801 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[26565] | 5802 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5803 | /* end confdefs.h. */
|
---|
| 5804 | #include <stdlib.h>
|
---|
| 5805 |
|
---|
| 5806 | _ACEOF
|
---|
| 5807 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5808 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5809 |
|
---|
[16566] | 5810 | else
|
---|
| 5811 | ac_cv_header_stdc=no
|
---|
| 5812 | fi
|
---|
| 5813 | rm -f conftest*
|
---|
| 5814 |
|
---|
| 5815 | fi
|
---|
| 5816 |
|
---|
| 5817 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5818 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[26565] | 5819 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 5820 | :
|
---|
| 5821 | else
|
---|
[26565] | 5822 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5823 | /* end confdefs.h. */
|
---|
| 5824 | #include <ctype.h>
|
---|
[25149] | 5825 | #include <stdlib.h>
|
---|
[16566] | 5826 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5827 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5828 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5829 | #else
|
---|
| 5830 | # define ISLOWER(c) \
|
---|
| 5831 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5832 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5833 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5834 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5835 | #endif
|
---|
| 5836 |
|
---|
| 5837 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5838 | int
|
---|
| 5839 | main ()
|
---|
| 5840 | {
|
---|
| 5841 | int i;
|
---|
| 5842 | for (i = 0; i < 256; i++)
|
---|
| 5843 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5844 | || toupper (i) != TOUPPER (i))
|
---|
[25149] | 5845 | return 2;
|
---|
| 5846 | return 0;
|
---|
[16566] | 5847 | }
|
---|
| 5848 | _ACEOF
|
---|
[26565] | 5849 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5850 |
|
---|
[24874] | 5851 | else
|
---|
[26565] | 5852 | ac_cv_header_stdc=no
|
---|
[16566] | 5853 | fi
|
---|
[26565] | 5854 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5855 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 5856 | fi
|
---|
[25149] | 5857 |
|
---|
[16566] | 5858 | fi
|
---|
| 5859 | fi
|
---|
[26565] | 5860 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
[25149] | 5861 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16566] | 5862 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5863 |
|
---|
[26565] | 5864 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16566] | 5865 |
|
---|
| 5866 | fi
|
---|
| 5867 |
|
---|
| 5868 | 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
|
---|
[26565] | 5869 | do :
|
---|
| 5870 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5871 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
---|
| 5872 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16566] | 5873 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5874 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[16566] | 5875 | _ACEOF
|
---|
| 5876 |
|
---|
| 5877 | fi
|
---|
| 5878 |
|
---|
| 5879 | done
|
---|
| 5880 |
|
---|
[26565] | 5881 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5882 | /* end confdefs.h. */
|
---|
| 5883 | #include <stdio.h>
|
---|
| 5884 |
|
---|
| 5885 | _ACEOF
|
---|
| 5886 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5887 | $EGREP "fread" >/dev/null 2>&1; then :
|
---|
| 5888 | $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
|
---|
[16566] | 5889 |
|
---|
| 5890 | fi
|
---|
| 5891 | rm -f conftest*
|
---|
| 5892 |
|
---|
[26565] | 5893 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5894 | /* end confdefs.h. */
|
---|
| 5895 | #include <stdio.h>
|
---|
| 5896 |
|
---|
| 5897 | _ACEOF
|
---|
| 5898 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5899 | $EGREP "fgetc" >/dev/null 2>&1; then :
|
---|
| 5900 | $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
|
---|
[16566] | 5901 |
|
---|
| 5902 | fi
|
---|
| 5903 | rm -f conftest*
|
---|
| 5904 |
|
---|
[26565] | 5905 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5906 | /* end confdefs.h. */
|
---|
| 5907 | #include <sys/procfs.h>
|
---|
| 5908 |
|
---|
| 5909 | _ACEOF
|
---|
| 5910 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5911 | $EGREP "pr_brksize" >/dev/null 2>&1; then :
|
---|
| 5912 | $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
|
---|
[16566] | 5913 |
|
---|
| 5914 | fi
|
---|
| 5915 | rm -f conftest*
|
---|
| 5916 |
|
---|
| 5917 |
|
---|
| 5918 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5919 | # for constant arguments. Useless!
|
---|
[26565] | 5920 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
---|
[25149] | 5921 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
[26565] | 5922 | if ${ac_cv_working_alloca_h+:} false; then :
|
---|
[25149] | 5923 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5924 | else
|
---|
[26565] | 5925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5926 | /* end confdefs.h. */
|
---|
| 5927 | #include <alloca.h>
|
---|
| 5928 | int
|
---|
| 5929 | main ()
|
---|
| 5930 | {
|
---|
| 5931 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[25149] | 5932 | if (p) return 0;
|
---|
[16566] | 5933 | ;
|
---|
| 5934 | return 0;
|
---|
| 5935 | }
|
---|
| 5936 | _ACEOF
|
---|
[26565] | 5937 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5938 | ac_cv_working_alloca_h=yes
|
---|
| 5939 | else
|
---|
[26565] | 5940 | ac_cv_working_alloca_h=no
|
---|
[16566] | 5941 | fi
|
---|
[26565] | 5942 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5943 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5944 | fi
|
---|
[26565] | 5945 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
---|
[25149] | 5946 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
[16566] | 5947 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 5948 |
|
---|
[26565] | 5949 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
---|
[16566] | 5950 |
|
---|
| 5951 | fi
|
---|
| 5952 |
|
---|
[26565] | 5953 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
---|
[25149] | 5954 | $as_echo_n "checking for alloca... " >&6; }
|
---|
[26565] | 5955 | if ${ac_cv_func_alloca_works+:} false; then :
|
---|
[25149] | 5956 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5957 | else
|
---|
[26565] | 5958 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5959 | /* end confdefs.h. */
|
---|
| 5960 | #ifdef __GNUC__
|
---|
| 5961 | # define alloca __builtin_alloca
|
---|
| 5962 | #else
|
---|
| 5963 | # ifdef _MSC_VER
|
---|
| 5964 | # include <malloc.h>
|
---|
| 5965 | # define alloca _alloca
|
---|
| 5966 | # else
|
---|
[25149] | 5967 | # ifdef HAVE_ALLOCA_H
|
---|
[16566] | 5968 | # include <alloca.h>
|
---|
| 5969 | # else
|
---|
| 5970 | # ifdef _AIX
|
---|
| 5971 | #pragma alloca
|
---|
| 5972 | # else
|
---|
| 5973 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
[26565] | 5974 | void *alloca (size_t);
|
---|
[16566] | 5975 | # endif
|
---|
| 5976 | # endif
|
---|
| 5977 | # endif
|
---|
| 5978 | # endif
|
---|
| 5979 | #endif
|
---|
| 5980 |
|
---|
| 5981 | int
|
---|
| 5982 | main ()
|
---|
| 5983 | {
|
---|
| 5984 | char *p = (char *) alloca (1);
|
---|
[25149] | 5985 | if (p) return 0;
|
---|
[16566] | 5986 | ;
|
---|
| 5987 | return 0;
|
---|
| 5988 | }
|
---|
| 5989 | _ACEOF
|
---|
[26565] | 5990 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5991 | ac_cv_func_alloca_works=yes
|
---|
| 5992 | else
|
---|
[26565] | 5993 | ac_cv_func_alloca_works=no
|
---|
[16566] | 5994 | fi
|
---|
[26565] | 5995 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5996 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5997 | fi
|
---|
[26565] | 5998 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
---|
[25149] | 5999 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
[16566] | 6000 |
|
---|
| 6001 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 6002 |
|
---|
[26565] | 6003 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
---|
[16566] | 6004 |
|
---|
| 6005 | else
|
---|
| 6006 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 6007 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 6008 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 6009 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 6010 |
|
---|
[25149] | 6011 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[16566] | 6012 |
|
---|
[26565] | 6013 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
|
---|
[16566] | 6014 |
|
---|
| 6015 |
|
---|
[26565] | 6016 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
[25149] | 6017 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
[26565] | 6018 | if ${ac_cv_os_cray+:} false; then :
|
---|
[25149] | 6019 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6020 | else
|
---|
[26565] | 6021 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6022 | /* end confdefs.h. */
|
---|
[25149] | 6023 | #if defined CRAY && ! defined CRAY2
|
---|
[16566] | 6024 | webecray
|
---|
| 6025 | #else
|
---|
| 6026 | wenotbecray
|
---|
| 6027 | #endif
|
---|
| 6028 |
|
---|
| 6029 | _ACEOF
|
---|
| 6030 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 6031 | $EGREP "webecray" >/dev/null 2>&1; then :
|
---|
[16566] | 6032 | ac_cv_os_cray=yes
|
---|
| 6033 | else
|
---|
| 6034 | ac_cv_os_cray=no
|
---|
| 6035 | fi
|
---|
| 6036 | rm -f conftest*
|
---|
| 6037 |
|
---|
| 6038 | fi
|
---|
[26565] | 6039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
---|
[25149] | 6040 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
[16566] | 6041 | if test $ac_cv_os_cray = yes; then
|
---|
| 6042 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[25149] | 6043 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[26565] | 6044 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 6045 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16566] | 6046 |
|
---|
| 6047 | cat >>confdefs.h <<_ACEOF
|
---|
| 6048 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 6049 | _ACEOF
|
---|
| 6050 |
|
---|
| 6051 | break
|
---|
| 6052 | fi
|
---|
| 6053 |
|
---|
| 6054 | done
|
---|
| 6055 | fi
|
---|
| 6056 |
|
---|
[26565] | 6057 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
---|
[25149] | 6058 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
[26565] | 6059 | if ${ac_cv_c_stack_direction+:} false; then :
|
---|
[25149] | 6060 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6061 | else
|
---|
[26565] | 6062 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 6063 | ac_cv_c_stack_direction=0
|
---|
| 6064 | else
|
---|
[26565] | 6065 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6066 | /* end confdefs.h. */
|
---|
[25149] | 6067 | $ac_includes_default
|
---|
[16566] | 6068 | int
|
---|
| 6069 | find_stack_direction ()
|
---|
| 6070 | {
|
---|
| 6071 | static char *addr = 0;
|
---|
| 6072 | auto char dummy;
|
---|
| 6073 | if (addr == 0)
|
---|
| 6074 | {
|
---|
| 6075 | addr = &dummy;
|
---|
| 6076 | return find_stack_direction ();
|
---|
| 6077 | }
|
---|
| 6078 | else
|
---|
| 6079 | return (&dummy > addr) ? 1 : -1;
|
---|
| 6080 | }
|
---|
| 6081 |
|
---|
| 6082 | int
|
---|
| 6083 | main ()
|
---|
| 6084 | {
|
---|
[25149] | 6085 | return find_stack_direction () < 0;
|
---|
[16566] | 6086 | }
|
---|
| 6087 | _ACEOF
|
---|
[26565] | 6088 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
[16566] | 6089 | ac_cv_c_stack_direction=1
|
---|
| 6090 | else
|
---|
[26565] | 6091 | ac_cv_c_stack_direction=-1
|
---|
[16566] | 6092 | fi
|
---|
[26565] | 6093 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6094 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 6095 | fi
|
---|
[25149] | 6096 |
|
---|
[24874] | 6097 | fi
|
---|
[26565] | 6098 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
---|
[25149] | 6099 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
[16566] | 6100 | cat >>confdefs.h <<_ACEOF
|
---|
| 6101 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 6102 | _ACEOF
|
---|
| 6103 |
|
---|
| 6104 |
|
---|
| 6105 | fi
|
---|
| 6106 |
|
---|
| 6107 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[26565] | 6108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
---|
[25149] | 6109 | $as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
---|
[26565] | 6110 | if ${ac_cv_prog_gcc_traditional+:} false; then :
|
---|
[25149] | 6111 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6112 | else
|
---|
| 6113 | ac_pattern="Autoconf.*'x'"
|
---|
[26565] | 6114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6115 | /* end confdefs.h. */
|
---|
| 6116 | #include <sgtty.h>
|
---|
| 6117 | Autoconf TIOCGETP
|
---|
| 6118 | _ACEOF
|
---|
| 6119 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 6120 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16566] | 6121 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6122 | else
|
---|
| 6123 | ac_cv_prog_gcc_traditional=no
|
---|
| 6124 | fi
|
---|
| 6125 | rm -f conftest*
|
---|
| 6126 |
|
---|
| 6127 |
|
---|
| 6128 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[26565] | 6129 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6130 | /* end confdefs.h. */
|
---|
| 6131 | #include <termio.h>
|
---|
| 6132 | Autoconf TCGETA
|
---|
| 6133 | _ACEOF
|
---|
| 6134 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 6135 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16566] | 6136 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6137 | fi
|
---|
| 6138 | rm -f conftest*
|
---|
| 6139 |
|
---|
| 6140 | fi
|
---|
| 6141 | fi
|
---|
[26565] | 6142 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
[25149] | 6143 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[16566] | 6144 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 6145 | CC="$CC -traditional"
|
---|
| 6146 | fi
|
---|
| 6147 | fi
|
---|
| 6148 |
|
---|
[26565] | 6149 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
---|
[25149] | 6150 | $as_echo_n "checking return type of signal handlers... " >&6; }
|
---|
[26565] | 6151 | if ${ac_cv_type_signal+:} false; then :
|
---|
[25149] | 6152 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6153 | else
|
---|
[26565] | 6154 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6155 | /* end confdefs.h. */
|
---|
| 6156 | #include <sys/types.h>
|
---|
| 6157 | #include <signal.h>
|
---|
| 6158 |
|
---|
| 6159 | int
|
---|
| 6160 | main ()
|
---|
| 6161 | {
|
---|
[25149] | 6162 | return *(signal (0, 0)) (0) == 1;
|
---|
[16566] | 6163 | ;
|
---|
| 6164 | return 0;
|
---|
| 6165 | }
|
---|
| 6166 | _ACEOF
|
---|
[26565] | 6167 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 6168 | ac_cv_type_signal=int
|
---|
[23356] | 6169 | else
|
---|
[26565] | 6170 | ac_cv_type_signal=void
|
---|
[16566] | 6171 | fi
|
---|
[25149] | 6172 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6173 | fi
|
---|
[26565] | 6174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
---|
[25149] | 6175 | $as_echo "$ac_cv_type_signal" >&6; }
|
---|
[16566] | 6176 |
|
---|
| 6177 | cat >>confdefs.h <<_ACEOF
|
---|
| 6178 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 6179 | _ACEOF
|
---|
| 6180 |
|
---|
| 6181 |
|
---|
| 6182 | for ac_func in vprintf
|
---|
[26565] | 6183 | do :
|
---|
| 6184 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
---|
| 6185 | if test "x$ac_cv_func_vprintf" = xyes; then :
|
---|
[16566] | 6186 | cat >>confdefs.h <<_ACEOF
|
---|
[26565] | 6187 | #define HAVE_VPRINTF 1
|
---|
[16566] | 6188 | _ACEOF
|
---|
| 6189 |
|
---|
[26565] | 6190 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
---|
| 6191 | if test "x$ac_cv_func__doprnt" = xyes; then :
|
---|
[16566] | 6192 |
|
---|
[26565] | 6193 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
---|
[16566] | 6194 |
|
---|
| 6195 | fi
|
---|
[25149] | 6196 |
|
---|
[24874] | 6197 | fi
|
---|
[16566] | 6198 | done
|
---|
| 6199 |
|
---|
| 6200 |
|
---|
| 6201 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[26565] | 6202 | do :
|
---|
| 6203 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6204 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 6205 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16566] | 6206 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 6207 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16566] | 6208 | _ACEOF
|
---|
| 6209 |
|
---|
| 6210 | fi
|
---|
| 6211 | done
|
---|
| 6212 |
|
---|
[26565] | 6213 | ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
|
---|
| 6214 | if test "x$ac_cv_func_ftruncate" = xyes; then :
|
---|
| 6215 | $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
|
---|
[16566] | 6216 |
|
---|
| 6217 | else
|
---|
[26565] | 6218 | case " $LIBOBJS " in
|
---|
| 6219 | *" ftruncate.$ac_objext "* ) ;;
|
---|
| 6220 | *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
|
---|
| 6221 | ;;
|
---|
[25149] | 6222 | esac
|
---|
[16566] | 6223 |
|
---|
| 6224 | fi
|
---|
[25149] | 6225 |
|
---|
[26565] | 6226 | ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
|
---|
| 6227 | if test "x$ac_cv_func_strstr" = xyes; then :
|
---|
| 6228 | $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
|
---|
[16566] | 6229 |
|
---|
| 6230 | else
|
---|
[25149] | 6231 | case " $LIBOBJS " in
|
---|
[26565] | 6232 | *" strstr.$ac_objext "* ) ;;
|
---|
| 6233 | *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
|
---|
[25149] | 6234 | ;;
|
---|
[16566] | 6235 | esac
|
---|
| 6236 |
|
---|
| 6237 | fi
|
---|
| 6238 |
|
---|
[26565] | 6239 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
|
---|
| 6240 | if test "x$ac_cv_func_strcasecmp" = xyes; then :
|
---|
| 6241 | $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
|
---|
[16566] | 6242 |
|
---|
[24874] | 6243 | else
|
---|
[26565] | 6244 | case " $LIBOBJS " in
|
---|
| 6245 | *" strcasecmp.$ac_objext "* ) ;;
|
---|
| 6246 | *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
|
---|
| 6247 | ;;
|
---|
| 6248 | esac
|
---|
[16566] | 6249 |
|
---|
[26565] | 6250 | fi
|
---|
[24874] | 6251 |
|
---|
| 6252 |
|
---|
| 6253 |
|
---|
[26565] | 6254 | ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
|
---|
| 6255 | if test "x$ac_cv_func_textdomain" = xyes; then :
|
---|
| 6256 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
---|
[24874] | 6257 |
|
---|
[16566] | 6258 | fi
|
---|
[25149] | 6259 |
|
---|
[16566] | 6260 |
|
---|
| 6261 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6262 | # ---------------------------------------------------------------------------
|
---|
[26565] | 6263 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
|
---|
[25149] | 6264 | $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
|
---|
[16566] | 6265 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[26565] | 6266 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6267 | $as_echo "yes" >&6; }
|
---|
| 6268 | case " $LIBOBJS " in
|
---|
[16566] | 6269 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[25149] | 6270 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 6271 | ;;
|
---|
[16566] | 6272 | esac
|
---|
| 6273 |
|
---|
[26565] | 6274 | $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
|
---|
[16566] | 6275 |
|
---|
| 6276 | else
|
---|
[26565] | 6277 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6278 | $as_echo "no" >&6; }
|
---|
[26565] | 6279 | for ac_func in valloc
|
---|
| 6280 | do :
|
---|
| 6281 | ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
|
---|
| 6282 | if test "x$ac_cv_func_valloc" = xyes; then :
|
---|
[16566] | 6283 | cat >>confdefs.h <<_ACEOF
|
---|
[26565] | 6284 | #define HAVE_VALLOC 1
|
---|
[16566] | 6285 | _ACEOF
|
---|
| 6286 |
|
---|
| 6287 | fi
|
---|
| 6288 | done
|
---|
| 6289 |
|
---|
| 6290 | fi
|
---|
| 6291 |
|
---|
| 6292 | # we cannot generate static libraries under Darwin
|
---|
[26565] | 6293 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
|
---|
[25149] | 6294 | $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
|
---|
[16566] | 6295 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[26565] | 6296 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6297 | $as_echo "yes" >&6; }
|
---|
[16566] | 6298 | STATIC=""
|
---|
| 6299 | else
|
---|
[26565] | 6300 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6301 | $as_echo "no" >&6; }
|
---|
[16566] | 6302 | STATIC="-static "
|
---|
| 6303 | fi
|
---|
| 6304 |
|
---|
| 6305 |
|
---|
[26565] | 6306 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
|
---|
[25149] | 6307 | $as_echo_n "checking if malloc debugging is wanted... " >&6; }
|
---|
[16566] | 6308 |
|
---|
[25149] | 6309 | # Check whether --with-dmalloc was given.
|
---|
[26565] | 6310 | if test "${with_dmalloc+set}" = set; then :
|
---|
[25149] | 6311 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
[26565] | 6312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6313 | $as_echo "yes" >&6; }
|
---|
[26565] | 6314 | $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
|
---|
[16566] | 6315 |
|
---|
| 6316 | LIBS="$LIBS -ldmalloc"
|
---|
| 6317 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6318 | else
|
---|
[26565] | 6319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6320 | $as_echo "no" >&6; }
|
---|
[16566] | 6321 | fi
|
---|
| 6322 | else
|
---|
[26565] | 6323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6324 | $as_echo "no" >&6; }
|
---|
| 6325 | fi
|
---|
[16566] | 6326 |
|
---|
| 6327 |
|
---|
[26565] | 6328 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
|
---|
[25149] | 6329 | $as_echo_n "checking which of rx or regex is wanted... " >&6; }
|
---|
| 6330 |
|
---|
| 6331 | # Check whether --with-regex was given.
|
---|
[26565] | 6332 | if test "${with_regex+set}" = set; then :
|
---|
[25149] | 6333 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[16566] | 6334 | ac_with_regex=1
|
---|
[26565] | 6335 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
|
---|
[25149] | 6336 | $as_echo "regex" >&6; }
|
---|
[26565] | 6337 | $as_echo "#define WITH_REGEX 1" >>confdefs.h
|
---|
[16566] | 6338 |
|
---|
[25149] | 6339 | case " $LIBOBJS " in
|
---|
[16566] | 6340 | *" regex.$ac_objext "* ) ;;
|
---|
[25149] | 6341 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 6342 | ;;
|
---|
[16566] | 6343 | esac
|
---|
| 6344 |
|
---|
| 6345 | fi
|
---|
[25149] | 6346 | fi
|
---|
| 6347 |
|
---|
[16566] | 6348 | if test -z "$ac_with_regex"; then
|
---|
[26565] | 6349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
|
---|
[25149] | 6350 | $as_echo "rx" >&6; }
|
---|
[26565] | 6351 | ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
|
---|
| 6352 | if test "x$ac_cv_func_re_rx_search" = xyes; then :
|
---|
[16566] | 6353 |
|
---|
| 6354 | else
|
---|
[25149] | 6355 | case " $LIBOBJS " in
|
---|
[16566] | 6356 | *" rx.$ac_objext "* ) ;;
|
---|
[25149] | 6357 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 6358 | ;;
|
---|
[16566] | 6359 | esac
|
---|
| 6360 |
|
---|
| 6361 | fi
|
---|
| 6362 |
|
---|
| 6363 | fi
|
---|
| 6364 |
|
---|
| 6365 |
|
---|
| 6366 | # ---------------------------------------------------------------------------
|
---|
| 6367 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25149] | 6368 | case " $LIBOBJS " in
|
---|
[16566] | 6369 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[25149] | 6370 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 6371 | ;;
|
---|
[16566] | 6372 | esac
|
---|
| 6373 |
|
---|
[25149] | 6374 | case " $LIBOBJS " in
|
---|
[16566] | 6375 | *" error.$ac_objext "* ) ;;
|
---|
[25149] | 6376 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6377 | ;;
|
---|
[16566] | 6378 | esac
|
---|
| 6379 |
|
---|
| 6380 | fi
|
---|
| 6381 |
|
---|
| 6382 |
|
---|
| 6383 | # ---------------------------------------------------------------------------
|
---|
| 6384 |
|
---|
[25149] | 6385 | ac_ext=cpp
|
---|
[16566] | 6386 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 6387 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 6388 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 6389 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 6390 |
|
---|
| 6391 |
|
---|
| 6392 | success=no
|
---|
[26565] | 6393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
|
---|
[25149] | 6394 | $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
|
---|
[16566] | 6395 |
|
---|
[18214] | 6396 |
|
---|
[26565] | 6397 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6398 | /* end confdefs.h. */
|
---|
| 6399 | #include <vector>
|
---|
| 6400 |
|
---|
| 6401 | int
|
---|
| 6402 | main ()
|
---|
| 6403 | {
|
---|
| 6404 |
|
---|
| 6405 | ;
|
---|
| 6406 | return 0;
|
---|
| 6407 | }
|
---|
| 6408 | _ACEOF
|
---|
[26565] | 6409 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6410 | success=yes
|
---|
| 6411 | fi
|
---|
[25149] | 6412 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6413 |
|
---|
[16566] | 6414 | if test $success = "no"; then
|
---|
[26565] | 6415 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6416 | /* end confdefs.h. */
|
---|
| 6417 | #include <vector.h>
|
---|
| 6418 |
|
---|
| 6419 | int
|
---|
| 6420 | main ()
|
---|
| 6421 | {
|
---|
| 6422 |
|
---|
| 6423 | ;
|
---|
| 6424 | return 0;
|
---|
| 6425 | }
|
---|
| 6426 | _ACEOF
|
---|
[26565] | 6427 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6428 | success="yes"
|
---|
| 6429 | fi
|
---|
[25149] | 6430 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6431 | fi
|
---|
| 6432 |
|
---|
| 6433 | if test $success = "no"; then
|
---|
[26565] | 6434 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6435 | /* end confdefs.h. */
|
---|
| 6436 | #include <ospace\\std\\vector>
|
---|
| 6437 |
|
---|
| 6438 | int
|
---|
| 6439 | main ()
|
---|
| 6440 | {
|
---|
| 6441 |
|
---|
| 6442 | ;
|
---|
| 6443 | return 0;
|
---|
| 6444 | }
|
---|
| 6445 | _ACEOF
|
---|
[26565] | 6446 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6447 | success="yes"
|
---|
| 6448 | fi
|
---|
[25149] | 6449 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6450 | fi
|
---|
| 6451 |
|
---|
| 6452 | if test $success = yes; then
|
---|
[26565] | 6453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
[25149] | 6454 | $as_echo "\"no\"" >&6; }
|
---|
[16566] | 6455 | else
|
---|
[26565] | 6456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
[25149] | 6457 | $as_echo "\"yes\"" >&6; }
|
---|
[26565] | 6458 | as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
|
---|
[16566] | 6459 | fi
|
---|
| 6460 |
|
---|
| 6461 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
| 6462 | # check for running bash under cygwin
|
---|
| 6463 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 6464 | then
|
---|
| 6465 | gsdlos=windows
|
---|
| 6466 | fi
|
---|
[26658] | 6467 | if test "x$crossOS" != "x" ; then
|
---|
| 6468 | gsdlos=$crossOS
|
---|
| 6469 | gsdlarch=""
|
---|
| 6470 | fi
|
---|
[16566] | 6471 |
|
---|
| 6472 |
|
---|
[24901] | 6473 | # Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming
|
---|
| 6474 | # directories already or if common-src is compiled up on its own.
|
---|
| 6475 | # E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists.
|
---|
[26565] | 6476 | if test ! -d "../bin/$gsdlos$gsdlarch" -o ! -f "../setup.bash" ; then
|
---|
[24901] | 6477 | gsdlarch=""
|
---|
| 6478 | fi
|
---|
| 6479 |
|
---|
| 6480 |
|
---|
[16566] | 6481 | # check for endianness
|
---|
[26565] | 6482 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
---|
[25149] | 6483 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
---|
[26565] | 6484 | if ${ac_cv_c_bigendian+:} false; then :
|
---|
[25149] | 6485 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6486 | else
|
---|
[25149] | 6487 | ac_cv_c_bigendian=unknown
|
---|
| 6488 | # See if we're dealing with a universal compiler.
|
---|
[26565] | 6489 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6490 | /* end confdefs.h. */
|
---|
[25149] | 6491 | #ifndef __APPLE_CC__
|
---|
| 6492 | not a universal capable compiler
|
---|
| 6493 | #endif
|
---|
| 6494 | typedef int dummy;
|
---|
| 6495 |
|
---|
| 6496 | _ACEOF
|
---|
[26565] | 6497 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6498 |
|
---|
| 6499 | # Check for potential -arch flags. It is not universal unless
|
---|
[26565] | 6500 | # there are at least two -arch flags with different values.
|
---|
| 6501 | ac_arch=
|
---|
| 6502 | ac_prev=
|
---|
| 6503 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
---|
| 6504 | if test -n "$ac_prev"; then
|
---|
| 6505 | case $ac_word in
|
---|
| 6506 | i?86 | x86_64 | ppc | ppc64)
|
---|
| 6507 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
---|
| 6508 | ac_arch=$ac_word
|
---|
| 6509 | else
|
---|
| 6510 | ac_cv_c_bigendian=universal
|
---|
| 6511 | break
|
---|
| 6512 | fi
|
---|
| 6513 | ;;
|
---|
| 6514 | esac
|
---|
| 6515 | ac_prev=
|
---|
| 6516 | elif test "x$ac_word" = "x-arch"; then
|
---|
| 6517 | ac_prev=arch
|
---|
| 6518 | fi
|
---|
| 6519 | done
|
---|
[25149] | 6520 | fi
|
---|
| 6521 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6522 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6523 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
[26565] | 6524 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6525 | /* end confdefs.h. */
|
---|
[16566] | 6526 | #include <sys/types.h>
|
---|
[25149] | 6527 | #include <sys/param.h>
|
---|
[16566] | 6528 |
|
---|
| 6529 | int
|
---|
| 6530 | main ()
|
---|
| 6531 | {
|
---|
[25149] | 6532 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
---|
| 6533 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
---|
| 6534 | && LITTLE_ENDIAN)
|
---|
| 6535 | bogus endian macros
|
---|
| 6536 | #endif
|
---|
[16566] | 6537 |
|
---|
| 6538 | ;
|
---|
| 6539 | return 0;
|
---|
| 6540 | }
|
---|
| 6541 | _ACEOF
|
---|
[26565] | 6542 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6543 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[26565] | 6544 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6545 | /* end confdefs.h. */
|
---|
| 6546 | #include <sys/types.h>
|
---|
[25149] | 6547 | #include <sys/param.h>
|
---|
[16566] | 6548 |
|
---|
| 6549 | int
|
---|
| 6550 | main ()
|
---|
| 6551 | {
|
---|
| 6552 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[25149] | 6553 | not big endian
|
---|
| 6554 | #endif
|
---|
[16566] | 6555 |
|
---|
| 6556 | ;
|
---|
| 6557 | return 0;
|
---|
| 6558 | }
|
---|
| 6559 | _ACEOF
|
---|
[26565] | 6560 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6561 | ac_cv_c_bigendian=yes
|
---|
| 6562 | else
|
---|
[26565] | 6563 | ac_cv_c_bigendian=no
|
---|
[16566] | 6564 | fi
|
---|
[25149] | 6565 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6566 | fi
|
---|
| 6567 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6568 | fi
|
---|
| 6569 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6570 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
---|
[26565] | 6571 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6572 | /* end confdefs.h. */
|
---|
[25149] | 6573 | #include <limits.h>
|
---|
| 6574 |
|
---|
[16566] | 6575 | int
|
---|
| 6576 | main ()
|
---|
| 6577 | {
|
---|
[25149] | 6578 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
---|
| 6579 | bogus endian macros
|
---|
| 6580 | #endif
|
---|
| 6581 |
|
---|
[16566] | 6582 | ;
|
---|
| 6583 | return 0;
|
---|
| 6584 | }
|
---|
| 6585 | _ACEOF
|
---|
[26565] | 6586 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6587 | # It does; now see whether it defined to _BIG_ENDIAN or not.
|
---|
[26565] | 6588 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6589 | /* end confdefs.h. */
|
---|
| 6590 | #include <limits.h>
|
---|
| 6591 |
|
---|
| 6592 | int
|
---|
| 6593 | main ()
|
---|
| 6594 | {
|
---|
| 6595 | #ifndef _BIG_ENDIAN
|
---|
| 6596 | not big endian
|
---|
| 6597 | #endif
|
---|
| 6598 |
|
---|
| 6599 | ;
|
---|
| 6600 | return 0;
|
---|
| 6601 | }
|
---|
| 6602 | _ACEOF
|
---|
[26565] | 6603 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6604 | ac_cv_c_bigendian=yes
|
---|
[25149] | 6605 | else
|
---|
[26565] | 6606 | ac_cv_c_bigendian=no
|
---|
[16566] | 6607 | fi
|
---|
[25149] | 6608 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6609 | fi
|
---|
[25149] | 6610 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6611 | fi
|
---|
| 6612 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6613 | # Compile a test program.
|
---|
[26565] | 6614 | if test "$cross_compiling" = yes; then :
|
---|
[25149] | 6615 | # Try to guess by grepping values from an object file.
|
---|
[26565] | 6616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6617 | /* end confdefs.h. */
|
---|
| 6618 | short int ascii_mm[] =
|
---|
| 6619 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 6620 | short int ascii_ii[] =
|
---|
| 6621 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 6622 | int use_ascii (int i) {
|
---|
| 6623 | return ascii_mm[i] + ascii_ii[i];
|
---|
| 6624 | }
|
---|
| 6625 | short int ebcdic_ii[] =
|
---|
| 6626 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 6627 | short int ebcdic_mm[] =
|
---|
| 6628 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 6629 | int use_ebcdic (int i) {
|
---|
| 6630 | return ebcdic_mm[i] + ebcdic_ii[i];
|
---|
| 6631 | }
|
---|
| 6632 | extern int foo;
|
---|
| 6633 |
|
---|
| 6634 | int
|
---|
| 6635 | main ()
|
---|
| 6636 | {
|
---|
| 6637 | return use_ascii (foo) == use_ebcdic (foo);
|
---|
| 6638 | ;
|
---|
| 6639 | return 0;
|
---|
| 6640 | }
|
---|
| 6641 | _ACEOF
|
---|
[26565] | 6642 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6643 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
---|
| 6644 | ac_cv_c_bigendian=yes
|
---|
| 6645 | fi
|
---|
| 6646 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 6647 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 6648 | ac_cv_c_bigendian=no
|
---|
| 6649 | else
|
---|
| 6650 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 6651 | ac_cv_c_bigendian=unknown
|
---|
| 6652 | fi
|
---|
| 6653 | fi
|
---|
[16566] | 6654 | fi
|
---|
[25149] | 6655 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6656 | else
|
---|
[26565] | 6657 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6658 | /* end confdefs.h. */
|
---|
[25149] | 6659 | $ac_includes_default
|
---|
[16566] | 6660 | int
|
---|
| 6661 | main ()
|
---|
| 6662 | {
|
---|
[25149] | 6663 |
|
---|
| 6664 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 6665 | union
|
---|
| 6666 | {
|
---|
| 6667 | long int l;
|
---|
| 6668 | char c[sizeof (long int)];
|
---|
| 6669 | } u;
|
---|
| 6670 | u.l = 1;
|
---|
| 6671 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 6672 |
|
---|
| 6673 | ;
|
---|
| 6674 | return 0;
|
---|
[16566] | 6675 | }
|
---|
| 6676 | _ACEOF
|
---|
[26565] | 6677 | if ac_fn_cxx_try_run "$LINENO"; then :
|
---|
[16566] | 6678 | ac_cv_c_bigendian=no
|
---|
| 6679 | else
|
---|
[26565] | 6680 | ac_cv_c_bigendian=yes
|
---|
[16566] | 6681 | fi
|
---|
[26565] | 6682 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6683 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 6684 | fi
|
---|
[25149] | 6685 |
|
---|
| 6686 | fi
|
---|
[16566] | 6687 | fi
|
---|
[26565] | 6688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
---|
[25149] | 6689 | $as_echo "$ac_cv_c_bigendian" >&6; }
|
---|
| 6690 | case $ac_cv_c_bigendian in #(
|
---|
| 6691 | yes)
|
---|
[26565] | 6692 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
---|
[25149] | 6693 | ;; #(
|
---|
| 6694 | no)
|
---|
| 6695 | ;; #(
|
---|
| 6696 | universal)
|
---|
[16566] | 6697 |
|
---|
[26565] | 6698 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
---|
[25149] | 6699 |
|
---|
| 6700 | ;; #(
|
---|
| 6701 | *)
|
---|
[26565] | 6702 | as_fn_error $? "unknown endianness
|
---|
| 6703 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
---|
[25149] | 6704 | esac
|
---|
[16566] | 6705 |
|
---|
| 6706 | # ---------------------------------------------------------------------------
|
---|
| 6707 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25149] | 6708 | case " $LIBOBJS " in
|
---|
[16566] | 6709 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[25149] | 6710 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 6711 | ;;
|
---|
[16566] | 6712 | esac
|
---|
| 6713 |
|
---|
[25149] | 6714 | case " $LIBOBJS " in
|
---|
[16566] | 6715 | *" error.$ac_objext "* ) ;;
|
---|
[25149] | 6716 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6717 | ;;
|
---|
[16566] | 6718 | esac
|
---|
| 6719 |
|
---|
| 6720 | fi
|
---|
| 6721 |
|
---|
| 6722 | # ---------------------------------------------------------------------------
|
---|
| 6723 |
|
---|
| 6724 |
|
---|
| 6725 | moduleDirs=""
|
---|
| 6726 | MODULEDIRS=""
|
---|
[16593] | 6727 | if test -d modules ; then
|
---|
[16566] | 6728 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 6729 | if test -d "$x"; then
|
---|
| 6730 | d="$x/Makefile.in"
|
---|
| 6731 | if test -e "$d"; then
|
---|
| 6732 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 6733 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 6734 | fi
|
---|
| 6735 | fi
|
---|
| 6736 | done
|
---|
| 6737 | echo "Making $moduleDirs in modules directory"
|
---|
| 6738 |
|
---|
| 6739 | fi
|
---|
| 6740 |
|
---|
| 6741 |
|
---|
| 6742 | # ---------------------------------------------------------------------------
|
---|
| 6743 |
|
---|
[21327] | 6744 |
|
---|
| 6745 |
|
---|
[20832] | 6746 | subdirs="$subdirs packages"
|
---|
[16566] | 6747 |
|
---|
| 6748 |
|
---|
[20832] | 6749 | commonsrcprefix=`pwd`
|
---|
| 6750 | ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv"
|
---|
| 6751 | subdirs="$subdirs indexers"
|
---|
| 6752 |
|
---|
| 6753 |
|
---|
[16566] | 6754 | # the list of folders in the src folder
|
---|
[24874] | 6755 | srclist="cgi-bin/Makefile \
|
---|
| 6756 | src/lib/Makefile \
|
---|
[16566] | 6757 | src/gdbmedit/db2txt/Makefile \
|
---|
| 6758 | src/gdbmedit/txt2db/Makefile \
|
---|
| 6759 | src/gdbmedit/gdbmget/Makefile \
|
---|
| 6760 | src/gdbmedit/gdbmset/Makefile \
|
---|
[24874] | 6761 | src/gdbmedit/gdbmkeys/Makefile \
|
---|
| 6762 | src/gdbmedit/gdbmdel/Makefile \
|
---|
[23356] | 6763 | src/getpw/Makefile \
|
---|
[24874] | 6764 | src/jdbmedit/Makefile"
|
---|
[16566] | 6765 |
|
---|
[25149] | 6766 | ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
|
---|
| 6767 |
|
---|
[16566] | 6768 | cat >confcache <<\_ACEOF
|
---|
| 6769 | # This file is a shell script that caches the results of configure
|
---|
| 6770 | # tests run on this system so they can be shared between configure
|
---|
| 6771 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 6772 | # It is not useful on other systems. If it contains results you don't
|
---|
| 6773 | # want to keep, you may remove or edit it.
|
---|
| 6774 | #
|
---|
| 6775 | # config.status only pays attention to the cache file if you give it
|
---|
| 6776 | # the --recheck option to rerun configure.
|
---|
| 6777 | #
|
---|
| 6778 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6779 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6780 | # following values.
|
---|
| 6781 |
|
---|
| 6782 | _ACEOF
|
---|
| 6783 |
|
---|
| 6784 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6785 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[25149] | 6786 | # So, we kill variables containing newlines.
|
---|
[16566] | 6787 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6788 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[25149] | 6789 | (
|
---|
| 6790 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 6791 | eval ac_val=\$$ac_var
|
---|
| 6792 | case $ac_val in #(
|
---|
| 6793 | *${as_nl}*)
|
---|
| 6794 | case $ac_var in #(
|
---|
[26565] | 6795 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[25149] | 6796 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 6797 | esac
|
---|
| 6798 | case $ac_var in #(
|
---|
| 6799 | _ | IFS | as_nl) ;; #(
|
---|
| 6800 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[26565] | 6801 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
[25149] | 6802 | esac ;;
|
---|
| 6803 | esac
|
---|
| 6804 | done
|
---|
| 6805 |
|
---|
[16566] | 6806 | (set) 2>&1 |
|
---|
[25149] | 6807 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 6808 | *${as_nl}ac_space=\ *)
|
---|
[26565] | 6809 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 6810 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
[16566] | 6811 | sed -n \
|
---|
| 6812 | "s/'/'\\\\''/g;
|
---|
| 6813 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[25149] | 6814 | ;; #(
|
---|
[16566] | 6815 | *)
|
---|
| 6816 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[25149] | 6817 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16566] | 6818 | ;;
|
---|
[25149] | 6819 | esac |
|
---|
| 6820 | sort
|
---|
| 6821 | ) |
|
---|
[16566] | 6822 | sed '
|
---|
[25149] | 6823 | /^ac_cv_env_/b end
|
---|
[16566] | 6824 | t clear
|
---|
[25149] | 6825 | :clear
|
---|
[16566] | 6826 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6827 | t end
|
---|
[25149] | 6828 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6829 | :end' >>confcache
|
---|
| 6830 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 6831 | if test -w "$cache_file"; then
|
---|
[26565] | 6832 | if test "x$cache_file" != "x/dev/null"; then
|
---|
| 6833 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
[25149] | 6834 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[26565] | 6835 | if test ! -f "$cache_file" || test -h "$cache_file"; then
|
---|
| 6836 | cat confcache >"$cache_file"
|
---|
| 6837 | else
|
---|
| 6838 | case $cache_file in #(
|
---|
| 6839 | */* | ?:*)
|
---|
| 6840 | mv -f confcache "$cache_file"$$ &&
|
---|
| 6841 | mv -f "$cache_file"$$ "$cache_file" ;; #(
|
---|
| 6842 | *)
|
---|
| 6843 | mv -f confcache "$cache_file" ;;
|
---|
| 6844 | esac
|
---|
| 6845 | fi
|
---|
| 6846 | fi
|
---|
[16566] | 6847 | else
|
---|
[26565] | 6848 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
[25149] | 6849 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[16566] | 6850 | fi
|
---|
| 6851 | fi
|
---|
| 6852 | rm -f confcache
|
---|
| 6853 |
|
---|
| 6854 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6855 | # Let make expand exec_prefix.
|
---|
| 6856 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6857 |
|
---|
| 6858 | DEFS=-DHAVE_CONFIG_H
|
---|
| 6859 |
|
---|
| 6860 | ac_libobjs=
|
---|
| 6861 | ac_ltlibobjs=
|
---|
[26565] | 6862 | U=
|
---|
[16566] | 6863 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6864 | # 1. Remove the extension, and $U if already installed.
|
---|
[25149] | 6865 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 6866 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 6867 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 6868 | # will be set to the directory where LIBOBJS objects are built.
|
---|
[26565] | 6869 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 6870 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[16566] | 6871 | done
|
---|
| 6872 | LIBOBJS=$ac_libobjs
|
---|
| 6873 |
|
---|
| 6874 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6875 |
|
---|
| 6876 |
|
---|
| 6877 |
|
---|
[25149] | 6878 |
|
---|
[26565] | 6879 | : "${CONFIG_STATUS=./config.status}"
|
---|
[25149] | 6880 | ac_write_fail=0
|
---|
[16566] | 6881 | ac_clean_files_save=$ac_clean_files
|
---|
| 6882 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[26565] | 6883 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
[25149] | 6884 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
[26565] | 6885 | as_write_fail=0
|
---|
| 6886 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
[16566] | 6887 | #! $SHELL
|
---|
| 6888 | # Generated by $as_me.
|
---|
| 6889 | # Run this file to recreate the current configuration.
|
---|
| 6890 | # Compiler output produced by configure, useful for debugging
|
---|
| 6891 | # configure, is in config.log if it exists.
|
---|
| 6892 |
|
---|
| 6893 | debug=false
|
---|
| 6894 | ac_cs_recheck=false
|
---|
| 6895 | ac_cs_silent=false
|
---|
[26565] | 6896 |
|
---|
[16566] | 6897 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[26565] | 6898 | export SHELL
|
---|
| 6899 | _ASEOF
|
---|
| 6900 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 6901 | ## -------------------- ##
|
---|
| 6902 | ## M4sh Initialization. ##
|
---|
| 6903 | ## -------------------- ##
|
---|
[16566] | 6904 |
|
---|
[25149] | 6905 | # Be more Bourne compatible
|
---|
| 6906 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[26565] | 6907 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16566] | 6908 | emulate sh
|
---|
| 6909 | NULLCMD=:
|
---|
[25149] | 6910 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16566] | 6911 | # is contrary to our usage. Disable this feature.
|
---|
| 6912 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25149] | 6913 | setopt NO_GLOB_SUBST
|
---|
| 6914 | else
|
---|
[26565] | 6915 | case `(set -o) 2>/dev/null` in #(
|
---|
| 6916 | *posix*) :
|
---|
| 6917 | set -o posix ;; #(
|
---|
| 6918 | *) :
|
---|
| 6919 | ;;
|
---|
[25149] | 6920 | esac
|
---|
[16566] | 6921 | fi
|
---|
| 6922 |
|
---|
[25149] | 6923 |
|
---|
| 6924 | as_nl='
|
---|
| 6925 | '
|
---|
| 6926 | export as_nl
|
---|
| 6927 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 6928 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 6929 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6930 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[26565] | 6931 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 6932 | # but without wasting forks for bash or zsh.
|
---|
| 6933 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 6934 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6935 | as_echo='print -r --'
|
---|
| 6936 | as_echo_n='print -rn --'
|
---|
| 6937 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[25149] | 6938 | as_echo='printf %s\n'
|
---|
| 6939 | as_echo_n='printf %s'
|
---|
| 6940 | else
|
---|
| 6941 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 6942 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 6943 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 6944 | else
|
---|
| 6945 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 6946 | as_echo_n_body='eval
|
---|
| 6947 | arg=$1;
|
---|
[26565] | 6948 | case $arg in #(
|
---|
[25149] | 6949 | *"$as_nl"*)
|
---|
| 6950 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 6951 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 6952 | esac;
|
---|
| 6953 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 6954 | '
|
---|
| 6955 | export as_echo_n_body
|
---|
| 6956 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 6957 | fi
|
---|
| 6958 | export as_echo_body
|
---|
| 6959 | as_echo='sh -c $as_echo_body as_echo'
|
---|
| 6960 | fi
|
---|
| 6961 |
|
---|
| 6962 | # The user is always right.
|
---|
| 6963 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6964 | PATH_SEPARATOR=:
|
---|
| 6965 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 6966 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 6967 | PATH_SEPARATOR=';'
|
---|
| 6968 | }
|
---|
| 6969 | fi
|
---|
| 6970 |
|
---|
[16566] | 6971 |
|
---|
[25149] | 6972 | # IFS
|
---|
| 6973 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 6974 | # there to prevent editors from complaining about space-tab.
|
---|
| 6975 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 6976 | # splitting by setting IFS to empty value.)
|
---|
| 6977 | IFS=" "" $as_nl"
|
---|
| 6978 |
|
---|
| 6979 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[26565] | 6980 | as_myself=
|
---|
| 6981 | case $0 in #((
|
---|
[25149] | 6982 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6983 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6984 | for as_dir in $PATH
|
---|
| 6985 | do
|
---|
| 6986 | IFS=$as_save_IFS
|
---|
| 6987 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 6988 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6989 | done
|
---|
[25149] | 6990 | IFS=$as_save_IFS
|
---|
| 6991 |
|
---|
| 6992 | ;;
|
---|
| 6993 | esac
|
---|
| 6994 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6995 | # in which case we are not to be found in the path.
|
---|
| 6996 | if test "x$as_myself" = x; then
|
---|
| 6997 | as_myself=$0
|
---|
| 6998 | fi
|
---|
| 6999 | if test ! -f "$as_myself"; then
|
---|
| 7000 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[26565] | 7001 | exit 1
|
---|
[25149] | 7002 | fi
|
---|
| 7003 |
|
---|
[26565] | 7004 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 7005 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 7006 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 7007 | # trigger a bug in pdksh 5.2.14.
|
---|
| 7008 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 7009 | do eval test x\${$as_var+set} = xset \
|
---|
| 7010 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
[25149] | 7011 | done
|
---|
[16566] | 7012 | PS1='$ '
|
---|
| 7013 | PS2='> '
|
---|
| 7014 | PS4='+ '
|
---|
| 7015 |
|
---|
| 7016 | # NLS nuisances.
|
---|
[25149] | 7017 | LC_ALL=C
|
---|
| 7018 | export LC_ALL
|
---|
| 7019 | LANGUAGE=C
|
---|
| 7020 | export LANGUAGE
|
---|
[16566] | 7021 |
|
---|
[26565] | 7022 | # CDPATH.
|
---|
| 7023 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 7024 |
|
---|
| 7025 |
|
---|
| 7026 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 7027 | # ----------------------------------------
|
---|
| 7028 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 7029 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 7030 | # script with STATUS, using 1 if that was 0.
|
---|
| 7031 | as_fn_error ()
|
---|
| 7032 | {
|
---|
| 7033 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 7034 | if test "$4"; then
|
---|
| 7035 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 7036 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 7037 | fi
|
---|
| 7038 | $as_echo "$as_me: error: $2" >&2
|
---|
| 7039 | as_fn_exit $as_status
|
---|
| 7040 | } # as_fn_error
|
---|
| 7041 |
|
---|
| 7042 |
|
---|
| 7043 | # as_fn_set_status STATUS
|
---|
| 7044 | # -----------------------
|
---|
| 7045 | # Set $? to STATUS, without forking.
|
---|
| 7046 | as_fn_set_status ()
|
---|
| 7047 | {
|
---|
| 7048 | return $1
|
---|
| 7049 | } # as_fn_set_status
|
---|
| 7050 |
|
---|
| 7051 | # as_fn_exit STATUS
|
---|
| 7052 | # -----------------
|
---|
| 7053 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 7054 | as_fn_exit ()
|
---|
| 7055 | {
|
---|
| 7056 | set +e
|
---|
| 7057 | as_fn_set_status $1
|
---|
| 7058 | exit $1
|
---|
| 7059 | } # as_fn_exit
|
---|
| 7060 |
|
---|
| 7061 | # as_fn_unset VAR
|
---|
| 7062 | # ---------------
|
---|
| 7063 | # Portably unset VAR.
|
---|
| 7064 | as_fn_unset ()
|
---|
| 7065 | {
|
---|
| 7066 | { eval $1=; unset $1;}
|
---|
| 7067 | }
|
---|
| 7068 | as_unset=as_fn_unset
|
---|
| 7069 | # as_fn_append VAR VALUE
|
---|
| 7070 | # ----------------------
|
---|
| 7071 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 7072 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 7073 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 7074 | # implementations.
|
---|
| 7075 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 7076 | eval 'as_fn_append ()
|
---|
| 7077 | {
|
---|
| 7078 | eval $1+=\$2
|
---|
| 7079 | }'
|
---|
| 7080 | else
|
---|
| 7081 | as_fn_append ()
|
---|
| 7082 | {
|
---|
| 7083 | eval $1=\$$1\$2
|
---|
| 7084 | }
|
---|
| 7085 | fi # as_fn_append
|
---|
| 7086 |
|
---|
| 7087 | # as_fn_arith ARG...
|
---|
| 7088 | # ------------------
|
---|
| 7089 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 7090 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 7091 | # must be portable across $(()) and expr.
|
---|
| 7092 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 7093 | eval 'as_fn_arith ()
|
---|
| 7094 | {
|
---|
| 7095 | as_val=$(( $* ))
|
---|
| 7096 | }'
|
---|
| 7097 | else
|
---|
| 7098 | as_fn_arith ()
|
---|
| 7099 | {
|
---|
| 7100 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 7101 | }
|
---|
| 7102 | fi # as_fn_arith
|
---|
| 7103 |
|
---|
| 7104 |
|
---|
[25149] | 7105 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 7106 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16566] | 7107 | as_expr=expr
|
---|
| 7108 | else
|
---|
| 7109 | as_expr=false
|
---|
| 7110 | fi
|
---|
| 7111 |
|
---|
[25149] | 7112 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16566] | 7113 | as_basename=basename
|
---|
| 7114 | else
|
---|
| 7115 | as_basename=false
|
---|
| 7116 | fi
|
---|
| 7117 |
|
---|
[26565] | 7118 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 7119 | as_dirname=dirname
|
---|
| 7120 | else
|
---|
| 7121 | as_dirname=false
|
---|
| 7122 | fi
|
---|
[16566] | 7123 |
|
---|
[25149] | 7124 | as_me=`$as_basename -- "$0" ||
|
---|
[16566] | 7125 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7126 | X"$0" : 'X\(//\)$' \| \
|
---|
[25149] | 7127 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7128 | $as_echo X/"$0" |
|
---|
| 7129 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 7130 | s//\1/
|
---|
| 7131 | q
|
---|
| 7132 | }
|
---|
| 7133 | /^X\/\(\/\/\)$/{
|
---|
| 7134 | s//\1/
|
---|
| 7135 | q
|
---|
| 7136 | }
|
---|
| 7137 | /^X\/\(\/\).*/{
|
---|
| 7138 | s//\1/
|
---|
| 7139 | q
|
---|
| 7140 | }
|
---|
| 7141 | s/.*/./; q'`
|
---|
[16566] | 7142 |
|
---|
[26565] | 7143 | # Avoid depending upon Character Ranges.
|
---|
| 7144 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7145 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7146 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7147 | as_cr_digits='0123456789'
|
---|
| 7148 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[24874] | 7149 |
|
---|
[25149] | 7150 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[26565] | 7151 | case `echo -n x` in #(((((
|
---|
[25149] | 7152 | -n*)
|
---|
[26565] | 7153 | case `echo 'xy\c'` in
|
---|
[25149] | 7154 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[26565] | 7155 | xy) ECHO_C='\c';;
|
---|
| 7156 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 7157 | ECHO_T=' ';;
|
---|
[25149] | 7158 | esac;;
|
---|
| 7159 | *)
|
---|
| 7160 | ECHO_N='-n';;
|
---|
[16566] | 7161 | esac
|
---|
[24874] | 7162 |
|
---|
| 7163 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[25149] | 7164 | if test -d conf$$.dir; then
|
---|
| 7165 | rm -f conf$$.dir/conf$$.file
|
---|
| 7166 | else
|
---|
| 7167 | rm -f conf$$.dir
|
---|
| 7168 | mkdir conf$$.dir 2>/dev/null
|
---|
| 7169 | fi
|
---|
| 7170 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 7171 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7172 | as_ln_s='ln -s'
|
---|
| 7173 | # ... but there are two gotchas:
|
---|
| 7174 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 7175 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 7176 | # In both cases, we have to default to `cp -p'.
|
---|
| 7177 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 7178 | as_ln_s='cp -p'
|
---|
| 7179 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7180 | as_ln_s=ln
|
---|
| 7181 | else
|
---|
[24874] | 7182 | as_ln_s='cp -p'
|
---|
[21327] | 7183 | fi
|
---|
[16566] | 7184 | else
|
---|
| 7185 | as_ln_s='cp -p'
|
---|
| 7186 | fi
|
---|
[25149] | 7187 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 7188 | rmdir conf$$.dir 2>/dev/null
|
---|
[16566] | 7189 |
|
---|
[26565] | 7190 |
|
---|
| 7191 | # as_fn_mkdir_p
|
---|
| 7192 | # -------------
|
---|
| 7193 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 7194 | as_fn_mkdir_p ()
|
---|
| 7195 | {
|
---|
| 7196 |
|
---|
| 7197 | case $as_dir in #(
|
---|
| 7198 | -*) as_dir=./$as_dir;;
|
---|
| 7199 | esac
|
---|
| 7200 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 7201 | as_dirs=
|
---|
| 7202 | while :; do
|
---|
| 7203 | case $as_dir in #(
|
---|
| 7204 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 7205 | *) as_qdir=$as_dir;;
|
---|
| 7206 | esac
|
---|
| 7207 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 7208 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 7209 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7210 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 7211 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 7212 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7213 | $as_echo X"$as_dir" |
|
---|
| 7214 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7215 | s//\1/
|
---|
| 7216 | q
|
---|
| 7217 | }
|
---|
| 7218 | /^X\(\/\/\)[^/].*/{
|
---|
| 7219 | s//\1/
|
---|
| 7220 | q
|
---|
| 7221 | }
|
---|
| 7222 | /^X\(\/\/\)$/{
|
---|
| 7223 | s//\1/
|
---|
| 7224 | q
|
---|
| 7225 | }
|
---|
| 7226 | /^X\(\/\).*/{
|
---|
| 7227 | s//\1/
|
---|
| 7228 | q
|
---|
| 7229 | }
|
---|
| 7230 | s/.*/./; q'`
|
---|
| 7231 | test -d "$as_dir" && break
|
---|
| 7232 | done
|
---|
| 7233 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 7234 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 7235 |
|
---|
| 7236 |
|
---|
| 7237 | } # as_fn_mkdir_p
|
---|
[16566] | 7238 | if mkdir -p . 2>/dev/null; then
|
---|
[26565] | 7239 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16566] | 7240 | else
|
---|
| 7241 | test -d ./-p && rmdir ./-p
|
---|
| 7242 | as_mkdir_p=false
|
---|
| 7243 | fi
|
---|
| 7244 |
|
---|
[25149] | 7245 | if test -x / >/dev/null 2>&1; then
|
---|
| 7246 | as_test_x='test -x'
|
---|
| 7247 | else
|
---|
| 7248 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 7249 | as_ls_L_option=L
|
---|
| 7250 | else
|
---|
| 7251 | as_ls_L_option=
|
---|
| 7252 | fi
|
---|
| 7253 | as_test_x='
|
---|
| 7254 | eval sh -c '\''
|
---|
| 7255 | if test -d "$1"; then
|
---|
| 7256 | test -d "$1/.";
|
---|
| 7257 | else
|
---|
[26565] | 7258 | case $1 in #(
|
---|
[25149] | 7259 | -*)set "./$1";;
|
---|
| 7260 | esac;
|
---|
[26565] | 7261 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
[25149] | 7262 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 7263 | '\'' sh
|
---|
| 7264 | '
|
---|
| 7265 | fi
|
---|
| 7266 | as_executable_p=$as_test_x
|
---|
[16566] | 7267 |
|
---|
| 7268 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7269 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7270 |
|
---|
| 7271 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7272 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7273 |
|
---|
| 7274 |
|
---|
| 7275 | exec 6>&1
|
---|
[26565] | 7276 | ## ----------------------------------- ##
|
---|
| 7277 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 7278 | ## ----------------------------------- ##
|
---|
| 7279 | _ASEOF
|
---|
| 7280 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
[16566] | 7281 |
|
---|
[26565] | 7282 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7283 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
[16566] | 7284 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[25149] | 7285 | # values after options handling.
|
---|
| 7286 | ac_log="
|
---|
[16566] | 7287 | This file was extended by $as_me, which was
|
---|
[26565] | 7288 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[16566] | 7289 |
|
---|
| 7290 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 7291 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 7292 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 7293 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 7294 | $ $0 $@
|
---|
| 7295 |
|
---|
[25149] | 7296 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 7297 | "
|
---|
| 7298 |
|
---|
[16566] | 7299 | _ACEOF
|
---|
| 7300 |
|
---|
[25149] | 7301 | case $ac_config_files in *"
|
---|
| 7302 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 7303 | esac
|
---|
[16566] | 7304 |
|
---|
[25149] | 7305 | case $ac_config_headers in *"
|
---|
| 7306 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 7307 | esac
|
---|
[16566] | 7308 |
|
---|
[21327] | 7309 |
|
---|
[25149] | 7310 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7311 | # Files that config.status was made for.
|
---|
| 7312 | config_files="$ac_config_files"
|
---|
| 7313 | config_headers="$ac_config_headers"
|
---|
[21327] | 7314 |
|
---|
[25149] | 7315 | _ACEOF
|
---|
[21327] | 7316 |
|
---|
[25149] | 7317 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16566] | 7318 | ac_cs_usage="\
|
---|
[26565] | 7319 | \`$as_me' instantiates files and other configuration actions
|
---|
| 7320 | from templates according to the current configuration. Unless the files
|
---|
| 7321 | and actions are specified as TAGs, all are instantiated by default.
|
---|
[16566] | 7322 |
|
---|
[26565] | 7323 | Usage: $0 [OPTION]... [TAG]...
|
---|
[16566] | 7324 |
|
---|
| 7325 | -h, --help print this help, then exit
|
---|
[25149] | 7326 | -V, --version print version number and configuration settings, then exit
|
---|
[26565] | 7327 | --config print configuration, then exit
|
---|
[25149] | 7328 | -q, --quiet, --silent
|
---|
| 7329 | do not print progress messages
|
---|
[16566] | 7330 | -d, --debug don't remove temporary files
|
---|
| 7331 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[25149] | 7332 | --file=FILE[:TEMPLATE]
|
---|
| 7333 | instantiate the configuration file FILE
|
---|
| 7334 | --header=FILE[:TEMPLATE]
|
---|
| 7335 | instantiate the configuration header FILE
|
---|
[16566] | 7336 |
|
---|
| 7337 | Configuration files:
|
---|
| 7338 | $config_files
|
---|
| 7339 |
|
---|
| 7340 | Configuration headers:
|
---|
| 7341 | $config_headers
|
---|
| 7342 |
|
---|
[26565] | 7343 | Report bugs to the package provider."
|
---|
[25149] | 7344 |
|
---|
[24874] | 7345 | _ACEOF
|
---|
[25149] | 7346 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[26565] | 7347 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
[16566] | 7348 | ac_cs_version="\\
|
---|
| 7349 | config.status
|
---|
[26565] | 7350 | configured by $0, generated by GNU Autoconf 2.68,
|
---|
| 7351 | with options \\"\$ac_cs_config\\"
|
---|
[16566] | 7352 |
|
---|
[26565] | 7353 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16566] | 7354 | This config.status script is free software; the Free Software Foundation
|
---|
| 7355 | gives unlimited permission to copy, distribute and modify it."
|
---|
[25149] | 7356 |
|
---|
| 7357 | ac_pwd='$ac_pwd'
|
---|
| 7358 | srcdir='$srcdir'
|
---|
| 7359 | INSTALL='$INSTALL'
|
---|
| 7360 | AWK='$AWK'
|
---|
| 7361 | test -n "\$AWK" || AWK=awk
|
---|
[16566] | 7362 | _ACEOF
|
---|
| 7363 |
|
---|
[25149] | 7364 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7365 | # The default lists apply if the user does not specify any file.
|
---|
[16566] | 7366 | ac_need_defaults=:
|
---|
| 7367 | while test $# != 0
|
---|
| 7368 | do
|
---|
| 7369 | case $1 in
|
---|
[26565] | 7370 | --*=?*)
|
---|
[25149] | 7371 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7372 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[16566] | 7373 | ac_shift=:
|
---|
| 7374 | ;;
|
---|
[26565] | 7375 | --*=)
|
---|
| 7376 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7377 | ac_optarg=
|
---|
| 7378 | ac_shift=:
|
---|
| 7379 | ;;
|
---|
[25149] | 7380 | *)
|
---|
[16566] | 7381 | ac_option=$1
|
---|
| 7382 | ac_optarg=$2
|
---|
| 7383 | ac_shift=shift
|
---|
| 7384 | ;;
|
---|
| 7385 | esac
|
---|
| 7386 |
|
---|
| 7387 | case $ac_option in
|
---|
| 7388 | # Handling of the options.
|
---|
| 7389 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 7390 | ac_cs_recheck=: ;;
|
---|
[25149] | 7391 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 7392 | $as_echo "$ac_cs_version"; exit ;;
|
---|
[26565] | 7393 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 7394 | $as_echo "$ac_cs_config"; exit ;;
|
---|
[25149] | 7395 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[16566] | 7396 | debug=: ;;
|
---|
| 7397 | --file | --fil | --fi | --f )
|
---|
| 7398 | $ac_shift
|
---|
[25149] | 7399 | case $ac_optarg in
|
---|
| 7400 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[26565] | 7401 | '') as_fn_error $? "missing file argument" ;;
|
---|
[25149] | 7402 | esac
|
---|
[26565] | 7403 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
[16566] | 7404 | ac_need_defaults=false;;
|
---|
| 7405 | --header | --heade | --head | --hea )
|
---|
| 7406 | $ac_shift
|
---|
[25149] | 7407 | case $ac_optarg in
|
---|
| 7408 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7409 | esac
|
---|
[26565] | 7410 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
[16566] | 7411 | ac_need_defaults=false;;
|
---|
[25149] | 7412 | --he | --h)
|
---|
| 7413 | # Conflict between --help and --header
|
---|
[26565] | 7414 | as_fn_error $? "ambiguous option: \`$1'
|
---|
| 7415 | Try \`$0 --help' for more information.";;
|
---|
[25149] | 7416 | --help | --hel | -h )
|
---|
| 7417 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[16566] | 7418 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 7419 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 7420 | ac_cs_silent=: ;;
|
---|
| 7421 |
|
---|
| 7422 | # This is an error.
|
---|
[26565] | 7423 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
| 7424 | Try \`$0 --help' for more information." ;;
|
---|
[16566] | 7425 |
|
---|
[26565] | 7426 | *) as_fn_append ac_config_targets " $1"
|
---|
[25149] | 7427 | ac_need_defaults=false ;;
|
---|
[16566] | 7428 |
|
---|
| 7429 | esac
|
---|
| 7430 | shift
|
---|
| 7431 | done
|
---|
| 7432 |
|
---|
| 7433 | ac_configure_extra_args=
|
---|
| 7434 |
|
---|
| 7435 | if $ac_cs_silent; then
|
---|
| 7436 | exec 6>/dev/null
|
---|
| 7437 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 7438 | fi
|
---|
| 7439 |
|
---|
| 7440 | _ACEOF
|
---|
[25149] | 7441 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[16566] | 7442 | if \$ac_cs_recheck; then
|
---|
[25149] | 7443 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 7444 | shift
|
---|
| 7445 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 7446 | CONFIG_SHELL='$SHELL'
|
---|
| 7447 | export CONFIG_SHELL
|
---|
| 7448 | exec "\$@"
|
---|
[16566] | 7449 | fi
|
---|
| 7450 |
|
---|
| 7451 | _ACEOF
|
---|
[25149] | 7452 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7453 | exec 5>>config.log
|
---|
| 7454 | {
|
---|
| 7455 | echo
|
---|
| 7456 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7457 | ## Running $as_me. ##
|
---|
| 7458 | _ASBOX
|
---|
| 7459 | $as_echo "$ac_log"
|
---|
| 7460 | } >&5
|
---|
[16566] | 7461 |
|
---|
[25149] | 7462 | _ACEOF
|
---|
| 7463 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7464 | _ACEOF
|
---|
[16566] | 7465 |
|
---|
[25149] | 7466 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[21327] | 7467 |
|
---|
[25149] | 7468 | # Handling of arguments.
|
---|
[16566] | 7469 | for ac_config_target in $ac_config_targets
|
---|
| 7470 | do
|
---|
[25149] | 7471 | case $ac_config_target in
|
---|
| 7472 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 7473 | "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
|
---|
| 7474 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 7475 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 7476 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 7477 |
|
---|
[26565] | 7478 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
---|
[16566] | 7479 | esac
|
---|
| 7480 | done
|
---|
| 7481 |
|
---|
[25149] | 7482 |
|
---|
[16566] | 7483 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7484 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7485 | # We use the long form for the default assignment because of an extremely
|
---|
| 7486 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7487 | if $ac_need_defaults; then
|
---|
| 7488 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7489 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7490 | fi
|
---|
| 7491 |
|
---|
| 7492 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[25149] | 7493 | # simply because there is no reason against having it here, and in addition,
|
---|
[16566] | 7494 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[25149] | 7495 | # Hook for its removal unless debugging.
|
---|
| 7496 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 7497 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[16566] | 7498 | $debug ||
|
---|
| 7499 | {
|
---|
[26565] | 7500 | tmp= ac_tmp=
|
---|
[25149] | 7501 | trap 'exit_status=$?
|
---|
[26565] | 7502 | : "${ac_tmp:=$tmp}"
|
---|
| 7503 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
---|
[25149] | 7504 | ' 0
|
---|
[26565] | 7505 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
[16566] | 7506 | }
|
---|
| 7507 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7508 |
|
---|
| 7509 | {
|
---|
[25149] | 7510 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[26565] | 7511 | test -d "$tmp"
|
---|
[16566] | 7512 | } ||
|
---|
| 7513 | {
|
---|
[25149] | 7514 | tmp=./conf$$-$RANDOM
|
---|
| 7515 | (umask 077 && mkdir "$tmp")
|
---|
[26565] | 7516 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
| 7517 | ac_tmp=$tmp
|
---|
[23356] | 7518 |
|
---|
[25149] | 7519 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 7520 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 7521 | # This happens for instance with `./config.status config.h'.
|
---|
| 7522 | if test -n "$CONFIG_FILES"; then
|
---|
| 7523 |
|
---|
| 7524 |
|
---|
[26565] | 7525 | ac_cr=`echo X | tr X '\015'`
|
---|
| 7526 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 7527 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 7528 | # point, so we can use a bashism as a fallback.
|
---|
| 7529 | if test "x$ac_cr" = x; then
|
---|
| 7530 | eval ac_cr=\$\'\\r\'
|
---|
| 7531 | fi
|
---|
[25149] | 7532 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 7533 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
| 7534 | ac_cs_awk_cr='\\r'
|
---|
| 7535 | else
|
---|
| 7536 | ac_cs_awk_cr=$ac_cr
|
---|
| 7537 | fi
|
---|
| 7538 |
|
---|
[26565] | 7539 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
---|
[23356] | 7540 | _ACEOF
|
---|
[16566] | 7541 |
|
---|
[23356] | 7542 |
|
---|
[25149] | 7543 | {
|
---|
| 7544 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 7545 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 7546 | echo "_ACEOF"
|
---|
| 7547 | } >conf$$subs.sh ||
|
---|
[26565] | 7548 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7549 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
[25149] | 7550 | ac_delim='%!_!# '
|
---|
| 7551 | for ac_last_try in false false false false false :; do
|
---|
| 7552 | . ./conf$$subs.sh ||
|
---|
[26565] | 7553 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[23356] | 7554 |
|
---|
[25149] | 7555 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 7556 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 7557 | break
|
---|
| 7558 | elif $ac_last_try; then
|
---|
[26565] | 7559 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[25149] | 7560 | else
|
---|
| 7561 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7562 | fi
|
---|
| 7563 | done
|
---|
| 7564 | rm -f conf$$subs.sh
|
---|
[21327] | 7565 |
|
---|
[25149] | 7566 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[26565] | 7567 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
[16566] | 7568 | _ACEOF
|
---|
[25149] | 7569 | sed -n '
|
---|
| 7570 | h
|
---|
| 7571 | s/^/S["/; s/!.*/"]=/
|
---|
| 7572 | p
|
---|
| 7573 | g
|
---|
| 7574 | s/^[^!]*!//
|
---|
| 7575 | :repl
|
---|
| 7576 | t repl
|
---|
| 7577 | s/'"$ac_delim"'$//
|
---|
| 7578 | t delim
|
---|
| 7579 | :nl
|
---|
| 7580 | h
|
---|
[26565] | 7581 | s/\(.\{148\}\)..*/\1/
|
---|
[25149] | 7582 | t more1
|
---|
| 7583 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 7584 | p
|
---|
| 7585 | n
|
---|
| 7586 | b repl
|
---|
| 7587 | :more1
|
---|
| 7588 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7589 | p
|
---|
| 7590 | g
|
---|
| 7591 | s/.\{148\}//
|
---|
| 7592 | t nl
|
---|
| 7593 | :delim
|
---|
| 7594 | h
|
---|
[26565] | 7595 | s/\(.\{148\}\)..*/\1/
|
---|
[25149] | 7596 | t more2
|
---|
| 7597 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 7598 | p
|
---|
| 7599 | b
|
---|
| 7600 | :more2
|
---|
| 7601 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7602 | p
|
---|
| 7603 | g
|
---|
| 7604 | s/.\{148\}//
|
---|
| 7605 | t delim
|
---|
| 7606 | ' <conf$$subs.awk | sed '
|
---|
| 7607 | /^[^""]/{
|
---|
| 7608 | N
|
---|
| 7609 | s/\n//
|
---|
| 7610 | }
|
---|
| 7611 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7612 | rm -f conf$$subs.awk
|
---|
| 7613 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7614 | _ACAWK
|
---|
[26565] | 7615 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
---|
[25149] | 7616 | for (key in S) S_is_set[key] = 1
|
---|
| 7617 | FS = ""
|
---|
[16566] | 7618 |
|
---|
[25149] | 7619 | }
|
---|
| 7620 | {
|
---|
| 7621 | line = $ 0
|
---|
| 7622 | nfields = split(line, field, "@")
|
---|
| 7623 | substed = 0
|
---|
| 7624 | len = length(field[1])
|
---|
| 7625 | for (i = 2; i < nfields; i++) {
|
---|
| 7626 | key = field[i]
|
---|
| 7627 | keylen = length(key)
|
---|
| 7628 | if (S_is_set[key]) {
|
---|
| 7629 | value = S[key]
|
---|
| 7630 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 7631 | len += length(value) + length(field[++i])
|
---|
| 7632 | substed = 1
|
---|
| 7633 | } else
|
---|
| 7634 | len += 1 + keylen
|
---|
| 7635 | }
|
---|
| 7636 |
|
---|
| 7637 | print line
|
---|
| 7638 | }
|
---|
| 7639 |
|
---|
| 7640 | _ACAWK
|
---|
| 7641 | _ACEOF
|
---|
| 7642 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7643 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 7644 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 7645 | else
|
---|
| 7646 | cat
|
---|
[26565] | 7647 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
---|
| 7648 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
[25149] | 7649 | _ACEOF
|
---|
| 7650 |
|
---|
[26565] | 7651 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 7652 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
[25149] | 7653 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7654 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7655 | if test "x$srcdir" = x.; then
|
---|
[26565] | 7656 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 7657 | h
|
---|
| 7658 | s///
|
---|
| 7659 | s/^/:/
|
---|
| 7660 | s/[ ]*$/:/
|
---|
| 7661 | s/:\$(srcdir):/:/g
|
---|
| 7662 | s/:\${srcdir}:/:/g
|
---|
| 7663 | s/:@srcdir@:/:/g
|
---|
| 7664 | s/^:*//
|
---|
[25149] | 7665 | s/:*$//
|
---|
[26565] | 7666 | x
|
---|
| 7667 | s/\(=[ ]*\).*/\1/
|
---|
| 7668 | G
|
---|
| 7669 | s/\n//
|
---|
[25149] | 7670 | s/^[^=]*=[ ]*$//
|
---|
| 7671 | }'
|
---|
| 7672 | fi
|
---|
| 7673 |
|
---|
| 7674 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[24874] | 7675 | fi # test -n "$CONFIG_FILES"
|
---|
[16566] | 7676 |
|
---|
[25149] | 7677 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 7678 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 7679 | # This happens for instance with `./config.status Makefile'.
|
---|
| 7680 | if test -n "$CONFIG_HEADERS"; then
|
---|
[26565] | 7681 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
---|
[25149] | 7682 | BEGIN {
|
---|
[16566] | 7683 | _ACEOF
|
---|
[25149] | 7684 |
|
---|
| 7685 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 7686 | # here-document in config.status, that substitutes the proper values into
|
---|
| 7687 | # config.h.in to produce config.h.
|
---|
| 7688 |
|
---|
| 7689 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 7690 | # handling of long lines.
|
---|
| 7691 | ac_delim='%!_!# '
|
---|
| 7692 | for ac_last_try in false false :; do
|
---|
[26565] | 7693 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 7694 | if test -z "$ac_tt"; then
|
---|
[25149] | 7695 | break
|
---|
| 7696 | elif $ac_last_try; then
|
---|
[26565] | 7697 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
[25149] | 7698 | else
|
---|
| 7699 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7700 | fi
|
---|
| 7701 | done
|
---|
| 7702 |
|
---|
| 7703 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 7704 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 7705 | # newline sequences.
|
---|
| 7706 |
|
---|
| 7707 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 7708 | sed -n '
|
---|
| 7709 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7710 | t rset
|
---|
| 7711 | :rset
|
---|
| 7712 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 7713 | t def
|
---|
| 7714 | d
|
---|
| 7715 | :def
|
---|
| 7716 | s/\\$//
|
---|
| 7717 | t bsnl
|
---|
| 7718 | s/["\\]/\\&/g
|
---|
| 7719 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7720 | D["\1"]=" \3"/p
|
---|
| 7721 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 7722 | d
|
---|
| 7723 | :bsnl
|
---|
| 7724 | s/["\\]/\\&/g
|
---|
| 7725 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7726 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 7727 | t cont
|
---|
| 7728 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 7729 | t cont
|
---|
| 7730 | d
|
---|
| 7731 | :cont
|
---|
| 7732 | n
|
---|
| 7733 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7734 | t clear
|
---|
| 7735 | :clear
|
---|
| 7736 | s/\\$//
|
---|
| 7737 | t bsnlc
|
---|
| 7738 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 7739 | d
|
---|
| 7740 | :bsnlc
|
---|
| 7741 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 7742 | b cont
|
---|
| 7743 | ' <confdefs.h | sed '
|
---|
| 7744 | s/'"$ac_delim"'/"\\\
|
---|
| 7745 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7746 |
|
---|
| 7747 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7748 | for (key in D) D_is_set[key] = 1
|
---|
| 7749 | FS = ""
|
---|
| 7750 | }
|
---|
| 7751 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 7752 | line = \$ 0
|
---|
| 7753 | split(line, arg, " ")
|
---|
| 7754 | if (arg[1] == "#") {
|
---|
| 7755 | defundef = arg[2]
|
---|
| 7756 | mac1 = arg[3]
|
---|
| 7757 | } else {
|
---|
| 7758 | defundef = substr(arg[1], 2)
|
---|
| 7759 | mac1 = arg[2]
|
---|
| 7760 | }
|
---|
| 7761 | split(mac1, mac2, "(") #)
|
---|
| 7762 | macro = mac2[1]
|
---|
| 7763 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 7764 | if (D_is_set[macro]) {
|
---|
| 7765 | # Preserve the white space surrounding the "#".
|
---|
| 7766 | print prefix "define", macro P[macro] D[macro]
|
---|
| 7767 | next
|
---|
| 7768 | } else {
|
---|
| 7769 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 7770 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 7771 | # on some systems where configure will not decide to define it.
|
---|
| 7772 | if (defundef == "undef") {
|
---|
| 7773 | print "/*", prefix defundef, macro, "*/"
|
---|
| 7774 | next
|
---|
| 7775 | }
|
---|
| 7776 | }
|
---|
| 7777 | }
|
---|
| 7778 | { print }
|
---|
| 7779 | _ACAWK
|
---|
| 7780 | _ACEOF
|
---|
| 7781 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[26565] | 7782 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
[25149] | 7783 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 7784 |
|
---|
| 7785 |
|
---|
| 7786 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
---|
| 7787 | shift
|
---|
| 7788 | for ac_tag
|
---|
| 7789 | do
|
---|
| 7790 | case $ac_tag in
|
---|
| 7791 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[16566] | 7792 | esac
|
---|
[25149] | 7793 | case $ac_mode$ac_tag in
|
---|
| 7794 | :[FHL]*:*);;
|
---|
[26565] | 7795 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
---|
[25149] | 7796 | :[FH]-) ac_tag=-:-;;
|
---|
| 7797 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 7798 | esac
|
---|
| 7799 | ac_save_IFS=$IFS
|
---|
| 7800 | IFS=:
|
---|
| 7801 | set x $ac_tag
|
---|
| 7802 | IFS=$ac_save_IFS
|
---|
| 7803 | shift
|
---|
| 7804 | ac_file=$1
|
---|
| 7805 | shift
|
---|
[16566] | 7806 |
|
---|
[25149] | 7807 | case $ac_mode in
|
---|
| 7808 | :L) ac_source=$1;;
|
---|
| 7809 | :[FH])
|
---|
| 7810 | ac_file_inputs=
|
---|
| 7811 | for ac_f
|
---|
| 7812 | do
|
---|
| 7813 | case $ac_f in
|
---|
[26565] | 7814 | -) ac_f="$ac_tmp/stdin";;
|
---|
[25149] | 7815 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 7816 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 7817 | # because $ac_f cannot contain `:'.
|
---|
| 7818 | test -f "$ac_f" ||
|
---|
| 7819 | case $ac_f in
|
---|
| 7820 | [\\/$]*) false;;
|
---|
| 7821 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 7822 | esac ||
|
---|
[26565] | 7823 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
---|
[25149] | 7824 | esac
|
---|
| 7825 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
[26565] | 7826 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
[25149] | 7827 | done
|
---|
| 7828 |
|
---|
| 7829 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7830 | # use $as_me), people would be surprised to read:
|
---|
| 7831 | # /* config.h. Generated by config.status. */
|
---|
| 7832 | configure_input='Generated from '`
|
---|
| 7833 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 7834 | `' by configure.'
|
---|
| 7835 | if test x"$ac_file" != x-; then
|
---|
| 7836 | configure_input="$ac_file. $configure_input"
|
---|
[26565] | 7837 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
[25149] | 7838 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 7839 | fi
|
---|
| 7840 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 7841 | case $configure_input in #(
|
---|
| 7842 | *\&* | *\|* | *\\* )
|
---|
| 7843 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 7844 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 7845 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 7846 | esac
|
---|
| 7847 |
|
---|
| 7848 | case $ac_tag in
|
---|
[26565] | 7849 | *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
---|
| 7850 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
[25149] | 7851 | esac
|
---|
| 7852 | ;;
|
---|
| 7853 | esac
|
---|
| 7854 |
|
---|
| 7855 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[16566] | 7856 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7857 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7858 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[25149] | 7859 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7860 | $as_echo X"$ac_file" |
|
---|
| 7861 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7862 | s//\1/
|
---|
| 7863 | q
|
---|
| 7864 | }
|
---|
| 7865 | /^X\(\/\/\)[^/].*/{
|
---|
| 7866 | s//\1/
|
---|
| 7867 | q
|
---|
| 7868 | }
|
---|
| 7869 | /^X\(\/\/\)$/{
|
---|
| 7870 | s//\1/
|
---|
| 7871 | q
|
---|
| 7872 | }
|
---|
| 7873 | /^X\(\/\).*/{
|
---|
| 7874 | s//\1/
|
---|
| 7875 | q
|
---|
| 7876 | }
|
---|
| 7877 | s/.*/./; q'`
|
---|
[26565] | 7878 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16566] | 7879 | ac_builddir=.
|
---|
| 7880 |
|
---|
[25149] | 7881 | case "$ac_dir" in
|
---|
| 7882 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7883 | *)
|
---|
| 7884 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7885 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7886 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7887 | case $ac_top_builddir_sub in
|
---|
| 7888 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7889 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7890 | esac ;;
|
---|
| 7891 | esac
|
---|
| 7892 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7893 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7894 | # for backward compatibility:
|
---|
| 7895 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 7896 |
|
---|
| 7897 | case $srcdir in
|
---|
[25149] | 7898 | .) # We are building in place.
|
---|
[16566] | 7899 | ac_srcdir=.
|
---|
[25149] | 7900 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7901 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7902 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 7903 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 7904 | ac_top_srcdir=$srcdir
|
---|
| 7905 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7906 | *) # Relative name.
|
---|
| 7907 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7908 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7909 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 7910 | esac
|
---|
[25149] | 7911 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 7912 |
|
---|
| 7913 |
|
---|
[25149] | 7914 | case $ac_mode in
|
---|
| 7915 | :F)
|
---|
| 7916 | #
|
---|
| 7917 | # CONFIG_FILE
|
---|
| 7918 | #
|
---|
[16566] | 7919 |
|
---|
| 7920 | case $INSTALL in
|
---|
| 7921 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[25149] | 7922 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[16566] | 7923 | esac
|
---|
[25149] | 7924 | _ACEOF
|
---|
[16566] | 7925 |
|
---|
[25149] | 7926 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7927 | # If the template does not know about datarootdir, expand it.
|
---|
| 7928 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 7929 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 7930 | ac_sed_dataroot='
|
---|
| 7931 | /datarootdir/ {
|
---|
| 7932 | p
|
---|
| 7933 | q
|
---|
| 7934 | }
|
---|
| 7935 | /@datadir@/p
|
---|
| 7936 | /@docdir@/p
|
---|
| 7937 | /@infodir@/p
|
---|
| 7938 | /@localedir@/p
|
---|
[26565] | 7939 | /@mandir@/p'
|
---|
[25149] | 7940 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 7941 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 7942 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
[26565] | 7943 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
[25149] | 7944 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
[23356] | 7945 | _ACEOF
|
---|
[25149] | 7946 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7947 | ac_datarootdir_hack='
|
---|
| 7948 | s&@datadir@&$datadir&g
|
---|
| 7949 | s&@docdir@&$docdir&g
|
---|
| 7950 | s&@infodir@&$infodir&g
|
---|
| 7951 | s&@localedir@&$localedir&g
|
---|
| 7952 | s&@mandir@&$mandir&g
|
---|
[26565] | 7953 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
[25149] | 7954 | esac
|
---|
| 7955 | _ACEOF
|
---|
| 7956 |
|
---|
| 7957 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 7958 | # Shell code in configure.ac might set extrasub.
|
---|
| 7959 | # FIXME: do we really want to maintain this feature?
|
---|
| 7960 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7961 | ac_sed_extra="$ac_vpsub
|
---|
[16566] | 7962 | $extrasub
|
---|
| 7963 | _ACEOF
|
---|
[25149] | 7964 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16566] | 7965 | :t
|
---|
| 7966 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[25149] | 7967 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 7968 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 7969 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 7970 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 7971 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 7972 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 7973 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 7974 | s&@builddir@&$ac_builddir&;t t
|
---|
| 7975 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 7976 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 7977 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 7978 | $ac_datarootdir_hack
|
---|
| 7979 | "
|
---|
[26565] | 7980 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
---|
| 7981 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16566] | 7982 |
|
---|
[25149] | 7983 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
[26565] | 7984 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 7985 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
---|
| 7986 | "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 7987 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7988 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
[25149] | 7989 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[26565] | 7990 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
[16566] | 7991 |
|
---|
[26565] | 7992 | rm -f "$ac_tmp/stdin"
|
---|
[16566] | 7993 | case $ac_file in
|
---|
[26565] | 7994 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
---|
| 7995 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
---|
[25149] | 7996 | esac \
|
---|
[26565] | 7997 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[25149] | 7998 | ;;
|
---|
| 7999 | :H)
|
---|
| 8000 | #
|
---|
| 8001 | # CONFIG_HEADER
|
---|
| 8002 | #
|
---|
| 8003 | if test x"$ac_file" != x-; then
|
---|
| 8004 | {
|
---|
| 8005 | $as_echo "/* $configure_input */" \
|
---|
[26565] | 8006 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 8007 | } >"$ac_tmp/config.h" \
|
---|
| 8008 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 8009 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
---|
| 8010 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
[25149] | 8011 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[16566] | 8012 | else
|
---|
[25149] | 8013 | rm -f "$ac_file"
|
---|
[26565] | 8014 | mv "$ac_tmp/config.h" "$ac_file" \
|
---|
| 8015 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16566] | 8016 | fi
|
---|
| 8017 | else
|
---|
[25149] | 8018 | $as_echo "/* $configure_input */" \
|
---|
[26565] | 8019 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
---|
| 8020 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
[16566] | 8021 | fi
|
---|
[25149] | 8022 | ;;
|
---|
[16566] | 8023 |
|
---|
| 8024 |
|
---|
[25149] | 8025 | esac
|
---|
| 8026 |
|
---|
| 8027 | done # for ac_tag
|
---|
| 8028 |
|
---|
| 8029 |
|
---|
[26565] | 8030 | as_fn_exit 0
|
---|
[16566] | 8031 | _ACEOF
|
---|
| 8032 | ac_clean_files=$ac_clean_files_save
|
---|
| 8033 |
|
---|
[25149] | 8034 | test $ac_write_fail = 0 ||
|
---|
[26565] | 8035 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
[16566] | 8036 |
|
---|
[25149] | 8037 |
|
---|
[16566] | 8038 | # configure is writing to config.log, and then calls config.status.
|
---|
| 8039 | # config.status does its own redirection, appending to config.log.
|
---|
| 8040 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 8041 | # by configure, so config.status won't be able to write to it; its
|
---|
| 8042 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 8043 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 8044 | # appended to by config.status. When coming back to configure, we
|
---|
| 8045 | # need to make the FD available again.
|
---|
| 8046 | if test "$no_create" != yes; then
|
---|
| 8047 | ac_cs_success=:
|
---|
| 8048 | ac_config_status_args=
|
---|
| 8049 | test "$silent" = yes &&
|
---|
| 8050 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 8051 | exec 5>/dev/null
|
---|
| 8052 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 8053 | exec 5>>config.log
|
---|
| 8054 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 8055 | # would make configure fail if this is the last instruction.
|
---|
[26565] | 8056 | $ac_cs_success || as_fn_exit 1
|
---|
[16566] | 8057 | fi
|
---|
| 8058 |
|
---|
| 8059 | #
|
---|
| 8060 | # CONFIG_SUBDIRS section.
|
---|
| 8061 | #
|
---|
| 8062 | if test "$no_recursion" != yes; then
|
---|
| 8063 |
|
---|
[25149] | 8064 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
| 8065 | # so they do not pile up.
|
---|
[16566] | 8066 | ac_sub_configure_args=
|
---|
| 8067 | ac_prev=
|
---|
[25149] | 8068 | eval "set x $ac_configure_args"
|
---|
| 8069 | shift
|
---|
| 8070 | for ac_arg
|
---|
| 8071 | do
|
---|
[16566] | 8072 | if test -n "$ac_prev"; then
|
---|
| 8073 | ac_prev=
|
---|
| 8074 | continue
|
---|
| 8075 | fi
|
---|
| 8076 | case $ac_arg in
|
---|
| 8077 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 8078 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 8079 | ac_prev=cache_file ;;
|
---|
| 8080 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 8081 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 8082 | | --c=*)
|
---|
| 8083 | ;;
|
---|
| 8084 | --config-cache | -C)
|
---|
| 8085 | ;;
|
---|
| 8086 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 8087 | ac_prev=srcdir ;;
|
---|
| 8088 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 8089 | ;;
|
---|
| 8090 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 8091 | ac_prev=prefix ;;
|
---|
| 8092 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 8093 | ;;
|
---|
[25149] | 8094 | --disable-option-checking)
|
---|
| 8095 | ;;
|
---|
| 8096 | *)
|
---|
| 8097 | case $ac_arg in
|
---|
| 8098 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8099 | esac
|
---|
[26565] | 8100 | as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
---|
[16566] | 8101 | esac
|
---|
| 8102 | done
|
---|
| 8103 |
|
---|
| 8104 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 8105 | # in subdir configurations.
|
---|
[25149] | 8106 | ac_arg="--prefix=$prefix"
|
---|
| 8107 | case $ac_arg in
|
---|
| 8108 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8109 | esac
|
---|
| 8110 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[16566] | 8111 |
|
---|
[25149] | 8112 | # Pass --silent
|
---|
| 8113 | if test "$silent" = yes; then
|
---|
| 8114 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 8115 | fi
|
---|
| 8116 |
|
---|
| 8117 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
| 8118 | # different subdirs can have different --enable and --with options.
|
---|
| 8119 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
| 8120 |
|
---|
[16566] | 8121 | ac_popdir=`pwd`
|
---|
| 8122 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 8123 |
|
---|
| 8124 | # Do not complain, so a configure script can configure whichever
|
---|
| 8125 | # parts of a large source tree are present.
|
---|
[25149] | 8126 | test -d "$srcdir/$ac_dir" || continue
|
---|
[16566] | 8127 |
|
---|
[25149] | 8128 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
[26565] | 8129 | $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
---|
[25149] | 8130 | $as_echo "$ac_msg" >&6
|
---|
[26565] | 8131 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16566] | 8132 | ac_builddir=.
|
---|
| 8133 |
|
---|
[25149] | 8134 | case "$ac_dir" in
|
---|
| 8135 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8136 | *)
|
---|
| 8137 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 8138 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 8139 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 8140 | case $ac_top_builddir_sub in
|
---|
| 8141 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8142 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8143 | esac ;;
|
---|
| 8144 | esac
|
---|
| 8145 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8146 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8147 | # for backward compatibility:
|
---|
| 8148 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 8149 |
|
---|
| 8150 | case $srcdir in
|
---|
[25149] | 8151 | .) # We are building in place.
|
---|
[16566] | 8152 | ac_srcdir=.
|
---|
[25149] | 8153 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8154 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8155 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 8156 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 8157 | ac_top_srcdir=$srcdir
|
---|
| 8158 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8159 | *) # Relative name.
|
---|
| 8160 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8161 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8162 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 8163 | esac
|
---|
[25149] | 8164 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 8165 |
|
---|
| 8166 |
|
---|
[25149] | 8167 | cd "$ac_dir"
|
---|
[16566] | 8168 |
|
---|
| 8169 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[25149] | 8170 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 8171 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 8172 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 8173 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 8174 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 8175 | # This should be Cygnus configure.
|
---|
| 8176 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[16566] | 8177 | else
|
---|
[26565] | 8178 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
---|
[25149] | 8179 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[16566] | 8180 | ac_sub_configure=
|
---|
| 8181 | fi
|
---|
| 8182 |
|
---|
| 8183 | # The recursion is here.
|
---|
| 8184 | if test -n "$ac_sub_configure"; then
|
---|
| 8185 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 8186 | case $cache_file in
|
---|
| 8187 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[25149] | 8188 | *) # Relative name.
|
---|
| 8189 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[16566] | 8190 | esac
|
---|
| 8191 |
|
---|
[26565] | 8192 | { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
[25149] | 8193 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[16566] | 8194 | # The eval makes quoting arguments work.
|
---|
[25149] | 8195 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 8196 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
[26565] | 8197 | as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
---|
[16566] | 8198 | fi
|
---|
| 8199 |
|
---|
[25149] | 8200 | cd "$ac_popdir"
|
---|
[16566] | 8201 | done
|
---|
| 8202 | fi
|
---|
[25149] | 8203 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
[26565] | 8204 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
[25149] | 8205 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 8206 | fi
|
---|
[16566] | 8207 |
|
---|
| 8208 |
|
---|
| 8209 |
|
---|