[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
|
---|
| 618 | RANLIB
|
---|
| 619 | SET_MAKE
|
---|
| 620 | LN_S
|
---|
| 621 | INSTALL_DATA
|
---|
| 622 | INSTALL_SCRIPT
|
---|
| 623 | INSTALL_PROGRAM
|
---|
| 624 | target_os
|
---|
| 625 | target_vendor
|
---|
| 626 | target_cpu
|
---|
| 627 | target
|
---|
| 628 | host_os
|
---|
| 629 | host_vendor
|
---|
| 630 | host_cpu
|
---|
| 631 | host
|
---|
| 632 | build_os
|
---|
| 633 | build_vendor
|
---|
| 634 | build_cpu
|
---|
| 635 | build
|
---|
| 636 | YFLAGS
|
---|
| 637 | YACC
|
---|
| 638 | AWK
|
---|
| 639 | JAVACFLAGS
|
---|
| 640 | JAVAC
|
---|
| 641 | uudecode
|
---|
| 642 | JAVA
|
---|
| 643 | ac_ct_CXX
|
---|
| 644 | CXXFLAGS
|
---|
| 645 | CXX
|
---|
| 646 | OBJEXT
|
---|
| 647 | EXEEXT
|
---|
| 648 | ac_ct_CC
|
---|
| 649 | CPPFLAGS
|
---|
| 650 | CC
|
---|
| 651 | CFLAGS
|
---|
| 652 | LDFLAGS
|
---|
| 653 | ENABLE_LUCENE
|
---|
| 654 | ENABLE_MGPP
|
---|
| 655 | ENABLE_MG
|
---|
| 656 | ENABLE_JNI
|
---|
| 657 | USE_SQLITE
|
---|
| 658 | ENABLE_ACCENTFOLD
|
---|
| 659 | USE_GDBM
|
---|
| 660 | USE_JDBM
|
---|
| 661 | ENABLE_JAVA
|
---|
| 662 | USE_YAZ
|
---|
| 663 | USE_Z3950
|
---|
| 664 | MICO_DIR
|
---|
| 665 | USE_CORBA
|
---|
| 666 | USE_LANGACTION
|
---|
| 667 | USE_FASTCGI
|
---|
| 668 | VERSION
|
---|
| 669 | PACKAGE
|
---|
| 670 | target_alias
|
---|
| 671 | host_alias
|
---|
| 672 | build_alias
|
---|
| 673 | LIBS
|
---|
| 674 | ECHO_T
|
---|
| 675 | ECHO_N
|
---|
| 676 | ECHO_C
|
---|
| 677 | DEFS
|
---|
| 678 | mandir
|
---|
| 679 | localedir
|
---|
| 680 | libdir
|
---|
| 681 | psdir
|
---|
| 682 | pdfdir
|
---|
| 683 | dvidir
|
---|
| 684 | htmldir
|
---|
| 685 | infodir
|
---|
| 686 | docdir
|
---|
| 687 | oldincludedir
|
---|
| 688 | includedir
|
---|
| 689 | localstatedir
|
---|
| 690 | sharedstatedir
|
---|
| 691 | sysconfdir
|
---|
| 692 | datadir
|
---|
| 693 | datarootdir
|
---|
| 694 | libexecdir
|
---|
| 695 | sbindir
|
---|
| 696 | bindir
|
---|
| 697 | program_transform_name
|
---|
| 698 | prefix
|
---|
| 699 | exec_prefix
|
---|
[26565] | 700 | PACKAGE_URL
|
---|
[25149] | 701 | PACKAGE_BUGREPORT
|
---|
| 702 | PACKAGE_STRING
|
---|
| 703 | PACKAGE_VERSION
|
---|
| 704 | PACKAGE_TARNAME
|
---|
| 705 | PACKAGE_NAME
|
---|
| 706 | PATH_SEPARATOR
|
---|
| 707 | SHELL'
|
---|
[16566] | 708 | ac_subst_files=''
|
---|
[25149] | 709 | ac_user_opts='
|
---|
| 710 | enable_option_checking
|
---|
| 711 | enable_corba
|
---|
| 712 | with_micodir
|
---|
| 713 | enable_z3950
|
---|
| 714 | enable_yaz
|
---|
| 715 | enable_java
|
---|
| 716 | enable_jdbm
|
---|
| 717 | enable_gdbm
|
---|
| 718 | enable_accentfold
|
---|
| 719 | enable_sqlite
|
---|
| 720 | enable_jni
|
---|
| 721 | enable_mg
|
---|
| 722 | enable_mgpp
|
---|
| 723 | enable_lucene
|
---|
| 724 | with_dmalloc
|
---|
| 725 | with_regex
|
---|
| 726 | '
|
---|
| 727 | ac_precious_vars='build_alias
|
---|
| 728 | host_alias
|
---|
| 729 | target_alias
|
---|
| 730 | CC
|
---|
| 731 | CFLAGS
|
---|
| 732 | LDFLAGS
|
---|
| 733 | LIBS
|
---|
| 734 | CPPFLAGS
|
---|
| 735 | CXX
|
---|
| 736 | CXXFLAGS
|
---|
| 737 | CCC
|
---|
| 738 | YACC
|
---|
| 739 | YFLAGS
|
---|
| 740 | CPP'
|
---|
| 741 | ac_subdirs_all='packages
|
---|
| 742 | indexers'
|
---|
[16566] | 743 |
|
---|
| 744 | # Initialize some variables set by options.
|
---|
| 745 | ac_init_help=
|
---|
| 746 | ac_init_version=false
|
---|
[25149] | 747 | ac_unrecognized_opts=
|
---|
| 748 | ac_unrecognized_sep=
|
---|
[16566] | 749 | # The variables have the same names as the options, with
|
---|
| 750 | # dashes changed to underlines.
|
---|
| 751 | cache_file=/dev/null
|
---|
| 752 | exec_prefix=NONE
|
---|
| 753 | no_create=
|
---|
| 754 | no_recursion=
|
---|
| 755 | prefix=NONE
|
---|
| 756 | program_prefix=NONE
|
---|
| 757 | program_suffix=NONE
|
---|
| 758 | program_transform_name=s,x,x,
|
---|
| 759 | silent=
|
---|
| 760 | site=
|
---|
| 761 | srcdir=
|
---|
| 762 | verbose=
|
---|
| 763 | x_includes=NONE
|
---|
| 764 | x_libraries=NONE
|
---|
| 765 |
|
---|
| 766 | # Installation directory options.
|
---|
| 767 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 768 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 769 | # by default will actually change.
|
---|
| 770 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[25149] | 771 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[16566] | 772 | bindir='${exec_prefix}/bin'
|
---|
| 773 | sbindir='${exec_prefix}/sbin'
|
---|
| 774 | libexecdir='${exec_prefix}/libexec'
|
---|
[25149] | 775 | datarootdir='${prefix}/share'
|
---|
| 776 | datadir='${datarootdir}'
|
---|
[16566] | 777 | sysconfdir='${prefix}/etc'
|
---|
| 778 | sharedstatedir='${prefix}/com'
|
---|
| 779 | localstatedir='${prefix}/var'
|
---|
| 780 | includedir='${prefix}/include'
|
---|
| 781 | oldincludedir='/usr/include'
|
---|
[25149] | 782 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 783 | infodir='${datarootdir}/info'
|
---|
| 784 | htmldir='${docdir}'
|
---|
| 785 | dvidir='${docdir}'
|
---|
| 786 | pdfdir='${docdir}'
|
---|
| 787 | psdir='${docdir}'
|
---|
| 788 | libdir='${exec_prefix}/lib'
|
---|
| 789 | localedir='${datarootdir}/locale'
|
---|
| 790 | mandir='${datarootdir}/man'
|
---|
[16566] | 791 |
|
---|
| 792 | ac_prev=
|
---|
[25149] | 793 | ac_dashdash=
|
---|
[16566] | 794 | for ac_option
|
---|
| 795 | do
|
---|
| 796 | # If the previous option needs an argument, assign it.
|
---|
| 797 | if test -n "$ac_prev"; then
|
---|
[25149] | 798 | eval $ac_prev=\$ac_option
|
---|
[16566] | 799 | ac_prev=
|
---|
| 800 | continue
|
---|
| 801 | fi
|
---|
| 802 |
|
---|
[25149] | 803 | case $ac_option in
|
---|
[26565] | 804 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 805 | *=) ac_optarg= ;;
|
---|
| 806 | *) ac_optarg=yes ;;
|
---|
[25149] | 807 | esac
|
---|
[16566] | 808 |
|
---|
| 809 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 810 |
|
---|
[25149] | 811 | case $ac_dashdash$ac_option in
|
---|
| 812 | --)
|
---|
| 813 | ac_dashdash=yes ;;
|
---|
[16566] | 814 |
|
---|
| 815 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 816 | ac_prev=bindir ;;
|
---|
| 817 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 818 | bindir=$ac_optarg ;;
|
---|
| 819 |
|
---|
| 820 | -build | --build | --buil | --bui | --bu)
|
---|
| 821 | ac_prev=build_alias ;;
|
---|
| 822 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 823 | build_alias=$ac_optarg ;;
|
---|
| 824 |
|
---|
| 825 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 826 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 827 | ac_prev=cache_file ;;
|
---|
| 828 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 829 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 830 | cache_file=$ac_optarg ;;
|
---|
| 831 |
|
---|
| 832 | --config-cache | -C)
|
---|
| 833 | cache_file=config.cache ;;
|
---|
| 834 |
|
---|
[25149] | 835 | -datadir | --datadir | --datadi | --datad)
|
---|
[16566] | 836 | ac_prev=datadir ;;
|
---|
[25149] | 837 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[16566] | 838 | datadir=$ac_optarg ;;
|
---|
| 839 |
|
---|
[25149] | 840 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 841 | | --dataroo | --dataro | --datar)
|
---|
| 842 | ac_prev=datarootdir ;;
|
---|
| 843 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 844 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 845 | datarootdir=$ac_optarg ;;
|
---|
| 846 |
|
---|
[16566] | 847 | -disable-* | --disable-*)
|
---|
[25149] | 848 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[16566] | 849 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 850 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 851 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[25149] | 852 | ac_useropt_orig=$ac_useropt
|
---|
| 853 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 854 | case $ac_user_opts in
|
---|
| 855 | *"
|
---|
| 856 | "enable_$ac_useropt"
|
---|
| 857 | "*) ;;
|
---|
| 858 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 859 | ac_unrecognized_sep=', ';;
|
---|
| 860 | esac
|
---|
| 861 | eval enable_$ac_useropt=no ;;
|
---|
[16566] | 862 |
|
---|
[25149] | 863 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 864 | ac_prev=docdir ;;
|
---|
| 865 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 866 | docdir=$ac_optarg ;;
|
---|
| 867 |
|
---|
| 868 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 869 | ac_prev=dvidir ;;
|
---|
| 870 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 871 | dvidir=$ac_optarg ;;
|
---|
| 872 |
|
---|
[16566] | 873 | -enable-* | --enable-*)
|
---|
[25149] | 874 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[16566] | 875 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 876 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 877 | as_fn_error $? "invalid feature name: $ac_useropt"
|
---|
[25149] | 878 | ac_useropt_orig=$ac_useropt
|
---|
| 879 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 880 | case $ac_user_opts in
|
---|
| 881 | *"
|
---|
| 882 | "enable_$ac_useropt"
|
---|
| 883 | "*) ;;
|
---|
| 884 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 885 | ac_unrecognized_sep=', ';;
|
---|
[21327] | 886 | esac
|
---|
[25149] | 887 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[16566] | 888 |
|
---|
| 889 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 890 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 891 | | --exec | --exe | --ex)
|
---|
| 892 | ac_prev=exec_prefix ;;
|
---|
| 893 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 894 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 895 | | --exec=* | --exe=* | --ex=*)
|
---|
| 896 | exec_prefix=$ac_optarg ;;
|
---|
| 897 |
|
---|
| 898 | -gas | --gas | --ga | --g)
|
---|
| 899 | # Obsolete; use --with-gas.
|
---|
| 900 | with_gas=yes ;;
|
---|
| 901 |
|
---|
| 902 | -help | --help | --hel | --he | -h)
|
---|
| 903 | ac_init_help=long ;;
|
---|
| 904 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 905 | ac_init_help=recursive ;;
|
---|
| 906 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 907 | ac_init_help=short ;;
|
---|
| 908 |
|
---|
| 909 | -host | --host | --hos | --ho)
|
---|
| 910 | ac_prev=host_alias ;;
|
---|
| 911 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 912 | host_alias=$ac_optarg ;;
|
---|
| 913 |
|
---|
[25149] | 914 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 915 | ac_prev=htmldir ;;
|
---|
| 916 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 917 | | --ht=*)
|
---|
| 918 | htmldir=$ac_optarg ;;
|
---|
| 919 |
|
---|
[16566] | 920 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 921 | | --includ | --inclu | --incl | --inc)
|
---|
| 922 | ac_prev=includedir ;;
|
---|
| 923 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 924 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 925 | includedir=$ac_optarg ;;
|
---|
| 926 |
|
---|
| 927 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 928 | ac_prev=infodir ;;
|
---|
| 929 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 930 | infodir=$ac_optarg ;;
|
---|
| 931 |
|
---|
| 932 | -libdir | --libdir | --libdi | --libd)
|
---|
| 933 | ac_prev=libdir ;;
|
---|
| 934 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 935 | libdir=$ac_optarg ;;
|
---|
| 936 |
|
---|
| 937 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 938 | | --libexe | --libex | --libe)
|
---|
| 939 | ac_prev=libexecdir ;;
|
---|
| 940 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 941 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 942 | libexecdir=$ac_optarg ;;
|
---|
| 943 |
|
---|
[25149] | 944 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 945 | ac_prev=localedir ;;
|
---|
| 946 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 947 | localedir=$ac_optarg ;;
|
---|
| 948 |
|
---|
[16566] | 949 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[25149] | 950 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[16566] | 951 | ac_prev=localstatedir ;;
|
---|
| 952 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[25149] | 953 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[16566] | 954 | localstatedir=$ac_optarg ;;
|
---|
| 955 |
|
---|
| 956 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 957 | ac_prev=mandir ;;
|
---|
| 958 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 959 | mandir=$ac_optarg ;;
|
---|
| 960 |
|
---|
| 961 | -nfp | --nfp | --nf)
|
---|
| 962 | # Obsolete; use --without-fp.
|
---|
| 963 | with_fp=no ;;
|
---|
| 964 |
|
---|
| 965 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 966 | | --no-cr | --no-c | -n)
|
---|
| 967 | no_create=yes ;;
|
---|
| 968 |
|
---|
| 969 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 970 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 971 | no_recursion=yes ;;
|
---|
| 972 |
|
---|
| 973 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 974 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 975 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 976 | ac_prev=oldincludedir ;;
|
---|
| 977 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 978 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 979 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 980 | oldincludedir=$ac_optarg ;;
|
---|
| 981 |
|
---|
| 982 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 983 | ac_prev=prefix ;;
|
---|
| 984 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 985 | prefix=$ac_optarg ;;
|
---|
| 986 |
|
---|
| 987 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 988 | | --program-pre | --program-pr | --program-p)
|
---|
| 989 | ac_prev=program_prefix ;;
|
---|
| 990 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 991 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 992 | program_prefix=$ac_optarg ;;
|
---|
| 993 |
|
---|
| 994 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 995 | | --program-suf | --program-su | --program-s)
|
---|
| 996 | ac_prev=program_suffix ;;
|
---|
| 997 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 998 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 999 | program_suffix=$ac_optarg ;;
|
---|
| 1000 |
|
---|
| 1001 | -program-transform-name | --program-transform-name \
|
---|
| 1002 | | --program-transform-nam | --program-transform-na \
|
---|
| 1003 | | --program-transform-n | --program-transform- \
|
---|
| 1004 | | --program-transform | --program-transfor \
|
---|
| 1005 | | --program-transfo | --program-transf \
|
---|
| 1006 | | --program-trans | --program-tran \
|
---|
| 1007 | | --progr-tra | --program-tr | --program-t)
|
---|
| 1008 | ac_prev=program_transform_name ;;
|
---|
| 1009 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 1010 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1011 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1012 | | --program-transform=* | --program-transfor=* \
|
---|
| 1013 | | --program-transfo=* | --program-transf=* \
|
---|
| 1014 | | --program-trans=* | --program-tran=* \
|
---|
| 1015 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 1016 | program_transform_name=$ac_optarg ;;
|
---|
| 1017 |
|
---|
[25149] | 1018 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1019 | ac_prev=pdfdir ;;
|
---|
| 1020 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1021 | pdfdir=$ac_optarg ;;
|
---|
| 1022 |
|
---|
| 1023 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1024 | ac_prev=psdir ;;
|
---|
| 1025 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1026 | psdir=$ac_optarg ;;
|
---|
| 1027 |
|
---|
[16566] | 1028 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1029 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1030 | silent=yes ;;
|
---|
| 1031 |
|
---|
| 1032 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1033 | ac_prev=sbindir ;;
|
---|
| 1034 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1035 | | --sbi=* | --sb=*)
|
---|
| 1036 | sbindir=$ac_optarg ;;
|
---|
| 1037 |
|
---|
| 1038 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1039 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1040 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1041 | | --sha | --sh)
|
---|
| 1042 | ac_prev=sharedstatedir ;;
|
---|
| 1043 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1044 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1045 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1046 | | --sha=* | --sh=*)
|
---|
| 1047 | sharedstatedir=$ac_optarg ;;
|
---|
| 1048 |
|
---|
| 1049 | -site | --site | --sit)
|
---|
| 1050 | ac_prev=site ;;
|
---|
| 1051 | -site=* | --site=* | --sit=*)
|
---|
| 1052 | site=$ac_optarg ;;
|
---|
| 1053 |
|
---|
| 1054 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1055 | ac_prev=srcdir ;;
|
---|
| 1056 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1057 | srcdir=$ac_optarg ;;
|
---|
| 1058 |
|
---|
| 1059 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1060 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1061 | ac_prev=sysconfdir ;;
|
---|
| 1062 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1063 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1064 | sysconfdir=$ac_optarg ;;
|
---|
| 1065 |
|
---|
| 1066 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1067 | ac_prev=target_alias ;;
|
---|
| 1068 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1069 | target_alias=$ac_optarg ;;
|
---|
| 1070 |
|
---|
| 1071 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1072 | verbose=yes ;;
|
---|
| 1073 |
|
---|
| 1074 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1075 | ac_init_version=: ;;
|
---|
| 1076 |
|
---|
| 1077 | -with-* | --with-*)
|
---|
[25149] | 1078 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[16566] | 1079 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 1080 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 1081 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[25149] | 1082 | ac_useropt_orig=$ac_useropt
|
---|
| 1083 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1084 | case $ac_user_opts in
|
---|
| 1085 | *"
|
---|
| 1086 | "with_$ac_useropt"
|
---|
| 1087 | "*) ;;
|
---|
| 1088 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1089 | ac_unrecognized_sep=', ';;
|
---|
[21327] | 1090 | esac
|
---|
[25149] | 1091 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[16566] | 1092 |
|
---|
| 1093 | -without-* | --without-*)
|
---|
[25149] | 1094 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[16566] | 1095 | # Reject names that are not valid shell variable names.
|
---|
[25149] | 1096 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[26565] | 1097 | as_fn_error $? "invalid package name: $ac_useropt"
|
---|
[25149] | 1098 | ac_useropt_orig=$ac_useropt
|
---|
| 1099 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1100 | case $ac_user_opts in
|
---|
| 1101 | *"
|
---|
| 1102 | "with_$ac_useropt"
|
---|
| 1103 | "*) ;;
|
---|
| 1104 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1105 | ac_unrecognized_sep=', ';;
|
---|
| 1106 | esac
|
---|
| 1107 | eval with_$ac_useropt=no ;;
|
---|
[16566] | 1108 |
|
---|
| 1109 | --x)
|
---|
| 1110 | # Obsolete; use --with-x.
|
---|
| 1111 | with_x=yes ;;
|
---|
| 1112 |
|
---|
| 1113 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1114 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1115 | ac_prev=x_includes ;;
|
---|
| 1116 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1117 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1118 | x_includes=$ac_optarg ;;
|
---|
| 1119 |
|
---|
| 1120 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1121 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1122 | ac_prev=x_libraries ;;
|
---|
| 1123 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1124 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1125 | x_libraries=$ac_optarg ;;
|
---|
| 1126 |
|
---|
[26565] | 1127 | -*) as_fn_error $? "unrecognized option: \`$ac_option'
|
---|
| 1128 | Try \`$0 --help' for more information"
|
---|
[16566] | 1129 | ;;
|
---|
| 1130 |
|
---|
| 1131 | *=*)
|
---|
| 1132 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1133 | # Reject names that are not valid shell variable names.
|
---|
[26565] | 1134 | case $ac_envvar in #(
|
---|
| 1135 | '' | [0-9]* | *[!_$as_cr_alnum]* )
|
---|
| 1136 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
---|
| 1137 | esac
|
---|
[25149] | 1138 | eval $ac_envvar=\$ac_optarg
|
---|
[16566] | 1139 | export $ac_envvar ;;
|
---|
| 1140 |
|
---|
| 1141 | *)
|
---|
| 1142 | # FIXME: should be removed in autoconf 3.0.
|
---|
[25149] | 1143 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[16566] | 1144 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[25149] | 1145 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[26565] | 1146 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
---|
[16566] | 1147 | ;;
|
---|
| 1148 |
|
---|
| 1149 | esac
|
---|
| 1150 | done
|
---|
| 1151 |
|
---|
| 1152 | if test -n "$ac_prev"; then
|
---|
| 1153 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[26565] | 1154 | as_fn_error $? "missing argument to $ac_option"
|
---|
[16566] | 1155 | fi
|
---|
| 1156 |
|
---|
[25149] | 1157 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1158 | case $enable_option_checking in
|
---|
| 1159 | no) ;;
|
---|
[26565] | 1160 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
---|
[25149] | 1161 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[16566] | 1162 | esac
|
---|
[25149] | 1163 | fi
|
---|
[16566] | 1164 |
|
---|
[25149] | 1165 | # Check all directory arguments for consistency.
|
---|
| 1166 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1167 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1168 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1169 | libdir localedir mandir
|
---|
[21327] | 1170 | do
|
---|
[25149] | 1171 | eval ac_val=\$$ac_var
|
---|
| 1172 | # Remove trailing slashes.
|
---|
[21327] | 1173 | case $ac_val in
|
---|
[25149] | 1174 | */ )
|
---|
| 1175 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1176 | eval $ac_var=\$ac_val;;
|
---|
[21327] | 1177 | esac
|
---|
[25149] | 1178 | # Be sure to have absolute directory names.
|
---|
| 1179 | case $ac_val in
|
---|
| 1180 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1181 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1182 | esac
|
---|
[26565] | 1183 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
---|
[21327] | 1184 | done
|
---|
| 1185 |
|
---|
[16566] | 1186 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1187 | # used to hold the argument of --host etc.
|
---|
| 1188 | # FIXME: To remove some day.
|
---|
| 1189 | build=$build_alias
|
---|
| 1190 | host=$host_alias
|
---|
| 1191 | target=$target_alias
|
---|
| 1192 |
|
---|
| 1193 | # FIXME: To remove some day.
|
---|
| 1194 | if test "x$host_alias" != x; then
|
---|
| 1195 | if test "x$build_alias" = x; then
|
---|
| 1196 | cross_compiling=maybe
|
---|
[26565] | 1197 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
|
---|
| 1198 | If a cross compiler is detected then cross compile mode will be used" >&2
|
---|
[16566] | 1199 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1200 | cross_compiling=yes
|
---|
| 1201 | fi
|
---|
| 1202 | fi
|
---|
| 1203 |
|
---|
| 1204 | ac_tool_prefix=
|
---|
| 1205 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1206 |
|
---|
| 1207 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1208 |
|
---|
| 1209 |
|
---|
[25149] | 1210 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1211 | ac_ls_di=`ls -di .` &&
|
---|
| 1212 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
[26565] | 1213 | as_fn_error $? "working directory cannot be determined"
|
---|
[25149] | 1214 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
[26565] | 1215 | as_fn_error $? "pwd does not report name of working directory"
|
---|
[25149] | 1216 |
|
---|
| 1217 |
|
---|
[16566] | 1218 | # Find the source files, if location was not specified.
|
---|
| 1219 | if test -z "$srcdir"; then
|
---|
| 1220 | ac_srcdir_defaulted=yes
|
---|
[25149] | 1221 | # Try the directory containing this script, then the parent directory.
|
---|
| 1222 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1223 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1224 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1225 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1226 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1227 | $as_echo X"$as_myself" |
|
---|
| 1228 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1229 | s//\1/
|
---|
| 1230 | q
|
---|
| 1231 | }
|
---|
| 1232 | /^X\(\/\/\)[^/].*/{
|
---|
| 1233 | s//\1/
|
---|
| 1234 | q
|
---|
| 1235 | }
|
---|
| 1236 | /^X\(\/\/\)$/{
|
---|
| 1237 | s//\1/
|
---|
| 1238 | q
|
---|
| 1239 | }
|
---|
| 1240 | /^X\(\/\).*/{
|
---|
| 1241 | s//\1/
|
---|
| 1242 | q
|
---|
| 1243 | }
|
---|
| 1244 | s/.*/./; q'`
|
---|
[16566] | 1245 | srcdir=$ac_confdir
|
---|
[25149] | 1246 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[16566] | 1247 | srcdir=..
|
---|
| 1248 | fi
|
---|
| 1249 | else
|
---|
| 1250 | ac_srcdir_defaulted=no
|
---|
| 1251 | fi
|
---|
[25149] | 1252 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1253 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
[26565] | 1254 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
---|
[25149] | 1255 | fi
|
---|
| 1256 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1257 | ac_abs_confdir=`(
|
---|
[26565] | 1258 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
---|
[25149] | 1259 | pwd)`
|
---|
| 1260 | # When building in place, set srcdir=.
|
---|
| 1261 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1262 | srcdir=.
|
---|
[20846] | 1263 | fi
|
---|
[25149] | 1264 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1265 | # Double slashes in file names in object file debugging info
|
---|
| 1266 | # mess up M-x gdb in Emacs.
|
---|
| 1267 | case $srcdir in
|
---|
| 1268 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1269 | esac
|
---|
| 1270 | for ac_var in $ac_precious_vars; do
|
---|
| 1271 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1272 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1273 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1274 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1275 | done
|
---|
[16566] | 1276 |
|
---|
| 1277 | #
|
---|
| 1278 | # Report the --help message.
|
---|
| 1279 | #
|
---|
| 1280 | if test "$ac_init_help" = "long"; then
|
---|
| 1281 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1282 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1283 | cat <<_ACEOF
|
---|
| 1284 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1285 |
|
---|
| 1286 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1287 |
|
---|
| 1288 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1289 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1290 |
|
---|
| 1291 | Defaults for the options are specified in brackets.
|
---|
| 1292 |
|
---|
| 1293 | Configuration:
|
---|
| 1294 | -h, --help display this help and exit
|
---|
| 1295 | --help=short display options specific to this package
|
---|
| 1296 | --help=recursive display the short help of all the included packages
|
---|
| 1297 | -V, --version display version information and exit
|
---|
[26565] | 1298 | -q, --quiet, --silent do not print \`checking ...' messages
|
---|
[16566] | 1299 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1300 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1301 | -n, --no-create do not create output files
|
---|
| 1302 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1303 |
|
---|
| 1304 | Installation directories:
|
---|
| 1305 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[25149] | 1306 | [$ac_default_prefix]
|
---|
[16566] | 1307 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[25149] | 1308 | [PREFIX]
|
---|
[16566] | 1309 |
|
---|
| 1310 | By default, \`make install' will install all the files in
|
---|
| 1311 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1312 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1313 | for instance \`--prefix=\$HOME'.
|
---|
| 1314 |
|
---|
| 1315 | For better control, use the options below.
|
---|
| 1316 |
|
---|
| 1317 | Fine tuning of the installation directories:
|
---|
[25149] | 1318 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1319 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1320 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1321 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1322 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1323 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1324 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1325 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1326 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1327 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1328 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1329 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1330 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1331 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1332 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1333 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1334 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1335 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1336 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[16566] | 1337 | _ACEOF
|
---|
| 1338 |
|
---|
| 1339 | cat <<\_ACEOF
|
---|
| 1340 |
|
---|
| 1341 | System types:
|
---|
| 1342 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1343 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1344 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1345 | _ACEOF
|
---|
| 1346 | fi
|
---|
| 1347 |
|
---|
| 1348 | if test -n "$ac_init_help"; then
|
---|
| 1349 |
|
---|
| 1350 | cat <<\_ACEOF
|
---|
| 1351 |
|
---|
| 1352 | Optional Features:
|
---|
[25149] | 1353 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
[16566] | 1354 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1355 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1356 | --enable-corba Enable CORBA support
|
---|
| 1357 | --enable-z3950 Enable Z39.50 client support
|
---|
| 1358 | --disable-yaz Disable YAZ compilation
|
---|
[23356] | 1359 | --disable-java Disable Java compilation
|
---|
[22058] | 1360 | --disable-jdbm Disable JDBM compilation
|
---|
| 1361 | --disable-gdbm Disable GDBM compilation
|
---|
[16566] | 1362 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
| 1363 | --disable-sqlite Disable SQLite support
|
---|
[21365] | 1364 | --enable-jni Enable JNI compilation
|
---|
[21327] | 1365 | --disable-mg Disable MG compilation
|
---|
| 1366 | --disable-mgpp Disable MGPP compilation
|
---|
| 1367 | --disable-lucene Disable Lucene compilation
|
---|
[16566] | 1368 |
|
---|
| 1369 | Optional Packages:
|
---|
| 1370 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1371 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1372 | --with-micodir Use installed MICO directory
|
---|
| 1373 | --with-dmalloc use dmalloc, as in
|
---|
| 1374 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1375 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1376 |
|
---|
| 1377 | Some influential environment variables:
|
---|
| 1378 | CC C compiler command
|
---|
| 1379 | CFLAGS C compiler flags
|
---|
| 1380 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1381 | nonstandard directory <lib dir>
|
---|
[25149] | 1382 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
[26565] | 1383 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
---|
[25149] | 1384 | you have headers in a nonstandard directory <include dir>
|
---|
[16566] | 1385 | CXX C++ compiler command
|
---|
| 1386 | CXXFLAGS C++ compiler flags
|
---|
[26565] | 1387 | YACC The `Yet Another Compiler Compiler' implementation to use.
|
---|
| 1388 | Defaults to the first program found out of: `bison -y', `byacc',
|
---|
| 1389 | `yacc'.
|
---|
[25149] | 1390 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1391 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1392 | default value of `-d' given by some make applications.
|
---|
[16566] | 1393 | CPP C preprocessor
|
---|
| 1394 |
|
---|
| 1395 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1396 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1397 |
|
---|
[26565] | 1398 | Report bugs to the package provider.
|
---|
[16566] | 1399 | _ACEOF
|
---|
[25149] | 1400 | ac_status=$?
|
---|
[16566] | 1401 | fi
|
---|
| 1402 |
|
---|
| 1403 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1404 | # If there are subdirs, report their specific --help.
|
---|
| 1405 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[25149] | 1406 | test -d "$ac_dir" ||
|
---|
| 1407 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1408 | continue
|
---|
[16566] | 1409 | ac_builddir=.
|
---|
| 1410 |
|
---|
[25149] | 1411 | case "$ac_dir" in
|
---|
| 1412 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1413 | *)
|
---|
| 1414 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1415 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1416 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1417 | case $ac_top_builddir_sub in
|
---|
| 1418 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1419 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1420 | esac ;;
|
---|
| 1421 | esac
|
---|
| 1422 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1423 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1424 | # for backward compatibility:
|
---|
| 1425 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 1426 |
|
---|
| 1427 | case $srcdir in
|
---|
[25149] | 1428 | .) # We are building in place.
|
---|
[16566] | 1429 | ac_srcdir=.
|
---|
[25149] | 1430 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1431 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1432 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 1433 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 1434 | ac_top_srcdir=$srcdir
|
---|
| 1435 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1436 | *) # Relative name.
|
---|
| 1437 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1438 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1439 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 1440 | esac
|
---|
[25149] | 1441 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 1442 |
|
---|
[25149] | 1443 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1444 | # Check for guested configure.
|
---|
| 1445 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1446 | echo &&
|
---|
| 1447 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1448 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1449 | echo &&
|
---|
| 1450 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[16566] | 1451 | else
|
---|
[25149] | 1452 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1453 | fi || ac_status=$?
|
---|
| 1454 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[16566] | 1455 | done
|
---|
| 1456 | fi
|
---|
| 1457 |
|
---|
[25149] | 1458 | test -n "$ac_init_help" && exit $ac_status
|
---|
[16566] | 1459 | if $ac_init_version; then
|
---|
| 1460 | cat <<\_ACEOF
|
---|
[25149] | 1461 | configure
|
---|
[26565] | 1462 | generated by GNU Autoconf 2.68
|
---|
[16566] | 1463 |
|
---|
[26565] | 1464 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16566] | 1465 | This configure script is free software; the Free Software Foundation
|
---|
| 1466 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1467 | _ACEOF
|
---|
[25149] | 1468 | exit
|
---|
[16566] | 1469 | fi
|
---|
[26565] | 1470 |
|
---|
| 1471 | ## ------------------------ ##
|
---|
| 1472 | ## Autoconf initialization. ##
|
---|
| 1473 | ## ------------------------ ##
|
---|
| 1474 |
|
---|
| 1475 | # ac_fn_c_try_compile LINENO
|
---|
| 1476 | # --------------------------
|
---|
| 1477 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1478 | ac_fn_c_try_compile ()
|
---|
| 1479 | {
|
---|
| 1480 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1481 | rm -f conftest.$ac_objext
|
---|
| 1482 | if { { ac_try="$ac_compile"
|
---|
| 1483 | case "(($ac_try" in
|
---|
| 1484 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1485 | *) ac_try_echo=$ac_try;;
|
---|
| 1486 | esac
|
---|
| 1487 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1488 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1489 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1490 | ac_status=$?
|
---|
| 1491 | if test -s conftest.err; then
|
---|
| 1492 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1493 | cat conftest.er1 >&5
|
---|
| 1494 | mv -f conftest.er1 conftest.err
|
---|
| 1495 | fi
|
---|
| 1496 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1497 | test $ac_status = 0; } && {
|
---|
| 1498 | test -z "$ac_c_werror_flag" ||
|
---|
| 1499 | test ! -s conftest.err
|
---|
| 1500 | } && test -s conftest.$ac_objext; then :
|
---|
| 1501 | ac_retval=0
|
---|
| 1502 | else
|
---|
| 1503 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1504 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1505 |
|
---|
| 1506 | ac_retval=1
|
---|
| 1507 | fi
|
---|
| 1508 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1509 | as_fn_set_status $ac_retval
|
---|
| 1510 |
|
---|
| 1511 | } # ac_fn_c_try_compile
|
---|
| 1512 |
|
---|
| 1513 | # ac_fn_cxx_try_compile LINENO
|
---|
| 1514 | # ----------------------------
|
---|
| 1515 | # Try to compile conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1516 | ac_fn_cxx_try_compile ()
|
---|
| 1517 | {
|
---|
| 1518 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1519 | rm -f conftest.$ac_objext
|
---|
| 1520 | if { { ac_try="$ac_compile"
|
---|
| 1521 | case "(($ac_try" in
|
---|
| 1522 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1523 | *) ac_try_echo=$ac_try;;
|
---|
| 1524 | esac
|
---|
| 1525 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1526 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1527 | (eval "$ac_compile") 2>conftest.err
|
---|
| 1528 | ac_status=$?
|
---|
| 1529 | if test -s conftest.err; then
|
---|
| 1530 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1531 | cat conftest.er1 >&5
|
---|
| 1532 | mv -f conftest.er1 conftest.err
|
---|
| 1533 | fi
|
---|
| 1534 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1535 | test $ac_status = 0; } && {
|
---|
| 1536 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 1537 | test ! -s conftest.err
|
---|
| 1538 | } && test -s conftest.$ac_objext; then :
|
---|
| 1539 | ac_retval=0
|
---|
| 1540 | else
|
---|
| 1541 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1542 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1543 |
|
---|
| 1544 | ac_retval=1
|
---|
| 1545 | fi
|
---|
| 1546 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1547 | as_fn_set_status $ac_retval
|
---|
| 1548 |
|
---|
| 1549 | } # ac_fn_cxx_try_compile
|
---|
| 1550 |
|
---|
| 1551 | # ac_fn_c_try_cpp LINENO
|
---|
| 1552 | # ----------------------
|
---|
| 1553 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1554 | ac_fn_c_try_cpp ()
|
---|
| 1555 | {
|
---|
| 1556 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1557 | if { { ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 1558 | case "(($ac_try" in
|
---|
| 1559 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1560 | *) ac_try_echo=$ac_try;;
|
---|
| 1561 | esac
|
---|
| 1562 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1563 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1564 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
---|
| 1565 | ac_status=$?
|
---|
| 1566 | if test -s conftest.err; then
|
---|
| 1567 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1568 | cat conftest.er1 >&5
|
---|
| 1569 | mv -f conftest.er1 conftest.err
|
---|
| 1570 | fi
|
---|
| 1571 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1572 | test $ac_status = 0; } > conftest.i && {
|
---|
| 1573 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 1574 | test ! -s conftest.err
|
---|
| 1575 | }; then :
|
---|
| 1576 | ac_retval=0
|
---|
| 1577 | else
|
---|
| 1578 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1579 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1580 |
|
---|
| 1581 | ac_retval=1
|
---|
| 1582 | fi
|
---|
| 1583 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1584 | as_fn_set_status $ac_retval
|
---|
| 1585 |
|
---|
| 1586 | } # ac_fn_c_try_cpp
|
---|
| 1587 |
|
---|
| 1588 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
---|
| 1589 | # -------------------------------------------------------
|
---|
| 1590 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
---|
| 1591 | # the include files in INCLUDES and setting the cache variable VAR
|
---|
| 1592 | # accordingly.
|
---|
| 1593 | ac_fn_c_check_header_mongrel ()
|
---|
| 1594 | {
|
---|
| 1595 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1596 | if eval \${$3+:} false; then :
|
---|
| 1597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1598 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1599 | if eval \${$3+:} false; then :
|
---|
| 1600 | $as_echo_n "(cached) " >&6
|
---|
| 1601 | fi
|
---|
| 1602 | eval ac_res=\$$3
|
---|
| 1603 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1604 | $as_echo "$ac_res" >&6; }
|
---|
| 1605 | else
|
---|
| 1606 | # Is the header compilable?
|
---|
| 1607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
---|
| 1608 | $as_echo_n "checking $2 usability... " >&6; }
|
---|
| 1609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1610 | /* end confdefs.h. */
|
---|
| 1611 | $4
|
---|
| 1612 | #include <$2>
|
---|
| 1613 | _ACEOF
|
---|
| 1614 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1615 | ac_header_compiler=yes
|
---|
| 1616 | else
|
---|
| 1617 | ac_header_compiler=no
|
---|
| 1618 | fi
|
---|
| 1619 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
---|
| 1621 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 1622 |
|
---|
| 1623 | # Is the header present?
|
---|
| 1624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
---|
| 1625 | $as_echo_n "checking $2 presence... " >&6; }
|
---|
| 1626 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1627 | /* end confdefs.h. */
|
---|
| 1628 | #include <$2>
|
---|
| 1629 | _ACEOF
|
---|
| 1630 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 1631 | ac_header_preproc=yes
|
---|
| 1632 | else
|
---|
| 1633 | ac_header_preproc=no
|
---|
| 1634 | fi
|
---|
| 1635 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
| 1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
---|
| 1637 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 1638 |
|
---|
| 1639 | # So? What about this header?
|
---|
| 1640 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
---|
| 1641 | yes:no: )
|
---|
| 1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 1643 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 1644 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1645 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1646 | ;;
|
---|
| 1647 | no:yes:* )
|
---|
| 1648 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
---|
| 1649 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
---|
| 1650 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
---|
| 1651 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
---|
| 1652 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
---|
| 1653 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
---|
| 1654 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 1655 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 1656 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
---|
| 1657 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
---|
| 1658 | ;;
|
---|
| 1659 | esac
|
---|
| 1660 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1661 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1662 | if eval \${$3+:} false; then :
|
---|
| 1663 | $as_echo_n "(cached) " >&6
|
---|
| 1664 | else
|
---|
| 1665 | eval "$3=\$ac_header_compiler"
|
---|
| 1666 | fi
|
---|
| 1667 | eval ac_res=\$$3
|
---|
| 1668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1669 | $as_echo "$ac_res" >&6; }
|
---|
| 1670 | fi
|
---|
| 1671 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1672 |
|
---|
| 1673 | } # ac_fn_c_check_header_mongrel
|
---|
| 1674 |
|
---|
| 1675 | # ac_fn_c_try_run LINENO
|
---|
| 1676 | # ----------------------
|
---|
| 1677 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1678 | # that executables *can* be run.
|
---|
| 1679 | ac_fn_c_try_run ()
|
---|
| 1680 | {
|
---|
| 1681 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1682 | if { { ac_try="$ac_link"
|
---|
| 1683 | case "(($ac_try" in
|
---|
| 1684 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1685 | *) ac_try_echo=$ac_try;;
|
---|
| 1686 | esac
|
---|
| 1687 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1688 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1689 | (eval "$ac_link") 2>&5
|
---|
| 1690 | ac_status=$?
|
---|
| 1691 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1692 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1693 | { { case "(($ac_try" in
|
---|
| 1694 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1695 | *) ac_try_echo=$ac_try;;
|
---|
| 1696 | esac
|
---|
| 1697 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1698 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1699 | (eval "$ac_try") 2>&5
|
---|
| 1700 | ac_status=$?
|
---|
| 1701 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1702 | test $ac_status = 0; }; }; then :
|
---|
| 1703 | ac_retval=0
|
---|
| 1704 | else
|
---|
| 1705 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1706 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1707 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1708 |
|
---|
| 1709 | ac_retval=$ac_status
|
---|
| 1710 | fi
|
---|
| 1711 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1712 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1713 | as_fn_set_status $ac_retval
|
---|
| 1714 |
|
---|
| 1715 | } # ac_fn_c_try_run
|
---|
| 1716 |
|
---|
| 1717 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
---|
| 1718 | # -------------------------------------------------------
|
---|
| 1719 | # Tests whether HEADER exists and can be compiled using the include files in
|
---|
| 1720 | # INCLUDES, setting the cache variable VAR accordingly.
|
---|
| 1721 | ac_fn_c_check_header_compile ()
|
---|
| 1722 | {
|
---|
| 1723 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1725 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1726 | if eval \${$3+:} false; then :
|
---|
| 1727 | $as_echo_n "(cached) " >&6
|
---|
| 1728 | else
|
---|
| 1729 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1730 | /* end confdefs.h. */
|
---|
| 1731 | $4
|
---|
| 1732 | #include <$2>
|
---|
| 1733 | _ACEOF
|
---|
| 1734 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1735 | eval "$3=yes"
|
---|
| 1736 | else
|
---|
| 1737 | eval "$3=no"
|
---|
| 1738 | fi
|
---|
| 1739 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1740 | fi
|
---|
| 1741 | eval ac_res=\$$3
|
---|
| 1742 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1743 | $as_echo "$ac_res" >&6; }
|
---|
| 1744 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1745 |
|
---|
| 1746 | } # ac_fn_c_check_header_compile
|
---|
| 1747 |
|
---|
| 1748 | # ac_fn_c_try_link LINENO
|
---|
| 1749 | # -----------------------
|
---|
| 1750 | # Try to link conftest.$ac_ext, and return whether this succeeded.
|
---|
| 1751 | ac_fn_c_try_link ()
|
---|
| 1752 | {
|
---|
| 1753 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1754 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 1755 | if { { ac_try="$ac_link"
|
---|
| 1756 | case "(($ac_try" in
|
---|
| 1757 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1758 | *) ac_try_echo=$ac_try;;
|
---|
| 1759 | esac
|
---|
| 1760 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1761 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1762 | (eval "$ac_link") 2>conftest.err
|
---|
| 1763 | ac_status=$?
|
---|
| 1764 | if test -s conftest.err; then
|
---|
| 1765 | grep -v '^ *+' conftest.err >conftest.er1
|
---|
| 1766 | cat conftest.er1 >&5
|
---|
| 1767 | mv -f conftest.er1 conftest.err
|
---|
| 1768 | fi
|
---|
| 1769 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1770 | test $ac_status = 0; } && {
|
---|
| 1771 | test -z "$ac_c_werror_flag" ||
|
---|
| 1772 | test ! -s conftest.err
|
---|
| 1773 | } && test -s conftest$ac_exeext && {
|
---|
| 1774 | test "$cross_compiling" = yes ||
|
---|
| 1775 | $as_test_x conftest$ac_exeext
|
---|
| 1776 | }; then :
|
---|
| 1777 | ac_retval=0
|
---|
| 1778 | else
|
---|
| 1779 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1780 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1781 |
|
---|
| 1782 | ac_retval=1
|
---|
| 1783 | fi
|
---|
| 1784 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
---|
| 1785 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
---|
| 1786 | # interfere with the next link command; also delete a directory that is
|
---|
| 1787 | # left behind by Apple's compiler. We do this before executing the actions.
|
---|
| 1788 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1789 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1790 | as_fn_set_status $ac_retval
|
---|
| 1791 |
|
---|
| 1792 | } # ac_fn_c_try_link
|
---|
| 1793 |
|
---|
| 1794 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
---|
| 1795 | # -------------------------------------------
|
---|
| 1796 | # Tests whether TYPE exists after having included INCLUDES, setting cache
|
---|
| 1797 | # variable VAR accordingly.
|
---|
| 1798 | ac_fn_c_check_type ()
|
---|
| 1799 | {
|
---|
| 1800 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1801 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1802 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1803 | if eval \${$3+:} false; then :
|
---|
| 1804 | $as_echo_n "(cached) " >&6
|
---|
| 1805 | else
|
---|
| 1806 | eval "$3=no"
|
---|
| 1807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1808 | /* end confdefs.h. */
|
---|
| 1809 | $4
|
---|
| 1810 | int
|
---|
| 1811 | main ()
|
---|
| 1812 | {
|
---|
| 1813 | if (sizeof ($2))
|
---|
| 1814 | return 0;
|
---|
| 1815 | ;
|
---|
| 1816 | return 0;
|
---|
| 1817 | }
|
---|
| 1818 | _ACEOF
|
---|
| 1819 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1820 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1821 | /* end confdefs.h. */
|
---|
| 1822 | $4
|
---|
| 1823 | int
|
---|
| 1824 | main ()
|
---|
| 1825 | {
|
---|
| 1826 | if (sizeof (($2)))
|
---|
| 1827 | return 0;
|
---|
| 1828 | ;
|
---|
| 1829 | return 0;
|
---|
| 1830 | }
|
---|
| 1831 | _ACEOF
|
---|
| 1832 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 1833 |
|
---|
| 1834 | else
|
---|
| 1835 | eval "$3=yes"
|
---|
| 1836 | fi
|
---|
| 1837 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1838 | fi
|
---|
| 1839 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 1840 | fi
|
---|
| 1841 | eval ac_res=\$$3
|
---|
| 1842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1843 | $as_echo "$ac_res" >&6; }
|
---|
| 1844 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1845 |
|
---|
| 1846 | } # ac_fn_c_check_type
|
---|
| 1847 |
|
---|
| 1848 | # ac_fn_c_check_func LINENO FUNC VAR
|
---|
| 1849 | # ----------------------------------
|
---|
| 1850 | # Tests whether FUNC exists, setting the cache variable VAR accordingly
|
---|
| 1851 | ac_fn_c_check_func ()
|
---|
| 1852 | {
|
---|
| 1853 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
---|
| 1855 | $as_echo_n "checking for $2... " >&6; }
|
---|
| 1856 | if eval \${$3+:} false; then :
|
---|
| 1857 | $as_echo_n "(cached) " >&6
|
---|
| 1858 | else
|
---|
| 1859 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 1860 | /* end confdefs.h. */
|
---|
| 1861 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
---|
| 1862 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 1863 | #define $2 innocuous_$2
|
---|
| 1864 |
|
---|
| 1865 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 1866 | which can conflict with char $2 (); below.
|
---|
| 1867 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 1868 | <limits.h> exists even on freestanding compilers. */
|
---|
| 1869 |
|
---|
| 1870 | #ifdef __STDC__
|
---|
| 1871 | # include <limits.h>
|
---|
| 1872 | #else
|
---|
| 1873 | # include <assert.h>
|
---|
| 1874 | #endif
|
---|
| 1875 |
|
---|
| 1876 | #undef $2
|
---|
| 1877 |
|
---|
| 1878 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 1879 | Use char because int might match the return type of a GCC
|
---|
| 1880 | builtin and then its argument prototype would still apply. */
|
---|
| 1881 | #ifdef __cplusplus
|
---|
| 1882 | extern "C"
|
---|
| 1883 | #endif
|
---|
| 1884 | char $2 ();
|
---|
| 1885 | /* The GNU C library defines this for functions which it implements
|
---|
| 1886 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 1887 | something starting with __ and the normal name is an alias. */
|
---|
| 1888 | #if defined __stub_$2 || defined __stub___$2
|
---|
| 1889 | choke me
|
---|
| 1890 | #endif
|
---|
| 1891 |
|
---|
| 1892 | int
|
---|
| 1893 | main ()
|
---|
| 1894 | {
|
---|
| 1895 | return $2 ();
|
---|
| 1896 | ;
|
---|
| 1897 | return 0;
|
---|
| 1898 | }
|
---|
| 1899 | _ACEOF
|
---|
| 1900 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
| 1901 | eval "$3=yes"
|
---|
| 1902 | else
|
---|
| 1903 | eval "$3=no"
|
---|
| 1904 | fi
|
---|
| 1905 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 1906 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 1907 | fi
|
---|
| 1908 | eval ac_res=\$$3
|
---|
| 1909 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
| 1910 | $as_echo "$ac_res" >&6; }
|
---|
| 1911 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1912 |
|
---|
| 1913 | } # ac_fn_c_check_func
|
---|
| 1914 |
|
---|
| 1915 | # ac_fn_cxx_try_run LINENO
|
---|
| 1916 | # ------------------------
|
---|
| 1917 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
---|
| 1918 | # that executables *can* be run.
|
---|
| 1919 | ac_fn_cxx_try_run ()
|
---|
| 1920 | {
|
---|
| 1921 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 1922 | if { { ac_try="$ac_link"
|
---|
| 1923 | case "(($ac_try" in
|
---|
| 1924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1925 | *) ac_try_echo=$ac_try;;
|
---|
| 1926 | esac
|
---|
| 1927 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1928 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1929 | (eval "$ac_link") 2>&5
|
---|
| 1930 | ac_status=$?
|
---|
| 1931 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1932 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
---|
| 1933 | { { case "(($ac_try" in
|
---|
| 1934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 1935 | *) ac_try_echo=$ac_try;;
|
---|
| 1936 | esac
|
---|
| 1937 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 1938 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 1939 | (eval "$ac_try") 2>&5
|
---|
| 1940 | ac_status=$?
|
---|
| 1941 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 1942 | test $ac_status = 0; }; }; then :
|
---|
| 1943 | ac_retval=0
|
---|
| 1944 | else
|
---|
| 1945 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 1946 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 1947 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 1948 |
|
---|
| 1949 | ac_retval=$ac_status
|
---|
| 1950 | fi
|
---|
| 1951 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
---|
| 1952 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
---|
| 1953 | as_fn_set_status $ac_retval
|
---|
| 1954 |
|
---|
| 1955 | } # ac_fn_cxx_try_run
|
---|
[25149] | 1956 | cat >config.log <<_ACEOF
|
---|
[16566] | 1957 | This file contains any messages produced by compilers while
|
---|
| 1958 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1959 |
|
---|
| 1960 | It was created by $as_me, which was
|
---|
[26565] | 1961 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[16566] | 1962 |
|
---|
| 1963 | $ $0 $@
|
---|
| 1964 |
|
---|
| 1965 | _ACEOF
|
---|
[25149] | 1966 | exec 5>>config.log
|
---|
[16566] | 1967 | {
|
---|
| 1968 | cat <<_ASUNAME
|
---|
| 1969 | ## --------- ##
|
---|
| 1970 | ## Platform. ##
|
---|
| 1971 | ## --------- ##
|
---|
| 1972 |
|
---|
| 1973 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1974 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1975 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1976 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1977 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1978 |
|
---|
| 1979 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1980 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1981 |
|
---|
| 1982 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1983 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1984 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[25149] | 1985 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[16566] | 1986 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1987 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1988 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1989 |
|
---|
| 1990 | _ASUNAME
|
---|
| 1991 |
|
---|
| 1992 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1993 | for as_dir in $PATH
|
---|
| 1994 | do
|
---|
| 1995 | IFS=$as_save_IFS
|
---|
| 1996 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 1997 | $as_echo "PATH: $as_dir"
|
---|
| 1998 | done
|
---|
[25149] | 1999 | IFS=$as_save_IFS
|
---|
[16566] | 2000 |
|
---|
| 2001 | } >&5
|
---|
| 2002 |
|
---|
| 2003 | cat >&5 <<_ACEOF
|
---|
| 2004 |
|
---|
| 2005 |
|
---|
| 2006 | ## ----------- ##
|
---|
| 2007 | ## Core tests. ##
|
---|
| 2008 | ## ----------- ##
|
---|
| 2009 |
|
---|
| 2010 | _ACEOF
|
---|
| 2011 |
|
---|
| 2012 |
|
---|
| 2013 | # Keep a trace of the command line.
|
---|
| 2014 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 2015 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 2016 | # Also quote any args containing shell meta-characters.
|
---|
| 2017 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 2018 | ac_configure_args=
|
---|
| 2019 | ac_configure_args0=
|
---|
| 2020 | ac_configure_args1=
|
---|
| 2021 | ac_must_keep_next=false
|
---|
| 2022 | for ac_pass in 1 2
|
---|
| 2023 | do
|
---|
| 2024 | for ac_arg
|
---|
| 2025 | do
|
---|
| 2026 | case $ac_arg in
|
---|
| 2027 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 2028 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 2029 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 2030 | continue ;;
|
---|
[25149] | 2031 | *\'*)
|
---|
| 2032 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16566] | 2033 | esac
|
---|
| 2034 | case $ac_pass in
|
---|
[26565] | 2035 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
---|
[16566] | 2036 | 2)
|
---|
[26565] | 2037 | as_fn_append ac_configure_args1 " '$ac_arg'"
|
---|
[16566] | 2038 | if test $ac_must_keep_next = true; then
|
---|
| 2039 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 2040 | else
|
---|
| 2041 | case $ac_arg in
|
---|
| 2042 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 2043 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 2044 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 2045 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 2046 | case "$ac_configure_args0 " in
|
---|
| 2047 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 2048 | esac
|
---|
| 2049 | ;;
|
---|
| 2050 | -* ) ac_must_keep_next=true ;;
|
---|
| 2051 | esac
|
---|
| 2052 | fi
|
---|
[26565] | 2053 | as_fn_append ac_configure_args " '$ac_arg'"
|
---|
[16566] | 2054 | ;;
|
---|
| 2055 | esac
|
---|
| 2056 | done
|
---|
| 2057 | done
|
---|
[26565] | 2058 | { ac_configure_args0=; unset ac_configure_args0;}
|
---|
| 2059 | { ac_configure_args1=; unset ac_configure_args1;}
|
---|
[16566] | 2060 |
|
---|
| 2061 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 2062 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 2063 | # would cause problems or look ugly.
|
---|
[25149] | 2064 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 2065 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[16566] | 2066 | trap 'exit_status=$?
|
---|
| 2067 | # Save into config.log some information that might help in debugging.
|
---|
| 2068 | {
|
---|
| 2069 | echo
|
---|
| 2070 |
|
---|
[26565] | 2071 | $as_echo "## ---------------- ##
|
---|
[16566] | 2072 | ## Cache variables. ##
|
---|
[26565] | 2073 | ## ---------------- ##"
|
---|
[16566] | 2074 | echo
|
---|
| 2075 | # The following way of writing the cache mishandles newlines in values,
|
---|
[25149] | 2076 | (
|
---|
| 2077 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 2078 | eval ac_val=\$$ac_var
|
---|
| 2079 | case $ac_val in #(
|
---|
| 2080 | *${as_nl}*)
|
---|
| 2081 | case $ac_var in #(
|
---|
[26565] | 2082 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[25149] | 2083 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 2084 | esac
|
---|
| 2085 | case $ac_var in #(
|
---|
| 2086 | _ | IFS | as_nl) ;; #(
|
---|
| 2087 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[26565] | 2088 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
[25149] | 2089 | esac ;;
|
---|
| 2090 | esac
|
---|
| 2091 | done
|
---|
[16566] | 2092 | (set) 2>&1 |
|
---|
[25149] | 2093 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 2094 | *${as_nl}ac_space=\ *)
|
---|
[16566] | 2095 | sed -n \
|
---|
[25149] | 2096 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 2097 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 2098 | ;; #(
|
---|
[16566] | 2099 | *)
|
---|
[25149] | 2100 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16566] | 2101 | ;;
|
---|
[25149] | 2102 | esac |
|
---|
| 2103 | sort
|
---|
| 2104 | )
|
---|
[16566] | 2105 | echo
|
---|
| 2106 |
|
---|
[26565] | 2107 | $as_echo "## ----------------- ##
|
---|
[16566] | 2108 | ## Output variables. ##
|
---|
[26565] | 2109 | ## ----------------- ##"
|
---|
[16566] | 2110 | echo
|
---|
| 2111 | for ac_var in $ac_subst_vars
|
---|
| 2112 | do
|
---|
[25149] | 2113 | eval ac_val=\$$ac_var
|
---|
| 2114 | case $ac_val in
|
---|
| 2115 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2116 | esac
|
---|
| 2117 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16566] | 2118 | done | sort
|
---|
| 2119 | echo
|
---|
| 2120 |
|
---|
| 2121 | if test -n "$ac_subst_files"; then
|
---|
[26565] | 2122 | $as_echo "## ------------------- ##
|
---|
[25149] | 2123 | ## File substitutions. ##
|
---|
[26565] | 2124 | ## ------------------- ##"
|
---|
[16566] | 2125 | echo
|
---|
| 2126 | for ac_var in $ac_subst_files
|
---|
| 2127 | do
|
---|
[25149] | 2128 | eval ac_val=\$$ac_var
|
---|
| 2129 | case $ac_val in
|
---|
| 2130 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 2131 | esac
|
---|
| 2132 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[16566] | 2133 | done | sort
|
---|
| 2134 | echo
|
---|
| 2135 | fi
|
---|
| 2136 |
|
---|
| 2137 | if test -s confdefs.h; then
|
---|
[26565] | 2138 | $as_echo "## ----------- ##
|
---|
[16566] | 2139 | ## confdefs.h. ##
|
---|
[26565] | 2140 | ## ----------- ##"
|
---|
[16566] | 2141 | echo
|
---|
[25149] | 2142 | cat confdefs.h
|
---|
[16566] | 2143 | echo
|
---|
| 2144 | fi
|
---|
| 2145 | test "$ac_signal" != 0 &&
|
---|
[25149] | 2146 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 2147 | $as_echo "$as_me: exit $exit_status"
|
---|
[16566] | 2148 | } >&5
|
---|
[25149] | 2149 | rm -f core *.core core.conftest.* &&
|
---|
| 2150 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[16566] | 2151 | exit $exit_status
|
---|
[25149] | 2152 | ' 0
|
---|
[16566] | 2153 | for ac_signal in 1 2 13 15; do
|
---|
[26565] | 2154 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
---|
[16566] | 2155 | done
|
---|
| 2156 | ac_signal=0
|
---|
| 2157 |
|
---|
| 2158 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[25149] | 2159 | rm -f -r conftest* confdefs.h
|
---|
[16566] | 2160 |
|
---|
[26565] | 2161 | $as_echo "/* confdefs.h */" > confdefs.h
|
---|
| 2162 |
|
---|
[16566] | 2163 | # Predefined preprocessor variables.
|
---|
| 2164 |
|
---|
| 2165 | cat >>confdefs.h <<_ACEOF
|
---|
| 2166 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 2167 | _ACEOF
|
---|
| 2168 |
|
---|
| 2169 | cat >>confdefs.h <<_ACEOF
|
---|
| 2170 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 2171 | _ACEOF
|
---|
| 2172 |
|
---|
| 2173 | cat >>confdefs.h <<_ACEOF
|
---|
| 2174 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 2175 | _ACEOF
|
---|
| 2176 |
|
---|
| 2177 | cat >>confdefs.h <<_ACEOF
|
---|
| 2178 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 2179 | _ACEOF
|
---|
| 2180 |
|
---|
| 2181 | cat >>confdefs.h <<_ACEOF
|
---|
| 2182 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 2183 | _ACEOF
|
---|
| 2184 |
|
---|
[26565] | 2185 | cat >>confdefs.h <<_ACEOF
|
---|
| 2186 | #define PACKAGE_URL "$PACKAGE_URL"
|
---|
| 2187 | _ACEOF
|
---|
[16566] | 2188 |
|
---|
[26565] | 2189 |
|
---|
[16566] | 2190 | # Let the site file select an alternate cache file if it wants to.
|
---|
[25149] | 2191 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 2192 | ac_site_file1=NONE
|
---|
| 2193 | ac_site_file2=NONE
|
---|
| 2194 | if test -n "$CONFIG_SITE"; then
|
---|
[26565] | 2195 | # We do not want a PATH search for config.site.
|
---|
| 2196 | case $CONFIG_SITE in #((
|
---|
| 2197 | -*) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2198 | */*) ac_site_file1=$CONFIG_SITE;;
|
---|
| 2199 | *) ac_site_file1=./$CONFIG_SITE;;
|
---|
| 2200 | esac
|
---|
[25149] | 2201 | elif test "x$prefix" != xNONE; then
|
---|
| 2202 | ac_site_file1=$prefix/share/config.site
|
---|
| 2203 | ac_site_file2=$prefix/etc/config.site
|
---|
| 2204 | else
|
---|
| 2205 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 2206 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[16566] | 2207 | fi
|
---|
[25149] | 2208 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 2209 | do
|
---|
| 2210 | test "x$ac_site_file" = xNONE && continue
|
---|
[26565] | 2211 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
---|
| 2212 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
---|
[25149] | 2213 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[16566] | 2214 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[26565] | 2215 | . "$ac_site_file" \
|
---|
| 2216 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 2217 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2218 | as_fn_error $? "failed to load site script $ac_site_file
|
---|
| 2219 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 2220 | fi
|
---|
| 2221 | done
|
---|
| 2222 |
|
---|
| 2223 | if test -r "$cache_file"; then
|
---|
[26565] | 2224 | # Some versions of bash will fail to source /dev/null (special files
|
---|
| 2225 | # actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
---|
| 2226 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
---|
| 2227 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
---|
[25149] | 2228 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[16566] | 2229 | case $cache_file in
|
---|
[25149] | 2230 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 2231 | *) . "./$cache_file";;
|
---|
[16566] | 2232 | esac
|
---|
| 2233 | fi
|
---|
| 2234 | else
|
---|
[26565] | 2235 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
---|
[25149] | 2236 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[16566] | 2237 | >$cache_file
|
---|
| 2238 | fi
|
---|
| 2239 |
|
---|
| 2240 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 2241 | # value.
|
---|
| 2242 | ac_cache_corrupted=false
|
---|
[25149] | 2243 | for ac_var in $ac_precious_vars; do
|
---|
[16566] | 2244 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 2245 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[25149] | 2246 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 2247 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[16566] | 2248 | case $ac_old_set,$ac_new_set in
|
---|
| 2249 | set,)
|
---|
[26565] | 2250 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
[25149] | 2251 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[16566] | 2252 | ac_cache_corrupted=: ;;
|
---|
| 2253 | ,set)
|
---|
[26565] | 2254 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
---|
[25149] | 2255 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[16566] | 2256 | ac_cache_corrupted=: ;;
|
---|
| 2257 | ,);;
|
---|
| 2258 | *)
|
---|
| 2259 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[25149] | 2260 | # differences in whitespace do not lead to failure.
|
---|
| 2261 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 2262 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 2263 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
[26565] | 2264 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
[25149] | 2265 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 2266 | ac_cache_corrupted=:
|
---|
| 2267 | else
|
---|
[26565] | 2268 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
[25149] | 2269 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 2270 | eval $ac_var=\$ac_old_val
|
---|
| 2271 | fi
|
---|
[26565] | 2272 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
---|
[25149] | 2273 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
[26565] | 2274 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
---|
[25149] | 2275 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[16566] | 2276 | fi;;
|
---|
| 2277 | esac
|
---|
| 2278 | # Pass precious variables to config.status.
|
---|
| 2279 | if test "$ac_new_set" = set; then
|
---|
| 2280 | case $ac_new_val in
|
---|
[25149] | 2281 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16566] | 2282 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 2283 | esac
|
---|
| 2284 | case " $ac_configure_args " in
|
---|
| 2285 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[26565] | 2286 | *) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
---|
[16566] | 2287 | esac
|
---|
| 2288 | fi
|
---|
| 2289 | done
|
---|
| 2290 | if $ac_cache_corrupted; then
|
---|
[26565] | 2291 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2292 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 2293 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
---|
[25149] | 2294 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
[26565] | 2295 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
---|
[16566] | 2296 | fi
|
---|
[26565] | 2297 | ## -------------------- ##
|
---|
| 2298 | ## Main body of script. ##
|
---|
| 2299 | ## -------------------- ##
|
---|
[16566] | 2300 |
|
---|
[25149] | 2301 | ac_ext=c
|
---|
| 2302 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2303 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2304 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2305 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[24874] | 2306 |
|
---|
| 2307 |
|
---|
[25149] | 2308 | ac_config_headers="$ac_config_headers config.h"
|
---|
[24874] | 2309 |
|
---|
| 2310 |
|
---|
| 2311 |
|
---|
| 2312 |
|
---|
| 2313 |
|
---|
[16566] | 2314 | PACKAGE=gsdl
|
---|
[23356] | 2315 | VERSION=2.x-svn
|
---|
[16566] | 2316 | cat >>confdefs.h <<_ACEOF
|
---|
| 2317 | #define PACKAGE "$PACKAGE"
|
---|
| 2318 | _ACEOF
|
---|
| 2319 |
|
---|
| 2320 | cat >>confdefs.h <<_ACEOF
|
---|
| 2321 | #define VERSION "$VERSION"
|
---|
| 2322 | _ACEOF
|
---|
| 2323 |
|
---|
| 2324 |
|
---|
| 2325 |
|
---|
| 2326 |
|
---|
| 2327 | USE_FASTCGI=0
|
---|
| 2328 | if test USE_FASTCGI = 1; then
|
---|
[26565] | 2329 | $as_echo "#define USE_FASTCGI 1" >>confdefs.h
|
---|
[16566] | 2330 |
|
---|
| 2331 |
|
---|
| 2332 | fi
|
---|
| 2333 |
|
---|
| 2334 | if test USE_LANGACTION = 1; then
|
---|
[26565] | 2335 | $as_echo "#define USE_LANGACTION 1" >>confdefs.h
|
---|
[16566] | 2336 |
|
---|
| 2337 |
|
---|
| 2338 | fi
|
---|
| 2339 |
|
---|
[25149] | 2340 | # Check whether --enable-corba was given.
|
---|
[26565] | 2341 | if test "${enable_corba+set}" = set; then :
|
---|
[25149] | 2342 | enableval=$enable_corba; USE_CORBA=$enableval
|
---|
[16566] | 2343 | else
|
---|
[22058] | 2344 | USE_CORBA=no
|
---|
[25149] | 2345 | fi
|
---|
| 2346 |
|
---|
[22058] | 2347 | if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
|
---|
| 2348 | USE_CORBA=1
|
---|
[26565] | 2349 | $as_echo "#define USE_CORBA /**/" >>confdefs.h
|
---|
[16566] | 2350 |
|
---|
[22058] | 2351 | else
|
---|
| 2352 | USE_CORBA=0
|
---|
| 2353 | fi
|
---|
[16566] | 2354 |
|
---|
| 2355 |
|
---|
| 2356 |
|
---|
[25149] | 2357 | # Check whether --with-micodir was given.
|
---|
[26565] | 2358 | if test "${with_micodir+set}" = set; then :
|
---|
[25149] | 2359 | withval=$with_micodir; MICO_DIR=$withval
|
---|
[16566] | 2360 | else
|
---|
| 2361 | MICO_DIR="default"
|
---|
[25149] | 2362 | fi
|
---|
| 2363 |
|
---|
[16566] | 2364 | cat >>confdefs.h <<_ACEOF
|
---|
| 2365 | #define MICO_DIR "$MICO_DIR"
|
---|
| 2366 | _ACEOF
|
---|
| 2367 |
|
---|
| 2368 |
|
---|
| 2369 |
|
---|
[25149] | 2370 | # Check whether --enable-z3950 was given.
|
---|
[26565] | 2371 | if test "${enable_z3950+set}" = set; then :
|
---|
[25149] | 2372 | enableval=$enable_z3950; USE_Z3950=$enableval
|
---|
[16566] | 2373 | else
|
---|
[22058] | 2374 | USE_Z3950=no
|
---|
[25149] | 2375 | fi
|
---|
| 2376 |
|
---|
[22058] | 2377 | if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
|
---|
| 2378 | USE_Z3950=1
|
---|
[26565] | 2379 | $as_echo "#define USE_Z3950 /**/" >>confdefs.h
|
---|
[16566] | 2380 |
|
---|
[22058] | 2381 | else
|
---|
| 2382 | USE_Z3950=0
|
---|
[16566] | 2383 | fi
|
---|
| 2384 |
|
---|
[22058] | 2385 |
|
---|
[25149] | 2386 | # Check whether --enable-yaz was given.
|
---|
[26565] | 2387 | if test "${enable_yaz+set}" = set; then :
|
---|
[25149] | 2388 | enableval=$enable_yaz; USE_YAZ=$enableval
|
---|
[22058] | 2389 | else
|
---|
| 2390 | USE_YAZ=yes
|
---|
[25149] | 2391 | fi
|
---|
| 2392 |
|
---|
[22058] | 2393 | if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
|
---|
| 2394 | USE_YAZ=1
|
---|
[26565] | 2395 | $as_echo "#define USE_YAZ /**/" >>confdefs.h
|
---|
[22058] | 2396 |
|
---|
| 2397 | else
|
---|
[21327] | 2398 | USE_YAZ=0
|
---|
[22058] | 2399 | fi
|
---|
| 2400 |
|
---|
| 2401 |
|
---|
[25149] | 2402 | # Check whether --enable-java was given.
|
---|
[26565] | 2403 | if test "${enable_java+set}" = set; then :
|
---|
[25149] | 2404 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
[16566] | 2405 | else
|
---|
[23356] | 2406 | ENABLE_JAVA=yes
|
---|
[25149] | 2407 | fi
|
---|
| 2408 |
|
---|
[23356] | 2409 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 2410 | ENABLE_JAVA=1
|
---|
| 2411 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 2412 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 2413 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 2414 | echo "and JAVA respectively"
|
---|
| 2415 | export JAVA_HOME=
|
---|
| 2416 | fi
|
---|
| 2417 | else
|
---|
| 2418 | ENABLE_JAVA=0
|
---|
| 2419 | fi
|
---|
| 2420 |
|
---|
| 2421 |
|
---|
[25149] | 2422 | # Check whether --enable-jdbm was given.
|
---|
[26565] | 2423 | if test "${enable_jdbm+set}" = set; then :
|
---|
[25149] | 2424 | enableval=$enable_jdbm; USE_JDBM=$enableval
|
---|
[23356] | 2425 | else
|
---|
[22058] | 2426 | USE_JDBM=yes
|
---|
[25149] | 2427 | fi
|
---|
| 2428 |
|
---|
[23356] | 2429 | if test $ENABLE_JAVA = "1" -a \( $USE_JDBM = "yes" -o $USE_JDBM = "1" \) ; then
|
---|
[22058] | 2430 | USE_JDBM=1
|
---|
[26565] | 2431 | $as_echo "#define USE_JDBM /**/" >>confdefs.h
|
---|
[16566] | 2432 |
|
---|
[22058] | 2433 | else
|
---|
| 2434 | USE_JDBM=0
|
---|
| 2435 | fi
|
---|
[16566] | 2436 |
|
---|
| 2437 |
|
---|
[25149] | 2438 | # Check whether --enable-gdbm was given.
|
---|
[26565] | 2439 | if test "${enable_gdbm+set}" = set; then :
|
---|
[25149] | 2440 | enableval=$enable_gdbm; USE_GDBM=$enableval
|
---|
[16566] | 2441 | else
|
---|
[22058] | 2442 | USE_GDBM=yes
|
---|
[25149] | 2443 | fi
|
---|
| 2444 |
|
---|
[22058] | 2445 | if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
|
---|
| 2446 | USE_GDBM=1
|
---|
[26565] | 2447 | $as_echo "#define USE_GDBM /**/" >>confdefs.h
|
---|
[16566] | 2448 |
|
---|
[22058] | 2449 | else
|
---|
| 2450 | USE_GDBM=0
|
---|
| 2451 | fi
|
---|
[16566] | 2452 |
|
---|
| 2453 |
|
---|
[25149] | 2454 | # Check whether --enable-accentfold was given.
|
---|
[26565] | 2455 | if test "${enable_accentfold+set}" = set; then :
|
---|
[25149] | 2456 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
[21409] | 2457 | else
|
---|
[22058] | 2458 | ENABLE_ACCENTFOLD=yes
|
---|
[25149] | 2459 | fi
|
---|
| 2460 |
|
---|
[22058] | 2461 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
| 2462 | ENABLE_ACCENTFOLD=1
|
---|
[26565] | 2463 | $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
|
---|
[21409] | 2464 |
|
---|
[21418] | 2465 | else
|
---|
[22058] | 2466 | ENABLE_ACCENTFOLD=0
|
---|
[21418] | 2467 | fi
|
---|
[21409] | 2468 |
|
---|
| 2469 |
|
---|
[22058] | 2470 |
|
---|
[25149] | 2471 | # Check whether --enable-sqlite was given.
|
---|
[26565] | 2472 | if test "${enable_sqlite+set}" = set; then :
|
---|
[25149] | 2473 | enableval=$enable_sqlite; USE_SQLITE=$enableval
|
---|
[16566] | 2474 | else
|
---|
[22058] | 2475 | USE_SQLITE=yes
|
---|
[25149] | 2476 | fi
|
---|
| 2477 |
|
---|
[22058] | 2478 | if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
|
---|
[16566] | 2479 | USE_SQLITE=1
|
---|
[26565] | 2480 | $as_echo "#define USE_SQLITE /**/" >>confdefs.h
|
---|
[16566] | 2481 |
|
---|
[22058] | 2482 | else
|
---|
| 2483 | USE_SQLITE=0
|
---|
| 2484 | fi
|
---|
[16566] | 2485 |
|
---|
| 2486 |
|
---|
[25149] | 2487 | # Check whether --enable-jni was given.
|
---|
[26565] | 2488 | if test "${enable_jni+set}" = set; then :
|
---|
[25149] | 2489 | enableval=$enable_jni; ENABLE_JNI=$enableval
|
---|
[21365] | 2490 | else
|
---|
| 2491 | ENABLE_JNI=no
|
---|
[25149] | 2492 | fi
|
---|
| 2493 |
|
---|
[23356] | 2494 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
|
---|
[21365] | 2495 | ENABLE_JNI=1
|
---|
[26565] | 2496 | $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
|
---|
[21365] | 2497 |
|
---|
| 2498 | else
|
---|
| 2499 | ENABLE_JNI=0
|
---|
| 2500 | fi
|
---|
| 2501 |
|
---|
| 2502 |
|
---|
[25149] | 2503 | # Check whether --enable-mg was given.
|
---|
[26565] | 2504 | if test "${enable_mg+set}" = set; then :
|
---|
[25149] | 2505 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
[21327] | 2506 | else
|
---|
| 2507 | ENABLE_MG=yes
|
---|
[25149] | 2508 | fi
|
---|
| 2509 |
|
---|
[21327] | 2510 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 2511 | ENABLE_MG=1
|
---|
[26565] | 2512 | $as_echo "#define ENABLE_MG /**/" >>confdefs.h
|
---|
[21327] | 2513 |
|
---|
| 2514 | else
|
---|
| 2515 | ENABLE_MG=0
|
---|
| 2516 | fi
|
---|
| 2517 |
|
---|
| 2518 |
|
---|
[25149] | 2519 | # Check whether --enable-mgpp was given.
|
---|
[26565] | 2520 | if test "${enable_mgpp+set}" = set; then :
|
---|
[25149] | 2521 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
[21327] | 2522 | else
|
---|
| 2523 | ENABLE_MGPP=yes
|
---|
[25149] | 2524 | fi
|
---|
| 2525 |
|
---|
[21327] | 2526 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 2527 | ENABLE_MGPP=1
|
---|
[26565] | 2528 | $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
|
---|
[21327] | 2529 |
|
---|
| 2530 | else
|
---|
| 2531 | ENABLE_MGPP=0
|
---|
| 2532 | fi
|
---|
| 2533 |
|
---|
| 2534 |
|
---|
[25149] | 2535 | # Check whether --enable-lucene was given.
|
---|
[26565] | 2536 | if test "${enable_lucene+set}" = set; then :
|
---|
[25149] | 2537 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
[21327] | 2538 | else
|
---|
| 2539 | ENABLE_LUCENE=yes
|
---|
[25149] | 2540 | fi
|
---|
| 2541 |
|
---|
[23356] | 2542 | if test $ENABLE_JAVA = "1" -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
|
---|
[21327] | 2543 | ENABLE_LUCENE=1
|
---|
[26565] | 2544 | $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
|
---|
[21327] | 2545 |
|
---|
| 2546 | else
|
---|
| 2547 | ENABLE_LUCENE=0
|
---|
| 2548 | fi
|
---|
| 2549 |
|
---|
| 2550 |
|
---|
| 2551 |
|
---|
[16566] | 2552 | LDFLAGS=$LDFLAGS
|
---|
| 2553 |
|
---|
| 2554 | if test -z "$CFLAGS"; then
|
---|
| 2555 | CFLAGS=-O2
|
---|
| 2556 | fi
|
---|
| 2557 |
|
---|
| 2558 |
|
---|
| 2559 |
|
---|
| 2560 | ac_ext=c
|
---|
| 2561 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2562 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2563 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2564 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2565 | if test -n "$ac_tool_prefix"; then
|
---|
| 2566 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2567 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[26565] | 2568 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2569 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2570 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2571 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2572 | else
|
---|
| 2573 | if test -n "$CC"; then
|
---|
| 2574 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2575 | else
|
---|
| 2576 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2577 | for as_dir in $PATH
|
---|
| 2578 | do
|
---|
| 2579 | IFS=$as_save_IFS
|
---|
| 2580 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2581 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2582 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2583 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[26565] | 2584 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2585 | break 2
|
---|
| 2586 | fi
|
---|
| 2587 | done
|
---|
[26565] | 2588 | done
|
---|
[25149] | 2589 | IFS=$as_save_IFS
|
---|
[16566] | 2590 |
|
---|
| 2591 | fi
|
---|
| 2592 | fi
|
---|
| 2593 | CC=$ac_cv_prog_CC
|
---|
| 2594 | if test -n "$CC"; then
|
---|
[26565] | 2595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2596 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2597 | else
|
---|
[26565] | 2598 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2599 | $as_echo "no" >&6; }
|
---|
[16566] | 2600 | fi
|
---|
| 2601 |
|
---|
[25149] | 2602 |
|
---|
[16566] | 2603 | fi
|
---|
| 2604 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2605 | ac_ct_CC=$CC
|
---|
| 2606 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2607 | set dummy gcc; ac_word=$2
|
---|
[26565] | 2608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2609 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2610 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
[25149] | 2611 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2612 | else
|
---|
| 2613 | if test -n "$ac_ct_CC"; then
|
---|
| 2614 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2615 | else
|
---|
| 2616 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2617 | for as_dir in $PATH
|
---|
| 2618 | do
|
---|
| 2619 | IFS=$as_save_IFS
|
---|
| 2620 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2621 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2622 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2623 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[26565] | 2624 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2625 | break 2
|
---|
| 2626 | fi
|
---|
| 2627 | done
|
---|
[26565] | 2628 | done
|
---|
[25149] | 2629 | IFS=$as_save_IFS
|
---|
[16566] | 2630 |
|
---|
| 2631 | fi
|
---|
| 2632 | fi
|
---|
| 2633 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2634 | if test -n "$ac_ct_CC"; then
|
---|
[26565] | 2635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
[25149] | 2636 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16566] | 2637 | else
|
---|
[26565] | 2638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2639 | $as_echo "no" >&6; }
|
---|
[16566] | 2640 | fi
|
---|
| 2641 |
|
---|
[25149] | 2642 | if test "x$ac_ct_CC" = x; then
|
---|
| 2643 | CC=""
|
---|
| 2644 | else
|
---|
| 2645 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2646 | yes:)
|
---|
[26565] | 2647 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 2648 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2649 | ac_tool_warned=yes ;;
|
---|
| 2650 | esac
|
---|
| 2651 | CC=$ac_ct_CC
|
---|
| 2652 | fi
|
---|
[16566] | 2653 | else
|
---|
| 2654 | CC="$ac_cv_prog_CC"
|
---|
| 2655 | fi
|
---|
| 2656 |
|
---|
| 2657 | if test -z "$CC"; then
|
---|
[25149] | 2658 | if test -n "$ac_tool_prefix"; then
|
---|
| 2659 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[16566] | 2660 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[26565] | 2661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2662 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2663 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2664 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2665 | else
|
---|
| 2666 | if test -n "$CC"; then
|
---|
| 2667 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2668 | else
|
---|
| 2669 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2670 | for as_dir in $PATH
|
---|
| 2671 | do
|
---|
| 2672 | IFS=$as_save_IFS
|
---|
| 2673 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2674 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2675 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2676 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[26565] | 2677 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2678 | break 2
|
---|
| 2679 | fi
|
---|
| 2680 | done
|
---|
[26565] | 2681 | done
|
---|
[25149] | 2682 | IFS=$as_save_IFS
|
---|
[16566] | 2683 |
|
---|
| 2684 | fi
|
---|
| 2685 | fi
|
---|
| 2686 | CC=$ac_cv_prog_CC
|
---|
| 2687 | if test -n "$CC"; then
|
---|
[26565] | 2688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2689 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2690 | else
|
---|
[26565] | 2691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2692 | $as_echo "no" >&6; }
|
---|
[16566] | 2693 | fi
|
---|
| 2694 |
|
---|
[25149] | 2695 |
|
---|
[24874] | 2696 | fi
|
---|
[16566] | 2697 | fi
|
---|
| 2698 | if test -z "$CC"; then
|
---|
| 2699 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2700 | set dummy cc; ac_word=$2
|
---|
[26565] | 2701 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2702 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2703 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2704 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2705 | else
|
---|
| 2706 | if test -n "$CC"; then
|
---|
| 2707 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2708 | else
|
---|
| 2709 | ac_prog_rejected=no
|
---|
| 2710 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2711 | for as_dir in $PATH
|
---|
| 2712 | do
|
---|
| 2713 | IFS=$as_save_IFS
|
---|
| 2714 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2715 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2716 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2717 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2718 | ac_prog_rejected=yes
|
---|
| 2719 | continue
|
---|
| 2720 | fi
|
---|
| 2721 | ac_cv_prog_CC="cc"
|
---|
[26565] | 2722 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2723 | break 2
|
---|
| 2724 | fi
|
---|
| 2725 | done
|
---|
[26565] | 2726 | done
|
---|
[25149] | 2727 | IFS=$as_save_IFS
|
---|
[16566] | 2728 |
|
---|
| 2729 | if test $ac_prog_rejected = yes; then
|
---|
| 2730 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2731 | set dummy $ac_cv_prog_CC
|
---|
| 2732 | shift
|
---|
| 2733 | if test $# != 0; then
|
---|
| 2734 | # We chose a different compiler from the bogus one.
|
---|
| 2735 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2736 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2737 | shift
|
---|
| 2738 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2739 | fi
|
---|
| 2740 | fi
|
---|
| 2741 | fi
|
---|
| 2742 | fi
|
---|
| 2743 | CC=$ac_cv_prog_CC
|
---|
| 2744 | if test -n "$CC"; then
|
---|
[26565] | 2745 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2746 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2747 | else
|
---|
[26565] | 2748 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2749 | $as_echo "no" >&6; }
|
---|
[16566] | 2750 | fi
|
---|
| 2751 |
|
---|
[25149] | 2752 |
|
---|
[16566] | 2753 | fi
|
---|
| 2754 | if test -z "$CC"; then
|
---|
| 2755 | if test -n "$ac_tool_prefix"; then
|
---|
[25149] | 2756 | for ac_prog in cl.exe
|
---|
[16566] | 2757 | do
|
---|
| 2758 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2759 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[26565] | 2760 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2761 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2762 | if ${ac_cv_prog_CC+:} false; then :
|
---|
[25149] | 2763 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2764 | else
|
---|
| 2765 | if test -n "$CC"; then
|
---|
| 2766 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2767 | else
|
---|
| 2768 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2769 | for as_dir in $PATH
|
---|
| 2770 | do
|
---|
| 2771 | IFS=$as_save_IFS
|
---|
| 2772 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2773 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2774 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2775 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[26565] | 2776 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2777 | break 2
|
---|
| 2778 | fi
|
---|
| 2779 | done
|
---|
[26565] | 2780 | done
|
---|
[25149] | 2781 | IFS=$as_save_IFS
|
---|
[16566] | 2782 |
|
---|
| 2783 | fi
|
---|
| 2784 | fi
|
---|
| 2785 | CC=$ac_cv_prog_CC
|
---|
| 2786 | if test -n "$CC"; then
|
---|
[26565] | 2787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
---|
[25149] | 2788 | $as_echo "$CC" >&6; }
|
---|
[16566] | 2789 | else
|
---|
[26565] | 2790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2791 | $as_echo "no" >&6; }
|
---|
[16566] | 2792 | fi
|
---|
| 2793 |
|
---|
[25149] | 2794 |
|
---|
[16566] | 2795 | test -n "$CC" && break
|
---|
| 2796 | done
|
---|
| 2797 | fi
|
---|
| 2798 | if test -z "$CC"; then
|
---|
| 2799 | ac_ct_CC=$CC
|
---|
[25149] | 2800 | for ac_prog in cl.exe
|
---|
[16566] | 2801 | do
|
---|
| 2802 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2803 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 2804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 2805 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 2806 | if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
---|
[25149] | 2807 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 2808 | else
|
---|
| 2809 | if test -n "$ac_ct_CC"; then
|
---|
| 2810 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2811 | else
|
---|
| 2812 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2813 | for as_dir in $PATH
|
---|
| 2814 | do
|
---|
| 2815 | IFS=$as_save_IFS
|
---|
| 2816 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 2817 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 2818 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 2819 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[26565] | 2820 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 2821 | break 2
|
---|
| 2822 | fi
|
---|
| 2823 | done
|
---|
[26565] | 2824 | done
|
---|
[25149] | 2825 | IFS=$as_save_IFS
|
---|
[16566] | 2826 |
|
---|
| 2827 | fi
|
---|
| 2828 | fi
|
---|
| 2829 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2830 | if test -n "$ac_ct_CC"; then
|
---|
[26565] | 2831 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
---|
[25149] | 2832 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[16566] | 2833 | else
|
---|
[26565] | 2834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 2835 | $as_echo "no" >&6; }
|
---|
[16566] | 2836 | fi
|
---|
| 2837 |
|
---|
[25149] | 2838 |
|
---|
[16566] | 2839 | test -n "$ac_ct_CC" && break
|
---|
| 2840 | done
|
---|
| 2841 |
|
---|
[25149] | 2842 | if test "x$ac_ct_CC" = x; then
|
---|
| 2843 | CC=""
|
---|
| 2844 | else
|
---|
| 2845 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2846 | yes:)
|
---|
[26565] | 2847 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 2848 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2849 | ac_tool_warned=yes ;;
|
---|
| 2850 | esac
|
---|
| 2851 | CC=$ac_ct_CC
|
---|
| 2852 | fi
|
---|
[16566] | 2853 | fi
|
---|
| 2854 |
|
---|
| 2855 | fi
|
---|
| 2856 |
|
---|
| 2857 |
|
---|
[26565] | 2858 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2859 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 2860 | as_fn_error $? "no acceptable C compiler found in \$PATH
|
---|
| 2861 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 2862 |
|
---|
| 2863 | # Provide some information about the compiler.
|
---|
[26565] | 2864 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
---|
[25149] | 2865 | set X $ac_compile
|
---|
| 2866 | ac_compiler=$2
|
---|
[26565] | 2867 | for ac_option in --version -v -V -qversion; do
|
---|
| 2868 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
[25149] | 2869 | case "(($ac_try" in
|
---|
| 2870 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2871 | *) ac_try_echo=$ac_try;;
|
---|
| 2872 | esac
|
---|
[26565] | 2873 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2874 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 2875 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16566] | 2876 | ac_status=$?
|
---|
[26565] | 2877 | if test -s conftest.err; then
|
---|
| 2878 | sed '10a\
|
---|
| 2879 | ... rest of stderr output deleted ...
|
---|
| 2880 | 10q' conftest.err >conftest.er1
|
---|
| 2881 | cat conftest.er1 >&5
|
---|
| 2882 | fi
|
---|
| 2883 | rm -f conftest.er1 conftest.err
|
---|
| 2884 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2885 | test $ac_status = 0; }
|
---|
| 2886 | done
|
---|
[16566] | 2887 |
|
---|
[26565] | 2888 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 2889 | /* end confdefs.h. */
|
---|
| 2890 |
|
---|
| 2891 | int
|
---|
| 2892 | main ()
|
---|
| 2893 | {
|
---|
| 2894 |
|
---|
| 2895 | ;
|
---|
| 2896 | return 0;
|
---|
| 2897 | }
|
---|
| 2898 | _ACEOF
|
---|
| 2899 | ac_clean_files_save=$ac_clean_files
|
---|
[25149] | 2900 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[16566] | 2901 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2902 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2903 | # of exeext.
|
---|
[26565] | 2904 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
---|
| 2905 | $as_echo_n "checking whether the C compiler works... " >&6; }
|
---|
[25149] | 2906 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 2907 |
|
---|
| 2908 | # The possible output files:
|
---|
| 2909 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2910 |
|
---|
| 2911 | ac_rmfiles=
|
---|
| 2912 | for ac_file in $ac_files
|
---|
| 2913 | do
|
---|
| 2914 | case $ac_file in
|
---|
| 2915 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2916 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2917 | esac
|
---|
| 2918 | done
|
---|
| 2919 | rm -f $ac_rmfiles
|
---|
| 2920 |
|
---|
[26565] | 2921 | if { { ac_try="$ac_link_default"
|
---|
[25149] | 2922 | case "(($ac_try" in
|
---|
| 2923 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2924 | *) ac_try_echo=$ac_try;;
|
---|
| 2925 | esac
|
---|
[26565] | 2926 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2927 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 2928 | (eval "$ac_link_default") 2>&5
|
---|
[24874] | 2929 | ac_status=$?
|
---|
[26565] | 2930 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 2931 | test $ac_status = 0; }; then :
|
---|
[25149] | 2932 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2933 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2934 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2935 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2936 | # Autoconf.
|
---|
| 2937 | for ac_file in $ac_files ''
|
---|
[16566] | 2938 | do
|
---|
| 2939 | test -f "$ac_file" || continue
|
---|
| 2940 | case $ac_file in
|
---|
[25149] | 2941 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[16566] | 2942 | ;;
|
---|
| 2943 | [ab].out )
|
---|
| 2944 | # We found the default executable, but exeext='' is most
|
---|
| 2945 | # certainly right.
|
---|
| 2946 | break;;
|
---|
| 2947 | *.* )
|
---|
[26565] | 2948 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
[25149] | 2949 | then :; else
|
---|
| 2950 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2951 | fi
|
---|
| 2952 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2953 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2954 | # argument, so we may need to know it at that point already.
|
---|
| 2955 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2956 | # actually working.
|
---|
[16566] | 2957 | break;;
|
---|
| 2958 | * )
|
---|
| 2959 | break;;
|
---|
| 2960 | esac
|
---|
| 2961 | done
|
---|
[25149] | 2962 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2963 |
|
---|
[16566] | 2964 | else
|
---|
[25149] | 2965 | ac_file=''
|
---|
| 2966 | fi
|
---|
[26565] | 2967 | if test -z "$ac_file"; then :
|
---|
| 2968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
| 2969 | $as_echo "no" >&6; }
|
---|
| 2970 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16566] | 2971 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2972 |
|
---|
[26565] | 2973 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 2974 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 2975 | as_fn_error 77 "C compiler cannot create executables
|
---|
| 2976 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 2977 | else
|
---|
| 2978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
| 2979 | $as_echo "yes" >&6; }
|
---|
[16566] | 2980 | fi
|
---|
[26565] | 2981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
---|
| 2982 | $as_echo_n "checking for C compiler default output file name... " >&6; }
|
---|
| 2983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
---|
| 2984 | $as_echo "$ac_file" >&6; }
|
---|
[16566] | 2985 | ac_exeext=$ac_cv_exeext
|
---|
| 2986 |
|
---|
[25149] | 2987 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[16566] | 2988 | ac_clean_files=$ac_clean_files_save
|
---|
[26565] | 2989 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
---|
[25149] | 2990 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
[26565] | 2991 | if { { ac_try="$ac_link"
|
---|
[25149] | 2992 | case "(($ac_try" in
|
---|
| 2993 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2994 | *) ac_try_echo=$ac_try;;
|
---|
| 2995 | esac
|
---|
[26565] | 2996 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 2997 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 2998 | (eval "$ac_link") 2>&5
|
---|
[16566] | 2999 | ac_status=$?
|
---|
[26565] | 3000 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3001 | test $ac_status = 0; }; then :
|
---|
[16566] | 3002 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 3003 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 3004 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 3005 | # `rm'.
|
---|
| 3006 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 3007 | test -f "$ac_file" || continue
|
---|
| 3008 | case $ac_file in
|
---|
[25149] | 3009 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[16566] | 3010 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 3011 | break;;
|
---|
| 3012 | * ) break;;
|
---|
| 3013 | esac
|
---|
| 3014 | done
|
---|
| 3015 | else
|
---|
[26565] | 3016 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 3017 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 3018 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
---|
| 3019 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 3020 | fi
|
---|
[26565] | 3021 | rm -f conftest conftest$ac_cv_exeext
|
---|
| 3022 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
---|
[25149] | 3023 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[24874] | 3024 |
|
---|
[16566] | 3025 | rm -f conftest.$ac_ext
|
---|
| 3026 | EXEEXT=$ac_cv_exeext
|
---|
| 3027 | ac_exeext=$EXEEXT
|
---|
[26565] | 3028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
| 3029 | /* end confdefs.h. */
|
---|
| 3030 | #include <stdio.h>
|
---|
| 3031 | int
|
---|
| 3032 | main ()
|
---|
| 3033 | {
|
---|
| 3034 | FILE *f = fopen ("conftest.out", "w");
|
---|
| 3035 | return ferror (f) || fclose (f) != 0;
|
---|
| 3036 |
|
---|
| 3037 | ;
|
---|
| 3038 | return 0;
|
---|
| 3039 | }
|
---|
| 3040 | _ACEOF
|
---|
| 3041 | ac_clean_files="$ac_clean_files conftest.out"
|
---|
| 3042 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 3043 | # the compiler is broken, or we cross compile.
|
---|
| 3044 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
---|
| 3045 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 3046 | if test "$cross_compiling" != yes; then
|
---|
| 3047 | { { ac_try="$ac_link"
|
---|
| 3048 | case "(($ac_try" in
|
---|
| 3049 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3050 | *) ac_try_echo=$ac_try;;
|
---|
| 3051 | esac
|
---|
| 3052 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3053 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3054 | (eval "$ac_link") 2>&5
|
---|
| 3055 | ac_status=$?
|
---|
| 3056 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3057 | test $ac_status = 0; }
|
---|
| 3058 | if { ac_try='./conftest$ac_cv_exeext'
|
---|
| 3059 | { { case "(($ac_try" in
|
---|
| 3060 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3061 | *) ac_try_echo=$ac_try;;
|
---|
| 3062 | esac
|
---|
| 3063 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3064 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3065 | (eval "$ac_try") 2>&5
|
---|
| 3066 | ac_status=$?
|
---|
| 3067 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3068 | test $ac_status = 0; }; }; then
|
---|
| 3069 | cross_compiling=no
|
---|
| 3070 | else
|
---|
| 3071 | if test "$cross_compiling" = maybe; then
|
---|
| 3072 | cross_compiling=yes
|
---|
| 3073 | else
|
---|
| 3074 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
| 3075 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 3076 | as_fn_error $? "cannot run C compiled programs.
|
---|
| 3077 | If you meant to cross compile, use \`--host'.
|
---|
| 3078 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
| 3079 | fi
|
---|
| 3080 | fi
|
---|
| 3081 | fi
|
---|
| 3082 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
---|
| 3083 | $as_echo "$cross_compiling" >&6; }
|
---|
| 3084 |
|
---|
| 3085 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
---|
| 3086 | ac_clean_files=$ac_clean_files_save
|
---|
| 3087 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
---|
[25149] | 3088 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
[26565] | 3089 | if ${ac_cv_objext+:} false; then :
|
---|
[25149] | 3090 | $as_echo_n "(cached) " >&6
|
---|
[24874] | 3091 | else
|
---|
[26565] | 3092 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3093 | /* end confdefs.h. */
|
---|
| 3094 |
|
---|
| 3095 | int
|
---|
| 3096 | main ()
|
---|
| 3097 | {
|
---|
| 3098 |
|
---|
| 3099 | ;
|
---|
| 3100 | return 0;
|
---|
| 3101 | }
|
---|
| 3102 | _ACEOF
|
---|
| 3103 | rm -f conftest.o conftest.obj
|
---|
[26565] | 3104 | if { { ac_try="$ac_compile"
|
---|
[25149] | 3105 | case "(($ac_try" in
|
---|
| 3106 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3107 | *) ac_try_echo=$ac_try;;
|
---|
| 3108 | esac
|
---|
[26565] | 3109 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3110 | $as_echo "$ac_try_echo"; } >&5
|
---|
[25149] | 3111 | (eval "$ac_compile") 2>&5
|
---|
[16566] | 3112 | ac_status=$?
|
---|
[26565] | 3113 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3114 | test $ac_status = 0; }; then :
|
---|
[25149] | 3115 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 3116 | test -f "$ac_file" || continue;
|
---|
[16566] | 3117 | case $ac_file in
|
---|
[25149] | 3118 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[16566] | 3119 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 3120 | break;;
|
---|
| 3121 | esac
|
---|
| 3122 | done
|
---|
| 3123 | else
|
---|
[25149] | 3124 | $as_echo "$as_me: failed program was:" >&5
|
---|
[16566] | 3125 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3126 |
|
---|
[26565] | 3127 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 3128 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 3129 | as_fn_error $? "cannot compute suffix of object files: cannot compile
|
---|
| 3130 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 3131 | fi
|
---|
| 3132 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 3133 | fi
|
---|
[26565] | 3134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
---|
[25149] | 3135 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[16566] | 3136 | OBJEXT=$ac_cv_objext
|
---|
| 3137 | ac_objext=$OBJEXT
|
---|
[26565] | 3138 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
---|
[25149] | 3139 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
[26565] | 3140 | if ${ac_cv_c_compiler_gnu+:} false; then :
|
---|
[25149] | 3141 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3142 | else
|
---|
[26565] | 3143 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3144 | /* end confdefs.h. */
|
---|
| 3145 |
|
---|
| 3146 | int
|
---|
| 3147 | main ()
|
---|
| 3148 | {
|
---|
| 3149 | #ifndef __GNUC__
|
---|
| 3150 | choke me
|
---|
| 3151 | #endif
|
---|
| 3152 |
|
---|
| 3153 | ;
|
---|
| 3154 | return 0;
|
---|
| 3155 | }
|
---|
| 3156 | _ACEOF
|
---|
[26565] | 3157 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 3158 | ac_compiler_gnu=yes
|
---|
| 3159 | else
|
---|
[26565] | 3160 | ac_compiler_gnu=no
|
---|
[16566] | 3161 | fi
|
---|
[25149] | 3162 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3163 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 3164 |
|
---|
| 3165 | fi
|
---|
[26565] | 3166 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
---|
[25149] | 3167 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 3168 | if test $ac_compiler_gnu = yes; then
|
---|
| 3169 | GCC=yes
|
---|
| 3170 | else
|
---|
| 3171 | GCC=
|
---|
| 3172 | fi
|
---|
[16566] | 3173 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 3174 | ac_save_CFLAGS=$CFLAGS
|
---|
[26565] | 3175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
---|
[25149] | 3176 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
[26565] | 3177 | if ${ac_cv_prog_cc_g+:} false; then :
|
---|
[25149] | 3178 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3179 | else
|
---|
[25149] | 3180 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 3181 | ac_c_werror_flag=yes
|
---|
| 3182 | ac_cv_prog_cc_g=no
|
---|
| 3183 | CFLAGS="-g"
|
---|
[26565] | 3184 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3185 | /* end confdefs.h. */
|
---|
| 3186 |
|
---|
| 3187 | int
|
---|
| 3188 | main ()
|
---|
| 3189 | {
|
---|
| 3190 |
|
---|
| 3191 | ;
|
---|
| 3192 | return 0;
|
---|
| 3193 | }
|
---|
| 3194 | _ACEOF
|
---|
[26565] | 3195 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 3196 | ac_cv_prog_cc_g=yes
|
---|
| 3197 | else
|
---|
[26565] | 3198 | CFLAGS=""
|
---|
| 3199 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 3200 | /* end confdefs.h. */
|
---|
| 3201 |
|
---|
| 3202 | int
|
---|
| 3203 | main ()
|
---|
| 3204 | {
|
---|
| 3205 |
|
---|
| 3206 | ;
|
---|
| 3207 | return 0;
|
---|
| 3208 | }
|
---|
| 3209 | _ACEOF
|
---|
[26565] | 3210 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 3211 |
|
---|
[25149] | 3212 | else
|
---|
[26565] | 3213 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
[25149] | 3214 | CFLAGS="-g"
|
---|
[26565] | 3215 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 3216 | /* end confdefs.h. */
|
---|
| 3217 |
|
---|
| 3218 | int
|
---|
| 3219 | main ()
|
---|
| 3220 | {
|
---|
| 3221 |
|
---|
| 3222 | ;
|
---|
| 3223 | return 0;
|
---|
| 3224 | }
|
---|
| 3225 | _ACEOF
|
---|
[26565] | 3226 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 3227 | ac_cv_prog_cc_g=yes
|
---|
| 3228 | fi
|
---|
[25149] | 3229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3230 | fi
|
---|
[25149] | 3231 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3232 | fi
|
---|
| 3233 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3234 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3235 | fi
|
---|
[26565] | 3236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
---|
[25149] | 3237 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[16566] | 3238 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 3239 | CFLAGS=$ac_save_CFLAGS
|
---|
| 3240 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 3241 | if test "$GCC" = yes; then
|
---|
| 3242 | CFLAGS="-g -O2"
|
---|
| 3243 | else
|
---|
| 3244 | CFLAGS="-g"
|
---|
| 3245 | fi
|
---|
| 3246 | else
|
---|
| 3247 | if test "$GCC" = yes; then
|
---|
| 3248 | CFLAGS="-O2"
|
---|
| 3249 | else
|
---|
| 3250 | CFLAGS=
|
---|
| 3251 | fi
|
---|
| 3252 | fi
|
---|
[26565] | 3253 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
---|
[25149] | 3254 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
[26565] | 3255 | if ${ac_cv_prog_cc_c89+:} false; then :
|
---|
[25149] | 3256 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3257 | else
|
---|
[25149] | 3258 | ac_cv_prog_cc_c89=no
|
---|
[16566] | 3259 | ac_save_CC=$CC
|
---|
[26565] | 3260 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3261 | /* end confdefs.h. */
|
---|
| 3262 | #include <stdarg.h>
|
---|
| 3263 | #include <stdio.h>
|
---|
| 3264 | #include <sys/types.h>
|
---|
| 3265 | #include <sys/stat.h>
|
---|
| 3266 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 3267 | struct buf { int x; };
|
---|
| 3268 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 3269 | static char *e (p, i)
|
---|
| 3270 | char **p;
|
---|
| 3271 | int i;
|
---|
| 3272 | {
|
---|
| 3273 | return p[i];
|
---|
| 3274 | }
|
---|
| 3275 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 3276 | {
|
---|
| 3277 | char *s;
|
---|
| 3278 | va_list v;
|
---|
| 3279 | va_start (v,p);
|
---|
| 3280 | s = g (p, va_arg (v,int));
|
---|
| 3281 | va_end (v);
|
---|
| 3282 | return s;
|
---|
| 3283 | }
|
---|
| 3284 |
|
---|
| 3285 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3286 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3287 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[25149] | 3288 | as 'x'. The following induces an error, until -std is added to get
|
---|
[16566] | 3289 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3290 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[25149] | 3291 | that's true only with -std. */
|
---|
[16566] | 3292 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3293 |
|
---|
[25149] | 3294 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3295 | inside strings and character constants. */
|
---|
| 3296 | #define FOO(x) 'x'
|
---|
| 3297 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3298 |
|
---|
[16566] | 3299 | int test (int i, double x);
|
---|
| 3300 | struct s1 {int (*f) (int a);};
|
---|
| 3301 | struct s2 {int (*f) (double a);};
|
---|
| 3302 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3303 | int argc;
|
---|
| 3304 | char **argv;
|
---|
| 3305 | int
|
---|
| 3306 | main ()
|
---|
| 3307 | {
|
---|
| 3308 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3309 | ;
|
---|
| 3310 | return 0;
|
---|
| 3311 | }
|
---|
| 3312 | _ACEOF
|
---|
[25149] | 3313 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3314 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[16566] | 3315 | do
|
---|
| 3316 | CC="$ac_save_CC $ac_arg"
|
---|
[26565] | 3317 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 3318 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[16566] | 3319 | fi
|
---|
[25149] | 3320 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3321 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[16566] | 3322 | done
|
---|
[25149] | 3323 | rm -f conftest.$ac_ext
|
---|
[16566] | 3324 | CC=$ac_save_CC
|
---|
| 3325 |
|
---|
| 3326 | fi
|
---|
[25149] | 3327 | # AC_CACHE_VAL
|
---|
| 3328 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3329 | x)
|
---|
[26565] | 3330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
---|
[25149] | 3331 | $as_echo "none needed" >&6; } ;;
|
---|
| 3332 | xno)
|
---|
[26565] | 3333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
---|
[25149] | 3334 | $as_echo "unsupported" >&6; } ;;
|
---|
[16566] | 3335 | *)
|
---|
[25149] | 3336 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
[26565] | 3337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
---|
[25149] | 3338 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[16566] | 3339 | esac
|
---|
[26565] | 3340 | if test "x$ac_cv_prog_cc_c89" != xno; then :
|
---|
[16566] | 3341 |
|
---|
[26565] | 3342 | fi
|
---|
[24874] | 3343 |
|
---|
[16566] | 3344 | ac_ext=c
|
---|
| 3345 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3346 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3347 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3348 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3349 |
|
---|
[25149] | 3350 | ac_ext=cpp
|
---|
[16566] | 3351 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 3352 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3353 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3354 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[25149] | 3355 | if test -z "$CXX"; then
|
---|
| 3356 | if test -n "$CCC"; then
|
---|
| 3357 | CXX=$CCC
|
---|
| 3358 | else
|
---|
| 3359 | if test -n "$ac_tool_prefix"; then
|
---|
| 3360 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16566] | 3361 | do
|
---|
| 3362 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 3363 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[26565] | 3364 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3365 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3366 | if ${ac_cv_prog_CXX+:} false; then :
|
---|
[25149] | 3367 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3368 | else
|
---|
| 3369 | if test -n "$CXX"; then
|
---|
| 3370 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 3371 | else
|
---|
| 3372 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3373 | for as_dir in $PATH
|
---|
| 3374 | do
|
---|
| 3375 | IFS=$as_save_IFS
|
---|
| 3376 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3377 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3378 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 3379 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[26565] | 3380 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 3381 | break 2
|
---|
| 3382 | fi
|
---|
| 3383 | done
|
---|
[26565] | 3384 | done
|
---|
[25149] | 3385 | IFS=$as_save_IFS
|
---|
[16566] | 3386 |
|
---|
| 3387 | fi
|
---|
| 3388 | fi
|
---|
| 3389 | CXX=$ac_cv_prog_CXX
|
---|
| 3390 | if test -n "$CXX"; then
|
---|
[26565] | 3391 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
---|
[25149] | 3392 | $as_echo "$CXX" >&6; }
|
---|
[16566] | 3393 | else
|
---|
[26565] | 3394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3395 | $as_echo "no" >&6; }
|
---|
[16566] | 3396 | fi
|
---|
| 3397 |
|
---|
[25149] | 3398 |
|
---|
[16566] | 3399 | test -n "$CXX" && break
|
---|
| 3400 | done
|
---|
| 3401 | fi
|
---|
| 3402 | if test -z "$CXX"; then
|
---|
| 3403 | ac_ct_CXX=$CXX
|
---|
[25149] | 3404 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16566] | 3405 | do
|
---|
| 3406 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3407 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3408 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3409 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3410 | if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
---|
[25149] | 3411 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3412 | else
|
---|
| 3413 | if test -n "$ac_ct_CXX"; then
|
---|
| 3414 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3415 | else
|
---|
| 3416 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3417 | for as_dir in $PATH
|
---|
| 3418 | do
|
---|
| 3419 | IFS=$as_save_IFS
|
---|
| 3420 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3421 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3422 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 3423 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[26565] | 3424 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 3425 | break 2
|
---|
| 3426 | fi
|
---|
| 3427 | done
|
---|
[26565] | 3428 | done
|
---|
[25149] | 3429 | IFS=$as_save_IFS
|
---|
[16566] | 3430 |
|
---|
| 3431 | fi
|
---|
| 3432 | fi
|
---|
| 3433 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3434 | if test -n "$ac_ct_CXX"; then
|
---|
[26565] | 3435 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
---|
[25149] | 3436 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
[16566] | 3437 | else
|
---|
[26565] | 3438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3439 | $as_echo "no" >&6; }
|
---|
[16566] | 3440 | fi
|
---|
| 3441 |
|
---|
[25149] | 3442 |
|
---|
[16566] | 3443 | test -n "$ac_ct_CXX" && break
|
---|
| 3444 | done
|
---|
| 3445 |
|
---|
[25149] | 3446 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3447 | CXX="g++"
|
---|
| 3448 | else
|
---|
| 3449 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3450 | yes:)
|
---|
[26565] | 3451 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 3452 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3453 | ac_tool_warned=yes ;;
|
---|
| 3454 | esac
|
---|
| 3455 | CXX=$ac_ct_CXX
|
---|
| 3456 | fi
|
---|
[16566] | 3457 | fi
|
---|
| 3458 |
|
---|
[25149] | 3459 | fi
|
---|
| 3460 | fi
|
---|
[16566] | 3461 | # Provide some information about the compiler.
|
---|
[26565] | 3462 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
---|
[25149] | 3463 | set X $ac_compile
|
---|
| 3464 | ac_compiler=$2
|
---|
[26565] | 3465 | for ac_option in --version -v -V -qversion; do
|
---|
| 3466 | { { ac_try="$ac_compiler $ac_option >&5"
|
---|
[25149] | 3467 | case "(($ac_try" in
|
---|
| 3468 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3469 | *) ac_try_echo=$ac_try;;
|
---|
| 3470 | esac
|
---|
[26565] | 3471 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
---|
| 3472 | $as_echo "$ac_try_echo"; } >&5
|
---|
| 3473 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
---|
[16566] | 3474 | ac_status=$?
|
---|
[26565] | 3475 | if test -s conftest.err; then
|
---|
| 3476 | sed '10a\
|
---|
| 3477 | ... rest of stderr output deleted ...
|
---|
| 3478 | 10q' conftest.err >conftest.er1
|
---|
| 3479 | cat conftest.er1 >&5
|
---|
| 3480 | fi
|
---|
| 3481 | rm -f conftest.er1 conftest.err
|
---|
| 3482 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3483 | test $ac_status = 0; }
|
---|
| 3484 | done
|
---|
[16566] | 3485 |
|
---|
[26565] | 3486 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
---|
[25149] | 3487 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
[26565] | 3488 | if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
---|
[25149] | 3489 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3490 | else
|
---|
[26565] | 3491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3492 | /* end confdefs.h. */
|
---|
| 3493 |
|
---|
| 3494 | int
|
---|
| 3495 | main ()
|
---|
| 3496 | {
|
---|
| 3497 | #ifndef __GNUC__
|
---|
| 3498 | choke me
|
---|
| 3499 | #endif
|
---|
| 3500 |
|
---|
| 3501 | ;
|
---|
| 3502 | return 0;
|
---|
| 3503 | }
|
---|
| 3504 | _ACEOF
|
---|
[26565] | 3505 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 3506 | ac_compiler_gnu=yes
|
---|
| 3507 | else
|
---|
[26565] | 3508 | ac_compiler_gnu=no
|
---|
[16566] | 3509 | fi
|
---|
[25149] | 3510 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 3511 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3512 |
|
---|
| 3513 | fi
|
---|
[26565] | 3514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
[25149] | 3515 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3516 | if test $ac_compiler_gnu = yes; then
|
---|
| 3517 | GXX=yes
|
---|
| 3518 | else
|
---|
| 3519 | GXX=
|
---|
| 3520 | fi
|
---|
[16566] | 3521 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3522 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[26565] | 3523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
---|
[25149] | 3524 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
[26565] | 3525 | if ${ac_cv_prog_cxx_g+:} false; then :
|
---|
[25149] | 3526 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 3527 | else
|
---|
[25149] | 3528 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3529 | ac_cxx_werror_flag=yes
|
---|
| 3530 | ac_cv_prog_cxx_g=no
|
---|
| 3531 | CXXFLAGS="-g"
|
---|
[26565] | 3532 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 3533 | /* end confdefs.h. */
|
---|
| 3534 |
|
---|
| 3535 | int
|
---|
| 3536 | main ()
|
---|
| 3537 | {
|
---|
| 3538 |
|
---|
| 3539 | ;
|
---|
| 3540 | return 0;
|
---|
| 3541 | }
|
---|
| 3542 | _ACEOF
|
---|
[26565] | 3543 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 3544 | ac_cv_prog_cxx_g=yes
|
---|
| 3545 | else
|
---|
[26565] | 3546 | CXXFLAGS=""
|
---|
| 3547 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[23356] | 3548 | /* end confdefs.h. */
|
---|
[25149] | 3549 |
|
---|
[23356] | 3550 | int
|
---|
| 3551 | main ()
|
---|
| 3552 | {
|
---|
[25149] | 3553 |
|
---|
[23356] | 3554 | ;
|
---|
| 3555 | return 0;
|
---|
| 3556 | }
|
---|
| 3557 | _ACEOF
|
---|
[26565] | 3558 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
| 3559 |
|
---|
[24874] | 3560 | else
|
---|
[26565] | 3561 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
[25149] | 3562 | CXXFLAGS="-g"
|
---|
[26565] | 3563 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[23356] | 3564 | /* end confdefs.h. */
|
---|
[25149] | 3565 |
|
---|
[23356] | 3566 | int
|
---|
| 3567 | main ()
|
---|
| 3568 | {
|
---|
[25149] | 3569 |
|
---|
[23356] | 3570 | ;
|
---|
| 3571 | return 0;
|
---|
| 3572 | }
|
---|
| 3573 | _ACEOF
|
---|
[26565] | 3574 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 3575 | ac_cv_prog_cxx_g=yes
|
---|
[21327] | 3576 | fi
|
---|
[25149] | 3577 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[21327] | 3578 | fi
|
---|
[25149] | 3579 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3580 | fi
|
---|
| 3581 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3582 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3583 | fi
|
---|
[26565] | 3584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
---|
[25149] | 3585 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
| 3586 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3587 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3588 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3589 | if test "$GXX" = yes; then
|
---|
| 3590 | CXXFLAGS="-g -O2"
|
---|
| 3591 | else
|
---|
| 3592 | CXXFLAGS="-g"
|
---|
| 3593 | fi
|
---|
| 3594 | else
|
---|
| 3595 | if test "$GXX" = yes; then
|
---|
| 3596 | CXXFLAGS="-O2"
|
---|
| 3597 | else
|
---|
| 3598 | CXXFLAGS=
|
---|
| 3599 | fi
|
---|
| 3600 | fi
|
---|
[23356] | 3601 | ac_ext=c
|
---|
| 3602 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3603 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3604 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3605 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3606 |
|
---|
| 3607 | if test $ENABLE_JAVA = "1" ; then
|
---|
| 3608 |
|
---|
| 3609 |
|
---|
| 3610 | if test "x$JAVA" = x ; then
|
---|
| 3611 | if test x$JAVAPREFIX = x; then
|
---|
| 3612 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
[21327] | 3613 | do
|
---|
[23356] | 3614 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3615 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3617 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3618 | if ${ac_cv_prog_JAVA+:} false; then :
|
---|
[25149] | 3619 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3620 | else
|
---|
| 3621 | if test -n "$JAVA"; then
|
---|
| 3622 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3623 | else
|
---|
| 3624 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3625 | for as_dir in $PATH
|
---|
| 3626 | do
|
---|
| 3627 | IFS=$as_save_IFS
|
---|
| 3628 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3629 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3630 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3631 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[26565] | 3632 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3633 | break 2
|
---|
| 3634 | fi
|
---|
| 3635 | done
|
---|
[26565] | 3636 | done
|
---|
[25149] | 3637 | IFS=$as_save_IFS
|
---|
[23356] | 3638 |
|
---|
| 3639 | fi
|
---|
| 3640 | fi
|
---|
| 3641 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3642 | if test -n "$JAVA"; then
|
---|
[26565] | 3643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
[25149] | 3644 | $as_echo "$JAVA" >&6; }
|
---|
[23356] | 3645 | else
|
---|
[26565] | 3646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3647 | $as_echo "no" >&6; }
|
---|
[23356] | 3648 | fi
|
---|
| 3649 |
|
---|
[25149] | 3650 |
|
---|
[23356] | 3651 | test -n "$JAVA" && break
|
---|
| 3652 | done
|
---|
| 3653 |
|
---|
| 3654 | else
|
---|
| 3655 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3656 | do
|
---|
| 3657 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3658 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3659 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3660 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3661 | if ${ac_cv_prog_JAVA+:} false; then :
|
---|
[25149] | 3662 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3663 | else
|
---|
| 3664 | if test -n "$JAVA"; then
|
---|
| 3665 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3666 | else
|
---|
| 3667 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3668 | for as_dir in $PATH
|
---|
| 3669 | do
|
---|
| 3670 | IFS=$as_save_IFS
|
---|
| 3671 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3672 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3673 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3674 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[26565] | 3675 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3676 | break 2
|
---|
| 3677 | fi
|
---|
| 3678 | done
|
---|
[26565] | 3679 | done
|
---|
[25149] | 3680 | IFS=$as_save_IFS
|
---|
[23356] | 3681 |
|
---|
| 3682 | fi
|
---|
| 3683 | fi
|
---|
| 3684 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3685 | if test -n "$JAVA"; then
|
---|
[26565] | 3686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
|
---|
[25149] | 3687 | $as_echo "$JAVA" >&6; }
|
---|
[23356] | 3688 | else
|
---|
[26565] | 3689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3690 | $as_echo "no" >&6; }
|
---|
[23356] | 3691 | fi
|
---|
| 3692 |
|
---|
[25149] | 3693 |
|
---|
[23356] | 3694 | test -n "$JAVA" && break
|
---|
| 3695 | done
|
---|
| 3696 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
| 3697 |
|
---|
| 3698 | fi
|
---|
[26565] | 3699 | test x$JAVA = x && as_fn_error $? "no acceptable Java virtual machine found in \$PATH" "$LINENO" 5
|
---|
[23356] | 3700 | fi
|
---|
| 3701 |
|
---|
| 3702 |
|
---|
| 3703 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
| 3704 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
[26565] | 3705 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3706 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3707 | if ${ac_cv_prog_uudecode+:} false; then :
|
---|
[25149] | 3708 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3709 | else
|
---|
| 3710 | if test -n "$uudecode"; then
|
---|
| 3711 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
| 3712 | else
|
---|
| 3713 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3714 | for as_dir in $PATH
|
---|
| 3715 | do
|
---|
| 3716 | IFS=$as_save_IFS
|
---|
| 3717 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3718 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3719 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3720 | ac_cv_prog_uudecode="yes"
|
---|
[26565] | 3721 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3722 | break 2
|
---|
| 3723 | fi
|
---|
| 3724 | done
|
---|
[26565] | 3725 | done
|
---|
[25149] | 3726 | IFS=$as_save_IFS
|
---|
[23356] | 3727 |
|
---|
| 3728 | fi
|
---|
| 3729 | fi
|
---|
| 3730 | uudecode=$ac_cv_prog_uudecode
|
---|
| 3731 | if test -n "$uudecode"; then
|
---|
[26565] | 3732 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $uudecode" >&5
|
---|
[25149] | 3733 | $as_echo "$uudecode" >&6; }
|
---|
[23356] | 3734 | else
|
---|
[26565] | 3735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3736 | $as_echo "no" >&6; }
|
---|
[23356] | 3737 | fi
|
---|
| 3738 |
|
---|
[25149] | 3739 |
|
---|
[23356] | 3740 | if test x$uudecode = xyes; then
|
---|
[26565] | 3741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if uudecode can decode base 64 file" >&5
|
---|
[25149] | 3742 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
[26565] | 3743 | if ${ac_cv_prog_uudecode_base64+:} false; then :
|
---|
[25149] | 3744 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3745 | else
|
---|
| 3746 |
|
---|
| 3747 | cat << \EOF > Test.uue
|
---|
| 3748 | begin-base64 644 Test.class
|
---|
| 3749 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
| 3750 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
| 3751 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
| 3752 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
| 3753 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
| 3754 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
| 3755 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
| 3756 | ====
|
---|
| 3757 | EOF
|
---|
| 3758 | if uudecode$EXEEXT Test.uue; then
|
---|
| 3759 | ac_cv_prog_uudecode_base64=yes
|
---|
| 3760 | else
|
---|
[26565] | 3761 | echo "configure: 3761: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
[23356] | 3762 | echo "configure: failed file was:" >&5
|
---|
| 3763 | cat Test.uue >&5
|
---|
| 3764 | ac_cv_prog_uudecode_base64=no
|
---|
| 3765 | fi
|
---|
| 3766 | rm -f Test.uue
|
---|
| 3767 | fi
|
---|
[26565] | 3768 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
[25149] | 3769 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
[23356] | 3770 | fi
|
---|
| 3771 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3772 | rm -f Test.class
|
---|
[26565] | 3773 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I have to compile Test.class from scratch" >&5
|
---|
[25149] | 3774 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
[23356] | 3775 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
[26565] | 3776 | as_fn_error $? "Cannot compile java source. $JAVAC does not work properly" "$LINENO" 5
|
---|
[23356] | 3777 | fi
|
---|
| 3778 | if test x$ac_cv_prog_javac_works = x; then
|
---|
| 3779 |
|
---|
| 3780 | if test "x$JAVAC" = x ; then
|
---|
| 3781 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3782 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3783 | do
|
---|
| 3784 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3785 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3787 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3788 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3789 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3790 | else
|
---|
| 3791 | if test -n "$JAVAC"; then
|
---|
| 3792 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3793 | else
|
---|
| 3794 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3795 | for as_dir in $PATH
|
---|
| 3796 | do
|
---|
| 3797 | IFS=$as_save_IFS
|
---|
| 3798 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3799 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3800 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3801 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 3802 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3803 | break 2
|
---|
| 3804 | fi
|
---|
| 3805 | done
|
---|
[26565] | 3806 | done
|
---|
[25149] | 3807 | IFS=$as_save_IFS
|
---|
[23356] | 3808 |
|
---|
| 3809 | fi
|
---|
| 3810 | fi
|
---|
| 3811 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3812 | if test -n "$JAVAC"; then
|
---|
[26565] | 3813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3814 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3815 | else
|
---|
[26565] | 3816 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3817 | $as_echo "no" >&6; }
|
---|
[23356] | 3818 | fi
|
---|
| 3819 |
|
---|
[25149] | 3820 |
|
---|
[23356] | 3821 | test -n "$JAVAC" && break
|
---|
| 3822 | done
|
---|
| 3823 |
|
---|
| 3824 | else
|
---|
| 3825 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3826 | do
|
---|
| 3827 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3828 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3830 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3831 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3832 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3833 | else
|
---|
| 3834 | if test -n "$JAVAC"; then
|
---|
| 3835 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3836 | else
|
---|
| 3837 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3838 | for as_dir in $PATH
|
---|
| 3839 | do
|
---|
| 3840 | IFS=$as_save_IFS
|
---|
| 3841 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3842 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3843 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3844 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 3845 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3846 | break 2
|
---|
| 3847 | fi
|
---|
| 3848 | done
|
---|
[26565] | 3849 | done
|
---|
[25149] | 3850 | IFS=$as_save_IFS
|
---|
[23356] | 3851 |
|
---|
| 3852 | fi
|
---|
| 3853 | fi
|
---|
| 3854 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3855 | if test -n "$JAVAC"; then
|
---|
[26565] | 3856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3857 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3858 | else
|
---|
[26565] | 3859 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 3860 | $as_echo "no" >&6; }
|
---|
[23356] | 3861 | fi
|
---|
| 3862 |
|
---|
[25149] | 3863 |
|
---|
[23356] | 3864 | test -n "$JAVAC" && break
|
---|
| 3865 | done
|
---|
| 3866 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3867 |
|
---|
| 3868 | fi
|
---|
[26565] | 3869 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
[23356] | 3870 | else
|
---|
| 3871 | echo "Checking for javac... $JAVAC"
|
---|
| 3872 | fi
|
---|
| 3873 |
|
---|
| 3874 |
|
---|
[26565] | 3875 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
[25149] | 3876 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[26565] | 3877 | if ${ac_cv_prog_javac_works+:} false; then :
|
---|
[25149] | 3878 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3879 | else
|
---|
| 3880 |
|
---|
| 3881 | JAVA_TEST=Test.java
|
---|
| 3882 | CLASS_TEST=Test.class
|
---|
| 3883 | cat << \EOF > $JAVA_TEST
|
---|
[26565] | 3884 | /* #line 3884 "configure" */
|
---|
[23356] | 3885 | public class Test {
|
---|
[16566] | 3886 | }
|
---|
[23356] | 3887 | EOF
|
---|
| 3888 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26565] | 3889 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[23356] | 3890 | (eval $ac_try) 2>&5
|
---|
[16566] | 3891 | ac_status=$?
|
---|
[26565] | 3892 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3893 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 3894 | ac_cv_prog_javac_works=yes
|
---|
| 3895 | else
|
---|
[26565] | 3896 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3897 | echo "configure: failed program was:" >&5
|
---|
| 3898 | cat $JAVA_TEST >&5
|
---|
| 3899 | fi
|
---|
| 3900 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 3901 |
|
---|
| 3902 | fi
|
---|
[26565] | 3903 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
[25149] | 3904 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 3905 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 3906 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 3907 | fi
|
---|
| 3908 |
|
---|
| 3909 |
|
---|
| 3910 |
|
---|
| 3911 | fi
|
---|
| 3912 | fi
|
---|
[26565] | 3913 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVA works" >&5
|
---|
[25149] | 3914 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
[26565] | 3915 | if ${ac_cv_prog_java_works+:} false; then :
|
---|
[25149] | 3916 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3917 | else
|
---|
| 3918 |
|
---|
| 3919 | JAVA_TEST=Test.java
|
---|
| 3920 | CLASS_TEST=Test.class
|
---|
| 3921 | TEST=Test
|
---|
| 3922 | cat << \EOF > $JAVA_TEST
|
---|
[26565] | 3923 | /* [#]line 3923 "configure" */
|
---|
[23356] | 3924 | public class Test {
|
---|
| 3925 | public static void main (String args[]) {
|
---|
| 3926 | System.exit (0);
|
---|
| 3927 | } }
|
---|
| 3928 | EOF
|
---|
| 3929 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3930 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26565] | 3931 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 3932 | (eval $ac_try) 2>&5
|
---|
| 3933 | ac_status=$?
|
---|
[26565] | 3934 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3935 | test $ac_status = 0; }; } && test -s $CLASS_TEST; then
|
---|
[23356] | 3936 | :
|
---|
| 3937 | else
|
---|
| 3938 | echo "configure: failed program was:" >&5
|
---|
| 3939 | cat $JAVA_TEST >&5
|
---|
[26565] | 3940 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3941 | fi
|
---|
| 3942 | fi
|
---|
| 3943 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
[26565] | 3944 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 3945 | (eval $ac_try) 2>&5
|
---|
| 3946 | ac_status=$?
|
---|
[26565] | 3947 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 3948 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 3949 | ac_cv_prog_java_works=yes
|
---|
[16566] | 3950 | else
|
---|
[23356] | 3951 | echo "configure: failed program was:" >&5
|
---|
| 3952 | cat $JAVA_TEST >&5
|
---|
[26565] | 3953 | as_fn_error $? "The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 3954 | fi
|
---|
| 3955 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
[16566] | 3956 |
|
---|
[21327] | 3957 | fi
|
---|
[26565] | 3958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_java_works" >&5
|
---|
[25149] | 3959 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
[23356] | 3960 |
|
---|
| 3961 |
|
---|
| 3962 |
|
---|
| 3963 |
|
---|
| 3964 | if test "x$JAVAC" = x ; then
|
---|
| 3965 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3966 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3967 | do
|
---|
| 3968 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3969 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 3970 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 3971 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 3972 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 3973 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 3974 | else
|
---|
| 3975 | if test -n "$JAVAC"; then
|
---|
| 3976 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3977 | else
|
---|
| 3978 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3979 | for as_dir in $PATH
|
---|
| 3980 | do
|
---|
| 3981 | IFS=$as_save_IFS
|
---|
| 3982 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 3983 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 3984 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 3985 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 3986 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3987 | break 2
|
---|
| 3988 | fi
|
---|
| 3989 | done
|
---|
[26565] | 3990 | done
|
---|
[25149] | 3991 | IFS=$as_save_IFS
|
---|
[23356] | 3992 |
|
---|
| 3993 | fi
|
---|
| 3994 | fi
|
---|
| 3995 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3996 | if test -n "$JAVAC"; then
|
---|
[26565] | 3997 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 3998 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 3999 | else
|
---|
[26565] | 4000 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4001 | $as_echo "no" >&6; }
|
---|
[23356] | 4002 | fi
|
---|
| 4003 |
|
---|
[25149] | 4004 |
|
---|
[23356] | 4005 | test -n "$JAVAC" && break
|
---|
| 4006 | done
|
---|
| 4007 |
|
---|
| 4008 | else
|
---|
| 4009 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 4010 | do
|
---|
| 4011 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4012 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 4013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4014 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4015 | if ${ac_cv_prog_JAVAC+:} false; then :
|
---|
[25149] | 4016 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 4017 | else
|
---|
| 4018 | if test -n "$JAVAC"; then
|
---|
| 4019 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 4020 | else
|
---|
| 4021 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4022 | for as_dir in $PATH
|
---|
| 4023 | do
|
---|
| 4024 | IFS=$as_save_IFS
|
---|
| 4025 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4026 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4027 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[23356] | 4028 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[26565] | 4029 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 4030 | break 2
|
---|
| 4031 | fi
|
---|
| 4032 | done
|
---|
[26565] | 4033 | done
|
---|
[25149] | 4034 | IFS=$as_save_IFS
|
---|
[23356] | 4035 |
|
---|
| 4036 | fi
|
---|
| 4037 | fi
|
---|
| 4038 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 4039 | if test -n "$JAVAC"; then
|
---|
[26565] | 4040 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
|
---|
[25149] | 4041 | $as_echo "$JAVAC" >&6; }
|
---|
[23356] | 4042 | else
|
---|
[26565] | 4043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4044 | $as_echo "no" >&6; }
|
---|
[23356] | 4045 | fi
|
---|
| 4046 |
|
---|
[25149] | 4047 |
|
---|
[23356] | 4048 | test -n "$JAVAC" && break
|
---|
| 4049 | done
|
---|
| 4050 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 4051 |
|
---|
| 4052 | fi
|
---|
[26565] | 4053 | test "x$JAVAC" = x && as_fn_error $? "no acceptable Java compiler found in \$PATH" "$LINENO" 5
|
---|
[23356] | 4054 | else
|
---|
| 4055 | echo "Checking for javac... $JAVAC"
|
---|
| 4056 | fi
|
---|
| 4057 |
|
---|
| 4058 |
|
---|
[26565] | 4059 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $JAVAC works" >&5
|
---|
[25149] | 4060 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[26565] | 4061 | if ${ac_cv_prog_javac_works+:} false; then :
|
---|
[25149] | 4062 | $as_echo_n "(cached) " >&6
|
---|
[23356] | 4063 | else
|
---|
| 4064 |
|
---|
| 4065 | JAVA_TEST=Test.java
|
---|
| 4066 | CLASS_TEST=Test.class
|
---|
| 4067 | cat << \EOF > $JAVA_TEST
|
---|
[26565] | 4068 | /* #line 4068 "configure" */
|
---|
[23356] | 4069 | public class Test {
|
---|
[16566] | 4070 | }
|
---|
[23356] | 4071 | EOF
|
---|
| 4072 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[26565] | 4073 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
|
---|
[21327] | 4074 | (eval $ac_try) 2>&5
|
---|
| 4075 | ac_status=$?
|
---|
[26565] | 4076 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
---|
| 4077 | test $ac_status = 0; }; } >/dev/null 2>&1; then
|
---|
[23356] | 4078 | ac_cv_prog_javac_works=yes
|
---|
[16566] | 4079 | else
|
---|
[26565] | 4080 | as_fn_error $? "The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" "$LINENO" 5
|
---|
[23356] | 4081 | echo "configure: failed program was:" >&5
|
---|
| 4082 | cat $JAVA_TEST >&5
|
---|
| 4083 | fi
|
---|
| 4084 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
[16566] | 4085 |
|
---|
| 4086 | fi
|
---|
[26565] | 4087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_javac_works" >&5
|
---|
[25149] | 4088 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 4089 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 4090 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
[16566] | 4091 | fi
|
---|
| 4092 |
|
---|
| 4093 |
|
---|
[23356] | 4094 |
|
---|
| 4095 | fi
|
---|
[16566] | 4096 | for ac_prog in gawk mawk nawk awk
|
---|
| 4097 | do
|
---|
| 4098 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4099 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 4100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4101 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4102 | if ${ac_cv_prog_AWK+:} false; then :
|
---|
[25149] | 4103 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4104 | else
|
---|
| 4105 | if test -n "$AWK"; then
|
---|
| 4106 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 4107 | else
|
---|
| 4108 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4109 | for as_dir in $PATH
|
---|
| 4110 | do
|
---|
| 4111 | IFS=$as_save_IFS
|
---|
| 4112 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4113 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4114 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4115 | ac_cv_prog_AWK="$ac_prog"
|
---|
[26565] | 4116 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4117 | break 2
|
---|
| 4118 | fi
|
---|
| 4119 | done
|
---|
[26565] | 4120 | done
|
---|
[25149] | 4121 | IFS=$as_save_IFS
|
---|
[16566] | 4122 |
|
---|
| 4123 | fi
|
---|
| 4124 | fi
|
---|
| 4125 | AWK=$ac_cv_prog_AWK
|
---|
| 4126 | if test -n "$AWK"; then
|
---|
[26565] | 4127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
---|
[25149] | 4128 | $as_echo "$AWK" >&6; }
|
---|
[16566] | 4129 | else
|
---|
[26565] | 4130 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4131 | $as_echo "no" >&6; }
|
---|
[16566] | 4132 | fi
|
---|
| 4133 |
|
---|
[25149] | 4134 |
|
---|
[16566] | 4135 | test -n "$AWK" && break
|
---|
| 4136 | done
|
---|
| 4137 |
|
---|
| 4138 | for ac_prog in 'bison -y' byacc
|
---|
| 4139 | do
|
---|
| 4140 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4141 | set dummy $ac_prog; ac_word=$2
|
---|
[26565] | 4142 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4143 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4144 | if ${ac_cv_prog_YACC+:} false; then :
|
---|
[25149] | 4145 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4146 | else
|
---|
| 4147 | if test -n "$YACC"; then
|
---|
| 4148 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 4149 | else
|
---|
| 4150 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4151 | for as_dir in $PATH
|
---|
| 4152 | do
|
---|
| 4153 | IFS=$as_save_IFS
|
---|
| 4154 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4155 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4156 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4157 | ac_cv_prog_YACC="$ac_prog"
|
---|
[26565] | 4158 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4159 | break 2
|
---|
| 4160 | fi
|
---|
| 4161 | done
|
---|
[26565] | 4162 | done
|
---|
[25149] | 4163 | IFS=$as_save_IFS
|
---|
[16566] | 4164 |
|
---|
| 4165 | fi
|
---|
| 4166 | fi
|
---|
| 4167 | YACC=$ac_cv_prog_YACC
|
---|
| 4168 | if test -n "$YACC"; then
|
---|
[26565] | 4169 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
---|
[25149] | 4170 | $as_echo "$YACC" >&6; }
|
---|
[16566] | 4171 | else
|
---|
[26565] | 4172 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4173 | $as_echo "no" >&6; }
|
---|
[16566] | 4174 | fi
|
---|
| 4175 |
|
---|
[25149] | 4176 |
|
---|
[16566] | 4177 | test -n "$YACC" && break
|
---|
| 4178 | done
|
---|
| 4179 | test -n "$YACC" || YACC="yacc"
|
---|
| 4180 |
|
---|
| 4181 | ac_aux_dir=
|
---|
[25149] | 4182 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 4183 | if test -f "$ac_dir/install-sh"; then
|
---|
[16566] | 4184 | ac_aux_dir=$ac_dir
|
---|
| 4185 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 4186 | break
|
---|
[25149] | 4187 | elif test -f "$ac_dir/install.sh"; then
|
---|
[16566] | 4188 | ac_aux_dir=$ac_dir
|
---|
| 4189 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 4190 | break
|
---|
[25149] | 4191 | elif test -f "$ac_dir/shtool"; then
|
---|
[16566] | 4192 | ac_aux_dir=$ac_dir
|
---|
| 4193 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 4194 | break
|
---|
| 4195 | fi
|
---|
| 4196 | done
|
---|
| 4197 | if test -z "$ac_aux_dir"; then
|
---|
[26565] | 4198 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
---|
[16566] | 4199 | fi
|
---|
| 4200 |
|
---|
[25149] | 4201 | # These three variables are undocumented and unsupported,
|
---|
| 4202 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 4203 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 4204 | # whose full name contains unusual characters.
|
---|
| 4205 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 4206 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 4207 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 4208 |
|
---|
| 4209 |
|
---|
[16566] | 4210 | # Make sure we can run config.sub.
|
---|
[25149] | 4211 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
[26565] | 4212 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
---|
[16566] | 4213 |
|
---|
[26565] | 4214 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
---|
[25149] | 4215 | $as_echo_n "checking build system type... " >&6; }
|
---|
[26565] | 4216 | if ${ac_cv_build+:} false; then :
|
---|
[25149] | 4217 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4218 | else
|
---|
[25149] | 4219 | ac_build_alias=$build_alias
|
---|
| 4220 | test "x$ac_build_alias" = x &&
|
---|
| 4221 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 4222 | test "x$ac_build_alias" = x &&
|
---|
[26565] | 4223 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
---|
[25149] | 4224 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
[26565] | 4225 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
---|
[16566] | 4226 |
|
---|
| 4227 | fi
|
---|
[26565] | 4228 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
---|
[25149] | 4229 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 4230 | case $ac_cv_build in
|
---|
| 4231 | *-*-*) ;;
|
---|
[26565] | 4232 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
---|
[25149] | 4233 | esac
|
---|
[16566] | 4234 | build=$ac_cv_build
|
---|
[25149] | 4235 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4236 | set x $ac_cv_build
|
---|
| 4237 | shift
|
---|
| 4238 | build_cpu=$1
|
---|
| 4239 | build_vendor=$2
|
---|
| 4240 | shift; shift
|
---|
| 4241 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4242 | # except with old shells:
|
---|
| 4243 | build_os=$*
|
---|
| 4244 | IFS=$ac_save_IFS
|
---|
| 4245 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4246 |
|
---|
| 4247 |
|
---|
[26565] | 4248 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
---|
[25149] | 4249 | $as_echo_n "checking host system type... " >&6; }
|
---|
[26565] | 4250 | if ${ac_cv_host+:} false; then :
|
---|
[25149] | 4251 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4252 | else
|
---|
[25149] | 4253 | if test "x$host_alias" = x; then
|
---|
| 4254 | ac_cv_host=$ac_cv_build
|
---|
| 4255 | else
|
---|
| 4256 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
[26565] | 4257 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
---|
[25149] | 4258 | fi
|
---|
[16566] | 4259 |
|
---|
| 4260 | fi
|
---|
[26565] | 4261 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
---|
[25149] | 4262 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 4263 | case $ac_cv_host in
|
---|
| 4264 | *-*-*) ;;
|
---|
[26565] | 4265 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
---|
[25149] | 4266 | esac
|
---|
[16566] | 4267 | host=$ac_cv_host
|
---|
[25149] | 4268 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4269 | set x $ac_cv_host
|
---|
| 4270 | shift
|
---|
| 4271 | host_cpu=$1
|
---|
| 4272 | host_vendor=$2
|
---|
| 4273 | shift; shift
|
---|
| 4274 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4275 | # except with old shells:
|
---|
| 4276 | host_os=$*
|
---|
| 4277 | IFS=$ac_save_IFS
|
---|
| 4278 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4279 |
|
---|
| 4280 |
|
---|
[26565] | 4281 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
---|
[25149] | 4282 | $as_echo_n "checking target system type... " >&6; }
|
---|
[26565] | 4283 | if ${ac_cv_target+:} false; then :
|
---|
[25149] | 4284 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4285 | else
|
---|
[25149] | 4286 | if test "x$target_alias" = x; then
|
---|
| 4287 | ac_cv_target=$ac_cv_host
|
---|
| 4288 | else
|
---|
| 4289 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
[26565] | 4290 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
---|
[25149] | 4291 | fi
|
---|
[16566] | 4292 |
|
---|
| 4293 | fi
|
---|
[26565] | 4294 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
---|
[25149] | 4295 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 4296 | case $ac_cv_target in
|
---|
| 4297 | *-*-*) ;;
|
---|
[26565] | 4298 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
---|
[25149] | 4299 | esac
|
---|
[16566] | 4300 | target=$ac_cv_target
|
---|
[25149] | 4301 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 4302 | set x $ac_cv_target
|
---|
| 4303 | shift
|
---|
| 4304 | target_cpu=$1
|
---|
| 4305 | target_vendor=$2
|
---|
| 4306 | shift; shift
|
---|
| 4307 | # Remember, the first character of IFS is used to create $*,
|
---|
| 4308 | # except with old shells:
|
---|
| 4309 | target_os=$*
|
---|
| 4310 | IFS=$ac_save_IFS
|
---|
| 4311 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[16566] | 4312 |
|
---|
| 4313 |
|
---|
| 4314 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 4315 | # will get canonicalized.
|
---|
| 4316 | test -n "$target_alias" &&
|
---|
| 4317 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 4318 | NONENONEs,x,x, &&
|
---|
| 4319 | program_prefix=${target_alias}-
|
---|
[26565] | 4320 |
|
---|
[16566] | 4321 | # Find a good install program. We prefer a C program (faster),
|
---|
| 4322 | # so one script is as good as another. But avoid the broken or
|
---|
| 4323 | # incompatible versions:
|
---|
| 4324 | # SysV /etc/install, /usr/sbin/install
|
---|
| 4325 | # SunOS /usr/etc/install
|
---|
| 4326 | # IRIX /sbin/install
|
---|
| 4327 | # AIX /bin/install
|
---|
| 4328 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 4329 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 4330 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 4331 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 4332 | # OS/2's system install, which has a completely different semantic
|
---|
| 4333 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[25149] | 4334 | # Reject install programs that cannot install multiple files.
|
---|
[26565] | 4335 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
---|
[25149] | 4336 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[16566] | 4337 | if test -z "$INSTALL"; then
|
---|
[26565] | 4338 | if ${ac_cv_path_install+:} false; then :
|
---|
[25149] | 4339 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4340 | else
|
---|
| 4341 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4342 | for as_dir in $PATH
|
---|
| 4343 | do
|
---|
| 4344 | IFS=$as_save_IFS
|
---|
| 4345 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4346 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 4347 | case $as_dir/ in #((
|
---|
| 4348 | ./ | .// | /[cC]/* | \
|
---|
[16566] | 4349 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[26565] | 4350 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
---|
[16566] | 4351 | /usr/ucb/* ) ;;
|
---|
| 4352 | *)
|
---|
| 4353 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 4354 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 4355 | # by default.
|
---|
| 4356 | for ac_prog in ginstall scoinst install; do
|
---|
| 4357 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4358 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[16566] | 4359 | if test $ac_prog = install &&
|
---|
| 4360 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4361 | # AIX install. It has an incompatible calling convention.
|
---|
| 4362 | :
|
---|
| 4363 | elif test $ac_prog = install &&
|
---|
| 4364 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 4365 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 4366 | :
|
---|
| 4367 | else
|
---|
[25149] | 4368 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 4369 | echo one > conftest.one
|
---|
| 4370 | echo two > conftest.two
|
---|
| 4371 | mkdir conftest.dir
|
---|
| 4372 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 4373 | test -s conftest.one && test -s conftest.two &&
|
---|
| 4374 | test -s conftest.dir/conftest.one &&
|
---|
| 4375 | test -s conftest.dir/conftest.two
|
---|
| 4376 | then
|
---|
| 4377 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 4378 | break 3
|
---|
| 4379 | fi
|
---|
[16566] | 4380 | fi
|
---|
| 4381 | fi
|
---|
| 4382 | done
|
---|
| 4383 | done
|
---|
| 4384 | ;;
|
---|
| 4385 | esac
|
---|
[25149] | 4386 |
|
---|
[26565] | 4387 | done
|
---|
[25149] | 4388 | IFS=$as_save_IFS
|
---|
[16566] | 4389 |
|
---|
[25149] | 4390 | rm -rf conftest.one conftest.two conftest.dir
|
---|
[16566] | 4391 |
|
---|
| 4392 | fi
|
---|
| 4393 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 4394 | INSTALL=$ac_cv_path_install
|
---|
| 4395 | else
|
---|
[25149] | 4396 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 4397 | # value for INSTALL within a source directory, because that will
|
---|
[16566] | 4398 | # break other packages using the cache if that directory is
|
---|
[25149] | 4399 | # removed, or if the value is a relative name.
|
---|
[16566] | 4400 | INSTALL=$ac_install_sh
|
---|
| 4401 | fi
|
---|
| 4402 | fi
|
---|
[26565] | 4403 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
---|
[25149] | 4404 | $as_echo "$INSTALL" >&6; }
|
---|
[16566] | 4405 |
|
---|
| 4406 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 4407 | # It thinks the first close brace ends the variable substitution.
|
---|
| 4408 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 4409 |
|
---|
| 4410 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 4411 |
|
---|
| 4412 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 4413 |
|
---|
[26565] | 4414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
---|
[25149] | 4415 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[16566] | 4416 | LN_S=$as_ln_s
|
---|
| 4417 | if test "$LN_S" = "ln -s"; then
|
---|
[26565] | 4418 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4419 | $as_echo "yes" >&6; }
|
---|
[16566] | 4420 | else
|
---|
[26565] | 4421 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
---|
[25149] | 4422 | $as_echo "no, using $LN_S" >&6; }
|
---|
[16566] | 4423 | fi
|
---|
| 4424 |
|
---|
[26565] | 4425 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
[25149] | 4426 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 4427 | set x ${MAKE-make}
|
---|
| 4428 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
[26565] | 4429 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
---|
[25149] | 4430 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4431 | else
|
---|
| 4432 | cat >conftest.make <<\_ACEOF
|
---|
[25149] | 4433 | SHELL = /bin/sh
|
---|
[16566] | 4434 | all:
|
---|
[25149] | 4435 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[16566] | 4436 | _ACEOF
|
---|
[26565] | 4437 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
---|
[25149] | 4438 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 4439 | *@@@%%%=?*=@@@%%%*)
|
---|
| 4440 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 4441 | *)
|
---|
| 4442 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 4443 | esac
|
---|
[16566] | 4444 | rm -f conftest.make
|
---|
| 4445 | fi
|
---|
[25149] | 4446 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
[26565] | 4447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4448 | $as_echo "yes" >&6; }
|
---|
[16566] | 4449 | SET_MAKE=
|
---|
| 4450 | else
|
---|
[26565] | 4451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4452 | $as_echo "no" >&6; }
|
---|
[16566] | 4453 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 4454 | fi
|
---|
| 4455 |
|
---|
| 4456 | if test -n "$ac_tool_prefix"; then
|
---|
| 4457 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 4458 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[26565] | 4459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4460 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4461 | if ${ac_cv_prog_RANLIB+:} false; then :
|
---|
[25149] | 4462 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4463 | else
|
---|
| 4464 | if test -n "$RANLIB"; then
|
---|
| 4465 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 4466 | else
|
---|
| 4467 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4468 | for as_dir in $PATH
|
---|
| 4469 | do
|
---|
| 4470 | IFS=$as_save_IFS
|
---|
| 4471 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4472 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4473 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4474 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[26565] | 4475 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4476 | break 2
|
---|
| 4477 | fi
|
---|
| 4478 | done
|
---|
[26565] | 4479 | done
|
---|
[25149] | 4480 | IFS=$as_save_IFS
|
---|
[16566] | 4481 |
|
---|
| 4482 | fi
|
---|
| 4483 | fi
|
---|
| 4484 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 4485 | if test -n "$RANLIB"; then
|
---|
[26565] | 4486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
---|
[25149] | 4487 | $as_echo "$RANLIB" >&6; }
|
---|
[16566] | 4488 | else
|
---|
[26565] | 4489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4490 | $as_echo "no" >&6; }
|
---|
[16566] | 4491 | fi
|
---|
| 4492 |
|
---|
[25149] | 4493 |
|
---|
[16566] | 4494 | fi
|
---|
| 4495 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 4496 | ac_ct_RANLIB=$RANLIB
|
---|
| 4497 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 4498 | set dummy ranlib; ac_word=$2
|
---|
[26565] | 4499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
---|
[25149] | 4500 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[26565] | 4501 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
---|
[25149] | 4502 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4503 | else
|
---|
| 4504 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 4505 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 4506 | else
|
---|
| 4507 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4508 | for as_dir in $PATH
|
---|
| 4509 | do
|
---|
| 4510 | IFS=$as_save_IFS
|
---|
| 4511 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4512 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25149] | 4513 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16566] | 4514 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[26565] | 4515 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16566] | 4516 | break 2
|
---|
| 4517 | fi
|
---|
| 4518 | done
|
---|
[26565] | 4519 | done
|
---|
[25149] | 4520 | IFS=$as_save_IFS
|
---|
[16566] | 4521 |
|
---|
| 4522 | fi
|
---|
| 4523 | fi
|
---|
| 4524 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 4525 | if test -n "$ac_ct_RANLIB"; then
|
---|
[26565] | 4526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
---|
[25149] | 4527 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
[16566] | 4528 | else
|
---|
[26565] | 4529 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4530 | $as_echo "no" >&6; }
|
---|
[16566] | 4531 | fi
|
---|
| 4532 |
|
---|
[25149] | 4533 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 4534 | RANLIB=":"
|
---|
| 4535 | else
|
---|
| 4536 | case $cross_compiling:$ac_tool_warned in
|
---|
| 4537 | yes:)
|
---|
[26565] | 4538 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[25149] | 4539 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 4540 | ac_tool_warned=yes ;;
|
---|
| 4541 | esac
|
---|
| 4542 | RANLIB=$ac_ct_RANLIB
|
---|
| 4543 | fi
|
---|
[16566] | 4544 | else
|
---|
| 4545 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 4546 | fi
|
---|
| 4547 |
|
---|
| 4548 |
|
---|
[26565] | 4549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
|
---|
[25149] | 4550 | $as_echo_n "checking to see if architecture is 64-bit... " >&6; }
|
---|
[16566] | 4551 | arch_64bit=no
|
---|
| 4552 | case "$host_cpu" in
|
---|
| 4553 | x86_64) arch_64bit=yes ;;
|
---|
| 4554 | esac
|
---|
| 4555 |
|
---|
| 4556 | if test "$arch_64bit" = yes; then
|
---|
[26565] | 4557 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 4558 | $as_echo "yes" >&6; }
|
---|
| 4559 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 4560 | ARCH_DEP_FLAGS="-fPIC"
|
---|
[24901] | 4561 | gsdlarch='64'
|
---|
[16566] | 4562 | fi
|
---|
| 4563 | else
|
---|
[26565] | 4564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 4565 | $as_echo "no" >&6; }
|
---|
| 4566 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 4567 | ARCH_DEP_FLAGS=
|
---|
[24901] | 4568 | gsdlarch='32'
|
---|
[16566] | 4569 | fi
|
---|
| 4570 | fi
|
---|
[21432] | 4571 |
|
---|
[25149] | 4572 | export ARCH_DEP_FLAGS
|
---|
[21432] | 4573 |
|
---|
[16566] | 4574 |
|
---|
| 4575 |
|
---|
| 4576 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 4577 | if test $USE_CORBA = 1; then
|
---|
| 4578 |
|
---|
| 4579 | if test $MICO_DIR = "default"; then
|
---|
| 4580 | #do something
|
---|
| 4581 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 4582 | else
|
---|
| 4583 | #build the micotest program
|
---|
| 4584 | MICO_INC= ""
|
---|
| 4585 | if test $MICO_DIR != yes; then
|
---|
| 4586 | MICO_INC="-I $MICO_DIR"
|
---|
| 4587 | fi
|
---|
| 4588 | fi
|
---|
| 4589 |
|
---|
| 4590 | #get MICO_VER value
|
---|
| 4591 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 4592 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
| 4593 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
| 4594 | sh -c "rm micotest"
|
---|
| 4595 | sh -c "rm micotest.o"
|
---|
| 4596 |
|
---|
| 4597 | #do test of MICO_VER
|
---|
| 4598 | if test MICO_VER != 0; then
|
---|
[26565] | 4599 | $as_echo "#define MICO_VER 1" >>confdefs.h
|
---|
[16566] | 4600 |
|
---|
| 4601 |
|
---|
| 4602 | fi
|
---|
| 4603 | #end USE_CORBA test
|
---|
| 4604 | fi
|
---|
| 4605 |
|
---|
| 4606 |
|
---|
| 4607 | ac_ext=c
|
---|
| 4608 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4609 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4610 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4611 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[26565] | 4612 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
---|
[25149] | 4613 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[16566] | 4614 | # On Suns, sometimes $CPP names a directory.
|
---|
| 4615 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 4616 | CPP=
|
---|
| 4617 | fi
|
---|
| 4618 | if test -z "$CPP"; then
|
---|
[26565] | 4619 | if ${ac_cv_prog_CPP+:} false; then :
|
---|
[25149] | 4620 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4621 | else
|
---|
| 4622 | # Double quotes because CPP needs to be expanded
|
---|
| 4623 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 4624 | do
|
---|
| 4625 | ac_preproc_ok=false
|
---|
| 4626 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4627 | do
|
---|
| 4628 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4629 | # with a fresh cross-compiler works.
|
---|
| 4630 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4631 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4632 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4633 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[26565] | 4634 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4635 | /* end confdefs.h. */
|
---|
| 4636 | #ifdef __STDC__
|
---|
| 4637 | # include <limits.h>
|
---|
| 4638 | #else
|
---|
| 4639 | # include <assert.h>
|
---|
| 4640 | #endif
|
---|
| 4641 | Syntax error
|
---|
| 4642 | _ACEOF
|
---|
[26565] | 4643 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4644 |
|
---|
[24874] | 4645 | else
|
---|
[16566] | 4646 | # Broken: fails on valid input.
|
---|
| 4647 | continue
|
---|
| 4648 | fi
|
---|
[26565] | 4649 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4650 |
|
---|
| 4651 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16566] | 4652 | # can be detected and how.
|
---|
[26565] | 4653 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4654 | /* end confdefs.h. */
|
---|
| 4655 | #include <ac_nonexistent.h>
|
---|
| 4656 | _ACEOF
|
---|
[26565] | 4657 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16566] | 4658 | # Broken: success on invalid input.
|
---|
| 4659 | continue
|
---|
| 4660 | else
|
---|
| 4661 | # Passes both tests.
|
---|
| 4662 | ac_preproc_ok=:
|
---|
| 4663 | break
|
---|
| 4664 | fi
|
---|
[26565] | 4665 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4666 |
|
---|
[16566] | 4667 | done
|
---|
| 4668 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[26565] | 4669 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4670 | if $ac_preproc_ok; then :
|
---|
[16566] | 4671 | break
|
---|
| 4672 | fi
|
---|
| 4673 |
|
---|
| 4674 | done
|
---|
| 4675 | ac_cv_prog_CPP=$CPP
|
---|
| 4676 |
|
---|
| 4677 | fi
|
---|
| 4678 | CPP=$ac_cv_prog_CPP
|
---|
| 4679 | else
|
---|
| 4680 | ac_cv_prog_CPP=$CPP
|
---|
| 4681 | fi
|
---|
[26565] | 4682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
---|
[25149] | 4683 | $as_echo "$CPP" >&6; }
|
---|
[16566] | 4684 | ac_preproc_ok=false
|
---|
| 4685 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4686 | do
|
---|
| 4687 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4688 | # with a fresh cross-compiler works.
|
---|
| 4689 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4690 | # <limits.h> exists even on freestanding compilers.
|
---|
| 4691 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4692 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[26565] | 4693 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4694 | /* end confdefs.h. */
|
---|
| 4695 | #ifdef __STDC__
|
---|
| 4696 | # include <limits.h>
|
---|
| 4697 | #else
|
---|
| 4698 | # include <assert.h>
|
---|
| 4699 | #endif
|
---|
| 4700 | Syntax error
|
---|
| 4701 | _ACEOF
|
---|
[26565] | 4702 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
| 4703 |
|
---|
[24874] | 4704 | else
|
---|
[16566] | 4705 | # Broken: fails on valid input.
|
---|
| 4706 | continue
|
---|
| 4707 | fi
|
---|
[26565] | 4708 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4709 |
|
---|
| 4710 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16566] | 4711 | # can be detected and how.
|
---|
[26565] | 4712 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4713 | /* end confdefs.h. */
|
---|
| 4714 | #include <ac_nonexistent.h>
|
---|
| 4715 | _ACEOF
|
---|
[26565] | 4716 | if ac_fn_c_try_cpp "$LINENO"; then :
|
---|
[16566] | 4717 | # Broken: success on invalid input.
|
---|
| 4718 | continue
|
---|
| 4719 | else
|
---|
| 4720 | # Passes both tests.
|
---|
| 4721 | ac_preproc_ok=:
|
---|
| 4722 | break
|
---|
| 4723 | fi
|
---|
[26565] | 4724 | rm -f conftest.err conftest.i conftest.$ac_ext
|
---|
[25149] | 4725 |
|
---|
[16566] | 4726 | done
|
---|
| 4727 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[26565] | 4728 | rm -f conftest.i conftest.err conftest.$ac_ext
|
---|
| 4729 | if $ac_preproc_ok; then :
|
---|
| 4730 |
|
---|
[16566] | 4731 | else
|
---|
[26565] | 4732 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
---|
[25149] | 4733 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[26565] | 4734 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
---|
| 4735 | See \`config.log' for more details" "$LINENO" 5; }
|
---|
[16566] | 4736 | fi
|
---|
| 4737 |
|
---|
| 4738 | ac_ext=c
|
---|
| 4739 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4740 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4741 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4742 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4743 |
|
---|
| 4744 |
|
---|
[26565] | 4745 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
---|
[25149] | 4746 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
[26565] | 4747 | if ${ac_cv_path_GREP+:} false; then :
|
---|
[25149] | 4748 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4749 | else
|
---|
[25149] | 4750 | if test -z "$GREP"; then
|
---|
| 4751 | ac_path_GREP_found=false
|
---|
| 4752 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4754 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4755 | do
|
---|
| 4756 | IFS=$as_save_IFS
|
---|
| 4757 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4758 | for ac_prog in grep ggrep; do
|
---|
[25149] | 4759 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4760 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4761 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4762 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 4763 | # Check for GNU $ac_path_GREP
|
---|
| 4764 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4765 | *GNU*)
|
---|
| 4766 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4767 | *)
|
---|
| 4768 | ac_count=0
|
---|
| 4769 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4770 | while :
|
---|
| 4771 | do
|
---|
| 4772 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4773 | mv "conftest.tmp" "conftest.in"
|
---|
| 4774 | cp "conftest.in" "conftest.nl"
|
---|
| 4775 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 4776 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4777 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[26565] | 4778 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
[25149] | 4779 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4780 | # Best one so far, save it but keep looking for a better one
|
---|
| 4781 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4782 | ac_path_GREP_max=$ac_count
|
---|
[16566] | 4783 | fi
|
---|
[25149] | 4784 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4785 | test $ac_count -gt 10 && break
|
---|
| 4786 | done
|
---|
| 4787 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4788 | esac
|
---|
[16566] | 4789 |
|
---|
[25149] | 4790 | $ac_path_GREP_found && break 3
|
---|
| 4791 | done
|
---|
| 4792 | done
|
---|
[26565] | 4793 | done
|
---|
[25149] | 4794 | IFS=$as_save_IFS
|
---|
| 4795 | if test -z "$ac_cv_path_GREP"; then
|
---|
[26565] | 4796 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[25149] | 4797 | fi
|
---|
[16566] | 4798 | else
|
---|
[25149] | 4799 | ac_cv_path_GREP=$GREP
|
---|
[16566] | 4800 | fi
|
---|
| 4801 |
|
---|
[25149] | 4802 | fi
|
---|
[26565] | 4803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
---|
[25149] | 4804 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 4805 | GREP="$ac_cv_path_GREP"
|
---|
[16566] | 4806 |
|
---|
| 4807 |
|
---|
[26565] | 4808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
---|
[25149] | 4809 | $as_echo_n "checking for egrep... " >&6; }
|
---|
[26565] | 4810 | if ${ac_cv_path_EGREP+:} false; then :
|
---|
[25149] | 4811 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4812 | else
|
---|
[25149] | 4813 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4814 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4815 | else
|
---|
| 4816 | if test -z "$EGREP"; then
|
---|
| 4817 | ac_path_EGREP_found=false
|
---|
| 4818 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4819 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4820 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4821 | do
|
---|
| 4822 | IFS=$as_save_IFS
|
---|
| 4823 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 4824 | for ac_prog in egrep; do
|
---|
[25149] | 4825 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4826 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4827 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4828 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4829 | # Check for GNU $ac_path_EGREP
|
---|
| 4830 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4831 | *GNU*)
|
---|
| 4832 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4833 | *)
|
---|
| 4834 | ac_count=0
|
---|
| 4835 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4836 | while :
|
---|
| 4837 | do
|
---|
| 4838 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4839 | mv "conftest.tmp" "conftest.in"
|
---|
| 4840 | cp "conftest.in" "conftest.nl"
|
---|
| 4841 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 4842 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4843 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[26565] | 4844 | as_fn_arith $ac_count + 1 && ac_count=$as_val
|
---|
[25149] | 4845 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4846 | # Best one so far, save it but keep looking for a better one
|
---|
| 4847 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4848 | ac_path_EGREP_max=$ac_count
|
---|
| 4849 | fi
|
---|
| 4850 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4851 | test $ac_count -gt 10 && break
|
---|
| 4852 | done
|
---|
| 4853 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4854 | esac
|
---|
[16566] | 4855 |
|
---|
[25149] | 4856 | $ac_path_EGREP_found && break 3
|
---|
| 4857 | done
|
---|
| 4858 | done
|
---|
[26565] | 4859 | done
|
---|
[25149] | 4860 | IFS=$as_save_IFS
|
---|
| 4861 | if test -z "$ac_cv_path_EGREP"; then
|
---|
[26565] | 4862 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
---|
[25149] | 4863 | fi
|
---|
[16566] | 4864 | else
|
---|
[25149] | 4865 | ac_cv_path_EGREP=$EGREP
|
---|
[16566] | 4866 | fi
|
---|
| 4867 |
|
---|
[25149] | 4868 | fi
|
---|
[16566] | 4869 | fi
|
---|
[26565] | 4870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
---|
[25149] | 4871 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 4872 | EGREP="$ac_cv_path_EGREP"
|
---|
[16566] | 4873 |
|
---|
[25149] | 4874 |
|
---|
[26565] | 4875 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
[25149] | 4876 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[26565] | 4877 | if ${ac_cv_header_stdc+:} false; then :
|
---|
[25149] | 4878 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 4879 | else
|
---|
[26565] | 4880 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4881 | /* end confdefs.h. */
|
---|
| 4882 | #include <stdlib.h>
|
---|
| 4883 | #include <stdarg.h>
|
---|
| 4884 | #include <string.h>
|
---|
| 4885 | #include <float.h>
|
---|
| 4886 |
|
---|
| 4887 | int
|
---|
| 4888 | main ()
|
---|
| 4889 | {
|
---|
| 4890 |
|
---|
| 4891 | ;
|
---|
| 4892 | return 0;
|
---|
| 4893 | }
|
---|
| 4894 | _ACEOF
|
---|
[26565] | 4895 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 4896 | ac_cv_header_stdc=yes
|
---|
| 4897 | else
|
---|
[26565] | 4898 | ac_cv_header_stdc=no
|
---|
[16566] | 4899 | fi
|
---|
[25149] | 4900 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4901 |
|
---|
[16566] | 4902 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4903 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[26565] | 4904 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4905 | /* end confdefs.h. */
|
---|
| 4906 | #include <string.h>
|
---|
| 4907 |
|
---|
| 4908 | _ACEOF
|
---|
| 4909 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 4910 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 4911 |
|
---|
[16566] | 4912 | else
|
---|
| 4913 | ac_cv_header_stdc=no
|
---|
| 4914 | fi
|
---|
| 4915 | rm -f conftest*
|
---|
| 4916 |
|
---|
| 4917 | fi
|
---|
| 4918 |
|
---|
| 4919 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4920 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[26565] | 4921 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4922 | /* end confdefs.h. */
|
---|
| 4923 | #include <stdlib.h>
|
---|
| 4924 |
|
---|
| 4925 | _ACEOF
|
---|
| 4926 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 4927 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 4928 |
|
---|
[16566] | 4929 | else
|
---|
| 4930 | ac_cv_header_stdc=no
|
---|
| 4931 | fi
|
---|
| 4932 | rm -f conftest*
|
---|
| 4933 |
|
---|
| 4934 | fi
|
---|
| 4935 |
|
---|
| 4936 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4937 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[26565] | 4938 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 4939 | :
|
---|
| 4940 | else
|
---|
[26565] | 4941 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 4942 | /* end confdefs.h. */
|
---|
| 4943 | #include <ctype.h>
|
---|
[25149] | 4944 | #include <stdlib.h>
|
---|
[16566] | 4945 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4946 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4947 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4948 | #else
|
---|
| 4949 | # define ISLOWER(c) \
|
---|
| 4950 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4951 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4952 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4953 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4954 | #endif
|
---|
| 4955 |
|
---|
| 4956 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4957 | int
|
---|
| 4958 | main ()
|
---|
| 4959 | {
|
---|
| 4960 | int i;
|
---|
| 4961 | for (i = 0; i < 256; i++)
|
---|
| 4962 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4963 | || toupper (i) != TOUPPER (i))
|
---|
[25149] | 4964 | return 2;
|
---|
| 4965 | return 0;
|
---|
[16566] | 4966 | }
|
---|
| 4967 | _ACEOF
|
---|
[26565] | 4968 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 4969 |
|
---|
[24874] | 4970 | else
|
---|
[26565] | 4971 | ac_cv_header_stdc=no
|
---|
[16566] | 4972 | fi
|
---|
[26565] | 4973 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 4974 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 4975 | fi
|
---|
[25149] | 4976 |
|
---|
[16566] | 4977 | fi
|
---|
| 4978 | fi
|
---|
[26565] | 4979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
[25149] | 4980 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16566] | 4981 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4982 |
|
---|
[26565] | 4983 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16566] | 4984 |
|
---|
| 4985 | fi
|
---|
| 4986 |
|
---|
| 4987 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
[24874] | 4988 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4989 | inttypes.h stdint.h unistd.h
|
---|
[26565] | 4990 | do :
|
---|
| 4991 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4992 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
---|
| 4993 | "
|
---|
| 4994 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[24874] | 4995 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 4996 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[24874] | 4997 | _ACEOF
|
---|
[23356] | 4998 |
|
---|
[24874] | 4999 | fi
|
---|
[23356] | 5000 |
|
---|
[24874] | 5001 | done
|
---|
[23356] | 5002 |
|
---|
| 5003 |
|
---|
[25149] | 5004 |
|
---|
[26565] | 5005 | ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
---|
| 5006 | if test "x$ac_cv_header_minix_config_h" = xyes; then :
|
---|
[25149] | 5007 | MINIX=yes
|
---|
| 5008 | else
|
---|
| 5009 | MINIX=
|
---|
| 5010 | fi
|
---|
| 5011 |
|
---|
| 5012 |
|
---|
| 5013 | if test "$MINIX" = yes; then
|
---|
| 5014 |
|
---|
[26565] | 5015 | $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5016 |
|
---|
| 5017 |
|
---|
[26565] | 5018 | $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
---|
[25149] | 5019 |
|
---|
| 5020 |
|
---|
[26565] | 5021 | $as_echo "#define _MINIX 1" >>confdefs.h
|
---|
[25149] | 5022 |
|
---|
| 5023 | fi
|
---|
| 5024 |
|
---|
| 5025 |
|
---|
[26565] | 5026 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
[25149] | 5027 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
[26565] | 5028 | if ${ac_cv_safe_to_define___extensions__+:} false; then :
|
---|
[25149] | 5029 | $as_echo_n "(cached) " >&6
|
---|
| 5030 | else
|
---|
[26565] | 5031 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 5032 | /* end confdefs.h. */
|
---|
| 5033 |
|
---|
| 5034 | # define __EXTENSIONS__ 1
|
---|
| 5035 | $ac_includes_default
|
---|
| 5036 | int
|
---|
| 5037 | main ()
|
---|
| 5038 | {
|
---|
| 5039 |
|
---|
| 5040 | ;
|
---|
| 5041 | return 0;
|
---|
| 5042 | }
|
---|
| 5043 | _ACEOF
|
---|
[26565] | 5044 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 5045 | ac_cv_safe_to_define___extensions__=yes
|
---|
| 5046 | else
|
---|
[26565] | 5047 | ac_cv_safe_to_define___extensions__=no
|
---|
[25149] | 5048 | fi
|
---|
| 5049 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5050 | fi
|
---|
[26565] | 5051 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
[25149] | 5052 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 5053 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
[26565] | 5054 | $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
---|
[25149] | 5055 |
|
---|
[26565] | 5056 | $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5057 |
|
---|
[26565] | 5058 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5059 |
|
---|
[26565] | 5060 | $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
---|
[25149] | 5061 |
|
---|
[26565] | 5062 | $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
---|
[25149] | 5063 |
|
---|
| 5064 |
|
---|
[26565] | 5065 |
|
---|
| 5066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
|
---|
[25149] | 5067 | $as_echo_n "checking for library containing strerror... " >&6; }
|
---|
[26565] | 5068 | if ${ac_cv_search_strerror+:} false; then :
|
---|
[25149] | 5069 | $as_echo_n "(cached) " >&6
|
---|
| 5070 | else
|
---|
| 5071 | ac_func_search_save_LIBS=$LIBS
|
---|
[26565] | 5072 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 5073 | /* end confdefs.h. */
|
---|
| 5074 |
|
---|
| 5075 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5076 | Use char because int might match the return type of a GCC
|
---|
| 5077 | builtin and then its argument prototype would still apply. */
|
---|
| 5078 | #ifdef __cplusplus
|
---|
| 5079 | extern "C"
|
---|
| 5080 | #endif
|
---|
| 5081 | char strerror ();
|
---|
| 5082 | int
|
---|
| 5083 | main ()
|
---|
| 5084 | {
|
---|
| 5085 | return strerror ();
|
---|
| 5086 | ;
|
---|
| 5087 | return 0;
|
---|
| 5088 | }
|
---|
| 5089 | _ACEOF
|
---|
| 5090 | for ac_lib in '' cposix; do
|
---|
| 5091 | if test -z "$ac_lib"; then
|
---|
| 5092 | ac_res="none required"
|
---|
[24874] | 5093 | else
|
---|
[25149] | 5094 | ac_res=-l$ac_lib
|
---|
| 5095 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
[24874] | 5096 | fi
|
---|
[26565] | 5097 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5098 | ac_cv_search_strerror=$ac_res
|
---|
[16566] | 5099 | fi
|
---|
[26565] | 5100 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5101 | conftest$ac_exeext
|
---|
| 5102 | if ${ac_cv_search_strerror+:} false; then :
|
---|
[25149] | 5103 | break
|
---|
| 5104 | fi
|
---|
| 5105 | done
|
---|
[26565] | 5106 | if ${ac_cv_search_strerror+:} false; then :
|
---|
| 5107 |
|
---|
[25149] | 5108 | else
|
---|
| 5109 | ac_cv_search_strerror=no
|
---|
| 5110 | fi
|
---|
| 5111 | rm conftest.$ac_ext
|
---|
| 5112 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5113 | fi
|
---|
[26565] | 5114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
|
---|
[25149] | 5115 | $as_echo "$ac_cv_search_strerror" >&6; }
|
---|
| 5116 | ac_res=$ac_cv_search_strerror
|
---|
[26565] | 5117 | if test "$ac_res" != no; then :
|
---|
[25149] | 5118 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
| 5119 |
|
---|
| 5120 | fi
|
---|
| 5121 |
|
---|
| 5122 |
|
---|
[26565] | 5123 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
[25149] | 5124 | $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
|
---|
[26565] | 5125 | if ${ac_cv_prog_cc_stdc+:} false; then :
|
---|
[25149] | 5126 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5127 | else
|
---|
| 5128 | ac_cv_prog_cc_stdc=no
|
---|
| 5129 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 5130 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 5131 | # breaks some systems' header files.
|
---|
| 5132 | # AIX -qlanglvl=ansi
|
---|
| 5133 | # Ultrix and OSF/1 -std1
|
---|
| 5134 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 5135 | # SVR4 -Xc
|
---|
| 5136 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 5137 | do
|
---|
| 5138 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[26565] | 5139 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5140 | /* end confdefs.h. */
|
---|
| 5141 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 5142 | choke me
|
---|
| 5143 | #endif
|
---|
| 5144 |
|
---|
| 5145 | int
|
---|
| 5146 | main ()
|
---|
| 5147 | {
|
---|
| 5148 | int test (int i, double x);
|
---|
| 5149 | struct s1 {int (*f) (int a);};
|
---|
| 5150 | struct s2 {int (*f) (double a);};
|
---|
| 5151 | ;
|
---|
| 5152 | return 0;
|
---|
| 5153 | }
|
---|
| 5154 | _ACEOF
|
---|
[26565] | 5155 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5156 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 5157 | fi
|
---|
[25149] | 5158 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5159 | done
|
---|
| 5160 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 5161 |
|
---|
| 5162 | fi
|
---|
| 5163 |
|
---|
[26565] | 5164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
|
---|
[25149] | 5165 | $as_echo "$ac_cv_prog_cc_stdc" >&6; }
|
---|
[16566] | 5166 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 5167 | x|xno) ;;
|
---|
| 5168 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 5169 | esac
|
---|
| 5170 |
|
---|
| 5171 |
|
---|
[26565] | 5172 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
|
---|
[25149] | 5173 | $as_echo_n "checking for function prototypes... " >&6; }
|
---|
[16566] | 5174 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[26565] | 5175 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 5176 | $as_echo "yes" >&6; }
|
---|
[26565] | 5177 | $as_echo "#define PROTOTYPES 1" >>confdefs.h
|
---|
[16566] | 5178 |
|
---|
| 5179 | U= ANSI2KNR=
|
---|
| 5180 | else
|
---|
[26565] | 5181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 5182 | $as_echo "no" >&6; }
|
---|
[16566] | 5183 | U=_ ANSI2KNR=ansi2knr
|
---|
| 5184 | fi
|
---|
| 5185 |
|
---|
[26565] | 5186 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
---|
[25149] | 5187 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
[26565] | 5188 | if ${ac_cv_c_const+:} false; then :
|
---|
[25149] | 5189 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5190 | else
|
---|
[26565] | 5191 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5192 | /* end confdefs.h. */
|
---|
| 5193 |
|
---|
| 5194 | int
|
---|
| 5195 | main ()
|
---|
| 5196 | {
|
---|
| 5197 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 5198 | #ifndef __cplusplus
|
---|
| 5199 | /* Ultrix mips cc rejects this. */
|
---|
| 5200 | typedef int charset[2];
|
---|
[25149] | 5201 | const charset cs;
|
---|
[16566] | 5202 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[25149] | 5203 | char const *const *pcpcc;
|
---|
| 5204 | char **ppc;
|
---|
[16566] | 5205 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 5206 | struct point {int x, y;};
|
---|
| 5207 | static struct point const zero = {0,0};
|
---|
| 5208 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 5209 | It does not let you subtract one const X* pointer from another in
|
---|
| 5210 | an arm of an if-expression whose if-part is not a constant
|
---|
| 5211 | expression */
|
---|
| 5212 | const char *g = "string";
|
---|
[25149] | 5213 | pcpcc = &g + (g ? g-g : 0);
|
---|
[16566] | 5214 | /* HPUX 7.0 cc rejects these. */
|
---|
[25149] | 5215 | ++pcpcc;
|
---|
| 5216 | ppc = (char**) pcpcc;
|
---|
| 5217 | pcpcc = (char const *const *) ppc;
|
---|
[16566] | 5218 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 5219 | char *t;
|
---|
| 5220 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 5221 |
|
---|
| 5222 | *t++ = 0;
|
---|
[25149] | 5223 | if (s) return 0;
|
---|
[16566] | 5224 | }
|
---|
| 5225 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 5226 | int x[] = {25, 17};
|
---|
| 5227 | const int *foo = &x[0];
|
---|
| 5228 | ++foo;
|
---|
| 5229 | }
|
---|
| 5230 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 5231 | typedef const int *iptr;
|
---|
| 5232 | iptr p = 0;
|
---|
| 5233 | ++p;
|
---|
| 5234 | }
|
---|
| 5235 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 5236 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 5237 | struct s { int j; const int *ap[3]; };
|
---|
| 5238 | struct s *b; b->j = 5;
|
---|
| 5239 | }
|
---|
| 5240 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 5241 | const int foo = 10;
|
---|
[25149] | 5242 | if (!foo) return 0;
|
---|
[16566] | 5243 | }
|
---|
[25149] | 5244 | return !cs[0] && !zero.x;
|
---|
[16566] | 5245 | #endif
|
---|
| 5246 |
|
---|
| 5247 | ;
|
---|
| 5248 | return 0;
|
---|
| 5249 | }
|
---|
| 5250 | _ACEOF
|
---|
[26565] | 5251 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5252 | ac_cv_c_const=yes
|
---|
| 5253 | else
|
---|
[26565] | 5254 | ac_cv_c_const=no
|
---|
[16566] | 5255 | fi
|
---|
[25149] | 5256 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5257 | fi
|
---|
[26565] | 5258 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
---|
[25149] | 5259 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
[16566] | 5260 | if test $ac_cv_c_const = no; then
|
---|
| 5261 |
|
---|
[26565] | 5262 | $as_echo "#define const /**/" >>confdefs.h
|
---|
[16566] | 5263 |
|
---|
| 5264 | fi
|
---|
| 5265 |
|
---|
[26565] | 5266 | ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
---|
| 5267 | if test "x$ac_cv_type_off_t" = xyes; then :
|
---|
[16566] | 5268 |
|
---|
[25149] | 5269 | else
|
---|
| 5270 |
|
---|
[16566] | 5271 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5272 | #define off_t long int
|
---|
[16566] | 5273 | _ACEOF
|
---|
| 5274 |
|
---|
| 5275 | fi
|
---|
| 5276 |
|
---|
[26565] | 5277 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
---|
| 5278 | if test "x$ac_cv_type_size_t" = xyes; then :
|
---|
[16566] | 5279 |
|
---|
[25149] | 5280 | else
|
---|
| 5281 |
|
---|
[16566] | 5282 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5283 | #define size_t unsigned int
|
---|
[16566] | 5284 | _ACEOF
|
---|
| 5285 |
|
---|
| 5286 | fi
|
---|
| 5287 |
|
---|
[26565] | 5288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
|
---|
[25149] | 5289 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
---|
[26565] | 5290 | if ${ac_cv_header_time+:} false; then :
|
---|
[25149] | 5291 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5292 | else
|
---|
[26565] | 5293 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5294 | /* end confdefs.h. */
|
---|
| 5295 | #include <sys/types.h>
|
---|
| 5296 | #include <sys/time.h>
|
---|
| 5297 | #include <time.h>
|
---|
| 5298 |
|
---|
| 5299 | int
|
---|
| 5300 | main ()
|
---|
| 5301 | {
|
---|
| 5302 | if ((struct tm *) 0)
|
---|
| 5303 | return 0;
|
---|
| 5304 | ;
|
---|
| 5305 | return 0;
|
---|
| 5306 | }
|
---|
| 5307 | _ACEOF
|
---|
[26565] | 5308 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5309 | ac_cv_header_time=yes
|
---|
| 5310 | else
|
---|
[26565] | 5311 | ac_cv_header_time=no
|
---|
[16566] | 5312 | fi
|
---|
[25149] | 5313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5314 | fi
|
---|
[26565] | 5315 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
|
---|
[25149] | 5316 | $as_echo "$ac_cv_header_time" >&6; }
|
---|
[16566] | 5317 | if test $ac_cv_header_time = yes; then
|
---|
| 5318 |
|
---|
[26565] | 5319 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
|
---|
[16566] | 5320 |
|
---|
| 5321 | fi
|
---|
| 5322 |
|
---|
[26565] | 5323 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
[25149] | 5324 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
---|
[26565] | 5325 | if ${ac_cv_struct_tm+:} false; then :
|
---|
[25149] | 5326 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5327 | else
|
---|
[26565] | 5328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5329 | /* end confdefs.h. */
|
---|
| 5330 | #include <sys/types.h>
|
---|
| 5331 | #include <time.h>
|
---|
| 5332 |
|
---|
| 5333 | int
|
---|
| 5334 | main ()
|
---|
| 5335 | {
|
---|
[25149] | 5336 | struct tm tm;
|
---|
| 5337 | int *p = &tm.tm_sec;
|
---|
| 5338 | return !p;
|
---|
[16566] | 5339 | ;
|
---|
| 5340 | return 0;
|
---|
| 5341 | }
|
---|
| 5342 | _ACEOF
|
---|
[26565] | 5343 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5344 | ac_cv_struct_tm=time.h
|
---|
| 5345 | else
|
---|
[26565] | 5346 | ac_cv_struct_tm=sys/time.h
|
---|
[16566] | 5347 | fi
|
---|
[25149] | 5348 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5349 | fi
|
---|
[26565] | 5350 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
|
---|
[25149] | 5351 | $as_echo "$ac_cv_struct_tm" >&6; }
|
---|
[16566] | 5352 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5353 |
|
---|
[26565] | 5354 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
|
---|
[16566] | 5355 |
|
---|
| 5356 | fi
|
---|
| 5357 |
|
---|
| 5358 |
|
---|
| 5359 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[26565] | 5360 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5361 | /* end confdefs.h. */
|
---|
| 5362 | #include <stdio.h>
|
---|
| 5363 |
|
---|
| 5364 | int
|
---|
| 5365 | main ()
|
---|
| 5366 | {
|
---|
| 5367 | FILE *rubbish = popen("yes", "r");
|
---|
| 5368 | ;
|
---|
| 5369 | return 0;
|
---|
| 5370 | }
|
---|
| 5371 | _ACEOF
|
---|
[26565] | 5372 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
| 5373 |
|
---|
[24874] | 5374 | else
|
---|
[26565] | 5375 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[16566] | 5376 | fi
|
---|
[25149] | 5377 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5378 | fi
|
---|
| 5379 |
|
---|
| 5380 |
|
---|
[26565] | 5381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
|
---|
[25149] | 5382 | $as_echo_n "checking for main in -lg... " >&6; }
|
---|
[26565] | 5383 | if ${ac_cv_lib_g_main+:} false; then :
|
---|
[25149] | 5384 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5385 | else
|
---|
| 5386 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5387 | LIBS="-lg $LIBS"
|
---|
[26565] | 5388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5389 | /* end confdefs.h. */
|
---|
| 5390 |
|
---|
| 5391 |
|
---|
| 5392 | int
|
---|
| 5393 | main ()
|
---|
| 5394 | {
|
---|
[25149] | 5395 | return main ();
|
---|
[16566] | 5396 | ;
|
---|
| 5397 | return 0;
|
---|
| 5398 | }
|
---|
| 5399 | _ACEOF
|
---|
[26565] | 5400 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5401 | ac_cv_lib_g_main=yes
|
---|
| 5402 | else
|
---|
[26565] | 5403 | ac_cv_lib_g_main=no
|
---|
[16566] | 5404 | fi
|
---|
[26565] | 5405 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5406 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5407 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5408 | fi
|
---|
[26565] | 5409 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
|
---|
[25149] | 5410 | $as_echo "$ac_cv_lib_g_main" >&6; }
|
---|
[26565] | 5411 | if test "x$ac_cv_lib_g_main" = xyes; then :
|
---|
[16566] | 5412 | cat >>confdefs.h <<_ACEOF
|
---|
| 5413 | #define HAVE_LIBG 1
|
---|
| 5414 | _ACEOF
|
---|
| 5415 |
|
---|
| 5416 | LIBS="-lg $LIBS"
|
---|
| 5417 |
|
---|
| 5418 | fi
|
---|
| 5419 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
| 5420 |
|
---|
[26565] | 5421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
---|
[25149] | 5422 | $as_echo_n "checking for main in -lm... " >&6; }
|
---|
[26565] | 5423 | if ${ac_cv_lib_m_main+:} false; then :
|
---|
[25149] | 5424 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5425 | else
|
---|
| 5426 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5427 | LIBS="-lm $LIBS"
|
---|
[26565] | 5428 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5429 | /* end confdefs.h. */
|
---|
| 5430 |
|
---|
| 5431 |
|
---|
| 5432 | int
|
---|
| 5433 | main ()
|
---|
| 5434 | {
|
---|
[25149] | 5435 | return main ();
|
---|
[16566] | 5436 | ;
|
---|
| 5437 | return 0;
|
---|
| 5438 | }
|
---|
| 5439 | _ACEOF
|
---|
[26565] | 5440 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5441 | ac_cv_lib_m_main=yes
|
---|
| 5442 | else
|
---|
[26565] | 5443 | ac_cv_lib_m_main=no
|
---|
[16566] | 5444 | fi
|
---|
[26565] | 5445 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5446 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5447 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5448 | fi
|
---|
[26565] | 5449 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
---|
[25149] | 5450 | $as_echo "$ac_cv_lib_m_main" >&6; }
|
---|
[26565] | 5451 | if test "x$ac_cv_lib_m_main" = xyes; then :
|
---|
[16566] | 5452 | cat >>confdefs.h <<_ACEOF
|
---|
| 5453 | #define HAVE_LIBM 1
|
---|
| 5454 | _ACEOF
|
---|
| 5455 |
|
---|
| 5456 | LIBS="-lm $LIBS"
|
---|
| 5457 |
|
---|
| 5458 | fi
|
---|
| 5459 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
| 5460 |
|
---|
[26565] | 5461 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
|
---|
[25149] | 5462 | $as_echo_n "checking for main in -lcrypt... " >&6; }
|
---|
[26565] | 5463 | if ${ac_cv_lib_crypt_main+:} false; then :
|
---|
[25149] | 5464 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5465 | else
|
---|
| 5466 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5467 | LIBS="-lcrypt $LIBS"
|
---|
[26565] | 5468 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5469 | /* end confdefs.h. */
|
---|
| 5470 |
|
---|
| 5471 |
|
---|
| 5472 | int
|
---|
| 5473 | main ()
|
---|
| 5474 | {
|
---|
[25149] | 5475 | return main ();
|
---|
[16566] | 5476 | ;
|
---|
| 5477 | return 0;
|
---|
| 5478 | }
|
---|
| 5479 | _ACEOF
|
---|
[26565] | 5480 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5481 | ac_cv_lib_crypt_main=yes
|
---|
| 5482 | else
|
---|
[26565] | 5483 | ac_cv_lib_crypt_main=no
|
---|
[16566] | 5484 | fi
|
---|
[26565] | 5485 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5486 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5487 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5488 | fi
|
---|
[26565] | 5489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
|
---|
[25149] | 5490 | $as_echo "$ac_cv_lib_crypt_main" >&6; }
|
---|
[26565] | 5491 | if test "x$ac_cv_lib_crypt_main" = xyes; then :
|
---|
[16566] | 5492 | cat >>confdefs.h <<_ACEOF
|
---|
| 5493 | #define HAVE_LIBCRYPT 1
|
---|
| 5494 | _ACEOF
|
---|
| 5495 |
|
---|
| 5496 | LIBS="-lcrypt $LIBS"
|
---|
| 5497 |
|
---|
| 5498 | fi
|
---|
| 5499 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 5500 |
|
---|
[20846] | 5501 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 5502 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 5503 | #fi
|
---|
[16566] | 5504 |
|
---|
| 5505 | ac_header_dirent=no
|
---|
| 5506 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[25149] | 5507 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
[26565] | 5508 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
|
---|
[25149] | 5509 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
---|
[26565] | 5510 | if eval \${$as_ac_Header+:} false; then :
|
---|
[25149] | 5511 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5512 | else
|
---|
[26565] | 5513 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5514 | /* end confdefs.h. */
|
---|
| 5515 | #include <sys/types.h>
|
---|
| 5516 | #include <$ac_hdr>
|
---|
| 5517 |
|
---|
| 5518 | int
|
---|
| 5519 | main ()
|
---|
| 5520 | {
|
---|
| 5521 | if ((DIR *) 0)
|
---|
| 5522 | return 0;
|
---|
| 5523 | ;
|
---|
| 5524 | return 0;
|
---|
| 5525 | }
|
---|
| 5526 | _ACEOF
|
---|
[26565] | 5527 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5528 | eval "$as_ac_Header=yes"
|
---|
| 5529 | else
|
---|
[26565] | 5530 | eval "$as_ac_Header=no"
|
---|
[16566] | 5531 | fi
|
---|
[25149] | 5532 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 5533 | fi
|
---|
[26565] | 5534 | eval ac_res=\$$as_ac_Header
|
---|
| 5535 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
---|
[25149] | 5536 | $as_echo "$ac_res" >&6; }
|
---|
[26565] | 5537 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16566] | 5538 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5539 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[16566] | 5540 | _ACEOF
|
---|
| 5541 |
|
---|
| 5542 | ac_header_dirent=$ac_hdr; break
|
---|
| 5543 | fi
|
---|
| 5544 |
|
---|
| 5545 | done
|
---|
| 5546 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5547 | if test $ac_header_dirent = dirent.h; then
|
---|
[26565] | 5548 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
[25149] | 5549 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[26565] | 5550 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5551 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5552 | else
|
---|
| 5553 | ac_func_search_save_LIBS=$LIBS
|
---|
[26565] | 5554 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5555 | /* end confdefs.h. */
|
---|
| 5556 |
|
---|
[25149] | 5557 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5558 | Use char because int might match the return type of a GCC
|
---|
| 5559 | builtin and then its argument prototype would still apply. */
|
---|
[16566] | 5560 | #ifdef __cplusplus
|
---|
| 5561 | extern "C"
|
---|
| 5562 | #endif
|
---|
| 5563 | char opendir ();
|
---|
| 5564 | int
|
---|
| 5565 | main ()
|
---|
| 5566 | {
|
---|
[25149] | 5567 | return opendir ();
|
---|
[16566] | 5568 | ;
|
---|
| 5569 | return 0;
|
---|
| 5570 | }
|
---|
| 5571 | _ACEOF
|
---|
[25149] | 5572 | for ac_lib in '' dir; do
|
---|
| 5573 | if test -z "$ac_lib"; then
|
---|
| 5574 | ac_res="none required"
|
---|
| 5575 | else
|
---|
| 5576 | ac_res=-l$ac_lib
|
---|
| 5577 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5578 | fi
|
---|
[26565] | 5579 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5580 | ac_cv_search_opendir=$ac_res
|
---|
[24874] | 5581 | fi
|
---|
[26565] | 5582 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5583 | conftest$ac_exeext
|
---|
| 5584 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5585 | break
|
---|
| 5586 | fi
|
---|
| 5587 | done
|
---|
[26565] | 5588 | if ${ac_cv_search_opendir+:} false; then :
|
---|
| 5589 |
|
---|
[16566] | 5590 | else
|
---|
[25149] | 5591 | ac_cv_search_opendir=no
|
---|
[16566] | 5592 | fi
|
---|
[25149] | 5593 | rm conftest.$ac_ext
|
---|
[16566] | 5594 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5595 | fi
|
---|
[26565] | 5596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
[25149] | 5597 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5598 | ac_res=$ac_cv_search_opendir
|
---|
[26565] | 5599 | if test "$ac_res" != no; then :
|
---|
[25149] | 5600 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16566] | 5601 |
|
---|
| 5602 | fi
|
---|
| 5603 |
|
---|
| 5604 | else
|
---|
[26565] | 5605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
|
---|
[25149] | 5606 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[26565] | 5607 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5608 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5609 | else
|
---|
| 5610 | ac_func_search_save_LIBS=$LIBS
|
---|
[26565] | 5611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5612 | /* end confdefs.h. */
|
---|
| 5613 |
|
---|
[25149] | 5614 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5615 | Use char because int might match the return type of a GCC
|
---|
| 5616 | builtin and then its argument prototype would still apply. */
|
---|
[16566] | 5617 | #ifdef __cplusplus
|
---|
| 5618 | extern "C"
|
---|
| 5619 | #endif
|
---|
| 5620 | char opendir ();
|
---|
| 5621 | int
|
---|
| 5622 | main ()
|
---|
| 5623 | {
|
---|
[25149] | 5624 | return opendir ();
|
---|
[16566] | 5625 | ;
|
---|
| 5626 | return 0;
|
---|
| 5627 | }
|
---|
| 5628 | _ACEOF
|
---|
[25149] | 5629 | for ac_lib in '' x; do
|
---|
| 5630 | if test -z "$ac_lib"; then
|
---|
| 5631 | ac_res="none required"
|
---|
| 5632 | else
|
---|
| 5633 | ac_res=-l$ac_lib
|
---|
| 5634 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5635 | fi
|
---|
[26565] | 5636 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[25149] | 5637 | ac_cv_search_opendir=$ac_res
|
---|
[24874] | 5638 | fi
|
---|
[26565] | 5639 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5640 | conftest$ac_exeext
|
---|
| 5641 | if ${ac_cv_search_opendir+:} false; then :
|
---|
[25149] | 5642 | break
|
---|
| 5643 | fi
|
---|
| 5644 | done
|
---|
[26565] | 5645 | if ${ac_cv_search_opendir+:} false; then :
|
---|
| 5646 |
|
---|
[16566] | 5647 | else
|
---|
[25149] | 5648 | ac_cv_search_opendir=no
|
---|
[16566] | 5649 | fi
|
---|
[25149] | 5650 | rm conftest.$ac_ext
|
---|
[16566] | 5651 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5652 | fi
|
---|
[26565] | 5653 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
|
---|
[25149] | 5654 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 5655 | ac_res=$ac_cv_search_opendir
|
---|
[26565] | 5656 | if test "$ac_res" != no; then :
|
---|
[25149] | 5657 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16566] | 5658 |
|
---|
| 5659 | fi
|
---|
| 5660 |
|
---|
| 5661 | fi
|
---|
| 5662 |
|
---|
[26565] | 5663 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
---|
[25149] | 5664 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[26565] | 5665 | if ${ac_cv_header_stdc+:} false; then :
|
---|
[25149] | 5666 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5667 | else
|
---|
[26565] | 5668 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5669 | /* end confdefs.h. */
|
---|
| 5670 | #include <stdlib.h>
|
---|
| 5671 | #include <stdarg.h>
|
---|
| 5672 | #include <string.h>
|
---|
| 5673 | #include <float.h>
|
---|
| 5674 |
|
---|
| 5675 | int
|
---|
| 5676 | main ()
|
---|
| 5677 | {
|
---|
| 5678 |
|
---|
| 5679 | ;
|
---|
| 5680 | return 0;
|
---|
| 5681 | }
|
---|
| 5682 | _ACEOF
|
---|
[26565] | 5683 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[16566] | 5684 | ac_cv_header_stdc=yes
|
---|
| 5685 | else
|
---|
[26565] | 5686 | ac_cv_header_stdc=no
|
---|
[16566] | 5687 | fi
|
---|
[25149] | 5688 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5689 |
|
---|
[16566] | 5690 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5691 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[26565] | 5692 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5693 | /* end confdefs.h. */
|
---|
| 5694 | #include <string.h>
|
---|
| 5695 |
|
---|
| 5696 | _ACEOF
|
---|
| 5697 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5698 | $EGREP "memchr" >/dev/null 2>&1; then :
|
---|
| 5699 |
|
---|
[16566] | 5700 | else
|
---|
| 5701 | ac_cv_header_stdc=no
|
---|
| 5702 | fi
|
---|
| 5703 | rm -f conftest*
|
---|
| 5704 |
|
---|
| 5705 | fi
|
---|
| 5706 |
|
---|
| 5707 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5708 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[26565] | 5709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5710 | /* end confdefs.h. */
|
---|
| 5711 | #include <stdlib.h>
|
---|
| 5712 |
|
---|
| 5713 | _ACEOF
|
---|
| 5714 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5715 | $EGREP "free" >/dev/null 2>&1; then :
|
---|
| 5716 |
|
---|
[16566] | 5717 | else
|
---|
| 5718 | ac_cv_header_stdc=no
|
---|
| 5719 | fi
|
---|
| 5720 | rm -f conftest*
|
---|
| 5721 |
|
---|
| 5722 | fi
|
---|
| 5723 |
|
---|
| 5724 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5725 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[26565] | 5726 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 5727 | :
|
---|
| 5728 | else
|
---|
[26565] | 5729 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5730 | /* end confdefs.h. */
|
---|
| 5731 | #include <ctype.h>
|
---|
[25149] | 5732 | #include <stdlib.h>
|
---|
[16566] | 5733 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5734 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5735 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5736 | #else
|
---|
| 5737 | # define ISLOWER(c) \
|
---|
| 5738 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5739 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5740 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5741 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5742 | #endif
|
---|
| 5743 |
|
---|
| 5744 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5745 | int
|
---|
| 5746 | main ()
|
---|
| 5747 | {
|
---|
| 5748 | int i;
|
---|
| 5749 | for (i = 0; i < 256; i++)
|
---|
| 5750 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5751 | || toupper (i) != TOUPPER (i))
|
---|
[25149] | 5752 | return 2;
|
---|
| 5753 | return 0;
|
---|
[16566] | 5754 | }
|
---|
| 5755 | _ACEOF
|
---|
[26565] | 5756 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
| 5757 |
|
---|
[24874] | 5758 | else
|
---|
[26565] | 5759 | ac_cv_header_stdc=no
|
---|
[16566] | 5760 | fi
|
---|
[26565] | 5761 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 5762 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 5763 | fi
|
---|
[25149] | 5764 |
|
---|
[16566] | 5765 | fi
|
---|
| 5766 | fi
|
---|
[26565] | 5767 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
---|
[25149] | 5768 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[16566] | 5769 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5770 |
|
---|
[26565] | 5771 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
---|
[16566] | 5772 |
|
---|
| 5773 | fi
|
---|
| 5774 |
|
---|
| 5775 | 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] | 5776 | do :
|
---|
| 5777 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 5778 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
---|
| 5779 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
---|
[16566] | 5780 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 5781 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[16566] | 5782 | _ACEOF
|
---|
| 5783 |
|
---|
| 5784 | fi
|
---|
| 5785 |
|
---|
| 5786 | done
|
---|
| 5787 |
|
---|
[26565] | 5788 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5789 | /* end confdefs.h. */
|
---|
| 5790 | #include <stdio.h>
|
---|
| 5791 |
|
---|
| 5792 | _ACEOF
|
---|
| 5793 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5794 | $EGREP "fread" >/dev/null 2>&1; then :
|
---|
| 5795 | $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
|
---|
[16566] | 5796 |
|
---|
| 5797 | fi
|
---|
| 5798 | rm -f conftest*
|
---|
| 5799 |
|
---|
[26565] | 5800 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5801 | /* end confdefs.h. */
|
---|
| 5802 | #include <stdio.h>
|
---|
| 5803 |
|
---|
| 5804 | _ACEOF
|
---|
| 5805 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5806 | $EGREP "fgetc" >/dev/null 2>&1; then :
|
---|
| 5807 | $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
|
---|
[16566] | 5808 |
|
---|
| 5809 | fi
|
---|
| 5810 | rm -f conftest*
|
---|
| 5811 |
|
---|
[26565] | 5812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5813 | /* end confdefs.h. */
|
---|
| 5814 | #include <sys/procfs.h>
|
---|
| 5815 |
|
---|
| 5816 | _ACEOF
|
---|
| 5817 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5818 | $EGREP "pr_brksize" >/dev/null 2>&1; then :
|
---|
| 5819 | $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
|
---|
[16566] | 5820 |
|
---|
| 5821 | fi
|
---|
| 5822 | rm -f conftest*
|
---|
| 5823 |
|
---|
| 5824 |
|
---|
| 5825 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5826 | # for constant arguments. Useless!
|
---|
[26565] | 5827 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
---|
[25149] | 5828 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
[26565] | 5829 | if ${ac_cv_working_alloca_h+:} false; then :
|
---|
[25149] | 5830 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5831 | else
|
---|
[26565] | 5832 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5833 | /* end confdefs.h. */
|
---|
| 5834 | #include <alloca.h>
|
---|
| 5835 | int
|
---|
| 5836 | main ()
|
---|
| 5837 | {
|
---|
| 5838 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[25149] | 5839 | if (p) return 0;
|
---|
[16566] | 5840 | ;
|
---|
| 5841 | return 0;
|
---|
| 5842 | }
|
---|
| 5843 | _ACEOF
|
---|
[26565] | 5844 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5845 | ac_cv_working_alloca_h=yes
|
---|
| 5846 | else
|
---|
[26565] | 5847 | ac_cv_working_alloca_h=no
|
---|
[16566] | 5848 | fi
|
---|
[26565] | 5849 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5850 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5851 | fi
|
---|
[26565] | 5852 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
---|
[25149] | 5853 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
[16566] | 5854 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 5855 |
|
---|
[26565] | 5856 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
---|
[16566] | 5857 |
|
---|
| 5858 | fi
|
---|
| 5859 |
|
---|
[26565] | 5860 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
---|
[25149] | 5861 | $as_echo_n "checking for alloca... " >&6; }
|
---|
[26565] | 5862 | if ${ac_cv_func_alloca_works+:} false; then :
|
---|
[25149] | 5863 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5864 | else
|
---|
[26565] | 5865 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5866 | /* end confdefs.h. */
|
---|
| 5867 | #ifdef __GNUC__
|
---|
| 5868 | # define alloca __builtin_alloca
|
---|
| 5869 | #else
|
---|
| 5870 | # ifdef _MSC_VER
|
---|
| 5871 | # include <malloc.h>
|
---|
| 5872 | # define alloca _alloca
|
---|
| 5873 | # else
|
---|
[25149] | 5874 | # ifdef HAVE_ALLOCA_H
|
---|
[16566] | 5875 | # include <alloca.h>
|
---|
| 5876 | # else
|
---|
| 5877 | # ifdef _AIX
|
---|
| 5878 | #pragma alloca
|
---|
| 5879 | # else
|
---|
| 5880 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
[26565] | 5881 | void *alloca (size_t);
|
---|
[16566] | 5882 | # endif
|
---|
| 5883 | # endif
|
---|
| 5884 | # endif
|
---|
| 5885 | # endif
|
---|
| 5886 | #endif
|
---|
| 5887 |
|
---|
| 5888 | int
|
---|
| 5889 | main ()
|
---|
| 5890 | {
|
---|
| 5891 | char *p = (char *) alloca (1);
|
---|
[25149] | 5892 | if (p) return 0;
|
---|
[16566] | 5893 | ;
|
---|
| 5894 | return 0;
|
---|
| 5895 | }
|
---|
| 5896 | _ACEOF
|
---|
[26565] | 5897 | if ac_fn_c_try_link "$LINENO"; then :
|
---|
[16566] | 5898 | ac_cv_func_alloca_works=yes
|
---|
| 5899 | else
|
---|
[26565] | 5900 | ac_cv_func_alloca_works=no
|
---|
[16566] | 5901 | fi
|
---|
[26565] | 5902 | rm -f core conftest.err conftest.$ac_objext \
|
---|
| 5903 | conftest$ac_exeext conftest.$ac_ext
|
---|
[16566] | 5904 | fi
|
---|
[26565] | 5905 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
---|
[25149] | 5906 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
[16566] | 5907 |
|
---|
| 5908 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 5909 |
|
---|
[26565] | 5910 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
---|
[16566] | 5911 |
|
---|
| 5912 | else
|
---|
| 5913 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 5914 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 5915 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 5916 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 5917 |
|
---|
[25149] | 5918 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[16566] | 5919 |
|
---|
[26565] | 5920 | $as_echo "#define C_ALLOCA 1" >>confdefs.h
|
---|
[16566] | 5921 |
|
---|
| 5922 |
|
---|
[26565] | 5923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
[25149] | 5924 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
[26565] | 5925 | if ${ac_cv_os_cray+:} false; then :
|
---|
[25149] | 5926 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5927 | else
|
---|
[26565] | 5928 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5929 | /* end confdefs.h. */
|
---|
[25149] | 5930 | #if defined CRAY && ! defined CRAY2
|
---|
[16566] | 5931 | webecray
|
---|
| 5932 | #else
|
---|
| 5933 | wenotbecray
|
---|
| 5934 | #endif
|
---|
| 5935 |
|
---|
| 5936 | _ACEOF
|
---|
| 5937 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 5938 | $EGREP "webecray" >/dev/null 2>&1; then :
|
---|
[16566] | 5939 | ac_cv_os_cray=yes
|
---|
| 5940 | else
|
---|
| 5941 | ac_cv_os_cray=no
|
---|
| 5942 | fi
|
---|
| 5943 | rm -f conftest*
|
---|
| 5944 |
|
---|
| 5945 | fi
|
---|
[26565] | 5946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
---|
[25149] | 5947 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
[16566] | 5948 | if test $ac_cv_os_cray = yes; then
|
---|
| 5949 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[25149] | 5950 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[26565] | 5951 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 5952 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16566] | 5953 |
|
---|
| 5954 | cat >>confdefs.h <<_ACEOF
|
---|
| 5955 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 5956 | _ACEOF
|
---|
| 5957 |
|
---|
| 5958 | break
|
---|
| 5959 | fi
|
---|
| 5960 |
|
---|
| 5961 | done
|
---|
| 5962 | fi
|
---|
| 5963 |
|
---|
[26565] | 5964 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
---|
[25149] | 5965 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
[26565] | 5966 | if ${ac_cv_c_stack_direction+:} false; then :
|
---|
[25149] | 5967 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 5968 | else
|
---|
[26565] | 5969 | if test "$cross_compiling" = yes; then :
|
---|
[16566] | 5970 | ac_cv_c_stack_direction=0
|
---|
| 5971 | else
|
---|
[26565] | 5972 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 5973 | /* end confdefs.h. */
|
---|
[25149] | 5974 | $ac_includes_default
|
---|
[16566] | 5975 | int
|
---|
| 5976 | find_stack_direction ()
|
---|
| 5977 | {
|
---|
| 5978 | static char *addr = 0;
|
---|
| 5979 | auto char dummy;
|
---|
| 5980 | if (addr == 0)
|
---|
| 5981 | {
|
---|
| 5982 | addr = &dummy;
|
---|
| 5983 | return find_stack_direction ();
|
---|
| 5984 | }
|
---|
| 5985 | else
|
---|
| 5986 | return (&dummy > addr) ? 1 : -1;
|
---|
| 5987 | }
|
---|
| 5988 |
|
---|
| 5989 | int
|
---|
| 5990 | main ()
|
---|
| 5991 | {
|
---|
[25149] | 5992 | return find_stack_direction () < 0;
|
---|
[16566] | 5993 | }
|
---|
| 5994 | _ACEOF
|
---|
[26565] | 5995 | if ac_fn_c_try_run "$LINENO"; then :
|
---|
[16566] | 5996 | ac_cv_c_stack_direction=1
|
---|
| 5997 | else
|
---|
[26565] | 5998 | ac_cv_c_stack_direction=-1
|
---|
[16566] | 5999 | fi
|
---|
[26565] | 6000 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6001 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 6002 | fi
|
---|
[25149] | 6003 |
|
---|
[24874] | 6004 | fi
|
---|
[26565] | 6005 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
---|
[25149] | 6006 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
[16566] | 6007 | cat >>confdefs.h <<_ACEOF
|
---|
| 6008 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 6009 | _ACEOF
|
---|
| 6010 |
|
---|
| 6011 |
|
---|
| 6012 | fi
|
---|
| 6013 |
|
---|
| 6014 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[26565] | 6015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
---|
[25149] | 6016 | $as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
---|
[26565] | 6017 | if ${ac_cv_prog_gcc_traditional+:} false; then :
|
---|
[25149] | 6018 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6019 | else
|
---|
| 6020 | ac_pattern="Autoconf.*'x'"
|
---|
[26565] | 6021 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6022 | /* end confdefs.h. */
|
---|
| 6023 | #include <sgtty.h>
|
---|
| 6024 | Autoconf TIOCGETP
|
---|
| 6025 | _ACEOF
|
---|
| 6026 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 6027 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16566] | 6028 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6029 | else
|
---|
| 6030 | ac_cv_prog_gcc_traditional=no
|
---|
| 6031 | fi
|
---|
| 6032 | rm -f conftest*
|
---|
| 6033 |
|
---|
| 6034 |
|
---|
| 6035 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[26565] | 6036 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6037 | /* end confdefs.h. */
|
---|
| 6038 | #include <termio.h>
|
---|
| 6039 | Autoconf TCGETA
|
---|
| 6040 | _ACEOF
|
---|
| 6041 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[26565] | 6042 | $EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
---|
[16566] | 6043 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6044 | fi
|
---|
| 6045 | rm -f conftest*
|
---|
| 6046 |
|
---|
| 6047 | fi
|
---|
| 6048 | fi
|
---|
[26565] | 6049 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
[25149] | 6050 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[16566] | 6051 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 6052 | CC="$CC -traditional"
|
---|
| 6053 | fi
|
---|
| 6054 | fi
|
---|
| 6055 |
|
---|
[26565] | 6056 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
---|
[25149] | 6057 | $as_echo_n "checking return type of signal handlers... " >&6; }
|
---|
[26565] | 6058 | if ${ac_cv_type_signal+:} false; then :
|
---|
[25149] | 6059 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6060 | else
|
---|
[26565] | 6061 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6062 | /* end confdefs.h. */
|
---|
| 6063 | #include <sys/types.h>
|
---|
| 6064 | #include <signal.h>
|
---|
| 6065 |
|
---|
| 6066 | int
|
---|
| 6067 | main ()
|
---|
| 6068 | {
|
---|
[25149] | 6069 | return *(signal (0, 0)) (0) == 1;
|
---|
[16566] | 6070 | ;
|
---|
| 6071 | return 0;
|
---|
| 6072 | }
|
---|
| 6073 | _ACEOF
|
---|
[26565] | 6074 | if ac_fn_c_try_compile "$LINENO"; then :
|
---|
[25149] | 6075 | ac_cv_type_signal=int
|
---|
[23356] | 6076 | else
|
---|
[26565] | 6077 | ac_cv_type_signal=void
|
---|
[16566] | 6078 | fi
|
---|
[25149] | 6079 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6080 | fi
|
---|
[26565] | 6081 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
---|
[25149] | 6082 | $as_echo "$ac_cv_type_signal" >&6; }
|
---|
[16566] | 6083 |
|
---|
| 6084 | cat >>confdefs.h <<_ACEOF
|
---|
| 6085 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 6086 | _ACEOF
|
---|
| 6087 |
|
---|
| 6088 |
|
---|
| 6089 | for ac_func in vprintf
|
---|
[26565] | 6090 | do :
|
---|
| 6091 | ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
|
---|
| 6092 | if test "x$ac_cv_func_vprintf" = xyes; then :
|
---|
[16566] | 6093 | cat >>confdefs.h <<_ACEOF
|
---|
[26565] | 6094 | #define HAVE_VPRINTF 1
|
---|
[16566] | 6095 | _ACEOF
|
---|
| 6096 |
|
---|
[26565] | 6097 | ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
|
---|
| 6098 | if test "x$ac_cv_func__doprnt" = xyes; then :
|
---|
[16566] | 6099 |
|
---|
[26565] | 6100 | $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
|
---|
[16566] | 6101 |
|
---|
| 6102 | fi
|
---|
[25149] | 6103 |
|
---|
[24874] | 6104 | fi
|
---|
[16566] | 6105 | done
|
---|
| 6106 |
|
---|
| 6107 |
|
---|
| 6108 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
[26565] | 6109 | do :
|
---|
| 6110 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6111 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
---|
| 6112 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
---|
[16566] | 6113 | cat >>confdefs.h <<_ACEOF
|
---|
[25149] | 6114 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16566] | 6115 | _ACEOF
|
---|
| 6116 |
|
---|
| 6117 | fi
|
---|
| 6118 | done
|
---|
| 6119 |
|
---|
[26565] | 6120 | ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate"
|
---|
| 6121 | if test "x$ac_cv_func_ftruncate" = xyes; then :
|
---|
| 6122 | $as_echo "#define HAVE_FTRUNCATE 1" >>confdefs.h
|
---|
[16566] | 6123 |
|
---|
| 6124 | else
|
---|
[26565] | 6125 | case " $LIBOBJS " in
|
---|
| 6126 | *" ftruncate.$ac_objext "* ) ;;
|
---|
| 6127 | *) LIBOBJS="$LIBOBJS ftruncate.$ac_objext"
|
---|
| 6128 | ;;
|
---|
[25149] | 6129 | esac
|
---|
[16566] | 6130 |
|
---|
| 6131 | fi
|
---|
[25149] | 6132 |
|
---|
[26565] | 6133 | ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
|
---|
| 6134 | if test "x$ac_cv_func_strstr" = xyes; then :
|
---|
| 6135 | $as_echo "#define HAVE_STRSTR 1" >>confdefs.h
|
---|
[16566] | 6136 |
|
---|
| 6137 | else
|
---|
[25149] | 6138 | case " $LIBOBJS " in
|
---|
[26565] | 6139 | *" strstr.$ac_objext "* ) ;;
|
---|
| 6140 | *) LIBOBJS="$LIBOBJS strstr.$ac_objext"
|
---|
[25149] | 6141 | ;;
|
---|
[16566] | 6142 | esac
|
---|
| 6143 |
|
---|
| 6144 | fi
|
---|
| 6145 |
|
---|
[26565] | 6146 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
|
---|
| 6147 | if test "x$ac_cv_func_strcasecmp" = xyes; then :
|
---|
| 6148 | $as_echo "#define HAVE_STRCASECMP 1" >>confdefs.h
|
---|
[16566] | 6149 |
|
---|
[24874] | 6150 | else
|
---|
[26565] | 6151 | case " $LIBOBJS " in
|
---|
| 6152 | *" strcasecmp.$ac_objext "* ) ;;
|
---|
| 6153 | *) LIBOBJS="$LIBOBJS strcasecmp.$ac_objext"
|
---|
| 6154 | ;;
|
---|
| 6155 | esac
|
---|
[16566] | 6156 |
|
---|
[26565] | 6157 | fi
|
---|
[24874] | 6158 |
|
---|
| 6159 |
|
---|
| 6160 |
|
---|
[26565] | 6161 | ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
|
---|
| 6162 | if test "x$ac_cv_func_textdomain" = xyes; then :
|
---|
| 6163 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
---|
[24874] | 6164 |
|
---|
[16566] | 6165 | fi
|
---|
[25149] | 6166 |
|
---|
[16566] | 6167 |
|
---|
| 6168 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6169 | # ---------------------------------------------------------------------------
|
---|
[26565] | 6170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
|
---|
[25149] | 6171 | $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
|
---|
[16566] | 6172 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[26565] | 6173 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6174 | $as_echo "yes" >&6; }
|
---|
| 6175 | case " $LIBOBJS " in
|
---|
[16566] | 6176 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[25149] | 6177 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 6178 | ;;
|
---|
[16566] | 6179 | esac
|
---|
| 6180 |
|
---|
[26565] | 6181 | $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
|
---|
[16566] | 6182 |
|
---|
| 6183 | else
|
---|
[26565] | 6184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6185 | $as_echo "no" >&6; }
|
---|
[26565] | 6186 | for ac_func in valloc
|
---|
| 6187 | do :
|
---|
| 6188 | ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
|
---|
| 6189 | if test "x$ac_cv_func_valloc" = xyes; then :
|
---|
[16566] | 6190 | cat >>confdefs.h <<_ACEOF
|
---|
[26565] | 6191 | #define HAVE_VALLOC 1
|
---|
[16566] | 6192 | _ACEOF
|
---|
| 6193 |
|
---|
| 6194 | fi
|
---|
| 6195 | done
|
---|
| 6196 |
|
---|
| 6197 | fi
|
---|
| 6198 |
|
---|
| 6199 | # we cannot generate static libraries under Darwin
|
---|
[26565] | 6200 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
|
---|
[25149] | 6201 | $as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
|
---|
[16566] | 6202 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[26565] | 6203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6204 | $as_echo "yes" >&6; }
|
---|
[16566] | 6205 | STATIC=""
|
---|
| 6206 | else
|
---|
[26565] | 6207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6208 | $as_echo "no" >&6; }
|
---|
[16566] | 6209 | STATIC="-static "
|
---|
| 6210 | fi
|
---|
| 6211 |
|
---|
| 6212 |
|
---|
[26565] | 6213 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
|
---|
[25149] | 6214 | $as_echo_n "checking if malloc debugging is wanted... " >&6; }
|
---|
[16566] | 6215 |
|
---|
[25149] | 6216 | # Check whether --with-dmalloc was given.
|
---|
[26565] | 6217 | if test "${with_dmalloc+set}" = set; then :
|
---|
[25149] | 6218 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
[26565] | 6219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
---|
[25149] | 6220 | $as_echo "yes" >&6; }
|
---|
[26565] | 6221 | $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
|
---|
[16566] | 6222 |
|
---|
| 6223 | LIBS="$LIBS -ldmalloc"
|
---|
| 6224 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6225 | else
|
---|
[26565] | 6226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6227 | $as_echo "no" >&6; }
|
---|
[16566] | 6228 | fi
|
---|
| 6229 | else
|
---|
[26565] | 6230 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
---|
[25149] | 6231 | $as_echo "no" >&6; }
|
---|
| 6232 | fi
|
---|
[16566] | 6233 |
|
---|
| 6234 |
|
---|
[26565] | 6235 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
|
---|
[25149] | 6236 | $as_echo_n "checking which of rx or regex is wanted... " >&6; }
|
---|
| 6237 |
|
---|
| 6238 | # Check whether --with-regex was given.
|
---|
[26565] | 6239 | if test "${with_regex+set}" = set; then :
|
---|
[25149] | 6240 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[16566] | 6241 | ac_with_regex=1
|
---|
[26565] | 6242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
|
---|
[25149] | 6243 | $as_echo "regex" >&6; }
|
---|
[26565] | 6244 | $as_echo "#define WITH_REGEX 1" >>confdefs.h
|
---|
[16566] | 6245 |
|
---|
[25149] | 6246 | case " $LIBOBJS " in
|
---|
[16566] | 6247 | *" regex.$ac_objext "* ) ;;
|
---|
[25149] | 6248 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 6249 | ;;
|
---|
[16566] | 6250 | esac
|
---|
| 6251 |
|
---|
| 6252 | fi
|
---|
[25149] | 6253 | fi
|
---|
| 6254 |
|
---|
[16566] | 6255 | if test -z "$ac_with_regex"; then
|
---|
[26565] | 6256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
|
---|
[25149] | 6257 | $as_echo "rx" >&6; }
|
---|
[26565] | 6258 | ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
|
---|
| 6259 | if test "x$ac_cv_func_re_rx_search" = xyes; then :
|
---|
[16566] | 6260 |
|
---|
| 6261 | else
|
---|
[25149] | 6262 | case " $LIBOBJS " in
|
---|
[16566] | 6263 | *" rx.$ac_objext "* ) ;;
|
---|
[25149] | 6264 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 6265 | ;;
|
---|
[16566] | 6266 | esac
|
---|
| 6267 |
|
---|
| 6268 | fi
|
---|
| 6269 |
|
---|
| 6270 | fi
|
---|
| 6271 |
|
---|
| 6272 |
|
---|
| 6273 | # ---------------------------------------------------------------------------
|
---|
| 6274 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25149] | 6275 | case " $LIBOBJS " in
|
---|
[16566] | 6276 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[25149] | 6277 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 6278 | ;;
|
---|
[16566] | 6279 | esac
|
---|
| 6280 |
|
---|
[25149] | 6281 | case " $LIBOBJS " in
|
---|
[16566] | 6282 | *" error.$ac_objext "* ) ;;
|
---|
[25149] | 6283 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6284 | ;;
|
---|
[16566] | 6285 | esac
|
---|
| 6286 |
|
---|
| 6287 | fi
|
---|
| 6288 |
|
---|
| 6289 |
|
---|
| 6290 | # ---------------------------------------------------------------------------
|
---|
| 6291 |
|
---|
[25149] | 6292 | ac_ext=cpp
|
---|
[16566] | 6293 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 6294 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 6295 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 6296 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 6297 |
|
---|
| 6298 |
|
---|
| 6299 | success=no
|
---|
[26565] | 6300 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
|
---|
[25149] | 6301 | $as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
|
---|
[16566] | 6302 |
|
---|
[18214] | 6303 |
|
---|
[26565] | 6304 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6305 | /* end confdefs.h. */
|
---|
| 6306 | #include <vector>
|
---|
| 6307 |
|
---|
| 6308 | int
|
---|
| 6309 | main ()
|
---|
| 6310 | {
|
---|
| 6311 |
|
---|
| 6312 | ;
|
---|
| 6313 | return 0;
|
---|
| 6314 | }
|
---|
| 6315 | _ACEOF
|
---|
[26565] | 6316 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6317 | success=yes
|
---|
| 6318 | fi
|
---|
[25149] | 6319 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6320 |
|
---|
[16566] | 6321 | if test $success = "no"; then
|
---|
[26565] | 6322 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6323 | /* end confdefs.h. */
|
---|
| 6324 | #include <vector.h>
|
---|
| 6325 |
|
---|
| 6326 | int
|
---|
| 6327 | main ()
|
---|
| 6328 | {
|
---|
| 6329 |
|
---|
| 6330 | ;
|
---|
| 6331 | return 0;
|
---|
| 6332 | }
|
---|
| 6333 | _ACEOF
|
---|
[26565] | 6334 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6335 | success="yes"
|
---|
| 6336 | fi
|
---|
[25149] | 6337 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6338 | fi
|
---|
| 6339 |
|
---|
| 6340 | if test $success = "no"; then
|
---|
[26565] | 6341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6342 | /* end confdefs.h. */
|
---|
| 6343 | #include <ospace\\std\\vector>
|
---|
| 6344 |
|
---|
| 6345 | int
|
---|
| 6346 | main ()
|
---|
| 6347 | {
|
---|
| 6348 |
|
---|
| 6349 | ;
|
---|
| 6350 | return 0;
|
---|
| 6351 | }
|
---|
| 6352 | _ACEOF
|
---|
[26565] | 6353 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6354 | success="yes"
|
---|
| 6355 | fi
|
---|
[25149] | 6356 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6357 | fi
|
---|
| 6358 |
|
---|
| 6359 | if test $success = yes; then
|
---|
[26565] | 6360 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
|
---|
[25149] | 6361 | $as_echo "\"no\"" >&6; }
|
---|
[16566] | 6362 | else
|
---|
[26565] | 6363 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
|
---|
[25149] | 6364 | $as_echo "\"yes\"" >&6; }
|
---|
[26565] | 6365 | as_fn_error $? "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
|
---|
[16566] | 6366 | fi
|
---|
| 6367 |
|
---|
| 6368 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
| 6369 | # check for running bash under cygwin
|
---|
| 6370 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 6371 | then
|
---|
| 6372 | gsdlos=windows
|
---|
| 6373 | fi
|
---|
| 6374 |
|
---|
| 6375 |
|
---|
[24901] | 6376 | # Make gsdlarch empty if the OS bit value (32 or 64) is not used in naming
|
---|
| 6377 | # directories already or if common-src is compiled up on its own.
|
---|
| 6378 | # E.g. 32/64 bit won't be used in the SVN version if only bin/linux exists.
|
---|
[26565] | 6379 | if test ! -d "../bin/$gsdlos$gsdlarch" -o ! -f "../setup.bash" ; then
|
---|
[24901] | 6380 | gsdlarch=""
|
---|
| 6381 | fi
|
---|
| 6382 |
|
---|
| 6383 |
|
---|
[16566] | 6384 | # check for endianness
|
---|
[26565] | 6385 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
---|
[25149] | 6386 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
---|
[26565] | 6387 | if ${ac_cv_c_bigendian+:} false; then :
|
---|
[25149] | 6388 | $as_echo_n "(cached) " >&6
|
---|
[16566] | 6389 | else
|
---|
[25149] | 6390 | ac_cv_c_bigendian=unknown
|
---|
| 6391 | # See if we're dealing with a universal compiler.
|
---|
[26565] | 6392 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6393 | /* end confdefs.h. */
|
---|
[25149] | 6394 | #ifndef __APPLE_CC__
|
---|
| 6395 | not a universal capable compiler
|
---|
| 6396 | #endif
|
---|
| 6397 | typedef int dummy;
|
---|
| 6398 |
|
---|
| 6399 | _ACEOF
|
---|
[26565] | 6400 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6401 |
|
---|
| 6402 | # Check for potential -arch flags. It is not universal unless
|
---|
[26565] | 6403 | # there are at least two -arch flags with different values.
|
---|
| 6404 | ac_arch=
|
---|
| 6405 | ac_prev=
|
---|
| 6406 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
---|
| 6407 | if test -n "$ac_prev"; then
|
---|
| 6408 | case $ac_word in
|
---|
| 6409 | i?86 | x86_64 | ppc | ppc64)
|
---|
| 6410 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
---|
| 6411 | ac_arch=$ac_word
|
---|
| 6412 | else
|
---|
| 6413 | ac_cv_c_bigendian=universal
|
---|
| 6414 | break
|
---|
| 6415 | fi
|
---|
| 6416 | ;;
|
---|
| 6417 | esac
|
---|
| 6418 | ac_prev=
|
---|
| 6419 | elif test "x$ac_word" = "x-arch"; then
|
---|
| 6420 | ac_prev=arch
|
---|
| 6421 | fi
|
---|
| 6422 | done
|
---|
[25149] | 6423 | fi
|
---|
| 6424 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6425 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6426 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
[26565] | 6427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6428 | /* end confdefs.h. */
|
---|
[16566] | 6429 | #include <sys/types.h>
|
---|
[25149] | 6430 | #include <sys/param.h>
|
---|
[16566] | 6431 |
|
---|
| 6432 | int
|
---|
| 6433 | main ()
|
---|
| 6434 | {
|
---|
[25149] | 6435 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
---|
| 6436 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
---|
| 6437 | && LITTLE_ENDIAN)
|
---|
| 6438 | bogus endian macros
|
---|
| 6439 | #endif
|
---|
[16566] | 6440 |
|
---|
| 6441 | ;
|
---|
| 6442 | return 0;
|
---|
| 6443 | }
|
---|
| 6444 | _ACEOF
|
---|
[26565] | 6445 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6446 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[26565] | 6447 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6448 | /* end confdefs.h. */
|
---|
| 6449 | #include <sys/types.h>
|
---|
[25149] | 6450 | #include <sys/param.h>
|
---|
[16566] | 6451 |
|
---|
| 6452 | int
|
---|
| 6453 | main ()
|
---|
| 6454 | {
|
---|
| 6455 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[25149] | 6456 | not big endian
|
---|
| 6457 | #endif
|
---|
[16566] | 6458 |
|
---|
| 6459 | ;
|
---|
| 6460 | return 0;
|
---|
| 6461 | }
|
---|
| 6462 | _ACEOF
|
---|
[26565] | 6463 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6464 | ac_cv_c_bigendian=yes
|
---|
| 6465 | else
|
---|
[26565] | 6466 | ac_cv_c_bigendian=no
|
---|
[16566] | 6467 | fi
|
---|
[25149] | 6468 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6469 | fi
|
---|
| 6470 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6471 | fi
|
---|
| 6472 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6473 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
---|
[26565] | 6474 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6475 | /* end confdefs.h. */
|
---|
[25149] | 6476 | #include <limits.h>
|
---|
| 6477 |
|
---|
[16566] | 6478 | int
|
---|
| 6479 | main ()
|
---|
| 6480 | {
|
---|
[25149] | 6481 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
---|
| 6482 | bogus endian macros
|
---|
| 6483 | #endif
|
---|
| 6484 |
|
---|
[16566] | 6485 | ;
|
---|
| 6486 | return 0;
|
---|
| 6487 | }
|
---|
| 6488 | _ACEOF
|
---|
[26565] | 6489 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6490 | # It does; now see whether it defined to _BIG_ENDIAN or not.
|
---|
[26565] | 6491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6492 | /* end confdefs.h. */
|
---|
| 6493 | #include <limits.h>
|
---|
| 6494 |
|
---|
| 6495 | int
|
---|
| 6496 | main ()
|
---|
| 6497 | {
|
---|
| 6498 | #ifndef _BIG_ENDIAN
|
---|
| 6499 | not big endian
|
---|
| 6500 | #endif
|
---|
| 6501 |
|
---|
| 6502 | ;
|
---|
| 6503 | return 0;
|
---|
| 6504 | }
|
---|
| 6505 | _ACEOF
|
---|
[26565] | 6506 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[16566] | 6507 | ac_cv_c_bigendian=yes
|
---|
[25149] | 6508 | else
|
---|
[26565] | 6509 | ac_cv_c_bigendian=no
|
---|
[16566] | 6510 | fi
|
---|
[25149] | 6511 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6512 | fi
|
---|
[25149] | 6513 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6514 | fi
|
---|
| 6515 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 6516 | # Compile a test program.
|
---|
[26565] | 6517 | if test "$cross_compiling" = yes; then :
|
---|
[25149] | 6518 | # Try to guess by grepping values from an object file.
|
---|
[26565] | 6519 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[25149] | 6520 | /* end confdefs.h. */
|
---|
| 6521 | short int ascii_mm[] =
|
---|
| 6522 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 6523 | short int ascii_ii[] =
|
---|
| 6524 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 6525 | int use_ascii (int i) {
|
---|
| 6526 | return ascii_mm[i] + ascii_ii[i];
|
---|
| 6527 | }
|
---|
| 6528 | short int ebcdic_ii[] =
|
---|
| 6529 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 6530 | short int ebcdic_mm[] =
|
---|
| 6531 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 6532 | int use_ebcdic (int i) {
|
---|
| 6533 | return ebcdic_mm[i] + ebcdic_ii[i];
|
---|
| 6534 | }
|
---|
| 6535 | extern int foo;
|
---|
| 6536 |
|
---|
| 6537 | int
|
---|
| 6538 | main ()
|
---|
| 6539 | {
|
---|
| 6540 | return use_ascii (foo) == use_ebcdic (foo);
|
---|
| 6541 | ;
|
---|
| 6542 | return 0;
|
---|
| 6543 | }
|
---|
| 6544 | _ACEOF
|
---|
[26565] | 6545 | if ac_fn_cxx_try_compile "$LINENO"; then :
|
---|
[25149] | 6546 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
---|
| 6547 | ac_cv_c_bigendian=yes
|
---|
| 6548 | fi
|
---|
| 6549 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 6550 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 6551 | ac_cv_c_bigendian=no
|
---|
| 6552 | else
|
---|
| 6553 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 6554 | ac_cv_c_bigendian=unknown
|
---|
| 6555 | fi
|
---|
| 6556 | fi
|
---|
[16566] | 6557 | fi
|
---|
[25149] | 6558 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16566] | 6559 | else
|
---|
[26565] | 6560 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
---|
[16566] | 6561 | /* end confdefs.h. */
|
---|
[25149] | 6562 | $ac_includes_default
|
---|
[16566] | 6563 | int
|
---|
| 6564 | main ()
|
---|
| 6565 | {
|
---|
[25149] | 6566 |
|
---|
| 6567 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 6568 | union
|
---|
| 6569 | {
|
---|
| 6570 | long int l;
|
---|
| 6571 | char c[sizeof (long int)];
|
---|
| 6572 | } u;
|
---|
| 6573 | u.l = 1;
|
---|
| 6574 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 6575 |
|
---|
| 6576 | ;
|
---|
| 6577 | return 0;
|
---|
[16566] | 6578 | }
|
---|
| 6579 | _ACEOF
|
---|
[26565] | 6580 | if ac_fn_cxx_try_run "$LINENO"; then :
|
---|
[16566] | 6581 | ac_cv_c_bigendian=no
|
---|
| 6582 | else
|
---|
[26565] | 6583 | ac_cv_c_bigendian=yes
|
---|
[16566] | 6584 | fi
|
---|
[26565] | 6585 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
---|
| 6586 | conftest.$ac_objext conftest.beam conftest.$ac_ext
|
---|
[16566] | 6587 | fi
|
---|
[25149] | 6588 |
|
---|
| 6589 | fi
|
---|
[16566] | 6590 | fi
|
---|
[26565] | 6591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
---|
[25149] | 6592 | $as_echo "$ac_cv_c_bigendian" >&6; }
|
---|
| 6593 | case $ac_cv_c_bigendian in #(
|
---|
| 6594 | yes)
|
---|
[26565] | 6595 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
---|
[25149] | 6596 | ;; #(
|
---|
| 6597 | no)
|
---|
| 6598 | ;; #(
|
---|
| 6599 | universal)
|
---|
[16566] | 6600 |
|
---|
[26565] | 6601 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
---|
[25149] | 6602 |
|
---|
| 6603 | ;; #(
|
---|
| 6604 | *)
|
---|
[26565] | 6605 | as_fn_error $? "unknown endianness
|
---|
| 6606 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
---|
[25149] | 6607 | esac
|
---|
[16566] | 6608 |
|
---|
| 6609 | # ---------------------------------------------------------------------------
|
---|
| 6610 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25149] | 6611 | case " $LIBOBJS " in
|
---|
[16566] | 6612 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[25149] | 6613 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 6614 | ;;
|
---|
[16566] | 6615 | esac
|
---|
| 6616 |
|
---|
[25149] | 6617 | case " $LIBOBJS " in
|
---|
[16566] | 6618 | *" error.$ac_objext "* ) ;;
|
---|
[25149] | 6619 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 6620 | ;;
|
---|
[16566] | 6621 | esac
|
---|
| 6622 |
|
---|
| 6623 | fi
|
---|
| 6624 |
|
---|
| 6625 | # ---------------------------------------------------------------------------
|
---|
| 6626 |
|
---|
| 6627 |
|
---|
| 6628 | moduleDirs=""
|
---|
| 6629 | MODULEDIRS=""
|
---|
[16593] | 6630 | if test -d modules ; then
|
---|
[16566] | 6631 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 6632 | if test -d "$x"; then
|
---|
| 6633 | d="$x/Makefile.in"
|
---|
| 6634 | if test -e "$d"; then
|
---|
| 6635 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 6636 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 6637 | fi
|
---|
| 6638 | fi
|
---|
| 6639 | done
|
---|
| 6640 | echo "Making $moduleDirs in modules directory"
|
---|
| 6641 |
|
---|
| 6642 | fi
|
---|
| 6643 |
|
---|
| 6644 |
|
---|
| 6645 | # ---------------------------------------------------------------------------
|
---|
| 6646 |
|
---|
[21327] | 6647 |
|
---|
| 6648 |
|
---|
[20832] | 6649 | subdirs="$subdirs packages"
|
---|
[16566] | 6650 |
|
---|
| 6651 |
|
---|
[20832] | 6652 | commonsrcprefix=`pwd`
|
---|
| 6653 | ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv"
|
---|
| 6654 | subdirs="$subdirs indexers"
|
---|
| 6655 |
|
---|
| 6656 |
|
---|
[16566] | 6657 | # the list of folders in the src folder
|
---|
[24874] | 6658 | srclist="cgi-bin/Makefile \
|
---|
| 6659 | src/lib/Makefile \
|
---|
[16566] | 6660 | src/gdbmedit/db2txt/Makefile \
|
---|
| 6661 | src/gdbmedit/txt2db/Makefile \
|
---|
| 6662 | src/gdbmedit/gdbmget/Makefile \
|
---|
| 6663 | src/gdbmedit/gdbmset/Makefile \
|
---|
[24874] | 6664 | src/gdbmedit/gdbmkeys/Makefile \
|
---|
| 6665 | src/gdbmedit/gdbmdel/Makefile \
|
---|
[23356] | 6666 | src/getpw/Makefile \
|
---|
[24874] | 6667 | src/jdbmedit/Makefile"
|
---|
[16566] | 6668 |
|
---|
[25149] | 6669 | ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
|
---|
| 6670 |
|
---|
[16566] | 6671 | cat >confcache <<\_ACEOF
|
---|
| 6672 | # This file is a shell script that caches the results of configure
|
---|
| 6673 | # tests run on this system so they can be shared between configure
|
---|
| 6674 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 6675 | # It is not useful on other systems. If it contains results you don't
|
---|
| 6676 | # want to keep, you may remove or edit it.
|
---|
| 6677 | #
|
---|
| 6678 | # config.status only pays attention to the cache file if you give it
|
---|
| 6679 | # the --recheck option to rerun configure.
|
---|
| 6680 | #
|
---|
| 6681 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 6682 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 6683 | # following values.
|
---|
| 6684 |
|
---|
| 6685 | _ACEOF
|
---|
| 6686 |
|
---|
| 6687 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 6688 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[25149] | 6689 | # So, we kill variables containing newlines.
|
---|
[16566] | 6690 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 6691 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[25149] | 6692 | (
|
---|
| 6693 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 6694 | eval ac_val=\$$ac_var
|
---|
| 6695 | case $ac_val in #(
|
---|
| 6696 | *${as_nl}*)
|
---|
| 6697 | case $ac_var in #(
|
---|
[26565] | 6698 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[25149] | 6699 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 6700 | esac
|
---|
| 6701 | case $ac_var in #(
|
---|
| 6702 | _ | IFS | as_nl) ;; #(
|
---|
| 6703 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[26565] | 6704 | *) { eval $ac_var=; unset $ac_var;} ;;
|
---|
[25149] | 6705 | esac ;;
|
---|
| 6706 | esac
|
---|
| 6707 | done
|
---|
| 6708 |
|
---|
[16566] | 6709 | (set) 2>&1 |
|
---|
[25149] | 6710 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 6711 | *${as_nl}ac_space=\ *)
|
---|
[26565] | 6712 | # `set' does not quote correctly, so add quotes: double-quote
|
---|
| 6713 | # substitution turns \\\\ into \\, and sed turns \\ into \.
|
---|
[16566] | 6714 | sed -n \
|
---|
| 6715 | "s/'/'\\\\''/g;
|
---|
| 6716 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[25149] | 6717 | ;; #(
|
---|
[16566] | 6718 | *)
|
---|
| 6719 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[25149] | 6720 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16566] | 6721 | ;;
|
---|
[25149] | 6722 | esac |
|
---|
| 6723 | sort
|
---|
| 6724 | ) |
|
---|
[16566] | 6725 | sed '
|
---|
[25149] | 6726 | /^ac_cv_env_/b end
|
---|
[16566] | 6727 | t clear
|
---|
[25149] | 6728 | :clear
|
---|
[16566] | 6729 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 6730 | t end
|
---|
[25149] | 6731 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 6732 | :end' >>confcache
|
---|
| 6733 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 6734 | if test -w "$cache_file"; then
|
---|
[26565] | 6735 | if test "x$cache_file" != "x/dev/null"; then
|
---|
| 6736 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
---|
[25149] | 6737 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[26565] | 6738 | if test ! -f "$cache_file" || test -h "$cache_file"; then
|
---|
| 6739 | cat confcache >"$cache_file"
|
---|
| 6740 | else
|
---|
| 6741 | case $cache_file in #(
|
---|
| 6742 | */* | ?:*)
|
---|
| 6743 | mv -f confcache "$cache_file"$$ &&
|
---|
| 6744 | mv -f "$cache_file"$$ "$cache_file" ;; #(
|
---|
| 6745 | *)
|
---|
| 6746 | mv -f confcache "$cache_file" ;;
|
---|
| 6747 | esac
|
---|
| 6748 | fi
|
---|
| 6749 | fi
|
---|
[16566] | 6750 | else
|
---|
[26565] | 6751 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
---|
[25149] | 6752 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[16566] | 6753 | fi
|
---|
| 6754 | fi
|
---|
| 6755 | rm -f confcache
|
---|
| 6756 |
|
---|
| 6757 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 6758 | # Let make expand exec_prefix.
|
---|
| 6759 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 6760 |
|
---|
| 6761 | DEFS=-DHAVE_CONFIG_H
|
---|
| 6762 |
|
---|
| 6763 | ac_libobjs=
|
---|
| 6764 | ac_ltlibobjs=
|
---|
[26565] | 6765 | U=
|
---|
[16566] | 6766 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 6767 | # 1. Remove the extension, and $U if already installed.
|
---|
[25149] | 6768 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 6769 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 6770 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 6771 | # will be set to the directory where LIBOBJS objects are built.
|
---|
[26565] | 6772 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 6773 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[16566] | 6774 | done
|
---|
| 6775 | LIBOBJS=$ac_libobjs
|
---|
| 6776 |
|
---|
| 6777 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 6778 |
|
---|
| 6779 |
|
---|
| 6780 |
|
---|
[25149] | 6781 |
|
---|
[26565] | 6782 | : "${CONFIG_STATUS=./config.status}"
|
---|
[25149] | 6783 | ac_write_fail=0
|
---|
[16566] | 6784 | ac_clean_files_save=$ac_clean_files
|
---|
| 6785 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[26565] | 6786 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
---|
[25149] | 6787 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
[26565] | 6788 | as_write_fail=0
|
---|
| 6789 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
---|
[16566] | 6790 | #! $SHELL
|
---|
| 6791 | # Generated by $as_me.
|
---|
| 6792 | # Run this file to recreate the current configuration.
|
---|
| 6793 | # Compiler output produced by configure, useful for debugging
|
---|
| 6794 | # configure, is in config.log if it exists.
|
---|
| 6795 |
|
---|
| 6796 | debug=false
|
---|
| 6797 | ac_cs_recheck=false
|
---|
| 6798 | ac_cs_silent=false
|
---|
[26565] | 6799 |
|
---|
[16566] | 6800 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[26565] | 6801 | export SHELL
|
---|
| 6802 | _ASEOF
|
---|
| 6803 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
---|
| 6804 | ## -------------------- ##
|
---|
| 6805 | ## M4sh Initialization. ##
|
---|
| 6806 | ## -------------------- ##
|
---|
[16566] | 6807 |
|
---|
[25149] | 6808 | # Be more Bourne compatible
|
---|
| 6809 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[26565] | 6810 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
---|
[16566] | 6811 | emulate sh
|
---|
| 6812 | NULLCMD=:
|
---|
[25149] | 6813 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[16566] | 6814 | # is contrary to our usage. Disable this feature.
|
---|
| 6815 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25149] | 6816 | setopt NO_GLOB_SUBST
|
---|
| 6817 | else
|
---|
[26565] | 6818 | case `(set -o) 2>/dev/null` in #(
|
---|
| 6819 | *posix*) :
|
---|
| 6820 | set -o posix ;; #(
|
---|
| 6821 | *) :
|
---|
| 6822 | ;;
|
---|
[25149] | 6823 | esac
|
---|
[16566] | 6824 | fi
|
---|
| 6825 |
|
---|
[25149] | 6826 |
|
---|
| 6827 | as_nl='
|
---|
| 6828 | '
|
---|
| 6829 | export as_nl
|
---|
| 6830 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 6831 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 6832 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 6833 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[26565] | 6834 | # Prefer a ksh shell builtin over an external printf program on Solaris,
|
---|
| 6835 | # but without wasting forks for bash or zsh.
|
---|
| 6836 | if test -z "$BASH_VERSION$ZSH_VERSION" \
|
---|
| 6837 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
| 6838 | as_echo='print -r --'
|
---|
| 6839 | as_echo_n='print -rn --'
|
---|
| 6840 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[25149] | 6841 | as_echo='printf %s\n'
|
---|
| 6842 | as_echo_n='printf %s'
|
---|
| 6843 | else
|
---|
| 6844 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 6845 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 6846 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 6847 | else
|
---|
| 6848 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 6849 | as_echo_n_body='eval
|
---|
| 6850 | arg=$1;
|
---|
[26565] | 6851 | case $arg in #(
|
---|
[25149] | 6852 | *"$as_nl"*)
|
---|
| 6853 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 6854 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 6855 | esac;
|
---|
| 6856 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 6857 | '
|
---|
| 6858 | export as_echo_n_body
|
---|
| 6859 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 6860 | fi
|
---|
| 6861 | export as_echo_body
|
---|
| 6862 | as_echo='sh -c $as_echo_body as_echo'
|
---|
| 6863 | fi
|
---|
| 6864 |
|
---|
| 6865 | # The user is always right.
|
---|
| 6866 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 6867 | PATH_SEPARATOR=:
|
---|
| 6868 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 6869 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 6870 | PATH_SEPARATOR=';'
|
---|
| 6871 | }
|
---|
| 6872 | fi
|
---|
| 6873 |
|
---|
[16566] | 6874 |
|
---|
[25149] | 6875 | # IFS
|
---|
| 6876 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 6877 | # there to prevent editors from complaining about space-tab.
|
---|
| 6878 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 6879 | # splitting by setting IFS to empty value.)
|
---|
| 6880 | IFS=" "" $as_nl"
|
---|
| 6881 |
|
---|
| 6882 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[26565] | 6883 | as_myself=
|
---|
| 6884 | case $0 in #((
|
---|
[25149] | 6885 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 6886 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 6887 | for as_dir in $PATH
|
---|
| 6888 | do
|
---|
| 6889 | IFS=$as_save_IFS
|
---|
| 6890 | test -z "$as_dir" && as_dir=.
|
---|
[26565] | 6891 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 6892 | done
|
---|
[25149] | 6893 | IFS=$as_save_IFS
|
---|
| 6894 |
|
---|
| 6895 | ;;
|
---|
| 6896 | esac
|
---|
| 6897 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 6898 | # in which case we are not to be found in the path.
|
---|
| 6899 | if test "x$as_myself" = x; then
|
---|
| 6900 | as_myself=$0
|
---|
| 6901 | fi
|
---|
| 6902 | if test ! -f "$as_myself"; then
|
---|
| 6903 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[26565] | 6904 | exit 1
|
---|
[25149] | 6905 | fi
|
---|
| 6906 |
|
---|
[26565] | 6907 | # Unset variables that we do not need and which cause bugs (e.g. in
|
---|
| 6908 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
---|
| 6909 | # suppresses any "Segmentation fault" message there. '((' could
|
---|
| 6910 | # trigger a bug in pdksh 5.2.14.
|
---|
| 6911 | for as_var in BASH_ENV ENV MAIL MAILPATH
|
---|
| 6912 | do eval test x\${$as_var+set} = xset \
|
---|
| 6913 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
---|
[25149] | 6914 | done
|
---|
[16566] | 6915 | PS1='$ '
|
---|
| 6916 | PS2='> '
|
---|
| 6917 | PS4='+ '
|
---|
| 6918 |
|
---|
| 6919 | # NLS nuisances.
|
---|
[25149] | 6920 | LC_ALL=C
|
---|
| 6921 | export LC_ALL
|
---|
| 6922 | LANGUAGE=C
|
---|
| 6923 | export LANGUAGE
|
---|
[16566] | 6924 |
|
---|
[26565] | 6925 | # CDPATH.
|
---|
| 6926 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
---|
| 6927 |
|
---|
| 6928 |
|
---|
| 6929 | # as_fn_error STATUS ERROR [LINENO LOG_FD]
|
---|
| 6930 | # ----------------------------------------
|
---|
| 6931 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
---|
| 6932 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
---|
| 6933 | # script with STATUS, using 1 if that was 0.
|
---|
| 6934 | as_fn_error ()
|
---|
| 6935 | {
|
---|
| 6936 | as_status=$1; test $as_status -eq 0 && as_status=1
|
---|
| 6937 | if test "$4"; then
|
---|
| 6938 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
---|
| 6939 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
---|
| 6940 | fi
|
---|
| 6941 | $as_echo "$as_me: error: $2" >&2
|
---|
| 6942 | as_fn_exit $as_status
|
---|
| 6943 | } # as_fn_error
|
---|
| 6944 |
|
---|
| 6945 |
|
---|
| 6946 | # as_fn_set_status STATUS
|
---|
| 6947 | # -----------------------
|
---|
| 6948 | # Set $? to STATUS, without forking.
|
---|
| 6949 | as_fn_set_status ()
|
---|
| 6950 | {
|
---|
| 6951 | return $1
|
---|
| 6952 | } # as_fn_set_status
|
---|
| 6953 |
|
---|
| 6954 | # as_fn_exit STATUS
|
---|
| 6955 | # -----------------
|
---|
| 6956 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
---|
| 6957 | as_fn_exit ()
|
---|
| 6958 | {
|
---|
| 6959 | set +e
|
---|
| 6960 | as_fn_set_status $1
|
---|
| 6961 | exit $1
|
---|
| 6962 | } # as_fn_exit
|
---|
| 6963 |
|
---|
| 6964 | # as_fn_unset VAR
|
---|
| 6965 | # ---------------
|
---|
| 6966 | # Portably unset VAR.
|
---|
| 6967 | as_fn_unset ()
|
---|
| 6968 | {
|
---|
| 6969 | { eval $1=; unset $1;}
|
---|
| 6970 | }
|
---|
| 6971 | as_unset=as_fn_unset
|
---|
| 6972 | # as_fn_append VAR VALUE
|
---|
| 6973 | # ----------------------
|
---|
| 6974 | # Append the text in VALUE to the end of the definition contained in VAR. Take
|
---|
| 6975 | # advantage of any shell optimizations that allow amortized linear growth over
|
---|
| 6976 | # repeated appends, instead of the typical quadratic growth present in naive
|
---|
| 6977 | # implementations.
|
---|
| 6978 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
---|
| 6979 | eval 'as_fn_append ()
|
---|
| 6980 | {
|
---|
| 6981 | eval $1+=\$2
|
---|
| 6982 | }'
|
---|
| 6983 | else
|
---|
| 6984 | as_fn_append ()
|
---|
| 6985 | {
|
---|
| 6986 | eval $1=\$$1\$2
|
---|
| 6987 | }
|
---|
| 6988 | fi # as_fn_append
|
---|
| 6989 |
|
---|
| 6990 | # as_fn_arith ARG...
|
---|
| 6991 | # ------------------
|
---|
| 6992 | # Perform arithmetic evaluation on the ARGs, and store the result in the
|
---|
| 6993 | # global $as_val. Take advantage of shells that can avoid forks. The arguments
|
---|
| 6994 | # must be portable across $(()) and expr.
|
---|
| 6995 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
---|
| 6996 | eval 'as_fn_arith ()
|
---|
| 6997 | {
|
---|
| 6998 | as_val=$(( $* ))
|
---|
| 6999 | }'
|
---|
| 7000 | else
|
---|
| 7001 | as_fn_arith ()
|
---|
| 7002 | {
|
---|
| 7003 | as_val=`expr "$@" || test $? -eq 1`
|
---|
| 7004 | }
|
---|
| 7005 | fi # as_fn_arith
|
---|
| 7006 |
|
---|
| 7007 |
|
---|
[25149] | 7008 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 7009 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16566] | 7010 | as_expr=expr
|
---|
| 7011 | else
|
---|
| 7012 | as_expr=false
|
---|
| 7013 | fi
|
---|
| 7014 |
|
---|
[25149] | 7015 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16566] | 7016 | as_basename=basename
|
---|
| 7017 | else
|
---|
| 7018 | as_basename=false
|
---|
| 7019 | fi
|
---|
| 7020 |
|
---|
[26565] | 7021 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 7022 | as_dirname=dirname
|
---|
| 7023 | else
|
---|
| 7024 | as_dirname=false
|
---|
| 7025 | fi
|
---|
[16566] | 7026 |
|
---|
[25149] | 7027 | as_me=`$as_basename -- "$0" ||
|
---|
[16566] | 7028 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7029 | X"$0" : 'X\(//\)$' \| \
|
---|
[25149] | 7030 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7031 | $as_echo X/"$0" |
|
---|
| 7032 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 7033 | s//\1/
|
---|
| 7034 | q
|
---|
| 7035 | }
|
---|
| 7036 | /^X\/\(\/\/\)$/{
|
---|
| 7037 | s//\1/
|
---|
| 7038 | q
|
---|
| 7039 | }
|
---|
| 7040 | /^X\/\(\/\).*/{
|
---|
| 7041 | s//\1/
|
---|
| 7042 | q
|
---|
| 7043 | }
|
---|
| 7044 | s/.*/./; q'`
|
---|
[16566] | 7045 |
|
---|
[26565] | 7046 | # Avoid depending upon Character Ranges.
|
---|
| 7047 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7048 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7049 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7050 | as_cr_digits='0123456789'
|
---|
| 7051 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
[24874] | 7052 |
|
---|
[25149] | 7053 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[26565] | 7054 | case `echo -n x` in #(((((
|
---|
[25149] | 7055 | -n*)
|
---|
[26565] | 7056 | case `echo 'xy\c'` in
|
---|
[25149] | 7057 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[26565] | 7058 | xy) ECHO_C='\c';;
|
---|
| 7059 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
---|
| 7060 | ECHO_T=' ';;
|
---|
[25149] | 7061 | esac;;
|
---|
| 7062 | *)
|
---|
| 7063 | ECHO_N='-n';;
|
---|
[16566] | 7064 | esac
|
---|
[24874] | 7065 |
|
---|
| 7066 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[25149] | 7067 | if test -d conf$$.dir; then
|
---|
| 7068 | rm -f conf$$.dir/conf$$.file
|
---|
| 7069 | else
|
---|
| 7070 | rm -f conf$$.dir
|
---|
| 7071 | mkdir conf$$.dir 2>/dev/null
|
---|
| 7072 | fi
|
---|
| 7073 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 7074 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7075 | as_ln_s='ln -s'
|
---|
| 7076 | # ... but there are two gotchas:
|
---|
| 7077 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 7078 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 7079 | # In both cases, we have to default to `cp -p'.
|
---|
| 7080 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 7081 | as_ln_s='cp -p'
|
---|
| 7082 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7083 | as_ln_s=ln
|
---|
| 7084 | else
|
---|
[24874] | 7085 | as_ln_s='cp -p'
|
---|
[21327] | 7086 | fi
|
---|
[16566] | 7087 | else
|
---|
| 7088 | as_ln_s='cp -p'
|
---|
| 7089 | fi
|
---|
[25149] | 7090 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 7091 | rmdir conf$$.dir 2>/dev/null
|
---|
[16566] | 7092 |
|
---|
[26565] | 7093 |
|
---|
| 7094 | # as_fn_mkdir_p
|
---|
| 7095 | # -------------
|
---|
| 7096 | # Create "$as_dir" as a directory, including parents if necessary.
|
---|
| 7097 | as_fn_mkdir_p ()
|
---|
| 7098 | {
|
---|
| 7099 |
|
---|
| 7100 | case $as_dir in #(
|
---|
| 7101 | -*) as_dir=./$as_dir;;
|
---|
| 7102 | esac
|
---|
| 7103 | test -d "$as_dir" || eval $as_mkdir_p || {
|
---|
| 7104 | as_dirs=
|
---|
| 7105 | while :; do
|
---|
| 7106 | case $as_dir in #(
|
---|
| 7107 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 7108 | *) as_qdir=$as_dir;;
|
---|
| 7109 | esac
|
---|
| 7110 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 7111 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 7112 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7113 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 7114 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 7115 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7116 | $as_echo X"$as_dir" |
|
---|
| 7117 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7118 | s//\1/
|
---|
| 7119 | q
|
---|
| 7120 | }
|
---|
| 7121 | /^X\(\/\/\)[^/].*/{
|
---|
| 7122 | s//\1/
|
---|
| 7123 | q
|
---|
| 7124 | }
|
---|
| 7125 | /^X\(\/\/\)$/{
|
---|
| 7126 | s//\1/
|
---|
| 7127 | q
|
---|
| 7128 | }
|
---|
| 7129 | /^X\(\/\).*/{
|
---|
| 7130 | s//\1/
|
---|
| 7131 | q
|
---|
| 7132 | }
|
---|
| 7133 | s/.*/./; q'`
|
---|
| 7134 | test -d "$as_dir" && break
|
---|
| 7135 | done
|
---|
| 7136 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 7137 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
---|
| 7138 |
|
---|
| 7139 |
|
---|
| 7140 | } # as_fn_mkdir_p
|
---|
[16566] | 7141 | if mkdir -p . 2>/dev/null; then
|
---|
[26565] | 7142 | as_mkdir_p='mkdir -p "$as_dir"'
|
---|
[16566] | 7143 | else
|
---|
| 7144 | test -d ./-p && rmdir ./-p
|
---|
| 7145 | as_mkdir_p=false
|
---|
| 7146 | fi
|
---|
| 7147 |
|
---|
[25149] | 7148 | if test -x / >/dev/null 2>&1; then
|
---|
| 7149 | as_test_x='test -x'
|
---|
| 7150 | else
|
---|
| 7151 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 7152 | as_ls_L_option=L
|
---|
| 7153 | else
|
---|
| 7154 | as_ls_L_option=
|
---|
| 7155 | fi
|
---|
| 7156 | as_test_x='
|
---|
| 7157 | eval sh -c '\''
|
---|
| 7158 | if test -d "$1"; then
|
---|
| 7159 | test -d "$1/.";
|
---|
| 7160 | else
|
---|
[26565] | 7161 | case $1 in #(
|
---|
[25149] | 7162 | -*)set "./$1";;
|
---|
| 7163 | esac;
|
---|
[26565] | 7164 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
---|
[25149] | 7165 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 7166 | '\'' sh
|
---|
| 7167 | '
|
---|
| 7168 | fi
|
---|
| 7169 | as_executable_p=$as_test_x
|
---|
[16566] | 7170 |
|
---|
| 7171 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7172 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7173 |
|
---|
| 7174 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7175 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7176 |
|
---|
| 7177 |
|
---|
| 7178 | exec 6>&1
|
---|
[26565] | 7179 | ## ----------------------------------- ##
|
---|
| 7180 | ## Main body of $CONFIG_STATUS script. ##
|
---|
| 7181 | ## ----------------------------------- ##
|
---|
| 7182 | _ASEOF
|
---|
| 7183 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
---|
[16566] | 7184 |
|
---|
[26565] | 7185 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7186 | # Save the log message, to keep $0 and so on meaningful, and to
|
---|
[16566] | 7187 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[25149] | 7188 | # values after options handling.
|
---|
| 7189 | ac_log="
|
---|
[16566] | 7190 | This file was extended by $as_me, which was
|
---|
[26565] | 7191 | generated by GNU Autoconf 2.68. Invocation command line was
|
---|
[16566] | 7192 |
|
---|
| 7193 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 7194 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 7195 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 7196 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 7197 | $ $0 $@
|
---|
| 7198 |
|
---|
[25149] | 7199 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 7200 | "
|
---|
| 7201 |
|
---|
[16566] | 7202 | _ACEOF
|
---|
| 7203 |
|
---|
[25149] | 7204 | case $ac_config_files in *"
|
---|
| 7205 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 7206 | esac
|
---|
[16566] | 7207 |
|
---|
[25149] | 7208 | case $ac_config_headers in *"
|
---|
| 7209 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 7210 | esac
|
---|
[16566] | 7211 |
|
---|
[21327] | 7212 |
|
---|
[25149] | 7213 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7214 | # Files that config.status was made for.
|
---|
| 7215 | config_files="$ac_config_files"
|
---|
| 7216 | config_headers="$ac_config_headers"
|
---|
[21327] | 7217 |
|
---|
[25149] | 7218 | _ACEOF
|
---|
[21327] | 7219 |
|
---|
[25149] | 7220 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16566] | 7221 | ac_cs_usage="\
|
---|
[26565] | 7222 | \`$as_me' instantiates files and other configuration actions
|
---|
| 7223 | from templates according to the current configuration. Unless the files
|
---|
| 7224 | and actions are specified as TAGs, all are instantiated by default.
|
---|
[16566] | 7225 |
|
---|
[26565] | 7226 | Usage: $0 [OPTION]... [TAG]...
|
---|
[16566] | 7227 |
|
---|
| 7228 | -h, --help print this help, then exit
|
---|
[25149] | 7229 | -V, --version print version number and configuration settings, then exit
|
---|
[26565] | 7230 | --config print configuration, then exit
|
---|
[25149] | 7231 | -q, --quiet, --silent
|
---|
| 7232 | do not print progress messages
|
---|
[16566] | 7233 | -d, --debug don't remove temporary files
|
---|
| 7234 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[25149] | 7235 | --file=FILE[:TEMPLATE]
|
---|
| 7236 | instantiate the configuration file FILE
|
---|
| 7237 | --header=FILE[:TEMPLATE]
|
---|
| 7238 | instantiate the configuration header FILE
|
---|
[16566] | 7239 |
|
---|
| 7240 | Configuration files:
|
---|
| 7241 | $config_files
|
---|
| 7242 |
|
---|
| 7243 | Configuration headers:
|
---|
| 7244 | $config_headers
|
---|
| 7245 |
|
---|
[26565] | 7246 | Report bugs to the package provider."
|
---|
[25149] | 7247 |
|
---|
[24874] | 7248 | _ACEOF
|
---|
[25149] | 7249 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[26565] | 7250 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
---|
[16566] | 7251 | ac_cs_version="\\
|
---|
| 7252 | config.status
|
---|
[26565] | 7253 | configured by $0, generated by GNU Autoconf 2.68,
|
---|
| 7254 | with options \\"\$ac_cs_config\\"
|
---|
[16566] | 7255 |
|
---|
[26565] | 7256 | Copyright (C) 2010 Free Software Foundation, Inc.
|
---|
[16566] | 7257 | This config.status script is free software; the Free Software Foundation
|
---|
| 7258 | gives unlimited permission to copy, distribute and modify it."
|
---|
[25149] | 7259 |
|
---|
| 7260 | ac_pwd='$ac_pwd'
|
---|
| 7261 | srcdir='$srcdir'
|
---|
| 7262 | INSTALL='$INSTALL'
|
---|
| 7263 | AWK='$AWK'
|
---|
| 7264 | test -n "\$AWK" || AWK=awk
|
---|
[16566] | 7265 | _ACEOF
|
---|
| 7266 |
|
---|
[25149] | 7267 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7268 | # The default lists apply if the user does not specify any file.
|
---|
[16566] | 7269 | ac_need_defaults=:
|
---|
| 7270 | while test $# != 0
|
---|
| 7271 | do
|
---|
| 7272 | case $1 in
|
---|
[26565] | 7273 | --*=?*)
|
---|
[25149] | 7274 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7275 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[16566] | 7276 | ac_shift=:
|
---|
| 7277 | ;;
|
---|
[26565] | 7278 | --*=)
|
---|
| 7279 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 7280 | ac_optarg=
|
---|
| 7281 | ac_shift=:
|
---|
| 7282 | ;;
|
---|
[25149] | 7283 | *)
|
---|
[16566] | 7284 | ac_option=$1
|
---|
| 7285 | ac_optarg=$2
|
---|
| 7286 | ac_shift=shift
|
---|
| 7287 | ;;
|
---|
| 7288 | esac
|
---|
| 7289 |
|
---|
| 7290 | case $ac_option in
|
---|
| 7291 | # Handling of the options.
|
---|
| 7292 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 7293 | ac_cs_recheck=: ;;
|
---|
[25149] | 7294 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 7295 | $as_echo "$ac_cs_version"; exit ;;
|
---|
[26565] | 7296 | --config | --confi | --conf | --con | --co | --c )
|
---|
| 7297 | $as_echo "$ac_cs_config"; exit ;;
|
---|
[25149] | 7298 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[16566] | 7299 | debug=: ;;
|
---|
| 7300 | --file | --fil | --fi | --f )
|
---|
| 7301 | $ac_shift
|
---|
[25149] | 7302 | case $ac_optarg in
|
---|
| 7303 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[26565] | 7304 | '') as_fn_error $? "missing file argument" ;;
|
---|
[25149] | 7305 | esac
|
---|
[26565] | 7306 | as_fn_append CONFIG_FILES " '$ac_optarg'"
|
---|
[16566] | 7307 | ac_need_defaults=false;;
|
---|
| 7308 | --header | --heade | --head | --hea )
|
---|
| 7309 | $ac_shift
|
---|
[25149] | 7310 | case $ac_optarg in
|
---|
| 7311 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 7312 | esac
|
---|
[26565] | 7313 | as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
---|
[16566] | 7314 | ac_need_defaults=false;;
|
---|
[25149] | 7315 | --he | --h)
|
---|
| 7316 | # Conflict between --help and --header
|
---|
[26565] | 7317 | as_fn_error $? "ambiguous option: \`$1'
|
---|
| 7318 | Try \`$0 --help' for more information.";;
|
---|
[25149] | 7319 | --help | --hel | -h )
|
---|
| 7320 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[16566] | 7321 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 7322 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 7323 | ac_cs_silent=: ;;
|
---|
| 7324 |
|
---|
| 7325 | # This is an error.
|
---|
[26565] | 7326 | -*) as_fn_error $? "unrecognized option: \`$1'
|
---|
| 7327 | Try \`$0 --help' for more information." ;;
|
---|
[16566] | 7328 |
|
---|
[26565] | 7329 | *) as_fn_append ac_config_targets " $1"
|
---|
[25149] | 7330 | ac_need_defaults=false ;;
|
---|
[16566] | 7331 |
|
---|
| 7332 | esac
|
---|
| 7333 | shift
|
---|
| 7334 | done
|
---|
| 7335 |
|
---|
| 7336 | ac_configure_extra_args=
|
---|
| 7337 |
|
---|
| 7338 | if $ac_cs_silent; then
|
---|
| 7339 | exec 6>/dev/null
|
---|
| 7340 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 7341 | fi
|
---|
| 7342 |
|
---|
| 7343 | _ACEOF
|
---|
[25149] | 7344 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[16566] | 7345 | if \$ac_cs_recheck; then
|
---|
[25149] | 7346 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 7347 | shift
|
---|
| 7348 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 7349 | CONFIG_SHELL='$SHELL'
|
---|
| 7350 | export CONFIG_SHELL
|
---|
| 7351 | exec "\$@"
|
---|
[16566] | 7352 | fi
|
---|
| 7353 |
|
---|
| 7354 | _ACEOF
|
---|
[25149] | 7355 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7356 | exec 5>>config.log
|
---|
| 7357 | {
|
---|
| 7358 | echo
|
---|
| 7359 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 7360 | ## Running $as_me. ##
|
---|
| 7361 | _ASBOX
|
---|
| 7362 | $as_echo "$ac_log"
|
---|
| 7363 | } >&5
|
---|
[16566] | 7364 |
|
---|
[25149] | 7365 | _ACEOF
|
---|
| 7366 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7367 | _ACEOF
|
---|
[16566] | 7368 |
|
---|
[25149] | 7369 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[21327] | 7370 |
|
---|
[25149] | 7371 | # Handling of arguments.
|
---|
[16566] | 7372 | for ac_config_target in $ac_config_targets
|
---|
| 7373 | do
|
---|
[25149] | 7374 | case $ac_config_target in
|
---|
| 7375 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 7376 | "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
|
---|
| 7377 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 7378 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 7379 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 7380 |
|
---|
[26565] | 7381 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
---|
[16566] | 7382 | esac
|
---|
| 7383 | done
|
---|
| 7384 |
|
---|
[25149] | 7385 |
|
---|
[16566] | 7386 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 7387 | # then the envvar interface is used. Set only those that are not.
|
---|
| 7388 | # We use the long form for the default assignment because of an extremely
|
---|
| 7389 | # bizarre bug on SunOS 4.1.3.
|
---|
| 7390 | if $ac_need_defaults; then
|
---|
| 7391 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 7392 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 7393 | fi
|
---|
| 7394 |
|
---|
| 7395 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[25149] | 7396 | # simply because there is no reason against having it here, and in addition,
|
---|
[16566] | 7397 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[25149] | 7398 | # Hook for its removal unless debugging.
|
---|
| 7399 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 7400 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[16566] | 7401 | $debug ||
|
---|
| 7402 | {
|
---|
[26565] | 7403 | tmp= ac_tmp=
|
---|
[25149] | 7404 | trap 'exit_status=$?
|
---|
[26565] | 7405 | : "${ac_tmp:=$tmp}"
|
---|
| 7406 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
---|
[25149] | 7407 | ' 0
|
---|
[26565] | 7408 | trap 'as_fn_exit 1' 1 2 13 15
|
---|
[16566] | 7409 | }
|
---|
| 7410 | # Create a (secure) tmp directory for tmp files.
|
---|
| 7411 |
|
---|
| 7412 | {
|
---|
[25149] | 7413 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[26565] | 7414 | test -d "$tmp"
|
---|
[16566] | 7415 | } ||
|
---|
| 7416 | {
|
---|
[25149] | 7417 | tmp=./conf$$-$RANDOM
|
---|
| 7418 | (umask 077 && mkdir "$tmp")
|
---|
[26565] | 7419 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
---|
| 7420 | ac_tmp=$tmp
|
---|
[23356] | 7421 |
|
---|
[25149] | 7422 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 7423 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 7424 | # This happens for instance with `./config.status config.h'.
|
---|
| 7425 | if test -n "$CONFIG_FILES"; then
|
---|
| 7426 |
|
---|
| 7427 |
|
---|
[26565] | 7428 | ac_cr=`echo X | tr X '\015'`
|
---|
| 7429 | # On cygwin, bash can eat \r inside `` if the user requested igncr.
|
---|
| 7430 | # But we know of no other shell where ac_cr would be empty at this
|
---|
| 7431 | # point, so we can use a bashism as a fallback.
|
---|
| 7432 | if test "x$ac_cr" = x; then
|
---|
| 7433 | eval ac_cr=\$\'\\r\'
|
---|
| 7434 | fi
|
---|
[25149] | 7435 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 7436 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
| 7437 | ac_cs_awk_cr='\\r'
|
---|
| 7438 | else
|
---|
| 7439 | ac_cs_awk_cr=$ac_cr
|
---|
| 7440 | fi
|
---|
| 7441 |
|
---|
[26565] | 7442 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
---|
[23356] | 7443 | _ACEOF
|
---|
[16566] | 7444 |
|
---|
[23356] | 7445 |
|
---|
[25149] | 7446 | {
|
---|
| 7447 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 7448 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 7449 | echo "_ACEOF"
|
---|
| 7450 | } >conf$$subs.sh ||
|
---|
[26565] | 7451 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
| 7452 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
---|
[25149] | 7453 | ac_delim='%!_!# '
|
---|
| 7454 | for ac_last_try in false false false false false :; do
|
---|
| 7455 | . ./conf$$subs.sh ||
|
---|
[26565] | 7456 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[23356] | 7457 |
|
---|
[25149] | 7458 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 7459 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 7460 | break
|
---|
| 7461 | elif $ac_last_try; then
|
---|
[26565] | 7462 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
---|
[25149] | 7463 | else
|
---|
| 7464 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7465 | fi
|
---|
| 7466 | done
|
---|
| 7467 | rm -f conf$$subs.sh
|
---|
[21327] | 7468 |
|
---|
[25149] | 7469 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[26565] | 7470 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
---|
[16566] | 7471 | _ACEOF
|
---|
[25149] | 7472 | sed -n '
|
---|
| 7473 | h
|
---|
| 7474 | s/^/S["/; s/!.*/"]=/
|
---|
| 7475 | p
|
---|
| 7476 | g
|
---|
| 7477 | s/^[^!]*!//
|
---|
| 7478 | :repl
|
---|
| 7479 | t repl
|
---|
| 7480 | s/'"$ac_delim"'$//
|
---|
| 7481 | t delim
|
---|
| 7482 | :nl
|
---|
| 7483 | h
|
---|
[26565] | 7484 | s/\(.\{148\}\)..*/\1/
|
---|
[25149] | 7485 | t more1
|
---|
| 7486 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 7487 | p
|
---|
| 7488 | n
|
---|
| 7489 | b repl
|
---|
| 7490 | :more1
|
---|
| 7491 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7492 | p
|
---|
| 7493 | g
|
---|
| 7494 | s/.\{148\}//
|
---|
| 7495 | t nl
|
---|
| 7496 | :delim
|
---|
| 7497 | h
|
---|
[26565] | 7498 | s/\(.\{148\}\)..*/\1/
|
---|
[25149] | 7499 | t more2
|
---|
| 7500 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 7501 | p
|
---|
| 7502 | b
|
---|
| 7503 | :more2
|
---|
| 7504 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 7505 | p
|
---|
| 7506 | g
|
---|
| 7507 | s/.\{148\}//
|
---|
| 7508 | t delim
|
---|
| 7509 | ' <conf$$subs.awk | sed '
|
---|
| 7510 | /^[^""]/{
|
---|
| 7511 | N
|
---|
| 7512 | s/\n//
|
---|
| 7513 | }
|
---|
| 7514 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7515 | rm -f conf$$subs.awk
|
---|
| 7516 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7517 | _ACAWK
|
---|
[26565] | 7518 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
---|
[25149] | 7519 | for (key in S) S_is_set[key] = 1
|
---|
| 7520 | FS = ""
|
---|
[16566] | 7521 |
|
---|
[25149] | 7522 | }
|
---|
| 7523 | {
|
---|
| 7524 | line = $ 0
|
---|
| 7525 | nfields = split(line, field, "@")
|
---|
| 7526 | substed = 0
|
---|
| 7527 | len = length(field[1])
|
---|
| 7528 | for (i = 2; i < nfields; i++) {
|
---|
| 7529 | key = field[i]
|
---|
| 7530 | keylen = length(key)
|
---|
| 7531 | if (S_is_set[key]) {
|
---|
| 7532 | value = S[key]
|
---|
| 7533 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 7534 | len += length(value) + length(field[++i])
|
---|
| 7535 | substed = 1
|
---|
| 7536 | } else
|
---|
| 7537 | len += 1 + keylen
|
---|
| 7538 | }
|
---|
| 7539 |
|
---|
| 7540 | print line
|
---|
| 7541 | }
|
---|
| 7542 |
|
---|
| 7543 | _ACAWK
|
---|
| 7544 | _ACEOF
|
---|
| 7545 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7546 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 7547 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 7548 | else
|
---|
| 7549 | cat
|
---|
[26565] | 7550 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
---|
| 7551 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
---|
[25149] | 7552 | _ACEOF
|
---|
| 7553 |
|
---|
[26565] | 7554 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
---|
| 7555 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
---|
[25149] | 7556 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 7557 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 7558 | if test "x$srcdir" = x.; then
|
---|
[26565] | 7559 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
---|
| 7560 | h
|
---|
| 7561 | s///
|
---|
| 7562 | s/^/:/
|
---|
| 7563 | s/[ ]*$/:/
|
---|
| 7564 | s/:\$(srcdir):/:/g
|
---|
| 7565 | s/:\${srcdir}:/:/g
|
---|
| 7566 | s/:@srcdir@:/:/g
|
---|
| 7567 | s/^:*//
|
---|
[25149] | 7568 | s/:*$//
|
---|
[26565] | 7569 | x
|
---|
| 7570 | s/\(=[ ]*\).*/\1/
|
---|
| 7571 | G
|
---|
| 7572 | s/\n//
|
---|
[25149] | 7573 | s/^[^=]*=[ ]*$//
|
---|
| 7574 | }'
|
---|
| 7575 | fi
|
---|
| 7576 |
|
---|
| 7577 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[24874] | 7578 | fi # test -n "$CONFIG_FILES"
|
---|
[16566] | 7579 |
|
---|
[25149] | 7580 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 7581 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 7582 | # This happens for instance with `./config.status Makefile'.
|
---|
| 7583 | if test -n "$CONFIG_HEADERS"; then
|
---|
[26565] | 7584 | cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
---|
[25149] | 7585 | BEGIN {
|
---|
[16566] | 7586 | _ACEOF
|
---|
[25149] | 7587 |
|
---|
| 7588 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 7589 | # here-document in config.status, that substitutes the proper values into
|
---|
| 7590 | # config.h.in to produce config.h.
|
---|
| 7591 |
|
---|
| 7592 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 7593 | # handling of long lines.
|
---|
| 7594 | ac_delim='%!_!# '
|
---|
| 7595 | for ac_last_try in false false :; do
|
---|
[26565] | 7596 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 7597 | if test -z "$ac_tt"; then
|
---|
[25149] | 7598 | break
|
---|
| 7599 | elif $ac_last_try; then
|
---|
[26565] | 7600 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
---|
[25149] | 7601 | else
|
---|
| 7602 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 7603 | fi
|
---|
| 7604 | done
|
---|
| 7605 |
|
---|
| 7606 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 7607 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 7608 | # newline sequences.
|
---|
| 7609 |
|
---|
| 7610 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 7611 | sed -n '
|
---|
| 7612 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7613 | t rset
|
---|
| 7614 | :rset
|
---|
| 7615 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 7616 | t def
|
---|
| 7617 | d
|
---|
| 7618 | :def
|
---|
| 7619 | s/\\$//
|
---|
| 7620 | t bsnl
|
---|
| 7621 | s/["\\]/\\&/g
|
---|
| 7622 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7623 | D["\1"]=" \3"/p
|
---|
| 7624 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 7625 | d
|
---|
| 7626 | :bsnl
|
---|
| 7627 | s/["\\]/\\&/g
|
---|
| 7628 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 7629 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 7630 | t cont
|
---|
| 7631 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 7632 | t cont
|
---|
| 7633 | d
|
---|
| 7634 | :cont
|
---|
| 7635 | n
|
---|
| 7636 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 7637 | t clear
|
---|
| 7638 | :clear
|
---|
| 7639 | s/\\$//
|
---|
| 7640 | t bsnlc
|
---|
| 7641 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 7642 | d
|
---|
| 7643 | :bsnlc
|
---|
| 7644 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 7645 | b cont
|
---|
| 7646 | ' <confdefs.h | sed '
|
---|
| 7647 | s/'"$ac_delim"'/"\\\
|
---|
| 7648 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 7649 |
|
---|
| 7650 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7651 | for (key in D) D_is_set[key] = 1
|
---|
| 7652 | FS = ""
|
---|
| 7653 | }
|
---|
| 7654 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 7655 | line = \$ 0
|
---|
| 7656 | split(line, arg, " ")
|
---|
| 7657 | if (arg[1] == "#") {
|
---|
| 7658 | defundef = arg[2]
|
---|
| 7659 | mac1 = arg[3]
|
---|
| 7660 | } else {
|
---|
| 7661 | defundef = substr(arg[1], 2)
|
---|
| 7662 | mac1 = arg[2]
|
---|
| 7663 | }
|
---|
| 7664 | split(mac1, mac2, "(") #)
|
---|
| 7665 | macro = mac2[1]
|
---|
| 7666 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 7667 | if (D_is_set[macro]) {
|
---|
| 7668 | # Preserve the white space surrounding the "#".
|
---|
| 7669 | print prefix "define", macro P[macro] D[macro]
|
---|
| 7670 | next
|
---|
| 7671 | } else {
|
---|
| 7672 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 7673 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 7674 | # on some systems where configure will not decide to define it.
|
---|
| 7675 | if (defundef == "undef") {
|
---|
| 7676 | print "/*", prefix defundef, macro, "*/"
|
---|
| 7677 | next
|
---|
| 7678 | }
|
---|
| 7679 | }
|
---|
| 7680 | }
|
---|
| 7681 | { print }
|
---|
| 7682 | _ACAWK
|
---|
| 7683 | _ACEOF
|
---|
| 7684 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[26565] | 7685 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
---|
[25149] | 7686 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 7687 |
|
---|
| 7688 |
|
---|
| 7689 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
|
---|
| 7690 | shift
|
---|
| 7691 | for ac_tag
|
---|
| 7692 | do
|
---|
| 7693 | case $ac_tag in
|
---|
| 7694 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[16566] | 7695 | esac
|
---|
[25149] | 7696 | case $ac_mode$ac_tag in
|
---|
| 7697 | :[FHL]*:*);;
|
---|
[26565] | 7698 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
---|
[25149] | 7699 | :[FH]-) ac_tag=-:-;;
|
---|
| 7700 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 7701 | esac
|
---|
| 7702 | ac_save_IFS=$IFS
|
---|
| 7703 | IFS=:
|
---|
| 7704 | set x $ac_tag
|
---|
| 7705 | IFS=$ac_save_IFS
|
---|
| 7706 | shift
|
---|
| 7707 | ac_file=$1
|
---|
| 7708 | shift
|
---|
[16566] | 7709 |
|
---|
[25149] | 7710 | case $ac_mode in
|
---|
| 7711 | :L) ac_source=$1;;
|
---|
| 7712 | :[FH])
|
---|
| 7713 | ac_file_inputs=
|
---|
| 7714 | for ac_f
|
---|
| 7715 | do
|
---|
| 7716 | case $ac_f in
|
---|
[26565] | 7717 | -) ac_f="$ac_tmp/stdin";;
|
---|
[25149] | 7718 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 7719 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 7720 | # because $ac_f cannot contain `:'.
|
---|
| 7721 | test -f "$ac_f" ||
|
---|
| 7722 | case $ac_f in
|
---|
| 7723 | [\\/$]*) false;;
|
---|
| 7724 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 7725 | esac ||
|
---|
[26565] | 7726 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
---|
[25149] | 7727 | esac
|
---|
| 7728 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
[26565] | 7729 | as_fn_append ac_file_inputs " '$ac_f'"
|
---|
[25149] | 7730 | done
|
---|
| 7731 |
|
---|
| 7732 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 7733 | # use $as_me), people would be surprised to read:
|
---|
| 7734 | # /* config.h. Generated by config.status. */
|
---|
| 7735 | configure_input='Generated from '`
|
---|
| 7736 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 7737 | `' by configure.'
|
---|
| 7738 | if test x"$ac_file" != x-; then
|
---|
| 7739 | configure_input="$ac_file. $configure_input"
|
---|
[26565] | 7740 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
---|
[25149] | 7741 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 7742 | fi
|
---|
| 7743 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 7744 | case $configure_input in #(
|
---|
| 7745 | *\&* | *\|* | *\\* )
|
---|
| 7746 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 7747 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 7748 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 7749 | esac
|
---|
| 7750 |
|
---|
| 7751 | case $ac_tag in
|
---|
[26565] | 7752 | *:-:* | *:-) cat >"$ac_tmp/stdin" \
|
---|
| 7753 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
---|
[25149] | 7754 | esac
|
---|
| 7755 | ;;
|
---|
| 7756 | esac
|
---|
| 7757 |
|
---|
| 7758 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[16566] | 7759 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 7760 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 7761 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[25149] | 7762 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 7763 | $as_echo X"$ac_file" |
|
---|
| 7764 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 7765 | s//\1/
|
---|
| 7766 | q
|
---|
| 7767 | }
|
---|
| 7768 | /^X\(\/\/\)[^/].*/{
|
---|
| 7769 | s//\1/
|
---|
| 7770 | q
|
---|
| 7771 | }
|
---|
| 7772 | /^X\(\/\/\)$/{
|
---|
| 7773 | s//\1/
|
---|
| 7774 | q
|
---|
| 7775 | }
|
---|
| 7776 | /^X\(\/\).*/{
|
---|
| 7777 | s//\1/
|
---|
| 7778 | q
|
---|
| 7779 | }
|
---|
| 7780 | s/.*/./; q'`
|
---|
[26565] | 7781 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16566] | 7782 | ac_builddir=.
|
---|
| 7783 |
|
---|
[25149] | 7784 | case "$ac_dir" in
|
---|
| 7785 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7786 | *)
|
---|
| 7787 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 7788 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 7789 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 7790 | case $ac_top_builddir_sub in
|
---|
| 7791 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 7792 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 7793 | esac ;;
|
---|
| 7794 | esac
|
---|
| 7795 | ac_abs_top_builddir=$ac_pwd
|
---|
| 7796 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 7797 | # for backward compatibility:
|
---|
| 7798 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 7799 |
|
---|
| 7800 | case $srcdir in
|
---|
[25149] | 7801 | .) # We are building in place.
|
---|
[16566] | 7802 | ac_srcdir=.
|
---|
[25149] | 7803 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 7804 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 7805 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 7806 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 7807 | ac_top_srcdir=$srcdir
|
---|
| 7808 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 7809 | *) # Relative name.
|
---|
| 7810 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 7811 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 7812 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 7813 | esac
|
---|
[25149] | 7814 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 7815 |
|
---|
| 7816 |
|
---|
[25149] | 7817 | case $ac_mode in
|
---|
| 7818 | :F)
|
---|
| 7819 | #
|
---|
| 7820 | # CONFIG_FILE
|
---|
| 7821 | #
|
---|
[16566] | 7822 |
|
---|
| 7823 | case $INSTALL in
|
---|
| 7824 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[25149] | 7825 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[16566] | 7826 | esac
|
---|
[25149] | 7827 | _ACEOF
|
---|
[16566] | 7828 |
|
---|
[25149] | 7829 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 7830 | # If the template does not know about datarootdir, expand it.
|
---|
| 7831 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 7832 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
| 7833 | ac_sed_dataroot='
|
---|
| 7834 | /datarootdir/ {
|
---|
| 7835 | p
|
---|
| 7836 | q
|
---|
| 7837 | }
|
---|
| 7838 | /@datadir@/p
|
---|
| 7839 | /@docdir@/p
|
---|
| 7840 | /@infodir@/p
|
---|
| 7841 | /@localedir@/p
|
---|
[26565] | 7842 | /@mandir@/p'
|
---|
[25149] | 7843 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 7844 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 7845 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
[26565] | 7846 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
[25149] | 7847 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
[23356] | 7848 | _ACEOF
|
---|
[25149] | 7849 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7850 | ac_datarootdir_hack='
|
---|
| 7851 | s&@datadir@&$datadir&g
|
---|
| 7852 | s&@docdir@&$docdir&g
|
---|
| 7853 | s&@infodir@&$infodir&g
|
---|
| 7854 | s&@localedir@&$localedir&g
|
---|
| 7855 | s&@mandir@&$mandir&g
|
---|
[26565] | 7856 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
[25149] | 7857 | esac
|
---|
| 7858 | _ACEOF
|
---|
| 7859 |
|
---|
| 7860 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 7861 | # Shell code in configure.ac might set extrasub.
|
---|
| 7862 | # FIXME: do we really want to maintain this feature?
|
---|
| 7863 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 7864 | ac_sed_extra="$ac_vpsub
|
---|
[16566] | 7865 | $extrasub
|
---|
| 7866 | _ACEOF
|
---|
[25149] | 7867 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[16566] | 7868 | :t
|
---|
| 7869 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[25149] | 7870 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 7871 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 7872 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 7873 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 7874 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 7875 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 7876 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 7877 | s&@builddir@&$ac_builddir&;t t
|
---|
| 7878 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 7879 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 7880 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 7881 | $ac_datarootdir_hack
|
---|
| 7882 | "
|
---|
[26565] | 7883 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
---|
| 7884 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16566] | 7885 |
|
---|
[25149] | 7886 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
[26565] | 7887 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 7888 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
---|
| 7889 | "$ac_tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 7890 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 7891 | which seems to be undefined. Please make sure it is defined" >&5
|
---|
[25149] | 7892 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[26565] | 7893 | which seems to be undefined. Please make sure it is defined" >&2;}
|
---|
[16566] | 7894 |
|
---|
[26565] | 7895 | rm -f "$ac_tmp/stdin"
|
---|
[16566] | 7896 | case $ac_file in
|
---|
[26565] | 7897 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
---|
| 7898 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
---|
[25149] | 7899 | esac \
|
---|
[26565] | 7900 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[25149] | 7901 | ;;
|
---|
| 7902 | :H)
|
---|
| 7903 | #
|
---|
| 7904 | # CONFIG_HEADER
|
---|
| 7905 | #
|
---|
| 7906 | if test x"$ac_file" != x-; then
|
---|
| 7907 | {
|
---|
| 7908 | $as_echo "/* $configure_input */" \
|
---|
[26565] | 7909 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 7910 | } >"$ac_tmp/config.h" \
|
---|
| 7911 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
| 7912 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
---|
| 7913 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
---|
[25149] | 7914 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[16566] | 7915 | else
|
---|
[25149] | 7916 | rm -f "$ac_file"
|
---|
[26565] | 7917 | mv "$ac_tmp/config.h" "$ac_file" \
|
---|
| 7918 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
---|
[16566] | 7919 | fi
|
---|
| 7920 | else
|
---|
[25149] | 7921 | $as_echo "/* $configure_input */" \
|
---|
[26565] | 7922 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
---|
| 7923 | || as_fn_error $? "could not create -" "$LINENO" 5
|
---|
[16566] | 7924 | fi
|
---|
[25149] | 7925 | ;;
|
---|
[16566] | 7926 |
|
---|
| 7927 |
|
---|
[25149] | 7928 | esac
|
---|
| 7929 |
|
---|
| 7930 | done # for ac_tag
|
---|
| 7931 |
|
---|
| 7932 |
|
---|
[26565] | 7933 | as_fn_exit 0
|
---|
[16566] | 7934 | _ACEOF
|
---|
| 7935 | ac_clean_files=$ac_clean_files_save
|
---|
| 7936 |
|
---|
[25149] | 7937 | test $ac_write_fail = 0 ||
|
---|
[26565] | 7938 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
---|
[16566] | 7939 |
|
---|
[25149] | 7940 |
|
---|
[16566] | 7941 | # configure is writing to config.log, and then calls config.status.
|
---|
| 7942 | # config.status does its own redirection, appending to config.log.
|
---|
| 7943 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 7944 | # by configure, so config.status won't be able to write to it; its
|
---|
| 7945 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 7946 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 7947 | # appended to by config.status. When coming back to configure, we
|
---|
| 7948 | # need to make the FD available again.
|
---|
| 7949 | if test "$no_create" != yes; then
|
---|
| 7950 | ac_cs_success=:
|
---|
| 7951 | ac_config_status_args=
|
---|
| 7952 | test "$silent" = yes &&
|
---|
| 7953 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 7954 | exec 5>/dev/null
|
---|
| 7955 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 7956 | exec 5>>config.log
|
---|
| 7957 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 7958 | # would make configure fail if this is the last instruction.
|
---|
[26565] | 7959 | $ac_cs_success || as_fn_exit 1
|
---|
[16566] | 7960 | fi
|
---|
| 7961 |
|
---|
| 7962 | #
|
---|
| 7963 | # CONFIG_SUBDIRS section.
|
---|
| 7964 | #
|
---|
| 7965 | if test "$no_recursion" != yes; then
|
---|
| 7966 |
|
---|
[25149] | 7967 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
| 7968 | # so they do not pile up.
|
---|
[16566] | 7969 | ac_sub_configure_args=
|
---|
| 7970 | ac_prev=
|
---|
[25149] | 7971 | eval "set x $ac_configure_args"
|
---|
| 7972 | shift
|
---|
| 7973 | for ac_arg
|
---|
| 7974 | do
|
---|
[16566] | 7975 | if test -n "$ac_prev"; then
|
---|
| 7976 | ac_prev=
|
---|
| 7977 | continue
|
---|
| 7978 | fi
|
---|
| 7979 | case $ac_arg in
|
---|
| 7980 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 7981 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 7982 | ac_prev=cache_file ;;
|
---|
| 7983 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 7984 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 7985 | | --c=*)
|
---|
| 7986 | ;;
|
---|
| 7987 | --config-cache | -C)
|
---|
| 7988 | ;;
|
---|
| 7989 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 7990 | ac_prev=srcdir ;;
|
---|
| 7991 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 7992 | ;;
|
---|
| 7993 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 7994 | ac_prev=prefix ;;
|
---|
| 7995 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 7996 | ;;
|
---|
[25149] | 7997 | --disable-option-checking)
|
---|
| 7998 | ;;
|
---|
| 7999 | *)
|
---|
| 8000 | case $ac_arg in
|
---|
| 8001 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8002 | esac
|
---|
[26565] | 8003 | as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
|
---|
[16566] | 8004 | esac
|
---|
| 8005 | done
|
---|
| 8006 |
|
---|
| 8007 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 8008 | # in subdir configurations.
|
---|
[25149] | 8009 | ac_arg="--prefix=$prefix"
|
---|
| 8010 | case $ac_arg in
|
---|
| 8011 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8012 | esac
|
---|
| 8013 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[16566] | 8014 |
|
---|
[25149] | 8015 | # Pass --silent
|
---|
| 8016 | if test "$silent" = yes; then
|
---|
| 8017 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 8018 | fi
|
---|
| 8019 |
|
---|
| 8020 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
| 8021 | # different subdirs can have different --enable and --with options.
|
---|
| 8022 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
| 8023 |
|
---|
[16566] | 8024 | ac_popdir=`pwd`
|
---|
| 8025 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 8026 |
|
---|
| 8027 | # Do not complain, so a configure script can configure whichever
|
---|
| 8028 | # parts of a large source tree are present.
|
---|
[25149] | 8029 | test -d "$srcdir/$ac_dir" || continue
|
---|
[16566] | 8030 |
|
---|
[25149] | 8031 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
[26565] | 8032 | $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
|
---|
[25149] | 8033 | $as_echo "$ac_msg" >&6
|
---|
[26565] | 8034 | as_dir="$ac_dir"; as_fn_mkdir_p
|
---|
[16566] | 8035 | ac_builddir=.
|
---|
| 8036 |
|
---|
[25149] | 8037 | case "$ac_dir" in
|
---|
| 8038 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8039 | *)
|
---|
| 8040 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 8041 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 8042 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 8043 | case $ac_top_builddir_sub in
|
---|
| 8044 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8045 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8046 | esac ;;
|
---|
| 8047 | esac
|
---|
| 8048 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8049 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8050 | # for backward compatibility:
|
---|
| 8051 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16566] | 8052 |
|
---|
| 8053 | case $srcdir in
|
---|
[25149] | 8054 | .) # We are building in place.
|
---|
[16566] | 8055 | ac_srcdir=.
|
---|
[25149] | 8056 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8057 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8058 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16566] | 8059 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25149] | 8060 | ac_top_srcdir=$srcdir
|
---|
| 8061 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8062 | *) # Relative name.
|
---|
| 8063 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8064 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8065 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16566] | 8066 | esac
|
---|
[25149] | 8067 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16566] | 8068 |
|
---|
| 8069 |
|
---|
[25149] | 8070 | cd "$ac_dir"
|
---|
[16566] | 8071 |
|
---|
| 8072 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[25149] | 8073 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 8074 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 8075 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 8076 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 8077 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 8078 | # This should be Cygnus configure.
|
---|
| 8079 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[16566] | 8080 | else
|
---|
[26565] | 8081 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
|
---|
[25149] | 8082 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[16566] | 8083 | ac_sub_configure=
|
---|
| 8084 | fi
|
---|
| 8085 |
|
---|
| 8086 | # The recursion is here.
|
---|
| 8087 | if test -n "$ac_sub_configure"; then
|
---|
| 8088 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 8089 | case $cache_file in
|
---|
| 8090 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[25149] | 8091 | *) # Relative name.
|
---|
| 8092 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[16566] | 8093 | esac
|
---|
| 8094 |
|
---|
[26565] | 8095 | { $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] | 8096 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[16566] | 8097 | # The eval makes quoting arguments work.
|
---|
[25149] | 8098 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 8099 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
[26565] | 8100 | as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
|
---|
[16566] | 8101 | fi
|
---|
| 8102 |
|
---|
[25149] | 8103 | cd "$ac_popdir"
|
---|
[16566] | 8104 | done
|
---|
| 8105 | fi
|
---|
[25149] | 8106 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
[26565] | 8107 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
[25149] | 8108 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 8109 | fi
|
---|
[16566] | 8110 |
|
---|
| 8111 |
|
---|
| 8112 |
|
---|