configure revision a8fdb4bc
1a8fdb4bcSmrg#! /bin/sh 2a8fdb4bcSmrg# Guess values for system-dependent variables and create Makefiles. 3a8fdb4bcSmrg# Generated by GNU Autoconf 2.61 for luit 1.0.3. 4a8fdb4bcSmrg# 5a8fdb4bcSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a8fdb4bcSmrg# 7a8fdb4bcSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8a8fdb4bcSmrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9a8fdb4bcSmrg# This configure script is free software; the Free Software Foundation 10a8fdb4bcSmrg# gives unlimited permission to copy, distribute and modify it. 11a8fdb4bcSmrg## --------------------- ## 12a8fdb4bcSmrg## M4sh Initialization. ## 13a8fdb4bcSmrg## --------------------- ## 14a8fdb4bcSmrg 15a8fdb4bcSmrg# Be more Bourne compatible 16a8fdb4bcSmrgDUALCASE=1; export DUALCASE # for MKS sh 17a8fdb4bcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18a8fdb4bcSmrg emulate sh 19a8fdb4bcSmrg NULLCMD=: 20a8fdb4bcSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21a8fdb4bcSmrg # is contrary to our usage. Disable this feature. 22a8fdb4bcSmrg alias -g '${1+"$@"}'='"$@"' 23a8fdb4bcSmrg setopt NO_GLOB_SUBST 24a8fdb4bcSmrgelse 25a8fdb4bcSmrg case `(set -o) 2>/dev/null` in 26a8fdb4bcSmrg *posix*) set -o posix ;; 27a8fdb4bcSmrgesac 28a8fdb4bcSmrg 29a8fdb4bcSmrgfi 30a8fdb4bcSmrg 31a8fdb4bcSmrg 32a8fdb4bcSmrg 33a8fdb4bcSmrg 34a8fdb4bcSmrg# PATH needs CR 35a8fdb4bcSmrg# Avoid depending upon Character Ranges. 36a8fdb4bcSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 37a8fdb4bcSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38a8fdb4bcSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 39a8fdb4bcSmrgas_cr_digits='0123456789' 40a8fdb4bcSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 41a8fdb4bcSmrg 42a8fdb4bcSmrg# The user is always right. 43a8fdb4bcSmrgif test "${PATH_SEPARATOR+set}" != set; then 44a8fdb4bcSmrg echo "#! /bin/sh" >conf$$.sh 45a8fdb4bcSmrg echo "exit 0" >>conf$$.sh 46a8fdb4bcSmrg chmod +x conf$$.sh 47a8fdb4bcSmrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48a8fdb4bcSmrg PATH_SEPARATOR=';' 49a8fdb4bcSmrg else 50a8fdb4bcSmrg PATH_SEPARATOR=: 51a8fdb4bcSmrg fi 52a8fdb4bcSmrg rm -f conf$$.sh 53a8fdb4bcSmrgfi 54a8fdb4bcSmrg 55a8fdb4bcSmrg# Support unset when possible. 56a8fdb4bcSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57a8fdb4bcSmrg as_unset=unset 58a8fdb4bcSmrgelse 59a8fdb4bcSmrg as_unset=false 60a8fdb4bcSmrgfi 61a8fdb4bcSmrg 62a8fdb4bcSmrg 63a8fdb4bcSmrg# IFS 64a8fdb4bcSmrg# We need space, tab and new line, in precisely that order. Quoting is 65a8fdb4bcSmrg# there to prevent editors from complaining about space-tab. 66a8fdb4bcSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 67a8fdb4bcSmrg# splitting by setting IFS to empty value.) 68a8fdb4bcSmrgas_nl=' 69a8fdb4bcSmrg' 70a8fdb4bcSmrgIFS=" "" $as_nl" 71a8fdb4bcSmrg 72a8fdb4bcSmrg# Find who we are. Look in the path if we contain no directory separator. 73a8fdb4bcSmrgcase $0 in 74a8fdb4bcSmrg *[\\/]* ) as_myself=$0 ;; 75a8fdb4bcSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 76a8fdb4bcSmrgfor as_dir in $PATH 77a8fdb4bcSmrgdo 78a8fdb4bcSmrg IFS=$as_save_IFS 79a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 80a8fdb4bcSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81a8fdb4bcSmrgdone 82a8fdb4bcSmrgIFS=$as_save_IFS 83a8fdb4bcSmrg 84a8fdb4bcSmrg ;; 85a8fdb4bcSmrgesac 86a8fdb4bcSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 87a8fdb4bcSmrg# in which case we are not to be found in the path. 88a8fdb4bcSmrgif test "x$as_myself" = x; then 89a8fdb4bcSmrg as_myself=$0 90a8fdb4bcSmrgfi 91a8fdb4bcSmrgif test ! -f "$as_myself"; then 92a8fdb4bcSmrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93a8fdb4bcSmrg { (exit 1); exit 1; } 94a8fdb4bcSmrgfi 95a8fdb4bcSmrg 96a8fdb4bcSmrg# Work around bugs in pre-3.0 UWIN ksh. 97a8fdb4bcSmrgfor as_var in ENV MAIL MAILPATH 98a8fdb4bcSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99a8fdb4bcSmrgdone 100a8fdb4bcSmrgPS1='$ ' 101a8fdb4bcSmrgPS2='> ' 102a8fdb4bcSmrgPS4='+ ' 103a8fdb4bcSmrg 104a8fdb4bcSmrg# NLS nuisances. 105a8fdb4bcSmrgfor as_var in \ 106a8fdb4bcSmrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107a8fdb4bcSmrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108a8fdb4bcSmrg LC_TELEPHONE LC_TIME 109a8fdb4bcSmrgdo 110a8fdb4bcSmrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111a8fdb4bcSmrg eval $as_var=C; export $as_var 112a8fdb4bcSmrg else 113a8fdb4bcSmrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114a8fdb4bcSmrg fi 115a8fdb4bcSmrgdone 116a8fdb4bcSmrg 117a8fdb4bcSmrg# Required to use basename. 118a8fdb4bcSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 119a8fdb4bcSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 120a8fdb4bcSmrg as_expr=expr 121a8fdb4bcSmrgelse 122a8fdb4bcSmrg as_expr=false 123a8fdb4bcSmrgfi 124a8fdb4bcSmrg 125a8fdb4bcSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126a8fdb4bcSmrg as_basename=basename 127a8fdb4bcSmrgelse 128a8fdb4bcSmrg as_basename=false 129a8fdb4bcSmrgfi 130a8fdb4bcSmrg 131a8fdb4bcSmrg 132a8fdb4bcSmrg# Name of the executable. 133a8fdb4bcSmrgas_me=`$as_basename -- "$0" || 134a8fdb4bcSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135a8fdb4bcSmrg X"$0" : 'X\(//\)$' \| \ 136a8fdb4bcSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 137a8fdb4bcSmrgecho X/"$0" | 138a8fdb4bcSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 139a8fdb4bcSmrg s//\1/ 140a8fdb4bcSmrg q 141a8fdb4bcSmrg } 142a8fdb4bcSmrg /^X\/\(\/\/\)$/{ 143a8fdb4bcSmrg s//\1/ 144a8fdb4bcSmrg q 145a8fdb4bcSmrg } 146a8fdb4bcSmrg /^X\/\(\/\).*/{ 147a8fdb4bcSmrg s//\1/ 148a8fdb4bcSmrg q 149a8fdb4bcSmrg } 150a8fdb4bcSmrg s/.*/./; q'` 151a8fdb4bcSmrg 152a8fdb4bcSmrg# CDPATH. 153a8fdb4bcSmrg$as_unset CDPATH 154a8fdb4bcSmrg 155a8fdb4bcSmrg 156a8fdb4bcSmrgif test "x$CONFIG_SHELL" = x; then 157a8fdb4bcSmrg if (eval ":") 2>/dev/null; then 158a8fdb4bcSmrg as_have_required=yes 159a8fdb4bcSmrgelse 160a8fdb4bcSmrg as_have_required=no 161a8fdb4bcSmrgfi 162a8fdb4bcSmrg 163a8fdb4bcSmrg if test $as_have_required = yes && (eval ": 164a8fdb4bcSmrg(as_func_return () { 165a8fdb4bcSmrg (exit \$1) 166a8fdb4bcSmrg} 167a8fdb4bcSmrgas_func_success () { 168a8fdb4bcSmrg as_func_return 0 169a8fdb4bcSmrg} 170a8fdb4bcSmrgas_func_failure () { 171a8fdb4bcSmrg as_func_return 1 172a8fdb4bcSmrg} 173a8fdb4bcSmrgas_func_ret_success () { 174a8fdb4bcSmrg return 0 175a8fdb4bcSmrg} 176a8fdb4bcSmrgas_func_ret_failure () { 177a8fdb4bcSmrg return 1 178a8fdb4bcSmrg} 179a8fdb4bcSmrg 180a8fdb4bcSmrgexitcode=0 181a8fdb4bcSmrgif as_func_success; then 182a8fdb4bcSmrg : 183a8fdb4bcSmrgelse 184a8fdb4bcSmrg exitcode=1 185a8fdb4bcSmrg echo as_func_success failed. 186a8fdb4bcSmrgfi 187a8fdb4bcSmrg 188a8fdb4bcSmrgif as_func_failure; then 189a8fdb4bcSmrg exitcode=1 190a8fdb4bcSmrg echo as_func_failure succeeded. 191a8fdb4bcSmrgfi 192a8fdb4bcSmrg 193a8fdb4bcSmrgif as_func_ret_success; then 194a8fdb4bcSmrg : 195a8fdb4bcSmrgelse 196a8fdb4bcSmrg exitcode=1 197a8fdb4bcSmrg echo as_func_ret_success failed. 198a8fdb4bcSmrgfi 199a8fdb4bcSmrg 200a8fdb4bcSmrgif as_func_ret_failure; then 201a8fdb4bcSmrg exitcode=1 202a8fdb4bcSmrg echo as_func_ret_failure succeeded. 203a8fdb4bcSmrgfi 204a8fdb4bcSmrg 205a8fdb4bcSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206a8fdb4bcSmrg : 207a8fdb4bcSmrgelse 208a8fdb4bcSmrg exitcode=1 209a8fdb4bcSmrg echo positional parameters were not saved. 210a8fdb4bcSmrgfi 211a8fdb4bcSmrg 212a8fdb4bcSmrgtest \$exitcode = 0) || { (exit 1); exit 1; } 213a8fdb4bcSmrg 214a8fdb4bcSmrg( 215a8fdb4bcSmrg as_lineno_1=\$LINENO 216a8fdb4bcSmrg as_lineno_2=\$LINENO 217a8fdb4bcSmrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218a8fdb4bcSmrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219a8fdb4bcSmrg") 2> /dev/null; then 220a8fdb4bcSmrg : 221a8fdb4bcSmrgelse 222a8fdb4bcSmrg as_candidate_shells= 223a8fdb4bcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224a8fdb4bcSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225a8fdb4bcSmrgdo 226a8fdb4bcSmrg IFS=$as_save_IFS 227a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 228a8fdb4bcSmrg case $as_dir in 229a8fdb4bcSmrg /*) 230a8fdb4bcSmrg for as_base in sh bash ksh sh5; do 231a8fdb4bcSmrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232a8fdb4bcSmrg done;; 233a8fdb4bcSmrg esac 234a8fdb4bcSmrgdone 235a8fdb4bcSmrgIFS=$as_save_IFS 236a8fdb4bcSmrg 237a8fdb4bcSmrg 238a8fdb4bcSmrg for as_shell in $as_candidate_shells $SHELL; do 239a8fdb4bcSmrg # Try only shells that exist, to save several forks. 240a8fdb4bcSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241a8fdb4bcSmrg { ("$as_shell") 2> /dev/null <<\_ASEOF 242a8fdb4bcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243a8fdb4bcSmrg emulate sh 244a8fdb4bcSmrg NULLCMD=: 245a8fdb4bcSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246a8fdb4bcSmrg # is contrary to our usage. Disable this feature. 247a8fdb4bcSmrg alias -g '${1+"$@"}'='"$@"' 248a8fdb4bcSmrg setopt NO_GLOB_SUBST 249a8fdb4bcSmrgelse 250a8fdb4bcSmrg case `(set -o) 2>/dev/null` in 251a8fdb4bcSmrg *posix*) set -o posix ;; 252a8fdb4bcSmrgesac 253a8fdb4bcSmrg 254a8fdb4bcSmrgfi 255a8fdb4bcSmrg 256a8fdb4bcSmrg 257a8fdb4bcSmrg: 258a8fdb4bcSmrg_ASEOF 259a8fdb4bcSmrg}; then 260a8fdb4bcSmrg CONFIG_SHELL=$as_shell 261a8fdb4bcSmrg as_have_required=yes 262a8fdb4bcSmrg if { "$as_shell" 2> /dev/null <<\_ASEOF 263a8fdb4bcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264a8fdb4bcSmrg emulate sh 265a8fdb4bcSmrg NULLCMD=: 266a8fdb4bcSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267a8fdb4bcSmrg # is contrary to our usage. Disable this feature. 268a8fdb4bcSmrg alias -g '${1+"$@"}'='"$@"' 269a8fdb4bcSmrg setopt NO_GLOB_SUBST 270a8fdb4bcSmrgelse 271a8fdb4bcSmrg case `(set -o) 2>/dev/null` in 272a8fdb4bcSmrg *posix*) set -o posix ;; 273a8fdb4bcSmrgesac 274a8fdb4bcSmrg 275a8fdb4bcSmrgfi 276a8fdb4bcSmrg 277a8fdb4bcSmrg 278a8fdb4bcSmrg: 279a8fdb4bcSmrg(as_func_return () { 280a8fdb4bcSmrg (exit $1) 281a8fdb4bcSmrg} 282a8fdb4bcSmrgas_func_success () { 283a8fdb4bcSmrg as_func_return 0 284a8fdb4bcSmrg} 285a8fdb4bcSmrgas_func_failure () { 286a8fdb4bcSmrg as_func_return 1 287a8fdb4bcSmrg} 288a8fdb4bcSmrgas_func_ret_success () { 289a8fdb4bcSmrg return 0 290a8fdb4bcSmrg} 291a8fdb4bcSmrgas_func_ret_failure () { 292a8fdb4bcSmrg return 1 293a8fdb4bcSmrg} 294a8fdb4bcSmrg 295a8fdb4bcSmrgexitcode=0 296a8fdb4bcSmrgif as_func_success; then 297a8fdb4bcSmrg : 298a8fdb4bcSmrgelse 299a8fdb4bcSmrg exitcode=1 300a8fdb4bcSmrg echo as_func_success failed. 301a8fdb4bcSmrgfi 302a8fdb4bcSmrg 303a8fdb4bcSmrgif as_func_failure; then 304a8fdb4bcSmrg exitcode=1 305a8fdb4bcSmrg echo as_func_failure succeeded. 306a8fdb4bcSmrgfi 307a8fdb4bcSmrg 308a8fdb4bcSmrgif as_func_ret_success; then 309a8fdb4bcSmrg : 310a8fdb4bcSmrgelse 311a8fdb4bcSmrg exitcode=1 312a8fdb4bcSmrg echo as_func_ret_success failed. 313a8fdb4bcSmrgfi 314a8fdb4bcSmrg 315a8fdb4bcSmrgif as_func_ret_failure; then 316a8fdb4bcSmrg exitcode=1 317a8fdb4bcSmrg echo as_func_ret_failure succeeded. 318a8fdb4bcSmrgfi 319a8fdb4bcSmrg 320a8fdb4bcSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then 321a8fdb4bcSmrg : 322a8fdb4bcSmrgelse 323a8fdb4bcSmrg exitcode=1 324a8fdb4bcSmrg echo positional parameters were not saved. 325a8fdb4bcSmrgfi 326a8fdb4bcSmrg 327a8fdb4bcSmrgtest $exitcode = 0) || { (exit 1); exit 1; } 328a8fdb4bcSmrg 329a8fdb4bcSmrg( 330a8fdb4bcSmrg as_lineno_1=$LINENO 331a8fdb4bcSmrg as_lineno_2=$LINENO 332a8fdb4bcSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 333a8fdb4bcSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334a8fdb4bcSmrg 335a8fdb4bcSmrg_ASEOF 336a8fdb4bcSmrg}; then 337a8fdb4bcSmrg break 338a8fdb4bcSmrgfi 339a8fdb4bcSmrg 340a8fdb4bcSmrgfi 341a8fdb4bcSmrg 342a8fdb4bcSmrg done 343a8fdb4bcSmrg 344a8fdb4bcSmrg if test "x$CONFIG_SHELL" != x; then 345a8fdb4bcSmrg for as_var in BASH_ENV ENV 346a8fdb4bcSmrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347a8fdb4bcSmrg done 348a8fdb4bcSmrg export CONFIG_SHELL 349a8fdb4bcSmrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350a8fdb4bcSmrgfi 351a8fdb4bcSmrg 352a8fdb4bcSmrg 353a8fdb4bcSmrg if test $as_have_required = no; then 354a8fdb4bcSmrg echo This script requires a shell more modern than all the 355a8fdb4bcSmrg echo shells that I found on your system. Please install a 356a8fdb4bcSmrg echo modern shell, or manually run the script under such a 357a8fdb4bcSmrg echo shell if you do have one. 358a8fdb4bcSmrg { (exit 1); exit 1; } 359a8fdb4bcSmrgfi 360a8fdb4bcSmrg 361a8fdb4bcSmrg 362a8fdb4bcSmrgfi 363a8fdb4bcSmrg 364a8fdb4bcSmrgfi 365a8fdb4bcSmrg 366a8fdb4bcSmrg 367a8fdb4bcSmrg 368a8fdb4bcSmrg(eval "as_func_return () { 369a8fdb4bcSmrg (exit \$1) 370a8fdb4bcSmrg} 371a8fdb4bcSmrgas_func_success () { 372a8fdb4bcSmrg as_func_return 0 373a8fdb4bcSmrg} 374a8fdb4bcSmrgas_func_failure () { 375a8fdb4bcSmrg as_func_return 1 376a8fdb4bcSmrg} 377a8fdb4bcSmrgas_func_ret_success () { 378a8fdb4bcSmrg return 0 379a8fdb4bcSmrg} 380a8fdb4bcSmrgas_func_ret_failure () { 381a8fdb4bcSmrg return 1 382a8fdb4bcSmrg} 383a8fdb4bcSmrg 384a8fdb4bcSmrgexitcode=0 385a8fdb4bcSmrgif as_func_success; then 386a8fdb4bcSmrg : 387a8fdb4bcSmrgelse 388a8fdb4bcSmrg exitcode=1 389a8fdb4bcSmrg echo as_func_success failed. 390a8fdb4bcSmrgfi 391a8fdb4bcSmrg 392a8fdb4bcSmrgif as_func_failure; then 393a8fdb4bcSmrg exitcode=1 394a8fdb4bcSmrg echo as_func_failure succeeded. 395a8fdb4bcSmrgfi 396a8fdb4bcSmrg 397a8fdb4bcSmrgif as_func_ret_success; then 398a8fdb4bcSmrg : 399a8fdb4bcSmrgelse 400a8fdb4bcSmrg exitcode=1 401a8fdb4bcSmrg echo as_func_ret_success failed. 402a8fdb4bcSmrgfi 403a8fdb4bcSmrg 404a8fdb4bcSmrgif as_func_ret_failure; then 405a8fdb4bcSmrg exitcode=1 406a8fdb4bcSmrg echo as_func_ret_failure succeeded. 407a8fdb4bcSmrgfi 408a8fdb4bcSmrg 409a8fdb4bcSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410a8fdb4bcSmrg : 411a8fdb4bcSmrgelse 412a8fdb4bcSmrg exitcode=1 413a8fdb4bcSmrg echo positional parameters were not saved. 414a8fdb4bcSmrgfi 415a8fdb4bcSmrg 416a8fdb4bcSmrgtest \$exitcode = 0") || { 417a8fdb4bcSmrg echo No shell found that supports shell functions. 418a8fdb4bcSmrg echo Please tell autoconf@gnu.org about your system, 419a8fdb4bcSmrg echo including any error possibly output before this 420a8fdb4bcSmrg echo message 421a8fdb4bcSmrg} 422a8fdb4bcSmrg 423a8fdb4bcSmrg 424a8fdb4bcSmrg 425a8fdb4bcSmrg as_lineno_1=$LINENO 426a8fdb4bcSmrg as_lineno_2=$LINENO 427a8fdb4bcSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 428a8fdb4bcSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429a8fdb4bcSmrg 430a8fdb4bcSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431a8fdb4bcSmrg # uniformly replaced by the line number. The first 'sed' inserts a 432a8fdb4bcSmrg # line-number line after each line using $LINENO; the second 'sed' 433a8fdb4bcSmrg # does the real work. The second script uses 'N' to pair each 434a8fdb4bcSmrg # line-number line with the line containing $LINENO, and appends 435a8fdb4bcSmrg # trailing '-' during substitution so that $LINENO is not a special 436a8fdb4bcSmrg # case at line end. 437a8fdb4bcSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438a8fdb4bcSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 439a8fdb4bcSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 440a8fdb4bcSmrg sed -n ' 441a8fdb4bcSmrg p 442a8fdb4bcSmrg /[$]LINENO/= 443a8fdb4bcSmrg ' <$as_myself | 444a8fdb4bcSmrg sed ' 445a8fdb4bcSmrg s/[$]LINENO.*/&-/ 446a8fdb4bcSmrg t lineno 447a8fdb4bcSmrg b 448a8fdb4bcSmrg :lineno 449a8fdb4bcSmrg N 450a8fdb4bcSmrg :loop 451a8fdb4bcSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 452a8fdb4bcSmrg t loop 453a8fdb4bcSmrg s/-\n.*// 454a8fdb4bcSmrg ' >$as_me.lineno && 455a8fdb4bcSmrg chmod +x "$as_me.lineno" || 456a8fdb4bcSmrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457a8fdb4bcSmrg { (exit 1); exit 1; }; } 458a8fdb4bcSmrg 459a8fdb4bcSmrg # Don't try to exec as it changes $[0], causing all sort of problems 460a8fdb4bcSmrg # (the dirname of $[0] is not the place where we might find the 461a8fdb4bcSmrg # original and so on. Autoconf is especially sensitive to this). 462a8fdb4bcSmrg . "./$as_me.lineno" 463a8fdb4bcSmrg # Exit status is that of the last command. 464a8fdb4bcSmrg exit 465a8fdb4bcSmrg} 466a8fdb4bcSmrg 467a8fdb4bcSmrg 468a8fdb4bcSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469a8fdb4bcSmrg as_dirname=dirname 470a8fdb4bcSmrgelse 471a8fdb4bcSmrg as_dirname=false 472a8fdb4bcSmrgfi 473a8fdb4bcSmrg 474a8fdb4bcSmrgECHO_C= ECHO_N= ECHO_T= 475a8fdb4bcSmrgcase `echo -n x` in 476a8fdb4bcSmrg-n*) 477a8fdb4bcSmrg case `echo 'x\c'` in 478a8fdb4bcSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479a8fdb4bcSmrg *) ECHO_C='\c';; 480a8fdb4bcSmrg esac;; 481a8fdb4bcSmrg*) 482a8fdb4bcSmrg ECHO_N='-n';; 483a8fdb4bcSmrgesac 484a8fdb4bcSmrg 485a8fdb4bcSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 486a8fdb4bcSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 487a8fdb4bcSmrg as_expr=expr 488a8fdb4bcSmrgelse 489a8fdb4bcSmrg as_expr=false 490a8fdb4bcSmrgfi 491a8fdb4bcSmrg 492a8fdb4bcSmrgrm -f conf$$ conf$$.exe conf$$.file 493a8fdb4bcSmrgif test -d conf$$.dir; then 494a8fdb4bcSmrg rm -f conf$$.dir/conf$$.file 495a8fdb4bcSmrgelse 496a8fdb4bcSmrg rm -f conf$$.dir 497a8fdb4bcSmrg mkdir conf$$.dir 498a8fdb4bcSmrgfi 499a8fdb4bcSmrgecho >conf$$.file 500a8fdb4bcSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then 501a8fdb4bcSmrg as_ln_s='ln -s' 502a8fdb4bcSmrg # ... but there are two gotchas: 503a8fdb4bcSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504a8fdb4bcSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505a8fdb4bcSmrg # In both cases, we have to default to `cp -p'. 506a8fdb4bcSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 507a8fdb4bcSmrg as_ln_s='cp -p' 508a8fdb4bcSmrgelif ln conf$$.file conf$$ 2>/dev/null; then 509a8fdb4bcSmrg as_ln_s=ln 510a8fdb4bcSmrgelse 511a8fdb4bcSmrg as_ln_s='cp -p' 512a8fdb4bcSmrgfi 513a8fdb4bcSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514a8fdb4bcSmrgrmdir conf$$.dir 2>/dev/null 515a8fdb4bcSmrg 516a8fdb4bcSmrgif mkdir -p . 2>/dev/null; then 517a8fdb4bcSmrg as_mkdir_p=: 518a8fdb4bcSmrgelse 519a8fdb4bcSmrg test -d ./-p && rmdir ./-p 520a8fdb4bcSmrg as_mkdir_p=false 521a8fdb4bcSmrgfi 522a8fdb4bcSmrg 523a8fdb4bcSmrgif test -x / >/dev/null 2>&1; then 524a8fdb4bcSmrg as_test_x='test -x' 525a8fdb4bcSmrgelse 526a8fdb4bcSmrg if ls -dL / >/dev/null 2>&1; then 527a8fdb4bcSmrg as_ls_L_option=L 528a8fdb4bcSmrg else 529a8fdb4bcSmrg as_ls_L_option= 530a8fdb4bcSmrg fi 531a8fdb4bcSmrg as_test_x=' 532a8fdb4bcSmrg eval sh -c '\'' 533a8fdb4bcSmrg if test -d "$1"; then 534a8fdb4bcSmrg test -d "$1/."; 535a8fdb4bcSmrg else 536a8fdb4bcSmrg case $1 in 537a8fdb4bcSmrg -*)set "./$1";; 538a8fdb4bcSmrg esac; 539a8fdb4bcSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540a8fdb4bcSmrg ???[sx]*):;;*)false;;esac;fi 541a8fdb4bcSmrg '\'' sh 542a8fdb4bcSmrg ' 543a8fdb4bcSmrgfi 544a8fdb4bcSmrgas_executable_p=$as_test_x 545a8fdb4bcSmrg 546a8fdb4bcSmrg# Sed expression to map a string onto a valid CPP name. 547a8fdb4bcSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 548a8fdb4bcSmrg 549a8fdb4bcSmrg# Sed expression to map a string onto a valid variable name. 550a8fdb4bcSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 551a8fdb4bcSmrg 552a8fdb4bcSmrg 553a8fdb4bcSmrg 554a8fdb4bcSmrgexec 7<&0 </dev/null 6>&1 555a8fdb4bcSmrg 556a8fdb4bcSmrg# Name of the host. 557a8fdb4bcSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 558a8fdb4bcSmrg# so uname gets run too. 559a8fdb4bcSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560a8fdb4bcSmrg 561a8fdb4bcSmrg# 562a8fdb4bcSmrg# Initializations. 563a8fdb4bcSmrg# 564a8fdb4bcSmrgac_default_prefix=/usr/local 565a8fdb4bcSmrgac_clean_files= 566a8fdb4bcSmrgac_config_libobj_dir=. 567a8fdb4bcSmrgLIBOBJS= 568a8fdb4bcSmrgcross_compiling=no 569a8fdb4bcSmrgsubdirs= 570a8fdb4bcSmrgMFLAGS= 571a8fdb4bcSmrgMAKEFLAGS= 572a8fdb4bcSmrgSHELL=${CONFIG_SHELL-/bin/sh} 573a8fdb4bcSmrg 574a8fdb4bcSmrg# Identity of this package. 575a8fdb4bcSmrgPACKAGE_NAME='luit' 576a8fdb4bcSmrgPACKAGE_TARNAME='luit' 577a8fdb4bcSmrgPACKAGE_VERSION='1.0.3' 578a8fdb4bcSmrgPACKAGE_STRING='luit 1.0.3' 579a8fdb4bcSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 580a8fdb4bcSmrg 581a8fdb4bcSmrgac_subst_vars='SHELL 582a8fdb4bcSmrgPATH_SEPARATOR 583a8fdb4bcSmrgPACKAGE_NAME 584a8fdb4bcSmrgPACKAGE_TARNAME 585a8fdb4bcSmrgPACKAGE_VERSION 586a8fdb4bcSmrgPACKAGE_STRING 587a8fdb4bcSmrgPACKAGE_BUGREPORT 588a8fdb4bcSmrgexec_prefix 589a8fdb4bcSmrgprefix 590a8fdb4bcSmrgprogram_transform_name 591a8fdb4bcSmrgbindir 592a8fdb4bcSmrgsbindir 593a8fdb4bcSmrglibexecdir 594a8fdb4bcSmrgdatarootdir 595a8fdb4bcSmrgdatadir 596a8fdb4bcSmrgsysconfdir 597a8fdb4bcSmrgsharedstatedir 598a8fdb4bcSmrglocalstatedir 599a8fdb4bcSmrgincludedir 600a8fdb4bcSmrgoldincludedir 601a8fdb4bcSmrgdocdir 602a8fdb4bcSmrginfodir 603a8fdb4bcSmrghtmldir 604a8fdb4bcSmrgdvidir 605a8fdb4bcSmrgpdfdir 606a8fdb4bcSmrgpsdir 607a8fdb4bcSmrglibdir 608a8fdb4bcSmrglocaledir 609a8fdb4bcSmrgmandir 610a8fdb4bcSmrgDEFS 611a8fdb4bcSmrgECHO_C 612a8fdb4bcSmrgECHO_N 613a8fdb4bcSmrgECHO_T 614a8fdb4bcSmrgLIBS 615a8fdb4bcSmrgbuild_alias 616a8fdb4bcSmrghost_alias 617a8fdb4bcSmrgtarget_alias 618a8fdb4bcSmrgINSTALL_PROGRAM 619a8fdb4bcSmrgINSTALL_SCRIPT 620a8fdb4bcSmrgINSTALL_DATA 621a8fdb4bcSmrgam__isrc 622a8fdb4bcSmrgCYGPATH_W 623a8fdb4bcSmrgPACKAGE 624a8fdb4bcSmrgVERSION 625a8fdb4bcSmrgACLOCAL 626a8fdb4bcSmrgAUTOCONF 627a8fdb4bcSmrgAUTOMAKE 628a8fdb4bcSmrgAUTOHEADER 629a8fdb4bcSmrgMAKEINFO 630a8fdb4bcSmrginstall_sh 631a8fdb4bcSmrgSTRIP 632a8fdb4bcSmrgINSTALL_STRIP_PROGRAM 633a8fdb4bcSmrgmkdir_p 634a8fdb4bcSmrgAWK 635a8fdb4bcSmrgSET_MAKE 636a8fdb4bcSmrgam__leading_dot 637a8fdb4bcSmrgAMTAR 638a8fdb4bcSmrgam__tar 639a8fdb4bcSmrgam__untar 640a8fdb4bcSmrgMAINTAINER_MODE_TRUE 641a8fdb4bcSmrgMAINTAINER_MODE_FALSE 642a8fdb4bcSmrgMAINT 643a8fdb4bcSmrgCC 644a8fdb4bcSmrgCFLAGS 645a8fdb4bcSmrgLDFLAGS 646a8fdb4bcSmrgCPPFLAGS 647a8fdb4bcSmrgac_ct_CC 648a8fdb4bcSmrgEXEEXT 649a8fdb4bcSmrgOBJEXT 650a8fdb4bcSmrgDEPDIR 651a8fdb4bcSmrgam__include 652a8fdb4bcSmrgam__quote 653a8fdb4bcSmrgAMDEP_TRUE 654a8fdb4bcSmrgAMDEP_FALSE 655a8fdb4bcSmrgAMDEPBACKSLASH 656a8fdb4bcSmrgCCDEPMODE 657a8fdb4bcSmrgam__fastdepCC_TRUE 658a8fdb4bcSmrgam__fastdepCC_FALSE 659a8fdb4bcSmrgbuild 660a8fdb4bcSmrgbuild_cpu 661a8fdb4bcSmrgbuild_vendor 662a8fdb4bcSmrgbuild_os 663a8fdb4bcSmrghost 664a8fdb4bcSmrghost_cpu 665a8fdb4bcSmrghost_vendor 666a8fdb4bcSmrghost_os 667a8fdb4bcSmrgLOCALEALIASFILE 668a8fdb4bcSmrgPKG_CONFIG 669a8fdb4bcSmrgLUIT_CFLAGS 670a8fdb4bcSmrgLUIT_LIBS 671a8fdb4bcSmrgAPP_MAN_SUFFIX 672a8fdb4bcSmrgLIB_MAN_SUFFIX 673a8fdb4bcSmrgFILE_MAN_SUFFIX 674a8fdb4bcSmrgMISC_MAN_SUFFIX 675a8fdb4bcSmrgDRIVER_MAN_SUFFIX 676a8fdb4bcSmrgADMIN_MAN_SUFFIX 677a8fdb4bcSmrgAPP_MAN_DIR 678a8fdb4bcSmrgLIB_MAN_DIR 679a8fdb4bcSmrgFILE_MAN_DIR 680a8fdb4bcSmrgMISC_MAN_DIR 681a8fdb4bcSmrgDRIVER_MAN_DIR 682a8fdb4bcSmrgADMIN_MAN_DIR 683a8fdb4bcSmrgLIBOBJS 684a8fdb4bcSmrgLTLIBOBJS' 685a8fdb4bcSmrgac_subst_files='' 686a8fdb4bcSmrg ac_precious_vars='build_alias 687a8fdb4bcSmrghost_alias 688a8fdb4bcSmrgtarget_alias 689a8fdb4bcSmrgCC 690a8fdb4bcSmrgCFLAGS 691a8fdb4bcSmrgLDFLAGS 692a8fdb4bcSmrgLIBS 693a8fdb4bcSmrgCPPFLAGS 694a8fdb4bcSmrgPKG_CONFIG 695a8fdb4bcSmrgLUIT_CFLAGS 696a8fdb4bcSmrgLUIT_LIBS' 697a8fdb4bcSmrg 698a8fdb4bcSmrg 699a8fdb4bcSmrg# Initialize some variables set by options. 700a8fdb4bcSmrgac_init_help= 701a8fdb4bcSmrgac_init_version=false 702a8fdb4bcSmrg# The variables have the same names as the options, with 703a8fdb4bcSmrg# dashes changed to underlines. 704a8fdb4bcSmrgcache_file=/dev/null 705a8fdb4bcSmrgexec_prefix=NONE 706a8fdb4bcSmrgno_create= 707a8fdb4bcSmrgno_recursion= 708a8fdb4bcSmrgprefix=NONE 709a8fdb4bcSmrgprogram_prefix=NONE 710a8fdb4bcSmrgprogram_suffix=NONE 711a8fdb4bcSmrgprogram_transform_name=s,x,x, 712a8fdb4bcSmrgsilent= 713a8fdb4bcSmrgsite= 714a8fdb4bcSmrgsrcdir= 715a8fdb4bcSmrgverbose= 716a8fdb4bcSmrgx_includes=NONE 717a8fdb4bcSmrgx_libraries=NONE 718a8fdb4bcSmrg 719a8fdb4bcSmrg# Installation directory options. 720a8fdb4bcSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 721a8fdb4bcSmrg# and all the variables that are supposed to be based on exec_prefix 722a8fdb4bcSmrg# by default will actually change. 723a8fdb4bcSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 724a8fdb4bcSmrg# (The list follows the same order as the GNU Coding Standards.) 725a8fdb4bcSmrgbindir='${exec_prefix}/bin' 726a8fdb4bcSmrgsbindir='${exec_prefix}/sbin' 727a8fdb4bcSmrglibexecdir='${exec_prefix}/libexec' 728a8fdb4bcSmrgdatarootdir='${prefix}/share' 729a8fdb4bcSmrgdatadir='${datarootdir}' 730a8fdb4bcSmrgsysconfdir='${prefix}/etc' 731a8fdb4bcSmrgsharedstatedir='${prefix}/com' 732a8fdb4bcSmrglocalstatedir='${prefix}/var' 733a8fdb4bcSmrgincludedir='${prefix}/include' 734a8fdb4bcSmrgoldincludedir='/usr/include' 735a8fdb4bcSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 736a8fdb4bcSmrginfodir='${datarootdir}/info' 737a8fdb4bcSmrghtmldir='${docdir}' 738a8fdb4bcSmrgdvidir='${docdir}' 739a8fdb4bcSmrgpdfdir='${docdir}' 740a8fdb4bcSmrgpsdir='${docdir}' 741a8fdb4bcSmrglibdir='${exec_prefix}/lib' 742a8fdb4bcSmrglocaledir='${datarootdir}/locale' 743a8fdb4bcSmrgmandir='${datarootdir}/man' 744a8fdb4bcSmrg 745a8fdb4bcSmrgac_prev= 746a8fdb4bcSmrgac_dashdash= 747a8fdb4bcSmrgfor ac_option 748a8fdb4bcSmrgdo 749a8fdb4bcSmrg # If the previous option needs an argument, assign it. 750a8fdb4bcSmrg if test -n "$ac_prev"; then 751a8fdb4bcSmrg eval $ac_prev=\$ac_option 752a8fdb4bcSmrg ac_prev= 753a8fdb4bcSmrg continue 754a8fdb4bcSmrg fi 755a8fdb4bcSmrg 756a8fdb4bcSmrg case $ac_option in 757a8fdb4bcSmrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 758a8fdb4bcSmrg *) ac_optarg=yes ;; 759a8fdb4bcSmrg esac 760a8fdb4bcSmrg 761a8fdb4bcSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 762a8fdb4bcSmrg 763a8fdb4bcSmrg case $ac_dashdash$ac_option in 764a8fdb4bcSmrg --) 765a8fdb4bcSmrg ac_dashdash=yes ;; 766a8fdb4bcSmrg 767a8fdb4bcSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 768a8fdb4bcSmrg ac_prev=bindir ;; 769a8fdb4bcSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 770a8fdb4bcSmrg bindir=$ac_optarg ;; 771a8fdb4bcSmrg 772a8fdb4bcSmrg -build | --build | --buil | --bui | --bu) 773a8fdb4bcSmrg ac_prev=build_alias ;; 774a8fdb4bcSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 775a8fdb4bcSmrg build_alias=$ac_optarg ;; 776a8fdb4bcSmrg 777a8fdb4bcSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 778a8fdb4bcSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 779a8fdb4bcSmrg ac_prev=cache_file ;; 780a8fdb4bcSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 781a8fdb4bcSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 782a8fdb4bcSmrg cache_file=$ac_optarg ;; 783a8fdb4bcSmrg 784a8fdb4bcSmrg --config-cache | -C) 785a8fdb4bcSmrg cache_file=config.cache ;; 786a8fdb4bcSmrg 787a8fdb4bcSmrg -datadir | --datadir | --datadi | --datad) 788a8fdb4bcSmrg ac_prev=datadir ;; 789a8fdb4bcSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 790a8fdb4bcSmrg datadir=$ac_optarg ;; 791a8fdb4bcSmrg 792a8fdb4bcSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 793a8fdb4bcSmrg | --dataroo | --dataro | --datar) 794a8fdb4bcSmrg ac_prev=datarootdir ;; 795a8fdb4bcSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 796a8fdb4bcSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 797a8fdb4bcSmrg datarootdir=$ac_optarg ;; 798a8fdb4bcSmrg 799a8fdb4bcSmrg -disable-* | --disable-*) 800a8fdb4bcSmrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 801a8fdb4bcSmrg # Reject names that are not valid shell variable names. 802a8fdb4bcSmrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 803a8fdb4bcSmrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 804a8fdb4bcSmrg { (exit 1); exit 1; }; } 805a8fdb4bcSmrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 806a8fdb4bcSmrg eval enable_$ac_feature=no ;; 807a8fdb4bcSmrg 808a8fdb4bcSmrg -docdir | --docdir | --docdi | --doc | --do) 809a8fdb4bcSmrg ac_prev=docdir ;; 810a8fdb4bcSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 811a8fdb4bcSmrg docdir=$ac_optarg ;; 812a8fdb4bcSmrg 813a8fdb4bcSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 814a8fdb4bcSmrg ac_prev=dvidir ;; 815a8fdb4bcSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 816a8fdb4bcSmrg dvidir=$ac_optarg ;; 817a8fdb4bcSmrg 818a8fdb4bcSmrg -enable-* | --enable-*) 819a8fdb4bcSmrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 820a8fdb4bcSmrg # Reject names that are not valid shell variable names. 821a8fdb4bcSmrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 822a8fdb4bcSmrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 823a8fdb4bcSmrg { (exit 1); exit 1; }; } 824a8fdb4bcSmrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 825a8fdb4bcSmrg eval enable_$ac_feature=\$ac_optarg ;; 826a8fdb4bcSmrg 827a8fdb4bcSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 828a8fdb4bcSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 829a8fdb4bcSmrg | --exec | --exe | --ex) 830a8fdb4bcSmrg ac_prev=exec_prefix ;; 831a8fdb4bcSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 832a8fdb4bcSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 833a8fdb4bcSmrg | --exec=* | --exe=* | --ex=*) 834a8fdb4bcSmrg exec_prefix=$ac_optarg ;; 835a8fdb4bcSmrg 836a8fdb4bcSmrg -gas | --gas | --ga | --g) 837a8fdb4bcSmrg # Obsolete; use --with-gas. 838a8fdb4bcSmrg with_gas=yes ;; 839a8fdb4bcSmrg 840a8fdb4bcSmrg -help | --help | --hel | --he | -h) 841a8fdb4bcSmrg ac_init_help=long ;; 842a8fdb4bcSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 843a8fdb4bcSmrg ac_init_help=recursive ;; 844a8fdb4bcSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 845a8fdb4bcSmrg ac_init_help=short ;; 846a8fdb4bcSmrg 847a8fdb4bcSmrg -host | --host | --hos | --ho) 848a8fdb4bcSmrg ac_prev=host_alias ;; 849a8fdb4bcSmrg -host=* | --host=* | --hos=* | --ho=*) 850a8fdb4bcSmrg host_alias=$ac_optarg ;; 851a8fdb4bcSmrg 852a8fdb4bcSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 853a8fdb4bcSmrg ac_prev=htmldir ;; 854a8fdb4bcSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 855a8fdb4bcSmrg | --ht=*) 856a8fdb4bcSmrg htmldir=$ac_optarg ;; 857a8fdb4bcSmrg 858a8fdb4bcSmrg -includedir | --includedir | --includedi | --included | --include \ 859a8fdb4bcSmrg | --includ | --inclu | --incl | --inc) 860a8fdb4bcSmrg ac_prev=includedir ;; 861a8fdb4bcSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 862a8fdb4bcSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 863a8fdb4bcSmrg includedir=$ac_optarg ;; 864a8fdb4bcSmrg 865a8fdb4bcSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 866a8fdb4bcSmrg ac_prev=infodir ;; 867a8fdb4bcSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 868a8fdb4bcSmrg infodir=$ac_optarg ;; 869a8fdb4bcSmrg 870a8fdb4bcSmrg -libdir | --libdir | --libdi | --libd) 871a8fdb4bcSmrg ac_prev=libdir ;; 872a8fdb4bcSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 873a8fdb4bcSmrg libdir=$ac_optarg ;; 874a8fdb4bcSmrg 875a8fdb4bcSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 876a8fdb4bcSmrg | --libexe | --libex | --libe) 877a8fdb4bcSmrg ac_prev=libexecdir ;; 878a8fdb4bcSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 879a8fdb4bcSmrg | --libexe=* | --libex=* | --libe=*) 880a8fdb4bcSmrg libexecdir=$ac_optarg ;; 881a8fdb4bcSmrg 882a8fdb4bcSmrg -localedir | --localedir | --localedi | --localed | --locale) 883a8fdb4bcSmrg ac_prev=localedir ;; 884a8fdb4bcSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 885a8fdb4bcSmrg localedir=$ac_optarg ;; 886a8fdb4bcSmrg 887a8fdb4bcSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 888a8fdb4bcSmrg | --localstate | --localstat | --localsta | --localst | --locals) 889a8fdb4bcSmrg ac_prev=localstatedir ;; 890a8fdb4bcSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 891a8fdb4bcSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 892a8fdb4bcSmrg localstatedir=$ac_optarg ;; 893a8fdb4bcSmrg 894a8fdb4bcSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 895a8fdb4bcSmrg ac_prev=mandir ;; 896a8fdb4bcSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 897a8fdb4bcSmrg mandir=$ac_optarg ;; 898a8fdb4bcSmrg 899a8fdb4bcSmrg -nfp | --nfp | --nf) 900a8fdb4bcSmrg # Obsolete; use --without-fp. 901a8fdb4bcSmrg with_fp=no ;; 902a8fdb4bcSmrg 903a8fdb4bcSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 904a8fdb4bcSmrg | --no-cr | --no-c | -n) 905a8fdb4bcSmrg no_create=yes ;; 906a8fdb4bcSmrg 907a8fdb4bcSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 908a8fdb4bcSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 909a8fdb4bcSmrg no_recursion=yes ;; 910a8fdb4bcSmrg 911a8fdb4bcSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 912a8fdb4bcSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 913a8fdb4bcSmrg | --oldin | --oldi | --old | --ol | --o) 914a8fdb4bcSmrg ac_prev=oldincludedir ;; 915a8fdb4bcSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 916a8fdb4bcSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 917a8fdb4bcSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 918a8fdb4bcSmrg oldincludedir=$ac_optarg ;; 919a8fdb4bcSmrg 920a8fdb4bcSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 921a8fdb4bcSmrg ac_prev=prefix ;; 922a8fdb4bcSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 923a8fdb4bcSmrg prefix=$ac_optarg ;; 924a8fdb4bcSmrg 925a8fdb4bcSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 926a8fdb4bcSmrg | --program-pre | --program-pr | --program-p) 927a8fdb4bcSmrg ac_prev=program_prefix ;; 928a8fdb4bcSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 929a8fdb4bcSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 930a8fdb4bcSmrg program_prefix=$ac_optarg ;; 931a8fdb4bcSmrg 932a8fdb4bcSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 933a8fdb4bcSmrg | --program-suf | --program-su | --program-s) 934a8fdb4bcSmrg ac_prev=program_suffix ;; 935a8fdb4bcSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 936a8fdb4bcSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 937a8fdb4bcSmrg program_suffix=$ac_optarg ;; 938a8fdb4bcSmrg 939a8fdb4bcSmrg -program-transform-name | --program-transform-name \ 940a8fdb4bcSmrg | --program-transform-nam | --program-transform-na \ 941a8fdb4bcSmrg | --program-transform-n | --program-transform- \ 942a8fdb4bcSmrg | --program-transform | --program-transfor \ 943a8fdb4bcSmrg | --program-transfo | --program-transf \ 944a8fdb4bcSmrg | --program-trans | --program-tran \ 945a8fdb4bcSmrg | --progr-tra | --program-tr | --program-t) 946a8fdb4bcSmrg ac_prev=program_transform_name ;; 947a8fdb4bcSmrg -program-transform-name=* | --program-transform-name=* \ 948a8fdb4bcSmrg | --program-transform-nam=* | --program-transform-na=* \ 949a8fdb4bcSmrg | --program-transform-n=* | --program-transform-=* \ 950a8fdb4bcSmrg | --program-transform=* | --program-transfor=* \ 951a8fdb4bcSmrg | --program-transfo=* | --program-transf=* \ 952a8fdb4bcSmrg | --program-trans=* | --program-tran=* \ 953a8fdb4bcSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 954a8fdb4bcSmrg program_transform_name=$ac_optarg ;; 955a8fdb4bcSmrg 956a8fdb4bcSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 957a8fdb4bcSmrg ac_prev=pdfdir ;; 958a8fdb4bcSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 959a8fdb4bcSmrg pdfdir=$ac_optarg ;; 960a8fdb4bcSmrg 961a8fdb4bcSmrg -psdir | --psdir | --psdi | --psd | --ps) 962a8fdb4bcSmrg ac_prev=psdir ;; 963a8fdb4bcSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 964a8fdb4bcSmrg psdir=$ac_optarg ;; 965a8fdb4bcSmrg 966a8fdb4bcSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 967a8fdb4bcSmrg | -silent | --silent | --silen | --sile | --sil) 968a8fdb4bcSmrg silent=yes ;; 969a8fdb4bcSmrg 970a8fdb4bcSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 971a8fdb4bcSmrg ac_prev=sbindir ;; 972a8fdb4bcSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 973a8fdb4bcSmrg | --sbi=* | --sb=*) 974a8fdb4bcSmrg sbindir=$ac_optarg ;; 975a8fdb4bcSmrg 976a8fdb4bcSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 977a8fdb4bcSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 978a8fdb4bcSmrg | --sharedst | --shareds | --shared | --share | --shar \ 979a8fdb4bcSmrg | --sha | --sh) 980a8fdb4bcSmrg ac_prev=sharedstatedir ;; 981a8fdb4bcSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 982a8fdb4bcSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 983a8fdb4bcSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 984a8fdb4bcSmrg | --sha=* | --sh=*) 985a8fdb4bcSmrg sharedstatedir=$ac_optarg ;; 986a8fdb4bcSmrg 987a8fdb4bcSmrg -site | --site | --sit) 988a8fdb4bcSmrg ac_prev=site ;; 989a8fdb4bcSmrg -site=* | --site=* | --sit=*) 990a8fdb4bcSmrg site=$ac_optarg ;; 991a8fdb4bcSmrg 992a8fdb4bcSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 993a8fdb4bcSmrg ac_prev=srcdir ;; 994a8fdb4bcSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 995a8fdb4bcSmrg srcdir=$ac_optarg ;; 996a8fdb4bcSmrg 997a8fdb4bcSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 998a8fdb4bcSmrg | --syscon | --sysco | --sysc | --sys | --sy) 999a8fdb4bcSmrg ac_prev=sysconfdir ;; 1000a8fdb4bcSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1001a8fdb4bcSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1002a8fdb4bcSmrg sysconfdir=$ac_optarg ;; 1003a8fdb4bcSmrg 1004a8fdb4bcSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1005a8fdb4bcSmrg ac_prev=target_alias ;; 1006a8fdb4bcSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1007a8fdb4bcSmrg target_alias=$ac_optarg ;; 1008a8fdb4bcSmrg 1009a8fdb4bcSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1010a8fdb4bcSmrg verbose=yes ;; 1011a8fdb4bcSmrg 1012a8fdb4bcSmrg -version | --version | --versio | --versi | --vers | -V) 1013a8fdb4bcSmrg ac_init_version=: ;; 1014a8fdb4bcSmrg 1015a8fdb4bcSmrg -with-* | --with-*) 1016a8fdb4bcSmrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1017a8fdb4bcSmrg # Reject names that are not valid shell variable names. 1018a8fdb4bcSmrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1019a8fdb4bcSmrg { echo "$as_me: error: invalid package name: $ac_package" >&2 1020a8fdb4bcSmrg { (exit 1); exit 1; }; } 1021a8fdb4bcSmrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1022a8fdb4bcSmrg eval with_$ac_package=\$ac_optarg ;; 1023a8fdb4bcSmrg 1024a8fdb4bcSmrg -without-* | --without-*) 1025a8fdb4bcSmrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1026a8fdb4bcSmrg # Reject names that are not valid shell variable names. 1027a8fdb4bcSmrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1028a8fdb4bcSmrg { echo "$as_me: error: invalid package name: $ac_package" >&2 1029a8fdb4bcSmrg { (exit 1); exit 1; }; } 1030a8fdb4bcSmrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1031a8fdb4bcSmrg eval with_$ac_package=no ;; 1032a8fdb4bcSmrg 1033a8fdb4bcSmrg --x) 1034a8fdb4bcSmrg # Obsolete; use --with-x. 1035a8fdb4bcSmrg with_x=yes ;; 1036a8fdb4bcSmrg 1037a8fdb4bcSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1038a8fdb4bcSmrg | --x-incl | --x-inc | --x-in | --x-i) 1039a8fdb4bcSmrg ac_prev=x_includes ;; 1040a8fdb4bcSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1041a8fdb4bcSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1042a8fdb4bcSmrg x_includes=$ac_optarg ;; 1043a8fdb4bcSmrg 1044a8fdb4bcSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1045a8fdb4bcSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1046a8fdb4bcSmrg ac_prev=x_libraries ;; 1047a8fdb4bcSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1048a8fdb4bcSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1049a8fdb4bcSmrg x_libraries=$ac_optarg ;; 1050a8fdb4bcSmrg 1051a8fdb4bcSmrg -*) { echo "$as_me: error: unrecognized option: $ac_option 1052a8fdb4bcSmrgTry \`$0 --help' for more information." >&2 1053a8fdb4bcSmrg { (exit 1); exit 1; }; } 1054a8fdb4bcSmrg ;; 1055a8fdb4bcSmrg 1056a8fdb4bcSmrg *=*) 1057a8fdb4bcSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1058a8fdb4bcSmrg # Reject names that are not valid shell variable names. 1059a8fdb4bcSmrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1060a8fdb4bcSmrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1061a8fdb4bcSmrg { (exit 1); exit 1; }; } 1062a8fdb4bcSmrg eval $ac_envvar=\$ac_optarg 1063a8fdb4bcSmrg export $ac_envvar ;; 1064a8fdb4bcSmrg 1065a8fdb4bcSmrg *) 1066a8fdb4bcSmrg # FIXME: should be removed in autoconf 3.0. 1067a8fdb4bcSmrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1068a8fdb4bcSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1069a8fdb4bcSmrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1070a8fdb4bcSmrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1071a8fdb4bcSmrg ;; 1072a8fdb4bcSmrg 1073a8fdb4bcSmrg esac 1074a8fdb4bcSmrgdone 1075a8fdb4bcSmrg 1076a8fdb4bcSmrgif test -n "$ac_prev"; then 1077a8fdb4bcSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1078a8fdb4bcSmrg { echo "$as_me: error: missing argument to $ac_option" >&2 1079a8fdb4bcSmrg { (exit 1); exit 1; }; } 1080a8fdb4bcSmrgfi 1081a8fdb4bcSmrg 1082a8fdb4bcSmrg# Be sure to have absolute directory names. 1083a8fdb4bcSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1084a8fdb4bcSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1085a8fdb4bcSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1086a8fdb4bcSmrg libdir localedir mandir 1087a8fdb4bcSmrgdo 1088a8fdb4bcSmrg eval ac_val=\$$ac_var 1089a8fdb4bcSmrg case $ac_val in 1090a8fdb4bcSmrg [\\/$]* | ?:[\\/]* ) continue;; 1091a8fdb4bcSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1092a8fdb4bcSmrg esac 1093a8fdb4bcSmrg { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1094a8fdb4bcSmrg { (exit 1); exit 1; }; } 1095a8fdb4bcSmrgdone 1096a8fdb4bcSmrg 1097a8fdb4bcSmrg# There might be people who depend on the old broken behavior: `$host' 1098a8fdb4bcSmrg# used to hold the argument of --host etc. 1099a8fdb4bcSmrg# FIXME: To remove some day. 1100a8fdb4bcSmrgbuild=$build_alias 1101a8fdb4bcSmrghost=$host_alias 1102a8fdb4bcSmrgtarget=$target_alias 1103a8fdb4bcSmrg 1104a8fdb4bcSmrg# FIXME: To remove some day. 1105a8fdb4bcSmrgif test "x$host_alias" != x; then 1106a8fdb4bcSmrg if test "x$build_alias" = x; then 1107a8fdb4bcSmrg cross_compiling=maybe 1108a8fdb4bcSmrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1109a8fdb4bcSmrg If a cross compiler is detected then cross compile mode will be used." >&2 1110a8fdb4bcSmrg elif test "x$build_alias" != "x$host_alias"; then 1111a8fdb4bcSmrg cross_compiling=yes 1112a8fdb4bcSmrg fi 1113a8fdb4bcSmrgfi 1114a8fdb4bcSmrg 1115a8fdb4bcSmrgac_tool_prefix= 1116a8fdb4bcSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1117a8fdb4bcSmrg 1118a8fdb4bcSmrgtest "$silent" = yes && exec 6>/dev/null 1119a8fdb4bcSmrg 1120a8fdb4bcSmrg 1121a8fdb4bcSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 1122a8fdb4bcSmrgac_ls_di=`ls -di .` && 1123a8fdb4bcSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1124a8fdb4bcSmrg { echo "$as_me: error: Working directory cannot be determined" >&2 1125a8fdb4bcSmrg { (exit 1); exit 1; }; } 1126a8fdb4bcSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1127a8fdb4bcSmrg { echo "$as_me: error: pwd does not report name of working directory" >&2 1128a8fdb4bcSmrg { (exit 1); exit 1; }; } 1129a8fdb4bcSmrg 1130a8fdb4bcSmrg 1131a8fdb4bcSmrg# Find the source files, if location was not specified. 1132a8fdb4bcSmrgif test -z "$srcdir"; then 1133a8fdb4bcSmrg ac_srcdir_defaulted=yes 1134a8fdb4bcSmrg # Try the directory containing this script, then the parent directory. 1135a8fdb4bcSmrg ac_confdir=`$as_dirname -- "$0" || 1136a8fdb4bcSmrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1137a8fdb4bcSmrg X"$0" : 'X\(//\)[^/]' \| \ 1138a8fdb4bcSmrg X"$0" : 'X\(//\)$' \| \ 1139a8fdb4bcSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1140a8fdb4bcSmrgecho X"$0" | 1141a8fdb4bcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1142a8fdb4bcSmrg s//\1/ 1143a8fdb4bcSmrg q 1144a8fdb4bcSmrg } 1145a8fdb4bcSmrg /^X\(\/\/\)[^/].*/{ 1146a8fdb4bcSmrg s//\1/ 1147a8fdb4bcSmrg q 1148a8fdb4bcSmrg } 1149a8fdb4bcSmrg /^X\(\/\/\)$/{ 1150a8fdb4bcSmrg s//\1/ 1151a8fdb4bcSmrg q 1152a8fdb4bcSmrg } 1153a8fdb4bcSmrg /^X\(\/\).*/{ 1154a8fdb4bcSmrg s//\1/ 1155a8fdb4bcSmrg q 1156a8fdb4bcSmrg } 1157a8fdb4bcSmrg s/.*/./; q'` 1158a8fdb4bcSmrg srcdir=$ac_confdir 1159a8fdb4bcSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1160a8fdb4bcSmrg srcdir=.. 1161a8fdb4bcSmrg fi 1162a8fdb4bcSmrgelse 1163a8fdb4bcSmrg ac_srcdir_defaulted=no 1164a8fdb4bcSmrgfi 1165a8fdb4bcSmrgif test ! -r "$srcdir/$ac_unique_file"; then 1166a8fdb4bcSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1167a8fdb4bcSmrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1168a8fdb4bcSmrg { (exit 1); exit 1; }; } 1169a8fdb4bcSmrgfi 1170a8fdb4bcSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1171a8fdb4bcSmrgac_abs_confdir=`( 1172a8fdb4bcSmrg cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1173a8fdb4bcSmrg { (exit 1); exit 1; }; } 1174a8fdb4bcSmrg pwd)` 1175a8fdb4bcSmrg# When building in place, set srcdir=. 1176a8fdb4bcSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1177a8fdb4bcSmrg srcdir=. 1178a8fdb4bcSmrgfi 1179a8fdb4bcSmrg# Remove unnecessary trailing slashes from srcdir. 1180a8fdb4bcSmrg# Double slashes in file names in object file debugging info 1181a8fdb4bcSmrg# mess up M-x gdb in Emacs. 1182a8fdb4bcSmrgcase $srcdir in 1183a8fdb4bcSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1184a8fdb4bcSmrgesac 1185a8fdb4bcSmrgfor ac_var in $ac_precious_vars; do 1186a8fdb4bcSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1187a8fdb4bcSmrg eval ac_env_${ac_var}_value=\$${ac_var} 1188a8fdb4bcSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1189a8fdb4bcSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1190a8fdb4bcSmrgdone 1191a8fdb4bcSmrg 1192a8fdb4bcSmrg# 1193a8fdb4bcSmrg# Report the --help message. 1194a8fdb4bcSmrg# 1195a8fdb4bcSmrgif test "$ac_init_help" = "long"; then 1196a8fdb4bcSmrg # Omit some internal or obsolete options to make the list less imposing. 1197a8fdb4bcSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1198a8fdb4bcSmrg cat <<_ACEOF 1199a8fdb4bcSmrg\`configure' configures luit 1.0.3 to adapt to many kinds of systems. 1200a8fdb4bcSmrg 1201a8fdb4bcSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1202a8fdb4bcSmrg 1203a8fdb4bcSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1204a8fdb4bcSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1205a8fdb4bcSmrg 1206a8fdb4bcSmrgDefaults for the options are specified in brackets. 1207a8fdb4bcSmrg 1208a8fdb4bcSmrgConfiguration: 1209a8fdb4bcSmrg -h, --help display this help and exit 1210a8fdb4bcSmrg --help=short display options specific to this package 1211a8fdb4bcSmrg --help=recursive display the short help of all the included packages 1212a8fdb4bcSmrg -V, --version display version information and exit 1213a8fdb4bcSmrg -q, --quiet, --silent do not print \`checking...' messages 1214a8fdb4bcSmrg --cache-file=FILE cache test results in FILE [disabled] 1215a8fdb4bcSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1216a8fdb4bcSmrg -n, --no-create do not create output files 1217a8fdb4bcSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1218a8fdb4bcSmrg 1219a8fdb4bcSmrgInstallation directories: 1220a8fdb4bcSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1221a8fdb4bcSmrg [$ac_default_prefix] 1222a8fdb4bcSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1223a8fdb4bcSmrg [PREFIX] 1224a8fdb4bcSmrg 1225a8fdb4bcSmrgBy default, \`make install' will install all the files in 1226a8fdb4bcSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1227a8fdb4bcSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1228a8fdb4bcSmrgfor instance \`--prefix=\$HOME'. 1229a8fdb4bcSmrg 1230a8fdb4bcSmrgFor better control, use the options below. 1231a8fdb4bcSmrg 1232a8fdb4bcSmrgFine tuning of the installation directories: 1233a8fdb4bcSmrg --bindir=DIR user executables [EPREFIX/bin] 1234a8fdb4bcSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1235a8fdb4bcSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 1236a8fdb4bcSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1237a8fdb4bcSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1238a8fdb4bcSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1239a8fdb4bcSmrg --libdir=DIR object code libraries [EPREFIX/lib] 1240a8fdb4bcSmrg --includedir=DIR C header files [PREFIX/include] 1241a8fdb4bcSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1242a8fdb4bcSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1243a8fdb4bcSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1244a8fdb4bcSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 1245a8fdb4bcSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1246a8fdb4bcSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 1247a8fdb4bcSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/luit] 1248a8fdb4bcSmrg --htmldir=DIR html documentation [DOCDIR] 1249a8fdb4bcSmrg --dvidir=DIR dvi documentation [DOCDIR] 1250a8fdb4bcSmrg --pdfdir=DIR pdf documentation [DOCDIR] 1251a8fdb4bcSmrg --psdir=DIR ps documentation [DOCDIR] 1252a8fdb4bcSmrg_ACEOF 1253a8fdb4bcSmrg 1254a8fdb4bcSmrg cat <<\_ACEOF 1255a8fdb4bcSmrg 1256a8fdb4bcSmrgProgram names: 1257a8fdb4bcSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1258a8fdb4bcSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1259a8fdb4bcSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1260a8fdb4bcSmrg 1261a8fdb4bcSmrgSystem types: 1262a8fdb4bcSmrg --build=BUILD configure for building on BUILD [guessed] 1263a8fdb4bcSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1264a8fdb4bcSmrg_ACEOF 1265a8fdb4bcSmrgfi 1266a8fdb4bcSmrg 1267a8fdb4bcSmrgif test -n "$ac_init_help"; then 1268a8fdb4bcSmrg case $ac_init_help in 1269a8fdb4bcSmrg short | recursive ) echo "Configuration of luit 1.0.3:";; 1270a8fdb4bcSmrg esac 1271a8fdb4bcSmrg cat <<\_ACEOF 1272a8fdb4bcSmrg 1273a8fdb4bcSmrgOptional Features: 1274a8fdb4bcSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1275a8fdb4bcSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1276a8fdb4bcSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1277a8fdb4bcSmrg (and sometimes confusing) to the casual installer 1278a8fdb4bcSmrg --disable-dependency-tracking speeds up one-time build 1279a8fdb4bcSmrg --enable-dependency-tracking do not reject slow dependency extractors 1280a8fdb4bcSmrg 1281a8fdb4bcSmrgOptional Packages: 1282a8fdb4bcSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1283a8fdb4bcSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1284a8fdb4bcSmrg --with-localealiasfile=<path> 1285a8fdb4bcSmrg The locale alias file (default: 1286a8fdb4bcSmrg ${datadir}/X11/locale/locale.alias) 1287a8fdb4bcSmrg --with-release-version=STRING 1288a8fdb4bcSmrg Use release version string in package name 1289a8fdb4bcSmrg 1290a8fdb4bcSmrgSome influential environment variables: 1291a8fdb4bcSmrg CC C compiler command 1292a8fdb4bcSmrg CFLAGS C compiler flags 1293a8fdb4bcSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1294a8fdb4bcSmrg nonstandard directory <lib dir> 1295a8fdb4bcSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1296a8fdb4bcSmrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1297a8fdb4bcSmrg you have headers in a nonstandard directory <include dir> 1298a8fdb4bcSmrg PKG_CONFIG path to pkg-config utility 1299a8fdb4bcSmrg LUIT_CFLAGS C compiler flags for LUIT, overriding pkg-config 1300a8fdb4bcSmrg LUIT_LIBS linker flags for LUIT, overriding pkg-config 1301a8fdb4bcSmrg 1302a8fdb4bcSmrgUse these variables to override the choices made by `configure' or to help 1303a8fdb4bcSmrgit to find libraries and programs with nonstandard names/locations. 1304a8fdb4bcSmrg 1305a8fdb4bcSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1306a8fdb4bcSmrg_ACEOF 1307a8fdb4bcSmrgac_status=$? 1308a8fdb4bcSmrgfi 1309a8fdb4bcSmrg 1310a8fdb4bcSmrgif test "$ac_init_help" = "recursive"; then 1311a8fdb4bcSmrg # If there are subdirs, report their specific --help. 1312a8fdb4bcSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1313a8fdb4bcSmrg test -d "$ac_dir" || continue 1314a8fdb4bcSmrg ac_builddir=. 1315a8fdb4bcSmrg 1316a8fdb4bcSmrgcase "$ac_dir" in 1317a8fdb4bcSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1318a8fdb4bcSmrg*) 1319a8fdb4bcSmrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1320a8fdb4bcSmrg # A ".." for each directory in $ac_dir_suffix. 1321a8fdb4bcSmrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1322a8fdb4bcSmrg case $ac_top_builddir_sub in 1323a8fdb4bcSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1324a8fdb4bcSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1325a8fdb4bcSmrg esac ;; 1326a8fdb4bcSmrgesac 1327a8fdb4bcSmrgac_abs_top_builddir=$ac_pwd 1328a8fdb4bcSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1329a8fdb4bcSmrg# for backward compatibility: 1330a8fdb4bcSmrgac_top_builddir=$ac_top_build_prefix 1331a8fdb4bcSmrg 1332a8fdb4bcSmrgcase $srcdir in 1333a8fdb4bcSmrg .) # We are building in place. 1334a8fdb4bcSmrg ac_srcdir=. 1335a8fdb4bcSmrg ac_top_srcdir=$ac_top_builddir_sub 1336a8fdb4bcSmrg ac_abs_top_srcdir=$ac_pwd ;; 1337a8fdb4bcSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1338a8fdb4bcSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1339a8fdb4bcSmrg ac_top_srcdir=$srcdir 1340a8fdb4bcSmrg ac_abs_top_srcdir=$srcdir ;; 1341a8fdb4bcSmrg *) # Relative name. 1342a8fdb4bcSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1343a8fdb4bcSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1344a8fdb4bcSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1345a8fdb4bcSmrgesac 1346a8fdb4bcSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1347a8fdb4bcSmrg 1348a8fdb4bcSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1349a8fdb4bcSmrg # Check for guested configure. 1350a8fdb4bcSmrg if test -f "$ac_srcdir/configure.gnu"; then 1351a8fdb4bcSmrg echo && 1352a8fdb4bcSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1353a8fdb4bcSmrg elif test -f "$ac_srcdir/configure"; then 1354a8fdb4bcSmrg echo && 1355a8fdb4bcSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1356a8fdb4bcSmrg else 1357a8fdb4bcSmrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1358a8fdb4bcSmrg fi || ac_status=$? 1359a8fdb4bcSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1360a8fdb4bcSmrg done 1361a8fdb4bcSmrgfi 1362a8fdb4bcSmrg 1363a8fdb4bcSmrgtest -n "$ac_init_help" && exit $ac_status 1364a8fdb4bcSmrgif $ac_init_version; then 1365a8fdb4bcSmrg cat <<\_ACEOF 1366a8fdb4bcSmrgluit configure 1.0.3 1367a8fdb4bcSmrggenerated by GNU Autoconf 2.61 1368a8fdb4bcSmrg 1369a8fdb4bcSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1370a8fdb4bcSmrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1371a8fdb4bcSmrgThis configure script is free software; the Free Software Foundation 1372a8fdb4bcSmrggives unlimited permission to copy, distribute and modify it. 1373a8fdb4bcSmrg_ACEOF 1374a8fdb4bcSmrg exit 1375a8fdb4bcSmrgfi 1376a8fdb4bcSmrgcat >config.log <<_ACEOF 1377a8fdb4bcSmrgThis file contains any messages produced by compilers while 1378a8fdb4bcSmrgrunning configure, to aid debugging if configure makes a mistake. 1379a8fdb4bcSmrg 1380a8fdb4bcSmrgIt was created by luit $as_me 1.0.3, which was 1381a8fdb4bcSmrggenerated by GNU Autoconf 2.61. Invocation command line was 1382a8fdb4bcSmrg 1383a8fdb4bcSmrg $ $0 $@ 1384a8fdb4bcSmrg 1385a8fdb4bcSmrg_ACEOF 1386a8fdb4bcSmrgexec 5>>config.log 1387a8fdb4bcSmrg{ 1388a8fdb4bcSmrgcat <<_ASUNAME 1389a8fdb4bcSmrg## --------- ## 1390a8fdb4bcSmrg## Platform. ## 1391a8fdb4bcSmrg## --------- ## 1392a8fdb4bcSmrg 1393a8fdb4bcSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1394a8fdb4bcSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1395a8fdb4bcSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1396a8fdb4bcSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1397a8fdb4bcSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1398a8fdb4bcSmrg 1399a8fdb4bcSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1400a8fdb4bcSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1401a8fdb4bcSmrg 1402a8fdb4bcSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1403a8fdb4bcSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1404a8fdb4bcSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1405a8fdb4bcSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1406a8fdb4bcSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1407a8fdb4bcSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1408a8fdb4bcSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1409a8fdb4bcSmrg 1410a8fdb4bcSmrg_ASUNAME 1411a8fdb4bcSmrg 1412a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1413a8fdb4bcSmrgfor as_dir in $PATH 1414a8fdb4bcSmrgdo 1415a8fdb4bcSmrg IFS=$as_save_IFS 1416a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 1417a8fdb4bcSmrg echo "PATH: $as_dir" 1418a8fdb4bcSmrgdone 1419a8fdb4bcSmrgIFS=$as_save_IFS 1420a8fdb4bcSmrg 1421a8fdb4bcSmrg} >&5 1422a8fdb4bcSmrg 1423a8fdb4bcSmrgcat >&5 <<_ACEOF 1424a8fdb4bcSmrg 1425a8fdb4bcSmrg 1426a8fdb4bcSmrg## ----------- ## 1427a8fdb4bcSmrg## Core tests. ## 1428a8fdb4bcSmrg## ----------- ## 1429a8fdb4bcSmrg 1430a8fdb4bcSmrg_ACEOF 1431a8fdb4bcSmrg 1432a8fdb4bcSmrg 1433a8fdb4bcSmrg# Keep a trace of the command line. 1434a8fdb4bcSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1435a8fdb4bcSmrg# Strip out --silent because we don't want to record it for future runs. 1436a8fdb4bcSmrg# Also quote any args containing shell meta-characters. 1437a8fdb4bcSmrg# Make two passes to allow for proper duplicate-argument suppression. 1438a8fdb4bcSmrgac_configure_args= 1439a8fdb4bcSmrgac_configure_args0= 1440a8fdb4bcSmrgac_configure_args1= 1441a8fdb4bcSmrgac_must_keep_next=false 1442a8fdb4bcSmrgfor ac_pass in 1 2 1443a8fdb4bcSmrgdo 1444a8fdb4bcSmrg for ac_arg 1445a8fdb4bcSmrg do 1446a8fdb4bcSmrg case $ac_arg in 1447a8fdb4bcSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1448a8fdb4bcSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1449a8fdb4bcSmrg | -silent | --silent | --silen | --sile | --sil) 1450a8fdb4bcSmrg continue ;; 1451a8fdb4bcSmrg *\'*) 1452a8fdb4bcSmrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1453a8fdb4bcSmrg esac 1454a8fdb4bcSmrg case $ac_pass in 1455a8fdb4bcSmrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1456a8fdb4bcSmrg 2) 1457a8fdb4bcSmrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1458a8fdb4bcSmrg if test $ac_must_keep_next = true; then 1459a8fdb4bcSmrg ac_must_keep_next=false # Got value, back to normal. 1460a8fdb4bcSmrg else 1461a8fdb4bcSmrg case $ac_arg in 1462a8fdb4bcSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1463a8fdb4bcSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1464a8fdb4bcSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1465a8fdb4bcSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1466a8fdb4bcSmrg case "$ac_configure_args0 " in 1467a8fdb4bcSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1468a8fdb4bcSmrg esac 1469a8fdb4bcSmrg ;; 1470a8fdb4bcSmrg -* ) ac_must_keep_next=true ;; 1471a8fdb4bcSmrg esac 1472a8fdb4bcSmrg fi 1473a8fdb4bcSmrg ac_configure_args="$ac_configure_args '$ac_arg'" 1474a8fdb4bcSmrg ;; 1475a8fdb4bcSmrg esac 1476a8fdb4bcSmrg done 1477a8fdb4bcSmrgdone 1478a8fdb4bcSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1479a8fdb4bcSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1480a8fdb4bcSmrg 1481a8fdb4bcSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1482a8fdb4bcSmrg# config.log. We remove comments because anyway the quotes in there 1483a8fdb4bcSmrg# would cause problems or look ugly. 1484a8fdb4bcSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1485a8fdb4bcSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1486a8fdb4bcSmrgtrap 'exit_status=$? 1487a8fdb4bcSmrg # Save into config.log some information that might help in debugging. 1488a8fdb4bcSmrg { 1489a8fdb4bcSmrg echo 1490a8fdb4bcSmrg 1491a8fdb4bcSmrg cat <<\_ASBOX 1492a8fdb4bcSmrg## ---------------- ## 1493a8fdb4bcSmrg## Cache variables. ## 1494a8fdb4bcSmrg## ---------------- ## 1495a8fdb4bcSmrg_ASBOX 1496a8fdb4bcSmrg echo 1497a8fdb4bcSmrg # The following way of writing the cache mishandles newlines in values, 1498a8fdb4bcSmrg( 1499a8fdb4bcSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1500a8fdb4bcSmrg eval ac_val=\$$ac_var 1501a8fdb4bcSmrg case $ac_val in #( 1502a8fdb4bcSmrg *${as_nl}*) 1503a8fdb4bcSmrg case $ac_var in #( 1504a8fdb4bcSmrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1505a8fdb4bcSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1506a8fdb4bcSmrg esac 1507a8fdb4bcSmrg case $ac_var in #( 1508a8fdb4bcSmrg _ | IFS | as_nl) ;; #( 1509a8fdb4bcSmrg *) $as_unset $ac_var ;; 1510a8fdb4bcSmrg esac ;; 1511a8fdb4bcSmrg esac 1512a8fdb4bcSmrg done 1513a8fdb4bcSmrg (set) 2>&1 | 1514a8fdb4bcSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1515a8fdb4bcSmrg *${as_nl}ac_space=\ *) 1516a8fdb4bcSmrg sed -n \ 1517a8fdb4bcSmrg "s/'\''/'\''\\\\'\'''\''/g; 1518a8fdb4bcSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1519a8fdb4bcSmrg ;; #( 1520a8fdb4bcSmrg *) 1521a8fdb4bcSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1522a8fdb4bcSmrg ;; 1523a8fdb4bcSmrg esac | 1524a8fdb4bcSmrg sort 1525a8fdb4bcSmrg) 1526a8fdb4bcSmrg echo 1527a8fdb4bcSmrg 1528a8fdb4bcSmrg cat <<\_ASBOX 1529a8fdb4bcSmrg## ----------------- ## 1530a8fdb4bcSmrg## Output variables. ## 1531a8fdb4bcSmrg## ----------------- ## 1532a8fdb4bcSmrg_ASBOX 1533a8fdb4bcSmrg echo 1534a8fdb4bcSmrg for ac_var in $ac_subst_vars 1535a8fdb4bcSmrg do 1536a8fdb4bcSmrg eval ac_val=\$$ac_var 1537a8fdb4bcSmrg case $ac_val in 1538a8fdb4bcSmrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1539a8fdb4bcSmrg esac 1540a8fdb4bcSmrg echo "$ac_var='\''$ac_val'\''" 1541a8fdb4bcSmrg done | sort 1542a8fdb4bcSmrg echo 1543a8fdb4bcSmrg 1544a8fdb4bcSmrg if test -n "$ac_subst_files"; then 1545a8fdb4bcSmrg cat <<\_ASBOX 1546a8fdb4bcSmrg## ------------------- ## 1547a8fdb4bcSmrg## File substitutions. ## 1548a8fdb4bcSmrg## ------------------- ## 1549a8fdb4bcSmrg_ASBOX 1550a8fdb4bcSmrg echo 1551a8fdb4bcSmrg for ac_var in $ac_subst_files 1552a8fdb4bcSmrg do 1553a8fdb4bcSmrg eval ac_val=\$$ac_var 1554a8fdb4bcSmrg case $ac_val in 1555a8fdb4bcSmrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1556a8fdb4bcSmrg esac 1557a8fdb4bcSmrg echo "$ac_var='\''$ac_val'\''" 1558a8fdb4bcSmrg done | sort 1559a8fdb4bcSmrg echo 1560a8fdb4bcSmrg fi 1561a8fdb4bcSmrg 1562a8fdb4bcSmrg if test -s confdefs.h; then 1563a8fdb4bcSmrg cat <<\_ASBOX 1564a8fdb4bcSmrg## ----------- ## 1565a8fdb4bcSmrg## confdefs.h. ## 1566a8fdb4bcSmrg## ----------- ## 1567a8fdb4bcSmrg_ASBOX 1568a8fdb4bcSmrg echo 1569a8fdb4bcSmrg cat confdefs.h 1570a8fdb4bcSmrg echo 1571a8fdb4bcSmrg fi 1572a8fdb4bcSmrg test "$ac_signal" != 0 && 1573a8fdb4bcSmrg echo "$as_me: caught signal $ac_signal" 1574a8fdb4bcSmrg echo "$as_me: exit $exit_status" 1575a8fdb4bcSmrg } >&5 1576a8fdb4bcSmrg rm -f core *.core core.conftest.* && 1577a8fdb4bcSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1578a8fdb4bcSmrg exit $exit_status 1579a8fdb4bcSmrg' 0 1580a8fdb4bcSmrgfor ac_signal in 1 2 13 15; do 1581a8fdb4bcSmrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1582a8fdb4bcSmrgdone 1583a8fdb4bcSmrgac_signal=0 1584a8fdb4bcSmrg 1585a8fdb4bcSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1586a8fdb4bcSmrgrm -f -r conftest* confdefs.h 1587a8fdb4bcSmrg 1588a8fdb4bcSmrg# Predefined preprocessor variables. 1589a8fdb4bcSmrg 1590a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 1591a8fdb4bcSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 1592a8fdb4bcSmrg_ACEOF 1593a8fdb4bcSmrg 1594a8fdb4bcSmrg 1595a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 1596a8fdb4bcSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1597a8fdb4bcSmrg_ACEOF 1598a8fdb4bcSmrg 1599a8fdb4bcSmrg 1600a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 1601a8fdb4bcSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1602a8fdb4bcSmrg_ACEOF 1603a8fdb4bcSmrg 1604a8fdb4bcSmrg 1605a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 1606a8fdb4bcSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 1607a8fdb4bcSmrg_ACEOF 1608a8fdb4bcSmrg 1609a8fdb4bcSmrg 1610a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 1611a8fdb4bcSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1612a8fdb4bcSmrg_ACEOF 1613a8fdb4bcSmrg 1614a8fdb4bcSmrg 1615a8fdb4bcSmrg# Let the site file select an alternate cache file if it wants to. 1616a8fdb4bcSmrg# Prefer explicitly selected file to automatically selected ones. 1617a8fdb4bcSmrgif test -n "$CONFIG_SITE"; then 1618a8fdb4bcSmrg set x "$CONFIG_SITE" 1619a8fdb4bcSmrgelif test "x$prefix" != xNONE; then 1620a8fdb4bcSmrg set x "$prefix/share/config.site" "$prefix/etc/config.site" 1621a8fdb4bcSmrgelse 1622a8fdb4bcSmrg set x "$ac_default_prefix/share/config.site" \ 1623a8fdb4bcSmrg "$ac_default_prefix/etc/config.site" 1624a8fdb4bcSmrgfi 1625a8fdb4bcSmrgshift 1626a8fdb4bcSmrgfor ac_site_file 1627a8fdb4bcSmrgdo 1628a8fdb4bcSmrg if test -r "$ac_site_file"; then 1629a8fdb4bcSmrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1630a8fdb4bcSmrgecho "$as_me: loading site script $ac_site_file" >&6;} 1631a8fdb4bcSmrg sed 's/^/| /' "$ac_site_file" >&5 1632a8fdb4bcSmrg . "$ac_site_file" 1633a8fdb4bcSmrg fi 1634a8fdb4bcSmrgdone 1635a8fdb4bcSmrg 1636a8fdb4bcSmrgif test -r "$cache_file"; then 1637a8fdb4bcSmrg # Some versions of bash will fail to source /dev/null (special 1638a8fdb4bcSmrg # files actually), so we avoid doing that. 1639a8fdb4bcSmrg if test -f "$cache_file"; then 1640a8fdb4bcSmrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1641a8fdb4bcSmrgecho "$as_me: loading cache $cache_file" >&6;} 1642a8fdb4bcSmrg case $cache_file in 1643a8fdb4bcSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1644a8fdb4bcSmrg *) . "./$cache_file";; 1645a8fdb4bcSmrg esac 1646a8fdb4bcSmrg fi 1647a8fdb4bcSmrgelse 1648a8fdb4bcSmrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1649a8fdb4bcSmrgecho "$as_me: creating cache $cache_file" >&6;} 1650a8fdb4bcSmrg >$cache_file 1651a8fdb4bcSmrgfi 1652a8fdb4bcSmrg 1653a8fdb4bcSmrg# Check that the precious variables saved in the cache have kept the same 1654a8fdb4bcSmrg# value. 1655a8fdb4bcSmrgac_cache_corrupted=false 1656a8fdb4bcSmrgfor ac_var in $ac_precious_vars; do 1657a8fdb4bcSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1658a8fdb4bcSmrg eval ac_new_set=\$ac_env_${ac_var}_set 1659a8fdb4bcSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1660a8fdb4bcSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1661a8fdb4bcSmrg case $ac_old_set,$ac_new_set in 1662a8fdb4bcSmrg set,) 1663a8fdb4bcSmrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1664a8fdb4bcSmrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1665a8fdb4bcSmrg ac_cache_corrupted=: ;; 1666a8fdb4bcSmrg ,set) 1667a8fdb4bcSmrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1668a8fdb4bcSmrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1669a8fdb4bcSmrg ac_cache_corrupted=: ;; 1670a8fdb4bcSmrg ,);; 1671a8fdb4bcSmrg *) 1672a8fdb4bcSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 1673a8fdb4bcSmrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1674a8fdb4bcSmrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1675a8fdb4bcSmrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1676a8fdb4bcSmrgecho "$as_me: former value: $ac_old_val" >&2;} 1677a8fdb4bcSmrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1678a8fdb4bcSmrgecho "$as_me: current value: $ac_new_val" >&2;} 1679a8fdb4bcSmrg ac_cache_corrupted=: 1680a8fdb4bcSmrg fi;; 1681a8fdb4bcSmrg esac 1682a8fdb4bcSmrg # Pass precious variables to config.status. 1683a8fdb4bcSmrg if test "$ac_new_set" = set; then 1684a8fdb4bcSmrg case $ac_new_val in 1685a8fdb4bcSmrg *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1686a8fdb4bcSmrg *) ac_arg=$ac_var=$ac_new_val ;; 1687a8fdb4bcSmrg esac 1688a8fdb4bcSmrg case " $ac_configure_args " in 1689a8fdb4bcSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1690a8fdb4bcSmrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1691a8fdb4bcSmrg esac 1692a8fdb4bcSmrg fi 1693a8fdb4bcSmrgdone 1694a8fdb4bcSmrgif $ac_cache_corrupted; then 1695a8fdb4bcSmrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1696a8fdb4bcSmrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 1697a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1698a8fdb4bcSmrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1699a8fdb4bcSmrg { (exit 1); exit 1; }; } 1700a8fdb4bcSmrgfi 1701a8fdb4bcSmrg 1702a8fdb4bcSmrg 1703a8fdb4bcSmrg 1704a8fdb4bcSmrg 1705a8fdb4bcSmrg 1706a8fdb4bcSmrg 1707a8fdb4bcSmrg 1708a8fdb4bcSmrg 1709a8fdb4bcSmrg 1710a8fdb4bcSmrg 1711a8fdb4bcSmrg 1712a8fdb4bcSmrg 1713a8fdb4bcSmrg 1714a8fdb4bcSmrg 1715a8fdb4bcSmrg 1716a8fdb4bcSmrg 1717a8fdb4bcSmrg 1718a8fdb4bcSmrg 1719a8fdb4bcSmrg 1720a8fdb4bcSmrg 1721a8fdb4bcSmrg 1722a8fdb4bcSmrg 1723a8fdb4bcSmrg 1724a8fdb4bcSmrg 1725a8fdb4bcSmrg 1726a8fdb4bcSmrgac_ext=c 1727a8fdb4bcSmrgac_cpp='$CPP $CPPFLAGS' 1728a8fdb4bcSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1729a8fdb4bcSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1730a8fdb4bcSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1731a8fdb4bcSmrg 1732a8fdb4bcSmrg 1733a8fdb4bcSmrgam__api_version='1.10' 1734a8fdb4bcSmrg 1735a8fdb4bcSmrgac_aux_dir= 1736a8fdb4bcSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1737a8fdb4bcSmrg if test -f "$ac_dir/install-sh"; then 1738a8fdb4bcSmrg ac_aux_dir=$ac_dir 1739a8fdb4bcSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 1740a8fdb4bcSmrg break 1741a8fdb4bcSmrg elif test -f "$ac_dir/install.sh"; then 1742a8fdb4bcSmrg ac_aux_dir=$ac_dir 1743a8fdb4bcSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 1744a8fdb4bcSmrg break 1745a8fdb4bcSmrg elif test -f "$ac_dir/shtool"; then 1746a8fdb4bcSmrg ac_aux_dir=$ac_dir 1747a8fdb4bcSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 1748a8fdb4bcSmrg break 1749a8fdb4bcSmrg fi 1750a8fdb4bcSmrgdone 1751a8fdb4bcSmrgif test -z "$ac_aux_dir"; then 1752a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1753a8fdb4bcSmrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1754a8fdb4bcSmrg { (exit 1); exit 1; }; } 1755a8fdb4bcSmrgfi 1756a8fdb4bcSmrg 1757a8fdb4bcSmrg# These three variables are undocumented and unsupported, 1758a8fdb4bcSmrg# and are intended to be withdrawn in a future Autoconf release. 1759a8fdb4bcSmrg# They can cause serious problems if a builder's source tree is in a directory 1760a8fdb4bcSmrg# whose full name contains unusual characters. 1761a8fdb4bcSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1762a8fdb4bcSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1763a8fdb4bcSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1764a8fdb4bcSmrg 1765a8fdb4bcSmrg 1766a8fdb4bcSmrg# Find a good install program. We prefer a C program (faster), 1767a8fdb4bcSmrg# so one script is as good as another. But avoid the broken or 1768a8fdb4bcSmrg# incompatible versions: 1769a8fdb4bcSmrg# SysV /etc/install, /usr/sbin/install 1770a8fdb4bcSmrg# SunOS /usr/etc/install 1771a8fdb4bcSmrg# IRIX /sbin/install 1772a8fdb4bcSmrg# AIX /bin/install 1773a8fdb4bcSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1774a8fdb4bcSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1775a8fdb4bcSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1776a8fdb4bcSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1777a8fdb4bcSmrg# OS/2's system install, which has a completely different semantic 1778a8fdb4bcSmrg# ./install, which can be erroneously created by make from ./install.sh. 1779a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1780a8fdb4bcSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1781a8fdb4bcSmrgif test -z "$INSTALL"; then 1782a8fdb4bcSmrgif test "${ac_cv_path_install+set}" = set; then 1783a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 1784a8fdb4bcSmrgelse 1785a8fdb4bcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1786a8fdb4bcSmrgfor as_dir in $PATH 1787a8fdb4bcSmrgdo 1788a8fdb4bcSmrg IFS=$as_save_IFS 1789a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 1790a8fdb4bcSmrg # Account for people who put trailing slashes in PATH elements. 1791a8fdb4bcSmrgcase $as_dir/ in 1792a8fdb4bcSmrg ./ | .// | /cC/* | \ 1793a8fdb4bcSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1794a8fdb4bcSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1795a8fdb4bcSmrg /usr/ucb/* ) ;; 1796a8fdb4bcSmrg *) 1797a8fdb4bcSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 1798a8fdb4bcSmrg # Don't use installbsd from OSF since it installs stuff as root 1799a8fdb4bcSmrg # by default. 1800a8fdb4bcSmrg for ac_prog in ginstall scoinst install; do 1801a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 1802a8fdb4bcSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1803a8fdb4bcSmrg if test $ac_prog = install && 1804a8fdb4bcSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1805a8fdb4bcSmrg # AIX install. It has an incompatible calling convention. 1806a8fdb4bcSmrg : 1807a8fdb4bcSmrg elif test $ac_prog = install && 1808a8fdb4bcSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1809a8fdb4bcSmrg # program-specific install script used by HP pwplus--don't use. 1810a8fdb4bcSmrg : 1811a8fdb4bcSmrg else 1812a8fdb4bcSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1813a8fdb4bcSmrg break 3 1814a8fdb4bcSmrg fi 1815a8fdb4bcSmrg fi 1816a8fdb4bcSmrg done 1817a8fdb4bcSmrg done 1818a8fdb4bcSmrg ;; 1819a8fdb4bcSmrgesac 1820a8fdb4bcSmrgdone 1821a8fdb4bcSmrgIFS=$as_save_IFS 1822a8fdb4bcSmrg 1823a8fdb4bcSmrg 1824a8fdb4bcSmrgfi 1825a8fdb4bcSmrg if test "${ac_cv_path_install+set}" = set; then 1826a8fdb4bcSmrg INSTALL=$ac_cv_path_install 1827a8fdb4bcSmrg else 1828a8fdb4bcSmrg # As a last resort, use the slow shell script. Don't cache a 1829a8fdb4bcSmrg # value for INSTALL within a source directory, because that will 1830a8fdb4bcSmrg # break other packages using the cache if that directory is 1831a8fdb4bcSmrg # removed, or if the value is a relative name. 1832a8fdb4bcSmrg INSTALL=$ac_install_sh 1833a8fdb4bcSmrg fi 1834a8fdb4bcSmrgfi 1835a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1836a8fdb4bcSmrgecho "${ECHO_T}$INSTALL" >&6; } 1837a8fdb4bcSmrg 1838a8fdb4bcSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1839a8fdb4bcSmrg# It thinks the first close brace ends the variable substitution. 1840a8fdb4bcSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1841a8fdb4bcSmrg 1842a8fdb4bcSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1843a8fdb4bcSmrg 1844a8fdb4bcSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1845a8fdb4bcSmrg 1846a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1847a8fdb4bcSmrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1848a8fdb4bcSmrg# Just in case 1849a8fdb4bcSmrgsleep 1 1850a8fdb4bcSmrgecho timestamp > conftest.file 1851a8fdb4bcSmrg# Do `set' in a subshell so we don't clobber the current shell's 1852a8fdb4bcSmrg# arguments. Must try -L first in case configure is actually a 1853a8fdb4bcSmrg# symlink; some systems play weird games with the mod time of symlinks 1854a8fdb4bcSmrg# (eg FreeBSD returns the mod time of the symlink's containing 1855a8fdb4bcSmrg# directory). 1856a8fdb4bcSmrgif ( 1857a8fdb4bcSmrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1858a8fdb4bcSmrg if test "$*" = "X"; then 1859a8fdb4bcSmrg # -L didn't work. 1860a8fdb4bcSmrg set X `ls -t $srcdir/configure conftest.file` 1861a8fdb4bcSmrg fi 1862a8fdb4bcSmrg rm -f conftest.file 1863a8fdb4bcSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 1864a8fdb4bcSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 1865a8fdb4bcSmrg 1866a8fdb4bcSmrg # If neither matched, then we have a broken ls. This can happen 1867a8fdb4bcSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 1868a8fdb4bcSmrg # broken ls alias from the environment. This has actually 1869a8fdb4bcSmrg # happened. Such a system could not be considered "sane". 1870a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1871a8fdb4bcSmrgalias in your environment" >&5 1872a8fdb4bcSmrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1873a8fdb4bcSmrgalias in your environment" >&2;} 1874a8fdb4bcSmrg { (exit 1); exit 1; }; } 1875a8fdb4bcSmrg fi 1876a8fdb4bcSmrg 1877a8fdb4bcSmrg test "$2" = conftest.file 1878a8fdb4bcSmrg ) 1879a8fdb4bcSmrgthen 1880a8fdb4bcSmrg # Ok. 1881a8fdb4bcSmrg : 1882a8fdb4bcSmrgelse 1883a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1884a8fdb4bcSmrgCheck your system clock" >&5 1885a8fdb4bcSmrgecho "$as_me: error: newly created file is older than distributed files! 1886a8fdb4bcSmrgCheck your system clock" >&2;} 1887a8fdb4bcSmrg { (exit 1); exit 1; }; } 1888a8fdb4bcSmrgfi 1889a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: yes" >&5 1890a8fdb4bcSmrgecho "${ECHO_T}yes" >&6; } 1891a8fdb4bcSmrgtest "$program_prefix" != NONE && 1892a8fdb4bcSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 1893a8fdb4bcSmrg# Use a double $ so make ignores it. 1894a8fdb4bcSmrgtest "$program_suffix" != NONE && 1895a8fdb4bcSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1896a8fdb4bcSmrg# Double any \ or $. echo might interpret backslashes. 1897a8fdb4bcSmrg# By default was `s,x,x', remove it if useless. 1898a8fdb4bcSmrgcat <<\_ACEOF >conftest.sed 1899a8fdb4bcSmrgs/[\\$]/&&/g;s/;s,x,x,$// 1900a8fdb4bcSmrg_ACEOF 1901a8fdb4bcSmrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1902a8fdb4bcSmrgrm -f conftest.sed 1903a8fdb4bcSmrg 1904a8fdb4bcSmrg# expand $ac_aux_dir to an absolute path 1905a8fdb4bcSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 1906a8fdb4bcSmrg 1907a8fdb4bcSmrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1908a8fdb4bcSmrg# Use eval to expand $SHELL 1909a8fdb4bcSmrgif eval "$MISSING --run true"; then 1910a8fdb4bcSmrg am_missing_run="$MISSING --run " 1911a8fdb4bcSmrgelse 1912a8fdb4bcSmrg am_missing_run= 1913a8fdb4bcSmrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1914a8fdb4bcSmrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1915a8fdb4bcSmrgfi 1916a8fdb4bcSmrg 1917a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1918a8fdb4bcSmrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1919a8fdb4bcSmrgif test -z "$MKDIR_P"; then 1920a8fdb4bcSmrg if test "${ac_cv_path_mkdir+set}" = set; then 1921a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 1922a8fdb4bcSmrgelse 1923a8fdb4bcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1924a8fdb4bcSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 1925a8fdb4bcSmrgdo 1926a8fdb4bcSmrg IFS=$as_save_IFS 1927a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 1928a8fdb4bcSmrg for ac_prog in mkdir gmkdir; do 1929a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 1930a8fdb4bcSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 1931a8fdb4bcSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 1932a8fdb4bcSmrg 'mkdir (GNU coreutils) '* | \ 1933a8fdb4bcSmrg 'mkdir (coreutils) '* | \ 1934a8fdb4bcSmrg 'mkdir (fileutils) '4.1*) 1935a8fdb4bcSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 1936a8fdb4bcSmrg break 3;; 1937a8fdb4bcSmrg esac 1938a8fdb4bcSmrg done 1939a8fdb4bcSmrg done 1940a8fdb4bcSmrgdone 1941a8fdb4bcSmrgIFS=$as_save_IFS 1942a8fdb4bcSmrg 1943a8fdb4bcSmrgfi 1944a8fdb4bcSmrg 1945a8fdb4bcSmrg if test "${ac_cv_path_mkdir+set}" = set; then 1946a8fdb4bcSmrg MKDIR_P="$ac_cv_path_mkdir -p" 1947a8fdb4bcSmrg else 1948a8fdb4bcSmrg # As a last resort, use the slow shell script. Don't cache a 1949a8fdb4bcSmrg # value for MKDIR_P within a source directory, because that will 1950a8fdb4bcSmrg # break other packages using the cache if that directory is 1951a8fdb4bcSmrg # removed, or if the value is a relative name. 1952a8fdb4bcSmrg test -d ./--version && rmdir ./--version 1953a8fdb4bcSmrg MKDIR_P="$ac_install_sh -d" 1954a8fdb4bcSmrg fi 1955a8fdb4bcSmrgfi 1956a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 1957a8fdb4bcSmrgecho "${ECHO_T}$MKDIR_P" >&6; } 1958a8fdb4bcSmrg 1959a8fdb4bcSmrgmkdir_p="$MKDIR_P" 1960a8fdb4bcSmrgcase $mkdir_p in 1961a8fdb4bcSmrg [\\/$]* | ?:[\\/]*) ;; 1962a8fdb4bcSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 1963a8fdb4bcSmrgesac 1964a8fdb4bcSmrg 1965a8fdb4bcSmrgfor ac_prog in gawk mawk nawk awk 1966a8fdb4bcSmrgdo 1967a8fdb4bcSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 1968a8fdb4bcSmrgset dummy $ac_prog; ac_word=$2 1969a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1970a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1971a8fdb4bcSmrgif test "${ac_cv_prog_AWK+set}" = set; then 1972a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 1973a8fdb4bcSmrgelse 1974a8fdb4bcSmrg if test -n "$AWK"; then 1975a8fdb4bcSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 1976a8fdb4bcSmrgelse 1977a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1978a8fdb4bcSmrgfor as_dir in $PATH 1979a8fdb4bcSmrgdo 1980a8fdb4bcSmrg IFS=$as_save_IFS 1981a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 1982a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 1983a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1984a8fdb4bcSmrg ac_cv_prog_AWK="$ac_prog" 1985a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1986a8fdb4bcSmrg break 2 1987a8fdb4bcSmrg fi 1988a8fdb4bcSmrgdone 1989a8fdb4bcSmrgdone 1990a8fdb4bcSmrgIFS=$as_save_IFS 1991a8fdb4bcSmrg 1992a8fdb4bcSmrgfi 1993a8fdb4bcSmrgfi 1994a8fdb4bcSmrgAWK=$ac_cv_prog_AWK 1995a8fdb4bcSmrgif test -n "$AWK"; then 1996a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $AWK" >&5 1997a8fdb4bcSmrgecho "${ECHO_T}$AWK" >&6; } 1998a8fdb4bcSmrgelse 1999a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2000a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2001a8fdb4bcSmrgfi 2002a8fdb4bcSmrg 2003a8fdb4bcSmrg 2004a8fdb4bcSmrg test -n "$AWK" && break 2005a8fdb4bcSmrgdone 2006a8fdb4bcSmrg 2007a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2008a8fdb4bcSmrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2009a8fdb4bcSmrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2010a8fdb4bcSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2011a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2012a8fdb4bcSmrgelse 2013a8fdb4bcSmrg cat >conftest.make <<\_ACEOF 2014a8fdb4bcSmrgSHELL = /bin/sh 2015a8fdb4bcSmrgall: 2016a8fdb4bcSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2017a8fdb4bcSmrg_ACEOF 2018a8fdb4bcSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2019a8fdb4bcSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2020a8fdb4bcSmrg *@@@%%%=?*=@@@%%%*) 2021a8fdb4bcSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2022a8fdb4bcSmrg *) 2023a8fdb4bcSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 2024a8fdb4bcSmrgesac 2025a8fdb4bcSmrgrm -f conftest.make 2026a8fdb4bcSmrgfi 2027a8fdb4bcSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2028a8fdb4bcSmrg { echo "$as_me:$LINENO: result: yes" >&5 2029a8fdb4bcSmrgecho "${ECHO_T}yes" >&6; } 2030a8fdb4bcSmrg SET_MAKE= 2031a8fdb4bcSmrgelse 2032a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2033a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2034a8fdb4bcSmrg SET_MAKE="MAKE=${MAKE-make}" 2035a8fdb4bcSmrgfi 2036a8fdb4bcSmrg 2037a8fdb4bcSmrgrm -rf .tst 2>/dev/null 2038a8fdb4bcSmrgmkdir .tst 2>/dev/null 2039a8fdb4bcSmrgif test -d .tst; then 2040a8fdb4bcSmrg am__leading_dot=. 2041a8fdb4bcSmrgelse 2042a8fdb4bcSmrg am__leading_dot=_ 2043a8fdb4bcSmrgfi 2044a8fdb4bcSmrgrmdir .tst 2>/dev/null 2045a8fdb4bcSmrg 2046a8fdb4bcSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2047a8fdb4bcSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2048a8fdb4bcSmrg # is not polluted with repeated "-I." 2049a8fdb4bcSmrg am__isrc=' -I$(srcdir)' 2050a8fdb4bcSmrg # test to see if srcdir already configured 2051a8fdb4bcSmrg if test -f $srcdir/config.status; then 2052a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2053a8fdb4bcSmrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2054a8fdb4bcSmrg { (exit 1); exit 1; }; } 2055a8fdb4bcSmrg fi 2056a8fdb4bcSmrgfi 2057a8fdb4bcSmrg 2058a8fdb4bcSmrg# test whether we have cygpath 2059a8fdb4bcSmrgif test -z "$CYGPATH_W"; then 2060a8fdb4bcSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2061a8fdb4bcSmrg CYGPATH_W='cygpath -w' 2062a8fdb4bcSmrg else 2063a8fdb4bcSmrg CYGPATH_W=echo 2064a8fdb4bcSmrg fi 2065a8fdb4bcSmrgfi 2066a8fdb4bcSmrg 2067a8fdb4bcSmrg 2068a8fdb4bcSmrg# Define the identity of the package. 2069a8fdb4bcSmrg PACKAGE='luit' 2070a8fdb4bcSmrg VERSION='1.0.3' 2071a8fdb4bcSmrg 2072a8fdb4bcSmrg 2073a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 2074a8fdb4bcSmrg#define PACKAGE "$PACKAGE" 2075a8fdb4bcSmrg_ACEOF 2076a8fdb4bcSmrg 2077a8fdb4bcSmrg 2078a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 2079a8fdb4bcSmrg#define VERSION "$VERSION" 2080a8fdb4bcSmrg_ACEOF 2081a8fdb4bcSmrg 2082a8fdb4bcSmrg# Some tools Automake needs. 2083a8fdb4bcSmrg 2084a8fdb4bcSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2085a8fdb4bcSmrg 2086a8fdb4bcSmrg 2087a8fdb4bcSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2088a8fdb4bcSmrg 2089a8fdb4bcSmrg 2090a8fdb4bcSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2091a8fdb4bcSmrg 2092a8fdb4bcSmrg 2093a8fdb4bcSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2094a8fdb4bcSmrg 2095a8fdb4bcSmrg 2096a8fdb4bcSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2097a8fdb4bcSmrg 2098a8fdb4bcSmrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2099a8fdb4bcSmrg 2100a8fdb4bcSmrg# Installed binaries are usually stripped using `strip' when the user 2101a8fdb4bcSmrg# run `make install-strip'. However `strip' might not be the right 2102a8fdb4bcSmrg# tool to use in cross-compilation environments, therefore Automake 2103a8fdb4bcSmrg# will honor the `STRIP' environment variable to overrule this program. 2104a8fdb4bcSmrgif test "$cross_compiling" != no; then 2105a8fdb4bcSmrg if test -n "$ac_tool_prefix"; then 2106a8fdb4bcSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2107a8fdb4bcSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2108a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2109a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2110a8fdb4bcSmrgif test "${ac_cv_prog_STRIP+set}" = set; then 2111a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2112a8fdb4bcSmrgelse 2113a8fdb4bcSmrg if test -n "$STRIP"; then 2114a8fdb4bcSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2115a8fdb4bcSmrgelse 2116a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2117a8fdb4bcSmrgfor as_dir in $PATH 2118a8fdb4bcSmrgdo 2119a8fdb4bcSmrg IFS=$as_save_IFS 2120a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2121a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2122a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2123a8fdb4bcSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2124a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2125a8fdb4bcSmrg break 2 2126a8fdb4bcSmrg fi 2127a8fdb4bcSmrgdone 2128a8fdb4bcSmrgdone 2129a8fdb4bcSmrgIFS=$as_save_IFS 2130a8fdb4bcSmrg 2131a8fdb4bcSmrgfi 2132a8fdb4bcSmrgfi 2133a8fdb4bcSmrgSTRIP=$ac_cv_prog_STRIP 2134a8fdb4bcSmrgif test -n "$STRIP"; then 2135a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $STRIP" >&5 2136a8fdb4bcSmrgecho "${ECHO_T}$STRIP" >&6; } 2137a8fdb4bcSmrgelse 2138a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2139a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2140a8fdb4bcSmrgfi 2141a8fdb4bcSmrg 2142a8fdb4bcSmrg 2143a8fdb4bcSmrgfi 2144a8fdb4bcSmrgif test -z "$ac_cv_prog_STRIP"; then 2145a8fdb4bcSmrg ac_ct_STRIP=$STRIP 2146a8fdb4bcSmrg # Extract the first word of "strip", so it can be a program name with args. 2147a8fdb4bcSmrgset dummy strip; ac_word=$2 2148a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2149a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2150a8fdb4bcSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2151a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2152a8fdb4bcSmrgelse 2153a8fdb4bcSmrg if test -n "$ac_ct_STRIP"; then 2154a8fdb4bcSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2155a8fdb4bcSmrgelse 2156a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2157a8fdb4bcSmrgfor as_dir in $PATH 2158a8fdb4bcSmrgdo 2159a8fdb4bcSmrg IFS=$as_save_IFS 2160a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2161a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2162a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2163a8fdb4bcSmrg ac_cv_prog_ac_ct_STRIP="strip" 2164a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2165a8fdb4bcSmrg break 2 2166a8fdb4bcSmrg fi 2167a8fdb4bcSmrgdone 2168a8fdb4bcSmrgdone 2169a8fdb4bcSmrgIFS=$as_save_IFS 2170a8fdb4bcSmrg 2171a8fdb4bcSmrgfi 2172a8fdb4bcSmrgfi 2173a8fdb4bcSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2174a8fdb4bcSmrgif test -n "$ac_ct_STRIP"; then 2175a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2176a8fdb4bcSmrgecho "${ECHO_T}$ac_ct_STRIP" >&6; } 2177a8fdb4bcSmrgelse 2178a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2179a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2180a8fdb4bcSmrgfi 2181a8fdb4bcSmrg 2182a8fdb4bcSmrg if test "x$ac_ct_STRIP" = x; then 2183a8fdb4bcSmrg STRIP=":" 2184a8fdb4bcSmrg else 2185a8fdb4bcSmrg case $cross_compiling:$ac_tool_warned in 2186a8fdb4bcSmrgyes:) 2187a8fdb4bcSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2188a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 2189a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 2190a8fdb4bcSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2191a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 2192a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 2193a8fdb4bcSmrgac_tool_warned=yes ;; 2194a8fdb4bcSmrgesac 2195a8fdb4bcSmrg STRIP=$ac_ct_STRIP 2196a8fdb4bcSmrg fi 2197a8fdb4bcSmrgelse 2198a8fdb4bcSmrg STRIP="$ac_cv_prog_STRIP" 2199a8fdb4bcSmrgfi 2200a8fdb4bcSmrg 2201a8fdb4bcSmrgfi 2202a8fdb4bcSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2203a8fdb4bcSmrg 2204a8fdb4bcSmrg# We need awk for the "check" target. The system "awk" is bad on 2205a8fdb4bcSmrg# some platforms. 2206a8fdb4bcSmrg# Always define AMTAR for backward compatibility. 2207a8fdb4bcSmrg 2208a8fdb4bcSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2209a8fdb4bcSmrg 2210a8fdb4bcSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2211a8fdb4bcSmrg 2212a8fdb4bcSmrg 2213a8fdb4bcSmrg 2214a8fdb4bcSmrg 2215a8fdb4bcSmrg 2216a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2217a8fdb4bcSmrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2218a8fdb4bcSmrg # Check whether --enable-maintainer-mode was given. 2219a8fdb4bcSmrgif test "${enable_maintainer_mode+set}" = set; then 2220a8fdb4bcSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2221a8fdb4bcSmrgelse 2222a8fdb4bcSmrg USE_MAINTAINER_MODE=no 2223a8fdb4bcSmrgfi 2224a8fdb4bcSmrg 2225a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2226a8fdb4bcSmrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2227a8fdb4bcSmrg if test $USE_MAINTAINER_MODE = yes; then 2228a8fdb4bcSmrg MAINTAINER_MODE_TRUE= 2229a8fdb4bcSmrg MAINTAINER_MODE_FALSE='#' 2230a8fdb4bcSmrgelse 2231a8fdb4bcSmrg MAINTAINER_MODE_TRUE='#' 2232a8fdb4bcSmrg MAINTAINER_MODE_FALSE= 2233a8fdb4bcSmrgfi 2234a8fdb4bcSmrg 2235a8fdb4bcSmrg MAINT=$MAINTAINER_MODE_TRUE 2236a8fdb4bcSmrg 2237a8fdb4bcSmrg 2238a8fdb4bcSmrg 2239a8fdb4bcSmrgac_config_headers="$ac_config_headers config.h" 2240a8fdb4bcSmrg 2241a8fdb4bcSmrg 2242a8fdb4bcSmrgac_ext=c 2243a8fdb4bcSmrgac_cpp='$CPP $CPPFLAGS' 2244a8fdb4bcSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2245a8fdb4bcSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2246a8fdb4bcSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2247a8fdb4bcSmrgif test -n "$ac_tool_prefix"; then 2248a8fdb4bcSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2249a8fdb4bcSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2250a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2251a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2252a8fdb4bcSmrgif test "${ac_cv_prog_CC+set}" = set; then 2253a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2254a8fdb4bcSmrgelse 2255a8fdb4bcSmrg if test -n "$CC"; then 2256a8fdb4bcSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2257a8fdb4bcSmrgelse 2258a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2259a8fdb4bcSmrgfor as_dir in $PATH 2260a8fdb4bcSmrgdo 2261a8fdb4bcSmrg IFS=$as_save_IFS 2262a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2263a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2264a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2265a8fdb4bcSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2266a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2267a8fdb4bcSmrg break 2 2268a8fdb4bcSmrg fi 2269a8fdb4bcSmrgdone 2270a8fdb4bcSmrgdone 2271a8fdb4bcSmrgIFS=$as_save_IFS 2272a8fdb4bcSmrg 2273a8fdb4bcSmrgfi 2274a8fdb4bcSmrgfi 2275a8fdb4bcSmrgCC=$ac_cv_prog_CC 2276a8fdb4bcSmrgif test -n "$CC"; then 2277a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2278a8fdb4bcSmrgecho "${ECHO_T}$CC" >&6; } 2279a8fdb4bcSmrgelse 2280a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2281a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2282a8fdb4bcSmrgfi 2283a8fdb4bcSmrg 2284a8fdb4bcSmrg 2285a8fdb4bcSmrgfi 2286a8fdb4bcSmrgif test -z "$ac_cv_prog_CC"; then 2287a8fdb4bcSmrg ac_ct_CC=$CC 2288a8fdb4bcSmrg # Extract the first word of "gcc", so it can be a program name with args. 2289a8fdb4bcSmrgset dummy gcc; ac_word=$2 2290a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2291a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2292a8fdb4bcSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2293a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2294a8fdb4bcSmrgelse 2295a8fdb4bcSmrg if test -n "$ac_ct_CC"; then 2296a8fdb4bcSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2297a8fdb4bcSmrgelse 2298a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2299a8fdb4bcSmrgfor as_dir in $PATH 2300a8fdb4bcSmrgdo 2301a8fdb4bcSmrg IFS=$as_save_IFS 2302a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2303a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2304a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2305a8fdb4bcSmrg ac_cv_prog_ac_ct_CC="gcc" 2306a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2307a8fdb4bcSmrg break 2 2308a8fdb4bcSmrg fi 2309a8fdb4bcSmrgdone 2310a8fdb4bcSmrgdone 2311a8fdb4bcSmrgIFS=$as_save_IFS 2312a8fdb4bcSmrg 2313a8fdb4bcSmrgfi 2314a8fdb4bcSmrgfi 2315a8fdb4bcSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2316a8fdb4bcSmrgif test -n "$ac_ct_CC"; then 2317a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2318a8fdb4bcSmrgecho "${ECHO_T}$ac_ct_CC" >&6; } 2319a8fdb4bcSmrgelse 2320a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2321a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2322a8fdb4bcSmrgfi 2323a8fdb4bcSmrg 2324a8fdb4bcSmrg if test "x$ac_ct_CC" = x; then 2325a8fdb4bcSmrg CC="" 2326a8fdb4bcSmrg else 2327a8fdb4bcSmrg case $cross_compiling:$ac_tool_warned in 2328a8fdb4bcSmrgyes:) 2329a8fdb4bcSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2330a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 2331a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 2332a8fdb4bcSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2333a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 2334a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 2335a8fdb4bcSmrgac_tool_warned=yes ;; 2336a8fdb4bcSmrgesac 2337a8fdb4bcSmrg CC=$ac_ct_CC 2338a8fdb4bcSmrg fi 2339a8fdb4bcSmrgelse 2340a8fdb4bcSmrg CC="$ac_cv_prog_CC" 2341a8fdb4bcSmrgfi 2342a8fdb4bcSmrg 2343a8fdb4bcSmrgif test -z "$CC"; then 2344a8fdb4bcSmrg if test -n "$ac_tool_prefix"; then 2345a8fdb4bcSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2346a8fdb4bcSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2347a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2348a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2349a8fdb4bcSmrgif test "${ac_cv_prog_CC+set}" = set; then 2350a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2351a8fdb4bcSmrgelse 2352a8fdb4bcSmrg if test -n "$CC"; then 2353a8fdb4bcSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2354a8fdb4bcSmrgelse 2355a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2356a8fdb4bcSmrgfor as_dir in $PATH 2357a8fdb4bcSmrgdo 2358a8fdb4bcSmrg IFS=$as_save_IFS 2359a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2360a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2361a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2362a8fdb4bcSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2363a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2364a8fdb4bcSmrg break 2 2365a8fdb4bcSmrg fi 2366a8fdb4bcSmrgdone 2367a8fdb4bcSmrgdone 2368a8fdb4bcSmrgIFS=$as_save_IFS 2369a8fdb4bcSmrg 2370a8fdb4bcSmrgfi 2371a8fdb4bcSmrgfi 2372a8fdb4bcSmrgCC=$ac_cv_prog_CC 2373a8fdb4bcSmrgif test -n "$CC"; then 2374a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2375a8fdb4bcSmrgecho "${ECHO_T}$CC" >&6; } 2376a8fdb4bcSmrgelse 2377a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2378a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2379a8fdb4bcSmrgfi 2380a8fdb4bcSmrg 2381a8fdb4bcSmrg 2382a8fdb4bcSmrg fi 2383a8fdb4bcSmrgfi 2384a8fdb4bcSmrgif test -z "$CC"; then 2385a8fdb4bcSmrg # Extract the first word of "cc", so it can be a program name with args. 2386a8fdb4bcSmrgset dummy cc; ac_word=$2 2387a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2388a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2389a8fdb4bcSmrgif test "${ac_cv_prog_CC+set}" = set; then 2390a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2391a8fdb4bcSmrgelse 2392a8fdb4bcSmrg if test -n "$CC"; then 2393a8fdb4bcSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2394a8fdb4bcSmrgelse 2395a8fdb4bcSmrg ac_prog_rejected=no 2396a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2397a8fdb4bcSmrgfor as_dir in $PATH 2398a8fdb4bcSmrgdo 2399a8fdb4bcSmrg IFS=$as_save_IFS 2400a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2401a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2402a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2403a8fdb4bcSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2404a8fdb4bcSmrg ac_prog_rejected=yes 2405a8fdb4bcSmrg continue 2406a8fdb4bcSmrg fi 2407a8fdb4bcSmrg ac_cv_prog_CC="cc" 2408a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2409a8fdb4bcSmrg break 2 2410a8fdb4bcSmrg fi 2411a8fdb4bcSmrgdone 2412a8fdb4bcSmrgdone 2413a8fdb4bcSmrgIFS=$as_save_IFS 2414a8fdb4bcSmrg 2415a8fdb4bcSmrgif test $ac_prog_rejected = yes; then 2416a8fdb4bcSmrg # We found a bogon in the path, so make sure we never use it. 2417a8fdb4bcSmrg set dummy $ac_cv_prog_CC 2418a8fdb4bcSmrg shift 2419a8fdb4bcSmrg if test $# != 0; then 2420a8fdb4bcSmrg # We chose a different compiler from the bogus one. 2421a8fdb4bcSmrg # However, it has the same basename, so the bogon will be chosen 2422a8fdb4bcSmrg # first if we set CC to just the basename; use the full file name. 2423a8fdb4bcSmrg shift 2424a8fdb4bcSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2425a8fdb4bcSmrg fi 2426a8fdb4bcSmrgfi 2427a8fdb4bcSmrgfi 2428a8fdb4bcSmrgfi 2429a8fdb4bcSmrgCC=$ac_cv_prog_CC 2430a8fdb4bcSmrgif test -n "$CC"; then 2431a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2432a8fdb4bcSmrgecho "${ECHO_T}$CC" >&6; } 2433a8fdb4bcSmrgelse 2434a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2435a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2436a8fdb4bcSmrgfi 2437a8fdb4bcSmrg 2438a8fdb4bcSmrg 2439a8fdb4bcSmrgfi 2440a8fdb4bcSmrgif test -z "$CC"; then 2441a8fdb4bcSmrg if test -n "$ac_tool_prefix"; then 2442a8fdb4bcSmrg for ac_prog in cl.exe 2443a8fdb4bcSmrg do 2444a8fdb4bcSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2445a8fdb4bcSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2446a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2447a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2448a8fdb4bcSmrgif test "${ac_cv_prog_CC+set}" = set; then 2449a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2450a8fdb4bcSmrgelse 2451a8fdb4bcSmrg if test -n "$CC"; then 2452a8fdb4bcSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2453a8fdb4bcSmrgelse 2454a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2455a8fdb4bcSmrgfor as_dir in $PATH 2456a8fdb4bcSmrgdo 2457a8fdb4bcSmrg IFS=$as_save_IFS 2458a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2459a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2460a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2461a8fdb4bcSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2462a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2463a8fdb4bcSmrg break 2 2464a8fdb4bcSmrg fi 2465a8fdb4bcSmrgdone 2466a8fdb4bcSmrgdone 2467a8fdb4bcSmrgIFS=$as_save_IFS 2468a8fdb4bcSmrg 2469a8fdb4bcSmrgfi 2470a8fdb4bcSmrgfi 2471a8fdb4bcSmrgCC=$ac_cv_prog_CC 2472a8fdb4bcSmrgif test -n "$CC"; then 2473a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2474a8fdb4bcSmrgecho "${ECHO_T}$CC" >&6; } 2475a8fdb4bcSmrgelse 2476a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2477a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2478a8fdb4bcSmrgfi 2479a8fdb4bcSmrg 2480a8fdb4bcSmrg 2481a8fdb4bcSmrg test -n "$CC" && break 2482a8fdb4bcSmrg done 2483a8fdb4bcSmrgfi 2484a8fdb4bcSmrgif test -z "$CC"; then 2485a8fdb4bcSmrg ac_ct_CC=$CC 2486a8fdb4bcSmrg for ac_prog in cl.exe 2487a8fdb4bcSmrgdo 2488a8fdb4bcSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2489a8fdb4bcSmrgset dummy $ac_prog; ac_word=$2 2490a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2491a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2492a8fdb4bcSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2493a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2494a8fdb4bcSmrgelse 2495a8fdb4bcSmrg if test -n "$ac_ct_CC"; then 2496a8fdb4bcSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2497a8fdb4bcSmrgelse 2498a8fdb4bcSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2499a8fdb4bcSmrgfor as_dir in $PATH 2500a8fdb4bcSmrgdo 2501a8fdb4bcSmrg IFS=$as_save_IFS 2502a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 2503a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2504a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2505a8fdb4bcSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 2506a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2507a8fdb4bcSmrg break 2 2508a8fdb4bcSmrg fi 2509a8fdb4bcSmrgdone 2510a8fdb4bcSmrgdone 2511a8fdb4bcSmrgIFS=$as_save_IFS 2512a8fdb4bcSmrg 2513a8fdb4bcSmrgfi 2514a8fdb4bcSmrgfi 2515a8fdb4bcSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2516a8fdb4bcSmrgif test -n "$ac_ct_CC"; then 2517a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2518a8fdb4bcSmrgecho "${ECHO_T}$ac_ct_CC" >&6; } 2519a8fdb4bcSmrgelse 2520a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 2521a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 2522a8fdb4bcSmrgfi 2523a8fdb4bcSmrg 2524a8fdb4bcSmrg 2525a8fdb4bcSmrg test -n "$ac_ct_CC" && break 2526a8fdb4bcSmrgdone 2527a8fdb4bcSmrg 2528a8fdb4bcSmrg if test "x$ac_ct_CC" = x; then 2529a8fdb4bcSmrg CC="" 2530a8fdb4bcSmrg else 2531a8fdb4bcSmrg case $cross_compiling:$ac_tool_warned in 2532a8fdb4bcSmrgyes:) 2533a8fdb4bcSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2534a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 2535a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 2536a8fdb4bcSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2537a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 2538a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 2539a8fdb4bcSmrgac_tool_warned=yes ;; 2540a8fdb4bcSmrgesac 2541a8fdb4bcSmrg CC=$ac_ct_CC 2542a8fdb4bcSmrg fi 2543a8fdb4bcSmrgfi 2544a8fdb4bcSmrg 2545a8fdb4bcSmrgfi 2546a8fdb4bcSmrg 2547a8fdb4bcSmrg 2548a8fdb4bcSmrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2549a8fdb4bcSmrgSee \`config.log' for more details." >&5 2550a8fdb4bcSmrgecho "$as_me: error: no acceptable C compiler found in \$PATH 2551a8fdb4bcSmrgSee \`config.log' for more details." >&2;} 2552a8fdb4bcSmrg { (exit 1); exit 1; }; } 2553a8fdb4bcSmrg 2554a8fdb4bcSmrg# Provide some information about the compiler. 2555a8fdb4bcSmrgecho "$as_me:$LINENO: checking for C compiler version" >&5 2556a8fdb4bcSmrgac_compiler=`set X $ac_compile; echo $2` 2557a8fdb4bcSmrg{ (ac_try="$ac_compiler --version >&5" 2558a8fdb4bcSmrgcase "(($ac_try" in 2559a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2560a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2561a8fdb4bcSmrgesac 2562a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2563a8fdb4bcSmrg (eval "$ac_compiler --version >&5") 2>&5 2564a8fdb4bcSmrg ac_status=$? 2565a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2566a8fdb4bcSmrg (exit $ac_status); } 2567a8fdb4bcSmrg{ (ac_try="$ac_compiler -v >&5" 2568a8fdb4bcSmrgcase "(($ac_try" in 2569a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2570a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2571a8fdb4bcSmrgesac 2572a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2573a8fdb4bcSmrg (eval "$ac_compiler -v >&5") 2>&5 2574a8fdb4bcSmrg ac_status=$? 2575a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2576a8fdb4bcSmrg (exit $ac_status); } 2577a8fdb4bcSmrg{ (ac_try="$ac_compiler -V >&5" 2578a8fdb4bcSmrgcase "(($ac_try" in 2579a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2580a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2581a8fdb4bcSmrgesac 2582a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2583a8fdb4bcSmrg (eval "$ac_compiler -V >&5") 2>&5 2584a8fdb4bcSmrg ac_status=$? 2585a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586a8fdb4bcSmrg (exit $ac_status); } 2587a8fdb4bcSmrg 2588a8fdb4bcSmrgcat >conftest.$ac_ext <<_ACEOF 2589a8fdb4bcSmrg/* confdefs.h. */ 2590a8fdb4bcSmrg_ACEOF 2591a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 2592a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 2593a8fdb4bcSmrg/* end confdefs.h. */ 2594a8fdb4bcSmrg 2595a8fdb4bcSmrgint 2596a8fdb4bcSmrgmain () 2597a8fdb4bcSmrg{ 2598a8fdb4bcSmrg 2599a8fdb4bcSmrg ; 2600a8fdb4bcSmrg return 0; 2601a8fdb4bcSmrg} 2602a8fdb4bcSmrg_ACEOF 2603a8fdb4bcSmrgac_clean_files_save=$ac_clean_files 2604a8fdb4bcSmrgac_clean_files="$ac_clean_files a.out a.exe b.out" 2605a8fdb4bcSmrg# Try to create an executable without -o first, disregard a.out. 2606a8fdb4bcSmrg# It will help us diagnose broken compilers, and finding out an intuition 2607a8fdb4bcSmrg# of exeext. 2608a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2609a8fdb4bcSmrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2610a8fdb4bcSmrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2611a8fdb4bcSmrg# 2612a8fdb4bcSmrg# List of possible output files, starting from the most likely. 2613a8fdb4bcSmrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2614a8fdb4bcSmrg# only as a last resort. b.out is created by i960 compilers. 2615a8fdb4bcSmrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2616a8fdb4bcSmrg# 2617a8fdb4bcSmrg# The IRIX 6 linker writes into existing files which may not be 2618a8fdb4bcSmrg# executable, retaining their permissions. Remove them first so a 2619a8fdb4bcSmrg# subsequent execution test works. 2620a8fdb4bcSmrgac_rmfiles= 2621a8fdb4bcSmrgfor ac_file in $ac_files 2622a8fdb4bcSmrgdo 2623a8fdb4bcSmrg case $ac_file in 2624a8fdb4bcSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2625a8fdb4bcSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2626a8fdb4bcSmrg esac 2627a8fdb4bcSmrgdone 2628a8fdb4bcSmrgrm -f $ac_rmfiles 2629a8fdb4bcSmrg 2630a8fdb4bcSmrgif { (ac_try="$ac_link_default" 2631a8fdb4bcSmrgcase "(($ac_try" in 2632a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2633a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2634a8fdb4bcSmrgesac 2635a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2636a8fdb4bcSmrg (eval "$ac_link_default") 2>&5 2637a8fdb4bcSmrg ac_status=$? 2638a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2639a8fdb4bcSmrg (exit $ac_status); }; then 2640a8fdb4bcSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2641a8fdb4bcSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2642a8fdb4bcSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 2643a8fdb4bcSmrg# so that the user can short-circuit this test for compilers unknown to 2644a8fdb4bcSmrg# Autoconf. 2645a8fdb4bcSmrgfor ac_file in $ac_files '' 2646a8fdb4bcSmrgdo 2647a8fdb4bcSmrg test -f "$ac_file" || continue 2648a8fdb4bcSmrg case $ac_file in 2649a8fdb4bcSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2650a8fdb4bcSmrg ;; 2651a8fdb4bcSmrg [ab].out ) 2652a8fdb4bcSmrg # We found the default executable, but exeext='' is most 2653a8fdb4bcSmrg # certainly right. 2654a8fdb4bcSmrg break;; 2655a8fdb4bcSmrg *.* ) 2656a8fdb4bcSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2657a8fdb4bcSmrg then :; else 2658a8fdb4bcSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2659a8fdb4bcSmrg fi 2660a8fdb4bcSmrg # We set ac_cv_exeext here because the later test for it is not 2661a8fdb4bcSmrg # safe: cross compilers may not add the suffix if given an `-o' 2662a8fdb4bcSmrg # argument, so we may need to know it at that point already. 2663a8fdb4bcSmrg # Even if this section looks crufty: it has the advantage of 2664a8fdb4bcSmrg # actually working. 2665a8fdb4bcSmrg break;; 2666a8fdb4bcSmrg * ) 2667a8fdb4bcSmrg break;; 2668a8fdb4bcSmrg esac 2669a8fdb4bcSmrgdone 2670a8fdb4bcSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 2671a8fdb4bcSmrg 2672a8fdb4bcSmrgelse 2673a8fdb4bcSmrg ac_file='' 2674a8fdb4bcSmrgfi 2675a8fdb4bcSmrg 2676a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_file" >&5 2677a8fdb4bcSmrgecho "${ECHO_T}$ac_file" >&6; } 2678a8fdb4bcSmrgif test -z "$ac_file"; then 2679a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 2680a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 2681a8fdb4bcSmrg 2682a8fdb4bcSmrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2683a8fdb4bcSmrgSee \`config.log' for more details." >&5 2684a8fdb4bcSmrgecho "$as_me: error: C compiler cannot create executables 2685a8fdb4bcSmrgSee \`config.log' for more details." >&2;} 2686a8fdb4bcSmrg { (exit 77); exit 77; }; } 2687a8fdb4bcSmrgfi 2688a8fdb4bcSmrg 2689a8fdb4bcSmrgac_exeext=$ac_cv_exeext 2690a8fdb4bcSmrg 2691a8fdb4bcSmrg# Check that the compiler produces executables we can run. If not, either 2692a8fdb4bcSmrg# the compiler is broken, or we cross compile. 2693a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2694a8fdb4bcSmrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2695a8fdb4bcSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2696a8fdb4bcSmrg# If not cross compiling, check that we can run a simple program. 2697a8fdb4bcSmrgif test "$cross_compiling" != yes; then 2698a8fdb4bcSmrg if { ac_try='./$ac_file' 2699a8fdb4bcSmrg { (case "(($ac_try" in 2700a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2701a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2702a8fdb4bcSmrgesac 2703a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2704a8fdb4bcSmrg (eval "$ac_try") 2>&5 2705a8fdb4bcSmrg ac_status=$? 2706a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2707a8fdb4bcSmrg (exit $ac_status); }; }; then 2708a8fdb4bcSmrg cross_compiling=no 2709a8fdb4bcSmrg else 2710a8fdb4bcSmrg if test "$cross_compiling" = maybe; then 2711a8fdb4bcSmrg cross_compiling=yes 2712a8fdb4bcSmrg else 2713a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2714a8fdb4bcSmrgIf you meant to cross compile, use \`--host'. 2715a8fdb4bcSmrgSee \`config.log' for more details." >&5 2716a8fdb4bcSmrgecho "$as_me: error: cannot run C compiled programs. 2717a8fdb4bcSmrgIf you meant to cross compile, use \`--host'. 2718a8fdb4bcSmrgSee \`config.log' for more details." >&2;} 2719a8fdb4bcSmrg { (exit 1); exit 1; }; } 2720a8fdb4bcSmrg fi 2721a8fdb4bcSmrg fi 2722a8fdb4bcSmrgfi 2723a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: yes" >&5 2724a8fdb4bcSmrgecho "${ECHO_T}yes" >&6; } 2725a8fdb4bcSmrg 2726a8fdb4bcSmrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 2727a8fdb4bcSmrgac_clean_files=$ac_clean_files_save 2728a8fdb4bcSmrg# Check that the compiler produces executables we can run. If not, either 2729a8fdb4bcSmrg# the compiler is broken, or we cross compile. 2730a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2731a8fdb4bcSmrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2732a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2733a8fdb4bcSmrgecho "${ECHO_T}$cross_compiling" >&6; } 2734a8fdb4bcSmrg 2735a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2736a8fdb4bcSmrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2737a8fdb4bcSmrgif { (ac_try="$ac_link" 2738a8fdb4bcSmrgcase "(($ac_try" in 2739a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2740a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2741a8fdb4bcSmrgesac 2742a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2743a8fdb4bcSmrg (eval "$ac_link") 2>&5 2744a8fdb4bcSmrg ac_status=$? 2745a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746a8fdb4bcSmrg (exit $ac_status); }; then 2747a8fdb4bcSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2748a8fdb4bcSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2749a8fdb4bcSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2750a8fdb4bcSmrg# `rm'. 2751a8fdb4bcSmrgfor ac_file in conftest.exe conftest conftest.*; do 2752a8fdb4bcSmrg test -f "$ac_file" || continue 2753a8fdb4bcSmrg case $ac_file in 2754a8fdb4bcSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2755a8fdb4bcSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2756a8fdb4bcSmrg break;; 2757a8fdb4bcSmrg * ) break;; 2758a8fdb4bcSmrg esac 2759a8fdb4bcSmrgdone 2760a8fdb4bcSmrgelse 2761a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2762a8fdb4bcSmrgSee \`config.log' for more details." >&5 2763a8fdb4bcSmrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 2764a8fdb4bcSmrgSee \`config.log' for more details." >&2;} 2765a8fdb4bcSmrg { (exit 1); exit 1; }; } 2766a8fdb4bcSmrgfi 2767a8fdb4bcSmrg 2768a8fdb4bcSmrgrm -f conftest$ac_cv_exeext 2769a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2770a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_exeext" >&6; } 2771a8fdb4bcSmrg 2772a8fdb4bcSmrgrm -f conftest.$ac_ext 2773a8fdb4bcSmrgEXEEXT=$ac_cv_exeext 2774a8fdb4bcSmrgac_exeext=$EXEEXT 2775a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2776a8fdb4bcSmrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2777a8fdb4bcSmrgif test "${ac_cv_objext+set}" = set; then 2778a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2779a8fdb4bcSmrgelse 2780a8fdb4bcSmrg cat >conftest.$ac_ext <<_ACEOF 2781a8fdb4bcSmrg/* confdefs.h. */ 2782a8fdb4bcSmrg_ACEOF 2783a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 2784a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 2785a8fdb4bcSmrg/* end confdefs.h. */ 2786a8fdb4bcSmrg 2787a8fdb4bcSmrgint 2788a8fdb4bcSmrgmain () 2789a8fdb4bcSmrg{ 2790a8fdb4bcSmrg 2791a8fdb4bcSmrg ; 2792a8fdb4bcSmrg return 0; 2793a8fdb4bcSmrg} 2794a8fdb4bcSmrg_ACEOF 2795a8fdb4bcSmrgrm -f conftest.o conftest.obj 2796a8fdb4bcSmrgif { (ac_try="$ac_compile" 2797a8fdb4bcSmrgcase "(($ac_try" in 2798a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2799a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2800a8fdb4bcSmrgesac 2801a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2802a8fdb4bcSmrg (eval "$ac_compile") 2>&5 2803a8fdb4bcSmrg ac_status=$? 2804a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2805a8fdb4bcSmrg (exit $ac_status); }; then 2806a8fdb4bcSmrg for ac_file in conftest.o conftest.obj conftest.*; do 2807a8fdb4bcSmrg test -f "$ac_file" || continue; 2808a8fdb4bcSmrg case $ac_file in 2809a8fdb4bcSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2810a8fdb4bcSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2811a8fdb4bcSmrg break;; 2812a8fdb4bcSmrg esac 2813a8fdb4bcSmrgdone 2814a8fdb4bcSmrgelse 2815a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 2816a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 2817a8fdb4bcSmrg 2818a8fdb4bcSmrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2819a8fdb4bcSmrgSee \`config.log' for more details." >&5 2820a8fdb4bcSmrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 2821a8fdb4bcSmrgSee \`config.log' for more details." >&2;} 2822a8fdb4bcSmrg { (exit 1); exit 1; }; } 2823a8fdb4bcSmrgfi 2824a8fdb4bcSmrg 2825a8fdb4bcSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 2826a8fdb4bcSmrgfi 2827a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2828a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_objext" >&6; } 2829a8fdb4bcSmrgOBJEXT=$ac_cv_objext 2830a8fdb4bcSmrgac_objext=$OBJEXT 2831a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2832a8fdb4bcSmrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2833a8fdb4bcSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 2834a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2835a8fdb4bcSmrgelse 2836a8fdb4bcSmrg cat >conftest.$ac_ext <<_ACEOF 2837a8fdb4bcSmrg/* confdefs.h. */ 2838a8fdb4bcSmrg_ACEOF 2839a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 2840a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 2841a8fdb4bcSmrg/* end confdefs.h. */ 2842a8fdb4bcSmrg 2843a8fdb4bcSmrgint 2844a8fdb4bcSmrgmain () 2845a8fdb4bcSmrg{ 2846a8fdb4bcSmrg#ifndef __GNUC__ 2847a8fdb4bcSmrg choke me 2848a8fdb4bcSmrg#endif 2849a8fdb4bcSmrg 2850a8fdb4bcSmrg ; 2851a8fdb4bcSmrg return 0; 2852a8fdb4bcSmrg} 2853a8fdb4bcSmrg_ACEOF 2854a8fdb4bcSmrgrm -f conftest.$ac_objext 2855a8fdb4bcSmrgif { (ac_try="$ac_compile" 2856a8fdb4bcSmrgcase "(($ac_try" in 2857a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2858a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2859a8fdb4bcSmrgesac 2860a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2861a8fdb4bcSmrg (eval "$ac_compile") 2>conftest.er1 2862a8fdb4bcSmrg ac_status=$? 2863a8fdb4bcSmrg grep -v '^ *+' conftest.er1 >conftest.err 2864a8fdb4bcSmrg rm -f conftest.er1 2865a8fdb4bcSmrg cat conftest.err >&5 2866a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2867a8fdb4bcSmrg (exit $ac_status); } && { 2868a8fdb4bcSmrg test -z "$ac_c_werror_flag" || 2869a8fdb4bcSmrg test ! -s conftest.err 2870a8fdb4bcSmrg } && test -s conftest.$ac_objext; then 2871a8fdb4bcSmrg ac_compiler_gnu=yes 2872a8fdb4bcSmrgelse 2873a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 2874a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 2875a8fdb4bcSmrg 2876a8fdb4bcSmrg ac_compiler_gnu=no 2877a8fdb4bcSmrgfi 2878a8fdb4bcSmrg 2879a8fdb4bcSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2880a8fdb4bcSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 2881a8fdb4bcSmrg 2882a8fdb4bcSmrgfi 2883a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2884a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2885a8fdb4bcSmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 2886a8fdb4bcSmrgac_test_CFLAGS=${CFLAGS+set} 2887a8fdb4bcSmrgac_save_CFLAGS=$CFLAGS 2888a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2889a8fdb4bcSmrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2890a8fdb4bcSmrgif test "${ac_cv_prog_cc_g+set}" = set; then 2891a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2892a8fdb4bcSmrgelse 2893a8fdb4bcSmrg ac_save_c_werror_flag=$ac_c_werror_flag 2894a8fdb4bcSmrg ac_c_werror_flag=yes 2895a8fdb4bcSmrg ac_cv_prog_cc_g=no 2896a8fdb4bcSmrg CFLAGS="-g" 2897a8fdb4bcSmrg cat >conftest.$ac_ext <<_ACEOF 2898a8fdb4bcSmrg/* confdefs.h. */ 2899a8fdb4bcSmrg_ACEOF 2900a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 2901a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 2902a8fdb4bcSmrg/* end confdefs.h. */ 2903a8fdb4bcSmrg 2904a8fdb4bcSmrgint 2905a8fdb4bcSmrgmain () 2906a8fdb4bcSmrg{ 2907a8fdb4bcSmrg 2908a8fdb4bcSmrg ; 2909a8fdb4bcSmrg return 0; 2910a8fdb4bcSmrg} 2911a8fdb4bcSmrg_ACEOF 2912a8fdb4bcSmrgrm -f conftest.$ac_objext 2913a8fdb4bcSmrgif { (ac_try="$ac_compile" 2914a8fdb4bcSmrgcase "(($ac_try" in 2915a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2916a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2917a8fdb4bcSmrgesac 2918a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2919a8fdb4bcSmrg (eval "$ac_compile") 2>conftest.er1 2920a8fdb4bcSmrg ac_status=$? 2921a8fdb4bcSmrg grep -v '^ *+' conftest.er1 >conftest.err 2922a8fdb4bcSmrg rm -f conftest.er1 2923a8fdb4bcSmrg cat conftest.err >&5 2924a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2925a8fdb4bcSmrg (exit $ac_status); } && { 2926a8fdb4bcSmrg test -z "$ac_c_werror_flag" || 2927a8fdb4bcSmrg test ! -s conftest.err 2928a8fdb4bcSmrg } && test -s conftest.$ac_objext; then 2929a8fdb4bcSmrg ac_cv_prog_cc_g=yes 2930a8fdb4bcSmrgelse 2931a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 2932a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 2933a8fdb4bcSmrg 2934a8fdb4bcSmrg CFLAGS="" 2935a8fdb4bcSmrg cat >conftest.$ac_ext <<_ACEOF 2936a8fdb4bcSmrg/* confdefs.h. */ 2937a8fdb4bcSmrg_ACEOF 2938a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 2939a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 2940a8fdb4bcSmrg/* end confdefs.h. */ 2941a8fdb4bcSmrg 2942a8fdb4bcSmrgint 2943a8fdb4bcSmrgmain () 2944a8fdb4bcSmrg{ 2945a8fdb4bcSmrg 2946a8fdb4bcSmrg ; 2947a8fdb4bcSmrg return 0; 2948a8fdb4bcSmrg} 2949a8fdb4bcSmrg_ACEOF 2950a8fdb4bcSmrgrm -f conftest.$ac_objext 2951a8fdb4bcSmrgif { (ac_try="$ac_compile" 2952a8fdb4bcSmrgcase "(($ac_try" in 2953a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2954a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2955a8fdb4bcSmrgesac 2956a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2957a8fdb4bcSmrg (eval "$ac_compile") 2>conftest.er1 2958a8fdb4bcSmrg ac_status=$? 2959a8fdb4bcSmrg grep -v '^ *+' conftest.er1 >conftest.err 2960a8fdb4bcSmrg rm -f conftest.er1 2961a8fdb4bcSmrg cat conftest.err >&5 2962a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2963a8fdb4bcSmrg (exit $ac_status); } && { 2964a8fdb4bcSmrg test -z "$ac_c_werror_flag" || 2965a8fdb4bcSmrg test ! -s conftest.err 2966a8fdb4bcSmrg } && test -s conftest.$ac_objext; then 2967a8fdb4bcSmrg : 2968a8fdb4bcSmrgelse 2969a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 2970a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 2971a8fdb4bcSmrg 2972a8fdb4bcSmrg ac_c_werror_flag=$ac_save_c_werror_flag 2973a8fdb4bcSmrg CFLAGS="-g" 2974a8fdb4bcSmrg cat >conftest.$ac_ext <<_ACEOF 2975a8fdb4bcSmrg/* confdefs.h. */ 2976a8fdb4bcSmrg_ACEOF 2977a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 2978a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 2979a8fdb4bcSmrg/* end confdefs.h. */ 2980a8fdb4bcSmrg 2981a8fdb4bcSmrgint 2982a8fdb4bcSmrgmain () 2983a8fdb4bcSmrg{ 2984a8fdb4bcSmrg 2985a8fdb4bcSmrg ; 2986a8fdb4bcSmrg return 0; 2987a8fdb4bcSmrg} 2988a8fdb4bcSmrg_ACEOF 2989a8fdb4bcSmrgrm -f conftest.$ac_objext 2990a8fdb4bcSmrgif { (ac_try="$ac_compile" 2991a8fdb4bcSmrgcase "(($ac_try" in 2992a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2993a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 2994a8fdb4bcSmrgesac 2995a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2996a8fdb4bcSmrg (eval "$ac_compile") 2>conftest.er1 2997a8fdb4bcSmrg ac_status=$? 2998a8fdb4bcSmrg grep -v '^ *+' conftest.er1 >conftest.err 2999a8fdb4bcSmrg rm -f conftest.er1 3000a8fdb4bcSmrg cat conftest.err >&5 3001a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3002a8fdb4bcSmrg (exit $ac_status); } && { 3003a8fdb4bcSmrg test -z "$ac_c_werror_flag" || 3004a8fdb4bcSmrg test ! -s conftest.err 3005a8fdb4bcSmrg } && test -s conftest.$ac_objext; then 3006a8fdb4bcSmrg ac_cv_prog_cc_g=yes 3007a8fdb4bcSmrgelse 3008a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 3009a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 3010a8fdb4bcSmrg 3011a8fdb4bcSmrg 3012a8fdb4bcSmrgfi 3013a8fdb4bcSmrg 3014a8fdb4bcSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3015a8fdb4bcSmrgfi 3016a8fdb4bcSmrg 3017a8fdb4bcSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3018a8fdb4bcSmrgfi 3019a8fdb4bcSmrg 3020a8fdb4bcSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3021a8fdb4bcSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3022a8fdb4bcSmrgfi 3023a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3024a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3025a8fdb4bcSmrgif test "$ac_test_CFLAGS" = set; then 3026a8fdb4bcSmrg CFLAGS=$ac_save_CFLAGS 3027a8fdb4bcSmrgelif test $ac_cv_prog_cc_g = yes; then 3028a8fdb4bcSmrg if test "$GCC" = yes; then 3029a8fdb4bcSmrg CFLAGS="-g -O2" 3030a8fdb4bcSmrg else 3031a8fdb4bcSmrg CFLAGS="-g" 3032a8fdb4bcSmrg fi 3033a8fdb4bcSmrgelse 3034a8fdb4bcSmrg if test "$GCC" = yes; then 3035a8fdb4bcSmrg CFLAGS="-O2" 3036a8fdb4bcSmrg else 3037a8fdb4bcSmrg CFLAGS= 3038a8fdb4bcSmrg fi 3039a8fdb4bcSmrgfi 3040a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3041a8fdb4bcSmrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3042a8fdb4bcSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then 3043a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3044a8fdb4bcSmrgelse 3045a8fdb4bcSmrg ac_cv_prog_cc_c89=no 3046a8fdb4bcSmrgac_save_CC=$CC 3047a8fdb4bcSmrgcat >conftest.$ac_ext <<_ACEOF 3048a8fdb4bcSmrg/* confdefs.h. */ 3049a8fdb4bcSmrg_ACEOF 3050a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 3051a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 3052a8fdb4bcSmrg/* end confdefs.h. */ 3053a8fdb4bcSmrg#include <stdarg.h> 3054a8fdb4bcSmrg#include <stdio.h> 3055a8fdb4bcSmrg#include <sys/types.h> 3056a8fdb4bcSmrg#include <sys/stat.h> 3057a8fdb4bcSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3058a8fdb4bcSmrgstruct buf { int x; }; 3059a8fdb4bcSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3060a8fdb4bcSmrgstatic char *e (p, i) 3061a8fdb4bcSmrg char **p; 3062a8fdb4bcSmrg int i; 3063a8fdb4bcSmrg{ 3064a8fdb4bcSmrg return p[i]; 3065a8fdb4bcSmrg} 3066a8fdb4bcSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3067a8fdb4bcSmrg{ 3068a8fdb4bcSmrg char *s; 3069a8fdb4bcSmrg va_list v; 3070a8fdb4bcSmrg va_start (v,p); 3071a8fdb4bcSmrg s = g (p, va_arg (v,int)); 3072a8fdb4bcSmrg va_end (v); 3073a8fdb4bcSmrg return s; 3074a8fdb4bcSmrg} 3075a8fdb4bcSmrg 3076a8fdb4bcSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3077a8fdb4bcSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3078a8fdb4bcSmrg These don't provoke an error unfortunately, instead are silently treated 3079a8fdb4bcSmrg as 'x'. The following induces an error, until -std is added to get 3080a8fdb4bcSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3081a8fdb4bcSmrg array size at least. It's necessary to write '\x00'==0 to get something 3082a8fdb4bcSmrg that's true only with -std. */ 3083a8fdb4bcSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3084a8fdb4bcSmrg 3085a8fdb4bcSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3086a8fdb4bcSmrg inside strings and character constants. */ 3087a8fdb4bcSmrg#define FOO(x) 'x' 3088a8fdb4bcSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3089a8fdb4bcSmrg 3090a8fdb4bcSmrgint test (int i, double x); 3091a8fdb4bcSmrgstruct s1 {int (*f) (int a);}; 3092a8fdb4bcSmrgstruct s2 {int (*f) (double a);}; 3093a8fdb4bcSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3094a8fdb4bcSmrgint argc; 3095a8fdb4bcSmrgchar **argv; 3096a8fdb4bcSmrgint 3097a8fdb4bcSmrgmain () 3098a8fdb4bcSmrg{ 3099a8fdb4bcSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3100a8fdb4bcSmrg ; 3101a8fdb4bcSmrg return 0; 3102a8fdb4bcSmrg} 3103a8fdb4bcSmrg_ACEOF 3104a8fdb4bcSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3105a8fdb4bcSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3106a8fdb4bcSmrgdo 3107a8fdb4bcSmrg CC="$ac_save_CC $ac_arg" 3108a8fdb4bcSmrg rm -f conftest.$ac_objext 3109a8fdb4bcSmrgif { (ac_try="$ac_compile" 3110a8fdb4bcSmrgcase "(($ac_try" in 3111a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3112a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 3113a8fdb4bcSmrgesac 3114a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3115a8fdb4bcSmrg (eval "$ac_compile") 2>conftest.er1 3116a8fdb4bcSmrg ac_status=$? 3117a8fdb4bcSmrg grep -v '^ *+' conftest.er1 >conftest.err 3118a8fdb4bcSmrg rm -f conftest.er1 3119a8fdb4bcSmrg cat conftest.err >&5 3120a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3121a8fdb4bcSmrg (exit $ac_status); } && { 3122a8fdb4bcSmrg test -z "$ac_c_werror_flag" || 3123a8fdb4bcSmrg test ! -s conftest.err 3124a8fdb4bcSmrg } && test -s conftest.$ac_objext; then 3125a8fdb4bcSmrg ac_cv_prog_cc_c89=$ac_arg 3126a8fdb4bcSmrgelse 3127a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 3128a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 3129a8fdb4bcSmrg 3130a8fdb4bcSmrg 3131a8fdb4bcSmrgfi 3132a8fdb4bcSmrg 3133a8fdb4bcSmrgrm -f core conftest.err conftest.$ac_objext 3134a8fdb4bcSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3135a8fdb4bcSmrgdone 3136a8fdb4bcSmrgrm -f conftest.$ac_ext 3137a8fdb4bcSmrgCC=$ac_save_CC 3138a8fdb4bcSmrg 3139a8fdb4bcSmrgfi 3140a8fdb4bcSmrg# AC_CACHE_VAL 3141a8fdb4bcSmrgcase "x$ac_cv_prog_cc_c89" in 3142a8fdb4bcSmrg x) 3143a8fdb4bcSmrg { echo "$as_me:$LINENO: result: none needed" >&5 3144a8fdb4bcSmrgecho "${ECHO_T}none needed" >&6; } ;; 3145a8fdb4bcSmrg xno) 3146a8fdb4bcSmrg { echo "$as_me:$LINENO: result: unsupported" >&5 3147a8fdb4bcSmrgecho "${ECHO_T}unsupported" >&6; } ;; 3148a8fdb4bcSmrg *) 3149a8fdb4bcSmrg CC="$CC $ac_cv_prog_cc_c89" 3150a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3151a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3152a8fdb4bcSmrgesac 3153a8fdb4bcSmrg 3154a8fdb4bcSmrg 3155a8fdb4bcSmrgac_ext=c 3156a8fdb4bcSmrgac_cpp='$CPP $CPPFLAGS' 3157a8fdb4bcSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3158a8fdb4bcSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3159a8fdb4bcSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3160a8fdb4bcSmrgDEPDIR="${am__leading_dot}deps" 3161a8fdb4bcSmrg 3162a8fdb4bcSmrgac_config_commands="$ac_config_commands depfiles" 3163a8fdb4bcSmrg 3164a8fdb4bcSmrg 3165a8fdb4bcSmrgam_make=${MAKE-make} 3166a8fdb4bcSmrgcat > confinc << 'END' 3167a8fdb4bcSmrgam__doit: 3168a8fdb4bcSmrg @echo done 3169a8fdb4bcSmrg.PHONY: am__doit 3170a8fdb4bcSmrgEND 3171a8fdb4bcSmrg# If we don't find an include directive, just comment out the code. 3172a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3173a8fdb4bcSmrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3174a8fdb4bcSmrgam__include="#" 3175a8fdb4bcSmrgam__quote= 3176a8fdb4bcSmrg_am_result=none 3177a8fdb4bcSmrg# First try GNU make style include. 3178a8fdb4bcSmrgecho "include confinc" > confmf 3179a8fdb4bcSmrg# We grep out `Entering directory' and `Leaving directory' 3180a8fdb4bcSmrg# messages which can occur if `w' ends up in MAKEFLAGS. 3181a8fdb4bcSmrg# In particular we don't look at `^make:' because GNU make might 3182a8fdb4bcSmrg# be invoked under some other name (usually "gmake"), in which 3183a8fdb4bcSmrg# case it prints its new name instead of `make'. 3184a8fdb4bcSmrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3185a8fdb4bcSmrg am__include=include 3186a8fdb4bcSmrg am__quote= 3187a8fdb4bcSmrg _am_result=GNU 3188a8fdb4bcSmrgfi 3189a8fdb4bcSmrg# Now try BSD make style include. 3190a8fdb4bcSmrgif test "$am__include" = "#"; then 3191a8fdb4bcSmrg echo '.include "confinc"' > confmf 3192a8fdb4bcSmrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3193a8fdb4bcSmrg am__include=.include 3194a8fdb4bcSmrg am__quote="\"" 3195a8fdb4bcSmrg _am_result=BSD 3196a8fdb4bcSmrg fi 3197a8fdb4bcSmrgfi 3198a8fdb4bcSmrg 3199a8fdb4bcSmrg 3200a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $_am_result" >&5 3201a8fdb4bcSmrgecho "${ECHO_T}$_am_result" >&6; } 3202a8fdb4bcSmrgrm -f confinc confmf 3203a8fdb4bcSmrg 3204a8fdb4bcSmrg# Check whether --enable-dependency-tracking was given. 3205a8fdb4bcSmrgif test "${enable_dependency_tracking+set}" = set; then 3206a8fdb4bcSmrg enableval=$enable_dependency_tracking; 3207a8fdb4bcSmrgfi 3208a8fdb4bcSmrg 3209a8fdb4bcSmrgif test "x$enable_dependency_tracking" != xno; then 3210a8fdb4bcSmrg am_depcomp="$ac_aux_dir/depcomp" 3211a8fdb4bcSmrg AMDEPBACKSLASH='\' 3212a8fdb4bcSmrgfi 3213a8fdb4bcSmrg if test "x$enable_dependency_tracking" != xno; then 3214a8fdb4bcSmrg AMDEP_TRUE= 3215a8fdb4bcSmrg AMDEP_FALSE='#' 3216a8fdb4bcSmrgelse 3217a8fdb4bcSmrg AMDEP_TRUE='#' 3218a8fdb4bcSmrg AMDEP_FALSE= 3219a8fdb4bcSmrgfi 3220a8fdb4bcSmrg 3221a8fdb4bcSmrg 3222a8fdb4bcSmrg 3223a8fdb4bcSmrgdepcc="$CC" am_compiler_list= 3224a8fdb4bcSmrg 3225a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3226a8fdb4bcSmrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3227a8fdb4bcSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3228a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3229a8fdb4bcSmrgelse 3230a8fdb4bcSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3231a8fdb4bcSmrg # We make a subdir and do the tests there. Otherwise we can end up 3232a8fdb4bcSmrg # making bogus files that we don't know about and never remove. For 3233a8fdb4bcSmrg # instance it was reported that on HP-UX the gcc test will end up 3234a8fdb4bcSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3235a8fdb4bcSmrg # in D'. 3236a8fdb4bcSmrg mkdir conftest.dir 3237a8fdb4bcSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3238a8fdb4bcSmrg # using a relative directory. 3239a8fdb4bcSmrg cp "$am_depcomp" conftest.dir 3240a8fdb4bcSmrg cd conftest.dir 3241a8fdb4bcSmrg # We will build objects and dependencies in a subdirectory because 3242a8fdb4bcSmrg # it helps to detect inapplicable dependency modes. For instance 3243a8fdb4bcSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3244a8fdb4bcSmrg # side effect of compilation, but ICC will put the dependencies in 3245a8fdb4bcSmrg # the current directory while Tru64 will put them in the object 3246a8fdb4bcSmrg # directory. 3247a8fdb4bcSmrg mkdir sub 3248a8fdb4bcSmrg 3249a8fdb4bcSmrg am_cv_CC_dependencies_compiler_type=none 3250a8fdb4bcSmrg if test "$am_compiler_list" = ""; then 3251a8fdb4bcSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3252a8fdb4bcSmrg fi 3253a8fdb4bcSmrg for depmode in $am_compiler_list; do 3254a8fdb4bcSmrg # Setup a source with many dependencies, because some compilers 3255a8fdb4bcSmrg # like to wrap large dependency lists on column 80 (with \), and 3256a8fdb4bcSmrg # we should not choose a depcomp mode which is confused by this. 3257a8fdb4bcSmrg # 3258a8fdb4bcSmrg # We need to recreate these files for each test, as the compiler may 3259a8fdb4bcSmrg # overwrite some of them when testing with obscure command lines. 3260a8fdb4bcSmrg # This happens at least with the AIX C compiler. 3261a8fdb4bcSmrg : > sub/conftest.c 3262a8fdb4bcSmrg for i in 1 2 3 4 5 6; do 3263a8fdb4bcSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3264a8fdb4bcSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3265a8fdb4bcSmrg # Solaris 8's {/usr,}/bin/sh. 3266a8fdb4bcSmrg touch sub/conftst$i.h 3267a8fdb4bcSmrg done 3268a8fdb4bcSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3269a8fdb4bcSmrg 3270a8fdb4bcSmrg case $depmode in 3271a8fdb4bcSmrg nosideeffect) 3272a8fdb4bcSmrg # after this tag, mechanisms are not by side-effect, so they'll 3273a8fdb4bcSmrg # only be used when explicitly requested 3274a8fdb4bcSmrg if test "x$enable_dependency_tracking" = xyes; then 3275a8fdb4bcSmrg continue 3276a8fdb4bcSmrg else 3277a8fdb4bcSmrg break 3278a8fdb4bcSmrg fi 3279a8fdb4bcSmrg ;; 3280a8fdb4bcSmrg none) break ;; 3281a8fdb4bcSmrg esac 3282a8fdb4bcSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3283a8fdb4bcSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3284a8fdb4bcSmrg # handle `-M -o', and we need to detect this. 3285a8fdb4bcSmrg if depmode=$depmode \ 3286a8fdb4bcSmrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3287a8fdb4bcSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3288a8fdb4bcSmrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3289a8fdb4bcSmrg >/dev/null 2>conftest.err && 3290a8fdb4bcSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3291a8fdb4bcSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3292a8fdb4bcSmrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3293a8fdb4bcSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3294a8fdb4bcSmrg # icc doesn't choke on unknown options, it will just issue warnings 3295a8fdb4bcSmrg # or remarks (even with -Werror). So we grep stderr for any message 3296a8fdb4bcSmrg # that says an option was ignored or not supported. 3297a8fdb4bcSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3298a8fdb4bcSmrg # icc: Command line warning: ignoring option '-M'; no argument required 3299a8fdb4bcSmrg # The diagnosis changed in icc 8.0: 3300a8fdb4bcSmrg # icc: Command line remark: option '-MP' not supported 3301a8fdb4bcSmrg if (grep 'ignoring option' conftest.err || 3302a8fdb4bcSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3303a8fdb4bcSmrg am_cv_CC_dependencies_compiler_type=$depmode 3304a8fdb4bcSmrg break 3305a8fdb4bcSmrg fi 3306a8fdb4bcSmrg fi 3307a8fdb4bcSmrg done 3308a8fdb4bcSmrg 3309a8fdb4bcSmrg cd .. 3310a8fdb4bcSmrg rm -rf conftest.dir 3311a8fdb4bcSmrgelse 3312a8fdb4bcSmrg am_cv_CC_dependencies_compiler_type=none 3313a8fdb4bcSmrgfi 3314a8fdb4bcSmrg 3315a8fdb4bcSmrgfi 3316a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3317a8fdb4bcSmrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3318a8fdb4bcSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3319a8fdb4bcSmrg 3320a8fdb4bcSmrg if 3321a8fdb4bcSmrg test "x$enable_dependency_tracking" != xno \ 3322a8fdb4bcSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3323a8fdb4bcSmrg am__fastdepCC_TRUE= 3324a8fdb4bcSmrg am__fastdepCC_FALSE='#' 3325a8fdb4bcSmrgelse 3326a8fdb4bcSmrg am__fastdepCC_TRUE='#' 3327a8fdb4bcSmrg am__fastdepCC_FALSE= 3328a8fdb4bcSmrgfi 3329a8fdb4bcSmrg 3330a8fdb4bcSmrg 3331a8fdb4bcSmrg# Find a good install program. We prefer a C program (faster), 3332a8fdb4bcSmrg# so one script is as good as another. But avoid the broken or 3333a8fdb4bcSmrg# incompatible versions: 3334a8fdb4bcSmrg# SysV /etc/install, /usr/sbin/install 3335a8fdb4bcSmrg# SunOS /usr/etc/install 3336a8fdb4bcSmrg# IRIX /sbin/install 3337a8fdb4bcSmrg# AIX /bin/install 3338a8fdb4bcSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 3339a8fdb4bcSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3340a8fdb4bcSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3341a8fdb4bcSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3342a8fdb4bcSmrg# OS/2's system install, which has a completely different semantic 3343a8fdb4bcSmrg# ./install, which can be erroneously created by make from ./install.sh. 3344a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3345a8fdb4bcSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3346a8fdb4bcSmrgif test -z "$INSTALL"; then 3347a8fdb4bcSmrgif test "${ac_cv_path_install+set}" = set; then 3348a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3349a8fdb4bcSmrgelse 3350a8fdb4bcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3351a8fdb4bcSmrgfor as_dir in $PATH 3352a8fdb4bcSmrgdo 3353a8fdb4bcSmrg IFS=$as_save_IFS 3354a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 3355a8fdb4bcSmrg # Account for people who put trailing slashes in PATH elements. 3356a8fdb4bcSmrgcase $as_dir/ in 3357a8fdb4bcSmrg ./ | .// | /cC/* | \ 3358a8fdb4bcSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3359a8fdb4bcSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3360a8fdb4bcSmrg /usr/ucb/* ) ;; 3361a8fdb4bcSmrg *) 3362a8fdb4bcSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 3363a8fdb4bcSmrg # Don't use installbsd from OSF since it installs stuff as root 3364a8fdb4bcSmrg # by default. 3365a8fdb4bcSmrg for ac_prog in ginstall scoinst install; do 3366a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3367a8fdb4bcSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3368a8fdb4bcSmrg if test $ac_prog = install && 3369a8fdb4bcSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3370a8fdb4bcSmrg # AIX install. It has an incompatible calling convention. 3371a8fdb4bcSmrg : 3372a8fdb4bcSmrg elif test $ac_prog = install && 3373a8fdb4bcSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3374a8fdb4bcSmrg # program-specific install script used by HP pwplus--don't use. 3375a8fdb4bcSmrg : 3376a8fdb4bcSmrg else 3377a8fdb4bcSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3378a8fdb4bcSmrg break 3 3379a8fdb4bcSmrg fi 3380a8fdb4bcSmrg fi 3381a8fdb4bcSmrg done 3382a8fdb4bcSmrg done 3383a8fdb4bcSmrg ;; 3384a8fdb4bcSmrgesac 3385a8fdb4bcSmrgdone 3386a8fdb4bcSmrgIFS=$as_save_IFS 3387a8fdb4bcSmrg 3388a8fdb4bcSmrg 3389a8fdb4bcSmrgfi 3390a8fdb4bcSmrg if test "${ac_cv_path_install+set}" = set; then 3391a8fdb4bcSmrg INSTALL=$ac_cv_path_install 3392a8fdb4bcSmrg else 3393a8fdb4bcSmrg # As a last resort, use the slow shell script. Don't cache a 3394a8fdb4bcSmrg # value for INSTALL within a source directory, because that will 3395a8fdb4bcSmrg # break other packages using the cache if that directory is 3396a8fdb4bcSmrg # removed, or if the value is a relative name. 3397a8fdb4bcSmrg INSTALL=$ac_install_sh 3398a8fdb4bcSmrg fi 3399a8fdb4bcSmrgfi 3400a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3401a8fdb4bcSmrgecho "${ECHO_T}$INSTALL" >&6; } 3402a8fdb4bcSmrg 3403a8fdb4bcSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3404a8fdb4bcSmrg# It thinks the first close brace ends the variable substitution. 3405a8fdb4bcSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3406a8fdb4bcSmrg 3407a8fdb4bcSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3408a8fdb4bcSmrg 3409a8fdb4bcSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3410a8fdb4bcSmrg 3411a8fdb4bcSmrg# Make sure we can run config.sub. 3412a8fdb4bcSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3413a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3414a8fdb4bcSmrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3415a8fdb4bcSmrg { (exit 1); exit 1; }; } 3416a8fdb4bcSmrg 3417a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking build system type" >&5 3418a8fdb4bcSmrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; } 3419a8fdb4bcSmrgif test "${ac_cv_build+set}" = set; then 3420a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3421a8fdb4bcSmrgelse 3422a8fdb4bcSmrg ac_build_alias=$build_alias 3423a8fdb4bcSmrgtest "x$ac_build_alias" = x && 3424a8fdb4bcSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3425a8fdb4bcSmrgtest "x$ac_build_alias" = x && 3426a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3427a8fdb4bcSmrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 3428a8fdb4bcSmrg { (exit 1); exit 1; }; } 3429a8fdb4bcSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3430a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3431a8fdb4bcSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 3432a8fdb4bcSmrg { (exit 1); exit 1; }; } 3433a8fdb4bcSmrg 3434a8fdb4bcSmrgfi 3435a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3436a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_build" >&6; } 3437a8fdb4bcSmrgcase $ac_cv_build in 3438a8fdb4bcSmrg*-*-*) ;; 3439a8fdb4bcSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3440a8fdb4bcSmrgecho "$as_me: error: invalid value of canonical build" >&2;} 3441a8fdb4bcSmrg { (exit 1); exit 1; }; };; 3442a8fdb4bcSmrgesac 3443a8fdb4bcSmrgbuild=$ac_cv_build 3444a8fdb4bcSmrgac_save_IFS=$IFS; IFS='-' 3445a8fdb4bcSmrgset x $ac_cv_build 3446a8fdb4bcSmrgshift 3447a8fdb4bcSmrgbuild_cpu=$1 3448a8fdb4bcSmrgbuild_vendor=$2 3449a8fdb4bcSmrgshift; shift 3450a8fdb4bcSmrg# Remember, the first character of IFS is used to create $*, 3451a8fdb4bcSmrg# except with old shells: 3452a8fdb4bcSmrgbuild_os=$* 3453a8fdb4bcSmrgIFS=$ac_save_IFS 3454a8fdb4bcSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3455a8fdb4bcSmrg 3456a8fdb4bcSmrg 3457a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking host system type" >&5 3458a8fdb4bcSmrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; } 3459a8fdb4bcSmrgif test "${ac_cv_host+set}" = set; then 3460a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3461a8fdb4bcSmrgelse 3462a8fdb4bcSmrg if test "x$host_alias" = x; then 3463a8fdb4bcSmrg ac_cv_host=$ac_cv_build 3464a8fdb4bcSmrgelse 3465a8fdb4bcSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3466a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3467a8fdb4bcSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 3468a8fdb4bcSmrg { (exit 1); exit 1; }; } 3469a8fdb4bcSmrgfi 3470a8fdb4bcSmrg 3471a8fdb4bcSmrgfi 3472a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3473a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_host" >&6; } 3474a8fdb4bcSmrgcase $ac_cv_host in 3475a8fdb4bcSmrg*-*-*) ;; 3476a8fdb4bcSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3477a8fdb4bcSmrgecho "$as_me: error: invalid value of canonical host" >&2;} 3478a8fdb4bcSmrg { (exit 1); exit 1; }; };; 3479a8fdb4bcSmrgesac 3480a8fdb4bcSmrghost=$ac_cv_host 3481a8fdb4bcSmrgac_save_IFS=$IFS; IFS='-' 3482a8fdb4bcSmrgset x $ac_cv_host 3483a8fdb4bcSmrgshift 3484a8fdb4bcSmrghost_cpu=$1 3485a8fdb4bcSmrghost_vendor=$2 3486a8fdb4bcSmrgshift; shift 3487a8fdb4bcSmrg# Remember, the first character of IFS is used to create $*, 3488a8fdb4bcSmrg# except with old shells: 3489a8fdb4bcSmrghost_os=$* 3490a8fdb4bcSmrgIFS=$ac_save_IFS 3491a8fdb4bcSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3492a8fdb4bcSmrg 3493a8fdb4bcSmrg 3494a8fdb4bcSmrg 3495a8fdb4bcSmrg 3496a8fdb4bcSmrg 3497a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for gzopen in -lz" >&5 3498a8fdb4bcSmrgecho $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6; } 3499a8fdb4bcSmrgif test "${ac_cv_lib_z_gzopen+set}" = set; then 3500a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3501a8fdb4bcSmrgelse 3502a8fdb4bcSmrg ac_check_lib_save_LIBS=$LIBS 3503a8fdb4bcSmrgLIBS="-lz $LIBS" 3504a8fdb4bcSmrgcat >conftest.$ac_ext <<_ACEOF 3505a8fdb4bcSmrg/* confdefs.h. */ 3506a8fdb4bcSmrg_ACEOF 3507a8fdb4bcSmrgcat confdefs.h >>conftest.$ac_ext 3508a8fdb4bcSmrgcat >>conftest.$ac_ext <<_ACEOF 3509a8fdb4bcSmrg/* end confdefs.h. */ 3510a8fdb4bcSmrg 3511a8fdb4bcSmrg/* Override any GCC internal prototype to avoid an error. 3512a8fdb4bcSmrg Use char because int might match the return type of a GCC 3513a8fdb4bcSmrg builtin and then its argument prototype would still apply. */ 3514a8fdb4bcSmrg#ifdef __cplusplus 3515a8fdb4bcSmrgextern "C" 3516a8fdb4bcSmrg#endif 3517a8fdb4bcSmrgchar gzopen (); 3518a8fdb4bcSmrgint 3519a8fdb4bcSmrgmain () 3520a8fdb4bcSmrg{ 3521a8fdb4bcSmrgreturn gzopen (); 3522a8fdb4bcSmrg ; 3523a8fdb4bcSmrg return 0; 3524a8fdb4bcSmrg} 3525a8fdb4bcSmrg_ACEOF 3526a8fdb4bcSmrgrm -f conftest.$ac_objext conftest$ac_exeext 3527a8fdb4bcSmrgif { (ac_try="$ac_link" 3528a8fdb4bcSmrgcase "(($ac_try" in 3529a8fdb4bcSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3530a8fdb4bcSmrg *) ac_try_echo=$ac_try;; 3531a8fdb4bcSmrgesac 3532a8fdb4bcSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3533a8fdb4bcSmrg (eval "$ac_link") 2>conftest.er1 3534a8fdb4bcSmrg ac_status=$? 3535a8fdb4bcSmrg grep -v '^ *+' conftest.er1 >conftest.err 3536a8fdb4bcSmrg rm -f conftest.er1 3537a8fdb4bcSmrg cat conftest.err >&5 3538a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3539a8fdb4bcSmrg (exit $ac_status); } && { 3540a8fdb4bcSmrg test -z "$ac_c_werror_flag" || 3541a8fdb4bcSmrg test ! -s conftest.err 3542a8fdb4bcSmrg } && test -s conftest$ac_exeext && 3543a8fdb4bcSmrg $as_test_x conftest$ac_exeext; then 3544a8fdb4bcSmrg ac_cv_lib_z_gzopen=yes 3545a8fdb4bcSmrgelse 3546a8fdb4bcSmrg echo "$as_me: failed program was:" >&5 3547a8fdb4bcSmrgsed 's/^/| /' conftest.$ac_ext >&5 3548a8fdb4bcSmrg 3549a8fdb4bcSmrg ac_cv_lib_z_gzopen=no 3550a8fdb4bcSmrgfi 3551a8fdb4bcSmrg 3552a8fdb4bcSmrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3553a8fdb4bcSmrg conftest$ac_exeext conftest.$ac_ext 3554a8fdb4bcSmrgLIBS=$ac_check_lib_save_LIBS 3555a8fdb4bcSmrgfi 3556a8fdb4bcSmrg{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5 3557a8fdb4bcSmrgecho "${ECHO_T}$ac_cv_lib_z_gzopen" >&6; } 3558a8fdb4bcSmrgif test $ac_cv_lib_z_gzopen = yes; then 3559a8fdb4bcSmrg cat >>confdefs.h <<_ACEOF 3560a8fdb4bcSmrg#define HAVE_LIBZ 1 3561a8fdb4bcSmrg_ACEOF 3562a8fdb4bcSmrg 3563a8fdb4bcSmrg LIBS="-lz $LIBS" 3564a8fdb4bcSmrg 3565a8fdb4bcSmrgelse 3566a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: zlib not found" >&5 3567a8fdb4bcSmrgecho "$as_me: error: zlib not found" >&2;} 3568a8fdb4bcSmrg { (exit 1); exit 1; }; } 3569a8fdb4bcSmrgfi 3570a8fdb4bcSmrg 3571a8fdb4bcSmrg 3572a8fdb4bcSmrg 3573a8fdb4bcSmrg# Check whether --with-localealiasfile was given. 3574a8fdb4bcSmrgif test "${with_localealiasfile+set}" = set; then 3575a8fdb4bcSmrg withval=$with_localealiasfile; LOCALEALIASFILE="$withval" 3576a8fdb4bcSmrgelse 3577a8fdb4bcSmrg LOCALEALIASFILE=${datadir}/X11/locale/locale.alias 3578a8fdb4bcSmrgfi 3579a8fdb4bcSmrg 3580a8fdb4bcSmrg 3581a8fdb4bcSmrg 3582a8fdb4bcSmrg# Checks for pkg-config packages 3583a8fdb4bcSmrg 3584a8fdb4bcSmrg 3585a8fdb4bcSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3586a8fdb4bcSmrg if test -n "$ac_tool_prefix"; then 3587a8fdb4bcSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3588a8fdb4bcSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3589a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3590a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3591a8fdb4bcSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 3592a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3593a8fdb4bcSmrgelse 3594a8fdb4bcSmrg case $PKG_CONFIG in 3595a8fdb4bcSmrg [\\/]* | ?:[\\/]*) 3596a8fdb4bcSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3597a8fdb4bcSmrg ;; 3598a8fdb4bcSmrg *) 3599a8fdb4bcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3600a8fdb4bcSmrgfor as_dir in $PATH 3601a8fdb4bcSmrgdo 3602a8fdb4bcSmrg IFS=$as_save_IFS 3603a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 3604a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3605a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3606a8fdb4bcSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3607a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3608a8fdb4bcSmrg break 2 3609a8fdb4bcSmrg fi 3610a8fdb4bcSmrgdone 3611a8fdb4bcSmrgdone 3612a8fdb4bcSmrgIFS=$as_save_IFS 3613a8fdb4bcSmrg 3614a8fdb4bcSmrg ;; 3615a8fdb4bcSmrgesac 3616a8fdb4bcSmrgfi 3617a8fdb4bcSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 3618a8fdb4bcSmrgif test -n "$PKG_CONFIG"; then 3619a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 3620a8fdb4bcSmrgecho "${ECHO_T}$PKG_CONFIG" >&6; } 3621a8fdb4bcSmrgelse 3622a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 3623a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 3624a8fdb4bcSmrgfi 3625a8fdb4bcSmrg 3626a8fdb4bcSmrg 3627a8fdb4bcSmrgfi 3628a8fdb4bcSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 3629a8fdb4bcSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 3630a8fdb4bcSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 3631a8fdb4bcSmrgset dummy pkg-config; ac_word=$2 3632a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3633a8fdb4bcSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3634a8fdb4bcSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 3635a8fdb4bcSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3636a8fdb4bcSmrgelse 3637a8fdb4bcSmrg case $ac_pt_PKG_CONFIG in 3638a8fdb4bcSmrg [\\/]* | ?:[\\/]*) 3639a8fdb4bcSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3640a8fdb4bcSmrg ;; 3641a8fdb4bcSmrg *) 3642a8fdb4bcSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3643a8fdb4bcSmrgfor as_dir in $PATH 3644a8fdb4bcSmrgdo 3645a8fdb4bcSmrg IFS=$as_save_IFS 3646a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 3647a8fdb4bcSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3648a8fdb4bcSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3649a8fdb4bcSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3650a8fdb4bcSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3651a8fdb4bcSmrg break 2 3652a8fdb4bcSmrg fi 3653a8fdb4bcSmrgdone 3654a8fdb4bcSmrgdone 3655a8fdb4bcSmrgIFS=$as_save_IFS 3656a8fdb4bcSmrg 3657a8fdb4bcSmrg ;; 3658a8fdb4bcSmrgesac 3659a8fdb4bcSmrgfi 3660a8fdb4bcSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3661a8fdb4bcSmrgif test -n "$ac_pt_PKG_CONFIG"; then 3662a8fdb4bcSmrg { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 3663a8fdb4bcSmrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 3664a8fdb4bcSmrgelse 3665a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 3666a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 3667a8fdb4bcSmrgfi 3668a8fdb4bcSmrg 3669a8fdb4bcSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 3670a8fdb4bcSmrg PKG_CONFIG="" 3671a8fdb4bcSmrg else 3672a8fdb4bcSmrg case $cross_compiling:$ac_tool_warned in 3673a8fdb4bcSmrgyes:) 3674a8fdb4bcSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3675a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 3676a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 3677a8fdb4bcSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3678a8fdb4bcSmrgwhose name does not start with the host triplet. If you think this 3679a8fdb4bcSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 3680a8fdb4bcSmrgac_tool_warned=yes ;; 3681a8fdb4bcSmrgesac 3682a8fdb4bcSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 3683a8fdb4bcSmrg fi 3684a8fdb4bcSmrgelse 3685a8fdb4bcSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3686a8fdb4bcSmrgfi 3687a8fdb4bcSmrg 3688a8fdb4bcSmrgfi 3689a8fdb4bcSmrgif test -n "$PKG_CONFIG"; then 3690a8fdb4bcSmrg _pkg_min_version=0.9.0 3691a8fdb4bcSmrg { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 3692a8fdb4bcSmrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 3693a8fdb4bcSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3694a8fdb4bcSmrg { echo "$as_me:$LINENO: result: yes" >&5 3695a8fdb4bcSmrgecho "${ECHO_T}yes" >&6; } 3696a8fdb4bcSmrg else 3697a8fdb4bcSmrg { echo "$as_me:$LINENO: result: no" >&5 3698a8fdb4bcSmrgecho "${ECHO_T}no" >&6; } 3699a8fdb4bcSmrg PKG_CONFIG="" 3700a8fdb4bcSmrg fi 3701a8fdb4bcSmrg 3702a8fdb4bcSmrgfi 3703a8fdb4bcSmrg 3704a8fdb4bcSmrgpkg_failed=no 3705a8fdb4bcSmrg{ echo "$as_me:$LINENO: checking for LUIT" >&5 3706a8fdb4bcSmrgecho $ECHO_N "checking for LUIT... $ECHO_C" >&6; } 3707a8fdb4bcSmrg 3708a8fdb4bcSmrgif test -n "$PKG_CONFIG"; then 3709a8fdb4bcSmrg if test -n "$LUIT_CFLAGS"; then 3710a8fdb4bcSmrg pkg_cv_LUIT_CFLAGS="$LUIT_CFLAGS" 3711a8fdb4bcSmrg else 3712a8fdb4bcSmrg if test -n "$PKG_CONFIG" && \ 3713a8fdb4bcSmrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 fontenc\"") >&5 3714a8fdb4bcSmrg ($PKG_CONFIG --exists --print-errors "x11 fontenc") 2>&5 3715a8fdb4bcSmrg ac_status=$? 3716a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3717a8fdb4bcSmrg (exit $ac_status); }; then 3718a8fdb4bcSmrg pkg_cv_LUIT_CFLAGS=`$PKG_CONFIG --cflags "x11 fontenc" 2>/dev/null` 3719a8fdb4bcSmrgelse 3720a8fdb4bcSmrg pkg_failed=yes 3721a8fdb4bcSmrgfi 3722a8fdb4bcSmrg fi 3723a8fdb4bcSmrgelse 3724a8fdb4bcSmrg pkg_failed=untried 3725a8fdb4bcSmrgfi 3726a8fdb4bcSmrgif test -n "$PKG_CONFIG"; then 3727a8fdb4bcSmrg if test -n "$LUIT_LIBS"; then 3728a8fdb4bcSmrg pkg_cv_LUIT_LIBS="$LUIT_LIBS" 3729a8fdb4bcSmrg else 3730a8fdb4bcSmrg if test -n "$PKG_CONFIG" && \ 3731a8fdb4bcSmrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 fontenc\"") >&5 3732a8fdb4bcSmrg ($PKG_CONFIG --exists --print-errors "x11 fontenc") 2>&5 3733a8fdb4bcSmrg ac_status=$? 3734a8fdb4bcSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3735a8fdb4bcSmrg (exit $ac_status); }; then 3736a8fdb4bcSmrg pkg_cv_LUIT_LIBS=`$PKG_CONFIG --libs "x11 fontenc" 2>/dev/null` 3737a8fdb4bcSmrgelse 3738a8fdb4bcSmrg pkg_failed=yes 3739a8fdb4bcSmrgfi 3740a8fdb4bcSmrg fi 3741a8fdb4bcSmrgelse 3742a8fdb4bcSmrg pkg_failed=untried 3743a8fdb4bcSmrgfi 3744a8fdb4bcSmrg 3745a8fdb4bcSmrg 3746a8fdb4bcSmrg 3747a8fdb4bcSmrgif test $pkg_failed = yes; then 3748a8fdb4bcSmrg 3749a8fdb4bcSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 3750a8fdb4bcSmrg _pkg_short_errors_supported=yes 3751a8fdb4bcSmrgelse 3752a8fdb4bcSmrg _pkg_short_errors_supported=no 3753a8fdb4bcSmrgfi 3754a8fdb4bcSmrg if test $_pkg_short_errors_supported = yes; then 3755a8fdb4bcSmrg LUIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11 fontenc"` 3756a8fdb4bcSmrg else 3757a8fdb4bcSmrg LUIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11 fontenc"` 3758a8fdb4bcSmrg fi 3759a8fdb4bcSmrg # Put the nasty error message in config.log where it belongs 3760a8fdb4bcSmrg echo "$LUIT_PKG_ERRORS" >&5 3761a8fdb4bcSmrg 3762a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: Package requirements (x11 fontenc) were not met: 3763a8fdb4bcSmrg 3764a8fdb4bcSmrg$LUIT_PKG_ERRORS 3765a8fdb4bcSmrg 3766a8fdb4bcSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 3767a8fdb4bcSmrginstalled software in a non-standard prefix. 3768a8fdb4bcSmrg 3769a8fdb4bcSmrgAlternatively, you may set the environment variables LUIT_CFLAGS 3770a8fdb4bcSmrgand LUIT_LIBS to avoid the need to call pkg-config. 3771a8fdb4bcSmrgSee the pkg-config man page for more details. 3772a8fdb4bcSmrg" >&5 3773a8fdb4bcSmrgecho "$as_me: error: Package requirements (x11 fontenc) were not met: 3774a8fdb4bcSmrg 3775a8fdb4bcSmrg$LUIT_PKG_ERRORS 3776a8fdb4bcSmrg 3777a8fdb4bcSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 3778a8fdb4bcSmrginstalled software in a non-standard prefix. 3779a8fdb4bcSmrg 3780a8fdb4bcSmrgAlternatively, you may set the environment variables LUIT_CFLAGS 3781a8fdb4bcSmrgand LUIT_LIBS to avoid the need to call pkg-config. 3782a8fdb4bcSmrgSee the pkg-config man page for more details. 3783a8fdb4bcSmrg" >&2;} 3784a8fdb4bcSmrg { (exit 1); exit 1; }; } 3785a8fdb4bcSmrgelif test $pkg_failed = untried; then 3786a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 3787a8fdb4bcSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 3788a8fdb4bcSmrgpath to pkg-config. 3789a8fdb4bcSmrg 3790a8fdb4bcSmrgAlternatively, you may set the environment variables LUIT_CFLAGS 3791a8fdb4bcSmrgand LUIT_LIBS to avoid the need to call pkg-config. 3792a8fdb4bcSmrgSee the pkg-config man page for more details. 3793a8fdb4bcSmrg 3794a8fdb4bcSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 3795a8fdb4bcSmrgSee \`config.log' for more details." >&5 3796a8fdb4bcSmrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 3797a8fdb4bcSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 3798a8fdb4bcSmrgpath to pkg-config. 3799a8fdb4bcSmrg 3800a8fdb4bcSmrgAlternatively, you may set the environment variables LUIT_CFLAGS 3801a8fdb4bcSmrgand LUIT_LIBS to avoid the need to call pkg-config. 3802a8fdb4bcSmrgSee the pkg-config man page for more details. 3803a8fdb4bcSmrg 3804a8fdb4bcSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 3805a8fdb4bcSmrgSee \`config.log' for more details." >&2;} 3806a8fdb4bcSmrg { (exit 1); exit 1; }; } 3807a8fdb4bcSmrgelse 3808a8fdb4bcSmrg LUIT_CFLAGS=$pkg_cv_LUIT_CFLAGS 3809a8fdb4bcSmrg LUIT_LIBS=$pkg_cv_LUIT_LIBS 3810a8fdb4bcSmrg { echo "$as_me:$LINENO: result: yes" >&5 3811a8fdb4bcSmrgecho "${ECHO_T}yes" >&6; } 3812a8fdb4bcSmrg : 3813a8fdb4bcSmrgfi 3814a8fdb4bcSmrg 3815a8fdb4bcSmrgcase $host_os in 3816a8fdb4bcSmrg linux*) 3817a8fdb4bcSmrg OS_CFLAGS="-D_XOPEN_SOURCE=500" 3818a8fdb4bcSmrg ;; 3819a8fdb4bcSmrg *) 3820a8fdb4bcSmrg OS_CFLAGS= 3821a8fdb4bcSmrg ;; 3822a8fdb4bcSmrgesac 3823a8fdb4bcSmrg 3824a8fdb4bcSmrgLUIT_CFLAGS="$LUIT_CFLAGS $OS_CFLAGS" 3825a8fdb4bcSmrg 3826a8fdb4bcSmrg 3827a8fdb4bcSmrg 3828a8fdb4bcSmrg 3829a8fdb4bcSmrg 3830a8fdb4bcSmrg 3831a8fdb4bcSmrgif test x$APP_MAN_SUFFIX = x ; then 3832a8fdb4bcSmrg APP_MAN_SUFFIX=1 3833a8fdb4bcSmrgfi 3834a8fdb4bcSmrgif test x$APP_MAN_DIR = x ; then 3835a8fdb4bcSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 3836a8fdb4bcSmrgfi 3837a8fdb4bcSmrg 3838a8fdb4bcSmrgif test x$LIB_MAN_SUFFIX = x ; then 3839a8fdb4bcSmrg LIB_MAN_SUFFIX=3 3840a8fdb4bcSmrgfi 3841a8fdb4bcSmrgif test x$LIB_MAN_DIR = x ; then 3842a8fdb4bcSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 3843a8fdb4bcSmrgfi 3844a8fdb4bcSmrg 3845a8fdb4bcSmrgif test x$FILE_MAN_SUFFIX = x ; then 3846a8fdb4bcSmrg case $host_os in 3847a8fdb4bcSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 3848a8fdb4bcSmrg *) FILE_MAN_SUFFIX=5 ;; 3849a8fdb4bcSmrg esac 3850a8fdb4bcSmrgfi 3851a8fdb4bcSmrgif test x$FILE_MAN_DIR = x ; then 3852a8fdb4bcSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 3853a8fdb4bcSmrgfi 3854a8fdb4bcSmrg 3855a8fdb4bcSmrgif test x$MISC_MAN_SUFFIX = x ; then 3856a8fdb4bcSmrg case $host_os in 3857a8fdb4bcSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 3858a8fdb4bcSmrg *) MISC_MAN_SUFFIX=7 ;; 3859a8fdb4bcSmrg esac 3860a8fdb4bcSmrgfi 3861a8fdb4bcSmrgif test x$MISC_MAN_DIR = x ; then 3862a8fdb4bcSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 3863a8fdb4bcSmrgfi 3864a8fdb4bcSmrg 3865a8fdb4bcSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 3866a8fdb4bcSmrg case $host_os in 3867a8fdb4bcSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 3868a8fdb4bcSmrg *) DRIVER_MAN_SUFFIX=4 ;; 3869a8fdb4bcSmrg esac 3870a8fdb4bcSmrgfi 3871a8fdb4bcSmrgif test x$DRIVER_MAN_DIR = x ; then 3872a8fdb4bcSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 3873a8fdb4bcSmrgfi 3874a8fdb4bcSmrg 3875a8fdb4bcSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 3876a8fdb4bcSmrg case $host_os in 3877a8fdb4bcSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 3878a8fdb4bcSmrg *) ADMIN_MAN_SUFFIX=8 ;; 3879a8fdb4bcSmrg esac 3880a8fdb4bcSmrgfi 3881a8fdb4bcSmrgif test x$ADMIN_MAN_DIR = x ; then 3882a8fdb4bcSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 3883a8fdb4bcSmrgfi 3884a8fdb4bcSmrg 3885a8fdb4bcSmrg 3886a8fdb4bcSmrg 3887a8fdb4bcSmrg 3888a8fdb4bcSmrg 3889a8fdb4bcSmrg 3890a8fdb4bcSmrg 3891a8fdb4bcSmrg 3892a8fdb4bcSmrg 3893a8fdb4bcSmrg 3894a8fdb4bcSmrg 3895a8fdb4bcSmrg 3896a8fdb4bcSmrg 3897a8fdb4bcSmrg 3898a8fdb4bcSmrg 3899a8fdb4bcSmrg 3900a8fdb4bcSmrg 3901a8fdb4bcSmrg# Check whether --with-release-version was given. 3902a8fdb4bcSmrgif test "${with_release_version+set}" = set; then 3903a8fdb4bcSmrg withval=$with_release_version; RELEASE_VERSION="$withval" 3904a8fdb4bcSmrgelse 3905a8fdb4bcSmrg RELEASE_VERSION="" 3906a8fdb4bcSmrgfi 3907a8fdb4bcSmrg 3908a8fdb4bcSmrg if test "x$RELEASE_VERSION" != "x"; then 3909a8fdb4bcSmrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 3910a8fdb4bcSmrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 3911a8fdb4bcSmrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 3912a8fdb4bcSmrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 3913a8fdb4bcSmrg fi 3914a8fdb4bcSmrg 3915a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 3916a8fdb4bcSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 3917a8fdb4bcSmrg_ACEOF 3918a8fdb4bcSmrg 3919a8fdb4bcSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2` 3920a8fdb4bcSmrg if test "x$PVM" = "x"; then 3921a8fdb4bcSmrg PVM="0" 3922a8fdb4bcSmrg fi 3923a8fdb4bcSmrg 3924a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 3925a8fdb4bcSmrg#define PACKAGE_VERSION_MINOR $PVM 3926a8fdb4bcSmrg_ACEOF 3927a8fdb4bcSmrg 3928a8fdb4bcSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3` 3929a8fdb4bcSmrg if test "x$PVP" = "x"; then 3930a8fdb4bcSmrg PVP="0" 3931a8fdb4bcSmrg fi 3932a8fdb4bcSmrg 3933a8fdb4bcSmrgcat >>confdefs.h <<_ACEOF 3934a8fdb4bcSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 3935a8fdb4bcSmrg_ACEOF 3936a8fdb4bcSmrg 3937a8fdb4bcSmrg 3938a8fdb4bcSmrg 3939a8fdb4bcSmrgac_config_files="$ac_config_files Makefile" 3940a8fdb4bcSmrg 3941a8fdb4bcSmrgcat >confcache <<\_ACEOF 3942a8fdb4bcSmrg# This file is a shell script that caches the results of configure 3943a8fdb4bcSmrg# tests run on this system so they can be shared between configure 3944a8fdb4bcSmrg# scripts and configure runs, see configure's option --config-cache. 3945a8fdb4bcSmrg# It is not useful on other systems. If it contains results you don't 3946a8fdb4bcSmrg# want to keep, you may remove or edit it. 3947a8fdb4bcSmrg# 3948a8fdb4bcSmrg# config.status only pays attention to the cache file if you give it 3949a8fdb4bcSmrg# the --recheck option to rerun configure. 3950a8fdb4bcSmrg# 3951a8fdb4bcSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 3952a8fdb4bcSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 3953a8fdb4bcSmrg# following values. 3954a8fdb4bcSmrg 3955a8fdb4bcSmrg_ACEOF 3956a8fdb4bcSmrg 3957a8fdb4bcSmrg# The following way of writing the cache mishandles newlines in values, 3958a8fdb4bcSmrg# but we know of no workaround that is simple, portable, and efficient. 3959a8fdb4bcSmrg# So, we kill variables containing newlines. 3960a8fdb4bcSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 3961a8fdb4bcSmrg# and sets the high bit in the cache file unless we assign to the vars. 3962a8fdb4bcSmrg( 3963a8fdb4bcSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3964a8fdb4bcSmrg eval ac_val=\$$ac_var 3965a8fdb4bcSmrg case $ac_val in #( 3966a8fdb4bcSmrg *${as_nl}*) 3967a8fdb4bcSmrg case $ac_var in #( 3968a8fdb4bcSmrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 3969a8fdb4bcSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 3970a8fdb4bcSmrg esac 3971a8fdb4bcSmrg case $ac_var in #( 3972a8fdb4bcSmrg _ | IFS | as_nl) ;; #( 3973a8fdb4bcSmrg *) $as_unset $ac_var ;; 3974a8fdb4bcSmrg esac ;; 3975a8fdb4bcSmrg esac 3976a8fdb4bcSmrg done 3977a8fdb4bcSmrg 3978a8fdb4bcSmrg (set) 2>&1 | 3979a8fdb4bcSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 3980a8fdb4bcSmrg *${as_nl}ac_space=\ *) 3981a8fdb4bcSmrg # `set' does not quote correctly, so add quotes (double-quote 3982a8fdb4bcSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 3983a8fdb4bcSmrg sed -n \ 3984a8fdb4bcSmrg "s/'/'\\\\''/g; 3985a8fdb4bcSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3986a8fdb4bcSmrg ;; #( 3987a8fdb4bcSmrg *) 3988a8fdb4bcSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 3989a8fdb4bcSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3990a8fdb4bcSmrg ;; 3991a8fdb4bcSmrg esac | 3992a8fdb4bcSmrg sort 3993a8fdb4bcSmrg) | 3994a8fdb4bcSmrg sed ' 3995a8fdb4bcSmrg /^ac_cv_env_/b end 3996a8fdb4bcSmrg t clear 3997a8fdb4bcSmrg :clear 3998a8fdb4bcSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3999a8fdb4bcSmrg t end 4000a8fdb4bcSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4001a8fdb4bcSmrg :end' >>confcache 4002a8fdb4bcSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4003a8fdb4bcSmrg if test -w "$cache_file"; then 4004a8fdb4bcSmrg test "x$cache_file" != "x/dev/null" && 4005a8fdb4bcSmrg { echo "$as_me:$LINENO: updating cache $cache_file" >&5 4006a8fdb4bcSmrgecho "$as_me: updating cache $cache_file" >&6;} 4007a8fdb4bcSmrg cat confcache >$cache_file 4008a8fdb4bcSmrg else 4009a8fdb4bcSmrg { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 4010a8fdb4bcSmrgecho "$as_me: not updating unwritable cache $cache_file" >&6;} 4011a8fdb4bcSmrg fi 4012a8fdb4bcSmrgfi 4013a8fdb4bcSmrgrm -f confcache 4014a8fdb4bcSmrg 4015a8fdb4bcSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 4016a8fdb4bcSmrg# Let make expand exec_prefix. 4017a8fdb4bcSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4018a8fdb4bcSmrg 4019a8fdb4bcSmrgDEFS=-DHAVE_CONFIG_H 4020a8fdb4bcSmrg 4021a8fdb4bcSmrgac_libobjs= 4022a8fdb4bcSmrgac_ltlibobjs= 4023a8fdb4bcSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4024a8fdb4bcSmrg # 1. Remove the extension, and $U if already installed. 4025a8fdb4bcSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4026a8fdb4bcSmrg ac_i=`echo "$ac_i" | sed "$ac_script"` 4027a8fdb4bcSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4028a8fdb4bcSmrg # will be set to the directory where LIBOBJS objects are built. 4029a8fdb4bcSmrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4030a8fdb4bcSmrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 4031a8fdb4bcSmrgdone 4032a8fdb4bcSmrgLIBOBJS=$ac_libobjs 4033a8fdb4bcSmrg 4034a8fdb4bcSmrgLTLIBOBJS=$ac_ltlibobjs 4035a8fdb4bcSmrg 4036a8fdb4bcSmrg 4037a8fdb4bcSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4038a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 4039a8fdb4bcSmrgUsually this means the macro was only invoked conditionally." >&5 4040a8fdb4bcSmrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 4041a8fdb4bcSmrgUsually this means the macro was only invoked conditionally." >&2;} 4042a8fdb4bcSmrg { (exit 1); exit 1; }; } 4043a8fdb4bcSmrgfi 4044a8fdb4bcSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4045a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 4046a8fdb4bcSmrgUsually this means the macro was only invoked conditionally." >&5 4047a8fdb4bcSmrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 4048a8fdb4bcSmrgUsually this means the macro was only invoked conditionally." >&2;} 4049a8fdb4bcSmrg { (exit 1); exit 1; }; } 4050a8fdb4bcSmrgfi 4051a8fdb4bcSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4052a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 4053a8fdb4bcSmrgUsually this means the macro was only invoked conditionally." >&5 4054a8fdb4bcSmrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 4055a8fdb4bcSmrgUsually this means the macro was only invoked conditionally." >&2;} 4056a8fdb4bcSmrg { (exit 1); exit 1; }; } 4057a8fdb4bcSmrgfi 4058a8fdb4bcSmrg 4059a8fdb4bcSmrg: ${CONFIG_STATUS=./config.status} 4060a8fdb4bcSmrgac_clean_files_save=$ac_clean_files 4061a8fdb4bcSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 4062a8fdb4bcSmrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 4063a8fdb4bcSmrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 4064a8fdb4bcSmrgcat >$CONFIG_STATUS <<_ACEOF 4065a8fdb4bcSmrg#! $SHELL 4066a8fdb4bcSmrg# Generated by $as_me. 4067a8fdb4bcSmrg# Run this file to recreate the current configuration. 4068a8fdb4bcSmrg# Compiler output produced by configure, useful for debugging 4069a8fdb4bcSmrg# configure, is in config.log if it exists. 4070a8fdb4bcSmrg 4071a8fdb4bcSmrgdebug=false 4072a8fdb4bcSmrgac_cs_recheck=false 4073a8fdb4bcSmrgac_cs_silent=false 4074a8fdb4bcSmrgSHELL=\${CONFIG_SHELL-$SHELL} 4075a8fdb4bcSmrg_ACEOF 4076a8fdb4bcSmrg 4077a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 4078a8fdb4bcSmrg## --------------------- ## 4079a8fdb4bcSmrg## M4sh Initialization. ## 4080a8fdb4bcSmrg## --------------------- ## 4081a8fdb4bcSmrg 4082a8fdb4bcSmrg# Be more Bourne compatible 4083a8fdb4bcSmrgDUALCASE=1; export DUALCASE # for MKS sh 4084a8fdb4bcSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 4085a8fdb4bcSmrg emulate sh 4086a8fdb4bcSmrg NULLCMD=: 4087a8fdb4bcSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 4088a8fdb4bcSmrg # is contrary to our usage. Disable this feature. 4089a8fdb4bcSmrg alias -g '${1+"$@"}'='"$@"' 4090a8fdb4bcSmrg setopt NO_GLOB_SUBST 4091a8fdb4bcSmrgelse 4092a8fdb4bcSmrg case `(set -o) 2>/dev/null` in 4093a8fdb4bcSmrg *posix*) set -o posix ;; 4094a8fdb4bcSmrgesac 4095a8fdb4bcSmrg 4096a8fdb4bcSmrgfi 4097a8fdb4bcSmrg 4098a8fdb4bcSmrg 4099a8fdb4bcSmrg 4100a8fdb4bcSmrg 4101a8fdb4bcSmrg# PATH needs CR 4102a8fdb4bcSmrg# Avoid depending upon Character Ranges. 4103a8fdb4bcSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 4104a8fdb4bcSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4105a8fdb4bcSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 4106a8fdb4bcSmrgas_cr_digits='0123456789' 4107a8fdb4bcSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 4108a8fdb4bcSmrg 4109a8fdb4bcSmrg# The user is always right. 4110a8fdb4bcSmrgif test "${PATH_SEPARATOR+set}" != set; then 4111a8fdb4bcSmrg echo "#! /bin/sh" >conf$$.sh 4112a8fdb4bcSmrg echo "exit 0" >>conf$$.sh 4113a8fdb4bcSmrg chmod +x conf$$.sh 4114a8fdb4bcSmrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4115a8fdb4bcSmrg PATH_SEPARATOR=';' 4116a8fdb4bcSmrg else 4117a8fdb4bcSmrg PATH_SEPARATOR=: 4118a8fdb4bcSmrg fi 4119a8fdb4bcSmrg rm -f conf$$.sh 4120a8fdb4bcSmrgfi 4121a8fdb4bcSmrg 4122a8fdb4bcSmrg# Support unset when possible. 4123a8fdb4bcSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 4124a8fdb4bcSmrg as_unset=unset 4125a8fdb4bcSmrgelse 4126a8fdb4bcSmrg as_unset=false 4127a8fdb4bcSmrgfi 4128a8fdb4bcSmrg 4129a8fdb4bcSmrg 4130a8fdb4bcSmrg# IFS 4131a8fdb4bcSmrg# We need space, tab and new line, in precisely that order. Quoting is 4132a8fdb4bcSmrg# there to prevent editors from complaining about space-tab. 4133a8fdb4bcSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4134a8fdb4bcSmrg# splitting by setting IFS to empty value.) 4135a8fdb4bcSmrgas_nl=' 4136a8fdb4bcSmrg' 4137a8fdb4bcSmrgIFS=" "" $as_nl" 4138a8fdb4bcSmrg 4139a8fdb4bcSmrg# Find who we are. Look in the path if we contain no directory separator. 4140a8fdb4bcSmrgcase $0 in 4141a8fdb4bcSmrg *[\\/]* ) as_myself=$0 ;; 4142a8fdb4bcSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4143a8fdb4bcSmrgfor as_dir in $PATH 4144a8fdb4bcSmrgdo 4145a8fdb4bcSmrg IFS=$as_save_IFS 4146a8fdb4bcSmrg test -z "$as_dir" && as_dir=. 4147a8fdb4bcSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4148a8fdb4bcSmrgdone 4149a8fdb4bcSmrgIFS=$as_save_IFS 4150a8fdb4bcSmrg 4151a8fdb4bcSmrg ;; 4152a8fdb4bcSmrgesac 4153a8fdb4bcSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 4154a8fdb4bcSmrg# in which case we are not to be found in the path. 4155a8fdb4bcSmrgif test "x$as_myself" = x; then 4156a8fdb4bcSmrg as_myself=$0 4157a8fdb4bcSmrgfi 4158a8fdb4bcSmrgif test ! -f "$as_myself"; then 4159a8fdb4bcSmrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4160a8fdb4bcSmrg { (exit 1); exit 1; } 4161a8fdb4bcSmrgfi 4162a8fdb4bcSmrg 4163a8fdb4bcSmrg# Work around bugs in pre-3.0 UWIN ksh. 4164a8fdb4bcSmrgfor as_var in ENV MAIL MAILPATH 4165a8fdb4bcSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4166a8fdb4bcSmrgdone 4167a8fdb4bcSmrgPS1='$ ' 4168a8fdb4bcSmrgPS2='> ' 4169a8fdb4bcSmrgPS4='+ ' 4170a8fdb4bcSmrg 4171a8fdb4bcSmrg# NLS nuisances. 4172a8fdb4bcSmrgfor as_var in \ 4173a8fdb4bcSmrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 4174a8fdb4bcSmrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 4175a8fdb4bcSmrg LC_TELEPHONE LC_TIME 4176a8fdb4bcSmrgdo 4177a8fdb4bcSmrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4178a8fdb4bcSmrg eval $as_var=C; export $as_var 4179a8fdb4bcSmrg else 4180a8fdb4bcSmrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 4181a8fdb4bcSmrg fi 4182a8fdb4bcSmrgdone 4183a8fdb4bcSmrg 4184a8fdb4bcSmrg# Required to use basename. 4185a8fdb4bcSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 4186a8fdb4bcSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4187a8fdb4bcSmrg as_expr=expr 4188a8fdb4bcSmrgelse 4189a8fdb4bcSmrg as_expr=false 4190a8fdb4bcSmrgfi 4191a8fdb4bcSmrg 4192a8fdb4bcSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4193a8fdb4bcSmrg as_basename=basename 4194a8fdb4bcSmrgelse 4195a8fdb4bcSmrg as_basename=false 4196a8fdb4bcSmrgfi 4197a8fdb4bcSmrg 4198a8fdb4bcSmrg 4199a8fdb4bcSmrg# Name of the executable. 4200a8fdb4bcSmrgas_me=`$as_basename -- "$0" || 4201a8fdb4bcSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4202a8fdb4bcSmrg X"$0" : 'X\(//\)$' \| \ 4203a8fdb4bcSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 4204a8fdb4bcSmrgecho X/"$0" | 4205a8fdb4bcSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 4206a8fdb4bcSmrg s//\1/ 4207a8fdb4bcSmrg q 4208a8fdb4bcSmrg } 4209a8fdb4bcSmrg /^X\/\(\/\/\)$/{ 4210a8fdb4bcSmrg s//\1/ 4211a8fdb4bcSmrg q 4212a8fdb4bcSmrg } 4213a8fdb4bcSmrg /^X\/\(\/\).*/{ 4214a8fdb4bcSmrg s//\1/ 4215a8fdb4bcSmrg q 4216a8fdb4bcSmrg } 4217a8fdb4bcSmrg s/.*/./; q'` 4218a8fdb4bcSmrg 4219a8fdb4bcSmrg# CDPATH. 4220a8fdb4bcSmrg$as_unset CDPATH 4221a8fdb4bcSmrg 4222a8fdb4bcSmrg 4223a8fdb4bcSmrg 4224a8fdb4bcSmrg as_lineno_1=$LINENO 4225a8fdb4bcSmrg as_lineno_2=$LINENO 4226a8fdb4bcSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 4227a8fdb4bcSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4228a8fdb4bcSmrg 4229a8fdb4bcSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4230a8fdb4bcSmrg # uniformly replaced by the line number. The first 'sed' inserts a 4231a8fdb4bcSmrg # line-number line after each line using $LINENO; the second 'sed' 4232a8fdb4bcSmrg # does the real work. The second script uses 'N' to pair each 4233a8fdb4bcSmrg # line-number line with the line containing $LINENO, and appends 4234a8fdb4bcSmrg # trailing '-' during substitution so that $LINENO is not a special 4235a8fdb4bcSmrg # case at line end. 4236a8fdb4bcSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4237a8fdb4bcSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 4238a8fdb4bcSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 4239a8fdb4bcSmrg sed -n ' 4240a8fdb4bcSmrg p 4241a8fdb4bcSmrg /[$]LINENO/= 4242a8fdb4bcSmrg ' <$as_myself | 4243a8fdb4bcSmrg sed ' 4244a8fdb4bcSmrg s/[$]LINENO.*/&-/ 4245a8fdb4bcSmrg t lineno 4246a8fdb4bcSmrg b 4247a8fdb4bcSmrg :lineno 4248a8fdb4bcSmrg N 4249a8fdb4bcSmrg :loop 4250a8fdb4bcSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4251a8fdb4bcSmrg t loop 4252a8fdb4bcSmrg s/-\n.*// 4253a8fdb4bcSmrg ' >$as_me.lineno && 4254a8fdb4bcSmrg chmod +x "$as_me.lineno" || 4255a8fdb4bcSmrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4256a8fdb4bcSmrg { (exit 1); exit 1; }; } 4257a8fdb4bcSmrg 4258a8fdb4bcSmrg # Don't try to exec as it changes $[0], causing all sort of problems 4259a8fdb4bcSmrg # (the dirname of $[0] is not the place where we might find the 4260a8fdb4bcSmrg # original and so on. Autoconf is especially sensitive to this). 4261a8fdb4bcSmrg . "./$as_me.lineno" 4262a8fdb4bcSmrg # Exit status is that of the last command. 4263a8fdb4bcSmrg exit 4264a8fdb4bcSmrg} 4265a8fdb4bcSmrg 4266a8fdb4bcSmrg 4267a8fdb4bcSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4268a8fdb4bcSmrg as_dirname=dirname 4269a8fdb4bcSmrgelse 4270a8fdb4bcSmrg as_dirname=false 4271a8fdb4bcSmrgfi 4272a8fdb4bcSmrg 4273a8fdb4bcSmrgECHO_C= ECHO_N= ECHO_T= 4274a8fdb4bcSmrgcase `echo -n x` in 4275a8fdb4bcSmrg-n*) 4276a8fdb4bcSmrg case `echo 'x\c'` in 4277a8fdb4bcSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4278a8fdb4bcSmrg *) ECHO_C='\c';; 4279a8fdb4bcSmrg esac;; 4280a8fdb4bcSmrg*) 4281a8fdb4bcSmrg ECHO_N='-n';; 4282a8fdb4bcSmrgesac 4283a8fdb4bcSmrg 4284a8fdb4bcSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 4285a8fdb4bcSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4286a8fdb4bcSmrg as_expr=expr 4287a8fdb4bcSmrgelse 4288a8fdb4bcSmrg as_expr=false 4289a8fdb4bcSmrgfi 4290a8fdb4bcSmrg 4291a8fdb4bcSmrgrm -f conf$$ conf$$.exe conf$$.file 4292a8fdb4bcSmrgif test -d conf$$.dir; then 4293a8fdb4bcSmrg rm -f conf$$.dir/conf$$.file 4294a8fdb4bcSmrgelse 4295a8fdb4bcSmrg rm -f conf$$.dir 4296a8fdb4bcSmrg mkdir conf$$.dir 4297a8fdb4bcSmrgfi 4298a8fdb4bcSmrgecho >conf$$.file 4299a8fdb4bcSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then 4300a8fdb4bcSmrg as_ln_s='ln -s' 4301a8fdb4bcSmrg # ... but there are two gotchas: 4302a8fdb4bcSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4303a8fdb4bcSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4304a8fdb4bcSmrg # In both cases, we have to default to `cp -p'. 4305a8fdb4bcSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4306a8fdb4bcSmrg as_ln_s='cp -p' 4307a8fdb4bcSmrgelif ln conf$$.file conf$$ 2>/dev/null; then 4308a8fdb4bcSmrg as_ln_s=ln 4309a8fdb4bcSmrgelse 4310a8fdb4bcSmrg as_ln_s='cp -p' 4311a8fdb4bcSmrgfi 4312a8fdb4bcSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4313a8fdb4bcSmrgrmdir conf$$.dir 2>/dev/null 4314a8fdb4bcSmrg 4315a8fdb4bcSmrgif mkdir -p . 2>/dev/null; then 4316a8fdb4bcSmrg as_mkdir_p=: 4317a8fdb4bcSmrgelse 4318a8fdb4bcSmrg test -d ./-p && rmdir ./-p 4319a8fdb4bcSmrg as_mkdir_p=false 4320a8fdb4bcSmrgfi 4321a8fdb4bcSmrg 4322a8fdb4bcSmrgif test -x / >/dev/null 2>&1; then 4323a8fdb4bcSmrg as_test_x='test -x' 4324a8fdb4bcSmrgelse 4325a8fdb4bcSmrg if ls -dL / >/dev/null 2>&1; then 4326a8fdb4bcSmrg as_ls_L_option=L 4327a8fdb4bcSmrg else 4328a8fdb4bcSmrg as_ls_L_option= 4329a8fdb4bcSmrg fi 4330a8fdb4bcSmrg as_test_x=' 4331a8fdb4bcSmrg eval sh -c '\'' 4332a8fdb4bcSmrg if test -d "$1"; then 4333a8fdb4bcSmrg test -d "$1/."; 4334a8fdb4bcSmrg else 4335a8fdb4bcSmrg case $1 in 4336a8fdb4bcSmrg -*)set "./$1";; 4337a8fdb4bcSmrg esac; 4338a8fdb4bcSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 4339a8fdb4bcSmrg ???[sx]*):;;*)false;;esac;fi 4340a8fdb4bcSmrg '\'' sh 4341a8fdb4bcSmrg ' 4342a8fdb4bcSmrgfi 4343a8fdb4bcSmrgas_executable_p=$as_test_x 4344a8fdb4bcSmrg 4345a8fdb4bcSmrg# Sed expression to map a string onto a valid CPP name. 4346a8fdb4bcSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4347a8fdb4bcSmrg 4348a8fdb4bcSmrg# Sed expression to map a string onto a valid variable name. 4349a8fdb4bcSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4350a8fdb4bcSmrg 4351a8fdb4bcSmrg 4352a8fdb4bcSmrgexec 6>&1 4353a8fdb4bcSmrg 4354a8fdb4bcSmrg# Save the log message, to keep $[0] and so on meaningful, and to 4355a8fdb4bcSmrg# report actual input values of CONFIG_FILES etc. instead of their 4356a8fdb4bcSmrg# values after options handling. 4357a8fdb4bcSmrgac_log=" 4358a8fdb4bcSmrgThis file was extended by luit $as_me 1.0.3, which was 4359a8fdb4bcSmrggenerated by GNU Autoconf 2.61. Invocation command line was 4360a8fdb4bcSmrg 4361a8fdb4bcSmrg CONFIG_FILES = $CONFIG_FILES 4362a8fdb4bcSmrg CONFIG_HEADERS = $CONFIG_HEADERS 4363a8fdb4bcSmrg CONFIG_LINKS = $CONFIG_LINKS 4364a8fdb4bcSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 4365a8fdb4bcSmrg $ $0 $@ 4366a8fdb4bcSmrg 4367a8fdb4bcSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 4368a8fdb4bcSmrg" 4369a8fdb4bcSmrg 4370a8fdb4bcSmrg_ACEOF 4371a8fdb4bcSmrg 4372a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4373a8fdb4bcSmrg# Files that config.status was made for. 4374a8fdb4bcSmrgconfig_files="$ac_config_files" 4375a8fdb4bcSmrgconfig_headers="$ac_config_headers" 4376a8fdb4bcSmrgconfig_commands="$ac_config_commands" 4377a8fdb4bcSmrg 4378a8fdb4bcSmrg_ACEOF 4379a8fdb4bcSmrg 4380a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 4381a8fdb4bcSmrgac_cs_usage="\ 4382a8fdb4bcSmrg\`$as_me' instantiates files from templates according to the 4383a8fdb4bcSmrgcurrent configuration. 4384a8fdb4bcSmrg 4385a8fdb4bcSmrgUsage: $0 [OPTIONS] [FILE]... 4386a8fdb4bcSmrg 4387a8fdb4bcSmrg -h, --help print this help, then exit 4388a8fdb4bcSmrg -V, --version print version number and configuration settings, then exit 4389a8fdb4bcSmrg -q, --quiet do not print progress messages 4390a8fdb4bcSmrg -d, --debug don't remove temporary files 4391a8fdb4bcSmrg --recheck update $as_me by reconfiguring in the same conditions 4392a8fdb4bcSmrg --file=FILE[:TEMPLATE] 4393a8fdb4bcSmrg instantiate the configuration file FILE 4394a8fdb4bcSmrg --header=FILE[:TEMPLATE] 4395a8fdb4bcSmrg instantiate the configuration header FILE 4396a8fdb4bcSmrg 4397a8fdb4bcSmrgConfiguration files: 4398a8fdb4bcSmrg$config_files 4399a8fdb4bcSmrg 4400a8fdb4bcSmrgConfiguration headers: 4401a8fdb4bcSmrg$config_headers 4402a8fdb4bcSmrg 4403a8fdb4bcSmrgConfiguration commands: 4404a8fdb4bcSmrg$config_commands 4405a8fdb4bcSmrg 4406a8fdb4bcSmrgReport bugs to <bug-autoconf@gnu.org>." 4407a8fdb4bcSmrg 4408a8fdb4bcSmrg_ACEOF 4409a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4410a8fdb4bcSmrgac_cs_version="\\ 4411a8fdb4bcSmrgluit config.status 1.0.3 4412a8fdb4bcSmrgconfigured by $0, generated by GNU Autoconf 2.61, 4413a8fdb4bcSmrg with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 4414a8fdb4bcSmrg 4415a8fdb4bcSmrgCopyright (C) 2006 Free Software Foundation, Inc. 4416a8fdb4bcSmrgThis config.status script is free software; the Free Software Foundation 4417a8fdb4bcSmrggives unlimited permission to copy, distribute and modify it." 4418a8fdb4bcSmrg 4419a8fdb4bcSmrgac_pwd='$ac_pwd' 4420a8fdb4bcSmrgsrcdir='$srcdir' 4421a8fdb4bcSmrgINSTALL='$INSTALL' 4422a8fdb4bcSmrgMKDIR_P='$MKDIR_P' 4423a8fdb4bcSmrg_ACEOF 4424a8fdb4bcSmrg 4425a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 4426a8fdb4bcSmrg# If no file are specified by the user, then we need to provide default 4427a8fdb4bcSmrg# value. By we need to know if files were specified by the user. 4428a8fdb4bcSmrgac_need_defaults=: 4429a8fdb4bcSmrgwhile test $# != 0 4430a8fdb4bcSmrgdo 4431a8fdb4bcSmrg case $1 in 4432a8fdb4bcSmrg --*=*) 4433a8fdb4bcSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 4434a8fdb4bcSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4435a8fdb4bcSmrg ac_shift=: 4436a8fdb4bcSmrg ;; 4437a8fdb4bcSmrg *) 4438a8fdb4bcSmrg ac_option=$1 4439a8fdb4bcSmrg ac_optarg=$2 4440a8fdb4bcSmrg ac_shift=shift 4441a8fdb4bcSmrg ;; 4442a8fdb4bcSmrg esac 4443a8fdb4bcSmrg 4444a8fdb4bcSmrg case $ac_option in 4445a8fdb4bcSmrg # Handling of the options. 4446a8fdb4bcSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4447a8fdb4bcSmrg ac_cs_recheck=: ;; 4448a8fdb4bcSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4449a8fdb4bcSmrg echo "$ac_cs_version"; exit ;; 4450a8fdb4bcSmrg --debug | --debu | --deb | --de | --d | -d ) 4451a8fdb4bcSmrg debug=: ;; 4452a8fdb4bcSmrg --file | --fil | --fi | --f ) 4453a8fdb4bcSmrg $ac_shift 4454a8fdb4bcSmrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4455a8fdb4bcSmrg ac_need_defaults=false;; 4456a8fdb4bcSmrg --header | --heade | --head | --hea ) 4457a8fdb4bcSmrg $ac_shift 4458a8fdb4bcSmrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4459a8fdb4bcSmrg ac_need_defaults=false;; 4460a8fdb4bcSmrg --he | --h) 4461a8fdb4bcSmrg # Conflict between --help and --header 4462a8fdb4bcSmrg { echo "$as_me: error: ambiguous option: $1 4463a8fdb4bcSmrgTry \`$0 --help' for more information." >&2 4464a8fdb4bcSmrg { (exit 1); exit 1; }; };; 4465a8fdb4bcSmrg --help | --hel | -h ) 4466a8fdb4bcSmrg echo "$ac_cs_usage"; exit ;; 4467a8fdb4bcSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4468a8fdb4bcSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 4469a8fdb4bcSmrg ac_cs_silent=: ;; 4470a8fdb4bcSmrg 4471a8fdb4bcSmrg # This is an error. 4472a8fdb4bcSmrg -*) { echo "$as_me: error: unrecognized option: $1 4473a8fdb4bcSmrgTry \`$0 --help' for more information." >&2 4474a8fdb4bcSmrg { (exit 1); exit 1; }; } ;; 4475a8fdb4bcSmrg 4476a8fdb4bcSmrg *) ac_config_targets="$ac_config_targets $1" 4477a8fdb4bcSmrg ac_need_defaults=false ;; 4478a8fdb4bcSmrg 4479a8fdb4bcSmrg esac 4480a8fdb4bcSmrg shift 4481a8fdb4bcSmrgdone 4482a8fdb4bcSmrg 4483a8fdb4bcSmrgac_configure_extra_args= 4484a8fdb4bcSmrg 4485a8fdb4bcSmrgif $ac_cs_silent; then 4486a8fdb4bcSmrg exec 6>/dev/null 4487a8fdb4bcSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 4488a8fdb4bcSmrgfi 4489a8fdb4bcSmrg 4490a8fdb4bcSmrg_ACEOF 4491a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4492a8fdb4bcSmrgif \$ac_cs_recheck; then 4493a8fdb4bcSmrg echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4494a8fdb4bcSmrg CONFIG_SHELL=$SHELL 4495a8fdb4bcSmrg export CONFIG_SHELL 4496a8fdb4bcSmrg exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4497a8fdb4bcSmrgfi 4498a8fdb4bcSmrg 4499a8fdb4bcSmrg_ACEOF 4500a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 4501a8fdb4bcSmrgexec 5>>config.log 4502a8fdb4bcSmrg{ 4503a8fdb4bcSmrg echo 4504a8fdb4bcSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4505a8fdb4bcSmrg## Running $as_me. ## 4506a8fdb4bcSmrg_ASBOX 4507a8fdb4bcSmrg echo "$ac_log" 4508a8fdb4bcSmrg} >&5 4509a8fdb4bcSmrg 4510a8fdb4bcSmrg_ACEOF 4511a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4512a8fdb4bcSmrg# 4513a8fdb4bcSmrg# INIT-COMMANDS 4514a8fdb4bcSmrg# 4515a8fdb4bcSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4516a8fdb4bcSmrg 4517a8fdb4bcSmrg_ACEOF 4518a8fdb4bcSmrg 4519a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 4520a8fdb4bcSmrg 4521a8fdb4bcSmrg# Handling of arguments. 4522a8fdb4bcSmrgfor ac_config_target in $ac_config_targets 4523a8fdb4bcSmrgdo 4524a8fdb4bcSmrg case $ac_config_target in 4525a8fdb4bcSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4526a8fdb4bcSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4527a8fdb4bcSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4528a8fdb4bcSmrg 4529a8fdb4bcSmrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4530a8fdb4bcSmrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 4531a8fdb4bcSmrg { (exit 1); exit 1; }; };; 4532a8fdb4bcSmrg esac 4533a8fdb4bcSmrgdone 4534a8fdb4bcSmrg 4535a8fdb4bcSmrg 4536a8fdb4bcSmrg# If the user did not use the arguments to specify the items to instantiate, 4537a8fdb4bcSmrg# then the envvar interface is used. Set only those that are not. 4538a8fdb4bcSmrg# We use the long form for the default assignment because of an extremely 4539a8fdb4bcSmrg# bizarre bug on SunOS 4.1.3. 4540a8fdb4bcSmrgif $ac_need_defaults; then 4541a8fdb4bcSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4542a8fdb4bcSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4543a8fdb4bcSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4544a8fdb4bcSmrgfi 4545a8fdb4bcSmrg 4546a8fdb4bcSmrg# Have a temporary directory for convenience. Make it in the build tree 4547a8fdb4bcSmrg# simply because there is no reason against having it here, and in addition, 4548a8fdb4bcSmrg# creating and moving files from /tmp can sometimes cause problems. 4549a8fdb4bcSmrg# Hook for its removal unless debugging. 4550a8fdb4bcSmrg# Note that there is a small window in which the directory will not be cleaned: 4551a8fdb4bcSmrg# after its creation but before its name has been assigned to `$tmp'. 4552a8fdb4bcSmrg$debug || 4553a8fdb4bcSmrg{ 4554a8fdb4bcSmrg tmp= 4555a8fdb4bcSmrg trap 'exit_status=$? 4556a8fdb4bcSmrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 4557a8fdb4bcSmrg' 0 4558a8fdb4bcSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 4559a8fdb4bcSmrg} 4560a8fdb4bcSmrg# Create a (secure) tmp directory for tmp files. 4561a8fdb4bcSmrg 4562a8fdb4bcSmrg{ 4563a8fdb4bcSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4564a8fdb4bcSmrg test -n "$tmp" && test -d "$tmp" 4565a8fdb4bcSmrg} || 4566a8fdb4bcSmrg{ 4567a8fdb4bcSmrg tmp=./conf$$-$RANDOM 4568a8fdb4bcSmrg (umask 077 && mkdir "$tmp") 4569a8fdb4bcSmrg} || 4570a8fdb4bcSmrg{ 4571a8fdb4bcSmrg echo "$me: cannot create a temporary directory in ." >&2 4572a8fdb4bcSmrg { (exit 1); exit 1; } 4573a8fdb4bcSmrg} 4574a8fdb4bcSmrg 4575a8fdb4bcSmrg# 4576a8fdb4bcSmrg# Set up the sed scripts for CONFIG_FILES section. 4577a8fdb4bcSmrg# 4578a8fdb4bcSmrg 4579a8fdb4bcSmrg# No need to generate the scripts if there are no CONFIG_FILES. 4580a8fdb4bcSmrg# This happens for instance when ./config.status config.h 4581a8fdb4bcSmrgif test -n "$CONFIG_FILES"; then 4582a8fdb4bcSmrg 4583a8fdb4bcSmrg_ACEOF 4584a8fdb4bcSmrg 4585a8fdb4bcSmrg 4586a8fdb4bcSmrg 4587a8fdb4bcSmrgac_delim='%!_!# ' 4588a8fdb4bcSmrgfor ac_last_try in false false false false false :; do 4589a8fdb4bcSmrg cat >conf$$subs.sed <<_ACEOF 4590a8fdb4bcSmrgSHELL!$SHELL$ac_delim 4591a8fdb4bcSmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 4592a8fdb4bcSmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim 4593a8fdb4bcSmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 4594a8fdb4bcSmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 4595a8fdb4bcSmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim 4596a8fdb4bcSmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 4597a8fdb4bcSmrgexec_prefix!$exec_prefix$ac_delim 4598a8fdb4bcSmrgprefix!$prefix$ac_delim 4599a8fdb4bcSmrgprogram_transform_name!$program_transform_name$ac_delim 4600a8fdb4bcSmrgbindir!$bindir$ac_delim 4601a8fdb4bcSmrgsbindir!$sbindir$ac_delim 4602a8fdb4bcSmrglibexecdir!$libexecdir$ac_delim 4603a8fdb4bcSmrgdatarootdir!$datarootdir$ac_delim 4604a8fdb4bcSmrgdatadir!$datadir$ac_delim 4605a8fdb4bcSmrgsysconfdir!$sysconfdir$ac_delim 4606a8fdb4bcSmrgsharedstatedir!$sharedstatedir$ac_delim 4607a8fdb4bcSmrglocalstatedir!$localstatedir$ac_delim 4608a8fdb4bcSmrgincludedir!$includedir$ac_delim 4609a8fdb4bcSmrgoldincludedir!$oldincludedir$ac_delim 4610a8fdb4bcSmrgdocdir!$docdir$ac_delim 4611a8fdb4bcSmrginfodir!$infodir$ac_delim 4612a8fdb4bcSmrghtmldir!$htmldir$ac_delim 4613a8fdb4bcSmrgdvidir!$dvidir$ac_delim 4614a8fdb4bcSmrgpdfdir!$pdfdir$ac_delim 4615a8fdb4bcSmrgpsdir!$psdir$ac_delim 4616a8fdb4bcSmrglibdir!$libdir$ac_delim 4617a8fdb4bcSmrglocaledir!$localedir$ac_delim 4618a8fdb4bcSmrgmandir!$mandir$ac_delim 4619a8fdb4bcSmrgDEFS!$DEFS$ac_delim 4620a8fdb4bcSmrgECHO_C!$ECHO_C$ac_delim 4621a8fdb4bcSmrgECHO_N!$ECHO_N$ac_delim 4622a8fdb4bcSmrgECHO_T!$ECHO_T$ac_delim 4623a8fdb4bcSmrgLIBS!$LIBS$ac_delim 4624a8fdb4bcSmrgbuild_alias!$build_alias$ac_delim 4625a8fdb4bcSmrghost_alias!$host_alias$ac_delim 4626a8fdb4bcSmrgtarget_alias!$target_alias$ac_delim 4627a8fdb4bcSmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 4628a8fdb4bcSmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 4629a8fdb4bcSmrgINSTALL_DATA!$INSTALL_DATA$ac_delim 4630a8fdb4bcSmrgam__isrc!$am__isrc$ac_delim 4631a8fdb4bcSmrgCYGPATH_W!$CYGPATH_W$ac_delim 4632a8fdb4bcSmrgPACKAGE!$PACKAGE$ac_delim 4633a8fdb4bcSmrgVERSION!$VERSION$ac_delim 4634a8fdb4bcSmrgACLOCAL!$ACLOCAL$ac_delim 4635a8fdb4bcSmrgAUTOCONF!$AUTOCONF$ac_delim 4636a8fdb4bcSmrgAUTOMAKE!$AUTOMAKE$ac_delim 4637a8fdb4bcSmrgAUTOHEADER!$AUTOHEADER$ac_delim 4638a8fdb4bcSmrgMAKEINFO!$MAKEINFO$ac_delim 4639a8fdb4bcSmrginstall_sh!$install_sh$ac_delim 4640a8fdb4bcSmrgSTRIP!$STRIP$ac_delim 4641a8fdb4bcSmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 4642a8fdb4bcSmrgmkdir_p!$mkdir_p$ac_delim 4643a8fdb4bcSmrgAWK!$AWK$ac_delim 4644a8fdb4bcSmrgSET_MAKE!$SET_MAKE$ac_delim 4645a8fdb4bcSmrgam__leading_dot!$am__leading_dot$ac_delim 4646a8fdb4bcSmrgAMTAR!$AMTAR$ac_delim 4647a8fdb4bcSmrgam__tar!$am__tar$ac_delim 4648a8fdb4bcSmrgam__untar!$am__untar$ac_delim 4649a8fdb4bcSmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 4650a8fdb4bcSmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 4651a8fdb4bcSmrgMAINT!$MAINT$ac_delim 4652a8fdb4bcSmrgCC!$CC$ac_delim 4653a8fdb4bcSmrgCFLAGS!$CFLAGS$ac_delim 4654a8fdb4bcSmrgLDFLAGS!$LDFLAGS$ac_delim 4655a8fdb4bcSmrgCPPFLAGS!$CPPFLAGS$ac_delim 4656a8fdb4bcSmrgac_ct_CC!$ac_ct_CC$ac_delim 4657a8fdb4bcSmrgEXEEXT!$EXEEXT$ac_delim 4658a8fdb4bcSmrgOBJEXT!$OBJEXT$ac_delim 4659a8fdb4bcSmrgDEPDIR!$DEPDIR$ac_delim 4660a8fdb4bcSmrgam__include!$am__include$ac_delim 4661a8fdb4bcSmrgam__quote!$am__quote$ac_delim 4662a8fdb4bcSmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim 4663a8fdb4bcSmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim 4664a8fdb4bcSmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 4665a8fdb4bcSmrgCCDEPMODE!$CCDEPMODE$ac_delim 4666a8fdb4bcSmrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 4667a8fdb4bcSmrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 4668a8fdb4bcSmrgbuild!$build$ac_delim 4669a8fdb4bcSmrgbuild_cpu!$build_cpu$ac_delim 4670a8fdb4bcSmrgbuild_vendor!$build_vendor$ac_delim 4671a8fdb4bcSmrgbuild_os!$build_os$ac_delim 4672a8fdb4bcSmrghost!$host$ac_delim 4673a8fdb4bcSmrghost_cpu!$host_cpu$ac_delim 4674a8fdb4bcSmrghost_vendor!$host_vendor$ac_delim 4675a8fdb4bcSmrghost_os!$host_os$ac_delim 4676a8fdb4bcSmrgLOCALEALIASFILE!$LOCALEALIASFILE$ac_delim 4677a8fdb4bcSmrgPKG_CONFIG!$PKG_CONFIG$ac_delim 4678a8fdb4bcSmrgLUIT_CFLAGS!$LUIT_CFLAGS$ac_delim 4679a8fdb4bcSmrgLUIT_LIBS!$LUIT_LIBS$ac_delim 4680a8fdb4bcSmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 4681a8fdb4bcSmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 4682a8fdb4bcSmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 4683a8fdb4bcSmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 4684a8fdb4bcSmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 4685a8fdb4bcSmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 4686a8fdb4bcSmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim 4687a8fdb4bcSmrg_ACEOF 4688a8fdb4bcSmrg 4689a8fdb4bcSmrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 4690a8fdb4bcSmrg break 4691a8fdb4bcSmrg elif $ac_last_try; then 4692a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4693a8fdb4bcSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4694a8fdb4bcSmrg { (exit 1); exit 1; }; } 4695a8fdb4bcSmrg else 4696a8fdb4bcSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4697a8fdb4bcSmrg fi 4698a8fdb4bcSmrgdone 4699a8fdb4bcSmrg 4700a8fdb4bcSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4701a8fdb4bcSmrgif test -n "$ac_eof"; then 4702a8fdb4bcSmrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4703a8fdb4bcSmrg ac_eof=`expr $ac_eof + 1` 4704a8fdb4bcSmrgfi 4705a8fdb4bcSmrg 4706a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4707a8fdb4bcSmrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 4708a8fdb4bcSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4709a8fdb4bcSmrg_ACEOF 4710a8fdb4bcSmrgsed ' 4711a8fdb4bcSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4712a8fdb4bcSmrgs/^/s,@/; s/!/@,|#_!!_#|/ 4713a8fdb4bcSmrg:n 4714a8fdb4bcSmrgt n 4715a8fdb4bcSmrgs/'"$ac_delim"'$/,g/; t 4716a8fdb4bcSmrgs/$/\\/; p 4717a8fdb4bcSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4718a8fdb4bcSmrg' >>$CONFIG_STATUS <conf$$subs.sed 4719a8fdb4bcSmrgrm -f conf$$subs.sed 4720a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4721a8fdb4bcSmrgCEOF$ac_eof 4722a8fdb4bcSmrg_ACEOF 4723a8fdb4bcSmrg 4724a8fdb4bcSmrg 4725a8fdb4bcSmrgac_delim='%!_!# ' 4726a8fdb4bcSmrgfor ac_last_try in false false false false false :; do 4727a8fdb4bcSmrg cat >conf$$subs.sed <<_ACEOF 4728a8fdb4bcSmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 4729a8fdb4bcSmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 4730a8fdb4bcSmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 4731a8fdb4bcSmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 4732a8fdb4bcSmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 4733a8fdb4bcSmrgLIBOBJS!$LIBOBJS$ac_delim 4734a8fdb4bcSmrgLTLIBOBJS!$LTLIBOBJS$ac_delim 4735a8fdb4bcSmrg_ACEOF 4736a8fdb4bcSmrg 4737a8fdb4bcSmrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then 4738a8fdb4bcSmrg break 4739a8fdb4bcSmrg elif $ac_last_try; then 4740a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 4741a8fdb4bcSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 4742a8fdb4bcSmrg { (exit 1); exit 1; }; } 4743a8fdb4bcSmrg else 4744a8fdb4bcSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4745a8fdb4bcSmrg fi 4746a8fdb4bcSmrgdone 4747a8fdb4bcSmrg 4748a8fdb4bcSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 4749a8fdb4bcSmrgif test -n "$ac_eof"; then 4750a8fdb4bcSmrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 4751a8fdb4bcSmrg ac_eof=`expr $ac_eof + 1` 4752a8fdb4bcSmrgfi 4753a8fdb4bcSmrg 4754a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4755a8fdb4bcSmrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 4756a8fdb4bcSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 4757a8fdb4bcSmrg_ACEOF 4758a8fdb4bcSmrgsed ' 4759a8fdb4bcSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 4760a8fdb4bcSmrgs/^/s,@/; s/!/@,|#_!!_#|/ 4761a8fdb4bcSmrg:n 4762a8fdb4bcSmrgt n 4763a8fdb4bcSmrgs/'"$ac_delim"'$/,g/; t 4764a8fdb4bcSmrgs/$/\\/; p 4765a8fdb4bcSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 4766a8fdb4bcSmrg' >>$CONFIG_STATUS <conf$$subs.sed 4767a8fdb4bcSmrgrm -f conf$$subs.sed 4768a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4769a8fdb4bcSmrg:end 4770a8fdb4bcSmrgs/|#_!!_#|//g 4771a8fdb4bcSmrgCEOF$ac_eof 4772a8fdb4bcSmrg_ACEOF 4773a8fdb4bcSmrg 4774a8fdb4bcSmrg 4775a8fdb4bcSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 4776a8fdb4bcSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 4777a8fdb4bcSmrg# trailing colons and then remove the whole line if VPATH becomes empty 4778a8fdb4bcSmrg# (actually we leave an empty line to preserve line numbers). 4779a8fdb4bcSmrgif test "x$srcdir" = x.; then 4780a8fdb4bcSmrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4781a8fdb4bcSmrgs/:*\$(srcdir):*/:/ 4782a8fdb4bcSmrgs/:*\${srcdir}:*/:/ 4783a8fdb4bcSmrgs/:*@srcdir@:*/:/ 4784a8fdb4bcSmrgs/^\([^=]*=[ ]*\):*/\1/ 4785a8fdb4bcSmrgs/:*$// 4786a8fdb4bcSmrgs/^[^=]*=[ ]*$// 4787a8fdb4bcSmrg}' 4788a8fdb4bcSmrgfi 4789a8fdb4bcSmrg 4790a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 4791a8fdb4bcSmrgfi # test -n "$CONFIG_FILES" 4792a8fdb4bcSmrg 4793a8fdb4bcSmrg 4794a8fdb4bcSmrgfor ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 4795a8fdb4bcSmrgdo 4796a8fdb4bcSmrg case $ac_tag in 4797a8fdb4bcSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 4798a8fdb4bcSmrg esac 4799a8fdb4bcSmrg case $ac_mode$ac_tag in 4800a8fdb4bcSmrg :[FHL]*:*);; 4801a8fdb4bcSmrg :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 4802a8fdb4bcSmrgecho "$as_me: error: Invalid tag $ac_tag." >&2;} 4803a8fdb4bcSmrg { (exit 1); exit 1; }; };; 4804a8fdb4bcSmrg :[FH]-) ac_tag=-:-;; 4805a8fdb4bcSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4806a8fdb4bcSmrg esac 4807a8fdb4bcSmrg ac_save_IFS=$IFS 4808a8fdb4bcSmrg IFS=: 4809a8fdb4bcSmrg set x $ac_tag 4810a8fdb4bcSmrg IFS=$ac_save_IFS 4811a8fdb4bcSmrg shift 4812a8fdb4bcSmrg ac_file=$1 4813a8fdb4bcSmrg shift 4814a8fdb4bcSmrg 4815a8fdb4bcSmrg case $ac_mode in 4816a8fdb4bcSmrg :L) ac_source=$1;; 4817a8fdb4bcSmrg :[FH]) 4818a8fdb4bcSmrg ac_file_inputs= 4819a8fdb4bcSmrg for ac_f 4820a8fdb4bcSmrg do 4821a8fdb4bcSmrg case $ac_f in 4822a8fdb4bcSmrg -) ac_f="$tmp/stdin";; 4823a8fdb4bcSmrg *) # Look for the file first in the build tree, then in the source tree 4824a8fdb4bcSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 4825a8fdb4bcSmrg # because $ac_f cannot contain `:'. 4826a8fdb4bcSmrg test -f "$ac_f" || 4827a8fdb4bcSmrg case $ac_f in 4828a8fdb4bcSmrg [\\/$]*) false;; 4829a8fdb4bcSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4830a8fdb4bcSmrg esac || 4831a8fdb4bcSmrg { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 4832a8fdb4bcSmrgecho "$as_me: error: cannot find input file: $ac_f" >&2;} 4833a8fdb4bcSmrg { (exit 1); exit 1; }; };; 4834a8fdb4bcSmrg esac 4835a8fdb4bcSmrg ac_file_inputs="$ac_file_inputs $ac_f" 4836a8fdb4bcSmrg done 4837a8fdb4bcSmrg 4838a8fdb4bcSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 4839a8fdb4bcSmrg # use $as_me), people would be surprised to read: 4840a8fdb4bcSmrg # /* config.h. Generated by config.status. */ 4841a8fdb4bcSmrg configure_input="Generated from "`IFS=: 4842a8fdb4bcSmrg echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 4843a8fdb4bcSmrg if test x"$ac_file" != x-; then 4844a8fdb4bcSmrg configure_input="$ac_file. $configure_input" 4845a8fdb4bcSmrg { echo "$as_me:$LINENO: creating $ac_file" >&5 4846a8fdb4bcSmrgecho "$as_me: creating $ac_file" >&6;} 4847a8fdb4bcSmrg fi 4848a8fdb4bcSmrg 4849a8fdb4bcSmrg case $ac_tag in 4850a8fdb4bcSmrg *:-:* | *:-) cat >"$tmp/stdin";; 4851a8fdb4bcSmrg esac 4852a8fdb4bcSmrg ;; 4853a8fdb4bcSmrg esac 4854a8fdb4bcSmrg 4855a8fdb4bcSmrg ac_dir=`$as_dirname -- "$ac_file" || 4856a8fdb4bcSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4857a8fdb4bcSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 4858a8fdb4bcSmrg X"$ac_file" : 'X\(//\)$' \| \ 4859a8fdb4bcSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4860a8fdb4bcSmrgecho X"$ac_file" | 4861a8fdb4bcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4862a8fdb4bcSmrg s//\1/ 4863a8fdb4bcSmrg q 4864a8fdb4bcSmrg } 4865a8fdb4bcSmrg /^X\(\/\/\)[^/].*/{ 4866a8fdb4bcSmrg s//\1/ 4867a8fdb4bcSmrg q 4868a8fdb4bcSmrg } 4869a8fdb4bcSmrg /^X\(\/\/\)$/{ 4870a8fdb4bcSmrg s//\1/ 4871a8fdb4bcSmrg q 4872a8fdb4bcSmrg } 4873a8fdb4bcSmrg /^X\(\/\).*/{ 4874a8fdb4bcSmrg s//\1/ 4875a8fdb4bcSmrg q 4876a8fdb4bcSmrg } 4877a8fdb4bcSmrg s/.*/./; q'` 4878a8fdb4bcSmrg { as_dir="$ac_dir" 4879a8fdb4bcSmrg case $as_dir in #( 4880a8fdb4bcSmrg -*) as_dir=./$as_dir;; 4881a8fdb4bcSmrg esac 4882a8fdb4bcSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 4883a8fdb4bcSmrg as_dirs= 4884a8fdb4bcSmrg while :; do 4885a8fdb4bcSmrg case $as_dir in #( 4886a8fdb4bcSmrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 4887a8fdb4bcSmrg *) as_qdir=$as_dir;; 4888a8fdb4bcSmrg esac 4889a8fdb4bcSmrg as_dirs="'$as_qdir' $as_dirs" 4890a8fdb4bcSmrg as_dir=`$as_dirname -- "$as_dir" || 4891a8fdb4bcSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4892a8fdb4bcSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 4893a8fdb4bcSmrg X"$as_dir" : 'X\(//\)$' \| \ 4894a8fdb4bcSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4895a8fdb4bcSmrgecho X"$as_dir" | 4896a8fdb4bcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4897a8fdb4bcSmrg s//\1/ 4898a8fdb4bcSmrg q 4899a8fdb4bcSmrg } 4900a8fdb4bcSmrg /^X\(\/\/\)[^/].*/{ 4901a8fdb4bcSmrg s//\1/ 4902a8fdb4bcSmrg q 4903a8fdb4bcSmrg } 4904a8fdb4bcSmrg /^X\(\/\/\)$/{ 4905a8fdb4bcSmrg s//\1/ 4906a8fdb4bcSmrg q 4907a8fdb4bcSmrg } 4908a8fdb4bcSmrg /^X\(\/\).*/{ 4909a8fdb4bcSmrg s//\1/ 4910a8fdb4bcSmrg q 4911a8fdb4bcSmrg } 4912a8fdb4bcSmrg s/.*/./; q'` 4913a8fdb4bcSmrg test -d "$as_dir" && break 4914a8fdb4bcSmrg done 4915a8fdb4bcSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 4916a8fdb4bcSmrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 4917a8fdb4bcSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 4918a8fdb4bcSmrg { (exit 1); exit 1; }; }; } 4919a8fdb4bcSmrg ac_builddir=. 4920a8fdb4bcSmrg 4921a8fdb4bcSmrgcase "$ac_dir" in 4922a8fdb4bcSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4923a8fdb4bcSmrg*) 4924a8fdb4bcSmrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4925a8fdb4bcSmrg # A ".." for each directory in $ac_dir_suffix. 4926a8fdb4bcSmrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 4927a8fdb4bcSmrg case $ac_top_builddir_sub in 4928a8fdb4bcSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4929a8fdb4bcSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4930a8fdb4bcSmrg esac ;; 4931a8fdb4bcSmrgesac 4932a8fdb4bcSmrgac_abs_top_builddir=$ac_pwd 4933a8fdb4bcSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 4934a8fdb4bcSmrg# for backward compatibility: 4935a8fdb4bcSmrgac_top_builddir=$ac_top_build_prefix 4936a8fdb4bcSmrg 4937a8fdb4bcSmrgcase $srcdir in 4938a8fdb4bcSmrg .) # We are building in place. 4939a8fdb4bcSmrg ac_srcdir=. 4940a8fdb4bcSmrg ac_top_srcdir=$ac_top_builddir_sub 4941a8fdb4bcSmrg ac_abs_top_srcdir=$ac_pwd ;; 4942a8fdb4bcSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 4943a8fdb4bcSmrg ac_srcdir=$srcdir$ac_dir_suffix; 4944a8fdb4bcSmrg ac_top_srcdir=$srcdir 4945a8fdb4bcSmrg ac_abs_top_srcdir=$srcdir ;; 4946a8fdb4bcSmrg *) # Relative name. 4947a8fdb4bcSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4948a8fdb4bcSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 4949a8fdb4bcSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4950a8fdb4bcSmrgesac 4951a8fdb4bcSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4952a8fdb4bcSmrg 4953a8fdb4bcSmrg 4954a8fdb4bcSmrg case $ac_mode in 4955a8fdb4bcSmrg :F) 4956a8fdb4bcSmrg # 4957a8fdb4bcSmrg # CONFIG_FILE 4958a8fdb4bcSmrg # 4959a8fdb4bcSmrg 4960a8fdb4bcSmrg case $INSTALL in 4961a8fdb4bcSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4962a8fdb4bcSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4963a8fdb4bcSmrg esac 4964a8fdb4bcSmrg ac_MKDIR_P=$MKDIR_P 4965a8fdb4bcSmrg case $MKDIR_P in 4966a8fdb4bcSmrg [\\/$]* | ?:[\\/]* ) ;; 4967a8fdb4bcSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 4968a8fdb4bcSmrg esac 4969a8fdb4bcSmrg_ACEOF 4970a8fdb4bcSmrg 4971a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 4972a8fdb4bcSmrg# If the template does not know about datarootdir, expand it. 4973a8fdb4bcSmrg# FIXME: This hack should be removed a few years after 2.60. 4974a8fdb4bcSmrgac_datarootdir_hack=; ac_datarootdir_seen= 4975a8fdb4bcSmrg 4976a8fdb4bcSmrgcase `sed -n '/datarootdir/ { 4977a8fdb4bcSmrg p 4978a8fdb4bcSmrg q 4979a8fdb4bcSmrg} 4980a8fdb4bcSmrg/@datadir@/p 4981a8fdb4bcSmrg/@docdir@/p 4982a8fdb4bcSmrg/@infodir@/p 4983a8fdb4bcSmrg/@localedir@/p 4984a8fdb4bcSmrg/@mandir@/p 4985a8fdb4bcSmrg' $ac_file_inputs` in 4986a8fdb4bcSmrg*datarootdir*) ac_datarootdir_seen=yes;; 4987a8fdb4bcSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4988a8fdb4bcSmrg { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4989a8fdb4bcSmrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4990a8fdb4bcSmrg_ACEOF 4991a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 4992a8fdb4bcSmrg ac_datarootdir_hack=' 4993a8fdb4bcSmrg s&@datadir@&$datadir&g 4994a8fdb4bcSmrg s&@docdir@&$docdir&g 4995a8fdb4bcSmrg s&@infodir@&$infodir&g 4996a8fdb4bcSmrg s&@localedir@&$localedir&g 4997a8fdb4bcSmrg s&@mandir@&$mandir&g 4998a8fdb4bcSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 4999a8fdb4bcSmrgesac 5000a8fdb4bcSmrg_ACEOF 5001a8fdb4bcSmrg 5002a8fdb4bcSmrg# Neutralize VPATH when `$srcdir' = `.'. 5003a8fdb4bcSmrg# Shell code in configure.ac might set extrasub. 5004a8fdb4bcSmrg# FIXME: do we really want to maintain this feature? 5005a8fdb4bcSmrgcat >>$CONFIG_STATUS <<_ACEOF 5006a8fdb4bcSmrg sed "$ac_vpsub 5007a8fdb4bcSmrg$extrasub 5008a8fdb4bcSmrg_ACEOF 5009a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 5010a8fdb4bcSmrg:t 5011a8fdb4bcSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5012a8fdb4bcSmrgs&@configure_input@&$configure_input&;t t 5013a8fdb4bcSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 5014a8fdb4bcSmrgs&@srcdir@&$ac_srcdir&;t t 5015a8fdb4bcSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 5016a8fdb4bcSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 5017a8fdb4bcSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5018a8fdb4bcSmrgs&@builddir@&$ac_builddir&;t t 5019a8fdb4bcSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 5020a8fdb4bcSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5021a8fdb4bcSmrgs&@INSTALL@&$ac_INSTALL&;t t 5022a8fdb4bcSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 5023a8fdb4bcSmrg$ac_datarootdir_hack 5024a8fdb4bcSmrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 5025a8fdb4bcSmrg 5026a8fdb4bcSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5027a8fdb4bcSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 5028a8fdb4bcSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 5029a8fdb4bcSmrg { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5030a8fdb4bcSmrgwhich seems to be undefined. Please make sure it is defined." >&5 5031a8fdb4bcSmrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5032a8fdb4bcSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 5033a8fdb4bcSmrg 5034a8fdb4bcSmrg rm -f "$tmp/stdin" 5035a8fdb4bcSmrg case $ac_file in 5036a8fdb4bcSmrg -) cat "$tmp/out"; rm -f "$tmp/out";; 5037a8fdb4bcSmrg *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 5038a8fdb4bcSmrg esac 5039a8fdb4bcSmrg ;; 5040a8fdb4bcSmrg :H) 5041a8fdb4bcSmrg # 5042a8fdb4bcSmrg # CONFIG_HEADER 5043a8fdb4bcSmrg # 5044a8fdb4bcSmrg_ACEOF 5045a8fdb4bcSmrg 5046a8fdb4bcSmrg# Transform confdefs.h into a sed script `conftest.defines', that 5047a8fdb4bcSmrg# substitutes the proper values into config.h.in to produce config.h. 5048a8fdb4bcSmrgrm -f conftest.defines conftest.tail 5049a8fdb4bcSmrg# First, append a space to every undef/define line, to ease matching. 5050a8fdb4bcSmrgecho 's/$/ /' >conftest.defines 5051a8fdb4bcSmrg# Then, protect against being on the right side of a sed subst, or in 5052a8fdb4bcSmrg# an unquoted here document, in config.status. If some macros were 5053a8fdb4bcSmrg# called several times there might be several #defines for the same 5054a8fdb4bcSmrg# symbol, which is useless. But do not sort them, since the last 5055a8fdb4bcSmrg# AC_DEFINE must be honored. 5056a8fdb4bcSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5057a8fdb4bcSmrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 5058a8fdb4bcSmrg# NAME is the cpp macro being defined, VALUE is the value it is being given. 5059a8fdb4bcSmrg# PARAMS is the parameter list in the macro definition--in most cases, it's 5060a8fdb4bcSmrg# just an empty string. 5061a8fdb4bcSmrgac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 5062a8fdb4bcSmrgac_dB='\\)[ (].*,\\1define\\2' 5063a8fdb4bcSmrgac_dC=' ' 5064a8fdb4bcSmrgac_dD=' ,' 5065a8fdb4bcSmrg 5066a8fdb4bcSmrguniq confdefs.h | 5067a8fdb4bcSmrg sed -n ' 5068a8fdb4bcSmrg t rset 5069a8fdb4bcSmrg :rset 5070a8fdb4bcSmrg s/^[ ]*#[ ]*define[ ][ ]*// 5071a8fdb4bcSmrg t ok 5072a8fdb4bcSmrg d 5073a8fdb4bcSmrg :ok 5074a8fdb4bcSmrg s/[\\&,]/\\&/g 5075a8fdb4bcSmrg s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 5076a8fdb4bcSmrg s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 5077a8fdb4bcSmrg ' >>conftest.defines 5078a8fdb4bcSmrg 5079a8fdb4bcSmrg# Remove the space that was appended to ease matching. 5080a8fdb4bcSmrg# Then replace #undef with comments. This is necessary, for 5081a8fdb4bcSmrg# example, in the case of _POSIX_SOURCE, which is predefined and required 5082a8fdb4bcSmrg# on some systems where configure will not decide to define it. 5083a8fdb4bcSmrg# (The regexp can be short, since the line contains either #define or #undef.) 5084a8fdb4bcSmrgecho 's/ $// 5085a8fdb4bcSmrgs,^[ #]*u.*,/* & */,' >>conftest.defines 5086a8fdb4bcSmrg 5087a8fdb4bcSmrg# Break up conftest.defines: 5088a8fdb4bcSmrgac_max_sed_lines=50 5089a8fdb4bcSmrg 5090a8fdb4bcSmrg# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 5091a8fdb4bcSmrg# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 5092a8fdb4bcSmrg# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 5093a8fdb4bcSmrg# et cetera. 5094a8fdb4bcSmrgac_in='$ac_file_inputs' 5095a8fdb4bcSmrgac_out='"$tmp/out1"' 5096a8fdb4bcSmrgac_nxt='"$tmp/out2"' 5097a8fdb4bcSmrg 5098a8fdb4bcSmrgwhile : 5099a8fdb4bcSmrgdo 5100a8fdb4bcSmrg # Write a here document: 5101a8fdb4bcSmrg cat >>$CONFIG_STATUS <<_ACEOF 5102a8fdb4bcSmrg # First, check the format of the line: 5103a8fdb4bcSmrg cat >"\$tmp/defines.sed" <<\\CEOF 5104a8fdb4bcSmrg/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 5105a8fdb4bcSmrg/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 5106a8fdb4bcSmrgb 5107a8fdb4bcSmrg:def 5108a8fdb4bcSmrg_ACEOF 5109a8fdb4bcSmrg sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 5110a8fdb4bcSmrg echo 'CEOF 5111a8fdb4bcSmrg sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 5112a8fdb4bcSmrg ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 5113a8fdb4bcSmrg sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 5114a8fdb4bcSmrg grep . conftest.tail >/dev/null || break 5115a8fdb4bcSmrg rm -f conftest.defines 5116a8fdb4bcSmrg mv conftest.tail conftest.defines 5117a8fdb4bcSmrgdone 5118a8fdb4bcSmrgrm -f conftest.defines conftest.tail 5119a8fdb4bcSmrg 5120a8fdb4bcSmrgecho "ac_result=$ac_in" >>$CONFIG_STATUS 5121a8fdb4bcSmrgcat >>$CONFIG_STATUS <<\_ACEOF 5122a8fdb4bcSmrg if test x"$ac_file" != x-; then 5123a8fdb4bcSmrg echo "/* $configure_input */" >"$tmp/config.h" 5124a8fdb4bcSmrg cat "$ac_result" >>"$tmp/config.h" 5125a8fdb4bcSmrg if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 5126a8fdb4bcSmrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 5127a8fdb4bcSmrgecho "$as_me: $ac_file is unchanged" >&6;} 5128a8fdb4bcSmrg else 5129a8fdb4bcSmrg rm -f $ac_file 5130a8fdb4bcSmrg mv "$tmp/config.h" $ac_file 5131a8fdb4bcSmrg fi 5132a8fdb4bcSmrg else 5133a8fdb4bcSmrg echo "/* $configure_input */" 5134a8fdb4bcSmrg cat "$ac_result" 5135a8fdb4bcSmrg fi 5136a8fdb4bcSmrg rm -f "$tmp/out12" 5137a8fdb4bcSmrg# Compute $ac_file's index in $config_headers. 5138a8fdb4bcSmrg_am_arg=$ac_file 5139a8fdb4bcSmrg_am_stamp_count=1 5140a8fdb4bcSmrgfor _am_header in $config_headers :; do 5141a8fdb4bcSmrg case $_am_header in 5142a8fdb4bcSmrg $_am_arg | $_am_arg:* ) 5143a8fdb4bcSmrg break ;; 5144a8fdb4bcSmrg * ) 5145a8fdb4bcSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5146a8fdb4bcSmrg esac 5147a8fdb4bcSmrgdone 5148a8fdb4bcSmrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 5149a8fdb4bcSmrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5150a8fdb4bcSmrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 5151a8fdb4bcSmrg X"$_am_arg" : 'X\(//\)$' \| \ 5152a8fdb4bcSmrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 5153a8fdb4bcSmrgecho X"$_am_arg" | 5154a8fdb4bcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5155a8fdb4bcSmrg s//\1/ 5156a8fdb4bcSmrg q 5157a8fdb4bcSmrg } 5158a8fdb4bcSmrg /^X\(\/\/\)[^/].*/{ 5159a8fdb4bcSmrg s//\1/ 5160a8fdb4bcSmrg q 5161a8fdb4bcSmrg } 5162a8fdb4bcSmrg /^X\(\/\/\)$/{ 5163a8fdb4bcSmrg s//\1/ 5164a8fdb4bcSmrg q 5165a8fdb4bcSmrg } 5166a8fdb4bcSmrg /^X\(\/\).*/{ 5167a8fdb4bcSmrg s//\1/ 5168a8fdb4bcSmrg q 5169a8fdb4bcSmrg } 5170a8fdb4bcSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 5171a8fdb4bcSmrg ;; 5172a8fdb4bcSmrg 5173a8fdb4bcSmrg :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 5174a8fdb4bcSmrgecho "$as_me: executing $ac_file commands" >&6;} 5175a8fdb4bcSmrg ;; 5176a8fdb4bcSmrg esac 5177a8fdb4bcSmrg 5178a8fdb4bcSmrg 5179a8fdb4bcSmrg case $ac_file$ac_mode in 5180a8fdb4bcSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 5181a8fdb4bcSmrg # Strip MF so we end up with the name of the file. 5182a8fdb4bcSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 5183a8fdb4bcSmrg # Check whether this is an Automake generated Makefile or not. 5184a8fdb4bcSmrg # We used to match only the files named `Makefile.in', but 5185a8fdb4bcSmrg # some people rename them; so instead we look at the file content. 5186a8fdb4bcSmrg # Grep'ing the first line is not enough: some people post-process 5187a8fdb4bcSmrg # each Makefile.in and add a new line on top of each file to say so. 5188a8fdb4bcSmrg # Grep'ing the whole file is not good either: AIX grep has a line 5189a8fdb4bcSmrg # limit of 2048, but all sed's we know have understand at least 4000. 5190a8fdb4bcSmrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 5191a8fdb4bcSmrg dirpart=`$as_dirname -- "$mf" || 5192a8fdb4bcSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5193a8fdb4bcSmrg X"$mf" : 'X\(//\)[^/]' \| \ 5194a8fdb4bcSmrg X"$mf" : 'X\(//\)$' \| \ 5195a8fdb4bcSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 5196a8fdb4bcSmrgecho X"$mf" | 5197a8fdb4bcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5198a8fdb4bcSmrg s//\1/ 5199a8fdb4bcSmrg q 5200a8fdb4bcSmrg } 5201a8fdb4bcSmrg /^X\(\/\/\)[^/].*/{ 5202a8fdb4bcSmrg s//\1/ 5203a8fdb4bcSmrg q 5204a8fdb4bcSmrg } 5205a8fdb4bcSmrg /^X\(\/\/\)$/{ 5206a8fdb4bcSmrg s//\1/ 5207a8fdb4bcSmrg q 5208a8fdb4bcSmrg } 5209a8fdb4bcSmrg /^X\(\/\).*/{ 5210a8fdb4bcSmrg s//\1/ 5211a8fdb4bcSmrg q 5212a8fdb4bcSmrg } 5213a8fdb4bcSmrg s/.*/./; q'` 5214a8fdb4bcSmrg else 5215a8fdb4bcSmrg continue 5216a8fdb4bcSmrg fi 5217a8fdb4bcSmrg # Extract the definition of DEPDIR, am__include, and am__quote 5218a8fdb4bcSmrg # from the Makefile without running `make'. 5219a8fdb4bcSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5220a8fdb4bcSmrg test -z "$DEPDIR" && continue 5221a8fdb4bcSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 5222a8fdb4bcSmrg test -z "am__include" && continue 5223a8fdb4bcSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5224a8fdb4bcSmrg # When using ansi2knr, U may be empty or an underscore; expand it 5225a8fdb4bcSmrg U=`sed -n 's/^U = //p' < "$mf"` 5226a8fdb4bcSmrg # Find all dependency output files, they are included files with 5227a8fdb4bcSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 5228a8fdb4bcSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 5229a8fdb4bcSmrg # expansion. 5230a8fdb4bcSmrg for file in `sed -n " 5231a8fdb4bcSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5232a8fdb4bcSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 5233a8fdb4bcSmrg # Make sure the directory exists. 5234a8fdb4bcSmrg test -f "$dirpart/$file" && continue 5235a8fdb4bcSmrg fdir=`$as_dirname -- "$file" || 5236a8fdb4bcSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5237a8fdb4bcSmrg X"$file" : 'X\(//\)[^/]' \| \ 5238a8fdb4bcSmrg X"$file" : 'X\(//\)$' \| \ 5239a8fdb4bcSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 5240a8fdb4bcSmrgecho X"$file" | 5241a8fdb4bcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5242a8fdb4bcSmrg s//\1/ 5243a8fdb4bcSmrg q 5244a8fdb4bcSmrg } 5245a8fdb4bcSmrg /^X\(\/\/\)[^/].*/{ 5246a8fdb4bcSmrg s//\1/ 5247a8fdb4bcSmrg q 5248a8fdb4bcSmrg } 5249a8fdb4bcSmrg /^X\(\/\/\)$/{ 5250a8fdb4bcSmrg s//\1/ 5251a8fdb4bcSmrg q 5252a8fdb4bcSmrg } 5253a8fdb4bcSmrg /^X\(\/\).*/{ 5254a8fdb4bcSmrg s//\1/ 5255a8fdb4bcSmrg q 5256a8fdb4bcSmrg } 5257a8fdb4bcSmrg s/.*/./; q'` 5258a8fdb4bcSmrg { as_dir=$dirpart/$fdir 5259a8fdb4bcSmrg case $as_dir in #( 5260a8fdb4bcSmrg -*) as_dir=./$as_dir;; 5261a8fdb4bcSmrg esac 5262a8fdb4bcSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 5263a8fdb4bcSmrg as_dirs= 5264a8fdb4bcSmrg while :; do 5265a8fdb4bcSmrg case $as_dir in #( 5266a8fdb4bcSmrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 5267a8fdb4bcSmrg *) as_qdir=$as_dir;; 5268a8fdb4bcSmrg esac 5269a8fdb4bcSmrg as_dirs="'$as_qdir' $as_dirs" 5270a8fdb4bcSmrg as_dir=`$as_dirname -- "$as_dir" || 5271a8fdb4bcSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5272a8fdb4bcSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 5273a8fdb4bcSmrg X"$as_dir" : 'X\(//\)$' \| \ 5274a8fdb4bcSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5275a8fdb4bcSmrgecho X"$as_dir" | 5276a8fdb4bcSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5277a8fdb4bcSmrg s//\1/ 5278a8fdb4bcSmrg q 5279a8fdb4bcSmrg } 5280a8fdb4bcSmrg /^X\(\/\/\)[^/].*/{ 5281a8fdb4bcSmrg s//\1/ 5282a8fdb4bcSmrg q 5283a8fdb4bcSmrg } 5284a8fdb4bcSmrg /^X\(\/\/\)$/{ 5285a8fdb4bcSmrg s//\1/ 5286a8fdb4bcSmrg q 5287a8fdb4bcSmrg } 5288a8fdb4bcSmrg /^X\(\/\).*/{ 5289a8fdb4bcSmrg s//\1/ 5290a8fdb4bcSmrg q 5291a8fdb4bcSmrg } 5292a8fdb4bcSmrg s/.*/./; q'` 5293a8fdb4bcSmrg test -d "$as_dir" && break 5294a8fdb4bcSmrg done 5295a8fdb4bcSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 5296a8fdb4bcSmrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 5297a8fdb4bcSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 5298a8fdb4bcSmrg { (exit 1); exit 1; }; }; } 5299a8fdb4bcSmrg # echo "creating $dirpart/$file" 5300a8fdb4bcSmrg echo '# dummy' > "$dirpart/$file" 5301a8fdb4bcSmrg done 5302a8fdb4bcSmrgdone 5303a8fdb4bcSmrg ;; 5304a8fdb4bcSmrg 5305a8fdb4bcSmrg esac 5306a8fdb4bcSmrgdone # for ac_tag 5307a8fdb4bcSmrg 5308a8fdb4bcSmrg 5309a8fdb4bcSmrg{ (exit 0); exit 0; } 5310a8fdb4bcSmrg_ACEOF 5311a8fdb4bcSmrgchmod +x $CONFIG_STATUS 5312a8fdb4bcSmrgac_clean_files=$ac_clean_files_save 5313a8fdb4bcSmrg 5314a8fdb4bcSmrg 5315a8fdb4bcSmrg# configure is writing to config.log, and then calls config.status. 5316a8fdb4bcSmrg# config.status does its own redirection, appending to config.log. 5317a8fdb4bcSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 5318a8fdb4bcSmrg# by configure, so config.status won't be able to write to it; its 5319a8fdb4bcSmrg# output is simply discarded. So we exec the FD to /dev/null, 5320a8fdb4bcSmrg# effectively closing config.log, so it can be properly (re)opened and 5321a8fdb4bcSmrg# appended to by config.status. When coming back to configure, we 5322a8fdb4bcSmrg# need to make the FD available again. 5323a8fdb4bcSmrgif test "$no_create" != yes; then 5324a8fdb4bcSmrg ac_cs_success=: 5325a8fdb4bcSmrg ac_config_status_args= 5326a8fdb4bcSmrg test "$silent" = yes && 5327a8fdb4bcSmrg ac_config_status_args="$ac_config_status_args --quiet" 5328a8fdb4bcSmrg exec 5>/dev/null 5329a8fdb4bcSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5330a8fdb4bcSmrg exec 5>>config.log 5331a8fdb4bcSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5332a8fdb4bcSmrg # would make configure fail if this is the last instruction. 5333a8fdb4bcSmrg $ac_cs_success || { (exit 1); exit 1; } 5334a8fdb4bcSmrgfi 5335a8fdb4bcSmrg 5336