configure revision 72e81212
1a73027baSmrg#! /bin/sh 2a73027baSmrg# Guess values for system-dependent variables and create Makefiles. 372e81212Smrg# Generated by GNU Autoconf 2.61 for xinit 1.1.1. 4a73027baSmrg# 5a73027baSmrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6a73027baSmrg# 7a73027baSmrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8a73027baSmrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9a73027baSmrg# This configure script is free software; the Free Software Foundation 10a73027baSmrg# gives unlimited permission to copy, distribute and modify it. 11a73027baSmrg## --------------------- ## 12a73027baSmrg## M4sh Initialization. ## 13a73027baSmrg## --------------------- ## 14a73027baSmrg 15a73027baSmrg# Be more Bourne compatible 16a73027baSmrgDUALCASE=1; export DUALCASE # for MKS sh 17a73027baSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18a73027baSmrg emulate sh 19a73027baSmrg NULLCMD=: 20a73027baSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21a73027baSmrg # is contrary to our usage. Disable this feature. 22a73027baSmrg alias -g '${1+"$@"}'='"$@"' 23a73027baSmrg setopt NO_GLOB_SUBST 24a73027baSmrgelse 25a73027baSmrg case `(set -o) 2>/dev/null` in 26a73027baSmrg *posix*) set -o posix ;; 27a73027baSmrgesac 28a73027baSmrg 29a73027baSmrgfi 30a73027baSmrg 31a73027baSmrg 32a73027baSmrg 33a73027baSmrg 34a73027baSmrg# PATH needs CR 35a73027baSmrg# Avoid depending upon Character Ranges. 36a73027baSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 37a73027baSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 38a73027baSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 39a73027baSmrgas_cr_digits='0123456789' 40a73027baSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 41a73027baSmrg 42a73027baSmrg# The user is always right. 43a73027baSmrgif test "${PATH_SEPARATOR+set}" != set; then 44a73027baSmrg echo "#! /bin/sh" >conf$$.sh 45a73027baSmrg echo "exit 0" >>conf$$.sh 46a73027baSmrg chmod +x conf$$.sh 47a73027baSmrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48a73027baSmrg PATH_SEPARATOR=';' 49a73027baSmrg else 50a73027baSmrg PATH_SEPARATOR=: 51a73027baSmrg fi 52a73027baSmrg rm -f conf$$.sh 53a73027baSmrgfi 54a73027baSmrg 55a73027baSmrg# Support unset when possible. 56a73027baSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 57a73027baSmrg as_unset=unset 58a73027baSmrgelse 59a73027baSmrg as_unset=false 60a73027baSmrgfi 61a73027baSmrg 62a73027baSmrg 63a73027baSmrg# IFS 64a73027baSmrg# We need space, tab and new line, in precisely that order. Quoting is 65a73027baSmrg# there to prevent editors from complaining about space-tab. 66a73027baSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 67a73027baSmrg# splitting by setting IFS to empty value.) 68a73027baSmrgas_nl=' 69a73027baSmrg' 70a73027baSmrgIFS=" "" $as_nl" 71a73027baSmrg 72a73027baSmrg# Find who we are. Look in the path if we contain no directory separator. 73a73027baSmrgcase $0 in 74a73027baSmrg *[\\/]* ) as_myself=$0 ;; 75a73027baSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 76a73027baSmrgfor as_dir in $PATH 77a73027baSmrgdo 78a73027baSmrg IFS=$as_save_IFS 79a73027baSmrg test -z "$as_dir" && as_dir=. 80a73027baSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 81a73027baSmrgdone 82a73027baSmrgIFS=$as_save_IFS 83a73027baSmrg 84a73027baSmrg ;; 85a73027baSmrgesac 86a73027baSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 87a73027baSmrg# in which case we are not to be found in the path. 88a73027baSmrgif test "x$as_myself" = x; then 89a73027baSmrg as_myself=$0 90a73027baSmrgfi 91a73027baSmrgif test ! -f "$as_myself"; then 92a73027baSmrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 93a73027baSmrg { (exit 1); exit 1; } 94a73027baSmrgfi 95a73027baSmrg 96a73027baSmrg# Work around bugs in pre-3.0 UWIN ksh. 97a73027baSmrgfor as_var in ENV MAIL MAILPATH 98a73027baSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 99a73027baSmrgdone 100a73027baSmrgPS1='$ ' 101a73027baSmrgPS2='> ' 102a73027baSmrgPS4='+ ' 103a73027baSmrg 104a73027baSmrg# NLS nuisances. 105a73027baSmrgfor as_var in \ 106a73027baSmrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 107a73027baSmrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 108a73027baSmrg LC_TELEPHONE LC_TIME 109a73027baSmrgdo 110a73027baSmrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 111a73027baSmrg eval $as_var=C; export $as_var 112a73027baSmrg else 113a73027baSmrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 114a73027baSmrg fi 115a73027baSmrgdone 116a73027baSmrg 117a73027baSmrg# Required to use basename. 118a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 119a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 120a73027baSmrg as_expr=expr 121a73027baSmrgelse 122a73027baSmrg as_expr=false 123a73027baSmrgfi 124a73027baSmrg 125a73027baSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 126a73027baSmrg as_basename=basename 127a73027baSmrgelse 128a73027baSmrg as_basename=false 129a73027baSmrgfi 130a73027baSmrg 131a73027baSmrg 132a73027baSmrg# Name of the executable. 133a73027baSmrgas_me=`$as_basename -- "$0" || 134a73027baSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 135a73027baSmrg X"$0" : 'X\(//\)$' \| \ 136a73027baSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 137a73027baSmrgecho X/"$0" | 138a73027baSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 139a73027baSmrg s//\1/ 140a73027baSmrg q 141a73027baSmrg } 142a73027baSmrg /^X\/\(\/\/\)$/{ 143a73027baSmrg s//\1/ 144a73027baSmrg q 145a73027baSmrg } 146a73027baSmrg /^X\/\(\/\).*/{ 147a73027baSmrg s//\1/ 148a73027baSmrg q 149a73027baSmrg } 150a73027baSmrg s/.*/./; q'` 151a73027baSmrg 152a73027baSmrg# CDPATH. 153a73027baSmrg$as_unset CDPATH 154a73027baSmrg 155a73027baSmrg 156a73027baSmrgif test "x$CONFIG_SHELL" = x; then 157a73027baSmrg if (eval ":") 2>/dev/null; then 158a73027baSmrg as_have_required=yes 159a73027baSmrgelse 160a73027baSmrg as_have_required=no 161a73027baSmrgfi 162a73027baSmrg 163a73027baSmrg if test $as_have_required = yes && (eval ": 164a73027baSmrg(as_func_return () { 165a73027baSmrg (exit \$1) 166a73027baSmrg} 167a73027baSmrgas_func_success () { 168a73027baSmrg as_func_return 0 169a73027baSmrg} 170a73027baSmrgas_func_failure () { 171a73027baSmrg as_func_return 1 172a73027baSmrg} 173a73027baSmrgas_func_ret_success () { 174a73027baSmrg return 0 175a73027baSmrg} 176a73027baSmrgas_func_ret_failure () { 177a73027baSmrg return 1 178a73027baSmrg} 179a73027baSmrg 180a73027baSmrgexitcode=0 181a73027baSmrgif as_func_success; then 182a73027baSmrg : 183a73027baSmrgelse 184a73027baSmrg exitcode=1 185a73027baSmrg echo as_func_success failed. 186a73027baSmrgfi 187a73027baSmrg 188a73027baSmrgif as_func_failure; then 189a73027baSmrg exitcode=1 190a73027baSmrg echo as_func_failure succeeded. 191a73027baSmrgfi 192a73027baSmrg 193a73027baSmrgif as_func_ret_success; then 194a73027baSmrg : 195a73027baSmrgelse 196a73027baSmrg exitcode=1 197a73027baSmrg echo as_func_ret_success failed. 198a73027baSmrgfi 199a73027baSmrg 200a73027baSmrgif as_func_ret_failure; then 201a73027baSmrg exitcode=1 202a73027baSmrg echo as_func_ret_failure succeeded. 203a73027baSmrgfi 204a73027baSmrg 205a73027baSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 206a73027baSmrg : 207a73027baSmrgelse 208a73027baSmrg exitcode=1 209a73027baSmrg echo positional parameters were not saved. 210a73027baSmrgfi 211a73027baSmrg 212a73027baSmrgtest \$exitcode = 0) || { (exit 1); exit 1; } 213a73027baSmrg 214a73027baSmrg( 215a73027baSmrg as_lineno_1=\$LINENO 216a73027baSmrg as_lineno_2=\$LINENO 217a73027baSmrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 218a73027baSmrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 219a73027baSmrg") 2> /dev/null; then 220a73027baSmrg : 221a73027baSmrgelse 222a73027baSmrg as_candidate_shells= 223a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 224a73027baSmrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 225a73027baSmrgdo 226a73027baSmrg IFS=$as_save_IFS 227a73027baSmrg test -z "$as_dir" && as_dir=. 228a73027baSmrg case $as_dir in 229a73027baSmrg /*) 230a73027baSmrg for as_base in sh bash ksh sh5; do 231a73027baSmrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 232a73027baSmrg done;; 233a73027baSmrg esac 234a73027baSmrgdone 235a73027baSmrgIFS=$as_save_IFS 236a73027baSmrg 237a73027baSmrg 238a73027baSmrg for as_shell in $as_candidate_shells $SHELL; do 239a73027baSmrg # Try only shells that exist, to save several forks. 240a73027baSmrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 241a73027baSmrg { ("$as_shell") 2> /dev/null <<\_ASEOF 242a73027baSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 243a73027baSmrg emulate sh 244a73027baSmrg NULLCMD=: 245a73027baSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 246a73027baSmrg # is contrary to our usage. Disable this feature. 247a73027baSmrg alias -g '${1+"$@"}'='"$@"' 248a73027baSmrg setopt NO_GLOB_SUBST 249a73027baSmrgelse 250a73027baSmrg case `(set -o) 2>/dev/null` in 251a73027baSmrg *posix*) set -o posix ;; 252a73027baSmrgesac 253a73027baSmrg 254a73027baSmrgfi 255a73027baSmrg 256a73027baSmrg 257a73027baSmrg: 258a73027baSmrg_ASEOF 259a73027baSmrg}; then 260a73027baSmrg CONFIG_SHELL=$as_shell 261a73027baSmrg as_have_required=yes 262a73027baSmrg if { "$as_shell" 2> /dev/null <<\_ASEOF 263a73027baSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 264a73027baSmrg emulate sh 265a73027baSmrg NULLCMD=: 266a73027baSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 267a73027baSmrg # is contrary to our usage. Disable this feature. 268a73027baSmrg alias -g '${1+"$@"}'='"$@"' 269a73027baSmrg setopt NO_GLOB_SUBST 270a73027baSmrgelse 271a73027baSmrg case `(set -o) 2>/dev/null` in 272a73027baSmrg *posix*) set -o posix ;; 273a73027baSmrgesac 274a73027baSmrg 275a73027baSmrgfi 276a73027baSmrg 277a73027baSmrg 278a73027baSmrg: 279a73027baSmrg(as_func_return () { 280a73027baSmrg (exit $1) 281a73027baSmrg} 282a73027baSmrgas_func_success () { 283a73027baSmrg as_func_return 0 284a73027baSmrg} 285a73027baSmrgas_func_failure () { 286a73027baSmrg as_func_return 1 287a73027baSmrg} 288a73027baSmrgas_func_ret_success () { 289a73027baSmrg return 0 290a73027baSmrg} 291a73027baSmrgas_func_ret_failure () { 292a73027baSmrg return 1 293a73027baSmrg} 294a73027baSmrg 295a73027baSmrgexitcode=0 296a73027baSmrgif as_func_success; then 297a73027baSmrg : 298a73027baSmrgelse 299a73027baSmrg exitcode=1 300a73027baSmrg echo as_func_success failed. 301a73027baSmrgfi 302a73027baSmrg 303a73027baSmrgif as_func_failure; then 304a73027baSmrg exitcode=1 305a73027baSmrg echo as_func_failure succeeded. 306a73027baSmrgfi 307a73027baSmrg 308a73027baSmrgif as_func_ret_success; then 309a73027baSmrg : 310a73027baSmrgelse 311a73027baSmrg exitcode=1 312a73027baSmrg echo as_func_ret_success failed. 313a73027baSmrgfi 314a73027baSmrg 315a73027baSmrgif as_func_ret_failure; then 316a73027baSmrg exitcode=1 317a73027baSmrg echo as_func_ret_failure succeeded. 318a73027baSmrgfi 319a73027baSmrg 320a73027baSmrgif ( set x; as_func_ret_success y && test x = "$1" ); then 321a73027baSmrg : 322a73027baSmrgelse 323a73027baSmrg exitcode=1 324a73027baSmrg echo positional parameters were not saved. 325a73027baSmrgfi 326a73027baSmrg 327a73027baSmrgtest $exitcode = 0) || { (exit 1); exit 1; } 328a73027baSmrg 329a73027baSmrg( 330a73027baSmrg as_lineno_1=$LINENO 331a73027baSmrg as_lineno_2=$LINENO 332a73027baSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 333a73027baSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 334a73027baSmrg 335a73027baSmrg_ASEOF 336a73027baSmrg}; then 337a73027baSmrg break 338a73027baSmrgfi 339a73027baSmrg 340a73027baSmrgfi 341a73027baSmrg 342a73027baSmrg done 343a73027baSmrg 344a73027baSmrg if test "x$CONFIG_SHELL" != x; then 345a73027baSmrg for as_var in BASH_ENV ENV 346a73027baSmrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 347a73027baSmrg done 348a73027baSmrg export CONFIG_SHELL 349a73027baSmrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 350a73027baSmrgfi 351a73027baSmrg 352a73027baSmrg 353a73027baSmrg if test $as_have_required = no; then 354a73027baSmrg echo This script requires a shell more modern than all the 355a73027baSmrg echo shells that I found on your system. Please install a 356a73027baSmrg echo modern shell, or manually run the script under such a 357a73027baSmrg echo shell if you do have one. 358a73027baSmrg { (exit 1); exit 1; } 359a73027baSmrgfi 360a73027baSmrg 361a73027baSmrg 362a73027baSmrgfi 363a73027baSmrg 364a73027baSmrgfi 365a73027baSmrg 366a73027baSmrg 367a73027baSmrg 368a73027baSmrg(eval "as_func_return () { 369a73027baSmrg (exit \$1) 370a73027baSmrg} 371a73027baSmrgas_func_success () { 372a73027baSmrg as_func_return 0 373a73027baSmrg} 374a73027baSmrgas_func_failure () { 375a73027baSmrg as_func_return 1 376a73027baSmrg} 377a73027baSmrgas_func_ret_success () { 378a73027baSmrg return 0 379a73027baSmrg} 380a73027baSmrgas_func_ret_failure () { 381a73027baSmrg return 1 382a73027baSmrg} 383a73027baSmrg 384a73027baSmrgexitcode=0 385a73027baSmrgif as_func_success; then 386a73027baSmrg : 387a73027baSmrgelse 388a73027baSmrg exitcode=1 389a73027baSmrg echo as_func_success failed. 390a73027baSmrgfi 391a73027baSmrg 392a73027baSmrgif as_func_failure; then 393a73027baSmrg exitcode=1 394a73027baSmrg echo as_func_failure succeeded. 395a73027baSmrgfi 396a73027baSmrg 397a73027baSmrgif as_func_ret_success; then 398a73027baSmrg : 399a73027baSmrgelse 400a73027baSmrg exitcode=1 401a73027baSmrg echo as_func_ret_success failed. 402a73027baSmrgfi 403a73027baSmrg 404a73027baSmrgif as_func_ret_failure; then 405a73027baSmrg exitcode=1 406a73027baSmrg echo as_func_ret_failure succeeded. 407a73027baSmrgfi 408a73027baSmrg 409a73027baSmrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 410a73027baSmrg : 411a73027baSmrgelse 412a73027baSmrg exitcode=1 413a73027baSmrg echo positional parameters were not saved. 414a73027baSmrgfi 415a73027baSmrg 416a73027baSmrgtest \$exitcode = 0") || { 417a73027baSmrg echo No shell found that supports shell functions. 418a73027baSmrg echo Please tell autoconf@gnu.org about your system, 419a73027baSmrg echo including any error possibly output before this 420a73027baSmrg echo message 421a73027baSmrg} 422a73027baSmrg 423a73027baSmrg 424a73027baSmrg 425a73027baSmrg as_lineno_1=$LINENO 426a73027baSmrg as_lineno_2=$LINENO 427a73027baSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 428a73027baSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 429a73027baSmrg 430a73027baSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 431a73027baSmrg # uniformly replaced by the line number. The first 'sed' inserts a 432a73027baSmrg # line-number line after each line using $LINENO; the second 'sed' 433a73027baSmrg # does the real work. The second script uses 'N' to pair each 434a73027baSmrg # line-number line with the line containing $LINENO, and appends 435a73027baSmrg # trailing '-' during substitution so that $LINENO is not a special 436a73027baSmrg # case at line end. 437a73027baSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 438a73027baSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 439a73027baSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 440a73027baSmrg sed -n ' 441a73027baSmrg p 442a73027baSmrg /[$]LINENO/= 443a73027baSmrg ' <$as_myself | 444a73027baSmrg sed ' 445a73027baSmrg s/[$]LINENO.*/&-/ 446a73027baSmrg t lineno 447a73027baSmrg b 448a73027baSmrg :lineno 449a73027baSmrg N 450a73027baSmrg :loop 451a73027baSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 452a73027baSmrg t loop 453a73027baSmrg s/-\n.*// 454a73027baSmrg ' >$as_me.lineno && 455a73027baSmrg chmod +x "$as_me.lineno" || 456a73027baSmrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 457a73027baSmrg { (exit 1); exit 1; }; } 458a73027baSmrg 459a73027baSmrg # Don't try to exec as it changes $[0], causing all sort of problems 460a73027baSmrg # (the dirname of $[0] is not the place where we might find the 461a73027baSmrg # original and so on. Autoconf is especially sensitive to this). 462a73027baSmrg . "./$as_me.lineno" 463a73027baSmrg # Exit status is that of the last command. 464a73027baSmrg exit 465a73027baSmrg} 466a73027baSmrg 467a73027baSmrg 468a73027baSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 469a73027baSmrg as_dirname=dirname 470a73027baSmrgelse 471a73027baSmrg as_dirname=false 472a73027baSmrgfi 473a73027baSmrg 474a73027baSmrgECHO_C= ECHO_N= ECHO_T= 475a73027baSmrgcase `echo -n x` in 476a73027baSmrg-n*) 477a73027baSmrg case `echo 'x\c'` in 478a73027baSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 479a73027baSmrg *) ECHO_C='\c';; 480a73027baSmrg esac;; 481a73027baSmrg*) 482a73027baSmrg ECHO_N='-n';; 483a73027baSmrgesac 484a73027baSmrg 485a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 486a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 487a73027baSmrg as_expr=expr 488a73027baSmrgelse 489a73027baSmrg as_expr=false 490a73027baSmrgfi 491a73027baSmrg 492a73027baSmrgrm -f conf$$ conf$$.exe conf$$.file 493a73027baSmrgif test -d conf$$.dir; then 494a73027baSmrg rm -f conf$$.dir/conf$$.file 495a73027baSmrgelse 496a73027baSmrg rm -f conf$$.dir 497a73027baSmrg mkdir conf$$.dir 498a73027baSmrgfi 499a73027baSmrgecho >conf$$.file 500a73027baSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then 501a73027baSmrg as_ln_s='ln -s' 502a73027baSmrg # ... but there are two gotchas: 503a73027baSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 504a73027baSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 505a73027baSmrg # In both cases, we have to default to `cp -p'. 506a73027baSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 507a73027baSmrg as_ln_s='cp -p' 508a73027baSmrgelif ln conf$$.file conf$$ 2>/dev/null; then 509a73027baSmrg as_ln_s=ln 510a73027baSmrgelse 511a73027baSmrg as_ln_s='cp -p' 512a73027baSmrgfi 513a73027baSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 514a73027baSmrgrmdir conf$$.dir 2>/dev/null 515a73027baSmrg 516a73027baSmrgif mkdir -p . 2>/dev/null; then 517a73027baSmrg as_mkdir_p=: 518a73027baSmrgelse 519a73027baSmrg test -d ./-p && rmdir ./-p 520a73027baSmrg as_mkdir_p=false 521a73027baSmrgfi 522a73027baSmrg 523a73027baSmrgif test -x / >/dev/null 2>&1; then 524a73027baSmrg as_test_x='test -x' 525a73027baSmrgelse 526a73027baSmrg if ls -dL / >/dev/null 2>&1; then 527a73027baSmrg as_ls_L_option=L 528a73027baSmrg else 529a73027baSmrg as_ls_L_option= 530a73027baSmrg fi 531a73027baSmrg as_test_x=' 532a73027baSmrg eval sh -c '\'' 533a73027baSmrg if test -d "$1"; then 534a73027baSmrg test -d "$1/."; 535a73027baSmrg else 536a73027baSmrg case $1 in 537a73027baSmrg -*)set "./$1";; 538a73027baSmrg esac; 539a73027baSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 540a73027baSmrg ???[sx]*):;;*)false;;esac;fi 541a73027baSmrg '\'' sh 542a73027baSmrg ' 543a73027baSmrgfi 544a73027baSmrgas_executable_p=$as_test_x 545a73027baSmrg 546a73027baSmrg# Sed expression to map a string onto a valid CPP name. 547a73027baSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 548a73027baSmrg 549a73027baSmrg# Sed expression to map a string onto a valid variable name. 550a73027baSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 551a73027baSmrg 552a73027baSmrg 553a73027baSmrg 554a73027baSmrgexec 7<&0 </dev/null 6>&1 555a73027baSmrg 556a73027baSmrg# Name of the host. 557a73027baSmrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 558a73027baSmrg# so uname gets run too. 559a73027baSmrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 560a73027baSmrg 561a73027baSmrg# 562a73027baSmrg# Initializations. 563a73027baSmrg# 564a73027baSmrgac_default_prefix=/usr/local 565a73027baSmrgac_clean_files= 566a73027baSmrgac_config_libobj_dir=. 567a73027baSmrgLIBOBJS= 568a73027baSmrgcross_compiling=no 569a73027baSmrgsubdirs= 570a73027baSmrgMFLAGS= 571a73027baSmrgMAKEFLAGS= 572a73027baSmrgSHELL=${CONFIG_SHELL-/bin/sh} 573a73027baSmrg 574a73027baSmrg# Identity of this package. 575a73027baSmrgPACKAGE_NAME='xinit' 576a73027baSmrgPACKAGE_TARNAME='xinit' 57772e81212SmrgPACKAGE_VERSION='1.1.1' 57872e81212SmrgPACKAGE_STRING='xinit 1.1.1' 579a73027baSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 580a73027baSmrg 581a73027baSmrg# Factoring default headers for most tests. 582a73027baSmrgac_includes_default="\ 583a73027baSmrg#include <stdio.h> 584a73027baSmrg#ifdef HAVE_SYS_TYPES_H 585a73027baSmrg# include <sys/types.h> 586a73027baSmrg#endif 587a73027baSmrg#ifdef HAVE_SYS_STAT_H 588a73027baSmrg# include <sys/stat.h> 589a73027baSmrg#endif 590a73027baSmrg#ifdef STDC_HEADERS 591a73027baSmrg# include <stdlib.h> 592a73027baSmrg# include <stddef.h> 593a73027baSmrg#else 594a73027baSmrg# ifdef HAVE_STDLIB_H 595a73027baSmrg# include <stdlib.h> 596a73027baSmrg# endif 597a73027baSmrg#endif 598a73027baSmrg#ifdef HAVE_STRING_H 599a73027baSmrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 600a73027baSmrg# include <memory.h> 601a73027baSmrg# endif 602a73027baSmrg# include <string.h> 603a73027baSmrg#endif 604a73027baSmrg#ifdef HAVE_STRINGS_H 605a73027baSmrg# include <strings.h> 606a73027baSmrg#endif 607a73027baSmrg#ifdef HAVE_INTTYPES_H 608a73027baSmrg# include <inttypes.h> 609a73027baSmrg#endif 610a73027baSmrg#ifdef HAVE_STDINT_H 611a73027baSmrg# include <stdint.h> 612a73027baSmrg#endif 613a73027baSmrg#ifdef HAVE_UNISTD_H 614a73027baSmrg# include <unistd.h> 615a73027baSmrg#endif" 616a73027baSmrg 617a73027baSmrgac_subst_vars='SHELL 618a73027baSmrgPATH_SEPARATOR 619a73027baSmrgPACKAGE_NAME 620a73027baSmrgPACKAGE_TARNAME 621a73027baSmrgPACKAGE_VERSION 622a73027baSmrgPACKAGE_STRING 623a73027baSmrgPACKAGE_BUGREPORT 624a73027baSmrgexec_prefix 625a73027baSmrgprefix 626a73027baSmrgprogram_transform_name 627a73027baSmrgbindir 628a73027baSmrgsbindir 629a73027baSmrglibexecdir 630a73027baSmrgdatarootdir 631a73027baSmrgdatadir 632a73027baSmrgsysconfdir 633a73027baSmrgsharedstatedir 634a73027baSmrglocalstatedir 635a73027baSmrgincludedir 636a73027baSmrgoldincludedir 637a73027baSmrgdocdir 638a73027baSmrginfodir 639a73027baSmrghtmldir 640a73027baSmrgdvidir 641a73027baSmrgpdfdir 642a73027baSmrgpsdir 643a73027baSmrglibdir 644a73027baSmrglocaledir 645a73027baSmrgmandir 646a73027baSmrgDEFS 647a73027baSmrgECHO_C 648a73027baSmrgECHO_N 649a73027baSmrgECHO_T 650a73027baSmrgLIBS 651a73027baSmrgbuild_alias 652a73027baSmrghost_alias 653a73027baSmrgtarget_alias 654a73027baSmrgINSTALL_PROGRAM 655a73027baSmrgINSTALL_SCRIPT 656a73027baSmrgINSTALL_DATA 657a73027baSmrgam__isrc 658a73027baSmrgCYGPATH_W 659a73027baSmrgPACKAGE 660a73027baSmrgVERSION 661a73027baSmrgACLOCAL 662a73027baSmrgAUTOCONF 663a73027baSmrgAUTOMAKE 664a73027baSmrgAUTOHEADER 665a73027baSmrgMAKEINFO 666a73027baSmrginstall_sh 667a73027baSmrgSTRIP 668a73027baSmrgINSTALL_STRIP_PROGRAM 669a73027baSmrgmkdir_p 670a73027baSmrgAWK 671a73027baSmrgSET_MAKE 672a73027baSmrgam__leading_dot 673a73027baSmrgAMTAR 674a73027baSmrgam__tar 675a73027baSmrgam__untar 676a73027baSmrgMAINTAINER_MODE_TRUE 677a73027baSmrgMAINTAINER_MODE_FALSE 678a73027baSmrgMAINT 679a73027baSmrgCC 680a73027baSmrgCFLAGS 681a73027baSmrgLDFLAGS 682a73027baSmrgCPPFLAGS 683a73027baSmrgac_ct_CC 684a73027baSmrgEXEEXT 685a73027baSmrgOBJEXT 686a73027baSmrgDEPDIR 687a73027baSmrgam__include 688a73027baSmrgam__quote 689a73027baSmrgAMDEP_TRUE 690a73027baSmrgAMDEP_FALSE 691a73027baSmrgAMDEPBACKSLASH 692a73027baSmrgCCDEPMODE 693a73027baSmrgam__fastdepCC_TRUE 694a73027baSmrgam__fastdepCC_FALSE 695a73027baSmrgCPP 696a73027baSmrgRAWCPP 697a73027baSmrgRAWCPPFLAGS 698a73027baSmrgSED 699a73027baSmrgbuild 700a73027baSmrgbuild_cpu 701a73027baSmrgbuild_vendor 702a73027baSmrgbuild_os 703a73027baSmrghost 704a73027baSmrghost_cpu 705a73027baSmrghost_vendor 706a73027baSmrghost_os 707a73027baSmrgGREP 708a73027baSmrgEGREP 709a73027baSmrgLAUNCHD 710a73027baSmrglaunchagentsdir 711a73027baSmrglaunchdaemonsdir 712a73027baSmrgLAUNCHD_TRUE 713a73027baSmrgLAUNCHD_FALSE 71472e81212SmrgTIGER_LAUNCHD_TRUE 71572e81212SmrgTIGER_LAUNCHD_FALSE 716a73027baSmrgPKG_CONFIG 717a73027baSmrgXINIT_CFLAGS 718a73027baSmrgXINIT_LIBS 719a73027baSmrgMCOOKIE 720a73027baSmrgSTARTX_COOKIE_FLAGS 721a73027baSmrgSHELL_CMD 722a73027baSmrgARCHMANDEFS 723a73027baSmrgXRDB 724a73027baSmrgXMODMAP 725a73027baSmrgTWM 726a73027baSmrgXCLOCK 727a73027baSmrgXTERM 728a73027baSmrgXSERVER 729a73027baSmrgXAUTH 730a73027baSmrgXINIT 731a73027baSmrgAPP_MAN_SUFFIX 732a73027baSmrgLIB_MAN_SUFFIX 733a73027baSmrgFILE_MAN_SUFFIX 734a73027baSmrgMISC_MAN_SUFFIX 735a73027baSmrgDRIVER_MAN_SUFFIX 736a73027baSmrgADMIN_MAN_SUFFIX 737a73027baSmrgAPP_MAN_DIR 738a73027baSmrgLIB_MAN_DIR 739a73027baSmrgFILE_MAN_DIR 740a73027baSmrgMISC_MAN_DIR 741a73027baSmrgDRIVER_MAN_DIR 742a73027baSmrgADMIN_MAN_DIR 743a73027baSmrgLIBOBJS 744a73027baSmrgLTLIBOBJS' 745a73027baSmrgac_subst_files='' 746a73027baSmrg ac_precious_vars='build_alias 747a73027baSmrghost_alias 748a73027baSmrgtarget_alias 749a73027baSmrgCC 750a73027baSmrgCFLAGS 751a73027baSmrgLDFLAGS 752a73027baSmrgLIBS 753a73027baSmrgCPPFLAGS 754a73027baSmrgCPP 755a73027baSmrgPKG_CONFIG 756a73027baSmrgXINIT_CFLAGS 757a73027baSmrgXINIT_LIBS' 758a73027baSmrg 759a73027baSmrg 760a73027baSmrg# Initialize some variables set by options. 761a73027baSmrgac_init_help= 762a73027baSmrgac_init_version=false 763a73027baSmrg# The variables have the same names as the options, with 764a73027baSmrg# dashes changed to underlines. 765a73027baSmrgcache_file=/dev/null 766a73027baSmrgexec_prefix=NONE 767a73027baSmrgno_create= 768a73027baSmrgno_recursion= 769a73027baSmrgprefix=NONE 770a73027baSmrgprogram_prefix=NONE 771a73027baSmrgprogram_suffix=NONE 772a73027baSmrgprogram_transform_name=s,x,x, 773a73027baSmrgsilent= 774a73027baSmrgsite= 775a73027baSmrgsrcdir= 776a73027baSmrgverbose= 777a73027baSmrgx_includes=NONE 778a73027baSmrgx_libraries=NONE 779a73027baSmrg 780a73027baSmrg# Installation directory options. 781a73027baSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 782a73027baSmrg# and all the variables that are supposed to be based on exec_prefix 783a73027baSmrg# by default will actually change. 784a73027baSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 785a73027baSmrg# (The list follows the same order as the GNU Coding Standards.) 786a73027baSmrgbindir='${exec_prefix}/bin' 787a73027baSmrgsbindir='${exec_prefix}/sbin' 788a73027baSmrglibexecdir='${exec_prefix}/libexec' 789a73027baSmrgdatarootdir='${prefix}/share' 790a73027baSmrgdatadir='${datarootdir}' 791a73027baSmrgsysconfdir='${prefix}/etc' 792a73027baSmrgsharedstatedir='${prefix}/com' 793a73027baSmrglocalstatedir='${prefix}/var' 794a73027baSmrgincludedir='${prefix}/include' 795a73027baSmrgoldincludedir='/usr/include' 796a73027baSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 797a73027baSmrginfodir='${datarootdir}/info' 798a73027baSmrghtmldir='${docdir}' 799a73027baSmrgdvidir='${docdir}' 800a73027baSmrgpdfdir='${docdir}' 801a73027baSmrgpsdir='${docdir}' 802a73027baSmrglibdir='${exec_prefix}/lib' 803a73027baSmrglocaledir='${datarootdir}/locale' 804a73027baSmrgmandir='${datarootdir}/man' 805a73027baSmrg 806a73027baSmrgac_prev= 807a73027baSmrgac_dashdash= 808a73027baSmrgfor ac_option 809a73027baSmrgdo 810a73027baSmrg # If the previous option needs an argument, assign it. 811a73027baSmrg if test -n "$ac_prev"; then 812a73027baSmrg eval $ac_prev=\$ac_option 813a73027baSmrg ac_prev= 814a73027baSmrg continue 815a73027baSmrg fi 816a73027baSmrg 817a73027baSmrg case $ac_option in 818a73027baSmrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 819a73027baSmrg *) ac_optarg=yes ;; 820a73027baSmrg esac 821a73027baSmrg 822a73027baSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 823a73027baSmrg 824a73027baSmrg case $ac_dashdash$ac_option in 825a73027baSmrg --) 826a73027baSmrg ac_dashdash=yes ;; 827a73027baSmrg 828a73027baSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 829a73027baSmrg ac_prev=bindir ;; 830a73027baSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 831a73027baSmrg bindir=$ac_optarg ;; 832a73027baSmrg 833a73027baSmrg -build | --build | --buil | --bui | --bu) 834a73027baSmrg ac_prev=build_alias ;; 835a73027baSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 836a73027baSmrg build_alias=$ac_optarg ;; 837a73027baSmrg 838a73027baSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 839a73027baSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 840a73027baSmrg ac_prev=cache_file ;; 841a73027baSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 842a73027baSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 843a73027baSmrg cache_file=$ac_optarg ;; 844a73027baSmrg 845a73027baSmrg --config-cache | -C) 846a73027baSmrg cache_file=config.cache ;; 847a73027baSmrg 848a73027baSmrg -datadir | --datadir | --datadi | --datad) 849a73027baSmrg ac_prev=datadir ;; 850a73027baSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 851a73027baSmrg datadir=$ac_optarg ;; 852a73027baSmrg 853a73027baSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 854a73027baSmrg | --dataroo | --dataro | --datar) 855a73027baSmrg ac_prev=datarootdir ;; 856a73027baSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 857a73027baSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 858a73027baSmrg datarootdir=$ac_optarg ;; 859a73027baSmrg 860a73027baSmrg -disable-* | --disable-*) 861a73027baSmrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 862a73027baSmrg # Reject names that are not valid shell variable names. 863a73027baSmrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 864a73027baSmrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 865a73027baSmrg { (exit 1); exit 1; }; } 866a73027baSmrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 867a73027baSmrg eval enable_$ac_feature=no ;; 868a73027baSmrg 869a73027baSmrg -docdir | --docdir | --docdi | --doc | --do) 870a73027baSmrg ac_prev=docdir ;; 871a73027baSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 872a73027baSmrg docdir=$ac_optarg ;; 873a73027baSmrg 874a73027baSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 875a73027baSmrg ac_prev=dvidir ;; 876a73027baSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 877a73027baSmrg dvidir=$ac_optarg ;; 878a73027baSmrg 879a73027baSmrg -enable-* | --enable-*) 880a73027baSmrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 881a73027baSmrg # Reject names that are not valid shell variable names. 882a73027baSmrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 883a73027baSmrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 884a73027baSmrg { (exit 1); exit 1; }; } 885a73027baSmrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 886a73027baSmrg eval enable_$ac_feature=\$ac_optarg ;; 887a73027baSmrg 888a73027baSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 889a73027baSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 890a73027baSmrg | --exec | --exe | --ex) 891a73027baSmrg ac_prev=exec_prefix ;; 892a73027baSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 893a73027baSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 894a73027baSmrg | --exec=* | --exe=* | --ex=*) 895a73027baSmrg exec_prefix=$ac_optarg ;; 896a73027baSmrg 897a73027baSmrg -gas | --gas | --ga | --g) 898a73027baSmrg # Obsolete; use --with-gas. 899a73027baSmrg with_gas=yes ;; 900a73027baSmrg 901a73027baSmrg -help | --help | --hel | --he | -h) 902a73027baSmrg ac_init_help=long ;; 903a73027baSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 904a73027baSmrg ac_init_help=recursive ;; 905a73027baSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 906a73027baSmrg ac_init_help=short ;; 907a73027baSmrg 908a73027baSmrg -host | --host | --hos | --ho) 909a73027baSmrg ac_prev=host_alias ;; 910a73027baSmrg -host=* | --host=* | --hos=* | --ho=*) 911a73027baSmrg host_alias=$ac_optarg ;; 912a73027baSmrg 913a73027baSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 914a73027baSmrg ac_prev=htmldir ;; 915a73027baSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 916a73027baSmrg | --ht=*) 917a73027baSmrg htmldir=$ac_optarg ;; 918a73027baSmrg 919a73027baSmrg -includedir | --includedir | --includedi | --included | --include \ 920a73027baSmrg | --includ | --inclu | --incl | --inc) 921a73027baSmrg ac_prev=includedir ;; 922a73027baSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 923a73027baSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 924a73027baSmrg includedir=$ac_optarg ;; 925a73027baSmrg 926a73027baSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 927a73027baSmrg ac_prev=infodir ;; 928a73027baSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 929a73027baSmrg infodir=$ac_optarg ;; 930a73027baSmrg 931a73027baSmrg -libdir | --libdir | --libdi | --libd) 932a73027baSmrg ac_prev=libdir ;; 933a73027baSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 934a73027baSmrg libdir=$ac_optarg ;; 935a73027baSmrg 936a73027baSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 937a73027baSmrg | --libexe | --libex | --libe) 938a73027baSmrg ac_prev=libexecdir ;; 939a73027baSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 940a73027baSmrg | --libexe=* | --libex=* | --libe=*) 941a73027baSmrg libexecdir=$ac_optarg ;; 942a73027baSmrg 943a73027baSmrg -localedir | --localedir | --localedi | --localed | --locale) 944a73027baSmrg ac_prev=localedir ;; 945a73027baSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 946a73027baSmrg localedir=$ac_optarg ;; 947a73027baSmrg 948a73027baSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 949a73027baSmrg | --localstate | --localstat | --localsta | --localst | --locals) 950a73027baSmrg ac_prev=localstatedir ;; 951a73027baSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 952a73027baSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 953a73027baSmrg localstatedir=$ac_optarg ;; 954a73027baSmrg 955a73027baSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 956a73027baSmrg ac_prev=mandir ;; 957a73027baSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 958a73027baSmrg mandir=$ac_optarg ;; 959a73027baSmrg 960a73027baSmrg -nfp | --nfp | --nf) 961a73027baSmrg # Obsolete; use --without-fp. 962a73027baSmrg with_fp=no ;; 963a73027baSmrg 964a73027baSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 965a73027baSmrg | --no-cr | --no-c | -n) 966a73027baSmrg no_create=yes ;; 967a73027baSmrg 968a73027baSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 969a73027baSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 970a73027baSmrg no_recursion=yes ;; 971a73027baSmrg 972a73027baSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 973a73027baSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 974a73027baSmrg | --oldin | --oldi | --old | --ol | --o) 975a73027baSmrg ac_prev=oldincludedir ;; 976a73027baSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 977a73027baSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 978a73027baSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 979a73027baSmrg oldincludedir=$ac_optarg ;; 980a73027baSmrg 981a73027baSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 982a73027baSmrg ac_prev=prefix ;; 983a73027baSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 984a73027baSmrg prefix=$ac_optarg ;; 985a73027baSmrg 986a73027baSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 987a73027baSmrg | --program-pre | --program-pr | --program-p) 988a73027baSmrg ac_prev=program_prefix ;; 989a73027baSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 990a73027baSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 991a73027baSmrg program_prefix=$ac_optarg ;; 992a73027baSmrg 993a73027baSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 994a73027baSmrg | --program-suf | --program-su | --program-s) 995a73027baSmrg ac_prev=program_suffix ;; 996a73027baSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 997a73027baSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 998a73027baSmrg program_suffix=$ac_optarg ;; 999a73027baSmrg 1000a73027baSmrg -program-transform-name | --program-transform-name \ 1001a73027baSmrg | --program-transform-nam | --program-transform-na \ 1002a73027baSmrg | --program-transform-n | --program-transform- \ 1003a73027baSmrg | --program-transform | --program-transfor \ 1004a73027baSmrg | --program-transfo | --program-transf \ 1005a73027baSmrg | --program-trans | --program-tran \ 1006a73027baSmrg | --progr-tra | --program-tr | --program-t) 1007a73027baSmrg ac_prev=program_transform_name ;; 1008a73027baSmrg -program-transform-name=* | --program-transform-name=* \ 1009a73027baSmrg | --program-transform-nam=* | --program-transform-na=* \ 1010a73027baSmrg | --program-transform-n=* | --program-transform-=* \ 1011a73027baSmrg | --program-transform=* | --program-transfor=* \ 1012a73027baSmrg | --program-transfo=* | --program-transf=* \ 1013a73027baSmrg | --program-trans=* | --program-tran=* \ 1014a73027baSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 1015a73027baSmrg program_transform_name=$ac_optarg ;; 1016a73027baSmrg 1017a73027baSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1018a73027baSmrg ac_prev=pdfdir ;; 1019a73027baSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1020a73027baSmrg pdfdir=$ac_optarg ;; 1021a73027baSmrg 1022a73027baSmrg -psdir | --psdir | --psdi | --psd | --ps) 1023a73027baSmrg ac_prev=psdir ;; 1024a73027baSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1025a73027baSmrg psdir=$ac_optarg ;; 1026a73027baSmrg 1027a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1028a73027baSmrg | -silent | --silent | --silen | --sile | --sil) 1029a73027baSmrg silent=yes ;; 1030a73027baSmrg 1031a73027baSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1032a73027baSmrg ac_prev=sbindir ;; 1033a73027baSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1034a73027baSmrg | --sbi=* | --sb=*) 1035a73027baSmrg sbindir=$ac_optarg ;; 1036a73027baSmrg 1037a73027baSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1038a73027baSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1039a73027baSmrg | --sharedst | --shareds | --shared | --share | --shar \ 1040a73027baSmrg | --sha | --sh) 1041a73027baSmrg ac_prev=sharedstatedir ;; 1042a73027baSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1043a73027baSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1044a73027baSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1045a73027baSmrg | --sha=* | --sh=*) 1046a73027baSmrg sharedstatedir=$ac_optarg ;; 1047a73027baSmrg 1048a73027baSmrg -site | --site | --sit) 1049a73027baSmrg ac_prev=site ;; 1050a73027baSmrg -site=* | --site=* | --sit=*) 1051a73027baSmrg site=$ac_optarg ;; 1052a73027baSmrg 1053a73027baSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1054a73027baSmrg ac_prev=srcdir ;; 1055a73027baSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1056a73027baSmrg srcdir=$ac_optarg ;; 1057a73027baSmrg 1058a73027baSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1059a73027baSmrg | --syscon | --sysco | --sysc | --sys | --sy) 1060a73027baSmrg ac_prev=sysconfdir ;; 1061a73027baSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1062a73027baSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1063a73027baSmrg sysconfdir=$ac_optarg ;; 1064a73027baSmrg 1065a73027baSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1066a73027baSmrg ac_prev=target_alias ;; 1067a73027baSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1068a73027baSmrg target_alias=$ac_optarg ;; 1069a73027baSmrg 1070a73027baSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1071a73027baSmrg verbose=yes ;; 1072a73027baSmrg 1073a73027baSmrg -version | --version | --versio | --versi | --vers | -V) 1074a73027baSmrg ac_init_version=: ;; 1075a73027baSmrg 1076a73027baSmrg -with-* | --with-*) 1077a73027baSmrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1078a73027baSmrg # Reject names that are not valid shell variable names. 1079a73027baSmrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1080a73027baSmrg { echo "$as_me: error: invalid package name: $ac_package" >&2 1081a73027baSmrg { (exit 1); exit 1; }; } 1082a73027baSmrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1083a73027baSmrg eval with_$ac_package=\$ac_optarg ;; 1084a73027baSmrg 1085a73027baSmrg -without-* | --without-*) 1086a73027baSmrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1087a73027baSmrg # Reject names that are not valid shell variable names. 1088a73027baSmrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1089a73027baSmrg { echo "$as_me: error: invalid package name: $ac_package" >&2 1090a73027baSmrg { (exit 1); exit 1; }; } 1091a73027baSmrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1092a73027baSmrg eval with_$ac_package=no ;; 1093a73027baSmrg 1094a73027baSmrg --x) 1095a73027baSmrg # Obsolete; use --with-x. 1096a73027baSmrg with_x=yes ;; 1097a73027baSmrg 1098a73027baSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1099a73027baSmrg | --x-incl | --x-inc | --x-in | --x-i) 1100a73027baSmrg ac_prev=x_includes ;; 1101a73027baSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1102a73027baSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1103a73027baSmrg x_includes=$ac_optarg ;; 1104a73027baSmrg 1105a73027baSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1106a73027baSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1107a73027baSmrg ac_prev=x_libraries ;; 1108a73027baSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1109a73027baSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1110a73027baSmrg x_libraries=$ac_optarg ;; 1111a73027baSmrg 1112a73027baSmrg -*) { echo "$as_me: error: unrecognized option: $ac_option 1113a73027baSmrgTry \`$0 --help' for more information." >&2 1114a73027baSmrg { (exit 1); exit 1; }; } 1115a73027baSmrg ;; 1116a73027baSmrg 1117a73027baSmrg *=*) 1118a73027baSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1119a73027baSmrg # Reject names that are not valid shell variable names. 1120a73027baSmrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1121a73027baSmrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1122a73027baSmrg { (exit 1); exit 1; }; } 1123a73027baSmrg eval $ac_envvar=\$ac_optarg 1124a73027baSmrg export $ac_envvar ;; 1125a73027baSmrg 1126a73027baSmrg *) 1127a73027baSmrg # FIXME: should be removed in autoconf 3.0. 1128a73027baSmrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1129a73027baSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1130a73027baSmrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1131a73027baSmrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1132a73027baSmrg ;; 1133a73027baSmrg 1134a73027baSmrg esac 1135a73027baSmrgdone 1136a73027baSmrg 1137a73027baSmrgif test -n "$ac_prev"; then 1138a73027baSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1139a73027baSmrg { echo "$as_me: error: missing argument to $ac_option" >&2 1140a73027baSmrg { (exit 1); exit 1; }; } 1141a73027baSmrgfi 1142a73027baSmrg 1143a73027baSmrg# Be sure to have absolute directory names. 1144a73027baSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1145a73027baSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1146a73027baSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1147a73027baSmrg libdir localedir mandir 1148a73027baSmrgdo 1149a73027baSmrg eval ac_val=\$$ac_var 1150a73027baSmrg case $ac_val in 1151a73027baSmrg [\\/$]* | ?:[\\/]* ) continue;; 1152a73027baSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1153a73027baSmrg esac 1154a73027baSmrg { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1155a73027baSmrg { (exit 1); exit 1; }; } 1156a73027baSmrgdone 1157a73027baSmrg 1158a73027baSmrg# There might be people who depend on the old broken behavior: `$host' 1159a73027baSmrg# used to hold the argument of --host etc. 1160a73027baSmrg# FIXME: To remove some day. 1161a73027baSmrgbuild=$build_alias 1162a73027baSmrghost=$host_alias 1163a73027baSmrgtarget=$target_alias 1164a73027baSmrg 1165a73027baSmrg# FIXME: To remove some day. 1166a73027baSmrgif test "x$host_alias" != x; then 1167a73027baSmrg if test "x$build_alias" = x; then 1168a73027baSmrg cross_compiling=maybe 1169a73027baSmrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1170a73027baSmrg If a cross compiler is detected then cross compile mode will be used." >&2 1171a73027baSmrg elif test "x$build_alias" != "x$host_alias"; then 1172a73027baSmrg cross_compiling=yes 1173a73027baSmrg fi 1174a73027baSmrgfi 1175a73027baSmrg 1176a73027baSmrgac_tool_prefix= 1177a73027baSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1178a73027baSmrg 1179a73027baSmrgtest "$silent" = yes && exec 6>/dev/null 1180a73027baSmrg 1181a73027baSmrg 1182a73027baSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 1183a73027baSmrgac_ls_di=`ls -di .` && 1184a73027baSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1185a73027baSmrg { echo "$as_me: error: Working directory cannot be determined" >&2 1186a73027baSmrg { (exit 1); exit 1; }; } 1187a73027baSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1188a73027baSmrg { echo "$as_me: error: pwd does not report name of working directory" >&2 1189a73027baSmrg { (exit 1); exit 1; }; } 1190a73027baSmrg 1191a73027baSmrg 1192a73027baSmrg# Find the source files, if location was not specified. 1193a73027baSmrgif test -z "$srcdir"; then 1194a73027baSmrg ac_srcdir_defaulted=yes 1195a73027baSmrg # Try the directory containing this script, then the parent directory. 1196a73027baSmrg ac_confdir=`$as_dirname -- "$0" || 1197a73027baSmrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1198a73027baSmrg X"$0" : 'X\(//\)[^/]' \| \ 1199a73027baSmrg X"$0" : 'X\(//\)$' \| \ 1200a73027baSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1201a73027baSmrgecho X"$0" | 1202a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1203a73027baSmrg s//\1/ 1204a73027baSmrg q 1205a73027baSmrg } 1206a73027baSmrg /^X\(\/\/\)[^/].*/{ 1207a73027baSmrg s//\1/ 1208a73027baSmrg q 1209a73027baSmrg } 1210a73027baSmrg /^X\(\/\/\)$/{ 1211a73027baSmrg s//\1/ 1212a73027baSmrg q 1213a73027baSmrg } 1214a73027baSmrg /^X\(\/\).*/{ 1215a73027baSmrg s//\1/ 1216a73027baSmrg q 1217a73027baSmrg } 1218a73027baSmrg s/.*/./; q'` 1219a73027baSmrg srcdir=$ac_confdir 1220a73027baSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1221a73027baSmrg srcdir=.. 1222a73027baSmrg fi 1223a73027baSmrgelse 1224a73027baSmrg ac_srcdir_defaulted=no 1225a73027baSmrgfi 1226a73027baSmrgif test ! -r "$srcdir/$ac_unique_file"; then 1227a73027baSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1228a73027baSmrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1229a73027baSmrg { (exit 1); exit 1; }; } 1230a73027baSmrgfi 1231a73027baSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1232a73027baSmrgac_abs_confdir=`( 1233a73027baSmrg cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1234a73027baSmrg { (exit 1); exit 1; }; } 1235a73027baSmrg pwd)` 1236a73027baSmrg# When building in place, set srcdir=. 1237a73027baSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1238a73027baSmrg srcdir=. 1239a73027baSmrgfi 1240a73027baSmrg# Remove unnecessary trailing slashes from srcdir. 1241a73027baSmrg# Double slashes in file names in object file debugging info 1242a73027baSmrg# mess up M-x gdb in Emacs. 1243a73027baSmrgcase $srcdir in 1244a73027baSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1245a73027baSmrgesac 1246a73027baSmrgfor ac_var in $ac_precious_vars; do 1247a73027baSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1248a73027baSmrg eval ac_env_${ac_var}_value=\$${ac_var} 1249a73027baSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1250a73027baSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1251a73027baSmrgdone 1252a73027baSmrg 1253a73027baSmrg# 1254a73027baSmrg# Report the --help message. 1255a73027baSmrg# 1256a73027baSmrgif test "$ac_init_help" = "long"; then 1257a73027baSmrg # Omit some internal or obsolete options to make the list less imposing. 1258a73027baSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1259a73027baSmrg cat <<_ACEOF 126072e81212Smrg\`configure' configures xinit 1.1.1 to adapt to many kinds of systems. 1261a73027baSmrg 1262a73027baSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1263a73027baSmrg 1264a73027baSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1265a73027baSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1266a73027baSmrg 1267a73027baSmrgDefaults for the options are specified in brackets. 1268a73027baSmrg 1269a73027baSmrgConfiguration: 1270a73027baSmrg -h, --help display this help and exit 1271a73027baSmrg --help=short display options specific to this package 1272a73027baSmrg --help=recursive display the short help of all the included packages 1273a73027baSmrg -V, --version display version information and exit 1274a73027baSmrg -q, --quiet, --silent do not print \`checking...' messages 1275a73027baSmrg --cache-file=FILE cache test results in FILE [disabled] 1276a73027baSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1277a73027baSmrg -n, --no-create do not create output files 1278a73027baSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1279a73027baSmrg 1280a73027baSmrgInstallation directories: 1281a73027baSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1282a73027baSmrg [$ac_default_prefix] 1283a73027baSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1284a73027baSmrg [PREFIX] 1285a73027baSmrg 1286a73027baSmrgBy default, \`make install' will install all the files in 1287a73027baSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1288a73027baSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1289a73027baSmrgfor instance \`--prefix=\$HOME'. 1290a73027baSmrg 1291a73027baSmrgFor better control, use the options below. 1292a73027baSmrg 1293a73027baSmrgFine tuning of the installation directories: 1294a73027baSmrg --bindir=DIR user executables [EPREFIX/bin] 1295a73027baSmrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1296a73027baSmrg --libexecdir=DIR program executables [EPREFIX/libexec] 1297a73027baSmrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1298a73027baSmrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1299a73027baSmrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1300a73027baSmrg --libdir=DIR object code libraries [EPREFIX/lib] 1301a73027baSmrg --includedir=DIR C header files [PREFIX/include] 1302a73027baSmrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1303a73027baSmrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1304a73027baSmrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1305a73027baSmrg --infodir=DIR info documentation [DATAROOTDIR/info] 1306a73027baSmrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1307a73027baSmrg --mandir=DIR man documentation [DATAROOTDIR/man] 1308a73027baSmrg --docdir=DIR documentation root [DATAROOTDIR/doc/xinit] 1309a73027baSmrg --htmldir=DIR html documentation [DOCDIR] 1310a73027baSmrg --dvidir=DIR dvi documentation [DOCDIR] 1311a73027baSmrg --pdfdir=DIR pdf documentation [DOCDIR] 1312a73027baSmrg --psdir=DIR ps documentation [DOCDIR] 1313a73027baSmrg_ACEOF 1314a73027baSmrg 1315a73027baSmrg cat <<\_ACEOF 1316a73027baSmrg 1317a73027baSmrgProgram names: 1318a73027baSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1319a73027baSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1320a73027baSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1321a73027baSmrg 1322a73027baSmrgSystem types: 1323a73027baSmrg --build=BUILD configure for building on BUILD [guessed] 1324a73027baSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1325a73027baSmrg_ACEOF 1326a73027baSmrgfi 1327a73027baSmrg 1328a73027baSmrgif test -n "$ac_init_help"; then 1329a73027baSmrg case $ac_init_help in 133072e81212Smrg short | recursive ) echo "Configuration of xinit 1.1.1:";; 1331a73027baSmrg esac 1332a73027baSmrg cat <<\_ACEOF 1333a73027baSmrg 1334a73027baSmrgOptional Features: 1335a73027baSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1336a73027baSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1337a73027baSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1338a73027baSmrg (and sometimes confusing) to the casual installer 1339a73027baSmrg --disable-dependency-tracking speeds up one-time build 1340a73027baSmrg --enable-dependency-tracking do not reject slow dependency extractors 1341a73027baSmrg 1342a73027baSmrgOptional Packages: 1343a73027baSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1344a73027baSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1345a73027baSmrg --with-xrdb=XRDB Path to xrdb 1346a73027baSmrg --with-xmodmap=XMODMAP Path to xmodmap 1347a73027baSmrg --with-twm=TWM Path to twm 1348a73027baSmrg --with-xclock=XCLOCK Path to xclock 1349a73027baSmrg --with-xterm=XTERM Path to xterm 1350a73027baSmrg --with-xserver=XSERVER Path to default X server 1351a73027baSmrg --with-xauth=XAUTH Path to xauth 1352a73027baSmrg --with-xinit=XINIT Path to xinit 1353a73027baSmrg --with-launchd Build with support for Apple's launchd (default: 1354a73027baSmrg auto) 1355a73027baSmrg --with-launchagents-dir=PATH 1356a73027baSmrg Path to launchd's LaunchAgents directory (default: 1357a73027baSmrg /Library/LaunchAgents) 1358a73027baSmrg --with-launchdaemons-dir=PATH 1359a73027baSmrg Path to launchd's LaunchDaemonss directory (default: 1360a73027baSmrg /Library/LaunchDaemons) 1361a73027baSmrg --with-release-version=STRING 1362a73027baSmrg Use release version string in package name 1363a73027baSmrg 1364a73027baSmrgSome influential environment variables: 1365a73027baSmrg CC C compiler command 1366a73027baSmrg CFLAGS C compiler flags 1367a73027baSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1368a73027baSmrg nonstandard directory <lib dir> 1369a73027baSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1370a73027baSmrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1371a73027baSmrg you have headers in a nonstandard directory <include dir> 1372a73027baSmrg CPP C preprocessor 1373a73027baSmrg PKG_CONFIG path to pkg-config utility 1374a73027baSmrg XINIT_CFLAGS 1375a73027baSmrg C compiler flags for XINIT, overriding pkg-config 1376a73027baSmrg XINIT_LIBS linker flags for XINIT, overriding pkg-config 1377a73027baSmrg 1378a73027baSmrgUse these variables to override the choices made by `configure' or to help 1379a73027baSmrgit to find libraries and programs with nonstandard names/locations. 1380a73027baSmrg 1381a73027baSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1382a73027baSmrg_ACEOF 1383a73027baSmrgac_status=$? 1384a73027baSmrgfi 1385a73027baSmrg 1386a73027baSmrgif test "$ac_init_help" = "recursive"; then 1387a73027baSmrg # If there are subdirs, report their specific --help. 1388a73027baSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1389a73027baSmrg test -d "$ac_dir" || continue 1390a73027baSmrg ac_builddir=. 1391a73027baSmrg 1392a73027baSmrgcase "$ac_dir" in 1393a73027baSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1394a73027baSmrg*) 1395a73027baSmrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1396a73027baSmrg # A ".." for each directory in $ac_dir_suffix. 1397a73027baSmrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1398a73027baSmrg case $ac_top_builddir_sub in 1399a73027baSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1400a73027baSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1401a73027baSmrg esac ;; 1402a73027baSmrgesac 1403a73027baSmrgac_abs_top_builddir=$ac_pwd 1404a73027baSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1405a73027baSmrg# for backward compatibility: 1406a73027baSmrgac_top_builddir=$ac_top_build_prefix 1407a73027baSmrg 1408a73027baSmrgcase $srcdir in 1409a73027baSmrg .) # We are building in place. 1410a73027baSmrg ac_srcdir=. 1411a73027baSmrg ac_top_srcdir=$ac_top_builddir_sub 1412a73027baSmrg ac_abs_top_srcdir=$ac_pwd ;; 1413a73027baSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1414a73027baSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1415a73027baSmrg ac_top_srcdir=$srcdir 1416a73027baSmrg ac_abs_top_srcdir=$srcdir ;; 1417a73027baSmrg *) # Relative name. 1418a73027baSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1419a73027baSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1420a73027baSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1421a73027baSmrgesac 1422a73027baSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1423a73027baSmrg 1424a73027baSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1425a73027baSmrg # Check for guested configure. 1426a73027baSmrg if test -f "$ac_srcdir/configure.gnu"; then 1427a73027baSmrg echo && 1428a73027baSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1429a73027baSmrg elif test -f "$ac_srcdir/configure"; then 1430a73027baSmrg echo && 1431a73027baSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1432a73027baSmrg else 1433a73027baSmrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1434a73027baSmrg fi || ac_status=$? 1435a73027baSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1436a73027baSmrg done 1437a73027baSmrgfi 1438a73027baSmrg 1439a73027baSmrgtest -n "$ac_init_help" && exit $ac_status 1440a73027baSmrgif $ac_init_version; then 1441a73027baSmrg cat <<\_ACEOF 144272e81212Smrgxinit configure 1.1.1 1443a73027baSmrggenerated by GNU Autoconf 2.61 1444a73027baSmrg 1445a73027baSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1446a73027baSmrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1447a73027baSmrgThis configure script is free software; the Free Software Foundation 1448a73027baSmrggives unlimited permission to copy, distribute and modify it. 1449a73027baSmrg_ACEOF 1450a73027baSmrg exit 1451a73027baSmrgfi 1452a73027baSmrgcat >config.log <<_ACEOF 1453a73027baSmrgThis file contains any messages produced by compilers while 1454a73027baSmrgrunning configure, to aid debugging if configure makes a mistake. 1455a73027baSmrg 145672e81212SmrgIt was created by xinit $as_me 1.1.1, which was 1457a73027baSmrggenerated by GNU Autoconf 2.61. Invocation command line was 1458a73027baSmrg 1459a73027baSmrg $ $0 $@ 1460a73027baSmrg 1461a73027baSmrg_ACEOF 1462a73027baSmrgexec 5>>config.log 1463a73027baSmrg{ 1464a73027baSmrgcat <<_ASUNAME 1465a73027baSmrg## --------- ## 1466a73027baSmrg## Platform. ## 1467a73027baSmrg## --------- ## 1468a73027baSmrg 1469a73027baSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1470a73027baSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1471a73027baSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1472a73027baSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1473a73027baSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1474a73027baSmrg 1475a73027baSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1476a73027baSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1477a73027baSmrg 1478a73027baSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1479a73027baSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1480a73027baSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1481a73027baSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1482a73027baSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1483a73027baSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1484a73027baSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1485a73027baSmrg 1486a73027baSmrg_ASUNAME 1487a73027baSmrg 1488a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1489a73027baSmrgfor as_dir in $PATH 1490a73027baSmrgdo 1491a73027baSmrg IFS=$as_save_IFS 1492a73027baSmrg test -z "$as_dir" && as_dir=. 1493a73027baSmrg echo "PATH: $as_dir" 1494a73027baSmrgdone 1495a73027baSmrgIFS=$as_save_IFS 1496a73027baSmrg 1497a73027baSmrg} >&5 1498a73027baSmrg 1499a73027baSmrgcat >&5 <<_ACEOF 1500a73027baSmrg 1501a73027baSmrg 1502a73027baSmrg## ----------- ## 1503a73027baSmrg## Core tests. ## 1504a73027baSmrg## ----------- ## 1505a73027baSmrg 1506a73027baSmrg_ACEOF 1507a73027baSmrg 1508a73027baSmrg 1509a73027baSmrg# Keep a trace of the command line. 1510a73027baSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1511a73027baSmrg# Strip out --silent because we don't want to record it for future runs. 1512a73027baSmrg# Also quote any args containing shell meta-characters. 1513a73027baSmrg# Make two passes to allow for proper duplicate-argument suppression. 1514a73027baSmrgac_configure_args= 1515a73027baSmrgac_configure_args0= 1516a73027baSmrgac_configure_args1= 1517a73027baSmrgac_must_keep_next=false 1518a73027baSmrgfor ac_pass in 1 2 1519a73027baSmrgdo 1520a73027baSmrg for ac_arg 1521a73027baSmrg do 1522a73027baSmrg case $ac_arg in 1523a73027baSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1524a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1525a73027baSmrg | -silent | --silent | --silen | --sile | --sil) 1526a73027baSmrg continue ;; 1527a73027baSmrg *\'*) 1528a73027baSmrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1529a73027baSmrg esac 1530a73027baSmrg case $ac_pass in 1531a73027baSmrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1532a73027baSmrg 2) 1533a73027baSmrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1534a73027baSmrg if test $ac_must_keep_next = true; then 1535a73027baSmrg ac_must_keep_next=false # Got value, back to normal. 1536a73027baSmrg else 1537a73027baSmrg case $ac_arg in 1538a73027baSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1539a73027baSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1540a73027baSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1541a73027baSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1542a73027baSmrg case "$ac_configure_args0 " in 1543a73027baSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1544a73027baSmrg esac 1545a73027baSmrg ;; 1546a73027baSmrg -* ) ac_must_keep_next=true ;; 1547a73027baSmrg esac 1548a73027baSmrg fi 1549a73027baSmrg ac_configure_args="$ac_configure_args '$ac_arg'" 1550a73027baSmrg ;; 1551a73027baSmrg esac 1552a73027baSmrg done 1553a73027baSmrgdone 1554a73027baSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1555a73027baSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1556a73027baSmrg 1557a73027baSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1558a73027baSmrg# config.log. We remove comments because anyway the quotes in there 1559a73027baSmrg# would cause problems or look ugly. 1560a73027baSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1561a73027baSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1562a73027baSmrgtrap 'exit_status=$? 1563a73027baSmrg # Save into config.log some information that might help in debugging. 1564a73027baSmrg { 1565a73027baSmrg echo 1566a73027baSmrg 1567a73027baSmrg cat <<\_ASBOX 1568a73027baSmrg## ---------------- ## 1569a73027baSmrg## Cache variables. ## 1570a73027baSmrg## ---------------- ## 1571a73027baSmrg_ASBOX 1572a73027baSmrg echo 1573a73027baSmrg # The following way of writing the cache mishandles newlines in values, 1574a73027baSmrg( 1575a73027baSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1576a73027baSmrg eval ac_val=\$$ac_var 1577a73027baSmrg case $ac_val in #( 1578a73027baSmrg *${as_nl}*) 1579a73027baSmrg case $ac_var in #( 1580a73027baSmrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1581a73027baSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1582a73027baSmrg esac 1583a73027baSmrg case $ac_var in #( 1584a73027baSmrg _ | IFS | as_nl) ;; #( 1585a73027baSmrg *) $as_unset $ac_var ;; 1586a73027baSmrg esac ;; 1587a73027baSmrg esac 1588a73027baSmrg done 1589a73027baSmrg (set) 2>&1 | 1590a73027baSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1591a73027baSmrg *${as_nl}ac_space=\ *) 1592a73027baSmrg sed -n \ 1593a73027baSmrg "s/'\''/'\''\\\\'\'''\''/g; 1594a73027baSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1595a73027baSmrg ;; #( 1596a73027baSmrg *) 1597a73027baSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1598a73027baSmrg ;; 1599a73027baSmrg esac | 1600a73027baSmrg sort 1601a73027baSmrg) 1602a73027baSmrg echo 1603a73027baSmrg 1604a73027baSmrg cat <<\_ASBOX 1605a73027baSmrg## ----------------- ## 1606a73027baSmrg## Output variables. ## 1607a73027baSmrg## ----------------- ## 1608a73027baSmrg_ASBOX 1609a73027baSmrg echo 1610a73027baSmrg for ac_var in $ac_subst_vars 1611a73027baSmrg do 1612a73027baSmrg eval ac_val=\$$ac_var 1613a73027baSmrg case $ac_val in 1614a73027baSmrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1615a73027baSmrg esac 1616a73027baSmrg echo "$ac_var='\''$ac_val'\''" 1617a73027baSmrg done | sort 1618a73027baSmrg echo 1619a73027baSmrg 1620a73027baSmrg if test -n "$ac_subst_files"; then 1621a73027baSmrg cat <<\_ASBOX 1622a73027baSmrg## ------------------- ## 1623a73027baSmrg## File substitutions. ## 1624a73027baSmrg## ------------------- ## 1625a73027baSmrg_ASBOX 1626a73027baSmrg echo 1627a73027baSmrg for ac_var in $ac_subst_files 1628a73027baSmrg do 1629a73027baSmrg eval ac_val=\$$ac_var 1630a73027baSmrg case $ac_val in 1631a73027baSmrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1632a73027baSmrg esac 1633a73027baSmrg echo "$ac_var='\''$ac_val'\''" 1634a73027baSmrg done | sort 1635a73027baSmrg echo 1636a73027baSmrg fi 1637a73027baSmrg 1638a73027baSmrg if test -s confdefs.h; then 1639a73027baSmrg cat <<\_ASBOX 1640a73027baSmrg## ----------- ## 1641a73027baSmrg## confdefs.h. ## 1642a73027baSmrg## ----------- ## 1643a73027baSmrg_ASBOX 1644a73027baSmrg echo 1645a73027baSmrg cat confdefs.h 1646a73027baSmrg echo 1647a73027baSmrg fi 1648a73027baSmrg test "$ac_signal" != 0 && 1649a73027baSmrg echo "$as_me: caught signal $ac_signal" 1650a73027baSmrg echo "$as_me: exit $exit_status" 1651a73027baSmrg } >&5 1652a73027baSmrg rm -f core *.core core.conftest.* && 1653a73027baSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1654a73027baSmrg exit $exit_status 1655a73027baSmrg' 0 1656a73027baSmrgfor ac_signal in 1 2 13 15; do 1657a73027baSmrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1658a73027baSmrgdone 1659a73027baSmrgac_signal=0 1660a73027baSmrg 1661a73027baSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1662a73027baSmrgrm -f -r conftest* confdefs.h 1663a73027baSmrg 1664a73027baSmrg# Predefined preprocessor variables. 1665a73027baSmrg 1666a73027baSmrgcat >>confdefs.h <<_ACEOF 1667a73027baSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 1668a73027baSmrg_ACEOF 1669a73027baSmrg 1670a73027baSmrg 1671a73027baSmrgcat >>confdefs.h <<_ACEOF 1672a73027baSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1673a73027baSmrg_ACEOF 1674a73027baSmrg 1675a73027baSmrg 1676a73027baSmrgcat >>confdefs.h <<_ACEOF 1677a73027baSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1678a73027baSmrg_ACEOF 1679a73027baSmrg 1680a73027baSmrg 1681a73027baSmrgcat >>confdefs.h <<_ACEOF 1682a73027baSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 1683a73027baSmrg_ACEOF 1684a73027baSmrg 1685a73027baSmrg 1686a73027baSmrgcat >>confdefs.h <<_ACEOF 1687a73027baSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1688a73027baSmrg_ACEOF 1689a73027baSmrg 1690a73027baSmrg 1691a73027baSmrg# Let the site file select an alternate cache file if it wants to. 1692a73027baSmrg# Prefer explicitly selected file to automatically selected ones. 1693a73027baSmrgif test -n "$CONFIG_SITE"; then 1694a73027baSmrg set x "$CONFIG_SITE" 1695a73027baSmrgelif test "x$prefix" != xNONE; then 1696a73027baSmrg set x "$prefix/share/config.site" "$prefix/etc/config.site" 1697a73027baSmrgelse 1698a73027baSmrg set x "$ac_default_prefix/share/config.site" \ 1699a73027baSmrg "$ac_default_prefix/etc/config.site" 1700a73027baSmrgfi 1701a73027baSmrgshift 1702a73027baSmrgfor ac_site_file 1703a73027baSmrgdo 1704a73027baSmrg if test -r "$ac_site_file"; then 1705a73027baSmrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1706a73027baSmrgecho "$as_me: loading site script $ac_site_file" >&6;} 1707a73027baSmrg sed 's/^/| /' "$ac_site_file" >&5 1708a73027baSmrg . "$ac_site_file" 1709a73027baSmrg fi 1710a73027baSmrgdone 1711a73027baSmrg 1712a73027baSmrgif test -r "$cache_file"; then 1713a73027baSmrg # Some versions of bash will fail to source /dev/null (special 1714a73027baSmrg # files actually), so we avoid doing that. 1715a73027baSmrg if test -f "$cache_file"; then 1716a73027baSmrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1717a73027baSmrgecho "$as_me: loading cache $cache_file" >&6;} 1718a73027baSmrg case $cache_file in 1719a73027baSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1720a73027baSmrg *) . "./$cache_file";; 1721a73027baSmrg esac 1722a73027baSmrg fi 1723a73027baSmrgelse 1724a73027baSmrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1725a73027baSmrgecho "$as_me: creating cache $cache_file" >&6;} 1726a73027baSmrg >$cache_file 1727a73027baSmrgfi 1728a73027baSmrg 1729a73027baSmrg# Check that the precious variables saved in the cache have kept the same 1730a73027baSmrg# value. 1731a73027baSmrgac_cache_corrupted=false 1732a73027baSmrgfor ac_var in $ac_precious_vars; do 1733a73027baSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1734a73027baSmrg eval ac_new_set=\$ac_env_${ac_var}_set 1735a73027baSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1736a73027baSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1737a73027baSmrg case $ac_old_set,$ac_new_set in 1738a73027baSmrg set,) 1739a73027baSmrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1740a73027baSmrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1741a73027baSmrg ac_cache_corrupted=: ;; 1742a73027baSmrg ,set) 1743a73027baSmrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1744a73027baSmrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1745a73027baSmrg ac_cache_corrupted=: ;; 1746a73027baSmrg ,);; 1747a73027baSmrg *) 1748a73027baSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 1749a73027baSmrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1750a73027baSmrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1751a73027baSmrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1752a73027baSmrgecho "$as_me: former value: $ac_old_val" >&2;} 1753a73027baSmrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1754a73027baSmrgecho "$as_me: current value: $ac_new_val" >&2;} 1755a73027baSmrg ac_cache_corrupted=: 1756a73027baSmrg fi;; 1757a73027baSmrg esac 1758a73027baSmrg # Pass precious variables to config.status. 1759a73027baSmrg if test "$ac_new_set" = set; then 1760a73027baSmrg case $ac_new_val in 1761a73027baSmrg *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1762a73027baSmrg *) ac_arg=$ac_var=$ac_new_val ;; 1763a73027baSmrg esac 1764a73027baSmrg case " $ac_configure_args " in 1765a73027baSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1766a73027baSmrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1767a73027baSmrg esac 1768a73027baSmrg fi 1769a73027baSmrgdone 1770a73027baSmrgif $ac_cache_corrupted; then 1771a73027baSmrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1772a73027baSmrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 1773a73027baSmrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1774a73027baSmrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1775a73027baSmrg { (exit 1); exit 1; }; } 1776a73027baSmrgfi 1777a73027baSmrg 1778a73027baSmrg 1779a73027baSmrg 1780a73027baSmrg 1781a73027baSmrg 1782a73027baSmrg 1783a73027baSmrg 1784a73027baSmrg 1785a73027baSmrg 1786a73027baSmrg 1787a73027baSmrg 1788a73027baSmrg 1789a73027baSmrg 1790a73027baSmrg 1791a73027baSmrg 1792a73027baSmrg 1793a73027baSmrg 1794a73027baSmrg 1795a73027baSmrg 1796a73027baSmrg 1797a73027baSmrg 1798a73027baSmrg 1799a73027baSmrg 1800a73027baSmrg 1801a73027baSmrg 1802a73027baSmrgac_ext=c 1803a73027baSmrgac_cpp='$CPP $CPPFLAGS' 1804a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1805a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1806a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1807a73027baSmrg 1808a73027baSmrg 1809a73027baSmrgam__api_version='1.10' 1810a73027baSmrg 1811a73027baSmrgac_aux_dir= 1812a73027baSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1813a73027baSmrg if test -f "$ac_dir/install-sh"; then 1814a73027baSmrg ac_aux_dir=$ac_dir 1815a73027baSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 1816a73027baSmrg break 1817a73027baSmrg elif test -f "$ac_dir/install.sh"; then 1818a73027baSmrg ac_aux_dir=$ac_dir 1819a73027baSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 1820a73027baSmrg break 1821a73027baSmrg elif test -f "$ac_dir/shtool"; then 1822a73027baSmrg ac_aux_dir=$ac_dir 1823a73027baSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 1824a73027baSmrg break 1825a73027baSmrg fi 1826a73027baSmrgdone 1827a73027baSmrgif test -z "$ac_aux_dir"; then 1828a73027baSmrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1829a73027baSmrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1830a73027baSmrg { (exit 1); exit 1; }; } 1831a73027baSmrgfi 1832a73027baSmrg 1833a73027baSmrg# These three variables are undocumented and unsupported, 1834a73027baSmrg# and are intended to be withdrawn in a future Autoconf release. 1835a73027baSmrg# They can cause serious problems if a builder's source tree is in a directory 1836a73027baSmrg# whose full name contains unusual characters. 1837a73027baSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1838a73027baSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1839a73027baSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1840a73027baSmrg 1841a73027baSmrg 1842a73027baSmrg# Find a good install program. We prefer a C program (faster), 1843a73027baSmrg# so one script is as good as another. But avoid the broken or 1844a73027baSmrg# incompatible versions: 1845a73027baSmrg# SysV /etc/install, /usr/sbin/install 1846a73027baSmrg# SunOS /usr/etc/install 1847a73027baSmrg# IRIX /sbin/install 1848a73027baSmrg# AIX /bin/install 1849a73027baSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1850a73027baSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1851a73027baSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1852a73027baSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1853a73027baSmrg# OS/2's system install, which has a completely different semantic 1854a73027baSmrg# ./install, which can be erroneously created by make from ./install.sh. 1855a73027baSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1856a73027baSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 1857a73027baSmrgif test -z "$INSTALL"; then 1858a73027baSmrgif test "${ac_cv_path_install+set}" = set; then 1859a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 1860a73027baSmrgelse 1861a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1862a73027baSmrgfor as_dir in $PATH 1863a73027baSmrgdo 1864a73027baSmrg IFS=$as_save_IFS 1865a73027baSmrg test -z "$as_dir" && as_dir=. 1866a73027baSmrg # Account for people who put trailing slashes in PATH elements. 1867a73027baSmrgcase $as_dir/ in 1868a73027baSmrg ./ | .// | /cC/* | \ 1869a73027baSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1870a73027baSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1871a73027baSmrg /usr/ucb/* ) ;; 1872a73027baSmrg *) 1873a73027baSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 1874a73027baSmrg # Don't use installbsd from OSF since it installs stuff as root 1875a73027baSmrg # by default. 1876a73027baSmrg for ac_prog in ginstall scoinst install; do 1877a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 1878a73027baSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1879a73027baSmrg if test $ac_prog = install && 1880a73027baSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1881a73027baSmrg # AIX install. It has an incompatible calling convention. 1882a73027baSmrg : 1883a73027baSmrg elif test $ac_prog = install && 1884a73027baSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1885a73027baSmrg # program-specific install script used by HP pwplus--don't use. 1886a73027baSmrg : 1887a73027baSmrg else 1888a73027baSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1889a73027baSmrg break 3 1890a73027baSmrg fi 1891a73027baSmrg fi 1892a73027baSmrg done 1893a73027baSmrg done 1894a73027baSmrg ;; 1895a73027baSmrgesac 1896a73027baSmrgdone 1897a73027baSmrgIFS=$as_save_IFS 1898a73027baSmrg 1899a73027baSmrg 1900a73027baSmrgfi 1901a73027baSmrg if test "${ac_cv_path_install+set}" = set; then 1902a73027baSmrg INSTALL=$ac_cv_path_install 1903a73027baSmrg else 1904a73027baSmrg # As a last resort, use the slow shell script. Don't cache a 1905a73027baSmrg # value for INSTALL within a source directory, because that will 1906a73027baSmrg # break other packages using the cache if that directory is 1907a73027baSmrg # removed, or if the value is a relative name. 1908a73027baSmrg INSTALL=$ac_install_sh 1909a73027baSmrg fi 1910a73027baSmrgfi 1911a73027baSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 1912a73027baSmrgecho "${ECHO_T}$INSTALL" >&6; } 1913a73027baSmrg 1914a73027baSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1915a73027baSmrg# It thinks the first close brace ends the variable substitution. 1916a73027baSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1917a73027baSmrg 1918a73027baSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1919a73027baSmrg 1920a73027baSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1921a73027baSmrg 1922a73027baSmrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1923a73027baSmrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 1924a73027baSmrg# Just in case 1925a73027baSmrgsleep 1 1926a73027baSmrgecho timestamp > conftest.file 1927a73027baSmrg# Do `set' in a subshell so we don't clobber the current shell's 1928a73027baSmrg# arguments. Must try -L first in case configure is actually a 1929a73027baSmrg# symlink; some systems play weird games with the mod time of symlinks 1930a73027baSmrg# (eg FreeBSD returns the mod time of the symlink's containing 1931a73027baSmrg# directory). 1932a73027baSmrgif ( 1933a73027baSmrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1934a73027baSmrg if test "$*" = "X"; then 1935a73027baSmrg # -L didn't work. 1936a73027baSmrg set X `ls -t $srcdir/configure conftest.file` 1937a73027baSmrg fi 1938a73027baSmrg rm -f conftest.file 1939a73027baSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 1940a73027baSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 1941a73027baSmrg 1942a73027baSmrg # If neither matched, then we have a broken ls. This can happen 1943a73027baSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 1944a73027baSmrg # broken ls alias from the environment. This has actually 1945a73027baSmrg # happened. Such a system could not be considered "sane". 1946a73027baSmrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1947a73027baSmrgalias in your environment" >&5 1948a73027baSmrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1949a73027baSmrgalias in your environment" >&2;} 1950a73027baSmrg { (exit 1); exit 1; }; } 1951a73027baSmrg fi 1952a73027baSmrg 1953a73027baSmrg test "$2" = conftest.file 1954a73027baSmrg ) 1955a73027baSmrgthen 1956a73027baSmrg # Ok. 1957a73027baSmrg : 1958a73027baSmrgelse 1959a73027baSmrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1960a73027baSmrgCheck your system clock" >&5 1961a73027baSmrgecho "$as_me: error: newly created file is older than distributed files! 1962a73027baSmrgCheck your system clock" >&2;} 1963a73027baSmrg { (exit 1); exit 1; }; } 1964a73027baSmrgfi 1965a73027baSmrg{ echo "$as_me:$LINENO: result: yes" >&5 1966a73027baSmrgecho "${ECHO_T}yes" >&6; } 1967a73027baSmrgtest "$program_prefix" != NONE && 1968a73027baSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 1969a73027baSmrg# Use a double $ so make ignores it. 1970a73027baSmrgtest "$program_suffix" != NONE && 1971a73027baSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1972a73027baSmrg# Double any \ or $. echo might interpret backslashes. 1973a73027baSmrg# By default was `s,x,x', remove it if useless. 1974a73027baSmrgcat <<\_ACEOF >conftest.sed 1975a73027baSmrgs/[\\$]/&&/g;s/;s,x,x,$// 1976a73027baSmrg_ACEOF 1977a73027baSmrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1978a73027baSmrgrm -f conftest.sed 1979a73027baSmrg 1980a73027baSmrg# expand $ac_aux_dir to an absolute path 1981a73027baSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 1982a73027baSmrg 1983a73027baSmrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1984a73027baSmrg# Use eval to expand $SHELL 1985a73027baSmrgif eval "$MISSING --run true"; then 1986a73027baSmrg am_missing_run="$MISSING --run " 1987a73027baSmrgelse 1988a73027baSmrg am_missing_run= 1989a73027baSmrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1990a73027baSmrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1991a73027baSmrgfi 1992a73027baSmrg 1993a73027baSmrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 1994a73027baSmrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 1995a73027baSmrgif test -z "$MKDIR_P"; then 1996a73027baSmrg if test "${ac_cv_path_mkdir+set}" = set; then 1997a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 1998a73027baSmrgelse 1999a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2000a73027baSmrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2001a73027baSmrgdo 2002a73027baSmrg IFS=$as_save_IFS 2003a73027baSmrg test -z "$as_dir" && as_dir=. 2004a73027baSmrg for ac_prog in mkdir gmkdir; do 2005a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2006a73027baSmrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2007a73027baSmrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2008a73027baSmrg 'mkdir (GNU coreutils) '* | \ 2009a73027baSmrg 'mkdir (coreutils) '* | \ 2010a73027baSmrg 'mkdir (fileutils) '4.1*) 2011a73027baSmrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2012a73027baSmrg break 3;; 2013a73027baSmrg esac 2014a73027baSmrg done 2015a73027baSmrg done 2016a73027baSmrgdone 2017a73027baSmrgIFS=$as_save_IFS 2018a73027baSmrg 2019a73027baSmrgfi 2020a73027baSmrg 2021a73027baSmrg if test "${ac_cv_path_mkdir+set}" = set; then 2022a73027baSmrg MKDIR_P="$ac_cv_path_mkdir -p" 2023a73027baSmrg else 2024a73027baSmrg # As a last resort, use the slow shell script. Don't cache a 2025a73027baSmrg # value for MKDIR_P within a source directory, because that will 2026a73027baSmrg # break other packages using the cache if that directory is 2027a73027baSmrg # removed, or if the value is a relative name. 2028a73027baSmrg test -d ./--version && rmdir ./--version 2029a73027baSmrg MKDIR_P="$ac_install_sh -d" 2030a73027baSmrg fi 2031a73027baSmrgfi 2032a73027baSmrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2033a73027baSmrgecho "${ECHO_T}$MKDIR_P" >&6; } 2034a73027baSmrg 2035a73027baSmrgmkdir_p="$MKDIR_P" 2036a73027baSmrgcase $mkdir_p in 2037a73027baSmrg [\\/$]* | ?:[\\/]*) ;; 2038a73027baSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2039a73027baSmrgesac 2040a73027baSmrg 2041a73027baSmrgfor ac_prog in gawk mawk nawk awk 2042a73027baSmrgdo 2043a73027baSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2044a73027baSmrgset dummy $ac_prog; ac_word=$2 2045a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2046a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2047a73027baSmrgif test "${ac_cv_prog_AWK+set}" = set; then 2048a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2049a73027baSmrgelse 2050a73027baSmrg if test -n "$AWK"; then 2051a73027baSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2052a73027baSmrgelse 2053a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2054a73027baSmrgfor as_dir in $PATH 2055a73027baSmrgdo 2056a73027baSmrg IFS=$as_save_IFS 2057a73027baSmrg test -z "$as_dir" && as_dir=. 2058a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2059a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2060a73027baSmrg ac_cv_prog_AWK="$ac_prog" 2061a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2062a73027baSmrg break 2 2063a73027baSmrg fi 2064a73027baSmrgdone 2065a73027baSmrgdone 2066a73027baSmrgIFS=$as_save_IFS 2067a73027baSmrg 2068a73027baSmrgfi 2069a73027baSmrgfi 2070a73027baSmrgAWK=$ac_cv_prog_AWK 2071a73027baSmrgif test -n "$AWK"; then 2072a73027baSmrg { echo "$as_me:$LINENO: result: $AWK" >&5 2073a73027baSmrgecho "${ECHO_T}$AWK" >&6; } 2074a73027baSmrgelse 2075a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2076a73027baSmrgecho "${ECHO_T}no" >&6; } 2077a73027baSmrgfi 2078a73027baSmrg 2079a73027baSmrg 2080a73027baSmrg test -n "$AWK" && break 2081a73027baSmrgdone 2082a73027baSmrg 2083a73027baSmrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2084a73027baSmrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 2085a73027baSmrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2086a73027baSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2087a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2088a73027baSmrgelse 2089a73027baSmrg cat >conftest.make <<\_ACEOF 2090a73027baSmrgSHELL = /bin/sh 2091a73027baSmrgall: 2092a73027baSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2093a73027baSmrg_ACEOF 2094a73027baSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2095a73027baSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2096a73027baSmrg *@@@%%%=?*=@@@%%%*) 2097a73027baSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2098a73027baSmrg *) 2099a73027baSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 2100a73027baSmrgesac 2101a73027baSmrgrm -f conftest.make 2102a73027baSmrgfi 2103a73027baSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2104a73027baSmrg { echo "$as_me:$LINENO: result: yes" >&5 2105a73027baSmrgecho "${ECHO_T}yes" >&6; } 2106a73027baSmrg SET_MAKE= 2107a73027baSmrgelse 2108a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2109a73027baSmrgecho "${ECHO_T}no" >&6; } 2110a73027baSmrg SET_MAKE="MAKE=${MAKE-make}" 2111a73027baSmrgfi 2112a73027baSmrg 2113a73027baSmrgrm -rf .tst 2>/dev/null 2114a73027baSmrgmkdir .tst 2>/dev/null 2115a73027baSmrgif test -d .tst; then 2116a73027baSmrg am__leading_dot=. 2117a73027baSmrgelse 2118a73027baSmrg am__leading_dot=_ 2119a73027baSmrgfi 2120a73027baSmrgrmdir .tst 2>/dev/null 2121a73027baSmrg 2122a73027baSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2123a73027baSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2124a73027baSmrg # is not polluted with repeated "-I." 2125a73027baSmrg am__isrc=' -I$(srcdir)' 2126a73027baSmrg # test to see if srcdir already configured 2127a73027baSmrg if test -f $srcdir/config.status; then 2128a73027baSmrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2129a73027baSmrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2130a73027baSmrg { (exit 1); exit 1; }; } 2131a73027baSmrg fi 2132a73027baSmrgfi 2133a73027baSmrg 2134a73027baSmrg# test whether we have cygpath 2135a73027baSmrgif test -z "$CYGPATH_W"; then 2136a73027baSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2137a73027baSmrg CYGPATH_W='cygpath -w' 2138a73027baSmrg else 2139a73027baSmrg CYGPATH_W=echo 2140a73027baSmrg fi 2141a73027baSmrgfi 2142a73027baSmrg 2143a73027baSmrg 2144a73027baSmrg# Define the identity of the package. 2145a73027baSmrg PACKAGE='xinit' 214672e81212Smrg VERSION='1.1.1' 2147a73027baSmrg 2148a73027baSmrg 2149a73027baSmrgcat >>confdefs.h <<_ACEOF 2150a73027baSmrg#define PACKAGE "$PACKAGE" 2151a73027baSmrg_ACEOF 2152a73027baSmrg 2153a73027baSmrg 2154a73027baSmrgcat >>confdefs.h <<_ACEOF 2155a73027baSmrg#define VERSION "$VERSION" 2156a73027baSmrg_ACEOF 2157a73027baSmrg 2158a73027baSmrg# Some tools Automake needs. 2159a73027baSmrg 2160a73027baSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2161a73027baSmrg 2162a73027baSmrg 2163a73027baSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2164a73027baSmrg 2165a73027baSmrg 2166a73027baSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2167a73027baSmrg 2168a73027baSmrg 2169a73027baSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2170a73027baSmrg 2171a73027baSmrg 2172a73027baSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2173a73027baSmrg 2174a73027baSmrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 2175a73027baSmrg 2176a73027baSmrg# Installed binaries are usually stripped using `strip' when the user 2177a73027baSmrg# run `make install-strip'. However `strip' might not be the right 2178a73027baSmrg# tool to use in cross-compilation environments, therefore Automake 2179a73027baSmrg# will honor the `STRIP' environment variable to overrule this program. 2180a73027baSmrgif test "$cross_compiling" != no; then 2181a73027baSmrg if test -n "$ac_tool_prefix"; then 2182a73027baSmrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2183a73027baSmrgset dummy ${ac_tool_prefix}strip; ac_word=$2 2184a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2185a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2186a73027baSmrgif test "${ac_cv_prog_STRIP+set}" = set; then 2187a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2188a73027baSmrgelse 2189a73027baSmrg if test -n "$STRIP"; then 2190a73027baSmrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2191a73027baSmrgelse 2192a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2193a73027baSmrgfor as_dir in $PATH 2194a73027baSmrgdo 2195a73027baSmrg IFS=$as_save_IFS 2196a73027baSmrg test -z "$as_dir" && as_dir=. 2197a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2198a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2199a73027baSmrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2200a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2201a73027baSmrg break 2 2202a73027baSmrg fi 2203a73027baSmrgdone 2204a73027baSmrgdone 2205a73027baSmrgIFS=$as_save_IFS 2206a73027baSmrg 2207a73027baSmrgfi 2208a73027baSmrgfi 2209a73027baSmrgSTRIP=$ac_cv_prog_STRIP 2210a73027baSmrgif test -n "$STRIP"; then 2211a73027baSmrg { echo "$as_me:$LINENO: result: $STRIP" >&5 2212a73027baSmrgecho "${ECHO_T}$STRIP" >&6; } 2213a73027baSmrgelse 2214a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2215a73027baSmrgecho "${ECHO_T}no" >&6; } 2216a73027baSmrgfi 2217a73027baSmrg 2218a73027baSmrg 2219a73027baSmrgfi 2220a73027baSmrgif test -z "$ac_cv_prog_STRIP"; then 2221a73027baSmrg ac_ct_STRIP=$STRIP 2222a73027baSmrg # Extract the first word of "strip", so it can be a program name with args. 2223a73027baSmrgset dummy strip; ac_word=$2 2224a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2225a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2226a73027baSmrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2227a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2228a73027baSmrgelse 2229a73027baSmrg if test -n "$ac_ct_STRIP"; then 2230a73027baSmrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2231a73027baSmrgelse 2232a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2233a73027baSmrgfor as_dir in $PATH 2234a73027baSmrgdo 2235a73027baSmrg IFS=$as_save_IFS 2236a73027baSmrg test -z "$as_dir" && as_dir=. 2237a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2238a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2239a73027baSmrg ac_cv_prog_ac_ct_STRIP="strip" 2240a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2241a73027baSmrg break 2 2242a73027baSmrg fi 2243a73027baSmrgdone 2244a73027baSmrgdone 2245a73027baSmrgIFS=$as_save_IFS 2246a73027baSmrg 2247a73027baSmrgfi 2248a73027baSmrgfi 2249a73027baSmrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2250a73027baSmrgif test -n "$ac_ct_STRIP"; then 2251a73027baSmrg { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2252a73027baSmrgecho "${ECHO_T}$ac_ct_STRIP" >&6; } 2253a73027baSmrgelse 2254a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2255a73027baSmrgecho "${ECHO_T}no" >&6; } 2256a73027baSmrgfi 2257a73027baSmrg 2258a73027baSmrg if test "x$ac_ct_STRIP" = x; then 2259a73027baSmrg STRIP=":" 2260a73027baSmrg else 2261a73027baSmrg case $cross_compiling:$ac_tool_warned in 2262a73027baSmrgyes:) 2263a73027baSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2264a73027baSmrgwhose name does not start with the host triplet. If you think this 2265a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 2266a73027baSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2267a73027baSmrgwhose name does not start with the host triplet. If you think this 2268a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 2269a73027baSmrgac_tool_warned=yes ;; 2270a73027baSmrgesac 2271a73027baSmrg STRIP=$ac_ct_STRIP 2272a73027baSmrg fi 2273a73027baSmrgelse 2274a73027baSmrg STRIP="$ac_cv_prog_STRIP" 2275a73027baSmrgfi 2276a73027baSmrg 2277a73027baSmrgfi 2278a73027baSmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2279a73027baSmrg 2280a73027baSmrg# We need awk for the "check" target. The system "awk" is bad on 2281a73027baSmrg# some platforms. 2282a73027baSmrg# Always define AMTAR for backward compatibility. 2283a73027baSmrg 2284a73027baSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2285a73027baSmrg 2286a73027baSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2287a73027baSmrg 2288a73027baSmrg 2289a73027baSmrg 2290a73027baSmrg 2291a73027baSmrg 2292a73027baSmrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2293a73027baSmrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 2294a73027baSmrg # Check whether --enable-maintainer-mode was given. 2295a73027baSmrgif test "${enable_maintainer_mode+set}" = set; then 2296a73027baSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2297a73027baSmrgelse 2298a73027baSmrg USE_MAINTAINER_MODE=no 2299a73027baSmrgfi 2300a73027baSmrg 2301a73027baSmrg { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2302a73027baSmrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 2303a73027baSmrg if test $USE_MAINTAINER_MODE = yes; then 2304a73027baSmrg MAINTAINER_MODE_TRUE= 2305a73027baSmrg MAINTAINER_MODE_FALSE='#' 2306a73027baSmrgelse 2307a73027baSmrg MAINTAINER_MODE_TRUE='#' 2308a73027baSmrg MAINTAINER_MODE_FALSE= 2309a73027baSmrgfi 2310a73027baSmrg 2311a73027baSmrg MAINT=$MAINTAINER_MODE_TRUE 2312a73027baSmrg 2313a73027baSmrg 2314a73027baSmrg 2315a73027baSmrgac_config_headers="$ac_config_headers config.h" 2316a73027baSmrg 2317a73027baSmrg 2318a73027baSmrgac_ext=c 2319a73027baSmrgac_cpp='$CPP $CPPFLAGS' 2320a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2321a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2322a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2323a73027baSmrgif test -n "$ac_tool_prefix"; then 2324a73027baSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2325a73027baSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2326a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2327a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2328a73027baSmrgif test "${ac_cv_prog_CC+set}" = set; then 2329a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2330a73027baSmrgelse 2331a73027baSmrg if test -n "$CC"; then 2332a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2333a73027baSmrgelse 2334a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2335a73027baSmrgfor as_dir in $PATH 2336a73027baSmrgdo 2337a73027baSmrg IFS=$as_save_IFS 2338a73027baSmrg test -z "$as_dir" && as_dir=. 2339a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2340a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2341a73027baSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2342a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2343a73027baSmrg break 2 2344a73027baSmrg fi 2345a73027baSmrgdone 2346a73027baSmrgdone 2347a73027baSmrgIFS=$as_save_IFS 2348a73027baSmrg 2349a73027baSmrgfi 2350a73027baSmrgfi 2351a73027baSmrgCC=$ac_cv_prog_CC 2352a73027baSmrgif test -n "$CC"; then 2353a73027baSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2354a73027baSmrgecho "${ECHO_T}$CC" >&6; } 2355a73027baSmrgelse 2356a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2357a73027baSmrgecho "${ECHO_T}no" >&6; } 2358a73027baSmrgfi 2359a73027baSmrg 2360a73027baSmrg 2361a73027baSmrgfi 2362a73027baSmrgif test -z "$ac_cv_prog_CC"; then 2363a73027baSmrg ac_ct_CC=$CC 2364a73027baSmrg # Extract the first word of "gcc", so it can be a program name with args. 2365a73027baSmrgset dummy gcc; ac_word=$2 2366a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2367a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2368a73027baSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2369a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2370a73027baSmrgelse 2371a73027baSmrg if test -n "$ac_ct_CC"; then 2372a73027baSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2373a73027baSmrgelse 2374a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2375a73027baSmrgfor as_dir in $PATH 2376a73027baSmrgdo 2377a73027baSmrg IFS=$as_save_IFS 2378a73027baSmrg test -z "$as_dir" && as_dir=. 2379a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2380a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2381a73027baSmrg ac_cv_prog_ac_ct_CC="gcc" 2382a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2383a73027baSmrg break 2 2384a73027baSmrg fi 2385a73027baSmrgdone 2386a73027baSmrgdone 2387a73027baSmrgIFS=$as_save_IFS 2388a73027baSmrg 2389a73027baSmrgfi 2390a73027baSmrgfi 2391a73027baSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2392a73027baSmrgif test -n "$ac_ct_CC"; then 2393a73027baSmrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2394a73027baSmrgecho "${ECHO_T}$ac_ct_CC" >&6; } 2395a73027baSmrgelse 2396a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2397a73027baSmrgecho "${ECHO_T}no" >&6; } 2398a73027baSmrgfi 2399a73027baSmrg 2400a73027baSmrg if test "x$ac_ct_CC" = x; then 2401a73027baSmrg CC="" 2402a73027baSmrg else 2403a73027baSmrg case $cross_compiling:$ac_tool_warned in 2404a73027baSmrgyes:) 2405a73027baSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2406a73027baSmrgwhose name does not start with the host triplet. If you think this 2407a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 2408a73027baSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2409a73027baSmrgwhose name does not start with the host triplet. If you think this 2410a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 2411a73027baSmrgac_tool_warned=yes ;; 2412a73027baSmrgesac 2413a73027baSmrg CC=$ac_ct_CC 2414a73027baSmrg fi 2415a73027baSmrgelse 2416a73027baSmrg CC="$ac_cv_prog_CC" 2417a73027baSmrgfi 2418a73027baSmrg 2419a73027baSmrgif test -z "$CC"; then 2420a73027baSmrg if test -n "$ac_tool_prefix"; then 2421a73027baSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2422a73027baSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2423a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2424a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2425a73027baSmrgif test "${ac_cv_prog_CC+set}" = set; then 2426a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2427a73027baSmrgelse 2428a73027baSmrg if test -n "$CC"; then 2429a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2430a73027baSmrgelse 2431a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2432a73027baSmrgfor as_dir in $PATH 2433a73027baSmrgdo 2434a73027baSmrg IFS=$as_save_IFS 2435a73027baSmrg test -z "$as_dir" && as_dir=. 2436a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2437a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2438a73027baSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2439a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2440a73027baSmrg break 2 2441a73027baSmrg fi 2442a73027baSmrgdone 2443a73027baSmrgdone 2444a73027baSmrgIFS=$as_save_IFS 2445a73027baSmrg 2446a73027baSmrgfi 2447a73027baSmrgfi 2448a73027baSmrgCC=$ac_cv_prog_CC 2449a73027baSmrgif test -n "$CC"; then 2450a73027baSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2451a73027baSmrgecho "${ECHO_T}$CC" >&6; } 2452a73027baSmrgelse 2453a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2454a73027baSmrgecho "${ECHO_T}no" >&6; } 2455a73027baSmrgfi 2456a73027baSmrg 2457a73027baSmrg 2458a73027baSmrg fi 2459a73027baSmrgfi 2460a73027baSmrgif test -z "$CC"; then 2461a73027baSmrg # Extract the first word of "cc", so it can be a program name with args. 2462a73027baSmrgset dummy cc; ac_word=$2 2463a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2464a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2465a73027baSmrgif test "${ac_cv_prog_CC+set}" = set; then 2466a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2467a73027baSmrgelse 2468a73027baSmrg if test -n "$CC"; then 2469a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2470a73027baSmrgelse 2471a73027baSmrg ac_prog_rejected=no 2472a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2473a73027baSmrgfor as_dir in $PATH 2474a73027baSmrgdo 2475a73027baSmrg IFS=$as_save_IFS 2476a73027baSmrg test -z "$as_dir" && as_dir=. 2477a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2478a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2479a73027baSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2480a73027baSmrg ac_prog_rejected=yes 2481a73027baSmrg continue 2482a73027baSmrg fi 2483a73027baSmrg ac_cv_prog_CC="cc" 2484a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2485a73027baSmrg break 2 2486a73027baSmrg fi 2487a73027baSmrgdone 2488a73027baSmrgdone 2489a73027baSmrgIFS=$as_save_IFS 2490a73027baSmrg 2491a73027baSmrgif test $ac_prog_rejected = yes; then 2492a73027baSmrg # We found a bogon in the path, so make sure we never use it. 2493a73027baSmrg set dummy $ac_cv_prog_CC 2494a73027baSmrg shift 2495a73027baSmrg if test $# != 0; then 2496a73027baSmrg # We chose a different compiler from the bogus one. 2497a73027baSmrg # However, it has the same basename, so the bogon will be chosen 2498a73027baSmrg # first if we set CC to just the basename; use the full file name. 2499a73027baSmrg shift 2500a73027baSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2501a73027baSmrg fi 2502a73027baSmrgfi 2503a73027baSmrgfi 2504a73027baSmrgfi 2505a73027baSmrgCC=$ac_cv_prog_CC 2506a73027baSmrgif test -n "$CC"; then 2507a73027baSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2508a73027baSmrgecho "${ECHO_T}$CC" >&6; } 2509a73027baSmrgelse 2510a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2511a73027baSmrgecho "${ECHO_T}no" >&6; } 2512a73027baSmrgfi 2513a73027baSmrg 2514a73027baSmrg 2515a73027baSmrgfi 2516a73027baSmrgif test -z "$CC"; then 2517a73027baSmrg if test -n "$ac_tool_prefix"; then 2518a73027baSmrg for ac_prog in cl.exe 2519a73027baSmrg do 2520a73027baSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2521a73027baSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2522a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2523a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2524a73027baSmrgif test "${ac_cv_prog_CC+set}" = set; then 2525a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2526a73027baSmrgelse 2527a73027baSmrg if test -n "$CC"; then 2528a73027baSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2529a73027baSmrgelse 2530a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2531a73027baSmrgfor as_dir in $PATH 2532a73027baSmrgdo 2533a73027baSmrg IFS=$as_save_IFS 2534a73027baSmrg test -z "$as_dir" && as_dir=. 2535a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2536a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2537a73027baSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2538a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2539a73027baSmrg break 2 2540a73027baSmrg fi 2541a73027baSmrgdone 2542a73027baSmrgdone 2543a73027baSmrgIFS=$as_save_IFS 2544a73027baSmrg 2545a73027baSmrgfi 2546a73027baSmrgfi 2547a73027baSmrgCC=$ac_cv_prog_CC 2548a73027baSmrgif test -n "$CC"; then 2549a73027baSmrg { echo "$as_me:$LINENO: result: $CC" >&5 2550a73027baSmrgecho "${ECHO_T}$CC" >&6; } 2551a73027baSmrgelse 2552a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2553a73027baSmrgecho "${ECHO_T}no" >&6; } 2554a73027baSmrgfi 2555a73027baSmrg 2556a73027baSmrg 2557a73027baSmrg test -n "$CC" && break 2558a73027baSmrg done 2559a73027baSmrgfi 2560a73027baSmrgif test -z "$CC"; then 2561a73027baSmrg ac_ct_CC=$CC 2562a73027baSmrg for ac_prog in cl.exe 2563a73027baSmrgdo 2564a73027baSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2565a73027baSmrgset dummy $ac_prog; ac_word=$2 2566a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2567a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2568a73027baSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2569a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2570a73027baSmrgelse 2571a73027baSmrg if test -n "$ac_ct_CC"; then 2572a73027baSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2573a73027baSmrgelse 2574a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2575a73027baSmrgfor as_dir in $PATH 2576a73027baSmrgdo 2577a73027baSmrg IFS=$as_save_IFS 2578a73027baSmrg test -z "$as_dir" && as_dir=. 2579a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2580a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2581a73027baSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 2582a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2583a73027baSmrg break 2 2584a73027baSmrg fi 2585a73027baSmrgdone 2586a73027baSmrgdone 2587a73027baSmrgIFS=$as_save_IFS 2588a73027baSmrg 2589a73027baSmrgfi 2590a73027baSmrgfi 2591a73027baSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2592a73027baSmrgif test -n "$ac_ct_CC"; then 2593a73027baSmrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2594a73027baSmrgecho "${ECHO_T}$ac_ct_CC" >&6; } 2595a73027baSmrgelse 2596a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 2597a73027baSmrgecho "${ECHO_T}no" >&6; } 2598a73027baSmrgfi 2599a73027baSmrg 2600a73027baSmrg 2601a73027baSmrg test -n "$ac_ct_CC" && break 2602a73027baSmrgdone 2603a73027baSmrg 2604a73027baSmrg if test "x$ac_ct_CC" = x; then 2605a73027baSmrg CC="" 2606a73027baSmrg else 2607a73027baSmrg case $cross_compiling:$ac_tool_warned in 2608a73027baSmrgyes:) 2609a73027baSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2610a73027baSmrgwhose name does not start with the host triplet. If you think this 2611a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 2612a73027baSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2613a73027baSmrgwhose name does not start with the host triplet. If you think this 2614a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 2615a73027baSmrgac_tool_warned=yes ;; 2616a73027baSmrgesac 2617a73027baSmrg CC=$ac_ct_CC 2618a73027baSmrg fi 2619a73027baSmrgfi 2620a73027baSmrg 2621a73027baSmrgfi 2622a73027baSmrg 2623a73027baSmrg 2624a73027baSmrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2625a73027baSmrgSee \`config.log' for more details." >&5 2626a73027baSmrgecho "$as_me: error: no acceptable C compiler found in \$PATH 2627a73027baSmrgSee \`config.log' for more details." >&2;} 2628a73027baSmrg { (exit 1); exit 1; }; } 2629a73027baSmrg 2630a73027baSmrg# Provide some information about the compiler. 2631a73027baSmrgecho "$as_me:$LINENO: checking for C compiler version" >&5 2632a73027baSmrgac_compiler=`set X $ac_compile; echo $2` 2633a73027baSmrg{ (ac_try="$ac_compiler --version >&5" 2634a73027baSmrgcase "(($ac_try" in 2635a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2636a73027baSmrg *) ac_try_echo=$ac_try;; 2637a73027baSmrgesac 2638a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2639a73027baSmrg (eval "$ac_compiler --version >&5") 2>&5 2640a73027baSmrg ac_status=$? 2641a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2642a73027baSmrg (exit $ac_status); } 2643a73027baSmrg{ (ac_try="$ac_compiler -v >&5" 2644a73027baSmrgcase "(($ac_try" in 2645a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2646a73027baSmrg *) ac_try_echo=$ac_try;; 2647a73027baSmrgesac 2648a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2649a73027baSmrg (eval "$ac_compiler -v >&5") 2>&5 2650a73027baSmrg ac_status=$? 2651a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2652a73027baSmrg (exit $ac_status); } 2653a73027baSmrg{ (ac_try="$ac_compiler -V >&5" 2654a73027baSmrgcase "(($ac_try" in 2655a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2656a73027baSmrg *) ac_try_echo=$ac_try;; 2657a73027baSmrgesac 2658a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2659a73027baSmrg (eval "$ac_compiler -V >&5") 2>&5 2660a73027baSmrg ac_status=$? 2661a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2662a73027baSmrg (exit $ac_status); } 2663a73027baSmrg 2664a73027baSmrgcat >conftest.$ac_ext <<_ACEOF 2665a73027baSmrg/* confdefs.h. */ 2666a73027baSmrg_ACEOF 2667a73027baSmrgcat confdefs.h >>conftest.$ac_ext 2668a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 2669a73027baSmrg/* end confdefs.h. */ 2670a73027baSmrg 2671a73027baSmrgint 2672a73027baSmrgmain () 2673a73027baSmrg{ 2674a73027baSmrg 2675a73027baSmrg ; 2676a73027baSmrg return 0; 2677a73027baSmrg} 2678a73027baSmrg_ACEOF 2679a73027baSmrgac_clean_files_save=$ac_clean_files 2680a73027baSmrgac_clean_files="$ac_clean_files a.out a.exe b.out" 2681a73027baSmrg# Try to create an executable without -o first, disregard a.out. 2682a73027baSmrg# It will help us diagnose broken compilers, and finding out an intuition 2683a73027baSmrg# of exeext. 2684a73027baSmrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2685a73027baSmrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2686a73027baSmrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2687a73027baSmrg# 2688a73027baSmrg# List of possible output files, starting from the most likely. 2689a73027baSmrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2690a73027baSmrg# only as a last resort. b.out is created by i960 compilers. 2691a73027baSmrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2692a73027baSmrg# 2693a73027baSmrg# The IRIX 6 linker writes into existing files which may not be 2694a73027baSmrg# executable, retaining their permissions. Remove them first so a 2695a73027baSmrg# subsequent execution test works. 2696a73027baSmrgac_rmfiles= 2697a73027baSmrgfor ac_file in $ac_files 2698a73027baSmrgdo 2699a73027baSmrg case $ac_file in 2700a73027baSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2701a73027baSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2702a73027baSmrg esac 2703a73027baSmrgdone 2704a73027baSmrgrm -f $ac_rmfiles 2705a73027baSmrg 2706a73027baSmrgif { (ac_try="$ac_link_default" 2707a73027baSmrgcase "(($ac_try" in 2708a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2709a73027baSmrg *) ac_try_echo=$ac_try;; 2710a73027baSmrgesac 2711a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2712a73027baSmrg (eval "$ac_link_default") 2>&5 2713a73027baSmrg ac_status=$? 2714a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2715a73027baSmrg (exit $ac_status); }; then 2716a73027baSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2717a73027baSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2718a73027baSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 2719a73027baSmrg# so that the user can short-circuit this test for compilers unknown to 2720a73027baSmrg# Autoconf. 2721a73027baSmrgfor ac_file in $ac_files '' 2722a73027baSmrgdo 2723a73027baSmrg test -f "$ac_file" || continue 2724a73027baSmrg case $ac_file in 2725a73027baSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2726a73027baSmrg ;; 2727a73027baSmrg [ab].out ) 2728a73027baSmrg # We found the default executable, but exeext='' is most 2729a73027baSmrg # certainly right. 2730a73027baSmrg break;; 2731a73027baSmrg *.* ) 2732a73027baSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2733a73027baSmrg then :; else 2734a73027baSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2735a73027baSmrg fi 2736a73027baSmrg # We set ac_cv_exeext here because the later test for it is not 2737a73027baSmrg # safe: cross compilers may not add the suffix if given an `-o' 2738a73027baSmrg # argument, so we may need to know it at that point already. 2739a73027baSmrg # Even if this section looks crufty: it has the advantage of 2740a73027baSmrg # actually working. 2741a73027baSmrg break;; 2742a73027baSmrg * ) 2743a73027baSmrg break;; 2744a73027baSmrg esac 2745a73027baSmrgdone 2746a73027baSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 2747a73027baSmrg 2748a73027baSmrgelse 2749a73027baSmrg ac_file='' 2750a73027baSmrgfi 2751a73027baSmrg 2752a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_file" >&5 2753a73027baSmrgecho "${ECHO_T}$ac_file" >&6; } 2754a73027baSmrgif test -z "$ac_file"; then 2755a73027baSmrg echo "$as_me: failed program was:" >&5 2756a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 2757a73027baSmrg 2758a73027baSmrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2759a73027baSmrgSee \`config.log' for more details." >&5 2760a73027baSmrgecho "$as_me: error: C compiler cannot create executables 2761a73027baSmrgSee \`config.log' for more details." >&2;} 2762a73027baSmrg { (exit 77); exit 77; }; } 2763a73027baSmrgfi 2764a73027baSmrg 2765a73027baSmrgac_exeext=$ac_cv_exeext 2766a73027baSmrg 2767a73027baSmrg# Check that the compiler produces executables we can run. If not, either 2768a73027baSmrg# the compiler is broken, or we cross compile. 2769a73027baSmrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2770a73027baSmrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2771a73027baSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2772a73027baSmrg# If not cross compiling, check that we can run a simple program. 2773a73027baSmrgif test "$cross_compiling" != yes; then 2774a73027baSmrg if { ac_try='./$ac_file' 2775a73027baSmrg { (case "(($ac_try" in 2776a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2777a73027baSmrg *) ac_try_echo=$ac_try;; 2778a73027baSmrgesac 2779a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2780a73027baSmrg (eval "$ac_try") 2>&5 2781a73027baSmrg ac_status=$? 2782a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2783a73027baSmrg (exit $ac_status); }; }; then 2784a73027baSmrg cross_compiling=no 2785a73027baSmrg else 2786a73027baSmrg if test "$cross_compiling" = maybe; then 2787a73027baSmrg cross_compiling=yes 2788a73027baSmrg else 2789a73027baSmrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2790a73027baSmrgIf you meant to cross compile, use \`--host'. 2791a73027baSmrgSee \`config.log' for more details." >&5 2792a73027baSmrgecho "$as_me: error: cannot run C compiled programs. 2793a73027baSmrgIf you meant to cross compile, use \`--host'. 2794a73027baSmrgSee \`config.log' for more details." >&2;} 2795a73027baSmrg { (exit 1); exit 1; }; } 2796a73027baSmrg fi 2797a73027baSmrg fi 2798a73027baSmrgfi 2799a73027baSmrg{ echo "$as_me:$LINENO: result: yes" >&5 2800a73027baSmrgecho "${ECHO_T}yes" >&6; } 2801a73027baSmrg 2802a73027baSmrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 2803a73027baSmrgac_clean_files=$ac_clean_files_save 2804a73027baSmrg# Check that the compiler produces executables we can run. If not, either 2805a73027baSmrg# the compiler is broken, or we cross compile. 2806a73027baSmrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2807a73027baSmrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2808a73027baSmrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2809a73027baSmrgecho "${ECHO_T}$cross_compiling" >&6; } 2810a73027baSmrg 2811a73027baSmrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2812a73027baSmrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2813a73027baSmrgif { (ac_try="$ac_link" 2814a73027baSmrgcase "(($ac_try" in 2815a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2816a73027baSmrg *) ac_try_echo=$ac_try;; 2817a73027baSmrgesac 2818a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2819a73027baSmrg (eval "$ac_link") 2>&5 2820a73027baSmrg ac_status=$? 2821a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2822a73027baSmrg (exit $ac_status); }; then 2823a73027baSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2824a73027baSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2825a73027baSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2826a73027baSmrg# `rm'. 2827a73027baSmrgfor ac_file in conftest.exe conftest conftest.*; do 2828a73027baSmrg test -f "$ac_file" || continue 2829a73027baSmrg case $ac_file in 2830a73027baSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2831a73027baSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2832a73027baSmrg break;; 2833a73027baSmrg * ) break;; 2834a73027baSmrg esac 2835a73027baSmrgdone 2836a73027baSmrgelse 2837a73027baSmrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2838a73027baSmrgSee \`config.log' for more details." >&5 2839a73027baSmrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 2840a73027baSmrgSee \`config.log' for more details." >&2;} 2841a73027baSmrg { (exit 1); exit 1; }; } 2842a73027baSmrgfi 2843a73027baSmrg 2844a73027baSmrgrm -f conftest$ac_cv_exeext 2845a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2846a73027baSmrgecho "${ECHO_T}$ac_cv_exeext" >&6; } 2847a73027baSmrg 2848a73027baSmrgrm -f conftest.$ac_ext 2849a73027baSmrgEXEEXT=$ac_cv_exeext 2850a73027baSmrgac_exeext=$EXEEXT 2851a73027baSmrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2852a73027baSmrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2853a73027baSmrgif test "${ac_cv_objext+set}" = set; then 2854a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2855a73027baSmrgelse 2856a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 2857a73027baSmrg/* confdefs.h. */ 2858a73027baSmrg_ACEOF 2859a73027baSmrgcat confdefs.h >>conftest.$ac_ext 2860a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 2861a73027baSmrg/* end confdefs.h. */ 2862a73027baSmrg 2863a73027baSmrgint 2864a73027baSmrgmain () 2865a73027baSmrg{ 2866a73027baSmrg 2867a73027baSmrg ; 2868a73027baSmrg return 0; 2869a73027baSmrg} 2870a73027baSmrg_ACEOF 2871a73027baSmrgrm -f conftest.o conftest.obj 2872a73027baSmrgif { (ac_try="$ac_compile" 2873a73027baSmrgcase "(($ac_try" in 2874a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2875a73027baSmrg *) ac_try_echo=$ac_try;; 2876a73027baSmrgesac 2877a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2878a73027baSmrg (eval "$ac_compile") 2>&5 2879a73027baSmrg ac_status=$? 2880a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2881a73027baSmrg (exit $ac_status); }; then 2882a73027baSmrg for ac_file in conftest.o conftest.obj conftest.*; do 2883a73027baSmrg test -f "$ac_file" || continue; 2884a73027baSmrg case $ac_file in 2885a73027baSmrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2886a73027baSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2887a73027baSmrg break;; 2888a73027baSmrg esac 2889a73027baSmrgdone 2890a73027baSmrgelse 2891a73027baSmrg echo "$as_me: failed program was:" >&5 2892a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 2893a73027baSmrg 2894a73027baSmrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2895a73027baSmrgSee \`config.log' for more details." >&5 2896a73027baSmrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 2897a73027baSmrgSee \`config.log' for more details." >&2;} 2898a73027baSmrg { (exit 1); exit 1; }; } 2899a73027baSmrgfi 2900a73027baSmrg 2901a73027baSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 2902a73027baSmrgfi 2903a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2904a73027baSmrgecho "${ECHO_T}$ac_cv_objext" >&6; } 2905a73027baSmrgOBJEXT=$ac_cv_objext 2906a73027baSmrgac_objext=$OBJEXT 2907a73027baSmrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2908a73027baSmrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2909a73027baSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 2910a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2911a73027baSmrgelse 2912a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 2913a73027baSmrg/* confdefs.h. */ 2914a73027baSmrg_ACEOF 2915a73027baSmrgcat confdefs.h >>conftest.$ac_ext 2916a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 2917a73027baSmrg/* end confdefs.h. */ 2918a73027baSmrg 2919a73027baSmrgint 2920a73027baSmrgmain () 2921a73027baSmrg{ 2922a73027baSmrg#ifndef __GNUC__ 2923a73027baSmrg choke me 2924a73027baSmrg#endif 2925a73027baSmrg 2926a73027baSmrg ; 2927a73027baSmrg return 0; 2928a73027baSmrg} 2929a73027baSmrg_ACEOF 2930a73027baSmrgrm -f conftest.$ac_objext 2931a73027baSmrgif { (ac_try="$ac_compile" 2932a73027baSmrgcase "(($ac_try" in 2933a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2934a73027baSmrg *) ac_try_echo=$ac_try;; 2935a73027baSmrgesac 2936a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2937a73027baSmrg (eval "$ac_compile") 2>conftest.er1 2938a73027baSmrg ac_status=$? 2939a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 2940a73027baSmrg rm -f conftest.er1 2941a73027baSmrg cat conftest.err >&5 2942a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 2943a73027baSmrg (exit $ac_status); } && { 2944a73027baSmrg test -z "$ac_c_werror_flag" || 2945a73027baSmrg test ! -s conftest.err 2946a73027baSmrg } && test -s conftest.$ac_objext; then 2947a73027baSmrg ac_compiler_gnu=yes 2948a73027baSmrgelse 2949a73027baSmrg echo "$as_me: failed program was:" >&5 2950a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 2951a73027baSmrg 2952a73027baSmrg ac_compiler_gnu=no 2953a73027baSmrgfi 2954a73027baSmrg 2955a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2956a73027baSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 2957a73027baSmrg 2958a73027baSmrgfi 2959a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2960a73027baSmrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2961a73027baSmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 2962a73027baSmrgac_test_CFLAGS=${CFLAGS+set} 2963a73027baSmrgac_save_CFLAGS=$CFLAGS 2964a73027baSmrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2965a73027baSmrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2966a73027baSmrgif test "${ac_cv_prog_cc_g+set}" = set; then 2967a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 2968a73027baSmrgelse 2969a73027baSmrg ac_save_c_werror_flag=$ac_c_werror_flag 2970a73027baSmrg ac_c_werror_flag=yes 2971a73027baSmrg ac_cv_prog_cc_g=no 2972a73027baSmrg CFLAGS="-g" 2973a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 2974a73027baSmrg/* confdefs.h. */ 2975a73027baSmrg_ACEOF 2976a73027baSmrgcat confdefs.h >>conftest.$ac_ext 2977a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 2978a73027baSmrg/* end confdefs.h. */ 2979a73027baSmrg 2980a73027baSmrgint 2981a73027baSmrgmain () 2982a73027baSmrg{ 2983a73027baSmrg 2984a73027baSmrg ; 2985a73027baSmrg return 0; 2986a73027baSmrg} 2987a73027baSmrg_ACEOF 2988a73027baSmrgrm -f conftest.$ac_objext 2989a73027baSmrgif { (ac_try="$ac_compile" 2990a73027baSmrgcase "(($ac_try" in 2991a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2992a73027baSmrg *) ac_try_echo=$ac_try;; 2993a73027baSmrgesac 2994a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2995a73027baSmrg (eval "$ac_compile") 2>conftest.er1 2996a73027baSmrg ac_status=$? 2997a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 2998a73027baSmrg rm -f conftest.er1 2999a73027baSmrg cat conftest.err >&5 3000a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3001a73027baSmrg (exit $ac_status); } && { 3002a73027baSmrg test -z "$ac_c_werror_flag" || 3003a73027baSmrg test ! -s conftest.err 3004a73027baSmrg } && test -s conftest.$ac_objext; then 3005a73027baSmrg ac_cv_prog_cc_g=yes 3006a73027baSmrgelse 3007a73027baSmrg echo "$as_me: failed program was:" >&5 3008a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3009a73027baSmrg 3010a73027baSmrg CFLAGS="" 3011a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 3012a73027baSmrg/* confdefs.h. */ 3013a73027baSmrg_ACEOF 3014a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3015a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3016a73027baSmrg/* end confdefs.h. */ 3017a73027baSmrg 3018a73027baSmrgint 3019a73027baSmrgmain () 3020a73027baSmrg{ 3021a73027baSmrg 3022a73027baSmrg ; 3023a73027baSmrg return 0; 3024a73027baSmrg} 3025a73027baSmrg_ACEOF 3026a73027baSmrgrm -f conftest.$ac_objext 3027a73027baSmrgif { (ac_try="$ac_compile" 3028a73027baSmrgcase "(($ac_try" in 3029a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3030a73027baSmrg *) ac_try_echo=$ac_try;; 3031a73027baSmrgesac 3032a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3033a73027baSmrg (eval "$ac_compile") 2>conftest.er1 3034a73027baSmrg ac_status=$? 3035a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 3036a73027baSmrg rm -f conftest.er1 3037a73027baSmrg cat conftest.err >&5 3038a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3039a73027baSmrg (exit $ac_status); } && { 3040a73027baSmrg test -z "$ac_c_werror_flag" || 3041a73027baSmrg test ! -s conftest.err 3042a73027baSmrg } && test -s conftest.$ac_objext; then 3043a73027baSmrg : 3044a73027baSmrgelse 3045a73027baSmrg echo "$as_me: failed program was:" >&5 3046a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3047a73027baSmrg 3048a73027baSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3049a73027baSmrg CFLAGS="-g" 3050a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 3051a73027baSmrg/* confdefs.h. */ 3052a73027baSmrg_ACEOF 3053a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3054a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3055a73027baSmrg/* end confdefs.h. */ 3056a73027baSmrg 3057a73027baSmrgint 3058a73027baSmrgmain () 3059a73027baSmrg{ 3060a73027baSmrg 3061a73027baSmrg ; 3062a73027baSmrg return 0; 3063a73027baSmrg} 3064a73027baSmrg_ACEOF 3065a73027baSmrgrm -f conftest.$ac_objext 3066a73027baSmrgif { (ac_try="$ac_compile" 3067a73027baSmrgcase "(($ac_try" in 3068a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3069a73027baSmrg *) ac_try_echo=$ac_try;; 3070a73027baSmrgesac 3071a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3072a73027baSmrg (eval "$ac_compile") 2>conftest.er1 3073a73027baSmrg ac_status=$? 3074a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 3075a73027baSmrg rm -f conftest.er1 3076a73027baSmrg cat conftest.err >&5 3077a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3078a73027baSmrg (exit $ac_status); } && { 3079a73027baSmrg test -z "$ac_c_werror_flag" || 3080a73027baSmrg test ! -s conftest.err 3081a73027baSmrg } && test -s conftest.$ac_objext; then 3082a73027baSmrg ac_cv_prog_cc_g=yes 3083a73027baSmrgelse 3084a73027baSmrg echo "$as_me: failed program was:" >&5 3085a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3086a73027baSmrg 3087a73027baSmrg 3088a73027baSmrgfi 3089a73027baSmrg 3090a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3091a73027baSmrgfi 3092a73027baSmrg 3093a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3094a73027baSmrgfi 3095a73027baSmrg 3096a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3097a73027baSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3098a73027baSmrgfi 3099a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3100a73027baSmrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 3101a73027baSmrgif test "$ac_test_CFLAGS" = set; then 3102a73027baSmrg CFLAGS=$ac_save_CFLAGS 3103a73027baSmrgelif test $ac_cv_prog_cc_g = yes; then 3104a73027baSmrg if test "$GCC" = yes; then 3105a73027baSmrg CFLAGS="-g -O2" 3106a73027baSmrg else 3107a73027baSmrg CFLAGS="-g" 3108a73027baSmrg fi 3109a73027baSmrgelse 3110a73027baSmrg if test "$GCC" = yes; then 3111a73027baSmrg CFLAGS="-O2" 3112a73027baSmrg else 3113a73027baSmrg CFLAGS= 3114a73027baSmrg fi 3115a73027baSmrgfi 3116a73027baSmrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3117a73027baSmrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 3118a73027baSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then 3119a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3120a73027baSmrgelse 3121a73027baSmrg ac_cv_prog_cc_c89=no 3122a73027baSmrgac_save_CC=$CC 3123a73027baSmrgcat >conftest.$ac_ext <<_ACEOF 3124a73027baSmrg/* confdefs.h. */ 3125a73027baSmrg_ACEOF 3126a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3127a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3128a73027baSmrg/* end confdefs.h. */ 3129a73027baSmrg#include <stdarg.h> 3130a73027baSmrg#include <stdio.h> 3131a73027baSmrg#include <sys/types.h> 3132a73027baSmrg#include <sys/stat.h> 3133a73027baSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3134a73027baSmrgstruct buf { int x; }; 3135a73027baSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3136a73027baSmrgstatic char *e (p, i) 3137a73027baSmrg char **p; 3138a73027baSmrg int i; 3139a73027baSmrg{ 3140a73027baSmrg return p[i]; 3141a73027baSmrg} 3142a73027baSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3143a73027baSmrg{ 3144a73027baSmrg char *s; 3145a73027baSmrg va_list v; 3146a73027baSmrg va_start (v,p); 3147a73027baSmrg s = g (p, va_arg (v,int)); 3148a73027baSmrg va_end (v); 3149a73027baSmrg return s; 3150a73027baSmrg} 3151a73027baSmrg 3152a73027baSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3153a73027baSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3154a73027baSmrg These don't provoke an error unfortunately, instead are silently treated 3155a73027baSmrg as 'x'. The following induces an error, until -std is added to get 3156a73027baSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3157a73027baSmrg array size at least. It's necessary to write '\x00'==0 to get something 3158a73027baSmrg that's true only with -std. */ 3159a73027baSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3160a73027baSmrg 3161a73027baSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3162a73027baSmrg inside strings and character constants. */ 3163a73027baSmrg#define FOO(x) 'x' 3164a73027baSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3165a73027baSmrg 3166a73027baSmrgint test (int i, double x); 3167a73027baSmrgstruct s1 {int (*f) (int a);}; 3168a73027baSmrgstruct s2 {int (*f) (double a);}; 3169a73027baSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3170a73027baSmrgint argc; 3171a73027baSmrgchar **argv; 3172a73027baSmrgint 3173a73027baSmrgmain () 3174a73027baSmrg{ 3175a73027baSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3176a73027baSmrg ; 3177a73027baSmrg return 0; 3178a73027baSmrg} 3179a73027baSmrg_ACEOF 3180a73027baSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3181a73027baSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3182a73027baSmrgdo 3183a73027baSmrg CC="$ac_save_CC $ac_arg" 3184a73027baSmrg rm -f conftest.$ac_objext 3185a73027baSmrgif { (ac_try="$ac_compile" 3186a73027baSmrgcase "(($ac_try" in 3187a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3188a73027baSmrg *) ac_try_echo=$ac_try;; 3189a73027baSmrgesac 3190a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3191a73027baSmrg (eval "$ac_compile") 2>conftest.er1 3192a73027baSmrg ac_status=$? 3193a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 3194a73027baSmrg rm -f conftest.er1 3195a73027baSmrg cat conftest.err >&5 3196a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3197a73027baSmrg (exit $ac_status); } && { 3198a73027baSmrg test -z "$ac_c_werror_flag" || 3199a73027baSmrg test ! -s conftest.err 3200a73027baSmrg } && test -s conftest.$ac_objext; then 3201a73027baSmrg ac_cv_prog_cc_c89=$ac_arg 3202a73027baSmrgelse 3203a73027baSmrg echo "$as_me: failed program was:" >&5 3204a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3205a73027baSmrg 3206a73027baSmrg 3207a73027baSmrgfi 3208a73027baSmrg 3209a73027baSmrgrm -f core conftest.err conftest.$ac_objext 3210a73027baSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3211a73027baSmrgdone 3212a73027baSmrgrm -f conftest.$ac_ext 3213a73027baSmrgCC=$ac_save_CC 3214a73027baSmrg 3215a73027baSmrgfi 3216a73027baSmrg# AC_CACHE_VAL 3217a73027baSmrgcase "x$ac_cv_prog_cc_c89" in 3218a73027baSmrg x) 3219a73027baSmrg { echo "$as_me:$LINENO: result: none needed" >&5 3220a73027baSmrgecho "${ECHO_T}none needed" >&6; } ;; 3221a73027baSmrg xno) 3222a73027baSmrg { echo "$as_me:$LINENO: result: unsupported" >&5 3223a73027baSmrgecho "${ECHO_T}unsupported" >&6; } ;; 3224a73027baSmrg *) 3225a73027baSmrg CC="$CC $ac_cv_prog_cc_c89" 3226a73027baSmrg { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3227a73027baSmrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 3228a73027baSmrgesac 3229a73027baSmrg 3230a73027baSmrg 3231a73027baSmrgac_ext=c 3232a73027baSmrgac_cpp='$CPP $CPPFLAGS' 3233a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3234a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3235a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3236a73027baSmrgDEPDIR="${am__leading_dot}deps" 3237a73027baSmrg 3238a73027baSmrgac_config_commands="$ac_config_commands depfiles" 3239a73027baSmrg 3240a73027baSmrg 3241a73027baSmrgam_make=${MAKE-make} 3242a73027baSmrgcat > confinc << 'END' 3243a73027baSmrgam__doit: 3244a73027baSmrg @echo done 3245a73027baSmrg.PHONY: am__doit 3246a73027baSmrgEND 3247a73027baSmrg# If we don't find an include directive, just comment out the code. 3248a73027baSmrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3249a73027baSmrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 3250a73027baSmrgam__include="#" 3251a73027baSmrgam__quote= 3252a73027baSmrg_am_result=none 3253a73027baSmrg# First try GNU make style include. 3254a73027baSmrgecho "include confinc" > confmf 3255a73027baSmrg# We grep out `Entering directory' and `Leaving directory' 3256a73027baSmrg# messages which can occur if `w' ends up in MAKEFLAGS. 3257a73027baSmrg# In particular we don't look at `^make:' because GNU make might 3258a73027baSmrg# be invoked under some other name (usually "gmake"), in which 3259a73027baSmrg# case it prints its new name instead of `make'. 3260a73027baSmrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3261a73027baSmrg am__include=include 3262a73027baSmrg am__quote= 3263a73027baSmrg _am_result=GNU 3264a73027baSmrgfi 3265a73027baSmrg# Now try BSD make style include. 3266a73027baSmrgif test "$am__include" = "#"; then 3267a73027baSmrg echo '.include "confinc"' > confmf 3268a73027baSmrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3269a73027baSmrg am__include=.include 3270a73027baSmrg am__quote="\"" 3271a73027baSmrg _am_result=BSD 3272a73027baSmrg fi 3273a73027baSmrgfi 3274a73027baSmrg 3275a73027baSmrg 3276a73027baSmrg{ echo "$as_me:$LINENO: result: $_am_result" >&5 3277a73027baSmrgecho "${ECHO_T}$_am_result" >&6; } 3278a73027baSmrgrm -f confinc confmf 3279a73027baSmrg 3280a73027baSmrg# Check whether --enable-dependency-tracking was given. 3281a73027baSmrgif test "${enable_dependency_tracking+set}" = set; then 3282a73027baSmrg enableval=$enable_dependency_tracking; 3283a73027baSmrgfi 3284a73027baSmrg 3285a73027baSmrgif test "x$enable_dependency_tracking" != xno; then 3286a73027baSmrg am_depcomp="$ac_aux_dir/depcomp" 3287a73027baSmrg AMDEPBACKSLASH='\' 3288a73027baSmrgfi 3289a73027baSmrg if test "x$enable_dependency_tracking" != xno; then 3290a73027baSmrg AMDEP_TRUE= 3291a73027baSmrg AMDEP_FALSE='#' 3292a73027baSmrgelse 3293a73027baSmrg AMDEP_TRUE='#' 3294a73027baSmrg AMDEP_FALSE= 3295a73027baSmrgfi 3296a73027baSmrg 3297a73027baSmrg 3298a73027baSmrg 3299a73027baSmrgdepcc="$CC" am_compiler_list= 3300a73027baSmrg 3301a73027baSmrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3302a73027baSmrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 3303a73027baSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3304a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3305a73027baSmrgelse 3306a73027baSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3307a73027baSmrg # We make a subdir and do the tests there. Otherwise we can end up 3308a73027baSmrg # making bogus files that we don't know about and never remove. For 3309a73027baSmrg # instance it was reported that on HP-UX the gcc test will end up 3310a73027baSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3311a73027baSmrg # in D'. 3312a73027baSmrg mkdir conftest.dir 3313a73027baSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3314a73027baSmrg # using a relative directory. 3315a73027baSmrg cp "$am_depcomp" conftest.dir 3316a73027baSmrg cd conftest.dir 3317a73027baSmrg # We will build objects and dependencies in a subdirectory because 3318a73027baSmrg # it helps to detect inapplicable dependency modes. For instance 3319a73027baSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3320a73027baSmrg # side effect of compilation, but ICC will put the dependencies in 3321a73027baSmrg # the current directory while Tru64 will put them in the object 3322a73027baSmrg # directory. 3323a73027baSmrg mkdir sub 3324a73027baSmrg 3325a73027baSmrg am_cv_CC_dependencies_compiler_type=none 3326a73027baSmrg if test "$am_compiler_list" = ""; then 3327a73027baSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3328a73027baSmrg fi 3329a73027baSmrg for depmode in $am_compiler_list; do 3330a73027baSmrg # Setup a source with many dependencies, because some compilers 3331a73027baSmrg # like to wrap large dependency lists on column 80 (with \), and 3332a73027baSmrg # we should not choose a depcomp mode which is confused by this. 3333a73027baSmrg # 3334a73027baSmrg # We need to recreate these files for each test, as the compiler may 3335a73027baSmrg # overwrite some of them when testing with obscure command lines. 3336a73027baSmrg # This happens at least with the AIX C compiler. 3337a73027baSmrg : > sub/conftest.c 3338a73027baSmrg for i in 1 2 3 4 5 6; do 3339a73027baSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3340a73027baSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3341a73027baSmrg # Solaris 8's {/usr,}/bin/sh. 3342a73027baSmrg touch sub/conftst$i.h 3343a73027baSmrg done 3344a73027baSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3345a73027baSmrg 3346a73027baSmrg case $depmode in 3347a73027baSmrg nosideeffect) 3348a73027baSmrg # after this tag, mechanisms are not by side-effect, so they'll 3349a73027baSmrg # only be used when explicitly requested 3350a73027baSmrg if test "x$enable_dependency_tracking" = xyes; then 3351a73027baSmrg continue 3352a73027baSmrg else 3353a73027baSmrg break 3354a73027baSmrg fi 3355a73027baSmrg ;; 3356a73027baSmrg none) break ;; 3357a73027baSmrg esac 3358a73027baSmrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 3359a73027baSmrg # mode. It turns out that the SunPro C++ compiler does not properly 3360a73027baSmrg # handle `-M -o', and we need to detect this. 3361a73027baSmrg if depmode=$depmode \ 3362a73027baSmrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3363a73027baSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3364a73027baSmrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3365a73027baSmrg >/dev/null 2>conftest.err && 3366a73027baSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3367a73027baSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3368a73027baSmrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3369a73027baSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3370a73027baSmrg # icc doesn't choke on unknown options, it will just issue warnings 3371a73027baSmrg # or remarks (even with -Werror). So we grep stderr for any message 3372a73027baSmrg # that says an option was ignored or not supported. 3373a73027baSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3374a73027baSmrg # icc: Command line warning: ignoring option '-M'; no argument required 3375a73027baSmrg # The diagnosis changed in icc 8.0: 3376a73027baSmrg # icc: Command line remark: option '-MP' not supported 3377a73027baSmrg if (grep 'ignoring option' conftest.err || 3378a73027baSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3379a73027baSmrg am_cv_CC_dependencies_compiler_type=$depmode 3380a73027baSmrg break 3381a73027baSmrg fi 3382a73027baSmrg fi 3383a73027baSmrg done 3384a73027baSmrg 3385a73027baSmrg cd .. 3386a73027baSmrg rm -rf conftest.dir 3387a73027baSmrgelse 3388a73027baSmrg am_cv_CC_dependencies_compiler_type=none 3389a73027baSmrgfi 3390a73027baSmrg 3391a73027baSmrgfi 3392a73027baSmrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3393a73027baSmrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 3394a73027baSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3395a73027baSmrg 3396a73027baSmrg if 3397a73027baSmrg test "x$enable_dependency_tracking" != xno \ 3398a73027baSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3399a73027baSmrg am__fastdepCC_TRUE= 3400a73027baSmrg am__fastdepCC_FALSE='#' 3401a73027baSmrgelse 3402a73027baSmrg am__fastdepCC_TRUE='#' 3403a73027baSmrg am__fastdepCC_FALSE= 3404a73027baSmrgfi 3405a73027baSmrg 3406a73027baSmrg 3407a73027baSmrgif test "x$CC" != xcc; then 3408a73027baSmrg { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 3409a73027baSmrgecho $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; } 3410a73027baSmrgelse 3411a73027baSmrg { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 3412a73027baSmrgecho $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; } 3413a73027baSmrgfi 3414a73027baSmrgset dummy $CC; ac_cc=`echo $2 | 3415a73027baSmrg sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 3416a73027baSmrgif { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then 3417a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3418a73027baSmrgelse 3419a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 3420a73027baSmrg/* confdefs.h. */ 3421a73027baSmrg_ACEOF 3422a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3423a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3424a73027baSmrg/* end confdefs.h. */ 3425a73027baSmrg 3426a73027baSmrgint 3427a73027baSmrgmain () 3428a73027baSmrg{ 3429a73027baSmrg 3430a73027baSmrg ; 3431a73027baSmrg return 0; 3432a73027baSmrg} 3433a73027baSmrg_ACEOF 3434a73027baSmrg# Make sure it works both with $CC and with simple cc. 3435a73027baSmrg# We do the test twice because some compilers refuse to overwrite an 3436a73027baSmrg# existing .o file with -o, though they will create one. 3437a73027baSmrgac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 3438a73027baSmrgrm -f conftest2.* 3439a73027baSmrgif { (case "(($ac_try" in 3440a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3441a73027baSmrg *) ac_try_echo=$ac_try;; 3442a73027baSmrgesac 3443a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3444a73027baSmrg (eval "$ac_try") 2>&5 3445a73027baSmrg ac_status=$? 3446a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3447a73027baSmrg (exit $ac_status); } && 3448a73027baSmrg test -f conftest2.$ac_objext && { (case "(($ac_try" in 3449a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3450a73027baSmrg *) ac_try_echo=$ac_try;; 3451a73027baSmrgesac 3452a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3453a73027baSmrg (eval "$ac_try") 2>&5 3454a73027baSmrg ac_status=$? 3455a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3456a73027baSmrg (exit $ac_status); }; 3457a73027baSmrgthen 3458a73027baSmrg eval ac_cv_prog_cc_${ac_cc}_c_o=yes 3459a73027baSmrg if test "x$CC" != xcc; then 3460a73027baSmrg # Test first that cc exists at all. 3461a73027baSmrg if { ac_try='cc -c conftest.$ac_ext >&5' 3462a73027baSmrg { (case "(($ac_try" in 3463a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3464a73027baSmrg *) ac_try_echo=$ac_try;; 3465a73027baSmrgesac 3466a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3467a73027baSmrg (eval "$ac_try") 2>&5 3468a73027baSmrg ac_status=$? 3469a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3470a73027baSmrg (exit $ac_status); }; }; then 3471a73027baSmrg ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 3472a73027baSmrg rm -f conftest2.* 3473a73027baSmrg if { (case "(($ac_try" in 3474a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3475a73027baSmrg *) ac_try_echo=$ac_try;; 3476a73027baSmrgesac 3477a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3478a73027baSmrg (eval "$ac_try") 2>&5 3479a73027baSmrg ac_status=$? 3480a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3481a73027baSmrg (exit $ac_status); } && 3482a73027baSmrg test -f conftest2.$ac_objext && { (case "(($ac_try" in 3483a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3484a73027baSmrg *) ac_try_echo=$ac_try;; 3485a73027baSmrgesac 3486a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3487a73027baSmrg (eval "$ac_try") 2>&5 3488a73027baSmrg ac_status=$? 3489a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3490a73027baSmrg (exit $ac_status); }; 3491a73027baSmrg then 3492a73027baSmrg # cc works too. 3493a73027baSmrg : 3494a73027baSmrg else 3495a73027baSmrg # cc exists but doesn't like -o. 3496a73027baSmrg eval ac_cv_prog_cc_${ac_cc}_c_o=no 3497a73027baSmrg fi 3498a73027baSmrg fi 3499a73027baSmrg fi 3500a73027baSmrgelse 3501a73027baSmrg eval ac_cv_prog_cc_${ac_cc}_c_o=no 3502a73027baSmrgfi 3503a73027baSmrgrm -f core conftest* 3504a73027baSmrg 3505a73027baSmrgfi 3506a73027baSmrgif eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 3507a73027baSmrg { echo "$as_me:$LINENO: result: yes" >&5 3508a73027baSmrgecho "${ECHO_T}yes" >&6; } 3509a73027baSmrgelse 3510a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 3511a73027baSmrgecho "${ECHO_T}no" >&6; } 3512a73027baSmrg 3513a73027baSmrgcat >>confdefs.h <<\_ACEOF 3514a73027baSmrg#define NO_MINUS_C_MINUS_O 1 3515a73027baSmrg_ACEOF 3516a73027baSmrg 3517a73027baSmrgfi 3518a73027baSmrg 3519a73027baSmrg# FIXME: we rely on the cache variable name because 3520a73027baSmrg# there is no other way. 3521a73027baSmrgset dummy $CC 3522a73027baSmrgac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 3523a73027baSmrgif eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then 3524a73027baSmrg # Losing compiler, so override with the script. 3525a73027baSmrg # FIXME: It is wrong to rewrite CC. 3526a73027baSmrg # But if we don't then we get into trouble of one sort or another. 3527a73027baSmrg # A longer-term fix would be to have automake use am__CC in this case, 3528a73027baSmrg # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3529a73027baSmrg CC="$am_aux_dir/compile $CC" 3530a73027baSmrgfi 3531a73027baSmrg 3532a73027baSmrg 3533a73027baSmrgac_ext=c 3534a73027baSmrgac_cpp='$CPP $CPPFLAGS' 3535a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3536a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3537a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3538a73027baSmrg{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3539a73027baSmrgecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3540a73027baSmrg# On Suns, sometimes $CPP names a directory. 3541a73027baSmrgif test -n "$CPP" && test -d "$CPP"; then 3542a73027baSmrg CPP= 3543a73027baSmrgfi 3544a73027baSmrgif test -z "$CPP"; then 3545a73027baSmrg if test "${ac_cv_prog_CPP+set}" = set; then 3546a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3547a73027baSmrgelse 3548a73027baSmrg # Double quotes because CPP needs to be expanded 3549a73027baSmrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3550a73027baSmrg do 3551a73027baSmrg ac_preproc_ok=false 3552a73027baSmrgfor ac_c_preproc_warn_flag in '' yes 3553a73027baSmrgdo 3554a73027baSmrg # Use a header file that comes with gcc, so configuring glibc 3555a73027baSmrg # with a fresh cross-compiler works. 3556a73027baSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3557a73027baSmrg # <limits.h> exists even on freestanding compilers. 3558a73027baSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3559a73027baSmrg # not just through cpp. "Syntax error" is here to catch this case. 3560a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 3561a73027baSmrg/* confdefs.h. */ 3562a73027baSmrg_ACEOF 3563a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3564a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3565a73027baSmrg/* end confdefs.h. */ 3566a73027baSmrg#ifdef __STDC__ 3567a73027baSmrg# include <limits.h> 3568a73027baSmrg#else 3569a73027baSmrg# include <assert.h> 3570a73027baSmrg#endif 3571a73027baSmrg Syntax error 3572a73027baSmrg_ACEOF 3573a73027baSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3574a73027baSmrgcase "(($ac_try" in 3575a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3576a73027baSmrg *) ac_try_echo=$ac_try;; 3577a73027baSmrgesac 3578a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3579a73027baSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3580a73027baSmrg ac_status=$? 3581a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 3582a73027baSmrg rm -f conftest.er1 3583a73027baSmrg cat conftest.err >&5 3584a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3585a73027baSmrg (exit $ac_status); } >/dev/null && { 3586a73027baSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3587a73027baSmrg test ! -s conftest.err 3588a73027baSmrg }; then 3589a73027baSmrg : 3590a73027baSmrgelse 3591a73027baSmrg echo "$as_me: failed program was:" >&5 3592a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3593a73027baSmrg 3594a73027baSmrg # Broken: fails on valid input. 3595a73027baSmrgcontinue 3596a73027baSmrgfi 3597a73027baSmrg 3598a73027baSmrgrm -f conftest.err conftest.$ac_ext 3599a73027baSmrg 3600a73027baSmrg # OK, works on sane cases. Now check whether nonexistent headers 3601a73027baSmrg # can be detected and how. 3602a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 3603a73027baSmrg/* confdefs.h. */ 3604a73027baSmrg_ACEOF 3605a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3606a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3607a73027baSmrg/* end confdefs.h. */ 3608a73027baSmrg#include <ac_nonexistent.h> 3609a73027baSmrg_ACEOF 3610a73027baSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3611a73027baSmrgcase "(($ac_try" in 3612a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3613a73027baSmrg *) ac_try_echo=$ac_try;; 3614a73027baSmrgesac 3615a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3616a73027baSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3617a73027baSmrg ac_status=$? 3618a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 3619a73027baSmrg rm -f conftest.er1 3620a73027baSmrg cat conftest.err >&5 3621a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3622a73027baSmrg (exit $ac_status); } >/dev/null && { 3623a73027baSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3624a73027baSmrg test ! -s conftest.err 3625a73027baSmrg }; then 3626a73027baSmrg # Broken: success on invalid input. 3627a73027baSmrgcontinue 3628a73027baSmrgelse 3629a73027baSmrg echo "$as_me: failed program was:" >&5 3630a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3631a73027baSmrg 3632a73027baSmrg # Passes both tests. 3633a73027baSmrgac_preproc_ok=: 3634a73027baSmrgbreak 3635a73027baSmrgfi 3636a73027baSmrg 3637a73027baSmrgrm -f conftest.err conftest.$ac_ext 3638a73027baSmrg 3639a73027baSmrgdone 3640a73027baSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3641a73027baSmrgrm -f conftest.err conftest.$ac_ext 3642a73027baSmrgif $ac_preproc_ok; then 3643a73027baSmrg break 3644a73027baSmrgfi 3645a73027baSmrg 3646a73027baSmrg done 3647a73027baSmrg ac_cv_prog_CPP=$CPP 3648a73027baSmrg 3649a73027baSmrgfi 3650a73027baSmrg CPP=$ac_cv_prog_CPP 3651a73027baSmrgelse 3652a73027baSmrg ac_cv_prog_CPP=$CPP 3653a73027baSmrgfi 3654a73027baSmrg{ echo "$as_me:$LINENO: result: $CPP" >&5 3655a73027baSmrgecho "${ECHO_T}$CPP" >&6; } 3656a73027baSmrgac_preproc_ok=false 3657a73027baSmrgfor ac_c_preproc_warn_flag in '' yes 3658a73027baSmrgdo 3659a73027baSmrg # Use a header file that comes with gcc, so configuring glibc 3660a73027baSmrg # with a fresh cross-compiler works. 3661a73027baSmrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3662a73027baSmrg # <limits.h> exists even on freestanding compilers. 3663a73027baSmrg # On the NeXT, cc -E runs the code through the compiler's parser, 3664a73027baSmrg # not just through cpp. "Syntax error" is here to catch this case. 3665a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 3666a73027baSmrg/* confdefs.h. */ 3667a73027baSmrg_ACEOF 3668a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3669a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3670a73027baSmrg/* end confdefs.h. */ 3671a73027baSmrg#ifdef __STDC__ 3672a73027baSmrg# include <limits.h> 3673a73027baSmrg#else 3674a73027baSmrg# include <assert.h> 3675a73027baSmrg#endif 3676a73027baSmrg Syntax error 3677a73027baSmrg_ACEOF 3678a73027baSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3679a73027baSmrgcase "(($ac_try" in 3680a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3681a73027baSmrg *) ac_try_echo=$ac_try;; 3682a73027baSmrgesac 3683a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3684a73027baSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3685a73027baSmrg ac_status=$? 3686a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 3687a73027baSmrg rm -f conftest.er1 3688a73027baSmrg cat conftest.err >&5 3689a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3690a73027baSmrg (exit $ac_status); } >/dev/null && { 3691a73027baSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3692a73027baSmrg test ! -s conftest.err 3693a73027baSmrg }; then 3694a73027baSmrg : 3695a73027baSmrgelse 3696a73027baSmrg echo "$as_me: failed program was:" >&5 3697a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3698a73027baSmrg 3699a73027baSmrg # Broken: fails on valid input. 3700a73027baSmrgcontinue 3701a73027baSmrgfi 3702a73027baSmrg 3703a73027baSmrgrm -f conftest.err conftest.$ac_ext 3704a73027baSmrg 3705a73027baSmrg # OK, works on sane cases. Now check whether nonexistent headers 3706a73027baSmrg # can be detected and how. 3707a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 3708a73027baSmrg/* confdefs.h. */ 3709a73027baSmrg_ACEOF 3710a73027baSmrgcat confdefs.h >>conftest.$ac_ext 3711a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 3712a73027baSmrg/* end confdefs.h. */ 3713a73027baSmrg#include <ac_nonexistent.h> 3714a73027baSmrg_ACEOF 3715a73027baSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 3716a73027baSmrgcase "(($ac_try" in 3717a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3718a73027baSmrg *) ac_try_echo=$ac_try;; 3719a73027baSmrgesac 3720a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3721a73027baSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3722a73027baSmrg ac_status=$? 3723a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 3724a73027baSmrg rm -f conftest.er1 3725a73027baSmrg cat conftest.err >&5 3726a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 3727a73027baSmrg (exit $ac_status); } >/dev/null && { 3728a73027baSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3729a73027baSmrg test ! -s conftest.err 3730a73027baSmrg }; then 3731a73027baSmrg # Broken: success on invalid input. 3732a73027baSmrgcontinue 3733a73027baSmrgelse 3734a73027baSmrg echo "$as_me: failed program was:" >&5 3735a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 3736a73027baSmrg 3737a73027baSmrg # Passes both tests. 3738a73027baSmrgac_preproc_ok=: 3739a73027baSmrgbreak 3740a73027baSmrgfi 3741a73027baSmrg 3742a73027baSmrgrm -f conftest.err conftest.$ac_ext 3743a73027baSmrg 3744a73027baSmrgdone 3745a73027baSmrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3746a73027baSmrgrm -f conftest.err conftest.$ac_ext 3747a73027baSmrgif $ac_preproc_ok; then 3748a73027baSmrg : 3749a73027baSmrgelse 3750a73027baSmrg { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3751a73027baSmrgSee \`config.log' for more details." >&5 3752a73027baSmrgecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3753a73027baSmrgSee \`config.log' for more details." >&2;} 3754a73027baSmrg { (exit 1); exit 1; }; } 3755a73027baSmrgfi 3756a73027baSmrg 3757a73027baSmrgac_ext=c 3758a73027baSmrgac_cpp='$CPP $CPPFLAGS' 3759a73027baSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3760a73027baSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3761a73027baSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3762a73027baSmrg 3763a73027baSmrg 3764a73027baSmrg 3765a73027baSmrgfor ac_prog in cpp 3766a73027baSmrgdo 3767a73027baSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 3768a73027baSmrgset dummy $ac_prog; ac_word=$2 3769a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3770a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3771a73027baSmrgif test "${ac_cv_path_RAWCPP+set}" = set; then 3772a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3773a73027baSmrgelse 3774a73027baSmrg case $RAWCPP in 3775a73027baSmrg [\\/]* | ?:[\\/]*) 3776a73027baSmrg ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path. 3777a73027baSmrg ;; 3778a73027baSmrg *) 3779a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3780a73027baSmrgas_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib" 3781a73027baSmrgfor as_dir in $as_dummy 3782a73027baSmrgdo 3783a73027baSmrg IFS=$as_save_IFS 3784a73027baSmrg test -z "$as_dir" && as_dir=. 3785a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3786a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3787a73027baSmrg ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext" 3788a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3789a73027baSmrg break 2 3790a73027baSmrg fi 3791a73027baSmrgdone 3792a73027baSmrgdone 3793a73027baSmrgIFS=$as_save_IFS 3794a73027baSmrg 3795a73027baSmrg ;; 3796a73027baSmrgesac 3797a73027baSmrgfi 3798a73027baSmrgRAWCPP=$ac_cv_path_RAWCPP 3799a73027baSmrgif test -n "$RAWCPP"; then 3800a73027baSmrg { echo "$as_me:$LINENO: result: $RAWCPP" >&5 3801a73027baSmrgecho "${ECHO_T}$RAWCPP" >&6; } 3802a73027baSmrgelse 3803a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 3804a73027baSmrgecho "${ECHO_T}no" >&6; } 3805a73027baSmrgfi 3806a73027baSmrg 3807a73027baSmrg 3808a73027baSmrg test -n "$RAWCPP" && break 3809a73027baSmrgdone 3810a73027baSmrgtest -n "$RAWCPP" || RAWCPP="${CPP}" 3811a73027baSmrg 3812a73027baSmrg 3813a73027baSmrg# Check for flag to avoid builtin definitions - assumes unix is predefined, 3814a73027baSmrg# which is not the best choice for supporting other OS'es, but covers most 3815a73027baSmrg# of the ones we need for now. 3816a73027baSmrg{ echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5 3817a73027baSmrgecho $ECHO_N "checking if $RAWCPP requires -undef... $ECHO_C" >&6; } 3818a73027baSmrgcat >conftest.$ac_ext <<_ACEOF 3819a73027baSmrgDoes cpp redefine unix ? 3820a73027baSmrg_ACEOF 3821a73027baSmrgif test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 3822a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 3823a73027baSmrgecho "${ECHO_T}no" >&6; } 3824a73027baSmrgelse 3825a73027baSmrg if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 3826a73027baSmrg RAWCPPFLAGS=-undef 3827a73027baSmrg { echo "$as_me:$LINENO: result: yes" >&5 3828a73027baSmrgecho "${ECHO_T}yes" >&6; } 382972e81212Smrg # under Cygwin unix is still defined even with -undef 383072e81212Smrg elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then 383172e81212Smrg RAWCPPFLAGS="-undef -ansi" 383272e81212Smrg { echo "$as_me:$LINENO: result: yes, with -ansi" >&5 383372e81212Smrgecho "${ECHO_T}yes, with -ansi" >&6; } 3834a73027baSmrg else 3835a73027baSmrg { { echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&5 3836a73027baSmrgecho "$as_me: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&2;} 3837a73027baSmrg { (exit 1); exit 1; }; } 3838a73027baSmrg fi 3839a73027baSmrgfi 3840a73027baSmrgrm -f conftest.$ac_ext 3841a73027baSmrg 3842a73027baSmrg{ echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5 3843a73027baSmrgecho $ECHO_N "checking if $RAWCPP requires -traditional... $ECHO_C" >&6; } 3844a73027baSmrgcat >conftest.$ac_ext <<_ACEOF 3845a73027baSmrgDoes cpp preserve "whitespace"? 3846a73027baSmrg_ACEOF 3847a73027baSmrgif test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 3848a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 3849a73027baSmrgecho "${ECHO_T}no" >&6; } 3850a73027baSmrgelse 3851a73027baSmrg if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then 3852a73027baSmrg RAWCPPFLAGS="${RAWCPPFLAGS} -traditional" 3853a73027baSmrg { echo "$as_me:$LINENO: result: yes" >&5 3854a73027baSmrgecho "${ECHO_T}yes" >&6; } 3855a73027baSmrg else 3856a73027baSmrg { { echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&5 3857a73027baSmrgecho "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&2;} 3858a73027baSmrg { (exit 1); exit 1; }; } 3859a73027baSmrg fi 3860a73027baSmrgfi 3861a73027baSmrgrm -f conftest.$ac_ext 3862a73027baSmrg 3863a73027baSmrg 3864a73027baSmrg# Find a good install program. We prefer a C program (faster), 3865a73027baSmrg# so one script is as good as another. But avoid the broken or 3866a73027baSmrg# incompatible versions: 3867a73027baSmrg# SysV /etc/install, /usr/sbin/install 3868a73027baSmrg# SunOS /usr/etc/install 3869a73027baSmrg# IRIX /sbin/install 3870a73027baSmrg# AIX /bin/install 3871a73027baSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 3872a73027baSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3873a73027baSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3874a73027baSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3875a73027baSmrg# OS/2's system install, which has a completely different semantic 3876a73027baSmrg# ./install, which can be erroneously created by make from ./install.sh. 3877a73027baSmrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3878a73027baSmrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 3879a73027baSmrgif test -z "$INSTALL"; then 3880a73027baSmrgif test "${ac_cv_path_install+set}" = set; then 3881a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3882a73027baSmrgelse 3883a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3884a73027baSmrgfor as_dir in $PATH 3885a73027baSmrgdo 3886a73027baSmrg IFS=$as_save_IFS 3887a73027baSmrg test -z "$as_dir" && as_dir=. 3888a73027baSmrg # Account for people who put trailing slashes in PATH elements. 3889a73027baSmrgcase $as_dir/ in 3890a73027baSmrg ./ | .// | /cC/* | \ 3891a73027baSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3892a73027baSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3893a73027baSmrg /usr/ucb/* ) ;; 3894a73027baSmrg *) 3895a73027baSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 3896a73027baSmrg # Don't use installbsd from OSF since it installs stuff as root 3897a73027baSmrg # by default. 3898a73027baSmrg for ac_prog in ginstall scoinst install; do 3899a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3900a73027baSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3901a73027baSmrg if test $ac_prog = install && 3902a73027baSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3903a73027baSmrg # AIX install. It has an incompatible calling convention. 3904a73027baSmrg : 3905a73027baSmrg elif test $ac_prog = install && 3906a73027baSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3907a73027baSmrg # program-specific install script used by HP pwplus--don't use. 3908a73027baSmrg : 3909a73027baSmrg else 3910a73027baSmrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3911a73027baSmrg break 3 3912a73027baSmrg fi 3913a73027baSmrg fi 3914a73027baSmrg done 3915a73027baSmrg done 3916a73027baSmrg ;; 3917a73027baSmrgesac 3918a73027baSmrgdone 3919a73027baSmrgIFS=$as_save_IFS 3920a73027baSmrg 3921a73027baSmrg 3922a73027baSmrgfi 3923a73027baSmrg if test "${ac_cv_path_install+set}" = set; then 3924a73027baSmrg INSTALL=$ac_cv_path_install 3925a73027baSmrg else 3926a73027baSmrg # As a last resort, use the slow shell script. Don't cache a 3927a73027baSmrg # value for INSTALL within a source directory, because that will 3928a73027baSmrg # break other packages using the cache if that directory is 3929a73027baSmrg # removed, or if the value is a relative name. 3930a73027baSmrg INSTALL=$ac_install_sh 3931a73027baSmrg fi 3932a73027baSmrgfi 3933a73027baSmrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 3934a73027baSmrgecho "${ECHO_T}$INSTALL" >&6; } 3935a73027baSmrg 3936a73027baSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3937a73027baSmrg# It thinks the first close brace ends the variable substitution. 3938a73027baSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3939a73027baSmrg 3940a73027baSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3941a73027baSmrg 3942a73027baSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3943a73027baSmrg 3944a73027baSmrg# Extract the first word of "sed", so it can be a program name with args. 3945a73027baSmrgset dummy sed; ac_word=$2 3946a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 3947a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3948a73027baSmrgif test "${ac_cv_path_SED+set}" = set; then 3949a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3950a73027baSmrgelse 3951a73027baSmrg case $SED in 3952a73027baSmrg [\\/]* | ?:[\\/]*) 3953a73027baSmrg ac_cv_path_SED="$SED" # Let the user override the test with a path. 3954a73027baSmrg ;; 3955a73027baSmrg *) 3956a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3957a73027baSmrgfor as_dir in $PATH 3958a73027baSmrgdo 3959a73027baSmrg IFS=$as_save_IFS 3960a73027baSmrg test -z "$as_dir" && as_dir=. 3961a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3962a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3963a73027baSmrg ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" 3964a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3965a73027baSmrg break 2 3966a73027baSmrg fi 3967a73027baSmrgdone 3968a73027baSmrgdone 3969a73027baSmrgIFS=$as_save_IFS 3970a73027baSmrg 3971a73027baSmrg ;; 3972a73027baSmrgesac 3973a73027baSmrgfi 3974a73027baSmrgSED=$ac_cv_path_SED 3975a73027baSmrgif test -n "$SED"; then 3976a73027baSmrg { echo "$as_me:$LINENO: result: $SED" >&5 3977a73027baSmrgecho "${ECHO_T}$SED" >&6; } 3978a73027baSmrgelse 3979a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 3980a73027baSmrgecho "${ECHO_T}no" >&6; } 3981a73027baSmrgfi 3982a73027baSmrg 3983a73027baSmrg 3984a73027baSmrg# Make sure we can run config.sub. 3985a73027baSmrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3986a73027baSmrg { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3987a73027baSmrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 3988a73027baSmrg { (exit 1); exit 1; }; } 3989a73027baSmrg 3990a73027baSmrg{ echo "$as_me:$LINENO: checking build system type" >&5 3991a73027baSmrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; } 3992a73027baSmrgif test "${ac_cv_build+set}" = set; then 3993a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 3994a73027baSmrgelse 3995a73027baSmrg ac_build_alias=$build_alias 3996a73027baSmrgtest "x$ac_build_alias" = x && 3997a73027baSmrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3998a73027baSmrgtest "x$ac_build_alias" = x && 3999a73027baSmrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4000a73027baSmrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 4001a73027baSmrg { (exit 1); exit 1; }; } 4002a73027baSmrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4003a73027baSmrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 4004a73027baSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 4005a73027baSmrg { (exit 1); exit 1; }; } 4006a73027baSmrg 4007a73027baSmrgfi 4008a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4009a73027baSmrgecho "${ECHO_T}$ac_cv_build" >&6; } 4010a73027baSmrgcase $ac_cv_build in 4011a73027baSmrg*-*-*) ;; 4012a73027baSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 4013a73027baSmrgecho "$as_me: error: invalid value of canonical build" >&2;} 4014a73027baSmrg { (exit 1); exit 1; }; };; 4015a73027baSmrgesac 4016a73027baSmrgbuild=$ac_cv_build 4017a73027baSmrgac_save_IFS=$IFS; IFS='-' 4018a73027baSmrgset x $ac_cv_build 4019a73027baSmrgshift 4020a73027baSmrgbuild_cpu=$1 4021a73027baSmrgbuild_vendor=$2 4022a73027baSmrgshift; shift 4023a73027baSmrg# Remember, the first character of IFS is used to create $*, 4024a73027baSmrg# except with old shells: 4025a73027baSmrgbuild_os=$* 4026a73027baSmrgIFS=$ac_save_IFS 4027a73027baSmrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4028a73027baSmrg 4029a73027baSmrg 4030a73027baSmrg{ echo "$as_me:$LINENO: checking host system type" >&5 4031a73027baSmrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; } 4032a73027baSmrgif test "${ac_cv_host+set}" = set; then 4033a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4034a73027baSmrgelse 4035a73027baSmrg if test "x$host_alias" = x; then 4036a73027baSmrg ac_cv_host=$ac_cv_build 4037a73027baSmrgelse 4038a73027baSmrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4039a73027baSmrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 4040a73027baSmrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 4041a73027baSmrg { (exit 1); exit 1; }; } 4042a73027baSmrgfi 4043a73027baSmrg 4044a73027baSmrgfi 4045a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4046a73027baSmrgecho "${ECHO_T}$ac_cv_host" >&6; } 4047a73027baSmrgcase $ac_cv_host in 4048a73027baSmrg*-*-*) ;; 4049a73027baSmrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 4050a73027baSmrgecho "$as_me: error: invalid value of canonical host" >&2;} 4051a73027baSmrg { (exit 1); exit 1; }; };; 4052a73027baSmrgesac 4053a73027baSmrghost=$ac_cv_host 4054a73027baSmrgac_save_IFS=$IFS; IFS='-' 4055a73027baSmrgset x $ac_cv_host 4056a73027baSmrgshift 4057a73027baSmrghost_cpu=$1 4058a73027baSmrghost_vendor=$2 4059a73027baSmrgshift; shift 4060a73027baSmrg# Remember, the first character of IFS is used to create $*, 4061a73027baSmrg# except with old shells: 4062a73027baSmrghost_os=$* 4063a73027baSmrgIFS=$ac_save_IFS 4064a73027baSmrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4065a73027baSmrg 4066a73027baSmrg 4067a73027baSmrg 4068a73027baSmrg 4069a73027baSmrg{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5 4070a73027baSmrgecho $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 4071a73027baSmrgif test "${ac_cv_type_signal+set}" = set; then 4072a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4073a73027baSmrgelse 4074a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4075a73027baSmrg/* confdefs.h. */ 4076a73027baSmrg_ACEOF 4077a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4078a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4079a73027baSmrg/* end confdefs.h. */ 4080a73027baSmrg#include <sys/types.h> 4081a73027baSmrg#include <signal.h> 4082a73027baSmrg 4083a73027baSmrgint 4084a73027baSmrgmain () 4085a73027baSmrg{ 4086a73027baSmrgreturn *(signal (0, 0)) (0) == 1; 4087a73027baSmrg ; 4088a73027baSmrg return 0; 4089a73027baSmrg} 4090a73027baSmrg_ACEOF 4091a73027baSmrgrm -f conftest.$ac_objext 4092a73027baSmrgif { (ac_try="$ac_compile" 4093a73027baSmrgcase "(($ac_try" in 4094a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4095a73027baSmrg *) ac_try_echo=$ac_try;; 4096a73027baSmrgesac 4097a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4098a73027baSmrg (eval "$ac_compile") 2>conftest.er1 4099a73027baSmrg ac_status=$? 4100a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 4101a73027baSmrg rm -f conftest.er1 4102a73027baSmrg cat conftest.err >&5 4103a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4104a73027baSmrg (exit $ac_status); } && { 4105a73027baSmrg test -z "$ac_c_werror_flag" || 4106a73027baSmrg test ! -s conftest.err 4107a73027baSmrg } && test -s conftest.$ac_objext; then 4108a73027baSmrg ac_cv_type_signal=int 4109a73027baSmrgelse 4110a73027baSmrg echo "$as_me: failed program was:" >&5 4111a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4112a73027baSmrg 4113a73027baSmrg ac_cv_type_signal=void 4114a73027baSmrgfi 4115a73027baSmrg 4116a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4117a73027baSmrgfi 4118a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 4119a73027baSmrgecho "${ECHO_T}$ac_cv_type_signal" >&6; } 4120a73027baSmrg 4121a73027baSmrgcat >>confdefs.h <<_ACEOF 4122a73027baSmrg#define RETSIGTYPE $ac_cv_type_signal 4123a73027baSmrg_ACEOF 4124a73027baSmrg 4125a73027baSmrg 4126a73027baSmrg 4127a73027baSmrg{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4128a73027baSmrgecho $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4129a73027baSmrgif test "${ac_cv_path_GREP+set}" = set; then 4130a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4131a73027baSmrgelse 4132a73027baSmrg # Extract the first word of "grep ggrep" to use in msg output 4133a73027baSmrgif test -z "$GREP"; then 4134a73027baSmrgset dummy grep ggrep; ac_prog_name=$2 4135a73027baSmrgif test "${ac_cv_path_GREP+set}" = set; then 4136a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4137a73027baSmrgelse 4138a73027baSmrg ac_path_GREP_found=false 4139a73027baSmrg# Loop through the user's path and test for each of PROGNAME-LIST 4140a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4141a73027baSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4142a73027baSmrgdo 4143a73027baSmrg IFS=$as_save_IFS 4144a73027baSmrg test -z "$as_dir" && as_dir=. 4145a73027baSmrg for ac_prog in grep ggrep; do 4146a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4147a73027baSmrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4148a73027baSmrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4149a73027baSmrg # Check for GNU ac_path_GREP and select it if it is found. 4150a73027baSmrg # Check for GNU $ac_path_GREP 4151a73027baSmrgcase `"$ac_path_GREP" --version 2>&1` in 4152a73027baSmrg*GNU*) 4153a73027baSmrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4154a73027baSmrg*) 4155a73027baSmrg ac_count=0 4156a73027baSmrg echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4157a73027baSmrg while : 4158a73027baSmrg do 4159a73027baSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4160a73027baSmrg mv "conftest.tmp" "conftest.in" 4161a73027baSmrg cp "conftest.in" "conftest.nl" 4162a73027baSmrg echo 'GREP' >> "conftest.nl" 4163a73027baSmrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4164a73027baSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4165a73027baSmrg ac_count=`expr $ac_count + 1` 4166a73027baSmrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 4167a73027baSmrg # Best one so far, save it but keep looking for a better one 4168a73027baSmrg ac_cv_path_GREP="$ac_path_GREP" 4169a73027baSmrg ac_path_GREP_max=$ac_count 4170a73027baSmrg fi 4171a73027baSmrg # 10*(2^10) chars as input seems more than enough 4172a73027baSmrg test $ac_count -gt 10 && break 4173a73027baSmrg done 4174a73027baSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4175a73027baSmrgesac 4176a73027baSmrg 4177a73027baSmrg 4178a73027baSmrg $ac_path_GREP_found && break 3 4179a73027baSmrg done 4180a73027baSmrgdone 4181a73027baSmrg 4182a73027baSmrgdone 4183a73027baSmrgIFS=$as_save_IFS 4184a73027baSmrg 4185a73027baSmrg 4186a73027baSmrgfi 4187a73027baSmrg 4188a73027baSmrgGREP="$ac_cv_path_GREP" 4189a73027baSmrgif test -z "$GREP"; then 4190a73027baSmrg { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4191a73027baSmrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4192a73027baSmrg { (exit 1); exit 1; }; } 4193a73027baSmrgfi 4194a73027baSmrg 4195a73027baSmrgelse 4196a73027baSmrg ac_cv_path_GREP=$GREP 4197a73027baSmrgfi 4198a73027baSmrg 4199a73027baSmrg 4200a73027baSmrgfi 4201a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4202a73027baSmrgecho "${ECHO_T}$ac_cv_path_GREP" >&6; } 4203a73027baSmrg GREP="$ac_cv_path_GREP" 4204a73027baSmrg 4205a73027baSmrg 4206a73027baSmrg{ echo "$as_me:$LINENO: checking for egrep" >&5 4207a73027baSmrgecho $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4208a73027baSmrgif test "${ac_cv_path_EGREP+set}" = set; then 4209a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4210a73027baSmrgelse 4211a73027baSmrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4212a73027baSmrg then ac_cv_path_EGREP="$GREP -E" 4213a73027baSmrg else 4214a73027baSmrg # Extract the first word of "egrep" to use in msg output 4215a73027baSmrgif test -z "$EGREP"; then 4216a73027baSmrgset dummy egrep; ac_prog_name=$2 4217a73027baSmrgif test "${ac_cv_path_EGREP+set}" = set; then 4218a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4219a73027baSmrgelse 4220a73027baSmrg ac_path_EGREP_found=false 4221a73027baSmrg# Loop through the user's path and test for each of PROGNAME-LIST 4222a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4223a73027baSmrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4224a73027baSmrgdo 4225a73027baSmrg IFS=$as_save_IFS 4226a73027baSmrg test -z "$as_dir" && as_dir=. 4227a73027baSmrg for ac_prog in egrep; do 4228a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 4229a73027baSmrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4230a73027baSmrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4231a73027baSmrg # Check for GNU ac_path_EGREP and select it if it is found. 4232a73027baSmrg # Check for GNU $ac_path_EGREP 4233a73027baSmrgcase `"$ac_path_EGREP" --version 2>&1` in 4234a73027baSmrg*GNU*) 4235a73027baSmrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4236a73027baSmrg*) 4237a73027baSmrg ac_count=0 4238a73027baSmrg echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4239a73027baSmrg while : 4240a73027baSmrg do 4241a73027baSmrg cat "conftest.in" "conftest.in" >"conftest.tmp" 4242a73027baSmrg mv "conftest.tmp" "conftest.in" 4243a73027baSmrg cp "conftest.in" "conftest.nl" 4244a73027baSmrg echo 'EGREP' >> "conftest.nl" 4245a73027baSmrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4246a73027baSmrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4247a73027baSmrg ac_count=`expr $ac_count + 1` 4248a73027baSmrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4249a73027baSmrg # Best one so far, save it but keep looking for a better one 4250a73027baSmrg ac_cv_path_EGREP="$ac_path_EGREP" 4251a73027baSmrg ac_path_EGREP_max=$ac_count 4252a73027baSmrg fi 4253a73027baSmrg # 10*(2^10) chars as input seems more than enough 4254a73027baSmrg test $ac_count -gt 10 && break 4255a73027baSmrg done 4256a73027baSmrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4257a73027baSmrgesac 4258a73027baSmrg 4259a73027baSmrg 4260a73027baSmrg $ac_path_EGREP_found && break 3 4261a73027baSmrg done 4262a73027baSmrgdone 4263a73027baSmrg 4264a73027baSmrgdone 4265a73027baSmrgIFS=$as_save_IFS 4266a73027baSmrg 4267a73027baSmrg 4268a73027baSmrgfi 4269a73027baSmrg 4270a73027baSmrgEGREP="$ac_cv_path_EGREP" 4271a73027baSmrgif test -z "$EGREP"; then 4272a73027baSmrg { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4273a73027baSmrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4274a73027baSmrg { (exit 1); exit 1; }; } 4275a73027baSmrgfi 4276a73027baSmrg 4277a73027baSmrgelse 4278a73027baSmrg ac_cv_path_EGREP=$EGREP 4279a73027baSmrgfi 4280a73027baSmrg 4281a73027baSmrg 4282a73027baSmrg fi 4283a73027baSmrgfi 4284a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4285a73027baSmrgecho "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4286a73027baSmrg EGREP="$ac_cv_path_EGREP" 4287a73027baSmrg 4288a73027baSmrg 4289a73027baSmrg{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4290a73027baSmrgecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4291a73027baSmrgif test "${ac_cv_header_stdc+set}" = set; then 4292a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4293a73027baSmrgelse 4294a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4295a73027baSmrg/* confdefs.h. */ 4296a73027baSmrg_ACEOF 4297a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4298a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4299a73027baSmrg/* end confdefs.h. */ 4300a73027baSmrg#include <stdlib.h> 4301a73027baSmrg#include <stdarg.h> 4302a73027baSmrg#include <string.h> 4303a73027baSmrg#include <float.h> 4304a73027baSmrg 4305a73027baSmrgint 4306a73027baSmrgmain () 4307a73027baSmrg{ 4308a73027baSmrg 4309a73027baSmrg ; 4310a73027baSmrg return 0; 4311a73027baSmrg} 4312a73027baSmrg_ACEOF 4313a73027baSmrgrm -f conftest.$ac_objext 4314a73027baSmrgif { (ac_try="$ac_compile" 4315a73027baSmrgcase "(($ac_try" in 4316a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4317a73027baSmrg *) ac_try_echo=$ac_try;; 4318a73027baSmrgesac 4319a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4320a73027baSmrg (eval "$ac_compile") 2>conftest.er1 4321a73027baSmrg ac_status=$? 4322a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 4323a73027baSmrg rm -f conftest.er1 4324a73027baSmrg cat conftest.err >&5 4325a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4326a73027baSmrg (exit $ac_status); } && { 4327a73027baSmrg test -z "$ac_c_werror_flag" || 4328a73027baSmrg test ! -s conftest.err 4329a73027baSmrg } && test -s conftest.$ac_objext; then 4330a73027baSmrg ac_cv_header_stdc=yes 4331a73027baSmrgelse 4332a73027baSmrg echo "$as_me: failed program was:" >&5 4333a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4334a73027baSmrg 4335a73027baSmrg ac_cv_header_stdc=no 4336a73027baSmrgfi 4337a73027baSmrg 4338a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4339a73027baSmrg 4340a73027baSmrgif test $ac_cv_header_stdc = yes; then 4341a73027baSmrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4342a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4343a73027baSmrg/* confdefs.h. */ 4344a73027baSmrg_ACEOF 4345a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4346a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4347a73027baSmrg/* end confdefs.h. */ 4348a73027baSmrg#include <string.h> 4349a73027baSmrg 4350a73027baSmrg_ACEOF 4351a73027baSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4352a73027baSmrg $EGREP "memchr" >/dev/null 2>&1; then 4353a73027baSmrg : 4354a73027baSmrgelse 4355a73027baSmrg ac_cv_header_stdc=no 4356a73027baSmrgfi 4357a73027baSmrgrm -f conftest* 4358a73027baSmrg 4359a73027baSmrgfi 4360a73027baSmrg 4361a73027baSmrgif test $ac_cv_header_stdc = yes; then 4362a73027baSmrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4363a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4364a73027baSmrg/* confdefs.h. */ 4365a73027baSmrg_ACEOF 4366a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4367a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4368a73027baSmrg/* end confdefs.h. */ 4369a73027baSmrg#include <stdlib.h> 4370a73027baSmrg 4371a73027baSmrg_ACEOF 4372a73027baSmrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4373a73027baSmrg $EGREP "free" >/dev/null 2>&1; then 4374a73027baSmrg : 4375a73027baSmrgelse 4376a73027baSmrg ac_cv_header_stdc=no 4377a73027baSmrgfi 4378a73027baSmrgrm -f conftest* 4379a73027baSmrg 4380a73027baSmrgfi 4381a73027baSmrg 4382a73027baSmrgif test $ac_cv_header_stdc = yes; then 4383a73027baSmrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4384a73027baSmrg if test "$cross_compiling" = yes; then 4385a73027baSmrg : 4386a73027baSmrgelse 4387a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4388a73027baSmrg/* confdefs.h. */ 4389a73027baSmrg_ACEOF 4390a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4391a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4392a73027baSmrg/* end confdefs.h. */ 4393a73027baSmrg#include <ctype.h> 4394a73027baSmrg#include <stdlib.h> 4395a73027baSmrg#if ((' ' & 0x0FF) == 0x020) 4396a73027baSmrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4397a73027baSmrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4398a73027baSmrg#else 4399a73027baSmrg# define ISLOWER(c) \ 4400a73027baSmrg (('a' <= (c) && (c) <= 'i') \ 4401a73027baSmrg || ('j' <= (c) && (c) <= 'r') \ 4402a73027baSmrg || ('s' <= (c) && (c) <= 'z')) 4403a73027baSmrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4404a73027baSmrg#endif 4405a73027baSmrg 4406a73027baSmrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4407a73027baSmrgint 4408a73027baSmrgmain () 4409a73027baSmrg{ 4410a73027baSmrg int i; 4411a73027baSmrg for (i = 0; i < 256; i++) 4412a73027baSmrg if (XOR (islower (i), ISLOWER (i)) 4413a73027baSmrg || toupper (i) != TOUPPER (i)) 4414a73027baSmrg return 2; 4415a73027baSmrg return 0; 4416a73027baSmrg} 4417a73027baSmrg_ACEOF 4418a73027baSmrgrm -f conftest$ac_exeext 4419a73027baSmrgif { (ac_try="$ac_link" 4420a73027baSmrgcase "(($ac_try" in 4421a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4422a73027baSmrg *) ac_try_echo=$ac_try;; 4423a73027baSmrgesac 4424a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4425a73027baSmrg (eval "$ac_link") 2>&5 4426a73027baSmrg ac_status=$? 4427a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4428a73027baSmrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4429a73027baSmrg { (case "(($ac_try" in 4430a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4431a73027baSmrg *) ac_try_echo=$ac_try;; 4432a73027baSmrgesac 4433a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4434a73027baSmrg (eval "$ac_try") 2>&5 4435a73027baSmrg ac_status=$? 4436a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4437a73027baSmrg (exit $ac_status); }; }; then 4438a73027baSmrg : 4439a73027baSmrgelse 4440a73027baSmrg echo "$as_me: program exited with status $ac_status" >&5 4441a73027baSmrgecho "$as_me: failed program was:" >&5 4442a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4443a73027baSmrg 4444a73027baSmrg( exit $ac_status ) 4445a73027baSmrgac_cv_header_stdc=no 4446a73027baSmrgfi 4447a73027baSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4448a73027baSmrgfi 4449a73027baSmrg 4450a73027baSmrg 4451a73027baSmrgfi 4452a73027baSmrgfi 4453a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4454a73027baSmrgecho "${ECHO_T}$ac_cv_header_stdc" >&6; } 4455a73027baSmrgif test $ac_cv_header_stdc = yes; then 4456a73027baSmrg 4457a73027baSmrgcat >>confdefs.h <<\_ACEOF 4458a73027baSmrg#define STDC_HEADERS 1 4459a73027baSmrg_ACEOF 4460a73027baSmrg 4461a73027baSmrgfi 4462a73027baSmrg 4463a73027baSmrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4464a73027baSmrg 4465a73027baSmrg 4466a73027baSmrg 4467a73027baSmrg 4468a73027baSmrg 4469a73027baSmrg 4470a73027baSmrg 4471a73027baSmrg 4472a73027baSmrg 4473a73027baSmrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4474a73027baSmrg inttypes.h stdint.h unistd.h 4475a73027baSmrgdo 4476a73027baSmrgas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4477a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4478a73027baSmrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4479a73027baSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4480a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4481a73027baSmrgelse 4482a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4483a73027baSmrg/* confdefs.h. */ 4484a73027baSmrg_ACEOF 4485a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4486a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4487a73027baSmrg/* end confdefs.h. */ 4488a73027baSmrg$ac_includes_default 4489a73027baSmrg 4490a73027baSmrg#include <$ac_header> 4491a73027baSmrg_ACEOF 4492a73027baSmrgrm -f conftest.$ac_objext 4493a73027baSmrgif { (ac_try="$ac_compile" 4494a73027baSmrgcase "(($ac_try" in 4495a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4496a73027baSmrg *) ac_try_echo=$ac_try;; 4497a73027baSmrgesac 4498a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4499a73027baSmrg (eval "$ac_compile") 2>conftest.er1 4500a73027baSmrg ac_status=$? 4501a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 4502a73027baSmrg rm -f conftest.er1 4503a73027baSmrg cat conftest.err >&5 4504a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4505a73027baSmrg (exit $ac_status); } && { 4506a73027baSmrg test -z "$ac_c_werror_flag" || 4507a73027baSmrg test ! -s conftest.err 4508a73027baSmrg } && test -s conftest.$ac_objext; then 4509a73027baSmrg eval "$as_ac_Header=yes" 4510a73027baSmrgelse 4511a73027baSmrg echo "$as_me: failed program was:" >&5 4512a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4513a73027baSmrg 4514a73027baSmrg eval "$as_ac_Header=no" 4515a73027baSmrgfi 4516a73027baSmrg 4517a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4518a73027baSmrgfi 4519a73027baSmrgac_res=`eval echo '${'$as_ac_Header'}'` 4520a73027baSmrg { echo "$as_me:$LINENO: result: $ac_res" >&5 4521a73027baSmrgecho "${ECHO_T}$ac_res" >&6; } 4522a73027baSmrgif test `eval echo '${'$as_ac_Header'}'` = yes; then 4523a73027baSmrg cat >>confdefs.h <<_ACEOF 4524a73027baSmrg#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4525a73027baSmrg_ACEOF 4526a73027baSmrg 4527a73027baSmrgfi 4528a73027baSmrg 4529a73027baSmrgdone 4530a73027baSmrg 4531a73027baSmrg 4532a73027baSmrg{ echo "$as_me:$LINENO: checking for pid_t" >&5 4533a73027baSmrgecho $ECHO_N "checking for pid_t... $ECHO_C" >&6; } 4534a73027baSmrgif test "${ac_cv_type_pid_t+set}" = set; then 4535a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4536a73027baSmrgelse 4537a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4538a73027baSmrg/* confdefs.h. */ 4539a73027baSmrg_ACEOF 4540a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4541a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4542a73027baSmrg/* end confdefs.h. */ 4543a73027baSmrg$ac_includes_default 4544a73027baSmrgtypedef pid_t ac__type_new_; 4545a73027baSmrgint 4546a73027baSmrgmain () 4547a73027baSmrg{ 4548a73027baSmrgif ((ac__type_new_ *) 0) 4549a73027baSmrg return 0; 4550a73027baSmrgif (sizeof (ac__type_new_)) 4551a73027baSmrg return 0; 4552a73027baSmrg ; 4553a73027baSmrg return 0; 4554a73027baSmrg} 4555a73027baSmrg_ACEOF 4556a73027baSmrgrm -f conftest.$ac_objext 4557a73027baSmrgif { (ac_try="$ac_compile" 4558a73027baSmrgcase "(($ac_try" in 4559a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4560a73027baSmrg *) ac_try_echo=$ac_try;; 4561a73027baSmrgesac 4562a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4563a73027baSmrg (eval "$ac_compile") 2>conftest.er1 4564a73027baSmrg ac_status=$? 4565a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 4566a73027baSmrg rm -f conftest.er1 4567a73027baSmrg cat conftest.err >&5 4568a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4569a73027baSmrg (exit $ac_status); } && { 4570a73027baSmrg test -z "$ac_c_werror_flag" || 4571a73027baSmrg test ! -s conftest.err 4572a73027baSmrg } && test -s conftest.$ac_objext; then 4573a73027baSmrg ac_cv_type_pid_t=yes 4574a73027baSmrgelse 4575a73027baSmrg echo "$as_me: failed program was:" >&5 4576a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4577a73027baSmrg 4578a73027baSmrg ac_cv_type_pid_t=no 4579a73027baSmrgfi 4580a73027baSmrg 4581a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4582a73027baSmrgfi 4583a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 4584a73027baSmrgecho "${ECHO_T}$ac_cv_type_pid_t" >&6; } 4585a73027baSmrgif test $ac_cv_type_pid_t = yes; then 4586a73027baSmrg : 4587a73027baSmrgelse 4588a73027baSmrg 4589a73027baSmrgcat >>confdefs.h <<_ACEOF 4590a73027baSmrg#define pid_t int 4591a73027baSmrg_ACEOF 4592a73027baSmrg 4593a73027baSmrgfi 4594a73027baSmrg 4595a73027baSmrg 4596a73027baSmrgfor ac_header in vfork.h 4597a73027baSmrgdo 4598a73027baSmrgas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4599a73027baSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4600a73027baSmrg { echo "$as_me:$LINENO: checking for $ac_header" >&5 4601a73027baSmrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4602a73027baSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4603a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4604a73027baSmrgfi 4605a73027baSmrgac_res=`eval echo '${'$as_ac_Header'}'` 4606a73027baSmrg { echo "$as_me:$LINENO: result: $ac_res" >&5 4607a73027baSmrgecho "${ECHO_T}$ac_res" >&6; } 4608a73027baSmrgelse 4609a73027baSmrg # Is the header compilable? 4610a73027baSmrg{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 4611a73027baSmrgecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4612a73027baSmrgcat >conftest.$ac_ext <<_ACEOF 4613a73027baSmrg/* confdefs.h. */ 4614a73027baSmrg_ACEOF 4615a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4616a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4617a73027baSmrg/* end confdefs.h. */ 4618a73027baSmrg$ac_includes_default 4619a73027baSmrg#include <$ac_header> 4620a73027baSmrg_ACEOF 4621a73027baSmrgrm -f conftest.$ac_objext 4622a73027baSmrgif { (ac_try="$ac_compile" 4623a73027baSmrgcase "(($ac_try" in 4624a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4625a73027baSmrg *) ac_try_echo=$ac_try;; 4626a73027baSmrgesac 4627a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4628a73027baSmrg (eval "$ac_compile") 2>conftest.er1 4629a73027baSmrg ac_status=$? 4630a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 4631a73027baSmrg rm -f conftest.er1 4632a73027baSmrg cat conftest.err >&5 4633a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4634a73027baSmrg (exit $ac_status); } && { 4635a73027baSmrg test -z "$ac_c_werror_flag" || 4636a73027baSmrg test ! -s conftest.err 4637a73027baSmrg } && test -s conftest.$ac_objext; then 4638a73027baSmrg ac_header_compiler=yes 4639a73027baSmrgelse 4640a73027baSmrg echo "$as_me: failed program was:" >&5 4641a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4642a73027baSmrg 4643a73027baSmrg ac_header_compiler=no 4644a73027baSmrgfi 4645a73027baSmrg 4646a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4647a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4648a73027baSmrgecho "${ECHO_T}$ac_header_compiler" >&6; } 4649a73027baSmrg 4650a73027baSmrg# Is the header present? 4651a73027baSmrg{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 4652a73027baSmrgecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4653a73027baSmrgcat >conftest.$ac_ext <<_ACEOF 4654a73027baSmrg/* confdefs.h. */ 4655a73027baSmrg_ACEOF 4656a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4657a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4658a73027baSmrg/* end confdefs.h. */ 4659a73027baSmrg#include <$ac_header> 4660a73027baSmrg_ACEOF 4661a73027baSmrgif { (ac_try="$ac_cpp conftest.$ac_ext" 4662a73027baSmrgcase "(($ac_try" in 4663a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4664a73027baSmrg *) ac_try_echo=$ac_try;; 4665a73027baSmrgesac 4666a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4667a73027baSmrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4668a73027baSmrg ac_status=$? 4669a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 4670a73027baSmrg rm -f conftest.er1 4671a73027baSmrg cat conftest.err >&5 4672a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4673a73027baSmrg (exit $ac_status); } >/dev/null && { 4674a73027baSmrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4675a73027baSmrg test ! -s conftest.err 4676a73027baSmrg }; then 4677a73027baSmrg ac_header_preproc=yes 4678a73027baSmrgelse 4679a73027baSmrg echo "$as_me: failed program was:" >&5 4680a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4681a73027baSmrg 4682a73027baSmrg ac_header_preproc=no 4683a73027baSmrgfi 4684a73027baSmrg 4685a73027baSmrgrm -f conftest.err conftest.$ac_ext 4686a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4687a73027baSmrgecho "${ECHO_T}$ac_header_preproc" >&6; } 4688a73027baSmrg 4689a73027baSmrg# So? What about this header? 4690a73027baSmrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4691a73027baSmrg yes:no: ) 4692a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4693a73027baSmrgecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4694a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4695a73027baSmrgecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4696a73027baSmrg ac_header_preproc=yes 4697a73027baSmrg ;; 4698a73027baSmrg no:yes:* ) 4699a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4700a73027baSmrgecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4701a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4702a73027baSmrgecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4703a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4704a73027baSmrgecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4705a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4706a73027baSmrgecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4707a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4708a73027baSmrgecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4709a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4710a73027baSmrgecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4711a73027baSmrg ( cat <<\_ASBOX 4712a73027baSmrg## ---------------------------------------------------------------------- ## 4713a73027baSmrg## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 4714a73027baSmrg## ---------------------------------------------------------------------- ## 4715a73027baSmrg_ASBOX 4716a73027baSmrg ) | sed "s/^/$as_me: WARNING: /" >&2 4717a73027baSmrg ;; 4718a73027baSmrgesac 4719a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_header" >&5 4720a73027baSmrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4721a73027baSmrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4722a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4723a73027baSmrgelse 4724a73027baSmrg eval "$as_ac_Header=\$ac_header_preproc" 4725a73027baSmrgfi 4726a73027baSmrgac_res=`eval echo '${'$as_ac_Header'}'` 4727a73027baSmrg { echo "$as_me:$LINENO: result: $ac_res" >&5 4728a73027baSmrgecho "${ECHO_T}$ac_res" >&6; } 4729a73027baSmrg 4730a73027baSmrgfi 4731a73027baSmrgif test `eval echo '${'$as_ac_Header'}'` = yes; then 4732a73027baSmrg cat >>confdefs.h <<_ACEOF 4733a73027baSmrg#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4734a73027baSmrg_ACEOF 4735a73027baSmrg 4736a73027baSmrgfi 4737a73027baSmrg 4738a73027baSmrgdone 4739a73027baSmrg 4740a73027baSmrg 4741a73027baSmrg 4742a73027baSmrgfor ac_func in fork vfork 4743a73027baSmrgdo 4744a73027baSmrgas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4745a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_func" >&5 4746a73027baSmrgecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 4747a73027baSmrgif { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4748a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4749a73027baSmrgelse 4750a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4751a73027baSmrg/* confdefs.h. */ 4752a73027baSmrg_ACEOF 4753a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4754a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4755a73027baSmrg/* end confdefs.h. */ 4756a73027baSmrg/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4757a73027baSmrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4758a73027baSmrg#define $ac_func innocuous_$ac_func 4759a73027baSmrg 4760a73027baSmrg/* System header to define __stub macros and hopefully few prototypes, 4761a73027baSmrg which can conflict with char $ac_func (); below. 4762a73027baSmrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4763a73027baSmrg <limits.h> exists even on freestanding compilers. */ 4764a73027baSmrg 4765a73027baSmrg#ifdef __STDC__ 4766a73027baSmrg# include <limits.h> 4767a73027baSmrg#else 4768a73027baSmrg# include <assert.h> 4769a73027baSmrg#endif 4770a73027baSmrg 4771a73027baSmrg#undef $ac_func 4772a73027baSmrg 4773a73027baSmrg/* Override any GCC internal prototype to avoid an error. 4774a73027baSmrg Use char because int might match the return type of a GCC 4775a73027baSmrg builtin and then its argument prototype would still apply. */ 4776a73027baSmrg#ifdef __cplusplus 4777a73027baSmrgextern "C" 4778a73027baSmrg#endif 4779a73027baSmrgchar $ac_func (); 4780a73027baSmrg/* The GNU C library defines this for functions which it implements 4781a73027baSmrg to always fail with ENOSYS. Some functions are actually named 4782a73027baSmrg something starting with __ and the normal name is an alias. */ 4783a73027baSmrg#if defined __stub_$ac_func || defined __stub___$ac_func 4784a73027baSmrgchoke me 4785a73027baSmrg#endif 4786a73027baSmrg 4787a73027baSmrgint 4788a73027baSmrgmain () 4789a73027baSmrg{ 4790a73027baSmrgreturn $ac_func (); 4791a73027baSmrg ; 4792a73027baSmrg return 0; 4793a73027baSmrg} 4794a73027baSmrg_ACEOF 4795a73027baSmrgrm -f conftest.$ac_objext conftest$ac_exeext 4796a73027baSmrgif { (ac_try="$ac_link" 4797a73027baSmrgcase "(($ac_try" in 4798a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4799a73027baSmrg *) ac_try_echo=$ac_try;; 4800a73027baSmrgesac 4801a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4802a73027baSmrg (eval "$ac_link") 2>conftest.er1 4803a73027baSmrg ac_status=$? 4804a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 4805a73027baSmrg rm -f conftest.er1 4806a73027baSmrg cat conftest.err >&5 4807a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4808a73027baSmrg (exit $ac_status); } && { 4809a73027baSmrg test -z "$ac_c_werror_flag" || 4810a73027baSmrg test ! -s conftest.err 4811a73027baSmrg } && test -s conftest$ac_exeext && 4812a73027baSmrg $as_test_x conftest$ac_exeext; then 4813a73027baSmrg eval "$as_ac_var=yes" 4814a73027baSmrgelse 4815a73027baSmrg echo "$as_me: failed program was:" >&5 4816a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4817a73027baSmrg 4818a73027baSmrg eval "$as_ac_var=no" 4819a73027baSmrgfi 4820a73027baSmrg 4821a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4822a73027baSmrg conftest$ac_exeext conftest.$ac_ext 4823a73027baSmrgfi 4824a73027baSmrgac_res=`eval echo '${'$as_ac_var'}'` 4825a73027baSmrg { echo "$as_me:$LINENO: result: $ac_res" >&5 4826a73027baSmrgecho "${ECHO_T}$ac_res" >&6; } 4827a73027baSmrgif test `eval echo '${'$as_ac_var'}'` = yes; then 4828a73027baSmrg cat >>confdefs.h <<_ACEOF 4829a73027baSmrg#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4830a73027baSmrg_ACEOF 4831a73027baSmrg 4832a73027baSmrgfi 4833a73027baSmrgdone 4834a73027baSmrg 4835a73027baSmrgif test "x$ac_cv_func_fork" = xyes; then 4836a73027baSmrg { echo "$as_me:$LINENO: checking for working fork" >&5 4837a73027baSmrgecho $ECHO_N "checking for working fork... $ECHO_C" >&6; } 4838a73027baSmrgif test "${ac_cv_func_fork_works+set}" = set; then 4839a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4840a73027baSmrgelse 4841a73027baSmrg if test "$cross_compiling" = yes; then 4842a73027baSmrg ac_cv_func_fork_works=cross 4843a73027baSmrgelse 4844a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4845a73027baSmrg/* confdefs.h. */ 4846a73027baSmrg_ACEOF 4847a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4848a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4849a73027baSmrg/* end confdefs.h. */ 4850a73027baSmrg$ac_includes_default 4851a73027baSmrgint 4852a73027baSmrgmain () 4853a73027baSmrg{ 4854a73027baSmrg 4855a73027baSmrg /* By Ruediger Kuhlmann. */ 4856a73027baSmrg return fork () < 0; 4857a73027baSmrg 4858a73027baSmrg ; 4859a73027baSmrg return 0; 4860a73027baSmrg} 4861a73027baSmrg_ACEOF 4862a73027baSmrgrm -f conftest$ac_exeext 4863a73027baSmrgif { (ac_try="$ac_link" 4864a73027baSmrgcase "(($ac_try" in 4865a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4866a73027baSmrg *) ac_try_echo=$ac_try;; 4867a73027baSmrgesac 4868a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4869a73027baSmrg (eval "$ac_link") 2>&5 4870a73027baSmrg ac_status=$? 4871a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4872a73027baSmrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4873a73027baSmrg { (case "(($ac_try" in 4874a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4875a73027baSmrg *) ac_try_echo=$ac_try;; 4876a73027baSmrgesac 4877a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4878a73027baSmrg (eval "$ac_try") 2>&5 4879a73027baSmrg ac_status=$? 4880a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 4881a73027baSmrg (exit $ac_status); }; }; then 4882a73027baSmrg ac_cv_func_fork_works=yes 4883a73027baSmrgelse 4884a73027baSmrg echo "$as_me: program exited with status $ac_status" >&5 4885a73027baSmrgecho "$as_me: failed program was:" >&5 4886a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 4887a73027baSmrg 4888a73027baSmrg( exit $ac_status ) 4889a73027baSmrgac_cv_func_fork_works=no 4890a73027baSmrgfi 4891a73027baSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4892a73027baSmrgfi 4893a73027baSmrg 4894a73027baSmrg 4895a73027baSmrgfi 4896a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 4897a73027baSmrgecho "${ECHO_T}$ac_cv_func_fork_works" >&6; } 4898a73027baSmrg 4899a73027baSmrgelse 4900a73027baSmrg ac_cv_func_fork_works=$ac_cv_func_fork 4901a73027baSmrgfi 4902a73027baSmrgif test "x$ac_cv_func_fork_works" = xcross; then 4903a73027baSmrg case $host in 4904a73027baSmrg *-*-amigaos* | *-*-msdosdjgpp*) 4905a73027baSmrg # Override, as these systems have only a dummy fork() stub 4906a73027baSmrg ac_cv_func_fork_works=no 4907a73027baSmrg ;; 4908a73027baSmrg *) 4909a73027baSmrg ac_cv_func_fork_works=yes 4910a73027baSmrg ;; 4911a73027baSmrg esac 4912a73027baSmrg { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 4913a73027baSmrgecho "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 4914a73027baSmrgfi 4915a73027baSmrgac_cv_func_vfork_works=$ac_cv_func_vfork 4916a73027baSmrgif test "x$ac_cv_func_vfork" = xyes; then 4917a73027baSmrg { echo "$as_me:$LINENO: checking for working vfork" >&5 4918a73027baSmrgecho $ECHO_N "checking for working vfork... $ECHO_C" >&6; } 4919a73027baSmrgif test "${ac_cv_func_vfork_works+set}" = set; then 4920a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 4921a73027baSmrgelse 4922a73027baSmrg if test "$cross_compiling" = yes; then 4923a73027baSmrg ac_cv_func_vfork_works=cross 4924a73027baSmrgelse 4925a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 4926a73027baSmrg/* confdefs.h. */ 4927a73027baSmrg_ACEOF 4928a73027baSmrgcat confdefs.h >>conftest.$ac_ext 4929a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 4930a73027baSmrg/* end confdefs.h. */ 4931a73027baSmrg/* Thanks to Paul Eggert for this test. */ 4932a73027baSmrg$ac_includes_default 4933a73027baSmrg#include <sys/wait.h> 4934a73027baSmrg#ifdef HAVE_VFORK_H 4935a73027baSmrg# include <vfork.h> 4936a73027baSmrg#endif 4937a73027baSmrg/* On some sparc systems, changes by the child to local and incoming 4938a73027baSmrg argument registers are propagated back to the parent. The compiler 4939a73027baSmrg is told about this with #include <vfork.h>, but some compilers 4940a73027baSmrg (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a 4941a73027baSmrg static variable whose address is put into a register that is 4942a73027baSmrg clobbered by the vfork. */ 4943a73027baSmrgstatic void 4944a73027baSmrg#ifdef __cplusplus 4945a73027baSmrgsparc_address_test (int arg) 4946a73027baSmrg# else 4947a73027baSmrgsparc_address_test (arg) int arg; 4948a73027baSmrg#endif 4949a73027baSmrg{ 4950a73027baSmrg static pid_t child; 4951a73027baSmrg if (!child) { 4952a73027baSmrg child = vfork (); 4953a73027baSmrg if (child < 0) { 4954a73027baSmrg perror ("vfork"); 4955a73027baSmrg _exit(2); 4956a73027baSmrg } 4957a73027baSmrg if (!child) { 4958a73027baSmrg arg = getpid(); 4959a73027baSmrg write(-1, "", 0); 4960a73027baSmrg _exit (arg); 4961a73027baSmrg } 4962a73027baSmrg } 4963a73027baSmrg} 4964a73027baSmrg 4965a73027baSmrgint 4966a73027baSmrgmain () 4967a73027baSmrg{ 4968a73027baSmrg pid_t parent = getpid (); 4969a73027baSmrg pid_t child; 4970a73027baSmrg 4971a73027baSmrg sparc_address_test (0); 4972a73027baSmrg 4973a73027baSmrg child = vfork (); 4974a73027baSmrg 4975a73027baSmrg if (child == 0) { 4976a73027baSmrg /* Here is another test for sparc vfork register problems. This 4977a73027baSmrg test uses lots of local variables, at least as many local 4978a73027baSmrg variables as main has allocated so far including compiler 4979a73027baSmrg temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4980a73027baSmrg 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should 4981a73027baSmrg reuse the register of parent for one of the local variables, 4982a73027baSmrg since it will think that parent can't possibly be used any more 4983a73027baSmrg in this routine. Assigning to the local variable will thus 4984a73027baSmrg munge parent in the parent process. */ 4985a73027baSmrg pid_t 4986a73027baSmrg p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), 4987a73027baSmrg p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); 4988a73027baSmrg /* Convince the compiler that p..p7 are live; otherwise, it might 4989a73027baSmrg use the same hardware register for all 8 local variables. */ 4990a73027baSmrg if (p != p1 || p != p2 || p != p3 || p != p4 4991a73027baSmrg || p != p5 || p != p6 || p != p7) 4992a73027baSmrg _exit(1); 4993a73027baSmrg 4994a73027baSmrg /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent 4995a73027baSmrg from child file descriptors. If the child closes a descriptor 4996a73027baSmrg before it execs or exits, this munges the parent's descriptor 4997a73027baSmrg as well. Test for this by closing stdout in the child. */ 4998a73027baSmrg _exit(close(fileno(stdout)) != 0); 4999a73027baSmrg } else { 5000a73027baSmrg int status; 5001a73027baSmrg struct stat st; 5002a73027baSmrg 5003a73027baSmrg while (wait(&status) != child) 5004a73027baSmrg ; 5005a73027baSmrg return ( 5006a73027baSmrg /* Was there some problem with vforking? */ 5007a73027baSmrg child < 0 5008a73027baSmrg 5009a73027baSmrg /* Did the child fail? (This shouldn't happen.) */ 5010a73027baSmrg || status 5011a73027baSmrg 5012a73027baSmrg /* Did the vfork/compiler bug occur? */ 5013a73027baSmrg || parent != getpid() 5014a73027baSmrg 5015a73027baSmrg /* Did the file descriptor bug occur? */ 5016a73027baSmrg || fstat(fileno(stdout), &st) != 0 5017a73027baSmrg ); 5018a73027baSmrg } 5019a73027baSmrg} 5020a73027baSmrg_ACEOF 5021a73027baSmrgrm -f conftest$ac_exeext 5022a73027baSmrgif { (ac_try="$ac_link" 5023a73027baSmrgcase "(($ac_try" in 5024a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5025a73027baSmrg *) ac_try_echo=$ac_try;; 5026a73027baSmrgesac 5027a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5028a73027baSmrg (eval "$ac_link") 2>&5 5029a73027baSmrg ac_status=$? 5030a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 5031a73027baSmrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5032a73027baSmrg { (case "(($ac_try" in 5033a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5034a73027baSmrg *) ac_try_echo=$ac_try;; 5035a73027baSmrgesac 5036a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5037a73027baSmrg (eval "$ac_try") 2>&5 5038a73027baSmrg ac_status=$? 5039a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040a73027baSmrg (exit $ac_status); }; }; then 5041a73027baSmrg ac_cv_func_vfork_works=yes 5042a73027baSmrgelse 5043a73027baSmrg echo "$as_me: program exited with status $ac_status" >&5 5044a73027baSmrgecho "$as_me: failed program was:" >&5 5045a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 5046a73027baSmrg 5047a73027baSmrg( exit $ac_status ) 5048a73027baSmrgac_cv_func_vfork_works=no 5049a73027baSmrgfi 5050a73027baSmrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5051a73027baSmrgfi 5052a73027baSmrg 5053a73027baSmrg 5054a73027baSmrgfi 5055a73027baSmrg{ echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 5056a73027baSmrgecho "${ECHO_T}$ac_cv_func_vfork_works" >&6; } 5057a73027baSmrg 5058a73027baSmrgfi; 5059a73027baSmrgif test "x$ac_cv_func_fork_works" = xcross; then 5060a73027baSmrg ac_cv_func_vfork_works=$ac_cv_func_vfork 5061a73027baSmrg { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 5062a73027baSmrgecho "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 5063a73027baSmrgfi 5064a73027baSmrg 5065a73027baSmrgif test "x$ac_cv_func_vfork_works" = xyes; then 5066a73027baSmrg 5067a73027baSmrgcat >>confdefs.h <<\_ACEOF 5068a73027baSmrg#define HAVE_WORKING_VFORK 1 5069a73027baSmrg_ACEOF 5070a73027baSmrg 5071a73027baSmrgelse 5072a73027baSmrg 5073a73027baSmrgcat >>confdefs.h <<\_ACEOF 5074a73027baSmrg#define vfork fork 5075a73027baSmrg_ACEOF 5076a73027baSmrg 5077a73027baSmrgfi 5078a73027baSmrgif test "x$ac_cv_func_fork_works" = xyes; then 5079a73027baSmrg 5080a73027baSmrgcat >>confdefs.h <<\_ACEOF 5081a73027baSmrg#define HAVE_WORKING_FORK 1 5082a73027baSmrg_ACEOF 5083a73027baSmrg 5084a73027baSmrgfi 5085a73027baSmrg 5086a73027baSmrg 5087a73027baSmrg 5088a73027baSmrgfor ac_func in killpg 5089a73027baSmrgdo 5090a73027baSmrgas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5091a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5092a73027baSmrgecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5093a73027baSmrgif { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5094a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 5095a73027baSmrgelse 5096a73027baSmrg cat >conftest.$ac_ext <<_ACEOF 5097a73027baSmrg/* confdefs.h. */ 5098a73027baSmrg_ACEOF 5099a73027baSmrgcat confdefs.h >>conftest.$ac_ext 5100a73027baSmrgcat >>conftest.$ac_ext <<_ACEOF 5101a73027baSmrg/* end confdefs.h. */ 5102a73027baSmrg/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5103a73027baSmrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5104a73027baSmrg#define $ac_func innocuous_$ac_func 5105a73027baSmrg 5106a73027baSmrg/* System header to define __stub macros and hopefully few prototypes, 5107a73027baSmrg which can conflict with char $ac_func (); below. 5108a73027baSmrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5109a73027baSmrg <limits.h> exists even on freestanding compilers. */ 5110a73027baSmrg 5111a73027baSmrg#ifdef __STDC__ 5112a73027baSmrg# include <limits.h> 5113a73027baSmrg#else 5114a73027baSmrg# include <assert.h> 5115a73027baSmrg#endif 5116a73027baSmrg 5117a73027baSmrg#undef $ac_func 5118a73027baSmrg 5119a73027baSmrg/* Override any GCC internal prototype to avoid an error. 5120a73027baSmrg Use char because int might match the return type of a GCC 5121a73027baSmrg builtin and then its argument prototype would still apply. */ 5122a73027baSmrg#ifdef __cplusplus 5123a73027baSmrgextern "C" 5124a73027baSmrg#endif 5125a73027baSmrgchar $ac_func (); 5126a73027baSmrg/* The GNU C library defines this for functions which it implements 5127a73027baSmrg to always fail with ENOSYS. Some functions are actually named 5128a73027baSmrg something starting with __ and the normal name is an alias. */ 5129a73027baSmrg#if defined __stub_$ac_func || defined __stub___$ac_func 5130a73027baSmrgchoke me 5131a73027baSmrg#endif 5132a73027baSmrg 5133a73027baSmrgint 5134a73027baSmrgmain () 5135a73027baSmrg{ 5136a73027baSmrgreturn $ac_func (); 5137a73027baSmrg ; 5138a73027baSmrg return 0; 5139a73027baSmrg} 5140a73027baSmrg_ACEOF 5141a73027baSmrgrm -f conftest.$ac_objext conftest$ac_exeext 5142a73027baSmrgif { (ac_try="$ac_link" 5143a73027baSmrgcase "(($ac_try" in 5144a73027baSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5145a73027baSmrg *) ac_try_echo=$ac_try;; 5146a73027baSmrgesac 5147a73027baSmrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5148a73027baSmrg (eval "$ac_link") 2>conftest.er1 5149a73027baSmrg ac_status=$? 5150a73027baSmrg grep -v '^ *+' conftest.er1 >conftest.err 5151a73027baSmrg rm -f conftest.er1 5152a73027baSmrg cat conftest.err >&5 5153a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 5154a73027baSmrg (exit $ac_status); } && { 5155a73027baSmrg test -z "$ac_c_werror_flag" || 5156a73027baSmrg test ! -s conftest.err 5157a73027baSmrg } && test -s conftest$ac_exeext && 5158a73027baSmrg $as_test_x conftest$ac_exeext; then 5159a73027baSmrg eval "$as_ac_var=yes" 5160a73027baSmrgelse 5161a73027baSmrg echo "$as_me: failed program was:" >&5 5162a73027baSmrgsed 's/^/| /' conftest.$ac_ext >&5 5163a73027baSmrg 5164a73027baSmrg eval "$as_ac_var=no" 5165a73027baSmrgfi 5166a73027baSmrg 5167a73027baSmrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5168a73027baSmrg conftest$ac_exeext conftest.$ac_ext 5169a73027baSmrgfi 5170a73027baSmrgac_res=`eval echo '${'$as_ac_var'}'` 5171a73027baSmrg { echo "$as_me:$LINENO: result: $ac_res" >&5 5172a73027baSmrgecho "${ECHO_T}$ac_res" >&6; } 5173a73027baSmrgif test `eval echo '${'$as_ac_var'}'` = yes; then 5174a73027baSmrg cat >>confdefs.h <<_ACEOF 5175a73027baSmrg#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5176a73027baSmrg_ACEOF 5177a73027baSmrg 5178a73027baSmrgfi 5179a73027baSmrgdone 5180a73027baSmrg 5181a73027baSmrg 5182a73027baSmrg 5183a73027baSmrg 5184a73027baSmrg# Build options 5185a73027baSmrgDEFAULT_XRDB=xrdb 5186a73027baSmrgDEFAULT_XMODMAP=xmodmap 5187a73027baSmrgDEFAULT_TWM=twm 5188a73027baSmrgDEFAULT_XCLOCK=xclock 5189a73027baSmrgDEFAULT_XTERM=xterm 5190a73027baSmrg# You always want to specify the full path to the X server 5191a73027baSmrgDEFAULT_XSERVER=${bindir}/X 5192a73027baSmrgDEFAULT_XAUTH=xauth 5193a73027baSmrgDEFAULT_XINIT=xinit 5194a73027baSmrg 5195a73027baSmrg 5196a73027baSmrg# Check whether --with-xrdb was given. 5197a73027baSmrgif test "${with_xrdb+set}" = set; then 5198a73027baSmrg withval=$with_xrdb; XRDB="$withval" 5199a73027baSmrgelse 5200a73027baSmrg XRDB="$DEFAULT_XRDB" 5201a73027baSmrgfi 5202a73027baSmrg 5203a73027baSmrg 5204a73027baSmrg 5205a73027baSmrg# Check whether --with-xmodmap was given. 5206a73027baSmrgif test "${with_xmodmap+set}" = set; then 5207a73027baSmrg withval=$with_xmodmap; XMODMAP="$withval" 5208a73027baSmrgelse 5209a73027baSmrg XMODMAP="$DEFAULT_XMODMAP" 5210a73027baSmrgfi 5211a73027baSmrg 5212a73027baSmrg 5213a73027baSmrg 5214a73027baSmrg# Check whether --with-twm was given. 5215a73027baSmrgif test "${with_twm+set}" = set; then 5216a73027baSmrg withval=$with_twm; TWM="$withval" 5217a73027baSmrgelse 5218a73027baSmrg TWM="$DEFAULT_TWM" 5219a73027baSmrgfi 5220a73027baSmrg 5221a73027baSmrg 5222a73027baSmrg 5223a73027baSmrg# Check whether --with-xclock was given. 5224a73027baSmrgif test "${with_xclock+set}" = set; then 5225a73027baSmrg withval=$with_xclock; XCLOCK="$withval" 5226a73027baSmrgelse 5227a73027baSmrg XCLOCK="$DEFAULT_XCLOCK" 5228a73027baSmrgfi 5229a73027baSmrg 5230a73027baSmrg 5231a73027baSmrg 5232a73027baSmrg# Check whether --with-xterm was given. 5233a73027baSmrgif test "${with_xterm+set}" = set; then 5234a73027baSmrg withval=$with_xterm; XTERM="$withval" 5235a73027baSmrgelse 5236a73027baSmrg XTERM="$DEFAULT_XTERM" 5237a73027baSmrgfi 5238a73027baSmrg 5239a73027baSmrg 5240a73027baSmrg 5241a73027baSmrg# Check whether --with-xserver was given. 5242a73027baSmrgif test "${with_xserver+set}" = set; then 5243a73027baSmrg withval=$with_xserver; XSERVER="$withval" 5244a73027baSmrgelse 5245a73027baSmrg XSERVER="$DEFAULT_XSERVER" 5246a73027baSmrgfi 5247a73027baSmrg 5248a73027baSmrg 5249a73027baSmrg 5250a73027baSmrg# Check whether --with-xauth was given. 5251a73027baSmrgif test "${with_xauth+set}" = set; then 5252a73027baSmrg withval=$with_xauth; XAUTH="$withval" 5253a73027baSmrgelse 5254a73027baSmrg XAUTH="$DEFAULT_XAUTH" 5255a73027baSmrgfi 5256a73027baSmrg 5257a73027baSmrg 5258a73027baSmrg 5259a73027baSmrg# Check whether --with-xinit was given. 5260a73027baSmrgif test "${with_xinit+set}" = set; then 5261a73027baSmrg withval=$with_xinit; XINIT="$withval" 5262a73027baSmrgelse 5263a73027baSmrg XINIT="$DEFAULT_XINIT" 5264a73027baSmrgfi 5265a73027baSmrg 5266a73027baSmrg 5267a73027baSmrg 5268a73027baSmrg# Check whether --with-launchd was given. 5269a73027baSmrgif test "${with_launchd+set}" = set; then 5270a73027baSmrg withval=$with_launchd; LAUNCHD=$withval 5271a73027baSmrgelse 5272a73027baSmrg LAUNCHD=auto 5273a73027baSmrgfi 5274a73027baSmrg 5275a73027baSmrg 5276a73027baSmrg# Check whether --with-launchagents-dir was given. 5277a73027baSmrgif test "${with_launchagents_dir+set}" = set; then 5278a73027baSmrg withval=$with_launchagents_dir; launchagentsdir="${withval}" 5279a73027baSmrgelse 5280a73027baSmrg launchagentsdir="/Library/LaunchAgents" 5281a73027baSmrgfi 5282a73027baSmrg 5283a73027baSmrg 5284a73027baSmrg# Check whether --with-launchdaemons-dir was given. 5285a73027baSmrgif test "${with_launchdaemons_dir+set}" = set; then 5286a73027baSmrg withval=$with_launchdaemons_dir; launchdaemonsdir="${withval}" 5287a73027baSmrgelse 5288a73027baSmrg launchdaemonsdir="/Library/LaunchDaemons" 5289a73027baSmrgfi 5290a73027baSmrg 5291a73027baSmrg 5292a73027baSmrgif test "x$LAUNCHD" = "xauto"; then 5293a73027baSmrg unset LAUNCHD 529472e81212Smrg # Extract the first word of "launchd", so it can be a program name with args. 5295a73027baSmrgset dummy launchd; ac_word=$2 5296a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5297a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5298a73027baSmrgif test "${ac_cv_prog_LAUNCHD+set}" = set; then 5299a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 5300a73027baSmrgelse 5301a73027baSmrg if test -n "$LAUNCHD"; then 5302a73027baSmrg ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test. 5303a73027baSmrgelse 5304a73027baSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5305a73027baSmrgfor as_dir in $PATH 5306a73027baSmrgdo 5307a73027baSmrg IFS=$as_save_IFS 5308a73027baSmrg test -z "$as_dir" && as_dir=. 5309a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5310a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5311a73027baSmrg ac_cv_prog_LAUNCHD="yes" 5312a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5313a73027baSmrg break 2 5314a73027baSmrg fi 5315a73027baSmrgdone 5316a73027baSmrgdone 5317a73027baSmrgIFS=$as_save_IFS 5318a73027baSmrg 5319a73027baSmrg test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no" 5320a73027baSmrgfi 5321a73027baSmrgfi 5322a73027baSmrgLAUNCHD=$ac_cv_prog_LAUNCHD 5323a73027baSmrgif test -n "$LAUNCHD"; then 5324a73027baSmrg { echo "$as_me:$LINENO: result: $LAUNCHD" >&5 5325a73027baSmrgecho "${ECHO_T}$LAUNCHD" >&6; } 5326a73027baSmrgelse 5327a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 5328a73027baSmrgecho "${ECHO_T}no" >&6; } 5329a73027baSmrgfi 5330a73027baSmrg 5331a73027baSmrg 5332a73027baSmrgfi 5333a73027baSmrg 533472e81212SmrgTIGER_LAUNCHD=no 5335a73027baSmrgif test "x$LAUNCHD" = "xyes" ; then 5336a73027baSmrg 5337a73027baSmrgcat >>confdefs.h <<\_ACEOF 5338a73027baSmrg#define HAVE_LAUNCHD 1 5339a73027baSmrg_ACEOF 5340a73027baSmrg 534172e81212Smrg case $host_os in 534272e81212Smrg darwin8*) 534372e81212Smrg TIGER_LAUNCHD=yes 534472e81212Smrg ;; 534572e81212Smrg esac 5346a73027baSmrgelse 5347a73027baSmrg launchagentsdir="" 5348a73027baSmrg launchdaemonsdir="" 5349a73027baSmrgfi 5350a73027baSmrg 5351a73027baSmrg 5352a73027baSmrg if test "x$LAUNCHD" = "xyes"; then 5353a73027baSmrg LAUNCHD_TRUE= 5354a73027baSmrg LAUNCHD_FALSE='#' 5355a73027baSmrgelse 5356a73027baSmrg LAUNCHD_TRUE='#' 5357a73027baSmrg LAUNCHD_FALSE= 5358a73027baSmrgfi 5359a73027baSmrg 536072e81212Smrg if test "x$TIGER_LAUNCHD" = "xyes"; then 536172e81212Smrg TIGER_LAUNCHD_TRUE= 536272e81212Smrg TIGER_LAUNCHD_FALSE='#' 536372e81212Smrgelse 536472e81212Smrg TIGER_LAUNCHD_TRUE='#' 536572e81212Smrg TIGER_LAUNCHD_FALSE= 536672e81212Smrgfi 536772e81212Smrg 5368a73027baSmrg 5369a73027baSmrg# Checks for pkg-config packages 5370a73027baSmrg 5371a73027baSmrg 5372a73027baSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 5373a73027baSmrg if test -n "$ac_tool_prefix"; then 5374a73027baSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 5375a73027baSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 5376a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5377a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5378a73027baSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5379a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 5380a73027baSmrgelse 5381a73027baSmrg case $PKG_CONFIG in 5382a73027baSmrg [\\/]* | ?:[\\/]*) 5383a73027baSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5384a73027baSmrg ;; 5385a73027baSmrg *) 5386a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5387a73027baSmrgfor as_dir in $PATH 5388a73027baSmrgdo 5389a73027baSmrg IFS=$as_save_IFS 5390a73027baSmrg test -z "$as_dir" && as_dir=. 5391a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5392a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5393a73027baSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5394a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5395a73027baSmrg break 2 5396a73027baSmrg fi 5397a73027baSmrgdone 5398a73027baSmrgdone 5399a73027baSmrgIFS=$as_save_IFS 5400a73027baSmrg 5401a73027baSmrg ;; 5402a73027baSmrgesac 5403a73027baSmrgfi 5404a73027baSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 5405a73027baSmrgif test -n "$PKG_CONFIG"; then 5406a73027baSmrg { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5407a73027baSmrgecho "${ECHO_T}$PKG_CONFIG" >&6; } 5408a73027baSmrgelse 5409a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 5410a73027baSmrgecho "${ECHO_T}no" >&6; } 5411a73027baSmrgfi 5412a73027baSmrg 5413a73027baSmrg 5414a73027baSmrgfi 5415a73027baSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 5416a73027baSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 5417a73027baSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 5418a73027baSmrgset dummy pkg-config; ac_word=$2 5419a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5420a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5421a73027baSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 5422a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 5423a73027baSmrgelse 5424a73027baSmrg case $ac_pt_PKG_CONFIG in 5425a73027baSmrg [\\/]* | ?:[\\/]*) 5426a73027baSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 5427a73027baSmrg ;; 5428a73027baSmrg *) 5429a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5430a73027baSmrgfor as_dir in $PATH 5431a73027baSmrgdo 5432a73027baSmrg IFS=$as_save_IFS 5433a73027baSmrg test -z "$as_dir" && as_dir=. 5434a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5435a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5436a73027baSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5437a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5438a73027baSmrg break 2 5439a73027baSmrg fi 5440a73027baSmrgdone 5441a73027baSmrgdone 5442a73027baSmrgIFS=$as_save_IFS 5443a73027baSmrg 5444a73027baSmrg ;; 5445a73027baSmrgesac 5446a73027baSmrgfi 5447a73027baSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 5448a73027baSmrgif test -n "$ac_pt_PKG_CONFIG"; then 5449a73027baSmrg { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 5450a73027baSmrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 5451a73027baSmrgelse 5452a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 5453a73027baSmrgecho "${ECHO_T}no" >&6; } 5454a73027baSmrgfi 5455a73027baSmrg 5456a73027baSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 5457a73027baSmrg PKG_CONFIG="" 5458a73027baSmrg else 5459a73027baSmrg case $cross_compiling:$ac_tool_warned in 5460a73027baSmrgyes:) 5461a73027baSmrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 5462a73027baSmrgwhose name does not start with the host triplet. If you think this 5463a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 5464a73027baSmrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 5465a73027baSmrgwhose name does not start with the host triplet. If you think this 5466a73027baSmrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 5467a73027baSmrgac_tool_warned=yes ;; 5468a73027baSmrgesac 5469a73027baSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 5470a73027baSmrg fi 5471a73027baSmrgelse 5472a73027baSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5473a73027baSmrgfi 5474a73027baSmrg 5475a73027baSmrgfi 5476a73027baSmrgif test -n "$PKG_CONFIG"; then 5477a73027baSmrg _pkg_min_version=0.9.0 5478a73027baSmrg { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 5479a73027baSmrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 5480a73027baSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 5481a73027baSmrg { echo "$as_me:$LINENO: result: yes" >&5 5482a73027baSmrgecho "${ECHO_T}yes" >&6; } 5483a73027baSmrg else 5484a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 5485a73027baSmrgecho "${ECHO_T}no" >&6; } 5486a73027baSmrg PKG_CONFIG="" 5487a73027baSmrg fi 5488a73027baSmrg 5489a73027baSmrgfi 5490a73027baSmrg 5491a73027baSmrgpkg_failed=no 5492a73027baSmrg{ echo "$as_me:$LINENO: checking for XINIT" >&5 5493a73027baSmrgecho $ECHO_N "checking for XINIT... $ECHO_C" >&6; } 5494a73027baSmrg 5495a73027baSmrgif test -n "$XINIT_CFLAGS"; then 5496a73027baSmrg pkg_cv_XINIT_CFLAGS="$XINIT_CFLAGS" 5497a73027baSmrg elif test -n "$PKG_CONFIG"; then 5498a73027baSmrg if test -n "$PKG_CONFIG" && \ 5499a73027baSmrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 5500a73027baSmrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 5501a73027baSmrg ac_status=$? 5502a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 5503a73027baSmrg (exit $ac_status); }; then 5504a73027baSmrg pkg_cv_XINIT_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 5505a73027baSmrgelse 5506a73027baSmrg pkg_failed=yes 5507a73027baSmrgfi 5508a73027baSmrg else 5509a73027baSmrg pkg_failed=untried 5510a73027baSmrgfi 5511a73027baSmrgif test -n "$XINIT_LIBS"; then 5512a73027baSmrg pkg_cv_XINIT_LIBS="$XINIT_LIBS" 5513a73027baSmrg elif test -n "$PKG_CONFIG"; then 5514a73027baSmrg if test -n "$PKG_CONFIG" && \ 5515a73027baSmrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 5516a73027baSmrg ($PKG_CONFIG --exists --print-errors "x11") 2>&5 5517a73027baSmrg ac_status=$? 5518a73027baSmrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 5519a73027baSmrg (exit $ac_status); }; then 5520a73027baSmrg pkg_cv_XINIT_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 5521a73027baSmrgelse 5522a73027baSmrg pkg_failed=yes 5523a73027baSmrgfi 5524a73027baSmrg else 5525a73027baSmrg pkg_failed=untried 5526a73027baSmrgfi 5527a73027baSmrg 5528a73027baSmrg 5529a73027baSmrg 5530a73027baSmrgif test $pkg_failed = yes; then 5531a73027baSmrg 5532a73027baSmrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5533a73027baSmrg _pkg_short_errors_supported=yes 5534a73027baSmrgelse 5535a73027baSmrg _pkg_short_errors_supported=no 5536a73027baSmrgfi 5537a73027baSmrg if test $_pkg_short_errors_supported = yes; then 5538a73027baSmrg XINIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1` 5539a73027baSmrg else 5540a73027baSmrg XINIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1` 5541a73027baSmrg fi 5542a73027baSmrg # Put the nasty error message in config.log where it belongs 5543a73027baSmrg echo "$XINIT_PKG_ERRORS" >&5 5544a73027baSmrg 5545a73027baSmrg { { echo "$as_me:$LINENO: error: Package requirements (x11) were not met: 5546a73027baSmrg 5547a73027baSmrg$XINIT_PKG_ERRORS 5548a73027baSmrg 5549a73027baSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5550a73027baSmrginstalled software in a non-standard prefix. 5551a73027baSmrg 5552a73027baSmrgAlternatively, you may set the environment variables XINIT_CFLAGS 5553a73027baSmrgand XINIT_LIBS to avoid the need to call pkg-config. 5554a73027baSmrgSee the pkg-config man page for more details. 5555a73027baSmrg" >&5 5556a73027baSmrgecho "$as_me: error: Package requirements (x11) were not met: 5557a73027baSmrg 5558a73027baSmrg$XINIT_PKG_ERRORS 5559a73027baSmrg 5560a73027baSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5561a73027baSmrginstalled software in a non-standard prefix. 5562a73027baSmrg 5563a73027baSmrgAlternatively, you may set the environment variables XINIT_CFLAGS 5564a73027baSmrgand XINIT_LIBS to avoid the need to call pkg-config. 5565a73027baSmrgSee the pkg-config man page for more details. 5566a73027baSmrg" >&2;} 5567a73027baSmrg { (exit 1); exit 1; }; } 5568a73027baSmrgelif test $pkg_failed = untried; then 5569a73027baSmrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 5570a73027baSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 5571a73027baSmrgpath to pkg-config. 5572a73027baSmrg 5573a73027baSmrgAlternatively, you may set the environment variables XINIT_CFLAGS 5574a73027baSmrgand XINIT_LIBS to avoid the need to call pkg-config. 5575a73027baSmrgSee the pkg-config man page for more details. 5576a73027baSmrg 5577a73027baSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5578a73027baSmrgSee \`config.log' for more details." >&5 5579a73027baSmrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 5580a73027baSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 5581a73027baSmrgpath to pkg-config. 5582a73027baSmrg 5583a73027baSmrgAlternatively, you may set the environment variables XINIT_CFLAGS 5584a73027baSmrgand XINIT_LIBS to avoid the need to call pkg-config. 5585a73027baSmrgSee the pkg-config man page for more details. 5586a73027baSmrg 5587a73027baSmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5588a73027baSmrgSee \`config.log' for more details." >&2;} 5589a73027baSmrg { (exit 1); exit 1; }; } 5590a73027baSmrgelse 5591a73027baSmrg XINIT_CFLAGS=$pkg_cv_XINIT_CFLAGS 5592a73027baSmrg XINIT_LIBS=$pkg_cv_XINIT_LIBS 5593a73027baSmrg { echo "$as_me:$LINENO: result: yes" >&5 5594a73027baSmrgecho "${ECHO_T}yes" >&6; } 5595a73027baSmrg : 5596a73027baSmrgfi 5597a73027baSmrg 5598a73027baSmrgcase $host_os in 5599a73027baSmrg *bsd*) 5600a73027baSmrg XINIT_CFLAGS="$XINIT_CFLAGS -DCSRG_BASED" 5601a73027baSmrg ;; 5602a73027baSmrgesac 5603a73027baSmrg 5604a73027baSmrg 5605a73027baSmrg 5606a73027baSmrg 5607a73027baSmrgfor ac_prog in mcookie 5608a73027baSmrgdo 5609a73027baSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 5610a73027baSmrgset dummy $ac_prog; ac_word=$2 5611a73027baSmrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5612a73027baSmrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5613a73027baSmrgif test "${ac_cv_path_MCOOKIE+set}" = set; then 5614a73027baSmrg echo $ECHO_N "(cached) $ECHO_C" >&6 5615a73027baSmrgelse 5616a73027baSmrg case $MCOOKIE in 5617a73027baSmrg [\\/]* | ?:[\\/]*) 5618a73027baSmrg ac_cv_path_MCOOKIE="$MCOOKIE" # Let the user override the test with a path. 5619a73027baSmrg ;; 5620a73027baSmrg *) 5621a73027baSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5622a73027baSmrgas_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/local/bin" 5623a73027baSmrgfor as_dir in $as_dummy 5624a73027baSmrgdo 5625a73027baSmrg IFS=$as_save_IFS 5626a73027baSmrg test -z "$as_dir" && as_dir=. 5627a73027baSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5628a73027baSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5629a73027baSmrg ac_cv_path_MCOOKIE="$as_dir/$ac_word$ac_exec_ext" 5630a73027baSmrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5631a73027baSmrg break 2 5632a73027baSmrg fi 5633a73027baSmrgdone 5634a73027baSmrgdone 5635a73027baSmrgIFS=$as_save_IFS 5636a73027baSmrg 5637a73027baSmrg ;; 5638a73027baSmrgesac 5639a73027baSmrgfi 5640a73027baSmrgMCOOKIE=$ac_cv_path_MCOOKIE 5641a73027baSmrgif test -n "$MCOOKIE"; then 5642a73027baSmrg { echo "$as_me:$LINENO: result: $MCOOKIE" >&5 5643a73027baSmrgecho "${ECHO_T}$MCOOKIE" >&6; } 5644a73027baSmrgelse 5645a73027baSmrg { echo "$as_me:$LINENO: result: no" >&5 5646a73027baSmrgecho "${ECHO_T}no" >&6; } 5647a73027baSmrgfi 5648a73027baSmrg 5649a73027baSmrg 5650a73027baSmrg test -n "$MCOOKIE" && break 5651a73027baSmrgdone 5652a73027baSmrgtest -n "$MCOOKIE" || MCOOKIE="$MCOOKIE" 5653a73027baSmrg 5654a73027baSmrg 5655a73027baSmrgcase $host_os in 5656a73027baSmrg *openbsd*) 5657a73027baSmrg MCOOKIE='/usr/sbin/openssl rand -hex 16' 5658a73027baSmrg ;; 5659a73027baSmrg *solaris*) 5660a73027baSmrg MCOOKIE="/usr/bin/od -X -A n -N 16 /dev/urandom | /usr/bin/tr -d ' '" 5661a73027baSmrg ;; 5662a73027baSmrgesac 5663a73027baSmrg 5664a73027baSmrgif test "x$MCOOKIE" != x ; then 5665a73027baSmrg STARTX_COOKIE_FLAGS='-DHAS_COOKIE_MAKER -DMK_COOKIE="$(MCOOKIE)"' 5666a73027baSmrgfi 5667a73027baSmrg 5668a73027baSmrg 5669a73027baSmrg# Additional substitutions in startx, xinitrc & man pages 5670a73027baSmrgcase $host_os in 5671a73027baSmrg *solaris*) 5672a73027baSmrg SHELL_CMD="/bin/ksh" 5673a73027baSmrg ARCHMANDEFS="" 5674a73027baSmrg ;; 5675a73027baSmrg *sco*) 5676a73027baSmrg SHELL_CMD="/bin/ksh" 5677a73027baSmrg ARCHMANDEFS="-D__SCOMAN__" 5678a73027baSmrg ;; 5679a73027baSmrg *) 5680a73027baSmrg SHELL_CMD="/bin/sh" 5681a73027baSmrg ARCHMANDEFS="" 5682a73027baSmrg ;; 5683a73027baSmrgesac 5684a73027baSmrg 5685a73027baSmrg 5686a73027baSmrg 5687a73027baSmrg 5688a73027baSmrg 5689a73027baSmrg 5690a73027baSmrg 5691a73027baSmrg 5692a73027baSmrg 5693a73027baSmrg 5694a73027baSmrg 5695a73027baSmrg 5696a73027baSmrg# Defines which X servers are listed in help output in xinit.c 5697a73027baSmrg# Cheat, lie, and assume all the world is Xorg for now 5698a73027baSmrg 5699a73027baSmrgcat >>confdefs.h <<\_ACEOF 5700a73027baSmrg#define XORG 1 5701a73027baSmrg_ACEOF 5702a73027baSmrg 5703a73027baSmrg 5704a73027baSmrg 5705a73027baSmrg 5706a73027baSmrg 5707a73027baSmrgif test x$APP_MAN_SUFFIX = x ; then 5708a73027baSmrg APP_MAN_SUFFIX=1 5709a73027baSmrgfi 5710a73027baSmrgif test x$APP_MAN_DIR = x ; then 5711a73027baSmrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 5712a73027baSmrgfi 5713a73027baSmrg 5714a73027baSmrgif test x$LIB_MAN_SUFFIX = x ; then 5715a73027baSmrg LIB_MAN_SUFFIX=3 5716a73027baSmrgfi 5717a73027baSmrgif test x$LIB_MAN_DIR = x ; then 5718a73027baSmrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 5719a73027baSmrgfi 5720a73027baSmrg 5721a73027baSmrgif test x$FILE_MAN_SUFFIX = x ; then 5722a73027baSmrg case $host_os in 5723a73027baSmrg solaris*) FILE_MAN_SUFFIX=4 ;; 5724a73027baSmrg *) FILE_MAN_SUFFIX=5 ;; 5725a73027baSmrg esac 5726a73027baSmrgfi 5727a73027baSmrgif test x$FILE_MAN_DIR = x ; then 5728a73027baSmrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 5729a73027baSmrgfi 5730a73027baSmrg 5731a73027baSmrgif test x$MISC_MAN_SUFFIX = x ; then 5732a73027baSmrg case $host_os in 5733a73027baSmrg solaris*) MISC_MAN_SUFFIX=5 ;; 5734a73027baSmrg *) MISC_MAN_SUFFIX=7 ;; 5735a73027baSmrg esac 5736a73027baSmrgfi 5737a73027baSmrgif test x$MISC_MAN_DIR = x ; then 5738a73027baSmrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 5739a73027baSmrgfi 5740a73027baSmrg 5741a73027baSmrgif test x$DRIVER_MAN_SUFFIX = x ; then 5742a73027baSmrg case $host_os in 5743a73027baSmrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 5744a73027baSmrg *) DRIVER_MAN_SUFFIX=4 ;; 5745a73027baSmrg esac 5746a73027baSmrgfi 5747a73027baSmrgif test x$DRIVER_MAN_DIR = x ; then 5748a73027baSmrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 5749a73027baSmrgfi 5750a73027baSmrg 5751a73027baSmrgif test x$ADMIN_MAN_SUFFIX = x ; then 5752a73027baSmrg case $host_os in 5753a73027baSmrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 5754a73027baSmrg *) ADMIN_MAN_SUFFIX=8 ;; 5755a73027baSmrg esac 5756a73027baSmrgfi 5757a73027baSmrgif test x$ADMIN_MAN_DIR = x ; then 5758a73027baSmrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 5759a73027baSmrgfi 5760a73027baSmrg 5761a73027baSmrg 5762a73027baSmrg 5763a73027baSmrg 5764a73027baSmrg 5765a73027baSmrg 5766a73027baSmrg 5767a73027baSmrg 5768a73027baSmrg 5769a73027baSmrg 5770a73027baSmrg 5771a73027baSmrg 5772a73027baSmrg 5773a73027baSmrg 5774a73027baSmrg 5775a73027baSmrg 5776a73027baSmrg 5777a73027baSmrg# Check whether --with-release-version was given. 5778a73027baSmrgif test "${with_release_version+set}" = set; then 5779a73027baSmrg withval=$with_release_version; RELEASE_VERSION="$withval" 5780a73027baSmrgelse 5781a73027baSmrg RELEASE_VERSION="" 5782a73027baSmrgfi 5783a73027baSmrg 5784a73027baSmrg if test "x$RELEASE_VERSION" != "x"; then 5785a73027baSmrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 5786a73027baSmrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 5787a73027baSmrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 5788a73027baSmrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 5789a73027baSmrg fi 5790a73027baSmrg 5791a73027baSmrgcat >>confdefs.h <<_ACEOF 5792a73027baSmrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 5793a73027baSmrg_ACEOF 5794a73027baSmrg 5795a73027baSmrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 5796a73027baSmrg if test "x$PVM" = "x"; then 5797a73027baSmrg PVM="0" 5798a73027baSmrg fi 5799a73027baSmrg 5800a73027baSmrgcat >>confdefs.h <<_ACEOF 5801a73027baSmrg#define PACKAGE_VERSION_MINOR $PVM 5802a73027baSmrg_ACEOF 5803a73027baSmrg 5804a73027baSmrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 5805a73027baSmrg if test "x$PVP" = "x"; then 5806a73027baSmrg PVP="0" 5807a73027baSmrg fi 5808a73027baSmrg 5809a73027baSmrgcat >>confdefs.h <<_ACEOF 5810a73027baSmrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 5811a73027baSmrg_ACEOF 5812a73027baSmrg 5813a73027baSmrg 5814a73027baSmrg 5815a73027baSmrgac_config_files="$ac_config_files Makefile" 5816a73027baSmrg 5817a73027baSmrgcat >confcache <<\_ACEOF 5818a73027baSmrg# This file is a shell script that caches the results of configure 5819a73027baSmrg# tests run on this system so they can be shared between configure 5820a73027baSmrg# scripts and configure runs, see configure's option --config-cache. 5821a73027baSmrg# It is not useful on other systems. If it contains results you don't 5822a73027baSmrg# want to keep, you may remove or edit it. 5823a73027baSmrg# 5824a73027baSmrg# config.status only pays attention to the cache file if you give it 5825a73027baSmrg# the --recheck option to rerun configure. 5826a73027baSmrg# 5827a73027baSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 5828a73027baSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 5829a73027baSmrg# following values. 5830a73027baSmrg 5831a73027baSmrg_ACEOF 5832a73027baSmrg 5833a73027baSmrg# The following way of writing the cache mishandles newlines in values, 5834a73027baSmrg# but we know of no workaround that is simple, portable, and efficient. 5835a73027baSmrg# So, we kill variables containing newlines. 5836a73027baSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 5837a73027baSmrg# and sets the high bit in the cache file unless we assign to the vars. 5838a73027baSmrg( 5839a73027baSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5840a73027baSmrg eval ac_val=\$$ac_var 5841a73027baSmrg case $ac_val in #( 5842a73027baSmrg *${as_nl}*) 5843a73027baSmrg case $ac_var in #( 5844a73027baSmrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 5845a73027baSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 5846a73027baSmrg esac 5847a73027baSmrg case $ac_var in #( 5848a73027baSmrg _ | IFS | as_nl) ;; #( 5849a73027baSmrg *) $as_unset $ac_var ;; 5850a73027baSmrg esac ;; 5851a73027baSmrg esac 5852a73027baSmrg done 5853a73027baSmrg 5854a73027baSmrg (set) 2>&1 | 5855a73027baSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 5856a73027baSmrg *${as_nl}ac_space=\ *) 5857a73027baSmrg # `set' does not quote correctly, so add quotes (double-quote 5858a73027baSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 5859a73027baSmrg sed -n \ 5860a73027baSmrg "s/'/'\\\\''/g; 5861a73027baSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5862a73027baSmrg ;; #( 5863a73027baSmrg *) 5864a73027baSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 5865a73027baSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5866a73027baSmrg ;; 5867a73027baSmrg esac | 5868a73027baSmrg sort 5869a73027baSmrg) | 5870a73027baSmrg sed ' 5871a73027baSmrg /^ac_cv_env_/b end 5872a73027baSmrg t clear 5873a73027baSmrg :clear 5874a73027baSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5875a73027baSmrg t end 5876a73027baSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5877a73027baSmrg :end' >>confcache 5878a73027baSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5879a73027baSmrg if test -w "$cache_file"; then 5880a73027baSmrg test "x$cache_file" != "x/dev/null" && 5881a73027baSmrg { echo "$as_me:$LINENO: updating cache $cache_file" >&5 5882a73027baSmrgecho "$as_me: updating cache $cache_file" >&6;} 5883a73027baSmrg cat confcache >$cache_file 5884a73027baSmrg else 5885a73027baSmrg { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5886a73027baSmrgecho "$as_me: not updating unwritable cache $cache_file" >&6;} 5887a73027baSmrg fi 5888a73027baSmrgfi 5889a73027baSmrgrm -f confcache 5890a73027baSmrg 5891a73027baSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 5892a73027baSmrg# Let make expand exec_prefix. 5893a73027baSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5894a73027baSmrg 5895a73027baSmrgDEFS=-DHAVE_CONFIG_H 5896a73027baSmrg 5897a73027baSmrgac_libobjs= 5898a73027baSmrgac_ltlibobjs= 5899a73027baSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5900a73027baSmrg # 1. Remove the extension, and $U if already installed. 5901a73027baSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5902a73027baSmrg ac_i=`echo "$ac_i" | sed "$ac_script"` 5903a73027baSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5904a73027baSmrg # will be set to the directory where LIBOBJS objects are built. 5905a73027baSmrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5906a73027baSmrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5907a73027baSmrgdone 5908a73027baSmrgLIBOBJS=$ac_libobjs 5909a73027baSmrg 5910a73027baSmrgLTLIBOBJS=$ac_ltlibobjs 5911a73027baSmrg 5912a73027baSmrg 5913a73027baSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 5914a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 5915a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 5916a73027baSmrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 5917a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 5918a73027baSmrg { (exit 1); exit 1; }; } 5919a73027baSmrgfi 5920a73027baSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5921a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5922a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 5923a73027baSmrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 5924a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 5925a73027baSmrg { (exit 1); exit 1; }; } 5926a73027baSmrgfi 5927a73027baSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5928a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5929a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 5930a73027baSmrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5931a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 5932a73027baSmrg { (exit 1); exit 1; }; } 5933a73027baSmrgfi 5934a73027baSmrgif test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then 5935a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"LAUNCHD\" was never defined. 5936a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 5937a73027baSmrgecho "$as_me: error: conditional \"LAUNCHD\" was never defined. 5938a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 5939a73027baSmrg { (exit 1); exit 1; }; } 5940a73027baSmrgfi 594172e81212Smrgif test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then 594272e81212Smrg { { echo "$as_me:$LINENO: error: conditional \"TIGER_LAUNCHD\" was never defined. 594372e81212SmrgUsually this means the macro was only invoked conditionally." >&5 594472e81212Smrgecho "$as_me: error: conditional \"TIGER_LAUNCHD\" was never defined. 594572e81212SmrgUsually this means the macro was only invoked conditionally." >&2;} 594672e81212Smrg { (exit 1); exit 1; }; } 594772e81212Smrgfi 5948a73027baSmrg 5949a73027baSmrg: ${CONFIG_STATUS=./config.status} 5950a73027baSmrgac_clean_files_save=$ac_clean_files 5951a73027baSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5952a73027baSmrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5953a73027baSmrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 5954a73027baSmrgcat >$CONFIG_STATUS <<_ACEOF 5955a73027baSmrg#! $SHELL 5956a73027baSmrg# Generated by $as_me. 5957a73027baSmrg# Run this file to recreate the current configuration. 5958a73027baSmrg# Compiler output produced by configure, useful for debugging 5959a73027baSmrg# configure, is in config.log if it exists. 5960a73027baSmrg 5961a73027baSmrgdebug=false 5962a73027baSmrgac_cs_recheck=false 5963a73027baSmrgac_cs_silent=false 5964a73027baSmrgSHELL=\${CONFIG_SHELL-$SHELL} 5965a73027baSmrg_ACEOF 5966a73027baSmrg 5967a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 5968a73027baSmrg## --------------------- ## 5969a73027baSmrg## M4sh Initialization. ## 5970a73027baSmrg## --------------------- ## 5971a73027baSmrg 5972a73027baSmrg# Be more Bourne compatible 5973a73027baSmrgDUALCASE=1; export DUALCASE # for MKS sh 5974a73027baSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5975a73027baSmrg emulate sh 5976a73027baSmrg NULLCMD=: 5977a73027baSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5978a73027baSmrg # is contrary to our usage. Disable this feature. 5979a73027baSmrg alias -g '${1+"$@"}'='"$@"' 5980a73027baSmrg setopt NO_GLOB_SUBST 5981a73027baSmrgelse 5982a73027baSmrg case `(set -o) 2>/dev/null` in 5983a73027baSmrg *posix*) set -o posix ;; 5984a73027baSmrgesac 5985a73027baSmrg 5986a73027baSmrgfi 5987a73027baSmrg 5988a73027baSmrg 5989a73027baSmrg 5990a73027baSmrg 5991a73027baSmrg# PATH needs CR 5992a73027baSmrg# Avoid depending upon Character Ranges. 5993a73027baSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5994a73027baSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5995a73027baSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5996a73027baSmrgas_cr_digits='0123456789' 5997a73027baSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5998a73027baSmrg 5999a73027baSmrg# The user is always right. 6000a73027baSmrgif test "${PATH_SEPARATOR+set}" != set; then 6001a73027baSmrg echo "#! /bin/sh" >conf$$.sh 6002a73027baSmrg echo "exit 0" >>conf$$.sh 6003a73027baSmrg chmod +x conf$$.sh 6004a73027baSmrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6005a73027baSmrg PATH_SEPARATOR=';' 6006a73027baSmrg else 6007a73027baSmrg PATH_SEPARATOR=: 6008a73027baSmrg fi 6009a73027baSmrg rm -f conf$$.sh 6010a73027baSmrgfi 6011a73027baSmrg 6012a73027baSmrg# Support unset when possible. 6013a73027baSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6014a73027baSmrg as_unset=unset 6015a73027baSmrgelse 6016a73027baSmrg as_unset=false 6017a73027baSmrgfi 6018a73027baSmrg 6019a73027baSmrg 6020a73027baSmrg# IFS 6021a73027baSmrg# We need space, tab and new line, in precisely that order. Quoting is 6022a73027baSmrg# there to prevent editors from complaining about space-tab. 6023a73027baSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6024a73027baSmrg# splitting by setting IFS to empty value.) 6025a73027baSmrgas_nl=' 6026a73027baSmrg' 6027a73027baSmrgIFS=" "" $as_nl" 6028a73027baSmrg 6029a73027baSmrg# Find who we are. Look in the path if we contain no directory separator. 6030a73027baSmrgcase $0 in 6031a73027baSmrg *[\\/]* ) as_myself=$0 ;; 6032a73027baSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6033a73027baSmrgfor as_dir in $PATH 6034a73027baSmrgdo 6035a73027baSmrg IFS=$as_save_IFS 6036a73027baSmrg test -z "$as_dir" && as_dir=. 6037a73027baSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6038a73027baSmrgdone 6039a73027baSmrgIFS=$as_save_IFS 6040a73027baSmrg 6041a73027baSmrg ;; 6042a73027baSmrgesac 6043a73027baSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 6044a73027baSmrg# in which case we are not to be found in the path. 6045a73027baSmrgif test "x$as_myself" = x; then 6046a73027baSmrg as_myself=$0 6047a73027baSmrgfi 6048a73027baSmrgif test ! -f "$as_myself"; then 6049a73027baSmrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6050a73027baSmrg { (exit 1); exit 1; } 6051a73027baSmrgfi 6052a73027baSmrg 6053a73027baSmrg# Work around bugs in pre-3.0 UWIN ksh. 6054a73027baSmrgfor as_var in ENV MAIL MAILPATH 6055a73027baSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6056a73027baSmrgdone 6057a73027baSmrgPS1='$ ' 6058a73027baSmrgPS2='> ' 6059a73027baSmrgPS4='+ ' 6060a73027baSmrg 6061a73027baSmrg# NLS nuisances. 6062a73027baSmrgfor as_var in \ 6063a73027baSmrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 6064a73027baSmrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 6065a73027baSmrg LC_TELEPHONE LC_TIME 6066a73027baSmrgdo 6067a73027baSmrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6068a73027baSmrg eval $as_var=C; export $as_var 6069a73027baSmrg else 6070a73027baSmrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6071a73027baSmrg fi 6072a73027baSmrgdone 6073a73027baSmrg 6074a73027baSmrg# Required to use basename. 6075a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 6076a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 6077a73027baSmrg as_expr=expr 6078a73027baSmrgelse 6079a73027baSmrg as_expr=false 6080a73027baSmrgfi 6081a73027baSmrg 6082a73027baSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6083a73027baSmrg as_basename=basename 6084a73027baSmrgelse 6085a73027baSmrg as_basename=false 6086a73027baSmrgfi 6087a73027baSmrg 6088a73027baSmrg 6089a73027baSmrg# Name of the executable. 6090a73027baSmrgas_me=`$as_basename -- "$0" || 6091a73027baSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6092a73027baSmrg X"$0" : 'X\(//\)$' \| \ 6093a73027baSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 6094a73027baSmrgecho X/"$0" | 6095a73027baSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 6096a73027baSmrg s//\1/ 6097a73027baSmrg q 6098a73027baSmrg } 6099a73027baSmrg /^X\/\(\/\/\)$/{ 6100a73027baSmrg s//\1/ 6101a73027baSmrg q 6102a73027baSmrg } 6103a73027baSmrg /^X\/\(\/\).*/{ 6104a73027baSmrg s//\1/ 6105a73027baSmrg q 6106a73027baSmrg } 6107a73027baSmrg s/.*/./; q'` 6108a73027baSmrg 6109a73027baSmrg# CDPATH. 6110a73027baSmrg$as_unset CDPATH 6111a73027baSmrg 6112a73027baSmrg 6113a73027baSmrg 6114a73027baSmrg as_lineno_1=$LINENO 6115a73027baSmrg as_lineno_2=$LINENO 6116a73027baSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 6117a73027baSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 6118a73027baSmrg 6119a73027baSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6120a73027baSmrg # uniformly replaced by the line number. The first 'sed' inserts a 6121a73027baSmrg # line-number line after each line using $LINENO; the second 'sed' 6122a73027baSmrg # does the real work. The second script uses 'N' to pair each 6123a73027baSmrg # line-number line with the line containing $LINENO, and appends 6124a73027baSmrg # trailing '-' during substitution so that $LINENO is not a special 6125a73027baSmrg # case at line end. 6126a73027baSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6127a73027baSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 6128a73027baSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 6129a73027baSmrg sed -n ' 6130a73027baSmrg p 6131a73027baSmrg /[$]LINENO/= 6132a73027baSmrg ' <$as_myself | 6133a73027baSmrg sed ' 6134a73027baSmrg s/[$]LINENO.*/&-/ 6135a73027baSmrg t lineno 6136a73027baSmrg b 6137a73027baSmrg :lineno 6138a73027baSmrg N 6139a73027baSmrg :loop 6140a73027baSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 6141a73027baSmrg t loop 6142a73027baSmrg s/-\n.*// 6143a73027baSmrg ' >$as_me.lineno && 6144a73027baSmrg chmod +x "$as_me.lineno" || 6145a73027baSmrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 6146a73027baSmrg { (exit 1); exit 1; }; } 6147a73027baSmrg 6148a73027baSmrg # Don't try to exec as it changes $[0], causing all sort of problems 6149a73027baSmrg # (the dirname of $[0] is not the place where we might find the 6150a73027baSmrg # original and so on. Autoconf is especially sensitive to this). 6151a73027baSmrg . "./$as_me.lineno" 6152a73027baSmrg # Exit status is that of the last command. 6153a73027baSmrg exit 6154a73027baSmrg} 6155a73027baSmrg 6156a73027baSmrg 6157a73027baSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6158a73027baSmrg as_dirname=dirname 6159a73027baSmrgelse 6160a73027baSmrg as_dirname=false 6161a73027baSmrgfi 6162a73027baSmrg 6163a73027baSmrgECHO_C= ECHO_N= ECHO_T= 6164a73027baSmrgcase `echo -n x` in 6165a73027baSmrg-n*) 6166a73027baSmrg case `echo 'x\c'` in 6167a73027baSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6168a73027baSmrg *) ECHO_C='\c';; 6169a73027baSmrg esac;; 6170a73027baSmrg*) 6171a73027baSmrg ECHO_N='-n';; 6172a73027baSmrgesac 6173a73027baSmrg 6174a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 6175a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 6176a73027baSmrg as_expr=expr 6177a73027baSmrgelse 6178a73027baSmrg as_expr=false 6179a73027baSmrgfi 6180a73027baSmrg 6181a73027baSmrgrm -f conf$$ conf$$.exe conf$$.file 6182a73027baSmrgif test -d conf$$.dir; then 6183a73027baSmrg rm -f conf$$.dir/conf$$.file 6184a73027baSmrgelse 6185a73027baSmrg rm -f conf$$.dir 6186a73027baSmrg mkdir conf$$.dir 6187a73027baSmrgfi 6188a73027baSmrgecho >conf$$.file 6189a73027baSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then 6190a73027baSmrg as_ln_s='ln -s' 6191a73027baSmrg # ... but there are two gotchas: 6192a73027baSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6193a73027baSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6194a73027baSmrg # In both cases, we have to default to `cp -p'. 6195a73027baSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6196a73027baSmrg as_ln_s='cp -p' 6197a73027baSmrgelif ln conf$$.file conf$$ 2>/dev/null; then 6198a73027baSmrg as_ln_s=ln 6199a73027baSmrgelse 6200a73027baSmrg as_ln_s='cp -p' 6201a73027baSmrgfi 6202a73027baSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6203a73027baSmrgrmdir conf$$.dir 2>/dev/null 6204a73027baSmrg 6205a73027baSmrgif mkdir -p . 2>/dev/null; then 6206a73027baSmrg as_mkdir_p=: 6207a73027baSmrgelse 6208a73027baSmrg test -d ./-p && rmdir ./-p 6209a73027baSmrg as_mkdir_p=false 6210a73027baSmrgfi 6211a73027baSmrg 6212a73027baSmrgif test -x / >/dev/null 2>&1; then 6213a73027baSmrg as_test_x='test -x' 6214a73027baSmrgelse 6215a73027baSmrg if ls -dL / >/dev/null 2>&1; then 6216a73027baSmrg as_ls_L_option=L 6217a73027baSmrg else 6218a73027baSmrg as_ls_L_option= 6219a73027baSmrg fi 6220a73027baSmrg as_test_x=' 6221a73027baSmrg eval sh -c '\'' 6222a73027baSmrg if test -d "$1"; then 6223a73027baSmrg test -d "$1/."; 6224a73027baSmrg else 6225a73027baSmrg case $1 in 6226a73027baSmrg -*)set "./$1";; 6227a73027baSmrg esac; 6228a73027baSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6229a73027baSmrg ???[sx]*):;;*)false;;esac;fi 6230a73027baSmrg '\'' sh 6231a73027baSmrg ' 6232a73027baSmrgfi 6233a73027baSmrgas_executable_p=$as_test_x 6234a73027baSmrg 6235a73027baSmrg# Sed expression to map a string onto a valid CPP name. 6236a73027baSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6237a73027baSmrg 6238a73027baSmrg# Sed expression to map a string onto a valid variable name. 6239a73027baSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6240a73027baSmrg 6241a73027baSmrg 6242a73027baSmrgexec 6>&1 6243a73027baSmrg 6244a73027baSmrg# Save the log message, to keep $[0] and so on meaningful, and to 6245a73027baSmrg# report actual input values of CONFIG_FILES etc. instead of their 6246a73027baSmrg# values after options handling. 6247a73027baSmrgac_log=" 624872e81212SmrgThis file was extended by xinit $as_me 1.1.1, which was 6249a73027baSmrggenerated by GNU Autoconf 2.61. Invocation command line was 6250a73027baSmrg 6251a73027baSmrg CONFIG_FILES = $CONFIG_FILES 6252a73027baSmrg CONFIG_HEADERS = $CONFIG_HEADERS 6253a73027baSmrg CONFIG_LINKS = $CONFIG_LINKS 6254a73027baSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 6255a73027baSmrg $ $0 $@ 6256a73027baSmrg 6257a73027baSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 6258a73027baSmrg" 6259a73027baSmrg 6260a73027baSmrg_ACEOF 6261a73027baSmrg 6262a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6263a73027baSmrg# Files that config.status was made for. 6264a73027baSmrgconfig_files="$ac_config_files" 6265a73027baSmrgconfig_headers="$ac_config_headers" 6266a73027baSmrgconfig_commands="$ac_config_commands" 6267a73027baSmrg 6268a73027baSmrg_ACEOF 6269a73027baSmrg 6270a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 6271a73027baSmrgac_cs_usage="\ 6272a73027baSmrg\`$as_me' instantiates files from templates according to the 6273a73027baSmrgcurrent configuration. 6274a73027baSmrg 6275a73027baSmrgUsage: $0 [OPTIONS] [FILE]... 6276a73027baSmrg 6277a73027baSmrg -h, --help print this help, then exit 6278a73027baSmrg -V, --version print version number and configuration settings, then exit 6279a73027baSmrg -q, --quiet do not print progress messages 6280a73027baSmrg -d, --debug don't remove temporary files 6281a73027baSmrg --recheck update $as_me by reconfiguring in the same conditions 6282a73027baSmrg --file=FILE[:TEMPLATE] 6283a73027baSmrg instantiate the configuration file FILE 6284a73027baSmrg --header=FILE[:TEMPLATE] 6285a73027baSmrg instantiate the configuration header FILE 6286a73027baSmrg 6287a73027baSmrgConfiguration files: 6288a73027baSmrg$config_files 6289a73027baSmrg 6290a73027baSmrgConfiguration headers: 6291a73027baSmrg$config_headers 6292a73027baSmrg 6293a73027baSmrgConfiguration commands: 6294a73027baSmrg$config_commands 6295a73027baSmrg 6296a73027baSmrgReport bugs to <bug-autoconf@gnu.org>." 6297a73027baSmrg 6298a73027baSmrg_ACEOF 6299a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6300a73027baSmrgac_cs_version="\\ 630172e81212Smrgxinit config.status 1.1.1 6302a73027baSmrgconfigured by $0, generated by GNU Autoconf 2.61, 6303a73027baSmrg with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6304a73027baSmrg 6305a73027baSmrgCopyright (C) 2006 Free Software Foundation, Inc. 6306a73027baSmrgThis config.status script is free software; the Free Software Foundation 6307a73027baSmrggives unlimited permission to copy, distribute and modify it." 6308a73027baSmrg 6309a73027baSmrgac_pwd='$ac_pwd' 6310a73027baSmrgsrcdir='$srcdir' 6311a73027baSmrgINSTALL='$INSTALL' 6312a73027baSmrgMKDIR_P='$MKDIR_P' 6313a73027baSmrg_ACEOF 6314a73027baSmrg 6315a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 6316a73027baSmrg# If no file are specified by the user, then we need to provide default 6317a73027baSmrg# value. By we need to know if files were specified by the user. 6318a73027baSmrgac_need_defaults=: 6319a73027baSmrgwhile test $# != 0 6320a73027baSmrgdo 6321a73027baSmrg case $1 in 6322a73027baSmrg --*=*) 6323a73027baSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 6324a73027baSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6325a73027baSmrg ac_shift=: 6326a73027baSmrg ;; 6327a73027baSmrg *) 6328a73027baSmrg ac_option=$1 6329a73027baSmrg ac_optarg=$2 6330a73027baSmrg ac_shift=shift 6331a73027baSmrg ;; 6332a73027baSmrg esac 6333a73027baSmrg 6334a73027baSmrg case $ac_option in 6335a73027baSmrg # Handling of the options. 6336a73027baSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6337a73027baSmrg ac_cs_recheck=: ;; 6338a73027baSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6339a73027baSmrg echo "$ac_cs_version"; exit ;; 6340a73027baSmrg --debug | --debu | --deb | --de | --d | -d ) 6341a73027baSmrg debug=: ;; 6342a73027baSmrg --file | --fil | --fi | --f ) 6343a73027baSmrg $ac_shift 6344a73027baSmrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6345a73027baSmrg ac_need_defaults=false;; 6346a73027baSmrg --header | --heade | --head | --hea ) 6347a73027baSmrg $ac_shift 6348a73027baSmrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 6349a73027baSmrg ac_need_defaults=false;; 6350a73027baSmrg --he | --h) 6351a73027baSmrg # Conflict between --help and --header 6352a73027baSmrg { echo "$as_me: error: ambiguous option: $1 6353a73027baSmrgTry \`$0 --help' for more information." >&2 6354a73027baSmrg { (exit 1); exit 1; }; };; 6355a73027baSmrg --help | --hel | -h ) 6356a73027baSmrg echo "$ac_cs_usage"; exit ;; 6357a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6358a73027baSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 6359a73027baSmrg ac_cs_silent=: ;; 6360a73027baSmrg 6361a73027baSmrg # This is an error. 6362a73027baSmrg -*) { echo "$as_me: error: unrecognized option: $1 6363a73027baSmrgTry \`$0 --help' for more information." >&2 6364a73027baSmrg { (exit 1); exit 1; }; } ;; 6365a73027baSmrg 6366a73027baSmrg *) ac_config_targets="$ac_config_targets $1" 6367a73027baSmrg ac_need_defaults=false ;; 6368a73027baSmrg 6369a73027baSmrg esac 6370a73027baSmrg shift 6371a73027baSmrgdone 6372a73027baSmrg 6373a73027baSmrgac_configure_extra_args= 6374a73027baSmrg 6375a73027baSmrgif $ac_cs_silent; then 6376a73027baSmrg exec 6>/dev/null 6377a73027baSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 6378a73027baSmrgfi 6379a73027baSmrg 6380a73027baSmrg_ACEOF 6381a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6382a73027baSmrgif \$ac_cs_recheck; then 6383a73027baSmrg echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6384a73027baSmrg CONFIG_SHELL=$SHELL 6385a73027baSmrg export CONFIG_SHELL 6386a73027baSmrg exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6387a73027baSmrgfi 6388a73027baSmrg 6389a73027baSmrg_ACEOF 6390a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 6391a73027baSmrgexec 5>>config.log 6392a73027baSmrg{ 6393a73027baSmrg echo 6394a73027baSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6395a73027baSmrg## Running $as_me. ## 6396a73027baSmrg_ASBOX 6397a73027baSmrg echo "$ac_log" 6398a73027baSmrg} >&5 6399a73027baSmrg 6400a73027baSmrg_ACEOF 6401a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6402a73027baSmrg# 6403a73027baSmrg# INIT-COMMANDS 6404a73027baSmrg# 6405a73027baSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6406a73027baSmrg 6407a73027baSmrg_ACEOF 6408a73027baSmrg 6409a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 6410a73027baSmrg 6411a73027baSmrg# Handling of arguments. 6412a73027baSmrgfor ac_config_target in $ac_config_targets 6413a73027baSmrgdo 6414a73027baSmrg case $ac_config_target in 6415a73027baSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6416a73027baSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6417a73027baSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6418a73027baSmrg 6419a73027baSmrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6420a73027baSmrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 6421a73027baSmrg { (exit 1); exit 1; }; };; 6422a73027baSmrg esac 6423a73027baSmrgdone 6424a73027baSmrg 6425a73027baSmrg 6426a73027baSmrg# If the user did not use the arguments to specify the items to instantiate, 6427a73027baSmrg# then the envvar interface is used. Set only those that are not. 6428a73027baSmrg# We use the long form for the default assignment because of an extremely 6429a73027baSmrg# bizarre bug on SunOS 4.1.3. 6430a73027baSmrgif $ac_need_defaults; then 6431a73027baSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6432a73027baSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6433a73027baSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6434a73027baSmrgfi 6435a73027baSmrg 6436a73027baSmrg# Have a temporary directory for convenience. Make it in the build tree 6437a73027baSmrg# simply because there is no reason against having it here, and in addition, 6438a73027baSmrg# creating and moving files from /tmp can sometimes cause problems. 6439a73027baSmrg# Hook for its removal unless debugging. 6440a73027baSmrg# Note that there is a small window in which the directory will not be cleaned: 6441a73027baSmrg# after its creation but before its name has been assigned to `$tmp'. 6442a73027baSmrg$debug || 6443a73027baSmrg{ 6444a73027baSmrg tmp= 6445a73027baSmrg trap 'exit_status=$? 6446a73027baSmrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6447a73027baSmrg' 0 6448a73027baSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 6449a73027baSmrg} 6450a73027baSmrg# Create a (secure) tmp directory for tmp files. 6451a73027baSmrg 6452a73027baSmrg{ 6453a73027baSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6454a73027baSmrg test -n "$tmp" && test -d "$tmp" 6455a73027baSmrg} || 6456a73027baSmrg{ 6457a73027baSmrg tmp=./conf$$-$RANDOM 6458a73027baSmrg (umask 077 && mkdir "$tmp") 6459a73027baSmrg} || 6460a73027baSmrg{ 6461a73027baSmrg echo "$me: cannot create a temporary directory in ." >&2 6462a73027baSmrg { (exit 1); exit 1; } 6463a73027baSmrg} 6464a73027baSmrg 6465a73027baSmrg# 6466a73027baSmrg# Set up the sed scripts for CONFIG_FILES section. 6467a73027baSmrg# 6468a73027baSmrg 6469a73027baSmrg# No need to generate the scripts if there are no CONFIG_FILES. 6470a73027baSmrg# This happens for instance when ./config.status config.h 6471a73027baSmrgif test -n "$CONFIG_FILES"; then 6472a73027baSmrg 6473a73027baSmrg_ACEOF 6474a73027baSmrg 6475a73027baSmrg 6476a73027baSmrg 6477a73027baSmrgac_delim='%!_!# ' 6478a73027baSmrgfor ac_last_try in false false false false false :; do 6479a73027baSmrg cat >conf$$subs.sed <<_ACEOF 6480a73027baSmrgSHELL!$SHELL$ac_delim 6481a73027baSmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 6482a73027baSmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim 6483a73027baSmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 6484a73027baSmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 6485a73027baSmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim 6486a73027baSmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 6487a73027baSmrgexec_prefix!$exec_prefix$ac_delim 6488a73027baSmrgprefix!$prefix$ac_delim 6489a73027baSmrgprogram_transform_name!$program_transform_name$ac_delim 6490a73027baSmrgbindir!$bindir$ac_delim 6491a73027baSmrgsbindir!$sbindir$ac_delim 6492a73027baSmrglibexecdir!$libexecdir$ac_delim 6493a73027baSmrgdatarootdir!$datarootdir$ac_delim 6494a73027baSmrgdatadir!$datadir$ac_delim 6495a73027baSmrgsysconfdir!$sysconfdir$ac_delim 6496a73027baSmrgsharedstatedir!$sharedstatedir$ac_delim 6497a73027baSmrglocalstatedir!$localstatedir$ac_delim 6498a73027baSmrgincludedir!$includedir$ac_delim 6499a73027baSmrgoldincludedir!$oldincludedir$ac_delim 6500a73027baSmrgdocdir!$docdir$ac_delim 6501a73027baSmrginfodir!$infodir$ac_delim 6502a73027baSmrghtmldir!$htmldir$ac_delim 6503a73027baSmrgdvidir!$dvidir$ac_delim 6504a73027baSmrgpdfdir!$pdfdir$ac_delim 6505a73027baSmrgpsdir!$psdir$ac_delim 6506a73027baSmrglibdir!$libdir$ac_delim 6507a73027baSmrglocaledir!$localedir$ac_delim 6508a73027baSmrgmandir!$mandir$ac_delim 6509a73027baSmrgDEFS!$DEFS$ac_delim 6510a73027baSmrgECHO_C!$ECHO_C$ac_delim 6511a73027baSmrgECHO_N!$ECHO_N$ac_delim 6512a73027baSmrgECHO_T!$ECHO_T$ac_delim 6513a73027baSmrgLIBS!$LIBS$ac_delim 6514a73027baSmrgbuild_alias!$build_alias$ac_delim 6515a73027baSmrghost_alias!$host_alias$ac_delim 6516a73027baSmrgtarget_alias!$target_alias$ac_delim 6517a73027baSmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 6518a73027baSmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 6519a73027baSmrgINSTALL_DATA!$INSTALL_DATA$ac_delim 6520a73027baSmrgam__isrc!$am__isrc$ac_delim 6521a73027baSmrgCYGPATH_W!$CYGPATH_W$ac_delim 6522a73027baSmrgPACKAGE!$PACKAGE$ac_delim 6523a73027baSmrgVERSION!$VERSION$ac_delim 6524a73027baSmrgACLOCAL!$ACLOCAL$ac_delim 6525a73027baSmrgAUTOCONF!$AUTOCONF$ac_delim 6526a73027baSmrgAUTOMAKE!$AUTOMAKE$ac_delim 6527a73027baSmrgAUTOHEADER!$AUTOHEADER$ac_delim 6528a73027baSmrgMAKEINFO!$MAKEINFO$ac_delim 6529a73027baSmrginstall_sh!$install_sh$ac_delim 6530a73027baSmrgSTRIP!$STRIP$ac_delim 6531a73027baSmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 6532a73027baSmrgmkdir_p!$mkdir_p$ac_delim 6533a73027baSmrgAWK!$AWK$ac_delim 6534a73027baSmrgSET_MAKE!$SET_MAKE$ac_delim 6535a73027baSmrgam__leading_dot!$am__leading_dot$ac_delim 6536a73027baSmrgAMTAR!$AMTAR$ac_delim 6537a73027baSmrgam__tar!$am__tar$ac_delim 6538a73027baSmrgam__untar!$am__untar$ac_delim 6539a73027baSmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 6540a73027baSmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 6541a73027baSmrgMAINT!$MAINT$ac_delim 6542a73027baSmrgCC!$CC$ac_delim 6543a73027baSmrgCFLAGS!$CFLAGS$ac_delim 6544a73027baSmrgLDFLAGS!$LDFLAGS$ac_delim 6545a73027baSmrgCPPFLAGS!$CPPFLAGS$ac_delim 6546a73027baSmrgac_ct_CC!$ac_ct_CC$ac_delim 6547a73027baSmrgEXEEXT!$EXEEXT$ac_delim 6548a73027baSmrgOBJEXT!$OBJEXT$ac_delim 6549a73027baSmrgDEPDIR!$DEPDIR$ac_delim 6550a73027baSmrgam__include!$am__include$ac_delim 6551a73027baSmrgam__quote!$am__quote$ac_delim 6552a73027baSmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim 6553a73027baSmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim 6554a73027baSmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 6555a73027baSmrgCCDEPMODE!$CCDEPMODE$ac_delim 6556a73027baSmrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 6557a73027baSmrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 6558a73027baSmrgCPP!$CPP$ac_delim 6559a73027baSmrgRAWCPP!$RAWCPP$ac_delim 6560a73027baSmrgRAWCPPFLAGS!$RAWCPPFLAGS$ac_delim 6561a73027baSmrgSED!$SED$ac_delim 6562a73027baSmrgbuild!$build$ac_delim 6563a73027baSmrgbuild_cpu!$build_cpu$ac_delim 6564a73027baSmrgbuild_vendor!$build_vendor$ac_delim 6565a73027baSmrgbuild_os!$build_os$ac_delim 6566a73027baSmrghost!$host$ac_delim 6567a73027baSmrghost_cpu!$host_cpu$ac_delim 6568a73027baSmrghost_vendor!$host_vendor$ac_delim 6569a73027baSmrghost_os!$host_os$ac_delim 6570a73027baSmrgGREP!$GREP$ac_delim 6571a73027baSmrgEGREP!$EGREP$ac_delim 6572a73027baSmrgLAUNCHD!$LAUNCHD$ac_delim 6573a73027baSmrglaunchagentsdir!$launchagentsdir$ac_delim 6574a73027baSmrglaunchdaemonsdir!$launchdaemonsdir$ac_delim 6575a73027baSmrgLAUNCHD_TRUE!$LAUNCHD_TRUE$ac_delim 6576a73027baSmrgLAUNCHD_FALSE!$LAUNCHD_FALSE$ac_delim 6577a73027baSmrg_ACEOF 6578a73027baSmrg 6579a73027baSmrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 6580a73027baSmrg break 6581a73027baSmrg elif $ac_last_try; then 6582a73027baSmrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6583a73027baSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6584a73027baSmrg { (exit 1); exit 1; }; } 6585a73027baSmrg else 6586a73027baSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6587a73027baSmrg fi 6588a73027baSmrgdone 6589a73027baSmrg 6590a73027baSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 6591a73027baSmrgif test -n "$ac_eof"; then 6592a73027baSmrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 6593a73027baSmrg ac_eof=`expr $ac_eof + 1` 6594a73027baSmrgfi 6595a73027baSmrg 6596a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6597a73027baSmrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 6598a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6599a73027baSmrg_ACEOF 6600a73027baSmrgsed ' 6601a73027baSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 6602a73027baSmrgs/^/s,@/; s/!/@,|#_!!_#|/ 6603a73027baSmrg:n 6604a73027baSmrgt n 6605a73027baSmrgs/'"$ac_delim"'$/,g/; t 6606a73027baSmrgs/$/\\/; p 6607a73027baSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 6608a73027baSmrg' >>$CONFIG_STATUS <conf$$subs.sed 6609a73027baSmrgrm -f conf$$subs.sed 6610a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6611a73027baSmrgCEOF$ac_eof 6612a73027baSmrg_ACEOF 6613a73027baSmrg 6614a73027baSmrg 6615a73027baSmrgac_delim='%!_!# ' 6616a73027baSmrgfor ac_last_try in false false false false false :; do 6617a73027baSmrg cat >conf$$subs.sed <<_ACEOF 661872e81212SmrgTIGER_LAUNCHD_TRUE!$TIGER_LAUNCHD_TRUE$ac_delim 661972e81212SmrgTIGER_LAUNCHD_FALSE!$TIGER_LAUNCHD_FALSE$ac_delim 6620a73027baSmrgPKG_CONFIG!$PKG_CONFIG$ac_delim 6621a73027baSmrgXINIT_CFLAGS!$XINIT_CFLAGS$ac_delim 6622a73027baSmrgXINIT_LIBS!$XINIT_LIBS$ac_delim 6623a73027baSmrgMCOOKIE!$MCOOKIE$ac_delim 6624a73027baSmrgSTARTX_COOKIE_FLAGS!$STARTX_COOKIE_FLAGS$ac_delim 6625a73027baSmrgSHELL_CMD!$SHELL_CMD$ac_delim 6626a73027baSmrgARCHMANDEFS!$ARCHMANDEFS$ac_delim 6627a73027baSmrgXRDB!$XRDB$ac_delim 6628a73027baSmrgXMODMAP!$XMODMAP$ac_delim 6629a73027baSmrgTWM!$TWM$ac_delim 6630a73027baSmrgXCLOCK!$XCLOCK$ac_delim 6631a73027baSmrgXTERM!$XTERM$ac_delim 6632a73027baSmrgXSERVER!$XSERVER$ac_delim 6633a73027baSmrgXAUTH!$XAUTH$ac_delim 6634a73027baSmrgXINIT!$XINIT$ac_delim 6635a73027baSmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 6636a73027baSmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 6637a73027baSmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 6638a73027baSmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 6639a73027baSmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 6640a73027baSmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 6641a73027baSmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim 6642a73027baSmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 6643a73027baSmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 6644a73027baSmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 6645a73027baSmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 6646a73027baSmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 6647a73027baSmrgLIBOBJS!$LIBOBJS$ac_delim 6648a73027baSmrgLTLIBOBJS!$LTLIBOBJS$ac_delim 6649a73027baSmrg_ACEOF 6650a73027baSmrg 665172e81212Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then 6652a73027baSmrg break 6653a73027baSmrg elif $ac_last_try; then 6654a73027baSmrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 6655a73027baSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 6656a73027baSmrg { (exit 1); exit 1; }; } 6657a73027baSmrg else 6658a73027baSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6659a73027baSmrg fi 6660a73027baSmrgdone 6661a73027baSmrg 6662a73027baSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 6663a73027baSmrgif test -n "$ac_eof"; then 6664a73027baSmrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 6665a73027baSmrg ac_eof=`expr $ac_eof + 1` 6666a73027baSmrgfi 6667a73027baSmrg 6668a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6669a73027baSmrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 6670a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 6671a73027baSmrg_ACEOF 6672a73027baSmrgsed ' 6673a73027baSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 6674a73027baSmrgs/^/s,@/; s/!/@,|#_!!_#|/ 6675a73027baSmrg:n 6676a73027baSmrgt n 6677a73027baSmrgs/'"$ac_delim"'$/,g/; t 6678a73027baSmrgs/$/\\/; p 6679a73027baSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 6680a73027baSmrg' >>$CONFIG_STATUS <conf$$subs.sed 6681a73027baSmrgrm -f conf$$subs.sed 6682a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6683a73027baSmrg:end 6684a73027baSmrgs/|#_!!_#|//g 6685a73027baSmrgCEOF$ac_eof 6686a73027baSmrg_ACEOF 6687a73027baSmrg 6688a73027baSmrg 6689a73027baSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 6690a73027baSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6691a73027baSmrg# trailing colons and then remove the whole line if VPATH becomes empty 6692a73027baSmrg# (actually we leave an empty line to preserve line numbers). 6693a73027baSmrgif test "x$srcdir" = x.; then 6694a73027baSmrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6695a73027baSmrgs/:*\$(srcdir):*/:/ 6696a73027baSmrgs/:*\${srcdir}:*/:/ 6697a73027baSmrgs/:*@srcdir@:*/:/ 6698a73027baSmrgs/^\([^=]*=[ ]*\):*/\1/ 6699a73027baSmrgs/:*$// 6700a73027baSmrgs/^[^=]*=[ ]*$// 6701a73027baSmrg}' 6702a73027baSmrgfi 6703a73027baSmrg 6704a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 6705a73027baSmrgfi # test -n "$CONFIG_FILES" 6706a73027baSmrg 6707a73027baSmrg 6708a73027baSmrgfor ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 6709a73027baSmrgdo 6710a73027baSmrg case $ac_tag in 6711a73027baSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 6712a73027baSmrg esac 6713a73027baSmrg case $ac_mode$ac_tag in 6714a73027baSmrg :[FHL]*:*);; 6715a73027baSmrg :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 6716a73027baSmrgecho "$as_me: error: Invalid tag $ac_tag." >&2;} 6717a73027baSmrg { (exit 1); exit 1; }; };; 6718a73027baSmrg :[FH]-) ac_tag=-:-;; 6719a73027baSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6720a73027baSmrg esac 6721a73027baSmrg ac_save_IFS=$IFS 6722a73027baSmrg IFS=: 6723a73027baSmrg set x $ac_tag 6724a73027baSmrg IFS=$ac_save_IFS 6725a73027baSmrg shift 6726a73027baSmrg ac_file=$1 6727a73027baSmrg shift 6728a73027baSmrg 6729a73027baSmrg case $ac_mode in 6730a73027baSmrg :L) ac_source=$1;; 6731a73027baSmrg :[FH]) 6732a73027baSmrg ac_file_inputs= 6733a73027baSmrg for ac_f 6734a73027baSmrg do 6735a73027baSmrg case $ac_f in 6736a73027baSmrg -) ac_f="$tmp/stdin";; 6737a73027baSmrg *) # Look for the file first in the build tree, then in the source tree 6738a73027baSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 6739a73027baSmrg # because $ac_f cannot contain `:'. 6740a73027baSmrg test -f "$ac_f" || 6741a73027baSmrg case $ac_f in 6742a73027baSmrg [\\/$]*) false;; 6743a73027baSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6744a73027baSmrg esac || 6745a73027baSmrg { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6746a73027baSmrgecho "$as_me: error: cannot find input file: $ac_f" >&2;} 6747a73027baSmrg { (exit 1); exit 1; }; };; 6748a73027baSmrg esac 6749a73027baSmrg ac_file_inputs="$ac_file_inputs $ac_f" 6750a73027baSmrg done 6751a73027baSmrg 6752a73027baSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 6753a73027baSmrg # use $as_me), people would be surprised to read: 6754a73027baSmrg # /* config.h. Generated by config.status. */ 6755a73027baSmrg configure_input="Generated from "`IFS=: 6756a73027baSmrg echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 6757a73027baSmrg if test x"$ac_file" != x-; then 6758a73027baSmrg configure_input="$ac_file. $configure_input" 6759a73027baSmrg { echo "$as_me:$LINENO: creating $ac_file" >&5 6760a73027baSmrgecho "$as_me: creating $ac_file" >&6;} 6761a73027baSmrg fi 6762a73027baSmrg 6763a73027baSmrg case $ac_tag in 6764a73027baSmrg *:-:* | *:-) cat >"$tmp/stdin";; 6765a73027baSmrg esac 6766a73027baSmrg ;; 6767a73027baSmrg esac 6768a73027baSmrg 6769a73027baSmrg ac_dir=`$as_dirname -- "$ac_file" || 6770a73027baSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6771a73027baSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 6772a73027baSmrg X"$ac_file" : 'X\(//\)$' \| \ 6773a73027baSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6774a73027baSmrgecho X"$ac_file" | 6775a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6776a73027baSmrg s//\1/ 6777a73027baSmrg q 6778a73027baSmrg } 6779a73027baSmrg /^X\(\/\/\)[^/].*/{ 6780a73027baSmrg s//\1/ 6781a73027baSmrg q 6782a73027baSmrg } 6783a73027baSmrg /^X\(\/\/\)$/{ 6784a73027baSmrg s//\1/ 6785a73027baSmrg q 6786a73027baSmrg } 6787a73027baSmrg /^X\(\/\).*/{ 6788a73027baSmrg s//\1/ 6789a73027baSmrg q 6790a73027baSmrg } 6791a73027baSmrg s/.*/./; q'` 6792a73027baSmrg { as_dir="$ac_dir" 6793a73027baSmrg case $as_dir in #( 6794a73027baSmrg -*) as_dir=./$as_dir;; 6795a73027baSmrg esac 6796a73027baSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6797a73027baSmrg as_dirs= 6798a73027baSmrg while :; do 6799a73027baSmrg case $as_dir in #( 6800a73027baSmrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 6801a73027baSmrg *) as_qdir=$as_dir;; 6802a73027baSmrg esac 6803a73027baSmrg as_dirs="'$as_qdir' $as_dirs" 6804a73027baSmrg as_dir=`$as_dirname -- "$as_dir" || 6805a73027baSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6806a73027baSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 6807a73027baSmrg X"$as_dir" : 'X\(//\)$' \| \ 6808a73027baSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6809a73027baSmrgecho X"$as_dir" | 6810a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6811a73027baSmrg s//\1/ 6812a73027baSmrg q 6813a73027baSmrg } 6814a73027baSmrg /^X\(\/\/\)[^/].*/{ 6815a73027baSmrg s//\1/ 6816a73027baSmrg q 6817a73027baSmrg } 6818a73027baSmrg /^X\(\/\/\)$/{ 6819a73027baSmrg s//\1/ 6820a73027baSmrg q 6821a73027baSmrg } 6822a73027baSmrg /^X\(\/\).*/{ 6823a73027baSmrg s//\1/ 6824a73027baSmrg q 6825a73027baSmrg } 6826a73027baSmrg s/.*/./; q'` 6827a73027baSmrg test -d "$as_dir" && break 6828a73027baSmrg done 6829a73027baSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 6830a73027baSmrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6831a73027baSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 6832a73027baSmrg { (exit 1); exit 1; }; }; } 6833a73027baSmrg ac_builddir=. 6834a73027baSmrg 6835a73027baSmrgcase "$ac_dir" in 6836a73027baSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6837a73027baSmrg*) 6838a73027baSmrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6839a73027baSmrg # A ".." for each directory in $ac_dir_suffix. 6840a73027baSmrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 6841a73027baSmrg case $ac_top_builddir_sub in 6842a73027baSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6843a73027baSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6844a73027baSmrg esac ;; 6845a73027baSmrgesac 6846a73027baSmrgac_abs_top_builddir=$ac_pwd 6847a73027baSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 6848a73027baSmrg# for backward compatibility: 6849a73027baSmrgac_top_builddir=$ac_top_build_prefix 6850a73027baSmrg 6851a73027baSmrgcase $srcdir in 6852a73027baSmrg .) # We are building in place. 6853a73027baSmrg ac_srcdir=. 6854a73027baSmrg ac_top_srcdir=$ac_top_builddir_sub 6855a73027baSmrg ac_abs_top_srcdir=$ac_pwd ;; 6856a73027baSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 6857a73027baSmrg ac_srcdir=$srcdir$ac_dir_suffix; 6858a73027baSmrg ac_top_srcdir=$srcdir 6859a73027baSmrg ac_abs_top_srcdir=$srcdir ;; 6860a73027baSmrg *) # Relative name. 6861a73027baSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6862a73027baSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 6863a73027baSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6864a73027baSmrgesac 6865a73027baSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6866a73027baSmrg 6867a73027baSmrg 6868a73027baSmrg case $ac_mode in 6869a73027baSmrg :F) 6870a73027baSmrg # 6871a73027baSmrg # CONFIG_FILE 6872a73027baSmrg # 6873a73027baSmrg 6874a73027baSmrg case $INSTALL in 6875a73027baSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6876a73027baSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6877a73027baSmrg esac 6878a73027baSmrg ac_MKDIR_P=$MKDIR_P 6879a73027baSmrg case $MKDIR_P in 6880a73027baSmrg [\\/$]* | ?:[\\/]* ) ;; 6881a73027baSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6882a73027baSmrg esac 6883a73027baSmrg_ACEOF 6884a73027baSmrg 6885a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 6886a73027baSmrg# If the template does not know about datarootdir, expand it. 6887a73027baSmrg# FIXME: This hack should be removed a few years after 2.60. 6888a73027baSmrgac_datarootdir_hack=; ac_datarootdir_seen= 6889a73027baSmrg 6890a73027baSmrgcase `sed -n '/datarootdir/ { 6891a73027baSmrg p 6892a73027baSmrg q 6893a73027baSmrg} 6894a73027baSmrg/@datadir@/p 6895a73027baSmrg/@docdir@/p 6896a73027baSmrg/@infodir@/p 6897a73027baSmrg/@localedir@/p 6898a73027baSmrg/@mandir@/p 6899a73027baSmrg' $ac_file_inputs` in 6900a73027baSmrg*datarootdir*) ac_datarootdir_seen=yes;; 6901a73027baSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6902a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6903a73027baSmrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6904a73027baSmrg_ACEOF 6905a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6906a73027baSmrg ac_datarootdir_hack=' 6907a73027baSmrg s&@datadir@&$datadir&g 6908a73027baSmrg s&@docdir@&$docdir&g 6909a73027baSmrg s&@infodir@&$infodir&g 6910a73027baSmrg s&@localedir@&$localedir&g 6911a73027baSmrg s&@mandir@&$mandir&g 6912a73027baSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 6913a73027baSmrgesac 6914a73027baSmrg_ACEOF 6915a73027baSmrg 6916a73027baSmrg# Neutralize VPATH when `$srcdir' = `.'. 6917a73027baSmrg# Shell code in configure.ac might set extrasub. 6918a73027baSmrg# FIXME: do we really want to maintain this feature? 6919a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 6920a73027baSmrg sed "$ac_vpsub 6921a73027baSmrg$extrasub 6922a73027baSmrg_ACEOF 6923a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 6924a73027baSmrg:t 6925a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6926a73027baSmrgs&@configure_input@&$configure_input&;t t 6927a73027baSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 6928a73027baSmrgs&@srcdir@&$ac_srcdir&;t t 6929a73027baSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 6930a73027baSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 6931a73027baSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6932a73027baSmrgs&@builddir@&$ac_builddir&;t t 6933a73027baSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 6934a73027baSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6935a73027baSmrgs&@INSTALL@&$ac_INSTALL&;t t 6936a73027baSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 6937a73027baSmrg$ac_datarootdir_hack 6938a73027baSmrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 6939a73027baSmrg 6940a73027baSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6941a73027baSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6942a73027baSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6943a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6944a73027baSmrgwhich seems to be undefined. Please make sure it is defined." >&5 6945a73027baSmrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6946a73027baSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 6947a73027baSmrg 6948a73027baSmrg rm -f "$tmp/stdin" 6949a73027baSmrg case $ac_file in 6950a73027baSmrg -) cat "$tmp/out"; rm -f "$tmp/out";; 6951a73027baSmrg *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 6952a73027baSmrg esac 6953a73027baSmrg ;; 6954a73027baSmrg :H) 6955a73027baSmrg # 6956a73027baSmrg # CONFIG_HEADER 6957a73027baSmrg # 6958a73027baSmrg_ACEOF 6959a73027baSmrg 6960a73027baSmrg# Transform confdefs.h into a sed script `conftest.defines', that 6961a73027baSmrg# substitutes the proper values into config.h.in to produce config.h. 6962a73027baSmrgrm -f conftest.defines conftest.tail 6963a73027baSmrg# First, append a space to every undef/define line, to ease matching. 6964a73027baSmrgecho 's/$/ /' >conftest.defines 6965a73027baSmrg# Then, protect against being on the right side of a sed subst, or in 6966a73027baSmrg# an unquoted here document, in config.status. If some macros were 6967a73027baSmrg# called several times there might be several #defines for the same 6968a73027baSmrg# symbol, which is useless. But do not sort them, since the last 6969a73027baSmrg# AC_DEFINE must be honored. 6970a73027baSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6971a73027baSmrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 6972a73027baSmrg# NAME is the cpp macro being defined, VALUE is the value it is being given. 6973a73027baSmrg# PARAMS is the parameter list in the macro definition--in most cases, it's 6974a73027baSmrg# just an empty string. 6975a73027baSmrgac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 6976a73027baSmrgac_dB='\\)[ (].*,\\1define\\2' 6977a73027baSmrgac_dC=' ' 6978a73027baSmrgac_dD=' ,' 6979a73027baSmrg 6980a73027baSmrguniq confdefs.h | 6981a73027baSmrg sed -n ' 6982a73027baSmrg t rset 6983a73027baSmrg :rset 6984a73027baSmrg s/^[ ]*#[ ]*define[ ][ ]*// 6985a73027baSmrg t ok 6986a73027baSmrg d 6987a73027baSmrg :ok 6988a73027baSmrg s/[\\&,]/\\&/g 6989a73027baSmrg s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 6990a73027baSmrg s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 6991a73027baSmrg ' >>conftest.defines 6992a73027baSmrg 6993a73027baSmrg# Remove the space that was appended to ease matching. 6994a73027baSmrg# Then replace #undef with comments. This is necessary, for 6995a73027baSmrg# example, in the case of _POSIX_SOURCE, which is predefined and required 6996a73027baSmrg# on some systems where configure will not decide to define it. 6997a73027baSmrg# (The regexp can be short, since the line contains either #define or #undef.) 6998a73027baSmrgecho 's/ $// 6999a73027baSmrgs,^[ #]*u.*,/* & */,' >>conftest.defines 7000a73027baSmrg 7001a73027baSmrg# Break up conftest.defines: 7002a73027baSmrgac_max_sed_lines=50 7003a73027baSmrg 7004a73027baSmrg# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 7005a73027baSmrg# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 7006a73027baSmrg# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 7007a73027baSmrg# et cetera. 7008a73027baSmrgac_in='$ac_file_inputs' 7009a73027baSmrgac_out='"$tmp/out1"' 7010a73027baSmrgac_nxt='"$tmp/out2"' 7011a73027baSmrg 7012a73027baSmrgwhile : 7013a73027baSmrgdo 7014a73027baSmrg # Write a here document: 7015a73027baSmrg cat >>$CONFIG_STATUS <<_ACEOF 7016a73027baSmrg # First, check the format of the line: 7017a73027baSmrg cat >"\$tmp/defines.sed" <<\\CEOF 7018a73027baSmrg/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 7019a73027baSmrg/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 7020a73027baSmrgb 7021a73027baSmrg:def 7022a73027baSmrg_ACEOF 7023a73027baSmrg sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 7024a73027baSmrg echo 'CEOF 7025a73027baSmrg sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 7026a73027baSmrg ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 7027a73027baSmrg sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 7028a73027baSmrg grep . conftest.tail >/dev/null || break 7029a73027baSmrg rm -f conftest.defines 7030a73027baSmrg mv conftest.tail conftest.defines 7031a73027baSmrgdone 7032a73027baSmrgrm -f conftest.defines conftest.tail 7033a73027baSmrg 7034a73027baSmrgecho "ac_result=$ac_in" >>$CONFIG_STATUS 7035a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 7036a73027baSmrg if test x"$ac_file" != x-; then 7037a73027baSmrg echo "/* $configure_input */" >"$tmp/config.h" 7038a73027baSmrg cat "$ac_result" >>"$tmp/config.h" 7039a73027baSmrg if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 7040a73027baSmrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7041a73027baSmrgecho "$as_me: $ac_file is unchanged" >&6;} 7042a73027baSmrg else 7043a73027baSmrg rm -f $ac_file 7044a73027baSmrg mv "$tmp/config.h" $ac_file 7045a73027baSmrg fi 7046a73027baSmrg else 7047a73027baSmrg echo "/* $configure_input */" 7048a73027baSmrg cat "$ac_result" 7049a73027baSmrg fi 7050a73027baSmrg rm -f "$tmp/out12" 7051a73027baSmrg# Compute $ac_file's index in $config_headers. 7052a73027baSmrg_am_stamp_count=1 7053a73027baSmrgfor _am_header in $config_headers :; do 7054a73027baSmrg case $_am_header in 705572e81212Smrg $ac_file | $ac_file:* ) 7056a73027baSmrg break ;; 7057a73027baSmrg * ) 7058a73027baSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7059a73027baSmrg esac 7060a73027baSmrgdone 706172e81212Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file || 706272e81212Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 706372e81212Smrg X$ac_file : 'X\(//\)[^/]' \| \ 706472e81212Smrg X$ac_file : 'X\(//\)$' \| \ 706572e81212Smrg X$ac_file : 'X\(/\)' \| . 2>/dev/null || 706672e81212Smrgecho X$ac_file | 7067a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7068a73027baSmrg s//\1/ 7069a73027baSmrg q 7070a73027baSmrg } 7071a73027baSmrg /^X\(\/\/\)[^/].*/{ 7072a73027baSmrg s//\1/ 7073a73027baSmrg q 7074a73027baSmrg } 7075a73027baSmrg /^X\(\/\/\)$/{ 7076a73027baSmrg s//\1/ 7077a73027baSmrg q 7078a73027baSmrg } 7079a73027baSmrg /^X\(\/\).*/{ 7080a73027baSmrg s//\1/ 7081a73027baSmrg q 7082a73027baSmrg } 7083a73027baSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 7084a73027baSmrg ;; 7085a73027baSmrg 7086a73027baSmrg :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 7087a73027baSmrgecho "$as_me: executing $ac_file commands" >&6;} 7088a73027baSmrg ;; 7089a73027baSmrg esac 7090a73027baSmrg 7091a73027baSmrg 7092a73027baSmrg case $ac_file$ac_mode in 7093a73027baSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 7094a73027baSmrg # Strip MF so we end up with the name of the file. 7095a73027baSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 7096a73027baSmrg # Check whether this is an Automake generated Makefile or not. 7097a73027baSmrg # We used to match only the files named `Makefile.in', but 7098a73027baSmrg # some people rename them; so instead we look at the file content. 7099a73027baSmrg # Grep'ing the first line is not enough: some people post-process 7100a73027baSmrg # each Makefile.in and add a new line on top of each file to say so. 7101a73027baSmrg # Grep'ing the whole file is not good either: AIX grep has a line 7102a73027baSmrg # limit of 2048, but all sed's we know have understand at least 4000. 710372e81212Smrg if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 7104a73027baSmrg dirpart=`$as_dirname -- "$mf" || 7105a73027baSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7106a73027baSmrg X"$mf" : 'X\(//\)[^/]' \| \ 7107a73027baSmrg X"$mf" : 'X\(//\)$' \| \ 7108a73027baSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7109a73027baSmrgecho X"$mf" | 7110a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7111a73027baSmrg s//\1/ 7112a73027baSmrg q 7113a73027baSmrg } 7114a73027baSmrg /^X\(\/\/\)[^/].*/{ 7115a73027baSmrg s//\1/ 7116a73027baSmrg q 7117a73027baSmrg } 7118a73027baSmrg /^X\(\/\/\)$/{ 7119a73027baSmrg s//\1/ 7120a73027baSmrg q 7121a73027baSmrg } 7122a73027baSmrg /^X\(\/\).*/{ 7123a73027baSmrg s//\1/ 7124a73027baSmrg q 7125a73027baSmrg } 7126a73027baSmrg s/.*/./; q'` 7127a73027baSmrg else 7128a73027baSmrg continue 7129a73027baSmrg fi 7130a73027baSmrg # Extract the definition of DEPDIR, am__include, and am__quote 7131a73027baSmrg # from the Makefile without running `make'. 7132a73027baSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7133a73027baSmrg test -z "$DEPDIR" && continue 7134a73027baSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 7135a73027baSmrg test -z "am__include" && continue 7136a73027baSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7137a73027baSmrg # When using ansi2knr, U may be empty or an underscore; expand it 7138a73027baSmrg U=`sed -n 's/^U = //p' < "$mf"` 7139a73027baSmrg # Find all dependency output files, they are included files with 7140a73027baSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 7141a73027baSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 7142a73027baSmrg # expansion. 7143a73027baSmrg for file in `sed -n " 7144a73027baSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7145a73027baSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7146a73027baSmrg # Make sure the directory exists. 7147a73027baSmrg test -f "$dirpart/$file" && continue 7148a73027baSmrg fdir=`$as_dirname -- "$file" || 7149a73027baSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7150a73027baSmrg X"$file" : 'X\(//\)[^/]' \| \ 7151a73027baSmrg X"$file" : 'X\(//\)$' \| \ 7152a73027baSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 7153a73027baSmrgecho X"$file" | 7154a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7155a73027baSmrg s//\1/ 7156a73027baSmrg q 7157a73027baSmrg } 7158a73027baSmrg /^X\(\/\/\)[^/].*/{ 7159a73027baSmrg s//\1/ 7160a73027baSmrg q 7161a73027baSmrg } 7162a73027baSmrg /^X\(\/\/\)$/{ 7163a73027baSmrg s//\1/ 7164a73027baSmrg q 7165a73027baSmrg } 7166a73027baSmrg /^X\(\/\).*/{ 7167a73027baSmrg s//\1/ 7168a73027baSmrg q 7169a73027baSmrg } 7170a73027baSmrg s/.*/./; q'` 7171a73027baSmrg { as_dir=$dirpart/$fdir 7172a73027baSmrg case $as_dir in #( 7173a73027baSmrg -*) as_dir=./$as_dir;; 7174a73027baSmrg esac 7175a73027baSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7176a73027baSmrg as_dirs= 7177a73027baSmrg while :; do 7178a73027baSmrg case $as_dir in #( 7179a73027baSmrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 7180a73027baSmrg *) as_qdir=$as_dir;; 7181a73027baSmrg esac 7182a73027baSmrg as_dirs="'$as_qdir' $as_dirs" 7183a73027baSmrg as_dir=`$as_dirname -- "$as_dir" || 7184a73027baSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7185a73027baSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 7186a73027baSmrg X"$as_dir" : 'X\(//\)$' \| \ 7187a73027baSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7188a73027baSmrgecho X"$as_dir" | 7189a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7190a73027baSmrg s//\1/ 7191a73027baSmrg q 7192a73027baSmrg } 7193a73027baSmrg /^X\(\/\/\)[^/].*/{ 7194a73027baSmrg s//\1/ 7195a73027baSmrg q 7196a73027baSmrg } 7197a73027baSmrg /^X\(\/\/\)$/{ 7198a73027baSmrg s//\1/ 7199a73027baSmrg q 7200a73027baSmrg } 7201a73027baSmrg /^X\(\/\).*/{ 7202a73027baSmrg s//\1/ 7203a73027baSmrg q 7204a73027baSmrg } 7205a73027baSmrg s/.*/./; q'` 7206a73027baSmrg test -d "$as_dir" && break 7207a73027baSmrg done 7208a73027baSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 7209a73027baSmrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 7210a73027baSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 7211a73027baSmrg { (exit 1); exit 1; }; }; } 7212a73027baSmrg # echo "creating $dirpart/$file" 7213a73027baSmrg echo '# dummy' > "$dirpart/$file" 7214a73027baSmrg done 7215a73027baSmrgdone 7216a73027baSmrg ;; 7217a73027baSmrg 7218a73027baSmrg esac 7219a73027baSmrgdone # for ac_tag 7220a73027baSmrg 7221a73027baSmrg 7222a73027baSmrg{ (exit 0); exit 0; } 7223a73027baSmrg_ACEOF 7224a73027baSmrgchmod +x $CONFIG_STATUS 7225a73027baSmrgac_clean_files=$ac_clean_files_save 7226a73027baSmrg 7227a73027baSmrg 7228a73027baSmrg# configure is writing to config.log, and then calls config.status. 7229a73027baSmrg# config.status does its own redirection, appending to config.log. 7230a73027baSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 7231a73027baSmrg# by configure, so config.status won't be able to write to it; its 7232a73027baSmrg# output is simply discarded. So we exec the FD to /dev/null, 7233a73027baSmrg# effectively closing config.log, so it can be properly (re)opened and 7234a73027baSmrg# appended to by config.status. When coming back to configure, we 7235a73027baSmrg# need to make the FD available again. 7236a73027baSmrgif test "$no_create" != yes; then 7237a73027baSmrg ac_cs_success=: 7238a73027baSmrg ac_config_status_args= 7239a73027baSmrg test "$silent" = yes && 7240a73027baSmrg ac_config_status_args="$ac_config_status_args --quiet" 7241a73027baSmrg exec 5>/dev/null 7242a73027baSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7243a73027baSmrg exec 5>>config.log 7244a73027baSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7245a73027baSmrg # would make configure fail if this is the last instruction. 7246a73027baSmrg $ac_cs_success || { (exit 1); exit 1; } 7247a73027baSmrgfi 7248a73027baSmrg 7249a73027baSmrgac_config_files="$ac_config_files privileged_startx/Makefile" 7250a73027baSmrg 7251a73027baSmrgcat >confcache <<\_ACEOF 7252a73027baSmrg# This file is a shell script that caches the results of configure 7253a73027baSmrg# tests run on this system so they can be shared between configure 7254a73027baSmrg# scripts and configure runs, see configure's option --config-cache. 7255a73027baSmrg# It is not useful on other systems. If it contains results you don't 7256a73027baSmrg# want to keep, you may remove or edit it. 7257a73027baSmrg# 7258a73027baSmrg# config.status only pays attention to the cache file if you give it 7259a73027baSmrg# the --recheck option to rerun configure. 7260a73027baSmrg# 7261a73027baSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 7262a73027baSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 7263a73027baSmrg# following values. 7264a73027baSmrg 7265a73027baSmrg_ACEOF 7266a73027baSmrg 7267a73027baSmrg# The following way of writing the cache mishandles newlines in values, 7268a73027baSmrg# but we know of no workaround that is simple, portable, and efficient. 7269a73027baSmrg# So, we kill variables containing newlines. 7270a73027baSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 7271a73027baSmrg# and sets the high bit in the cache file unless we assign to the vars. 7272a73027baSmrg( 7273a73027baSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7274a73027baSmrg eval ac_val=\$$ac_var 7275a73027baSmrg case $ac_val in #( 7276a73027baSmrg *${as_nl}*) 7277a73027baSmrg case $ac_var in #( 7278a73027baSmrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 7279a73027baSmrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 7280a73027baSmrg esac 7281a73027baSmrg case $ac_var in #( 7282a73027baSmrg _ | IFS | as_nl) ;; #( 7283a73027baSmrg *) $as_unset $ac_var ;; 7284a73027baSmrg esac ;; 7285a73027baSmrg esac 7286a73027baSmrg done 7287a73027baSmrg 7288a73027baSmrg (set) 2>&1 | 7289a73027baSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 7290a73027baSmrg *${as_nl}ac_space=\ *) 7291a73027baSmrg # `set' does not quote correctly, so add quotes (double-quote 7292a73027baSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 7293a73027baSmrg sed -n \ 7294a73027baSmrg "s/'/'\\\\''/g; 7295a73027baSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7296a73027baSmrg ;; #( 7297a73027baSmrg *) 7298a73027baSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 7299a73027baSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7300a73027baSmrg ;; 7301a73027baSmrg esac | 7302a73027baSmrg sort 7303a73027baSmrg) | 7304a73027baSmrg sed ' 7305a73027baSmrg /^ac_cv_env_/b end 7306a73027baSmrg t clear 7307a73027baSmrg :clear 7308a73027baSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7309a73027baSmrg t end 7310a73027baSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7311a73027baSmrg :end' >>confcache 7312a73027baSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7313a73027baSmrg if test -w "$cache_file"; then 7314a73027baSmrg test "x$cache_file" != "x/dev/null" && 7315a73027baSmrg { echo "$as_me:$LINENO: updating cache $cache_file" >&5 7316a73027baSmrgecho "$as_me: updating cache $cache_file" >&6;} 7317a73027baSmrg cat confcache >$cache_file 7318a73027baSmrg else 7319a73027baSmrg { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 7320a73027baSmrgecho "$as_me: not updating unwritable cache $cache_file" >&6;} 7321a73027baSmrg fi 7322a73027baSmrgfi 7323a73027baSmrgrm -f confcache 7324a73027baSmrg 7325a73027baSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 7326a73027baSmrg# Let make expand exec_prefix. 7327a73027baSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7328a73027baSmrg 7329a73027baSmrgDEFS=-DHAVE_CONFIG_H 7330a73027baSmrg 7331a73027baSmrgac_libobjs= 7332a73027baSmrgac_ltlibobjs= 7333a73027baSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7334a73027baSmrg # 1. Remove the extension, and $U if already installed. 7335a73027baSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7336a73027baSmrg ac_i=`echo "$ac_i" | sed "$ac_script"` 7337a73027baSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7338a73027baSmrg # will be set to the directory where LIBOBJS objects are built. 7339a73027baSmrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7340a73027baSmrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7341a73027baSmrgdone 7342a73027baSmrgLIBOBJS=$ac_libobjs 7343a73027baSmrg 7344a73027baSmrgLTLIBOBJS=$ac_ltlibobjs 7345a73027baSmrg 7346a73027baSmrg 7347a73027baSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 7348a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 7349a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 7350a73027baSmrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 7351a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 7352a73027baSmrg { (exit 1); exit 1; }; } 7353a73027baSmrgfi 7354a73027baSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7355a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 7356a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 7357a73027baSmrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 7358a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 7359a73027baSmrg { (exit 1); exit 1; }; } 7360a73027baSmrgfi 7361a73027baSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7362a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 7363a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 7364a73027baSmrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 7365a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 7366a73027baSmrg { (exit 1); exit 1; }; } 7367a73027baSmrgfi 7368a73027baSmrgif test -z "${LAUNCHD_TRUE}" && test -z "${LAUNCHD_FALSE}"; then 7369a73027baSmrg { { echo "$as_me:$LINENO: error: conditional \"LAUNCHD\" was never defined. 7370a73027baSmrgUsually this means the macro was only invoked conditionally." >&5 7371a73027baSmrgecho "$as_me: error: conditional \"LAUNCHD\" was never defined. 7372a73027baSmrgUsually this means the macro was only invoked conditionally." >&2;} 7373a73027baSmrg { (exit 1); exit 1; }; } 7374a73027baSmrgfi 737572e81212Smrgif test -z "${TIGER_LAUNCHD_TRUE}" && test -z "${TIGER_LAUNCHD_FALSE}"; then 737672e81212Smrg { { echo "$as_me:$LINENO: error: conditional \"TIGER_LAUNCHD\" was never defined. 737772e81212SmrgUsually this means the macro was only invoked conditionally." >&5 737872e81212Smrgecho "$as_me: error: conditional \"TIGER_LAUNCHD\" was never defined. 737972e81212SmrgUsually this means the macro was only invoked conditionally." >&2;} 738072e81212Smrg { (exit 1); exit 1; }; } 738172e81212Smrgfi 7382a73027baSmrg 7383a73027baSmrg: ${CONFIG_STATUS=./config.status} 7384a73027baSmrgac_clean_files_save=$ac_clean_files 7385a73027baSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 7386a73027baSmrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 7387a73027baSmrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 7388a73027baSmrgcat >$CONFIG_STATUS <<_ACEOF 7389a73027baSmrg#! $SHELL 7390a73027baSmrg# Generated by $as_me. 7391a73027baSmrg# Run this file to recreate the current configuration. 7392a73027baSmrg# Compiler output produced by configure, useful for debugging 7393a73027baSmrg# configure, is in config.log if it exists. 7394a73027baSmrg 7395a73027baSmrgdebug=false 7396a73027baSmrgac_cs_recheck=false 7397a73027baSmrgac_cs_silent=false 7398a73027baSmrgSHELL=\${CONFIG_SHELL-$SHELL} 7399a73027baSmrg_ACEOF 7400a73027baSmrg 7401a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 7402a73027baSmrg## --------------------- ## 7403a73027baSmrg## M4sh Initialization. ## 7404a73027baSmrg## --------------------- ## 7405a73027baSmrg 7406a73027baSmrg# Be more Bourne compatible 7407a73027baSmrgDUALCASE=1; export DUALCASE # for MKS sh 7408a73027baSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7409a73027baSmrg emulate sh 7410a73027baSmrg NULLCMD=: 7411a73027baSmrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 7412a73027baSmrg # is contrary to our usage. Disable this feature. 7413a73027baSmrg alias -g '${1+"$@"}'='"$@"' 7414a73027baSmrg setopt NO_GLOB_SUBST 7415a73027baSmrgelse 7416a73027baSmrg case `(set -o) 2>/dev/null` in 7417a73027baSmrg *posix*) set -o posix ;; 7418a73027baSmrgesac 7419a73027baSmrg 7420a73027baSmrgfi 7421a73027baSmrg 7422a73027baSmrg 7423a73027baSmrg 7424a73027baSmrg 7425a73027baSmrg# PATH needs CR 7426a73027baSmrg# Avoid depending upon Character Ranges. 7427a73027baSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 7428a73027baSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7429a73027baSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 7430a73027baSmrgas_cr_digits='0123456789' 7431a73027baSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 7432a73027baSmrg 7433a73027baSmrg# The user is always right. 7434a73027baSmrgif test "${PATH_SEPARATOR+set}" != set; then 7435a73027baSmrg echo "#! /bin/sh" >conf$$.sh 7436a73027baSmrg echo "exit 0" >>conf$$.sh 7437a73027baSmrg chmod +x conf$$.sh 7438a73027baSmrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 7439a73027baSmrg PATH_SEPARATOR=';' 7440a73027baSmrg else 7441a73027baSmrg PATH_SEPARATOR=: 7442a73027baSmrg fi 7443a73027baSmrg rm -f conf$$.sh 7444a73027baSmrgfi 7445a73027baSmrg 7446a73027baSmrg# Support unset when possible. 7447a73027baSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7448a73027baSmrg as_unset=unset 7449a73027baSmrgelse 7450a73027baSmrg as_unset=false 7451a73027baSmrgfi 7452a73027baSmrg 7453a73027baSmrg 7454a73027baSmrg# IFS 7455a73027baSmrg# We need space, tab and new line, in precisely that order. Quoting is 7456a73027baSmrg# there to prevent editors from complaining about space-tab. 7457a73027baSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 7458a73027baSmrg# splitting by setting IFS to empty value.) 7459a73027baSmrgas_nl=' 7460a73027baSmrg' 7461a73027baSmrgIFS=" "" $as_nl" 7462a73027baSmrg 7463a73027baSmrg# Find who we are. Look in the path if we contain no directory separator. 7464a73027baSmrgcase $0 in 7465a73027baSmrg *[\\/]* ) as_myself=$0 ;; 7466a73027baSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7467a73027baSmrgfor as_dir in $PATH 7468a73027baSmrgdo 7469a73027baSmrg IFS=$as_save_IFS 7470a73027baSmrg test -z "$as_dir" && as_dir=. 7471a73027baSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7472a73027baSmrgdone 7473a73027baSmrgIFS=$as_save_IFS 7474a73027baSmrg 7475a73027baSmrg ;; 7476a73027baSmrgesac 7477a73027baSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 7478a73027baSmrg# in which case we are not to be found in the path. 7479a73027baSmrgif test "x$as_myself" = x; then 7480a73027baSmrg as_myself=$0 7481a73027baSmrgfi 7482a73027baSmrgif test ! -f "$as_myself"; then 7483a73027baSmrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7484a73027baSmrg { (exit 1); exit 1; } 7485a73027baSmrgfi 7486a73027baSmrg 7487a73027baSmrg# Work around bugs in pre-3.0 UWIN ksh. 7488a73027baSmrgfor as_var in ENV MAIL MAILPATH 7489a73027baSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7490a73027baSmrgdone 7491a73027baSmrgPS1='$ ' 7492a73027baSmrgPS2='> ' 7493a73027baSmrgPS4='+ ' 7494a73027baSmrg 7495a73027baSmrg# NLS nuisances. 7496a73027baSmrgfor as_var in \ 7497a73027baSmrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7498a73027baSmrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7499a73027baSmrg LC_TELEPHONE LC_TIME 7500a73027baSmrgdo 7501a73027baSmrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7502a73027baSmrg eval $as_var=C; export $as_var 7503a73027baSmrg else 7504a73027baSmrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7505a73027baSmrg fi 7506a73027baSmrgdone 7507a73027baSmrg 7508a73027baSmrg# Required to use basename. 7509a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 7510a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 7511a73027baSmrg as_expr=expr 7512a73027baSmrgelse 7513a73027baSmrg as_expr=false 7514a73027baSmrgfi 7515a73027baSmrg 7516a73027baSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7517a73027baSmrg as_basename=basename 7518a73027baSmrgelse 7519a73027baSmrg as_basename=false 7520a73027baSmrgfi 7521a73027baSmrg 7522a73027baSmrg 7523a73027baSmrg# Name of the executable. 7524a73027baSmrgas_me=`$as_basename -- "$0" || 7525a73027baSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7526a73027baSmrg X"$0" : 'X\(//\)$' \| \ 7527a73027baSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 7528a73027baSmrgecho X/"$0" | 7529a73027baSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 7530a73027baSmrg s//\1/ 7531a73027baSmrg q 7532a73027baSmrg } 7533a73027baSmrg /^X\/\(\/\/\)$/{ 7534a73027baSmrg s//\1/ 7535a73027baSmrg q 7536a73027baSmrg } 7537a73027baSmrg /^X\/\(\/\).*/{ 7538a73027baSmrg s//\1/ 7539a73027baSmrg q 7540a73027baSmrg } 7541a73027baSmrg s/.*/./; q'` 7542a73027baSmrg 7543a73027baSmrg# CDPATH. 7544a73027baSmrg$as_unset CDPATH 7545a73027baSmrg 7546a73027baSmrg 7547a73027baSmrg 7548a73027baSmrg as_lineno_1=$LINENO 7549a73027baSmrg as_lineno_2=$LINENO 7550a73027baSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 7551a73027baSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7552a73027baSmrg 7553a73027baSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7554a73027baSmrg # uniformly replaced by the line number. The first 'sed' inserts a 7555a73027baSmrg # line-number line after each line using $LINENO; the second 'sed' 7556a73027baSmrg # does the real work. The second script uses 'N' to pair each 7557a73027baSmrg # line-number line with the line containing $LINENO, and appends 7558a73027baSmrg # trailing '-' during substitution so that $LINENO is not a special 7559a73027baSmrg # case at line end. 7560a73027baSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7561a73027baSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 7562a73027baSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 7563a73027baSmrg sed -n ' 7564a73027baSmrg p 7565a73027baSmrg /[$]LINENO/= 7566a73027baSmrg ' <$as_myself | 7567a73027baSmrg sed ' 7568a73027baSmrg s/[$]LINENO.*/&-/ 7569a73027baSmrg t lineno 7570a73027baSmrg b 7571a73027baSmrg :lineno 7572a73027baSmrg N 7573a73027baSmrg :loop 7574a73027baSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7575a73027baSmrg t loop 7576a73027baSmrg s/-\n.*// 7577a73027baSmrg ' >$as_me.lineno && 7578a73027baSmrg chmod +x "$as_me.lineno" || 7579a73027baSmrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7580a73027baSmrg { (exit 1); exit 1; }; } 7581a73027baSmrg 7582a73027baSmrg # Don't try to exec as it changes $[0], causing all sort of problems 7583a73027baSmrg # (the dirname of $[0] is not the place where we might find the 7584a73027baSmrg # original and so on. Autoconf is especially sensitive to this). 7585a73027baSmrg . "./$as_me.lineno" 7586a73027baSmrg # Exit status is that of the last command. 7587a73027baSmrg exit 7588a73027baSmrg} 7589a73027baSmrg 7590a73027baSmrg 7591a73027baSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7592a73027baSmrg as_dirname=dirname 7593a73027baSmrgelse 7594a73027baSmrg as_dirname=false 7595a73027baSmrgfi 7596a73027baSmrg 7597a73027baSmrgECHO_C= ECHO_N= ECHO_T= 7598a73027baSmrgcase `echo -n x` in 7599a73027baSmrg-n*) 7600a73027baSmrg case `echo 'x\c'` in 7601a73027baSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7602a73027baSmrg *) ECHO_C='\c';; 7603a73027baSmrg esac;; 7604a73027baSmrg*) 7605a73027baSmrg ECHO_N='-n';; 7606a73027baSmrgesac 7607a73027baSmrg 7608a73027baSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 7609a73027baSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 7610a73027baSmrg as_expr=expr 7611a73027baSmrgelse 7612a73027baSmrg as_expr=false 7613a73027baSmrgfi 7614a73027baSmrg 7615a73027baSmrgrm -f conf$$ conf$$.exe conf$$.file 7616a73027baSmrgif test -d conf$$.dir; then 7617a73027baSmrg rm -f conf$$.dir/conf$$.file 7618a73027baSmrgelse 7619a73027baSmrg rm -f conf$$.dir 7620a73027baSmrg mkdir conf$$.dir 7621a73027baSmrgfi 7622a73027baSmrgecho >conf$$.file 7623a73027baSmrgif ln -s conf$$.file conf$$ 2>/dev/null; then 7624a73027baSmrg as_ln_s='ln -s' 7625a73027baSmrg # ... but there are two gotchas: 7626a73027baSmrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7627a73027baSmrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7628a73027baSmrg # In both cases, we have to default to `cp -p'. 7629a73027baSmrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7630a73027baSmrg as_ln_s='cp -p' 7631a73027baSmrgelif ln conf$$.file conf$$ 2>/dev/null; then 7632a73027baSmrg as_ln_s=ln 7633a73027baSmrgelse 7634a73027baSmrg as_ln_s='cp -p' 7635a73027baSmrgfi 7636a73027baSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7637a73027baSmrgrmdir conf$$.dir 2>/dev/null 7638a73027baSmrg 7639a73027baSmrgif mkdir -p . 2>/dev/null; then 7640a73027baSmrg as_mkdir_p=: 7641a73027baSmrgelse 7642a73027baSmrg test -d ./-p && rmdir ./-p 7643a73027baSmrg as_mkdir_p=false 7644a73027baSmrgfi 7645a73027baSmrg 7646a73027baSmrgif test -x / >/dev/null 2>&1; then 7647a73027baSmrg as_test_x='test -x' 7648a73027baSmrgelse 7649a73027baSmrg if ls -dL / >/dev/null 2>&1; then 7650a73027baSmrg as_ls_L_option=L 7651a73027baSmrg else 7652a73027baSmrg as_ls_L_option= 7653a73027baSmrg fi 7654a73027baSmrg as_test_x=' 7655a73027baSmrg eval sh -c '\'' 7656a73027baSmrg if test -d "$1"; then 7657a73027baSmrg test -d "$1/."; 7658a73027baSmrg else 7659a73027baSmrg case $1 in 7660a73027baSmrg -*)set "./$1";; 7661a73027baSmrg esac; 7662a73027baSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 7663a73027baSmrg ???[sx]*):;;*)false;;esac;fi 7664a73027baSmrg '\'' sh 7665a73027baSmrg ' 7666a73027baSmrgfi 7667a73027baSmrgas_executable_p=$as_test_x 7668a73027baSmrg 7669a73027baSmrg# Sed expression to map a string onto a valid CPP name. 7670a73027baSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7671a73027baSmrg 7672a73027baSmrg# Sed expression to map a string onto a valid variable name. 7673a73027baSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7674a73027baSmrg 7675a73027baSmrg 7676a73027baSmrgexec 6>&1 7677a73027baSmrg 7678a73027baSmrg# Save the log message, to keep $[0] and so on meaningful, and to 7679a73027baSmrg# report actual input values of CONFIG_FILES etc. instead of their 7680a73027baSmrg# values after options handling. 7681a73027baSmrgac_log=" 768272e81212SmrgThis file was extended by xinit $as_me 1.1.1, which was 7683a73027baSmrggenerated by GNU Autoconf 2.61. Invocation command line was 7684a73027baSmrg 7685a73027baSmrg CONFIG_FILES = $CONFIG_FILES 7686a73027baSmrg CONFIG_HEADERS = $CONFIG_HEADERS 7687a73027baSmrg CONFIG_LINKS = $CONFIG_LINKS 7688a73027baSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 7689a73027baSmrg $ $0 $@ 7690a73027baSmrg 7691a73027baSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 7692a73027baSmrg" 7693a73027baSmrg 7694a73027baSmrg_ACEOF 7695a73027baSmrg 7696a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 7697a73027baSmrg# Files that config.status was made for. 7698a73027baSmrgconfig_files="$ac_config_files" 7699a73027baSmrgconfig_headers="$ac_config_headers" 7700a73027baSmrgconfig_commands="$ac_config_commands" 7701a73027baSmrg 7702a73027baSmrg_ACEOF 7703a73027baSmrg 7704a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 7705a73027baSmrgac_cs_usage="\ 7706a73027baSmrg\`$as_me' instantiates files from templates according to the 7707a73027baSmrgcurrent configuration. 7708a73027baSmrg 7709a73027baSmrgUsage: $0 [OPTIONS] [FILE]... 7710a73027baSmrg 7711a73027baSmrg -h, --help print this help, then exit 7712a73027baSmrg -V, --version print version number and configuration settings, then exit 7713a73027baSmrg -q, --quiet do not print progress messages 7714a73027baSmrg -d, --debug don't remove temporary files 7715a73027baSmrg --recheck update $as_me by reconfiguring in the same conditions 7716a73027baSmrg --file=FILE[:TEMPLATE] 7717a73027baSmrg instantiate the configuration file FILE 7718a73027baSmrg --header=FILE[:TEMPLATE] 7719a73027baSmrg instantiate the configuration header FILE 7720a73027baSmrg 7721a73027baSmrgConfiguration files: 7722a73027baSmrg$config_files 7723a73027baSmrg 7724a73027baSmrgConfiguration headers: 7725a73027baSmrg$config_headers 7726a73027baSmrg 7727a73027baSmrgConfiguration commands: 7728a73027baSmrg$config_commands 7729a73027baSmrg 7730a73027baSmrgReport bugs to <bug-autoconf@gnu.org>." 7731a73027baSmrg 7732a73027baSmrg_ACEOF 7733a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 7734a73027baSmrgac_cs_version="\\ 773572e81212Smrgxinit config.status 1.1.1 7736a73027baSmrgconfigured by $0, generated by GNU Autoconf 2.61, 7737a73027baSmrg with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 7738a73027baSmrg 7739a73027baSmrgCopyright (C) 2006 Free Software Foundation, Inc. 7740a73027baSmrgThis config.status script is free software; the Free Software Foundation 7741a73027baSmrggives unlimited permission to copy, distribute and modify it." 7742a73027baSmrg 7743a73027baSmrgac_pwd='$ac_pwd' 7744a73027baSmrgsrcdir='$srcdir' 7745a73027baSmrgINSTALL='$INSTALL' 7746a73027baSmrgMKDIR_P='$MKDIR_P' 7747a73027baSmrg_ACEOF 7748a73027baSmrg 7749a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 7750a73027baSmrg# If no file are specified by the user, then we need to provide default 7751a73027baSmrg# value. By we need to know if files were specified by the user. 7752a73027baSmrgac_need_defaults=: 7753a73027baSmrgwhile test $# != 0 7754a73027baSmrgdo 7755a73027baSmrg case $1 in 7756a73027baSmrg --*=*) 7757a73027baSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 7758a73027baSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7759a73027baSmrg ac_shift=: 7760a73027baSmrg ;; 7761a73027baSmrg *) 7762a73027baSmrg ac_option=$1 7763a73027baSmrg ac_optarg=$2 7764a73027baSmrg ac_shift=shift 7765a73027baSmrg ;; 7766a73027baSmrg esac 7767a73027baSmrg 7768a73027baSmrg case $ac_option in 7769a73027baSmrg # Handling of the options. 7770a73027baSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7771a73027baSmrg ac_cs_recheck=: ;; 7772a73027baSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7773a73027baSmrg echo "$ac_cs_version"; exit ;; 7774a73027baSmrg --debug | --debu | --deb | --de | --d | -d ) 7775a73027baSmrg debug=: ;; 7776a73027baSmrg --file | --fil | --fi | --f ) 7777a73027baSmrg $ac_shift 7778a73027baSmrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 7779a73027baSmrg ac_need_defaults=false;; 7780a73027baSmrg --header | --heade | --head | --hea ) 7781a73027baSmrg $ac_shift 7782a73027baSmrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7783a73027baSmrg ac_need_defaults=false;; 7784a73027baSmrg --he | --h) 7785a73027baSmrg # Conflict between --help and --header 7786a73027baSmrg { echo "$as_me: error: ambiguous option: $1 7787a73027baSmrgTry \`$0 --help' for more information." >&2 7788a73027baSmrg { (exit 1); exit 1; }; };; 7789a73027baSmrg --help | --hel | -h ) 7790a73027baSmrg echo "$ac_cs_usage"; exit ;; 7791a73027baSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7792a73027baSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 7793a73027baSmrg ac_cs_silent=: ;; 7794a73027baSmrg 7795a73027baSmrg # This is an error. 7796a73027baSmrg -*) { echo "$as_me: error: unrecognized option: $1 7797a73027baSmrgTry \`$0 --help' for more information." >&2 7798a73027baSmrg { (exit 1); exit 1; }; } ;; 7799a73027baSmrg 7800a73027baSmrg *) ac_config_targets="$ac_config_targets $1" 7801a73027baSmrg ac_need_defaults=false ;; 7802a73027baSmrg 7803a73027baSmrg esac 7804a73027baSmrg shift 7805a73027baSmrgdone 7806a73027baSmrg 7807a73027baSmrgac_configure_extra_args= 7808a73027baSmrg 7809a73027baSmrgif $ac_cs_silent; then 7810a73027baSmrg exec 6>/dev/null 7811a73027baSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 7812a73027baSmrgfi 7813a73027baSmrg 7814a73027baSmrg_ACEOF 7815a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 7816a73027baSmrgif \$ac_cs_recheck; then 7817a73027baSmrg echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7818a73027baSmrg CONFIG_SHELL=$SHELL 7819a73027baSmrg export CONFIG_SHELL 7820a73027baSmrg exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7821a73027baSmrgfi 7822a73027baSmrg 7823a73027baSmrg_ACEOF 7824a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 7825a73027baSmrgexec 5>>config.log 7826a73027baSmrg{ 7827a73027baSmrg echo 7828a73027baSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7829a73027baSmrg## Running $as_me. ## 7830a73027baSmrg_ASBOX 7831a73027baSmrg echo "$ac_log" 7832a73027baSmrg} >&5 7833a73027baSmrg 7834a73027baSmrg_ACEOF 7835a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 7836a73027baSmrg# 7837a73027baSmrg# INIT-COMMANDS 7838a73027baSmrg# 7839a73027baSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7840a73027baSmrg 7841a73027baSmrg_ACEOF 7842a73027baSmrg 7843a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 7844a73027baSmrg 7845a73027baSmrg# Handling of arguments. 7846a73027baSmrgfor ac_config_target in $ac_config_targets 7847a73027baSmrgdo 7848a73027baSmrg case $ac_config_target in 7849a73027baSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7850a73027baSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7851a73027baSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7852a73027baSmrg "privileged_startx/Makefile") CONFIG_FILES="$CONFIG_FILES privileged_startx/Makefile" ;; 7853a73027baSmrg 7854a73027baSmrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7855a73027baSmrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 7856a73027baSmrg { (exit 1); exit 1; }; };; 7857a73027baSmrg esac 7858a73027baSmrgdone 7859a73027baSmrg 7860a73027baSmrg 7861a73027baSmrg# If the user did not use the arguments to specify the items to instantiate, 7862a73027baSmrg# then the envvar interface is used. Set only those that are not. 7863a73027baSmrg# We use the long form for the default assignment because of an extremely 7864a73027baSmrg# bizarre bug on SunOS 4.1.3. 7865a73027baSmrgif $ac_need_defaults; then 7866a73027baSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7867a73027baSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7868a73027baSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7869a73027baSmrgfi 7870a73027baSmrg 7871a73027baSmrg# Have a temporary directory for convenience. Make it in the build tree 7872a73027baSmrg# simply because there is no reason against having it here, and in addition, 7873a73027baSmrg# creating and moving files from /tmp can sometimes cause problems. 7874a73027baSmrg# Hook for its removal unless debugging. 7875a73027baSmrg# Note that there is a small window in which the directory will not be cleaned: 7876a73027baSmrg# after its creation but before its name has been assigned to `$tmp'. 7877a73027baSmrg$debug || 7878a73027baSmrg{ 7879a73027baSmrg tmp= 7880a73027baSmrg trap 'exit_status=$? 7881a73027baSmrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7882a73027baSmrg' 0 7883a73027baSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 7884a73027baSmrg} 7885a73027baSmrg# Create a (secure) tmp directory for tmp files. 7886a73027baSmrg 7887a73027baSmrg{ 7888a73027baSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7889a73027baSmrg test -n "$tmp" && test -d "$tmp" 7890a73027baSmrg} || 7891a73027baSmrg{ 7892a73027baSmrg tmp=./conf$$-$RANDOM 7893a73027baSmrg (umask 077 && mkdir "$tmp") 7894a73027baSmrg} || 7895a73027baSmrg{ 7896a73027baSmrg echo "$me: cannot create a temporary directory in ." >&2 7897a73027baSmrg { (exit 1); exit 1; } 7898a73027baSmrg} 7899a73027baSmrg 7900a73027baSmrg# 7901a73027baSmrg# Set up the sed scripts for CONFIG_FILES section. 7902a73027baSmrg# 7903a73027baSmrg 7904a73027baSmrg# No need to generate the scripts if there are no CONFIG_FILES. 7905a73027baSmrg# This happens for instance when ./config.status config.h 7906a73027baSmrgif test -n "$CONFIG_FILES"; then 7907a73027baSmrg 7908a73027baSmrg_ACEOF 7909a73027baSmrg 7910a73027baSmrg 7911a73027baSmrg 7912a73027baSmrgac_delim='%!_!# ' 7913a73027baSmrgfor ac_last_try in false false false false false :; do 7914a73027baSmrg cat >conf$$subs.sed <<_ACEOF 7915a73027baSmrgSHELL!$SHELL$ac_delim 7916a73027baSmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 7917a73027baSmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim 7918a73027baSmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 7919a73027baSmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 7920a73027baSmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim 7921a73027baSmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 7922a73027baSmrgexec_prefix!$exec_prefix$ac_delim 7923a73027baSmrgprefix!$prefix$ac_delim 7924a73027baSmrgprogram_transform_name!$program_transform_name$ac_delim 7925a73027baSmrgbindir!$bindir$ac_delim 7926a73027baSmrgsbindir!$sbindir$ac_delim 7927a73027baSmrglibexecdir!$libexecdir$ac_delim 7928a73027baSmrgdatarootdir!$datarootdir$ac_delim 7929a73027baSmrgdatadir!$datadir$ac_delim 7930a73027baSmrgsysconfdir!$sysconfdir$ac_delim 7931a73027baSmrgsharedstatedir!$sharedstatedir$ac_delim 7932a73027baSmrglocalstatedir!$localstatedir$ac_delim 7933a73027baSmrgincludedir!$includedir$ac_delim 7934a73027baSmrgoldincludedir!$oldincludedir$ac_delim 7935a73027baSmrgdocdir!$docdir$ac_delim 7936a73027baSmrginfodir!$infodir$ac_delim 7937a73027baSmrghtmldir!$htmldir$ac_delim 7938a73027baSmrgdvidir!$dvidir$ac_delim 7939a73027baSmrgpdfdir!$pdfdir$ac_delim 7940a73027baSmrgpsdir!$psdir$ac_delim 7941a73027baSmrglibdir!$libdir$ac_delim 7942a73027baSmrglocaledir!$localedir$ac_delim 7943a73027baSmrgmandir!$mandir$ac_delim 7944a73027baSmrgDEFS!$DEFS$ac_delim 7945a73027baSmrgECHO_C!$ECHO_C$ac_delim 7946a73027baSmrgECHO_N!$ECHO_N$ac_delim 7947a73027baSmrgECHO_T!$ECHO_T$ac_delim 7948a73027baSmrgLIBS!$LIBS$ac_delim 7949a73027baSmrgbuild_alias!$build_alias$ac_delim 7950a73027baSmrghost_alias!$host_alias$ac_delim 7951a73027baSmrgtarget_alias!$target_alias$ac_delim 7952a73027baSmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 7953a73027baSmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 7954a73027baSmrgINSTALL_DATA!$INSTALL_DATA$ac_delim 7955a73027baSmrgam__isrc!$am__isrc$ac_delim 7956a73027baSmrgCYGPATH_W!$CYGPATH_W$ac_delim 7957a73027baSmrgPACKAGE!$PACKAGE$ac_delim 7958a73027baSmrgVERSION!$VERSION$ac_delim 7959a73027baSmrgACLOCAL!$ACLOCAL$ac_delim 7960a73027baSmrgAUTOCONF!$AUTOCONF$ac_delim 7961a73027baSmrgAUTOMAKE!$AUTOMAKE$ac_delim 7962a73027baSmrgAUTOHEADER!$AUTOHEADER$ac_delim 7963a73027baSmrgMAKEINFO!$MAKEINFO$ac_delim 7964a73027baSmrginstall_sh!$install_sh$ac_delim 7965a73027baSmrgSTRIP!$STRIP$ac_delim 7966a73027baSmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 7967a73027baSmrgmkdir_p!$mkdir_p$ac_delim 7968a73027baSmrgAWK!$AWK$ac_delim 7969a73027baSmrgSET_MAKE!$SET_MAKE$ac_delim 7970a73027baSmrgam__leading_dot!$am__leading_dot$ac_delim 7971a73027baSmrgAMTAR!$AMTAR$ac_delim 7972a73027baSmrgam__tar!$am__tar$ac_delim 7973a73027baSmrgam__untar!$am__untar$ac_delim 7974a73027baSmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 7975a73027baSmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 7976a73027baSmrgMAINT!$MAINT$ac_delim 7977a73027baSmrgCC!$CC$ac_delim 7978a73027baSmrgCFLAGS!$CFLAGS$ac_delim 7979a73027baSmrgLDFLAGS!$LDFLAGS$ac_delim 7980a73027baSmrgCPPFLAGS!$CPPFLAGS$ac_delim 7981a73027baSmrgac_ct_CC!$ac_ct_CC$ac_delim 7982a73027baSmrgEXEEXT!$EXEEXT$ac_delim 7983a73027baSmrgOBJEXT!$OBJEXT$ac_delim 7984a73027baSmrgDEPDIR!$DEPDIR$ac_delim 7985a73027baSmrgam__include!$am__include$ac_delim 7986a73027baSmrgam__quote!$am__quote$ac_delim 7987a73027baSmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim 7988a73027baSmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim 7989a73027baSmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 7990a73027baSmrgCCDEPMODE!$CCDEPMODE$ac_delim 7991a73027baSmrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 7992a73027baSmrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 7993a73027baSmrgCPP!$CPP$ac_delim 7994a73027baSmrgRAWCPP!$RAWCPP$ac_delim 7995a73027baSmrgRAWCPPFLAGS!$RAWCPPFLAGS$ac_delim 7996a73027baSmrgSED!$SED$ac_delim 7997a73027baSmrgbuild!$build$ac_delim 7998a73027baSmrgbuild_cpu!$build_cpu$ac_delim 7999a73027baSmrgbuild_vendor!$build_vendor$ac_delim 8000a73027baSmrgbuild_os!$build_os$ac_delim 8001a73027baSmrghost!$host$ac_delim 8002a73027baSmrghost_cpu!$host_cpu$ac_delim 8003a73027baSmrghost_vendor!$host_vendor$ac_delim 8004a73027baSmrghost_os!$host_os$ac_delim 8005a73027baSmrgGREP!$GREP$ac_delim 8006a73027baSmrgEGREP!$EGREP$ac_delim 8007a73027baSmrgLAUNCHD!$LAUNCHD$ac_delim 8008a73027baSmrglaunchagentsdir!$launchagentsdir$ac_delim 8009a73027baSmrglaunchdaemonsdir!$launchdaemonsdir$ac_delim 8010a73027baSmrgLAUNCHD_TRUE!$LAUNCHD_TRUE$ac_delim 8011a73027baSmrgLAUNCHD_FALSE!$LAUNCHD_FALSE$ac_delim 8012a73027baSmrg_ACEOF 8013a73027baSmrg 8014a73027baSmrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 8015a73027baSmrg break 8016a73027baSmrg elif $ac_last_try; then 8017a73027baSmrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8018a73027baSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8019a73027baSmrg { (exit 1); exit 1; }; } 8020a73027baSmrg else 8021a73027baSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8022a73027baSmrg fi 8023a73027baSmrgdone 8024a73027baSmrg 8025a73027baSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8026a73027baSmrgif test -n "$ac_eof"; then 8027a73027baSmrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8028a73027baSmrg ac_eof=`expr $ac_eof + 1` 8029a73027baSmrgfi 8030a73027baSmrg 8031a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 8032a73027baSmrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8033a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8034a73027baSmrg_ACEOF 8035a73027baSmrgsed ' 8036a73027baSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8037a73027baSmrgs/^/s,@/; s/!/@,|#_!!_#|/ 8038a73027baSmrg:n 8039a73027baSmrgt n 8040a73027baSmrgs/'"$ac_delim"'$/,g/; t 8041a73027baSmrgs/$/\\/; p 8042a73027baSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8043a73027baSmrg' >>$CONFIG_STATUS <conf$$subs.sed 8044a73027baSmrgrm -f conf$$subs.sed 8045a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 8046a73027baSmrgCEOF$ac_eof 8047a73027baSmrg_ACEOF 8048a73027baSmrg 8049a73027baSmrg 8050a73027baSmrgac_delim='%!_!# ' 8051a73027baSmrgfor ac_last_try in false false false false false :; do 8052a73027baSmrg cat >conf$$subs.sed <<_ACEOF 805372e81212SmrgTIGER_LAUNCHD_TRUE!$TIGER_LAUNCHD_TRUE$ac_delim 805472e81212SmrgTIGER_LAUNCHD_FALSE!$TIGER_LAUNCHD_FALSE$ac_delim 8055a73027baSmrgPKG_CONFIG!$PKG_CONFIG$ac_delim 8056a73027baSmrgXINIT_CFLAGS!$XINIT_CFLAGS$ac_delim 8057a73027baSmrgXINIT_LIBS!$XINIT_LIBS$ac_delim 8058a73027baSmrgMCOOKIE!$MCOOKIE$ac_delim 8059a73027baSmrgSTARTX_COOKIE_FLAGS!$STARTX_COOKIE_FLAGS$ac_delim 8060a73027baSmrgSHELL_CMD!$SHELL_CMD$ac_delim 8061a73027baSmrgARCHMANDEFS!$ARCHMANDEFS$ac_delim 8062a73027baSmrgXRDB!$XRDB$ac_delim 8063a73027baSmrgXMODMAP!$XMODMAP$ac_delim 8064a73027baSmrgTWM!$TWM$ac_delim 8065a73027baSmrgXCLOCK!$XCLOCK$ac_delim 8066a73027baSmrgXTERM!$XTERM$ac_delim 8067a73027baSmrgXSERVER!$XSERVER$ac_delim 8068a73027baSmrgXAUTH!$XAUTH$ac_delim 8069a73027baSmrgXINIT!$XINIT$ac_delim 8070a73027baSmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 8071a73027baSmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 8072a73027baSmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 8073a73027baSmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 8074a73027baSmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 8075a73027baSmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 8076a73027baSmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim 8077a73027baSmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 8078a73027baSmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 8079a73027baSmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 8080a73027baSmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 8081a73027baSmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 8082a73027baSmrgLIBOBJS!$LIBOBJS$ac_delim 8083a73027baSmrgLTLIBOBJS!$LTLIBOBJS$ac_delim 8084a73027baSmrg_ACEOF 8085a73027baSmrg 808672e81212Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then 8087a73027baSmrg break 8088a73027baSmrg elif $ac_last_try; then 8089a73027baSmrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8090a73027baSmrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8091a73027baSmrg { (exit 1); exit 1; }; } 8092a73027baSmrg else 8093a73027baSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8094a73027baSmrg fi 8095a73027baSmrgdone 8096a73027baSmrg 8097a73027baSmrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8098a73027baSmrgif test -n "$ac_eof"; then 8099a73027baSmrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8100a73027baSmrg ac_eof=`expr $ac_eof + 1` 8101a73027baSmrgfi 8102a73027baSmrg 8103a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 8104a73027baSmrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 8105a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8106a73027baSmrg_ACEOF 8107a73027baSmrgsed ' 8108a73027baSmrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8109a73027baSmrgs/^/s,@/; s/!/@,|#_!!_#|/ 8110a73027baSmrg:n 8111a73027baSmrgt n 8112a73027baSmrgs/'"$ac_delim"'$/,g/; t 8113a73027baSmrgs/$/\\/; p 8114a73027baSmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8115a73027baSmrg' >>$CONFIG_STATUS <conf$$subs.sed 8116a73027baSmrgrm -f conf$$subs.sed 8117a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 8118a73027baSmrg:end 8119a73027baSmrgs/|#_!!_#|//g 8120a73027baSmrgCEOF$ac_eof 8121a73027baSmrg_ACEOF 8122a73027baSmrg 8123a73027baSmrg 8124a73027baSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 8125a73027baSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8126a73027baSmrg# trailing colons and then remove the whole line if VPATH becomes empty 8127a73027baSmrg# (actually we leave an empty line to preserve line numbers). 8128a73027baSmrgif test "x$srcdir" = x.; then 8129a73027baSmrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8130a73027baSmrgs/:*\$(srcdir):*/:/ 8131a73027baSmrgs/:*\${srcdir}:*/:/ 8132a73027baSmrgs/:*@srcdir@:*/:/ 8133a73027baSmrgs/^\([^=]*=[ ]*\):*/\1/ 8134a73027baSmrgs/:*$// 8135a73027baSmrgs/^[^=]*=[ ]*$// 8136a73027baSmrg}' 8137a73027baSmrgfi 8138a73027baSmrg 8139a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 8140a73027baSmrgfi # test -n "$CONFIG_FILES" 8141a73027baSmrg 8142a73027baSmrg 8143a73027baSmrgfor ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 8144a73027baSmrgdo 8145a73027baSmrg case $ac_tag in 8146a73027baSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 8147a73027baSmrg esac 8148a73027baSmrg case $ac_mode$ac_tag in 8149a73027baSmrg :[FHL]*:*);; 8150a73027baSmrg :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8151a73027baSmrgecho "$as_me: error: Invalid tag $ac_tag." >&2;} 8152a73027baSmrg { (exit 1); exit 1; }; };; 8153a73027baSmrg :[FH]-) ac_tag=-:-;; 8154a73027baSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8155a73027baSmrg esac 8156a73027baSmrg ac_save_IFS=$IFS 8157a73027baSmrg IFS=: 8158a73027baSmrg set x $ac_tag 8159a73027baSmrg IFS=$ac_save_IFS 8160a73027baSmrg shift 8161a73027baSmrg ac_file=$1 8162a73027baSmrg shift 8163a73027baSmrg 8164a73027baSmrg case $ac_mode in 8165a73027baSmrg :L) ac_source=$1;; 8166a73027baSmrg :[FH]) 8167a73027baSmrg ac_file_inputs= 8168a73027baSmrg for ac_f 8169a73027baSmrg do 8170a73027baSmrg case $ac_f in 8171a73027baSmrg -) ac_f="$tmp/stdin";; 8172a73027baSmrg *) # Look for the file first in the build tree, then in the source tree 8173a73027baSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 8174a73027baSmrg # because $ac_f cannot contain `:'. 8175a73027baSmrg test -f "$ac_f" || 8176a73027baSmrg case $ac_f in 8177a73027baSmrg [\\/$]*) false;; 8178a73027baSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8179a73027baSmrg esac || 8180a73027baSmrg { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8181a73027baSmrgecho "$as_me: error: cannot find input file: $ac_f" >&2;} 8182a73027baSmrg { (exit 1); exit 1; }; };; 8183a73027baSmrg esac 8184a73027baSmrg ac_file_inputs="$ac_file_inputs $ac_f" 8185a73027baSmrg done 8186a73027baSmrg 8187a73027baSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 8188a73027baSmrg # use $as_me), people would be surprised to read: 8189a73027baSmrg # /* config.h. Generated by config.status. */ 8190a73027baSmrg configure_input="Generated from "`IFS=: 8191a73027baSmrg echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8192a73027baSmrg if test x"$ac_file" != x-; then 8193a73027baSmrg configure_input="$ac_file. $configure_input" 8194a73027baSmrg { echo "$as_me:$LINENO: creating $ac_file" >&5 8195a73027baSmrgecho "$as_me: creating $ac_file" >&6;} 8196a73027baSmrg fi 8197a73027baSmrg 8198a73027baSmrg case $ac_tag in 8199a73027baSmrg *:-:* | *:-) cat >"$tmp/stdin";; 8200a73027baSmrg esac 8201a73027baSmrg ;; 8202a73027baSmrg esac 8203a73027baSmrg 8204a73027baSmrg ac_dir=`$as_dirname -- "$ac_file" || 8205a73027baSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8206a73027baSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 8207a73027baSmrg X"$ac_file" : 'X\(//\)$' \| \ 8208a73027baSmrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8209a73027baSmrgecho X"$ac_file" | 8210a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8211a73027baSmrg s//\1/ 8212a73027baSmrg q 8213a73027baSmrg } 8214a73027baSmrg /^X\(\/\/\)[^/].*/{ 8215a73027baSmrg s//\1/ 8216a73027baSmrg q 8217a73027baSmrg } 8218a73027baSmrg /^X\(\/\/\)$/{ 8219a73027baSmrg s//\1/ 8220a73027baSmrg q 8221a73027baSmrg } 8222a73027baSmrg /^X\(\/\).*/{ 8223a73027baSmrg s//\1/ 8224a73027baSmrg q 8225a73027baSmrg } 8226a73027baSmrg s/.*/./; q'` 8227a73027baSmrg { as_dir="$ac_dir" 8228a73027baSmrg case $as_dir in #( 8229a73027baSmrg -*) as_dir=./$as_dir;; 8230a73027baSmrg esac 8231a73027baSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8232a73027baSmrg as_dirs= 8233a73027baSmrg while :; do 8234a73027baSmrg case $as_dir in #( 8235a73027baSmrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8236a73027baSmrg *) as_qdir=$as_dir;; 8237a73027baSmrg esac 8238a73027baSmrg as_dirs="'$as_qdir' $as_dirs" 8239a73027baSmrg as_dir=`$as_dirname -- "$as_dir" || 8240a73027baSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8241a73027baSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 8242a73027baSmrg X"$as_dir" : 'X\(//\)$' \| \ 8243a73027baSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8244a73027baSmrgecho X"$as_dir" | 8245a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8246a73027baSmrg s//\1/ 8247a73027baSmrg q 8248a73027baSmrg } 8249a73027baSmrg /^X\(\/\/\)[^/].*/{ 8250a73027baSmrg s//\1/ 8251a73027baSmrg q 8252a73027baSmrg } 8253a73027baSmrg /^X\(\/\/\)$/{ 8254a73027baSmrg s//\1/ 8255a73027baSmrg q 8256a73027baSmrg } 8257a73027baSmrg /^X\(\/\).*/{ 8258a73027baSmrg s//\1/ 8259a73027baSmrg q 8260a73027baSmrg } 8261a73027baSmrg s/.*/./; q'` 8262a73027baSmrg test -d "$as_dir" && break 8263a73027baSmrg done 8264a73027baSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 8265a73027baSmrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8266a73027baSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 8267a73027baSmrg { (exit 1); exit 1; }; }; } 8268a73027baSmrg ac_builddir=. 8269a73027baSmrg 8270a73027baSmrgcase "$ac_dir" in 8271a73027baSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8272a73027baSmrg*) 8273a73027baSmrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8274a73027baSmrg # A ".." for each directory in $ac_dir_suffix. 8275a73027baSmrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8276a73027baSmrg case $ac_top_builddir_sub in 8277a73027baSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8278a73027baSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8279a73027baSmrg esac ;; 8280a73027baSmrgesac 8281a73027baSmrgac_abs_top_builddir=$ac_pwd 8282a73027baSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 8283a73027baSmrg# for backward compatibility: 8284a73027baSmrgac_top_builddir=$ac_top_build_prefix 8285a73027baSmrg 8286a73027baSmrgcase $srcdir in 8287a73027baSmrg .) # We are building in place. 8288a73027baSmrg ac_srcdir=. 8289a73027baSmrg ac_top_srcdir=$ac_top_builddir_sub 8290a73027baSmrg ac_abs_top_srcdir=$ac_pwd ;; 8291a73027baSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 8292a73027baSmrg ac_srcdir=$srcdir$ac_dir_suffix; 8293a73027baSmrg ac_top_srcdir=$srcdir 8294a73027baSmrg ac_abs_top_srcdir=$srcdir ;; 8295a73027baSmrg *) # Relative name. 8296a73027baSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8297a73027baSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 8298a73027baSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8299a73027baSmrgesac 8300a73027baSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8301a73027baSmrg 8302a73027baSmrg 8303a73027baSmrg case $ac_mode in 8304a73027baSmrg :F) 8305a73027baSmrg # 8306a73027baSmrg # CONFIG_FILE 8307a73027baSmrg # 8308a73027baSmrg 8309a73027baSmrg case $INSTALL in 8310a73027baSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8311a73027baSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8312a73027baSmrg esac 8313a73027baSmrg ac_MKDIR_P=$MKDIR_P 8314a73027baSmrg case $MKDIR_P in 8315a73027baSmrg [\\/$]* | ?:[\\/]* ) ;; 8316a73027baSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 8317a73027baSmrg esac 8318a73027baSmrg_ACEOF 8319a73027baSmrg 8320a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 8321a73027baSmrg# If the template does not know about datarootdir, expand it. 8322a73027baSmrg# FIXME: This hack should be removed a few years after 2.60. 8323a73027baSmrgac_datarootdir_hack=; ac_datarootdir_seen= 8324a73027baSmrg 8325a73027baSmrgcase `sed -n '/datarootdir/ { 8326a73027baSmrg p 8327a73027baSmrg q 8328a73027baSmrg} 8329a73027baSmrg/@datadir@/p 8330a73027baSmrg/@docdir@/p 8331a73027baSmrg/@infodir@/p 8332a73027baSmrg/@localedir@/p 8333a73027baSmrg/@mandir@/p 8334a73027baSmrg' $ac_file_inputs` in 8335a73027baSmrg*datarootdir*) ac_datarootdir_seen=yes;; 8336a73027baSmrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8337a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8338a73027baSmrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8339a73027baSmrg_ACEOF 8340a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 8341a73027baSmrg ac_datarootdir_hack=' 8342a73027baSmrg s&@datadir@&$datadir&g 8343a73027baSmrg s&@docdir@&$docdir&g 8344a73027baSmrg s&@infodir@&$infodir&g 8345a73027baSmrg s&@localedir@&$localedir&g 8346a73027baSmrg s&@mandir@&$mandir&g 8347a73027baSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 8348a73027baSmrgesac 8349a73027baSmrg_ACEOF 8350a73027baSmrg 8351a73027baSmrg# Neutralize VPATH when `$srcdir' = `.'. 8352a73027baSmrg# Shell code in configure.ac might set extrasub. 8353a73027baSmrg# FIXME: do we really want to maintain this feature? 8354a73027baSmrgcat >>$CONFIG_STATUS <<_ACEOF 8355a73027baSmrg sed "$ac_vpsub 8356a73027baSmrg$extrasub 8357a73027baSmrg_ACEOF 8358a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 8359a73027baSmrg:t 8360a73027baSmrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8361a73027baSmrgs&@configure_input@&$configure_input&;t t 8362a73027baSmrgs&@top_builddir@&$ac_top_builddir_sub&;t t 8363a73027baSmrgs&@srcdir@&$ac_srcdir&;t t 8364a73027baSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 8365a73027baSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 8366a73027baSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8367a73027baSmrgs&@builddir@&$ac_builddir&;t t 8368a73027baSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 8369a73027baSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8370a73027baSmrgs&@INSTALL@&$ac_INSTALL&;t t 8371a73027baSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 8372a73027baSmrg$ac_datarootdir_hack 8373a73027baSmrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 8374a73027baSmrg 8375a73027baSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8376a73027baSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8377a73027baSmrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8378a73027baSmrg { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8379a73027baSmrgwhich seems to be undefined. Please make sure it is defined." >&5 8380a73027baSmrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8381a73027baSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 8382a73027baSmrg 8383a73027baSmrg rm -f "$tmp/stdin" 8384a73027baSmrg case $ac_file in 8385a73027baSmrg -) cat "$tmp/out"; rm -f "$tmp/out";; 8386a73027baSmrg *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 8387a73027baSmrg esac 8388a73027baSmrg ;; 8389a73027baSmrg :H) 8390a73027baSmrg # 8391a73027baSmrg # CONFIG_HEADER 8392a73027baSmrg # 8393a73027baSmrg_ACEOF 8394a73027baSmrg 8395a73027baSmrg# Transform confdefs.h into a sed script `conftest.defines', that 8396a73027baSmrg# substitutes the proper values into config.h.in to produce config.h. 8397a73027baSmrgrm -f conftest.defines conftest.tail 8398a73027baSmrg# First, append a space to every undef/define line, to ease matching. 8399a73027baSmrgecho 's/$/ /' >conftest.defines 8400a73027baSmrg# Then, protect against being on the right side of a sed subst, or in 8401a73027baSmrg# an unquoted here document, in config.status. If some macros were 8402a73027baSmrg# called several times there might be several #defines for the same 8403a73027baSmrg# symbol, which is useless. But do not sort them, since the last 8404a73027baSmrg# AC_DEFINE must be honored. 8405a73027baSmrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8406a73027baSmrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 8407a73027baSmrg# NAME is the cpp macro being defined, VALUE is the value it is being given. 8408a73027baSmrg# PARAMS is the parameter list in the macro definition--in most cases, it's 8409a73027baSmrg# just an empty string. 8410a73027baSmrgac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 8411a73027baSmrgac_dB='\\)[ (].*,\\1define\\2' 8412a73027baSmrgac_dC=' ' 8413a73027baSmrgac_dD=' ,' 8414a73027baSmrg 8415a73027baSmrguniq confdefs.h | 8416a73027baSmrg sed -n ' 8417a73027baSmrg t rset 8418a73027baSmrg :rset 8419a73027baSmrg s/^[ ]*#[ ]*define[ ][ ]*// 8420a73027baSmrg t ok 8421a73027baSmrg d 8422a73027baSmrg :ok 8423a73027baSmrg s/[\\&,]/\\&/g 8424a73027baSmrg s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 8425a73027baSmrg s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 8426a73027baSmrg ' >>conftest.defines 8427a73027baSmrg 8428a73027baSmrg# Remove the space that was appended to ease matching. 8429a73027baSmrg# Then replace #undef with comments. This is necessary, for 8430a73027baSmrg# example, in the case of _POSIX_SOURCE, which is predefined and required 8431a73027baSmrg# on some systems where configure will not decide to define it. 8432a73027baSmrg# (The regexp can be short, since the line contains either #define or #undef.) 8433a73027baSmrgecho 's/ $// 8434a73027baSmrgs,^[ #]*u.*,/* & */,' >>conftest.defines 8435a73027baSmrg 8436a73027baSmrg# Break up conftest.defines: 8437a73027baSmrgac_max_sed_lines=50 8438a73027baSmrg 8439a73027baSmrg# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 8440a73027baSmrg# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 8441a73027baSmrg# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 8442a73027baSmrg# et cetera. 8443a73027baSmrgac_in='$ac_file_inputs' 8444a73027baSmrgac_out='"$tmp/out1"' 8445a73027baSmrgac_nxt='"$tmp/out2"' 8446a73027baSmrg 8447a73027baSmrgwhile : 8448a73027baSmrgdo 8449a73027baSmrg # Write a here document: 8450a73027baSmrg cat >>$CONFIG_STATUS <<_ACEOF 8451a73027baSmrg # First, check the format of the line: 8452a73027baSmrg cat >"\$tmp/defines.sed" <<\\CEOF 8453a73027baSmrg/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 8454a73027baSmrg/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 8455a73027baSmrgb 8456a73027baSmrg:def 8457a73027baSmrg_ACEOF 8458a73027baSmrg sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 8459a73027baSmrg echo 'CEOF 8460a73027baSmrg sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 8461a73027baSmrg ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 8462a73027baSmrg sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 8463a73027baSmrg grep . conftest.tail >/dev/null || break 8464a73027baSmrg rm -f conftest.defines 8465a73027baSmrg mv conftest.tail conftest.defines 8466a73027baSmrgdone 8467a73027baSmrgrm -f conftest.defines conftest.tail 8468a73027baSmrg 8469a73027baSmrgecho "ac_result=$ac_in" >>$CONFIG_STATUS 8470a73027baSmrgcat >>$CONFIG_STATUS <<\_ACEOF 8471a73027baSmrg if test x"$ac_file" != x-; then 8472a73027baSmrg echo "/* $configure_input */" >"$tmp/config.h" 8473a73027baSmrg cat "$ac_result" >>"$tmp/config.h" 8474a73027baSmrg if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 8475a73027baSmrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8476a73027baSmrgecho "$as_me: $ac_file is unchanged" >&6;} 8477a73027baSmrg else 8478a73027baSmrg rm -f $ac_file 8479a73027baSmrg mv "$tmp/config.h" $ac_file 8480a73027baSmrg fi 8481a73027baSmrg else 8482a73027baSmrg echo "/* $configure_input */" 8483a73027baSmrg cat "$ac_result" 8484a73027baSmrg fi 8485a73027baSmrg rm -f "$tmp/out12" 8486a73027baSmrg# Compute $ac_file's index in $config_headers. 8487a73027baSmrg_am_stamp_count=1 8488a73027baSmrgfor _am_header in $config_headers :; do 8489a73027baSmrg case $_am_header in 849072e81212Smrg $ac_file | $ac_file:* ) 8491a73027baSmrg break ;; 8492a73027baSmrg * ) 8493a73027baSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 8494a73027baSmrg esac 8495a73027baSmrgdone 849672e81212Smrgecho "timestamp for $ac_file" >`$as_dirname -- $ac_file || 849772e81212Smrg$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 849872e81212Smrg X$ac_file : 'X\(//\)[^/]' \| \ 849972e81212Smrg X$ac_file : 'X\(//\)$' \| \ 850072e81212Smrg X$ac_file : 'X\(/\)' \| . 2>/dev/null || 850172e81212Smrgecho X$ac_file | 8502a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8503a73027baSmrg s//\1/ 8504a73027baSmrg q 8505a73027baSmrg } 8506a73027baSmrg /^X\(\/\/\)[^/].*/{ 8507a73027baSmrg s//\1/ 8508a73027baSmrg q 8509a73027baSmrg } 8510a73027baSmrg /^X\(\/\/\)$/{ 8511a73027baSmrg s//\1/ 8512a73027baSmrg q 8513a73027baSmrg } 8514a73027baSmrg /^X\(\/\).*/{ 8515a73027baSmrg s//\1/ 8516a73027baSmrg q 8517a73027baSmrg } 8518a73027baSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 8519a73027baSmrg ;; 8520a73027baSmrg 8521a73027baSmrg :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 8522a73027baSmrgecho "$as_me: executing $ac_file commands" >&6;} 8523a73027baSmrg ;; 8524a73027baSmrg esac 8525a73027baSmrg 8526a73027baSmrg 8527a73027baSmrg case $ac_file$ac_mode in 8528a73027baSmrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 8529a73027baSmrg # Strip MF so we end up with the name of the file. 8530a73027baSmrg mf=`echo "$mf" | sed -e 's/:.*$//'` 8531a73027baSmrg # Check whether this is an Automake generated Makefile or not. 8532a73027baSmrg # We used to match only the files named `Makefile.in', but 8533a73027baSmrg # some people rename them; so instead we look at the file content. 8534a73027baSmrg # Grep'ing the first line is not enough: some people post-process 8535a73027baSmrg # each Makefile.in and add a new line on top of each file to say so. 8536a73027baSmrg # Grep'ing the whole file is not good either: AIX grep has a line 8537a73027baSmrg # limit of 2048, but all sed's we know have understand at least 4000. 853872e81212Smrg if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then 8539a73027baSmrg dirpart=`$as_dirname -- "$mf" || 8540a73027baSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8541a73027baSmrg X"$mf" : 'X\(//\)[^/]' \| \ 8542a73027baSmrg X"$mf" : 'X\(//\)$' \| \ 8543a73027baSmrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 8544a73027baSmrgecho X"$mf" | 8545a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8546a73027baSmrg s//\1/ 8547a73027baSmrg q 8548a73027baSmrg } 8549a73027baSmrg /^X\(\/\/\)[^/].*/{ 8550a73027baSmrg s//\1/ 8551a73027baSmrg q 8552a73027baSmrg } 8553a73027baSmrg /^X\(\/\/\)$/{ 8554a73027baSmrg s//\1/ 8555a73027baSmrg q 8556a73027baSmrg } 8557a73027baSmrg /^X\(\/\).*/{ 8558a73027baSmrg s//\1/ 8559a73027baSmrg q 8560a73027baSmrg } 8561a73027baSmrg s/.*/./; q'` 8562a73027baSmrg else 8563a73027baSmrg continue 8564a73027baSmrg fi 8565a73027baSmrg # Extract the definition of DEPDIR, am__include, and am__quote 8566a73027baSmrg # from the Makefile without running `make'. 8567a73027baSmrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8568a73027baSmrg test -z "$DEPDIR" && continue 8569a73027baSmrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 8570a73027baSmrg test -z "am__include" && continue 8571a73027baSmrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 8572a73027baSmrg # When using ansi2knr, U may be empty or an underscore; expand it 8573a73027baSmrg U=`sed -n 's/^U = //p' < "$mf"` 8574a73027baSmrg # Find all dependency output files, they are included files with 8575a73027baSmrg # $(DEPDIR) in their names. We invoke sed twice because it is the 8576a73027baSmrg # simplest approach to changing $(DEPDIR) to its actual value in the 8577a73027baSmrg # expansion. 8578a73027baSmrg for file in `sed -n " 8579a73027baSmrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 8580a73027baSmrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 8581a73027baSmrg # Make sure the directory exists. 8582a73027baSmrg test -f "$dirpart/$file" && continue 8583a73027baSmrg fdir=`$as_dirname -- "$file" || 8584a73027baSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8585a73027baSmrg X"$file" : 'X\(//\)[^/]' \| \ 8586a73027baSmrg X"$file" : 'X\(//\)$' \| \ 8587a73027baSmrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 8588a73027baSmrgecho X"$file" | 8589a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8590a73027baSmrg s//\1/ 8591a73027baSmrg q 8592a73027baSmrg } 8593a73027baSmrg /^X\(\/\/\)[^/].*/{ 8594a73027baSmrg s//\1/ 8595a73027baSmrg q 8596a73027baSmrg } 8597a73027baSmrg /^X\(\/\/\)$/{ 8598a73027baSmrg s//\1/ 8599a73027baSmrg q 8600a73027baSmrg } 8601a73027baSmrg /^X\(\/\).*/{ 8602a73027baSmrg s//\1/ 8603a73027baSmrg q 8604a73027baSmrg } 8605a73027baSmrg s/.*/./; q'` 8606a73027baSmrg { as_dir=$dirpart/$fdir 8607a73027baSmrg case $as_dir in #( 8608a73027baSmrg -*) as_dir=./$as_dir;; 8609a73027baSmrg esac 8610a73027baSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8611a73027baSmrg as_dirs= 8612a73027baSmrg while :; do 8613a73027baSmrg case $as_dir in #( 8614a73027baSmrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8615a73027baSmrg *) as_qdir=$as_dir;; 8616a73027baSmrg esac 8617a73027baSmrg as_dirs="'$as_qdir' $as_dirs" 8618a73027baSmrg as_dir=`$as_dirname -- "$as_dir" || 8619a73027baSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8620a73027baSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 8621a73027baSmrg X"$as_dir" : 'X\(//\)$' \| \ 8622a73027baSmrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8623a73027baSmrgecho X"$as_dir" | 8624a73027baSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8625a73027baSmrg s//\1/ 8626a73027baSmrg q 8627a73027baSmrg } 8628a73027baSmrg /^X\(\/\/\)[^/].*/{ 8629a73027baSmrg s//\1/ 8630a73027baSmrg q 8631a73027baSmrg } 8632a73027baSmrg /^X\(\/\/\)$/{ 8633a73027baSmrg s//\1/ 8634a73027baSmrg q 8635a73027baSmrg } 8636a73027baSmrg /^X\(\/\).*/{ 8637a73027baSmrg s//\1/ 8638a73027baSmrg q 8639a73027baSmrg } 8640a73027baSmrg s/.*/./; q'` 8641a73027baSmrg test -d "$as_dir" && break 8642a73027baSmrg done 8643a73027baSmrg test -z "$as_dirs" || eval "mkdir $as_dirs" 8644a73027baSmrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8645a73027baSmrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 8646a73027baSmrg { (exit 1); exit 1; }; }; } 8647a73027baSmrg # echo "creating $dirpart/$file" 8648a73027baSmrg echo '# dummy' > "$dirpart/$file" 8649a73027baSmrg done 8650a73027baSmrgdone 8651a73027baSmrg ;; 8652a73027baSmrg 8653a73027baSmrg esac 8654a73027baSmrgdone # for ac_tag 8655a73027baSmrg 8656a73027baSmrg 8657a73027baSmrg{ (exit 0); exit 0; } 8658a73027baSmrg_ACEOF 8659a73027baSmrgchmod +x $CONFIG_STATUS 8660a73027baSmrgac_clean_files=$ac_clean_files_save 8661a73027baSmrg 8662a73027baSmrg 8663a73027baSmrg# configure is writing to config.log, and then calls config.status. 8664a73027baSmrg# config.status does its own redirection, appending to config.log. 8665a73027baSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 8666a73027baSmrg# by configure, so config.status won't be able to write to it; its 8667a73027baSmrg# output is simply discarded. So we exec the FD to /dev/null, 8668a73027baSmrg# effectively closing config.log, so it can be properly (re)opened and 8669a73027baSmrg# appended to by config.status. When coming back to configure, we 8670a73027baSmrg# need to make the FD available again. 8671a73027baSmrgif test "$no_create" != yes; then 8672a73027baSmrg ac_cs_success=: 8673a73027baSmrg ac_config_status_args= 8674a73027baSmrg test "$silent" = yes && 8675a73027baSmrg ac_config_status_args="$ac_config_status_args --quiet" 8676a73027baSmrg exec 5>/dev/null 8677a73027baSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8678a73027baSmrg exec 5>>config.log 8679a73027baSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8680a73027baSmrg # would make configure fail if this is the last instruction. 8681a73027baSmrg $ac_cs_success || { (exit 1); exit 1; } 8682a73027baSmrgfi 8683a73027baSmrg 8684