Mercurial > noffle
comparison configure @ 498:d09bcf917ac9 noffle
Ran updated autoconf and friends.
| author | Jim Hague <jim.hague@acm.org> |
|---|---|
| date | Tue, 13 Aug 2013 22:37:27 +0100 |
| parents | d33568bb18ab |
| children |
comparison
equal
deleted
inserted
replaced
| 497:6f99218719e4 | 498:d09bcf917ac9 |
|---|---|
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 | |
| 3 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
| 4 # Generated automatically using autoconf version 2.13 | 3 # Generated by GNU Autoconf 2.69. |
| 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. | 4 # |
| 5 # | |
| 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
| 7 # | |
| 6 # | 8 # |
| 7 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
| 8 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
| 9 | 11 ## -------------------- ## |
| 10 # Defaults: | 12 ## M4sh Initialization. ## |
| 11 ac_help= | 13 ## -------------------- ## |
| 14 | |
| 15 # Be more Bourne compatible | |
| 16 DUALCASE=1; export DUALCASE # for MKS sh | |
| 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 18 emulate sh | |
| 19 NULLCMD=: | |
| 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 21 # is contrary to our usage. Disable this feature. | |
| 22 alias -g '${1+"$@"}'='"$@"' | |
| 23 setopt NO_GLOB_SUBST | |
| 24 else | |
| 25 case `(set -o) 2>/dev/null` in #( | |
| 26 *posix*) : | |
| 27 set -o posix ;; #( | |
| 28 *) : | |
| 29 ;; | |
| 30 esac | |
| 31 fi | |
| 32 | |
| 33 | |
| 34 as_nl=' | |
| 35 ' | |
| 36 export as_nl | |
| 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 41 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 42 # but without wasting forks for bash or zsh. | |
| 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 45 as_echo='print -r --' | |
| 46 as_echo_n='print -rn --' | |
| 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 48 as_echo='printf %s\n' | |
| 49 as_echo_n='printf %s' | |
| 50 else | |
| 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 53 as_echo_n='/usr/ucb/echo -n' | |
| 54 else | |
| 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 56 as_echo_n_body='eval | |
| 57 arg=$1; | |
| 58 case $arg in #( | |
| 59 *"$as_nl"*) | |
| 60 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 62 esac; | |
| 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 64 ' | |
| 65 export as_echo_n_body | |
| 66 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 67 fi | |
| 68 export as_echo_body | |
| 69 as_echo='sh -c $as_echo_body as_echo' | |
| 70 fi | |
| 71 | |
| 72 # The user is always right. | |
| 73 if test "${PATH_SEPARATOR+set}" != set; then | |
| 74 PATH_SEPARATOR=: | |
| 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 77 PATH_SEPARATOR=';' | |
| 78 } | |
| 79 fi | |
| 80 | |
| 81 | |
| 82 # IFS | |
| 83 # We need space, tab and new line, in precisely that order. Quoting is | |
| 84 # there to prevent editors from complaining about space-tab. | |
| 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 86 # splitting by setting IFS to empty value.) | |
| 87 IFS=" "" $as_nl" | |
| 88 | |
| 89 # Find who we are. Look in the path if we contain no directory separator. | |
| 90 as_myself= | |
| 91 case $0 in #(( | |
| 92 *[\\/]* ) as_myself=$0 ;; | |
| 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 94 for as_dir in $PATH | |
| 95 do | |
| 96 IFS=$as_save_IFS | |
| 97 test -z "$as_dir" && as_dir=. | |
| 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 99 done | |
| 100 IFS=$as_save_IFS | |
| 101 | |
| 102 ;; | |
| 103 esac | |
| 104 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 105 # in which case we are not to be found in the path. | |
| 106 if test "x$as_myself" = x; then | |
| 107 as_myself=$0 | |
| 108 fi | |
| 109 if test ! -f "$as_myself"; then | |
| 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 111 exit 1 | |
| 112 fi | |
| 113 | |
| 114 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 116 # suppresses any "Segmentation fault" message there. '((' could | |
| 117 # trigger a bug in pdksh 5.2.14. | |
| 118 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 119 do eval test x\${$as_var+set} = xset \ | |
| 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 121 done | |
| 122 PS1='$ ' | |
| 123 PS2='> ' | |
| 124 PS4='+ ' | |
| 125 | |
| 126 # NLS nuisances. | |
| 127 LC_ALL=C | |
| 128 export LC_ALL | |
| 129 LANGUAGE=C | |
| 130 export LANGUAGE | |
| 131 | |
| 132 # CDPATH. | |
| 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 134 | |
| 135 # Use a proper internal environment variable to ensure we don't fall | |
| 136 # into an infinite loop, continuously re-executing ourselves. | |
| 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
| 138 _as_can_reexec=no; export _as_can_reexec; | |
| 139 # We cannot yet assume a decent shell, so we have to provide a | |
| 140 # neutralization value for shells without unset; and this also | |
| 141 # works around shells that cannot unset nonexistent variables. | |
| 142 # Preserve -v and -x to the replacement shell. | |
| 143 BASH_ENV=/dev/null | |
| 144 ENV=/dev/null | |
| 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 146 case $- in # (((( | |
| 147 *v*x* | *x*v* ) as_opts=-vx ;; | |
| 148 *v* ) as_opts=-v ;; | |
| 149 *x* ) as_opts=-x ;; | |
| 150 * ) as_opts= ;; | |
| 151 esac | |
| 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
| 153 # Admittedly, this is quite paranoid, since all the known shells bail | |
| 154 # out after a failed `exec'. | |
| 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
| 156 as_fn_exit 255 | |
| 157 fi | |
| 158 # We don't want this to propagate to other subprocesses. | |
| 159 { _as_can_reexec=; unset _as_can_reexec;} | |
| 160 if test "x$CONFIG_SHELL" = x; then | |
| 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
| 162 emulate sh | |
| 163 NULLCMD=: | |
| 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
| 165 # is contrary to our usage. Disable this feature. | |
| 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
| 167 setopt NO_GLOB_SUBST | |
| 168 else | |
| 169 case \`(set -o) 2>/dev/null\` in #( | |
| 170 *posix*) : | |
| 171 set -o posix ;; #( | |
| 172 *) : | |
| 173 ;; | |
| 174 esac | |
| 175 fi | |
| 176 " | |
| 177 as_required="as_fn_return () { (exit \$1); } | |
| 178 as_fn_success () { as_fn_return 0; } | |
| 179 as_fn_failure () { as_fn_return 1; } | |
| 180 as_fn_ret_success () { return 0; } | |
| 181 as_fn_ret_failure () { return 1; } | |
| 182 | |
| 183 exitcode=0 | |
| 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
| 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
| 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
| 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
| 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
| 189 | |
| 190 else | |
| 191 exitcode=1; echo positional parameters were not saved. | |
| 192 fi | |
| 193 test x\$exitcode = x0 || exit 1 | |
| 194 test -x / || exit 1" | |
| 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
| 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
| 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
| 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
| 199 test \$(( 1 + 1 )) = 2 || exit 1" | |
| 200 if (eval "$as_required") 2>/dev/null; then : | |
| 201 as_have_required=yes | |
| 202 else | |
| 203 as_have_required=no | |
| 204 fi | |
| 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
| 206 | |
| 207 else | |
| 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 209 as_found=false | |
| 210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
| 211 do | |
| 212 IFS=$as_save_IFS | |
| 213 test -z "$as_dir" && as_dir=. | |
| 214 as_found=: | |
| 215 case $as_dir in #( | |
| 216 /*) | |
| 217 for as_base in sh bash ksh sh5; do | |
| 218 # Try only shells that exist, to save several forks. | |
| 219 as_shell=$as_dir/$as_base | |
| 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 222 CONFIG_SHELL=$as_shell as_have_required=yes | |
| 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 224 break 2 | |
| 225 fi | |
| 226 fi | |
| 227 done;; | |
| 228 esac | |
| 229 as_found=false | |
| 230 done | |
| 231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
| 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
| 233 CONFIG_SHELL=$SHELL as_have_required=yes | |
| 234 fi; } | |
| 235 IFS=$as_save_IFS | |
| 236 | |
| 237 | |
| 238 if test "x$CONFIG_SHELL" != x; then : | |
| 239 export CONFIG_SHELL | |
| 240 # We cannot yet assume a decent shell, so we have to provide a | |
| 241 # neutralization value for shells without unset; and this also | |
| 242 # works around shells that cannot unset nonexistent variables. | |
| 243 # Preserve -v and -x to the replacement shell. | |
| 244 BASH_ENV=/dev/null | |
| 245 ENV=/dev/null | |
| 246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 247 case $- in # (((( | |
| 248 *v*x* | *x*v* ) as_opts=-vx ;; | |
| 249 *v* ) as_opts=-v ;; | |
| 250 *x* ) as_opts=-x ;; | |
| 251 * ) as_opts= ;; | |
| 252 esac | |
| 253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
| 254 # Admittedly, this is quite paranoid, since all the known shells bail | |
| 255 # out after a failed `exec'. | |
| 256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
| 257 exit 255 | |
| 258 fi | |
| 259 | |
| 260 if test x$as_have_required = xno; then : | |
| 261 $as_echo "$0: This script requires a shell more modern than all" | |
| 262 $as_echo "$0: the shells that I found on your system." | |
| 263 if test x${ZSH_VERSION+set} = xset ; then | |
| 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
| 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
| 266 else | |
| 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
| 268 $0: including any error possibly output before this | |
| 269 $0: message. Then install a modern shell, or manually run | |
| 270 $0: the script under such a shell if you do have one." | |
| 271 fi | |
| 272 exit 1 | |
| 273 fi | |
| 274 fi | |
| 275 fi | |
| 276 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 277 export SHELL | |
| 278 # Unset more variables known to interfere with behavior of common tools. | |
| 279 CLICOLOR_FORCE= GREP_OPTIONS= | |
| 280 unset CLICOLOR_FORCE GREP_OPTIONS | |
| 281 | |
| 282 ## --------------------- ## | |
| 283 ## M4sh Shell Functions. ## | |
| 284 ## --------------------- ## | |
| 285 # as_fn_unset VAR | |
| 286 # --------------- | |
| 287 # Portably unset VAR. | |
| 288 as_fn_unset () | |
| 289 { | |
| 290 { eval $1=; unset $1;} | |
| 291 } | |
| 292 as_unset=as_fn_unset | |
| 293 | |
| 294 # as_fn_set_status STATUS | |
| 295 # ----------------------- | |
| 296 # Set $? to STATUS, without forking. | |
| 297 as_fn_set_status () | |
| 298 { | |
| 299 return $1 | |
| 300 } # as_fn_set_status | |
| 301 | |
| 302 # as_fn_exit STATUS | |
| 303 # ----------------- | |
| 304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 305 as_fn_exit () | |
| 306 { | |
| 307 set +e | |
| 308 as_fn_set_status $1 | |
| 309 exit $1 | |
| 310 } # as_fn_exit | |
| 311 | |
| 312 # as_fn_mkdir_p | |
| 313 # ------------- | |
| 314 # Create "$as_dir" as a directory, including parents if necessary. | |
| 315 as_fn_mkdir_p () | |
| 316 { | |
| 317 | |
| 318 case $as_dir in #( | |
| 319 -*) as_dir=./$as_dir;; | |
| 320 esac | |
| 321 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 322 as_dirs= | |
| 323 while :; do | |
| 324 case $as_dir in #( | |
| 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 326 *) as_qdir=$as_dir;; | |
| 327 esac | |
| 328 as_dirs="'$as_qdir' $as_dirs" | |
| 329 as_dir=`$as_dirname -- "$as_dir" || | |
| 330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 331 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 332 X"$as_dir" : 'X\(//\)$' \| \ | |
| 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 334 $as_echo X"$as_dir" | | |
| 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 336 s//\1/ | |
| 337 q | |
| 338 } | |
| 339 /^X\(\/\/\)[^/].*/{ | |
| 340 s//\1/ | |
| 341 q | |
| 342 } | |
| 343 /^X\(\/\/\)$/{ | |
| 344 s//\1/ | |
| 345 q | |
| 346 } | |
| 347 /^X\(\/\).*/{ | |
| 348 s//\1/ | |
| 349 q | |
| 350 } | |
| 351 s/.*/./; q'` | |
| 352 test -d "$as_dir" && break | |
| 353 done | |
| 354 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 356 | |
| 357 | |
| 358 } # as_fn_mkdir_p | |
| 359 | |
| 360 # as_fn_executable_p FILE | |
| 361 # ----------------------- | |
| 362 # Test if FILE is an executable regular file. | |
| 363 as_fn_executable_p () | |
| 364 { | |
| 365 test -f "$1" && test -x "$1" | |
| 366 } # as_fn_executable_p | |
| 367 # as_fn_append VAR VALUE | |
| 368 # ---------------------- | |
| 369 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 370 # advantage of any shell optimizations that allow amortized linear growth over | |
| 371 # repeated appends, instead of the typical quadratic growth present in naive | |
| 372 # implementations. | |
| 373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 374 eval 'as_fn_append () | |
| 375 { | |
| 376 eval $1+=\$2 | |
| 377 }' | |
| 378 else | |
| 379 as_fn_append () | |
| 380 { | |
| 381 eval $1=\$$1\$2 | |
| 382 } | |
| 383 fi # as_fn_append | |
| 384 | |
| 385 # as_fn_arith ARG... | |
| 386 # ------------------ | |
| 387 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 388 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 389 # must be portable across $(()) and expr. | |
| 390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 391 eval 'as_fn_arith () | |
| 392 { | |
| 393 as_val=$(( $* )) | |
| 394 }' | |
| 395 else | |
| 396 as_fn_arith () | |
| 397 { | |
| 398 as_val=`expr "$@" || test $? -eq 1` | |
| 399 } | |
| 400 fi # as_fn_arith | |
| 401 | |
| 402 | |
| 403 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 404 # ---------------------------------------- | |
| 405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 407 # script with STATUS, using 1 if that was 0. | |
| 408 as_fn_error () | |
| 409 { | |
| 410 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 411 if test "$4"; then | |
| 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 414 fi | |
| 415 $as_echo "$as_me: error: $2" >&2 | |
| 416 as_fn_exit $as_status | |
| 417 } # as_fn_error | |
| 418 | |
| 419 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 421 as_expr=expr | |
| 422 else | |
| 423 as_expr=false | |
| 424 fi | |
| 425 | |
| 426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 427 as_basename=basename | |
| 428 else | |
| 429 as_basename=false | |
| 430 fi | |
| 431 | |
| 432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 433 as_dirname=dirname | |
| 434 else | |
| 435 as_dirname=false | |
| 436 fi | |
| 437 | |
| 438 as_me=`$as_basename -- "$0" || | |
| 439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 440 X"$0" : 'X\(//\)$' \| \ | |
| 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 442 $as_echo X/"$0" | | |
| 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 444 s//\1/ | |
| 445 q | |
| 446 } | |
| 447 /^X\/\(\/\/\)$/{ | |
| 448 s//\1/ | |
| 449 q | |
| 450 } | |
| 451 /^X\/\(\/\).*/{ | |
| 452 s//\1/ | |
| 453 q | |
| 454 } | |
| 455 s/.*/./; q'` | |
| 456 | |
| 457 # Avoid depending upon Character Ranges. | |
| 458 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 461 as_cr_digits='0123456789' | |
| 462 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 463 | |
| 464 | |
| 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
| 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
| 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
| 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
| 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
| 470 sed -n ' | |
| 471 p | |
| 472 /[$]LINENO/= | |
| 473 ' <$as_myself | | |
| 474 sed ' | |
| 475 s/[$]LINENO.*/&-/ | |
| 476 t lineno | |
| 477 b | |
| 478 :lineno | |
| 479 N | |
| 480 :loop | |
| 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 482 t loop | |
| 483 s/-\n.*// | |
| 484 ' >$as_me.lineno && | |
| 485 chmod +x "$as_me.lineno" || | |
| 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
| 487 | |
| 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
| 489 # already done that, so ensure we don't try to do so again and fall | |
| 490 # in an infinite loop. This has already happened in practice. | |
| 491 _as_can_reexec=no; export _as_can_reexec | |
| 492 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 493 # (the dirname of $[0] is not the place where we might find the | |
| 494 # original and so on. Autoconf is especially sensitive to this). | |
| 495 . "./$as_me.lineno" | |
| 496 # Exit status is that of the last command. | |
| 497 exit | |
| 498 } | |
| 499 | |
| 500 ECHO_C= ECHO_N= ECHO_T= | |
| 501 case `echo -n x` in #((((( | |
| 502 -n*) | |
| 503 case `echo 'xy\c'` in | |
| 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 505 xy) ECHO_C='\c';; | |
| 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 507 ECHO_T=' ';; | |
| 508 esac;; | |
| 509 *) | |
| 510 ECHO_N='-n';; | |
| 511 esac | |
| 512 | |
| 513 rm -f conf$$ conf$$.exe conf$$.file | |
| 514 if test -d conf$$.dir; then | |
| 515 rm -f conf$$.dir/conf$$.file | |
| 516 else | |
| 517 rm -f conf$$.dir | |
| 518 mkdir conf$$.dir 2>/dev/null | |
| 519 fi | |
| 520 if (echo >conf$$.file) 2>/dev/null; then | |
| 521 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 522 as_ln_s='ln -s' | |
| 523 # ... but there are two gotchas: | |
| 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 526 # In both cases, we have to default to `cp -pR'. | |
| 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 528 as_ln_s='cp -pR' | |
| 529 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 530 as_ln_s=ln | |
| 531 else | |
| 532 as_ln_s='cp -pR' | |
| 533 fi | |
| 534 else | |
| 535 as_ln_s='cp -pR' | |
| 536 fi | |
| 537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 538 rmdir conf$$.dir 2>/dev/null | |
| 539 | |
| 540 if mkdir -p . 2>/dev/null; then | |
| 541 as_mkdir_p='mkdir -p "$as_dir"' | |
| 542 else | |
| 543 test -d ./-p && rmdir ./-p | |
| 544 as_mkdir_p=false | |
| 545 fi | |
| 546 | |
| 547 as_test_x='test -x' | |
| 548 as_executable_p=as_fn_executable_p | |
| 549 | |
| 550 # Sed expression to map a string onto a valid CPP name. | |
| 551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 552 | |
| 553 # Sed expression to map a string onto a valid variable name. | |
| 554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 555 | |
| 556 | |
| 557 test -n "$DJDIR" || exec 7<&0 </dev/null | |
| 558 exec 6>&1 | |
| 559 | |
| 560 # Name of the host. | |
| 561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
| 562 # so uname gets run too. | |
| 563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 564 | |
| 565 # | |
| 566 # Initializations. | |
| 567 # | |
| 12 ac_default_prefix=/usr/local | 568 ac_default_prefix=/usr/local |
| 13 # Any additions from configure.in: | 569 ac_clean_files= |
| 14 ac_help="$ac_help | 570 ac_config_libobj_dir=. |
| 15 --with-gdbm-include=DIR GDBM header files are in DIR" | 571 LIBOBJS= |
| 16 ac_help="$ac_help | 572 cross_compiling=no |
| 17 --with-gdbm-libdir=DIR GDBM library files are in DIR" | 573 subdirs= |
| 18 ac_help="$ac_help | 574 MFLAGS= |
| 19 --enable-auth=[no/file/pam] enable authentication [default=no]" | 575 MAKEFLAGS= |
| 20 ac_help="$ac_help | 576 |
| 21 --with-usersfile=FILE users file [/etc/noffle.users]" | 577 # Identity of this package. |
| 22 ac_help="$ac_help | 578 PACKAGE_NAME= |
| 23 --enable-debug=[no/yes] build with debugging [default=no]" | 579 PACKAGE_TARNAME= |
| 24 ac_help="$ac_help | 580 PACKAGE_VERSION= |
| 25 --with-docdir=DIR other documentation [PREFIX/share/doc/noffle]" | 581 PACKAGE_STRING= |
| 26 ac_help="$ac_help | 582 PACKAGE_BUGREPORT= |
| 27 --with-spooldir=DIR news spool directory [/var/spool/noffle]" | 583 PACKAGE_URL= |
| 28 ac_help="$ac_help | 584 |
| 29 --with-configfile=FILE configuration file [/etc/noffle.conf]" | 585 ac_unique_file="src/noffle.c" |
| 586 # Factoring default headers for most tests. | |
| 587 ac_includes_default="\ | |
| 588 #include <stdio.h> | |
| 589 #ifdef HAVE_SYS_TYPES_H | |
| 590 # include <sys/types.h> | |
| 591 #endif | |
| 592 #ifdef HAVE_SYS_STAT_H | |
| 593 # include <sys/stat.h> | |
| 594 #endif | |
| 595 #ifdef STDC_HEADERS | |
| 596 # include <stdlib.h> | |
| 597 # include <stddef.h> | |
| 598 #else | |
| 599 # ifdef HAVE_STDLIB_H | |
| 600 # include <stdlib.h> | |
| 601 # endif | |
| 602 #endif | |
| 603 #ifdef HAVE_STRING_H | |
| 604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| 605 # include <memory.h> | |
| 606 # endif | |
| 607 # include <string.h> | |
| 608 #endif | |
| 609 #ifdef HAVE_STRINGS_H | |
| 610 # include <strings.h> | |
| 611 #endif | |
| 612 #ifdef HAVE_INTTYPES_H | |
| 613 # include <inttypes.h> | |
| 614 #endif | |
| 615 #ifdef HAVE_STDINT_H | |
| 616 # include <stdint.h> | |
| 617 #endif | |
| 618 #ifdef HAVE_UNISTD_H | |
| 619 # include <unistd.h> | |
| 620 #endif" | |
| 621 | |
| 622 ac_subst_vars='am__EXEEXT_FALSE | |
| 623 am__EXEEXT_TRUE | |
| 624 LTLIBOBJS | |
| 625 LIBOBJS | |
| 626 DOCDIR | |
| 627 CONFIGFILE | |
| 628 SPOOLDIR | |
| 629 USERSFILE | |
| 630 LIBPAM | |
| 631 SENDMAILPROG | |
| 632 EGREP | |
| 633 GREP | |
| 634 CPP | |
| 635 am__fastdepCC_FALSE | |
| 636 am__fastdepCC_TRUE | |
| 637 CCDEPMODE | |
| 638 am__nodep | |
| 639 AMDEPBACKSLASH | |
| 640 AMDEP_FALSE | |
| 641 AMDEP_TRUE | |
| 642 am__quote | |
| 643 am__include | |
| 644 DEPDIR | |
| 645 OBJEXT | |
| 646 EXEEXT | |
| 647 ac_ct_CC | |
| 648 CPPFLAGS | |
| 649 LDFLAGS | |
| 650 CFLAGS | |
| 651 CC | |
| 652 AM_BACKSLASH | |
| 653 AM_DEFAULT_VERBOSITY | |
| 654 AM_DEFAULT_V | |
| 655 AM_V | |
| 656 am__untar | |
| 657 am__tar | |
| 658 AMTAR | |
| 659 am__leading_dot | |
| 660 SET_MAKE | |
| 661 AWK | |
| 662 mkdir_p | |
| 663 MKDIR_P | |
| 664 INSTALL_STRIP_PROGRAM | |
| 665 STRIP | |
| 666 install_sh | |
| 667 MAKEINFO | |
| 668 AUTOHEADER | |
| 669 AUTOMAKE | |
| 670 AUTOCONF | |
| 671 ACLOCAL | |
| 672 VERSION | |
| 673 PACKAGE | |
| 674 CYGPATH_W | |
| 675 am__isrc | |
| 676 INSTALL_DATA | |
| 677 INSTALL_SCRIPT | |
| 678 INSTALL_PROGRAM | |
| 679 target_alias | |
| 680 host_alias | |
| 681 build_alias | |
| 682 LIBS | |
| 683 ECHO_T | |
| 684 ECHO_N | |
| 685 ECHO_C | |
| 686 DEFS | |
| 687 mandir | |
| 688 localedir | |
| 689 libdir | |
| 690 psdir | |
| 691 pdfdir | |
| 692 dvidir | |
| 693 htmldir | |
| 694 infodir | |
| 695 docdir | |
| 696 oldincludedir | |
| 697 includedir | |
| 698 localstatedir | |
| 699 sharedstatedir | |
| 700 sysconfdir | |
| 701 datadir | |
| 702 datarootdir | |
| 703 libexecdir | |
| 704 sbindir | |
| 705 bindir | |
| 706 program_transform_name | |
| 707 prefix | |
| 708 exec_prefix | |
| 709 PACKAGE_URL | |
| 710 PACKAGE_BUGREPORT | |
| 711 PACKAGE_STRING | |
| 712 PACKAGE_VERSION | |
| 713 PACKAGE_TARNAME | |
| 714 PACKAGE_NAME | |
| 715 PATH_SEPARATOR | |
| 716 SHELL' | |
| 717 ac_subst_files='' | |
| 718 ac_user_opts=' | |
| 719 enable_option_checking | |
| 720 enable_silent_rules | |
| 721 enable_dependency_tracking | |
| 722 with_gdbm_include | |
| 723 with_gdbm_libdir | |
| 724 enable_auth | |
| 725 with_usersfile | |
| 726 enable_debug | |
| 727 with_docdir | |
| 728 with_spooldir | |
| 729 with_configfile | |
| 730 ' | |
| 731 ac_precious_vars='build_alias | |
| 732 host_alias | |
| 733 target_alias | |
| 734 CC | |
| 735 CFLAGS | |
| 736 LDFLAGS | |
| 737 LIBS | |
| 738 CPPFLAGS | |
| 739 CPP' | |
| 740 | |
| 30 | 741 |
| 31 # Initialize some variables set by options. | 742 # Initialize some variables set by options. |
| 743 ac_init_help= | |
| 744 ac_init_version=false | |
| 745 ac_unrecognized_opts= | |
| 746 ac_unrecognized_sep= | |
| 32 # The variables have the same names as the options, with | 747 # The variables have the same names as the options, with |
| 33 # dashes changed to underlines. | 748 # dashes changed to underlines. |
| 34 build=NONE | 749 cache_file=/dev/null |
| 35 cache_file=./config.cache | |
| 36 exec_prefix=NONE | 750 exec_prefix=NONE |
| 37 host=NONE | |
| 38 no_create= | 751 no_create= |
| 39 nonopt=NONE | |
| 40 no_recursion= | 752 no_recursion= |
| 41 prefix=NONE | 753 prefix=NONE |
| 42 program_prefix=NONE | 754 program_prefix=NONE |
| 43 program_suffix=NONE | 755 program_suffix=NONE |
| 44 program_transform_name=s,x,x, | 756 program_transform_name=s,x,x, |
| 45 silent= | 757 silent= |
| 46 site= | 758 site= |
| 47 srcdir= | 759 srcdir= |
| 48 target=NONE | |
| 49 verbose= | 760 verbose= |
| 50 x_includes=NONE | 761 x_includes=NONE |
| 51 x_libraries=NONE | 762 x_libraries=NONE |
| 763 | |
| 764 # Installation directory options. | |
| 765 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 766 # and all the variables that are supposed to be based on exec_prefix | |
| 767 # by default will actually change. | |
| 768 # Use braces instead of parens because sh, perl, etc. also accept them. | |
| 769 # (The list follows the same order as the GNU Coding Standards.) | |
| 52 bindir='${exec_prefix}/bin' | 770 bindir='${exec_prefix}/bin' |
| 53 sbindir='${exec_prefix}/sbin' | 771 sbindir='${exec_prefix}/sbin' |
| 54 libexecdir='${exec_prefix}/libexec' | 772 libexecdir='${exec_prefix}/libexec' |
| 55 datadir='${prefix}/share' | 773 datarootdir='${prefix}/share' |
| 774 datadir='${datarootdir}' | |
| 56 sysconfdir='${prefix}/etc' | 775 sysconfdir='${prefix}/etc' |
| 57 sharedstatedir='${prefix}/com' | 776 sharedstatedir='${prefix}/com' |
| 58 localstatedir='${prefix}/var' | 777 localstatedir='${prefix}/var' |
| 59 libdir='${exec_prefix}/lib' | |
| 60 includedir='${prefix}/include' | 778 includedir='${prefix}/include' |
| 61 oldincludedir='/usr/include' | 779 oldincludedir='/usr/include' |
| 62 infodir='${prefix}/info' | 780 docdir='${datarootdir}/doc/${PACKAGE}' |
| 63 mandir='${prefix}/man' | 781 infodir='${datarootdir}/info' |
| 64 | 782 htmldir='${docdir}' |
| 65 # Initialize some other variables. | 783 dvidir='${docdir}' |
| 66 subdirs= | 784 pdfdir='${docdir}' |
| 67 MFLAGS= MAKEFLAGS= | 785 psdir='${docdir}' |
| 68 SHELL=${CONFIG_SHELL-/bin/sh} | 786 libdir='${exec_prefix}/lib' |
| 69 # Maximum number of lines to put in a shell here document. | 787 localedir='${datarootdir}/locale' |
| 70 ac_max_here_lines=12 | 788 mandir='${datarootdir}/man' |
| 71 | 789 |
| 72 ac_prev= | 790 ac_prev= |
| 791 ac_dashdash= | |
| 73 for ac_option | 792 for ac_option |
| 74 do | 793 do |
| 75 | |
| 76 # If the previous option needs an argument, assign it. | 794 # If the previous option needs an argument, assign it. |
| 77 if test -n "$ac_prev"; then | 795 if test -n "$ac_prev"; then |
| 78 eval "$ac_prev=\$ac_option" | 796 eval $ac_prev=\$ac_option |
| 79 ac_prev= | 797 ac_prev= |
| 80 continue | 798 continue |
| 81 fi | 799 fi |
| 82 | 800 |
| 83 case "$ac_option" in | 801 case $ac_option in |
| 84 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; | 802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 85 *) ac_optarg= ;; | 803 *=) ac_optarg= ;; |
| 804 *) ac_optarg=yes ;; | |
| 86 esac | 805 esac |
| 87 | 806 |
| 88 # Accept the important Cygnus configure options, so we can diagnose typos. | 807 # Accept the important Cygnus configure options, so we can diagnose typos. |
| 89 | 808 |
| 90 case "$ac_option" in | 809 case $ac_dashdash$ac_option in |
| 810 --) | |
| 811 ac_dashdash=yes ;; | |
| 91 | 812 |
| 92 -bindir | --bindir | --bindi | --bind | --bin | --bi) | 813 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 93 ac_prev=bindir ;; | 814 ac_prev=bindir ;; |
| 94 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 95 bindir="$ac_optarg" ;; | 816 bindir=$ac_optarg ;; |
| 96 | 817 |
| 97 -build | --build | --buil | --bui | --bu) | 818 -build | --build | --buil | --bui | --bu) |
| 98 ac_prev=build ;; | 819 ac_prev=build_alias ;; |
| 99 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 820 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 100 build="$ac_optarg" ;; | 821 build_alias=$ac_optarg ;; |
| 101 | 822 |
| 102 -cache-file | --cache-file | --cache-fil | --cache-fi \ | 823 -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 103 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 104 ac_prev=cache_file ;; | 825 ac_prev=cache_file ;; |
| 105 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 106 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 107 cache_file="$ac_optarg" ;; | 828 cache_file=$ac_optarg ;; |
| 108 | 829 |
| 109 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 830 --config-cache | -C) |
| 831 cache_file=config.cache ;; | |
| 832 | |
| 833 -datadir | --datadir | --datadi | --datad) | |
| 110 ac_prev=datadir ;; | 834 ac_prev=datadir ;; |
| 111 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 835 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 112 | --da=*) | 836 datadir=$ac_optarg ;; |
| 113 datadir="$ac_optarg" ;; | 837 |
| 838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 839 | --dataroo | --dataro | --datar) | |
| 840 ac_prev=datarootdir ;; | |
| 841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 843 datarootdir=$ac_optarg ;; | |
| 114 | 844 |
| 115 -disable-* | --disable-*) | 845 -disable-* | --disable-*) |
| 116 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` | 846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 117 # Reject names that are not valid shell variable names. | 847 # Reject names that are not valid shell variable names. |
| 118 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then | 848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 119 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | 849 as_fn_error $? "invalid feature name: $ac_useropt" |
| 120 fi | 850 ac_useropt_orig=$ac_useropt |
| 121 ac_feature=`echo $ac_feature| sed 's/-/_/g'` | 851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 122 eval "enable_${ac_feature}=no" ;; | 852 case $ac_user_opts in |
| 853 *" | |
| 854 "enable_$ac_useropt" | |
| 855 "*) ;; | |
| 856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
| 857 ac_unrecognized_sep=', ';; | |
| 858 esac | |
| 859 eval enable_$ac_useropt=no ;; | |
| 860 | |
| 861 -docdir | --docdir | --docdi | --doc | --do) | |
| 862 ac_prev=docdir ;; | |
| 863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 864 docdir=$ac_optarg ;; | |
| 865 | |
| 866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 867 ac_prev=dvidir ;; | |
| 868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 869 dvidir=$ac_optarg ;; | |
| 123 | 870 |
| 124 -enable-* | --enable-*) | 871 -enable-* | --enable-*) |
| 125 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` | 872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 126 # Reject names that are not valid shell variable names. | 873 # Reject names that are not valid shell variable names. |
| 127 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then | 874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 128 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } | 875 as_fn_error $? "invalid feature name: $ac_useropt" |
| 129 fi | 876 ac_useropt_orig=$ac_useropt |
| 130 ac_feature=`echo $ac_feature| sed 's/-/_/g'` | 877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 131 case "$ac_option" in | 878 case $ac_user_opts in |
| 132 *=*) ;; | 879 *" |
| 133 *) ac_optarg=yes ;; | 880 "enable_$ac_useropt" |
| 881 "*) ;; | |
| 882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
| 883 ac_unrecognized_sep=', ';; | |
| 134 esac | 884 esac |
| 135 eval "enable_${ac_feature}='$ac_optarg'" ;; | 885 eval enable_$ac_useropt=\$ac_optarg ;; |
| 136 | 886 |
| 137 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
| 138 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
| 139 | --exec | --exe | --ex) | 889 | --exec | --exe | --ex) |
| 140 ac_prev=exec_prefix ;; | 890 ac_prev=exec_prefix ;; |
| 141 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
| 142 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
| 143 | --exec=* | --exe=* | --ex=*) | 893 | --exec=* | --exe=* | --ex=*) |
| 144 exec_prefix="$ac_optarg" ;; | 894 exec_prefix=$ac_optarg ;; |
| 145 | 895 |
| 146 -gas | --gas | --ga | --g) | 896 -gas | --gas | --ga | --g) |
| 147 # Obsolete; use --with-gas. | 897 # Obsolete; use --with-gas. |
| 148 with_gas=yes ;; | 898 with_gas=yes ;; |
| 149 | 899 |
| 150 -help | --help | --hel | --he) | 900 -help | --help | --hel | --he | -h) |
| 151 # Omit some internal or obsolete options to make the list less imposing. | 901 ac_init_help=long ;; |
| 152 # This message is too long to be a string in the A/UX 3.1 sh. | 902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 153 cat << EOF | 903 ac_init_help=recursive ;; |
| 154 Usage: configure [options] [host] | 904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 155 Options: [defaults in brackets after descriptions] | 905 ac_init_help=short ;; |
| 156 Configuration: | |
| 157 --cache-file=FILE cache test results in FILE | |
| 158 --help print this message | |
| 159 --no-create do not create output files | |
| 160 --quiet, --silent do not print \`checking...' messages | |
| 161 --version print the version of autoconf that created configure | |
| 162 Directory and file names: | |
| 163 --prefix=PREFIX install architecture-independent files in PREFIX | |
| 164 [$ac_default_prefix] | |
| 165 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 166 [same as prefix] | |
| 167 --bindir=DIR user executables in DIR [EPREFIX/bin] | |
| 168 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] | |
| 169 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] | |
| 170 --datadir=DIR read-only architecture-independent data in DIR | |
| 171 [PREFIX/share] | |
| 172 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] | |
| 173 --sharedstatedir=DIR modifiable architecture-independent data in DIR | |
| 174 [PREFIX/com] | |
| 175 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] | |
| 176 --libdir=DIR object code libraries in DIR [EPREFIX/lib] | |
| 177 --includedir=DIR C header files in DIR [PREFIX/include] | |
| 178 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] | |
| 179 --infodir=DIR info documentation in DIR [PREFIX/info] | |
| 180 --mandir=DIR man documentation in DIR [PREFIX/man] | |
| 181 --srcdir=DIR find the sources in DIR [configure dir or ..] | |
| 182 --program-prefix=PREFIX prepend PREFIX to installed program names | |
| 183 --program-suffix=SUFFIX append SUFFIX to installed program names | |
| 184 --program-transform-name=PROGRAM | |
| 185 run sed PROGRAM on installed program names | |
| 186 EOF | |
| 187 cat << EOF | |
| 188 Host type: | |
| 189 --build=BUILD configure for building on BUILD [BUILD=HOST] | |
| 190 --host=HOST configure for HOST [guessed] | |
| 191 --target=TARGET configure for TARGET [TARGET=HOST] | |
| 192 Features and packages: | |
| 193 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 194 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 195 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
| 196 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
| 197 --x-includes=DIR X include files are in DIR | |
| 198 --x-libraries=DIR X library files are in DIR | |
| 199 EOF | |
| 200 if test -n "$ac_help"; then | |
| 201 echo "--enable and --with options recognized:$ac_help" | |
| 202 fi | |
| 203 exit 0 ;; | |
| 204 | 906 |
| 205 -host | --host | --hos | --ho) | 907 -host | --host | --hos | --ho) |
| 206 ac_prev=host ;; | 908 ac_prev=host_alias ;; |
| 207 -host=* | --host=* | --hos=* | --ho=*) | 909 -host=* | --host=* | --hos=* | --ho=*) |
| 208 host="$ac_optarg" ;; | 910 host_alias=$ac_optarg ;; |
| 911 | |
| 912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 913 ac_prev=htmldir ;; | |
| 914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 915 | --ht=*) | |
| 916 htmldir=$ac_optarg ;; | |
| 209 | 917 |
| 210 -includedir | --includedir | --includedi | --included | --include \ | 918 -includedir | --includedir | --includedi | --included | --include \ |
| 211 | --includ | --inclu | --incl | --inc) | 919 | --includ | --inclu | --incl | --inc) |
| 212 ac_prev=includedir ;; | 920 ac_prev=includedir ;; |
| 213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
| 214 | --includ=* | --inclu=* | --incl=* | --inc=*) | 922 | --includ=* | --inclu=* | --incl=* | --inc=*) |
| 215 includedir="$ac_optarg" ;; | 923 includedir=$ac_optarg ;; |
| 216 | 924 |
| 217 -infodir | --infodir | --infodi | --infod | --info | --inf) | 925 -infodir | --infodir | --infodi | --infod | --info | --inf) |
| 218 ac_prev=infodir ;; | 926 ac_prev=infodir ;; |
| 219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 220 infodir="$ac_optarg" ;; | 928 infodir=$ac_optarg ;; |
| 221 | 929 |
| 222 -libdir | --libdir | --libdi | --libd) | 930 -libdir | --libdir | --libdi | --libd) |
| 223 ac_prev=libdir ;; | 931 ac_prev=libdir ;; |
| 224 -libdir=* | --libdir=* | --libdi=* | --libd=*) | 932 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 225 libdir="$ac_optarg" ;; | 933 libdir=$ac_optarg ;; |
| 226 | 934 |
| 227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
| 228 | --libexe | --libex | --libe) | 936 | --libexe | --libex | --libe) |
| 229 ac_prev=libexecdir ;; | 937 ac_prev=libexecdir ;; |
| 230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
| 231 | --libexe=* | --libex=* | --libe=*) | 939 | --libexe=* | --libex=* | --libe=*) |
| 232 libexecdir="$ac_optarg" ;; | 940 libexecdir=$ac_optarg ;; |
| 941 | |
| 942 -localedir | --localedir | --localedi | --localed | --locale) | |
| 943 ac_prev=localedir ;; | |
| 944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 945 localedir=$ac_optarg ;; | |
| 233 | 946 |
| 234 -localstatedir | --localstatedir | --localstatedi | --localstated \ | 947 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
| 235 | --localstate | --localstat | --localsta | --localst \ | 948 | --localstate | --localstat | --localsta | --localst | --locals) |
| 236 | --locals | --local | --loca | --loc | --lo) | |
| 237 ac_prev=localstatedir ;; | 949 ac_prev=localstatedir ;; |
| 238 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
| 239 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
| 240 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 952 localstatedir=$ac_optarg ;; |
| 241 localstatedir="$ac_optarg" ;; | |
| 242 | 953 |
| 243 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 244 ac_prev=mandir ;; | 955 ac_prev=mandir ;; |
| 245 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 246 mandir="$ac_optarg" ;; | 957 mandir=$ac_optarg ;; |
| 247 | 958 |
| 248 -nfp | --nfp | --nf) | 959 -nfp | --nfp | --nf) |
| 249 # Obsolete; use --without-fp. | 960 # Obsolete; use --without-fp. |
| 250 with_fp=no ;; | 961 with_fp=no ;; |
| 251 | 962 |
| 252 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 253 | --no-cr | --no-c) | 964 | --no-cr | --no-c | -n) |
| 254 no_create=yes ;; | 965 no_create=yes ;; |
| 255 | 966 |
| 256 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 257 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 258 no_recursion=yes ;; | 969 no_recursion=yes ;; |
| 262 | --oldin | --oldi | --old | --ol | --o) | 973 | --oldin | --oldi | --old | --ol | --o) |
| 263 ac_prev=oldincludedir ;; | 974 ac_prev=oldincludedir ;; |
| 264 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
| 265 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
| 266 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
| 267 oldincludedir="$ac_optarg" ;; | 978 oldincludedir=$ac_optarg ;; |
| 268 | 979 |
| 269 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 270 ac_prev=prefix ;; | 981 ac_prev=prefix ;; |
| 271 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 272 prefix="$ac_optarg" ;; | 983 prefix=$ac_optarg ;; |
| 273 | 984 |
| 274 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 985 -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
| 275 | --program-pre | --program-pr | --program-p) | 986 | --program-pre | --program-pr | --program-p) |
| 276 ac_prev=program_prefix ;; | 987 ac_prev=program_prefix ;; |
| 277 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 988 -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
| 278 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
| 279 program_prefix="$ac_optarg" ;; | 990 program_prefix=$ac_optarg ;; |
| 280 | 991 |
| 281 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 992 -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
| 282 | --program-suf | --program-su | --program-s) | 993 | --program-suf | --program-su | --program-s) |
| 283 ac_prev=program_suffix ;; | 994 ac_prev=program_suffix ;; |
| 284 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 995 -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
| 285 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
| 286 program_suffix="$ac_optarg" ;; | 997 program_suffix=$ac_optarg ;; |
| 287 | 998 |
| 288 -program-transform-name | --program-transform-name \ | 999 -program-transform-name | --program-transform-name \ |
| 289 | --program-transform-nam | --program-transform-na \ | 1000 | --program-transform-nam | --program-transform-na \ |
| 290 | --program-transform-n | --program-transform- \ | 1001 | --program-transform-n | --program-transform- \ |
| 291 | --program-transform | --program-transfor \ | 1002 | --program-transform | --program-transfor \ |
| 298 | --program-transform-n=* | --program-transform-=* \ | 1009 | --program-transform-n=* | --program-transform-=* \ |
| 299 | --program-transform=* | --program-transfor=* \ | 1010 | --program-transform=* | --program-transfor=* \ |
| 300 | --program-transfo=* | --program-transf=* \ | 1011 | --program-transfo=* | --program-transf=* \ |
| 301 | --program-trans=* | --program-tran=* \ | 1012 | --program-trans=* | --program-tran=* \ |
| 302 | --progr-tra=* | --program-tr=* | --program-t=*) | 1013 | --progr-tra=* | --program-tr=* | --program-t=*) |
| 303 program_transform_name="$ac_optarg" ;; | 1014 program_transform_name=$ac_optarg ;; |
| 1015 | |
| 1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 1017 ac_prev=pdfdir ;; | |
| 1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 1019 pdfdir=$ac_optarg ;; | |
| 1020 | |
| 1021 -psdir | --psdir | --psdi | --psd | --ps) | |
| 1022 ac_prev=psdir ;; | |
| 1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 1024 psdir=$ac_optarg ;; | |
| 304 | 1025 |
| 305 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 306 | -silent | --silent | --silen | --sile | --sil) | 1027 | -silent | --silent | --silen | --sile | --sil) |
| 307 silent=yes ;; | 1028 silent=yes ;; |
| 308 | 1029 |
| 309 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 310 ac_prev=sbindir ;; | 1031 ac_prev=sbindir ;; |
| 311 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 312 | --sbi=* | --sb=*) | 1033 | --sbi=* | --sb=*) |
| 313 sbindir="$ac_optarg" ;; | 1034 sbindir=$ac_optarg ;; |
| 314 | 1035 |
| 315 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 316 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 317 | --sharedst | --shareds | --shared | --share | --shar \ | 1038 | --sharedst | --shareds | --shared | --share | --shar \ |
| 318 | --sha | --sh) | 1039 | --sha | --sh) |
| 319 ac_prev=sharedstatedir ;; | 1040 ac_prev=sharedstatedir ;; |
| 320 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 321 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 322 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 323 | --sha=* | --sh=*) | 1044 | --sha=* | --sh=*) |
| 324 sharedstatedir="$ac_optarg" ;; | 1045 sharedstatedir=$ac_optarg ;; |
| 325 | 1046 |
| 326 -site | --site | --sit) | 1047 -site | --site | --sit) |
| 327 ac_prev=site ;; | 1048 ac_prev=site ;; |
| 328 -site=* | --site=* | --sit=*) | 1049 -site=* | --site=* | --sit=*) |
| 329 site="$ac_optarg" ;; | 1050 site=$ac_optarg ;; |
| 330 | 1051 |
| 331 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 332 ac_prev=srcdir ;; | 1053 ac_prev=srcdir ;; |
| 333 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 334 srcdir="$ac_optarg" ;; | 1055 srcdir=$ac_optarg ;; |
| 335 | 1056 |
| 336 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
| 337 | --syscon | --sysco | --sysc | --sys | --sy) | 1058 | --syscon | --sysco | --sysc | --sys | --sy) |
| 338 ac_prev=sysconfdir ;; | 1059 ac_prev=sysconfdir ;; |
| 339 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
| 340 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
| 341 sysconfdir="$ac_optarg" ;; | 1062 sysconfdir=$ac_optarg ;; |
| 342 | 1063 |
| 343 -target | --target | --targe | --targ | --tar | --ta | --t) | 1064 -target | --target | --targe | --targ | --tar | --ta | --t) |
| 344 ac_prev=target ;; | 1065 ac_prev=target_alias ;; |
| 345 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 346 target="$ac_optarg" ;; | 1067 target_alias=$ac_optarg ;; |
| 347 | 1068 |
| 348 -v | -verbose | --verbose | --verbos | --verbo | --verb) | 1069 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 349 verbose=yes ;; | 1070 verbose=yes ;; |
| 350 | 1071 |
| 351 -version | --version | --versio | --versi | --vers) | 1072 -version | --version | --versio | --versi | --vers | -V) |
| 352 echo "configure generated by autoconf version 2.13" | 1073 ac_init_version=: ;; |
| 353 exit 0 ;; | |
| 354 | 1074 |
| 355 -with-* | --with-*) | 1075 -with-* | --with-*) |
| 356 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` | 1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 357 # Reject names that are not valid shell variable names. | 1077 # Reject names that are not valid shell variable names. |
| 358 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then | 1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 359 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | 1079 as_fn_error $? "invalid package name: $ac_useropt" |
| 360 fi | 1080 ac_useropt_orig=$ac_useropt |
| 361 ac_package=`echo $ac_package| sed 's/-/_/g'` | 1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 362 case "$ac_option" in | 1082 case $ac_user_opts in |
| 363 *=*) ;; | 1083 *" |
| 364 *) ac_optarg=yes ;; | 1084 "with_$ac_useropt" |
| 1085 "*) ;; | |
| 1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
| 1087 ac_unrecognized_sep=', ';; | |
| 365 esac | 1088 esac |
| 366 eval "with_${ac_package}='$ac_optarg'" ;; | 1089 eval with_$ac_useropt=\$ac_optarg ;; |
| 367 | 1090 |
| 368 -without-* | --without-*) | 1091 -without-* | --without-*) |
| 369 ac_package=`echo $ac_option|sed -e 's/-*without-//'` | 1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 370 # Reject names that are not valid shell variable names. | 1093 # Reject names that are not valid shell variable names. |
| 371 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then | 1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 372 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } | 1095 as_fn_error $? "invalid package name: $ac_useropt" |
| 373 fi | 1096 ac_useropt_orig=$ac_useropt |
| 374 ac_package=`echo $ac_package| sed 's/-/_/g'` | 1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 375 eval "with_${ac_package}=no" ;; | 1098 case $ac_user_opts in |
| 1099 *" | |
| 1100 "with_$ac_useropt" | |
| 1101 "*) ;; | |
| 1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
| 1103 ac_unrecognized_sep=', ';; | |
| 1104 esac | |
| 1105 eval with_$ac_useropt=no ;; | |
| 376 | 1106 |
| 377 --x) | 1107 --x) |
| 378 # Obsolete; use --with-x. | 1108 # Obsolete; use --with-x. |
| 379 with_x=yes ;; | 1109 with_x=yes ;; |
| 380 | 1110 |
| 381 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 1111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
| 382 | --x-incl | --x-inc | --x-in | --x-i) | 1112 | --x-incl | --x-inc | --x-in | --x-i) |
| 383 ac_prev=x_includes ;; | 1113 ac_prev=x_includes ;; |
| 384 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 1114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
| 385 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 1115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
| 386 x_includes="$ac_optarg" ;; | 1116 x_includes=$ac_optarg ;; |
| 387 | 1117 |
| 388 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 1118 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
| 389 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 1119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
| 390 ac_prev=x_libraries ;; | 1120 ac_prev=x_libraries ;; |
| 391 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
| 392 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
| 393 x_libraries="$ac_optarg" ;; | 1123 x_libraries=$ac_optarg ;; |
| 394 | 1124 |
| 395 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } | 1125 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1126 Try \`$0 --help' for more information" | |
| 396 ;; | 1127 ;; |
| 397 | 1128 |
| 1129 *=*) | |
| 1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 1131 # Reject names that are not valid shell variable names. | |
| 1132 case $ac_envvar in #( | |
| 1133 '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
| 1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
| 1135 esac | |
| 1136 eval $ac_envvar=\$ac_optarg | |
| 1137 export $ac_envvar ;; | |
| 1138 | |
| 398 *) | 1139 *) |
| 399 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then | 1140 # FIXME: should be removed in autoconf 3.0. |
| 400 echo "configure: warning: $ac_option: invalid host type" 1>&2 | 1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 401 fi | 1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 402 if test "x$nonopt" != xNONE; then | 1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 403 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } | 1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 404 fi | |
| 405 nonopt="$ac_option" | |
| 406 ;; | 1145 ;; |
| 407 | 1146 |
| 408 esac | 1147 esac |
| 409 done | 1148 done |
| 410 | 1149 |
| 411 if test -n "$ac_prev"; then | 1150 if test -n "$ac_prev"; then |
| 412 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } | 1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 413 fi | 1152 as_fn_error $? "missing argument to $ac_option" |
| 414 | 1153 fi |
| 415 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 1154 |
| 416 | 1155 if test -n "$ac_unrecognized_opts"; then |
| 417 # File descriptor usage: | 1156 case $enable_option_checking in |
| 418 # 0 standard input | 1157 no) ;; |
| 419 # 1 file creation | 1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 420 # 2 errors and warnings | 1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 421 # 3 some systems may open it to /dev/tty | 1160 esac |
| 422 # 4 used on the Kubota Titan | 1161 fi |
| 423 # 6 checking for... messages and results | 1162 |
| 424 # 5 compiler messages saved in config.log | 1163 # Check all directory arguments for consistency. |
| 425 if test "$silent" = yes; then | 1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
| 426 exec 6>/dev/null | 1165 datadir sysconfdir sharedstatedir localstatedir includedir \ |
| 427 else | 1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
| 428 exec 6>&1 | 1167 libdir localedir mandir |
| 429 fi | |
| 430 exec 5>./config.log | |
| 431 | |
| 432 echo "\ | |
| 433 This file contains any messages produced by compilers while | |
| 434 running configure, to aid debugging if configure makes a mistake. | |
| 435 " 1>&5 | |
| 436 | |
| 437 # Strip out --no-create and --no-recursion so they do not pile up. | |
| 438 # Also quote any args containing shell metacharacters. | |
| 439 ac_configure_args= | |
| 440 for ac_arg | |
| 441 do | 1168 do |
| 442 case "$ac_arg" in | 1169 eval ac_val=\$$ac_var |
| 443 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 1170 # Remove trailing slashes. |
| 444 | --no-cr | --no-c) ;; | 1171 case $ac_val in |
| 445 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 1172 */ ) |
| 446 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | 1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 447 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) | 1174 eval $ac_var=\$ac_val;; |
| 448 ac_configure_args="$ac_configure_args '$ac_arg'" ;; | |
| 449 *) ac_configure_args="$ac_configure_args $ac_arg" ;; | |
| 450 esac | 1175 esac |
| 1176 # Be sure to have absolute directory names. | |
| 1177 case $ac_val in | |
| 1178 [\\/$]* | ?:[\\/]* ) continue;; | |
| 1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
| 1180 esac | |
| 1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
| 451 done | 1182 done |
| 452 | 1183 |
| 453 # NLS nuisances. | 1184 # There might be people who depend on the old broken behavior: `$host' |
| 454 # Only set these to C if already set. These must not be set unconditionally | 1185 # used to hold the argument of --host etc. |
| 455 # because not all systems understand e.g. LANG=C (notably SCO). | 1186 # FIXME: To remove some day. |
| 456 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! | 1187 build=$build_alias |
| 457 # Non-C LC_CTYPE values break the ctype check. | 1188 host=$host_alias |
| 458 if test "${LANG+set}" = set; then LANG=C; export LANG; fi | 1189 target=$target_alias |
| 459 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi | 1190 |
| 460 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi | 1191 # FIXME: To remove some day. |
| 461 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi | 1192 if test "x$host_alias" != x; then |
| 462 | 1193 if test "x$build_alias" = x; then |
| 463 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1194 cross_compiling=maybe |
| 464 rm -rf conftest* confdefs.h | 1195 elif test "x$build_alias" != "x$host_alias"; then |
| 465 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 1196 cross_compiling=yes |
| 466 echo > confdefs.h | 1197 fi |
| 467 | 1198 fi |
| 468 # A filename unique to this package, relative to the directory that | 1199 |
| 469 # configure is in, which we can look for to find out if srcdir is correct. | 1200 ac_tool_prefix= |
| 470 ac_unique_file=src/noffle.c | 1201 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1202 | |
| 1203 test "$silent" = yes && exec 6>/dev/null | |
| 1204 | |
| 1205 | |
| 1206 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
| 1207 ac_ls_di=`ls -di .` && | |
| 1208 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1209 as_fn_error $? "working directory cannot be determined" | |
| 1210 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1211 as_fn_error $? "pwd does not report name of working directory" | |
| 1212 | |
| 471 | 1213 |
| 472 # Find the source files, if location was not specified. | 1214 # Find the source files, if location was not specified. |
| 473 if test -z "$srcdir"; then | 1215 if test -z "$srcdir"; then |
| 474 ac_srcdir_defaulted=yes | 1216 ac_srcdir_defaulted=yes |
| 475 # Try the directory containing this script, then its parent. | 1217 # Try the directory containing this script, then the parent directory. |
| 476 ac_prog=$0 | 1218 ac_confdir=`$as_dirname -- "$as_myself" || |
| 477 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` | 1219 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 478 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | 1220 X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1221 X"$as_myself" : 'X\(//\)$' \| \ | |
| 1222 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
| 1223 $as_echo X"$as_myself" | | |
| 1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 1225 s//\1/ | |
| 1226 q | |
| 1227 } | |
| 1228 /^X\(\/\/\)[^/].*/{ | |
| 1229 s//\1/ | |
| 1230 q | |
| 1231 } | |
| 1232 /^X\(\/\/\)$/{ | |
| 1233 s//\1/ | |
| 1234 q | |
| 1235 } | |
| 1236 /^X\(\/\).*/{ | |
| 1237 s//\1/ | |
| 1238 q | |
| 1239 } | |
| 1240 s/.*/./; q'` | |
| 479 srcdir=$ac_confdir | 1241 srcdir=$ac_confdir |
| 480 if test ! -r $srcdir/$ac_unique_file; then | 1242 if test ! -r "$srcdir/$ac_unique_file"; then |
| 481 srcdir=.. | 1243 srcdir=.. |
| 482 fi | 1244 fi |
| 483 else | 1245 else |
| 484 ac_srcdir_defaulted=no | 1246 ac_srcdir_defaulted=no |
| 485 fi | 1247 fi |
| 486 if test ! -r $srcdir/$ac_unique_file; then | 1248 if test ! -r "$srcdir/$ac_unique_file"; then |
| 487 if test "$ac_srcdir_defaulted" = yes; then | 1249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 488 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } | 1250 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 489 else | 1251 fi |
| 490 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } | 1252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1253 ac_abs_confdir=`( | |
| 1254 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
| 1255 pwd)` | |
| 1256 # When building in place, set srcdir=. | |
| 1257 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
| 1258 srcdir=. | |
| 1259 fi | |
| 1260 # Remove unnecessary trailing slashes from srcdir. | |
| 1261 # Double slashes in file names in object file debugging info | |
| 1262 # mess up M-x gdb in Emacs. | |
| 1263 case $srcdir in | |
| 1264 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
| 1265 esac | |
| 1266 for ac_var in $ac_precious_vars; do | |
| 1267 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
| 1268 eval ac_env_${ac_var}_value=\$${ac_var} | |
| 1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
| 1270 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
| 1271 done | |
| 1272 | |
| 1273 # | |
| 1274 # Report the --help message. | |
| 1275 # | |
| 1276 if test "$ac_init_help" = "long"; then | |
| 1277 # Omit some internal or obsolete options to make the list less imposing. | |
| 1278 # This message is too long to be a string in the A/UX 3.1 sh. | |
| 1279 cat <<_ACEOF | |
| 1280 \`configure' configures this package to adapt to many kinds of systems. | |
| 1281 | |
| 1282 Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 1283 | |
| 1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 1285 VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 1286 | |
| 1287 Defaults for the options are specified in brackets. | |
| 1288 | |
| 1289 Configuration: | |
| 1290 -h, --help display this help and exit | |
| 1291 --help=short display options specific to this package | |
| 1292 --help=recursive display the short help of all the included packages | |
| 1293 -V, --version display version information and exit | |
| 1294 -q, --quiet, --silent do not print \`checking ...' messages | |
| 1295 --cache-file=FILE cache test results in FILE [disabled] | |
| 1296 -C, --config-cache alias for \`--cache-file=config.cache' | |
| 1297 -n, --no-create do not create output files | |
| 1298 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 1299 | |
| 1300 Installation directories: | |
| 1301 --prefix=PREFIX install architecture-independent files in PREFIX | |
| 1302 [$ac_default_prefix] | |
| 1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 1304 [PREFIX] | |
| 1305 | |
| 1306 By default, \`make install' will install all the files in | |
| 1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 1309 for instance \`--prefix=\$HOME'. | |
| 1310 | |
| 1311 For better control, use the options below. | |
| 1312 | |
| 1313 Fine tuning of the installation directories: | |
| 1314 --bindir=DIR user executables [EPREFIX/bin] | |
| 1315 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 1316 --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 1320 --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1321 --includedir=DIR C header files [PREFIX/include] | |
| 1322 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
| 1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
| 1325 --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1327 --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1328 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
| 1329 --htmldir=DIR html documentation [DOCDIR] | |
| 1330 --dvidir=DIR dvi documentation [DOCDIR] | |
| 1331 --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1332 --psdir=DIR ps documentation [DOCDIR] | |
| 1333 _ACEOF | |
| 1334 | |
| 1335 cat <<\_ACEOF | |
| 1336 | |
| 1337 Program names: | |
| 1338 --program-prefix=PREFIX prepend PREFIX to installed program names | |
| 1339 --program-suffix=SUFFIX append SUFFIX to installed program names | |
| 1340 --program-transform-name=PROGRAM run sed PROGRAM on installed program names | |
| 1341 _ACEOF | |
| 1342 fi | |
| 1343 | |
| 1344 if test -n "$ac_init_help"; then | |
| 1345 | |
| 1346 cat <<\_ACEOF | |
| 1347 | |
| 1348 Optional Features: | |
| 1349 --disable-option-checking ignore unrecognized --enable/--with options | |
| 1350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 1351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 1352 --enable-silent-rules less verbose build output (undo: "make V=1") | |
| 1353 --disable-silent-rules verbose build output (undo: "make V=0") | |
| 1354 --enable-dependency-tracking | |
| 1355 do not reject slow dependency extractors | |
| 1356 --disable-dependency-tracking | |
| 1357 speeds up one-time build | |
| 1358 --enable-auth=no/file/pam enable authentication default=no | |
| 1359 --enable-debug=no/yes build with debugging default=no | |
| 1360 | |
| 1361 Optional Packages: | |
| 1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
| 1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
| 1364 --with-gdbm-include=DIR GDBM header files are in DIR | |
| 1365 --with-gdbm-libdir=DIR GDBM library files are in DIR | |
| 1366 --with-usersfile=FILE users file /etc/noffle.users | |
| 1367 --with-docdir=DIR other documentation PREFIX/share/doc/noffle | |
| 1368 --with-spooldir=DIR news spool directory /var/spool/noffle | |
| 1369 --with-configfile=FILE configuration file /etc/noffle.conf | |
| 1370 | |
| 1371 Some influential environment variables: | |
| 1372 CC C compiler command | |
| 1373 CFLAGS C compiler flags | |
| 1374 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1375 nonstandard directory <lib dir> | |
| 1376 LIBS libraries to pass to the linker, e.g. -l<library> | |
| 1377 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
| 1378 you have headers in a nonstandard directory <include dir> | |
| 1379 CPP C preprocessor | |
| 1380 | |
| 1381 Use these variables to override the choices made by `configure' or to help | |
| 1382 it to find libraries and programs with nonstandard names/locations. | |
| 1383 | |
| 1384 Report bugs to the package provider. | |
| 1385 _ACEOF | |
| 1386 ac_status=$? | |
| 1387 fi | |
| 1388 | |
| 1389 if test "$ac_init_help" = "recursive"; then | |
| 1390 # If there are subdirs, report their specific --help. | |
| 1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1392 test -d "$ac_dir" || | |
| 1393 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
| 1394 continue | |
| 1395 ac_builddir=. | |
| 1396 | |
| 1397 case "$ac_dir" in | |
| 1398 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1399 *) | |
| 1400 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 1401 # A ".." for each directory in $ac_dir_suffix. | |
| 1402 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 1403 case $ac_top_builddir_sub in | |
| 1404 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1405 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 1406 esac ;; | |
| 1407 esac | |
| 1408 ac_abs_top_builddir=$ac_pwd | |
| 1409 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1410 # for backward compatibility: | |
| 1411 ac_top_builddir=$ac_top_build_prefix | |
| 1412 | |
| 1413 case $srcdir in | |
| 1414 .) # We are building in place. | |
| 1415 ac_srcdir=. | |
| 1416 ac_top_srcdir=$ac_top_builddir_sub | |
| 1417 ac_abs_top_srcdir=$ac_pwd ;; | |
| 1418 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 1419 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1420 ac_top_srcdir=$srcdir | |
| 1421 ac_abs_top_srcdir=$srcdir ;; | |
| 1422 *) # Relative name. | |
| 1423 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 1424 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 1425 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 1426 esac | |
| 1427 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1428 | |
| 1429 cd "$ac_dir" || { ac_status=$?; continue; } | |
| 1430 # Check for guested configure. | |
| 1431 if test -f "$ac_srcdir/configure.gnu"; then | |
| 1432 echo && | |
| 1433 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
| 1434 elif test -f "$ac_srcdir/configure"; then | |
| 1435 echo && | |
| 1436 $SHELL "$ac_srcdir/configure" --help=recursive | |
| 1437 else | |
| 1438 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1439 fi || ac_status=$? | |
| 1440 cd "$ac_pwd" || { ac_status=$?; break; } | |
| 1441 done | |
| 1442 fi | |
| 1443 | |
| 1444 test -n "$ac_init_help" && exit $ac_status | |
| 1445 if $ac_init_version; then | |
| 1446 cat <<\_ACEOF | |
| 1447 configure | |
| 1448 generated by GNU Autoconf 2.69 | |
| 1449 | |
| 1450 Copyright (C) 2012 Free Software Foundation, Inc. | |
| 1451 This configure script is free software; the Free Software Foundation | |
| 1452 gives unlimited permission to copy, distribute and modify it. | |
| 1453 _ACEOF | |
| 1454 exit | |
| 1455 fi | |
| 1456 | |
| 1457 ## ------------------------ ## | |
| 1458 ## Autoconf initialization. ## | |
| 1459 ## ------------------------ ## | |
| 1460 | |
| 1461 # ac_fn_c_try_compile LINENO | |
| 1462 # -------------------------- | |
| 1463 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1464 ac_fn_c_try_compile () | |
| 1465 { | |
| 1466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1467 rm -f conftest.$ac_objext | |
| 1468 if { { ac_try="$ac_compile" | |
| 1469 case "(($ac_try" in | |
| 1470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1471 *) ac_try_echo=$ac_try;; | |
| 1472 esac | |
| 1473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1474 $as_echo "$ac_try_echo"; } >&5 | |
| 1475 (eval "$ac_compile") 2>conftest.err | |
| 1476 ac_status=$? | |
| 1477 if test -s conftest.err; then | |
| 1478 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1479 cat conftest.er1 >&5 | |
| 1480 mv -f conftest.er1 conftest.err | |
| 491 fi | 1481 fi |
| 492 fi | 1482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 493 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` | 1483 test $ac_status = 0; } && { |
| 494 | 1484 test -z "$ac_c_werror_flag" || |
| 495 # Prefer explicitly selected file to automatically selected ones. | 1485 test ! -s conftest.err |
| 496 if test -z "$CONFIG_SITE"; then | 1486 } && test -s conftest.$ac_objext; then : |
| 497 if test "x$prefix" != xNONE; then | 1487 ac_retval=0 |
| 498 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1488 else |
| 499 else | 1489 $as_echo "$as_me: failed program was:" >&5 |
| 500 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1490 sed 's/^/| /' conftest.$ac_ext >&5 |
| 1491 | |
| 1492 ac_retval=1 | |
| 1493 fi | |
| 1494 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1495 as_fn_set_status $ac_retval | |
| 1496 | |
| 1497 } # ac_fn_c_try_compile | |
| 1498 | |
| 1499 # ac_fn_c_try_cpp LINENO | |
| 1500 # ---------------------- | |
| 1501 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
| 1502 ac_fn_c_try_cpp () | |
| 1503 { | |
| 1504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1505 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
| 1506 case "(($ac_try" in | |
| 1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1508 *) ac_try_echo=$ac_try;; | |
| 1509 esac | |
| 1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1511 $as_echo "$ac_try_echo"; } >&5 | |
| 1512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
| 1513 ac_status=$? | |
| 1514 if test -s conftest.err; then | |
| 1515 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1516 cat conftest.er1 >&5 | |
| 1517 mv -f conftest.er1 conftest.err | |
| 501 fi | 1518 fi |
| 502 fi | 1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 503 for ac_site_file in $CONFIG_SITE; do | 1520 test $ac_status = 0; } > conftest.i && { |
| 504 if test -r "$ac_site_file"; then | 1521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
| 505 echo "loading site script $ac_site_file" | 1522 test ! -s conftest.err |
| 506 . "$ac_site_file" | 1523 }; then : |
| 1524 ac_retval=0 | |
| 1525 else | |
| 1526 $as_echo "$as_me: failed program was:" >&5 | |
| 1527 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1528 | |
| 1529 ac_retval=1 | |
| 1530 fi | |
| 1531 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1532 as_fn_set_status $ac_retval | |
| 1533 | |
| 1534 } # ac_fn_c_try_cpp | |
| 1535 | |
| 1536 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
| 1537 # ------------------------------------------------------- | |
| 1538 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
| 1539 # the include files in INCLUDES and setting the cache variable VAR | |
| 1540 # accordingly. | |
| 1541 ac_fn_c_check_header_mongrel () | |
| 1542 { | |
| 1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1544 if eval \${$3+:} false; then : | |
| 1545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1546 $as_echo_n "checking for $2... " >&6; } | |
| 1547 if eval \${$3+:} false; then : | |
| 1548 $as_echo_n "(cached) " >&6 | |
| 1549 fi | |
| 1550 eval ac_res=\$$3 | |
| 1551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1552 $as_echo "$ac_res" >&6; } | |
| 1553 else | |
| 1554 # Is the header compilable? | |
| 1555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
| 1556 $as_echo_n "checking $2 usability... " >&6; } | |
| 1557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1558 /* end confdefs.h. */ | |
| 1559 $4 | |
| 1560 #include <$2> | |
| 1561 _ACEOF | |
| 1562 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1563 ac_header_compiler=yes | |
| 1564 else | |
| 1565 ac_header_compiler=no | |
| 1566 fi | |
| 1567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
| 1569 $as_echo "$ac_header_compiler" >&6; } | |
| 1570 | |
| 1571 # Is the header present? | |
| 1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
| 1573 $as_echo_n "checking $2 presence... " >&6; } | |
| 1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1575 /* end confdefs.h. */ | |
| 1576 #include <$2> | |
| 1577 _ACEOF | |
| 1578 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 1579 ac_header_preproc=yes | |
| 1580 else | |
| 1581 ac_header_preproc=no | |
| 1582 fi | |
| 1583 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
| 1585 $as_echo "$ac_header_preproc" >&6; } | |
| 1586 | |
| 1587 # So? What about this header? | |
| 1588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
| 1589 yes:no: ) | |
| 1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
| 1591 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
| 1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
| 1593 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1594 ;; | |
| 1595 no:yes:* ) | |
| 1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
| 1597 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
| 1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
| 1599 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
| 1600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
| 1601 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
| 1602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
| 1603 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
| 1604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
| 1605 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
| 1606 ;; | |
| 1607 esac | |
| 1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1609 $as_echo_n "checking for $2... " >&6; } | |
| 1610 if eval \${$3+:} false; then : | |
| 1611 $as_echo_n "(cached) " >&6 | |
| 1612 else | |
| 1613 eval "$3=\$ac_header_compiler" | |
| 1614 fi | |
| 1615 eval ac_res=\$$3 | |
| 1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1617 $as_echo "$ac_res" >&6; } | |
| 1618 fi | |
| 1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1620 | |
| 1621 } # ac_fn_c_check_header_mongrel | |
| 1622 | |
| 1623 # ac_fn_c_try_run LINENO | |
| 1624 # ---------------------- | |
| 1625 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
| 1626 # that executables *can* be run. | |
| 1627 ac_fn_c_try_run () | |
| 1628 { | |
| 1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1630 if { { ac_try="$ac_link" | |
| 1631 case "(($ac_try" in | |
| 1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1633 *) ac_try_echo=$ac_try;; | |
| 1634 esac | |
| 1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1636 $as_echo "$ac_try_echo"; } >&5 | |
| 1637 (eval "$ac_link") 2>&5 | |
| 1638 ac_status=$? | |
| 1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1640 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
| 1641 { { case "(($ac_try" in | |
| 1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1643 *) ac_try_echo=$ac_try;; | |
| 1644 esac | |
| 1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1646 $as_echo "$ac_try_echo"; } >&5 | |
| 1647 (eval "$ac_try") 2>&5 | |
| 1648 ac_status=$? | |
| 1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1650 test $ac_status = 0; }; }; then : | |
| 1651 ac_retval=0 | |
| 1652 else | |
| 1653 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
| 1654 $as_echo "$as_me: failed program was:" >&5 | |
| 1655 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1656 | |
| 1657 ac_retval=$ac_status | |
| 1658 fi | |
| 1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1661 as_fn_set_status $ac_retval | |
| 1662 | |
| 1663 } # ac_fn_c_try_run | |
| 1664 | |
| 1665 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
| 1666 # ------------------------------------------------------- | |
| 1667 # Tests whether HEADER exists and can be compiled using the include files in | |
| 1668 # INCLUDES, setting the cache variable VAR accordingly. | |
| 1669 ac_fn_c_check_header_compile () | |
| 1670 { | |
| 1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1673 $as_echo_n "checking for $2... " >&6; } | |
| 1674 if eval \${$3+:} false; then : | |
| 1675 $as_echo_n "(cached) " >&6 | |
| 1676 else | |
| 1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1678 /* end confdefs.h. */ | |
| 1679 $4 | |
| 1680 #include <$2> | |
| 1681 _ACEOF | |
| 1682 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1683 eval "$3=yes" | |
| 1684 else | |
| 1685 eval "$3=no" | |
| 1686 fi | |
| 1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1688 fi | |
| 1689 eval ac_res=\$$3 | |
| 1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1691 $as_echo "$ac_res" >&6; } | |
| 1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1693 | |
| 1694 } # ac_fn_c_check_header_compile | |
| 1695 | |
| 1696 # ac_fn_c_try_link LINENO | |
| 1697 # ----------------------- | |
| 1698 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
| 1699 ac_fn_c_try_link () | |
| 1700 { | |
| 1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1702 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 1703 if { { ac_try="$ac_link" | |
| 1704 case "(($ac_try" in | |
| 1705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1706 *) ac_try_echo=$ac_try;; | |
| 1707 esac | |
| 1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1709 $as_echo "$ac_try_echo"; } >&5 | |
| 1710 (eval "$ac_link") 2>conftest.err | |
| 1711 ac_status=$? | |
| 1712 if test -s conftest.err; then | |
| 1713 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1714 cat conftest.er1 >&5 | |
| 1715 mv -f conftest.er1 conftest.err | |
| 1716 fi | |
| 1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1718 test $ac_status = 0; } && { | |
| 1719 test -z "$ac_c_werror_flag" || | |
| 1720 test ! -s conftest.err | |
| 1721 } && test -s conftest$ac_exeext && { | |
| 1722 test "$cross_compiling" = yes || | |
| 1723 test -x conftest$ac_exeext | |
| 1724 }; then : | |
| 1725 ac_retval=0 | |
| 1726 else | |
| 1727 $as_echo "$as_me: failed program was:" >&5 | |
| 1728 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1729 | |
| 1730 ac_retval=1 | |
| 1731 fi | |
| 1732 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
| 1733 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
| 1734 # interfere with the next link command; also delete a directory that is | |
| 1735 # left behind by Apple's compiler. We do this before executing the actions. | |
| 1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1738 as_fn_set_status $ac_retval | |
| 1739 | |
| 1740 } # ac_fn_c_try_link | |
| 1741 | |
| 1742 # ac_fn_c_check_func LINENO FUNC VAR | |
| 1743 # ---------------------------------- | |
| 1744 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
| 1745 ac_fn_c_check_func () | |
| 1746 { | |
| 1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1749 $as_echo_n "checking for $2... " >&6; } | |
| 1750 if eval \${$3+:} false; then : | |
| 1751 $as_echo_n "(cached) " >&6 | |
| 1752 else | |
| 1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1754 /* end confdefs.h. */ | |
| 1755 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
| 1756 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
| 1757 #define $2 innocuous_$2 | |
| 1758 | |
| 1759 /* System header to define __stub macros and hopefully few prototypes, | |
| 1760 which can conflict with char $2 (); below. | |
| 1761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 1762 <limits.h> exists even on freestanding compilers. */ | |
| 1763 | |
| 1764 #ifdef __STDC__ | |
| 1765 # include <limits.h> | |
| 1766 #else | |
| 1767 # include <assert.h> | |
| 1768 #endif | |
| 1769 | |
| 1770 #undef $2 | |
| 1771 | |
| 1772 /* Override any GCC internal prototype to avoid an error. | |
| 1773 Use char because int might match the return type of a GCC | |
| 1774 builtin and then its argument prototype would still apply. */ | |
| 1775 #ifdef __cplusplus | |
| 1776 extern "C" | |
| 1777 #endif | |
| 1778 char $2 (); | |
| 1779 /* The GNU C library defines this for functions which it implements | |
| 1780 to always fail with ENOSYS. Some functions are actually named | |
| 1781 something starting with __ and the normal name is an alias. */ | |
| 1782 #if defined __stub_$2 || defined __stub___$2 | |
| 1783 choke me | |
| 1784 #endif | |
| 1785 | |
| 1786 int | |
| 1787 main () | |
| 1788 { | |
| 1789 return $2 (); | |
| 1790 ; | |
| 1791 return 0; | |
| 1792 } | |
| 1793 _ACEOF | |
| 1794 if ac_fn_c_try_link "$LINENO"; then : | |
| 1795 eval "$3=yes" | |
| 1796 else | |
| 1797 eval "$3=no" | |
| 1798 fi | |
| 1799 rm -f core conftest.err conftest.$ac_objext \ | |
| 1800 conftest$ac_exeext conftest.$ac_ext | |
| 1801 fi | |
| 1802 eval ac_res=\$$3 | |
| 1803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1804 $as_echo "$ac_res" >&6; } | |
| 1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1806 | |
| 1807 } # ac_fn_c_check_func | |
| 1808 | |
| 1809 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | |
| 1810 # ------------------------------------------- | |
| 1811 # Tests whether TYPE exists after having included INCLUDES, setting cache | |
| 1812 # variable VAR accordingly. | |
| 1813 ac_fn_c_check_type () | |
| 1814 { | |
| 1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1817 $as_echo_n "checking for $2... " >&6; } | |
| 1818 if eval \${$3+:} false; then : | |
| 1819 $as_echo_n "(cached) " >&6 | |
| 1820 else | |
| 1821 eval "$3=no" | |
| 1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1823 /* end confdefs.h. */ | |
| 1824 $4 | |
| 1825 int | |
| 1826 main () | |
| 1827 { | |
| 1828 if (sizeof ($2)) | |
| 1829 return 0; | |
| 1830 ; | |
| 1831 return 0; | |
| 1832 } | |
| 1833 _ACEOF | |
| 1834 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1836 /* end confdefs.h. */ | |
| 1837 $4 | |
| 1838 int | |
| 1839 main () | |
| 1840 { | |
| 1841 if (sizeof (($2))) | |
| 1842 return 0; | |
| 1843 ; | |
| 1844 return 0; | |
| 1845 } | |
| 1846 _ACEOF | |
| 1847 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1848 | |
| 1849 else | |
| 1850 eval "$3=yes" | |
| 1851 fi | |
| 1852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1853 fi | |
| 1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1855 fi | |
| 1856 eval ac_res=\$$3 | |
| 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1858 $as_echo "$ac_res" >&6; } | |
| 1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1860 | |
| 1861 } # ac_fn_c_check_type | |
| 1862 cat >config.log <<_ACEOF | |
| 1863 This file contains any messages produced by compilers while | |
| 1864 running configure, to aid debugging if configure makes a mistake. | |
| 1865 | |
| 1866 It was created by $as_me, which was | |
| 1867 generated by GNU Autoconf 2.69. Invocation command line was | |
| 1868 | |
| 1869 $ $0 $@ | |
| 1870 | |
| 1871 _ACEOF | |
| 1872 exec 5>>config.log | |
| 1873 { | |
| 1874 cat <<_ASUNAME | |
| 1875 ## --------- ## | |
| 1876 ## Platform. ## | |
| 1877 ## --------- ## | |
| 1878 | |
| 1879 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 1880 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 1881 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 1882 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 1883 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 1884 | |
| 1885 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 1886 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 1887 | |
| 1888 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 1889 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 1890 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 1891 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
| 1892 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 1893 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 1894 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 1895 | |
| 1896 _ASUNAME | |
| 1897 | |
| 1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1899 for as_dir in $PATH | |
| 1900 do | |
| 1901 IFS=$as_save_IFS | |
| 1902 test -z "$as_dir" && as_dir=. | |
| 1903 $as_echo "PATH: $as_dir" | |
| 1904 done | |
| 1905 IFS=$as_save_IFS | |
| 1906 | |
| 1907 } >&5 | |
| 1908 | |
| 1909 cat >&5 <<_ACEOF | |
| 1910 | |
| 1911 | |
| 1912 ## ----------- ## | |
| 1913 ## Core tests. ## | |
| 1914 ## ----------- ## | |
| 1915 | |
| 1916 _ACEOF | |
| 1917 | |
| 1918 | |
| 1919 # Keep a trace of the command line. | |
| 1920 # Strip out --no-create and --no-recursion so they do not pile up. | |
| 1921 # Strip out --silent because we don't want to record it for future runs. | |
| 1922 # Also quote any args containing shell meta-characters. | |
| 1923 # Make two passes to allow for proper duplicate-argument suppression. | |
| 1924 ac_configure_args= | |
| 1925 ac_configure_args0= | |
| 1926 ac_configure_args1= | |
| 1927 ac_must_keep_next=false | |
| 1928 for ac_pass in 1 2 | |
| 1929 do | |
| 1930 for ac_arg | |
| 1931 do | |
| 1932 case $ac_arg in | |
| 1933 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 1934 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1935 | -silent | --silent | --silen | --sile | --sil) | |
| 1936 continue ;; | |
| 1937 *\'*) | |
| 1938 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1939 esac | |
| 1940 case $ac_pass in | |
| 1941 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
| 1942 2) | |
| 1943 as_fn_append ac_configure_args1 " '$ac_arg'" | |
| 1944 if test $ac_must_keep_next = true; then | |
| 1945 ac_must_keep_next=false # Got value, back to normal. | |
| 1946 else | |
| 1947 case $ac_arg in | |
| 1948 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 1949 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 1950 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 1951 | -with-* | --with-* | -without-* | --without-* | --x) | |
| 1952 case "$ac_configure_args0 " in | |
| 1953 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 1954 esac | |
| 1955 ;; | |
| 1956 -* ) ac_must_keep_next=true ;; | |
| 1957 esac | |
| 1958 fi | |
| 1959 as_fn_append ac_configure_args " '$ac_arg'" | |
| 1960 ;; | |
| 1961 esac | |
| 1962 done | |
| 1963 done | |
| 1964 { ac_configure_args0=; unset ac_configure_args0;} | |
| 1965 { ac_configure_args1=; unset ac_configure_args1;} | |
| 1966 | |
| 1967 # When interrupted or exit'd, cleanup temporary files, and complete | |
| 1968 # config.log. We remove comments because anyway the quotes in there | |
| 1969 # would cause problems or look ugly. | |
| 1970 # WARNING: Use '\'' to represent an apostrophe within the trap. | |
| 1971 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
| 1972 trap 'exit_status=$? | |
| 1973 # Save into config.log some information that might help in debugging. | |
| 1974 { | |
| 1975 echo | |
| 1976 | |
| 1977 $as_echo "## ---------------- ## | |
| 1978 ## Cache variables. ## | |
| 1979 ## ---------------- ##" | |
| 1980 echo | |
| 1981 # The following way of writing the cache mishandles newlines in values, | |
| 1982 ( | |
| 1983 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
| 1984 eval ac_val=\$$ac_var | |
| 1985 case $ac_val in #( | |
| 1986 *${as_nl}*) | |
| 1987 case $ac_var in #( | |
| 1988 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
| 1989 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 1990 esac | |
| 1991 case $ac_var in #( | |
| 1992 _ | IFS | as_nl) ;; #( | |
| 1993 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 1994 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 1995 esac ;; | |
| 1996 esac | |
| 1997 done | |
| 1998 (set) 2>&1 | | |
| 1999 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
| 2000 *${as_nl}ac_space=\ *) | |
| 2001 sed -n \ | |
| 2002 "s/'\''/'\''\\\\'\'''\''/g; | |
| 2003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
| 2004 ;; #( | |
| 2005 *) | |
| 2006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 2007 ;; | |
| 2008 esac | | |
| 2009 sort | |
| 2010 ) | |
| 2011 echo | |
| 2012 | |
| 2013 $as_echo "## ----------------- ## | |
| 2014 ## Output variables. ## | |
| 2015 ## ----------------- ##" | |
| 2016 echo | |
| 2017 for ac_var in $ac_subst_vars | |
| 2018 do | |
| 2019 eval ac_val=\$$ac_var | |
| 2020 case $ac_val in | |
| 2021 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 2022 esac | |
| 2023 $as_echo "$ac_var='\''$ac_val'\''" | |
| 2024 done | sort | |
| 2025 echo | |
| 2026 | |
| 2027 if test -n "$ac_subst_files"; then | |
| 2028 $as_echo "## ------------------- ## | |
| 2029 ## File substitutions. ## | |
| 2030 ## ------------------- ##" | |
| 2031 echo | |
| 2032 for ac_var in $ac_subst_files | |
| 2033 do | |
| 2034 eval ac_val=\$$ac_var | |
| 2035 case $ac_val in | |
| 2036 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 2037 esac | |
| 2038 $as_echo "$ac_var='\''$ac_val'\''" | |
| 2039 done | sort | |
| 2040 echo | |
| 2041 fi | |
| 2042 | |
| 2043 if test -s confdefs.h; then | |
| 2044 $as_echo "## ----------- ## | |
| 2045 ## confdefs.h. ## | |
| 2046 ## ----------- ##" | |
| 2047 echo | |
| 2048 cat confdefs.h | |
| 2049 echo | |
| 2050 fi | |
| 2051 test "$ac_signal" != 0 && | |
| 2052 $as_echo "$as_me: caught signal $ac_signal" | |
| 2053 $as_echo "$as_me: exit $exit_status" | |
| 2054 } >&5 | |
| 2055 rm -f core *.core core.conftest.* && | |
| 2056 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
| 2057 exit $exit_status | |
| 2058 ' 0 | |
| 2059 for ac_signal in 1 2 13 15; do | |
| 2060 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
| 2061 done | |
| 2062 ac_signal=0 | |
| 2063 | |
| 2064 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 2065 rm -f -r conftest* confdefs.h | |
| 2066 | |
| 2067 $as_echo "/* confdefs.h */" > confdefs.h | |
| 2068 | |
| 2069 # Predefined preprocessor variables. | |
| 2070 | |
| 2071 cat >>confdefs.h <<_ACEOF | |
| 2072 #define PACKAGE_NAME "$PACKAGE_NAME" | |
| 2073 _ACEOF | |
| 2074 | |
| 2075 cat >>confdefs.h <<_ACEOF | |
| 2076 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 2077 _ACEOF | |
| 2078 | |
| 2079 cat >>confdefs.h <<_ACEOF | |
| 2080 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 2081 _ACEOF | |
| 2082 | |
| 2083 cat >>confdefs.h <<_ACEOF | |
| 2084 #define PACKAGE_STRING "$PACKAGE_STRING" | |
| 2085 _ACEOF | |
| 2086 | |
| 2087 cat >>confdefs.h <<_ACEOF | |
| 2088 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 2089 _ACEOF | |
| 2090 | |
| 2091 cat >>confdefs.h <<_ACEOF | |
| 2092 #define PACKAGE_URL "$PACKAGE_URL" | |
| 2093 _ACEOF | |
| 2094 | |
| 2095 | |
| 2096 # Let the site file select an alternate cache file if it wants to. | |
| 2097 # Prefer an explicitly selected file to automatically selected ones. | |
| 2098 ac_site_file1=NONE | |
| 2099 ac_site_file2=NONE | |
| 2100 if test -n "$CONFIG_SITE"; then | |
| 2101 # We do not want a PATH search for config.site. | |
| 2102 case $CONFIG_SITE in #(( | |
| 2103 -*) ac_site_file1=./$CONFIG_SITE;; | |
| 2104 */*) ac_site_file1=$CONFIG_SITE;; | |
| 2105 *) ac_site_file1=./$CONFIG_SITE;; | |
| 2106 esac | |
| 2107 elif test "x$prefix" != xNONE; then | |
| 2108 ac_site_file1=$prefix/share/config.site | |
| 2109 ac_site_file2=$prefix/etc/config.site | |
| 2110 else | |
| 2111 ac_site_file1=$ac_default_prefix/share/config.site | |
| 2112 ac_site_file2=$ac_default_prefix/etc/config.site | |
| 2113 fi | |
| 2114 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
| 2115 do | |
| 2116 test "x$ac_site_file" = xNONE && continue | |
| 2117 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
| 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
| 2119 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 2120 sed 's/^/| /' "$ac_site_file" >&5 | |
| 2121 . "$ac_site_file" \ | |
| 2122 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2124 as_fn_error $? "failed to load site script $ac_site_file | |
| 2125 See \`config.log' for more details" "$LINENO" 5; } | |
| 507 fi | 2126 fi |
| 508 done | 2127 done |
| 509 | 2128 |
| 510 if test -r "$cache_file"; then | 2129 if test -r "$cache_file"; then |
| 511 echo "loading cache $cache_file" | 2130 # Some versions of bash will fail to source /dev/null (special files |
| 512 . $cache_file | 2131 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 513 else | 2132 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 514 echo "creating cache $cache_file" | 2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 515 > $cache_file | 2134 $as_echo "$as_me: loading cache $cache_file" >&6;} |
| 516 fi | 2135 case $cache_file in |
| 2136 [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
| 2137 *) . "./$cache_file";; | |
| 2138 esac | |
| 2139 fi | |
| 2140 else | |
| 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
| 2142 $as_echo "$as_me: creating cache $cache_file" >&6;} | |
| 2143 >$cache_file | |
| 2144 fi | |
| 2145 | |
| 2146 # Check that the precious variables saved in the cache have kept the same | |
| 2147 # value. | |
| 2148 ac_cache_corrupted=false | |
| 2149 for ac_var in $ac_precious_vars; do | |
| 2150 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 2151 eval ac_new_set=\$ac_env_${ac_var}_set | |
| 2152 eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
| 2153 eval ac_new_val=\$ac_env_${ac_var}_value | |
| 2154 case $ac_old_set,$ac_new_set in | |
| 2155 set,) | |
| 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
| 2157 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
| 2158 ac_cache_corrupted=: ;; | |
| 2159 ,set) | |
| 2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
| 2161 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 2162 ac_cache_corrupted=: ;; | |
| 2163 ,);; | |
| 2164 *) | |
| 2165 if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 2166 # differences in whitespace do not lead to failure. | |
| 2167 ac_old_val_w=`echo x $ac_old_val` | |
| 2168 ac_new_val_w=`echo x $ac_new_val` | |
| 2169 if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
| 2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
| 2171 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 2172 ac_cache_corrupted=: | |
| 2173 else | |
| 2174 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
| 2175 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
| 2176 eval $ac_var=\$ac_old_val | |
| 2177 fi | |
| 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
| 2179 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
| 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
| 2181 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
| 2182 fi;; | |
| 2183 esac | |
| 2184 # Pass precious variables to config.status. | |
| 2185 if test "$ac_new_set" = set; then | |
| 2186 case $ac_new_val in | |
| 2187 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 2188 *) ac_arg=$ac_var=$ac_new_val ;; | |
| 2189 esac | |
| 2190 case " $ac_configure_args " in | |
| 2191 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 2192 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
| 2193 esac | |
| 2194 fi | |
| 2195 done | |
| 2196 if $ac_cache_corrupted; then | |
| 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
| 2200 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
| 2201 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
| 2202 fi | |
| 2203 ## -------------------- ## | |
| 2204 ## Main body of script. ## | |
| 2205 ## -------------------- ## | |
| 517 | 2206 |
| 518 ac_ext=c | 2207 ac_ext=c |
| 519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
| 520 ac_cpp='$CPP $CPPFLAGS' | 2208 ac_cpp='$CPP $CPPFLAGS' |
| 521 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 2209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 522 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 2210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 523 cross_compiling=$ac_cv_prog_cc_cross | 2211 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 524 | |
| 525 ac_exeext= | |
| 526 ac_objext=o | |
| 527 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then | |
| 528 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. | |
| 529 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then | |
| 530 ac_n= ac_c=' | |
| 531 ' ac_t=' ' | |
| 532 else | |
| 533 ac_n=-n ac_c= ac_t= | |
| 534 fi | |
| 535 else | |
| 536 ac_n= ac_c='\c' ac_t= | |
| 537 fi | |
| 538 | 2212 |
| 539 | 2213 |
| 540 | 2214 |
| 541 | 2215 |
| 542 PACKAGE=noffle | 2216 PACKAGE=noffle |
| 543 VERSION=1.2.0rc1 | 2217 VERSION=1.2.0rc1 |
| 544 | 2218 |
| 545 | 2219 ac_config_headers="$ac_config_headers config.h" |
| 546 | 2220 |
| 2221 am__api_version='1.13' | |
| 547 | 2222 |
| 548 ac_aux_dir= | 2223 ac_aux_dir= |
| 549 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 2224 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
| 550 if test -f $ac_dir/install-sh; then | 2225 if test -f "$ac_dir/install-sh"; then |
| 551 ac_aux_dir=$ac_dir | 2226 ac_aux_dir=$ac_dir |
| 552 ac_install_sh="$ac_aux_dir/install-sh -c" | 2227 ac_install_sh="$ac_aux_dir/install-sh -c" |
| 553 break | 2228 break |
| 554 elif test -f $ac_dir/install.sh; then | 2229 elif test -f "$ac_dir/install.sh"; then |
| 555 ac_aux_dir=$ac_dir | 2230 ac_aux_dir=$ac_dir |
| 556 ac_install_sh="$ac_aux_dir/install.sh -c" | 2231 ac_install_sh="$ac_aux_dir/install.sh -c" |
| 2232 break | |
| 2233 elif test -f "$ac_dir/shtool"; then | |
| 2234 ac_aux_dir=$ac_dir | |
| 2235 ac_install_sh="$ac_aux_dir/shtool install -c" | |
| 557 break | 2236 break |
| 558 fi | 2237 fi |
| 559 done | 2238 done |
| 560 if test -z "$ac_aux_dir"; then | 2239 if test -z "$ac_aux_dir"; then |
| 561 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } | 2240 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 562 fi | 2241 fi |
| 563 ac_config_guess=$ac_aux_dir/config.guess | 2242 |
| 564 ac_config_sub=$ac_aux_dir/config.sub | 2243 # These three variables are undocumented and unsupported, |
| 565 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 2244 # and are intended to be withdrawn in a future Autoconf release. |
| 566 | 2245 # They can cause serious problems if a builder's source tree is in a directory |
| 567 am__api_version="1.4" | 2246 # whose full name contains unusual characters. |
| 2247 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
| 2248 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
| 2249 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
| 2250 | |
| 2251 | |
| 568 # Find a good install program. We prefer a C program (faster), | 2252 # Find a good install program. We prefer a C program (faster), |
| 569 # so one script is as good as another. But avoid the broken or | 2253 # so one script is as good as another. But avoid the broken or |
| 570 # incompatible versions: | 2254 # incompatible versions: |
| 571 # SysV /etc/install, /usr/sbin/install | 2255 # SysV /etc/install, /usr/sbin/install |
| 572 # SunOS /usr/etc/install | 2256 # SunOS /usr/etc/install |
| 573 # IRIX /sbin/install | 2257 # IRIX /sbin/install |
| 574 # AIX /bin/install | 2258 # AIX /bin/install |
| 2259 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
| 575 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2260 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 576 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2261 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 577 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2262 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2263 # OS/2's system install, which has a completely different semantic | |
| 578 # ./install, which can be erroneously created by make from ./install.sh. | 2264 # ./install, which can be erroneously created by make from ./install.sh. |
| 579 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2265 # Reject install programs that cannot install multiple files. |
| 580 echo "configure:581: checking for a BSD compatible install" >&5 | 2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 2267 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
| 581 if test -z "$INSTALL"; then | 2268 if test -z "$INSTALL"; then |
| 582 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 2269 if ${ac_cv_path_install+:} false; then : |
| 583 echo $ac_n "(cached) $ac_c" 1>&6 | 2270 $as_echo_n "(cached) " >&6 |
| 584 else | 2271 else |
| 585 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 586 for ac_dir in $PATH; do | 2273 for as_dir in $PATH |
| 2274 do | |
| 2275 IFS=$as_save_IFS | |
| 2276 test -z "$as_dir" && as_dir=. | |
| 587 # Account for people who put trailing slashes in PATH elements. | 2277 # Account for people who put trailing slashes in PATH elements. |
| 588 case "$ac_dir/" in | 2278 case $as_dir/ in #(( |
| 589 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 2279 ./ | .// | /[cC]/* | \ |
| 590 *) | 2280 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 591 # OSF1 and SCO ODT 3.0 have their own names for install. | 2281 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 592 # Don't use installbsd from OSF since it installs stuff as root | 2282 /usr/ucb/* ) ;; |
| 593 # by default. | 2283 *) |
| 594 for ac_prog in ginstall scoinst install; do | 2284 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 595 if test -f $ac_dir/$ac_prog; then | 2285 # Don't use installbsd from OSF since it installs stuff as root |
| 2286 # by default. | |
| 2287 for ac_prog in ginstall scoinst install; do | |
| 2288 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2289 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
| 596 if test $ac_prog = install && | 2290 if test $ac_prog = install && |
| 597 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 2291 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 598 # AIX install. It has an incompatible calling convention. | 2292 # AIX install. It has an incompatible calling convention. |
| 599 : | 2293 : |
| 2294 elif test $ac_prog = install && | |
| 2295 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
| 2296 # program-specific install script used by HP pwplus--don't use. | |
| 2297 : | |
| 600 else | 2298 else |
| 601 ac_cv_path_install="$ac_dir/$ac_prog -c" | 2299 rm -rf conftest.one conftest.two conftest.dir |
| 602 break 2 | 2300 echo one > conftest.one |
| 2301 echo two > conftest.two | |
| 2302 mkdir conftest.dir | |
| 2303 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
| 2304 test -s conftest.one && test -s conftest.two && | |
| 2305 test -s conftest.dir/conftest.one && | |
| 2306 test -s conftest.dir/conftest.two | |
| 2307 then | |
| 2308 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
| 2309 break 3 | |
| 2310 fi | |
| 603 fi | 2311 fi |
| 604 fi | 2312 fi |
| 605 done | 2313 done |
| 606 ;; | 2314 done |
| 607 esac | 2315 ;; |
| 2316 esac | |
| 2317 | |
| 608 done | 2318 done |
| 609 IFS="$ac_save_IFS" | 2319 IFS=$as_save_IFS |
| 2320 | |
| 2321 rm -rf conftest.one conftest.two conftest.dir | |
| 610 | 2322 |
| 611 fi | 2323 fi |
| 612 if test "${ac_cv_path_install+set}" = set; then | 2324 if test "${ac_cv_path_install+set}" = set; then |
| 613 INSTALL="$ac_cv_path_install" | 2325 INSTALL=$ac_cv_path_install |
| 614 else | 2326 else |
| 615 # As a last resort, use the slow shell script. We don't cache a | 2327 # As a last resort, use the slow shell script. Don't cache a |
| 616 # path for INSTALL within a source directory, because that will | 2328 # value for INSTALL within a source directory, because that will |
| 617 # break other packages using the cache if that directory is | 2329 # break other packages using the cache if that directory is |
| 618 # removed, or if the path is relative. | 2330 # removed, or if the value is a relative name. |
| 619 INSTALL="$ac_install_sh" | 2331 INSTALL=$ac_install_sh |
| 620 fi | 2332 fi |
| 621 fi | 2333 fi |
| 622 echo "$ac_t""$INSTALL" 1>&6 | 2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2335 $as_echo "$INSTALL" >&6; } | |
| 623 | 2336 |
| 624 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2337 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 625 # It thinks the first close brace ends the variable substitution. | 2338 # It thinks the first close brace ends the variable substitution. |
| 626 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 2339 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 627 | 2340 |
| 628 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 2341 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 629 | 2342 |
| 630 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2343 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 631 | 2344 |
| 632 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 633 echo "configure:634: checking whether build environment is sane" >&5 | 2346 $as_echo_n "checking whether build environment is sane... " >&6; } |
| 634 # Just in case | 2347 # Reject unsafe characters in $srcdir or the absolute working directory |
| 635 sleep 1 | 2348 # name. Accept space and tab only in the latter. |
| 636 echo timestamp > conftestfile | 2349 am_lf=' |
| 637 # Do `set' in a subshell so we don't clobber the current shell's | 2350 ' |
| 2351 case `pwd` in | |
| 2352 *[\\\"\#\$\&\'\`$am_lf]*) | |
| 2353 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | |
| 2354 esac | |
| 2355 case $srcdir in | |
| 2356 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
| 2357 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; | |
| 2358 esac | |
| 2359 | |
| 2360 # Do 'set' in a subshell so we don't clobber the current shell's | |
| 638 # arguments. Must try -L first in case configure is actually a | 2361 # arguments. Must try -L first in case configure is actually a |
| 639 # symlink; some systems play weird games with the mod time of symlinks | 2362 # symlink; some systems play weird games with the mod time of symlinks |
| 640 # (eg FreeBSD returns the mod time of the symlink's containing | 2363 # (eg FreeBSD returns the mod time of the symlink's containing |
| 641 # directory). | 2364 # directory). |
| 642 if ( | 2365 if ( |
| 643 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` | 2366 am_has_slept=no |
| 644 if test "$*" = "X"; then | 2367 for am_try in 1 2; do |
| 645 # -L didn't work. | 2368 echo "timestamp, slept: $am_has_slept" > conftest.file |
| 646 set X `ls -t $srcdir/configure conftestfile` | 2369 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 647 fi | 2370 if test "$*" = "X"; then |
| 648 if test "$*" != "X $srcdir/configure conftestfile" \ | 2371 # -L didn't work. |
| 649 && test "$*" != "X conftestfile $srcdir/configure"; then | 2372 set X `ls -t "$srcdir/configure" conftest.file` |
| 650 | 2373 fi |
| 651 # If neither matched, then we have a broken ls. This can happen | 2374 if test "$*" != "X $srcdir/configure conftest.file" \ |
| 652 # if, for instance, CONFIG_SHELL is bash and it inherits a | 2375 && test "$*" != "X conftest.file $srcdir/configure"; then |
| 653 # broken ls alias from the environment. This has actually | 2376 |
| 654 # happened. Such a system could not be considered "sane". | 2377 # If neither matched, then we have a broken ls. This can happen |
| 655 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken | 2378 # if, for instance, CONFIG_SHELL is bash and it inherits a |
| 656 alias in your environment" 1>&2; exit 1; } | 2379 # broken ls alias from the environment. This has actually |
| 657 fi | 2380 # happened. Such a system could not be considered "sane". |
| 658 | 2381 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 659 test "$2" = conftestfile | 2382 alias in your environment" "$LINENO" 5 |
| 2383 fi | |
| 2384 if test "$2" = conftest.file || test $am_try -eq 2; then | |
| 2385 break | |
| 2386 fi | |
| 2387 # Just in case. | |
| 2388 sleep 1 | |
| 2389 am_has_slept=yes | |
| 2390 done | |
| 2391 test "$2" = conftest.file | |
| 660 ) | 2392 ) |
| 661 then | 2393 then |
| 662 # Ok. | 2394 # Ok. |
| 663 : | 2395 : |
| 664 else | 2396 else |
| 665 { echo "configure: error: newly created file is older than distributed files! | 2397 as_fn_error $? "newly created file is older than distributed files! |
| 666 Check your system clock" 1>&2; exit 1; } | 2398 Check your system clock" "$LINENO" 5 |
| 667 fi | 2399 fi |
| 668 rm -f conftest* | 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 669 echo "$ac_t""yes" 1>&6 | 2401 $as_echo "yes" >&6; } |
| 670 if test "$program_transform_name" = s,x,x,; then | 2402 # If we didn't sleep, we still need to ensure time stamps of config.status and |
| 671 program_transform_name= | 2403 # generated files are strictly newer. |
| 672 else | 2404 am_sleep_pid= |
| 673 # Double any \ or $. echo might interpret backslashes. | 2405 if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 674 cat <<\EOF_SED > conftestsed | 2406 ( sleep 1 ) & |
| 675 s,\\,\\\\,g; s,\$,$$,g | 2407 am_sleep_pid=$! |
| 676 EOF_SED | 2408 fi |
| 677 program_transform_name="`echo $program_transform_name|sed -f conftestsed`" | 2409 |
| 678 rm -f conftestsed | 2410 rm -f conftest.file |
| 679 fi | 2411 |
| 680 test "$program_prefix" != NONE && | 2412 test "$program_prefix" != NONE && |
| 681 program_transform_name="s,^,${program_prefix},; $program_transform_name" | 2413 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 682 # Use a double $ so make ignores it. | 2414 # Use a double $ so make ignores it. |
| 683 test "$program_suffix" != NONE && | 2415 test "$program_suffix" != NONE && |
| 684 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" | 2416 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 685 | 2417 # Double any \ or $. |
| 686 # sed with no file args requires a program. | 2418 # By default was `s,x,x', remove it if useless. |
| 687 test "$program_transform_name" = "" && program_transform_name="s,x,x," | 2419 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 688 | 2420 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 689 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 2421 |
| 690 echo "configure:691: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 2422 # expand $ac_aux_dir to an absolute path |
| 691 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 2423 am_aux_dir=`cd $ac_aux_dir && pwd` |
| 692 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 2424 |
| 693 echo $ac_n "(cached) $ac_c" 1>&6 | 2425 if test x"${MISSING+set}" != xset; then |
| 694 else | 2426 case $am_aux_dir in |
| 695 cat > conftestmake <<\EOF | 2427 *\ * | *\ *) |
| 2428 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
| 2429 *) | |
| 2430 MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
| 2431 esac | |
| 2432 fi | |
| 2433 # Use eval to expand $SHELL | |
| 2434 if eval "$MISSING --is-lightweight"; then | |
| 2435 am_missing_run="$MISSING " | |
| 2436 else | |
| 2437 am_missing_run= | |
| 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 | |
| 2439 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} | |
| 2440 fi | |
| 2441 | |
| 2442 if test x"${install_sh}" != xset; then | |
| 2443 case $am_aux_dir in | |
| 2444 *\ * | *\ *) | |
| 2445 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
| 2446 *) | |
| 2447 install_sh="\${SHELL} $am_aux_dir/install-sh" | |
| 2448 esac | |
| 2449 fi | |
| 2450 | |
| 2451 # Installed binaries are usually stripped using 'strip' when the user | |
| 2452 # run "make install-strip". However 'strip' might not be the right | |
| 2453 # tool to use in cross-compilation environments, therefore Automake | |
| 2454 # will honor the 'STRIP' environment variable to overrule this program. | |
| 2455 if test "$cross_compiling" != no; then | |
| 2456 if test -n "$ac_tool_prefix"; then | |
| 2457 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | |
| 2458 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
| 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2460 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2461 if ${ac_cv_prog_STRIP+:} false; then : | |
| 2462 $as_echo_n "(cached) " >&6 | |
| 2463 else | |
| 2464 if test -n "$STRIP"; then | |
| 2465 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
| 2466 else | |
| 2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2468 for as_dir in $PATH | |
| 2469 do | |
| 2470 IFS=$as_save_IFS | |
| 2471 test -z "$as_dir" && as_dir=. | |
| 2472 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2474 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
| 2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2476 break 2 | |
| 2477 fi | |
| 2478 done | |
| 2479 done | |
| 2480 IFS=$as_save_IFS | |
| 2481 | |
| 2482 fi | |
| 2483 fi | |
| 2484 STRIP=$ac_cv_prog_STRIP | |
| 2485 if test -n "$STRIP"; then | |
| 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
| 2487 $as_echo "$STRIP" >&6; } | |
| 2488 else | |
| 2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2490 $as_echo "no" >&6; } | |
| 2491 fi | |
| 2492 | |
| 2493 | |
| 2494 fi | |
| 2495 if test -z "$ac_cv_prog_STRIP"; then | |
| 2496 ac_ct_STRIP=$STRIP | |
| 2497 # Extract the first word of "strip", so it can be a program name with args. | |
| 2498 set dummy strip; ac_word=$2 | |
| 2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2500 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2501 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | |
| 2502 $as_echo_n "(cached) " >&6 | |
| 2503 else | |
| 2504 if test -n "$ac_ct_STRIP"; then | |
| 2505 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
| 2506 else | |
| 2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2508 for as_dir in $PATH | |
| 2509 do | |
| 2510 IFS=$as_save_IFS | |
| 2511 test -z "$as_dir" && as_dir=. | |
| 2512 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2514 ac_cv_prog_ac_ct_STRIP="strip" | |
| 2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2516 break 2 | |
| 2517 fi | |
| 2518 done | |
| 2519 done | |
| 2520 IFS=$as_save_IFS | |
| 2521 | |
| 2522 fi | |
| 2523 fi | |
| 2524 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
| 2525 if test -n "$ac_ct_STRIP"; then | |
| 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
| 2527 $as_echo "$ac_ct_STRIP" >&6; } | |
| 2528 else | |
| 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2530 $as_echo "no" >&6; } | |
| 2531 fi | |
| 2532 | |
| 2533 if test "x$ac_ct_STRIP" = x; then | |
| 2534 STRIP=":" | |
| 2535 else | |
| 2536 case $cross_compiling:$ac_tool_warned in | |
| 2537 yes:) | |
| 2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2540 ac_tool_warned=yes ;; | |
| 2541 esac | |
| 2542 STRIP=$ac_ct_STRIP | |
| 2543 fi | |
| 2544 else | |
| 2545 STRIP="$ac_cv_prog_STRIP" | |
| 2546 fi | |
| 2547 | |
| 2548 fi | |
| 2549 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
| 2550 | |
| 2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | |
| 2552 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
| 2553 if test -z "$MKDIR_P"; then | |
| 2554 if ${ac_cv_path_mkdir+:} false; then : | |
| 2555 $as_echo_n "(cached) " >&6 | |
| 2556 else | |
| 2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2558 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
| 2559 do | |
| 2560 IFS=$as_save_IFS | |
| 2561 test -z "$as_dir" && as_dir=. | |
| 2562 for ac_prog in mkdir gmkdir; do | |
| 2563 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2564 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
| 2565 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
| 2566 'mkdir (GNU coreutils) '* | \ | |
| 2567 'mkdir (coreutils) '* | \ | |
| 2568 'mkdir (fileutils) '4.1*) | |
| 2569 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
| 2570 break 3;; | |
| 2571 esac | |
| 2572 done | |
| 2573 done | |
| 2574 done | |
| 2575 IFS=$as_save_IFS | |
| 2576 | |
| 2577 fi | |
| 2578 | |
| 2579 test -d ./--version && rmdir ./--version | |
| 2580 if test "${ac_cv_path_mkdir+set}" = set; then | |
| 2581 MKDIR_P="$ac_cv_path_mkdir -p" | |
| 2582 else | |
| 2583 # As a last resort, use the slow shell script. Don't cache a | |
| 2584 # value for MKDIR_P within a source directory, because that will | |
| 2585 # break other packages using the cache if that directory is | |
| 2586 # removed, or if the value is a relative name. | |
| 2587 MKDIR_P="$ac_install_sh -d" | |
| 2588 fi | |
| 2589 fi | |
| 2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
| 2591 $as_echo "$MKDIR_P" >&6; } | |
| 2592 | |
| 2593 for ac_prog in gawk mawk nawk awk | |
| 2594 do | |
| 2595 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2596 set dummy $ac_prog; ac_word=$2 | |
| 2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2598 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2599 if ${ac_cv_prog_AWK+:} false; then : | |
| 2600 $as_echo_n "(cached) " >&6 | |
| 2601 else | |
| 2602 if test -n "$AWK"; then | |
| 2603 ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
| 2604 else | |
| 2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2606 for as_dir in $PATH | |
| 2607 do | |
| 2608 IFS=$as_save_IFS | |
| 2609 test -z "$as_dir" && as_dir=. | |
| 2610 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2612 ac_cv_prog_AWK="$ac_prog" | |
| 2613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2614 break 2 | |
| 2615 fi | |
| 2616 done | |
| 2617 done | |
| 2618 IFS=$as_save_IFS | |
| 2619 | |
| 2620 fi | |
| 2621 fi | |
| 2622 AWK=$ac_cv_prog_AWK | |
| 2623 if test -n "$AWK"; then | |
| 2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
| 2625 $as_echo "$AWK" >&6; } | |
| 2626 else | |
| 2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2628 $as_echo "no" >&6; } | |
| 2629 fi | |
| 2630 | |
| 2631 | |
| 2632 test -n "$AWK" && break | |
| 2633 done | |
| 2634 | |
| 2635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | |
| 2636 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | |
| 2637 set x ${MAKE-make} | |
| 2638 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | |
| 2639 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | |
| 2640 $as_echo_n "(cached) " >&6 | |
| 2641 else | |
| 2642 cat >conftest.make <<\_ACEOF | |
| 2643 SHELL = /bin/sh | |
| 696 all: | 2644 all: |
| 697 @echo 'ac_maketemp="${MAKE}"' | 2645 @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 698 EOF | 2646 _ACEOF |
| 699 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 2647 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 700 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | 2648 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 701 if test -n "$ac_maketemp"; then | 2649 *@@@%%%=?*=@@@%%%*) |
| 702 eval ac_cv_prog_make_${ac_make}_set=yes | 2650 eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 703 else | 2651 *) |
| 704 eval ac_cv_prog_make_${ac_make}_set=no | 2652 eval ac_cv_prog_make_${ac_make}_set=no;; |
| 705 fi | 2653 esac |
| 706 rm -f conftestmake | 2654 rm -f conftest.make |
| 707 fi | 2655 fi |
| 708 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 2656 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 709 echo "$ac_t""yes" 1>&6 | 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2658 $as_echo "yes" >&6; } | |
| 710 SET_MAKE= | 2659 SET_MAKE= |
| 711 else | 2660 else |
| 712 echo "$ac_t""no" 1>&6 | 2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2662 $as_echo "no" >&6; } | |
| 713 SET_MAKE="MAKE=${MAKE-make}" | 2663 SET_MAKE="MAKE=${MAKE-make}" |
| 714 fi | 2664 fi |
| 715 | 2665 |
| 716 | 2666 rm -rf .tst 2>/dev/null |
| 717 PACKAGE=$PACKAGE | 2667 mkdir .tst 2>/dev/null |
| 718 | 2668 if test -d .tst; then |
| 719 VERSION=$VERSION | 2669 am__leading_dot=. |
| 720 | 2670 else |
| 721 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 2671 am__leading_dot=_ |
| 722 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 2672 fi |
| 723 fi | 2673 rmdir .tst 2>/dev/null |
| 724 cat >> confdefs.h <<EOF | 2674 |
| 2675 # Check whether --enable-silent-rules was given. | |
| 2676 if test "${enable_silent_rules+set}" = set; then : | |
| 2677 enableval=$enable_silent_rules; | |
| 2678 fi | |
| 2679 | |
| 2680 case $enable_silent_rules in # ((( | |
| 2681 yes) AM_DEFAULT_VERBOSITY=0;; | |
| 2682 no) AM_DEFAULT_VERBOSITY=1;; | |
| 2683 *) AM_DEFAULT_VERBOSITY=1;; | |
| 2684 esac | |
| 2685 am_make=${MAKE-make} | |
| 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 | |
| 2687 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } | |
| 2688 if ${am_cv_make_support_nested_variables+:} false; then : | |
| 2689 $as_echo_n "(cached) " >&6 | |
| 2690 else | |
| 2691 if $as_echo 'TRUE=$(BAR$(V)) | |
| 2692 BAR0=false | |
| 2693 BAR1=true | |
| 2694 V=1 | |
| 2695 am__doit: | |
| 2696 @$(TRUE) | |
| 2697 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then | |
| 2698 am_cv_make_support_nested_variables=yes | |
| 2699 else | |
| 2700 am_cv_make_support_nested_variables=no | |
| 2701 fi | |
| 2702 fi | |
| 2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 | |
| 2704 $as_echo "$am_cv_make_support_nested_variables" >&6; } | |
| 2705 if test $am_cv_make_support_nested_variables = yes; then | |
| 2706 AM_V='$(V)' | |
| 2707 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' | |
| 2708 else | |
| 2709 AM_V=$AM_DEFAULT_VERBOSITY | |
| 2710 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY | |
| 2711 fi | |
| 2712 AM_BACKSLASH='\' | |
| 2713 | |
| 2714 if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
| 2715 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
| 2716 # is not polluted with repeated "-I." | |
| 2717 am__isrc=' -I$(srcdir)' | |
| 2718 # test to see if srcdir already configured | |
| 2719 if test -f $srcdir/config.status; then | |
| 2720 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | |
| 2721 fi | |
| 2722 fi | |
| 2723 | |
| 2724 # test whether we have cygpath | |
| 2725 if test -z "$CYGPATH_W"; then | |
| 2726 if (cygpath --version) >/dev/null 2>/dev/null; then | |
| 2727 CYGPATH_W='cygpath -w' | |
| 2728 else | |
| 2729 CYGPATH_W=echo | |
| 2730 fi | |
| 2731 fi | |
| 2732 | |
| 2733 | |
| 2734 # Define the identity of the package. | |
| 2735 | |
| 2736 PACKAGE=$PACKAGE | |
| 2737 VERSION=$VERSION | |
| 2738 | |
| 2739 | |
| 2740 cat >>confdefs.h <<_ACEOF | |
| 725 #define PACKAGE "$PACKAGE" | 2741 #define PACKAGE "$PACKAGE" |
| 726 EOF | 2742 _ACEOF |
| 727 | 2743 |
| 728 cat >> confdefs.h <<EOF | 2744 |
| 2745 cat >>confdefs.h <<_ACEOF | |
| 729 #define VERSION "$VERSION" | 2746 #define VERSION "$VERSION" |
| 730 EOF | 2747 _ACEOF |
| 731 | 2748 |
| 732 | 2749 # Some tools Automake needs. |
| 733 | 2750 |
| 734 missing_dir=`cd $ac_aux_dir && pwd` | 2751 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 735 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 | 2752 |
| 736 echo "configure:737: checking for working aclocal-${am__api_version}" >&5 | 2753 |
| 737 # Run test in a subshell; some versions of sh will print an error if | 2754 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 738 # an executable is not found, even if stderr is redirected. | 2755 |
| 739 # Redirect stdin to placate older versions of autoconf. Sigh. | 2756 |
| 740 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then | 2757 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 741 ACLOCAL=aclocal-${am__api_version} | 2758 |
| 742 echo "$ac_t""found" 1>&6 | 2759 |
| 743 else | 2760 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 744 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" | 2761 |
| 745 echo "$ac_t""missing" 1>&6 | 2762 |
| 746 fi | 2763 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 747 | 2764 |
| 748 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 2765 # For better backward compatibility. To be removed once Automake 1.9.x |
| 749 echo "configure:750: checking for working autoconf" >&5 | 2766 # dies out for good. For more background, see: |
| 750 # Run test in a subshell; some versions of sh will print an error if | 2767 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 751 # an executable is not found, even if stderr is redirected. | 2768 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 752 # Redirect stdin to placate older versions of autoconf. Sigh. | 2769 mkdir_p='$(MKDIR_P)' |
| 753 if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 2770 |
| 754 AUTOCONF=autoconf | 2771 # We need awk for the "check" target. The system "awk" is bad on |
| 755 echo "$ac_t""found" 1>&6 | 2772 # some platforms. |
| 756 else | 2773 # Always define AMTAR for backward compatibility. Yes, it's still used |
| 757 AUTOCONF="$missing_dir/missing autoconf" | 2774 # in the wild :-( We should find a proper way to deprecate it ... |
| 758 echo "$ac_t""missing" 1>&6 | 2775 AMTAR='$${TAR-tar}' |
| 759 fi | 2776 |
| 760 | 2777 |
| 761 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 | 2778 # We'll loop over all known methods to create a tar archive until one works. |
| 762 echo "configure:763: checking for working automake-${am__api_version}" >&5 | 2779 _am_tools='gnutar pax cpio none' |
| 763 # Run test in a subshell; some versions of sh will print an error if | 2780 |
| 764 # an executable is not found, even if stderr is redirected. | 2781 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 765 # Redirect stdin to placate older versions of autoconf. Sigh. | 2782 |
| 766 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then | 2783 |
| 767 AUTOMAKE=automake-${am__api_version} | 2784 |
| 768 echo "$ac_t""found" 1>&6 | 2785 |
| 769 else | 2786 |
| 770 AUTOMAKE="$missing_dir/missing automake-${am__api_version}" | 2787 |
| 771 echo "$ac_t""missing" 1>&6 | 2788 |
| 772 fi | 2789 |
| 773 | 2790 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
| 774 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | |
| 775 echo "configure:776: checking for working autoheader" >&5 | |
| 776 # Run test in a subshell; some versions of sh will print an error if | |
| 777 # an executable is not found, even if stderr is redirected. | |
| 778 # Redirect stdin to placate older versions of autoconf. Sigh. | |
| 779 if (autoheader --version) < /dev/null > /dev/null 2>&1; then | |
| 780 AUTOHEADER=autoheader | |
| 781 echo "$ac_t""found" 1>&6 | |
| 782 else | |
| 783 AUTOHEADER="$missing_dir/missing autoheader" | |
| 784 echo "$ac_t""missing" 1>&6 | |
| 785 fi | |
| 786 | |
| 787 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | |
| 788 echo "configure:789: checking for working makeinfo" >&5 | |
| 789 # Run test in a subshell; some versions of sh will print an error if | |
| 790 # an executable is not found, even if stderr is redirected. | |
| 791 # Redirect stdin to placate older versions of autoconf. Sigh. | |
| 792 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | |
| 793 MAKEINFO=makeinfo | |
| 794 echo "$ac_t""found" 1>&6 | |
| 795 else | |
| 796 MAKEINFO="$missing_dir/missing makeinfo" | |
| 797 echo "$ac_t""missing" 1>&6 | |
| 798 fi | |
| 799 | |
| 800 | |
| 801 | |
| 802 | |
| 803 cat >> confdefs.h <<\EOF | |
| 804 #define _GNU_SOURCE 1 | |
| 805 EOF | |
| 806 | 2791 |
| 807 | 2792 |
| 808 ac_ext=c | 2793 ac_ext=c |
| 809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
| 810 ac_cpp='$CPP $CPPFLAGS' | 2794 ac_cpp='$CPP $CPPFLAGS' |
| 811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 813 cross_compiling=$ac_cv_prog_cc_cross | 2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 814 | 2798 |
| 815 | 2799 |
| 816 | 2800 |
| 817 | 2801 |
| 818 # Extract the first word of "gcc", so it can be a program name with args. | 2802 ac_ext=c |
| 819 set dummy gcc; ac_word=$2 | 2803 ac_cpp='$CPP $CPPFLAGS' |
| 820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 821 echo "configure:822: checking for $ac_word" >&5 | 2805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 822 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 2806 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 823 echo $ac_n "(cached) $ac_c" 1>&6 | 2807 if test -n "$ac_tool_prefix"; then |
| 2808 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| 2809 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2811 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2812 if ${ac_cv_prog_CC+:} false; then : | |
| 2813 $as_echo_n "(cached) " >&6 | |
| 824 else | 2814 else |
| 825 if test -n "$CC"; then | 2815 if test -n "$CC"; then |
| 826 ac_cv_prog_CC="$CC" # Let the user override the test. | 2816 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 827 else | 2817 else |
| 828 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 829 ac_dummy="$PATH" | 2819 for as_dir in $PATH |
| 830 for ac_dir in $ac_dummy; do | 2820 do |
| 831 test -z "$ac_dir" && ac_dir=. | 2821 IFS=$as_save_IFS |
| 832 if test -f $ac_dir/$ac_word; then | 2822 test -z "$as_dir" && as_dir=. |
| 833 ac_cv_prog_CC="gcc" | 2823 for ac_exec_ext in '' $ac_executable_extensions; do |
| 834 break | 2824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 835 fi | 2825 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2827 break 2 | |
| 2828 fi | |
| 2829 done | |
| 836 done | 2830 done |
| 837 IFS="$ac_save_ifs" | 2831 IFS=$as_save_IFS |
| 838 fi | 2832 |
| 839 fi | 2833 fi |
| 840 CC="$ac_cv_prog_CC" | 2834 fi |
| 2835 CC=$ac_cv_prog_CC | |
| 841 if test -n "$CC"; then | 2836 if test -n "$CC"; then |
| 842 echo "$ac_t""$CC" 1>&6 | 2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 843 else | 2838 $as_echo "$CC" >&6; } |
| 844 echo "$ac_t""no" 1>&6 | 2839 else |
| 845 fi | 2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 846 | 2841 $as_echo "no" >&6; } |
| 2842 fi | |
| 2843 | |
| 2844 | |
| 2845 fi | |
| 2846 if test -z "$ac_cv_prog_CC"; then | |
| 2847 ac_ct_CC=$CC | |
| 2848 # Extract the first word of "gcc", so it can be a program name with args. | |
| 2849 set dummy gcc; ac_word=$2 | |
| 2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2851 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2852 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 2853 $as_echo_n "(cached) " >&6 | |
| 2854 else | |
| 2855 if test -n "$ac_ct_CC"; then | |
| 2856 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2857 else | |
| 2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2859 for as_dir in $PATH | |
| 2860 do | |
| 2861 IFS=$as_save_IFS | |
| 2862 test -z "$as_dir" && as_dir=. | |
| 2863 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2864 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2865 ac_cv_prog_ac_ct_CC="gcc" | |
| 2866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2867 break 2 | |
| 2868 fi | |
| 2869 done | |
| 2870 done | |
| 2871 IFS=$as_save_IFS | |
| 2872 | |
| 2873 fi | |
| 2874 fi | |
| 2875 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2876 if test -n "$ac_ct_CC"; then | |
| 2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2878 $as_echo "$ac_ct_CC" >&6; } | |
| 2879 else | |
| 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2881 $as_echo "no" >&6; } | |
| 2882 fi | |
| 2883 | |
| 2884 if test "x$ac_ct_CC" = x; then | |
| 2885 CC="" | |
| 2886 else | |
| 2887 case $cross_compiling:$ac_tool_warned in | |
| 2888 yes:) | |
| 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2891 ac_tool_warned=yes ;; | |
| 2892 esac | |
| 2893 CC=$ac_ct_CC | |
| 2894 fi | |
| 2895 else | |
| 2896 CC="$ac_cv_prog_CC" | |
| 2897 fi | |
| 2898 | |
| 2899 if test -z "$CC"; then | |
| 2900 if test -n "$ac_tool_prefix"; then | |
| 2901 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| 2902 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2904 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2905 if ${ac_cv_prog_CC+:} false; then : | |
| 2906 $as_echo_n "(cached) " >&6 | |
| 2907 else | |
| 2908 if test -n "$CC"; then | |
| 2909 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2910 else | |
| 2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2912 for as_dir in $PATH | |
| 2913 do | |
| 2914 IFS=$as_save_IFS | |
| 2915 test -z "$as_dir" && as_dir=. | |
| 2916 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2918 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2920 break 2 | |
| 2921 fi | |
| 2922 done | |
| 2923 done | |
| 2924 IFS=$as_save_IFS | |
| 2925 | |
| 2926 fi | |
| 2927 fi | |
| 2928 CC=$ac_cv_prog_CC | |
| 2929 if test -n "$CC"; then | |
| 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2931 $as_echo "$CC" >&6; } | |
| 2932 else | |
| 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2934 $as_echo "no" >&6; } | |
| 2935 fi | |
| 2936 | |
| 2937 | |
| 2938 fi | |
| 2939 fi | |
| 847 if test -z "$CC"; then | 2940 if test -z "$CC"; then |
| 848 # Extract the first word of "cc", so it can be a program name with args. | 2941 # Extract the first word of "cc", so it can be a program name with args. |
| 849 set dummy cc; ac_word=$2 | 2942 set dummy cc; ac_word=$2 |
| 850 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 851 echo "configure:852: checking for $ac_word" >&5 | 2944 $as_echo_n "checking for $ac_word... " >&6; } |
| 852 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 2945 if ${ac_cv_prog_CC+:} false; then : |
| 853 echo $ac_n "(cached) $ac_c" 1>&6 | 2946 $as_echo_n "(cached) " >&6 |
| 854 else | 2947 else |
| 855 if test -n "$CC"; then | 2948 if test -n "$CC"; then |
| 856 ac_cv_prog_CC="$CC" # Let the user override the test. | 2949 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 857 else | 2950 else |
| 858 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| 859 ac_prog_rejected=no | 2951 ac_prog_rejected=no |
| 860 ac_dummy="$PATH" | 2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 861 for ac_dir in $ac_dummy; do | 2953 for as_dir in $PATH |
| 862 test -z "$ac_dir" && ac_dir=. | 2954 do |
| 863 if test -f $ac_dir/$ac_word; then | 2955 IFS=$as_save_IFS |
| 864 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 2956 test -z "$as_dir" && as_dir=. |
| 865 ac_prog_rejected=yes | 2957 for ac_exec_ext in '' $ac_executable_extensions; do |
| 866 continue | 2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 867 fi | 2959 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 868 ac_cv_prog_CC="cc" | 2960 ac_prog_rejected=yes |
| 869 break | 2961 continue |
| 870 fi | 2962 fi |
| 2963 ac_cv_prog_CC="cc" | |
| 2964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2965 break 2 | |
| 2966 fi | |
| 2967 done | |
| 871 done | 2968 done |
| 872 IFS="$ac_save_ifs" | 2969 IFS=$as_save_IFS |
| 2970 | |
| 873 if test $ac_prog_rejected = yes; then | 2971 if test $ac_prog_rejected = yes; then |
| 874 # We found a bogon in the path, so make sure we never use it. | 2972 # We found a bogon in the path, so make sure we never use it. |
| 875 set dummy $ac_cv_prog_CC | 2973 set dummy $ac_cv_prog_CC |
| 876 shift | 2974 shift |
| 877 if test $# -gt 0; then | 2975 if test $# != 0; then |
| 878 # We chose a different compiler from the bogus one. | 2976 # We chose a different compiler from the bogus one. |
| 879 # However, it has the same basename, so the bogon will be chosen | 2977 # However, it has the same basename, so the bogon will be chosen |
| 880 # first if we set CC to just the basename; use the full file name. | 2978 # first if we set CC to just the basename; use the full file name. |
| 881 shift | 2979 shift |
| 882 set dummy "$ac_dir/$ac_word" "$@" | 2980 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 883 shift | |
| 884 ac_cv_prog_CC="$@" | |
| 885 fi | 2981 fi |
| 886 fi | 2982 fi |
| 887 fi | 2983 fi |
| 888 fi | 2984 fi |
| 889 CC="$ac_cv_prog_CC" | 2985 CC=$ac_cv_prog_CC |
| 890 if test -n "$CC"; then | 2986 if test -n "$CC"; then |
| 891 echo "$ac_t""$CC" 1>&6 | 2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 892 else | 2988 $as_echo "$CC" >&6; } |
| 893 echo "$ac_t""no" 1>&6 | 2989 else |
| 894 fi | 2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 895 | 2991 $as_echo "no" >&6; } |
| 896 if test -z "$CC"; then | 2992 fi |
| 897 case "`uname -s`" in | 2993 |
| 898 *win32* | *WIN32*) | 2994 |
| 899 # Extract the first word of "cl", so it can be a program name with args. | 2995 fi |
| 900 set dummy cl; ac_word=$2 | 2996 if test -z "$CC"; then |
| 901 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2997 if test -n "$ac_tool_prefix"; then |
| 902 echo "configure:903: checking for $ac_word" >&5 | 2998 for ac_prog in cl.exe |
| 903 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 2999 do |
| 904 echo $ac_n "(cached) $ac_c" 1>&6 | 3000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 3001 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3003 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3004 if ${ac_cv_prog_CC+:} false; then : | |
| 3005 $as_echo_n "(cached) " >&6 | |
| 905 else | 3006 else |
| 906 if test -n "$CC"; then | 3007 if test -n "$CC"; then |
| 907 ac_cv_prog_CC="$CC" # Let the user override the test. | 3008 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 908 else | 3009 else |
| 909 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 910 ac_dummy="$PATH" | 3011 for as_dir in $PATH |
| 911 for ac_dir in $ac_dummy; do | 3012 do |
| 912 test -z "$ac_dir" && ac_dir=. | 3013 IFS=$as_save_IFS |
| 913 if test -f $ac_dir/$ac_word; then | 3014 test -z "$as_dir" && as_dir=. |
| 914 ac_cv_prog_CC="cl" | 3015 for ac_exec_ext in '' $ac_executable_extensions; do |
| 915 break | 3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3017 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3019 break 2 | |
| 3020 fi | |
| 3021 done | |
| 3022 done | |
| 3023 IFS=$as_save_IFS | |
| 3024 | |
| 3025 fi | |
| 3026 fi | |
| 3027 CC=$ac_cv_prog_CC | |
| 3028 if test -n "$CC"; then | |
| 3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 3030 $as_echo "$CC" >&6; } | |
| 3031 else | |
| 3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3033 $as_echo "no" >&6; } | |
| 3034 fi | |
| 3035 | |
| 3036 | |
| 3037 test -n "$CC" && break | |
| 3038 done | |
| 3039 fi | |
| 3040 if test -z "$CC"; then | |
| 3041 ac_ct_CC=$CC | |
| 3042 for ac_prog in cl.exe | |
| 3043 do | |
| 3044 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 3045 set dummy $ac_prog; ac_word=$2 | |
| 3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3047 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3048 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 3049 $as_echo_n "(cached) " >&6 | |
| 3050 else | |
| 3051 if test -n "$ac_ct_CC"; then | |
| 3052 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 3053 else | |
| 3054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3055 for as_dir in $PATH | |
| 3056 do | |
| 3057 IFS=$as_save_IFS | |
| 3058 test -z "$as_dir" && as_dir=. | |
| 3059 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 3061 ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3063 break 2 | |
| 3064 fi | |
| 3065 done | |
| 3066 done | |
| 3067 IFS=$as_save_IFS | |
| 3068 | |
| 3069 fi | |
| 3070 fi | |
| 3071 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 3072 if test -n "$ac_ct_CC"; then | |
| 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 3074 $as_echo "$ac_ct_CC" >&6; } | |
| 3075 else | |
| 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3077 $as_echo "no" >&6; } | |
| 3078 fi | |
| 3079 | |
| 3080 | |
| 3081 test -n "$ac_ct_CC" && break | |
| 3082 done | |
| 3083 | |
| 3084 if test "x$ac_ct_CC" = x; then | |
| 3085 CC="" | |
| 3086 else | |
| 3087 case $cross_compiling:$ac_tool_warned in | |
| 3088 yes:) | |
| 3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 3090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 3091 ac_tool_warned=yes ;; | |
| 3092 esac | |
| 3093 CC=$ac_ct_CC | |
| 3094 fi | |
| 3095 fi | |
| 3096 | |
| 3097 fi | |
| 3098 | |
| 3099 | |
| 3100 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3102 as_fn_error $? "no acceptable C compiler found in \$PATH | |
| 3103 See \`config.log' for more details" "$LINENO" 5; } | |
| 3104 | |
| 3105 # Provide some information about the compiler. | |
| 3106 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
| 3107 set X $ac_compile | |
| 3108 ac_compiler=$2 | |
| 3109 for ac_option in --version -v -V -qversion; do | |
| 3110 { { ac_try="$ac_compiler $ac_option >&5" | |
| 3111 case "(($ac_try" in | |
| 3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3113 *) ac_try_echo=$ac_try;; | |
| 3114 esac | |
| 3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3116 $as_echo "$ac_try_echo"; } >&5 | |
| 3117 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 3118 ac_status=$? | |
| 3119 if test -s conftest.err; then | |
| 3120 sed '10a\ | |
| 3121 ... rest of stderr output deleted ... | |
| 3122 10q' conftest.err >conftest.er1 | |
| 3123 cat conftest.er1 >&5 | |
| 3124 fi | |
| 3125 rm -f conftest.er1 conftest.err | |
| 3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3127 test $ac_status = 0; } | |
| 3128 done | |
| 3129 | |
| 3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3131 /* end confdefs.h. */ | |
| 3132 | |
| 3133 int | |
| 3134 main () | |
| 3135 { | |
| 3136 | |
| 3137 ; | |
| 3138 return 0; | |
| 3139 } | |
| 3140 _ACEOF | |
| 3141 ac_clean_files_save=$ac_clean_files | |
| 3142 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
| 3143 # Try to create an executable without -o first, disregard a.out. | |
| 3144 # It will help us diagnose broken compilers, and finding out an intuition | |
| 3145 # of exeext. | |
| 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
| 3147 $as_echo_n "checking whether the C compiler works... " >&6; } | |
| 3148 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 3149 | |
| 3150 # The possible output files: | |
| 3151 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
| 3152 | |
| 3153 ac_rmfiles= | |
| 3154 for ac_file in $ac_files | |
| 3155 do | |
| 3156 case $ac_file in | |
| 3157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 3158 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 3159 esac | |
| 3160 done | |
| 3161 rm -f $ac_rmfiles | |
| 3162 | |
| 3163 if { { ac_try="$ac_link_default" | |
| 3164 case "(($ac_try" in | |
| 3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3166 *) ac_try_echo=$ac_try;; | |
| 3167 esac | |
| 3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3169 $as_echo "$ac_try_echo"; } >&5 | |
| 3170 (eval "$ac_link_default") 2>&5 | |
| 3171 ac_status=$? | |
| 3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3173 test $ac_status = 0; }; then : | |
| 3174 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
| 3175 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
| 3176 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
| 3177 # so that the user can short-circuit this test for compilers unknown to | |
| 3178 # Autoconf. | |
| 3179 for ac_file in $ac_files '' | |
| 3180 do | |
| 3181 test -f "$ac_file" || continue | |
| 3182 case $ac_file in | |
| 3183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
| 3184 ;; | |
| 3185 [ab].out ) | |
| 3186 # We found the default executable, but exeext='' is most | |
| 3187 # certainly right. | |
| 3188 break;; | |
| 3189 *.* ) | |
| 3190 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
| 3191 then :; else | |
| 3192 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 3193 fi | |
| 3194 # We set ac_cv_exeext here because the later test for it is not | |
| 3195 # safe: cross compilers may not add the suffix if given an `-o' | |
| 3196 # argument, so we may need to know it at that point already. | |
| 3197 # Even if this section looks crufty: it has the advantage of | |
| 3198 # actually working. | |
| 3199 break;; | |
| 3200 * ) | |
| 3201 break;; | |
| 3202 esac | |
| 3203 done | |
| 3204 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 3205 | |
| 3206 else | |
| 3207 ac_file='' | |
| 3208 fi | |
| 3209 if test -z "$ac_file"; then : | |
| 3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3211 $as_echo "no" >&6; } | |
| 3212 $as_echo "$as_me: failed program was:" >&5 | |
| 3213 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 3214 | |
| 3215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3217 as_fn_error 77 "C compiler cannot create executables | |
| 3218 See \`config.log' for more details" "$LINENO" 5; } | |
| 3219 else | |
| 3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 3221 $as_echo "yes" >&6; } | |
| 3222 fi | |
| 3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
| 3224 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
| 3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
| 3226 $as_echo "$ac_file" >&6; } | |
| 3227 ac_exeext=$ac_cv_exeext | |
| 3228 | |
| 3229 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
| 3230 ac_clean_files=$ac_clean_files_save | |
| 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
| 3232 $as_echo_n "checking for suffix of executables... " >&6; } | |
| 3233 if { { ac_try="$ac_link" | |
| 3234 case "(($ac_try" in | |
| 3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3236 *) ac_try_echo=$ac_try;; | |
| 3237 esac | |
| 3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3239 $as_echo "$ac_try_echo"; } >&5 | |
| 3240 (eval "$ac_link") 2>&5 | |
| 3241 ac_status=$? | |
| 3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3243 test $ac_status = 0; }; then : | |
| 3244 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 3245 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 3246 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 3247 # `rm'. | |
| 3248 for ac_file in conftest.exe conftest conftest.*; do | |
| 3249 test -f "$ac_file" || continue | |
| 3250 case $ac_file in | |
| 3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 3252 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 3253 break;; | |
| 3254 * ) break;; | |
| 3255 esac | |
| 3256 done | |
| 3257 else | |
| 3258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3260 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
| 3261 See \`config.log' for more details" "$LINENO" 5; } | |
| 3262 fi | |
| 3263 rm -f conftest conftest$ac_cv_exeext | |
| 3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
| 3265 $as_echo "$ac_cv_exeext" >&6; } | |
| 3266 | |
| 3267 rm -f conftest.$ac_ext | |
| 3268 EXEEXT=$ac_cv_exeext | |
| 3269 ac_exeext=$EXEEXT | |
| 3270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3271 /* end confdefs.h. */ | |
| 3272 #include <stdio.h> | |
| 3273 int | |
| 3274 main () | |
| 3275 { | |
| 3276 FILE *f = fopen ("conftest.out", "w"); | |
| 3277 return ferror (f) || fclose (f) != 0; | |
| 3278 | |
| 3279 ; | |
| 3280 return 0; | |
| 3281 } | |
| 3282 _ACEOF | |
| 3283 ac_clean_files="$ac_clean_files conftest.out" | |
| 3284 # Check that the compiler produces executables we can run. If not, either | |
| 3285 # the compiler is broken, or we cross compile. | |
| 3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
| 3287 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
| 3288 if test "$cross_compiling" != yes; then | |
| 3289 { { ac_try="$ac_link" | |
| 3290 case "(($ac_try" in | |
| 3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3292 *) ac_try_echo=$ac_try;; | |
| 3293 esac | |
| 3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3295 $as_echo "$ac_try_echo"; } >&5 | |
| 3296 (eval "$ac_link") 2>&5 | |
| 3297 ac_status=$? | |
| 3298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3299 test $ac_status = 0; } | |
| 3300 if { ac_try='./conftest$ac_cv_exeext' | |
| 3301 { { case "(($ac_try" in | |
| 3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 3303 *) ac_try_echo=$ac_try;; | |
| 3304 esac | |
| 3305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 3306 $as_echo "$ac_try_echo"; } >&5 | |
| 3307 (eval "$ac_try") 2>&5 | |
| 3308 ac_status=$? | |
| 3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3310 test $ac_status = 0; }; }; then | |
| 3311 cross_compiling=no | |
| 3312 else | |
| 3313 if test "$cross_compiling" = maybe; then | |
| 3314 cross_compiling=yes | |
| 3315 else | |
| 3316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3318 as_fn_error $? "cannot run C compiled programs. | |
| 3319 If you meant to cross compile, use \`--host'. | |
| 3320 See \`config.log' for more details" "$LINENO" 5; } | |
| 916 fi | 3321 fi |
| 917 done | |
| 918 IFS="$ac_save_ifs" | |
| 919 fi | |
| 920 fi | |
| 921 CC="$ac_cv_prog_CC" | |
| 922 if test -n "$CC"; then | |
| 923 echo "$ac_t""$CC" 1>&6 | |
| 924 else | |
| 925 echo "$ac_t""no" 1>&6 | |
| 926 fi | |
| 927 ;; | |
| 928 esac | |
| 929 fi | 3322 fi |
| 930 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 3323 fi |
| 931 fi | 3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
| 932 | 3325 $as_echo "$cross_compiling" >&6; } |
| 933 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 3326 |
| 934 echo "configure:935: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 3327 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
| 935 | 3328 ac_clean_files=$ac_clean_files_save |
| 936 ac_ext=c | 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
| 937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 3330 $as_echo_n "checking for suffix of object files... " >&6; } |
| 938 ac_cpp='$CPP $CPPFLAGS' | 3331 if ${ac_cv_objext+:} false; then : |
| 939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 3332 $as_echo_n "(cached) " >&6 |
| 940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 3333 else |
| 941 cross_compiling=$ac_cv_prog_cc_cross | 3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 942 | 3335 /* end confdefs.h. */ |
| 943 cat > conftest.$ac_ext << EOF | 3336 |
| 944 | 3337 int |
| 945 #line 946 "configure" | 3338 main () |
| 946 #include "confdefs.h" | 3339 { |
| 947 | 3340 |
| 948 main(){return(0);} | 3341 ; |
| 949 EOF | 3342 return 0; |
| 950 if { (eval echo configure:951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3343 } |
| 951 ac_cv_prog_cc_works=yes | 3344 _ACEOF |
| 952 # If we can't run a trivial program, we are probably using a cross compiler. | 3345 rm -f conftest.o conftest.obj |
| 953 if (./conftest; exit) 2>/dev/null; then | 3346 if { { ac_try="$ac_compile" |
| 954 ac_cv_prog_cc_cross=no | 3347 case "(($ac_try" in |
| 955 else | 3348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 956 ac_cv_prog_cc_cross=yes | 3349 *) ac_try_echo=$ac_try;; |
| 957 fi | 3350 esac |
| 958 else | 3351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 959 echo "configure: failed program was:" >&5 | 3352 $as_echo "$ac_try_echo"; } >&5 |
| 960 cat conftest.$ac_ext >&5 | 3353 (eval "$ac_compile") 2>&5 |
| 961 ac_cv_prog_cc_works=no | 3354 ac_status=$? |
| 962 fi | 3355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 963 rm -fr conftest* | 3356 test $ac_status = 0; }; then : |
| 964 ac_ext=c | 3357 for ac_file in conftest.o conftest.obj conftest.*; do |
| 965 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 3358 test -f "$ac_file" || continue; |
| 966 ac_cpp='$CPP $CPPFLAGS' | 3359 case $ac_file in |
| 967 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 3360 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
| 968 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 3361 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 969 cross_compiling=$ac_cv_prog_cc_cross | 3362 break;; |
| 970 | 3363 esac |
| 971 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 3364 done |
| 972 if test $ac_cv_prog_cc_works = no; then | 3365 else |
| 973 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 3366 $as_echo "$as_me: failed program was:" >&5 |
| 974 fi | 3367 sed 's/^/| /' conftest.$ac_ext >&5 |
| 975 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 3368 |
| 976 echo "configure:977: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 977 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 3370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 978 cross_compiling=$ac_cv_prog_cc_cross | 3371 as_fn_error $? "cannot compute suffix of object files: cannot compile |
| 979 | 3372 See \`config.log' for more details" "$LINENO" 5; } |
| 980 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 3373 fi |
| 981 echo "configure:982: checking whether we are using GNU C" >&5 | 3374 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 982 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 3375 fi |
| 983 echo $ac_n "(cached) $ac_c" 1>&6 | 3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
| 984 else | 3377 $as_echo "$ac_cv_objext" >&6; } |
| 985 cat > conftest.c <<EOF | 3378 OBJEXT=$ac_cv_objext |
| 986 #ifdef __GNUC__ | 3379 ac_objext=$OBJEXT |
| 987 yes; | 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
| 3381 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
| 3382 if ${ac_cv_c_compiler_gnu+:} false; then : | |
| 3383 $as_echo_n "(cached) " >&6 | |
| 3384 else | |
| 3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3386 /* end confdefs.h. */ | |
| 3387 | |
| 3388 int | |
| 3389 main () | |
| 3390 { | |
| 3391 #ifndef __GNUC__ | |
| 3392 choke me | |
| 988 #endif | 3393 #endif |
| 989 EOF | 3394 |
| 990 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 3395 ; |
| 991 ac_cv_prog_gcc=yes | 3396 return 0; |
| 992 else | 3397 } |
| 993 ac_cv_prog_gcc=no | 3398 _ACEOF |
| 994 fi | 3399 if ac_fn_c_try_compile "$LINENO"; then : |
| 995 fi | 3400 ac_compiler_gnu=yes |
| 996 | 3401 else |
| 997 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 3402 ac_compiler_gnu=no |
| 998 | 3403 fi |
| 999 if test $ac_cv_prog_gcc = yes; then | 3404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 3405 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 3406 | |
| 3407 fi | |
| 3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
| 3409 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
| 3410 if test $ac_compiler_gnu = yes; then | |
| 1000 GCC=yes | 3411 GCC=yes |
| 1001 else | 3412 else |
| 1002 GCC= | 3413 GCC= |
| 1003 fi | 3414 fi |
| 1004 | 3415 ac_test_CFLAGS=${CFLAGS+set} |
| 1005 ac_test_CFLAGS="${CFLAGS+set}" | 3416 ac_save_CFLAGS=$CFLAGS |
| 1006 ac_save_CFLAGS="$CFLAGS" | 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
| 1007 CFLAGS= | 3418 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
| 1008 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 3419 if ${ac_cv_prog_cc_g+:} false; then : |
| 1009 echo "configure:1010: checking whether ${CC-cc} accepts -g" >&5 | 3420 $as_echo_n "(cached) " >&6 |
| 1010 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 3421 else |
| 1011 echo $ac_n "(cached) $ac_c" 1>&6 | 3422 ac_save_c_werror_flag=$ac_c_werror_flag |
| 1012 else | 3423 ac_c_werror_flag=yes |
| 1013 echo 'void f(){}' > conftest.c | 3424 ac_cv_prog_cc_g=no |
| 1014 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 3425 CFLAGS="-g" |
| 3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3427 /* end confdefs.h. */ | |
| 3428 | |
| 3429 int | |
| 3430 main () | |
| 3431 { | |
| 3432 | |
| 3433 ; | |
| 3434 return 0; | |
| 3435 } | |
| 3436 _ACEOF | |
| 3437 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1015 ac_cv_prog_cc_g=yes | 3438 ac_cv_prog_cc_g=yes |
| 1016 else | 3439 else |
| 1017 ac_cv_prog_cc_g=no | 3440 CFLAGS="" |
| 1018 fi | 3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1019 rm -f conftest* | 3442 /* end confdefs.h. */ |
| 1020 | 3443 |
| 1021 fi | 3444 int |
| 1022 | 3445 main () |
| 1023 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 3446 { |
| 3447 | |
| 3448 ; | |
| 3449 return 0; | |
| 3450 } | |
| 3451 _ACEOF | |
| 3452 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3453 | |
| 3454 else | |
| 3455 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3456 CFLAGS="-g" | |
| 3457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3458 /* end confdefs.h. */ | |
| 3459 | |
| 3460 int | |
| 3461 main () | |
| 3462 { | |
| 3463 | |
| 3464 ; | |
| 3465 return 0; | |
| 3466 } | |
| 3467 _ACEOF | |
| 3468 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3469 ac_cv_prog_cc_g=yes | |
| 3470 fi | |
| 3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3472 fi | |
| 3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3474 fi | |
| 3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3476 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 3477 fi | |
| 3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
| 3479 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
| 1024 if test "$ac_test_CFLAGS" = set; then | 3480 if test "$ac_test_CFLAGS" = set; then |
| 1025 CFLAGS="$ac_save_CFLAGS" | 3481 CFLAGS=$ac_save_CFLAGS |
| 1026 elif test $ac_cv_prog_cc_g = yes; then | 3482 elif test $ac_cv_prog_cc_g = yes; then |
| 1027 if test "$GCC" = yes; then | 3483 if test "$GCC" = yes; then |
| 1028 CFLAGS="-g -O2" | 3484 CFLAGS="-g -O2" |
| 1029 else | 3485 else |
| 1030 CFLAGS="-g" | 3486 CFLAGS="-g" |
| 1034 CFLAGS="-O2" | 3490 CFLAGS="-O2" |
| 1035 else | 3491 else |
| 1036 CFLAGS= | 3492 CFLAGS= |
| 1037 fi | 3493 fi |
| 1038 fi | 3494 fi |
| 1039 | 3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
| 1040 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 3496 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
| 1041 echo "configure:1042: checking how to run the C preprocessor" >&5 | 3497 if ${ac_cv_prog_cc_c89+:} false; then : |
| 3498 $as_echo_n "(cached) " >&6 | |
| 3499 else | |
| 3500 ac_cv_prog_cc_c89=no | |
| 3501 ac_save_CC=$CC | |
| 3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3503 /* end confdefs.h. */ | |
| 3504 #include <stdarg.h> | |
| 3505 #include <stdio.h> | |
| 3506 struct stat; | |
| 3507 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 3508 struct buf { int x; }; | |
| 3509 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 3510 static char *e (p, i) | |
| 3511 char **p; | |
| 3512 int i; | |
| 3513 { | |
| 3514 return p[i]; | |
| 3515 } | |
| 3516 static char *f (char * (*g) (char **, int), char **p, ...) | |
| 3517 { | |
| 3518 char *s; | |
| 3519 va_list v; | |
| 3520 va_start (v,p); | |
| 3521 s = g (p, va_arg (v,int)); | |
| 3522 va_end (v); | |
| 3523 return s; | |
| 3524 } | |
| 3525 | |
| 3526 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 3527 function prototypes and stuff, but not '\xHH' hex character constants. | |
| 3528 These don't provoke an error unfortunately, instead are silently treated | |
| 3529 as 'x'. The following induces an error, until -std is added to get | |
| 3530 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 3531 array size at least. It's necessary to write '\x00'==0 to get something | |
| 3532 that's true only with -std. */ | |
| 3533 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 3534 | |
| 3535 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 3536 inside strings and character constants. */ | |
| 3537 #define FOO(x) 'x' | |
| 3538 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 3539 | |
| 3540 int test (int i, double x); | |
| 3541 struct s1 {int (*f) (int a);}; | |
| 3542 struct s2 {int (*f) (double a);}; | |
| 3543 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| 3544 int argc; | |
| 3545 char **argv; | |
| 3546 int | |
| 3547 main () | |
| 3548 { | |
| 3549 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 3550 ; | |
| 3551 return 0; | |
| 3552 } | |
| 3553 _ACEOF | |
| 3554 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 3555 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 3556 do | |
| 3557 CC="$ac_save_CC $ac_arg" | |
| 3558 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3559 ac_cv_prog_cc_c89=$ac_arg | |
| 3560 fi | |
| 3561 rm -f core conftest.err conftest.$ac_objext | |
| 3562 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 3563 done | |
| 3564 rm -f conftest.$ac_ext | |
| 3565 CC=$ac_save_CC | |
| 3566 | |
| 3567 fi | |
| 3568 # AC_CACHE_VAL | |
| 3569 case "x$ac_cv_prog_cc_c89" in | |
| 3570 x) | |
| 3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
| 3572 $as_echo "none needed" >&6; } ;; | |
| 3573 xno) | |
| 3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
| 3575 $as_echo "unsupported" >&6; } ;; | |
| 3576 *) | |
| 3577 CC="$CC $ac_cv_prog_cc_c89" | |
| 3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
| 3579 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
| 3580 esac | |
| 3581 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
| 3582 | |
| 3583 fi | |
| 3584 | |
| 3585 ac_ext=c | |
| 3586 ac_cpp='$CPP $CPPFLAGS' | |
| 3587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3589 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3590 DEPDIR="${am__leading_dot}deps" | |
| 3591 | |
| 3592 ac_config_commands="$ac_config_commands depfiles" | |
| 3593 | |
| 3594 | |
| 3595 am_make=${MAKE-make} | |
| 3596 cat > confinc << 'END' | |
| 3597 am__doit: | |
| 3598 @echo this is the am__doit target | |
| 3599 .PHONY: am__doit | |
| 3600 END | |
| 3601 # If we don't find an include directive, just comment out the code. | |
| 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | |
| 3603 $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
| 3604 am__include="#" | |
| 3605 am__quote= | |
| 3606 _am_result=none | |
| 3607 # First try GNU make style include. | |
| 3608 echo "include confinc" > confmf | |
| 3609 # Ignore all kinds of additional output from 'make'. | |
| 3610 case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 3611 *the\ am__doit\ target*) | |
| 3612 am__include=include | |
| 3613 am__quote= | |
| 3614 _am_result=GNU | |
| 3615 ;; | |
| 3616 esac | |
| 3617 # Now try BSD make style include. | |
| 3618 if test "$am__include" = "#"; then | |
| 3619 echo '.include "confinc"' > confmf | |
| 3620 case `$am_make -s -f confmf 2> /dev/null` in #( | |
| 3621 *the\ am__doit\ target*) | |
| 3622 am__include=.include | |
| 3623 am__quote="\"" | |
| 3624 _am_result=BSD | |
| 3625 ;; | |
| 3626 esac | |
| 3627 fi | |
| 3628 | |
| 3629 | |
| 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
| 3631 $as_echo "$_am_result" >&6; } | |
| 3632 rm -f confinc confmf | |
| 3633 | |
| 3634 # Check whether --enable-dependency-tracking was given. | |
| 3635 if test "${enable_dependency_tracking+set}" = set; then : | |
| 3636 enableval=$enable_dependency_tracking; | |
| 3637 fi | |
| 3638 | |
| 3639 if test "x$enable_dependency_tracking" != xno; then | |
| 3640 am_depcomp="$ac_aux_dir/depcomp" | |
| 3641 AMDEPBACKSLASH='\' | |
| 3642 am__nodep='_no' | |
| 3643 fi | |
| 3644 if test "x$enable_dependency_tracking" != xno; then | |
| 3645 AMDEP_TRUE= | |
| 3646 AMDEP_FALSE='#' | |
| 3647 else | |
| 3648 AMDEP_TRUE='#' | |
| 3649 AMDEP_FALSE= | |
| 3650 fi | |
| 3651 | |
| 3652 | |
| 3653 | |
| 3654 depcc="$CC" am_compiler_list= | |
| 3655 | |
| 3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | |
| 3657 $as_echo_n "checking dependency style of $depcc... " >&6; } | |
| 3658 if ${am_cv_CC_dependencies_compiler_type+:} false; then : | |
| 3659 $as_echo_n "(cached) " >&6 | |
| 3660 else | |
| 3661 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
| 3662 # We make a subdir and do the tests there. Otherwise we can end up | |
| 3663 # making bogus files that we don't know about and never remove. For | |
| 3664 # instance it was reported that on HP-UX the gcc test will end up | |
| 3665 # making a dummy file named 'D' -- because '-MD' means "put the output | |
| 3666 # in D". | |
| 3667 rm -rf conftest.dir | |
| 3668 mkdir conftest.dir | |
| 3669 # Copy depcomp to subdir because otherwise we won't find it if we're | |
| 3670 # using a relative directory. | |
| 3671 cp "$am_depcomp" conftest.dir | |
| 3672 cd conftest.dir | |
| 3673 # We will build objects and dependencies in a subdirectory because | |
| 3674 # it helps to detect inapplicable dependency modes. For instance | |
| 3675 # both Tru64's cc and ICC support -MD to output dependencies as a | |
| 3676 # side effect of compilation, but ICC will put the dependencies in | |
| 3677 # the current directory while Tru64 will put them in the object | |
| 3678 # directory. | |
| 3679 mkdir sub | |
| 3680 | |
| 3681 am_cv_CC_dependencies_compiler_type=none | |
| 3682 if test "$am_compiler_list" = ""; then | |
| 3683 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
| 3684 fi | |
| 3685 am__universal=false | |
| 3686 case " $depcc " in #( | |
| 3687 *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
| 3688 esac | |
| 3689 | |
| 3690 for depmode in $am_compiler_list; do | |
| 3691 # Setup a source with many dependencies, because some compilers | |
| 3692 # like to wrap large dependency lists on column 80 (with \), and | |
| 3693 # we should not choose a depcomp mode which is confused by this. | |
| 3694 # | |
| 3695 # We need to recreate these files for each test, as the compiler may | |
| 3696 # overwrite some of them when testing with obscure command lines. | |
| 3697 # This happens at least with the AIX C compiler. | |
| 3698 : > sub/conftest.c | |
| 3699 for i in 1 2 3 4 5 6; do | |
| 3700 echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
| 3701 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with | |
| 3702 # Solaris 10 /bin/sh. | |
| 3703 echo '/* dummy */' > sub/conftst$i.h | |
| 3704 done | |
| 3705 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
| 3706 | |
| 3707 # We check with '-c' and '-o' for the sake of the "dashmstdout" | |
| 3708 # mode. It turns out that the SunPro C++ compiler does not properly | |
| 3709 # handle '-M -o', and we need to detect this. Also, some Intel | |
| 3710 # versions had trouble with output in subdirs. | |
| 3711 am__obj=sub/conftest.${OBJEXT-o} | |
| 3712 am__minus_obj="-o $am__obj" | |
| 3713 case $depmode in | |
| 3714 gcc) | |
| 3715 # This depmode causes a compiler race in universal mode. | |
| 3716 test "$am__universal" = false || continue | |
| 3717 ;; | |
| 3718 nosideeffect) | |
| 3719 # After this tag, mechanisms are not by side-effect, so they'll | |
| 3720 # only be used when explicitly requested. | |
| 3721 if test "x$enable_dependency_tracking" = xyes; then | |
| 3722 continue | |
| 3723 else | |
| 3724 break | |
| 3725 fi | |
| 3726 ;; | |
| 3727 msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
| 3728 # This compiler won't grok '-c -o', but also, the minuso test has | |
| 3729 # not run yet. These depmodes are late enough in the game, and | |
| 3730 # so weak that their functioning should not be impacted. | |
| 3731 am__obj=conftest.${OBJEXT-o} | |
| 3732 am__minus_obj= | |
| 3733 ;; | |
| 3734 none) break ;; | |
| 3735 esac | |
| 3736 if depmode=$depmode \ | |
| 3737 source=sub/conftest.c object=$am__obj \ | |
| 3738 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
| 3739 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
| 3740 >/dev/null 2>conftest.err && | |
| 3741 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3742 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
| 3743 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
| 3744 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
| 3745 # icc doesn't choke on unknown options, it will just issue warnings | |
| 3746 # or remarks (even with -Werror). So we grep stderr for any message | |
| 3747 # that says an option was ignored or not supported. | |
| 3748 # When given -MP, icc 7.0 and 7.1 complain thusly: | |
| 3749 # icc: Command line warning: ignoring option '-M'; no argument required | |
| 3750 # The diagnosis changed in icc 8.0: | |
| 3751 # icc: Command line remark: option '-MP' not supported | |
| 3752 if (grep 'ignoring option' conftest.err || | |
| 3753 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
| 3754 am_cv_CC_dependencies_compiler_type=$depmode | |
| 3755 break | |
| 3756 fi | |
| 3757 fi | |
| 3758 done | |
| 3759 | |
| 3760 cd .. | |
| 3761 rm -rf conftest.dir | |
| 3762 else | |
| 3763 am_cv_CC_dependencies_compiler_type=none | |
| 3764 fi | |
| 3765 | |
| 3766 fi | |
| 3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | |
| 3768 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
| 3769 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
| 3770 | |
| 3771 if | |
| 3772 test "x$enable_dependency_tracking" != xno \ | |
| 3773 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
| 3774 am__fastdepCC_TRUE= | |
| 3775 am__fastdepCC_FALSE='#' | |
| 3776 else | |
| 3777 am__fastdepCC_TRUE='#' | |
| 3778 am__fastdepCC_FALSE= | |
| 3779 fi | |
| 3780 | |
| 3781 | |
| 3782 | |
| 3783 ac_ext=c | |
| 3784 ac_cpp='$CPP $CPPFLAGS' | |
| 3785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3787 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
| 3789 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
| 1042 # On Suns, sometimes $CPP names a directory. | 3790 # On Suns, sometimes $CPP names a directory. |
| 1043 if test -n "$CPP" && test -d "$CPP"; then | 3791 if test -n "$CPP" && test -d "$CPP"; then |
| 1044 CPP= | 3792 CPP= |
| 1045 fi | 3793 fi |
| 1046 if test -z "$CPP"; then | 3794 if test -z "$CPP"; then |
| 1047 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then | 3795 if ${ac_cv_prog_CPP+:} false; then : |
| 1048 echo $ac_n "(cached) $ac_c" 1>&6 | 3796 $as_echo_n "(cached) " >&6 |
| 1049 else | 3797 else |
| 1050 # This must be in double quotes, not single quotes, because CPP may get | 3798 # Double quotes because CPP needs to be expanded |
| 1051 # substituted into the Makefile and "${CC-cc}" will confuse make. | 3799 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
| 1052 CPP="${CC-cc} -E" | 3800 do |
| 3801 ac_preproc_ok=false | |
| 3802 for ac_c_preproc_warn_flag in '' yes | |
| 3803 do | |
| 3804 # Use a header file that comes with gcc, so configuring glibc | |
| 3805 # with a fresh cross-compiler works. | |
| 3806 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3807 # <limits.h> exists even on freestanding compilers. | |
| 1053 # On the NeXT, cc -E runs the code through the compiler's parser, | 3808 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1054 # not just through cpp. | 3809 # not just through cpp. "Syntax error" is here to catch this case. |
| 1055 cat > conftest.$ac_ext <<EOF | 3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1056 #line 1057 "configure" | 3811 /* end confdefs.h. */ |
| 1057 #include "confdefs.h" | 3812 #ifdef __STDC__ |
| 1058 #include <assert.h> | 3813 # include <limits.h> |
| 1059 Syntax Error | 3814 #else |
| 1060 EOF | 3815 # include <assert.h> |
| 1061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3816 #endif |
| 1062 { (eval echo configure:1063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3817 Syntax error |
| 1063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3818 _ACEOF |
| 1064 if test -z "$ac_err"; then | 3819 if ac_fn_c_try_cpp "$LINENO"; then : |
| 1065 : | 3820 |
| 1066 else | 3821 else |
| 1067 echo "$ac_err" >&5 | 3822 # Broken: fails on valid input. |
| 1068 echo "configure: failed program was:" >&5 | 3823 continue |
| 1069 cat conftest.$ac_ext >&5 | 3824 fi |
| 1070 rm -rf conftest* | 3825 rm -f conftest.err conftest.i conftest.$ac_ext |
| 1071 CPP="${CC-cc} -E -traditional-cpp" | 3826 |
| 1072 cat > conftest.$ac_ext <<EOF | 3827 # OK, works on sane cases. Now check whether nonexistent headers |
| 1073 #line 1074 "configure" | 3828 # can be detected and how. |
| 1074 #include "confdefs.h" | 3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1075 #include <assert.h> | 3830 /* end confdefs.h. */ |
| 1076 Syntax Error | 3831 #include <ac_nonexistent.h> |
| 1077 EOF | 3832 _ACEOF |
| 1078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3833 if ac_fn_c_try_cpp "$LINENO"; then : |
| 1079 { (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3834 # Broken: success on invalid input. |
| 1080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3835 continue |
| 1081 if test -z "$ac_err"; then | 3836 else |
| 1082 : | 3837 # Passes both tests. |
| 1083 else | 3838 ac_preproc_ok=: |
| 1084 echo "$ac_err" >&5 | 3839 break |
| 1085 echo "configure: failed program was:" >&5 | 3840 fi |
| 1086 cat conftest.$ac_ext >&5 | 3841 rm -f conftest.err conftest.i conftest.$ac_ext |
| 1087 rm -rf conftest* | 3842 |
| 1088 CPP="${CC-cc} -nologo -E" | 3843 done |
| 1089 cat > conftest.$ac_ext <<EOF | 3844 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
| 1090 #line 1091 "configure" | 3845 rm -f conftest.i conftest.err conftest.$ac_ext |
| 1091 #include "confdefs.h" | 3846 if $ac_preproc_ok; then : |
| 1092 #include <assert.h> | 3847 break |
| 1093 Syntax Error | 3848 fi |
| 1094 EOF | 3849 |
| 1095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3850 done |
| 1096 { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3851 ac_cv_prog_CPP=$CPP |
| 1097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3852 |
| 1098 if test -z "$ac_err"; then | 3853 fi |
| 1099 : | 3854 CPP=$ac_cv_prog_CPP |
| 1100 else | 3855 else |
| 1101 echo "$ac_err" >&5 | 3856 ac_cv_prog_CPP=$CPP |
| 1102 echo "configure: failed program was:" >&5 | 3857 fi |
| 1103 cat conftest.$ac_ext >&5 | 3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
| 1104 rm -rf conftest* | 3859 $as_echo "$CPP" >&6; } |
| 1105 CPP=/lib/cpp | 3860 ac_preproc_ok=false |
| 1106 fi | 3861 for ac_c_preproc_warn_flag in '' yes |
| 1107 rm -f conftest* | 3862 do |
| 1108 fi | 3863 # Use a header file that comes with gcc, so configuring glibc |
| 1109 rm -f conftest* | 3864 # with a fresh cross-compiler works. |
| 1110 fi | 3865 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 1111 rm -f conftest* | 3866 # <limits.h> exists even on freestanding compilers. |
| 1112 ac_cv_prog_CPP="$CPP" | 3867 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1113 fi | 3868 # not just through cpp. "Syntax error" is here to catch this case. |
| 1114 CPP="$ac_cv_prog_CPP" | 3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1115 else | 3870 /* end confdefs.h. */ |
| 1116 ac_cv_prog_CPP="$CPP" | 3871 #ifdef __STDC__ |
| 1117 fi | 3872 # include <limits.h> |
| 1118 echo "$ac_t""$CPP" 1>&6 | 3873 #else |
| 1119 | 3874 # include <assert.h> |
| 1120 if test $ac_cv_prog_gcc = yes; then | 3875 #endif |
| 1121 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | 3876 Syntax error |
| 1122 echo "configure:1123: checking whether ${CC-cc} needs -traditional" >&5 | 3877 _ACEOF |
| 1123 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | 3878 if ac_fn_c_try_cpp "$LINENO"; then : |
| 1124 echo $ac_n "(cached) $ac_c" 1>&6 | 3879 |
| 3880 else | |
| 3881 # Broken: fails on valid input. | |
| 3882 continue | |
| 3883 fi | |
| 3884 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3885 | |
| 3886 # OK, works on sane cases. Now check whether nonexistent headers | |
| 3887 # can be detected and how. | |
| 3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3889 /* end confdefs.h. */ | |
| 3890 #include <ac_nonexistent.h> | |
| 3891 _ACEOF | |
| 3892 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3893 # Broken: success on invalid input. | |
| 3894 continue | |
| 3895 else | |
| 3896 # Passes both tests. | |
| 3897 ac_preproc_ok=: | |
| 3898 break | |
| 3899 fi | |
| 3900 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3901 | |
| 3902 done | |
| 3903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3904 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 3905 if $ac_preproc_ok; then : | |
| 3906 | |
| 3907 else | |
| 3908 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3910 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
| 3911 See \`config.log' for more details" "$LINENO" 5; } | |
| 3912 fi | |
| 3913 | |
| 3914 ac_ext=c | |
| 3915 ac_cpp='$CPP $CPPFLAGS' | |
| 3916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3918 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3919 | |
| 3920 | |
| 3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
| 3922 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
| 3923 if ${ac_cv_path_GREP+:} false; then : | |
| 3924 $as_echo_n "(cached) " >&6 | |
| 3925 else | |
| 3926 if test -z "$GREP"; then | |
| 3927 ac_path_GREP_found=false | |
| 3928 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3931 do | |
| 3932 IFS=$as_save_IFS | |
| 3933 test -z "$as_dir" && as_dir=. | |
| 3934 for ac_prog in grep ggrep; do | |
| 3935 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3937 as_fn_executable_p "$ac_path_GREP" || continue | |
| 3938 # Check for GNU ac_path_GREP and select it if it is found. | |
| 3939 # Check for GNU $ac_path_GREP | |
| 3940 case `"$ac_path_GREP" --version 2>&1` in | |
| 3941 *GNU*) | |
| 3942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
| 3943 *) | |
| 3944 ac_count=0 | |
| 3945 $as_echo_n 0123456789 >"conftest.in" | |
| 3946 while : | |
| 3947 do | |
| 3948 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3949 mv "conftest.tmp" "conftest.in" | |
| 3950 cp "conftest.in" "conftest.nl" | |
| 3951 $as_echo 'GREP' >> "conftest.nl" | |
| 3952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3954 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3955 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
| 3956 # Best one so far, save it but keep looking for a better one | |
| 3957 ac_cv_path_GREP="$ac_path_GREP" | |
| 3958 ac_path_GREP_max=$ac_count | |
| 3959 fi | |
| 3960 # 10*(2^10) chars as input seems more than enough | |
| 3961 test $ac_count -gt 10 && break | |
| 3962 done | |
| 3963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3964 esac | |
| 3965 | |
| 3966 $ac_path_GREP_found && break 3 | |
| 3967 done | |
| 3968 done | |
| 3969 done | |
| 3970 IFS=$as_save_IFS | |
| 3971 if test -z "$ac_cv_path_GREP"; then | |
| 3972 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 3973 fi | |
| 3974 else | |
| 3975 ac_cv_path_GREP=$GREP | |
| 3976 fi | |
| 3977 | |
| 3978 fi | |
| 3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
| 3980 $as_echo "$ac_cv_path_GREP" >&6; } | |
| 3981 GREP="$ac_cv_path_GREP" | |
| 3982 | |
| 3983 | |
| 3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
| 3985 $as_echo_n "checking for egrep... " >&6; } | |
| 3986 if ${ac_cv_path_EGREP+:} false; then : | |
| 3987 $as_echo_n "(cached) " >&6 | |
| 3988 else | |
| 3989 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
| 3990 then ac_cv_path_EGREP="$GREP -E" | |
| 3991 else | |
| 3992 if test -z "$EGREP"; then | |
| 3993 ac_path_EGREP_found=false | |
| 3994 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3996 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3997 do | |
| 3998 IFS=$as_save_IFS | |
| 3999 test -z "$as_dir" && as_dir=. | |
| 4000 for ac_prog in egrep; do | |
| 4001 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 4002 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 4003 as_fn_executable_p "$ac_path_EGREP" || continue | |
| 4004 # Check for GNU ac_path_EGREP and select it if it is found. | |
| 4005 # Check for GNU $ac_path_EGREP | |
| 4006 case `"$ac_path_EGREP" --version 2>&1` in | |
| 4007 *GNU*) | |
| 4008 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
| 4009 *) | |
| 4010 ac_count=0 | |
| 4011 $as_echo_n 0123456789 >"conftest.in" | |
| 4012 while : | |
| 4013 do | |
| 4014 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 4015 mv "conftest.tmp" "conftest.in" | |
| 4016 cp "conftest.in" "conftest.nl" | |
| 4017 $as_echo 'EGREP' >> "conftest.nl" | |
| 4018 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 4019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 4020 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 4021 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
| 4022 # Best one so far, save it but keep looking for a better one | |
| 4023 ac_cv_path_EGREP="$ac_path_EGREP" | |
| 4024 ac_path_EGREP_max=$ac_count | |
| 4025 fi | |
| 4026 # 10*(2^10) chars as input seems more than enough | |
| 4027 test $ac_count -gt 10 && break | |
| 4028 done | |
| 4029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 4030 esac | |
| 4031 | |
| 4032 $ac_path_EGREP_found && break 3 | |
| 4033 done | |
| 4034 done | |
| 4035 done | |
| 4036 IFS=$as_save_IFS | |
| 4037 if test -z "$ac_cv_path_EGREP"; then | |
| 4038 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 4039 fi | |
| 4040 else | |
| 4041 ac_cv_path_EGREP=$EGREP | |
| 4042 fi | |
| 4043 | |
| 4044 fi | |
| 4045 fi | |
| 4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
| 4047 $as_echo "$ac_cv_path_EGREP" >&6; } | |
| 4048 EGREP="$ac_cv_path_EGREP" | |
| 4049 | |
| 4050 | |
| 4051 if test $ac_cv_c_compiler_gnu = yes; then | |
| 4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 | |
| 4053 $as_echo_n "checking whether $CC needs -traditional... " >&6; } | |
| 4054 if ${ac_cv_prog_gcc_traditional+:} false; then : | |
| 4055 $as_echo_n "(cached) " >&6 | |
| 1125 else | 4056 else |
| 1126 ac_pattern="Autoconf.*'x'" | 4057 ac_pattern="Autoconf.*'x'" |
| 1127 cat > conftest.$ac_ext <<EOF | 4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1128 #line 1129 "configure" | 4059 /* end confdefs.h. */ |
| 1129 #include "confdefs.h" | |
| 1130 #include <sgtty.h> | 4060 #include <sgtty.h> |
| 1131 Autoconf TIOCGETP | 4061 Autoconf TIOCGETP |
| 1132 EOF | 4062 _ACEOF |
| 1133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1134 egrep "$ac_pattern" >/dev/null 2>&1; then | 4064 $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
| 1135 rm -rf conftest* | |
| 1136 ac_cv_prog_gcc_traditional=yes | 4065 ac_cv_prog_gcc_traditional=yes |
| 1137 else | 4066 else |
| 1138 rm -rf conftest* | |
| 1139 ac_cv_prog_gcc_traditional=no | 4067 ac_cv_prog_gcc_traditional=no |
| 1140 fi | 4068 fi |
| 1141 rm -f conftest* | 4069 rm -f conftest* |
| 1142 | 4070 |
| 1143 | 4071 |
| 1144 if test $ac_cv_prog_gcc_traditional = no; then | 4072 if test $ac_cv_prog_gcc_traditional = no; then |
| 1145 cat > conftest.$ac_ext <<EOF | 4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1146 #line 1147 "configure" | 4074 /* end confdefs.h. */ |
| 1147 #include "confdefs.h" | |
| 1148 #include <termio.h> | 4075 #include <termio.h> |
| 1149 Autoconf TCGETA | 4076 Autoconf TCGETA |
| 1150 EOF | 4077 _ACEOF |
| 1151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1152 egrep "$ac_pattern" >/dev/null 2>&1; then | 4079 $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
| 1153 rm -rf conftest* | |
| 1154 ac_cv_prog_gcc_traditional=yes | 4080 ac_cv_prog_gcc_traditional=yes |
| 1155 fi | 4081 fi |
| 1156 rm -f conftest* | 4082 rm -f conftest* |
| 1157 | 4083 |
| 1158 fi | 4084 fi |
| 1159 fi | 4085 fi |
| 1160 | 4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 |
| 1161 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 | 4087 $as_echo "$ac_cv_prog_gcc_traditional" >&6; } |
| 1162 if test $ac_cv_prog_gcc_traditional = yes; then | 4088 if test $ac_cv_prog_gcc_traditional = yes; then |
| 1163 CC="$CC -traditional" | 4089 CC="$CC -traditional" |
| 1164 fi | 4090 fi |
| 1165 fi | 4091 fi |
| 1166 | 4092 |
| 1167 # Find a good install program. We prefer a C program (faster), | 4093 |
| 1168 # so one script is as good as another. But avoid the broken or | 4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 1169 # incompatible versions: | 4095 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 1170 # SysV /etc/install, /usr/sbin/install | 4096 set x ${MAKE-make} |
| 1171 # SunOS /usr/etc/install | 4097 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 1172 # IRIX /sbin/install | 4098 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 1173 # AIX /bin/install | 4099 $as_echo_n "(cached) " >&6 |
| 1174 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 4100 else |
| 1175 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 4101 cat >conftest.make <<\_ACEOF |
| 1176 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 4102 SHELL = /bin/sh |
| 1177 # ./install, which can be erroneously created by make from ./install.sh. | |
| 1178 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | |
| 1179 echo "configure:1180: checking for a BSD compatible install" >&5 | |
| 1180 if test -z "$INSTALL"; then | |
| 1181 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | |
| 1182 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1183 else | |
| 1184 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | |
| 1185 for ac_dir in $PATH; do | |
| 1186 # Account for people who put trailing slashes in PATH elements. | |
| 1187 case "$ac_dir/" in | |
| 1188 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | |
| 1189 *) | |
| 1190 # OSF1 and SCO ODT 3.0 have their own names for install. | |
| 1191 # Don't use installbsd from OSF since it installs stuff as root | |
| 1192 # by default. | |
| 1193 for ac_prog in ginstall scoinst install; do | |
| 1194 if test -f $ac_dir/$ac_prog; then | |
| 1195 if test $ac_prog = install && | |
| 1196 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | |
| 1197 # AIX install. It has an incompatible calling convention. | |
| 1198 : | |
| 1199 else | |
| 1200 ac_cv_path_install="$ac_dir/$ac_prog -c" | |
| 1201 break 2 | |
| 1202 fi | |
| 1203 fi | |
| 1204 done | |
| 1205 ;; | |
| 1206 esac | |
| 1207 done | |
| 1208 IFS="$ac_save_IFS" | |
| 1209 | |
| 1210 fi | |
| 1211 if test "${ac_cv_path_install+set}" = set; then | |
| 1212 INSTALL="$ac_cv_path_install" | |
| 1213 else | |
| 1214 # As a last resort, use the slow shell script. We don't cache a | |
| 1215 # path for INSTALL within a source directory, because that will | |
| 1216 # break other packages using the cache if that directory is | |
| 1217 # removed, or if the path is relative. | |
| 1218 INSTALL="$ac_install_sh" | |
| 1219 fi | |
| 1220 fi | |
| 1221 echo "$ac_t""$INSTALL" 1>&6 | |
| 1222 | |
| 1223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
| 1224 # It thinks the first close brace ends the variable substitution. | |
| 1225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
| 1226 | |
| 1227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | |
| 1228 | |
| 1229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
| 1230 | |
| 1231 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
| 1232 echo "configure:1233: checking whether ${MAKE-make} sets \${MAKE}" >&5 | |
| 1233 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | |
| 1234 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
| 1235 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1236 else | |
| 1237 cat > conftestmake <<\EOF | |
| 1238 all: | 4103 all: |
| 1239 @echo 'ac_maketemp="${MAKE}"' | 4104 @echo '@@@%%%=$(MAKE)=@@@%%%' |
| 1240 EOF | 4105 _ACEOF |
| 1241 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 4106 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 1242 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | 4107 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 1243 if test -n "$ac_maketemp"; then | 4108 *@@@%%%=?*=@@@%%%*) |
| 1244 eval ac_cv_prog_make_${ac_make}_set=yes | 4109 eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 1245 else | 4110 *) |
| 1246 eval ac_cv_prog_make_${ac_make}_set=no | 4111 eval ac_cv_prog_make_${ac_make}_set=no;; |
| 1247 fi | 4112 esac |
| 1248 rm -f conftestmake | 4113 rm -f conftest.make |
| 1249 fi | 4114 fi |
| 1250 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 4115 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 1251 echo "$ac_t""yes" 1>&6 | 4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 4117 $as_echo "yes" >&6; } | |
| 1252 SET_MAKE= | 4118 SET_MAKE= |
| 1253 else | 4119 else |
| 1254 echo "$ac_t""no" 1>&6 | 4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4121 $as_echo "no" >&6; } | |
| 1255 SET_MAKE="MAKE=${MAKE-make}" | 4122 SET_MAKE="MAKE=${MAKE-make}" |
| 1256 fi | 4123 fi |
| 1257 | 4124 |
| 1258 | 4125 |
| 1259 # Extract the first word of "sendmail", so it can be a program name with args. | 4126 # Extract the first word of "sendmail", so it can be a program name with args. |
| 1260 set dummy sendmail; ac_word=$2 | 4127 set dummy sendmail; ac_word=$2 |
| 1261 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 1262 echo "configure:1263: checking for $ac_word" >&5 | 4129 $as_echo_n "checking for $ac_word... " >&6; } |
| 1263 if eval "test \"`echo '$''{'ac_cv_path_SENDMAILPROG'+set}'`\" = set"; then | 4130 if ${ac_cv_path_SENDMAILPROG+:} false; then : |
| 1264 echo $ac_n "(cached) $ac_c" 1>&6 | 4131 $as_echo_n "(cached) " >&6 |
| 1265 else | 4132 else |
| 1266 case "$SENDMAILPROG" in | 4133 case $SENDMAILPROG in |
| 1267 /*) | 4134 [\\/]* | ?:[\\/]*) |
| 1268 ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a path. | 4135 ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a path. |
| 1269 ;; | 4136 ;; |
| 1270 ?:/*) | |
| 1271 ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a dos path. | |
| 1272 ;; | |
| 1273 *) | 4137 *) |
| 1274 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1275 ac_dummy="/usr/sbin:/usr/lib:$PATH" | 4139 as_dummy="/usr/sbin:/usr/lib:$PATH" |
| 1276 for ac_dir in $ac_dummy; do | 4140 for as_dir in $as_dummy |
| 1277 test -z "$ac_dir" && ac_dir=. | 4141 do |
| 1278 if test -f $ac_dir/$ac_word; then | 4142 IFS=$as_save_IFS |
| 1279 ac_cv_path_SENDMAILPROG="$ac_dir/$ac_word" | 4143 test -z "$as_dir" && as_dir=. |
| 1280 break | 4144 for ac_exec_ext in '' $ac_executable_extensions; do |
| 1281 fi | 4145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 4146 ac_cv_path_SENDMAILPROG="$as_dir/$ac_word$ac_exec_ext" | |
| 4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 4148 break 2 | |
| 4149 fi | |
| 4150 done | |
| 1282 done | 4151 done |
| 1283 IFS="$ac_save_ifs" | 4152 IFS=$as_save_IFS |
| 4153 | |
| 1284 test -z "$ac_cv_path_SENDMAILPROG" && ac_cv_path_SENDMAILPROG="'notfound'" | 4154 test -z "$ac_cv_path_SENDMAILPROG" && ac_cv_path_SENDMAILPROG="'notfound'" |
| 1285 ;; | 4155 ;; |
| 1286 esac | 4156 esac |
| 1287 fi | 4157 fi |
| 1288 SENDMAILPROG="$ac_cv_path_SENDMAILPROG" | 4158 SENDMAILPROG=$ac_cv_path_SENDMAILPROG |
| 1289 if test -n "$SENDMAILPROG"; then | 4159 if test -n "$SENDMAILPROG"; then |
| 1290 echo "$ac_t""$SENDMAILPROG" 1>&6 | 4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAILPROG" >&5 |
| 1291 else | 4161 $as_echo "$SENDMAILPROG" >&6; } |
| 1292 echo "$ac_t""no" 1>&6 | 4162 else |
| 1293 fi | 4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 4164 $as_echo "no" >&6; } | |
| 4165 fi | |
| 4166 | |
| 1294 | 4167 |
| 1295 if test "x$SENDMAILPROG" = "xnotfound"; then | 4168 if test "x$SENDMAILPROG" = "xnotfound"; then |
| 1296 { echo "configure: error: sendmail program not found in /usr/lib:/usr/sbin:$PATH ." 1>&2; exit 1; } | 4169 as_fn_error $? "sendmail program not found in /usr/lib:/usr/sbin:$PATH ." "$LINENO" 5 |
| 1297 fi | 4170 fi |
| 1298 | 4171 |
| 1299 | 4172 |
| 1300 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 1301 echo "configure:1302: checking for AIX" >&5 | 4174 $as_echo_n "checking for ANSI C header files... " >&6; } |
| 1302 cat > conftest.$ac_ext <<EOF | 4175 if ${ac_cv_header_stdc+:} false; then : |
| 1303 #line 1304 "configure" | 4176 $as_echo_n "(cached) " >&6 |
| 1304 #include "confdefs.h" | 4177 else |
| 1305 #ifdef _AIX | 4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1306 yes | 4179 /* end confdefs.h. */ |
| 4180 #include <stdlib.h> | |
| 4181 #include <stdarg.h> | |
| 4182 #include <string.h> | |
| 4183 #include <float.h> | |
| 4184 | |
| 4185 int | |
| 4186 main () | |
| 4187 { | |
| 4188 | |
| 4189 ; | |
| 4190 return 0; | |
| 4191 } | |
| 4192 _ACEOF | |
| 4193 if ac_fn_c_try_compile "$LINENO"; then : | |
| 4194 ac_cv_header_stdc=yes | |
| 4195 else | |
| 4196 ac_cv_header_stdc=no | |
| 4197 fi | |
| 4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 4199 | |
| 4200 if test $ac_cv_header_stdc = yes; then | |
| 4201 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 4202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 4203 /* end confdefs.h. */ | |
| 4204 #include <string.h> | |
| 4205 | |
| 4206 _ACEOF | |
| 4207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 4208 $EGREP "memchr" >/dev/null 2>&1; then : | |
| 4209 | |
| 4210 else | |
| 4211 ac_cv_header_stdc=no | |
| 4212 fi | |
| 4213 rm -f conftest* | |
| 4214 | |
| 4215 fi | |
| 4216 | |
| 4217 if test $ac_cv_header_stdc = yes; then | |
| 4218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 4220 /* end confdefs.h. */ | |
| 4221 #include <stdlib.h> | |
| 4222 | |
| 4223 _ACEOF | |
| 4224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 4225 $EGREP "free" >/dev/null 2>&1; then : | |
| 4226 | |
| 4227 else | |
| 4228 ac_cv_header_stdc=no | |
| 4229 fi | |
| 4230 rm -f conftest* | |
| 4231 | |
| 4232 fi | |
| 4233 | |
| 4234 if test $ac_cv_header_stdc = yes; then | |
| 4235 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 4236 if test "$cross_compiling" = yes; then : | |
| 4237 : | |
| 4238 else | |
| 4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 4240 /* end confdefs.h. */ | |
| 4241 #include <ctype.h> | |
| 4242 #include <stdlib.h> | |
| 4243 #if ((' ' & 0x0FF) == 0x020) | |
| 4244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 4245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 4246 #else | |
| 4247 # define ISLOWER(c) \ | |
| 4248 (('a' <= (c) && (c) <= 'i') \ | |
| 4249 || ('j' <= (c) && (c) <= 'r') \ | |
| 4250 || ('s' <= (c) && (c) <= 'z')) | |
| 4251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 1307 #endif | 4252 #endif |
| 1308 | 4253 |
| 1309 EOF | 4254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 1310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4255 int |
| 1311 egrep "yes" >/dev/null 2>&1; then | 4256 main () |
| 1312 rm -rf conftest* | 4257 { |
| 1313 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 4258 int i; |
| 1314 #define _ALL_SOURCE 1 | 4259 for (i = 0; i < 256; i++) |
| 1315 EOF | 4260 if (XOR (islower (i), ISLOWER (i)) |
| 1316 | 4261 || toupper (i) != TOUPPER (i)) |
| 1317 else | 4262 return 2; |
| 1318 rm -rf conftest* | 4263 return 0; |
| 1319 echo "$ac_t""no" 1>&6 | 4264 } |
| 1320 fi | 4265 _ACEOF |
| 1321 rm -f conftest* | 4266 if ac_fn_c_try_run "$LINENO"; then : |
| 1322 | 4267 |
| 1323 | 4268 else |
| 1324 | 4269 ac_cv_header_stdc=no |
| 1325 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 | 4270 fi |
| 1326 echo "configure:1327: checking for strerror in -lcposix" >&5 | 4271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 1327 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` | 4272 conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1328 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4273 fi |
| 1329 echo $ac_n "(cached) $ac_c" 1>&6 | 4274 |
| 1330 else | 4275 fi |
| 1331 ac_save_LIBS="$LIBS" | 4276 fi |
| 1332 LIBS="-lcposix $LIBS" | 4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 1333 cat > conftest.$ac_ext <<EOF | 4278 $as_echo "$ac_cv_header_stdc" >&6; } |
| 1334 #line 1335 "configure" | 4279 if test $ac_cv_header_stdc = yes; then |
| 1335 #include "confdefs.h" | 4280 |
| 1336 /* Override any gcc2 internal prototype to avoid an error. */ | 4281 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 1337 /* We use char because int might match the return type of a gcc2 | 4282 |
| 1338 builtin and then its argument prototype would still apply. */ | 4283 fi |
| 1339 char strerror(); | 4284 |
| 1340 | 4285 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
| 1341 int main() { | 4286 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
| 1342 strerror() | 4287 inttypes.h stdint.h unistd.h |
| 1343 ; return 0; } | 4288 do : |
| 1344 EOF | 4289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 1345 if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4290 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
| 1346 rm -rf conftest* | 4291 " |
| 1347 eval "ac_cv_lib_$ac_lib_var=yes" | 4292 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 1348 else | 4293 cat >>confdefs.h <<_ACEOF |
| 1349 echo "configure: failed program was:" >&5 | 4294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 1350 cat conftest.$ac_ext >&5 | 4295 _ACEOF |
| 1351 rm -rf conftest* | 4296 |
| 1352 eval "ac_cv_lib_$ac_lib_var=no" | 4297 fi |
| 1353 fi | 4298 |
| 1354 rm -f conftest* | 4299 done |
| 1355 LIBS="$ac_save_LIBS" | 4300 |
| 1356 | 4301 |
| 1357 fi | 4302 |
| 1358 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 4303 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" |
| 1359 echo "$ac_t""yes" 1>&6 | 4304 if test "x$ac_cv_header_minix_config_h" = xyes; then : |
| 1360 LIBS="$LIBS -lcposix" | |
| 1361 else | |
| 1362 echo "$ac_t""no" 1>&6 | |
| 1363 fi | |
| 1364 | |
| 1365 | |
| 1366 | |
| 1367 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` | |
| 1368 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 | |
| 1369 echo "configure:1370: checking for minix/config.h" >&5 | |
| 1370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | |
| 1371 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1372 else | |
| 1373 cat > conftest.$ac_ext <<EOF | |
| 1374 #line 1375 "configure" | |
| 1375 #include "confdefs.h" | |
| 1376 #include <minix/config.h> | |
| 1377 EOF | |
| 1378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 1379 { (eval echo configure:1380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 1380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 1381 if test -z "$ac_err"; then | |
| 1382 rm -rf conftest* | |
| 1383 eval "ac_cv_header_$ac_safe=yes" | |
| 1384 else | |
| 1385 echo "$ac_err" >&5 | |
| 1386 echo "configure: failed program was:" >&5 | |
| 1387 cat conftest.$ac_ext >&5 | |
| 1388 rm -rf conftest* | |
| 1389 eval "ac_cv_header_$ac_safe=no" | |
| 1390 fi | |
| 1391 rm -f conftest* | |
| 1392 fi | |
| 1393 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 1394 echo "$ac_t""yes" 1>&6 | |
| 1395 MINIX=yes | 4305 MINIX=yes |
| 1396 else | 4306 else |
| 1397 echo "$ac_t""no" 1>&6 | 4307 MINIX= |
| 1398 MINIX= | 4308 fi |
| 1399 fi | 4309 |
| 1400 | 4310 |
| 1401 if test "$MINIX" = yes; then | 4311 if test "$MINIX" = yes; then |
| 1402 cat >> confdefs.h <<\EOF | 4312 |
| 1403 #define _POSIX_SOURCE 1 | 4313 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
| 1404 EOF | 4314 |
| 1405 | 4315 |
| 1406 cat >> confdefs.h <<\EOF | 4316 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
| 1407 #define _POSIX_1_SOURCE 2 | 4317 |
| 1408 EOF | 4318 |
| 1409 | 4319 $as_echo "#define _MINIX 1" >>confdefs.h |
| 1410 cat >> confdefs.h <<\EOF | 4320 |
| 1411 #define _MINIX 1 | 4321 fi |
| 1412 EOF | 4322 |
| 1413 | 4323 |
| 1414 fi | 4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 |
| 4325 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | |
| 4326 if ${ac_cv_safe_to_define___extensions__+:} false; then : | |
| 4327 $as_echo_n "(cached) " >&6 | |
| 4328 else | |
| 4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 4330 /* end confdefs.h. */ | |
| 4331 | |
| 4332 # define __EXTENSIONS__ 1 | |
| 4333 $ac_includes_default | |
| 4334 int | |
| 4335 main () | |
| 4336 { | |
| 4337 | |
| 4338 ; | |
| 4339 return 0; | |
| 4340 } | |
| 4341 _ACEOF | |
| 4342 if ac_fn_c_try_compile "$LINENO"; then : | |
| 4343 ac_cv_safe_to_define___extensions__=yes | |
| 4344 else | |
| 4345 ac_cv_safe_to_define___extensions__=no | |
| 4346 fi | |
| 4347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 4348 fi | |
| 4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 | |
| 4350 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | |
| 4351 test $ac_cv_safe_to_define___extensions__ = yes && | |
| 4352 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | |
| 4353 | |
| 4354 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | |
| 4355 | |
| 4356 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | |
| 4357 | |
| 4358 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | |
| 4359 | |
| 4360 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | |
| 4361 | |
| 4362 | |
| 4363 | |
| 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 | |
| 4365 $as_echo_n "checking for library containing strerror... " >&6; } | |
| 4366 if ${ac_cv_search_strerror+:} false; then : | |
| 4367 $as_echo_n "(cached) " >&6 | |
| 4368 else | |
| 4369 ac_func_search_save_LIBS=$LIBS | |
| 4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 4371 /* end confdefs.h. */ | |
| 4372 | |
| 4373 /* Override any GCC internal prototype to avoid an error. | |
| 4374 Use char because int might match the return type of a GCC | |
| 4375 builtin and then its argument prototype would still apply. */ | |
| 4376 #ifdef __cplusplus | |
| 4377 extern "C" | |
| 4378 #endif | |
| 4379 char strerror (); | |
| 4380 int | |
| 4381 main () | |
| 4382 { | |
| 4383 return strerror (); | |
| 4384 ; | |
| 4385 return 0; | |
| 4386 } | |
| 4387 _ACEOF | |
| 4388 for ac_lib in '' cposix; do | |
| 4389 if test -z "$ac_lib"; then | |
| 4390 ac_res="none required" | |
| 4391 else | |
| 4392 ac_res=-l$ac_lib | |
| 4393 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
| 4394 fi | |
| 4395 if ac_fn_c_try_link "$LINENO"; then : | |
| 4396 ac_cv_search_strerror=$ac_res | |
| 4397 fi | |
| 4398 rm -f core conftest.err conftest.$ac_objext \ | |
| 4399 conftest$ac_exeext | |
| 4400 if ${ac_cv_search_strerror+:} false; then : | |
| 4401 break | |
| 4402 fi | |
| 4403 done | |
| 4404 if ${ac_cv_search_strerror+:} false; then : | |
| 4405 | |
| 4406 else | |
| 4407 ac_cv_search_strerror=no | |
| 4408 fi | |
| 4409 rm conftest.$ac_ext | |
| 4410 LIBS=$ac_func_search_save_LIBS | |
| 4411 fi | |
| 4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 | |
| 4413 $as_echo "$ac_cv_search_strerror" >&6; } | |
| 4414 ac_res=$ac_cv_search_strerror | |
| 4415 if test "$ac_res" != no; then : | |
| 4416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
| 4417 | |
| 4418 fi | |
| 4419 | |
| 1415 | 4420 |
| 1416 | 4421 |
| 1417 | 4422 |
| 1418 | 4423 |
| 1419 # Whenever both -lsocket and -lnsl are needed, it seems to be always the | 4424 # Whenever both -lsocket and -lnsl are needed, it seems to be always the |
| 1422 # on SINIX-N 5.43, this is false, and gethostent seems to be a better | 4427 # on SINIX-N 5.43, this is false, and gethostent seems to be a better |
| 1423 # candidate. So, let's use it below instead of gethostbyname, and see. | 4428 # candidate. So, let's use it below instead of gethostbyname, and see. |
| 1424 | 4429 |
| 1425 # [ This is ripped from GNU tar. ] | 4430 # [ This is ripped from GNU tar. ] |
| 1426 | 4431 |
| 1427 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 | 4432 ac_fn_c_check_func "$LINENO" "gethostent" "ac_cv_func_gethostent" |
| 1428 echo "configure:1429: checking for gethostent" >&5 | 4433 if test "x$ac_cv_func_gethostent" = xyes; then : |
| 1429 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then | 4434 |
| 1430 echo $ac_n "(cached) $ac_c" 1>&6 | 4435 fi |
| 1431 else | 4436 |
| 1432 cat > conftest.$ac_ext <<EOF | 4437 if test $ac_cv_func_gethostent = no; then |
| 1433 #line 1434 "configure" | 4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostent in -lnsl" >&5 |
| 1434 #include "confdefs.h" | 4439 $as_echo_n "checking for gethostent in -lnsl... " >&6; } |
| 1435 /* System header to define __stub macros and hopefully few prototypes, | 4440 if ${ac_cv_lib_nsl_gethostent+:} false; then : |
| 1436 which can conflict with char gethostent(); below. */ | 4441 $as_echo_n "(cached) " >&6 |
| 1437 #include <assert.h> | 4442 else |
| 1438 /* Override any gcc2 internal prototype to avoid an error. */ | 4443 ac_check_lib_save_LIBS=$LIBS |
| 1439 /* We use char because int might match the return type of a gcc2 | 4444 LIBS="-lnsl $LIBS" |
| 1440 builtin and then its argument prototype would still apply. */ | 4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1441 char gethostent(); | 4446 /* end confdefs.h. */ |
| 1442 | 4447 |
| 1443 int main() { | 4448 /* Override any GCC internal prototype to avoid an error. |
| 1444 | 4449 Use char because int might match the return type of a GCC |
| 1445 /* The GNU C library defines this for functions which it implements | 4450 builtin and then its argument prototype would still apply. */ |
| 1446 to always fail with ENOSYS. Some functions are actually named | 4451 #ifdef __cplusplus |
| 1447 something starting with __ and the normal name is an alias. */ | 4452 extern "C" |
| 1448 #if defined (__stub_gethostent) || defined (__stub___gethostent) | |
| 1449 choke me | |
| 1450 #else | |
| 1451 gethostent(); | |
| 1452 #endif | 4453 #endif |
| 1453 | 4454 char gethostent (); |
| 1454 ; return 0; } | 4455 int |
| 1455 EOF | 4456 main () |
| 1456 if { (eval echo configure:1457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4457 { |
| 1457 rm -rf conftest* | 4458 return gethostent (); |
| 1458 eval "ac_cv_func_gethostent=yes" | 4459 ; |
| 1459 else | 4460 return 0; |
| 1460 echo "configure: failed program was:" >&5 | 4461 } |
| 1461 cat conftest.$ac_ext >&5 | 4462 _ACEOF |
| 1462 rm -rf conftest* | 4463 if ac_fn_c_try_link "$LINENO"; then : |
| 1463 eval "ac_cv_func_gethostent=no" | 4464 ac_cv_lib_nsl_gethostent=yes |
| 1464 fi | 4465 else |
| 1465 rm -f conftest* | 4466 ac_cv_lib_nsl_gethostent=no |
| 1466 fi | 4467 fi |
| 1467 | 4468 rm -f core conftest.err conftest.$ac_objext \ |
| 1468 if eval "test \"`echo '$ac_cv_func_'gethostent`\" = yes"; then | 4469 conftest$ac_exeext conftest.$ac_ext |
| 1469 echo "$ac_t""yes" 1>&6 | 4470 LIBS=$ac_check_lib_save_LIBS |
| 1470 : | 4471 fi |
| 1471 else | 4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostent" >&5 |
| 1472 echo "$ac_t""no" 1>&6 | 4473 $as_echo "$ac_cv_lib_nsl_gethostent" >&6; } |
| 1473 fi | 4474 if test "x$ac_cv_lib_nsl_gethostent" = xyes; then : |
| 1474 | 4475 cat >>confdefs.h <<_ACEOF |
| 1475 if test $ac_cv_func_gethostent = no; then | 4476 #define HAVE_LIBNSL 1 |
| 1476 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 | 4477 _ACEOF |
| 1477 echo "configure:1478: checking for gethostent in -lnsl" >&5 | |
| 1478 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` | |
| 1479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
| 1480 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1481 else | |
| 1482 ac_save_LIBS="$LIBS" | |
| 1483 LIBS="-lnsl $LIBS" | |
| 1484 cat > conftest.$ac_ext <<EOF | |
| 1485 #line 1486 "configure" | |
| 1486 #include "confdefs.h" | |
| 1487 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 1488 /* We use char because int might match the return type of a gcc2 | |
| 1489 builtin and then its argument prototype would still apply. */ | |
| 1490 char gethostent(); | |
| 1491 | |
| 1492 int main() { | |
| 1493 gethostent() | |
| 1494 ; return 0; } | |
| 1495 EOF | |
| 1496 if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 1497 rm -rf conftest* | |
| 1498 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 1499 else | |
| 1500 echo "configure: failed program was:" >&5 | |
| 1501 cat conftest.$ac_ext >&5 | |
| 1502 rm -rf conftest* | |
| 1503 eval "ac_cv_lib_$ac_lib_var=no" | |
| 1504 fi | |
| 1505 rm -f conftest* | |
| 1506 LIBS="$ac_save_LIBS" | |
| 1507 | |
| 1508 fi | |
| 1509 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| 1510 echo "$ac_t""yes" 1>&6 | |
| 1511 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
| 1512 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
| 1513 cat >> confdefs.h <<EOF | |
| 1514 #define $ac_tr_lib 1 | |
| 1515 EOF | |
| 1516 | 4478 |
| 1517 LIBS="-lnsl $LIBS" | 4479 LIBS="-lnsl $LIBS" |
| 1518 | 4480 |
| 1519 else | 4481 fi |
| 1520 echo "$ac_t""no" 1>&6 | 4482 |
| 1521 fi | 4483 fi |
| 1522 | 4484 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" |
| 1523 fi | 4485 if test "x$ac_cv_func_setsockopt" = xyes; then : |
| 1524 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 | 4486 |
| 1525 echo "configure:1526: checking for setsockopt" >&5 | 4487 fi |
| 1526 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then | 4488 |
| 1527 echo $ac_n "(cached) $ac_c" 1>&6 | 4489 if test $ac_cv_func_setsockopt = no; then |
| 1528 else | 4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 |
| 1529 cat > conftest.$ac_ext <<EOF | 4491 $as_echo_n "checking for setsockopt in -lsocket... " >&6; } |
| 1530 #line 1531 "configure" | 4492 if ${ac_cv_lib_socket_setsockopt+:} false; then : |
| 1531 #include "confdefs.h" | 4493 $as_echo_n "(cached) " >&6 |
| 1532 /* System header to define __stub macros and hopefully few prototypes, | 4494 else |
| 1533 which can conflict with char setsockopt(); below. */ | 4495 ac_check_lib_save_LIBS=$LIBS |
| 1534 #include <assert.h> | 4496 LIBS="-lsocket $LIBS" |
| 1535 /* Override any gcc2 internal prototype to avoid an error. */ | 4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1536 /* We use char because int might match the return type of a gcc2 | 4498 /* end confdefs.h. */ |
| 1537 builtin and then its argument prototype would still apply. */ | 4499 |
| 1538 char setsockopt(); | 4500 /* Override any GCC internal prototype to avoid an error. |
| 1539 | 4501 Use char because int might match the return type of a GCC |
| 1540 int main() { | 4502 builtin and then its argument prototype would still apply. */ |
| 1541 | 4503 #ifdef __cplusplus |
| 1542 /* The GNU C library defines this for functions which it implements | 4504 extern "C" |
| 1543 to always fail with ENOSYS. Some functions are actually named | |
| 1544 something starting with __ and the normal name is an alias. */ | |
| 1545 #if defined (__stub_setsockopt) || defined (__stub___setsockopt) | |
| 1546 choke me | |
| 1547 #else | |
| 1548 setsockopt(); | |
| 1549 #endif | 4505 #endif |
| 1550 | 4506 char setsockopt (); |
| 1551 ; return 0; } | 4507 int |
| 1552 EOF | 4508 main () |
| 1553 if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4509 { |
| 1554 rm -rf conftest* | 4510 return setsockopt (); |
| 1555 eval "ac_cv_func_setsockopt=yes" | 4511 ; |
| 1556 else | 4512 return 0; |
| 1557 echo "configure: failed program was:" >&5 | 4513 } |
| 1558 cat conftest.$ac_ext >&5 | 4514 _ACEOF |
| 1559 rm -rf conftest* | 4515 if ac_fn_c_try_link "$LINENO"; then : |
| 1560 eval "ac_cv_func_setsockopt=no" | 4516 ac_cv_lib_socket_setsockopt=yes |
| 1561 fi | 4517 else |
| 1562 rm -f conftest* | 4518 ac_cv_lib_socket_setsockopt=no |
| 1563 fi | 4519 fi |
| 1564 | 4520 rm -f core conftest.err conftest.$ac_objext \ |
| 1565 if eval "test \"`echo '$ac_cv_func_'setsockopt`\" = yes"; then | 4521 conftest$ac_exeext conftest.$ac_ext |
| 1566 echo "$ac_t""yes" 1>&6 | 4522 LIBS=$ac_check_lib_save_LIBS |
| 1567 : | 4523 fi |
| 1568 else | 4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 |
| 1569 echo "$ac_t""no" 1>&6 | 4525 $as_echo "$ac_cv_lib_socket_setsockopt" >&6; } |
| 1570 fi | 4526 if test "x$ac_cv_lib_socket_setsockopt" = xyes; then : |
| 1571 | 4527 cat >>confdefs.h <<_ACEOF |
| 1572 if test $ac_cv_func_setsockopt = no; then | 4528 #define HAVE_LIBSOCKET 1 |
| 1573 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 | 4529 _ACEOF |
| 1574 echo "configure:1575: checking for setsockopt in -lsocket" >&5 | |
| 1575 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` | |
| 1576 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
| 1577 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1578 else | |
| 1579 ac_save_LIBS="$LIBS" | |
| 1580 LIBS="-lsocket $LIBS" | |
| 1581 cat > conftest.$ac_ext <<EOF | |
| 1582 #line 1583 "configure" | |
| 1583 #include "confdefs.h" | |
| 1584 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 1585 /* We use char because int might match the return type of a gcc2 | |
| 1586 builtin and then its argument prototype would still apply. */ | |
| 1587 char setsockopt(); | |
| 1588 | |
| 1589 int main() { | |
| 1590 setsockopt() | |
| 1591 ; return 0; } | |
| 1592 EOF | |
| 1593 if { (eval echo configure:1594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 1594 rm -rf conftest* | |
| 1595 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 1596 else | |
| 1597 echo "configure: failed program was:" >&5 | |
| 1598 cat conftest.$ac_ext >&5 | |
| 1599 rm -rf conftest* | |
| 1600 eval "ac_cv_lib_$ac_lib_var=no" | |
| 1601 fi | |
| 1602 rm -f conftest* | |
| 1603 LIBS="$ac_save_LIBS" | |
| 1604 | |
| 1605 fi | |
| 1606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| 1607 echo "$ac_t""yes" 1>&6 | |
| 1608 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | |
| 1609 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | |
| 1610 cat >> confdefs.h <<EOF | |
| 1611 #define $ac_tr_lib 1 | |
| 1612 EOF | |
| 1613 | 4530 |
| 1614 LIBS="-lsocket $LIBS" | 4531 LIBS="-lsocket $LIBS" |
| 1615 | 4532 |
| 1616 else | 4533 fi |
| 1617 echo "$ac_t""no" 1>&6 | 4534 |
| 1618 fi | 4535 fi |
| 1619 | 4536 |
| 1620 fi | 4537 |
| 1621 | 4538 # Check whether --with-gdbm-include was given. |
| 1622 # Check whether --with-gdbm-include or --without-gdbm-include was given. | 4539 if test "${with_gdbm_include+set}" = set; then : |
| 1623 if test "${with_gdbm_include+set}" = set; then | 4540 withval=$with_gdbm_include; CPPFLAGS="$CFLAGS -I$withval" |
| 1624 withval="$with_gdbm_include" | 4541 |
| 1625 CPPFLAGS="$CFLAGS -I$withval" | 4542 fi |
| 1626 | 4543 |
| 1627 fi | 4544 |
| 1628 | 4545 # Check whether --with-gdbm-libdir was given. |
| 1629 # Check whether --with-gdbm-libdir or --without-gdbm-libdir was given. | 4546 if test "${with_gdbm_libdir+set}" = set; then : |
| 1630 if test "${with_gdbm_libdir+set}" = set; then | 4547 withval=$with_gdbm_libdir; LIBS="$LIBS -L$withval" |
| 1631 withval="$with_gdbm_libdir" | 4548 |
| 1632 LIBS="$LIBS -L$withval" | 4549 fi |
| 1633 | 4550 |
| 1634 fi | 4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdbm_open in -lgdbm" >&5 |
| 1635 | 4552 $as_echo_n "checking for gdbm_open in -lgdbm... " >&6; } |
| 1636 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 | 4553 if ${ac_cv_lib_gdbm_gdbm_open+:} false; then : |
| 1637 echo "configure:1638: checking for gdbm_open in -lgdbm" >&5 | 4554 $as_echo_n "(cached) " >&6 |
| 1638 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` | 4555 else |
| 1639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4556 ac_check_lib_save_LIBS=$LIBS |
| 1640 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1641 else | |
| 1642 ac_save_LIBS="$LIBS" | |
| 1643 LIBS="-lgdbm $LIBS" | 4557 LIBS="-lgdbm $LIBS" |
| 1644 cat > conftest.$ac_ext <<EOF | 4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1645 #line 1646 "configure" | 4559 /* end confdefs.h. */ |
| 1646 #include "confdefs.h" | 4560 |
| 1647 /* Override any gcc2 internal prototype to avoid an error. */ | 4561 /* Override any GCC internal prototype to avoid an error. |
| 1648 /* We use char because int might match the return type of a gcc2 | 4562 Use char because int might match the return type of a GCC |
| 1649 builtin and then its argument prototype would still apply. */ | 4563 builtin and then its argument prototype would still apply. */ |
| 1650 char gdbm_open(); | 4564 #ifdef __cplusplus |
| 1651 | 4565 extern "C" |
| 1652 int main() { | 4566 #endif |
| 1653 gdbm_open() | 4567 char gdbm_open (); |
| 1654 ; return 0; } | 4568 int |
| 1655 EOF | 4569 main () |
| 1656 if { (eval echo configure:1657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4570 { |
| 1657 rm -rf conftest* | 4571 return gdbm_open (); |
| 1658 eval "ac_cv_lib_$ac_lib_var=yes" | 4572 ; |
| 1659 else | 4573 return 0; |
| 1660 echo "configure: failed program was:" >&5 | 4574 } |
| 1661 cat conftest.$ac_ext >&5 | 4575 _ACEOF |
| 1662 rm -rf conftest* | 4576 if ac_fn_c_try_link "$LINENO"; then : |
| 1663 eval "ac_cv_lib_$ac_lib_var=no" | 4577 ac_cv_lib_gdbm_gdbm_open=yes |
| 1664 fi | 4578 else |
| 1665 rm -f conftest* | 4579 ac_cv_lib_gdbm_gdbm_open=no |
| 1666 LIBS="$ac_save_LIBS" | 4580 fi |
| 1667 | 4581 rm -f core conftest.err conftest.$ac_objext \ |
| 1668 fi | 4582 conftest$ac_exeext conftest.$ac_ext |
| 1669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 4583 LIBS=$ac_check_lib_save_LIBS |
| 1670 echo "$ac_t""yes" 1>&6 | 4584 fi |
| 1671 ac_safe=`echo "gdbm.h" | sed 'y%./+-%__p_%'` | 4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_gdbm_open" >&5 |
| 1672 echo $ac_n "checking for gdbm.h""... $ac_c" 1>&6 | 4586 $as_echo "$ac_cv_lib_gdbm_gdbm_open" >&6; } |
| 1673 echo "configure:1674: checking for gdbm.h" >&5 | 4587 if test "x$ac_cv_lib_gdbm_gdbm_open" = xyes; then : |
| 1674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4588 ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default" |
| 1675 echo $ac_n "(cached) $ac_c" 1>&6 | 4589 if test "x$ac_cv_header_gdbm_h" = xyes; then : |
| 1676 else | 4590 |
| 1677 cat > conftest.$ac_ext <<EOF | 4591 else |
| 1678 #line 1679 "configure" | 4592 as_fn_error $? "cannot find gdbm.h" "$LINENO" 5 |
| 1679 #include "confdefs.h" | 4593 fi |
| 1680 #include <gdbm.h> | 4594 |
| 1681 EOF | 4595 |
| 1682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4596 else |
| 1683 { (eval echo configure:1684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4597 as_fn_error $? "cannot find libgdbm" "$LINENO" 5 |
| 1684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4598 fi |
| 1685 if test -z "$ac_err"; then | 4599 |
| 1686 rm -rf conftest* | 4600 |
| 1687 eval "ac_cv_header_$ac_safe=yes" | 4601 |
| 1688 else | 4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
| 1689 echo "$ac_err" >&5 | 4603 $as_echo_n "checking for ANSI C header files... " >&6; } |
| 1690 echo "configure: failed program was:" >&5 | 4604 if ${ac_cv_header_stdc+:} false; then : |
| 1691 cat conftest.$ac_ext >&5 | 4605 $as_echo_n "(cached) " >&6 |
| 1692 rm -rf conftest* | 4606 else |
| 1693 eval "ac_cv_header_$ac_safe=no" | 4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1694 fi | 4608 /* end confdefs.h. */ |
| 1695 rm -f conftest* | |
| 1696 fi | |
| 1697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 1698 echo "$ac_t""yes" 1>&6 | |
| 1699 : | |
| 1700 else | |
| 1701 echo "$ac_t""no" 1>&6 | |
| 1702 { echo "configure: error: cannot find gdbm.h" 1>&2; exit 1; } | |
| 1703 fi | |
| 1704 | |
| 1705 else | |
| 1706 echo "$ac_t""no" 1>&6 | |
| 1707 { echo "configure: error: cannot find libgdbm" 1>&2; exit 1; } | |
| 1708 fi | |
| 1709 | |
| 1710 | |
| 1711 | |
| 1712 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | |
| 1713 echo "configure:1714: checking for ANSI C header files" >&5 | |
| 1714 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | |
| 1715 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1716 else | |
| 1717 cat > conftest.$ac_ext <<EOF | |
| 1718 #line 1719 "configure" | |
| 1719 #include "confdefs.h" | |
| 1720 #include <stdlib.h> | 4609 #include <stdlib.h> |
| 1721 #include <stdarg.h> | 4610 #include <stdarg.h> |
| 1722 #include <string.h> | 4611 #include <string.h> |
| 1723 #include <float.h> | 4612 #include <float.h> |
| 1724 EOF | 4613 |
| 1725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4614 int |
| 1726 { (eval echo configure:1727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4615 main () |
| 1727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4616 { |
| 1728 if test -z "$ac_err"; then | 4617 |
| 1729 rm -rf conftest* | 4618 ; |
| 4619 return 0; | |
| 4620 } | |
| 4621 _ACEOF | |
| 4622 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1730 ac_cv_header_stdc=yes | 4623 ac_cv_header_stdc=yes |
| 1731 else | 4624 else |
| 1732 echo "$ac_err" >&5 | |
| 1733 echo "configure: failed program was:" >&5 | |
| 1734 cat conftest.$ac_ext >&5 | |
| 1735 rm -rf conftest* | |
| 1736 ac_cv_header_stdc=no | 4625 ac_cv_header_stdc=no |
| 1737 fi | 4626 fi |
| 1738 rm -f conftest* | 4627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1739 | 4628 |
| 1740 if test $ac_cv_header_stdc = yes; then | 4629 if test $ac_cv_header_stdc = yes; then |
| 1741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4630 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 1742 cat > conftest.$ac_ext <<EOF | 4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1743 #line 1744 "configure" | 4632 /* end confdefs.h. */ |
| 1744 #include "confdefs.h" | |
| 1745 #include <string.h> | 4633 #include <string.h> |
| 1746 EOF | 4634 |
| 4635 _ACEOF | |
| 1747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1748 egrep "memchr" >/dev/null 2>&1; then | 4637 $EGREP "memchr" >/dev/null 2>&1; then : |
| 1749 : | 4638 |
| 1750 else | 4639 else |
| 1751 rm -rf conftest* | |
| 1752 ac_cv_header_stdc=no | 4640 ac_cv_header_stdc=no |
| 1753 fi | 4641 fi |
| 1754 rm -f conftest* | 4642 rm -f conftest* |
| 1755 | 4643 |
| 1756 fi | 4644 fi |
| 1757 | 4645 |
| 1758 if test $ac_cv_header_stdc = yes; then | 4646 if test $ac_cv_header_stdc = yes; then |
| 1759 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4647 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 1760 cat > conftest.$ac_ext <<EOF | 4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1761 #line 1762 "configure" | 4649 /* end confdefs.h. */ |
| 1762 #include "confdefs.h" | |
| 1763 #include <stdlib.h> | 4650 #include <stdlib.h> |
| 1764 EOF | 4651 |
| 4652 _ACEOF | |
| 1765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1766 egrep "free" >/dev/null 2>&1; then | 4654 $EGREP "free" >/dev/null 2>&1; then : |
| 1767 : | 4655 |
| 1768 else | 4656 else |
| 1769 rm -rf conftest* | |
| 1770 ac_cv_header_stdc=no | 4657 ac_cv_header_stdc=no |
| 1771 fi | 4658 fi |
| 1772 rm -f conftest* | 4659 rm -f conftest* |
| 1773 | 4660 |
| 1774 fi | 4661 fi |
| 1775 | 4662 |
| 1776 if test $ac_cv_header_stdc = yes; then | 4663 if test $ac_cv_header_stdc = yes; then |
| 1777 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 1778 if test "$cross_compiling" = yes; then | 4665 if test "$cross_compiling" = yes; then : |
| 1779 : | 4666 : |
| 1780 else | 4667 else |
| 1781 cat > conftest.$ac_ext <<EOF | 4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1782 #line 1783 "configure" | 4669 /* end confdefs.h. */ |
| 1783 #include "confdefs.h" | |
| 1784 #include <ctype.h> | 4670 #include <ctype.h> |
| 1785 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4671 #include <stdlib.h> |
| 1786 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 4672 #if ((' ' & 0x0FF) == 0x020) |
| 4673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 4674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 4675 #else | |
| 4676 # define ISLOWER(c) \ | |
| 4677 (('a' <= (c) && (c) <= 'i') \ | |
| 4678 || ('j' <= (c) && (c) <= 'r') \ | |
| 4679 || ('s' <= (c) && (c) <= 'z')) | |
| 4680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 4681 #endif | |
| 4682 | |
| 1787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 4683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 1788 int main () { int i; for (i = 0; i < 256; i++) | 4684 int |
| 1789 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 4685 main () |
| 1790 exit (0); } | 4686 { |
| 1791 | 4687 int i; |
| 1792 EOF | 4688 for (i = 0; i < 256; i++) |
| 1793 if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4689 if (XOR (islower (i), ISLOWER (i)) |
| 1794 then | 4690 || toupper (i) != TOUPPER (i)) |
| 1795 : | 4691 return 2; |
| 1796 else | 4692 return 0; |
| 1797 echo "configure: failed program was:" >&5 | 4693 } |
| 1798 cat conftest.$ac_ext >&5 | 4694 _ACEOF |
| 1799 rm -fr conftest* | 4695 if ac_fn_c_try_run "$LINENO"; then : |
| 4696 | |
| 4697 else | |
| 1800 ac_cv_header_stdc=no | 4698 ac_cv_header_stdc=no |
| 1801 fi | 4699 fi |
| 1802 rm -fr conftest* | 4700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 1803 fi | 4701 conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 1804 | 4702 fi |
| 1805 fi | 4703 |
| 1806 fi | 4704 fi |
| 1807 | 4705 fi |
| 1808 echo "$ac_t""$ac_cv_header_stdc" 1>&6 | 4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
| 4707 $as_echo "$ac_cv_header_stdc" >&6; } | |
| 1809 if test $ac_cv_header_stdc = yes; then | 4708 if test $ac_cv_header_stdc = yes; then |
| 1810 cat >> confdefs.h <<\EOF | 4709 |
| 1811 #define STDC_HEADERS 1 | 4710 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
| 1812 EOF | |
| 1813 | 4711 |
| 1814 fi | 4712 fi |
| 1815 | 4713 |
| 1816 ac_header_dirent=no | 4714 ac_header_dirent=no |
| 1817 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 4715 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
| 1818 do | 4716 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
| 1819 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
| 1820 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 4718 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
| 1821 echo "configure:1822: checking for $ac_hdr that defines DIR" >&5 | 4719 if eval \${$as_ac_Header+:} false; then : |
| 1822 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 4720 $as_echo_n "(cached) " >&6 |
| 1823 echo $ac_n "(cached) $ac_c" 1>&6 | 4721 else |
| 1824 else | 4722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1825 cat > conftest.$ac_ext <<EOF | 4723 /* end confdefs.h. */ |
| 1826 #line 1827 "configure" | |
| 1827 #include "confdefs.h" | |
| 1828 #include <sys/types.h> | 4724 #include <sys/types.h> |
| 1829 #include <$ac_hdr> | 4725 #include <$ac_hdr> |
| 1830 int main() { | 4726 |
| 1831 DIR *dirp = 0; | 4727 int |
| 1832 ; return 0; } | 4728 main () |
| 1833 EOF | 4729 { |
| 1834 if { (eval echo configure:1835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4730 if ((DIR *) 0) |
| 1835 rm -rf conftest* | 4731 return 0; |
| 1836 eval "ac_cv_header_dirent_$ac_safe=yes" | 4732 ; |
| 1837 else | 4733 return 0; |
| 1838 echo "configure: failed program was:" >&5 | 4734 } |
| 1839 cat conftest.$ac_ext >&5 | 4735 _ACEOF |
| 1840 rm -rf conftest* | 4736 if ac_fn_c_try_compile "$LINENO"; then : |
| 1841 eval "ac_cv_header_dirent_$ac_safe=no" | 4737 eval "$as_ac_Header=yes" |
| 1842 fi | 4738 else |
| 1843 rm -f conftest* | 4739 eval "$as_ac_Header=no" |
| 1844 fi | 4740 fi |
| 1845 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then | 4741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 1846 echo "$ac_t""yes" 1>&6 | 4742 fi |
| 1847 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | 4743 eval ac_res=\$$as_ac_Header |
| 1848 cat >> confdefs.h <<EOF | 4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 1849 #define $ac_tr_hdr 1 | 4745 $as_echo "$ac_res" >&6; } |
| 1850 EOF | 4746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 1851 ac_header_dirent=$ac_hdr; break | 4747 cat >>confdefs.h <<_ACEOF |
| 1852 else | 4748 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
| 1853 echo "$ac_t""no" 1>&6 | 4749 _ACEOF |
| 1854 fi | 4750 |
| 4751 ac_header_dirent=$ac_hdr; break | |
| 4752 fi | |
| 4753 | |
| 1855 done | 4754 done |
| 1856 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 4755 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| 1857 if test $ac_header_dirent = dirent.h; then | 4756 if test $ac_header_dirent = dirent.h; then |
| 1858 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
| 1859 echo "configure:1860: checking for opendir in -ldir" >&5 | 4758 $as_echo_n "checking for library containing opendir... " >&6; } |
| 1860 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 4759 if ${ac_cv_search_opendir+:} false; then : |
| 1861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4760 $as_echo_n "(cached) " >&6 |
| 1862 echo $ac_n "(cached) $ac_c" 1>&6 | 4761 else |
| 1863 else | 4762 ac_func_search_save_LIBS=$LIBS |
| 1864 ac_save_LIBS="$LIBS" | 4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 1865 LIBS="-ldir $LIBS" | 4764 /* end confdefs.h. */ |
| 1866 cat > conftest.$ac_ext <<EOF | 4765 |
| 1867 #line 1868 "configure" | 4766 /* Override any GCC internal prototype to avoid an error. |
| 1868 #include "confdefs.h" | 4767 Use char because int might match the return type of a GCC |
| 1869 /* Override any gcc2 internal prototype to avoid an error. */ | 4768 builtin and then its argument prototype would still apply. */ |
| 1870 /* We use char because int might match the return type of a gcc2 | 4769 #ifdef __cplusplus |
| 1871 builtin and then its argument prototype would still apply. */ | 4770 extern "C" |
| 1872 char opendir(); | 4771 #endif |
| 1873 | 4772 char opendir (); |
| 1874 int main() { | 4773 int |
| 1875 opendir() | 4774 main () |
| 1876 ; return 0; } | 4775 { |
| 1877 EOF | 4776 return opendir (); |
| 1878 if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4777 ; |
| 1879 rm -rf conftest* | 4778 return 0; |
| 1880 eval "ac_cv_lib_$ac_lib_var=yes" | 4779 } |
| 1881 else | 4780 _ACEOF |
| 1882 echo "configure: failed program was:" >&5 | 4781 for ac_lib in '' dir; do |
| 1883 cat conftest.$ac_ext >&5 | 4782 if test -z "$ac_lib"; then |
| 1884 rm -rf conftest* | 4783 ac_res="none required" |
| 1885 eval "ac_cv_lib_$ac_lib_var=no" | 4784 else |
| 1886 fi | 4785 ac_res=-l$ac_lib |
| 1887 rm -f conftest* | 4786 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 1888 LIBS="$ac_save_LIBS" | 4787 fi |
| 1889 | 4788 if ac_fn_c_try_link "$LINENO"; then : |
| 1890 fi | 4789 ac_cv_search_opendir=$ac_res |
| 1891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 4790 fi |
| 1892 echo "$ac_t""yes" 1>&6 | 4791 rm -f core conftest.err conftest.$ac_objext \ |
| 1893 LIBS="$LIBS -ldir" | 4792 conftest$ac_exeext |
| 1894 else | 4793 if ${ac_cv_search_opendir+:} false; then : |
| 1895 echo "$ac_t""no" 1>&6 | 4794 break |
| 1896 fi | |
| 1897 | |
| 1898 else | |
| 1899 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | |
| 1900 echo "configure:1901: checking for opendir in -lx" >&5 | |
| 1901 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | |
| 1902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
| 1903 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1904 else | |
| 1905 ac_save_LIBS="$LIBS" | |
| 1906 LIBS="-lx $LIBS" | |
| 1907 cat > conftest.$ac_ext <<EOF | |
| 1908 #line 1909 "configure" | |
| 1909 #include "confdefs.h" | |
| 1910 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 1911 /* We use char because int might match the return type of a gcc2 | |
| 1912 builtin and then its argument prototype would still apply. */ | |
| 1913 char opendir(); | |
| 1914 | |
| 1915 int main() { | |
| 1916 opendir() | |
| 1917 ; return 0; } | |
| 1918 EOF | |
| 1919 if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 1920 rm -rf conftest* | |
| 1921 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 1922 else | |
| 1923 echo "configure: failed program was:" >&5 | |
| 1924 cat conftest.$ac_ext >&5 | |
| 1925 rm -rf conftest* | |
| 1926 eval "ac_cv_lib_$ac_lib_var=no" | |
| 1927 fi | |
| 1928 rm -f conftest* | |
| 1929 LIBS="$ac_save_LIBS" | |
| 1930 | |
| 1931 fi | |
| 1932 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| 1933 echo "$ac_t""yes" 1>&6 | |
| 1934 LIBS="$LIBS -lx" | |
| 1935 else | |
| 1936 echo "$ac_t""no" 1>&6 | |
| 1937 fi | |
| 1938 | |
| 1939 fi | |
| 1940 | |
| 1941 for ac_hdr in syslog.h sys/resource.h sys/utsname.h | |
| 1942 do | |
| 1943 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | |
| 1944 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | |
| 1945 echo "configure:1946: checking for $ac_hdr" >&5 | |
| 1946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | |
| 1947 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1948 else | |
| 1949 cat > conftest.$ac_ext <<EOF | |
| 1950 #line 1951 "configure" | |
| 1951 #include "confdefs.h" | |
| 1952 #include <$ac_hdr> | |
| 1953 EOF | |
| 1954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 1955 { (eval echo configure:1956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 1956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 1957 if test -z "$ac_err"; then | |
| 1958 rm -rf conftest* | |
| 1959 eval "ac_cv_header_$ac_safe=yes" | |
| 1960 else | |
| 1961 echo "$ac_err" >&5 | |
| 1962 echo "configure: failed program was:" >&5 | |
| 1963 cat conftest.$ac_ext >&5 | |
| 1964 rm -rf conftest* | |
| 1965 eval "ac_cv_header_$ac_safe=no" | |
| 1966 fi | |
| 1967 rm -f conftest* | |
| 1968 fi | |
| 1969 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 1970 echo "$ac_t""yes" 1>&6 | |
| 1971 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
| 1972 cat >> confdefs.h <<EOF | |
| 1973 #define $ac_tr_hdr 1 | |
| 1974 EOF | |
| 1975 | |
| 1976 else | |
| 1977 echo "$ac_t""no" 1>&6 | |
| 1978 fi | 4795 fi |
| 1979 done | 4796 done |
| 1980 | 4797 if ${ac_cv_search_opendir+:} false; then : |
| 1981 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h | 4798 |
| 1982 do | 4799 else |
| 1983 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4800 ac_cv_search_opendir=no |
| 1984 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4801 fi |
| 1985 echo "configure:1986: checking for $ac_hdr" >&5 | 4802 rm conftest.$ac_ext |
| 1986 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4803 LIBS=$ac_func_search_save_LIBS |
| 1987 echo $ac_n "(cached) $ac_c" 1>&6 | 4804 fi |
| 1988 else | 4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
| 1989 cat > conftest.$ac_ext <<EOF | 4806 $as_echo "$ac_cv_search_opendir" >&6; } |
| 1990 #line 1991 "configure" | 4807 ac_res=$ac_cv_search_opendir |
| 1991 #include "confdefs.h" | 4808 if test "$ac_res" != no; then : |
| 1992 #include <$ac_hdr> | 4809 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 1993 EOF | 4810 |
| 1994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4811 fi |
| 1995 { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4812 |
| 1996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4813 else |
| 1997 if test -z "$ac_err"; then | 4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
| 1998 rm -rf conftest* | 4815 $as_echo_n "checking for library containing opendir... " >&6; } |
| 1999 eval "ac_cv_header_$ac_safe=yes" | 4816 if ${ac_cv_search_opendir+:} false; then : |
| 2000 else | 4817 $as_echo_n "(cached) " >&6 |
| 2001 echo "$ac_err" >&5 | 4818 else |
| 2002 echo "configure: failed program was:" >&5 | 4819 ac_func_search_save_LIBS=$LIBS |
| 2003 cat conftest.$ac_ext >&5 | 4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2004 rm -rf conftest* | 4821 /* end confdefs.h. */ |
| 2005 eval "ac_cv_header_$ac_safe=no" | 4822 |
| 2006 fi | 4823 /* Override any GCC internal prototype to avoid an error. |
| 2007 rm -f conftest* | 4824 Use char because int might match the return type of a GCC |
| 2008 fi | 4825 builtin and then its argument prototype would still apply. */ |
| 2009 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4826 #ifdef __cplusplus |
| 2010 echo "$ac_t""yes" 1>&6 | 4827 extern "C" |
| 2011 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | 4828 #endif |
| 2012 cat >> confdefs.h <<EOF | 4829 char opendir (); |
| 2013 #define $ac_tr_hdr 1 | 4830 int |
| 2014 EOF | 4831 main () |
| 2015 | 4832 { |
| 2016 else | 4833 return opendir (); |
| 2017 echo "$ac_t""no" 1>&6 | 4834 ; |
| 4835 return 0; | |
| 4836 } | |
| 4837 _ACEOF | |
| 4838 for ac_lib in '' x; do | |
| 4839 if test -z "$ac_lib"; then | |
| 4840 ac_res="none required" | |
| 4841 else | |
| 4842 ac_res=-l$ac_lib | |
| 4843 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
| 4844 fi | |
| 4845 if ac_fn_c_try_link "$LINENO"; then : | |
| 4846 ac_cv_search_opendir=$ac_res | |
| 4847 fi | |
| 4848 rm -f core conftest.err conftest.$ac_objext \ | |
| 4849 conftest$ac_exeext | |
| 4850 if ${ac_cv_search_opendir+:} false; then : | |
| 4851 break | |
| 2018 fi | 4852 fi |
| 2019 done | 4853 done |
| 2020 | 4854 if ${ac_cv_search_opendir+:} false; then : |
| 2021 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h | 4855 |
| 2022 do | 4856 else |
| 2023 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4857 ac_cv_search_opendir=no |
| 2024 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4858 fi |
| 2025 echo "configure:2026: checking for $ac_hdr" >&5 | 4859 rm conftest.$ac_ext |
| 2026 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4860 LIBS=$ac_func_search_save_LIBS |
| 2027 echo $ac_n "(cached) $ac_c" 1>&6 | 4861 fi |
| 2028 else | 4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
| 2029 cat > conftest.$ac_ext <<EOF | 4863 $as_echo "$ac_cv_search_opendir" >&6; } |
| 2030 #line 2031 "configure" | 4864 ac_res=$ac_cv_search_opendir |
| 2031 #include "confdefs.h" | 4865 if test "$ac_res" != no; then : |
| 2032 #include <$ac_hdr> | 4866 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
| 2033 EOF | 4867 |
| 2034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4868 fi |
| 2035 { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4869 |
| 2036 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4870 fi |
| 2037 if test -z "$ac_err"; then | 4871 |
| 2038 rm -rf conftest* | 4872 for ac_header in syslog.h sys/resource.h sys/utsname.h |
| 2039 eval "ac_cv_header_$ac_safe=yes" | 4873 do : |
| 2040 else | 4874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 2041 echo "$ac_err" >&5 | 4875 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 2042 echo "configure: failed program was:" >&5 | 4876 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 2043 cat conftest.$ac_ext >&5 | 4877 cat >>confdefs.h <<_ACEOF |
| 2044 rm -rf conftest* | 4878 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 2045 eval "ac_cv_header_$ac_safe=no" | 4879 _ACEOF |
| 2046 fi | 4880 |
| 2047 rm -f conftest* | 4881 fi |
| 2048 fi | 4882 |
| 2049 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 2050 echo "$ac_t""yes" 1>&6 | |
| 2051 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
| 2052 cat >> confdefs.h <<EOF | |
| 2053 #define $ac_tr_hdr 1 | |
| 2054 EOF | |
| 2055 | |
| 2056 else | |
| 2057 echo "$ac_t""no" 1>&6 | |
| 2058 fi | |
| 2059 done | 4883 done |
| 2060 | 4884 |
| 2061 for ac_hdr in sys/types.h regex.h pwd.h | 4885 for ac_header in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h |
| 2062 do | 4886 do : |
| 2063 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 4887 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 2064 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4888 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 2065 echo "configure:2066: checking for $ac_hdr" >&5 | 4889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 2066 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4890 cat >>confdefs.h <<_ACEOF |
| 2067 echo $ac_n "(cached) $ac_c" 1>&6 | 4891 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 2068 else | 4892 _ACEOF |
| 2069 cat > conftest.$ac_ext <<EOF | 4893 |
| 2070 #line 2071 "configure" | 4894 fi |
| 2071 #include "confdefs.h" | 4895 |
| 2072 #include <$ac_hdr> | |
| 2073 EOF | |
| 2074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 2075 { (eval echo configure:2076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 2076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 2077 if test -z "$ac_err"; then | |
| 2078 rm -rf conftest* | |
| 2079 eval "ac_cv_header_$ac_safe=yes" | |
| 2080 else | |
| 2081 echo "$ac_err" >&5 | |
| 2082 echo "configure: failed program was:" >&5 | |
| 2083 cat conftest.$ac_ext >&5 | |
| 2084 rm -rf conftest* | |
| 2085 eval "ac_cv_header_$ac_safe=no" | |
| 2086 fi | |
| 2087 rm -f conftest* | |
| 2088 fi | |
| 2089 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 2090 echo "$ac_t""yes" 1>&6 | |
| 2091 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | |
| 2092 cat >> confdefs.h <<EOF | |
| 2093 #define $ac_tr_hdr 1 | |
| 2094 EOF | |
| 2095 | |
| 2096 else | |
| 2097 echo "$ac_t""no" 1>&6 | |
| 2098 fi | |
| 2099 done | 4896 done |
| 2100 | 4897 |
| 2101 | 4898 for ac_header in netdb.h sys/socket.h fcntl.h limits.h unistd.h |
| 2102 | 4899 do : |
| 2103 | 4900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 2104 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4901 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 2105 echo "configure:2106: checking for working const" >&5 | 4902 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 2106 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 4903 cat >>confdefs.h <<_ACEOF |
| 2107 echo $ac_n "(cached) $ac_c" 1>&6 | 4904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 2108 else | 4905 _ACEOF |
| 2109 cat > conftest.$ac_ext <<EOF | 4906 |
| 2110 #line 2111 "configure" | 4907 fi |
| 2111 #include "confdefs.h" | 4908 |
| 2112 | 4909 done |
| 2113 int main() { | 4910 |
| 2114 | 4911 for ac_header in sys/types.h regex.h pwd.h |
| 2115 /* Ultrix mips cc rejects this. */ | 4912 do : |
| 2116 typedef int charset[2]; const charset x; | 4913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 2117 /* SunOS 4.1.1 cc rejects this. */ | 4914 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
| 2118 char const *const *ccp; | 4915 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
| 2119 char **p; | 4916 cat >>confdefs.h <<_ACEOF |
| 2120 /* NEC SVR4.0.2 mips cc rejects this. */ | 4917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
| 2121 struct point {int x, y;}; | 4918 _ACEOF |
| 2122 static struct point const zero = {0,0}; | 4919 |
| 2123 /* AIX XL C 1.02.0.0 rejects this. | 4920 fi |
| 2124 It does not let you subtract one const X* pointer from another in an arm | 4921 |
| 2125 of an if-expression whose if-part is not a constant expression */ | 4922 done |
| 2126 const char *g = "string"; | 4923 |
| 2127 ccp = &g + (g ? g-g : 0); | 4924 |
| 2128 /* HPUX 7.0 cc rejects these. */ | 4925 |
| 2129 ++ccp; | 4926 |
| 2130 p = (char**) ccp; | 4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
| 2131 ccp = (char const *const *) p; | 4928 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
| 2132 { /* SCO 3.2v4 cc rejects this. */ | 4929 if ${ac_cv_c_const+:} false; then : |
| 2133 char *t; | 4930 $as_echo_n "(cached) " >&6 |
| 2134 char const *s = 0 ? (char *) 0 : (char const *) 0; | 4931 else |
| 2135 | 4932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2136 *t++ = 0; | 4933 /* end confdefs.h. */ |
| 4934 | |
| 4935 int | |
| 4936 main () | |
| 4937 { | |
| 4938 | |
| 4939 #ifndef __cplusplus | |
| 4940 /* Ultrix mips cc rejects this sort of thing. */ | |
| 4941 typedef int charset[2]; | |
| 4942 const charset cs = { 0, 0 }; | |
| 4943 /* SunOS 4.1.1 cc rejects this. */ | |
| 4944 char const *const *pcpcc; | |
| 4945 char **ppc; | |
| 4946 /* NEC SVR4.0.2 mips cc rejects this. */ | |
| 4947 struct point {int x, y;}; | |
| 4948 static struct point const zero = {0,0}; | |
| 4949 /* AIX XL C 1.02.0.0 rejects this. | |
| 4950 It does not let you subtract one const X* pointer from another in | |
| 4951 an arm of an if-expression whose if-part is not a constant | |
| 4952 expression */ | |
| 4953 const char *g = "string"; | |
| 4954 pcpcc = &g + (g ? g-g : 0); | |
| 4955 /* HPUX 7.0 cc rejects these. */ | |
| 4956 ++pcpcc; | |
| 4957 ppc = (char**) pcpcc; | |
| 4958 pcpcc = (char const *const *) ppc; | |
| 4959 { /* SCO 3.2v4 cc rejects this sort of thing. */ | |
| 4960 char tx; | |
| 4961 char *t = &tx; | |
| 4962 char const *s = 0 ? (char *) 0 : (char const *) 0; | |
| 4963 | |
| 4964 *t++ = 0; | |
| 4965 if (s) return 0; | |
| 4966 } | |
| 4967 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | |
| 4968 int x[] = {25, 17}; | |
| 4969 const int *foo = &x[0]; | |
| 4970 ++foo; | |
| 4971 } | |
| 4972 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
| 4973 typedef const int *iptr; | |
| 4974 iptr p = 0; | |
| 4975 ++p; | |
| 4976 } | |
| 4977 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying | |
| 4978 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
| 4979 struct s { int j; const int *ap[3]; } bx; | |
| 4980 struct s *b = &bx; b->j = 5; | |
| 4981 } | |
| 4982 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
| 4983 const int foo = 10; | |
| 4984 if (!foo) return 0; | |
| 4985 } | |
| 4986 return !cs[0] && !zero.x; | |
| 4987 #endif | |
| 4988 | |
| 4989 ; | |
| 4990 return 0; | |
| 2137 } | 4991 } |
| 2138 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | 4992 _ACEOF |
| 2139 int x[] = {25, 17}; | 4993 if ac_fn_c_try_compile "$LINENO"; then : |
| 2140 const int *foo = &x[0]; | |
| 2141 ++foo; | |
| 2142 } | |
| 2143 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
| 2144 typedef const int *iptr; | |
| 2145 iptr p = 0; | |
| 2146 ++p; | |
| 2147 } | |
| 2148 { /* AIX XL C 1.02.0.0 rejects this saying | |
| 2149 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
| 2150 struct s { int j; const int *ap[3]; }; | |
| 2151 struct s *b; b->j = 5; | |
| 2152 } | |
| 2153 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
| 2154 const int foo = 10; | |
| 2155 } | |
| 2156 | |
| 2157 ; return 0; } | |
| 2158 EOF | |
| 2159 if { (eval echo configure:2160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| 2160 rm -rf conftest* | |
| 2161 ac_cv_c_const=yes | 4994 ac_cv_c_const=yes |
| 2162 else | 4995 else |
| 2163 echo "configure: failed program was:" >&5 | |
| 2164 cat conftest.$ac_ext >&5 | |
| 2165 rm -rf conftest* | |
| 2166 ac_cv_c_const=no | 4996 ac_cv_c_const=no |
| 2167 fi | 4997 fi |
| 2168 rm -f conftest* | 4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2169 fi | 4999 fi |
| 2170 | 5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
| 2171 echo "$ac_t""$ac_cv_c_const" 1>&6 | 5001 $as_echo "$ac_cv_c_const" >&6; } |
| 2172 if test $ac_cv_c_const = no; then | 5002 if test $ac_cv_c_const = no; then |
| 2173 cat >> confdefs.h <<\EOF | 5003 |
| 2174 #define const | 5004 $as_echo "#define const /**/" >>confdefs.h |
| 2175 EOF | 5005 |
| 2176 | 5006 fi |
| 2177 fi | 5007 |
| 2178 | 5008 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
| 2179 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 5009 if test "x$ac_cv_type_size_t" = xyes; then : |
| 2180 echo "configure:2181: checking for size_t" >&5 | 5010 |
| 2181 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 5011 else |
| 2182 echo $ac_n "(cached) $ac_c" 1>&6 | 5012 |
| 2183 else | 5013 cat >>confdefs.h <<_ACEOF |
| 2184 cat > conftest.$ac_ext <<EOF | 5014 #define size_t unsigned int |
| 2185 #line 2186 "configure" | 5015 _ACEOF |
| 2186 #include "confdefs.h" | 5016 |
| 2187 #include <sys/types.h> | 5017 fi |
| 2188 #if STDC_HEADERS | 5018 |
| 2189 #include <stdlib.h> | 5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
| 2190 #include <stddef.h> | 5020 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
| 2191 #endif | 5021 if ${ac_cv_header_time+:} false; then : |
| 2192 EOF | 5022 $as_echo_n "(cached) " >&6 |
| 2193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5023 else |
| 2194 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then | 5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2195 rm -rf conftest* | 5025 /* end confdefs.h. */ |
| 2196 ac_cv_type_size_t=yes | |
| 2197 else | |
| 2198 rm -rf conftest* | |
| 2199 ac_cv_type_size_t=no | |
| 2200 fi | |
| 2201 rm -f conftest* | |
| 2202 | |
| 2203 fi | |
| 2204 echo "$ac_t""$ac_cv_type_size_t" 1>&6 | |
| 2205 if test $ac_cv_type_size_t = no; then | |
| 2206 cat >> confdefs.h <<\EOF | |
| 2207 #define size_t unsigned | |
| 2208 EOF | |
| 2209 | |
| 2210 fi | |
| 2211 | |
| 2212 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | |
| 2213 echo "configure:2214: checking whether time.h and sys/time.h may both be included" >&5 | |
| 2214 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | |
| 2215 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2216 else | |
| 2217 cat > conftest.$ac_ext <<EOF | |
| 2218 #line 2219 "configure" | |
| 2219 #include "confdefs.h" | |
| 2220 #include <sys/types.h> | 5026 #include <sys/types.h> |
| 2221 #include <sys/time.h> | 5027 #include <sys/time.h> |
| 2222 #include <time.h> | 5028 #include <time.h> |
| 2223 int main() { | 5029 |
| 2224 struct tm *tp; | 5030 int |
| 2225 ; return 0; } | 5031 main () |
| 2226 EOF | 5032 { |
| 2227 if { (eval echo configure:2228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5033 if ((struct tm *) 0) |
| 2228 rm -rf conftest* | 5034 return 0; |
| 5035 ; | |
| 5036 return 0; | |
| 5037 } | |
| 5038 _ACEOF | |
| 5039 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2229 ac_cv_header_time=yes | 5040 ac_cv_header_time=yes |
| 2230 else | 5041 else |
| 2231 echo "configure: failed program was:" >&5 | |
| 2232 cat conftest.$ac_ext >&5 | |
| 2233 rm -rf conftest* | |
| 2234 ac_cv_header_time=no | 5042 ac_cv_header_time=no |
| 2235 fi | 5043 fi |
| 2236 rm -f conftest* | 5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2237 fi | 5045 fi |
| 2238 | 5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
| 2239 echo "$ac_t""$ac_cv_header_time" 1>&6 | 5047 $as_echo "$ac_cv_header_time" >&6; } |
| 2240 if test $ac_cv_header_time = yes; then | 5048 if test $ac_cv_header_time = yes; then |
| 2241 cat >> confdefs.h <<\EOF | 5049 |
| 2242 #define TIME_WITH_SYS_TIME 1 | 5050 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
| 2243 EOF | 5051 |
| 2244 | 5052 fi |
| 2245 fi | 5053 |
| 2246 | 5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 2247 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 5055 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
| 2248 echo "configure:2249: checking whether struct tm is in sys/time.h or time.h" >&5 | 5056 if ${ac_cv_struct_tm+:} false; then : |
| 2249 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 5057 $as_echo_n "(cached) " >&6 |
| 2250 echo $ac_n "(cached) $ac_c" 1>&6 | 5058 else |
| 2251 else | 5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2252 cat > conftest.$ac_ext <<EOF | 5060 /* end confdefs.h. */ |
| 2253 #line 2254 "configure" | |
| 2254 #include "confdefs.h" | |
| 2255 #include <sys/types.h> | 5061 #include <sys/types.h> |
| 2256 #include <time.h> | 5062 #include <time.h> |
| 2257 int main() { | 5063 |
| 2258 struct tm *tp; tp->tm_sec; | 5064 int |
| 2259 ; return 0; } | 5065 main () |
| 2260 EOF | 5066 { |
| 2261 if { (eval echo configure:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5067 struct tm tm; |
| 2262 rm -rf conftest* | 5068 int *p = &tm.tm_sec; |
| 5069 return !p; | |
| 5070 ; | |
| 5071 return 0; | |
| 5072 } | |
| 5073 _ACEOF | |
| 5074 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2263 ac_cv_struct_tm=time.h | 5075 ac_cv_struct_tm=time.h |
| 2264 else | 5076 else |
| 2265 echo "configure: failed program was:" >&5 | |
| 2266 cat conftest.$ac_ext >&5 | |
| 2267 rm -rf conftest* | |
| 2268 ac_cv_struct_tm=sys/time.h | 5077 ac_cv_struct_tm=sys/time.h |
| 2269 fi | 5078 fi |
| 2270 rm -f conftest* | 5079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2271 fi | 5080 fi |
| 2272 | 5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
| 2273 echo "$ac_t""$ac_cv_struct_tm" 1>&6 | 5082 $as_echo "$ac_cv_struct_tm" >&6; } |
| 2274 if test $ac_cv_struct_tm = sys/time.h; then | 5083 if test $ac_cv_struct_tm = sys/time.h; then |
| 2275 cat >> confdefs.h <<\EOF | 5084 |
| 2276 #define TM_IN_SYS_TIME 1 | 5085 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
| 2277 EOF | 5086 |
| 2278 | 5087 fi |
| 2279 fi | 5088 |
| 2280 | 5089 |
| 2281 | 5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking socklen_t" >&5 |
| 2282 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 | 5091 $as_echo_n "checking socklen_t... " >&6; } |
| 2283 echo "configure:2284: checking socklen_t" >&5 | 5092 if ${noffle_cv_type_socklen_t+:} false; then : |
| 2284 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then | 5093 $as_echo_n "(cached) " >&6 |
| 2285 echo $ac_n "(cached) $ac_c" 1>&6 | 5094 else |
| 2286 else | 5095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2287 cat > conftest.$ac_ext <<EOF | 5096 /* end confdefs.h. */ |
| 2288 #line 2289 "configure" | |
| 2289 #include "confdefs.h" | |
| 2290 | 5097 |
| 2291 #include <sys/types.h> | 5098 #include <sys/types.h> |
| 2292 #include <sys/socket.h> | 5099 #include <sys/socket.h> |
| 2293 | 5100 |
| 2294 int main() { | 5101 int |
| 2295 socklen_t s; | 5102 main () |
| 2296 ; return 0; } | 5103 { |
| 2297 EOF | 5104 socklen_t s; |
| 2298 if { (eval echo configure:2299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5105 ; |
| 2299 rm -rf conftest* | 5106 return 0; |
| 5107 } | |
| 5108 _ACEOF | |
| 5109 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2300 noffle_cv_type_socklen_t=yes | 5110 noffle_cv_type_socklen_t=yes |
| 2301 else | 5111 else |
| 2302 echo "configure: failed program was:" >&5 | |
| 2303 cat conftest.$ac_ext >&5 | |
| 2304 rm -rf conftest* | |
| 2305 noffle_cv_type_socklen_t=no | 5112 noffle_cv_type_socklen_t=no |
| 2306 fi | 5113 fi |
| 2307 rm -f conftest* | 5114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2308 | 5115 |
| 2309 fi | 5116 fi |
| 2310 | 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $noffle_cv_type_socklen_t" >&5 |
| 2311 echo "$ac_t""$noffle_cv_type_socklen_t" 1>&6 | 5118 $as_echo "$noffle_cv_type_socklen_t" >&6; } |
| 2312 | 5119 |
| 2313 if test "x$noffle_cv_type_socklen_t" = "xno" | 5120 if test "x$noffle_cv_type_socklen_t" = "xno" |
| 2314 then | 5121 then |
| 2315 cat >> confdefs.h <<EOF | 5122 cat >>confdefs.h <<_ACEOF |
| 2316 #define socklen_t unsigned int | 5123 #define socklen_t unsigned int |
| 2317 EOF | 5124 _ACEOF |
| 2318 | 5125 |
| 2319 fi | 5126 fi |
| 2320 | 5127 |
| 2321 | 5128 |
| 2322 | 5129 |
| 2323 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
| 2324 echo "configure:2325: checking return type of signal handlers" >&5 | 5131 $as_echo_n "checking return type of signal handlers... " >&6; } |
| 2325 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 5132 if ${ac_cv_type_signal+:} false; then : |
| 2326 echo $ac_n "(cached) $ac_c" 1>&6 | 5133 $as_echo_n "(cached) " >&6 |
| 2327 else | 5134 else |
| 2328 cat > conftest.$ac_ext <<EOF | 5135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2329 #line 2330 "configure" | 5136 /* end confdefs.h. */ |
| 2330 #include "confdefs.h" | |
| 2331 #include <sys/types.h> | 5137 #include <sys/types.h> |
| 2332 #include <signal.h> | 5138 #include <signal.h> |
| 2333 #ifdef signal | 5139 |
| 2334 #undef signal | 5140 int |
| 5141 main () | |
| 5142 { | |
| 5143 return *(signal (0, 0)) (0) == 1; | |
| 5144 ; | |
| 5145 return 0; | |
| 5146 } | |
| 5147 _ACEOF | |
| 5148 if ac_fn_c_try_compile "$LINENO"; then : | |
| 5149 ac_cv_type_signal=int | |
| 5150 else | |
| 5151 ac_cv_type_signal=void | |
| 5152 fi | |
| 5153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 5154 fi | |
| 5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 | |
| 5156 $as_echo "$ac_cv_type_signal" >&6; } | |
| 5157 | |
| 5158 cat >>confdefs.h <<_ACEOF | |
| 5159 #define RETSIGTYPE $ac_cv_type_signal | |
| 5160 _ACEOF | |
| 5161 | |
| 5162 | |
| 5163 for ac_func in strftime | |
| 5164 do : | |
| 5165 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | |
| 5166 if test "x$ac_cv_func_strftime" = xyes; then : | |
| 5167 cat >>confdefs.h <<_ACEOF | |
| 5168 #define HAVE_STRFTIME 1 | |
| 5169 _ACEOF | |
| 5170 | |
| 5171 else | |
| 5172 # strftime is in -lintl on SCO UNIX. | |
| 5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | |
| 5174 $as_echo_n "checking for strftime in -lintl... " >&6; } | |
| 5175 if ${ac_cv_lib_intl_strftime+:} false; then : | |
| 5176 $as_echo_n "(cached) " >&6 | |
| 5177 else | |
| 5178 ac_check_lib_save_LIBS=$LIBS | |
| 5179 LIBS="-lintl $LIBS" | |
| 5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5181 /* end confdefs.h. */ | |
| 5182 | |
| 5183 /* Override any GCC internal prototype to avoid an error. | |
| 5184 Use char because int might match the return type of a GCC | |
| 5185 builtin and then its argument prototype would still apply. */ | |
| 5186 #ifdef __cplusplus | |
| 5187 extern "C" | |
| 2335 #endif | 5188 #endif |
| 5189 char strftime (); | |
| 5190 int | |
| 5191 main () | |
| 5192 { | |
| 5193 return strftime (); | |
| 5194 ; | |
| 5195 return 0; | |
| 5196 } | |
| 5197 _ACEOF | |
| 5198 if ac_fn_c_try_link "$LINENO"; then : | |
| 5199 ac_cv_lib_intl_strftime=yes | |
| 5200 else | |
| 5201 ac_cv_lib_intl_strftime=no | |
| 5202 fi | |
| 5203 rm -f core conftest.err conftest.$ac_objext \ | |
| 5204 conftest$ac_exeext conftest.$ac_ext | |
| 5205 LIBS=$ac_check_lib_save_LIBS | |
| 5206 fi | |
| 5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | |
| 5208 $as_echo "$ac_cv_lib_intl_strftime" >&6; } | |
| 5209 if test "x$ac_cv_lib_intl_strftime" = xyes; then : | |
| 5210 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | |
| 5211 | |
| 5212 LIBS="-lintl $LIBS" | |
| 5213 fi | |
| 5214 | |
| 5215 fi | |
| 5216 done | |
| 5217 | |
| 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5 | |
| 5219 $as_echo_n "checking for working POSIX fnmatch... " >&6; } | |
| 5220 if ${ac_cv_func_fnmatch_works+:} false; then : | |
| 5221 $as_echo_n "(cached) " >&6 | |
| 5222 else | |
| 5223 # Some versions of Solaris, SCO, and the GNU C Library | |
| 5224 # have a broken or incompatible fnmatch. | |
| 5225 # So we run a test program. If we are cross-compiling, take no chance. | |
| 5226 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test. | |
| 5227 if test "$cross_compiling" = yes; then : | |
| 5228 ac_cv_func_fnmatch_works=cross | |
| 5229 else | |
| 5230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5231 /* end confdefs.h. */ | |
| 5232 #include <fnmatch.h> | |
| 5233 # define y(a, b, c) (fnmatch (a, b, c) == 0) | |
| 5234 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) | |
| 5235 | |
| 5236 int | |
| 5237 main () | |
| 5238 { | |
| 5239 return | |
| 5240 (!(y ("a*", "abc", 0) | |
| 5241 && n ("d*/*1", "d/s/1", FNM_PATHNAME) | |
| 5242 && y ("a\\\\bc", "abc", 0) | |
| 5243 && n ("a\\\\bc", "abc", FNM_NOESCAPE) | |
| 5244 && y ("*x", ".x", 0) | |
| 5245 && n ("*x", ".x", FNM_PERIOD) | |
| 5246 && 1)); | |
| 5247 ; | |
| 5248 return 0; | |
| 5249 } | |
| 5250 _ACEOF | |
| 5251 if ac_fn_c_try_run "$LINENO"; then : | |
| 5252 ac_cv_func_fnmatch_works=yes | |
| 5253 else | |
| 5254 ac_cv_func_fnmatch_works=no | |
| 5255 fi | |
| 5256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 5257 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 5258 fi | |
| 5259 | |
| 5260 fi | |
| 5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5 | |
| 5262 $as_echo "$ac_cv_func_fnmatch_works" >&6; } | |
| 5263 if test $ac_cv_func_fnmatch_works = yes; then : | |
| 5264 | |
| 5265 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h | |
| 5266 | |
| 5267 fi | |
| 5268 | |
| 5269 | |
| 5270 for ac_func in fdopen mkdir select socket | |
| 5271 do : | |
| 5272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 5273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 5274 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 5275 cat >>confdefs.h <<_ACEOF | |
| 5276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 5277 _ACEOF | |
| 5278 | |
| 5279 fi | |
| 5280 done | |
| 5281 | |
| 5282 for ac_func in gethostname uname | |
| 5283 do : | |
| 5284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 5285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 5286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 5287 cat >>confdefs.h <<_ACEOF | |
| 5288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 5289 _ACEOF | |
| 5290 | |
| 5291 fi | |
| 5292 done | |
| 5293 | |
| 5294 for ac_func in snprintf vsnprintf __vsnprintf __snprintf | |
| 5295 do : | |
| 5296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 5297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 5298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 5299 cat >>confdefs.h <<_ACEOF | |
| 5300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 5301 _ACEOF | |
| 5302 | |
| 5303 fi | |
| 5304 done | |
| 5305 | |
| 5306 for ac_func in strerror strstr | |
| 5307 do : | |
| 5308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 5309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 5310 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 5311 cat >>confdefs.h <<_ACEOF | |
| 5312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 5313 _ACEOF | |
| 5314 | |
| 5315 fi | |
| 5316 done | |
| 5317 | |
| 5318 for ac_func in mktime timegm | |
| 5319 do : | |
| 5320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
| 5321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
| 5322 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | |
| 5323 cat >>confdefs.h <<_ACEOF | |
| 5324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
| 5325 _ACEOF | |
| 5326 | |
| 5327 fi | |
| 5328 done | |
| 5329 | |
| 5330 | |
| 5331 | |
| 5332 | |
| 5333 | |
| 5334 | |
| 5335 # Check whether --enable-auth was given. | |
| 5336 if test "${enable_auth+set}" = set; then : | |
| 5337 enableval=$enable_auth; | |
| 5338 else | |
| 5339 enable_auth=no | |
| 5340 fi | |
| 5341 | |
| 5342 | |
| 5343 if test "x$enable_auth" = "xfile"; then | |
| 5344 $as_echo "#define USE_AUTH 1" >>confdefs.h | |
| 5345 | |
| 5346 fi | |
| 5347 if test "x$enable_auth" = "xpam"; then | |
| 5348 | |
| 5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5 | |
| 5350 $as_echo_n "checking for pam_start in -lpam... " >&6; } | |
| 5351 if ${ac_cv_lib_pam_pam_start+:} false; then : | |
| 5352 $as_echo_n "(cached) " >&6 | |
| 5353 else | |
| 5354 ac_check_lib_save_LIBS=$LIBS | |
| 5355 LIBS="-lpam $LIBS" | |
| 5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 5357 /* end confdefs.h. */ | |
| 5358 | |
| 5359 /* Override any GCC internal prototype to avoid an error. | |
| 5360 Use char because int might match the return type of a GCC | |
| 5361 builtin and then its argument prototype would still apply. */ | |
| 2336 #ifdef __cplusplus | 5362 #ifdef __cplusplus |
| 2337 extern "C" void (*signal (int, void (*)(int)))(int); | 5363 extern "C" |
| 2338 #else | |
| 2339 void (*signal ()) (); | |
| 2340 #endif | 5364 #endif |
| 2341 | 5365 char pam_start (); |
| 2342 int main() { | 5366 int |
| 2343 int i; | 5367 main () |
| 2344 ; return 0; } | 5368 { |
| 2345 EOF | 5369 return pam_start (); |
| 2346 if { (eval echo configure:2347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5370 ; |
| 2347 rm -rf conftest* | 5371 return 0; |
| 2348 ac_cv_type_signal=void | 5372 } |
| 2349 else | 5373 _ACEOF |
| 2350 echo "configure: failed program was:" >&5 | 5374 if ac_fn_c_try_link "$LINENO"; then : |
| 2351 cat conftest.$ac_ext >&5 | 5375 ac_cv_lib_pam_pam_start=yes |
| 2352 rm -rf conftest* | 5376 else |
| 2353 ac_cv_type_signal=int | 5377 ac_cv_lib_pam_pam_start=no |
| 2354 fi | 5378 fi |
| 2355 rm -f conftest* | 5379 rm -f core conftest.err conftest.$ac_objext \ |
| 2356 fi | 5380 conftest$ac_exeext conftest.$ac_ext |
| 2357 | 5381 LIBS=$ac_check_lib_save_LIBS |
| 2358 echo "$ac_t""$ac_cv_type_signal" 1>&6 | 5382 fi |
| 2359 cat >> confdefs.h <<EOF | 5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5 |
| 2360 #define RETSIGTYPE $ac_cv_type_signal | 5384 $as_echo "$ac_cv_lib_pam_pam_start" >&6; } |
| 2361 EOF | 5385 if test "x$ac_cv_lib_pam_pam_start" = xyes; then : |
| 2362 | 5386 ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default" |
| 2363 | 5387 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then : |
| 2364 echo $ac_n "checking for strftime""... $ac_c" 1>&6 | 5388 |
| 2365 echo "configure:2366: checking for strftime" >&5 | 5389 else |
| 2366 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then | 5390 as_fn_error $? "cannot find security/pam_appl.h" "$LINENO" 5 |
| 2367 echo $ac_n "(cached) $ac_c" 1>&6 | 5391 fi |
| 2368 else | 5392 |
| 2369 cat > conftest.$ac_ext <<EOF | 5393 |
| 2370 #line 2371 "configure" | 5394 else |
| 2371 #include "confdefs.h" | 5395 as_fn_error $? "cannot find libpam" "$LINENO" 5 |
| 2372 /* System header to define __stub macros and hopefully few prototypes, | |
| 2373 which can conflict with char strftime(); below. */ | |
| 2374 #include <assert.h> | |
| 2375 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2376 /* We use char because int might match the return type of a gcc2 | |
| 2377 builtin and then its argument prototype would still apply. */ | |
| 2378 char strftime(); | |
| 2379 | |
| 2380 int main() { | |
| 2381 | |
| 2382 /* The GNU C library defines this for functions which it implements | |
| 2383 to always fail with ENOSYS. Some functions are actually named | |
| 2384 something starting with __ and the normal name is an alias. */ | |
| 2385 #if defined (__stub_strftime) || defined (__stub___strftime) | |
| 2386 choke me | |
| 2387 #else | |
| 2388 strftime(); | |
| 2389 #endif | |
| 2390 | |
| 2391 ; return 0; } | |
| 2392 EOF | |
| 2393 if { (eval echo configure:2394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2394 rm -rf conftest* | |
| 2395 eval "ac_cv_func_strftime=yes" | |
| 2396 else | |
| 2397 echo "configure: failed program was:" >&5 | |
| 2398 cat conftest.$ac_ext >&5 | |
| 2399 rm -rf conftest* | |
| 2400 eval "ac_cv_func_strftime=no" | |
| 2401 fi | |
| 2402 rm -f conftest* | |
| 2403 fi | |
| 2404 | |
| 2405 if eval "test \"`echo '$ac_cv_func_'strftime`\" = yes"; then | |
| 2406 echo "$ac_t""yes" 1>&6 | |
| 2407 cat >> confdefs.h <<\EOF | |
| 2408 #define HAVE_STRFTIME 1 | |
| 2409 EOF | |
| 2410 | |
| 2411 else | |
| 2412 echo "$ac_t""no" 1>&6 | |
| 2413 # strftime is in -lintl on SCO UNIX. | |
| 2414 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 | |
| 2415 echo "configure:2416: checking for strftime in -lintl" >&5 | |
| 2416 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` | |
| 2417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
| 2418 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2419 else | |
| 2420 ac_save_LIBS="$LIBS" | |
| 2421 LIBS="-lintl $LIBS" | |
| 2422 cat > conftest.$ac_ext <<EOF | |
| 2423 #line 2424 "configure" | |
| 2424 #include "confdefs.h" | |
| 2425 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2426 /* We use char because int might match the return type of a gcc2 | |
| 2427 builtin and then its argument prototype would still apply. */ | |
| 2428 char strftime(); | |
| 2429 | |
| 2430 int main() { | |
| 2431 strftime() | |
| 2432 ; return 0; } | |
| 2433 EOF | |
| 2434 if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2435 rm -rf conftest* | |
| 2436 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 2437 else | |
| 2438 echo "configure: failed program was:" >&5 | |
| 2439 cat conftest.$ac_ext >&5 | |
| 2440 rm -rf conftest* | |
| 2441 eval "ac_cv_lib_$ac_lib_var=no" | |
| 2442 fi | |
| 2443 rm -f conftest* | |
| 2444 LIBS="$ac_save_LIBS" | |
| 2445 | |
| 2446 fi | |
| 2447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| 2448 echo "$ac_t""yes" 1>&6 | |
| 2449 cat >> confdefs.h <<\EOF | |
| 2450 #define HAVE_STRFTIME 1 | |
| 2451 EOF | |
| 2452 | |
| 2453 LIBS="-lintl $LIBS" | |
| 2454 else | |
| 2455 echo "$ac_t""no" 1>&6 | |
| 2456 fi | |
| 2457 | |
| 2458 fi | |
| 2459 | |
| 2460 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 | |
| 2461 echo "configure:2462: checking for working fnmatch" >&5 | |
| 2462 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then | |
| 2463 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2464 else | |
| 2465 # Some versions of Solaris or SCO have a broken fnmatch function. | |
| 2466 # So we run a test program. If we are cross-compiling, take no chance. | |
| 2467 # Thanks to John Oleynick and Franc,ois Pinard for this test. | |
| 2468 if test "$cross_compiling" = yes; then | |
| 2469 ac_cv_func_fnmatch_works=no | |
| 2470 else | |
| 2471 cat > conftest.$ac_ext <<EOF | |
| 2472 #line 2473 "configure" | |
| 2473 #include "confdefs.h" | |
| 2474 main() { exit (fnmatch ("a*", "abc", 0) != 0); } | |
| 2475 EOF | |
| 2476 if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
| 2477 then | |
| 2478 ac_cv_func_fnmatch_works=yes | |
| 2479 else | |
| 2480 echo "configure: failed program was:" >&5 | |
| 2481 cat conftest.$ac_ext >&5 | |
| 2482 rm -fr conftest* | |
| 2483 ac_cv_func_fnmatch_works=no | |
| 2484 fi | |
| 2485 rm -fr conftest* | |
| 2486 fi | |
| 2487 | |
| 2488 fi | |
| 2489 | |
| 2490 echo "$ac_t""$ac_cv_func_fnmatch_works" 1>&6 | |
| 2491 if test $ac_cv_func_fnmatch_works = yes; then | |
| 2492 cat >> confdefs.h <<\EOF | |
| 2493 #define HAVE_FNMATCH 1 | |
| 2494 EOF | |
| 2495 | |
| 2496 fi | |
| 2497 | |
| 2498 for ac_func in fdopen mkdir select socket | |
| 2499 do | |
| 2500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 2501 echo "configure:2502: checking for $ac_func" >&5 | |
| 2502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
| 2503 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2504 else | |
| 2505 cat > conftest.$ac_ext <<EOF | |
| 2506 #line 2507 "configure" | |
| 2507 #include "confdefs.h" | |
| 2508 /* System header to define __stub macros and hopefully few prototypes, | |
| 2509 which can conflict with char $ac_func(); below. */ | |
| 2510 #include <assert.h> | |
| 2511 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2512 /* We use char because int might match the return type of a gcc2 | |
| 2513 builtin and then its argument prototype would still apply. */ | |
| 2514 char $ac_func(); | |
| 2515 | |
| 2516 int main() { | |
| 2517 | |
| 2518 /* The GNU C library defines this for functions which it implements | |
| 2519 to always fail with ENOSYS. Some functions are actually named | |
| 2520 something starting with __ and the normal name is an alias. */ | |
| 2521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 2522 choke me | |
| 2523 #else | |
| 2524 $ac_func(); | |
| 2525 #endif | |
| 2526 | |
| 2527 ; return 0; } | |
| 2528 EOF | |
| 2529 if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2530 rm -rf conftest* | |
| 2531 eval "ac_cv_func_$ac_func=yes" | |
| 2532 else | |
| 2533 echo "configure: failed program was:" >&5 | |
| 2534 cat conftest.$ac_ext >&5 | |
| 2535 rm -rf conftest* | |
| 2536 eval "ac_cv_func_$ac_func=no" | |
| 2537 fi | |
| 2538 rm -f conftest* | |
| 2539 fi | |
| 2540 | |
| 2541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 2542 echo "$ac_t""yes" 1>&6 | |
| 2543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 2544 cat >> confdefs.h <<EOF | |
| 2545 #define $ac_tr_func 1 | |
| 2546 EOF | |
| 2547 | |
| 2548 else | |
| 2549 echo "$ac_t""no" 1>&6 | |
| 2550 fi | |
| 2551 done | |
| 2552 | |
| 2553 for ac_func in gethostname uname | |
| 2554 do | |
| 2555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 2556 echo "configure:2557: checking for $ac_func" >&5 | |
| 2557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
| 2558 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2559 else | |
| 2560 cat > conftest.$ac_ext <<EOF | |
| 2561 #line 2562 "configure" | |
| 2562 #include "confdefs.h" | |
| 2563 /* System header to define __stub macros and hopefully few prototypes, | |
| 2564 which can conflict with char $ac_func(); below. */ | |
| 2565 #include <assert.h> | |
| 2566 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2567 /* We use char because int might match the return type of a gcc2 | |
| 2568 builtin and then its argument prototype would still apply. */ | |
| 2569 char $ac_func(); | |
| 2570 | |
| 2571 int main() { | |
| 2572 | |
| 2573 /* The GNU C library defines this for functions which it implements | |
| 2574 to always fail with ENOSYS. Some functions are actually named | |
| 2575 something starting with __ and the normal name is an alias. */ | |
| 2576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 2577 choke me | |
| 2578 #else | |
| 2579 $ac_func(); | |
| 2580 #endif | |
| 2581 | |
| 2582 ; return 0; } | |
| 2583 EOF | |
| 2584 if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2585 rm -rf conftest* | |
| 2586 eval "ac_cv_func_$ac_func=yes" | |
| 2587 else | |
| 2588 echo "configure: failed program was:" >&5 | |
| 2589 cat conftest.$ac_ext >&5 | |
| 2590 rm -rf conftest* | |
| 2591 eval "ac_cv_func_$ac_func=no" | |
| 2592 fi | |
| 2593 rm -f conftest* | |
| 2594 fi | |
| 2595 | |
| 2596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 2597 echo "$ac_t""yes" 1>&6 | |
| 2598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 2599 cat >> confdefs.h <<EOF | |
| 2600 #define $ac_tr_func 1 | |
| 2601 EOF | |
| 2602 | |
| 2603 else | |
| 2604 echo "$ac_t""no" 1>&6 | |
| 2605 fi | |
| 2606 done | |
| 2607 | |
| 2608 for ac_func in snprintf vsnprintf __vsnprintf __snprintf | |
| 2609 do | |
| 2610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 2611 echo "configure:2612: checking for $ac_func" >&5 | |
| 2612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
| 2613 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2614 else | |
| 2615 cat > conftest.$ac_ext <<EOF | |
| 2616 #line 2617 "configure" | |
| 2617 #include "confdefs.h" | |
| 2618 /* System header to define __stub macros and hopefully few prototypes, | |
| 2619 which can conflict with char $ac_func(); below. */ | |
| 2620 #include <assert.h> | |
| 2621 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2622 /* We use char because int might match the return type of a gcc2 | |
| 2623 builtin and then its argument prototype would still apply. */ | |
| 2624 char $ac_func(); | |
| 2625 | |
| 2626 int main() { | |
| 2627 | |
| 2628 /* The GNU C library defines this for functions which it implements | |
| 2629 to always fail with ENOSYS. Some functions are actually named | |
| 2630 something starting with __ and the normal name is an alias. */ | |
| 2631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 2632 choke me | |
| 2633 #else | |
| 2634 $ac_func(); | |
| 2635 #endif | |
| 2636 | |
| 2637 ; return 0; } | |
| 2638 EOF | |
| 2639 if { (eval echo configure:2640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2640 rm -rf conftest* | |
| 2641 eval "ac_cv_func_$ac_func=yes" | |
| 2642 else | |
| 2643 echo "configure: failed program was:" >&5 | |
| 2644 cat conftest.$ac_ext >&5 | |
| 2645 rm -rf conftest* | |
| 2646 eval "ac_cv_func_$ac_func=no" | |
| 2647 fi | |
| 2648 rm -f conftest* | |
| 2649 fi | |
| 2650 | |
| 2651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 2652 echo "$ac_t""yes" 1>&6 | |
| 2653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 2654 cat >> confdefs.h <<EOF | |
| 2655 #define $ac_tr_func 1 | |
| 2656 EOF | |
| 2657 | |
| 2658 else | |
| 2659 echo "$ac_t""no" 1>&6 | |
| 2660 fi | |
| 2661 done | |
| 2662 | |
| 2663 for ac_func in strerror strstr | |
| 2664 do | |
| 2665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 2666 echo "configure:2667: checking for $ac_func" >&5 | |
| 2667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
| 2668 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2669 else | |
| 2670 cat > conftest.$ac_ext <<EOF | |
| 2671 #line 2672 "configure" | |
| 2672 #include "confdefs.h" | |
| 2673 /* System header to define __stub macros and hopefully few prototypes, | |
| 2674 which can conflict with char $ac_func(); below. */ | |
| 2675 #include <assert.h> | |
| 2676 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2677 /* We use char because int might match the return type of a gcc2 | |
| 2678 builtin and then its argument prototype would still apply. */ | |
| 2679 char $ac_func(); | |
| 2680 | |
| 2681 int main() { | |
| 2682 | |
| 2683 /* The GNU C library defines this for functions which it implements | |
| 2684 to always fail with ENOSYS. Some functions are actually named | |
| 2685 something starting with __ and the normal name is an alias. */ | |
| 2686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 2687 choke me | |
| 2688 #else | |
| 2689 $ac_func(); | |
| 2690 #endif | |
| 2691 | |
| 2692 ; return 0; } | |
| 2693 EOF | |
| 2694 if { (eval echo configure:2695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2695 rm -rf conftest* | |
| 2696 eval "ac_cv_func_$ac_func=yes" | |
| 2697 else | |
| 2698 echo "configure: failed program was:" >&5 | |
| 2699 cat conftest.$ac_ext >&5 | |
| 2700 rm -rf conftest* | |
| 2701 eval "ac_cv_func_$ac_func=no" | |
| 2702 fi | |
| 2703 rm -f conftest* | |
| 2704 fi | |
| 2705 | |
| 2706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 2707 echo "$ac_t""yes" 1>&6 | |
| 2708 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 2709 cat >> confdefs.h <<EOF | |
| 2710 #define $ac_tr_func 1 | |
| 2711 EOF | |
| 2712 | |
| 2713 else | |
| 2714 echo "$ac_t""no" 1>&6 | |
| 2715 fi | |
| 2716 done | |
| 2717 | |
| 2718 for ac_func in mktime timegm | |
| 2719 do | |
| 2720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | |
| 2721 echo "configure:2722: checking for $ac_func" >&5 | |
| 2722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | |
| 2723 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2724 else | |
| 2725 cat > conftest.$ac_ext <<EOF | |
| 2726 #line 2727 "configure" | |
| 2727 #include "confdefs.h" | |
| 2728 /* System header to define __stub macros and hopefully few prototypes, | |
| 2729 which can conflict with char $ac_func(); below. */ | |
| 2730 #include <assert.h> | |
| 2731 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2732 /* We use char because int might match the return type of a gcc2 | |
| 2733 builtin and then its argument prototype would still apply. */ | |
| 2734 char $ac_func(); | |
| 2735 | |
| 2736 int main() { | |
| 2737 | |
| 2738 /* The GNU C library defines this for functions which it implements | |
| 2739 to always fail with ENOSYS. Some functions are actually named | |
| 2740 something starting with __ and the normal name is an alias. */ | |
| 2741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
| 2742 choke me | |
| 2743 #else | |
| 2744 $ac_func(); | |
| 2745 #endif | |
| 2746 | |
| 2747 ; return 0; } | |
| 2748 EOF | |
| 2749 if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2750 rm -rf conftest* | |
| 2751 eval "ac_cv_func_$ac_func=yes" | |
| 2752 else | |
| 2753 echo "configure: failed program was:" >&5 | |
| 2754 cat conftest.$ac_ext >&5 | |
| 2755 rm -rf conftest* | |
| 2756 eval "ac_cv_func_$ac_func=no" | |
| 2757 fi | |
| 2758 rm -f conftest* | |
| 2759 fi | |
| 2760 | |
| 2761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then | |
| 2762 echo "$ac_t""yes" 1>&6 | |
| 2763 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` | |
| 2764 cat >> confdefs.h <<EOF | |
| 2765 #define $ac_tr_func 1 | |
| 2766 EOF | |
| 2767 | |
| 2768 else | |
| 2769 echo "$ac_t""no" 1>&6 | |
| 2770 fi | |
| 2771 done | |
| 2772 | |
| 2773 | |
| 2774 | |
| 2775 | |
| 2776 | |
| 2777 | |
| 2778 # Check whether --enable-auth or --disable-auth was given. | |
| 2779 if test "${enable_auth+set}" = set; then | |
| 2780 enableval="$enable_auth" | |
| 2781 : | |
| 2782 else | |
| 2783 enable_auth=no | |
| 2784 fi | |
| 2785 | |
| 2786 | |
| 2787 if test "x$enable_auth" = "xfile"; then | |
| 2788 cat >> confdefs.h <<\EOF | |
| 2789 #define USE_AUTH 1 | |
| 2790 EOF | |
| 2791 | |
| 2792 fi | |
| 2793 if test "x$enable_auth" = "xpam"; then | |
| 2794 | |
| 2795 echo $ac_n "checking for pam_start in -lpam""... $ac_c" 1>&6 | |
| 2796 echo "configure:2797: checking for pam_start in -lpam" >&5 | |
| 2797 ac_lib_var=`echo pam'_'pam_start | sed 'y%./+-%__p_%'` | |
| 2798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | |
| 2799 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2800 else | |
| 2801 ac_save_LIBS="$LIBS" | |
| 2802 LIBS="-lpam $LIBS" | |
| 2803 cat > conftest.$ac_ext <<EOF | |
| 2804 #line 2805 "configure" | |
| 2805 #include "confdefs.h" | |
| 2806 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 2807 /* We use char because int might match the return type of a gcc2 | |
| 2808 builtin and then its argument prototype would still apply. */ | |
| 2809 char pam_start(); | |
| 2810 | |
| 2811 int main() { | |
| 2812 pam_start() | |
| 2813 ; return 0; } | |
| 2814 EOF | |
| 2815 if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 2816 rm -rf conftest* | |
| 2817 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 2818 else | |
| 2819 echo "configure: failed program was:" >&5 | |
| 2820 cat conftest.$ac_ext >&5 | |
| 2821 rm -rf conftest* | |
| 2822 eval "ac_cv_lib_$ac_lib_var=no" | |
| 2823 fi | |
| 2824 rm -f conftest* | |
| 2825 LIBS="$ac_save_LIBS" | |
| 2826 | |
| 2827 fi | |
| 2828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| 2829 echo "$ac_t""yes" 1>&6 | |
| 2830 ac_safe=`echo "security/pam_appl.h" | sed 'y%./+-%__p_%'` | |
| 2831 echo $ac_n "checking for security/pam_appl.h""... $ac_c" 1>&6 | |
| 2832 echo "configure:2833: checking for security/pam_appl.h" >&5 | |
| 2833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | |
| 2834 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 2835 else | |
| 2836 cat > conftest.$ac_ext <<EOF | |
| 2837 #line 2838 "configure" | |
| 2838 #include "confdefs.h" | |
| 2839 #include <security/pam_appl.h> | |
| 2840 EOF | |
| 2841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 2842 { (eval echo configure:2843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 2843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 2844 if test -z "$ac_err"; then | |
| 2845 rm -rf conftest* | |
| 2846 eval "ac_cv_header_$ac_safe=yes" | |
| 2847 else | |
| 2848 echo "$ac_err" >&5 | |
| 2849 echo "configure: failed program was:" >&5 | |
| 2850 cat conftest.$ac_ext >&5 | |
| 2851 rm -rf conftest* | |
| 2852 eval "ac_cv_header_$ac_safe=no" | |
| 2853 fi | |
| 2854 rm -f conftest* | |
| 2855 fi | |
| 2856 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 2857 echo "$ac_t""yes" 1>&6 | |
| 2858 : | |
| 2859 else | |
| 2860 echo "$ac_t""no" 1>&6 | |
| 2861 { echo "configure: error: cannot find security/pam_appl.h" 1>&2; exit 1; } | |
| 2862 fi | |
| 2863 | |
| 2864 else | |
| 2865 echo "$ac_t""no" 1>&6 | |
| 2866 { echo "configure: error: cannot find libpam" 1>&2; exit 1; } | |
| 2867 fi | 5396 fi |
| 2868 | 5397 |
| 2869 LIBPAM="-lpam" | 5398 LIBPAM="-lpam" |
| 2870 cat >> confdefs.h <<\EOF | 5399 $as_echo "#define USE_PAM 1" >>confdefs.h |
| 2871 #define USE_PAM 1 | 5400 |
| 2872 EOF | 5401 $as_echo "#define USE_AUTH 1" >>confdefs.h |
| 2873 | 5402 |
| 2874 cat >> confdefs.h <<\EOF | 5403 fi |
| 2875 #define USE_AUTH 1 | 5404 |
| 2876 EOF | 5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking usersfile" >&5 |
| 2877 | 5406 $as_echo_n "checking usersfile... " >&6; } |
| 2878 fi | 5407 |
| 2879 | 5408 # Check whether --with-usersfile was given. |
| 2880 echo $ac_n "checking usersfile""... $ac_c" 1>&6 | 5409 if test "${with_usersfile+set}" = set; then : |
| 2881 echo "configure:2882: checking usersfile" >&5 | 5410 withval=$with_usersfile; if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2882 # Check whether --with-usersfile or --without-usersfile was given. | 5411 as_fn_error $? "you must give an absolute path" "$LINENO" 5 |
| 2883 if test "${with_usersfile+set}" = set; then | |
| 2884 withval="$with_usersfile" | |
| 2885 if echo "$withval" | egrep >/dev/null -v '^/' ; then | |
| 2886 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | |
| 2887 fi | 5412 fi |
| 2888 withval=`echo "$withval" | sed 'sx/*$xx;'` | 5413 withval=`echo "$withval" | sed 'sx/*$xx;'` |
| 2889 else | 5414 else |
| 2890 withval="/etc/$PACKAGE.users" | 5415 withval="/etc/$PACKAGE.users" |
| 2891 | 5416 |
| 2892 fi | 5417 fi |
| 2893 | 5418 |
| 2894 USERSFILE=$withval | 5419 USERSFILE=$withval |
| 2895 echo "$ac_t""$USERSFILE" 1>&6 | 5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USERSFILE" >&5 |
| 2896 cat >> confdefs.h <<EOF | 5421 $as_echo "$USERSFILE" >&6; } |
| 5422 cat >>confdefs.h <<_ACEOF | |
| 2897 #define USERSFILE "$USERSFILE" | 5423 #define USERSFILE "$USERSFILE" |
| 2898 EOF | 5424 _ACEOF |
| 2899 | 5425 |
| 2900 | 5426 |
| 2901 | 5427 |
| 2902 | 5428 |
| 2903 # Check whether --enable-debug or --disable-debug was given. | 5429 # Check whether --enable-debug was given. |
| 2904 if test "${enable_debug+set}" = set; then | 5430 if test "${enable_debug+set}" = set; then : |
| 2905 enableval="$enable_debug" | 5431 enableval=$enable_debug; |
| 2906 : | |
| 2907 else | 5432 else |
| 2908 enable_debug=no | 5433 enable_debug=no |
| 2909 fi | 5434 fi |
| 2910 | 5435 |
| 2911 | 5436 |
| 2923 fi | 5448 fi |
| 2924 fi | 5449 fi |
| 2925 | 5450 |
| 2926 | 5451 |
| 2927 # [ This is adapted from mutt. ] | 5452 # [ This is adapted from mutt. ] |
| 2928 # Check whether --with-docdir or --without-docdir was given. | 5453 |
| 2929 if test "${with_docdir+set}" = set; then | 5454 # Check whether --with-docdir was given. |
| 2930 withval="$with_docdir" | 5455 if test "${with_docdir+set}" = set; then : |
| 2931 noffle_cv_docdir=$withval | 5456 withval=$with_docdir; noffle_cv_docdir=$withval |
| 2932 else | 5457 else |
| 2933 echo $ac_n "checking other documentation directory""... $ac_c" 1>&6 | 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking other documentation directory" >&5 |
| 2934 echo "configure:2935: checking other documentation directory" >&5 | 5459 $as_echo_n "checking other documentation directory... " >&6; } |
| 2935 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then | 5460 if ${noffle_cv_docdir+:} false; then : |
| 2936 echo $ac_n "(cached) $ac_c" 1>&6 | 5461 $as_echo_n "(cached) " >&6 |
| 2937 else | 5462 else |
| 2938 if test x$prefix = xNONE; then | 5463 if test x$prefix = xNONE; then |
| 2939 noffle_cv_prefix=$ac_default_prefix | 5464 noffle_cv_prefix=$ac_default_prefix |
| 2940 else | 5465 else |
| 2941 noffle_cv_prefix=$prefix | 5466 noffle_cv_prefix=$prefix |
| 2942 fi | 5467 fi |
| 2943 noffle_cv_docdir=$noffle_cv_prefix/share/doc/noffle | 5468 noffle_cv_docdir=$noffle_cv_prefix/share/doc/noffle |
| 2944 | 5469 |
| 2945 fi | 5470 fi |
| 2946 | 5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $noffle_cv_docdir" >&5 |
| 2947 echo "$ac_t""$noffle_cv_docdir" 1>&6 | 5472 $as_echo "$noffle_cv_docdir" >&6; } |
| 2948 | 5473 |
| 2949 fi | 5474 fi |
| 2950 | 5475 |
| 2951 | 5476 |
| 2952 echo $ac_n "checking spooldir""... $ac_c" 1>&6 | 5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking spooldir" >&5 |
| 2953 echo "configure:2954: checking spooldir" >&5 | 5478 $as_echo_n "checking spooldir... " >&6; } |
| 2954 # Check whether --with-spooldir or --without-spooldir was given. | 5479 |
| 2955 if test "${with_spooldir+set}" = set; then | 5480 # Check whether --with-spooldir was given. |
| 2956 withval="$with_spooldir" | 5481 if test "${with_spooldir+set}" = set; then : |
| 2957 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 5482 withval=$with_spooldir; if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2958 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 5483 as_fn_error $? "you must give an absolute path" "$LINENO" 5 |
| 2959 fi | 5484 fi |
| 2960 withval=`echo "$withval" | sed 'sx/*$xx;'` | 5485 withval=`echo "$withval" | sed 'sx/*$xx;'` |
| 2961 | 5486 |
| 2962 else | 5487 else |
| 2963 withval="/var/spool/$PACKAGE" | 5488 withval="/var/spool/$PACKAGE" |
| 2964 | 5489 |
| 2965 fi | 5490 fi |
| 2966 | 5491 |
| 2967 SPOOLDIR=$withval | 5492 SPOOLDIR=$withval |
| 2968 echo "$ac_t""$SPOOLDIR" 1>&6 | 5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPOOLDIR" >&5 |
| 2969 cat >> confdefs.h <<EOF | 5494 $as_echo "$SPOOLDIR" >&6; } |
| 5495 cat >>confdefs.h <<_ACEOF | |
| 2970 #define SPOOLDIR "$SPOOLDIR" | 5496 #define SPOOLDIR "$SPOOLDIR" |
| 2971 EOF | 5497 _ACEOF |
| 2972 | 5498 |
| 2973 | 5499 |
| 2974 | 5500 |
| 2975 echo $ac_n "checking configfile""... $ac_c" 1>&6 | 5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking configfile" >&5 |
| 2976 echo "configure:2977: checking configfile" >&5 | 5502 $as_echo_n "checking configfile... " >&6; } |
| 2977 # Check whether --with-configfile or --without-configfile was given. | 5503 |
| 2978 if test "${with_configfile+set}" = set; then | 5504 # Check whether --with-configfile was given. |
| 2979 withval="$with_configfile" | 5505 if test "${with_configfile+set}" = set; then : |
| 2980 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 5506 withval=$with_configfile; if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2981 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 5507 as_fn_error $? "you must give an absolute path" "$LINENO" 5 |
| 2982 fi | 5508 fi |
| 2983 withval=`echo "$withval" | sed 'sx/*$xx;'` | 5509 withval=`echo "$withval" | sed 'sx/*$xx;'` |
| 2984 | 5510 |
| 2985 else | 5511 else |
| 2986 withval="/etc/$PACKAGE.conf" | 5512 withval="/etc/$PACKAGE.conf" |
| 2987 | 5513 |
| 2988 fi | 5514 fi |
| 2989 | 5515 |
| 2990 CONFIGFILE=$withval | 5516 CONFIGFILE=$withval |
| 2991 echo "$ac_t""$CONFIGFILE" 1>&6 | 5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIGFILE" >&5 |
| 2992 cat >> confdefs.h <<EOF | 5518 $as_echo "$CONFIGFILE" >&6; } |
| 5519 cat >>confdefs.h <<_ACEOF | |
| 2993 #define CONFIGFILE "$CONFIGFILE" | 5520 #define CONFIGFILE "$CONFIGFILE" |
| 2994 EOF | 5521 _ACEOF |
| 2995 | 5522 |
| 2996 | 5523 |
| 2997 | 5524 |
| 2998 | 5525 |
| 2999 | 5526 |
| 3000 | 5527 |
| 3001 DOCDIR=$noffle_cv_docdir | 5528 DOCDIR=$noffle_cv_docdir |
| 3002 | 5529 |
| 3003 | 5530 |
| 3004 cat >> confdefs.h <<EOF | 5531 cat >>confdefs.h <<_ACEOF |
| 3005 #define SENDMAILPROG "$SENDMAILPROG" | 5532 #define SENDMAILPROG "$SENDMAILPROG" |
| 3006 EOF | 5533 _ACEOF |
| 3007 | 5534 |
| 3008 | 5535 |
| 3009 | 5536 |
| 3010 trap '' 1 2 15 | 5537 ac_config_files="$ac_config_files Makefile src/Makefile docs/Makefile packages/Makefile packages/redhat/Makefile" |
| 3011 cat > confcache <<\EOF | 5538 |
| 5539 cat >confcache <<\_ACEOF | |
| 3012 # This file is a shell script that caches the results of configure | 5540 # This file is a shell script that caches the results of configure |
| 3013 # tests run on this system so they can be shared between configure | 5541 # tests run on this system so they can be shared between configure |
| 3014 # scripts and configure runs. It is not useful on other systems. | 5542 # scripts and configure runs, see configure's option --config-cache. |
| 3015 # If it contains results you don't want to keep, you may remove or edit it. | 5543 # It is not useful on other systems. If it contains results you don't |
| 5544 # want to keep, you may remove or edit it. | |
| 3016 # | 5545 # |
| 3017 # By default, configure uses ./config.cache as the cache file, | 5546 # config.status only pays attention to the cache file if you give it |
| 3018 # creating it if it does not exist already. You can give configure | 5547 # the --recheck option to rerun configure. |
| 3019 # the --cache-file=FILE option to use a different cache file; that is | |
| 3020 # what configure does when it calls configure scripts in | |
| 3021 # subdirectories, so they share the cache. | |
| 3022 # Giving --cache-file=/dev/null disables caching, for debugging configure. | |
| 3023 # config.status only pays attention to the cache file if you give it the | |
| 3024 # --recheck option to rerun configure. | |
| 3025 # | 5548 # |
| 3026 EOF | 5549 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 5550 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
| 5551 # following values. | |
| 5552 | |
| 5553 _ACEOF | |
| 5554 | |
| 3027 # The following way of writing the cache mishandles newlines in values, | 5555 # The following way of writing the cache mishandles newlines in values, |
| 3028 # but we know of no workaround that is simple, portable, and efficient. | 5556 # but we know of no workaround that is simple, portable, and efficient. |
| 3029 # So, don't put newlines in cache variables' values. | 5557 # So, we kill variables containing newlines. |
| 3030 # Ultrix sh set writes to stderr and can't be redirected directly, | 5558 # Ultrix sh set writes to stderr and can't be redirected directly, |
| 3031 # and sets the high bit in the cache file unless we assign to the vars. | 5559 # and sets the high bit in the cache file unless we assign to the vars. |
| 3032 (set) 2>&1 | | 5560 ( |
| 3033 case `(ac_space=' '; set | grep ac_space) 2>&1` in | 5561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 3034 *ac_space=\ *) | 5562 eval ac_val=\$$ac_var |
| 3035 # `set' does not quote correctly, so add quotes (double-quote substitution | 5563 case $ac_val in #( |
| 3036 # turns \\\\ into \\, and sed turns \\ into \). | 5564 *${as_nl}*) |
| 3037 sed -n \ | 5565 case $ac_var in #( |
| 3038 -e "s/'/'\\\\''/g" \ | 5566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 3039 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | 5567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 3040 ;; | 5568 esac |
| 3041 *) | 5569 case $ac_var in #( |
| 3042 # `set' quotes correctly as required by POSIX, so do not add quotes. | 5570 _ | IFS | as_nl) ;; #( |
| 3043 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | 5571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 3044 ;; | 5572 *) { eval $ac_var=; unset $ac_var;} ;; |
| 3045 esac >> confcache | 5573 esac ;; |
| 3046 if cmp -s $cache_file confcache; then | 5574 esac |
| 3047 : | 5575 done |
| 3048 else | 5576 |
| 3049 if test -w $cache_file; then | 5577 (set) 2>&1 | |
| 3050 echo "updating cache $cache_file" | 5578 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 3051 cat confcache > $cache_file | 5579 *${as_nl}ac_space=\ *) |
| 5580 # `set' does not quote correctly, so add quotes: double-quote | |
| 5581 # substitution turns \\\\ into \\, and sed turns \\ into \. | |
| 5582 sed -n \ | |
| 5583 "s/'/'\\\\''/g; | |
| 5584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
| 5585 ;; #( | |
| 5586 *) | |
| 5587 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| 5588 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 5589 ;; | |
| 5590 esac | | |
| 5591 sort | |
| 5592 ) | | |
| 5593 sed ' | |
| 5594 /^ac_cv_env_/b end | |
| 5595 t clear | |
| 5596 :clear | |
| 5597 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
| 5598 t end | |
| 5599 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
| 5600 :end' >>confcache | |
| 5601 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
| 5602 if test -w "$cache_file"; then | |
| 5603 if test "x$cache_file" != "x/dev/null"; then | |
| 5604 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
| 5605 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
| 5606 if test ! -f "$cache_file" || test -h "$cache_file"; then | |
| 5607 cat confcache >"$cache_file" | |
| 5608 else | |
| 5609 case $cache_file in #( | |
| 5610 */* | ?:*) | |
| 5611 mv -f confcache "$cache_file"$$ && | |
| 5612 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
| 5613 *) | |
| 5614 mv -f confcache "$cache_file" ;; | |
| 5615 esac | |
| 5616 fi | |
| 5617 fi | |
| 3052 else | 5618 else |
| 3053 echo "not updating unwritable cache $cache_file" | 5619 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 5620 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
| 3054 fi | 5621 fi |
| 3055 fi | 5622 fi |
| 3056 rm -f confcache | 5623 rm -f confcache |
| 3057 | |
| 3058 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | |
| 3059 | 5624 |
| 3060 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 5625 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 3061 # Let make expand exec_prefix. | 5626 # Let make expand exec_prefix. |
| 3062 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 5627 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 3063 | 5628 |
| 3064 # Any assignment to VPATH causes Sun make to only execute | |
| 3065 # the first set of double-colon rules, so remove it if not needed. | |
| 3066 # If there is a colon in the path, we need to keep it. | |
| 3067 if test "x$srcdir" = x.; then | |
| 3068 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' | |
| 3069 fi | |
| 3070 | |
| 3071 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 | |
| 3072 | |
| 3073 DEFS=-DHAVE_CONFIG_H | 5629 DEFS=-DHAVE_CONFIG_H |
| 3074 | 5630 |
| 3075 # Without the "./", some shells look in PATH for config.status. | 5631 ac_libobjs= |
| 3076 : ${CONFIG_STATUS=./config.status} | 5632 ac_ltlibobjs= |
| 3077 | 5633 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 3078 echo creating $CONFIG_STATUS | 5634 # 1. Remove the extension, and $U if already installed. |
| 3079 rm -f $CONFIG_STATUS | 5635 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 3080 cat > $CONFIG_STATUS <<EOF | 5636 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 3081 #! /bin/sh | 5637 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 3082 # Generated automatically by configure. | 5638 # will be set to the directory where LIBOBJS objects are built. |
| 5639 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
| 5640 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
| 5641 done | |
| 5642 LIBOBJS=$ac_libobjs | |
| 5643 | |
| 5644 LTLIBOBJS=$ac_ltlibobjs | |
| 5645 | |
| 5646 | |
| 5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 | |
| 5648 $as_echo_n "checking that generated files are newer than configure... " >&6; } | |
| 5649 if test -n "$am_sleep_pid"; then | |
| 5650 # Hide warnings about reused PIDs. | |
| 5651 wait $am_sleep_pid 2>/dev/null | |
| 5652 fi | |
| 5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 | |
| 5654 $as_echo "done" >&6; } | |
| 5655 if test -n "$EXEEXT"; then | |
| 5656 am__EXEEXT_TRUE= | |
| 5657 am__EXEEXT_FALSE='#' | |
| 5658 else | |
| 5659 am__EXEEXT_TRUE='#' | |
| 5660 am__EXEEXT_FALSE= | |
| 5661 fi | |
| 5662 | |
| 5663 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
| 5664 as_fn_error $? "conditional \"AMDEP\" was never defined. | |
| 5665 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 5666 fi | |
| 5667 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
| 5668 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | |
| 5669 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
| 5670 fi | |
| 5671 | |
| 5672 : "${CONFIG_STATUS=./config.status}" | |
| 5673 ac_write_fail=0 | |
| 5674 ac_clean_files_save=$ac_clean_files | |
| 5675 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
| 5676 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
| 5677 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
| 5678 as_write_fail=0 | |
| 5679 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
| 5680 #! $SHELL | |
| 5681 # Generated by $as_me. | |
| 3083 # Run this file to recreate the current configuration. | 5682 # Run this file to recreate the current configuration. |
| 3084 # This directory was configured as follows, | 5683 # Compiler output produced by configure, useful for debugging |
| 3085 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 5684 # configure, is in config.log if it exists. |
| 5685 | |
| 5686 debug=false | |
| 5687 ac_cs_recheck=false | |
| 5688 ac_cs_silent=false | |
| 5689 | |
| 5690 SHELL=\${CONFIG_SHELL-$SHELL} | |
| 5691 export SHELL | |
| 5692 _ASEOF | |
| 5693 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
| 5694 ## -------------------- ## | |
| 5695 ## M4sh Initialization. ## | |
| 5696 ## -------------------- ## | |
| 5697 | |
| 5698 # Be more Bourne compatible | |
| 5699 DUALCASE=1; export DUALCASE # for MKS sh | |
| 5700 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 5701 emulate sh | |
| 5702 NULLCMD=: | |
| 5703 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 5704 # is contrary to our usage. Disable this feature. | |
| 5705 alias -g '${1+"$@"}'='"$@"' | |
| 5706 setopt NO_GLOB_SUBST | |
| 5707 else | |
| 5708 case `(set -o) 2>/dev/null` in #( | |
| 5709 *posix*) : | |
| 5710 set -o posix ;; #( | |
| 5711 *) : | |
| 5712 ;; | |
| 5713 esac | |
| 5714 fi | |
| 5715 | |
| 5716 | |
| 5717 as_nl=' | |
| 5718 ' | |
| 5719 export as_nl | |
| 5720 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 5721 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 5722 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 5723 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 5724 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 5725 # but without wasting forks for bash or zsh. | |
| 5726 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 5727 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 5728 as_echo='print -r --' | |
| 5729 as_echo_n='print -rn --' | |
| 5730 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 5731 as_echo='printf %s\n' | |
| 5732 as_echo_n='printf %s' | |
| 5733 else | |
| 5734 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 5735 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 5736 as_echo_n='/usr/ucb/echo -n' | |
| 5737 else | |
| 5738 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 5739 as_echo_n_body='eval | |
| 5740 arg=$1; | |
| 5741 case $arg in #( | |
| 5742 *"$as_nl"*) | |
| 5743 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 5744 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 5745 esac; | |
| 5746 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 5747 ' | |
| 5748 export as_echo_n_body | |
| 5749 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 5750 fi | |
| 5751 export as_echo_body | |
| 5752 as_echo='sh -c $as_echo_body as_echo' | |
| 5753 fi | |
| 5754 | |
| 5755 # The user is always right. | |
| 5756 if test "${PATH_SEPARATOR+set}" != set; then | |
| 5757 PATH_SEPARATOR=: | |
| 5758 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 5759 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 5760 PATH_SEPARATOR=';' | |
| 5761 } | |
| 5762 fi | |
| 5763 | |
| 5764 | |
| 5765 # IFS | |
| 5766 # We need space, tab and new line, in precisely that order. Quoting is | |
| 5767 # there to prevent editors from complaining about space-tab. | |
| 5768 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 5769 # splitting by setting IFS to empty value.) | |
| 5770 IFS=" "" $as_nl" | |
| 5771 | |
| 5772 # Find who we are. Look in the path if we contain no directory separator. | |
| 5773 as_myself= | |
| 5774 case $0 in #(( | |
| 5775 *[\\/]* ) as_myself=$0 ;; | |
| 5776 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 5777 for as_dir in $PATH | |
| 5778 do | |
| 5779 IFS=$as_save_IFS | |
| 5780 test -z "$as_dir" && as_dir=. | |
| 5781 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 5782 done | |
| 5783 IFS=$as_save_IFS | |
| 5784 | |
| 5785 ;; | |
| 5786 esac | |
| 5787 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 5788 # in which case we are not to be found in the path. | |
| 5789 if test "x$as_myself" = x; then | |
| 5790 as_myself=$0 | |
| 5791 fi | |
| 5792 if test ! -f "$as_myself"; then | |
| 5793 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 5794 exit 1 | |
| 5795 fi | |
| 5796 | |
| 5797 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 5798 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 5799 # suppresses any "Segmentation fault" message there. '((' could | |
| 5800 # trigger a bug in pdksh 5.2.14. | |
| 5801 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 5802 do eval test x\${$as_var+set} = xset \ | |
| 5803 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 5804 done | |
| 5805 PS1='$ ' | |
| 5806 PS2='> ' | |
| 5807 PS4='+ ' | |
| 5808 | |
| 5809 # NLS nuisances. | |
| 5810 LC_ALL=C | |
| 5811 export LC_ALL | |
| 5812 LANGUAGE=C | |
| 5813 export LANGUAGE | |
| 5814 | |
| 5815 # CDPATH. | |
| 5816 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 5817 | |
| 5818 | |
| 5819 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 5820 # ---------------------------------------- | |
| 5821 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 5822 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 5823 # script with STATUS, using 1 if that was 0. | |
| 5824 as_fn_error () | |
| 5825 { | |
| 5826 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 5827 if test "$4"; then | |
| 5828 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 5829 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 5830 fi | |
| 5831 $as_echo "$as_me: error: $2" >&2 | |
| 5832 as_fn_exit $as_status | |
| 5833 } # as_fn_error | |
| 5834 | |
| 5835 | |
| 5836 # as_fn_set_status STATUS | |
| 5837 # ----------------------- | |
| 5838 # Set $? to STATUS, without forking. | |
| 5839 as_fn_set_status () | |
| 5840 { | |
| 5841 return $1 | |
| 5842 } # as_fn_set_status | |
| 5843 | |
| 5844 # as_fn_exit STATUS | |
| 5845 # ----------------- | |
| 5846 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 5847 as_fn_exit () | |
| 5848 { | |
| 5849 set +e | |
| 5850 as_fn_set_status $1 | |
| 5851 exit $1 | |
| 5852 } # as_fn_exit | |
| 5853 | |
| 5854 # as_fn_unset VAR | |
| 5855 # --------------- | |
| 5856 # Portably unset VAR. | |
| 5857 as_fn_unset () | |
| 5858 { | |
| 5859 { eval $1=; unset $1;} | |
| 5860 } | |
| 5861 as_unset=as_fn_unset | |
| 5862 # as_fn_append VAR VALUE | |
| 5863 # ---------------------- | |
| 5864 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 5865 # advantage of any shell optimizations that allow amortized linear growth over | |
| 5866 # repeated appends, instead of the typical quadratic growth present in naive | |
| 5867 # implementations. | |
| 5868 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 5869 eval 'as_fn_append () | |
| 5870 { | |
| 5871 eval $1+=\$2 | |
| 5872 }' | |
| 5873 else | |
| 5874 as_fn_append () | |
| 5875 { | |
| 5876 eval $1=\$$1\$2 | |
| 5877 } | |
| 5878 fi # as_fn_append | |
| 5879 | |
| 5880 # as_fn_arith ARG... | |
| 5881 # ------------------ | |
| 5882 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 5883 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 5884 # must be portable across $(()) and expr. | |
| 5885 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 5886 eval 'as_fn_arith () | |
| 5887 { | |
| 5888 as_val=$(( $* )) | |
| 5889 }' | |
| 5890 else | |
| 5891 as_fn_arith () | |
| 5892 { | |
| 5893 as_val=`expr "$@" || test $? -eq 1` | |
| 5894 } | |
| 5895 fi # as_fn_arith | |
| 5896 | |
| 5897 | |
| 5898 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 5899 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 5900 as_expr=expr | |
| 5901 else | |
| 5902 as_expr=false | |
| 5903 fi | |
| 5904 | |
| 5905 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 5906 as_basename=basename | |
| 5907 else | |
| 5908 as_basename=false | |
| 5909 fi | |
| 5910 | |
| 5911 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 5912 as_dirname=dirname | |
| 5913 else | |
| 5914 as_dirname=false | |
| 5915 fi | |
| 5916 | |
| 5917 as_me=`$as_basename -- "$0" || | |
| 5918 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 5919 X"$0" : 'X\(//\)$' \| \ | |
| 5920 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 5921 $as_echo X/"$0" | | |
| 5922 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 5923 s//\1/ | |
| 5924 q | |
| 5925 } | |
| 5926 /^X\/\(\/\/\)$/{ | |
| 5927 s//\1/ | |
| 5928 q | |
| 5929 } | |
| 5930 /^X\/\(\/\).*/{ | |
| 5931 s//\1/ | |
| 5932 q | |
| 5933 } | |
| 5934 s/.*/./; q'` | |
| 5935 | |
| 5936 # Avoid depending upon Character Ranges. | |
| 5937 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 5938 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 5939 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 5940 as_cr_digits='0123456789' | |
| 5941 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 5942 | |
| 5943 ECHO_C= ECHO_N= ECHO_T= | |
| 5944 case `echo -n x` in #((((( | |
| 5945 -n*) | |
| 5946 case `echo 'xy\c'` in | |
| 5947 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 5948 xy) ECHO_C='\c';; | |
| 5949 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 5950 ECHO_T=' ';; | |
| 5951 esac;; | |
| 5952 *) | |
| 5953 ECHO_N='-n';; | |
| 5954 esac | |
| 5955 | |
| 5956 rm -f conf$$ conf$$.exe conf$$.file | |
| 5957 if test -d conf$$.dir; then | |
| 5958 rm -f conf$$.dir/conf$$.file | |
| 5959 else | |
| 5960 rm -f conf$$.dir | |
| 5961 mkdir conf$$.dir 2>/dev/null | |
| 5962 fi | |
| 5963 if (echo >conf$$.file) 2>/dev/null; then | |
| 5964 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 5965 as_ln_s='ln -s' | |
| 5966 # ... but there are two gotchas: | |
| 5967 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 5968 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 5969 # In both cases, we have to default to `cp -pR'. | |
| 5970 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 5971 as_ln_s='cp -pR' | |
| 5972 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 5973 as_ln_s=ln | |
| 5974 else | |
| 5975 as_ln_s='cp -pR' | |
| 5976 fi | |
| 5977 else | |
| 5978 as_ln_s='cp -pR' | |
| 5979 fi | |
| 5980 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 5981 rmdir conf$$.dir 2>/dev/null | |
| 5982 | |
| 5983 | |
| 5984 # as_fn_mkdir_p | |
| 5985 # ------------- | |
| 5986 # Create "$as_dir" as a directory, including parents if necessary. | |
| 5987 as_fn_mkdir_p () | |
| 5988 { | |
| 5989 | |
| 5990 case $as_dir in #( | |
| 5991 -*) as_dir=./$as_dir;; | |
| 5992 esac | |
| 5993 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 5994 as_dirs= | |
| 5995 while :; do | |
| 5996 case $as_dir in #( | |
| 5997 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 5998 *) as_qdir=$as_dir;; | |
| 5999 esac | |
| 6000 as_dirs="'$as_qdir' $as_dirs" | |
| 6001 as_dir=`$as_dirname -- "$as_dir" || | |
| 6002 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 6003 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 6004 X"$as_dir" : 'X\(//\)$' \| \ | |
| 6005 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 6006 $as_echo X"$as_dir" | | |
| 6007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 6008 s//\1/ | |
| 6009 q | |
| 6010 } | |
| 6011 /^X\(\/\/\)[^/].*/{ | |
| 6012 s//\1/ | |
| 6013 q | |
| 6014 } | |
| 6015 /^X\(\/\/\)$/{ | |
| 6016 s//\1/ | |
| 6017 q | |
| 6018 } | |
| 6019 /^X\(\/\).*/{ | |
| 6020 s//\1/ | |
| 6021 q | |
| 6022 } | |
| 6023 s/.*/./; q'` | |
| 6024 test -d "$as_dir" && break | |
| 6025 done | |
| 6026 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 6027 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 6028 | |
| 6029 | |
| 6030 } # as_fn_mkdir_p | |
| 6031 if mkdir -p . 2>/dev/null; then | |
| 6032 as_mkdir_p='mkdir -p "$as_dir"' | |
| 6033 else | |
| 6034 test -d ./-p && rmdir ./-p | |
| 6035 as_mkdir_p=false | |
| 6036 fi | |
| 6037 | |
| 6038 | |
| 6039 # as_fn_executable_p FILE | |
| 6040 # ----------------------- | |
| 6041 # Test if FILE is an executable regular file. | |
| 6042 as_fn_executable_p () | |
| 6043 { | |
| 6044 test -f "$1" && test -x "$1" | |
| 6045 } # as_fn_executable_p | |
| 6046 as_test_x='test -x' | |
| 6047 as_executable_p=as_fn_executable_p | |
| 6048 | |
| 6049 # Sed expression to map a string onto a valid CPP name. | |
| 6050 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 6051 | |
| 6052 # Sed expression to map a string onto a valid variable name. | |
| 6053 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 6054 | |
| 6055 | |
| 6056 exec 6>&1 | |
| 6057 ## ----------------------------------- ## | |
| 6058 ## Main body of $CONFIG_STATUS script. ## | |
| 6059 ## ----------------------------------- ## | |
| 6060 _ASEOF | |
| 6061 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
| 6062 | |
| 6063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6064 # Save the log message, to keep $0 and so on meaningful, and to | |
| 6065 # report actual input values of CONFIG_FILES etc. instead of their | |
| 6066 # values after options handling. | |
| 6067 ac_log=" | |
| 6068 This file was extended by $as_me, which was | |
| 6069 generated by GNU Autoconf 2.69. Invocation command line was | |
| 6070 | |
| 6071 CONFIG_FILES = $CONFIG_FILES | |
| 6072 CONFIG_HEADERS = $CONFIG_HEADERS | |
| 6073 CONFIG_LINKS = $CONFIG_LINKS | |
| 6074 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
| 6075 $ $0 $@ | |
| 6076 | |
| 6077 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 6078 " | |
| 6079 | |
| 6080 _ACEOF | |
| 6081 | |
| 6082 case $ac_config_files in *" | |
| 6083 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
| 6084 esac | |
| 6085 | |
| 6086 case $ac_config_headers in *" | |
| 6087 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
| 6088 esac | |
| 6089 | |
| 6090 | |
| 6091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 6092 # Files that config.status was made for. | |
| 6093 config_files="$ac_config_files" | |
| 6094 config_headers="$ac_config_headers" | |
| 6095 config_commands="$ac_config_commands" | |
| 6096 | |
| 6097 _ACEOF | |
| 6098 | |
| 6099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6100 ac_cs_usage="\ | |
| 6101 \`$as_me' instantiates files and other configuration actions | |
| 6102 from templates according to the current configuration. Unless the files | |
| 6103 and actions are specified as TAGs, all are instantiated by default. | |
| 6104 | |
| 6105 Usage: $0 [OPTION]... [TAG]... | |
| 6106 | |
| 6107 -h, --help print this help, then exit | |
| 6108 -V, --version print version number and configuration settings, then exit | |
| 6109 --config print configuration, then exit | |
| 6110 -q, --quiet, --silent | |
| 6111 do not print progress messages | |
| 6112 -d, --debug don't remove temporary files | |
| 6113 --recheck update $as_me by reconfiguring in the same conditions | |
| 6114 --file=FILE[:TEMPLATE] | |
| 6115 instantiate the configuration file FILE | |
| 6116 --header=FILE[:TEMPLATE] | |
| 6117 instantiate the configuration header FILE | |
| 6118 | |
| 6119 Configuration files: | |
| 6120 $config_files | |
| 6121 | |
| 6122 Configuration headers: | |
| 6123 $config_headers | |
| 6124 | |
| 6125 Configuration commands: | |
| 6126 $config_commands | |
| 6127 | |
| 6128 Report bugs to the package provider." | |
| 6129 | |
| 6130 _ACEOF | |
| 6131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 6132 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
| 6133 ac_cs_version="\\ | |
| 6134 config.status | |
| 6135 configured by $0, generated by GNU Autoconf 2.69, | |
| 6136 with options \\"\$ac_cs_config\\" | |
| 6137 | |
| 6138 Copyright (C) 2012 Free Software Foundation, Inc. | |
| 6139 This config.status script is free software; the Free Software Foundation | |
| 6140 gives unlimited permission to copy, distribute and modify it." | |
| 6141 | |
| 6142 ac_pwd='$ac_pwd' | |
| 6143 srcdir='$srcdir' | |
| 6144 INSTALL='$INSTALL' | |
| 6145 MKDIR_P='$MKDIR_P' | |
| 6146 AWK='$AWK' | |
| 6147 test -n "\$AWK" || AWK=awk | |
| 6148 _ACEOF | |
| 6149 | |
| 6150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6151 # The default lists apply if the user does not specify any file. | |
| 6152 ac_need_defaults=: | |
| 6153 while test $# != 0 | |
| 6154 do | |
| 6155 case $1 in | |
| 6156 --*=?*) | |
| 6157 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 6158 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
| 6159 ac_shift=: | |
| 6160 ;; | |
| 6161 --*=) | |
| 6162 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 6163 ac_optarg= | |
| 6164 ac_shift=: | |
| 6165 ;; | |
| 6166 *) | |
| 6167 ac_option=$1 | |
| 6168 ac_optarg=$2 | |
| 6169 ac_shift=shift | |
| 6170 ;; | |
| 6171 esac | |
| 6172 | |
| 6173 case $ac_option in | |
| 6174 # Handling of the options. | |
| 6175 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
| 6176 ac_cs_recheck=: ;; | |
| 6177 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
| 6178 $as_echo "$ac_cs_version"; exit ;; | |
| 6179 --config | --confi | --conf | --con | --co | --c ) | |
| 6180 $as_echo "$ac_cs_config"; exit ;; | |
| 6181 --debug | --debu | --deb | --de | --d | -d ) | |
| 6182 debug=: ;; | |
| 6183 --file | --fil | --fi | --f ) | |
| 6184 $ac_shift | |
| 6185 case $ac_optarg in | |
| 6186 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 6187 '') as_fn_error $? "missing file argument" ;; | |
| 6188 esac | |
| 6189 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
| 6190 ac_need_defaults=false;; | |
| 6191 --header | --heade | --head | --hea ) | |
| 6192 $ac_shift | |
| 6193 case $ac_optarg in | |
| 6194 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 6195 esac | |
| 6196 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
| 6197 ac_need_defaults=false;; | |
| 6198 --he | --h) | |
| 6199 # Conflict between --help and --header | |
| 6200 as_fn_error $? "ambiguous option: \`$1' | |
| 6201 Try \`$0 --help' for more information.";; | |
| 6202 --help | --hel | -h ) | |
| 6203 $as_echo "$ac_cs_usage"; exit ;; | |
| 6204 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 6205 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
| 6206 ac_cs_silent=: ;; | |
| 6207 | |
| 6208 # This is an error. | |
| 6209 -*) as_fn_error $? "unrecognized option: \`$1' | |
| 6210 Try \`$0 --help' for more information." ;; | |
| 6211 | |
| 6212 *) as_fn_append ac_config_targets " $1" | |
| 6213 ac_need_defaults=false ;; | |
| 6214 | |
| 6215 esac | |
| 6216 shift | |
| 6217 done | |
| 6218 | |
| 6219 ac_configure_extra_args= | |
| 6220 | |
| 6221 if $ac_cs_silent; then | |
| 6222 exec 6>/dev/null | |
| 6223 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
| 6224 fi | |
| 6225 | |
| 6226 _ACEOF | |
| 6227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 6228 if \$ac_cs_recheck; then | |
| 6229 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
| 6230 shift | |
| 6231 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
| 6232 CONFIG_SHELL='$SHELL' | |
| 6233 export CONFIG_SHELL | |
| 6234 exec "\$@" | |
| 6235 fi | |
| 6236 | |
| 6237 _ACEOF | |
| 6238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6239 exec 5>>config.log | |
| 6240 { | |
| 6241 echo | |
| 6242 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
| 6243 ## Running $as_me. ## | |
| 6244 _ASBOX | |
| 6245 $as_echo "$ac_log" | |
| 6246 } >&5 | |
| 6247 | |
| 6248 _ACEOF | |
| 6249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 3086 # | 6250 # |
| 3087 # $0 $ac_configure_args | 6251 # INIT-COMMANDS |
| 3088 # | 6252 # |
| 3089 # Compiler output produced by configure, useful for debugging | 6253 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
| 3090 # configure, is in ./config.log if it exists. | 6254 |
| 3091 | 6255 _ACEOF |
| 3092 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" | 6256 |
| 3093 for ac_option | 6257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 6258 | |
| 6259 # Handling of arguments. | |
| 6260 for ac_config_target in $ac_config_targets | |
| 3094 do | 6261 do |
| 3095 case "\$ac_option" in | 6262 case $ac_config_target in |
| 3096 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 6263 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
| 3097 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 6264 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
| 3098 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 6265 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 3099 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 6266 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
| 3100 echo "$CONFIG_STATUS generated by autoconf version 2.13" | 6267 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; |
| 3101 exit 0 ;; | 6268 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; |
| 3102 -help | --help | --hel | --he | --h) | 6269 "packages/redhat/Makefile") CONFIG_FILES="$CONFIG_FILES packages/redhat/Makefile" ;; |
| 3103 echo "\$ac_cs_usage"; exit 0 ;; | 6270 |
| 3104 *) echo "\$ac_cs_usage"; exit 1 ;; | 6271 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 3105 esac | 6272 esac |
| 3106 done | 6273 done |
| 3107 | 6274 |
| 3108 ac_given_srcdir=$srcdir | 6275 |
| 3109 ac_given_INSTALL="$INSTALL" | 6276 # If the user did not use the arguments to specify the items to instantiate, |
| 3110 | 6277 # then the envvar interface is used. Set only those that are not. |
| 3111 trap 'rm -fr `echo "Makefile src/Makefile docs/Makefile packages/Makefile packages/redhat/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | 6278 # We use the long form for the default assignment because of an extremely |
| 3112 EOF | 6279 # bizarre bug on SunOS 4.1.3. |
| 3113 cat >> $CONFIG_STATUS <<EOF | 6280 if $ac_need_defaults; then |
| 3114 | 6281 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 3115 # Protect against being on the right side of a sed subst in config.status. | 6282 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
| 3116 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 6283 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 3117 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 6284 fi |
| 3118 $ac_vpsub | 6285 |
| 3119 $extrasub | 6286 # Have a temporary directory for convenience. Make it in the build tree |
| 3120 s%@SHELL@%$SHELL%g | 6287 # simply because there is no reason against having it here, and in addition, |
| 3121 s%@CFLAGS@%$CFLAGS%g | 6288 # creating and moving files from /tmp can sometimes cause problems. |
| 3122 s%@CPPFLAGS@%$CPPFLAGS%g | 6289 # Hook for its removal unless debugging. |
| 3123 s%@CXXFLAGS@%$CXXFLAGS%g | 6290 # Note that there is a small window in which the directory will not be cleaned: |
| 3124 s%@FFLAGS@%$FFLAGS%g | 6291 # after its creation but before its name has been assigned to `$tmp'. |
| 3125 s%@DEFS@%$DEFS%g | 6292 $debug || |
| 3126 s%@LDFLAGS@%$LDFLAGS%g | 6293 { |
| 3127 s%@LIBS@%$LIBS%g | 6294 tmp= ac_tmp= |
| 3128 s%@exec_prefix@%$exec_prefix%g | 6295 trap 'exit_status=$? |
| 3129 s%@prefix@%$prefix%g | 6296 : "${ac_tmp:=$tmp}" |
| 3130 s%@program_transform_name@%$program_transform_name%g | 6297 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 3131 s%@bindir@%$bindir%g | 6298 ' 0 |
| 3132 s%@sbindir@%$sbindir%g | 6299 trap 'as_fn_exit 1' 1 2 13 15 |
| 3133 s%@libexecdir@%$libexecdir%g | 6300 } |
| 3134 s%@datadir@%$datadir%g | 6301 # Create a (secure) tmp directory for tmp files. |
| 3135 s%@sysconfdir@%$sysconfdir%g | 6302 |
| 3136 s%@sharedstatedir@%$sharedstatedir%g | 6303 { |
| 3137 s%@localstatedir@%$localstatedir%g | 6304 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 3138 s%@libdir@%$libdir%g | 6305 test -d "$tmp" |
| 3139 s%@includedir@%$includedir%g | 6306 } || |
| 3140 s%@oldincludedir@%$oldincludedir%g | 6307 { |
| 3141 s%@infodir@%$infodir%g | 6308 tmp=./conf$$-$RANDOM |
| 3142 s%@mandir@%$mandir%g | 6309 (umask 077 && mkdir "$tmp") |
| 3143 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 6310 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 3144 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | 6311 ac_tmp=$tmp |
| 3145 s%@INSTALL_DATA@%$INSTALL_DATA%g | 6312 |
| 3146 s%@PACKAGE@%$PACKAGE%g | 6313 # Set up the scripts for CONFIG_FILES section. |
| 3147 s%@VERSION@%$VERSION%g | 6314 # No need to generate them if there are no CONFIG_FILES. |
| 3148 s%@ACLOCAL@%$ACLOCAL%g | 6315 # This happens for instance with `./config.status config.h'. |
| 3149 s%@AUTOCONF@%$AUTOCONF%g | 6316 if test -n "$CONFIG_FILES"; then |
| 3150 s%@AUTOMAKE@%$AUTOMAKE%g | 6317 |
| 3151 s%@AUTOHEADER@%$AUTOHEADER%g | 6318 |
| 3152 s%@MAKEINFO@%$MAKEINFO%g | 6319 ac_cr=`echo X | tr X '\015'` |
| 3153 s%@SET_MAKE@%$SET_MAKE%g | 6320 # On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 3154 s%@CC@%$CC%g | 6321 # But we know of no other shell where ac_cr would be empty at this |
| 3155 s%@CPP@%$CPP%g | 6322 # point, so we can use a bashism as a fallback. |
| 3156 s%@SENDMAILPROG@%$SENDMAILPROG%g | 6323 if test "x$ac_cr" = x; then |
| 3157 s%@LIBPAM@%$LIBPAM%g | 6324 eval ac_cr=\$\'\\r\' |
| 3158 s%@USERSFILE@%$USERSFILE%g | 6325 fi |
| 3159 s%@SPOOLDIR@%$SPOOLDIR%g | 6326 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 3160 s%@CONFIGFILE@%$CONFIGFILE%g | 6327 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 3161 s%@DOCDIR@%$DOCDIR%g | 6328 ac_cs_awk_cr='\\r' |
| 3162 | 6329 else |
| 3163 CEOF | 6330 ac_cs_awk_cr=$ac_cr |
| 3164 EOF | 6331 fi |
| 3165 | 6332 |
| 3166 cat >> $CONFIG_STATUS <<\EOF | 6333 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 3167 | 6334 _ACEOF |
| 3168 # Split the substitutions into bite-sized pieces for seds with | 6335 |
| 3169 # small command number limits, like on Digital OSF/1 and HP-UX. | 6336 |
| 3170 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. | 6337 { |
| 3171 ac_file=1 # Number of current file. | 6338 echo "cat >conf$$subs.awk <<_ACEOF" && |
| 3172 ac_beg=1 # First line for current file. | 6339 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 3173 ac_end=$ac_max_sed_cmds # Line after last line for current file. | 6340 echo "_ACEOF" |
| 3174 ac_more_lines=: | 6341 } >conf$$subs.sh || |
| 3175 ac_sed_cmds="" | 6342 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 3176 while $ac_more_lines; do | 6343 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 3177 if test $ac_beg -gt 1; then | 6344 ac_delim='%!_!# ' |
| 3178 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file | 6345 for ac_last_try in false false false false false :; do |
| 6346 . ./conf$$subs.sh || | |
| 6347 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 6348 | |
| 6349 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
| 6350 if test $ac_delim_n = $ac_delim_num; then | |
| 6351 break | |
| 6352 elif $ac_last_try; then | |
| 6353 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 3179 else | 6354 else |
| 3180 sed "${ac_end}q" conftest.subs > conftest.s$ac_file | 6355 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 3181 fi | |
| 3182 if test ! -s conftest.s$ac_file; then | |
| 3183 ac_more_lines=false | |
| 3184 rm -f conftest.s$ac_file | |
| 3185 else | |
| 3186 if test -z "$ac_sed_cmds"; then | |
| 3187 ac_sed_cmds="sed -f conftest.s$ac_file" | |
| 3188 else | |
| 3189 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" | |
| 3190 fi | |
| 3191 ac_file=`expr $ac_file + 1` | |
| 3192 ac_beg=$ac_end | |
| 3193 ac_end=`expr $ac_end + $ac_max_sed_cmds` | |
| 3194 fi | 6356 fi |
| 3195 done | 6357 done |
| 3196 if test -z "$ac_sed_cmds"; then | 6358 rm -f conf$$subs.sh |
| 3197 ac_sed_cmds=cat | 6359 |
| 3198 fi | 6360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 3199 EOF | 6361 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 3200 | 6362 _ACEOF |
| 3201 cat >> $CONFIG_STATUS <<EOF | 6363 sed -n ' |
| 3202 | 6364 h |
| 3203 CONFIG_FILES=\${CONFIG_FILES-"Makefile src/Makefile docs/Makefile packages/Makefile packages/redhat/Makefile"} | 6365 s/^/S["/; s/!.*/"]=/ |
| 3204 EOF | 6366 p |
| 3205 cat >> $CONFIG_STATUS <<\EOF | 6367 g |
| 3206 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then | 6368 s/^[^!]*!// |
| 3207 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 6369 :repl |
| 3208 case "$ac_file" in | 6370 t repl |
| 3209 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | 6371 s/'"$ac_delim"'$// |
| 3210 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | 6372 t delim |
| 3211 *) ac_file_in="${ac_file}.in" ;; | 6373 :nl |
| 6374 h | |
| 6375 s/\(.\{148\}\)..*/\1/ | |
| 6376 t more1 | |
| 6377 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
| 6378 p | |
| 6379 n | |
| 6380 b repl | |
| 6381 :more1 | |
| 6382 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 6383 p | |
| 6384 g | |
| 6385 s/.\{148\}// | |
| 6386 t nl | |
| 6387 :delim | |
| 6388 h | |
| 6389 s/\(.\{148\}\)..*/\1/ | |
| 6390 t more2 | |
| 6391 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
| 6392 p | |
| 6393 b | |
| 6394 :more2 | |
| 6395 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 6396 p | |
| 6397 g | |
| 6398 s/.\{148\}// | |
| 6399 t delim | |
| 6400 ' <conf$$subs.awk | sed ' | |
| 6401 /^[^""]/{ | |
| 6402 N | |
| 6403 s/\n// | |
| 6404 } | |
| 6405 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 6406 rm -f conf$$subs.awk | |
| 6407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 6408 _ACAWK | |
| 6409 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
| 6410 for (key in S) S_is_set[key] = 1 | |
| 6411 FS = "" | |
| 6412 | |
| 6413 } | |
| 6414 { | |
| 6415 line = $ 0 | |
| 6416 nfields = split(line, field, "@") | |
| 6417 substed = 0 | |
| 6418 len = length(field[1]) | |
| 6419 for (i = 2; i < nfields; i++) { | |
| 6420 key = field[i] | |
| 6421 keylen = length(key) | |
| 6422 if (S_is_set[key]) { | |
| 6423 value = S[key] | |
| 6424 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
| 6425 len += length(value) + length(field[++i]) | |
| 6426 substed = 1 | |
| 6427 } else | |
| 6428 len += 1 + keylen | |
| 6429 } | |
| 6430 | |
| 6431 print line | |
| 6432 } | |
| 6433 | |
| 6434 _ACAWK | |
| 6435 _ACEOF | |
| 6436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6437 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
| 6438 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
| 6439 else | |
| 6440 cat | |
| 6441 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
| 6442 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
| 6443 _ACEOF | |
| 6444 | |
| 6445 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
| 6446 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
| 6447 # trailing colons and then remove the whole line if VPATH becomes empty | |
| 6448 # (actually we leave an empty line to preserve line numbers). | |
| 6449 if test "x$srcdir" = x.; then | |
| 6450 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
| 6451 h | |
| 6452 s/// | |
| 6453 s/^/:/ | |
| 6454 s/[ ]*$/:/ | |
| 6455 s/:\$(srcdir):/:/g | |
| 6456 s/:\${srcdir}:/:/g | |
| 6457 s/:@srcdir@:/:/g | |
| 6458 s/^:*// | |
| 6459 s/:*$// | |
| 6460 x | |
| 6461 s/\(=[ ]*\).*/\1/ | |
| 6462 G | |
| 6463 s/\n// | |
| 6464 s/^[^=]*=[ ]*$// | |
| 6465 }' | |
| 6466 fi | |
| 6467 | |
| 6468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6469 fi # test -n "$CONFIG_FILES" | |
| 6470 | |
| 6471 # Set up the scripts for CONFIG_HEADERS section. | |
| 6472 # No need to generate them if there are no CONFIG_HEADERS. | |
| 6473 # This happens for instance with `./config.status Makefile'. | |
| 6474 if test -n "$CONFIG_HEADERS"; then | |
| 6475 cat >"$ac_tmp/defines.awk" <<\_ACAWK || | |
| 6476 BEGIN { | |
| 6477 _ACEOF | |
| 6478 | |
| 6479 # Transform confdefs.h into an awk script `defines.awk', embedded as | |
| 6480 # here-document in config.status, that substitutes the proper values into | |
| 6481 # config.h.in to produce config.h. | |
| 6482 | |
| 6483 # Create a delimiter string that does not exist in confdefs.h, to ease | |
| 6484 # handling of long lines. | |
| 6485 ac_delim='%!_!# ' | |
| 6486 for ac_last_try in false false :; do | |
| 6487 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | |
| 6488 if test -z "$ac_tt"; then | |
| 6489 break | |
| 6490 elif $ac_last_try; then | |
| 6491 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
| 6492 else | |
| 6493 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 6494 fi | |
| 6495 done | |
| 6496 | |
| 6497 # For the awk script, D is an array of macro values keyed by name, | |
| 6498 # likewise P contains macro parameters if any. Preserve backslash | |
| 6499 # newline sequences. | |
| 6500 | |
| 6501 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
| 6502 sed -n ' | |
| 6503 s/.\{148\}/&'"$ac_delim"'/g | |
| 6504 t rset | |
| 6505 :rset | |
| 6506 s/^[ ]*#[ ]*define[ ][ ]*/ / | |
| 6507 t def | |
| 6508 d | |
| 6509 :def | |
| 6510 s/\\$// | |
| 6511 t bsnl | |
| 6512 s/["\\]/\\&/g | |
| 6513 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
| 6514 D["\1"]=" \3"/p | |
| 6515 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
| 6516 d | |
| 6517 :bsnl | |
| 6518 s/["\\]/\\&/g | |
| 6519 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
| 6520 D["\1"]=" \3\\\\\\n"\\/p | |
| 6521 t cont | |
| 6522 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
| 6523 t cont | |
| 6524 d | |
| 6525 :cont | |
| 6526 n | |
| 6527 s/.\{148\}/&'"$ac_delim"'/g | |
| 6528 t clear | |
| 6529 :clear | |
| 6530 s/\\$// | |
| 6531 t bsnlc | |
| 6532 s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
| 6533 d | |
| 6534 :bsnlc | |
| 6535 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
| 6536 b cont | |
| 6537 ' <confdefs.h | sed ' | |
| 6538 s/'"$ac_delim"'/"\\\ | |
| 6539 "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 6540 | |
| 6541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 6542 for (key in D) D_is_set[key] = 1 | |
| 6543 FS = "" | |
| 6544 } | |
| 6545 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
| 6546 line = \$ 0 | |
| 6547 split(line, arg, " ") | |
| 6548 if (arg[1] == "#") { | |
| 6549 defundef = arg[2] | |
| 6550 mac1 = arg[3] | |
| 6551 } else { | |
| 6552 defundef = substr(arg[1], 2) | |
| 6553 mac1 = arg[2] | |
| 6554 } | |
| 6555 split(mac1, mac2, "(") #) | |
| 6556 macro = mac2[1] | |
| 6557 prefix = substr(line, 1, index(line, defundef) - 1) | |
| 6558 if (D_is_set[macro]) { | |
| 6559 # Preserve the white space surrounding the "#". | |
| 6560 print prefix "define", macro P[macro] D[macro] | |
| 6561 next | |
| 6562 } else { | |
| 6563 # Replace #undef with comments. This is necessary, for example, | |
| 6564 # in the case of _POSIX_SOURCE, which is predefined and required | |
| 6565 # on some systems where configure will not decide to define it. | |
| 6566 if (defundef == "undef") { | |
| 6567 print "/*", prefix defundef, macro, "*/" | |
| 6568 next | |
| 6569 } | |
| 6570 } | |
| 6571 } | |
| 6572 { print } | |
| 6573 _ACAWK | |
| 6574 _ACEOF | |
| 6575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6576 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
| 6577 fi # test -n "$CONFIG_HEADERS" | |
| 6578 | |
| 6579 | |
| 6580 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | |
| 6581 shift | |
| 6582 for ac_tag | |
| 6583 do | |
| 6584 case $ac_tag in | |
| 6585 :[FHLC]) ac_mode=$ac_tag; continue;; | |
| 3212 esac | 6586 esac |
| 3213 | 6587 case $ac_mode$ac_tag in |
| 3214 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. | 6588 :[FHL]*:*);; |
| 3215 | 6589 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 3216 # Remove last slash and all that follows it. Not all systems have dirname. | 6590 :[FH]-) ac_tag=-:-;; |
| 3217 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | 6591 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 3218 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | 6592 esac |
| 3219 # The file is in a subdirectory. | 6593 ac_save_IFS=$IFS |
| 3220 test ! -d "$ac_dir" && mkdir "$ac_dir" | 6594 IFS=: |
| 3221 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" | 6595 set x $ac_tag |
| 3222 # A "../" for each directory in $ac_dir_suffix. | 6596 IFS=$ac_save_IFS |
| 3223 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` | 6597 shift |
| 6598 ac_file=$1 | |
| 6599 shift | |
| 6600 | |
| 6601 case $ac_mode in | |
| 6602 :L) ac_source=$1;; | |
| 6603 :[FH]) | |
| 6604 ac_file_inputs= | |
| 6605 for ac_f | |
| 6606 do | |
| 6607 case $ac_f in | |
| 6608 -) ac_f="$ac_tmp/stdin";; | |
| 6609 *) # Look for the file first in the build tree, then in the source tree | |
| 6610 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
| 6611 # because $ac_f cannot contain `:'. | |
| 6612 test -f "$ac_f" || | |
| 6613 case $ac_f in | |
| 6614 [\\/$]*) false;; | |
| 6615 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
| 6616 esac || | |
| 6617 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
| 6618 esac | |
| 6619 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
| 6620 as_fn_append ac_file_inputs " '$ac_f'" | |
| 6621 done | |
| 6622 | |
| 6623 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
| 6624 # use $as_me), people would be surprised to read: | |
| 6625 # /* config.h. Generated by config.status. */ | |
| 6626 configure_input='Generated from '` | |
| 6627 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
| 6628 `' by configure.' | |
| 6629 if test x"$ac_file" != x-; then | |
| 6630 configure_input="$ac_file. $configure_input" | |
| 6631 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
| 6632 $as_echo "$as_me: creating $ac_file" >&6;} | |
| 6633 fi | |
| 6634 # Neutralize special characters interpreted by sed in replacement strings. | |
| 6635 case $configure_input in #( | |
| 6636 *\&* | *\|* | *\\* ) | |
| 6637 ac_sed_conf_input=`$as_echo "$configure_input" | | |
| 6638 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
| 6639 *) ac_sed_conf_input=$configure_input;; | |
| 6640 esac | |
| 6641 | |
| 6642 case $ac_tag in | |
| 6643 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
| 6644 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
| 6645 esac | |
| 6646 ;; | |
| 6647 esac | |
| 6648 | |
| 6649 ac_dir=`$as_dirname -- "$ac_file" || | |
| 6650 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 6651 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
| 6652 X"$ac_file" : 'X\(//\)$' \| \ | |
| 6653 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
| 6654 $as_echo X"$ac_file" | | |
| 6655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 6656 s//\1/ | |
| 6657 q | |
| 6658 } | |
| 6659 /^X\(\/\/\)[^/].*/{ | |
| 6660 s//\1/ | |
| 6661 q | |
| 6662 } | |
| 6663 /^X\(\/\/\)$/{ | |
| 6664 s//\1/ | |
| 6665 q | |
| 6666 } | |
| 6667 /^X\(\/\).*/{ | |
| 6668 s//\1/ | |
| 6669 q | |
| 6670 } | |
| 6671 s/.*/./; q'` | |
| 6672 as_dir="$ac_dir"; as_fn_mkdir_p | |
| 6673 ac_builddir=. | |
| 6674 | |
| 6675 case "$ac_dir" in | |
| 6676 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 6677 *) | |
| 6678 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 6679 # A ".." for each directory in $ac_dir_suffix. | |
| 6680 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 6681 case $ac_top_builddir_sub in | |
| 6682 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 6683 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 6684 esac ;; | |
| 6685 esac | |
| 6686 ac_abs_top_builddir=$ac_pwd | |
| 6687 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 6688 # for backward compatibility: | |
| 6689 ac_top_builddir=$ac_top_build_prefix | |
| 6690 | |
| 6691 case $srcdir in | |
| 6692 .) # We are building in place. | |
| 6693 ac_srcdir=. | |
| 6694 ac_top_srcdir=$ac_top_builddir_sub | |
| 6695 ac_abs_top_srcdir=$ac_pwd ;; | |
| 6696 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 6697 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 6698 ac_top_srcdir=$srcdir | |
| 6699 ac_abs_top_srcdir=$srcdir ;; | |
| 6700 *) # Relative name. | |
| 6701 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 6702 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 6703 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 6704 esac | |
| 6705 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 6706 | |
| 6707 | |
| 6708 case $ac_mode in | |
| 6709 :F) | |
| 6710 # | |
| 6711 # CONFIG_FILE | |
| 6712 # | |
| 6713 | |
| 6714 case $INSTALL in | |
| 6715 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | |
| 6716 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | |
| 6717 esac | |
| 6718 ac_MKDIR_P=$MKDIR_P | |
| 6719 case $MKDIR_P in | |
| 6720 [\\/$]* | ?:[\\/]* ) ;; | |
| 6721 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
| 6722 esac | |
| 6723 _ACEOF | |
| 6724 | |
| 6725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6726 # If the template does not know about datarootdir, expand it. | |
| 6727 # FIXME: This hack should be removed a few years after 2.60. | |
| 6728 ac_datarootdir_hack=; ac_datarootdir_seen= | |
| 6729 ac_sed_dataroot=' | |
| 6730 /datarootdir/ { | |
| 6731 p | |
| 6732 q | |
| 6733 } | |
| 6734 /@datadir@/p | |
| 6735 /@docdir@/p | |
| 6736 /@infodir@/p | |
| 6737 /@localedir@/p | |
| 6738 /@mandir@/p' | |
| 6739 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
| 6740 *datarootdir*) ac_datarootdir_seen=yes;; | |
| 6741 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
| 6742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
| 6743 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
| 6744 _ACEOF | |
| 6745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 6746 ac_datarootdir_hack=' | |
| 6747 s&@datadir@&$datadir&g | |
| 6748 s&@docdir@&$docdir&g | |
| 6749 s&@infodir@&$infodir&g | |
| 6750 s&@localedir@&$localedir&g | |
| 6751 s&@mandir@&$mandir&g | |
| 6752 s&\\\${datarootdir}&$datarootdir&g' ;; | |
| 6753 esac | |
| 6754 _ACEOF | |
| 6755 | |
| 6756 # Neutralize VPATH when `$srcdir' = `.'. | |
| 6757 # Shell code in configure.ac might set extrasub. | |
| 6758 # FIXME: do we really want to maintain this feature? | |
| 6759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 6760 ac_sed_extra="$ac_vpsub | |
| 6761 $extrasub | |
| 6762 _ACEOF | |
| 6763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 6764 :t | |
| 6765 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
| 6766 s|@configure_input@|$ac_sed_conf_input|;t t | |
| 6767 s&@top_builddir@&$ac_top_builddir_sub&;t t | |
| 6768 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
| 6769 s&@srcdir@&$ac_srcdir&;t t | |
| 6770 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
| 6771 s&@top_srcdir@&$ac_top_srcdir&;t t | |
| 6772 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
| 6773 s&@builddir@&$ac_builddir&;t t | |
| 6774 s&@abs_builddir@&$ac_abs_builddir&;t t | |
| 6775 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
| 6776 s&@INSTALL@&$ac_INSTALL&;t t | |
| 6777 s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
| 6778 $ac_datarootdir_hack | |
| 6779 " | |
| 6780 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
| 6781 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 6782 | |
| 6783 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
| 6784 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
| 6785 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
| 6786 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
| 6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 6788 which seems to be undefined. Please make sure it is defined" >&5 | |
| 6789 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 6790 which seems to be undefined. Please make sure it is defined" >&2;} | |
| 6791 | |
| 6792 rm -f "$ac_tmp/stdin" | |
| 6793 case $ac_file in | |
| 6794 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
| 6795 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
| 6796 esac \ | |
| 6797 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 6798 ;; | |
| 6799 :H) | |
| 6800 # | |
| 6801 # CONFIG_HEADER | |
| 6802 # | |
| 6803 if test x"$ac_file" != x-; then | |
| 6804 { | |
| 6805 $as_echo "/* $configure_input */" \ | |
| 6806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | |
| 6807 } >"$ac_tmp/config.h" \ | |
| 6808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 6809 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | |
| 6810 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | |
| 6811 $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
| 6812 else | |
| 6813 rm -f "$ac_file" | |
| 6814 mv "$ac_tmp/config.h" "$ac_file" \ | |
| 6815 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 6816 fi | |
| 3224 else | 6817 else |
| 3225 ac_dir_suffix= ac_dots= | 6818 $as_echo "/* $configure_input */" \ |
| 6819 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | |
| 6820 || as_fn_error $? "could not create -" "$LINENO" 5 | |
| 3226 fi | 6821 fi |
| 3227 | 6822 # Compute "$ac_file"'s index in $config_headers. |
| 3228 case "$ac_given_srcdir" in | 6823 _am_arg="$ac_file" |
| 3229 .) srcdir=. | 6824 _am_stamp_count=1 |
| 3230 if test -z "$ac_dots"; then top_srcdir=. | 6825 for _am_header in $config_headers :; do |
| 3231 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; | 6826 case $_am_header in |
| 3232 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; | 6827 $_am_arg | $_am_arg:* ) |
| 3233 *) # Relative path. | 6828 break ;; |
| 3234 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" | 6829 * ) |
| 3235 top_srcdir="$ac_dots$ac_given_srcdir" ;; | 6830 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
| 3236 esac | 6831 esac |
| 3237 | 6832 done |
| 3238 case "$ac_given_INSTALL" in | 6833 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
| 3239 [/$]*) INSTALL="$ac_given_INSTALL" ;; | 6834 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 3240 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; | 6835 X"$_am_arg" : 'X\(//\)[^/]' \| \ |
| 6836 X"$_am_arg" : 'X\(//\)$' \| \ | |
| 6837 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
| 6838 $as_echo X"$_am_arg" | | |
| 6839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 6840 s//\1/ | |
| 6841 q | |
| 6842 } | |
| 6843 /^X\(\/\/\)[^/].*/{ | |
| 6844 s//\1/ | |
| 6845 q | |
| 6846 } | |
| 6847 /^X\(\/\/\)$/{ | |
| 6848 s//\1/ | |
| 6849 q | |
| 6850 } | |
| 6851 /^X\(\/\).*/{ | |
| 6852 s//\1/ | |
| 6853 q | |
| 6854 } | |
| 6855 s/.*/./; q'`/stamp-h$_am_stamp_count | |
| 6856 ;; | |
| 6857 | |
| 6858 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | |
| 6859 $as_echo "$as_me: executing $ac_file commands" >&6;} | |
| 6860 ;; | |
| 3241 esac | 6861 esac |
| 3242 | 6862 |
| 3243 echo creating "$ac_file" | 6863 |
| 3244 rm -f "$ac_file" | 6864 case $ac_file$ac_mode in |
| 3245 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." | 6865 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
| 3246 case "$ac_file" in | 6866 # Older Autoconf quotes --file arguments for eval, but not when files |
| 3247 *Makefile*) ac_comsub="1i\\ | 6867 # are listed without --file. Let's play safe and only enable the eval |
| 3248 # $configure_input" ;; | 6868 # if we detect the quoting. |
| 3249 *) ac_comsub= ;; | 6869 case $CONFIG_FILES in |
| 6870 *\'*) eval set x "$CONFIG_FILES" ;; | |
| 6871 *) set x $CONFIG_FILES ;; | |
| 3250 esac | 6872 esac |
| 3251 | 6873 shift |
| 3252 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | 6874 for mf |
| 3253 sed -e "$ac_comsub | 6875 do |
| 3254 s%@configure_input@%$configure_input%g | 6876 # Strip MF so we end up with the name of the file. |
| 3255 s%@srcdir@%$srcdir%g | 6877 mf=`echo "$mf" | sed -e 's/:.*$//'` |
| 3256 s%@top_srcdir@%$top_srcdir%g | 6878 # Check whether this is an Automake generated Makefile or not. |
| 3257 s%@INSTALL@%$INSTALL%g | 6879 # We used to match only the files named 'Makefile.in', but |
| 3258 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file | 6880 # some people rename them; so instead we look at the file content. |
| 3259 fi; done | 6881 # Grep'ing the first line is not enough: some people post-process |
| 3260 rm -f conftest.s* | 6882 # each Makefile.in and add a new line on top of each file to say so. |
| 3261 | 6883 # Grep'ing the whole file is not good either: AIX grep has a line |
| 3262 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 6884 # limit of 2048, but all sed's we know have understand at least 4000. |
| 3263 # NAME is the cpp macro being defined and VALUE is the value it is being given. | 6885 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
| 3264 # | 6886 dirpart=`$as_dirname -- "$mf" || |
| 3265 # ac_d sets the value in "#define NAME VALUE" lines. | 6887 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 3266 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' | 6888 X"$mf" : 'X\(//\)[^/]' \| \ |
| 3267 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' | 6889 X"$mf" : 'X\(//\)$' \| \ |
| 3268 ac_dC='\3' | 6890 X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
| 3269 ac_dD='%g' | 6891 $as_echo X"$mf" | |
| 3270 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". | 6892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 3271 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | 6893 s//\1/ |
| 3272 ac_uB='\([ ]\)%\1#\2define\3' | 6894 q |
| 3273 ac_uC=' ' | 6895 } |
| 3274 ac_uD='\4%g' | 6896 /^X\(\/\/\)[^/].*/{ |
| 3275 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 6897 s//\1/ |
| 3276 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | 6898 q |
| 3277 ac_eB='$%\1#\2define\3' | 6899 } |
| 3278 ac_eC=' ' | 6900 /^X\(\/\/\)$/{ |
| 3279 ac_eD='%g' | 6901 s//\1/ |
| 3280 | 6902 q |
| 3281 if test "${CONFIG_HEADERS+set}" != set; then | 6903 } |
| 3282 EOF | 6904 /^X\(\/\).*/{ |
| 3283 cat >> $CONFIG_STATUS <<EOF | 6905 s//\1/ |
| 3284 CONFIG_HEADERS="config.h" | 6906 q |
| 3285 EOF | 6907 } |
| 3286 cat >> $CONFIG_STATUS <<\EOF | 6908 s/.*/./; q'` |
| 3287 fi | 6909 else |
| 3288 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then | 6910 continue |
| 3289 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 6911 fi |
| 3290 case "$ac_file" in | 6912 # Extract the definition of DEPDIR, am__include, and am__quote |
| 3291 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | 6913 # from the Makefile without running 'make'. |
| 3292 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | 6914 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
| 3293 *) ac_file_in="${ac_file}.in" ;; | 6915 test -z "$DEPDIR" && continue |
| 6916 am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
| 6917 test -z "$am__include" && continue | |
| 6918 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
| 6919 # Find all dependency output files, they are included files with | |
| 6920 # $(DEPDIR) in their names. We invoke sed twice because it is the | |
| 6921 # simplest approach to changing $(DEPDIR) to its actual value in the | |
| 6922 # expansion. | |
| 6923 for file in `sed -n " | |
| 6924 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
| 6925 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
| 6926 # Make sure the directory exists. | |
| 6927 test -f "$dirpart/$file" && continue | |
| 6928 fdir=`$as_dirname -- "$file" || | |
| 6929 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 6930 X"$file" : 'X\(//\)[^/]' \| \ | |
| 6931 X"$file" : 'X\(//\)$' \| \ | |
| 6932 X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
| 6933 $as_echo X"$file" | | |
| 6934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 6935 s//\1/ | |
| 6936 q | |
| 6937 } | |
| 6938 /^X\(\/\/\)[^/].*/{ | |
| 6939 s//\1/ | |
| 6940 q | |
| 6941 } | |
| 6942 /^X\(\/\/\)$/{ | |
| 6943 s//\1/ | |
| 6944 q | |
| 6945 } | |
| 6946 /^X\(\/\).*/{ | |
| 6947 s//\1/ | |
| 6948 q | |
| 6949 } | |
| 6950 s/.*/./; q'` | |
| 6951 as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
| 6952 # echo "creating $dirpart/$file" | |
| 6953 echo '# dummy' > "$dirpart/$file" | |
| 6954 done | |
| 6955 done | |
| 6956 } | |
| 6957 ;; | |
| 6958 | |
| 3294 esac | 6959 esac |
| 3295 | 6960 done # for ac_tag |
| 3296 echo creating $ac_file | 6961 |
| 3297 | 6962 |
| 3298 rm -f conftest.frag conftest.in conftest.out | 6963 as_fn_exit 0 |
| 3299 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | 6964 _ACEOF |
| 3300 cat $ac_file_inputs > conftest.in | 6965 ac_clean_files=$ac_clean_files_save |
| 3301 | 6966 |
| 3302 EOF | 6967 test $ac_write_fail = 0 || |
| 3303 | 6968 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 3304 # Transform confdefs.h into a sed script conftest.vals that substitutes | 6969 |
| 3305 # the proper values into config.h.in to produce config.h. And first: | 6970 |
| 3306 # Protect against being on the right side of a sed subst in config.status. | 6971 # configure is writing to config.log, and then calls config.status. |
| 3307 # Protect against being in an unquoted here document in config.status. | 6972 # config.status does its own redirection, appending to config.log. |
| 3308 rm -f conftest.vals | 6973 # Unfortunately, on DOS this fails, as config.log is still kept open |
| 3309 cat > conftest.hdr <<\EOF | 6974 # by configure, so config.status won't be able to write to it; its |
| 3310 s/[\\&%]/\\&/g | 6975 # output is simply discarded. So we exec the FD to /dev/null, |
| 3311 s%[\\$`]%\\&%g | 6976 # effectively closing config.log, so it can be properly (re)opened and |
| 3312 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp | 6977 # appended to by config.status. When coming back to configure, we |
| 3313 s%ac_d%ac_u%gp | 6978 # need to make the FD available again. |
| 3314 s%ac_u%ac_e%gp | 6979 if test "$no_create" != yes; then |
| 3315 EOF | 6980 ac_cs_success=: |
| 3316 sed -n -f conftest.hdr confdefs.h > conftest.vals | 6981 ac_config_status_args= |
| 3317 rm -f conftest.hdr | 6982 test "$silent" = yes && |
| 3318 | 6983 ac_config_status_args="$ac_config_status_args --quiet" |
| 3319 # This sed command replaces #undef with comments. This is necessary, for | 6984 exec 5>/dev/null |
| 3320 # example, in the case of _POSIX_SOURCE, which is predefined and required | 6985 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 3321 # on some systems where configure will not decide to define it. | 6986 exec 5>>config.log |
| 3322 cat >> conftest.vals <<\EOF | 6987 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 3323 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% | 6988 # would make configure fail if this is the last instruction. |
| 3324 EOF | 6989 $ac_cs_success || as_fn_exit 1 |
| 3325 | 6990 fi |
| 3326 # Break up conftest.vals because some shells have a limit on | 6991 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 3327 # the size of here documents, and old seds have small limits too. | 6992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 3328 | 6993 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 3329 rm -f conftest.tail | 6994 fi |
| 3330 while : | 6995 |
| 3331 do | 6996 |
| 3332 ac_lines=`grep -c . conftest.vals` | |
| 3333 # grep -c gives empty output for an empty file on some AIX systems. | |
| 3334 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi | |
| 3335 # Write a limited-size here document to conftest.frag. | |
| 3336 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS | |
| 3337 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS | |
| 3338 echo 'CEOF | |
| 3339 sed -f conftest.frag conftest.in > conftest.out | |
| 3340 rm -f conftest.in | |
| 3341 mv conftest.out conftest.in | |
| 3342 ' >> $CONFIG_STATUS | |
| 3343 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail | |
| 3344 rm -f conftest.vals | |
| 3345 mv conftest.tail conftest.vals | |
| 3346 done | |
| 3347 rm -f conftest.vals | |
| 3348 | |
| 3349 cat >> $CONFIG_STATUS <<\EOF | |
| 3350 rm -f conftest.frag conftest.h | |
| 3351 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h | |
| 3352 cat conftest.in >> conftest.h | |
| 3353 rm -f conftest.in | |
| 3354 if cmp -s $ac_file conftest.h 2>/dev/null; then | |
| 3355 echo "$ac_file is unchanged" | |
| 3356 rm -f conftest.h | |
| 3357 else | |
| 3358 # Remove last slash and all that follows it. Not all systems have dirname. | |
| 3359 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | |
| 3360 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | |
| 3361 # The file is in a subdirectory. | |
| 3362 test ! -d "$ac_dir" && mkdir "$ac_dir" | |
| 3363 fi | |
| 3364 rm -f $ac_file | |
| 3365 mv conftest.h $ac_file | |
| 3366 fi | |
| 3367 fi; done | |
| 3368 | |
| 3369 EOF | |
| 3370 cat >> $CONFIG_STATUS <<EOF | |
| 3371 | |
| 3372 | |
| 3373 EOF | |
| 3374 cat >> $CONFIG_STATUS <<\EOF | |
| 3375 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h | |
| 3376 | |
| 3377 exit 0 | |
| 3378 EOF | |
| 3379 chmod +x $CONFIG_STATUS | |
| 3380 rm -fr confdefs* $ac_clean_files | |
| 3381 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | |
| 3382 | |
| 3383 |
