configure revision 10998002
1ff7e0accSmrg#! /bin/sh 2ff7e0accSmrg# Guess values for system-dependent variables and create Makefiles. 310998002Smrg# Generated by GNU Autoconf 2.63 for xwininfo 1.0.5. 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' 59910998002SmrgPACKAGE_VERSION='1.0.5' 60010998002SmrgPACKAGE_STRING='xwininfo 1.0.5' 601ff7e0accSmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 602ff7e0accSmrg 60310998002Smrg# Factoring default headers for most tests. 60410998002Smrgac_includes_default="\ 60510998002Smrg#include <stdio.h> 60610998002Smrg#ifdef HAVE_SYS_TYPES_H 60710998002Smrg# include <sys/types.h> 60810998002Smrg#endif 60910998002Smrg#ifdef HAVE_SYS_STAT_H 61010998002Smrg# include <sys/stat.h> 61110998002Smrg#endif 61210998002Smrg#ifdef STDC_HEADERS 61310998002Smrg# include <stdlib.h> 61410998002Smrg# include <stddef.h> 61510998002Smrg#else 61610998002Smrg# ifdef HAVE_STDLIB_H 61710998002Smrg# include <stdlib.h> 61810998002Smrg# endif 61910998002Smrg#endif 62010998002Smrg#ifdef HAVE_STRING_H 62110998002Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 62210998002Smrg# include <memory.h> 62310998002Smrg# endif 62410998002Smrg# include <string.h> 62510998002Smrg#endif 62610998002Smrg#ifdef HAVE_STRINGS_H 62710998002Smrg# include <strings.h> 62810998002Smrg#endif 62910998002Smrg#ifdef HAVE_INTTYPES_H 63010998002Smrg# include <inttypes.h> 63110998002Smrg#endif 63210998002Smrg#ifdef HAVE_STDINT_H 63310998002Smrg# include <stdint.h> 63410998002Smrg#endif 63510998002Smrg#ifdef HAVE_UNISTD_H 63610998002Smrg# include <unistd.h> 63710998002Smrg#endif" 63810998002Smrg 63910998002Smrgac_subst_vars='am__EXEEXT_FALSE 64010998002Smrgam__EXEEXT_TRUE 64110998002SmrgLTLIBOBJS 64210998002SmrgLIBOBJS 643ff7e0accSmrgXWININFO_LIBS 64410998002SmrgXWININFO_CFLAGS 64510998002SmrgPKG_CONFIG 646ff7e0accSmrgADMIN_MAN_DIR 64710998002SmrgDRIVER_MAN_DIR 64810998002SmrgMISC_MAN_DIR 64910998002SmrgFILE_MAN_DIR 65010998002SmrgLIB_MAN_DIR 65110998002SmrgAPP_MAN_DIR 65210998002SmrgADMIN_MAN_SUFFIX 65310998002SmrgDRIVER_MAN_SUFFIX 65410998002SmrgMISC_MAN_SUFFIX 65510998002SmrgFILE_MAN_SUFFIX 65610998002SmrgLIB_MAN_SUFFIX 65710998002SmrgAPP_MAN_SUFFIX 65810998002Smrghost_os 65910998002Smrghost_vendor 66010998002Smrghost_cpu 66110998002Smrghost 66210998002Smrgbuild_os 66310998002Smrgbuild_vendor 66410998002Smrgbuild_cpu 66510998002Smrgbuild 66610998002Smrgdistcleancheck_listfiles 66710998002SmrgCHANGELOG_CMD 66810998002SmrgAM_BACKSLASH 66910998002SmrgAM_DEFAULT_VERBOSITY 67010998002SmrgCWARNFLAGS 67110998002SmrgEGREP 67210998002SmrgGREP 67310998002SmrgCPP 67410998002Smrgam__fastdepCC_FALSE 67510998002Smrgam__fastdepCC_TRUE 67610998002SmrgCCDEPMODE 67710998002SmrgAMDEPBACKSLASH 67810998002SmrgAMDEP_FALSE 67910998002SmrgAMDEP_TRUE 68010998002Smrgam__quote 68110998002Smrgam__include 68210998002SmrgDEPDIR 68310998002SmrgOBJEXT 68410998002SmrgEXEEXT 68510998002Smrgac_ct_CC 68610998002SmrgCPPFLAGS 68710998002SmrgLDFLAGS 68810998002SmrgCFLAGS 68910998002SmrgCC 69010998002SmrgMAINT 69110998002SmrgMAINTAINER_MODE_FALSE 69210998002SmrgMAINTAINER_MODE_TRUE 69310998002Smrgam__untar 69410998002Smrgam__tar 69510998002SmrgAMTAR 69610998002Smrgam__leading_dot 69710998002SmrgSET_MAKE 69810998002SmrgAWK 69910998002Smrgmkdir_p 70010998002SmrgMKDIR_P 70110998002SmrgINSTALL_STRIP_PROGRAM 70210998002SmrgSTRIP 70310998002Smrginstall_sh 70410998002SmrgMAKEINFO 70510998002SmrgAUTOHEADER 70610998002SmrgAUTOMAKE 70710998002SmrgAUTOCONF 70810998002SmrgACLOCAL 70910998002SmrgVERSION 71010998002SmrgPACKAGE 71110998002SmrgCYGPATH_W 71210998002Smrgam__isrc 71310998002SmrgINSTALL_DATA 71410998002SmrgINSTALL_SCRIPT 71510998002SmrgINSTALL_PROGRAM 71610998002Smrgtarget_alias 71710998002Smrghost_alias 71810998002Smrgbuild_alias 71910998002SmrgLIBS 72010998002SmrgECHO_T 72110998002SmrgECHO_N 72210998002SmrgECHO_C 72310998002SmrgDEFS 72410998002Smrgmandir 72510998002Smrglocaledir 72610998002Smrglibdir 72710998002Smrgpsdir 72810998002Smrgpdfdir 72910998002Smrgdvidir 73010998002Smrghtmldir 73110998002Smrginfodir 73210998002Smrgdocdir 73310998002Smrgoldincludedir 73410998002Smrgincludedir 73510998002Smrglocalstatedir 73610998002Smrgsharedstatedir 73710998002Smrgsysconfdir 73810998002Smrgdatadir 73910998002Smrgdatarootdir 74010998002Smrglibexecdir 74110998002Smrgsbindir 74210998002Smrgbindir 74310998002Smrgprogram_transform_name 74410998002Smrgprefix 74510998002Smrgexec_prefix 74610998002SmrgPACKAGE_BUGREPORT 74710998002SmrgPACKAGE_STRING 74810998002SmrgPACKAGE_VERSION 74910998002SmrgPACKAGE_TARNAME 75010998002SmrgPACKAGE_NAME 75110998002SmrgPATH_SEPARATOR 75210998002SmrgSHELL' 753ff7e0accSmrgac_subst_files='' 754a005d216Smrgac_user_opts=' 755a005d216Smrgenable_option_checking 756a005d216Smrgenable_maintainer_mode 757a005d216Smrgenable_dependency_tracking 75810998002Smrgenable_silent_rules 75910998002Smrgenable_strict_compilation 760a005d216Smrgwith_release_version 761a005d216Smrg' 762ff7e0accSmrg ac_precious_vars='build_alias 763ff7e0accSmrghost_alias 764ff7e0accSmrgtarget_alias 765ff7e0accSmrgCC 766ff7e0accSmrgCFLAGS 767ff7e0accSmrgLDFLAGS 768ff7e0accSmrgLIBS 769ff7e0accSmrgCPPFLAGS 77010998002SmrgCPP 771ff7e0accSmrgPKG_CONFIG 772ff7e0accSmrgXWININFO_CFLAGS 773ff7e0accSmrgXWININFO_LIBS' 774ff7e0accSmrg 775ff7e0accSmrg 776ff7e0accSmrg# Initialize some variables set by options. 777ff7e0accSmrgac_init_help= 778ff7e0accSmrgac_init_version=false 779a005d216Smrgac_unrecognized_opts= 780a005d216Smrgac_unrecognized_sep= 781ff7e0accSmrg# The variables have the same names as the options, with 782ff7e0accSmrg# dashes changed to underlines. 783ff7e0accSmrgcache_file=/dev/null 784ff7e0accSmrgexec_prefix=NONE 785ff7e0accSmrgno_create= 786ff7e0accSmrgno_recursion= 787ff7e0accSmrgprefix=NONE 788ff7e0accSmrgprogram_prefix=NONE 789ff7e0accSmrgprogram_suffix=NONE 790ff7e0accSmrgprogram_transform_name=s,x,x, 791ff7e0accSmrgsilent= 792ff7e0accSmrgsite= 793ff7e0accSmrgsrcdir= 794ff7e0accSmrgverbose= 795ff7e0accSmrgx_includes=NONE 796ff7e0accSmrgx_libraries=NONE 797ff7e0accSmrg 798ff7e0accSmrg# Installation directory options. 799ff7e0accSmrg# These are left unexpanded so users can "make install exec_prefix=/foo" 800ff7e0accSmrg# and all the variables that are supposed to be based on exec_prefix 801ff7e0accSmrg# by default will actually change. 802ff7e0accSmrg# Use braces instead of parens because sh, perl, etc. also accept them. 803ff7e0accSmrg# (The list follows the same order as the GNU Coding Standards.) 804ff7e0accSmrgbindir='${exec_prefix}/bin' 805ff7e0accSmrgsbindir='${exec_prefix}/sbin' 806ff7e0accSmrglibexecdir='${exec_prefix}/libexec' 807ff7e0accSmrgdatarootdir='${prefix}/share' 808ff7e0accSmrgdatadir='${datarootdir}' 809ff7e0accSmrgsysconfdir='${prefix}/etc' 810ff7e0accSmrgsharedstatedir='${prefix}/com' 811ff7e0accSmrglocalstatedir='${prefix}/var' 812ff7e0accSmrgincludedir='${prefix}/include' 813ff7e0accSmrgoldincludedir='/usr/include' 814ff7e0accSmrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 815ff7e0accSmrginfodir='${datarootdir}/info' 816ff7e0accSmrghtmldir='${docdir}' 817ff7e0accSmrgdvidir='${docdir}' 818ff7e0accSmrgpdfdir='${docdir}' 819ff7e0accSmrgpsdir='${docdir}' 820ff7e0accSmrglibdir='${exec_prefix}/lib' 821ff7e0accSmrglocaledir='${datarootdir}/locale' 822ff7e0accSmrgmandir='${datarootdir}/man' 823ff7e0accSmrg 824ff7e0accSmrgac_prev= 825ff7e0accSmrgac_dashdash= 826ff7e0accSmrgfor ac_option 827ff7e0accSmrgdo 828ff7e0accSmrg # If the previous option needs an argument, assign it. 829ff7e0accSmrg if test -n "$ac_prev"; then 830ff7e0accSmrg eval $ac_prev=\$ac_option 831ff7e0accSmrg ac_prev= 832ff7e0accSmrg continue 833ff7e0accSmrg fi 834ff7e0accSmrg 835ff7e0accSmrg case $ac_option in 836ff7e0accSmrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 837ff7e0accSmrg *) ac_optarg=yes ;; 838ff7e0accSmrg esac 839ff7e0accSmrg 840ff7e0accSmrg # Accept the important Cygnus configure options, so we can diagnose typos. 841ff7e0accSmrg 842ff7e0accSmrg case $ac_dashdash$ac_option in 843ff7e0accSmrg --) 844ff7e0accSmrg ac_dashdash=yes ;; 845ff7e0accSmrg 846ff7e0accSmrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 847ff7e0accSmrg ac_prev=bindir ;; 848ff7e0accSmrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 849ff7e0accSmrg bindir=$ac_optarg ;; 850ff7e0accSmrg 851ff7e0accSmrg -build | --build | --buil | --bui | --bu) 852ff7e0accSmrg ac_prev=build_alias ;; 853ff7e0accSmrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 854ff7e0accSmrg build_alias=$ac_optarg ;; 855ff7e0accSmrg 856ff7e0accSmrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 857ff7e0accSmrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 858ff7e0accSmrg ac_prev=cache_file ;; 859ff7e0accSmrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 860ff7e0accSmrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 861ff7e0accSmrg cache_file=$ac_optarg ;; 862ff7e0accSmrg 863ff7e0accSmrg --config-cache | -C) 864ff7e0accSmrg cache_file=config.cache ;; 865ff7e0accSmrg 866ff7e0accSmrg -datadir | --datadir | --datadi | --datad) 867ff7e0accSmrg ac_prev=datadir ;; 868ff7e0accSmrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 869ff7e0accSmrg datadir=$ac_optarg ;; 870ff7e0accSmrg 871ff7e0accSmrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 872ff7e0accSmrg | --dataroo | --dataro | --datar) 873ff7e0accSmrg ac_prev=datarootdir ;; 874ff7e0accSmrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 875ff7e0accSmrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 876ff7e0accSmrg datarootdir=$ac_optarg ;; 877ff7e0accSmrg 878ff7e0accSmrg -disable-* | --disable-*) 879a005d216Smrg ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 880ff7e0accSmrg # Reject names that are not valid shell variable names. 881a005d216Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 882a005d216Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 883ff7e0accSmrg { (exit 1); exit 1; }; } 884a005d216Smrg ac_useropt_orig=$ac_useropt 885a005d216Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 886a005d216Smrg case $ac_user_opts in 887a005d216Smrg *" 888a005d216Smrg"enable_$ac_useropt" 889a005d216Smrg"*) ;; 890a005d216Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 891a005d216Smrg ac_unrecognized_sep=', ';; 892a005d216Smrg esac 893a005d216Smrg eval enable_$ac_useropt=no ;; 894ff7e0accSmrg 895ff7e0accSmrg -docdir | --docdir | --docdi | --doc | --do) 896ff7e0accSmrg ac_prev=docdir ;; 897ff7e0accSmrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 898ff7e0accSmrg docdir=$ac_optarg ;; 899ff7e0accSmrg 900ff7e0accSmrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 901ff7e0accSmrg ac_prev=dvidir ;; 902ff7e0accSmrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 903ff7e0accSmrg dvidir=$ac_optarg ;; 904ff7e0accSmrg 905ff7e0accSmrg -enable-* | --enable-*) 906a005d216Smrg ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 907ff7e0accSmrg # Reject names that are not valid shell variable names. 908a005d216Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 909a005d216Smrg { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 910ff7e0accSmrg { (exit 1); exit 1; }; } 911a005d216Smrg ac_useropt_orig=$ac_useropt 912a005d216Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 913a005d216Smrg case $ac_user_opts in 914a005d216Smrg *" 915a005d216Smrg"enable_$ac_useropt" 916a005d216Smrg"*) ;; 917a005d216Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 918a005d216Smrg ac_unrecognized_sep=', ';; 919a005d216Smrg esac 920a005d216Smrg eval enable_$ac_useropt=\$ac_optarg ;; 921ff7e0accSmrg 922ff7e0accSmrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 923ff7e0accSmrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 924ff7e0accSmrg | --exec | --exe | --ex) 925ff7e0accSmrg ac_prev=exec_prefix ;; 926ff7e0accSmrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 927ff7e0accSmrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 928ff7e0accSmrg | --exec=* | --exe=* | --ex=*) 929ff7e0accSmrg exec_prefix=$ac_optarg ;; 930ff7e0accSmrg 931ff7e0accSmrg -gas | --gas | --ga | --g) 932ff7e0accSmrg # Obsolete; use --with-gas. 933ff7e0accSmrg with_gas=yes ;; 934ff7e0accSmrg 935ff7e0accSmrg -help | --help | --hel | --he | -h) 936ff7e0accSmrg ac_init_help=long ;; 937ff7e0accSmrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 938ff7e0accSmrg ac_init_help=recursive ;; 939ff7e0accSmrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 940ff7e0accSmrg ac_init_help=short ;; 941ff7e0accSmrg 942ff7e0accSmrg -host | --host | --hos | --ho) 943ff7e0accSmrg ac_prev=host_alias ;; 944ff7e0accSmrg -host=* | --host=* | --hos=* | --ho=*) 945ff7e0accSmrg host_alias=$ac_optarg ;; 946ff7e0accSmrg 947ff7e0accSmrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 948ff7e0accSmrg ac_prev=htmldir ;; 949ff7e0accSmrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 950ff7e0accSmrg | --ht=*) 951ff7e0accSmrg htmldir=$ac_optarg ;; 952ff7e0accSmrg 953ff7e0accSmrg -includedir | --includedir | --includedi | --included | --include \ 954ff7e0accSmrg | --includ | --inclu | --incl | --inc) 955ff7e0accSmrg ac_prev=includedir ;; 956ff7e0accSmrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 957ff7e0accSmrg | --includ=* | --inclu=* | --incl=* | --inc=*) 958ff7e0accSmrg includedir=$ac_optarg ;; 959ff7e0accSmrg 960ff7e0accSmrg -infodir | --infodir | --infodi | --infod | --info | --inf) 961ff7e0accSmrg ac_prev=infodir ;; 962ff7e0accSmrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 963ff7e0accSmrg infodir=$ac_optarg ;; 964ff7e0accSmrg 965ff7e0accSmrg -libdir | --libdir | --libdi | --libd) 966ff7e0accSmrg ac_prev=libdir ;; 967ff7e0accSmrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 968ff7e0accSmrg libdir=$ac_optarg ;; 969ff7e0accSmrg 970ff7e0accSmrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 971ff7e0accSmrg | --libexe | --libex | --libe) 972ff7e0accSmrg ac_prev=libexecdir ;; 973ff7e0accSmrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 974ff7e0accSmrg | --libexe=* | --libex=* | --libe=*) 975ff7e0accSmrg libexecdir=$ac_optarg ;; 976ff7e0accSmrg 977ff7e0accSmrg -localedir | --localedir | --localedi | --localed | --locale) 978ff7e0accSmrg ac_prev=localedir ;; 979ff7e0accSmrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 980ff7e0accSmrg localedir=$ac_optarg ;; 981ff7e0accSmrg 982ff7e0accSmrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 983ff7e0accSmrg | --localstate | --localstat | --localsta | --localst | --locals) 984ff7e0accSmrg ac_prev=localstatedir ;; 985ff7e0accSmrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 986ff7e0accSmrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 987ff7e0accSmrg localstatedir=$ac_optarg ;; 988ff7e0accSmrg 989ff7e0accSmrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 990ff7e0accSmrg ac_prev=mandir ;; 991ff7e0accSmrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 992ff7e0accSmrg mandir=$ac_optarg ;; 993ff7e0accSmrg 994ff7e0accSmrg -nfp | --nfp | --nf) 995ff7e0accSmrg # Obsolete; use --without-fp. 996ff7e0accSmrg with_fp=no ;; 997ff7e0accSmrg 998ff7e0accSmrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 999ff7e0accSmrg | --no-cr | --no-c | -n) 1000ff7e0accSmrg no_create=yes ;; 1001ff7e0accSmrg 1002ff7e0accSmrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1003ff7e0accSmrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1004ff7e0accSmrg no_recursion=yes ;; 1005ff7e0accSmrg 1006ff7e0accSmrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1007ff7e0accSmrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1008ff7e0accSmrg | --oldin | --oldi | --old | --ol | --o) 1009ff7e0accSmrg ac_prev=oldincludedir ;; 1010ff7e0accSmrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1011ff7e0accSmrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1012ff7e0accSmrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1013ff7e0accSmrg oldincludedir=$ac_optarg ;; 1014ff7e0accSmrg 1015ff7e0accSmrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1016ff7e0accSmrg ac_prev=prefix ;; 1017ff7e0accSmrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1018ff7e0accSmrg prefix=$ac_optarg ;; 1019ff7e0accSmrg 1020ff7e0accSmrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1021ff7e0accSmrg | --program-pre | --program-pr | --program-p) 1022ff7e0accSmrg ac_prev=program_prefix ;; 1023ff7e0accSmrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1024ff7e0accSmrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1025ff7e0accSmrg program_prefix=$ac_optarg ;; 1026ff7e0accSmrg 1027ff7e0accSmrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1028ff7e0accSmrg | --program-suf | --program-su | --program-s) 1029ff7e0accSmrg ac_prev=program_suffix ;; 1030ff7e0accSmrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1031ff7e0accSmrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1032ff7e0accSmrg program_suffix=$ac_optarg ;; 1033ff7e0accSmrg 1034ff7e0accSmrg -program-transform-name | --program-transform-name \ 1035ff7e0accSmrg | --program-transform-nam | --program-transform-na \ 1036ff7e0accSmrg | --program-transform-n | --program-transform- \ 1037ff7e0accSmrg | --program-transform | --program-transfor \ 1038ff7e0accSmrg | --program-transfo | --program-transf \ 1039ff7e0accSmrg | --program-trans | --program-tran \ 1040ff7e0accSmrg | --progr-tra | --program-tr | --program-t) 1041ff7e0accSmrg ac_prev=program_transform_name ;; 1042ff7e0accSmrg -program-transform-name=* | --program-transform-name=* \ 1043ff7e0accSmrg | --program-transform-nam=* | --program-transform-na=* \ 1044ff7e0accSmrg | --program-transform-n=* | --program-transform-=* \ 1045ff7e0accSmrg | --program-transform=* | --program-transfor=* \ 1046ff7e0accSmrg | --program-transfo=* | --program-transf=* \ 1047ff7e0accSmrg | --program-trans=* | --program-tran=* \ 1048ff7e0accSmrg | --progr-tra=* | --program-tr=* | --program-t=*) 1049ff7e0accSmrg program_transform_name=$ac_optarg ;; 1050ff7e0accSmrg 1051ff7e0accSmrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1052ff7e0accSmrg ac_prev=pdfdir ;; 1053ff7e0accSmrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1054ff7e0accSmrg pdfdir=$ac_optarg ;; 1055ff7e0accSmrg 1056ff7e0accSmrg -psdir | --psdir | --psdi | --psd | --ps) 1057ff7e0accSmrg ac_prev=psdir ;; 1058ff7e0accSmrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1059ff7e0accSmrg psdir=$ac_optarg ;; 1060ff7e0accSmrg 1061ff7e0accSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1062ff7e0accSmrg | -silent | --silent | --silen | --sile | --sil) 1063ff7e0accSmrg silent=yes ;; 1064ff7e0accSmrg 1065ff7e0accSmrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1066ff7e0accSmrg ac_prev=sbindir ;; 1067ff7e0accSmrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1068ff7e0accSmrg | --sbi=* | --sb=*) 1069ff7e0accSmrg sbindir=$ac_optarg ;; 1070ff7e0accSmrg 1071ff7e0accSmrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1072ff7e0accSmrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1073ff7e0accSmrg | --sharedst | --shareds | --shared | --share | --shar \ 1074ff7e0accSmrg | --sha | --sh) 1075ff7e0accSmrg ac_prev=sharedstatedir ;; 1076ff7e0accSmrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1077ff7e0accSmrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1078ff7e0accSmrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1079ff7e0accSmrg | --sha=* | --sh=*) 1080ff7e0accSmrg sharedstatedir=$ac_optarg ;; 1081ff7e0accSmrg 1082ff7e0accSmrg -site | --site | --sit) 1083ff7e0accSmrg ac_prev=site ;; 1084ff7e0accSmrg -site=* | --site=* | --sit=*) 1085ff7e0accSmrg site=$ac_optarg ;; 1086ff7e0accSmrg 1087ff7e0accSmrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1088ff7e0accSmrg ac_prev=srcdir ;; 1089ff7e0accSmrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1090ff7e0accSmrg srcdir=$ac_optarg ;; 1091ff7e0accSmrg 1092ff7e0accSmrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1093ff7e0accSmrg | --syscon | --sysco | --sysc | --sys | --sy) 1094ff7e0accSmrg ac_prev=sysconfdir ;; 1095ff7e0accSmrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1096ff7e0accSmrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1097ff7e0accSmrg sysconfdir=$ac_optarg ;; 1098ff7e0accSmrg 1099ff7e0accSmrg -target | --target | --targe | --targ | --tar | --ta | --t) 1100ff7e0accSmrg ac_prev=target_alias ;; 1101ff7e0accSmrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1102ff7e0accSmrg target_alias=$ac_optarg ;; 1103ff7e0accSmrg 1104ff7e0accSmrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 1105ff7e0accSmrg verbose=yes ;; 1106ff7e0accSmrg 1107ff7e0accSmrg -version | --version | --versio | --versi | --vers | -V) 1108ff7e0accSmrg ac_init_version=: ;; 1109ff7e0accSmrg 1110ff7e0accSmrg -with-* | --with-*) 1111a005d216Smrg ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1112ff7e0accSmrg # Reject names that are not valid shell variable names. 1113a005d216Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1114a005d216Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1115ff7e0accSmrg { (exit 1); exit 1; }; } 1116a005d216Smrg ac_useropt_orig=$ac_useropt 1117a005d216Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1118a005d216Smrg case $ac_user_opts in 1119a005d216Smrg *" 1120a005d216Smrg"with_$ac_useropt" 1121a005d216Smrg"*) ;; 1122a005d216Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1123a005d216Smrg ac_unrecognized_sep=', ';; 1124a005d216Smrg esac 1125a005d216Smrg eval with_$ac_useropt=\$ac_optarg ;; 1126ff7e0accSmrg 1127ff7e0accSmrg -without-* | --without-*) 1128a005d216Smrg ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1129ff7e0accSmrg # Reject names that are not valid shell variable names. 1130a005d216Smrg expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1131a005d216Smrg { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1132ff7e0accSmrg { (exit 1); exit 1; }; } 1133a005d216Smrg ac_useropt_orig=$ac_useropt 1134a005d216Smrg ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1135a005d216Smrg case $ac_user_opts in 1136a005d216Smrg *" 1137a005d216Smrg"with_$ac_useropt" 1138a005d216Smrg"*) ;; 1139a005d216Smrg *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1140a005d216Smrg ac_unrecognized_sep=', ';; 1141a005d216Smrg esac 1142a005d216Smrg eval with_$ac_useropt=no ;; 1143ff7e0accSmrg 1144ff7e0accSmrg --x) 1145ff7e0accSmrg # Obsolete; use --with-x. 1146ff7e0accSmrg with_x=yes ;; 1147ff7e0accSmrg 1148ff7e0accSmrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1149ff7e0accSmrg | --x-incl | --x-inc | --x-in | --x-i) 1150ff7e0accSmrg ac_prev=x_includes ;; 1151ff7e0accSmrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1152ff7e0accSmrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1153ff7e0accSmrg x_includes=$ac_optarg ;; 1154ff7e0accSmrg 1155ff7e0accSmrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1156ff7e0accSmrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1157ff7e0accSmrg ac_prev=x_libraries ;; 1158ff7e0accSmrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1159ff7e0accSmrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1160ff7e0accSmrg x_libraries=$ac_optarg ;; 1161ff7e0accSmrg 1162a005d216Smrg -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1163ff7e0accSmrgTry \`$0 --help' for more information." >&2 1164ff7e0accSmrg { (exit 1); exit 1; }; } 1165ff7e0accSmrg ;; 1166ff7e0accSmrg 1167ff7e0accSmrg *=*) 1168ff7e0accSmrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1169ff7e0accSmrg # Reject names that are not valid shell variable names. 1170ff7e0accSmrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1171a005d216Smrg { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1172ff7e0accSmrg { (exit 1); exit 1; }; } 1173ff7e0accSmrg eval $ac_envvar=\$ac_optarg 1174ff7e0accSmrg export $ac_envvar ;; 1175ff7e0accSmrg 1176ff7e0accSmrg *) 1177ff7e0accSmrg # FIXME: should be removed in autoconf 3.0. 1178a005d216Smrg $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1179ff7e0accSmrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1180a005d216Smrg $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1181ff7e0accSmrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1182ff7e0accSmrg ;; 1183ff7e0accSmrg 1184ff7e0accSmrg esac 1185ff7e0accSmrgdone 1186ff7e0accSmrg 1187ff7e0accSmrgif test -n "$ac_prev"; then 1188ff7e0accSmrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1189a005d216Smrg { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1190ff7e0accSmrg { (exit 1); exit 1; }; } 1191ff7e0accSmrgfi 1192ff7e0accSmrg 1193a005d216Smrgif test -n "$ac_unrecognized_opts"; then 1194a005d216Smrg case $enable_option_checking in 1195a005d216Smrg no) ;; 119610998002Smrg fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 1197a005d216Smrg { (exit 1); exit 1; }; } ;; 119810998002Smrg *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1199a005d216Smrg esac 1200a005d216Smrgfi 1201a005d216Smrg 1202a005d216Smrg# Check all directory arguments for consistency. 1203ff7e0accSmrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1204ff7e0accSmrg datadir sysconfdir sharedstatedir localstatedir includedir \ 1205ff7e0accSmrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1206ff7e0accSmrg libdir localedir mandir 1207ff7e0accSmrgdo 1208ff7e0accSmrg eval ac_val=\$$ac_var 1209a005d216Smrg # Remove trailing slashes. 1210a005d216Smrg case $ac_val in 1211a005d216Smrg */ ) 1212a005d216Smrg ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1213a005d216Smrg eval $ac_var=\$ac_val;; 1214a005d216Smrg esac 1215a005d216Smrg # Be sure to have absolute directory names. 1216ff7e0accSmrg case $ac_val in 1217ff7e0accSmrg [\\/$]* | ?:[\\/]* ) continue;; 1218ff7e0accSmrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1219ff7e0accSmrg esac 1220a005d216Smrg { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1221ff7e0accSmrg { (exit 1); exit 1; }; } 1222ff7e0accSmrgdone 1223ff7e0accSmrg 1224ff7e0accSmrg# There might be people who depend on the old broken behavior: `$host' 1225ff7e0accSmrg# used to hold the argument of --host etc. 1226ff7e0accSmrg# FIXME: To remove some day. 1227ff7e0accSmrgbuild=$build_alias 1228ff7e0accSmrghost=$host_alias 1229ff7e0accSmrgtarget=$target_alias 1230ff7e0accSmrg 1231ff7e0accSmrg# FIXME: To remove some day. 1232ff7e0accSmrgif test "x$host_alias" != x; then 1233ff7e0accSmrg if test "x$build_alias" = x; then 1234ff7e0accSmrg cross_compiling=maybe 1235a005d216Smrg $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1236ff7e0accSmrg If a cross compiler is detected then cross compile mode will be used." >&2 1237ff7e0accSmrg elif test "x$build_alias" != "x$host_alias"; then 1238ff7e0accSmrg cross_compiling=yes 1239ff7e0accSmrg fi 1240ff7e0accSmrgfi 1241ff7e0accSmrg 1242ff7e0accSmrgac_tool_prefix= 1243ff7e0accSmrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 1244ff7e0accSmrg 1245ff7e0accSmrgtest "$silent" = yes && exec 6>/dev/null 1246ff7e0accSmrg 1247ff7e0accSmrg 1248ff7e0accSmrgac_pwd=`pwd` && test -n "$ac_pwd" && 1249ff7e0accSmrgac_ls_di=`ls -di .` && 1250ff7e0accSmrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 125110998002Smrg { $as_echo "$as_me: error: working directory cannot be determined" >&2 1252ff7e0accSmrg { (exit 1); exit 1; }; } 1253ff7e0accSmrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1254a005d216Smrg { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1255ff7e0accSmrg { (exit 1); exit 1; }; } 1256ff7e0accSmrg 1257ff7e0accSmrg 1258ff7e0accSmrg# Find the source files, if location was not specified. 1259ff7e0accSmrgif test -z "$srcdir"; then 1260ff7e0accSmrg ac_srcdir_defaulted=yes 1261ff7e0accSmrg # Try the directory containing this script, then the parent directory. 1262a005d216Smrg ac_confdir=`$as_dirname -- "$as_myself" || 1263a005d216Smrg$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1264a005d216Smrg X"$as_myself" : 'X\(//\)[^/]' \| \ 1265a005d216Smrg X"$as_myself" : 'X\(//\)$' \| \ 1266a005d216Smrg X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1267a005d216Smrg$as_echo X"$as_myself" | 1268ff7e0accSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1269ff7e0accSmrg s//\1/ 1270ff7e0accSmrg q 1271ff7e0accSmrg } 1272ff7e0accSmrg /^X\(\/\/\)[^/].*/{ 1273ff7e0accSmrg s//\1/ 1274ff7e0accSmrg q 1275ff7e0accSmrg } 1276ff7e0accSmrg /^X\(\/\/\)$/{ 1277ff7e0accSmrg s//\1/ 1278ff7e0accSmrg q 1279ff7e0accSmrg } 1280ff7e0accSmrg /^X\(\/\).*/{ 1281ff7e0accSmrg s//\1/ 1282ff7e0accSmrg q 1283ff7e0accSmrg } 1284ff7e0accSmrg s/.*/./; q'` 1285ff7e0accSmrg srcdir=$ac_confdir 1286ff7e0accSmrg if test ! -r "$srcdir/$ac_unique_file"; then 1287ff7e0accSmrg srcdir=.. 1288ff7e0accSmrg fi 1289ff7e0accSmrgelse 1290ff7e0accSmrg ac_srcdir_defaulted=no 1291ff7e0accSmrgfi 1292ff7e0accSmrgif test ! -r "$srcdir/$ac_unique_file"; then 1293ff7e0accSmrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1294a005d216Smrg { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1295ff7e0accSmrg { (exit 1); exit 1; }; } 1296ff7e0accSmrgfi 1297ff7e0accSmrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1298ff7e0accSmrgac_abs_confdir=`( 1299a005d216Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1300ff7e0accSmrg { (exit 1); exit 1; }; } 1301ff7e0accSmrg pwd)` 1302ff7e0accSmrg# When building in place, set srcdir=. 1303ff7e0accSmrgif test "$ac_abs_confdir" = "$ac_pwd"; then 1304ff7e0accSmrg srcdir=. 1305ff7e0accSmrgfi 1306ff7e0accSmrg# Remove unnecessary trailing slashes from srcdir. 1307ff7e0accSmrg# Double slashes in file names in object file debugging info 1308ff7e0accSmrg# mess up M-x gdb in Emacs. 1309ff7e0accSmrgcase $srcdir in 1310ff7e0accSmrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1311ff7e0accSmrgesac 1312ff7e0accSmrgfor ac_var in $ac_precious_vars; do 1313ff7e0accSmrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 1314ff7e0accSmrg eval ac_env_${ac_var}_value=\$${ac_var} 1315ff7e0accSmrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1316ff7e0accSmrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 1317ff7e0accSmrgdone 1318ff7e0accSmrg 1319ff7e0accSmrg# 1320ff7e0accSmrg# Report the --help message. 1321ff7e0accSmrg# 1322ff7e0accSmrgif test "$ac_init_help" = "long"; then 1323ff7e0accSmrg # Omit some internal or obsolete options to make the list less imposing. 1324ff7e0accSmrg # This message is too long to be a string in the A/UX 3.1 sh. 1325ff7e0accSmrg cat <<_ACEOF 132610998002Smrg\`configure' configures xwininfo 1.0.5 to adapt to many kinds of systems. 1327ff7e0accSmrg 1328ff7e0accSmrgUsage: $0 [OPTION]... [VAR=VALUE]... 1329ff7e0accSmrg 1330ff7e0accSmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 1331ff7e0accSmrgVAR=VALUE. See below for descriptions of some of the useful variables. 1332ff7e0accSmrg 1333ff7e0accSmrgDefaults for the options are specified in brackets. 1334ff7e0accSmrg 1335ff7e0accSmrgConfiguration: 1336ff7e0accSmrg -h, --help display this help and exit 1337ff7e0accSmrg --help=short display options specific to this package 1338ff7e0accSmrg --help=recursive display the short help of all the included packages 1339ff7e0accSmrg -V, --version display version information and exit 1340ff7e0accSmrg -q, --quiet, --silent do not print \`checking...' messages 1341ff7e0accSmrg --cache-file=FILE cache test results in FILE [disabled] 1342ff7e0accSmrg -C, --config-cache alias for \`--cache-file=config.cache' 1343ff7e0accSmrg -n, --no-create do not create output files 1344ff7e0accSmrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1345ff7e0accSmrg 1346ff7e0accSmrgInstallation directories: 1347ff7e0accSmrg --prefix=PREFIX install architecture-independent files in PREFIX 1348a005d216Smrg [$ac_default_prefix] 1349ff7e0accSmrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1350a005d216Smrg [PREFIX] 1351ff7e0accSmrg 1352ff7e0accSmrgBy default, \`make install' will install all the files in 1353ff7e0accSmrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1354ff7e0accSmrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 1355ff7e0accSmrgfor instance \`--prefix=\$HOME'. 1356ff7e0accSmrg 1357ff7e0accSmrgFor better control, use the options below. 1358ff7e0accSmrg 1359ff7e0accSmrgFine tuning of the installation directories: 1360a005d216Smrg --bindir=DIR user executables [EPREFIX/bin] 1361a005d216Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 1362a005d216Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 1363a005d216Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1364a005d216Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1365a005d216Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1366a005d216Smrg --libdir=DIR object code libraries [EPREFIX/lib] 1367a005d216Smrg --includedir=DIR C header files [PREFIX/include] 1368a005d216Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 1369a005d216Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1370a005d216Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1371a005d216Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 1372a005d216Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1373a005d216Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 1374a005d216Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xwininfo] 1375a005d216Smrg --htmldir=DIR html documentation [DOCDIR] 1376a005d216Smrg --dvidir=DIR dvi documentation [DOCDIR] 1377a005d216Smrg --pdfdir=DIR pdf documentation [DOCDIR] 1378a005d216Smrg --psdir=DIR ps documentation [DOCDIR] 1379ff7e0accSmrg_ACEOF 1380ff7e0accSmrg 1381ff7e0accSmrg cat <<\_ACEOF 1382ff7e0accSmrg 1383ff7e0accSmrgProgram names: 1384ff7e0accSmrg --program-prefix=PREFIX prepend PREFIX to installed program names 1385ff7e0accSmrg --program-suffix=SUFFIX append SUFFIX to installed program names 1386ff7e0accSmrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1387ff7e0accSmrg 1388ff7e0accSmrgSystem types: 1389ff7e0accSmrg --build=BUILD configure for building on BUILD [guessed] 1390ff7e0accSmrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 1391ff7e0accSmrg_ACEOF 1392ff7e0accSmrgfi 1393ff7e0accSmrg 1394ff7e0accSmrgif test -n "$ac_init_help"; then 1395ff7e0accSmrg case $ac_init_help in 139610998002Smrg short | recursive ) echo "Configuration of xwininfo 1.0.5:";; 1397ff7e0accSmrg esac 1398ff7e0accSmrg cat <<\_ACEOF 1399ff7e0accSmrg 1400ff7e0accSmrgOptional Features: 1401a005d216Smrg --disable-option-checking ignore unrecognized --enable/--with options 1402ff7e0accSmrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1403ff7e0accSmrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1404ff7e0accSmrg --enable-maintainer-mode enable make rules and dependencies not useful 1405ff7e0accSmrg (and sometimes confusing) to the casual installer 1406ff7e0accSmrg --disable-dependency-tracking speeds up one-time build 1407ff7e0accSmrg --enable-dependency-tracking do not reject slow dependency extractors 140810998002Smrg --enable-silent-rules less verbose build output (undo: `make V=1') 140910998002Smrg --disable-silent-rules verbose build output (undo: `make V=0') 141010998002Smrg --enable-strict-compilation 141110998002Smrg Enable all warnings from compiler and make them 141210998002Smrg errors (default: disabled) 1413ff7e0accSmrg 1414ff7e0accSmrgOptional Packages: 1415ff7e0accSmrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1416ff7e0accSmrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1417ff7e0accSmrg --with-release-version=STRING 1418ff7e0accSmrg Use release version string in package name 1419ff7e0accSmrg 1420ff7e0accSmrgSome influential environment variables: 1421ff7e0accSmrg CC C compiler command 1422ff7e0accSmrg CFLAGS C compiler flags 1423ff7e0accSmrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1424ff7e0accSmrg nonstandard directory <lib dir> 1425ff7e0accSmrg LIBS libraries to pass to the linker, e.g. -l<library> 1426ff7e0accSmrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1427ff7e0accSmrg you have headers in a nonstandard directory <include dir> 142810998002Smrg CPP C preprocessor 1429ff7e0accSmrg PKG_CONFIG path to pkg-config utility 1430ff7e0accSmrg XWININFO_CFLAGS 1431ff7e0accSmrg C compiler flags for XWININFO, overriding pkg-config 1432ff7e0accSmrg XWININFO_LIBS 1433ff7e0accSmrg linker flags for XWININFO, overriding pkg-config 1434ff7e0accSmrg 1435ff7e0accSmrgUse these variables to override the choices made by `configure' or to help 1436ff7e0accSmrgit to find libraries and programs with nonstandard names/locations. 1437ff7e0accSmrg 1438ff7e0accSmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 1439ff7e0accSmrg_ACEOF 1440ff7e0accSmrgac_status=$? 1441ff7e0accSmrgfi 1442ff7e0accSmrg 1443ff7e0accSmrgif test "$ac_init_help" = "recursive"; then 1444ff7e0accSmrg # If there are subdirs, report their specific --help. 1445ff7e0accSmrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1446a005d216Smrg test -d "$ac_dir" || 1447a005d216Smrg { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1448a005d216Smrg continue 1449ff7e0accSmrg ac_builddir=. 1450ff7e0accSmrg 1451ff7e0accSmrgcase "$ac_dir" in 1452ff7e0accSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1453ff7e0accSmrg*) 1454a005d216Smrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1455ff7e0accSmrg # A ".." for each directory in $ac_dir_suffix. 1456a005d216Smrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1457ff7e0accSmrg case $ac_top_builddir_sub in 1458ff7e0accSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1459ff7e0accSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1460ff7e0accSmrg esac ;; 1461ff7e0accSmrgesac 1462ff7e0accSmrgac_abs_top_builddir=$ac_pwd 1463ff7e0accSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 1464ff7e0accSmrg# for backward compatibility: 1465ff7e0accSmrgac_top_builddir=$ac_top_build_prefix 1466ff7e0accSmrg 1467ff7e0accSmrgcase $srcdir in 1468ff7e0accSmrg .) # We are building in place. 1469ff7e0accSmrg ac_srcdir=. 1470ff7e0accSmrg ac_top_srcdir=$ac_top_builddir_sub 1471ff7e0accSmrg ac_abs_top_srcdir=$ac_pwd ;; 1472ff7e0accSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 1473ff7e0accSmrg ac_srcdir=$srcdir$ac_dir_suffix; 1474ff7e0accSmrg ac_top_srcdir=$srcdir 1475ff7e0accSmrg ac_abs_top_srcdir=$srcdir ;; 1476ff7e0accSmrg *) # Relative name. 1477ff7e0accSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1478ff7e0accSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 1479ff7e0accSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1480ff7e0accSmrgesac 1481ff7e0accSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1482ff7e0accSmrg 1483ff7e0accSmrg cd "$ac_dir" || { ac_status=$?; continue; } 1484ff7e0accSmrg # Check for guested configure. 1485ff7e0accSmrg if test -f "$ac_srcdir/configure.gnu"; then 1486ff7e0accSmrg echo && 1487ff7e0accSmrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1488ff7e0accSmrg elif test -f "$ac_srcdir/configure"; then 1489ff7e0accSmrg echo && 1490ff7e0accSmrg $SHELL "$ac_srcdir/configure" --help=recursive 1491ff7e0accSmrg else 1492a005d216Smrg $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1493ff7e0accSmrg fi || ac_status=$? 1494ff7e0accSmrg cd "$ac_pwd" || { ac_status=$?; break; } 1495ff7e0accSmrg done 1496ff7e0accSmrgfi 1497ff7e0accSmrg 1498ff7e0accSmrgtest -n "$ac_init_help" && exit $ac_status 1499ff7e0accSmrgif $ac_init_version; then 1500ff7e0accSmrg cat <<\_ACEOF 150110998002Smrgxwininfo configure 1.0.5 150210998002Smrggenerated by GNU Autoconf 2.63 1503ff7e0accSmrg 1504ff7e0accSmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1505a005d216Smrg2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1506ff7e0accSmrgThis configure script is free software; the Free Software Foundation 1507ff7e0accSmrggives unlimited permission to copy, distribute and modify it. 1508ff7e0accSmrg_ACEOF 1509ff7e0accSmrg exit 1510ff7e0accSmrgfi 1511ff7e0accSmrgcat >config.log <<_ACEOF 1512ff7e0accSmrgThis file contains any messages produced by compilers while 1513ff7e0accSmrgrunning configure, to aid debugging if configure makes a mistake. 1514ff7e0accSmrg 151510998002SmrgIt was created by xwininfo $as_me 1.0.5, which was 151610998002Smrggenerated by GNU Autoconf 2.63. Invocation command line was 1517ff7e0accSmrg 1518ff7e0accSmrg $ $0 $@ 1519ff7e0accSmrg 1520ff7e0accSmrg_ACEOF 1521ff7e0accSmrgexec 5>>config.log 1522ff7e0accSmrg{ 1523ff7e0accSmrgcat <<_ASUNAME 1524ff7e0accSmrg## --------- ## 1525ff7e0accSmrg## Platform. ## 1526ff7e0accSmrg## --------- ## 1527ff7e0accSmrg 1528ff7e0accSmrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1529ff7e0accSmrguname -m = `(uname -m) 2>/dev/null || echo unknown` 1530ff7e0accSmrguname -r = `(uname -r) 2>/dev/null || echo unknown` 1531ff7e0accSmrguname -s = `(uname -s) 2>/dev/null || echo unknown` 1532ff7e0accSmrguname -v = `(uname -v) 2>/dev/null || echo unknown` 1533ff7e0accSmrg 1534ff7e0accSmrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1535ff7e0accSmrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1536ff7e0accSmrg 1537ff7e0accSmrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1538ff7e0accSmrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1539ff7e0accSmrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1540ff7e0accSmrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1541ff7e0accSmrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1542ff7e0accSmrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1543ff7e0accSmrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1544ff7e0accSmrg 1545ff7e0accSmrg_ASUNAME 1546ff7e0accSmrg 1547ff7e0accSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1548ff7e0accSmrgfor as_dir in $PATH 1549ff7e0accSmrgdo 1550ff7e0accSmrg IFS=$as_save_IFS 1551ff7e0accSmrg test -z "$as_dir" && as_dir=. 1552a005d216Smrg $as_echo "PATH: $as_dir" 1553ff7e0accSmrgdone 1554ff7e0accSmrgIFS=$as_save_IFS 1555ff7e0accSmrg 1556ff7e0accSmrg} >&5 1557ff7e0accSmrg 1558ff7e0accSmrgcat >&5 <<_ACEOF 1559ff7e0accSmrg 1560ff7e0accSmrg 1561ff7e0accSmrg## ----------- ## 1562ff7e0accSmrg## Core tests. ## 1563ff7e0accSmrg## ----------- ## 1564ff7e0accSmrg 1565ff7e0accSmrg_ACEOF 1566ff7e0accSmrg 1567ff7e0accSmrg 1568ff7e0accSmrg# Keep a trace of the command line. 1569ff7e0accSmrg# Strip out --no-create and --no-recursion so they do not pile up. 1570ff7e0accSmrg# Strip out --silent because we don't want to record it for future runs. 1571ff7e0accSmrg# Also quote any args containing shell meta-characters. 1572ff7e0accSmrg# Make two passes to allow for proper duplicate-argument suppression. 1573ff7e0accSmrgac_configure_args= 1574ff7e0accSmrgac_configure_args0= 1575ff7e0accSmrgac_configure_args1= 1576ff7e0accSmrgac_must_keep_next=false 1577ff7e0accSmrgfor ac_pass in 1 2 1578ff7e0accSmrgdo 1579ff7e0accSmrg for ac_arg 1580ff7e0accSmrg do 1581ff7e0accSmrg case $ac_arg in 1582ff7e0accSmrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1583ff7e0accSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1584ff7e0accSmrg | -silent | --silent | --silen | --sile | --sil) 1585ff7e0accSmrg continue ;; 1586ff7e0accSmrg *\'*) 1587a005d216Smrg ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1588ff7e0accSmrg esac 1589ff7e0accSmrg case $ac_pass in 1590ff7e0accSmrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1591ff7e0accSmrg 2) 1592ff7e0accSmrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1593ff7e0accSmrg if test $ac_must_keep_next = true; then 1594ff7e0accSmrg ac_must_keep_next=false # Got value, back to normal. 1595ff7e0accSmrg else 1596ff7e0accSmrg case $ac_arg in 1597ff7e0accSmrg *=* | --config-cache | -C | -disable-* | --disable-* \ 1598ff7e0accSmrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1599ff7e0accSmrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1600ff7e0accSmrg | -with-* | --with-* | -without-* | --without-* | --x) 1601ff7e0accSmrg case "$ac_configure_args0 " in 1602ff7e0accSmrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1603ff7e0accSmrg esac 1604ff7e0accSmrg ;; 1605ff7e0accSmrg -* ) ac_must_keep_next=true ;; 1606ff7e0accSmrg esac 1607ff7e0accSmrg fi 1608ff7e0accSmrg ac_configure_args="$ac_configure_args '$ac_arg'" 1609ff7e0accSmrg ;; 1610ff7e0accSmrg esac 1611ff7e0accSmrg done 1612ff7e0accSmrgdone 1613ff7e0accSmrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1614ff7e0accSmrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1615ff7e0accSmrg 1616ff7e0accSmrg# When interrupted or exit'd, cleanup temporary files, and complete 1617ff7e0accSmrg# config.log. We remove comments because anyway the quotes in there 1618ff7e0accSmrg# would cause problems or look ugly. 1619ff7e0accSmrg# WARNING: Use '\'' to represent an apostrophe within the trap. 1620ff7e0accSmrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1621ff7e0accSmrgtrap 'exit_status=$? 1622ff7e0accSmrg # Save into config.log some information that might help in debugging. 1623ff7e0accSmrg { 1624ff7e0accSmrg echo 1625ff7e0accSmrg 1626ff7e0accSmrg cat <<\_ASBOX 1627ff7e0accSmrg## ---------------- ## 1628ff7e0accSmrg## Cache variables. ## 1629ff7e0accSmrg## ---------------- ## 1630ff7e0accSmrg_ASBOX 1631ff7e0accSmrg echo 1632ff7e0accSmrg # The following way of writing the cache mishandles newlines in values, 1633ff7e0accSmrg( 1634ff7e0accSmrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1635ff7e0accSmrg eval ac_val=\$$ac_var 1636ff7e0accSmrg case $ac_val in #( 1637ff7e0accSmrg *${as_nl}*) 1638ff7e0accSmrg case $ac_var in #( 163910998002Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 164010998002Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1641ff7e0accSmrg esac 1642ff7e0accSmrg case $ac_var in #( 1643ff7e0accSmrg _ | IFS | as_nl) ;; #( 1644a005d216Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1645ff7e0accSmrg *) $as_unset $ac_var ;; 1646ff7e0accSmrg esac ;; 1647ff7e0accSmrg esac 1648ff7e0accSmrg done 1649ff7e0accSmrg (set) 2>&1 | 1650ff7e0accSmrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1651ff7e0accSmrg *${as_nl}ac_space=\ *) 1652ff7e0accSmrg sed -n \ 1653ff7e0accSmrg "s/'\''/'\''\\\\'\'''\''/g; 1654ff7e0accSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1655ff7e0accSmrg ;; #( 1656ff7e0accSmrg *) 1657ff7e0accSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1658ff7e0accSmrg ;; 1659ff7e0accSmrg esac | 1660ff7e0accSmrg sort 1661ff7e0accSmrg) 1662ff7e0accSmrg echo 1663ff7e0accSmrg 1664ff7e0accSmrg cat <<\_ASBOX 1665ff7e0accSmrg## ----------------- ## 1666ff7e0accSmrg## Output variables. ## 1667ff7e0accSmrg## ----------------- ## 1668ff7e0accSmrg_ASBOX 1669ff7e0accSmrg echo 1670ff7e0accSmrg for ac_var in $ac_subst_vars 1671ff7e0accSmrg do 1672ff7e0accSmrg eval ac_val=\$$ac_var 1673ff7e0accSmrg case $ac_val in 1674a005d216Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1675ff7e0accSmrg esac 1676a005d216Smrg $as_echo "$ac_var='\''$ac_val'\''" 1677ff7e0accSmrg done | sort 1678ff7e0accSmrg echo 1679ff7e0accSmrg 1680ff7e0accSmrg if test -n "$ac_subst_files"; then 1681ff7e0accSmrg cat <<\_ASBOX 1682ff7e0accSmrg## ------------------- ## 1683ff7e0accSmrg## File substitutions. ## 1684ff7e0accSmrg## ------------------- ## 1685ff7e0accSmrg_ASBOX 1686ff7e0accSmrg echo 1687ff7e0accSmrg for ac_var in $ac_subst_files 1688ff7e0accSmrg do 1689ff7e0accSmrg eval ac_val=\$$ac_var 1690ff7e0accSmrg case $ac_val in 1691a005d216Smrg *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1692ff7e0accSmrg esac 1693a005d216Smrg $as_echo "$ac_var='\''$ac_val'\''" 1694ff7e0accSmrg done | sort 1695ff7e0accSmrg echo 1696ff7e0accSmrg fi 1697ff7e0accSmrg 1698ff7e0accSmrg if test -s confdefs.h; then 1699ff7e0accSmrg cat <<\_ASBOX 1700ff7e0accSmrg## ----------- ## 1701ff7e0accSmrg## confdefs.h. ## 1702ff7e0accSmrg## ----------- ## 1703ff7e0accSmrg_ASBOX 1704ff7e0accSmrg echo 1705ff7e0accSmrg cat confdefs.h 1706ff7e0accSmrg echo 1707ff7e0accSmrg fi 1708ff7e0accSmrg test "$ac_signal" != 0 && 1709a005d216Smrg $as_echo "$as_me: caught signal $ac_signal" 1710a005d216Smrg $as_echo "$as_me: exit $exit_status" 1711ff7e0accSmrg } >&5 1712ff7e0accSmrg rm -f core *.core core.conftest.* && 1713ff7e0accSmrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1714ff7e0accSmrg exit $exit_status 1715ff7e0accSmrg' 0 1716ff7e0accSmrgfor ac_signal in 1 2 13 15; do 1717ff7e0accSmrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1718ff7e0accSmrgdone 1719ff7e0accSmrgac_signal=0 1720ff7e0accSmrg 1721ff7e0accSmrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 1722ff7e0accSmrgrm -f -r conftest* confdefs.h 1723ff7e0accSmrg 1724ff7e0accSmrg# Predefined preprocessor variables. 1725ff7e0accSmrg 1726ff7e0accSmrgcat >>confdefs.h <<_ACEOF 1727ff7e0accSmrg#define PACKAGE_NAME "$PACKAGE_NAME" 1728ff7e0accSmrg_ACEOF 1729ff7e0accSmrg 1730ff7e0accSmrg 1731ff7e0accSmrgcat >>confdefs.h <<_ACEOF 1732ff7e0accSmrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1733ff7e0accSmrg_ACEOF 1734ff7e0accSmrg 1735ff7e0accSmrg 1736ff7e0accSmrgcat >>confdefs.h <<_ACEOF 1737ff7e0accSmrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 1738ff7e0accSmrg_ACEOF 1739ff7e0accSmrg 1740ff7e0accSmrg 1741ff7e0accSmrgcat >>confdefs.h <<_ACEOF 1742ff7e0accSmrg#define PACKAGE_STRING "$PACKAGE_STRING" 1743ff7e0accSmrg_ACEOF 1744ff7e0accSmrg 1745ff7e0accSmrg 1746ff7e0accSmrgcat >>confdefs.h <<_ACEOF 1747ff7e0accSmrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1748ff7e0accSmrg_ACEOF 1749ff7e0accSmrg 1750ff7e0accSmrg 1751ff7e0accSmrg# Let the site file select an alternate cache file if it wants to. 1752a005d216Smrg# Prefer an explicitly selected file to automatically selected ones. 1753a005d216Smrgac_site_file1=NONE 1754a005d216Smrgac_site_file2=NONE 1755ff7e0accSmrgif test -n "$CONFIG_SITE"; then 1756a005d216Smrg ac_site_file1=$CONFIG_SITE 1757ff7e0accSmrgelif test "x$prefix" != xNONE; then 1758a005d216Smrg ac_site_file1=$prefix/share/config.site 1759a005d216Smrg ac_site_file2=$prefix/etc/config.site 1760ff7e0accSmrgelse 1761a005d216Smrg ac_site_file1=$ac_default_prefix/share/config.site 1762a005d216Smrg ac_site_file2=$ac_default_prefix/etc/config.site 1763ff7e0accSmrgfi 1764a005d216Smrgfor ac_site_file in "$ac_site_file1" "$ac_site_file2" 1765ff7e0accSmrgdo 1766a005d216Smrg test "x$ac_site_file" = xNONE && continue 1767ff7e0accSmrg if test -r "$ac_site_file"; then 1768a005d216Smrg { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1769a005d216Smrg$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1770ff7e0accSmrg sed 's/^/| /' "$ac_site_file" >&5 1771ff7e0accSmrg . "$ac_site_file" 1772ff7e0accSmrg fi 1773ff7e0accSmrgdone 1774ff7e0accSmrg 1775ff7e0accSmrgif test -r "$cache_file"; then 1776ff7e0accSmrg # Some versions of bash will fail to source /dev/null (special 1777ff7e0accSmrg # files actually), so we avoid doing that. 1778ff7e0accSmrg if test -f "$cache_file"; then 1779a005d216Smrg { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 1780a005d216Smrg$as_echo "$as_me: loading cache $cache_file" >&6;} 1781ff7e0accSmrg case $cache_file in 1782ff7e0accSmrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 1783ff7e0accSmrg *) . "./$cache_file";; 1784ff7e0accSmrg esac 1785ff7e0accSmrg fi 1786ff7e0accSmrgelse 1787a005d216Smrg { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 1788a005d216Smrg$as_echo "$as_me: creating cache $cache_file" >&6;} 1789ff7e0accSmrg >$cache_file 1790ff7e0accSmrgfi 1791ff7e0accSmrg 1792ff7e0accSmrg# Check that the precious variables saved in the cache have kept the same 1793ff7e0accSmrg# value. 1794ff7e0accSmrgac_cache_corrupted=false 1795ff7e0accSmrgfor ac_var in $ac_precious_vars; do 1796ff7e0accSmrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 1797ff7e0accSmrg eval ac_new_set=\$ac_env_${ac_var}_set 1798ff7e0accSmrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 1799ff7e0accSmrg eval ac_new_val=\$ac_env_${ac_var}_value 1800ff7e0accSmrg case $ac_old_set,$ac_new_set in 1801ff7e0accSmrg set,) 1802a005d216Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1803a005d216Smrg$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1804ff7e0accSmrg ac_cache_corrupted=: ;; 1805ff7e0accSmrg ,set) 1806a005d216Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1807a005d216Smrg$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1808ff7e0accSmrg ac_cache_corrupted=: ;; 1809ff7e0accSmrg ,);; 1810ff7e0accSmrg *) 1811ff7e0accSmrg if test "x$ac_old_val" != "x$ac_new_val"; then 1812a005d216Smrg # differences in whitespace do not lead to failure. 1813a005d216Smrg ac_old_val_w=`echo x $ac_old_val` 1814a005d216Smrg ac_new_val_w=`echo x $ac_new_val` 1815a005d216Smrg if test "$ac_old_val_w" != "$ac_new_val_w"; then 1816a005d216Smrg { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1817a005d216Smrg$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1818a005d216Smrg ac_cache_corrupted=: 1819a005d216Smrg else 1820a005d216Smrg { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1821a005d216Smrg$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1822a005d216Smrg eval $ac_var=\$ac_old_val 1823a005d216Smrg fi 1824a005d216Smrg { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 1825a005d216Smrg$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1826a005d216Smrg { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 1827a005d216Smrg$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1828ff7e0accSmrg fi;; 1829ff7e0accSmrg esac 1830ff7e0accSmrg # Pass precious variables to config.status. 1831ff7e0accSmrg if test "$ac_new_set" = set; then 1832ff7e0accSmrg case $ac_new_val in 1833a005d216Smrg *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1834ff7e0accSmrg *) ac_arg=$ac_var=$ac_new_val ;; 1835ff7e0accSmrg esac 1836ff7e0accSmrg case " $ac_configure_args " in 1837ff7e0accSmrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1838ff7e0accSmrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1839ff7e0accSmrg esac 1840ff7e0accSmrg fi 1841ff7e0accSmrgdone 1842ff7e0accSmrgif $ac_cache_corrupted; then 184310998002Smrg { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 184410998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1845a005d216Smrg { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1846a005d216Smrg$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1847a005d216Smrg { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1848a005d216Smrg$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1849ff7e0accSmrg { (exit 1); exit 1; }; } 1850ff7e0accSmrgfi 1851ff7e0accSmrg 1852ff7e0accSmrg 1853ff7e0accSmrg 1854ff7e0accSmrg 1855ff7e0accSmrg 1856ff7e0accSmrg 1857ff7e0accSmrg 1858ff7e0accSmrg 1859ff7e0accSmrg 1860ff7e0accSmrg 1861ff7e0accSmrg 1862ff7e0accSmrg 1863ff7e0accSmrg 1864ff7e0accSmrg 1865ff7e0accSmrg 1866ff7e0accSmrg 1867ff7e0accSmrg 1868ff7e0accSmrg 1869ff7e0accSmrg 1870ff7e0accSmrg 1871ff7e0accSmrg 1872ff7e0accSmrg 1873ff7e0accSmrg 1874ff7e0accSmrg 1875ff7e0accSmrg 1876ff7e0accSmrgac_ext=c 1877ff7e0accSmrgac_cpp='$CPP $CPPFLAGS' 1878ff7e0accSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1879ff7e0accSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1880ff7e0accSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 1881ff7e0accSmrg 1882ff7e0accSmrg 188310998002Smrgam__api_version='1.11' 1884ff7e0accSmrg 1885ff7e0accSmrgac_aux_dir= 1886ff7e0accSmrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1887ff7e0accSmrg if test -f "$ac_dir/install-sh"; then 1888ff7e0accSmrg ac_aux_dir=$ac_dir 1889ff7e0accSmrg ac_install_sh="$ac_aux_dir/install-sh -c" 1890ff7e0accSmrg break 1891ff7e0accSmrg elif test -f "$ac_dir/install.sh"; then 1892ff7e0accSmrg ac_aux_dir=$ac_dir 1893ff7e0accSmrg ac_install_sh="$ac_aux_dir/install.sh -c" 1894ff7e0accSmrg break 1895ff7e0accSmrg elif test -f "$ac_dir/shtool"; then 1896ff7e0accSmrg ac_aux_dir=$ac_dir 1897ff7e0accSmrg ac_install_sh="$ac_aux_dir/shtool install -c" 1898ff7e0accSmrg break 1899ff7e0accSmrg fi 1900ff7e0accSmrgdone 1901ff7e0accSmrgif test -z "$ac_aux_dir"; then 1902a005d216Smrg { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1903a005d216Smrg$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1904ff7e0accSmrg { (exit 1); exit 1; }; } 1905ff7e0accSmrgfi 1906ff7e0accSmrg 1907ff7e0accSmrg# These three variables are undocumented and unsupported, 1908ff7e0accSmrg# and are intended to be withdrawn in a future Autoconf release. 1909ff7e0accSmrg# They can cause serious problems if a builder's source tree is in a directory 1910ff7e0accSmrg# whose full name contains unusual characters. 1911ff7e0accSmrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1912ff7e0accSmrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1913ff7e0accSmrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1914ff7e0accSmrg 1915ff7e0accSmrg 1916ff7e0accSmrg# Find a good install program. We prefer a C program (faster), 1917ff7e0accSmrg# so one script is as good as another. But avoid the broken or 1918ff7e0accSmrg# incompatible versions: 1919ff7e0accSmrg# SysV /etc/install, /usr/sbin/install 1920ff7e0accSmrg# SunOS /usr/etc/install 1921ff7e0accSmrg# IRIX /sbin/install 1922ff7e0accSmrg# AIX /bin/install 1923ff7e0accSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 1924ff7e0accSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1925ff7e0accSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1926ff7e0accSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1927ff7e0accSmrg# OS/2's system install, which has a completely different semantic 1928ff7e0accSmrg# ./install, which can be erroneously created by make from ./install.sh. 1929a005d216Smrg# Reject install programs that cannot install multiple files. 1930a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1931a005d216Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 1932ff7e0accSmrgif test -z "$INSTALL"; then 1933ff7e0accSmrgif test "${ac_cv_path_install+set}" = set; then 1934a005d216Smrg $as_echo_n "(cached) " >&6 1935ff7e0accSmrgelse 1936ff7e0accSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1937ff7e0accSmrgfor as_dir in $PATH 1938ff7e0accSmrgdo 1939ff7e0accSmrg IFS=$as_save_IFS 1940ff7e0accSmrg test -z "$as_dir" && as_dir=. 1941ff7e0accSmrg # Account for people who put trailing slashes in PATH elements. 1942ff7e0accSmrgcase $as_dir/ in 1943ff7e0accSmrg ./ | .// | /cC/* | \ 1944ff7e0accSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1945ff7e0accSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1946ff7e0accSmrg /usr/ucb/* ) ;; 1947ff7e0accSmrg *) 1948ff7e0accSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 1949ff7e0accSmrg # Don't use installbsd from OSF since it installs stuff as root 1950ff7e0accSmrg # by default. 1951ff7e0accSmrg for ac_prog in ginstall scoinst install; do 1952ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 1953ff7e0accSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1954ff7e0accSmrg if test $ac_prog = install && 1955ff7e0accSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1956ff7e0accSmrg # AIX install. It has an incompatible calling convention. 1957ff7e0accSmrg : 1958ff7e0accSmrg elif test $ac_prog = install && 1959ff7e0accSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1960ff7e0accSmrg # program-specific install script used by HP pwplus--don't use. 1961ff7e0accSmrg : 1962ff7e0accSmrg else 1963a005d216Smrg rm -rf conftest.one conftest.two conftest.dir 1964a005d216Smrg echo one > conftest.one 1965a005d216Smrg echo two > conftest.two 1966a005d216Smrg mkdir conftest.dir 1967a005d216Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1968a005d216Smrg test -s conftest.one && test -s conftest.two && 1969a005d216Smrg test -s conftest.dir/conftest.one && 1970a005d216Smrg test -s conftest.dir/conftest.two 1971a005d216Smrg then 1972a005d216Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1973a005d216Smrg break 3 1974a005d216Smrg fi 1975ff7e0accSmrg fi 1976ff7e0accSmrg fi 1977ff7e0accSmrg done 1978ff7e0accSmrg done 1979ff7e0accSmrg ;; 1980ff7e0accSmrgesac 1981a005d216Smrg 1982ff7e0accSmrgdone 1983ff7e0accSmrgIFS=$as_save_IFS 1984ff7e0accSmrg 1985a005d216Smrgrm -rf conftest.one conftest.two conftest.dir 1986ff7e0accSmrg 1987ff7e0accSmrgfi 1988ff7e0accSmrg if test "${ac_cv_path_install+set}" = set; then 1989ff7e0accSmrg INSTALL=$ac_cv_path_install 1990ff7e0accSmrg else 1991ff7e0accSmrg # As a last resort, use the slow shell script. Don't cache a 1992ff7e0accSmrg # value for INSTALL within a source directory, because that will 1993ff7e0accSmrg # break other packages using the cache if that directory is 1994ff7e0accSmrg # removed, or if the value is a relative name. 1995ff7e0accSmrg INSTALL=$ac_install_sh 1996ff7e0accSmrg fi 1997ff7e0accSmrgfi 1998a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 1999a005d216Smrg$as_echo "$INSTALL" >&6; } 2000ff7e0accSmrg 2001ff7e0accSmrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2002ff7e0accSmrg# It thinks the first close brace ends the variable substitution. 2003ff7e0accSmrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2004ff7e0accSmrg 2005ff7e0accSmrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2006ff7e0accSmrg 2007ff7e0accSmrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2008ff7e0accSmrg 2009a005d216Smrg{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2010a005d216Smrg$as_echo_n "checking whether build environment is sane... " >&6; } 2011ff7e0accSmrg# Just in case 2012ff7e0accSmrgsleep 1 2013ff7e0accSmrgecho timestamp > conftest.file 201410998002Smrg# Reject unsafe characters in $srcdir or the absolute working directory 201510998002Smrg# name. Accept space and tab only in the latter. 201610998002Smrgam_lf=' 201710998002Smrg' 201810998002Smrgcase `pwd` in 201910998002Smrg *[\\\"\#\$\&\'\`$am_lf]*) 202010998002Smrg { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 202110998002Smrg$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} 202210998002Smrg { (exit 1); exit 1; }; };; 202310998002Smrgesac 202410998002Smrgcase $srcdir in 202510998002Smrg *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 202610998002Smrg { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 202710998002Smrg$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} 202810998002Smrg { (exit 1); exit 1; }; };; 202910998002Smrgesac 203010998002Smrg 2031ff7e0accSmrg# Do `set' in a subshell so we don't clobber the current shell's 2032ff7e0accSmrg# arguments. Must try -L first in case configure is actually a 2033ff7e0accSmrg# symlink; some systems play weird games with the mod time of symlinks 2034ff7e0accSmrg# (eg FreeBSD returns the mod time of the symlink's containing 2035ff7e0accSmrg# directory). 2036ff7e0accSmrgif ( 203710998002Smrg set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2038ff7e0accSmrg if test "$*" = "X"; then 2039ff7e0accSmrg # -L didn't work. 204010998002Smrg set X `ls -t "$srcdir/configure" conftest.file` 2041ff7e0accSmrg fi 2042ff7e0accSmrg rm -f conftest.file 2043ff7e0accSmrg if test "$*" != "X $srcdir/configure conftest.file" \ 2044ff7e0accSmrg && test "$*" != "X conftest.file $srcdir/configure"; then 2045ff7e0accSmrg 2046ff7e0accSmrg # If neither matched, then we have a broken ls. This can happen 2047ff7e0accSmrg # if, for instance, CONFIG_SHELL is bash and it inherits a 2048ff7e0accSmrg # broken ls alias from the environment. This has actually 2049ff7e0accSmrg # happened. Such a system could not be considered "sane". 2050a005d216Smrg { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2051ff7e0accSmrgalias in your environment" >&5 2052a005d216Smrg$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2053ff7e0accSmrgalias in your environment" >&2;} 2054ff7e0accSmrg { (exit 1); exit 1; }; } 2055ff7e0accSmrg fi 2056ff7e0accSmrg 2057ff7e0accSmrg test "$2" = conftest.file 2058ff7e0accSmrg ) 2059ff7e0accSmrgthen 2060ff7e0accSmrg # Ok. 2061ff7e0accSmrg : 2062ff7e0accSmrgelse 2063a005d216Smrg { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2064ff7e0accSmrgCheck your system clock" >&5 2065a005d216Smrg$as_echo "$as_me: error: newly created file is older than distributed files! 2066ff7e0accSmrgCheck your system clock" >&2;} 2067ff7e0accSmrg { (exit 1); exit 1; }; } 2068ff7e0accSmrgfi 2069a005d216Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 2070a005d216Smrg$as_echo "yes" >&6; } 2071ff7e0accSmrgtest "$program_prefix" != NONE && 2072ff7e0accSmrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 2073ff7e0accSmrg# Use a double $ so make ignores it. 2074ff7e0accSmrgtest "$program_suffix" != NONE && 2075ff7e0accSmrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2076a005d216Smrg# Double any \ or $. 2077ff7e0accSmrg# By default was `s,x,x', remove it if useless. 2078a005d216Smrgac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2079a005d216Smrgprogram_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2080ff7e0accSmrg 2081ff7e0accSmrg# expand $ac_aux_dir to an absolute path 2082ff7e0accSmrgam_aux_dir=`cd $ac_aux_dir && pwd` 2083ff7e0accSmrg 208410998002Smrgif test x"${MISSING+set}" != xset; then 208510998002Smrg case $am_aux_dir in 208610998002Smrg *\ * | *\ *) 208710998002Smrg MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 208810998002Smrg *) 208910998002Smrg MISSING="\${SHELL} $am_aux_dir/missing" ;; 209010998002Smrg esac 209110998002Smrgfi 2092ff7e0accSmrg# Use eval to expand $SHELL 2093ff7e0accSmrgif eval "$MISSING --run true"; then 2094ff7e0accSmrg am_missing_run="$MISSING --run " 2095ff7e0accSmrgelse 2096ff7e0accSmrg am_missing_run= 2097a005d216Smrg { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2098a005d216Smrg$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2099ff7e0accSmrgfi 2100ff7e0accSmrg 210110998002Smrgif test x"${install_sh}" != xset; then 210210998002Smrg case $am_aux_dir in 210310998002Smrg *\ * | *\ *) 210410998002Smrg install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 210510998002Smrg *) 210610998002Smrg install_sh="\${SHELL} $am_aux_dir/install-sh" 210710998002Smrg esac 210810998002Smrgfi 210910998002Smrg 211010998002Smrg# Installed binaries are usually stripped using `strip' when the user 211110998002Smrg# run `make install-strip'. However `strip' might not be the right 211210998002Smrg# tool to use in cross-compilation environments, therefore Automake 211310998002Smrg# will honor the `STRIP' environment variable to overrule this program. 211410998002Smrgif test "$cross_compiling" != no; then 211510998002Smrg if test -n "$ac_tool_prefix"; then 211610998002Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 211710998002Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 211810998002Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 211910998002Smrg$as_echo_n "checking for $ac_word... " >&6; } 212010998002Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 2121a005d216Smrg $as_echo_n "(cached) " >&6 2122ff7e0accSmrgelse 212310998002Smrg if test -n "$STRIP"; then 212410998002Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 212510998002Smrgelse 212610998002Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 212710998002Smrgfor as_dir in $PATH 2128ff7e0accSmrgdo 2129ff7e0accSmrg IFS=$as_save_IFS 2130ff7e0accSmrg test -z "$as_dir" && as_dir=. 213110998002Smrg for ac_exec_ext in '' $ac_executable_extensions; do 213210998002Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 213310998002Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 213410998002Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 213510998002Smrg break 2 213610998002Smrg fi 213710998002Smrgdone 213810998002Smrgdone 213910998002SmrgIFS=$as_save_IFS 214010998002Smrg 214110998002Smrgfi 214210998002Smrgfi 214310998002SmrgSTRIP=$ac_cv_prog_STRIP 214410998002Smrgif test -n "$STRIP"; then 214510998002Smrg { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 214610998002Smrg$as_echo "$STRIP" >&6; } 214710998002Smrgelse 214810998002Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 214910998002Smrg$as_echo "no" >&6; } 215010998002Smrgfi 215110998002Smrg 215210998002Smrg 215310998002Smrgfi 215410998002Smrgif test -z "$ac_cv_prog_STRIP"; then 215510998002Smrg ac_ct_STRIP=$STRIP 215610998002Smrg # Extract the first word of "strip", so it can be a program name with args. 215710998002Smrgset dummy strip; ac_word=$2 215810998002Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 215910998002Smrg$as_echo_n "checking for $ac_word... " >&6; } 216010998002Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 216110998002Smrg $as_echo_n "(cached) " >&6 216210998002Smrgelse 216310998002Smrg if test -n "$ac_ct_STRIP"; then 216410998002Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 216510998002Smrgelse 216610998002Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 216710998002Smrgfor as_dir in $PATH 216810998002Smrgdo 216910998002Smrg IFS=$as_save_IFS 217010998002Smrg test -z "$as_dir" && as_dir=. 217110998002Smrg for ac_exec_ext in '' $ac_executable_extensions; do 217210998002Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 217310998002Smrg ac_cv_prog_ac_ct_STRIP="strip" 217410998002Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 217510998002Smrg break 2 217610998002Smrg fi 217710998002Smrgdone 217810998002Smrgdone 217910998002SmrgIFS=$as_save_IFS 218010998002Smrg 218110998002Smrgfi 218210998002Smrgfi 218310998002Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 218410998002Smrgif test -n "$ac_ct_STRIP"; then 218510998002Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 218610998002Smrg$as_echo "$ac_ct_STRIP" >&6; } 218710998002Smrgelse 218810998002Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 218910998002Smrg$as_echo "no" >&6; } 219010998002Smrgfi 219110998002Smrg 219210998002Smrg if test "x$ac_ct_STRIP" = x; then 219310998002Smrg STRIP=":" 219410998002Smrg else 219510998002Smrg case $cross_compiling:$ac_tool_warned in 219610998002Smrgyes:) 219710998002Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 219810998002Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 219910998002Smrgac_tool_warned=yes ;; 220010998002Smrgesac 220110998002Smrg STRIP=$ac_ct_STRIP 220210998002Smrg fi 220310998002Smrgelse 220410998002Smrg STRIP="$ac_cv_prog_STRIP" 220510998002Smrgfi 220610998002Smrg 220710998002Smrgfi 220810998002SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 220910998002Smrg 221010998002Smrg{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 221110998002Smrg$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 221210998002Smrgif test -z "$MKDIR_P"; then 221310998002Smrg if test "${ac_cv_path_mkdir+set}" = set; then 221410998002Smrg $as_echo_n "(cached) " >&6 221510998002Smrgelse 221610998002Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 221710998002Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 221810998002Smrgdo 221910998002Smrg IFS=$as_save_IFS 222010998002Smrg test -z "$as_dir" && as_dir=. 222110998002Smrg for ac_prog in mkdir gmkdir; do 222210998002Smrg for ac_exec_ext in '' $ac_executable_extensions; do 222310998002Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 222410998002Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 222510998002Smrg 'mkdir (GNU coreutils) '* | \ 222610998002Smrg 'mkdir (coreutils) '* | \ 222710998002Smrg 'mkdir (fileutils) '4.1*) 222810998002Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 222910998002Smrg break 3;; 223010998002Smrg esac 2231ff7e0accSmrg done 2232ff7e0accSmrg done 2233ff7e0accSmrgdone 2234ff7e0accSmrgIFS=$as_save_IFS 2235ff7e0accSmrg 2236ff7e0accSmrgfi 2237ff7e0accSmrg 2238ff7e0accSmrg if test "${ac_cv_path_mkdir+set}" = set; then 2239ff7e0accSmrg MKDIR_P="$ac_cv_path_mkdir -p" 2240ff7e0accSmrg else 2241ff7e0accSmrg # As a last resort, use the slow shell script. Don't cache a 2242ff7e0accSmrg # value for MKDIR_P within a source directory, because that will 2243ff7e0accSmrg # break other packages using the cache if that directory is 2244ff7e0accSmrg # removed, or if the value is a relative name. 2245ff7e0accSmrg test -d ./--version && rmdir ./--version 2246ff7e0accSmrg MKDIR_P="$ac_install_sh -d" 2247ff7e0accSmrg fi 2248ff7e0accSmrgfi 2249a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 2250a005d216Smrg$as_echo "$MKDIR_P" >&6; } 2251ff7e0accSmrg 2252ff7e0accSmrgmkdir_p="$MKDIR_P" 2253ff7e0accSmrgcase $mkdir_p in 2254ff7e0accSmrg [\\/$]* | ?:[\\/]*) ;; 2255ff7e0accSmrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2256ff7e0accSmrgesac 2257ff7e0accSmrg 2258ff7e0accSmrgfor ac_prog in gawk mawk nawk awk 2259ff7e0accSmrgdo 2260ff7e0accSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2261ff7e0accSmrgset dummy $ac_prog; ac_word=$2 2262a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2263a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 2264ff7e0accSmrgif test "${ac_cv_prog_AWK+set}" = set; then 2265a005d216Smrg $as_echo_n "(cached) " >&6 2266ff7e0accSmrgelse 2267ff7e0accSmrg if test -n "$AWK"; then 2268ff7e0accSmrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 2269ff7e0accSmrgelse 2270ff7e0accSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2271ff7e0accSmrgfor as_dir in $PATH 2272ff7e0accSmrgdo 2273ff7e0accSmrg IFS=$as_save_IFS 2274ff7e0accSmrg test -z "$as_dir" && as_dir=. 2275ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2276ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2277ff7e0accSmrg ac_cv_prog_AWK="$ac_prog" 2278a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2279ff7e0accSmrg break 2 2280ff7e0accSmrg fi 2281ff7e0accSmrgdone 2282ff7e0accSmrgdone 2283ff7e0accSmrgIFS=$as_save_IFS 2284ff7e0accSmrg 2285ff7e0accSmrgfi 2286ff7e0accSmrgfi 2287ff7e0accSmrgAWK=$ac_cv_prog_AWK 2288ff7e0accSmrgif test -n "$AWK"; then 2289a005d216Smrg { $as_echo "$as_me:$LINENO: result: $AWK" >&5 2290a005d216Smrg$as_echo "$AWK" >&6; } 2291ff7e0accSmrgelse 2292a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2293a005d216Smrg$as_echo "no" >&6; } 2294ff7e0accSmrgfi 2295ff7e0accSmrg 2296ff7e0accSmrg 2297ff7e0accSmrg test -n "$AWK" && break 2298ff7e0accSmrgdone 2299ff7e0accSmrg 2300a005d216Smrg{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2301a005d216Smrg$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2302a005d216Smrgset x ${MAKE-make} 2303a005d216Smrgac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2304ff7e0accSmrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 2305a005d216Smrg $as_echo_n "(cached) " >&6 2306ff7e0accSmrgelse 2307ff7e0accSmrg cat >conftest.make <<\_ACEOF 2308ff7e0accSmrgSHELL = /bin/sh 2309ff7e0accSmrgall: 2310ff7e0accSmrg @echo '@@@%%%=$(MAKE)=@@@%%%' 2311ff7e0accSmrg_ACEOF 2312ff7e0accSmrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2313ff7e0accSmrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 2314ff7e0accSmrg *@@@%%%=?*=@@@%%%*) 2315ff7e0accSmrg eval ac_cv_prog_make_${ac_make}_set=yes;; 2316ff7e0accSmrg *) 2317ff7e0accSmrg eval ac_cv_prog_make_${ac_make}_set=no;; 2318ff7e0accSmrgesac 2319ff7e0accSmrgrm -f conftest.make 2320ff7e0accSmrgfi 2321ff7e0accSmrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2322a005d216Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 2323a005d216Smrg$as_echo "yes" >&6; } 2324ff7e0accSmrg SET_MAKE= 2325ff7e0accSmrgelse 2326a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2327a005d216Smrg$as_echo "no" >&6; } 2328ff7e0accSmrg SET_MAKE="MAKE=${MAKE-make}" 2329ff7e0accSmrgfi 2330ff7e0accSmrg 2331ff7e0accSmrgrm -rf .tst 2>/dev/null 2332ff7e0accSmrgmkdir .tst 2>/dev/null 2333ff7e0accSmrgif test -d .tst; then 2334ff7e0accSmrg am__leading_dot=. 2335ff7e0accSmrgelse 2336ff7e0accSmrg am__leading_dot=_ 2337ff7e0accSmrgfi 2338ff7e0accSmrgrmdir .tst 2>/dev/null 2339ff7e0accSmrg 2340ff7e0accSmrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 2341ff7e0accSmrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2342ff7e0accSmrg # is not polluted with repeated "-I." 2343ff7e0accSmrg am__isrc=' -I$(srcdir)' 2344ff7e0accSmrg # test to see if srcdir already configured 2345ff7e0accSmrg if test -f $srcdir/config.status; then 2346a005d216Smrg { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2347a005d216Smrg$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2348ff7e0accSmrg { (exit 1); exit 1; }; } 2349ff7e0accSmrg fi 2350ff7e0accSmrgfi 2351ff7e0accSmrg 2352ff7e0accSmrg# test whether we have cygpath 2353ff7e0accSmrgif test -z "$CYGPATH_W"; then 2354ff7e0accSmrg if (cygpath --version) >/dev/null 2>/dev/null; then 2355ff7e0accSmrg CYGPATH_W='cygpath -w' 2356ff7e0accSmrg else 2357ff7e0accSmrg CYGPATH_W=echo 2358ff7e0accSmrg fi 2359ff7e0accSmrgfi 2360ff7e0accSmrg 2361ff7e0accSmrg 2362ff7e0accSmrg# Define the identity of the package. 2363ff7e0accSmrg PACKAGE='xwininfo' 236410998002Smrg VERSION='1.0.5' 2365ff7e0accSmrg 2366ff7e0accSmrg 2367ff7e0accSmrgcat >>confdefs.h <<_ACEOF 2368ff7e0accSmrg#define PACKAGE "$PACKAGE" 2369ff7e0accSmrg_ACEOF 2370ff7e0accSmrg 2371ff7e0accSmrg 2372ff7e0accSmrgcat >>confdefs.h <<_ACEOF 2373ff7e0accSmrg#define VERSION "$VERSION" 2374ff7e0accSmrg_ACEOF 2375ff7e0accSmrg 2376ff7e0accSmrg# Some tools Automake needs. 2377ff7e0accSmrg 2378ff7e0accSmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2379ff7e0accSmrg 2380ff7e0accSmrg 2381ff7e0accSmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2382ff7e0accSmrg 2383ff7e0accSmrg 2384ff7e0accSmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2385ff7e0accSmrg 2386ff7e0accSmrg 2387ff7e0accSmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2388ff7e0accSmrg 2389ff7e0accSmrg 2390ff7e0accSmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2391ff7e0accSmrg 2392ff7e0accSmrg# We need awk for the "check" target. The system "awk" is bad on 2393ff7e0accSmrg# some platforms. 2394ff7e0accSmrg# Always define AMTAR for backward compatibility. 2395ff7e0accSmrg 2396ff7e0accSmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 2397ff7e0accSmrg 2398ff7e0accSmrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2399ff7e0accSmrg 2400ff7e0accSmrg 2401ff7e0accSmrg 2402ff7e0accSmrg 2403ff7e0accSmrg 240410998002Smrg 2405a005d216Smrg{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 2406a005d216Smrg$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2407ff7e0accSmrg # Check whether --enable-maintainer-mode was given. 2408ff7e0accSmrgif test "${enable_maintainer_mode+set}" = set; then 2409ff7e0accSmrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2410ff7e0accSmrgelse 2411ff7e0accSmrg USE_MAINTAINER_MODE=no 2412ff7e0accSmrgfi 2413ff7e0accSmrg 2414a005d216Smrg { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 2415a005d216Smrg$as_echo "$USE_MAINTAINER_MODE" >&6; } 2416ff7e0accSmrg if test $USE_MAINTAINER_MODE = yes; then 2417ff7e0accSmrg MAINTAINER_MODE_TRUE= 2418ff7e0accSmrg MAINTAINER_MODE_FALSE='#' 2419ff7e0accSmrgelse 2420ff7e0accSmrg MAINTAINER_MODE_TRUE='#' 2421ff7e0accSmrg MAINTAINER_MODE_FALSE= 2422ff7e0accSmrgfi 2423ff7e0accSmrg 2424ff7e0accSmrg MAINT=$MAINTAINER_MODE_TRUE 2425ff7e0accSmrg 2426ff7e0accSmrg 2427ff7e0accSmrg 242810998002Smrg# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS 242910998002Smrg 243010998002Smrg 243110998002Smrg 243210998002Smrg 243310998002Smrg 243410998002Smrg 243510998002Smrg 243610998002Smrg 243710998002Smrg 243810998002Smrg 243910998002Smrg 244010998002Smrg 2441ff7e0accSmrgac_config_headers="$ac_config_headers config.h" 2442ff7e0accSmrg 2443ff7e0accSmrg 2444ff7e0accSmrgac_ext=c 2445ff7e0accSmrgac_cpp='$CPP $CPPFLAGS' 2446ff7e0accSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2447ff7e0accSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2448ff7e0accSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 2449ff7e0accSmrgif test -n "$ac_tool_prefix"; then 2450ff7e0accSmrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2451ff7e0accSmrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 2452a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2453a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 2454ff7e0accSmrgif test "${ac_cv_prog_CC+set}" = set; then 2455a005d216Smrg $as_echo_n "(cached) " >&6 2456ff7e0accSmrgelse 2457ff7e0accSmrg if test -n "$CC"; then 2458ff7e0accSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2459ff7e0accSmrgelse 2460ff7e0accSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2461ff7e0accSmrgfor as_dir in $PATH 2462ff7e0accSmrgdo 2463ff7e0accSmrg IFS=$as_save_IFS 2464ff7e0accSmrg test -z "$as_dir" && as_dir=. 2465ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2466ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2467ff7e0accSmrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 2468a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2469ff7e0accSmrg break 2 2470ff7e0accSmrg fi 2471ff7e0accSmrgdone 2472ff7e0accSmrgdone 2473ff7e0accSmrgIFS=$as_save_IFS 2474ff7e0accSmrg 2475ff7e0accSmrgfi 2476ff7e0accSmrgfi 2477ff7e0accSmrgCC=$ac_cv_prog_CC 2478ff7e0accSmrgif test -n "$CC"; then 2479a005d216Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2480a005d216Smrg$as_echo "$CC" >&6; } 2481ff7e0accSmrgelse 2482a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2483a005d216Smrg$as_echo "no" >&6; } 2484ff7e0accSmrgfi 2485ff7e0accSmrg 2486ff7e0accSmrg 2487ff7e0accSmrgfi 2488ff7e0accSmrgif test -z "$ac_cv_prog_CC"; then 2489ff7e0accSmrg ac_ct_CC=$CC 2490ff7e0accSmrg # Extract the first word of "gcc", so it can be a program name with args. 2491ff7e0accSmrgset dummy gcc; ac_word=$2 2492a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2493a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 2494ff7e0accSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2495a005d216Smrg $as_echo_n "(cached) " >&6 2496ff7e0accSmrgelse 2497ff7e0accSmrg if test -n "$ac_ct_CC"; then 2498ff7e0accSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2499ff7e0accSmrgelse 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 ac_cv_prog_ac_ct_CC="gcc" 2508a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2509ff7e0accSmrg break 2 2510ff7e0accSmrg fi 2511ff7e0accSmrgdone 2512ff7e0accSmrgdone 2513ff7e0accSmrgIFS=$as_save_IFS 2514ff7e0accSmrg 2515ff7e0accSmrgfi 2516ff7e0accSmrgfi 2517ff7e0accSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2518ff7e0accSmrgif test -n "$ac_ct_CC"; then 2519a005d216Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2520a005d216Smrg$as_echo "$ac_ct_CC" >&6; } 2521ff7e0accSmrgelse 2522a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2523a005d216Smrg$as_echo "no" >&6; } 2524ff7e0accSmrgfi 2525ff7e0accSmrg 2526ff7e0accSmrg if test "x$ac_ct_CC" = x; then 2527ff7e0accSmrg CC="" 2528ff7e0accSmrg else 2529ff7e0accSmrg case $cross_compiling:$ac_tool_warned in 2530ff7e0accSmrgyes:) 253110998002Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 253210998002Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2533ff7e0accSmrgac_tool_warned=yes ;; 2534ff7e0accSmrgesac 2535ff7e0accSmrg CC=$ac_ct_CC 2536ff7e0accSmrg fi 2537ff7e0accSmrgelse 2538ff7e0accSmrg CC="$ac_cv_prog_CC" 2539ff7e0accSmrgfi 2540ff7e0accSmrg 2541ff7e0accSmrgif test -z "$CC"; then 2542ff7e0accSmrg if test -n "$ac_tool_prefix"; then 2543ff7e0accSmrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2544ff7e0accSmrgset dummy ${ac_tool_prefix}cc; ac_word=$2 2545a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2546a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 2547ff7e0accSmrgif test "${ac_cv_prog_CC+set}" = set; then 2548a005d216Smrg $as_echo_n "(cached) " >&6 2549ff7e0accSmrgelse 2550ff7e0accSmrg if test -n "$CC"; then 2551ff7e0accSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2552ff7e0accSmrgelse 2553ff7e0accSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2554ff7e0accSmrgfor as_dir in $PATH 2555ff7e0accSmrgdo 2556ff7e0accSmrg IFS=$as_save_IFS 2557ff7e0accSmrg test -z "$as_dir" && as_dir=. 2558ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2559ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2560ff7e0accSmrg ac_cv_prog_CC="${ac_tool_prefix}cc" 2561a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2562ff7e0accSmrg break 2 2563ff7e0accSmrg fi 2564ff7e0accSmrgdone 2565ff7e0accSmrgdone 2566ff7e0accSmrgIFS=$as_save_IFS 2567ff7e0accSmrg 2568ff7e0accSmrgfi 2569ff7e0accSmrgfi 2570ff7e0accSmrgCC=$ac_cv_prog_CC 2571ff7e0accSmrgif test -n "$CC"; then 2572a005d216Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2573a005d216Smrg$as_echo "$CC" >&6; } 2574ff7e0accSmrgelse 2575a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2576a005d216Smrg$as_echo "no" >&6; } 2577ff7e0accSmrgfi 2578ff7e0accSmrg 2579ff7e0accSmrg 2580ff7e0accSmrg fi 2581ff7e0accSmrgfi 2582ff7e0accSmrgif test -z "$CC"; then 2583ff7e0accSmrg # Extract the first word of "cc", so it can be a program name with args. 2584ff7e0accSmrgset dummy cc; ac_word=$2 2585a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2586a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 2587ff7e0accSmrgif test "${ac_cv_prog_CC+set}" = set; then 2588a005d216Smrg $as_echo_n "(cached) " >&6 2589ff7e0accSmrgelse 2590ff7e0accSmrg if test -n "$CC"; then 2591ff7e0accSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2592ff7e0accSmrgelse 2593ff7e0accSmrg ac_prog_rejected=no 2594ff7e0accSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2595ff7e0accSmrgfor as_dir in $PATH 2596ff7e0accSmrgdo 2597ff7e0accSmrg IFS=$as_save_IFS 2598ff7e0accSmrg test -z "$as_dir" && as_dir=. 2599ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2600ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2601ff7e0accSmrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2602ff7e0accSmrg ac_prog_rejected=yes 2603ff7e0accSmrg continue 2604ff7e0accSmrg fi 2605ff7e0accSmrg ac_cv_prog_CC="cc" 2606a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2607ff7e0accSmrg break 2 2608ff7e0accSmrg fi 2609ff7e0accSmrgdone 2610ff7e0accSmrgdone 2611ff7e0accSmrgIFS=$as_save_IFS 2612ff7e0accSmrg 2613ff7e0accSmrgif test $ac_prog_rejected = yes; then 2614ff7e0accSmrg # We found a bogon in the path, so make sure we never use it. 2615ff7e0accSmrg set dummy $ac_cv_prog_CC 2616ff7e0accSmrg shift 2617ff7e0accSmrg if test $# != 0; then 2618ff7e0accSmrg # We chose a different compiler from the bogus one. 2619ff7e0accSmrg # However, it has the same basename, so the bogon will be chosen 2620ff7e0accSmrg # first if we set CC to just the basename; use the full file name. 2621ff7e0accSmrg shift 2622ff7e0accSmrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2623ff7e0accSmrg fi 2624ff7e0accSmrgfi 2625ff7e0accSmrgfi 2626ff7e0accSmrgfi 2627ff7e0accSmrgCC=$ac_cv_prog_CC 2628ff7e0accSmrgif test -n "$CC"; then 2629a005d216Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2630a005d216Smrg$as_echo "$CC" >&6; } 2631ff7e0accSmrgelse 2632a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2633a005d216Smrg$as_echo "no" >&6; } 2634ff7e0accSmrgfi 2635ff7e0accSmrg 2636ff7e0accSmrg 2637ff7e0accSmrgfi 2638ff7e0accSmrgif test -z "$CC"; then 2639ff7e0accSmrg if test -n "$ac_tool_prefix"; then 2640ff7e0accSmrg for ac_prog in cl.exe 2641ff7e0accSmrg do 2642ff7e0accSmrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2643ff7e0accSmrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 2644a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2645a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 2646ff7e0accSmrgif test "${ac_cv_prog_CC+set}" = set; then 2647a005d216Smrg $as_echo_n "(cached) " >&6 2648ff7e0accSmrgelse 2649ff7e0accSmrg if test -n "$CC"; then 2650ff7e0accSmrg ac_cv_prog_CC="$CC" # Let the user override the test. 2651ff7e0accSmrgelse 2652ff7e0accSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2653ff7e0accSmrgfor as_dir in $PATH 2654ff7e0accSmrgdo 2655ff7e0accSmrg IFS=$as_save_IFS 2656ff7e0accSmrg test -z "$as_dir" && as_dir=. 2657ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2658ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2659ff7e0accSmrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2660a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2661ff7e0accSmrg break 2 2662ff7e0accSmrg fi 2663ff7e0accSmrgdone 2664ff7e0accSmrgdone 2665ff7e0accSmrgIFS=$as_save_IFS 2666ff7e0accSmrg 2667ff7e0accSmrgfi 2668ff7e0accSmrgfi 2669ff7e0accSmrgCC=$ac_cv_prog_CC 2670ff7e0accSmrgif test -n "$CC"; then 2671a005d216Smrg { $as_echo "$as_me:$LINENO: result: $CC" >&5 2672a005d216Smrg$as_echo "$CC" >&6; } 2673ff7e0accSmrgelse 2674a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2675a005d216Smrg$as_echo "no" >&6; } 2676ff7e0accSmrgfi 2677ff7e0accSmrg 2678ff7e0accSmrg 2679ff7e0accSmrg test -n "$CC" && break 2680ff7e0accSmrg done 2681ff7e0accSmrgfi 2682ff7e0accSmrgif test -z "$CC"; then 2683ff7e0accSmrg ac_ct_CC=$CC 2684ff7e0accSmrg for ac_prog in cl.exe 2685ff7e0accSmrgdo 2686ff7e0accSmrg # Extract the first word of "$ac_prog", so it can be a program name with args. 2687ff7e0accSmrgset dummy $ac_prog; ac_word=$2 2688a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 2689a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 2690ff7e0accSmrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2691a005d216Smrg $as_echo_n "(cached) " >&6 2692ff7e0accSmrgelse 2693ff7e0accSmrg if test -n "$ac_ct_CC"; then 2694ff7e0accSmrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2695ff7e0accSmrgelse 2696ff7e0accSmrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2697ff7e0accSmrgfor as_dir in $PATH 2698ff7e0accSmrgdo 2699ff7e0accSmrg IFS=$as_save_IFS 2700ff7e0accSmrg test -z "$as_dir" && as_dir=. 2701ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 2702ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2703ff7e0accSmrg ac_cv_prog_ac_ct_CC="$ac_prog" 2704a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2705ff7e0accSmrg break 2 2706ff7e0accSmrg fi 2707ff7e0accSmrgdone 2708ff7e0accSmrgdone 2709ff7e0accSmrgIFS=$as_save_IFS 2710ff7e0accSmrg 2711ff7e0accSmrgfi 2712ff7e0accSmrgfi 2713ff7e0accSmrgac_ct_CC=$ac_cv_prog_ac_ct_CC 2714ff7e0accSmrgif test -n "$ac_ct_CC"; then 2715a005d216Smrg { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2716a005d216Smrg$as_echo "$ac_ct_CC" >&6; } 2717ff7e0accSmrgelse 2718a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 2719a005d216Smrg$as_echo "no" >&6; } 2720ff7e0accSmrgfi 2721ff7e0accSmrg 2722ff7e0accSmrg 2723ff7e0accSmrg test -n "$ac_ct_CC" && break 2724ff7e0accSmrgdone 2725ff7e0accSmrg 2726ff7e0accSmrg if test "x$ac_ct_CC" = x; then 2727ff7e0accSmrg CC="" 2728ff7e0accSmrg else 2729ff7e0accSmrg case $cross_compiling:$ac_tool_warned in 2730ff7e0accSmrgyes:) 273110998002Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 273210998002Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2733ff7e0accSmrgac_tool_warned=yes ;; 2734ff7e0accSmrgesac 2735ff7e0accSmrg CC=$ac_ct_CC 2736ff7e0accSmrg fi 2737ff7e0accSmrgfi 2738ff7e0accSmrg 2739ff7e0accSmrgfi 2740ff7e0accSmrg 2741ff7e0accSmrg 274210998002Smrgtest -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 274310998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 274410998002Smrg{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2745ff7e0accSmrgSee \`config.log' for more details." >&5 2746a005d216Smrg$as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2747ff7e0accSmrgSee \`config.log' for more details." >&2;} 274810998002Smrg { (exit 1); exit 1; }; }; } 2749ff7e0accSmrg 2750ff7e0accSmrg# Provide some information about the compiler. 2751a005d216Smrg$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 2752a005d216Smrgset X $ac_compile 2753a005d216Smrgac_compiler=$2 2754ff7e0accSmrg{ (ac_try="$ac_compiler --version >&5" 2755ff7e0accSmrgcase "(($ac_try" in 2756ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2757ff7e0accSmrg *) ac_try_echo=$ac_try;; 2758ff7e0accSmrgesac 2759a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2760a005d216Smrg$as_echo "$ac_try_echo") >&5 2761ff7e0accSmrg (eval "$ac_compiler --version >&5") 2>&5 2762ff7e0accSmrg ac_status=$? 2763a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2764ff7e0accSmrg (exit $ac_status); } 2765ff7e0accSmrg{ (ac_try="$ac_compiler -v >&5" 2766ff7e0accSmrgcase "(($ac_try" in 2767ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2768ff7e0accSmrg *) ac_try_echo=$ac_try;; 2769ff7e0accSmrgesac 2770a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2771a005d216Smrg$as_echo "$ac_try_echo") >&5 2772ff7e0accSmrg (eval "$ac_compiler -v >&5") 2>&5 2773ff7e0accSmrg ac_status=$? 2774a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2775ff7e0accSmrg (exit $ac_status); } 2776ff7e0accSmrg{ (ac_try="$ac_compiler -V >&5" 2777ff7e0accSmrgcase "(($ac_try" in 2778ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2779ff7e0accSmrg *) ac_try_echo=$ac_try;; 2780ff7e0accSmrgesac 2781a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2782a005d216Smrg$as_echo "$ac_try_echo") >&5 2783ff7e0accSmrg (eval "$ac_compiler -V >&5") 2>&5 2784ff7e0accSmrg ac_status=$? 2785a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2786ff7e0accSmrg (exit $ac_status); } 2787ff7e0accSmrg 2788ff7e0accSmrgcat >conftest.$ac_ext <<_ACEOF 2789ff7e0accSmrg/* confdefs.h. */ 2790ff7e0accSmrg_ACEOF 2791ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 2792ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 2793ff7e0accSmrg/* end confdefs.h. */ 2794ff7e0accSmrg 2795ff7e0accSmrgint 2796ff7e0accSmrgmain () 2797ff7e0accSmrg{ 2798ff7e0accSmrg 2799ff7e0accSmrg ; 2800ff7e0accSmrg return 0; 2801ff7e0accSmrg} 2802ff7e0accSmrg_ACEOF 2803ff7e0accSmrgac_clean_files_save=$ac_clean_files 2804a005d216Smrgac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2805ff7e0accSmrg# Try to create an executable without -o first, disregard a.out. 2806ff7e0accSmrg# It will help us diagnose broken compilers, and finding out an intuition 2807ff7e0accSmrg# of exeext. 2808a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2809a005d216Smrg$as_echo_n "checking for C compiler default output file name... " >&6; } 2810a005d216Smrgac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2811a005d216Smrg 2812a005d216Smrg# The possible output files: 2813a005d216Smrgac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2814a005d216Smrg 2815ff7e0accSmrgac_rmfiles= 2816ff7e0accSmrgfor ac_file in $ac_files 2817ff7e0accSmrgdo 2818ff7e0accSmrg case $ac_file in 2819a005d216Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2820ff7e0accSmrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2821ff7e0accSmrg esac 2822ff7e0accSmrgdone 2823ff7e0accSmrgrm -f $ac_rmfiles 2824ff7e0accSmrg 2825ff7e0accSmrgif { (ac_try="$ac_link_default" 2826ff7e0accSmrgcase "(($ac_try" in 2827ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2828ff7e0accSmrg *) ac_try_echo=$ac_try;; 2829ff7e0accSmrgesac 2830a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2831a005d216Smrg$as_echo "$ac_try_echo") >&5 2832ff7e0accSmrg (eval "$ac_link_default") 2>&5 2833ff7e0accSmrg ac_status=$? 2834a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2835ff7e0accSmrg (exit $ac_status); }; then 2836ff7e0accSmrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2837ff7e0accSmrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2838ff7e0accSmrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 2839ff7e0accSmrg# so that the user can short-circuit this test for compilers unknown to 2840ff7e0accSmrg# Autoconf. 2841ff7e0accSmrgfor ac_file in $ac_files '' 2842ff7e0accSmrgdo 2843ff7e0accSmrg test -f "$ac_file" || continue 2844ff7e0accSmrg case $ac_file in 2845a005d216Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2846ff7e0accSmrg ;; 2847ff7e0accSmrg [ab].out ) 2848ff7e0accSmrg # We found the default executable, but exeext='' is most 2849ff7e0accSmrg # certainly right. 2850ff7e0accSmrg break;; 2851ff7e0accSmrg *.* ) 2852ff7e0accSmrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2853ff7e0accSmrg then :; else 2854ff7e0accSmrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2855ff7e0accSmrg fi 2856ff7e0accSmrg # We set ac_cv_exeext here because the later test for it is not 2857ff7e0accSmrg # safe: cross compilers may not add the suffix if given an `-o' 2858ff7e0accSmrg # argument, so we may need to know it at that point already. 2859ff7e0accSmrg # Even if this section looks crufty: it has the advantage of 2860ff7e0accSmrg # actually working. 2861ff7e0accSmrg break;; 2862ff7e0accSmrg * ) 2863ff7e0accSmrg break;; 2864ff7e0accSmrg esac 2865ff7e0accSmrgdone 2866ff7e0accSmrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 2867ff7e0accSmrg 2868ff7e0accSmrgelse 2869ff7e0accSmrg ac_file='' 2870ff7e0accSmrgfi 2871ff7e0accSmrg 2872a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2873a005d216Smrg$as_echo "$ac_file" >&6; } 2874ff7e0accSmrgif test -z "$ac_file"; then 2875a005d216Smrg $as_echo "$as_me: failed program was:" >&5 2876ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 2877ff7e0accSmrg 287810998002Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 287910998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2880a005d216Smrg{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2881ff7e0accSmrgSee \`config.log' for more details." >&5 2882a005d216Smrg$as_echo "$as_me: error: C compiler cannot create executables 2883ff7e0accSmrgSee \`config.log' for more details." >&2;} 288410998002Smrg { (exit 77); exit 77; }; }; } 2885ff7e0accSmrgfi 2886ff7e0accSmrg 2887ff7e0accSmrgac_exeext=$ac_cv_exeext 2888ff7e0accSmrg 2889ff7e0accSmrg# Check that the compiler produces executables we can run. If not, either 2890ff7e0accSmrg# the compiler is broken, or we cross compile. 2891a005d216Smrg{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2892a005d216Smrg$as_echo_n "checking whether the C compiler works... " >&6; } 2893ff7e0accSmrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2894ff7e0accSmrg# If not cross compiling, check that we can run a simple program. 2895ff7e0accSmrgif test "$cross_compiling" != yes; then 2896ff7e0accSmrg if { ac_try='./$ac_file' 2897ff7e0accSmrg { (case "(($ac_try" in 2898ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2899ff7e0accSmrg *) ac_try_echo=$ac_try;; 2900ff7e0accSmrgesac 2901a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2902a005d216Smrg$as_echo "$ac_try_echo") >&5 2903ff7e0accSmrg (eval "$ac_try") 2>&5 2904ff7e0accSmrg ac_status=$? 2905a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2906ff7e0accSmrg (exit $ac_status); }; }; then 2907ff7e0accSmrg cross_compiling=no 2908ff7e0accSmrg else 2909ff7e0accSmrg if test "$cross_compiling" = maybe; then 2910ff7e0accSmrg cross_compiling=yes 2911ff7e0accSmrg else 291210998002Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 291310998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 291410998002Smrg{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2915ff7e0accSmrgIf you meant to cross compile, use \`--host'. 2916ff7e0accSmrgSee \`config.log' for more details." >&5 2917a005d216Smrg$as_echo "$as_me: error: cannot run C compiled programs. 2918ff7e0accSmrgIf you meant to cross compile, use \`--host'. 2919ff7e0accSmrgSee \`config.log' for more details." >&2;} 292010998002Smrg { (exit 1); exit 1; }; }; } 2921ff7e0accSmrg fi 2922ff7e0accSmrg fi 2923ff7e0accSmrgfi 2924a005d216Smrg{ $as_echo "$as_me:$LINENO: result: yes" >&5 2925a005d216Smrg$as_echo "yes" >&6; } 2926ff7e0accSmrg 2927a005d216Smrgrm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2928ff7e0accSmrgac_clean_files=$ac_clean_files_save 2929ff7e0accSmrg# Check that the compiler produces executables we can run. If not, either 2930ff7e0accSmrg# the compiler is broken, or we cross compile. 2931a005d216Smrg{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2932a005d216Smrg$as_echo_n "checking whether we are cross compiling... " >&6; } 2933a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 2934a005d216Smrg$as_echo "$cross_compiling" >&6; } 2935ff7e0accSmrg 2936a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 2937a005d216Smrg$as_echo_n "checking for suffix of executables... " >&6; } 2938ff7e0accSmrgif { (ac_try="$ac_link" 2939ff7e0accSmrgcase "(($ac_try" in 2940ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2941ff7e0accSmrg *) ac_try_echo=$ac_try;; 2942ff7e0accSmrgesac 2943a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2944a005d216Smrg$as_echo "$ac_try_echo") >&5 2945ff7e0accSmrg (eval "$ac_link") 2>&5 2946ff7e0accSmrg ac_status=$? 2947a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2948ff7e0accSmrg (exit $ac_status); }; then 2949ff7e0accSmrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 2950ff7e0accSmrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2951ff7e0accSmrg# work properly (i.e., refer to `conftest.exe'), while it won't with 2952ff7e0accSmrg# `rm'. 2953ff7e0accSmrgfor ac_file in conftest.exe conftest conftest.*; do 2954ff7e0accSmrg test -f "$ac_file" || continue 2955ff7e0accSmrg case $ac_file in 2956a005d216Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2957ff7e0accSmrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2958ff7e0accSmrg break;; 2959ff7e0accSmrg * ) break;; 2960ff7e0accSmrg esac 2961ff7e0accSmrgdone 2962ff7e0accSmrgelse 296310998002Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 296410998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 296510998002Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2966ff7e0accSmrgSee \`config.log' for more details." >&5 2967a005d216Smrg$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2968ff7e0accSmrgSee \`config.log' for more details." >&2;} 296910998002Smrg { (exit 1); exit 1; }; }; } 2970ff7e0accSmrgfi 2971ff7e0accSmrg 2972ff7e0accSmrgrm -f conftest$ac_cv_exeext 2973a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2974a005d216Smrg$as_echo "$ac_cv_exeext" >&6; } 2975ff7e0accSmrg 2976ff7e0accSmrgrm -f conftest.$ac_ext 2977ff7e0accSmrgEXEEXT=$ac_cv_exeext 2978ff7e0accSmrgac_exeext=$EXEEXT 2979a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 2980a005d216Smrg$as_echo_n "checking for suffix of object files... " >&6; } 2981ff7e0accSmrgif test "${ac_cv_objext+set}" = set; then 2982a005d216Smrg $as_echo_n "(cached) " >&6 2983ff7e0accSmrgelse 2984ff7e0accSmrg cat >conftest.$ac_ext <<_ACEOF 2985ff7e0accSmrg/* confdefs.h. */ 2986ff7e0accSmrg_ACEOF 2987ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 2988ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 2989ff7e0accSmrg/* end confdefs.h. */ 2990ff7e0accSmrg 2991ff7e0accSmrgint 2992ff7e0accSmrgmain () 2993ff7e0accSmrg{ 2994ff7e0accSmrg 2995ff7e0accSmrg ; 2996ff7e0accSmrg return 0; 2997ff7e0accSmrg} 2998ff7e0accSmrg_ACEOF 2999ff7e0accSmrgrm -f conftest.o conftest.obj 3000ff7e0accSmrgif { (ac_try="$ac_compile" 3001ff7e0accSmrgcase "(($ac_try" in 3002ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3003ff7e0accSmrg *) ac_try_echo=$ac_try;; 3004ff7e0accSmrgesac 3005a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3006a005d216Smrg$as_echo "$ac_try_echo") >&5 3007ff7e0accSmrg (eval "$ac_compile") 2>&5 3008ff7e0accSmrg ac_status=$? 3009a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3010ff7e0accSmrg (exit $ac_status); }; then 3011ff7e0accSmrg for ac_file in conftest.o conftest.obj conftest.*; do 3012ff7e0accSmrg test -f "$ac_file" || continue; 3013ff7e0accSmrg case $ac_file in 3014a005d216Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3015ff7e0accSmrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3016ff7e0accSmrg break;; 3017ff7e0accSmrg esac 3018ff7e0accSmrgdone 3019ff7e0accSmrgelse 3020a005d216Smrg $as_echo "$as_me: failed program was:" >&5 3021ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 3022ff7e0accSmrg 302310998002Smrg{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 302410998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3025a005d216Smrg{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 3026ff7e0accSmrgSee \`config.log' for more details." >&5 3027a005d216Smrg$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 3028ff7e0accSmrgSee \`config.log' for more details." >&2;} 302910998002Smrg { (exit 1); exit 1; }; }; } 3030ff7e0accSmrgfi 3031ff7e0accSmrg 3032ff7e0accSmrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 3033ff7e0accSmrgfi 3034a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 3035a005d216Smrg$as_echo "$ac_cv_objext" >&6; } 3036ff7e0accSmrgOBJEXT=$ac_cv_objext 3037ff7e0accSmrgac_objext=$OBJEXT 3038a005d216Smrg{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3039a005d216Smrg$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3040ff7e0accSmrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 3041a005d216Smrg $as_echo_n "(cached) " >&6 3042ff7e0accSmrgelse 3043ff7e0accSmrg cat >conftest.$ac_ext <<_ACEOF 3044ff7e0accSmrg/* confdefs.h. */ 3045ff7e0accSmrg_ACEOF 3046ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 3047ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 3048ff7e0accSmrg/* end confdefs.h. */ 3049ff7e0accSmrg 3050ff7e0accSmrgint 3051ff7e0accSmrgmain () 3052ff7e0accSmrg{ 3053ff7e0accSmrg#ifndef __GNUC__ 3054ff7e0accSmrg choke me 3055ff7e0accSmrg#endif 3056ff7e0accSmrg 3057ff7e0accSmrg ; 3058ff7e0accSmrg return 0; 3059ff7e0accSmrg} 3060ff7e0accSmrg_ACEOF 3061ff7e0accSmrgrm -f conftest.$ac_objext 3062ff7e0accSmrgif { (ac_try="$ac_compile" 3063ff7e0accSmrgcase "(($ac_try" in 3064ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3065ff7e0accSmrg *) ac_try_echo=$ac_try;; 3066ff7e0accSmrgesac 3067a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3068a005d216Smrg$as_echo "$ac_try_echo") >&5 3069ff7e0accSmrg (eval "$ac_compile") 2>conftest.er1 3070ff7e0accSmrg ac_status=$? 3071ff7e0accSmrg grep -v '^ *+' conftest.er1 >conftest.err 3072ff7e0accSmrg rm -f conftest.er1 3073ff7e0accSmrg cat conftest.err >&5 3074a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3075ff7e0accSmrg (exit $ac_status); } && { 3076ff7e0accSmrg test -z "$ac_c_werror_flag" || 3077ff7e0accSmrg test ! -s conftest.err 3078ff7e0accSmrg } && test -s conftest.$ac_objext; then 3079ff7e0accSmrg ac_compiler_gnu=yes 3080ff7e0accSmrgelse 3081a005d216Smrg $as_echo "$as_me: failed program was:" >&5 3082ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 3083ff7e0accSmrg 3084ff7e0accSmrg ac_compiler_gnu=no 3085ff7e0accSmrgfi 3086ff7e0accSmrg 3087ff7e0accSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3088ff7e0accSmrgac_cv_c_compiler_gnu=$ac_compiler_gnu 3089ff7e0accSmrg 3090ff7e0accSmrgfi 3091a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3092a005d216Smrg$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3093a005d216Smrgif test $ac_compiler_gnu = yes; then 3094a005d216Smrg GCC=yes 3095a005d216Smrgelse 3096a005d216Smrg GCC= 3097a005d216Smrgfi 3098ff7e0accSmrgac_test_CFLAGS=${CFLAGS+set} 3099ff7e0accSmrgac_save_CFLAGS=$CFLAGS 3100a005d216Smrg{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3101a005d216Smrg$as_echo_n "checking whether $CC accepts -g... " >&6; } 3102ff7e0accSmrgif test "${ac_cv_prog_cc_g+set}" = set; then 3103a005d216Smrg $as_echo_n "(cached) " >&6 3104ff7e0accSmrgelse 3105ff7e0accSmrg ac_save_c_werror_flag=$ac_c_werror_flag 3106ff7e0accSmrg ac_c_werror_flag=yes 3107ff7e0accSmrg ac_cv_prog_cc_g=no 3108ff7e0accSmrg CFLAGS="-g" 3109ff7e0accSmrg cat >conftest.$ac_ext <<_ACEOF 3110ff7e0accSmrg/* confdefs.h. */ 3111ff7e0accSmrg_ACEOF 3112ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 3113ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 3114ff7e0accSmrg/* end confdefs.h. */ 3115ff7e0accSmrg 3116ff7e0accSmrgint 3117ff7e0accSmrgmain () 3118ff7e0accSmrg{ 3119ff7e0accSmrg 3120ff7e0accSmrg ; 3121ff7e0accSmrg return 0; 3122ff7e0accSmrg} 3123ff7e0accSmrg_ACEOF 3124ff7e0accSmrgrm -f conftest.$ac_objext 3125ff7e0accSmrgif { (ac_try="$ac_compile" 3126ff7e0accSmrgcase "(($ac_try" in 3127ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3128ff7e0accSmrg *) ac_try_echo=$ac_try;; 3129ff7e0accSmrgesac 3130a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3131a005d216Smrg$as_echo "$ac_try_echo") >&5 3132ff7e0accSmrg (eval "$ac_compile") 2>conftest.er1 3133ff7e0accSmrg ac_status=$? 3134ff7e0accSmrg grep -v '^ *+' conftest.er1 >conftest.err 3135ff7e0accSmrg rm -f conftest.er1 3136ff7e0accSmrg cat conftest.err >&5 3137a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3138ff7e0accSmrg (exit $ac_status); } && { 3139ff7e0accSmrg test -z "$ac_c_werror_flag" || 3140ff7e0accSmrg test ! -s conftest.err 3141ff7e0accSmrg } && test -s conftest.$ac_objext; then 3142ff7e0accSmrg ac_cv_prog_cc_g=yes 3143ff7e0accSmrgelse 3144a005d216Smrg $as_echo "$as_me: failed program was:" >&5 3145ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 3146ff7e0accSmrg 3147ff7e0accSmrg CFLAGS="" 3148ff7e0accSmrg cat >conftest.$ac_ext <<_ACEOF 3149ff7e0accSmrg/* confdefs.h. */ 3150ff7e0accSmrg_ACEOF 3151ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 3152ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 3153ff7e0accSmrg/* end confdefs.h. */ 3154ff7e0accSmrg 3155ff7e0accSmrgint 3156ff7e0accSmrgmain () 3157ff7e0accSmrg{ 3158ff7e0accSmrg 3159ff7e0accSmrg ; 3160ff7e0accSmrg return 0; 3161ff7e0accSmrg} 3162ff7e0accSmrg_ACEOF 3163ff7e0accSmrgrm -f conftest.$ac_objext 3164ff7e0accSmrgif { (ac_try="$ac_compile" 3165ff7e0accSmrgcase "(($ac_try" in 3166ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3167ff7e0accSmrg *) ac_try_echo=$ac_try;; 3168ff7e0accSmrgesac 3169a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3170a005d216Smrg$as_echo "$ac_try_echo") >&5 3171ff7e0accSmrg (eval "$ac_compile") 2>conftest.er1 3172ff7e0accSmrg ac_status=$? 3173ff7e0accSmrg grep -v '^ *+' conftest.er1 >conftest.err 3174ff7e0accSmrg rm -f conftest.er1 3175ff7e0accSmrg cat conftest.err >&5 3176a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3177ff7e0accSmrg (exit $ac_status); } && { 3178ff7e0accSmrg test -z "$ac_c_werror_flag" || 3179ff7e0accSmrg test ! -s conftest.err 3180ff7e0accSmrg } && test -s conftest.$ac_objext; then 3181ff7e0accSmrg : 3182ff7e0accSmrgelse 3183a005d216Smrg $as_echo "$as_me: failed program was:" >&5 3184ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 3185ff7e0accSmrg 3186ff7e0accSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3187ff7e0accSmrg CFLAGS="-g" 3188ff7e0accSmrg cat >conftest.$ac_ext <<_ACEOF 3189ff7e0accSmrg/* confdefs.h. */ 3190ff7e0accSmrg_ACEOF 3191ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 3192ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 3193ff7e0accSmrg/* end confdefs.h. */ 3194ff7e0accSmrg 3195ff7e0accSmrgint 3196ff7e0accSmrgmain () 3197ff7e0accSmrg{ 3198ff7e0accSmrg 3199ff7e0accSmrg ; 3200ff7e0accSmrg return 0; 3201ff7e0accSmrg} 3202ff7e0accSmrg_ACEOF 3203ff7e0accSmrgrm -f conftest.$ac_objext 3204ff7e0accSmrgif { (ac_try="$ac_compile" 3205ff7e0accSmrgcase "(($ac_try" in 3206ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3207ff7e0accSmrg *) ac_try_echo=$ac_try;; 3208ff7e0accSmrgesac 3209a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3210a005d216Smrg$as_echo "$ac_try_echo") >&5 3211ff7e0accSmrg (eval "$ac_compile") 2>conftest.er1 3212ff7e0accSmrg ac_status=$? 3213ff7e0accSmrg grep -v '^ *+' conftest.er1 >conftest.err 3214ff7e0accSmrg rm -f conftest.er1 3215ff7e0accSmrg cat conftest.err >&5 3216a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3217ff7e0accSmrg (exit $ac_status); } && { 3218ff7e0accSmrg test -z "$ac_c_werror_flag" || 3219ff7e0accSmrg test ! -s conftest.err 3220ff7e0accSmrg } && test -s conftest.$ac_objext; then 3221ff7e0accSmrg ac_cv_prog_cc_g=yes 3222ff7e0accSmrgelse 3223a005d216Smrg $as_echo "$as_me: failed program was:" >&5 3224ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 3225ff7e0accSmrg 3226ff7e0accSmrg 3227ff7e0accSmrgfi 3228ff7e0accSmrg 3229ff7e0accSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3230ff7e0accSmrgfi 3231ff7e0accSmrg 3232ff7e0accSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3233ff7e0accSmrgfi 3234ff7e0accSmrg 3235ff7e0accSmrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3236ff7e0accSmrg ac_c_werror_flag=$ac_save_c_werror_flag 3237ff7e0accSmrgfi 3238a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3239a005d216Smrg$as_echo "$ac_cv_prog_cc_g" >&6; } 3240ff7e0accSmrgif test "$ac_test_CFLAGS" = set; then 3241ff7e0accSmrg CFLAGS=$ac_save_CFLAGS 3242ff7e0accSmrgelif test $ac_cv_prog_cc_g = yes; then 3243ff7e0accSmrg if test "$GCC" = yes; then 3244ff7e0accSmrg CFLAGS="-g -O2" 3245ff7e0accSmrg else 3246ff7e0accSmrg CFLAGS="-g" 3247ff7e0accSmrg fi 3248ff7e0accSmrgelse 3249ff7e0accSmrg if test "$GCC" = yes; then 3250ff7e0accSmrg CFLAGS="-O2" 3251ff7e0accSmrg else 3252ff7e0accSmrg CFLAGS= 3253ff7e0accSmrg fi 3254ff7e0accSmrgfi 3255a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 3256a005d216Smrg$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3257ff7e0accSmrgif test "${ac_cv_prog_cc_c89+set}" = set; then 3258a005d216Smrg $as_echo_n "(cached) " >&6 3259ff7e0accSmrgelse 3260ff7e0accSmrg ac_cv_prog_cc_c89=no 3261ff7e0accSmrgac_save_CC=$CC 3262ff7e0accSmrgcat >conftest.$ac_ext <<_ACEOF 3263ff7e0accSmrg/* confdefs.h. */ 3264ff7e0accSmrg_ACEOF 3265ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 3266ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 3267ff7e0accSmrg/* end confdefs.h. */ 3268ff7e0accSmrg#include <stdarg.h> 3269ff7e0accSmrg#include <stdio.h> 3270ff7e0accSmrg#include <sys/types.h> 3271ff7e0accSmrg#include <sys/stat.h> 3272ff7e0accSmrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3273ff7e0accSmrgstruct buf { int x; }; 3274ff7e0accSmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 3275ff7e0accSmrgstatic char *e (p, i) 3276ff7e0accSmrg char **p; 3277ff7e0accSmrg int i; 3278ff7e0accSmrg{ 3279ff7e0accSmrg return p[i]; 3280ff7e0accSmrg} 3281ff7e0accSmrgstatic char *f (char * (*g) (char **, int), char **p, ...) 3282ff7e0accSmrg{ 3283ff7e0accSmrg char *s; 3284ff7e0accSmrg va_list v; 3285ff7e0accSmrg va_start (v,p); 3286ff7e0accSmrg s = g (p, va_arg (v,int)); 3287ff7e0accSmrg va_end (v); 3288ff7e0accSmrg return s; 3289ff7e0accSmrg} 3290ff7e0accSmrg 3291ff7e0accSmrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3292ff7e0accSmrg function prototypes and stuff, but not '\xHH' hex character constants. 3293ff7e0accSmrg These don't provoke an error unfortunately, instead are silently treated 3294ff7e0accSmrg as 'x'. The following induces an error, until -std is added to get 3295ff7e0accSmrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3296ff7e0accSmrg array size at least. It's necessary to write '\x00'==0 to get something 3297ff7e0accSmrg that's true only with -std. */ 3298ff7e0accSmrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3299ff7e0accSmrg 3300ff7e0accSmrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3301ff7e0accSmrg inside strings and character constants. */ 3302ff7e0accSmrg#define FOO(x) 'x' 3303ff7e0accSmrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3304ff7e0accSmrg 3305ff7e0accSmrgint test (int i, double x); 3306ff7e0accSmrgstruct s1 {int (*f) (int a);}; 3307ff7e0accSmrgstruct s2 {int (*f) (double a);}; 3308ff7e0accSmrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3309ff7e0accSmrgint argc; 3310ff7e0accSmrgchar **argv; 3311ff7e0accSmrgint 3312ff7e0accSmrgmain () 3313ff7e0accSmrg{ 3314ff7e0accSmrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3315ff7e0accSmrg ; 3316ff7e0accSmrg return 0; 3317ff7e0accSmrg} 3318ff7e0accSmrg_ACEOF 3319ff7e0accSmrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3320ff7e0accSmrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3321ff7e0accSmrgdo 3322ff7e0accSmrg CC="$ac_save_CC $ac_arg" 3323ff7e0accSmrg rm -f conftest.$ac_objext 3324ff7e0accSmrgif { (ac_try="$ac_compile" 3325ff7e0accSmrgcase "(($ac_try" in 3326ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3327ff7e0accSmrg *) ac_try_echo=$ac_try;; 3328ff7e0accSmrgesac 3329a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3330a005d216Smrg$as_echo "$ac_try_echo") >&5 3331ff7e0accSmrg (eval "$ac_compile") 2>conftest.er1 3332ff7e0accSmrg ac_status=$? 3333ff7e0accSmrg grep -v '^ *+' conftest.er1 >conftest.err 3334ff7e0accSmrg rm -f conftest.er1 3335ff7e0accSmrg cat conftest.err >&5 3336a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3337ff7e0accSmrg (exit $ac_status); } && { 3338ff7e0accSmrg test -z "$ac_c_werror_flag" || 3339ff7e0accSmrg test ! -s conftest.err 3340ff7e0accSmrg } && test -s conftest.$ac_objext; then 3341ff7e0accSmrg ac_cv_prog_cc_c89=$ac_arg 3342ff7e0accSmrgelse 3343a005d216Smrg $as_echo "$as_me: failed program was:" >&5 3344ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 3345ff7e0accSmrg 3346ff7e0accSmrg 3347ff7e0accSmrgfi 3348ff7e0accSmrg 3349ff7e0accSmrgrm -f core conftest.err conftest.$ac_objext 3350ff7e0accSmrg test "x$ac_cv_prog_cc_c89" != "xno" && break 3351ff7e0accSmrgdone 3352ff7e0accSmrgrm -f conftest.$ac_ext 3353ff7e0accSmrgCC=$ac_save_CC 3354ff7e0accSmrg 3355ff7e0accSmrgfi 3356ff7e0accSmrg# AC_CACHE_VAL 3357ff7e0accSmrgcase "x$ac_cv_prog_cc_c89" in 3358ff7e0accSmrg x) 3359a005d216Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 3360a005d216Smrg$as_echo "none needed" >&6; } ;; 3361ff7e0accSmrg xno) 3362a005d216Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 3363a005d216Smrg$as_echo "unsupported" >&6; } ;; 3364ff7e0accSmrg *) 3365ff7e0accSmrg CC="$CC $ac_cv_prog_cc_c89" 3366a005d216Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 3367a005d216Smrg$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3368ff7e0accSmrgesac 3369ff7e0accSmrg 3370ff7e0accSmrg 3371ff7e0accSmrgac_ext=c 3372ff7e0accSmrgac_cpp='$CPP $CPPFLAGS' 3373ff7e0accSmrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3374ff7e0accSmrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3375ff7e0accSmrgac_compiler_gnu=$ac_cv_c_compiler_gnu 3376ff7e0accSmrgDEPDIR="${am__leading_dot}deps" 3377ff7e0accSmrg 3378ff7e0accSmrgac_config_commands="$ac_config_commands depfiles" 3379ff7e0accSmrg 3380ff7e0accSmrg 3381ff7e0accSmrgam_make=${MAKE-make} 3382ff7e0accSmrgcat > confinc << 'END' 3383ff7e0accSmrgam__doit: 338410998002Smrg @echo this is the am__doit target 3385ff7e0accSmrg.PHONY: am__doit 3386ff7e0accSmrgEND 3387ff7e0accSmrg# If we don't find an include directive, just comment out the code. 3388a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3389a005d216Smrg$as_echo_n "checking for style of include used by $am_make... " >&6; } 3390ff7e0accSmrgam__include="#" 3391ff7e0accSmrgam__quote= 3392ff7e0accSmrg_am_result=none 3393ff7e0accSmrg# First try GNU make style include. 3394ff7e0accSmrgecho "include confinc" > confmf 339510998002Smrg# Ignore all kinds of additional output from `make'. 339610998002Smrgcase `$am_make -s -f confmf 2> /dev/null` in #( 339710998002Smrg*the\ am__doit\ target*) 339810998002Smrg am__include=include 339910998002Smrg am__quote= 340010998002Smrg _am_result=GNU 340110998002Smrg ;; 340210998002Smrgesac 3403ff7e0accSmrg# Now try BSD make style include. 3404ff7e0accSmrgif test "$am__include" = "#"; then 3405ff7e0accSmrg echo '.include "confinc"' > confmf 340610998002Smrg case `$am_make -s -f confmf 2> /dev/null` in #( 340710998002Smrg *the\ am__doit\ target*) 340810998002Smrg am__include=.include 340910998002Smrg am__quote="\"" 341010998002Smrg _am_result=BSD 341110998002Smrg ;; 341210998002Smrg esac 3413ff7e0accSmrgfi 3414ff7e0accSmrg 3415ff7e0accSmrg 3416a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 3417a005d216Smrg$as_echo "$_am_result" >&6; } 3418ff7e0accSmrgrm -f confinc confmf 3419ff7e0accSmrg 3420ff7e0accSmrg# Check whether --enable-dependency-tracking was given. 3421ff7e0accSmrgif test "${enable_dependency_tracking+set}" = set; then 3422ff7e0accSmrg enableval=$enable_dependency_tracking; 3423ff7e0accSmrgfi 3424ff7e0accSmrg 3425ff7e0accSmrgif test "x$enable_dependency_tracking" != xno; then 3426ff7e0accSmrg am_depcomp="$ac_aux_dir/depcomp" 3427ff7e0accSmrg AMDEPBACKSLASH='\' 3428ff7e0accSmrgfi 3429ff7e0accSmrg if test "x$enable_dependency_tracking" != xno; then 3430ff7e0accSmrg AMDEP_TRUE= 3431ff7e0accSmrg AMDEP_FALSE='#' 3432ff7e0accSmrgelse 3433ff7e0accSmrg AMDEP_TRUE='#' 3434ff7e0accSmrg AMDEP_FALSE= 3435ff7e0accSmrgfi 3436ff7e0accSmrg 3437ff7e0accSmrg 3438ff7e0accSmrg 3439ff7e0accSmrgdepcc="$CC" am_compiler_list= 3440ff7e0accSmrg 3441a005d216Smrg{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3442a005d216Smrg$as_echo_n "checking dependency style of $depcc... " >&6; } 3443ff7e0accSmrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3444a005d216Smrg $as_echo_n "(cached) " >&6 3445ff7e0accSmrgelse 3446ff7e0accSmrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3447ff7e0accSmrg # We make a subdir and do the tests there. Otherwise we can end up 3448ff7e0accSmrg # making bogus files that we don't know about and never remove. For 3449ff7e0accSmrg # instance it was reported that on HP-UX the gcc test will end up 3450ff7e0accSmrg # making a dummy file named `D' -- because `-MD' means `put the output 3451ff7e0accSmrg # in D'. 3452ff7e0accSmrg mkdir conftest.dir 3453ff7e0accSmrg # Copy depcomp to subdir because otherwise we won't find it if we're 3454ff7e0accSmrg # using a relative directory. 3455ff7e0accSmrg cp "$am_depcomp" conftest.dir 3456ff7e0accSmrg cd conftest.dir 3457ff7e0accSmrg # We will build objects and dependencies in a subdirectory because 3458ff7e0accSmrg # it helps to detect inapplicable dependency modes. For instance 3459ff7e0accSmrg # both Tru64's cc and ICC support -MD to output dependencies as a 3460ff7e0accSmrg # side effect of compilation, but ICC will put the dependencies in 3461ff7e0accSmrg # the current directory while Tru64 will put them in the object 3462ff7e0accSmrg # directory. 3463ff7e0accSmrg mkdir sub 3464ff7e0accSmrg 3465ff7e0accSmrg am_cv_CC_dependencies_compiler_type=none 3466ff7e0accSmrg if test "$am_compiler_list" = ""; then 3467ff7e0accSmrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3468ff7e0accSmrg fi 346910998002Smrg am__universal=false 347010998002Smrg case " $depcc " in #( 347110998002Smrg *\ -arch\ *\ -arch\ *) am__universal=true ;; 347210998002Smrg esac 347310998002Smrg 3474ff7e0accSmrg for depmode in $am_compiler_list; do 3475ff7e0accSmrg # Setup a source with many dependencies, because some compilers 3476ff7e0accSmrg # like to wrap large dependency lists on column 80 (with \), and 3477ff7e0accSmrg # we should not choose a depcomp mode which is confused by this. 3478ff7e0accSmrg # 3479ff7e0accSmrg # We need to recreate these files for each test, as the compiler may 3480ff7e0accSmrg # overwrite some of them when testing with obscure command lines. 3481ff7e0accSmrg # This happens at least with the AIX C compiler. 3482ff7e0accSmrg : > sub/conftest.c 3483ff7e0accSmrg for i in 1 2 3 4 5 6; do 3484ff7e0accSmrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 3485ff7e0accSmrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3486ff7e0accSmrg # Solaris 8's {/usr,}/bin/sh. 3487ff7e0accSmrg touch sub/conftst$i.h 3488ff7e0accSmrg done 3489ff7e0accSmrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3490ff7e0accSmrg 349110998002Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 349210998002Smrg # mode. It turns out that the SunPro C++ compiler does not properly 349310998002Smrg # handle `-M -o', and we need to detect this. Also, some Intel 349410998002Smrg # versions had trouble with output in subdirs 349510998002Smrg am__obj=sub/conftest.${OBJEXT-o} 349610998002Smrg am__minus_obj="-o $am__obj" 3497ff7e0accSmrg case $depmode in 349810998002Smrg gcc) 349910998002Smrg # This depmode causes a compiler race in universal mode. 350010998002Smrg test "$am__universal" = false || continue 350110998002Smrg ;; 3502ff7e0accSmrg nosideeffect) 3503ff7e0accSmrg # after this tag, mechanisms are not by side-effect, so they'll 3504ff7e0accSmrg # only be used when explicitly requested 3505ff7e0accSmrg if test "x$enable_dependency_tracking" = xyes; then 3506ff7e0accSmrg continue 3507ff7e0accSmrg else 3508ff7e0accSmrg break 3509ff7e0accSmrg fi 3510ff7e0accSmrg ;; 351110998002Smrg msvisualcpp | msvcmsys) 351210998002Smrg # This compiler won't grok `-c -o', but also, the minuso test has 351310998002Smrg # not run yet. These depmodes are late enough in the game, and 351410998002Smrg # so weak that their functioning should not be impacted. 351510998002Smrg am__obj=conftest.${OBJEXT-o} 351610998002Smrg am__minus_obj= 351710998002Smrg ;; 3518ff7e0accSmrg none) break ;; 3519ff7e0accSmrg esac 3520ff7e0accSmrg if depmode=$depmode \ 352110998002Smrg source=sub/conftest.c object=$am__obj \ 3522ff7e0accSmrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 352310998002Smrg $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3524ff7e0accSmrg >/dev/null 2>conftest.err && 3525ff7e0accSmrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3526ff7e0accSmrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 352710998002Smrg grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3528ff7e0accSmrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3529ff7e0accSmrg # icc doesn't choke on unknown options, it will just issue warnings 3530ff7e0accSmrg # or remarks (even with -Werror). So we grep stderr for any message 3531ff7e0accSmrg # that says an option was ignored or not supported. 3532ff7e0accSmrg # When given -MP, icc 7.0 and 7.1 complain thusly: 3533ff7e0accSmrg # icc: Command line warning: ignoring option '-M'; no argument required 3534ff7e0accSmrg # The diagnosis changed in icc 8.0: 3535ff7e0accSmrg # icc: Command line remark: option '-MP' not supported 3536ff7e0accSmrg if (grep 'ignoring option' conftest.err || 3537ff7e0accSmrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3538ff7e0accSmrg am_cv_CC_dependencies_compiler_type=$depmode 3539ff7e0accSmrg break 3540ff7e0accSmrg fi 3541ff7e0accSmrg fi 3542ff7e0accSmrg done 3543ff7e0accSmrg 3544ff7e0accSmrg cd .. 3545ff7e0accSmrg rm -rf conftest.dir 3546ff7e0accSmrgelse 3547ff7e0accSmrg am_cv_CC_dependencies_compiler_type=none 3548ff7e0accSmrgfi 3549ff7e0accSmrg 3550ff7e0accSmrgfi 3551a005d216Smrg{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3552a005d216Smrg$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3553ff7e0accSmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3554ff7e0accSmrg 3555ff7e0accSmrg if 3556ff7e0accSmrg test "x$enable_dependency_tracking" != xno \ 3557ff7e0accSmrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3558ff7e0accSmrg am__fastdepCC_TRUE= 3559ff7e0accSmrg am__fastdepCC_FALSE='#' 3560ff7e0accSmrgelse 3561ff7e0accSmrg am__fastdepCC_TRUE='#' 3562ff7e0accSmrg am__fastdepCC_FALSE= 3563ff7e0accSmrgfi 3564ff7e0accSmrg 3565ff7e0accSmrg 3566ff7e0accSmrg# Find a good install program. We prefer a C program (faster), 3567ff7e0accSmrg# so one script is as good as another. But avoid the broken or 3568ff7e0accSmrg# incompatible versions: 3569ff7e0accSmrg# SysV /etc/install, /usr/sbin/install 3570ff7e0accSmrg# SunOS /usr/etc/install 3571ff7e0accSmrg# IRIX /sbin/install 3572ff7e0accSmrg# AIX /bin/install 3573ff7e0accSmrg# AmigaOS /C/install, which installs bootblocks on floppy discs 3574ff7e0accSmrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3575ff7e0accSmrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3576ff7e0accSmrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3577ff7e0accSmrg# OS/2's system install, which has a completely different semantic 3578ff7e0accSmrg# ./install, which can be erroneously created by make from ./install.sh. 3579a005d216Smrg# Reject install programs that cannot install multiple files. 3580a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3581a005d216Smrg$as_echo_n "checking for a BSD-compatible install... " >&6; } 3582ff7e0accSmrgif test -z "$INSTALL"; then 3583ff7e0accSmrgif test "${ac_cv_path_install+set}" = set; then 3584a005d216Smrg $as_echo_n "(cached) " >&6 3585ff7e0accSmrgelse 3586ff7e0accSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3587ff7e0accSmrgfor as_dir in $PATH 3588ff7e0accSmrgdo 3589ff7e0accSmrg IFS=$as_save_IFS 3590ff7e0accSmrg test -z "$as_dir" && as_dir=. 3591ff7e0accSmrg # Account for people who put trailing slashes in PATH elements. 3592ff7e0accSmrgcase $as_dir/ in 3593ff7e0accSmrg ./ | .// | /cC/* | \ 3594ff7e0accSmrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3595ff7e0accSmrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3596ff7e0accSmrg /usr/ucb/* ) ;; 3597ff7e0accSmrg *) 3598ff7e0accSmrg # OSF1 and SCO ODT 3.0 have their own names for install. 3599ff7e0accSmrg # Don't use installbsd from OSF since it installs stuff as root 3600ff7e0accSmrg # by default. 3601ff7e0accSmrg for ac_prog in ginstall scoinst install; do 3602ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 3603ff7e0accSmrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 3604ff7e0accSmrg if test $ac_prog = install && 3605ff7e0accSmrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3606ff7e0accSmrg # AIX install. It has an incompatible calling convention. 3607ff7e0accSmrg : 3608ff7e0accSmrg elif test $ac_prog = install && 3609ff7e0accSmrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3610ff7e0accSmrg # program-specific install script used by HP pwplus--don't use. 3611ff7e0accSmrg : 3612ff7e0accSmrg else 3613a005d216Smrg rm -rf conftest.one conftest.two conftest.dir 3614a005d216Smrg echo one > conftest.one 3615a005d216Smrg echo two > conftest.two 3616a005d216Smrg mkdir conftest.dir 3617a005d216Smrg if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3618a005d216Smrg test -s conftest.one && test -s conftest.two && 3619a005d216Smrg test -s conftest.dir/conftest.one && 3620a005d216Smrg test -s conftest.dir/conftest.two 3621a005d216Smrg then 3622a005d216Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3623a005d216Smrg break 3 3624a005d216Smrg fi 3625ff7e0accSmrg fi 3626ff7e0accSmrg fi 3627ff7e0accSmrg done 3628ff7e0accSmrg done 3629ff7e0accSmrg ;; 3630ff7e0accSmrgesac 3631a005d216Smrg 3632ff7e0accSmrgdone 3633ff7e0accSmrgIFS=$as_save_IFS 3634ff7e0accSmrg 3635a005d216Smrgrm -rf conftest.one conftest.two conftest.dir 3636ff7e0accSmrg 3637ff7e0accSmrgfi 363810998002Smrg if test "${ac_cv_path_install+set}" = set; then 363910998002Smrg INSTALL=$ac_cv_path_install 364010998002Smrg else 364110998002Smrg # As a last resort, use the slow shell script. Don't cache a 364210998002Smrg # value for INSTALL within a source directory, because that will 364310998002Smrg # break other packages using the cache if that directory is 364410998002Smrg # removed, or if the value is a relative name. 364510998002Smrg INSTALL=$ac_install_sh 364610998002Smrg fi 364710998002Smrgfi 364810998002Smrg{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 364910998002Smrg$as_echo "$INSTALL" >&6; } 365010998002Smrg 365110998002Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 365210998002Smrg# It thinks the first close brace ends the variable substitution. 365310998002Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 365410998002Smrg 365510998002Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 365610998002Smrg 365710998002Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 365810998002Smrg 365910998002Smrg 366010998002Smrg 366110998002Smrgac_ext=c 366210998002Smrgac_cpp='$CPP $CPPFLAGS' 366310998002Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 366410998002Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 366510998002Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 366610998002Smrg{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 366710998002Smrg$as_echo_n "checking how to run the C preprocessor... " >&6; } 366810998002Smrg# On Suns, sometimes $CPP names a directory. 366910998002Smrgif test -n "$CPP" && test -d "$CPP"; then 367010998002Smrg CPP= 367110998002Smrgfi 367210998002Smrgif test -z "$CPP"; then 367310998002Smrg if test "${ac_cv_prog_CPP+set}" = set; then 367410998002Smrg $as_echo_n "(cached) " >&6 367510998002Smrgelse 367610998002Smrg # Double quotes because CPP needs to be expanded 367710998002Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 367810998002Smrg do 367910998002Smrg ac_preproc_ok=false 368010998002Smrgfor ac_c_preproc_warn_flag in '' yes 368110998002Smrgdo 368210998002Smrg # Use a header file that comes with gcc, so configuring glibc 368310998002Smrg # with a fresh cross-compiler works. 368410998002Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 368510998002Smrg # <limits.h> exists even on freestanding compilers. 368610998002Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 368710998002Smrg # not just through cpp. "Syntax error" is here to catch this case. 368810998002Smrg cat >conftest.$ac_ext <<_ACEOF 368910998002Smrg/* confdefs.h. */ 369010998002Smrg_ACEOF 369110998002Smrgcat confdefs.h >>conftest.$ac_ext 369210998002Smrgcat >>conftest.$ac_ext <<_ACEOF 369310998002Smrg/* end confdefs.h. */ 369410998002Smrg#ifdef __STDC__ 369510998002Smrg# include <limits.h> 369610998002Smrg#else 369710998002Smrg# include <assert.h> 369810998002Smrg#endif 369910998002Smrg Syntax error 370010998002Smrg_ACEOF 370110998002Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 370210998002Smrgcase "(($ac_try" in 370310998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 370410998002Smrg *) ac_try_echo=$ac_try;; 370510998002Smrgesac 370610998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 370710998002Smrg$as_echo "$ac_try_echo") >&5 370810998002Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 370910998002Smrg ac_status=$? 371010998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 371110998002Smrg rm -f conftest.er1 371210998002Smrg cat conftest.err >&5 371310998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 371410998002Smrg (exit $ac_status); } >/dev/null && { 371510998002Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 371610998002Smrg test ! -s conftest.err 371710998002Smrg }; then 371810998002Smrg : 371910998002Smrgelse 372010998002Smrg $as_echo "$as_me: failed program was:" >&5 372110998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 372210998002Smrg 372310998002Smrg # Broken: fails on valid input. 372410998002Smrgcontinue 372510998002Smrgfi 372610998002Smrg 372710998002Smrgrm -f conftest.err conftest.$ac_ext 372810998002Smrg 372910998002Smrg # OK, works on sane cases. Now check whether nonexistent headers 373010998002Smrg # can be detected and how. 373110998002Smrg cat >conftest.$ac_ext <<_ACEOF 373210998002Smrg/* confdefs.h. */ 373310998002Smrg_ACEOF 373410998002Smrgcat confdefs.h >>conftest.$ac_ext 373510998002Smrgcat >>conftest.$ac_ext <<_ACEOF 373610998002Smrg/* end confdefs.h. */ 373710998002Smrg#include <ac_nonexistent.h> 373810998002Smrg_ACEOF 373910998002Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 374010998002Smrgcase "(($ac_try" in 374110998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 374210998002Smrg *) ac_try_echo=$ac_try;; 374310998002Smrgesac 374410998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 374510998002Smrg$as_echo "$ac_try_echo") >&5 374610998002Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 374710998002Smrg ac_status=$? 374810998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 374910998002Smrg rm -f conftest.er1 375010998002Smrg cat conftest.err >&5 375110998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 375210998002Smrg (exit $ac_status); } >/dev/null && { 375310998002Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 375410998002Smrg test ! -s conftest.err 375510998002Smrg }; then 375610998002Smrg # Broken: success on invalid input. 375710998002Smrgcontinue 375810998002Smrgelse 375910998002Smrg $as_echo "$as_me: failed program was:" >&5 376010998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 376110998002Smrg 376210998002Smrg # Passes both tests. 376310998002Smrgac_preproc_ok=: 376410998002Smrgbreak 376510998002Smrgfi 376610998002Smrg 376710998002Smrgrm -f conftest.err conftest.$ac_ext 376810998002Smrg 376910998002Smrgdone 377010998002Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 377110998002Smrgrm -f conftest.err conftest.$ac_ext 377210998002Smrgif $ac_preproc_ok; then 377310998002Smrg break 377410998002Smrgfi 377510998002Smrg 377610998002Smrg done 377710998002Smrg ac_cv_prog_CPP=$CPP 377810998002Smrg 377910998002Smrgfi 378010998002Smrg CPP=$ac_cv_prog_CPP 378110998002Smrgelse 378210998002Smrg ac_cv_prog_CPP=$CPP 378310998002Smrgfi 378410998002Smrg{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 378510998002Smrg$as_echo "$CPP" >&6; } 378610998002Smrgac_preproc_ok=false 378710998002Smrgfor ac_c_preproc_warn_flag in '' yes 378810998002Smrgdo 378910998002Smrg # Use a header file that comes with gcc, so configuring glibc 379010998002Smrg # with a fresh cross-compiler works. 379110998002Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 379210998002Smrg # <limits.h> exists even on freestanding compilers. 379310998002Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 379410998002Smrg # not just through cpp. "Syntax error" is here to catch this case. 379510998002Smrg cat >conftest.$ac_ext <<_ACEOF 379610998002Smrg/* confdefs.h. */ 379710998002Smrg_ACEOF 379810998002Smrgcat confdefs.h >>conftest.$ac_ext 379910998002Smrgcat >>conftest.$ac_ext <<_ACEOF 380010998002Smrg/* end confdefs.h. */ 380110998002Smrg#ifdef __STDC__ 380210998002Smrg# include <limits.h> 380310998002Smrg#else 380410998002Smrg# include <assert.h> 380510998002Smrg#endif 380610998002Smrg Syntax error 380710998002Smrg_ACEOF 380810998002Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 380910998002Smrgcase "(($ac_try" in 381010998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 381110998002Smrg *) ac_try_echo=$ac_try;; 381210998002Smrgesac 381310998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 381410998002Smrg$as_echo "$ac_try_echo") >&5 381510998002Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 381610998002Smrg ac_status=$? 381710998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 381810998002Smrg rm -f conftest.er1 381910998002Smrg cat conftest.err >&5 382010998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 382110998002Smrg (exit $ac_status); } >/dev/null && { 382210998002Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 382310998002Smrg test ! -s conftest.err 382410998002Smrg }; then 382510998002Smrg : 382610998002Smrgelse 382710998002Smrg $as_echo "$as_me: failed program was:" >&5 382810998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 382910998002Smrg 383010998002Smrg # Broken: fails on valid input. 383110998002Smrgcontinue 383210998002Smrgfi 383310998002Smrg 383410998002Smrgrm -f conftest.err conftest.$ac_ext 383510998002Smrg 383610998002Smrg # OK, works on sane cases. Now check whether nonexistent headers 383710998002Smrg # can be detected and how. 383810998002Smrg cat >conftest.$ac_ext <<_ACEOF 383910998002Smrg/* confdefs.h. */ 384010998002Smrg_ACEOF 384110998002Smrgcat confdefs.h >>conftest.$ac_ext 384210998002Smrgcat >>conftest.$ac_ext <<_ACEOF 384310998002Smrg/* end confdefs.h. */ 384410998002Smrg#include <ac_nonexistent.h> 384510998002Smrg_ACEOF 384610998002Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 384710998002Smrgcase "(($ac_try" in 384810998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 384910998002Smrg *) ac_try_echo=$ac_try;; 385010998002Smrgesac 385110998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 385210998002Smrg$as_echo "$ac_try_echo") >&5 385310998002Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 385410998002Smrg ac_status=$? 385510998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 385610998002Smrg rm -f conftest.er1 385710998002Smrg cat conftest.err >&5 385810998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 385910998002Smrg (exit $ac_status); } >/dev/null && { 386010998002Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 386110998002Smrg test ! -s conftest.err 386210998002Smrg }; then 386310998002Smrg # Broken: success on invalid input. 386410998002Smrgcontinue 386510998002Smrgelse 386610998002Smrg $as_echo "$as_me: failed program was:" >&5 386710998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 386810998002Smrg 386910998002Smrg # Passes both tests. 387010998002Smrgac_preproc_ok=: 387110998002Smrgbreak 387210998002Smrgfi 387310998002Smrg 387410998002Smrgrm -f conftest.err conftest.$ac_ext 387510998002Smrg 387610998002Smrgdone 387710998002Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 387810998002Smrgrm -f conftest.err conftest.$ac_ext 387910998002Smrgif $ac_preproc_ok; then 388010998002Smrg : 388110998002Smrgelse 388210998002Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 388310998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 388410998002Smrg{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 388510998002SmrgSee \`config.log' for more details." >&5 388610998002Smrg$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 388710998002SmrgSee \`config.log' for more details." >&2;} 388810998002Smrg { (exit 1); exit 1; }; }; } 388910998002Smrgfi 389010998002Smrg 389110998002Smrgac_ext=c 389210998002Smrgac_cpp='$CPP $CPPFLAGS' 389310998002Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 389410998002Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 389510998002Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 389610998002Smrg 389710998002Smrg 389810998002Smrg{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 389910998002Smrg$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 390010998002Smrgif test "${ac_cv_path_GREP+set}" = set; then 390110998002Smrg $as_echo_n "(cached) " >&6 390210998002Smrgelse 390310998002Smrg if test -z "$GREP"; then 390410998002Smrg ac_path_GREP_found=false 390510998002Smrg # Loop through the user's path and test for each of PROGNAME-LIST 390610998002Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 390710998002Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 390810998002Smrgdo 390910998002Smrg IFS=$as_save_IFS 391010998002Smrg test -z "$as_dir" && as_dir=. 391110998002Smrg for ac_prog in grep ggrep; do 391210998002Smrg for ac_exec_ext in '' $ac_executable_extensions; do 391310998002Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 391410998002Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 391510998002Smrg# Check for GNU ac_path_GREP and select it if it is found. 391610998002Smrg # Check for GNU $ac_path_GREP 391710998002Smrgcase `"$ac_path_GREP" --version 2>&1` in 391810998002Smrg*GNU*) 391910998002Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 392010998002Smrg*) 392110998002Smrg ac_count=0 392210998002Smrg $as_echo_n 0123456789 >"conftest.in" 392310998002Smrg while : 392410998002Smrg do 392510998002Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 392610998002Smrg mv "conftest.tmp" "conftest.in" 392710998002Smrg cp "conftest.in" "conftest.nl" 392810998002Smrg $as_echo 'GREP' >> "conftest.nl" 392910998002Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 393010998002Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 393110998002Smrg ac_count=`expr $ac_count + 1` 393210998002Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 393310998002Smrg # Best one so far, save it but keep looking for a better one 393410998002Smrg ac_cv_path_GREP="$ac_path_GREP" 393510998002Smrg ac_path_GREP_max=$ac_count 393610998002Smrg fi 393710998002Smrg # 10*(2^10) chars as input seems more than enough 393810998002Smrg test $ac_count -gt 10 && break 393910998002Smrg done 394010998002Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 394110998002Smrgesac 394210998002Smrg 394310998002Smrg $ac_path_GREP_found && break 3 394410998002Smrg done 394510998002Smrg done 394610998002Smrgdone 394710998002SmrgIFS=$as_save_IFS 394810998002Smrg if test -z "$ac_cv_path_GREP"; then 394910998002Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 395010998002Smrg$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 395110998002Smrg { (exit 1); exit 1; }; } 395210998002Smrg fi 395310998002Smrgelse 395410998002Smrg ac_cv_path_GREP=$GREP 395510998002Smrgfi 395610998002Smrg 395710998002Smrgfi 395810998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 395910998002Smrg$as_echo "$ac_cv_path_GREP" >&6; } 396010998002Smrg GREP="$ac_cv_path_GREP" 396110998002Smrg 396210998002Smrg 396310998002Smrg{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 396410998002Smrg$as_echo_n "checking for egrep... " >&6; } 396510998002Smrgif test "${ac_cv_path_EGREP+set}" = set; then 396610998002Smrg $as_echo_n "(cached) " >&6 396710998002Smrgelse 396810998002Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 396910998002Smrg then ac_cv_path_EGREP="$GREP -E" 397010998002Smrg else 397110998002Smrg if test -z "$EGREP"; then 397210998002Smrg ac_path_EGREP_found=false 397310998002Smrg # Loop through the user's path and test for each of PROGNAME-LIST 397410998002Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 397510998002Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 397610998002Smrgdo 397710998002Smrg IFS=$as_save_IFS 397810998002Smrg test -z "$as_dir" && as_dir=. 397910998002Smrg for ac_prog in egrep; do 398010998002Smrg for ac_exec_ext in '' $ac_executable_extensions; do 398110998002Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 398210998002Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 398310998002Smrg# Check for GNU ac_path_EGREP and select it if it is found. 398410998002Smrg # Check for GNU $ac_path_EGREP 398510998002Smrgcase `"$ac_path_EGREP" --version 2>&1` in 398610998002Smrg*GNU*) 398710998002Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 398810998002Smrg*) 398910998002Smrg ac_count=0 399010998002Smrg $as_echo_n 0123456789 >"conftest.in" 399110998002Smrg while : 399210998002Smrg do 399310998002Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 399410998002Smrg mv "conftest.tmp" "conftest.in" 399510998002Smrg cp "conftest.in" "conftest.nl" 399610998002Smrg $as_echo 'EGREP' >> "conftest.nl" 399710998002Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 399810998002Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 399910998002Smrg ac_count=`expr $ac_count + 1` 400010998002Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 400110998002Smrg # Best one so far, save it but keep looking for a better one 400210998002Smrg ac_cv_path_EGREP="$ac_path_EGREP" 400310998002Smrg ac_path_EGREP_max=$ac_count 400410998002Smrg fi 400510998002Smrg # 10*(2^10) chars as input seems more than enough 400610998002Smrg test $ac_count -gt 10 && break 400710998002Smrg done 400810998002Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 400910998002Smrgesac 401010998002Smrg 401110998002Smrg $ac_path_EGREP_found && break 3 401210998002Smrg done 401310998002Smrg done 401410998002Smrgdone 401510998002SmrgIFS=$as_save_IFS 401610998002Smrg if test -z "$ac_cv_path_EGREP"; then 401710998002Smrg { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 401810998002Smrg$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 401910998002Smrg { (exit 1); exit 1; }; } 402010998002Smrg fi 402110998002Smrgelse 402210998002Smrg ac_cv_path_EGREP=$EGREP 402310998002Smrgfi 402410998002Smrg 402510998002Smrg fi 402610998002Smrgfi 402710998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 402810998002Smrg$as_echo "$ac_cv_path_EGREP" >&6; } 402910998002Smrg EGREP="$ac_cv_path_EGREP" 403010998002Smrg 403110998002Smrg 403210998002Smrg{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 403310998002Smrg$as_echo_n "checking for ANSI C header files... " >&6; } 403410998002Smrgif test "${ac_cv_header_stdc+set}" = set; then 403510998002Smrg $as_echo_n "(cached) " >&6 403610998002Smrgelse 403710998002Smrg cat >conftest.$ac_ext <<_ACEOF 403810998002Smrg/* confdefs.h. */ 403910998002Smrg_ACEOF 404010998002Smrgcat confdefs.h >>conftest.$ac_ext 404110998002Smrgcat >>conftest.$ac_ext <<_ACEOF 404210998002Smrg/* end confdefs.h. */ 404310998002Smrg#include <stdlib.h> 404410998002Smrg#include <stdarg.h> 404510998002Smrg#include <string.h> 404610998002Smrg#include <float.h> 404710998002Smrg 404810998002Smrgint 404910998002Smrgmain () 405010998002Smrg{ 405110998002Smrg 405210998002Smrg ; 405310998002Smrg return 0; 405410998002Smrg} 405510998002Smrg_ACEOF 405610998002Smrgrm -f conftest.$ac_objext 405710998002Smrgif { (ac_try="$ac_compile" 405810998002Smrgcase "(($ac_try" in 405910998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 406010998002Smrg *) ac_try_echo=$ac_try;; 406110998002Smrgesac 406210998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 406310998002Smrg$as_echo "$ac_try_echo") >&5 406410998002Smrg (eval "$ac_compile") 2>conftest.er1 406510998002Smrg ac_status=$? 406610998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 406710998002Smrg rm -f conftest.er1 406810998002Smrg cat conftest.err >&5 406910998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 407010998002Smrg (exit $ac_status); } && { 407110998002Smrg test -z "$ac_c_werror_flag" || 407210998002Smrg test ! -s conftest.err 407310998002Smrg } && test -s conftest.$ac_objext; then 407410998002Smrg ac_cv_header_stdc=yes 407510998002Smrgelse 407610998002Smrg $as_echo "$as_me: failed program was:" >&5 407710998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 407810998002Smrg 407910998002Smrg ac_cv_header_stdc=no 408010998002Smrgfi 408110998002Smrg 408210998002Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 408310998002Smrg 408410998002Smrgif test $ac_cv_header_stdc = yes; then 408510998002Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 408610998002Smrg cat >conftest.$ac_ext <<_ACEOF 408710998002Smrg/* confdefs.h. */ 408810998002Smrg_ACEOF 408910998002Smrgcat confdefs.h >>conftest.$ac_ext 409010998002Smrgcat >>conftest.$ac_ext <<_ACEOF 409110998002Smrg/* end confdefs.h. */ 409210998002Smrg#include <string.h> 409310998002Smrg 409410998002Smrg_ACEOF 409510998002Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 409610998002Smrg $EGREP "memchr" >/dev/null 2>&1; then 409710998002Smrg : 409810998002Smrgelse 409910998002Smrg ac_cv_header_stdc=no 410010998002Smrgfi 410110998002Smrgrm -f conftest* 410210998002Smrg 410310998002Smrgfi 410410998002Smrg 410510998002Smrgif test $ac_cv_header_stdc = yes; then 410610998002Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 410710998002Smrg cat >conftest.$ac_ext <<_ACEOF 410810998002Smrg/* confdefs.h. */ 410910998002Smrg_ACEOF 411010998002Smrgcat confdefs.h >>conftest.$ac_ext 411110998002Smrgcat >>conftest.$ac_ext <<_ACEOF 411210998002Smrg/* end confdefs.h. */ 411310998002Smrg#include <stdlib.h> 411410998002Smrg 411510998002Smrg_ACEOF 411610998002Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 411710998002Smrg $EGREP "free" >/dev/null 2>&1; then 411810998002Smrg : 411910998002Smrgelse 412010998002Smrg ac_cv_header_stdc=no 412110998002Smrgfi 412210998002Smrgrm -f conftest* 412310998002Smrg 412410998002Smrgfi 412510998002Smrg 412610998002Smrgif test $ac_cv_header_stdc = yes; then 412710998002Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 412810998002Smrg if test "$cross_compiling" = yes; then 412910998002Smrg : 413010998002Smrgelse 413110998002Smrg cat >conftest.$ac_ext <<_ACEOF 413210998002Smrg/* confdefs.h. */ 413310998002Smrg_ACEOF 413410998002Smrgcat confdefs.h >>conftest.$ac_ext 413510998002Smrgcat >>conftest.$ac_ext <<_ACEOF 413610998002Smrg/* end confdefs.h. */ 413710998002Smrg#include <ctype.h> 413810998002Smrg#include <stdlib.h> 413910998002Smrg#if ((' ' & 0x0FF) == 0x020) 414010998002Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 414110998002Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 414210998002Smrg#else 414310998002Smrg# define ISLOWER(c) \ 414410998002Smrg (('a' <= (c) && (c) <= 'i') \ 414510998002Smrg || ('j' <= (c) && (c) <= 'r') \ 414610998002Smrg || ('s' <= (c) && (c) <= 'z')) 414710998002Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 414810998002Smrg#endif 414910998002Smrg 415010998002Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 415110998002Smrgint 415210998002Smrgmain () 415310998002Smrg{ 415410998002Smrg int i; 415510998002Smrg for (i = 0; i < 256; i++) 415610998002Smrg if (XOR (islower (i), ISLOWER (i)) 415710998002Smrg || toupper (i) != TOUPPER (i)) 415810998002Smrg return 2; 415910998002Smrg return 0; 416010998002Smrg} 416110998002Smrg_ACEOF 416210998002Smrgrm -f conftest$ac_exeext 416310998002Smrgif { (ac_try="$ac_link" 416410998002Smrgcase "(($ac_try" in 416510998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 416610998002Smrg *) ac_try_echo=$ac_try;; 416710998002Smrgesac 416810998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 416910998002Smrg$as_echo "$ac_try_echo") >&5 417010998002Smrg (eval "$ac_link") 2>&5 417110998002Smrg ac_status=$? 417210998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 417310998002Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 417410998002Smrg { (case "(($ac_try" in 417510998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 417610998002Smrg *) ac_try_echo=$ac_try;; 417710998002Smrgesac 417810998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 417910998002Smrg$as_echo "$ac_try_echo") >&5 418010998002Smrg (eval "$ac_try") 2>&5 418110998002Smrg ac_status=$? 418210998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 418310998002Smrg (exit $ac_status); }; }; then 418410998002Smrg : 418510998002Smrgelse 418610998002Smrg $as_echo "$as_me: program exited with status $ac_status" >&5 418710998002Smrg$as_echo "$as_me: failed program was:" >&5 418810998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 418910998002Smrg 419010998002Smrg( exit $ac_status ) 419110998002Smrgac_cv_header_stdc=no 419210998002Smrgfi 419310998002Smrgrm -rf conftest.dSYM 419410998002Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 419510998002Smrgfi 419610998002Smrg 419710998002Smrg 419810998002Smrgfi 419910998002Smrgfi 420010998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 420110998002Smrg$as_echo "$ac_cv_header_stdc" >&6; } 420210998002Smrgif test $ac_cv_header_stdc = yes; then 420310998002Smrg 420410998002Smrgcat >>confdefs.h <<\_ACEOF 420510998002Smrg#define STDC_HEADERS 1 420610998002Smrg_ACEOF 420710998002Smrg 420810998002Smrgfi 420910998002Smrg 421010998002Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 421110998002Smrg 421210998002Smrg 421310998002Smrg 421410998002Smrg 421510998002Smrg 421610998002Smrg 421710998002Smrg 421810998002Smrg 421910998002Smrg 422010998002Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 422110998002Smrg inttypes.h stdint.h unistd.h 422210998002Smrgdo 422310998002Smrgas_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 422410998002Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 422510998002Smrg$as_echo_n "checking for $ac_header... " >&6; } 422610998002Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 422710998002Smrg $as_echo_n "(cached) " >&6 422810998002Smrgelse 422910998002Smrg cat >conftest.$ac_ext <<_ACEOF 423010998002Smrg/* confdefs.h. */ 423110998002Smrg_ACEOF 423210998002Smrgcat confdefs.h >>conftest.$ac_ext 423310998002Smrgcat >>conftest.$ac_ext <<_ACEOF 423410998002Smrg/* end confdefs.h. */ 423510998002Smrg$ac_includes_default 423610998002Smrg 423710998002Smrg#include <$ac_header> 423810998002Smrg_ACEOF 423910998002Smrgrm -f conftest.$ac_objext 424010998002Smrgif { (ac_try="$ac_compile" 424110998002Smrgcase "(($ac_try" in 424210998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 424310998002Smrg *) ac_try_echo=$ac_try;; 424410998002Smrgesac 424510998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 424610998002Smrg$as_echo "$ac_try_echo") >&5 424710998002Smrg (eval "$ac_compile") 2>conftest.er1 424810998002Smrg ac_status=$? 424910998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 425010998002Smrg rm -f conftest.er1 425110998002Smrg cat conftest.err >&5 425210998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 425310998002Smrg (exit $ac_status); } && { 425410998002Smrg test -z "$ac_c_werror_flag" || 425510998002Smrg test ! -s conftest.err 425610998002Smrg } && test -s conftest.$ac_objext; then 425710998002Smrg eval "$as_ac_Header=yes" 425810998002Smrgelse 425910998002Smrg $as_echo "$as_me: failed program was:" >&5 426010998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 426110998002Smrg 426210998002Smrg eval "$as_ac_Header=no" 426310998002Smrgfi 426410998002Smrg 426510998002Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 426610998002Smrgfi 426710998002Smrgac_res=`eval 'as_val=${'$as_ac_Header'} 426810998002Smrg $as_echo "$as_val"'` 426910998002Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 427010998002Smrg$as_echo "$ac_res" >&6; } 427110998002Smrgas_val=`eval 'as_val=${'$as_ac_Header'} 427210998002Smrg $as_echo "$as_val"'` 427310998002Smrg if test "x$as_val" = x""yes; then 427410998002Smrg cat >>confdefs.h <<_ACEOF 427510998002Smrg#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 427610998002Smrg_ACEOF 427710998002Smrg 427810998002Smrgfi 427910998002Smrg 428010998002Smrgdone 428110998002Smrg 428210998002Smrg 428310998002Smrg { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5 428410998002Smrg$as_echo_n "checking for $CC option to accept ISO C99... " >&6; } 428510998002Smrgif test "${ac_cv_prog_cc_c99+set}" = set; then 428610998002Smrg $as_echo_n "(cached) " >&6 428710998002Smrgelse 428810998002Smrg ac_cv_prog_cc_c99=no 428910998002Smrgac_save_CC=$CC 429010998002Smrgcat >conftest.$ac_ext <<_ACEOF 429110998002Smrg/* confdefs.h. */ 429210998002Smrg_ACEOF 429310998002Smrgcat confdefs.h >>conftest.$ac_ext 429410998002Smrgcat >>conftest.$ac_ext <<_ACEOF 429510998002Smrg/* end confdefs.h. */ 429610998002Smrg#include <stdarg.h> 429710998002Smrg#include <stdbool.h> 429810998002Smrg#include <stdlib.h> 429910998002Smrg#include <wchar.h> 430010998002Smrg#include <stdio.h> 430110998002Smrg 430210998002Smrg// Check varargs macros. These examples are taken from C99 6.10.3.5. 430310998002Smrg#define debug(...) fprintf (stderr, __VA_ARGS__) 430410998002Smrg#define showlist(...) puts (#__VA_ARGS__) 430510998002Smrg#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 430610998002Smrgstatic void 430710998002Smrgtest_varargs_macros (void) 430810998002Smrg{ 430910998002Smrg int x = 1234; 431010998002Smrg int y = 5678; 431110998002Smrg debug ("Flag"); 431210998002Smrg debug ("X = %d\n", x); 431310998002Smrg showlist (The first, second, and third items.); 431410998002Smrg report (x>y, "x is %d but y is %d", x, y); 431510998002Smrg} 431610998002Smrg 431710998002Smrg// Check long long types. 431810998002Smrg#define BIG64 18446744073709551615ull 431910998002Smrg#define BIG32 4294967295ul 432010998002Smrg#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 432110998002Smrg#if !BIG_OK 432210998002Smrg your preprocessor is broken; 432310998002Smrg#endif 432410998002Smrg#if BIG_OK 432510998002Smrg#else 432610998002Smrg your preprocessor is broken; 432710998002Smrg#endif 432810998002Smrgstatic long long int bignum = -9223372036854775807LL; 432910998002Smrgstatic unsigned long long int ubignum = BIG64; 433010998002Smrg 433110998002Smrgstruct incomplete_array 433210998002Smrg{ 433310998002Smrg int datasize; 433410998002Smrg double data[]; 433510998002Smrg}; 433610998002Smrg 433710998002Smrgstruct named_init { 433810998002Smrg int number; 433910998002Smrg const wchar_t *name; 434010998002Smrg double average; 434110998002Smrg}; 434210998002Smrg 434310998002Smrgtypedef const char *ccp; 434410998002Smrg 434510998002Smrgstatic inline int 434610998002Smrgtest_restrict (ccp restrict text) 434710998002Smrg{ 434810998002Smrg // See if C++-style comments work. 434910998002Smrg // Iterate through items via the restricted pointer. 435010998002Smrg // Also check for declarations in for loops. 435110998002Smrg for (unsigned int i = 0; *(text+i) != '\0'; ++i) 435210998002Smrg continue; 435310998002Smrg return 0; 435410998002Smrg} 435510998002Smrg 435610998002Smrg// Check varargs and va_copy. 435710998002Smrgstatic void 435810998002Smrgtest_varargs (const char *format, ...) 435910998002Smrg{ 436010998002Smrg va_list args; 436110998002Smrg va_start (args, format); 436210998002Smrg va_list args_copy; 436310998002Smrg va_copy (args_copy, args); 436410998002Smrg 436510998002Smrg const char *str; 436610998002Smrg int number; 436710998002Smrg float fnumber; 436810998002Smrg 436910998002Smrg while (*format) 437010998002Smrg { 437110998002Smrg switch (*format++) 437210998002Smrg { 437310998002Smrg case 's': // string 437410998002Smrg str = va_arg (args_copy, const char *); 437510998002Smrg break; 437610998002Smrg case 'd': // int 437710998002Smrg number = va_arg (args_copy, int); 437810998002Smrg break; 437910998002Smrg case 'f': // float 438010998002Smrg fnumber = va_arg (args_copy, double); 438110998002Smrg break; 438210998002Smrg default: 438310998002Smrg break; 438410998002Smrg } 438510998002Smrg } 438610998002Smrg va_end (args_copy); 438710998002Smrg va_end (args); 438810998002Smrg} 438910998002Smrg 439010998002Smrgint 439110998002Smrgmain () 439210998002Smrg{ 439310998002Smrg 439410998002Smrg // Check bool. 439510998002Smrg _Bool success = false; 439610998002Smrg 439710998002Smrg // Check restrict. 439810998002Smrg if (test_restrict ("String literal") == 0) 439910998002Smrg success = true; 440010998002Smrg char *restrict newvar = "Another string"; 440110998002Smrg 440210998002Smrg // Check varargs. 440310998002Smrg test_varargs ("s, d' f .", "string", 65, 34.234); 440410998002Smrg test_varargs_macros (); 440510998002Smrg 440610998002Smrg // Check flexible array members. 440710998002Smrg struct incomplete_array *ia = 440810998002Smrg malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 440910998002Smrg ia->datasize = 10; 441010998002Smrg for (int i = 0; i < ia->datasize; ++i) 441110998002Smrg ia->data[i] = i * 1.234; 441210998002Smrg 441310998002Smrg // Check named initializers. 441410998002Smrg struct named_init ni = { 441510998002Smrg .number = 34, 441610998002Smrg .name = L"Test wide string", 441710998002Smrg .average = 543.34343, 441810998002Smrg }; 441910998002Smrg 442010998002Smrg ni.number = 58; 442110998002Smrg 442210998002Smrg int dynamic_array[ni.number]; 442310998002Smrg dynamic_array[ni.number - 1] = 543; 442410998002Smrg 442510998002Smrg // work around unused variable warnings 442610998002Smrg return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' 442710998002Smrg || dynamic_array[ni.number - 1] != 543); 442810998002Smrg 442910998002Smrg ; 443010998002Smrg return 0; 443110998002Smrg} 443210998002Smrg_ACEOF 443310998002Smrgfor ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 443410998002Smrgdo 443510998002Smrg CC="$ac_save_CC $ac_arg" 443610998002Smrg rm -f conftest.$ac_objext 443710998002Smrgif { (ac_try="$ac_compile" 443810998002Smrgcase "(($ac_try" in 443910998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 444010998002Smrg *) ac_try_echo=$ac_try;; 444110998002Smrgesac 444210998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 444310998002Smrg$as_echo "$ac_try_echo") >&5 444410998002Smrg (eval "$ac_compile") 2>conftest.er1 444510998002Smrg ac_status=$? 444610998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 444710998002Smrg rm -f conftest.er1 444810998002Smrg cat conftest.err >&5 444910998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 445010998002Smrg (exit $ac_status); } && { 445110998002Smrg test -z "$ac_c_werror_flag" || 445210998002Smrg test ! -s conftest.err 445310998002Smrg } && test -s conftest.$ac_objext; then 445410998002Smrg ac_cv_prog_cc_c99=$ac_arg 445510998002Smrgelse 445610998002Smrg $as_echo "$as_me: failed program was:" >&5 445710998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 445810998002Smrg 445910998002Smrg 446010998002Smrgfi 446110998002Smrg 446210998002Smrgrm -f core conftest.err conftest.$ac_objext 446310998002Smrg test "x$ac_cv_prog_cc_c99" != "xno" && break 446410998002Smrgdone 446510998002Smrgrm -f conftest.$ac_ext 446610998002SmrgCC=$ac_save_CC 446710998002Smrg 446810998002Smrgfi 446910998002Smrg# AC_CACHE_VAL 447010998002Smrgcase "x$ac_cv_prog_cc_c99" in 447110998002Smrg x) 447210998002Smrg { $as_echo "$as_me:$LINENO: result: none needed" >&5 447310998002Smrg$as_echo "none needed" >&6; } ;; 447410998002Smrg xno) 447510998002Smrg { $as_echo "$as_me:$LINENO: result: unsupported" >&5 447610998002Smrg$as_echo "unsupported" >&6; } ;; 447710998002Smrg *) 447810998002Smrg CC="$CC $ac_cv_prog_cc_c99" 447910998002Smrg { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5 448010998002Smrg$as_echo "$ac_cv_prog_cc_c99" >&6; } ;; 448110998002Smrgesac 448210998002Smrg 448310998002Smrg 448410998002Smrg 448510998002Smrg# Make sure we can run config.sub. 448610998002Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 448710998002Smrg { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 448810998002Smrg$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 448910998002Smrg { (exit 1); exit 1; }; } 449010998002Smrg 449110998002Smrg{ $as_echo "$as_me:$LINENO: checking build system type" >&5 449210998002Smrg$as_echo_n "checking build system type... " >&6; } 449310998002Smrgif test "${ac_cv_build+set}" = set; then 449410998002Smrg $as_echo_n "(cached) " >&6 449510998002Smrgelse 449610998002Smrg ac_build_alias=$build_alias 449710998002Smrgtest "x$ac_build_alias" = x && 449810998002Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 449910998002Smrgtest "x$ac_build_alias" = x && 450010998002Smrg { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 450110998002Smrg$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 450210998002Smrg { (exit 1); exit 1; }; } 450310998002Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 450410998002Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 450510998002Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 450610998002Smrg { (exit 1); exit 1; }; } 450710998002Smrg 450810998002Smrgfi 450910998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 451010998002Smrg$as_echo "$ac_cv_build" >&6; } 451110998002Smrgcase $ac_cv_build in 451210998002Smrg*-*-*) ;; 451310998002Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 451410998002Smrg$as_echo "$as_me: error: invalid value of canonical build" >&2;} 451510998002Smrg { (exit 1); exit 1; }; };; 451610998002Smrgesac 451710998002Smrgbuild=$ac_cv_build 451810998002Smrgac_save_IFS=$IFS; IFS='-' 451910998002Smrgset x $ac_cv_build 452010998002Smrgshift 452110998002Smrgbuild_cpu=$1 452210998002Smrgbuild_vendor=$2 452310998002Smrgshift; shift 452410998002Smrg# Remember, the first character of IFS is used to create $*, 452510998002Smrg# except with old shells: 452610998002Smrgbuild_os=$* 452710998002SmrgIFS=$ac_save_IFS 452810998002Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 452910998002Smrg 453010998002Smrg 453110998002Smrg{ $as_echo "$as_me:$LINENO: checking host system type" >&5 453210998002Smrg$as_echo_n "checking host system type... " >&6; } 453310998002Smrgif test "${ac_cv_host+set}" = set; then 453410998002Smrg $as_echo_n "(cached) " >&6 453510998002Smrgelse 453610998002Smrg if test "x$host_alias" = x; then 453710998002Smrg ac_cv_host=$ac_cv_build 453810998002Smrgelse 453910998002Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 454010998002Smrg { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 454110998002Smrg$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 454210998002Smrg { (exit 1); exit 1; }; } 454310998002Smrgfi 454410998002Smrg 454510998002Smrgfi 454610998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 454710998002Smrg$as_echo "$ac_cv_host" >&6; } 454810998002Smrgcase $ac_cv_host in 454910998002Smrg*-*-*) ;; 455010998002Smrg*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 455110998002Smrg$as_echo "$as_me: error: invalid value of canonical host" >&2;} 455210998002Smrg { (exit 1); exit 1; }; };; 455310998002Smrgesac 455410998002Smrghost=$ac_cv_host 455510998002Smrgac_save_IFS=$IFS; IFS='-' 455610998002Smrgset x $ac_cv_host 455710998002Smrgshift 455810998002Smrghost_cpu=$1 455910998002Smrghost_vendor=$2 456010998002Smrgshift; shift 456110998002Smrg# Remember, the first character of IFS is used to create $*, 456210998002Smrg# except with old shells: 456310998002Smrghost_os=$* 456410998002SmrgIFS=$ac_save_IFS 456510998002Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 456610998002Smrg 456710998002Smrg 456810998002Smrg 456910998002Smrg 457010998002Smrg 457110998002Smrgif test "x$GCC" = xyes ; then 457210998002Smrg CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \ 457310998002Smrg-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \ 457410998002Smrg-Wbad-function-cast" 457510998002Smrg case `$CC -dumpversion` in 457610998002Smrg 3.4.* | 4.*) 457710998002Smrg CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement" 457810998002Smrg ;; 457910998002Smrg esac 458010998002Smrgelse 458110998002Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 458210998002Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 458310998002Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 458410998002Smrg $as_echo_n "(cached) " >&6 458510998002Smrgelse 458610998002Smrg cat >conftest.$ac_ext <<_ACEOF 458710998002Smrg/* confdefs.h. */ 458810998002Smrg_ACEOF 458910998002Smrgcat confdefs.h >>conftest.$ac_ext 459010998002Smrgcat >>conftest.$ac_ext <<_ACEOF 459110998002Smrg/* end confdefs.h. */ 459210998002Smrg$ac_includes_default 459310998002Smrgint 459410998002Smrgmain () 459510998002Smrg{ 459610998002Smrg#ifndef __SUNPRO_C 459710998002Smrg (void) __SUNPRO_C; 459810998002Smrg#endif 459910998002Smrg 460010998002Smrg ; 460110998002Smrg return 0; 460210998002Smrg} 460310998002Smrg_ACEOF 460410998002Smrgrm -f conftest.$ac_objext 460510998002Smrgif { (ac_try="$ac_compile" 460610998002Smrgcase "(($ac_try" in 460710998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 460810998002Smrg *) ac_try_echo=$ac_try;; 460910998002Smrgesac 461010998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 461110998002Smrg$as_echo "$ac_try_echo") >&5 461210998002Smrg (eval "$ac_compile") 2>conftest.er1 461310998002Smrg ac_status=$? 461410998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 461510998002Smrg rm -f conftest.er1 461610998002Smrg cat conftest.err >&5 461710998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 461810998002Smrg (exit $ac_status); } && { 461910998002Smrg test -z "$ac_c_werror_flag" || 462010998002Smrg test ! -s conftest.err 462110998002Smrg } && test -s conftest.$ac_objext; then 462210998002Smrg ac_cv_have_decl___SUNPRO_C=yes 462310998002Smrgelse 462410998002Smrg $as_echo "$as_me: failed program was:" >&5 462510998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 462610998002Smrg 462710998002Smrg ac_cv_have_decl___SUNPRO_C=no 462810998002Smrgfi 462910998002Smrg 463010998002Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 463110998002Smrgfi 463210998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 463310998002Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 463410998002Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 463510998002Smrg SUNCC="yes" 463610998002Smrgelse 463710998002Smrg SUNCC="no" 463810998002Smrgfi 463910998002Smrg 464010998002Smrg if test "x$SUNCC" = "xyes"; then 464110998002Smrg CWARNFLAGS="-v" 464210998002Smrg fi 464310998002Smrgfi 464410998002Smrg 464510998002Smrg# Check whether --enable-silent-rules was given. 464610998002Smrgif test "${enable_silent_rules+set}" = set; then 464710998002Smrg enableval=$enable_silent_rules; 464810998002Smrgfi 464910998002Smrg 465010998002Smrgcase $enable_silent_rules in 465110998002Smrgyes) AM_DEFAULT_VERBOSITY=0;; 465210998002Smrgno) AM_DEFAULT_VERBOSITY=1;; 465310998002Smrg*) AM_DEFAULT_VERBOSITY=0;; 465410998002Smrgesac 465510998002SmrgAM_BACKSLASH='\' 465610998002Smrg 465710998002Smrg 465810998002Smrg 465910998002Smrg 466010998002Smrg 466110998002Smrg 466210998002Smrg 466310998002Smrg# Check whether --enable-strict-compilation was given. 466410998002Smrgif test "${enable_strict_compilation+set}" = set; then 466510998002Smrg enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval 466610998002Smrgelse 466710998002Smrg STRICT_COMPILE=no 466810998002Smrgfi 466910998002Smrg 467010998002Smrgif test "x$STRICT_COMPILE" = "xyes"; then 467110998002Smrg { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5 467210998002Smrg$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; } 467310998002Smrgif test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then 467410998002Smrg $as_echo_n "(cached) " >&6 467510998002Smrgelse 467610998002Smrg cat >conftest.$ac_ext <<_ACEOF 467710998002Smrg/* confdefs.h. */ 467810998002Smrg_ACEOF 467910998002Smrgcat confdefs.h >>conftest.$ac_ext 468010998002Smrgcat >>conftest.$ac_ext <<_ACEOF 468110998002Smrg/* end confdefs.h. */ 468210998002Smrg$ac_includes_default 468310998002Smrgint 468410998002Smrgmain () 468510998002Smrg{ 468610998002Smrg#ifndef __SUNPRO_C 468710998002Smrg (void) __SUNPRO_C; 468810998002Smrg#endif 468910998002Smrg 469010998002Smrg ; 469110998002Smrg return 0; 469210998002Smrg} 469310998002Smrg_ACEOF 469410998002Smrgrm -f conftest.$ac_objext 469510998002Smrgif { (ac_try="$ac_compile" 469610998002Smrgcase "(($ac_try" in 469710998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 469810998002Smrg *) ac_try_echo=$ac_try;; 469910998002Smrgesac 470010998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 470110998002Smrg$as_echo "$ac_try_echo") >&5 470210998002Smrg (eval "$ac_compile") 2>conftest.er1 470310998002Smrg ac_status=$? 470410998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 470510998002Smrg rm -f conftest.er1 470610998002Smrg cat conftest.err >&5 470710998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 470810998002Smrg (exit $ac_status); } && { 470910998002Smrg test -z "$ac_c_werror_flag" || 471010998002Smrg test ! -s conftest.err 471110998002Smrg } && test -s conftest.$ac_objext; then 471210998002Smrg ac_cv_have_decl___SUNPRO_C=yes 471310998002Smrgelse 471410998002Smrg $as_echo "$as_me: failed program was:" >&5 471510998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 471610998002Smrg 471710998002Smrg ac_cv_have_decl___SUNPRO_C=no 471810998002Smrgfi 471910998002Smrg 472010998002Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 472110998002Smrgfi 472210998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5 472310998002Smrg$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; } 472410998002Smrgif test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then 472510998002Smrg SUNCC="yes" 472610998002Smrgelse 472710998002Smrg SUNCC="no" 472810998002Smrgfi 472910998002Smrg 473010998002Smrg { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5 473110998002Smrg$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; } 473210998002Smrgif test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then 473310998002Smrg $as_echo_n "(cached) " >&6 473410998002Smrgelse 473510998002Smrg cat >conftest.$ac_ext <<_ACEOF 473610998002Smrg/* confdefs.h. */ 473710998002Smrg_ACEOF 473810998002Smrgcat confdefs.h >>conftest.$ac_ext 473910998002Smrgcat >>conftest.$ac_ext <<_ACEOF 474010998002Smrg/* end confdefs.h. */ 474110998002Smrg$ac_includes_default 474210998002Smrgint 474310998002Smrgmain () 474410998002Smrg{ 474510998002Smrg#ifndef __INTEL_COMPILER 474610998002Smrg (void) __INTEL_COMPILER; 474710998002Smrg#endif 474810998002Smrg 474910998002Smrg ; 475010998002Smrg return 0; 475110998002Smrg} 475210998002Smrg_ACEOF 475310998002Smrgrm -f conftest.$ac_objext 475410998002Smrgif { (ac_try="$ac_compile" 475510998002Smrgcase "(($ac_try" in 475610998002Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 475710998002Smrg *) ac_try_echo=$ac_try;; 475810998002Smrgesac 475910998002Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 476010998002Smrg$as_echo "$ac_try_echo") >&5 476110998002Smrg (eval "$ac_compile") 2>conftest.er1 476210998002Smrg ac_status=$? 476310998002Smrg grep -v '^ *+' conftest.er1 >conftest.err 476410998002Smrg rm -f conftest.er1 476510998002Smrg cat conftest.err >&5 476610998002Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 476710998002Smrg (exit $ac_status); } && { 476810998002Smrg test -z "$ac_c_werror_flag" || 476910998002Smrg test ! -s conftest.err 477010998002Smrg } && test -s conftest.$ac_objext; then 477110998002Smrg ac_cv_have_decl___INTEL_COMPILER=yes 477210998002Smrgelse 477310998002Smrg $as_echo "$as_me: failed program was:" >&5 477410998002Smrgsed 's/^/| /' conftest.$ac_ext >&5 477510998002Smrg 477610998002Smrg ac_cv_have_decl___INTEL_COMPILER=no 477710998002Smrgfi 477810998002Smrg 477910998002Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 478010998002Smrgfi 478110998002Smrg{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5 478210998002Smrg$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; } 478310998002Smrgif test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then 478410998002Smrg INTELCC="yes" 478510998002Smrgelse 478610998002Smrg INTELCC="no" 478710998002Smrgfi 478810998002Smrg 478910998002Smrg if test "x$GCC" = xyes ; then 479010998002Smrg STRICT_CFLAGS="-pedantic -Werror" 479110998002Smrg elif test "x$SUNCC" = "xyes"; then 479210998002Smrg STRICT_CFLAGS="-errwarn" 479310998002Smrg elif test "x$INTELCC" = "xyes"; then 479410998002Smrg STRICT_CFLAGS="-Werror" 479510998002Smrg fi 479610998002Smrgfi 479710998002SmrgCWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS" 479810998002Smrg 479910998002Smrg 480010998002Smrg 480110998002Smrg 480210998002Smrg# Check whether --with-release-version was given. 480310998002Smrgif test "${with_release_version+set}" = set; then 480410998002Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 480510998002Smrgelse 480610998002Smrg RELEASE_VERSION="" 480710998002Smrgfi 480810998002Smrg 480910998002Smrg if test "x$RELEASE_VERSION" != "x"; then 481010998002Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 481110998002Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 481210998002Smrg { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 481310998002Smrg$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;} 481410998002Smrg fi 481510998002Smrg 481610998002Smrgcat >>confdefs.h <<_ACEOF 481710998002Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 481810998002Smrg_ACEOF 481910998002Smrg 482010998002Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 482110998002Smrg if test "x$PVM" = "x"; then 482210998002Smrg PVM="0" 482310998002Smrg fi 482410998002Smrg 482510998002Smrgcat >>confdefs.h <<_ACEOF 482610998002Smrg#define PACKAGE_VERSION_MINOR $PVM 482710998002Smrg_ACEOF 482810998002Smrg 482910998002Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 483010998002Smrg if test "x$PVP" = "x"; then 483110998002Smrg PVP="0" 483210998002Smrg fi 483310998002Smrg 483410998002Smrgcat >>confdefs.h <<_ACEOF 483510998002Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 483610998002Smrg_ACEOF 483710998002Smrg 483810998002Smrg 483910998002Smrg 484010998002SmrgCHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \ 484110998002Smrgmv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \ 484210998002Smrgecho 'git directory not found: installing possibly empty changelog.' >&2)" 484310998002Smrg 484410998002Smrgdistcleancheck_listfiles='find . -type f ! -name ChangeLog -print' 484510998002Smrg 484610998002Smrg 484710998002Smrg 484810998002Smrg 484910998002Smrg 485010998002Smrgif test x$APP_MAN_SUFFIX = x ; then 485110998002Smrg APP_MAN_SUFFIX=1 485210998002Smrgfi 485310998002Smrgif test x$APP_MAN_DIR = x ; then 485410998002Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 485510998002Smrgfi 485610998002Smrg 485710998002Smrgif test x$LIB_MAN_SUFFIX = x ; then 485810998002Smrg LIB_MAN_SUFFIX=3 485910998002Smrgfi 486010998002Smrgif test x$LIB_MAN_DIR = x ; then 486110998002Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 486210998002Smrgfi 486310998002Smrg 486410998002Smrgif test x$FILE_MAN_SUFFIX = x ; then 486510998002Smrg case $host_os in 486610998002Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 486710998002Smrg *) FILE_MAN_SUFFIX=5 ;; 486810998002Smrg esac 486910998002Smrgfi 487010998002Smrgif test x$FILE_MAN_DIR = x ; then 487110998002Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 487210998002Smrgfi 487310998002Smrg 487410998002Smrgif test x$MISC_MAN_SUFFIX = x ; then 487510998002Smrg case $host_os in 487610998002Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 487710998002Smrg *) MISC_MAN_SUFFIX=7 ;; 487810998002Smrg esac 487910998002Smrgfi 488010998002Smrgif test x$MISC_MAN_DIR = x ; then 488110998002Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 488210998002Smrgfi 488310998002Smrg 488410998002Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 488510998002Smrg case $host_os in 488610998002Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 488710998002Smrg *) DRIVER_MAN_SUFFIX=4 ;; 488810998002Smrg esac 488910998002Smrgfi 489010998002Smrgif test x$DRIVER_MAN_DIR = x ; then 489110998002Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 489210998002Smrgfi 489310998002Smrg 489410998002Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 489510998002Smrg case $host_os in 489610998002Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 489710998002Smrg *) ADMIN_MAN_SUFFIX=8 ;; 489810998002Smrg esac 489910998002Smrgfi 490010998002Smrgif test x$ADMIN_MAN_DIR = x ; then 490110998002Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 4902ff7e0accSmrgfi 4903ff7e0accSmrg 4904ff7e0accSmrg 4905ff7e0accSmrg 490610998002Smrg 490710998002Smrg 490810998002Smrg 490910998002Smrg 491010998002Smrg 491110998002Smrg 491210998002Smrg 491310998002Smrg 491410998002Smrg 491510998002Smrg 491610998002Smrg 4917ff7e0accSmrg 4918ff7e0accSmrg 4919ff7e0accSmrg 4920ff7e0accSmrg 4921ff7e0accSmrgfor ac_func in strlcat 4922ff7e0accSmrgdo 4923a005d216Smrgas_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4924a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 4925a005d216Smrg$as_echo_n "checking for $ac_func... " >&6; } 4926ff7e0accSmrgif { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 4927a005d216Smrg $as_echo_n "(cached) " >&6 4928ff7e0accSmrgelse 4929ff7e0accSmrg cat >conftest.$ac_ext <<_ACEOF 4930ff7e0accSmrg/* confdefs.h. */ 4931ff7e0accSmrg_ACEOF 4932ff7e0accSmrgcat confdefs.h >>conftest.$ac_ext 4933ff7e0accSmrgcat >>conftest.$ac_ext <<_ACEOF 4934ff7e0accSmrg/* end confdefs.h. */ 4935ff7e0accSmrg/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4936ff7e0accSmrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4937ff7e0accSmrg#define $ac_func innocuous_$ac_func 4938ff7e0accSmrg 4939ff7e0accSmrg/* System header to define __stub macros and hopefully few prototypes, 4940ff7e0accSmrg which can conflict with char $ac_func (); below. 4941ff7e0accSmrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4942ff7e0accSmrg <limits.h> exists even on freestanding compilers. */ 4943ff7e0accSmrg 4944ff7e0accSmrg#ifdef __STDC__ 4945ff7e0accSmrg# include <limits.h> 4946ff7e0accSmrg#else 4947ff7e0accSmrg# include <assert.h> 4948ff7e0accSmrg#endif 4949ff7e0accSmrg 4950ff7e0accSmrg#undef $ac_func 4951ff7e0accSmrg 4952ff7e0accSmrg/* Override any GCC internal prototype to avoid an error. 4953ff7e0accSmrg Use char because int might match the return type of a GCC 4954ff7e0accSmrg builtin and then its argument prototype would still apply. */ 4955ff7e0accSmrg#ifdef __cplusplus 4956ff7e0accSmrgextern "C" 4957ff7e0accSmrg#endif 4958ff7e0accSmrgchar $ac_func (); 4959ff7e0accSmrg/* The GNU C library defines this for functions which it implements 4960ff7e0accSmrg to always fail with ENOSYS. Some functions are actually named 4961ff7e0accSmrg something starting with __ and the normal name is an alias. */ 4962ff7e0accSmrg#if defined __stub_$ac_func || defined __stub___$ac_func 4963ff7e0accSmrgchoke me 4964ff7e0accSmrg#endif 4965ff7e0accSmrg 4966ff7e0accSmrgint 4967ff7e0accSmrgmain () 4968ff7e0accSmrg{ 4969ff7e0accSmrgreturn $ac_func (); 4970ff7e0accSmrg ; 4971ff7e0accSmrg return 0; 4972ff7e0accSmrg} 4973ff7e0accSmrg_ACEOF 4974ff7e0accSmrgrm -f conftest.$ac_objext conftest$ac_exeext 4975ff7e0accSmrgif { (ac_try="$ac_link" 4976ff7e0accSmrgcase "(($ac_try" in 4977ff7e0accSmrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4978ff7e0accSmrg *) ac_try_echo=$ac_try;; 4979ff7e0accSmrgesac 4980a005d216Smrgeval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4981a005d216Smrg$as_echo "$ac_try_echo") >&5 4982ff7e0accSmrg (eval "$ac_link") 2>conftest.er1 4983ff7e0accSmrg ac_status=$? 4984ff7e0accSmrg grep -v '^ *+' conftest.er1 >conftest.err 4985ff7e0accSmrg rm -f conftest.er1 4986ff7e0accSmrg cat conftest.err >&5 4987a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4988ff7e0accSmrg (exit $ac_status); } && { 4989ff7e0accSmrg test -z "$ac_c_werror_flag" || 4990ff7e0accSmrg test ! -s conftest.err 4991a005d216Smrg } && test -s conftest$ac_exeext && { 4992a005d216Smrg test "$cross_compiling" = yes || 4993a005d216Smrg $as_test_x conftest$ac_exeext 4994a005d216Smrg }; then 4995ff7e0accSmrg eval "$as_ac_var=yes" 4996ff7e0accSmrgelse 4997a005d216Smrg $as_echo "$as_me: failed program was:" >&5 4998ff7e0accSmrgsed 's/^/| /' conftest.$ac_ext >&5 4999ff7e0accSmrg 5000ff7e0accSmrg eval "$as_ac_var=no" 5001ff7e0accSmrgfi 5002ff7e0accSmrg 5003a005d216Smrgrm -rf conftest.dSYM 5004ff7e0accSmrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5005ff7e0accSmrg conftest$ac_exeext conftest.$ac_ext 5006ff7e0accSmrgfi 5007a005d216Smrgac_res=`eval 'as_val=${'$as_ac_var'} 5008a005d216Smrg $as_echo "$as_val"'` 5009a005d216Smrg { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 5010a005d216Smrg$as_echo "$ac_res" >&6; } 501110998002Smrgas_val=`eval 'as_val=${'$as_ac_var'} 501210998002Smrg $as_echo "$as_val"'` 501310998002Smrg if test "x$as_val" = x""yes; then 5014ff7e0accSmrg cat >>confdefs.h <<_ACEOF 5015a005d216Smrg#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5016ff7e0accSmrg_ACEOF 5017ff7e0accSmrg 5018ff7e0accSmrgfi 5019ff7e0accSmrgdone 5020ff7e0accSmrg 5021ff7e0accSmrg 5022ff7e0accSmrg# Checks for pkg-config packages 5023ff7e0accSmrg 5024ff7e0accSmrg 5025ff7e0accSmrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 5026ff7e0accSmrg if test -n "$ac_tool_prefix"; then 5027ff7e0accSmrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 5028ff7e0accSmrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 5029a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5030a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 5031ff7e0accSmrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 5032a005d216Smrg $as_echo_n "(cached) " >&6 5033ff7e0accSmrgelse 5034ff7e0accSmrg case $PKG_CONFIG in 5035ff7e0accSmrg [\\/]* | ?:[\\/]*) 5036ff7e0accSmrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 5037ff7e0accSmrg ;; 5038ff7e0accSmrg *) 5039ff7e0accSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5040ff7e0accSmrgfor as_dir in $PATH 5041ff7e0accSmrgdo 5042ff7e0accSmrg IFS=$as_save_IFS 5043ff7e0accSmrg test -z "$as_dir" && as_dir=. 5044ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5045ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5046ff7e0accSmrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5047a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5048ff7e0accSmrg break 2 5049ff7e0accSmrg fi 5050ff7e0accSmrgdone 5051ff7e0accSmrgdone 5052ff7e0accSmrgIFS=$as_save_IFS 5053ff7e0accSmrg 5054ff7e0accSmrg ;; 5055ff7e0accSmrgesac 5056ff7e0accSmrgfi 5057ff7e0accSmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 5058ff7e0accSmrgif test -n "$PKG_CONFIG"; then 5059a005d216Smrg { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 5060a005d216Smrg$as_echo "$PKG_CONFIG" >&6; } 5061ff7e0accSmrgelse 5062a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5063a005d216Smrg$as_echo "no" >&6; } 5064ff7e0accSmrgfi 5065ff7e0accSmrg 5066ff7e0accSmrg 5067ff7e0accSmrgfi 5068ff7e0accSmrgif test -z "$ac_cv_path_PKG_CONFIG"; then 5069ff7e0accSmrg ac_pt_PKG_CONFIG=$PKG_CONFIG 5070ff7e0accSmrg # Extract the first word of "pkg-config", so it can be a program name with args. 5071ff7e0accSmrgset dummy pkg-config; ac_word=$2 5072a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 5073a005d216Smrg$as_echo_n "checking for $ac_word... " >&6; } 5074ff7e0accSmrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 5075a005d216Smrg $as_echo_n "(cached) " >&6 5076ff7e0accSmrgelse 5077ff7e0accSmrg case $ac_pt_PKG_CONFIG in 5078ff7e0accSmrg [\\/]* | ?:[\\/]*) 5079ff7e0accSmrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 5080ff7e0accSmrg ;; 5081ff7e0accSmrg *) 5082ff7e0accSmrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5083ff7e0accSmrgfor as_dir in $PATH 5084ff7e0accSmrgdo 5085ff7e0accSmrg IFS=$as_save_IFS 5086ff7e0accSmrg test -z "$as_dir" && as_dir=. 5087ff7e0accSmrg for ac_exec_ext in '' $ac_executable_extensions; do 5088ff7e0accSmrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5089ff7e0accSmrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 5090a005d216Smrg $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5091ff7e0accSmrg break 2 5092ff7e0accSmrg fi 5093ff7e0accSmrgdone 5094ff7e0accSmrgdone 5095ff7e0accSmrgIFS=$as_save_IFS 5096ff7e0accSmrg 5097ff7e0accSmrg ;; 5098ff7e0accSmrgesac 5099ff7e0accSmrgfi 5100ff7e0accSmrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 5101ff7e0accSmrgif test -n "$ac_pt_PKG_CONFIG"; then 5102a005d216Smrg { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 5103a005d216Smrg$as_echo "$ac_pt_PKG_CONFIG" >&6; } 5104ff7e0accSmrgelse 5105a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5106a005d216Smrg$as_echo "no" >&6; } 5107ff7e0accSmrgfi 5108ff7e0accSmrg 5109ff7e0accSmrg if test "x$ac_pt_PKG_CONFIG" = x; then 5110ff7e0accSmrg PKG_CONFIG="" 5111ff7e0accSmrg else 5112ff7e0accSmrg case $cross_compiling:$ac_tool_warned in 5113ff7e0accSmrgyes:) 511410998002Smrg{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 511510998002Smrg$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5116ff7e0accSmrgac_tool_warned=yes ;; 5117ff7e0accSmrgesac 5118ff7e0accSmrg PKG_CONFIG=$ac_pt_PKG_CONFIG 5119ff7e0accSmrg fi 5120ff7e0accSmrgelse 5121ff7e0accSmrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 5122ff7e0accSmrgfi 5123ff7e0accSmrg 5124ff7e0accSmrgfi 5125ff7e0accSmrgif test -n "$PKG_CONFIG"; then 5126ff7e0accSmrg _pkg_min_version=0.9.0 5127a005d216Smrg { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 5128a005d216Smrg$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 5129ff7e0accSmrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 5130a005d216Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 5131a005d216Smrg$as_echo "yes" >&6; } 5132ff7e0accSmrg else 5133a005d216Smrg { $as_echo "$as_me:$LINENO: result: no" >&5 5134a005d216Smrg$as_echo "no" >&6; } 5135ff7e0accSmrg PKG_CONFIG="" 5136ff7e0accSmrg fi 5137ff7e0accSmrg 5138ff7e0accSmrgfi 5139ff7e0accSmrg 5140ff7e0accSmrgpkg_failed=no 5141a005d216Smrg{ $as_echo "$as_me:$LINENO: checking for XWININFO" >&5 5142a005d216Smrg$as_echo_n "checking for XWININFO... " >&6; } 5143a005d216Smrg 5144a005d216Smrgif test -n "$XWININFO_CFLAGS"; then 5145a005d216Smrg pkg_cv_XWININFO_CFLAGS="$XWININFO_CFLAGS" 5146a005d216Smrg elif test -n "$PKG_CONFIG"; then 5147a005d216Smrg if test -n "$PKG_CONFIG" && \ 5148a005d216Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xext x11\"") >&5 5149a005d216Smrg ($PKG_CONFIG --exists --print-errors "xext x11") 2>&5 5150ff7e0accSmrg ac_status=$? 5151a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5152ff7e0accSmrg (exit $ac_status); }; then 5153a005d216Smrg pkg_cv_XWININFO_CFLAGS=`$PKG_CONFIG --cflags "xext x11" 2>/dev/null` 5154ff7e0accSmrgelse 5155ff7e0accSmrg pkg_failed=yes 5156ff7e0accSmrgfi 5157a005d216Smrg else 5158a005d216Smrg pkg_failed=untried 5159ff7e0accSmrgfi 5160a005d216Smrgif test -n "$XWININFO_LIBS"; then 5161a005d216Smrg pkg_cv_XWININFO_LIBS="$XWININFO_LIBS" 5162a005d216Smrg elif test -n "$PKG_CONFIG"; then 5163a005d216Smrg if test -n "$PKG_CONFIG" && \ 5164a005d216Smrg { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xext x11\"") >&5 5165a005d216Smrg ($PKG_CONFIG --exists --print-errors "xext x11") 2>&5 5166ff7e0accSmrg ac_status=$? 5167a005d216Smrg $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5168ff7e0accSmrg (exit $ac_status); }; then 5169a005d216Smrg pkg_cv_XWININFO_LIBS=`$PKG_CONFIG --libs "xext x11" 2>/dev/null` 5170ff7e0accSmrgelse 5171ff7e0accSmrg pkg_failed=yes 5172ff7e0accSmrgfi 5173a005d216Smrg else 5174a005d216Smrg pkg_failed=untried 5175ff7e0accSmrgfi 5176ff7e0accSmrg 5177a005d216Smrg 5178a005d216Smrg 5179ff7e0accSmrgif test $pkg_failed = yes; then 5180a005d216Smrg 5181a005d216Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5182a005d216Smrg _pkg_short_errors_supported=yes 5183a005d216Smrgelse 5184a005d216Smrg _pkg_short_errors_supported=no 5185a005d216Smrgfi 5186a005d216Smrg if test $_pkg_short_errors_supported = yes; then 5187a005d216Smrg XWININFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xext x11" 2>&1` 5188a005d216Smrg else 5189a005d216Smrg XWININFO_PKG_ERRORS=`$PKG_CONFIG --print-errors "xext x11" 2>&1` 5190a005d216Smrg fi 5191ff7e0accSmrg # Put the nasty error message in config.log where it belongs 5192a005d216Smrg echo "$XWININFO_PKG_ERRORS" >&5 5193a005d216Smrg 5194a005d216Smrg { { $as_echo "$as_me:$LINENO: error: Package requirements (xext x11) were not met: 5195a005d216Smrg 5196a005d216Smrg$XWININFO_PKG_ERRORS 5197ff7e0accSmrg 5198ff7e0accSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5199ff7e0accSmrginstalled software in a non-standard prefix. 5200ff7e0accSmrg 5201a005d216SmrgAlternatively, you may set the environment variables XWININFO_CFLAGS 5202a005d216Smrgand XWININFO_LIBS to avoid the need to call pkg-config. 5203a005d216SmrgSee the pkg-config man page for more details. 5204a005d216Smrg" >&5 5205a005d216Smrg$as_echo "$as_me: error: Package requirements (xext x11) were not met: 5206a005d216Smrg 5207a005d216Smrg$XWININFO_PKG_ERRORS 5208a005d216Smrg 5209ff7e0accSmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 5210ff7e0accSmrginstalled software in a non-standard prefix. 5211ff7e0accSmrg 5212a005d216SmrgAlternatively, you may set the environment variables XWININFO_CFLAGS 5213a005d216Smrgand XWININFO_LIBS to avoid the need to call pkg-config. 5214a005d216SmrgSee the pkg-config man page for more details. 5215a005d216Smrg" >&2;} 5216ff7e0accSmrg { (exit 1); exit 1; }; } 5217ff7e0accSmrgelif test $pkg_failed = untried; then 521810998002Smrg { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 521910998002Smrg$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 522010998002Smrg{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 5221ff7e0accSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 5222ff7e0accSmrgpath to pkg-config. 5223ff7e0accSmrg 5224a005d216SmrgAlternatively, you may set the environment variables XWININFO_CFLAGS 5225a005d216Smrgand XWININFO_LIBS to avoid the need to call pkg-config. 5226a005d216SmrgSee the pkg-config man page for more details. 5227ff7e0accSmrg 5228a005d216SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5229ff7e0accSmrgSee \`config.log' for more details." >&5 5230a005d216Smrg$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 5231ff7e0accSmrgis in your PATH or set the PKG_CONFIG environment variable to the full 5232ff7e0accSmrgpath to pkg-config. 5233ff7e0accSmrg 5234a005d216SmrgAlternatively, you may set the environment variables XWININFO_CFLAGS 5235a005d216Smrgand XWININFO_LIBS to avoid the need to call pkg-config. 5236a005d216SmrgSee the pkg-config man page for more details. 5237ff7e0accSmrg 5238a005d216SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 5239ff7e0accSmrgSee \`config.log' for more details." >&2;} 524010998002Smrg { (exit 1); exit 1; }; }; } 5241ff7e0accSmrgelse 5242ff7e0accSmrg XWININFO_CFLAGS=$pkg_cv_XWININFO_CFLAGS 5243ff7e0accSmrg XWININFO_LIBS=$pkg_cv_XWININFO_LIBS 5244a005d216Smrg { $as_echo "$as_me:$LINENO: result: yes" >&5 5245a005d216Smrg$as_echo "yes" >&6; } 5246ff7e0accSmrg : 5247ff7e0accSmrgfi 5248ff7e0accSmrg 5249ff7e0accSmrg 5250ff7e0accSmrg 5251ff7e0accSmrgac_config_files="$ac_config_files Makefile" 5252ff7e0accSmrg 5253ff7e0accSmrgcat >confcache <<\_ACEOF 5254ff7e0accSmrg# This file is a shell script that caches the results of configure 5255ff7e0accSmrg# tests run on this system so they can be shared between configure 5256ff7e0accSmrg# scripts and configure runs, see configure's option --config-cache. 5257ff7e0accSmrg# It is not useful on other systems. If it contains results you don't 5258ff7e0accSmrg# want to keep, you may remove or edit it. 5259ff7e0accSmrg# 5260ff7e0accSmrg# config.status only pays attention to the cache file if you give it 5261ff7e0accSmrg# the --recheck option to rerun configure. 5262ff7e0accSmrg# 5263ff7e0accSmrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 5264ff7e0accSmrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 5265ff7e0accSmrg# following values. 5266ff7e0accSmrg 5267ff7e0accSmrg_ACEOF 5268ff7e0accSmrg 5269ff7e0accSmrg# The following way of writing the cache mishandles newlines in values, 5270ff7e0accSmrg# but we know of no workaround that is simple, portable, and efficient. 5271ff7e0accSmrg# So, we kill variables containing newlines. 5272ff7e0accSmrg# Ultrix sh set writes to stderr and can't be redirected directly, 5273ff7e0accSmrg# and sets the high bit in the cache file unless we assign to the vars. 5274ff7e0accSmrg( 5275ff7e0accSmrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5276ff7e0accSmrg eval ac_val=\$$ac_var 5277ff7e0accSmrg case $ac_val in #( 5278ff7e0accSmrg *${as_nl}*) 5279ff7e0accSmrg case $ac_var in #( 528010998002Smrg *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 528110998002Smrg$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5282ff7e0accSmrg esac 5283ff7e0accSmrg case $ac_var in #( 5284ff7e0accSmrg _ | IFS | as_nl) ;; #( 5285a005d216Smrg BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5286ff7e0accSmrg *) $as_unset $ac_var ;; 5287ff7e0accSmrg esac ;; 5288ff7e0accSmrg esac 5289ff7e0accSmrg done 5290ff7e0accSmrg 5291ff7e0accSmrg (set) 2>&1 | 5292ff7e0accSmrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 5293ff7e0accSmrg *${as_nl}ac_space=\ *) 5294ff7e0accSmrg # `set' does not quote correctly, so add quotes (double-quote 5295ff7e0accSmrg # substitution turns \\\\ into \\, and sed turns \\ into \). 5296ff7e0accSmrg sed -n \ 5297ff7e0accSmrg "s/'/'\\\\''/g; 5298ff7e0accSmrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5299ff7e0accSmrg ;; #( 5300ff7e0accSmrg *) 5301ff7e0accSmrg # `set' quotes correctly as required by POSIX, so do not add quotes. 5302ff7e0accSmrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5303ff7e0accSmrg ;; 5304ff7e0accSmrg esac | 5305ff7e0accSmrg sort 5306ff7e0accSmrg) | 5307ff7e0accSmrg sed ' 5308ff7e0accSmrg /^ac_cv_env_/b end 5309ff7e0accSmrg t clear 5310ff7e0accSmrg :clear 5311ff7e0accSmrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5312ff7e0accSmrg t end 5313ff7e0accSmrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5314ff7e0accSmrg :end' >>confcache 5315ff7e0accSmrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5316ff7e0accSmrg if test -w "$cache_file"; then 5317ff7e0accSmrg test "x$cache_file" != "x/dev/null" && 5318a005d216Smrg { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 5319a005d216Smrg$as_echo "$as_me: updating cache $cache_file" >&6;} 5320ff7e0accSmrg cat confcache >$cache_file 5321ff7e0accSmrg else 5322a005d216Smrg { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 5323a005d216Smrg$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5324ff7e0accSmrg fi 5325ff7e0accSmrgfi 5326ff7e0accSmrgrm -f confcache 5327ff7e0accSmrg 5328ff7e0accSmrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 5329ff7e0accSmrg# Let make expand exec_prefix. 5330ff7e0accSmrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5331ff7e0accSmrg 5332ff7e0accSmrgDEFS=-DHAVE_CONFIG_H 5333ff7e0accSmrg 5334ff7e0accSmrgac_libobjs= 5335ff7e0accSmrgac_ltlibobjs= 5336ff7e0accSmrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5337ff7e0accSmrg # 1. Remove the extension, and $U if already installed. 5338ff7e0accSmrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5339a005d216Smrg ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5340ff7e0accSmrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5341ff7e0accSmrg # will be set to the directory where LIBOBJS objects are built. 5342ff7e0accSmrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5343ff7e0accSmrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 5344ff7e0accSmrgdone 5345ff7e0accSmrgLIBOBJS=$ac_libobjs 5346ff7e0accSmrg 5347ff7e0accSmrgLTLIBOBJS=$ac_ltlibobjs 5348ff7e0accSmrg 5349ff7e0accSmrg 535010998002Smrg if test -n "$EXEEXT"; then 535110998002Smrg am__EXEEXT_TRUE= 535210998002Smrg am__EXEEXT_FALSE='#' 535310998002Smrgelse 535410998002Smrg am__EXEEXT_TRUE='#' 535510998002Smrg am__EXEEXT_FALSE= 535610998002Smrgfi 535710998002Smrg 5358ff7e0accSmrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 5359a005d216Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 5360ff7e0accSmrgUsually this means the macro was only invoked conditionally." >&5 5361a005d216Smrg$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 5362ff7e0accSmrgUsually this means the macro was only invoked conditionally." >&2;} 5363ff7e0accSmrg { (exit 1); exit 1; }; } 5364ff7e0accSmrgfi 5365ff7e0accSmrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5366a005d216Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5367ff7e0accSmrgUsually this means the macro was only invoked conditionally." >&5 5368a005d216Smrg$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. 5369ff7e0accSmrgUsually this means the macro was only invoked conditionally." >&2;} 5370ff7e0accSmrg { (exit 1); exit 1; }; } 5371ff7e0accSmrgfi 5372ff7e0accSmrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5373a005d216Smrg { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5374ff7e0accSmrgUsually this means the macro was only invoked conditionally." >&5 5375a005d216Smrg$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5376ff7e0accSmrgUsually this means the macro was only invoked conditionally." >&2;} 5377ff7e0accSmrg { (exit 1); exit 1; }; } 5378ff7e0accSmrgfi 5379ff7e0accSmrg 5380ff7e0accSmrg: ${CONFIG_STATUS=./config.status} 5381a005d216Smrgac_write_fail=0 5382ff7e0accSmrgac_clean_files_save=$ac_clean_files 5383ff7e0accSmrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 5384a005d216Smrg{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5385a005d216Smrg$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5386a005d216Smrgcat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5387ff7e0accSmrg#! $SHELL 5388ff7e0accSmrg# Generated by $as_me. 5389ff7e0accSmrg# Run this file to recreate the current configuration. 5390ff7e0accSmrg# Compiler output produced by configure, useful for debugging 5391ff7e0accSmrg# configure, is in config.log if it exists. 5392ff7e0accSmrg 5393ff7e0accSmrgdebug=false 5394ff7e0accSmrgac_cs_recheck=false 5395ff7e0accSmrgac_cs_silent=false 5396ff7e0accSmrgSHELL=\${CONFIG_SHELL-$SHELL} 5397ff7e0accSmrg_ACEOF 5398ff7e0accSmrg 5399a005d216Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5400ff7e0accSmrg## --------------------- ## 5401ff7e0accSmrg## M4sh Initialization. ## 5402ff7e0accSmrg## --------------------- ## 5403ff7e0accSmrg 5404ff7e0accSmrg# Be more Bourne compatible 5405ff7e0accSmrgDUALCASE=1; export DUALCASE # for MKS sh 5406ff7e0accSmrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5407ff7e0accSmrg emulate sh 5408ff7e0accSmrg NULLCMD=: 5409a005d216Smrg # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5410ff7e0accSmrg # is contrary to our usage. Disable this feature. 5411ff7e0accSmrg alias -g '${1+"$@"}'='"$@"' 5412ff7e0accSmrg setopt NO_GLOB_SUBST 5413ff7e0accSmrgelse 5414ff7e0accSmrg case `(set -o) 2>/dev/null` in 5415ff7e0accSmrg *posix*) set -o posix ;; 5416ff7e0accSmrgesac 5417ff7e0accSmrg 5418ff7e0accSmrgfi 5419ff7e0accSmrg 5420ff7e0accSmrg 5421ff7e0accSmrg 5422ff7e0accSmrg 5423ff7e0accSmrg# PATH needs CR 5424ff7e0accSmrg# Avoid depending upon Character Ranges. 5425ff7e0accSmrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 5426ff7e0accSmrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5427ff7e0accSmrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 5428ff7e0accSmrgas_cr_digits='0123456789' 5429ff7e0accSmrgas_cr_alnum=$as_cr_Letters$as_cr_digits 5430ff7e0accSmrg 5431a005d216Smrgas_nl=' 5432a005d216Smrg' 5433a005d216Smrgexport as_nl 5434a005d216Smrg# Printing a long string crashes Solaris 7 /usr/bin/printf. 5435a005d216Smrgas_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5436a005d216Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5437a005d216Smrgas_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5438a005d216Smrgif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5439a005d216Smrg as_echo='printf %s\n' 5440a005d216Smrg as_echo_n='printf %s' 5441a005d216Smrgelse 5442a005d216Smrg if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5443a005d216Smrg as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5444a005d216Smrg as_echo_n='/usr/ucb/echo -n' 5445ff7e0accSmrg else 5446a005d216Smrg as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5447a005d216Smrg as_echo_n_body='eval 5448a005d216Smrg arg=$1; 5449a005d216Smrg case $arg in 5450a005d216Smrg *"$as_nl"*) 5451a005d216Smrg expr "X$arg" : "X\\(.*\\)$as_nl"; 5452a005d216Smrg arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5453a005d216Smrg esac; 5454a005d216Smrg expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5455a005d216Smrg ' 5456a005d216Smrg export as_echo_n_body 5457a005d216Smrg as_echo_n='sh -c $as_echo_n_body as_echo' 5458ff7e0accSmrg fi 5459a005d216Smrg export as_echo_body 5460a005d216Smrg as_echo='sh -c $as_echo_body as_echo' 5461a005d216Smrgfi 5462a005d216Smrg 5463a005d216Smrg# The user is always right. 5464a005d216Smrgif test "${PATH_SEPARATOR+set}" != set; then 5465a005d216Smrg PATH_SEPARATOR=: 5466a005d216Smrg (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5467a005d216Smrg (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5468a005d216Smrg PATH_SEPARATOR=';' 5469a005d216Smrg } 5470ff7e0accSmrgfi 5471ff7e0accSmrg 5472ff7e0accSmrg# Support unset when possible. 5473ff7e0accSmrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5474ff7e0accSmrg as_unset=unset 5475ff7e0accSmrgelse 5476ff7e0accSmrg as_unset=false 5477ff7e0accSmrgfi 5478ff7e0accSmrg 5479ff7e0accSmrg 5480ff7e0accSmrg# IFS 5481ff7e0accSmrg# We need space, tab and new line, in precisely that order. Quoting is 5482ff7e0accSmrg# there to prevent editors from complaining about space-tab. 5483ff7e0accSmrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5484ff7e0accSmrg# splitting by setting IFS to empty value.) 5485ff7e0accSmrgIFS=" "" $as_nl" 5486ff7e0accSmrg 5487ff7e0accSmrg# Find who we are. Look in the path if we contain no directory separator. 5488ff7e0accSmrgcase $0 in 5489ff7e0accSmrg *[\\/]* ) as_myself=$0 ;; 5490ff7e0accSmrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5491ff7e0accSmrgfor as_dir in $PATH 5492ff7e0accSmrgdo 5493ff7e0accSmrg IFS=$as_save_IFS 5494ff7e0accSmrg test -z "$as_dir" && as_dir=. 5495ff7e0accSmrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5496ff7e0accSmrgdone 5497ff7e0accSmrgIFS=$as_save_IFS 5498ff7e0accSmrg 5499ff7e0accSmrg ;; 5500ff7e0accSmrgesac 5501ff7e0accSmrg# We did not find ourselves, most probably we were run as `sh COMMAND' 5502ff7e0accSmrg# in which case we are not to be found in the path. 5503ff7e0accSmrgif test "x$as_myself" = x; then 5504ff7e0accSmrg as_myself=$0 5505ff7e0accSmrgfi 5506ff7e0accSmrgif test ! -f "$as_myself"; then 5507a005d216Smrg $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5508ff7e0accSmrg { (exit 1); exit 1; } 5509ff7e0accSmrgfi 5510ff7e0accSmrg 5511ff7e0accSmrg# Work around bugs in pre-3.0 UWIN ksh. 5512ff7e0accSmrgfor as_var in ENV MAIL MAILPATH 5513ff7e0accSmrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 5514ff7e0accSmrgdone 5515ff7e0accSmrgPS1='$ ' 5516ff7e0accSmrgPS2='> ' 5517ff7e0accSmrgPS4='+ ' 5518ff7e0accSmrg 5519ff7e0accSmrg# NLS nuisances. 5520a005d216SmrgLC_ALL=C 5521a005d216Smrgexport LC_ALL 5522a005d216SmrgLANGUAGE=C 5523a005d216Smrgexport LANGUAGE 5524ff7e0accSmrg 5525ff7e0accSmrg# Required to use basename. 5526ff7e0accSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 5527ff7e0accSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5528ff7e0accSmrg as_expr=expr 5529ff7e0accSmrgelse 5530ff7e0accSmrg as_expr=false 5531ff7e0accSmrgfi 5532ff7e0accSmrg 5533ff7e0accSmrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5534ff7e0accSmrg as_basename=basename 5535ff7e0accSmrgelse 5536ff7e0accSmrg as_basename=false 5537ff7e0accSmrgfi 5538ff7e0accSmrg 5539ff7e0accSmrg 5540ff7e0accSmrg# Name of the executable. 5541ff7e0accSmrgas_me=`$as_basename -- "$0" || 5542ff7e0accSmrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5543ff7e0accSmrg X"$0" : 'X\(//\)$' \| \ 5544ff7e0accSmrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 5545a005d216Smrg$as_echo X/"$0" | 5546ff7e0accSmrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 5547ff7e0accSmrg s//\1/ 5548ff7e0accSmrg q 5549ff7e0accSmrg } 5550ff7e0accSmrg /^X\/\(\/\/\)$/{ 5551ff7e0accSmrg s//\1/ 5552ff7e0accSmrg q 5553ff7e0accSmrg } 5554ff7e0accSmrg /^X\/\(\/\).*/{ 5555ff7e0accSmrg s//\1/ 5556ff7e0accSmrg q 5557ff7e0accSmrg } 5558ff7e0accSmrg s/.*/./; q'` 5559ff7e0accSmrg 5560ff7e0accSmrg# CDPATH. 5561ff7e0accSmrg$as_unset CDPATH 5562ff7e0accSmrg 5563ff7e0accSmrg 5564ff7e0accSmrg 5565ff7e0accSmrg as_lineno_1=$LINENO 5566ff7e0accSmrg as_lineno_2=$LINENO 5567ff7e0accSmrg test "x$as_lineno_1" != "x$as_lineno_2" && 5568ff7e0accSmrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 5569ff7e0accSmrg 5570ff7e0accSmrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5571ff7e0accSmrg # uniformly replaced by the line number. The first 'sed' inserts a 5572ff7e0accSmrg # line-number line after each line using $LINENO; the second 'sed' 5573ff7e0accSmrg # does the real work. The second script uses 'N' to pair each 5574ff7e0accSmrg # line-number line with the line containing $LINENO, and appends 5575ff7e0accSmrg # trailing '-' during substitution so that $LINENO is not a special 5576ff7e0accSmrg # case at line end. 5577ff7e0accSmrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5578ff7e0accSmrg # scripts with optimization help from Paolo Bonzini. Blame Lee 5579ff7e0accSmrg # E. McMahon (1931-1989) for sed's syntax. :-) 5580ff7e0accSmrg sed -n ' 5581ff7e0accSmrg p 5582ff7e0accSmrg /[$]LINENO/= 5583ff7e0accSmrg ' <$as_myself | 5584ff7e0accSmrg sed ' 5585ff7e0accSmrg s/[$]LINENO.*/&-/ 5586ff7e0accSmrg t lineno 5587ff7e0accSmrg b 5588ff7e0accSmrg :lineno 5589ff7e0accSmrg N 5590ff7e0accSmrg :loop 5591ff7e0accSmrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 5592ff7e0accSmrg t loop 5593ff7e0accSmrg s/-\n.*// 5594ff7e0accSmrg ' >$as_me.lineno && 5595ff7e0accSmrg chmod +x "$as_me.lineno" || 5596a005d216Smrg { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 5597ff7e0accSmrg { (exit 1); exit 1; }; } 5598ff7e0accSmrg 5599ff7e0accSmrg # Don't try to exec as it changes $[0], causing all sort of problems 5600ff7e0accSmrg # (the dirname of $[0] is not the place where we might find the 5601ff7e0accSmrg # original and so on. Autoconf is especially sensitive to this). 5602ff7e0accSmrg . "./$as_me.lineno" 5603ff7e0accSmrg # Exit status is that of the last command. 5604ff7e0accSmrg exit 5605ff7e0accSmrg} 5606ff7e0accSmrg 5607ff7e0accSmrg 5608ff7e0accSmrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5609ff7e0accSmrg as_dirname=dirname 5610ff7e0accSmrgelse 5611ff7e0accSmrg as_dirname=false 5612ff7e0accSmrgfi 5613ff7e0accSmrg 5614ff7e0accSmrgECHO_C= ECHO_N= ECHO_T= 5615ff7e0accSmrgcase `echo -n x` in 5616ff7e0accSmrg-n*) 5617ff7e0accSmrg case `echo 'x\c'` in 5618ff7e0accSmrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5619ff7e0accSmrg *) ECHO_C='\c';; 5620ff7e0accSmrg esac;; 5621ff7e0accSmrg*) 5622ff7e0accSmrg ECHO_N='-n';; 5623ff7e0accSmrgesac 5624ff7e0accSmrgif expr a : '\(a\)' >/dev/null 2>&1 && 5625ff7e0accSmrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 5626ff7e0accSmrg as_expr=expr 5627ff7e0accSmrgelse 5628ff7e0accSmrg as_expr=false 5629ff7e0accSmrgfi 5630ff7e0accSmrg 5631ff7e0accSmrgrm -f conf$$ conf$$.exe conf$$.file 5632ff7e0accSmrgif test -d conf$$.dir; then 5633ff7e0accSmrg rm -f conf$$.dir/conf$$.file 5634ff7e0accSmrgelse 5635ff7e0accSmrg rm -f conf$$.dir 5636a005d216Smrg mkdir conf$$.dir 2>/dev/null 5637a005d216Smrgfi 5638a005d216Smrgif (echo >conf$$.file) 2>/dev/null; then 5639a005d216Smrg if ln -s conf$$.file conf$$ 2>/dev/null; then 5640a005d216Smrg as_ln_s='ln -s' 5641a005d216Smrg # ... but there are two gotchas: 5642a005d216Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5643a005d216Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5644a005d216Smrg # In both cases, we have to default to `cp -p'. 5645a005d216Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5646a005d216Smrg as_ln_s='cp -p' 5647a005d216Smrg elif ln conf$$.file conf$$ 2>/dev/null; then 5648a005d216Smrg as_ln_s=ln 5649a005d216Smrg else 5650ff7e0accSmrg as_ln_s='cp -p' 5651a005d216Smrg fi 5652ff7e0accSmrgelse 5653ff7e0accSmrg as_ln_s='cp -p' 5654ff7e0accSmrgfi 5655ff7e0accSmrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5656ff7e0accSmrgrmdir conf$$.dir 2>/dev/null 5657ff7e0accSmrg 5658ff7e0accSmrgif mkdir -p . 2>/dev/null; then 5659ff7e0accSmrg as_mkdir_p=: 5660ff7e0accSmrgelse 5661ff7e0accSmrg test -d ./-p && rmdir ./-p 5662ff7e0accSmrg as_mkdir_p=false 5663ff7e0accSmrgfi 5664ff7e0accSmrg 5665ff7e0accSmrgif test -x / >/dev/null 2>&1; then 5666ff7e0accSmrg as_test_x='test -x' 5667ff7e0accSmrgelse 5668ff7e0accSmrg if ls -dL / >/dev/null 2>&1; then 5669ff7e0accSmrg as_ls_L_option=L 5670ff7e0accSmrg else 5671ff7e0accSmrg as_ls_L_option= 5672ff7e0accSmrg fi 5673ff7e0accSmrg as_test_x=' 5674ff7e0accSmrg eval sh -c '\'' 5675ff7e0accSmrg if test -d "$1"; then 5676a005d216Smrg test -d "$1/."; 5677ff7e0accSmrg else 5678ff7e0accSmrg case $1 in 5679a005d216Smrg -*)set "./$1";; 5680ff7e0accSmrg esac; 5681ff7e0accSmrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5682ff7e0accSmrg ???[sx]*):;;*)false;;esac;fi 5683ff7e0accSmrg '\'' sh 5684ff7e0accSmrg ' 5685ff7e0accSmrgfi 5686ff7e0accSmrgas_executable_p=$as_test_x 5687ff7e0accSmrg 5688ff7e0accSmrg# Sed expression to map a string onto a valid CPP name. 5689ff7e0accSmrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5690ff7e0accSmrg 5691ff7e0accSmrg# Sed expression to map a string onto a valid variable name. 5692ff7e0accSmrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5693ff7e0accSmrg 5694ff7e0accSmrg 5695ff7e0accSmrgexec 6>&1 5696ff7e0accSmrg 5697ff7e0accSmrg# Save the log message, to keep $[0] and so on meaningful, and to 5698ff7e0accSmrg# report actual input values of CONFIG_FILES etc. instead of their 5699ff7e0accSmrg# values after options handling. 5700ff7e0accSmrgac_log=" 570110998002SmrgThis file was extended by xwininfo $as_me 1.0.5, which was 570210998002Smrggenerated by GNU Autoconf 2.63. Invocation command line was 5703ff7e0accSmrg 5704ff7e0accSmrg CONFIG_FILES = $CONFIG_FILES 5705ff7e0accSmrg CONFIG_HEADERS = $CONFIG_HEADERS 5706ff7e0accSmrg CONFIG_LINKS = $CONFIG_LINKS 5707ff7e0accSmrg CONFIG_COMMANDS = $CONFIG_COMMANDS 5708ff7e0accSmrg $ $0 $@ 5709ff7e0accSmrg 5710ff7e0accSmrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 5711ff7e0accSmrg" 5712ff7e0accSmrg 5713ff7e0accSmrg_ACEOF 5714ff7e0accSmrg 571510998002Smrgcase $ac_config_files in *" 571610998002Smrg"*) set x $ac_config_files; shift; ac_config_files=$*;; 571710998002Smrgesac 571810998002Smrg 571910998002Smrgcase $ac_config_headers in *" 572010998002Smrg"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 572110998002Smrgesac 572210998002Smrg 572310998002Smrg 5724a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5725ff7e0accSmrg# Files that config.status was made for. 5726ff7e0accSmrgconfig_files="$ac_config_files" 5727ff7e0accSmrgconfig_headers="$ac_config_headers" 5728ff7e0accSmrgconfig_commands="$ac_config_commands" 5729ff7e0accSmrg 5730ff7e0accSmrg_ACEOF 5731ff7e0accSmrg 5732a005d216Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5733ff7e0accSmrgac_cs_usage="\ 5734ff7e0accSmrg\`$as_me' instantiates files from templates according to the 5735ff7e0accSmrgcurrent configuration. 5736ff7e0accSmrg 573710998002SmrgUsage: $0 [OPTION]... [FILE]... 5738ff7e0accSmrg 5739ff7e0accSmrg -h, --help print this help, then exit 5740ff7e0accSmrg -V, --version print version number and configuration settings, then exit 574110998002Smrg -q, --quiet, --silent 574210998002Smrg do not print progress messages 5743ff7e0accSmrg -d, --debug don't remove temporary files 5744ff7e0accSmrg --recheck update $as_me by reconfiguring in the same conditions 574510998002Smrg --file=FILE[:TEMPLATE] 5746a005d216Smrg instantiate the configuration file FILE 574710998002Smrg --header=FILE[:TEMPLATE] 5748a005d216Smrg instantiate the configuration header FILE 5749ff7e0accSmrg 5750ff7e0accSmrgConfiguration files: 5751ff7e0accSmrg$config_files 5752ff7e0accSmrg 5753ff7e0accSmrgConfiguration headers: 5754ff7e0accSmrg$config_headers 5755ff7e0accSmrg 5756ff7e0accSmrgConfiguration commands: 5757ff7e0accSmrg$config_commands 5758ff7e0accSmrg 5759ff7e0accSmrgReport bugs to <bug-autoconf@gnu.org>." 5760ff7e0accSmrg 5761ff7e0accSmrg_ACEOF 5762a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5763ff7e0accSmrgac_cs_version="\\ 576410998002Smrgxwininfo config.status 1.0.5 576510998002Smrgconfigured by $0, generated by GNU Autoconf 2.63, 5766a005d216Smrg with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 5767ff7e0accSmrg 5768a005d216SmrgCopyright (C) 2008 Free Software Foundation, Inc. 5769ff7e0accSmrgThis config.status script is free software; the Free Software Foundation 5770ff7e0accSmrggives unlimited permission to copy, distribute and modify it." 5771ff7e0accSmrg 5772ff7e0accSmrgac_pwd='$ac_pwd' 5773ff7e0accSmrgsrcdir='$srcdir' 5774ff7e0accSmrgINSTALL='$INSTALL' 5775ff7e0accSmrgMKDIR_P='$MKDIR_P' 5776a005d216SmrgAWK='$AWK' 5777a005d216Smrgtest -n "\$AWK" || AWK=awk 5778ff7e0accSmrg_ACEOF 5779ff7e0accSmrg 5780a005d216Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5781a005d216Smrg# The default lists apply if the user does not specify any file. 5782ff7e0accSmrgac_need_defaults=: 5783ff7e0accSmrgwhile test $# != 0 5784ff7e0accSmrgdo 5785ff7e0accSmrg case $1 in 5786ff7e0accSmrg --*=*) 5787ff7e0accSmrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 5788ff7e0accSmrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5789ff7e0accSmrg ac_shift=: 5790ff7e0accSmrg ;; 5791ff7e0accSmrg *) 5792ff7e0accSmrg ac_option=$1 5793ff7e0accSmrg ac_optarg=$2 5794ff7e0accSmrg ac_shift=shift 5795ff7e0accSmrg ;; 5796ff7e0accSmrg esac 5797ff7e0accSmrg 5798ff7e0accSmrg case $ac_option in 5799ff7e0accSmrg # Handling of the options. 5800ff7e0accSmrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5801ff7e0accSmrg ac_cs_recheck=: ;; 5802ff7e0accSmrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5803a005d216Smrg $as_echo "$ac_cs_version"; exit ;; 5804ff7e0accSmrg --debug | --debu | --deb | --de | --d | -d ) 5805ff7e0accSmrg debug=: ;; 5806ff7e0accSmrg --file | --fil | --fi | --f ) 5807ff7e0accSmrg $ac_shift 5808a005d216Smrg case $ac_optarg in 5809a005d216Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5810a005d216Smrg esac 5811a005d216Smrg CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" 5812ff7e0accSmrg ac_need_defaults=false;; 5813ff7e0accSmrg --header | --heade | --head | --hea ) 5814ff7e0accSmrg $ac_shift 5815a005d216Smrg case $ac_optarg in 5816a005d216Smrg *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5817a005d216Smrg esac 5818a005d216Smrg CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" 5819ff7e0accSmrg ac_need_defaults=false;; 5820ff7e0accSmrg --he | --h) 5821ff7e0accSmrg # Conflict between --help and --header 5822a005d216Smrg { $as_echo "$as_me: error: ambiguous option: $1 5823ff7e0accSmrgTry \`$0 --help' for more information." >&2 5824ff7e0accSmrg { (exit 1); exit 1; }; };; 5825ff7e0accSmrg --help | --hel | -h ) 5826a005d216Smrg $as_echo "$ac_cs_usage"; exit ;; 5827ff7e0accSmrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5828ff7e0accSmrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 5829ff7e0accSmrg ac_cs_silent=: ;; 5830ff7e0accSmrg 5831ff7e0accSmrg # This is an error. 5832a005d216Smrg -*) { $as_echo "$as_me: error: unrecognized option: $1 5833ff7e0accSmrgTry \`$0 --help' for more information." >&2 5834ff7e0accSmrg { (exit 1); exit 1; }; } ;; 5835ff7e0accSmrg 5836ff7e0accSmrg *) ac_config_targets="$ac_config_targets $1" 5837ff7e0accSmrg ac_need_defaults=false ;; 5838ff7e0accSmrg 5839ff7e0accSmrg esac 5840ff7e0accSmrg shift 5841ff7e0accSmrgdone 5842ff7e0accSmrg 5843ff7e0accSmrgac_configure_extra_args= 5844ff7e0accSmrg 5845ff7e0accSmrgif $ac_cs_silent; then 5846ff7e0accSmrg exec 6>/dev/null 5847ff7e0accSmrg ac_configure_extra_args="$ac_configure_extra_args --silent" 5848ff7e0accSmrgfi 5849ff7e0accSmrg 5850ff7e0accSmrg_ACEOF 5851a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5852ff7e0accSmrgif \$ac_cs_recheck; then 5853a005d216Smrg set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5854a005d216Smrg shift 5855a005d216Smrg \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5856a005d216Smrg CONFIG_SHELL='$SHELL' 5857ff7e0accSmrg export CONFIG_SHELL 5858a005d216Smrg exec "\$@" 5859ff7e0accSmrgfi 5860ff7e0accSmrg 5861ff7e0accSmrg_ACEOF 5862a005d216Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5863ff7e0accSmrgexec 5>>config.log 5864ff7e0accSmrg{ 5865ff7e0accSmrg echo 5866ff7e0accSmrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5867ff7e0accSmrg## Running $as_me. ## 5868ff7e0accSmrg_ASBOX 5869a005d216Smrg $as_echo "$ac_log" 5870ff7e0accSmrg} >&5 5871ff7e0accSmrg 5872ff7e0accSmrg_ACEOF 5873a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5874ff7e0accSmrg# 5875ff7e0accSmrg# INIT-COMMANDS 5876ff7e0accSmrg# 5877ff7e0accSmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5878ff7e0accSmrg 5879ff7e0accSmrg_ACEOF 5880ff7e0accSmrg 5881a005d216Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5882ff7e0accSmrg 5883ff7e0accSmrg# Handling of arguments. 5884ff7e0accSmrgfor ac_config_target in $ac_config_targets 5885ff7e0accSmrgdo 5886ff7e0accSmrg case $ac_config_target in 5887ff7e0accSmrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5888ff7e0accSmrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5889ff7e0accSmrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5890ff7e0accSmrg 5891a005d216Smrg *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5892a005d216Smrg$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5893ff7e0accSmrg { (exit 1); exit 1; }; };; 5894ff7e0accSmrg esac 5895ff7e0accSmrgdone 5896ff7e0accSmrg 5897ff7e0accSmrg 5898ff7e0accSmrg# If the user did not use the arguments to specify the items to instantiate, 5899ff7e0accSmrg# then the envvar interface is used. Set only those that are not. 5900ff7e0accSmrg# We use the long form for the default assignment because of an extremely 5901ff7e0accSmrg# bizarre bug on SunOS 4.1.3. 5902ff7e0accSmrgif $ac_need_defaults; then 5903ff7e0accSmrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5904ff7e0accSmrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5905ff7e0accSmrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5906ff7e0accSmrgfi 5907ff7e0accSmrg 5908ff7e0accSmrg# Have a temporary directory for convenience. Make it in the build tree 5909ff7e0accSmrg# simply because there is no reason against having it here, and in addition, 5910ff7e0accSmrg# creating and moving files from /tmp can sometimes cause problems. 5911ff7e0accSmrg# Hook for its removal unless debugging. 5912ff7e0accSmrg# Note that there is a small window in which the directory will not be cleaned: 5913ff7e0accSmrg# after its creation but before its name has been assigned to `$tmp'. 5914ff7e0accSmrg$debug || 5915ff7e0accSmrg{ 5916ff7e0accSmrg tmp= 5917ff7e0accSmrg trap 'exit_status=$? 5918ff7e0accSmrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 5919ff7e0accSmrg' 0 5920ff7e0accSmrg trap '{ (exit 1); exit 1; }' 1 2 13 15 5921ff7e0accSmrg} 5922ff7e0accSmrg# Create a (secure) tmp directory for tmp files. 5923ff7e0accSmrg 5924ff7e0accSmrg{ 5925ff7e0accSmrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5926ff7e0accSmrg test -n "$tmp" && test -d "$tmp" 5927ff7e0accSmrg} || 5928ff7e0accSmrg{ 5929ff7e0accSmrg tmp=./conf$$-$RANDOM 5930ff7e0accSmrg (umask 077 && mkdir "$tmp") 5931ff7e0accSmrg} || 5932ff7e0accSmrg{ 5933a005d216Smrg $as_echo "$as_me: cannot create a temporary directory in ." >&2 5934ff7e0accSmrg { (exit 1); exit 1; } 5935ff7e0accSmrg} 5936ff7e0accSmrg 5937a005d216Smrg# Set up the scripts for CONFIG_FILES section. 5938a005d216Smrg# No need to generate them if there are no CONFIG_FILES. 5939a005d216Smrg# This happens for instance with `./config.status config.h'. 5940ff7e0accSmrgif test -n "$CONFIG_FILES"; then 5941ff7e0accSmrg 5942ff7e0accSmrg 5943a005d216Smrgac_cr=' 5944a005d216Smrg' 5945a005d216Smrgac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5946a005d216Smrgif test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5947a005d216Smrg ac_cs_awk_cr='\\r' 5948a005d216Smrgelse 5949ff7e0accSmrg ac_cs_awk_cr=$ac_cr 5950ff7e0accSmrgfi 5951a005d216Smrg 5952ff7e0accSmrgecho 'BEGIN {' >"$tmp/subs1.awk" && 5953ff7e0accSmrg_ACEOF 5954ff7e0accSmrg 5955a005d216Smrg 5956a005d216Smrg{ 5957a005d216Smrg echo "cat >conf$$subs.awk <<_ACEOF" && 5958a005d216Smrg echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5959a005d216Smrg echo "_ACEOF" 5960a005d216Smrg} >conf$$subs.sh || 5961a005d216Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5962a005d216Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5963a005d216Smrg { (exit 1); exit 1; }; } 5964ff7e0accSmrgac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 5965ff7e0accSmrgac_delim='%!_!# ' 5966a005d216Smrgfor ac_last_try in false false false false false :; do 5967a005d216Smrg . ./conf$$subs.sh || 5968a005d216Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5969a005d216Smrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5970ff7e0accSmrg { (exit 1); exit 1; }; } 597110998002Smrg 597210998002Smrg ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5973ff7e0accSmrg if test $ac_delim_n = $ac_delim_num; then 5974ff7e0accSmrg break 5975a005d216Smrg elif $ac_last_try; then 5976a005d216Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 5977ff7e0accSmrg$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 5978ff7e0accSmrg { (exit 1); exit 1; }; } 5979ff7e0accSmrg else 5980ff7e0accSmrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5981ff7e0accSmrg fi 5982a005d216Smrgdone 5983ff7e0accSmrgrm -f conf$$subs.sh 5984a005d216Smrg 5985a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5986a005d216Smrgcat >>"\$tmp/subs1.awk" <<\\_ACAWK && 5987a005d216Smrg_ACEOF 5988a005d216Smrgsed -n ' 5989a005d216Smrgh 5990a005d216Smrgs/^/S["/; s/!.*/"]=/ 5991a005d216Smrgp 5992a005d216Smrgg 5993a005d216Smrgs/^[^!]*!// 5994a005d216Smrg:repl 5995a005d216Smrgt repl 5996a005d216Smrgs/'"$ac_delim"'$// 5997a005d216Smrgt delim 5998a005d216Smrg:nl 5999a005d216Smrgh 6000a005d216Smrgs/\(.\{148\}\).*/\1/ 6001a005d216Smrgt more1 6002a005d216Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6003a005d216Smrgp 6004a005d216Smrgn 6005a005d216Smrgb repl 6006a005d216Smrg:more1 6007a005d216Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6008a005d216Smrgp 6009a005d216Smrgg 6010a005d216Smrgs/.\{148\}// 6011a005d216Smrgt nl 6012a005d216Smrg:delim 6013a005d216Smrgh 6014a005d216Smrgs/\(.\{148\}\).*/\1/ 6015a005d216Smrgt more2 6016a005d216Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/ 6017a005d216Smrgp 6018a005d216Smrgb 6019a005d216Smrg:more2 6020a005d216Smrgs/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6021a005d216Smrgp 6022a005d216Smrgg 6023a005d216Smrgs/.\{148\}// 6024a005d216Smrgt delim 6025a005d216Smrg' <conf$$subs.awk | sed ' 6026a005d216Smrg/^[^""]/{ 6027a005d216Smrg N 6028a005d216Smrg s/\n// 6029a005d216Smrg} 6030a005d216Smrg' >>$CONFIG_STATUS || ac_write_fail=1 6031a005d216Smrgrm -f conf$$subs.awk 6032a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6033a005d216Smrg_ACAWK 6034a005d216Smrgcat >>"\$tmp/subs1.awk" <<_ACAWK && 6035a005d216Smrg for (key in S) S_is_set[key] = 1 6036a005d216Smrg FS = "" 6037a005d216Smrg 6038a005d216Smrg} 6039a005d216Smrg{ 6040a005d216Smrg line = $ 0 6041a005d216Smrg nfields = split(line, field, "@") 6042a005d216Smrg substed = 0 6043a005d216Smrg len = length(field[1]) 6044a005d216Smrg for (i = 2; i < nfields; i++) { 6045a005d216Smrg key = field[i] 6046a005d216Smrg keylen = length(key) 6047a005d216Smrg if (S_is_set[key]) { 6048a005d216Smrg value = S[key] 6049a005d216Smrg line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6050a005d216Smrg len += length(value) + length(field[++i]) 6051a005d216Smrg substed = 1 6052a005d216Smrg } else 6053a005d216Smrg len += 1 + keylen 6054a005d216Smrg } 6055a005d216Smrg 6056a005d216Smrg print line 6057ff7e0accSmrg} 6058a005d216Smrg 6059ff7e0accSmrg_ACAWK 6060a005d216Smrg_ACEOF 6061a005d216Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6062a005d216Smrgif sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6063a005d216Smrg sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6064a005d216Smrgelse 6065a005d216Smrg cat 6066a005d216Smrgfi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6067a005d216Smrg || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 6068a005d216Smrg$as_echo "$as_me: error: could not setup config files machinery" >&2;} 6069ff7e0accSmrg { (exit 1); exit 1; }; } 6070ff7e0accSmrg_ACEOF 6071ff7e0accSmrg 6072ff7e0accSmrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 6073ff7e0accSmrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6074ff7e0accSmrg# trailing colons and then remove the whole line if VPATH becomes empty 6075ff7e0accSmrg# (actually we leave an empty line to preserve line numbers). 6076ff7e0accSmrgif test "x$srcdir" = x.; then 6077ff7e0accSmrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6078ff7e0accSmrgs/:*\$(srcdir):*/:/ 6079ff7e0accSmrgs/:*\${srcdir}:*/:/ 6080ff7e0accSmrgs/:*@srcdir@:*/:/ 6081ff7e0accSmrgs/^\([^=]*=[ ]*\):*/\1/ 6082ff7e0accSmrgs/:*$// 6083ff7e0accSmrgs/^[^=]*=[ ]*$// 6084ff7e0accSmrg}' 6085ff7e0accSmrgfi 6086a005d216Smrg 6087ff7e0accSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6088ff7e0accSmrgfi # test -n "$CONFIG_FILES" 6089a005d216Smrg 6090a005d216Smrg# Set up the scripts for CONFIG_HEADERS section. 6091a005d216Smrg# No need to generate them if there are no CONFIG_HEADERS. 6092a005d216Smrg# This happens for instance with `./config.status Makefile'. 6093a005d216Smrgif test -n "$CONFIG_HEADERS"; then 6094a005d216Smrgcat >"$tmp/defines.awk" <<\_ACAWK || 6095a005d216SmrgBEGIN { 6096a005d216Smrg_ACEOF 6097a005d216Smrg 6098a005d216Smrg# Transform confdefs.h into an awk script `defines.awk', embedded as 6099a005d216Smrg# here-document in config.status, that substitutes the proper values into 6100ff7e0accSmrg# config.h.in to produce config.h. 6101a005d216Smrg 6102a005d216Smrg# Create a delimiter string that does not exist in confdefs.h, to ease 6103a005d216Smrg# handling of long lines. 6104a005d216Smrgac_delim='%!_!# ' 6105a005d216Smrgfor ac_last_try in false false :; do 6106a005d216Smrg ac_t=`sed -n "/$ac_delim/p" confdefs.h` 6107a005d216Smrg if test -z "$ac_t"; then 6108a005d216Smrg break 6109a005d216Smrg elif $ac_last_try; then 6110a005d216Smrg { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 6111a005d216Smrg$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 6112a005d216Smrg { (exit 1); exit 1; }; } 6113a005d216Smrg else 6114a005d216Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6115a005d216Smrg fi 6116a005d216Smrgdone 6117a005d216Smrg 6118a005d216Smrg# For the awk script, D is an array of macro values keyed by name, 6119a005d216Smrg# likewise P contains macro parameters if any. Preserve backslash 6120a005d216Smrg# newline sequences. 6121a005d216Smrg 6122a005d216Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6123a005d216Smrgsed -n ' 6124a005d216Smrgs/.\{148\}/&'"$ac_delim"'/g 6125a005d216Smrgt rset 6126a005d216Smrg:rset 6127a005d216Smrgs/^[ ]*#[ ]*define[ ][ ]*/ / 6128a005d216Smrgt def 6129a005d216Smrgd 6130a005d216Smrg:def 6131a005d216Smrgs/\\$// 6132a005d216Smrgt bsnl 6133a005d216Smrgs/["\\]/\\&/g 6134a005d216Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6135a005d216SmrgD["\1"]=" \3"/p 6136a005d216Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 6137a005d216Smrgd 6138a005d216Smrg:bsnl 6139a005d216Smrgs/["\\]/\\&/g 6140a005d216Smrgs/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6141a005d216SmrgD["\1"]=" \3\\\\\\n"\\/p 6142a005d216Smrgt cont 6143a005d216Smrgs/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 6144a005d216Smrgt cont 6145a005d216Smrgd 6146a005d216Smrg:cont 6147a005d216Smrgn 6148a005d216Smrgs/.\{148\}/&'"$ac_delim"'/g 6149a005d216Smrgt clear 6150a005d216Smrg:clear 6151a005d216Smrgs/\\$// 6152a005d216Smrgt bsnlc 6153a005d216Smrgs/["\\]/\\&/g; s/^/"/; s/$/"/p 6154a005d216Smrgd 6155a005d216Smrg:bsnlc 6156a005d216Smrgs/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6157a005d216Smrgb cont 6158a005d216Smrg' <confdefs.h | sed ' 6159a005d216Smrgs/'"$ac_delim"'/"\\\ 6160a005d216Smrg"/g' >>$CONFIG_STATUS || ac_write_fail=1 6161a005d216Smrg 6162a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6163a005d216Smrg for (key in D) D_is_set[key] = 1 6164a005d216Smrg FS = "" 6165a005d216Smrg} 6166a005d216Smrg/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6167a005d216Smrg line = \$ 0 6168a005d216Smrg split(line, arg, " ") 6169a005d216Smrg if (arg[1] == "#") { 6170a005d216Smrg defundef = arg[2] 6171a005d216Smrg mac1 = arg[3] 6172a005d216Smrg } else { 6173a005d216Smrg defundef = substr(arg[1], 2) 6174a005d216Smrg mac1 = arg[2] 6175a005d216Smrg } 6176a005d216Smrg split(mac1, mac2, "(") #) 617710998002Smrg macro = mac2[1] 6178a005d216Smrg prefix = substr(line, 1, index(line, defundef) - 1) 6179a005d216Smrg if (D_is_set[macro]) { 6180a005d216Smrg # Preserve the white space surrounding the "#". 6181a005d216Smrg print prefix "define", macro P[macro] D[macro] 6182a005d216Smrg next 6183a005d216Smrg } else { 6184a005d216Smrg # Replace #undef with comments. This is necessary, for example, 6185a005d216Smrg # in the case of _POSIX_SOURCE, which is predefined and required 6186a005d216Smrg # on some systems where configure will not decide to define it. 618710998002Smrg if (defundef == "undef") { 6188a005d216Smrg print "/*", prefix defundef, macro, "*/" 6189a005d216Smrg next 6190a005d216Smrg } 6191a005d216Smrg } 6192a005d216Smrg} 6193a005d216Smrg{ print } 6194a005d216Smrg_ACAWK 6195a005d216Smrg_ACEOF 6196a005d216Smrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6197a005d216Smrg { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 6198a005d216Smrg$as_echo "$as_me: error: could not setup config headers machinery" >&2;} 6199a005d216Smrg { (exit 1); exit 1; }; } 6200a005d216Smrgfi # test -n "$CONFIG_HEADERS" 6201a005d216Smrg 6202a005d216Smrg 6203a005d216Smrgeval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 6204a005d216Smrgshift 6205ff7e0accSmrgfor ac_tag 6206ff7e0accSmrgdo 6207ff7e0accSmrg case $ac_tag in 6208ff7e0accSmrg :[FHLC]) ac_mode=$ac_tag; continue;; 6209ff7e0accSmrg esac 6210ff7e0accSmrg case $ac_mode$ac_tag in 621110998002Smrg :[FHL]*:*);; 621210998002Smrg :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 6213ff7e0accSmrg$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} 6214ff7e0accSmrg { (exit 1); exit 1; }; };; 6215ff7e0accSmrg :[FH]-) ac_tag=-:-;; 6216ff7e0accSmrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6217ff7e0accSmrg esac 6218ff7e0accSmrg ac_save_IFS=$IFS 6219ff7e0accSmrg IFS=: 6220ff7e0accSmrg set x $ac_tag 6221ff7e0accSmrg IFS=$ac_save_IFS 6222ff7e0accSmrg shift 6223ff7e0accSmrg ac_file=$1 6224ff7e0accSmrg shift 6225ff7e0accSmrg 6226ff7e0accSmrg case $ac_mode in 6227ff7e0accSmrg :L) ac_source=$1;; 6228ff7e0accSmrg :[FH]) 6229ff7e0accSmrg ac_file_inputs= 6230ff7e0accSmrg for ac_f 6231ff7e0accSmrg do 6232ff7e0accSmrg case $ac_f in 6233ff7e0accSmrg -) ac_f="$tmp/stdin";; 6234ff7e0accSmrg *) # Look for the file first in the build tree, then in the source tree 6235ff7e0accSmrg # (if the path is not absolute). The absolute path cannot be DOS-style, 6236ff7e0accSmrg # because $ac_f cannot contain `:'. 6237ff7e0accSmrg test -f "$ac_f" || 6238ff7e0accSmrg case $ac_f in 6239ff7e0accSmrg [\\/$]*) false;; 6240ff7e0accSmrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6241a005d216Smrg esac || 6242a005d216Smrg { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 6243ff7e0accSmrg$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 6244ff7e0accSmrg { (exit 1); exit 1; }; };; 6245a005d216Smrg esac 6246a005d216Smrg case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6247ff7e0accSmrg ac_file_inputs="$ac_file_inputs '$ac_f'" 6248ff7e0accSmrg done 6249ff7e0accSmrg 6250ff7e0accSmrg # Let's still pretend it is `configure' which instantiates (i.e., don't 6251ff7e0accSmrg # use $as_me), people would be surprised to read: 6252a005d216Smrg # /* config.h. Generated by config.status. */ 6253a005d216Smrg configure_input='Generated from '` 6254a005d216Smrg $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6255ff7e0accSmrg `' by configure.' 6256ff7e0accSmrg if test x"$ac_file" != x-; then 6257a005d216Smrg configure_input="$ac_file. $configure_input" 6258a005d216Smrg { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 6259ff7e0accSmrg$as_echo "$as_me: creating $ac_file" >&6;} 6260a005d216Smrg fi 6261a005d216Smrg # Neutralize special characters interpreted by sed in replacement strings. 6262a005d216Smrg case $configure_input in #( 6263a005d216Smrg *\&* | *\|* | *\\* ) 6264a005d216Smrg ac_sed_conf_input=`$as_echo "$configure_input" | 6265a005d216Smrg sed 's/[\\\\&|]/\\\\&/g'`;; #( 6266a005d216Smrg *) ac_sed_conf_input=$configure_input;; 6267ff7e0accSmrg esac 6268ff7e0accSmrg 6269a005d216Smrg case $ac_tag in 6270a005d216Smrg *:-:* | *:-) cat >"$tmp/stdin" \ 6271a005d216Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6272a005d216Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6273ff7e0accSmrg { (exit 1); exit 1; }; } ;; 6274ff7e0accSmrg esac 6275ff7e0accSmrg ;; 6276ff7e0accSmrg esac 6277ff7e0accSmrg 6278ff7e0accSmrg ac_dir=`$as_dirname -- "$ac_file" || 6279ff7e0accSmrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6280ff7e0accSmrg X"$ac_file" : 'X\(//\)[^/]' \| \ 6281ff7e0accSmrg X"$ac_file" : 'X\(//\)$' \| \ 6282a005d216Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6283ff7e0accSmrg$as_echo X"$ac_file" | 6284ff7e0accSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6285ff7e0accSmrg s//\1/ 6286ff7e0accSmrg q 6287ff7e0accSmrg } 6288ff7e0accSmrg /^X\(\/\/\)[^/].*/{ 6289ff7e0accSmrg s//\1/ 6290ff7e0accSmrg q 6291ff7e0accSmrg } 6292ff7e0accSmrg /^X\(\/\/\)$/{ 6293ff7e0accSmrg s//\1/ 6294ff7e0accSmrg q 6295ff7e0accSmrg } 6296ff7e0accSmrg /^X\(\/\).*/{ 6297ff7e0accSmrg s//\1/ 6298ff7e0accSmrg q 6299ff7e0accSmrg } 6300ff7e0accSmrg s/.*/./; q'` 6301ff7e0accSmrg { as_dir="$ac_dir" 6302ff7e0accSmrg case $as_dir in #( 6303ff7e0accSmrg -*) as_dir=./$as_dir;; 6304ff7e0accSmrg esac 6305ff7e0accSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6306ff7e0accSmrg as_dirs= 6307ff7e0accSmrg while :; do 6308a005d216Smrg case $as_dir in #( 6309ff7e0accSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6310ff7e0accSmrg *) as_qdir=$as_dir;; 6311ff7e0accSmrg esac 6312ff7e0accSmrg as_dirs="'$as_qdir' $as_dirs" 6313ff7e0accSmrg as_dir=`$as_dirname -- "$as_dir" || 6314ff7e0accSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6315ff7e0accSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 6316ff7e0accSmrg X"$as_dir" : 'X\(//\)$' \| \ 6317a005d216Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6318ff7e0accSmrg$as_echo X"$as_dir" | 6319ff7e0accSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6320ff7e0accSmrg s//\1/ 6321ff7e0accSmrg q 6322ff7e0accSmrg } 6323ff7e0accSmrg /^X\(\/\/\)[^/].*/{ 6324ff7e0accSmrg s//\1/ 6325ff7e0accSmrg q 6326ff7e0accSmrg } 6327ff7e0accSmrg /^X\(\/\/\)$/{ 6328ff7e0accSmrg s//\1/ 6329ff7e0accSmrg q 6330ff7e0accSmrg } 6331ff7e0accSmrg /^X\(\/\).*/{ 6332ff7e0accSmrg s//\1/ 6333ff7e0accSmrg q 6334ff7e0accSmrg } 6335ff7e0accSmrg s/.*/./; q'` 6336ff7e0accSmrg test -d "$as_dir" && break 6337ff7e0accSmrg done 6338a005d216Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 6339a005d216Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6340ff7e0accSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 6341ff7e0accSmrg { (exit 1); exit 1; }; }; } 6342ff7e0accSmrg ac_builddir=. 6343ff7e0accSmrg 6344ff7e0accSmrgcase "$ac_dir" in 6345ff7e0accSmrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6346a005d216Smrg*) 6347ff7e0accSmrg ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6348a005d216Smrg # A ".." for each directory in $ac_dir_suffix. 6349ff7e0accSmrg ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6350ff7e0accSmrg case $ac_top_builddir_sub in 6351ff7e0accSmrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6352ff7e0accSmrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6353ff7e0accSmrg esac ;; 6354ff7e0accSmrgesac 6355ff7e0accSmrgac_abs_top_builddir=$ac_pwd 6356ff7e0accSmrgac_abs_builddir=$ac_pwd$ac_dir_suffix 6357ff7e0accSmrg# for backward compatibility: 6358ff7e0accSmrgac_top_builddir=$ac_top_build_prefix 6359ff7e0accSmrg 6360ff7e0accSmrgcase $srcdir in 6361ff7e0accSmrg .) # We are building in place. 6362ff7e0accSmrg ac_srcdir=. 6363ff7e0accSmrg ac_top_srcdir=$ac_top_builddir_sub 6364ff7e0accSmrg ac_abs_top_srcdir=$ac_pwd ;; 6365ff7e0accSmrg [\\/]* | ?:[\\/]* ) # Absolute name. 6366ff7e0accSmrg ac_srcdir=$srcdir$ac_dir_suffix; 6367ff7e0accSmrg ac_top_srcdir=$srcdir 6368ff7e0accSmrg ac_abs_top_srcdir=$srcdir ;; 6369ff7e0accSmrg *) # Relative name. 6370ff7e0accSmrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6371ff7e0accSmrg ac_top_srcdir=$ac_top_build_prefix$srcdir 6372ff7e0accSmrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6373ff7e0accSmrgesac 6374ff7e0accSmrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6375ff7e0accSmrg 6376ff7e0accSmrg 6377ff7e0accSmrg case $ac_mode in 6378ff7e0accSmrg :F) 6379ff7e0accSmrg # 6380ff7e0accSmrg # CONFIG_FILE 6381ff7e0accSmrg # 6382ff7e0accSmrg 6383ff7e0accSmrg case $INSTALL in 6384ff7e0accSmrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6385ff7e0accSmrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6386ff7e0accSmrg esac 6387ff7e0accSmrg ac_MKDIR_P=$MKDIR_P 6388ff7e0accSmrg case $MKDIR_P in 6389ff7e0accSmrg [\\/$]* | ?:[\\/]* ) ;; 6390ff7e0accSmrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6391ff7e0accSmrg esac 6392ff7e0accSmrg_ACEOF 6393a005d216Smrg 6394ff7e0accSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6395ff7e0accSmrg# If the template does not know about datarootdir, expand it. 6396ff7e0accSmrg# FIXME: This hack should be removed a few years after 2.60. 6397ff7e0accSmrgac_datarootdir_hack=; ac_datarootdir_seen= 6398a005d216Smrg 6399a005d216Smrgac_sed_dataroot=' 6400ff7e0accSmrg/datarootdir/ { 6401ff7e0accSmrg p 6402ff7e0accSmrg q 6403ff7e0accSmrg} 6404ff7e0accSmrg/@datadir@/p 6405ff7e0accSmrg/@docdir@/p 6406ff7e0accSmrg/@infodir@/p 6407ff7e0accSmrg/@localedir@/p 6408a005d216Smrg/@mandir@/p 6409a005d216Smrg' 6410ff7e0accSmrgcase `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6411ff7e0accSmrg*datarootdir*) ac_datarootdir_seen=yes;; 6412a005d216Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6413a005d216Smrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6414ff7e0accSmrg$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6415a005d216Smrg_ACEOF 6416ff7e0accSmrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6417ff7e0accSmrg ac_datarootdir_hack=' 6418ff7e0accSmrg s&@datadir@&$datadir&g 6419ff7e0accSmrg s&@docdir@&$docdir&g 6420ff7e0accSmrg s&@infodir@&$infodir&g 6421ff7e0accSmrg s&@localedir@&$localedir&g 6422ff7e0accSmrg s&@mandir@&$mandir&g 6423ff7e0accSmrg s&\\\${datarootdir}&$datarootdir&g' ;; 6424ff7e0accSmrgesac 6425ff7e0accSmrg_ACEOF 6426ff7e0accSmrg 6427ff7e0accSmrg# Neutralize VPATH when `$srcdir' = `.'. 6428ff7e0accSmrg# Shell code in configure.ac might set extrasub. 6429a005d216Smrg# FIXME: do we really want to maintain this feature? 6430a005d216Smrgcat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6431ff7e0accSmrgac_sed_extra="$ac_vpsub 6432ff7e0accSmrg$extrasub 6433a005d216Smrg_ACEOF 6434ff7e0accSmrgcat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6435ff7e0accSmrg:t 6436a005d216Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6437ff7e0accSmrgs|@configure_input@|$ac_sed_conf_input|;t t 6438a005d216Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 6439ff7e0accSmrgs&@top_build_prefix@&$ac_top_build_prefix&;t t 6440ff7e0accSmrgs&@srcdir@&$ac_srcdir&;t t 6441ff7e0accSmrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 6442ff7e0accSmrgs&@top_srcdir@&$ac_top_srcdir&;t t 6443ff7e0accSmrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6444ff7e0accSmrgs&@builddir@&$ac_builddir&;t t 6445ff7e0accSmrgs&@abs_builddir@&$ac_abs_builddir&;t t 6446ff7e0accSmrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6447ff7e0accSmrgs&@INSTALL@&$ac_INSTALL&;t t 6448ff7e0accSmrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 6449a005d216Smrg$ac_datarootdir_hack 6450a005d216Smrg" 6451a005d216Smrgeval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 6452a005d216Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6453a005d216Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6454ff7e0accSmrg { (exit 1); exit 1; }; } 6455ff7e0accSmrg 6456ff7e0accSmrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6457ff7e0accSmrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6458a005d216Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6459ff7e0accSmrg { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6460a005d216Smrgwhich seems to be undefined. Please make sure it is defined." >&5 6461ff7e0accSmrg$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6462ff7e0accSmrgwhich seems to be undefined. Please make sure it is defined." >&2;} 6463ff7e0accSmrg 6464ff7e0accSmrg rm -f "$tmp/stdin" 6465a005d216Smrg case $ac_file in 6466a005d216Smrg -) cat "$tmp/out" && rm -f "$tmp/out";; 6467a005d216Smrg *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 6468a005d216Smrg esac \ 6469a005d216Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6470a005d216Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6471ff7e0accSmrg { (exit 1); exit 1; }; } 6472ff7e0accSmrg ;; 6473ff7e0accSmrg :H) 6474ff7e0accSmrg # 6475ff7e0accSmrg # CONFIG_HEADER 6476ff7e0accSmrg # 6477a005d216Smrg if test x"$ac_file" != x-; then 6478a005d216Smrg { 6479a005d216Smrg $as_echo "/* $configure_input */" \ 6480a005d216Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 6481a005d216Smrg } >"$tmp/config.h" \ 6482a005d216Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6483a005d216Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6484a005d216Smrg { (exit 1); exit 1; }; } 6485a005d216Smrg if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 6486a005d216Smrg { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6487ff7e0accSmrg$as_echo "$as_me: $ac_file is unchanged" >&6;} 6488a005d216Smrg else 6489a005d216Smrg rm -f "$ac_file" 6490a005d216Smrg mv "$tmp/config.h" "$ac_file" \ 6491a005d216Smrg || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 6492a005d216Smrg$as_echo "$as_me: error: could not create $ac_file" >&2;} 6493ff7e0accSmrg { (exit 1); exit 1; }; } 6494ff7e0accSmrg fi 6495a005d216Smrg else 6496a005d216Smrg $as_echo "/* $configure_input */" \ 6497a005d216Smrg && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 6498a005d216Smrg || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 6499a005d216Smrg$as_echo "$as_me: error: could not create -" >&2;} 6500ff7e0accSmrg { (exit 1); exit 1; }; } 6501a005d216Smrg fi 6502a005d216Smrg# Compute "$ac_file"'s index in $config_headers. 6503ff7e0accSmrg_am_arg="$ac_file" 6504ff7e0accSmrg_am_stamp_count=1 6505ff7e0accSmrgfor _am_header in $config_headers :; do 6506a005d216Smrg case $_am_header in 6507ff7e0accSmrg $_am_arg | $_am_arg:* ) 6508ff7e0accSmrg break ;; 6509ff7e0accSmrg * ) 6510ff7e0accSmrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6511ff7e0accSmrg esac 6512a005d216Smrgdone 6513a005d216Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6514a005d216Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6515a005d216Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 6516a005d216Smrg X"$_am_arg" : 'X\(//\)$' \| \ 6517a005d216Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6518ff7e0accSmrg$as_echo X"$_am_arg" | 6519ff7e0accSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6520ff7e0accSmrg s//\1/ 6521ff7e0accSmrg q 6522ff7e0accSmrg } 6523ff7e0accSmrg /^X\(\/\/\)[^/].*/{ 6524ff7e0accSmrg s//\1/ 6525ff7e0accSmrg q 6526ff7e0accSmrg } 6527ff7e0accSmrg /^X\(\/\/\)$/{ 6528ff7e0accSmrg s//\1/ 6529ff7e0accSmrg q 6530ff7e0accSmrg } 6531ff7e0accSmrg /^X\(\/\).*/{ 6532ff7e0accSmrg s//\1/ 6533ff7e0accSmrg q 6534ff7e0accSmrg } 6535ff7e0accSmrg s/.*/./; q'`/stamp-h$_am_stamp_count 6536ff7e0accSmrg ;; 6537a005d216Smrg 6538a005d216Smrg :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 6539ff7e0accSmrg$as_echo "$as_me: executing $ac_file commands" >&6;} 6540ff7e0accSmrg ;; 6541ff7e0accSmrg esac 6542ff7e0accSmrg 6543ff7e0accSmrg 654410998002Smrg case $ac_file$ac_mode in 654510998002Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 654610998002Smrg # Autoconf 2.62 quotes --file arguments for eval, but not when files 654710998002Smrg # are listed without --file. Let's play safe and only enable the eval 654810998002Smrg # if we detect the quoting. 654910998002Smrg case $CONFIG_FILES in 655010998002Smrg *\'*) eval set x "$CONFIG_FILES" ;; 655110998002Smrg *) set x $CONFIG_FILES ;; 655210998002Smrg esac 655310998002Smrg shift 655410998002Smrg for mf 655510998002Smrg do 655610998002Smrg # Strip MF so we end up with the name of the file. 655710998002Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 655810998002Smrg # Check whether this is an Automake generated Makefile or not. 655910998002Smrg # We used to match only the files named `Makefile.in', but 656010998002Smrg # some people rename them; so instead we look at the file content. 656110998002Smrg # Grep'ing the first line is not enough: some people post-process 656210998002Smrg # each Makefile.in and add a new line on top of each file to say so. 656310998002Smrg # Grep'ing the whole file is not good either: AIX grep has a line 656410998002Smrg # limit of 2048, but all sed's we know have understand at least 4000. 656510998002Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6566ff7e0accSmrg dirpart=`$as_dirname -- "$mf" || 6567ff7e0accSmrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6568ff7e0accSmrg X"$mf" : 'X\(//\)[^/]' \| \ 6569ff7e0accSmrg X"$mf" : 'X\(//\)$' \| \ 6570a005d216Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6571ff7e0accSmrg$as_echo X"$mf" | 6572ff7e0accSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6573ff7e0accSmrg s//\1/ 6574ff7e0accSmrg q 6575ff7e0accSmrg } 6576ff7e0accSmrg /^X\(\/\/\)[^/].*/{ 6577ff7e0accSmrg s//\1/ 6578ff7e0accSmrg q 6579ff7e0accSmrg } 6580ff7e0accSmrg /^X\(\/\/\)$/{ 6581ff7e0accSmrg s//\1/ 6582ff7e0accSmrg q 6583ff7e0accSmrg } 6584ff7e0accSmrg /^X\(\/\).*/{ 6585ff7e0accSmrg s//\1/ 6586ff7e0accSmrg q 6587ff7e0accSmrg } 658810998002Smrg s/.*/./; q'` 658910998002Smrg else 659010998002Smrg continue 659110998002Smrg fi 659210998002Smrg # Extract the definition of DEPDIR, am__include, and am__quote 659310998002Smrg # from the Makefile without running `make'. 659410998002Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 659510998002Smrg test -z "$DEPDIR" && continue 659610998002Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 659710998002Smrg test -z "am__include" && continue 659810998002Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 659910998002Smrg # When using ansi2knr, U may be empty or an underscore; expand it 660010998002Smrg U=`sed -n 's/^U = //p' < "$mf"` 660110998002Smrg # Find all dependency output files, they are included files with 660210998002Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 660310998002Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 660410998002Smrg # expansion. 660510998002Smrg for file in `sed -n " 660610998002Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 660710998002Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 660810998002Smrg # Make sure the directory exists. 660910998002Smrg test -f "$dirpart/$file" && continue 6610ff7e0accSmrg fdir=`$as_dirname -- "$file" || 6611ff7e0accSmrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6612ff7e0accSmrg X"$file" : 'X\(//\)[^/]' \| \ 6613ff7e0accSmrg X"$file" : 'X\(//\)$' \| \ 6614a005d216Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 6615ff7e0accSmrg$as_echo X"$file" | 6616ff7e0accSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6617ff7e0accSmrg s//\1/ 6618ff7e0accSmrg q 6619ff7e0accSmrg } 6620ff7e0accSmrg /^X\(\/\/\)[^/].*/{ 6621ff7e0accSmrg s//\1/ 6622ff7e0accSmrg q 6623ff7e0accSmrg } 6624ff7e0accSmrg /^X\(\/\/\)$/{ 6625ff7e0accSmrg s//\1/ 6626ff7e0accSmrg q 6627ff7e0accSmrg } 6628ff7e0accSmrg /^X\(\/\).*/{ 6629ff7e0accSmrg s//\1/ 6630ff7e0accSmrg q 6631ff7e0accSmrg } 663210998002Smrg s/.*/./; q'` 6633ff7e0accSmrg { as_dir=$dirpart/$fdir 6634ff7e0accSmrg case $as_dir in #( 6635ff7e0accSmrg -*) as_dir=./$as_dir;; 6636ff7e0accSmrg esac 6637ff7e0accSmrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 6638ff7e0accSmrg as_dirs= 6639ff7e0accSmrg while :; do 6640a005d216Smrg case $as_dir in #( 6641ff7e0accSmrg *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6642ff7e0accSmrg *) as_qdir=$as_dir;; 6643ff7e0accSmrg esac 6644ff7e0accSmrg as_dirs="'$as_qdir' $as_dirs" 6645ff7e0accSmrg as_dir=`$as_dirname -- "$as_dir" || 6646ff7e0accSmrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6647ff7e0accSmrg X"$as_dir" : 'X\(//\)[^/]' \| \ 6648ff7e0accSmrg X"$as_dir" : 'X\(//\)$' \| \ 6649a005d216Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6650ff7e0accSmrg$as_echo X"$as_dir" | 6651ff7e0accSmrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6652ff7e0accSmrg s//\1/ 6653ff7e0accSmrg q 6654ff7e0accSmrg } 6655ff7e0accSmrg /^X\(\/\/\)[^/].*/{ 6656ff7e0accSmrg s//\1/ 6657ff7e0accSmrg q 6658ff7e0accSmrg } 6659ff7e0accSmrg /^X\(\/\/\)$/{ 6660ff7e0accSmrg s//\1/ 6661ff7e0accSmrg q 6662ff7e0accSmrg } 6663ff7e0accSmrg /^X\(\/\).*/{ 6664ff7e0accSmrg s//\1/ 6665ff7e0accSmrg q 6666ff7e0accSmrg } 6667ff7e0accSmrg s/.*/./; q'` 6668ff7e0accSmrg test -d "$as_dir" && break 6669ff7e0accSmrg done 6670a005d216Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 6671a005d216Smrg } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 6672ff7e0accSmrg$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 667310998002Smrg { (exit 1); exit 1; }; }; } 667410998002Smrg # echo "creating $dirpart/$file" 667510998002Smrg echo '# dummy' > "$dirpart/$file" 6676ff7e0accSmrg done 667710998002Smrg done 6678ff7e0accSmrg} 6679ff7e0accSmrg ;; 6680ff7e0accSmrg 6681ff7e0accSmrg esac 6682ff7e0accSmrgdone # for ac_tag 6683ff7e0accSmrg 6684ff7e0accSmrg 6685ff7e0accSmrg{ (exit 0); exit 0; } 6686ff7e0accSmrg_ACEOF 6687ff7e0accSmrgchmod +x $CONFIG_STATUS 6688ff7e0accSmrgac_clean_files=$ac_clean_files_save 6689a005d216Smrg 6690a005d216Smrgtest $ac_write_fail = 0 || 6691a005d216Smrg { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 6692a005d216Smrg$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 6693a005d216Smrg { (exit 1); exit 1; }; } 6694ff7e0accSmrg 6695ff7e0accSmrg 6696ff7e0accSmrg# configure is writing to config.log, and then calls config.status. 6697ff7e0accSmrg# config.status does its own redirection, appending to config.log. 6698ff7e0accSmrg# Unfortunately, on DOS this fails, as config.log is still kept open 6699ff7e0accSmrg# by configure, so config.status won't be able to write to it; its 6700ff7e0accSmrg# output is simply discarded. So we exec the FD to /dev/null, 6701ff7e0accSmrg# effectively closing config.log, so it can be properly (re)opened and 6702ff7e0accSmrg# appended to by config.status. When coming back to configure, we 6703ff7e0accSmrg# need to make the FD available again. 6704ff7e0accSmrgif test "$no_create" != yes; then 6705ff7e0accSmrg ac_cs_success=: 6706ff7e0accSmrg ac_config_status_args= 6707ff7e0accSmrg test "$silent" = yes && 6708ff7e0accSmrg ac_config_status_args="$ac_config_status_args --quiet" 6709ff7e0accSmrg exec 5>/dev/null 6710ff7e0accSmrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6711ff7e0accSmrg exec 5>>config.log 6712ff7e0accSmrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6713ff7e0accSmrg # would make configure fail if this is the last instruction. 6714ff7e0accSmrg $ac_cs_success || { (exit 1); exit 1; } 6715a005d216Smrgfi 671610998002Smrgif test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 671710998002Smrg { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6718a005d216Smrg$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6719ff7e0accSmrgfi 6720 6721