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