configure revision 7a0395d0
17a0395d0Smrg#! /bin/sh 27a0395d0Smrg# Guess values for system-dependent variables and create Makefiles. 37a0395d0Smrg# Generated by GNU Autoconf 2.61 for xauth 1.0.3. 47a0395d0Smrg# 57a0395d0Smrg# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 67a0395d0Smrg# 77a0395d0Smrg# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 87a0395d0Smrg# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 97a0395d0Smrg# This configure script is free software; the Free Software Foundation 107a0395d0Smrg# gives unlimited permission to copy, distribute and modify it. 117a0395d0Smrg## --------------------- ## 127a0395d0Smrg## M4sh Initialization. ## 137a0395d0Smrg## --------------------- ## 147a0395d0Smrg 157a0395d0Smrg# Be more Bourne compatible 167a0395d0SmrgDUALCASE=1; export DUALCASE # for MKS sh 177a0395d0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 187a0395d0Smrg emulate sh 197a0395d0Smrg NULLCMD=: 207a0395d0Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 217a0395d0Smrg # is contrary to our usage. Disable this feature. 227a0395d0Smrg alias -g '${1+"$@"}'='"$@"' 237a0395d0Smrg setopt NO_GLOB_SUBST 247a0395d0Smrgelse 257a0395d0Smrg case `(set -o) 2>/dev/null` in 267a0395d0Smrg *posix*) set -o posix ;; 277a0395d0Smrgesac 287a0395d0Smrg 297a0395d0Smrgfi 307a0395d0Smrg 317a0395d0Smrg 327a0395d0Smrg 337a0395d0Smrg 347a0395d0Smrg# PATH needs CR 357a0395d0Smrg# Avoid depending upon Character Ranges. 367a0395d0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 377a0395d0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 387a0395d0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 397a0395d0Smrgas_cr_digits='0123456789' 407a0395d0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 417a0395d0Smrg 427a0395d0Smrg# The user is always right. 437a0395d0Smrgif test "${PATH_SEPARATOR+set}" != set; then 447a0395d0Smrg echo "#! /bin/sh" >conf$$.sh 457a0395d0Smrg echo "exit 0" >>conf$$.sh 467a0395d0Smrg chmod +x conf$$.sh 477a0395d0Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 487a0395d0Smrg PATH_SEPARATOR=';' 497a0395d0Smrg else 507a0395d0Smrg PATH_SEPARATOR=: 517a0395d0Smrg fi 527a0395d0Smrg rm -f conf$$.sh 537a0395d0Smrgfi 547a0395d0Smrg 557a0395d0Smrg# Support unset when possible. 567a0395d0Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 577a0395d0Smrg as_unset=unset 587a0395d0Smrgelse 597a0395d0Smrg as_unset=false 607a0395d0Smrgfi 617a0395d0Smrg 627a0395d0Smrg 637a0395d0Smrg# IFS 647a0395d0Smrg# We need space, tab and new line, in precisely that order. Quoting is 657a0395d0Smrg# there to prevent editors from complaining about space-tab. 667a0395d0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 677a0395d0Smrg# splitting by setting IFS to empty value.) 687a0395d0Smrgas_nl=' 697a0395d0Smrg' 707a0395d0SmrgIFS=" "" $as_nl" 717a0395d0Smrg 727a0395d0Smrg# Find who we are. Look in the path if we contain no directory separator. 737a0395d0Smrgcase $0 in 747a0395d0Smrg *[\\/]* ) as_myself=$0 ;; 757a0395d0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 767a0395d0Smrgfor as_dir in $PATH 777a0395d0Smrgdo 787a0395d0Smrg IFS=$as_save_IFS 797a0395d0Smrg test -z "$as_dir" && as_dir=. 807a0395d0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 817a0395d0Smrgdone 827a0395d0SmrgIFS=$as_save_IFS 837a0395d0Smrg 847a0395d0Smrg ;; 857a0395d0Smrgesac 867a0395d0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 877a0395d0Smrg# in which case we are not to be found in the path. 887a0395d0Smrgif test "x$as_myself" = x; then 897a0395d0Smrg as_myself=$0 907a0395d0Smrgfi 917a0395d0Smrgif test ! -f "$as_myself"; then 927a0395d0Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 937a0395d0Smrg { (exit 1); exit 1; } 947a0395d0Smrgfi 957a0395d0Smrg 967a0395d0Smrg# Work around bugs in pre-3.0 UWIN ksh. 977a0395d0Smrgfor as_var in ENV MAIL MAILPATH 987a0395d0Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 997a0395d0Smrgdone 1007a0395d0SmrgPS1='$ ' 1017a0395d0SmrgPS2='> ' 1027a0395d0SmrgPS4='+ ' 1037a0395d0Smrg 1047a0395d0Smrg# NLS nuisances. 1057a0395d0Smrgfor as_var in \ 1067a0395d0Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 1077a0395d0Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 1087a0395d0Smrg LC_TELEPHONE LC_TIME 1097a0395d0Smrgdo 1107a0395d0Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 1117a0395d0Smrg eval $as_var=C; export $as_var 1127a0395d0Smrg else 1137a0395d0Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 1147a0395d0Smrg fi 1157a0395d0Smrgdone 1167a0395d0Smrg 1177a0395d0Smrg# Required to use basename. 1187a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 1197a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 1207a0395d0Smrg as_expr=expr 1217a0395d0Smrgelse 1227a0395d0Smrg as_expr=false 1237a0395d0Smrgfi 1247a0395d0Smrg 1257a0395d0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 1267a0395d0Smrg as_basename=basename 1277a0395d0Smrgelse 1287a0395d0Smrg as_basename=false 1297a0395d0Smrgfi 1307a0395d0Smrg 1317a0395d0Smrg 1327a0395d0Smrg# Name of the executable. 1337a0395d0Smrgas_me=`$as_basename -- "$0" || 1347a0395d0Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1357a0395d0Smrg X"$0" : 'X\(//\)$' \| \ 1367a0395d0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 1377a0395d0Smrgecho X/"$0" | 1387a0395d0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 1397a0395d0Smrg s//\1/ 1407a0395d0Smrg q 1417a0395d0Smrg } 1427a0395d0Smrg /^X\/\(\/\/\)$/{ 1437a0395d0Smrg s//\1/ 1447a0395d0Smrg q 1457a0395d0Smrg } 1467a0395d0Smrg /^X\/\(\/\).*/{ 1477a0395d0Smrg s//\1/ 1487a0395d0Smrg q 1497a0395d0Smrg } 1507a0395d0Smrg s/.*/./; q'` 1517a0395d0Smrg 1527a0395d0Smrg# CDPATH. 1537a0395d0Smrg$as_unset CDPATH 1547a0395d0Smrg 1557a0395d0Smrg 1567a0395d0Smrgif test "x$CONFIG_SHELL" = x; then 1577a0395d0Smrg if (eval ":") 2>/dev/null; then 1587a0395d0Smrg as_have_required=yes 1597a0395d0Smrgelse 1607a0395d0Smrg as_have_required=no 1617a0395d0Smrgfi 1627a0395d0Smrg 1637a0395d0Smrg if test $as_have_required = yes && (eval ": 1647a0395d0Smrg(as_func_return () { 1657a0395d0Smrg (exit \$1) 1667a0395d0Smrg} 1677a0395d0Smrgas_func_success () { 1687a0395d0Smrg as_func_return 0 1697a0395d0Smrg} 1707a0395d0Smrgas_func_failure () { 1717a0395d0Smrg as_func_return 1 1727a0395d0Smrg} 1737a0395d0Smrgas_func_ret_success () { 1747a0395d0Smrg return 0 1757a0395d0Smrg} 1767a0395d0Smrgas_func_ret_failure () { 1777a0395d0Smrg return 1 1787a0395d0Smrg} 1797a0395d0Smrg 1807a0395d0Smrgexitcode=0 1817a0395d0Smrgif as_func_success; then 1827a0395d0Smrg : 1837a0395d0Smrgelse 1847a0395d0Smrg exitcode=1 1857a0395d0Smrg echo as_func_success failed. 1867a0395d0Smrgfi 1877a0395d0Smrg 1887a0395d0Smrgif as_func_failure; then 1897a0395d0Smrg exitcode=1 1907a0395d0Smrg echo as_func_failure succeeded. 1917a0395d0Smrgfi 1927a0395d0Smrg 1937a0395d0Smrgif as_func_ret_success; then 1947a0395d0Smrg : 1957a0395d0Smrgelse 1967a0395d0Smrg exitcode=1 1977a0395d0Smrg echo as_func_ret_success failed. 1987a0395d0Smrgfi 1997a0395d0Smrg 2007a0395d0Smrgif as_func_ret_failure; then 2017a0395d0Smrg exitcode=1 2027a0395d0Smrg echo as_func_ret_failure succeeded. 2037a0395d0Smrgfi 2047a0395d0Smrg 2057a0395d0Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 2067a0395d0Smrg : 2077a0395d0Smrgelse 2087a0395d0Smrg exitcode=1 2097a0395d0Smrg echo positional parameters were not saved. 2107a0395d0Smrgfi 2117a0395d0Smrg 2127a0395d0Smrgtest \$exitcode = 0) || { (exit 1); exit 1; } 2137a0395d0Smrg 2147a0395d0Smrg( 2157a0395d0Smrg as_lineno_1=\$LINENO 2167a0395d0Smrg as_lineno_2=\$LINENO 2177a0395d0Smrg test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 2187a0395d0Smrg test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 2197a0395d0Smrg") 2> /dev/null; then 2207a0395d0Smrg : 2217a0395d0Smrgelse 2227a0395d0Smrg as_candidate_shells= 2237a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2247a0395d0Smrgfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2257a0395d0Smrgdo 2267a0395d0Smrg IFS=$as_save_IFS 2277a0395d0Smrg test -z "$as_dir" && as_dir=. 2287a0395d0Smrg case $as_dir in 2297a0395d0Smrg /*) 2307a0395d0Smrg for as_base in sh bash ksh sh5; do 2317a0395d0Smrg as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 2327a0395d0Smrg done;; 2337a0395d0Smrg esac 2347a0395d0Smrgdone 2357a0395d0SmrgIFS=$as_save_IFS 2367a0395d0Smrg 2377a0395d0Smrg 2387a0395d0Smrg for as_shell in $as_candidate_shells $SHELL; do 2397a0395d0Smrg # Try only shells that exist, to save several forks. 2407a0395d0Smrg if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 2417a0395d0Smrg { ("$as_shell") 2> /dev/null <<\_ASEOF 2427a0395d0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2437a0395d0Smrg emulate sh 2447a0395d0Smrg NULLCMD=: 2457a0395d0Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2467a0395d0Smrg # is contrary to our usage. Disable this feature. 2477a0395d0Smrg alias -g '${1+"$@"}'='"$@"' 2487a0395d0Smrg setopt NO_GLOB_SUBST 2497a0395d0Smrgelse 2507a0395d0Smrg case `(set -o) 2>/dev/null` in 2517a0395d0Smrg *posix*) set -o posix ;; 2527a0395d0Smrgesac 2537a0395d0Smrg 2547a0395d0Smrgfi 2557a0395d0Smrg 2567a0395d0Smrg 2577a0395d0Smrg: 2587a0395d0Smrg_ASEOF 2597a0395d0Smrg}; then 2607a0395d0Smrg CONFIG_SHELL=$as_shell 2617a0395d0Smrg as_have_required=yes 2627a0395d0Smrg if { "$as_shell" 2> /dev/null <<\_ASEOF 2637a0395d0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2647a0395d0Smrg emulate sh 2657a0395d0Smrg NULLCMD=: 2667a0395d0Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2677a0395d0Smrg # is contrary to our usage. Disable this feature. 2687a0395d0Smrg alias -g '${1+"$@"}'='"$@"' 2697a0395d0Smrg setopt NO_GLOB_SUBST 2707a0395d0Smrgelse 2717a0395d0Smrg case `(set -o) 2>/dev/null` in 2727a0395d0Smrg *posix*) set -o posix ;; 2737a0395d0Smrgesac 2747a0395d0Smrg 2757a0395d0Smrgfi 2767a0395d0Smrg 2777a0395d0Smrg 2787a0395d0Smrg: 2797a0395d0Smrg(as_func_return () { 2807a0395d0Smrg (exit $1) 2817a0395d0Smrg} 2827a0395d0Smrgas_func_success () { 2837a0395d0Smrg as_func_return 0 2847a0395d0Smrg} 2857a0395d0Smrgas_func_failure () { 2867a0395d0Smrg as_func_return 1 2877a0395d0Smrg} 2887a0395d0Smrgas_func_ret_success () { 2897a0395d0Smrg return 0 2907a0395d0Smrg} 2917a0395d0Smrgas_func_ret_failure () { 2927a0395d0Smrg return 1 2937a0395d0Smrg} 2947a0395d0Smrg 2957a0395d0Smrgexitcode=0 2967a0395d0Smrgif as_func_success; then 2977a0395d0Smrg : 2987a0395d0Smrgelse 2997a0395d0Smrg exitcode=1 3007a0395d0Smrg echo as_func_success failed. 3017a0395d0Smrgfi 3027a0395d0Smrg 3037a0395d0Smrgif as_func_failure; then 3047a0395d0Smrg exitcode=1 3057a0395d0Smrg echo as_func_failure succeeded. 3067a0395d0Smrgfi 3077a0395d0Smrg 3087a0395d0Smrgif as_func_ret_success; then 3097a0395d0Smrg : 3107a0395d0Smrgelse 3117a0395d0Smrg exitcode=1 3127a0395d0Smrg echo as_func_ret_success failed. 3137a0395d0Smrgfi 3147a0395d0Smrg 3157a0395d0Smrgif as_func_ret_failure; then 3167a0395d0Smrg exitcode=1 3177a0395d0Smrg echo as_func_ret_failure succeeded. 3187a0395d0Smrgfi 3197a0395d0Smrg 3207a0395d0Smrgif ( set x; as_func_ret_success y && test x = "$1" ); then 3217a0395d0Smrg : 3227a0395d0Smrgelse 3237a0395d0Smrg exitcode=1 3247a0395d0Smrg echo positional parameters were not saved. 3257a0395d0Smrgfi 3267a0395d0Smrg 3277a0395d0Smrgtest $exitcode = 0) || { (exit 1); exit 1; } 3287a0395d0Smrg 3297a0395d0Smrg( 3307a0395d0Smrg as_lineno_1=$LINENO 3317a0395d0Smrg as_lineno_2=$LINENO 3327a0395d0Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 3337a0395d0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 3347a0395d0Smrg 3357a0395d0Smrg_ASEOF 3367a0395d0Smrg}; then 3377a0395d0Smrg break 3387a0395d0Smrgfi 3397a0395d0Smrg 3407a0395d0Smrgfi 3417a0395d0Smrg 3427a0395d0Smrg done 3437a0395d0Smrg 3447a0395d0Smrg if test "x$CONFIG_SHELL" != x; then 3457a0395d0Smrg for as_var in BASH_ENV ENV 3467a0395d0Smrg do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3477a0395d0Smrg done 3487a0395d0Smrg export CONFIG_SHELL 3497a0395d0Smrg exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 3507a0395d0Smrgfi 3517a0395d0Smrg 3527a0395d0Smrg 3537a0395d0Smrg if test $as_have_required = no; then 3547a0395d0Smrg echo This script requires a shell more modern than all the 3557a0395d0Smrg echo shells that I found on your system. Please install a 3567a0395d0Smrg echo modern shell, or manually run the script under such a 3577a0395d0Smrg echo shell if you do have one. 3587a0395d0Smrg { (exit 1); exit 1; } 3597a0395d0Smrgfi 3607a0395d0Smrg 3617a0395d0Smrg 3627a0395d0Smrgfi 3637a0395d0Smrg 3647a0395d0Smrgfi 3657a0395d0Smrg 3667a0395d0Smrg 3677a0395d0Smrg 3687a0395d0Smrg(eval "as_func_return () { 3697a0395d0Smrg (exit \$1) 3707a0395d0Smrg} 3717a0395d0Smrgas_func_success () { 3727a0395d0Smrg as_func_return 0 3737a0395d0Smrg} 3747a0395d0Smrgas_func_failure () { 3757a0395d0Smrg as_func_return 1 3767a0395d0Smrg} 3777a0395d0Smrgas_func_ret_success () { 3787a0395d0Smrg return 0 3797a0395d0Smrg} 3807a0395d0Smrgas_func_ret_failure () { 3817a0395d0Smrg return 1 3827a0395d0Smrg} 3837a0395d0Smrg 3847a0395d0Smrgexitcode=0 3857a0395d0Smrgif as_func_success; then 3867a0395d0Smrg : 3877a0395d0Smrgelse 3887a0395d0Smrg exitcode=1 3897a0395d0Smrg echo as_func_success failed. 3907a0395d0Smrgfi 3917a0395d0Smrg 3927a0395d0Smrgif as_func_failure; then 3937a0395d0Smrg exitcode=1 3947a0395d0Smrg echo as_func_failure succeeded. 3957a0395d0Smrgfi 3967a0395d0Smrg 3977a0395d0Smrgif as_func_ret_success; then 3987a0395d0Smrg : 3997a0395d0Smrgelse 4007a0395d0Smrg exitcode=1 4017a0395d0Smrg echo as_func_ret_success failed. 4027a0395d0Smrgfi 4037a0395d0Smrg 4047a0395d0Smrgif as_func_ret_failure; then 4057a0395d0Smrg exitcode=1 4067a0395d0Smrg echo as_func_ret_failure succeeded. 4077a0395d0Smrgfi 4087a0395d0Smrg 4097a0395d0Smrgif ( set x; as_func_ret_success y && test x = \"\$1\" ); then 4107a0395d0Smrg : 4117a0395d0Smrgelse 4127a0395d0Smrg exitcode=1 4137a0395d0Smrg echo positional parameters were not saved. 4147a0395d0Smrgfi 4157a0395d0Smrg 4167a0395d0Smrgtest \$exitcode = 0") || { 4177a0395d0Smrg echo No shell found that supports shell functions. 4187a0395d0Smrg echo Please tell autoconf@gnu.org about your system, 4197a0395d0Smrg echo including any error possibly output before this 4207a0395d0Smrg echo message 4217a0395d0Smrg} 4227a0395d0Smrg 4237a0395d0Smrg 4247a0395d0Smrg 4257a0395d0Smrg as_lineno_1=$LINENO 4267a0395d0Smrg as_lineno_2=$LINENO 4277a0395d0Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 4287a0395d0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 4297a0395d0Smrg 4307a0395d0Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 4317a0395d0Smrg # uniformly replaced by the line number. The first 'sed' inserts a 4327a0395d0Smrg # line-number line after each line using $LINENO; the second 'sed' 4337a0395d0Smrg # does the real work. The second script uses 'N' to pair each 4347a0395d0Smrg # line-number line with the line containing $LINENO, and appends 4357a0395d0Smrg # trailing '-' during substitution so that $LINENO is not a special 4367a0395d0Smrg # case at line end. 4377a0395d0Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 4387a0395d0Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 4397a0395d0Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 4407a0395d0Smrg sed -n ' 4417a0395d0Smrg p 4427a0395d0Smrg /[$]LINENO/= 4437a0395d0Smrg ' <$as_myself | 4447a0395d0Smrg sed ' 4457a0395d0Smrg s/[$]LINENO.*/&-/ 4467a0395d0Smrg t lineno 4477a0395d0Smrg b 4487a0395d0Smrg :lineno 4497a0395d0Smrg N 4507a0395d0Smrg :loop 4517a0395d0Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 4527a0395d0Smrg t loop 4537a0395d0Smrg s/-\n.*// 4547a0395d0Smrg ' >$as_me.lineno && 4557a0395d0Smrg chmod +x "$as_me.lineno" || 4567a0395d0Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 4577a0395d0Smrg { (exit 1); exit 1; }; } 4587a0395d0Smrg 4597a0395d0Smrg # Don't try to exec as it changes $[0], causing all sort of problems 4607a0395d0Smrg # (the dirname of $[0] is not the place where we might find the 4617a0395d0Smrg # original and so on. Autoconf is especially sensitive to this). 4627a0395d0Smrg . "./$as_me.lineno" 4637a0395d0Smrg # Exit status is that of the last command. 4647a0395d0Smrg exit 4657a0395d0Smrg} 4667a0395d0Smrg 4677a0395d0Smrg 4687a0395d0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4697a0395d0Smrg as_dirname=dirname 4707a0395d0Smrgelse 4717a0395d0Smrg as_dirname=false 4727a0395d0Smrgfi 4737a0395d0Smrg 4747a0395d0SmrgECHO_C= ECHO_N= ECHO_T= 4757a0395d0Smrgcase `echo -n x` in 4767a0395d0Smrg-n*) 4777a0395d0Smrg case `echo 'x\c'` in 4787a0395d0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4797a0395d0Smrg *) ECHO_C='\c';; 4807a0395d0Smrg esac;; 4817a0395d0Smrg*) 4827a0395d0Smrg ECHO_N='-n';; 4837a0395d0Smrgesac 4847a0395d0Smrg 4857a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 4867a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 4877a0395d0Smrg as_expr=expr 4887a0395d0Smrgelse 4897a0395d0Smrg as_expr=false 4907a0395d0Smrgfi 4917a0395d0Smrg 4927a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.file 4937a0395d0Smrgif test -d conf$$.dir; then 4947a0395d0Smrg rm -f conf$$.dir/conf$$.file 4957a0395d0Smrgelse 4967a0395d0Smrg rm -f conf$$.dir 4977a0395d0Smrg mkdir conf$$.dir 4987a0395d0Smrgfi 4997a0395d0Smrgecho >conf$$.file 5007a0395d0Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 5017a0395d0Smrg as_ln_s='ln -s' 5027a0395d0Smrg # ... but there are two gotchas: 5037a0395d0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5047a0395d0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5057a0395d0Smrg # In both cases, we have to default to `cp -p'. 5067a0395d0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5077a0395d0Smrg as_ln_s='cp -p' 5087a0395d0Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 5097a0395d0Smrg as_ln_s=ln 5107a0395d0Smrgelse 5117a0395d0Smrg as_ln_s='cp -p' 5127a0395d0Smrgfi 5137a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5147a0395d0Smrgrmdir conf$$.dir 2>/dev/null 5157a0395d0Smrg 5167a0395d0Smrgif mkdir -p . 2>/dev/null; then 5177a0395d0Smrg as_mkdir_p=: 5187a0395d0Smrgelse 5197a0395d0Smrg test -d ./-p && rmdir ./-p 5207a0395d0Smrg as_mkdir_p=false 5217a0395d0Smrgfi 5227a0395d0Smrg 5237a0395d0Smrgif test -x / >/dev/null 2>&1; then 5247a0395d0Smrg as_test_x='test -x' 5257a0395d0Smrgelse 5267a0395d0Smrg if ls -dL / >/dev/null 2>&1; then 5277a0395d0Smrg as_ls_L_option=L 5287a0395d0Smrg else 5297a0395d0Smrg as_ls_L_option= 5307a0395d0Smrg fi 5317a0395d0Smrg as_test_x=' 5327a0395d0Smrg eval sh -c '\'' 5337a0395d0Smrg if test -d "$1"; then 5347a0395d0Smrg test -d "$1/."; 5357a0395d0Smrg else 5367a0395d0Smrg case $1 in 5377a0395d0Smrg -*)set "./$1";; 5387a0395d0Smrg esac; 5397a0395d0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 5407a0395d0Smrg ???[sx]*):;;*)false;;esac;fi 5417a0395d0Smrg '\'' sh 5427a0395d0Smrg ' 5437a0395d0Smrgfi 5447a0395d0Smrgas_executable_p=$as_test_x 5457a0395d0Smrg 5467a0395d0Smrg# Sed expression to map a string onto a valid CPP name. 5477a0395d0Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5487a0395d0Smrg 5497a0395d0Smrg# Sed expression to map a string onto a valid variable name. 5507a0395d0Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5517a0395d0Smrg 5527a0395d0Smrg 5537a0395d0Smrg 5547a0395d0Smrgexec 7<&0 </dev/null 6>&1 5557a0395d0Smrg 5567a0395d0Smrg# Name of the host. 5577a0395d0Smrg# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 5587a0395d0Smrg# so uname gets run too. 5597a0395d0Smrgac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 5607a0395d0Smrg 5617a0395d0Smrg# 5627a0395d0Smrg# Initializations. 5637a0395d0Smrg# 5647a0395d0Smrgac_default_prefix=/usr/local 5657a0395d0Smrgac_clean_files= 5667a0395d0Smrgac_config_libobj_dir=. 5677a0395d0SmrgLIBOBJS= 5687a0395d0Smrgcross_compiling=no 5697a0395d0Smrgsubdirs= 5707a0395d0SmrgMFLAGS= 5717a0395d0SmrgMAKEFLAGS= 5727a0395d0SmrgSHELL=${CONFIG_SHELL-/bin/sh} 5737a0395d0Smrg 5747a0395d0Smrg# Identity of this package. 5757a0395d0SmrgPACKAGE_NAME='xauth' 5767a0395d0SmrgPACKAGE_TARNAME='xauth' 5777a0395d0SmrgPACKAGE_VERSION='1.0.3' 5787a0395d0SmrgPACKAGE_STRING='xauth 1.0.3' 5797a0395d0SmrgPACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 5807a0395d0Smrg 5817a0395d0Smrg# Factoring default headers for most tests. 5827a0395d0Smrgac_includes_default="\ 5837a0395d0Smrg#include <stdio.h> 5847a0395d0Smrg#ifdef HAVE_SYS_TYPES_H 5857a0395d0Smrg# include <sys/types.h> 5867a0395d0Smrg#endif 5877a0395d0Smrg#ifdef HAVE_SYS_STAT_H 5887a0395d0Smrg# include <sys/stat.h> 5897a0395d0Smrg#endif 5907a0395d0Smrg#ifdef STDC_HEADERS 5917a0395d0Smrg# include <stdlib.h> 5927a0395d0Smrg# include <stddef.h> 5937a0395d0Smrg#else 5947a0395d0Smrg# ifdef HAVE_STDLIB_H 5957a0395d0Smrg# include <stdlib.h> 5967a0395d0Smrg# endif 5977a0395d0Smrg#endif 5987a0395d0Smrg#ifdef HAVE_STRING_H 5997a0395d0Smrg# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 6007a0395d0Smrg# include <memory.h> 6017a0395d0Smrg# endif 6027a0395d0Smrg# include <string.h> 6037a0395d0Smrg#endif 6047a0395d0Smrg#ifdef HAVE_STRINGS_H 6057a0395d0Smrg# include <strings.h> 6067a0395d0Smrg#endif 6077a0395d0Smrg#ifdef HAVE_INTTYPES_H 6087a0395d0Smrg# include <inttypes.h> 6097a0395d0Smrg#endif 6107a0395d0Smrg#ifdef HAVE_STDINT_H 6117a0395d0Smrg# include <stdint.h> 6127a0395d0Smrg#endif 6137a0395d0Smrg#ifdef HAVE_UNISTD_H 6147a0395d0Smrg# include <unistd.h> 6157a0395d0Smrg#endif" 6167a0395d0Smrg 6177a0395d0Smrgac_subst_vars='SHELL 6187a0395d0SmrgPATH_SEPARATOR 6197a0395d0SmrgPACKAGE_NAME 6207a0395d0SmrgPACKAGE_TARNAME 6217a0395d0SmrgPACKAGE_VERSION 6227a0395d0SmrgPACKAGE_STRING 6237a0395d0SmrgPACKAGE_BUGREPORT 6247a0395d0Smrgexec_prefix 6257a0395d0Smrgprefix 6267a0395d0Smrgprogram_transform_name 6277a0395d0Smrgbindir 6287a0395d0Smrgsbindir 6297a0395d0Smrglibexecdir 6307a0395d0Smrgdatarootdir 6317a0395d0Smrgdatadir 6327a0395d0Smrgsysconfdir 6337a0395d0Smrgsharedstatedir 6347a0395d0Smrglocalstatedir 6357a0395d0Smrgincludedir 6367a0395d0Smrgoldincludedir 6377a0395d0Smrgdocdir 6387a0395d0Smrginfodir 6397a0395d0Smrghtmldir 6407a0395d0Smrgdvidir 6417a0395d0Smrgpdfdir 6427a0395d0Smrgpsdir 6437a0395d0Smrglibdir 6447a0395d0Smrglocaledir 6457a0395d0Smrgmandir 6467a0395d0SmrgDEFS 6477a0395d0SmrgECHO_C 6487a0395d0SmrgECHO_N 6497a0395d0SmrgECHO_T 6507a0395d0SmrgLIBS 6517a0395d0Smrgbuild_alias 6527a0395d0Smrghost_alias 6537a0395d0Smrgtarget_alias 6547a0395d0SmrgINSTALL_PROGRAM 6557a0395d0SmrgINSTALL_SCRIPT 6567a0395d0SmrgINSTALL_DATA 6577a0395d0Smrgam__isrc 6587a0395d0SmrgCYGPATH_W 6597a0395d0SmrgPACKAGE 6607a0395d0SmrgVERSION 6617a0395d0SmrgACLOCAL 6627a0395d0SmrgAUTOCONF 6637a0395d0SmrgAUTOMAKE 6647a0395d0SmrgAUTOHEADER 6657a0395d0SmrgMAKEINFO 6667a0395d0Smrginstall_sh 6677a0395d0SmrgSTRIP 6687a0395d0SmrgINSTALL_STRIP_PROGRAM 6697a0395d0Smrgmkdir_p 6707a0395d0SmrgAWK 6717a0395d0SmrgSET_MAKE 6727a0395d0Smrgam__leading_dot 6737a0395d0SmrgAMTAR 6747a0395d0Smrgam__tar 6757a0395d0Smrgam__untar 6767a0395d0SmrgMAINTAINER_MODE_TRUE 6777a0395d0SmrgMAINTAINER_MODE_FALSE 6787a0395d0SmrgMAINT 6797a0395d0SmrgCC 6807a0395d0SmrgCFLAGS 6817a0395d0SmrgLDFLAGS 6827a0395d0SmrgCPPFLAGS 6837a0395d0Smrgac_ct_CC 6847a0395d0SmrgEXEEXT 6857a0395d0SmrgOBJEXT 6867a0395d0SmrgDEPDIR 6877a0395d0Smrgam__include 6887a0395d0Smrgam__quote 6897a0395d0SmrgAMDEP_TRUE 6907a0395d0SmrgAMDEP_FALSE 6917a0395d0SmrgAMDEPBACKSLASH 6927a0395d0SmrgCCDEPMODE 6937a0395d0Smrgam__fastdepCC_TRUE 6947a0395d0Smrgam__fastdepCC_FALSE 6957a0395d0SmrgCPP 6967a0395d0SmrgGREP 6977a0395d0SmrgEGREP 6987a0395d0SmrgPKG_CONFIG 6997a0395d0SmrgXAUTH_CFLAGS 7007a0395d0SmrgXAUTH_LIBS 7017a0395d0Smrgbuild 7027a0395d0Smrgbuild_cpu 7037a0395d0Smrgbuild_vendor 7047a0395d0Smrgbuild_os 7057a0395d0Smrghost 7067a0395d0Smrghost_cpu 7077a0395d0Smrghost_vendor 7087a0395d0Smrghost_os 7097a0395d0SmrgLINT 7107a0395d0SmrgLINT_FLAGS 7117a0395d0SmrgLINT_TRUE 7127a0395d0SmrgLINT_FALSE 7137a0395d0SmrgAPP_MAN_SUFFIX 7147a0395d0SmrgLIB_MAN_SUFFIX 7157a0395d0SmrgFILE_MAN_SUFFIX 7167a0395d0SmrgMISC_MAN_SUFFIX 7177a0395d0SmrgDRIVER_MAN_SUFFIX 7187a0395d0SmrgADMIN_MAN_SUFFIX 7197a0395d0SmrgAPP_MAN_DIR 7207a0395d0SmrgLIB_MAN_DIR 7217a0395d0SmrgFILE_MAN_DIR 7227a0395d0SmrgMISC_MAN_DIR 7237a0395d0SmrgDRIVER_MAN_DIR 7247a0395d0SmrgADMIN_MAN_DIR 7257a0395d0SmrgLIBOBJS 7267a0395d0SmrgLTLIBOBJS' 7277a0395d0Smrgac_subst_files='' 7287a0395d0Smrg ac_precious_vars='build_alias 7297a0395d0Smrghost_alias 7307a0395d0Smrgtarget_alias 7317a0395d0SmrgCC 7327a0395d0SmrgCFLAGS 7337a0395d0SmrgLDFLAGS 7347a0395d0SmrgLIBS 7357a0395d0SmrgCPPFLAGS 7367a0395d0SmrgCPP 7377a0395d0SmrgPKG_CONFIG 7387a0395d0SmrgXAUTH_CFLAGS 7397a0395d0SmrgXAUTH_LIBS' 7407a0395d0Smrg 7417a0395d0Smrg 7427a0395d0Smrg# Initialize some variables set by options. 7437a0395d0Smrgac_init_help= 7447a0395d0Smrgac_init_version=false 7457a0395d0Smrg# The variables have the same names as the options, with 7467a0395d0Smrg# dashes changed to underlines. 7477a0395d0Smrgcache_file=/dev/null 7487a0395d0Smrgexec_prefix=NONE 7497a0395d0Smrgno_create= 7507a0395d0Smrgno_recursion= 7517a0395d0Smrgprefix=NONE 7527a0395d0Smrgprogram_prefix=NONE 7537a0395d0Smrgprogram_suffix=NONE 7547a0395d0Smrgprogram_transform_name=s,x,x, 7557a0395d0Smrgsilent= 7567a0395d0Smrgsite= 7577a0395d0Smrgsrcdir= 7587a0395d0Smrgverbose= 7597a0395d0Smrgx_includes=NONE 7607a0395d0Smrgx_libraries=NONE 7617a0395d0Smrg 7627a0395d0Smrg# Installation directory options. 7637a0395d0Smrg# These are left unexpanded so users can "make install exec_prefix=/foo" 7647a0395d0Smrg# and all the variables that are supposed to be based on exec_prefix 7657a0395d0Smrg# by default will actually change. 7667a0395d0Smrg# Use braces instead of parens because sh, perl, etc. also accept them. 7677a0395d0Smrg# (The list follows the same order as the GNU Coding Standards.) 7687a0395d0Smrgbindir='${exec_prefix}/bin' 7697a0395d0Smrgsbindir='${exec_prefix}/sbin' 7707a0395d0Smrglibexecdir='${exec_prefix}/libexec' 7717a0395d0Smrgdatarootdir='${prefix}/share' 7727a0395d0Smrgdatadir='${datarootdir}' 7737a0395d0Smrgsysconfdir='${prefix}/etc' 7747a0395d0Smrgsharedstatedir='${prefix}/com' 7757a0395d0Smrglocalstatedir='${prefix}/var' 7767a0395d0Smrgincludedir='${prefix}/include' 7777a0395d0Smrgoldincludedir='/usr/include' 7787a0395d0Smrgdocdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 7797a0395d0Smrginfodir='${datarootdir}/info' 7807a0395d0Smrghtmldir='${docdir}' 7817a0395d0Smrgdvidir='${docdir}' 7827a0395d0Smrgpdfdir='${docdir}' 7837a0395d0Smrgpsdir='${docdir}' 7847a0395d0Smrglibdir='${exec_prefix}/lib' 7857a0395d0Smrglocaledir='${datarootdir}/locale' 7867a0395d0Smrgmandir='${datarootdir}/man' 7877a0395d0Smrg 7887a0395d0Smrgac_prev= 7897a0395d0Smrgac_dashdash= 7907a0395d0Smrgfor ac_option 7917a0395d0Smrgdo 7927a0395d0Smrg # If the previous option needs an argument, assign it. 7937a0395d0Smrg if test -n "$ac_prev"; then 7947a0395d0Smrg eval $ac_prev=\$ac_option 7957a0395d0Smrg ac_prev= 7967a0395d0Smrg continue 7977a0395d0Smrg fi 7987a0395d0Smrg 7997a0395d0Smrg case $ac_option in 8007a0395d0Smrg *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 8017a0395d0Smrg *) ac_optarg=yes ;; 8027a0395d0Smrg esac 8037a0395d0Smrg 8047a0395d0Smrg # Accept the important Cygnus configure options, so we can diagnose typos. 8057a0395d0Smrg 8067a0395d0Smrg case $ac_dashdash$ac_option in 8077a0395d0Smrg --) 8087a0395d0Smrg ac_dashdash=yes ;; 8097a0395d0Smrg 8107a0395d0Smrg -bindir | --bindir | --bindi | --bind | --bin | --bi) 8117a0395d0Smrg ac_prev=bindir ;; 8127a0395d0Smrg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 8137a0395d0Smrg bindir=$ac_optarg ;; 8147a0395d0Smrg 8157a0395d0Smrg -build | --build | --buil | --bui | --bu) 8167a0395d0Smrg ac_prev=build_alias ;; 8177a0395d0Smrg -build=* | --build=* | --buil=* | --bui=* | --bu=*) 8187a0395d0Smrg build_alias=$ac_optarg ;; 8197a0395d0Smrg 8207a0395d0Smrg -cache-file | --cache-file | --cache-fil | --cache-fi \ 8217a0395d0Smrg | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 8227a0395d0Smrg ac_prev=cache_file ;; 8237a0395d0Smrg -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 8247a0395d0Smrg | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 8257a0395d0Smrg cache_file=$ac_optarg ;; 8267a0395d0Smrg 8277a0395d0Smrg --config-cache | -C) 8287a0395d0Smrg cache_file=config.cache ;; 8297a0395d0Smrg 8307a0395d0Smrg -datadir | --datadir | --datadi | --datad) 8317a0395d0Smrg ac_prev=datadir ;; 8327a0395d0Smrg -datadir=* | --datadir=* | --datadi=* | --datad=*) 8337a0395d0Smrg datadir=$ac_optarg ;; 8347a0395d0Smrg 8357a0395d0Smrg -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 8367a0395d0Smrg | --dataroo | --dataro | --datar) 8377a0395d0Smrg ac_prev=datarootdir ;; 8387a0395d0Smrg -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 8397a0395d0Smrg | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 8407a0395d0Smrg datarootdir=$ac_optarg ;; 8417a0395d0Smrg 8427a0395d0Smrg -disable-* | --disable-*) 8437a0395d0Smrg ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 8447a0395d0Smrg # Reject names that are not valid shell variable names. 8457a0395d0Smrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 8467a0395d0Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 8477a0395d0Smrg { (exit 1); exit 1; }; } 8487a0395d0Smrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 8497a0395d0Smrg eval enable_$ac_feature=no ;; 8507a0395d0Smrg 8517a0395d0Smrg -docdir | --docdir | --docdi | --doc | --do) 8527a0395d0Smrg ac_prev=docdir ;; 8537a0395d0Smrg -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 8547a0395d0Smrg docdir=$ac_optarg ;; 8557a0395d0Smrg 8567a0395d0Smrg -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 8577a0395d0Smrg ac_prev=dvidir ;; 8587a0395d0Smrg -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 8597a0395d0Smrg dvidir=$ac_optarg ;; 8607a0395d0Smrg 8617a0395d0Smrg -enable-* | --enable-*) 8627a0395d0Smrg ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 8637a0395d0Smrg # Reject names that are not valid shell variable names. 8647a0395d0Smrg expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 8657a0395d0Smrg { echo "$as_me: error: invalid feature name: $ac_feature" >&2 8667a0395d0Smrg { (exit 1); exit 1; }; } 8677a0395d0Smrg ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 8687a0395d0Smrg eval enable_$ac_feature=\$ac_optarg ;; 8697a0395d0Smrg 8707a0395d0Smrg -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 8717a0395d0Smrg | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 8727a0395d0Smrg | --exec | --exe | --ex) 8737a0395d0Smrg ac_prev=exec_prefix ;; 8747a0395d0Smrg -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 8757a0395d0Smrg | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 8767a0395d0Smrg | --exec=* | --exe=* | --ex=*) 8777a0395d0Smrg exec_prefix=$ac_optarg ;; 8787a0395d0Smrg 8797a0395d0Smrg -gas | --gas | --ga | --g) 8807a0395d0Smrg # Obsolete; use --with-gas. 8817a0395d0Smrg with_gas=yes ;; 8827a0395d0Smrg 8837a0395d0Smrg -help | --help | --hel | --he | -h) 8847a0395d0Smrg ac_init_help=long ;; 8857a0395d0Smrg -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 8867a0395d0Smrg ac_init_help=recursive ;; 8877a0395d0Smrg -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 8887a0395d0Smrg ac_init_help=short ;; 8897a0395d0Smrg 8907a0395d0Smrg -host | --host | --hos | --ho) 8917a0395d0Smrg ac_prev=host_alias ;; 8927a0395d0Smrg -host=* | --host=* | --hos=* | --ho=*) 8937a0395d0Smrg host_alias=$ac_optarg ;; 8947a0395d0Smrg 8957a0395d0Smrg -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 8967a0395d0Smrg ac_prev=htmldir ;; 8977a0395d0Smrg -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 8987a0395d0Smrg | --ht=*) 8997a0395d0Smrg htmldir=$ac_optarg ;; 9007a0395d0Smrg 9017a0395d0Smrg -includedir | --includedir | --includedi | --included | --include \ 9027a0395d0Smrg | --includ | --inclu | --incl | --inc) 9037a0395d0Smrg ac_prev=includedir ;; 9047a0395d0Smrg -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 9057a0395d0Smrg | --includ=* | --inclu=* | --incl=* | --inc=*) 9067a0395d0Smrg includedir=$ac_optarg ;; 9077a0395d0Smrg 9087a0395d0Smrg -infodir | --infodir | --infodi | --infod | --info | --inf) 9097a0395d0Smrg ac_prev=infodir ;; 9107a0395d0Smrg -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 9117a0395d0Smrg infodir=$ac_optarg ;; 9127a0395d0Smrg 9137a0395d0Smrg -libdir | --libdir | --libdi | --libd) 9147a0395d0Smrg ac_prev=libdir ;; 9157a0395d0Smrg -libdir=* | --libdir=* | --libdi=* | --libd=*) 9167a0395d0Smrg libdir=$ac_optarg ;; 9177a0395d0Smrg 9187a0395d0Smrg -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 9197a0395d0Smrg | --libexe | --libex | --libe) 9207a0395d0Smrg ac_prev=libexecdir ;; 9217a0395d0Smrg -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 9227a0395d0Smrg | --libexe=* | --libex=* | --libe=*) 9237a0395d0Smrg libexecdir=$ac_optarg ;; 9247a0395d0Smrg 9257a0395d0Smrg -localedir | --localedir | --localedi | --localed | --locale) 9267a0395d0Smrg ac_prev=localedir ;; 9277a0395d0Smrg -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 9287a0395d0Smrg localedir=$ac_optarg ;; 9297a0395d0Smrg 9307a0395d0Smrg -localstatedir | --localstatedir | --localstatedi | --localstated \ 9317a0395d0Smrg | --localstate | --localstat | --localsta | --localst | --locals) 9327a0395d0Smrg ac_prev=localstatedir ;; 9337a0395d0Smrg -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 9347a0395d0Smrg | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 9357a0395d0Smrg localstatedir=$ac_optarg ;; 9367a0395d0Smrg 9377a0395d0Smrg -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 9387a0395d0Smrg ac_prev=mandir ;; 9397a0395d0Smrg -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 9407a0395d0Smrg mandir=$ac_optarg ;; 9417a0395d0Smrg 9427a0395d0Smrg -nfp | --nfp | --nf) 9437a0395d0Smrg # Obsolete; use --without-fp. 9447a0395d0Smrg with_fp=no ;; 9457a0395d0Smrg 9467a0395d0Smrg -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 9477a0395d0Smrg | --no-cr | --no-c | -n) 9487a0395d0Smrg no_create=yes ;; 9497a0395d0Smrg 9507a0395d0Smrg -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 9517a0395d0Smrg | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 9527a0395d0Smrg no_recursion=yes ;; 9537a0395d0Smrg 9547a0395d0Smrg -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 9557a0395d0Smrg | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 9567a0395d0Smrg | --oldin | --oldi | --old | --ol | --o) 9577a0395d0Smrg ac_prev=oldincludedir ;; 9587a0395d0Smrg -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 9597a0395d0Smrg | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 9607a0395d0Smrg | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 9617a0395d0Smrg oldincludedir=$ac_optarg ;; 9627a0395d0Smrg 9637a0395d0Smrg -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 9647a0395d0Smrg ac_prev=prefix ;; 9657a0395d0Smrg -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 9667a0395d0Smrg prefix=$ac_optarg ;; 9677a0395d0Smrg 9687a0395d0Smrg -program-prefix | --program-prefix | --program-prefi | --program-pref \ 9697a0395d0Smrg | --program-pre | --program-pr | --program-p) 9707a0395d0Smrg ac_prev=program_prefix ;; 9717a0395d0Smrg -program-prefix=* | --program-prefix=* | --program-prefi=* \ 9727a0395d0Smrg | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 9737a0395d0Smrg program_prefix=$ac_optarg ;; 9747a0395d0Smrg 9757a0395d0Smrg -program-suffix | --program-suffix | --program-suffi | --program-suff \ 9767a0395d0Smrg | --program-suf | --program-su | --program-s) 9777a0395d0Smrg ac_prev=program_suffix ;; 9787a0395d0Smrg -program-suffix=* | --program-suffix=* | --program-suffi=* \ 9797a0395d0Smrg | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 9807a0395d0Smrg program_suffix=$ac_optarg ;; 9817a0395d0Smrg 9827a0395d0Smrg -program-transform-name | --program-transform-name \ 9837a0395d0Smrg | --program-transform-nam | --program-transform-na \ 9847a0395d0Smrg | --program-transform-n | --program-transform- \ 9857a0395d0Smrg | --program-transform | --program-transfor \ 9867a0395d0Smrg | --program-transfo | --program-transf \ 9877a0395d0Smrg | --program-trans | --program-tran \ 9887a0395d0Smrg | --progr-tra | --program-tr | --program-t) 9897a0395d0Smrg ac_prev=program_transform_name ;; 9907a0395d0Smrg -program-transform-name=* | --program-transform-name=* \ 9917a0395d0Smrg | --program-transform-nam=* | --program-transform-na=* \ 9927a0395d0Smrg | --program-transform-n=* | --program-transform-=* \ 9937a0395d0Smrg | --program-transform=* | --program-transfor=* \ 9947a0395d0Smrg | --program-transfo=* | --program-transf=* \ 9957a0395d0Smrg | --program-trans=* | --program-tran=* \ 9967a0395d0Smrg | --progr-tra=* | --program-tr=* | --program-t=*) 9977a0395d0Smrg program_transform_name=$ac_optarg ;; 9987a0395d0Smrg 9997a0395d0Smrg -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 10007a0395d0Smrg ac_prev=pdfdir ;; 10017a0395d0Smrg -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 10027a0395d0Smrg pdfdir=$ac_optarg ;; 10037a0395d0Smrg 10047a0395d0Smrg -psdir | --psdir | --psdi | --psd | --ps) 10057a0395d0Smrg ac_prev=psdir ;; 10067a0395d0Smrg -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 10077a0395d0Smrg psdir=$ac_optarg ;; 10087a0395d0Smrg 10097a0395d0Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10107a0395d0Smrg | -silent | --silent | --silen | --sile | --sil) 10117a0395d0Smrg silent=yes ;; 10127a0395d0Smrg 10137a0395d0Smrg -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 10147a0395d0Smrg ac_prev=sbindir ;; 10157a0395d0Smrg -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 10167a0395d0Smrg | --sbi=* | --sb=*) 10177a0395d0Smrg sbindir=$ac_optarg ;; 10187a0395d0Smrg 10197a0395d0Smrg -sharedstatedir | --sharedstatedir | --sharedstatedi \ 10207a0395d0Smrg | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 10217a0395d0Smrg | --sharedst | --shareds | --shared | --share | --shar \ 10227a0395d0Smrg | --sha | --sh) 10237a0395d0Smrg ac_prev=sharedstatedir ;; 10247a0395d0Smrg -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 10257a0395d0Smrg | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 10267a0395d0Smrg | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 10277a0395d0Smrg | --sha=* | --sh=*) 10287a0395d0Smrg sharedstatedir=$ac_optarg ;; 10297a0395d0Smrg 10307a0395d0Smrg -site | --site | --sit) 10317a0395d0Smrg ac_prev=site ;; 10327a0395d0Smrg -site=* | --site=* | --sit=*) 10337a0395d0Smrg site=$ac_optarg ;; 10347a0395d0Smrg 10357a0395d0Smrg -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 10367a0395d0Smrg ac_prev=srcdir ;; 10377a0395d0Smrg -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 10387a0395d0Smrg srcdir=$ac_optarg ;; 10397a0395d0Smrg 10407a0395d0Smrg -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 10417a0395d0Smrg | --syscon | --sysco | --sysc | --sys | --sy) 10427a0395d0Smrg ac_prev=sysconfdir ;; 10437a0395d0Smrg -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 10447a0395d0Smrg | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 10457a0395d0Smrg sysconfdir=$ac_optarg ;; 10467a0395d0Smrg 10477a0395d0Smrg -target | --target | --targe | --targ | --tar | --ta | --t) 10487a0395d0Smrg ac_prev=target_alias ;; 10497a0395d0Smrg -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 10507a0395d0Smrg target_alias=$ac_optarg ;; 10517a0395d0Smrg 10527a0395d0Smrg -v | -verbose | --verbose | --verbos | --verbo | --verb) 10537a0395d0Smrg verbose=yes ;; 10547a0395d0Smrg 10557a0395d0Smrg -version | --version | --versio | --versi | --vers | -V) 10567a0395d0Smrg ac_init_version=: ;; 10577a0395d0Smrg 10587a0395d0Smrg -with-* | --with-*) 10597a0395d0Smrg ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 10607a0395d0Smrg # Reject names that are not valid shell variable names. 10617a0395d0Smrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 10627a0395d0Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 10637a0395d0Smrg { (exit 1); exit 1; }; } 10647a0395d0Smrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 10657a0395d0Smrg eval with_$ac_package=\$ac_optarg ;; 10667a0395d0Smrg 10677a0395d0Smrg -without-* | --without-*) 10687a0395d0Smrg ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 10697a0395d0Smrg # Reject names that are not valid shell variable names. 10707a0395d0Smrg expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 10717a0395d0Smrg { echo "$as_me: error: invalid package name: $ac_package" >&2 10727a0395d0Smrg { (exit 1); exit 1; }; } 10737a0395d0Smrg ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 10747a0395d0Smrg eval with_$ac_package=no ;; 10757a0395d0Smrg 10767a0395d0Smrg --x) 10777a0395d0Smrg # Obsolete; use --with-x. 10787a0395d0Smrg with_x=yes ;; 10797a0395d0Smrg 10807a0395d0Smrg -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 10817a0395d0Smrg | --x-incl | --x-inc | --x-in | --x-i) 10827a0395d0Smrg ac_prev=x_includes ;; 10837a0395d0Smrg -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 10847a0395d0Smrg | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 10857a0395d0Smrg x_includes=$ac_optarg ;; 10867a0395d0Smrg 10877a0395d0Smrg -x-libraries | --x-libraries | --x-librarie | --x-librari \ 10887a0395d0Smrg | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 10897a0395d0Smrg ac_prev=x_libraries ;; 10907a0395d0Smrg -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 10917a0395d0Smrg | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 10927a0395d0Smrg x_libraries=$ac_optarg ;; 10937a0395d0Smrg 10947a0395d0Smrg -*) { echo "$as_me: error: unrecognized option: $ac_option 10957a0395d0SmrgTry \`$0 --help' for more information." >&2 10967a0395d0Smrg { (exit 1); exit 1; }; } 10977a0395d0Smrg ;; 10987a0395d0Smrg 10997a0395d0Smrg *=*) 11007a0395d0Smrg ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 11017a0395d0Smrg # Reject names that are not valid shell variable names. 11027a0395d0Smrg expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 11037a0395d0Smrg { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 11047a0395d0Smrg { (exit 1); exit 1; }; } 11057a0395d0Smrg eval $ac_envvar=\$ac_optarg 11067a0395d0Smrg export $ac_envvar ;; 11077a0395d0Smrg 11087a0395d0Smrg *) 11097a0395d0Smrg # FIXME: should be removed in autoconf 3.0. 11107a0395d0Smrg echo "$as_me: WARNING: you should use --build, --host, --target" >&2 11117a0395d0Smrg expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 11127a0395d0Smrg echo "$as_me: WARNING: invalid host type: $ac_option" >&2 11137a0395d0Smrg : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 11147a0395d0Smrg ;; 11157a0395d0Smrg 11167a0395d0Smrg esac 11177a0395d0Smrgdone 11187a0395d0Smrg 11197a0395d0Smrgif test -n "$ac_prev"; then 11207a0395d0Smrg ac_option=--`echo $ac_prev | sed 's/_/-/g'` 11217a0395d0Smrg { echo "$as_me: error: missing argument to $ac_option" >&2 11227a0395d0Smrg { (exit 1); exit 1; }; } 11237a0395d0Smrgfi 11247a0395d0Smrg 11257a0395d0Smrg# Be sure to have absolute directory names. 11267a0395d0Smrgfor ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 11277a0395d0Smrg datadir sysconfdir sharedstatedir localstatedir includedir \ 11287a0395d0Smrg oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 11297a0395d0Smrg libdir localedir mandir 11307a0395d0Smrgdo 11317a0395d0Smrg eval ac_val=\$$ac_var 11327a0395d0Smrg case $ac_val in 11337a0395d0Smrg [\\/$]* | ?:[\\/]* ) continue;; 11347a0395d0Smrg NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 11357a0395d0Smrg esac 11367a0395d0Smrg { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 11377a0395d0Smrg { (exit 1); exit 1; }; } 11387a0395d0Smrgdone 11397a0395d0Smrg 11407a0395d0Smrg# There might be people who depend on the old broken behavior: `$host' 11417a0395d0Smrg# used to hold the argument of --host etc. 11427a0395d0Smrg# FIXME: To remove some day. 11437a0395d0Smrgbuild=$build_alias 11447a0395d0Smrghost=$host_alias 11457a0395d0Smrgtarget=$target_alias 11467a0395d0Smrg 11477a0395d0Smrg# FIXME: To remove some day. 11487a0395d0Smrgif test "x$host_alias" != x; then 11497a0395d0Smrg if test "x$build_alias" = x; then 11507a0395d0Smrg cross_compiling=maybe 11517a0395d0Smrg echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 11527a0395d0Smrg If a cross compiler is detected then cross compile mode will be used." >&2 11537a0395d0Smrg elif test "x$build_alias" != "x$host_alias"; then 11547a0395d0Smrg cross_compiling=yes 11557a0395d0Smrg fi 11567a0395d0Smrgfi 11577a0395d0Smrg 11587a0395d0Smrgac_tool_prefix= 11597a0395d0Smrgtest -n "$host_alias" && ac_tool_prefix=$host_alias- 11607a0395d0Smrg 11617a0395d0Smrgtest "$silent" = yes && exec 6>/dev/null 11627a0395d0Smrg 11637a0395d0Smrg 11647a0395d0Smrgac_pwd=`pwd` && test -n "$ac_pwd" && 11657a0395d0Smrgac_ls_di=`ls -di .` && 11667a0395d0Smrgac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 11677a0395d0Smrg { echo "$as_me: error: Working directory cannot be determined" >&2 11687a0395d0Smrg { (exit 1); exit 1; }; } 11697a0395d0Smrgtest "X$ac_ls_di" = "X$ac_pwd_ls_di" || 11707a0395d0Smrg { echo "$as_me: error: pwd does not report name of working directory" >&2 11717a0395d0Smrg { (exit 1); exit 1; }; } 11727a0395d0Smrg 11737a0395d0Smrg 11747a0395d0Smrg# Find the source files, if location was not specified. 11757a0395d0Smrgif test -z "$srcdir"; then 11767a0395d0Smrg ac_srcdir_defaulted=yes 11777a0395d0Smrg # Try the directory containing this script, then the parent directory. 11787a0395d0Smrg ac_confdir=`$as_dirname -- "$0" || 11797a0395d0Smrg$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11807a0395d0Smrg X"$0" : 'X\(//\)[^/]' \| \ 11817a0395d0Smrg X"$0" : 'X\(//\)$' \| \ 11827a0395d0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 11837a0395d0Smrgecho X"$0" | 11847a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11857a0395d0Smrg s//\1/ 11867a0395d0Smrg q 11877a0395d0Smrg } 11887a0395d0Smrg /^X\(\/\/\)[^/].*/{ 11897a0395d0Smrg s//\1/ 11907a0395d0Smrg q 11917a0395d0Smrg } 11927a0395d0Smrg /^X\(\/\/\)$/{ 11937a0395d0Smrg s//\1/ 11947a0395d0Smrg q 11957a0395d0Smrg } 11967a0395d0Smrg /^X\(\/\).*/{ 11977a0395d0Smrg s//\1/ 11987a0395d0Smrg q 11997a0395d0Smrg } 12007a0395d0Smrg s/.*/./; q'` 12017a0395d0Smrg srcdir=$ac_confdir 12027a0395d0Smrg if test ! -r "$srcdir/$ac_unique_file"; then 12037a0395d0Smrg srcdir=.. 12047a0395d0Smrg fi 12057a0395d0Smrgelse 12067a0395d0Smrg ac_srcdir_defaulted=no 12077a0395d0Smrgfi 12087a0395d0Smrgif test ! -r "$srcdir/$ac_unique_file"; then 12097a0395d0Smrg test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 12107a0395d0Smrg { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 12117a0395d0Smrg { (exit 1); exit 1; }; } 12127a0395d0Smrgfi 12137a0395d0Smrgac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 12147a0395d0Smrgac_abs_confdir=`( 12157a0395d0Smrg cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 12167a0395d0Smrg { (exit 1); exit 1; }; } 12177a0395d0Smrg pwd)` 12187a0395d0Smrg# When building in place, set srcdir=. 12197a0395d0Smrgif test "$ac_abs_confdir" = "$ac_pwd"; then 12207a0395d0Smrg srcdir=. 12217a0395d0Smrgfi 12227a0395d0Smrg# Remove unnecessary trailing slashes from srcdir. 12237a0395d0Smrg# Double slashes in file names in object file debugging info 12247a0395d0Smrg# mess up M-x gdb in Emacs. 12257a0395d0Smrgcase $srcdir in 12267a0395d0Smrg*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 12277a0395d0Smrgesac 12287a0395d0Smrgfor ac_var in $ac_precious_vars; do 12297a0395d0Smrg eval ac_env_${ac_var}_set=\${${ac_var}+set} 12307a0395d0Smrg eval ac_env_${ac_var}_value=\$${ac_var} 12317a0395d0Smrg eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 12327a0395d0Smrg eval ac_cv_env_${ac_var}_value=\$${ac_var} 12337a0395d0Smrgdone 12347a0395d0Smrg 12357a0395d0Smrg# 12367a0395d0Smrg# Report the --help message. 12377a0395d0Smrg# 12387a0395d0Smrgif test "$ac_init_help" = "long"; then 12397a0395d0Smrg # Omit some internal or obsolete options to make the list less imposing. 12407a0395d0Smrg # This message is too long to be a string in the A/UX 3.1 sh. 12417a0395d0Smrg cat <<_ACEOF 12427a0395d0Smrg\`configure' configures xauth 1.0.3 to adapt to many kinds of systems. 12437a0395d0Smrg 12447a0395d0SmrgUsage: $0 [OPTION]... [VAR=VALUE]... 12457a0395d0Smrg 12467a0395d0SmrgTo assign environment variables (e.g., CC, CFLAGS...), specify them as 12477a0395d0SmrgVAR=VALUE. See below for descriptions of some of the useful variables. 12487a0395d0Smrg 12497a0395d0SmrgDefaults for the options are specified in brackets. 12507a0395d0Smrg 12517a0395d0SmrgConfiguration: 12527a0395d0Smrg -h, --help display this help and exit 12537a0395d0Smrg --help=short display options specific to this package 12547a0395d0Smrg --help=recursive display the short help of all the included packages 12557a0395d0Smrg -V, --version display version information and exit 12567a0395d0Smrg -q, --quiet, --silent do not print \`checking...' messages 12577a0395d0Smrg --cache-file=FILE cache test results in FILE [disabled] 12587a0395d0Smrg -C, --config-cache alias for \`--cache-file=config.cache' 12597a0395d0Smrg -n, --no-create do not create output files 12607a0395d0Smrg --srcdir=DIR find the sources in DIR [configure dir or \`..'] 12617a0395d0Smrg 12627a0395d0SmrgInstallation directories: 12637a0395d0Smrg --prefix=PREFIX install architecture-independent files in PREFIX 12647a0395d0Smrg [$ac_default_prefix] 12657a0395d0Smrg --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 12667a0395d0Smrg [PREFIX] 12677a0395d0Smrg 12687a0395d0SmrgBy default, \`make install' will install all the files in 12697a0395d0Smrg\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 12707a0395d0Smrgan installation prefix other than \`$ac_default_prefix' using \`--prefix', 12717a0395d0Smrgfor instance \`--prefix=\$HOME'. 12727a0395d0Smrg 12737a0395d0SmrgFor better control, use the options below. 12747a0395d0Smrg 12757a0395d0SmrgFine tuning of the installation directories: 12767a0395d0Smrg --bindir=DIR user executables [EPREFIX/bin] 12777a0395d0Smrg --sbindir=DIR system admin executables [EPREFIX/sbin] 12787a0395d0Smrg --libexecdir=DIR program executables [EPREFIX/libexec] 12797a0395d0Smrg --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 12807a0395d0Smrg --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 12817a0395d0Smrg --localstatedir=DIR modifiable single-machine data [PREFIX/var] 12827a0395d0Smrg --libdir=DIR object code libraries [EPREFIX/lib] 12837a0395d0Smrg --includedir=DIR C header files [PREFIX/include] 12847a0395d0Smrg --oldincludedir=DIR C header files for non-gcc [/usr/include] 12857a0395d0Smrg --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 12867a0395d0Smrg --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 12877a0395d0Smrg --infodir=DIR info documentation [DATAROOTDIR/info] 12887a0395d0Smrg --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 12897a0395d0Smrg --mandir=DIR man documentation [DATAROOTDIR/man] 12907a0395d0Smrg --docdir=DIR documentation root [DATAROOTDIR/doc/xauth] 12917a0395d0Smrg --htmldir=DIR html documentation [DOCDIR] 12927a0395d0Smrg --dvidir=DIR dvi documentation [DOCDIR] 12937a0395d0Smrg --pdfdir=DIR pdf documentation [DOCDIR] 12947a0395d0Smrg --psdir=DIR ps documentation [DOCDIR] 12957a0395d0Smrg_ACEOF 12967a0395d0Smrg 12977a0395d0Smrg cat <<\_ACEOF 12987a0395d0Smrg 12997a0395d0SmrgProgram names: 13007a0395d0Smrg --program-prefix=PREFIX prepend PREFIX to installed program names 13017a0395d0Smrg --program-suffix=SUFFIX append SUFFIX to installed program names 13027a0395d0Smrg --program-transform-name=PROGRAM run sed PROGRAM on installed program names 13037a0395d0Smrg 13047a0395d0SmrgSystem types: 13057a0395d0Smrg --build=BUILD configure for building on BUILD [guessed] 13067a0395d0Smrg --host=HOST cross-compile to build programs to run on HOST [BUILD] 13077a0395d0Smrg_ACEOF 13087a0395d0Smrgfi 13097a0395d0Smrg 13107a0395d0Smrgif test -n "$ac_init_help"; then 13117a0395d0Smrg case $ac_init_help in 13127a0395d0Smrg short | recursive ) echo "Configuration of xauth 1.0.3:";; 13137a0395d0Smrg esac 13147a0395d0Smrg cat <<\_ACEOF 13157a0395d0Smrg 13167a0395d0SmrgOptional Features: 13177a0395d0Smrg --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 13187a0395d0Smrg --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 13197a0395d0Smrg --enable-maintainer-mode enable make rules and dependencies not useful 13207a0395d0Smrg (and sometimes confusing) to the casual installer 13217a0395d0Smrg --disable-dependency-tracking speeds up one-time build 13227a0395d0Smrg --enable-dependency-tracking do not reject slow dependency extractors 13237a0395d0Smrg --enable-unix-transport Enable UNIX domain socket transport 13247a0395d0Smrg --enable-tcp-transport Enable TCP socket transport 13257a0395d0Smrg --enable-IPv6 Enable IPv6 support 13267a0395d0Smrg --enable-local-transport 13277a0395d0Smrg Enable os-specific local transport 13287a0395d0Smrg 13297a0395d0SmrgOptional Packages: 13307a0395d0Smrg --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 13317a0395d0Smrg --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 13327a0395d0Smrg --with-lint Use a lint-style source code checker (default: 13337a0395d0Smrg disabled) 13347a0395d0Smrg --with-release-version=STRING 13357a0395d0Smrg Use release version string in package name 13367a0395d0Smrg 13377a0395d0SmrgSome influential environment variables: 13387a0395d0Smrg CC C compiler command 13397a0395d0Smrg CFLAGS C compiler flags 13407a0395d0Smrg LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 13417a0395d0Smrg nonstandard directory <lib dir> 13427a0395d0Smrg LIBS libraries to pass to the linker, e.g. -l<library> 13437a0395d0Smrg CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 13447a0395d0Smrg you have headers in a nonstandard directory <include dir> 13457a0395d0Smrg CPP C preprocessor 13467a0395d0Smrg PKG_CONFIG path to pkg-config utility 13477a0395d0Smrg XAUTH_CFLAGS 13487a0395d0Smrg C compiler flags for XAUTH, overriding pkg-config 13497a0395d0Smrg XAUTH_LIBS linker flags for XAUTH, overriding pkg-config 13507a0395d0Smrg 13517a0395d0SmrgUse these variables to override the choices made by `configure' or to help 13527a0395d0Smrgit to find libraries and programs with nonstandard names/locations. 13537a0395d0Smrg 13547a0395d0SmrgReport bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 13557a0395d0Smrg_ACEOF 13567a0395d0Smrgac_status=$? 13577a0395d0Smrgfi 13587a0395d0Smrg 13597a0395d0Smrgif test "$ac_init_help" = "recursive"; then 13607a0395d0Smrg # If there are subdirs, report their specific --help. 13617a0395d0Smrg for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 13627a0395d0Smrg test -d "$ac_dir" || continue 13637a0395d0Smrg ac_builddir=. 13647a0395d0Smrg 13657a0395d0Smrgcase "$ac_dir" in 13667a0395d0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 13677a0395d0Smrg*) 13687a0395d0Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 13697a0395d0Smrg # A ".." for each directory in $ac_dir_suffix. 13707a0395d0Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 13717a0395d0Smrg case $ac_top_builddir_sub in 13727a0395d0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 13737a0395d0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 13747a0395d0Smrg esac ;; 13757a0395d0Smrgesac 13767a0395d0Smrgac_abs_top_builddir=$ac_pwd 13777a0395d0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 13787a0395d0Smrg# for backward compatibility: 13797a0395d0Smrgac_top_builddir=$ac_top_build_prefix 13807a0395d0Smrg 13817a0395d0Smrgcase $srcdir in 13827a0395d0Smrg .) # We are building in place. 13837a0395d0Smrg ac_srcdir=. 13847a0395d0Smrg ac_top_srcdir=$ac_top_builddir_sub 13857a0395d0Smrg ac_abs_top_srcdir=$ac_pwd ;; 13867a0395d0Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 13877a0395d0Smrg ac_srcdir=$srcdir$ac_dir_suffix; 13887a0395d0Smrg ac_top_srcdir=$srcdir 13897a0395d0Smrg ac_abs_top_srcdir=$srcdir ;; 13907a0395d0Smrg *) # Relative name. 13917a0395d0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 13927a0395d0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 13937a0395d0Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 13947a0395d0Smrgesac 13957a0395d0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 13967a0395d0Smrg 13977a0395d0Smrg cd "$ac_dir" || { ac_status=$?; continue; } 13987a0395d0Smrg # Check for guested configure. 13997a0395d0Smrg if test -f "$ac_srcdir/configure.gnu"; then 14007a0395d0Smrg echo && 14017a0395d0Smrg $SHELL "$ac_srcdir/configure.gnu" --help=recursive 14027a0395d0Smrg elif test -f "$ac_srcdir/configure"; then 14037a0395d0Smrg echo && 14047a0395d0Smrg $SHELL "$ac_srcdir/configure" --help=recursive 14057a0395d0Smrg else 14067a0395d0Smrg echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 14077a0395d0Smrg fi || ac_status=$? 14087a0395d0Smrg cd "$ac_pwd" || { ac_status=$?; break; } 14097a0395d0Smrg done 14107a0395d0Smrgfi 14117a0395d0Smrg 14127a0395d0Smrgtest -n "$ac_init_help" && exit $ac_status 14137a0395d0Smrgif $ac_init_version; then 14147a0395d0Smrg cat <<\_ACEOF 14157a0395d0Smrgxauth configure 1.0.3 14167a0395d0Smrggenerated by GNU Autoconf 2.61 14177a0395d0Smrg 14187a0395d0SmrgCopyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 14197a0395d0Smrg2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 14207a0395d0SmrgThis configure script is free software; the Free Software Foundation 14217a0395d0Smrggives unlimited permission to copy, distribute and modify it. 14227a0395d0Smrg_ACEOF 14237a0395d0Smrg exit 14247a0395d0Smrgfi 14257a0395d0Smrgcat >config.log <<_ACEOF 14267a0395d0SmrgThis file contains any messages produced by compilers while 14277a0395d0Smrgrunning configure, to aid debugging if configure makes a mistake. 14287a0395d0Smrg 14297a0395d0SmrgIt was created by xauth $as_me 1.0.3, which was 14307a0395d0Smrggenerated by GNU Autoconf 2.61. Invocation command line was 14317a0395d0Smrg 14327a0395d0Smrg $ $0 $@ 14337a0395d0Smrg 14347a0395d0Smrg_ACEOF 14357a0395d0Smrgexec 5>>config.log 14367a0395d0Smrg{ 14377a0395d0Smrgcat <<_ASUNAME 14387a0395d0Smrg## --------- ## 14397a0395d0Smrg## Platform. ## 14407a0395d0Smrg## --------- ## 14417a0395d0Smrg 14427a0395d0Smrghostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 14437a0395d0Smrguname -m = `(uname -m) 2>/dev/null || echo unknown` 14447a0395d0Smrguname -r = `(uname -r) 2>/dev/null || echo unknown` 14457a0395d0Smrguname -s = `(uname -s) 2>/dev/null || echo unknown` 14467a0395d0Smrguname -v = `(uname -v) 2>/dev/null || echo unknown` 14477a0395d0Smrg 14487a0395d0Smrg/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 14497a0395d0Smrg/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 14507a0395d0Smrg 14517a0395d0Smrg/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 14527a0395d0Smrg/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 14537a0395d0Smrg/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 14547a0395d0Smrg/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 14557a0395d0Smrg/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 14567a0395d0Smrg/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 14577a0395d0Smrg/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 14587a0395d0Smrg 14597a0395d0Smrg_ASUNAME 14607a0395d0Smrg 14617a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14627a0395d0Smrgfor as_dir in $PATH 14637a0395d0Smrgdo 14647a0395d0Smrg IFS=$as_save_IFS 14657a0395d0Smrg test -z "$as_dir" && as_dir=. 14667a0395d0Smrg echo "PATH: $as_dir" 14677a0395d0Smrgdone 14687a0395d0SmrgIFS=$as_save_IFS 14697a0395d0Smrg 14707a0395d0Smrg} >&5 14717a0395d0Smrg 14727a0395d0Smrgcat >&5 <<_ACEOF 14737a0395d0Smrg 14747a0395d0Smrg 14757a0395d0Smrg## ----------- ## 14767a0395d0Smrg## Core tests. ## 14777a0395d0Smrg## ----------- ## 14787a0395d0Smrg 14797a0395d0Smrg_ACEOF 14807a0395d0Smrg 14817a0395d0Smrg 14827a0395d0Smrg# Keep a trace of the command line. 14837a0395d0Smrg# Strip out --no-create and --no-recursion so they do not pile up. 14847a0395d0Smrg# Strip out --silent because we don't want to record it for future runs. 14857a0395d0Smrg# Also quote any args containing shell meta-characters. 14867a0395d0Smrg# Make two passes to allow for proper duplicate-argument suppression. 14877a0395d0Smrgac_configure_args= 14887a0395d0Smrgac_configure_args0= 14897a0395d0Smrgac_configure_args1= 14907a0395d0Smrgac_must_keep_next=false 14917a0395d0Smrgfor ac_pass in 1 2 14927a0395d0Smrgdo 14937a0395d0Smrg for ac_arg 14947a0395d0Smrg do 14957a0395d0Smrg case $ac_arg in 14967a0395d0Smrg -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 14977a0395d0Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 14987a0395d0Smrg | -silent | --silent | --silen | --sile | --sil) 14997a0395d0Smrg continue ;; 15007a0395d0Smrg *\'*) 15017a0395d0Smrg ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 15027a0395d0Smrg esac 15037a0395d0Smrg case $ac_pass in 15047a0395d0Smrg 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 15057a0395d0Smrg 2) 15067a0395d0Smrg ac_configure_args1="$ac_configure_args1 '$ac_arg'" 15077a0395d0Smrg if test $ac_must_keep_next = true; then 15087a0395d0Smrg ac_must_keep_next=false # Got value, back to normal. 15097a0395d0Smrg else 15107a0395d0Smrg case $ac_arg in 15117a0395d0Smrg *=* | --config-cache | -C | -disable-* | --disable-* \ 15127a0395d0Smrg | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 15137a0395d0Smrg | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 15147a0395d0Smrg | -with-* | --with-* | -without-* | --without-* | --x) 15157a0395d0Smrg case "$ac_configure_args0 " in 15167a0395d0Smrg "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 15177a0395d0Smrg esac 15187a0395d0Smrg ;; 15197a0395d0Smrg -* ) ac_must_keep_next=true ;; 15207a0395d0Smrg esac 15217a0395d0Smrg fi 15227a0395d0Smrg ac_configure_args="$ac_configure_args '$ac_arg'" 15237a0395d0Smrg ;; 15247a0395d0Smrg esac 15257a0395d0Smrg done 15267a0395d0Smrgdone 15277a0395d0Smrg$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 15287a0395d0Smrg$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 15297a0395d0Smrg 15307a0395d0Smrg# When interrupted or exit'd, cleanup temporary files, and complete 15317a0395d0Smrg# config.log. We remove comments because anyway the quotes in there 15327a0395d0Smrg# would cause problems or look ugly. 15337a0395d0Smrg# WARNING: Use '\'' to represent an apostrophe within the trap. 15347a0395d0Smrg# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 15357a0395d0Smrgtrap 'exit_status=$? 15367a0395d0Smrg # Save into config.log some information that might help in debugging. 15377a0395d0Smrg { 15387a0395d0Smrg echo 15397a0395d0Smrg 15407a0395d0Smrg cat <<\_ASBOX 15417a0395d0Smrg## ---------------- ## 15427a0395d0Smrg## Cache variables. ## 15437a0395d0Smrg## ---------------- ## 15447a0395d0Smrg_ASBOX 15457a0395d0Smrg echo 15467a0395d0Smrg # The following way of writing the cache mishandles newlines in values, 15477a0395d0Smrg( 15487a0395d0Smrg for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 15497a0395d0Smrg eval ac_val=\$$ac_var 15507a0395d0Smrg case $ac_val in #( 15517a0395d0Smrg *${as_nl}*) 15527a0395d0Smrg case $ac_var in #( 15537a0395d0Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 15547a0395d0Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 15557a0395d0Smrg esac 15567a0395d0Smrg case $ac_var in #( 15577a0395d0Smrg _ | IFS | as_nl) ;; #( 15587a0395d0Smrg *) $as_unset $ac_var ;; 15597a0395d0Smrg esac ;; 15607a0395d0Smrg esac 15617a0395d0Smrg done 15627a0395d0Smrg (set) 2>&1 | 15637a0395d0Smrg case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 15647a0395d0Smrg *${as_nl}ac_space=\ *) 15657a0395d0Smrg sed -n \ 15667a0395d0Smrg "s/'\''/'\''\\\\'\'''\''/g; 15677a0395d0Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 15687a0395d0Smrg ;; #( 15697a0395d0Smrg *) 15707a0395d0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 15717a0395d0Smrg ;; 15727a0395d0Smrg esac | 15737a0395d0Smrg sort 15747a0395d0Smrg) 15757a0395d0Smrg echo 15767a0395d0Smrg 15777a0395d0Smrg cat <<\_ASBOX 15787a0395d0Smrg## ----------------- ## 15797a0395d0Smrg## Output variables. ## 15807a0395d0Smrg## ----------------- ## 15817a0395d0Smrg_ASBOX 15827a0395d0Smrg echo 15837a0395d0Smrg for ac_var in $ac_subst_vars 15847a0395d0Smrg do 15857a0395d0Smrg eval ac_val=\$$ac_var 15867a0395d0Smrg case $ac_val in 15877a0395d0Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 15887a0395d0Smrg esac 15897a0395d0Smrg echo "$ac_var='\''$ac_val'\''" 15907a0395d0Smrg done | sort 15917a0395d0Smrg echo 15927a0395d0Smrg 15937a0395d0Smrg if test -n "$ac_subst_files"; then 15947a0395d0Smrg cat <<\_ASBOX 15957a0395d0Smrg## ------------------- ## 15967a0395d0Smrg## File substitutions. ## 15977a0395d0Smrg## ------------------- ## 15987a0395d0Smrg_ASBOX 15997a0395d0Smrg echo 16007a0395d0Smrg for ac_var in $ac_subst_files 16017a0395d0Smrg do 16027a0395d0Smrg eval ac_val=\$$ac_var 16037a0395d0Smrg case $ac_val in 16047a0395d0Smrg *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 16057a0395d0Smrg esac 16067a0395d0Smrg echo "$ac_var='\''$ac_val'\''" 16077a0395d0Smrg done | sort 16087a0395d0Smrg echo 16097a0395d0Smrg fi 16107a0395d0Smrg 16117a0395d0Smrg if test -s confdefs.h; then 16127a0395d0Smrg cat <<\_ASBOX 16137a0395d0Smrg## ----------- ## 16147a0395d0Smrg## confdefs.h. ## 16157a0395d0Smrg## ----------- ## 16167a0395d0Smrg_ASBOX 16177a0395d0Smrg echo 16187a0395d0Smrg cat confdefs.h 16197a0395d0Smrg echo 16207a0395d0Smrg fi 16217a0395d0Smrg test "$ac_signal" != 0 && 16227a0395d0Smrg echo "$as_me: caught signal $ac_signal" 16237a0395d0Smrg echo "$as_me: exit $exit_status" 16247a0395d0Smrg } >&5 16257a0395d0Smrg rm -f core *.core core.conftest.* && 16267a0395d0Smrg rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 16277a0395d0Smrg exit $exit_status 16287a0395d0Smrg' 0 16297a0395d0Smrgfor ac_signal in 1 2 13 15; do 16307a0395d0Smrg trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 16317a0395d0Smrgdone 16327a0395d0Smrgac_signal=0 16337a0395d0Smrg 16347a0395d0Smrg# confdefs.h avoids OS command line length limits that DEFS can exceed. 16357a0395d0Smrgrm -f -r conftest* confdefs.h 16367a0395d0Smrg 16377a0395d0Smrg# Predefined preprocessor variables. 16387a0395d0Smrg 16397a0395d0Smrgcat >>confdefs.h <<_ACEOF 16407a0395d0Smrg#define PACKAGE_NAME "$PACKAGE_NAME" 16417a0395d0Smrg_ACEOF 16427a0395d0Smrg 16437a0395d0Smrg 16447a0395d0Smrgcat >>confdefs.h <<_ACEOF 16457a0395d0Smrg#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 16467a0395d0Smrg_ACEOF 16477a0395d0Smrg 16487a0395d0Smrg 16497a0395d0Smrgcat >>confdefs.h <<_ACEOF 16507a0395d0Smrg#define PACKAGE_VERSION "$PACKAGE_VERSION" 16517a0395d0Smrg_ACEOF 16527a0395d0Smrg 16537a0395d0Smrg 16547a0395d0Smrgcat >>confdefs.h <<_ACEOF 16557a0395d0Smrg#define PACKAGE_STRING "$PACKAGE_STRING" 16567a0395d0Smrg_ACEOF 16577a0395d0Smrg 16587a0395d0Smrg 16597a0395d0Smrgcat >>confdefs.h <<_ACEOF 16607a0395d0Smrg#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 16617a0395d0Smrg_ACEOF 16627a0395d0Smrg 16637a0395d0Smrg 16647a0395d0Smrg# Let the site file select an alternate cache file if it wants to. 16657a0395d0Smrg# Prefer explicitly selected file to automatically selected ones. 16667a0395d0Smrgif test -n "$CONFIG_SITE"; then 16677a0395d0Smrg set x "$CONFIG_SITE" 16687a0395d0Smrgelif test "x$prefix" != xNONE; then 16697a0395d0Smrg set x "$prefix/share/config.site" "$prefix/etc/config.site" 16707a0395d0Smrgelse 16717a0395d0Smrg set x "$ac_default_prefix/share/config.site" \ 16727a0395d0Smrg "$ac_default_prefix/etc/config.site" 16737a0395d0Smrgfi 16747a0395d0Smrgshift 16757a0395d0Smrgfor ac_site_file 16767a0395d0Smrgdo 16777a0395d0Smrg if test -r "$ac_site_file"; then 16787a0395d0Smrg { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 16797a0395d0Smrgecho "$as_me: loading site script $ac_site_file" >&6;} 16807a0395d0Smrg sed 's/^/| /' "$ac_site_file" >&5 16817a0395d0Smrg . "$ac_site_file" 16827a0395d0Smrg fi 16837a0395d0Smrgdone 16847a0395d0Smrg 16857a0395d0Smrgif test -r "$cache_file"; then 16867a0395d0Smrg # Some versions of bash will fail to source /dev/null (special 16877a0395d0Smrg # files actually), so we avoid doing that. 16887a0395d0Smrg if test -f "$cache_file"; then 16897a0395d0Smrg { echo "$as_me:$LINENO: loading cache $cache_file" >&5 16907a0395d0Smrgecho "$as_me: loading cache $cache_file" >&6;} 16917a0395d0Smrg case $cache_file in 16927a0395d0Smrg [\\/]* | ?:[\\/]* ) . "$cache_file";; 16937a0395d0Smrg *) . "./$cache_file";; 16947a0395d0Smrg esac 16957a0395d0Smrg fi 16967a0395d0Smrgelse 16977a0395d0Smrg { echo "$as_me:$LINENO: creating cache $cache_file" >&5 16987a0395d0Smrgecho "$as_me: creating cache $cache_file" >&6;} 16997a0395d0Smrg >$cache_file 17007a0395d0Smrgfi 17017a0395d0Smrg 17027a0395d0Smrg# Check that the precious variables saved in the cache have kept the same 17037a0395d0Smrg# value. 17047a0395d0Smrgac_cache_corrupted=false 17057a0395d0Smrgfor ac_var in $ac_precious_vars; do 17067a0395d0Smrg eval ac_old_set=\$ac_cv_env_${ac_var}_set 17077a0395d0Smrg eval ac_new_set=\$ac_env_${ac_var}_set 17087a0395d0Smrg eval ac_old_val=\$ac_cv_env_${ac_var}_value 17097a0395d0Smrg eval ac_new_val=\$ac_env_${ac_var}_value 17107a0395d0Smrg case $ac_old_set,$ac_new_set in 17117a0395d0Smrg set,) 17127a0395d0Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 17137a0395d0Smrgecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 17147a0395d0Smrg ac_cache_corrupted=: ;; 17157a0395d0Smrg ,set) 17167a0395d0Smrg { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 17177a0395d0Smrgecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 17187a0395d0Smrg ac_cache_corrupted=: ;; 17197a0395d0Smrg ,);; 17207a0395d0Smrg *) 17217a0395d0Smrg if test "x$ac_old_val" != "x$ac_new_val"; then 17227a0395d0Smrg { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 17237a0395d0Smrgecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 17247a0395d0Smrg { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 17257a0395d0Smrgecho "$as_me: former value: $ac_old_val" >&2;} 17267a0395d0Smrg { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 17277a0395d0Smrgecho "$as_me: current value: $ac_new_val" >&2;} 17287a0395d0Smrg ac_cache_corrupted=: 17297a0395d0Smrg fi;; 17307a0395d0Smrg esac 17317a0395d0Smrg # Pass precious variables to config.status. 17327a0395d0Smrg if test "$ac_new_set" = set; then 17337a0395d0Smrg case $ac_new_val in 17347a0395d0Smrg *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 17357a0395d0Smrg *) ac_arg=$ac_var=$ac_new_val ;; 17367a0395d0Smrg esac 17377a0395d0Smrg case " $ac_configure_args " in 17387a0395d0Smrg *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 17397a0395d0Smrg *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 17407a0395d0Smrg esac 17417a0395d0Smrg fi 17427a0395d0Smrgdone 17437a0395d0Smrgif $ac_cache_corrupted; then 17447a0395d0Smrg { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 17457a0395d0Smrgecho "$as_me: error: changes in the environment can compromise the build" >&2;} 17467a0395d0Smrg { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 17477a0395d0Smrgecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 17487a0395d0Smrg { (exit 1); exit 1; }; } 17497a0395d0Smrgfi 17507a0395d0Smrg 17517a0395d0Smrg 17527a0395d0Smrg 17537a0395d0Smrg 17547a0395d0Smrg 17557a0395d0Smrg 17567a0395d0Smrg 17577a0395d0Smrg 17587a0395d0Smrg 17597a0395d0Smrg 17607a0395d0Smrg 17617a0395d0Smrg 17627a0395d0Smrg 17637a0395d0Smrg 17647a0395d0Smrg 17657a0395d0Smrg 17667a0395d0Smrg 17677a0395d0Smrg 17687a0395d0Smrg 17697a0395d0Smrg 17707a0395d0Smrg 17717a0395d0Smrg 17727a0395d0Smrg 17737a0395d0Smrg 17747a0395d0Smrg 17757a0395d0Smrgac_ext=c 17767a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 17777a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17787a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17797a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 17807a0395d0Smrg 17817a0395d0Smrg 17827a0395d0Smrgam__api_version='1.10' 17837a0395d0Smrg 17847a0395d0Smrgac_aux_dir= 17857a0395d0Smrgfor ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 17867a0395d0Smrg if test -f "$ac_dir/install-sh"; then 17877a0395d0Smrg ac_aux_dir=$ac_dir 17887a0395d0Smrg ac_install_sh="$ac_aux_dir/install-sh -c" 17897a0395d0Smrg break 17907a0395d0Smrg elif test -f "$ac_dir/install.sh"; then 17917a0395d0Smrg ac_aux_dir=$ac_dir 17927a0395d0Smrg ac_install_sh="$ac_aux_dir/install.sh -c" 17937a0395d0Smrg break 17947a0395d0Smrg elif test -f "$ac_dir/shtool"; then 17957a0395d0Smrg ac_aux_dir=$ac_dir 17967a0395d0Smrg ac_install_sh="$ac_aux_dir/shtool install -c" 17977a0395d0Smrg break 17987a0395d0Smrg fi 17997a0395d0Smrgdone 18007a0395d0Smrgif test -z "$ac_aux_dir"; then 18017a0395d0Smrg { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 18027a0395d0Smrgecho "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 18037a0395d0Smrg { (exit 1); exit 1; }; } 18047a0395d0Smrgfi 18057a0395d0Smrg 18067a0395d0Smrg# These three variables are undocumented and unsupported, 18077a0395d0Smrg# and are intended to be withdrawn in a future Autoconf release. 18087a0395d0Smrg# They can cause serious problems if a builder's source tree is in a directory 18097a0395d0Smrg# whose full name contains unusual characters. 18107a0395d0Smrgac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 18117a0395d0Smrgac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 18127a0395d0Smrgac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 18137a0395d0Smrg 18147a0395d0Smrg 18157a0395d0Smrg# Find a good install program. We prefer a C program (faster), 18167a0395d0Smrg# so one script is as good as another. But avoid the broken or 18177a0395d0Smrg# incompatible versions: 18187a0395d0Smrg# SysV /etc/install, /usr/sbin/install 18197a0395d0Smrg# SunOS /usr/etc/install 18207a0395d0Smrg# IRIX /sbin/install 18217a0395d0Smrg# AIX /bin/install 18227a0395d0Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 18237a0395d0Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 18247a0395d0Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 18257a0395d0Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 18267a0395d0Smrg# OS/2's system install, which has a completely different semantic 18277a0395d0Smrg# ./install, which can be erroneously created by make from ./install.sh. 18287a0395d0Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 18297a0395d0Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 18307a0395d0Smrgif test -z "$INSTALL"; then 18317a0395d0Smrgif test "${ac_cv_path_install+set}" = set; then 18327a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 18337a0395d0Smrgelse 18347a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 18357a0395d0Smrgfor as_dir in $PATH 18367a0395d0Smrgdo 18377a0395d0Smrg IFS=$as_save_IFS 18387a0395d0Smrg test -z "$as_dir" && as_dir=. 18397a0395d0Smrg # Account for people who put trailing slashes in PATH elements. 18407a0395d0Smrgcase $as_dir/ in 18417a0395d0Smrg ./ | .// | /cC/* | \ 18427a0395d0Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 18437a0395d0Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 18447a0395d0Smrg /usr/ucb/* ) ;; 18457a0395d0Smrg *) 18467a0395d0Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 18477a0395d0Smrg # Don't use installbsd from OSF since it installs stuff as root 18487a0395d0Smrg # by default. 18497a0395d0Smrg for ac_prog in ginstall scoinst install; do 18507a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 18517a0395d0Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 18527a0395d0Smrg if test $ac_prog = install && 18537a0395d0Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 18547a0395d0Smrg # AIX install. It has an incompatible calling convention. 18557a0395d0Smrg : 18567a0395d0Smrg elif test $ac_prog = install && 18577a0395d0Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 18587a0395d0Smrg # program-specific install script used by HP pwplus--don't use. 18597a0395d0Smrg : 18607a0395d0Smrg else 18617a0395d0Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 18627a0395d0Smrg break 3 18637a0395d0Smrg fi 18647a0395d0Smrg fi 18657a0395d0Smrg done 18667a0395d0Smrg done 18677a0395d0Smrg ;; 18687a0395d0Smrgesac 18697a0395d0Smrgdone 18707a0395d0SmrgIFS=$as_save_IFS 18717a0395d0Smrg 18727a0395d0Smrg 18737a0395d0Smrgfi 18747a0395d0Smrg if test "${ac_cv_path_install+set}" = set; then 18757a0395d0Smrg INSTALL=$ac_cv_path_install 18767a0395d0Smrg else 18777a0395d0Smrg # As a last resort, use the slow shell script. Don't cache a 18787a0395d0Smrg # value for INSTALL within a source directory, because that will 18797a0395d0Smrg # break other packages using the cache if that directory is 18807a0395d0Smrg # removed, or if the value is a relative name. 18817a0395d0Smrg INSTALL=$ac_install_sh 18827a0395d0Smrg fi 18837a0395d0Smrgfi 18847a0395d0Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 18857a0395d0Smrgecho "${ECHO_T}$INSTALL" >&6; } 18867a0395d0Smrg 18877a0395d0Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 18887a0395d0Smrg# It thinks the first close brace ends the variable substitution. 18897a0395d0Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 18907a0395d0Smrg 18917a0395d0Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 18927a0395d0Smrg 18937a0395d0Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 18947a0395d0Smrg 18957a0395d0Smrg{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 18967a0395d0Smrgecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } 18977a0395d0Smrg# Just in case 18987a0395d0Smrgsleep 1 18997a0395d0Smrgecho timestamp > conftest.file 19007a0395d0Smrg# Do `set' in a subshell so we don't clobber the current shell's 19017a0395d0Smrg# arguments. Must try -L first in case configure is actually a 19027a0395d0Smrg# symlink; some systems play weird games with the mod time of symlinks 19037a0395d0Smrg# (eg FreeBSD returns the mod time of the symlink's containing 19047a0395d0Smrg# directory). 19057a0395d0Smrgif ( 19067a0395d0Smrg set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 19077a0395d0Smrg if test "$*" = "X"; then 19087a0395d0Smrg # -L didn't work. 19097a0395d0Smrg set X `ls -t $srcdir/configure conftest.file` 19107a0395d0Smrg fi 19117a0395d0Smrg rm -f conftest.file 19127a0395d0Smrg if test "$*" != "X $srcdir/configure conftest.file" \ 19137a0395d0Smrg && test "$*" != "X conftest.file $srcdir/configure"; then 19147a0395d0Smrg 19157a0395d0Smrg # If neither matched, then we have a broken ls. This can happen 19167a0395d0Smrg # if, for instance, CONFIG_SHELL is bash and it inherits a 19177a0395d0Smrg # broken ls alias from the environment. This has actually 19187a0395d0Smrg # happened. Such a system could not be considered "sane". 19197a0395d0Smrg { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 19207a0395d0Smrgalias in your environment" >&5 19217a0395d0Smrgecho "$as_me: error: ls -t appears to fail. Make sure there is not a broken 19227a0395d0Smrgalias in your environment" >&2;} 19237a0395d0Smrg { (exit 1); exit 1; }; } 19247a0395d0Smrg fi 19257a0395d0Smrg 19267a0395d0Smrg test "$2" = conftest.file 19277a0395d0Smrg ) 19287a0395d0Smrgthen 19297a0395d0Smrg # Ok. 19307a0395d0Smrg : 19317a0395d0Smrgelse 19327a0395d0Smrg { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 19337a0395d0SmrgCheck your system clock" >&5 19347a0395d0Smrgecho "$as_me: error: newly created file is older than distributed files! 19357a0395d0SmrgCheck your system clock" >&2;} 19367a0395d0Smrg { (exit 1); exit 1; }; } 19377a0395d0Smrgfi 19387a0395d0Smrg{ echo "$as_me:$LINENO: result: yes" >&5 19397a0395d0Smrgecho "${ECHO_T}yes" >&6; } 19407a0395d0Smrgtest "$program_prefix" != NONE && 19417a0395d0Smrg program_transform_name="s&^&$program_prefix&;$program_transform_name" 19427a0395d0Smrg# Use a double $ so make ignores it. 19437a0395d0Smrgtest "$program_suffix" != NONE && 19447a0395d0Smrg program_transform_name="s&\$&$program_suffix&;$program_transform_name" 19457a0395d0Smrg# Double any \ or $. echo might interpret backslashes. 19467a0395d0Smrg# By default was `s,x,x', remove it if useless. 19477a0395d0Smrgcat <<\_ACEOF >conftest.sed 19487a0395d0Smrgs/[\\$]/&&/g;s/;s,x,x,$// 19497a0395d0Smrg_ACEOF 19507a0395d0Smrgprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed` 19517a0395d0Smrgrm -f conftest.sed 19527a0395d0Smrg 19537a0395d0Smrg# expand $ac_aux_dir to an absolute path 19547a0395d0Smrgam_aux_dir=`cd $ac_aux_dir && pwd` 19557a0395d0Smrg 19567a0395d0Smrgtest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 19577a0395d0Smrg# Use eval to expand $SHELL 19587a0395d0Smrgif eval "$MISSING --run true"; then 19597a0395d0Smrg am_missing_run="$MISSING --run " 19607a0395d0Smrgelse 19617a0395d0Smrg am_missing_run= 19627a0395d0Smrg { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 19637a0395d0Smrgecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 19647a0395d0Smrgfi 19657a0395d0Smrg 19667a0395d0Smrg{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 19677a0395d0Smrgecho $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } 19687a0395d0Smrgif test -z "$MKDIR_P"; then 19697a0395d0Smrg if test "${ac_cv_path_mkdir+set}" = set; then 19707a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 19717a0395d0Smrgelse 19727a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 19737a0395d0Smrgfor as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 19747a0395d0Smrgdo 19757a0395d0Smrg IFS=$as_save_IFS 19767a0395d0Smrg test -z "$as_dir" && as_dir=. 19777a0395d0Smrg for ac_prog in mkdir gmkdir; do 19787a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 19797a0395d0Smrg { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 19807a0395d0Smrg case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 19817a0395d0Smrg 'mkdir (GNU coreutils) '* | \ 19827a0395d0Smrg 'mkdir (coreutils) '* | \ 19837a0395d0Smrg 'mkdir (fileutils) '4.1*) 19847a0395d0Smrg ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 19857a0395d0Smrg break 3;; 19867a0395d0Smrg esac 19877a0395d0Smrg done 19887a0395d0Smrg done 19897a0395d0Smrgdone 19907a0395d0SmrgIFS=$as_save_IFS 19917a0395d0Smrg 19927a0395d0Smrgfi 19937a0395d0Smrg 19947a0395d0Smrg if test "${ac_cv_path_mkdir+set}" = set; then 19957a0395d0Smrg MKDIR_P="$ac_cv_path_mkdir -p" 19967a0395d0Smrg else 19977a0395d0Smrg # As a last resort, use the slow shell script. Don't cache a 19987a0395d0Smrg # value for MKDIR_P within a source directory, because that will 19997a0395d0Smrg # break other packages using the cache if that directory is 20007a0395d0Smrg # removed, or if the value is a relative name. 20017a0395d0Smrg test -d ./--version && rmdir ./--version 20027a0395d0Smrg MKDIR_P="$ac_install_sh -d" 20037a0395d0Smrg fi 20047a0395d0Smrgfi 20057a0395d0Smrg{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 20067a0395d0Smrgecho "${ECHO_T}$MKDIR_P" >&6; } 20077a0395d0Smrg 20087a0395d0Smrgmkdir_p="$MKDIR_P" 20097a0395d0Smrgcase $mkdir_p in 20107a0395d0Smrg [\\/$]* | ?:[\\/]*) ;; 20117a0395d0Smrg */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 20127a0395d0Smrgesac 20137a0395d0Smrg 20147a0395d0Smrgfor ac_prog in gawk mawk nawk awk 20157a0395d0Smrgdo 20167a0395d0Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 20177a0395d0Smrgset dummy $ac_prog; ac_word=$2 20187a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 20197a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 20207a0395d0Smrgif test "${ac_cv_prog_AWK+set}" = set; then 20217a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 20227a0395d0Smrgelse 20237a0395d0Smrg if test -n "$AWK"; then 20247a0395d0Smrg ac_cv_prog_AWK="$AWK" # Let the user override the test. 20257a0395d0Smrgelse 20267a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20277a0395d0Smrgfor as_dir in $PATH 20287a0395d0Smrgdo 20297a0395d0Smrg IFS=$as_save_IFS 20307a0395d0Smrg test -z "$as_dir" && as_dir=. 20317a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 20327a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 20337a0395d0Smrg ac_cv_prog_AWK="$ac_prog" 20347a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20357a0395d0Smrg break 2 20367a0395d0Smrg fi 20377a0395d0Smrgdone 20387a0395d0Smrgdone 20397a0395d0SmrgIFS=$as_save_IFS 20407a0395d0Smrg 20417a0395d0Smrgfi 20427a0395d0Smrgfi 20437a0395d0SmrgAWK=$ac_cv_prog_AWK 20447a0395d0Smrgif test -n "$AWK"; then 20457a0395d0Smrg { echo "$as_me:$LINENO: result: $AWK" >&5 20467a0395d0Smrgecho "${ECHO_T}$AWK" >&6; } 20477a0395d0Smrgelse 20487a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 20497a0395d0Smrgecho "${ECHO_T}no" >&6; } 20507a0395d0Smrgfi 20517a0395d0Smrg 20527a0395d0Smrg 20537a0395d0Smrg test -n "$AWK" && break 20547a0395d0Smrgdone 20557a0395d0Smrg 20567a0395d0Smrg{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 20577a0395d0Smrgecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 20587a0395d0Smrgset x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 20597a0395d0Smrgif { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 20607a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 20617a0395d0Smrgelse 20627a0395d0Smrg cat >conftest.make <<\_ACEOF 20637a0395d0SmrgSHELL = /bin/sh 20647a0395d0Smrgall: 20657a0395d0Smrg @echo '@@@%%%=$(MAKE)=@@@%%%' 20667a0395d0Smrg_ACEOF 20677a0395d0Smrg# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 20687a0395d0Smrgcase `${MAKE-make} -f conftest.make 2>/dev/null` in 20697a0395d0Smrg *@@@%%%=?*=@@@%%%*) 20707a0395d0Smrg eval ac_cv_prog_make_${ac_make}_set=yes;; 20717a0395d0Smrg *) 20727a0395d0Smrg eval ac_cv_prog_make_${ac_make}_set=no;; 20737a0395d0Smrgesac 20747a0395d0Smrgrm -f conftest.make 20757a0395d0Smrgfi 20767a0395d0Smrgif eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 20777a0395d0Smrg { echo "$as_me:$LINENO: result: yes" >&5 20787a0395d0Smrgecho "${ECHO_T}yes" >&6; } 20797a0395d0Smrg SET_MAKE= 20807a0395d0Smrgelse 20817a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 20827a0395d0Smrgecho "${ECHO_T}no" >&6; } 20837a0395d0Smrg SET_MAKE="MAKE=${MAKE-make}" 20847a0395d0Smrgfi 20857a0395d0Smrg 20867a0395d0Smrgrm -rf .tst 2>/dev/null 20877a0395d0Smrgmkdir .tst 2>/dev/null 20887a0395d0Smrgif test -d .tst; then 20897a0395d0Smrg am__leading_dot=. 20907a0395d0Smrgelse 20917a0395d0Smrg am__leading_dot=_ 20927a0395d0Smrgfi 20937a0395d0Smrgrmdir .tst 2>/dev/null 20947a0395d0Smrg 20957a0395d0Smrgif test "`cd $srcdir && pwd`" != "`pwd`"; then 20967a0395d0Smrg # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 20977a0395d0Smrg # is not polluted with repeated "-I." 20987a0395d0Smrg am__isrc=' -I$(srcdir)' 20997a0395d0Smrg # test to see if srcdir already configured 21007a0395d0Smrg if test -f $srcdir/config.status; then 21017a0395d0Smrg { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 21027a0395d0Smrgecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 21037a0395d0Smrg { (exit 1); exit 1; }; } 21047a0395d0Smrg fi 21057a0395d0Smrgfi 21067a0395d0Smrg 21077a0395d0Smrg# test whether we have cygpath 21087a0395d0Smrgif test -z "$CYGPATH_W"; then 21097a0395d0Smrg if (cygpath --version) >/dev/null 2>/dev/null; then 21107a0395d0Smrg CYGPATH_W='cygpath -w' 21117a0395d0Smrg else 21127a0395d0Smrg CYGPATH_W=echo 21137a0395d0Smrg fi 21147a0395d0Smrgfi 21157a0395d0Smrg 21167a0395d0Smrg 21177a0395d0Smrg# Define the identity of the package. 21187a0395d0Smrg PACKAGE='xauth' 21197a0395d0Smrg VERSION='1.0.3' 21207a0395d0Smrg 21217a0395d0Smrg 21227a0395d0Smrgcat >>confdefs.h <<_ACEOF 21237a0395d0Smrg#define PACKAGE "$PACKAGE" 21247a0395d0Smrg_ACEOF 21257a0395d0Smrg 21267a0395d0Smrg 21277a0395d0Smrgcat >>confdefs.h <<_ACEOF 21287a0395d0Smrg#define VERSION "$VERSION" 21297a0395d0Smrg_ACEOF 21307a0395d0Smrg 21317a0395d0Smrg# Some tools Automake needs. 21327a0395d0Smrg 21337a0395d0SmrgACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 21347a0395d0Smrg 21357a0395d0Smrg 21367a0395d0SmrgAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 21377a0395d0Smrg 21387a0395d0Smrg 21397a0395d0SmrgAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 21407a0395d0Smrg 21417a0395d0Smrg 21427a0395d0SmrgAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 21437a0395d0Smrg 21447a0395d0Smrg 21457a0395d0SmrgMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 21467a0395d0Smrg 21477a0395d0Smrginstall_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 21487a0395d0Smrg 21497a0395d0Smrg# Installed binaries are usually stripped using `strip' when the user 21507a0395d0Smrg# run `make install-strip'. However `strip' might not be the right 21517a0395d0Smrg# tool to use in cross-compilation environments, therefore Automake 21527a0395d0Smrg# will honor the `STRIP' environment variable to overrule this program. 21537a0395d0Smrgif test "$cross_compiling" != no; then 21547a0395d0Smrg if test -n "$ac_tool_prefix"; then 21557a0395d0Smrg # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 21567a0395d0Smrgset dummy ${ac_tool_prefix}strip; ac_word=$2 21577a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 21587a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 21597a0395d0Smrgif test "${ac_cv_prog_STRIP+set}" = set; then 21607a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 21617a0395d0Smrgelse 21627a0395d0Smrg if test -n "$STRIP"; then 21637a0395d0Smrg ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 21647a0395d0Smrgelse 21657a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21667a0395d0Smrgfor as_dir in $PATH 21677a0395d0Smrgdo 21687a0395d0Smrg IFS=$as_save_IFS 21697a0395d0Smrg test -z "$as_dir" && as_dir=. 21707a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 21717a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 21727a0395d0Smrg ac_cv_prog_STRIP="${ac_tool_prefix}strip" 21737a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 21747a0395d0Smrg break 2 21757a0395d0Smrg fi 21767a0395d0Smrgdone 21777a0395d0Smrgdone 21787a0395d0SmrgIFS=$as_save_IFS 21797a0395d0Smrg 21807a0395d0Smrgfi 21817a0395d0Smrgfi 21827a0395d0SmrgSTRIP=$ac_cv_prog_STRIP 21837a0395d0Smrgif test -n "$STRIP"; then 21847a0395d0Smrg { echo "$as_me:$LINENO: result: $STRIP" >&5 21857a0395d0Smrgecho "${ECHO_T}$STRIP" >&6; } 21867a0395d0Smrgelse 21877a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 21887a0395d0Smrgecho "${ECHO_T}no" >&6; } 21897a0395d0Smrgfi 21907a0395d0Smrg 21917a0395d0Smrg 21927a0395d0Smrgfi 21937a0395d0Smrgif test -z "$ac_cv_prog_STRIP"; then 21947a0395d0Smrg ac_ct_STRIP=$STRIP 21957a0395d0Smrg # Extract the first word of "strip", so it can be a program name with args. 21967a0395d0Smrgset dummy strip; ac_word=$2 21977a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 21987a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 21997a0395d0Smrgif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 22007a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 22017a0395d0Smrgelse 22027a0395d0Smrg if test -n "$ac_ct_STRIP"; then 22037a0395d0Smrg ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 22047a0395d0Smrgelse 22057a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 22067a0395d0Smrgfor as_dir in $PATH 22077a0395d0Smrgdo 22087a0395d0Smrg IFS=$as_save_IFS 22097a0395d0Smrg test -z "$as_dir" && as_dir=. 22107a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 22117a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 22127a0395d0Smrg ac_cv_prog_ac_ct_STRIP="strip" 22137a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 22147a0395d0Smrg break 2 22157a0395d0Smrg fi 22167a0395d0Smrgdone 22177a0395d0Smrgdone 22187a0395d0SmrgIFS=$as_save_IFS 22197a0395d0Smrg 22207a0395d0Smrgfi 22217a0395d0Smrgfi 22227a0395d0Smrgac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 22237a0395d0Smrgif test -n "$ac_ct_STRIP"; then 22247a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 22257a0395d0Smrgecho "${ECHO_T}$ac_ct_STRIP" >&6; } 22267a0395d0Smrgelse 22277a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 22287a0395d0Smrgecho "${ECHO_T}no" >&6; } 22297a0395d0Smrgfi 22307a0395d0Smrg 22317a0395d0Smrg if test "x$ac_ct_STRIP" = x; then 22327a0395d0Smrg STRIP=":" 22337a0395d0Smrg else 22347a0395d0Smrg case $cross_compiling:$ac_tool_warned in 22357a0395d0Smrgyes:) 22367a0395d0Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 22377a0395d0Smrgwhose name does not start with the host triplet. If you think this 22387a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 22397a0395d0Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 22407a0395d0Smrgwhose name does not start with the host triplet. If you think this 22417a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 22427a0395d0Smrgac_tool_warned=yes ;; 22437a0395d0Smrgesac 22447a0395d0Smrg STRIP=$ac_ct_STRIP 22457a0395d0Smrg fi 22467a0395d0Smrgelse 22477a0395d0Smrg STRIP="$ac_cv_prog_STRIP" 22487a0395d0Smrgfi 22497a0395d0Smrg 22507a0395d0Smrgfi 22517a0395d0SmrgINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 22527a0395d0Smrg 22537a0395d0Smrg# We need awk for the "check" target. The system "awk" is bad on 22547a0395d0Smrg# some platforms. 22557a0395d0Smrg# Always define AMTAR for backward compatibility. 22567a0395d0Smrg 22577a0395d0SmrgAMTAR=${AMTAR-"${am_missing_run}tar"} 22587a0395d0Smrg 22597a0395d0Smrgam__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 22607a0395d0Smrg 22617a0395d0Smrg 22627a0395d0Smrg 22637a0395d0Smrg 22647a0395d0Smrg 22657a0395d0Smrg{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 22667a0395d0Smrgecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } 22677a0395d0Smrg # Check whether --enable-maintainer-mode was given. 22687a0395d0Smrgif test "${enable_maintainer_mode+set}" = set; then 22697a0395d0Smrg enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 22707a0395d0Smrgelse 22717a0395d0Smrg USE_MAINTAINER_MODE=no 22727a0395d0Smrgfi 22737a0395d0Smrg 22747a0395d0Smrg { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 22757a0395d0Smrgecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } 22767a0395d0Smrg if test $USE_MAINTAINER_MODE = yes; then 22777a0395d0Smrg MAINTAINER_MODE_TRUE= 22787a0395d0Smrg MAINTAINER_MODE_FALSE='#' 22797a0395d0Smrgelse 22807a0395d0Smrg MAINTAINER_MODE_TRUE='#' 22817a0395d0Smrg MAINTAINER_MODE_FALSE= 22827a0395d0Smrgfi 22837a0395d0Smrg 22847a0395d0Smrg MAINT=$MAINTAINER_MODE_TRUE 22857a0395d0Smrg 22867a0395d0Smrg 22877a0395d0Smrg 22887a0395d0Smrgac_config_headers="$ac_config_headers config.h" 22897a0395d0Smrg 22907a0395d0Smrg 22917a0395d0Smrg# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro 22927a0395d0Smrg 22937a0395d0Smrg 22947a0395d0Smrg XORG_MACROS_needed_version=1.1 22957a0395d0Smrg XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'` 22967a0395d0Smrg XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 22977a0395d0Smrg { echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5 22987a0395d0Smrgecho $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; } 22997a0395d0Smrg XORG_MACROS_version=1.1.6 23007a0395d0Smrg XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'` 23017a0395d0Smrg XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'` 23027a0395d0Smrg if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then 23037a0395d0Smrg { { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5 23047a0395d0Smrgecho "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;} 23057a0395d0Smrg { (exit 1); exit 1; }; } 23067a0395d0Smrg fi 23077a0395d0Smrg if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then 23087a0395d0Smrg { { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5 23097a0395d0Smrgecho "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;} 23107a0395d0Smrg { (exit 1); exit 1; }; } 23117a0395d0Smrg fi 23127a0395d0Smrg { echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5 23137a0395d0Smrgecho "${ECHO_T}yes, $XORG_MACROS_version" >&6; } 23147a0395d0Smrg 23157a0395d0Smrg 23167a0395d0Smrgac_ext=c 23177a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 23187a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23197a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23207a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 23217a0395d0Smrgif test -n "$ac_tool_prefix"; then 23227a0395d0Smrg # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 23237a0395d0Smrgset dummy ${ac_tool_prefix}gcc; ac_word=$2 23247a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 23257a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 23267a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 23277a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23287a0395d0Smrgelse 23297a0395d0Smrg if test -n "$CC"; then 23307a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 23317a0395d0Smrgelse 23327a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23337a0395d0Smrgfor as_dir in $PATH 23347a0395d0Smrgdo 23357a0395d0Smrg IFS=$as_save_IFS 23367a0395d0Smrg test -z "$as_dir" && as_dir=. 23377a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23387a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23397a0395d0Smrg ac_cv_prog_CC="${ac_tool_prefix}gcc" 23407a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 23417a0395d0Smrg break 2 23427a0395d0Smrg fi 23437a0395d0Smrgdone 23447a0395d0Smrgdone 23457a0395d0SmrgIFS=$as_save_IFS 23467a0395d0Smrg 23477a0395d0Smrgfi 23487a0395d0Smrgfi 23497a0395d0SmrgCC=$ac_cv_prog_CC 23507a0395d0Smrgif test -n "$CC"; then 23517a0395d0Smrg { echo "$as_me:$LINENO: result: $CC" >&5 23527a0395d0Smrgecho "${ECHO_T}$CC" >&6; } 23537a0395d0Smrgelse 23547a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 23557a0395d0Smrgecho "${ECHO_T}no" >&6; } 23567a0395d0Smrgfi 23577a0395d0Smrg 23587a0395d0Smrg 23597a0395d0Smrgfi 23607a0395d0Smrgif test -z "$ac_cv_prog_CC"; then 23617a0395d0Smrg ac_ct_CC=$CC 23627a0395d0Smrg # Extract the first word of "gcc", so it can be a program name with args. 23637a0395d0Smrgset dummy gcc; ac_word=$2 23647a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 23657a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 23667a0395d0Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 23677a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 23687a0395d0Smrgelse 23697a0395d0Smrg if test -n "$ac_ct_CC"; then 23707a0395d0Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 23717a0395d0Smrgelse 23727a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 23737a0395d0Smrgfor as_dir in $PATH 23747a0395d0Smrgdo 23757a0395d0Smrg IFS=$as_save_IFS 23767a0395d0Smrg test -z "$as_dir" && as_dir=. 23777a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 23787a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 23797a0395d0Smrg ac_cv_prog_ac_ct_CC="gcc" 23807a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 23817a0395d0Smrg break 2 23827a0395d0Smrg fi 23837a0395d0Smrgdone 23847a0395d0Smrgdone 23857a0395d0SmrgIFS=$as_save_IFS 23867a0395d0Smrg 23877a0395d0Smrgfi 23887a0395d0Smrgfi 23897a0395d0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 23907a0395d0Smrgif test -n "$ac_ct_CC"; then 23917a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 23927a0395d0Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 23937a0395d0Smrgelse 23947a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 23957a0395d0Smrgecho "${ECHO_T}no" >&6; } 23967a0395d0Smrgfi 23977a0395d0Smrg 23987a0395d0Smrg if test "x$ac_ct_CC" = x; then 23997a0395d0Smrg CC="" 24007a0395d0Smrg else 24017a0395d0Smrg case $cross_compiling:$ac_tool_warned in 24027a0395d0Smrgyes:) 24037a0395d0Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 24047a0395d0Smrgwhose name does not start with the host triplet. If you think this 24057a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 24067a0395d0Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 24077a0395d0Smrgwhose name does not start with the host triplet. If you think this 24087a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 24097a0395d0Smrgac_tool_warned=yes ;; 24107a0395d0Smrgesac 24117a0395d0Smrg CC=$ac_ct_CC 24127a0395d0Smrg fi 24137a0395d0Smrgelse 24147a0395d0Smrg CC="$ac_cv_prog_CC" 24157a0395d0Smrgfi 24167a0395d0Smrg 24177a0395d0Smrgif test -z "$CC"; then 24187a0395d0Smrg if test -n "$ac_tool_prefix"; then 24197a0395d0Smrg # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 24207a0395d0Smrgset dummy ${ac_tool_prefix}cc; ac_word=$2 24217a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 24227a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 24237a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 24247a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 24257a0395d0Smrgelse 24267a0395d0Smrg if test -n "$CC"; then 24277a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 24287a0395d0Smrgelse 24297a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24307a0395d0Smrgfor as_dir in $PATH 24317a0395d0Smrgdo 24327a0395d0Smrg IFS=$as_save_IFS 24337a0395d0Smrg test -z "$as_dir" && as_dir=. 24347a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24357a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24367a0395d0Smrg ac_cv_prog_CC="${ac_tool_prefix}cc" 24377a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 24387a0395d0Smrg break 2 24397a0395d0Smrg fi 24407a0395d0Smrgdone 24417a0395d0Smrgdone 24427a0395d0SmrgIFS=$as_save_IFS 24437a0395d0Smrg 24447a0395d0Smrgfi 24457a0395d0Smrgfi 24467a0395d0SmrgCC=$ac_cv_prog_CC 24477a0395d0Smrgif test -n "$CC"; then 24487a0395d0Smrg { echo "$as_me:$LINENO: result: $CC" >&5 24497a0395d0Smrgecho "${ECHO_T}$CC" >&6; } 24507a0395d0Smrgelse 24517a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 24527a0395d0Smrgecho "${ECHO_T}no" >&6; } 24537a0395d0Smrgfi 24547a0395d0Smrg 24557a0395d0Smrg 24567a0395d0Smrg fi 24577a0395d0Smrgfi 24587a0395d0Smrgif test -z "$CC"; then 24597a0395d0Smrg # Extract the first word of "cc", so it can be a program name with args. 24607a0395d0Smrgset dummy cc; ac_word=$2 24617a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 24627a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 24637a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 24647a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 24657a0395d0Smrgelse 24667a0395d0Smrg if test -n "$CC"; then 24677a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 24687a0395d0Smrgelse 24697a0395d0Smrg ac_prog_rejected=no 24707a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 24717a0395d0Smrgfor as_dir in $PATH 24727a0395d0Smrgdo 24737a0395d0Smrg IFS=$as_save_IFS 24747a0395d0Smrg test -z "$as_dir" && as_dir=. 24757a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 24767a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 24777a0395d0Smrg if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 24787a0395d0Smrg ac_prog_rejected=yes 24797a0395d0Smrg continue 24807a0395d0Smrg fi 24817a0395d0Smrg ac_cv_prog_CC="cc" 24827a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 24837a0395d0Smrg break 2 24847a0395d0Smrg fi 24857a0395d0Smrgdone 24867a0395d0Smrgdone 24877a0395d0SmrgIFS=$as_save_IFS 24887a0395d0Smrg 24897a0395d0Smrgif test $ac_prog_rejected = yes; then 24907a0395d0Smrg # We found a bogon in the path, so make sure we never use it. 24917a0395d0Smrg set dummy $ac_cv_prog_CC 24927a0395d0Smrg shift 24937a0395d0Smrg if test $# != 0; then 24947a0395d0Smrg # We chose a different compiler from the bogus one. 24957a0395d0Smrg # However, it has the same basename, so the bogon will be chosen 24967a0395d0Smrg # first if we set CC to just the basename; use the full file name. 24977a0395d0Smrg shift 24987a0395d0Smrg ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 24997a0395d0Smrg fi 25007a0395d0Smrgfi 25017a0395d0Smrgfi 25027a0395d0Smrgfi 25037a0395d0SmrgCC=$ac_cv_prog_CC 25047a0395d0Smrgif test -n "$CC"; then 25057a0395d0Smrg { echo "$as_me:$LINENO: result: $CC" >&5 25067a0395d0Smrgecho "${ECHO_T}$CC" >&6; } 25077a0395d0Smrgelse 25087a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 25097a0395d0Smrgecho "${ECHO_T}no" >&6; } 25107a0395d0Smrgfi 25117a0395d0Smrg 25127a0395d0Smrg 25137a0395d0Smrgfi 25147a0395d0Smrgif test -z "$CC"; then 25157a0395d0Smrg if test -n "$ac_tool_prefix"; then 25167a0395d0Smrg for ac_prog in cl.exe 25177a0395d0Smrg do 25187a0395d0Smrg # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 25197a0395d0Smrgset dummy $ac_tool_prefix$ac_prog; ac_word=$2 25207a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 25217a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 25227a0395d0Smrgif test "${ac_cv_prog_CC+set}" = set; then 25237a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 25247a0395d0Smrgelse 25257a0395d0Smrg if test -n "$CC"; then 25267a0395d0Smrg ac_cv_prog_CC="$CC" # Let the user override the test. 25277a0395d0Smrgelse 25287a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25297a0395d0Smrgfor as_dir in $PATH 25307a0395d0Smrgdo 25317a0395d0Smrg IFS=$as_save_IFS 25327a0395d0Smrg test -z "$as_dir" && as_dir=. 25337a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25347a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25357a0395d0Smrg ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 25367a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25377a0395d0Smrg break 2 25387a0395d0Smrg fi 25397a0395d0Smrgdone 25407a0395d0Smrgdone 25417a0395d0SmrgIFS=$as_save_IFS 25427a0395d0Smrg 25437a0395d0Smrgfi 25447a0395d0Smrgfi 25457a0395d0SmrgCC=$ac_cv_prog_CC 25467a0395d0Smrgif test -n "$CC"; then 25477a0395d0Smrg { echo "$as_me:$LINENO: result: $CC" >&5 25487a0395d0Smrgecho "${ECHO_T}$CC" >&6; } 25497a0395d0Smrgelse 25507a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 25517a0395d0Smrgecho "${ECHO_T}no" >&6; } 25527a0395d0Smrgfi 25537a0395d0Smrg 25547a0395d0Smrg 25557a0395d0Smrg test -n "$CC" && break 25567a0395d0Smrg done 25577a0395d0Smrgfi 25587a0395d0Smrgif test -z "$CC"; then 25597a0395d0Smrg ac_ct_CC=$CC 25607a0395d0Smrg for ac_prog in cl.exe 25617a0395d0Smrgdo 25627a0395d0Smrg # Extract the first word of "$ac_prog", so it can be a program name with args. 25637a0395d0Smrgset dummy $ac_prog; ac_word=$2 25647a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 25657a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 25667a0395d0Smrgif test "${ac_cv_prog_ac_ct_CC+set}" = set; then 25677a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 25687a0395d0Smrgelse 25697a0395d0Smrg if test -n "$ac_ct_CC"; then 25707a0395d0Smrg ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 25717a0395d0Smrgelse 25727a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 25737a0395d0Smrgfor as_dir in $PATH 25747a0395d0Smrgdo 25757a0395d0Smrg IFS=$as_save_IFS 25767a0395d0Smrg test -z "$as_dir" && as_dir=. 25777a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 25787a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 25797a0395d0Smrg ac_cv_prog_ac_ct_CC="$ac_prog" 25807a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 25817a0395d0Smrg break 2 25827a0395d0Smrg fi 25837a0395d0Smrgdone 25847a0395d0Smrgdone 25857a0395d0SmrgIFS=$as_save_IFS 25867a0395d0Smrg 25877a0395d0Smrgfi 25887a0395d0Smrgfi 25897a0395d0Smrgac_ct_CC=$ac_cv_prog_ac_ct_CC 25907a0395d0Smrgif test -n "$ac_ct_CC"; then 25917a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 25927a0395d0Smrgecho "${ECHO_T}$ac_ct_CC" >&6; } 25937a0395d0Smrgelse 25947a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 25957a0395d0Smrgecho "${ECHO_T}no" >&6; } 25967a0395d0Smrgfi 25977a0395d0Smrg 25987a0395d0Smrg 25997a0395d0Smrg test -n "$ac_ct_CC" && break 26007a0395d0Smrgdone 26017a0395d0Smrg 26027a0395d0Smrg if test "x$ac_ct_CC" = x; then 26037a0395d0Smrg CC="" 26047a0395d0Smrg else 26057a0395d0Smrg case $cross_compiling:$ac_tool_warned in 26067a0395d0Smrgyes:) 26077a0395d0Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 26087a0395d0Smrgwhose name does not start with the host triplet. If you think this 26097a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 26107a0395d0Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 26117a0395d0Smrgwhose name does not start with the host triplet. If you think this 26127a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 26137a0395d0Smrgac_tool_warned=yes ;; 26147a0395d0Smrgesac 26157a0395d0Smrg CC=$ac_ct_CC 26167a0395d0Smrg fi 26177a0395d0Smrgfi 26187a0395d0Smrg 26197a0395d0Smrgfi 26207a0395d0Smrg 26217a0395d0Smrg 26227a0395d0Smrgtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 26237a0395d0SmrgSee \`config.log' for more details." >&5 26247a0395d0Smrgecho "$as_me: error: no acceptable C compiler found in \$PATH 26257a0395d0SmrgSee \`config.log' for more details." >&2;} 26267a0395d0Smrg { (exit 1); exit 1; }; } 26277a0395d0Smrg 26287a0395d0Smrg# Provide some information about the compiler. 26297a0395d0Smrgecho "$as_me:$LINENO: checking for C compiler version" >&5 26307a0395d0Smrgac_compiler=`set X $ac_compile; echo $2` 26317a0395d0Smrg{ (ac_try="$ac_compiler --version >&5" 26327a0395d0Smrgcase "(($ac_try" in 26337a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26347a0395d0Smrg *) ac_try_echo=$ac_try;; 26357a0395d0Smrgesac 26367a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26377a0395d0Smrg (eval "$ac_compiler --version >&5") 2>&5 26387a0395d0Smrg ac_status=$? 26397a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26407a0395d0Smrg (exit $ac_status); } 26417a0395d0Smrg{ (ac_try="$ac_compiler -v >&5" 26427a0395d0Smrgcase "(($ac_try" in 26437a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26447a0395d0Smrg *) ac_try_echo=$ac_try;; 26457a0395d0Smrgesac 26467a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26477a0395d0Smrg (eval "$ac_compiler -v >&5") 2>&5 26487a0395d0Smrg ac_status=$? 26497a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26507a0395d0Smrg (exit $ac_status); } 26517a0395d0Smrg{ (ac_try="$ac_compiler -V >&5" 26527a0395d0Smrgcase "(($ac_try" in 26537a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26547a0395d0Smrg *) ac_try_echo=$ac_try;; 26557a0395d0Smrgesac 26567a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26577a0395d0Smrg (eval "$ac_compiler -V >&5") 2>&5 26587a0395d0Smrg ac_status=$? 26597a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 26607a0395d0Smrg (exit $ac_status); } 26617a0395d0Smrg 26627a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 26637a0395d0Smrg/* confdefs.h. */ 26647a0395d0Smrg_ACEOF 26657a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 26667a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 26677a0395d0Smrg/* end confdefs.h. */ 26687a0395d0Smrg 26697a0395d0Smrgint 26707a0395d0Smrgmain () 26717a0395d0Smrg{ 26727a0395d0Smrg 26737a0395d0Smrg ; 26747a0395d0Smrg return 0; 26757a0395d0Smrg} 26767a0395d0Smrg_ACEOF 26777a0395d0Smrgac_clean_files_save=$ac_clean_files 26787a0395d0Smrgac_clean_files="$ac_clean_files a.out a.exe b.out" 26797a0395d0Smrg# Try to create an executable without -o first, disregard a.out. 26807a0395d0Smrg# It will help us diagnose broken compilers, and finding out an intuition 26817a0395d0Smrg# of exeext. 26827a0395d0Smrg{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 26837a0395d0Smrgecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 26847a0395d0Smrgac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 26857a0395d0Smrg# 26867a0395d0Smrg# List of possible output files, starting from the most likely. 26877a0395d0Smrg# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 26887a0395d0Smrg# only as a last resort. b.out is created by i960 compilers. 26897a0395d0Smrgac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 26907a0395d0Smrg# 26917a0395d0Smrg# The IRIX 6 linker writes into existing files which may not be 26927a0395d0Smrg# executable, retaining their permissions. Remove them first so a 26937a0395d0Smrg# subsequent execution test works. 26947a0395d0Smrgac_rmfiles= 26957a0395d0Smrgfor ac_file in $ac_files 26967a0395d0Smrgdo 26977a0395d0Smrg case $ac_file in 26987a0395d0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 26997a0395d0Smrg * ) ac_rmfiles="$ac_rmfiles $ac_file";; 27007a0395d0Smrg esac 27017a0395d0Smrgdone 27027a0395d0Smrgrm -f $ac_rmfiles 27037a0395d0Smrg 27047a0395d0Smrgif { (ac_try="$ac_link_default" 27057a0395d0Smrgcase "(($ac_try" in 27067a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27077a0395d0Smrg *) ac_try_echo=$ac_try;; 27087a0395d0Smrgesac 27097a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27107a0395d0Smrg (eval "$ac_link_default") 2>&5 27117a0395d0Smrg ac_status=$? 27127a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 27137a0395d0Smrg (exit $ac_status); }; then 27147a0395d0Smrg # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 27157a0395d0Smrg# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 27167a0395d0Smrg# in a Makefile. We should not override ac_cv_exeext if it was cached, 27177a0395d0Smrg# so that the user can short-circuit this test for compilers unknown to 27187a0395d0Smrg# Autoconf. 27197a0395d0Smrgfor ac_file in $ac_files '' 27207a0395d0Smrgdo 27217a0395d0Smrg test -f "$ac_file" || continue 27227a0395d0Smrg case $ac_file in 27237a0395d0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 27247a0395d0Smrg ;; 27257a0395d0Smrg [ab].out ) 27267a0395d0Smrg # We found the default executable, but exeext='' is most 27277a0395d0Smrg # certainly right. 27287a0395d0Smrg break;; 27297a0395d0Smrg *.* ) 27307a0395d0Smrg if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 27317a0395d0Smrg then :; else 27327a0395d0Smrg ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 27337a0395d0Smrg fi 27347a0395d0Smrg # We set ac_cv_exeext here because the later test for it is not 27357a0395d0Smrg # safe: cross compilers may not add the suffix if given an `-o' 27367a0395d0Smrg # argument, so we may need to know it at that point already. 27377a0395d0Smrg # Even if this section looks crufty: it has the advantage of 27387a0395d0Smrg # actually working. 27397a0395d0Smrg break;; 27407a0395d0Smrg * ) 27417a0395d0Smrg break;; 27427a0395d0Smrg esac 27437a0395d0Smrgdone 27447a0395d0Smrgtest "$ac_cv_exeext" = no && ac_cv_exeext= 27457a0395d0Smrg 27467a0395d0Smrgelse 27477a0395d0Smrg ac_file='' 27487a0395d0Smrgfi 27497a0395d0Smrg 27507a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_file" >&5 27517a0395d0Smrgecho "${ECHO_T}$ac_file" >&6; } 27527a0395d0Smrgif test -z "$ac_file"; then 27537a0395d0Smrg echo "$as_me: failed program was:" >&5 27547a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 27557a0395d0Smrg 27567a0395d0Smrg{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 27577a0395d0SmrgSee \`config.log' for more details." >&5 27587a0395d0Smrgecho "$as_me: error: C compiler cannot create executables 27597a0395d0SmrgSee \`config.log' for more details." >&2;} 27607a0395d0Smrg { (exit 77); exit 77; }; } 27617a0395d0Smrgfi 27627a0395d0Smrg 27637a0395d0Smrgac_exeext=$ac_cv_exeext 27647a0395d0Smrg 27657a0395d0Smrg# Check that the compiler produces executables we can run. If not, either 27667a0395d0Smrg# the compiler is broken, or we cross compile. 27677a0395d0Smrg{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 27687a0395d0Smrgecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 27697a0395d0Smrg# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 27707a0395d0Smrg# If not cross compiling, check that we can run a simple program. 27717a0395d0Smrgif test "$cross_compiling" != yes; then 27727a0395d0Smrg if { ac_try='./$ac_file' 27737a0395d0Smrg { (case "(($ac_try" in 27747a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27757a0395d0Smrg *) ac_try_echo=$ac_try;; 27767a0395d0Smrgesac 27777a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27787a0395d0Smrg (eval "$ac_try") 2>&5 27797a0395d0Smrg ac_status=$? 27807a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 27817a0395d0Smrg (exit $ac_status); }; }; then 27827a0395d0Smrg cross_compiling=no 27837a0395d0Smrg else 27847a0395d0Smrg if test "$cross_compiling" = maybe; then 27857a0395d0Smrg cross_compiling=yes 27867a0395d0Smrg else 27877a0395d0Smrg { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 27887a0395d0SmrgIf you meant to cross compile, use \`--host'. 27897a0395d0SmrgSee \`config.log' for more details." >&5 27907a0395d0Smrgecho "$as_me: error: cannot run C compiled programs. 27917a0395d0SmrgIf you meant to cross compile, use \`--host'. 27927a0395d0SmrgSee \`config.log' for more details." >&2;} 27937a0395d0Smrg { (exit 1); exit 1; }; } 27947a0395d0Smrg fi 27957a0395d0Smrg fi 27967a0395d0Smrgfi 27977a0395d0Smrg{ echo "$as_me:$LINENO: result: yes" >&5 27987a0395d0Smrgecho "${ECHO_T}yes" >&6; } 27997a0395d0Smrg 28007a0395d0Smrgrm -f a.out a.exe conftest$ac_cv_exeext b.out 28017a0395d0Smrgac_clean_files=$ac_clean_files_save 28027a0395d0Smrg# Check that the compiler produces executables we can run. If not, either 28037a0395d0Smrg# the compiler is broken, or we cross compile. 28047a0395d0Smrg{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 28057a0395d0Smrgecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 28067a0395d0Smrg{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 28077a0395d0Smrgecho "${ECHO_T}$cross_compiling" >&6; } 28087a0395d0Smrg 28097a0395d0Smrg{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 28107a0395d0Smrgecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 28117a0395d0Smrgif { (ac_try="$ac_link" 28127a0395d0Smrgcase "(($ac_try" in 28137a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28147a0395d0Smrg *) ac_try_echo=$ac_try;; 28157a0395d0Smrgesac 28167a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28177a0395d0Smrg (eval "$ac_link") 2>&5 28187a0395d0Smrg ac_status=$? 28197a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 28207a0395d0Smrg (exit $ac_status); }; then 28217a0395d0Smrg # If both `conftest.exe' and `conftest' are `present' (well, observable) 28227a0395d0Smrg# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 28237a0395d0Smrg# work properly (i.e., refer to `conftest.exe'), while it won't with 28247a0395d0Smrg# `rm'. 28257a0395d0Smrgfor ac_file in conftest.exe conftest conftest.*; do 28267a0395d0Smrg test -f "$ac_file" || continue 28277a0395d0Smrg case $ac_file in 28287a0395d0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 28297a0395d0Smrg *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 28307a0395d0Smrg break;; 28317a0395d0Smrg * ) break;; 28327a0395d0Smrg esac 28337a0395d0Smrgdone 28347a0395d0Smrgelse 28357a0395d0Smrg { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 28367a0395d0SmrgSee \`config.log' for more details." >&5 28377a0395d0Smrgecho "$as_me: error: cannot compute suffix of executables: cannot compile and link 28387a0395d0SmrgSee \`config.log' for more details." >&2;} 28397a0395d0Smrg { (exit 1); exit 1; }; } 28407a0395d0Smrgfi 28417a0395d0Smrg 28427a0395d0Smrgrm -f conftest$ac_cv_exeext 28437a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 28447a0395d0Smrgecho "${ECHO_T}$ac_cv_exeext" >&6; } 28457a0395d0Smrg 28467a0395d0Smrgrm -f conftest.$ac_ext 28477a0395d0SmrgEXEEXT=$ac_cv_exeext 28487a0395d0Smrgac_exeext=$EXEEXT 28497a0395d0Smrg{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 28507a0395d0Smrgecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 28517a0395d0Smrgif test "${ac_cv_objext+set}" = set; then 28527a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 28537a0395d0Smrgelse 28547a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 28557a0395d0Smrg/* confdefs.h. */ 28567a0395d0Smrg_ACEOF 28577a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 28587a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 28597a0395d0Smrg/* end confdefs.h. */ 28607a0395d0Smrg 28617a0395d0Smrgint 28627a0395d0Smrgmain () 28637a0395d0Smrg{ 28647a0395d0Smrg 28657a0395d0Smrg ; 28667a0395d0Smrg return 0; 28677a0395d0Smrg} 28687a0395d0Smrg_ACEOF 28697a0395d0Smrgrm -f conftest.o conftest.obj 28707a0395d0Smrgif { (ac_try="$ac_compile" 28717a0395d0Smrgcase "(($ac_try" in 28727a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28737a0395d0Smrg *) ac_try_echo=$ac_try;; 28747a0395d0Smrgesac 28757a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28767a0395d0Smrg (eval "$ac_compile") 2>&5 28777a0395d0Smrg ac_status=$? 28787a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 28797a0395d0Smrg (exit $ac_status); }; then 28807a0395d0Smrg for ac_file in conftest.o conftest.obj conftest.*; do 28817a0395d0Smrg test -f "$ac_file" || continue; 28827a0395d0Smrg case $ac_file in 28837a0395d0Smrg *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 28847a0395d0Smrg *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 28857a0395d0Smrg break;; 28867a0395d0Smrg esac 28877a0395d0Smrgdone 28887a0395d0Smrgelse 28897a0395d0Smrg echo "$as_me: failed program was:" >&5 28907a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 28917a0395d0Smrg 28927a0395d0Smrg{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 28937a0395d0SmrgSee \`config.log' for more details." >&5 28947a0395d0Smrgecho "$as_me: error: cannot compute suffix of object files: cannot compile 28957a0395d0SmrgSee \`config.log' for more details." >&2;} 28967a0395d0Smrg { (exit 1); exit 1; }; } 28977a0395d0Smrgfi 28987a0395d0Smrg 28997a0395d0Smrgrm -f conftest.$ac_cv_objext conftest.$ac_ext 29007a0395d0Smrgfi 29017a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 29027a0395d0Smrgecho "${ECHO_T}$ac_cv_objext" >&6; } 29037a0395d0SmrgOBJEXT=$ac_cv_objext 29047a0395d0Smrgac_objext=$OBJEXT 29057a0395d0Smrg{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 29067a0395d0Smrgecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 29077a0395d0Smrgif test "${ac_cv_c_compiler_gnu+set}" = set; then 29087a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 29097a0395d0Smrgelse 29107a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 29117a0395d0Smrg/* confdefs.h. */ 29127a0395d0Smrg_ACEOF 29137a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 29147a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 29157a0395d0Smrg/* end confdefs.h. */ 29167a0395d0Smrg 29177a0395d0Smrgint 29187a0395d0Smrgmain () 29197a0395d0Smrg{ 29207a0395d0Smrg#ifndef __GNUC__ 29217a0395d0Smrg choke me 29227a0395d0Smrg#endif 29237a0395d0Smrg 29247a0395d0Smrg ; 29257a0395d0Smrg return 0; 29267a0395d0Smrg} 29277a0395d0Smrg_ACEOF 29287a0395d0Smrgrm -f conftest.$ac_objext 29297a0395d0Smrgif { (ac_try="$ac_compile" 29307a0395d0Smrgcase "(($ac_try" in 29317a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29327a0395d0Smrg *) ac_try_echo=$ac_try;; 29337a0395d0Smrgesac 29347a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29357a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 29367a0395d0Smrg ac_status=$? 29377a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 29387a0395d0Smrg rm -f conftest.er1 29397a0395d0Smrg cat conftest.err >&5 29407a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 29417a0395d0Smrg (exit $ac_status); } && { 29427a0395d0Smrg test -z "$ac_c_werror_flag" || 29437a0395d0Smrg test ! -s conftest.err 29447a0395d0Smrg } && test -s conftest.$ac_objext; then 29457a0395d0Smrg ac_compiler_gnu=yes 29467a0395d0Smrgelse 29477a0395d0Smrg echo "$as_me: failed program was:" >&5 29487a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 29497a0395d0Smrg 29507a0395d0Smrg ac_compiler_gnu=no 29517a0395d0Smrgfi 29527a0395d0Smrg 29537a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29547a0395d0Smrgac_cv_c_compiler_gnu=$ac_compiler_gnu 29557a0395d0Smrg 29567a0395d0Smrgfi 29577a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 29587a0395d0Smrgecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 29597a0395d0SmrgGCC=`test $ac_compiler_gnu = yes && echo yes` 29607a0395d0Smrgac_test_CFLAGS=${CFLAGS+set} 29617a0395d0Smrgac_save_CFLAGS=$CFLAGS 29627a0395d0Smrg{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 29637a0395d0Smrgecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 29647a0395d0Smrgif test "${ac_cv_prog_cc_g+set}" = set; then 29657a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 29667a0395d0Smrgelse 29677a0395d0Smrg ac_save_c_werror_flag=$ac_c_werror_flag 29687a0395d0Smrg ac_c_werror_flag=yes 29697a0395d0Smrg ac_cv_prog_cc_g=no 29707a0395d0Smrg CFLAGS="-g" 29717a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 29727a0395d0Smrg/* confdefs.h. */ 29737a0395d0Smrg_ACEOF 29747a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 29757a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 29767a0395d0Smrg/* end confdefs.h. */ 29777a0395d0Smrg 29787a0395d0Smrgint 29797a0395d0Smrgmain () 29807a0395d0Smrg{ 29817a0395d0Smrg 29827a0395d0Smrg ; 29837a0395d0Smrg return 0; 29847a0395d0Smrg} 29857a0395d0Smrg_ACEOF 29867a0395d0Smrgrm -f conftest.$ac_objext 29877a0395d0Smrgif { (ac_try="$ac_compile" 29887a0395d0Smrgcase "(($ac_try" in 29897a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29907a0395d0Smrg *) ac_try_echo=$ac_try;; 29917a0395d0Smrgesac 29927a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29937a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 29947a0395d0Smrg ac_status=$? 29957a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 29967a0395d0Smrg rm -f conftest.er1 29977a0395d0Smrg cat conftest.err >&5 29987a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 29997a0395d0Smrg (exit $ac_status); } && { 30007a0395d0Smrg test -z "$ac_c_werror_flag" || 30017a0395d0Smrg test ! -s conftest.err 30027a0395d0Smrg } && test -s conftest.$ac_objext; then 30037a0395d0Smrg ac_cv_prog_cc_g=yes 30047a0395d0Smrgelse 30057a0395d0Smrg echo "$as_me: failed program was:" >&5 30067a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 30077a0395d0Smrg 30087a0395d0Smrg CFLAGS="" 30097a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 30107a0395d0Smrg/* confdefs.h. */ 30117a0395d0Smrg_ACEOF 30127a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 30137a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 30147a0395d0Smrg/* end confdefs.h. */ 30157a0395d0Smrg 30167a0395d0Smrgint 30177a0395d0Smrgmain () 30187a0395d0Smrg{ 30197a0395d0Smrg 30207a0395d0Smrg ; 30217a0395d0Smrg return 0; 30227a0395d0Smrg} 30237a0395d0Smrg_ACEOF 30247a0395d0Smrgrm -f conftest.$ac_objext 30257a0395d0Smrgif { (ac_try="$ac_compile" 30267a0395d0Smrgcase "(($ac_try" in 30277a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30287a0395d0Smrg *) ac_try_echo=$ac_try;; 30297a0395d0Smrgesac 30307a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30317a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 30327a0395d0Smrg ac_status=$? 30337a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 30347a0395d0Smrg rm -f conftest.er1 30357a0395d0Smrg cat conftest.err >&5 30367a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 30377a0395d0Smrg (exit $ac_status); } && { 30387a0395d0Smrg test -z "$ac_c_werror_flag" || 30397a0395d0Smrg test ! -s conftest.err 30407a0395d0Smrg } && test -s conftest.$ac_objext; then 30417a0395d0Smrg : 30427a0395d0Smrgelse 30437a0395d0Smrg echo "$as_me: failed program was:" >&5 30447a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 30457a0395d0Smrg 30467a0395d0Smrg ac_c_werror_flag=$ac_save_c_werror_flag 30477a0395d0Smrg CFLAGS="-g" 30487a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 30497a0395d0Smrg/* confdefs.h. */ 30507a0395d0Smrg_ACEOF 30517a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 30527a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 30537a0395d0Smrg/* end confdefs.h. */ 30547a0395d0Smrg 30557a0395d0Smrgint 30567a0395d0Smrgmain () 30577a0395d0Smrg{ 30587a0395d0Smrg 30597a0395d0Smrg ; 30607a0395d0Smrg return 0; 30617a0395d0Smrg} 30627a0395d0Smrg_ACEOF 30637a0395d0Smrgrm -f conftest.$ac_objext 30647a0395d0Smrgif { (ac_try="$ac_compile" 30657a0395d0Smrgcase "(($ac_try" in 30667a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30677a0395d0Smrg *) ac_try_echo=$ac_try;; 30687a0395d0Smrgesac 30697a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30707a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 30717a0395d0Smrg ac_status=$? 30727a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 30737a0395d0Smrg rm -f conftest.er1 30747a0395d0Smrg cat conftest.err >&5 30757a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 30767a0395d0Smrg (exit $ac_status); } && { 30777a0395d0Smrg test -z "$ac_c_werror_flag" || 30787a0395d0Smrg test ! -s conftest.err 30797a0395d0Smrg } && test -s conftest.$ac_objext; then 30807a0395d0Smrg ac_cv_prog_cc_g=yes 30817a0395d0Smrgelse 30827a0395d0Smrg echo "$as_me: failed program was:" >&5 30837a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 30847a0395d0Smrg 30857a0395d0Smrg 30867a0395d0Smrgfi 30877a0395d0Smrg 30887a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 30897a0395d0Smrgfi 30907a0395d0Smrg 30917a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 30927a0395d0Smrgfi 30937a0395d0Smrg 30947a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 30957a0395d0Smrg ac_c_werror_flag=$ac_save_c_werror_flag 30967a0395d0Smrgfi 30977a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 30987a0395d0Smrgecho "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 30997a0395d0Smrgif test "$ac_test_CFLAGS" = set; then 31007a0395d0Smrg CFLAGS=$ac_save_CFLAGS 31017a0395d0Smrgelif test $ac_cv_prog_cc_g = yes; then 31027a0395d0Smrg if test "$GCC" = yes; then 31037a0395d0Smrg CFLAGS="-g -O2" 31047a0395d0Smrg else 31057a0395d0Smrg CFLAGS="-g" 31067a0395d0Smrg fi 31077a0395d0Smrgelse 31087a0395d0Smrg if test "$GCC" = yes; then 31097a0395d0Smrg CFLAGS="-O2" 31107a0395d0Smrg else 31117a0395d0Smrg CFLAGS= 31127a0395d0Smrg fi 31137a0395d0Smrgfi 31147a0395d0Smrg{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 31157a0395d0Smrgecho $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 31167a0395d0Smrgif test "${ac_cv_prog_cc_c89+set}" = set; then 31177a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 31187a0395d0Smrgelse 31197a0395d0Smrg ac_cv_prog_cc_c89=no 31207a0395d0Smrgac_save_CC=$CC 31217a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 31227a0395d0Smrg/* confdefs.h. */ 31237a0395d0Smrg_ACEOF 31247a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 31257a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 31267a0395d0Smrg/* end confdefs.h. */ 31277a0395d0Smrg#include <stdarg.h> 31287a0395d0Smrg#include <stdio.h> 31297a0395d0Smrg#include <sys/types.h> 31307a0395d0Smrg#include <sys/stat.h> 31317a0395d0Smrg/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 31327a0395d0Smrgstruct buf { int x; }; 31337a0395d0SmrgFILE * (*rcsopen) (struct buf *, struct stat *, int); 31347a0395d0Smrgstatic char *e (p, i) 31357a0395d0Smrg char **p; 31367a0395d0Smrg int i; 31377a0395d0Smrg{ 31387a0395d0Smrg return p[i]; 31397a0395d0Smrg} 31407a0395d0Smrgstatic char *f (char * (*g) (char **, int), char **p, ...) 31417a0395d0Smrg{ 31427a0395d0Smrg char *s; 31437a0395d0Smrg va_list v; 31447a0395d0Smrg va_start (v,p); 31457a0395d0Smrg s = g (p, va_arg (v,int)); 31467a0395d0Smrg va_end (v); 31477a0395d0Smrg return s; 31487a0395d0Smrg} 31497a0395d0Smrg 31507a0395d0Smrg/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 31517a0395d0Smrg function prototypes and stuff, but not '\xHH' hex character constants. 31527a0395d0Smrg These don't provoke an error unfortunately, instead are silently treated 31537a0395d0Smrg as 'x'. The following induces an error, until -std is added to get 31547a0395d0Smrg proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 31557a0395d0Smrg array size at least. It's necessary to write '\x00'==0 to get something 31567a0395d0Smrg that's true only with -std. */ 31577a0395d0Smrgint osf4_cc_array ['\x00' == 0 ? 1 : -1]; 31587a0395d0Smrg 31597a0395d0Smrg/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 31607a0395d0Smrg inside strings and character constants. */ 31617a0395d0Smrg#define FOO(x) 'x' 31627a0395d0Smrgint xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 31637a0395d0Smrg 31647a0395d0Smrgint test (int i, double x); 31657a0395d0Smrgstruct s1 {int (*f) (int a);}; 31667a0395d0Smrgstruct s2 {int (*f) (double a);}; 31677a0395d0Smrgint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 31687a0395d0Smrgint argc; 31697a0395d0Smrgchar **argv; 31707a0395d0Smrgint 31717a0395d0Smrgmain () 31727a0395d0Smrg{ 31737a0395d0Smrgreturn f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 31747a0395d0Smrg ; 31757a0395d0Smrg return 0; 31767a0395d0Smrg} 31777a0395d0Smrg_ACEOF 31787a0395d0Smrgfor ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 31797a0395d0Smrg -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 31807a0395d0Smrgdo 31817a0395d0Smrg CC="$ac_save_CC $ac_arg" 31827a0395d0Smrg rm -f conftest.$ac_objext 31837a0395d0Smrgif { (ac_try="$ac_compile" 31847a0395d0Smrgcase "(($ac_try" in 31857a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 31867a0395d0Smrg *) ac_try_echo=$ac_try;; 31877a0395d0Smrgesac 31887a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 31897a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 31907a0395d0Smrg ac_status=$? 31917a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 31927a0395d0Smrg rm -f conftest.er1 31937a0395d0Smrg cat conftest.err >&5 31947a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 31957a0395d0Smrg (exit $ac_status); } && { 31967a0395d0Smrg test -z "$ac_c_werror_flag" || 31977a0395d0Smrg test ! -s conftest.err 31987a0395d0Smrg } && test -s conftest.$ac_objext; then 31997a0395d0Smrg ac_cv_prog_cc_c89=$ac_arg 32007a0395d0Smrgelse 32017a0395d0Smrg echo "$as_me: failed program was:" >&5 32027a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 32037a0395d0Smrg 32047a0395d0Smrg 32057a0395d0Smrgfi 32067a0395d0Smrg 32077a0395d0Smrgrm -f core conftest.err conftest.$ac_objext 32087a0395d0Smrg test "x$ac_cv_prog_cc_c89" != "xno" && break 32097a0395d0Smrgdone 32107a0395d0Smrgrm -f conftest.$ac_ext 32117a0395d0SmrgCC=$ac_save_CC 32127a0395d0Smrg 32137a0395d0Smrgfi 32147a0395d0Smrg# AC_CACHE_VAL 32157a0395d0Smrgcase "x$ac_cv_prog_cc_c89" in 32167a0395d0Smrg x) 32177a0395d0Smrg { echo "$as_me:$LINENO: result: none needed" >&5 32187a0395d0Smrgecho "${ECHO_T}none needed" >&6; } ;; 32197a0395d0Smrg xno) 32207a0395d0Smrg { echo "$as_me:$LINENO: result: unsupported" >&5 32217a0395d0Smrgecho "${ECHO_T}unsupported" >&6; } ;; 32227a0395d0Smrg *) 32237a0395d0Smrg CC="$CC $ac_cv_prog_cc_c89" 32247a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 32257a0395d0Smrgecho "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 32267a0395d0Smrgesac 32277a0395d0Smrg 32287a0395d0Smrg 32297a0395d0Smrgac_ext=c 32307a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 32317a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 32327a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 32337a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 32347a0395d0SmrgDEPDIR="${am__leading_dot}deps" 32357a0395d0Smrg 32367a0395d0Smrgac_config_commands="$ac_config_commands depfiles" 32377a0395d0Smrg 32387a0395d0Smrg 32397a0395d0Smrgam_make=${MAKE-make} 32407a0395d0Smrgcat > confinc << 'END' 32417a0395d0Smrgam__doit: 32427a0395d0Smrg @echo done 32437a0395d0Smrg.PHONY: am__doit 32447a0395d0SmrgEND 32457a0395d0Smrg# If we don't find an include directive, just comment out the code. 32467a0395d0Smrg{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 32477a0395d0Smrgecho $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } 32487a0395d0Smrgam__include="#" 32497a0395d0Smrgam__quote= 32507a0395d0Smrg_am_result=none 32517a0395d0Smrg# First try GNU make style include. 32527a0395d0Smrgecho "include confinc" > confmf 32537a0395d0Smrg# We grep out `Entering directory' and `Leaving directory' 32547a0395d0Smrg# messages which can occur if `w' ends up in MAKEFLAGS. 32557a0395d0Smrg# In particular we don't look at `^make:' because GNU make might 32567a0395d0Smrg# be invoked under some other name (usually "gmake"), in which 32577a0395d0Smrg# case it prints its new name instead of `make'. 32587a0395d0Smrgif test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 32597a0395d0Smrg am__include=include 32607a0395d0Smrg am__quote= 32617a0395d0Smrg _am_result=GNU 32627a0395d0Smrgfi 32637a0395d0Smrg# Now try BSD make style include. 32647a0395d0Smrgif test "$am__include" = "#"; then 32657a0395d0Smrg echo '.include "confinc"' > confmf 32667a0395d0Smrg if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 32677a0395d0Smrg am__include=.include 32687a0395d0Smrg am__quote="\"" 32697a0395d0Smrg _am_result=BSD 32707a0395d0Smrg fi 32717a0395d0Smrgfi 32727a0395d0Smrg 32737a0395d0Smrg 32747a0395d0Smrg{ echo "$as_me:$LINENO: result: $_am_result" >&5 32757a0395d0Smrgecho "${ECHO_T}$_am_result" >&6; } 32767a0395d0Smrgrm -f confinc confmf 32777a0395d0Smrg 32787a0395d0Smrg# Check whether --enable-dependency-tracking was given. 32797a0395d0Smrgif test "${enable_dependency_tracking+set}" = set; then 32807a0395d0Smrg enableval=$enable_dependency_tracking; 32817a0395d0Smrgfi 32827a0395d0Smrg 32837a0395d0Smrgif test "x$enable_dependency_tracking" != xno; then 32847a0395d0Smrg am_depcomp="$ac_aux_dir/depcomp" 32857a0395d0Smrg AMDEPBACKSLASH='\' 32867a0395d0Smrgfi 32877a0395d0Smrg if test "x$enable_dependency_tracking" != xno; then 32887a0395d0Smrg AMDEP_TRUE= 32897a0395d0Smrg AMDEP_FALSE='#' 32907a0395d0Smrgelse 32917a0395d0Smrg AMDEP_TRUE='#' 32927a0395d0Smrg AMDEP_FALSE= 32937a0395d0Smrgfi 32947a0395d0Smrg 32957a0395d0Smrg 32967a0395d0Smrg 32977a0395d0Smrgdepcc="$CC" am_compiler_list= 32987a0395d0Smrg 32997a0395d0Smrg{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 33007a0395d0Smrgecho $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } 33017a0395d0Smrgif test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 33027a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 33037a0395d0Smrgelse 33047a0395d0Smrg if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 33057a0395d0Smrg # We make a subdir and do the tests there. Otherwise we can end up 33067a0395d0Smrg # making bogus files that we don't know about and never remove. For 33077a0395d0Smrg # instance it was reported that on HP-UX the gcc test will end up 33087a0395d0Smrg # making a dummy file named `D' -- because `-MD' means `put the output 33097a0395d0Smrg # in D'. 33107a0395d0Smrg mkdir conftest.dir 33117a0395d0Smrg # Copy depcomp to subdir because otherwise we won't find it if we're 33127a0395d0Smrg # using a relative directory. 33137a0395d0Smrg cp "$am_depcomp" conftest.dir 33147a0395d0Smrg cd conftest.dir 33157a0395d0Smrg # We will build objects and dependencies in a subdirectory because 33167a0395d0Smrg # it helps to detect inapplicable dependency modes. For instance 33177a0395d0Smrg # both Tru64's cc and ICC support -MD to output dependencies as a 33187a0395d0Smrg # side effect of compilation, but ICC will put the dependencies in 33197a0395d0Smrg # the current directory while Tru64 will put them in the object 33207a0395d0Smrg # directory. 33217a0395d0Smrg mkdir sub 33227a0395d0Smrg 33237a0395d0Smrg am_cv_CC_dependencies_compiler_type=none 33247a0395d0Smrg if test "$am_compiler_list" = ""; then 33257a0395d0Smrg am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 33267a0395d0Smrg fi 33277a0395d0Smrg for depmode in $am_compiler_list; do 33287a0395d0Smrg # Setup a source with many dependencies, because some compilers 33297a0395d0Smrg # like to wrap large dependency lists on column 80 (with \), and 33307a0395d0Smrg # we should not choose a depcomp mode which is confused by this. 33317a0395d0Smrg # 33327a0395d0Smrg # We need to recreate these files for each test, as the compiler may 33337a0395d0Smrg # overwrite some of them when testing with obscure command lines. 33347a0395d0Smrg # This happens at least with the AIX C compiler. 33357a0395d0Smrg : > sub/conftest.c 33367a0395d0Smrg for i in 1 2 3 4 5 6; do 33377a0395d0Smrg echo '#include "conftst'$i'.h"' >> sub/conftest.c 33387a0395d0Smrg # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 33397a0395d0Smrg # Solaris 8's {/usr,}/bin/sh. 33407a0395d0Smrg touch sub/conftst$i.h 33417a0395d0Smrg done 33427a0395d0Smrg echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 33437a0395d0Smrg 33447a0395d0Smrg case $depmode in 33457a0395d0Smrg nosideeffect) 33467a0395d0Smrg # after this tag, mechanisms are not by side-effect, so they'll 33477a0395d0Smrg # only be used when explicitly requested 33487a0395d0Smrg if test "x$enable_dependency_tracking" = xyes; then 33497a0395d0Smrg continue 33507a0395d0Smrg else 33517a0395d0Smrg break 33527a0395d0Smrg fi 33537a0395d0Smrg ;; 33547a0395d0Smrg none) break ;; 33557a0395d0Smrg esac 33567a0395d0Smrg # We check with `-c' and `-o' for the sake of the "dashmstdout" 33577a0395d0Smrg # mode. It turns out that the SunPro C++ compiler does not properly 33587a0395d0Smrg # handle `-M -o', and we need to detect this. 33597a0395d0Smrg if depmode=$depmode \ 33607a0395d0Smrg source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 33617a0395d0Smrg depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 33627a0395d0Smrg $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 33637a0395d0Smrg >/dev/null 2>conftest.err && 33647a0395d0Smrg grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 33657a0395d0Smrg grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 33667a0395d0Smrg grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 33677a0395d0Smrg ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 33687a0395d0Smrg # icc doesn't choke on unknown options, it will just issue warnings 33697a0395d0Smrg # or remarks (even with -Werror). So we grep stderr for any message 33707a0395d0Smrg # that says an option was ignored or not supported. 33717a0395d0Smrg # When given -MP, icc 7.0 and 7.1 complain thusly: 33727a0395d0Smrg # icc: Command line warning: ignoring option '-M'; no argument required 33737a0395d0Smrg # The diagnosis changed in icc 8.0: 33747a0395d0Smrg # icc: Command line remark: option '-MP' not supported 33757a0395d0Smrg if (grep 'ignoring option' conftest.err || 33767a0395d0Smrg grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 33777a0395d0Smrg am_cv_CC_dependencies_compiler_type=$depmode 33787a0395d0Smrg break 33797a0395d0Smrg fi 33807a0395d0Smrg fi 33817a0395d0Smrg done 33827a0395d0Smrg 33837a0395d0Smrg cd .. 33847a0395d0Smrg rm -rf conftest.dir 33857a0395d0Smrgelse 33867a0395d0Smrg am_cv_CC_dependencies_compiler_type=none 33877a0395d0Smrgfi 33887a0395d0Smrg 33897a0395d0Smrgfi 33907a0395d0Smrg{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 33917a0395d0Smrgecho "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } 33927a0395d0SmrgCCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 33937a0395d0Smrg 33947a0395d0Smrg if 33957a0395d0Smrg test "x$enable_dependency_tracking" != xno \ 33967a0395d0Smrg && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 33977a0395d0Smrg am__fastdepCC_TRUE= 33987a0395d0Smrg am__fastdepCC_FALSE='#' 33997a0395d0Smrgelse 34007a0395d0Smrg am__fastdepCC_TRUE='#' 34017a0395d0Smrg am__fastdepCC_FALSE= 34027a0395d0Smrgfi 34037a0395d0Smrg 34047a0395d0Smrg 34057a0395d0Smrg# Find a good install program. We prefer a C program (faster), 34067a0395d0Smrg# so one script is as good as another. But avoid the broken or 34077a0395d0Smrg# incompatible versions: 34087a0395d0Smrg# SysV /etc/install, /usr/sbin/install 34097a0395d0Smrg# SunOS /usr/etc/install 34107a0395d0Smrg# IRIX /sbin/install 34117a0395d0Smrg# AIX /bin/install 34127a0395d0Smrg# AmigaOS /C/install, which installs bootblocks on floppy discs 34137a0395d0Smrg# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 34147a0395d0Smrg# AFS /usr/afsws/bin/install, which mishandles nonexistent args 34157a0395d0Smrg# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 34167a0395d0Smrg# OS/2's system install, which has a completely different semantic 34177a0395d0Smrg# ./install, which can be erroneously created by make from ./install.sh. 34187a0395d0Smrg{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 34197a0395d0Smrgecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 34207a0395d0Smrgif test -z "$INSTALL"; then 34217a0395d0Smrgif test "${ac_cv_path_install+set}" = set; then 34227a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 34237a0395d0Smrgelse 34247a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 34257a0395d0Smrgfor as_dir in $PATH 34267a0395d0Smrgdo 34277a0395d0Smrg IFS=$as_save_IFS 34287a0395d0Smrg test -z "$as_dir" && as_dir=. 34297a0395d0Smrg # Account for people who put trailing slashes in PATH elements. 34307a0395d0Smrgcase $as_dir/ in 34317a0395d0Smrg ./ | .// | /cC/* | \ 34327a0395d0Smrg /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 34337a0395d0Smrg ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 34347a0395d0Smrg /usr/ucb/* ) ;; 34357a0395d0Smrg *) 34367a0395d0Smrg # OSF1 and SCO ODT 3.0 have their own names for install. 34377a0395d0Smrg # Don't use installbsd from OSF since it installs stuff as root 34387a0395d0Smrg # by default. 34397a0395d0Smrg for ac_prog in ginstall scoinst install; do 34407a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 34417a0395d0Smrg if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 34427a0395d0Smrg if test $ac_prog = install && 34437a0395d0Smrg grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 34447a0395d0Smrg # AIX install. It has an incompatible calling convention. 34457a0395d0Smrg : 34467a0395d0Smrg elif test $ac_prog = install && 34477a0395d0Smrg grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 34487a0395d0Smrg # program-specific install script used by HP pwplus--don't use. 34497a0395d0Smrg : 34507a0395d0Smrg else 34517a0395d0Smrg ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 34527a0395d0Smrg break 3 34537a0395d0Smrg fi 34547a0395d0Smrg fi 34557a0395d0Smrg done 34567a0395d0Smrg done 34577a0395d0Smrg ;; 34587a0395d0Smrgesac 34597a0395d0Smrgdone 34607a0395d0SmrgIFS=$as_save_IFS 34617a0395d0Smrg 34627a0395d0Smrg 34637a0395d0Smrgfi 34647a0395d0Smrg if test "${ac_cv_path_install+set}" = set; then 34657a0395d0Smrg INSTALL=$ac_cv_path_install 34667a0395d0Smrg else 34677a0395d0Smrg # As a last resort, use the slow shell script. Don't cache a 34687a0395d0Smrg # value for INSTALL within a source directory, because that will 34697a0395d0Smrg # break other packages using the cache if that directory is 34707a0395d0Smrg # removed, or if the value is a relative name. 34717a0395d0Smrg INSTALL=$ac_install_sh 34727a0395d0Smrg fi 34737a0395d0Smrgfi 34747a0395d0Smrg{ echo "$as_me:$LINENO: result: $INSTALL" >&5 34757a0395d0Smrgecho "${ECHO_T}$INSTALL" >&6; } 34767a0395d0Smrg 34777a0395d0Smrg# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 34787a0395d0Smrg# It thinks the first close brace ends the variable substitution. 34797a0395d0Smrgtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 34807a0395d0Smrg 34817a0395d0Smrgtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 34827a0395d0Smrg 34837a0395d0Smrgtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 34847a0395d0Smrg 34857a0395d0Smrg 34867a0395d0Smrg 34877a0395d0Smrg{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5 34887a0395d0Smrgecho $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 34897a0395d0Smrgif test "${ac_cv_type_signal+set}" = set; then 34907a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 34917a0395d0Smrgelse 34927a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 34937a0395d0Smrg/* confdefs.h. */ 34947a0395d0Smrg_ACEOF 34957a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 34967a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 34977a0395d0Smrg/* end confdefs.h. */ 34987a0395d0Smrg#include <sys/types.h> 34997a0395d0Smrg#include <signal.h> 35007a0395d0Smrg 35017a0395d0Smrgint 35027a0395d0Smrgmain () 35037a0395d0Smrg{ 35047a0395d0Smrgreturn *(signal (0, 0)) (0) == 1; 35057a0395d0Smrg ; 35067a0395d0Smrg return 0; 35077a0395d0Smrg} 35087a0395d0Smrg_ACEOF 35097a0395d0Smrgrm -f conftest.$ac_objext 35107a0395d0Smrgif { (ac_try="$ac_compile" 35117a0395d0Smrgcase "(($ac_try" in 35127a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 35137a0395d0Smrg *) ac_try_echo=$ac_try;; 35147a0395d0Smrgesac 35157a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 35167a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 35177a0395d0Smrg ac_status=$? 35187a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 35197a0395d0Smrg rm -f conftest.er1 35207a0395d0Smrg cat conftest.err >&5 35217a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 35227a0395d0Smrg (exit $ac_status); } && { 35237a0395d0Smrg test -z "$ac_c_werror_flag" || 35247a0395d0Smrg test ! -s conftest.err 35257a0395d0Smrg } && test -s conftest.$ac_objext; then 35267a0395d0Smrg ac_cv_type_signal=int 35277a0395d0Smrgelse 35287a0395d0Smrg echo "$as_me: failed program was:" >&5 35297a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 35307a0395d0Smrg 35317a0395d0Smrg ac_cv_type_signal=void 35327a0395d0Smrgfi 35337a0395d0Smrg 35347a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35357a0395d0Smrgfi 35367a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 35377a0395d0Smrgecho "${ECHO_T}$ac_cv_type_signal" >&6; } 35387a0395d0Smrg 35397a0395d0Smrgcat >>confdefs.h <<_ACEOF 35407a0395d0Smrg#define RETSIGTYPE $ac_cv_type_signal 35417a0395d0Smrg_ACEOF 35427a0395d0Smrg 35437a0395d0Smrg 35447a0395d0Smrg 35457a0395d0Smrgac_ext=c 35467a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 35477a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35487a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35497a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 35507a0395d0Smrg{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 35517a0395d0Smrgecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 35527a0395d0Smrg# On Suns, sometimes $CPP names a directory. 35537a0395d0Smrgif test -n "$CPP" && test -d "$CPP"; then 35547a0395d0Smrg CPP= 35557a0395d0Smrgfi 35567a0395d0Smrgif test -z "$CPP"; then 35577a0395d0Smrg if test "${ac_cv_prog_CPP+set}" = set; then 35587a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 35597a0395d0Smrgelse 35607a0395d0Smrg # Double quotes because CPP needs to be expanded 35617a0395d0Smrg for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 35627a0395d0Smrg do 35637a0395d0Smrg ac_preproc_ok=false 35647a0395d0Smrgfor ac_c_preproc_warn_flag in '' yes 35657a0395d0Smrgdo 35667a0395d0Smrg # Use a header file that comes with gcc, so configuring glibc 35677a0395d0Smrg # with a fresh cross-compiler works. 35687a0395d0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 35697a0395d0Smrg # <limits.h> exists even on freestanding compilers. 35707a0395d0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 35717a0395d0Smrg # not just through cpp. "Syntax error" is here to catch this case. 35727a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 35737a0395d0Smrg/* confdefs.h. */ 35747a0395d0Smrg_ACEOF 35757a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 35767a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 35777a0395d0Smrg/* end confdefs.h. */ 35787a0395d0Smrg#ifdef __STDC__ 35797a0395d0Smrg# include <limits.h> 35807a0395d0Smrg#else 35817a0395d0Smrg# include <assert.h> 35827a0395d0Smrg#endif 35837a0395d0Smrg Syntax error 35847a0395d0Smrg_ACEOF 35857a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 35867a0395d0Smrgcase "(($ac_try" in 35877a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 35887a0395d0Smrg *) ac_try_echo=$ac_try;; 35897a0395d0Smrgesac 35907a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 35917a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 35927a0395d0Smrg ac_status=$? 35937a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 35947a0395d0Smrg rm -f conftest.er1 35957a0395d0Smrg cat conftest.err >&5 35967a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 35977a0395d0Smrg (exit $ac_status); } >/dev/null && { 35987a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 35997a0395d0Smrg test ! -s conftest.err 36007a0395d0Smrg }; then 36017a0395d0Smrg : 36027a0395d0Smrgelse 36037a0395d0Smrg echo "$as_me: failed program was:" >&5 36047a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 36057a0395d0Smrg 36067a0395d0Smrg # Broken: fails on valid input. 36077a0395d0Smrgcontinue 36087a0395d0Smrgfi 36097a0395d0Smrg 36107a0395d0Smrgrm -f conftest.err conftest.$ac_ext 36117a0395d0Smrg 36127a0395d0Smrg # OK, works on sane cases. Now check whether nonexistent headers 36137a0395d0Smrg # can be detected and how. 36147a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 36157a0395d0Smrg/* confdefs.h. */ 36167a0395d0Smrg_ACEOF 36177a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 36187a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 36197a0395d0Smrg/* end confdefs.h. */ 36207a0395d0Smrg#include <ac_nonexistent.h> 36217a0395d0Smrg_ACEOF 36227a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 36237a0395d0Smrgcase "(($ac_try" in 36247a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 36257a0395d0Smrg *) ac_try_echo=$ac_try;; 36267a0395d0Smrgesac 36277a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 36287a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 36297a0395d0Smrg ac_status=$? 36307a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 36317a0395d0Smrg rm -f conftest.er1 36327a0395d0Smrg cat conftest.err >&5 36337a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 36347a0395d0Smrg (exit $ac_status); } >/dev/null && { 36357a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 36367a0395d0Smrg test ! -s conftest.err 36377a0395d0Smrg }; then 36387a0395d0Smrg # Broken: success on invalid input. 36397a0395d0Smrgcontinue 36407a0395d0Smrgelse 36417a0395d0Smrg echo "$as_me: failed program was:" >&5 36427a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 36437a0395d0Smrg 36447a0395d0Smrg # Passes both tests. 36457a0395d0Smrgac_preproc_ok=: 36467a0395d0Smrgbreak 36477a0395d0Smrgfi 36487a0395d0Smrg 36497a0395d0Smrgrm -f conftest.err conftest.$ac_ext 36507a0395d0Smrg 36517a0395d0Smrgdone 36527a0395d0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 36537a0395d0Smrgrm -f conftest.err conftest.$ac_ext 36547a0395d0Smrgif $ac_preproc_ok; then 36557a0395d0Smrg break 36567a0395d0Smrgfi 36577a0395d0Smrg 36587a0395d0Smrg done 36597a0395d0Smrg ac_cv_prog_CPP=$CPP 36607a0395d0Smrg 36617a0395d0Smrgfi 36627a0395d0Smrg CPP=$ac_cv_prog_CPP 36637a0395d0Smrgelse 36647a0395d0Smrg ac_cv_prog_CPP=$CPP 36657a0395d0Smrgfi 36667a0395d0Smrg{ echo "$as_me:$LINENO: result: $CPP" >&5 36677a0395d0Smrgecho "${ECHO_T}$CPP" >&6; } 36687a0395d0Smrgac_preproc_ok=false 36697a0395d0Smrgfor ac_c_preproc_warn_flag in '' yes 36707a0395d0Smrgdo 36717a0395d0Smrg # Use a header file that comes with gcc, so configuring glibc 36727a0395d0Smrg # with a fresh cross-compiler works. 36737a0395d0Smrg # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 36747a0395d0Smrg # <limits.h> exists even on freestanding compilers. 36757a0395d0Smrg # On the NeXT, cc -E runs the code through the compiler's parser, 36767a0395d0Smrg # not just through cpp. "Syntax error" is here to catch this case. 36777a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 36787a0395d0Smrg/* confdefs.h. */ 36797a0395d0Smrg_ACEOF 36807a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 36817a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 36827a0395d0Smrg/* end confdefs.h. */ 36837a0395d0Smrg#ifdef __STDC__ 36847a0395d0Smrg# include <limits.h> 36857a0395d0Smrg#else 36867a0395d0Smrg# include <assert.h> 36877a0395d0Smrg#endif 36887a0395d0Smrg Syntax error 36897a0395d0Smrg_ACEOF 36907a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 36917a0395d0Smrgcase "(($ac_try" in 36927a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 36937a0395d0Smrg *) ac_try_echo=$ac_try;; 36947a0395d0Smrgesac 36957a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 36967a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 36977a0395d0Smrg ac_status=$? 36987a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 36997a0395d0Smrg rm -f conftest.er1 37007a0395d0Smrg cat conftest.err >&5 37017a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 37027a0395d0Smrg (exit $ac_status); } >/dev/null && { 37037a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37047a0395d0Smrg test ! -s conftest.err 37057a0395d0Smrg }; then 37067a0395d0Smrg : 37077a0395d0Smrgelse 37087a0395d0Smrg echo "$as_me: failed program was:" >&5 37097a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 37107a0395d0Smrg 37117a0395d0Smrg # Broken: fails on valid input. 37127a0395d0Smrgcontinue 37137a0395d0Smrgfi 37147a0395d0Smrg 37157a0395d0Smrgrm -f conftest.err conftest.$ac_ext 37167a0395d0Smrg 37177a0395d0Smrg # OK, works on sane cases. Now check whether nonexistent headers 37187a0395d0Smrg # can be detected and how. 37197a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 37207a0395d0Smrg/* confdefs.h. */ 37217a0395d0Smrg_ACEOF 37227a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 37237a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 37247a0395d0Smrg/* end confdefs.h. */ 37257a0395d0Smrg#include <ac_nonexistent.h> 37267a0395d0Smrg_ACEOF 37277a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 37287a0395d0Smrgcase "(($ac_try" in 37297a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 37307a0395d0Smrg *) ac_try_echo=$ac_try;; 37317a0395d0Smrgesac 37327a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 37337a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 37347a0395d0Smrg ac_status=$? 37357a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 37367a0395d0Smrg rm -f conftest.er1 37377a0395d0Smrg cat conftest.err >&5 37387a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 37397a0395d0Smrg (exit $ac_status); } >/dev/null && { 37407a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 37417a0395d0Smrg test ! -s conftest.err 37427a0395d0Smrg }; then 37437a0395d0Smrg # Broken: success on invalid input. 37447a0395d0Smrgcontinue 37457a0395d0Smrgelse 37467a0395d0Smrg echo "$as_me: failed program was:" >&5 37477a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 37487a0395d0Smrg 37497a0395d0Smrg # Passes both tests. 37507a0395d0Smrgac_preproc_ok=: 37517a0395d0Smrgbreak 37527a0395d0Smrgfi 37537a0395d0Smrg 37547a0395d0Smrgrm -f conftest.err conftest.$ac_ext 37557a0395d0Smrg 37567a0395d0Smrgdone 37577a0395d0Smrg# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 37587a0395d0Smrgrm -f conftest.err conftest.$ac_ext 37597a0395d0Smrgif $ac_preproc_ok; then 37607a0395d0Smrg : 37617a0395d0Smrgelse 37627a0395d0Smrg { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 37637a0395d0SmrgSee \`config.log' for more details." >&5 37647a0395d0Smrgecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check 37657a0395d0SmrgSee \`config.log' for more details." >&2;} 37667a0395d0Smrg { (exit 1); exit 1; }; } 37677a0395d0Smrgfi 37687a0395d0Smrg 37697a0395d0Smrgac_ext=c 37707a0395d0Smrgac_cpp='$CPP $CPPFLAGS' 37717a0395d0Smrgac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37727a0395d0Smrgac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37737a0395d0Smrgac_compiler_gnu=$ac_cv_c_compiler_gnu 37747a0395d0Smrg 37757a0395d0Smrg 37767a0395d0Smrg{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 37777a0395d0Smrgecho $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 37787a0395d0Smrgif test "${ac_cv_path_GREP+set}" = set; then 37797a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 37807a0395d0Smrgelse 37817a0395d0Smrg # Extract the first word of "grep ggrep" to use in msg output 37827a0395d0Smrgif test -z "$GREP"; then 37837a0395d0Smrgset dummy grep ggrep; ac_prog_name=$2 37847a0395d0Smrgif test "${ac_cv_path_GREP+set}" = set; then 37857a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 37867a0395d0Smrgelse 37877a0395d0Smrg ac_path_GREP_found=false 37887a0395d0Smrg# Loop through the user's path and test for each of PROGNAME-LIST 37897a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 37907a0395d0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 37917a0395d0Smrgdo 37927a0395d0Smrg IFS=$as_save_IFS 37937a0395d0Smrg test -z "$as_dir" && as_dir=. 37947a0395d0Smrg for ac_prog in grep ggrep; do 37957a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 37967a0395d0Smrg ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 37977a0395d0Smrg { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 37987a0395d0Smrg # Check for GNU ac_path_GREP and select it if it is found. 37997a0395d0Smrg # Check for GNU $ac_path_GREP 38007a0395d0Smrgcase `"$ac_path_GREP" --version 2>&1` in 38017a0395d0Smrg*GNU*) 38027a0395d0Smrg ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 38037a0395d0Smrg*) 38047a0395d0Smrg ac_count=0 38057a0395d0Smrg echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 38067a0395d0Smrg while : 38077a0395d0Smrg do 38087a0395d0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38097a0395d0Smrg mv "conftest.tmp" "conftest.in" 38107a0395d0Smrg cp "conftest.in" "conftest.nl" 38117a0395d0Smrg echo 'GREP' >> "conftest.nl" 38127a0395d0Smrg "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38137a0395d0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38147a0395d0Smrg ac_count=`expr $ac_count + 1` 38157a0395d0Smrg if test $ac_count -gt ${ac_path_GREP_max-0}; then 38167a0395d0Smrg # Best one so far, save it but keep looking for a better one 38177a0395d0Smrg ac_cv_path_GREP="$ac_path_GREP" 38187a0395d0Smrg ac_path_GREP_max=$ac_count 38197a0395d0Smrg fi 38207a0395d0Smrg # 10*(2^10) chars as input seems more than enough 38217a0395d0Smrg test $ac_count -gt 10 && break 38227a0395d0Smrg done 38237a0395d0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 38247a0395d0Smrgesac 38257a0395d0Smrg 38267a0395d0Smrg 38277a0395d0Smrg $ac_path_GREP_found && break 3 38287a0395d0Smrg done 38297a0395d0Smrgdone 38307a0395d0Smrg 38317a0395d0Smrgdone 38327a0395d0SmrgIFS=$as_save_IFS 38337a0395d0Smrg 38347a0395d0Smrg 38357a0395d0Smrgfi 38367a0395d0Smrg 38377a0395d0SmrgGREP="$ac_cv_path_GREP" 38387a0395d0Smrgif test -z "$GREP"; then 38397a0395d0Smrg { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 38407a0395d0Smrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 38417a0395d0Smrg { (exit 1); exit 1; }; } 38427a0395d0Smrgfi 38437a0395d0Smrg 38447a0395d0Smrgelse 38457a0395d0Smrg ac_cv_path_GREP=$GREP 38467a0395d0Smrgfi 38477a0395d0Smrg 38487a0395d0Smrg 38497a0395d0Smrgfi 38507a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 38517a0395d0Smrgecho "${ECHO_T}$ac_cv_path_GREP" >&6; } 38527a0395d0Smrg GREP="$ac_cv_path_GREP" 38537a0395d0Smrg 38547a0395d0Smrg 38557a0395d0Smrg{ echo "$as_me:$LINENO: checking for egrep" >&5 38567a0395d0Smrgecho $ECHO_N "checking for egrep... $ECHO_C" >&6; } 38577a0395d0Smrgif test "${ac_cv_path_EGREP+set}" = set; then 38587a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 38597a0395d0Smrgelse 38607a0395d0Smrg if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 38617a0395d0Smrg then ac_cv_path_EGREP="$GREP -E" 38627a0395d0Smrg else 38637a0395d0Smrg # Extract the first word of "egrep" to use in msg output 38647a0395d0Smrgif test -z "$EGREP"; then 38657a0395d0Smrgset dummy egrep; ac_prog_name=$2 38667a0395d0Smrgif test "${ac_cv_path_EGREP+set}" = set; then 38677a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 38687a0395d0Smrgelse 38697a0395d0Smrg ac_path_EGREP_found=false 38707a0395d0Smrg# Loop through the user's path and test for each of PROGNAME-LIST 38717a0395d0Smrgas_save_IFS=$IFS; IFS=$PATH_SEPARATOR 38727a0395d0Smrgfor as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 38737a0395d0Smrgdo 38747a0395d0Smrg IFS=$as_save_IFS 38757a0395d0Smrg test -z "$as_dir" && as_dir=. 38767a0395d0Smrg for ac_prog in egrep; do 38777a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 38787a0395d0Smrg ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 38797a0395d0Smrg { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 38807a0395d0Smrg # Check for GNU ac_path_EGREP and select it if it is found. 38817a0395d0Smrg # Check for GNU $ac_path_EGREP 38827a0395d0Smrgcase `"$ac_path_EGREP" --version 2>&1` in 38837a0395d0Smrg*GNU*) 38847a0395d0Smrg ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 38857a0395d0Smrg*) 38867a0395d0Smrg ac_count=0 38877a0395d0Smrg echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 38887a0395d0Smrg while : 38897a0395d0Smrg do 38907a0395d0Smrg cat "conftest.in" "conftest.in" >"conftest.tmp" 38917a0395d0Smrg mv "conftest.tmp" "conftest.in" 38927a0395d0Smrg cp "conftest.in" "conftest.nl" 38937a0395d0Smrg echo 'EGREP' >> "conftest.nl" 38947a0395d0Smrg "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 38957a0395d0Smrg diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 38967a0395d0Smrg ac_count=`expr $ac_count + 1` 38977a0395d0Smrg if test $ac_count -gt ${ac_path_EGREP_max-0}; then 38987a0395d0Smrg # Best one so far, save it but keep looking for a better one 38997a0395d0Smrg ac_cv_path_EGREP="$ac_path_EGREP" 39007a0395d0Smrg ac_path_EGREP_max=$ac_count 39017a0395d0Smrg fi 39027a0395d0Smrg # 10*(2^10) chars as input seems more than enough 39037a0395d0Smrg test $ac_count -gt 10 && break 39047a0395d0Smrg done 39057a0395d0Smrg rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 39067a0395d0Smrgesac 39077a0395d0Smrg 39087a0395d0Smrg 39097a0395d0Smrg $ac_path_EGREP_found && break 3 39107a0395d0Smrg done 39117a0395d0Smrgdone 39127a0395d0Smrg 39137a0395d0Smrgdone 39147a0395d0SmrgIFS=$as_save_IFS 39157a0395d0Smrg 39167a0395d0Smrg 39177a0395d0Smrgfi 39187a0395d0Smrg 39197a0395d0SmrgEGREP="$ac_cv_path_EGREP" 39207a0395d0Smrgif test -z "$EGREP"; then 39217a0395d0Smrg { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 39227a0395d0Smrgecho "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 39237a0395d0Smrg { (exit 1); exit 1; }; } 39247a0395d0Smrgfi 39257a0395d0Smrg 39267a0395d0Smrgelse 39277a0395d0Smrg ac_cv_path_EGREP=$EGREP 39287a0395d0Smrgfi 39297a0395d0Smrg 39307a0395d0Smrg 39317a0395d0Smrg fi 39327a0395d0Smrgfi 39337a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 39347a0395d0Smrgecho "${ECHO_T}$ac_cv_path_EGREP" >&6; } 39357a0395d0Smrg EGREP="$ac_cv_path_EGREP" 39367a0395d0Smrg 39377a0395d0Smrg 39387a0395d0Smrg{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 39397a0395d0Smrgecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 39407a0395d0Smrgif test "${ac_cv_header_stdc+set}" = set; then 39417a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 39427a0395d0Smrgelse 39437a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 39447a0395d0Smrg/* confdefs.h. */ 39457a0395d0Smrg_ACEOF 39467a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 39477a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 39487a0395d0Smrg/* end confdefs.h. */ 39497a0395d0Smrg#include <stdlib.h> 39507a0395d0Smrg#include <stdarg.h> 39517a0395d0Smrg#include <string.h> 39527a0395d0Smrg#include <float.h> 39537a0395d0Smrg 39547a0395d0Smrgint 39557a0395d0Smrgmain () 39567a0395d0Smrg{ 39577a0395d0Smrg 39587a0395d0Smrg ; 39597a0395d0Smrg return 0; 39607a0395d0Smrg} 39617a0395d0Smrg_ACEOF 39627a0395d0Smrgrm -f conftest.$ac_objext 39637a0395d0Smrgif { (ac_try="$ac_compile" 39647a0395d0Smrgcase "(($ac_try" in 39657a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 39667a0395d0Smrg *) ac_try_echo=$ac_try;; 39677a0395d0Smrgesac 39687a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 39697a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 39707a0395d0Smrg ac_status=$? 39717a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 39727a0395d0Smrg rm -f conftest.er1 39737a0395d0Smrg cat conftest.err >&5 39747a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 39757a0395d0Smrg (exit $ac_status); } && { 39767a0395d0Smrg test -z "$ac_c_werror_flag" || 39777a0395d0Smrg test ! -s conftest.err 39787a0395d0Smrg } && test -s conftest.$ac_objext; then 39797a0395d0Smrg ac_cv_header_stdc=yes 39807a0395d0Smrgelse 39817a0395d0Smrg echo "$as_me: failed program was:" >&5 39827a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 39837a0395d0Smrg 39847a0395d0Smrg ac_cv_header_stdc=no 39857a0395d0Smrgfi 39867a0395d0Smrg 39877a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 39887a0395d0Smrg 39897a0395d0Smrgif test $ac_cv_header_stdc = yes; then 39907a0395d0Smrg # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 39917a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 39927a0395d0Smrg/* confdefs.h. */ 39937a0395d0Smrg_ACEOF 39947a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 39957a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 39967a0395d0Smrg/* end confdefs.h. */ 39977a0395d0Smrg#include <string.h> 39987a0395d0Smrg 39997a0395d0Smrg_ACEOF 40007a0395d0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40017a0395d0Smrg $EGREP "memchr" >/dev/null 2>&1; then 40027a0395d0Smrg : 40037a0395d0Smrgelse 40047a0395d0Smrg ac_cv_header_stdc=no 40057a0395d0Smrgfi 40067a0395d0Smrgrm -f conftest* 40077a0395d0Smrg 40087a0395d0Smrgfi 40097a0395d0Smrg 40107a0395d0Smrgif test $ac_cv_header_stdc = yes; then 40117a0395d0Smrg # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 40127a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 40137a0395d0Smrg/* confdefs.h. */ 40147a0395d0Smrg_ACEOF 40157a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 40167a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 40177a0395d0Smrg/* end confdefs.h. */ 40187a0395d0Smrg#include <stdlib.h> 40197a0395d0Smrg 40207a0395d0Smrg_ACEOF 40217a0395d0Smrgif (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 40227a0395d0Smrg $EGREP "free" >/dev/null 2>&1; then 40237a0395d0Smrg : 40247a0395d0Smrgelse 40257a0395d0Smrg ac_cv_header_stdc=no 40267a0395d0Smrgfi 40277a0395d0Smrgrm -f conftest* 40287a0395d0Smrg 40297a0395d0Smrgfi 40307a0395d0Smrg 40317a0395d0Smrgif test $ac_cv_header_stdc = yes; then 40327a0395d0Smrg # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 40337a0395d0Smrg if test "$cross_compiling" = yes; then 40347a0395d0Smrg : 40357a0395d0Smrgelse 40367a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 40377a0395d0Smrg/* confdefs.h. */ 40387a0395d0Smrg_ACEOF 40397a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 40407a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 40417a0395d0Smrg/* end confdefs.h. */ 40427a0395d0Smrg#include <ctype.h> 40437a0395d0Smrg#include <stdlib.h> 40447a0395d0Smrg#if ((' ' & 0x0FF) == 0x020) 40457a0395d0Smrg# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 40467a0395d0Smrg# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 40477a0395d0Smrg#else 40487a0395d0Smrg# define ISLOWER(c) \ 40497a0395d0Smrg (('a' <= (c) && (c) <= 'i') \ 40507a0395d0Smrg || ('j' <= (c) && (c) <= 'r') \ 40517a0395d0Smrg || ('s' <= (c) && (c) <= 'z')) 40527a0395d0Smrg# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 40537a0395d0Smrg#endif 40547a0395d0Smrg 40557a0395d0Smrg#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 40567a0395d0Smrgint 40577a0395d0Smrgmain () 40587a0395d0Smrg{ 40597a0395d0Smrg int i; 40607a0395d0Smrg for (i = 0; i < 256; i++) 40617a0395d0Smrg if (XOR (islower (i), ISLOWER (i)) 40627a0395d0Smrg || toupper (i) != TOUPPER (i)) 40637a0395d0Smrg return 2; 40647a0395d0Smrg return 0; 40657a0395d0Smrg} 40667a0395d0Smrg_ACEOF 40677a0395d0Smrgrm -f conftest$ac_exeext 40687a0395d0Smrgif { (ac_try="$ac_link" 40697a0395d0Smrgcase "(($ac_try" in 40707a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 40717a0395d0Smrg *) ac_try_echo=$ac_try;; 40727a0395d0Smrgesac 40737a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 40747a0395d0Smrg (eval "$ac_link") 2>&5 40757a0395d0Smrg ac_status=$? 40767a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 40777a0395d0Smrg (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 40787a0395d0Smrg { (case "(($ac_try" in 40797a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 40807a0395d0Smrg *) ac_try_echo=$ac_try;; 40817a0395d0Smrgesac 40827a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 40837a0395d0Smrg (eval "$ac_try") 2>&5 40847a0395d0Smrg ac_status=$? 40857a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 40867a0395d0Smrg (exit $ac_status); }; }; then 40877a0395d0Smrg : 40887a0395d0Smrgelse 40897a0395d0Smrg echo "$as_me: program exited with status $ac_status" >&5 40907a0395d0Smrgecho "$as_me: failed program was:" >&5 40917a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 40927a0395d0Smrg 40937a0395d0Smrg( exit $ac_status ) 40947a0395d0Smrgac_cv_header_stdc=no 40957a0395d0Smrgfi 40967a0395d0Smrgrm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 40977a0395d0Smrgfi 40987a0395d0Smrg 40997a0395d0Smrg 41007a0395d0Smrgfi 41017a0395d0Smrgfi 41027a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 41037a0395d0Smrgecho "${ECHO_T}$ac_cv_header_stdc" >&6; } 41047a0395d0Smrgif test $ac_cv_header_stdc = yes; then 41057a0395d0Smrg 41067a0395d0Smrgcat >>confdefs.h <<\_ACEOF 41077a0395d0Smrg#define STDC_HEADERS 1 41087a0395d0Smrg_ACEOF 41097a0395d0Smrg 41107a0395d0Smrgfi 41117a0395d0Smrg 41127a0395d0Smrg# On IRIX 5.3, sys/types and inttypes.h are conflicting. 41137a0395d0Smrg 41147a0395d0Smrg 41157a0395d0Smrg 41167a0395d0Smrg 41177a0395d0Smrg 41187a0395d0Smrg 41197a0395d0Smrg 41207a0395d0Smrg 41217a0395d0Smrg 41227a0395d0Smrgfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 41237a0395d0Smrg inttypes.h stdint.h unistd.h 41247a0395d0Smrgdo 41257a0395d0Smrgas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 41267a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_header" >&5 41277a0395d0Smrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 41287a0395d0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 41297a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 41307a0395d0Smrgelse 41317a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 41327a0395d0Smrg/* confdefs.h. */ 41337a0395d0Smrg_ACEOF 41347a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 41357a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 41367a0395d0Smrg/* end confdefs.h. */ 41377a0395d0Smrg$ac_includes_default 41387a0395d0Smrg 41397a0395d0Smrg#include <$ac_header> 41407a0395d0Smrg_ACEOF 41417a0395d0Smrgrm -f conftest.$ac_objext 41427a0395d0Smrgif { (ac_try="$ac_compile" 41437a0395d0Smrgcase "(($ac_try" in 41447a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 41457a0395d0Smrg *) ac_try_echo=$ac_try;; 41467a0395d0Smrgesac 41477a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 41487a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 41497a0395d0Smrg ac_status=$? 41507a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 41517a0395d0Smrg rm -f conftest.er1 41527a0395d0Smrg cat conftest.err >&5 41537a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 41547a0395d0Smrg (exit $ac_status); } && { 41557a0395d0Smrg test -z "$ac_c_werror_flag" || 41567a0395d0Smrg test ! -s conftest.err 41577a0395d0Smrg } && test -s conftest.$ac_objext; then 41587a0395d0Smrg eval "$as_ac_Header=yes" 41597a0395d0Smrgelse 41607a0395d0Smrg echo "$as_me: failed program was:" >&5 41617a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 41627a0395d0Smrg 41637a0395d0Smrg eval "$as_ac_Header=no" 41647a0395d0Smrgfi 41657a0395d0Smrg 41667a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41677a0395d0Smrgfi 41687a0395d0Smrgac_res=`eval echo '${'$as_ac_Header'}'` 41697a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_res" >&5 41707a0395d0Smrgecho "${ECHO_T}$ac_res" >&6; } 41717a0395d0Smrgif test `eval echo '${'$as_ac_Header'}'` = yes; then 41727a0395d0Smrg cat >>confdefs.h <<_ACEOF 41737a0395d0Smrg#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 41747a0395d0Smrg_ACEOF 41757a0395d0Smrg 41767a0395d0Smrgfi 41777a0395d0Smrg 41787a0395d0Smrgdone 41797a0395d0Smrg 41807a0395d0Smrg 41817a0395d0Smrg 41827a0395d0Smrgfor ac_header in net/errno.h 41837a0395d0Smrgdo 41847a0395d0Smrgas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 41857a0395d0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 41867a0395d0Smrg { echo "$as_me:$LINENO: checking for $ac_header" >&5 41877a0395d0Smrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 41887a0395d0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 41897a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 41907a0395d0Smrgfi 41917a0395d0Smrgac_res=`eval echo '${'$as_ac_Header'}'` 41927a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_res" >&5 41937a0395d0Smrgecho "${ECHO_T}$ac_res" >&6; } 41947a0395d0Smrgelse 41957a0395d0Smrg # Is the header compilable? 41967a0395d0Smrg{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 41977a0395d0Smrgecho $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 41987a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 41997a0395d0Smrg/* confdefs.h. */ 42007a0395d0Smrg_ACEOF 42017a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 42027a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 42037a0395d0Smrg/* end confdefs.h. */ 42047a0395d0Smrg$ac_includes_default 42057a0395d0Smrg#include <$ac_header> 42067a0395d0Smrg_ACEOF 42077a0395d0Smrgrm -f conftest.$ac_objext 42087a0395d0Smrgif { (ac_try="$ac_compile" 42097a0395d0Smrgcase "(($ac_try" in 42107a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 42117a0395d0Smrg *) ac_try_echo=$ac_try;; 42127a0395d0Smrgesac 42137a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 42147a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 42157a0395d0Smrg ac_status=$? 42167a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 42177a0395d0Smrg rm -f conftest.er1 42187a0395d0Smrg cat conftest.err >&5 42197a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 42207a0395d0Smrg (exit $ac_status); } && { 42217a0395d0Smrg test -z "$ac_c_werror_flag" || 42227a0395d0Smrg test ! -s conftest.err 42237a0395d0Smrg } && test -s conftest.$ac_objext; then 42247a0395d0Smrg ac_header_compiler=yes 42257a0395d0Smrgelse 42267a0395d0Smrg echo "$as_me: failed program was:" >&5 42277a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 42287a0395d0Smrg 42297a0395d0Smrg ac_header_compiler=no 42307a0395d0Smrgfi 42317a0395d0Smrg 42327a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 42337a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 42347a0395d0Smrgecho "${ECHO_T}$ac_header_compiler" >&6; } 42357a0395d0Smrg 42367a0395d0Smrg# Is the header present? 42377a0395d0Smrg{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 42387a0395d0Smrgecho $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 42397a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 42407a0395d0Smrg/* confdefs.h. */ 42417a0395d0Smrg_ACEOF 42427a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 42437a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 42447a0395d0Smrg/* end confdefs.h. */ 42457a0395d0Smrg#include <$ac_header> 42467a0395d0Smrg_ACEOF 42477a0395d0Smrgif { (ac_try="$ac_cpp conftest.$ac_ext" 42487a0395d0Smrgcase "(($ac_try" in 42497a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 42507a0395d0Smrg *) ac_try_echo=$ac_try;; 42517a0395d0Smrgesac 42527a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 42537a0395d0Smrg (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 42547a0395d0Smrg ac_status=$? 42557a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 42567a0395d0Smrg rm -f conftest.er1 42577a0395d0Smrg cat conftest.err >&5 42587a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 42597a0395d0Smrg (exit $ac_status); } >/dev/null && { 42607a0395d0Smrg test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 42617a0395d0Smrg test ! -s conftest.err 42627a0395d0Smrg }; then 42637a0395d0Smrg ac_header_preproc=yes 42647a0395d0Smrgelse 42657a0395d0Smrg echo "$as_me: failed program was:" >&5 42667a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 42677a0395d0Smrg 42687a0395d0Smrg ac_header_preproc=no 42697a0395d0Smrgfi 42707a0395d0Smrg 42717a0395d0Smrgrm -f conftest.err conftest.$ac_ext 42727a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 42737a0395d0Smrgecho "${ECHO_T}$ac_header_preproc" >&6; } 42747a0395d0Smrg 42757a0395d0Smrg# So? What about this header? 42767a0395d0Smrgcase $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 42777a0395d0Smrg yes:no: ) 42787a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 42797a0395d0Smrgecho "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 42807a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 42817a0395d0Smrgecho "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 42827a0395d0Smrg ac_header_preproc=yes 42837a0395d0Smrg ;; 42847a0395d0Smrg no:yes:* ) 42857a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 42867a0395d0Smrgecho "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 42877a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 42887a0395d0Smrgecho "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 42897a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 42907a0395d0Smrgecho "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 42917a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 42927a0395d0Smrgecho "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 42937a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 42947a0395d0Smrgecho "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 42957a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 42967a0395d0Smrgecho "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 42977a0395d0Smrg ( cat <<\_ASBOX 42987a0395d0Smrg## ---------------------------------------------------------------------- ## 42997a0395d0Smrg## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ## 43007a0395d0Smrg## ---------------------------------------------------------------------- ## 43017a0395d0Smrg_ASBOX 43027a0395d0Smrg ) | sed "s/^/$as_me: WARNING: /" >&2 43037a0395d0Smrg ;; 43047a0395d0Smrgesac 43057a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_header" >&5 43067a0395d0Smrgecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 43077a0395d0Smrgif { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 43087a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 43097a0395d0Smrgelse 43107a0395d0Smrg eval "$as_ac_Header=\$ac_header_preproc" 43117a0395d0Smrgfi 43127a0395d0Smrgac_res=`eval echo '${'$as_ac_Header'}'` 43137a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_res" >&5 43147a0395d0Smrgecho "${ECHO_T}$ac_res" >&6; } 43157a0395d0Smrg 43167a0395d0Smrgfi 43177a0395d0Smrgif test `eval echo '${'$as_ac_Header'}'` = yes; then 43187a0395d0Smrg cat >>confdefs.h <<_ACEOF 43197a0395d0Smrg#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 43207a0395d0Smrg_ACEOF 43217a0395d0Smrg 43227a0395d0Smrgfi 43237a0395d0Smrg 43247a0395d0Smrgdone 43257a0395d0Smrg 43267a0395d0Smrg 43277a0395d0Smrg# Checks for pkg-config packages 43287a0395d0Smrg 43297a0395d0Smrg 43307a0395d0Smrgif test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 43317a0395d0Smrg if test -n "$ac_tool_prefix"; then 43327a0395d0Smrg # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 43337a0395d0Smrgset dummy ${ac_tool_prefix}pkg-config; ac_word=$2 43347a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 43357a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 43367a0395d0Smrgif test "${ac_cv_path_PKG_CONFIG+set}" = set; then 43377a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 43387a0395d0Smrgelse 43397a0395d0Smrg case $PKG_CONFIG in 43407a0395d0Smrg [\\/]* | ?:[\\/]*) 43417a0395d0Smrg ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 43427a0395d0Smrg ;; 43437a0395d0Smrg *) 43447a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43457a0395d0Smrgfor as_dir in $PATH 43467a0395d0Smrgdo 43477a0395d0Smrg IFS=$as_save_IFS 43487a0395d0Smrg test -z "$as_dir" && as_dir=. 43497a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 43507a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 43517a0395d0Smrg ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 43527a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 43537a0395d0Smrg break 2 43547a0395d0Smrg fi 43557a0395d0Smrgdone 43567a0395d0Smrgdone 43577a0395d0SmrgIFS=$as_save_IFS 43587a0395d0Smrg 43597a0395d0Smrg ;; 43607a0395d0Smrgesac 43617a0395d0Smrgfi 43627a0395d0SmrgPKG_CONFIG=$ac_cv_path_PKG_CONFIG 43637a0395d0Smrgif test -n "$PKG_CONFIG"; then 43647a0395d0Smrg { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 43657a0395d0Smrgecho "${ECHO_T}$PKG_CONFIG" >&6; } 43667a0395d0Smrgelse 43677a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 43687a0395d0Smrgecho "${ECHO_T}no" >&6; } 43697a0395d0Smrgfi 43707a0395d0Smrg 43717a0395d0Smrg 43727a0395d0Smrgfi 43737a0395d0Smrgif test -z "$ac_cv_path_PKG_CONFIG"; then 43747a0395d0Smrg ac_pt_PKG_CONFIG=$PKG_CONFIG 43757a0395d0Smrg # Extract the first word of "pkg-config", so it can be a program name with args. 43767a0395d0Smrgset dummy pkg-config; ac_word=$2 43777a0395d0Smrg{ echo "$as_me:$LINENO: checking for $ac_word" >&5 43787a0395d0Smrgecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 43797a0395d0Smrgif test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 43807a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 43817a0395d0Smrgelse 43827a0395d0Smrg case $ac_pt_PKG_CONFIG in 43837a0395d0Smrg [\\/]* | ?:[\\/]*) 43847a0395d0Smrg ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 43857a0395d0Smrg ;; 43867a0395d0Smrg *) 43877a0395d0Smrg as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 43887a0395d0Smrgfor as_dir in $PATH 43897a0395d0Smrgdo 43907a0395d0Smrg IFS=$as_save_IFS 43917a0395d0Smrg test -z "$as_dir" && as_dir=. 43927a0395d0Smrg for ac_exec_ext in '' $ac_executable_extensions; do 43937a0395d0Smrg if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 43947a0395d0Smrg ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 43957a0395d0Smrg echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 43967a0395d0Smrg break 2 43977a0395d0Smrg fi 43987a0395d0Smrgdone 43997a0395d0Smrgdone 44007a0395d0SmrgIFS=$as_save_IFS 44017a0395d0Smrg 44027a0395d0Smrg ;; 44037a0395d0Smrgesac 44047a0395d0Smrgfi 44057a0395d0Smrgac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 44067a0395d0Smrgif test -n "$ac_pt_PKG_CONFIG"; then 44077a0395d0Smrg { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 44087a0395d0Smrgecho "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } 44097a0395d0Smrgelse 44107a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 44117a0395d0Smrgecho "${ECHO_T}no" >&6; } 44127a0395d0Smrgfi 44137a0395d0Smrg 44147a0395d0Smrg if test "x$ac_pt_PKG_CONFIG" = x; then 44157a0395d0Smrg PKG_CONFIG="" 44167a0395d0Smrg else 44177a0395d0Smrg case $cross_compiling:$ac_tool_warned in 44187a0395d0Smrgyes:) 44197a0395d0Smrg{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 44207a0395d0Smrgwhose name does not start with the host triplet. If you think this 44217a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&5 44227a0395d0Smrgecho "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 44237a0395d0Smrgwhose name does not start with the host triplet. If you think this 44247a0395d0Smrgconfiguration is useful to you, please write to autoconf@gnu.org." >&2;} 44257a0395d0Smrgac_tool_warned=yes ;; 44267a0395d0Smrgesac 44277a0395d0Smrg PKG_CONFIG=$ac_pt_PKG_CONFIG 44287a0395d0Smrg fi 44297a0395d0Smrgelse 44307a0395d0Smrg PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 44317a0395d0Smrgfi 44327a0395d0Smrg 44337a0395d0Smrgfi 44347a0395d0Smrgif test -n "$PKG_CONFIG"; then 44357a0395d0Smrg _pkg_min_version=0.9.0 44367a0395d0Smrg { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 44377a0395d0Smrgecho $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } 44387a0395d0Smrg if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 44397a0395d0Smrg { echo "$as_me:$LINENO: result: yes" >&5 44407a0395d0Smrgecho "${ECHO_T}yes" >&6; } 44417a0395d0Smrg else 44427a0395d0Smrg { echo "$as_me:$LINENO: result: no" >&5 44437a0395d0Smrgecho "${ECHO_T}no" >&6; } 44447a0395d0Smrg PKG_CONFIG="" 44457a0395d0Smrg fi 44467a0395d0Smrg 44477a0395d0Smrgfi 44487a0395d0Smrg 44497a0395d0Smrgpkg_failed=no 44507a0395d0Smrg{ echo "$as_me:$LINENO: checking for XAUTH" >&5 44517a0395d0Smrgecho $ECHO_N "checking for XAUTH... $ECHO_C" >&6; } 44527a0395d0Smrg 44537a0395d0Smrgif test -n "$XAUTH_CFLAGS"; then 44547a0395d0Smrg pkg_cv_XAUTH_CFLAGS="$XAUTH_CFLAGS" 44557a0395d0Smrg elif test -n "$PKG_CONFIG"; then 44567a0395d0Smrg if test -n "$PKG_CONFIG" && \ 44577a0395d0Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\"") >&5 44587a0395d0Smrg ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5 44597a0395d0Smrg ac_status=$? 44607a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 44617a0395d0Smrg (exit $ac_status); }; then 44627a0395d0Smrg pkg_cv_XAUTH_CFLAGS=`$PKG_CONFIG --cflags "x11 xau xext xmuu" 2>/dev/null` 44637a0395d0Smrgelse 44647a0395d0Smrg pkg_failed=yes 44657a0395d0Smrgfi 44667a0395d0Smrg else 44677a0395d0Smrg pkg_failed=untried 44687a0395d0Smrgfi 44697a0395d0Smrgif test -n "$XAUTH_LIBS"; then 44707a0395d0Smrg pkg_cv_XAUTH_LIBS="$XAUTH_LIBS" 44717a0395d0Smrg elif test -n "$PKG_CONFIG"; then 44727a0395d0Smrg if test -n "$PKG_CONFIG" && \ 44737a0395d0Smrg { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xau xext xmuu\"") >&5 44747a0395d0Smrg ($PKG_CONFIG --exists --print-errors "x11 xau xext xmuu") 2>&5 44757a0395d0Smrg ac_status=$? 44767a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 44777a0395d0Smrg (exit $ac_status); }; then 44787a0395d0Smrg pkg_cv_XAUTH_LIBS=`$PKG_CONFIG --libs "x11 xau xext xmuu" 2>/dev/null` 44797a0395d0Smrgelse 44807a0395d0Smrg pkg_failed=yes 44817a0395d0Smrgfi 44827a0395d0Smrg else 44837a0395d0Smrg pkg_failed=untried 44847a0395d0Smrgfi 44857a0395d0Smrg 44867a0395d0Smrg 44877a0395d0Smrg 44887a0395d0Smrgif test $pkg_failed = yes; then 44897a0395d0Smrg 44907a0395d0Smrgif $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44917a0395d0Smrg _pkg_short_errors_supported=yes 44927a0395d0Smrgelse 44937a0395d0Smrg _pkg_short_errors_supported=no 44947a0395d0Smrgfi 44957a0395d0Smrg if test $_pkg_short_errors_supported = yes; then 44967a0395d0Smrg XAUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xau xext xmuu" 2>&1` 44977a0395d0Smrg else 44987a0395d0Smrg XAUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xau xext xmuu" 2>&1` 44997a0395d0Smrg fi 45007a0395d0Smrg # Put the nasty error message in config.log where it belongs 45017a0395d0Smrg echo "$XAUTH_PKG_ERRORS" >&5 45027a0395d0Smrg 45037a0395d0Smrg { { echo "$as_me:$LINENO: error: Package requirements (x11 xau xext xmuu) were not met: 45047a0395d0Smrg 45057a0395d0Smrg$XAUTH_PKG_ERRORS 45067a0395d0Smrg 45077a0395d0SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 45087a0395d0Smrginstalled software in a non-standard prefix. 45097a0395d0Smrg 45107a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 45117a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 45127a0395d0SmrgSee the pkg-config man page for more details. 45137a0395d0Smrg" >&5 45147a0395d0Smrgecho "$as_me: error: Package requirements (x11 xau xext xmuu) were not met: 45157a0395d0Smrg 45167a0395d0Smrg$XAUTH_PKG_ERRORS 45177a0395d0Smrg 45187a0395d0SmrgConsider adjusting the PKG_CONFIG_PATH environment variable if you 45197a0395d0Smrginstalled software in a non-standard prefix. 45207a0395d0Smrg 45217a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 45227a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 45237a0395d0SmrgSee the pkg-config man page for more details. 45247a0395d0Smrg" >&2;} 45257a0395d0Smrg { (exit 1); exit 1; }; } 45267a0395d0Smrgelif test $pkg_failed = untried; then 45277a0395d0Smrg { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 45287a0395d0Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 45297a0395d0Smrgpath to pkg-config. 45307a0395d0Smrg 45317a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 45327a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 45337a0395d0SmrgSee the pkg-config man page for more details. 45347a0395d0Smrg 45357a0395d0SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 45367a0395d0SmrgSee \`config.log' for more details." >&5 45377a0395d0Smrgecho "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 45387a0395d0Smrgis in your PATH or set the PKG_CONFIG environment variable to the full 45397a0395d0Smrgpath to pkg-config. 45407a0395d0Smrg 45417a0395d0SmrgAlternatively, you may set the environment variables XAUTH_CFLAGS 45427a0395d0Smrgand XAUTH_LIBS to avoid the need to call pkg-config. 45437a0395d0SmrgSee the pkg-config man page for more details. 45447a0395d0Smrg 45457a0395d0SmrgTo get pkg-config, see <http://pkg-config.freedesktop.org/>. 45467a0395d0SmrgSee \`config.log' for more details." >&2;} 45477a0395d0Smrg { (exit 1); exit 1; }; } 45487a0395d0Smrgelse 45497a0395d0Smrg XAUTH_CFLAGS=$pkg_cv_XAUTH_CFLAGS 45507a0395d0Smrg XAUTH_LIBS=$pkg_cv_XAUTH_LIBS 45517a0395d0Smrg { echo "$as_me:$LINENO: result: yes" >&5 45527a0395d0Smrgecho "${ECHO_T}yes" >&6; } 45537a0395d0Smrg : 45547a0395d0Smrgfi 45557a0395d0Smrg 45567a0395d0Smrg 45577a0395d0Smrg 45587a0395d0Smrg# Transport selection macro from xtrans.m4 45597a0395d0Smrg# Needed to set *CONN defines for gethost.c & parsedpy.c 45607a0395d0Smrg# Make sure we can run config.sub. 45617a0395d0Smrg$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 45627a0395d0Smrg { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 45637a0395d0Smrgecho "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 45647a0395d0Smrg { (exit 1); exit 1; }; } 45657a0395d0Smrg 45667a0395d0Smrg{ echo "$as_me:$LINENO: checking build system type" >&5 45677a0395d0Smrgecho $ECHO_N "checking build system type... $ECHO_C" >&6; } 45687a0395d0Smrgif test "${ac_cv_build+set}" = set; then 45697a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 45707a0395d0Smrgelse 45717a0395d0Smrg ac_build_alias=$build_alias 45727a0395d0Smrgtest "x$ac_build_alias" = x && 45737a0395d0Smrg ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 45747a0395d0Smrgtest "x$ac_build_alias" = x && 45757a0395d0Smrg { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 45767a0395d0Smrgecho "$as_me: error: cannot guess build type; you must specify one" >&2;} 45777a0395d0Smrg { (exit 1); exit 1; }; } 45787a0395d0Smrgac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 45797a0395d0Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 45807a0395d0Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 45817a0395d0Smrg { (exit 1); exit 1; }; } 45827a0395d0Smrg 45837a0395d0Smrgfi 45847a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 45857a0395d0Smrgecho "${ECHO_T}$ac_cv_build" >&6; } 45867a0395d0Smrgcase $ac_cv_build in 45877a0395d0Smrg*-*-*) ;; 45887a0395d0Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 45897a0395d0Smrgecho "$as_me: error: invalid value of canonical build" >&2;} 45907a0395d0Smrg { (exit 1); exit 1; }; };; 45917a0395d0Smrgesac 45927a0395d0Smrgbuild=$ac_cv_build 45937a0395d0Smrgac_save_IFS=$IFS; IFS='-' 45947a0395d0Smrgset x $ac_cv_build 45957a0395d0Smrgshift 45967a0395d0Smrgbuild_cpu=$1 45977a0395d0Smrgbuild_vendor=$2 45987a0395d0Smrgshift; shift 45997a0395d0Smrg# Remember, the first character of IFS is used to create $*, 46007a0395d0Smrg# except with old shells: 46017a0395d0Smrgbuild_os=$* 46027a0395d0SmrgIFS=$ac_save_IFS 46037a0395d0Smrgcase $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 46047a0395d0Smrg 46057a0395d0Smrg 46067a0395d0Smrg{ echo "$as_me:$LINENO: checking host system type" >&5 46077a0395d0Smrgecho $ECHO_N "checking host system type... $ECHO_C" >&6; } 46087a0395d0Smrgif test "${ac_cv_host+set}" = set; then 46097a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 46107a0395d0Smrgelse 46117a0395d0Smrg if test "x$host_alias" = x; then 46127a0395d0Smrg ac_cv_host=$ac_cv_build 46137a0395d0Smrgelse 46147a0395d0Smrg ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 46157a0395d0Smrg { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 46167a0395d0Smrgecho "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 46177a0395d0Smrg { (exit 1); exit 1; }; } 46187a0395d0Smrgfi 46197a0395d0Smrg 46207a0395d0Smrgfi 46217a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 46227a0395d0Smrgecho "${ECHO_T}$ac_cv_host" >&6; } 46237a0395d0Smrgcase $ac_cv_host in 46247a0395d0Smrg*-*-*) ;; 46257a0395d0Smrg*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 46267a0395d0Smrgecho "$as_me: error: invalid value of canonical host" >&2;} 46277a0395d0Smrg { (exit 1); exit 1; }; };; 46287a0395d0Smrgesac 46297a0395d0Smrghost=$ac_cv_host 46307a0395d0Smrgac_save_IFS=$IFS; IFS='-' 46317a0395d0Smrgset x $ac_cv_host 46327a0395d0Smrgshift 46337a0395d0Smrghost_cpu=$1 46347a0395d0Smrghost_vendor=$2 46357a0395d0Smrgshift; shift 46367a0395d0Smrg# Remember, the first character of IFS is used to create $*, 46377a0395d0Smrg# except with old shells: 46387a0395d0Smrghost_os=$* 46397a0395d0SmrgIFS=$ac_save_IFS 46407a0395d0Smrgcase $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 46417a0395d0Smrg 46427a0395d0Smrg 46437a0395d0Smrg 46447a0395d0Smrg 46457a0395d0Smrg 46467a0395d0Smrg # Check whether --enable-unix-transport was given. 46477a0395d0Smrgif test "${enable_unix_transport+set}" = set; then 46487a0395d0Smrg enableval=$enable_unix_transport; UNIXCONN=$enableval 46497a0395d0Smrgelse 46507a0395d0Smrg UNIXCONN=yes 46517a0395d0Smrgfi 46527a0395d0Smrg 46537a0395d0Smrg # Check whether --enable-tcp-transport was given. 46547a0395d0Smrgif test "${enable_tcp_transport+set}" = set; then 46557a0395d0Smrg enableval=$enable_tcp_transport; TCPCONN=$enableval 46567a0395d0Smrgelse 46577a0395d0Smrg TCPCONN=yes 46587a0395d0Smrgfi 46597a0395d0Smrg 46607a0395d0Smrg { echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5 46617a0395d0Smrgecho $ECHO_N "checking if Xtrans should support UNIX socket connections... $ECHO_C" >&6; } 46627a0395d0Smrg if test "$UNIXCONN" = "yes"; then 46637a0395d0Smrg 46647a0395d0Smrgcat >>confdefs.h <<\_ACEOF 46657a0395d0Smrg#define UNIXCONN 1 46667a0395d0Smrg_ACEOF 46677a0395d0Smrg 46687a0395d0Smrg fi 46697a0395d0Smrg { echo "$as_me:$LINENO: result: $UNIXCONN" >&5 46707a0395d0Smrgecho "${ECHO_T}$UNIXCONN" >&6; } 46717a0395d0Smrg { echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5 46727a0395d0Smrgecho $ECHO_N "checking if Xtrans should support TCP socket connections... $ECHO_C" >&6; } 46737a0395d0Smrg { echo "$as_me:$LINENO: result: $TCPCONN" >&5 46747a0395d0Smrgecho "${ECHO_T}$TCPCONN" >&6; } 46757a0395d0Smrg if test "$TCPCONN" = "yes"; then 46767a0395d0Smrg 46777a0395d0Smrgcat >>confdefs.h <<\_ACEOF 46787a0395d0Smrg#define TCPCONN 1 46797a0395d0Smrg_ACEOF 46807a0395d0Smrg 46817a0395d0Smrg 46827a0395d0Smrg # SVR4 hides these in libraries other than libc 46837a0395d0Smrg { echo "$as_me:$LINENO: checking for library containing socket" >&5 46847a0395d0Smrgecho $ECHO_N "checking for library containing socket... $ECHO_C" >&6; } 46857a0395d0Smrgif test "${ac_cv_search_socket+set}" = set; then 46867a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 46877a0395d0Smrgelse 46887a0395d0Smrg ac_func_search_save_LIBS=$LIBS 46897a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 46907a0395d0Smrg/* confdefs.h. */ 46917a0395d0Smrg_ACEOF 46927a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 46937a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 46947a0395d0Smrg/* end confdefs.h. */ 46957a0395d0Smrg 46967a0395d0Smrg/* Override any GCC internal prototype to avoid an error. 46977a0395d0Smrg Use char because int might match the return type of a GCC 46987a0395d0Smrg builtin and then its argument prototype would still apply. */ 46997a0395d0Smrg#ifdef __cplusplus 47007a0395d0Smrgextern "C" 47017a0395d0Smrg#endif 47027a0395d0Smrgchar socket (); 47037a0395d0Smrgint 47047a0395d0Smrgmain () 47057a0395d0Smrg{ 47067a0395d0Smrgreturn socket (); 47077a0395d0Smrg ; 47087a0395d0Smrg return 0; 47097a0395d0Smrg} 47107a0395d0Smrg_ACEOF 47117a0395d0Smrgfor ac_lib in '' socket; do 47127a0395d0Smrg if test -z "$ac_lib"; then 47137a0395d0Smrg ac_res="none required" 47147a0395d0Smrg else 47157a0395d0Smrg ac_res=-l$ac_lib 47167a0395d0Smrg LIBS="-l$ac_lib $ac_func_search_save_LIBS" 47177a0395d0Smrg fi 47187a0395d0Smrg rm -f conftest.$ac_objext conftest$ac_exeext 47197a0395d0Smrgif { (ac_try="$ac_link" 47207a0395d0Smrgcase "(($ac_try" in 47217a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 47227a0395d0Smrg *) ac_try_echo=$ac_try;; 47237a0395d0Smrgesac 47247a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 47257a0395d0Smrg (eval "$ac_link") 2>conftest.er1 47267a0395d0Smrg ac_status=$? 47277a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 47287a0395d0Smrg rm -f conftest.er1 47297a0395d0Smrg cat conftest.err >&5 47307a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 47317a0395d0Smrg (exit $ac_status); } && { 47327a0395d0Smrg test -z "$ac_c_werror_flag" || 47337a0395d0Smrg test ! -s conftest.err 47347a0395d0Smrg } && test -s conftest$ac_exeext && 47357a0395d0Smrg $as_test_x conftest$ac_exeext; then 47367a0395d0Smrg ac_cv_search_socket=$ac_res 47377a0395d0Smrgelse 47387a0395d0Smrg echo "$as_me: failed program was:" >&5 47397a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 47407a0395d0Smrg 47417a0395d0Smrg 47427a0395d0Smrgfi 47437a0395d0Smrg 47447a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 47457a0395d0Smrg conftest$ac_exeext 47467a0395d0Smrg if test "${ac_cv_search_socket+set}" = set; then 47477a0395d0Smrg break 47487a0395d0Smrgfi 47497a0395d0Smrgdone 47507a0395d0Smrgif test "${ac_cv_search_socket+set}" = set; then 47517a0395d0Smrg : 47527a0395d0Smrgelse 47537a0395d0Smrg ac_cv_search_socket=no 47547a0395d0Smrgfi 47557a0395d0Smrgrm conftest.$ac_ext 47567a0395d0SmrgLIBS=$ac_func_search_save_LIBS 47577a0395d0Smrgfi 47587a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 47597a0395d0Smrgecho "${ECHO_T}$ac_cv_search_socket" >&6; } 47607a0395d0Smrgac_res=$ac_cv_search_socket 47617a0395d0Smrgif test "$ac_res" != no; then 47627a0395d0Smrg test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 47637a0395d0Smrg 47647a0395d0Smrgfi 47657a0395d0Smrg 47667a0395d0Smrg { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 47677a0395d0Smrgecho $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; } 47687a0395d0Smrgif test "${ac_cv_search_gethostbyname+set}" = set; then 47697a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 47707a0395d0Smrgelse 47717a0395d0Smrg ac_func_search_save_LIBS=$LIBS 47727a0395d0Smrgcat >conftest.$ac_ext <<_ACEOF 47737a0395d0Smrg/* confdefs.h. */ 47747a0395d0Smrg_ACEOF 47757a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 47767a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 47777a0395d0Smrg/* end confdefs.h. */ 47787a0395d0Smrg 47797a0395d0Smrg/* Override any GCC internal prototype to avoid an error. 47807a0395d0Smrg Use char because int might match the return type of a GCC 47817a0395d0Smrg builtin and then its argument prototype would still apply. */ 47827a0395d0Smrg#ifdef __cplusplus 47837a0395d0Smrgextern "C" 47847a0395d0Smrg#endif 47857a0395d0Smrgchar gethostbyname (); 47867a0395d0Smrgint 47877a0395d0Smrgmain () 47887a0395d0Smrg{ 47897a0395d0Smrgreturn gethostbyname (); 47907a0395d0Smrg ; 47917a0395d0Smrg return 0; 47927a0395d0Smrg} 47937a0395d0Smrg_ACEOF 47947a0395d0Smrgfor ac_lib in '' nsl; do 47957a0395d0Smrg if test -z "$ac_lib"; then 47967a0395d0Smrg ac_res="none required" 47977a0395d0Smrg else 47987a0395d0Smrg ac_res=-l$ac_lib 47997a0395d0Smrg LIBS="-l$ac_lib $ac_func_search_save_LIBS" 48007a0395d0Smrg fi 48017a0395d0Smrg rm -f conftest.$ac_objext conftest$ac_exeext 48027a0395d0Smrgif { (ac_try="$ac_link" 48037a0395d0Smrgcase "(($ac_try" in 48047a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 48057a0395d0Smrg *) ac_try_echo=$ac_try;; 48067a0395d0Smrgesac 48077a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 48087a0395d0Smrg (eval "$ac_link") 2>conftest.er1 48097a0395d0Smrg ac_status=$? 48107a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 48117a0395d0Smrg rm -f conftest.er1 48127a0395d0Smrg cat conftest.err >&5 48137a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 48147a0395d0Smrg (exit $ac_status); } && { 48157a0395d0Smrg test -z "$ac_c_werror_flag" || 48167a0395d0Smrg test ! -s conftest.err 48177a0395d0Smrg } && test -s conftest$ac_exeext && 48187a0395d0Smrg $as_test_x conftest$ac_exeext; then 48197a0395d0Smrg ac_cv_search_gethostbyname=$ac_res 48207a0395d0Smrgelse 48217a0395d0Smrg echo "$as_me: failed program was:" >&5 48227a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 48237a0395d0Smrg 48247a0395d0Smrg 48257a0395d0Smrgfi 48267a0395d0Smrg 48277a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 48287a0395d0Smrg conftest$ac_exeext 48297a0395d0Smrg if test "${ac_cv_search_gethostbyname+set}" = set; then 48307a0395d0Smrg break 48317a0395d0Smrgfi 48327a0395d0Smrgdone 48337a0395d0Smrgif test "${ac_cv_search_gethostbyname+set}" = set; then 48347a0395d0Smrg : 48357a0395d0Smrgelse 48367a0395d0Smrg ac_cv_search_gethostbyname=no 48377a0395d0Smrgfi 48387a0395d0Smrgrm conftest.$ac_ext 48397a0395d0SmrgLIBS=$ac_func_search_save_LIBS 48407a0395d0Smrgfi 48417a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 48427a0395d0Smrgecho "${ECHO_T}$ac_cv_search_gethostbyname" >&6; } 48437a0395d0Smrgac_res=$ac_cv_search_gethostbyname 48447a0395d0Smrgif test "$ac_res" != no; then 48457a0395d0Smrg test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 48467a0395d0Smrg 48477a0395d0Smrgfi 48487a0395d0Smrg 48497a0395d0Smrg 48507a0395d0Smrg # Needs to come after above checks for libsocket & libnsl for SVR4 systems 48517a0395d0Smrg # Check whether --enable-ipv6 was given. 48527a0395d0Smrgif test "${enable_ipv6+set}" = set; then 48537a0395d0Smrg enableval=$enable_ipv6; IPV6CONN=$enableval 48547a0395d0Smrgelse 48557a0395d0Smrg { echo "$as_me:$LINENO: checking for getaddrinfo" >&5 48567a0395d0Smrgecho $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; } 48577a0395d0Smrgif test "${ac_cv_func_getaddrinfo+set}" = set; then 48587a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 48597a0395d0Smrgelse 48607a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 48617a0395d0Smrg/* confdefs.h. */ 48627a0395d0Smrg_ACEOF 48637a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 48647a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 48657a0395d0Smrg/* end confdefs.h. */ 48667a0395d0Smrg/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo. 48677a0395d0Smrg For example, HP-UX 11i <limits.h> declares gettimeofday. */ 48687a0395d0Smrg#define getaddrinfo innocuous_getaddrinfo 48697a0395d0Smrg 48707a0395d0Smrg/* System header to define __stub macros and hopefully few prototypes, 48717a0395d0Smrg which can conflict with char getaddrinfo (); below. 48727a0395d0Smrg Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 48737a0395d0Smrg <limits.h> exists even on freestanding compilers. */ 48747a0395d0Smrg 48757a0395d0Smrg#ifdef __STDC__ 48767a0395d0Smrg# include <limits.h> 48777a0395d0Smrg#else 48787a0395d0Smrg# include <assert.h> 48797a0395d0Smrg#endif 48807a0395d0Smrg 48817a0395d0Smrg#undef getaddrinfo 48827a0395d0Smrg 48837a0395d0Smrg/* Override any GCC internal prototype to avoid an error. 48847a0395d0Smrg Use char because int might match the return type of a GCC 48857a0395d0Smrg builtin and then its argument prototype would still apply. */ 48867a0395d0Smrg#ifdef __cplusplus 48877a0395d0Smrgextern "C" 48887a0395d0Smrg#endif 48897a0395d0Smrgchar getaddrinfo (); 48907a0395d0Smrg/* The GNU C library defines this for functions which it implements 48917a0395d0Smrg to always fail with ENOSYS. Some functions are actually named 48927a0395d0Smrg something starting with __ and the normal name is an alias. */ 48937a0395d0Smrg#if defined __stub_getaddrinfo || defined __stub___getaddrinfo 48947a0395d0Smrgchoke me 48957a0395d0Smrg#endif 48967a0395d0Smrg 48977a0395d0Smrgint 48987a0395d0Smrgmain () 48997a0395d0Smrg{ 49007a0395d0Smrgreturn getaddrinfo (); 49017a0395d0Smrg ; 49027a0395d0Smrg return 0; 49037a0395d0Smrg} 49047a0395d0Smrg_ACEOF 49057a0395d0Smrgrm -f conftest.$ac_objext conftest$ac_exeext 49067a0395d0Smrgif { (ac_try="$ac_link" 49077a0395d0Smrgcase "(($ac_try" in 49087a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 49097a0395d0Smrg *) ac_try_echo=$ac_try;; 49107a0395d0Smrgesac 49117a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 49127a0395d0Smrg (eval "$ac_link") 2>conftest.er1 49137a0395d0Smrg ac_status=$? 49147a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 49157a0395d0Smrg rm -f conftest.er1 49167a0395d0Smrg cat conftest.err >&5 49177a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 49187a0395d0Smrg (exit $ac_status); } && { 49197a0395d0Smrg test -z "$ac_c_werror_flag" || 49207a0395d0Smrg test ! -s conftest.err 49217a0395d0Smrg } && test -s conftest$ac_exeext && 49227a0395d0Smrg $as_test_x conftest$ac_exeext; then 49237a0395d0Smrg ac_cv_func_getaddrinfo=yes 49247a0395d0Smrgelse 49257a0395d0Smrg echo "$as_me: failed program was:" >&5 49267a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 49277a0395d0Smrg 49287a0395d0Smrg ac_cv_func_getaddrinfo=no 49297a0395d0Smrgfi 49307a0395d0Smrg 49317a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 49327a0395d0Smrg conftest$ac_exeext conftest.$ac_ext 49337a0395d0Smrgfi 49347a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5 49357a0395d0Smrgecho "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; } 49367a0395d0Smrgif test $ac_cv_func_getaddrinfo = yes; then 49377a0395d0Smrg IPV6CONN=yes 49387a0395d0Smrgelse 49397a0395d0Smrg IPV6CONN=no 49407a0395d0Smrgfi 49417a0395d0Smrg 49427a0395d0Smrgfi 49437a0395d0Smrg 49447a0395d0Smrg { echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5 49457a0395d0Smrgecho $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6; } 49467a0395d0Smrg if test "$IPV6CONN" = "yes"; then 49477a0395d0Smrg 49487a0395d0Smrgcat >>confdefs.h <<\_ACEOF 49497a0395d0Smrg#define IPv6 1 49507a0395d0Smrg_ACEOF 49517a0395d0Smrg 49527a0395d0Smrg fi 49537a0395d0Smrg { echo "$as_me:$LINENO: result: $IPV6CONN" >&5 49547a0395d0Smrgecho "${ECHO_T}$IPV6CONN" >&6; } 49557a0395d0Smrg 49567a0395d0Smrg # 4.3BSD-Reno added a new member to struct sockaddr_in 49577a0395d0Smrg { echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 49587a0395d0Smrgecho $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; } 49597a0395d0Smrgif test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then 49607a0395d0Smrg echo $ECHO_N "(cached) $ECHO_C" >&6 49617a0395d0Smrgelse 49627a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 49637a0395d0Smrg/* confdefs.h. */ 49647a0395d0Smrg_ACEOF 49657a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 49667a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 49677a0395d0Smrg/* end confdefs.h. */ 49687a0395d0Smrg 49697a0395d0Smrg#include <sys/types.h> 49707a0395d0Smrg#include <sys/socket.h> 49717a0395d0Smrg#include <netinet/in.h> 49727a0395d0Smrg 49737a0395d0Smrg 49747a0395d0Smrgint 49757a0395d0Smrgmain () 49767a0395d0Smrg{ 49777a0395d0Smrgstatic struct sockaddr_in ac_aggr; 49787a0395d0Smrgif (ac_aggr.sin_len) 49797a0395d0Smrgreturn 0; 49807a0395d0Smrg ; 49817a0395d0Smrg return 0; 49827a0395d0Smrg} 49837a0395d0Smrg_ACEOF 49847a0395d0Smrgrm -f conftest.$ac_objext 49857a0395d0Smrgif { (ac_try="$ac_compile" 49867a0395d0Smrgcase "(($ac_try" in 49877a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 49887a0395d0Smrg *) ac_try_echo=$ac_try;; 49897a0395d0Smrgesac 49907a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 49917a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 49927a0395d0Smrg ac_status=$? 49937a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 49947a0395d0Smrg rm -f conftest.er1 49957a0395d0Smrg cat conftest.err >&5 49967a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 49977a0395d0Smrg (exit $ac_status); } && { 49987a0395d0Smrg test -z "$ac_c_werror_flag" || 49997a0395d0Smrg test ! -s conftest.err 50007a0395d0Smrg } && test -s conftest.$ac_objext; then 50017a0395d0Smrg ac_cv_member_struct_sockaddr_in_sin_len=yes 50027a0395d0Smrgelse 50037a0395d0Smrg echo "$as_me: failed program was:" >&5 50047a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 50057a0395d0Smrg 50067a0395d0Smrg cat >conftest.$ac_ext <<_ACEOF 50077a0395d0Smrg/* confdefs.h. */ 50087a0395d0Smrg_ACEOF 50097a0395d0Smrgcat confdefs.h >>conftest.$ac_ext 50107a0395d0Smrgcat >>conftest.$ac_ext <<_ACEOF 50117a0395d0Smrg/* end confdefs.h. */ 50127a0395d0Smrg 50137a0395d0Smrg#include <sys/types.h> 50147a0395d0Smrg#include <sys/socket.h> 50157a0395d0Smrg#include <netinet/in.h> 50167a0395d0Smrg 50177a0395d0Smrg 50187a0395d0Smrgint 50197a0395d0Smrgmain () 50207a0395d0Smrg{ 50217a0395d0Smrgstatic struct sockaddr_in ac_aggr; 50227a0395d0Smrgif (sizeof ac_aggr.sin_len) 50237a0395d0Smrgreturn 0; 50247a0395d0Smrg ; 50257a0395d0Smrg return 0; 50267a0395d0Smrg} 50277a0395d0Smrg_ACEOF 50287a0395d0Smrgrm -f conftest.$ac_objext 50297a0395d0Smrgif { (ac_try="$ac_compile" 50307a0395d0Smrgcase "(($ac_try" in 50317a0395d0Smrg *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 50327a0395d0Smrg *) ac_try_echo=$ac_try;; 50337a0395d0Smrgesac 50347a0395d0Smrgeval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 50357a0395d0Smrg (eval "$ac_compile") 2>conftest.er1 50367a0395d0Smrg ac_status=$? 50377a0395d0Smrg grep -v '^ *+' conftest.er1 >conftest.err 50387a0395d0Smrg rm -f conftest.er1 50397a0395d0Smrg cat conftest.err >&5 50407a0395d0Smrg echo "$as_me:$LINENO: \$? = $ac_status" >&5 50417a0395d0Smrg (exit $ac_status); } && { 50427a0395d0Smrg test -z "$ac_c_werror_flag" || 50437a0395d0Smrg test ! -s conftest.err 50447a0395d0Smrg } && test -s conftest.$ac_objext; then 50457a0395d0Smrg ac_cv_member_struct_sockaddr_in_sin_len=yes 50467a0395d0Smrgelse 50477a0395d0Smrg echo "$as_me: failed program was:" >&5 50487a0395d0Smrgsed 's/^/| /' conftest.$ac_ext >&5 50497a0395d0Smrg 50507a0395d0Smrg ac_cv_member_struct_sockaddr_in_sin_len=no 50517a0395d0Smrgfi 50527a0395d0Smrg 50537a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 50547a0395d0Smrgfi 50557a0395d0Smrg 50567a0395d0Smrgrm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 50577a0395d0Smrgfi 50587a0395d0Smrg{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 50597a0395d0Smrgecho "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; } 50607a0395d0Smrgif test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then 50617a0395d0Smrg 50627a0395d0Smrgcat >>confdefs.h <<\_ACEOF 50637a0395d0Smrg#define BSD44SOCKETS 1 50647a0395d0Smrg_ACEOF 50657a0395d0Smrg 50667a0395d0Smrgfi 50677a0395d0Smrg 50687a0395d0Smrg 50697a0395d0Smrg fi 50707a0395d0Smrg case $host_os in 50717a0395d0Smrg solaris*|sco*|sysv4*) localdef="yes" ;; 50727a0395d0Smrg *) localdef="no" ;; 50737a0395d0Smrg esac 50747a0395d0Smrg # Check whether --enable-local-transport was given. 50757a0395d0Smrgif test "${enable_local_transport+set}" = set; then 50767a0395d0Smrg enableval=$enable_local_transport; LOCALCONN=$enableval 50777a0395d0Smrgelse 50787a0395d0Smrg LOCALCONN=$localdef 50797a0395d0Smrgfi 50807a0395d0Smrg 50817a0395d0Smrg { echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5 50827a0395d0Smrgecho $ECHO_N "checking if Xtrans should support os-specific local connections... $ECHO_C" >&6; } 50837a0395d0Smrg { echo "$as_me:$LINENO: result: $LOCALCONN" >&5 50847a0395d0Smrgecho "${ECHO_T}$LOCALCONN" >&6; } 50857a0395d0Smrg if test "$LOCALCONN" = "yes"; then 50867a0395d0Smrg 50877a0395d0Smrgcat >>confdefs.h <<\_ACEOF 50887a0395d0Smrg#define LOCALCONN 1 50897a0395d0Smrg_ACEOF 50907a0395d0Smrg 50917a0395d0Smrg fi 50927a0395d0Smrg 50937a0395d0Smrg 50947a0395d0Smrg 50957a0395d0Smrg 50967a0395d0Smrg 50977a0395d0Smrg# Allow checking code with lint, sparse, etc. 50987a0395d0Smrg 50997a0395d0Smrg# Check whether --with-lint was given. 51007a0395d0Smrgif test "${with_lint+set}" = set; then 51017a0395d0Smrg withval=$with_lint; use_lint=$withval 51027a0395d0Smrgelse 51037a0395d0Smrg use_lint=no 51047a0395d0Smrgfi 51057a0395d0Smrg 51067a0395d0Smrgif test "x$use_lint" = "xyes" ; then 51077a0395d0Smrg LINT="lint" 51087a0395d0Smrgelse 51097a0395d0Smrg LINT="$use_lint" 51107a0395d0Smrgfi 51117a0395d0Smrgif test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then 51127a0395d0Smrg case $LINT in 51137a0395d0Smrg lint|*/lint) 51147a0395d0Smrg case $host_os in 51157a0395d0Smrg solaris*) 51167a0395d0Smrg LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2" 51177a0395d0Smrg ;; 51187a0395d0Smrg esac 51197a0395d0Smrg ;; 51207a0395d0Smrg esac 51217a0395d0Smrgfi 51227a0395d0Smrg 51237a0395d0Smrg 51247a0395d0Smrg 51257a0395d0Smrg if test x$LINT != xno; then 51267a0395d0Smrg LINT_TRUE= 51277a0395d0Smrg LINT_FALSE='#' 51287a0395d0Smrgelse 51297a0395d0Smrg LINT_TRUE='#' 51307a0395d0Smrg LINT_FALSE= 51317a0395d0Smrgfi 51327a0395d0Smrg 51337a0395d0Smrg 51347a0395d0Smrg 51357a0395d0Smrg 51367a0395d0Smrg 51377a0395d0Smrg 51387a0395d0Smrgif test x$APP_MAN_SUFFIX = x ; then 51397a0395d0Smrg APP_MAN_SUFFIX=1 51407a0395d0Smrgfi 51417a0395d0Smrgif test x$APP_MAN_DIR = x ; then 51427a0395d0Smrg APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' 51437a0395d0Smrgfi 51447a0395d0Smrg 51457a0395d0Smrgif test x$LIB_MAN_SUFFIX = x ; then 51467a0395d0Smrg LIB_MAN_SUFFIX=3 51477a0395d0Smrgfi 51487a0395d0Smrgif test x$LIB_MAN_DIR = x ; then 51497a0395d0Smrg LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' 51507a0395d0Smrgfi 51517a0395d0Smrg 51527a0395d0Smrgif test x$FILE_MAN_SUFFIX = x ; then 51537a0395d0Smrg case $host_os in 51547a0395d0Smrg solaris*) FILE_MAN_SUFFIX=4 ;; 51557a0395d0Smrg *) FILE_MAN_SUFFIX=5 ;; 51567a0395d0Smrg esac 51577a0395d0Smrgfi 51587a0395d0Smrgif test x$FILE_MAN_DIR = x ; then 51597a0395d0Smrg FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' 51607a0395d0Smrgfi 51617a0395d0Smrg 51627a0395d0Smrgif test x$MISC_MAN_SUFFIX = x ; then 51637a0395d0Smrg case $host_os in 51647a0395d0Smrg solaris*) MISC_MAN_SUFFIX=5 ;; 51657a0395d0Smrg *) MISC_MAN_SUFFIX=7 ;; 51667a0395d0Smrg esac 51677a0395d0Smrgfi 51687a0395d0Smrgif test x$MISC_MAN_DIR = x ; then 51697a0395d0Smrg MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' 51707a0395d0Smrgfi 51717a0395d0Smrg 51727a0395d0Smrgif test x$DRIVER_MAN_SUFFIX = x ; then 51737a0395d0Smrg case $host_os in 51747a0395d0Smrg solaris*) DRIVER_MAN_SUFFIX=7 ;; 51757a0395d0Smrg *) DRIVER_MAN_SUFFIX=4 ;; 51767a0395d0Smrg esac 51777a0395d0Smrgfi 51787a0395d0Smrgif test x$DRIVER_MAN_DIR = x ; then 51797a0395d0Smrg DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' 51807a0395d0Smrgfi 51817a0395d0Smrg 51827a0395d0Smrgif test x$ADMIN_MAN_SUFFIX = x ; then 51837a0395d0Smrg case $host_os in 51847a0395d0Smrg solaris*) ADMIN_MAN_SUFFIX=1m ;; 51857a0395d0Smrg *) ADMIN_MAN_SUFFIX=8 ;; 51867a0395d0Smrg esac 51877a0395d0Smrgfi 51887a0395d0Smrgif test x$ADMIN_MAN_DIR = x ; then 51897a0395d0Smrg ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 51907a0395d0Smrgfi 51917a0395d0Smrg 51927a0395d0Smrg 51937a0395d0Smrg 51947a0395d0Smrg 51957a0395d0Smrg 51967a0395d0Smrg 51977a0395d0Smrg 51987a0395d0Smrg 51997a0395d0Smrg 52007a0395d0Smrg 52017a0395d0Smrg 52027a0395d0Smrg 52037a0395d0Smrg 52047a0395d0Smrg 52057a0395d0Smrg 52067a0395d0Smrg 52077a0395d0Smrg 52087a0395d0Smrg# Check whether --with-release-version was given. 52097a0395d0Smrgif test "${with_release_version+set}" = set; then 52107a0395d0Smrg withval=$with_release_version; RELEASE_VERSION="$withval" 52117a0395d0Smrgelse 52127a0395d0Smrg RELEASE_VERSION="" 52137a0395d0Smrgfi 52147a0395d0Smrg 52157a0395d0Smrg if test "x$RELEASE_VERSION" != "x"; then 52167a0395d0Smrg PACKAGE="$PACKAGE-$RELEASE_VERSION" 52177a0395d0Smrg PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 52187a0395d0Smrg { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 52197a0395d0Smrgecho "$as_me: Building with package name set to $PACKAGE" >&6;} 52207a0395d0Smrg fi 52217a0395d0Smrg 52227a0395d0Smrgcat >>confdefs.h <<_ACEOF 52237a0395d0Smrg#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1` 52247a0395d0Smrg_ACEOF 52257a0395d0Smrg 52267a0395d0Smrg PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1` 52277a0395d0Smrg if test "x$PVM" = "x"; then 52287a0395d0Smrg PVM="0" 52297a0395d0Smrg fi 52307a0395d0Smrg 52317a0395d0Smrgcat >>confdefs.h <<_ACEOF 52327a0395d0Smrg#define PACKAGE_VERSION_MINOR $PVM 52337a0395d0Smrg_ACEOF 52347a0395d0Smrg 52357a0395d0Smrg PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1` 52367a0395d0Smrg if test "x$PVP" = "x"; then 52377a0395d0Smrg PVP="0" 52387a0395d0Smrg fi 52397a0395d0Smrg 52407a0395d0Smrgcat >>confdefs.h <<_ACEOF 52417a0395d0Smrg#define PACKAGE_VERSION_PATCHLEVEL $PVP 52427a0395d0Smrg_ACEOF 52437a0395d0Smrg 52447a0395d0Smrg 52457a0395d0Smrg 52467a0395d0Smrgac_config_files="$ac_config_files Makefile" 52477a0395d0Smrg 52487a0395d0Smrgcat >confcache <<\_ACEOF 52497a0395d0Smrg# This file is a shell script that caches the results of configure 52507a0395d0Smrg# tests run on this system so they can be shared between configure 52517a0395d0Smrg# scripts and configure runs, see configure's option --config-cache. 52527a0395d0Smrg# It is not useful on other systems. If it contains results you don't 52537a0395d0Smrg# want to keep, you may remove or edit it. 52547a0395d0Smrg# 52557a0395d0Smrg# config.status only pays attention to the cache file if you give it 52567a0395d0Smrg# the --recheck option to rerun configure. 52577a0395d0Smrg# 52587a0395d0Smrg# `ac_cv_env_foo' variables (set or unset) will be overridden when 52597a0395d0Smrg# loading this file, other *unset* `ac_cv_foo' will be assigned the 52607a0395d0Smrg# following values. 52617a0395d0Smrg 52627a0395d0Smrg_ACEOF 52637a0395d0Smrg 52647a0395d0Smrg# The following way of writing the cache mishandles newlines in values, 52657a0395d0Smrg# but we know of no workaround that is simple, portable, and efficient. 52667a0395d0Smrg# So, we kill variables containing newlines. 52677a0395d0Smrg# Ultrix sh set writes to stderr and can't be redirected directly, 52687a0395d0Smrg# and sets the high bit in the cache file unless we assign to the vars. 52697a0395d0Smrg( 52707a0395d0Smrg for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 52717a0395d0Smrg eval ac_val=\$$ac_var 52727a0395d0Smrg case $ac_val in #( 52737a0395d0Smrg *${as_nl}*) 52747a0395d0Smrg case $ac_var in #( 52757a0395d0Smrg *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 52767a0395d0Smrgecho "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 52777a0395d0Smrg esac 52787a0395d0Smrg case $ac_var in #( 52797a0395d0Smrg _ | IFS | as_nl) ;; #( 52807a0395d0Smrg *) $as_unset $ac_var ;; 52817a0395d0Smrg esac ;; 52827a0395d0Smrg esac 52837a0395d0Smrg done 52847a0395d0Smrg 52857a0395d0Smrg (set) 2>&1 | 52867a0395d0Smrg case $as_nl`(ac_space=' '; set) 2>&1` in #( 52877a0395d0Smrg *${as_nl}ac_space=\ *) 52887a0395d0Smrg # `set' does not quote correctly, so add quotes (double-quote 52897a0395d0Smrg # substitution turns \\\\ into \\, and sed turns \\ into \). 52907a0395d0Smrg sed -n \ 52917a0395d0Smrg "s/'/'\\\\''/g; 52927a0395d0Smrg s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 52937a0395d0Smrg ;; #( 52947a0395d0Smrg *) 52957a0395d0Smrg # `set' quotes correctly as required by POSIX, so do not add quotes. 52967a0395d0Smrg sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 52977a0395d0Smrg ;; 52987a0395d0Smrg esac | 52997a0395d0Smrg sort 53007a0395d0Smrg) | 53017a0395d0Smrg sed ' 53027a0395d0Smrg /^ac_cv_env_/b end 53037a0395d0Smrg t clear 53047a0395d0Smrg :clear 53057a0395d0Smrg s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 53067a0395d0Smrg t end 53077a0395d0Smrg s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 53087a0395d0Smrg :end' >>confcache 53097a0395d0Smrgif diff "$cache_file" confcache >/dev/null 2>&1; then :; else 53107a0395d0Smrg if test -w "$cache_file"; then 53117a0395d0Smrg test "x$cache_file" != "x/dev/null" && 53127a0395d0Smrg { echo "$as_me:$LINENO: updating cache $cache_file" >&5 53137a0395d0Smrgecho "$as_me: updating cache $cache_file" >&6;} 53147a0395d0Smrg cat confcache >$cache_file 53157a0395d0Smrg else 53167a0395d0Smrg { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 53177a0395d0Smrgecho "$as_me: not updating unwritable cache $cache_file" >&6;} 53187a0395d0Smrg fi 53197a0395d0Smrgfi 53207a0395d0Smrgrm -f confcache 53217a0395d0Smrg 53227a0395d0Smrgtest "x$prefix" = xNONE && prefix=$ac_default_prefix 53237a0395d0Smrg# Let make expand exec_prefix. 53247a0395d0Smrgtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 53257a0395d0Smrg 53267a0395d0SmrgDEFS=-DHAVE_CONFIG_H 53277a0395d0Smrg 53287a0395d0Smrgac_libobjs= 53297a0395d0Smrgac_ltlibobjs= 53307a0395d0Smrgfor ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 53317a0395d0Smrg # 1. Remove the extension, and $U if already installed. 53327a0395d0Smrg ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 53337a0395d0Smrg ac_i=`echo "$ac_i" | sed "$ac_script"` 53347a0395d0Smrg # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 53357a0395d0Smrg # will be set to the directory where LIBOBJS objects are built. 53367a0395d0Smrg ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 53377a0395d0Smrg ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 53387a0395d0Smrgdone 53397a0395d0SmrgLIBOBJS=$ac_libobjs 53407a0395d0Smrg 53417a0395d0SmrgLTLIBOBJS=$ac_ltlibobjs 53427a0395d0Smrg 53437a0395d0Smrg 53447a0395d0Smrgif test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 53457a0395d0Smrg { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 53467a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 53477a0395d0Smrgecho "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 53487a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 53497a0395d0Smrg { (exit 1); exit 1; }; } 53507a0395d0Smrgfi 53517a0395d0Smrgif test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 53527a0395d0Smrg { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 53537a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 53547a0395d0Smrgecho "$as_me: error: conditional \"AMDEP\" was never defined. 53557a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 53567a0395d0Smrg { (exit 1); exit 1; }; } 53577a0395d0Smrgfi 53587a0395d0Smrgif test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 53597a0395d0Smrg { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 53607a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 53617a0395d0Smrgecho "$as_me: error: conditional \"am__fastdepCC\" was never defined. 53627a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 53637a0395d0Smrg { (exit 1); exit 1; }; } 53647a0395d0Smrgfi 53657a0395d0Smrgif test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then 53667a0395d0Smrg { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined. 53677a0395d0SmrgUsually this means the macro was only invoked conditionally." >&5 53687a0395d0Smrgecho "$as_me: error: conditional \"LINT\" was never defined. 53697a0395d0SmrgUsually this means the macro was only invoked conditionally." >&2;} 53707a0395d0Smrg { (exit 1); exit 1; }; } 53717a0395d0Smrgfi 53727a0395d0Smrg 53737a0395d0Smrg: ${CONFIG_STATUS=./config.status} 53747a0395d0Smrgac_clean_files_save=$ac_clean_files 53757a0395d0Smrgac_clean_files="$ac_clean_files $CONFIG_STATUS" 53767a0395d0Smrg{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 53777a0395d0Smrgecho "$as_me: creating $CONFIG_STATUS" >&6;} 53787a0395d0Smrgcat >$CONFIG_STATUS <<_ACEOF 53797a0395d0Smrg#! $SHELL 53807a0395d0Smrg# Generated by $as_me. 53817a0395d0Smrg# Run this file to recreate the current configuration. 53827a0395d0Smrg# Compiler output produced by configure, useful for debugging 53837a0395d0Smrg# configure, is in config.log if it exists. 53847a0395d0Smrg 53857a0395d0Smrgdebug=false 53867a0395d0Smrgac_cs_recheck=false 53877a0395d0Smrgac_cs_silent=false 53887a0395d0SmrgSHELL=\${CONFIG_SHELL-$SHELL} 53897a0395d0Smrg_ACEOF 53907a0395d0Smrg 53917a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 53927a0395d0Smrg## --------------------- ## 53937a0395d0Smrg## M4sh Initialization. ## 53947a0395d0Smrg## --------------------- ## 53957a0395d0Smrg 53967a0395d0Smrg# Be more Bourne compatible 53977a0395d0SmrgDUALCASE=1; export DUALCASE # for MKS sh 53987a0395d0Smrgif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 53997a0395d0Smrg emulate sh 54007a0395d0Smrg NULLCMD=: 54017a0395d0Smrg # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 54027a0395d0Smrg # is contrary to our usage. Disable this feature. 54037a0395d0Smrg alias -g '${1+"$@"}'='"$@"' 54047a0395d0Smrg setopt NO_GLOB_SUBST 54057a0395d0Smrgelse 54067a0395d0Smrg case `(set -o) 2>/dev/null` in 54077a0395d0Smrg *posix*) set -o posix ;; 54087a0395d0Smrgesac 54097a0395d0Smrg 54107a0395d0Smrgfi 54117a0395d0Smrg 54127a0395d0Smrg 54137a0395d0Smrg 54147a0395d0Smrg 54157a0395d0Smrg# PATH needs CR 54167a0395d0Smrg# Avoid depending upon Character Ranges. 54177a0395d0Smrgas_cr_letters='abcdefghijklmnopqrstuvwxyz' 54187a0395d0Smrgas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 54197a0395d0Smrgas_cr_Letters=$as_cr_letters$as_cr_LETTERS 54207a0395d0Smrgas_cr_digits='0123456789' 54217a0395d0Smrgas_cr_alnum=$as_cr_Letters$as_cr_digits 54227a0395d0Smrg 54237a0395d0Smrg# The user is always right. 54247a0395d0Smrgif test "${PATH_SEPARATOR+set}" != set; then 54257a0395d0Smrg echo "#! /bin/sh" >conf$$.sh 54267a0395d0Smrg echo "exit 0" >>conf$$.sh 54277a0395d0Smrg chmod +x conf$$.sh 54287a0395d0Smrg if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 54297a0395d0Smrg PATH_SEPARATOR=';' 54307a0395d0Smrg else 54317a0395d0Smrg PATH_SEPARATOR=: 54327a0395d0Smrg fi 54337a0395d0Smrg rm -f conf$$.sh 54347a0395d0Smrgfi 54357a0395d0Smrg 54367a0395d0Smrg# Support unset when possible. 54377a0395d0Smrgif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 54387a0395d0Smrg as_unset=unset 54397a0395d0Smrgelse 54407a0395d0Smrg as_unset=false 54417a0395d0Smrgfi 54427a0395d0Smrg 54437a0395d0Smrg 54447a0395d0Smrg# IFS 54457a0395d0Smrg# We need space, tab and new line, in precisely that order. Quoting is 54467a0395d0Smrg# there to prevent editors from complaining about space-tab. 54477a0395d0Smrg# (If _AS_PATH_WALK were called with IFS unset, it would disable word 54487a0395d0Smrg# splitting by setting IFS to empty value.) 54497a0395d0Smrgas_nl=' 54507a0395d0Smrg' 54517a0395d0SmrgIFS=" "" $as_nl" 54527a0395d0Smrg 54537a0395d0Smrg# Find who we are. Look in the path if we contain no directory separator. 54547a0395d0Smrgcase $0 in 54557a0395d0Smrg *[\\/]* ) as_myself=$0 ;; 54567a0395d0Smrg *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 54577a0395d0Smrgfor as_dir in $PATH 54587a0395d0Smrgdo 54597a0395d0Smrg IFS=$as_save_IFS 54607a0395d0Smrg test -z "$as_dir" && as_dir=. 54617a0395d0Smrg test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 54627a0395d0Smrgdone 54637a0395d0SmrgIFS=$as_save_IFS 54647a0395d0Smrg 54657a0395d0Smrg ;; 54667a0395d0Smrgesac 54677a0395d0Smrg# We did not find ourselves, most probably we were run as `sh COMMAND' 54687a0395d0Smrg# in which case we are not to be found in the path. 54697a0395d0Smrgif test "x$as_myself" = x; then 54707a0395d0Smrg as_myself=$0 54717a0395d0Smrgfi 54727a0395d0Smrgif test ! -f "$as_myself"; then 54737a0395d0Smrg echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 54747a0395d0Smrg { (exit 1); exit 1; } 54757a0395d0Smrgfi 54767a0395d0Smrg 54777a0395d0Smrg# Work around bugs in pre-3.0 UWIN ksh. 54787a0395d0Smrgfor as_var in ENV MAIL MAILPATH 54797a0395d0Smrgdo ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 54807a0395d0Smrgdone 54817a0395d0SmrgPS1='$ ' 54827a0395d0SmrgPS2='> ' 54837a0395d0SmrgPS4='+ ' 54847a0395d0Smrg 54857a0395d0Smrg# NLS nuisances. 54867a0395d0Smrgfor as_var in \ 54877a0395d0Smrg LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 54887a0395d0Smrg LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 54897a0395d0Smrg LC_TELEPHONE LC_TIME 54907a0395d0Smrgdo 54917a0395d0Smrg if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 54927a0395d0Smrg eval $as_var=C; export $as_var 54937a0395d0Smrg else 54947a0395d0Smrg ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 54957a0395d0Smrg fi 54967a0395d0Smrgdone 54977a0395d0Smrg 54987a0395d0Smrg# Required to use basename. 54997a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 55007a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 55017a0395d0Smrg as_expr=expr 55027a0395d0Smrgelse 55037a0395d0Smrg as_expr=false 55047a0395d0Smrgfi 55057a0395d0Smrg 55067a0395d0Smrgif (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 55077a0395d0Smrg as_basename=basename 55087a0395d0Smrgelse 55097a0395d0Smrg as_basename=false 55107a0395d0Smrgfi 55117a0395d0Smrg 55127a0395d0Smrg 55137a0395d0Smrg# Name of the executable. 55147a0395d0Smrgas_me=`$as_basename -- "$0" || 55157a0395d0Smrg$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 55167a0395d0Smrg X"$0" : 'X\(//\)$' \| \ 55177a0395d0Smrg X"$0" : 'X\(/\)' \| . 2>/dev/null || 55187a0395d0Smrgecho X/"$0" | 55197a0395d0Smrg sed '/^.*\/\([^/][^/]*\)\/*$/{ 55207a0395d0Smrg s//\1/ 55217a0395d0Smrg q 55227a0395d0Smrg } 55237a0395d0Smrg /^X\/\(\/\/\)$/{ 55247a0395d0Smrg s//\1/ 55257a0395d0Smrg q 55267a0395d0Smrg } 55277a0395d0Smrg /^X\/\(\/\).*/{ 55287a0395d0Smrg s//\1/ 55297a0395d0Smrg q 55307a0395d0Smrg } 55317a0395d0Smrg s/.*/./; q'` 55327a0395d0Smrg 55337a0395d0Smrg# CDPATH. 55347a0395d0Smrg$as_unset CDPATH 55357a0395d0Smrg 55367a0395d0Smrg 55377a0395d0Smrg 55387a0395d0Smrg as_lineno_1=$LINENO 55397a0395d0Smrg as_lineno_2=$LINENO 55407a0395d0Smrg test "x$as_lineno_1" != "x$as_lineno_2" && 55417a0395d0Smrg test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 55427a0395d0Smrg 55437a0395d0Smrg # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 55447a0395d0Smrg # uniformly replaced by the line number. The first 'sed' inserts a 55457a0395d0Smrg # line-number line after each line using $LINENO; the second 'sed' 55467a0395d0Smrg # does the real work. The second script uses 'N' to pair each 55477a0395d0Smrg # line-number line with the line containing $LINENO, and appends 55487a0395d0Smrg # trailing '-' during substitution so that $LINENO is not a special 55497a0395d0Smrg # case at line end. 55507a0395d0Smrg # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 55517a0395d0Smrg # scripts with optimization help from Paolo Bonzini. Blame Lee 55527a0395d0Smrg # E. McMahon (1931-1989) for sed's syntax. :-) 55537a0395d0Smrg sed -n ' 55547a0395d0Smrg p 55557a0395d0Smrg /[$]LINENO/= 55567a0395d0Smrg ' <$as_myself | 55577a0395d0Smrg sed ' 55587a0395d0Smrg s/[$]LINENO.*/&-/ 55597a0395d0Smrg t lineno 55607a0395d0Smrg b 55617a0395d0Smrg :lineno 55627a0395d0Smrg N 55637a0395d0Smrg :loop 55647a0395d0Smrg s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 55657a0395d0Smrg t loop 55667a0395d0Smrg s/-\n.*// 55677a0395d0Smrg ' >$as_me.lineno && 55687a0395d0Smrg chmod +x "$as_me.lineno" || 55697a0395d0Smrg { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 55707a0395d0Smrg { (exit 1); exit 1; }; } 55717a0395d0Smrg 55727a0395d0Smrg # Don't try to exec as it changes $[0], causing all sort of problems 55737a0395d0Smrg # (the dirname of $[0] is not the place where we might find the 55747a0395d0Smrg # original and so on. Autoconf is especially sensitive to this). 55757a0395d0Smrg . "./$as_me.lineno" 55767a0395d0Smrg # Exit status is that of the last command. 55777a0395d0Smrg exit 55787a0395d0Smrg} 55797a0395d0Smrg 55807a0395d0Smrg 55817a0395d0Smrgif (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 55827a0395d0Smrg as_dirname=dirname 55837a0395d0Smrgelse 55847a0395d0Smrg as_dirname=false 55857a0395d0Smrgfi 55867a0395d0Smrg 55877a0395d0SmrgECHO_C= ECHO_N= ECHO_T= 55887a0395d0Smrgcase `echo -n x` in 55897a0395d0Smrg-n*) 55907a0395d0Smrg case `echo 'x\c'` in 55917a0395d0Smrg *c*) ECHO_T=' ';; # ECHO_T is single tab character. 55927a0395d0Smrg *) ECHO_C='\c';; 55937a0395d0Smrg esac;; 55947a0395d0Smrg*) 55957a0395d0Smrg ECHO_N='-n';; 55967a0395d0Smrgesac 55977a0395d0Smrg 55987a0395d0Smrgif expr a : '\(a\)' >/dev/null 2>&1 && 55997a0395d0Smrg test "X`expr 00001 : '.*\(...\)'`" = X001; then 56007a0395d0Smrg as_expr=expr 56017a0395d0Smrgelse 56027a0395d0Smrg as_expr=false 56037a0395d0Smrgfi 56047a0395d0Smrg 56057a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.file 56067a0395d0Smrgif test -d conf$$.dir; then 56077a0395d0Smrg rm -f conf$$.dir/conf$$.file 56087a0395d0Smrgelse 56097a0395d0Smrg rm -f conf$$.dir 56107a0395d0Smrg mkdir conf$$.dir 56117a0395d0Smrgfi 56127a0395d0Smrgecho >conf$$.file 56137a0395d0Smrgif ln -s conf$$.file conf$$ 2>/dev/null; then 56147a0395d0Smrg as_ln_s='ln -s' 56157a0395d0Smrg # ... but there are two gotchas: 56167a0395d0Smrg # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 56177a0395d0Smrg # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 56187a0395d0Smrg # In both cases, we have to default to `cp -p'. 56197a0395d0Smrg ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 56207a0395d0Smrg as_ln_s='cp -p' 56217a0395d0Smrgelif ln conf$$.file conf$$ 2>/dev/null; then 56227a0395d0Smrg as_ln_s=ln 56237a0395d0Smrgelse 56247a0395d0Smrg as_ln_s='cp -p' 56257a0395d0Smrgfi 56267a0395d0Smrgrm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 56277a0395d0Smrgrmdir conf$$.dir 2>/dev/null 56287a0395d0Smrg 56297a0395d0Smrgif mkdir -p . 2>/dev/null; then 56307a0395d0Smrg as_mkdir_p=: 56317a0395d0Smrgelse 56327a0395d0Smrg test -d ./-p && rmdir ./-p 56337a0395d0Smrg as_mkdir_p=false 56347a0395d0Smrgfi 56357a0395d0Smrg 56367a0395d0Smrgif test -x / >/dev/null 2>&1; then 56377a0395d0Smrg as_test_x='test -x' 56387a0395d0Smrgelse 56397a0395d0Smrg if ls -dL / >/dev/null 2>&1; then 56407a0395d0Smrg as_ls_L_option=L 56417a0395d0Smrg else 56427a0395d0Smrg as_ls_L_option= 56437a0395d0Smrg fi 56447a0395d0Smrg as_test_x=' 56457a0395d0Smrg eval sh -c '\'' 56467a0395d0Smrg if test -d "$1"; then 56477a0395d0Smrg test -d "$1/."; 56487a0395d0Smrg else 56497a0395d0Smrg case $1 in 56507a0395d0Smrg -*)set "./$1";; 56517a0395d0Smrg esac; 56527a0395d0Smrg case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 56537a0395d0Smrg ???[sx]*):;;*)false;;esac;fi 56547a0395d0Smrg '\'' sh 56557a0395d0Smrg ' 56567a0395d0Smrgfi 56577a0395d0Smrgas_executable_p=$as_test_x 56587a0395d0Smrg 56597a0395d0Smrg# Sed expression to map a string onto a valid CPP name. 56607a0395d0Smrgas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 56617a0395d0Smrg 56627a0395d0Smrg# Sed expression to map a string onto a valid variable name. 56637a0395d0Smrgas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 56647a0395d0Smrg 56657a0395d0Smrg 56667a0395d0Smrgexec 6>&1 56677a0395d0Smrg 56687a0395d0Smrg# Save the log message, to keep $[0] and so on meaningful, and to 56697a0395d0Smrg# report actual input values of CONFIG_FILES etc. instead of their 56707a0395d0Smrg# values after options handling. 56717a0395d0Smrgac_log=" 56727a0395d0SmrgThis file was extended by xauth $as_me 1.0.3, which was 56737a0395d0Smrggenerated by GNU Autoconf 2.61. Invocation command line was 56747a0395d0Smrg 56757a0395d0Smrg CONFIG_FILES = $CONFIG_FILES 56767a0395d0Smrg CONFIG_HEADERS = $CONFIG_HEADERS 56777a0395d0Smrg CONFIG_LINKS = $CONFIG_LINKS 56787a0395d0Smrg CONFIG_COMMANDS = $CONFIG_COMMANDS 56797a0395d0Smrg $ $0 $@ 56807a0395d0Smrg 56817a0395d0Smrgon `(hostname || uname -n) 2>/dev/null | sed 1q` 56827a0395d0Smrg" 56837a0395d0Smrg 56847a0395d0Smrg_ACEOF 56857a0395d0Smrg 56867a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 56877a0395d0Smrg# Files that config.status was made for. 56887a0395d0Smrgconfig_files="$ac_config_files" 56897a0395d0Smrgconfig_headers="$ac_config_headers" 56907a0395d0Smrgconfig_commands="$ac_config_commands" 56917a0395d0Smrg 56927a0395d0Smrg_ACEOF 56937a0395d0Smrg 56947a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 56957a0395d0Smrgac_cs_usage="\ 56967a0395d0Smrg\`$as_me' instantiates files from templates according to the 56977a0395d0Smrgcurrent configuration. 56987a0395d0Smrg 56997a0395d0SmrgUsage: $0 [OPTIONS] [FILE]... 57007a0395d0Smrg 57017a0395d0Smrg -h, --help print this help, then exit 57027a0395d0Smrg -V, --version print version number and configuration settings, then exit 57037a0395d0Smrg -q, --quiet do not print progress messages 57047a0395d0Smrg -d, --debug don't remove temporary files 57057a0395d0Smrg --recheck update $as_me by reconfiguring in the same conditions 57067a0395d0Smrg --file=FILE[:TEMPLATE] 57077a0395d0Smrg instantiate the configuration file FILE 57087a0395d0Smrg --header=FILE[:TEMPLATE] 57097a0395d0Smrg instantiate the configuration header FILE 57107a0395d0Smrg 57117a0395d0SmrgConfiguration files: 57127a0395d0Smrg$config_files 57137a0395d0Smrg 57147a0395d0SmrgConfiguration headers: 57157a0395d0Smrg$config_headers 57167a0395d0Smrg 57177a0395d0SmrgConfiguration commands: 57187a0395d0Smrg$config_commands 57197a0395d0Smrg 57207a0395d0SmrgReport bugs to <bug-autoconf@gnu.org>." 57217a0395d0Smrg 57227a0395d0Smrg_ACEOF 57237a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 57247a0395d0Smrgac_cs_version="\\ 57257a0395d0Smrgxauth config.status 1.0.3 57267a0395d0Smrgconfigured by $0, generated by GNU Autoconf 2.61, 57277a0395d0Smrg with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 57287a0395d0Smrg 57297a0395d0SmrgCopyright (C) 2006 Free Software Foundation, Inc. 57307a0395d0SmrgThis config.status script is free software; the Free Software Foundation 57317a0395d0Smrggives unlimited permission to copy, distribute and modify it." 57327a0395d0Smrg 57337a0395d0Smrgac_pwd='$ac_pwd' 57347a0395d0Smrgsrcdir='$srcdir' 57357a0395d0SmrgINSTALL='$INSTALL' 57367a0395d0SmrgMKDIR_P='$MKDIR_P' 57377a0395d0Smrg_ACEOF 57387a0395d0Smrg 57397a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 57407a0395d0Smrg# If no file are specified by the user, then we need to provide default 57417a0395d0Smrg# value. By we need to know if files were specified by the user. 57427a0395d0Smrgac_need_defaults=: 57437a0395d0Smrgwhile test $# != 0 57447a0395d0Smrgdo 57457a0395d0Smrg case $1 in 57467a0395d0Smrg --*=*) 57477a0395d0Smrg ac_option=`expr "X$1" : 'X\([^=]*\)='` 57487a0395d0Smrg ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 57497a0395d0Smrg ac_shift=: 57507a0395d0Smrg ;; 57517a0395d0Smrg *) 57527a0395d0Smrg ac_option=$1 57537a0395d0Smrg ac_optarg=$2 57547a0395d0Smrg ac_shift=shift 57557a0395d0Smrg ;; 57567a0395d0Smrg esac 57577a0395d0Smrg 57587a0395d0Smrg case $ac_option in 57597a0395d0Smrg # Handling of the options. 57607a0395d0Smrg -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 57617a0395d0Smrg ac_cs_recheck=: ;; 57627a0395d0Smrg --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 57637a0395d0Smrg echo "$ac_cs_version"; exit ;; 57647a0395d0Smrg --debug | --debu | --deb | --de | --d | -d ) 57657a0395d0Smrg debug=: ;; 57667a0395d0Smrg --file | --fil | --fi | --f ) 57677a0395d0Smrg $ac_shift 57687a0395d0Smrg CONFIG_FILES="$CONFIG_FILES $ac_optarg" 57697a0395d0Smrg ac_need_defaults=false;; 57707a0395d0Smrg --header | --heade | --head | --hea ) 57717a0395d0Smrg $ac_shift 57727a0395d0Smrg CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 57737a0395d0Smrg ac_need_defaults=false;; 57747a0395d0Smrg --he | --h) 57757a0395d0Smrg # Conflict between --help and --header 57767a0395d0Smrg { echo "$as_me: error: ambiguous option: $1 57777a0395d0SmrgTry \`$0 --help' for more information." >&2 57787a0395d0Smrg { (exit 1); exit 1; }; };; 57797a0395d0Smrg --help | --hel | -h ) 57807a0395d0Smrg echo "$ac_cs_usage"; exit ;; 57817a0395d0Smrg -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 57827a0395d0Smrg | -silent | --silent | --silen | --sile | --sil | --si | --s) 57837a0395d0Smrg ac_cs_silent=: ;; 57847a0395d0Smrg 57857a0395d0Smrg # This is an error. 57867a0395d0Smrg -*) { echo "$as_me: error: unrecognized option: $1 57877a0395d0SmrgTry \`$0 --help' for more information." >&2 57887a0395d0Smrg { (exit 1); exit 1; }; } ;; 57897a0395d0Smrg 57907a0395d0Smrg *) ac_config_targets="$ac_config_targets $1" 57917a0395d0Smrg ac_need_defaults=false ;; 57927a0395d0Smrg 57937a0395d0Smrg esac 57947a0395d0Smrg shift 57957a0395d0Smrgdone 57967a0395d0Smrg 57977a0395d0Smrgac_configure_extra_args= 57987a0395d0Smrg 57997a0395d0Smrgif $ac_cs_silent; then 58007a0395d0Smrg exec 6>/dev/null 58017a0395d0Smrg ac_configure_extra_args="$ac_configure_extra_args --silent" 58027a0395d0Smrgfi 58037a0395d0Smrg 58047a0395d0Smrg_ACEOF 58057a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 58067a0395d0Smrgif \$ac_cs_recheck; then 58077a0395d0Smrg echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 58087a0395d0Smrg CONFIG_SHELL=$SHELL 58097a0395d0Smrg export CONFIG_SHELL 58107a0395d0Smrg exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 58117a0395d0Smrgfi 58127a0395d0Smrg 58137a0395d0Smrg_ACEOF 58147a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 58157a0395d0Smrgexec 5>>config.log 58167a0395d0Smrg{ 58177a0395d0Smrg echo 58187a0395d0Smrg sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 58197a0395d0Smrg## Running $as_me. ## 58207a0395d0Smrg_ASBOX 58217a0395d0Smrg echo "$ac_log" 58227a0395d0Smrg} >&5 58237a0395d0Smrg 58247a0395d0Smrg_ACEOF 58257a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 58267a0395d0Smrg# 58277a0395d0Smrg# INIT-COMMANDS 58287a0395d0Smrg# 58297a0395d0SmrgAMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 58307a0395d0Smrg 58317a0395d0Smrg_ACEOF 58327a0395d0Smrg 58337a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 58347a0395d0Smrg 58357a0395d0Smrg# Handling of arguments. 58367a0395d0Smrgfor ac_config_target in $ac_config_targets 58377a0395d0Smrgdo 58387a0395d0Smrg case $ac_config_target in 58397a0395d0Smrg "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 58407a0395d0Smrg "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 58417a0395d0Smrg "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 58427a0395d0Smrg 58437a0395d0Smrg *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 58447a0395d0Smrgecho "$as_me: error: invalid argument: $ac_config_target" >&2;} 58457a0395d0Smrg { (exit 1); exit 1; }; };; 58467a0395d0Smrg esac 58477a0395d0Smrgdone 58487a0395d0Smrg 58497a0395d0Smrg 58507a0395d0Smrg# If the user did not use the arguments to specify the items to instantiate, 58517a0395d0Smrg# then the envvar interface is used. Set only those that are not. 58527a0395d0Smrg# We use the long form for the default assignment because of an extremely 58537a0395d0Smrg# bizarre bug on SunOS 4.1.3. 58547a0395d0Smrgif $ac_need_defaults; then 58557a0395d0Smrg test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 58567a0395d0Smrg test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 58577a0395d0Smrg test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 58587a0395d0Smrgfi 58597a0395d0Smrg 58607a0395d0Smrg# Have a temporary directory for convenience. Make it in the build tree 58617a0395d0Smrg# simply because there is no reason against having it here, and in addition, 58627a0395d0Smrg# creating and moving files from /tmp can sometimes cause problems. 58637a0395d0Smrg# Hook for its removal unless debugging. 58647a0395d0Smrg# Note that there is a small window in which the directory will not be cleaned: 58657a0395d0Smrg# after its creation but before its name has been assigned to `$tmp'. 58667a0395d0Smrg$debug || 58677a0395d0Smrg{ 58687a0395d0Smrg tmp= 58697a0395d0Smrg trap 'exit_status=$? 58707a0395d0Smrg { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 58717a0395d0Smrg' 0 58727a0395d0Smrg trap '{ (exit 1); exit 1; }' 1 2 13 15 58737a0395d0Smrg} 58747a0395d0Smrg# Create a (secure) tmp directory for tmp files. 58757a0395d0Smrg 58767a0395d0Smrg{ 58777a0395d0Smrg tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 58787a0395d0Smrg test -n "$tmp" && test -d "$tmp" 58797a0395d0Smrg} || 58807a0395d0Smrg{ 58817a0395d0Smrg tmp=./conf$$-$RANDOM 58827a0395d0Smrg (umask 077 && mkdir "$tmp") 58837a0395d0Smrg} || 58847a0395d0Smrg{ 58857a0395d0Smrg echo "$me: cannot create a temporary directory in ." >&2 58867a0395d0Smrg { (exit 1); exit 1; } 58877a0395d0Smrg} 58887a0395d0Smrg 58897a0395d0Smrg# 58907a0395d0Smrg# Set up the sed scripts for CONFIG_FILES section. 58917a0395d0Smrg# 58927a0395d0Smrg 58937a0395d0Smrg# No need to generate the scripts if there are no CONFIG_FILES. 58947a0395d0Smrg# This happens for instance when ./config.status config.h 58957a0395d0Smrgif test -n "$CONFIG_FILES"; then 58967a0395d0Smrg 58977a0395d0Smrg_ACEOF 58987a0395d0Smrg 58997a0395d0Smrg 59007a0395d0Smrg 59017a0395d0Smrgac_delim='%!_!# ' 59027a0395d0Smrgfor ac_last_try in false false false false false :; do 59037a0395d0Smrg cat >conf$$subs.sed <<_ACEOF 59047a0395d0SmrgSHELL!$SHELL$ac_delim 59057a0395d0SmrgPATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 59067a0395d0SmrgPACKAGE_NAME!$PACKAGE_NAME$ac_delim 59077a0395d0SmrgPACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 59087a0395d0SmrgPACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 59097a0395d0SmrgPACKAGE_STRING!$PACKAGE_STRING$ac_delim 59107a0395d0SmrgPACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 59117a0395d0Smrgexec_prefix!$exec_prefix$ac_delim 59127a0395d0Smrgprefix!$prefix$ac_delim 59137a0395d0Smrgprogram_transform_name!$program_transform_name$ac_delim 59147a0395d0Smrgbindir!$bindir$ac_delim 59157a0395d0Smrgsbindir!$sbindir$ac_delim 59167a0395d0Smrglibexecdir!$libexecdir$ac_delim 59177a0395d0Smrgdatarootdir!$datarootdir$ac_delim 59187a0395d0Smrgdatadir!$datadir$ac_delim 59197a0395d0Smrgsysconfdir!$sysconfdir$ac_delim 59207a0395d0Smrgsharedstatedir!$sharedstatedir$ac_delim 59217a0395d0Smrglocalstatedir!$localstatedir$ac_delim 59227a0395d0Smrgincludedir!$includedir$ac_delim 59237a0395d0Smrgoldincludedir!$oldincludedir$ac_delim 59247a0395d0Smrgdocdir!$docdir$ac_delim 59257a0395d0Smrginfodir!$infodir$ac_delim 59267a0395d0Smrghtmldir!$htmldir$ac_delim 59277a0395d0Smrgdvidir!$dvidir$ac_delim 59287a0395d0Smrgpdfdir!$pdfdir$ac_delim 59297a0395d0Smrgpsdir!$psdir$ac_delim 59307a0395d0Smrglibdir!$libdir$ac_delim 59317a0395d0Smrglocaledir!$localedir$ac_delim 59327a0395d0Smrgmandir!$mandir$ac_delim 59337a0395d0SmrgDEFS!$DEFS$ac_delim 59347a0395d0SmrgECHO_C!$ECHO_C$ac_delim 59357a0395d0SmrgECHO_N!$ECHO_N$ac_delim 59367a0395d0SmrgECHO_T!$ECHO_T$ac_delim 59377a0395d0SmrgLIBS!$LIBS$ac_delim 59387a0395d0Smrgbuild_alias!$build_alias$ac_delim 59397a0395d0Smrghost_alias!$host_alias$ac_delim 59407a0395d0Smrgtarget_alias!$target_alias$ac_delim 59417a0395d0SmrgINSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 59427a0395d0SmrgINSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 59437a0395d0SmrgINSTALL_DATA!$INSTALL_DATA$ac_delim 59447a0395d0Smrgam__isrc!$am__isrc$ac_delim 59457a0395d0SmrgCYGPATH_W!$CYGPATH_W$ac_delim 59467a0395d0SmrgPACKAGE!$PACKAGE$ac_delim 59477a0395d0SmrgVERSION!$VERSION$ac_delim 59487a0395d0SmrgACLOCAL!$ACLOCAL$ac_delim 59497a0395d0SmrgAUTOCONF!$AUTOCONF$ac_delim 59507a0395d0SmrgAUTOMAKE!$AUTOMAKE$ac_delim 59517a0395d0SmrgAUTOHEADER!$AUTOHEADER$ac_delim 59527a0395d0SmrgMAKEINFO!$MAKEINFO$ac_delim 59537a0395d0Smrginstall_sh!$install_sh$ac_delim 59547a0395d0SmrgSTRIP!$STRIP$ac_delim 59557a0395d0SmrgINSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim 59567a0395d0Smrgmkdir_p!$mkdir_p$ac_delim 59577a0395d0SmrgAWK!$AWK$ac_delim 59587a0395d0SmrgSET_MAKE!$SET_MAKE$ac_delim 59597a0395d0Smrgam__leading_dot!$am__leading_dot$ac_delim 59607a0395d0SmrgAMTAR!$AMTAR$ac_delim 59617a0395d0Smrgam__tar!$am__tar$ac_delim 59627a0395d0Smrgam__untar!$am__untar$ac_delim 59637a0395d0SmrgMAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim 59647a0395d0SmrgMAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim 59657a0395d0SmrgMAINT!$MAINT$ac_delim 59667a0395d0SmrgCC!$CC$ac_delim 59677a0395d0SmrgCFLAGS!$CFLAGS$ac_delim 59687a0395d0SmrgLDFLAGS!$LDFLAGS$ac_delim 59697a0395d0SmrgCPPFLAGS!$CPPFLAGS$ac_delim 59707a0395d0Smrgac_ct_CC!$ac_ct_CC$ac_delim 59717a0395d0SmrgEXEEXT!$EXEEXT$ac_delim 59727a0395d0SmrgOBJEXT!$OBJEXT$ac_delim 59737a0395d0SmrgDEPDIR!$DEPDIR$ac_delim 59747a0395d0Smrgam__include!$am__include$ac_delim 59757a0395d0Smrgam__quote!$am__quote$ac_delim 59767a0395d0SmrgAMDEP_TRUE!$AMDEP_TRUE$ac_delim 59777a0395d0SmrgAMDEP_FALSE!$AMDEP_FALSE$ac_delim 59787a0395d0SmrgAMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim 59797a0395d0SmrgCCDEPMODE!$CCDEPMODE$ac_delim 59807a0395d0Smrgam__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim 59817a0395d0Smrgam__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim 59827a0395d0SmrgCPP!$CPP$ac_delim 59837a0395d0SmrgGREP!$GREP$ac_delim 59847a0395d0SmrgEGREP!$EGREP$ac_delim 59857a0395d0SmrgPKG_CONFIG!$PKG_CONFIG$ac_delim 59867a0395d0SmrgXAUTH_CFLAGS!$XAUTH_CFLAGS$ac_delim 59877a0395d0SmrgXAUTH_LIBS!$XAUTH_LIBS$ac_delim 59887a0395d0Smrgbuild!$build$ac_delim 59897a0395d0Smrgbuild_cpu!$build_cpu$ac_delim 59907a0395d0Smrgbuild_vendor!$build_vendor$ac_delim 59917a0395d0Smrgbuild_os!$build_os$ac_delim 59927a0395d0Smrghost!$host$ac_delim 59937a0395d0Smrghost_cpu!$host_cpu$ac_delim 59947a0395d0Smrghost_vendor!$host_vendor$ac_delim 59957a0395d0Smrghost_os!$host_os$ac_delim 59967a0395d0SmrgLINT!$LINT$ac_delim 59977a0395d0SmrgLINT_FLAGS!$LINT_FLAGS$ac_delim 59987a0395d0SmrgLINT_TRUE!$LINT_TRUE$ac_delim 59997a0395d0SmrgLINT_FALSE!$LINT_FALSE$ac_delim 60007a0395d0SmrgAPP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim 60017a0395d0Smrg_ACEOF 60027a0395d0Smrg 60037a0395d0Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 60047a0395d0Smrg break 60057a0395d0Smrg elif $ac_last_try; then 60067a0395d0Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 60077a0395d0Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 60087a0395d0Smrg { (exit 1); exit 1; }; } 60097a0395d0Smrg else 60107a0395d0Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 60117a0395d0Smrg fi 60127a0395d0Smrgdone 60137a0395d0Smrg 60147a0395d0Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 60157a0395d0Smrgif test -n "$ac_eof"; then 60167a0395d0Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 60177a0395d0Smrg ac_eof=`expr $ac_eof + 1` 60187a0395d0Smrgfi 60197a0395d0Smrg 60207a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 60217a0395d0Smrgcat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 60227a0395d0Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 60237a0395d0Smrg_ACEOF 60247a0395d0Smrgsed ' 60257a0395d0Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 60267a0395d0Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 60277a0395d0Smrg:n 60287a0395d0Smrgt n 60297a0395d0Smrgs/'"$ac_delim"'$/,g/; t 60307a0395d0Smrgs/$/\\/; p 60317a0395d0SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 60327a0395d0Smrg' >>$CONFIG_STATUS <conf$$subs.sed 60337a0395d0Smrgrm -f conf$$subs.sed 60347a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 60357a0395d0SmrgCEOF$ac_eof 60367a0395d0Smrg_ACEOF 60377a0395d0Smrg 60387a0395d0Smrg 60397a0395d0Smrgac_delim='%!_!# ' 60407a0395d0Smrgfor ac_last_try in false false false false false :; do 60417a0395d0Smrg cat >conf$$subs.sed <<_ACEOF 60427a0395d0SmrgLIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim 60437a0395d0SmrgFILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim 60447a0395d0SmrgMISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim 60457a0395d0SmrgDRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim 60467a0395d0SmrgADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim 60477a0395d0SmrgAPP_MAN_DIR!$APP_MAN_DIR$ac_delim 60487a0395d0SmrgLIB_MAN_DIR!$LIB_MAN_DIR$ac_delim 60497a0395d0SmrgFILE_MAN_DIR!$FILE_MAN_DIR$ac_delim 60507a0395d0SmrgMISC_MAN_DIR!$MISC_MAN_DIR$ac_delim 60517a0395d0SmrgDRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim 60527a0395d0SmrgADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim 60537a0395d0SmrgLIBOBJS!$LIBOBJS$ac_delim 60547a0395d0SmrgLTLIBOBJS!$LTLIBOBJS$ac_delim 60557a0395d0Smrg_ACEOF 60567a0395d0Smrg 60577a0395d0Smrg if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then 60587a0395d0Smrg break 60597a0395d0Smrg elif $ac_last_try; then 60607a0395d0Smrg { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 60617a0395d0Smrgecho "$as_me: error: could not make $CONFIG_STATUS" >&2;} 60627a0395d0Smrg { (exit 1); exit 1; }; } 60637a0395d0Smrg else 60647a0395d0Smrg ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 60657a0395d0Smrg fi 60667a0395d0Smrgdone 60677a0395d0Smrg 60687a0395d0Smrgac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 60697a0395d0Smrgif test -n "$ac_eof"; then 60707a0395d0Smrg ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 60717a0395d0Smrg ac_eof=`expr $ac_eof + 1` 60727a0395d0Smrgfi 60737a0395d0Smrg 60747a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 60757a0395d0Smrgcat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 60767a0395d0Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 60777a0395d0Smrg_ACEOF 60787a0395d0Smrgsed ' 60797a0395d0Smrgs/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 60807a0395d0Smrgs/^/s,@/; s/!/@,|#_!!_#|/ 60817a0395d0Smrg:n 60827a0395d0Smrgt n 60837a0395d0Smrgs/'"$ac_delim"'$/,g/; t 60847a0395d0Smrgs/$/\\/; p 60857a0395d0SmrgN; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 60867a0395d0Smrg' >>$CONFIG_STATUS <conf$$subs.sed 60877a0395d0Smrgrm -f conf$$subs.sed 60887a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 60897a0395d0Smrg:end 60907a0395d0Smrgs/|#_!!_#|//g 60917a0395d0SmrgCEOF$ac_eof 60927a0395d0Smrg_ACEOF 60937a0395d0Smrg 60947a0395d0Smrg 60957a0395d0Smrg# VPATH may cause trouble with some makes, so we remove $(srcdir), 60967a0395d0Smrg# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 60977a0395d0Smrg# trailing colons and then remove the whole line if VPATH becomes empty 60987a0395d0Smrg# (actually we leave an empty line to preserve line numbers). 60997a0395d0Smrgif test "x$srcdir" = x.; then 61007a0395d0Smrg ac_vpsub='/^[ ]*VPATH[ ]*=/{ 61017a0395d0Smrgs/:*\$(srcdir):*/:/ 61027a0395d0Smrgs/:*\${srcdir}:*/:/ 61037a0395d0Smrgs/:*@srcdir@:*/:/ 61047a0395d0Smrgs/^\([^=]*=[ ]*\):*/\1/ 61057a0395d0Smrgs/:*$// 61067a0395d0Smrgs/^[^=]*=[ ]*$// 61077a0395d0Smrg}' 61087a0395d0Smrgfi 61097a0395d0Smrg 61107a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 61117a0395d0Smrgfi # test -n "$CONFIG_FILES" 61127a0395d0Smrg 61137a0395d0Smrg 61147a0395d0Smrgfor ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS 61157a0395d0Smrgdo 61167a0395d0Smrg case $ac_tag in 61177a0395d0Smrg :[FHLC]) ac_mode=$ac_tag; continue;; 61187a0395d0Smrg esac 61197a0395d0Smrg case $ac_mode$ac_tag in 61207a0395d0Smrg :[FHL]*:*);; 61217a0395d0Smrg :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 61227a0395d0Smrgecho "$as_me: error: Invalid tag $ac_tag." >&2;} 61237a0395d0Smrg { (exit 1); exit 1; }; };; 61247a0395d0Smrg :[FH]-) ac_tag=-:-;; 61257a0395d0Smrg :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 61267a0395d0Smrg esac 61277a0395d0Smrg ac_save_IFS=$IFS 61287a0395d0Smrg IFS=: 61297a0395d0Smrg set x $ac_tag 61307a0395d0Smrg IFS=$ac_save_IFS 61317a0395d0Smrg shift 61327a0395d0Smrg ac_file=$1 61337a0395d0Smrg shift 61347a0395d0Smrg 61357a0395d0Smrg case $ac_mode in 61367a0395d0Smrg :L) ac_source=$1;; 61377a0395d0Smrg :[FH]) 61387a0395d0Smrg ac_file_inputs= 61397a0395d0Smrg for ac_f 61407a0395d0Smrg do 61417a0395d0Smrg case $ac_f in 61427a0395d0Smrg -) ac_f="$tmp/stdin";; 61437a0395d0Smrg *) # Look for the file first in the build tree, then in the source tree 61447a0395d0Smrg # (if the path is not absolute). The absolute path cannot be DOS-style, 61457a0395d0Smrg # because $ac_f cannot contain `:'. 61467a0395d0Smrg test -f "$ac_f" || 61477a0395d0Smrg case $ac_f in 61487a0395d0Smrg [\\/$]*) false;; 61497a0395d0Smrg *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 61507a0395d0Smrg esac || 61517a0395d0Smrg { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 61527a0395d0Smrgecho "$as_me: error: cannot find input file: $ac_f" >&2;} 61537a0395d0Smrg { (exit 1); exit 1; }; };; 61547a0395d0Smrg esac 61557a0395d0Smrg ac_file_inputs="$ac_file_inputs $ac_f" 61567a0395d0Smrg done 61577a0395d0Smrg 61587a0395d0Smrg # Let's still pretend it is `configure' which instantiates (i.e., don't 61597a0395d0Smrg # use $as_me), people would be surprised to read: 61607a0395d0Smrg # /* config.h. Generated by config.status. */ 61617a0395d0Smrg configure_input="Generated from "`IFS=: 61627a0395d0Smrg echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 61637a0395d0Smrg if test x"$ac_file" != x-; then 61647a0395d0Smrg configure_input="$ac_file. $configure_input" 61657a0395d0Smrg { echo "$as_me:$LINENO: creating $ac_file" >&5 61667a0395d0Smrgecho "$as_me: creating $ac_file" >&6;} 61677a0395d0Smrg fi 61687a0395d0Smrg 61697a0395d0Smrg case $ac_tag in 61707a0395d0Smrg *:-:* | *:-) cat >"$tmp/stdin";; 61717a0395d0Smrg esac 61727a0395d0Smrg ;; 61737a0395d0Smrg esac 61747a0395d0Smrg 61757a0395d0Smrg ac_dir=`$as_dirname -- "$ac_file" || 61767a0395d0Smrg$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 61777a0395d0Smrg X"$ac_file" : 'X\(//\)[^/]' \| \ 61787a0395d0Smrg X"$ac_file" : 'X\(//\)$' \| \ 61797a0395d0Smrg X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 61807a0395d0Smrgecho X"$ac_file" | 61817a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 61827a0395d0Smrg s//\1/ 61837a0395d0Smrg q 61847a0395d0Smrg } 61857a0395d0Smrg /^X\(\/\/\)[^/].*/{ 61867a0395d0Smrg s//\1/ 61877a0395d0Smrg q 61887a0395d0Smrg } 61897a0395d0Smrg /^X\(\/\/\)$/{ 61907a0395d0Smrg s//\1/ 61917a0395d0Smrg q 61927a0395d0Smrg } 61937a0395d0Smrg /^X\(\/\).*/{ 61947a0395d0Smrg s//\1/ 61957a0395d0Smrg q 61967a0395d0Smrg } 61977a0395d0Smrg s/.*/./; q'` 61987a0395d0Smrg { as_dir="$ac_dir" 61997a0395d0Smrg case $as_dir in #( 62007a0395d0Smrg -*) as_dir=./$as_dir;; 62017a0395d0Smrg esac 62027a0395d0Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 62037a0395d0Smrg as_dirs= 62047a0395d0Smrg while :; do 62057a0395d0Smrg case $as_dir in #( 62067a0395d0Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 62077a0395d0Smrg *) as_qdir=$as_dir;; 62087a0395d0Smrg esac 62097a0395d0Smrg as_dirs="'$as_qdir' $as_dirs" 62107a0395d0Smrg as_dir=`$as_dirname -- "$as_dir" || 62117a0395d0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 62127a0395d0Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 62137a0395d0Smrg X"$as_dir" : 'X\(//\)$' \| \ 62147a0395d0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 62157a0395d0Smrgecho X"$as_dir" | 62167a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 62177a0395d0Smrg s//\1/ 62187a0395d0Smrg q 62197a0395d0Smrg } 62207a0395d0Smrg /^X\(\/\/\)[^/].*/{ 62217a0395d0Smrg s//\1/ 62227a0395d0Smrg q 62237a0395d0Smrg } 62247a0395d0Smrg /^X\(\/\/\)$/{ 62257a0395d0Smrg s//\1/ 62267a0395d0Smrg q 62277a0395d0Smrg } 62287a0395d0Smrg /^X\(\/\).*/{ 62297a0395d0Smrg s//\1/ 62307a0395d0Smrg q 62317a0395d0Smrg } 62327a0395d0Smrg s/.*/./; q'` 62337a0395d0Smrg test -d "$as_dir" && break 62347a0395d0Smrg done 62357a0395d0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 62367a0395d0Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 62377a0395d0Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 62387a0395d0Smrg { (exit 1); exit 1; }; }; } 62397a0395d0Smrg ac_builddir=. 62407a0395d0Smrg 62417a0395d0Smrgcase "$ac_dir" in 62427a0395d0Smrg.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 62437a0395d0Smrg*) 62447a0395d0Smrg ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 62457a0395d0Smrg # A ".." for each directory in $ac_dir_suffix. 62467a0395d0Smrg ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 62477a0395d0Smrg case $ac_top_builddir_sub in 62487a0395d0Smrg "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 62497a0395d0Smrg *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 62507a0395d0Smrg esac ;; 62517a0395d0Smrgesac 62527a0395d0Smrgac_abs_top_builddir=$ac_pwd 62537a0395d0Smrgac_abs_builddir=$ac_pwd$ac_dir_suffix 62547a0395d0Smrg# for backward compatibility: 62557a0395d0Smrgac_top_builddir=$ac_top_build_prefix 62567a0395d0Smrg 62577a0395d0Smrgcase $srcdir in 62587a0395d0Smrg .) # We are building in place. 62597a0395d0Smrg ac_srcdir=. 62607a0395d0Smrg ac_top_srcdir=$ac_top_builddir_sub 62617a0395d0Smrg ac_abs_top_srcdir=$ac_pwd ;; 62627a0395d0Smrg [\\/]* | ?:[\\/]* ) # Absolute name. 62637a0395d0Smrg ac_srcdir=$srcdir$ac_dir_suffix; 62647a0395d0Smrg ac_top_srcdir=$srcdir 62657a0395d0Smrg ac_abs_top_srcdir=$srcdir ;; 62667a0395d0Smrg *) # Relative name. 62677a0395d0Smrg ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 62687a0395d0Smrg ac_top_srcdir=$ac_top_build_prefix$srcdir 62697a0395d0Smrg ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 62707a0395d0Smrgesac 62717a0395d0Smrgac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 62727a0395d0Smrg 62737a0395d0Smrg 62747a0395d0Smrg case $ac_mode in 62757a0395d0Smrg :F) 62767a0395d0Smrg # 62777a0395d0Smrg # CONFIG_FILE 62787a0395d0Smrg # 62797a0395d0Smrg 62807a0395d0Smrg case $INSTALL in 62817a0395d0Smrg [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 62827a0395d0Smrg *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 62837a0395d0Smrg esac 62847a0395d0Smrg ac_MKDIR_P=$MKDIR_P 62857a0395d0Smrg case $MKDIR_P in 62867a0395d0Smrg [\\/$]* | ?:[\\/]* ) ;; 62877a0395d0Smrg */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 62887a0395d0Smrg esac 62897a0395d0Smrg_ACEOF 62907a0395d0Smrg 62917a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 62927a0395d0Smrg# If the template does not know about datarootdir, expand it. 62937a0395d0Smrg# FIXME: This hack should be removed a few years after 2.60. 62947a0395d0Smrgac_datarootdir_hack=; ac_datarootdir_seen= 62957a0395d0Smrg 62967a0395d0Smrgcase `sed -n '/datarootdir/ { 62977a0395d0Smrg p 62987a0395d0Smrg q 62997a0395d0Smrg} 63007a0395d0Smrg/@datadir@/p 63017a0395d0Smrg/@docdir@/p 63027a0395d0Smrg/@infodir@/p 63037a0395d0Smrg/@localedir@/p 63047a0395d0Smrg/@mandir@/p 63057a0395d0Smrg' $ac_file_inputs` in 63067a0395d0Smrg*datarootdir*) ac_datarootdir_seen=yes;; 63077a0395d0Smrg*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 63087a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 63097a0395d0Smrgecho "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 63107a0395d0Smrg_ACEOF 63117a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 63127a0395d0Smrg ac_datarootdir_hack=' 63137a0395d0Smrg s&@datadir@&$datadir&g 63147a0395d0Smrg s&@docdir@&$docdir&g 63157a0395d0Smrg s&@infodir@&$infodir&g 63167a0395d0Smrg s&@localedir@&$localedir&g 63177a0395d0Smrg s&@mandir@&$mandir&g 63187a0395d0Smrg s&\\\${datarootdir}&$datarootdir&g' ;; 63197a0395d0Smrgesac 63207a0395d0Smrg_ACEOF 63217a0395d0Smrg 63227a0395d0Smrg# Neutralize VPATH when `$srcdir' = `.'. 63237a0395d0Smrg# Shell code in configure.ac might set extrasub. 63247a0395d0Smrg# FIXME: do we really want to maintain this feature? 63257a0395d0Smrgcat >>$CONFIG_STATUS <<_ACEOF 63267a0395d0Smrg sed "$ac_vpsub 63277a0395d0Smrg$extrasub 63287a0395d0Smrg_ACEOF 63297a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 63307a0395d0Smrg:t 63317a0395d0Smrg/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 63327a0395d0Smrgs&@configure_input@&$configure_input&;t t 63337a0395d0Smrgs&@top_builddir@&$ac_top_builddir_sub&;t t 63347a0395d0Smrgs&@srcdir@&$ac_srcdir&;t t 63357a0395d0Smrgs&@abs_srcdir@&$ac_abs_srcdir&;t t 63367a0395d0Smrgs&@top_srcdir@&$ac_top_srcdir&;t t 63377a0395d0Smrgs&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 63387a0395d0Smrgs&@builddir@&$ac_builddir&;t t 63397a0395d0Smrgs&@abs_builddir@&$ac_abs_builddir&;t t 63407a0395d0Smrgs&@abs_top_builddir@&$ac_abs_top_builddir&;t t 63417a0395d0Smrgs&@INSTALL@&$ac_INSTALL&;t t 63427a0395d0Smrgs&@MKDIR_P@&$ac_MKDIR_P&;t t 63437a0395d0Smrg$ac_datarootdir_hack 63447a0395d0Smrg" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 63457a0395d0Smrg 63467a0395d0Smrgtest -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 63477a0395d0Smrg { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 63487a0395d0Smrg { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 63497a0395d0Smrg { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 63507a0395d0Smrgwhich seems to be undefined. Please make sure it is defined." >&5 63517a0395d0Smrgecho "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 63527a0395d0Smrgwhich seems to be undefined. Please make sure it is defined." >&2;} 63537a0395d0Smrg 63547a0395d0Smrg rm -f "$tmp/stdin" 63557a0395d0Smrg case $ac_file in 63567a0395d0Smrg -) cat "$tmp/out"; rm -f "$tmp/out";; 63577a0395d0Smrg *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 63587a0395d0Smrg esac 63597a0395d0Smrg ;; 63607a0395d0Smrg :H) 63617a0395d0Smrg # 63627a0395d0Smrg # CONFIG_HEADER 63637a0395d0Smrg # 63647a0395d0Smrg_ACEOF 63657a0395d0Smrg 63667a0395d0Smrg# Transform confdefs.h into a sed script `conftest.defines', that 63677a0395d0Smrg# substitutes the proper values into config.h.in to produce config.h. 63687a0395d0Smrgrm -f conftest.defines conftest.tail 63697a0395d0Smrg# First, append a space to every undef/define line, to ease matching. 63707a0395d0Smrgecho 's/$/ /' >conftest.defines 63717a0395d0Smrg# Then, protect against being on the right side of a sed subst, or in 63727a0395d0Smrg# an unquoted here document, in config.status. If some macros were 63737a0395d0Smrg# called several times there might be several #defines for the same 63747a0395d0Smrg# symbol, which is useless. But do not sort them, since the last 63757a0395d0Smrg# AC_DEFINE must be honored. 63767a0395d0Smrgac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 63777a0395d0Smrg# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 63787a0395d0Smrg# NAME is the cpp macro being defined, VALUE is the value it is being given. 63797a0395d0Smrg# PARAMS is the parameter list in the macro definition--in most cases, it's 63807a0395d0Smrg# just an empty string. 63817a0395d0Smrgac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 63827a0395d0Smrgac_dB='\\)[ (].*,\\1define\\2' 63837a0395d0Smrgac_dC=' ' 63847a0395d0Smrgac_dD=' ,' 63857a0395d0Smrg 63867a0395d0Smrguniq confdefs.h | 63877a0395d0Smrg sed -n ' 63887a0395d0Smrg t rset 63897a0395d0Smrg :rset 63907a0395d0Smrg s/^[ ]*#[ ]*define[ ][ ]*// 63917a0395d0Smrg t ok 63927a0395d0Smrg d 63937a0395d0Smrg :ok 63947a0395d0Smrg s/[\\&,]/\\&/g 63957a0395d0Smrg s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 63967a0395d0Smrg s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 63977a0395d0Smrg ' >>conftest.defines 63987a0395d0Smrg 63997a0395d0Smrg# Remove the space that was appended to ease matching. 64007a0395d0Smrg# Then replace #undef with comments. This is necessary, for 64017a0395d0Smrg# example, in the case of _POSIX_SOURCE, which is predefined and required 64027a0395d0Smrg# on some systems where configure will not decide to define it. 64037a0395d0Smrg# (The regexp can be short, since the line contains either #define or #undef.) 64047a0395d0Smrgecho 's/ $// 64057a0395d0Smrgs,^[ #]*u.*,/* & */,' >>conftest.defines 64067a0395d0Smrg 64077a0395d0Smrg# Break up conftest.defines: 64087a0395d0Smrgac_max_sed_lines=50 64097a0395d0Smrg 64107a0395d0Smrg# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 64117a0395d0Smrg# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 64127a0395d0Smrg# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 64137a0395d0Smrg# et cetera. 64147a0395d0Smrgac_in='$ac_file_inputs' 64157a0395d0Smrgac_out='"$tmp/out1"' 64167a0395d0Smrgac_nxt='"$tmp/out2"' 64177a0395d0Smrg 64187a0395d0Smrgwhile : 64197a0395d0Smrgdo 64207a0395d0Smrg # Write a here document: 64217a0395d0Smrg cat >>$CONFIG_STATUS <<_ACEOF 64227a0395d0Smrg # First, check the format of the line: 64237a0395d0Smrg cat >"\$tmp/defines.sed" <<\\CEOF 64247a0395d0Smrg/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 64257a0395d0Smrg/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 64267a0395d0Smrgb 64277a0395d0Smrg:def 64287a0395d0Smrg_ACEOF 64297a0395d0Smrg sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 64307a0395d0Smrg echo 'CEOF 64317a0395d0Smrg sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 64327a0395d0Smrg ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 64337a0395d0Smrg sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 64347a0395d0Smrg grep . conftest.tail >/dev/null || break 64357a0395d0Smrg rm -f conftest.defines 64367a0395d0Smrg mv conftest.tail conftest.defines 64377a0395d0Smrgdone 64387a0395d0Smrgrm -f conftest.defines conftest.tail 64397a0395d0Smrg 64407a0395d0Smrgecho "ac_result=$ac_in" >>$CONFIG_STATUS 64417a0395d0Smrgcat >>$CONFIG_STATUS <<\_ACEOF 64427a0395d0Smrg if test x"$ac_file" != x-; then 64437a0395d0Smrg echo "/* $configure_input */" >"$tmp/config.h" 64447a0395d0Smrg cat "$ac_result" >>"$tmp/config.h" 64457a0395d0Smrg if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 64467a0395d0Smrg { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 64477a0395d0Smrgecho "$as_me: $ac_file is unchanged" >&6;} 64487a0395d0Smrg else 64497a0395d0Smrg rm -f $ac_file 64507a0395d0Smrg mv "$tmp/config.h" $ac_file 64517a0395d0Smrg fi 64527a0395d0Smrg else 64537a0395d0Smrg echo "/* $configure_input */" 64547a0395d0Smrg cat "$ac_result" 64557a0395d0Smrg fi 64567a0395d0Smrg rm -f "$tmp/out12" 64577a0395d0Smrg# Compute $ac_file's index in $config_headers. 64587a0395d0Smrg_am_arg=$ac_file 64597a0395d0Smrg_am_stamp_count=1 64607a0395d0Smrgfor _am_header in $config_headers :; do 64617a0395d0Smrg case $_am_header in 64627a0395d0Smrg $_am_arg | $_am_arg:* ) 64637a0395d0Smrg break ;; 64647a0395d0Smrg * ) 64657a0395d0Smrg _am_stamp_count=`expr $_am_stamp_count + 1` ;; 64667a0395d0Smrg esac 64677a0395d0Smrgdone 64687a0395d0Smrgecho "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 64697a0395d0Smrg$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 64707a0395d0Smrg X"$_am_arg" : 'X\(//\)[^/]' \| \ 64717a0395d0Smrg X"$_am_arg" : 'X\(//\)$' \| \ 64727a0395d0Smrg X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 64737a0395d0Smrgecho X"$_am_arg" | 64747a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 64757a0395d0Smrg s//\1/ 64767a0395d0Smrg q 64777a0395d0Smrg } 64787a0395d0Smrg /^X\(\/\/\)[^/].*/{ 64797a0395d0Smrg s//\1/ 64807a0395d0Smrg q 64817a0395d0Smrg } 64827a0395d0Smrg /^X\(\/\/\)$/{ 64837a0395d0Smrg s//\1/ 64847a0395d0Smrg q 64857a0395d0Smrg } 64867a0395d0Smrg /^X\(\/\).*/{ 64877a0395d0Smrg s//\1/ 64887a0395d0Smrg q 64897a0395d0Smrg } 64907a0395d0Smrg s/.*/./; q'`/stamp-h$_am_stamp_count 64917a0395d0Smrg ;; 64927a0395d0Smrg 64937a0395d0Smrg :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 64947a0395d0Smrgecho "$as_me: executing $ac_file commands" >&6;} 64957a0395d0Smrg ;; 64967a0395d0Smrg esac 64977a0395d0Smrg 64987a0395d0Smrg 64997a0395d0Smrg case $ac_file$ac_mode in 65007a0395d0Smrg "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 65017a0395d0Smrg # Strip MF so we end up with the name of the file. 65027a0395d0Smrg mf=`echo "$mf" | sed -e 's/:.*$//'` 65037a0395d0Smrg # Check whether this is an Automake generated Makefile or not. 65047a0395d0Smrg # We used to match only the files named `Makefile.in', but 65057a0395d0Smrg # some people rename them; so instead we look at the file content. 65067a0395d0Smrg # Grep'ing the first line is not enough: some people post-process 65077a0395d0Smrg # each Makefile.in and add a new line on top of each file to say so. 65087a0395d0Smrg # Grep'ing the whole file is not good either: AIX grep has a line 65097a0395d0Smrg # limit of 2048, but all sed's we know have understand at least 4000. 65107a0395d0Smrg if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 65117a0395d0Smrg dirpart=`$as_dirname -- "$mf" || 65127a0395d0Smrg$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65137a0395d0Smrg X"$mf" : 'X\(//\)[^/]' \| \ 65147a0395d0Smrg X"$mf" : 'X\(//\)$' \| \ 65157a0395d0Smrg X"$mf" : 'X\(/\)' \| . 2>/dev/null || 65167a0395d0Smrgecho X"$mf" | 65177a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65187a0395d0Smrg s//\1/ 65197a0395d0Smrg q 65207a0395d0Smrg } 65217a0395d0Smrg /^X\(\/\/\)[^/].*/{ 65227a0395d0Smrg s//\1/ 65237a0395d0Smrg q 65247a0395d0Smrg } 65257a0395d0Smrg /^X\(\/\/\)$/{ 65267a0395d0Smrg s//\1/ 65277a0395d0Smrg q 65287a0395d0Smrg } 65297a0395d0Smrg /^X\(\/\).*/{ 65307a0395d0Smrg s//\1/ 65317a0395d0Smrg q 65327a0395d0Smrg } 65337a0395d0Smrg s/.*/./; q'` 65347a0395d0Smrg else 65357a0395d0Smrg continue 65367a0395d0Smrg fi 65377a0395d0Smrg # Extract the definition of DEPDIR, am__include, and am__quote 65387a0395d0Smrg # from the Makefile without running `make'. 65397a0395d0Smrg DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 65407a0395d0Smrg test -z "$DEPDIR" && continue 65417a0395d0Smrg am__include=`sed -n 's/^am__include = //p' < "$mf"` 65427a0395d0Smrg test -z "am__include" && continue 65437a0395d0Smrg am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 65447a0395d0Smrg # When using ansi2knr, U may be empty or an underscore; expand it 65457a0395d0Smrg U=`sed -n 's/^U = //p' < "$mf"` 65467a0395d0Smrg # Find all dependency output files, they are included files with 65477a0395d0Smrg # $(DEPDIR) in their names. We invoke sed twice because it is the 65487a0395d0Smrg # simplest approach to changing $(DEPDIR) to its actual value in the 65497a0395d0Smrg # expansion. 65507a0395d0Smrg for file in `sed -n " 65517a0395d0Smrg s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 65527a0395d0Smrg sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 65537a0395d0Smrg # Make sure the directory exists. 65547a0395d0Smrg test -f "$dirpart/$file" && continue 65557a0395d0Smrg fdir=`$as_dirname -- "$file" || 65567a0395d0Smrg$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65577a0395d0Smrg X"$file" : 'X\(//\)[^/]' \| \ 65587a0395d0Smrg X"$file" : 'X\(//\)$' \| \ 65597a0395d0Smrg X"$file" : 'X\(/\)' \| . 2>/dev/null || 65607a0395d0Smrgecho X"$file" | 65617a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65627a0395d0Smrg s//\1/ 65637a0395d0Smrg q 65647a0395d0Smrg } 65657a0395d0Smrg /^X\(\/\/\)[^/].*/{ 65667a0395d0Smrg s//\1/ 65677a0395d0Smrg q 65687a0395d0Smrg } 65697a0395d0Smrg /^X\(\/\/\)$/{ 65707a0395d0Smrg s//\1/ 65717a0395d0Smrg q 65727a0395d0Smrg } 65737a0395d0Smrg /^X\(\/\).*/{ 65747a0395d0Smrg s//\1/ 65757a0395d0Smrg q 65767a0395d0Smrg } 65777a0395d0Smrg s/.*/./; q'` 65787a0395d0Smrg { as_dir=$dirpart/$fdir 65797a0395d0Smrg case $as_dir in #( 65807a0395d0Smrg -*) as_dir=./$as_dir;; 65817a0395d0Smrg esac 65827a0395d0Smrg test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 65837a0395d0Smrg as_dirs= 65847a0395d0Smrg while :; do 65857a0395d0Smrg case $as_dir in #( 65867a0395d0Smrg *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 65877a0395d0Smrg *) as_qdir=$as_dir;; 65887a0395d0Smrg esac 65897a0395d0Smrg as_dirs="'$as_qdir' $as_dirs" 65907a0395d0Smrg as_dir=`$as_dirname -- "$as_dir" || 65917a0395d0Smrg$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 65927a0395d0Smrg X"$as_dir" : 'X\(//\)[^/]' \| \ 65937a0395d0Smrg X"$as_dir" : 'X\(//\)$' \| \ 65947a0395d0Smrg X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 65957a0395d0Smrgecho X"$as_dir" | 65967a0395d0Smrg sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 65977a0395d0Smrg s//\1/ 65987a0395d0Smrg q 65997a0395d0Smrg } 66007a0395d0Smrg /^X\(\/\/\)[^/].*/{ 66017a0395d0Smrg s//\1/ 66027a0395d0Smrg q 66037a0395d0Smrg } 66047a0395d0Smrg /^X\(\/\/\)$/{ 66057a0395d0Smrg s//\1/ 66067a0395d0Smrg q 66077a0395d0Smrg } 66087a0395d0Smrg /^X\(\/\).*/{ 66097a0395d0Smrg s//\1/ 66107a0395d0Smrg q 66117a0395d0Smrg } 66127a0395d0Smrg s/.*/./; q'` 66137a0395d0Smrg test -d "$as_dir" && break 66147a0395d0Smrg done 66157a0395d0Smrg test -z "$as_dirs" || eval "mkdir $as_dirs" 66167a0395d0Smrg } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 66177a0395d0Smrgecho "$as_me: error: cannot create directory $as_dir" >&2;} 66187a0395d0Smrg { (exit 1); exit 1; }; }; } 66197a0395d0Smrg # echo "creating $dirpart/$file" 66207a0395d0Smrg echo '# dummy' > "$dirpart/$file" 66217a0395d0Smrg done 66227a0395d0Smrgdone 66237a0395d0Smrg ;; 66247a0395d0Smrg 66257a0395d0Smrg esac 66267a0395d0Smrgdone # for ac_tag 66277a0395d0Smrg 66287a0395d0Smrg 66297a0395d0Smrg{ (exit 0); exit 0; } 66307a0395d0Smrg_ACEOF 66317a0395d0Smrgchmod +x $CONFIG_STATUS 66327a0395d0Smrgac_clean_files=$ac_clean_files_save 66337a0395d0Smrg 66347a0395d0Smrg 66357a0395d0Smrg# configure is writing to config.log, and then calls config.status. 66367a0395d0Smrg# config.status does its own redirection, appending to config.log. 66377a0395d0Smrg# Unfortunately, on DOS this fails, as config.log is still kept open 66387a0395d0Smrg# by configure, so config.status won't be able to write to it; its 66397a0395d0Smrg# output is simply discarded. So we exec the FD to /dev/null, 66407a0395d0Smrg# effectively closing config.log, so it can be properly (re)opened and 66417a0395d0Smrg# appended to by config.status. When coming back to configure, we 66427a0395d0Smrg# need to make the FD available again. 66437a0395d0Smrgif test "$no_create" != yes; then 66447a0395d0Smrg ac_cs_success=: 66457a0395d0Smrg ac_config_status_args= 66467a0395d0Smrg test "$silent" = yes && 66477a0395d0Smrg ac_config_status_args="$ac_config_status_args --quiet" 66487a0395d0Smrg exec 5>/dev/null 66497a0395d0Smrg $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 66507a0395d0Smrg exec 5>>config.log 66517a0395d0Smrg # Use ||, not &&, to avoid exiting from the if with $? = 1, which 66527a0395d0Smrg # would make configure fail if this is the last instruction. 66537a0395d0Smrg $ac_cs_success || { (exit 1); exit 1; } 66547a0395d0Smrgfi 66557a0395d0Smrg 6656