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