| 1 | #! /bin/sh | 
|---|
| 2 | # Guess values for system-dependent variables and create Makefiles. | 
|---|
| 3 | # Generated by GNU Autoconf 2.68. | 
|---|
| 4 | # | 
|---|
| 5 | # | 
|---|
| 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 
|---|
| 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 
|---|
| 8 | # Foundation, Inc. | 
|---|
| 9 | # | 
|---|
| 10 | # | 
|---|
| 11 | # This configure script is free software; the Free Software Foundation | 
|---|
| 12 | # gives unlimited permission to copy, distribute and modify it. | 
|---|
| 13 | ## -------------------- ## | 
|---|
| 14 | ## M4sh Initialization. ## | 
|---|
| 15 | ## -------------------- ## | 
|---|
| 16 |  | 
|---|
| 17 | # Be more Bourne compatible | 
|---|
| 18 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 
|---|
| 20 | emulate sh | 
|---|
| 21 | NULLCMD=: | 
|---|
| 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 
|---|
| 23 | # is contrary to our usage.  Disable this feature. | 
|---|
| 24 | alias -g '${1+"$@"}'='"$@"' | 
|---|
| 25 | setopt NO_GLOB_SUBST | 
|---|
| 26 | else | 
|---|
| 27 | case `(set -o) 2>/dev/null` in #( | 
|---|
| 28 | *posix*) : | 
|---|
| 29 | set -o posix ;; #( | 
|---|
| 30 | *) : | 
|---|
| 31 | ;; | 
|---|
| 32 | esac | 
|---|
| 33 | fi | 
|---|
| 34 |  | 
|---|
| 35 |  | 
|---|
| 36 | as_nl=' | 
|---|
| 37 | ' | 
|---|
| 38 | export as_nl | 
|---|
| 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 
|---|
| 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
|---|
| 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 
|---|
| 44 | # but without wasting forks for bash or zsh. | 
|---|
| 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 
|---|
| 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 47 | as_echo='print -r --' | 
|---|
| 48 | as_echo_n='print -rn --' | 
|---|
| 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 50 | as_echo='printf %s\n' | 
|---|
| 51 | as_echo_n='printf %s' | 
|---|
| 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; | 
|---|
| 60 | case $arg in #( | 
|---|
| 61 | *"$as_nl"*) | 
|---|
| 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 
|---|
| 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 
|---|
| 64 | esac; | 
|---|
| 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 
|---|
| 66 | ' | 
|---|
| 67 | export as_echo_n_body | 
|---|
| 68 | as_echo_n='sh -c $as_echo_n_body as_echo' | 
|---|
| 69 | fi | 
|---|
| 70 | export as_echo_body | 
|---|
| 71 | as_echo='sh -c $as_echo_body as_echo' | 
|---|
| 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 |  | 
|---|
| 83 |  | 
|---|
| 84 | # IFS | 
|---|
| 85 | # We need space, tab and new line, in precisely that order.  Quoting is | 
|---|
| 86 | # there to prevent editors from complaining about space-tab. | 
|---|
| 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 
|---|
| 88 | # splitting by setting IFS to empty value.) | 
|---|
| 89 | IFS=" ""        $as_nl" | 
|---|
| 90 |  | 
|---|
| 91 | # Find who we are.  Look in the path if we contain no directory separator. | 
|---|
| 92 | as_myself= | 
|---|
| 93 | case $0 in #(( | 
|---|
| 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=. | 
|---|
| 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 101 | done | 
|---|
| 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 | 
|---|
| 113 | exit 1 | 
|---|
| 114 | fi | 
|---|
| 115 |  | 
|---|
| 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 || : | 
|---|
| 123 | done | 
|---|
| 124 | PS1='$ ' | 
|---|
| 125 | PS2='> ' | 
|---|
| 126 | PS4='+ ' | 
|---|
| 127 |  | 
|---|
| 128 | # NLS nuisances. | 
|---|
| 129 | LC_ALL=C | 
|---|
| 130 | export LC_ALL | 
|---|
| 131 | LANGUAGE=C | 
|---|
| 132 | export LANGUAGE | 
|---|
| 133 |  | 
|---|
| 134 | # CDPATH. | 
|---|
| 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
|---|
| 136 |  | 
|---|
| 137 | if test "x$CONFIG_SHELL" = x; then | 
|---|
| 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 | 
|---|
| 145 | else | 
|---|
| 146 | case \`(set -o) 2>/dev/null\` in #( | 
|---|
| 147 | *posix*) : | 
|---|
| 148 | set -o posix ;; #( | 
|---|
| 149 | *) : | 
|---|
| 150 | ;; | 
|---|
| 151 | esac | 
|---|
| 152 | fi | 
|---|
| 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; } | 
|---|
| 159 |  | 
|---|
| 160 | exitcode=0 | 
|---|
| 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 : | 
|---|
| 166 |  | 
|---|
| 167 | else | 
|---|
| 168 | exitcode=1; echo positional parameters were not saved. | 
|---|
| 169 | fi | 
|---|
| 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 | 
|---|
| 178 | else | 
|---|
| 179 | as_have_required=no | 
|---|
| 180 | fi | 
|---|
| 181 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | 
|---|
| 182 |  | 
|---|
| 183 | else | 
|---|
| 184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 185 | as_found=false | 
|---|
| 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=. | 
|---|
| 190 | as_found=: | 
|---|
| 191 | case $as_dir in #( | 
|---|
| 192 | /*) | 
|---|
| 193 | for as_base in sh bash ksh sh5; do | 
|---|
| 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 | 
|---|
| 203 | done;; | 
|---|
| 204 | esac | 
|---|
| 205 | as_found=false | 
|---|
| 206 | done | 
|---|
| 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; } | 
|---|
| 211 | IFS=$as_save_IFS | 
|---|
| 212 |  | 
|---|
| 213 |  | 
|---|
| 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+"$@"} | 
|---|
| 230 | fi | 
|---|
| 231 |  | 
|---|
| 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 bug-autoconf@gnu.org 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 | 
|---|
| 245 | fi | 
|---|
| 246 | fi | 
|---|
| 247 | fi | 
|---|
| 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 | 
|---|
| 253 |  | 
|---|
| 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 | 
|---|
| 265 |  | 
|---|
| 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 | 
|---|
| 273 |  | 
|---|
| 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 | 
|---|
| 283 |  | 
|---|
| 284 | # as_fn_mkdir_p | 
|---|
| 285 | # ------------- | 
|---|
| 286 | # Create "$as_dir" as a directory, including parents if necessary. | 
|---|
| 287 | as_fn_mkdir_p () | 
|---|
| 288 | { | 
|---|
| 289 |  | 
|---|
| 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" | 
|---|
| 328 |  | 
|---|
| 329 |  | 
|---|
| 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 | 
|---|
| 348 |  | 
|---|
| 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 | 
|---|
| 365 |  | 
|---|
| 366 |  | 
|---|
| 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 | 
|---|
| 382 |  | 
|---|
| 383 | if expr a : '\(a\)' >/dev/null 2>&1 && | 
|---|
| 384 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 
|---|
| 385 | as_expr=expr | 
|---|
| 386 | else | 
|---|
| 387 | as_expr=false | 
|---|
| 388 | fi | 
|---|
| 389 |  | 
|---|
| 390 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 
|---|
| 391 | as_basename=basename | 
|---|
| 392 | else | 
|---|
| 393 | as_basename=false | 
|---|
| 394 | fi | 
|---|
| 395 |  | 
|---|
| 396 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 
|---|
| 397 | as_dirname=dirname | 
|---|
| 398 | else | 
|---|
| 399 | as_dirname=false | 
|---|
| 400 | fi | 
|---|
| 401 |  | 
|---|
| 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'` | 
|---|
| 420 |  | 
|---|
| 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 | 
|---|
| 427 |  | 
|---|
| 428 |  | 
|---|
| 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.  :-) | 
|---|
| 434 | sed -n ' | 
|---|
| 435 | p | 
|---|
| 436 | /[$]LINENO/= | 
|---|
| 437 | ' <$as_myself | | 
|---|
| 438 | sed ' | 
|---|
| 439 | s/[$]LINENO.*/&-/ | 
|---|
| 440 | t lineno | 
|---|
| 441 | b | 
|---|
| 442 | :lineno | 
|---|
| 443 | N | 
|---|
| 444 | :loop | 
|---|
| 445 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 
|---|
| 446 | t loop | 
|---|
| 447 | s/-\n.*// | 
|---|
| 448 | ' >$as_me.lineno && | 
|---|
| 449 | chmod +x "$as_me.lineno" || | 
|---|
| 450 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 
|---|
| 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 | 
|---|
| 454 | # original and so on.  Autoconf is especially sensitive to this). | 
|---|
| 455 | . "./$as_me.lineno" | 
|---|
| 456 | # Exit status is that of the last command. | 
|---|
| 457 | exit | 
|---|
| 458 | } | 
|---|
| 459 |  | 
|---|
| 460 | ECHO_C= ECHO_N= ECHO_T= | 
|---|
| 461 | case `echo -n x` in #((((( | 
|---|
| 462 | -n*) | 
|---|
| 463 | case `echo 'xy\c'` in | 
|---|
| 464 | *c*) ECHO_T=' ';;     # ECHO_T is single tab character. | 
|---|
| 465 | xy)  ECHO_C='\c';; | 
|---|
| 466 | *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null | 
|---|
| 467 | ECHO_T=' ';; | 
|---|
| 468 | esac;; | 
|---|
| 469 | *) | 
|---|
| 470 | ECHO_N='-n';; | 
|---|
| 471 | esac | 
|---|
| 472 |  | 
|---|
| 473 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 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 | 
|---|
| 492 | as_ln_s='cp -p' | 
|---|
| 493 | fi | 
|---|
| 494 | else | 
|---|
| 495 | as_ln_s='cp -p' | 
|---|
| 496 | fi | 
|---|
| 497 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
|---|
| 498 | rmdir conf$$.dir 2>/dev/null | 
|---|
| 499 |  | 
|---|
| 500 | if mkdir -p . 2>/dev/null; then | 
|---|
| 501 | as_mkdir_p='mkdir -p "$as_dir"' | 
|---|
| 502 | else | 
|---|
| 503 | test -d ./-p && rmdir ./-p | 
|---|
| 504 | as_mkdir_p=false | 
|---|
| 505 | fi | 
|---|
| 506 |  | 
|---|
| 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 | 
|---|
| 520 | case $1 in #( | 
|---|
| 521 | -*)set "./$1";; | 
|---|
| 522 | esac; | 
|---|
| 523 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 
|---|
| 524 | ???[sx]*):;;*)false;;esac;fi | 
|---|
| 525 | '\'' sh | 
|---|
| 526 | ' | 
|---|
| 527 | fi | 
|---|
| 528 | as_executable_p=$as_test_x | 
|---|
| 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 |  | 
|---|
| 537 | test -n "$DJDIR" || exec 7<&0 </dev/null | 
|---|
| 538 | exec 6>&1 | 
|---|
| 539 |  | 
|---|
| 540 | # Name of the host. | 
|---|
| 541 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 
|---|
| 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 | 
|---|
| 549 | ac_clean_files= | 
|---|
| 550 | ac_config_libobj_dir=. | 
|---|
| 551 | LIBOBJS= | 
|---|
| 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= | 
|---|
| 563 | PACKAGE_URL= | 
|---|
| 564 |  | 
|---|
| 565 | ac_unique_file="Makefile.in" | 
|---|
| 566 | ac_default_prefix=/usr/local/samba | 
|---|
| 567 | # Factoring default headers for most tests. | 
|---|
| 568 | ac_includes_default="\ | 
|---|
| 569 | #include <stdio.h> | 
|---|
| 570 | #ifdef HAVE_SYS_TYPES_H | 
|---|
| 571 | # include <sys/types.h> | 
|---|
| 572 | #endif | 
|---|
| 573 | #ifdef HAVE_SYS_STAT_H | 
|---|
| 574 | # include <sys/stat.h> | 
|---|
| 575 | #endif | 
|---|
| 576 | #ifdef STDC_HEADERS | 
|---|
| 577 | # include <stdlib.h> | 
|---|
| 578 | # include <stddef.h> | 
|---|
| 579 | #else | 
|---|
| 580 | # ifdef HAVE_STDLIB_H | 
|---|
| 581 | #  include <stdlib.h> | 
|---|
| 582 | # endif | 
|---|
| 583 | #endif | 
|---|
| 584 | #ifdef HAVE_STRING_H | 
|---|
| 585 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | 
|---|
| 586 | #  include <memory.h> | 
|---|
| 587 | # endif | 
|---|
| 588 | # include <string.h> | 
|---|
| 589 | #endif | 
|---|
| 590 | #ifdef HAVE_STRINGS_H | 
|---|
| 591 | # include <strings.h> | 
|---|
| 592 | #endif | 
|---|
| 593 | #ifdef HAVE_INTTYPES_H | 
|---|
| 594 | # include <inttypes.h> | 
|---|
| 595 | #endif | 
|---|
| 596 | #ifdef HAVE_STDINT_H | 
|---|
| 597 | # include <stdint.h> | 
|---|
| 598 | #endif | 
|---|
| 599 | #ifdef HAVE_UNISTD_H | 
|---|
| 600 | # include <unistd.h> | 
|---|
| 601 | #endif" | 
|---|
| 602 |  | 
|---|
| 603 | ac_subst_vars='LTLIBOBJS | 
|---|
| 604 | LIBOBJS | 
|---|
| 605 | DYNEXP | 
|---|
| 606 | ROFF | 
|---|
| 607 | builddir | 
|---|
| 608 | EGREP | 
|---|
| 609 | GREP | 
|---|
| 610 | CPP | 
|---|
| 611 | KRB5CONFIG | 
|---|
| 612 | EXTRA_ALL_TARGETS | 
|---|
| 613 | EXTRA_SBIN_PROGS | 
|---|
| 614 | EXTRA_BIN_PROGS | 
|---|
| 615 | SHLIB_PROGS | 
|---|
| 616 | INSTALLCLIENTCMD_A | 
|---|
| 617 | INSTALLCLIENTCMD_SH | 
|---|
| 618 | SHLIBEXT | 
|---|
| 619 | PICSUFFIX | 
|---|
| 620 | PICFLAGS | 
|---|
| 621 | HOST_OS | 
|---|
| 622 | SHLD | 
|---|
| 623 | SONAMEFLAG | 
|---|
| 624 | LDSHFLAGS | 
|---|
| 625 | SAMBA_SOURCE | 
|---|
| 626 | host_os | 
|---|
| 627 | host_vendor | 
|---|
| 628 | host_cpu | 
|---|
| 629 | host | 
|---|
| 630 | build_os | 
|---|
| 631 | build_vendor | 
|---|
| 632 | build_cpu | 
|---|
| 633 | build | 
|---|
| 634 | INSTALL_DATA | 
|---|
| 635 | INSTALL_SCRIPT | 
|---|
| 636 | INSTALL_PROGRAM | 
|---|
| 637 | OBJEXT | 
|---|
| 638 | EXEEXT | 
|---|
| 639 | ac_ct_CC | 
|---|
| 640 | CPPFLAGS | 
|---|
| 641 | LDFLAGS | 
|---|
| 642 | CFLAGS | 
|---|
| 643 | CC | 
|---|
| 644 | target_alias | 
|---|
| 645 | host_alias | 
|---|
| 646 | build_alias | 
|---|
| 647 | LIBS | 
|---|
| 648 | ECHO_T | 
|---|
| 649 | ECHO_N | 
|---|
| 650 | ECHO_C | 
|---|
| 651 | DEFS | 
|---|
| 652 | mandir | 
|---|
| 653 | localedir | 
|---|
| 654 | libdir | 
|---|
| 655 | psdir | 
|---|
| 656 | pdfdir | 
|---|
| 657 | dvidir | 
|---|
| 658 | htmldir | 
|---|
| 659 | infodir | 
|---|
| 660 | docdir | 
|---|
| 661 | oldincludedir | 
|---|
| 662 | includedir | 
|---|
| 663 | localstatedir | 
|---|
| 664 | sharedstatedir | 
|---|
| 665 | sysconfdir | 
|---|
| 666 | datadir | 
|---|
| 667 | datarootdir | 
|---|
| 668 | libexecdir | 
|---|
| 669 | sbindir | 
|---|
| 670 | bindir | 
|---|
| 671 | program_transform_name | 
|---|
| 672 | prefix | 
|---|
| 673 | exec_prefix | 
|---|
| 674 | PACKAGE_URL | 
|---|
| 675 | PACKAGE_BUGREPORT | 
|---|
| 676 | PACKAGE_STRING | 
|---|
| 677 | PACKAGE_VERSION | 
|---|
| 678 | PACKAGE_TARNAME | 
|---|
| 679 | PACKAGE_NAME | 
|---|
| 680 | PATH_SEPARATOR | 
|---|
| 681 | SHELL' | 
|---|
| 682 | ac_subst_files='' | 
|---|
| 683 | ac_user_opts=' | 
|---|
| 684 | enable_option_checking | 
|---|
| 685 | with_fhs | 
|---|
| 686 | with_samba_source | 
|---|
| 687 | enable_debug | 
|---|
| 688 | enable_developer | 
|---|
| 689 | with_krb5 | 
|---|
| 690 | ' | 
|---|
| 691 | ac_precious_vars='build_alias | 
|---|
| 692 | host_alias | 
|---|
| 693 | target_alias | 
|---|
| 694 | CC | 
|---|
| 695 | CFLAGS | 
|---|
| 696 | LDFLAGS | 
|---|
| 697 | LIBS | 
|---|
| 698 | CPPFLAGS | 
|---|
| 699 | CPP' | 
|---|
| 700 |  | 
|---|
| 701 |  | 
|---|
| 702 | # Initialize some variables set by options. | 
|---|
| 703 | ac_init_help= | 
|---|
| 704 | ac_init_version=false | 
|---|
| 705 | ac_unrecognized_opts= | 
|---|
| 706 | ac_unrecognized_sep= | 
|---|
| 707 | # The variables have the same names as the options, with | 
|---|
| 708 | # dashes changed to underlines. | 
|---|
| 709 | cache_file=/dev/null | 
|---|
| 710 | exec_prefix=NONE | 
|---|
| 711 | no_create= | 
|---|
| 712 | no_recursion= | 
|---|
| 713 | prefix=NONE | 
|---|
| 714 | program_prefix=NONE | 
|---|
| 715 | program_suffix=NONE | 
|---|
| 716 | program_transform_name=s,x,x, | 
|---|
| 717 | silent= | 
|---|
| 718 | site= | 
|---|
| 719 | srcdir= | 
|---|
| 720 | verbose= | 
|---|
| 721 | x_includes=NONE | 
|---|
| 722 | x_libraries=NONE | 
|---|
| 723 |  | 
|---|
| 724 | # Installation directory options. | 
|---|
| 725 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|---|
| 726 | # and all the variables that are supposed to be based on exec_prefix | 
|---|
| 727 | # by default will actually change. | 
|---|
| 728 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
|---|
| 729 | # (The list follows the same order as the GNU Coding Standards.) | 
|---|
| 730 | bindir='${exec_prefix}/bin' | 
|---|
| 731 | sbindir='${exec_prefix}/sbin' | 
|---|
| 732 | libexecdir='${exec_prefix}/libexec' | 
|---|
| 733 | datarootdir='${prefix}/share' | 
|---|
| 734 | datadir='${datarootdir}' | 
|---|
| 735 | sysconfdir='${prefix}/etc' | 
|---|
| 736 | sharedstatedir='${prefix}/com' | 
|---|
| 737 | localstatedir='${prefix}/var' | 
|---|
| 738 | includedir='${prefix}/include' | 
|---|
| 739 | oldincludedir='/usr/include' | 
|---|
| 740 | docdir='${datarootdir}/doc/${PACKAGE}' | 
|---|
| 741 | infodir='${datarootdir}/info' | 
|---|
| 742 | htmldir='${docdir}' | 
|---|
| 743 | dvidir='${docdir}' | 
|---|
| 744 | pdfdir='${docdir}' | 
|---|
| 745 | psdir='${docdir}' | 
|---|
| 746 | libdir='${exec_prefix}/lib' | 
|---|
| 747 | localedir='${datarootdir}/locale' | 
|---|
| 748 | mandir='${datarootdir}/man' | 
|---|
| 749 |  | 
|---|
| 750 | ac_prev= | 
|---|
| 751 | ac_dashdash= | 
|---|
| 752 | for ac_option | 
|---|
| 753 | do | 
|---|
| 754 | # If the previous option needs an argument, assign it. | 
|---|
| 755 | if test -n "$ac_prev"; then | 
|---|
| 756 | eval $ac_prev=\$ac_option | 
|---|
| 757 | ac_prev= | 
|---|
| 758 | continue | 
|---|
| 759 | fi | 
|---|
| 760 |  | 
|---|
| 761 | case $ac_option in | 
|---|
| 762 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 
|---|
| 763 | *=)   ac_optarg= ;; | 
|---|
| 764 | *)    ac_optarg=yes ;; | 
|---|
| 765 | esac | 
|---|
| 766 |  | 
|---|
| 767 | # Accept the important Cygnus configure options, so we can diagnose typos. | 
|---|
| 768 |  | 
|---|
| 769 | case $ac_dashdash$ac_option in | 
|---|
| 770 | --) | 
|---|
| 771 | ac_dashdash=yes ;; | 
|---|
| 772 |  | 
|---|
| 773 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
|---|
| 774 | ac_prev=bindir ;; | 
|---|
| 775 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
|---|
| 776 | bindir=$ac_optarg ;; | 
|---|
| 777 |  | 
|---|
| 778 | -build | --build | --buil | --bui | --bu) | 
|---|
| 779 | ac_prev=build_alias ;; | 
|---|
| 780 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
|---|
| 781 | build_alias=$ac_optarg ;; | 
|---|
| 782 |  | 
|---|
| 783 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|---|
| 784 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|---|
| 785 | ac_prev=cache_file ;; | 
|---|
| 786 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|---|
| 787 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
|---|
| 788 | cache_file=$ac_optarg ;; | 
|---|
| 789 |  | 
|---|
| 790 | --config-cache | -C) | 
|---|
| 791 | cache_file=config.cache ;; | 
|---|
| 792 |  | 
|---|
| 793 | -datadir | --datadir | --datadi | --datad) | 
|---|
| 794 | ac_prev=datadir ;; | 
|---|
| 795 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | 
|---|
| 796 | datadir=$ac_optarg ;; | 
|---|
| 797 |  | 
|---|
| 798 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | 
|---|
| 799 | | --dataroo | --dataro | --datar) | 
|---|
| 800 | ac_prev=datarootdir ;; | 
|---|
| 801 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 
|---|
| 802 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 
|---|
| 803 | datarootdir=$ac_optarg ;; | 
|---|
| 804 |  | 
|---|
| 805 | -disable-* | --disable-*) | 
|---|
| 806 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
|---|
| 807 | # Reject names that are not valid shell variable names. | 
|---|
| 808 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 809 | as_fn_error $? "invalid feature name: $ac_useropt" | 
|---|
| 810 | ac_useropt_orig=$ac_useropt | 
|---|
| 811 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 812 | case $ac_user_opts in | 
|---|
| 813 | *" | 
|---|
| 814 | "enable_$ac_useropt" | 
|---|
| 815 | "*) ;; | 
|---|
| 816 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | 
|---|
| 817 | ac_unrecognized_sep=', ';; | 
|---|
| 818 | esac | 
|---|
| 819 | eval enable_$ac_useropt=no ;; | 
|---|
| 820 |  | 
|---|
| 821 | -docdir | --docdir | --docdi | --doc | --do) | 
|---|
| 822 | ac_prev=docdir ;; | 
|---|
| 823 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 
|---|
| 824 | docdir=$ac_optarg ;; | 
|---|
| 825 |  | 
|---|
| 826 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | 
|---|
| 827 | ac_prev=dvidir ;; | 
|---|
| 828 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 
|---|
| 829 | dvidir=$ac_optarg ;; | 
|---|
| 830 |  | 
|---|
| 831 | -enable-* | --enable-*) | 
|---|
| 832 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
|---|
| 833 | # Reject names that are not valid shell variable names. | 
|---|
| 834 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 835 | as_fn_error $? "invalid feature name: $ac_useropt" | 
|---|
| 836 | ac_useropt_orig=$ac_useropt | 
|---|
| 837 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 838 | case $ac_user_opts in | 
|---|
| 839 | *" | 
|---|
| 840 | "enable_$ac_useropt" | 
|---|
| 841 | "*) ;; | 
|---|
| 842 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | 
|---|
| 843 | ac_unrecognized_sep=', ';; | 
|---|
| 844 | esac | 
|---|
| 845 | eval enable_$ac_useropt=\$ac_optarg ;; | 
|---|
| 846 |  | 
|---|
| 847 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
|---|
| 848 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
|---|
| 849 | | --exec | --exe | --ex) | 
|---|
| 850 | ac_prev=exec_prefix ;; | 
|---|
| 851 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
|---|
| 852 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
|---|
| 853 | | --exec=* | --exe=* | --ex=*) | 
|---|
| 854 | exec_prefix=$ac_optarg ;; | 
|---|
| 855 |  | 
|---|
| 856 | -gas | --gas | --ga | --g) | 
|---|
| 857 | # Obsolete; use --with-gas. | 
|---|
| 858 | with_gas=yes ;; | 
|---|
| 859 |  | 
|---|
| 860 | -help | --help | --hel | --he | -h) | 
|---|
| 861 | ac_init_help=long ;; | 
|---|
| 862 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
|---|
| 863 | ac_init_help=recursive ;; | 
|---|
| 864 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
|---|
| 865 | ac_init_help=short ;; | 
|---|
| 866 |  | 
|---|
| 867 | -host | --host | --hos | --ho) | 
|---|
| 868 | ac_prev=host_alias ;; | 
|---|
| 869 | -host=* | --host=* | --hos=* | --ho=*) | 
|---|
| 870 | host_alias=$ac_optarg ;; | 
|---|
| 871 |  | 
|---|
| 872 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | 
|---|
| 873 | ac_prev=htmldir ;; | 
|---|
| 874 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | 
|---|
| 875 | | --ht=*) | 
|---|
| 876 | htmldir=$ac_optarg ;; | 
|---|
| 877 |  | 
|---|
| 878 | -includedir | --includedir | --includedi | --included | --include \ | 
|---|
| 879 | | --includ | --inclu | --incl | --inc) | 
|---|
| 880 | ac_prev=includedir ;; | 
|---|
| 881 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
|---|
| 882 | | --includ=* | --inclu=* | --incl=* | --inc=*) | 
|---|
| 883 | includedir=$ac_optarg ;; | 
|---|
| 884 |  | 
|---|
| 885 | -infodir | --infodir | --infodi | --infod | --info | --inf) | 
|---|
| 886 | ac_prev=infodir ;; | 
|---|
| 887 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
|---|
| 888 | infodir=$ac_optarg ;; | 
|---|
| 889 |  | 
|---|
| 890 | -libdir | --libdir | --libdi | --libd) | 
|---|
| 891 | ac_prev=libdir ;; | 
|---|
| 892 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
|---|
| 893 | libdir=$ac_optarg ;; | 
|---|
| 894 |  | 
|---|
| 895 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
|---|
| 896 | | --libexe | --libex | --libe) | 
|---|
| 897 | ac_prev=libexecdir ;; | 
|---|
| 898 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
|---|
| 899 | | --libexe=* | --libex=* | --libe=*) | 
|---|
| 900 | libexecdir=$ac_optarg ;; | 
|---|
| 901 |  | 
|---|
| 902 | -localedir | --localedir | --localedi | --localed | --locale) | 
|---|
| 903 | ac_prev=localedir ;; | 
|---|
| 904 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | 
|---|
| 905 | localedir=$ac_optarg ;; | 
|---|
| 906 |  | 
|---|
| 907 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
|---|
| 908 | | --localstate | --localstat | --localsta | --localst | --locals) | 
|---|
| 909 | ac_prev=localstatedir ;; | 
|---|
| 910 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
|---|
| 911 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | 
|---|
| 912 | localstatedir=$ac_optarg ;; | 
|---|
| 913 |  | 
|---|
| 914 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
|---|
| 915 | ac_prev=mandir ;; | 
|---|
| 916 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
|---|
| 917 | mandir=$ac_optarg ;; | 
|---|
| 918 |  | 
|---|
| 919 | -nfp | --nfp | --nf) | 
|---|
| 920 | # Obsolete; use --without-fp. | 
|---|
| 921 | with_fp=no ;; | 
|---|
| 922 |  | 
|---|
| 923 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|---|
| 924 | | --no-cr | --no-c | -n) | 
|---|
| 925 | no_create=yes ;; | 
|---|
| 926 |  | 
|---|
| 927 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|---|
| 928 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
|---|
| 929 | no_recursion=yes ;; | 
|---|
| 930 |  | 
|---|
| 931 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
|---|
| 932 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
|---|
| 933 | | --oldin | --oldi | --old | --ol | --o) | 
|---|
| 934 | ac_prev=oldincludedir ;; | 
|---|
| 935 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
|---|
| 936 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
|---|
| 937 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
|---|
| 938 | oldincludedir=$ac_optarg ;; | 
|---|
| 939 |  | 
|---|
| 940 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|---|
| 941 | ac_prev=prefix ;; | 
|---|
| 942 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|---|
| 943 | prefix=$ac_optarg ;; | 
|---|
| 944 |  | 
|---|
| 945 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
|---|
| 946 | | --program-pre | --program-pr | --program-p) | 
|---|
| 947 | ac_prev=program_prefix ;; | 
|---|
| 948 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
|---|
| 949 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
|---|
| 950 | program_prefix=$ac_optarg ;; | 
|---|
| 951 |  | 
|---|
| 952 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
|---|
| 953 | | --program-suf | --program-su | --program-s) | 
|---|
| 954 | ac_prev=program_suffix ;; | 
|---|
| 955 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
|---|
| 956 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
|---|
| 957 | program_suffix=$ac_optarg ;; | 
|---|
| 958 |  | 
|---|
| 959 | -program-transform-name | --program-transform-name \ | 
|---|
| 960 | | --program-transform-nam | --program-transform-na \ | 
|---|
| 961 | | --program-transform-n | --program-transform- \ | 
|---|
| 962 | | --program-transform | --program-transfor \ | 
|---|
| 963 | | --program-transfo | --program-transf \ | 
|---|
| 964 | | --program-trans | --program-tran \ | 
|---|
| 965 | | --progr-tra | --program-tr | --program-t) | 
|---|
| 966 | ac_prev=program_transform_name ;; | 
|---|
| 967 | -program-transform-name=* | --program-transform-name=* \ | 
|---|
| 968 | | --program-transform-nam=* | --program-transform-na=* \ | 
|---|
| 969 | | --program-transform-n=* | --program-transform-=* \ | 
|---|
| 970 | | --program-transform=* | --program-transfor=* \ | 
|---|
| 971 | | --program-transfo=* | --program-transf=* \ | 
|---|
| 972 | | --program-trans=* | --program-tran=* \ | 
|---|
| 973 | | --progr-tra=* | --program-tr=* | --program-t=*) | 
|---|
| 974 | program_transform_name=$ac_optarg ;; | 
|---|
| 975 |  | 
|---|
| 976 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | 
|---|
| 977 | ac_prev=pdfdir ;; | 
|---|
| 978 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | 
|---|
| 979 | pdfdir=$ac_optarg ;; | 
|---|
| 980 |  | 
|---|
| 981 | -psdir | --psdir | --psdi | --psd | --ps) | 
|---|
| 982 | ac_prev=psdir ;; | 
|---|
| 983 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | 
|---|
| 984 | psdir=$ac_optarg ;; | 
|---|
| 985 |  | 
|---|
| 986 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 987 | | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 988 | silent=yes ;; | 
|---|
| 989 |  | 
|---|
| 990 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
|---|
| 991 | ac_prev=sbindir ;; | 
|---|
| 992 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
|---|
| 993 | | --sbi=* | --sb=*) | 
|---|
| 994 | sbindir=$ac_optarg ;; | 
|---|
| 995 |  | 
|---|
| 996 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
|---|
| 997 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
|---|
| 998 | | --sharedst | --shareds | --shared | --share | --shar \ | 
|---|
| 999 | | --sha | --sh) | 
|---|
| 1000 | ac_prev=sharedstatedir ;; | 
|---|
| 1001 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
|---|
| 1002 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
|---|
| 1003 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
|---|
| 1004 | | --sha=* | --sh=*) | 
|---|
| 1005 | sharedstatedir=$ac_optarg ;; | 
|---|
| 1006 |  | 
|---|
| 1007 | -site | --site | --sit) | 
|---|
| 1008 | ac_prev=site ;; | 
|---|
| 1009 | -site=* | --site=* | --sit=*) | 
|---|
| 1010 | site=$ac_optarg ;; | 
|---|
| 1011 |  | 
|---|
| 1012 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|---|
| 1013 | ac_prev=srcdir ;; | 
|---|
| 1014 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|---|
| 1015 | srcdir=$ac_optarg ;; | 
|---|
| 1016 |  | 
|---|
| 1017 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
|---|
| 1018 | | --syscon | --sysco | --sysc | --sys | --sy) | 
|---|
| 1019 | ac_prev=sysconfdir ;; | 
|---|
| 1020 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
|---|
| 1021 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
|---|
| 1022 | sysconfdir=$ac_optarg ;; | 
|---|
| 1023 |  | 
|---|
| 1024 | -target | --target | --targe | --targ | --tar | --ta | --t) | 
|---|
| 1025 | ac_prev=target_alias ;; | 
|---|
| 1026 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
|---|
| 1027 | target_alias=$ac_optarg ;; | 
|---|
| 1028 |  | 
|---|
| 1029 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
|---|
| 1030 | verbose=yes ;; | 
|---|
| 1031 |  | 
|---|
| 1032 | -version | --version | --versio | --versi | --vers | -V) | 
|---|
| 1033 | ac_init_version=: ;; | 
|---|
| 1034 |  | 
|---|
| 1035 | -with-* | --with-*) | 
|---|
| 1036 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
|---|
| 1037 | # Reject names that are not valid shell variable names. | 
|---|
| 1038 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 1039 | as_fn_error $? "invalid package name: $ac_useropt" | 
|---|
| 1040 | ac_useropt_orig=$ac_useropt | 
|---|
| 1041 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 1042 | case $ac_user_opts in | 
|---|
| 1043 | *" | 
|---|
| 1044 | "with_$ac_useropt" | 
|---|
| 1045 | "*) ;; | 
|---|
| 1046 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | 
|---|
| 1047 | ac_unrecognized_sep=', ';; | 
|---|
| 1048 | esac | 
|---|
| 1049 | eval with_$ac_useropt=\$ac_optarg ;; | 
|---|
| 1050 |  | 
|---|
| 1051 | -without-* | --without-*) | 
|---|
| 1052 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
|---|
| 1053 | # Reject names that are not valid shell variable names. | 
|---|
| 1054 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
|---|
| 1055 | as_fn_error $? "invalid package name: $ac_useropt" | 
|---|
| 1056 | ac_useropt_orig=$ac_useropt | 
|---|
| 1057 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
|---|
| 1058 | case $ac_user_opts in | 
|---|
| 1059 | *" | 
|---|
| 1060 | "with_$ac_useropt" | 
|---|
| 1061 | "*) ;; | 
|---|
| 1062 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | 
|---|
| 1063 | ac_unrecognized_sep=', ';; | 
|---|
| 1064 | esac | 
|---|
| 1065 | eval with_$ac_useropt=no ;; | 
|---|
| 1066 |  | 
|---|
| 1067 | --x) | 
|---|
| 1068 | # Obsolete; use --with-x. | 
|---|
| 1069 | with_x=yes ;; | 
|---|
| 1070 |  | 
|---|
| 1071 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
|---|
| 1072 | | --x-incl | --x-inc | --x-in | --x-i) | 
|---|
| 1073 | ac_prev=x_includes ;; | 
|---|
| 1074 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
|---|
| 1075 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
|---|
| 1076 | x_includes=$ac_optarg ;; | 
|---|
| 1077 |  | 
|---|
| 1078 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
|---|
| 1079 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
|---|
| 1080 | ac_prev=x_libraries ;; | 
|---|
| 1081 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
|---|
| 1082 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
|---|
| 1083 | x_libraries=$ac_optarg ;; | 
|---|
| 1084 |  | 
|---|
| 1085 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | 
|---|
| 1086 | Try \`$0 --help' for more information" | 
|---|
| 1087 | ;; | 
|---|
| 1088 |  | 
|---|
| 1089 | *=*) | 
|---|
| 1090 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|---|
| 1091 | # Reject names that are not valid shell variable names. | 
|---|
| 1092 | case $ac_envvar in #( | 
|---|
| 1093 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 
|---|
| 1094 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 
|---|
| 1095 | esac | 
|---|
| 1096 | eval $ac_envvar=\$ac_optarg | 
|---|
| 1097 | export $ac_envvar ;; | 
|---|
| 1098 |  | 
|---|
| 1099 | *) | 
|---|
| 1100 | # FIXME: should be removed in autoconf 3.0. | 
|---|
| 1101 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
|---|
| 1102 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
|---|
| 1103 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
|---|
| 1104 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 
|---|
| 1105 | ;; | 
|---|
| 1106 |  | 
|---|
| 1107 | esac | 
|---|
| 1108 | done | 
|---|
| 1109 |  | 
|---|
| 1110 | if test -n "$ac_prev"; then | 
|---|
| 1111 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|---|
| 1112 | as_fn_error $? "missing argument to $ac_option" | 
|---|
| 1113 | fi | 
|---|
| 1114 |  | 
|---|
| 1115 | if test -n "$ac_unrecognized_opts"; then | 
|---|
| 1116 | case $enable_option_checking in | 
|---|
| 1117 | no) ;; | 
|---|
| 1118 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 
|---|
| 1119 | *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 
|---|
| 1120 | esac | 
|---|
| 1121 | fi | 
|---|
| 1122 |  | 
|---|
| 1123 | # Check all directory arguments for consistency. | 
|---|
| 1124 | for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 
|---|
| 1125 | datadir sysconfdir sharedstatedir localstatedir includedir \ | 
|---|
| 1126 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 
|---|
| 1127 | libdir localedir mandir | 
|---|
| 1128 | do | 
|---|
| 1129 | eval ac_val=\$$ac_var | 
|---|
| 1130 | # Remove trailing slashes. | 
|---|
| 1131 | case $ac_val in | 
|---|
| 1132 | */ ) | 
|---|
| 1133 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | 
|---|
| 1134 | eval $ac_var=\$ac_val;; | 
|---|
| 1135 | esac | 
|---|
| 1136 | # Be sure to have absolute directory names. | 
|---|
| 1137 | case $ac_val in | 
|---|
| 1138 | [\\/$]* | ?:[\\/]* )  continue;; | 
|---|
| 1139 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 
|---|
| 1140 | esac | 
|---|
| 1141 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 
|---|
| 1142 | done | 
|---|
| 1143 |  | 
|---|
| 1144 | # There might be people who depend on the old broken behavior: `$host' | 
|---|
| 1145 | # used to hold the argument of --host etc. | 
|---|
| 1146 | # FIXME: To remove some day. | 
|---|
| 1147 | build=$build_alias | 
|---|
| 1148 | host=$host_alias | 
|---|
| 1149 | target=$target_alias | 
|---|
| 1150 |  | 
|---|
| 1151 | # FIXME: To remove some day. | 
|---|
| 1152 | if test "x$host_alias" != x; then | 
|---|
| 1153 | if test "x$build_alias" = x; then | 
|---|
| 1154 | cross_compiling=maybe | 
|---|
| 1155 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 
|---|
| 1156 | If a cross compiler is detected then cross compile mode will be used" >&2 | 
|---|
| 1157 | elif test "x$build_alias" != "x$host_alias"; then | 
|---|
| 1158 | cross_compiling=yes | 
|---|
| 1159 | fi | 
|---|
| 1160 | fi | 
|---|
| 1161 |  | 
|---|
| 1162 | ac_tool_prefix= | 
|---|
| 1163 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
|---|
| 1164 |  | 
|---|
| 1165 | test "$silent" = yes && exec 6>/dev/null | 
|---|
| 1166 |  | 
|---|
| 1167 |  | 
|---|
| 1168 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 
|---|
| 1169 | ac_ls_di=`ls -di .` && | 
|---|
| 1170 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 
|---|
| 1171 | as_fn_error $? "working directory cannot be determined" | 
|---|
| 1172 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 
|---|
| 1173 | as_fn_error $? "pwd does not report name of working directory" | 
|---|
| 1174 |  | 
|---|
| 1175 |  | 
|---|
| 1176 | # Find the source files, if location was not specified. | 
|---|
| 1177 | if test -z "$srcdir"; then | 
|---|
| 1178 | ac_srcdir_defaulted=yes | 
|---|
| 1179 | # Try the directory containing this script, then the parent directory. | 
|---|
| 1180 | ac_confdir=`$as_dirname -- "$as_myself" || | 
|---|
| 1181 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 1182 | X"$as_myself" : 'X\(//\)[^/]' \| \ | 
|---|
| 1183 | X"$as_myself" : 'X\(//\)$' \| \ | 
|---|
| 1184 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 1185 | $as_echo X"$as_myself" | | 
|---|
| 1186 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 1187 | s//\1/ | 
|---|
| 1188 | q | 
|---|
| 1189 | } | 
|---|
| 1190 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 1191 | s//\1/ | 
|---|
| 1192 | q | 
|---|
| 1193 | } | 
|---|
| 1194 | /^X\(\/\/\)$/{ | 
|---|
| 1195 | s//\1/ | 
|---|
| 1196 | q | 
|---|
| 1197 | } | 
|---|
| 1198 | /^X\(\/\).*/{ | 
|---|
| 1199 | s//\1/ | 
|---|
| 1200 | q | 
|---|
| 1201 | } | 
|---|
| 1202 | s/.*/./; q'` | 
|---|
| 1203 | srcdir=$ac_confdir | 
|---|
| 1204 | if test ! -r "$srcdir/$ac_unique_file"; then | 
|---|
| 1205 | srcdir=.. | 
|---|
| 1206 | fi | 
|---|
| 1207 | else | 
|---|
| 1208 | ac_srcdir_defaulted=no | 
|---|
| 1209 | fi | 
|---|
| 1210 | if test ! -r "$srcdir/$ac_unique_file"; then | 
|---|
| 1211 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 
|---|
| 1212 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 
|---|
| 1213 | fi | 
|---|
| 1214 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 
|---|
| 1215 | ac_abs_confdir=`( | 
|---|
| 1216 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 
|---|
| 1217 | pwd)` | 
|---|
| 1218 | # When building in place, set srcdir=. | 
|---|
| 1219 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 
|---|
| 1220 | srcdir=. | 
|---|
| 1221 | fi | 
|---|
| 1222 | # Remove unnecessary trailing slashes from srcdir. | 
|---|
| 1223 | # Double slashes in file names in object file debugging info | 
|---|
| 1224 | # mess up M-x gdb in Emacs. | 
|---|
| 1225 | case $srcdir in | 
|---|
| 1226 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | 
|---|
| 1227 | esac | 
|---|
| 1228 | for ac_var in $ac_precious_vars; do | 
|---|
| 1229 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | 
|---|
| 1230 | eval ac_env_${ac_var}_value=\$${ac_var} | 
|---|
| 1231 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | 
|---|
| 1232 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | 
|---|
| 1233 | done | 
|---|
| 1234 |  | 
|---|
| 1235 | # | 
|---|
| 1236 | # Report the --help message. | 
|---|
| 1237 | # | 
|---|
| 1238 | if test "$ac_init_help" = "long"; then | 
|---|
| 1239 | # Omit some internal or obsolete options to make the list less imposing. | 
|---|
| 1240 | # This message is too long to be a string in the A/UX 3.1 sh. | 
|---|
| 1241 | cat <<_ACEOF | 
|---|
| 1242 | \`configure' configures this package to adapt to many kinds of systems. | 
|---|
| 1243 |  | 
|---|
| 1244 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|---|
| 1245 |  | 
|---|
| 1246 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|---|
| 1247 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|---|
| 1248 |  | 
|---|
| 1249 | Defaults for the options are specified in brackets. | 
|---|
| 1250 |  | 
|---|
| 1251 | Configuration: | 
|---|
| 1252 | -h, --help              display this help and exit | 
|---|
| 1253 | --help=short        display options specific to this package | 
|---|
| 1254 | --help=recursive    display the short help of all the included packages | 
|---|
| 1255 | -V, --version           display version information and exit | 
|---|
| 1256 | -q, --quiet, --silent   do not print \`checking ...' messages | 
|---|
| 1257 | --cache-file=FILE   cache test results in FILE [disabled] | 
|---|
| 1258 | -C, --config-cache      alias for \`--cache-file=config.cache' | 
|---|
| 1259 | -n, --no-create         do not create output files | 
|---|
| 1260 | --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|---|
| 1261 |  | 
|---|
| 1262 | Installation directories: | 
|---|
| 1263 | --prefix=PREFIX         install architecture-independent files in PREFIX | 
|---|
| 1264 | [$ac_default_prefix] | 
|---|
| 1265 | --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|---|
| 1266 | [PREFIX] | 
|---|
| 1267 |  | 
|---|
| 1268 | By default, \`make install' will install all the files in | 
|---|
| 1269 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|---|
| 1270 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|---|
| 1271 | for instance \`--prefix=\$HOME'. | 
|---|
| 1272 |  | 
|---|
| 1273 | For better control, use the options below. | 
|---|
| 1274 |  | 
|---|
| 1275 | Fine tuning of the installation directories: | 
|---|
| 1276 | --bindir=DIR            user executables [EPREFIX/bin] | 
|---|
| 1277 | --sbindir=DIR           system admin executables [EPREFIX/sbin] | 
|---|
| 1278 | --libexecdir=DIR        program executables [EPREFIX/libexec] | 
|---|
| 1279 | --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] | 
|---|
| 1280 | --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] | 
|---|
| 1281 | --localstatedir=DIR     modifiable single-machine data [PREFIX/var] | 
|---|
| 1282 | --libdir=DIR            object code libraries [EPREFIX/lib] | 
|---|
| 1283 | --includedir=DIR        C header files [PREFIX/include] | 
|---|
| 1284 | --oldincludedir=DIR     C header files for non-gcc [/usr/include] | 
|---|
| 1285 | --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] | 
|---|
| 1286 | --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] | 
|---|
| 1287 | --infodir=DIR           info documentation [DATAROOTDIR/info] | 
|---|
| 1288 | --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] | 
|---|
| 1289 | --mandir=DIR            man documentation [DATAROOTDIR/man] | 
|---|
| 1290 | --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE] | 
|---|
| 1291 | --htmldir=DIR           html documentation [DOCDIR] | 
|---|
| 1292 | --dvidir=DIR            dvi documentation [DOCDIR] | 
|---|
| 1293 | --pdfdir=DIR            pdf documentation [DOCDIR] | 
|---|
| 1294 | --psdir=DIR             ps documentation [DOCDIR] | 
|---|
| 1295 | _ACEOF | 
|---|
| 1296 |  | 
|---|
| 1297 | cat <<\_ACEOF | 
|---|
| 1298 |  | 
|---|
| 1299 | System types: | 
|---|
| 1300 | --build=BUILD     configure for building on BUILD [guessed] | 
|---|
| 1301 | --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
|---|
| 1302 | _ACEOF | 
|---|
| 1303 | fi | 
|---|
| 1304 |  | 
|---|
| 1305 | if test -n "$ac_init_help"; then | 
|---|
| 1306 |  | 
|---|
| 1307 | cat <<\_ACEOF | 
|---|
| 1308 |  | 
|---|
| 1309 | Optional Features: | 
|---|
| 1310 | --disable-option-checking  ignore unrecognized --enable/--with options | 
|---|
| 1311 | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|---|
| 1312 | --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
|---|
| 1313 | --enable-debug          Turn on compiler debugging information (default=no) | 
|---|
| 1314 | --enable-developer      Turn on developer warnings and debugging (default=no) | 
|---|
| 1315 |  | 
|---|
| 1316 | Optional Packages: | 
|---|
| 1317 | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|---|
| 1318 | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
|---|
| 1319 | --with-fhs              Use FHS-compliant paths (default=no) | 
|---|
| 1320 | --with-samba-source=DIR Where is the samba source tree (../../source3) | 
|---|
| 1321 | --with-krb5=base-dir    Locate Kerberos 5 support (default=/usr) | 
|---|
| 1322 |  | 
|---|
| 1323 | Some influential environment variables: | 
|---|
| 1324 | CC          C compiler command | 
|---|
| 1325 | CFLAGS      C compiler flags | 
|---|
| 1326 | LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|---|
| 1327 | nonstandard directory <lib dir> | 
|---|
| 1328 | LIBS        libraries to pass to the linker, e.g. -l<library> | 
|---|
| 1329 | CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 
|---|
| 1330 | you have headers in a nonstandard directory <include dir> | 
|---|
| 1331 | CPP         C preprocessor | 
|---|
| 1332 |  | 
|---|
| 1333 | Use these variables to override the choices made by `configure' or to help | 
|---|
| 1334 | it to find libraries and programs with nonstandard names/locations. | 
|---|
| 1335 |  | 
|---|
| 1336 | Report bugs to the package provider. | 
|---|
| 1337 | _ACEOF | 
|---|
| 1338 | ac_status=$? | 
|---|
| 1339 | fi | 
|---|
| 1340 |  | 
|---|
| 1341 | if test "$ac_init_help" = "recursive"; then | 
|---|
| 1342 | # If there are subdirs, report their specific --help. | 
|---|
| 1343 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|---|
| 1344 | test -d "$ac_dir" || | 
|---|
| 1345 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | 
|---|
| 1346 | continue | 
|---|
| 1347 | ac_builddir=. | 
|---|
| 1348 |  | 
|---|
| 1349 | case "$ac_dir" in | 
|---|
| 1350 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 1351 | *) | 
|---|
| 1352 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
|---|
| 1353 | # A ".." for each directory in $ac_dir_suffix. | 
|---|
| 1354 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
|---|
| 1355 | case $ac_top_builddir_sub in | 
|---|
| 1356 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 1357 | *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
|---|
| 1358 | esac ;; | 
|---|
| 1359 | esac | 
|---|
| 1360 | ac_abs_top_builddir=$ac_pwd | 
|---|
| 1361 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
|---|
| 1362 | # for backward compatibility: | 
|---|
| 1363 | ac_top_builddir=$ac_top_build_prefix | 
|---|
| 1364 |  | 
|---|
| 1365 | case $srcdir in | 
|---|
| 1366 | .)  # We are building in place. | 
|---|
| 1367 | ac_srcdir=. | 
|---|
| 1368 | ac_top_srcdir=$ac_top_builddir_sub | 
|---|
| 1369 | ac_abs_top_srcdir=$ac_pwd ;; | 
|---|
| 1370 | [\\/]* | ?:[\\/]* )  # Absolute name. | 
|---|
| 1371 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 1372 | ac_top_srcdir=$srcdir | 
|---|
| 1373 | ac_abs_top_srcdir=$srcdir ;; | 
|---|
| 1374 | *) # Relative name. | 
|---|
| 1375 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
|---|
| 1376 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 
|---|
| 1377 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
|---|
| 1378 | esac | 
|---|
| 1379 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
|---|
| 1380 |  | 
|---|
| 1381 | cd "$ac_dir" || { ac_status=$?; continue; } | 
|---|
| 1382 | # Check for guested configure. | 
|---|
| 1383 | if test -f "$ac_srcdir/configure.gnu"; then | 
|---|
| 1384 | echo && | 
|---|
| 1385 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 
|---|
| 1386 | elif test -f "$ac_srcdir/configure"; then | 
|---|
| 1387 | echo && | 
|---|
| 1388 | $SHELL "$ac_srcdir/configure" --help=recursive | 
|---|
| 1389 | else | 
|---|
| 1390 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|---|
| 1391 | fi || ac_status=$? | 
|---|
| 1392 | cd "$ac_pwd" || { ac_status=$?; break; } | 
|---|
| 1393 | done | 
|---|
| 1394 | fi | 
|---|
| 1395 |  | 
|---|
| 1396 | test -n "$ac_init_help" && exit $ac_status | 
|---|
| 1397 | if $ac_init_version; then | 
|---|
| 1398 | cat <<\_ACEOF | 
|---|
| 1399 | configure | 
|---|
| 1400 | generated by GNU Autoconf 2.68 | 
|---|
| 1401 |  | 
|---|
| 1402 | Copyright (C) 2010 Free Software Foundation, Inc. | 
|---|
| 1403 | This configure script is free software; the Free Software Foundation | 
|---|
| 1404 | gives unlimited permission to copy, distribute and modify it. | 
|---|
| 1405 | _ACEOF | 
|---|
| 1406 | exit | 
|---|
| 1407 | fi | 
|---|
| 1408 |  | 
|---|
| 1409 | ## ------------------------ ## | 
|---|
| 1410 | ## Autoconf initialization. ## | 
|---|
| 1411 | ## ------------------------ ## | 
|---|
| 1412 |  | 
|---|
| 1413 | # ac_fn_c_try_compile LINENO | 
|---|
| 1414 | # -------------------------- | 
|---|
| 1415 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | 
|---|
| 1416 | ac_fn_c_try_compile () | 
|---|
| 1417 | { | 
|---|
| 1418 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1419 | rm -f conftest.$ac_objext | 
|---|
| 1420 | if { { ac_try="$ac_compile" | 
|---|
| 1421 | case "(($ac_try" in | 
|---|
| 1422 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1423 | *) ac_try_echo=$ac_try;; | 
|---|
| 1424 | esac | 
|---|
| 1425 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1426 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1427 | (eval "$ac_compile") 2>conftest.err | 
|---|
| 1428 | ac_status=$? | 
|---|
| 1429 | if test -s conftest.err; then | 
|---|
| 1430 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
| 1431 | cat conftest.er1 >&5 | 
|---|
| 1432 | mv -f conftest.er1 conftest.err | 
|---|
| 1433 | fi | 
|---|
| 1434 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1435 | test $ac_status = 0; } && { | 
|---|
| 1436 | test -z "$ac_c_werror_flag" || | 
|---|
| 1437 | test ! -s conftest.err | 
|---|
| 1438 | } && test -s conftest.$ac_objext; then : | 
|---|
| 1439 | ac_retval=0 | 
|---|
| 1440 | else | 
|---|
| 1441 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1442 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1443 |  | 
|---|
| 1444 | ac_retval=1 | 
|---|
| 1445 | fi | 
|---|
| 1446 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1447 | as_fn_set_status $ac_retval | 
|---|
| 1448 |  | 
|---|
| 1449 | } # ac_fn_c_try_compile | 
|---|
| 1450 |  | 
|---|
| 1451 | # ac_fn_c_try_cpp LINENO | 
|---|
| 1452 | # ---------------------- | 
|---|
| 1453 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | 
|---|
| 1454 | ac_fn_c_try_cpp () | 
|---|
| 1455 | { | 
|---|
| 1456 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1457 | if { { ac_try="$ac_cpp conftest.$ac_ext" | 
|---|
| 1458 | case "(($ac_try" in | 
|---|
| 1459 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1460 | *) ac_try_echo=$ac_try;; | 
|---|
| 1461 | esac | 
|---|
| 1462 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1463 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1464 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | 
|---|
| 1465 | ac_status=$? | 
|---|
| 1466 | if test -s conftest.err; then | 
|---|
| 1467 | grep -v '^ *+' conftest.err >conftest.er1 | 
|---|
| 1468 | cat conftest.er1 >&5 | 
|---|
| 1469 | mv -f conftest.er1 conftest.err | 
|---|
| 1470 | fi | 
|---|
| 1471 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1472 | test $ac_status = 0; } > conftest.i && { | 
|---|
| 1473 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
|---|
| 1474 | test ! -s conftest.err | 
|---|
| 1475 | }; then : | 
|---|
| 1476 | ac_retval=0 | 
|---|
| 1477 | else | 
|---|
| 1478 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1479 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1480 |  | 
|---|
| 1481 | ac_retval=1 | 
|---|
| 1482 | fi | 
|---|
| 1483 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1484 | as_fn_set_status $ac_retval | 
|---|
| 1485 |  | 
|---|
| 1486 | } # ac_fn_c_try_cpp | 
|---|
| 1487 |  | 
|---|
| 1488 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 
|---|
| 1489 | # ------------------------------------------------------- | 
|---|
| 1490 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | 
|---|
| 1491 | # the include files in INCLUDES and setting the cache variable VAR | 
|---|
| 1492 | # accordingly. | 
|---|
| 1493 | ac_fn_c_check_header_mongrel () | 
|---|
| 1494 | { | 
|---|
| 1495 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1496 | if eval \${$3+:} false; then : | 
|---|
| 1497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1498 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1499 | if eval \${$3+:} false; then : | 
|---|
| 1500 | $as_echo_n "(cached) " >&6 | 
|---|
| 1501 | fi | 
|---|
| 1502 | eval ac_res=\$$3 | 
|---|
| 1503 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1504 | $as_echo "$ac_res" >&6; } | 
|---|
| 1505 | else | 
|---|
| 1506 | # Is the header compilable? | 
|---|
| 1507 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | 
|---|
| 1508 | $as_echo_n "checking $2 usability... " >&6; } | 
|---|
| 1509 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1510 | /* end confdefs.h.  */ | 
|---|
| 1511 | $4 | 
|---|
| 1512 | #include <$2> | 
|---|
| 1513 | _ACEOF | 
|---|
| 1514 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 1515 | ac_header_compiler=yes | 
|---|
| 1516 | else | 
|---|
| 1517 | ac_header_compiler=no | 
|---|
| 1518 | fi | 
|---|
| 1519 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 1520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | 
|---|
| 1521 | $as_echo "$ac_header_compiler" >&6; } | 
|---|
| 1522 |  | 
|---|
| 1523 | # Is the header present? | 
|---|
| 1524 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | 
|---|
| 1525 | $as_echo_n "checking $2 presence... " >&6; } | 
|---|
| 1526 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1527 | /* end confdefs.h.  */ | 
|---|
| 1528 | #include <$2> | 
|---|
| 1529 | _ACEOF | 
|---|
| 1530 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 1531 | ac_header_preproc=yes | 
|---|
| 1532 | else | 
|---|
| 1533 | ac_header_preproc=no | 
|---|
| 1534 | fi | 
|---|
| 1535 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 1536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 
|---|
| 1537 | $as_echo "$ac_header_preproc" >&6; } | 
|---|
| 1538 |  | 
|---|
| 1539 | # So?  What about this header? | 
|---|
| 1540 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 
|---|
| 1541 | yes:no: ) | 
|---|
| 1542 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|---|
| 1543 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|---|
| 1544 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
|---|
| 1545 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
|---|
| 1546 | ;; | 
|---|
| 1547 | no:yes:* ) | 
|---|
| 1548 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | 
|---|
| 1549 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | 
|---|
| 1550 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 | 
|---|
| 1551 | $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} | 
|---|
| 1552 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | 
|---|
| 1553 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | 
|---|
| 1554 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 | 
|---|
| 1555 | $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} | 
|---|
| 1556 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
|---|
| 1557 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
|---|
| 1558 | ;; | 
|---|
| 1559 | esac | 
|---|
| 1560 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1561 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1562 | if eval \${$3+:} false; then : | 
|---|
| 1563 | $as_echo_n "(cached) " >&6 | 
|---|
| 1564 | else | 
|---|
| 1565 | eval "$3=\$ac_header_compiler" | 
|---|
| 1566 | fi | 
|---|
| 1567 | eval ac_res=\$$3 | 
|---|
| 1568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1569 | $as_echo "$ac_res" >&6; } | 
|---|
| 1570 | fi | 
|---|
| 1571 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1572 |  | 
|---|
| 1573 | } # ac_fn_c_check_header_mongrel | 
|---|
| 1574 |  | 
|---|
| 1575 | # ac_fn_c_try_run LINENO | 
|---|
| 1576 | # ---------------------- | 
|---|
| 1577 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | 
|---|
| 1578 | # that executables *can* be run. | 
|---|
| 1579 | ac_fn_c_try_run () | 
|---|
| 1580 | { | 
|---|
| 1581 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1582 | if { { ac_try="$ac_link" | 
|---|
| 1583 | case "(($ac_try" in | 
|---|
| 1584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1585 | *) ac_try_echo=$ac_try;; | 
|---|
| 1586 | esac | 
|---|
| 1587 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1588 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1589 | (eval "$ac_link") 2>&5 | 
|---|
| 1590 | ac_status=$? | 
|---|
| 1591 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1592 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | 
|---|
| 1593 | { { case "(($ac_try" in | 
|---|
| 1594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 1595 | *) ac_try_echo=$ac_try;; | 
|---|
| 1596 | esac | 
|---|
| 1597 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 1598 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 1599 | (eval "$ac_try") 2>&5 | 
|---|
| 1600 | ac_status=$? | 
|---|
| 1601 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 1602 | test $ac_status = 0; }; }; then : | 
|---|
| 1603 | ac_retval=0 | 
|---|
| 1604 | else | 
|---|
| 1605 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 
|---|
| 1606 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 1607 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 1608 |  | 
|---|
| 1609 | ac_retval=$ac_status | 
|---|
| 1610 | fi | 
|---|
| 1611 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
|---|
| 1612 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1613 | as_fn_set_status $ac_retval | 
|---|
| 1614 |  | 
|---|
| 1615 | } # ac_fn_c_try_run | 
|---|
| 1616 |  | 
|---|
| 1617 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 
|---|
| 1618 | # ------------------------------------------------------- | 
|---|
| 1619 | # Tests whether HEADER exists and can be compiled using the include files in | 
|---|
| 1620 | # INCLUDES, setting the cache variable VAR accordingly. | 
|---|
| 1621 | ac_fn_c_check_header_compile () | 
|---|
| 1622 | { | 
|---|
| 1623 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 1624 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
|---|
| 1625 | $as_echo_n "checking for $2... " >&6; } | 
|---|
| 1626 | if eval \${$3+:} false; then : | 
|---|
| 1627 | $as_echo_n "(cached) " >&6 | 
|---|
| 1628 | else | 
|---|
| 1629 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 1630 | /* end confdefs.h.  */ | 
|---|
| 1631 | $4 | 
|---|
| 1632 | #include <$2> | 
|---|
| 1633 | _ACEOF | 
|---|
| 1634 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 1635 | eval "$3=yes" | 
|---|
| 1636 | else | 
|---|
| 1637 | eval "$3=no" | 
|---|
| 1638 | fi | 
|---|
| 1639 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 1640 | fi | 
|---|
| 1641 | eval ac_res=\$$3 | 
|---|
| 1642 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
|---|
| 1643 | $as_echo "$ac_res" >&6; } | 
|---|
| 1644 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
|---|
| 1645 |  | 
|---|
| 1646 | } # ac_fn_c_check_header_compile | 
|---|
| 1647 | cat >config.log <<_ACEOF | 
|---|
| 1648 | This file contains any messages produced by compilers while | 
|---|
| 1649 | running configure, to aid debugging if configure makes a mistake. | 
|---|
| 1650 |  | 
|---|
| 1651 | It was created by $as_me, which was | 
|---|
| 1652 | generated by GNU Autoconf 2.68.  Invocation command line was | 
|---|
| 1653 |  | 
|---|
| 1654 | $ $0 $@ | 
|---|
| 1655 |  | 
|---|
| 1656 | _ACEOF | 
|---|
| 1657 | exec 5>>config.log | 
|---|
| 1658 | { | 
|---|
| 1659 | cat <<_ASUNAME | 
|---|
| 1660 | ## --------- ## | 
|---|
| 1661 | ## Platform. ## | 
|---|
| 1662 | ## --------- ## | 
|---|
| 1663 |  | 
|---|
| 1664 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 1665 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|---|
| 1666 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|---|
| 1667 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|---|
| 1668 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|---|
| 1669 |  | 
|---|
| 1670 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|---|
| 1671 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|---|
| 1672 |  | 
|---|
| 1673 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|---|
| 1674 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|---|
| 1675 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|---|
| 1676 | /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown` | 
|---|
| 1677 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|---|
| 1678 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|---|
| 1679 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|---|
| 1680 |  | 
|---|
| 1681 | _ASUNAME | 
|---|
| 1682 |  | 
|---|
| 1683 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 1684 | for as_dir in $PATH | 
|---|
| 1685 | do | 
|---|
| 1686 | IFS=$as_save_IFS | 
|---|
| 1687 | test -z "$as_dir" && as_dir=. | 
|---|
| 1688 | $as_echo "PATH: $as_dir" | 
|---|
| 1689 | done | 
|---|
| 1690 | IFS=$as_save_IFS | 
|---|
| 1691 |  | 
|---|
| 1692 | } >&5 | 
|---|
| 1693 |  | 
|---|
| 1694 | cat >&5 <<_ACEOF | 
|---|
| 1695 |  | 
|---|
| 1696 |  | 
|---|
| 1697 | ## ----------- ## | 
|---|
| 1698 | ## Core tests. ## | 
|---|
| 1699 | ## ----------- ## | 
|---|
| 1700 |  | 
|---|
| 1701 | _ACEOF | 
|---|
| 1702 |  | 
|---|
| 1703 |  | 
|---|
| 1704 | # Keep a trace of the command line. | 
|---|
| 1705 | # Strip out --no-create and --no-recursion so they do not pile up. | 
|---|
| 1706 | # Strip out --silent because we don't want to record it for future runs. | 
|---|
| 1707 | # Also quote any args containing shell meta-characters. | 
|---|
| 1708 | # Make two passes to allow for proper duplicate-argument suppression. | 
|---|
| 1709 | ac_configure_args= | 
|---|
| 1710 | ac_configure_args0= | 
|---|
| 1711 | ac_configure_args1= | 
|---|
| 1712 | ac_must_keep_next=false | 
|---|
| 1713 | for ac_pass in 1 2 | 
|---|
| 1714 | do | 
|---|
| 1715 | for ac_arg | 
|---|
| 1716 | do | 
|---|
| 1717 | case $ac_arg in | 
|---|
| 1718 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|---|
| 1719 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 1720 | | -silent | --silent | --silen | --sile | --sil) | 
|---|
| 1721 | continue ;; | 
|---|
| 1722 | *\'*) | 
|---|
| 1723 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1724 | esac | 
|---|
| 1725 | case $ac_pass in | 
|---|
| 1726 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 
|---|
| 1727 | 2) | 
|---|
| 1728 | as_fn_append ac_configure_args1 " '$ac_arg'" | 
|---|
| 1729 | if test $ac_must_keep_next = true; then | 
|---|
| 1730 | ac_must_keep_next=false # Got value, back to normal. | 
|---|
| 1731 | else | 
|---|
| 1732 | case $ac_arg in | 
|---|
| 1733 | *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|---|
| 1734 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|---|
| 1735 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|---|
| 1736 | | -with-* | --with-* | -without-* | --without-* | --x) | 
|---|
| 1737 | case "$ac_configure_args0 " in | 
|---|
| 1738 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|---|
| 1739 | esac | 
|---|
| 1740 | ;; | 
|---|
| 1741 | -* ) ac_must_keep_next=true ;; | 
|---|
| 1742 | esac | 
|---|
| 1743 | fi | 
|---|
| 1744 | as_fn_append ac_configure_args " '$ac_arg'" | 
|---|
| 1745 | ;; | 
|---|
| 1746 | esac | 
|---|
| 1747 | done | 
|---|
| 1748 | done | 
|---|
| 1749 | { ac_configure_args0=; unset ac_configure_args0;} | 
|---|
| 1750 | { ac_configure_args1=; unset ac_configure_args1;} | 
|---|
| 1751 |  | 
|---|
| 1752 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|---|
| 1753 | # config.log.  We remove comments because anyway the quotes in there | 
|---|
| 1754 | # would cause problems or look ugly. | 
|---|
| 1755 | # WARNING: Use '\'' to represent an apostrophe within the trap. | 
|---|
| 1756 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | 
|---|
| 1757 | trap 'exit_status=$? | 
|---|
| 1758 | # Save into config.log some information that might help in debugging. | 
|---|
| 1759 | { | 
|---|
| 1760 | echo | 
|---|
| 1761 |  | 
|---|
| 1762 | $as_echo "## ---------------- ## | 
|---|
| 1763 | ## Cache variables. ## | 
|---|
| 1764 | ## ---------------- ##" | 
|---|
| 1765 | echo | 
|---|
| 1766 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 1767 | ( | 
|---|
| 1768 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 
|---|
| 1769 | eval ac_val=\$$ac_var | 
|---|
| 1770 | case $ac_val in #( | 
|---|
| 1771 | *${as_nl}*) | 
|---|
| 1772 | case $ac_var in #( | 
|---|
| 1773 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
|---|
| 1774 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
|---|
| 1775 | esac | 
|---|
| 1776 | case $ac_var in #( | 
|---|
| 1777 | _ | IFS | as_nl) ;; #( | 
|---|
| 1778 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
|---|
| 1779 | *) { eval $ac_var=; unset $ac_var;} ;; | 
|---|
| 1780 | esac ;; | 
|---|
| 1781 | esac | 
|---|
| 1782 | done | 
|---|
| 1783 | (set) 2>&1 | | 
|---|
| 1784 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 
|---|
| 1785 | *${as_nl}ac_space=\ *) | 
|---|
| 1786 | sed -n \ | 
|---|
| 1787 | "s/'\''/'\''\\\\'\'''\''/g; | 
|---|
| 1788 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | 
|---|
| 1789 | ;; #( | 
|---|
| 1790 | *) | 
|---|
| 1791 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
|---|
| 1792 | ;; | 
|---|
| 1793 | esac | | 
|---|
| 1794 | sort | 
|---|
| 1795 | ) | 
|---|
| 1796 | echo | 
|---|
| 1797 |  | 
|---|
| 1798 | $as_echo "## ----------------- ## | 
|---|
| 1799 | ## Output variables. ## | 
|---|
| 1800 | ## ----------------- ##" | 
|---|
| 1801 | echo | 
|---|
| 1802 | for ac_var in $ac_subst_vars | 
|---|
| 1803 | do | 
|---|
| 1804 | eval ac_val=\$$ac_var | 
|---|
| 1805 | case $ac_val in | 
|---|
| 1806 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
|---|
| 1807 | esac | 
|---|
| 1808 | $as_echo "$ac_var='\''$ac_val'\''" | 
|---|
| 1809 | done | sort | 
|---|
| 1810 | echo | 
|---|
| 1811 |  | 
|---|
| 1812 | if test -n "$ac_subst_files"; then | 
|---|
| 1813 | $as_echo "## ------------------- ## | 
|---|
| 1814 | ## File substitutions. ## | 
|---|
| 1815 | ## ------------------- ##" | 
|---|
| 1816 | echo | 
|---|
| 1817 | for ac_var in $ac_subst_files | 
|---|
| 1818 | do | 
|---|
| 1819 | eval ac_val=\$$ac_var | 
|---|
| 1820 | case $ac_val in | 
|---|
| 1821 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
|---|
| 1822 | esac | 
|---|
| 1823 | $as_echo "$ac_var='\''$ac_val'\''" | 
|---|
| 1824 | done | sort | 
|---|
| 1825 | echo | 
|---|
| 1826 | fi | 
|---|
| 1827 |  | 
|---|
| 1828 | if test -s confdefs.h; then | 
|---|
| 1829 | $as_echo "## ----------- ## | 
|---|
| 1830 | ## confdefs.h. ## | 
|---|
| 1831 | ## ----------- ##" | 
|---|
| 1832 | echo | 
|---|
| 1833 | cat confdefs.h | 
|---|
| 1834 | echo | 
|---|
| 1835 | fi | 
|---|
| 1836 | test "$ac_signal" != 0 && | 
|---|
| 1837 | $as_echo "$as_me: caught signal $ac_signal" | 
|---|
| 1838 | $as_echo "$as_me: exit $exit_status" | 
|---|
| 1839 | } >&5 | 
|---|
| 1840 | rm -f core *.core core.conftest.* && | 
|---|
| 1841 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 
|---|
| 1842 | exit $exit_status | 
|---|
| 1843 | ' 0 | 
|---|
| 1844 | for ac_signal in 1 2 13 15; do | 
|---|
| 1845 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 
|---|
| 1846 | done | 
|---|
| 1847 | ac_signal=0 | 
|---|
| 1848 |  | 
|---|
| 1849 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|---|
| 1850 | rm -f -r conftest* confdefs.h | 
|---|
| 1851 |  | 
|---|
| 1852 | $as_echo "/* confdefs.h */" > confdefs.h | 
|---|
| 1853 |  | 
|---|
| 1854 | # Predefined preprocessor variables. | 
|---|
| 1855 |  | 
|---|
| 1856 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1857 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|---|
| 1858 | _ACEOF | 
|---|
| 1859 |  | 
|---|
| 1860 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1861 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|---|
| 1862 | _ACEOF | 
|---|
| 1863 |  | 
|---|
| 1864 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1865 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|---|
| 1866 | _ACEOF | 
|---|
| 1867 |  | 
|---|
| 1868 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1869 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|---|
| 1870 | _ACEOF | 
|---|
| 1871 |  | 
|---|
| 1872 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1873 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|---|
| 1874 | _ACEOF | 
|---|
| 1875 |  | 
|---|
| 1876 | cat >>confdefs.h <<_ACEOF | 
|---|
| 1877 | #define PACKAGE_URL "$PACKAGE_URL" | 
|---|
| 1878 | _ACEOF | 
|---|
| 1879 |  | 
|---|
| 1880 |  | 
|---|
| 1881 | # Let the site file select an alternate cache file if it wants to. | 
|---|
| 1882 | # Prefer an explicitly selected file to automatically selected ones. | 
|---|
| 1883 | ac_site_file1=NONE | 
|---|
| 1884 | ac_site_file2=NONE | 
|---|
| 1885 | if test -n "$CONFIG_SITE"; then | 
|---|
| 1886 | # We do not want a PATH search for config.site. | 
|---|
| 1887 | case $CONFIG_SITE in #(( | 
|---|
| 1888 | -*)  ac_site_file1=./$CONFIG_SITE;; | 
|---|
| 1889 | */*) ac_site_file1=$CONFIG_SITE;; | 
|---|
| 1890 | *)   ac_site_file1=./$CONFIG_SITE;; | 
|---|
| 1891 | esac | 
|---|
| 1892 | elif test "x$prefix" != xNONE; then | 
|---|
| 1893 | ac_site_file1=$prefix/share/config.site | 
|---|
| 1894 | ac_site_file2=$prefix/etc/config.site | 
|---|
| 1895 | else | 
|---|
| 1896 | ac_site_file1=$ac_default_prefix/share/config.site | 
|---|
| 1897 | ac_site_file2=$ac_default_prefix/etc/config.site | 
|---|
| 1898 | fi | 
|---|
| 1899 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 
|---|
| 1900 | do | 
|---|
| 1901 | test "x$ac_site_file" = xNONE && continue | 
|---|
| 1902 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 
|---|
| 1903 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 
|---|
| 1904 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 
|---|
| 1905 | sed 's/^/| /' "$ac_site_file" >&5 | 
|---|
| 1906 | . "$ac_site_file" \ | 
|---|
| 1907 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 1908 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 1909 | as_fn_error $? "failed to load site script $ac_site_file | 
|---|
| 1910 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 1911 | fi | 
|---|
| 1912 | done | 
|---|
| 1913 |  | 
|---|
| 1914 | if test -r "$cache_file"; then | 
|---|
| 1915 | # Some versions of bash will fail to source /dev/null (special files | 
|---|
| 1916 | # actually), so we avoid doing that.  DJGPP emulates it as a regular file. | 
|---|
| 1917 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 
|---|
| 1918 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 
|---|
| 1919 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 
|---|
| 1920 | case $cache_file in | 
|---|
| 1921 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 
|---|
| 1922 | *)                      . "./$cache_file";; | 
|---|
| 1923 | esac | 
|---|
| 1924 | fi | 
|---|
| 1925 | else | 
|---|
| 1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 
|---|
| 1927 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 
|---|
| 1928 | >$cache_file | 
|---|
| 1929 | fi | 
|---|
| 1930 |  | 
|---|
| 1931 | # Check that the precious variables saved in the cache have kept the same | 
|---|
| 1932 | # value. | 
|---|
| 1933 | ac_cache_corrupted=false | 
|---|
| 1934 | for ac_var in $ac_precious_vars; do | 
|---|
| 1935 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|---|
| 1936 | eval ac_new_set=\$ac_env_${ac_var}_set | 
|---|
| 1937 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | 
|---|
| 1938 | eval ac_new_val=\$ac_env_${ac_var}_value | 
|---|
| 1939 | case $ac_old_set,$ac_new_set in | 
|---|
| 1940 | set,) | 
|---|
| 1941 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|---|
| 1942 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|---|
| 1943 | ac_cache_corrupted=: ;; | 
|---|
| 1944 | ,set) | 
|---|
| 1945 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 
|---|
| 1946 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|---|
| 1947 | ac_cache_corrupted=: ;; | 
|---|
| 1948 | ,);; | 
|---|
| 1949 | *) | 
|---|
| 1950 | if test "x$ac_old_val" != "x$ac_new_val"; then | 
|---|
| 1951 | # differences in whitespace do not lead to failure. | 
|---|
| 1952 | ac_old_val_w=`echo x $ac_old_val` | 
|---|
| 1953 | ac_new_val_w=`echo x $ac_new_val` | 
|---|
| 1954 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 
|---|
| 1955 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 
|---|
| 1956 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|---|
| 1957 | ac_cache_corrupted=: | 
|---|
| 1958 | else | 
|---|
| 1959 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 
|---|
| 1960 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 
|---|
| 1961 | eval $ac_var=\$ac_old_val | 
|---|
| 1962 | fi | 
|---|
| 1963 | { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 | 
|---|
| 1964 | $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} | 
|---|
| 1965 | { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 | 
|---|
| 1966 | $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} | 
|---|
| 1967 | fi;; | 
|---|
| 1968 | esac | 
|---|
| 1969 | # Pass precious variables to config.status. | 
|---|
| 1970 | if test "$ac_new_set" = set; then | 
|---|
| 1971 | case $ac_new_val in | 
|---|
| 1972 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 1973 | *) ac_arg=$ac_var=$ac_new_val ;; | 
|---|
| 1974 | esac | 
|---|
| 1975 | case " $ac_configure_args " in | 
|---|
| 1976 | *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|---|
| 1977 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 
|---|
| 1978 | esac | 
|---|
| 1979 | fi | 
|---|
| 1980 | done | 
|---|
| 1981 | if $ac_cache_corrupted; then | 
|---|
| 1982 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 1983 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 1984 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 
|---|
| 1985 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|---|
| 1986 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 
|---|
| 1987 | fi | 
|---|
| 1988 | ## -------------------- ## | 
|---|
| 1989 | ## Main body of script. ## | 
|---|
| 1990 | ## -------------------- ## | 
|---|
| 1991 |  | 
|---|
| 1992 | ac_ext=c | 
|---|
| 1993 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 1994 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 1995 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 1996 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 1997 |  | 
|---|
| 1998 |  | 
|---|
| 1999 |  | 
|---|
| 2000 | ac_config_headers="$ac_config_headers module_config.h" | 
|---|
| 2001 |  | 
|---|
| 2002 | #dnl To make sure that didn't get #define PACKAGE_* in modules_config.h | 
|---|
| 2003 | #echo "" > confdefs.h | 
|---|
| 2004 |  | 
|---|
| 2005 | ac_ext=c | 
|---|
| 2006 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2007 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2008 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2009 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2010 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2011 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
|---|
| 2012 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
|---|
| 2013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2014 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2015 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 2016 | $as_echo_n "(cached) " >&6 | 
|---|
| 2017 | else | 
|---|
| 2018 | if test -n "$CC"; then | 
|---|
| 2019 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2020 | else | 
|---|
| 2021 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2022 | for as_dir in $PATH | 
|---|
| 2023 | do | 
|---|
| 2024 | IFS=$as_save_IFS | 
|---|
| 2025 | test -z "$as_dir" && as_dir=. | 
|---|
| 2026 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2027 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 2028 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
|---|
| 2029 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2030 | break 2 | 
|---|
| 2031 | fi | 
|---|
| 2032 | done | 
|---|
| 2033 | done | 
|---|
| 2034 | IFS=$as_save_IFS | 
|---|
| 2035 |  | 
|---|
| 2036 | fi | 
|---|
| 2037 | fi | 
|---|
| 2038 | CC=$ac_cv_prog_CC | 
|---|
| 2039 | if test -n "$CC"; then | 
|---|
| 2040 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 2041 | $as_echo "$CC" >&6; } | 
|---|
| 2042 | else | 
|---|
| 2043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2044 | $as_echo "no" >&6; } | 
|---|
| 2045 | fi | 
|---|
| 2046 |  | 
|---|
| 2047 |  | 
|---|
| 2048 | fi | 
|---|
| 2049 | if test -z "$ac_cv_prog_CC"; then | 
|---|
| 2050 | ac_ct_CC=$CC | 
|---|
| 2051 | # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 2052 | set dummy gcc; ac_word=$2 | 
|---|
| 2053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2054 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2055 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
|---|
| 2056 | $as_echo_n "(cached) " >&6 | 
|---|
| 2057 | else | 
|---|
| 2058 | if test -n "$ac_ct_CC"; then | 
|---|
| 2059 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2060 | else | 
|---|
| 2061 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2062 | for as_dir in $PATH | 
|---|
| 2063 | do | 
|---|
| 2064 | IFS=$as_save_IFS | 
|---|
| 2065 | test -z "$as_dir" && as_dir=. | 
|---|
| 2066 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2067 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 2068 | ac_cv_prog_ac_ct_CC="gcc" | 
|---|
| 2069 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2070 | break 2 | 
|---|
| 2071 | fi | 
|---|
| 2072 | done | 
|---|
| 2073 | done | 
|---|
| 2074 | IFS=$as_save_IFS | 
|---|
| 2075 |  | 
|---|
| 2076 | fi | 
|---|
| 2077 | fi | 
|---|
| 2078 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2079 | if test -n "$ac_ct_CC"; then | 
|---|
| 2080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
|---|
| 2081 | $as_echo "$ac_ct_CC" >&6; } | 
|---|
| 2082 | else | 
|---|
| 2083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2084 | $as_echo "no" >&6; } | 
|---|
| 2085 | fi | 
|---|
| 2086 |  | 
|---|
| 2087 | if test "x$ac_ct_CC" = x; then | 
|---|
| 2088 | CC="" | 
|---|
| 2089 | else | 
|---|
| 2090 | case $cross_compiling:$ac_tool_warned in | 
|---|
| 2091 | yes:) | 
|---|
| 2092 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
| 2093 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
| 2094 | ac_tool_warned=yes ;; | 
|---|
| 2095 | esac | 
|---|
| 2096 | CC=$ac_ct_CC | 
|---|
| 2097 | fi | 
|---|
| 2098 | else | 
|---|
| 2099 | CC="$ac_cv_prog_CC" | 
|---|
| 2100 | fi | 
|---|
| 2101 |  | 
|---|
| 2102 | if test -z "$CC"; then | 
|---|
| 2103 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2104 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
|---|
| 2105 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
|---|
| 2106 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2107 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2108 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 2109 | $as_echo_n "(cached) " >&6 | 
|---|
| 2110 | else | 
|---|
| 2111 | if test -n "$CC"; then | 
|---|
| 2112 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2113 | else | 
|---|
| 2114 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2115 | for as_dir in $PATH | 
|---|
| 2116 | do | 
|---|
| 2117 | IFS=$as_save_IFS | 
|---|
| 2118 | test -z "$as_dir" && as_dir=. | 
|---|
| 2119 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2120 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 2121 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 
|---|
| 2122 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2123 | break 2 | 
|---|
| 2124 | fi | 
|---|
| 2125 | done | 
|---|
| 2126 | done | 
|---|
| 2127 | IFS=$as_save_IFS | 
|---|
| 2128 |  | 
|---|
| 2129 | fi | 
|---|
| 2130 | fi | 
|---|
| 2131 | CC=$ac_cv_prog_CC | 
|---|
| 2132 | if test -n "$CC"; then | 
|---|
| 2133 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 2134 | $as_echo "$CC" >&6; } | 
|---|
| 2135 | else | 
|---|
| 2136 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2137 | $as_echo "no" >&6; } | 
|---|
| 2138 | fi | 
|---|
| 2139 |  | 
|---|
| 2140 |  | 
|---|
| 2141 | fi | 
|---|
| 2142 | fi | 
|---|
| 2143 | if test -z "$CC"; then | 
|---|
| 2144 | # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 2145 | set dummy cc; ac_word=$2 | 
|---|
| 2146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2147 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2148 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 2149 | $as_echo_n "(cached) " >&6 | 
|---|
| 2150 | else | 
|---|
| 2151 | if test -n "$CC"; then | 
|---|
| 2152 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2153 | else | 
|---|
| 2154 | ac_prog_rejected=no | 
|---|
| 2155 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2156 | for as_dir in $PATH | 
|---|
| 2157 | do | 
|---|
| 2158 | IFS=$as_save_IFS | 
|---|
| 2159 | test -z "$as_dir" && as_dir=. | 
|---|
| 2160 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2161 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 2162 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
|---|
| 2163 | ac_prog_rejected=yes | 
|---|
| 2164 | continue | 
|---|
| 2165 | fi | 
|---|
| 2166 | ac_cv_prog_CC="cc" | 
|---|
| 2167 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2168 | break 2 | 
|---|
| 2169 | fi | 
|---|
| 2170 | done | 
|---|
| 2171 | done | 
|---|
| 2172 | IFS=$as_save_IFS | 
|---|
| 2173 |  | 
|---|
| 2174 | if test $ac_prog_rejected = yes; then | 
|---|
| 2175 | # We found a bogon in the path, so make sure we never use it. | 
|---|
| 2176 | set dummy $ac_cv_prog_CC | 
|---|
| 2177 | shift | 
|---|
| 2178 | if test $# != 0; then | 
|---|
| 2179 | # We chose a different compiler from the bogus one. | 
|---|
| 2180 | # However, it has the same basename, so the bogon will be chosen | 
|---|
| 2181 | # first if we set CC to just the basename; use the full file name. | 
|---|
| 2182 | shift | 
|---|
| 2183 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
|---|
| 2184 | fi | 
|---|
| 2185 | fi | 
|---|
| 2186 | fi | 
|---|
| 2187 | fi | 
|---|
| 2188 | CC=$ac_cv_prog_CC | 
|---|
| 2189 | if test -n "$CC"; then | 
|---|
| 2190 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 2191 | $as_echo "$CC" >&6; } | 
|---|
| 2192 | else | 
|---|
| 2193 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2194 | $as_echo "no" >&6; } | 
|---|
| 2195 | fi | 
|---|
| 2196 |  | 
|---|
| 2197 |  | 
|---|
| 2198 | fi | 
|---|
| 2199 | if test -z "$CC"; then | 
|---|
| 2200 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2201 | for ac_prog in cl.exe | 
|---|
| 2202 | do | 
|---|
| 2203 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|---|
| 2204 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|---|
| 2205 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2206 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2207 | if ${ac_cv_prog_CC+:} false; then : | 
|---|
| 2208 | $as_echo_n "(cached) " >&6 | 
|---|
| 2209 | else | 
|---|
| 2210 | if test -n "$CC"; then | 
|---|
| 2211 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 2212 | else | 
|---|
| 2213 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2214 | for as_dir in $PATH | 
|---|
| 2215 | do | 
|---|
| 2216 | IFS=$as_save_IFS | 
|---|
| 2217 | test -z "$as_dir" && as_dir=. | 
|---|
| 2218 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2219 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 2220 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|---|
| 2221 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2222 | break 2 | 
|---|
| 2223 | fi | 
|---|
| 2224 | done | 
|---|
| 2225 | done | 
|---|
| 2226 | IFS=$as_save_IFS | 
|---|
| 2227 |  | 
|---|
| 2228 | fi | 
|---|
| 2229 | fi | 
|---|
| 2230 | CC=$ac_cv_prog_CC | 
|---|
| 2231 | if test -n "$CC"; then | 
|---|
| 2232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
|---|
| 2233 | $as_echo "$CC" >&6; } | 
|---|
| 2234 | else | 
|---|
| 2235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2236 | $as_echo "no" >&6; } | 
|---|
| 2237 | fi | 
|---|
| 2238 |  | 
|---|
| 2239 |  | 
|---|
| 2240 | test -n "$CC" && break | 
|---|
| 2241 | done | 
|---|
| 2242 | fi | 
|---|
| 2243 | if test -z "$CC"; then | 
|---|
| 2244 | ac_ct_CC=$CC | 
|---|
| 2245 | for ac_prog in cl.exe | 
|---|
| 2246 | do | 
|---|
| 2247 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 2248 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 2249 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 2250 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 2251 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
|---|
| 2252 | $as_echo_n "(cached) " >&6 | 
|---|
| 2253 | else | 
|---|
| 2254 | if test -n "$ac_ct_CC"; then | 
|---|
| 2255 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|---|
| 2256 | else | 
|---|
| 2257 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2258 | for as_dir in $PATH | 
|---|
| 2259 | do | 
|---|
| 2260 | IFS=$as_save_IFS | 
|---|
| 2261 | test -z "$as_dir" && as_dir=. | 
|---|
| 2262 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2263 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 2264 | ac_cv_prog_ac_ct_CC="$ac_prog" | 
|---|
| 2265 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 2266 | break 2 | 
|---|
| 2267 | fi | 
|---|
| 2268 | done | 
|---|
| 2269 | done | 
|---|
| 2270 | IFS=$as_save_IFS | 
|---|
| 2271 |  | 
|---|
| 2272 | fi | 
|---|
| 2273 | fi | 
|---|
| 2274 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|---|
| 2275 | if test -n "$ac_ct_CC"; then | 
|---|
| 2276 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
|---|
| 2277 | $as_echo "$ac_ct_CC" >&6; } | 
|---|
| 2278 | else | 
|---|
| 2279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2280 | $as_echo "no" >&6; } | 
|---|
| 2281 | fi | 
|---|
| 2282 |  | 
|---|
| 2283 |  | 
|---|
| 2284 | test -n "$ac_ct_CC" && break | 
|---|
| 2285 | done | 
|---|
| 2286 |  | 
|---|
| 2287 | if test "x$ac_ct_CC" = x; then | 
|---|
| 2288 | CC="" | 
|---|
| 2289 | else | 
|---|
| 2290 | case $cross_compiling:$ac_tool_warned in | 
|---|
| 2291 | yes:) | 
|---|
| 2292 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
|---|
| 2293 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
|---|
| 2294 | ac_tool_warned=yes ;; | 
|---|
| 2295 | esac | 
|---|
| 2296 | CC=$ac_ct_CC | 
|---|
| 2297 | fi | 
|---|
| 2298 | fi | 
|---|
| 2299 |  | 
|---|
| 2300 | fi | 
|---|
| 2301 |  | 
|---|
| 2302 |  | 
|---|
| 2303 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 2304 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 2305 | as_fn_error $? "no acceptable C compiler found in \$PATH | 
|---|
| 2306 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 2307 |  | 
|---|
| 2308 | # Provide some information about the compiler. | 
|---|
| 2309 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 
|---|
| 2310 | set X $ac_compile | 
|---|
| 2311 | ac_compiler=$2 | 
|---|
| 2312 | for ac_option in --version -v -V -qversion; do | 
|---|
| 2313 | { { ac_try="$ac_compiler $ac_option >&5" | 
|---|
| 2314 | case "(($ac_try" in | 
|---|
| 2315 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 2316 | *) ac_try_echo=$ac_try;; | 
|---|
| 2317 | esac | 
|---|
| 2318 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 2319 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 2320 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 
|---|
| 2321 | ac_status=$? | 
|---|
| 2322 | if test -s conftest.err; then | 
|---|
| 2323 | sed '10a\ | 
|---|
| 2324 | ... rest of stderr output deleted ... | 
|---|
| 2325 | 10q' conftest.err >conftest.er1 | 
|---|
| 2326 | cat conftest.er1 >&5 | 
|---|
| 2327 | fi | 
|---|
| 2328 | rm -f conftest.er1 conftest.err | 
|---|
| 2329 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 2330 | test $ac_status = 0; } | 
|---|
| 2331 | done | 
|---|
| 2332 |  | 
|---|
| 2333 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2334 | /* end confdefs.h.  */ | 
|---|
| 2335 |  | 
|---|
| 2336 | int | 
|---|
| 2337 | main () | 
|---|
| 2338 | { | 
|---|
| 2339 |  | 
|---|
| 2340 | ; | 
|---|
| 2341 | return 0; | 
|---|
| 2342 | } | 
|---|
| 2343 | _ACEOF | 
|---|
| 2344 | ac_clean_files_save=$ac_clean_files | 
|---|
| 2345 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 
|---|
| 2346 | # Try to create an executable without -o first, disregard a.out. | 
|---|
| 2347 | # It will help us diagnose broken compilers, and finding out an intuition | 
|---|
| 2348 | # of exeext. | 
|---|
| 2349 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 
|---|
| 2350 | $as_echo_n "checking whether the C compiler works... " >&6; } | 
|---|
| 2351 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|---|
| 2352 |  | 
|---|
| 2353 | # The possible output files: | 
|---|
| 2354 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 
|---|
| 2355 |  | 
|---|
| 2356 | ac_rmfiles= | 
|---|
| 2357 | for ac_file in $ac_files | 
|---|
| 2358 | do | 
|---|
| 2359 | case $ac_file in | 
|---|
| 2360 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
|---|
| 2361 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 
|---|
| 2362 | esac | 
|---|
| 2363 | done | 
|---|
| 2364 | rm -f $ac_rmfiles | 
|---|
| 2365 |  | 
|---|
| 2366 | if { { ac_try="$ac_link_default" | 
|---|
| 2367 | case "(($ac_try" in | 
|---|
| 2368 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 2369 | *) ac_try_echo=$ac_try;; | 
|---|
| 2370 | esac | 
|---|
| 2371 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 2372 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 2373 | (eval "$ac_link_default") 2>&5 | 
|---|
| 2374 | ac_status=$? | 
|---|
| 2375 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 2376 | test $ac_status = 0; }; then : | 
|---|
| 2377 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 
|---|
| 2378 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 
|---|
| 2379 | # in a Makefile.  We should not override ac_cv_exeext if it was cached, | 
|---|
| 2380 | # so that the user can short-circuit this test for compilers unknown to | 
|---|
| 2381 | # Autoconf. | 
|---|
| 2382 | for ac_file in $ac_files '' | 
|---|
| 2383 | do | 
|---|
| 2384 | test -f "$ac_file" || continue | 
|---|
| 2385 | case $ac_file in | 
|---|
| 2386 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 
|---|
| 2387 | ;; | 
|---|
| 2388 | [ab].out ) | 
|---|
| 2389 | # We found the default executable, but exeext='' is most | 
|---|
| 2390 | # certainly right. | 
|---|
| 2391 | break;; | 
|---|
| 2392 | *.* ) | 
|---|
| 2393 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 
|---|
| 2394 | then :; else | 
|---|
| 2395 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2396 | fi | 
|---|
| 2397 | # We set ac_cv_exeext here because the later test for it is not | 
|---|
| 2398 | # safe: cross compilers may not add the suffix if given an `-o' | 
|---|
| 2399 | # argument, so we may need to know it at that point already. | 
|---|
| 2400 | # Even if this section looks crufty: it has the advantage of | 
|---|
| 2401 | # actually working. | 
|---|
| 2402 | break;; | 
|---|
| 2403 | * ) | 
|---|
| 2404 | break;; | 
|---|
| 2405 | esac | 
|---|
| 2406 | done | 
|---|
| 2407 | test "$ac_cv_exeext" = no && ac_cv_exeext= | 
|---|
| 2408 |  | 
|---|
| 2409 | else | 
|---|
| 2410 | ac_file='' | 
|---|
| 2411 | fi | 
|---|
| 2412 | if test -z "$ac_file"; then : | 
|---|
| 2413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 2414 | $as_echo "no" >&6; } | 
|---|
| 2415 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 2416 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2417 |  | 
|---|
| 2418 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 2419 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 2420 | as_fn_error 77 "C compiler cannot create executables | 
|---|
| 2421 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 2422 | else | 
|---|
| 2423 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 2424 | $as_echo "yes" >&6; } | 
|---|
| 2425 | fi | 
|---|
| 2426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 
|---|
| 2427 | $as_echo_n "checking for C compiler default output file name... " >&6; } | 
|---|
| 2428 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | 
|---|
| 2429 | $as_echo "$ac_file" >&6; } | 
|---|
| 2430 | ac_exeext=$ac_cv_exeext | 
|---|
| 2431 |  | 
|---|
| 2432 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 
|---|
| 2433 | ac_clean_files=$ac_clean_files_save | 
|---|
| 2434 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 
|---|
| 2435 | $as_echo_n "checking for suffix of executables... " >&6; } | 
|---|
| 2436 | if { { ac_try="$ac_link" | 
|---|
| 2437 | case "(($ac_try" in | 
|---|
| 2438 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 2439 | *) ac_try_echo=$ac_try;; | 
|---|
| 2440 | esac | 
|---|
| 2441 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 2442 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 2443 | (eval "$ac_link") 2>&5 | 
|---|
| 2444 | ac_status=$? | 
|---|
| 2445 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 2446 | test $ac_status = 0; }; then : | 
|---|
| 2447 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|---|
| 2448 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|---|
| 2449 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|---|
| 2450 | # `rm'. | 
|---|
| 2451 | for ac_file in conftest.exe conftest conftest.*; do | 
|---|
| 2452 | test -f "$ac_file" || continue | 
|---|
| 2453 | case $ac_file in | 
|---|
| 2454 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
|---|
| 2455 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|---|
| 2456 | break;; | 
|---|
| 2457 | * ) break;; | 
|---|
| 2458 | esac | 
|---|
| 2459 | done | 
|---|
| 2460 | else | 
|---|
| 2461 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 2462 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 2463 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 
|---|
| 2464 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 2465 | fi | 
|---|
| 2466 | rm -f conftest conftest$ac_cv_exeext | 
|---|
| 2467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 
|---|
| 2468 | $as_echo "$ac_cv_exeext" >&6; } | 
|---|
| 2469 |  | 
|---|
| 2470 | rm -f conftest.$ac_ext | 
|---|
| 2471 | EXEEXT=$ac_cv_exeext | 
|---|
| 2472 | ac_exeext=$EXEEXT | 
|---|
| 2473 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2474 | /* end confdefs.h.  */ | 
|---|
| 2475 | #include <stdio.h> | 
|---|
| 2476 | int | 
|---|
| 2477 | main () | 
|---|
| 2478 | { | 
|---|
| 2479 | FILE *f = fopen ("conftest.out", "w"); | 
|---|
| 2480 | return ferror (f) || fclose (f) != 0; | 
|---|
| 2481 |  | 
|---|
| 2482 | ; | 
|---|
| 2483 | return 0; | 
|---|
| 2484 | } | 
|---|
| 2485 | _ACEOF | 
|---|
| 2486 | ac_clean_files="$ac_clean_files conftest.out" | 
|---|
| 2487 | # Check that the compiler produces executables we can run.  If not, either | 
|---|
| 2488 | # the compiler is broken, or we cross compile. | 
|---|
| 2489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | 
|---|
| 2490 | $as_echo_n "checking whether we are cross compiling... " >&6; } | 
|---|
| 2491 | if test "$cross_compiling" != yes; then | 
|---|
| 2492 | { { ac_try="$ac_link" | 
|---|
| 2493 | case "(($ac_try" in | 
|---|
| 2494 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 2495 | *) ac_try_echo=$ac_try;; | 
|---|
| 2496 | esac | 
|---|
| 2497 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 2498 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 2499 | (eval "$ac_link") 2>&5 | 
|---|
| 2500 | ac_status=$? | 
|---|
| 2501 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 2502 | test $ac_status = 0; } | 
|---|
| 2503 | if { ac_try='./conftest$ac_cv_exeext' | 
|---|
| 2504 | { { case "(($ac_try" in | 
|---|
| 2505 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 2506 | *) ac_try_echo=$ac_try;; | 
|---|
| 2507 | esac | 
|---|
| 2508 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 2509 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 2510 | (eval "$ac_try") 2>&5 | 
|---|
| 2511 | ac_status=$? | 
|---|
| 2512 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 2513 | test $ac_status = 0; }; }; then | 
|---|
| 2514 | cross_compiling=no | 
|---|
| 2515 | else | 
|---|
| 2516 | if test "$cross_compiling" = maybe; then | 
|---|
| 2517 | cross_compiling=yes | 
|---|
| 2518 | else | 
|---|
| 2519 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 2520 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 2521 | as_fn_error $? "cannot run C compiled programs. | 
|---|
| 2522 | If you meant to cross compile, use \`--host'. | 
|---|
| 2523 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 2524 | fi | 
|---|
| 2525 | fi | 
|---|
| 2526 | fi | 
|---|
| 2527 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 
|---|
| 2528 | $as_echo "$cross_compiling" >&6; } | 
|---|
| 2529 |  | 
|---|
| 2530 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 
|---|
| 2531 | ac_clean_files=$ac_clean_files_save | 
|---|
| 2532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 
|---|
| 2533 | $as_echo_n "checking for suffix of object files... " >&6; } | 
|---|
| 2534 | if ${ac_cv_objext+:} false; then : | 
|---|
| 2535 | $as_echo_n "(cached) " >&6 | 
|---|
| 2536 | else | 
|---|
| 2537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2538 | /* end confdefs.h.  */ | 
|---|
| 2539 |  | 
|---|
| 2540 | int | 
|---|
| 2541 | main () | 
|---|
| 2542 | { | 
|---|
| 2543 |  | 
|---|
| 2544 | ; | 
|---|
| 2545 | return 0; | 
|---|
| 2546 | } | 
|---|
| 2547 | _ACEOF | 
|---|
| 2548 | rm -f conftest.o conftest.obj | 
|---|
| 2549 | if { { ac_try="$ac_compile" | 
|---|
| 2550 | case "(($ac_try" in | 
|---|
| 2551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
|---|
| 2552 | *) ac_try_echo=$ac_try;; | 
|---|
| 2553 | esac | 
|---|
| 2554 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
|---|
| 2555 | $as_echo "$ac_try_echo"; } >&5 | 
|---|
| 2556 | (eval "$ac_compile") 2>&5 | 
|---|
| 2557 | ac_status=$? | 
|---|
| 2558 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
|---|
| 2559 | test $ac_status = 0; }; then : | 
|---|
| 2560 | for ac_file in conftest.o conftest.obj conftest.*; do | 
|---|
| 2561 | test -f "$ac_file" || continue; | 
|---|
| 2562 | case $ac_file in | 
|---|
| 2563 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 
|---|
| 2564 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|---|
| 2565 | break;; | 
|---|
| 2566 | esac | 
|---|
| 2567 | done | 
|---|
| 2568 | else | 
|---|
| 2569 | $as_echo "$as_me: failed program was:" >&5 | 
|---|
| 2570 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|---|
| 2571 |  | 
|---|
| 2572 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 2573 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 2574 | as_fn_error $? "cannot compute suffix of object files: cannot compile | 
|---|
| 2575 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 2576 | fi | 
|---|
| 2577 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|---|
| 2578 | fi | 
|---|
| 2579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 
|---|
| 2580 | $as_echo "$ac_cv_objext" >&6; } | 
|---|
| 2581 | OBJEXT=$ac_cv_objext | 
|---|
| 2582 | ac_objext=$OBJEXT | 
|---|
| 2583 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 
|---|
| 2584 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 
|---|
| 2585 | if ${ac_cv_c_compiler_gnu+:} false; then : | 
|---|
| 2586 | $as_echo_n "(cached) " >&6 | 
|---|
| 2587 | else | 
|---|
| 2588 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2589 | /* end confdefs.h.  */ | 
|---|
| 2590 |  | 
|---|
| 2591 | int | 
|---|
| 2592 | main () | 
|---|
| 2593 | { | 
|---|
| 2594 | #ifndef __GNUC__ | 
|---|
| 2595 | choke me | 
|---|
| 2596 | #endif | 
|---|
| 2597 |  | 
|---|
| 2598 | ; | 
|---|
| 2599 | return 0; | 
|---|
| 2600 | } | 
|---|
| 2601 | _ACEOF | 
|---|
| 2602 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2603 | ac_compiler_gnu=yes | 
|---|
| 2604 | else | 
|---|
| 2605 | ac_compiler_gnu=no | 
|---|
| 2606 | fi | 
|---|
| 2607 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2608 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|---|
| 2609 |  | 
|---|
| 2610 | fi | 
|---|
| 2611 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 
|---|
| 2612 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 
|---|
| 2613 | if test $ac_compiler_gnu = yes; then | 
|---|
| 2614 | GCC=yes | 
|---|
| 2615 | else | 
|---|
| 2616 | GCC= | 
|---|
| 2617 | fi | 
|---|
| 2618 | ac_test_CFLAGS=${CFLAGS+set} | 
|---|
| 2619 | ac_save_CFLAGS=$CFLAGS | 
|---|
| 2620 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 
|---|
| 2621 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 
|---|
| 2622 | if ${ac_cv_prog_cc_g+:} false; then : | 
|---|
| 2623 | $as_echo_n "(cached) " >&6 | 
|---|
| 2624 | else | 
|---|
| 2625 | ac_save_c_werror_flag=$ac_c_werror_flag | 
|---|
| 2626 | ac_c_werror_flag=yes | 
|---|
| 2627 | ac_cv_prog_cc_g=no | 
|---|
| 2628 | CFLAGS="-g" | 
|---|
| 2629 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2630 | /* end confdefs.h.  */ | 
|---|
| 2631 |  | 
|---|
| 2632 | int | 
|---|
| 2633 | main () | 
|---|
| 2634 | { | 
|---|
| 2635 |  | 
|---|
| 2636 | ; | 
|---|
| 2637 | return 0; | 
|---|
| 2638 | } | 
|---|
| 2639 | _ACEOF | 
|---|
| 2640 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2641 | ac_cv_prog_cc_g=yes | 
|---|
| 2642 | else | 
|---|
| 2643 | CFLAGS="" | 
|---|
| 2644 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2645 | /* end confdefs.h.  */ | 
|---|
| 2646 |  | 
|---|
| 2647 | int | 
|---|
| 2648 | main () | 
|---|
| 2649 | { | 
|---|
| 2650 |  | 
|---|
| 2651 | ; | 
|---|
| 2652 | return 0; | 
|---|
| 2653 | } | 
|---|
| 2654 | _ACEOF | 
|---|
| 2655 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2656 |  | 
|---|
| 2657 | else | 
|---|
| 2658 | ac_c_werror_flag=$ac_save_c_werror_flag | 
|---|
| 2659 | CFLAGS="-g" | 
|---|
| 2660 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2661 | /* end confdefs.h.  */ | 
|---|
| 2662 |  | 
|---|
| 2663 | int | 
|---|
| 2664 | main () | 
|---|
| 2665 | { | 
|---|
| 2666 |  | 
|---|
| 2667 | ; | 
|---|
| 2668 | return 0; | 
|---|
| 2669 | } | 
|---|
| 2670 | _ACEOF | 
|---|
| 2671 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2672 | ac_cv_prog_cc_g=yes | 
|---|
| 2673 | fi | 
|---|
| 2674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2675 | fi | 
|---|
| 2676 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2677 | fi | 
|---|
| 2678 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 2679 | ac_c_werror_flag=$ac_save_c_werror_flag | 
|---|
| 2680 | fi | 
|---|
| 2681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 
|---|
| 2682 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 
|---|
| 2683 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 2684 | CFLAGS=$ac_save_CFLAGS | 
|---|
| 2685 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 2686 | if test "$GCC" = yes; then | 
|---|
| 2687 | CFLAGS="-g -O2" | 
|---|
| 2688 | else | 
|---|
| 2689 | CFLAGS="-g" | 
|---|
| 2690 | fi | 
|---|
| 2691 | else | 
|---|
| 2692 | if test "$GCC" = yes; then | 
|---|
| 2693 | CFLAGS="-O2" | 
|---|
| 2694 | else | 
|---|
| 2695 | CFLAGS= | 
|---|
| 2696 | fi | 
|---|
| 2697 | fi | 
|---|
| 2698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 
|---|
| 2699 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 
|---|
| 2700 | if ${ac_cv_prog_cc_c89+:} false; then : | 
|---|
| 2701 | $as_echo_n "(cached) " >&6 | 
|---|
| 2702 | else | 
|---|
| 2703 | ac_cv_prog_cc_c89=no | 
|---|
| 2704 | ac_save_CC=$CC | 
|---|
| 2705 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 2706 | /* end confdefs.h.  */ | 
|---|
| 2707 | #include <stdarg.h> | 
|---|
| 2708 | #include <stdio.h> | 
|---|
| 2709 | #include <sys/types.h> | 
|---|
| 2710 | #include <sys/stat.h> | 
|---|
| 2711 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|---|
| 2712 | struct buf { int x; }; | 
|---|
| 2713 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|---|
| 2714 | static char *e (p, i) | 
|---|
| 2715 | char **p; | 
|---|
| 2716 | int i; | 
|---|
| 2717 | { | 
|---|
| 2718 | return p[i]; | 
|---|
| 2719 | } | 
|---|
| 2720 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|---|
| 2721 | { | 
|---|
| 2722 | char *s; | 
|---|
| 2723 | va_list v; | 
|---|
| 2724 | va_start (v,p); | 
|---|
| 2725 | s = g (p, va_arg (v,int)); | 
|---|
| 2726 | va_end (v); | 
|---|
| 2727 | return s; | 
|---|
| 2728 | } | 
|---|
| 2729 |  | 
|---|
| 2730 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
|---|
| 2731 | function prototypes and stuff, but not '\xHH' hex character constants. | 
|---|
| 2732 | These don't provoke an error unfortunately, instead are silently treated | 
|---|
| 2733 | as 'x'.  The following induces an error, until -std is added to get | 
|---|
| 2734 | proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
|---|
| 2735 | array size at least.  It's necessary to write '\x00'==0 to get something | 
|---|
| 2736 | that's true only with -std.  */ | 
|---|
| 2737 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
|---|
| 2738 |  | 
|---|
| 2739 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 
|---|
| 2740 | inside strings and character constants.  */ | 
|---|
| 2741 | #define FOO(x) 'x' | 
|---|
| 2742 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 
|---|
| 2743 |  | 
|---|
| 2744 | int test (int i, double x); | 
|---|
| 2745 | struct s1 {int (*f) (int a);}; | 
|---|
| 2746 | struct s2 {int (*f) (double a);}; | 
|---|
| 2747 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|---|
| 2748 | int argc; | 
|---|
| 2749 | char **argv; | 
|---|
| 2750 | int | 
|---|
| 2751 | main () | 
|---|
| 2752 | { | 
|---|
| 2753 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|---|
| 2754 | ; | 
|---|
| 2755 | return 0; | 
|---|
| 2756 | } | 
|---|
| 2757 | _ACEOF | 
|---|
| 2758 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 
|---|
| 2759 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|---|
| 2760 | do | 
|---|
| 2761 | CC="$ac_save_CC $ac_arg" | 
|---|
| 2762 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 2763 | ac_cv_prog_cc_c89=$ac_arg | 
|---|
| 2764 | fi | 
|---|
| 2765 | rm -f core conftest.err conftest.$ac_objext | 
|---|
| 2766 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 
|---|
| 2767 | done | 
|---|
| 2768 | rm -f conftest.$ac_ext | 
|---|
| 2769 | CC=$ac_save_CC | 
|---|
| 2770 |  | 
|---|
| 2771 | fi | 
|---|
| 2772 | # AC_CACHE_VAL | 
|---|
| 2773 | case "x$ac_cv_prog_cc_c89" in | 
|---|
| 2774 | x) | 
|---|
| 2775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 
|---|
| 2776 | $as_echo "none needed" >&6; } ;; | 
|---|
| 2777 | xno) | 
|---|
| 2778 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 
|---|
| 2779 | $as_echo "unsupported" >&6; } ;; | 
|---|
| 2780 | *) | 
|---|
| 2781 | CC="$CC $ac_cv_prog_cc_c89" | 
|---|
| 2782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 
|---|
| 2783 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 
|---|
| 2784 | esac | 
|---|
| 2785 | if test "x$ac_cv_prog_cc_c89" != xno; then : | 
|---|
| 2786 |  | 
|---|
| 2787 | fi | 
|---|
| 2788 |  | 
|---|
| 2789 | ac_ext=c | 
|---|
| 2790 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2791 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 2792 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 2793 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 2794 |  | 
|---|
| 2795 | ac_aux_dir= | 
|---|
| 2796 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 
|---|
| 2797 | if test -f "$ac_dir/install-sh"; then | 
|---|
| 2798 | ac_aux_dir=$ac_dir | 
|---|
| 2799 | ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 2800 | break | 
|---|
| 2801 | elif test -f "$ac_dir/install.sh"; then | 
|---|
| 2802 | ac_aux_dir=$ac_dir | 
|---|
| 2803 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 2804 | break | 
|---|
| 2805 | elif test -f "$ac_dir/shtool"; then | 
|---|
| 2806 | ac_aux_dir=$ac_dir | 
|---|
| 2807 | ac_install_sh="$ac_aux_dir/shtool install -c" | 
|---|
| 2808 | break | 
|---|
| 2809 | fi | 
|---|
| 2810 | done | 
|---|
| 2811 | if test -z "$ac_aux_dir"; then | 
|---|
| 2812 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 
|---|
| 2813 | fi | 
|---|
| 2814 |  | 
|---|
| 2815 | # These three variables are undocumented and unsupported, | 
|---|
| 2816 | # and are intended to be withdrawn in a future Autoconf release. | 
|---|
| 2817 | # They can cause serious problems if a builder's source tree is in a directory | 
|---|
| 2818 | # whose full name contains unusual characters. | 
|---|
| 2819 | ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var. | 
|---|
| 2820 | ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var. | 
|---|
| 2821 | ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var. | 
|---|
| 2822 |  | 
|---|
| 2823 |  | 
|---|
| 2824 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 2825 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 2826 | # incompatible versions: | 
|---|
| 2827 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 2828 | # SunOS /usr/etc/install | 
|---|
| 2829 | # IRIX /sbin/install | 
|---|
| 2830 | # AIX /bin/install | 
|---|
| 2831 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|---|
| 2832 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 2833 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 2834 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 2835 | # OS/2's system install, which has a completely different semantic | 
|---|
| 2836 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 2837 | # Reject install programs that cannot install multiple files. | 
|---|
| 2838 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 
|---|
| 2839 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 
|---|
| 2840 | if test -z "$INSTALL"; then | 
|---|
| 2841 | if ${ac_cv_path_install+:} false; then : | 
|---|
| 2842 | $as_echo_n "(cached) " >&6 | 
|---|
| 2843 | else | 
|---|
| 2844 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 2845 | for as_dir in $PATH | 
|---|
| 2846 | do | 
|---|
| 2847 | IFS=$as_save_IFS | 
|---|
| 2848 | test -z "$as_dir" && as_dir=. | 
|---|
| 2849 | # Account for people who put trailing slashes in PATH elements. | 
|---|
| 2850 | case $as_dir/ in #(( | 
|---|
| 2851 | ./ | .// | /[cC]/* | \ | 
|---|
| 2852 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|---|
| 2853 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 
|---|
| 2854 | /usr/ucb/* ) ;; | 
|---|
| 2855 | *) | 
|---|
| 2856 | # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 2857 | # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 2858 | # by default. | 
|---|
| 2859 | for ac_prog in ginstall scoinst install; do | 
|---|
| 2860 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 2861 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | 
|---|
| 2862 | if test $ac_prog = install && | 
|---|
| 2863 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 2864 | # AIX install.  It has an incompatible calling convention. | 
|---|
| 2865 | : | 
|---|
| 2866 | elif test $ac_prog = install && | 
|---|
| 2867 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|---|
| 2868 | # program-specific install script used by HP pwplus--don't use. | 
|---|
| 2869 | : | 
|---|
| 2870 | else | 
|---|
| 2871 | rm -rf conftest.one conftest.two conftest.dir | 
|---|
| 2872 | echo one > conftest.one | 
|---|
| 2873 | echo two > conftest.two | 
|---|
| 2874 | mkdir conftest.dir | 
|---|
| 2875 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | 
|---|
| 2876 | test -s conftest.one && test -s conftest.two && | 
|---|
| 2877 | test -s conftest.dir/conftest.one && | 
|---|
| 2878 | test -s conftest.dir/conftest.two | 
|---|
| 2879 | then | 
|---|
| 2880 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|---|
| 2881 | break 3 | 
|---|
| 2882 | fi | 
|---|
| 2883 | fi | 
|---|
| 2884 | fi | 
|---|
| 2885 | done | 
|---|
| 2886 | done | 
|---|
| 2887 | ;; | 
|---|
| 2888 | esac | 
|---|
| 2889 |  | 
|---|
| 2890 | done | 
|---|
| 2891 | IFS=$as_save_IFS | 
|---|
| 2892 |  | 
|---|
| 2893 | rm -rf conftest.one conftest.two conftest.dir | 
|---|
| 2894 |  | 
|---|
| 2895 | fi | 
|---|
| 2896 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 2897 | INSTALL=$ac_cv_path_install | 
|---|
| 2898 | else | 
|---|
| 2899 | # As a last resort, use the slow shell script.  Don't cache a | 
|---|
| 2900 | # value for INSTALL within a source directory, because that will | 
|---|
| 2901 | # break other packages using the cache if that directory is | 
|---|
| 2902 | # removed, or if the value is a relative name. | 
|---|
| 2903 | INSTALL=$ac_install_sh | 
|---|
| 2904 | fi | 
|---|
| 2905 | fi | 
|---|
| 2906 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 
|---|
| 2907 | $as_echo "$INSTALL" >&6; } | 
|---|
| 2908 |  | 
|---|
| 2909 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 2910 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 2911 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 2912 |  | 
|---|
| 2913 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|---|
| 2914 |  | 
|---|
| 2915 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 2916 |  | 
|---|
| 2917 | # Make sure we can run config.sub. | 
|---|
| 2918 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 
|---|
| 2919 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 
|---|
| 2920 |  | 
|---|
| 2921 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 
|---|
| 2922 | $as_echo_n "checking build system type... " >&6; } | 
|---|
| 2923 | if ${ac_cv_build+:} false; then : | 
|---|
| 2924 | $as_echo_n "(cached) " >&6 | 
|---|
| 2925 | else | 
|---|
| 2926 | ac_build_alias=$build_alias | 
|---|
| 2927 | test "x$ac_build_alias" = x && | 
|---|
| 2928 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 
|---|
| 2929 | test "x$ac_build_alias" = x && | 
|---|
| 2930 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 
|---|
| 2931 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 
|---|
| 2932 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 
|---|
| 2933 |  | 
|---|
| 2934 | fi | 
|---|
| 2935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 
|---|
| 2936 | $as_echo "$ac_cv_build" >&6; } | 
|---|
| 2937 | case $ac_cv_build in | 
|---|
| 2938 | *-*-*) ;; | 
|---|
| 2939 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 
|---|
| 2940 | esac | 
|---|
| 2941 | build=$ac_cv_build | 
|---|
| 2942 | ac_save_IFS=$IFS; IFS='-' | 
|---|
| 2943 | set x $ac_cv_build | 
|---|
| 2944 | shift | 
|---|
| 2945 | build_cpu=$1 | 
|---|
| 2946 | build_vendor=$2 | 
|---|
| 2947 | shift; shift | 
|---|
| 2948 | # Remember, the first character of IFS is used to create $*, | 
|---|
| 2949 | # except with old shells: | 
|---|
| 2950 | build_os=$* | 
|---|
| 2951 | IFS=$ac_save_IFS | 
|---|
| 2952 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 
|---|
| 2953 |  | 
|---|
| 2954 |  | 
|---|
| 2955 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 
|---|
| 2956 | $as_echo_n "checking host system type... " >&6; } | 
|---|
| 2957 | if ${ac_cv_host+:} false; then : | 
|---|
| 2958 | $as_echo_n "(cached) " >&6 | 
|---|
| 2959 | else | 
|---|
| 2960 | if test "x$host_alias" = x; then | 
|---|
| 2961 | ac_cv_host=$ac_cv_build | 
|---|
| 2962 | else | 
|---|
| 2963 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 
|---|
| 2964 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 
|---|
| 2965 | fi | 
|---|
| 2966 |  | 
|---|
| 2967 | fi | 
|---|
| 2968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 
|---|
| 2969 | $as_echo "$ac_cv_host" >&6; } | 
|---|
| 2970 | case $ac_cv_host in | 
|---|
| 2971 | *-*-*) ;; | 
|---|
| 2972 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 
|---|
| 2973 | esac | 
|---|
| 2974 | host=$ac_cv_host | 
|---|
| 2975 | ac_save_IFS=$IFS; IFS='-' | 
|---|
| 2976 | set x $ac_cv_host | 
|---|
| 2977 | shift | 
|---|
| 2978 | host_cpu=$1 | 
|---|
| 2979 | host_vendor=$2 | 
|---|
| 2980 | shift; shift | 
|---|
| 2981 | # Remember, the first character of IFS is used to create $*, | 
|---|
| 2982 | # except with old shells: | 
|---|
| 2983 | host_os=$* | 
|---|
| 2984 | IFS=$ac_save_IFS | 
|---|
| 2985 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 
|---|
| 2986 |  | 
|---|
| 2987 |  | 
|---|
| 2988 |  | 
|---|
| 2989 | ################################################# | 
|---|
| 2990 | # Directory handling stuff to support both the | 
|---|
| 2991 | # legacy SAMBA directories and FHS compliant | 
|---|
| 2992 | # ones... | 
|---|
| 2993 |  | 
|---|
| 2994 |  | 
|---|
| 2995 |  | 
|---|
| 2996 | # Check whether --with-fhs was given. | 
|---|
| 2997 | if test "${with_fhs+set}" = set; then : | 
|---|
| 2998 | withval=$with_fhs; libdir="\${prefix}/lib/samba" | 
|---|
| 2999 | else | 
|---|
| 3000 | libdir="\${prefix}/lib" | 
|---|
| 3001 | fi | 
|---|
| 3002 |  | 
|---|
| 3003 |  | 
|---|
| 3004 |  | 
|---|
| 3005 |  | 
|---|
| 3006 | SAMBA_SOURCE="../../source3" | 
|---|
| 3007 | #################################################### | 
|---|
| 3008 | # set the location location of the samba source tree | 
|---|
| 3009 |  | 
|---|
| 3010 | # Check whether --with-samba-source was given. | 
|---|
| 3011 | if test "${with_samba_source+set}" = set; then : | 
|---|
| 3012 | withval=$with_samba_source;  case "$withval" in | 
|---|
| 3013 | yes|no) | 
|---|
| 3014 | # | 
|---|
| 3015 | # Just in case anybody calls it without argument | 
|---|
| 3016 | # | 
|---|
| 3017 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-samba-source called without argument - will use default" >&5 | 
|---|
| 3018 | $as_echo "$as_me: WARNING: --with-samba-source called without argument - will use default" >&2;} | 
|---|
| 3019 | ;; | 
|---|
| 3020 | * ) | 
|---|
| 3021 | SAMBA_SOURCE="$withval" | 
|---|
| 3022 | ;; | 
|---|
| 3023 | esac | 
|---|
| 3024 | fi | 
|---|
| 3025 |  | 
|---|
| 3026 |  | 
|---|
| 3027 |  | 
|---|
| 3028 |  | 
|---|
| 3029 |  | 
|---|
| 3030 |  | 
|---|
| 3031 |  | 
|---|
| 3032 |  | 
|---|
| 3033 |  | 
|---|
| 3034 |  | 
|---|
| 3035 |  | 
|---|
| 3036 |  | 
|---|
| 3037 |  | 
|---|
| 3038 |  | 
|---|
| 3039 |  | 
|---|
| 3040 |  | 
|---|
| 3041 |  | 
|---|
| 3042 |  | 
|---|
| 3043 |  | 
|---|
| 3044 |  | 
|---|
| 3045 | # Check whether --enable-debug was given. | 
|---|
| 3046 | if test "${enable_debug+set}" = set; then : | 
|---|
| 3047 | enableval=$enable_debug; if eval "test x$enable_debug = xyes"; then | 
|---|
| 3048 | CFLAGS="${CFLAGS} -g" | 
|---|
| 3049 | fi | 
|---|
| 3050 | fi | 
|---|
| 3051 |  | 
|---|
| 3052 |  | 
|---|
| 3053 | # Check whether --enable-developer was given. | 
|---|
| 3054 | if test "${enable_developer+set}" = set; then : | 
|---|
| 3055 | enableval=$enable_developer; if eval "test x$enable_developer = xyes"; then | 
|---|
| 3056 | developer=yes | 
|---|
| 3057 | CFLAGS="${CFLAGS} -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER" | 
|---|
| 3058 | fi | 
|---|
| 3059 | fi | 
|---|
| 3060 |  | 
|---|
| 3061 |  | 
|---|
| 3062 | # compile with optimization and without debugging by default, but | 
|---|
| 3063 | # allow people to set their own preference. | 
|---|
| 3064 | if test "x$CFLAGS" = x | 
|---|
| 3065 | then | 
|---|
| 3066 | CFLAGS="-O ${CFLAGS}" | 
|---|
| 3067 | fi | 
|---|
| 3068 |  | 
|---|
| 3069 | ################################################# | 
|---|
| 3070 | # check for krb5-config from recent MIT and Heimdal kerberos 5 | 
|---|
| 3071 | # Extract the first word of "krb5-config", so it can be a program name with args. | 
|---|
| 3072 | set dummy krb5-config; ac_word=$2 | 
|---|
| 3073 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 3074 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 3075 | if ${ac_cv_path_KRB5CONFIG+:} false; then : | 
|---|
| 3076 | $as_echo_n "(cached) " >&6 | 
|---|
| 3077 | else | 
|---|
| 3078 | case $KRB5CONFIG in | 
|---|
| 3079 | [\\/]* | ?:[\\/]*) | 
|---|
| 3080 | ac_cv_path_KRB5CONFIG="$KRB5CONFIG" # Let the user override the test with a path. | 
|---|
| 3081 | ;; | 
|---|
| 3082 | *) | 
|---|
| 3083 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 3084 | for as_dir in $PATH | 
|---|
| 3085 | do | 
|---|
| 3086 | IFS=$as_save_IFS | 
|---|
| 3087 | test -z "$as_dir" && as_dir=. | 
|---|
| 3088 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 3089 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 3090 | ac_cv_path_KRB5CONFIG="$as_dir/$ac_word$ac_exec_ext" | 
|---|
| 3091 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 3092 | break 2 | 
|---|
| 3093 | fi | 
|---|
| 3094 | done | 
|---|
| 3095 | done | 
|---|
| 3096 | IFS=$as_save_IFS | 
|---|
| 3097 |  | 
|---|
| 3098 | ;; | 
|---|
| 3099 | esac | 
|---|
| 3100 | fi | 
|---|
| 3101 | KRB5CONFIG=$ac_cv_path_KRB5CONFIG | 
|---|
| 3102 | if test -n "$KRB5CONFIG"; then | 
|---|
| 3103 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5CONFIG" >&5 | 
|---|
| 3104 | $as_echo "$KRB5CONFIG" >&6; } | 
|---|
| 3105 | else | 
|---|
| 3106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3107 | $as_echo "no" >&6; } | 
|---|
| 3108 | fi | 
|---|
| 3109 |  | 
|---|
| 3110 |  | 
|---|
| 3111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working krb5-config" >&5 | 
|---|
| 3112 | $as_echo_n "checking for working krb5-config... " >&6; } | 
|---|
| 3113 | if test -x "$KRB5CONFIG"; then | 
|---|
| 3114 | CFLAGS="$CFLAGS `$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`" | 
|---|
| 3115 | CPPFLAGS="$CPPFLAGS `$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`" | 
|---|
| 3116 | FOUND_KRB5=yes | 
|---|
| 3117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 3118 | $as_echo "yes" >&6; } | 
|---|
| 3119 | else | 
|---|
| 3120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no. Fallback to previous krb5 detection strategy" >&5 | 
|---|
| 3121 | $as_echo "no. Fallback to previous krb5 detection strategy" >&6; } | 
|---|
| 3122 | fi | 
|---|
| 3123 |  | 
|---|
| 3124 | if test x$FOUND_KRB5 = x"no"; then | 
|---|
| 3125 | ################################################# | 
|---|
| 3126 | # check for location of Kerberos 5 install | 
|---|
| 3127 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberos 5 install path" >&5 | 
|---|
| 3128 | $as_echo_n "checking for kerberos 5 install path... " >&6; } | 
|---|
| 3129 |  | 
|---|
| 3130 | # Check whether --with-krb5 was given. | 
|---|
| 3131 | if test "${with_krb5+set}" = set; then : | 
|---|
| 3132 | withval=$with_krb5;  case "$withval" in | 
|---|
| 3133 | no) | 
|---|
| 3134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3135 | $as_echo "no" >&6; } | 
|---|
| 3136 | ;; | 
|---|
| 3137 | *) | 
|---|
| 3138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 3139 | $as_echo "yes" >&6; } | 
|---|
| 3140 | CFLAGS="$CFLAGS -I$withval/include" | 
|---|
| 3141 | CPPFLAGS="$CPPFLAGS -I$withval/include" | 
|---|
| 3142 | FOUND_KRB5=yes | 
|---|
| 3143 | ;; | 
|---|
| 3144 | esac | 
|---|
| 3145 | else | 
|---|
| 3146 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3147 | $as_echo "no" >&6; } | 
|---|
| 3148 |  | 
|---|
| 3149 | fi | 
|---|
| 3150 |  | 
|---|
| 3151 | fi | 
|---|
| 3152 |  | 
|---|
| 3153 | if test x$FOUND_KRB5 = x"no"; then | 
|---|
| 3154 | ################################################# | 
|---|
| 3155 | # see if this box has the SuSE location for the heimdal kerberos implementation | 
|---|
| 3156 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/include/heimdal" >&5 | 
|---|
| 3157 | $as_echo_n "checking for /usr/include/heimdal... " >&6; } | 
|---|
| 3158 | if test -d /usr/include/heimdal; then | 
|---|
| 3159 | if test -f /usr/lib/heimdal/lib/libkrb5.a; then | 
|---|
| 3160 | CFLAGS="$CFLAGS -I/usr/include/heimdal" | 
|---|
| 3161 | CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal" | 
|---|
| 3162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 3163 | $as_echo "yes" >&6; } | 
|---|
| 3164 | else | 
|---|
| 3165 | CFLAGS="$CFLAGS -I/usr/include/heimdal" | 
|---|
| 3166 | CPPFLAGS="$CPPFLAGS -I/usr/include/heimdal" | 
|---|
| 3167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 3168 | $as_echo "yes" >&6; } | 
|---|
| 3169 |  | 
|---|
| 3170 | fi | 
|---|
| 3171 | else | 
|---|
| 3172 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3173 | $as_echo "no" >&6; } | 
|---|
| 3174 | fi | 
|---|
| 3175 | fi | 
|---|
| 3176 |  | 
|---|
| 3177 |  | 
|---|
| 3178 | if test x$FOUND_KRB5 = x"no"; then | 
|---|
| 3179 | ################################################# | 
|---|
| 3180 | # see if this box has the RedHat location for kerberos | 
|---|
| 3181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/kerberos" >&5 | 
|---|
| 3182 | $as_echo_n "checking for /usr/kerberos... " >&6; } | 
|---|
| 3183 | if test -d /usr/kerberos -a -f /usr/kerberos/lib/libkrb5.a; then | 
|---|
| 3184 | LDFLAGS="$LDFLAGS -L/usr/kerberos/lib" | 
|---|
| 3185 | CFLAGS="$CFLAGS -I/usr/kerberos/include" | 
|---|
| 3186 | CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include" | 
|---|
| 3187 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
|---|
| 3188 | $as_echo "yes" >&6; } | 
|---|
| 3189 | else | 
|---|
| 3190 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3191 | $as_echo "no" >&6; } | 
|---|
| 3192 | fi | 
|---|
| 3193 | fi | 
|---|
| 3194 |  | 
|---|
| 3195 | # now check for krb5.h. Some systems have the libraries without the headers! | 
|---|
| 3196 | # note that this check is done here to allow for different kerberos | 
|---|
| 3197 | # include paths | 
|---|
| 3198 |  | 
|---|
| 3199 | ac_ext=c | 
|---|
| 3200 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3201 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3202 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3203 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3204 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 
|---|
| 3205 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 
|---|
| 3206 | # On Suns, sometimes $CPP names a directory. | 
|---|
| 3207 | if test -n "$CPP" && test -d "$CPP"; then | 
|---|
| 3208 | CPP= | 
|---|
| 3209 | fi | 
|---|
| 3210 | if test -z "$CPP"; then | 
|---|
| 3211 | if ${ac_cv_prog_CPP+:} false; then : | 
|---|
| 3212 | $as_echo_n "(cached) " >&6 | 
|---|
| 3213 | else | 
|---|
| 3214 | # Double quotes because CPP needs to be expanded | 
|---|
| 3215 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|---|
| 3216 | do | 
|---|
| 3217 | ac_preproc_ok=false | 
|---|
| 3218 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3219 | do | 
|---|
| 3220 | # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3221 | # with a fresh cross-compiler works. | 
|---|
| 3222 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3223 | # <limits.h> exists even on freestanding compilers. | 
|---|
| 3224 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3225 | # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3226 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3227 | /* end confdefs.h.  */ | 
|---|
| 3228 | #ifdef __STDC__ | 
|---|
| 3229 | # include <limits.h> | 
|---|
| 3230 | #else | 
|---|
| 3231 | # include <assert.h> | 
|---|
| 3232 | #endif | 
|---|
| 3233 | Syntax error | 
|---|
| 3234 | _ACEOF | 
|---|
| 3235 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 3236 |  | 
|---|
| 3237 | else | 
|---|
| 3238 | # Broken: fails on valid input. | 
|---|
| 3239 | continue | 
|---|
| 3240 | fi | 
|---|
| 3241 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 3242 |  | 
|---|
| 3243 | # OK, works on sane cases.  Now check whether nonexistent headers | 
|---|
| 3244 | # can be detected and how. | 
|---|
| 3245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3246 | /* end confdefs.h.  */ | 
|---|
| 3247 | #include <ac_nonexistent.h> | 
|---|
| 3248 | _ACEOF | 
|---|
| 3249 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 3250 | # Broken: success on invalid input. | 
|---|
| 3251 | continue | 
|---|
| 3252 | else | 
|---|
| 3253 | # Passes both tests. | 
|---|
| 3254 | ac_preproc_ok=: | 
|---|
| 3255 | break | 
|---|
| 3256 | fi | 
|---|
| 3257 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 3258 |  | 
|---|
| 3259 | done | 
|---|
| 3260 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3261 | rm -f conftest.i conftest.err conftest.$ac_ext | 
|---|
| 3262 | if $ac_preproc_ok; then : | 
|---|
| 3263 | break | 
|---|
| 3264 | fi | 
|---|
| 3265 |  | 
|---|
| 3266 | done | 
|---|
| 3267 | ac_cv_prog_CPP=$CPP | 
|---|
| 3268 |  | 
|---|
| 3269 | fi | 
|---|
| 3270 | CPP=$ac_cv_prog_CPP | 
|---|
| 3271 | else | 
|---|
| 3272 | ac_cv_prog_CPP=$CPP | 
|---|
| 3273 | fi | 
|---|
| 3274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 
|---|
| 3275 | $as_echo "$CPP" >&6; } | 
|---|
| 3276 | ac_preproc_ok=false | 
|---|
| 3277 | for ac_c_preproc_warn_flag in '' yes | 
|---|
| 3278 | do | 
|---|
| 3279 | # Use a header file that comes with gcc, so configuring glibc | 
|---|
| 3280 | # with a fresh cross-compiler works. | 
|---|
| 3281 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|---|
| 3282 | # <limits.h> exists even on freestanding compilers. | 
|---|
| 3283 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|---|
| 3284 | # not just through cpp. "Syntax error" is here to catch this case. | 
|---|
| 3285 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3286 | /* end confdefs.h.  */ | 
|---|
| 3287 | #ifdef __STDC__ | 
|---|
| 3288 | # include <limits.h> | 
|---|
| 3289 | #else | 
|---|
| 3290 | # include <assert.h> | 
|---|
| 3291 | #endif | 
|---|
| 3292 | Syntax error | 
|---|
| 3293 | _ACEOF | 
|---|
| 3294 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 3295 |  | 
|---|
| 3296 | else | 
|---|
| 3297 | # Broken: fails on valid input. | 
|---|
| 3298 | continue | 
|---|
| 3299 | fi | 
|---|
| 3300 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 3301 |  | 
|---|
| 3302 | # OK, works on sane cases.  Now check whether nonexistent headers | 
|---|
| 3303 | # can be detected and how. | 
|---|
| 3304 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3305 | /* end confdefs.h.  */ | 
|---|
| 3306 | #include <ac_nonexistent.h> | 
|---|
| 3307 | _ACEOF | 
|---|
| 3308 | if ac_fn_c_try_cpp "$LINENO"; then : | 
|---|
| 3309 | # Broken: success on invalid input. | 
|---|
| 3310 | continue | 
|---|
| 3311 | else | 
|---|
| 3312 | # Passes both tests. | 
|---|
| 3313 | ac_preproc_ok=: | 
|---|
| 3314 | break | 
|---|
| 3315 | fi | 
|---|
| 3316 | rm -f conftest.err conftest.i conftest.$ac_ext | 
|---|
| 3317 |  | 
|---|
| 3318 | done | 
|---|
| 3319 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|---|
| 3320 | rm -f conftest.i conftest.err conftest.$ac_ext | 
|---|
| 3321 | if $ac_preproc_ok; then : | 
|---|
| 3322 |  | 
|---|
| 3323 | else | 
|---|
| 3324 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
|---|
| 3325 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
|---|
| 3326 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 
|---|
| 3327 | See \`config.log' for more details" "$LINENO" 5; } | 
|---|
| 3328 | fi | 
|---|
| 3329 |  | 
|---|
| 3330 | ac_ext=c | 
|---|
| 3331 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 3332 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|---|
| 3333 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|---|
| 3334 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|---|
| 3335 |  | 
|---|
| 3336 |  | 
|---|
| 3337 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 
|---|
| 3338 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 
|---|
| 3339 | if ${ac_cv_path_GREP+:} false; then : | 
|---|
| 3340 | $as_echo_n "(cached) " >&6 | 
|---|
| 3341 | else | 
|---|
| 3342 | if test -z "$GREP"; then | 
|---|
| 3343 | ac_path_GREP_found=false | 
|---|
| 3344 | # Loop through the user's path and test for each of PROGNAME-LIST | 
|---|
| 3345 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 3346 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
|---|
| 3347 | do | 
|---|
| 3348 | IFS=$as_save_IFS | 
|---|
| 3349 | test -z "$as_dir" && as_dir=. | 
|---|
| 3350 | for ac_prog in grep ggrep; do | 
|---|
| 3351 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 3352 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 
|---|
| 3353 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 
|---|
| 3354 | # Check for GNU ac_path_GREP and select it if it is found. | 
|---|
| 3355 | # Check for GNU $ac_path_GREP | 
|---|
| 3356 | case `"$ac_path_GREP" --version 2>&1` in | 
|---|
| 3357 | *GNU*) | 
|---|
| 3358 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 
|---|
| 3359 | *) | 
|---|
| 3360 | ac_count=0 | 
|---|
| 3361 | $as_echo_n 0123456789 >"conftest.in" | 
|---|
| 3362 | while : | 
|---|
| 3363 | do | 
|---|
| 3364 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 
|---|
| 3365 | mv "conftest.tmp" "conftest.in" | 
|---|
| 3366 | cp "conftest.in" "conftest.nl" | 
|---|
| 3367 | $as_echo 'GREP' >> "conftest.nl" | 
|---|
| 3368 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
|---|
| 3369 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
|---|
| 3370 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 
|---|
| 3371 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 
|---|
| 3372 | # Best one so far, save it but keep looking for a better one | 
|---|
| 3373 | ac_cv_path_GREP="$ac_path_GREP" | 
|---|
| 3374 | ac_path_GREP_max=$ac_count | 
|---|
| 3375 | fi | 
|---|
| 3376 | # 10*(2^10) chars as input seems more than enough | 
|---|
| 3377 | test $ac_count -gt 10 && break | 
|---|
| 3378 | done | 
|---|
| 3379 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
|---|
| 3380 | esac | 
|---|
| 3381 |  | 
|---|
| 3382 | $ac_path_GREP_found && break 3 | 
|---|
| 3383 | done | 
|---|
| 3384 | done | 
|---|
| 3385 | done | 
|---|
| 3386 | IFS=$as_save_IFS | 
|---|
| 3387 | if test -z "$ac_cv_path_GREP"; then | 
|---|
| 3388 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
|---|
| 3389 | fi | 
|---|
| 3390 | else | 
|---|
| 3391 | ac_cv_path_GREP=$GREP | 
|---|
| 3392 | fi | 
|---|
| 3393 |  | 
|---|
| 3394 | fi | 
|---|
| 3395 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 
|---|
| 3396 | $as_echo "$ac_cv_path_GREP" >&6; } | 
|---|
| 3397 | GREP="$ac_cv_path_GREP" | 
|---|
| 3398 |  | 
|---|
| 3399 |  | 
|---|
| 3400 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 
|---|
| 3401 | $as_echo_n "checking for egrep... " >&6; } | 
|---|
| 3402 | if ${ac_cv_path_EGREP+:} false; then : | 
|---|
| 3403 | $as_echo_n "(cached) " >&6 | 
|---|
| 3404 | else | 
|---|
| 3405 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 
|---|
| 3406 | then ac_cv_path_EGREP="$GREP -E" | 
|---|
| 3407 | else | 
|---|
| 3408 | if test -z "$EGREP"; then | 
|---|
| 3409 | ac_path_EGREP_found=false | 
|---|
| 3410 | # Loop through the user's path and test for each of PROGNAME-LIST | 
|---|
| 3411 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 3412 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
|---|
| 3413 | do | 
|---|
| 3414 | IFS=$as_save_IFS | 
|---|
| 3415 | test -z "$as_dir" && as_dir=. | 
|---|
| 3416 | for ac_prog in egrep; do | 
|---|
| 3417 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 3418 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 
|---|
| 3419 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 
|---|
| 3420 | # Check for GNU ac_path_EGREP and select it if it is found. | 
|---|
| 3421 | # Check for GNU $ac_path_EGREP | 
|---|
| 3422 | case `"$ac_path_EGREP" --version 2>&1` in | 
|---|
| 3423 | *GNU*) | 
|---|
| 3424 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 
|---|
| 3425 | *) | 
|---|
| 3426 | ac_count=0 | 
|---|
| 3427 | $as_echo_n 0123456789 >"conftest.in" | 
|---|
| 3428 | while : | 
|---|
| 3429 | do | 
|---|
| 3430 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 
|---|
| 3431 | mv "conftest.tmp" "conftest.in" | 
|---|
| 3432 | cp "conftest.in" "conftest.nl" | 
|---|
| 3433 | $as_echo 'EGREP' >> "conftest.nl" | 
|---|
| 3434 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
|---|
| 3435 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
|---|
| 3436 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 
|---|
| 3437 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 
|---|
| 3438 | # Best one so far, save it but keep looking for a better one | 
|---|
| 3439 | ac_cv_path_EGREP="$ac_path_EGREP" | 
|---|
| 3440 | ac_path_EGREP_max=$ac_count | 
|---|
| 3441 | fi | 
|---|
| 3442 | # 10*(2^10) chars as input seems more than enough | 
|---|
| 3443 | test $ac_count -gt 10 && break | 
|---|
| 3444 | done | 
|---|
| 3445 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
|---|
| 3446 | esac | 
|---|
| 3447 |  | 
|---|
| 3448 | $ac_path_EGREP_found && break 3 | 
|---|
| 3449 | done | 
|---|
| 3450 | done | 
|---|
| 3451 | done | 
|---|
| 3452 | IFS=$as_save_IFS | 
|---|
| 3453 | if test -z "$ac_cv_path_EGREP"; then | 
|---|
| 3454 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
|---|
| 3455 | fi | 
|---|
| 3456 | else | 
|---|
| 3457 | ac_cv_path_EGREP=$EGREP | 
|---|
| 3458 | fi | 
|---|
| 3459 |  | 
|---|
| 3460 | fi | 
|---|
| 3461 | fi | 
|---|
| 3462 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 
|---|
| 3463 | $as_echo "$ac_cv_path_EGREP" >&6; } | 
|---|
| 3464 | EGREP="$ac_cv_path_EGREP" | 
|---|
| 3465 |  | 
|---|
| 3466 |  | 
|---|
| 3467 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 
|---|
| 3468 | $as_echo_n "checking for ANSI C header files... " >&6; } | 
|---|
| 3469 | if ${ac_cv_header_stdc+:} false; then : | 
|---|
| 3470 | $as_echo_n "(cached) " >&6 | 
|---|
| 3471 | else | 
|---|
| 3472 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3473 | /* end confdefs.h.  */ | 
|---|
| 3474 | #include <stdlib.h> | 
|---|
| 3475 | #include <stdarg.h> | 
|---|
| 3476 | #include <string.h> | 
|---|
| 3477 | #include <float.h> | 
|---|
| 3478 |  | 
|---|
| 3479 | int | 
|---|
| 3480 | main () | 
|---|
| 3481 | { | 
|---|
| 3482 |  | 
|---|
| 3483 | ; | 
|---|
| 3484 | return 0; | 
|---|
| 3485 | } | 
|---|
| 3486 | _ACEOF | 
|---|
| 3487 | if ac_fn_c_try_compile "$LINENO"; then : | 
|---|
| 3488 | ac_cv_header_stdc=yes | 
|---|
| 3489 | else | 
|---|
| 3490 | ac_cv_header_stdc=no | 
|---|
| 3491 | fi | 
|---|
| 3492 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
|---|
| 3493 |  | 
|---|
| 3494 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3495 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|---|
| 3496 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3497 | /* end confdefs.h.  */ | 
|---|
| 3498 | #include <string.h> | 
|---|
| 3499 |  | 
|---|
| 3500 | _ACEOF | 
|---|
| 3501 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3502 | $EGREP "memchr" >/dev/null 2>&1; then : | 
|---|
| 3503 |  | 
|---|
| 3504 | else | 
|---|
| 3505 | ac_cv_header_stdc=no | 
|---|
| 3506 | fi | 
|---|
| 3507 | rm -f conftest* | 
|---|
| 3508 |  | 
|---|
| 3509 | fi | 
|---|
| 3510 |  | 
|---|
| 3511 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3512 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|---|
| 3513 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3514 | /* end confdefs.h.  */ | 
|---|
| 3515 | #include <stdlib.h> | 
|---|
| 3516 |  | 
|---|
| 3517 | _ACEOF | 
|---|
| 3518 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
|---|
| 3519 | $EGREP "free" >/dev/null 2>&1; then : | 
|---|
| 3520 |  | 
|---|
| 3521 | else | 
|---|
| 3522 | ac_cv_header_stdc=no | 
|---|
| 3523 | fi | 
|---|
| 3524 | rm -f conftest* | 
|---|
| 3525 |  | 
|---|
| 3526 | fi | 
|---|
| 3527 |  | 
|---|
| 3528 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3529 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|---|
| 3530 | if test "$cross_compiling" = yes; then : | 
|---|
| 3531 | : | 
|---|
| 3532 | else | 
|---|
| 3533 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
|---|
| 3534 | /* end confdefs.h.  */ | 
|---|
| 3535 | #include <ctype.h> | 
|---|
| 3536 | #include <stdlib.h> | 
|---|
| 3537 | #if ((' ' & 0x0FF) == 0x020) | 
|---|
| 3538 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|---|
| 3539 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|---|
| 3540 | #else | 
|---|
| 3541 | # define ISLOWER(c) \ | 
|---|
| 3542 | (('a' <= (c) && (c) <= 'i') \ | 
|---|
| 3543 | || ('j' <= (c) && (c) <= 'r') \ | 
|---|
| 3544 | || ('s' <= (c) && (c) <= 'z')) | 
|---|
| 3545 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|---|
| 3546 | #endif | 
|---|
| 3547 |  | 
|---|
| 3548 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|---|
| 3549 | int | 
|---|
| 3550 | main () | 
|---|
| 3551 | { | 
|---|
| 3552 | int i; | 
|---|
| 3553 | for (i = 0; i < 256; i++) | 
|---|
| 3554 | if (XOR (islower (i), ISLOWER (i)) | 
|---|
| 3555 | || toupper (i) != TOUPPER (i)) | 
|---|
| 3556 | return 2; | 
|---|
| 3557 | return 0; | 
|---|
| 3558 | } | 
|---|
| 3559 | _ACEOF | 
|---|
| 3560 | if ac_fn_c_try_run "$LINENO"; then : | 
|---|
| 3561 |  | 
|---|
| 3562 | else | 
|---|
| 3563 | ac_cv_header_stdc=no | 
|---|
| 3564 | fi | 
|---|
| 3565 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
|---|
| 3566 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 
|---|
| 3567 | fi | 
|---|
| 3568 |  | 
|---|
| 3569 | fi | 
|---|
| 3570 | fi | 
|---|
| 3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 
|---|
| 3572 | $as_echo "$ac_cv_header_stdc" >&6; } | 
|---|
| 3573 | if test $ac_cv_header_stdc = yes; then | 
|---|
| 3574 |  | 
|---|
| 3575 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 
|---|
| 3576 |  | 
|---|
| 3577 | fi | 
|---|
| 3578 |  | 
|---|
| 3579 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|---|
| 3580 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|---|
| 3581 | inttypes.h stdint.h unistd.h | 
|---|
| 3582 | do : | 
|---|
| 3583 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 3584 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 
|---|
| 3585 | " | 
|---|
| 3586 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
|---|
| 3587 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3588 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 3589 | _ACEOF | 
|---|
| 3590 |  | 
|---|
| 3591 | fi | 
|---|
| 3592 |  | 
|---|
| 3593 | done | 
|---|
| 3594 |  | 
|---|
| 3595 |  | 
|---|
| 3596 | for ac_header in krb5.h | 
|---|
| 3597 | do : | 
|---|
| 3598 | ac_fn_c_check_header_mongrel "$LINENO" "krb5.h" "ac_cv_header_krb5_h" "$ac_includes_default" | 
|---|
| 3599 | if test "x$ac_cv_header_krb5_h" = xyes; then : | 
|---|
| 3600 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3601 | #define HAVE_KRB5_H 1 | 
|---|
| 3602 | _ACEOF | 
|---|
| 3603 |  | 
|---|
| 3604 | fi | 
|---|
| 3605 |  | 
|---|
| 3606 | done | 
|---|
| 3607 |  | 
|---|
| 3608 |  | 
|---|
| 3609 | # now check for gssapi headers.  This is also done here to allow for | 
|---|
| 3610 | # different kerberos include paths | 
|---|
| 3611 | for ac_header in gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h com_err.h | 
|---|
| 3612 | do : | 
|---|
| 3613 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|---|
| 3614 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 
|---|
| 3615 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
|---|
| 3616 | cat >>confdefs.h <<_ACEOF | 
|---|
| 3617 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|---|
| 3618 | _ACEOF | 
|---|
| 3619 |  | 
|---|
| 3620 | fi | 
|---|
| 3621 |  | 
|---|
| 3622 | done | 
|---|
| 3623 |  | 
|---|
| 3624 |  | 
|---|
| 3625 | #dnl Check if we use GNU ld | 
|---|
| 3626 | #LD=ld | 
|---|
| 3627 | #AC_PROG_LD_GNU | 
|---|
| 3628 |  | 
|---|
| 3629 | #dnl look for executable suffix | 
|---|
| 3630 | #AC_EXEEXT | 
|---|
| 3631 |  | 
|---|
| 3632 | builddir=`pwd` | 
|---|
| 3633 |  | 
|---|
| 3634 |  | 
|---|
| 3635 | # Assume non-shared by default and override below | 
|---|
| 3636 | BLDSHARED="false" | 
|---|
| 3637 |  | 
|---|
| 3638 | # these are the defaults, good for lots of systems | 
|---|
| 3639 | HOST_OS="$host_os" | 
|---|
| 3640 | LDSHFLAGS="-shared" | 
|---|
| 3641 | SONAMEFLAG="#" | 
|---|
| 3642 | SHLD="\${CC}" | 
|---|
| 3643 | PICFLAGS="" | 
|---|
| 3644 | PICSUFFIX="po" | 
|---|
| 3645 | SHLIBEXT="so" | 
|---|
| 3646 |  | 
|---|
| 3647 | # Since we are not embedded in the Samba tree, building shared modules is | 
|---|
| 3648 | # really the only option. | 
|---|
| 3649 | enable_shared=yes | 
|---|
| 3650 |  | 
|---|
| 3651 | if test "$enable_shared" = "yes"; then | 
|---|
| 3652 | # this bit needs to be modified for each OS that is suported by | 
|---|
| 3653 | # smbwrapper. You need to specify how to created a shared library and | 
|---|
| 3654 | # how to compile C code to produce PIC object files | 
|---|
| 3655 |  | 
|---|
| 3656 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking ability to build shared libraries" >&5 | 
|---|
| 3657 | $as_echo_n "checking ability to build shared libraries... " >&6; } | 
|---|
| 3658 |  | 
|---|
| 3659 | # and these are for particular systems | 
|---|
| 3660 | case "$host_os" in | 
|---|
| 3661 | *linux*) | 
|---|
| 3662 | BLDSHARED="true" | 
|---|
| 3663 | LDSHFLAGS="-shared" | 
|---|
| 3664 | DYNEXP="-Wl,--export-dynamic" | 
|---|
| 3665 | PICFLAGS="-fPIC" | 
|---|
| 3666 | SONAMEFLAG="-Wl,-soname=" | 
|---|
| 3667 | ;; | 
|---|
| 3668 | *solaris*) | 
|---|
| 3669 | BLDSHARED="true" | 
|---|
| 3670 | LDSHFLAGS="-G" | 
|---|
| 3671 | SONAMEFLAG="-h " | 
|---|
| 3672 | if test "${GCC}" = "yes"; then | 
|---|
| 3673 | PICFLAGS="-fPIC" | 
|---|
| 3674 | if test "${ac_cv_prog_gnu_ld}" = "yes"; then | 
|---|
| 3675 | DYNEXP="-Wl,-E" | 
|---|
| 3676 | fi | 
|---|
| 3677 | else | 
|---|
| 3678 | PICFLAGS="-KPIC" | 
|---|
| 3679 | ## ${CFLAGS} added for building 64-bit shared | 
|---|
| 3680 | ## libs using Sun's Compiler | 
|---|
| 3681 | LDSHFLAGS="-G \${CFLAGS}" | 
|---|
| 3682 | PICSUFFIX="po.o" | 
|---|
| 3683 | fi | 
|---|
| 3684 | ;; | 
|---|
| 3685 | *sunos*) | 
|---|
| 3686 | BLDSHARED="true" | 
|---|
| 3687 | LDSHFLAGS="-G" | 
|---|
| 3688 | SONAMEFLAG="-Wl,-h," | 
|---|
| 3689 | PICFLAGS="-KPIC"   # Is this correct for SunOS | 
|---|
| 3690 | ;; | 
|---|
| 3691 | *netbsd* | *freebsd*)  BLDSHARED="true" | 
|---|
| 3692 | LDSHFLAGS="-shared" | 
|---|
| 3693 | DYNEXP="-Wl,--export-dynamic" | 
|---|
| 3694 | SONAMEFLAG="-Wl,-soname," | 
|---|
| 3695 | PICFLAGS="-fPIC -DPIC" | 
|---|
| 3696 | ;; | 
|---|
| 3697 | *openbsd*)  BLDSHARED="true" | 
|---|
| 3698 | LDSHFLAGS="-shared" | 
|---|
| 3699 | DYNEXP="-Wl,-Bdynamic" | 
|---|
| 3700 | SONAMEFLAG="-Wl,-soname," | 
|---|
| 3701 | PICFLAGS="-fPIC" | 
|---|
| 3702 | ;; | 
|---|
| 3703 | *irix*) | 
|---|
| 3704 | case "$host_os" in | 
|---|
| 3705 | *irix6*) | 
|---|
| 3706 | ;; | 
|---|
| 3707 | esac | 
|---|
| 3708 | ATTEMPT_WRAP32_BUILD=yes | 
|---|
| 3709 | BLDSHARED="true" | 
|---|
| 3710 | LDSHFLAGS="-set_version sgi1.0 -shared" | 
|---|
| 3711 | SONAMEFLAG="-soname " | 
|---|
| 3712 | SHLD="\${LD}" | 
|---|
| 3713 | if test "${GCC}" = "yes"; then | 
|---|
| 3714 | PICFLAGS="-fPIC" | 
|---|
| 3715 | else | 
|---|
| 3716 | PICFLAGS="-KPIC" | 
|---|
| 3717 | fi | 
|---|
| 3718 | ;; | 
|---|
| 3719 | *aix*) | 
|---|
| 3720 | BLDSHARED="true" | 
|---|
| 3721 | LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-bnoentry,-berok" | 
|---|
| 3722 | DYNEXP="-Wl,-brtl,-bexpall" | 
|---|
| 3723 | PICFLAGS="-O2" | 
|---|
| 3724 | if test "${GCC}" != "yes"; then | 
|---|
| 3725 | ## for funky AIX compiler using strncpy() | 
|---|
| 3726 | CFLAGS="$CFLAGS -D_LINUX_SOURCE_COMPAT -qmaxmem=32000" | 
|---|
| 3727 | fi | 
|---|
| 3728 | ;; | 
|---|
| 3729 | *hpux*) | 
|---|
| 3730 | SHLIBEXT="sl" | 
|---|
| 3731 | # Use special PIC flags for the native HP-UX compiler. | 
|---|
| 3732 | if test $ac_cv_prog_cc_Ae = yes; then | 
|---|
| 3733 | BLDSHARED="true" | 
|---|
| 3734 | SHLD="/usr/bin/ld" | 
|---|
| 3735 | LDSHFLAGS="-B symbolic -b -z" | 
|---|
| 3736 | SONAMEFLAG="+h " | 
|---|
| 3737 | PICFLAGS="+z" | 
|---|
| 3738 | fi | 
|---|
| 3739 | DYNEXP="-Wl,-E" | 
|---|
| 3740 | ;; | 
|---|
| 3741 | *qnx*) | 
|---|
| 3742 | ;; | 
|---|
| 3743 | *osf*) | 
|---|
| 3744 | BLDSHARED="true" | 
|---|
| 3745 | LDSHFLAGS="-shared" | 
|---|
| 3746 | SONAMEFLAG="-Wl,-soname," | 
|---|
| 3747 | PICFLAGS="-fPIC" | 
|---|
| 3748 | ;; | 
|---|
| 3749 | *sco*) | 
|---|
| 3750 | ;; | 
|---|
| 3751 | *unixware*) | 
|---|
| 3752 | BLDSHARED="true" | 
|---|
| 3753 | LDSHFLAGS="-shared" | 
|---|
| 3754 | SONAMEFLAG="-Wl,-soname," | 
|---|
| 3755 | PICFLAGS="-KPIC" | 
|---|
| 3756 | ;; | 
|---|
| 3757 | *next2*) | 
|---|
| 3758 | ;; | 
|---|
| 3759 | *dgux*) # Extract the first word of "groff", so it can be a program name with args. | 
|---|
| 3760 | set dummy groff; ac_word=$2 | 
|---|
| 3761 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
|---|
| 3762 | $as_echo_n "checking for $ac_word... " >&6; } | 
|---|
| 3763 | if ${ac_cv_prog_ROFF+:} false; then : | 
|---|
| 3764 | $as_echo_n "(cached) " >&6 | 
|---|
| 3765 | else | 
|---|
| 3766 | if test -n "$ROFF"; then | 
|---|
| 3767 | ac_cv_prog_ROFF="$ROFF" # Let the user override the test. | 
|---|
| 3768 | else | 
|---|
| 3769 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 3770 | for as_dir in $PATH | 
|---|
| 3771 | do | 
|---|
| 3772 | IFS=$as_save_IFS | 
|---|
| 3773 | test -z "$as_dir" && as_dir=. | 
|---|
| 3774 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|---|
| 3775 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
|---|
| 3776 | ac_cv_prog_ROFF="groff -etpsR -Tascii -man" | 
|---|
| 3777 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|---|
| 3778 | break 2 | 
|---|
| 3779 | fi | 
|---|
| 3780 | done | 
|---|
| 3781 | done | 
|---|
| 3782 | IFS=$as_save_IFS | 
|---|
| 3783 |  | 
|---|
| 3784 | fi | 
|---|
| 3785 | fi | 
|---|
| 3786 | ROFF=$ac_cv_prog_ROFF | 
|---|
| 3787 | if test -n "$ROFF"; then | 
|---|
| 3788 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ROFF" >&5 | 
|---|
| 3789 | $as_echo "$ROFF" >&6; } | 
|---|
| 3790 | else | 
|---|
| 3791 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
|---|
| 3792 | $as_echo "no" >&6; } | 
|---|
| 3793 | fi | 
|---|
| 3794 |  | 
|---|
| 3795 |  | 
|---|
| 3796 | ;; | 
|---|
| 3797 | *sysv4*) | 
|---|
| 3798 | case "$host" in | 
|---|
| 3799 | *-univel-*) | 
|---|
| 3800 | LDSHFLAGS="-G" | 
|---|
| 3801 | DYNEXP="-Bexport" | 
|---|
| 3802 | ;; | 
|---|
| 3803 | *mips-sni-sysv4*) | 
|---|
| 3804 | ;; | 
|---|
| 3805 | esac | 
|---|
| 3806 | ;; | 
|---|
| 3807 |  | 
|---|
| 3808 | *sysv5*) | 
|---|
| 3809 | LDSHFLAGS="-G" | 
|---|
| 3810 | ;; | 
|---|
| 3811 | *vos*) | 
|---|
| 3812 | BLDSHARED="false" | 
|---|
| 3813 | LDSHFLAGS="" | 
|---|
| 3814 | ;; | 
|---|
| 3815 | *darwin*) | 
|---|
| 3816 | BLDSHARED="true" | 
|---|
| 3817 | LDSHFLAGS="-bundle -flat_namespace -undefined suppress" | 
|---|
| 3818 | SHLIBEXT="dylib" | 
|---|
| 3819 | ;; | 
|---|
| 3820 | *) | 
|---|
| 3821 | ;; | 
|---|
| 3822 | esac | 
|---|
| 3823 |  | 
|---|
| 3824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BLDSHARED" >&5 | 
|---|
| 3825 | $as_echo "$BLDSHARED" >&6; } | 
|---|
| 3826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker flags for shared libraries" >&5 | 
|---|
| 3827 | $as_echo_n "checking linker flags for shared libraries... " >&6; } | 
|---|
| 3828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDSHFLAGS" >&5 | 
|---|
| 3829 | $as_echo "$LDSHFLAGS" >&6; } | 
|---|
| 3830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler flags for position-independent code" >&5 | 
|---|
| 3831 | $as_echo_n "checking compiler flags for position-independent code... " >&6; } | 
|---|
| 3832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PICFLAGS" >&5 | 
|---|
| 3833 | $as_echo "$PICFLAGS" >&6; } | 
|---|
| 3834 | fi | 
|---|
| 3835 |  | 
|---|
| 3836 | ####################################################### | 
|---|
| 3837 | # test whether building a shared library actually works | 
|---|
| 3838 | if test $BLDSHARED = true; then | 
|---|
| 3839 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether building shared libraries actually works" >&5 | 
|---|
| 3840 | $as_echo_n "checking whether building shared libraries actually works... " >&6; } | 
|---|
| 3841 | if ${ac_cv_shlib_works+:} false; then : | 
|---|
| 3842 | $as_echo_n "(cached) " >&6 | 
|---|
| 3843 | else | 
|---|
| 3844 |  | 
|---|
| 3845 | ac_cv_shlib_works=no | 
|---|
| 3846 | # try building a trivial shared library | 
|---|
| 3847 | if test "$PICSUFFIX" = "po"; then | 
|---|
| 3848 | $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.po ${SAMBA_SOURCE}/../tests/shlib.c && | 
|---|
| 3849 | $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po && | 
|---|
| 3850 | ac_cv_shlib_works=yes | 
|---|
| 3851 | else | 
|---|
| 3852 | $CC $CPPFLAGS $CFLAGS $PICFLAGS -c -o shlib.$PICSUFFIX ${SAMBA_SOURCE}/../tests/shlib.c && | 
|---|
| 3853 | mv shlib.$PICSUFFIX shlib.po && | 
|---|
| 3854 | $CC $CPPFLAGS $CFLAGS `eval echo $LDSHFLAGS` -o "shlib.$SHLIBEXT" shlib.po && | 
|---|
| 3855 | ac_cv_shlib_works=yes | 
|---|
| 3856 | fi | 
|---|
| 3857 | rm -f "shlib.$SHLIBEXT" shlib.po | 
|---|
| 3858 |  | 
|---|
| 3859 | fi | 
|---|
| 3860 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_shlib_works" >&5 | 
|---|
| 3861 | $as_echo "$ac_cv_shlib_works" >&6; } | 
|---|
| 3862 | if test $ac_cv_shlib_works = no; then | 
|---|
| 3863 | BLDSHARED=false | 
|---|
| 3864 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did you forget to specify --with-samba-source=/path/to/samba?" >&5 | 
|---|
| 3865 | $as_echo "$as_me: WARNING: Did you forget to specify --with-samba-source=/path/to/samba?" >&2;} | 
|---|
| 3866 | fi | 
|---|
| 3867 | fi | 
|---|
| 3868 |  | 
|---|
| 3869 |  | 
|---|
| 3870 |  | 
|---|
| 3871 |  | 
|---|
| 3872 | ac_config_files="$ac_config_files Makefile" | 
|---|
| 3873 |  | 
|---|
| 3874 | cat >confcache <<\_ACEOF | 
|---|
| 3875 | # This file is a shell script that caches the results of configure | 
|---|
| 3876 | # tests run on this system so they can be shared between configure | 
|---|
| 3877 | # scripts and configure runs, see configure's option --config-cache. | 
|---|
| 3878 | # It is not useful on other systems.  If it contains results you don't | 
|---|
| 3879 | # want to keep, you may remove or edit it. | 
|---|
| 3880 | # | 
|---|
| 3881 | # config.status only pays attention to the cache file if you give it | 
|---|
| 3882 | # the --recheck option to rerun configure. | 
|---|
| 3883 | # | 
|---|
| 3884 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
|---|
| 3885 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|---|
| 3886 | # following values. | 
|---|
| 3887 |  | 
|---|
| 3888 | _ACEOF | 
|---|
| 3889 |  | 
|---|
| 3890 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 3891 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 3892 | # So, we kill variables containing newlines. | 
|---|
| 3893 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 3894 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 3895 | ( | 
|---|
| 3896 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 
|---|
| 3897 | eval ac_val=\$$ac_var | 
|---|
| 3898 | case $ac_val in #( | 
|---|
| 3899 | *${as_nl}*) | 
|---|
| 3900 | case $ac_var in #( | 
|---|
| 3901 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
|---|
| 3902 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
|---|
| 3903 | esac | 
|---|
| 3904 | case $ac_var in #( | 
|---|
| 3905 | _ | IFS | as_nl) ;; #( | 
|---|
| 3906 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
|---|
| 3907 | *) { eval $ac_var=; unset $ac_var;} ;; | 
|---|
| 3908 | esac ;; | 
|---|
| 3909 | esac | 
|---|
| 3910 | done | 
|---|
| 3911 |  | 
|---|
| 3912 | (set) 2>&1 | | 
|---|
| 3913 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 
|---|
| 3914 | *${as_nl}ac_space=\ *) | 
|---|
| 3915 | # `set' does not quote correctly, so add quotes: double-quote | 
|---|
| 3916 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 
|---|
| 3917 | sed -n \ | 
|---|
| 3918 | "s/'/'\\\\''/g; | 
|---|
| 3919 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|---|
| 3920 | ;; #( | 
|---|
| 3921 | *) | 
|---|
| 3922 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 3923 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
|---|
| 3924 | ;; | 
|---|
| 3925 | esac | | 
|---|
| 3926 | sort | 
|---|
| 3927 | ) | | 
|---|
| 3928 | sed ' | 
|---|
| 3929 | /^ac_cv_env_/b end | 
|---|
| 3930 | t clear | 
|---|
| 3931 | :clear | 
|---|
| 3932 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|---|
| 3933 | t end | 
|---|
| 3934 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|---|
| 3935 | :end' >>confcache | 
|---|
| 3936 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 
|---|
| 3937 | if test -w "$cache_file"; then | 
|---|
| 3938 | if test "x$cache_file" != "x/dev/null"; then | 
|---|
| 3939 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 
|---|
| 3940 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 
|---|
| 3941 | if test ! -f "$cache_file" || test -h "$cache_file"; then | 
|---|
| 3942 | cat confcache >"$cache_file" | 
|---|
| 3943 | else | 
|---|
| 3944 | case $cache_file in #( | 
|---|
| 3945 | */* | ?:*) | 
|---|
| 3946 | mv -f confcache "$cache_file"$$ && | 
|---|
| 3947 | mv -f "$cache_file"$$ "$cache_file" ;; #( | 
|---|
| 3948 | *) | 
|---|
| 3949 | mv -f confcache "$cache_file" ;; | 
|---|
| 3950 | esac | 
|---|
| 3951 | fi | 
|---|
| 3952 | fi | 
|---|
| 3953 | else | 
|---|
| 3954 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 
|---|
| 3955 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 
|---|
| 3956 | fi | 
|---|
| 3957 | fi | 
|---|
| 3958 | rm -f confcache | 
|---|
| 3959 |  | 
|---|
| 3960 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 3961 | # Let make expand exec_prefix. | 
|---|
| 3962 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 3963 |  | 
|---|
| 3964 | DEFS=-DHAVE_CONFIG_H | 
|---|
| 3965 |  | 
|---|
| 3966 | ac_libobjs= | 
|---|
| 3967 | ac_ltlibobjs= | 
|---|
| 3968 | U= | 
|---|
| 3969 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|---|
| 3970 | # 1. Remove the extension, and $U if already installed. | 
|---|
| 3971 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 
|---|
| 3972 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 
|---|
| 3973 | # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR | 
|---|
| 3974 | #    will be set to the directory where LIBOBJS objects are built. | 
|---|
| 3975 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 
|---|
| 3976 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 
|---|
| 3977 | done | 
|---|
| 3978 | LIBOBJS=$ac_libobjs | 
|---|
| 3979 |  | 
|---|
| 3980 | LTLIBOBJS=$ac_ltlibobjs | 
|---|
| 3981 |  | 
|---|
| 3982 |  | 
|---|
| 3983 |  | 
|---|
| 3984 | : "${CONFIG_STATUS=./config.status}" | 
|---|
| 3985 | ac_write_fail=0 | 
|---|
| 3986 | ac_clean_files_save=$ac_clean_files | 
|---|
| 3987 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|---|
| 3988 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 
|---|
| 3989 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|---|
| 3990 | as_write_fail=0 | 
|---|
| 3991 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | 
|---|
| 3992 | #! $SHELL | 
|---|
| 3993 | # Generated by $as_me. | 
|---|
| 3994 | # Run this file to recreate the current configuration. | 
|---|
| 3995 | # Compiler output produced by configure, useful for debugging | 
|---|
| 3996 | # configure, is in config.log if it exists. | 
|---|
| 3997 |  | 
|---|
| 3998 | debug=false | 
|---|
| 3999 | ac_cs_recheck=false | 
|---|
| 4000 | ac_cs_silent=false | 
|---|
| 4001 |  | 
|---|
| 4002 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|---|
| 4003 | export SHELL | 
|---|
| 4004 | _ASEOF | 
|---|
| 4005 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 
|---|
| 4006 | ## -------------------- ## | 
|---|
| 4007 | ## M4sh Initialization. ## | 
|---|
| 4008 | ## -------------------- ## | 
|---|
| 4009 |  | 
|---|
| 4010 | # Be more Bourne compatible | 
|---|
| 4011 | DUALCASE=1; export DUALCASE # for MKS sh | 
|---|
| 4012 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 
|---|
| 4013 | emulate sh | 
|---|
| 4014 | NULLCMD=: | 
|---|
| 4015 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 
|---|
| 4016 | # is contrary to our usage.  Disable this feature. | 
|---|
| 4017 | alias -g '${1+"$@"}'='"$@"' | 
|---|
| 4018 | setopt NO_GLOB_SUBST | 
|---|
| 4019 | else | 
|---|
| 4020 | case `(set -o) 2>/dev/null` in #( | 
|---|
| 4021 | *posix*) : | 
|---|
| 4022 | set -o posix ;; #( | 
|---|
| 4023 | *) : | 
|---|
| 4024 | ;; | 
|---|
| 4025 | esac | 
|---|
| 4026 | fi | 
|---|
| 4027 |  | 
|---|
| 4028 |  | 
|---|
| 4029 | as_nl=' | 
|---|
| 4030 | ' | 
|---|
| 4031 | export as_nl | 
|---|
| 4032 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 
|---|
| 4033 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
|---|
| 4034 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 4035 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 
|---|
| 4036 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 
|---|
| 4037 | # but without wasting forks for bash or zsh. | 
|---|
| 4038 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 
|---|
| 4039 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 4040 | as_echo='print -r --' | 
|---|
| 4041 | as_echo_n='print -rn --' | 
|---|
| 4042 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 
|---|
| 4043 | as_echo='printf %s\n' | 
|---|
| 4044 | as_echo_n='printf %s' | 
|---|
| 4045 | else | 
|---|
| 4046 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 
|---|
| 4047 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 
|---|
| 4048 | as_echo_n='/usr/ucb/echo -n' | 
|---|
| 4049 | else | 
|---|
| 4050 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 
|---|
| 4051 | as_echo_n_body='eval | 
|---|
| 4052 | arg=$1; | 
|---|
| 4053 | case $arg in #( | 
|---|
| 4054 | *"$as_nl"*) | 
|---|
| 4055 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 
|---|
| 4056 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 
|---|
| 4057 | esac; | 
|---|
| 4058 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 
|---|
| 4059 | ' | 
|---|
| 4060 | export as_echo_n_body | 
|---|
| 4061 | as_echo_n='sh -c $as_echo_n_body as_echo' | 
|---|
| 4062 | fi | 
|---|
| 4063 | export as_echo_body | 
|---|
| 4064 | as_echo='sh -c $as_echo_body as_echo' | 
|---|
| 4065 | fi | 
|---|
| 4066 |  | 
|---|
| 4067 | # The user is always right. | 
|---|
| 4068 | if test "${PATH_SEPARATOR+set}" != set; then | 
|---|
| 4069 | PATH_SEPARATOR=: | 
|---|
| 4070 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 
|---|
| 4071 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 
|---|
| 4072 | PATH_SEPARATOR=';' | 
|---|
| 4073 | } | 
|---|
| 4074 | fi | 
|---|
| 4075 |  | 
|---|
| 4076 |  | 
|---|
| 4077 | # IFS | 
|---|
| 4078 | # We need space, tab and new line, in precisely that order.  Quoting is | 
|---|
| 4079 | # there to prevent editors from complaining about space-tab. | 
|---|
| 4080 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 
|---|
| 4081 | # splitting by setting IFS to empty value.) | 
|---|
| 4082 | IFS=" ""        $as_nl" | 
|---|
| 4083 |  | 
|---|
| 4084 | # Find who we are.  Look in the path if we contain no directory separator. | 
|---|
| 4085 | as_myself= | 
|---|
| 4086 | case $0 in #(( | 
|---|
| 4087 | *[\\/]* ) as_myself=$0 ;; | 
|---|
| 4088 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|---|
| 4089 | for as_dir in $PATH | 
|---|
| 4090 | do | 
|---|
| 4091 | IFS=$as_save_IFS | 
|---|
| 4092 | test -z "$as_dir" && as_dir=. | 
|---|
| 4093 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|---|
| 4094 | done | 
|---|
| 4095 | IFS=$as_save_IFS | 
|---|
| 4096 |  | 
|---|
| 4097 | ;; | 
|---|
| 4098 | esac | 
|---|
| 4099 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|---|
| 4100 | # in which case we are not to be found in the path. | 
|---|
| 4101 | if test "x$as_myself" = x; then | 
|---|
| 4102 | as_myself=$0 | 
|---|
| 4103 | fi | 
|---|
| 4104 | if test ! -f "$as_myself"; then | 
|---|
| 4105 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 
|---|
| 4106 | exit 1 | 
|---|
| 4107 | fi | 
|---|
| 4108 |  | 
|---|
| 4109 | # Unset variables that we do not need and which cause bugs (e.g. in | 
|---|
| 4110 | # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" | 
|---|
| 4111 | # suppresses any "Segmentation fault" message there.  '((' could | 
|---|
| 4112 | # trigger a bug in pdksh 5.2.14. | 
|---|
| 4113 | for as_var in BASH_ENV ENV MAIL MAILPATH | 
|---|
| 4114 | do eval test x\${$as_var+set} = xset \ | 
|---|
| 4115 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 
|---|
| 4116 | done | 
|---|
| 4117 | PS1='$ ' | 
|---|
| 4118 | PS2='> ' | 
|---|
| 4119 | PS4='+ ' | 
|---|
| 4120 |  | 
|---|
| 4121 | # NLS nuisances. | 
|---|
| 4122 | LC_ALL=C | 
|---|
| 4123 | export LC_ALL | 
|---|
| 4124 | LANGUAGE=C | 
|---|
| 4125 | export LANGUAGE | 
|---|
| 4126 |  | 
|---|
| 4127 | # CDPATH. | 
|---|
| 4128 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
|---|
| 4129 |  | 
|---|
| 4130 |  | 
|---|
| 4131 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | 
|---|
| 4132 | # ---------------------------------------- | 
|---|
| 4133 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 
|---|
| 4134 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 
|---|
| 4135 | # script with STATUS, using 1 if that was 0. | 
|---|
| 4136 | as_fn_error () | 
|---|
| 4137 | { | 
|---|
| 4138 | as_status=$1; test $as_status -eq 0 && as_status=1 | 
|---|
| 4139 | if test "$4"; then | 
|---|
| 4140 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
|---|
| 4141 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 
|---|
| 4142 | fi | 
|---|
| 4143 | $as_echo "$as_me: error: $2" >&2 | 
|---|
| 4144 | as_fn_exit $as_status | 
|---|
| 4145 | } # as_fn_error | 
|---|
| 4146 |  | 
|---|
| 4147 |  | 
|---|
| 4148 | # as_fn_set_status STATUS | 
|---|
| 4149 | # ----------------------- | 
|---|
| 4150 | # Set $? to STATUS, without forking. | 
|---|
| 4151 | as_fn_set_status () | 
|---|
| 4152 | { | 
|---|
| 4153 | return $1 | 
|---|
| 4154 | } # as_fn_set_status | 
|---|
| 4155 |  | 
|---|
| 4156 | # as_fn_exit STATUS | 
|---|
| 4157 | # ----------------- | 
|---|
| 4158 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 
|---|
| 4159 | as_fn_exit () | 
|---|
| 4160 | { | 
|---|
| 4161 | set +e | 
|---|
| 4162 | as_fn_set_status $1 | 
|---|
| 4163 | exit $1 | 
|---|
| 4164 | } # as_fn_exit | 
|---|
| 4165 |  | 
|---|
| 4166 | # as_fn_unset VAR | 
|---|
| 4167 | # --------------- | 
|---|
| 4168 | # Portably unset VAR. | 
|---|
| 4169 | as_fn_unset () | 
|---|
| 4170 | { | 
|---|
| 4171 | { eval $1=; unset $1;} | 
|---|
| 4172 | } | 
|---|
| 4173 | as_unset=as_fn_unset | 
|---|
| 4174 | # as_fn_append VAR VALUE | 
|---|
| 4175 | # ---------------------- | 
|---|
| 4176 | # Append the text in VALUE to the end of the definition contained in VAR. Take | 
|---|
| 4177 | # advantage of any shell optimizations that allow amortized linear growth over | 
|---|
| 4178 | # repeated appends, instead of the typical quadratic growth present in naive | 
|---|
| 4179 | # implementations. | 
|---|
| 4180 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 
|---|
| 4181 | eval 'as_fn_append () | 
|---|
| 4182 | { | 
|---|
| 4183 | eval $1+=\$2 | 
|---|
| 4184 | }' | 
|---|
| 4185 | else | 
|---|
| 4186 | as_fn_append () | 
|---|
| 4187 | { | 
|---|
| 4188 | eval $1=\$$1\$2 | 
|---|
| 4189 | } | 
|---|
| 4190 | fi # as_fn_append | 
|---|
| 4191 |  | 
|---|
| 4192 | # as_fn_arith ARG... | 
|---|
| 4193 | # ------------------ | 
|---|
| 4194 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 
|---|
| 4195 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 
|---|
| 4196 | # must be portable across $(()) and expr. | 
|---|
| 4197 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 
|---|
| 4198 | eval 'as_fn_arith () | 
|---|
| 4199 | { | 
|---|
| 4200 | as_val=$(( $* )) | 
|---|
| 4201 | }' | 
|---|
| 4202 | else | 
|---|
| 4203 | as_fn_arith () | 
|---|
| 4204 | { | 
|---|
| 4205 | as_val=`expr "$@" || test $? -eq 1` | 
|---|
| 4206 | } | 
|---|
| 4207 | fi # as_fn_arith | 
|---|
| 4208 |  | 
|---|
| 4209 |  | 
|---|
| 4210 | if expr a : '\(a\)' >/dev/null 2>&1 && | 
|---|
| 4211 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 
|---|
| 4212 | as_expr=expr | 
|---|
| 4213 | else | 
|---|
| 4214 | as_expr=false | 
|---|
| 4215 | fi | 
|---|
| 4216 |  | 
|---|
| 4217 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 
|---|
| 4218 | as_basename=basename | 
|---|
| 4219 | else | 
|---|
| 4220 | as_basename=false | 
|---|
| 4221 | fi | 
|---|
| 4222 |  | 
|---|
| 4223 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 
|---|
| 4224 | as_dirname=dirname | 
|---|
| 4225 | else | 
|---|
| 4226 | as_dirname=false | 
|---|
| 4227 | fi | 
|---|
| 4228 |  | 
|---|
| 4229 | as_me=`$as_basename -- "$0" || | 
|---|
| 4230 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|---|
| 4231 | X"$0" : 'X\(//\)$' \| \ | 
|---|
| 4232 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 4233 | $as_echo X/"$0" | | 
|---|
| 4234 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 
|---|
| 4235 | s//\1/ | 
|---|
| 4236 | q | 
|---|
| 4237 | } | 
|---|
| 4238 | /^X\/\(\/\/\)$/{ | 
|---|
| 4239 | s//\1/ | 
|---|
| 4240 | q | 
|---|
| 4241 | } | 
|---|
| 4242 | /^X\/\(\/\).*/{ | 
|---|
| 4243 | s//\1/ | 
|---|
| 4244 | q | 
|---|
| 4245 | } | 
|---|
| 4246 | s/.*/./; q'` | 
|---|
| 4247 |  | 
|---|
| 4248 | # Avoid depending upon Character Ranges. | 
|---|
| 4249 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|---|
| 4250 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|---|
| 4251 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|---|
| 4252 | as_cr_digits='0123456789' | 
|---|
| 4253 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|---|
| 4254 |  | 
|---|
| 4255 | ECHO_C= ECHO_N= ECHO_T= | 
|---|
| 4256 | case `echo -n x` in #((((( | 
|---|
| 4257 | -n*) | 
|---|
| 4258 | case `echo 'xy\c'` in | 
|---|
| 4259 | *c*) ECHO_T=' ';;     # ECHO_T is single tab character. | 
|---|
| 4260 | xy)  ECHO_C='\c';; | 
|---|
| 4261 | *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null | 
|---|
| 4262 | ECHO_T=' ';; | 
|---|
| 4263 | esac;; | 
|---|
| 4264 | *) | 
|---|
| 4265 | ECHO_N='-n';; | 
|---|
| 4266 | esac | 
|---|
| 4267 |  | 
|---|
| 4268 | rm -f conf$$ conf$$.exe conf$$.file | 
|---|
| 4269 | if test -d conf$$.dir; then | 
|---|
| 4270 | rm -f conf$$.dir/conf$$.file | 
|---|
| 4271 | else | 
|---|
| 4272 | rm -f conf$$.dir | 
|---|
| 4273 | mkdir conf$$.dir 2>/dev/null | 
|---|
| 4274 | fi | 
|---|
| 4275 | if (echo >conf$$.file) 2>/dev/null; then | 
|---|
| 4276 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 4277 | as_ln_s='ln -s' | 
|---|
| 4278 | # ... but there are two gotchas: | 
|---|
| 4279 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 
|---|
| 4280 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 
|---|
| 4281 | # In both cases, we have to default to `cp -p'. | 
|---|
| 4282 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 
|---|
| 4283 | as_ln_s='cp -p' | 
|---|
| 4284 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|---|
| 4285 | as_ln_s=ln | 
|---|
| 4286 | else | 
|---|
| 4287 | as_ln_s='cp -p' | 
|---|
| 4288 | fi | 
|---|
| 4289 | else | 
|---|
| 4290 | as_ln_s='cp -p' | 
|---|
| 4291 | fi | 
|---|
| 4292 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
|---|
| 4293 | rmdir conf$$.dir 2>/dev/null | 
|---|
| 4294 |  | 
|---|
| 4295 |  | 
|---|
| 4296 | # as_fn_mkdir_p | 
|---|
| 4297 | # ------------- | 
|---|
| 4298 | # Create "$as_dir" as a directory, including parents if necessary. | 
|---|
| 4299 | as_fn_mkdir_p () | 
|---|
| 4300 | { | 
|---|
| 4301 |  | 
|---|
| 4302 | case $as_dir in #( | 
|---|
| 4303 | -*) as_dir=./$as_dir;; | 
|---|
| 4304 | esac | 
|---|
| 4305 | test -d "$as_dir" || eval $as_mkdir_p || { | 
|---|
| 4306 | as_dirs= | 
|---|
| 4307 | while :; do | 
|---|
| 4308 | case $as_dir in #( | 
|---|
| 4309 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 
|---|
| 4310 | *) as_qdir=$as_dir;; | 
|---|
| 4311 | esac | 
|---|
| 4312 | as_dirs="'$as_qdir' $as_dirs" | 
|---|
| 4313 | as_dir=`$as_dirname -- "$as_dir" || | 
|---|
| 4314 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 4315 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|---|
| 4316 | X"$as_dir" : 'X\(//\)$' \| \ | 
|---|
| 4317 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 4318 | $as_echo X"$as_dir" | | 
|---|
| 4319 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 4320 | s//\1/ | 
|---|
| 4321 | q | 
|---|
| 4322 | } | 
|---|
| 4323 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 4324 | s//\1/ | 
|---|
| 4325 | q | 
|---|
| 4326 | } | 
|---|
| 4327 | /^X\(\/\/\)$/{ | 
|---|
| 4328 | s//\1/ | 
|---|
| 4329 | q | 
|---|
| 4330 | } | 
|---|
| 4331 | /^X\(\/\).*/{ | 
|---|
| 4332 | s//\1/ | 
|---|
| 4333 | q | 
|---|
| 4334 | } | 
|---|
| 4335 | s/.*/./; q'` | 
|---|
| 4336 | test -d "$as_dir" && break | 
|---|
| 4337 | done | 
|---|
| 4338 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 
|---|
| 4339 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 
|---|
| 4340 |  | 
|---|
| 4341 |  | 
|---|
| 4342 | } # as_fn_mkdir_p | 
|---|
| 4343 | if mkdir -p . 2>/dev/null; then | 
|---|
| 4344 | as_mkdir_p='mkdir -p "$as_dir"' | 
|---|
| 4345 | else | 
|---|
| 4346 | test -d ./-p && rmdir ./-p | 
|---|
| 4347 | as_mkdir_p=false | 
|---|
| 4348 | fi | 
|---|
| 4349 |  | 
|---|
| 4350 | if test -x / >/dev/null 2>&1; then | 
|---|
| 4351 | as_test_x='test -x' | 
|---|
| 4352 | else | 
|---|
| 4353 | if ls -dL / >/dev/null 2>&1; then | 
|---|
| 4354 | as_ls_L_option=L | 
|---|
| 4355 | else | 
|---|
| 4356 | as_ls_L_option= | 
|---|
| 4357 | fi | 
|---|
| 4358 | as_test_x=' | 
|---|
| 4359 | eval sh -c '\'' | 
|---|
| 4360 | if test -d "$1"; then | 
|---|
| 4361 | test -d "$1/."; | 
|---|
| 4362 | else | 
|---|
| 4363 | case $1 in #( | 
|---|
| 4364 | -*)set "./$1";; | 
|---|
| 4365 | esac; | 
|---|
| 4366 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 
|---|
| 4367 | ???[sx]*):;;*)false;;esac;fi | 
|---|
| 4368 | '\'' sh | 
|---|
| 4369 | ' | 
|---|
| 4370 | fi | 
|---|
| 4371 | as_executable_p=$as_test_x | 
|---|
| 4372 |  | 
|---|
| 4373 | # Sed expression to map a string onto a valid CPP name. | 
|---|
| 4374 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 4375 |  | 
|---|
| 4376 | # Sed expression to map a string onto a valid variable name. | 
|---|
| 4377 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
|---|
| 4378 |  | 
|---|
| 4379 |  | 
|---|
| 4380 | exec 6>&1 | 
|---|
| 4381 | ## ----------------------------------- ## | 
|---|
| 4382 | ## Main body of $CONFIG_STATUS script. ## | 
|---|
| 4383 | ## ----------------------------------- ## | 
|---|
| 4384 | _ASEOF | 
|---|
| 4385 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | 
|---|
| 4386 |  | 
|---|
| 4387 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4388 | # Save the log message, to keep $0 and so on meaningful, and to | 
|---|
| 4389 | # report actual input values of CONFIG_FILES etc. instead of their | 
|---|
| 4390 | # values after options handling. | 
|---|
| 4391 | ac_log=" | 
|---|
| 4392 | This file was extended by $as_me, which was | 
|---|
| 4393 | generated by GNU Autoconf 2.68.  Invocation command line was | 
|---|
| 4394 |  | 
|---|
| 4395 | CONFIG_FILES    = $CONFIG_FILES | 
|---|
| 4396 | CONFIG_HEADERS  = $CONFIG_HEADERS | 
|---|
| 4397 | CONFIG_LINKS    = $CONFIG_LINKS | 
|---|
| 4398 | CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|---|
| 4399 | $ $0 $@ | 
|---|
| 4400 |  | 
|---|
| 4401 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|---|
| 4402 | " | 
|---|
| 4403 |  | 
|---|
| 4404 | _ACEOF | 
|---|
| 4405 |  | 
|---|
| 4406 | case $ac_config_files in *" | 
|---|
| 4407 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | 
|---|
| 4408 | esac | 
|---|
| 4409 |  | 
|---|
| 4410 | case $ac_config_headers in *" | 
|---|
| 4411 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | 
|---|
| 4412 | esac | 
|---|
| 4413 |  | 
|---|
| 4414 |  | 
|---|
| 4415 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 4416 | # Files that config.status was made for. | 
|---|
| 4417 | config_files="$ac_config_files" | 
|---|
| 4418 | config_headers="$ac_config_headers" | 
|---|
| 4419 |  | 
|---|
| 4420 | _ACEOF | 
|---|
| 4421 |  | 
|---|
| 4422 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4423 | ac_cs_usage="\ | 
|---|
| 4424 | \`$as_me' instantiates files and other configuration actions | 
|---|
| 4425 | from templates according to the current configuration.  Unless the files | 
|---|
| 4426 | and actions are specified as TAGs, all are instantiated by default. | 
|---|
| 4427 |  | 
|---|
| 4428 | Usage: $0 [OPTION]... [TAG]... | 
|---|
| 4429 |  | 
|---|
| 4430 | -h, --help       print this help, then exit | 
|---|
| 4431 | -V, --version    print version number and configuration settings, then exit | 
|---|
| 4432 | --config     print configuration, then exit | 
|---|
| 4433 | -q, --quiet, --silent | 
|---|
| 4434 | do not print progress messages | 
|---|
| 4435 | -d, --debug      don't remove temporary files | 
|---|
| 4436 | --recheck    update $as_me by reconfiguring in the same conditions | 
|---|
| 4437 | --file=FILE[:TEMPLATE] | 
|---|
| 4438 | instantiate the configuration file FILE | 
|---|
| 4439 | --header=FILE[:TEMPLATE] | 
|---|
| 4440 | instantiate the configuration header FILE | 
|---|
| 4441 |  | 
|---|
| 4442 | Configuration files: | 
|---|
| 4443 | $config_files | 
|---|
| 4444 |  | 
|---|
| 4445 | Configuration headers: | 
|---|
| 4446 | $config_headers | 
|---|
| 4447 |  | 
|---|
| 4448 | Report bugs to the package provider." | 
|---|
| 4449 |  | 
|---|
| 4450 | _ACEOF | 
|---|
| 4451 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 4452 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 
|---|
| 4453 | ac_cs_version="\\ | 
|---|
| 4454 | config.status | 
|---|
| 4455 | configured by $0, generated by GNU Autoconf 2.68, | 
|---|
| 4456 | with options \\"\$ac_cs_config\\" | 
|---|
| 4457 |  | 
|---|
| 4458 | Copyright (C) 2010 Free Software Foundation, Inc. | 
|---|
| 4459 | This config.status script is free software; the Free Software Foundation | 
|---|
| 4460 | gives unlimited permission to copy, distribute and modify it." | 
|---|
| 4461 |  | 
|---|
| 4462 | ac_pwd='$ac_pwd' | 
|---|
| 4463 | srcdir='$srcdir' | 
|---|
| 4464 | INSTALL='$INSTALL' | 
|---|
| 4465 | test -n "\$AWK" || AWK=awk | 
|---|
| 4466 | _ACEOF | 
|---|
| 4467 |  | 
|---|
| 4468 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4469 | # The default lists apply if the user does not specify any file. | 
|---|
| 4470 | ac_need_defaults=: | 
|---|
| 4471 | while test $# != 0 | 
|---|
| 4472 | do | 
|---|
| 4473 | case $1 in | 
|---|
| 4474 | --*=?*) | 
|---|
| 4475 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
|---|
| 4476 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 
|---|
| 4477 | ac_shift=: | 
|---|
| 4478 | ;; | 
|---|
| 4479 | --*=) | 
|---|
| 4480 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
|---|
| 4481 | ac_optarg= | 
|---|
| 4482 | ac_shift=: | 
|---|
| 4483 | ;; | 
|---|
| 4484 | *) | 
|---|
| 4485 | ac_option=$1 | 
|---|
| 4486 | ac_optarg=$2 | 
|---|
| 4487 | ac_shift=shift | 
|---|
| 4488 | ;; | 
|---|
| 4489 | esac | 
|---|
| 4490 |  | 
|---|
| 4491 | case $ac_option in | 
|---|
| 4492 | # Handling of the options. | 
|---|
| 4493 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 4494 | ac_cs_recheck=: ;; | 
|---|
| 4495 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 
|---|
| 4496 | $as_echo "$ac_cs_version"; exit ;; | 
|---|
| 4497 | --config | --confi | --conf | --con | --co | --c ) | 
|---|
| 4498 | $as_echo "$ac_cs_config"; exit ;; | 
|---|
| 4499 | --debug | --debu | --deb | --de | --d | -d ) | 
|---|
| 4500 | debug=: ;; | 
|---|
| 4501 | --file | --fil | --fi | --f ) | 
|---|
| 4502 | $ac_shift | 
|---|
| 4503 | case $ac_optarg in | 
|---|
| 4504 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 4505 | '') as_fn_error $? "missing file argument" ;; | 
|---|
| 4506 | esac | 
|---|
| 4507 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 
|---|
| 4508 | ac_need_defaults=false;; | 
|---|
| 4509 | --header | --heade | --head | --hea ) | 
|---|
| 4510 | $ac_shift | 
|---|
| 4511 | case $ac_optarg in | 
|---|
| 4512 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|---|
| 4513 | esac | 
|---|
| 4514 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 
|---|
| 4515 | ac_need_defaults=false;; | 
|---|
| 4516 | --he | --h) | 
|---|
| 4517 | # Conflict between --help and --header | 
|---|
| 4518 | as_fn_error $? "ambiguous option: \`$1' | 
|---|
| 4519 | Try \`$0 --help' for more information.";; | 
|---|
| 4520 | --help | --hel | -h ) | 
|---|
| 4521 | $as_echo "$ac_cs_usage"; exit ;; | 
|---|
| 4522 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|---|
| 4523 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|---|
| 4524 | ac_cs_silent=: ;; | 
|---|
| 4525 |  | 
|---|
| 4526 | # This is an error. | 
|---|
| 4527 | -*) as_fn_error $? "unrecognized option: \`$1' | 
|---|
| 4528 | Try \`$0 --help' for more information." ;; | 
|---|
| 4529 |  | 
|---|
| 4530 | *) as_fn_append ac_config_targets " $1" | 
|---|
| 4531 | ac_need_defaults=false ;; | 
|---|
| 4532 |  | 
|---|
| 4533 | esac | 
|---|
| 4534 | shift | 
|---|
| 4535 | done | 
|---|
| 4536 |  | 
|---|
| 4537 | ac_configure_extra_args= | 
|---|
| 4538 |  | 
|---|
| 4539 | if $ac_cs_silent; then | 
|---|
| 4540 | exec 6>/dev/null | 
|---|
| 4541 | ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|---|
| 4542 | fi | 
|---|
| 4543 |  | 
|---|
| 4544 | _ACEOF | 
|---|
| 4545 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 4546 | if \$ac_cs_recheck; then | 
|---|
| 4547 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|---|
| 4548 | shift | 
|---|
| 4549 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | 
|---|
| 4550 | CONFIG_SHELL='$SHELL' | 
|---|
| 4551 | export CONFIG_SHELL | 
|---|
| 4552 | exec "\$@" | 
|---|
| 4553 | fi | 
|---|
| 4554 |  | 
|---|
| 4555 | _ACEOF | 
|---|
| 4556 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4557 | exec 5>>config.log | 
|---|
| 4558 | { | 
|---|
| 4559 | echo | 
|---|
| 4560 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|---|
| 4561 | ## Running $as_me. ## | 
|---|
| 4562 | _ASBOX | 
|---|
| 4563 | $as_echo "$ac_log" | 
|---|
| 4564 | } >&5 | 
|---|
| 4565 |  | 
|---|
| 4566 | _ACEOF | 
|---|
| 4567 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 4568 | _ACEOF | 
|---|
| 4569 |  | 
|---|
| 4570 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4571 |  | 
|---|
| 4572 | # Handling of arguments. | 
|---|
| 4573 | for ac_config_target in $ac_config_targets | 
|---|
| 4574 | do | 
|---|
| 4575 | case $ac_config_target in | 
|---|
| 4576 | "module_config.h") CONFIG_HEADERS="$CONFIG_HEADERS module_config.h" ;; | 
|---|
| 4577 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
|---|
| 4578 |  | 
|---|
| 4579 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 
|---|
| 4580 | esac | 
|---|
| 4581 | done | 
|---|
| 4582 |  | 
|---|
| 4583 |  | 
|---|
| 4584 | # If the user did not use the arguments to specify the items to instantiate, | 
|---|
| 4585 | # then the envvar interface is used.  Set only those that are not. | 
|---|
| 4586 | # We use the long form for the default assignment because of an extremely | 
|---|
| 4587 | # bizarre bug on SunOS 4.1.3. | 
|---|
| 4588 | if $ac_need_defaults; then | 
|---|
| 4589 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|---|
| 4590 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
|---|
| 4591 | fi | 
|---|
| 4592 |  | 
|---|
| 4593 | # Have a temporary directory for convenience.  Make it in the build tree | 
|---|
| 4594 | # simply because there is no reason against having it here, and in addition, | 
|---|
| 4595 | # creating and moving files from /tmp can sometimes cause problems. | 
|---|
| 4596 | # Hook for its removal unless debugging. | 
|---|
| 4597 | # Note that there is a small window in which the directory will not be cleaned: | 
|---|
| 4598 | # after its creation but before its name has been assigned to `$tmp'. | 
|---|
| 4599 | $debug || | 
|---|
| 4600 | { | 
|---|
| 4601 | tmp= ac_tmp= | 
|---|
| 4602 | trap 'exit_status=$? | 
|---|
| 4603 | : "${ac_tmp:=$tmp}" | 
|---|
| 4604 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | 
|---|
| 4605 | ' 0 | 
|---|
| 4606 | trap 'as_fn_exit 1' 1 2 13 15 | 
|---|
| 4607 | } | 
|---|
| 4608 | # Create a (secure) tmp directory for tmp files. | 
|---|
| 4609 |  | 
|---|
| 4610 | { | 
|---|
| 4611 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 
|---|
| 4612 | test -d "$tmp" | 
|---|
| 4613 | }  || | 
|---|
| 4614 | { | 
|---|
| 4615 | tmp=./conf$$-$RANDOM | 
|---|
| 4616 | (umask 077 && mkdir "$tmp") | 
|---|
| 4617 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 
|---|
| 4618 | ac_tmp=$tmp | 
|---|
| 4619 |  | 
|---|
| 4620 | # Set up the scripts for CONFIG_FILES section. | 
|---|
| 4621 | # No need to generate them if there are no CONFIG_FILES. | 
|---|
| 4622 | # This happens for instance with `./config.status config.h'. | 
|---|
| 4623 | if test -n "$CONFIG_FILES"; then | 
|---|
| 4624 |  | 
|---|
| 4625 |  | 
|---|
| 4626 | ac_cr=`echo X | tr X '\015'` | 
|---|
| 4627 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | 
|---|
| 4628 | # But we know of no other shell where ac_cr would be empty at this | 
|---|
| 4629 | # point, so we can use a bashism as a fallback. | 
|---|
| 4630 | if test "x$ac_cr" = x; then | 
|---|
| 4631 | eval ac_cr=\$\'\\r\' | 
|---|
| 4632 | fi | 
|---|
| 4633 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 
|---|
| 4634 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 
|---|
| 4635 | ac_cs_awk_cr='\\r' | 
|---|
| 4636 | else | 
|---|
| 4637 | ac_cs_awk_cr=$ac_cr | 
|---|
| 4638 | fi | 
|---|
| 4639 |  | 
|---|
| 4640 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | 
|---|
| 4641 | _ACEOF | 
|---|
| 4642 |  | 
|---|
| 4643 |  | 
|---|
| 4644 | { | 
|---|
| 4645 | echo "cat >conf$$subs.awk <<_ACEOF" && | 
|---|
| 4646 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 
|---|
| 4647 | echo "_ACEOF" | 
|---|
| 4648 | } >conf$$subs.sh || | 
|---|
| 4649 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 4650 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 
|---|
| 4651 | ac_delim='%!_!# ' | 
|---|
| 4652 | for ac_last_try in false false false false false :; do | 
|---|
| 4653 | . ./conf$$subs.sh || | 
|---|
| 4654 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 4655 |  | 
|---|
| 4656 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 
|---|
| 4657 | if test $ac_delim_n = $ac_delim_num; then | 
|---|
| 4658 | break | 
|---|
| 4659 | elif $ac_last_try; then | 
|---|
| 4660 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 4661 | else | 
|---|
| 4662 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 
|---|
| 4663 | fi | 
|---|
| 4664 | done | 
|---|
| 4665 | rm -f conf$$subs.sh | 
|---|
| 4666 |  | 
|---|
| 4667 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 4668 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | 
|---|
| 4669 | _ACEOF | 
|---|
| 4670 | sed -n ' | 
|---|
| 4671 | h | 
|---|
| 4672 | s/^/S["/; s/!.*/"]=/ | 
|---|
| 4673 | p | 
|---|
| 4674 | g | 
|---|
| 4675 | s/^[^!]*!// | 
|---|
| 4676 | :repl | 
|---|
| 4677 | t repl | 
|---|
| 4678 | s/'"$ac_delim"'$// | 
|---|
| 4679 | t delim | 
|---|
| 4680 | :nl | 
|---|
| 4681 | h | 
|---|
| 4682 | s/\(.\{148\}\)..*/\1/ | 
|---|
| 4683 | t more1 | 
|---|
| 4684 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 
|---|
| 4685 | p | 
|---|
| 4686 | n | 
|---|
| 4687 | b repl | 
|---|
| 4688 | :more1 | 
|---|
| 4689 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
|---|
| 4690 | p | 
|---|
| 4691 | g | 
|---|
| 4692 | s/.\{148\}// | 
|---|
| 4693 | t nl | 
|---|
| 4694 | :delim | 
|---|
| 4695 | h | 
|---|
| 4696 | s/\(.\{148\}\)..*/\1/ | 
|---|
| 4697 | t more2 | 
|---|
| 4698 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | 
|---|
| 4699 | p | 
|---|
| 4700 | b | 
|---|
| 4701 | :more2 | 
|---|
| 4702 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
|---|
| 4703 | p | 
|---|
| 4704 | g | 
|---|
| 4705 | s/.\{148\}// | 
|---|
| 4706 | t delim | 
|---|
| 4707 | ' <conf$$subs.awk | sed ' | 
|---|
| 4708 | /^[^""]/{ | 
|---|
| 4709 | N | 
|---|
| 4710 | s/\n// | 
|---|
| 4711 | } | 
|---|
| 4712 | ' >>$CONFIG_STATUS || ac_write_fail=1 | 
|---|
| 4713 | rm -f conf$$subs.awk | 
|---|
| 4714 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 4715 | _ACAWK | 
|---|
| 4716 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | 
|---|
| 4717 | for (key in S) S_is_set[key] = 1 | 
|---|
| 4718 | FS = "" | 
|---|
| 4719 |  | 
|---|
| 4720 | } | 
|---|
| 4721 | { | 
|---|
| 4722 | line = $ 0 | 
|---|
| 4723 | nfields = split(line, field, "@") | 
|---|
| 4724 | substed = 0 | 
|---|
| 4725 | len = length(field[1]) | 
|---|
| 4726 | for (i = 2; i < nfields; i++) { | 
|---|
| 4727 | key = field[i] | 
|---|
| 4728 | keylen = length(key) | 
|---|
| 4729 | if (S_is_set[key]) { | 
|---|
| 4730 | value = S[key] | 
|---|
| 4731 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | 
|---|
| 4732 | len += length(value) + length(field[++i]) | 
|---|
| 4733 | substed = 1 | 
|---|
| 4734 | } else | 
|---|
| 4735 | len += 1 + keylen | 
|---|
| 4736 | } | 
|---|
| 4737 |  | 
|---|
| 4738 | print line | 
|---|
| 4739 | } | 
|---|
| 4740 |  | 
|---|
| 4741 | _ACAWK | 
|---|
| 4742 | _ACEOF | 
|---|
| 4743 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4744 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 
|---|
| 4745 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 
|---|
| 4746 | else | 
|---|
| 4747 | cat | 
|---|
| 4748 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | 
|---|
| 4749 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 
|---|
| 4750 | _ACEOF | 
|---|
| 4751 |  | 
|---|
| 4752 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 
|---|
| 4753 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 
|---|
| 4754 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|---|
| 4755 | # (actually we leave an empty line to preserve line numbers). | 
|---|
| 4756 | if test "x$srcdir" = x.; then | 
|---|
| 4757 | ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{ | 
|---|
| 4758 | h | 
|---|
| 4759 | s/// | 
|---|
| 4760 | s/^/:/ | 
|---|
| 4761 | s/[      ]*$/:/ | 
|---|
| 4762 | s/:\$(srcdir):/:/g | 
|---|
| 4763 | s/:\${srcdir}:/:/g | 
|---|
| 4764 | s/:@srcdir@:/:/g | 
|---|
| 4765 | s/^:*// | 
|---|
| 4766 | s/:*$// | 
|---|
| 4767 | x | 
|---|
| 4768 | s/\(=[   ]*\).*/\1/ | 
|---|
| 4769 | G | 
|---|
| 4770 | s/\n// | 
|---|
| 4771 | s/^[^=]*=[       ]*$// | 
|---|
| 4772 | }' | 
|---|
| 4773 | fi | 
|---|
| 4774 |  | 
|---|
| 4775 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4776 | fi # test -n "$CONFIG_FILES" | 
|---|
| 4777 |  | 
|---|
| 4778 | # Set up the scripts for CONFIG_HEADERS section. | 
|---|
| 4779 | # No need to generate them if there are no CONFIG_HEADERS. | 
|---|
| 4780 | # This happens for instance with `./config.status Makefile'. | 
|---|
| 4781 | if test -n "$CONFIG_HEADERS"; then | 
|---|
| 4782 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | 
|---|
| 4783 | BEGIN { | 
|---|
| 4784 | _ACEOF | 
|---|
| 4785 |  | 
|---|
| 4786 | # Transform confdefs.h into an awk script `defines.awk', embedded as | 
|---|
| 4787 | # here-document in config.status, that substitutes the proper values into | 
|---|
| 4788 | # config.h.in to produce config.h. | 
|---|
| 4789 |  | 
|---|
| 4790 | # Create a delimiter string that does not exist in confdefs.h, to ease | 
|---|
| 4791 | # handling of long lines. | 
|---|
| 4792 | ac_delim='%!_!# ' | 
|---|
| 4793 | for ac_last_try in false false :; do | 
|---|
| 4794 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | 
|---|
| 4795 | if test -z "$ac_tt"; then | 
|---|
| 4796 | break | 
|---|
| 4797 | elif $ac_last_try; then | 
|---|
| 4798 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 
|---|
| 4799 | else | 
|---|
| 4800 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 
|---|
| 4801 | fi | 
|---|
| 4802 | done | 
|---|
| 4803 |  | 
|---|
| 4804 | # For the awk script, D is an array of macro values keyed by name, | 
|---|
| 4805 | # likewise P contains macro parameters if any.  Preserve backslash | 
|---|
| 4806 | # newline sequences. | 
|---|
| 4807 |  | 
|---|
| 4808 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | 
|---|
| 4809 | sed -n ' | 
|---|
| 4810 | s/.\{148\}/&'"$ac_delim"'/g | 
|---|
| 4811 | t rset | 
|---|
| 4812 | :rset | 
|---|
| 4813 | s/^[     ]*#[    ]*define[       ][      ]*/ / | 
|---|
| 4814 | t def | 
|---|
| 4815 | d | 
|---|
| 4816 | :def | 
|---|
| 4817 | s/\\$// | 
|---|
| 4818 | t bsnl | 
|---|
| 4819 | s/["\\]/\\&/g | 
|---|
| 4820 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ | 
|---|
| 4821 | D["\1"]=" \3"/p | 
|---|
| 4822 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p | 
|---|
| 4823 | d | 
|---|
| 4824 | :bsnl | 
|---|
| 4825 | s/["\\]/\\&/g | 
|---|
| 4826 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\ | 
|---|
| 4827 | D["\1"]=" \3\\\\\\n"\\/p | 
|---|
| 4828 | t cont | 
|---|
| 4829 | s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | 
|---|
| 4830 | t cont | 
|---|
| 4831 | d | 
|---|
| 4832 | :cont | 
|---|
| 4833 | n | 
|---|
| 4834 | s/.\{148\}/&'"$ac_delim"'/g | 
|---|
| 4835 | t clear | 
|---|
| 4836 | :clear | 
|---|
| 4837 | s/\\$// | 
|---|
| 4838 | t bsnlc | 
|---|
| 4839 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | 
|---|
| 4840 | d | 
|---|
| 4841 | :bsnlc | 
|---|
| 4842 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | 
|---|
| 4843 | b cont | 
|---|
| 4844 | ' <confdefs.h | sed ' | 
|---|
| 4845 | s/'"$ac_delim"'/"\\\ | 
|---|
| 4846 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | 
|---|
| 4847 |  | 
|---|
| 4848 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 4849 | for (key in D) D_is_set[key] = 1 | 
|---|
| 4850 | FS = "" | 
|---|
| 4851 | } | 
|---|
| 4852 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | 
|---|
| 4853 | line = \$ 0 | 
|---|
| 4854 | split(line, arg, " ") | 
|---|
| 4855 | if (arg[1] == "#") { | 
|---|
| 4856 | defundef = arg[2] | 
|---|
| 4857 | mac1 = arg[3] | 
|---|
| 4858 | } else { | 
|---|
| 4859 | defundef = substr(arg[1], 2) | 
|---|
| 4860 | mac1 = arg[2] | 
|---|
| 4861 | } | 
|---|
| 4862 | split(mac1, mac2, "(") #) | 
|---|
| 4863 | macro = mac2[1] | 
|---|
| 4864 | prefix = substr(line, 1, index(line, defundef) - 1) | 
|---|
| 4865 | if (D_is_set[macro]) { | 
|---|
| 4866 | # Preserve the white space surrounding the "#". | 
|---|
| 4867 | print prefix "define", macro P[macro] D[macro] | 
|---|
| 4868 | next | 
|---|
| 4869 | } else { | 
|---|
| 4870 | # Replace #undef with comments.  This is necessary, for example, | 
|---|
| 4871 | # in the case of _POSIX_SOURCE, which is predefined and required | 
|---|
| 4872 | # on some systems where configure will not decide to define it. | 
|---|
| 4873 | if (defundef == "undef") { | 
|---|
| 4874 | print "/*", prefix defundef, macro, "*/" | 
|---|
| 4875 | next | 
|---|
| 4876 | } | 
|---|
| 4877 | } | 
|---|
| 4878 | } | 
|---|
| 4879 | { print } | 
|---|
| 4880 | _ACAWK | 
|---|
| 4881 | _ACEOF | 
|---|
| 4882 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 4883 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 
|---|
| 4884 | fi # test -n "$CONFIG_HEADERS" | 
|---|
| 4885 |  | 
|---|
| 4886 |  | 
|---|
| 4887 | eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    " | 
|---|
| 4888 | shift | 
|---|
| 4889 | for ac_tag | 
|---|
| 4890 | do | 
|---|
| 4891 | case $ac_tag in | 
|---|
| 4892 | :[FHLC]) ac_mode=$ac_tag; continue;; | 
|---|
| 4893 | esac | 
|---|
| 4894 | case $ac_mode$ac_tag in | 
|---|
| 4895 | :[FHL]*:*);; | 
|---|
| 4896 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 
|---|
| 4897 | :[FH]-) ac_tag=-:-;; | 
|---|
| 4898 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 
|---|
| 4899 | esac | 
|---|
| 4900 | ac_save_IFS=$IFS | 
|---|
| 4901 | IFS=: | 
|---|
| 4902 | set x $ac_tag | 
|---|
| 4903 | IFS=$ac_save_IFS | 
|---|
| 4904 | shift | 
|---|
| 4905 | ac_file=$1 | 
|---|
| 4906 | shift | 
|---|
| 4907 |  | 
|---|
| 4908 | case $ac_mode in | 
|---|
| 4909 | :L) ac_source=$1;; | 
|---|
| 4910 | :[FH]) | 
|---|
| 4911 | ac_file_inputs= | 
|---|
| 4912 | for ac_f | 
|---|
| 4913 | do | 
|---|
| 4914 | case $ac_f in | 
|---|
| 4915 | -) ac_f="$ac_tmp/stdin";; | 
|---|
| 4916 | *) # Look for the file first in the build tree, then in the source tree | 
|---|
| 4917 | # (if the path is not absolute).  The absolute path cannot be DOS-style, | 
|---|
| 4918 | # because $ac_f cannot contain `:'. | 
|---|
| 4919 | test -f "$ac_f" || | 
|---|
| 4920 | case $ac_f in | 
|---|
| 4921 | [\\/$]*) false;; | 
|---|
| 4922 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 
|---|
| 4923 | esac || | 
|---|
| 4924 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 
|---|
| 4925 | esac | 
|---|
| 4926 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 
|---|
| 4927 | as_fn_append ac_file_inputs " '$ac_f'" | 
|---|
| 4928 | done | 
|---|
| 4929 |  | 
|---|
| 4930 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|---|
| 4931 | # use $as_me), people would be surprised to read: | 
|---|
| 4932 | #    /* config.h.  Generated by config.status.  */ | 
|---|
| 4933 | configure_input='Generated from '` | 
|---|
| 4934 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 
|---|
| 4935 | `' by configure.' | 
|---|
| 4936 | if test x"$ac_file" != x-; then | 
|---|
| 4937 | configure_input="$ac_file.  $configure_input" | 
|---|
| 4938 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 
|---|
| 4939 | $as_echo "$as_me: creating $ac_file" >&6;} | 
|---|
| 4940 | fi | 
|---|
| 4941 | # Neutralize special characters interpreted by sed in replacement strings. | 
|---|
| 4942 | case $configure_input in #( | 
|---|
| 4943 | *\&* | *\|* | *\\* ) | 
|---|
| 4944 | ac_sed_conf_input=`$as_echo "$configure_input" | | 
|---|
| 4945 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | 
|---|
| 4946 | *) ac_sed_conf_input=$configure_input;; | 
|---|
| 4947 | esac | 
|---|
| 4948 |  | 
|---|
| 4949 | case $ac_tag in | 
|---|
| 4950 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 
|---|
| 4951 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 
|---|
| 4952 | esac | 
|---|
| 4953 | ;; | 
|---|
| 4954 | esac | 
|---|
| 4955 |  | 
|---|
| 4956 | ac_dir=`$as_dirname -- "$ac_file" || | 
|---|
| 4957 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|---|
| 4958 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|---|
| 4959 | X"$ac_file" : 'X\(//\)$' \| \ | 
|---|
| 4960 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 
|---|
| 4961 | $as_echo X"$ac_file" | | 
|---|
| 4962 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
|---|
| 4963 | s//\1/ | 
|---|
| 4964 | q | 
|---|
| 4965 | } | 
|---|
| 4966 | /^X\(\/\/\)[^/].*/{ | 
|---|
| 4967 | s//\1/ | 
|---|
| 4968 | q | 
|---|
| 4969 | } | 
|---|
| 4970 | /^X\(\/\/\)$/{ | 
|---|
| 4971 | s//\1/ | 
|---|
| 4972 | q | 
|---|
| 4973 | } | 
|---|
| 4974 | /^X\(\/\).*/{ | 
|---|
| 4975 | s//\1/ | 
|---|
| 4976 | q | 
|---|
| 4977 | } | 
|---|
| 4978 | s/.*/./; q'` | 
|---|
| 4979 | as_dir="$ac_dir"; as_fn_mkdir_p | 
|---|
| 4980 | ac_builddir=. | 
|---|
| 4981 |  | 
|---|
| 4982 | case "$ac_dir" in | 
|---|
| 4983 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 4984 | *) | 
|---|
| 4985 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
|---|
| 4986 | # A ".." for each directory in $ac_dir_suffix. | 
|---|
| 4987 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
|---|
| 4988 | case $ac_top_builddir_sub in | 
|---|
| 4989 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
|---|
| 4990 | *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
|---|
| 4991 | esac ;; | 
|---|
| 4992 | esac | 
|---|
| 4993 | ac_abs_top_builddir=$ac_pwd | 
|---|
| 4994 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
|---|
| 4995 | # for backward compatibility: | 
|---|
| 4996 | ac_top_builddir=$ac_top_build_prefix | 
|---|
| 4997 |  | 
|---|
| 4998 | case $srcdir in | 
|---|
| 4999 | .)  # We are building in place. | 
|---|
| 5000 | ac_srcdir=. | 
|---|
| 5001 | ac_top_srcdir=$ac_top_builddir_sub | 
|---|
| 5002 | ac_abs_top_srcdir=$ac_pwd ;; | 
|---|
| 5003 | [\\/]* | ?:[\\/]* )  # Absolute name. | 
|---|
| 5004 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|---|
| 5005 | ac_top_srcdir=$srcdir | 
|---|
| 5006 | ac_abs_top_srcdir=$srcdir ;; | 
|---|
| 5007 | *) # Relative name. | 
|---|
| 5008 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
|---|
| 5009 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 
|---|
| 5010 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
|---|
| 5011 | esac | 
|---|
| 5012 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
|---|
| 5013 |  | 
|---|
| 5014 |  | 
|---|
| 5015 | case $ac_mode in | 
|---|
| 5016 | :F) | 
|---|
| 5017 | # | 
|---|
| 5018 | # CONFIG_FILE | 
|---|
| 5019 | # | 
|---|
| 5020 |  | 
|---|
| 5021 | case $INSTALL in | 
|---|
| 5022 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|---|
| 5023 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 
|---|
| 5024 | esac | 
|---|
| 5025 | _ACEOF | 
|---|
| 5026 |  | 
|---|
| 5027 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 5028 | # If the template does not know about datarootdir, expand it. | 
|---|
| 5029 | # FIXME: This hack should be removed a few years after 2.60. | 
|---|
| 5030 | ac_datarootdir_hack=; ac_datarootdir_seen= | 
|---|
| 5031 | ac_sed_dataroot=' | 
|---|
| 5032 | /datarootdir/ { | 
|---|
| 5033 | p | 
|---|
| 5034 | q | 
|---|
| 5035 | } | 
|---|
| 5036 | /@datadir@/p | 
|---|
| 5037 | /@docdir@/p | 
|---|
| 5038 | /@infodir@/p | 
|---|
| 5039 | /@localedir@/p | 
|---|
| 5040 | /@mandir@/p' | 
|---|
| 5041 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 
|---|
| 5042 | *datarootdir*) ac_datarootdir_seen=yes;; | 
|---|
| 5043 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 
|---|
| 5044 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 
|---|
| 5045 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 
|---|
| 5046 | _ACEOF | 
|---|
| 5047 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 5048 | ac_datarootdir_hack=' | 
|---|
| 5049 | s&@datadir@&$datadir&g | 
|---|
| 5050 | s&@docdir@&$docdir&g | 
|---|
| 5051 | s&@infodir@&$infodir&g | 
|---|
| 5052 | s&@localedir@&$localedir&g | 
|---|
| 5053 | s&@mandir@&$mandir&g | 
|---|
| 5054 | s&\\\${datarootdir}&$datarootdir&g' ;; | 
|---|
| 5055 | esac | 
|---|
| 5056 | _ACEOF | 
|---|
| 5057 |  | 
|---|
| 5058 | # Neutralize VPATH when `$srcdir' = `.'. | 
|---|
| 5059 | # Shell code in configure.ac might set extrasub. | 
|---|
| 5060 | # FIXME: do we really want to maintain this feature? | 
|---|
| 5061 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
|---|
| 5062 | ac_sed_extra="$ac_vpsub | 
|---|
| 5063 | $extrasub | 
|---|
| 5064 | _ACEOF | 
|---|
| 5065 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
|---|
| 5066 | :t | 
|---|
| 5067 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|---|
| 5068 | s|@configure_input@|$ac_sed_conf_input|;t t | 
|---|
| 5069 | s&@top_builddir@&$ac_top_builddir_sub&;t t | 
|---|
| 5070 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | 
|---|
| 5071 | s&@srcdir@&$ac_srcdir&;t t | 
|---|
| 5072 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | 
|---|
| 5073 | s&@top_srcdir@&$ac_top_srcdir&;t t | 
|---|
| 5074 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 
|---|
| 5075 | s&@builddir@&$ac_builddir&;t t | 
|---|
| 5076 | s&@abs_builddir@&$ac_abs_builddir&;t t | 
|---|
| 5077 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 
|---|
| 5078 | s&@INSTALL@&$ac_INSTALL&;t t | 
|---|
| 5079 | $ac_datarootdir_hack | 
|---|
| 5080 | " | 
|---|
| 5081 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 
|---|
| 5082 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 5083 |  | 
|---|
| 5084 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 
|---|
| 5085 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 
|---|
| 5086 | { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \ | 
|---|
| 5087 | "$ac_tmp/out"`; test -z "$ac_out"; } && | 
|---|
| 5088 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
|---|
| 5089 | which seems to be undefined.  Please make sure it is defined" >&5 | 
|---|
| 5090 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
|---|
| 5091 | which seems to be undefined.  Please make sure it is defined" >&2;} | 
|---|
| 5092 |  | 
|---|
| 5093 | rm -f "$ac_tmp/stdin" | 
|---|
| 5094 | case $ac_file in | 
|---|
| 5095 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 
|---|
| 5096 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 
|---|
| 5097 | esac \ | 
|---|
| 5098 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 5099 | ;; | 
|---|
| 5100 | :H) | 
|---|
| 5101 | # | 
|---|
| 5102 | # CONFIG_HEADER | 
|---|
| 5103 | # | 
|---|
| 5104 | if test x"$ac_file" != x-; then | 
|---|
| 5105 | { | 
|---|
| 5106 | $as_echo "/* $configure_input  */" \ | 
|---|
| 5107 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | 
|---|
| 5108 | } >"$ac_tmp/config.h" \ | 
|---|
| 5109 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 5110 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | 
|---|
| 5111 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 
|---|
| 5112 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 
|---|
| 5113 | else | 
|---|
| 5114 | rm -f "$ac_file" | 
|---|
| 5115 | mv "$ac_tmp/config.h" "$ac_file" \ | 
|---|
| 5116 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
|---|
| 5117 | fi | 
|---|
| 5118 | else | 
|---|
| 5119 | $as_echo "/* $configure_input  */" \ | 
|---|
| 5120 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | 
|---|
| 5121 | || as_fn_error $? "could not create -" "$LINENO" 5 | 
|---|
| 5122 | fi | 
|---|
| 5123 | ;; | 
|---|
| 5124 |  | 
|---|
| 5125 |  | 
|---|
| 5126 | esac | 
|---|
| 5127 |  | 
|---|
| 5128 | done # for ac_tag | 
|---|
| 5129 |  | 
|---|
| 5130 |  | 
|---|
| 5131 | as_fn_exit 0 | 
|---|
| 5132 | _ACEOF | 
|---|
| 5133 | ac_clean_files=$ac_clean_files_save | 
|---|
| 5134 |  | 
|---|
| 5135 | test $ac_write_fail = 0 || | 
|---|
| 5136 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 
|---|
| 5137 |  | 
|---|
| 5138 |  | 
|---|
| 5139 | # configure is writing to config.log, and then calls config.status. | 
|---|
| 5140 | # config.status does its own redirection, appending to config.log. | 
|---|
| 5141 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|---|
| 5142 | # by configure, so config.status won't be able to write to it; its | 
|---|
| 5143 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|---|
| 5144 | # effectively closing config.log, so it can be properly (re)opened and | 
|---|
| 5145 | # appended to by config.status.  When coming back to configure, we | 
|---|
| 5146 | # need to make the FD available again. | 
|---|
| 5147 | if test "$no_create" != yes; then | 
|---|
| 5148 | ac_cs_success=: | 
|---|
| 5149 | ac_config_status_args= | 
|---|
| 5150 | test "$silent" = yes && | 
|---|
| 5151 | ac_config_status_args="$ac_config_status_args --quiet" | 
|---|
| 5152 | exec 5>/dev/null | 
|---|
| 5153 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
|---|
| 5154 | exec 5>>config.log | 
|---|
| 5155 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|---|
| 5156 | # would make configure fail if this is the last instruction. | 
|---|
| 5157 | $ac_cs_success || as_fn_exit 1 | 
|---|
| 5158 | fi | 
|---|
| 5159 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 
|---|
| 5160 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 
|---|
| 5161 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 
|---|
| 5162 | fi | 
|---|
| 5163 |  | 
|---|