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